From 46427bbe7ceb5af4b8a9660079c9e06d5c213009 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Jun 2022 21:06:58 +0000 Subject: [PATCH 1/2] fix: update gapic-generator-java with mock service generation fixes PiperOrigin-RevId: 457524730 Source-Link: https://github.com/googleapis/googleapis/commit/917e7f21cb1dc062744c6694437cdd46219f28cb Source-Link: https://github.com/googleapis/googleapis-gen/commit/2497f9a069d3f6b2d6810d5a4e239cda1e7e5a39 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ5N2Y5YTA2OWQzZjZiMmQ2ODEwZDVhNGUyMzljZGExZTdlNWEzOSJ9 --- .../osconfig/v1/OsConfigServiceGrpc.java | 1766 -- .../osconfig/v1/OsConfigZonalServiceGrpc.java | 1860 -- .../v1alpha/OsConfigZonalServiceGrpc.java | 2157 -- .../osconfig/v1beta/OsConfigServiceGrpc.java | 2562 -- .../osconfig/v1/OsConfigServiceClient.java | 98 +- .../osconfig/v1/OsConfigServiceSettings.java | 25 +- .../v1/OsConfigZonalServiceClient.java | 146 +- .../v1/OsConfigZonalServiceSettings.java | 37 +- .../cloud/osconfig/v1/gapic_metadata.json | 0 .../cloud/osconfig/v1/package-info.java | 0 .../GrpcOsConfigServiceCallableFactory.java | 0 .../v1/stub/GrpcOsConfigServiceStub.java | 1 + ...pcOsConfigZonalServiceCallableFactory.java | 0 .../v1/stub/GrpcOsConfigZonalServiceStub.java | 1 + ...ttpJsonOsConfigServiceCallableFactory.java | 0 .../v1/stub/HttpJsonOsConfigServiceStub.java | 0 ...onOsConfigZonalServiceCallableFactory.java | 0 .../HttpJsonOsConfigZonalServiceStub.java | 1 + .../osconfig/v1/stub/OsConfigServiceStub.java | 0 .../v1/stub/OsConfigServiceStubSettings.java | 75 +- .../v1/stub/OsConfigZonalServiceStub.java | 0 .../OsConfigZonalServiceStubSettings.java | 120 +- .../osconfig/v1/MockOsConfigService.java | 0 .../osconfig/v1/MockOsConfigServiceImpl.java | 0 .../osconfig/v1/MockOsConfigZonalService.java | 0 .../v1/MockOsConfigZonalServiceImpl.java | 0 .../v1/OsConfigServiceClientHttpJsonTest.java | 0 .../v1/OsConfigServiceClientTest.java | 0 ...sConfigZonalServiceClientHttpJsonTest.java | 0 .../v1/OsConfigZonalServiceClientTest.java | 0 .../osconfig/v1/OsConfigServiceGrpc.java | 1275 + .../osconfig/v1/OsConfigZonalServiceGrpc.java | 1359 + .../com/google/cloud/osconfig/v1/CVSSv3.java | 1256 +- .../cloud/osconfig/v1/CVSSv3OrBuilder.java | 75 +- .../com/google/cloud/osconfig/v1/Common.java | 446 +- .../v1/CreateOSPolicyAssignmentRequest.java | 580 +- ...ateOSPolicyAssignmentRequestOrBuilder.java | 64 +- .../v1/DeleteOSPolicyAssignmentRequest.java | 352 +- ...eteOSPolicyAssignmentRequestOrBuilder.java | 29 + .../osconfig/v1/GetInventoryRequest.java | 398 +- .../v1/GetInventoryRequestOrBuilder.java | 41 +- .../GetOSPolicyAssignmentReportRequest.java | 366 +- ...olicyAssignmentReportRequestOrBuilder.java | 35 +- .../v1/GetOSPolicyAssignmentRequest.java | 342 +- ...GetOSPolicyAssignmentRequestOrBuilder.java | 33 + .../v1/GetVulnerabilityReportRequest.java | 342 +- ...etVulnerabilityReportRequestOrBuilder.java | 35 +- .../cloud/osconfig/v1/InstanceName.java | 0 .../v1/InstanceOSPolicyAssignmentName.java | 0 .../google/cloud/osconfig/v1/Inventories.java | 295 + .../google/cloud/osconfig/v1/Inventory.java | 8706 ++---- .../cloud/osconfig/v1/InventoryName.java | 0 .../cloud/osconfig/v1/InventoryOrBuilder.java | 83 +- .../cloud/osconfig/v1/InventoryView.java | 82 +- .../osconfig/v1/ListInventoriesRequest.java | 593 +- .../v1/ListInventoriesRequestOrBuilder.java | 62 +- .../osconfig/v1/ListInventoriesResponse.java | 463 +- .../v1/ListInventoriesResponseOrBuilder.java | 45 +- .../ListOSPolicyAssignmentReportsRequest.java | 569 +- ...licyAssignmentReportsRequestOrBuilder.java | 56 +- ...ListOSPolicyAssignmentReportsResponse.java | 625 +- ...icyAssignmentReportsResponseOrBuilder.java | 65 +- ...istOSPolicyAssignmentRevisionsRequest.java | 492 +- ...cyAssignmentRevisionsRequestOrBuilder.java | 47 +- ...stOSPolicyAssignmentRevisionsResponse.java | 486 +- ...yAssignmentRevisionsResponseOrBuilder.java | 42 +- .../v1/ListOSPolicyAssignmentsRequest.java | 458 +- ...stOSPolicyAssignmentsRequestOrBuilder.java | 47 +- .../v1/ListOSPolicyAssignmentsResponse.java | 459 +- ...tOSPolicyAssignmentsResponseOrBuilder.java | 42 +- .../v1/ListVulnerabilityReportsRequest.java | 546 +- ...tVulnerabilityReportsRequestOrBuilder.java | 56 +- .../v1/ListVulnerabilityReportsResponse.java | 522 +- ...VulnerabilityReportsResponseOrBuilder.java | 42 +- .../cloud/osconfig/v1/LocationName.java | 0 .../google/cloud/osconfig/v1/OSPolicy.java | 16017 ++++------ .../cloud/osconfig/v1/OSPolicyAssignment.java | 4371 +-- .../osconfig/v1/OSPolicyAssignmentName.java | 0 .../OSPolicyAssignmentOperationMetadata.java | 913 +- ...yAssignmentOperationMetadataOrBuilder.java | 69 +- .../v1/OSPolicyAssignmentOrBuilder.java | 187 +- .../osconfig/v1/OSPolicyAssignmentReport.java | 4575 +-- .../v1/OSPolicyAssignmentReportName.java | 0 .../v1/OSPolicyAssignmentReportOrBuilder.java | 105 +- .../v1/OSPolicyAssignmentReportsProto.java | 208 + .../cloud/osconfig/v1/OSPolicyOrBuilder.java | 88 +- .../cloud/osconfig/v1/OsConfigProto.java | 130 + .../v1/OsConfigZonalServiceProto.java | 147 + .../osconfig/v1/OsPolicyAssignmentsProto.java | 314 + .../cloud/osconfig/v1/OsPolicyProto.java | 407 + .../osconfig/v1/PatchDeploymentName.java | 0 .../cloud/osconfig/v1/PatchDeployments.java | 10432 +++---- .../cloud/osconfig/v1/PatchJobName.java | 0 .../google/cloud/osconfig/v1/PatchJobs.java | 16696 ++++------ .../google/cloud/osconfig/v1/ProjectName.java | 0 .../v1/UpdateOSPolicyAssignmentRequest.java | 529 +- ...ateOSPolicyAssignmentRequestOrBuilder.java | 55 +- .../cloud/osconfig/v1/VulnerabilityProto.java | 226 + .../osconfig/v1/VulnerabilityReport.java | 4373 +-- .../osconfig/v1/VulnerabilityReportName.java | 0 .../v1/VulnerabilityReportOrBuilder.java | 82 +- .../google/cloud/osconfig/v1/inventory.proto | 0 .../google/cloud/osconfig/v1/os_policy.proto | 0 .../v1/os_policy_assignment_reports.proto | 0 .../osconfig/v1/os_policy_assignments.proto | 0 .../cloud/osconfig/v1/osconfig_common.proto | 0 .../cloud/osconfig/v1/osconfig_service.proto | 0 .../osconfig/v1/osconfig_zonal_service.proto | 0 .../cloud/osconfig/v1/patch_deployments.proto | 0 .../google/cloud/osconfig/v1/patch_jobs.proto | 0 .../cloud/osconfig/v1/vulnerability.proto | 0 .../cancelpatchjob/AsyncCancelPatchJob.java | 0 .../cancelpatchjob/SyncCancelPatchJob.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreatePatchDeployment.java | 0 .../SyncCreatePatchDeployment.java | 0 ...PatchdeploymentspatchdeploymentString.java | 6 +- ...PatchdeploymentspatchdeploymentString.java | 6 +- .../AsyncDeletePatchDeployment.java | 0 .../SyncDeletePatchDeployment.java | 1 + ...etePatchDeploymentPatchdeploymentname.java | 4 +- .../SyncDeletePatchDeploymentString.java | 1 + .../executepatchjob/AsyncExecutePatchJob.java | 0 .../executepatchjob/SyncExecutePatchJob.java | 0 .../AsyncGetPatchDeployment.java | 0 .../SyncGetPatchDeployment.java | 0 ...GetPatchDeploymentPatchdeploymentname.java | 0 .../SyncGetPatchDeploymentString.java | 0 .../getpatchjob/AsyncGetPatchJob.java | 0 .../getpatchjob/SyncGetPatchJob.java | 0 .../SyncGetPatchJobPatchjobname.java | 0 .../getpatchjob/SyncGetPatchJobString.java | 0 .../AsyncListPatchDeployments.java | 0 .../AsyncListPatchDeploymentsPaged.java | 0 .../SyncListPatchDeployments.java | 0 .../SyncListPatchDeploymentsProjectname.java | 0 .../SyncListPatchDeploymentsString.java | 0 .../AsyncListPatchJobInstanceDetails.java | 0 ...AsyncListPatchJobInstanceDetailsPaged.java | 0 .../SyncListPatchJobInstanceDetails.java | 0 ...stPatchJobInstanceDetailsPatchjobname.java | 0 ...SyncListPatchJobInstanceDetailsString.java | 0 .../listpatchjobs/AsyncListPatchJobs.java | 0 .../AsyncListPatchJobsPaged.java | 0 .../listpatchjobs/SyncListPatchJobs.java | 0 .../SyncListPatchJobsProjectname.java | 0 .../SyncListPatchJobsString.java | 0 .../AsyncPausePatchDeployment.java | 0 .../SyncPausePatchDeployment.java | 0 ...usePatchDeploymentPatchdeploymentname.java | 0 .../SyncPausePatchDeploymentString.java | 0 .../AsyncResumePatchDeployment.java | 0 .../SyncResumePatchDeployment.java | 0 ...umePatchDeploymentPatchdeploymentname.java | 3 +- .../SyncResumePatchDeploymentString.java | 0 .../AsyncUpdatePatchDeployment.java | 0 .../SyncUpdatePatchDeployment.java | 0 ...chdeploymentspatchdeploymentFieldmask.java | 6 +- .../executepatchjob/SyncExecutePatchJob.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateOSPolicyAssignment.java | 0 .../AsyncCreateOSPolicyAssignmentLRO.java | 0 .../SyncCreateOSPolicyAssignment.java | 0 ...tLocationnameOspolicyassignmentString.java | 6 +- ...ignmentStringOspolicyassignmentString.java | 6 +- .../AsyncDeleteOSPolicyAssignment.java | 0 .../AsyncDeleteOSPolicyAssignmentLRO.java | 0 .../SyncDeleteOSPolicyAssignment.java | 1 + ...olicyAssignmentOspolicyassignmentname.java | 7 +- .../SyncDeleteOSPolicyAssignmentString.java | 1 + .../getinventory/AsyncGetInventory.java | 0 .../getinventory/SyncGetInventory.java | 0 .../SyncGetInventoryInventoryname.java | 0 .../getinventory/SyncGetInventoryString.java | 0 .../AsyncGetOSPolicyAssignment.java | 0 .../SyncGetOSPolicyAssignment.java | 0 ...olicyAssignmentOspolicyassignmentname.java | 6 +- .../SyncGetOSPolicyAssignmentString.java | 0 .../AsyncGetOSPolicyAssignmentReport.java | 0 .../SyncGetOSPolicyAssignmentReport.java | 0 ...entReportOspolicyassignmentreportname.java | 6 +- ...SyncGetOSPolicyAssignmentReportString.java | 0 .../AsyncGetVulnerabilityReport.java | 0 .../SyncGetVulnerabilityReport.java | 0 .../SyncGetVulnerabilityReportString.java | 0 ...rabilityReportVulnerabilityreportname.java | 6 +- .../listinventories/AsyncListInventories.java | 0 .../AsyncListInventoriesPaged.java | 0 .../listinventories/SyncListInventories.java | 0 .../SyncListInventoriesInstancename.java | 0 .../SyncListInventoriesString.java | 0 .../AsyncListOSPolicyAssignmentReports.java | 0 ...yncListOSPolicyAssignmentReportsPaged.java | 3 +- .../SyncListOSPolicyAssignmentReports.java | 0 ...ReportsInstanceospolicyassignmentname.java | 6 +- ...ncListOSPolicyAssignmentReportsString.java | 3 +- .../AsyncListOSPolicyAssignmentRevisions.java | 0 ...cListOSPolicyAssignmentRevisionsPaged.java | 6 +- .../SyncListOSPolicyAssignmentRevisions.java | 0 ...gnmentRevisionsOspolicyassignmentname.java | 6 +- ...ListOSPolicyAssignmentRevisionsString.java | 6 +- .../AsyncListOSPolicyAssignments.java | 0 .../AsyncListOSPolicyAssignmentsPaged.java | 0 .../SyncListOSPolicyAssignments.java | 0 ...ncListOSPolicyAssignmentsLocationname.java | 3 +- .../SyncListOSPolicyAssignmentsString.java | 0 .../AsyncListVulnerabilityReports.java | 0 .../AsyncListVulnerabilityReportsPaged.java | 0 .../SyncListVulnerabilityReports.java | 0 ...cListVulnerabilityReportsInstancename.java | 3 +- .../SyncListVulnerabilityReportsString.java | 0 .../AsyncUpdateOSPolicyAssignment.java | 0 .../AsyncUpdateOSPolicyAssignmentLRO.java | 0 .../SyncUpdateOSPolicyAssignment.java | 0 ...AssignmentOspolicyassignmentFieldmask.java | 6 +- .../SyncGetOSPolicyAssignment.java | 0 .../executepatchjob/SyncExecutePatchJob.java | 0 .../SyncGetOSPolicyAssignment.java | 0 .../v1alpha/OsConfigZonalServiceClient.java | 175 +- .../v1alpha/OsConfigZonalServiceSettings.java | 43 +- .../osconfig/v1alpha/gapic_metadata.json | 0 .../cloud/osconfig/v1alpha/package-info.java | 0 ...pcOsConfigZonalServiceCallableFactory.java | 0 .../stub/GrpcOsConfigZonalServiceStub.java | 1 + ...onOsConfigZonalServiceCallableFactory.java | 0 .../HttpJsonOsConfigZonalServiceStub.java | 1 + .../stub/OsConfigZonalServiceStub.java | 0 .../OsConfigZonalServiceStubSettings.java | 147 +- .../v1alpha/MockOsConfigZonalService.java | 0 .../v1alpha/MockOsConfigZonalServiceImpl.java | 0 ...sConfigZonalServiceClientHttpJsonTest.java | 0 .../OsConfigZonalServiceClientTest.java | 0 .../v1alpha/OsConfigZonalServiceGrpc.java | 1547 + .../google/cloud/osconfig/v1alpha/CVSSv3.java | 1289 +- .../osconfig/v1alpha/CVSSv3OrBuilder.java | 75 +- .../google/cloud/osconfig/v1alpha/Common.java | 58 + .../osconfig/v1alpha/ConfigCommonProto.java | 103 + .../CreateOSPolicyAssignmentRequest.java | 615 +- ...ateOSPolicyAssignmentRequestOrBuilder.java | 64 +- .../DeleteOSPolicyAssignmentRequest.java | 374 +- ...eteOSPolicyAssignmentRequestOrBuilder.java | 29 + .../osconfig/v1alpha/FixedOrPercent.java | 372 +- .../v1alpha/FixedOrPercentOrBuilder.java | 30 +- ...etInstanceOSPoliciesComplianceRequest.java | 393 +- ...eOSPoliciesComplianceRequestOrBuilder.java | 36 +- .../osconfig/v1alpha/GetInventoryRequest.java | 404 +- .../v1alpha/GetInventoryRequestOrBuilder.java | 41 +- .../GetOSPolicyAssignmentReportRequest.java | 378 +- ...olicyAssignmentReportRequestOrBuilder.java | 35 +- .../v1alpha/GetOSPolicyAssignmentRequest.java | 360 +- ...GetOSPolicyAssignmentRequestOrBuilder.java | 33 + .../GetVulnerabilityReportRequest.java | 363 +- ...etVulnerabilityReportRequestOrBuilder.java | 35 +- .../cloud/osconfig/v1alpha/InstanceName.java | 0 .../v1alpha/InstanceOSPoliciesCompliance.java | 2122 +- .../InstanceOSPoliciesComplianceName.java | 0 ...InstanceOSPoliciesComplianceOrBuilder.java | 142 +- .../InstanceOSPoliciesComplianceProto.java | 153 + .../InstanceOSPolicyAssignmentName.java | 0 .../cloud/osconfig/v1alpha/Inventories.java | 302 + .../cloud/osconfig/v1alpha/Inventory.java | 9156 ++---- .../cloud/osconfig/v1alpha/InventoryName.java | 0 .../osconfig/v1alpha/InventoryOrBuilder.java | 115 +- .../cloud/osconfig/v1alpha/InventoryView.java | 82 +- ...tInstanceOSPoliciesCompliancesRequest.java | 637 +- ...OSPoliciesCompliancesRequestOrBuilder.java | 57 +- ...InstanceOSPoliciesCompliancesResponse.java | 694 +- ...SPoliciesCompliancesResponseOrBuilder.java | 69 +- .../v1alpha/ListInventoriesRequest.java | 596 +- .../ListInventoriesRequestOrBuilder.java | 62 +- .../v1alpha/ListInventoriesResponse.java | 464 +- .../ListInventoriesResponseOrBuilder.java | 45 +- .../ListOSPolicyAssignmentReportsRequest.java | 576 +- ...licyAssignmentReportsRequestOrBuilder.java | 56 +- ...ListOSPolicyAssignmentReportsResponse.java | 645 +- ...icyAssignmentReportsResponseOrBuilder.java | 68 +- ...istOSPolicyAssignmentRevisionsRequest.java | 505 +- ...cyAssignmentRevisionsRequestOrBuilder.java | 47 +- ...stOSPolicyAssignmentRevisionsResponse.java | 601 +- ...yAssignmentRevisionsResponseOrBuilder.java | 57 +- .../ListOSPolicyAssignmentsRequest.java | 479 +- ...stOSPolicyAssignmentsRequestOrBuilder.java | 47 +- .../ListOSPolicyAssignmentsResponse.java | 576 +- ...tOSPolicyAssignmentsResponseOrBuilder.java | 57 +- .../ListVulnerabilityReportsRequest.java | 568 +- ...tVulnerabilityReportsRequestOrBuilder.java | 56 +- .../ListVulnerabilityReportsResponse.java | 590 +- ...VulnerabilityReportsResponseOrBuilder.java | 56 +- .../cloud/osconfig/v1alpha/LocationName.java | 0 .../cloud/osconfig/v1alpha/OSPolicy.java | 17852 ++++------- .../osconfig/v1alpha/OSPolicyAssignment.java | 4769 ++- .../v1alpha/OSPolicyAssignmentName.java | 0 .../OSPolicyAssignmentOperationMetadata.java | 942 +- ...yAssignmentOperationMetadataOrBuilder.java | 74 +- .../v1alpha/OSPolicyAssignmentOrBuilder.java | 187 +- .../v1alpha/OSPolicyAssignmentReport.java | 4607 +-- .../v1alpha/OSPolicyAssignmentReportName.java | 0 .../OSPolicyAssignmentReportOrBuilder.java | 106 +- .../OSPolicyAssignmentReportsProto.java | 213 + .../v1alpha/OSPolicyComplianceState.java | 96 +- .../osconfig/v1alpha/OSPolicyOrBuilder.java | 88 +- .../v1alpha/OSPolicyResourceCompliance.java | 1285 +- .../OSPolicyResourceComplianceOrBuilder.java | 90 +- .../v1alpha/OSPolicyResourceConfigStep.java | 624 +- .../OSPolicyResourceConfigStepOrBuilder.java | 40 +- .../v1alpha/OsConfigZonalServiceProto.java | 176 + .../v1alpha/OsPolicyAssignmentsProto.java | 321 + .../cloud/osconfig/v1alpha/OsPolicyProto.java | 429 + .../UpdateOSPolicyAssignmentRequest.java | 564 +- ...ateOSPolicyAssignmentRequestOrBuilder.java | 55 +- .../osconfig/v1alpha/VulnerabilityProto.java | 232 + .../osconfig/v1alpha/VulnerabilityReport.java | 4555 +-- .../v1alpha/VulnerabilityReportName.java | 0 .../v1alpha/VulnerabilityReportOrBuilder.java | 83 +- .../osconfig/v1alpha/config_common.proto | 0 .../instance_os_policies_compliance.proto | 0 .../cloud/osconfig/v1alpha/inventory.proto | 0 .../cloud/osconfig/v1alpha/os_policy.proto | 0 .../os_policy_assignment_reports.proto | 0 .../v1alpha/os_policy_assignments.proto | 0 .../osconfig/v1alpha/osconfig_common.proto | 0 .../v1alpha/osconfig_zonal_service.proto | 0 .../osconfig/v1alpha/vulnerability.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateOSPolicyAssignment.java | 0 .../AsyncCreateOSPolicyAssignmentLRO.java | 0 .../SyncCreateOSPolicyAssignment.java | 0 ...tLocationnameOspolicyassignmentString.java | 6 +- ...ignmentStringOspolicyassignmentString.java | 6 +- .../AsyncDeleteOSPolicyAssignment.java | 0 .../AsyncDeleteOSPolicyAssignmentLRO.java | 0 .../SyncDeleteOSPolicyAssignment.java | 1 + ...olicyAssignmentOspolicyassignmentname.java | 7 +- .../SyncDeleteOSPolicyAssignmentString.java | 4 +- .../AsyncGetInstanceOSPoliciesCompliance.java | 3 +- .../SyncGetInstanceOSPoliciesCompliance.java | 3 +- ...ianceInstanceospoliciescompliancename.java | 6 +- ...GetInstanceOSPoliciesComplianceString.java | 6 +- .../getinventory/AsyncGetInventory.java | 0 .../getinventory/SyncGetInventory.java | 0 .../SyncGetInventoryInventoryname.java | 0 .../getinventory/SyncGetInventoryString.java | 0 .../AsyncGetOSPolicyAssignment.java | 0 .../SyncGetOSPolicyAssignment.java | 0 ...olicyAssignmentOspolicyassignmentname.java | 6 +- .../SyncGetOSPolicyAssignmentString.java | 0 .../AsyncGetOSPolicyAssignmentReport.java | 0 .../SyncGetOSPolicyAssignmentReport.java | 0 ...entReportOspolicyassignmentreportname.java | 6 +- ...SyncGetOSPolicyAssignmentReportString.java | 6 +- .../AsyncGetVulnerabilityReport.java | 0 .../SyncGetVulnerabilityReport.java | 0 .../SyncGetVulnerabilityReportString.java | 0 ...rabilityReportVulnerabilityreportname.java | 6 +- ...syncListInstanceOSPoliciesCompliances.java | 6 +- ...istInstanceOSPoliciesCompliancesPaged.java | 6 +- ...SyncListInstanceOSPoliciesCompliances.java | 6 +- ...anceOSPoliciesCompliancesLocationname.java | 6 +- ...stInstanceOSPoliciesCompliancesString.java | 6 +- .../listinventories/AsyncListInventories.java | 0 .../AsyncListInventoriesPaged.java | 0 .../listinventories/SyncListInventories.java | 0 .../SyncListInventoriesInstancename.java | 0 .../SyncListInventoriesString.java | 0 .../AsyncListOSPolicyAssignmentReports.java | 0 ...yncListOSPolicyAssignmentReportsPaged.java | 6 +- .../SyncListOSPolicyAssignmentReports.java | 0 ...ReportsInstanceospolicyassignmentname.java | 6 +- ...ncListOSPolicyAssignmentReportsString.java | 6 +- .../AsyncListOSPolicyAssignmentRevisions.java | 3 +- ...cListOSPolicyAssignmentRevisionsPaged.java | 6 +- .../SyncListOSPolicyAssignmentRevisions.java | 3 +- ...gnmentRevisionsOspolicyassignmentname.java | 6 +- ...ListOSPolicyAssignmentRevisionsString.java | 6 +- .../AsyncListOSPolicyAssignments.java | 0 .../AsyncListOSPolicyAssignmentsPaged.java | 0 .../SyncListOSPolicyAssignments.java | 0 ...ncListOSPolicyAssignmentsLocationname.java | 6 +- .../SyncListOSPolicyAssignmentsString.java | 0 .../AsyncListVulnerabilityReports.java | 0 .../AsyncListVulnerabilityReportsPaged.java | 3 +- .../SyncListVulnerabilityReports.java | 0 ...cListVulnerabilityReportsInstancename.java | 6 +- .../SyncListVulnerabilityReportsString.java | 3 +- .../AsyncUpdateOSPolicyAssignment.java | 0 .../AsyncUpdateOSPolicyAssignmentLRO.java | 0 .../SyncUpdateOSPolicyAssignment.java | 0 ...AssignmentOspolicyassignmentFieldmask.java | 6 +- .../SyncGetOSPolicyAssignment.java | 0 .../SyncGetOSPolicyAssignment.java | 0 .../v1beta/OsConfigServiceClient.java | 110 +- .../v1beta/OsConfigServiceSettings.java | 31 +- .../cloud/osconfig/v1beta/gapic_metadata.json | 0 .../cloud/osconfig/v1beta/package-info.java | 0 .../GrpcOsConfigServiceCallableFactory.java | 0 .../v1beta/stub/GrpcOsConfigServiceStub.java | 1 + ...ttpJsonOsConfigServiceCallableFactory.java | 0 .../stub/HttpJsonOsConfigServiceStub.java | 0 .../v1beta/stub/OsConfigServiceStub.java | 0 .../stub/OsConfigServiceStubSettings.java | 102 +- .../osconfig/v1beta/MockOsConfigService.java | 0 .../v1beta/MockOsConfigServiceImpl.java | 0 .../OsConfigServiceClientHttpJsonTest.java | 0 .../v1beta/OsConfigServiceClientTest.java | 0 .../osconfig/v1beta/OsConfigServiceGrpc.java | 1795 ++ .../google/cloud/osconfig/v1beta/Common.java | 451 +- .../cloud/osconfig/v1beta/GuestPolicies.java | 25060 ++++++---------- .../osconfig/v1beta/GuestPolicyName.java | 0 .../cloud/osconfig/v1beta/OsConfigProto.java | 156 + .../osconfig/v1beta/PatchDeploymentName.java | 0 .../osconfig/v1beta/PatchDeployments.java | 10593 +++---- .../cloud/osconfig/v1beta/PatchJobs.java | 16803 ++++------- .../cloud/osconfig/v1beta/ProjectName.java | 0 .../osconfig/v1beta/guest_policies.proto | 0 .../osconfig/v1beta/osconfig_common.proto | 0 .../osconfig/v1beta/osconfig_service.proto | 0 .../osconfig/v1beta/patch_deployments.proto | 0 .../cloud/osconfig/v1beta/patch_jobs.proto | 0 .../cancelpatchjob/AsyncCancelPatchJob.java | 0 .../cancelpatchjob/SyncCancelPatchJob.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateGuestPolicy.java | 0 .../SyncCreateGuestPolicy.java | 0 ...cyProjectnameGuestpoliciesguestpolicy.java | 6 +- ...tPolicyStringGuestpoliciesguestpolicy.java | 6 +- .../AsyncCreatePatchDeployment.java | 0 .../SyncCreatePatchDeployment.java | 0 .../AsyncDeleteGuestPolicy.java | 0 .../SyncDeleteGuestPolicy.java | 1 + .../SyncDeleteGuestPolicyGuestpolicyname.java | 1 + .../SyncDeleteGuestPolicyString.java | 1 + .../AsyncDeletePatchDeployment.java | 0 .../SyncDeletePatchDeployment.java | 1 + .../executepatchjob/AsyncExecutePatchJob.java | 0 .../executepatchjob/SyncExecutePatchJob.java | 0 .../getguestpolicy/AsyncGetGuestPolicy.java | 0 .../getguestpolicy/SyncGetGuestPolicy.java | 0 .../SyncGetGuestPolicyGuestpolicyname.java | 0 .../SyncGetGuestPolicyString.java | 0 .../AsyncGetPatchDeployment.java | 0 .../SyncGetPatchDeployment.java | 0 .../getpatchjob/AsyncGetPatchJob.java | 0 .../getpatchjob/SyncGetPatchJob.java | 0 .../AsyncListGuestPolicies.java | 0 .../AsyncListGuestPoliciesPaged.java | 0 .../SyncListGuestPolicies.java | 0 .../SyncListGuestPoliciesProjectname.java | 0 .../SyncListGuestPoliciesString.java | 0 .../AsyncListPatchDeployments.java | 0 .../AsyncListPatchDeploymentsPaged.java | 0 .../SyncListPatchDeployments.java | 0 .../AsyncListPatchJobInstanceDetails.java | 0 ...AsyncListPatchJobInstanceDetailsPaged.java | 0 .../SyncListPatchJobInstanceDetails.java | 0 ...SyncListPatchJobInstanceDetailsString.java | 0 .../listpatchjobs/AsyncListPatchJobs.java | 0 .../AsyncListPatchJobsPaged.java | 0 .../listpatchjobs/SyncListPatchJobs.java | 0 .../AsyncLookupEffectiveGuestPolicy.java | 0 .../SyncLookupEffectiveGuestPolicy.java | 0 .../AsyncPausePatchDeployment.java | 0 .../SyncPausePatchDeployment.java | 0 ...usePatchDeploymentPatchdeploymentname.java | 6 +- .../SyncPausePatchDeploymentString.java | 0 .../AsyncResumePatchDeployment.java | 0 .../SyncResumePatchDeployment.java | 0 ...umePatchDeploymentPatchdeploymentname.java | 6 +- .../SyncResumePatchDeploymentString.java | 0 .../AsyncUpdateGuestPolicy.java | 0 .../SyncUpdateGuestPolicy.java | 0 ...licyGuestpoliciesguestpolicyFieldmask.java | 6 +- .../AsyncUpdatePatchDeployment.java | 0 .../SyncUpdatePatchDeployment.java | 0 ...chdeploymentspatchdeploymentFieldmask.java | 6 +- .../executepatchjob/SyncExecutePatchJob.java | 0 .../executepatchjob/SyncExecutePatchJob.java | 0 ...eteOSPolicyAssignmentRequestOrBuilder.java | 54 - ...GetOSPolicyAssignmentRequestOrBuilder.java | 58 - .../google/cloud/osconfig/v1/Inventories.java | 356 - .../v1/OSPolicyAssignmentReportsProto.java | 251 - .../cloud/osconfig/v1/OsConfigProto.java | 143 - .../v1/OsConfigZonalServiceProto.java | 160 - .../osconfig/v1/OsPolicyAssignmentsProto.java | 369 - .../cloud/osconfig/v1/OsPolicyProto.java | 490 - .../cloud/osconfig/v1/VulnerabilityProto.java | 272 - .../google/cloud/osconfig/v1alpha/Common.java | 73 - .../osconfig/v1alpha/ConfigCommonProto.java | 122 - ...eteOSPolicyAssignmentRequestOrBuilder.java | 54 - ...GetOSPolicyAssignmentRequestOrBuilder.java | 58 - .../InstanceOSPoliciesComplianceProto.java | 181 - .../cloud/osconfig/v1alpha/Inventories.java | 363 - .../OSPolicyAssignmentReportsProto.java | 256 - .../v1alpha/OsConfigZonalServiceProto.java | 189 - .../v1alpha/OsPolicyAssignmentsProto.java | 376 - .../cloud/osconfig/v1alpha/OsPolicyProto.java | 513 - .../osconfig/v1alpha/VulnerabilityProto.java | 278 - .../cloud/osconfig/v1beta/OsConfigProto.java | 169 - 505 files changed, 78401 insertions(+), 136549 deletions(-) delete mode 100644 grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceGrpc.java delete mode 100644 grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceGrpc.java delete mode 100644 grpc-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceGrpc.java delete mode 100644 grpc-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceGrpc.java rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceClient.java (95%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceSettings.java (94%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java (95%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceSettings.java (93%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/gapic_metadata.json (100%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/package-info.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceCallableFactory.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceStub.java (99%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceCallableFactory.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceStub.java (99%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceCallableFactory.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceStub.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceCallableFactory.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceStub.java (99%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStub.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStubSettings.java (93%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStub.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStubSettings.java (93%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigService.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigServiceImpl.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalService.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalServiceImpl.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientHttpJsonTest.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientTest.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientHttpJsonTest.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1/google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientTest.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceGrpc.java create mode 100644 owl-bot-staging/v1/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceGrpc.java rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/CVSSv3.java (76%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/CVSSv3OrBuilder.java (88%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/Common.java (69%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequest.java (66%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequestOrBuilder.java (59%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequestOrBuilder.java rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequest.java (69%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequestOrBuilder.java (63%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequest.java (67%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequestOrBuilder.java (57%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequestOrBuilder.java rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequest.java (67%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequestOrBuilder.java (53%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/InstanceName.java (100%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/InstanceOSPolicyAssignmentName.java (100%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/Inventory.java (72%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/InventoryName.java (100%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/InventoryOrBuilder.java (76%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/InventoryView.java (67%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequest.java (71%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequestOrBuilder.java (69%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponse.java (73%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponseOrBuilder.java (65%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequest.java (74%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequestOrBuilder.java (78%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponse.java (64%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponseOrBuilder.java (52%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequest.java (65%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java (58%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponse.java (72%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java (72%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequest.java (68%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequestOrBuilder.java (54%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponse.java (74%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponseOrBuilder.java (70%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequest.java (69%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequestOrBuilder.java (64%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponse.java (71%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponseOrBuilder.java (70%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/LocationName.java (100%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicy.java (69%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignment.java (69%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentName.java (100%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadata.java (67%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadataOrBuilder.java (72%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOrBuilder.java (67%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReport.java (62%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportName.java (100%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportOrBuilder.java (70%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicyOrBuilder.java (72%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyAssignmentsProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyProto.java rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/PatchDeploymentName.java (100%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/PatchDeployments.java (63%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/PatchJobName.java (100%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/PatchJobs.java (72%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ProjectName.java (100%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequest.java (64%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequestOrBuilder.java (56%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityProto.java rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReport.java (68%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportName.java (100%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportOrBuilder.java (58%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/inventory.proto (100%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/os_policy.proto (100%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/os_policy_assignment_reports.proto (100%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/os_policy_assignments.proto (100%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/osconfig_common.proto (100%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/osconfig_service.proto (100%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/osconfig_zonal_service.proto (100%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/patch_deployments.proto (100%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/patch_jobs.proto (100%) rename {proto-google-cloud-os-config-v1 => owl-bot-staging/v1/proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/vulnerability.proto (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentProjectnamePatchdeploymentspatchdeploymentString.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentStringPatchdeploymentspatchdeploymentString.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentPatchdeploymentname.java (91%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentString.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentPatchdeploymentname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobPatchjobname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsProjectname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsPatchjobname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsProjectname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java (93%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java (88%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java (85%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventory.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventories.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventories.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java (96%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java (94%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java (92%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java (88%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java (94%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java (94%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1alpha/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java (95%) rename {google-cloud-os-config => owl-bot-staging/v1alpha/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceSettings.java (93%) rename {google-cloud-os-config => owl-bot-staging/v1alpha/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/gapic_metadata.json (100%) rename {google-cloud-os-config => owl-bot-staging/v1alpha/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/package-info.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1alpha/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceCallableFactory.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1alpha/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceStub.java (99%) rename {google-cloud-os-config => owl-bot-staging/v1alpha/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceCallableFactory.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1alpha/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceStub.java (99%) rename {google-cloud-os-config => owl-bot-staging/v1alpha/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStub.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1alpha/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStubSettings.java (92%) rename {google-cloud-os-config => owl-bot-staging/v1alpha/google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalService.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1alpha/google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalServiceImpl.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1alpha/google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientHttpJsonTest.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1alpha/google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientTest.java (100%) create mode 100644 owl-bot-staging/v1alpha/grpc-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceGrpc.java rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3.java (76%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3OrBuilder.java (88%) create mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java create mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequest.java (64%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequestOrBuilder.java (59%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequest.java (62%) create mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequestOrBuilder.java rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercent.java (70%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercentOrBuilder.java (63%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequest.java (63%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequestOrBuilder.java (54%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequest.java (69%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequestOrBuilder.java (63%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequest.java (65%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequestOrBuilder.java (57%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequest.java (65%) create mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequestOrBuilder.java rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequest.java (66%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequestOrBuilder.java (53%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceName.java (100%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesCompliance.java (66%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceName.java (100%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceOrBuilder.java (66%) create mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPolicyAssignmentName.java (100%) create mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/Inventory.java (70%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryName.java (100%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryOrBuilder.java (61%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryView.java (67%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequest.java (64%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequestOrBuilder.java (64%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponse.java (60%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponseOrBuilder.java (50%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequest.java (71%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequestOrBuilder.java (69%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponse.java (73%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponseOrBuilder.java (66%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequest.java (73%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequestOrBuilder.java (78%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponse.java (62%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponseOrBuilder.java (50%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequest.java (64%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java (58%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponse.java (67%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java (65%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequest.java (66%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequestOrBuilder.java (54%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponse.java (69%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponseOrBuilder.java (62%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequest.java (68%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequestOrBuilder.java (64%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponse.java (68%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponseOrBuilder.java (64%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/LocationName.java (100%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicy.java (67%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignment.java (67%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentName.java (100%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadata.java (65%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadataOrBuilder.java (68%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOrBuilder.java (67%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReport.java (62%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportName.java (100%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportOrBuilder.java (69%) create mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyComplianceState.java (70%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyOrBuilder.java (72%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceCompliance.java (64%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceComplianceOrBuilder.java (65%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStep.java (70%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStepOrBuilder.java (69%) create mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java create mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyAssignmentsProto.java create mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyProto.java rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequest.java (62%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequestOrBuilder.java (56%) create mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityProto.java rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReport.java (66%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportName.java (100%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportOrBuilder.java (56%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/proto/google/cloud/osconfig/v1alpha/config_common.proto (100%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/proto/google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto (100%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/proto/google/cloud/osconfig/v1alpha/inventory.proto (100%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/proto/google/cloud/osconfig/v1alpha/os_policy.proto (100%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignment_reports.proto (100%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignments.proto (100%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_common.proto (100%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_zonal_service.proto (100%) rename {proto-google-cloud-os-config-v1alpha => owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha}/src/main/proto/google/cloud/osconfig/v1alpha/vulnerability.proto (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java (87%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java (87%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java (98%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java (85%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java (92%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/AsyncGetInstanceOSPoliciesCompliance.java (95%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesCompliance.java (94%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceInstanceospoliciescompliancename.java (86%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceString.java (88%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventory.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java (87%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java (86%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java (88%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java (87%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliances.java (91%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliancesPaged.java (91%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliances.java (90%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesLocationname.java (87%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesString.java (87%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventories.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventories.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java (92%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java (87%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java (88%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java (95%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java (91%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java (95%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java (87%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java (88%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java (87%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java (96%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java (88%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java (94%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java (87%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java (100%) rename {samples => owl-bot-staging/v1alpha/samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1beta/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClient.java (95%) rename {google-cloud-os-config => owl-bot-staging/v1beta/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceSettings.java (94%) rename {google-cloud-os-config => owl-bot-staging/v1beta/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/gapic_metadata.json (100%) rename {google-cloud-os-config => owl-bot-staging/v1beta/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/package-info.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1beta/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceCallableFactory.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1beta/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceStub.java (99%) rename {google-cloud-os-config => owl-bot-staging/v1beta/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceCallableFactory.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1beta/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceStub.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1beta/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStub.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1beta/google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStubSettings.java (93%) rename {google-cloud-os-config => owl-bot-staging/v1beta/google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigService.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1beta/google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigServiceImpl.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1beta/google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientHttpJsonTest.java (100%) rename {google-cloud-os-config => owl-bot-staging/v1beta/google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientTest.java (100%) create mode 100644 owl-bot-staging/v1beta/grpc-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceGrpc.java rename {proto-google-cloud-os-config-v1beta => owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta}/src/main/java/com/google/cloud/osconfig/v1beta/Common.java (69%) rename {proto-google-cloud-os-config-v1beta => owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta}/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicies.java (68%) rename {proto-google-cloud-os-config-v1beta => owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta}/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicyName.java (100%) create mode 100644 owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigProto.java rename {proto-google-cloud-os-config-v1beta => owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta}/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeploymentName.java (100%) rename {proto-google-cloud-os-config-v1beta => owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta}/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeployments.java (63%) rename {proto-google-cloud-os-config-v1beta => owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta}/src/main/java/com/google/cloud/osconfig/v1beta/PatchJobs.java (72%) rename {proto-google-cloud-os-config-v1beta => owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta}/src/main/java/com/google/cloud/osconfig/v1beta/ProjectName.java (100%) rename {proto-google-cloud-os-config-v1beta => owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta}/src/main/proto/google/cloud/osconfig/v1beta/guest_policies.proto (100%) rename {proto-google-cloud-os-config-v1beta => owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta}/src/main/proto/google/cloud/osconfig/v1beta/osconfig_common.proto (100%) rename {proto-google-cloud-os-config-v1beta => owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta}/src/main/proto/google/cloud/osconfig/v1beta/osconfig_service.proto (100%) rename {proto-google-cloud-os-config-v1beta => owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta}/src/main/proto/google/cloud/osconfig/v1beta/patch_deployments.proto (100%) rename {proto-google-cloud-os-config-v1beta => owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta}/src/main/proto/google/cloud/osconfig/v1beta/patch_jobs.proto (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/AsyncCreateGuestPolicy.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicy.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy.java (87%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyStringGuestpoliciesguestpolicy.java (87%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/AsyncDeleteGuestPolicy.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicy.java (98%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyGuestpolicyname.java (97%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyString.java (97%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java (97%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/AsyncGetGuestPolicy.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicy.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyGuestpolicyname.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyString.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPolicies.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPoliciesPaged.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPolicies.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesProjectname.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesString.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/AsyncLookupEffectiveGuestPolicy.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/SyncLookupEffectiveGuestPolicy.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java (87%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java (87%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/AsyncUpdateGuestPolicy.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicy.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask.java (87%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java (86%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java (100%) rename {samples => owl-bot-staging/v1beta/samples}/snippets/generated/com/google/cloud/osconfig/v1beta/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java (100%) delete mode 100644 proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequestOrBuilder.java delete mode 100644 proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequestOrBuilder.java delete mode 100644 proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java delete mode 100644 proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java delete mode 100644 proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java delete mode 100644 proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceProto.java delete mode 100644 proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyAssignmentsProto.java delete mode 100644 proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyProto.java delete mode 100644 proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityProto.java delete mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java delete mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java delete mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequestOrBuilder.java delete mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequestOrBuilder.java delete mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java delete mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java delete mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java delete mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java delete mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyAssignmentsProto.java delete mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyProto.java delete mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityProto.java delete mode 100644 proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigProto.java diff --git a/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceGrpc.java b/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceGrpc.java deleted file mode 100644 index 2d4fac64..00000000 --- a/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceGrpc.java +++ /dev/null @@ -1,1766 +0,0 @@ -/* - * 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. - */ -package com.google.cloud.osconfig.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * OS Config API
- * The OS Config service is a server-side component that you can use to
- * manage package installations and patch jobs for virtual machine instances.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/osconfig/v1/osconfig_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class OsConfigServiceGrpc { - - private OsConfigServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.osconfig.v1.OsConfigService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob> - getExecutePatchJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ExecutePatchJob", - requestType = com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob> - getExecutePatchJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob> - getExecutePatchJobMethod; - if ((getExecutePatchJobMethod = OsConfigServiceGrpc.getExecutePatchJobMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getExecutePatchJobMethod = OsConfigServiceGrpc.getExecutePatchJobMethod) == null) { - OsConfigServiceGrpc.getExecutePatchJobMethod = - getExecutePatchJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecutePatchJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("ExecutePatchJob")) - .build(); - } - } - } - return getExecutePatchJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob> - getGetPatchJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPatchJob", - requestType = com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob> - getGetPatchJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob> - getGetPatchJobMethod; - if ((getGetPatchJobMethod = OsConfigServiceGrpc.getGetPatchJobMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getGetPatchJobMethod = OsConfigServiceGrpc.getGetPatchJobMethod) == null) { - OsConfigServiceGrpc.getGetPatchJobMethod = - getGetPatchJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPatchJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("GetPatchJob")) - .build(); - } - } - } - return getGetPatchJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob> - getCancelPatchJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelPatchJob", - requestType = com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob> - getCancelPatchJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob> - getCancelPatchJobMethod; - if ((getCancelPatchJobMethod = OsConfigServiceGrpc.getCancelPatchJobMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getCancelPatchJobMethod = OsConfigServiceGrpc.getCancelPatchJobMethod) == null) { - OsConfigServiceGrpc.getCancelPatchJobMethod = - getCancelPatchJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelPatchJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("CancelPatchJob")) - .build(); - } - } - } - return getCancelPatchJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest, - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse> - getListPatchJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPatchJobs", - requestType = com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest, - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse> - getListPatchJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest, - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse> - getListPatchJobsMethod; - if ((getListPatchJobsMethod = OsConfigServiceGrpc.getListPatchJobsMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getListPatchJobsMethod = OsConfigServiceGrpc.getListPatchJobsMethod) == null) { - OsConfigServiceGrpc.getListPatchJobsMethod = - getListPatchJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPatchJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("ListPatchJobs")) - .build(); - } - } - } - return getListPatchJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest, - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse> - getListPatchJobInstanceDetailsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPatchJobInstanceDetails", - requestType = com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.class, - responseType = - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest, - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse> - getListPatchJobInstanceDetailsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest, - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse> - getListPatchJobInstanceDetailsMethod; - if ((getListPatchJobInstanceDetailsMethod = - OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod) - == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getListPatchJobInstanceDetailsMethod = - OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod) - == null) { - OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod = - getListPatchJobInstanceDetailsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListPatchJobInstanceDetails")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs - .ListPatchJobInstanceDetailsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs - .ListPatchJobInstanceDetailsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier( - "ListPatchJobInstanceDetails")) - .build(); - } - } - } - return getListPatchJobInstanceDetailsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - getCreatePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreatePatchDeployment", - requestType = - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - getCreatePatchDeploymentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - getCreatePatchDeploymentMethod; - if ((getCreatePatchDeploymentMethod = OsConfigServiceGrpc.getCreatePatchDeploymentMethod) - == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getCreatePatchDeploymentMethod = OsConfigServiceGrpc.getCreatePatchDeploymentMethod) - == null) { - OsConfigServiceGrpc.getCreatePatchDeploymentMethod = - getCreatePatchDeploymentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreatePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments - .CreatePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("CreatePatchDeployment")) - .build(); - } - } - } - return getCreatePatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - getGetPatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPatchDeployment", - requestType = com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - getGetPatchDeploymentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - getGetPatchDeploymentMethod; - if ((getGetPatchDeploymentMethod = OsConfigServiceGrpc.getGetPatchDeploymentMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getGetPatchDeploymentMethod = OsConfigServiceGrpc.getGetPatchDeploymentMethod) - == null) { - OsConfigServiceGrpc.getGetPatchDeploymentMethod = - getGetPatchDeploymentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments - .GetPatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("GetPatchDeployment")) - .build(); - } - } - } - return getGetPatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest, - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse> - getListPatchDeploymentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPatchDeployments", - requestType = com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.class, - responseType = - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest, - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse> - getListPatchDeploymentsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest, - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse> - getListPatchDeploymentsMethod; - if ((getListPatchDeploymentsMethod = OsConfigServiceGrpc.getListPatchDeploymentsMethod) - == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getListPatchDeploymentsMethod = OsConfigServiceGrpc.getListPatchDeploymentsMethod) - == null) { - OsConfigServiceGrpc.getListPatchDeploymentsMethod = - getListPatchDeploymentsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListPatchDeployments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments - .ListPatchDeploymentsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments - .ListPatchDeploymentsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("ListPatchDeployments")) - .build(); - } - } - } - return getListPatchDeploymentsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest, - com.google.protobuf.Empty> - getDeletePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePatchDeployment", - requestType = - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest, - com.google.protobuf.Empty> - getDeletePatchDeploymentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest, - com.google.protobuf.Empty> - getDeletePatchDeploymentMethod; - if ((getDeletePatchDeploymentMethod = OsConfigServiceGrpc.getDeletePatchDeploymentMethod) - == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getDeletePatchDeploymentMethod = OsConfigServiceGrpc.getDeletePatchDeploymentMethod) - == null) { - OsConfigServiceGrpc.getDeletePatchDeploymentMethod = - getDeletePatchDeploymentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeletePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments - .DeletePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("DeletePatchDeployment")) - .build(); - } - } - } - return getDeletePatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - getUpdatePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdatePatchDeployment", - requestType = - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - getUpdatePatchDeploymentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - getUpdatePatchDeploymentMethod; - if ((getUpdatePatchDeploymentMethod = OsConfigServiceGrpc.getUpdatePatchDeploymentMethod) - == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getUpdatePatchDeploymentMethod = OsConfigServiceGrpc.getUpdatePatchDeploymentMethod) - == null) { - OsConfigServiceGrpc.getUpdatePatchDeploymentMethod = - getUpdatePatchDeploymentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdatePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments - .UpdatePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("UpdatePatchDeployment")) - .build(); - } - } - } - return getUpdatePatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - getPausePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PausePatchDeployment", - requestType = com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - getPausePatchDeploymentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - getPausePatchDeploymentMethod; - if ((getPausePatchDeploymentMethod = OsConfigServiceGrpc.getPausePatchDeploymentMethod) - == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getPausePatchDeploymentMethod = OsConfigServiceGrpc.getPausePatchDeploymentMethod) - == null) { - OsConfigServiceGrpc.getPausePatchDeploymentMethod = - getPausePatchDeploymentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "PausePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments - .PausePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("PausePatchDeployment")) - .build(); - } - } - } - return getPausePatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - getResumePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ResumePatchDeployment", - requestType = - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - getResumePatchDeploymentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - getResumePatchDeploymentMethod; - if ((getResumePatchDeploymentMethod = OsConfigServiceGrpc.getResumePatchDeploymentMethod) - == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getResumePatchDeploymentMethod = OsConfigServiceGrpc.getResumePatchDeploymentMethod) - == null) { - OsConfigServiceGrpc.getResumePatchDeploymentMethod = - getResumePatchDeploymentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ResumePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments - .ResumePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("ResumePatchDeployment")) - .build(); - } - } - } - return getResumePatchDeploymentMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static OsConfigServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceStub(channel, callOptions); - } - }; - return OsConfigServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static OsConfigServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceBlockingStub(channel, callOptions); - } - }; - return OsConfigServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static OsConfigServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceFutureStub(channel, callOptions); - } - }; - return OsConfigServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * OS Config API
-   * The OS Config service is a server-side component that you can use to
-   * manage package installations and patch jobs for virtual machine instances.
-   * 
- */ - public abstract static class OsConfigServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Patch VM instances by creating and running a patch job.
-     * 
- */ - public void executePatchJob( - com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExecutePatchJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Get the patch job. This can be used to track the progress of an
-     * ongoing patch job or review the details of completed jobs.
-     * 
- */ - public void getPatchJob( - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetPatchJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Cancel a patch job. The patch job must be active. Canceled patch jobs
-     * cannot be restarted.
-     * 
- */ - public void cancelPatchJob( - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCancelPatchJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Get a list of patch jobs.
-     * 
- */ - public void listPatchJobs( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPatchJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Get a list of instance details for a given patch job.
-     * 
- */ - public void listPatchJobInstanceDetails( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPatchJobInstanceDetailsMethod(), responseObserver); - } - - /** - * - * - *
-     * Create an OS Config patch deployment.
-     * 
- */ - public void createPatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreatePatchDeploymentMethod(), responseObserver); - } - - /** - * - * - *
-     * Get an OS Config patch deployment.
-     * 
- */ - public void getPatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetPatchDeploymentMethod(), responseObserver); - } - - /** - * - * - *
-     * Get a page of OS Config patch deployments.
-     * 
- */ - public void listPatchDeployments( - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPatchDeploymentsMethod(), responseObserver); - } - - /** - * - * - *
-     * Delete an OS Config patch deployment.
-     * 
- */ - public void deletePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePatchDeploymentMethod(), responseObserver); - } - - /** - * - * - *
-     * Update an OS Config patch deployment.
-     * 
- */ - public void updatePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdatePatchDeploymentMethod(), responseObserver); - } - - /** - * - * - *
-     * Change state of patch deployment to "PAUSED".
-     * Patch deployment in paused state doesn't generate patch jobs.
-     * 
- */ - public void pausePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPausePatchDeploymentMethod(), responseObserver); - } - - /** - * - * - *
-     * Change state of patch deployment back to "ACTIVE".
-     * Patch deployment in active state continues to generate patch jobs.
-     * 
- */ - public void resumePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getResumePatchDeploymentMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getExecutePatchJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob>( - this, METHODID_EXECUTE_PATCH_JOB))) - .addMethod( - getGetPatchJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob>( - this, METHODID_GET_PATCH_JOB))) - .addMethod( - getCancelPatchJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob>( - this, METHODID_CANCEL_PATCH_JOB))) - .addMethod( - getListPatchJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest, - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse>( - this, METHODID_LIST_PATCH_JOBS))) - .addMethod( - getListPatchJobInstanceDetailsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest, - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse>( - this, METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS))) - .addMethod( - getCreatePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( - this, METHODID_CREATE_PATCH_DEPLOYMENT))) - .addMethod( - getGetPatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( - this, METHODID_GET_PATCH_DEPLOYMENT))) - .addMethod( - getListPatchDeploymentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest, - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse>( - this, METHODID_LIST_PATCH_DEPLOYMENTS))) - .addMethod( - getDeletePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_PATCH_DEPLOYMENT))) - .addMethod( - getUpdatePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( - this, METHODID_UPDATE_PATCH_DEPLOYMENT))) - .addMethod( - getPausePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( - this, METHODID_PAUSE_PATCH_DEPLOYMENT))) - .addMethod( - getResumePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( - this, METHODID_RESUME_PATCH_DEPLOYMENT))) - .build(); - } - } - - /** - * - * - *
-   * OS Config API
-   * The OS Config service is a server-side component that you can use to
-   * manage package installations and patch jobs for virtual machine instances.
-   * 
- */ - public static final class OsConfigServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private OsConfigServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Patch VM instances by creating and running a patch job.
-     * 
- */ - public void executePatchJob( - com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExecutePatchJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get the patch job. This can be used to track the progress of an
-     * ongoing patch job or review the details of completed jobs.
-     * 
- */ - public void getPatchJob( - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPatchJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Cancel a patch job. The patch job must be active. Canceled patch jobs
-     * cannot be restarted.
-     * 
- */ - public void cancelPatchJob( - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelPatchJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get a list of patch jobs.
-     * 
- */ - public void listPatchJobs( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPatchJobsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get a list of instance details for a given patch job.
-     * 
- */ - public void listPatchJobInstanceDetails( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPatchJobInstanceDetailsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Create an OS Config patch deployment.
-     * 
- */ - public void createPatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePatchDeploymentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get an OS Config patch deployment.
-     * 
- */ - public void getPatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPatchDeploymentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get a page of OS Config patch deployments.
-     * 
- */ - public void listPatchDeployments( - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPatchDeploymentsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Delete an OS Config patch deployment.
-     * 
- */ - public void deletePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePatchDeploymentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Update an OS Config patch deployment.
-     * 
- */ - public void updatePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePatchDeploymentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Change state of patch deployment to "PAUSED".
-     * Patch deployment in paused state doesn't generate patch jobs.
-     * 
- */ - public void pausePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPausePatchDeploymentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Change state of patch deployment back to "ACTIVE".
-     * Patch deployment in active state continues to generate patch jobs.
-     * 
- */ - public void resumePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumePatchDeploymentMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * OS Config API
-   * The OS Config service is a server-side component that you can use to
-   * manage package installations and patch jobs for virtual machine instances.
-   * 
- */ - public static final class OsConfigServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private OsConfigServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Patch VM instances by creating and running a patch job.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJob executePatchJob( - com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExecutePatchJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get the patch job. This can be used to track the progress of an
-     * ongoing patch job or review the details of completed jobs.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJob getPatchJob( - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPatchJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Cancel a patch job. The patch job must be active. Canceled patch jobs
-     * cannot be restarted.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJob cancelPatchJob( - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelPatchJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get a list of patch jobs.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse listPatchJobs( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPatchJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get a list of instance details for a given patch job.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - listPatchJobInstanceDetails( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPatchJobInstanceDetailsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Create an OS Config patch deployment.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment createPatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePatchDeploymentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get an OS Config patch deployment.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPatchDeploymentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get a page of OS Config patch deployments.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - listPatchDeployments( - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPatchDeploymentsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Delete an OS Config patch deployment.
-     * 
- */ - public com.google.protobuf.Empty deletePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePatchDeploymentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Update an OS Config patch deployment.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment updatePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePatchDeploymentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Change state of patch deployment to "PAUSED".
-     * Patch deployment in paused state doesn't generate patch jobs.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment pausePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPausePatchDeploymentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Change state of patch deployment back to "ACTIVE".
-     * Patch deployment in active state continues to generate patch jobs.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment resumePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getResumePatchDeploymentMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * OS Config API
-   * The OS Config service is a server-side component that you can use to
-   * manage package installations and patch jobs for virtual machine instances.
-   * 
- */ - public static final class OsConfigServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private OsConfigServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Patch VM instances by creating and running a patch job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.PatchJobs.PatchJob> - executePatchJob(com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getExecutePatchJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get the patch job. This can be used to track the progress of an
-     * ongoing patch job or review the details of completed jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.PatchJobs.PatchJob> - getPatchJob(com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPatchJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Cancel a patch job. The patch job must be active. Canceled patch jobs
-     * cannot be restarted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.PatchJobs.PatchJob> - cancelPatchJob(com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelPatchJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get a list of patch jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse> - listPatchJobs(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPatchJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get a list of instance details for a given patch job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse> - listPatchJobInstanceDetails( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPatchJobInstanceDetailsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Create an OS Config patch deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - createPatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePatchDeploymentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get an OS Config patch deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - getPatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPatchDeploymentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get a page of OS Config patch deployments.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse> - listPatchDeployments( - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPatchDeploymentsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Delete an OS Config patch deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deletePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePatchDeploymentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Update an OS Config patch deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - updatePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdatePatchDeploymentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Change state of patch deployment to "PAUSED".
-     * Patch deployment in paused state doesn't generate patch jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - pausePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPausePatchDeploymentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Change state of patch deployment back to "ACTIVE".
-     * Patch deployment in active state continues to generate patch jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - resumePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getResumePatchDeploymentMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_EXECUTE_PATCH_JOB = 0; - private static final int METHODID_GET_PATCH_JOB = 1; - private static final int METHODID_CANCEL_PATCH_JOB = 2; - private static final int METHODID_LIST_PATCH_JOBS = 3; - private static final int METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS = 4; - private static final int METHODID_CREATE_PATCH_DEPLOYMENT = 5; - private static final int METHODID_GET_PATCH_DEPLOYMENT = 6; - private static final int METHODID_LIST_PATCH_DEPLOYMENTS = 7; - private static final int METHODID_DELETE_PATCH_DEPLOYMENT = 8; - private static final int METHODID_UPDATE_PATCH_DEPLOYMENT = 9; - private static final int METHODID_PAUSE_PATCH_DEPLOYMENT = 10; - private static final int METHODID_RESUME_PATCH_DEPLOYMENT = 11; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final OsConfigServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(OsConfigServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_EXECUTE_PATCH_JOB: - serviceImpl.executePatchJob( - (com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_PATCH_JOB: - serviceImpl.getPatchJob( - (com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CANCEL_PATCH_JOB: - serviceImpl.cancelPatchJob( - (com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_PATCH_JOBS: - serviceImpl.listPatchJobs( - (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse>) - responseObserver); - break; - case METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS: - serviceImpl.listPatchJobInstanceDetails( - (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse>) - responseObserver); - break; - case METHODID_CREATE_PATCH_DEPLOYMENT: - serviceImpl.createPatchDeployment( - (com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>) - responseObserver); - break; - case METHODID_GET_PATCH_DEPLOYMENT: - serviceImpl.getPatchDeployment( - (com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>) - responseObserver); - break; - case METHODID_LIST_PATCH_DEPLOYMENTS: - serviceImpl.listPatchDeployments( - (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse>) - responseObserver); - break; - case METHODID_DELETE_PATCH_DEPLOYMENT: - serviceImpl.deletePatchDeployment( - (com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_PATCH_DEPLOYMENT: - serviceImpl.updatePatchDeployment( - (com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>) - responseObserver); - break; - case METHODID_PAUSE_PATCH_DEPLOYMENT: - serviceImpl.pausePatchDeployment( - (com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>) - responseObserver); - break; - case METHODID_RESUME_PATCH_DEPLOYMENT: - serviceImpl.resumePatchDeployment( - (com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class OsConfigServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - OsConfigServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.osconfig.v1.OsConfigProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("OsConfigService"); - } - } - - private static final class OsConfigServiceFileDescriptorSupplier - extends OsConfigServiceBaseDescriptorSupplier { - OsConfigServiceFileDescriptorSupplier() {} - } - - private static final class OsConfigServiceMethodDescriptorSupplier - extends OsConfigServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - OsConfigServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (OsConfigServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new OsConfigServiceFileDescriptorSupplier()) - .addMethod(getExecutePatchJobMethod()) - .addMethod(getGetPatchJobMethod()) - .addMethod(getCancelPatchJobMethod()) - .addMethod(getListPatchJobsMethod()) - .addMethod(getListPatchJobInstanceDetailsMethod()) - .addMethod(getCreatePatchDeploymentMethod()) - .addMethod(getGetPatchDeploymentMethod()) - .addMethod(getListPatchDeploymentsMethod()) - .addMethod(getDeletePatchDeploymentMethod()) - .addMethod(getUpdatePatchDeploymentMethod()) - .addMethod(getPausePatchDeploymentMethod()) - .addMethod(getResumePatchDeploymentMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceGrpc.java b/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceGrpc.java deleted file mode 100644 index 7218bc62..00000000 --- a/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceGrpc.java +++ /dev/null @@ -1,1860 +0,0 @@ -/* - * 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. - */ -package com.google.cloud.osconfig.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Zonal OS Config API
- * The OS Config service is the server-side component that allows users to
- * manage package installations and patch jobs for Compute Engine VM instances.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/osconfig/v1/osconfig_zonal_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class OsConfigZonalServiceGrpc { - - private OsConfigZonalServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.osconfig.v1.OsConfigZonalService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest, - com.google.longrunning.Operation> - getCreateOSPolicyAssignmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateOSPolicyAssignment", - requestType = com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest, - com.google.longrunning.Operation> - getCreateOSPolicyAssignmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest, - com.google.longrunning.Operation> - getCreateOSPolicyAssignmentMethod; - if ((getCreateOSPolicyAssignmentMethod = - OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getCreateOSPolicyAssignmentMethod = - OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod) - == null) { - OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod = - getCreateOSPolicyAssignmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateOSPolicyAssignment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "CreateOSPolicyAssignment")) - .build(); - } - } - } - return getCreateOSPolicyAssignmentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest, - com.google.longrunning.Operation> - getUpdateOSPolicyAssignmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateOSPolicyAssignment", - requestType = com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest, - com.google.longrunning.Operation> - getUpdateOSPolicyAssignmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest, - com.google.longrunning.Operation> - getUpdateOSPolicyAssignmentMethod; - if ((getUpdateOSPolicyAssignmentMethod = - OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getUpdateOSPolicyAssignmentMethod = - OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod) - == null) { - OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod = - getUpdateOSPolicyAssignmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateOSPolicyAssignment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "UpdateOSPolicyAssignment")) - .build(); - } - } - } - return getUpdateOSPolicyAssignmentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest, - com.google.cloud.osconfig.v1.OSPolicyAssignment> - getGetOSPolicyAssignmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetOSPolicyAssignment", - requestType = com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.class, - responseType = com.google.cloud.osconfig.v1.OSPolicyAssignment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest, - com.google.cloud.osconfig.v1.OSPolicyAssignment> - getGetOSPolicyAssignmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest, - com.google.cloud.osconfig.v1.OSPolicyAssignment> - getGetOSPolicyAssignmentMethod; - if ((getGetOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getGetOSPolicyAssignmentMethod = - OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod) - == null) { - OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod = - getGetOSPolicyAssignmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetOSPolicyAssignment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier("GetOSPolicyAssignment")) - .build(); - } - } - } - return getGetOSPolicyAssignmentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse> - getListOSPolicyAssignmentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignments", - requestType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.class, - responseType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse> - getListOSPolicyAssignmentsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse> - getListOSPolicyAssignmentsMethod; - if ((getListOSPolicyAssignmentsMethod = - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListOSPolicyAssignmentsMethod = - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod) - == null) { - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod = - getListOSPolicyAssignmentsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "ListOSPolicyAssignments")) - .build(); - } - } - } - return getListOSPolicyAssignmentsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse> - getListOSPolicyAssignmentRevisionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignmentRevisions", - requestType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.class, - responseType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse> - getListOSPolicyAssignmentRevisionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse> - getListOSPolicyAssignmentRevisionsMethod; - if ((getListOSPolicyAssignmentRevisionsMethod = - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListOSPolicyAssignmentRevisionsMethod = - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod) - == null) { - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod = - getListOSPolicyAssignmentRevisionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignmentRevisions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "ListOSPolicyAssignmentRevisions")) - .build(); - } - } - } - return getListOSPolicyAssignmentRevisionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest, - com.google.longrunning.Operation> - getDeleteOSPolicyAssignmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteOSPolicyAssignment", - requestType = com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest, - com.google.longrunning.Operation> - getDeleteOSPolicyAssignmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest, - com.google.longrunning.Operation> - getDeleteOSPolicyAssignmentMethod; - if ((getDeleteOSPolicyAssignmentMethod = - OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getDeleteOSPolicyAssignmentMethod = - OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod) - == null) { - OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod = - getDeleteOSPolicyAssignmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteOSPolicyAssignment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "DeleteOSPolicyAssignment")) - .build(); - } - } - } - return getDeleteOSPolicyAssignmentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport> - getGetOSPolicyAssignmentReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetOSPolicyAssignmentReport", - requestType = com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.class, - responseType = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport> - getGetOSPolicyAssignmentReportMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport> - getGetOSPolicyAssignmentReportMethod; - if ((getGetOSPolicyAssignmentReportMethod = - OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getGetOSPolicyAssignmentReportMethod = - OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod) - == null) { - OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod = - getGetOSPolicyAssignmentReportMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetOSPolicyAssignmentReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "GetOSPolicyAssignmentReport")) - .build(); - } - } - } - return getGetOSPolicyAssignmentReportMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse> - getListOSPolicyAssignmentReportsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignmentReports", - requestType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.class, - responseType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse> - getListOSPolicyAssignmentReportsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse> - getListOSPolicyAssignmentReportsMethod; - if ((getListOSPolicyAssignmentReportsMethod = - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListOSPolicyAssignmentReportsMethod = - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod) - == null) { - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod = - getListOSPolicyAssignmentReportsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignmentReports")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "ListOSPolicyAssignmentReports")) - .build(); - } - } - } - return getListOSPolicyAssignmentReportsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.GetInventoryRequest, com.google.cloud.osconfig.v1.Inventory> - getGetInventoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInventory", - requestType = com.google.cloud.osconfig.v1.GetInventoryRequest.class, - responseType = com.google.cloud.osconfig.v1.Inventory.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.GetInventoryRequest, com.google.cloud.osconfig.v1.Inventory> - getGetInventoryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.GetInventoryRequest, - com.google.cloud.osconfig.v1.Inventory> - getGetInventoryMethod; - if ((getGetInventoryMethod = OsConfigZonalServiceGrpc.getGetInventoryMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getGetInventoryMethod = OsConfigZonalServiceGrpc.getGetInventoryMethod) == null) { - OsConfigZonalServiceGrpc.getGetInventoryMethod = - getGetInventoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInventory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.GetInventoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.Inventory.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier("GetInventory")) - .build(); - } - } - } - return getGetInventoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.ListInventoriesRequest, - com.google.cloud.osconfig.v1.ListInventoriesResponse> - getListInventoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInventories", - requestType = com.google.cloud.osconfig.v1.ListInventoriesRequest.class, - responseType = com.google.cloud.osconfig.v1.ListInventoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.ListInventoriesRequest, - com.google.cloud.osconfig.v1.ListInventoriesResponse> - getListInventoriesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.ListInventoriesRequest, - com.google.cloud.osconfig.v1.ListInventoriesResponse> - getListInventoriesMethod; - if ((getListInventoriesMethod = OsConfigZonalServiceGrpc.getListInventoriesMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListInventoriesMethod = OsConfigZonalServiceGrpc.getListInventoriesMethod) - == null) { - OsConfigZonalServiceGrpc.getListInventoriesMethod = - getListInventoriesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInventories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListInventoriesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListInventoriesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier("ListInventories")) - .build(); - } - } - } - return getListInventoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest, - com.google.cloud.osconfig.v1.VulnerabilityReport> - getGetVulnerabilityReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVulnerabilityReport", - requestType = com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.class, - responseType = com.google.cloud.osconfig.v1.VulnerabilityReport.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest, - com.google.cloud.osconfig.v1.VulnerabilityReport> - getGetVulnerabilityReportMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest, - com.google.cloud.osconfig.v1.VulnerabilityReport> - getGetVulnerabilityReportMethod; - if ((getGetVulnerabilityReportMethod = OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getGetVulnerabilityReportMethod = - OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod) - == null) { - OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod = - getGetVulnerabilityReportMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetVulnerabilityReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.VulnerabilityReport - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "GetVulnerabilityReport")) - .build(); - } - } - } - return getGetVulnerabilityReportMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest, - com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse> - getListVulnerabilityReportsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVulnerabilityReports", - requestType = com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.class, - responseType = com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest, - com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse> - getListVulnerabilityReportsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest, - com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse> - getListVulnerabilityReportsMethod; - if ((getListVulnerabilityReportsMethod = - OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListVulnerabilityReportsMethod = - OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod) - == null) { - OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod = - getListVulnerabilityReportsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListVulnerabilityReports")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "ListVulnerabilityReports")) - .build(); - } - } - } - return getListVulnerabilityReportsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static OsConfigZonalServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigZonalServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceStub(channel, callOptions); - } - }; - return OsConfigZonalServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static OsConfigZonalServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigZonalServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceBlockingStub(channel, callOptions); - } - }; - return OsConfigZonalServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static OsConfigZonalServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigZonalServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceFutureStub(channel, callOptions); - } - }; - return OsConfigZonalServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Zonal OS Config API
-   * The OS Config service is the server-side component that allows users to
-   * manage package installations and patch jobs for Compute Engine VM instances.
-   * 
- */ - public abstract static class OsConfigZonalServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Create an OS policy assignment.
-     * This method also creates the first revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void createOSPolicyAssignment( - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateOSPolicyAssignmentMethod(), responseObserver); - } - - /** - * - * - *
-     * Update an existing OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void updateOSPolicyAssignment( - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateOSPolicyAssignmentMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieve an existing OS policy assignment.
-     * This method always returns the latest revision. In order to retrieve a
-     * previous revision of the assignment, also provide the revision ID in the
-     * `name` parameter.
-     * 
- */ - public void getOSPolicyAssignment( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetOSPolicyAssignmentMethod(), responseObserver); - } - - /** - * - * - *
-     * List the OS policy assignments under the parent resource.
-     * For each OS policy assignment, the latest revision is returned.
-     * 
- */ - public void listOSPolicyAssignments( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListOSPolicyAssignmentsMethod(), responseObserver); - } - - /** - * - * - *
-     * List the OS policy assignment revisions for a given OS policy assignment.
-     * 
- */ - public void listOSPolicyAssignmentRevisions( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListOSPolicyAssignmentRevisionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Delete the OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * If the LRO completes and is not cancelled, all revisions associated with
-     * the OS policy assignment are deleted.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void deleteOSPolicyAssignment( - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteOSPolicyAssignmentMethod(), responseObserver); - } - - /** - * - * - *
-     * Get the OS policy asssignment report for the specified Compute Engine VM
-     * instance.
-     * 
- */ - public void getOSPolicyAssignmentReport( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetOSPolicyAssignmentReportMethod(), responseObserver); - } - - /** - * - * - *
-     * List OS policy asssignment reports for all Compute Engine VM instances in
-     * the specified zone.
-     * 
- */ - public void listOSPolicyAssignmentReports( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListOSPolicyAssignmentReportsMethod(), responseObserver); - } - - /** - * - * - *
-     * Get inventory data for the specified VM instance. If the VM has no
-     * associated inventory, the message `NOT_FOUND` is returned.
-     * 
- */ - public void getInventory( - com.google.cloud.osconfig.v1.GetInventoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInventoryMethod(), responseObserver); - } - - /** - * - * - *
-     * List inventory data for all VM instances in the specified zone.
-     * 
- */ - public void listInventories( - com.google.cloud.osconfig.v1.ListInventoriesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInventoriesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the vulnerability report for the specified VM instance. Only VMs with
-     * inventory data have vulnerability reports associated with them.
-     * 
- */ - public void getVulnerabilityReport( - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetVulnerabilityReportMethod(), responseObserver); - } - - /** - * - * - *
-     * List vulnerability reports for all VM instances in the specified zone.
-     * 
- */ - public void listVulnerabilityReports( - com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListVulnerabilityReportsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateOSPolicyAssignmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_OSPOLICY_ASSIGNMENT))) - .addMethod( - getUpdateOSPolicyAssignmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_OSPOLICY_ASSIGNMENT))) - .addMethod( - getGetOSPolicyAssignmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest, - com.google.cloud.osconfig.v1.OSPolicyAssignment>( - this, METHODID_GET_OSPOLICY_ASSIGNMENT))) - .addMethod( - getListOSPolicyAssignmentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse>( - this, METHODID_LIST_OSPOLICY_ASSIGNMENTS))) - .addMethod( - getListOSPolicyAssignmentRevisionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse>( - this, METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS))) - .addMethod( - getDeleteOSPolicyAssignmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_OSPOLICY_ASSIGNMENT))) - .addMethod( - getGetOSPolicyAssignmentReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport>( - this, METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT))) - .addMethod( - getListOSPolicyAssignmentReportsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse>( - this, METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS))) - .addMethod( - getGetInventoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.GetInventoryRequest, - com.google.cloud.osconfig.v1.Inventory>(this, METHODID_GET_INVENTORY))) - .addMethod( - getListInventoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.ListInventoriesRequest, - com.google.cloud.osconfig.v1.ListInventoriesResponse>( - this, METHODID_LIST_INVENTORIES))) - .addMethod( - getGetVulnerabilityReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest, - com.google.cloud.osconfig.v1.VulnerabilityReport>( - this, METHODID_GET_VULNERABILITY_REPORT))) - .addMethod( - getListVulnerabilityReportsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest, - com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse>( - this, METHODID_LIST_VULNERABILITY_REPORTS))) - .build(); - } - } - - /** - * - * - *
-   * Zonal OS Config API
-   * The OS Config service is the server-side component that allows users to
-   * manage package installations and patch jobs for Compute Engine VM instances.
-   * 
- */ - public static final class OsConfigZonalServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private OsConfigZonalServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigZonalServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Create an OS policy assignment.
-     * This method also creates the first revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void createOSPolicyAssignment( - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateOSPolicyAssignmentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Update an existing OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void updateOSPolicyAssignment( - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateOSPolicyAssignmentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieve an existing OS policy assignment.
-     * This method always returns the latest revision. In order to retrieve a
-     * previous revision of the assignment, also provide the revision ID in the
-     * `name` parameter.
-     * 
- */ - public void getOSPolicyAssignment( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetOSPolicyAssignmentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * List the OS policy assignments under the parent resource.
-     * For each OS policy assignment, the latest revision is returned.
-     * 
- */ - public void listOSPolicyAssignments( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * List the OS policy assignment revisions for a given OS policy assignment.
-     * 
- */ - public void listOSPolicyAssignmentRevisions( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentRevisionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Delete the OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * If the LRO completes and is not cancelled, all revisions associated with
-     * the OS policy assignment are deleted.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void deleteOSPolicyAssignment( - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteOSPolicyAssignmentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get the OS policy asssignment report for the specified Compute Engine VM
-     * instance.
-     * 
- */ - public void getOSPolicyAssignmentReport( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetOSPolicyAssignmentReportMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * List OS policy asssignment reports for all Compute Engine VM instances in
-     * the specified zone.
-     * 
- */ - public void listOSPolicyAssignmentReports( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentReportsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get inventory data for the specified VM instance. If the VM has no
-     * associated inventory, the message `NOT_FOUND` is returned.
-     * 
- */ - public void getInventory( - com.google.cloud.osconfig.v1.GetInventoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInventoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * List inventory data for all VM instances in the specified zone.
-     * 
- */ - public void listInventories( - com.google.cloud.osconfig.v1.ListInventoriesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInventoriesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the vulnerability report for the specified VM instance. Only VMs with
-     * inventory data have vulnerability reports associated with them.
-     * 
- */ - public void getVulnerabilityReport( - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVulnerabilityReportMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * List vulnerability reports for all VM instances in the specified zone.
-     * 
- */ - public void listVulnerabilityReports( - com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVulnerabilityReportsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Zonal OS Config API
-   * The OS Config service is the server-side component that allows users to
-   * manage package installations and patch jobs for Compute Engine VM instances.
-   * 
- */ - public static final class OsConfigZonalServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private OsConfigZonalServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigZonalServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Create an OS policy assignment.
-     * This method also creates the first revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.longrunning.Operation createOSPolicyAssignment( - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateOSPolicyAssignmentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Update an existing OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.longrunning.Operation updateOSPolicyAssignment( - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateOSPolicyAssignmentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieve an existing OS policy assignment.
-     * This method always returns the latest revision. In order to retrieve a
-     * previous revision of the assignment, also provide the revision ID in the
-     * `name` parameter.
-     * 
- */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment getOSPolicyAssignment( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetOSPolicyAssignmentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List the OS policy assignments under the parent resource.
-     * For each OS policy assignment, the latest revision is returned.
-     * 
- */ - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse listOSPolicyAssignments( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListOSPolicyAssignmentsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List the OS policy assignment revisions for a given OS policy assignment.
-     * 
- */ - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse - listOSPolicyAssignmentRevisions( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListOSPolicyAssignmentRevisionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Delete the OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * If the LRO completes and is not cancelled, all revisions associated with
-     * the OS policy assignment are deleted.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.longrunning.Operation deleteOSPolicyAssignment( - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteOSPolicyAssignmentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get the OS policy asssignment report for the specified Compute Engine VM
-     * instance.
-     * 
- */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getOSPolicyAssignmentReport( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetOSPolicyAssignmentReportMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List OS policy asssignment reports for all Compute Engine VM instances in
-     * the specified zone.
-     * 
- */ - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse - listOSPolicyAssignmentReports( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListOSPolicyAssignmentReportsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get inventory data for the specified VM instance. If the VM has no
-     * associated inventory, the message `NOT_FOUND` is returned.
-     * 
- */ - public com.google.cloud.osconfig.v1.Inventory getInventory( - com.google.cloud.osconfig.v1.GetInventoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInventoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List inventory data for all VM instances in the specified zone.
-     * 
- */ - public com.google.cloud.osconfig.v1.ListInventoriesResponse listInventories( - com.google.cloud.osconfig.v1.ListInventoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInventoriesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the vulnerability report for the specified VM instance. Only VMs with
-     * inventory data have vulnerability reports associated with them.
-     * 
- */ - public com.google.cloud.osconfig.v1.VulnerabilityReport getVulnerabilityReport( - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVulnerabilityReportMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List vulnerability reports for all VM instances in the specified zone.
-     * 
- */ - public com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse listVulnerabilityReports( - com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVulnerabilityReportsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Zonal OS Config API
-   * The OS Config service is the server-side component that allows users to
-   * manage package installations and patch jobs for Compute Engine VM instances.
-   * 
- */ - public static final class OsConfigZonalServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private OsConfigZonalServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigZonalServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Create an OS policy assignment.
-     * This method also creates the first revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createOSPolicyAssignment( - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateOSPolicyAssignmentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Update an existing OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateOSPolicyAssignment( - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateOSPolicyAssignmentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieve an existing OS policy assignment.
-     * This method always returns the latest revision. In order to retrieve a
-     * previous revision of the assignment, also provide the revision ID in the
-     * `name` parameter.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.OSPolicyAssignment> - getOSPolicyAssignment(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetOSPolicyAssignmentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * List the OS policy assignments under the parent resource.
-     * For each OS policy assignment, the latest revision is returned.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse> - listOSPolicyAssignments( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * List the OS policy assignment revisions for a given OS policy assignment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse> - listOSPolicyAssignmentRevisions( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentRevisionsMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Delete the OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * If the LRO completes and is not cancelled, all revisions associated with
-     * the OS policy assignment are deleted.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteOSPolicyAssignment( - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteOSPolicyAssignmentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get the OS policy asssignment report for the specified Compute Engine VM
-     * instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport> - getOSPolicyAssignmentReport( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetOSPolicyAssignmentReportMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * List OS policy asssignment reports for all Compute Engine VM instances in
-     * the specified zone.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse> - listOSPolicyAssignmentReports( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentReportsMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Get inventory data for the specified VM instance. If the VM has no
-     * associated inventory, the message `NOT_FOUND` is returned.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.Inventory> - getInventory(com.google.cloud.osconfig.v1.GetInventoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInventoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * List inventory data for all VM instances in the specified zone.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.ListInventoriesResponse> - listInventories(com.google.cloud.osconfig.v1.ListInventoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInventoriesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the vulnerability report for the specified VM instance. Only VMs with
-     * inventory data have vulnerability reports associated with them.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.VulnerabilityReport> - getVulnerabilityReport(com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVulnerabilityReportMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * List vulnerability reports for all VM instances in the specified zone.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse> - listVulnerabilityReports( - com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVulnerabilityReportsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_OSPOLICY_ASSIGNMENT = 0; - private static final int METHODID_UPDATE_OSPOLICY_ASSIGNMENT = 1; - private static final int METHODID_GET_OSPOLICY_ASSIGNMENT = 2; - private static final int METHODID_LIST_OSPOLICY_ASSIGNMENTS = 3; - private static final int METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS = 4; - private static final int METHODID_DELETE_OSPOLICY_ASSIGNMENT = 5; - private static final int METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT = 6; - private static final int METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS = 7; - private static final int METHODID_GET_INVENTORY = 8; - private static final int METHODID_LIST_INVENTORIES = 9; - private static final int METHODID_GET_VULNERABILITY_REPORT = 10; - private static final int METHODID_LIST_VULNERABILITY_REPORTS = 11; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final OsConfigZonalServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(OsConfigZonalServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_OSPOLICY_ASSIGNMENT: - serviceImpl.createOSPolicyAssignment( - (com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_OSPOLICY_ASSIGNMENT: - serviceImpl.updateOSPolicyAssignment( - (com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_OSPOLICY_ASSIGNMENT: - serviceImpl.getOSPolicyAssignment( - (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_OSPOLICY_ASSIGNMENTS: - serviceImpl.listOSPolicyAssignments( - (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse>) - responseObserver); - break; - case METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS: - serviceImpl.listOSPolicyAssignmentRevisions( - (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse>) - responseObserver); - break; - case METHODID_DELETE_OSPOLICY_ASSIGNMENT: - serviceImpl.deleteOSPolicyAssignment( - (com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT: - serviceImpl.getOSPolicyAssignmentReport( - (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS: - serviceImpl.listOSPolicyAssignmentReports( - (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse>) - responseObserver); - break; - case METHODID_GET_INVENTORY: - serviceImpl.getInventory( - (com.google.cloud.osconfig.v1.GetInventoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_INVENTORIES: - serviceImpl.listInventories( - (com.google.cloud.osconfig.v1.ListInventoriesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_VULNERABILITY_REPORT: - serviceImpl.getVulnerabilityReport( - (com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_VULNERABILITY_REPORTS: - serviceImpl.listVulnerabilityReports( - (com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class OsConfigZonalServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - OsConfigZonalServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.osconfig.v1.OsConfigZonalServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("OsConfigZonalService"); - } - } - - private static final class OsConfigZonalServiceFileDescriptorSupplier - extends OsConfigZonalServiceBaseDescriptorSupplier { - OsConfigZonalServiceFileDescriptorSupplier() {} - } - - private static final class OsConfigZonalServiceMethodDescriptorSupplier - extends OsConfigZonalServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - OsConfigZonalServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new OsConfigZonalServiceFileDescriptorSupplier()) - .addMethod(getCreateOSPolicyAssignmentMethod()) - .addMethod(getUpdateOSPolicyAssignmentMethod()) - .addMethod(getGetOSPolicyAssignmentMethod()) - .addMethod(getListOSPolicyAssignmentsMethod()) - .addMethod(getListOSPolicyAssignmentRevisionsMethod()) - .addMethod(getDeleteOSPolicyAssignmentMethod()) - .addMethod(getGetOSPolicyAssignmentReportMethod()) - .addMethod(getListOSPolicyAssignmentReportsMethod()) - .addMethod(getGetInventoryMethod()) - .addMethod(getListInventoriesMethod()) - .addMethod(getGetVulnerabilityReportMethod()) - .addMethod(getListVulnerabilityReportsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceGrpc.java b/grpc-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceGrpc.java deleted file mode 100644 index f0364e52..00000000 --- a/grpc-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceGrpc.java +++ /dev/null @@ -1,2157 +0,0 @@ -/* - * 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. - */ -package com.google.cloud.osconfig.v1alpha; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Zonal OS Config API
- * The OS Config service is the server-side component that allows users to
- * manage package installations and patch jobs for Compute Engine VM instances.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/osconfig/v1alpha/osconfig_zonal_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class OsConfigZonalServiceGrpc { - - private OsConfigZonalServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.osconfig.v1alpha.OsConfigZonalService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest, - com.google.longrunning.Operation> - getCreateOSPolicyAssignmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateOSPolicyAssignment", - requestType = com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest, - com.google.longrunning.Operation> - getCreateOSPolicyAssignmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest, - com.google.longrunning.Operation> - getCreateOSPolicyAssignmentMethod; - if ((getCreateOSPolicyAssignmentMethod = - OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getCreateOSPolicyAssignmentMethod = - OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod) - == null) { - OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod = - getCreateOSPolicyAssignmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateOSPolicyAssignment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "CreateOSPolicyAssignment")) - .build(); - } - } - } - return getCreateOSPolicyAssignmentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest, - com.google.longrunning.Operation> - getUpdateOSPolicyAssignmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateOSPolicyAssignment", - requestType = com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest, - com.google.longrunning.Operation> - getUpdateOSPolicyAssignmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest, - com.google.longrunning.Operation> - getUpdateOSPolicyAssignmentMethod; - if ((getUpdateOSPolicyAssignmentMethod = - OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getUpdateOSPolicyAssignmentMethod = - OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod) - == null) { - OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod = - getUpdateOSPolicyAssignmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateOSPolicyAssignment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "UpdateOSPolicyAssignment")) - .build(); - } - } - } - return getUpdateOSPolicyAssignmentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment> - getGetOSPolicyAssignmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetOSPolicyAssignment", - requestType = com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment> - getGetOSPolicyAssignmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment> - getGetOSPolicyAssignmentMethod; - if ((getGetOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getGetOSPolicyAssignmentMethod = - OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod) - == null) { - OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod = - getGetOSPolicyAssignmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetOSPolicyAssignment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier("GetOSPolicyAssignment")) - .build(); - } - } - } - return getGetOSPolicyAssignmentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse> - getListOSPolicyAssignmentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignments", - requestType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse> - getListOSPolicyAssignmentsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse> - getListOSPolicyAssignmentsMethod; - if ((getListOSPolicyAssignmentsMethod = - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListOSPolicyAssignmentsMethod = - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod) - == null) { - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod = - getListOSPolicyAssignmentsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "ListOSPolicyAssignments")) - .build(); - } - } - } - return getListOSPolicyAssignmentsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse> - getListOSPolicyAssignmentRevisionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignmentRevisions", - requestType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.class, - responseType = - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse> - getListOSPolicyAssignmentRevisionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse> - getListOSPolicyAssignmentRevisionsMethod; - if ((getListOSPolicyAssignmentRevisionsMethod = - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListOSPolicyAssignmentRevisionsMethod = - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod) - == null) { - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod = - getListOSPolicyAssignmentRevisionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignmentRevisions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha - .ListOSPolicyAssignmentRevisionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha - .ListOSPolicyAssignmentRevisionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "ListOSPolicyAssignmentRevisions")) - .build(); - } - } - } - return getListOSPolicyAssignmentRevisionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest, - com.google.longrunning.Operation> - getDeleteOSPolicyAssignmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteOSPolicyAssignment", - requestType = com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest, - com.google.longrunning.Operation> - getDeleteOSPolicyAssignmentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest, - com.google.longrunning.Operation> - getDeleteOSPolicyAssignmentMethod; - if ((getDeleteOSPolicyAssignmentMethod = - OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getDeleteOSPolicyAssignmentMethod = - OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod) - == null) { - OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod = - getDeleteOSPolicyAssignmentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteOSPolicyAssignment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "DeleteOSPolicyAssignment")) - .build(); - } - } - } - return getDeleteOSPolicyAssignmentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance> - getGetInstanceOSPoliciesComplianceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInstanceOSPoliciesCompliance", - requestType = com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance> - getGetInstanceOSPoliciesComplianceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance> - getGetInstanceOSPoliciesComplianceMethod; - if ((getGetInstanceOSPoliciesComplianceMethod = - OsConfigZonalServiceGrpc.getGetInstanceOSPoliciesComplianceMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getGetInstanceOSPoliciesComplianceMethod = - OsConfigZonalServiceGrpc.getGetInstanceOSPoliciesComplianceMethod) - == null) { - OsConfigZonalServiceGrpc.getGetInstanceOSPoliciesComplianceMethod = - getGetInstanceOSPoliciesComplianceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetInstanceOSPoliciesCompliance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha - .GetInstanceOSPoliciesComplianceRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "GetInstanceOSPoliciesCompliance")) - .build(); - } - } - } - return getGetInstanceOSPoliciesComplianceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest, - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse> - getListInstanceOSPoliciesCompliancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInstanceOSPoliciesCompliances", - requestType = - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.class, - responseType = - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest, - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse> - getListInstanceOSPoliciesCompliancesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest, - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse> - getListInstanceOSPoliciesCompliancesMethod; - if ((getListInstanceOSPoliciesCompliancesMethod = - OsConfigZonalServiceGrpc.getListInstanceOSPoliciesCompliancesMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListInstanceOSPoliciesCompliancesMethod = - OsConfigZonalServiceGrpc.getListInstanceOSPoliciesCompliancesMethod) - == null) { - OsConfigZonalServiceGrpc.getListInstanceOSPoliciesCompliancesMethod = - getListInstanceOSPoliciesCompliancesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListInstanceOSPoliciesCompliances")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha - .ListInstanceOSPoliciesCompliancesRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha - .ListInstanceOSPoliciesCompliancesResponse.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "ListInstanceOSPoliciesCompliances")) - .build(); - } - } - } - return getListInstanceOSPoliciesCompliancesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport> - getGetOSPolicyAssignmentReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetOSPolicyAssignmentReport", - requestType = com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport> - getGetOSPolicyAssignmentReportMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport> - getGetOSPolicyAssignmentReportMethod; - if ((getGetOSPolicyAssignmentReportMethod = - OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getGetOSPolicyAssignmentReportMethod = - OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod) - == null) { - OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod = - getGetOSPolicyAssignmentReportMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetOSPolicyAssignmentReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "GetOSPolicyAssignmentReport")) - .build(); - } - } - } - return getGetOSPolicyAssignmentReportMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse> - getListOSPolicyAssignmentReportsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignmentReports", - requestType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse> - getListOSPolicyAssignmentReportsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse> - getListOSPolicyAssignmentReportsMethod; - if ((getListOSPolicyAssignmentReportsMethod = - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListOSPolicyAssignmentReportsMethod = - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod) - == null) { - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod = - getListOSPolicyAssignmentReportsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignmentReports")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha - .ListOSPolicyAssignmentReportsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "ListOSPolicyAssignmentReports")) - .build(); - } - } - } - return getListOSPolicyAssignmentReportsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.GetInventoryRequest, - com.google.cloud.osconfig.v1alpha.Inventory> - getGetInventoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInventory", - requestType = com.google.cloud.osconfig.v1alpha.GetInventoryRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.Inventory.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.GetInventoryRequest, - com.google.cloud.osconfig.v1alpha.Inventory> - getGetInventoryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.GetInventoryRequest, - com.google.cloud.osconfig.v1alpha.Inventory> - getGetInventoryMethod; - if ((getGetInventoryMethod = OsConfigZonalServiceGrpc.getGetInventoryMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getGetInventoryMethod = OsConfigZonalServiceGrpc.getGetInventoryMethod) == null) { - OsConfigZonalServiceGrpc.getGetInventoryMethod = - getGetInventoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInventory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.GetInventoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.Inventory.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier("GetInventory")) - .build(); - } - } - } - return getGetInventoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.ListInventoriesRequest, - com.google.cloud.osconfig.v1alpha.ListInventoriesResponse> - getListInventoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInventories", - requestType = com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.ListInventoriesRequest, - com.google.cloud.osconfig.v1alpha.ListInventoriesResponse> - getListInventoriesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.ListInventoriesRequest, - com.google.cloud.osconfig.v1alpha.ListInventoriesResponse> - getListInventoriesMethod; - if ((getListInventoriesMethod = OsConfigZonalServiceGrpc.getListInventoriesMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListInventoriesMethod = OsConfigZonalServiceGrpc.getListInventoriesMethod) - == null) { - OsConfigZonalServiceGrpc.getListInventoriesMethod = - getListInventoriesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInventories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.ListInventoriesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.ListInventoriesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier("ListInventories")) - .build(); - } - } - } - return getListInventoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport> - getGetVulnerabilityReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVulnerabilityReport", - requestType = com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.VulnerabilityReport.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport> - getGetVulnerabilityReportMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport> - getGetVulnerabilityReportMethod; - if ((getGetVulnerabilityReportMethod = OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getGetVulnerabilityReportMethod = - OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod) - == null) { - OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod = - getGetVulnerabilityReportMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetVulnerabilityReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "GetVulnerabilityReport")) - .build(); - } - } - } - return getGetVulnerabilityReportMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest, - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse> - getListVulnerabilityReportsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVulnerabilityReports", - requestType = com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest, - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse> - getListVulnerabilityReportsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest, - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse> - getListVulnerabilityReportsMethod; - if ((getListVulnerabilityReportsMethod = - OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod) - == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListVulnerabilityReportsMethod = - OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod) - == null) { - OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod = - getListVulnerabilityReportsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListVulnerabilityReports")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigZonalServiceMethodDescriptorSupplier( - "ListVulnerabilityReports")) - .build(); - } - } - } - return getListVulnerabilityReportsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static OsConfigZonalServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigZonalServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceStub(channel, callOptions); - } - }; - return OsConfigZonalServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static OsConfigZonalServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigZonalServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceBlockingStub(channel, callOptions); - } - }; - return OsConfigZonalServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static OsConfigZonalServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigZonalServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceFutureStub(channel, callOptions); - } - }; - return OsConfigZonalServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Zonal OS Config API
-   * The OS Config service is the server-side component that allows users to
-   * manage package installations and patch jobs for Compute Engine VM instances.
-   * 
- */ - public abstract static class OsConfigZonalServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Create an OS policy assignment.
-     * This method also creates the first revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void createOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateOSPolicyAssignmentMethod(), responseObserver); - } - - /** - * - * - *
-     * Update an existing OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void updateOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateOSPolicyAssignmentMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieve an existing OS policy assignment.
-     * This method always returns the latest revision. In order to retrieve a
-     * previous revision of the assignment, also provide the revision ID in the
-     * `name` parameter.
-     * 
- */ - public void getOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetOSPolicyAssignmentMethod(), responseObserver); - } - - /** - * - * - *
-     * List the OS policy assignments under the parent resource.
-     * For each OS policy assignment, the latest revision is returned.
-     * 
- */ - public void listOSPolicyAssignments( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListOSPolicyAssignmentsMethod(), responseObserver); - } - - /** - * - * - *
-     * List the OS policy assignment revisions for a given OS policy assignment.
-     * 
- */ - public void listOSPolicyAssignmentRevisions( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListOSPolicyAssignmentRevisionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Delete the OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * If the LRO completes and is not cancelled, all revisions associated with
-     * the OS policy assignment are deleted.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void deleteOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteOSPolicyAssignmentMethod(), responseObserver); - } - - /** - * - * - *
-     * Get OS policies compliance data for the specified Compute Engine VM
-     * instance.
-     * 
- */ - @java.lang.Deprecated - public void getInstanceOSPoliciesCompliance( - com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInstanceOSPoliciesComplianceMethod(), responseObserver); - } - - /** - * - * - *
-     * List OS policies compliance data for all Compute Engine VM instances in the
-     * specified zone.
-     * 
- */ - @java.lang.Deprecated - public void listInstanceOSPoliciesCompliances( - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInstanceOSPoliciesCompliancesMethod(), responseObserver); - } - - /** - * - * - *
-     * Get the OS policy asssignment report for the specified Compute Engine VM
-     * instance.
-     * 
- */ - public void getOSPolicyAssignmentReport( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetOSPolicyAssignmentReportMethod(), responseObserver); - } - - /** - * - * - *
-     * List OS policy asssignment reports for all Compute Engine VM instances in
-     * the specified zone.
-     * 
- */ - public void listOSPolicyAssignmentReports( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListOSPolicyAssignmentReportsMethod(), responseObserver); - } - - /** - * - * - *
-     * Get inventory data for the specified VM instance. If the VM has no
-     * associated inventory, the message `NOT_FOUND` is returned.
-     * 
- */ - public void getInventory( - com.google.cloud.osconfig.v1alpha.GetInventoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInventoryMethod(), responseObserver); - } - - /** - * - * - *
-     * List inventory data for all VM instances in the specified zone.
-     * 
- */ - public void listInventories( - com.google.cloud.osconfig.v1alpha.ListInventoriesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInventoriesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the vulnerability report for the specified VM instance. Only VMs with
-     * inventory data have vulnerability reports associated with them.
-     * 
- */ - public void getVulnerabilityReport( - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetVulnerabilityReportMethod(), responseObserver); - } - - /** - * - * - *
-     * List vulnerability reports for all VM instances in the specified zone.
-     * 
- */ - public void listVulnerabilityReports( - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListVulnerabilityReportsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateOSPolicyAssignmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_OSPOLICY_ASSIGNMENT))) - .addMethod( - getUpdateOSPolicyAssignmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_OSPOLICY_ASSIGNMENT))) - .addMethod( - getGetOSPolicyAssignmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment>( - this, METHODID_GET_OSPOLICY_ASSIGNMENT))) - .addMethod( - getListOSPolicyAssignmentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse>( - this, METHODID_LIST_OSPOLICY_ASSIGNMENTS))) - .addMethod( - getListOSPolicyAssignmentRevisionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse>( - this, METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS))) - .addMethod( - getDeleteOSPolicyAssignmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_OSPOLICY_ASSIGNMENT))) - .addMethod( - getGetInstanceOSPoliciesComplianceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance>( - this, METHODID_GET_INSTANCE_OSPOLICIES_COMPLIANCE))) - .addMethod( - getListInstanceOSPoliciesCompliancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest, - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse>( - this, METHODID_LIST_INSTANCE_OSPOLICIES_COMPLIANCES))) - .addMethod( - getGetOSPolicyAssignmentReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport>( - this, METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT))) - .addMethod( - getListOSPolicyAssignmentReportsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse>( - this, METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS))) - .addMethod( - getGetInventoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.GetInventoryRequest, - com.google.cloud.osconfig.v1alpha.Inventory>(this, METHODID_GET_INVENTORY))) - .addMethod( - getListInventoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.ListInventoriesRequest, - com.google.cloud.osconfig.v1alpha.ListInventoriesResponse>( - this, METHODID_LIST_INVENTORIES))) - .addMethod( - getGetVulnerabilityReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport>( - this, METHODID_GET_VULNERABILITY_REPORT))) - .addMethod( - getListVulnerabilityReportsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest, - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse>( - this, METHODID_LIST_VULNERABILITY_REPORTS))) - .build(); - } - } - - /** - * - * - *
-   * Zonal OS Config API
-   * The OS Config service is the server-side component that allows users to
-   * manage package installations and patch jobs for Compute Engine VM instances.
-   * 
- */ - public static final class OsConfigZonalServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private OsConfigZonalServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigZonalServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Create an OS policy assignment.
-     * This method also creates the first revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void createOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateOSPolicyAssignmentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Update an existing OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void updateOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateOSPolicyAssignmentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieve an existing OS policy assignment.
-     * This method always returns the latest revision. In order to retrieve a
-     * previous revision of the assignment, also provide the revision ID in the
-     * `name` parameter.
-     * 
- */ - public void getOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetOSPolicyAssignmentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * List the OS policy assignments under the parent resource.
-     * For each OS policy assignment, the latest revision is returned.
-     * 
- */ - public void listOSPolicyAssignments( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * List the OS policy assignment revisions for a given OS policy assignment.
-     * 
- */ - public void listOSPolicyAssignmentRevisions( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentRevisionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Delete the OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * If the LRO completes and is not cancelled, all revisions associated with
-     * the OS policy assignment are deleted.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void deleteOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteOSPolicyAssignmentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get OS policies compliance data for the specified Compute Engine VM
-     * instance.
-     * 
- */ - @java.lang.Deprecated - public void getInstanceOSPoliciesCompliance( - com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceOSPoliciesComplianceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * List OS policies compliance data for all Compute Engine VM instances in the
-     * specified zone.
-     * 
- */ - @java.lang.Deprecated - public void listInstanceOSPoliciesCompliances( - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstanceOSPoliciesCompliancesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get the OS policy asssignment report for the specified Compute Engine VM
-     * instance.
-     * 
- */ - public void getOSPolicyAssignmentReport( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetOSPolicyAssignmentReportMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * List OS policy asssignment reports for all Compute Engine VM instances in
-     * the specified zone.
-     * 
- */ - public void listOSPolicyAssignmentReports( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentReportsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get inventory data for the specified VM instance. If the VM has no
-     * associated inventory, the message `NOT_FOUND` is returned.
-     * 
- */ - public void getInventory( - com.google.cloud.osconfig.v1alpha.GetInventoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInventoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * List inventory data for all VM instances in the specified zone.
-     * 
- */ - public void listInventories( - com.google.cloud.osconfig.v1alpha.ListInventoriesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInventoriesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the vulnerability report for the specified VM instance. Only VMs with
-     * inventory data have vulnerability reports associated with them.
-     * 
- */ - public void getVulnerabilityReport( - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVulnerabilityReportMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * List vulnerability reports for all VM instances in the specified zone.
-     * 
- */ - public void listVulnerabilityReports( - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVulnerabilityReportsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Zonal OS Config API
-   * The OS Config service is the server-side component that allows users to
-   * manage package installations and patch jobs for Compute Engine VM instances.
-   * 
- */ - public static final class OsConfigZonalServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private OsConfigZonalServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigZonalServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Create an OS policy assignment.
-     * This method also creates the first revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.longrunning.Operation createOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateOSPolicyAssignmentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Update an existing OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.longrunning.Operation updateOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateOSPolicyAssignmentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieve an existing OS policy assignment.
-     * This method always returns the latest revision. In order to retrieve a
-     * previous revision of the assignment, also provide the revision ID in the
-     * `name` parameter.
-     * 
- */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetOSPolicyAssignmentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List the OS policy assignments under the parent resource.
-     * For each OS policy assignment, the latest revision is returned.
-     * 
- */ - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse - listOSPolicyAssignments( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListOSPolicyAssignmentsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List the OS policy assignment revisions for a given OS policy assignment.
-     * 
- */ - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse - listOSPolicyAssignmentRevisions( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListOSPolicyAssignmentRevisionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Delete the OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * If the LRO completes and is not cancelled, all revisions associated with
-     * the OS policy assignment are deleted.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.longrunning.Operation deleteOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteOSPolicyAssignmentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get OS policies compliance data for the specified Compute Engine VM
-     * instance.
-     * 
- */ - @java.lang.Deprecated - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance - getInstanceOSPoliciesCompliance( - com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInstanceOSPoliciesComplianceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List OS policies compliance data for all Compute Engine VM instances in the
-     * specified zone.
-     * 
- */ - @java.lang.Deprecated - public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse - listInstanceOSPoliciesCompliances( - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInstanceOSPoliciesCompliancesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get the OS policy asssignment report for the specified Compute Engine VM
-     * instance.
-     * 
- */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getOSPolicyAssignmentReport( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetOSPolicyAssignmentReportMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List OS policy asssignment reports for all Compute Engine VM instances in
-     * the specified zone.
-     * 
- */ - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse - listOSPolicyAssignmentReports( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListOSPolicyAssignmentReportsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get inventory data for the specified VM instance. If the VM has no
-     * associated inventory, the message `NOT_FOUND` is returned.
-     * 
- */ - public com.google.cloud.osconfig.v1alpha.Inventory getInventory( - com.google.cloud.osconfig.v1alpha.GetInventoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInventoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List inventory data for all VM instances in the specified zone.
-     * 
- */ - public com.google.cloud.osconfig.v1alpha.ListInventoriesResponse listInventories( - com.google.cloud.osconfig.v1alpha.ListInventoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInventoriesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the vulnerability report for the specified VM instance. Only VMs with
-     * inventory data have vulnerability reports associated with them.
-     * 
- */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport getVulnerabilityReport( - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVulnerabilityReportMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List vulnerability reports for all VM instances in the specified zone.
-     * 
- */ - public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse - listVulnerabilityReports( - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVulnerabilityReportsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Zonal OS Config API
-   * The OS Config service is the server-side component that allows users to
-   * manage package installations and patch jobs for Compute Engine VM instances.
-   * 
- */ - public static final class OsConfigZonalServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private OsConfigZonalServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigZonalServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Create an OS policy assignment.
-     * This method also creates the first revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateOSPolicyAssignmentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Update an existing OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateOSPolicyAssignmentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieve an existing OS policy assignment.
-     * This method always returns the latest revision. In order to retrieve a
-     * previous revision of the assignment, also provide the revision ID in the
-     * `name` parameter.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment> - getOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetOSPolicyAssignmentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * List the OS policy assignments under the parent resource.
-     * For each OS policy assignment, the latest revision is returned.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse> - listOSPolicyAssignments( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * List the OS policy assignment revisions for a given OS policy assignment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse> - listOSPolicyAssignmentRevisions( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentRevisionsMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Delete the OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * If the LRO completes and is not cancelled, all revisions associated with
-     * the OS policy assignment are deleted.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteOSPolicyAssignmentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get OS policies compliance data for the specified Compute Engine VM
-     * instance.
-     * 
- */ - @java.lang.Deprecated - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance> - getInstanceOSPoliciesCompliance( - com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInstanceOSPoliciesComplianceMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * List OS policies compliance data for all Compute Engine VM instances in the
-     * specified zone.
-     * 
- */ - @java.lang.Deprecated - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse> - listInstanceOSPoliciesCompliances( - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInstanceOSPoliciesCompliancesMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Get the OS policy asssignment report for the specified Compute Engine VM
-     * instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport> - getOSPolicyAssignmentReport( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetOSPolicyAssignmentReportMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * List OS policy asssignment reports for all Compute Engine VM instances in
-     * the specified zone.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse> - listOSPolicyAssignmentReports( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentReportsMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Get inventory data for the specified VM instance. If the VM has no
-     * associated inventory, the message `NOT_FOUND` is returned.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1alpha.Inventory> - getInventory(com.google.cloud.osconfig.v1alpha.GetInventoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInventoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * List inventory data for all VM instances in the specified zone.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1alpha.ListInventoriesResponse> - listInventories(com.google.cloud.osconfig.v1alpha.ListInventoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInventoriesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the vulnerability report for the specified VM instance. Only VMs with
-     * inventory data have vulnerability reports associated with them.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport> - getVulnerabilityReport( - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVulnerabilityReportMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * List vulnerability reports for all VM instances in the specified zone.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse> - listVulnerabilityReports( - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVulnerabilityReportsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_OSPOLICY_ASSIGNMENT = 0; - private static final int METHODID_UPDATE_OSPOLICY_ASSIGNMENT = 1; - private static final int METHODID_GET_OSPOLICY_ASSIGNMENT = 2; - private static final int METHODID_LIST_OSPOLICY_ASSIGNMENTS = 3; - private static final int METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS = 4; - private static final int METHODID_DELETE_OSPOLICY_ASSIGNMENT = 5; - private static final int METHODID_GET_INSTANCE_OSPOLICIES_COMPLIANCE = 6; - private static final int METHODID_LIST_INSTANCE_OSPOLICIES_COMPLIANCES = 7; - private static final int METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT = 8; - private static final int METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS = 9; - private static final int METHODID_GET_INVENTORY = 10; - private static final int METHODID_LIST_INVENTORIES = 11; - private static final int METHODID_GET_VULNERABILITY_REPORT = 12; - private static final int METHODID_LIST_VULNERABILITY_REPORTS = 13; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final OsConfigZonalServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(OsConfigZonalServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_OSPOLICY_ASSIGNMENT: - serviceImpl.createOSPolicyAssignment( - (com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_OSPOLICY_ASSIGNMENT: - serviceImpl.updateOSPolicyAssignment( - (com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_OSPOLICY_ASSIGNMENT: - serviceImpl.getOSPolicyAssignment( - (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_OSPOLICY_ASSIGNMENTS: - serviceImpl.listOSPolicyAssignments( - (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse>) - responseObserver); - break; - case METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS: - serviceImpl.listOSPolicyAssignmentRevisions( - (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse>) - responseObserver); - break; - case METHODID_DELETE_OSPOLICY_ASSIGNMENT: - serviceImpl.deleteOSPolicyAssignment( - (com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_INSTANCE_OSPOLICIES_COMPLIANCE: - serviceImpl.getInstanceOSPoliciesCompliance( - (com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance>) - responseObserver); - break; - case METHODID_LIST_INSTANCE_OSPOLICIES_COMPLIANCES: - serviceImpl.listInstanceOSPoliciesCompliances( - (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse>) - responseObserver); - break; - case METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT: - serviceImpl.getOSPolicyAssignmentReport( - (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport>) - responseObserver); - break; - case METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS: - serviceImpl.listOSPolicyAssignmentReports( - (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse>) - responseObserver); - break; - case METHODID_GET_INVENTORY: - serviceImpl.getInventory( - (com.google.cloud.osconfig.v1alpha.GetInventoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_INVENTORIES: - serviceImpl.listInventories( - (com.google.cloud.osconfig.v1alpha.ListInventoriesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1alpha.ListInventoriesResponse>) - responseObserver); - break; - case METHODID_GET_VULNERABILITY_REPORT: - serviceImpl.getVulnerabilityReport( - (com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_VULNERABILITY_REPORTS: - serviceImpl.listVulnerabilityReports( - (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class OsConfigZonalServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - OsConfigZonalServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("OsConfigZonalService"); - } - } - - private static final class OsConfigZonalServiceFileDescriptorSupplier - extends OsConfigZonalServiceBaseDescriptorSupplier { - OsConfigZonalServiceFileDescriptorSupplier() {} - } - - private static final class OsConfigZonalServiceMethodDescriptorSupplier - extends OsConfigZonalServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - OsConfigZonalServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new OsConfigZonalServiceFileDescriptorSupplier()) - .addMethod(getCreateOSPolicyAssignmentMethod()) - .addMethod(getUpdateOSPolicyAssignmentMethod()) - .addMethod(getGetOSPolicyAssignmentMethod()) - .addMethod(getListOSPolicyAssignmentsMethod()) - .addMethod(getListOSPolicyAssignmentRevisionsMethod()) - .addMethod(getDeleteOSPolicyAssignmentMethod()) - .addMethod(getGetInstanceOSPoliciesComplianceMethod()) - .addMethod(getListInstanceOSPoliciesCompliancesMethod()) - .addMethod(getGetOSPolicyAssignmentReportMethod()) - .addMethod(getListOSPolicyAssignmentReportsMethod()) - .addMethod(getGetInventoryMethod()) - .addMethod(getListInventoriesMethod()) - .addMethod(getGetVulnerabilityReportMethod()) - .addMethod(getListVulnerabilityReportsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceGrpc.java b/grpc-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceGrpc.java deleted file mode 100644 index 130ffc76..00000000 --- a/grpc-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceGrpc.java +++ /dev/null @@ -1,2562 +0,0 @@ -/* - * 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. - */ -package com.google.cloud.osconfig.v1beta; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * OS Config API
- * The OS Config service is a server-side component that you can use to
- * manage package installations and patch jobs for virtual machine instances.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/osconfig/v1beta/osconfig_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class OsConfigServiceGrpc { - - private OsConfigServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.osconfig.v1beta.OsConfigService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> - getExecutePatchJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ExecutePatchJob", - requestType = com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> - getExecutePatchJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> - getExecutePatchJobMethod; - if ((getExecutePatchJobMethod = OsConfigServiceGrpc.getExecutePatchJobMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getExecutePatchJobMethod = OsConfigServiceGrpc.getExecutePatchJobMethod) == null) { - OsConfigServiceGrpc.getExecutePatchJobMethod = - getExecutePatchJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecutePatchJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("ExecutePatchJob")) - .build(); - } - } - } - return getExecutePatchJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> - getGetPatchJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPatchJob", - requestType = com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> - getGetPatchJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> - getGetPatchJobMethod; - if ((getGetPatchJobMethod = OsConfigServiceGrpc.getGetPatchJobMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getGetPatchJobMethod = OsConfigServiceGrpc.getGetPatchJobMethod) == null) { - OsConfigServiceGrpc.getGetPatchJobMethod = - getGetPatchJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPatchJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("GetPatchJob")) - .build(); - } - } - } - return getGetPatchJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> - getCancelPatchJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelPatchJob", - requestType = com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> - getCancelPatchJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> - getCancelPatchJobMethod; - if ((getCancelPatchJobMethod = OsConfigServiceGrpc.getCancelPatchJobMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getCancelPatchJobMethod = OsConfigServiceGrpc.getCancelPatchJobMethod) == null) { - OsConfigServiceGrpc.getCancelPatchJobMethod = - getCancelPatchJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelPatchJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("CancelPatchJob")) - .build(); - } - } - } - return getCancelPatchJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse> - getListPatchJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPatchJobs", - requestType = com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse> - getListPatchJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse> - getListPatchJobsMethod; - if ((getListPatchJobsMethod = OsConfigServiceGrpc.getListPatchJobsMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getListPatchJobsMethod = OsConfigServiceGrpc.getListPatchJobsMethod) == null) { - OsConfigServiceGrpc.getListPatchJobsMethod = - getListPatchJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPatchJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("ListPatchJobs")) - .build(); - } - } - } - return getListPatchJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse> - getListPatchJobInstanceDetailsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPatchJobInstanceDetails", - requestType = - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.class, - responseType = - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse> - getListPatchJobInstanceDetailsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse> - getListPatchJobInstanceDetailsMethod; - if ((getListPatchJobInstanceDetailsMethod = - OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod) - == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getListPatchJobInstanceDetailsMethod = - OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod) - == null) { - OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod = - getListPatchJobInstanceDetailsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListPatchJobInstanceDetails")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs - .ListPatchJobInstanceDetailsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs - .ListPatchJobInstanceDetailsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier( - "ListPatchJobInstanceDetails")) - .build(); - } - } - } - return getListPatchJobInstanceDetailsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - getCreatePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreatePatchDeployment", - requestType = - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - getCreatePatchDeploymentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - getCreatePatchDeploymentMethod; - if ((getCreatePatchDeploymentMethod = OsConfigServiceGrpc.getCreatePatchDeploymentMethod) - == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getCreatePatchDeploymentMethod = OsConfigServiceGrpc.getCreatePatchDeploymentMethod) - == null) { - OsConfigServiceGrpc.getCreatePatchDeploymentMethod = - getCreatePatchDeploymentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreatePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments - .CreatePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("CreatePatchDeployment")) - .build(); - } - } - } - return getCreatePatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - getGetPatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPatchDeployment", - requestType = - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - getGetPatchDeploymentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - getGetPatchDeploymentMethod; - if ((getGetPatchDeploymentMethod = OsConfigServiceGrpc.getGetPatchDeploymentMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getGetPatchDeploymentMethod = OsConfigServiceGrpc.getGetPatchDeploymentMethod) - == null) { - OsConfigServiceGrpc.getGetPatchDeploymentMethod = - getGetPatchDeploymentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments - .GetPatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("GetPatchDeployment")) - .build(); - } - } - } - return getGetPatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse> - getListPatchDeploymentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPatchDeployments", - requestType = - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.class, - responseType = - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse> - getListPatchDeploymentsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse> - getListPatchDeploymentsMethod; - if ((getListPatchDeploymentsMethod = OsConfigServiceGrpc.getListPatchDeploymentsMethod) - == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getListPatchDeploymentsMethod = OsConfigServiceGrpc.getListPatchDeploymentsMethod) - == null) { - OsConfigServiceGrpc.getListPatchDeploymentsMethod = - getListPatchDeploymentsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListPatchDeployments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments - .ListPatchDeploymentsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments - .ListPatchDeploymentsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("ListPatchDeployments")) - .build(); - } - } - } - return getListPatchDeploymentsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest, - com.google.protobuf.Empty> - getDeletePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePatchDeployment", - requestType = - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest, - com.google.protobuf.Empty> - getDeletePatchDeploymentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest, - com.google.protobuf.Empty> - getDeletePatchDeploymentMethod; - if ((getDeletePatchDeploymentMethod = OsConfigServiceGrpc.getDeletePatchDeploymentMethod) - == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getDeletePatchDeploymentMethod = OsConfigServiceGrpc.getDeletePatchDeploymentMethod) - == null) { - OsConfigServiceGrpc.getDeletePatchDeploymentMethod = - getDeletePatchDeploymentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeletePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments - .DeletePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("DeletePatchDeployment")) - .build(); - } - } - } - return getDeletePatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - getUpdatePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdatePatchDeployment", - requestType = - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - getUpdatePatchDeploymentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - getUpdatePatchDeploymentMethod; - if ((getUpdatePatchDeploymentMethod = OsConfigServiceGrpc.getUpdatePatchDeploymentMethod) - == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getUpdatePatchDeploymentMethod = OsConfigServiceGrpc.getUpdatePatchDeploymentMethod) - == null) { - OsConfigServiceGrpc.getUpdatePatchDeploymentMethod = - getUpdatePatchDeploymentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdatePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments - .UpdatePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("UpdatePatchDeployment")) - .build(); - } - } - } - return getUpdatePatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - getPausePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PausePatchDeployment", - requestType = - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - getPausePatchDeploymentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - getPausePatchDeploymentMethod; - if ((getPausePatchDeploymentMethod = OsConfigServiceGrpc.getPausePatchDeploymentMethod) - == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getPausePatchDeploymentMethod = OsConfigServiceGrpc.getPausePatchDeploymentMethod) - == null) { - OsConfigServiceGrpc.getPausePatchDeploymentMethod = - getPausePatchDeploymentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "PausePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments - .PausePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("PausePatchDeployment")) - .build(); - } - } - } - return getPausePatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - getResumePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ResumePatchDeployment", - requestType = - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - getResumePatchDeploymentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - getResumePatchDeploymentMethod; - if ((getResumePatchDeploymentMethod = OsConfigServiceGrpc.getResumePatchDeploymentMethod) - == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getResumePatchDeploymentMethod = OsConfigServiceGrpc.getResumePatchDeploymentMethod) - == null) { - OsConfigServiceGrpc.getResumePatchDeploymentMethod = - getResumePatchDeploymentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ResumePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments - .ResumePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("ResumePatchDeployment")) - .build(); - } - } - } - return getResumePatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> - getCreateGuestPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateGuestPolicy", - requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.class, - responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> - getCreateGuestPolicyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> - getCreateGuestPolicyMethod; - if ((getCreateGuestPolicyMethod = OsConfigServiceGrpc.getCreateGuestPolicyMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getCreateGuestPolicyMethod = OsConfigServiceGrpc.getCreateGuestPolicyMethod) == null) { - OsConfigServiceGrpc.getCreateGuestPolicyMethod = - getCreateGuestPolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateGuestPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies - .CreateGuestPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("CreateGuestPolicy")) - .build(); - } - } - } - return getCreateGuestPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> - getGetGuestPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetGuestPolicy", - requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.class, - responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> - getGetGuestPolicyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> - getGetGuestPolicyMethod; - if ((getGetGuestPolicyMethod = OsConfigServiceGrpc.getGetGuestPolicyMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getGetGuestPolicyMethod = OsConfigServiceGrpc.getGetGuestPolicyMethod) == null) { - OsConfigServiceGrpc.getGetGuestPolicyMethod = - getGetGuestPolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGuestPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("GetGuestPolicy")) - .build(); - } - } - } - return getGetGuestPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse> - getListGuestPoliciesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListGuestPolicies", - requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.class, - responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse> - getListGuestPoliciesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse> - getListGuestPoliciesMethod; - if ((getListGuestPoliciesMethod = OsConfigServiceGrpc.getListGuestPoliciesMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getListGuestPoliciesMethod = OsConfigServiceGrpc.getListGuestPoliciesMethod) == null) { - OsConfigServiceGrpc.getListGuestPoliciesMethod = - getListGuestPoliciesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGuestPolicies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies - .ListGuestPoliciesRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies - .ListGuestPoliciesResponse.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("ListGuestPolicies")) - .build(); - } - } - } - return getListGuestPoliciesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> - getUpdateGuestPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateGuestPolicy", - requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.class, - responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> - getUpdateGuestPolicyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> - getUpdateGuestPolicyMethod; - if ((getUpdateGuestPolicyMethod = OsConfigServiceGrpc.getUpdateGuestPolicyMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getUpdateGuestPolicyMethod = OsConfigServiceGrpc.getUpdateGuestPolicyMethod) == null) { - OsConfigServiceGrpc.getUpdateGuestPolicyMethod = - getUpdateGuestPolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGuestPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies - .UpdateGuestPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("UpdateGuestPolicy")) - .build(); - } - } - } - return getUpdateGuestPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest, - com.google.protobuf.Empty> - getDeleteGuestPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteGuestPolicy", - requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest, - com.google.protobuf.Empty> - getDeleteGuestPolicyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest, - com.google.protobuf.Empty> - getDeleteGuestPolicyMethod; - if ((getDeleteGuestPolicyMethod = OsConfigServiceGrpc.getDeleteGuestPolicyMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getDeleteGuestPolicyMethod = OsConfigServiceGrpc.getDeleteGuestPolicyMethod) == null) { - OsConfigServiceGrpc.getDeleteGuestPolicyMethod = - getDeleteGuestPolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteGuestPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies - .DeleteGuestPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("DeleteGuestPolicy")) - .build(); - } - } - } - return getDeleteGuestPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy> - getLookupEffectiveGuestPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "LookupEffectiveGuestPolicy", - requestType = - com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.class, - responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy> - getLookupEffectiveGuestPolicyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy> - getLookupEffectiveGuestPolicyMethod; - if ((getLookupEffectiveGuestPolicyMethod = - OsConfigServiceGrpc.getLookupEffectiveGuestPolicyMethod) - == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getLookupEffectiveGuestPolicyMethod = - OsConfigServiceGrpc.getLookupEffectiveGuestPolicyMethod) - == null) { - OsConfigServiceGrpc.getLookupEffectiveGuestPolicyMethod = - getLookupEffectiveGuestPolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "LookupEffectiveGuestPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies - .LookupEffectiveGuestPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .getDefaultInstance())) - .setSchemaDescriptor( - new OsConfigServiceMethodDescriptorSupplier("LookupEffectiveGuestPolicy")) - .build(); - } - } - } - return getLookupEffectiveGuestPolicyMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static OsConfigServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceStub(channel, callOptions); - } - }; - return OsConfigServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static OsConfigServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceBlockingStub(channel, callOptions); - } - }; - return OsConfigServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static OsConfigServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceFutureStub(channel, callOptions); - } - }; - return OsConfigServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * OS Config API
-   * The OS Config service is a server-side component that you can use to
-   * manage package installations and patch jobs for virtual machine instances.
-   * 
- */ - public abstract static class OsConfigServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Patch VM instances by creating and running a patch job.
-     * 
- */ - public void executePatchJob( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExecutePatchJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Get the patch job. This can be used to track the progress of an
-     * ongoing patch job or review the details of completed jobs.
-     * 
- */ - public void getPatchJob( - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetPatchJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Cancel a patch job. The patch job must be active. Canceled patch jobs
-     * cannot be restarted.
-     * 
- */ - public void cancelPatchJob( - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCancelPatchJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Get a list of patch jobs.
-     * 
- */ - public void listPatchJobs( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPatchJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Get a list of instance details for a given patch job.
-     * 
- */ - public void listPatchJobInstanceDetails( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPatchJobInstanceDetailsMethod(), responseObserver); - } - - /** - * - * - *
-     * Create an OS Config patch deployment.
-     * 
- */ - public void createPatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreatePatchDeploymentMethod(), responseObserver); - } - - /** - * - * - *
-     * Get an OS Config patch deployment.
-     * 
- */ - public void getPatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetPatchDeploymentMethod(), responseObserver); - } - - /** - * - * - *
-     * Get a page of OS Config patch deployments.
-     * 
- */ - public void listPatchDeployments( - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPatchDeploymentsMethod(), responseObserver); - } - - /** - * - * - *
-     * Delete an OS Config patch deployment.
-     * 
- */ - public void deletePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePatchDeploymentMethod(), responseObserver); - } - - /** - * - * - *
-     * Update an OS Config patch deployment.
-     * 
- */ - public void updatePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdatePatchDeploymentMethod(), responseObserver); - } - - /** - * - * - *
-     * Change state of patch deployment to "PAUSED".
-     * Patch deployment in paused state doesn't generate patch jobs.
-     * 
- */ - public void pausePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPausePatchDeploymentMethod(), responseObserver); - } - - /** - * - * - *
-     * Change state of patch deployment back to "ACTIVE".
-     * Patch deployment in active state continues to generate patch jobs.
-     * 
- */ - public void resumePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getResumePatchDeploymentMethod(), responseObserver); - } - - /** - * - * - *
-     * Create an OS Config guest policy.
-     * 
- */ - public void createGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateGuestPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Get an OS Config guest policy.
-     * 
- */ - public void getGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetGuestPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Get a page of OS Config guest policies.
-     * 
- */ - public void listGuestPolicies( - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListGuestPoliciesMethod(), responseObserver); - } - - /** - * - * - *
-     * Update an OS Config guest policy.
-     * 
- */ - public void updateGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateGuestPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Delete an OS Config guest policy.
-     * 
- */ - public void deleteGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteGuestPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup the effective guest policy that applies to a VM instance. This
-     * lookup merges all policies that are assigned to the instance ancestry.
-     * 
- */ - public void lookupEffectiveGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getLookupEffectiveGuestPolicyMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getExecutePatchJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob>( - this, METHODID_EXECUTE_PATCH_JOB))) - .addMethod( - getGetPatchJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob>( - this, METHODID_GET_PATCH_JOB))) - .addMethod( - getCancelPatchJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob>( - this, METHODID_CANCEL_PATCH_JOB))) - .addMethod( - getListPatchJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse>( - this, METHODID_LIST_PATCH_JOBS))) - .addMethod( - getListPatchJobInstanceDetailsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest, - com.google.cloud.osconfig.v1beta.PatchJobs - .ListPatchJobInstanceDetailsResponse>( - this, METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS))) - .addMethod( - getCreatePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchDeployments - .CreatePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( - this, METHODID_CREATE_PATCH_DEPLOYMENT))) - .addMethod( - getGetPatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( - this, METHODID_GET_PATCH_DEPLOYMENT))) - .addMethod( - getListPatchDeploymentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments - .ListPatchDeploymentsResponse>(this, METHODID_LIST_PATCH_DEPLOYMENTS))) - .addMethod( - getDeletePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchDeployments - .DeletePatchDeploymentRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_PATCH_DEPLOYMENT))) - .addMethod( - getUpdatePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchDeployments - .UpdatePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( - this, METHODID_UPDATE_PATCH_DEPLOYMENT))) - .addMethod( - getPausePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( - this, METHODID_PAUSE_PATCH_DEPLOYMENT))) - .addMethod( - getResumePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchDeployments - .ResumePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( - this, METHODID_RESUME_PATCH_DEPLOYMENT))) - .addMethod( - getCreateGuestPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>( - this, METHODID_CREATE_GUEST_POLICY))) - .addMethod( - getGetGuestPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>( - this, METHODID_GET_GUEST_POLICY))) - .addMethod( - getListGuestPoliciesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse>( - this, METHODID_LIST_GUEST_POLICIES))) - .addMethod( - getUpdateGuestPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>( - this, METHODID_UPDATE_GUEST_POLICY))) - .addMethod( - getDeleteGuestPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_GUEST_POLICY))) - .addMethod( - getLookupEffectiveGuestPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.GuestPolicies - .LookupEffectiveGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy>( - this, METHODID_LOOKUP_EFFECTIVE_GUEST_POLICY))) - .build(); - } - } - - /** - * - * - *
-   * OS Config API
-   * The OS Config service is a server-side component that you can use to
-   * manage package installations and patch jobs for virtual machine instances.
-   * 
- */ - public static final class OsConfigServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private OsConfigServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Patch VM instances by creating and running a patch job.
-     * 
- */ - public void executePatchJob( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExecutePatchJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get the patch job. This can be used to track the progress of an
-     * ongoing patch job or review the details of completed jobs.
-     * 
- */ - public void getPatchJob( - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPatchJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Cancel a patch job. The patch job must be active. Canceled patch jobs
-     * cannot be restarted.
-     * 
- */ - public void cancelPatchJob( - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelPatchJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get a list of patch jobs.
-     * 
- */ - public void listPatchJobs( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPatchJobsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get a list of instance details for a given patch job.
-     * 
- */ - public void listPatchJobInstanceDetails( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPatchJobInstanceDetailsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Create an OS Config patch deployment.
-     * 
- */ - public void createPatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePatchDeploymentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get an OS Config patch deployment.
-     * 
- */ - public void getPatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPatchDeploymentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get a page of OS Config patch deployments.
-     * 
- */ - public void listPatchDeployments( - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPatchDeploymentsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Delete an OS Config patch deployment.
-     * 
- */ - public void deletePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePatchDeploymentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Update an OS Config patch deployment.
-     * 
- */ - public void updatePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePatchDeploymentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Change state of patch deployment to "PAUSED".
-     * Patch deployment in paused state doesn't generate patch jobs.
-     * 
- */ - public void pausePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPausePatchDeploymentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Change state of patch deployment back to "ACTIVE".
-     * Patch deployment in active state continues to generate patch jobs.
-     * 
- */ - public void resumePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumePatchDeploymentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Create an OS Config guest policy.
-     * 
- */ - public void createGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateGuestPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get an OS Config guest policy.
-     * 
- */ - public void getGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetGuestPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get a page of OS Config guest policies.
-     * 
- */ - public void listGuestPolicies( - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListGuestPoliciesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Update an OS Config guest policy.
-     * 
- */ - public void updateGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateGuestPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Delete an OS Config guest policy.
-     * 
- */ - public void deleteGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteGuestPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup the effective guest policy that applies to a VM instance. This
-     * lookup merges all policies that are assigned to the instance ancestry.
-     * 
- */ - public void lookupEffectiveGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getLookupEffectiveGuestPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * OS Config API
-   * The OS Config service is a server-side component that you can use to
-   * manage package installations and patch jobs for virtual machine instances.
-   * 
- */ - public static final class OsConfigServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private OsConfigServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Patch VM instances by creating and running a patch job.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob executePatchJob( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExecutePatchJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get the patch job. This can be used to track the progress of an
-     * ongoing patch job or review the details of completed jobs.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob getPatchJob( - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPatchJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Cancel a patch job. The patch job must be active. Canceled patch jobs
-     * cannot be restarted.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob cancelPatchJob( - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelPatchJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get a list of patch jobs.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse listPatchJobs( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPatchJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get a list of instance details for a given patch job.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - listPatchJobInstanceDetails( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPatchJobInstanceDetailsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Create an OS Config patch deployment.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment createPatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePatchDeploymentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get an OS Config patch deployment.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPatchDeploymentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get a page of OS Config patch deployments.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - listPatchDeployments( - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPatchDeploymentsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Delete an OS Config patch deployment.
-     * 
- */ - public com.google.protobuf.Empty deletePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePatchDeploymentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Update an OS Config patch deployment.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment updatePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePatchDeploymentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Change state of patch deployment to "PAUSED".
-     * Patch deployment in paused state doesn't generate patch jobs.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment pausePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPausePatchDeploymentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Change state of patch deployment back to "ACTIVE".
-     * Patch deployment in active state continues to generate patch jobs.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment resumePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getResumePatchDeploymentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Create an OS Config guest policy.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy createGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateGuestPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get an OS Config guest policy.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetGuestPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get a page of OS Config guest policies.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - listGuestPolicies( - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListGuestPoliciesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Update an OS Config guest policy.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy updateGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateGuestPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Delete an OS Config guest policy.
-     * 
- */ - public com.google.protobuf.Empty deleteGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteGuestPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup the effective guest policy that applies to a VM instance. This
-     * lookup merges all policies that are assigned to the instance ancestry.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - lookupEffectiveGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getLookupEffectiveGuestPolicyMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * OS Config API
-   * The OS Config service is a server-side component that you can use to
-   * manage package installations and patch jobs for virtual machine instances.
-   * 
- */ - public static final class OsConfigServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private OsConfigServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Patch VM instances by creating and running a patch job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> - executePatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getExecutePatchJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get the patch job. This can be used to track the progress of an
-     * ongoing patch job or review the details of completed jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> - getPatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPatchJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Cancel a patch job. The patch job must be active. Canceled patch jobs
-     * cannot be restarted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> - cancelPatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelPatchJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get a list of patch jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse> - listPatchJobs(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPatchJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get a list of instance details for a given patch job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse> - listPatchJobInstanceDetails( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPatchJobInstanceDetailsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Create an OS Config patch deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - createPatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePatchDeploymentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get an OS Config patch deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - getPatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPatchDeploymentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get a page of OS Config patch deployments.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse> - listPatchDeployments( - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPatchDeploymentsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Delete an OS Config patch deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deletePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePatchDeploymentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Update an OS Config patch deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - updatePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdatePatchDeploymentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Change state of patch deployment to "PAUSED".
-     * Patch deployment in paused state doesn't generate patch jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - pausePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPausePatchDeploymentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Change state of patch deployment back to "ACTIVE".
-     * Patch deployment in active state continues to generate patch jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - resumePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getResumePatchDeploymentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Create an OS Config guest policy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> - createGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateGuestPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get an OS Config guest policy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> - getGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetGuestPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get a page of OS Config guest policies.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse> - listGuestPolicies( - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListGuestPoliciesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Update an OS Config guest policy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> - updateGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateGuestPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Delete an OS Config guest policy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteGuestPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup the effective guest policy that applies to a VM instance. This
-     * lookup merges all policies that are assigned to the instance ancestry.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy> - lookupEffectiveGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getLookupEffectiveGuestPolicyMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_EXECUTE_PATCH_JOB = 0; - private static final int METHODID_GET_PATCH_JOB = 1; - private static final int METHODID_CANCEL_PATCH_JOB = 2; - private static final int METHODID_LIST_PATCH_JOBS = 3; - private static final int METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS = 4; - private static final int METHODID_CREATE_PATCH_DEPLOYMENT = 5; - private static final int METHODID_GET_PATCH_DEPLOYMENT = 6; - private static final int METHODID_LIST_PATCH_DEPLOYMENTS = 7; - private static final int METHODID_DELETE_PATCH_DEPLOYMENT = 8; - private static final int METHODID_UPDATE_PATCH_DEPLOYMENT = 9; - private static final int METHODID_PAUSE_PATCH_DEPLOYMENT = 10; - private static final int METHODID_RESUME_PATCH_DEPLOYMENT = 11; - private static final int METHODID_CREATE_GUEST_POLICY = 12; - private static final int METHODID_GET_GUEST_POLICY = 13; - private static final int METHODID_LIST_GUEST_POLICIES = 14; - private static final int METHODID_UPDATE_GUEST_POLICY = 15; - private static final int METHODID_DELETE_GUEST_POLICY = 16; - private static final int METHODID_LOOKUP_EFFECTIVE_GUEST_POLICY = 17; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final OsConfigServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(OsConfigServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_EXECUTE_PATCH_JOB: - serviceImpl.executePatchJob( - (com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_PATCH_JOB: - serviceImpl.getPatchJob( - (com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CANCEL_PATCH_JOB: - serviceImpl.cancelPatchJob( - (com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_PATCH_JOBS: - serviceImpl.listPatchJobs( - (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse>) - responseObserver); - break; - case METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS: - serviceImpl.listPatchJobInstanceDetails( - (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchJobs - .ListPatchJobInstanceDetailsResponse>) - responseObserver); - break; - case METHODID_CREATE_PATCH_DEPLOYMENT: - serviceImpl.createPatchDeployment( - (com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>) - responseObserver); - break; - case METHODID_GET_PATCH_DEPLOYMENT: - serviceImpl.getPatchDeployment( - (com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>) - responseObserver); - break; - case METHODID_LIST_PATCH_DEPLOYMENTS: - serviceImpl.listPatchDeployments( - (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchDeployments - .ListPatchDeploymentsResponse>) - responseObserver); - break; - case METHODID_DELETE_PATCH_DEPLOYMENT: - serviceImpl.deletePatchDeployment( - (com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest) - request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_PATCH_DEPLOYMENT: - serviceImpl.updatePatchDeployment( - (com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>) - responseObserver); - break; - case METHODID_PAUSE_PATCH_DEPLOYMENT: - serviceImpl.pausePatchDeployment( - (com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>) - responseObserver); - break; - case METHODID_RESUME_PATCH_DEPLOYMENT: - serviceImpl.resumePatchDeployment( - (com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>) - responseObserver); - break; - case METHODID_CREATE_GUEST_POLICY: - serviceImpl.createGuestPolicy( - (com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>) - responseObserver); - break; - case METHODID_GET_GUEST_POLICY: - serviceImpl.getGuestPolicy( - (com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>) - responseObserver); - break; - case METHODID_LIST_GUEST_POLICIES: - serviceImpl.listGuestPolicies( - (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse>) - responseObserver); - break; - case METHODID_UPDATE_GUEST_POLICY: - serviceImpl.updateGuestPolicy( - (com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>) - responseObserver); - break; - case METHODID_DELETE_GUEST_POLICY: - serviceImpl.deleteGuestPolicy( - (com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LOOKUP_EFFECTIVE_GUEST_POLICY: - serviceImpl.lookupEffectiveGuestPolicy( - (com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class OsConfigServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - OsConfigServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.osconfig.v1beta.OsConfigProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("OsConfigService"); - } - } - - private static final class OsConfigServiceFileDescriptorSupplier - extends OsConfigServiceBaseDescriptorSupplier { - OsConfigServiceFileDescriptorSupplier() {} - } - - private static final class OsConfigServiceMethodDescriptorSupplier - extends OsConfigServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - OsConfigServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (OsConfigServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new OsConfigServiceFileDescriptorSupplier()) - .addMethod(getExecutePatchJobMethod()) - .addMethod(getGetPatchJobMethod()) - .addMethod(getCancelPatchJobMethod()) - .addMethod(getListPatchJobsMethod()) - .addMethod(getListPatchJobInstanceDetailsMethod()) - .addMethod(getCreatePatchDeploymentMethod()) - .addMethod(getGetPatchDeploymentMethod()) - .addMethod(getListPatchDeploymentsMethod()) - .addMethod(getDeletePatchDeploymentMethod()) - .addMethod(getUpdatePatchDeploymentMethod()) - .addMethod(getPausePatchDeploymentMethod()) - .addMethod(getResumePatchDeploymentMethod()) - .addMethod(getCreateGuestPolicyMethod()) - .addMethod(getGetGuestPolicyMethod()) - .addMethod(getListGuestPoliciesMethod()) - .addMethod(getUpdateGuestPolicyMethod()) - .addMethod(getDeleteGuestPolicyMethod()) - .addMethod(getLookupEffectiveGuestPolicyMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceClient.java b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceClient.java similarity index 95% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceClient.java rename to owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceClient.java index 3312e93e..c962af67 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceClient.java +++ b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceClient.java @@ -71,13 +71,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -744,11 +744,11 @@ public final ListPatchJobInstanceDetailsPagedResponse listPatchJobInstanceDetail * @param patchDeploymentId Required. A name for the patch deployment in the project. When * creating a name the following rules apply: *
    - *
  • Must contain only lowercase letters, numbers, and hyphens. - *
  • Must start with a letter. - *
  • Must be between 1-63 characters. - *
  • Must end with a number or a letter. - *
  • Must be unique within the project. + *
  • Must contain only lowercase letters, numbers, and hyphens. + *
  • Must start with a letter. + *
  • Must be between 1-63 characters. + *
  • Must end with a number or a letter. + *
  • Must be unique within the project. *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -791,11 +791,11 @@ public final PatchDeployments.PatchDeployment createPatchDeployment( * @param patchDeploymentId Required. A name for the patch deployment in the project. When * creating a name the following rules apply: *
    - *
  • Must contain only lowercase letters, numbers, and hyphens. - *
  • Must start with a letter. - *
  • Must be between 1-63 characters. - *
  • Must end with a number or a letter. - *
  • Must be unique within the project. + *
  • Must contain only lowercase letters, numbers, and hyphens. + *
  • Must start with a letter. + *
  • Must be between 1-63 characters. + *
  • Must end with a number or a letter. + *
  • Must be unique within the project. *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -1575,11 +1575,8 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListPatchJobsPagedResponse extends AbstractPagedListResponse< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, - PatchJobs.PatchJob, - ListPatchJobsPage, - ListPatchJobsFixedSizeCollection> { + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob, + ListPatchJobsPage, ListPatchJobsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -1601,9 +1598,7 @@ private ListPatchJobsPagedResponse(ListPatchJobsPage page) { public static class ListPatchJobsPage extends AbstractPage< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, - PatchJobs.PatchJob, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob, ListPatchJobsPage> { private ListPatchJobsPage( @@ -1639,11 +1634,8 @@ public ApiFuture createPageAsync( public static class ListPatchJobsFixedSizeCollection extends AbstractFixedSizeCollection< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, - PatchJobs.PatchJob, - ListPatchJobsPage, - ListPatchJobsFixedSizeCollection> { + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob, + ListPatchJobsPage, ListPatchJobsFixedSizeCollection> { private ListPatchJobsFixedSizeCollection(List pages, int collectionSize) { super(pages, collectionSize); @@ -1663,16 +1655,13 @@ protected ListPatchJobsFixedSizeCollection createCollection( public static class ListPatchJobInstanceDetailsPagedResponse extends AbstractPagedListResponse< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - PatchJobs.PatchJobInstanceDetails, - ListPatchJobInstanceDetailsPage, - ListPatchJobInstanceDetailsFixedSizeCollection> { + PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails, + ListPatchJobInstanceDetailsPage, ListPatchJobInstanceDetailsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> context, ApiFuture futureResponse) { ApiFuture futurePage = @@ -1692,15 +1681,13 @@ private ListPatchJobInstanceDetailsPagedResponse(ListPatchJobInstanceDetailsPage public static class ListPatchJobInstanceDetailsPage extends AbstractPage< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - PatchJobs.PatchJobInstanceDetails, + PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails, ListPatchJobInstanceDetailsPage> { private ListPatchJobInstanceDetailsPage( PageContext< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> context, PatchJobs.ListPatchJobInstanceDetailsResponse response) { super(context, response); @@ -1714,8 +1701,7 @@ private static ListPatchJobInstanceDetailsPage createEmptyPage() { protected ListPatchJobInstanceDetailsPage createPage( PageContext< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> context, PatchJobs.ListPatchJobInstanceDetailsResponse response) { return new ListPatchJobInstanceDetailsPage(context, response); @@ -1725,8 +1711,7 @@ protected ListPatchJobInstanceDetailsPage createPage( public ApiFuture createPageAsync( PageContext< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> context, ApiFuture futureResponse) { return super.createPageAsync(context, futureResponse); @@ -1736,10 +1721,8 @@ public ApiFuture createPageAsync( public static class ListPatchJobInstanceDetailsFixedSizeCollection extends AbstractFixedSizeCollection< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - PatchJobs.PatchJobInstanceDetails, - ListPatchJobInstanceDetailsPage, - ListPatchJobInstanceDetailsFixedSizeCollection> { + PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails, + ListPatchJobInstanceDetailsPage, ListPatchJobInstanceDetailsFixedSizeCollection> { private ListPatchJobInstanceDetailsFixedSizeCollection( List pages, int collectionSize) { @@ -1760,16 +1743,13 @@ protected ListPatchJobInstanceDetailsFixedSizeCollection createCollection( public static class ListPatchDeploymentsPagedResponse extends AbstractPagedListResponse< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - PatchDeployments.PatchDeployment, - ListPatchDeploymentsPage, - ListPatchDeploymentsFixedSizeCollection> { + PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment, + ListPatchDeploymentsPage, ListPatchDeploymentsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> context, ApiFuture futureResponse) { ApiFuture futurePage = @@ -1788,15 +1768,13 @@ private ListPatchDeploymentsPagedResponse(ListPatchDeploymentsPage page) { public static class ListPatchDeploymentsPage extends AbstractPage< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - PatchDeployments.PatchDeployment, + PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment, ListPatchDeploymentsPage> { private ListPatchDeploymentsPage( PageContext< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> context, PatchDeployments.ListPatchDeploymentsResponse response) { super(context, response); @@ -1810,8 +1788,7 @@ private static ListPatchDeploymentsPage createEmptyPage() { protected ListPatchDeploymentsPage createPage( PageContext< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> context, PatchDeployments.ListPatchDeploymentsResponse response) { return new ListPatchDeploymentsPage(context, response); @@ -1821,8 +1798,7 @@ protected ListPatchDeploymentsPage createPage( public ApiFuture createPageAsync( PageContext< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> context, ApiFuture futureResponse) { return super.createPageAsync(context, futureResponse); @@ -1832,10 +1808,8 @@ public ApiFuture createPageAsync( public static class ListPatchDeploymentsFixedSizeCollection extends AbstractFixedSizeCollection< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - PatchDeployments.PatchDeployment, - ListPatchDeploymentsPage, - ListPatchDeploymentsFixedSizeCollection> { + PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment, + ListPatchDeploymentsPage, ListPatchDeploymentsFixedSizeCollection> { private ListPatchDeploymentsFixedSizeCollection( List pages, int collectionSize) { diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceSettings.java b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceSettings.java similarity index 94% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceSettings.java rename to owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceSettings.java index d984e7eb..59774a69 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceSettings.java +++ b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceSettings.java @@ -30,6 +30,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.osconfig.v1.stub.OsConfigServiceStubSettings; @@ -45,9 +46,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -94,8 +95,7 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchJobs. */ public PagedCallSettings< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings() { return ((OsConfigServiceStubSettings) getStubSettings()).listPatchJobsSettings(); @@ -104,8 +104,7 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchJobInstanceDetails. */ public PagedCallSettings< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings() { return ((OsConfigServiceStubSettings) getStubSettings()).listPatchJobInstanceDetailsSettings(); } @@ -127,8 +126,7 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchDeployments. */ public PagedCallSettings< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings() { return ((OsConfigServiceStubSettings) getStubSettings()).listPatchDeploymentsSettings(); } @@ -295,8 +293,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchJobs. */ public PagedCallSettings.Builder< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings() { return getStubSettingsBuilder().listPatchJobsSettings(); @@ -305,8 +302,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchJobInstanceDetails. */ public PagedCallSettings.Builder< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings() { return getStubSettingsBuilder().listPatchJobInstanceDetailsSettings(); } @@ -328,8 +324,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchDeployments. */ public PagedCallSettings.Builder< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings() { return getStubSettingsBuilder().listPatchDeploymentsSettings(); } diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java similarity index 95% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java rename to owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java index 779813c4..217cf6b8 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java +++ b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java @@ -18,6 +18,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; @@ -67,13 +68,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -197,6 +198,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } @@ -236,11 +238,11 @@ public final OperationsClient getHttpJsonOperationsClient() { * @param osPolicyAssignmentId Required. The logical name of the OS policy assignment in the * project with the following restrictions: *
    - *
  • Must contain only lowercase letters, numbers, and hyphens. - *
  • Must start with a letter. - *
  • Must be between 1-63 characters. - *
  • Must end with a number or a letter. - *
  • Must be unique within the project. + *
  • Must contain only lowercase letters, numbers, and hyphens. + *
  • Must start with a letter. + *
  • Must be between 1-63 characters. + *
  • Must end with a number or a letter. + *
  • Must be unique within the project. *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -292,11 +294,11 @@ public final OperationsClient getHttpJsonOperationsClient() { * @param osPolicyAssignmentId Required. The logical name of the OS policy assignment in the * project with the following restrictions: *
    - *
  • Must contain only lowercase letters, numbers, and hyphens. - *
  • Must start with a letter. - *
  • Must be between 1-63 characters. - *
  • Must end with a number or a letter. - *
  • Must be unique within the project. + *
  • Must contain only lowercase letters, numbers, and hyphens. + *
  • Must start with a letter. + *
  • Must be between 1-63 characters. + *
  • Must end with a number or a letter. + *
  • Must be unique within the project. *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -2210,11 +2212,8 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListOSPolicyAssignmentsPagedResponse extends AbstractPagedListResponse< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, - OSPolicyAssignment, - ListOSPolicyAssignmentsPage, - ListOSPolicyAssignmentsFixedSizeCollection> { + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment, + ListOSPolicyAssignmentsPage, ListOSPolicyAssignmentsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -2236,9 +2235,7 @@ private ListOSPolicyAssignmentsPagedResponse(ListOSPolicyAssignmentsPage page) { public static class ListOSPolicyAssignmentsPage extends AbstractPage< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, - OSPolicyAssignment, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment, ListOSPolicyAssignmentsPage> { private ListOSPolicyAssignmentsPage( @@ -2274,11 +2271,8 @@ public ApiFuture createPageAsync( public static class ListOSPolicyAssignmentsFixedSizeCollection extends AbstractFixedSizeCollection< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, - OSPolicyAssignment, - ListOSPolicyAssignmentsPage, - ListOSPolicyAssignmentsFixedSizeCollection> { + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment, + ListOSPolicyAssignmentsPage, ListOSPolicyAssignmentsFixedSizeCollection> { private ListOSPolicyAssignmentsFixedSizeCollection( List pages, int collectionSize) { @@ -2298,16 +2292,13 @@ protected ListOSPolicyAssignmentsFixedSizeCollection createCollection( public static class ListOSPolicyAssignmentRevisionsPagedResponse extends AbstractPagedListResponse< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, - OSPolicyAssignment, - ListOSPolicyAssignmentRevisionsPage, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + OSPolicyAssignment, ListOSPolicyAssignmentRevisionsPage, ListOSPolicyAssignmentRevisionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> context, ApiFuture futureResponse) { @@ -2327,15 +2318,12 @@ private ListOSPolicyAssignmentRevisionsPagedResponse(ListOSPolicyAssignmentRevis public static class ListOSPolicyAssignmentRevisionsPage extends AbstractPage< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, - OSPolicyAssignment, - ListOSPolicyAssignmentRevisionsPage> { + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + OSPolicyAssignment, ListOSPolicyAssignmentRevisionsPage> { private ListOSPolicyAssignmentRevisionsPage( PageContext< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> context, ListOSPolicyAssignmentRevisionsResponse response) { @@ -2349,8 +2337,7 @@ private static ListOSPolicyAssignmentRevisionsPage createEmptyPage() { @Override protected ListOSPolicyAssignmentRevisionsPage createPage( PageContext< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> context, ListOSPolicyAssignmentRevisionsResponse response) { @@ -2360,8 +2347,7 @@ protected ListOSPolicyAssignmentRevisionsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> context, ApiFuture futureResponse) { @@ -2371,10 +2357,8 @@ public ApiFuture createPageAsync( public static class ListOSPolicyAssignmentRevisionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, - OSPolicyAssignment, - ListOSPolicyAssignmentRevisionsPage, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + OSPolicyAssignment, ListOSPolicyAssignmentRevisionsPage, ListOSPolicyAssignmentRevisionsFixedSizeCollection> { private ListOSPolicyAssignmentRevisionsFixedSizeCollection( @@ -2395,16 +2379,13 @@ protected ListOSPolicyAssignmentRevisionsFixedSizeCollection createCollection( public static class ListOSPolicyAssignmentReportsPagedResponse extends AbstractPagedListResponse< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, - OSPolicyAssignmentReport, - ListOSPolicyAssignmentReportsPage, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + OSPolicyAssignmentReport, ListOSPolicyAssignmentReportsPage, ListOSPolicyAssignmentReportsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> context, ApiFuture futureResponse) { @@ -2424,15 +2405,12 @@ private ListOSPolicyAssignmentReportsPagedResponse(ListOSPolicyAssignmentReports public static class ListOSPolicyAssignmentReportsPage extends AbstractPage< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, - OSPolicyAssignmentReport, - ListOSPolicyAssignmentReportsPage> { + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + OSPolicyAssignmentReport, ListOSPolicyAssignmentReportsPage> { private ListOSPolicyAssignmentReportsPage( PageContext< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> context, ListOSPolicyAssignmentReportsResponse response) { @@ -2446,8 +2424,7 @@ private static ListOSPolicyAssignmentReportsPage createEmptyPage() { @Override protected ListOSPolicyAssignmentReportsPage createPage( PageContext< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> context, ListOSPolicyAssignmentReportsResponse response) { @@ -2457,8 +2434,7 @@ protected ListOSPolicyAssignmentReportsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> context, ApiFuture futureResponse) { @@ -2468,10 +2444,8 @@ public ApiFuture createPageAsync( public static class ListOSPolicyAssignmentReportsFixedSizeCollection extends AbstractFixedSizeCollection< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, - OSPolicyAssignmentReport, - ListOSPolicyAssignmentReportsPage, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + OSPolicyAssignmentReport, ListOSPolicyAssignmentReportsPage, ListOSPolicyAssignmentReportsFixedSizeCollection> { private ListOSPolicyAssignmentReportsFixedSizeCollection( @@ -2492,10 +2466,7 @@ protected ListOSPolicyAssignmentReportsFixedSizeCollection createCollection( public static class ListInventoriesPagedResponse extends AbstractPagedListResponse< - ListInventoriesRequest, - ListInventoriesResponse, - Inventory, - ListInventoriesPage, + ListInventoriesRequest, ListInventoriesResponse, Inventory, ListInventoriesPage, ListInventoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2545,10 +2516,7 @@ public ApiFuture createPageAsync( public static class ListInventoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListInventoriesRequest, - ListInventoriesResponse, - Inventory, - ListInventoriesPage, + ListInventoriesRequest, ListInventoriesResponse, Inventory, ListInventoriesPage, ListInventoriesFixedSizeCollection> { private ListInventoriesFixedSizeCollection( @@ -2569,16 +2537,12 @@ protected ListInventoriesFixedSizeCollection createCollection( public static class ListVulnerabilityReportsPagedResponse extends AbstractPagedListResponse< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, - VulnerabilityReport, - ListVulnerabilityReportsPage, - ListVulnerabilityReportsFixedSizeCollection> { + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport, + ListVulnerabilityReportsPage, ListVulnerabilityReportsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport> context, ApiFuture futureResponse) { @@ -2597,15 +2561,12 @@ private ListVulnerabilityReportsPagedResponse(ListVulnerabilityReportsPage page) public static class ListVulnerabilityReportsPage extends AbstractPage< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, - VulnerabilityReport, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport, ListVulnerabilityReportsPage> { private ListVulnerabilityReportsPage( PageContext< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport> context, ListVulnerabilityReportsResponse response) { @@ -2619,8 +2580,7 @@ private static ListVulnerabilityReportsPage createEmptyPage() { @Override protected ListVulnerabilityReportsPage createPage( PageContext< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport> context, ListVulnerabilityReportsResponse response) { @@ -2630,8 +2590,7 @@ protected ListVulnerabilityReportsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport> context, ApiFuture futureResponse) { @@ -2641,11 +2600,8 @@ public ApiFuture createPageAsync( public static class ListVulnerabilityReportsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, - VulnerabilityReport, - ListVulnerabilityReportsPage, - ListVulnerabilityReportsFixedSizeCollection> { + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport, + ListVulnerabilityReportsPage, ListVulnerabilityReportsFixedSizeCollection> { private ListVulnerabilityReportsFixedSizeCollection( List pages, int collectionSize) { diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceSettings.java b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceSettings.java similarity index 93% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceSettings.java rename to owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceSettings.java index 31ebc4cc..a285b52f 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceSettings.java +++ b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceSettings.java @@ -33,6 +33,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.osconfig.v1.stub.OsConfigZonalServiceStubSettings; @@ -49,9 +50,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -118,8 +119,7 @@ public class OsConfigZonalServiceSettings extends ClientSettings listOSPolicyAssignmentsSettings() { return ((OsConfigZonalServiceStubSettings) getStubSettings()).listOSPolicyAssignmentsSettings(); @@ -127,8 +127,7 @@ public class OsConfigZonalServiceSettings extends ClientSettings listOSPolicyAssignmentRevisionsSettings() { return ((OsConfigZonalServiceStubSettings) getStubSettings()) @@ -159,8 +158,7 @@ public class OsConfigZonalServiceSettings extends ClientSettings listOSPolicyAssignmentReportsSettings() { return ((OsConfigZonalServiceStubSettings) getStubSettings()) @@ -187,8 +185,7 @@ public UnaryCallSettings getInventorySettings() /** Returns the object with the settings used for calls to listVulnerabilityReports. */ public PagedCallSettings< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings() { return ((OsConfigZonalServiceStubSettings) getStubSettings()) @@ -319,8 +316,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to createOSPolicyAssignment. */ public OperationCallSettings.Builder< - CreateOSPolicyAssignmentRequest, - OSPolicyAssignment, + CreateOSPolicyAssignmentRequest, OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> createOSPolicyAssignmentOperationSettings() { return getStubSettingsBuilder().createOSPolicyAssignmentOperationSettings(); @@ -334,8 +330,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to updateOSPolicyAssignment. */ public OperationCallSettings.Builder< - UpdateOSPolicyAssignmentRequest, - OSPolicyAssignment, + UpdateOSPolicyAssignmentRequest, OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> updateOSPolicyAssignmentOperationSettings() { return getStubSettingsBuilder().updateOSPolicyAssignmentOperationSettings(); @@ -349,8 +344,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignments. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings() { return getStubSettingsBuilder().listOSPolicyAssignmentsSettings(); @@ -358,8 +352,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignmentRevisions. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings() { return getStubSettingsBuilder().listOSPolicyAssignmentRevisionsSettings(); @@ -386,8 +379,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignmentReports. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings() { return getStubSettingsBuilder().listOSPolicyAssignmentReportsSettings(); @@ -413,8 +405,7 @@ public UnaryCallSettings.Builder getInventorySet /** Returns the builder for the settings used for calls to listVulnerabilityReports. */ public PagedCallSettings.Builder< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings() { return getStubSettingsBuilder().listVulnerabilityReportsSettings(); diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/gapic_metadata.json similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/gapic_metadata.json diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/package-info.java b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/package-info.java similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/package-info.java diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceCallableFactory.java b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceCallableFactory.java similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceCallableFactory.java rename to owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceCallableFactory.java diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceStub.java b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceStub.java similarity index 99% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceStub.java rename to owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceStub.java index ffe7347b..51b5831a 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceStub.java +++ b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceStub.java @@ -34,6 +34,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceCallableFactory.java b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceCallableFactory.java similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceCallableFactory.java rename to owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceCallableFactory.java diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceStub.java b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceStub.java similarity index 99% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceStub.java rename to owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceStub.java index c1884dbb..77d4b1f1 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceStub.java +++ b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceStub.java @@ -58,6 +58,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceCallableFactory.java b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceCallableFactory.java similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceCallableFactory.java rename to owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceCallableFactory.java diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceStub.java b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceStub.java similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceStub.java rename to owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceStub.java diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceCallableFactory.java b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceCallableFactory.java similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceCallableFactory.java rename to owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceCallableFactory.java diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceStub.java b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceStub.java similarity index 99% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceStub.java rename to owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceStub.java index dcb753e2..12673a03 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceStub.java +++ b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceStub.java @@ -34,6 +34,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStub.java b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStub.java similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStub.java rename to owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStub.java diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStubSettings.java b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStubSettings.java similarity index 93% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStubSettings.java rename to owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStubSettings.java index b3bc7fbe..6145cbd4 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStubSettings.java @@ -64,9 +64,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -104,14 +104,12 @@ public class OsConfigServiceStubSettings extends StubSettings cancelPatchJobSettings; private final PagedCallSettings< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings; private final PagedCallSettings< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings; private final UnaryCallSettings< PatchDeployments.CreatePatchDeploymentRequest, PatchDeployments.PatchDeployment> @@ -121,8 +119,7 @@ public class OsConfigServiceStubSettings extends StubSettings + PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings; private final UnaryCallSettings deletePatchDeploymentSettings; @@ -140,8 +137,7 @@ public class OsConfigServiceStubSettings extends StubSettings LIST_PATCH_JOBS_PAGE_STR_DESC = new PagedListDescriptor< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob>() { @Override public String emptyToken() { @@ -183,13 +179,11 @@ public Iterable extractResources( private static final PagedListDescriptor< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> LIST_PATCH_JOB_INSTANCE_DETAILS_PAGE_STR_DESC = new PagedListDescriptor< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - PatchJobs.PatchJobInstanceDetails>() { + PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails>() { @Override public String emptyToken() { return ""; @@ -232,13 +226,11 @@ public Iterable extractResources( private static final PagedListDescriptor< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> LIST_PATCH_DEPLOYMENTS_PAGE_STR_DESC = new PagedListDescriptor< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - PatchDeployments.PatchDeployment>() { + PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment>() { @Override public String emptyToken() { return ""; @@ -280,13 +272,11 @@ public Iterable extractResources( }; private static final PagedListResponseFactory< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> LIST_PATCH_JOBS_PAGE_STR_FACT = new PagedListResponseFactory< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -296,8 +286,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob> pageContext = PageContext.create(callable, LIST_PATCH_JOBS_PAGE_STR_DESC, request, context); @@ -307,8 +296,7 @@ public ApiFuture getFuturePagedResponse( private static final PagedListResponseFactory< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> LIST_PATCH_JOB_INSTANCE_DETAILS_PAGE_STR_FACT = new PagedListResponseFactory< PatchJobs.ListPatchJobInstanceDetailsRequest, @@ -340,13 +328,11 @@ public ApiFuture getFuturePagedRespons private static final PagedListResponseFactory< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> LIST_PATCH_DEPLOYMENTS_PAGE_STR_FACT = new PagedListResponseFactory< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - ListPatchDeploymentsPagedResponse>() { + PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( UnaryCallable< @@ -386,8 +372,7 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchJobs. */ public PagedCallSettings< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings() { return listPatchJobsSettings; @@ -396,8 +381,7 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchJobInstanceDetails. */ public PagedCallSettings< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings() { return listPatchJobInstanceDetailsSettings; } @@ -419,8 +403,7 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchDeployments. */ public PagedCallSettings< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings() { return listPatchDeploymentsSettings; } @@ -583,14 +566,12 @@ public static class Builder extends StubSettings.Builder cancelPatchJobSettings; private final PagedCallSettings.Builder< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings; private final PagedCallSettings.Builder< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings; private final UnaryCallSettings.Builder< PatchDeployments.CreatePatchDeploymentRequest, PatchDeployments.PatchDeployment> @@ -600,8 +581,7 @@ public static class Builder extends StubSettings.Builder + PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings; private final UnaryCallSettings.Builder deletePatchDeploymentSettings; @@ -842,8 +822,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchJobs. */ public PagedCallSettings.Builder< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings() { return listPatchJobsSettings; @@ -852,8 +831,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchJobInstanceDetails. */ public PagedCallSettings.Builder< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings() { return listPatchJobInstanceDetailsSettings; } @@ -875,8 +853,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchDeployments. */ public PagedCallSettings.Builder< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings() { return listPatchDeploymentsSettings; } diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStub.java b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStub.java similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStub.java rename to owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStub.java diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStubSettings.java b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStubSettings.java similarity index 93% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStubSettings.java rename to owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStubSettings.java index d424cef3..efe3d395 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStubSettings.java @@ -91,9 +91,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -139,13 +139,11 @@ public class OsConfigZonalServiceStubSettings private final UnaryCallSettings getOSPolicyAssignmentSettings; private final PagedCallSettings< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings; private final PagedCallSettings< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings; private final UnaryCallSettings @@ -156,8 +154,7 @@ public class OsConfigZonalServiceStubSettings private final UnaryCallSettings getOSPolicyAssignmentReportSettings; private final PagedCallSettings< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings; private final UnaryCallSettings getInventorySettings; @@ -167,8 +164,7 @@ public class OsConfigZonalServiceStubSettings private final UnaryCallSettings getVulnerabilityReportSettings; private final PagedCallSettings< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings; @@ -176,8 +172,7 @@ public class OsConfigZonalServiceStubSettings ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment> LIST_O_S_POLICY_ASSIGNMENTS_PAGE_STR_DESC = new PagedListDescriptor< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment>() { @Override public String emptyToken() { @@ -218,13 +213,11 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> LIST_O_S_POLICY_ASSIGNMENT_REVISIONS_PAGE_STR_DESC = new PagedListDescriptor< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment>() { @Override public String emptyToken() { @@ -267,13 +260,11 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> LIST_O_S_POLICY_ASSIGNMENT_REPORTS_PAGE_STR_DESC = new PagedListDescriptor< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport>() { @Override public String emptyToken() { @@ -358,8 +349,7 @@ public Iterable extractResources(ListInventoriesResponse payload) { ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport> LIST_VULNERABILITY_REPORTS_PAGE_STR_DESC = new PagedListDescriptor< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport>() { @Override public String emptyToken() { @@ -402,13 +392,11 @@ public Iterable extractResources( }; private static final PagedListResponseFactory< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> LIST_O_S_POLICY_ASSIGNMENTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -418,8 +406,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment> pageContext = PageContext.create( @@ -429,13 +416,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> LIST_O_S_POLICY_ASSIGNMENT_REVISIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -448,8 +433,7 @@ public ApiFuture getFuturePagedRes ApiFuture futureResponse) { PageContext< ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, - OSPolicyAssignment> + ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> pageContext = PageContext.create( callable, @@ -462,13 +446,11 @@ public ApiFuture getFuturePagedRes }; private static final PagedListResponseFactory< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> LIST_O_S_POLICY_ASSIGNMENT_REPORTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -479,8 +461,7 @@ public ApiFuture getFuturePagedRespo ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> pageContext = PageContext.create( @@ -511,13 +492,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> LIST_VULNERABILITY_REPORTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -527,8 +506,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport> pageContext = PageContext.create( @@ -571,8 +549,7 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listOSPolicyAssignments. */ public PagedCallSettings< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings() { return listOSPolicyAssignmentsSettings; @@ -580,8 +557,7 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listOSPolicyAssignmentRevisions. */ public PagedCallSettings< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings() { return listOSPolicyAssignmentRevisionsSettings; @@ -608,8 +584,7 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listOSPolicyAssignmentReports. */ public PagedCallSettings< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings() { return listOSPolicyAssignmentReportsSettings; @@ -635,8 +610,7 @@ public UnaryCallSettings getInventorySettings() /** Returns the object with the settings used for calls to listVulnerabilityReports. */ public PagedCallSettings< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings() { return listVulnerabilityReportsSettings; @@ -778,27 +752,23 @@ public static class Builder private final UnaryCallSettings.Builder createOSPolicyAssignmentSettings; private final OperationCallSettings.Builder< - CreateOSPolicyAssignmentRequest, - OSPolicyAssignment, + CreateOSPolicyAssignmentRequest, OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> createOSPolicyAssignmentOperationSettings; private final UnaryCallSettings.Builder updateOSPolicyAssignmentSettings; private final OperationCallSettings.Builder< - UpdateOSPolicyAssignmentRequest, - OSPolicyAssignment, + UpdateOSPolicyAssignmentRequest, OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> updateOSPolicyAssignmentOperationSettings; private final UnaryCallSettings.Builder getOSPolicyAssignmentSettings; private final PagedCallSettings.Builder< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings; private final PagedCallSettings.Builder< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings; private final UnaryCallSettings.Builder @@ -810,8 +780,7 @@ public static class Builder GetOSPolicyAssignmentReportRequest, OSPolicyAssignmentReport> getOSPolicyAssignmentReportSettings; private final PagedCallSettings.Builder< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings; private final UnaryCallSettings.Builder getInventorySettings; @@ -821,8 +790,7 @@ public static class Builder private final UnaryCallSettings.Builder getVulnerabilityReportSettings; private final PagedCallSettings.Builder< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings; private static final ImmutableMap> @@ -1131,8 +1099,7 @@ public Builder applyToAllUnaryMethods( @BetaApi( "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder< - CreateOSPolicyAssignmentRequest, - OSPolicyAssignment, + CreateOSPolicyAssignmentRequest, OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> createOSPolicyAssignmentOperationSettings() { return createOSPolicyAssignmentOperationSettings; @@ -1148,8 +1115,7 @@ public Builder applyToAllUnaryMethods( @BetaApi( "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder< - UpdateOSPolicyAssignmentRequest, - OSPolicyAssignment, + UpdateOSPolicyAssignmentRequest, OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> updateOSPolicyAssignmentOperationSettings() { return updateOSPolicyAssignmentOperationSettings; @@ -1163,8 +1129,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignments. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings() { return listOSPolicyAssignmentsSettings; @@ -1172,8 +1137,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignmentRevisions. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings() { return listOSPolicyAssignmentRevisionsSettings; @@ -1202,8 +1166,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignmentReports. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings() { return listOSPolicyAssignmentReportsSettings; @@ -1229,8 +1192,7 @@ public UnaryCallSettings.Builder getInventorySet /** Returns the builder for the settings used for calls to listVulnerabilityReports. */ public PagedCallSettings.Builder< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings() { return listVulnerabilityReportsSettings; diff --git a/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigService.java b/owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigService.java similarity index 100% rename from google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigService.java rename to owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigService.java diff --git a/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigServiceImpl.java b/owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigServiceImpl.java similarity index 100% rename from google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigServiceImpl.java rename to owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigServiceImpl.java diff --git a/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalService.java b/owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalService.java similarity index 100% rename from google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalService.java rename to owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalService.java diff --git a/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalServiceImpl.java b/owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalServiceImpl.java similarity index 100% rename from google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalServiceImpl.java rename to owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalServiceImpl.java diff --git a/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientHttpJsonTest.java similarity index 100% rename from google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientHttpJsonTest.java diff --git a/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientTest.java b/owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientTest.java similarity index 100% rename from google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientTest.java rename to owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientTest.java diff --git a/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientHttpJsonTest.java similarity index 100% rename from google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientHttpJsonTest.java diff --git a/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientTest.java b/owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientTest.java similarity index 100% rename from google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientTest.java rename to owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientTest.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceGrpc.java new file mode 100644 index 00000000..3e42781d --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceGrpc.java @@ -0,0 +1,1275 @@ +package com.google.cloud.osconfig.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * OS Config API
+ * The OS Config service is a server-side component that you can use to
+ * manage package installations and patch jobs for virtual machine instances.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/osconfig/v1/osconfig_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class OsConfigServiceGrpc { + + private OsConfigServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.osconfig.v1.OsConfigService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getExecutePatchJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExecutePatchJob", + requestType = com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getExecutePatchJobMethod() { + io.grpc.MethodDescriptor getExecutePatchJobMethod; + if ((getExecutePatchJobMethod = OsConfigServiceGrpc.getExecutePatchJobMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getExecutePatchJobMethod = OsConfigServiceGrpc.getExecutePatchJobMethod) == null) { + OsConfigServiceGrpc.getExecutePatchJobMethod = getExecutePatchJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecutePatchJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ExecutePatchJob")) + .build(); + } + } + } + return getExecutePatchJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPatchJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPatchJob", + requestType = com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPatchJobMethod() { + io.grpc.MethodDescriptor getGetPatchJobMethod; + if ((getGetPatchJobMethod = OsConfigServiceGrpc.getGetPatchJobMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getGetPatchJobMethod = OsConfigServiceGrpc.getGetPatchJobMethod) == null) { + OsConfigServiceGrpc.getGetPatchJobMethod = getGetPatchJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPatchJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("GetPatchJob")) + .build(); + } + } + } + return getGetPatchJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getCancelPatchJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelPatchJob", + requestType = com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCancelPatchJobMethod() { + io.grpc.MethodDescriptor getCancelPatchJobMethod; + if ((getCancelPatchJobMethod = OsConfigServiceGrpc.getCancelPatchJobMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getCancelPatchJobMethod = OsConfigServiceGrpc.getCancelPatchJobMethod) == null) { + OsConfigServiceGrpc.getCancelPatchJobMethod = getCancelPatchJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelPatchJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("CancelPatchJob")) + .build(); + } + } + } + return getCancelPatchJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPatchJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPatchJobs", + requestType = com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPatchJobsMethod() { + io.grpc.MethodDescriptor getListPatchJobsMethod; + if ((getListPatchJobsMethod = OsConfigServiceGrpc.getListPatchJobsMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getListPatchJobsMethod = OsConfigServiceGrpc.getListPatchJobsMethod) == null) { + OsConfigServiceGrpc.getListPatchJobsMethod = getListPatchJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPatchJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ListPatchJobs")) + .build(); + } + } + } + return getListPatchJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPatchJobInstanceDetailsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPatchJobInstanceDetails", + requestType = com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPatchJobInstanceDetailsMethod() { + io.grpc.MethodDescriptor getListPatchJobInstanceDetailsMethod; + if ((getListPatchJobInstanceDetailsMethod = OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getListPatchJobInstanceDetailsMethod = OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod) == null) { + OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod = getListPatchJobInstanceDetailsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPatchJobInstanceDetails")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ListPatchJobInstanceDetails")) + .build(); + } + } + } + return getListPatchJobInstanceDetailsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreatePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreatePatchDeployment", + requestType = com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreatePatchDeploymentMethod() { + io.grpc.MethodDescriptor getCreatePatchDeploymentMethod; + if ((getCreatePatchDeploymentMethod = OsConfigServiceGrpc.getCreatePatchDeploymentMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getCreatePatchDeploymentMethod = OsConfigServiceGrpc.getCreatePatchDeploymentMethod) == null) { + OsConfigServiceGrpc.getCreatePatchDeploymentMethod = getCreatePatchDeploymentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("CreatePatchDeployment")) + .build(); + } + } + } + return getCreatePatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPatchDeployment", + requestType = com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPatchDeploymentMethod() { + io.grpc.MethodDescriptor getGetPatchDeploymentMethod; + if ((getGetPatchDeploymentMethod = OsConfigServiceGrpc.getGetPatchDeploymentMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getGetPatchDeploymentMethod = OsConfigServiceGrpc.getGetPatchDeploymentMethod) == null) { + OsConfigServiceGrpc.getGetPatchDeploymentMethod = getGetPatchDeploymentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("GetPatchDeployment")) + .build(); + } + } + } + return getGetPatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPatchDeploymentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPatchDeployments", + requestType = com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPatchDeploymentsMethod() { + io.grpc.MethodDescriptor getListPatchDeploymentsMethod; + if ((getListPatchDeploymentsMethod = OsConfigServiceGrpc.getListPatchDeploymentsMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getListPatchDeploymentsMethod = OsConfigServiceGrpc.getListPatchDeploymentsMethod) == null) { + OsConfigServiceGrpc.getListPatchDeploymentsMethod = getListPatchDeploymentsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPatchDeployments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ListPatchDeployments")) + .build(); + } + } + } + return getListPatchDeploymentsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeletePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePatchDeployment", + requestType = com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeletePatchDeploymentMethod() { + io.grpc.MethodDescriptor getDeletePatchDeploymentMethod; + if ((getDeletePatchDeploymentMethod = OsConfigServiceGrpc.getDeletePatchDeploymentMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getDeletePatchDeploymentMethod = OsConfigServiceGrpc.getDeletePatchDeploymentMethod) == null) { + OsConfigServiceGrpc.getDeletePatchDeploymentMethod = getDeletePatchDeploymentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("DeletePatchDeployment")) + .build(); + } + } + } + return getDeletePatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdatePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdatePatchDeployment", + requestType = com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdatePatchDeploymentMethod() { + io.grpc.MethodDescriptor getUpdatePatchDeploymentMethod; + if ((getUpdatePatchDeploymentMethod = OsConfigServiceGrpc.getUpdatePatchDeploymentMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getUpdatePatchDeploymentMethod = OsConfigServiceGrpc.getUpdatePatchDeploymentMethod) == null) { + OsConfigServiceGrpc.getUpdatePatchDeploymentMethod = getUpdatePatchDeploymentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("UpdatePatchDeployment")) + .build(); + } + } + } + return getUpdatePatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor getPausePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PausePatchDeployment", + requestType = com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPausePatchDeploymentMethod() { + io.grpc.MethodDescriptor getPausePatchDeploymentMethod; + if ((getPausePatchDeploymentMethod = OsConfigServiceGrpc.getPausePatchDeploymentMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getPausePatchDeploymentMethod = OsConfigServiceGrpc.getPausePatchDeploymentMethod) == null) { + OsConfigServiceGrpc.getPausePatchDeploymentMethod = getPausePatchDeploymentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PausePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("PausePatchDeployment")) + .build(); + } + } + } + return getPausePatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor getResumePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ResumePatchDeployment", + requestType = com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getResumePatchDeploymentMethod() { + io.grpc.MethodDescriptor getResumePatchDeploymentMethod; + if ((getResumePatchDeploymentMethod = OsConfigServiceGrpc.getResumePatchDeploymentMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getResumePatchDeploymentMethod = OsConfigServiceGrpc.getResumePatchDeploymentMethod) == null) { + OsConfigServiceGrpc.getResumePatchDeploymentMethod = getResumePatchDeploymentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ResumePatchDeployment")) + .build(); + } + } + } + return getResumePatchDeploymentMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static OsConfigServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceStub(channel, callOptions); + } + }; + return OsConfigServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static OsConfigServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceBlockingStub(channel, callOptions); + } + }; + return OsConfigServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static OsConfigServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceFutureStub(channel, callOptions); + } + }; + return OsConfigServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * OS Config API
+   * The OS Config service is a server-side component that you can use to
+   * manage package installations and patch jobs for virtual machine instances.
+   * 
+ */ + public static abstract class OsConfigServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Patch VM instances by creating and running a patch job.
+     * 
+ */ + public void executePatchJob(com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecutePatchJobMethod(), responseObserver); + } + + /** + *
+     * Get the patch job. This can be used to track the progress of an
+     * ongoing patch job or review the details of completed jobs.
+     * 
+ */ + public void getPatchJob(com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPatchJobMethod(), responseObserver); + } + + /** + *
+     * Cancel a patch job. The patch job must be active. Canceled patch jobs
+     * cannot be restarted.
+     * 
+ */ + public void cancelPatchJob(com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelPatchJobMethod(), responseObserver); + } + + /** + *
+     * Get a list of patch jobs.
+     * 
+ */ + public void listPatchJobs(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPatchJobsMethod(), responseObserver); + } + + /** + *
+     * Get a list of instance details for a given patch job.
+     * 
+ */ + public void listPatchJobInstanceDetails(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPatchJobInstanceDetailsMethod(), responseObserver); + } + + /** + *
+     * Create an OS Config patch deployment.
+     * 
+ */ + public void createPatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePatchDeploymentMethod(), responseObserver); + } + + /** + *
+     * Get an OS Config patch deployment.
+     * 
+ */ + public void getPatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPatchDeploymentMethod(), responseObserver); + } + + /** + *
+     * Get a page of OS Config patch deployments.
+     * 
+ */ + public void listPatchDeployments(com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPatchDeploymentsMethod(), responseObserver); + } + + /** + *
+     * Delete an OS Config patch deployment.
+     * 
+ */ + public void deletePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePatchDeploymentMethod(), responseObserver); + } + + /** + *
+     * Update an OS Config patch deployment.
+     * 
+ */ + public void updatePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePatchDeploymentMethod(), responseObserver); + } + + /** + *
+     * Change state of patch deployment to "PAUSED".
+     * Patch deployment in paused state doesn't generate patch jobs.
+     * 
+ */ + public void pausePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPausePatchDeploymentMethod(), responseObserver); + } + + /** + *
+     * Change state of patch deployment back to "ACTIVE".
+     * Patch deployment in active state continues to generate patch jobs.
+     * 
+ */ + public void resumePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumePatchDeploymentMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getExecutePatchJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob>( + this, METHODID_EXECUTE_PATCH_JOB))) + .addMethod( + getGetPatchJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob>( + this, METHODID_GET_PATCH_JOB))) + .addMethod( + getCancelPatchJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob>( + this, METHODID_CANCEL_PATCH_JOB))) + .addMethod( + getListPatchJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest, + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse>( + this, METHODID_LIST_PATCH_JOBS))) + .addMethod( + getListPatchJobInstanceDetailsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest, + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse>( + this, METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS))) + .addMethod( + getCreatePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( + this, METHODID_CREATE_PATCH_DEPLOYMENT))) + .addMethod( + getGetPatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( + this, METHODID_GET_PATCH_DEPLOYMENT))) + .addMethod( + getListPatchDeploymentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest, + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse>( + this, METHODID_LIST_PATCH_DEPLOYMENTS))) + .addMethod( + getDeletePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_PATCH_DEPLOYMENT))) + .addMethod( + getUpdatePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( + this, METHODID_UPDATE_PATCH_DEPLOYMENT))) + .addMethod( + getPausePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( + this, METHODID_PAUSE_PATCH_DEPLOYMENT))) + .addMethod( + getResumePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( + this, METHODID_RESUME_PATCH_DEPLOYMENT))) + .build(); + } + } + + /** + *
+   * OS Config API
+   * The OS Config service is a server-side component that you can use to
+   * manage package installations and patch jobs for virtual machine instances.
+   * 
+ */ + public static final class OsConfigServiceStub extends io.grpc.stub.AbstractAsyncStub { + private OsConfigServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceStub(channel, callOptions); + } + + /** + *
+     * Patch VM instances by creating and running a patch job.
+     * 
+ */ + public void executePatchJob(com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExecutePatchJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get the patch job. This can be used to track the progress of an
+     * ongoing patch job or review the details of completed jobs.
+     * 
+ */ + public void getPatchJob(com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPatchJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Cancel a patch job. The patch job must be active. Canceled patch jobs
+     * cannot be restarted.
+     * 
+ */ + public void cancelPatchJob(com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelPatchJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get a list of patch jobs.
+     * 
+ */ + public void listPatchJobs(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPatchJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get a list of instance details for a given patch job.
+     * 
+ */ + public void listPatchJobInstanceDetails(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPatchJobInstanceDetailsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Create an OS Config patch deployment.
+     * 
+ */ + public void createPatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePatchDeploymentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get an OS Config patch deployment.
+     * 
+ */ + public void getPatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPatchDeploymentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get a page of OS Config patch deployments.
+     * 
+ */ + public void listPatchDeployments(com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPatchDeploymentsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Delete an OS Config patch deployment.
+     * 
+ */ + public void deletePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePatchDeploymentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Update an OS Config patch deployment.
+     * 
+ */ + public void updatePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePatchDeploymentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Change state of patch deployment to "PAUSED".
+     * Patch deployment in paused state doesn't generate patch jobs.
+     * 
+ */ + public void pausePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPausePatchDeploymentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Change state of patch deployment back to "ACTIVE".
+     * Patch deployment in active state continues to generate patch jobs.
+     * 
+ */ + public void resumePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getResumePatchDeploymentMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * OS Config API
+   * The OS Config service is a server-side component that you can use to
+   * manage package installations and patch jobs for virtual machine instances.
+   * 
+ */ + public static final class OsConfigServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private OsConfigServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Patch VM instances by creating and running a patch job.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchJobs.PatchJob executePatchJob(com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExecutePatchJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Get the patch job. This can be used to track the progress of an
+     * ongoing patch job or review the details of completed jobs.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchJobs.PatchJob getPatchJob(com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPatchJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Cancel a patch job. The patch job must be active. Canceled patch jobs
+     * cannot be restarted.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchJobs.PatchJob cancelPatchJob(com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelPatchJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Get a list of patch jobs.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse listPatchJobs(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPatchJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Get a list of instance details for a given patch job.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse listPatchJobInstanceDetails(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPatchJobInstanceDetailsMethod(), getCallOptions(), request); + } + + /** + *
+     * Create an OS Config patch deployment.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment createPatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePatchDeploymentMethod(), getCallOptions(), request); + } + + /** + *
+     * Get an OS Config patch deployment.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPatchDeploymentMethod(), getCallOptions(), request); + } + + /** + *
+     * Get a page of OS Config patch deployments.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse listPatchDeployments(com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPatchDeploymentsMethod(), getCallOptions(), request); + } + + /** + *
+     * Delete an OS Config patch deployment.
+     * 
+ */ + public com.google.protobuf.Empty deletePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePatchDeploymentMethod(), getCallOptions(), request); + } + + /** + *
+     * Update an OS Config patch deployment.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment updatePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePatchDeploymentMethod(), getCallOptions(), request); + } + + /** + *
+     * Change state of patch deployment to "PAUSED".
+     * Patch deployment in paused state doesn't generate patch jobs.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment pausePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPausePatchDeploymentMethod(), getCallOptions(), request); + } + + /** + *
+     * Change state of patch deployment back to "ACTIVE".
+     * Patch deployment in active state continues to generate patch jobs.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment resumePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getResumePatchDeploymentMethod(), getCallOptions(), request); + } + } + + /** + *
+   * OS Config API
+   * The OS Config service is a server-side component that you can use to
+   * manage package installations and patch jobs for virtual machine instances.
+   * 
+ */ + public static final class OsConfigServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private OsConfigServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Patch VM instances by creating and running a patch job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture executePatchJob( + com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExecutePatchJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Get the patch job. This can be used to track the progress of an
+     * ongoing patch job or review the details of completed jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getPatchJob( + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPatchJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Cancel a patch job. The patch job must be active. Canceled patch jobs
+     * cannot be restarted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture cancelPatchJob( + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelPatchJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Get a list of patch jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listPatchJobs( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPatchJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Get a list of instance details for a given patch job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listPatchJobInstanceDetails( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPatchJobInstanceDetailsMethod(), getCallOptions()), request); + } + + /** + *
+     * Create an OS Config patch deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createPatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePatchDeploymentMethod(), getCallOptions()), request); + } + + /** + *
+     * Get an OS Config patch deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getPatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPatchDeploymentMethod(), getCallOptions()), request); + } + + /** + *
+     * Get a page of OS Config patch deployments.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listPatchDeployments( + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPatchDeploymentsMethod(), getCallOptions()), request); + } + + /** + *
+     * Delete an OS Config patch deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deletePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePatchDeploymentMethod(), getCallOptions()), request); + } + + /** + *
+     * Update an OS Config patch deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updatePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdatePatchDeploymentMethod(), getCallOptions()), request); + } + + /** + *
+     * Change state of patch deployment to "PAUSED".
+     * Patch deployment in paused state doesn't generate patch jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture pausePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPausePatchDeploymentMethod(), getCallOptions()), request); + } + + /** + *
+     * Change state of patch deployment back to "ACTIVE".
+     * Patch deployment in active state continues to generate patch jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture resumePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getResumePatchDeploymentMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_EXECUTE_PATCH_JOB = 0; + private static final int METHODID_GET_PATCH_JOB = 1; + private static final int METHODID_CANCEL_PATCH_JOB = 2; + private static final int METHODID_LIST_PATCH_JOBS = 3; + private static final int METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS = 4; + private static final int METHODID_CREATE_PATCH_DEPLOYMENT = 5; + private static final int METHODID_GET_PATCH_DEPLOYMENT = 6; + private static final int METHODID_LIST_PATCH_DEPLOYMENTS = 7; + private static final int METHODID_DELETE_PATCH_DEPLOYMENT = 8; + private static final int METHODID_UPDATE_PATCH_DEPLOYMENT = 9; + private static final int METHODID_PAUSE_PATCH_DEPLOYMENT = 10; + private static final int METHODID_RESUME_PATCH_DEPLOYMENT = 11; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final OsConfigServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(OsConfigServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_EXECUTE_PATCH_JOB: + serviceImpl.executePatchJob((com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PATCH_JOB: + serviceImpl.getPatchJob((com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_PATCH_JOB: + serviceImpl.cancelPatchJob((com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PATCH_JOBS: + serviceImpl.listPatchJobs((com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS: + serviceImpl.listPatchJobInstanceDetails((com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_PATCH_DEPLOYMENT: + serviceImpl.createPatchDeployment((com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PATCH_DEPLOYMENT: + serviceImpl.getPatchDeployment((com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PATCH_DEPLOYMENTS: + serviceImpl.listPatchDeployments((com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_PATCH_DEPLOYMENT: + serviceImpl.deletePatchDeployment((com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_PATCH_DEPLOYMENT: + serviceImpl.updatePatchDeployment((com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PAUSE_PATCH_DEPLOYMENT: + serviceImpl.pausePatchDeployment((com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESUME_PATCH_DEPLOYMENT: + serviceImpl.resumePatchDeployment((com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class OsConfigServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + OsConfigServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.osconfig.v1.OsConfigProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("OsConfigService"); + } + } + + private static final class OsConfigServiceFileDescriptorSupplier + extends OsConfigServiceBaseDescriptorSupplier { + OsConfigServiceFileDescriptorSupplier() {} + } + + private static final class OsConfigServiceMethodDescriptorSupplier + extends OsConfigServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + OsConfigServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (OsConfigServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new OsConfigServiceFileDescriptorSupplier()) + .addMethod(getExecutePatchJobMethod()) + .addMethod(getGetPatchJobMethod()) + .addMethod(getCancelPatchJobMethod()) + .addMethod(getListPatchJobsMethod()) + .addMethod(getListPatchJobInstanceDetailsMethod()) + .addMethod(getCreatePatchDeploymentMethod()) + .addMethod(getGetPatchDeploymentMethod()) + .addMethod(getListPatchDeploymentsMethod()) + .addMethod(getDeletePatchDeploymentMethod()) + .addMethod(getUpdatePatchDeploymentMethod()) + .addMethod(getPausePatchDeploymentMethod()) + .addMethod(getResumePatchDeploymentMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceGrpc.java new file mode 100644 index 00000000..71fdecd0 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceGrpc.java @@ -0,0 +1,1359 @@ +package com.google.cloud.osconfig.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Zonal OS Config API
+ * The OS Config service is the server-side component that allows users to
+ * manage package installations and patch jobs for Compute Engine VM instances.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/osconfig/v1/osconfig_zonal_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class OsConfigZonalServiceGrpc { + + private OsConfigZonalServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.osconfig.v1.OsConfigZonalService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateOSPolicyAssignmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateOSPolicyAssignment", + requestType = com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateOSPolicyAssignmentMethod() { + io.grpc.MethodDescriptor getCreateOSPolicyAssignmentMethod; + if ((getCreateOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getCreateOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod) == null) { + OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod = getCreateOSPolicyAssignmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateOSPolicyAssignment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("CreateOSPolicyAssignment")) + .build(); + } + } + } + return getCreateOSPolicyAssignmentMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateOSPolicyAssignmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateOSPolicyAssignment", + requestType = com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateOSPolicyAssignmentMethod() { + io.grpc.MethodDescriptor getUpdateOSPolicyAssignmentMethod; + if ((getUpdateOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getUpdateOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod) == null) { + OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod = getUpdateOSPolicyAssignmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateOSPolicyAssignment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("UpdateOSPolicyAssignment")) + .build(); + } + } + } + return getUpdateOSPolicyAssignmentMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetOSPolicyAssignmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetOSPolicyAssignment", + requestType = com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.class, + responseType = com.google.cloud.osconfig.v1.OSPolicyAssignment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetOSPolicyAssignmentMethod() { + io.grpc.MethodDescriptor getGetOSPolicyAssignmentMethod; + if ((getGetOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getGetOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod) == null) { + OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod = getGetOSPolicyAssignmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOSPolicyAssignment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("GetOSPolicyAssignment")) + .build(); + } + } + } + return getGetOSPolicyAssignmentMethod; + } + + private static volatile io.grpc.MethodDescriptor getListOSPolicyAssignmentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignments", + requestType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.class, + responseType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListOSPolicyAssignmentsMethod() { + io.grpc.MethodDescriptor getListOSPolicyAssignmentsMethod; + if ((getListOSPolicyAssignmentsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListOSPolicyAssignmentsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod) == null) { + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod = getListOSPolicyAssignmentsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListOSPolicyAssignments")) + .build(); + } + } + } + return getListOSPolicyAssignmentsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListOSPolicyAssignmentRevisionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignmentRevisions", + requestType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.class, + responseType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListOSPolicyAssignmentRevisionsMethod() { + io.grpc.MethodDescriptor getListOSPolicyAssignmentRevisionsMethod; + if ((getListOSPolicyAssignmentRevisionsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListOSPolicyAssignmentRevisionsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod) == null) { + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod = getListOSPolicyAssignmentRevisionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignmentRevisions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListOSPolicyAssignmentRevisions")) + .build(); + } + } + } + return getListOSPolicyAssignmentRevisionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteOSPolicyAssignmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteOSPolicyAssignment", + requestType = com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteOSPolicyAssignmentMethod() { + io.grpc.MethodDescriptor getDeleteOSPolicyAssignmentMethod; + if ((getDeleteOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getDeleteOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod) == null) { + OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod = getDeleteOSPolicyAssignmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteOSPolicyAssignment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("DeleteOSPolicyAssignment")) + .build(); + } + } + } + return getDeleteOSPolicyAssignmentMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetOSPolicyAssignmentReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetOSPolicyAssignmentReport", + requestType = com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.class, + responseType = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetOSPolicyAssignmentReportMethod() { + io.grpc.MethodDescriptor getGetOSPolicyAssignmentReportMethod; + if ((getGetOSPolicyAssignmentReportMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getGetOSPolicyAssignmentReportMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod) == null) { + OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod = getGetOSPolicyAssignmentReportMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOSPolicyAssignmentReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("GetOSPolicyAssignmentReport")) + .build(); + } + } + } + return getGetOSPolicyAssignmentReportMethod; + } + + private static volatile io.grpc.MethodDescriptor getListOSPolicyAssignmentReportsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignmentReports", + requestType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.class, + responseType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListOSPolicyAssignmentReportsMethod() { + io.grpc.MethodDescriptor getListOSPolicyAssignmentReportsMethod; + if ((getListOSPolicyAssignmentReportsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListOSPolicyAssignmentReportsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod) == null) { + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod = getListOSPolicyAssignmentReportsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignmentReports")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListOSPolicyAssignmentReports")) + .build(); + } + } + } + return getListOSPolicyAssignmentReportsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetInventoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInventory", + requestType = com.google.cloud.osconfig.v1.GetInventoryRequest.class, + responseType = com.google.cloud.osconfig.v1.Inventory.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetInventoryMethod() { + io.grpc.MethodDescriptor getGetInventoryMethod; + if ((getGetInventoryMethod = OsConfigZonalServiceGrpc.getGetInventoryMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getGetInventoryMethod = OsConfigZonalServiceGrpc.getGetInventoryMethod) == null) { + OsConfigZonalServiceGrpc.getGetInventoryMethod = getGetInventoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInventory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.GetInventoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.Inventory.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("GetInventory")) + .build(); + } + } + } + return getGetInventoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getListInventoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInventories", + requestType = com.google.cloud.osconfig.v1.ListInventoriesRequest.class, + responseType = com.google.cloud.osconfig.v1.ListInventoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListInventoriesMethod() { + io.grpc.MethodDescriptor getListInventoriesMethod; + if ((getListInventoriesMethod = OsConfigZonalServiceGrpc.getListInventoriesMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListInventoriesMethod = OsConfigZonalServiceGrpc.getListInventoriesMethod) == null) { + OsConfigZonalServiceGrpc.getListInventoriesMethod = getListInventoriesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInventories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListInventoriesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListInventoriesResponse.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListInventories")) + .build(); + } + } + } + return getListInventoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetVulnerabilityReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVulnerabilityReport", + requestType = com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.class, + responseType = com.google.cloud.osconfig.v1.VulnerabilityReport.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetVulnerabilityReportMethod() { + io.grpc.MethodDescriptor getGetVulnerabilityReportMethod; + if ((getGetVulnerabilityReportMethod = OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getGetVulnerabilityReportMethod = OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod) == null) { + OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod = getGetVulnerabilityReportMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVulnerabilityReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.VulnerabilityReport.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("GetVulnerabilityReport")) + .build(); + } + } + } + return getGetVulnerabilityReportMethod; + } + + private static volatile io.grpc.MethodDescriptor getListVulnerabilityReportsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVulnerabilityReports", + requestType = com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.class, + responseType = com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListVulnerabilityReportsMethod() { + io.grpc.MethodDescriptor getListVulnerabilityReportsMethod; + if ((getListVulnerabilityReportsMethod = OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListVulnerabilityReportsMethod = OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod) == null) { + OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod = getListVulnerabilityReportsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVulnerabilityReports")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListVulnerabilityReports")) + .build(); + } + } + } + return getListVulnerabilityReportsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static OsConfigZonalServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigZonalServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceStub(channel, callOptions); + } + }; + return OsConfigZonalServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static OsConfigZonalServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigZonalServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceBlockingStub(channel, callOptions); + } + }; + return OsConfigZonalServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static OsConfigZonalServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigZonalServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceFutureStub(channel, callOptions); + } + }; + return OsConfigZonalServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * Zonal OS Config API
+   * The OS Config service is the server-side component that allows users to
+   * manage package installations and patch jobs for Compute Engine VM instances.
+   * 
+ */ + public static abstract class OsConfigZonalServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Create an OS policy assignment.
+     * This method also creates the first revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void createOSPolicyAssignment(com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateOSPolicyAssignmentMethod(), responseObserver); + } + + /** + *
+     * Update an existing OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void updateOSPolicyAssignment(com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateOSPolicyAssignmentMethod(), responseObserver); + } + + /** + *
+     * Retrieve an existing OS policy assignment.
+     * This method always returns the latest revision. In order to retrieve a
+     * previous revision of the assignment, also provide the revision ID in the
+     * `name` parameter.
+     * 
+ */ + public void getOSPolicyAssignment(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetOSPolicyAssignmentMethod(), responseObserver); + } + + /** + *
+     * List the OS policy assignments under the parent resource.
+     * For each OS policy assignment, the latest revision is returned.
+     * 
+ */ + public void listOSPolicyAssignments(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOSPolicyAssignmentsMethod(), responseObserver); + } + + /** + *
+     * List the OS policy assignment revisions for a given OS policy assignment.
+     * 
+ */ + public void listOSPolicyAssignmentRevisions(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOSPolicyAssignmentRevisionsMethod(), responseObserver); + } + + /** + *
+     * Delete the OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * If the LRO completes and is not cancelled, all revisions associated with
+     * the OS policy assignment are deleted.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void deleteOSPolicyAssignment(com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteOSPolicyAssignmentMethod(), responseObserver); + } + + /** + *
+     * Get the OS policy asssignment report for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + public void getOSPolicyAssignmentReport(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetOSPolicyAssignmentReportMethod(), responseObserver); + } + + /** + *
+     * List OS policy asssignment reports for all Compute Engine VM instances in
+     * the specified zone.
+     * 
+ */ + public void listOSPolicyAssignmentReports(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOSPolicyAssignmentReportsMethod(), responseObserver); + } + + /** + *
+     * Get inventory data for the specified VM instance. If the VM has no
+     * associated inventory, the message `NOT_FOUND` is returned.
+     * 
+ */ + public void getInventory(com.google.cloud.osconfig.v1.GetInventoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInventoryMethod(), responseObserver); + } + + /** + *
+     * List inventory data for all VM instances in the specified zone.
+     * 
+ */ + public void listInventories(com.google.cloud.osconfig.v1.ListInventoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInventoriesMethod(), responseObserver); + } + + /** + *
+     * Gets the vulnerability report for the specified VM instance. Only VMs with
+     * inventory data have vulnerability reports associated with them.
+     * 
+ */ + public void getVulnerabilityReport(com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVulnerabilityReportMethod(), responseObserver); + } + + /** + *
+     * List vulnerability reports for all VM instances in the specified zone.
+     * 
+ */ + public void listVulnerabilityReports(com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVulnerabilityReportsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateOSPolicyAssignmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_OSPOLICY_ASSIGNMENT))) + .addMethod( + getUpdateOSPolicyAssignmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_OSPOLICY_ASSIGNMENT))) + .addMethod( + getGetOSPolicyAssignmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest, + com.google.cloud.osconfig.v1.OSPolicyAssignment>( + this, METHODID_GET_OSPOLICY_ASSIGNMENT))) + .addMethod( + getListOSPolicyAssignmentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse>( + this, METHODID_LIST_OSPOLICY_ASSIGNMENTS))) + .addMethod( + getListOSPolicyAssignmentRevisionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse>( + this, METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS))) + .addMethod( + getDeleteOSPolicyAssignmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_OSPOLICY_ASSIGNMENT))) + .addMethod( + getGetOSPolicyAssignmentReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport>( + this, METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT))) + .addMethod( + getListOSPolicyAssignmentReportsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse>( + this, METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS))) + .addMethod( + getGetInventoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.GetInventoryRequest, + com.google.cloud.osconfig.v1.Inventory>( + this, METHODID_GET_INVENTORY))) + .addMethod( + getListInventoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.ListInventoriesRequest, + com.google.cloud.osconfig.v1.ListInventoriesResponse>( + this, METHODID_LIST_INVENTORIES))) + .addMethod( + getGetVulnerabilityReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest, + com.google.cloud.osconfig.v1.VulnerabilityReport>( + this, METHODID_GET_VULNERABILITY_REPORT))) + .addMethod( + getListVulnerabilityReportsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest, + com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse>( + this, METHODID_LIST_VULNERABILITY_REPORTS))) + .build(); + } + } + + /** + *
+   * Zonal OS Config API
+   * The OS Config service is the server-side component that allows users to
+   * manage package installations and patch jobs for Compute Engine VM instances.
+   * 
+ */ + public static final class OsConfigZonalServiceStub extends io.grpc.stub.AbstractAsyncStub { + private OsConfigZonalServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigZonalServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceStub(channel, callOptions); + } + + /** + *
+     * Create an OS policy assignment.
+     * This method also creates the first revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void createOSPolicyAssignment(com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateOSPolicyAssignmentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Update an existing OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void updateOSPolicyAssignment(com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateOSPolicyAssignmentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieve an existing OS policy assignment.
+     * This method always returns the latest revision. In order to retrieve a
+     * previous revision of the assignment, also provide the revision ID in the
+     * `name` parameter.
+     * 
+ */ + public void getOSPolicyAssignment(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetOSPolicyAssignmentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * List the OS policy assignments under the parent resource.
+     * For each OS policy assignment, the latest revision is returned.
+     * 
+ */ + public void listOSPolicyAssignments(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * List the OS policy assignment revisions for a given OS policy assignment.
+     * 
+ */ + public void listOSPolicyAssignmentRevisions(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentRevisionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Delete the OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * If the LRO completes and is not cancelled, all revisions associated with
+     * the OS policy assignment are deleted.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void deleteOSPolicyAssignment(com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteOSPolicyAssignmentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get the OS policy asssignment report for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + public void getOSPolicyAssignmentReport(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetOSPolicyAssignmentReportMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * List OS policy asssignment reports for all Compute Engine VM instances in
+     * the specified zone.
+     * 
+ */ + public void listOSPolicyAssignmentReports(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentReportsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get inventory data for the specified VM instance. If the VM has no
+     * associated inventory, the message `NOT_FOUND` is returned.
+     * 
+ */ + public void getInventory(com.google.cloud.osconfig.v1.GetInventoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInventoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * List inventory data for all VM instances in the specified zone.
+     * 
+ */ + public void listInventories(com.google.cloud.osconfig.v1.ListInventoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInventoriesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the vulnerability report for the specified VM instance. Only VMs with
+     * inventory data have vulnerability reports associated with them.
+     * 
+ */ + public void getVulnerabilityReport(com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVulnerabilityReportMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * List vulnerability reports for all VM instances in the specified zone.
+     * 
+ */ + public void listVulnerabilityReports(com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVulnerabilityReportsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Zonal OS Config API
+   * The OS Config service is the server-side component that allows users to
+   * manage package installations and patch jobs for Compute Engine VM instances.
+   * 
+ */ + public static final class OsConfigZonalServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private OsConfigZonalServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigZonalServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Create an OS policy assignment.
+     * This method also creates the first revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.longrunning.Operation createOSPolicyAssignment(com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateOSPolicyAssignmentMethod(), getCallOptions(), request); + } + + /** + *
+     * Update an existing OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.longrunning.Operation updateOSPolicyAssignment(com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateOSPolicyAssignmentMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieve an existing OS policy assignment.
+     * This method always returns the latest revision. In order to retrieve a
+     * previous revision of the assignment, also provide the revision ID in the
+     * `name` parameter.
+     * 
+ */ + public com.google.cloud.osconfig.v1.OSPolicyAssignment getOSPolicyAssignment(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetOSPolicyAssignmentMethod(), getCallOptions(), request); + } + + /** + *
+     * List the OS policy assignments under the parent resource.
+     * For each OS policy assignment, the latest revision is returned.
+     * 
+ */ + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse listOSPolicyAssignments(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListOSPolicyAssignmentsMethod(), getCallOptions(), request); + } + + /** + *
+     * List the OS policy assignment revisions for a given OS policy assignment.
+     * 
+ */ + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse listOSPolicyAssignmentRevisions(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListOSPolicyAssignmentRevisionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Delete the OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * If the LRO completes and is not cancelled, all revisions associated with
+     * the OS policy assignment are deleted.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.longrunning.Operation deleteOSPolicyAssignment(com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteOSPolicyAssignmentMethod(), getCallOptions(), request); + } + + /** + *
+     * Get the OS policy asssignment report for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getOSPolicyAssignmentReport(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetOSPolicyAssignmentReportMethod(), getCallOptions(), request); + } + + /** + *
+     * List OS policy asssignment reports for all Compute Engine VM instances in
+     * the specified zone.
+     * 
+ */ + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse listOSPolicyAssignmentReports(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListOSPolicyAssignmentReportsMethod(), getCallOptions(), request); + } + + /** + *
+     * Get inventory data for the specified VM instance. If the VM has no
+     * associated inventory, the message `NOT_FOUND` is returned.
+     * 
+ */ + public com.google.cloud.osconfig.v1.Inventory getInventory(com.google.cloud.osconfig.v1.GetInventoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInventoryMethod(), getCallOptions(), request); + } + + /** + *
+     * List inventory data for all VM instances in the specified zone.
+     * 
+ */ + public com.google.cloud.osconfig.v1.ListInventoriesResponse listInventories(com.google.cloud.osconfig.v1.ListInventoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInventoriesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the vulnerability report for the specified VM instance. Only VMs with
+     * inventory data have vulnerability reports associated with them.
+     * 
+ */ + public com.google.cloud.osconfig.v1.VulnerabilityReport getVulnerabilityReport(com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVulnerabilityReportMethod(), getCallOptions(), request); + } + + /** + *
+     * List vulnerability reports for all VM instances in the specified zone.
+     * 
+ */ + public com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse listVulnerabilityReports(com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVulnerabilityReportsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Zonal OS Config API
+   * The OS Config service is the server-side component that allows users to
+   * manage package installations and patch jobs for Compute Engine VM instances.
+   * 
+ */ + public static final class OsConfigZonalServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private OsConfigZonalServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigZonalServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Create an OS policy assignment.
+     * This method also creates the first revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createOSPolicyAssignment( + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateOSPolicyAssignmentMethod(), getCallOptions()), request); + } + + /** + *
+     * Update an existing OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateOSPolicyAssignment( + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateOSPolicyAssignmentMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieve an existing OS policy assignment.
+     * This method always returns the latest revision. In order to retrieve a
+     * previous revision of the assignment, also provide the revision ID in the
+     * `name` parameter.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getOSPolicyAssignment( + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetOSPolicyAssignmentMethod(), getCallOptions()), request); + } + + /** + *
+     * List the OS policy assignments under the parent resource.
+     * For each OS policy assignment, the latest revision is returned.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listOSPolicyAssignments( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentsMethod(), getCallOptions()), request); + } + + /** + *
+     * List the OS policy assignment revisions for a given OS policy assignment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listOSPolicyAssignmentRevisions( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentRevisionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Delete the OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * If the LRO completes and is not cancelled, all revisions associated with
+     * the OS policy assignment are deleted.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteOSPolicyAssignment( + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteOSPolicyAssignmentMethod(), getCallOptions()), request); + } + + /** + *
+     * Get the OS policy asssignment report for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getOSPolicyAssignmentReport( + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetOSPolicyAssignmentReportMethod(), getCallOptions()), request); + } + + /** + *
+     * List OS policy asssignment reports for all Compute Engine VM instances in
+     * the specified zone.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listOSPolicyAssignmentReports( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentReportsMethod(), getCallOptions()), request); + } + + /** + *
+     * Get inventory data for the specified VM instance. If the VM has no
+     * associated inventory, the message `NOT_FOUND` is returned.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getInventory( + com.google.cloud.osconfig.v1.GetInventoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInventoryMethod(), getCallOptions()), request); + } + + /** + *
+     * List inventory data for all VM instances in the specified zone.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listInventories( + com.google.cloud.osconfig.v1.ListInventoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInventoriesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the vulnerability report for the specified VM instance. Only VMs with
+     * inventory data have vulnerability reports associated with them.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getVulnerabilityReport( + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVulnerabilityReportMethod(), getCallOptions()), request); + } + + /** + *
+     * List vulnerability reports for all VM instances in the specified zone.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listVulnerabilityReports( + com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVulnerabilityReportsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_OSPOLICY_ASSIGNMENT = 0; + private static final int METHODID_UPDATE_OSPOLICY_ASSIGNMENT = 1; + private static final int METHODID_GET_OSPOLICY_ASSIGNMENT = 2; + private static final int METHODID_LIST_OSPOLICY_ASSIGNMENTS = 3; + private static final int METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS = 4; + private static final int METHODID_DELETE_OSPOLICY_ASSIGNMENT = 5; + private static final int METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT = 6; + private static final int METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS = 7; + private static final int METHODID_GET_INVENTORY = 8; + private static final int METHODID_LIST_INVENTORIES = 9; + private static final int METHODID_GET_VULNERABILITY_REPORT = 10; + private static final int METHODID_LIST_VULNERABILITY_REPORTS = 11; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final OsConfigZonalServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(OsConfigZonalServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_OSPOLICY_ASSIGNMENT: + serviceImpl.createOSPolicyAssignment((com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_OSPOLICY_ASSIGNMENT: + serviceImpl.updateOSPolicyAssignment((com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_OSPOLICY_ASSIGNMENT: + serviceImpl.getOSPolicyAssignment((com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_OSPOLICY_ASSIGNMENTS: + serviceImpl.listOSPolicyAssignments((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS: + serviceImpl.listOSPolicyAssignmentRevisions((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_OSPOLICY_ASSIGNMENT: + serviceImpl.deleteOSPolicyAssignment((com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT: + serviceImpl.getOSPolicyAssignmentReport((com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS: + serviceImpl.listOSPolicyAssignmentReports((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_INVENTORY: + serviceImpl.getInventory((com.google.cloud.osconfig.v1.GetInventoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INVENTORIES: + serviceImpl.listInventories((com.google.cloud.osconfig.v1.ListInventoriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_VULNERABILITY_REPORT: + serviceImpl.getVulnerabilityReport((com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_VULNERABILITY_REPORTS: + serviceImpl.listVulnerabilityReports((com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class OsConfigZonalServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + OsConfigZonalServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.osconfig.v1.OsConfigZonalServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("OsConfigZonalService"); + } + } + + private static final class OsConfigZonalServiceFileDescriptorSupplier + extends OsConfigZonalServiceBaseDescriptorSupplier { + OsConfigZonalServiceFileDescriptorSupplier() {} + } + + private static final class OsConfigZonalServiceMethodDescriptorSupplier + extends OsConfigZonalServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + OsConfigZonalServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new OsConfigZonalServiceFileDescriptorSupplier()) + .addMethod(getCreateOSPolicyAssignmentMethod()) + .addMethod(getUpdateOSPolicyAssignmentMethod()) + .addMethod(getGetOSPolicyAssignmentMethod()) + .addMethod(getListOSPolicyAssignmentsMethod()) + .addMethod(getListOSPolicyAssignmentRevisionsMethod()) + .addMethod(getDeleteOSPolicyAssignmentMethod()) + .addMethod(getGetOSPolicyAssignmentReportMethod()) + .addMethod(getListOSPolicyAssignmentReportsMethod()) + .addMethod(getGetInventoryMethod()) + .addMethod(getListInventoriesMethod()) + .addMethod(getGetVulnerabilityReportMethod()) + .addMethod(getListVulnerabilityReportsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3.java similarity index 76% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3.java index e5e4e53e..7bffbb65 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * Common Vulnerability Scoring System version 3.
  * For details, see https://www.first.org/cvss/specification-document
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.CVSSv3}
  */
-public final class CVSSv3 extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CVSSv3 extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.CVSSv3)
     CVSSv3OrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CVSSv3.newBuilder() to construct.
   private CVSSv3(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CVSSv3() {
     attackVector_ = 0;
     attackComplexity_ = 0;
@@ -51,15 +33,16 @@ private CVSSv3() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CVSSv3();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CVSSv3(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -78,84 +61,76 @@ private CVSSv3(
           case 0:
             done = true;
             break;
-          case 13:
-            {
-              baseScore_ = input.readFloat();
-              break;
-            }
-          case 21:
-            {
-              exploitabilityScore_ = input.readFloat();
-              break;
-            }
-          case 29:
-            {
-              impactScore_ = input.readFloat();
-              break;
-            }
-          case 40:
-            {
-              int rawValue = input.readEnum();
+          case 13: {
 
-              attackVector_ = rawValue;
-              break;
-            }
-          case 48:
-            {
-              int rawValue = input.readEnum();
+            baseScore_ = input.readFloat();
+            break;
+          }
+          case 21: {
 
-              attackComplexity_ = rawValue;
-              break;
-            }
-          case 56:
-            {
-              int rawValue = input.readEnum();
+            exploitabilityScore_ = input.readFloat();
+            break;
+          }
+          case 29: {
 
-              privilegesRequired_ = rawValue;
-              break;
-            }
-          case 64:
-            {
-              int rawValue = input.readEnum();
+            impactScore_ = input.readFloat();
+            break;
+          }
+          case 40: {
+            int rawValue = input.readEnum();
 
-              userInteraction_ = rawValue;
-              break;
-            }
-          case 72:
-            {
-              int rawValue = input.readEnum();
+            attackVector_ = rawValue;
+            break;
+          }
+          case 48: {
+            int rawValue = input.readEnum();
 
-              scope_ = rawValue;
-              break;
-            }
-          case 80:
-            {
-              int rawValue = input.readEnum();
+            attackComplexity_ = rawValue;
+            break;
+          }
+          case 56: {
+            int rawValue = input.readEnum();
 
-              confidentialityImpact_ = rawValue;
-              break;
-            }
-          case 88:
-            {
-              int rawValue = input.readEnum();
+            privilegesRequired_ = rawValue;
+            break;
+          }
+          case 64: {
+            int rawValue = input.readEnum();
 
-              integrityImpact_ = rawValue;
-              break;
-            }
-          case 96:
-            {
-              int rawValue = input.readEnum();
+            userInteraction_ = rawValue;
+            break;
+          }
+          case 72: {
+            int rawValue = input.readEnum();
 
-              availabilityImpact_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            scope_ = rawValue;
+            break;
+          }
+          case 80: {
+            int rawValue = input.readEnum();
+
+            confidentialityImpact_ = rawValue;
+            break;
+          }
+          case 88: {
+            int rawValue = input.readEnum();
+
+            integrityImpact_ = rawValue;
+            break;
+          }
+          case 96: {
+            int rawValue = input.readEnum();
+
+            availabilityImpact_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -163,31 +138,27 @@ private CVSSv3(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1.VulnerabilityProto
-        .internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.VulnerabilityProto
-        .internal_static_google_cloud_osconfig_v1_CVSSv3_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_CVSSv3_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.CVSSv3.class,
-            com.google.cloud.osconfig.v1.CVSSv3.Builder.class);
+            com.google.cloud.osconfig.v1.CVSSv3.class, com.google.cloud.osconfig.v1.CVSSv3.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
@@ -195,10 +166,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1.CVSSv3.AttackVector}
    */
-  public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AttackVector
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -207,8 +177,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum { */ ATTACK_VECTOR_UNSPECIFIED(0), /** - * - * *
      * The vulnerable component is bound to the network stack and the set of
      * possible attackers extends beyond the other options listed below, up to
@@ -219,8 +187,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     ATTACK_VECTOR_NETWORK(1),
     /**
-     *
-     *
      * 
      * The vulnerable component is bound to the network stack, but the attack is
      * limited at the protocol level to a logically adjacent topology.
@@ -230,8 +196,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     ATTACK_VECTOR_ADJACENT(2),
     /**
-     *
-     *
      * 
      * The vulnerable component is not bound to the network stack and the
      * attacker's path is via read/write/execute capabilities.
@@ -241,8 +205,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     ATTACK_VECTOR_LOCAL(3),
     /**
-     *
-     *
      * 
      * The attack requires the attacker to physically touch or manipulate the
      * vulnerable component.
@@ -255,8 +217,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -265,8 +225,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ATTACK_VECTOR_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The vulnerable component is bound to the network stack and the set of
      * possible attackers extends beyond the other options listed below, up to
@@ -277,8 +235,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ATTACK_VECTOR_NETWORK_VALUE = 1;
     /**
-     *
-     *
      * 
      * The vulnerable component is bound to the network stack, but the attack is
      * limited at the protocol level to a logically adjacent topology.
@@ -288,8 +244,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ATTACK_VECTOR_ADJACENT_VALUE = 2;
     /**
-     *
-     *
      * 
      * The vulnerable component is not bound to the network stack and the
      * attacker's path is via read/write/execute capabilities.
@@ -299,8 +253,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ATTACK_VECTOR_LOCAL_VALUE = 3;
     /**
-     *
-     *
      * 
      * The attack requires the attacker to physically touch or manipulate the
      * vulnerable component.
@@ -310,6 +262,7 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ATTACK_VECTOR_PHYSICAL_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -334,53 +287,51 @@ public static AttackVector valueOf(int value) {
      */
     public static AttackVector forNumber(int value) {
       switch (value) {
-        case 0:
-          return ATTACK_VECTOR_UNSPECIFIED;
-        case 1:
-          return ATTACK_VECTOR_NETWORK;
-        case 2:
-          return ATTACK_VECTOR_ADJACENT;
-        case 3:
-          return ATTACK_VECTOR_LOCAL;
-        case 4:
-          return ATTACK_VECTOR_PHYSICAL;
-        default:
-          return null;
+        case 0: return ATTACK_VECTOR_UNSPECIFIED;
+        case 1: return ATTACK_VECTOR_NETWORK;
+        case 2: return ATTACK_VECTOR_ADJACENT;
+        case 3: return ATTACK_VECTOR_LOCAL;
+        case 4: return ATTACK_VECTOR_PHYSICAL;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        AttackVector> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public AttackVector findValueByNumber(int number) {
+              return AttackVector.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public AttackVector findValueByNumber(int number) {
-            return AttackVector.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.osconfig.v1.CVSSv3.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final AttackVector[] VALUES = values();
 
-    public static AttackVector valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static AttackVector valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -398,8 +349,6 @@ private AttackVector(int value) {
   }
 
   /**
-   *
-   *
    * 
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
@@ -407,10 +356,9 @@ private AttackVector(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1.CVSSv3.AttackComplexity}
    */
-  public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AttackComplexity
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -419,8 +367,6 @@ public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum */ ATTACK_COMPLEXITY_UNSPECIFIED(0), /** - * - * *
      * Specialized access conditions or extenuating circumstances do not exist.
      * An attacker can expect repeatable success when attacking the vulnerable
@@ -431,8 +377,6 @@ public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum
      */
     ATTACK_COMPLEXITY_LOW(1),
     /**
-     *
-     *
      * 
      * A successful attack depends on conditions beyond the attacker's control.
      * That is, a successful attack cannot be accomplished at will, but requires
@@ -448,8 +392,6 @@ public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -458,8 +400,6 @@ public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum */ public static final int ATTACK_COMPLEXITY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Specialized access conditions or extenuating circumstances do not exist.
      * An attacker can expect repeatable success when attacking the vulnerable
@@ -470,8 +410,6 @@ public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int ATTACK_COMPLEXITY_LOW_VALUE = 1;
     /**
-     *
-     *
      * 
      * A successful attack depends on conditions beyond the attacker's control.
      * That is, a successful attack cannot be accomplished at will, but requires
@@ -484,6 +422,7 @@ public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int ATTACK_COMPLEXITY_HIGH_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -508,42 +447,39 @@ public static AttackComplexity valueOf(int value) {
      */
     public static AttackComplexity forNumber(int value) {
       switch (value) {
-        case 0:
-          return ATTACK_COMPLEXITY_UNSPECIFIED;
-        case 1:
-          return ATTACK_COMPLEXITY_LOW;
-        case 2:
-          return ATTACK_COMPLEXITY_HIGH;
-        default:
-          return null;
+        case 0: return ATTACK_COMPLEXITY_UNSPECIFIED;
+        case 1: return ATTACK_COMPLEXITY_LOW;
+        case 2: return ATTACK_COMPLEXITY_HIGH;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        AttackComplexity> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public AttackComplexity findValueByNumber(int number) {
+              return AttackComplexity.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public AttackComplexity findValueByNumber(int number) {
-                return AttackComplexity.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.osconfig.v1.CVSSv3.getDescriptor().getEnumTypes().get(1);
     }
 
@@ -552,7 +488,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static AttackComplexity valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -570,8 +507,6 @@ private AttackComplexity(int value) {
   }
 
   /**
-   *
-   *
    * 
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
@@ -579,10 +514,9 @@ private AttackComplexity(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired}
    */
-  public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnum {
+  public enum PrivilegesRequired
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -591,8 +525,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu */ PRIVILEGES_REQUIRED_UNSPECIFIED(0), /** - * - * *
      * The attacker is unauthorized prior to attack, and therefore does not
      * require any access to settings or files of the vulnerable system to
@@ -603,8 +535,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu
      */
     PRIVILEGES_REQUIRED_NONE(1),
     /**
-     *
-     *
      * 
      * The attacker requires privileges that provide basic user capabilities
      * that could normally affect only settings and files owned by a user.
@@ -616,8 +546,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu
      */
     PRIVILEGES_REQUIRED_LOW(2),
     /**
-     *
-     *
      * 
      * The attacker requires privileges that provide significant (e.g.,
      * administrative) control over the vulnerable component allowing access to
@@ -631,8 +559,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -641,8 +567,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu */ public static final int PRIVILEGES_REQUIRED_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The attacker is unauthorized prior to attack, and therefore does not
      * require any access to settings or files of the vulnerable system to
@@ -653,8 +577,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu
      */
     public static final int PRIVILEGES_REQUIRED_NONE_VALUE = 1;
     /**
-     *
-     *
      * 
      * The attacker requires privileges that provide basic user capabilities
      * that could normally affect only settings and files owned by a user.
@@ -666,8 +588,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu
      */
     public static final int PRIVILEGES_REQUIRED_LOW_VALUE = 2;
     /**
-     *
-     *
      * 
      * The attacker requires privileges that provide significant (e.g.,
      * administrative) control over the vulnerable component allowing access to
@@ -678,6 +598,7 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu
      */
     public static final int PRIVILEGES_REQUIRED_HIGH_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -702,16 +623,11 @@ public static PrivilegesRequired valueOf(int value) {
      */
     public static PrivilegesRequired forNumber(int value) {
       switch (value) {
-        case 0:
-          return PRIVILEGES_REQUIRED_UNSPECIFIED;
-        case 1:
-          return PRIVILEGES_REQUIRED_NONE;
-        case 2:
-          return PRIVILEGES_REQUIRED_LOW;
-        case 3:
-          return PRIVILEGES_REQUIRED_HIGH;
-        default:
-          return null;
+        case 0: return PRIVILEGES_REQUIRED_UNSPECIFIED;
+        case 1: return PRIVILEGES_REQUIRED_NONE;
+        case 2: return PRIVILEGES_REQUIRED_LOW;
+        case 3: return PRIVILEGES_REQUIRED_HIGH;
+        default: return null;
       }
     }
 
@@ -719,28 +635,28 @@ public static PrivilegesRequired forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        PrivilegesRequired> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public PrivilegesRequired findValueByNumber(int number) {
+              return PrivilegesRequired.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public PrivilegesRequired findValueByNumber(int number) {
-                return PrivilegesRequired.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.osconfig.v1.CVSSv3.getDescriptor().getEnumTypes().get(2);
     }
 
@@ -749,7 +665,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static PrivilegesRequired valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -767,8 +684,6 @@ private PrivilegesRequired(int value) {
   }
 
   /**
-   *
-   *
    * 
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -777,10 +692,9 @@ private PrivilegesRequired(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1.CVSSv3.UserInteraction}
    */
-  public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum {
+  public enum UserInteraction
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -789,8 +703,6 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum { */ USER_INTERACTION_UNSPECIFIED(0), /** - * - * *
      * The vulnerable system can be exploited without interaction from any user.
      * 
@@ -799,8 +711,6 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum { */ USER_INTERACTION_NONE(1), /** - * - * *
      * Successful exploitation of this vulnerability requires a user to take
      * some action before the vulnerability can be exploited.
@@ -813,8 +723,6 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -823,8 +731,6 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_INTERACTION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The vulnerable system can be exploited without interaction from any user.
      * 
@@ -833,8 +739,6 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_INTERACTION_NONE_VALUE = 1; /** - * - * *
      * Successful exploitation of this vulnerability requires a user to take
      * some action before the vulnerability can be exploited.
@@ -844,6 +748,7 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int USER_INTERACTION_REQUIRED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -868,42 +773,39 @@ public static UserInteraction valueOf(int value) {
      */
     public static UserInteraction forNumber(int value) {
       switch (value) {
-        case 0:
-          return USER_INTERACTION_UNSPECIFIED;
-        case 1:
-          return USER_INTERACTION_NONE;
-        case 2:
-          return USER_INTERACTION_REQUIRED;
-        default:
-          return null;
+        case 0: return USER_INTERACTION_UNSPECIFIED;
+        case 1: return USER_INTERACTION_NONE;
+        case 2: return USER_INTERACTION_REQUIRED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        UserInteraction> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public UserInteraction findValueByNumber(int number) {
+              return UserInteraction.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public UserInteraction findValueByNumber(int number) {
-                return UserInteraction.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.osconfig.v1.CVSSv3.getDescriptor().getEnumTypes().get(3);
     }
 
@@ -912,7 +814,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static UserInteraction valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -930,8 +833,6 @@ private UserInteraction(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
@@ -939,10 +840,9 @@ private UserInteraction(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1.CVSSv3.Scope}
    */
-  public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Scope
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -951,8 +851,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum { */ SCOPE_UNSPECIFIED(0), /** - * - * *
      * An exploited vulnerability can only affect resources managed by the same
      * security authority.
@@ -962,8 +860,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     SCOPE_UNCHANGED(1),
     /**
-     *
-     *
      * 
      * An exploited vulnerability can affect resources beyond the security scope
      * managed by the security authority of the vulnerable component.
@@ -976,8 +872,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -986,8 +880,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCOPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * An exploited vulnerability can only affect resources managed by the same
      * security authority.
@@ -997,8 +889,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SCOPE_UNCHANGED_VALUE = 1;
     /**
-     *
-     *
      * 
      * An exploited vulnerability can affect resources beyond the security scope
      * managed by the security authority of the vulnerable component.
@@ -1008,6 +898,7 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SCOPE_CHANGED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -1032,49 +923,49 @@ public static Scope valueOf(int value) {
      */
     public static Scope forNumber(int value) {
       switch (value) {
-        case 0:
-          return SCOPE_UNSPECIFIED;
-        case 1:
-          return SCOPE_UNCHANGED;
-        case 2:
-          return SCOPE_CHANGED;
-        default:
-          return null;
+        case 0: return SCOPE_UNSPECIFIED;
+        case 1: return SCOPE_UNCHANGED;
+        case 2: return SCOPE_CHANGED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Scope> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Scope findValueByNumber(int number) {
+              return Scope.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Scope findValueByNumber(int number) {
-            return Scope.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.osconfig.v1.CVSSv3.getDescriptor().getEnumTypes().get(4);
     }
 
     private static final Scope[] VALUES = values();
 
-    public static Scope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Scope valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -1092,8 +983,6 @@ private Scope(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The Impact metrics capture the effects of a successfully exploited
    * vulnerability on the component that suffers the worst outcome that is most
@@ -1102,10 +991,9 @@ private Scope(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1.CVSSv3.Impact}
    */
-  public enum Impact implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Impact
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -1114,8 +1002,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ IMPACT_UNSPECIFIED(0), /** - * - * *
      * High impact.
      * 
@@ -1124,8 +1010,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ IMPACT_HIGH(1), /** - * - * *
      * Low impact.
      * 
@@ -1134,8 +1018,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ IMPACT_LOW(2), /** - * - * *
      * No impact.
      * 
@@ -1147,8 +1029,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Invalid value.
      * 
@@ -1157,8 +1037,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPACT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * High impact.
      * 
@@ -1167,8 +1045,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPACT_HIGH_VALUE = 1; /** - * - * *
      * Low impact.
      * 
@@ -1177,8 +1053,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPACT_LOW_VALUE = 2; /** - * - * *
      * No impact.
      * 
@@ -1187,6 +1061,7 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPACT_NONE_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1211,51 +1086,50 @@ public static Impact valueOf(int value) { */ public static Impact forNumber(int value) { switch (value) { - case 0: - return IMPACT_UNSPECIFIED; - case 1: - return IMPACT_HIGH; - case 2: - return IMPACT_LOW; - case 3: - return IMPACT_NONE; - default: - return null; + case 0: return IMPACT_UNSPECIFIED; + case 1: return IMPACT_HIGH; + case 2: return IMPACT_LOW; + case 3: return IMPACT_NONE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Impact> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Impact findValueByNumber(int number) { + return Impact.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Impact findValueByNumber(int number) { - return Impact.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.osconfig.v1.CVSSv3.getDescriptor().getEnumTypes().get(5); } private static final Impact[] VALUES = values(); - public static Impact valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Impact valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -1275,15 +1149,12 @@ private Impact(int value) { public static final int BASE_SCORE_FIELD_NUMBER = 1; private float baseScore_; /** - * - * *
    * The base score is a function of the base metric scores.
    * https://www.first.org/cvss/specification-document#Base-Metrics
    * 
* * float base_score = 1; - * * @return The baseScore. */ @java.lang.Override @@ -1294,8 +1165,6 @@ public float getBaseScore() { public static final int EXPLOITABILITY_SCORE_FIELD_NUMBER = 2; private float exploitabilityScore_; /** - * - * *
    * The Exploitability sub-score equation is derived from the Base
    * Exploitability metrics.
@@ -1303,7 +1172,6 @@ public float getBaseScore() {
    * 
* * float exploitability_score = 2; - * * @return The exploitabilityScore. */ @java.lang.Override @@ -1314,14 +1182,11 @@ public float getExploitabilityScore() { public static final int IMPACT_SCORE_FIELD_NUMBER = 3; private float impactScore_; /** - * - * *
    * The Impact sub-score equation is derived from the Base Impact metrics.
    * 
* * float impact_score = 3; - * * @return The impactScore. */ @java.lang.Override @@ -1332,126 +1197,93 @@ public float getImpactScore() { public static final int ATTACK_VECTOR_FIELD_NUMBER = 5; private int attackVector_; /** - * - * *
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackVector attack_vector = 5; - * * @return The enum numeric value on the wire for attackVector. */ - @java.lang.Override - public int getAttackVectorValue() { + @java.lang.Override public int getAttackVectorValue() { return attackVector_; } /** - * - * *
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackVector attack_vector = 5; - * * @return The attackVector. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.CVSSv3.AttackVector getAttackVector() { + @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.AttackVector getAttackVector() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.AttackVector result = - com.google.cloud.osconfig.v1.CVSSv3.AttackVector.valueOf(attackVector_); + com.google.cloud.osconfig.v1.CVSSv3.AttackVector result = com.google.cloud.osconfig.v1.CVSSv3.AttackVector.valueOf(attackVector_); return result == null ? com.google.cloud.osconfig.v1.CVSSv3.AttackVector.UNRECOGNIZED : result; } public static final int ATTACK_COMPLEXITY_FIELD_NUMBER = 6; private int attackComplexity_; /** - * - * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackComplexity attack_complexity = 6; - * * @return The enum numeric value on the wire for attackComplexity. */ - @java.lang.Override - public int getAttackComplexityValue() { + @java.lang.Override public int getAttackComplexityValue() { return attackComplexity_; } /** - * - * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackComplexity attack_complexity = 6; - * * @return The attackComplexity. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity getAttackComplexity() { + @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity getAttackComplexity() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity result = - com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.valueOf(attackComplexity_); - return result == null - ? com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity result = com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.valueOf(attackComplexity_); + return result == null ? com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.UNRECOGNIZED : result; } public static final int PRIVILEGES_REQUIRED_FIELD_NUMBER = 7; private int privilegesRequired_; /** - * - * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired privileges_required = 7; - * * @return The enum numeric value on the wire for privilegesRequired. */ - @java.lang.Override - public int getPrivilegesRequiredValue() { + @java.lang.Override public int getPrivilegesRequiredValue() { return privilegesRequired_; } /** - * - * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired privileges_required = 7; - * * @return The privilegesRequired. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired getPrivilegesRequired() { + @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired getPrivilegesRequired() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired result = - com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.valueOf(privilegesRequired_); - return result == null - ? com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired result = com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.valueOf(privilegesRequired_); + return result == null ? com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.UNRECOGNIZED : result; } public static final int USER_INTERACTION_FIELD_NUMBER = 8; private int userInteraction_; /** - * - * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -1459,16 +1291,12 @@ public com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired getPrivilegesRequi
    * 
* * .google.cloud.osconfig.v1.CVSSv3.UserInteraction user_interaction = 8; - * * @return The enum numeric value on the wire for userInteraction. */ - @java.lang.Override - public int getUserInteractionValue() { + @java.lang.Override public int getUserInteractionValue() { return userInteraction_; } /** - * - * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -1476,62 +1304,46 @@ public int getUserInteractionValue() {
    * 
* * .google.cloud.osconfig.v1.CVSSv3.UserInteraction user_interaction = 8; - * * @return The userInteraction. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.CVSSv3.UserInteraction getUserInteraction() { + @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.UserInteraction getUserInteraction() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.UserInteraction result = - com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.valueOf(userInteraction_); - return result == null - ? com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.CVSSv3.UserInteraction result = com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.valueOf(userInteraction_); + return result == null ? com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.UNRECOGNIZED : result; } public static final int SCOPE_FIELD_NUMBER = 9; private int scope_; /** - * - * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Scope scope = 9; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Scope scope = 9; - * * @return The scope. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.CVSSv3.Scope getScope() { + @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.Scope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.Scope result = - com.google.cloud.osconfig.v1.CVSSv3.Scope.valueOf(scope_); + com.google.cloud.osconfig.v1.CVSSv3.Scope result = com.google.cloud.osconfig.v1.CVSSv3.Scope.valueOf(scope_); return result == null ? com.google.cloud.osconfig.v1.CVSSv3.Scope.UNRECOGNIZED : result; } public static final int CONFIDENTIALITY_IMPACT_FIELD_NUMBER = 10; private int confidentialityImpact_; /** - * - * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -1539,16 +1351,12 @@ public com.google.cloud.osconfig.v1.CVSSv3.Scope getScope() {
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact confidentiality_impact = 10; - * * @return The enum numeric value on the wire for confidentialityImpact. */ - @java.lang.Override - public int getConfidentialityImpactValue() { + @java.lang.Override public int getConfidentialityImpactValue() { return confidentialityImpact_; } /** - * - * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -1556,95 +1364,73 @@ public int getConfidentialityImpactValue() {
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact confidentiality_impact = 10; - * * @return The confidentialityImpact. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.CVSSv3.Impact getConfidentialityImpact() { + @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.Impact getConfidentialityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.Impact result = - com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(confidentialityImpact_); + com.google.cloud.osconfig.v1.CVSSv3.Impact result = com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(confidentialityImpact_); return result == null ? com.google.cloud.osconfig.v1.CVSSv3.Impact.UNRECOGNIZED : result; } public static final int INTEGRITY_IMPACT_FIELD_NUMBER = 11; private int integrityImpact_; /** - * - * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact integrity_impact = 11; - * * @return The enum numeric value on the wire for integrityImpact. */ - @java.lang.Override - public int getIntegrityImpactValue() { + @java.lang.Override public int getIntegrityImpactValue() { return integrityImpact_; } /** - * - * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact integrity_impact = 11; - * * @return The integrityImpact. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.CVSSv3.Impact getIntegrityImpact() { + @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.Impact getIntegrityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.Impact result = - com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(integrityImpact_); + com.google.cloud.osconfig.v1.CVSSv3.Impact result = com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(integrityImpact_); return result == null ? com.google.cloud.osconfig.v1.CVSSv3.Impact.UNRECOGNIZED : result; } public static final int AVAILABILITY_IMPACT_FIELD_NUMBER = 12; private int availabilityImpact_; /** - * - * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact availability_impact = 12; - * * @return The enum numeric value on the wire for availabilityImpact. */ - @java.lang.Override - public int getAvailabilityImpactValue() { + @java.lang.Override public int getAvailabilityImpactValue() { return availabilityImpact_; } /** - * - * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact availability_impact = 12; - * * @return The availabilityImpact. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.CVSSv3.Impact getAvailabilityImpact() { + @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.Impact getAvailabilityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.Impact result = - com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(availabilityImpact_); + com.google.cloud.osconfig.v1.CVSSv3.Impact result = com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(availabilityImpact_); return result == null ? com.google.cloud.osconfig.v1.CVSSv3.Impact.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1656,7 +1442,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (java.lang.Float.floatToRawIntBits(baseScore_) != 0) { output.writeFloat(1, baseScore_); } @@ -1666,38 +1453,28 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (java.lang.Float.floatToRawIntBits(impactScore_) != 0) { output.writeFloat(3, impactScore_); } - if (attackVector_ - != com.google.cloud.osconfig.v1.CVSSv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED.getNumber()) { + if (attackVector_ != com.google.cloud.osconfig.v1.CVSSv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED.getNumber()) { output.writeEnum(5, attackVector_); } - if (attackComplexity_ - != com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED - .getNumber()) { + if (attackComplexity_ != com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED.getNumber()) { output.writeEnum(6, attackComplexity_); } - if (privilegesRequired_ - != com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.PRIVILEGES_REQUIRED_UNSPECIFIED - .getNumber()) { + if (privilegesRequired_ != com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.PRIVILEGES_REQUIRED_UNSPECIFIED.getNumber()) { output.writeEnum(7, privilegesRequired_); } - if (userInteraction_ - != com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.USER_INTERACTION_UNSPECIFIED - .getNumber()) { + if (userInteraction_ != com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.USER_INTERACTION_UNSPECIFIED.getNumber()) { output.writeEnum(8, userInteraction_); } if (scope_ != com.google.cloud.osconfig.v1.CVSSv3.Scope.SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(9, scope_); } - if (confidentialityImpact_ - != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + if (confidentialityImpact_ != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { output.writeEnum(10, confidentialityImpact_); } - if (integrityImpact_ - != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + if (integrityImpact_ != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { output.writeEnum(11, integrityImpact_); } - if (availabilityImpact_ - != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + if (availabilityImpact_ != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { output.writeEnum(12, availabilityImpact_); } unknownFields.writeTo(output); @@ -1710,47 +1487,48 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(baseScore_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, baseScore_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, baseScore_); } if (java.lang.Float.floatToRawIntBits(exploitabilityScore_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, exploitabilityScore_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, exploitabilityScore_); } if (java.lang.Float.floatToRawIntBits(impactScore_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, impactScore_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, impactScore_); } - if (attackVector_ - != com.google.cloud.osconfig.v1.CVSSv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, attackVector_); + if (attackVector_ != com.google.cloud.osconfig.v1.CVSSv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, attackVector_); } - if (attackComplexity_ - != com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, attackComplexity_); + if (attackComplexity_ != com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, attackComplexity_); } - if (privilegesRequired_ - != com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.PRIVILEGES_REQUIRED_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, privilegesRequired_); + if (privilegesRequired_ != com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.PRIVILEGES_REQUIRED_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, privilegesRequired_); } - if (userInteraction_ - != com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.USER_INTERACTION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, userInteraction_); + if (userInteraction_ != com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.USER_INTERACTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, userInteraction_); } if (scope_ != com.google.cloud.osconfig.v1.CVSSv3.Scope.SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, scope_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, scope_); } - if (confidentialityImpact_ - != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, confidentialityImpact_); + if (confidentialityImpact_ != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, confidentialityImpact_); } - if (integrityImpact_ - != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, integrityImpact_); + if (integrityImpact_ != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, integrityImpact_); } - if (availabilityImpact_ - != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, availabilityImpact_); + if (availabilityImpact_ != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(12, availabilityImpact_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1760,7 +1538,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.CVSSv3)) { return super.equals(obj); @@ -1768,11 +1546,14 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.osconfig.v1.CVSSv3 other = (com.google.cloud.osconfig.v1.CVSSv3) obj; if (java.lang.Float.floatToIntBits(getBaseScore()) - != java.lang.Float.floatToIntBits(other.getBaseScore())) return false; + != java.lang.Float.floatToIntBits( + other.getBaseScore())) return false; if (java.lang.Float.floatToIntBits(getExploitabilityScore()) - != java.lang.Float.floatToIntBits(other.getExploitabilityScore())) return false; + != java.lang.Float.floatToIntBits( + other.getExploitabilityScore())) return false; if (java.lang.Float.floatToIntBits(getImpactScore()) - != java.lang.Float.floatToIntBits(other.getImpactScore())) return false; + != java.lang.Float.floatToIntBits( + other.getImpactScore())) return false; if (attackVector_ != other.attackVector_) return false; if (attackComplexity_ != other.attackComplexity_) return false; if (privilegesRequired_ != other.privilegesRequired_) return false; @@ -1793,11 +1574,14 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + BASE_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getBaseScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getBaseScore()); hash = (37 * hash) + EXPLOITABILITY_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getExploitabilityScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getExploitabilityScore()); hash = (37 * hash) + IMPACT_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getImpactScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getImpactScore()); hash = (37 * hash) + ATTACK_VECTOR_FIELD_NUMBER; hash = (53 * hash) + attackVector_; hash = (37 * hash) + ATTACK_COMPLEXITY_FIELD_NUMBER; @@ -1819,103 +1603,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.CVSSv3 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.osconfig.v1.CVSSv3 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.CVSSv3 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.CVSSv3 parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.CVSSv3 prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Common Vulnerability Scoring System version 3.
    * For details, see https://www.first.org/cvss/specification-document
@@ -1923,23 +1701,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1.CVSSv3}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.CVSSv3)
       com.google.cloud.osconfig.v1.CVSSv3OrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1_CVSSv3_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_CVSSv3_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.CVSSv3.class,
-              com.google.cloud.osconfig.v1.CVSSv3.Builder.class);
+              com.google.cloud.osconfig.v1.CVSSv3.class, com.google.cloud.osconfig.v1.CVSSv3.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1.CVSSv3.newBuilder()
@@ -1947,15 +1723,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1985,9 +1762,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor;
     }
 
     @java.lang.Override
@@ -2026,39 +1803,38 @@ public com.google.cloud.osconfig.v1.CVSSv3 buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.CVSSv3) {
-        return mergeFrom((com.google.cloud.osconfig.v1.CVSSv3) other);
+        return mergeFrom((com.google.cloud.osconfig.v1.CVSSv3)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2129,17 +1905,14 @@ public Builder mergeFrom(
       return this;
     }
 
-    private float baseScore_;
+    private float baseScore_ ;
     /**
-     *
-     *
      * 
      * The base score is a function of the base metric scores.
      * https://www.first.org/cvss/specification-document#Base-Metrics
      * 
* * float base_score = 1; - * * @return The baseScore. */ @java.lang.Override @@ -2147,47 +1920,39 @@ public float getBaseScore() { return baseScore_; } /** - * - * *
      * The base score is a function of the base metric scores.
      * https://www.first.org/cvss/specification-document#Base-Metrics
      * 
* * float base_score = 1; - * * @param value The baseScore to set. * @return This builder for chaining. */ public Builder setBaseScore(float value) { - + baseScore_ = value; onChanged(); return this; } /** - * - * *
      * The base score is a function of the base metric scores.
      * https://www.first.org/cvss/specification-document#Base-Metrics
      * 
* * float base_score = 1; - * * @return This builder for chaining. */ public Builder clearBaseScore() { - + baseScore_ = 0F; onChanged(); return this; } - private float exploitabilityScore_; + private float exploitabilityScore_ ; /** - * - * *
      * The Exploitability sub-score equation is derived from the Base
      * Exploitability metrics.
@@ -2195,7 +1960,6 @@ public Builder clearBaseScore() {
      * 
* * float exploitability_score = 2; - * * @return The exploitabilityScore. */ @java.lang.Override @@ -2203,8 +1967,6 @@ public float getExploitabilityScore() { return exploitabilityScore_; } /** - * - * *
      * The Exploitability sub-score equation is derived from the Base
      * Exploitability metrics.
@@ -2212,19 +1974,16 @@ public float getExploitabilityScore() {
      * 
* * float exploitability_score = 2; - * * @param value The exploitabilityScore to set. * @return This builder for chaining. */ public Builder setExploitabilityScore(float value) { - + exploitabilityScore_ = value; onChanged(); return this; } /** - * - * *
      * The Exploitability sub-score equation is derived from the Base
      * Exploitability metrics.
@@ -2232,26 +1991,22 @@ public Builder setExploitabilityScore(float value) {
      * 
* * float exploitability_score = 2; - * * @return This builder for chaining. */ public Builder clearExploitabilityScore() { - + exploitabilityScore_ = 0F; onChanged(); return this; } - private float impactScore_; + private float impactScore_ ; /** - * - * *
      * The Impact sub-score equation is derived from the Base Impact metrics.
      * 
* * float impact_score = 3; - * * @return The impactScore. */ @java.lang.Override @@ -2259,36 +2014,30 @@ public float getImpactScore() { return impactScore_; } /** - * - * *
      * The Impact sub-score equation is derived from the Base Impact metrics.
      * 
* * float impact_score = 3; - * * @param value The impactScore to set. * @return This builder for chaining. */ public Builder setImpactScore(float value) { - + impactScore_ = value; onChanged(); return this; } /** - * - * *
      * The Impact sub-score equation is derived from the Base Impact metrics.
      * 
* * float impact_score = 3; - * * @return This builder for chaining. */ public Builder clearImpactScore() { - + impactScore_ = 0F; onChanged(); return this; @@ -2296,71 +2045,55 @@ public Builder clearImpactScore() { private int attackVector_ = 0; /** - * - * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackVector attack_vector = 5; - * * @return The enum numeric value on the wire for attackVector. */ - @java.lang.Override - public int getAttackVectorValue() { + @java.lang.Override public int getAttackVectorValue() { return attackVector_; } /** - * - * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackVector attack_vector = 5; - * * @param value The enum numeric value on the wire for attackVector to set. * @return This builder for chaining. */ public Builder setAttackVectorValue(int value) { - + attackVector_ = value; onChanged(); return this; } /** - * - * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackVector attack_vector = 5; - * * @return The attackVector. */ @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.AttackVector getAttackVector() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.AttackVector result = - com.google.cloud.osconfig.v1.CVSSv3.AttackVector.valueOf(attackVector_); - return result == null - ? com.google.cloud.osconfig.v1.CVSSv3.AttackVector.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.CVSSv3.AttackVector result = com.google.cloud.osconfig.v1.CVSSv3.AttackVector.valueOf(attackVector_); + return result == null ? com.google.cloud.osconfig.v1.CVSSv3.AttackVector.UNRECOGNIZED : result; } /** - * - * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackVector attack_vector = 5; - * * @param value The attackVector to set. * @return This builder for chaining. */ @@ -2368,25 +2101,22 @@ public Builder setAttackVector(com.google.cloud.osconfig.v1.CVSSv3.AttackVector if (value == null) { throw new NullPointerException(); } - + attackVector_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackVector attack_vector = 5; - * * @return This builder for chaining. */ public Builder clearAttackVector() { - + attackVector_ = 0; onChanged(); return this; @@ -2394,71 +2124,55 @@ public Builder clearAttackVector() { private int attackComplexity_ = 0; /** - * - * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackComplexity attack_complexity = 6; - * * @return The enum numeric value on the wire for attackComplexity. */ - @java.lang.Override - public int getAttackComplexityValue() { + @java.lang.Override public int getAttackComplexityValue() { return attackComplexity_; } /** - * - * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackComplexity attack_complexity = 6; - * * @param value The enum numeric value on the wire for attackComplexity to set. * @return This builder for chaining. */ public Builder setAttackComplexityValue(int value) { - + attackComplexity_ = value; onChanged(); return this; } /** - * - * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackComplexity attack_complexity = 6; - * * @return The attackComplexity. */ @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity getAttackComplexity() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity result = - com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.valueOf(attackComplexity_); - return result == null - ? com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity result = com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.valueOf(attackComplexity_); + return result == null ? com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.UNRECOGNIZED : result; } /** - * - * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackComplexity attack_complexity = 6; - * * @param value The attackComplexity to set. * @return This builder for chaining. */ @@ -2466,25 +2180,22 @@ public Builder setAttackComplexity(com.google.cloud.osconfig.v1.CVSSv3.AttackCom if (value == null) { throw new NullPointerException(); } - + attackComplexity_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackComplexity attack_complexity = 6; - * * @return This builder for chaining. */ public Builder clearAttackComplexity() { - + attackComplexity_ = 0; onChanged(); return this; @@ -2492,98 +2203,78 @@ public Builder clearAttackComplexity() { private int privilegesRequired_ = 0; /** - * - * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired privileges_required = 7; - * * @return The enum numeric value on the wire for privilegesRequired. */ - @java.lang.Override - public int getPrivilegesRequiredValue() { + @java.lang.Override public int getPrivilegesRequiredValue() { return privilegesRequired_; } /** - * - * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired privileges_required = 7; - * * @param value The enum numeric value on the wire for privilegesRequired to set. * @return This builder for chaining. */ public Builder setPrivilegesRequiredValue(int value) { - + privilegesRequired_ = value; onChanged(); return this; } /** - * - * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired privileges_required = 7; - * * @return The privilegesRequired. */ @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired getPrivilegesRequired() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired result = - com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.valueOf(privilegesRequired_); - return result == null - ? com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired result = com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.valueOf(privilegesRequired_); + return result == null ? com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.UNRECOGNIZED : result; } /** - * - * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired privileges_required = 7; - * * @param value The privilegesRequired to set. * @return This builder for chaining. */ - public Builder setPrivilegesRequired( - com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired value) { + public Builder setPrivilegesRequired(com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired value) { if (value == null) { throw new NullPointerException(); } - + privilegesRequired_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired privileges_required = 7; - * * @return This builder for chaining. */ public Builder clearPrivilegesRequired() { - + privilegesRequired_ = 0; onChanged(); return this; @@ -2591,8 +2282,6 @@ public Builder clearPrivilegesRequired() { private int userInteraction_ = 0; /** - * - * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2600,16 +2289,12 @@ public Builder clearPrivilegesRequired() {
      * 
* * .google.cloud.osconfig.v1.CVSSv3.UserInteraction user_interaction = 8; - * * @return The enum numeric value on the wire for userInteraction. */ - @java.lang.Override - public int getUserInteractionValue() { + @java.lang.Override public int getUserInteractionValue() { return userInteraction_; } /** - * - * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2617,19 +2302,16 @@ public int getUserInteractionValue() {
      * 
* * .google.cloud.osconfig.v1.CVSSv3.UserInteraction user_interaction = 8; - * * @param value The enum numeric value on the wire for userInteraction to set. * @return This builder for chaining. */ public Builder setUserInteractionValue(int value) { - + userInteraction_ = value; onChanged(); return this; } /** - * - * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2637,21 +2319,15 @@ public Builder setUserInteractionValue(int value) {
      * 
* * .google.cloud.osconfig.v1.CVSSv3.UserInteraction user_interaction = 8; - * * @return The userInteraction. */ @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.UserInteraction getUserInteraction() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.UserInteraction result = - com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.valueOf(userInteraction_); - return result == null - ? com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.CVSSv3.UserInteraction result = com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.valueOf(userInteraction_); + return result == null ? com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.UNRECOGNIZED : result; } /** - * - * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2659,7 +2335,6 @@ public com.google.cloud.osconfig.v1.CVSSv3.UserInteraction getUserInteraction()
      * 
* * .google.cloud.osconfig.v1.CVSSv3.UserInteraction user_interaction = 8; - * * @param value The userInteraction to set. * @return This builder for chaining. */ @@ -2667,14 +2342,12 @@ public Builder setUserInteraction(com.google.cloud.osconfig.v1.CVSSv3.UserIntera if (value == null) { throw new NullPointerException(); } - + userInteraction_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2682,11 +2355,10 @@ public Builder setUserInteraction(com.google.cloud.osconfig.v1.CVSSv3.UserIntera
      * 
* * .google.cloud.osconfig.v1.CVSSv3.UserInteraction user_interaction = 8; - * * @return This builder for chaining. */ public Builder clearUserInteraction() { - + userInteraction_ = 0; onChanged(); return this; @@ -2694,69 +2366,55 @@ public Builder clearUserInteraction() { private int scope_ = 0; /** - * - * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Scope scope = 9; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Scope scope = 9; - * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); return this; } /** - * - * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Scope scope = 9; - * * @return The scope. */ @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.Scope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.Scope result = - com.google.cloud.osconfig.v1.CVSSv3.Scope.valueOf(scope_); + com.google.cloud.osconfig.v1.CVSSv3.Scope result = com.google.cloud.osconfig.v1.CVSSv3.Scope.valueOf(scope_); return result == null ? com.google.cloud.osconfig.v1.CVSSv3.Scope.UNRECOGNIZED : result; } /** - * - * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Scope scope = 9; - * * @param value The scope to set. * @return This builder for chaining. */ @@ -2764,25 +2422,22 @@ public Builder setScope(com.google.cloud.osconfig.v1.CVSSv3.Scope value) { if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Scope scope = 9; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = 0; onChanged(); return this; @@ -2790,8 +2445,6 @@ public Builder clearScope() { private int confidentialityImpact_ = 0; /** - * - * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2799,16 +2452,12 @@ public Builder clearScope() {
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact confidentiality_impact = 10; - * * @return The enum numeric value on the wire for confidentialityImpact. */ - @java.lang.Override - public int getConfidentialityImpactValue() { + @java.lang.Override public int getConfidentialityImpactValue() { return confidentialityImpact_; } /** - * - * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2816,19 +2465,16 @@ public int getConfidentialityImpactValue() {
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact confidentiality_impact = 10; - * * @param value The enum numeric value on the wire for confidentialityImpact to set. * @return This builder for chaining. */ public Builder setConfidentialityImpactValue(int value) { - + confidentialityImpact_ = value; onChanged(); return this; } /** - * - * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2836,19 +2482,15 @@ public Builder setConfidentialityImpactValue(int value) {
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact confidentiality_impact = 10; - * * @return The confidentialityImpact. */ @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.Impact getConfidentialityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.Impact result = - com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(confidentialityImpact_); + com.google.cloud.osconfig.v1.CVSSv3.Impact result = com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(confidentialityImpact_); return result == null ? com.google.cloud.osconfig.v1.CVSSv3.Impact.UNRECOGNIZED : result; } /** - * - * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2856,7 +2498,6 @@ public com.google.cloud.osconfig.v1.CVSSv3.Impact getConfidentialityImpact() {
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact confidentiality_impact = 10; - * * @param value The confidentialityImpact to set. * @return This builder for chaining. */ @@ -2864,14 +2505,12 @@ public Builder setConfidentialityImpact(com.google.cloud.osconfig.v1.CVSSv3.Impa if (value == null) { throw new NullPointerException(); } - + confidentialityImpact_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2879,11 +2518,10 @@ public Builder setConfidentialityImpact(com.google.cloud.osconfig.v1.CVSSv3.Impa
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact confidentiality_impact = 10; - * * @return This builder for chaining. */ public Builder clearConfidentialityImpact() { - + confidentialityImpact_ = 0; onChanged(); return this; @@ -2891,69 +2529,55 @@ public Builder clearConfidentialityImpact() { private int integrityImpact_ = 0; /** - * - * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact integrity_impact = 11; - * * @return The enum numeric value on the wire for integrityImpact. */ - @java.lang.Override - public int getIntegrityImpactValue() { + @java.lang.Override public int getIntegrityImpactValue() { return integrityImpact_; } /** - * - * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact integrity_impact = 11; - * * @param value The enum numeric value on the wire for integrityImpact to set. * @return This builder for chaining. */ public Builder setIntegrityImpactValue(int value) { - + integrityImpact_ = value; onChanged(); return this; } /** - * - * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact integrity_impact = 11; - * * @return The integrityImpact. */ @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.Impact getIntegrityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.Impact result = - com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(integrityImpact_); + com.google.cloud.osconfig.v1.CVSSv3.Impact result = com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(integrityImpact_); return result == null ? com.google.cloud.osconfig.v1.CVSSv3.Impact.UNRECOGNIZED : result; } /** - * - * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact integrity_impact = 11; - * * @param value The integrityImpact to set. * @return This builder for chaining. */ @@ -2961,25 +2585,22 @@ public Builder setIntegrityImpact(com.google.cloud.osconfig.v1.CVSSv3.Impact val if (value == null) { throw new NullPointerException(); } - + integrityImpact_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact integrity_impact = 11; - * * @return This builder for chaining. */ public Builder clearIntegrityImpact() { - + integrityImpact_ = 0; onChanged(); return this; @@ -2987,69 +2608,55 @@ public Builder clearIntegrityImpact() { private int availabilityImpact_ = 0; /** - * - * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact availability_impact = 12; - * * @return The enum numeric value on the wire for availabilityImpact. */ - @java.lang.Override - public int getAvailabilityImpactValue() { + @java.lang.Override public int getAvailabilityImpactValue() { return availabilityImpact_; } /** - * - * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact availability_impact = 12; - * * @param value The enum numeric value on the wire for availabilityImpact to set. * @return This builder for chaining. */ public Builder setAvailabilityImpactValue(int value) { - + availabilityImpact_ = value; onChanged(); return this; } /** - * - * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact availability_impact = 12; - * * @return The availabilityImpact. */ @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.Impact getAvailabilityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.Impact result = - com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(availabilityImpact_); + com.google.cloud.osconfig.v1.CVSSv3.Impact result = com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(availabilityImpact_); return result == null ? com.google.cloud.osconfig.v1.CVSSv3.Impact.UNRECOGNIZED : result; } /** - * - * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact availability_impact = 12; - * * @param value The availabilityImpact to set. * @return This builder for chaining. */ @@ -3057,32 +2664,29 @@ public Builder setAvailabilityImpact(com.google.cloud.osconfig.v1.CVSSv3.Impact if (value == null) { throw new NullPointerException(); } - + availabilityImpact_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact availability_impact = 12; - * * @return This builder for chaining. */ public Builder clearAvailabilityImpact() { - + availabilityImpact_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3092,12 +2696,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.CVSSv3) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.CVSSv3) private static final com.google.cloud.osconfig.v1.CVSSv3 DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.CVSSv3(); } @@ -3106,16 +2710,16 @@ public static com.google.cloud.osconfig.v1.CVSSv3 getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CVSSv3 parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CVSSv3(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CVSSv3 parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CVSSv3(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3130,4 +2734,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.CVSSv3 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3OrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3OrBuilder.java similarity index 88% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3OrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3OrBuilder.java index e0fa86d1..b27303a3 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3OrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3OrBuilder.java @@ -1,45 +1,24 @@ -/* - * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; -public interface CVSSv3OrBuilder - extends +public interface CVSSv3OrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.CVSSv3) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The base score is a function of the base metric scores.
    * https://www.first.org/cvss/specification-document#Base-Metrics
    * 
* * float base_score = 1; - * * @return The baseScore. */ float getBaseScore(); /** - * - * *
    * The Exploitability sub-score equation is derived from the Base
    * Exploitability metrics.
@@ -47,108 +26,84 @@ public interface CVSSv3OrBuilder
    * 
* * float exploitability_score = 2; - * * @return The exploitabilityScore. */ float getExploitabilityScore(); /** - * - * *
    * The Impact sub-score equation is derived from the Base Impact metrics.
    * 
* * float impact_score = 3; - * * @return The impactScore. */ float getImpactScore(); /** - * - * *
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackVector attack_vector = 5; - * * @return The enum numeric value on the wire for attackVector. */ int getAttackVectorValue(); /** - * - * *
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackVector attack_vector = 5; - * * @return The attackVector. */ com.google.cloud.osconfig.v1.CVSSv3.AttackVector getAttackVector(); /** - * - * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackComplexity attack_complexity = 6; - * * @return The enum numeric value on the wire for attackComplexity. */ int getAttackComplexityValue(); /** - * - * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackComplexity attack_complexity = 6; - * * @return The attackComplexity. */ com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity getAttackComplexity(); /** - * - * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired privileges_required = 7; - * * @return The enum numeric value on the wire for privilegesRequired. */ int getPrivilegesRequiredValue(); /** - * - * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired privileges_required = 7; - * * @return The privilegesRequired. */ com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired getPrivilegesRequired(); /** - * - * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -156,13 +111,10 @@ public interface CVSSv3OrBuilder
    * 
* * .google.cloud.osconfig.v1.CVSSv3.UserInteraction user_interaction = 8; - * * @return The enum numeric value on the wire for userInteraction. */ int getUserInteractionValue(); /** - * - * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -170,41 +122,32 @@ public interface CVSSv3OrBuilder
    * 
* * .google.cloud.osconfig.v1.CVSSv3.UserInteraction user_interaction = 8; - * * @return The userInteraction. */ com.google.cloud.osconfig.v1.CVSSv3.UserInteraction getUserInteraction(); /** - * - * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Scope scope = 9; - * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** - * - * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Scope scope = 9; - * * @return The scope. */ com.google.cloud.osconfig.v1.CVSSv3.Scope getScope(); /** - * - * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -212,13 +155,10 @@ public interface CVSSv3OrBuilder
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact confidentiality_impact = 10; - * * @return The enum numeric value on the wire for confidentialityImpact. */ int getConfidentialityImpactValue(); /** - * - * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -226,61 +166,48 @@ public interface CVSSv3OrBuilder
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact confidentiality_impact = 10; - * * @return The confidentialityImpact. */ com.google.cloud.osconfig.v1.CVSSv3.Impact getConfidentialityImpact(); /** - * - * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact integrity_impact = 11; - * * @return The enum numeric value on the wire for integrityImpact. */ int getIntegrityImpactValue(); /** - * - * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact integrity_impact = 11; - * * @return The integrityImpact. */ com.google.cloud.osconfig.v1.CVSSv3.Impact getIntegrityImpact(); /** - * - * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact availability_impact = 12; - * * @return The enum numeric value on the wire for availabilityImpact. */ int getAvailabilityImpactValue(); /** - * - * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact availability_impact = 12; - * * @return The availabilityImpact. */ com.google.cloud.osconfig.v1.CVSSv3.Impact getAvailabilityImpact(); diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java similarity index 69% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java index 6864f2c9..206c4689 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java @@ -1,18 +1,3 @@ -/* - * 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/osconfig/v1/osconfig_common.proto @@ -20,66 +5,55 @@ public final class Common { private Common() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { } - public interface FixedOrPercentOrBuilder - extends + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface FixedOrPercentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.FixedOrPercent) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; - * * @return Whether the fixed field is set. */ boolean hasFixed(); /** - * - * *
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; - * * @return The fixed. */ int getFixed(); /** - * - * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; - * * @return Whether the percent field is set. */ boolean hasPercent(); /** - * - * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; - * * @return The percent. */ int getPercent(); @@ -87,8 +61,6 @@ public interface FixedOrPercentOrBuilder public com.google.cloud.osconfig.v1.Common.FixedOrPercent.ModeCase getModeCase(); } /** - * - * *
    * Message encapsulating a value that can be either absolute ("fixed") or
    * relative ("percent") to a value.
@@ -96,29 +68,30 @@ public interface FixedOrPercentOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1.FixedOrPercent}
    */
-  public static final class FixedOrPercent extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class FixedOrPercent extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.FixedOrPercent)
       FixedOrPercentOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use FixedOrPercent.newBuilder() to construct.
     private FixedOrPercent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private FixedOrPercent() {}
+    private FixedOrPercent() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new FixedOrPercent();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private FixedOrPercent(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -137,25 +110,23 @@ private FixedOrPercent(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                mode_ = input.readInt32();
-                modeCase_ = 1;
-                break;
-              }
-            case 16:
-              {
-                mode_ = input.readInt32();
-                modeCase_ = 2;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+            case 8: {
+              mode_ = input.readInt32();
+              modeCase_ = 1;
+              break;
+            }
+            case 16: {
+              mode_ = input.readInt32();
+              modeCase_ = 2;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -163,40 +134,35 @@ private FixedOrPercent(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.Common
-          .internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.Common.internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.Common
-          .internal_static_google_cloud_osconfig_v1_FixedOrPercent_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.Common.internal_static_google_cloud_osconfig_v1_FixedOrPercent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.Common.FixedOrPercent.class,
-              com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder.class);
+              com.google.cloud.osconfig.v1.Common.FixedOrPercent.class, com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder.class);
     }
 
     private int modeCase_ = 0;
     private java.lang.Object mode_;
-
     public enum ModeCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       FIXED(1),
       PERCENT(2),
       MODE_NOT_SET(0);
       private final int value;
-
       private ModeCase(int value) {
         this.value = value;
       }
@@ -212,36 +178,30 @@ public static ModeCase valueOf(int value) {
 
       public static ModeCase forNumber(int value) {
         switch (value) {
-          case 1:
-            return FIXED;
-          case 2:
-            return PERCENT;
-          case 0:
-            return MODE_NOT_SET;
-          default:
-            return null;
+          case 1: return FIXED;
+          case 2: return PERCENT;
+          case 0: return MODE_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ModeCase getModeCase() {
-      return ModeCase.forNumber(modeCase_);
+    public ModeCase
+    getModeCase() {
+      return ModeCase.forNumber(
+          modeCase_);
     }
 
     public static final int FIXED_FIELD_NUMBER = 1;
     /**
-     *
-     *
      * 
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; - * * @return Whether the fixed field is set. */ @java.lang.Override @@ -249,14 +209,11 @@ public boolean hasFixed() { return modeCase_ == 1; } /** - * - * *
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; - * * @return The fixed. */ @java.lang.Override @@ -269,15 +226,12 @@ public int getFixed() { public static final int PERCENT_FIELD_NUMBER = 2; /** - * - * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; - * * @return Whether the percent field is set. */ @java.lang.Override @@ -285,15 +239,12 @@ public boolean hasPercent() { return modeCase_ == 2; } /** - * - * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; - * * @return The percent. */ @java.lang.Override @@ -305,7 +256,6 @@ public int getPercent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -317,12 +267,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (modeCase_ == 1) { - output.writeInt32(1, (int) ((java.lang.Integer) mode_)); + output.writeInt32( + 1, (int)((java.lang.Integer) mode_)); } if (modeCase_ == 2) { - output.writeInt32(2, (int) ((java.lang.Integer) mode_)); + output.writeInt32( + 2, (int)((java.lang.Integer) mode_)); } unknownFields.writeTo(output); } @@ -334,14 +287,14 @@ public int getSerializedSize() { size = 0; if (modeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 1, (int) ((java.lang.Integer) mode_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 1, (int)((java.lang.Integer) mode_)); } if (modeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 2, (int) ((java.lang.Integer) mode_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 2, (int)((java.lang.Integer) mode_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -351,21 +304,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.Common.FixedOrPercent)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Common.FixedOrPercent other = - (com.google.cloud.osconfig.v1.Common.FixedOrPercent) obj; + com.google.cloud.osconfig.v1.Common.FixedOrPercent other = (com.google.cloud.osconfig.v1.Common.FixedOrPercent) obj; if (!getModeCase().equals(other.getModeCase())) return false; switch (modeCase_) { case 1: - if (getFixed() != other.getFixed()) return false; + if (getFixed() + != other.getFixed()) return false; break; case 2: - if (getPercent() != other.getPercent()) return false; + if (getPercent() + != other.getPercent()) return false; break; case 0: default: @@ -399,93 +353,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Common.FixedOrPercent 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.osconfig.v1.Common.FixedOrPercent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.Common.FixedOrPercent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -495,8 +443,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Message encapsulating a value that can be either absolute ("fixed") or
      * relative ("percent") to a value.
@@ -504,24 +450,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.FixedOrPercent}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.FixedOrPercent)
         com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.Common
-            .internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.Common.internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.Common
-            .internal_static_google_cloud_osconfig_v1_FixedOrPercent_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.Common.internal_static_google_cloud_osconfig_v1_FixedOrPercent_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.Common.FixedOrPercent.class,
-                com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder.class);
+                com.google.cloud.osconfig.v1.Common.FixedOrPercent.class, com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.Common.FixedOrPercent.newBuilder()
@@ -529,15 +472,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -547,9 +491,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.Common
-            .internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.Common.internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor;
       }
 
       @java.lang.Override
@@ -568,8 +512,7 @@ public com.google.cloud.osconfig.v1.Common.FixedOrPercent build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.Common.FixedOrPercent buildPartial() {
-        com.google.cloud.osconfig.v1.Common.FixedOrPercent result =
-            new com.google.cloud.osconfig.v1.Common.FixedOrPercent(this);
+        com.google.cloud.osconfig.v1.Common.FixedOrPercent result = new com.google.cloud.osconfig.v1.Common.FixedOrPercent(this);
         if (modeCase_ == 1) {
           result.mode_ = mode_;
         }
@@ -585,41 +528,38 @@ public com.google.cloud.osconfig.v1.Common.FixedOrPercent buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.Common.FixedOrPercent) {
-          return mergeFrom((com.google.cloud.osconfig.v1.Common.FixedOrPercent) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.Common.FixedOrPercent)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -627,23 +567,19 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.Common.FixedOrPercent other) {
-        if (other == com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance()) return this;
         switch (other.getModeCase()) {
-          case FIXED:
-            {
-              setFixed(other.getFixed());
-              break;
-            }
-          case PERCENT:
-            {
-              setPercent(other.getPercent());
-              break;
-            }
-          case MODE_NOT_SET:
-            {
-              break;
-            }
+          case FIXED: {
+            setFixed(other.getFixed());
+            break;
+          }
+          case PERCENT: {
+            setPercent(other.getPercent());
+            break;
+          }
+          case MODE_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -664,8 +600,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.Common.FixedOrPercent) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.Common.FixedOrPercent) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -674,12 +609,12 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int modeCase_ = 0;
       private java.lang.Object mode_;
-
-      public ModeCase getModeCase() {
-        return ModeCase.forNumber(modeCase_);
+      public ModeCase
+          getModeCase() {
+        return ModeCase.forNumber(
+            modeCase_);
       }
 
       public Builder clearMode() {
@@ -689,29 +624,24 @@ public Builder clearMode() {
         return this;
       }
 
+
       /**
-       *
-       *
        * 
        * Specifies a fixed value.
        * 
* * int32 fixed = 1; - * * @return Whether the fixed field is set. */ public boolean hasFixed() { return modeCase_ == 1; } /** - * - * *
        * Specifies a fixed value.
        * 
* * int32 fixed = 1; - * * @return The fixed. */ public int getFixed() { @@ -721,14 +651,11 @@ public int getFixed() { return 0; } /** - * - * *
        * Specifies a fixed value.
        * 
* * int32 fixed = 1; - * * @param value The fixed to set. * @return This builder for chaining. */ @@ -739,14 +666,11 @@ public Builder setFixed(int value) { return this; } /** - * - * *
        * Specifies a fixed value.
        * 
* * int32 fixed = 1; - * * @return This builder for chaining. */ public Builder clearFixed() { @@ -759,30 +683,24 @@ public Builder clearFixed() { } /** - * - * *
        * Specifies the relative value defined as a percentage, which will be
        * multiplied by a reference value.
        * 
* * int32 percent = 2; - * * @return Whether the percent field is set. */ public boolean hasPercent() { return modeCase_ == 2; } /** - * - * *
        * Specifies the relative value defined as a percentage, which will be
        * multiplied by a reference value.
        * 
* * int32 percent = 2; - * * @return The percent. */ public int getPercent() { @@ -792,15 +710,12 @@ public int getPercent() { return 0; } /** - * - * *
        * Specifies the relative value defined as a percentage, which will be
        * multiplied by a reference value.
        * 
* * int32 percent = 2; - * * @param value The percent to set. * @return This builder for chaining. */ @@ -811,15 +726,12 @@ public Builder setPercent(int value) { return this; } /** - * - * *
        * Specifies the relative value defined as a percentage, which will be
        * multiplied by a reference value.
        * 
* * int32 percent = 2; - * * @return This builder for chaining. */ public Builder clearPercent() { @@ -830,7 +742,6 @@ public Builder clearPercent() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -843,12 +754,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.FixedOrPercent) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.FixedOrPercent) private static final com.google.cloud.osconfig.v1.Common.FixedOrPercent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Common.FixedOrPercent(); } @@ -857,16 +768,16 @@ public static com.google.cloud.osconfig.v1.Common.FixedOrPercent getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FixedOrPercent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FixedOrPercent(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FixedOrPercent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FixedOrPercent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -881,42 +792,43 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.Common.FixedOrPercent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_FixedOrPercent_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { return descriptor; } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; static { java.lang.String[] descriptorData = { - "\n.google/cloud/osconfig/v1/osconfig_comm" - + "on.proto\022\030google.cloud.osconfig.v1\"<\n\016Fi" - + "xedOrPercent\022\017\n\005fixed\030\001 \001(\005H\000\022\021\n\007percent" - + "\030\002 \001(\005H\000B\006\n\004modeB\274\001\n\034com.google.cloud.os" - + "config.v1B\006CommonZ@google.golang.org/gen" - + "proto/googleapis/cloud/osconfig/v1;oscon" - + "fig\252\002\030Google.Cloud.OsConfig.V1\312\002\030Google\\" - + "Cloud\\OsConfig\\V1\352\002\033Google::Cloud::OsCon" - + "fig::V1b\006proto3" + "\n.google/cloud/osconfig/v1/osconfig_comm" + + "on.proto\022\030google.cloud.osconfig.v1\"<\n\016Fi" + + "xedOrPercent\022\017\n\005fixed\030\001 \001(\005H\000\022\021\n\007percent" + + "\030\002 \001(\005H\000B\006\n\004modeB\274\001\n\034com.google.cloud.os" + + "config.v1B\006CommonZ@google.golang.org/gen" + + "proto/googleapis/cloud/osconfig/v1;oscon" + + "fig\252\002\030Google.Cloud.OsConfig.V1\312\002\030Google\\" + + "Cloud\\OsConfig\\V1\352\002\033Google::Cloud::OsCon" + + "fig::V1b\006proto3" }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1_FixedOrPercent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor, - new java.lang.String[] { - "Fixed", "Percent", "Mode", - }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1_FixedOrPercent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor, + new java.lang.String[] { "Fixed", "Percent", "Mode", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequest.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequest.java similarity index 66% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequest.java index 1835ca3f..10269b31 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequest.java @@ -1,43 +1,24 @@ -/* - * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * A request message to create an OS policy assignment
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest} */ -public final class CreateOSPolicyAssignmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateOSPolicyAssignmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) CreateOSPolicyAssignmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateOSPolicyAssignmentRequest.newBuilder() to construct. - private CreateOSPolicyAssignmentRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateOSPolicyAssignmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateOSPolicyAssignmentRequest() { parent_ = ""; osPolicyAssignmentId_ = ""; @@ -45,15 +26,16 @@ private CreateOSPolicyAssignmentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateOSPolicyAssignmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateOSPolicyAssignmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,43 +54,38 @@ private CreateOSPolicyAssignmentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder subBuilder = null; + if (osPolicyAssignment_ != null) { + subBuilder = osPolicyAssignment_.toBuilder(); } - case 18: - { - com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder subBuilder = null; - if (osPolicyAssignment_ != null) { - subBuilder = osPolicyAssignment_.toBuilder(); - } - osPolicyAssignment_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicyAssignment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(osPolicyAssignment_); - osPolicyAssignment_ = subBuilder.buildPartial(); - } - - break; + osPolicyAssignment_ = input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(osPolicyAssignment_); + osPolicyAssignment_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - osPolicyAssignmentId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + osPolicyAssignmentId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,42 +93,35 @@ private CreateOSPolicyAssignmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.class, - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource name in the form:
    * projects/{project}/locations/{location}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -160,32 +130,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource name in the form:
    * projects/{project}/locations/{location}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -196,16 +164,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1.OSPolicyAssignment osPolicyAssignment_; /** - * - * *
    * Required. The OS policy assignment to be created.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the osPolicyAssignment field is set. */ @java.lang.Override @@ -213,34 +176,23 @@ public boolean hasOsPolicyAssignment() { return osPolicyAssignment_ != null; } /** - * - * *
    * Required. The OS policy assignment to be created.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The osPolicyAssignment. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignment() { - return osPolicyAssignment_ == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() - : osPolicyAssignment_; + return osPolicyAssignment_ == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; } /** - * - * *
    * Required. The OS policy assignment to be created.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder() { @@ -250,8 +202,6 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig public static final int OS_POLICY_ASSIGNMENT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object osPolicyAssignmentId_; /** - * - * *
    * Required. The logical name of the OS policy assignment in the project
    * with the following restrictions:
@@ -263,7 +213,6 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig
    * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The osPolicyAssignmentId. */ @java.lang.Override @@ -272,15 +221,14 @@ public java.lang.String getOsPolicyAssignmentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignmentId_ = s; return s; } } /** - * - * *
    * Required. The logical name of the OS policy assignment in the project
    * with the following restrictions:
@@ -292,15 +240,16 @@ public java.lang.String getOsPolicyAssignmentId() {
    * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for osPolicyAssignmentId. */ @java.lang.Override - public com.google.protobuf.ByteString getOsPolicyAssignmentIdBytes() { + public com.google.protobuf.ByteString + getOsPolicyAssignmentIdBytes() { java.lang.Object ref = osPolicyAssignmentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyAssignmentId_ = b; return b; } else { @@ -309,7 +258,6 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -321,7 +269,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -344,7 +293,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (osPolicyAssignment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOsPolicyAssignment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOsPolicyAssignment()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyAssignmentId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, osPolicyAssignmentId_); @@ -357,20 +307,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest other = - (com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) obj; + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest other = (com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasOsPolicyAssignment() != other.hasOsPolicyAssignment()) return false; if (hasOsPolicyAssignment()) { - if (!getOsPolicyAssignment().equals(other.getOsPolicyAssignment())) return false; + if (!getOsPolicyAssignment() + .equals(other.getOsPolicyAssignment())) return false; } - if (!getOsPolicyAssignmentId().equals(other.getOsPolicyAssignmentId())) return false; + if (!getOsPolicyAssignmentId() + .equals(other.getOsPolicyAssignmentId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -396,127 +348,117 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest 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.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message to create an OS policy assignment
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.class, - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.newBuilder() @@ -524,15 +466,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -550,14 +493,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.getDefaultInstance(); } @@ -572,8 +514,7 @@ public com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest buildPartial() { - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest result = - new com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest(this); + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest result = new com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest(this); result.parent_ = parent_; if (osPolicyAssignmentBuilder_ == null) { result.osPolicyAssignment_ = osPolicyAssignment_; @@ -589,39 +530,38 @@ public com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.CreateOSPolicyAssignmentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest)other); } else { super.mergeFrom(other); return this; @@ -629,9 +569,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest other) { - if (other - == com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -662,8 +600,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -675,23 +612,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -700,24 +633,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -725,70 +655,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -796,58 +713,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.osconfig.v1.OSPolicyAssignment osPolicyAssignment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, - com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> - osPolicyAssignmentBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> osPolicyAssignmentBuilder_; /** - * - * *
      * Required. The OS policy assignment to be created.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the osPolicyAssignment field is set. */ public boolean hasOsPolicyAssignment() { return osPolicyAssignmentBuilder_ != null || osPolicyAssignment_ != null; } /** - * - * *
      * Required. The OS policy assignment to be created.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The osPolicyAssignment. */ public com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignment() { if (osPolicyAssignmentBuilder_ == null) { - return osPolicyAssignment_ == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() - : osPolicyAssignment_; + return osPolicyAssignment_ == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; } else { return osPolicyAssignmentBuilder_.getMessage(); } } /** - * - * *
      * Required. The OS policy assignment to be created.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOsPolicyAssignment(com.google.cloud.osconfig.v1.OSPolicyAssignment value) { if (osPolicyAssignmentBuilder_ == null) { @@ -863,15 +761,11 @@ public Builder setOsPolicyAssignment(com.google.cloud.osconfig.v1.OSPolicyAssign return this; } /** - * - * *
      * Required. The OS policy assignment to be created.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOsPolicyAssignment( com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder builderForValue) { @@ -885,23 +779,17 @@ public Builder setOsPolicyAssignment( return this; } /** - * - * *
      * Required. The OS policy assignment to be created.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeOsPolicyAssignment(com.google.cloud.osconfig.v1.OSPolicyAssignment value) { if (osPolicyAssignmentBuilder_ == null) { if (osPolicyAssignment_ != null) { osPolicyAssignment_ = - com.google.cloud.osconfig.v1.OSPolicyAssignment.newBuilder(osPolicyAssignment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.OSPolicyAssignment.newBuilder(osPolicyAssignment_).mergeFrom(value).buildPartial(); } else { osPolicyAssignment_ = value; } @@ -913,15 +801,11 @@ public Builder mergeOsPolicyAssignment(com.google.cloud.osconfig.v1.OSPolicyAssi return this; } /** - * - * *
      * Required. The OS policy assignment to be created.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOsPolicyAssignment() { if (osPolicyAssignmentBuilder_ == null) { @@ -935,65 +819,48 @@ public Builder clearOsPolicyAssignment() { return this; } /** - * - * *
      * Required. The OS policy assignment to be created.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder getOsPolicyAssignmentBuilder() { - + onChanged(); return getOsPolicyAssignmentFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The OS policy assignment to be created.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder - getOsPolicyAssignmentOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder() { if (osPolicyAssignmentBuilder_ != null) { return osPolicyAssignmentBuilder_.getMessageOrBuilder(); } else { - return osPolicyAssignment_ == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() - : osPolicyAssignment_; + return osPolicyAssignment_ == null ? + com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; } } /** - * - * *
      * Required. The OS policy assignment to be created.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, - com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentFieldBuilder() { if (osPolicyAssignmentBuilder_ == null) { - osPolicyAssignmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, - com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder>( - getOsPolicyAssignment(), getParentForChildren(), isClean()); + osPolicyAssignmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder>( + getOsPolicyAssignment(), + getParentForChildren(), + isClean()); osPolicyAssignment_ = null; } return osPolicyAssignmentBuilder_; @@ -1001,8 +868,6 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder getOsPolicyAssign private java.lang.Object osPolicyAssignmentId_ = ""; /** - * - * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -1014,13 +879,13 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder getOsPolicyAssign
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The osPolicyAssignmentId. */ public java.lang.String getOsPolicyAssignmentId() { java.lang.Object ref = osPolicyAssignmentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignmentId_ = s; return s; @@ -1029,8 +894,6 @@ public java.lang.String getOsPolicyAssignmentId() { } } /** - * - * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -1042,14 +905,15 @@ public java.lang.String getOsPolicyAssignmentId() {
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for osPolicyAssignmentId. */ - public com.google.protobuf.ByteString getOsPolicyAssignmentIdBytes() { + public com.google.protobuf.ByteString + getOsPolicyAssignmentIdBytes() { java.lang.Object ref = osPolicyAssignmentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyAssignmentId_ = b; return b; } else { @@ -1057,8 +921,6 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentIdBytes() { } } /** - * - * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -1070,22 +932,20 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentIdBytes() {
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The osPolicyAssignmentId to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignmentId(java.lang.String value) { + public Builder setOsPolicyAssignmentId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyAssignmentId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -1097,18 +957,15 @@ public Builder setOsPolicyAssignmentId(java.lang.String value) {
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearOsPolicyAssignmentId() { - + osPolicyAssignmentId_ = getDefaultInstance().getOsPolicyAssignmentId(); onChanged(); return this; } /** - * - * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -1120,23 +977,23 @@ public Builder clearOsPolicyAssignmentId() {
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for osPolicyAssignmentId to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignmentIdBytes(com.google.protobuf.ByteString value) { + public Builder setOsPolicyAssignmentIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyAssignmentId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1146,13 +1003,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) - private static final com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest(); } @@ -1161,16 +1017,16 @@ public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateOSPolicyAssignmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateOSPolicyAssignmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateOSPolicyAssignmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateOSPolicyAssignmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1185,4 +1041,6 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequestOrBuilder.java similarity index 59% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequestOrBuilder.java index 7c5210cc..f88cb58f 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequestOrBuilder.java @@ -1,103 +1,62 @@ -/* - * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; -public interface CreateOSPolicyAssignmentRequestOrBuilder - extends +public interface CreateOSPolicyAssignmentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource name in the form:
    * projects/{project}/locations/{location}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource name in the form:
    * projects/{project}/locations/{location}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The OS policy assignment to be created.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the osPolicyAssignment field is set. */ boolean hasOsPolicyAssignment(); /** - * - * *
    * Required. The OS policy assignment to be created.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The osPolicyAssignment. */ com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignment(); /** - * - * *
    * Required. The OS policy assignment to be created.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder(); /** - * - * *
    * Required. The logical name of the OS policy assignment in the project
    * with the following restrictions:
@@ -109,13 +68,10 @@ public interface CreateOSPolicyAssignmentRequestOrBuilder
    * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The osPolicyAssignmentId. */ java.lang.String getOsPolicyAssignmentId(); /** - * - * *
    * Required. The logical name of the OS policy assignment in the project
    * with the following restrictions:
@@ -127,8 +83,8 @@ public interface CreateOSPolicyAssignmentRequestOrBuilder
    * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for osPolicyAssignmentId. */ - com.google.protobuf.ByteString getOsPolicyAssignmentIdBytes(); + com.google.protobuf.ByteString + getOsPolicyAssignmentIdBytes(); } diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequest.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequest.java similarity index 64% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequest.java index 9baea6aa..46eb5e6e 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequest.java @@ -1,58 +1,40 @@ -/* - * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * A request message for deleting a OS policy assignment.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest} */ -public final class DeleteOSPolicyAssignmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteOSPolicyAssignmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) DeleteOSPolicyAssignmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteOSPolicyAssignmentRequest.newBuilder() to construct. - private DeleteOSPolicyAssignmentRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteOSPolicyAssignmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteOSPolicyAssignmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteOSPolicyAssignmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteOSPolicyAssignmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private DeleteOSPolicyAssignmentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,41 +73,34 @@ private DeleteOSPolicyAssignmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.class, - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the OS policy assignment to be deleted
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the OS policy assignment to be deleted
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -168,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -204,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest other = - (com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) obj; + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest other = (com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest 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.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message for deleting a OS policy assignment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.class, - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.newBuilder() @@ -360,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.getDefaultInstance(); } @@ -400,8 +362,7 @@ public com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest buildPartial() { - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest result = - new com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest(this); + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest result = new com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +372,38 @@ public com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.DeleteOSPolicyAssignmentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest)other); } else { super.mergeFrom(other); return this; @@ -451,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest other) { - if (other - == com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -477,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -490,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -615,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) - private static final com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest(); } @@ -630,16 +566,16 @@ public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteOSPolicyAssignmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteOSPolicyAssignmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteOSPolicyAssignmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteOSPolicyAssignmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +590,6 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequestOrBuilder.java new file mode 100644 index 00000000..7e024db3 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/osconfig/v1/os_policy_assignments.proto + +package com.google.cloud.osconfig.v1; + +public interface DeleteOSPolicyAssignmentRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the OS policy assignment to be deleted
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the OS policy assignment to be deleted
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequest.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequest.java similarity index 69% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequest.java index 22121b45..9863fd10 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequest.java @@ -1,42 +1,24 @@ -/* - * 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/osconfig/v1/inventory.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * A request message for getting inventory data for the specified VM.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetInventoryRequest} */ -public final class GetInventoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetInventoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.GetInventoryRequest) GetInventoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetInventoryRequest.newBuilder() to construct. private GetInventoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetInventoryRequest() { name_ = ""; view_ = 0; @@ -44,15 +26,16 @@ private GetInventoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetInventoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetInventoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetInventoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,33 +80,29 @@ private GetInventoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_GetInventoryRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_GetInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.GetInventoryRequest.class, - com.google.cloud.osconfig.v1.GetInventoryRequest.Builder.class); + com.google.cloud.osconfig.v1.GetInventoryRequest.class, com.google.cloud.osconfig.v1.GetInventoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. API resource name for inventory resource.
    * Format:
@@ -135,10 +112,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * can be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -147,15 +121,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. API resource name for inventory resource.
    * Format:
@@ -165,18 +138,17 @@ public java.lang.String getName() {
    * can be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -187,43 +159,33 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** - * - * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.InventoryView getView() { + @java.lang.Override public com.google.cloud.osconfig.v1.InventoryView getView() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.InventoryView result = - com.google.cloud.osconfig.v1.InventoryView.valueOf(view_); + com.google.cloud.osconfig.v1.InventoryView result = com.google.cloud.osconfig.v1.InventoryView.valueOf(view_); return result == null ? com.google.cloud.osconfig.v1.InventoryView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,12 +197,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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 (view_ - != com.google.cloud.osconfig.v1.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { + if (view_ != com.google.cloud.osconfig.v1.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -255,9 +217,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.cloud.osconfig.v1.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.cloud.osconfig.v1.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -267,15 +229,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.GetInventoryRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.GetInventoryRequest other = - (com.google.cloud.osconfig.v1.GetInventoryRequest) obj; + com.google.cloud.osconfig.v1.GetInventoryRequest other = (com.google.cloud.osconfig.v1.GetInventoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -297,127 +259,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.GetInventoryRequest 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.osconfig.v1.GetInventoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.GetInventoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.GetInventoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.GetInventoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.GetInventoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message for getting inventory data for the specified VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetInventoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.GetInventoryRequest) com.google.cloud.osconfig.v1.GetInventoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_GetInventoryRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_GetInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.GetInventoryRequest.class, - com.google.cloud.osconfig.v1.GetInventoryRequest.Builder.class); + com.google.cloud.osconfig.v1.GetInventoryRequest.class, com.google.cloud.osconfig.v1.GetInventoryRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.GetInventoryRequest.newBuilder() @@ -425,15 +378,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +399,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor; } @java.lang.Override @@ -466,8 +420,7 @@ public com.google.cloud.osconfig.v1.GetInventoryRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.GetInventoryRequest buildPartial() { - com.google.cloud.osconfig.v1.GetInventoryRequest result = - new com.google.cloud.osconfig.v1.GetInventoryRequest(this); + com.google.cloud.osconfig.v1.GetInventoryRequest result = new com.google.cloud.osconfig.v1.GetInventoryRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -478,39 +431,38 @@ public com.google.cloud.osconfig.v1.GetInventoryRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.GetInventoryRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.GetInventoryRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1.GetInventoryRequest)other); } else { super.mergeFrom(other); return this; @@ -518,8 +470,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.GetInventoryRequest other) { - if (other == com.google.cloud.osconfig.v1.GetInventoryRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.GetInventoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -558,8 +509,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -569,16 +518,14 @@ public Builder mergeFrom(
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -587,8 +534,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -598,17 +543,16 @@ public java.lang.String getName() {
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -616,8 +560,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -627,25 +569,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -655,21 +593,16 @@ public Builder setName(java.lang.String value) {
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -679,19 +612,17 @@ public Builder clearName() {
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -699,69 +630,55 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; - * * @return The view. */ @java.lang.Override public com.google.cloud.osconfig.v1.InventoryView getView() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.InventoryView result = - com.google.cloud.osconfig.v1.InventoryView.valueOf(view_); + com.google.cloud.osconfig.v1.InventoryView result = com.google.cloud.osconfig.v1.InventoryView.valueOf(view_); return result == null ? com.google.cloud.osconfig.v1.InventoryView.UNRECOGNIZED : result; } /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -769,32 +686,29 @@ public Builder setView(com.google.cloud.osconfig.v1.InventoryView value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -804,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.GetInventoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.GetInventoryRequest) private static final com.google.cloud.osconfig.v1.GetInventoryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.GetInventoryRequest(); } @@ -818,16 +732,16 @@ public static com.google.cloud.osconfig.v1.GetInventoryRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInventoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInventoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInventoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetInventoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -842,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.GetInventoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequestOrBuilder.java index 7fbdd652..42a11eeb 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/osconfig/v1/inventory.proto package com.google.cloud.osconfig.v1; -public interface GetInventoryRequestOrBuilder - extends +public interface GetInventoryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.GetInventoryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. API resource name for inventory resource.
    * Format:
@@ -35,16 +17,11 @@ public interface GetInventoryRequestOrBuilder
    * can be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. API resource name for inventory resource.
    * Format:
@@ -54,37 +31,29 @@ public interface GetInventoryRequestOrBuilder
    * can be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; - * * @return The view. */ com.google.cloud.osconfig.v1.InventoryView getView(); diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequest.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequest.java similarity index 67% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequest.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequest.java index e0e624a0..86527511 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequest.java @@ -1,58 +1,40 @@ -/* - * 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/osconfig/v1/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * Get a report of the OS policy assignment for a VM instance.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest} */ -public final class GetOSPolicyAssignmentReportRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetOSPolicyAssignmentReportRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) GetOSPolicyAssignmentReportRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetOSPolicyAssignmentReportRequest.newBuilder() to construct. - private GetOSPolicyAssignmentReportRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetOSPolicyAssignmentReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetOSPolicyAssignmentReportRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetOSPolicyAssignmentReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetOSPolicyAssignmentReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private GetOSPolicyAssignmentReportRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,33 +73,29 @@ private GetOSPolicyAssignmentReportRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.class, - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.Builder.class); + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.class, com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. API resource name for OS policy assignment report.
    * Format:
@@ -129,10 +106,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -141,15 +115,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. API resource name for OS policy assignment report.
    * Format:
@@ -160,18 +133,17 @@ public java.lang.String getName() {
    * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -180,7 +152,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,7 +163,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -216,15 +188,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest other = - (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) obj; + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest other = (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -244,127 +216,117 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest 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.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get a report of the OS policy assignment for a VM instance.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.class, - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.Builder.class); + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.class, com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.newBuilder() @@ -372,15 +334,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -390,14 +353,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.getDefaultInstance(); } @@ -412,8 +374,7 @@ public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest buildPartial() { - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest result = - new com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest(this); + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest result = new com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest(this); result.name_ = name_; onBuilt(); return result; @@ -423,50 +384,46 @@ public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.GetOSPolicyAssignmentReportRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest other) { - if (other - == com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest other) { + if (other == com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -490,9 +447,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -504,8 +459,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -516,16 +469,14 @@ public Builder mergeFrom(
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -534,8 +485,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -546,17 +495,16 @@ public java.lang.String getName() {
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -564,8 +512,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -576,25 +522,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -605,21 +547,16 @@ public Builder setName(java.lang.String value) {
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -630,26 +567,24 @@ public Builder clearName() {
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -659,32 +594,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) - private static final com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest(); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOSPolicyAssignmentReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetOSPolicyAssignmentReportRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOSPolicyAssignmentReportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetOSPolicyAssignmentReportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -696,8 +629,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequestOrBuilder.java index f470cc83..4e7d22bc 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/osconfig/v1/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1; -public interface GetOSPolicyAssignmentReportRequestOrBuilder - extends +public interface GetOSPolicyAssignmentReportRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. API resource name for OS policy assignment report.
    * Format:
@@ -36,16 +18,11 @@ public interface GetOSPolicyAssignmentReportRequestOrBuilder
    * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. API resource name for OS policy assignment report.
    * Format:
@@ -56,11 +33,9 @@ public interface GetOSPolicyAssignmentReportRequestOrBuilder
    * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequest.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequest.java similarity index 67% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequest.java index 729dfecf..38e8edb3 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequest.java @@ -1,57 +1,40 @@ -/* - * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * A request message to get an OS policy assignment
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest} */ -public final class GetOSPolicyAssignmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetOSPolicyAssignmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) GetOSPolicyAssignmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetOSPolicyAssignmentRequest.newBuilder() to construct. private GetOSPolicyAssignmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetOSPolicyAssignmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetOSPolicyAssignmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetOSPolicyAssignmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetOSPolicyAssignmentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,43 +73,36 @@ private GetOSPolicyAssignmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.class, - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of OS policy assignment.
    * Format:
    * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,33 +111,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of OS policy assignment.
    * Format:
    * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -171,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -207,15 +180,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest other = - (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) obj; + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest other = (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -235,127 +208,117 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest 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.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message to get an OS policy assignment
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.class, - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.newBuilder() @@ -363,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -381,9 +345,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor; } @java.lang.Override @@ -402,8 +366,7 @@ public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest buildPartial() { - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest result = - new com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest(this); + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest result = new com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -413,39 +376,38 @@ public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.GetOSPolicyAssignmentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest)other); } else { super.mergeFrom(other); return this; @@ -453,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest other) { - if (other == com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -478,8 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,24 +451,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -517,25 +473,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -543,80 +496,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -626,12 +566,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) private static final com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest(); } @@ -640,16 +580,16 @@ public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOSPolicyAssignmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetOSPolicyAssignmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOSPolicyAssignmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetOSPolicyAssignmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -664,4 +604,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequestOrBuilder.java new file mode 100644 index 00000000..7ad8d6be --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/osconfig/v1/os_policy_assignments.proto + +package com.google.cloud.osconfig.v1; + +public interface GetOSPolicyAssignmentRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of OS policy assignment.
+   * Format:
+   * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of OS policy assignment.
+   * Format:
+   * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequest.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequest.java similarity index 67% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequest.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequest.java index 2d7631e0..e6bcd94b 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequest.java @@ -1,57 +1,40 @@ -/* - * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * A request message for getting the vulnerability report for the specified VM.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetVulnerabilityReportRequest} */ -public final class GetVulnerabilityReportRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetVulnerabilityReportRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.GetVulnerabilityReportRequest) GetVulnerabilityReportRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetVulnerabilityReportRequest.newBuilder() to construct. private GetVulnerabilityReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetVulnerabilityReportRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetVulnerabilityReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetVulnerabilityReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetVulnerabilityReportRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private GetVulnerabilityReportRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.class, - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.Builder.class); + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.class, com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. API resource name for vulnerability resource.
    * Format:
@@ -127,10 +105,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * can be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -139,15 +114,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. API resource name for vulnerability resource.
    * Format:
@@ -157,18 +131,17 @@ public java.lang.String getName() {
    * can be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -177,7 +150,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -189,7 +161,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -213,15 +186,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest other = - (com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest) obj; + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest other = (com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -241,127 +214,117 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest 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.osconfig.v1.GetVulnerabilityReportRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message for getting the vulnerability report for the specified VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetVulnerabilityReportRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.GetVulnerabilityReportRequest) com.google.cloud.osconfig.v1.GetVulnerabilityReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.class, - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.Builder.class); + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.class, com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.newBuilder() @@ -369,15 +332,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -387,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor; } @java.lang.Override @@ -408,8 +372,7 @@ public com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest buildPartial() { - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest result = - new com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest(this); + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest result = new com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest(this); result.name_ = name_; onBuilt(); return result; @@ -419,39 +382,38 @@ public com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.GetVulnerabilityReportRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest)other); } else { super.mergeFrom(other); return this; @@ -459,8 +421,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest other) { - if (other == com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -484,8 +445,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,8 +457,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -508,16 +466,14 @@ public Builder mergeFrom(
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -526,8 +482,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -537,17 +491,16 @@ public java.lang.String getName() {
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -555,8 +508,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -566,25 +517,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -594,21 +541,16 @@ public Builder setName(java.lang.String value) {
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -618,26 +560,24 @@ public Builder clearName() {
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -647,12 +587,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.GetVulnerabilityReportRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.GetVulnerabilityReportRequest) private static final com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest(); } @@ -661,16 +601,16 @@ public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVulnerabilityReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVulnerabilityReportRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVulnerabilityReportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVulnerabilityReportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -685,4 +625,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequestOrBuilder.java similarity index 53% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequestOrBuilder.java index 4449d800..f64faedc 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; -public interface GetVulnerabilityReportRequestOrBuilder - extends +public interface GetVulnerabilityReportRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.GetVulnerabilityReportRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. API resource name for vulnerability resource.
    * Format:
@@ -35,16 +17,11 @@ public interface GetVulnerabilityReportRequestOrBuilder
    * can be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. API resource name for vulnerability resource.
    * Format:
@@ -54,11 +31,9 @@ public interface GetVulnerabilityReportRequestOrBuilder
    * can be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InstanceName.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InstanceName.java similarity index 100% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InstanceName.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InstanceName.java diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InstanceOSPolicyAssignmentName.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InstanceOSPolicyAssignmentName.java similarity index 100% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InstanceOSPolicyAssignmentName.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InstanceOSPolicyAssignmentName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java new file mode 100644 index 00000000..4a32a033 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java @@ -0,0 +1,295 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/osconfig/v1/inventory.proto + +package com.google.cloud.osconfig.v1; + +public final class Inventories { + private Inventories() {} + 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_osconfig_v1_Inventory_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_Item_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_GetInventoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n(google/cloud/osconfig/v1/inventory.pro" + + "to\022\030google.cloud.osconfig.v1\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\037google/protobuf/timestamp.prot" + + "o\032\026google/type/date.proto\"\330\025\n\tInventory\022" + + "\021\n\004name\030\003 \001(\tB\003\340A\003\022;\n\007os_info\030\001 \001(\0132*.go" + + "ogle.cloud.osconfig.v1.Inventory.OsInfo\022" + + "=\n\005items\030\002 \003(\0132..google.cloud.osconfig.v" + + "1.Inventory.ItemsEntry\0224\n\013update_time\030\004 " + + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\032\270\001\n" + + "\006OsInfo\022\020\n\010hostname\030\t \001(\t\022\021\n\tlong_name\030\002" + + " \001(\t\022\022\n\nshort_name\030\003 \001(\t\022\017\n\007version\030\004 \001(" + + "\t\022\024\n\014architecture\030\005 \001(\t\022\026\n\016kernel_versio" + + "n\030\006 \001(\t\022\026\n\016kernel_release\030\007 \001(\t\022\036\n\026oscon" + + "fig_agent_version\030\010 \001(\t\032\267\004\n\004Item\022\n\n\002id\030\001" + + " \001(\t\022H\n\013origin_type\030\002 \001(\01623.google.cloud" + + ".osconfig.v1.Inventory.Item.OriginType\022/" + + "\n\013create_time\030\010 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022/\n\013update_time\030\t \001(\0132\032.google.pr" + + "otobuf.Timestamp\022;\n\004type\030\005 \001(\0162-.google." + + "cloud.osconfig.v1.Inventory.Item.Type\022P\n" + + "\021installed_package\030\006 \001(\01323.google.cloud." + + "osconfig.v1.Inventory.SoftwarePackageH\000\022" + + "P\n\021available_package\030\007 \001(\01323.google.clou" + + "d.osconfig.v1.Inventory.SoftwarePackageH" + + "\000\"?\n\nOriginType\022\033\n\027ORIGIN_TYPE_UNSPECIFI" + + "ED\020\000\022\024\n\020INVENTORY_REPORT\020\001\"J\n\004Type\022\024\n\020TY" + + "PE_UNSPECIFIED\020\000\022\025\n\021INSTALLED_PACKAGE\020\001\022" + + "\025\n\021AVAILABLE_PACKAGE\020\002B\t\n\007details\032\362\005\n\017So" + + "ftwarePackage\022K\n\013yum_package\030\001 \001(\01324.goo" + + "gle.cloud.osconfig.v1.Inventory.Versione" + + "dPackageH\000\022K\n\013apt_package\030\002 \001(\01324.google" + + ".cloud.osconfig.v1.Inventory.VersionedPa" + + "ckageH\000\022N\n\016zypper_package\030\003 \001(\01324.google" + + ".cloud.osconfig.v1.Inventory.VersionedPa" + + "ckageH\000\022N\n\016googet_package\030\004 \001(\01324.google" + + ".cloud.osconfig.v1.Inventory.VersionedPa" + + "ckageH\000\022G\n\014zypper_patch\030\005 \001(\0132/.google.c" + + "loud.osconfig.v1.Inventory.ZypperPatchH\000" + + "\022O\n\013wua_package\030\006 \001(\01328.google.cloud.osc" + + "onfig.v1.Inventory.WindowsUpdatePackageH" + + "\000\022\\\n\013qfe_package\030\007 \001(\0132E.google.cloud.os" + + "config.v1.Inventory.WindowsQuickFixEngin" + + "eeringPackageH\000\022K\n\013cos_package\030\010 \001(\01324.g" + + "oogle.cloud.osconfig.v1.Inventory.Versio" + + "nedPackageH\000\022U\n\023windows_application\030\t \001(" + + "\01326.google.cloud.osconfig.v1.Inventory.W" + + "indowsApplicationH\000B\t\n\007details\032O\n\020Versio" + + "nedPackage\022\024\n\014package_name\030\004 \001(\t\022\024\n\014arch" + + "itecture\030\002 \001(\t\022\017\n\007version\030\003 \001(\t\032V\n\013Zyppe" + + "rPatch\022\022\n\npatch_name\030\005 \001(\t\022\020\n\010category\030\002" + + " \001(\t\022\020\n\010severity\030\003 \001(\t\022\017\n\007summary\030\004 \001(\t\032" + + "\203\003\n\024WindowsUpdatePackage\022\r\n\005title\030\001 \001(\t\022" + + "\023\n\013description\030\002 \001(\t\022b\n\ncategories\030\003 \003(\013" + + "2N.google.cloud.osconfig.v1.Inventory.Wi" + + "ndowsUpdatePackage.WindowsUpdateCategory" + + "\022\026\n\016kb_article_ids\030\004 \003(\t\022\023\n\013support_url\030" + + "\013 \001(\t\022\026\n\016more_info_urls\030\005 \003(\t\022\021\n\tupdate_" + + "id\030\006 \001(\t\022\027\n\017revision_number\030\007 \001(\005\022?\n\033las" + + "t_deployment_change_time\030\n \001(\0132\032.google." + + "protobuf.Timestamp\0321\n\025WindowsUpdateCateg" + + "ory\022\n\n\002id\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\032\217\001\n!Window" + + "sQuickFixEngineeringPackage\022\017\n\007caption\030\001" + + " \001(\t\022\023\n\013description\030\002 \001(\t\022\022\n\nhot_fix_id\030" + + "\003 \001(\t\0220\n\014install_time\030\005 \001(\0132\032.google.pro" + + "tobuf.Timestamp\032\222\001\n\022WindowsApplication\022\024" + + "\n\014display_name\030\001 \001(\t\022\027\n\017display_version\030" + + "\002 \001(\t\022\021\n\tpublisher\030\003 \001(\t\022\'\n\014install_date" + + "\030\004 \001(\0132\021.google.type.Date\022\021\n\thelp_link\030\005" + + " \001(\t\032V\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\0227\n\005value" + + "\030\002 \001(\0132(.google.cloud.osconfig.v1.Invent" + + "ory.Item:\0028\001:n\352Ak\n!osconfig.googleapis.c" + + "om/Inventory\022Fprojects/{project}/locatio" + + "ns/{location}/instances/{instance}/inven" + + "tory\"\205\001\n\023GetInventoryRequest\0227\n\004name\030\001 \001" + + "(\tB)\340A\002\372A#\n!osconfig.googleapis.com/Inve" + + "ntory\0225\n\004view\030\002 \001(\0162\'.google.cloud.oscon" + + "fig.v1.InventoryView\"\277\001\n\026ListInventories" + + "Request\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037compute" + + ".googleapis.com/Instance\0225\n\004view\030\002 \001(\0162\'" + + ".google.cloud.osconfig.v1.InventoryView\022" + + "\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\016" + + "\n\006filter\030\005 \001(\t\"l\n\027ListInventoriesRespons" + + "e\0228\n\013inventories\030\001 \003(\0132#.google.cloud.os" + + "config.v1.Inventory\022\027\n\017next_page_token\030\002" + + " \001(\t*D\n\rInventoryView\022\036\n\032INVENTORY_VIEW_" + + "UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\303\001\n\034c" + + "om.google.cloud.osconfig.v1B\013Inventories" + + "P\001Z@google.golang.org/genproto/googleapi" + + "s/cloud/osconfig/v1;osconfig\252\002\030Google.Cl" + + "oud.OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\" + + "V1\352\002\033Google::Cloud::OsConfig::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.type.DateProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1_Inventory_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1_Inventory_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_descriptor, + new java.lang.String[] { "Name", "OsInfo", "Items", "UpdateTime", }); + internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor, + new java.lang.String[] { "Hostname", "LongName", "ShortName", "Version", "Architecture", "KernelVersion", "KernelRelease", "OsconfigAgentVersion", }); + internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1_Inventory_Item_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor, + new java.lang.String[] { "Id", "OriginType", "CreateTime", "UpdateTime", "Type", "InstalledPackage", "AvailablePackage", "Details", }); + internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor, + new java.lang.String[] { "YumPackage", "AptPackage", "ZypperPackage", "GoogetPackage", "ZypperPatch", "WuaPackage", "QfePackage", "CosPackage", "WindowsApplication", "Details", }); + internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor, + new java.lang.String[] { "PackageName", "Architecture", "Version", }); + internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor, + new java.lang.String[] { "PatchName", "Category", "Severity", "Summary", }); + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor, + new java.lang.String[] { "Title", "Description", "Categories", "KbArticleIds", "SupportUrl", "MoreInfoUrls", "UpdateId", "RevisionNumber", "LastDeploymentChangeTime", }); + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor, + new java.lang.String[] { "Id", "Name", }); + internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor, + new java.lang.String[] { "Caption", "Description", "HotFixId", "InstallTime", }); + internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(7); + internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor, + new java.lang.String[] { "DisplayName", "DisplayVersion", "Publisher", "InstallDate", "HelpLink", }); + internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(8); + internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1_GetInventoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor, + new java.lang.String[] { "Name", "View", }); + internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor, + new java.lang.String[] { "Parent", "View", "PageSize", "PageToken", "Filter", }); + internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor, + new java.lang.String[] { "Inventories", "NextPageToken", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.type.DateProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventory.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventory.java similarity index 72% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventory.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventory.java index 1b4655eb..8b8f0ba7 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventory.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventory.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1/inventory.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * This API resource represents the available inventory data for a
  * Compute Engine virtual machine (VM) instance at a given point in time.
@@ -31,31 +14,31 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.Inventory}
  */
-public final class Inventory extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Inventory extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory)
     InventoryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Inventory.newBuilder() to construct.
   private Inventory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Inventory() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Inventory();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Inventory(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,67 +58,58 @@ private Inventory(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder subBuilder = null;
-              if (osInfo_ != null) {
-                subBuilder = osInfo_.toBuilder();
-              }
-              osInfo_ =
-                  input.readMessage(
-                      com.google.cloud.osconfig.v1.Inventory.OsInfo.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(osInfo_);
-                osInfo_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder subBuilder = null;
+            if (osInfo_ != null) {
+              subBuilder = osInfo_.toBuilder();
             }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                items_ =
-                    com.google.protobuf.MapField.newMapField(ItemsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry<
-                      java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item>
-                  items__ =
-                      input.readMessage(
-                          ItemsDefaultEntryHolder.defaultEntry.getParserForType(),
-                          extensionRegistry);
-              items_.getMutableMap().put(items__.getKey(), items__.getValue());
-              break;
+            osInfo_ = input.readMessage(com.google.cloud.osconfig.v1.Inventory.OsInfo.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(osInfo_);
+              osInfo_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              items_ = com.google.protobuf.MapField.newMapField(
+                  ItemsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 34:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
+            com.google.protobuf.MapEntry
+            items__ = input.readMessage(
+                ItemsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            items_.getMutableMap().put(
+                items__.getKey(), items__.getValue());
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              break;
+            name_ = s;
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -143,72 +117,63 @@ private Inventory(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1.Inventories
-        .internal_static_google_cloud_osconfig_v1_Inventory_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 2:
         return internalGetItems();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.Inventories
-        .internal_static_google_cloud_osconfig_v1_Inventory_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.Inventory.class,
-            com.google.cloud.osconfig.v1.Inventory.Builder.class);
+            com.google.cloud.osconfig.v1.Inventory.class, com.google.cloud.osconfig.v1.Inventory.Builder.class);
   }
 
-  public interface OsInfoOrBuilder
-      extends
+  public interface OsInfoOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory.OsInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The VM hostname.
      * 
* * string hostname = 9; - * * @return The hostname. */ java.lang.String getHostname(); /** - * - * *
      * The VM hostname.
      * 
* * string hostname = 9; - * * @return The bytes for hostname. */ - com.google.protobuf.ByteString getHostnameBytes(); + com.google.protobuf.ByteString + getHostnameBytes(); /** - * - * *
      * The operating system long name.
      * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -216,13 +181,10 @@ public interface OsInfoOrBuilder
      * 
* * string long_name = 2; - * * @return The longName. */ java.lang.String getLongName(); /** - * - * *
      * The operating system long name.
      * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -230,182 +192,149 @@ public interface OsInfoOrBuilder
      * 
* * string long_name = 2; - * * @return The bytes for longName. */ - com.google.protobuf.ByteString getLongNameBytes(); + com.google.protobuf.ByteString + getLongNameBytes(); /** - * - * *
      * The operating system short name.
      * For example, 'windows' or 'debian'.
      * 
* * string short_name = 3; - * * @return The shortName. */ java.lang.String getShortName(); /** - * - * *
      * The operating system short name.
      * For example, 'windows' or 'debian'.
      * 
* * string short_name = 3; - * * @return The bytes for shortName. */ - com.google.protobuf.ByteString getShortNameBytes(); + com.google.protobuf.ByteString + getShortNameBytes(); /** - * - * *
      * The version of the operating system.
      * 
* * string version = 4; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
      * The version of the operating system.
      * 
* * string version = 4; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
      * The system architecture of the operating system.
      * 
* * string architecture = 5; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
      * The system architecture of the operating system.
      * 
* * string architecture = 5; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); /** - * - * *
      * The kernel version of the operating system.
      * 
* * string kernel_version = 6; - * * @return The kernelVersion. */ java.lang.String getKernelVersion(); /** - * - * *
      * The kernel version of the operating system.
      * 
* * string kernel_version = 6; - * * @return The bytes for kernelVersion. */ - com.google.protobuf.ByteString getKernelVersionBytes(); + com.google.protobuf.ByteString + getKernelVersionBytes(); /** - * - * *
      * The kernel release of the operating system.
      * 
* * string kernel_release = 7; - * * @return The kernelRelease. */ java.lang.String getKernelRelease(); /** - * - * *
      * The kernel release of the operating system.
      * 
* * string kernel_release = 7; - * * @return The bytes for kernelRelease. */ - com.google.protobuf.ByteString getKernelReleaseBytes(); + com.google.protobuf.ByteString + getKernelReleaseBytes(); /** - * - * *
      * The current version of the OS Config agent running on the VM.
      * 
* * string osconfig_agent_version = 8; - * * @return The osconfigAgentVersion. */ java.lang.String getOsconfigAgentVersion(); /** - * - * *
      * The current version of the OS Config agent running on the VM.
      * 
* * string osconfig_agent_version = 8; - * * @return The bytes for osconfigAgentVersion. */ - com.google.protobuf.ByteString getOsconfigAgentVersionBytes(); + com.google.protobuf.ByteString + getOsconfigAgentVersionBytes(); } /** - * - * *
    * Operating system information for the VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.Inventory.OsInfo} */ - public static final class OsInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class OsInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory.OsInfo) OsInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OsInfo.newBuilder() to construct. private OsInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OsInfo() { hostname_ = ""; longName_ = ""; @@ -419,15 +348,16 @@ private OsInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OsInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OsInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -446,69 +376,61 @@ private OsInfo( case 0: done = true; break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - longName_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + longName_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - shortName_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + shortName_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + architecture_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - kernelVersion_ = s; - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + kernelVersion_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); - kernelRelease_ = s; - break; - } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); + kernelRelease_ = s; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); - osconfigAgentVersion_ = s; - break; - } - case 74: - { - java.lang.String s = input.readStringRequireUtf8(); + osconfigAgentVersion_ = s; + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); - hostname_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + hostname_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -516,39 +438,34 @@ private OsInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.OsInfo.class, - com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder.class); + com.google.cloud.osconfig.v1.Inventory.OsInfo.class, com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder.class); } public static final int HOSTNAME_FIELD_NUMBER = 9; private volatile java.lang.Object hostname_; /** - * - * *
      * The VM hostname.
      * 
* * string hostname = 9; - * * @return The hostname. */ @java.lang.Override @@ -557,29 +474,29 @@ public java.lang.String getHostname() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; } } /** - * - * *
      * The VM hostname.
      * 
* * string hostname = 9; - * * @return The bytes for hostname. */ @java.lang.Override - public com.google.protobuf.ByteString getHostnameBytes() { + public com.google.protobuf.ByteString + getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostname_ = b; return b; } else { @@ -590,8 +507,6 @@ public com.google.protobuf.ByteString getHostnameBytes() { public static final int LONG_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object longName_; /** - * - * *
      * The operating system long name.
      * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -599,7 +514,6 @@ public com.google.protobuf.ByteString getHostnameBytes() {
      * 
* * string long_name = 2; - * * @return The longName. */ @java.lang.Override @@ -608,15 +522,14 @@ public java.lang.String getLongName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); longName_ = s; return s; } } /** - * - * *
      * The operating system long name.
      * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -624,15 +537,16 @@ public java.lang.String getLongName() {
      * 
* * string long_name = 2; - * * @return The bytes for longName. */ @java.lang.Override - public com.google.protobuf.ByteString getLongNameBytes() { + public com.google.protobuf.ByteString + getLongNameBytes() { java.lang.Object ref = longName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); longName_ = b; return b; } else { @@ -643,15 +557,12 @@ public com.google.protobuf.ByteString getLongNameBytes() { public static final int SHORT_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object shortName_; /** - * - * *
      * The operating system short name.
      * For example, 'windows' or 'debian'.
      * 
* * string short_name = 3; - * * @return The shortName. */ @java.lang.Override @@ -660,30 +571,30 @@ public java.lang.String getShortName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); shortName_ = s; return s; } } /** - * - * *
      * The operating system short name.
      * For example, 'windows' or 'debian'.
      * 
* * string short_name = 3; - * * @return The bytes for shortName. */ @java.lang.Override - public com.google.protobuf.ByteString getShortNameBytes() { + public com.google.protobuf.ByteString + getShortNameBytes() { java.lang.Object ref = shortName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); shortName_ = b; return b; } else { @@ -694,14 +605,11 @@ public com.google.protobuf.ByteString getShortNameBytes() { public static final int VERSION_FIELD_NUMBER = 4; private volatile java.lang.Object version_; /** - * - * *
      * The version of the operating system.
      * 
* * string version = 4; - * * @return The version. */ @java.lang.Override @@ -710,29 +618,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
      * The version of the operating system.
      * 
* * string version = 4; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -743,14 +651,11 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int ARCHITECTURE_FIELD_NUMBER = 5; private volatile java.lang.Object architecture_; /** - * - * *
      * The system architecture of the operating system.
      * 
* * string architecture = 5; - * * @return The architecture. */ @java.lang.Override @@ -759,29 +664,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
      * The system architecture of the operating system.
      * 
* * string architecture = 5; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -792,14 +697,11 @@ public com.google.protobuf.ByteString getArchitectureBytes() { public static final int KERNEL_VERSION_FIELD_NUMBER = 6; private volatile java.lang.Object kernelVersion_; /** - * - * *
      * The kernel version of the operating system.
      * 
* * string kernel_version = 6; - * * @return The kernelVersion. */ @java.lang.Override @@ -808,29 +710,29 @@ public java.lang.String getKernelVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kernelVersion_ = s; return s; } } /** - * - * *
      * The kernel version of the operating system.
      * 
* * string kernel_version = 6; - * * @return The bytes for kernelVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getKernelVersionBytes() { + public com.google.protobuf.ByteString + getKernelVersionBytes() { java.lang.Object ref = kernelVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kernelVersion_ = b; return b; } else { @@ -841,14 +743,11 @@ public com.google.protobuf.ByteString getKernelVersionBytes() { public static final int KERNEL_RELEASE_FIELD_NUMBER = 7; private volatile java.lang.Object kernelRelease_; /** - * - * *
      * The kernel release of the operating system.
      * 
* * string kernel_release = 7; - * * @return The kernelRelease. */ @java.lang.Override @@ -857,29 +756,29 @@ public java.lang.String getKernelRelease() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kernelRelease_ = s; return s; } } /** - * - * *
      * The kernel release of the operating system.
      * 
* * string kernel_release = 7; - * * @return The bytes for kernelRelease. */ @java.lang.Override - public com.google.protobuf.ByteString getKernelReleaseBytes() { + public com.google.protobuf.ByteString + getKernelReleaseBytes() { java.lang.Object ref = kernelRelease_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kernelRelease_ = b; return b; } else { @@ -890,14 +789,11 @@ public com.google.protobuf.ByteString getKernelReleaseBytes() { public static final int OSCONFIG_AGENT_VERSION_FIELD_NUMBER = 8; private volatile java.lang.Object osconfigAgentVersion_; /** - * - * *
      * The current version of the OS Config agent running on the VM.
      * 
* * string osconfig_agent_version = 8; - * * @return The osconfigAgentVersion. */ @java.lang.Override @@ -906,29 +802,29 @@ public java.lang.String getOsconfigAgentVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osconfigAgentVersion_ = s; return s; } } /** - * - * *
      * The current version of the OS Config agent running on the VM.
      * 
* * string osconfig_agent_version = 8; - * * @return The bytes for osconfigAgentVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getOsconfigAgentVersionBytes() { + public com.google.protobuf.ByteString + getOsconfigAgentVersionBytes() { java.lang.Object ref = osconfigAgentVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osconfigAgentVersion_ = b; return b; } else { @@ -937,7 +833,6 @@ public com.google.protobuf.ByteString getOsconfigAgentVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -949,7 +844,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(longName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, longName_); } @@ -1015,22 +911,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory.OsInfo)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Inventory.OsInfo other = - (com.google.cloud.osconfig.v1.Inventory.OsInfo) obj; - - if (!getHostname().equals(other.getHostname())) return false; - if (!getLongName().equals(other.getLongName())) return false; - if (!getShortName().equals(other.getShortName())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; - if (!getKernelVersion().equals(other.getKernelVersion())) return false; - if (!getKernelRelease().equals(other.getKernelRelease())) return false; - if (!getOsconfigAgentVersion().equals(other.getOsconfigAgentVersion())) return false; + com.google.cloud.osconfig.v1.Inventory.OsInfo other = (com.google.cloud.osconfig.v1.Inventory.OsInfo) obj; + + if (!getHostname() + .equals(other.getHostname())) return false; + if (!getLongName() + .equals(other.getLongName())) return false; + if (!getShortName() + .equals(other.getShortName())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; + if (!getKernelVersion() + .equals(other.getKernelVersion())) return false; + if (!getKernelRelease() + .equals(other.getKernelRelease())) return false; + if (!getOsconfigAgentVersion() + .equals(other.getOsconfigAgentVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1063,94 +966,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.OsInfo 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.osconfig.v1.Inventory.OsInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory.OsInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1160,32 +1057,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Operating system information for the VM.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.Inventory.OsInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory.OsInfo) com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.OsInfo.class, - com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder.class); + com.google.cloud.osconfig.v1.Inventory.OsInfo.class, com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder.class); } // Construct using com.google.cloud.osconfig.v1.Inventory.OsInfo.newBuilder() @@ -1193,15 +1085,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1225,9 +1118,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor; } @java.lang.Override @@ -1246,8 +1139,7 @@ public com.google.cloud.osconfig.v1.Inventory.OsInfo build() { @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.OsInfo buildPartial() { - com.google.cloud.osconfig.v1.Inventory.OsInfo result = - new com.google.cloud.osconfig.v1.Inventory.OsInfo(this); + com.google.cloud.osconfig.v1.Inventory.OsInfo result = new com.google.cloud.osconfig.v1.Inventory.OsInfo(this); result.hostname_ = hostname_; result.longName_ = longName_; result.shortName_ = shortName_; @@ -1264,41 +1156,38 @@ public com.google.cloud.osconfig.v1.Inventory.OsInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.Inventory.OsInfo) { - return mergeFrom((com.google.cloud.osconfig.v1.Inventory.OsInfo) other); + return mergeFrom((com.google.cloud.osconfig.v1.Inventory.OsInfo)other); } else { super.mergeFrom(other); return this; @@ -1306,8 +1195,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.OsInfo other) { - if (other == com.google.cloud.osconfig.v1.Inventory.OsInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.Inventory.OsInfo.getDefaultInstance()) return this; if (!other.getHostname().isEmpty()) { hostname_ = other.hostname_; onChanged(); @@ -1371,20 +1259,18 @@ public Builder mergeFrom( private java.lang.Object hostname_ = ""; /** - * - * *
        * The VM hostname.
        * 
* * string hostname = 9; - * * @return The hostname. */ public java.lang.String getHostname() { java.lang.Object ref = hostname_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; @@ -1393,21 +1279,20 @@ public java.lang.String getHostname() { } } /** - * - * *
        * The VM hostname.
        * 
* * string hostname = 9; - * * @return The bytes for hostname. */ - public com.google.protobuf.ByteString getHostnameBytes() { + public com.google.protobuf.ByteString + getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostname_ = b; return b; } else { @@ -1415,61 +1300,54 @@ public com.google.protobuf.ByteString getHostnameBytes() { } } /** - * - * *
        * The VM hostname.
        * 
* * string hostname = 9; - * * @param value The hostname to set. * @return This builder for chaining. */ - public Builder setHostname(java.lang.String value) { + public Builder setHostname( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hostname_ = value; onChanged(); return this; } /** - * - * *
        * The VM hostname.
        * 
* * string hostname = 9; - * * @return This builder for chaining. */ public Builder clearHostname() { - + hostname_ = getDefaultInstance().getHostname(); onChanged(); return this; } /** - * - * *
        * The VM hostname.
        * 
* * string hostname = 9; - * * @param value The bytes for hostname to set. * @return This builder for chaining. */ - public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + public Builder setHostnameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; onChanged(); return this; @@ -1477,8 +1355,6 @@ public Builder setHostnameBytes(com.google.protobuf.ByteString value) { private java.lang.Object longName_ = ""; /** - * - * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1486,13 +1362,13 @@ public Builder setHostnameBytes(com.google.protobuf.ByteString value) {
        * 
* * string long_name = 2; - * * @return The longName. */ public java.lang.String getLongName() { java.lang.Object ref = longName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); longName_ = s; return s; @@ -1501,8 +1377,6 @@ public java.lang.String getLongName() { } } /** - * - * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1510,14 +1384,15 @@ public java.lang.String getLongName() {
        * 
* * string long_name = 2; - * * @return The bytes for longName. */ - public com.google.protobuf.ByteString getLongNameBytes() { + public com.google.protobuf.ByteString + getLongNameBytes() { java.lang.Object ref = longName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); longName_ = b; return b; } else { @@ -1525,8 +1400,6 @@ public com.google.protobuf.ByteString getLongNameBytes() { } } /** - * - * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1534,22 +1407,20 @@ public com.google.protobuf.ByteString getLongNameBytes() {
        * 
* * string long_name = 2; - * * @param value The longName to set. * @return This builder for chaining. */ - public Builder setLongName(java.lang.String value) { + public Builder setLongName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + longName_ = value; onChanged(); return this; } /** - * - * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1557,18 +1428,15 @@ public Builder setLongName(java.lang.String value) {
        * 
* * string long_name = 2; - * * @return This builder for chaining. */ public Builder clearLongName() { - + longName_ = getDefaultInstance().getLongName(); onChanged(); return this; } /** - * - * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1576,16 +1444,16 @@ public Builder clearLongName() {
        * 
* * string long_name = 2; - * * @param value The bytes for longName to set. * @return This builder for chaining. */ - public Builder setLongNameBytes(com.google.protobuf.ByteString value) { + public Builder setLongNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + longName_ = value; onChanged(); return this; @@ -1593,21 +1461,19 @@ public Builder setLongNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object shortName_ = ""; /** - * - * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; - * * @return The shortName. */ public java.lang.String getShortName() { java.lang.Object ref = shortName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); shortName_ = s; return s; @@ -1616,22 +1482,21 @@ public java.lang.String getShortName() { } } /** - * - * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; - * * @return The bytes for shortName. */ - public com.google.protobuf.ByteString getShortNameBytes() { + public com.google.protobuf.ByteString + getShortNameBytes() { java.lang.Object ref = shortName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); shortName_ = b; return b; } else { @@ -1639,64 +1504,57 @@ public com.google.protobuf.ByteString getShortNameBytes() { } } /** - * - * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; - * * @param value The shortName to set. * @return This builder for chaining. */ - public Builder setShortName(java.lang.String value) { + public Builder setShortName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + shortName_ = value; onChanged(); return this; } /** - * - * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; - * * @return This builder for chaining. */ public Builder clearShortName() { - + shortName_ = getDefaultInstance().getShortName(); onChanged(); return this; } /** - * - * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; - * * @param value The bytes for shortName to set. * @return This builder for chaining. */ - public Builder setShortNameBytes(com.google.protobuf.ByteString value) { + public Builder setShortNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + shortName_ = value; onChanged(); return this; @@ -1704,20 +1562,18 @@ public Builder setShortNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
        * The version of the operating system.
        * 
* * string version = 4; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1726,21 +1582,20 @@ public java.lang.String getVersion() { } } /** - * - * *
        * The version of the operating system.
        * 
* * string version = 4; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -1748,61 +1603,54 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
        * The version of the operating system.
        * 
* * string version = 4; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
        * The version of the operating system.
        * 
* * string version = 4; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
        * The version of the operating system.
        * 
* * string version = 4; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1810,20 +1658,18 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object architecture_ = ""; /** - * - * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1832,21 +1678,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -1854,61 +1699,54 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1916,20 +1754,18 @@ public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { private java.lang.Object kernelVersion_ = ""; /** - * - * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; - * * @return The kernelVersion. */ public java.lang.String getKernelVersion() { java.lang.Object ref = kernelVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kernelVersion_ = s; return s; @@ -1938,21 +1774,20 @@ public java.lang.String getKernelVersion() { } } /** - * - * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; - * * @return The bytes for kernelVersion. */ - public com.google.protobuf.ByteString getKernelVersionBytes() { + public com.google.protobuf.ByteString + getKernelVersionBytes() { java.lang.Object ref = kernelVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kernelVersion_ = b; return b; } else { @@ -1960,61 +1795,54 @@ public com.google.protobuf.ByteString getKernelVersionBytes() { } } /** - * - * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; - * * @param value The kernelVersion to set. * @return This builder for chaining. */ - public Builder setKernelVersion(java.lang.String value) { + public Builder setKernelVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kernelVersion_ = value; onChanged(); return this; } /** - * - * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; - * * @return This builder for chaining. */ public Builder clearKernelVersion() { - + kernelVersion_ = getDefaultInstance().getKernelVersion(); onChanged(); return this; } /** - * - * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; - * * @param value The bytes for kernelVersion to set. * @return This builder for chaining. */ - public Builder setKernelVersionBytes(com.google.protobuf.ByteString value) { + public Builder setKernelVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kernelVersion_ = value; onChanged(); return this; @@ -2022,20 +1850,18 @@ public Builder setKernelVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object kernelRelease_ = ""; /** - * - * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; - * * @return The kernelRelease. */ public java.lang.String getKernelRelease() { java.lang.Object ref = kernelRelease_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kernelRelease_ = s; return s; @@ -2044,21 +1870,20 @@ public java.lang.String getKernelRelease() { } } /** - * - * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; - * * @return The bytes for kernelRelease. */ - public com.google.protobuf.ByteString getKernelReleaseBytes() { + public com.google.protobuf.ByteString + getKernelReleaseBytes() { java.lang.Object ref = kernelRelease_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kernelRelease_ = b; return b; } else { @@ -2066,61 +1891,54 @@ public com.google.protobuf.ByteString getKernelReleaseBytes() { } } /** - * - * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; - * * @param value The kernelRelease to set. * @return This builder for chaining. */ - public Builder setKernelRelease(java.lang.String value) { + public Builder setKernelRelease( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kernelRelease_ = value; onChanged(); return this; } /** - * - * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; - * * @return This builder for chaining. */ public Builder clearKernelRelease() { - + kernelRelease_ = getDefaultInstance().getKernelRelease(); onChanged(); return this; } /** - * - * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; - * * @param value The bytes for kernelRelease to set. * @return This builder for chaining. */ - public Builder setKernelReleaseBytes(com.google.protobuf.ByteString value) { + public Builder setKernelReleaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kernelRelease_ = value; onChanged(); return this; @@ -2128,20 +1946,18 @@ public Builder setKernelReleaseBytes(com.google.protobuf.ByteString value) { private java.lang.Object osconfigAgentVersion_ = ""; /** - * - * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; - * * @return The osconfigAgentVersion. */ public java.lang.String getOsconfigAgentVersion() { java.lang.Object ref = osconfigAgentVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osconfigAgentVersion_ = s; return s; @@ -2150,21 +1966,20 @@ public java.lang.String getOsconfigAgentVersion() { } } /** - * - * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; - * * @return The bytes for osconfigAgentVersion. */ - public com.google.protobuf.ByteString getOsconfigAgentVersionBytes() { + public com.google.protobuf.ByteString + getOsconfigAgentVersionBytes() { java.lang.Object ref = osconfigAgentVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osconfigAgentVersion_ = b; return b; } else { @@ -2172,66 +1987,58 @@ public com.google.protobuf.ByteString getOsconfigAgentVersionBytes() { } } /** - * - * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; - * * @param value The osconfigAgentVersion to set. * @return This builder for chaining. */ - public Builder setOsconfigAgentVersion(java.lang.String value) { + public Builder setOsconfigAgentVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osconfigAgentVersion_ = value; onChanged(); return this; } /** - * - * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; - * * @return This builder for chaining. */ public Builder clearOsconfigAgentVersion() { - + osconfigAgentVersion_ = getDefaultInstance().getOsconfigAgentVersion(); onChanged(); return this; } /** - * - * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; - * * @param value The bytes for osconfigAgentVersion to set. * @return This builder for chaining. */ - public Builder setOsconfigAgentVersionBytes(com.google.protobuf.ByteString value) { + public Builder setOsconfigAgentVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osconfigAgentVersion_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2244,12 +2051,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory.OsInfo) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory.OsInfo) private static final com.google.cloud.osconfig.v1.Inventory.OsInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory.OsInfo(); } @@ -2258,16 +2065,16 @@ public static com.google.cloud.osconfig.v1.Inventory.OsInfo getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OsInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OsInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OsInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OsInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2282,90 +2089,71 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.Inventory.OsInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ItemOrBuilder - extends + public interface ItemOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory.Item) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Identifier for this item, unique across items for this VM.
      * 
* * string id = 1; - * * @return The id. */ java.lang.String getId(); /** - * - * *
      * Identifier for this item, unique across items for this VM.
      * 
* * string id = 1; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
      * The origin of this inventory item.
      * 
* * .google.cloud.osconfig.v1.Inventory.Item.OriginType origin_type = 2; - * * @return The enum numeric value on the wire for originType. */ int getOriginTypeValue(); /** - * - * *
      * The origin of this inventory item.
      * 
* * .google.cloud.osconfig.v1.Inventory.Item.OriginType origin_type = 2; - * * @return The originType. */ com.google.cloud.osconfig.v1.Inventory.Item.OriginType getOriginType(); /** - * - * *
      * When this inventory item was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 8; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
      * When this inventory item was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 8; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
      * When this inventory item was first detected.
      * 
@@ -2375,32 +2163,24 @@ public interface ItemOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
      * When this inventory item was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 9; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
      * When this inventory item was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 9; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
      * When this inventory item was last modified.
      * 
@@ -2410,57 +2190,43 @@ public interface ItemOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
      * The specific type of inventory, correlating to its specific details.
      * 
* * .google.cloud.osconfig.v1.Inventory.Item.Type type = 5; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * The specific type of inventory, correlating to its specific details.
      * 
* * .google.cloud.osconfig.v1.Inventory.Item.Type type = 5; - * * @return The type. */ com.google.cloud.osconfig.v1.Inventory.Item.Type getType(); /** - * - * *
      * Software package present on the VM instance.
      * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; - * * @return Whether the installedPackage field is set. */ boolean hasInstalledPackage(); /** - * - * *
      * Software package present on the VM instance.
      * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; - * * @return The installedPackage. */ com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getInstalledPackage(); /** - * - * *
      * Software package present on the VM instance.
      * 
@@ -2470,32 +2236,24 @@ public interface ItemOrBuilder com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder getInstalledPackageOrBuilder(); /** - * - * *
      * Software package available to be installed on the VM instance.
      * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; - * * @return Whether the availablePackage field is set. */ boolean hasAvailablePackage(); /** - * - * *
      * Software package available to be installed on the VM instance.
      * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; - * * @return The availablePackage. */ com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getAvailablePackage(); /** - * - * *
      * Software package available to be installed on the VM instance.
      * 
@@ -2507,24 +2265,21 @@ public interface ItemOrBuilder public com.google.cloud.osconfig.v1.Inventory.Item.DetailsCase getDetailsCase(); } /** - * - * *
    * A single piece of inventory on a VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.Inventory.Item} */ - public static final class Item extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Item extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory.Item) ItemOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Item.newBuilder() to construct. private Item(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Item() { id_ = ""; originType_ = 0; @@ -2533,15 +2288,16 @@ private Item() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Item(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Item( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2560,104 +2316,85 @@ private Item( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + id_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - originType_ = rawValue; - break; - } - case 40: - { - int rawValue = input.readEnum(); + originType_ = rawValue; + break; + } + case 40: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; + type_ = rawValue; + break; + } + case 50: { + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder subBuilder = null; + if (detailsCase_ == 6) { + subBuilder = ((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_).toBuilder(); } - case 50: - { - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder subBuilder = null; - if (detailsCase_ == 6) { - subBuilder = - ((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 6; - break; + details_ = + input.readMessage(com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_); + details_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder subBuilder = null; - if (detailsCase_ == 7) { - subBuilder = - ((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 7; - break; + detailsCase_ = 6; + break; + } + case 58: { + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder subBuilder = null; + if (detailsCase_ == 7) { + subBuilder = ((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_).toBuilder(); } - case 66: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + details_ = + input.readMessage(com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 7; + break; + } + case 66: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 74: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 74: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2665,41 +2402,36 @@ private Item( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_Item_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_Item_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.Item.class, - com.google.cloud.osconfig.v1.Inventory.Item.Builder.class); + com.google.cloud.osconfig.v1.Inventory.Item.class, com.google.cloud.osconfig.v1.Inventory.Item.Builder.class); } /** - * - * *
      * The origin of a specific inventory item.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1.Inventory.Item.OriginType} */ - public enum OriginType implements com.google.protobuf.ProtocolMessageEnum { + public enum OriginType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Invalid. An origin type must be specified.
        * 
@@ -2708,8 +2440,6 @@ public enum OriginType implements com.google.protobuf.ProtocolMessageEnum { */ ORIGIN_TYPE_UNSPECIFIED(0), /** - * - * *
        * This inventory item was discovered as the result of the agent
        * reporting inventory via the reporting API.
@@ -2722,8 +2452,6 @@ public enum OriginType implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Invalid. An origin type must be specified.
        * 
@@ -2732,8 +2460,6 @@ public enum OriginType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ORIGIN_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * This inventory item was discovered as the result of the agent
        * reporting inventory via the reporting API.
@@ -2743,6 +2469,7 @@ public enum OriginType implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int INVENTORY_REPORT_VALUE = 1;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -2767,47 +2494,48 @@ public static OriginType valueOf(int value) {
        */
       public static OriginType forNumber(int value) {
         switch (value) {
-          case 0:
-            return ORIGIN_TYPE_UNSPECIFIED;
-          case 1:
-            return INVENTORY_REPORT;
-          default:
-            return null;
+          case 0: return ORIGIN_TYPE_UNSPECIFIED;
+          case 1: return INVENTORY_REPORT;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          OriginType> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public OriginType findValueByNumber(int number) {
+                return OriginType.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public OriginType findValueByNumber(int number) {
-              return OriginType.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
         return com.google.cloud.osconfig.v1.Inventory.Item.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final OriginType[] VALUES = values();
 
-      public static OriginType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static OriginType valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -2825,18 +2553,15 @@ private OriginType(int value) {
     }
 
     /**
-     *
-     *
      * 
      * The different types of inventory that are tracked on a VM.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1.Inventory.Item.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Invalid. An type must be specified.
        * 
@@ -2845,8 +2570,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
        * This represents a package that is installed on the VM.
        * 
@@ -2855,8 +2578,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ INSTALLED_PACKAGE(1), /** - * - * *
        * This represents an update that is available for a package.
        * 
@@ -2868,8 +2589,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Invalid. An type must be specified.
        * 
@@ -2878,8 +2597,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * This represents a package that is installed on the VM.
        * 
@@ -2888,8 +2605,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTALLED_PACKAGE_VALUE = 1; /** - * - * *
        * This represents an update that is available for a package.
        * 
@@ -2898,6 +2613,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AVAILABLE_PACKAGE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2922,49 +2638,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return INSTALLED_PACKAGE; - case 2: - return AVAILABLE_PACKAGE; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return INSTALLED_PACKAGE; + case 2: return AVAILABLE_PACKAGE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.osconfig.v1.Inventory.Item.getDescriptor().getEnumTypes().get(1); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -2983,16 +2699,13 @@ private Type(int value) { private int detailsCase_ = 0; private java.lang.Object details_; - public enum DetailsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INSTALLED_PACKAGE(6), AVAILABLE_PACKAGE(7), DETAILS_NOT_SET(0); private final int value; - private DetailsCase(int value) { this.value = value; } @@ -3008,37 +2721,31 @@ public static DetailsCase valueOf(int value) { public static DetailsCase forNumber(int value) { switch (value) { - case 6: - return INSTALLED_PACKAGE; - case 7: - return AVAILABLE_PACKAGE; - case 0: - return DETAILS_NOT_SET; - default: - return null; + case 6: return INSTALLED_PACKAGE; + case 7: return AVAILABLE_PACKAGE; + case 0: return DETAILS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DetailsCase getDetailsCase() { - return DetailsCase.forNumber(detailsCase_); + public DetailsCase + getDetailsCase() { + return DetailsCase.forNumber( + detailsCase_); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** - * - * *
      * Identifier for this item, unique across items for this VM.
      * 
* * string id = 1; - * * @return The id. */ @java.lang.Override @@ -3047,29 +2754,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
      * Identifier for this item, unique across items for this VM.
      * 
* * string id = 1; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -3080,52 +2787,38 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int ORIGIN_TYPE_FIELD_NUMBER = 2; private int originType_; /** - * - * *
      * The origin of this inventory item.
      * 
* * .google.cloud.osconfig.v1.Inventory.Item.OriginType origin_type = 2; - * * @return The enum numeric value on the wire for originType. */ - @java.lang.Override - public int getOriginTypeValue() { + @java.lang.Override public int getOriginTypeValue() { return originType_; } /** - * - * *
      * The origin of this inventory item.
      * 
* * .google.cloud.osconfig.v1.Inventory.Item.OriginType origin_type = 2; - * * @return The originType. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.Item.OriginType getOriginType() { + @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.Item.OriginType getOriginType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.Inventory.Item.OriginType result = - com.google.cloud.osconfig.v1.Inventory.Item.OriginType.valueOf(originType_); - return result == null - ? com.google.cloud.osconfig.v1.Inventory.Item.OriginType.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.Inventory.Item.OriginType result = com.google.cloud.osconfig.v1.Inventory.Item.OriginType.valueOf(originType_); + return result == null ? com.google.cloud.osconfig.v1.Inventory.Item.OriginType.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp createTime_; /** - * - * *
      * When this inventory item was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 8; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -3133,14 +2826,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
      * When this inventory item was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 8; - * * @return The createTime. */ @java.lang.Override @@ -3148,8 +2838,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
      * When this inventory item was first detected.
      * 
@@ -3164,14 +2852,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
      * When this inventory item was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 9; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -3179,14 +2864,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
      * When this inventory item was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 9; - * * @return The updateTime. */ @java.lang.Override @@ -3194,8 +2876,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
      * When this inventory item was last modified.
      * 
@@ -3210,51 +2890,37 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int TYPE_FIELD_NUMBER = 5; private int type_; /** - * - * *
      * The specific type of inventory, correlating to its specific details.
      * 
* * .google.cloud.osconfig.v1.Inventory.Item.Type type = 5; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The specific type of inventory, correlating to its specific details.
      * 
* * .google.cloud.osconfig.v1.Inventory.Item.Type type = 5; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.Item.Type getType() { + @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.Item.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.Inventory.Item.Type result = - com.google.cloud.osconfig.v1.Inventory.Item.Type.valueOf(type_); - return result == null - ? com.google.cloud.osconfig.v1.Inventory.Item.Type.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.Inventory.Item.Type result = com.google.cloud.osconfig.v1.Inventory.Item.Type.valueOf(type_); + return result == null ? com.google.cloud.osconfig.v1.Inventory.Item.Type.UNRECOGNIZED : result; } public static final int INSTALLED_PACKAGE_FIELD_NUMBER = 6; /** - * - * *
      * Software package present on the VM instance.
      * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; - * * @return Whether the installedPackage field is set. */ @java.lang.Override @@ -3262,26 +2928,21 @@ public boolean hasInstalledPackage() { return detailsCase_ == 6; } /** - * - * *
      * Software package present on the VM instance.
      * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; - * * @return The installedPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getInstalledPackage() { if (detailsCase_ == 6) { - return (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_; } return com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance(); } /** - * - * *
      * Software package present on the VM instance.
      * 
@@ -3289,24 +2950,20 @@ public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getInstalledPackag * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder - getInstalledPackageOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder getInstalledPackageOrBuilder() { if (detailsCase_ == 6) { - return (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_; } return com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance(); } public static final int AVAILABLE_PACKAGE_FIELD_NUMBER = 7; /** - * - * *
      * Software package available to be installed on the VM instance.
      * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; - * * @return Whether the availablePackage field is set. */ @java.lang.Override @@ -3314,26 +2971,21 @@ public boolean hasAvailablePackage() { return detailsCase_ == 7; } /** - * - * *
      * Software package available to be installed on the VM instance.
      * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; - * * @return The availablePackage. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getAvailablePackage() { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_; } return com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance(); } /** - * - * *
      * Software package available to be installed on the VM instance.
      * 
@@ -3341,16 +2993,14 @@ public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getAvailablePackag * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder - getAvailablePackageOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder getAvailablePackageOrBuilder() { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_; } return com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3362,13 +3012,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } - if (originType_ - != com.google.cloud.osconfig.v1.Inventory.Item.OriginType.ORIGIN_TYPE_UNSPECIFIED - .getNumber()) { + if (originType_ != com.google.cloud.osconfig.v1.Inventory.Item.OriginType.ORIGIN_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, originType_); } if (type_ != com.google.cloud.osconfig.v1.Inventory.Item.Type.TYPE_UNSPECIFIED.getNumber()) { @@ -3398,29 +3047,29 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } - if (originType_ - != com.google.cloud.osconfig.v1.Inventory.Item.OriginType.ORIGIN_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, originType_); + if (originType_ != com.google.cloud.osconfig.v1.Inventory.Item.OriginType.ORIGIN_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, originType_); } if (type_ != com.google.cloud.osconfig.v1.Inventory.Item.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, type_); } if (detailsCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_); } if (detailsCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3430,32 +3079,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory.Item)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Inventory.Item other = - (com.google.cloud.osconfig.v1.Inventory.Item) obj; + com.google.cloud.osconfig.v1.Inventory.Item other = (com.google.cloud.osconfig.v1.Inventory.Item) obj; - if (!getId().equals(other.getId())) return false; + if (!getId() + .equals(other.getId())) return false; if (originType_ != other.originType_) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (type_ != other.type_) return false; if (!getDetailsCase().equals(other.getDetailsCase())) return false; switch (detailsCase_) { case 6: - if (!getInstalledPackage().equals(other.getInstalledPackage())) return false; + if (!getInstalledPackage() + .equals(other.getInstalledPackage())) return false; break; case 7: - if (!getAvailablePackage().equals(other.getAvailablePackage())) return false; + if (!getAvailablePackage() + .equals(other.getAvailablePackage())) return false; break; case 0: default: @@ -3502,94 +3155,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.Inventory.Item parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1.Inventory.Item parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.Item parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.Item parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.Item 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.osconfig.v1.Inventory.Item parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.Item parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.Item parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.Item parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.Inventory.Item parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Inventory.Item parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.Item parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.Item parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.Item parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory.Item prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3599,32 +3246,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A single piece of inventory on a VM.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.Inventory.Item} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory.Item) com.google.cloud.osconfig.v1.Inventory.ItemOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_Item_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_Item_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.Item.class, - com.google.cloud.osconfig.v1.Inventory.Item.Builder.class); + com.google.cloud.osconfig.v1.Inventory.Item.class, com.google.cloud.osconfig.v1.Inventory.Item.Builder.class); } // Construct using com.google.cloud.osconfig.v1.Inventory.Item.newBuilder() @@ -3632,15 +3274,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3668,9 +3311,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor; } @java.lang.Override @@ -3689,8 +3332,7 @@ public com.google.cloud.osconfig.v1.Inventory.Item build() { @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.Item buildPartial() { - com.google.cloud.osconfig.v1.Inventory.Item result = - new com.google.cloud.osconfig.v1.Inventory.Item(this); + com.google.cloud.osconfig.v1.Inventory.Item result = new com.google.cloud.osconfig.v1.Inventory.Item(this); result.id_ = id_; result.originType_ = originType_; if (createTimeBuilder_ == null) { @@ -3727,41 +3369,38 @@ public com.google.cloud.osconfig.v1.Inventory.Item buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.Inventory.Item) { - return mergeFrom((com.google.cloud.osconfig.v1.Inventory.Item) other); + return mergeFrom((com.google.cloud.osconfig.v1.Inventory.Item)other); } else { super.mergeFrom(other); return this; @@ -3787,20 +3426,17 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.Item other) { setTypeValue(other.getTypeValue()); } switch (other.getDetailsCase()) { - case INSTALLED_PACKAGE: - { - mergeInstalledPackage(other.getInstalledPackage()); - break; - } - case AVAILABLE_PACKAGE: - { - mergeAvailablePackage(other.getAvailablePackage()); - break; - } - case DETAILS_NOT_SET: - { - break; - } + case INSTALLED_PACKAGE: { + mergeInstalledPackage(other.getInstalledPackage()); + break; + } + case AVAILABLE_PACKAGE: { + mergeAvailablePackage(other.getAvailablePackage()); + break; + } + case DETAILS_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -3830,12 +3466,12 @@ public Builder mergeFrom( } return this; } - private int detailsCase_ = 0; private java.lang.Object details_; - - public DetailsCase getDetailsCase() { - return DetailsCase.forNumber(detailsCase_); + public DetailsCase + getDetailsCase() { + return DetailsCase.forNumber( + detailsCase_); } public Builder clearDetails() { @@ -3845,22 +3481,21 @@ public Builder clearDetails() { return this; } + private java.lang.Object id_ = ""; /** - * - * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -3869,21 +3504,20 @@ public java.lang.String getId() { } } /** - * - * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -3891,61 +3525,54 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -3953,67 +3580,51 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private int originType_ = 0; /** - * - * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.OriginType origin_type = 2; - * * @return The enum numeric value on the wire for originType. */ - @java.lang.Override - public int getOriginTypeValue() { + @java.lang.Override public int getOriginTypeValue() { return originType_; } /** - * - * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.OriginType origin_type = 2; - * * @param value The enum numeric value on the wire for originType to set. * @return This builder for chaining. */ public Builder setOriginTypeValue(int value) { - + originType_ = value; onChanged(); return this; } /** - * - * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.OriginType origin_type = 2; - * * @return The originType. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.Item.OriginType getOriginType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.Inventory.Item.OriginType result = - com.google.cloud.osconfig.v1.Inventory.Item.OriginType.valueOf(originType_); - return result == null - ? com.google.cloud.osconfig.v1.Inventory.Item.OriginType.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.Inventory.Item.OriginType result = com.google.cloud.osconfig.v1.Inventory.Item.OriginType.valueOf(originType_); + return result == null ? com.google.cloud.osconfig.v1.Inventory.Item.OriginType.UNRECOGNIZED : result; } /** - * - * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.OriginType origin_type = 2; - * * @param value The originType to set. * @return This builder for chaining. */ @@ -4021,24 +3632,21 @@ public Builder setOriginType(com.google.cloud.osconfig.v1.Inventory.Item.OriginT if (value == null) { throw new NullPointerException(); } - + originType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.OriginType origin_type = 2; - * * @return This builder for chaining. */ public Builder clearOriginType() { - + originType_ = 0; onChanged(); return this; @@ -4046,47 +3654,34 @@ public Builder clearOriginType() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
        * When this inventory item was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 8; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
        * When this inventory item was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 8; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
        * When this inventory item was first detected.
        * 
@@ -4107,15 +3702,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * When this inventory item was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 8; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -4126,8 +3720,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * When this inventory item was first detected.
        * 
@@ -4138,9 +3730,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -4152,8 +3742,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * When this inventory item was first detected.
        * 
@@ -4172,8 +3760,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
        * When this inventory item was first detected.
        * 
@@ -4181,13 +3767,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 8; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * When this inventory item was first detected.
        * 
@@ -4198,14 +3782,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
        * When this inventory item was first detected.
        * 
@@ -4213,17 +3794,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -4231,47 +3809,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
        * When this inventory item was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 9; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
        * When this inventory item was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 9; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
        * When this inventory item was last modified.
        * 
@@ -4292,15 +3857,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * When this inventory item was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 9; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -4311,8 +3875,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * When this inventory item was last modified.
        * 
@@ -4323,9 +3885,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -4337,8 +3897,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * When this inventory item was last modified.
        * 
@@ -4357,8 +3915,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
        * When this inventory item was last modified.
        * 
@@ -4366,13 +3922,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 9; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * When this inventory item was last modified.
        * 
@@ -4383,14 +3937,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
        * When this inventory item was last modified.
        * 
@@ -4398,17 +3949,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -4416,67 +3964,51 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private int type_ = 0; /** - * - * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.Type type = 5; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.Type type = 5; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.Type type = 5; - * * @return The type. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.Item.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.Inventory.Item.Type result = - com.google.cloud.osconfig.v1.Inventory.Item.Type.valueOf(type_); - return result == null - ? com.google.cloud.osconfig.v1.Inventory.Item.Type.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.Inventory.Item.Type result = com.google.cloud.osconfig.v1.Inventory.Item.Type.valueOf(type_); + return result == null ? com.google.cloud.osconfig.v1.Inventory.Item.Type.UNRECOGNIZED : result; } /** - * - * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.Type type = 5; - * * @param value The type to set. * @return This builder for chaining. */ @@ -4484,43 +4016,34 @@ public Builder setType(com.google.cloud.osconfig.v1.Inventory.Item.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.Type type = 5; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, - com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder> - installedPackageBuilder_; + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder> installedPackageBuilder_; /** - * - * *
        * Software package present on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; - * * @return Whether the installedPackage field is set. */ @java.lang.Override @@ -4528,14 +4051,11 @@ public boolean hasInstalledPackage() { return detailsCase_ == 6; } /** - * - * *
        * Software package present on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; - * * @return The installedPackage. */ @java.lang.Override @@ -4553,16 +4073,13 @@ public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getInstalledPackag } } /** - * - * *
        * Software package present on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; */ - public Builder setInstalledPackage( - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage value) { + public Builder setInstalledPackage(com.google.cloud.osconfig.v1.Inventory.SoftwarePackage value) { if (installedPackageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4576,8 +4093,6 @@ public Builder setInstalledPackage( return this; } /** - * - * *
        * Software package present on the VM instance.
        * 
@@ -4596,25 +4111,18 @@ public Builder setInstalledPackage( return this; } /** - * - * *
        * Software package present on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; */ - public Builder mergeInstalledPackage( - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage value) { + public Builder mergeInstalledPackage(com.google.cloud.osconfig.v1.Inventory.SoftwarePackage value) { if (installedPackageBuilder_ == null) { - if (detailsCase_ == 6 - && details_ - != com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance()) { - details_ = - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.newBuilder( - (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 6 && + details_ != com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance()) { + details_ = com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.newBuilder((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -4630,8 +4138,6 @@ public Builder mergeInstalledPackage( return this; } /** - * - * *
        * Software package present on the VM instance.
        * 
@@ -4655,21 +4161,16 @@ public Builder clearInstalledPackage() { return this; } /** - * - * *
        * Software package present on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; */ - public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder - getInstalledPackageBuilder() { + public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder getInstalledPackageBuilder() { return getInstalledPackageFieldBuilder().getBuilder(); } /** - * - * *
        * Software package present on the VM instance.
        * 
@@ -4677,8 +4178,7 @@ public Builder clearInstalledPackage() { * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder - getInstalledPackageOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder getInstalledPackageOrBuilder() { if ((detailsCase_ == 6) && (installedPackageBuilder_ != null)) { return installedPackageBuilder_.getMessageOrBuilder(); } else { @@ -4689,8 +4189,6 @@ public Builder clearInstalledPackage() { } } /** - * - * *
        * Software package present on the VM instance.
        * 
@@ -4698,44 +4196,32 @@ public Builder clearInstalledPackage() { * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, - com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder> + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder> getInstalledPackageFieldBuilder() { if (installedPackageBuilder_ == null) { if (!(detailsCase_ == 6)) { details_ = com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance(); } - installedPackageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, - com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder>( + installedPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder>( (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 6; - onChanged(); - ; + onChanged();; return installedPackageBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, - com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder> - availablePackageBuilder_; + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder> availablePackageBuilder_; /** - * - * *
        * Software package available to be installed on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; - * * @return Whether the availablePackage field is set. */ @java.lang.Override @@ -4743,14 +4229,11 @@ public boolean hasAvailablePackage() { return detailsCase_ == 7; } /** - * - * *
        * Software package available to be installed on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; - * * @return The availablePackage. */ @java.lang.Override @@ -4768,16 +4251,13 @@ public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getAvailablePackag } } /** - * - * *
        * Software package available to be installed on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; */ - public Builder setAvailablePackage( - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage value) { + public Builder setAvailablePackage(com.google.cloud.osconfig.v1.Inventory.SoftwarePackage value) { if (availablePackageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4791,8 +4271,6 @@ public Builder setAvailablePackage( return this; } /** - * - * *
        * Software package available to be installed on the VM instance.
        * 
@@ -4811,25 +4289,18 @@ public Builder setAvailablePackage( return this; } /** - * - * *
        * Software package available to be installed on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; */ - public Builder mergeAvailablePackage( - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage value) { + public Builder mergeAvailablePackage(com.google.cloud.osconfig.v1.Inventory.SoftwarePackage value) { if (availablePackageBuilder_ == null) { - if (detailsCase_ == 7 - && details_ - != com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance()) { - details_ = - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.newBuilder( - (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 7 && + details_ != com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance()) { + details_ = com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.newBuilder((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -4845,8 +4316,6 @@ public Builder mergeAvailablePackage( return this; } /** - * - * *
        * Software package available to be installed on the VM instance.
        * 
@@ -4870,21 +4339,16 @@ public Builder clearAvailablePackage() { return this; } /** - * - * *
        * Software package available to be installed on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; */ - public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder - getAvailablePackageBuilder() { + public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder getAvailablePackageBuilder() { return getAvailablePackageFieldBuilder().getBuilder(); } /** - * - * *
        * Software package available to be installed on the VM instance.
        * 
@@ -4892,8 +4356,7 @@ public Builder clearAvailablePackage() { * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder - getAvailablePackageOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder getAvailablePackageOrBuilder() { if ((detailsCase_ == 7) && (availablePackageBuilder_ != null)) { return availablePackageBuilder_.getMessageOrBuilder(); } else { @@ -4904,8 +4367,6 @@ public Builder clearAvailablePackage() { } } /** - * - * *
        * Software package available to be installed on the VM instance.
        * 
@@ -4913,30 +4374,23 @@ public Builder clearAvailablePackage() { * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, - com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder> + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder> getAvailablePackageFieldBuilder() { if (availablePackageBuilder_ == null) { if (!(detailsCase_ == 7)) { details_ = com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance(); } - availablePackageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, - com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder>( + availablePackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder>( (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 7; - onChanged(); - ; + onChanged();; return availablePackageBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4949,12 +4403,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory.Item) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory.Item) private static final com.google.cloud.osconfig.v1.Inventory.Item DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory.Item(); } @@ -4963,16 +4417,16 @@ public static com.google.cloud.osconfig.v1.Inventory.Item getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Item parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Item(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Item parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Item(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4987,16 +4441,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.Inventory.Item getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface SoftwarePackageOrBuilder - extends + public interface SoftwarePackageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory.SoftwarePackage) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -5004,13 +4456,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1; - * * @return Whether the yumPackage field is set. */ boolean hasYumPackage(); /** - * - * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -5018,13 +4467,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1; - * * @return The yumPackage. */ com.google.cloud.osconfig.v1.Inventory.VersionedPackage getYumPackage(); /** - * - * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -5036,8 +4482,6 @@ public interface SoftwarePackageOrBuilder
     com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getYumPackageOrBuilder();
 
     /**
-     *
-     *
      * 
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -5045,13 +4489,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2; - * * @return Whether the aptPackage field is set. */ boolean hasAptPackage(); /** - * - * *
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -5059,13 +4500,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2; - * * @return The aptPackage. */ com.google.cloud.osconfig.v1.Inventory.VersionedPackage getAptPackage(); /** - * - * *
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -5077,8 +4515,6 @@ public interface SoftwarePackageOrBuilder
     com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getAptPackageOrBuilder();
 
     /**
-     *
-     *
      * 
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -5086,13 +4522,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3; - * * @return Whether the zypperPackage field is set. */ boolean hasZypperPackage(); /** - * - * *
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -5100,13 +4533,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3; - * * @return The zypperPackage. */ com.google.cloud.osconfig.v1.Inventory.VersionedPackage getZypperPackage(); /** - * - * *
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -5118,8 +4548,6 @@ public interface SoftwarePackageOrBuilder
     com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getZypperPackageOrBuilder();
 
     /**
-     *
-     *
      * 
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -5127,13 +4555,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4; - * * @return Whether the googetPackage field is set. */ boolean hasGoogetPackage(); /** - * - * *
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -5141,13 +4566,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4; - * * @return The googetPackage. */ com.google.cloud.osconfig.v1.Inventory.VersionedPackage getGoogetPackage(); /** - * - * *
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -5159,8 +4581,6 @@ public interface SoftwarePackageOrBuilder
     com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getGoogetPackageOrBuilder();
 
     /**
-     *
-     *
      * 
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -5168,13 +4588,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1.Inventory.ZypperPatch zypper_patch = 5; - * * @return Whether the zypperPatch field is set. */ boolean hasZypperPatch(); /** - * - * *
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -5182,13 +4599,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1.Inventory.ZypperPatch zypper_patch = 5; - * * @return The zypperPatch. */ com.google.cloud.osconfig.v1.Inventory.ZypperPatch getZypperPatch(); /** - * - * *
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -5200,8 +4614,6 @@ public interface SoftwarePackageOrBuilder
     com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder getZypperPatchOrBuilder();
 
     /**
-     *
-     *
      * 
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -5209,13 +4621,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6; - * * @return Whether the wuaPackage field is set. */ boolean hasWuaPackage(); /** - * - * *
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -5223,13 +4632,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6; - * * @return The wuaPackage. */ com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage getWuaPackage(); /** - * - * *
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -5241,8 +4647,6 @@ public interface SoftwarePackageOrBuilder
     com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder getWuaPackageOrBuilder();
 
     /**
-     *
-     *
      * 
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -5250,15 +4654,11 @@ public interface SoftwarePackageOrBuilder
      * for info in Windows Quick Fix Engineering.
      * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * - * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; * @return Whether the qfePackage field is set. */ boolean hasQfePackage(); /** - * - * *
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -5266,15 +4666,11 @@ public interface SoftwarePackageOrBuilder
      * for info in Windows Quick Fix Engineering.
      * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * - * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; * @return The qfePackage. */ com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage getQfePackage(); /** - * - * *
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -5282,39 +4678,29 @@ public interface SoftwarePackageOrBuilder
      * for info in Windows Quick Fix Engineering.
      * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; */ - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder - getQfePackageOrBuilder(); + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder getQfePackageOrBuilder(); /** - * - * *
      * Details of a COS package.
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; - * * @return Whether the cosPackage field is set. */ boolean hasCosPackage(); /** - * - * *
      * Details of a COS package.
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; - * * @return The cosPackage. */ com.google.cloud.osconfig.v1.Inventory.VersionedPackage getCosPackage(); /** - * - * *
      * Details of a COS package.
      * 
@@ -5324,75 +4710,65 @@ public interface SoftwarePackageOrBuilder com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getCosPackageOrBuilder(); /** - * - * *
      * Details of Windows Application.
      * 
* * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; - * * @return Whether the windowsApplication field is set. */ boolean hasWindowsApplication(); /** - * - * *
      * Details of Windows Application.
      * 
* * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; - * * @return The windowsApplication. */ com.google.cloud.osconfig.v1.Inventory.WindowsApplication getWindowsApplication(); /** - * - * *
      * Details of Windows Application.
      * 
* * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; */ - com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder - getWindowsApplicationOrBuilder(); + com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder getWindowsApplicationOrBuilder(); public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.DetailsCase getDetailsCase(); } /** - * - * *
    * Software package information of the operating system.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.Inventory.SoftwarePackage} */ - public static final class SoftwarePackage extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class SoftwarePackage extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory.SoftwarePackage) SoftwarePackageOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SoftwarePackage.newBuilder() to construct. private SoftwarePackage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SoftwarePackage() {} + private SoftwarePackage() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SoftwarePackage(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SoftwarePackage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5411,232 +4787,170 @@ private SoftwarePackage( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; - if (detailsCase_ == 1) { - subBuilder = - ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 1; - break; + case 10: { + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; + if (detailsCase_ == 1) { + subBuilder = ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_).toBuilder(); } - case 18: - { - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; - if (detailsCase_ == 2) { - subBuilder = - ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 2; - break; + details_ = + input.readMessage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; - if (detailsCase_ == 3) { - subBuilder = - ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 3; - break; + detailsCase_ = 1; + break; + } + case 18: { + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; + if (detailsCase_ == 2) { + subBuilder = ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_).toBuilder(); } - case 34: - { - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; - if (detailsCase_ == 4) { - subBuilder = - ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 4; - break; + details_ = + input.readMessage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder subBuilder = null; - if (detailsCase_ == 5) { - subBuilder = - ((com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_).toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1.Inventory.ZypperPatch.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 5; - break; + detailsCase_ = 2; + break; + } + case 26: { + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; + if (detailsCase_ == 3) { + subBuilder = ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_).toBuilder(); } - case 50: - { - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder subBuilder = - null; - if (detailsCase_ == 6) { - subBuilder = - ((com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 6; - break; + details_ = + input.readMessage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder - subBuilder = null; - if (detailsCase_ == 7) { - subBuilder = - ((com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) - details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) - details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 7; - break; + detailsCase_ = 3; + break; + } + case 34: { + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; + if (detailsCase_ == 4) { + subBuilder = ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_).toBuilder(); } - case 66: - { - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; - if (detailsCase_ == 8) { - subBuilder = - ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 8; - break; + details_ = + input.readMessage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); } - case 74: - { - com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder subBuilder = null; - if (detailsCase_ == 9) { - subBuilder = - ((com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1.Inventory.WindowsApplication.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 9; - break; + detailsCase_ = 4; + break; + } + case 42: { + com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder subBuilder = null; + if (detailsCase_ == 5) { + subBuilder = ((com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + details_ = + input.readMessage(com.google.cloud.osconfig.v1.Inventory.ZypperPatch.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_); + details_ = subBuilder.buildPartial(); } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_fieldAccessorTable + detailsCase_ = 5; + break; + } + case 50: { + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder subBuilder = null; + if (detailsCase_ == 6) { + subBuilder = ((com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_).toBuilder(); + } + details_ = + input.readMessage(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 6; + break; + } + case 58: { + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder subBuilder = null; + if (detailsCase_ == 7) { + subBuilder = ((com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_).toBuilder(); + } + details_ = + input.readMessage(com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 7; + break; + } + case 66: { + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; + if (detailsCase_ == 8) { + subBuilder = ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_).toBuilder(); + } + details_ = + input.readMessage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 8; + break; + } + case 74: { + com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder subBuilder = null; + if (detailsCase_ == 9) { + subBuilder = ((com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_).toBuilder(); + } + details_ = + input.readMessage(com.google.cloud.osconfig.v1.Inventory.WindowsApplication.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 9; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.class, - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder.class); + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.class, com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder.class); } private int detailsCase_ = 0; private java.lang.Object details_; - public enum DetailsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { YUM_PACKAGE(1), APT_PACKAGE(2), @@ -5649,7 +4963,6 @@ public enum DetailsCase WINDOWS_APPLICATION(9), DETAILS_NOT_SET(0); private final int value; - private DetailsCase(int value) { this.value = value; } @@ -5665,44 +4978,32 @@ public static DetailsCase valueOf(int value) { public static DetailsCase forNumber(int value) { switch (value) { - case 1: - return YUM_PACKAGE; - case 2: - return APT_PACKAGE; - case 3: - return ZYPPER_PACKAGE; - case 4: - return GOOGET_PACKAGE; - case 5: - return ZYPPER_PATCH; - case 6: - return WUA_PACKAGE; - case 7: - return QFE_PACKAGE; - case 8: - return COS_PACKAGE; - case 9: - return WINDOWS_APPLICATION; - case 0: - return DETAILS_NOT_SET; - default: - return null; + case 1: return YUM_PACKAGE; + case 2: return APT_PACKAGE; + case 3: return ZYPPER_PACKAGE; + case 4: return GOOGET_PACKAGE; + case 5: return ZYPPER_PATCH; + case 6: return WUA_PACKAGE; + case 7: return QFE_PACKAGE; + case 8: return COS_PACKAGE; + case 9: return WINDOWS_APPLICATION; + case 0: return DETAILS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DetailsCase getDetailsCase() { - return DetailsCase.forNumber(detailsCase_); + public DetailsCase + getDetailsCase() { + return DetailsCase.forNumber( + detailsCase_); } public static final int YUM_PACKAGE_FIELD_NUMBER = 1; /** - * - * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -5710,7 +5011,6 @@ public DetailsCase getDetailsCase() {
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1; - * * @return Whether the yumPackage field is set. */ @java.lang.Override @@ -5718,8 +5018,6 @@ public boolean hasYumPackage() { return detailsCase_ == 1; } /** - * - * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -5727,19 +5025,16 @@ public boolean hasYumPackage() {
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1; - * * @return The yumPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getYumPackage() { if (detailsCase_ == 1) { - return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance(); } /** - * - * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -5749,18 +5044,15 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getYumPackage() {
      * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder
-        getYumPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getYumPackageOrBuilder() {
       if (detailsCase_ == 1) {
-        return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_;
+         return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_;
       }
       return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance();
     }
 
     public static final int APT_PACKAGE_FIELD_NUMBER = 2;
     /**
-     *
-     *
      * 
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -5768,7 +5060,6 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getYumPackage() {
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2; - * * @return Whether the aptPackage field is set. */ @java.lang.Override @@ -5776,8 +5067,6 @@ public boolean hasAptPackage() { return detailsCase_ == 2; } /** - * - * *
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -5785,19 +5074,16 @@ public boolean hasAptPackage() {
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2; - * * @return The aptPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getAptPackage() { if (detailsCase_ == 2) { - return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance(); } /** - * - * *
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -5807,18 +5093,15 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getAptPackage() {
      * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder
-        getAptPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getAptPackageOrBuilder() {
       if (detailsCase_ == 2) {
-        return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_;
+         return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_;
       }
       return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance();
     }
 
     public static final int ZYPPER_PACKAGE_FIELD_NUMBER = 3;
     /**
-     *
-     *
      * 
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -5826,7 +5109,6 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getAptPackage() {
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3; - * * @return Whether the zypperPackage field is set. */ @java.lang.Override @@ -5834,8 +5116,6 @@ public boolean hasZypperPackage() { return detailsCase_ == 3; } /** - * - * *
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -5843,19 +5123,16 @@ public boolean hasZypperPackage() {
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3; - * * @return The zypperPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getZypperPackage() { if (detailsCase_ == 3) { - return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance(); } /** - * - * *
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -5865,18 +5142,15 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getZypperPackage(
      * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder
-        getZypperPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getZypperPackageOrBuilder() {
       if (detailsCase_ == 3) {
-        return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_;
+         return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_;
       }
       return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance();
     }
 
     public static final int GOOGET_PACKAGE_FIELD_NUMBER = 4;
     /**
-     *
-     *
      * 
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -5884,7 +5158,6 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getZypperPackage(
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4; - * * @return Whether the googetPackage field is set. */ @java.lang.Override @@ -5892,8 +5165,6 @@ public boolean hasGoogetPackage() { return detailsCase_ == 4; } /** - * - * *
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -5901,19 +5172,16 @@ public boolean hasGoogetPackage() {
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4; - * * @return The googetPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getGoogetPackage() { if (detailsCase_ == 4) { - return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance(); } /** - * - * *
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -5923,18 +5191,15 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getGoogetPackage(
      * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder
-        getGoogetPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getGoogetPackageOrBuilder() {
       if (detailsCase_ == 4) {
-        return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_;
+         return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_;
       }
       return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance();
     }
 
     public static final int ZYPPER_PATCH_FIELD_NUMBER = 5;
     /**
-     *
-     *
      * 
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -5942,7 +5207,6 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getGoogetPackage(
      * 
* * .google.cloud.osconfig.v1.Inventory.ZypperPatch zypper_patch = 5; - * * @return Whether the zypperPatch field is set. */ @java.lang.Override @@ -5950,8 +5214,6 @@ public boolean hasZypperPatch() { return detailsCase_ == 5; } /** - * - * *
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -5959,19 +5221,16 @@ public boolean hasZypperPatch() {
      * 
* * .google.cloud.osconfig.v1.Inventory.ZypperPatch zypper_patch = 5; - * * @return The zypperPatch. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.ZypperPatch getZypperPatch() { if (detailsCase_ == 5) { - return (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_; + return (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_; } return com.google.cloud.osconfig.v1.Inventory.ZypperPatch.getDefaultInstance(); } /** - * - * *
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -5983,15 +5242,13 @@ public com.google.cloud.osconfig.v1.Inventory.ZypperPatch getZypperPatch() {
     @java.lang.Override
     public com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder getZypperPatchOrBuilder() {
       if (detailsCase_ == 5) {
-        return (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_;
+         return (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_;
       }
       return com.google.cloud.osconfig.v1.Inventory.ZypperPatch.getDefaultInstance();
     }
 
     public static final int WUA_PACKAGE_FIELD_NUMBER = 6;
     /**
-     *
-     *
      * 
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -5999,7 +5256,6 @@ public com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder getZypperPatc
      * 
* * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6; - * * @return Whether the wuaPackage field is set. */ @java.lang.Override @@ -6007,8 +5263,6 @@ public boolean hasWuaPackage() { return detailsCase_ == 6; } /** - * - * *
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -6016,19 +5270,16 @@ public boolean hasWuaPackage() {
      * 
* * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6; - * * @return The wuaPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage getWuaPackage() { if (detailsCase_ == 6) { - return (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_; } return com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.getDefaultInstance(); } /** - * - * *
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -6038,18 +5289,15 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage getWuaPackage
      * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder
-        getWuaPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder getWuaPackageOrBuilder() {
       if (detailsCase_ == 6) {
-        return (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_;
+         return (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_;
       }
       return com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.getDefaultInstance();
     }
 
     public static final int QFE_PACKAGE_FIELD_NUMBER = 7;
     /**
-     *
-     *
      * 
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -6057,9 +5305,7 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage getWuaPackage
      * for info in Windows Quick Fix Engineering.
      * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * - * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; * @return Whether the qfePackage field is set. */ @java.lang.Override @@ -6067,8 +5313,6 @@ public boolean hasQfePackage() { return detailsCase_ == 7; } /** - * - * *
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -6076,23 +5320,17 @@ public boolean hasQfePackage() {
      * for info in Windows Quick Fix Engineering.
      * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * - * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; * @return The qfePackage. */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - getQfePackage() { + public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage getQfePackage() { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_; } - return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); } /** - * - * *
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -6100,29 +5338,23 @@ public boolean hasQfePackage() {
      * for info in Windows Quick Fix Engineering.
      * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder - getQfePackageOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder getQfePackageOrBuilder() { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_; } - return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); } public static final int COS_PACKAGE_FIELD_NUMBER = 8; /** - * - * *
      * Details of a COS package.
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; - * * @return Whether the cosPackage field is set. */ @java.lang.Override @@ -6130,26 +5362,21 @@ public boolean hasCosPackage() { return detailsCase_ == 8; } /** - * - * *
      * Details of a COS package.
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; - * * @return The cosPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getCosPackage() { if (detailsCase_ == 8) { - return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance(); } /** - * - * *
      * Details of a COS package.
      * 
@@ -6157,24 +5384,20 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getCosPackage() { * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder - getCosPackageOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getCosPackageOrBuilder() { if (detailsCase_ == 8) { - return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance(); } public static final int WINDOWS_APPLICATION_FIELD_NUMBER = 9; /** - * - * *
      * Details of Windows Application.
      * 
* * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; - * * @return Whether the windowsApplication field is set. */ @java.lang.Override @@ -6182,26 +5405,21 @@ public boolean hasWindowsApplication() { return detailsCase_ == 9; } /** - * - * *
      * Details of Windows Application.
      * 
* * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; - * * @return The windowsApplication. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.WindowsApplication getWindowsApplication() { if (detailsCase_ == 9) { - return (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_; + return (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_; } return com.google.cloud.osconfig.v1.Inventory.WindowsApplication.getDefaultInstance(); } /** - * - * *
      * Details of Windows Application.
      * 
@@ -6209,16 +5427,14 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsApplication getWindowsAppli * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder - getWindowsApplicationOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder getWindowsApplicationOrBuilder() { if (detailsCase_ == 9) { - return (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_; + return (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_; } return com.google.cloud.osconfig.v1.Inventory.WindowsApplication.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6230,7 +5446,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (detailsCase_ == 1) { output.writeMessage(1, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); } @@ -6247,19 +5464,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(5, (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_); } if (detailsCase_ == 6) { - output.writeMessage( - 6, (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_); + output.writeMessage(6, (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_); } if (detailsCase_ == 7) { - output.writeMessage( - 7, (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_); + output.writeMessage(7, (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_); } if (detailsCase_ == 8) { output.writeMessage(8, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); } if (detailsCase_ == 9) { - output.writeMessage( - 9, (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_); + output.writeMessage(9, (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_); } unknownFields.writeTo(output); } @@ -6271,51 +5485,40 @@ public int getSerializedSize() { size = 0; if (detailsCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); } if (detailsCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); } if (detailsCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); } if (detailsCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); } if (detailsCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_); } if (detailsCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_); } if (detailsCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, - (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) - details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_); } if (detailsCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); } if (detailsCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6325,42 +5528,50 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory.SoftwarePackage)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage other = - (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) obj; + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage other = (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) obj; if (!getDetailsCase().equals(other.getDetailsCase())) return false; switch (detailsCase_) { case 1: - if (!getYumPackage().equals(other.getYumPackage())) return false; + if (!getYumPackage() + .equals(other.getYumPackage())) return false; break; case 2: - if (!getAptPackage().equals(other.getAptPackage())) return false; + if (!getAptPackage() + .equals(other.getAptPackage())) return false; break; case 3: - if (!getZypperPackage().equals(other.getZypperPackage())) return false; + if (!getZypperPackage() + .equals(other.getZypperPackage())) return false; break; case 4: - if (!getGoogetPackage().equals(other.getGoogetPackage())) return false; + if (!getGoogetPackage() + .equals(other.getGoogetPackage())) return false; break; case 5: - if (!getZypperPatch().equals(other.getZypperPatch())) return false; + if (!getZypperPatch() + .equals(other.getZypperPatch())) return false; break; case 6: - if (!getWuaPackage().equals(other.getWuaPackage())) return false; + if (!getWuaPackage() + .equals(other.getWuaPackage())) return false; break; case 7: - if (!getQfePackage().equals(other.getQfePackage())) return false; + if (!getQfePackage() + .equals(other.getQfePackage())) return false; break; case 8: - if (!getCosPackage().equals(other.getCosPackage())) return false; + if (!getCosPackage() + .equals(other.getCosPackage())) return false; break; case 9: - if (!getWindowsApplication().equals(other.getWindowsApplication())) return false; + if (!getWindowsApplication() + .equals(other.getWindowsApplication())) return false; break; case 0: default: @@ -6422,94 +5633,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage 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.osconfig.v1.Inventory.SoftwarePackage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory.SoftwarePackage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6519,32 +5723,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Software package information of the operating system.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.Inventory.SoftwarePackage} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory.SoftwarePackage) com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.class, - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder.class); + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.class, com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder.class); } // Construct using com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.newBuilder() @@ -6552,15 +5751,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -6570,9 +5770,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor; } @java.lang.Override @@ -6591,8 +5791,7 @@ public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage build() { @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage buildPartial() { - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage result = - new com.google.cloud.osconfig.v1.Inventory.SoftwarePackage(this); + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage result = new com.google.cloud.osconfig.v1.Inventory.SoftwarePackage(this); if (detailsCase_ == 1) { if (yumPackageBuilder_ == null) { result.details_ = details_; @@ -6665,41 +5864,38 @@ public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.Inventory.SoftwarePackage) { - return mergeFrom((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) other); + return mergeFrom((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage)other); } else { super.mergeFrom(other); return this; @@ -6707,58 +5903,47 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.SoftwarePackage other) { - if (other == com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance()) return this; switch (other.getDetailsCase()) { - case YUM_PACKAGE: - { - mergeYumPackage(other.getYumPackage()); - break; - } - case APT_PACKAGE: - { - mergeAptPackage(other.getAptPackage()); - break; - } - case ZYPPER_PACKAGE: - { - mergeZypperPackage(other.getZypperPackage()); - break; - } - case GOOGET_PACKAGE: - { - mergeGoogetPackage(other.getGoogetPackage()); - break; - } - case ZYPPER_PATCH: - { - mergeZypperPatch(other.getZypperPatch()); - break; - } - case WUA_PACKAGE: - { - mergeWuaPackage(other.getWuaPackage()); - break; - } - case QFE_PACKAGE: - { - mergeQfePackage(other.getQfePackage()); - break; - } - case COS_PACKAGE: - { - mergeCosPackage(other.getCosPackage()); - break; - } - case WINDOWS_APPLICATION: - { - mergeWindowsApplication(other.getWindowsApplication()); - break; - } - case DETAILS_NOT_SET: - { - break; - } + case YUM_PACKAGE: { + mergeYumPackage(other.getYumPackage()); + break; + } + case APT_PACKAGE: { + mergeAptPackage(other.getAptPackage()); + break; + } + case ZYPPER_PACKAGE: { + mergeZypperPackage(other.getZypperPackage()); + break; + } + case GOOGET_PACKAGE: { + mergeGoogetPackage(other.getGoogetPackage()); + break; + } + case ZYPPER_PATCH: { + mergeZypperPatch(other.getZypperPatch()); + break; + } + case WUA_PACKAGE: { + mergeWuaPackage(other.getWuaPackage()); + break; + } + case QFE_PACKAGE: { + mergeQfePackage(other.getQfePackage()); + break; + } + case COS_PACKAGE: { + mergeCosPackage(other.getCosPackage()); + break; + } + case WINDOWS_APPLICATION: { + mergeWindowsApplication(other.getWindowsApplication()); + break; + } + case DETAILS_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -6779,8 +5964,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6789,12 +5973,12 @@ public Builder mergeFrom( } return this; } - private int detailsCase_ = 0; private java.lang.Object details_; - - public DetailsCase getDetailsCase() { - return DetailsCase.forNumber(detailsCase_); + public DetailsCase + getDetailsCase() { + return DetailsCase.forNumber( + detailsCase_); } public Builder clearDetails() { @@ -6804,14 +5988,10 @@ public Builder clearDetails() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.VersionedPackage, - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, - com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> - yumPackageBuilder_; + com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> yumPackageBuilder_; /** - * - * *
        * Yum package info.
        * For details about the yum package manager, see
@@ -6819,7 +5999,6 @@ public Builder clearDetails() {
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1; - * * @return Whether the yumPackage field is set. */ @java.lang.Override @@ -6827,8 +6006,6 @@ public boolean hasYumPackage() { return detailsCase_ == 1; } /** - * - * *
        * Yum package info.
        * For details about the yum package manager, see
@@ -6836,7 +6013,6 @@ public boolean hasYumPackage() {
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1; - * * @return The yumPackage. */ @java.lang.Override @@ -6854,8 +6030,6 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getYumPackage() { } } /** - * - * *
        * Yum package info.
        * For details about the yum package manager, see
@@ -6878,8 +6052,6 @@ public Builder setYumPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPac
         return this;
       }
       /**
-       *
-       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -6900,8 +6072,6 @@ public Builder setYumPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -6910,17 +6080,12 @@ public Builder setYumPackage(
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1;
        */
-      public Builder mergeYumPackage(
-          com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
+      public Builder mergeYumPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
         if (yumPackageBuilder_ == null) {
-          if (detailsCase_ == 1
-              && details_
-                  != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) {
-            details_ =
-                com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder(
-                        (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (detailsCase_ == 1 &&
+              details_ != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) {
+            details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_)
+                .mergeFrom(value).buildPartial();
           } else {
             details_ = value;
           }
@@ -6936,8 +6101,6 @@ public Builder mergeYumPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -6963,8 +6126,6 @@ public Builder clearYumPackage() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -6973,13 +6134,10 @@ public Builder clearYumPackage() {
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1;
        */
-      public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder
-          getYumPackageBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder getYumPackageBuilder() {
         return getYumPackageFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -6989,8 +6147,7 @@ public Builder clearYumPackage() {
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder
-          getYumPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getYumPackageOrBuilder() {
         if ((detailsCase_ == 1) && (yumPackageBuilder_ != null)) {
           return yumPackageBuilder_.getMessageOrBuilder();
         } else {
@@ -7001,8 +6158,6 @@ public Builder clearYumPackage() {
         }
       }
       /**
-       *
-       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -7012,38 +6167,27 @@ public Builder clearYumPackage() {
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>
+          com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> 
           getYumPackageFieldBuilder() {
         if (yumPackageBuilder_ == null) {
           if (!(detailsCase_ == 1)) {
             details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance();
           }
-          yumPackageBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
-                  com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
-                  com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>(
+          yumPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>(
                   (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 1;
-        onChanged();
-        ;
+        onChanged();;
         return yumPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>
-          aptPackageBuilder_;
+          com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> aptPackageBuilder_;
       /**
-       *
-       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -7051,7 +6195,6 @@ public Builder clearYumPackage() {
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2; - * * @return Whether the aptPackage field is set. */ @java.lang.Override @@ -7059,8 +6202,6 @@ public boolean hasAptPackage() { return detailsCase_ == 2; } /** - * - * *
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -7068,7 +6209,6 @@ public boolean hasAptPackage() {
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2; - * * @return The aptPackage. */ @java.lang.Override @@ -7086,8 +6226,6 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getAptPackage() { } } /** - * - * *
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -7110,8 +6248,6 @@ public Builder setAptPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPac
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -7132,8 +6268,6 @@ public Builder setAptPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -7142,17 +6276,12 @@ public Builder setAptPackage(
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2;
        */
-      public Builder mergeAptPackage(
-          com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
+      public Builder mergeAptPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
         if (aptPackageBuilder_ == null) {
-          if (detailsCase_ == 2
-              && details_
-                  != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) {
-            details_ =
-                com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder(
-                        (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (detailsCase_ == 2 &&
+              details_ != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) {
+            details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_)
+                .mergeFrom(value).buildPartial();
           } else {
             details_ = value;
           }
@@ -7168,8 +6297,6 @@ public Builder mergeAptPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -7195,8 +6322,6 @@ public Builder clearAptPackage() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -7205,13 +6330,10 @@ public Builder clearAptPackage() {
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2;
        */
-      public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder
-          getAptPackageBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder getAptPackageBuilder() {
         return getAptPackageFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -7221,8 +6343,7 @@ public Builder clearAptPackage() {
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder
-          getAptPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getAptPackageOrBuilder() {
         if ((detailsCase_ == 2) && (aptPackageBuilder_ != null)) {
           return aptPackageBuilder_.getMessageOrBuilder();
         } else {
@@ -7233,8 +6354,6 @@ public Builder clearAptPackage() {
         }
       }
       /**
-       *
-       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -7244,38 +6363,27 @@ public Builder clearAptPackage() {
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>
+          com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> 
           getAptPackageFieldBuilder() {
         if (aptPackageBuilder_ == null) {
           if (!(detailsCase_ == 2)) {
             details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance();
           }
-          aptPackageBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
-                  com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
-                  com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>(
+          aptPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>(
                   (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 2;
-        onChanged();
-        ;
+        onChanged();;
         return aptPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>
-          zypperPackageBuilder_;
+          com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> zypperPackageBuilder_;
       /**
-       *
-       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -7283,7 +6391,6 @@ public Builder clearAptPackage() {
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3; - * * @return Whether the zypperPackage field is set. */ @java.lang.Override @@ -7291,8 +6398,6 @@ public boolean hasZypperPackage() { return detailsCase_ == 3; } /** - * - * *
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -7300,7 +6405,6 @@ public boolean hasZypperPackage() {
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3; - * * @return The zypperPackage. */ @java.lang.Override @@ -7318,8 +6422,6 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getZypperPackage( } } /** - * - * *
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -7328,8 +6430,7 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getZypperPackage(
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3;
        */
-      public Builder setZypperPackage(
-          com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
+      public Builder setZypperPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
         if (zypperPackageBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -7343,8 +6444,6 @@ public Builder setZypperPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -7365,8 +6464,6 @@ public Builder setZypperPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -7375,17 +6472,12 @@ public Builder setZypperPackage(
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3;
        */
-      public Builder mergeZypperPackage(
-          com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
+      public Builder mergeZypperPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
         if (zypperPackageBuilder_ == null) {
-          if (detailsCase_ == 3
-              && details_
-                  != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) {
-            details_ =
-                com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder(
-                        (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (detailsCase_ == 3 &&
+              details_ != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) {
+            details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_)
+                .mergeFrom(value).buildPartial();
           } else {
             details_ = value;
           }
@@ -7401,8 +6493,6 @@ public Builder mergeZypperPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -7428,8 +6518,6 @@ public Builder clearZypperPackage() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -7438,13 +6526,10 @@ public Builder clearZypperPackage() {
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3;
        */
-      public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder
-          getZypperPackageBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder getZypperPackageBuilder() {
         return getZypperPackageFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -7454,8 +6539,7 @@ public Builder clearZypperPackage() {
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder
-          getZypperPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getZypperPackageOrBuilder() {
         if ((detailsCase_ == 3) && (zypperPackageBuilder_ != null)) {
           return zypperPackageBuilder_.getMessageOrBuilder();
         } else {
@@ -7466,8 +6550,6 @@ public Builder clearZypperPackage() {
         }
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -7477,38 +6559,27 @@ public Builder clearZypperPackage() {
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>
+          com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> 
           getZypperPackageFieldBuilder() {
         if (zypperPackageBuilder_ == null) {
           if (!(detailsCase_ == 3)) {
             details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance();
           }
-          zypperPackageBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
-                  com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
-                  com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>(
+          zypperPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>(
                   (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 3;
-        onChanged();
-        ;
+        onChanged();;
         return zypperPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>
-          googetPackageBuilder_;
+          com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> googetPackageBuilder_;
       /**
-       *
-       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -7516,7 +6587,6 @@ public Builder clearZypperPackage() {
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4; - * * @return Whether the googetPackage field is set. */ @java.lang.Override @@ -7524,8 +6594,6 @@ public boolean hasGoogetPackage() { return detailsCase_ == 4; } /** - * - * *
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -7533,7 +6601,6 @@ public boolean hasGoogetPackage() {
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4; - * * @return The googetPackage. */ @java.lang.Override @@ -7551,8 +6618,6 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getGoogetPackage( } } /** - * - * *
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -7561,8 +6626,7 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getGoogetPackage(
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4;
        */
-      public Builder setGoogetPackage(
-          com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
+      public Builder setGoogetPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
         if (googetPackageBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -7576,8 +6640,6 @@ public Builder setGoogetPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -7598,8 +6660,6 @@ public Builder setGoogetPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -7608,17 +6668,12 @@ public Builder setGoogetPackage(
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4;
        */
-      public Builder mergeGoogetPackage(
-          com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
+      public Builder mergeGoogetPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
         if (googetPackageBuilder_ == null) {
-          if (detailsCase_ == 4
-              && details_
-                  != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) {
-            details_ =
-                com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder(
-                        (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (detailsCase_ == 4 &&
+              details_ != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) {
+            details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_)
+                .mergeFrom(value).buildPartial();
           } else {
             details_ = value;
           }
@@ -7634,8 +6689,6 @@ public Builder mergeGoogetPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -7661,8 +6714,6 @@ public Builder clearGoogetPackage() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -7671,13 +6722,10 @@ public Builder clearGoogetPackage() {
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4;
        */
-      public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder
-          getGoogetPackageBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder getGoogetPackageBuilder() {
         return getGoogetPackageFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -7687,8 +6735,7 @@ public Builder clearGoogetPackage() {
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder
-          getGoogetPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getGoogetPackageOrBuilder() {
         if ((detailsCase_ == 4) && (googetPackageBuilder_ != null)) {
           return googetPackageBuilder_.getMessageOrBuilder();
         } else {
@@ -7699,8 +6746,6 @@ public Builder clearGoogetPackage() {
         }
       }
       /**
-       *
-       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -7710,38 +6755,27 @@ public Builder clearGoogetPackage() {
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>
+          com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> 
           getGoogetPackageFieldBuilder() {
         if (googetPackageBuilder_ == null) {
           if (!(detailsCase_ == 4)) {
             details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance();
           }
-          googetPackageBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
-                  com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
-                  com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>(
+          googetPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>(
                   (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 4;
-        onChanged();
-        ;
+        onChanged();;
         return googetPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Inventory.ZypperPatch,
-              com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder,
-              com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder>
-          zypperPatchBuilder_;
+          com.google.cloud.osconfig.v1.Inventory.ZypperPatch, com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder, com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder> zypperPatchBuilder_;
       /**
-       *
-       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -7749,7 +6783,6 @@ public Builder clearGoogetPackage() {
        * 
* * .google.cloud.osconfig.v1.Inventory.ZypperPatch zypper_patch = 5; - * * @return Whether the zypperPatch field is set. */ @java.lang.Override @@ -7757,8 +6790,6 @@ public boolean hasZypperPatch() { return detailsCase_ == 5; } /** - * - * *
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -7766,7 +6797,6 @@ public boolean hasZypperPatch() {
        * 
* * .google.cloud.osconfig.v1.Inventory.ZypperPatch zypper_patch = 5; - * * @return The zypperPatch. */ @java.lang.Override @@ -7784,8 +6814,6 @@ public com.google.cloud.osconfig.v1.Inventory.ZypperPatch getZypperPatch() { } } /** - * - * *
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -7808,8 +6836,6 @@ public Builder setZypperPatch(com.google.cloud.osconfig.v1.Inventory.ZypperPatch
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -7830,8 +6856,6 @@ public Builder setZypperPatch(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -7842,14 +6866,10 @@ public Builder setZypperPatch(
        */
       public Builder mergeZypperPatch(com.google.cloud.osconfig.v1.Inventory.ZypperPatch value) {
         if (zypperPatchBuilder_ == null) {
-          if (detailsCase_ == 5
-              && details_
-                  != com.google.cloud.osconfig.v1.Inventory.ZypperPatch.getDefaultInstance()) {
-            details_ =
-                com.google.cloud.osconfig.v1.Inventory.ZypperPatch.newBuilder(
-                        (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (detailsCase_ == 5 &&
+              details_ != com.google.cloud.osconfig.v1.Inventory.ZypperPatch.getDefaultInstance()) {
+            details_ = com.google.cloud.osconfig.v1.Inventory.ZypperPatch.newBuilder((com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_)
+                .mergeFrom(value).buildPartial();
           } else {
             details_ = value;
           }
@@ -7865,8 +6885,6 @@ public Builder mergeZypperPatch(com.google.cloud.osconfig.v1.Inventory.ZypperPat
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -7892,8 +6910,6 @@ public Builder clearZypperPatch() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -7906,8 +6922,6 @@ public com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder getZypperPatch
         return getZypperPatchFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -7928,8 +6942,6 @@ public com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder getZypperPatc
         }
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -7939,38 +6951,27 @@ public com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder getZypperPatc
        * .google.cloud.osconfig.v1.Inventory.ZypperPatch zypper_patch = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Inventory.ZypperPatch,
-              com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder,
-              com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder>
+          com.google.cloud.osconfig.v1.Inventory.ZypperPatch, com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder, com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder> 
           getZypperPatchFieldBuilder() {
         if (zypperPatchBuilder_ == null) {
           if (!(detailsCase_ == 5)) {
             details_ = com.google.cloud.osconfig.v1.Inventory.ZypperPatch.getDefaultInstance();
           }
-          zypperPatchBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1.Inventory.ZypperPatch,
-                  com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder,
-                  com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder>(
+          zypperPatchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1.Inventory.ZypperPatch, com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder, com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder>(
                   (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 5;
-        onChanged();
-        ;
+        onChanged();;
         return zypperPatchBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage,
-              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder,
-              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder>
-          wuaPackageBuilder_;
+          com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder> wuaPackageBuilder_;
       /**
-       *
-       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -7978,7 +6979,6 @@ public com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder getZypperPatc
        * 
* * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6; - * * @return Whether the wuaPackage field is set. */ @java.lang.Override @@ -7986,8 +6986,6 @@ public boolean hasWuaPackage() { return detailsCase_ == 6; } /** - * - * *
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -7995,7 +6993,6 @@ public boolean hasWuaPackage() {
        * 
* * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6; - * * @return The wuaPackage. */ @java.lang.Override @@ -8013,8 +7010,6 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage getWuaPackage } } /** - * - * *
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -8023,8 +7018,7 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage getWuaPackage
        *
        * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6;
        */
-      public Builder setWuaPackage(
-          com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage value) {
+      public Builder setWuaPackage(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage value) {
         if (wuaPackageBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -8038,8 +7032,6 @@ public Builder setWuaPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -8060,8 +7052,6 @@ public Builder setWuaPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -8070,18 +7060,12 @@ public Builder setWuaPackage(
        *
        * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6;
        */
-      public Builder mergeWuaPackage(
-          com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage value) {
+      public Builder mergeWuaPackage(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage value) {
         if (wuaPackageBuilder_ == null) {
-          if (detailsCase_ == 6
-              && details_
-                  != com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage
-                      .getDefaultInstance()) {
-            details_ =
-                com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.newBuilder(
-                        (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (detailsCase_ == 6 &&
+              details_ != com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.getDefaultInstance()) {
+            details_ = com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.newBuilder((com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_)
+                .mergeFrom(value).buildPartial();
           } else {
             details_ = value;
           }
@@ -8097,8 +7081,6 @@ public Builder mergeWuaPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -8124,8 +7106,6 @@ public Builder clearWuaPackage() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -8134,13 +7114,10 @@ public Builder clearWuaPackage() {
        *
        * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6;
        */
-      public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder
-          getWuaPackageBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder getWuaPackageBuilder() {
         return getWuaPackageFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -8150,8 +7127,7 @@ public Builder clearWuaPackage() {
        * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder
-          getWuaPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder getWuaPackageOrBuilder() {
         if ((detailsCase_ == 6) && (wuaPackageBuilder_ != null)) {
           return wuaPackageBuilder_.getMessageOrBuilder();
         } else {
@@ -8162,8 +7138,6 @@ public Builder clearWuaPackage() {
         }
       }
       /**
-       *
-       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -8173,39 +7147,27 @@ public Builder clearWuaPackage() {
        * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage,
-              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder,
-              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder>
+          com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder> 
           getWuaPackageFieldBuilder() {
         if (wuaPackageBuilder_ == null) {
           if (!(detailsCase_ == 6)) {
-            details_ =
-                com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.getDefaultInstance();
+            details_ = com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.getDefaultInstance();
           }
-          wuaPackageBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage,
-                  com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder,
-                  com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder>(
+          wuaPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder>(
                   (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 6;
-        onChanged();
-        ;
+        onChanged();;
         return wuaPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage,
-              com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder,
-              com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder>
-          qfePackageBuilder_;
+          com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage, com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder> qfePackageBuilder_;
       /**
-       *
-       *
        * 
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -8213,10 +7175,7 @@ public Builder clearWuaPackage() {
        * for info in Windows Quick Fix Engineering.
        * 
* - * - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * - * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; * @return Whether the qfePackage field is set. */ @java.lang.Override @@ -8224,8 +7183,6 @@ public boolean hasQfePackage() { return detailsCase_ == 7; } /** - * - * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -8233,33 +7190,24 @@ public boolean hasQfePackage() {
        * for info in Windows Quick Fix Engineering.
        * 
* - * - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * - * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; * @return The qfePackage. */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - getQfePackage() { + public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage getQfePackage() { if (qfePackageBuilder_ == null) { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) - details_; + return (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_; } - return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); } else { if (detailsCase_ == 7) { return qfePackageBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); } } /** - * - * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -8267,12 +7215,9 @@ public boolean hasQfePackage() {
        * for info in Windows Quick Fix Engineering.
        * 
* - * - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; */ - public Builder setQfePackage( - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage value) { + public Builder setQfePackage(com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage value) { if (qfePackageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8286,8 +7231,6 @@ public Builder setQfePackage( return this; } /** - * - * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -8295,13 +7238,10 @@ public Builder setQfePackage(
        * for info in Windows Quick Fix Engineering.
        * 
* - * - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; */ public Builder setQfePackage( - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder - builderForValue) { + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder builderForValue) { if (qfePackageBuilder_ == null) { details_ = builderForValue.build(); onChanged(); @@ -8312,8 +7252,6 @@ public Builder setQfePackage( return this; } /** - * - * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -8321,23 +7259,14 @@ public Builder setQfePackage(
        * for info in Windows Quick Fix Engineering.
        * 
* - * - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; */ - public Builder mergeQfePackage( - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage value) { + public Builder mergeQfePackage(com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage value) { if (qfePackageBuilder_ == null) { - if (detailsCase_ == 7 - && details_ - != com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - .getDefaultInstance()) { - details_ = - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.newBuilder( - (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) - details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 7 && + details_ != com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance()) { + details_ = com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.newBuilder((com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -8353,8 +7282,6 @@ public Builder mergeQfePackage( return this; } /** - * - * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -8362,9 +7289,7 @@ public Builder mergeQfePackage(
        * for info in Windows Quick Fix Engineering.
        * 
* - * - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; */ public Builder clearQfePackage() { if (qfePackageBuilder_ == null) { @@ -8383,8 +7308,6 @@ public Builder clearQfePackage() { return this; } /** - * - * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -8392,17 +7315,12 @@ public Builder clearQfePackage() {
        * for info in Windows Quick Fix Engineering.
        * 
* - * - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; */ - public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder - getQfePackageBuilder() { + public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder getQfePackageBuilder() { return getQfePackageFieldBuilder().getBuilder(); } /** - * - * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -8410,27 +7328,20 @@ public Builder clearQfePackage() {
        * for info in Windows Quick Fix Engineering.
        * 
* - * - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder - getQfePackageOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder getQfePackageOrBuilder() { if ((detailsCase_ == 7) && (qfePackageBuilder_ != null)) { return qfePackageBuilder_.getMessageOrBuilder(); } else { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) - details_; + return (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_; } - return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); } } /** - * - * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -8438,53 +7349,35 @@ public Builder clearQfePackage() {
        * for info in Windows Quick Fix Engineering.
        * 
* - * - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage, - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder, - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder> + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage, com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder> getQfePackageFieldBuilder() { if (qfePackageBuilder_ == null) { if (!(detailsCase_ == 7)) { - details_ = - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - .getDefaultInstance(); + details_ = com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); } - qfePackageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage, - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder, - com.google.cloud.osconfig.v1.Inventory - .WindowsQuickFixEngineeringPackageOrBuilder>( - (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) - details_, + qfePackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage, com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder>( + (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 7; - onChanged(); - ; + onChanged();; return qfePackageBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.VersionedPackage, - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, - com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> - cosPackageBuilder_; + com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> cosPackageBuilder_; /** - * - * *
        * Details of a COS package.
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; - * * @return Whether the cosPackage field is set. */ @java.lang.Override @@ -8492,14 +7385,11 @@ public boolean hasCosPackage() { return detailsCase_ == 8; } /** - * - * *
        * Details of a COS package.
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; - * * @return The cosPackage. */ @java.lang.Override @@ -8517,8 +7407,6 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getCosPackage() { } } /** - * - * *
        * Details of a COS package.
        * 
@@ -8539,8 +7427,6 @@ public Builder setCosPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPac return this; } /** - * - * *
        * Details of a COS package.
        * 
@@ -8559,25 +7445,18 @@ public Builder setCosPackage( return this; } /** - * - * *
        * Details of a COS package.
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; */ - public Builder mergeCosPackage( - com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) { + public Builder mergeCosPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) { if (cosPackageBuilder_ == null) { - if (detailsCase_ == 8 - && details_ - != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) { - details_ = - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder( - (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 8 && + details_ != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) { + details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -8593,8 +7472,6 @@ public Builder mergeCosPackage( return this; } /** - * - * *
        * Details of a COS package.
        * 
@@ -8618,21 +7495,16 @@ public Builder clearCosPackage() { return this; } /** - * - * *
        * Details of a COS package.
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; */ - public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder - getCosPackageBuilder() { + public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder getCosPackageBuilder() { return getCosPackageFieldBuilder().getBuilder(); } /** - * - * *
        * Details of a COS package.
        * 
@@ -8640,8 +7512,7 @@ public Builder clearCosPackage() { * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder - getCosPackageOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getCosPackageOrBuilder() { if ((detailsCase_ == 8) && (cosPackageBuilder_ != null)) { return cosPackageBuilder_.getMessageOrBuilder(); } else { @@ -8652,8 +7523,6 @@ public Builder clearCosPackage() { } } /** - * - * *
        * Details of a COS package.
        * 
@@ -8661,45 +7530,32 @@ public Builder clearCosPackage() { * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.VersionedPackage, - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, - com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> + com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> getCosPackageFieldBuilder() { if (cosPackageBuilder_ == null) { if (!(detailsCase_ == 8)) { details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance(); } - cosPackageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.VersionedPackage, - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, - com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>( + cosPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>( (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 8; - onChanged(); - ; + onChanged();; return cosPackageBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.WindowsApplication, - com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder, - com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder> - windowsApplicationBuilder_; + com.google.cloud.osconfig.v1.Inventory.WindowsApplication, com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder> windowsApplicationBuilder_; /** - * - * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; - * - * + * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; * @return Whether the windowsApplication field is set. */ @java.lang.Override @@ -8707,15 +7563,11 @@ public boolean hasWindowsApplication() { return detailsCase_ == 9; } /** - * - * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; - * - * + * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; * @return The windowsApplication. */ @java.lang.Override @@ -8733,17 +7585,13 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsApplication getWindowsAppli } } /** - * - * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; - * + * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; */ - public Builder setWindowsApplication( - com.google.cloud.osconfig.v1.Inventory.WindowsApplication value) { + public Builder setWindowsApplication(com.google.cloud.osconfig.v1.Inventory.WindowsApplication value) { if (windowsApplicationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8757,14 +7605,11 @@ public Builder setWindowsApplication( return this; } /** - * - * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; - * + * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; */ public Builder setWindowsApplication( com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder builderForValue) { @@ -8778,27 +7623,18 @@ public Builder setWindowsApplication( return this; } /** - * - * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; - * + * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; */ - public Builder mergeWindowsApplication( - com.google.cloud.osconfig.v1.Inventory.WindowsApplication value) { + public Builder mergeWindowsApplication(com.google.cloud.osconfig.v1.Inventory.WindowsApplication value) { if (windowsApplicationBuilder_ == null) { - if (detailsCase_ == 9 - && details_ - != com.google.cloud.osconfig.v1.Inventory.WindowsApplication - .getDefaultInstance()) { - details_ = - com.google.cloud.osconfig.v1.Inventory.WindowsApplication.newBuilder( - (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 9 && + details_ != com.google.cloud.osconfig.v1.Inventory.WindowsApplication.getDefaultInstance()) { + details_ = com.google.cloud.osconfig.v1.Inventory.WindowsApplication.newBuilder((com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -8814,14 +7650,11 @@ public Builder mergeWindowsApplication( return this; } /** - * - * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; - * + * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; */ public Builder clearWindowsApplication() { if (windowsApplicationBuilder_ == null) { @@ -8840,32 +7673,24 @@ public Builder clearWindowsApplication() { return this; } /** - * - * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; - * + * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; */ - public com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder - getWindowsApplicationBuilder() { + public com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder getWindowsApplicationBuilder() { return getWindowsApplicationFieldBuilder().getBuilder(); } /** - * - * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; - * + * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder - getWindowsApplicationOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder getWindowsApplicationOrBuilder() { if ((detailsCase_ == 9) && (windowsApplicationBuilder_ != null)) { return windowsApplicationBuilder_.getMessageOrBuilder(); } else { @@ -8876,41 +7701,30 @@ public Builder clearWindowsApplication() { } } /** - * - * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; - * + * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.WindowsApplication, - com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder, - com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder> + com.google.cloud.osconfig.v1.Inventory.WindowsApplication, com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder> getWindowsApplicationFieldBuilder() { if (windowsApplicationBuilder_ == null) { if (!(detailsCase_ == 9)) { - details_ = - com.google.cloud.osconfig.v1.Inventory.WindowsApplication.getDefaultInstance(); + details_ = com.google.cloud.osconfig.v1.Inventory.WindowsApplication.getDefaultInstance(); } - windowsApplicationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.WindowsApplication, - com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder, - com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder>( + windowsApplicationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.Inventory.WindowsApplication, com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder>( (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 9; - onChanged(); - ; + onChanged();; return windowsApplicationBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8923,12 +7737,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory.SoftwarePackage) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory.SoftwarePackage) private static final com.google.cloud.osconfig.v1.Inventory.SoftwarePackage DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory.SoftwarePackage(); } @@ -8937,16 +7751,16 @@ public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SoftwarePackage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SoftwarePackage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SoftwarePackage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SoftwarePackage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8961,91 +7775,74 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface VersionedPackageOrBuilder - extends + public interface VersionedPackageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory.VersionedPackage) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the package.
      * 
* * string package_name = 4; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
      * The name of the package.
      * 
* * string package_name = 4; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); /** - * - * *
      * The system architecture this package is intended for.
      * 
* * string architecture = 2; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
      * The system architecture this package is intended for.
      * 
* * string architecture = 2; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); /** - * - * *
      * The version of the package.
      * 
* * string version = 3; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
      * The version of the package.
      * 
* * string version = 3; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); } /** - * - * *
    * Information related to the a standard versioned package.  This includes
    * package info for APT, Yum, Zypper, and Googet package managers.
@@ -9053,16 +7850,15 @@ public interface VersionedPackageOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1.Inventory.VersionedPackage}
    */
-  public static final class VersionedPackage extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class VersionedPackage extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory.VersionedPackage)
       VersionedPackageOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use VersionedPackage.newBuilder() to construct.
     private VersionedPackage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private VersionedPackage() {
       packageName_ = "";
       architecture_ = "";
@@ -9071,15 +7867,16 @@ private VersionedPackage() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new VersionedPackage();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private VersionedPackage(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -9098,34 +7895,31 @@ private VersionedPackage(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                architecture_ = s;
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              architecture_ = s;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                version_ = s;
-                break;
-              }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              version_ = s;
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                packageName_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              packageName_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9133,39 +7927,34 @@ private VersionedPackage(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.Inventories
-          .internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.Inventories
-          .internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.class,
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder.class);
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.class, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder.class);
     }
 
     public static final int PACKAGE_NAME_FIELD_NUMBER = 4;
     private volatile java.lang.Object packageName_;
     /**
-     *
-     *
      * 
      * The name of the package.
      * 
* * string package_name = 4; - * * @return The packageName. */ @java.lang.Override @@ -9174,29 +7963,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
      * The name of the package.
      * 
* * string package_name = 4; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -9207,14 +7996,11 @@ public com.google.protobuf.ByteString getPackageNameBytes() { public static final int ARCHITECTURE_FIELD_NUMBER = 2; private volatile java.lang.Object architecture_; /** - * - * *
      * The system architecture this package is intended for.
      * 
* * string architecture = 2; - * * @return The architecture. */ @java.lang.Override @@ -9223,29 +8009,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
      * The system architecture this package is intended for.
      * 
* * string architecture = 2; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -9256,14 +8042,11 @@ public com.google.protobuf.ByteString getArchitectureBytes() { public static final int VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object version_; /** - * - * *
      * The version of the package.
      * 
* * string version = 3; - * * @return The version. */ @java.lang.Override @@ -9272,29 +8055,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
      * The version of the package.
      * 
* * string version = 3; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -9303,7 +8086,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9315,7 +8097,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, architecture_); } @@ -9351,17 +8134,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory.VersionedPackage)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Inventory.VersionedPackage other = - (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) obj; + com.google.cloud.osconfig.v1.Inventory.VersionedPackage other = (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) obj; - if (!getPackageName().equals(other.getPackageName())) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; - if (!getVersion().equals(other.getVersion())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9385,94 +8170,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage 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.osconfig.v1.Inventory.VersionedPackage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.Inventory.VersionedPackage prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory.VersionedPackage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9482,8 +8260,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Information related to the a standard versioned package.  This includes
      * package info for APT, Yum, Zypper, and Googet package managers.
@@ -9491,24 +8267,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.Inventory.VersionedPackage}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory.VersionedPackage)
         com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.Inventories
-            .internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.Inventories
-            .internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.Inventory.VersionedPackage.class,
-                com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder.class);
+                com.google.cloud.osconfig.v1.Inventory.VersionedPackage.class, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder()
@@ -9516,15 +8289,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -9538,9 +8312,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.Inventories
-            .internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor;
       }
 
       @java.lang.Override
@@ -9559,8 +8333,7 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.Inventory.VersionedPackage buildPartial() {
-        com.google.cloud.osconfig.v1.Inventory.VersionedPackage result =
-            new com.google.cloud.osconfig.v1.Inventory.VersionedPackage(this);
+        com.google.cloud.osconfig.v1.Inventory.VersionedPackage result = new com.google.cloud.osconfig.v1.Inventory.VersionedPackage(this);
         result.packageName_ = packageName_;
         result.architecture_ = architecture_;
         result.version_ = version_;
@@ -9572,41 +8345,38 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.Inventory.VersionedPackage) {
-          return mergeFrom((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.Inventory.VersionedPackage)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -9614,8 +8384,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.VersionedPackage other) {
-        if (other == com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) return this;
         if (!other.getPackageName().isEmpty()) {
           packageName_ = other.packageName_;
           onChanged();
@@ -9647,8 +8416,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -9660,20 +8428,18 @@ public Builder mergeFrom(
 
       private java.lang.Object packageName_ = "";
       /**
-       *
-       *
        * 
        * The name of the package.
        * 
* * string package_name = 4; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -9682,21 +8448,20 @@ public java.lang.String getPackageName() { } } /** - * - * *
        * The name of the package.
        * 
* * string package_name = 4; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -9704,61 +8469,54 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
        * The name of the package.
        * 
* * string package_name = 4; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { + public Builder setPackageName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** - * - * *
        * The name of the package.
        * 
* * string package_name = 4; - * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** - * - * *
        * The name of the package.
        * 
* * string package_name = 4; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -9766,20 +8524,18 @@ public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object architecture_ = ""; /** - * - * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -9788,21 +8544,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -9810,61 +8565,54 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -9872,20 +8620,18 @@ public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
        * The version of the package.
        * 
* * string version = 3; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -9894,21 +8640,20 @@ public java.lang.String getVersion() { } } /** - * - * *
        * The version of the package.
        * 
* * string version = 3; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -9916,66 +8661,58 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
        * The version of the package.
        * 
* * string version = 3; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
        * The version of the package.
        * 
* * string version = 3; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
        * The version of the package.
        * 
* * string version = 3; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9988,12 +8725,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory.VersionedPackage) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory.VersionedPackage) private static final com.google.cloud.osconfig.v1.Inventory.VersionedPackage DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory.VersionedPackage(); } @@ -10002,16 +8739,16 @@ public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VersionedPackage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VersionedPackage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VersionedPackage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VersionedPackage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10026,132 +8763,109 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ZypperPatchOrBuilder - extends + public interface ZypperPatchOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory.ZypperPatch) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the patch.
      * 
* * string patch_name = 5; - * * @return The patchName. */ java.lang.String getPatchName(); /** - * - * *
      * The name of the patch.
      * 
* * string patch_name = 5; - * * @return The bytes for patchName. */ - com.google.protobuf.ByteString getPatchNameBytes(); + com.google.protobuf.ByteString + getPatchNameBytes(); /** - * - * *
      * The category of the patch.
      * 
* * string category = 2; - * * @return The category. */ java.lang.String getCategory(); /** - * - * *
      * The category of the patch.
      * 
* * string category = 2; - * * @return The bytes for category. */ - com.google.protobuf.ByteString getCategoryBytes(); + com.google.protobuf.ByteString + getCategoryBytes(); /** - * - * *
      * The severity specified for this patch
      * 
* * string severity = 3; - * * @return The severity. */ java.lang.String getSeverity(); /** - * - * *
      * The severity specified for this patch
      * 
* * string severity = 3; - * * @return The bytes for severity. */ - com.google.protobuf.ByteString getSeverityBytes(); + com.google.protobuf.ByteString + getSeverityBytes(); /** - * - * *
      * Any summary information provided about this patch.
      * 
* * string summary = 4; - * * @return The summary. */ java.lang.String getSummary(); /** - * - * *
      * Any summary information provided about this patch.
      * 
* * string summary = 4; - * * @return The bytes for summary. */ - com.google.protobuf.ByteString getSummaryBytes(); + com.google.protobuf.ByteString + getSummaryBytes(); } /** - * - * *
    * Details related to a Zypper Patch.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.Inventory.ZypperPatch} */ - public static final class ZypperPatch extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ZypperPatch extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory.ZypperPatch) ZypperPatchOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ZypperPatch.newBuilder() to construct. private ZypperPatch(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ZypperPatch() { patchName_ = ""; category_ = ""; @@ -10161,15 +8875,16 @@ private ZypperPatch() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ZypperPatch(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ZypperPatch( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10188,41 +8903,37 @@ private ZypperPatch( case 0: done = true; break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - category_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + category_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - severity_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + severity_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - summary_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + summary_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - patchName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + patchName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10230,39 +8941,34 @@ private ZypperPatch( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.ZypperPatch.class, - com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder.class); + com.google.cloud.osconfig.v1.Inventory.ZypperPatch.class, com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder.class); } public static final int PATCH_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object patchName_; /** - * - * *
      * The name of the patch.
      * 
* * string patch_name = 5; - * * @return The patchName. */ @java.lang.Override @@ -10271,29 +8977,29 @@ public java.lang.String getPatchName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchName_ = s; return s; } } /** - * - * *
      * The name of the patch.
      * 
* * string patch_name = 5; - * * @return The bytes for patchName. */ @java.lang.Override - public com.google.protobuf.ByteString getPatchNameBytes() { + public com.google.protobuf.ByteString + getPatchNameBytes() { java.lang.Object ref = patchName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); patchName_ = b; return b; } else { @@ -10304,14 +9010,11 @@ public com.google.protobuf.ByteString getPatchNameBytes() { public static final int CATEGORY_FIELD_NUMBER = 2; private volatile java.lang.Object category_; /** - * - * *
      * The category of the patch.
      * 
* * string category = 2; - * * @return The category. */ @java.lang.Override @@ -10320,29 +9023,29 @@ public java.lang.String getCategory() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); category_ = s; return s; } } /** - * - * *
      * The category of the patch.
      * 
* * string category = 2; - * * @return The bytes for category. */ @java.lang.Override - public com.google.protobuf.ByteString getCategoryBytes() { + public com.google.protobuf.ByteString + getCategoryBytes() { java.lang.Object ref = category_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); category_ = b; return b; } else { @@ -10353,14 +9056,11 @@ public com.google.protobuf.ByteString getCategoryBytes() { public static final int SEVERITY_FIELD_NUMBER = 3; private volatile java.lang.Object severity_; /** - * - * *
      * The severity specified for this patch
      * 
* * string severity = 3; - * * @return The severity. */ @java.lang.Override @@ -10369,29 +9069,29 @@ public java.lang.String getSeverity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; } } /** - * - * *
      * The severity specified for this patch
      * 
* * string severity = 3; - * * @return The bytes for severity. */ @java.lang.Override - public com.google.protobuf.ByteString getSeverityBytes() { + public com.google.protobuf.ByteString + getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); severity_ = b; return b; } else { @@ -10402,14 +9102,11 @@ public com.google.protobuf.ByteString getSeverityBytes() { public static final int SUMMARY_FIELD_NUMBER = 4; private volatile java.lang.Object summary_; /** - * - * *
      * Any summary information provided about this patch.
      * 
* * string summary = 4; - * * @return The summary. */ @java.lang.Override @@ -10418,29 +9115,29 @@ public java.lang.String getSummary() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); summary_ = s; return s; } } /** - * - * *
      * Any summary information provided about this patch.
      * 
* * string summary = 4; - * * @return The bytes for summary. */ @java.lang.Override - public com.google.protobuf.ByteString getSummaryBytes() { + public com.google.protobuf.ByteString + getSummaryBytes() { java.lang.Object ref = summary_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); summary_ = b; return b; } else { @@ -10449,7 +9146,6 @@ public com.google.protobuf.ByteString getSummaryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10461,7 +9157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(category_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, category_); } @@ -10503,18 +9200,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory.ZypperPatch)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Inventory.ZypperPatch other = - (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) obj; + com.google.cloud.osconfig.v1.Inventory.ZypperPatch other = (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) obj; - if (!getPatchName().equals(other.getPatchName())) return false; - if (!getCategory().equals(other.getCategory())) return false; - if (!getSeverity().equals(other.getSeverity())) return false; - if (!getSummary().equals(other.getSummary())) return false; + if (!getPatchName() + .equals(other.getPatchName())) return false; + if (!getCategory() + .equals(other.getCategory())) return false; + if (!getSeverity() + .equals(other.getSeverity())) return false; + if (!getSummary() + .equals(other.getSummary())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -10540,93 +9240,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch 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.osconfig.v1.Inventory.ZypperPatch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory.ZypperPatch prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10636,32 +9330,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Details related to a Zypper Patch.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.Inventory.ZypperPatch} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory.ZypperPatch) com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.ZypperPatch.class, - com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder.class); + com.google.cloud.osconfig.v1.Inventory.ZypperPatch.class, com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder.class); } // Construct using com.google.cloud.osconfig.v1.Inventory.ZypperPatch.newBuilder() @@ -10669,15 +9358,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -10693,9 +9383,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor; } @java.lang.Override @@ -10714,8 +9404,7 @@ public com.google.cloud.osconfig.v1.Inventory.ZypperPatch build() { @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.ZypperPatch buildPartial() { - com.google.cloud.osconfig.v1.Inventory.ZypperPatch result = - new com.google.cloud.osconfig.v1.Inventory.ZypperPatch(this); + com.google.cloud.osconfig.v1.Inventory.ZypperPatch result = new com.google.cloud.osconfig.v1.Inventory.ZypperPatch(this); result.patchName_ = patchName_; result.category_ = category_; result.severity_ = severity_; @@ -10728,41 +9417,38 @@ public com.google.cloud.osconfig.v1.Inventory.ZypperPatch buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.Inventory.ZypperPatch) { - return mergeFrom((com.google.cloud.osconfig.v1.Inventory.ZypperPatch) other); + return mergeFrom((com.google.cloud.osconfig.v1.Inventory.ZypperPatch)other); } else { super.mergeFrom(other); return this; @@ -10770,8 +9456,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.ZypperPatch other) { - if (other == com.google.cloud.osconfig.v1.Inventory.ZypperPatch.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.Inventory.ZypperPatch.getDefaultInstance()) return this; if (!other.getPatchName().isEmpty()) { patchName_ = other.patchName_; onChanged(); @@ -10807,8 +9492,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -10820,20 +9504,18 @@ public Builder mergeFrom( private java.lang.Object patchName_ = ""; /** - * - * *
        * The name of the patch.
        * 
* * string patch_name = 5; - * * @return The patchName. */ public java.lang.String getPatchName() { java.lang.Object ref = patchName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchName_ = s; return s; @@ -10842,21 +9524,20 @@ public java.lang.String getPatchName() { } } /** - * - * *
        * The name of the patch.
        * 
* * string patch_name = 5; - * * @return The bytes for patchName. */ - public com.google.protobuf.ByteString getPatchNameBytes() { + public com.google.protobuf.ByteString + getPatchNameBytes() { java.lang.Object ref = patchName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); patchName_ = b; return b; } else { @@ -10864,61 +9545,54 @@ public com.google.protobuf.ByteString getPatchNameBytes() { } } /** - * - * *
        * The name of the patch.
        * 
* * string patch_name = 5; - * * @param value The patchName to set. * @return This builder for chaining. */ - public Builder setPatchName(java.lang.String value) { + public Builder setPatchName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + patchName_ = value; onChanged(); return this; } /** - * - * *
        * The name of the patch.
        * 
* * string patch_name = 5; - * * @return This builder for chaining. */ public Builder clearPatchName() { - + patchName_ = getDefaultInstance().getPatchName(); onChanged(); return this; } /** - * - * *
        * The name of the patch.
        * 
* * string patch_name = 5; - * * @param value The bytes for patchName to set. * @return This builder for chaining. */ - public Builder setPatchNameBytes(com.google.protobuf.ByteString value) { + public Builder setPatchNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + patchName_ = value; onChanged(); return this; @@ -10926,20 +9600,18 @@ public Builder setPatchNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object category_ = ""; /** - * - * *
        * The category of the patch.
        * 
* * string category = 2; - * * @return The category. */ public java.lang.String getCategory() { java.lang.Object ref = category_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); category_ = s; return s; @@ -10948,21 +9620,20 @@ public java.lang.String getCategory() { } } /** - * - * *
        * The category of the patch.
        * 
* * string category = 2; - * * @return The bytes for category. */ - public com.google.protobuf.ByteString getCategoryBytes() { + public com.google.protobuf.ByteString + getCategoryBytes() { java.lang.Object ref = category_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); category_ = b; return b; } else { @@ -10970,61 +9641,54 @@ public com.google.protobuf.ByteString getCategoryBytes() { } } /** - * - * *
        * The category of the patch.
        * 
* * string category = 2; - * * @param value The category to set. * @return This builder for chaining. */ - public Builder setCategory(java.lang.String value) { + public Builder setCategory( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + category_ = value; onChanged(); return this; } /** - * - * *
        * The category of the patch.
        * 
* * string category = 2; - * * @return This builder for chaining. */ public Builder clearCategory() { - + category_ = getDefaultInstance().getCategory(); onChanged(); return this; } /** - * - * *
        * The category of the patch.
        * 
* * string category = 2; - * * @param value The bytes for category to set. * @return This builder for chaining. */ - public Builder setCategoryBytes(com.google.protobuf.ByteString value) { + public Builder setCategoryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + category_ = value; onChanged(); return this; @@ -11032,20 +9696,18 @@ public Builder setCategoryBytes(com.google.protobuf.ByteString value) { private java.lang.Object severity_ = ""; /** - * - * *
        * The severity specified for this patch
        * 
* * string severity = 3; - * * @return The severity. */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; @@ -11054,21 +9716,20 @@ public java.lang.String getSeverity() { } } /** - * - * *
        * The severity specified for this patch
        * 
* * string severity = 3; - * * @return The bytes for severity. */ - public com.google.protobuf.ByteString getSeverityBytes() { + public com.google.protobuf.ByteString + getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); severity_ = b; return b; } else { @@ -11076,61 +9737,54 @@ public com.google.protobuf.ByteString getSeverityBytes() { } } /** - * - * *
        * The severity specified for this patch
        * 
* * string severity = 3; - * * @param value The severity to set. * @return This builder for chaining. */ - public Builder setSeverity(java.lang.String value) { + public Builder setSeverity( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + severity_ = value; onChanged(); return this; } /** - * - * *
        * The severity specified for this patch
        * 
* * string severity = 3; - * * @return This builder for chaining. */ public Builder clearSeverity() { - + severity_ = getDefaultInstance().getSeverity(); onChanged(); return this; } /** - * - * *
        * The severity specified for this patch
        * 
* * string severity = 3; - * * @param value The bytes for severity to set. * @return This builder for chaining. */ - public Builder setSeverityBytes(com.google.protobuf.ByteString value) { + public Builder setSeverityBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + severity_ = value; onChanged(); return this; @@ -11138,20 +9792,18 @@ public Builder setSeverityBytes(com.google.protobuf.ByteString value) { private java.lang.Object summary_ = ""; /** - * - * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; - * * @return The summary. */ public java.lang.String getSummary() { java.lang.Object ref = summary_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); summary_ = s; return s; @@ -11160,21 +9812,20 @@ public java.lang.String getSummary() { } } /** - * - * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; - * * @return The bytes for summary. */ - public com.google.protobuf.ByteString getSummaryBytes() { + public com.google.protobuf.ByteString + getSummaryBytes() { java.lang.Object ref = summary_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); summary_ = b; return b; } else { @@ -11182,66 +9833,58 @@ public com.google.protobuf.ByteString getSummaryBytes() { } } /** - * - * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; - * * @param value The summary to set. * @return This builder for chaining. */ - public Builder setSummary(java.lang.String value) { + public Builder setSummary( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + summary_ = value; onChanged(); return this; } /** - * - * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; - * * @return This builder for chaining. */ public Builder clearSummary() { - + summary_ = getDefaultInstance().getSummary(); onChanged(); return this; } /** - * - * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; - * * @param value The bytes for summary to set. * @return This builder for chaining. */ - public Builder setSummaryBytes(com.google.protobuf.ByteString value) { + public Builder setSummaryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + summary_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11254,12 +9897,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory.ZypperPatch) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory.ZypperPatch) private static final com.google.cloud.osconfig.v1.Inventory.ZypperPatch DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory.ZypperPatch(); } @@ -11268,16 +9911,16 @@ public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ZypperPatch parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ZypperPatch(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ZypperPatch parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ZypperPatch(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11292,334 +9935,258 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.Inventory.ZypperPatch getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface WindowsUpdatePackageOrBuilder - extends + public interface WindowsUpdatePackageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The localized title of the update package.
      * 
* * string title = 1; - * * @return The title. */ java.lang.String getTitle(); /** - * - * *
      * The localized title of the update package.
      * 
* * string title = 1; - * * @return The bytes for title. */ - com.google.protobuf.ByteString getTitleBytes(); + com.google.protobuf.ByteString + getTitleBytes(); /** - * - * *
      * The localized description of the update package.
      * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * The localized description of the update package.
      * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - java.util.List< - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory> + java.util.List getCategoriesList(); /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getCategories( - int index); + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getCategories(int index); /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ int getCategoriesCount(); /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategoryOrBuilder> + java.util.List getCategoriesOrBuilderList(); /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder - getCategoriesOrBuilder(int index); + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder getCategoriesOrBuilder( + int index); /** - * - * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; - * * @return A list containing the kbArticleIds. */ - java.util.List getKbArticleIdsList(); + java.util.List + getKbArticleIdsList(); /** - * - * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; - * * @return The count of kbArticleIds. */ int getKbArticleIdsCount(); /** - * - * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; - * * @param index The index of the element to return. * @return The kbArticleIds at the given index. */ java.lang.String getKbArticleIds(int index); /** - * - * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; - * * @param index The index of the value to return. * @return The bytes of the kbArticleIds at the given index. */ - com.google.protobuf.ByteString getKbArticleIdsBytes(int index); + com.google.protobuf.ByteString + getKbArticleIdsBytes(int index); /** - * - * *
      * A hyperlink to the language-specific support information for the update.
      * 
* * string support_url = 11; - * * @return The supportUrl. */ java.lang.String getSupportUrl(); /** - * - * *
      * A hyperlink to the language-specific support information for the update.
      * 
* * string support_url = 11; - * * @return The bytes for supportUrl. */ - com.google.protobuf.ByteString getSupportUrlBytes(); + com.google.protobuf.ByteString + getSupportUrlBytes(); /** - * - * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; - * * @return A list containing the moreInfoUrls. */ - java.util.List getMoreInfoUrlsList(); + java.util.List + getMoreInfoUrlsList(); /** - * - * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; - * * @return The count of moreInfoUrls. */ int getMoreInfoUrlsCount(); /** - * - * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; - * * @param index The index of the element to return. * @return The moreInfoUrls at the given index. */ java.lang.String getMoreInfoUrls(int index); /** - * - * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; - * * @param index The index of the value to return. * @return The bytes of the moreInfoUrls at the given index. */ - com.google.protobuf.ByteString getMoreInfoUrlsBytes(int index); + com.google.protobuf.ByteString + getMoreInfoUrlsBytes(int index); /** - * - * *
      * Gets the identifier of an update package.  Stays the same across
      * revisions.
      * 
* * string update_id = 6; - * * @return The updateId. */ java.lang.String getUpdateId(); /** - * - * *
      * Gets the identifier of an update package.  Stays the same across
      * revisions.
      * 
* * string update_id = 6; - * * @return The bytes for updateId. */ - com.google.protobuf.ByteString getUpdateIdBytes(); + com.google.protobuf.ByteString + getUpdateIdBytes(); /** - * - * *
      * The revision number of this update package.
      * 
* * int32 revision_number = 7; - * * @return The revisionNumber. */ int getRevisionNumber(); /** - * - * *
      * The last published date of the update, in (UTC) date and time.
      * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; - * * @return Whether the lastDeploymentChangeTime field is set. */ boolean hasLastDeploymentChangeTime(); /** - * - * *
      * The last published date of the update, in (UTC) date and time.
      * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; - * * @return The lastDeploymentChangeTime. */ com.google.protobuf.Timestamp getLastDeploymentChangeTime(); /** - * - * *
      * The last published date of the update, in (UTC) date and time.
      * 
@@ -11629,8 +10196,6 @@ com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategor com.google.protobuf.TimestampOrBuilder getLastDeploymentChangeTimeOrBuilder(); } /** - * - * *
    * Details related to a Windows Update package.
    * Field data and names are taken from Windows Update API IUpdate Interface:
@@ -11641,16 +10206,15 @@ com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategor
    *
    * Protobuf type {@code google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage}
    */
-  public static final class WindowsUpdatePackage extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class WindowsUpdatePackage extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage)
       WindowsUpdatePackageOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use WindowsUpdatePackage.newBuilder() to construct.
     private WindowsUpdatePackage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private WindowsUpdatePackage() {
       title_ = "";
       description_ = "";
@@ -11663,15 +10227,16 @@ private WindowsUpdatePackage() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new WindowsUpdatePackage();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private WindowsUpdatePackage(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -11691,97 +10256,82 @@ private WindowsUpdatePackage(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                title_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              title_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                description_ = s;
-                break;
-              }
-            case 26:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  categories_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage
-                              .WindowsUpdateCategory>();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                categories_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage
-                            .WindowsUpdateCategory.parser(),
-                        extensionRegistry));
-                break;
+              description_ = s;
+              break;
+            }
+            case 26: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                categories_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  kbArticleIds_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                kbArticleIds_.add(s);
-                break;
+              categories_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.parser(), extensionRegistry));
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                kbArticleIds_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                  moreInfoUrls_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000004;
-                }
-                moreInfoUrls_.add(s);
-                break;
+              kbArticleIds_.add(s);
+              break;
+            }
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                moreInfoUrls_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000004;
               }
-            case 50:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              moreInfoUrls_.add(s);
+              break;
+            }
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                updateId_ = s;
-                break;
+              updateId_ = s;
+              break;
+            }
+            case 56: {
+
+              revisionNumber_ = input.readInt32();
+              break;
+            }
+            case 82: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (lastDeploymentChangeTime_ != null) {
+                subBuilder = lastDeploymentChangeTime_.toBuilder();
               }
-            case 56:
-              {
-                revisionNumber_ = input.readInt32();
-                break;
+              lastDeploymentChangeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(lastDeploymentChangeTime_);
+                lastDeploymentChangeTime_ = subBuilder.buildPartial();
               }
-            case 82:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (lastDeploymentChangeTime_ != null) {
-                  subBuilder = lastDeploymentChangeTime_.toBuilder();
-                }
-                lastDeploymentChangeTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(lastDeploymentChangeTime_);
-                  lastDeploymentChangeTime_ = subBuilder.buildPartial();
-                }
 
-                break;
-              }
-            case 90:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+            case 90: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                supportUrl_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              supportUrl_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -11789,7 +10339,8 @@ private WindowsUpdatePackage(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           categories_ = java.util.Collections.unmodifiableList(categories_);
@@ -11804,97 +10355,79 @@ private WindowsUpdatePackage(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.Inventories
-          .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.Inventories
-          .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.class,
-              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder.class);
+              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.class, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder.class);
     }
 
-    public interface WindowsUpdateCategoryOrBuilder
-        extends
+    public interface WindowsUpdateCategoryOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * The identifier of the windows update category.
        * 
* * string id = 1; - * * @return The id. */ java.lang.String getId(); /** - * - * *
        * The identifier of the windows update category.
        * 
* * string id = 1; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); - /** - * - * + /** *
        * The name of the windows update category.
        * 
* * string name = 2; - * * @return The name. */ java.lang.String getName(); /** - * - * *
        * The name of the windows update category.
        * 
* * string name = 2; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
      * Categories specified by the Windows Update.
      * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory} + * Protobuf type {@code google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory} */ - public static final class WindowsUpdateCategory extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class WindowsUpdateCategory extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) WindowsUpdateCategoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WindowsUpdateCategory.newBuilder() to construct. private WindowsUpdateCategory(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WindowsUpdateCategory() { id_ = ""; name_ = ""; @@ -11902,15 +10435,16 @@ private WindowsUpdateCategory() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WindowsUpdateCategory(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WindowsUpdateCategory( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -11929,27 +10463,25 @@ private WindowsUpdateCategory( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + id_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -11957,42 +10489,34 @@ private WindowsUpdateCategory( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .class, - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .Builder.class); + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.class, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** - * - * *
        * The identifier of the windows update category.
        * 
* * string id = 1; - * * @return The id. */ @java.lang.Override @@ -12001,29 +10525,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
        * The identifier of the windows update category.
        * 
* * string id = 1; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -12034,14 +10558,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** - * - * *
        * The name of the windows update category.
        * 
* * string name = 2; - * * @return The name. */ @java.lang.Override @@ -12050,29 +10571,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
        * The name of the windows update category.
        * 
* * string name = 2; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -12081,7 +10602,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12093,7 +10613,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -12123,18 +10644,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory other = - (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) obj; + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory other = (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) obj; - if (!getId().equals(other.getId())) return false; - if (!getName().equals(other.getName())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -12155,116 +10675,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory 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.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory 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.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - 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.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory 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.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - 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.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory 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.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -12274,53 +10766,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Categories specified by the Windows Update.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory} + * Protobuf type {@code google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .class, - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .Builder.class); + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.class, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.newBuilder() + // Construct using com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -12332,23 +10815,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - build() { - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory result = - buildPartial(); + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory build() { + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -12356,11 +10835,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - buildPartial() { - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory result = - new com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory( - this); + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory buildPartial() { + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory result = new com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory(this); result.id_ = id_; result.name_ = name_; onBuilt(); @@ -12371,57 +10847,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) { - return mergeFrom( - (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) - other); + if (other instanceof com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) { + return mergeFrom((com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - other) { - if (other - == com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory other) { + if (other == com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); @@ -12445,14 +10910,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - parsedMessage = null; + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12464,20 +10926,18 @@ public Builder mergeFrom( private java.lang.Object id_ = ""; /** - * - * *
          * The identifier of the windows update category.
          * 
* * string id = 1; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -12486,21 +10946,20 @@ public java.lang.String getId() { } } /** - * - * *
          * The identifier of the windows update category.
          * 
* * string id = 1; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -12508,61 +10967,54 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
          * The identifier of the windows update category.
          * 
* * string id = 1; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
          * The identifier of the windows update category.
          * 
* * string id = 1; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
          * The identifier of the windows update category.
          * 
* * string id = 1; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -12570,20 +11022,18 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
          * The name of the windows update category.
          * 
* * string name = 2; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -12592,21 +11042,20 @@ public java.lang.String getName() { } } /** - * - * *
          * The name of the windows update category.
          * 
* * string name = 2; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -12614,66 +11063,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
          * The name of the windows update category.
          * 
* * string name = 2; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
          * The name of the windows update category.
          * 
* * string name = 2; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
          * The name of the windows update category.
          * 
* * string name = 2; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12686,35 +11127,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) - private static final com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory(); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsUpdateCategory parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsUpdateCategory(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsUpdateCategory parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsUpdateCategory(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12726,23 +11162,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int TITLE_FIELD_NUMBER = 1; private volatile java.lang.Object title_; /** - * - * *
      * The localized title of the update package.
      * 
* * string title = 1; - * * @return The title. */ @java.lang.Override @@ -12751,29 +11184,29 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** - * - * *
      * The localized title of the update package.
      * 
* * string title = 1; - * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString getTitleBytes() { + public com.google.protobuf.ByteString + getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); title_ = b; return b; } else { @@ -12784,14 +11217,11 @@ public com.google.protobuf.ByteString getTitleBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
      * The localized description of the update package.
      * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -12800,29 +11230,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * The localized description of the update package.
      * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -12831,136 +11261,99 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int CATEGORIES_FIELD_NUMBER = 3; - private java.util.List< - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory> - categories_; + private java.util.List categories_; /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ @java.lang.Override - public java.util.List< - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory> - getCategoriesList() { + public java.util.List getCategoriesList() { return categories_; } /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategoryOrBuilder> + public java.util.List getCategoriesOrBuilderList() { return categories_; } /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ @java.lang.Override public int getCategoriesCount() { return categories_.size(); } /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - getCategories(int index) { + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getCategories(int index) { return categories_.get(index); } /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategoryOrBuilder - getCategoriesOrBuilder(int index) { + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder getCategoriesOrBuilder( + int index) { return categories_.get(index); } public static final int KB_ARTICLE_IDS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList kbArticleIds_; /** - * - * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; - * * @return A list containing the kbArticleIds. */ - public com.google.protobuf.ProtocolStringList getKbArticleIdsList() { + public com.google.protobuf.ProtocolStringList + getKbArticleIdsList() { return kbArticleIds_; } /** - * - * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; - * * @return The count of kbArticleIds. */ public int getKbArticleIdsCount() { return kbArticleIds_.size(); } /** - * - * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; - * * @param index The index of the element to return. * @return The kbArticleIds at the given index. */ @@ -12968,33 +11361,28 @@ public java.lang.String getKbArticleIds(int index) { return kbArticleIds_.get(index); } /** - * - * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; - * * @param index The index of the value to return. * @return The bytes of the kbArticleIds at the given index. */ - public com.google.protobuf.ByteString getKbArticleIdsBytes(int index) { + public com.google.protobuf.ByteString + getKbArticleIdsBytes(int index) { return kbArticleIds_.getByteString(index); } public static final int SUPPORT_URL_FIELD_NUMBER = 11; private volatile java.lang.Object supportUrl_; /** - * - * *
      * A hyperlink to the language-specific support information for the update.
      * 
* * string support_url = 11; - * * @return The supportUrl. */ @java.lang.Override @@ -13003,29 +11391,29 @@ public java.lang.String getSupportUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); supportUrl_ = s; return s; } } /** - * - * *
      * A hyperlink to the language-specific support information for the update.
      * 
* * string support_url = 11; - * * @return The bytes for supportUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getSupportUrlBytes() { + public com.google.protobuf.ByteString + getSupportUrlBytes() { java.lang.Object ref = supportUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); supportUrl_ = b; return b; } else { @@ -13036,45 +11424,37 @@ public com.google.protobuf.ByteString getSupportUrlBytes() { public static final int MORE_INFO_URLS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList moreInfoUrls_; /** - * - * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; - * * @return A list containing the moreInfoUrls. */ - public com.google.protobuf.ProtocolStringList getMoreInfoUrlsList() { + public com.google.protobuf.ProtocolStringList + getMoreInfoUrlsList() { return moreInfoUrls_; } /** - * - * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; - * * @return The count of moreInfoUrls. */ public int getMoreInfoUrlsCount() { return moreInfoUrls_.size(); } /** - * - * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; - * * @param index The index of the element to return. * @return The moreInfoUrls at the given index. */ @@ -13082,34 +11462,29 @@ public java.lang.String getMoreInfoUrls(int index) { return moreInfoUrls_.get(index); } /** - * - * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; - * * @param index The index of the value to return. * @return The bytes of the moreInfoUrls at the given index. */ - public com.google.protobuf.ByteString getMoreInfoUrlsBytes(int index) { + public com.google.protobuf.ByteString + getMoreInfoUrlsBytes(int index) { return moreInfoUrls_.getByteString(index); } public static final int UPDATE_ID_FIELD_NUMBER = 6; private volatile java.lang.Object updateId_; /** - * - * *
      * Gets the identifier of an update package.  Stays the same across
      * revisions.
      * 
* * string update_id = 6; - * * @return The updateId. */ @java.lang.Override @@ -13118,30 +11493,30 @@ public java.lang.String getUpdateId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); updateId_ = s; return s; } } /** - * - * *
      * Gets the identifier of an update package.  Stays the same across
      * revisions.
      * 
* * string update_id = 6; - * * @return The bytes for updateId. */ @java.lang.Override - public com.google.protobuf.ByteString getUpdateIdBytes() { + public com.google.protobuf.ByteString + getUpdateIdBytes() { java.lang.Object ref = updateId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); updateId_ = b; return b; } else { @@ -13152,14 +11527,11 @@ public com.google.protobuf.ByteString getUpdateIdBytes() { public static final int REVISION_NUMBER_FIELD_NUMBER = 7; private int revisionNumber_; /** - * - * *
      * The revision number of this update package.
      * 
* * int32 revision_number = 7; - * * @return The revisionNumber. */ @java.lang.Override @@ -13170,14 +11542,11 @@ public int getRevisionNumber() { public static final int LAST_DEPLOYMENT_CHANGE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp lastDeploymentChangeTime_; /** - * - * *
      * The last published date of the update, in (UTC) date and time.
      * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; - * * @return Whether the lastDeploymentChangeTime field is set. */ @java.lang.Override @@ -13185,25 +11554,18 @@ public boolean hasLastDeploymentChangeTime() { return lastDeploymentChangeTime_ != null; } /** - * - * *
      * The last published date of the update, in (UTC) date and time.
      * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; - * * @return The lastDeploymentChangeTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastDeploymentChangeTime() { - return lastDeploymentChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastDeploymentChangeTime_; + return lastDeploymentChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastDeploymentChangeTime_; } /** - * - * *
      * The last published date of the update, in (UTC) date and time.
      * 
@@ -13216,7 +11578,6 @@ public com.google.protobuf.TimestampOrBuilder getLastDeploymentChangeTimeOrBuild } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13228,7 +11589,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, title_); } @@ -13272,7 +11634,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } for (int i = 0; i < categories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, categories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, categories_.get(i)); } { int dataSize = 0; @@ -13294,12 +11657,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, updateId_); } if (revisionNumber_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, revisionNumber_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, revisionNumber_); } if (lastDeploymentChangeTime_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, getLastDeploymentChangeTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getLastDeploymentChangeTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(supportUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, supportUrl_); @@ -13312,26 +11675,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage other = - (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) obj; - - if (!getTitle().equals(other.getTitle())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getCategoriesList().equals(other.getCategoriesList())) return false; - if (!getKbArticleIdsList().equals(other.getKbArticleIdsList())) return false; - if (!getSupportUrl().equals(other.getSupportUrl())) return false; - if (!getMoreInfoUrlsList().equals(other.getMoreInfoUrlsList())) return false; - if (!getUpdateId().equals(other.getUpdateId())) return false; - if (getRevisionNumber() != other.getRevisionNumber()) return false; + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage other = (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) obj; + + if (!getTitle() + .equals(other.getTitle())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getCategoriesList() + .equals(other.getCategoriesList())) return false; + if (!getKbArticleIdsList() + .equals(other.getKbArticleIdsList())) return false; + if (!getSupportUrl() + .equals(other.getSupportUrl())) return false; + if (!getMoreInfoUrlsList() + .equals(other.getMoreInfoUrlsList())) return false; + if (!getUpdateId() + .equals(other.getUpdateId())) return false; + if (getRevisionNumber() + != other.getRevisionNumber()) return false; if (hasLastDeploymentChangeTime() != other.hasLastDeploymentChangeTime()) return false; if (hasLastDeploymentChangeTime()) { - if (!getLastDeploymentChangeTime().equals(other.getLastDeploymentChangeTime())) - return false; + if (!getLastDeploymentChangeTime() + .equals(other.getLastDeploymentChangeTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -13376,94 +11746,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage 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.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -13473,8 +11836,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Details related to a Windows Update package.
      * Field data and names are taken from Windows Update API IUpdate Interface:
@@ -13485,24 +11846,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage)
         com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.Inventories
-            .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.Inventories
-            .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.class,
-                com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder.class);
+                com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.class, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.newBuilder()
@@ -13510,17 +11868,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getCategoriesFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -13554,14 +11912,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.Inventories
-            .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.getDefaultInstance();
       }
 
@@ -13576,8 +11933,7 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage buildPartial() {
-        com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage result =
-            new com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage(this);
+        com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage result = new com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage(this);
         int from_bitField0_ = bitField0_;
         result.title_ = title_;
         result.description_ = description_;
@@ -13616,41 +11972,38 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage buildPartial(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.Inventory.WindowsUpdatePackage) {
-          return mergeFrom((com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -13658,9 +12011,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage other) {
-        if (other
-            == com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.getDefaultInstance()) return this;
         if (!other.getTitle().isEmpty()) {
           title_ = other.title_;
           onChanged();
@@ -13687,10 +12038,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePac
               categoriesBuilder_ = null;
               categories_ = other.categories_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              categoriesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getCategoriesFieldBuilder()
-                      : null;
+              categoriesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getCategoriesFieldBuilder() : null;
             } else {
               categoriesBuilder_.addAllMessages(other.categories_);
             }
@@ -13749,9 +12099,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -13760,25 +12108,22 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object title_ = "";
       /**
-       *
-       *
        * 
        * The localized title of the update package.
        * 
* * string title = 1; - * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -13787,21 +12132,20 @@ public java.lang.String getTitle() { } } /** - * - * *
        * The localized title of the update package.
        * 
* * string title = 1; - * * @return The bytes for title. */ - public com.google.protobuf.ByteString getTitleBytes() { + public com.google.protobuf.ByteString + getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); title_ = b; return b; } else { @@ -13809,61 +12153,54 @@ public com.google.protobuf.ByteString getTitleBytes() { } } /** - * - * *
        * The localized title of the update package.
        * 
* * string title = 1; - * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle(java.lang.String value) { + public Builder setTitle( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** - * - * *
        * The localized title of the update package.
        * 
* * string title = 1; - * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** - * - * *
        * The localized title of the update package.
        * 
* * string title = 1; - * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes(com.google.protobuf.ByteString value) { + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -13871,20 +12208,18 @@ public Builder setTitleBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
        * The localized description of the update package.
        * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -13893,21 +12228,20 @@ public java.lang.String getDescription() { } } /** - * - * *
        * The localized description of the update package.
        * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -13915,102 +12249,79 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * The localized description of the update package.
        * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
        * The localized description of the update package.
        * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
        * The localized description of the update package.
        * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private java.util.List< - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory> - categories_ = java.util.Collections.emptyList(); - + private java.util.List categories_ = + java.util.Collections.emptyList(); private void ensureCategoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - categories_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory>(categories_); + categories_ = new java.util.ArrayList(categories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory, - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .Builder, - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategoryOrBuilder> - categoriesBuilder_; + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder> categoriesBuilder_; /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - public java.util.List< - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory> - getCategoriesList() { + public java.util.List getCategoriesList() { if (categoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(categories_); } else { @@ -14018,15 +12329,11 @@ private void ensureCategoriesIsMutable() { } } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ public int getCategoriesCount() { if (categoriesBuilder_ == null) { @@ -14036,18 +12343,13 @@ public int getCategoriesCount() { } } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - getCategories(int index) { + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getCategories(int index) { if (categoriesBuilder_ == null) { return categories_.get(index); } else { @@ -14055,19 +12357,14 @@ public int getCategoriesCount() { } } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ public Builder setCategories( - int index, - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory value) { + int index, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory value) { if (categoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14081,20 +12378,14 @@ public Builder setCategories( return this; } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ public Builder setCategories( - int index, - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue) { if (categoriesBuilder_ == null) { ensureCategoriesIsMutable(); categories_.set(index, builderForValue.build()); @@ -14105,18 +12396,13 @@ public Builder setCategories( return this; } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - public Builder addCategories( - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory value) { + public Builder addCategories(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory value) { if (categoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14130,19 +12416,14 @@ public Builder addCategories( return this; } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ public Builder addCategories( - int index, - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory value) { + int index, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory value) { if (categoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14156,19 +12437,14 @@ public Builder addCategories( return this; } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ public Builder addCategories( - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder - builderForValue) { + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue) { if (categoriesBuilder_ == null) { ensureCategoriesIsMutable(); categories_.add(builderForValue.build()); @@ -14179,20 +12455,14 @@ public Builder addCategories( return this; } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ public Builder addCategories( - int index, - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue) { if (categoriesBuilder_ == null) { ensureCategoriesIsMutable(); categories_.add(index, builderForValue.build()); @@ -14203,25 +12473,18 @@ public Builder addCategories( return this; } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ public Builder addAllCategories( - java.lang.Iterable< - ? extends - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory> - values) { + java.lang.Iterable values) { if (categoriesBuilder_ == null) { ensureCategoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, categories_); onChanged(); } else { categoriesBuilder_.addAllMessages(values); @@ -14229,15 +12492,11 @@ public Builder addAllCategories( return this; } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ public Builder clearCategories() { if (categoriesBuilder_ == null) { @@ -14250,15 +12509,11 @@ public Builder clearCategories() { return this; } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ public Builder removeCategories(int index) { if (categoriesBuilder_ == null) { @@ -14271,57 +12526,39 @@ public Builder removeCategories(int index) { return this; } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .Builder - getCategoriesBuilder(int index) { + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder getCategoriesBuilder( + int index) { return getCategoriesFieldBuilder().getBuilder(index); } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategoryOrBuilder - getCategoriesOrBuilder(int index) { + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder getCategoriesOrBuilder( + int index) { if (categoriesBuilder_ == null) { - return categories_.get(index); - } else { + return categories_.get(index); } else { return categoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategoryOrBuilder> - getCategoriesOrBuilderList() { + public java.util.List + getCategoriesOrBuilderList() { if (categoriesBuilder_ != null) { return categoriesBuilder_.getMessageOrBuilderList(); } else { @@ -14329,132 +12566,93 @@ public Builder removeCategories(int index) { } } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .Builder - addCategoriesBuilder() { - return getCategoriesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .getDefaultInstance()); + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder addCategoriesBuilder() { + return getCategoriesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.getDefaultInstance()); } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .Builder - addCategoriesBuilder(int index) { - return getCategoriesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .getDefaultInstance()); + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder addCategoriesBuilder( + int index) { + return getCategoriesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.getDefaultInstance()); } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - public java.util.List< - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .Builder> - getCategoriesBuilderList() { + public java.util.List + getCategoriesBuilderList() { return getCategoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory, - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .Builder, - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategoryOrBuilder> + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder> getCategoriesFieldBuilder() { if (categoriesBuilder_ == null) { - categoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory, - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .Builder, - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - .WindowsUpdateCategoryOrBuilder>( - categories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + categoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder>( + categories_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); categories_ = null; } return categoriesBuilder_; } - private com.google.protobuf.LazyStringList kbArticleIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList kbArticleIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureKbArticleIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { kbArticleIds_ = new com.google.protobuf.LazyStringArrayList(kbArticleIds_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; - * * @return A list containing the kbArticleIds. */ - public com.google.protobuf.ProtocolStringList getKbArticleIdsList() { + public com.google.protobuf.ProtocolStringList + getKbArticleIdsList() { return kbArticleIds_.getUnmodifiableView(); } /** - * - * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; - * * @return The count of kbArticleIds. */ public int getKbArticleIdsCount() { return kbArticleIds_.size(); } /** - * - * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; - * * @param index The index of the element to return. * @return The kbArticleIds at the given index. */ @@ -14462,95 +12660,85 @@ public java.lang.String getKbArticleIds(int index) { return kbArticleIds_.get(index); } /** - * - * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; - * * @param index The index of the value to return. * @return The bytes of the kbArticleIds at the given index. */ - public com.google.protobuf.ByteString getKbArticleIdsBytes(int index) { + public com.google.protobuf.ByteString + getKbArticleIdsBytes(int index) { return kbArticleIds_.getByteString(index); } /** - * - * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; - * * @param index The index to set the value at. * @param value The kbArticleIds to set. * @return This builder for chaining. */ - public Builder setKbArticleIds(int index, java.lang.String value) { + public Builder setKbArticleIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKbArticleIdsIsMutable(); + throw new NullPointerException(); + } + ensureKbArticleIdsIsMutable(); kbArticleIds_.set(index, value); onChanged(); return this; } /** - * - * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; - * * @param value The kbArticleIds to add. * @return This builder for chaining. */ - public Builder addKbArticleIds(java.lang.String value) { + public Builder addKbArticleIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKbArticleIdsIsMutable(); + throw new NullPointerException(); + } + ensureKbArticleIdsIsMutable(); kbArticleIds_.add(value); onChanged(); return this; } /** - * - * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; - * * @param values The kbArticleIds to add. * @return This builder for chaining. */ - public Builder addAllKbArticleIds(java.lang.Iterable values) { + public Builder addAllKbArticleIds( + java.lang.Iterable values) { ensureKbArticleIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kbArticleIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, kbArticleIds_); onChanged(); return this; } /** - * - * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; - * * @return This builder for chaining. */ public Builder clearKbArticleIds() { @@ -14560,23 +12748,21 @@ public Builder clearKbArticleIds() { return this; } /** - * - * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; - * * @param value The bytes of the kbArticleIds to add. * @return This builder for chaining. */ - public Builder addKbArticleIdsBytes(com.google.protobuf.ByteString value) { + public Builder addKbArticleIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureKbArticleIdsIsMutable(); kbArticleIds_.add(value); onChanged(); @@ -14585,20 +12771,18 @@ public Builder addKbArticleIdsBytes(com.google.protobuf.ByteString value) { private java.lang.Object supportUrl_ = ""; /** - * - * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; - * * @return The supportUrl. */ public java.lang.String getSupportUrl() { java.lang.Object ref = supportUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); supportUrl_ = s; return s; @@ -14607,21 +12791,20 @@ public java.lang.String getSupportUrl() { } } /** - * - * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; - * * @return The bytes for supportUrl. */ - public com.google.protobuf.ByteString getSupportUrlBytes() { + public com.google.protobuf.ByteString + getSupportUrlBytes() { java.lang.Object ref = supportUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); supportUrl_ = b; return b; } else { @@ -14629,115 +12812,98 @@ public com.google.protobuf.ByteString getSupportUrlBytes() { } } /** - * - * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; - * * @param value The supportUrl to set. * @return This builder for chaining. */ - public Builder setSupportUrl(java.lang.String value) { + public Builder setSupportUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + supportUrl_ = value; onChanged(); return this; } /** - * - * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; - * * @return This builder for chaining. */ public Builder clearSupportUrl() { - + supportUrl_ = getDefaultInstance().getSupportUrl(); onChanged(); return this; } /** - * - * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; - * * @param value The bytes for supportUrl to set. * @return This builder for chaining. */ - public Builder setSupportUrlBytes(com.google.protobuf.ByteString value) { + public Builder setSupportUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + supportUrl_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList moreInfoUrls_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList moreInfoUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureMoreInfoUrlsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { moreInfoUrls_ = new com.google.protobuf.LazyStringArrayList(moreInfoUrls_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; - * * @return A list containing the moreInfoUrls. */ - public com.google.protobuf.ProtocolStringList getMoreInfoUrlsList() { + public com.google.protobuf.ProtocolStringList + getMoreInfoUrlsList() { return moreInfoUrls_.getUnmodifiableView(); } /** - * - * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; - * * @return The count of moreInfoUrls. */ public int getMoreInfoUrlsCount() { return moreInfoUrls_.size(); } /** - * - * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; - * * @param index The index of the element to return. * @return The moreInfoUrls at the given index. */ @@ -14745,95 +12911,85 @@ public java.lang.String getMoreInfoUrls(int index) { return moreInfoUrls_.get(index); } /** - * - * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; - * * @param index The index of the value to return. * @return The bytes of the moreInfoUrls at the given index. */ - public com.google.protobuf.ByteString getMoreInfoUrlsBytes(int index) { + public com.google.protobuf.ByteString + getMoreInfoUrlsBytes(int index) { return moreInfoUrls_.getByteString(index); } /** - * - * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; - * * @param index The index to set the value at. * @param value The moreInfoUrls to set. * @return This builder for chaining. */ - public Builder setMoreInfoUrls(int index, java.lang.String value) { + public Builder setMoreInfoUrls( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMoreInfoUrlsIsMutable(); + throw new NullPointerException(); + } + ensureMoreInfoUrlsIsMutable(); moreInfoUrls_.set(index, value); onChanged(); return this; } /** - * - * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; - * * @param value The moreInfoUrls to add. * @return This builder for chaining. */ - public Builder addMoreInfoUrls(java.lang.String value) { + public Builder addMoreInfoUrls( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMoreInfoUrlsIsMutable(); + throw new NullPointerException(); + } + ensureMoreInfoUrlsIsMutable(); moreInfoUrls_.add(value); onChanged(); return this; } /** - * - * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; - * * @param values The moreInfoUrls to add. * @return This builder for chaining. */ - public Builder addAllMoreInfoUrls(java.lang.Iterable values) { + public Builder addAllMoreInfoUrls( + java.lang.Iterable values) { ensureMoreInfoUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, moreInfoUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, moreInfoUrls_); onChanged(); return this; } /** - * - * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; - * * @return This builder for chaining. */ public Builder clearMoreInfoUrls() { @@ -14843,23 +12999,21 @@ public Builder clearMoreInfoUrls() { return this; } /** - * - * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; - * * @param value The bytes of the moreInfoUrls to add. * @return This builder for chaining. */ - public Builder addMoreInfoUrlsBytes(com.google.protobuf.ByteString value) { + public Builder addMoreInfoUrlsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMoreInfoUrlsIsMutable(); moreInfoUrls_.add(value); onChanged(); @@ -14868,21 +13022,19 @@ public Builder addMoreInfoUrlsBytes(com.google.protobuf.ByteString value) { private java.lang.Object updateId_ = ""; /** - * - * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; - * * @return The updateId. */ public java.lang.String getUpdateId() { java.lang.Object ref = updateId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); updateId_ = s; return s; @@ -14891,22 +13043,21 @@ public java.lang.String getUpdateId() { } } /** - * - * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; - * * @return The bytes for updateId. */ - public com.google.protobuf.ByteString getUpdateIdBytes() { + public com.google.protobuf.ByteString + getUpdateIdBytes() { java.lang.Object ref = updateId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); updateId_ = b; return b; } else { @@ -14914,79 +13065,69 @@ public com.google.protobuf.ByteString getUpdateIdBytes() { } } /** - * - * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; - * * @param value The updateId to set. * @return This builder for chaining. */ - public Builder setUpdateId(java.lang.String value) { + public Builder setUpdateId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + updateId_ = value; onChanged(); return this; } /** - * - * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; - * * @return This builder for chaining. */ public Builder clearUpdateId() { - + updateId_ = getDefaultInstance().getUpdateId(); onChanged(); return this; } /** - * - * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; - * * @param value The bytes for updateId to set. * @return This builder for chaining. */ - public Builder setUpdateIdBytes(com.google.protobuf.ByteString value) { + public Builder setUpdateIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + updateId_ = value; onChanged(); return this; } - private int revisionNumber_; + private int revisionNumber_ ; /** - * - * *
        * The revision number of this update package.
        * 
* * int32 revision_number = 7; - * * @return The revisionNumber. */ @java.lang.Override @@ -14994,36 +13135,30 @@ public int getRevisionNumber() { return revisionNumber_; } /** - * - * *
        * The revision number of this update package.
        * 
* * int32 revision_number = 7; - * * @param value The revisionNumber to set. * @return This builder for chaining. */ public Builder setRevisionNumber(int value) { - + revisionNumber_ = value; onChanged(); return this; } /** - * - * *
        * The revision number of this update package.
        * 
* * int32 revision_number = 7; - * * @return This builder for chaining. */ public Builder clearRevisionNumber() { - + revisionNumber_ = 0; onChanged(); return this; @@ -15031,47 +13166,34 @@ public Builder clearRevisionNumber() { private com.google.protobuf.Timestamp lastDeploymentChangeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastDeploymentChangeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastDeploymentChangeTimeBuilder_; /** - * - * *
        * The last published date of the update, in (UTC) date and time.
        * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; - * * @return Whether the lastDeploymentChangeTime field is set. */ public boolean hasLastDeploymentChangeTime() { return lastDeploymentChangeTimeBuilder_ != null || lastDeploymentChangeTime_ != null; } /** - * - * *
        * The last published date of the update, in (UTC) date and time.
        * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; - * * @return The lastDeploymentChangeTime. */ public com.google.protobuf.Timestamp getLastDeploymentChangeTime() { if (lastDeploymentChangeTimeBuilder_ == null) { - return lastDeploymentChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastDeploymentChangeTime_; + return lastDeploymentChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastDeploymentChangeTime_; } else { return lastDeploymentChangeTimeBuilder_.getMessage(); } } /** - * - * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -15092,8 +13214,6 @@ public Builder setLastDeploymentChangeTime(com.google.protobuf.Timestamp value) return this; } /** - * - * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -15112,8 +13232,6 @@ public Builder setLastDeploymentChangeTime( return this; } /** - * - * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -15124,9 +13242,7 @@ public Builder mergeLastDeploymentChangeTime(com.google.protobuf.Timestamp value if (lastDeploymentChangeTimeBuilder_ == null) { if (lastDeploymentChangeTime_ != null) { lastDeploymentChangeTime_ = - com.google.protobuf.Timestamp.newBuilder(lastDeploymentChangeTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastDeploymentChangeTime_).mergeFrom(value).buildPartial(); } else { lastDeploymentChangeTime_ = value; } @@ -15138,8 +13254,6 @@ public Builder mergeLastDeploymentChangeTime(com.google.protobuf.Timestamp value return this; } /** - * - * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -15158,8 +13272,6 @@ public Builder clearLastDeploymentChangeTime() { return this; } /** - * - * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -15167,13 +13279,11 @@ public Builder clearLastDeploymentChangeTime() { * .google.protobuf.Timestamp last_deployment_change_time = 10; */ public com.google.protobuf.Timestamp.Builder getLastDeploymentChangeTimeBuilder() { - + onChanged(); return getLastDeploymentChangeTimeFieldBuilder().getBuilder(); } /** - * - * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -15184,14 +13294,11 @@ public com.google.protobuf.TimestampOrBuilder getLastDeploymentChangeTimeOrBuild if (lastDeploymentChangeTimeBuilder_ != null) { return lastDeploymentChangeTimeBuilder_.getMessageOrBuilder(); } else { - return lastDeploymentChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastDeploymentChangeTime_; + return lastDeploymentChangeTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastDeploymentChangeTime_; } } /** - * - * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -15199,22 +13306,18 @@ public com.google.protobuf.TimestampOrBuilder getLastDeploymentChangeTimeOrBuild * .google.protobuf.Timestamp last_deployment_change_time = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastDeploymentChangeTimeFieldBuilder() { if (lastDeploymentChangeTimeBuilder_ == null) { - lastDeploymentChangeTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastDeploymentChangeTime(), getParentForChildren(), isClean()); + lastDeploymentChangeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastDeploymentChangeTime(), + getParentForChildren(), + isClean()); lastDeploymentChangeTime_ = null; } return lastDeploymentChangeTimeBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -15227,13 +13330,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) - private static final com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage(); } @@ -15242,16 +13344,16 @@ public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsUpdatePackage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsUpdatePackage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsUpdatePackage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsUpdatePackage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15266,115 +13368,92 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface WindowsQuickFixEngineeringPackageOrBuilder - extends + public interface WindowsQuickFixEngineeringPackageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A short textual description of the QFE update.
      * 
* * string caption = 1; - * * @return The caption. */ java.lang.String getCaption(); /** - * - * *
      * A short textual description of the QFE update.
      * 
* * string caption = 1; - * * @return The bytes for caption. */ - com.google.protobuf.ByteString getCaptionBytes(); + com.google.protobuf.ByteString + getCaptionBytes(); /** - * - * *
      * A textual description of the QFE update.
      * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * A textual description of the QFE update.
      * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * Unique identifier associated with a particular QFE update.
      * 
* * string hot_fix_id = 3; - * * @return The hotFixId. */ java.lang.String getHotFixId(); /** - * - * *
      * Unique identifier associated with a particular QFE update.
      * 
* * string hot_fix_id = 3; - * * @return The bytes for hotFixId. */ - com.google.protobuf.ByteString getHotFixIdBytes(); + com.google.protobuf.ByteString + getHotFixIdBytes(); /** - * - * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
* * .google.protobuf.Timestamp install_time = 5; - * * @return Whether the installTime field is set. */ boolean hasInstallTime(); /** - * - * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
* * .google.protobuf.Timestamp install_time = 5; - * * @return The installTime. */ com.google.protobuf.Timestamp getInstallTime(); /** - * - * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
@@ -15384,8 +13463,6 @@ public interface WindowsQuickFixEngineeringPackageOrBuilder com.google.protobuf.TimestampOrBuilder getInstallTimeOrBuilder(); } /** - * - * *
    * Information related to a Quick Fix Engineering package.
    * Fields are taken from Windows QuickFixEngineering Interface and match
@@ -15395,18 +13472,15 @@ public interface WindowsQuickFixEngineeringPackageOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage}
    */
-  public static final class WindowsQuickFixEngineeringPackage
-      extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class WindowsQuickFixEngineeringPackage extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage)
       WindowsQuickFixEngineeringPackageOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use WindowsQuickFixEngineeringPackage.newBuilder() to construct.
-    private WindowsQuickFixEngineeringPackage(
-        com.google.protobuf.GeneratedMessageV3.Builder builder) {
+    private WindowsQuickFixEngineeringPackage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private WindowsQuickFixEngineeringPackage() {
       caption_ = "";
       description_ = "";
@@ -15415,15 +13489,16 @@ private WindowsQuickFixEngineeringPackage() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new WindowsQuickFixEngineeringPackage();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private WindowsQuickFixEngineeringPackage(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -15442,49 +13517,44 @@ private WindowsQuickFixEngineeringPackage(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                caption_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              caption_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                description_ = s;
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              description_ = s;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                hotFixId_ = s;
-                break;
+              hotFixId_ = s;
+              break;
+            }
+            case 42: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (installTime_ != null) {
+                subBuilder = installTime_.toBuilder();
               }
-            case 42:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (installTime_ != null) {
-                  subBuilder = installTime_.toBuilder();
-                }
-                installTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(installTime_);
-                  installTime_ = subBuilder.buildPartial();
-                }
-
-                break;
+              installTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(installTime_);
+                installTime_ = subBuilder.buildPartial();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -15492,40 +13562,34 @@ private WindowsQuickFixEngineeringPackage(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.Inventories
-          .internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.Inventories
-          .internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.class,
-              com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder
-                  .class);
+              com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.class, com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder.class);
     }
 
     public static final int CAPTION_FIELD_NUMBER = 1;
     private volatile java.lang.Object caption_;
     /**
-     *
-     *
      * 
      * A short textual description of the QFE update.
      * 
* * string caption = 1; - * * @return The caption. */ @java.lang.Override @@ -15534,29 +13598,29 @@ public java.lang.String getCaption() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caption_ = s; return s; } } /** - * - * *
      * A short textual description of the QFE update.
      * 
* * string caption = 1; - * * @return The bytes for caption. */ @java.lang.Override - public com.google.protobuf.ByteString getCaptionBytes() { + public com.google.protobuf.ByteString + getCaptionBytes() { java.lang.Object ref = caption_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); caption_ = b; return b; } else { @@ -15567,14 +13631,11 @@ public com.google.protobuf.ByteString getCaptionBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
      * A textual description of the QFE update.
      * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -15583,29 +13644,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * A textual description of the QFE update.
      * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -15616,14 +13677,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int HOT_FIX_ID_FIELD_NUMBER = 3; private volatile java.lang.Object hotFixId_; /** - * - * *
      * Unique identifier associated with a particular QFE update.
      * 
* * string hot_fix_id = 3; - * * @return The hotFixId. */ @java.lang.Override @@ -15632,29 +13690,29 @@ public java.lang.String getHotFixId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hotFixId_ = s; return s; } } /** - * - * *
      * Unique identifier associated with a particular QFE update.
      * 
* * string hot_fix_id = 3; - * * @return The bytes for hotFixId. */ @java.lang.Override - public com.google.protobuf.ByteString getHotFixIdBytes() { + public com.google.protobuf.ByteString + getHotFixIdBytes() { java.lang.Object ref = hotFixId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hotFixId_ = b; return b; } else { @@ -15665,14 +13723,11 @@ public com.google.protobuf.ByteString getHotFixIdBytes() { public static final int INSTALL_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp installTime_; /** - * - * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
* * .google.protobuf.Timestamp install_time = 5; - * * @return Whether the installTime field is set. */ @java.lang.Override @@ -15680,25 +13735,18 @@ public boolean hasInstallTime() { return installTime_ != null; } /** - * - * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
* * .google.protobuf.Timestamp install_time = 5; - * * @return The installTime. */ @java.lang.Override public com.google.protobuf.Timestamp getInstallTime() { - return installTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : installTime_; + return installTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : installTime_; } /** - * - * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
@@ -15711,7 +13759,6 @@ public com.google.protobuf.TimestampOrBuilder getInstallTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15723,7 +13770,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(caption_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, caption_); } @@ -15755,7 +13803,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, hotFixId_); } if (installTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getInstallTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getInstallTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -15765,21 +13814,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage other = - (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) obj; + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage other = (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) obj; - if (!getCaption().equals(other.getCaption())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getHotFixId().equals(other.getHotFixId())) return false; + if (!getCaption() + .equals(other.getCaption())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getHotFixId() + .equals(other.getHotFixId())) return false; if (hasInstallTime() != other.hasInstallTime()) return false; if (hasInstallTime()) { - if (!getInstallTime().equals(other.getInstallTime())) return false; + if (!getInstallTime() + .equals(other.getInstallTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -15807,101 +13858,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage 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.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage 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.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - 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.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage 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.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - 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.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage 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.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -15911,8 +13949,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Information related to a Quick Fix Engineering package.
      * Fields are taken from Windows QuickFixEngineering Interface and match
@@ -15922,42 +13958,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage)
         com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.Inventories
-            .internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.Inventories
-            .internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.class,
-                com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder
-                    .class);
+                com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.class, com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.newBuilder()
+      // Construct using com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -15977,22 +14009,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.Inventories
-            .internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage
-          getDefaultInstanceForType() {
-        return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage
-            .getDefaultInstance();
+      public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage getDefaultInstanceForType() {
+        return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage build() {
-        com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage result =
-            buildPartial();
+        com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -16000,10 +14029,8 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage
-          buildPartial() {
-        com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage result =
-            new com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage(this);
+      public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage buildPartial() {
+        com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage result = new com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage(this);
         result.caption_ = caption_;
         result.description_ = description_;
         result.hotFixId_ = hotFixId_;
@@ -16020,54 +14047,46 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) {
-          return mergeFrom(
-              (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) other);
+        if (other instanceof com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) {
+          return mergeFrom((com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage other) {
-        if (other
-            == com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage other) {
+        if (other == com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance()) return this;
         if (!other.getCaption().isEmpty()) {
           caption_ = other.caption_;
           onChanged();
@@ -16098,14 +14117,11 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parsedMessage =
-            null;
+        com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parsedMessage = null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -16117,20 +14133,18 @@ public Builder mergeFrom(
 
       private java.lang.Object caption_ = "";
       /**
-       *
-       *
        * 
        * A short textual description of the QFE update.
        * 
* * string caption = 1; - * * @return The caption. */ public java.lang.String getCaption() { java.lang.Object ref = caption_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caption_ = s; return s; @@ -16139,21 +14153,20 @@ public java.lang.String getCaption() { } } /** - * - * *
        * A short textual description of the QFE update.
        * 
* * string caption = 1; - * * @return The bytes for caption. */ - public com.google.protobuf.ByteString getCaptionBytes() { + public com.google.protobuf.ByteString + getCaptionBytes() { java.lang.Object ref = caption_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); caption_ = b; return b; } else { @@ -16161,61 +14174,54 @@ public com.google.protobuf.ByteString getCaptionBytes() { } } /** - * - * *
        * A short textual description of the QFE update.
        * 
* * string caption = 1; - * * @param value The caption to set. * @return This builder for chaining. */ - public Builder setCaption(java.lang.String value) { + public Builder setCaption( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + caption_ = value; onChanged(); return this; } /** - * - * *
        * A short textual description of the QFE update.
        * 
* * string caption = 1; - * * @return This builder for chaining. */ public Builder clearCaption() { - + caption_ = getDefaultInstance().getCaption(); onChanged(); return this; } /** - * - * *
        * A short textual description of the QFE update.
        * 
* * string caption = 1; - * * @param value The bytes for caption to set. * @return This builder for chaining. */ - public Builder setCaptionBytes(com.google.protobuf.ByteString value) { + public Builder setCaptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + caption_ = value; onChanged(); return this; @@ -16223,20 +14229,18 @@ public Builder setCaptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
        * A textual description of the QFE update.
        * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -16245,21 +14249,20 @@ public java.lang.String getDescription() { } } /** - * - * *
        * A textual description of the QFE update.
        * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -16267,61 +14270,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * A textual description of the QFE update.
        * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
        * A textual description of the QFE update.
        * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
        * A textual description of the QFE update.
        * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -16329,20 +14325,18 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object hotFixId_ = ""; /** - * - * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; - * * @return The hotFixId. */ public java.lang.String getHotFixId() { java.lang.Object ref = hotFixId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hotFixId_ = s; return s; @@ -16351,21 +14345,20 @@ public java.lang.String getHotFixId() { } } /** - * - * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; - * * @return The bytes for hotFixId. */ - public com.google.protobuf.ByteString getHotFixIdBytes() { + public com.google.protobuf.ByteString + getHotFixIdBytes() { java.lang.Object ref = hotFixId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hotFixId_ = b; return b; } else { @@ -16373,61 +14366,54 @@ public com.google.protobuf.ByteString getHotFixIdBytes() { } } /** - * - * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; - * * @param value The hotFixId to set. * @return This builder for chaining. */ - public Builder setHotFixId(java.lang.String value) { + public Builder setHotFixId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hotFixId_ = value; onChanged(); return this; } /** - * - * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; - * * @return This builder for chaining. */ public Builder clearHotFixId() { - + hotFixId_ = getDefaultInstance().getHotFixId(); onChanged(); return this; } /** - * - * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; - * * @param value The bytes for hotFixId to set. * @return This builder for chaining. */ - public Builder setHotFixIdBytes(com.google.protobuf.ByteString value) { + public Builder setHotFixIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hotFixId_ = value; onChanged(); return this; @@ -16435,47 +14421,34 @@ public Builder setHotFixIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp installTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - installTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> installTimeBuilder_; /** - * - * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
* * .google.protobuf.Timestamp install_time = 5; - * * @return Whether the installTime field is set. */ public boolean hasInstallTime() { return installTimeBuilder_ != null || installTime_ != null; } /** - * - * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
* * .google.protobuf.Timestamp install_time = 5; - * * @return The installTime. */ public com.google.protobuf.Timestamp getInstallTime() { if (installTimeBuilder_ == null) { - return installTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : installTime_; + return installTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : installTime_; } else { return installTimeBuilder_.getMessage(); } } /** - * - * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -16496,15 +14469,14 @@ public Builder setInstallTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
* * .google.protobuf.Timestamp install_time = 5; */ - public Builder setInstallTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setInstallTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (installTimeBuilder_ == null) { installTime_ = builderForValue.build(); onChanged(); @@ -16515,8 +14487,6 @@ public Builder setInstallTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -16527,9 +14497,7 @@ public Builder mergeInstallTime(com.google.protobuf.Timestamp value) { if (installTimeBuilder_ == null) { if (installTime_ != null) { installTime_ = - com.google.protobuf.Timestamp.newBuilder(installTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(installTime_).mergeFrom(value).buildPartial(); } else { installTime_ = value; } @@ -16541,8 +14509,6 @@ public Builder mergeInstallTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -16561,8 +14527,6 @@ public Builder clearInstallTime() { return this; } /** - * - * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -16570,13 +14534,11 @@ public Builder clearInstallTime() { * .google.protobuf.Timestamp install_time = 5; */ public com.google.protobuf.Timestamp.Builder getInstallTimeBuilder() { - + onChanged(); return getInstallTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -16587,14 +14549,11 @@ public com.google.protobuf.TimestampOrBuilder getInstallTimeOrBuilder() { if (installTimeBuilder_ != null) { return installTimeBuilder_.getMessageOrBuilder(); } else { - return installTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : installTime_; + return installTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : installTime_; } } /** - * - * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -16602,22 +14561,18 @@ public com.google.protobuf.TimestampOrBuilder getInstallTimeOrBuilder() { * .google.protobuf.Timestamp install_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getInstallTimeFieldBuilder() { if (installTimeBuilder_ == null) { - installTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getInstallTime(), getParentForChildren(), isClean()); + installTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getInstallTime(), + getParentForChildren(), + isClean()); installTime_ = null; } return installTimeBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16630,33 +14585,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) - private static final com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage(); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsQuickFixEngineeringPackage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsQuickFixEngineeringPackage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsQuickFixEngineeringPackage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsQuickFixEngineeringPackage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16668,95 +14620,77 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface WindowsApplicationOrBuilder - extends + public interface WindowsApplicationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory.WindowsApplication) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the application or product.
      * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
      * The name of the application or product.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
      * The version of the product or application in string format.
      * 
* * string display_version = 2; - * * @return The displayVersion. */ java.lang.String getDisplayVersion(); /** - * - * *
      * The version of the product or application in string format.
      * 
* * string display_version = 2; - * * @return The bytes for displayVersion. */ - com.google.protobuf.ByteString getDisplayVersionBytes(); + com.google.protobuf.ByteString + getDisplayVersionBytes(); /** - * - * *
      * The name of the manufacturer for the product or application.
      * 
* * string publisher = 3; - * * @return The publisher. */ java.lang.String getPublisher(); /** - * - * *
      * The name of the manufacturer for the product or application.
      * 
* * string publisher = 3; - * * @return The bytes for publisher. */ - com.google.protobuf.ByteString getPublisherBytes(); + com.google.protobuf.ByteString + getPublisherBytes(); /** - * - * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -16764,13 +14698,10 @@ public interface WindowsApplicationOrBuilder
      * 
* * .google.type.Date install_date = 4; - * * @return Whether the installDate field is set. */ boolean hasInstallDate(); /** - * - * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -16778,13 +14709,10 @@ public interface WindowsApplicationOrBuilder
      * 
* * .google.type.Date install_date = 4; - * * @return The installDate. */ com.google.type.Date getInstallDate(); /** - * - * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -16796,33 +14724,26 @@ public interface WindowsApplicationOrBuilder
     com.google.type.DateOrBuilder getInstallDateOrBuilder();
 
     /**
-     *
-     *
      * 
      * The internet address for technical support.
      * 
* * string help_link = 5; - * * @return The helpLink. */ java.lang.String getHelpLink(); /** - * - * *
      * The internet address for technical support.
      * 
* * string help_link = 5; - * * @return The bytes for helpLink. */ - com.google.protobuf.ByteString getHelpLinkBytes(); + com.google.protobuf.ByteString + getHelpLinkBytes(); } /** - * - * *
    * Contains information about a Windows application that is retrieved from the
    * Windows Registry. For more information about these fields, see:
@@ -16831,16 +14752,15 @@ public interface WindowsApplicationOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1.Inventory.WindowsApplication}
    */
-  public static final class WindowsApplication extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class WindowsApplication extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory.WindowsApplication)
       WindowsApplicationOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use WindowsApplication.newBuilder() to construct.
     private WindowsApplication(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private WindowsApplication() {
       displayName_ = "";
       displayVersion_ = "";
@@ -16850,15 +14770,16 @@ private WindowsApplication() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new WindowsApplication();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private WindowsApplication(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -16877,55 +14798,50 @@ private WindowsApplication(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                displayName_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              displayName_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                displayVersion_ = s;
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              displayVersion_ = s;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                publisher_ = s;
-                break;
+              publisher_ = s;
+              break;
+            }
+            case 34: {
+              com.google.type.Date.Builder subBuilder = null;
+              if (installDate_ != null) {
+                subBuilder = installDate_.toBuilder();
               }
-            case 34:
-              {
-                com.google.type.Date.Builder subBuilder = null;
-                if (installDate_ != null) {
-                  subBuilder = installDate_.toBuilder();
-                }
-                installDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(installDate_);
-                  installDate_ = subBuilder.buildPartial();
-                }
-
-                break;
+              installDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(installDate_);
+                installDate_ = subBuilder.buildPartial();
               }
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
 
-                helpLink_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              break;
+            }
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              helpLink_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -16933,39 +14849,34 @@ private WindowsApplication(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.Inventories
-          .internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.Inventories
-          .internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.Inventory.WindowsApplication.class,
-              com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder.class);
+              com.google.cloud.osconfig.v1.Inventory.WindowsApplication.class, com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder.class);
     }
 
     public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object displayName_;
     /**
-     *
-     *
      * 
      * The name of the application or product.
      * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -16974,29 +14885,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
      * The name of the application or product.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -17007,14 +14918,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DISPLAY_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object displayVersion_; /** - * - * *
      * The version of the product or application in string format.
      * 
* * string display_version = 2; - * * @return The displayVersion. */ @java.lang.Override @@ -17023,29 +14931,29 @@ public java.lang.String getDisplayVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayVersion_ = s; return s; } } /** - * - * *
      * The version of the product or application in string format.
      * 
* * string display_version = 2; - * * @return The bytes for displayVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayVersionBytes() { + public com.google.protobuf.ByteString + getDisplayVersionBytes() { java.lang.Object ref = displayVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayVersion_ = b; return b; } else { @@ -17056,14 +14964,11 @@ public com.google.protobuf.ByteString getDisplayVersionBytes() { public static final int PUBLISHER_FIELD_NUMBER = 3; private volatile java.lang.Object publisher_; /** - * - * *
      * The name of the manufacturer for the product or application.
      * 
* * string publisher = 3; - * * @return The publisher. */ @java.lang.Override @@ -17072,29 +14977,29 @@ public java.lang.String getPublisher() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publisher_ = s; return s; } } /** - * - * *
      * The name of the manufacturer for the product or application.
      * 
* * string publisher = 3; - * * @return The bytes for publisher. */ @java.lang.Override - public com.google.protobuf.ByteString getPublisherBytes() { + public com.google.protobuf.ByteString + getPublisherBytes() { java.lang.Object ref = publisher_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publisher_ = b; return b; } else { @@ -17105,8 +15010,6 @@ public com.google.protobuf.ByteString getPublisherBytes() { public static final int INSTALL_DATE_FIELD_NUMBER = 4; private com.google.type.Date installDate_; /** - * - * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -17114,7 +15017,6 @@ public com.google.protobuf.ByteString getPublisherBytes() {
      * 
* * .google.type.Date install_date = 4; - * * @return Whether the installDate field is set. */ @java.lang.Override @@ -17122,8 +15024,6 @@ public boolean hasInstallDate() { return installDate_ != null; } /** - * - * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -17131,7 +15031,6 @@ public boolean hasInstallDate() {
      * 
* * .google.type.Date install_date = 4; - * * @return The installDate. */ @java.lang.Override @@ -17139,8 +15038,6 @@ public com.google.type.Date getInstallDate() { return installDate_ == null ? com.google.type.Date.getDefaultInstance() : installDate_; } /** - * - * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -17157,14 +15054,11 @@ public com.google.type.DateOrBuilder getInstallDateOrBuilder() {
     public static final int HELP_LINK_FIELD_NUMBER = 5;
     private volatile java.lang.Object helpLink_;
     /**
-     *
-     *
      * 
      * The internet address for technical support.
      * 
* * string help_link = 5; - * * @return The helpLink. */ @java.lang.Override @@ -17173,29 +15067,29 @@ public java.lang.String getHelpLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); helpLink_ = s; return s; } } /** - * - * *
      * The internet address for technical support.
      * 
* * string help_link = 5; - * * @return The bytes for helpLink. */ @java.lang.Override - public com.google.protobuf.ByteString getHelpLinkBytes() { + public com.google.protobuf.ByteString + getHelpLinkBytes() { java.lang.Object ref = helpLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); helpLink_ = b; return b; } else { @@ -17204,7 +15098,6 @@ public com.google.protobuf.ByteString getHelpLinkBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -17216,7 +15109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -17251,7 +15145,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, publisher_); } if (installDate_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getInstallDate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getInstallDate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(helpLink_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, helpLink_); @@ -17264,22 +15159,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory.WindowsApplication)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Inventory.WindowsApplication other = - (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) obj; + com.google.cloud.osconfig.v1.Inventory.WindowsApplication other = (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDisplayVersion().equals(other.getDisplayVersion())) return false; - if (!getPublisher().equals(other.getPublisher())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDisplayVersion() + .equals(other.getDisplayVersion())) return false; + if (!getPublisher() + .equals(other.getPublisher())) return false; if (hasInstallDate() != other.hasInstallDate()) return false; if (hasInstallDate()) { - if (!getInstallDate().equals(other.getInstallDate())) return false; + if (!getInstallDate() + .equals(other.getInstallDate())) return false; } - if (!getHelpLink().equals(other.getHelpLink())) return false; + if (!getHelpLink() + .equals(other.getHelpLink())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -17309,94 +15208,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication 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.osconfig.v1.Inventory.WindowsApplication parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.Inventory.WindowsApplication prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory.WindowsApplication prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -17406,8 +15298,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Contains information about a Windows application that is retrieved from the
      * Windows Registry. For more information about these fields, see:
@@ -17416,24 +15306,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.Inventory.WindowsApplication}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory.WindowsApplication)
         com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.Inventories
-            .internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.Inventories
-            .internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.Inventory.WindowsApplication.class,
-                com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder.class);
+                com.google.cloud.osconfig.v1.Inventory.WindowsApplication.class, com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.Inventory.WindowsApplication.newBuilder()
@@ -17441,15 +15328,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -17471,9 +15359,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.Inventories
-            .internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor;
       }
 
       @java.lang.Override
@@ -17492,8 +15380,7 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsApplication build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.Inventory.WindowsApplication buildPartial() {
-        com.google.cloud.osconfig.v1.Inventory.WindowsApplication result =
-            new com.google.cloud.osconfig.v1.Inventory.WindowsApplication(this);
+        com.google.cloud.osconfig.v1.Inventory.WindowsApplication result = new com.google.cloud.osconfig.v1.Inventory.WindowsApplication(this);
         result.displayName_ = displayName_;
         result.displayVersion_ = displayVersion_;
         result.publisher_ = publisher_;
@@ -17511,41 +15398,38 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsApplication buildPartial()
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.Inventory.WindowsApplication) {
-          return mergeFrom((com.google.cloud.osconfig.v1.Inventory.WindowsApplication) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.Inventory.WindowsApplication)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -17553,8 +15437,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.WindowsApplication other) {
-        if (other == com.google.cloud.osconfig.v1.Inventory.WindowsApplication.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1.Inventory.WindowsApplication.getDefaultInstance()) return this;
         if (!other.getDisplayName().isEmpty()) {
           displayName_ = other.displayName_;
           onChanged();
@@ -17593,8 +15476,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -17606,20 +15488,18 @@ public Builder mergeFrom(
 
       private java.lang.Object displayName_ = "";
       /**
-       *
-       *
        * 
        * The name of the application or product.
        * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -17628,21 +15508,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
        * The name of the application or product.
        * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -17650,61 +15529,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
        * The name of the application or product.
        * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
        * The name of the application or product.
        * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
        * The name of the application or product.
        * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -17712,20 +15584,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayVersion_ = ""; /** - * - * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; - * * @return The displayVersion. */ public java.lang.String getDisplayVersion() { java.lang.Object ref = displayVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayVersion_ = s; return s; @@ -17734,21 +15604,20 @@ public java.lang.String getDisplayVersion() { } } /** - * - * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; - * * @return The bytes for displayVersion. */ - public com.google.protobuf.ByteString getDisplayVersionBytes() { + public com.google.protobuf.ByteString + getDisplayVersionBytes() { java.lang.Object ref = displayVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayVersion_ = b; return b; } else { @@ -17756,61 +15625,54 @@ public com.google.protobuf.ByteString getDisplayVersionBytes() { } } /** - * - * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; - * * @param value The displayVersion to set. * @return This builder for chaining. */ - public Builder setDisplayVersion(java.lang.String value) { + public Builder setDisplayVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayVersion_ = value; onChanged(); return this; } /** - * - * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; - * * @return This builder for chaining. */ public Builder clearDisplayVersion() { - + displayVersion_ = getDefaultInstance().getDisplayVersion(); onChanged(); return this; } /** - * - * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; - * * @param value The bytes for displayVersion to set. * @return This builder for chaining. */ - public Builder setDisplayVersionBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayVersion_ = value; onChanged(); return this; @@ -17818,20 +15680,18 @@ public Builder setDisplayVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object publisher_ = ""; /** - * - * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; - * * @return The publisher. */ public java.lang.String getPublisher() { java.lang.Object ref = publisher_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publisher_ = s; return s; @@ -17840,21 +15700,20 @@ public java.lang.String getPublisher() { } } /** - * - * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; - * * @return The bytes for publisher. */ - public com.google.protobuf.ByteString getPublisherBytes() { + public com.google.protobuf.ByteString + getPublisherBytes() { java.lang.Object ref = publisher_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publisher_ = b; return b; } else { @@ -17862,61 +15721,54 @@ public com.google.protobuf.ByteString getPublisherBytes() { } } /** - * - * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; - * * @param value The publisher to set. * @return This builder for chaining. */ - public Builder setPublisher(java.lang.String value) { + public Builder setPublisher( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + publisher_ = value; onChanged(); return this; } /** - * - * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; - * * @return This builder for chaining. */ public Builder clearPublisher() { - + publisher_ = getDefaultInstance().getPublisher(); onChanged(); return this; } /** - * - * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; - * * @param value The bytes for publisher to set. * @return This builder for chaining. */ - public Builder setPublisherBytes(com.google.protobuf.ByteString value) { + public Builder setPublisherBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + publisher_ = value; onChanged(); return this; @@ -17924,11 +15776,8 @@ public Builder setPublisherBytes(com.google.protobuf.ByteString value) { private com.google.type.Date installDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> - installDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> installDateBuilder_; /** - * - * *
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -17936,15 +15785,12 @@ public Builder setPublisherBytes(com.google.protobuf.ByteString value) {
        * 
* * .google.type.Date install_date = 4; - * * @return Whether the installDate field is set. */ public boolean hasInstallDate() { return installDateBuilder_ != null || installDate_ != null; } - /** - * - * + /** *
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -17952,7 +15798,6 @@ public boolean hasInstallDate() {
        * 
* * .google.type.Date install_date = 4; - * * @return The installDate. */ public com.google.type.Date getInstallDate() { @@ -17963,8 +15808,6 @@ public com.google.type.Date getInstallDate() { } } /** - * - * *
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -17987,8 +15830,6 @@ public Builder setInstallDate(com.google.type.Date value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -17997,7 +15838,8 @@ public Builder setInstallDate(com.google.type.Date value) {
        *
        * .google.type.Date install_date = 4;
        */
-      public Builder setInstallDate(com.google.type.Date.Builder builderForValue) {
+      public Builder setInstallDate(
+          com.google.type.Date.Builder builderForValue) {
         if (installDateBuilder_ == null) {
           installDate_ = builderForValue.build();
           onChanged();
@@ -18008,8 +15850,6 @@ public Builder setInstallDate(com.google.type.Date.Builder builderForValue) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -18022,7 +15862,7 @@ public Builder mergeInstallDate(com.google.type.Date value) {
         if (installDateBuilder_ == null) {
           if (installDate_ != null) {
             installDate_ =
-                com.google.type.Date.newBuilder(installDate_).mergeFrom(value).buildPartial();
+              com.google.type.Date.newBuilder(installDate_).mergeFrom(value).buildPartial();
           } else {
             installDate_ = value;
           }
@@ -18034,8 +15874,6 @@ public Builder mergeInstallDate(com.google.type.Date value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -18056,8 +15894,6 @@ public Builder clearInstallDate() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -18067,13 +15903,11 @@ public Builder clearInstallDate() {
        * .google.type.Date install_date = 4;
        */
       public com.google.type.Date.Builder getInstallDateBuilder() {
-
+        
         onChanged();
         return getInstallDateFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -18086,12 +15920,11 @@ public com.google.type.DateOrBuilder getInstallDateOrBuilder() {
         if (installDateBuilder_ != null) {
           return installDateBuilder_.getMessageOrBuilder();
         } else {
-          return installDate_ == null ? com.google.type.Date.getDefaultInstance() : installDate_;
+          return installDate_ == null ?
+              com.google.type.Date.getDefaultInstance() : installDate_;
         }
       }
       /**
-       *
-       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -18101,15 +15934,14 @@ public com.google.type.DateOrBuilder getInstallDateOrBuilder() {
        * .google.type.Date install_date = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+          com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> 
           getInstallDateFieldBuilder() {
         if (installDateBuilder_ == null) {
-          installDateBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.type.Date,
-                  com.google.type.Date.Builder,
-                  com.google.type.DateOrBuilder>(
-                  getInstallDate(), getParentForChildren(), isClean());
+          installDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+                  getInstallDate(),
+                  getParentForChildren(),
+                  isClean());
           installDate_ = null;
         }
         return installDateBuilder_;
@@ -18117,20 +15949,18 @@ public com.google.type.DateOrBuilder getInstallDateOrBuilder() {
 
       private java.lang.Object helpLink_ = "";
       /**
-       *
-       *
        * 
        * The internet address for technical support.
        * 
* * string help_link = 5; - * * @return The helpLink. */ public java.lang.String getHelpLink() { java.lang.Object ref = helpLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); helpLink_ = s; return s; @@ -18139,21 +15969,20 @@ public java.lang.String getHelpLink() { } } /** - * - * *
        * The internet address for technical support.
        * 
* * string help_link = 5; - * * @return The bytes for helpLink. */ - public com.google.protobuf.ByteString getHelpLinkBytes() { + public com.google.protobuf.ByteString + getHelpLinkBytes() { java.lang.Object ref = helpLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); helpLink_ = b; return b; } else { @@ -18161,66 +15990,58 @@ public com.google.protobuf.ByteString getHelpLinkBytes() { } } /** - * - * *
        * The internet address for technical support.
        * 
* * string help_link = 5; - * * @param value The helpLink to set. * @return This builder for chaining. */ - public Builder setHelpLink(java.lang.String value) { + public Builder setHelpLink( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + helpLink_ = value; onChanged(); return this; } /** - * - * *
        * The internet address for technical support.
        * 
* * string help_link = 5; - * * @return This builder for chaining. */ public Builder clearHelpLink() { - + helpLink_ = getDefaultInstance().getHelpLink(); onChanged(); return this; } /** - * - * *
        * The internet address for technical support.
        * 
* * string help_link = 5; - * * @param value The bytes for helpLink to set. * @return This builder for chaining. */ - public Builder setHelpLinkBytes(com.google.protobuf.ByteString value) { + public Builder setHelpLinkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + helpLink_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -18233,12 +16054,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory.WindowsApplication) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory.WindowsApplication) private static final com.google.cloud.osconfig.v1.Inventory.WindowsApplication DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory.WindowsApplication(); } @@ -18247,16 +16068,16 @@ public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsApplication parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsApplication(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsApplication parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsApplication(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -18271,13 +16092,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.Inventory.WindowsApplication getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The `Inventory` API resource name.
    * Format:
@@ -18285,7 +16105,6 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsApplication getDefaultInsta
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -18294,15 +16113,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The `Inventory` API resource name.
    * Format:
@@ -18310,15 +16128,16 @@ public java.lang.String getName() {
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -18329,14 +16148,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int OS_INFO_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1.Inventory.OsInfo osInfo_; /** - * - * *
    * Base level operating system information for the VM.
    * 
* * .google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1; - * * @return Whether the osInfo field is set. */ @java.lang.Override @@ -18344,25 +16160,18 @@ public boolean hasOsInfo() { return osInfo_ != null; } /** - * - * *
    * Base level operating system information for the VM.
    * 
* * .google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1; - * * @return The osInfo. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.OsInfo getOsInfo() { - return osInfo_ == null - ? com.google.cloud.osconfig.v1.Inventory.OsInfo.getDefaultInstance() - : osInfo_; + return osInfo_ == null ? com.google.cloud.osconfig.v1.Inventory.OsInfo.getDefaultInstance() : osInfo_; } /** - * - * *
    * Base level operating system information for the VM.
    * 
@@ -18375,30 +16184,24 @@ public com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder getOsInfoOrBuilder } public static final int ITEMS_FIELD_NUMBER = 2; - private static final class ItemsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item> - defaultEntry = + java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item> defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.osconfig.v1.Inventories - .internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.osconfig.v1.Inventory.Item.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.osconfig.v1.Inventory.Item.getDefaultInstance()); } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item> - items_; - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item> - internalGetItems() { + java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item> items_; + private com.google.protobuf.MapField + internalGetItems() { if (items_ == null) { - return com.google.protobuf.MapField.emptyMapField(ItemsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + ItemsDefaultEntryHolder.defaultEntry); } return items_; } @@ -18407,8 +16210,6 @@ public int getItemsCount() { return internalGetItems().getMap().size(); } /** - * - * *
    * Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item.  The identifier is unique to each distinct and
@@ -18418,22 +16219,22 @@ public int getItemsCount() {
    *
    * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
    */
+
   @java.lang.Override
-  public boolean containsItems(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsItems(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetItems().getMap().containsKey(key);
   }
-  /** Use {@link #getItemsMap()} instead. */
+  /**
+   * Use {@link #getItemsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getItems() {
     return getItemsMap();
   }
   /**
-   *
-   *
    * 
    * Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item.  The identifier is unique to each distinct and
@@ -18444,13 +16245,11 @@ public java.util.Mapmap<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
    */
   @java.lang.Override
-  public java.util.Map
-      getItemsMap() {
+
+  public java.util.Map getItemsMap() {
     return internalGetItems().getMap();
   }
   /**
-   *
-   *
    * 
    * Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item.  The identifier is unique to each distinct and
@@ -18461,18 +16260,16 @@ public java.util.Mapmap<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
    */
   @java.lang.Override
+
   public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrDefault(
-      java.lang.String key, com.google.cloud.osconfig.v1.Inventory.Item defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+      java.lang.String key,
+      com.google.cloud.osconfig.v1.Inventory.Item defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetItems().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item.  The identifier is unique to each distinct and
@@ -18483,10 +16280,10 @@ public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrDefault(
    * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
    */
   @java.lang.Override
-  public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+
+  public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetItems().getMap();
     if (!map.containsKey(key)) {
@@ -18498,15 +16295,11 @@ public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrThrow(java.lang.Str
   public static final int UPDATE_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp updateTime_;
   /**
-   *
-   *
    * 
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -18514,15 +16307,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -18530,14 +16319,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -18545,7 +16331,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -18557,12 +16342,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (osInfo_ != null) { output.writeMessage(1, getOsInfo()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetItems(), ItemsDefaultEntryHolder.defaultEntry, 2); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetItems(), + ItemsDefaultEntryHolder.defaultEntry, + 2); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -18579,24 +16369,25 @@ public int getSerializedSize() { size = 0; if (osInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOsInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOsInfo()); } - for (java.util.Map.Entry entry : - internalGetItems().getMap().entrySet()) { + for (java.util.Map.Entry entry + : internalGetItems().getMap().entrySet()) { com.google.protobuf.MapEntry - items__ = - ItemsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, items__); + items__ = ItemsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, items__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -18606,22 +16397,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory)) { return super.equals(obj); } com.google.cloud.osconfig.v1.Inventory other = (com.google.cloud.osconfig.v1.Inventory) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasOsInfo() != other.hasOsInfo()) return false; if (hasOsInfo()) { - if (!getOsInfo().equals(other.getOsInfo())) return false; + if (!getOsInfo() + .equals(other.getOsInfo())) return false; } - if (!internalGetItems().equals(other.internalGetItems())) return false; + if (!internalGetItems().equals( + other.internalGetItems())) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -18653,104 +16448,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.Inventory parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1.Inventory parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory 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.osconfig.v1.Inventory parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * This API resource represents the available inventory data for a
    * Compute Engine virtual machine (VM) instance at a given point in time.
@@ -18761,43 +16549,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1.Inventory}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory)
       com.google.cloud.osconfig.v1.InventoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.Inventories
-          .internal_static_google_cloud_osconfig_v1_Inventory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetItems();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetMutableItems();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.Inventories
-          .internal_static_google_cloud_osconfig_v1_Inventory_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.Inventory.class,
-              com.google.cloud.osconfig.v1.Inventory.Builder.class);
+              com.google.cloud.osconfig.v1.Inventory.class, com.google.cloud.osconfig.v1.Inventory.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1.Inventory.newBuilder()
@@ -18805,15 +16593,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -18836,9 +16625,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.Inventories
-          .internal_static_google_cloud_osconfig_v1_Inventory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_descriptor;
     }
 
     @java.lang.Override
@@ -18857,8 +16646,7 @@ public com.google.cloud.osconfig.v1.Inventory build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1.Inventory buildPartial() {
-      com.google.cloud.osconfig.v1.Inventory result =
-          new com.google.cloud.osconfig.v1.Inventory(this);
+      com.google.cloud.osconfig.v1.Inventory result = new com.google.cloud.osconfig.v1.Inventory(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (osInfoBuilder_ == null) {
@@ -18881,39 +16669,38 @@ public com.google.cloud.osconfig.v1.Inventory buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.Inventory) {
-        return mergeFrom((com.google.cloud.osconfig.v1.Inventory) other);
+        return mergeFrom((com.google.cloud.osconfig.v1.Inventory)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -18929,7 +16716,8 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory other) {
       if (other.hasOsInfo()) {
         mergeOsInfo(other.getOsInfo());
       }
-      internalGetMutableItems().mergeFrom(other.internalGetItems());
+      internalGetMutableItems().mergeFrom(
+          other.internalGetItems());
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
@@ -18961,13 +16749,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -18975,13 +16760,13 @@ public Builder mergeFrom(
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -18990,8 +16775,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -18999,14 +16782,15 @@ public java.lang.String getName() {
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -19014,8 +16798,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -19023,22 +16805,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -19046,18 +16826,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -19065,16 +16842,16 @@ public Builder clearName() {
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -19082,47 +16859,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.osconfig.v1.Inventory.OsInfo osInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.OsInfo, - com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder, - com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder> - osInfoBuilder_; + com.google.cloud.osconfig.v1.Inventory.OsInfo, com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder, com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder> osInfoBuilder_; /** - * - * *
      * Base level operating system information for the VM.
      * 
* * .google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1; - * * @return Whether the osInfo field is set. */ public boolean hasOsInfo() { return osInfoBuilder_ != null || osInfo_ != null; } /** - * - * *
      * Base level operating system information for the VM.
      * 
* * .google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1; - * * @return The osInfo. */ public com.google.cloud.osconfig.v1.Inventory.OsInfo getOsInfo() { if (osInfoBuilder_ == null) { - return osInfo_ == null - ? com.google.cloud.osconfig.v1.Inventory.OsInfo.getDefaultInstance() - : osInfo_; + return osInfo_ == null ? com.google.cloud.osconfig.v1.Inventory.OsInfo.getDefaultInstance() : osInfo_; } else { return osInfoBuilder_.getMessage(); } } /** - * - * *
      * Base level operating system information for the VM.
      * 
@@ -19143,8 +16907,6 @@ public Builder setOsInfo(com.google.cloud.osconfig.v1.Inventory.OsInfo value) { return this; } /** - * - * *
      * Base level operating system information for the VM.
      * 
@@ -19163,8 +16925,6 @@ public Builder setOsInfo( return this; } /** - * - * *
      * Base level operating system information for the VM.
      * 
@@ -19175,9 +16935,7 @@ public Builder mergeOsInfo(com.google.cloud.osconfig.v1.Inventory.OsInfo value) if (osInfoBuilder_ == null) { if (osInfo_ != null) { osInfo_ = - com.google.cloud.osconfig.v1.Inventory.OsInfo.newBuilder(osInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.Inventory.OsInfo.newBuilder(osInfo_).mergeFrom(value).buildPartial(); } else { osInfo_ = value; } @@ -19189,8 +16947,6 @@ public Builder mergeOsInfo(com.google.cloud.osconfig.v1.Inventory.OsInfo value) return this; } /** - * - * *
      * Base level operating system information for the VM.
      * 
@@ -19209,8 +16965,6 @@ public Builder clearOsInfo() { return this; } /** - * - * *
      * Base level operating system information for the VM.
      * 
@@ -19218,13 +16972,11 @@ public Builder clearOsInfo() { * .google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1; */ public com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder getOsInfoBuilder() { - + onChanged(); return getOsInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Base level operating system information for the VM.
      * 
@@ -19235,14 +16987,11 @@ public com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder getOsInfoOrBuilder if (osInfoBuilder_ != null) { return osInfoBuilder_.getMessageOrBuilder(); } else { - return osInfo_ == null - ? com.google.cloud.osconfig.v1.Inventory.OsInfo.getDefaultInstance() - : osInfo_; + return osInfo_ == null ? + com.google.cloud.osconfig.v1.Inventory.OsInfo.getDefaultInstance() : osInfo_; } } /** - * - * *
      * Base level operating system information for the VM.
      * 
@@ -19250,42 +16999,35 @@ public com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder getOsInfoOrBuilder * .google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.OsInfo, - com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder, - com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder> + com.google.cloud.osconfig.v1.Inventory.OsInfo, com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder, com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder> getOsInfoFieldBuilder() { if (osInfoBuilder_ == null) { - osInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.OsInfo, - com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder, - com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder>( - getOsInfo(), getParentForChildren(), isClean()); + osInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.Inventory.OsInfo, com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder, com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder>( + getOsInfo(), + getParentForChildren(), + isClean()); osInfo_ = null; } return osInfoBuilder_; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item> - items_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item> - internalGetItems() { + java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item> items_; + private com.google.protobuf.MapField + internalGetItems() { if (items_ == null) { - return com.google.protobuf.MapField.emptyMapField(ItemsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + ItemsDefaultEntryHolder.defaultEntry); } return items_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item> - internalGetMutableItems() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableItems() { + onChanged();; if (items_ == null) { - items_ = com.google.protobuf.MapField.newMapField(ItemsDefaultEntryHolder.defaultEntry); + items_ = com.google.protobuf.MapField.newMapField( + ItemsDefaultEntryHolder.defaultEntry); } if (!items_.isMutable()) { items_ = items_.copy(); @@ -19297,8 +17039,6 @@ public int getItemsCount() { return internalGetItems().getMap().size(); } /** - * - * *
      * Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item.  The identifier is unique to each distinct and
@@ -19308,22 +17048,22 @@ public int getItemsCount() {
      *
      * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
      */
+
     @java.lang.Override
-    public boolean containsItems(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsItems(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetItems().getMap().containsKey(key);
     }
-    /** Use {@link #getItemsMap()} instead. */
+    /**
+     * Use {@link #getItemsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getItems() {
       return getItemsMap();
     }
     /**
-     *
-     *
      * 
      * Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item.  The identifier is unique to each distinct and
@@ -19334,13 +17074,11 @@ public java.util.Mapmap<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
      */
     @java.lang.Override
-    public java.util.Map
-        getItemsMap() {
+
+    public java.util.Map getItemsMap() {
       return internalGetItems().getMap();
     }
     /**
-     *
-     *
      * 
      * Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item.  The identifier is unique to each distinct and
@@ -19351,18 +17089,16 @@ public java.util.Mapmap<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
      */
     @java.lang.Override
+
     public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrDefault(
-        java.lang.String key, com.google.cloud.osconfig.v1.Inventory.Item defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String key,
+        com.google.cloud.osconfig.v1.Inventory.Item defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetItems().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item.  The identifier is unique to each distinct and
@@ -19373,10 +17109,10 @@ public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrDefault(
      * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+
+    public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetItems().getMap();
       if (!map.containsKey(key)) {
@@ -19386,12 +17122,11 @@ public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrThrow(java.lang.Str
     }
 
     public Builder clearItems() {
-      internalGetMutableItems().getMutableMap().clear();
+      internalGetMutableItems().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item.  The identifier is unique to each distinct and
@@ -19401,22 +17136,23 @@ public Builder clearItems() {
      *
      * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
      */
-    public Builder removeItems(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableItems().getMutableMap().remove(key);
+
+    public Builder removeItems(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableItems().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
     public java.util.Map
-        getMutableItems() {
+    getMutableItems() {
       return internalGetMutableItems().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item.  The identifier is unique to each distinct and
@@ -19427,20 +17163,18 @@ public Builder removeItems(java.lang.String key) {
      * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
      */
     public Builder putItems(
-        java.lang.String key, com.google.cloud.osconfig.v1.Inventory.Item value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String key,
+        com.google.cloud.osconfig.v1.Inventory.Item value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableItems().getMutableMap().put(key, value);
+      internalGetMutableItems().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item.  The identifier is unique to each distinct and
@@ -19450,66 +17184,49 @@ public Builder putItems(
      *
      * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
      */
+
     public Builder putAllItems(
         java.util.Map values) {
-      internalGetMutableItems().getMutableMap().putAll(values);
+      internalGetMutableItems().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.Timestamp updateTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        updateTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -19525,17 +17242,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -19546,21 +17260,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -19572,15 +17282,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -19594,71 +17300,55 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -19668,12 +17358,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory) private static final com.google.cloud.osconfig.v1.Inventory DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory(); } @@ -19682,16 +17372,16 @@ public static com.google.cloud.osconfig.v1.Inventory getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Inventory parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Inventory(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Inventory parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Inventory(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -19706,4 +17396,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.Inventory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryName.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryName.java similarity index 100% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryName.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryName.java diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryOrBuilder.java similarity index 76% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryOrBuilder.java index 7cd44ae7..aa092ba8 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/osconfig/v1/inventory.proto package com.google.cloud.osconfig.v1; -public interface InventoryOrBuilder - extends +public interface InventoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The `Inventory` API resource name.
    * Format:
@@ -33,13 +15,10 @@ public interface InventoryOrBuilder
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The `Inventory` API resource name.
    * Format:
@@ -47,38 +26,30 @@ public interface InventoryOrBuilder
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Base level operating system information for the VM.
    * 
* * .google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1; - * * @return Whether the osInfo field is set. */ boolean hasOsInfo(); /** - * - * *
    * Base level operating system information for the VM.
    * 
* * .google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1; - * * @return The osInfo. */ com.google.cloud.osconfig.v1.Inventory.OsInfo getOsInfo(); /** - * - * *
    * Base level operating system information for the VM.
    * 
@@ -88,8 +59,6 @@ public interface InventoryOrBuilder com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder getOsInfoOrBuilder(); /** - * - * *
    * Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item.  The identifier is unique to each distinct and
@@ -101,8 +70,6 @@ public interface InventoryOrBuilder
    */
   int getItemsCount();
   /**
-   *
-   *
    * 
    * Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item.  The identifier is unique to each distinct and
@@ -112,13 +79,15 @@ public interface InventoryOrBuilder
    *
    * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
    */
-  boolean containsItems(java.lang.String key);
-  /** Use {@link #getItemsMap()} instead. */
+  boolean containsItems(
+      java.lang.String key);
+  /**
+   * Use {@link #getItemsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getItems();
+  java.util.Map
+  getItems();
   /**
-   *
-   *
    * 
    * Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item.  The identifier is unique to each distinct and
@@ -128,10 +97,9 @@ public interface InventoryOrBuilder
    *
    * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
    */
-  java.util.Map getItemsMap();
+  java.util.Map
+  getItemsMap();
   /**
-   *
-   *
    * 
    * Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item.  The identifier is unique to each distinct and
@@ -143,13 +111,11 @@ public interface InventoryOrBuilder
    */
 
   /* nullable */
-  com.google.cloud.osconfig.v1.Inventory.Item getItemsOrDefault(
+com.google.cloud.osconfig.v1.Inventory.Item getItemsOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.cloud.osconfig.v1.Inventory.Item defaultValue);
+com.google.cloud.osconfig.v1.Inventory.Item defaultValue);
   /**
-   *
-   *
    * 
    * Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item.  The identifier is unique to each distinct and
@@ -159,43 +125,34 @@ com.google.cloud.osconfig.v1.Inventory.Item getItemsOrDefault(
    *
    * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
    */
-  com.google.cloud.osconfig.v1.Inventory.Item getItemsOrThrow(java.lang.String key);
+
+  com.google.cloud.osconfig.v1.Inventory.Item getItemsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryView.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryView.java similarity index 67% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryView.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryView.java index 05db91fb..2f450cf7 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryView.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryView.java @@ -1,36 +1,18 @@ -/* - * 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/osconfig/v1/inventory.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * The view for inventory objects.
  * 
* * Protobuf enum {@code google.cloud.osconfig.v1.InventoryView} */ -public enum InventoryView implements com.google.protobuf.ProtocolMessageEnum { +public enum InventoryView + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The default value.
    * The API defaults to the BASIC view.
@@ -40,8 +22,6 @@ public enum InventoryView implements com.google.protobuf.ProtocolMessageEnum {
    */
   INVENTORY_VIEW_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Returns the basic inventory information that includes `os_info`.
    * 
@@ -50,8 +30,6 @@ public enum InventoryView implements com.google.protobuf.ProtocolMessageEnum { */ BASIC(1), /** - * - * *
    * Returns all fields.
    * 
@@ -63,8 +41,6 @@ public enum InventoryView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default value.
    * The API defaults to the BASIC view.
@@ -74,8 +50,6 @@ public enum InventoryView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int INVENTORY_VIEW_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Returns the basic inventory information that includes `os_info`.
    * 
@@ -84,8 +58,6 @@ public enum InventoryView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BASIC_VALUE = 1; /** - * - * *
    * Returns all fields.
    * 
@@ -94,6 +66,7 @@ public enum InventoryView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -118,49 +91,49 @@ public static InventoryView valueOf(int value) { */ public static InventoryView forNumber(int value) { switch (value) { - case 0: - return INVENTORY_VIEW_UNSPECIFIED; - case 1: - return BASIC; - case 2: - return FULL; - default: - return null; + case 0: return INVENTORY_VIEW_UNSPECIFIED; + case 1: return BASIC; + case 2: return FULL; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public InventoryView findValueByNumber(int number) { - return InventoryView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + InventoryView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public InventoryView findValueByNumber(int number) { + return InventoryView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.osconfig.v1.Inventories.getDescriptor().getEnumTypes().get(0); } private static final InventoryView[] VALUES = values(); - public static InventoryView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static InventoryView valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -176,3 +149,4 @@ private InventoryView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1.InventoryView) } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequest.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequest.java similarity index 71% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequest.java index 3a156692..beb98daa 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequest.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1/inventory.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * A request message for listing inventory data for all VMs in the specified
  * location.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.ListInventoriesRequest}
  */
-public final class ListInventoriesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListInventoriesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListInventoriesRequest)
     ListInventoriesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInventoriesRequest.newBuilder() to construct.
   private ListInventoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInventoriesRequest() {
     parent_ = "";
     view_ = 0;
@@ -47,15 +29,16 @@ private ListInventoriesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInventoriesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListInventoriesRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,46 +57,42 @@ private ListInventoriesRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            parent_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              view_ = rawValue;
-              break;
-            }
-          case 24:
-            {
-              pageSize_ = input.readInt32();
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            view_ = rawValue;
+            break;
+          }
+          case 24: {
 
-              pageToken_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            pageSize_ = input.readInt32();
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              filter_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            pageToken_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            filter_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -121,43 +100,36 @@ private ListInventoriesRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1.Inventories
-        .internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.Inventories
-        .internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.ListInventoriesRequest.class,
-            com.google.cloud.osconfig.v1.ListInventoriesRequest.Builder.class);
+            com.google.cloud.osconfig.v1.ListInventoriesRequest.class, com.google.cloud.osconfig.v1.ListInventoriesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -166,33 +138,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -203,52 +173,40 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** - * - * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.InventoryView getView() { + @java.lang.Override public com.google.cloud.osconfig.v1.InventoryView getView() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.InventoryView result = - com.google.cloud.osconfig.v1.InventoryView.valueOf(view_); + com.google.cloud.osconfig.v1.InventoryView result = com.google.cloud.osconfig.v1.InventoryView.valueOf(view_); return result == null ? com.google.cloud.osconfig.v1.InventoryView.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -259,8 +217,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A pagination token returned from a previous call to
    * `ListInventories` that indicates where this listing
@@ -268,7 +224,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -277,15 +232,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A pagination token returned from a previous call to
    * `ListInventories` that indicates where this listing
@@ -293,15 +247,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -312,15 +267,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `Inventory` API resource to be included in the response.
    * 
* * string filter = 5; - * * @return The filter. */ @java.lang.Override @@ -329,30 +281,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `Inventory` API resource to be included in the response.
    * 
* * string filter = 5; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -361,7 +313,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -373,12 +324,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (view_ - != com.google.cloud.osconfig.v1.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { + if (view_ != com.google.cloud.osconfig.v1.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } if (pageSize_ != 0) { @@ -402,12 +353,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (view_ - != com.google.cloud.osconfig.v1.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.cloud.osconfig.v1.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -423,19 +375,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListInventoriesRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListInventoriesRequest other = - (com.google.cloud.osconfig.v1.ListInventoriesRequest) obj; + com.google.cloud.osconfig.v1.ListInventoriesRequest other = (com.google.cloud.osconfig.v1.ListInventoriesRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (view_ != other.view_) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -463,103 +418,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListInventoriesRequest 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.osconfig.v1.ListInventoriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.ListInventoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message for listing inventory data for all VMs in the specified
    * location.
@@ -567,23 +515,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1.ListInventoriesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListInventoriesRequest)
       com.google.cloud.osconfig.v1.ListInventoriesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.Inventories
-          .internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.Inventories
-          .internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.ListInventoriesRequest.class,
-              com.google.cloud.osconfig.v1.ListInventoriesRequest.Builder.class);
+              com.google.cloud.osconfig.v1.ListInventoriesRequest.class, com.google.cloud.osconfig.v1.ListInventoriesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1.ListInventoriesRequest.newBuilder()
@@ -591,15 +537,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -617,9 +564,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.Inventories
-          .internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -638,8 +585,7 @@ public com.google.cloud.osconfig.v1.ListInventoriesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1.ListInventoriesRequest buildPartial() {
-      com.google.cloud.osconfig.v1.ListInventoriesRequest result =
-          new com.google.cloud.osconfig.v1.ListInventoriesRequest(this);
+      com.google.cloud.osconfig.v1.ListInventoriesRequest result = new com.google.cloud.osconfig.v1.ListInventoriesRequest(this);
       result.parent_ = parent_;
       result.view_ = view_;
       result.pageSize_ = pageSize_;
@@ -653,39 +599,38 @@ public com.google.cloud.osconfig.v1.ListInventoriesRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.ListInventoriesRequest) {
-        return mergeFrom((com.google.cloud.osconfig.v1.ListInventoriesRequest) other);
+        return mergeFrom((com.google.cloud.osconfig.v1.ListInventoriesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -693,8 +638,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1.ListInventoriesRequest other) {
-      if (other == com.google.cloud.osconfig.v1.ListInventoriesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.osconfig.v1.ListInventoriesRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -732,8 +676,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.osconfig.v1.ListInventoriesRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.osconfig.v1.ListInventoriesRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -745,24 +688,20 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -771,25 +710,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -797,73 +733,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -871,69 +794,55 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; - * * @return The view. */ @java.lang.Override public com.google.cloud.osconfig.v1.InventoryView getView() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.InventoryView result = - com.google.cloud.osconfig.v1.InventoryView.valueOf(view_); + com.google.cloud.osconfig.v1.InventoryView result = com.google.cloud.osconfig.v1.InventoryView.valueOf(view_); return result == null ? com.google.cloud.osconfig.v1.InventoryView.UNRECOGNIZED : result; } /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -941,40 +850,34 @@ public Builder setView(com.google.cloud.osconfig.v1.InventoryView value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -982,36 +885,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1019,8 +916,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -1028,13 +923,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1043,8 +938,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -1052,14 +945,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1067,8 +961,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -1076,22 +968,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -1099,18 +989,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -1118,16 +1005,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1135,21 +1022,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1158,22 +1043,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1181,71 +1065,64 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1255,12 +1132,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListInventoriesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListInventoriesRequest) private static final com.google.cloud.osconfig.v1.ListInventoriesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListInventoriesRequest(); } @@ -1269,16 +1146,16 @@ public static com.google.cloud.osconfig.v1.ListInventoriesRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInventoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInventoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInventoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInventoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1293,4 +1170,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.ListInventoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequestOrBuilder.java index 8d906785..f9dbd511 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequestOrBuilder.java @@ -1,104 +1,68 @@ -/* - * 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/osconfig/v1/inventory.proto package com.google.cloud.osconfig.v1; -public interface ListInventoriesRequestOrBuilder - extends +public interface ListInventoriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListInventoriesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; - * * @return The view. */ com.google.cloud.osconfig.v1.InventoryView getView(); /** - * - * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A pagination token returned from a previous call to
    * `ListInventories` that indicates where this listing
@@ -106,13 +70,10 @@ public interface ListInventoriesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A pagination token returned from a previous call to
    * `ListInventories` that indicates where this listing
@@ -120,35 +81,30 @@ public interface ListInventoriesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `Inventory` API resource to be included in the response.
    * 
* * string filter = 5; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `Inventory` API resource to be included in the response.
    * 
* * string filter = 5; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponse.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponse.java similarity index 73% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponse.java index b50354e8..d878c942 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponse.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1/inventory.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * A response message for listing inventory data for all VMs in a specified
  * location.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.ListInventoriesResponse}
  */
-public final class ListInventoriesResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListInventoriesResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListInventoriesResponse)
     ListInventoriesResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInventoriesResponse.newBuilder() to construct.
   private ListInventoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInventoriesResponse() {
     inventories_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,15 +27,16 @@ private ListInventoriesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInventoriesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListInventoriesResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,31 +56,28 @@ private ListInventoriesResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                inventories_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              inventories_.add(
-                  input.readMessage(
-                      com.google.cloud.osconfig.v1.Inventory.parser(), extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              inventories_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            inventories_.add(
+                input.readMessage(com.google.cloud.osconfig.v1.Inventory.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              nextPageToken_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            nextPageToken_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -105,7 +85,8 @@ private ListInventoriesResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         inventories_ = java.util.Collections.unmodifiableList(inventories_);
@@ -114,27 +95,22 @@ private ListInventoriesResponse(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1.Inventories
-        .internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.Inventories
-        .internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.ListInventoriesResponse.class,
-            com.google.cloud.osconfig.v1.ListInventoriesResponse.Builder.class);
+            com.google.cloud.osconfig.v1.ListInventoriesResponse.class, com.google.cloud.osconfig.v1.ListInventoriesResponse.Builder.class);
   }
 
   public static final int INVENTORIES_FIELD_NUMBER = 1;
   private java.util.List inventories_;
   /**
-   *
-   *
    * 
    * List of inventory objects.
    * 
@@ -146,8 +122,6 @@ public java.util.List getInventoriesList return inventories_; } /** - * - * *
    * List of inventory objects.
    * 
@@ -155,13 +129,11 @@ public java.util.List getInventoriesList * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInventoriesOrBuilderList() { return inventories_; } /** - * - * *
    * List of inventory objects.
    * 
@@ -173,8 +145,6 @@ public int getInventoriesCount() { return inventories_.size(); } /** - * - * *
    * List of inventory objects.
    * 
@@ -186,8 +156,6 @@ public com.google.cloud.osconfig.v1.Inventory getInventories(int index) { return inventories_.get(index); } /** - * - * *
    * List of inventory objects.
    * 
@@ -195,21 +163,19 @@ public com.google.cloud.osconfig.v1.Inventory getInventories(int index) { * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1.InventoryOrBuilder getInventoriesOrBuilder(int index) { + public com.google.cloud.osconfig.v1.InventoryOrBuilder getInventoriesOrBuilder( + int index) { return inventories_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The pagination token to retrieve the next page of inventory objects.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -218,29 +184,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The pagination token to retrieve the next page of inventory objects.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -249,7 +215,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +226,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < inventories_.size(); i++) { output.writeMessage(1, inventories_.get(i)); } @@ -278,7 +244,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < inventories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, inventories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, inventories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -291,16 +258,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListInventoriesResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListInventoriesResponse other = - (com.google.cloud.osconfig.v1.ListInventoriesResponse) obj; + com.google.cloud.osconfig.v1.ListInventoriesResponse other = (com.google.cloud.osconfig.v1.ListInventoriesResponse) obj; - if (!getInventoriesList().equals(other.getInventoriesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getInventoriesList() + .equals(other.getInventoriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -324,103 +292,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListInventoriesResponse 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.osconfig.v1.ListInventoriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.ListInventoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response message for listing inventory data for all VMs in a specified
    * location.
@@ -428,23 +389,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1.ListInventoriesResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListInventoriesResponse)
       com.google.cloud.osconfig.v1.ListInventoriesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.Inventories
-          .internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.Inventories
-          .internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.ListInventoriesResponse.class,
-              com.google.cloud.osconfig.v1.ListInventoriesResponse.Builder.class);
+              com.google.cloud.osconfig.v1.ListInventoriesResponse.class, com.google.cloud.osconfig.v1.ListInventoriesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1.ListInventoriesResponse.newBuilder()
@@ -452,17 +411,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInventoriesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -478,9 +437,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.Inventories
-          .internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -499,8 +458,7 @@ public com.google.cloud.osconfig.v1.ListInventoriesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1.ListInventoriesResponse buildPartial() {
-      com.google.cloud.osconfig.v1.ListInventoriesResponse result =
-          new com.google.cloud.osconfig.v1.ListInventoriesResponse(this);
+      com.google.cloud.osconfig.v1.ListInventoriesResponse result = new com.google.cloud.osconfig.v1.ListInventoriesResponse(this);
       int from_bitField0_ = bitField0_;
       if (inventoriesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -520,39 +478,38 @@ public com.google.cloud.osconfig.v1.ListInventoriesResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.ListInventoriesResponse) {
-        return mergeFrom((com.google.cloud.osconfig.v1.ListInventoriesResponse) other);
+        return mergeFrom((com.google.cloud.osconfig.v1.ListInventoriesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -560,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1.ListInventoriesResponse other) {
-      if (other == com.google.cloud.osconfig.v1.ListInventoriesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.osconfig.v1.ListInventoriesResponse.getDefaultInstance()) return this;
       if (inventoriesBuilder_ == null) {
         if (!other.inventories_.isEmpty()) {
           if (inventories_.isEmpty()) {
@@ -580,10 +536,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.ListInventoriesResponse ot
             inventoriesBuilder_ = null;
             inventories_ = other.inventories_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            inventoriesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getInventoriesFieldBuilder()
-                    : null;
+            inventoriesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getInventoriesFieldBuilder() : null;
           } else {
             inventoriesBuilder_.addAllMessages(other.inventories_);
           }
@@ -612,8 +567,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.osconfig.v1.ListInventoriesResponse) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.osconfig.v1.ListInventoriesResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -622,29 +576,21 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List inventories_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureInventoriesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        inventories_ =
-            new java.util.ArrayList(inventories_);
+        inventories_ = new java.util.ArrayList(inventories_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.osconfig.v1.Inventory,
-            com.google.cloud.osconfig.v1.Inventory.Builder,
-            com.google.cloud.osconfig.v1.InventoryOrBuilder>
-        inventoriesBuilder_;
+        com.google.cloud.osconfig.v1.Inventory, com.google.cloud.osconfig.v1.Inventory.Builder, com.google.cloud.osconfig.v1.InventoryOrBuilder> inventoriesBuilder_;
 
     /**
-     *
-     *
      * 
      * List of inventory objects.
      * 
@@ -659,8 +605,6 @@ public java.util.List getInventoriesList } } /** - * - * *
      * List of inventory objects.
      * 
@@ -675,8 +619,6 @@ public int getInventoriesCount() { } } /** - * - * *
      * List of inventory objects.
      * 
@@ -691,15 +633,14 @@ public com.google.cloud.osconfig.v1.Inventory getInventories(int index) { } } /** - * - * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - public Builder setInventories(int index, com.google.cloud.osconfig.v1.Inventory value) { + public Builder setInventories( + int index, com.google.cloud.osconfig.v1.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,8 +654,6 @@ public Builder setInventories(int index, com.google.cloud.osconfig.v1.Inventory return this; } /** - * - * *
      * List of inventory objects.
      * 
@@ -733,8 +672,6 @@ public Builder setInventories( return this; } /** - * - * *
      * List of inventory objects.
      * 
@@ -755,15 +692,14 @@ public Builder addInventories(com.google.cloud.osconfig.v1.Inventory value) { return this; } /** - * - * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - public Builder addInventories(int index, com.google.cloud.osconfig.v1.Inventory value) { + public Builder addInventories( + int index, com.google.cloud.osconfig.v1.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -777,15 +713,14 @@ public Builder addInventories(int index, com.google.cloud.osconfig.v1.Inventory return this; } /** - * - * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - public Builder addInventories(com.google.cloud.osconfig.v1.Inventory.Builder builderForValue) { + public Builder addInventories( + com.google.cloud.osconfig.v1.Inventory.Builder builderForValue) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); inventories_.add(builderForValue.build()); @@ -796,8 +731,6 @@ public Builder addInventories(com.google.cloud.osconfig.v1.Inventory.Builder bui return this; } /** - * - * *
      * List of inventory objects.
      * 
@@ -816,8 +749,6 @@ public Builder addInventories( return this; } /** - * - * *
      * List of inventory objects.
      * 
@@ -828,7 +759,8 @@ public Builder addAllInventories( java.lang.Iterable values) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inventories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, inventories_); onChanged(); } else { inventoriesBuilder_.addAllMessages(values); @@ -836,8 +768,6 @@ public Builder addAllInventories( return this; } /** - * - * *
      * List of inventory objects.
      * 
@@ -855,8 +785,6 @@ public Builder clearInventories() { return this; } /** - * - * *
      * List of inventory objects.
      * 
@@ -874,44 +802,39 @@ public Builder removeInventories(int index) { return this; } /** - * - * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - public com.google.cloud.osconfig.v1.Inventory.Builder getInventoriesBuilder(int index) { + public com.google.cloud.osconfig.v1.Inventory.Builder getInventoriesBuilder( + int index) { return getInventoriesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - public com.google.cloud.osconfig.v1.InventoryOrBuilder getInventoriesOrBuilder(int index) { + public com.google.cloud.osconfig.v1.InventoryOrBuilder getInventoriesOrBuilder( + int index) { if (inventoriesBuilder_ == null) { - return inventories_.get(index); - } else { + return inventories_.get(index); } else { return inventoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - public java.util.List - getInventoriesOrBuilderList() { + public java.util.List + getInventoriesOrBuilderList() { if (inventoriesBuilder_ != null) { return inventoriesBuilder_.getMessageOrBuilderList(); } else { @@ -919,8 +842,6 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getInventoriesOrBuilder(i } } /** - * - * *
      * List of inventory objects.
      * 
@@ -928,48 +849,42 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getInventoriesOrBuilder(i * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ public com.google.cloud.osconfig.v1.Inventory.Builder addInventoriesBuilder() { - return getInventoriesFieldBuilder() - .addBuilder(com.google.cloud.osconfig.v1.Inventory.getDefaultInstance()); + return getInventoriesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.Inventory.getDefaultInstance()); } /** - * - * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - public com.google.cloud.osconfig.v1.Inventory.Builder addInventoriesBuilder(int index) { - return getInventoriesFieldBuilder() - .addBuilder(index, com.google.cloud.osconfig.v1.Inventory.getDefaultInstance()); + public com.google.cloud.osconfig.v1.Inventory.Builder addInventoriesBuilder( + int index) { + return getInventoriesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.Inventory.getDefaultInstance()); } /** - * - * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - public java.util.List - getInventoriesBuilderList() { + public java.util.List + getInventoriesBuilderList() { return getInventoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory, - com.google.cloud.osconfig.v1.Inventory.Builder, - com.google.cloud.osconfig.v1.InventoryOrBuilder> + com.google.cloud.osconfig.v1.Inventory, com.google.cloud.osconfig.v1.Inventory.Builder, com.google.cloud.osconfig.v1.InventoryOrBuilder> getInventoriesFieldBuilder() { if (inventoriesBuilder_ == null) { - inventoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory, - com.google.cloud.osconfig.v1.Inventory.Builder, - com.google.cloud.osconfig.v1.InventoryOrBuilder>( - inventories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + inventoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.Inventory, com.google.cloud.osconfig.v1.Inventory.Builder, com.google.cloud.osconfig.v1.InventoryOrBuilder>( + inventories_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); inventories_ = null; } return inventoriesBuilder_; @@ -977,20 +892,18 @@ public com.google.cloud.osconfig.v1.Inventory.Builder addInventoriesBuilder(int private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -999,21 +912,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1021,68 +933,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1092,12 +997,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListInventoriesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListInventoriesResponse) private static final com.google.cloud.osconfig.v1.ListInventoriesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListInventoriesResponse(); } @@ -1106,16 +1011,16 @@ public static com.google.cloud.osconfig.v1.ListInventoriesResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInventoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInventoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInventoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInventoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1130,4 +1035,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.ListInventoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponseOrBuilder.java similarity index 65% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponseOrBuilder.java index 29649bec..0ebfb641 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * 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/osconfig/v1/inventory.proto package com.google.cloud.osconfig.v1; -public interface ListInventoriesResponseOrBuilder - extends +public interface ListInventoriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListInventoriesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of inventory objects.
    * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - java.util.List getInventoriesList(); + java.util.List + getInventoriesList(); /** - * - * *
    * List of inventory objects.
    * 
@@ -44,8 +25,6 @@ public interface ListInventoriesResponseOrBuilder */ com.google.cloud.osconfig.v1.Inventory getInventories(int index); /** - * - * *
    * List of inventory objects.
    * 
@@ -54,49 +33,41 @@ public interface ListInventoriesResponseOrBuilder */ int getInventoriesCount(); /** - * - * *
    * List of inventory objects.
    * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - java.util.List + java.util.List getInventoriesOrBuilderList(); /** - * - * *
    * List of inventory objects.
    * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - com.google.cloud.osconfig.v1.InventoryOrBuilder getInventoriesOrBuilder(int index); + com.google.cloud.osconfig.v1.InventoryOrBuilder getInventoriesOrBuilder( + int index); /** - * - * *
    * The pagination token to retrieve the next page of inventory objects.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The pagination token to retrieve the next page of inventory objects.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequest.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequest.java similarity index 74% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequest.java index e6f5304f..7840759b 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequest.java @@ -1,44 +1,24 @@ -/* - * 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/osconfig/v1/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * List the OS policy assignment reports for VM instances.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest} */ -public final class ListOSPolicyAssignmentReportsRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListOSPolicyAssignmentReportsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) ListOSPolicyAssignmentReportsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentReportsRequest.newBuilder() to construct. - private ListOSPolicyAssignmentReportsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentReportsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListOSPolicyAssignmentReportsRequest() { parent_ = ""; filter_ = ""; @@ -47,15 +27,16 @@ private ListOSPolicyAssignmentReportsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentReportsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListOSPolicyAssignmentReportsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,39 +55,36 @@ private ListOSPolicyAssignmentReportsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - filter_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,33 +92,29 @@ private ListOSPolicyAssignmentReportsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.class, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource name.
    * Format:
@@ -162,10 +136,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *  returns all the reports for all assignments across all instances.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -174,15 +145,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource name.
    * Format:
@@ -204,18 +174,17 @@ public java.lang.String getParent() {
    *  returns all the reports for all assignments across all instances.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -226,14 +195,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -244,15 +210,12 @@ public int getPageSize() { public static final int FILTER_FIELD_NUMBER = 3; private volatile java.lang.Object filter_; /** - * - * *
    * If provided, this field specifies the criteria that must be met by the
    * `OSPolicyAssignmentReport` API resource that is included in the response.
    * 
* * string filter = 3; - * * @return The filter. */ @java.lang.Override @@ -261,30 +224,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * If provided, this field specifies the criteria that must be met by the
    * `OSPolicyAssignmentReport` API resource that is included in the response.
    * 
* * string filter = 3; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -295,8 +258,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A pagination token returned from a previous call to the
    * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -304,7 +265,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -313,15 +273,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A pagination token returned from a previous call to the
    * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -329,15 +288,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -346,7 +306,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -358,7 +317,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -384,7 +344,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); @@ -400,18 +361,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest other = - (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest other = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -437,145 +401,134 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest 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.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest - 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.osconfig.v1.ListOSPolicyAssignmentReportsRequest 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.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List the OS policy assignment reports for VM instances.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.class, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -591,14 +544,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.getDefaultInstance(); } @@ -613,8 +565,7 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest build() @java.lang.Override public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest buildPartial() { - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest result = - new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest(this); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest result = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.filter_ = filter_; @@ -627,50 +578,46 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.ListOSPolicyAssignmentReportsRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest other) { - if (other - == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest other) { + if (other == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -705,9 +652,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -719,8 +664,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource name.
      * Format:
@@ -742,16 +685,14 @@ public Builder mergeFrom(
      *  returns all the reports for all assignments across all instances.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -760,8 +701,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource name.
      * Format:
@@ -783,17 +722,16 @@ public java.lang.String getParent() {
      *  returns all the reports for all assignments across all instances.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -801,8 +739,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource name.
      * Format:
@@ -824,25 +760,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      *  returns all the reports for all assignments across all instances.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource name.
      * Format:
@@ -864,21 +796,16 @@ public Builder setParent(java.lang.String value) {
      *  returns all the reports for all assignments across all instances.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource name.
      * Format:
@@ -900,34 +827,29 @@ public Builder clearParent() {
      *  returns all the reports for all assignments across all instances.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -935,36 +857,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -972,21 +888,19 @@ public Builder clearPageSize() { private java.lang.Object filter_ = ""; /** - * - * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -995,22 +909,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1018,64 +931,57 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1083,8 +989,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -1092,13 +996,13 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1107,8 +1011,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -1116,14 +1018,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1131,8 +1034,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -1140,22 +1041,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -1163,18 +1062,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -1182,23 +1078,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1208,32 +1104,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) - private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest(); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentReportsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentReportsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentReportsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentReportsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1245,8 +1139,9 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequestOrBuilder.java index 0146b0ff..de67bfb6 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/osconfig/v1/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1; -public interface ListOSPolicyAssignmentReportsRequestOrBuilder - extends +public interface ListOSPolicyAssignmentReportsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource name.
    * Format:
@@ -47,16 +29,11 @@ public interface ListOSPolicyAssignmentReportsRequestOrBuilder
    *  returns all the reports for all assignments across all instances.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource name.
    * Format:
@@ -78,57 +55,45 @@ public interface ListOSPolicyAssignmentReportsRequestOrBuilder
    *  returns all the reports for all assignments across all instances.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If provided, this field specifies the criteria that must be met by the
    * `OSPolicyAssignmentReport` API resource that is included in the response.
    * 
* * string filter = 3; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * If provided, this field specifies the criteria that must be met by the
    * `OSPolicyAssignmentReport` API resource that is included in the response.
    * 
* * string filter = 3; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * A pagination token returned from a previous call to the
    * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -136,13 +101,10 @@ public interface ListOSPolicyAssignmentReportsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A pagination token returned from a previous call to the
    * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -150,8 +112,8 @@ public interface ListOSPolicyAssignmentReportsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponse.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponse.java similarity index 64% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponse.java index 36280248..c7b8631d 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponse.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * A response message for listing OS Policy assignment reports including the
  * page of results and page token.
@@ -28,18 +11,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse}
  */
-public final class ListOSPolicyAssignmentReportsResponse
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListOSPolicyAssignmentReportsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse)
     ListOSPolicyAssignmentReportsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListOSPolicyAssignmentReportsResponse.newBuilder() to construct.
-  private ListOSPolicyAssignmentReportsResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListOSPolicyAssignmentReportsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListOSPolicyAssignmentReportsResponse() {
     osPolicyAssignmentReports_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -47,15 +27,16 @@ private ListOSPolicyAssignmentReportsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListOSPolicyAssignmentReportsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListOSPolicyAssignmentReportsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,34 +56,28 @@ private ListOSPolicyAssignmentReportsResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                osPolicyAssignmentReports_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.osconfig.v1.OSPolicyAssignmentReport>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              osPolicyAssignmentReports_.add(
-                  input.readMessage(
-                      com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              osPolicyAssignmentReports_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            osPolicyAssignmentReports_.add(
+                input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              nextPageToken_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            nextPageToken_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -110,127 +85,98 @@ private ListOSPolicyAssignmentReportsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
-        osPolicyAssignmentReports_ =
-            java.util.Collections.unmodifiableList(osPolicyAssignmentReports_);
+        osPolicyAssignmentReports_ = java.util.Collections.unmodifiableList(osPolicyAssignmentReports_);
       }
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto
-        .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto
-        .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.class,
-            com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.Builder.class);
+            com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.Builder.class);
   }
 
   public static final int OS_POLICY_ASSIGNMENT_REPORTS_FIELD_NUMBER = 1;
-  private java.util.List
-      osPolicyAssignmentReports_;
+  private java.util.List osPolicyAssignmentReports_;
   /**
-   *
-   *
    * 
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ @java.lang.Override - public java.util.List - getOsPolicyAssignmentReportsList() { + public java.util.List getOsPolicyAssignmentReportsList() { return osPolicyAssignmentReports_; } /** - * - * *
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ @java.lang.Override - public java.util.List + public java.util.List getOsPolicyAssignmentReportsOrBuilderList() { return osPolicyAssignmentReports_; } /** - * - * *
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ @java.lang.Override public int getOsPolicyAssignmentReportsCount() { return osPolicyAssignmentReports_.size(); } /** - * - * *
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getOsPolicyAssignmentReports( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getOsPolicyAssignmentReports(int index) { return osPolicyAssignmentReports_.get(index); } /** - * - * *
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder - getOsPolicyAssignmentReportsOrBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder getOsPolicyAssignmentReportsOrBuilder( + int index) { return osPolicyAssignmentReports_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignment
    * report objects.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -239,30 +185,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignment
    * report objects.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -271,7 +217,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,7 +228,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < osPolicyAssignmentReports_.size(); i++) { output.writeMessage(1, osPolicyAssignmentReports_.get(i)); } @@ -300,9 +246,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < osPolicyAssignmentReports_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, osPolicyAssignmentReports_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, osPolicyAssignmentReports_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -315,17 +260,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse other = - (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse) obj; + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse other = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse) obj; - if (!getOsPolicyAssignmentReportsList().equals(other.getOsPolicyAssignmentReportsList())) - return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getOsPolicyAssignmentReportsList() + .equals(other.getOsPolicyAssignmentReportsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -349,105 +294,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse 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.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse - 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.osconfig.v1.ListOSPolicyAssignmentReportsResponse 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.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response message for listing OS Policy assignment reports including the
    * page of results and page token.
@@ -455,42 +391,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse)
       com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto
-          .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto
-          .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.class,
-              com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.Builder.class);
+              com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.newBuilder()
+    // Construct using com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getOsPolicyAssignmentReportsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -506,16 +439,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto
-          .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse
-        getDefaultInstanceForType() {
-      return com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse
-          .getDefaultInstance();
+    public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse getDefaultInstanceForType() {
+      return com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -529,13 +460,11 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse build(
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse buildPartial() {
-      com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse result =
-          new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse(this);
+      com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse result = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse(this);
       int from_bitField0_ = bitField0_;
       if (osPolicyAssignmentReportsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
-          osPolicyAssignmentReports_ =
-              java.util.Collections.unmodifiableList(osPolicyAssignmentReports_);
+          osPolicyAssignmentReports_ = java.util.Collections.unmodifiableList(osPolicyAssignmentReports_);
           bitField0_ = (bitField0_ & ~0x00000001);
         }
         result.osPolicyAssignmentReports_ = osPolicyAssignmentReports_;
@@ -551,51 +480,46 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse buildP
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.ListOSPolicyAssignmentReportsResponse) {
-        return mergeFrom(
-            (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse) other);
+        return mergeFrom((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse other) {
-      if (other
-          == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse other) {
+      if (other == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.getDefaultInstance()) return this;
       if (osPolicyAssignmentReportsBuilder_ == null) {
         if (!other.osPolicyAssignmentReports_.isEmpty()) {
           if (osPolicyAssignmentReports_.isEmpty()) {
@@ -614,10 +538,9 @@ public Builder mergeFrom(
             osPolicyAssignmentReportsBuilder_ = null;
             osPolicyAssignmentReports_ = other.osPolicyAssignmentReports_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            osPolicyAssignmentReportsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOsPolicyAssignmentReportsFieldBuilder()
-                    : null;
+            osPolicyAssignmentReportsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOsPolicyAssignmentReportsFieldBuilder() : null;
           } else {
             osPolicyAssignmentReportsBuilder_.addAllMessages(other.osPolicyAssignmentReports_);
           }
@@ -646,9 +569,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -657,40 +578,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        osPolicyAssignmentReports_ = java.util.Collections.emptyList();
-
+    private java.util.List osPolicyAssignmentReports_ =
+      java.util.Collections.emptyList();
     private void ensureOsPolicyAssignmentReportsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        osPolicyAssignmentReports_ =
-            new java.util.ArrayList(
-                osPolicyAssignmentReports_);
+        osPolicyAssignmentReports_ = new java.util.ArrayList(osPolicyAssignmentReports_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.osconfig.v1.OSPolicyAssignmentReport,
-            com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder,
-            com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder>
-        osPolicyAssignmentReportsBuilder_;
+        com.google.cloud.osconfig.v1.OSPolicyAssignmentReport, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder> osPolicyAssignmentReportsBuilder_;
 
     /**
-     *
-     *
      * 
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - public java.util.List - getOsPolicyAssignmentReportsList() { + public java.util.List getOsPolicyAssignmentReportsList() { if (osPolicyAssignmentReportsBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyAssignmentReports_); } else { @@ -698,15 +607,11 @@ private void ensureOsPolicyAssignmentReportsIsMutable() { } } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ public int getOsPolicyAssignmentReportsCount() { if (osPolicyAssignmentReportsBuilder_ == null) { @@ -716,18 +621,13 @@ public int getOsPolicyAssignmentReportsCount() { } } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getOsPolicyAssignmentReports( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getOsPolicyAssignmentReports(int index) { if (osPolicyAssignmentReportsBuilder_ == null) { return osPolicyAssignmentReports_.get(index); } else { @@ -735,15 +635,11 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getOsPolicyAssignme } } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ public Builder setOsPolicyAssignmentReports( int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport value) { @@ -760,15 +656,11 @@ public Builder setOsPolicyAssignmentReports( return this; } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ public Builder setOsPolicyAssignmentReports( int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder builderForValue) { @@ -782,18 +674,13 @@ public Builder setOsPolicyAssignmentReports( return this; } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - public Builder addOsPolicyAssignmentReports( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport value) { + public Builder addOsPolicyAssignmentReports(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport value) { if (osPolicyAssignmentReportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -807,15 +694,11 @@ public Builder addOsPolicyAssignmentReports( return this; } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ public Builder addOsPolicyAssignmentReports( int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport value) { @@ -832,15 +715,11 @@ public Builder addOsPolicyAssignmentReports( return this; } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ public Builder addOsPolicyAssignmentReports( com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder builderForValue) { @@ -854,15 +733,11 @@ public Builder addOsPolicyAssignmentReports( return this; } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ public Builder addOsPolicyAssignmentReports( int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder builderForValue) { @@ -876,22 +751,18 @@ public Builder addOsPolicyAssignmentReports( return this; } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ public Builder addAllOsPolicyAssignmentReports( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (osPolicyAssignmentReportsBuilder_ == null) { ensureOsPolicyAssignmentReportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicyAssignmentReports_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, osPolicyAssignmentReports_); onChanged(); } else { osPolicyAssignmentReportsBuilder_.addAllMessages(values); @@ -899,15 +770,11 @@ public Builder addAllOsPolicyAssignmentReports( return this; } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ public Builder clearOsPolicyAssignmentReports() { if (osPolicyAssignmentReportsBuilder_ == null) { @@ -920,15 +787,11 @@ public Builder clearOsPolicyAssignmentReports() { return this; } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ public Builder removeOsPolicyAssignmentReports(int index) { if (osPolicyAssignmentReportsBuilder_ == null) { @@ -941,52 +804,39 @@ public Builder removeOsPolicyAssignmentReports(int index) { return this; } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder - getOsPolicyAssignmentReportsBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder getOsPolicyAssignmentReportsBuilder( + int index) { return getOsPolicyAssignmentReportsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder - getOsPolicyAssignmentReportsOrBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder getOsPolicyAssignmentReportsOrBuilder( + int index) { if (osPolicyAssignmentReportsBuilder_ == null) { - return osPolicyAssignmentReports_.get(index); - } else { + return osPolicyAssignmentReports_.get(index); } else { return osPolicyAssignmentReportsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - public java.util.List - getOsPolicyAssignmentReportsOrBuilderList() { + public java.util.List + getOsPolicyAssignmentReportsOrBuilderList() { if (osPolicyAssignmentReportsBuilder_ != null) { return osPolicyAssignmentReportsBuilder_.getMessageOrBuilderList(); } else { @@ -994,65 +844,45 @@ public Builder removeOsPolicyAssignmentReports(int index) { } } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder - addOsPolicyAssignmentReportsBuilder() { - return getOsPolicyAssignmentReportsFieldBuilder() - .addBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder addOsPolicyAssignmentReportsBuilder() { + return getOsPolicyAssignmentReportsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.getDefaultInstance()); } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder - addOsPolicyAssignmentReportsBuilder(int index) { - return getOsPolicyAssignmentReportsFieldBuilder() - .addBuilder( - index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder addOsPolicyAssignmentReportsBuilder( + int index) { + return getOsPolicyAssignmentReportsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.getDefaultInstance()); } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - public java.util.List - getOsPolicyAssignmentReportsBuilderList() { + public java.util.List + getOsPolicyAssignmentReportsBuilderList() { return getOsPolicyAssignmentReportsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder> getOsPolicyAssignmentReportsFieldBuilder() { if (osPolicyAssignmentReportsBuilder_ == null) { - osPolicyAssignmentReportsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder>( + osPolicyAssignmentReportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder>( osPolicyAssignmentReports_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1064,21 +894,19 @@ public Builder removeOsPolicyAssignmentReports(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1087,22 +915,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1110,71 +937,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1184,32 +1004,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse) - private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse(); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentReportsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentReportsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentReportsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentReportsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1221,8 +1039,9 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponseOrBuilder.java similarity index 52% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponseOrBuilder.java index f363fcff..cd431d9e 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponseOrBuilder.java @@ -1,116 +1,75 @@ -/* - * 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/osconfig/v1/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1; -public interface ListOSPolicyAssignmentReportsResponseOrBuilder - extends +public interface ListOSPolicyAssignmentReportsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - java.util.List + java.util.List getOsPolicyAssignmentReportsList(); /** - * - * *
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getOsPolicyAssignmentReports(int index); /** - * - * *
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ int getOsPolicyAssignmentReportsCount(); /** - * - * *
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - java.util.List + java.util.List getOsPolicyAssignmentReportsOrBuilderList(); /** - * - * *
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder - getOsPolicyAssignmentReportsOrBuilder(int index); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder getOsPolicyAssignmentReportsOrBuilder( + int index); /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignment
    * report objects.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignment
    * report objects.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequest.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequest.java similarity index 65% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequest.java index 776f3685..52574359 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequest.java @@ -1,44 +1,24 @@ -/* - * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * A request message to list revisions for a OS policy assignment
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest} */ -public final class ListOSPolicyAssignmentRevisionsRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListOSPolicyAssignmentRevisionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) ListOSPolicyAssignmentRevisionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentRevisionsRequest.newBuilder() to construct. - private ListOSPolicyAssignmentRevisionsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentRevisionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListOSPolicyAssignmentRevisionsRequest() { name_ = ""; pageToken_ = ""; @@ -46,15 +26,16 @@ private ListOSPolicyAssignmentRevisionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentRevisionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListOSPolicyAssignmentRevisionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,32 +54,30 @@ private ListOSPolicyAssignmentRevisionsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,41 +85,34 @@ private ListOSPolicyAssignmentRevisionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.class, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the OS policy assignment to list revisions for.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -149,31 +121,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the OS policy assignment to list revisions for.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -184,14 +154,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of revisions to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -202,8 +169,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -211,7 +176,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -220,15 +184,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -236,15 +199,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -253,7 +217,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +228,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -288,7 +252,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -301,17 +266,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest other = - (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) obj; + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest other = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -335,145 +302,134 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest 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.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest - 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.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest 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.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message to list revisions for a OS policy assignment
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.class, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -487,16 +443,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.getDefaultInstance(); } @java.lang.Override @@ -510,8 +464,7 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest build @java.lang.Override public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest buildPartial() { - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest result = - new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest(this); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest result = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -523,51 +476,46 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest other) { - if (other - == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest other) { + if (other == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -598,9 +546,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -612,22 +558,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -636,23 +578,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -660,82 +599,66 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of revisions to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -743,36 +666,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of revisions to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of revisions to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -780,8 +697,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -789,13 +704,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -804,8 +719,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -813,14 +726,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -828,8 +742,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -837,22 +749,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -860,18 +770,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -879,23 +786,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -905,32 +812,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) - private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest(); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentRevisionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentRevisionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentRevisionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentRevisionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -942,8 +847,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java similarity index 58% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java index 501aeea7..600f8a63 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java @@ -1,73 +1,43 @@ -/* - * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; -public interface ListOSPolicyAssignmentRevisionsRequestOrBuilder - extends +public interface ListOSPolicyAssignmentRevisionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the OS policy assignment to list revisions for.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the OS policy assignment to list revisions for.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The maximum number of revisions to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -75,13 +45,10 @@ public interface ListOSPolicyAssignmentRevisionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -89,8 +56,8 @@ public interface ListOSPolicyAssignmentRevisionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponse.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponse.java similarity index 72% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponse.java index d4df2e78..d82da5f9 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponse.java @@ -1,44 +1,24 @@ -/* - * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * A response message for listing all revisions for a OS policy assignment.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse} */ -public final class ListOSPolicyAssignmentRevisionsResponse - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListOSPolicyAssignmentRevisionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) ListOSPolicyAssignmentRevisionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentRevisionsResponse.newBuilder() to construct. - private ListOSPolicyAssignmentRevisionsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentRevisionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListOSPolicyAssignmentRevisionsResponse() { osPolicyAssignments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -46,15 +26,16 @@ private ListOSPolicyAssignmentRevisionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentRevisionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListOSPolicyAssignmentRevisionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,32 +55,28 @@ private ListOSPolicyAssignmentRevisionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyAssignments_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - osPolicyAssignments_.add( - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicyAssignment.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + osPolicyAssignments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + osPolicyAssignments_.add( + input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignment.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private ListOSPolicyAssignmentRevisionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { osPolicyAssignments_ = java.util.Collections.unmodifiableList(osPolicyAssignments_); @@ -116,27 +94,22 @@ private ListOSPolicyAssignmentRevisionsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.class, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.Builder.class); } public static final int OS_POLICY_ASSIGNMENTS_FIELD_NUMBER = 1; private java.util.List osPolicyAssignments_; /** - * - * *
    * The OS policy assignment revisions
    * 
@@ -144,13 +117,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ @java.lang.Override - public java.util.List - getOsPolicyAssignmentsList() { + public java.util.List getOsPolicyAssignmentsList() { return osPolicyAssignments_; } /** - * - * *
    * The OS policy assignment revisions
    * 
@@ -158,13 +128,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ @java.lang.Override - public java.util.List + public java.util.List getOsPolicyAssignmentsOrBuilderList() { return osPolicyAssignments_; } /** - * - * *
    * The OS policy assignment revisions
    * 
@@ -176,8 +144,6 @@ public int getOsPolicyAssignmentsCount() { return osPolicyAssignments_.size(); } /** - * - * *
    * The OS policy assignment revisions
    * 
@@ -189,8 +155,6 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignments(in return osPolicyAssignments_.get(index); } /** - * - * *
    * The OS policy assignment revisions
    * 
@@ -206,15 +170,12 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignment
    * revisions.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -223,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignment
    * revisions.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -255,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < osPolicyAssignments_.size(); i++) { output.writeMessage(1, osPolicyAssignments_.get(i)); } @@ -284,8 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < osPolicyAssignments_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, osPolicyAssignments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, osPolicyAssignments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -298,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse other = - (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) obj; + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse other = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) obj; - if (!getOsPolicyAssignmentsList().equals(other.getOsPolicyAssignmentsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getOsPolicyAssignmentsList() + .equals(other.getOsPolicyAssignmentsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -331,147 +293,135 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse 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.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse - 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.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse 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.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response message for listing all revisions for a OS policy assignment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.class, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.newBuilder() + // Construct using com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOsPolicyAssignmentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -487,16 +437,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.getDefaultInstance(); } @java.lang.Override @@ -510,8 +458,7 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse buil @java.lang.Override public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse buildPartial() { - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse result = - new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse(this); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse result = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse(this); int from_bitField0_ = bitField0_; if (osPolicyAssignmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -531,51 +478,46 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) { - return mergeFrom( - (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) other); + return mergeFrom((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse other) { - if (other - == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse other) { + if (other == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.getDefaultInstance()) return this; if (osPolicyAssignmentsBuilder_ == null) { if (!other.osPolicyAssignments_.isEmpty()) { if (osPolicyAssignments_.isEmpty()) { @@ -594,10 +536,9 @@ public Builder mergeFrom( osPolicyAssignmentsBuilder_ = null; osPolicyAssignments_ = other.osPolicyAssignments_; bitField0_ = (bitField0_ & ~0x00000001); - osPolicyAssignmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOsPolicyAssignmentsFieldBuilder() - : null; + osPolicyAssignmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOsPolicyAssignmentsFieldBuilder() : null; } else { osPolicyAssignmentsBuilder_.addAllMessages(other.osPolicyAssignments_); } @@ -626,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -637,38 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List osPolicyAssignments_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOsPolicyAssignmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyAssignments_ = - new java.util.ArrayList( - osPolicyAssignments_); + osPolicyAssignments_ = new java.util.ArrayList(osPolicyAssignments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, - com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> - osPolicyAssignmentsBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> osPolicyAssignmentsBuilder_; /** - * - * *
      * The OS policy assignment revisions
      * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - public java.util.List - getOsPolicyAssignmentsList() { + public java.util.List getOsPolicyAssignmentsList() { if (osPolicyAssignmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyAssignments_); } else { @@ -676,8 +605,6 @@ private void ensureOsPolicyAssignmentsIsMutable() { } } /** - * - * *
      * The OS policy assignment revisions
      * 
@@ -692,8 +619,6 @@ public int getOsPolicyAssignmentsCount() { } } /** - * - * *
      * The OS policy assignment revisions
      * 
@@ -708,8 +633,6 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignments(in } } /** - * - * *
      * The OS policy assignment revisions
      * 
@@ -731,8 +654,6 @@ public Builder setOsPolicyAssignments( return this; } /** - * - * *
      * The OS policy assignment revisions
      * 
@@ -751,8 +672,6 @@ public Builder setOsPolicyAssignments( return this; } /** - * - * *
      * The OS policy assignment revisions
      * 
@@ -773,8 +692,6 @@ public Builder addOsPolicyAssignments(com.google.cloud.osconfig.v1.OSPolicyAssig return this; } /** - * - * *
      * The OS policy assignment revisions
      * 
@@ -796,8 +713,6 @@ public Builder addOsPolicyAssignments( return this; } /** - * - * *
      * The OS policy assignment revisions
      * 
@@ -816,8 +731,6 @@ public Builder addOsPolicyAssignments( return this; } /** - * - * *
      * The OS policy assignment revisions
      * 
@@ -836,8 +749,6 @@ public Builder addOsPolicyAssignments( return this; } /** - * - * *
      * The OS policy assignment revisions
      * 
@@ -848,7 +759,8 @@ public Builder addAllOsPolicyAssignments( java.lang.Iterable values) { if (osPolicyAssignmentsBuilder_ == null) { ensureOsPolicyAssignmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicyAssignments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, osPolicyAssignments_); onChanged(); } else { osPolicyAssignmentsBuilder_.addAllMessages(values); @@ -856,8 +768,6 @@ public Builder addAllOsPolicyAssignments( return this; } /** - * - * *
      * The OS policy assignment revisions
      * 
@@ -875,8 +785,6 @@ public Builder clearOsPolicyAssignments() { return this; } /** - * - * *
      * The OS policy assignment revisions
      * 
@@ -894,8 +802,6 @@ public Builder removeOsPolicyAssignments(int index) { return this; } /** - * - * *
      * The OS policy assignment revisions
      * 
@@ -907,8 +813,6 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder getOsPolicyAssign return getOsPolicyAssignmentsFieldBuilder().getBuilder(index); } /** - * - * *
      * The OS policy assignment revisions
      * 
@@ -918,22 +822,19 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder getOsPolicyAssign public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder( int index) { if (osPolicyAssignmentsBuilder_ == null) { - return osPolicyAssignments_.get(index); - } else { + return osPolicyAssignments_.get(index); } else { return osPolicyAssignmentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The OS policy assignment revisions
      * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - public java.util.List - getOsPolicyAssignmentsOrBuilderList() { + public java.util.List + getOsPolicyAssignmentsOrBuilderList() { if (osPolicyAssignmentsBuilder_ != null) { return osPolicyAssignmentsBuilder_.getMessageOrBuilderList(); } else { @@ -941,8 +842,6 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig } } /** - * - * *
      * The OS policy assignment revisions
      * 
@@ -950,12 +849,10 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder() { - return getOsPolicyAssignmentsFieldBuilder() - .addBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance()); + return getOsPolicyAssignmentsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance()); } /** - * - * *
      * The OS policy assignment revisions
      * 
@@ -964,34 +861,26 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder addOsPolicyAssign */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder( int index) { - return getOsPolicyAssignmentsFieldBuilder() - .addBuilder(index, com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance()); + return getOsPolicyAssignmentsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance()); } /** - * - * *
      * The OS policy assignment revisions
      * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - public java.util.List - getOsPolicyAssignmentsBuilderList() { + public java.util.List + getOsPolicyAssignmentsBuilderList() { return getOsPolicyAssignmentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, - com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentsFieldBuilder() { if (osPolicyAssignmentsBuilder_ == null) { - osPolicyAssignmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, - com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder>( + osPolicyAssignmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder>( osPolicyAssignments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1003,21 +892,19 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder addOsPolicyAssign private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1026,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1049,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1123,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) - private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse(); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentRevisionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentRevisionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentRevisionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentRevisionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1160,8 +1037,9 @@ public com.google.protobuf.Parser getPa } @java.lang.Override - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java similarity index 72% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java index 4ad20852..443ea42b 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; -public interface ListOSPolicyAssignmentRevisionsResponseOrBuilder - extends +public interface ListOSPolicyAssignmentRevisionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The OS policy assignment revisions
    * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - java.util.List getOsPolicyAssignmentsList(); + java.util.List + getOsPolicyAssignmentsList(); /** - * - * *
    * The OS policy assignment revisions
    * 
@@ -44,8 +25,6 @@ public interface ListOSPolicyAssignmentRevisionsResponseOrBuilder */ com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignments(int index); /** - * - * *
    * The OS policy assignment revisions
    * 
@@ -54,19 +33,15 @@ public interface ListOSPolicyAssignmentRevisionsResponseOrBuilder */ int getOsPolicyAssignmentsCount(); /** - * - * *
    * The OS policy assignment revisions
    * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - java.util.List + java.util.List getOsPolicyAssignmentsOrBuilderList(); /** - * - * *
    * The OS policy assignment revisions
    * 
@@ -77,29 +52,24 @@ com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsO int index); /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignment
    * revisions.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignment
    * revisions.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequest.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequest.java similarity index 68% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequest.java index 28cad318..7fa6f2b7 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequest.java @@ -1,43 +1,24 @@ -/* - * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * A request message to list OS policy assignments for a parent resource
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest} */ -public final class ListOSPolicyAssignmentsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListOSPolicyAssignmentsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) ListOSPolicyAssignmentsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentsRequest.newBuilder() to construct. - private ListOSPolicyAssignmentsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListOSPolicyAssignmentsRequest() { parent_ = ""; pageToken_ = ""; @@ -45,15 +26,16 @@ private ListOSPolicyAssignmentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListOSPolicyAssignmentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +54,30 @@ private ListOSPolicyAssignmentsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,41 +85,34 @@ private ListOSPolicyAssignmentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.class, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -148,31 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -183,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of assignments to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -201,8 +169,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -210,7 +176,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -219,15 +184,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -235,15 +199,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -252,7 +217,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +228,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -287,7 +252,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -300,17 +266,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest other = - (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) obj; + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest other = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -334,127 +302,117 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest 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.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message to list OS policy assignments for a parent resource
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.class, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.newBuilder() @@ -462,15 +420,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor; } @java.lang.Override @@ -505,8 +464,7 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest buildPartial() { - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest result = - new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest(this); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest result = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -518,39 +476,38 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.ListOSPolicyAssignmentsRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest)other); } else { super.mergeFrom(other); return this; @@ -558,8 +515,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest other) { - if (other == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -590,8 +546,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -603,22 +558,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource name.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -627,23 +578,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource name.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -651,82 +599,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource name.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource name.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource name.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of assignments to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -734,36 +666,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of assignments to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of assignments to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -771,8 +697,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -780,13 +704,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -795,8 +719,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -804,14 +726,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -819,8 +742,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -828,22 +749,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -851,18 +770,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -870,23 +786,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -896,12 +812,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest(); } @@ -910,16 +826,16 @@ public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -934,4 +850,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequestOrBuilder.java index 638efc5d..f66311a5 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequestOrBuilder.java @@ -1,73 +1,43 @@ -/* - * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; -public interface ListOSPolicyAssignmentsRequestOrBuilder - extends +public interface ListOSPolicyAssignmentsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of assignments to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -75,13 +45,10 @@ public interface ListOSPolicyAssignmentsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -89,8 +56,8 @@ public interface ListOSPolicyAssignmentsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponse.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponse.java similarity index 74% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponse.java index 1d236073..f900e4df 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponse.java @@ -1,43 +1,24 @@ -/* - * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * A response message for listing all assignments under given parent.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse} */ -public final class ListOSPolicyAssignmentsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListOSPolicyAssignmentsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) ListOSPolicyAssignmentsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentsResponse.newBuilder() to construct. - private ListOSPolicyAssignmentsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListOSPolicyAssignmentsResponse() { osPolicyAssignments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +26,16 @@ private ListOSPolicyAssignmentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListOSPolicyAssignmentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,32 +55,28 @@ private ListOSPolicyAssignmentsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyAssignments_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - osPolicyAssignments_.add( - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicyAssignment.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + osPolicyAssignments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + osPolicyAssignments_.add( + input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignment.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListOSPolicyAssignmentsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { osPolicyAssignments_ = java.util.Collections.unmodifiableList(osPolicyAssignments_); @@ -115,27 +94,22 @@ private ListOSPolicyAssignmentsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.class, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.Builder.class); } public static final int OS_POLICY_ASSIGNMENTS_FIELD_NUMBER = 1; private java.util.List osPolicyAssignments_; /** - * - * *
    * The list of assignments
    * 
@@ -143,13 +117,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ @java.lang.Override - public java.util.List - getOsPolicyAssignmentsList() { + public java.util.List getOsPolicyAssignmentsList() { return osPolicyAssignments_; } /** - * - * *
    * The list of assignments
    * 
@@ -157,13 +128,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ @java.lang.Override - public java.util.List + public java.util.List getOsPolicyAssignmentsOrBuilderList() { return osPolicyAssignments_; } /** - * - * *
    * The list of assignments
    * 
@@ -175,8 +144,6 @@ public int getOsPolicyAssignmentsCount() { return osPolicyAssignments_.size(); } /** - * - * *
    * The list of assignments
    * 
@@ -188,8 +155,6 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignments(in return osPolicyAssignments_.get(index); } /** - * - * *
    * The list of assignments
    * 
@@ -205,14 +170,11 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignments.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,29 +183,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignments.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -252,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < osPolicyAssignments_.size(); i++) { output.writeMessage(1, osPolicyAssignments_.get(i)); } @@ -281,8 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < osPolicyAssignments_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, osPolicyAssignments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, osPolicyAssignments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -295,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse other = - (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) obj; + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse other = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) obj; - if (!getOsPolicyAssignmentsList().equals(other.getOsPolicyAssignmentsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getOsPolicyAssignmentsList() + .equals(other.getOsPolicyAssignmentsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,127 +291,117 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse 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.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response message for listing all assignments under given parent.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.class, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.Builder.class); } // Construct using com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.newBuilder() @@ -456,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOsPolicyAssignmentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -482,14 +435,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.getDefaultInstance(); } @@ -504,8 +456,7 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse build() { @java.lang.Override public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse buildPartial() { - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse result = - new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse(this); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse result = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse(this); int from_bitField0_ = bitField0_; if (osPolicyAssignmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -525,39 +476,38 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.ListOSPolicyAssignmentsResponse) { - return mergeFrom((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) other); + return mergeFrom((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse)other); } else { super.mergeFrom(other); return this; @@ -565,9 +515,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse other) { - if (other - == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.getDefaultInstance()) return this; if (osPolicyAssignmentsBuilder_ == null) { if (!other.osPolicyAssignments_.isEmpty()) { if (osPolicyAssignments_.isEmpty()) { @@ -586,10 +534,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRes osPolicyAssignmentsBuilder_ = null; osPolicyAssignments_ = other.osPolicyAssignments_; bitField0_ = (bitField0_ & ~0x00000001); - osPolicyAssignmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOsPolicyAssignmentsFieldBuilder() - : null; + osPolicyAssignmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOsPolicyAssignmentsFieldBuilder() : null; } else { osPolicyAssignmentsBuilder_.addAllMessages(other.osPolicyAssignments_); } @@ -618,8 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -628,38 +574,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List osPolicyAssignments_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOsPolicyAssignmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyAssignments_ = - new java.util.ArrayList( - osPolicyAssignments_); + osPolicyAssignments_ = new java.util.ArrayList(osPolicyAssignments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, - com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> - osPolicyAssignmentsBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> osPolicyAssignmentsBuilder_; /** - * - * *
      * The list of assignments
      * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - public java.util.List - getOsPolicyAssignmentsList() { + public java.util.List getOsPolicyAssignmentsList() { if (osPolicyAssignmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyAssignments_); } else { @@ -667,8 +603,6 @@ private void ensureOsPolicyAssignmentsIsMutable() { } } /** - * - * *
      * The list of assignments
      * 
@@ -683,8 +617,6 @@ public int getOsPolicyAssignmentsCount() { } } /** - * - * *
      * The list of assignments
      * 
@@ -699,8 +631,6 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignments(in } } /** - * - * *
      * The list of assignments
      * 
@@ -722,8 +652,6 @@ public Builder setOsPolicyAssignments( return this; } /** - * - * *
      * The list of assignments
      * 
@@ -742,8 +670,6 @@ public Builder setOsPolicyAssignments( return this; } /** - * - * *
      * The list of assignments
      * 
@@ -764,8 +690,6 @@ public Builder addOsPolicyAssignments(com.google.cloud.osconfig.v1.OSPolicyAssig return this; } /** - * - * *
      * The list of assignments
      * 
@@ -787,8 +711,6 @@ public Builder addOsPolicyAssignments( return this; } /** - * - * *
      * The list of assignments
      * 
@@ -807,8 +729,6 @@ public Builder addOsPolicyAssignments( return this; } /** - * - * *
      * The list of assignments
      * 
@@ -827,8 +747,6 @@ public Builder addOsPolicyAssignments( return this; } /** - * - * *
      * The list of assignments
      * 
@@ -839,7 +757,8 @@ public Builder addAllOsPolicyAssignments( java.lang.Iterable values) { if (osPolicyAssignmentsBuilder_ == null) { ensureOsPolicyAssignmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicyAssignments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, osPolicyAssignments_); onChanged(); } else { osPolicyAssignmentsBuilder_.addAllMessages(values); @@ -847,8 +766,6 @@ public Builder addAllOsPolicyAssignments( return this; } /** - * - * *
      * The list of assignments
      * 
@@ -866,8 +783,6 @@ public Builder clearOsPolicyAssignments() { return this; } /** - * - * *
      * The list of assignments
      * 
@@ -885,8 +800,6 @@ public Builder removeOsPolicyAssignments(int index) { return this; } /** - * - * *
      * The list of assignments
      * 
@@ -898,8 +811,6 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder getOsPolicyAssign return getOsPolicyAssignmentsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of assignments
      * 
@@ -909,22 +820,19 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder getOsPolicyAssign public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder( int index) { if (osPolicyAssignmentsBuilder_ == null) { - return osPolicyAssignments_.get(index); - } else { + return osPolicyAssignments_.get(index); } else { return osPolicyAssignmentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of assignments
      * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - public java.util.List - getOsPolicyAssignmentsOrBuilderList() { + public java.util.List + getOsPolicyAssignmentsOrBuilderList() { if (osPolicyAssignmentsBuilder_ != null) { return osPolicyAssignmentsBuilder_.getMessageOrBuilderList(); } else { @@ -932,8 +840,6 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig } } /** - * - * *
      * The list of assignments
      * 
@@ -941,12 +847,10 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder() { - return getOsPolicyAssignmentsFieldBuilder() - .addBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance()); + return getOsPolicyAssignmentsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance()); } /** - * - * *
      * The list of assignments
      * 
@@ -955,34 +859,26 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder addOsPolicyAssign */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder( int index) { - return getOsPolicyAssignmentsFieldBuilder() - .addBuilder(index, com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance()); + return getOsPolicyAssignmentsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance()); } /** - * - * *
      * The list of assignments
      * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - public java.util.List - getOsPolicyAssignmentsBuilderList() { + public java.util.List + getOsPolicyAssignmentsBuilderList() { return getOsPolicyAssignmentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, - com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentsFieldBuilder() { if (osPolicyAssignmentsBuilder_ == null) { - osPolicyAssignmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, - com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder>( + osPolicyAssignmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder>( osPolicyAssignments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -994,20 +890,18 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder addOsPolicyAssign private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1016,21 +910,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1038,68 +931,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1109,13 +995,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) - private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse(); } @@ -1124,16 +1009,16 @@ public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1148,4 +1033,6 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponseOrBuilder.java index f9e07587..3cdaeb0e 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; -public interface ListOSPolicyAssignmentsResponseOrBuilder - extends +public interface ListOSPolicyAssignmentsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of assignments
    * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - java.util.List getOsPolicyAssignmentsList(); + java.util.List + getOsPolicyAssignmentsList(); /** - * - * *
    * The list of assignments
    * 
@@ -44,8 +25,6 @@ public interface ListOSPolicyAssignmentsResponseOrBuilder */ com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignments(int index); /** - * - * *
    * The list of assignments
    * 
@@ -54,19 +33,15 @@ public interface ListOSPolicyAssignmentsResponseOrBuilder */ int getOsPolicyAssignmentsCount(); /** - * - * *
    * The list of assignments
    * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - java.util.List + java.util.List getOsPolicyAssignmentsOrBuilderList(); /** - * - * *
    * The list of assignments
    * 
@@ -77,27 +52,22 @@ com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsO int index); /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignments.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignments.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequest.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequest.java similarity index 69% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequest.java index 67432616..6a0523e5 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequest.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * A request message for listing vulnerability reports for all VM instances in
  * the specified location.
@@ -28,17 +11,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.ListVulnerabilityReportsRequest}
  */
-public final class ListVulnerabilityReportsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListVulnerabilityReportsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListVulnerabilityReportsRequest)
     ListVulnerabilityReportsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListVulnerabilityReportsRequest.newBuilder() to construct.
-  private ListVulnerabilityReportsRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListVulnerabilityReportsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListVulnerabilityReportsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -47,15 +28,16 @@ private ListVulnerabilityReportsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListVulnerabilityReportsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListVulnerabilityReportsRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,39 +56,36 @@ private ListVulnerabilityReportsRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
-            }
-          case 16:
-            {
-              pageSize_ = input.readInt32();
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            parent_ = s;
+            break;
+          }
+          case 16: {
 
-              pageToken_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            pageSize_ = input.readInt32();
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              filter_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            pageToken_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            filter_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,43 +93,36 @@ private ListVulnerabilityReportsRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1.VulnerabilityProto
-        .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.VulnerabilityProto
-        .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.class,
-            com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.Builder.class);
+            com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.class, com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,33 +131,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -196,14 +166,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -214,8 +181,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A pagination token returned from a previous call to
    * `ListVulnerabilityReports` that indicates where this listing
@@ -223,7 +188,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -232,15 +196,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A pagination token returned from a previous call to
    * `ListVulnerabilityReports` that indicates where this listing
@@ -248,15 +211,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -267,15 +231,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `vulnerabilityReport` API resource to be included in the response.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -284,30 +245,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `vulnerabilityReport` API resource to be included in the response.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -316,7 +277,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,7 +288,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -354,7 +315,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -370,18 +332,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest other = - (com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest other = (com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -407,104 +372,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest 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.osconfig.v1.ListVulnerabilityReportsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message for listing vulnerability reports for all VM instances in
    * the specified location.
@@ -512,23 +469,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1.ListVulnerabilityReportsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListVulnerabilityReportsRequest)
       com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.class,
-              com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.Builder.class);
+              com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.class, com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.newBuilder()
@@ -536,15 +491,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -560,14 +516,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest getDefaultInstanceForType() {
       return com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.getDefaultInstance();
     }
 
@@ -582,8 +537,7 @@ public com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest buildPartial() {
-      com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest result =
-          new com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest(this);
+      com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest result = new com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -596,39 +550,38 @@ public com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.ListVulnerabilityReportsRequest) {
-        return mergeFrom((com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) other);
+        return mergeFrom((com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -636,9 +589,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest other) {
-      if (other
-          == com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -673,8 +624,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -686,24 +636,20 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -712,25 +658,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -738,88 +681,72 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -827,36 +754,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -864,8 +785,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -873,13 +792,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -888,8 +807,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -897,14 +814,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -912,8 +830,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -921,22 +837,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -944,18 +858,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -963,16 +874,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -980,21 +891,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1003,22 +912,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1026,71 +934,64 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1100,13 +1001,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) - private static final com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest(); } @@ -1115,16 +1015,16 @@ public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVulnerabilityReportsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVulnerabilityReportsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVulnerabilityReportsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVulnerabilityReportsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1139,4 +1039,6 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequestOrBuilder.java index b6f41374..f2fee151 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequestOrBuilder.java @@ -1,77 +1,47 @@ -/* - * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; -public interface ListVulnerabilityReportsRequestOrBuilder - extends +public interface ListVulnerabilityReportsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A pagination token returned from a previous call to
    * `ListVulnerabilityReports` that indicates where this listing
@@ -79,13 +49,10 @@ public interface ListVulnerabilityReportsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A pagination token returned from a previous call to
    * `ListVulnerabilityReports` that indicates where this listing
@@ -93,35 +60,30 @@ public interface ListVulnerabilityReportsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `vulnerabilityReport` API resource to be included in the response.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `vulnerabilityReport` API resource to be included in the response.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponse.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponse.java similarity index 71% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponse.java index 699e2b2f..4f6f5148 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponse.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * A response message for listing vulnerability reports for all VM instances in
  * the specified location.
@@ -28,17 +11,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.ListVulnerabilityReportsResponse}
  */
-public final class ListVulnerabilityReportsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListVulnerabilityReportsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListVulnerabilityReportsResponse)
     ListVulnerabilityReportsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListVulnerabilityReportsResponse.newBuilder() to construct.
-  private ListVulnerabilityReportsResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListVulnerabilityReportsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListVulnerabilityReportsResponse() {
     vulnerabilityReports_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -46,15 +27,16 @@ private ListVulnerabilityReportsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListVulnerabilityReportsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListVulnerabilityReportsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,33 +56,28 @@ private ListVulnerabilityReportsResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                vulnerabilityReports_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              vulnerabilityReports_.add(
-                  input.readMessage(
-                      com.google.cloud.osconfig.v1.VulnerabilityReport.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              vulnerabilityReports_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            vulnerabilityReports_.add(
+                input.readMessage(com.google.cloud.osconfig.v1.VulnerabilityReport.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              nextPageToken_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            nextPageToken_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -108,7 +85,8 @@ private ListVulnerabilityReportsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         vulnerabilityReports_ = java.util.Collections.unmodifiableList(vulnerabilityReports_);
@@ -117,27 +95,22 @@ private ListVulnerabilityReportsResponse(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1.VulnerabilityProto
-        .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.VulnerabilityProto
-        .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.class,
-            com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.Builder.class);
+            com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.class, com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.Builder.class);
   }
 
   public static final int VULNERABILITY_REPORTS_FIELD_NUMBER = 1;
   private java.util.List vulnerabilityReports_;
   /**
-   *
-   *
    * 
    * List of vulnerabilityReport objects.
    * 
@@ -145,13 +118,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ @java.lang.Override - public java.util.List - getVulnerabilityReportsList() { + public java.util.List getVulnerabilityReportsList() { return vulnerabilityReports_; } /** - * - * *
    * List of vulnerabilityReport objects.
    * 
@@ -159,13 +129,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVulnerabilityReportsOrBuilderList() { return vulnerabilityReports_; } /** - * - * *
    * List of vulnerabilityReport objects.
    * 
@@ -177,8 +145,6 @@ public int getVulnerabilityReportsCount() { return vulnerabilityReports_.size(); } /** - * - * *
    * List of vulnerabilityReport objects.
    * 
@@ -190,8 +156,6 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport getVulnerabilityReports( return vulnerabilityReports_.get(index); } /** - * - * *
    * List of vulnerabilityReport objects.
    * 
@@ -207,15 +171,12 @@ public com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder getVulnerabilit public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The pagination token to retrieve the next page of vulnerabilityReports
    * object.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -224,30 +185,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The pagination token to retrieve the next page of vulnerabilityReports
    * object.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -256,7 +217,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,7 +228,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < vulnerabilityReports_.size(); i++) { output.writeMessage(1, vulnerabilityReports_.get(i)); } @@ -285,8 +246,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < vulnerabilityReports_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, vulnerabilityReports_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, vulnerabilityReports_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -299,16 +260,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse other = - (com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse) obj; + com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse other = (com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse) obj; - if (!getVulnerabilityReportsList().equals(other.getVulnerabilityReportsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getVulnerabilityReportsList() + .equals(other.getVulnerabilityReportsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -332,104 +294,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse 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.osconfig.v1.ListVulnerabilityReportsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response message for listing vulnerability reports for all VM instances in
    * the specified location.
@@ -437,23 +391,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1.ListVulnerabilityReportsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListVulnerabilityReportsResponse)
       com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.class,
-              com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.Builder.class);
+              com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.class, com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.newBuilder()
@@ -461,17 +413,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getVulnerabilityReportsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -487,14 +439,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse
-        getDefaultInstanceForType() {
+    public com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse getDefaultInstanceForType() {
       return com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.getDefaultInstance();
     }
 
@@ -509,8 +460,7 @@ public com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse buildPartial() {
-      com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse result =
-          new com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse(this);
+      com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse result = new com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse(this);
       int from_bitField0_ = bitField0_;
       if (vulnerabilityReportsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -530,39 +480,38 @@ public com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse buildPartia
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.ListVulnerabilityReportsResponse) {
-        return mergeFrom((com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse) other);
+        return mergeFrom((com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -570,9 +519,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse other) {
-      if (other
-          == com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.getDefaultInstance()) return this;
       if (vulnerabilityReportsBuilder_ == null) {
         if (!other.vulnerabilityReports_.isEmpty()) {
           if (vulnerabilityReports_.isEmpty()) {
@@ -591,10 +538,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.ListVulnerabilityReportsRe
             vulnerabilityReportsBuilder_ = null;
             vulnerabilityReports_ = other.vulnerabilityReports_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            vulnerabilityReportsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getVulnerabilityReportsFieldBuilder()
-                    : null;
+            vulnerabilityReportsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getVulnerabilityReportsFieldBuilder() : null;
           } else {
             vulnerabilityReportsBuilder_.addAllMessages(other.vulnerabilityReports_);
           }
@@ -623,9 +569,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -634,39 +578,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List vulnerabilityReports_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureVulnerabilityReportsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        vulnerabilityReports_ =
-            new java.util.ArrayList(
-                vulnerabilityReports_);
+        vulnerabilityReports_ = new java.util.ArrayList(vulnerabilityReports_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.osconfig.v1.VulnerabilityReport,
-            com.google.cloud.osconfig.v1.VulnerabilityReport.Builder,
-            com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder>
-        vulnerabilityReportsBuilder_;
+        com.google.cloud.osconfig.v1.VulnerabilityReport, com.google.cloud.osconfig.v1.VulnerabilityReport.Builder, com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder> vulnerabilityReportsBuilder_;
 
     /**
-     *
-     *
      * 
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ - public java.util.List - getVulnerabilityReportsList() { + public java.util.List getVulnerabilityReportsList() { if (vulnerabilityReportsBuilder_ == null) { return java.util.Collections.unmodifiableList(vulnerabilityReports_); } else { @@ -674,14 +607,11 @@ private void ensureVulnerabilityReportsIsMutable() { } } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ public int getVulnerabilityReportsCount() { if (vulnerabilityReportsBuilder_ == null) { @@ -691,14 +621,11 @@ public int getVulnerabilityReportsCount() { } } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ public com.google.cloud.osconfig.v1.VulnerabilityReport getVulnerabilityReports(int index) { if (vulnerabilityReportsBuilder_ == null) { @@ -708,14 +635,11 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport getVulnerabilityReports( } } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ public Builder setVulnerabilityReports( int index, com.google.cloud.osconfig.v1.VulnerabilityReport value) { @@ -732,14 +656,11 @@ public Builder setVulnerabilityReports( return this; } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ public Builder setVulnerabilityReports( int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Builder builderForValue) { @@ -753,14 +674,11 @@ public Builder setVulnerabilityReports( return this; } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ public Builder addVulnerabilityReports(com.google.cloud.osconfig.v1.VulnerabilityReport value) { if (vulnerabilityReportsBuilder_ == null) { @@ -776,14 +694,11 @@ public Builder addVulnerabilityReports(com.google.cloud.osconfig.v1.Vulnerabilit return this; } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ public Builder addVulnerabilityReports( int index, com.google.cloud.osconfig.v1.VulnerabilityReport value) { @@ -800,14 +715,11 @@ public Builder addVulnerabilityReports( return this; } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ public Builder addVulnerabilityReports( com.google.cloud.osconfig.v1.VulnerabilityReport.Builder builderForValue) { @@ -821,14 +733,11 @@ public Builder addVulnerabilityReports( return this; } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ public Builder addVulnerabilityReports( int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Builder builderForValue) { @@ -842,20 +751,18 @@ public Builder addVulnerabilityReports( return this; } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ public Builder addAllVulnerabilityReports( java.lang.Iterable values) { if (vulnerabilityReportsBuilder_ == null) { ensureVulnerabilityReportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vulnerabilityReports_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, vulnerabilityReports_); onChanged(); } else { vulnerabilityReportsBuilder_.addAllMessages(values); @@ -863,14 +770,11 @@ public Builder addAllVulnerabilityReports( return this; } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ public Builder clearVulnerabilityReports() { if (vulnerabilityReportsBuilder_ == null) { @@ -883,14 +787,11 @@ public Builder clearVulnerabilityReports() { return this; } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ public Builder removeVulnerabilityReports(int index) { if (vulnerabilityReportsBuilder_ == null) { @@ -903,49 +804,39 @@ public Builder removeVulnerabilityReports(int index) { return this; } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ public com.google.cloud.osconfig.v1.VulnerabilityReport.Builder getVulnerabilityReportsBuilder( int index) { return getVulnerabilityReportsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ - public com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder - getVulnerabilityReportsOrBuilder(int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder getVulnerabilityReportsOrBuilder( + int index) { if (vulnerabilityReportsBuilder_ == null) { - return vulnerabilityReports_.get(index); - } else { + return vulnerabilityReports_.get(index); } else { return vulnerabilityReportsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ - public java.util.List - getVulnerabilityReportsOrBuilderList() { + public java.util.List + getVulnerabilityReportsOrBuilderList() { if (vulnerabilityReportsBuilder_ != null) { return vulnerabilityReportsBuilder_.getMessageOrBuilderList(); } else { @@ -953,61 +844,45 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Builder getVulnerability } } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Builder - addVulnerabilityReportsBuilder() { - return getVulnerabilityReportsFieldBuilder() - .addBuilder(com.google.cloud.osconfig.v1.VulnerabilityReport.getDefaultInstance()); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Builder addVulnerabilityReportsBuilder() { + return getVulnerabilityReportsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.VulnerabilityReport.getDefaultInstance()); } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ public com.google.cloud.osconfig.v1.VulnerabilityReport.Builder addVulnerabilityReportsBuilder( int index) { - return getVulnerabilityReportsFieldBuilder() - .addBuilder(index, com.google.cloud.osconfig.v1.VulnerabilityReport.getDefaultInstance()); + return getVulnerabilityReportsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.VulnerabilityReport.getDefaultInstance()); } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ - public java.util.List - getVulnerabilityReportsBuilderList() { + public java.util.List + getVulnerabilityReportsBuilderList() { return getVulnerabilityReportsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport, - com.google.cloud.osconfig.v1.VulnerabilityReport.Builder, - com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder> + com.google.cloud.osconfig.v1.VulnerabilityReport, com.google.cloud.osconfig.v1.VulnerabilityReport.Builder, com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder> getVulnerabilityReportsFieldBuilder() { if (vulnerabilityReportsBuilder_ == null) { - vulnerabilityReportsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport, - com.google.cloud.osconfig.v1.VulnerabilityReport.Builder, - com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder>( + vulnerabilityReportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.VulnerabilityReport, com.google.cloud.osconfig.v1.VulnerabilityReport.Builder, com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder>( vulnerabilityReports_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1019,21 +894,19 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Builder addVulnerability private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1042,22 +915,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1065,71 +937,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1139,13 +1004,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListVulnerabilityReportsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListVulnerabilityReportsResponse) - private static final com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse(); } @@ -1154,16 +1018,16 @@ public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVulnerabilityReportsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVulnerabilityReportsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVulnerabilityReportsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVulnerabilityReportsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1178,4 +1042,6 @@ public com.google.protobuf.Parser getParserFor public com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponseOrBuilder.java index 58c34c75..9c9f443b 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; -public interface ListVulnerabilityReportsResponseOrBuilder - extends +public interface ListVulnerabilityReportsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListVulnerabilityReportsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of vulnerabilityReport objects.
    * 
* * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ - java.util.List getVulnerabilityReportsList(); + java.util.List + getVulnerabilityReportsList(); /** - * - * *
    * List of vulnerabilityReport objects.
    * 
@@ -44,8 +25,6 @@ public interface ListVulnerabilityReportsResponseOrBuilder */ com.google.cloud.osconfig.v1.VulnerabilityReport getVulnerabilityReports(int index); /** - * - * *
    * List of vulnerabilityReport objects.
    * 
@@ -54,19 +33,15 @@ public interface ListVulnerabilityReportsResponseOrBuilder */ int getVulnerabilityReportsCount(); /** - * - * *
    * List of vulnerabilityReport objects.
    * 
* * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ - java.util.List + java.util.List getVulnerabilityReportsOrBuilderList(); /** - * - * *
    * List of vulnerabilityReport objects.
    * 
@@ -77,29 +52,24 @@ com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder getVulnerabilityReport int index); /** - * - * *
    * The pagination token to retrieve the next page of vulnerabilityReports
    * object.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The pagination token to retrieve the next page of vulnerabilityReports
    * object.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/LocationName.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/LocationName.java similarity index 100% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/LocationName.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/LocationName.java diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicy.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicy.java similarity index 69% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicy.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicy.java index ff19755c..6a804be9 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicy.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicy.java @@ -1,42 +1,24 @@ -/* - * 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/osconfig/v1/os_policy.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * An OS policy defines the desired state configuration for a VM.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy} */ -public final class OSPolicy extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OSPolicy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy) OSPolicyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OSPolicy.newBuilder() to construct. private OSPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OSPolicy() { id_ = ""; description_ = ""; @@ -46,15 +28,16 @@ private OSPolicy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OSPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OSPolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,52 +57,45 @@ private OSPolicy( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + id_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 24: - { - int rawValue = input.readEnum(); + description_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); - mode_ = rawValue; - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - resourceGroups_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - resourceGroups_.add( - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.parser(), - extensionRegistry)); - break; - } - case 40: - { - allowNoResourceGroupMatch_ = input.readBool(); - break; + mode_ = rawValue; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + resourceGroups_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + resourceGroups_.add( + input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.parser(), extensionRegistry)); + break; + } + case 40: { + + allowNoResourceGroupMatch_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,7 +103,8 @@ private OSPolicy( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { resourceGroups_ = java.util.Collections.unmodifiableList(resourceGroups_); @@ -136,35 +113,29 @@ private OSPolicy( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.class, - com.google.cloud.osconfig.v1.OSPolicy.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.class, com.google.cloud.osconfig.v1.OSPolicy.Builder.class); } /** - * - * *
    * Policy mode
    * 
* * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicy.Mode} */ - public enum Mode implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Invalid mode
      * 
@@ -173,8 +144,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ MODE_UNSPECIFIED(0), /** - * - * *
      * This mode checks if the configuration resources in the policy are in
      * their desired state. No actions are performed if they are not in the
@@ -185,8 +154,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
      */
     VALIDATION(1),
     /**
-     *
-     *
      * 
      * This mode checks if the configuration resources in the policy are in
      * their desired state, and if not, enforces the desired state.
@@ -199,8 +166,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Invalid mode
      * 
@@ -209,8 +174,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * This mode checks if the configuration resources in the policy are in
      * their desired state. No actions are performed if they are not in the
@@ -221,8 +184,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int VALIDATION_VALUE = 1;
     /**
-     *
-     *
      * 
      * This mode checks if the configuration resources in the policy are in
      * their desired state, and if not, enforces the desired state.
@@ -232,6 +193,7 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ENFORCEMENT_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -256,49 +218,49 @@ public static Mode valueOf(int value) {
      */
     public static Mode forNumber(int value) {
       switch (value) {
-        case 0:
-          return MODE_UNSPECIFIED;
-        case 1:
-          return VALIDATION;
-        case 2:
-          return ENFORCEMENT;
-        default:
-          return null;
+        case 0: return MODE_UNSPECIFIED;
+        case 1: return VALIDATION;
+        case 2: return ENFORCEMENT;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Mode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Mode findValueByNumber(int number) {
+              return Mode.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Mode findValueByNumber(int number) {
-            return Mode.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.osconfig.v1.OSPolicy.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Mode[] VALUES = values();
 
-    public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Mode valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -315,39 +277,31 @@ private Mode(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1.OSPolicy.Mode)
   }
 
-  public interface InventoryFilterOrBuilder
-      extends
+  public interface InventoryFilterOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.InventoryFilter)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. The OS short name
      * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The osShortName. */ java.lang.String getOsShortName(); /** - * - * *
      * Required. The OS short name
      * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for osShortName. */ - com.google.protobuf.ByteString getOsShortNameBytes(); + com.google.protobuf.ByteString + getOsShortNameBytes(); /** - * - * *
      * The OS version
      * Prefix matches are supported if asterisk(*) is provided as the
@@ -357,13 +311,10 @@ public interface InventoryFilterOrBuilder
      * 
* * string os_version = 2; - * * @return The osVersion. */ java.lang.String getOsVersion(); /** - * - * *
      * The OS version
      * Prefix matches are supported if asterisk(*) is provided as the
@@ -373,30 +324,27 @@ public interface InventoryFilterOrBuilder
      * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ - com.google.protobuf.ByteString getOsVersionBytes(); + com.google.protobuf.ByteString + getOsVersionBytes(); } /** - * - * *
    * Filtering criteria to select VMs based on inventory details.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.InventoryFilter} */ - public static final class InventoryFilter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class InventoryFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.InventoryFilter) InventoryFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InventoryFilter.newBuilder() to construct. private InventoryFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InventoryFilter() { osShortName_ = ""; osVersion_ = ""; @@ -404,15 +352,16 @@ private InventoryFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InventoryFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InventoryFilter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -431,27 +380,25 @@ private InventoryFilter( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - osShortName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + osShortName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - osVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + osVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -459,39 +406,34 @@ private InventoryFilter( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.class, - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.class, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder.class); } public static final int OS_SHORT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object osShortName_; /** - * - * *
      * Required. The OS short name
      * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The osShortName. */ @java.lang.Override @@ -500,29 +442,29 @@ public java.lang.String getOsShortName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; } } /** - * - * *
      * Required. The OS short name
      * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for osShortName. */ @java.lang.Override - public com.google.protobuf.ByteString getOsShortNameBytes() { + public com.google.protobuf.ByteString + getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osShortName_ = b; return b; } else { @@ -533,8 +475,6 @@ public com.google.protobuf.ByteString getOsShortNameBytes() { public static final int OS_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object osVersion_; /** - * - * *
      * The OS version
      * Prefix matches are supported if asterisk(*) is provided as the
@@ -544,7 +484,6 @@ public com.google.protobuf.ByteString getOsShortNameBytes() {
      * 
* * string os_version = 2; - * * @return The osVersion. */ @java.lang.Override @@ -553,15 +492,14 @@ public java.lang.String getOsVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; } } /** - * - * *
      * The OS version
      * Prefix matches are supported if asterisk(*) is provided as the
@@ -571,15 +509,16 @@ public java.lang.String getOsVersion() {
      * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getOsVersionBytes() { + public com.google.protobuf.ByteString + getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osVersion_ = b; return b; } else { @@ -588,7 +527,6 @@ public com.google.protobuf.ByteString getOsVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -600,7 +538,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osShortName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osShortName_); } @@ -630,16 +569,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter other = - (com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter) obj; + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter other = (com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter) obj; - if (!getOsShortName().equals(other.getOsShortName())) return false; - if (!getOsVersion().equals(other.getOsVersion())) return false; + if (!getOsShortName() + .equals(other.getOsShortName())) return false; + if (!getOsVersion() + .equals(other.getOsVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -661,94 +601,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter 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.osconfig.v1.OSPolicy.InventoryFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -758,32 +691,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Filtering criteria to select VMs based on inventory details.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.InventoryFilter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.InventoryFilter) com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.class, - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.class, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder.class); } // Construct using com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.newBuilder() @@ -791,15 +719,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -811,9 +740,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor; } @java.lang.Override @@ -832,8 +761,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter build() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter result = - new com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter(this); + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter result = new com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter(this); result.osShortName_ = osShortName_; result.osVersion_ = osVersion_; onBuilt(); @@ -844,41 +772,38 @@ public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.InventoryFilter) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter) other); + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter)other); } else { super.mergeFrom(other); return this; @@ -886,8 +811,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter other) { - if (other == com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.getDefaultInstance()) return this; if (!other.getOsShortName().isEmpty()) { osShortName_ = other.osShortName_; onChanged(); @@ -915,8 +839,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -928,20 +851,18 @@ public Builder mergeFrom( private java.lang.Object osShortName_ = ""; /** - * - * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The osShortName. */ public java.lang.String getOsShortName() { java.lang.Object ref = osShortName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; @@ -950,21 +871,20 @@ public java.lang.String getOsShortName() { } } /** - * - * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for osShortName. */ - public com.google.protobuf.ByteString getOsShortNameBytes() { + public com.google.protobuf.ByteString + getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osShortName_ = b; return b; } else { @@ -972,61 +892,54 @@ public com.google.protobuf.ByteString getOsShortNameBytes() { } } /** - * - * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortName(java.lang.String value) { + public Builder setOsShortName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osShortName_ = value; onChanged(); return this; } /** - * - * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearOsShortName() { - + osShortName_ = getDefaultInstance().getOsShortName(); onChanged(); return this; } /** - * - * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { + public Builder setOsShortNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osShortName_ = value; onChanged(); return this; @@ -1034,8 +947,6 @@ public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object osVersion_ = ""; /** - * - * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1045,13 +956,13 @@ public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) {
        * 
* * string os_version = 2; - * * @return The osVersion. */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; @@ -1060,8 +971,6 @@ public java.lang.String getOsVersion() { } } /** - * - * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1071,14 +980,15 @@ public java.lang.String getOsVersion() {
        * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ - public com.google.protobuf.ByteString getOsVersionBytes() { + public com.google.protobuf.ByteString + getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osVersion_ = b; return b; } else { @@ -1086,8 +996,6 @@ public com.google.protobuf.ByteString getOsVersionBytes() { } } /** - * - * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1097,22 +1005,20 @@ public com.google.protobuf.ByteString getOsVersionBytes() {
        * 
* * string os_version = 2; - * * @param value The osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersion(java.lang.String value) { + public Builder setOsVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osVersion_ = value; onChanged(); return this; } /** - * - * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1122,18 +1028,15 @@ public Builder setOsVersion(java.lang.String value) {
        * 
* * string os_version = 2; - * * @return This builder for chaining. */ public Builder clearOsVersion() { - + osVersion_ = getDefaultInstance().getOsVersion(); onChanged(); return this; } /** - * - * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1143,21 +1046,20 @@ public Builder clearOsVersion() {
        * 
* * string os_version = 2; - * * @param value The bytes for osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersionBytes(com.google.protobuf.ByteString value) { + public Builder setOsVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osVersion_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1170,12 +1072,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.InventoryFilter) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.InventoryFilter) private static final com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter(); } @@ -1184,16 +1086,16 @@ public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InventoryFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InventoryFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InventoryFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InventoryFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1208,16 +1110,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ResourceOrBuilder - extends + public interface ResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The id of the resource with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -1228,13 +1128,10 @@ public interface ResourceOrBuilder
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ java.lang.String getId(); /** - * - * *
      * Required. The id of the resource with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -1245,38 +1142,30 @@ public interface ResourceOrBuilder
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
      * Package resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; - * * @return Whether the pkg field is set. */ boolean hasPkg(); /** - * - * *
      * Package resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; - * * @return The pkg. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource getPkg(); /** - * - * *
      * Package resource
      * 
@@ -1286,68 +1175,51 @@ public interface ResourceOrBuilder com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder getPkgOrBuilder(); /** - * - * *
      * Package repository resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; - * * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
      * Package repository resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; - * * @return The repository. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource getRepository(); /** - * - * *
      * Package repository resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder - getRepositoryOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder getRepositoryOrBuilder(); /** - * - * *
      * Exec resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource exec = 4; - * * @return Whether the exec field is set. */ boolean hasExec(); /** - * - * *
      * Exec resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource exec = 4; - * * @return The exec. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource getExec(); /** - * - * *
      * Exec resource
      * 
@@ -1357,32 +1229,24 @@ public interface ResourceOrBuilder com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder getExecOrBuilder(); /** - * - * *
      * File resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource file = 5; - * * @return Whether the file field is set. */ boolean hasFile(); /** - * - * *
      * File resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource file = 5; - * * @return The file. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource getFile(); /** - * - * *
      * File resource
      * 
@@ -1394,8 +1258,6 @@ public interface ResourceOrBuilder public com.google.cloud.osconfig.v1.OSPolicy.Resource.ResourceTypeCase getResourceTypeCase(); } /** - * - * *
    * An OS policy resource is used to define the desired state configuration
    * and provides a specific functionality like installing/removing packages,
@@ -1406,31 +1268,31 @@ public interface ResourceOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource}
    */
-  public static final class Resource extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Resource extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource)
       ResourceOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Resource.newBuilder() to construct.
     private Resource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Resource() {
       id_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Resource();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private Resource(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1449,108 +1311,75 @@ private Resource(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                id_ = s;
-                break;
+              id_ = s;
+              break;
+            }
+            case 18: {
+              com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder subBuilder = null;
+              if (resourceTypeCase_ == 2) {
+                subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_).toBuilder();
               }
-            case 18:
-              {
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder subBuilder =
-                    null;
-                if (resourceTypeCase_ == 2) {
-                  subBuilder =
-                      ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource)
-                              resourceType_)
-                          .toBuilder();
-                }
-                resourceType_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource)
-                          resourceType_);
-                  resourceType_ = subBuilder.buildPartial();
-                }
-                resourceTypeCase_ = 2;
-                break;
+              resourceType_ =
+                  input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_);
+                resourceType_ = subBuilder.buildPartial();
               }
-            case 26:
-              {
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder
-                    subBuilder = null;
-                if (resourceTypeCase_ == 3) {
-                  subBuilder =
-                      ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource)
-                              resourceType_)
-                          .toBuilder();
-                }
-                resourceType_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource)
-                          resourceType_);
-                  resourceType_ = subBuilder.buildPartial();
-                }
-                resourceTypeCase_ = 3;
-                break;
+              resourceTypeCase_ = 2;
+              break;
+            }
+            case 26: {
+              com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder subBuilder = null;
+              if (resourceTypeCase_ == 3) {
+                subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_).toBuilder();
               }
-            case 34:
-              {
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder subBuilder =
-                    null;
-                if (resourceTypeCase_ == 4) {
-                  subBuilder =
-                      ((com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_)
-                          .toBuilder();
-                }
-                resourceType_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_);
-                  resourceType_ = subBuilder.buildPartial();
-                }
-                resourceTypeCase_ = 4;
-                break;
+              resourceType_ =
+                  input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_);
+                resourceType_ = subBuilder.buildPartial();
               }
-            case 42:
-              {
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder subBuilder =
-                    null;
-                if (resourceTypeCase_ == 5) {
-                  subBuilder =
-                      ((com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_)
-                          .toBuilder();
-                }
-                resourceType_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_);
-                  resourceType_ = subBuilder.buildPartial();
-                }
-                resourceTypeCase_ = 5;
-                break;
+              resourceTypeCase_ = 3;
+              break;
+            }
+            case 34: {
+              com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder subBuilder = null;
+              if (resourceTypeCase_ == 4) {
+                subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_).toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              resourceType_ =
+                  input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_);
+                resourceType_ = subBuilder.buildPartial();
+              }
+              resourceTypeCase_ = 4;
+              break;
+            }
+            case 42: {
+              com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder subBuilder = null;
+              if (resourceTypeCase_ == 5) {
+                subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_).toBuilder();
+              }
+              resourceType_ =
+                  input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_);
+                resourceType_ = subBuilder.buildPartial();
+              }
+              resourceTypeCase_ = 5;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1558,60 +1387,49 @@ private Resource(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.OsPolicyProto
-          .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.OsPolicyProto
-          .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.OSPolicy.Resource.class,
-              com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder.class);
+              com.google.cloud.osconfig.v1.OSPolicy.Resource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder.class);
     }
 
-    public interface FileOrBuilder
-        extends
+    public interface FileOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.File)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * A generic remote file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; - * * @return Whether the remote field is set. */ boolean hasRemote(); /** - * - * *
        * A generic remote file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; - * * @return The remote. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote getRemote(); /** - * - * *
        * A generic remote file.
        * 
@@ -1621,32 +1439,24 @@ public interface FileOrBuilder com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder getRemoteOrBuilder(); /** - * - * *
        * A Cloud Storage object.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs gcs = 2; - * * @return Whether the gcs field is set. */ boolean hasGcs(); /** - * - * *
        * A Cloud Storage object.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs gcs = 2; - * * @return The gcs. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs getGcs(); /** - * - * *
        * A Cloud Storage object.
        * 
@@ -1656,45 +1466,35 @@ public interface FileOrBuilder com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder getGcsOrBuilder(); /** - * - * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; - * * @return Whether the localPath field is set. */ boolean hasLocalPath(); /** - * - * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; - * * @return The localPath. */ java.lang.String getLocalPath(); /** - * - * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; - * * @return The bytes for localPath. */ - com.google.protobuf.ByteString getLocalPathBytes(); + com.google.protobuf.ByteString + getLocalPathBytes(); /** - * - * *
        * Defaults to false. When false, files are subject to validations
        * based on the file type:
@@ -1703,7 +1503,6 @@ public interface FileOrBuilder
        * 
* * bool allow_insecure = 4; - * * @return The allowInsecure. */ boolean getAllowInsecure(); @@ -1711,37 +1510,36 @@ public interface FileOrBuilder public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.TypeCase getTypeCase(); } /** - * - * *
      * A remote or local file.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.File} */ - public static final class File extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class File extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.File) FileOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private File() {} + private File() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1760,66 +1558,52 @@ private File( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder subBuilder = - null; - if (typeCase_ == 1) { - subBuilder = - ((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_) - .toBuilder(); - } - type_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 1; - break; + case 10: { + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder subBuilder = null; + if (typeCase_ == 1) { + subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_).toBuilder(); } - case 18: - { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder subBuilder = null; - if (typeCase_ == 2) { - subBuilder = - ((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_) - .toBuilder(); - } - type_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 2; - break; + type_ = + input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_); + type_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - typeCase_ = 3; - type_ = s; - break; + typeCase_ = 1; + break; + } + case 18: { + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder subBuilder = null; + if (typeCase_ == 2) { + subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_).toBuilder(); } - case 32: - { - allowInsecure_ = input.readBool(); - break; + type_ = + input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_); + type_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + typeCase_ = 2; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + typeCase_ = 3; + type_ = s; + break; + } + case 32: { + + allowInsecure_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1827,105 +1611,88 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder.class); } - public interface RemoteOrBuilder - extends + public interface RemoteOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. URI from which to fetch the object. It should contain both
          * the protocol and path following the format `{protocol}://{location}`.
          * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
          * Required. URI from which to fetch the object. It should contain both
          * the protocol and path following the format `{protocol}://{location}`.
          * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
          * SHA256 checksum of the remote file.
          * 
* * string sha256_checksum = 2; - * * @return The sha256Checksum. */ java.lang.String getSha256Checksum(); /** - * - * *
          * SHA256 checksum of the remote file.
          * 
* * string sha256_checksum = 2; - * * @return The bytes for sha256Checksum. */ - com.google.protobuf.ByteString getSha256ChecksumBytes(); + com.google.protobuf.ByteString + getSha256ChecksumBytes(); } /** - * - * *
        * Specifies a file available via some URI.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote} */ - public static final class Remote extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Remote extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) RemoteOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Remote.newBuilder() to construct. private Remote(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Remote() { uri_ = ""; sha256Checksum_ = ""; @@ -1933,15 +1700,16 @@ private Remote() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Remote(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Remote( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1960,27 +1728,25 @@ private Remote( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + uri_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - sha256Checksum_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sha256Checksum_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1988,41 +1754,35 @@ private Remote( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder.class); } public static final int URI_FIELD_NUMBER = 1; private volatile java.lang.Object uri_; /** - * - * *
          * Required. URI from which to fetch the object. It should contain both
          * the protocol and path following the format `{protocol}://{location}`.
          * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ @java.lang.Override @@ -2031,30 +1791,30 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
          * Required. URI from which to fetch the object. It should contain both
          * the protocol and path following the format `{protocol}://{location}`.
          * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -2065,14 +1825,11 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int SHA256_CHECKSUM_FIELD_NUMBER = 2; private volatile java.lang.Object sha256Checksum_; /** - * - * *
          * SHA256 checksum of the remote file.
          * 
* * string sha256_checksum = 2; - * * @return The sha256Checksum. */ @java.lang.Override @@ -2081,29 +1838,29 @@ public java.lang.String getSha256Checksum() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sha256Checksum_ = s; return s; } } /** - * - * *
          * SHA256 checksum of the remote file.
          * 
* * string sha256_checksum = 2; - * * @return The bytes for sha256Checksum. */ @java.lang.Override - public com.google.protobuf.ByteString getSha256ChecksumBytes() { + public com.google.protobuf.ByteString + getSha256ChecksumBytes() { java.lang.Object ref = sha256Checksum_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sha256Checksum_ = b; return b; } else { @@ -2112,7 +1869,6 @@ public com.google.protobuf.ByteString getSha256ChecksumBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2125,7 +1881,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } @@ -2155,16 +1911,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote other = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) obj; - if (!getUri().equals(other.getUri())) return false; - if (!getSha256Checksum().equals(other.getSha256Checksum())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getSha256Checksum() + .equals(other.getSha256Checksum())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2186,95 +1943,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote 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.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2284,32 +2033,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Specifies a file available via some URI.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder.class); } // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.newBuilder() @@ -2317,15 +2061,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2337,14 +2082,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.getDefaultInstance(); } @@ -2359,8 +2103,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote build() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote result = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote(this); result.uri_ = uri_; result.sha256Checksum_ = sha256Checksum_; onBuilt(); @@ -2371,52 +2114,46 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.File.Remote) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) other); + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote other) { - if (other - == com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote other) { + if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.getDefaultInstance()) return this; if (!other.getUri().isEmpty()) { uri_ = other.uri_; onChanged(); @@ -2444,9 +2181,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2458,21 +2193,19 @@ public Builder mergeFrom( private java.lang.Object uri_ = ""; /** - * - * *
            * Required. URI from which to fetch the object. It should contain both
            * the protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -2481,22 +2214,21 @@ public java.lang.String getUri() { } } /** - * - * *
            * Required. URI from which to fetch the object. It should contain both
            * the protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -2504,64 +2236,57 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
            * Required. URI from which to fetch the object. It should contain both
            * the protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
            * Required. URI from which to fetch the object. It should contain both
            * the protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
            * Required. URI from which to fetch the object. It should contain both
            * the protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -2569,20 +2294,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object sha256Checksum_ = ""; /** - * - * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; - * * @return The sha256Checksum. */ public java.lang.String getSha256Checksum() { java.lang.Object ref = sha256Checksum_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sha256Checksum_ = s; return s; @@ -2591,21 +2314,20 @@ public java.lang.String getSha256Checksum() { } } /** - * - * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; - * * @return The bytes for sha256Checksum. */ - public com.google.protobuf.ByteString getSha256ChecksumBytes() { + public com.google.protobuf.ByteString + getSha256ChecksumBytes() { java.lang.Object ref = sha256Checksum_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sha256Checksum_ = b; return b; } else { @@ -2613,66 +2335,58 @@ public com.google.protobuf.ByteString getSha256ChecksumBytes() { } } /** - * - * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; - * * @param value The sha256Checksum to set. * @return This builder for chaining. */ - public Builder setSha256Checksum(java.lang.String value) { + public Builder setSha256Checksum( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sha256Checksum_ = value; onChanged(); return this; } /** - * - * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; - * * @return This builder for chaining. */ public Builder clearSha256Checksum() { - + sha256Checksum_ = getDefaultInstance().getSha256Checksum(); onChanged(); return this; } /** - * - * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; - * * @param value The bytes for sha256Checksum to set. * @return This builder for chaining. */ - public Builder setSha256ChecksumBytes(com.google.protobuf.ByteString value) { + public Builder setSha256ChecksumBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sha256Checksum_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2685,32 +2399,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Remote parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Remote(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Remote parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Remote(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2722,99 +2434,82 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GcsOrBuilder - extends + public interface GcsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. Bucket of the Cloud Storage object.
          * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucket. */ java.lang.String getBucket(); /** - * - * *
          * Required. Bucket of the Cloud Storage object.
          * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucket. */ - com.google.protobuf.ByteString getBucketBytes(); + com.google.protobuf.ByteString + getBucketBytes(); /** - * - * *
          * Required. Name of the Cloud Storage object.
          * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The object. */ java.lang.String getObject(); /** - * - * *
          * Required. Name of the Cloud Storage object.
          * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for object. */ - com.google.protobuf.ByteString getObjectBytes(); + com.google.protobuf.ByteString + getObjectBytes(); /** - * - * *
          * Generation number of the Cloud Storage object.
          * 
* * int64 generation = 3; - * * @return The generation. */ long getGeneration(); } /** - * - * *
        * Specifies a file available as a Cloud Storage Object.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs} */ - public static final class Gcs extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Gcs extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) GcsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Gcs.newBuilder() to construct. private Gcs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Gcs() { bucket_ = ""; object_ = ""; @@ -2822,15 +2517,16 @@ private Gcs() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Gcs(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Gcs( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2849,32 +2545,30 @@ private Gcs( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - bucket_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + bucket_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - object_ = s; - break; - } - case 24: - { - generation_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + object_ = s; + break; + } + case 24: { + + generation_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2882,40 +2576,34 @@ private Gcs( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder.class); } public static final int BUCKET_FIELD_NUMBER = 1; private volatile java.lang.Object bucket_; /** - * - * *
          * Required. Bucket of the Cloud Storage object.
          * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucket. */ @java.lang.Override @@ -2924,29 +2612,29 @@ public java.lang.String getBucket() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; } } /** - * - * *
          * Required. Bucket of the Cloud Storage object.
          * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucket. */ @java.lang.Override - public com.google.protobuf.ByteString getBucketBytes() { + public com.google.protobuf.ByteString + getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bucket_ = b; return b; } else { @@ -2957,14 +2645,11 @@ public com.google.protobuf.ByteString getBucketBytes() { public static final int OBJECT_FIELD_NUMBER = 2; private volatile java.lang.Object object_; /** - * - * *
          * Required. Name of the Cloud Storage object.
          * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The object. */ @java.lang.Override @@ -2973,29 +2658,29 @@ public java.lang.String getObject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; } } /** - * - * *
          * Required. Name of the Cloud Storage object.
          * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for object. */ @java.lang.Override - public com.google.protobuf.ByteString getObjectBytes() { + public com.google.protobuf.ByteString + getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); object_ = b; return b; } else { @@ -3006,14 +2691,11 @@ public com.google.protobuf.ByteString getObjectBytes() { public static final int GENERATION_FIELD_NUMBER = 3; private long generation_; /** - * - * *
          * Generation number of the Cloud Storage object.
          * 
* * int64 generation = 3; - * * @return The generation. */ @java.lang.Override @@ -3022,7 +2704,6 @@ public long getGeneration() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3035,7 +2716,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucket_); } @@ -3061,7 +2742,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, object_); } if (generation_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, generation_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, generation_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3071,17 +2753,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs other = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) obj; - if (!getBucket().equals(other.getBucket())) return false; - if (!getObject().equals(other.getObject())) return false; - if (getGeneration() != other.getGeneration()) return false; + if (!getBucket() + .equals(other.getBucket())) return false; + if (!getObject() + .equals(other.getObject())) return false; + if (getGeneration() + != other.getGeneration()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3098,102 +2782,95 @@ public int hashCode() { hash = (37 * hash) + OBJECT_FIELD_NUMBER; hash = (53 * hash) + getObject().hashCode(); hash = (37 * hash) + GENERATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGeneration()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getGeneration()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs 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.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3203,32 +2880,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Specifies a file available as a Cloud Storage Object.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder.class); } // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.newBuilder() @@ -3236,15 +2908,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3258,14 +2931,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.getDefaultInstance(); } @@ -3280,8 +2952,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs build() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs result = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs(this); result.bucket_ = bucket_; result.object_ = object_; result.generation_ = generation_; @@ -3293,41 +2964,38 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.File.Gcs) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) other); + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs)other); } else { super.mergeFrom(other); return this; @@ -3335,9 +3003,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs other) { - if (other - == com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.getDefaultInstance()) return this; if (!other.getBucket().isEmpty()) { bucket_ = other.bucket_; onChanged(); @@ -3368,9 +3034,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3382,20 +3046,18 @@ public Builder mergeFrom( private java.lang.Object bucket_ = ""; /** - * - * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucket. */ public java.lang.String getBucket() { java.lang.Object ref = bucket_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; @@ -3404,21 +3066,20 @@ public java.lang.String getBucket() { } } /** - * - * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucket. */ - public com.google.protobuf.ByteString getBucketBytes() { + public com.google.protobuf.ByteString + getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bucket_ = b; return b; } else { @@ -3426,61 +3087,54 @@ public com.google.protobuf.ByteString getBucketBytes() { } } /** - * - * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bucket to set. * @return This builder for chaining. */ - public Builder setBucket(java.lang.String value) { + public Builder setBucket( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucket_ = value; onChanged(); return this; } /** - * - * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBucket() { - + bucket_ = getDefaultInstance().getBucket(); onChanged(); return this; } /** - * - * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for bucket to set. * @return This builder for chaining. */ - public Builder setBucketBytes(com.google.protobuf.ByteString value) { + public Builder setBucketBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucket_ = value; onChanged(); return this; @@ -3488,20 +3142,18 @@ public Builder setBucketBytes(com.google.protobuf.ByteString value) { private java.lang.Object object_ = ""; /** - * - * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The object. */ public java.lang.String getObject() { java.lang.Object ref = object_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; @@ -3510,21 +3162,20 @@ public java.lang.String getObject() { } } /** - * - * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for object. */ - public com.google.protobuf.ByteString getObjectBytes() { + public com.google.protobuf.ByteString + getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); object_ = b; return b; } else { @@ -3532,76 +3183,66 @@ public com.google.protobuf.ByteString getObjectBytes() { } } /** - * - * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The object to set. * @return This builder for chaining. */ - public Builder setObject(java.lang.String value) { + public Builder setObject( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + object_ = value; onChanged(); return this; } /** - * - * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearObject() { - + object_ = getDefaultInstance().getObject(); onChanged(); return this; } /** - * - * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for object to set. * @return This builder for chaining. */ - public Builder setObjectBytes(com.google.protobuf.ByteString value) { + public Builder setObjectBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + object_ = value; onChanged(); return this; } - private long generation_; + private long generation_ ; /** - * - * *
            * Generation number of the Cloud Storage object.
            * 
* * int64 generation = 3; - * * @return The generation. */ @java.lang.Override @@ -3609,41 +3250,34 @@ public long getGeneration() { return generation_; } /** - * - * *
            * Generation number of the Cloud Storage object.
            * 
* * int64 generation = 3; - * * @param value The generation to set. * @return This builder for chaining. */ public Builder setGeneration(long value) { - + generation_ = value; onChanged(); return this; } /** - * - * *
            * Generation number of the Cloud Storage object.
            * 
* * int64 generation = 3; - * * @return This builder for chaining. */ public Builder clearGeneration() { - + generation_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3656,13 +3290,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs(); } @@ -3671,16 +3304,16 @@ public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Gcs parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Gcs(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Gcs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Gcs(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3695,21 +3328,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int typeCase_ = 0; private java.lang.Object type_; - public enum TypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { REMOTE(1), GCS(2), LOCAL_PATH(3), TYPE_NOT_SET(0); private final int value; - private TypeCase(int value) { this.value = value; } @@ -3725,38 +3356,31 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 1: - return REMOTE; - case 2: - return GCS; - case 3: - return LOCAL_PATH; - case 0: - return TYPE_NOT_SET; - default: - return null; + case 1: return REMOTE; + case 2: return GCS; + case 3: return LOCAL_PATH; + case 0: return TYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TypeCase getTypeCase() { - return TypeCase.forNumber(typeCase_); + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); } public static final int REMOTE_FIELD_NUMBER = 1; /** - * - * *
        * A generic remote file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; - * * @return Whether the remote field is set. */ @java.lang.Override @@ -3764,26 +3388,21 @@ public boolean hasRemote() { return typeCase_ == 1; } /** - * - * *
        * A generic remote file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; - * * @return The remote. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote getRemote() { if (typeCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.getDefaultInstance(); } /** - * - * *
        * A generic remote file.
        * 
@@ -3791,24 +3410,20 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote getRemote() { * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder - getRemoteOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder getRemoteOrBuilder() { if (typeCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.getDefaultInstance(); } public static final int GCS_FIELD_NUMBER = 2; /** - * - * *
        * A Cloud Storage object.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs gcs = 2; - * * @return Whether the gcs field is set. */ @java.lang.Override @@ -3816,26 +3431,21 @@ public boolean hasGcs() { return typeCase_ == 2; } /** - * - * *
        * A Cloud Storage object.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs gcs = 2; - * * @return The gcs. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs getGcs() { if (typeCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.getDefaultInstance(); } /** - * - * *
        * A Cloud Storage object.
        * 
@@ -3845,35 +3455,29 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs getGcs() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder getGcsOrBuilder() { if (typeCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.getDefaultInstance(); } public static final int LOCAL_PATH_FIELD_NUMBER = 3; /** - * - * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; - * * @return Whether the localPath field is set. */ public boolean hasLocalPath() { return typeCase_ == 3; } /** - * - * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; - * * @return The localPath. */ public java.lang.String getLocalPath() { @@ -3884,7 +3488,8 @@ public java.lang.String getLocalPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (typeCase_ == 3) { type_ = s; @@ -3893,24 +3498,23 @@ public java.lang.String getLocalPath() { } } /** - * - * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; - * * @return The bytes for localPath. */ - public com.google.protobuf.ByteString getLocalPathBytes() { + public com.google.protobuf.ByteString + getLocalPathBytes() { java.lang.Object ref = ""; if (typeCase_ == 3) { ref = type_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (typeCase_ == 3) { type_ = b; } @@ -3923,8 +3527,6 @@ public com.google.protobuf.ByteString getLocalPathBytes() { public static final int ALLOW_INSECURE_FIELD_NUMBER = 4; private boolean allowInsecure_; /** - * - * *
        * Defaults to false. When false, files are subject to validations
        * based on the file type:
@@ -3933,7 +3535,6 @@ public com.google.protobuf.ByteString getLocalPathBytes() {
        * 
* * bool allow_insecure = 4; - * * @return The allowInsecure. */ @java.lang.Override @@ -3942,7 +3543,6 @@ public boolean getAllowInsecure() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3954,10 +3554,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (typeCase_ == 1) { - output.writeMessage( - 1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_); + output.writeMessage(1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_); } if (typeCase_ == 2) { output.writeMessage(2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_); @@ -3978,20 +3578,19 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_); } if (typeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_); } if (typeCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); } if (allowInsecure_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowInsecure_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, allowInsecure_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4001,25 +3600,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.File)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.File other = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) obj; - if (getAllowInsecure() != other.getAllowInsecure()) return false; + if (getAllowInsecure() + != other.getAllowInsecure()) return false; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (!getRemote().equals(other.getRemote())) return false; + if (!getRemote() + .equals(other.getRemote())) return false; break; case 2: - if (!getGcs().equals(other.getGcs())) return false; + if (!getGcs() + .equals(other.getGcs())) return false; break; case 3: - if (!getLocalPath().equals(other.getLocalPath())) return false; + if (!getLocalPath() + .equals(other.getLocalPath())) return false; break; case 0: default: @@ -4036,7 +3638,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_INSECURE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowInsecure()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowInsecure()); switch (typeCase_) { case 1: hash = (37 * hash) + REMOTE_FIELD_NUMBER; @@ -4059,94 +3662,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File 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.osconfig.v1.OSPolicy.Resource.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4156,32 +3752,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A remote or local file.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.File} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.File) com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder.class); } // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder() @@ -4189,15 +3780,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -4209,9 +3801,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor; } @java.lang.Override @@ -4230,8 +3822,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File build() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File result = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.File(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.File(this); if (typeCase_ == 1) { if (remoteBuilder_ == null) { result.type_ = type_; @@ -4259,41 +3850,38 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.File) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File) other); + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File)other); } else { super.mergeFrom(other); return this; @@ -4301,33 +3889,28 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.File other) { - if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance()) return this; if (other.getAllowInsecure() != false) { setAllowInsecure(other.getAllowInsecure()); } switch (other.getTypeCase()) { - case REMOTE: - { - mergeRemote(other.getRemote()); - break; - } - case GCS: - { - mergeGcs(other.getGcs()); - break; - } - case LOCAL_PATH: - { - typeCase_ = 3; - type_ = other.type_; - onChanged(); - break; - } - case TYPE_NOT_SET: - { - break; - } + case REMOTE: { + mergeRemote(other.getRemote()); + break; + } + case GCS: { + mergeGcs(other.getGcs()); + break; + } + case LOCAL_PATH: { + typeCase_ = 3; + type_ = other.type_; + onChanged(); + break; + } + case TYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -4348,8 +3931,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4358,12 +3940,12 @@ public Builder mergeFrom( } return this; } - private int typeCase_ = 0; private java.lang.Object type_; - - public TypeCase getTypeCase() { - return TypeCase.forNumber(typeCase_); + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); } public Builder clearType() { @@ -4373,20 +3955,15 @@ public Builder clearType() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder> - remoteBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder> remoteBuilder_; /** - * - * *
          * A generic remote file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; - * * @return Whether the remote field is set. */ @java.lang.Override @@ -4394,14 +3971,11 @@ public boolean hasRemote() { return typeCase_ == 1; } /** - * - * *
          * A generic remote file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; - * * @return The remote. */ @java.lang.Override @@ -4419,8 +3993,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote getRemote() { } } /** - * - * *
          * A generic remote file.
          * 
@@ -4441,8 +4013,6 @@ public Builder setRemote(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Rem return this; } /** - * - * *
          * A generic remote file.
          * 
@@ -4461,26 +4031,18 @@ public Builder setRemote( return this; } /** - * - * *
          * A generic remote file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; */ - public Builder mergeRemote( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote value) { + public Builder mergeRemote(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote value) { if (remoteBuilder_ == null) { - if (typeCase_ == 1 - && type_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote - .getDefaultInstance()) { - type_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.newBuilder( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 1 && + type_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.getDefaultInstance()) { + type_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -4496,8 +4058,6 @@ public Builder mergeRemote( return this; } /** - * - * *
          * A generic remote file.
          * 
@@ -4521,21 +4081,16 @@ public Builder clearRemote() { return this; } /** - * - * *
          * A generic remote file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder - getRemoteBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder getRemoteBuilder() { return getRemoteFieldBuilder().getBuilder(); } /** - * - * *
          * A generic remote file.
          * 
@@ -4543,8 +4098,7 @@ public Builder clearRemote() { * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder - getRemoteOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder getRemoteOrBuilder() { if ((typeCase_ == 1) && (remoteBuilder_ != null)) { return remoteBuilder_.getMessageOrBuilder(); } else { @@ -4555,8 +4109,6 @@ public Builder clearRemote() { } } /** - * - * *
          * A generic remote file.
          * 
@@ -4564,45 +4116,32 @@ public Builder clearRemote() { * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder> getRemoteFieldBuilder() { if (remoteBuilder_ == null) { if (!(typeCase_ == 1)) { - type_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.getDefaultInstance(); - } - remoteBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder>( + type_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.getDefaultInstance(); + } + remoteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder>( (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; - onChanged(); - ; + onChanged();; return remoteBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder> - gcsBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder> gcsBuilder_; /** - * - * *
          * A Cloud Storage object.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs gcs = 2; - * * @return Whether the gcs field is set. */ @java.lang.Override @@ -4610,14 +4149,11 @@ public boolean hasGcs() { return typeCase_ == 2; } /** - * - * *
          * A Cloud Storage object.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs gcs = 2; - * * @return The gcs. */ @java.lang.Override @@ -4635,8 +4171,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs getGcs() { } } /** - * - * *
          * A Cloud Storage object.
          * 
@@ -4657,8 +4191,6 @@ public Builder setGcs(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs va return this; } /** - * - * *
          * A Cloud Storage object.
          * 
@@ -4677,8 +4209,6 @@ public Builder setGcs( return this; } /** - * - * *
          * A Cloud Storage object.
          * 
@@ -4687,15 +4217,10 @@ public Builder setGcs( */ public Builder mergeGcs(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs value) { if (gcsBuilder_ == null) { - if (typeCase_ == 2 - && type_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs - .getDefaultInstance()) { - type_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.newBuilder( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 2 && + type_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.getDefaultInstance()) { + type_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -4711,8 +4236,6 @@ public Builder mergeGcs(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs return this; } /** - * - * *
          * A Cloud Storage object.
          * 
@@ -4736,8 +4259,6 @@ public Builder clearGcs() { return this; } /** - * - * *
          * A Cloud Storage object.
          * 
@@ -4748,8 +4269,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder getGcsBui return getGcsFieldBuilder().getBuilder(); } /** - * - * *
          * A Cloud Storage object.
          * 
@@ -4768,8 +4287,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder getGcsOr } } /** - * - * *
          * A Cloud Storage object.
          * 
@@ -4777,39 +4294,30 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder getGcsOr * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs gcs = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder> getGcsFieldBuilder() { if (gcsBuilder_ == null) { if (!(typeCase_ == 2)) { type_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.getDefaultInstance(); } - gcsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder>( + gcsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder>( (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 2; - onChanged(); - ; + onChanged();; return gcsBuilder_; } /** - * - * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; - * * @return Whether the localPath field is set. */ @java.lang.Override @@ -4817,14 +4325,11 @@ public boolean hasLocalPath() { return typeCase_ == 3; } /** - * - * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; - * * @return The localPath. */ @java.lang.Override @@ -4834,7 +4339,8 @@ public java.lang.String getLocalPath() { ref = type_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (typeCase_ == 3) { type_ = s; @@ -4845,25 +4351,24 @@ public java.lang.String getLocalPath() { } } /** - * - * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; - * * @return The bytes for localPath. */ @java.lang.Override - public com.google.protobuf.ByteString getLocalPathBytes() { + public com.google.protobuf.ByteString + getLocalPathBytes() { java.lang.Object ref = ""; if (typeCase_ == 3) { ref = type_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (typeCase_ == 3) { type_ = b; } @@ -4873,35 +4378,30 @@ public com.google.protobuf.ByteString getLocalPathBytes() { } } /** - * - * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; - * * @param value The localPath to set. * @return This builder for chaining. */ - public Builder setLocalPath(java.lang.String value) { + public Builder setLocalPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - typeCase_ = 3; + throw new NullPointerException(); + } + typeCase_ = 3; type_ = value; onChanged(); return this; } /** - * - * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; - * * @return This builder for chaining. */ public Builder clearLocalPath() { @@ -4913,32 +4413,28 @@ public Builder clearLocalPath() { return this; } /** - * - * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; - * * @param value The bytes for localPath to set. * @return This builder for chaining. */ - public Builder setLocalPathBytes(com.google.protobuf.ByteString value) { + public Builder setLocalPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); typeCase_ = 3; type_ = value; onChanged(); return this; } - private boolean allowInsecure_; + private boolean allowInsecure_ ; /** - * - * *
          * Defaults to false. When false, files are subject to validations
          * based on the file type:
@@ -4947,7 +4443,6 @@ public Builder setLocalPathBytes(com.google.protobuf.ByteString value) {
          * 
* * bool allow_insecure = 4; - * * @return The allowInsecure. */ @java.lang.Override @@ -4955,8 +4450,6 @@ public boolean getAllowInsecure() { return allowInsecure_; } /** - * - * *
          * Defaults to false. When false, files are subject to validations
          * based on the file type:
@@ -4965,19 +4458,16 @@ public boolean getAllowInsecure() {
          * 
* * bool allow_insecure = 4; - * * @param value The allowInsecure to set. * @return This builder for chaining. */ public Builder setAllowInsecure(boolean value) { - + allowInsecure_ = value; onChanged(); return this; } /** - * - * *
          * Defaults to false. When false, files are subject to validations
          * based on the file type:
@@ -4986,16 +4476,14 @@ public Builder setAllowInsecure(boolean value) {
          * 
* * bool allow_insecure = 4; - * * @return This builder for chaining. */ public Builder clearAllowInsecure() { - + allowInsecure_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5008,12 +4496,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.File) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.File) private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.File DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.File(); } @@ -5022,16 +4510,16 @@ public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5046,69 +4534,51 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PackageResourceOrBuilder - extends + public interface PackageResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Required. The desired state the agent should maintain for this package.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for desiredState. */ int getDesiredStateValue(); /** - * - * *
        * Required. The desired state the agent should maintain for this package.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The desiredState. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState getDesiredState(); /** - * - * *
        * A package managed by Apt.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; - * * @return Whether the apt field is set. */ boolean hasApt(); /** - * - * *
        * A package managed by Apt.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; - * * @return The apt. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT getApt(); /** - * - * *
        * A package managed by Apt.
        * 
@@ -5118,32 +4588,24 @@ public interface PackageResourceOrBuilder com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder getAptOrBuilder(); /** - * - * *
        * A deb package file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; - * * @return Whether the deb field is set. */ boolean hasDeb(); /** - * - * *
        * A deb package file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; - * * @return The deb. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb getDeb(); /** - * - * *
        * A deb package file.
        * 
@@ -5153,32 +4615,24 @@ public interface PackageResourceOrBuilder com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder getDebOrBuilder(); /** - * - * *
        * A package managed by YUM.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; - * * @return Whether the yum field is set. */ boolean hasYum(); /** - * - * *
        * A package managed by YUM.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; - * * @return The yum. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM getYum(); /** - * - * *
        * A package managed by YUM.
        * 
@@ -5188,68 +4642,51 @@ public interface PackageResourceOrBuilder com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder getYumOrBuilder(); /** - * - * *
        * A package managed by Zypper.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * * @return Whether the zypper field is set. */ boolean hasZypper(); /** - * - * *
        * A package managed by Zypper.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * * @return The zypper. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper getZypper(); /** - * - * *
        * A package managed by Zypper.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder - getZypperOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder getZypperOrBuilder(); /** - * - * *
        * An rpm package file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; - * * @return Whether the rpm field is set. */ boolean hasRpm(); /** - * - * *
        * An rpm package file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; - * * @return The rpm. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM getRpm(); /** - * - * *
        * An rpm package file.
        * 
@@ -5259,68 +4696,51 @@ public interface PackageResourceOrBuilder com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder getRpmOrBuilder(); /** - * - * *
        * A package managed by GooGet.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * * @return Whether the googet field is set. */ boolean hasGooget(); /** - * - * *
        * A package managed by GooGet.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * * @return The googet. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet getGooget(); /** - * - * *
        * A package managed by GooGet.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder - getGoogetOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder getGoogetOrBuilder(); /** - * - * *
        * An MSI package.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; - * * @return Whether the msi field is set. */ boolean hasMsi(); /** - * - * *
        * An MSI package.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; - * * @return The msi. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI getMsi(); /** - * - * *
        * An MSI package.
        * 
@@ -5329,43 +4749,40 @@ public interface PackageResourceOrBuilder */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder getMsiOrBuilder(); - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.SystemPackageCase - getSystemPackageCase(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.SystemPackageCase getSystemPackageCase(); } /** - * - * *
      * A resource that manages a system package.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource} */ - public static final class PackageResource extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PackageResource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) PackageResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PackageResource.newBuilder() to construct. private PackageResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PackageResource() { desiredState_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PackageResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PackageResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5384,188 +4801,117 @@ private PackageResource( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - desiredState_ = rawValue; - break; + desiredState_ = rawValue; + break; + } + case 18: { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder subBuilder = null; + if (systemPackageCase_ == 2) { + subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_).toBuilder(); } - case 18: - { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder - subBuilder = null; - if (systemPackageCase_ == 2) { - subBuilder = - ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) - systemPackage_) - .toBuilder(); - } - systemPackage_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) - systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 2; - break; + systemPackage_ = + input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_); + systemPackage_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder - subBuilder = null; - if (systemPackageCase_ == 3) { - subBuilder = - ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) - systemPackage_) - .toBuilder(); - } - systemPackage_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) - systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 3; - break; + systemPackageCase_ = 2; + break; + } + case 26: { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder subBuilder = null; + if (systemPackageCase_ == 3) { + subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_).toBuilder(); } - case 34: - { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder - subBuilder = null; - if (systemPackageCase_ == 4) { - subBuilder = - ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) - systemPackage_) - .toBuilder(); - } - systemPackage_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) - systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 4; - break; + systemPackage_ = + input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_); + systemPackage_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder - subBuilder = null; - if (systemPackageCase_ == 5) { - subBuilder = - ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) - systemPackage_) - .toBuilder(); - } - systemPackage_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) - systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 5; - break; + systemPackageCase_ = 3; + break; + } + case 34: { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder subBuilder = null; + if (systemPackageCase_ == 4) { + subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_).toBuilder(); } - case 50: - { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder - subBuilder = null; - if (systemPackageCase_ == 6) { - subBuilder = - ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) - systemPackage_) - .toBuilder(); - } - systemPackage_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) - systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 6; - break; + systemPackage_ = + input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_); + systemPackage_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder - subBuilder = null; - if (systemPackageCase_ == 7) { - subBuilder = - ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) - systemPackage_) - .toBuilder(); - } - systemPackage_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) - systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 7; - break; + systemPackageCase_ = 4; + break; + } + case 42: { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder subBuilder = null; + if (systemPackageCase_ == 5) { + subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_).toBuilder(); } - case 66: - { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder - subBuilder = null; - if (systemPackageCase_ == 8) { - subBuilder = - ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) - systemPackage_) - .toBuilder(); - } - systemPackage_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) - systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 8; - break; + systemPackage_ = + input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_); + systemPackage_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + systemPackageCase_ = 5; + break; + } + case 50: { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder subBuilder = null; + if (systemPackageCase_ == 6) { + subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_).toBuilder(); + } + systemPackage_ = + input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_); + systemPackage_ = subBuilder.buildPartial(); + } + systemPackageCase_ = 6; + break; + } + case 58: { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder subBuilder = null; + if (systemPackageCase_ == 7) { + subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_).toBuilder(); + } + systemPackage_ = + input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_); + systemPackage_ = subBuilder.buildPartial(); + } + systemPackageCase_ = 7; + break; + } + case 66: { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder subBuilder = null; + if (systemPackageCase_ == 8) { + subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_).toBuilder(); + } + systemPackage_ = + input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_); + systemPackage_ = subBuilder.buildPartial(); + } + systemPackageCase_ = 8; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5573,43 +4919,36 @@ private PackageResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder.class); } /** - * - * *
        * The desired state that the OS Config agent maintains on the VM.
        * 
* - * Protobuf enum {@code - * google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState} + * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState} */ - public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { + public enum DesiredState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * Unspecified is invalid.
          * 
@@ -5618,8 +4957,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ DESIRED_STATE_UNSPECIFIED(0), /** - * - * *
          * Ensure that the package is installed.
          * 
@@ -5628,8 +4965,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ INSTALLED(1), /** - * - * *
          * The agent ensures that the package is not installed and
          * uninstalls it if detected.
@@ -5642,8 +4977,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum {
         ;
 
         /**
-         *
-         *
          * 
          * Unspecified is invalid.
          * 
@@ -5652,8 +4985,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DESIRED_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
          * Ensure that the package is installed.
          * 
@@ -5662,8 +4993,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTALLED_VALUE = 1; /** - * - * *
          * The agent ensures that the package is not installed and
          * uninstalls it if detected.
@@ -5673,6 +5002,7 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum {
          */
         public static final int REMOVED_VALUE = 2;
 
+
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -5697,45 +5027,40 @@ public static DesiredState valueOf(int value) {
          */
         public static DesiredState forNumber(int value) {
           switch (value) {
-            case 0:
-              return DESIRED_STATE_UNSPECIFIED;
-            case 1:
-              return INSTALLED;
-            case 2:
-              return REMOVED;
-            default:
-              return null;
+            case 0: return DESIRED_STATE_UNSPECIFIED;
+            case 1: return INSTALLED;
+            case 2: return REMOVED;
+            default: return null;
           }
         }
 
-        public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+        public static com.google.protobuf.Internal.EnumLiteMap
+            internalGetValueMap() {
           return internalValueMap;
         }
+        private static final com.google.protobuf.Internal.EnumLiteMap<
+            DesiredState> internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap() {
+                public DesiredState findValueByNumber(int number) {
+                  return DesiredState.forNumber(number);
+                }
+              };
 
-        private static final com.google.protobuf.Internal.EnumLiteMap
-            internalValueMap =
-                new com.google.protobuf.Internal.EnumLiteMap() {
-                  public DesiredState findValueByNumber(int number) {
-                    return DesiredState.forNumber(number);
-                  }
-                };
-
-        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+        public final com.google.protobuf.Descriptors.EnumValueDescriptor
+            getValueDescriptor() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalStateException(
                 "Can't get the descriptor of an unrecognized enum value.");
           }
           return getDescriptor().getValues().get(ordinal());
         }
-
-        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+        public final com.google.protobuf.Descriptors.EnumDescriptor
+            getDescriptorForType() {
           return getDescriptor();
         }
-
-        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDescriptor()
-              .getEnumTypes()
-              .get(0);
+        public static final com.google.protobuf.Descriptors.EnumDescriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDescriptor().getEnumTypes().get(0);
         }
 
         private static final DesiredState[] VALUES = values();
@@ -5744,7 +5069,7 @@ public static DesiredState valueOf(
             com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
           if (desc.getType() != getDescriptor()) {
             throw new java.lang.IllegalArgumentException(
-                "EnumValueDescriptor is not for this type.");
+              "EnumValueDescriptor is not for this type.");
           }
           if (desc.getIndex() == -1) {
             return UNRECOGNIZED;
@@ -5761,55 +5086,38 @@ private DesiredState(int value) {
         // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState)
       }
 
-      public interface DebOrBuilder
-          extends
+      public interface DebOrBuilder extends
           // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb)
           com.google.protobuf.MessageOrBuilder {
 
         /**
-         *
-         *
          * 
          * Required. A deb package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ boolean hasSource(); /** - * - * *
          * Required. A deb package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.File getSource(); /** - * - * *
          * Required. A deb package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder(); /** - * - * *
          * Whether dependencies should also be installed.
          * - install when false: `dpkg -i package`
@@ -5818,43 +5126,41 @@ public interface DebOrBuilder
          * 
* * bool pull_deps = 2; - * * @return The pullDeps. */ boolean getPullDeps(); } /** - * - * *
        * A deb package file. dpkg packages only support INSTALLED state.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb} */ - public static final class Deb extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Deb extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) DebOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Deb.newBuilder() to construct. private Deb(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Deb() {} + private Deb() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Deb(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Deb( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5873,35 +5179,31 @@ private Deb( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; - if (source_ != null) { - subBuilder = source_.toBuilder(); - } - source_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(source_); - source_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; + if (source_ != null) { + subBuilder = source_.toBuilder(); } - case 16: - { - pullDeps_ = input.readBool(); - break; + source_ = input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 16: { + + pullDeps_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5909,42 +5211,34 @@ private Deb( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder.class); } public static final int SOURCE_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1.OSPolicy.Resource.File source_; /** - * - * *
          * Required. A deb package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ @java.lang.Override @@ -5952,34 +5246,23 @@ public boolean hasSource() { return source_ != null; } /** - * - * *
          * Required. A deb package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getSource() { - return source_ == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() : source_; } /** - * - * *
          * Required. A deb package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { @@ -5989,8 +5272,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrB public static final int PULL_DEPS_FIELD_NUMBER = 2; private boolean pullDeps_; /** - * - * *
          * Whether dependencies should also be installed.
          * - install when false: `dpkg -i package`
@@ -5999,7 +5280,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrB
          * 
* * bool pull_deps = 2; - * * @return The pullDeps. */ @java.lang.Override @@ -6008,7 +5288,6 @@ public boolean getPullDeps() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6021,7 +5300,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (source_ != null) { output.writeMessage(1, getSource()); } @@ -6038,10 +5317,12 @@ public int getSerializedSize() { size = 0; if (source_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSource()); } if (pullDeps_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, pullDeps_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, pullDeps_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6051,20 +5332,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb other = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) obj; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource().equals(other.getSource())) return false; + if (!getSource() + .equals(other.getSource())) return false; } - if (getPullDeps() != other.getPullDeps()) return false; + if (getPullDeps() + != other.getPullDeps()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6081,104 +5362,95 @@ public int hashCode() { hash = (53 * hash) + getSource().hashCode(); } hash = (37 * hash) + PULL_DEPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPullDeps()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPullDeps()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb 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.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb - 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.osconfig.v1.OSPolicy.Resource.PackageResource.Deb 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.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6188,50 +5460,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * A deb package file. dpkg packages only support INSTALLED state.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder - .class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.newBuilder() + // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -6247,22 +5513,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb build() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb result = - buildPartial(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -6271,8 +5534,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb build( @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb result = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb(this); if (sourceBuilder_ == null) { result.source_ = source_; } else { @@ -6287,54 +5549,46 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) { - return mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) other); + if (other instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) { + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb other) { - if (other - == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb other) { + if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance()) return this; if (other.hasSource()) { mergeSource(other.getSource()); } @@ -6360,9 +5614,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6374,58 +5626,39 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1.OSPolicy.Resource.File source_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> - sourceBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> sourceBuilder_; /** - * - * *
            * Required. A deb package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ public boolean hasSource() { return sourceBuilder_ != null || source_ != null; } /** - * - * *
            * Required. A deb package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getSource() { if (sourceBuilder_ == null) { - return source_ == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() : source_; } else { return sourceBuilder_.getMessage(); } } /** - * - * *
            * Required. A deb package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { @@ -6441,15 +5674,11 @@ public Builder setSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File val return this; } /** - * - * *
            * Required. A deb package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSource( com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder builderForValue) { @@ -6463,23 +5692,17 @@ public Builder setSource( return this; } /** - * - * *
            * Required. A deb package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { if (source_ != null) { source_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder(source_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder(source_).mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -6491,15 +5714,11 @@ public Builder mergeSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File v return this; } /** - * - * *
            * Required. A deb package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSource() { if (sourceBuilder_ == null) { @@ -6513,73 +5732,55 @@ public Builder clearSource() { return this; } /** - * - * *
            * Required. A deb package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder getSourceBuilder() { - + onChanged(); return getSourceFieldBuilder().getBuilder(); } /** - * - * *
            * Required. A deb package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() - : source_; + return source_ == null ? + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() : source_; } } /** - * - * *
            * Required. A deb package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( - getSource(), getParentForChildren(), isClean()); + sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( + getSource(), + getParentForChildren(), + isClean()); source_ = null; } return sourceBuilder_; } - private boolean pullDeps_; + private boolean pullDeps_ ; /** - * - * *
            * Whether dependencies should also be installed.
            * - install when false: `dpkg -i package`
@@ -6588,7 +5789,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrB
            * 
* * bool pull_deps = 2; - * * @return The pullDeps. */ @java.lang.Override @@ -6596,8 +5796,6 @@ public boolean getPullDeps() { return pullDeps_; } /** - * - * *
            * Whether dependencies should also be installed.
            * - install when false: `dpkg -i package`
@@ -6606,19 +5804,16 @@ public boolean getPullDeps() {
            * 
* * bool pull_deps = 2; - * * @param value The pullDeps to set. * @return This builder for chaining. */ public Builder setPullDeps(boolean value) { - + pullDeps_ = value; onChanged(); return this; } /** - * - * *
            * Whether dependencies should also be installed.
            * - install when false: `dpkg -i package`
@@ -6627,16 +5822,14 @@ public Builder setPullDeps(boolean value) {
            * 
* * bool pull_deps = 2; - * * @return This builder for chaining. */ public Builder clearPullDeps() { - + pullDeps_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6649,33 +5842,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Deb parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Deb(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Deb parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Deb(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6687,45 +5877,37 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface APTOrBuilder - extends + public interface APTOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
        * A package managed by APT.
        * - install: `apt-get update && apt-get -y install [name]`
@@ -6734,31 +5916,31 @@ public interface APTOrBuilder
        *
        * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT}
        */
-      public static final class APT extends com.google.protobuf.GeneratedMessageV3
-          implements
+      public static final class APT extends
+          com.google.protobuf.GeneratedMessageV3 implements
           // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT)
           APTOrBuilder {
-        private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
         // Use APT.newBuilder() to construct.
         private APT(com.google.protobuf.GeneratedMessageV3.Builder builder) {
           super(builder);
         }
-
         private APT() {
           name_ = "";
         }
 
         @java.lang.Override
         @SuppressWarnings({"unused"})
-        protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+        protected java.lang.Object newInstance(
+            UnusedPrivateParameter unused) {
           return new APT();
         }
 
         @java.lang.Override
-        public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+        public final com.google.protobuf.UnknownFieldSet
+        getUnknownFields() {
           return this.unknownFields;
         }
-
         private APT(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -6777,20 +5959,19 @@ private APT(
                 case 0:
                   done = true;
                   break;
-                case 10:
-                  {
-                    java.lang.String s = input.readStringRequireUtf8();
+                case 10: {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                    name_ = s;
-                    break;
-                  }
-                default:
-                  {
-                    if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                      done = true;
-                    }
-                    break;
+                  name_ = s;
+                  break;
+                }
+                default: {
+                  if (!parseUnknownField(
+                      input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
                   }
+                  break;
+                }
               }
             }
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6798,40 +5979,34 @@ private APT(
           } catch (com.google.protobuf.UninitializedMessageException e) {
             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(this);
+            throw new com.google.protobuf.InvalidProtocolBufferException(
+                e).setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
-
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto
-              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto
-              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable
+          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.class,
-                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder.class);
+                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder.class);
         }
 
         public static final int NAME_FIELD_NUMBER = 1;
         private volatile java.lang.Object name_;
         /**
-         *
-         *
          * 
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -6840,29 +6015,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -6871,7 +6046,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6884,7 +6058,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -6908,16 +6082,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT other = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6937,97 +6110,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT 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.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT - 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.osconfig.v1.OSPolicy.Resource.PackageResource.APT 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.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7037,8 +6200,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * A package managed by APT.
          * - install: `apt-get update && apt-get -y install [name]`
@@ -7047,43 +6208,38 @@ protected Builder newBuilderForType(
          *
          * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT}
          */
-        public static final class Builder
-            extends com.google.protobuf.GeneratedMessageV3.Builder
-            implements
+        public static final class Builder extends
+            com.google.protobuf.GeneratedMessageV3.Builder implements
             // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT)
             com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder {
-          public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto
-                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor;
+          public static final com.google.protobuf.Descriptors.Descriptor
+              getDescriptor() {
+            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor;
           }
 
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto
-                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable
+            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
-                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.class,
-                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT
-                        .Builder
-                        .class);
+                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder.class);
           }
 
-          // Construct using
-          // com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.newBuilder()
+          // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.newBuilder()
           private Builder() {
             maybeForceBuilderInitialization();
           }
 
-          private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+          private Builder(
+              com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
             super(parent);
             maybeForceBuilderInitialization();
           }
-
           private void maybeForceBuilderInitialization() {
-            if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+            if (com.google.protobuf.GeneratedMessageV3
+                    .alwaysUseFieldBuilders) {
+            }
           }
-
           @java.lang.Override
           public Builder clear() {
             super.clear();
@@ -7093,22 +6249,19 @@ public Builder clear() {
           }
 
           @java.lang.Override
-          public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto
-                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor;
+          public com.google.protobuf.Descriptors.Descriptor
+              getDescriptorForType() {
+            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor;
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT
-              getDefaultInstanceForType() {
-            return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT
-                .getDefaultInstance();
+          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT getDefaultInstanceForType() {
+            return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.getDefaultInstance();
           }
 
           @java.lang.Override
           public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT build() {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT result =
-                buildPartial();
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT result = buildPartial();
             if (!result.isInitialized()) {
               throw newUninitializedMessageException(result);
             }
@@ -7117,8 +6270,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT build(
 
           @java.lang.Override
           public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT buildPartial() {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT result =
-                new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT(this);
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT(this);
             result.name_ = name_;
             onBuilt();
             return result;
@@ -7128,54 +6280,46 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT buildP
           public Builder clone() {
             return super.clone();
           }
-
           @java.lang.Override
           public Builder setField(
-              com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+              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) {
+          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) {
+          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) {
+              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) {
+              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.osconfig.v1.OSPolicy.Resource.PackageResource.APT) {
-              return mergeFrom(
-                  (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) other);
+            if (other instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) {
+              return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT)other);
             } else {
               super.mergeFrom(other);
               return this;
             }
           }
 
-          public Builder mergeFrom(
-              com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT other) {
-            if (other
-                == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT
-                    .getDefaultInstance()) return this;
+          public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT other) {
+            if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.getDefaultInstance()) return this;
             if (!other.getName().isEmpty()) {
               name_ = other.name_;
               onChanged();
@@ -7199,9 +6343,7 @@ public Builder mergeFrom(
             try {
               parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              parsedMessage =
-                  (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT)
-                      e.getUnfinishedMessage();
+              parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) e.getUnfinishedMessage();
               throw e.unwrapIOException();
             } finally {
               if (parsedMessage != null) {
@@ -7213,20 +6355,18 @@ public Builder mergeFrom(
 
           private java.lang.Object name_ = "";
           /**
-           *
-           *
            * 
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -7235,21 +6375,20 @@ public java.lang.String getName() { } } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -7257,66 +6396,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7329,33 +6460,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public APT parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new APT(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public APT parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new APT(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7367,61 +6495,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface RPMOrBuilder - extends + public interface RPMOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. An rpm package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ boolean hasSource(); /** - * - * *
          * Required. An rpm package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.File getSource(); /** - * - * *
          * Required. An rpm package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder(); /** - * - * *
          * Whether dependencies should also be installed.
          * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -7430,43 +6541,41 @@ public interface RPMOrBuilder
          * 
* * bool pull_deps = 2; - * * @return The pullDeps. */ boolean getPullDeps(); } /** - * - * *
        * An RPM package file. RPM packages only support INSTALLED state.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM} */ - public static final class RPM extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class RPM extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) RPMOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RPM.newBuilder() to construct. private RPM(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RPM() {} + private RPM() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RPM(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RPM( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7485,35 +6594,31 @@ private RPM( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; - if (source_ != null) { - subBuilder = source_.toBuilder(); - } - source_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(source_); - source_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; + if (source_ != null) { + subBuilder = source_.toBuilder(); } - case 16: - { - pullDeps_ = input.readBool(); - break; + source_ = input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 16: { + + pullDeps_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7521,42 +6626,34 @@ private RPM( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder.class); } public static final int SOURCE_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1.OSPolicy.Resource.File source_; /** - * - * *
          * Required. An rpm package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ @java.lang.Override @@ -7564,34 +6661,23 @@ public boolean hasSource() { return source_ != null; } /** - * - * *
          * Required. An rpm package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getSource() { - return source_ == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() : source_; } /** - * - * *
          * Required. An rpm package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { @@ -7601,8 +6687,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrB public static final int PULL_DEPS_FIELD_NUMBER = 2; private boolean pullDeps_; /** - * - * *
          * Whether dependencies should also be installed.
          * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -7611,7 +6695,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrB
          * 
* * bool pull_deps = 2; - * * @return The pullDeps. */ @java.lang.Override @@ -7620,7 +6703,6 @@ public boolean getPullDeps() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7633,7 +6715,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (source_ != null) { output.writeMessage(1, getSource()); } @@ -7650,10 +6732,12 @@ public int getSerializedSize() { size = 0; if (source_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSource()); } if (pullDeps_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, pullDeps_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, pullDeps_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7663,20 +6747,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM other = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) obj; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource().equals(other.getSource())) return false; + if (!getSource() + .equals(other.getSource())) return false; } - if (getPullDeps() != other.getPullDeps()) return false; + if (getPullDeps() + != other.getPullDeps()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7693,104 +6777,95 @@ public int hashCode() { hash = (53 * hash) + getSource().hashCode(); } hash = (37 * hash) + PULL_DEPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPullDeps()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPullDeps()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM 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.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM - 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.osconfig.v1.OSPolicy.Resource.PackageResource.RPM 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.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7800,51 +6875,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * An RPM package file. RPM packages only support INSTALLED state.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM - .Builder - .class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.newBuilder() + // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -7860,22 +6928,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM build() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM result = - buildPartial(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -7884,8 +6949,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM build( @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM result = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM(this); if (sourceBuilder_ == null) { result.source_ = source_; } else { @@ -7900,54 +6964,46 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) { - return mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) other); + if (other instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) { + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM other) { - if (other - == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM other) { + if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance()) return this; if (other.hasSource()) { mergeSource(other.getSource()); } @@ -7973,9 +7029,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7987,58 +7041,39 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1.OSPolicy.Resource.File source_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> - sourceBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> sourceBuilder_; /** - * - * *
            * Required. An rpm package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ public boolean hasSource() { return sourceBuilder_ != null || source_ != null; } /** - * - * *
            * Required. An rpm package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getSource() { if (sourceBuilder_ == null) { - return source_ == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() : source_; } else { return sourceBuilder_.getMessage(); } } /** - * - * *
            * Required. An rpm package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { @@ -8054,15 +7089,11 @@ public Builder setSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File val return this; } /** - * - * *
            * Required. An rpm package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSource( com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder builderForValue) { @@ -8076,23 +7107,17 @@ public Builder setSource( return this; } /** - * - * *
            * Required. An rpm package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { if (source_ != null) { source_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder(source_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder(source_).mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -8104,15 +7129,11 @@ public Builder mergeSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File v return this; } /** - * - * *
            * Required. An rpm package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSource() { if (sourceBuilder_ == null) { @@ -8126,73 +7147,55 @@ public Builder clearSource() { return this; } /** - * - * *
            * Required. An rpm package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder getSourceBuilder() { - + onChanged(); return getSourceFieldBuilder().getBuilder(); } /** - * - * *
            * Required. An rpm package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() - : source_; + return source_ == null ? + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() : source_; } } /** - * - * *
            * Required. An rpm package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( - getSource(), getParentForChildren(), isClean()); + sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( + getSource(), + getParentForChildren(), + isClean()); source_ = null; } return sourceBuilder_; } - private boolean pullDeps_; + private boolean pullDeps_ ; /** - * - * *
            * Whether dependencies should also be installed.
            * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -8201,7 +7204,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrB
            * 
* * bool pull_deps = 2; - * * @return The pullDeps. */ @java.lang.Override @@ -8209,8 +7211,6 @@ public boolean getPullDeps() { return pullDeps_; } /** - * - * *
            * Whether dependencies should also be installed.
            * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -8219,19 +7219,16 @@ public boolean getPullDeps() {
            * 
* * bool pull_deps = 2; - * * @param value The pullDeps to set. * @return This builder for chaining. */ public Builder setPullDeps(boolean value) { - + pullDeps_ = value; onChanged(); return this; } /** - * - * *
            * Whether dependencies should also be installed.
            * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -8240,16 +7237,14 @@ public Builder setPullDeps(boolean value) {
            * 
* * bool pull_deps = 2; - * * @return This builder for chaining. */ public Builder clearPullDeps() { - + pullDeps_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8262,33 +7257,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RPM parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RPM(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RPM parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RPM(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8300,45 +7292,37 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface YUMOrBuilder - extends + public interface YUMOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
        * A package managed by YUM.
        * - install: `yum -y install package`
@@ -8347,31 +7331,31 @@ public interface YUMOrBuilder
        *
        * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM}
        */
-      public static final class YUM extends com.google.protobuf.GeneratedMessageV3
-          implements
+      public static final class YUM extends
+          com.google.protobuf.GeneratedMessageV3 implements
           // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM)
           YUMOrBuilder {
-        private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
         // Use YUM.newBuilder() to construct.
         private YUM(com.google.protobuf.GeneratedMessageV3.Builder builder) {
           super(builder);
         }
-
         private YUM() {
           name_ = "";
         }
 
         @java.lang.Override
         @SuppressWarnings({"unused"})
-        protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+        protected java.lang.Object newInstance(
+            UnusedPrivateParameter unused) {
           return new YUM();
         }
 
         @java.lang.Override
-        public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+        public final com.google.protobuf.UnknownFieldSet
+        getUnknownFields() {
           return this.unknownFields;
         }
-
         private YUM(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8390,20 +7374,19 @@ private YUM(
                 case 0:
                   done = true;
                   break;
-                case 10:
-                  {
-                    java.lang.String s = input.readStringRequireUtf8();
+                case 10: {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                    name_ = s;
-                    break;
-                  }
-                default:
-                  {
-                    if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                      done = true;
-                    }
-                    break;
+                  name_ = s;
+                  break;
+                }
+                default: {
+                  if (!parseUnknownField(
+                      input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
                   }
+                  break;
+                }
               }
             }
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8411,40 +7394,34 @@ private YUM(
           } catch (com.google.protobuf.UninitializedMessageException e) {
             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(this);
+            throw new com.google.protobuf.InvalidProtocolBufferException(
+                e).setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
-
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto
-              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto
-              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable
+          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.class,
-                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder.class);
+                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder.class);
         }
 
         public static final int NAME_FIELD_NUMBER = 1;
         private volatile java.lang.Object name_;
         /**
-         *
-         *
          * 
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -8453,29 +7430,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -8484,7 +7461,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8497,7 +7473,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -8521,16 +7497,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM other = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8550,97 +7525,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM 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.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM - 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.osconfig.v1.OSPolicy.Resource.PackageResource.YUM 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.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8650,8 +7615,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * A package managed by YUM.
          * - install: `yum -y install package`
@@ -8660,43 +7623,38 @@ protected Builder newBuilderForType(
          *
          * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM}
          */
-        public static final class Builder
-            extends com.google.protobuf.GeneratedMessageV3.Builder
-            implements
+        public static final class Builder extends
+            com.google.protobuf.GeneratedMessageV3.Builder implements
             // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM)
             com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder {
-          public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto
-                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor;
+          public static final com.google.protobuf.Descriptors.Descriptor
+              getDescriptor() {
+            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor;
           }
 
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto
-                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable
+            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
-                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.class,
-                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM
-                        .Builder
-                        .class);
+                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder.class);
           }
 
-          // Construct using
-          // com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.newBuilder()
+          // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.newBuilder()
           private Builder() {
             maybeForceBuilderInitialization();
           }
 
-          private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+          private Builder(
+              com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
             super(parent);
             maybeForceBuilderInitialization();
           }
-
           private void maybeForceBuilderInitialization() {
-            if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+            if (com.google.protobuf.GeneratedMessageV3
+                    .alwaysUseFieldBuilders) {
+            }
           }
-
           @java.lang.Override
           public Builder clear() {
             super.clear();
@@ -8706,22 +7664,19 @@ public Builder clear() {
           }
 
           @java.lang.Override
-          public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto
-                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor;
+          public com.google.protobuf.Descriptors.Descriptor
+              getDescriptorForType() {
+            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor;
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM
-              getDefaultInstanceForType() {
-            return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM
-                .getDefaultInstance();
+          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM getDefaultInstanceForType() {
+            return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance();
           }
 
           @java.lang.Override
           public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM build() {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM result =
-                buildPartial();
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM result = buildPartial();
             if (!result.isInitialized()) {
               throw newUninitializedMessageException(result);
             }
@@ -8730,8 +7685,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM build(
 
           @java.lang.Override
           public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM buildPartial() {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM result =
-                new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM(this);
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM(this);
             result.name_ = name_;
             onBuilt();
             return result;
@@ -8741,54 +7695,46 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM buildP
           public Builder clone() {
             return super.clone();
           }
-
           @java.lang.Override
           public Builder setField(
-              com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+              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) {
+          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) {
+          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) {
+              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) {
+              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.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) {
-              return mergeFrom(
-                  (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) other);
+            if (other instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) {
+              return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM)other);
             } else {
               super.mergeFrom(other);
               return this;
             }
           }
 
-          public Builder mergeFrom(
-              com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM other) {
-            if (other
-                == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM
-                    .getDefaultInstance()) return this;
+          public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM other) {
+            if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance()) return this;
             if (!other.getName().isEmpty()) {
               name_ = other.name_;
               onChanged();
@@ -8812,9 +7758,7 @@ public Builder mergeFrom(
             try {
               parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              parsedMessage =
-                  (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM)
-                      e.getUnfinishedMessage();
+              parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) e.getUnfinishedMessage();
               throw e.unwrapIOException();
             } finally {
               if (parsedMessage != null) {
@@ -8826,20 +7770,18 @@ public Builder mergeFrom(
 
           private java.lang.Object name_ = "";
           /**
-           *
-           *
            * 
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -8848,21 +7790,20 @@ public java.lang.String getName() { } } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -8870,66 +7811,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8942,33 +7875,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YUM parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YUM(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YUM parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YUM(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8980,45 +7910,37 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ZypperOrBuilder - extends + public interface ZypperOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
        * A package managed by Zypper.
        * - install: `zypper -y install package`
@@ -9027,31 +7949,31 @@ public interface ZypperOrBuilder
        *
        * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper}
        */
-      public static final class Zypper extends com.google.protobuf.GeneratedMessageV3
-          implements
+      public static final class Zypper extends
+          com.google.protobuf.GeneratedMessageV3 implements
           // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper)
           ZypperOrBuilder {
-        private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
         // Use Zypper.newBuilder() to construct.
         private Zypper(com.google.protobuf.GeneratedMessageV3.Builder builder) {
           super(builder);
         }
-
         private Zypper() {
           name_ = "";
         }
 
         @java.lang.Override
         @SuppressWarnings({"unused"})
-        protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+        protected java.lang.Object newInstance(
+            UnusedPrivateParameter unused) {
           return new Zypper();
         }
 
         @java.lang.Override
-        public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+        public final com.google.protobuf.UnknownFieldSet
+        getUnknownFields() {
           return this.unknownFields;
         }
-
         private Zypper(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -9070,20 +7992,19 @@ private Zypper(
                 case 0:
                   done = true;
                   break;
-                case 10:
-                  {
-                    java.lang.String s = input.readStringRequireUtf8();
+                case 10: {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                    name_ = s;
-                    break;
-                  }
-                default:
-                  {
-                    if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                      done = true;
-                    }
-                    break;
+                  name_ = s;
+                  break;
+                }
+                default: {
+                  if (!parseUnknownField(
+                      input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
                   }
+                  break;
+                }
               }
             }
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9091,41 +8012,34 @@ private Zypper(
           } catch (com.google.protobuf.UninitializedMessageException e) {
             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(this);
+            throw new com.google.protobuf.InvalidProtocolBufferException(
+                e).setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
-
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto
-              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto
-              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable
+          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.class,
-                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder
-                      .class);
+                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder.class);
         }
 
         public static final int NAME_FIELD_NUMBER = 1;
         private volatile java.lang.Object name_;
         /**
-         *
-         *
          * 
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -9134,29 +8048,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -9165,7 +8079,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9178,7 +8091,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -9202,16 +8115,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper other = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9230,105 +8142,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper 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.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper 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.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - 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.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper 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.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - 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.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper 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.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9338,8 +8233,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * A package managed by Zypper.
          * - install: `zypper -y install package`
@@ -9348,42 +8241,38 @@ protected Builder newBuilderForType(
          *
          * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper}
          */
-        public static final class Builder
-            extends com.google.protobuf.GeneratedMessageV3.Builder
-            implements
+        public static final class Builder extends
+            com.google.protobuf.GeneratedMessageV3.Builder implements
             // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper)
             com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder {
-          public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto
-                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor;
+          public static final com.google.protobuf.Descriptors.Descriptor
+              getDescriptor() {
+            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor;
           }
 
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto
-                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable
+            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
-                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.class,
-                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder
-                        .class);
+                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder.class);
           }
 
-          // Construct using
-          // com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.newBuilder()
+          // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.newBuilder()
           private Builder() {
             maybeForceBuilderInitialization();
           }
 
-          private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+          private Builder(
+              com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
             super(parent);
             maybeForceBuilderInitialization();
           }
-
           private void maybeForceBuilderInitialization() {
-            if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+            if (com.google.protobuf.GeneratedMessageV3
+                    .alwaysUseFieldBuilders) {
+            }
           }
-
           @java.lang.Override
           public Builder clear() {
             super.clear();
@@ -9393,22 +8282,19 @@ public Builder clear() {
           }
 
           @java.lang.Override
-          public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto
-                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor;
+          public com.google.protobuf.Descriptors.Descriptor
+              getDescriptorForType() {
+            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor;
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper
-              getDefaultInstanceForType() {
-            return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper
-                .getDefaultInstance();
+          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper getDefaultInstanceForType() {
+            return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance();
           }
 
           @java.lang.Override
           public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper build() {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper result =
-                buildPartial();
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper result = buildPartial();
             if (!result.isInitialized()) {
               throw newUninitializedMessageException(result);
             }
@@ -9416,10 +8302,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper bui
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper
-              buildPartial() {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper result =
-                new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper(this);
+          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper buildPartial() {
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper(this);
             result.name_ = name_;
             onBuilt();
             return result;
@@ -9429,54 +8313,46 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper bui
           public Builder clone() {
             return super.clone();
           }
-
           @java.lang.Override
           public Builder setField(
-              com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+              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) {
+          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) {
+          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) {
+              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) {
+              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.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) {
-              return mergeFrom(
-                  (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) other);
+            if (other instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) {
+              return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper)other);
             } else {
               super.mergeFrom(other);
               return this;
             }
           }
 
-          public Builder mergeFrom(
-              com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper other) {
-            if (other
-                == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper
-                    .getDefaultInstance()) return this;
+          public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper other) {
+            if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance()) return this;
             if (!other.getName().isEmpty()) {
               name_ = other.name_;
               onChanged();
@@ -9496,14 +8372,11 @@ public Builder mergeFrom(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws java.io.IOException {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parsedMessage =
-                null;
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parsedMessage = null;
             try {
               parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              parsedMessage =
-                  (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper)
-                      e.getUnfinishedMessage();
+              parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) e.getUnfinishedMessage();
               throw e.unwrapIOException();
             } finally {
               if (parsedMessage != null) {
@@ -9515,20 +8388,18 @@ public Builder mergeFrom(
 
           private java.lang.Object name_ = "";
           /**
-           *
-           *
            * 
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -9537,21 +8408,20 @@ public java.lang.String getName() { } } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -9559,66 +8429,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9631,33 +8493,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Zypper parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Zypper(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Zypper parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Zypper(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9669,45 +8528,37 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GooGetOrBuilder - extends + public interface GooGetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
        * A package managed by GooGet.
        * - install: `googet -noconfirm install package`
@@ -9716,31 +8567,31 @@ public interface GooGetOrBuilder
        *
        * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet}
        */
-      public static final class GooGet extends com.google.protobuf.GeneratedMessageV3
-          implements
+      public static final class GooGet extends
+          com.google.protobuf.GeneratedMessageV3 implements
           // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet)
           GooGetOrBuilder {
-        private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
         // Use GooGet.newBuilder() to construct.
         private GooGet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
           super(builder);
         }
-
         private GooGet() {
           name_ = "";
         }
 
         @java.lang.Override
         @SuppressWarnings({"unused"})
-        protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+        protected java.lang.Object newInstance(
+            UnusedPrivateParameter unused) {
           return new GooGet();
         }
 
         @java.lang.Override
-        public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+        public final com.google.protobuf.UnknownFieldSet
+        getUnknownFields() {
           return this.unknownFields;
         }
-
         private GooGet(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -9759,20 +8610,19 @@ private GooGet(
                 case 0:
                   done = true;
                   break;
-                case 10:
-                  {
-                    java.lang.String s = input.readStringRequireUtf8();
+                case 10: {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                    name_ = s;
-                    break;
-                  }
-                default:
-                  {
-                    if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                      done = true;
-                    }
-                    break;
+                  name_ = s;
+                  break;
+                }
+                default: {
+                  if (!parseUnknownField(
+                      input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
                   }
+                  break;
+                }
               }
             }
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9780,41 +8630,34 @@ private GooGet(
           } catch (com.google.protobuf.UninitializedMessageException e) {
             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(this);
+            throw new com.google.protobuf.InvalidProtocolBufferException(
+                e).setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
-
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto
-              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto
-              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable
+          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.class,
-                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder
-                      .class);
+                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder.class);
         }
 
         public static final int NAME_FIELD_NUMBER = 1;
         private volatile java.lang.Object name_;
         /**
-         *
-         *
          * 
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -9823,29 +8666,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -9854,7 +8697,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9867,7 +8709,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -9891,16 +8733,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet other = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9919,105 +8760,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet 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.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet 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.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - 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.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet 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.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - 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.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet 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.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10027,8 +8851,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * A package managed by GooGet.
          * - install: `googet -noconfirm install package`
@@ -10037,42 +8859,38 @@ protected Builder newBuilderForType(
          *
          * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet}
          */
-        public static final class Builder
-            extends com.google.protobuf.GeneratedMessageV3.Builder
-            implements
+        public static final class Builder extends
+            com.google.protobuf.GeneratedMessageV3.Builder implements
             // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet)
             com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder {
-          public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto
-                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor;
+          public static final com.google.protobuf.Descriptors.Descriptor
+              getDescriptor() {
+            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor;
           }
 
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto
-                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable
+            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
-                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.class,
-                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder
-                        .class);
+                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder.class);
           }
 
-          // Construct using
-          // com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.newBuilder()
+          // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.newBuilder()
           private Builder() {
             maybeForceBuilderInitialization();
           }
 
-          private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+          private Builder(
+              com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
             super(parent);
             maybeForceBuilderInitialization();
           }
-
           private void maybeForceBuilderInitialization() {
-            if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+            if (com.google.protobuf.GeneratedMessageV3
+                    .alwaysUseFieldBuilders) {
+            }
           }
-
           @java.lang.Override
           public Builder clear() {
             super.clear();
@@ -10082,22 +8900,19 @@ public Builder clear() {
           }
 
           @java.lang.Override
-          public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto
-                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor;
+          public com.google.protobuf.Descriptors.Descriptor
+              getDescriptorForType() {
+            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor;
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet
-              getDefaultInstanceForType() {
-            return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet
-                .getDefaultInstance();
+          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet getDefaultInstanceForType() {
+            return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance();
           }
 
           @java.lang.Override
           public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet build() {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet result =
-                buildPartial();
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet result = buildPartial();
             if (!result.isInitialized()) {
               throw newUninitializedMessageException(result);
             }
@@ -10105,10 +8920,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet bui
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet
-              buildPartial() {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet result =
-                new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet(this);
+          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet buildPartial() {
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet(this);
             result.name_ = name_;
             onBuilt();
             return result;
@@ -10118,54 +8931,46 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet bui
           public Builder clone() {
             return super.clone();
           }
-
           @java.lang.Override
           public Builder setField(
-              com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+              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) {
+          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) {
+          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) {
+              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) {
+              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.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) {
-              return mergeFrom(
-                  (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) other);
+            if (other instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) {
+              return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet)other);
             } else {
               super.mergeFrom(other);
               return this;
             }
           }
 
-          public Builder mergeFrom(
-              com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet other) {
-            if (other
-                == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet
-                    .getDefaultInstance()) return this;
+          public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet other) {
+            if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance()) return this;
             if (!other.getName().isEmpty()) {
               name_ = other.name_;
               onChanged();
@@ -10185,14 +8990,11 @@ public Builder mergeFrom(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws java.io.IOException {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parsedMessage =
-                null;
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parsedMessage = null;
             try {
               parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              parsedMessage =
-                  (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet)
-                      e.getUnfinishedMessage();
+              parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) e.getUnfinishedMessage();
               throw e.unwrapIOException();
             } finally {
               if (parsedMessage != null) {
@@ -10204,20 +9006,18 @@ public Builder mergeFrom(
 
           private java.lang.Object name_ = "";
           /**
-           *
-           *
            * 
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -10226,21 +9026,20 @@ public java.lang.String getName() { } } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -10248,66 +9047,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10320,33 +9111,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GooGet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GooGet(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GooGet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GooGet(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10358,61 +9146,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface MSIOrBuilder - extends + public interface MSIOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. The MSI package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ boolean hasSource(); /** - * - * *
          * Required. The MSI package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.File getSource(); /** - * - * *
          * Required. The MSI package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder(); /** - * - * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -10421,13 +9192,11 @@ public interface MSIOrBuilder
          * 
* * repeated string properties = 2; - * * @return A list containing the properties. */ - java.util.List getPropertiesList(); + java.util.List + getPropertiesList(); /** - * - * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -10436,13 +9205,10 @@ public interface MSIOrBuilder
          * 
* * repeated string properties = 2; - * * @return The count of properties. */ int getPropertiesCount(); /** - * - * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -10451,14 +9217,11 @@ public interface MSIOrBuilder
          * 
* * repeated string properties = 2; - * * @param index The index of the element to return. * @return The properties at the given index. */ java.lang.String getProperties(int index); /** - * - * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -10467,46 +9230,44 @@ public interface MSIOrBuilder
          * 
* * repeated string properties = 2; - * * @param index The index of the value to return. * @return The bytes of the properties at the given index. */ - com.google.protobuf.ByteString getPropertiesBytes(int index); + com.google.protobuf.ByteString + getPropertiesBytes(int index); } /** - * - * *
        * An MSI package. MSI packages only support INSTALLED state.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI} */ - public static final class MSI extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MSI extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) MSIOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MSI.newBuilder() to construct. private MSI(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MSI() { properties_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MSI(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MSI( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10526,40 +9287,35 @@ private MSI( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; - if (source_ != null) { - subBuilder = source_.toBuilder(); - } - source_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(source_); - source_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; + if (source_ != null) { + subBuilder = source_.toBuilder(); + } + source_ = input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(source_); + source_ = subBuilder.buildPartial(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - properties_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - properties_.add(s); - break; + + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + properties_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + properties_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10567,8 +9323,8 @@ private MSI( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { properties_ = properties_.getUnmodifiableView(); @@ -10577,35 +9333,27 @@ private MSI( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder.class); } public static final int SOURCE_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1.OSPolicy.Resource.File source_; /** - * - * *
          * Required. The MSI package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ @java.lang.Override @@ -10613,34 +9361,23 @@ public boolean hasSource() { return source_ != null; } /** - * - * *
          * Required. The MSI package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getSource() { - return source_ == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() : source_; } /** - * - * *
          * Required. The MSI package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { @@ -10650,8 +9387,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrB public static final int PROPERTIES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList properties_; /** - * - * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -10660,15 +9395,13 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrB
          * 
* * repeated string properties = 2; - * * @return A list containing the properties. */ - public com.google.protobuf.ProtocolStringList getPropertiesList() { + public com.google.protobuf.ProtocolStringList + getPropertiesList() { return properties_; } /** - * - * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -10677,15 +9410,12 @@ public com.google.protobuf.ProtocolStringList getPropertiesList() {
          * 
* * repeated string properties = 2; - * * @return The count of properties. */ public int getPropertiesCount() { return properties_.size(); } /** - * - * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -10694,7 +9424,6 @@ public int getPropertiesCount() {
          * 
* * repeated string properties = 2; - * * @param index The index of the element to return. * @return The properties at the given index. */ @@ -10702,8 +9431,6 @@ public java.lang.String getProperties(int index) { return properties_.get(index); } /** - * - * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -10712,16 +9439,15 @@ public java.lang.String getProperties(int index) {
          * 
* * repeated string properties = 2; - * * @param index The index of the value to return. * @return The bytes of the properties at the given index. */ - public com.google.protobuf.ByteString getPropertiesBytes(int index) { + public com.google.protobuf.ByteString + getPropertiesBytes(int index) { return properties_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10734,7 +9460,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (source_ != null) { output.writeMessage(1, getSource()); } @@ -10751,7 +9477,8 @@ public int getSerializedSize() { size = 0; if (source_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSource()); } { int dataSize = 0; @@ -10769,20 +9496,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI other = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) obj; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource().equals(other.getSource())) return false; + if (!getSource() + .equals(other.getSource())) return false; } - if (!getPropertiesList().equals(other.getPropertiesList())) return false; + if (!getPropertiesList() + .equals(other.getPropertiesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -10808,97 +9535,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI 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.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI - 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.osconfig.v1.OSPolicy.Resource.PackageResource.MSI 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.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10908,51 +9625,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * An MSI package. MSI packages only support INSTALLED state.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI - .Builder - .class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.newBuilder() + // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -10968,22 +9678,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI build() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI result = - buildPartial(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -10992,8 +9699,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI build( @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI result = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI(this); int from_bitField0_ = bitField0_; if (sourceBuilder_ == null) { result.source_ = source_; @@ -11013,54 +9719,46 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) { - return mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) other); + if (other instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) { + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI other) { - if (other - == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI other) { + if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance()) return this; if (other.hasSource()) { mergeSource(other.getSource()); } @@ -11093,9 +9791,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -11104,63 +9800,43 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.osconfig.v1.OSPolicy.Resource.File source_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> - sourceBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> sourceBuilder_; /** - * - * *
            * Required. The MSI package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ public boolean hasSource() { return sourceBuilder_ != null || source_ != null; } /** - * - * *
            * Required. The MSI package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getSource() { if (sourceBuilder_ == null) { - return source_ == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() : source_; } else { return sourceBuilder_.getMessage(); } } /** - * - * *
            * Required. The MSI package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { @@ -11176,15 +9852,11 @@ public Builder setSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File val return this; } /** - * - * *
            * Required. The MSI package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSource( com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder builderForValue) { @@ -11198,23 +9870,17 @@ public Builder setSource( return this; } /** - * - * *
            * Required. The MSI package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { if (source_ != null) { source_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder(source_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder(source_).mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -11226,15 +9892,11 @@ public Builder mergeSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File v return this; } /** - * - * *
            * Required. The MSI package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSource() { if (sourceBuilder_ == null) { @@ -11248,81 +9910,61 @@ public Builder clearSource() { return this; } /** - * - * *
            * Required. The MSI package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder getSourceBuilder() { - + onChanged(); return getSourceFieldBuilder().getBuilder(); } /** - * - * *
            * Required. The MSI package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() - : source_; + return source_ == null ? + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() : source_; } } /** - * - * *
            * Required. The MSI package.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( - getSource(), getParentForChildren(), isClean()); + sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( + getSource(), + getParentForChildren(), + isClean()); source_ = null; } return sourceBuilder_; } - private com.google.protobuf.LazyStringList properties_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList properties_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePropertiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { properties_ = new com.google.protobuf.LazyStringArrayList(properties_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -11331,15 +9973,13 @@ private void ensurePropertiesIsMutable() {
            * 
* * repeated string properties = 2; - * * @return A list containing the properties. */ - public com.google.protobuf.ProtocolStringList getPropertiesList() { + public com.google.protobuf.ProtocolStringList + getPropertiesList() { return properties_.getUnmodifiableView(); } /** - * - * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -11348,15 +9988,12 @@ public com.google.protobuf.ProtocolStringList getPropertiesList() {
            * 
* * repeated string properties = 2; - * * @return The count of properties. */ public int getPropertiesCount() { return properties_.size(); } /** - * - * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -11365,7 +10002,6 @@ public int getPropertiesCount() {
            * 
* * repeated string properties = 2; - * * @param index The index of the element to return. * @return The properties at the given index. */ @@ -11373,8 +10009,6 @@ public java.lang.String getProperties(int index) { return properties_.get(index); } /** - * - * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -11383,16 +10017,14 @@ public java.lang.String getProperties(int index) {
            * 
* * repeated string properties = 2; - * * @param index The index of the value to return. * @return The bytes of the properties at the given index. */ - public com.google.protobuf.ByteString getPropertiesBytes(int index) { + public com.google.protobuf.ByteString + getPropertiesBytes(int index) { return properties_.getByteString(index); } /** - * - * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -11401,23 +10033,21 @@ public com.google.protobuf.ByteString getPropertiesBytes(int index) {
            * 
* * repeated string properties = 2; - * * @param index The index to set the value at. * @param value The properties to set. * @return This builder for chaining. */ - public Builder setProperties(int index, java.lang.String value) { + public Builder setProperties( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePropertiesIsMutable(); + throw new NullPointerException(); + } + ensurePropertiesIsMutable(); properties_.set(index, value); onChanged(); return this; } /** - * - * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -11426,22 +10056,20 @@ public Builder setProperties(int index, java.lang.String value) {
            * 
* * repeated string properties = 2; - * * @param value The properties to add. * @return This builder for chaining. */ - public Builder addProperties(java.lang.String value) { + public Builder addProperties( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePropertiesIsMutable(); + throw new NullPointerException(); + } + ensurePropertiesIsMutable(); properties_.add(value); onChanged(); return this; } /** - * - * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -11450,19 +10078,18 @@ public Builder addProperties(java.lang.String value) {
            * 
* * repeated string properties = 2; - * * @param values The properties to add. * @return This builder for chaining. */ - public Builder addAllProperties(java.lang.Iterable values) { + public Builder addAllProperties( + java.lang.Iterable values) { ensurePropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, properties_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, properties_); onChanged(); return this; } /** - * - * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -11471,7 +10098,6 @@ public Builder addAllProperties(java.lang.Iterable values) {
            * 
* * repeated string properties = 2; - * * @return This builder for chaining. */ public Builder clearProperties() { @@ -11481,8 +10107,6 @@ public Builder clearProperties() { return this; } /** - * - * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -11491,21 +10115,20 @@ public Builder clearProperties() {
            * 
* * repeated string properties = 2; - * * @param value The bytes of the properties to add. * @return This builder for chaining. */ - public Builder addPropertiesBytes(com.google.protobuf.ByteString value) { + public Builder addPropertiesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePropertiesIsMutable(); properties_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11518,33 +10141,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MSI parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MSI(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MSI parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MSI(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11556,18 +10176,16 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int systemPackageCase_ = 0; private java.lang.Object systemPackage_; - public enum SystemPackageCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { APT(2), DEB(3), @@ -11578,7 +10196,6 @@ public enum SystemPackageCase MSI(8), SYSTEMPACKAGE_NOT_SET(0); private final int value; - private SystemPackageCase(int value) { this.value = value; } @@ -11594,91 +10211,62 @@ public static SystemPackageCase valueOf(int value) { public static SystemPackageCase forNumber(int value) { switch (value) { - case 2: - return APT; - case 3: - return DEB; - case 4: - return YUM; - case 5: - return ZYPPER; - case 6: - return RPM; - case 7: - return GOOGET; - case 8: - return MSI; - case 0: - return SYSTEMPACKAGE_NOT_SET; - default: - return null; + case 2: return APT; + case 3: return DEB; + case 4: return YUM; + case 5: return ZYPPER; + case 6: return RPM; + case 7: return GOOGET; + case 8: return MSI; + case 0: return SYSTEMPACKAGE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SystemPackageCase getSystemPackageCase() { - return SystemPackageCase.forNumber(systemPackageCase_); + public SystemPackageCase + getSystemPackageCase() { + return SystemPackageCase.forNumber( + systemPackageCase_); } public static final int DESIRED_STATE_FIELD_NUMBER = 1; private int desiredState_; /** - * - * *
        * Required. The desired state the agent should maintain for this package.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for desiredState. */ - @java.lang.Override - public int getDesiredStateValue() { + @java.lang.Override public int getDesiredStateValue() { return desiredState_; } /** - * - * *
        * Required. The desired state the agent should maintain for this package.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The desiredState. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState - getDesiredState() { + @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState getDesiredState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState result = - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState.valueOf( - desiredState_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState - .UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState result = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState.valueOf(desiredState_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState.UNRECOGNIZED : result; } public static final int APT_FIELD_NUMBER = 2; /** - * - * *
        * A package managed by Apt.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; - * * @return Whether the apt field is set. */ @java.lang.Override @@ -11686,28 +10274,21 @@ public boolean hasApt() { return systemPackageCase_ == 2; } /** - * - * *
        * A package managed by Apt.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; - * * @return The apt. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT getApt() { if (systemPackageCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); } /** - * - * *
        * A package managed by Apt.
        * 
@@ -11715,26 +10296,20 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT getApt * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder - getAptOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder getAptOrBuilder() { if (systemPackageCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); } public static final int DEB_FIELD_NUMBER = 3; /** - * - * *
        * A deb package file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; - * * @return Whether the deb field is set. */ @java.lang.Override @@ -11742,28 +10317,21 @@ public boolean hasDeb() { return systemPackageCase_ == 3; } /** - * - * *
        * A deb package file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; - * * @return The deb. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb getDeb() { if (systemPackageCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); } /** - * - * *
        * A deb package file.
        * 
@@ -11771,26 +10339,20 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb getDeb * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder - getDebOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder getDebOrBuilder() { if (systemPackageCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); } public static final int YUM_FIELD_NUMBER = 4; /** - * - * *
        * A package managed by YUM.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; - * * @return Whether the yum field is set. */ @java.lang.Override @@ -11798,28 +10360,21 @@ public boolean hasYum() { return systemPackageCase_ == 4; } /** - * - * *
        * A package managed by YUM.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; - * * @return The yum. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM getYum() { if (systemPackageCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); } /** - * - * *
        * A package managed by YUM.
        * 
@@ -11827,26 +10382,20 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM getYum * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder - getYumOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder getYumOrBuilder() { if (systemPackageCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); } public static final int ZYPPER_FIELD_NUMBER = 5; /** - * - * *
        * A package managed by Zypper.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * * @return Whether the zypper field is set. */ @java.lang.Override @@ -11854,28 +10403,21 @@ public boolean hasZypper() { return systemPackageCase_ == 5; } /** - * - * *
        * A package managed by Zypper.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * * @return The zypper. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper getZypper() { if (systemPackageCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); } /** - * - * *
        * A package managed by Zypper.
        * 
@@ -11883,26 +10425,20 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper get * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder - getZypperOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder getZypperOrBuilder() { if (systemPackageCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); } public static final int RPM_FIELD_NUMBER = 6; /** - * - * *
        * An rpm package file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; - * * @return Whether the rpm field is set. */ @java.lang.Override @@ -11910,28 +10446,21 @@ public boolean hasRpm() { return systemPackageCase_ == 6; } /** - * - * *
        * An rpm package file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; - * * @return The rpm. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM getRpm() { if (systemPackageCase_ == 6) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); } /** - * - * *
        * An rpm package file.
        * 
@@ -11939,26 +10468,20 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM getRpm * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder - getRpmOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder getRpmOrBuilder() { if (systemPackageCase_ == 6) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); } public static final int GOOGET_FIELD_NUMBER = 7; /** - * - * *
        * A package managed by GooGet.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * * @return Whether the googet field is set. */ @java.lang.Override @@ -11966,28 +10489,21 @@ public boolean hasGooget() { return systemPackageCase_ == 7; } /** - * - * *
        * A package managed by GooGet.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * * @return The googet. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet getGooget() { if (systemPackageCase_ == 7) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); } /** - * - * *
        * A package managed by GooGet.
        * 
@@ -11995,26 +10511,20 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet get * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder - getGoogetOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder getGoogetOrBuilder() { if (systemPackageCase_ == 7) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); } public static final int MSI_FIELD_NUMBER = 8; /** - * - * *
        * An MSI package.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; - * * @return Whether the msi field is set. */ @java.lang.Override @@ -12022,28 +10532,21 @@ public boolean hasMsi() { return systemPackageCase_ == 8; } /** - * - * *
        * An MSI package.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; - * * @return The msi. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI getMsi() { if (systemPackageCase_ == 8) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); } /** - * - * *
        * An MSI package.
        * 
@@ -12051,18 +10554,14 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI getMsi * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder - getMsiOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder getMsiOrBuilder() { if (systemPackageCase_ == 8) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12074,49 +10573,31 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (desiredState_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState - .DESIRED_STATE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (desiredState_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, desiredState_); } if (systemPackageCase_ == 2) { - output.writeMessage( - 2, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_); + output.writeMessage(2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_); } if (systemPackageCase_ == 3) { - output.writeMessage( - 3, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_); + output.writeMessage(3, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_); } if (systemPackageCase_ == 4) { - output.writeMessage( - 4, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_); + output.writeMessage(4, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_); } if (systemPackageCase_ == 5) { - output.writeMessage( - 5, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) - systemPackage_); + output.writeMessage(5, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_); } if (systemPackageCase_ == 6) { - output.writeMessage( - 6, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_); + output.writeMessage(6, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_); } if (systemPackageCase_ == 7) { - output.writeMessage( - 7, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) - systemPackage_); + output.writeMessage(7, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_); } if (systemPackageCase_ == 8) { - output.writeMessage( - 8, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_); + output.writeMessage(8, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_); } unknownFields.writeTo(output); } @@ -12127,60 +10608,37 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (desiredState_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState - .DESIRED_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, desiredState_); + if (desiredState_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, desiredState_); } if (systemPackageCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) - systemPackage_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_); } if (systemPackageCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) - systemPackage_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_); } if (systemPackageCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) - systemPackage_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_); } if (systemPackageCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) - systemPackage_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_); } if (systemPackageCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) - systemPackage_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_); } if (systemPackageCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) - systemPackage_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_); } if (systemPackageCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) - systemPackage_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -12190,37 +10648,43 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource other = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) obj; if (desiredState_ != other.desiredState_) return false; if (!getSystemPackageCase().equals(other.getSystemPackageCase())) return false; switch (systemPackageCase_) { case 2: - if (!getApt().equals(other.getApt())) return false; + if (!getApt() + .equals(other.getApt())) return false; break; case 3: - if (!getDeb().equals(other.getDeb())) return false; + if (!getDeb() + .equals(other.getDeb())) return false; break; case 4: - if (!getYum().equals(other.getYum())) return false; + if (!getYum() + .equals(other.getYum())) return false; break; case 5: - if (!getZypper().equals(other.getZypper())) return false; + if (!getZypper() + .equals(other.getZypper())) return false; break; case 6: - if (!getRpm().equals(other.getRpm())) return false; + if (!getRpm() + .equals(other.getRpm())) return false; break; case 7: - if (!getGooget().equals(other.getGooget())) return false; + if (!getGooget() + .equals(other.getGooget())) return false; break; case 8: - if (!getMsi().equals(other.getMsi())) return false; + if (!getMsi() + .equals(other.getMsi())) return false; break; case 0: default: @@ -12276,96 +10740,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource 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.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource - 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.osconfig.v1.OSPolicy.Resource.PackageResource 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.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -12375,49 +10830,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A resource that manages a system package.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.newBuilder() + // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -12429,16 +10879,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance(); } @java.lang.Override @@ -12452,8 +10900,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource build() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource result = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource(this); result.desiredState_ = desiredState_; if (systemPackageCase_ == 2) { if (aptBuilder_ == null) { @@ -12513,96 +10960,81 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.PackageResource) { - return mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) other); + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource other) { - if (other - == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource other) { + if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance()) return this; if (other.desiredState_ != 0) { setDesiredStateValue(other.getDesiredStateValue()); } switch (other.getSystemPackageCase()) { - case APT: - { - mergeApt(other.getApt()); - break; - } - case DEB: - { - mergeDeb(other.getDeb()); - break; - } - case YUM: - { - mergeYum(other.getYum()); - break; - } - case ZYPPER: - { - mergeZypper(other.getZypper()); - break; - } - case RPM: - { - mergeRpm(other.getRpm()); - break; - } - case GOOGET: - { - mergeGooget(other.getGooget()); - break; - } - case MSI: - { - mergeMsi(other.getMsi()); - break; - } - case SYSTEMPACKAGE_NOT_SET: - { - break; - } + case APT: { + mergeApt(other.getApt()); + break; + } + case DEB: { + mergeDeb(other.getDeb()); + break; + } + case YUM: { + mergeYum(other.getYum()); + break; + } + case ZYPPER: { + mergeZypper(other.getZypper()); + break; + } + case RPM: { + mergeRpm(other.getRpm()); + break; + } + case GOOGET: { + mergeGooget(other.getGooget()); + break; + } + case MSI: { + mergeMsi(other.getMsi()); + break; + } + case SYSTEMPACKAGE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -12623,9 +11055,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12634,12 +11064,12 @@ public Builder mergeFrom( } return this; } - private int systemPackageCase_ = 0; private java.lang.Object systemPackage_; - - public SystemPackageCase getSystemPackageCase() { - return SystemPackageCase.forNumber(systemPackageCase_); + public SystemPackageCase + getSystemPackageCase() { + return SystemPackageCase.forNumber( + systemPackageCase_); } public Builder clearSystemPackage() { @@ -12649,127 +11079,89 @@ public Builder clearSystemPackage() { return this; } + private int desiredState_ = 0; /** - * - * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for desiredState. */ - @java.lang.Override - public int getDesiredStateValue() { + @java.lang.Override public int getDesiredStateValue() { return desiredState_; } /** - * - * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for desiredState to set. * @return This builder for chaining. */ public Builder setDesiredStateValue(int value) { - + desiredState_ = value; onChanged(); return this; } /** - * - * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The desiredState. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState - getDesiredState() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState getDesiredState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState result = - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState.valueOf( - desiredState_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState - .UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState result = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState.valueOf(desiredState_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState.UNRECOGNIZED : result; } /** - * - * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The desiredState to set. * @return This builder for chaining. */ - public Builder setDesiredState( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState value) { + public Builder setDesiredState(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState value) { if (value == null) { throw new NullPointerException(); } - + desiredState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearDesiredState() { - + desiredState_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder> - aptBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder> aptBuilder_; /** - * - * *
          * A package managed by Apt.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; - * * @return Whether the apt field is set. */ @java.lang.Override @@ -12777,44 +11169,35 @@ public boolean hasApt() { return systemPackageCase_ == 2; } /** - * - * *
          * A package managed by Apt.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; - * * @return The apt. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT getApt() { if (aptBuilder_ == null) { if (systemPackageCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); } else { if (systemPackageCase_ == 2) { return aptBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); } } /** - * - * *
          * A package managed by Apt.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; */ - public Builder setApt( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT value) { + public Builder setApt(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT value) { if (aptBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12828,8 +11211,6 @@ public Builder setApt( return this; } /** - * - * *
          * A package managed by Apt.
          * 
@@ -12837,8 +11218,7 @@ public Builder setApt( * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; */ public Builder setApt( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder - builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder builderForValue) { if (aptBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -12849,28 +11229,18 @@ public Builder setApt( return this; } /** - * - * *
          * A package managed by Apt.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; */ - public Builder mergeApt( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT value) { + public Builder mergeApt(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT value) { if (aptBuilder_ == null) { - if (systemPackageCase_ == 2 - && systemPackage_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT - .getDefaultInstance()) { - systemPackage_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT - .newBuilder( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) - systemPackage_) - .mergeFrom(value) - .buildPartial(); + if (systemPackageCase_ == 2 && + systemPackage_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.getDefaultInstance()) { + systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_) + .mergeFrom(value).buildPartial(); } else { systemPackage_ = value; } @@ -12886,8 +11256,6 @@ public Builder mergeApt( return this; } /** - * - * *
          * A package managed by Apt.
          * 
@@ -12911,21 +11279,16 @@ public Builder clearApt() { return this; } /** - * - * *
          * A package managed by Apt.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder - getAptBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder getAptBuilder() { return getAptFieldBuilder().getBuilder(); } /** - * - * *
          * A package managed by Apt.
          * 
@@ -12933,22 +11296,17 @@ public Builder clearApt() { * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder - getAptOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder getAptOrBuilder() { if ((systemPackageCase_ == 2) && (aptBuilder_ != null)) { return aptBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); } } /** - * - * *
          * A package managed by Apt.
          * 
@@ -12956,47 +11314,32 @@ public Builder clearApt() { * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder> getAptFieldBuilder() { if (aptBuilder_ == null) { if (!(systemPackageCase_ == 2)) { - systemPackage_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT - .getDefaultInstance(); - } - aptBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) - systemPackage_, + systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); + } + aptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 2; - onChanged(); - ; + onChanged();; return aptBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder> - debBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder> debBuilder_; /** - * - * *
          * A deb package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; - * * @return Whether the deb field is set. */ @java.lang.Override @@ -13004,44 +11347,35 @@ public boolean hasDeb() { return systemPackageCase_ == 3; } /** - * - * *
          * A deb package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; - * * @return The deb. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb getDeb() { if (debBuilder_ == null) { if (systemPackageCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); } else { if (systemPackageCase_ == 3) { return debBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); } } /** - * - * *
          * A deb package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; */ - public Builder setDeb( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb value) { + public Builder setDeb(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb value) { if (debBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13055,8 +11389,6 @@ public Builder setDeb( return this; } /** - * - * *
          * A deb package file.
          * 
@@ -13064,8 +11396,7 @@ public Builder setDeb( * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; */ public Builder setDeb( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder - builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder builderForValue) { if (debBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -13076,27 +11407,18 @@ public Builder setDeb( return this; } /** - * - * *
          * A deb package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; */ - public Builder mergeDeb( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb value) { + public Builder mergeDeb(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb value) { if (debBuilder_ == null) { - if (systemPackageCase_ == 3 - && systemPackage_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb - .getDefaultInstance()) { - systemPackage_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.newBuilder( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) - systemPackage_) - .mergeFrom(value) - .buildPartial(); + if (systemPackageCase_ == 3 && + systemPackage_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance()) { + systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_) + .mergeFrom(value).buildPartial(); } else { systemPackage_ = value; } @@ -13112,8 +11434,6 @@ public Builder mergeDeb( return this; } /** - * - * *
          * A deb package file.
          * 
@@ -13137,21 +11457,16 @@ public Builder clearDeb() { return this; } /** - * - * *
          * A deb package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder - getDebBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder getDebBuilder() { return getDebFieldBuilder().getBuilder(); } /** - * - * *
          * A deb package file.
          * 
@@ -13159,22 +11474,17 @@ public Builder clearDeb() { * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder - getDebOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder getDebOrBuilder() { if ((systemPackageCase_ == 3) && (debBuilder_ != null)) { return debBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); } } /** - * - * *
          * A deb package file.
          * 
@@ -13182,47 +11492,32 @@ public Builder clearDeb() { * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder> getDebFieldBuilder() { if (debBuilder_ == null) { if (!(systemPackageCase_ == 3)) { - systemPackage_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb - .getDefaultInstance(); - } - debBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) - systemPackage_, + systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); + } + debBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 3; - onChanged(); - ; + onChanged();; return debBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder> - yumBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder> yumBuilder_; /** - * - * *
          * A package managed by YUM.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; - * * @return Whether the yum field is set. */ @java.lang.Override @@ -13230,44 +11525,35 @@ public boolean hasYum() { return systemPackageCase_ == 4; } /** - * - * *
          * A package managed by YUM.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; - * * @return The yum. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM getYum() { if (yumBuilder_ == null) { if (systemPackageCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); } else { if (systemPackageCase_ == 4) { return yumBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); } } /** - * - * *
          * A package managed by YUM.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; */ - public Builder setYum( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM value) { + public Builder setYum(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM value) { if (yumBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13281,8 +11567,6 @@ public Builder setYum( return this; } /** - * - * *
          * A package managed by YUM.
          * 
@@ -13290,8 +11574,7 @@ public Builder setYum( * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; */ public Builder setYum( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder - builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder builderForValue) { if (yumBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -13302,28 +11585,18 @@ public Builder setYum( return this; } /** - * - * *
          * A package managed by YUM.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; */ - public Builder mergeYum( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM value) { + public Builder mergeYum(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM value) { if (yumBuilder_ == null) { - if (systemPackageCase_ == 4 - && systemPackage_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM - .getDefaultInstance()) { - systemPackage_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM - .newBuilder( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) - systemPackage_) - .mergeFrom(value) - .buildPartial(); + if (systemPackageCase_ == 4 && + systemPackage_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance()) { + systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_) + .mergeFrom(value).buildPartial(); } else { systemPackage_ = value; } @@ -13339,8 +11612,6 @@ public Builder mergeYum( return this; } /** - * - * *
          * A package managed by YUM.
          * 
@@ -13364,21 +11635,16 @@ public Builder clearYum() { return this; } /** - * - * *
          * A package managed by YUM.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder - getYumBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder getYumBuilder() { return getYumFieldBuilder().getBuilder(); } /** - * - * *
          * A package managed by YUM.
          * 
@@ -13386,22 +11652,17 @@ public Builder clearYum() { * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder - getYumOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder getYumOrBuilder() { if ((systemPackageCase_ == 4) && (yumBuilder_ != null)) { return yumBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); } } /** - * - * *
          * A package managed by YUM.
          * 
@@ -13409,48 +11670,32 @@ public Builder clearYum() { * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder> getYumFieldBuilder() { if (yumBuilder_ == null) { if (!(systemPackageCase_ == 4)) { - systemPackage_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM - .getDefaultInstance(); - } - yumBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) - systemPackage_, + systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); + } + yumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 4; - onChanged(); - ; + onChanged();; return yumBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder> - zypperBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder> zypperBuilder_; /** - * - * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; * @return Whether the zypper field is set. */ @java.lang.Override @@ -13458,46 +11703,35 @@ public boolean hasZypper() { return systemPackageCase_ == 5; } /** - * - * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; * @return The zypper. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper getZypper() { if (zypperBuilder_ == null) { if (systemPackageCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); } else { if (systemPackageCase_ == 5) { return zypperBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); } } /** - * - * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ - public Builder setZypper( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper value) { + public Builder setZypper(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper value) { if (zypperBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13511,18 +11745,14 @@ public Builder setZypper( return this; } /** - * - * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ public Builder setZypper( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder - builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder builderForValue) { if (zypperBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -13533,28 +11763,18 @@ public Builder setZypper( return this; } /** - * - * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ - public Builder mergeZypper( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper value) { + public Builder mergeZypper(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper value) { if (zypperBuilder_ == null) { - if (systemPackageCase_ == 5 - && systemPackage_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - .getDefaultInstance()) { - systemPackage_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.newBuilder( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) - systemPackage_) - .mergeFrom(value) - .buildPartial(); + if (systemPackageCase_ == 5 && + systemPackage_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance()) { + systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_) + .mergeFrom(value).buildPartial(); } else { systemPackage_ = value; } @@ -13570,14 +11790,11 @@ public Builder mergeZypper( return this; } /** - * - * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ public Builder clearZypper() { if (zypperBuilder_ == null) { @@ -13596,95 +11813,67 @@ public Builder clearZypper() { return this; } /** - * - * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder - getZypperBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder getZypperBuilder() { return getZypperFieldBuilder().getBuilder(); } /** - * - * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder - getZypperOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder getZypperOrBuilder() { if ((systemPackageCase_ == 5) && (zypperBuilder_ != null)) { return zypperBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); } } /** - * - * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder> getZypperFieldBuilder() { if (zypperBuilder_ == null) { if (!(systemPackageCase_ == 5)) { - systemPackage_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper - .getDefaultInstance(); - } - zypperBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) - systemPackage_, + systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); + } + zypperBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 5; - onChanged(); - ; + onChanged();; return zypperBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder> - rpmBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder> rpmBuilder_; /** - * - * *
          * An rpm package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; - * * @return Whether the rpm field is set. */ @java.lang.Override @@ -13692,44 +11881,35 @@ public boolean hasRpm() { return systemPackageCase_ == 6; } /** - * - * *
          * An rpm package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; - * * @return The rpm. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM getRpm() { if (rpmBuilder_ == null) { if (systemPackageCase_ == 6) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); } else { if (systemPackageCase_ == 6) { return rpmBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); } } /** - * - * *
          * An rpm package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ - public Builder setRpm( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM value) { + public Builder setRpm(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM value) { if (rpmBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13743,8 +11923,6 @@ public Builder setRpm( return this; } /** - * - * *
          * An rpm package file.
          * 
@@ -13752,8 +11930,7 @@ public Builder setRpm( * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ public Builder setRpm( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder - builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder builderForValue) { if (rpmBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -13764,28 +11941,18 @@ public Builder setRpm( return this; } /** - * - * *
          * An rpm package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ - public Builder mergeRpm( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM value) { + public Builder mergeRpm(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM value) { if (rpmBuilder_ == null) { - if (systemPackageCase_ == 6 - && systemPackage_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM - .getDefaultInstance()) { - systemPackage_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM - .newBuilder( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) - systemPackage_) - .mergeFrom(value) - .buildPartial(); + if (systemPackageCase_ == 6 && + systemPackage_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance()) { + systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_) + .mergeFrom(value).buildPartial(); } else { systemPackage_ = value; } @@ -13801,8 +11968,6 @@ public Builder mergeRpm( return this; } /** - * - * *
          * An rpm package file.
          * 
@@ -13826,21 +11991,16 @@ public Builder clearRpm() { return this; } /** - * - * *
          * An rpm package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder - getRpmBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder getRpmBuilder() { return getRpmFieldBuilder().getBuilder(); } /** - * - * *
          * An rpm package file.
          * 
@@ -13848,22 +12008,17 @@ public Builder clearRpm() { * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder - getRpmOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder getRpmOrBuilder() { if ((systemPackageCase_ == 6) && (rpmBuilder_ != null)) { return rpmBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 6) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); } } /** - * - * *
          * An rpm package file.
          * 
@@ -13871,48 +12026,32 @@ public Builder clearRpm() { * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder> getRpmFieldBuilder() { if (rpmBuilder_ == null) { if (!(systemPackageCase_ == 6)) { - systemPackage_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM - .getDefaultInstance(); - } - rpmBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) - systemPackage_, + systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); + } + rpmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 6; - onChanged(); - ; + onChanged();; return rpmBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder> - googetBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder> googetBuilder_; /** - * - * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; * @return Whether the googet field is set. */ @java.lang.Override @@ -13920,46 +12059,35 @@ public boolean hasGooget() { return systemPackageCase_ == 7; } /** - * - * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; * @return The googet. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet getGooget() { if (googetBuilder_ == null) { if (systemPackageCase_ == 7) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); } else { if (systemPackageCase_ == 7) { return googetBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); } } /** - * - * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ - public Builder setGooget( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet value) { + public Builder setGooget(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet value) { if (googetBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13973,18 +12101,14 @@ public Builder setGooget( return this; } /** - * - * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ public Builder setGooget( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder - builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder builderForValue) { if (googetBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -13995,28 +12119,18 @@ public Builder setGooget( return this; } /** - * - * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ - public Builder mergeGooget( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet value) { + public Builder mergeGooget(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet value) { if (googetBuilder_ == null) { - if (systemPackageCase_ == 7 - && systemPackage_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - .getDefaultInstance()) { - systemPackage_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.newBuilder( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) - systemPackage_) - .mergeFrom(value) - .buildPartial(); + if (systemPackageCase_ == 7 && + systemPackage_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance()) { + systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_) + .mergeFrom(value).buildPartial(); } else { systemPackage_ = value; } @@ -14032,14 +12146,11 @@ public Builder mergeGooget( return this; } /** - * - * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ public Builder clearGooget() { if (googetBuilder_ == null) { @@ -14058,95 +12169,67 @@ public Builder clearGooget() { return this; } /** - * - * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder - getGoogetBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder getGoogetBuilder() { return getGoogetFieldBuilder().getBuilder(); } /** - * - * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder - getGoogetOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder getGoogetOrBuilder() { if ((systemPackageCase_ == 7) && (googetBuilder_ != null)) { return googetBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 7) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); } } /** - * - * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder> getGoogetFieldBuilder() { if (googetBuilder_ == null) { if (!(systemPackageCase_ == 7)) { - systemPackage_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet - .getDefaultInstance(); - } - googetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) - systemPackage_, + systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); + } + googetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 7; - onChanged(); - ; + onChanged();; return googetBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder> - msiBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder> msiBuilder_; /** - * - * *
          * An MSI package.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; - * * @return Whether the msi field is set. */ @java.lang.Override @@ -14154,44 +12237,35 @@ public boolean hasMsi() { return systemPackageCase_ == 8; } /** - * - * *
          * An MSI package.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; - * * @return The msi. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI getMsi() { if (msiBuilder_ == null) { if (systemPackageCase_ == 8) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); } else { if (systemPackageCase_ == 8) { return msiBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); } } /** - * - * *
          * An MSI package.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; */ - public Builder setMsi( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI value) { + public Builder setMsi(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI value) { if (msiBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14205,8 +12279,6 @@ public Builder setMsi( return this; } /** - * - * *
          * An MSI package.
          * 
@@ -14214,8 +12286,7 @@ public Builder setMsi( * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; */ public Builder setMsi( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder - builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder builderForValue) { if (msiBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -14226,28 +12297,18 @@ public Builder setMsi( return this; } /** - * - * *
          * An MSI package.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; */ - public Builder mergeMsi( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI value) { + public Builder mergeMsi(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI value) { if (msiBuilder_ == null) { - if (systemPackageCase_ == 8 - && systemPackage_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI - .getDefaultInstance()) { - systemPackage_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI - .newBuilder( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) - systemPackage_) - .mergeFrom(value) - .buildPartial(); + if (systemPackageCase_ == 8 && + systemPackage_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance()) { + systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_) + .mergeFrom(value).buildPartial(); } else { systemPackage_ = value; } @@ -14263,8 +12324,6 @@ public Builder mergeMsi( return this; } /** - * - * *
          * An MSI package.
          * 
@@ -14288,21 +12347,16 @@ public Builder clearMsi() { return this; } /** - * - * *
          * An MSI package.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder - getMsiBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder getMsiBuilder() { return getMsiFieldBuilder().getBuilder(); } /** - * - * *
          * An MSI package.
          * 
@@ -14310,22 +12364,17 @@ public Builder clearMsi() { * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder - getMsiOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder getMsiOrBuilder() { if ((systemPackageCase_ == 8) && (msiBuilder_ != null)) { return msiBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 8) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) - systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); } } /** - * - * *
          * An MSI package.
          * 
@@ -14333,33 +12382,23 @@ public Builder clearMsi() { * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder> getMsiFieldBuilder() { if (msiBuilder_ == null) { if (!(systemPackageCase_ == 8)) { - systemPackage_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI - .getDefaultInstance(); - } - msiBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) - systemPackage_, + systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); + } + msiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 8; - onChanged(); - ; + onChanged();; return msiBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14372,32 +12411,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PackageResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PackageResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PackageResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PackageResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14409,212 +12446,157 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface RepositoryResourceOrBuilder - extends + public interface RepositoryResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * An Apt Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; * @return Whether the apt field is set. */ boolean hasApt(); /** - * - * *
        * An Apt Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; * @return The apt. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository getApt(); /** - * - * *
        * An Apt Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder - getAptOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder getAptOrBuilder(); /** - * - * *
        * A Yum Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; * @return Whether the yum field is set. */ boolean hasYum(); /** - * - * *
        * A Yum Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; * @return The yum. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository getYum(); /** - * - * *
        * A Yum Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder - getYumOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder getYumOrBuilder(); /** - * - * *
        * A Zypper Repository.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; * @return Whether the zypper field is set. */ boolean hasZypper(); /** - * - * *
        * A Zypper Repository.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; * @return The zypper. */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - getZypper(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository getZypper(); /** - * - * *
        * A Zypper Repository.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder - getZypperOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder getZypperOrBuilder(); /** - * - * *
        * A Goo Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; * @return Whether the goo field is set. */ boolean hasGoo(); /** - * - * *
        * A Goo Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; * @return The goo. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository getGoo(); /** - * - * *
        * A Goo Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder - getGooOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder getGooOrBuilder(); - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.RepositoryCase - getRepositoryCase(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.RepositoryCase getRepositoryCase(); } /** - * - * *
      * A resource that manages a package repository.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource} */ - public static final class RepositoryResource extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class RepositoryResource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) RepositoryResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RepositoryResource.newBuilder() to construct. private RepositoryResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RepositoryResource() {} + private RepositoryResource() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RepositoryResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RepositoryResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -14633,121 +12615,69 @@ private RepositoryResource( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .Builder - subBuilder = null; - if (repositoryCase_ == 1) { - subBuilder = - ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository) - repository_) - .toBuilder(); - } - repository_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository) - repository_); - repository_ = subBuilder.buildPartial(); - } - repositoryCase_ = 1; - break; + case 10: { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.Builder subBuilder = null; + if (repositoryCase_ == 1) { + subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_).toBuilder(); } - case 18: - { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - .Builder - subBuilder = null; - if (repositoryCase_ == 2) { - subBuilder = - ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository) - repository_) - .toBuilder(); - } - repository_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository) - repository_); - repository_ = subBuilder.buildPartial(); - } - repositoryCase_ = 2; - break; + repository_ = + input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_); + repository_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - .Builder - subBuilder = null; - if (repositoryCase_ == 3) { - subBuilder = - ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - repository_) - .toBuilder(); - } - repository_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - repository_); - repository_ = subBuilder.buildPartial(); - } - repositoryCase_ = 3; - break; + repositoryCase_ = 1; + break; + } + case 18: { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.Builder subBuilder = null; + if (repositoryCase_ == 2) { + subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_).toBuilder(); + } + repository_ = + input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_); + repository_ = subBuilder.buildPartial(); + } + repositoryCase_ = 2; + break; + } + case 26: { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder subBuilder = null; + if (repositoryCase_ == 3) { + subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_).toBuilder(); } - case 34: - { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - .Builder - subBuilder = null; - if (repositoryCase_ == 4) { - subBuilder = - ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository) - repository_) - .toBuilder(); - } - repository_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository) - repository_); - repository_ = subBuilder.buildPartial(); - } - repositoryCase_ = 4; - break; + repository_ = + input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_); + repository_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + repositoryCase_ = 3; + break; + } + case 34: { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.Builder subBuilder = null; + if (repositoryCase_ == 4) { + subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_).toBuilder(); + } + repository_ = + input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_); + repository_ = subBuilder.buildPartial(); + } + repositoryCase_ = 4; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -14755,218 +12685,174 @@ private RepositoryResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder.class); } - public interface AptRepositoryOrBuilder - extends + public interface AptRepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. Type of archive files in this repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for archiveType. */ int getArchiveTypeValue(); /** - * - * *
          * Required. Type of archive files in this repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The archiveType. */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType - getArchiveType(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType getArchiveType(); /** - * - * *
          * Required. URI for this repository.
          * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
          * Required. URI for this repository.
          * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
          * Required. Distribution of this repository.
          * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The distribution. */ java.lang.String getDistribution(); /** - * - * *
          * Required. Distribution of this repository.
          * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for distribution. */ - com.google.protobuf.ByteString getDistributionBytes(); + com.google.protobuf.ByteString + getDistributionBytes(); /** - * - * *
          * Required. List of components for this repository. Must contain at
          * least one item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the components. */ - java.util.List getComponentsList(); + java.util.List + getComponentsList(); /** - * - * *
          * Required. List of components for this repository. Must contain at
          * least one item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of components. */ int getComponentsCount(); /** - * - * *
          * Required. List of components for this repository. Must contain at
          * least one item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The components at the given index. */ java.lang.String getComponents(int index); /** - * - * *
          * Required. List of components for this repository. Must contain at
          * least one item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - com.google.protobuf.ByteString getComponentsBytes(int index); + com.google.protobuf.ByteString + getComponentsBytes(int index); /** - * - * *
          * URI of the key file for this repository. The agent maintains a
          * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
          * 
* * string gpg_key = 5; - * * @return The gpgKey. */ java.lang.String getGpgKey(); /** - * - * *
          * URI of the key file for this repository. The agent maintains a
          * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
          * 
* * string gpg_key = 5; - * * @return The bytes for gpgKey. */ - com.google.protobuf.ByteString getGpgKeyBytes(); + com.google.protobuf.ByteString + getGpgKeyBytes(); } /** - * - * *
        * Represents a single apt package repository. These will be added to
        * a repo file that will be managed at
        * `/etc/apt/sources.list.d/google_osconfig.list`.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository} + * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository} */ - public static final class AptRepository extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AptRepository extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) AptRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AptRepository.newBuilder() to construct. private AptRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AptRepository() { archiveType_ = 0; uri_ = ""; @@ -14977,15 +12863,16 @@ private AptRepository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AptRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AptRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -15005,51 +12892,46 @@ private AptRepository( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - archiveType_ = rawValue; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + archiveType_ = rawValue; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + uri_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - distribution_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - components_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - components_.add(s); - break; + distribution_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + components_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + components_.add(s); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - gpgKey_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + gpgKey_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -15057,8 +12939,8 @@ private AptRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { components_ = components_.getUnmodifiableView(); @@ -15067,38 +12949,29 @@ private AptRepository( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.Builder.class); } /** - * - * *
          * Type of archive.
          * 
* - * Protobuf enum {@code - * google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType} + * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType} */ - public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { + public enum ArchiveType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
            * Unspecified is invalid.
            * 
@@ -15107,8 +12980,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ ARCHIVE_TYPE_UNSPECIFIED(0), /** - * - * *
            * Deb indicates that the archive contains binary files.
            * 
@@ -15117,8 +12988,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ DEB(1), /** - * - * *
            * Deb-src indicates that the archive contains source files.
            * 
@@ -15130,8 +12999,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
            * Unspecified is invalid.
            * 
@@ -15140,8 +13007,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARCHIVE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
            * Deb indicates that the archive contains binary files.
            * 
@@ -15150,8 +13015,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEB_VALUE = 1; /** - * - * *
            * Deb-src indicates that the archive contains source files.
            * 
@@ -15160,6 +13023,7 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEB_SRC_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -15184,14 +13048,10 @@ public static ArchiveType valueOf(int value) { */ public static ArchiveType forNumber(int value) { switch (value) { - case 0: - return ARCHIVE_TYPE_UNSPECIFIED; - case 1: - return DEB; - case 2: - return DEB_SRC; - default: - return null; + case 0: return ARCHIVE_TYPE_UNSPECIFIED; + case 1: return DEB; + case 2: return DEB_SRC; + default: return null; } } @@ -15199,32 +13059,29 @@ public static ArchiveType forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ArchiveType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ArchiveType findValueByNumber(int number) { + return ArchiveType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ArchiveType findValueByNumber(int number) { - return ArchiveType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDescriptor().getEnumTypes().get(0); } private static final ArchiveType[] VALUES = values(); @@ -15233,7 +13090,7 @@ public static ArchiveType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -15253,62 +13110,38 @@ private ArchiveType(int value) { public static final int ARCHIVE_TYPE_FIELD_NUMBER = 1; private int archiveType_; /** - * - * *
          * Required. Type of archive files in this repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for archiveType. */ - @java.lang.Override - public int getArchiveTypeValue() { + @java.lang.Override public int getArchiveTypeValue() { return archiveType_; } /** - * - * *
          * Required. Type of archive files in this repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The archiveType. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .ArchiveType - getArchiveType() { + @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType getArchiveType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .ArchiveType - result = - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .ArchiveType.valueOf(archiveType_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .ArchiveType.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType result = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.valueOf(archiveType_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.UNRECOGNIZED : result; } public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** - * - * *
          * Required. URI for this repository.
          * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ @java.lang.Override @@ -15317,29 +13150,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
          * Required. URI for this repository.
          * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -15350,14 +13183,11 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int DISTRIBUTION_FIELD_NUMBER = 3; private volatile java.lang.Object distribution_; /** - * - * *
          * Required. Distribution of this repository.
          * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The distribution. */ @java.lang.Override @@ -15366,29 +13196,29 @@ public java.lang.String getDistribution() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; } } /** - * - * *
          * Required. Distribution of this repository.
          * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for distribution. */ @java.lang.Override - public com.google.protobuf.ByteString getDistributionBytes() { + public com.google.protobuf.ByteString + getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); distribution_ = b; return b; } else { @@ -15399,45 +13229,37 @@ public com.google.protobuf.ByteString getDistributionBytes() { public static final int COMPONENTS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList components_; /** - * - * *
          * Required. List of components for this repository. Must contain at
          * least one item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the components. */ - public com.google.protobuf.ProtocolStringList getComponentsList() { + public com.google.protobuf.ProtocolStringList + getComponentsList() { return components_; } /** - * - * *
          * Required. List of components for this repository. Must contain at
          * least one item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of components. */ public int getComponentsCount() { return components_.size(); } /** - * - * *
          * Required. List of components for this repository. Must contain at
          * least one item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The components at the given index. */ @@ -15445,34 +13267,29 @@ public java.lang.String getComponents(int index) { return components_.get(index); } /** - * - * *
          * Required. List of components for this repository. Must contain at
          * least one item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - public com.google.protobuf.ByteString getComponentsBytes(int index) { + public com.google.protobuf.ByteString + getComponentsBytes(int index) { return components_.getByteString(index); } public static final int GPG_KEY_FIELD_NUMBER = 5; private volatile java.lang.Object gpgKey_; /** - * - * *
          * URI of the key file for this repository. The agent maintains a
          * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
          * 
* * string gpg_key = 5; - * * @return The gpgKey. */ @java.lang.Override @@ -15481,30 +13298,30 @@ public java.lang.String getGpgKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpgKey_ = s; return s; } } /** - * - * *
          * URI of the key file for this repository. The agent maintains a
          * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
          * 
* * string gpg_key = 5; - * * @return The bytes for gpgKey. */ @java.lang.Override - public com.google.protobuf.ByteString getGpgKeyBytes() { + public com.google.protobuf.ByteString + getGpgKeyBytes() { java.lang.Object ref = gpgKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gpgKey_ = b; return b; } else { @@ -15513,7 +13330,6 @@ public com.google.protobuf.ByteString getGpgKeyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15526,11 +13342,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (archiveType_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .ArchiveType.ARCHIVE_TYPE_UNSPECIFIED - .getNumber()) { + throws java.io.IOException { + if (archiveType_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, archiveType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { @@ -15554,11 +13367,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (archiveType_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .ArchiveType.ARCHIVE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, archiveType_); + if (archiveType_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, archiveType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_); @@ -15585,21 +13396,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository other = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) obj; if (archiveType_ != other.archiveType_) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getDistribution().equals(other.getDistribution())) return false; - if (!getComponentsList().equals(other.getComponentsList())) return false; - if (!getGpgKey().equals(other.getGpgKey())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getDistribution() + .equals(other.getDistribution())) return false; + if (!getComponentsList() + .equals(other.getComponentsList())) return false; + if (!getGpgKey() + .equals(other.getGpgKey())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -15628,118 +13440,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository - 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository - 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -15749,55 +13531,46 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Represents a single apt package repository. These will be added to
          * a repo file that will be managed at
          * `/etc/apt/sources.list.d/google_osconfig.list`.
          * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository} + * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.newBuilder() + // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -15815,23 +13588,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - build() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository result = - buildPartial(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository build() { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -15839,11 +13608,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository result = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository( - this); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository buildPartial() { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository(this); int from_bitField0_ = bitField0_; result.archiveType_ = archiveType_; result.uri_ = uri_; @@ -15862,57 +13628,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) { - return mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) - other); + if (other instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) { + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - other) { - if (other - == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository other) { + if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance()) return this; if (other.archiveType_ != 0) { setArchiveTypeValue(other.getArchiveTypeValue()); } @@ -15953,14 +13708,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - parsedMessage = null; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -15969,116 +13721,77 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private int archiveType_ = 0; /** - * - * *
            * Required. Type of archive files in this repository.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for archiveType. */ - @java.lang.Override - public int getArchiveTypeValue() { + @java.lang.Override public int getArchiveTypeValue() { return archiveType_; } /** - * - * *
            * Required. Type of archive files in this repository.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for archiveType to set. * @return This builder for chaining. */ public Builder setArchiveTypeValue(int value) { - + archiveType_ = value; onChanged(); return this; } /** - * - * *
            * Required. Type of archive files in this repository.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The archiveType. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .ArchiveType - getArchiveType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType getArchiveType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .ArchiveType - result = - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .ArchiveType.valueOf(archiveType_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .ArchiveType.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType result = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.valueOf(archiveType_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.UNRECOGNIZED : result; } /** - * - * *
            * Required. Type of archive files in this repository.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The archiveType to set. * @return This builder for chaining. */ - public Builder setArchiveType( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .ArchiveType - value) { + public Builder setArchiveType(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType value) { if (value == null) { throw new NullPointerException(); } - + archiveType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
            * Required. Type of archive files in this repository.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearArchiveType() { - + archiveType_ = 0; onChanged(); return this; @@ -16086,20 +13799,18 @@ public Builder clearArchiveType() { private java.lang.Object uri_ = ""; /** - * - * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -16108,21 +13819,20 @@ public java.lang.String getUri() { } } /** - * - * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -16130,61 +13840,54 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -16192,20 +13895,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object distribution_ = ""; /** - * - * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The distribution. */ public java.lang.String getDistribution() { java.lang.Object ref = distribution_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; @@ -16214,21 +13915,20 @@ public java.lang.String getDistribution() { } } /** - * - * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for distribution. */ - public com.google.protobuf.ByteString getDistributionBytes() { + public com.google.protobuf.ByteString + getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); distribution_ = b; return b; } else { @@ -16236,115 +13936,98 @@ public com.google.protobuf.ByteString getDistributionBytes() { } } /** - * - * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The distribution to set. * @return This builder for chaining. */ - public Builder setDistribution(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - + public Builder setDistribution( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + distribution_ = value; onChanged(); return this; } /** - * - * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDistribution() { - + distribution_ = getDefaultInstance().getDistribution(); onChanged(); return this; } /** - * - * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for distribution to set. * @return This builder for chaining. */ - public Builder setDistributionBytes(com.google.protobuf.ByteString value) { + public Builder setDistributionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + distribution_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList components_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList components_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureComponentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { components_ = new com.google.protobuf.LazyStringArrayList(components_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
            * Required. List of components for this repository. Must contain at
            * least one item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the components. */ - public com.google.protobuf.ProtocolStringList getComponentsList() { + public com.google.protobuf.ProtocolStringList + getComponentsList() { return components_.getUnmodifiableView(); } /** - * - * *
            * Required. List of components for this repository. Must contain at
            * least one item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of components. */ public int getComponentsCount() { return components_.size(); } /** - * - * *
            * Required. List of components for this repository. Must contain at
            * least one item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The components at the given index. */ @@ -16352,95 +14035,85 @@ public java.lang.String getComponents(int index) { return components_.get(index); } /** - * - * *
            * Required. List of components for this repository. Must contain at
            * least one item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - public com.google.protobuf.ByteString getComponentsBytes(int index) { + public com.google.protobuf.ByteString + getComponentsBytes(int index) { return components_.getByteString(index); } /** - * - * *
            * Required. List of components for this repository. Must contain at
            * least one item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The components to set. * @return This builder for chaining. */ - public Builder setComponents(int index, java.lang.String value) { + public Builder setComponents( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureComponentsIsMutable(); + throw new NullPointerException(); + } + ensureComponentsIsMutable(); components_.set(index, value); onChanged(); return this; } /** - * - * *
            * Required. List of components for this repository. Must contain at
            * least one item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The components to add. * @return This builder for chaining. */ - public Builder addComponents(java.lang.String value) { + public Builder addComponents( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureComponentsIsMutable(); + throw new NullPointerException(); + } + ensureComponentsIsMutable(); components_.add(value); onChanged(); return this; } /** - * - * *
            * Required. List of components for this repository. Must contain at
            * least one item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The components to add. * @return This builder for chaining. */ - public Builder addAllComponents(java.lang.Iterable values) { + public Builder addAllComponents( + java.lang.Iterable values) { ensureComponentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, components_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, components_); onChanged(); return this; } /** - * - * *
            * Required. List of components for this repository. Must contain at
            * least one item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearComponents() { @@ -16450,23 +14123,21 @@ public Builder clearComponents() { return this; } /** - * - * *
            * Required. List of components for this repository. Must contain at
            * least one item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the components to add. * @return This builder for chaining. */ - public Builder addComponentsBytes(com.google.protobuf.ByteString value) { + public Builder addComponentsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureComponentsIsMutable(); components_.add(value); onChanged(); @@ -16475,21 +14146,19 @@ public Builder addComponentsBytes(com.google.protobuf.ByteString value) { private java.lang.Object gpgKey_ = ""; /** - * - * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; - * * @return The gpgKey. */ public java.lang.String getGpgKey() { java.lang.Object ref = gpgKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpgKey_ = s; return s; @@ -16498,22 +14167,21 @@ public java.lang.String getGpgKey() { } } /** - * - * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; - * * @return The bytes for gpgKey. */ - public com.google.protobuf.ByteString getGpgKeyBytes() { + public com.google.protobuf.ByteString + getGpgKeyBytes() { java.lang.Object ref = gpgKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gpgKey_ = b; return b; } else { @@ -16521,69 +14189,61 @@ public com.google.protobuf.ByteString getGpgKeyBytes() { } } /** - * - * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; - * * @param value The gpgKey to set. * @return This builder for chaining. */ - public Builder setGpgKey(java.lang.String value) { + public Builder setGpgKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gpgKey_ = value; onChanged(); return this; } /** - * - * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; - * * @return This builder for chaining. */ public Builder clearGpgKey() { - + gpgKey_ = getDefaultInstance().getGpgKey(); onChanged(); return this; } /** - * - * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; - * * @param value The bytes for gpgKey to set. * @return This builder for chaining. */ - public Builder setGpgKeyBytes(com.google.protobuf.ByteString value) { + public Builder setGpgKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gpgKey_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16596,35 +14256,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16636,20 +14291,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface YumRepositoryOrBuilder - extends + public interface YumRepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. A one word, unique name for this repository. This is  the
          * `repo id` in the yum config file and also the `display_name` if
@@ -16658,13 +14310,10 @@ public interface YumRepositoryOrBuilder
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ java.lang.String getId(); /** - * - * *
          * Required. A one word, unique name for this repository. This is  the
          * `repo id` in the yum config file and also the `display_name` if
@@ -16673,134 +14322,110 @@ public interface YumRepositoryOrBuilder
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
          * The display name of the repository.
          * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
          * The display name of the repository.
          * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The baseUrl. */ java.lang.String getBaseUrl(); /** - * - * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for baseUrl. */ - com.google.protobuf.ByteString getBaseUrlBytes(); + com.google.protobuf.ByteString + getBaseUrlBytes(); /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @return A list containing the gpgKeys. */ - java.util.List getGpgKeysList(); + java.util.List + getGpgKeysList(); /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @return The count of gpgKeys. */ int getGpgKeysCount(); /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ java.lang.String getGpgKeys(int index); /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - com.google.protobuf.ByteString getGpgKeysBytes(int index); + com.google.protobuf.ByteString + getGpgKeysBytes(int index); } /** - * - * *
        * Represents a single yum package repository. These are added to a
        * repo file that is managed at
        * `/etc/yum.repos.d/google_osconfig.repo`.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository} + * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository} */ - public static final class YumRepository extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class YumRepository extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) YumRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use YumRepository.newBuilder() to construct. private YumRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private YumRepository() { id_ = ""; displayName_ = ""; @@ -16810,15 +14435,16 @@ private YumRepository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new YumRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private YumRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -16838,44 +14464,40 @@ private YumRepository( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + id_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - baseUrl_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - gpgKeys_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - gpgKeys_.add(s); - break; + baseUrl_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + gpgKeys_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + gpgKeys_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -16883,8 +14505,8 @@ private YumRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { gpgKeys_ = gpgKeys_.getUnmodifiableView(); @@ -16893,29 +14515,22 @@ private YumRepository( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - .class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - .Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** - * - * *
          * Required. A one word, unique name for this repository. This is  the
          * `repo id` in the yum config file and also the `display_name` if
@@ -16924,7 +14539,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ @java.lang.Override @@ -16933,15 +14547,14 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
          * Required. A one word, unique name for this repository. This is  the
          * `repo id` in the yum config file and also the `display_name` if
@@ -16950,15 +14563,16 @@ public java.lang.String getId() {
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -16969,14 +14583,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
          * The display name of the repository.
          * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -16985,29 +14596,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
          * The display name of the repository.
          * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -17018,14 +14629,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int BASE_URL_FIELD_NUMBER = 3; private volatile java.lang.Object baseUrl_; /** - * - * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The baseUrl. */ @java.lang.Override @@ -17034,29 +14642,29 @@ public java.lang.String getBaseUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; } } /** - * - * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for baseUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getBaseUrlBytes() { + public com.google.protobuf.ByteString + getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -17067,42 +14675,34 @@ public com.google.protobuf.ByteString getBaseUrlBytes() { public static final int GPG_KEYS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList gpgKeys_; /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList getGpgKeysList() { + public com.google.protobuf.ProtocolStringList + getGpgKeysList() { return gpgKeys_; } /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -17110,23 +14710,20 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString + getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -17139,7 +14736,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -17186,20 +14783,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository other = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) obj; - if (!getId().equals(other.getId())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getBaseUrl().equals(other.getBaseUrl())) return false; - if (!getGpgKeysList().equals(other.getGpgKeysList())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getBaseUrl() + .equals(other.getBaseUrl())) return false; + if (!getGpgKeysList() + .equals(other.getGpgKeysList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -17226,118 +14824,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository - 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository - 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -17347,55 +14915,46 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Represents a single yum package repository. These are added to a
          * repo file that is managed at
          * `/etc/yum.repos.d/google_osconfig.repo`.
          * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository} + * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - .class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - .Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.newBuilder() + // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -17411,23 +14970,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - build() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository result = - buildPartial(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository build() { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -17435,11 +14990,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository result = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository( - this); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository buildPartial() { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository(this); int from_bitField0_ = bitField0_; result.id_ = id_; result.displayName_ = displayName_; @@ -17457,57 +15009,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) { - return mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) - other); + if (other instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) { + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - other) { - if (other - == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository other) { + if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); @@ -17545,14 +15086,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - parsedMessage = null; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -17561,13 +15099,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object id_ = ""; /** - * - * *
            * Required. A one word, unique name for this repository. This is  the
            * `repo id` in the yum config file and also the `display_name` if
@@ -17576,13 +15111,13 @@ public Builder mergeFrom(
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -17591,8 +15126,6 @@ public java.lang.String getId() { } } /** - * - * *
            * Required. A one word, unique name for this repository. This is  the
            * `repo id` in the yum config file and also the `display_name` if
@@ -17601,14 +15134,15 @@ public java.lang.String getId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -17616,8 +15150,6 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
            * Required. A one word, unique name for this repository. This is  the
            * `repo id` in the yum config file and also the `display_name` if
@@ -17626,22 +15158,20 @@ public com.google.protobuf.ByteString getIdBytes() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
            * Required. A one word, unique name for this repository. This is  the
            * `repo id` in the yum config file and also the `display_name` if
@@ -17650,18 +15180,15 @@ public Builder setId(java.lang.String value) {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
            * Required. A one word, unique name for this repository. This is  the
            * `repo id` in the yum config file and also the `display_name` if
@@ -17670,16 +15197,16 @@ public Builder clearId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -17687,20 +15214,18 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -17709,21 +15234,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -17731,61 +15255,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -17793,20 +15310,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object baseUrl_ = ""; /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The baseUrl. */ public java.lang.String getBaseUrl() { java.lang.Object ref = baseUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; @@ -17815,21 +15330,20 @@ public java.lang.String getBaseUrl() { } } /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for baseUrl. */ - public com.google.protobuf.ByteString getBaseUrlBytes() { + public com.google.protobuf.ByteString + getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -17837,112 +15351,95 @@ public com.google.protobuf.ByteString getBaseUrlBytes() { } } /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrl(java.lang.String value) { + public Builder setBaseUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + baseUrl_ = value; onChanged(); return this; } /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBaseUrl() { - + baseUrl_ = getDefaultInstance().getBaseUrl(); onChanged(); return this; } /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrlBytes(com.google.protobuf.ByteString value) { + public Builder setBaseUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + baseUrl_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList gpgKeys_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList gpgKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureGpgKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { gpgKeys_ = new com.google.protobuf.LazyStringArrayList(gpgKeys_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList getGpgKeysList() { + public com.google.protobuf.ProtocolStringList + getGpgKeysList() { return gpgKeys_.getUnmodifiableView(); } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -17950,90 +15447,80 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString + getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param index The index to set the value at. * @param value The gpgKeys to set. * @return This builder for chaining. */ - public Builder setGpgKeys(int index, java.lang.String value) { + public Builder setGpgKeys( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.set(index, value); onChanged(); return this; } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param value The gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeys(java.lang.String value) { + public Builder addGpgKeys( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param values The gpgKeys to add. * @return This builder for chaining. */ - public Builder addAllGpgKeys(java.lang.Iterable values) { + public Builder addAllGpgKeys( + java.lang.Iterable values) { ensureGpgKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, gpgKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, gpgKeys_); onChanged(); return this; } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @return This builder for chaining. */ public Builder clearGpgKeys() { @@ -18043,28 +15530,25 @@ public Builder clearGpgKeys() { return this; } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param value The bytes of the gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeysBytes(com.google.protobuf.ByteString value) { + public Builder addGpgKeysBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -18077,35 +15561,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -18117,20 +15596,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ZypperRepositoryOrBuilder - extends + public interface ZypperRepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. A one word, unique name for this repository. This is the
          * `repo id` in the zypper config file and also the `display_name` if
@@ -18139,13 +15615,10 @@ public interface ZypperRepositoryOrBuilder
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ java.lang.String getId(); /** - * - * *
          * Required. A one word, unique name for this repository. This is the
          * `repo id` in the zypper config file and also the `display_name` if
@@ -18154,134 +15627,110 @@ public interface ZypperRepositoryOrBuilder
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
          * The display name of the repository.
          * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
          * The display name of the repository.
          * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The baseUrl. */ java.lang.String getBaseUrl(); /** - * - * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for baseUrl. */ - com.google.protobuf.ByteString getBaseUrlBytes(); + com.google.protobuf.ByteString + getBaseUrlBytes(); /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @return A list containing the gpgKeys. */ - java.util.List getGpgKeysList(); + java.util.List + getGpgKeysList(); /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @return The count of gpgKeys. */ int getGpgKeysCount(); /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ java.lang.String getGpgKeys(int index); /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - com.google.protobuf.ByteString getGpgKeysBytes(int index); + com.google.protobuf.ByteString + getGpgKeysBytes(int index); } /** - * - * *
        * Represents a single zypper package repository. These are added to a
        * repo file that is managed at
        * `/etc/zypp/repos.d/google_osconfig.repo`.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository} + * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository} */ - public static final class ZypperRepository extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ZypperRepository extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) ZypperRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ZypperRepository.newBuilder() to construct. private ZypperRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ZypperRepository() { id_ = ""; displayName_ = ""; @@ -18291,15 +15740,16 @@ private ZypperRepository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ZypperRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ZypperRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -18319,44 +15769,40 @@ private ZypperRepository( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + id_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - baseUrl_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - gpgKeys_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - gpgKeys_.add(s); - break; + baseUrl_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + gpgKeys_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + gpgKeys_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -18364,8 +15810,8 @@ private ZypperRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { gpgKeys_ = gpgKeys_.getUnmodifiableView(); @@ -18374,29 +15820,22 @@ private ZypperRepository( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - .class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - .Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** - * - * *
          * Required. A one word, unique name for this repository. This is the
          * `repo id` in the zypper config file and also the `display_name` if
@@ -18405,7 +15844,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ @java.lang.Override @@ -18414,15 +15852,14 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
          * Required. A one word, unique name for this repository. This is the
          * `repo id` in the zypper config file and also the `display_name` if
@@ -18431,15 +15868,16 @@ public java.lang.String getId() {
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -18450,14 +15888,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
          * The display name of the repository.
          * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -18466,29 +15901,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
          * The display name of the repository.
          * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -18499,14 +15934,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int BASE_URL_FIELD_NUMBER = 3; private volatile java.lang.Object baseUrl_; /** - * - * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The baseUrl. */ @java.lang.Override @@ -18515,29 +15947,29 @@ public java.lang.String getBaseUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; } } /** - * - * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for baseUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getBaseUrlBytes() { + public com.google.protobuf.ByteString + getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -18548,42 +15980,34 @@ public com.google.protobuf.ByteString getBaseUrlBytes() { public static final int GPG_KEYS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList gpgKeys_; /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList getGpgKeysList() { + public com.google.protobuf.ProtocolStringList + getGpgKeysList() { return gpgKeys_; } /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -18591,23 +16015,20 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString + getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -18620,7 +16041,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -18667,21 +16088,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository other = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) - obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) obj; - if (!getId().equals(other.getId())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getBaseUrl().equals(other.getBaseUrl())) return false; - if (!getGpgKeysList().equals(other.getGpgKeysList())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getBaseUrl() + .equals(other.getBaseUrl())) return false; + if (!getGpgKeysList() + .equals(other.getGpgKeysList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -18708,118 +16129,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository - 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository - 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -18829,55 +16220,46 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Represents a single zypper package repository. These are added to a
          * repo file that is managed at
          * `/etc/zypp/repos.d/google_osconfig.repo`.
          * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository} + * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.newBuilder() + // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -18893,23 +16275,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository.getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - build() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - result = buildPartial(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository build() { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -18917,12 +16295,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - result = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository(this); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository buildPartial() { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository(this); int from_bitField0_ = bitField0_; result.id_ = id_; result.displayName_ = displayName_; @@ -18940,59 +16314,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository) { - return mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - other); + if (other instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) { + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - other) { - if (other - == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository other) { + if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); @@ -19030,15 +16391,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - parsedMessage = null; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -19047,13 +16404,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object id_ = ""; /** - * - * *
            * Required. A one word, unique name for this repository. This is the
            * `repo id` in the zypper config file and also the `display_name` if
@@ -19062,13 +16416,13 @@ public Builder mergeFrom(
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -19077,8 +16431,6 @@ public java.lang.String getId() { } } /** - * - * *
            * Required. A one word, unique name for this repository. This is the
            * `repo id` in the zypper config file and also the `display_name` if
@@ -19087,14 +16439,15 @@ public java.lang.String getId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -19102,8 +16455,6 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
            * Required. A one word, unique name for this repository. This is the
            * `repo id` in the zypper config file and also the `display_name` if
@@ -19112,22 +16463,20 @@ public com.google.protobuf.ByteString getIdBytes() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
            * Required. A one word, unique name for this repository. This is the
            * `repo id` in the zypper config file and also the `display_name` if
@@ -19136,18 +16485,15 @@ public Builder setId(java.lang.String value) {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
            * Required. A one word, unique name for this repository. This is the
            * `repo id` in the zypper config file and also the `display_name` if
@@ -19156,16 +16502,16 @@ public Builder clearId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -19173,20 +16519,18 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -19195,21 +16539,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -19217,61 +16560,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -19279,20 +16615,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object baseUrl_ = ""; /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The baseUrl. */ public java.lang.String getBaseUrl() { java.lang.Object ref = baseUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; @@ -19301,21 +16635,20 @@ public java.lang.String getBaseUrl() { } } /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for baseUrl. */ - public com.google.protobuf.ByteString getBaseUrlBytes() { + public com.google.protobuf.ByteString + getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -19323,112 +16656,95 @@ public com.google.protobuf.ByteString getBaseUrlBytes() { } } /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrl(java.lang.String value) { + public Builder setBaseUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + baseUrl_ = value; onChanged(); return this; } /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBaseUrl() { - + baseUrl_ = getDefaultInstance().getBaseUrl(); onChanged(); return this; } /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrlBytes(com.google.protobuf.ByteString value) { + public Builder setBaseUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + baseUrl_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList gpgKeys_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList gpgKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureGpgKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { gpgKeys_ = new com.google.protobuf.LazyStringArrayList(gpgKeys_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList getGpgKeysList() { + public com.google.protobuf.ProtocolStringList + getGpgKeysList() { return gpgKeys_.getUnmodifiableView(); } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -19436,90 +16752,80 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString + getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param index The index to set the value at. * @param value The gpgKeys to set. * @return This builder for chaining. */ - public Builder setGpgKeys(int index, java.lang.String value) { + public Builder setGpgKeys( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.set(index, value); onChanged(); return this; } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param value The gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeys(java.lang.String value) { + public Builder addGpgKeys( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param values The gpgKeys to add. * @return This builder for chaining. */ - public Builder addAllGpgKeys(java.lang.Iterable values) { + public Builder addAllGpgKeys( + java.lang.Iterable values) { ensureGpgKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, gpgKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, gpgKeys_); onChanged(); return this; } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @return This builder for chaining. */ public Builder clearGpgKeys() { @@ -19529,28 +16835,25 @@ public Builder clearGpgKeys() { return this; } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param value The bytes of the gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeysBytes(com.google.protobuf.ByteString value) { + public Builder addGpgKeysBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -19563,36 +16866,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ZypperRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ZypperRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ZypperRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ZypperRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -19604,89 +16901,74 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GooRepositoryOrBuilder - extends + public interface GooRepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. The name of the repository.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
          * Required. The name of the repository.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
          * Required. The url of the repository.
          * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ java.lang.String getUrl(); /** - * - * *
          * Required. The url of the repository.
          * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ - com.google.protobuf.ByteString getUrlBytes(); + com.google.protobuf.ByteString + getUrlBytes(); } /** - * - * *
        * Represents a Goo package repository. These are added to a repo file
        * that is managed at
        * `C:/ProgramData/GooGet/repos/google_osconfig.repo`.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository} + * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository} */ - public static final class GooRepository extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GooRepository extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) GooRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GooRepository.newBuilder() to construct. private GooRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GooRepository() { name_ = ""; url_ = ""; @@ -19694,15 +16976,16 @@ private GooRepository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GooRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GooRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -19721,27 +17004,25 @@ private GooRepository( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - url_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + url_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -19749,42 +17030,34 @@ private GooRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - .class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - .Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
          * Required. The name of the repository.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -19793,29 +17066,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
          * Required. The name of the repository.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -19826,14 +17099,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int URL_FIELD_NUMBER = 2; private volatile java.lang.Object url_; /** - * - * *
          * Required. The url of the repository.
          * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ @java.lang.Override @@ -19842,29 +17112,29 @@ public java.lang.String getUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; } } /** - * - * *
          * Required. The url of the repository.
          * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); url_ = b; return b; } else { @@ -19873,7 +17143,6 @@ public com.google.protobuf.ByteString getUrlBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -19886,7 +17155,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -19916,18 +17185,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository other = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) obj; - if (!getName().equals(other.getName())) return false; - if (!getUrl().equals(other.getUrl())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUrl() + .equals(other.getUrl())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -19948,118 +17216,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository - 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository - 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -20069,55 +17307,46 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Represents a Goo package repository. These are added to a repo file
          * that is managed at
          * `C:/ProgramData/GooGet/repos/google_osconfig.repo`.
          * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository} + * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - .class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - .Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.newBuilder() + // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -20129,23 +17358,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - build() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository result = - buildPartial(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository build() { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -20153,11 +17378,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository result = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository( - this); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository buildPartial() { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository(this); result.name_ = name_; result.url_ = url_; onBuilt(); @@ -20168,57 +17390,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) { - return mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) - other); + if (other instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) { + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - other) { - if (other - == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository other) { + if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -20242,14 +17453,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - parsedMessage = null; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -20261,20 +17469,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -20283,21 +17489,20 @@ public java.lang.String getName() { } } /** - * - * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -20305,61 +17510,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -20367,20 +17565,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object url_ = ""; /** - * - * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; @@ -20389,21 +17585,20 @@ public java.lang.String getUrl() { } } /** - * - * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); url_ = b; return b; } else { @@ -20411,66 +17606,58 @@ public com.google.protobuf.ByteString getUrlBytes() { } } /** - * - * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl(java.lang.String value) { + public Builder setUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** - * - * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** - * - * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes(com.google.protobuf.ByteString value) { + public Builder setUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -20483,35 +17670,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GooRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GooRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GooRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GooRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -20523,18 +17705,16 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int repositoryCase_ = 0; private java.lang.Object repository_; - public enum RepositoryCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { APT(1), YUM(2), @@ -20542,7 +17722,6 @@ public enum RepositoryCase GOO(4), REPOSITORY_NOT_SET(0); private final int value; - private RepositoryCase(int value) { this.value = value; } @@ -20558,41 +17737,32 @@ public static RepositoryCase valueOf(int value) { public static RepositoryCase forNumber(int value) { switch (value) { - case 1: - return APT; - case 2: - return YUM; - case 3: - return ZYPPER; - case 4: - return GOO; - case 0: - return REPOSITORY_NOT_SET; - default: - return null; + case 1: return APT; + case 2: return YUM; + case 3: return ZYPPER; + case 4: return GOO; + case 0: return REPOSITORY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RepositoryCase getRepositoryCase() { - return RepositoryCase.forNumber(repositoryCase_); + public RepositoryCase + getRepositoryCase() { + return RepositoryCase.forNumber( + repositoryCase_); } public static final int APT_FIELD_NUMBER = 1; /** - * - * *
        * An Apt Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; * @return Whether the apt field is set. */ @java.lang.Override @@ -20600,60 +17770,42 @@ public boolean hasApt() { return repositoryCase_ == 1; } /** - * - * *
        * An Apt Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; * @return The apt. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - getApt() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository getApt() { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) - repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); } /** - * - * *
        * An Apt Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepositoryOrBuilder - getAptOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder getAptOrBuilder() { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) - repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); } public static final int YUM_FIELD_NUMBER = 2; /** - * - * *
        * A Yum Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; * @return Whether the yum field is set. */ @java.lang.Override @@ -20661,61 +17813,42 @@ public boolean hasYum() { return repositoryCase_ == 2; } /** - * - * *
        * A Yum Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; * @return The yum. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - getYum() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository getYum() { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) - repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); } /** - * - * *
        * A Yum Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepositoryOrBuilder - getYumOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder getYumOrBuilder() { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) - repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); } public static final int ZYPPER_FIELD_NUMBER = 3; /** - * - * *
        * A Zypper Repository.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; * @return Whether the zypper field is set. */ @java.lang.Override @@ -20723,64 +17856,42 @@ public boolean hasZypper() { return repositoryCase_ == 3; } /** - * - * *
        * A Zypper Repository.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; * @return The zypper. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - getZypper() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository getZypper() { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); } /** - * - * *
        * A Zypper Repository.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepositoryOrBuilder - getZypperOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder getZypperOrBuilder() { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); } public static final int GOO_FIELD_NUMBER = 4; /** - * - * *
        * A Goo Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; * @return Whether the goo field is set. */ @java.lang.Override @@ -20788,51 +17899,36 @@ public boolean hasGoo() { return repositoryCase_ == 4; } /** - * - * *
        * A Goo Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; * @return The goo. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - getGoo() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository getGoo() { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) - repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); } /** - * - * *
        * A Goo Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepositoryOrBuilder - getGooOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder getGooOrBuilder() { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) - repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -20844,30 +17940,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (repositoryCase_ == 1) { - output.writeMessage( - 1, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) - repository_); + output.writeMessage(1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_); } if (repositoryCase_ == 2) { - output.writeMessage( - 2, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) - repository_); + output.writeMessage(2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_); } if (repositoryCase_ == 3) { - output.writeMessage( - 3, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) - repository_); + output.writeMessage(3, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_); } if (repositoryCase_ == 4) { - output.writeMessage( - 4, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) - repository_); + output.writeMessage(4, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_); } unknownFields.writeTo(output); } @@ -20879,33 +17964,20 @@ public int getSerializedSize() { size = 0; if (repositoryCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) - repository_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_); } if (repositoryCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) - repository_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_); } if (repositoryCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - repository_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_); } if (repositoryCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) - repository_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -20915,27 +17987,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource other = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) obj; if (!getRepositoryCase().equals(other.getRepositoryCase())) return false; switch (repositoryCase_) { case 1: - if (!getApt().equals(other.getApt())) return false; + if (!getApt() + .equals(other.getApt())) return false; break; case 2: - if (!getYum().equals(other.getYum())) return false; + if (!getYum() + .equals(other.getYum())) return false; break; case 3: - if (!getZypper().equals(other.getZypper())) return false; + if (!getZypper() + .equals(other.getZypper())) return false; break; case 4: - if (!getGoo().equals(other.getGoo())) return false; + if (!getGoo() + .equals(other.getGoo())) return false; break; case 0: default: @@ -20977,96 +18052,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource 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.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - 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.osconfig.v1.OSPolicy.Resource.RepositoryResource 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.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -21076,49 +18142,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A resource that manages a package repository.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.newBuilder() + // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -21128,16 +18189,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); } @java.lang.Override @@ -21151,8 +18210,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource build() @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource result = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource(this); if (repositoryCase_ == 1) { if (aptBuilder_ == null) { result.repository_ = repository_; @@ -21190,78 +18248,66 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource) { - return mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) other); + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource other) { - if (other - == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource other) { + if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.getDefaultInstance()) return this; switch (other.getRepositoryCase()) { - case APT: - { - mergeApt(other.getApt()); - break; - } - case YUM: - { - mergeYum(other.getYum()); - break; - } - case ZYPPER: - { - mergeZypper(other.getZypper()); - break; - } - case GOO: - { - mergeGoo(other.getGoo()); - break; - } - case REPOSITORY_NOT_SET: - { - break; - } + case APT: { + mergeApt(other.getApt()); + break; + } + case YUM: { + mergeYum(other.getYum()); + break; + } + case ZYPPER: { + mergeZypper(other.getZypper()); + break; + } + case GOO: { + mergeGoo(other.getGoo()); + break; + } + case REPOSITORY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -21282,9 +18328,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -21293,12 +18337,12 @@ public Builder mergeFrom( } return this; } - private int repositoryCase_ = 0; private java.lang.Object repository_; - - public RepositoryCase getRepositoryCase() { - return RepositoryCase.forNumber(repositoryCase_); + public RepositoryCase + getRepositoryCase() { + return RepositoryCase.forNumber( + repositoryCase_); } public Builder clearRepository() { @@ -21308,24 +18352,15 @@ public Builder clearRepository() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepositoryOrBuilder> - aptBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder> aptBuilder_; /** - * - * *
          * An Apt Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; * @return Whether the apt field is set. */ @java.lang.Override @@ -21333,50 +18368,35 @@ public boolean hasApt() { return repositoryCase_ == 1; } /** - * - * *
          * An Apt Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; * @return The apt. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - getApt() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository getApt() { if (aptBuilder_ == null) { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository) - repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); } else { if (repositoryCase_ == 1) { return aptBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); } } /** - * - * *
          * An Apt Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; */ - public Builder setApt( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository value) { + public Builder setApt(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository value) { if (aptBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -21390,19 +18410,14 @@ public Builder setApt( return this; } /** - * - * *
          * An Apt Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; */ public Builder setApt( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.Builder - builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.Builder builderForValue) { if (aptBuilder_ == null) { repository_ = builderForValue.build(); onChanged(); @@ -21413,31 +18428,18 @@ public Builder setApt( return this; } /** - * - * *
          * An Apt Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; */ - public Builder mergeApt( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository value) { + public Builder mergeApt(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository value) { if (aptBuilder_ == null) { - if (repositoryCase_ == 1 - && repository_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository.getDefaultInstance()) { - repository_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .newBuilder( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository) - repository_) - .mergeFrom(value) - .buildPartial(); + if (repositoryCase_ == 1 && + repository_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance()) { + repository_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_) + .mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -21453,15 +18455,11 @@ public Builder mergeApt( return this; } /** - * - * *
          * An Apt Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; */ public Builder clearApt() { if (aptBuilder_ == null) { @@ -21480,110 +18478,67 @@ public Builder clearApt() { return this; } /** - * - * *
          * An Apt Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .Builder - getAptBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.Builder getAptBuilder() { return getAptFieldBuilder().getBuilder(); } /** - * - * *
          * An Apt Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepositoryOrBuilder - getAptOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder getAptOrBuilder() { if ((repositoryCase_ == 1) && (aptBuilder_ != null)) { return aptBuilder_.getMessageOrBuilder(); } else { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository) - repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); } } /** - * - * *
          * An Apt Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepositoryOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder> getAptFieldBuilder() { if (aptBuilder_ == null) { if (!(repositoryCase_ == 1)) { - repository_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .getDefaultInstance(); - } - aptBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository - .Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepositoryOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .AptRepository) - repository_, + repository_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); + } + aptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 1; - onChanged(); - ; + onChanged();; return aptBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - .Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepositoryOrBuilder> - yumBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder> yumBuilder_; /** - * - * *
          * A Yum Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; * @return Whether the yum field is set. */ @java.lang.Override @@ -21591,50 +18546,35 @@ public boolean hasYum() { return repositoryCase_ == 2; } /** - * - * *
          * A Yum Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; * @return The yum. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - getYum() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository getYum() { if (yumBuilder_ == null) { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository) - repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); } else { if (repositoryCase_ == 2) { return yumBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); } } /** - * - * *
          * A Yum Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; */ - public Builder setYum( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository value) { + public Builder setYum(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository value) { if (yumBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -21648,19 +18588,14 @@ public Builder setYum( return this; } /** - * - * *
          * A Yum Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; */ public Builder setYum( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.Builder - builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.Builder builderForValue) { if (yumBuilder_ == null) { repository_ = builderForValue.build(); onChanged(); @@ -21671,31 +18606,18 @@ public Builder setYum( return this; } /** - * - * *
          * A Yum Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; */ - public Builder mergeYum( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository value) { + public Builder mergeYum(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository value) { if (yumBuilder_ == null) { - if (repositoryCase_ == 2 - && repository_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository.getDefaultInstance()) { - repository_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - .newBuilder( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository) - repository_) - .mergeFrom(value) - .buildPartial(); + if (repositoryCase_ == 2 && + repository_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance()) { + repository_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_) + .mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -21711,15 +18633,11 @@ public Builder mergeYum( return this; } /** - * - * *
          * A Yum Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; */ public Builder clearYum() { if (yumBuilder_ == null) { @@ -21738,110 +18656,67 @@ public Builder clearYum() { return this; } /** - * - * *
          * A Yum Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - .Builder - getYumBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.Builder getYumBuilder() { return getYumFieldBuilder().getBuilder(); } /** - * - * *
          * A Yum Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepositoryOrBuilder - getYumOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder getYumOrBuilder() { if ((repositoryCase_ == 2) && (yumBuilder_ != null)) { return yumBuilder_.getMessageOrBuilder(); } else { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository) - repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); } } /** - * - * *
          * A Yum Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - .Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepositoryOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder> getYumFieldBuilder() { if (yumBuilder_ == null) { if (!(repositoryCase_ == 2)) { - repository_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - .getDefaultInstance(); - } - yumBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository - .Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepositoryOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .YumRepository) - repository_, + repository_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); + } + yumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 2; - onChanged(); - ; + onChanged();; return yumBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - .Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepositoryOrBuilder> - zypperBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder> zypperBuilder_; /** - * - * *
          * A Zypper Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; * @return Whether the zypper field is set. */ @java.lang.Override @@ -21849,51 +18724,35 @@ public boolean hasZypper() { return repositoryCase_ == 3; } /** - * - * *
          * A Zypper Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; * @return The zypper. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - getZypper() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository getZypper() { if (zypperBuilder_ == null) { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); } else { if (repositoryCase_ == 3) { return zypperBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); } } /** - * - * *
          * A Zypper Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; */ - public Builder setZypper( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - value) { + public Builder setZypper(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository value) { if (zypperBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -21907,20 +18766,14 @@ public Builder setZypper( return this; } /** - * - * *
          * A Zypper Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; */ public Builder setZypper( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - .Builder - builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder builderForValue) { if (zypperBuilder_ == null) { repository_ = builderForValue.build(); onChanged(); @@ -21931,32 +18784,18 @@ public Builder setZypper( return this; } /** - * - * *
          * A Zypper Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; */ - public Builder mergeZypper( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - value) { + public Builder mergeZypper(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository value) { if (zypperBuilder_ == null) { - if (repositoryCase_ == 3 - && repository_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository.getDefaultInstance()) { - repository_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - .newBuilder( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - repository_) - .mergeFrom(value) - .buildPartial(); + if (repositoryCase_ == 3 && + repository_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance()) { + repository_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_) + .mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -21972,15 +18811,11 @@ public Builder mergeZypper( return this; } /** - * - * *
          * A Zypper Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; */ public Builder clearZypper() { if (zypperBuilder_ == null) { @@ -21999,111 +18834,67 @@ public Builder clearZypper() { return this; } /** - * - * *
          * A Zypper Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - .Builder - getZypperBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder getZypperBuilder() { return getZypperFieldBuilder().getBuilder(); } /** - * - * *
          * A Zypper Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepositoryOrBuilder - getZypperOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder getZypperOrBuilder() { if ((repositoryCase_ == 3) && (zypperBuilder_ != null)) { return zypperBuilder_.getMessageOrBuilder(); } else { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); } } /** - * - * *
          * A Zypper Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - .Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepositoryOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder> getZypperFieldBuilder() { if (zypperBuilder_ == null) { if (!(repositoryCase_ == 3)) { - repository_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository - .getDefaultInstance(); - } - zypperBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepositoryOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - repository_, + repository_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); + } + zypperBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 3; - onChanged(); - ; + onChanged();; return zypperBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - .Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepositoryOrBuilder> - gooBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder> gooBuilder_; /** - * - * *
          * A Goo Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; * @return Whether the goo field is set. */ @java.lang.Override @@ -22111,50 +18902,35 @@ public boolean hasGoo() { return repositoryCase_ == 4; } /** - * - * *
          * A Goo Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; * @return The goo. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - getGoo() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository getGoo() { if (gooBuilder_ == null) { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository) - repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); } else { if (repositoryCase_ == 4) { return gooBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); } } /** - * - * *
          * A Goo Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; */ - public Builder setGoo( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository value) { + public Builder setGoo(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository value) { if (gooBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -22168,19 +18944,14 @@ public Builder setGoo( return this; } /** - * - * *
          * A Goo Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; */ public Builder setGoo( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.Builder - builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.Builder builderForValue) { if (gooBuilder_ == null) { repository_ = builderForValue.build(); onChanged(); @@ -22191,31 +18962,18 @@ public Builder setGoo( return this; } /** - * - * *
          * A Goo Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; */ - public Builder mergeGoo( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository value) { + public Builder mergeGoo(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository value) { if (gooBuilder_ == null) { - if (repositoryCase_ == 4 - && repository_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository.getDefaultInstance()) { - repository_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - .newBuilder( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository) - repository_) - .mergeFrom(value) - .buildPartial(); + if (repositoryCase_ == 4 && + repository_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance()) { + repository_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_) + .mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -22231,15 +18989,11 @@ public Builder mergeGoo( return this; } /** - * - * *
          * A Goo Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; */ public Builder clearGoo() { if (gooBuilder_ == null) { @@ -22258,92 +19012,58 @@ public Builder clearGoo() { return this; } /** - * - * *
          * A Goo Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - .Builder - getGooBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.Builder getGooBuilder() { return getGooFieldBuilder().getBuilder(); } /** - * - * *
          * A Goo Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepositoryOrBuilder - getGooOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder getGooOrBuilder() { if ((repositoryCase_ == 4) && (gooBuilder_ != null)) { return gooBuilder_.getMessageOrBuilder(); } else { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository) - repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); } } /** - * - * *
          * A Goo Repository.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - .Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepositoryOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder> getGooFieldBuilder() { if (gooBuilder_ == null) { if (!(repositoryCase_ == 4)) { - repository_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - .getDefaultInstance(); - } - gooBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository - .Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepositoryOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .GooRepository) - repository_, + repository_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); + } + gooBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 4; - onChanged(); - ; + onChanged();; return gooBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -22356,32 +19076,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RepositoryResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RepositoryResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RepositoryResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RepositoryResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -22393,20 +19111,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ExecResourceOrBuilder - extends + public interface ExecResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Required. What to run to validate this resource is in the desired
        * state. An exit code of 100 indicates "in desired state", and exit code
@@ -22414,16 +19129,11 @@ public interface ExecResourceOrBuilder
        * a failure running validate.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the validate field is set. */ boolean hasValidate(); /** - * - * *
        * Required. What to run to validate this resource is in the desired
        * state. An exit code of 100 indicates "in desired state", and exit code
@@ -22431,16 +19141,11 @@ public interface ExecResourceOrBuilder
        * a failure running validate.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The validate. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getValidate(); /** - * - * *
        * Required. What to run to validate this resource is in the desired
        * state. An exit code of 100 indicates "in desired state", and exit code
@@ -22448,16 +19153,11 @@ public interface ExecResourceOrBuilder
        * a failure running validate.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder - getValidateOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder getValidateOrBuilder(); /** - * - * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
@@ -22465,13 +19165,10 @@ public interface ExecResourceOrBuilder
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * * @return Whether the enforce field is set. */ boolean hasEnforce(); /** - * - * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
@@ -22479,13 +19176,10 @@ public interface ExecResourceOrBuilder
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * * @return The enforce. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getEnforce(); /** - * - * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
@@ -22494,12 +19188,9 @@ public interface ExecResourceOrBuilder
        *
        * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2;
        */
-      com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder
-          getEnforceOrBuilder();
+      com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder getEnforceOrBuilder();
     }
     /**
-     *
-     *
      * 
      * A resource that allows executing scripts on the VM.
      * The `ExecResource` has 2 stages: `validate` and `enforce` and both stages
@@ -22527,29 +19218,30 @@ public interface ExecResourceOrBuilder
      *
      * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource}
      */
-    public static final class ExecResource extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class ExecResource extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource)
         ExecResourceOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use ExecResource.newBuilder() to construct.
       private ExecResource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private ExecResource() {}
+      private ExecResource() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new ExecResource();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private ExecResource(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -22568,49 +19260,39 @@ private ExecResource(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder
-                      subBuilder = null;
-                  if (validate_ != null) {
-                    subBuilder = validate_.toBuilder();
-                  }
-                  validate_ =
-                      input.readMessage(
-                          com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.parser(),
-                          extensionRegistry);
-                  if (subBuilder != null) {
-                    subBuilder.mergeFrom(validate_);
-                    validate_ = subBuilder.buildPartial();
-                  }
-
-                  break;
+              case 10: {
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder subBuilder = null;
+                if (validate_ != null) {
+                  subBuilder = validate_.toBuilder();
+                }
+                validate_ = input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(validate_);
+                  validate_ = subBuilder.buildPartial();
                 }
-              case 18:
-                {
-                  com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder
-                      subBuilder = null;
-                  if (enforce_ != null) {
-                    subBuilder = enforce_.toBuilder();
-                  }
-                  enforce_ =
-                      input.readMessage(
-                          com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.parser(),
-                          extensionRegistry);
-                  if (subBuilder != null) {
-                    subBuilder.mergeFrom(enforce_);
-                    enforce_ = subBuilder.buildPartial();
-                  }
 
-                  break;
+                break;
+              }
+              case 18: {
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder subBuilder = null;
+                if (enforce_ != null) {
+                  subBuilder = enforce_.toBuilder();
                 }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+                enforce_ = input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(enforce_);
+                  enforce_ = subBuilder.buildPartial();
+                }
+
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -22618,61 +19300,49 @@ private ExecResource(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.OsPolicyProto
-            .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.OsPolicyProto
-            .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.class,
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder.class);
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder.class);
       }
 
-      public interface ExecOrBuilder
-          extends
+      public interface ExecOrBuilder extends
           // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec)
           com.google.protobuf.MessageOrBuilder {
 
         /**
-         *
-         *
          * 
          * A remote or local file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; - * * @return Whether the file field is set. */ boolean hasFile(); /** - * - * *
          * A remote or local file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; - * * @return The file. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.File getFile(); /** - * - * *
          * A remote or local file.
          * 
@@ -22682,129 +19352,98 @@ public interface ExecOrBuilder com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getFileOrBuilder(); /** - * - * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; - * * @return Whether the script field is set. */ boolean hasScript(); /** - * - * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; - * * @return The script. */ java.lang.String getScript(); /** - * - * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; - * * @return The bytes for script. */ - com.google.protobuf.ByteString getScriptBytes(); + com.google.protobuf.ByteString + getScriptBytes(); /** - * - * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; - * * @return A list containing the args. */ - java.util.List getArgsList(); + java.util.List + getArgsList(); /** - * - * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; - * * @return The count of args. */ int getArgsCount(); /** - * - * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; - * * @param index The index of the element to return. * @return The args at the given index. */ java.lang.String getArgs(int index); /** - * - * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; - * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - com.google.protobuf.ByteString getArgsBytes(int index); + com.google.protobuf.ByteString + getArgsBytes(int index); /** - * - * *
          * Required. The script interpreter to use.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for interpreter. */ int getInterpreterValue(); /** - * - * *
          * Required. The script interpreter to use.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The interpreter. */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter - getInterpreter(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter getInterpreter(); /** - * - * *
          * Only recorded for enforce Exec.
          * Path to an output file (that is created by this Exec) whose
@@ -22815,13 +19454,10 @@ public interface ExecOrBuilder
          * 
* * string output_file_path = 5; - * * @return The outputFilePath. */ java.lang.String getOutputFilePath(); /** - * - * *
          * Only recorded for enforce Exec.
          * Path to an output file (that is created by this Exec) whose
@@ -22832,33 +19468,29 @@ public interface ExecOrBuilder
          * 
* * string output_file_path = 5; - * * @return The bytes for outputFilePath. */ - com.google.protobuf.ByteString getOutputFilePathBytes(); + com.google.protobuf.ByteString + getOutputFilePathBytes(); - public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.SourceCase - getSourceCase(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.SourceCase getSourceCase(); } /** - * - * *
        * A file or script to execute.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec} */ - public static final class Exec extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Exec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) ExecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Exec.newBuilder() to construct. private Exec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Exec() { args_ = com.google.protobuf.LazyStringArrayList.EMPTY; interpreter_ = 0; @@ -22867,15 +19499,16 @@ private Exec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Exec(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Exec( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -22895,64 +19528,54 @@ private Exec( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_).toBuilder(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - sourceCase_ = 2; - source_ = s; - break; + source_ = + input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); + source_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - args_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - args_.add(s); - break; + sourceCase_ = 1; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 2; + source_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + args_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 32: - { - int rawValue = input.readEnum(); + args_.add(s); + break; + } + case 32: { + int rawValue = input.readEnum(); - interpreter_ = rawValue; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + interpreter_ = rawValue; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - outputFilePath_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + outputFilePath_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -22960,8 +19583,8 @@ private Exec( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); @@ -22970,36 +19593,29 @@ private Exec( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder.class); } /** - * - * *
          * The interpreter to use.
          * 
* - * Protobuf enum {@code - * google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter} + * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter} */ - public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { + public enum Interpreter + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
            * Invalid value, the request will return validation error.
            * 
@@ -23008,8 +19624,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { */ INTERPRETER_UNSPECIFIED(0), /** - * - * *
            * If an interpreter is not specified, the
            * source is executed directly. This execution, without an
@@ -23022,8 +19636,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
            */
           NONE(1),
           /**
-           *
-           *
            * 
            * Indicates that the script runs with `/bin/sh` on Linux and
            * `cmd.exe` on Windows.
@@ -23033,8 +19645,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
            */
           SHELL(2),
           /**
-           *
-           *
            * 
            * Indicates that the script runs with PowerShell.
            * 
@@ -23046,8 +19656,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
            * Invalid value, the request will return validation error.
            * 
@@ -23056,8 +19664,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INTERPRETER_UNSPECIFIED_VALUE = 0; /** - * - * *
            * If an interpreter is not specified, the
            * source is executed directly. This execution, without an
@@ -23070,8 +19676,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
            */
           public static final int NONE_VALUE = 1;
           /**
-           *
-           *
            * 
            * Indicates that the script runs with `/bin/sh` on Linux and
            * `cmd.exe` on Windows.
@@ -23081,8 +19685,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
            */
           public static final int SHELL_VALUE = 2;
           /**
-           *
-           *
            * 
            * Indicates that the script runs with PowerShell.
            * 
@@ -23091,6 +19693,7 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POWERSHELL_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -23115,16 +19718,11 @@ public static Interpreter valueOf(int value) { */ public static Interpreter forNumber(int value) { switch (value) { - case 0: - return INTERPRETER_UNSPECIFIED; - case 1: - return NONE; - case 2: - return SHELL; - case 3: - return POWERSHELL; - default: - return null; + case 0: return INTERPRETER_UNSPECIFIED; + case 1: return NONE; + case 2: return SHELL; + case 3: return POWERSHELL; + default: return null; } } @@ -23132,31 +19730,29 @@ public static Interpreter forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Interpreter> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Interpreter findValueByNumber(int number) { + return Interpreter.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Interpreter findValueByNumber(int number) { - return Interpreter.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDescriptor().getEnumTypes().get(0); } private static final Interpreter[] VALUES = values(); @@ -23165,7 +19761,7 @@ public static Interpreter valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -23184,16 +19780,13 @@ private Interpreter(int value) { private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FILE(1), SCRIPT(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -23209,36 +19802,30 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return FILE; - case 2: - return SCRIPT; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return FILE; + case 2: return SCRIPT; + case 0: return SOURCE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public static final int FILE_FIELD_NUMBER = 1; /** - * - * *
          * A remote or local file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; - * * @return Whether the file field is set. */ @java.lang.Override @@ -23246,26 +19833,21 @@ public boolean hasFile() { return sourceCase_ == 1; } /** - * - * *
          * A remote or local file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; - * * @return The file. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getFile() { if (sourceCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance(); } /** - * - * *
          * A remote or local file.
          * 
@@ -23275,37 +19857,31 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getFile() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getFileOrBuilder() { if (sourceCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance(); } public static final int SCRIPT_FIELD_NUMBER = 2; /** - * - * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; - * * @return Whether the script field is set. */ public boolean hasScript() { return sourceCase_ == 2; } /** - * - * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; - * * @return The script. */ public java.lang.String getScript() { @@ -23316,7 +19892,8 @@ public java.lang.String getScript() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -23325,25 +19902,24 @@ public java.lang.String getScript() { } } /** - * - * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; - * * @return The bytes for script. */ - public com.google.protobuf.ByteString getScriptBytes() { + public com.google.protobuf.ByteString + getScriptBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -23356,42 +19932,34 @@ public com.google.protobuf.ByteString getScriptBytes() { public static final int ARGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList args_; /** - * - * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; - * * @return A list containing the args. */ - public com.google.protobuf.ProtocolStringList getArgsList() { + public com.google.protobuf.ProtocolStringList + getArgsList() { return args_; } /** - * - * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; - * * @return The count of args. */ public int getArgsCount() { return args_.size(); } /** - * - * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; - * * @param index The index of the element to return. * @return The args at the given index. */ @@ -23399,71 +19967,49 @@ public java.lang.String getArgs(int index) { return args_.get(index); } /** - * - * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; - * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - public com.google.protobuf.ByteString getArgsBytes(int index) { + public com.google.protobuf.ByteString + getArgsBytes(int index) { return args_.getByteString(index); } public static final int INTERPRETER_FIELD_NUMBER = 4; private int interpreter_; /** - * - * *
          * Required. The script interpreter to use.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override - public int getInterpreterValue() { + @java.lang.Override public int getInterpreterValue() { return interpreter_; } /** - * - * *
          * Required. The script interpreter to use.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The interpreter. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter - getInterpreter() { + @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter result = - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter.valueOf( - interpreter_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter - .UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter result = com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter.valueOf(interpreter_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter.UNRECOGNIZED : result; } public static final int OUTPUT_FILE_PATH_FIELD_NUMBER = 5; private volatile java.lang.Object outputFilePath_; /** - * - * *
          * Only recorded for enforce Exec.
          * Path to an output file (that is created by this Exec) whose
@@ -23474,7 +20020,6 @@ public int getInterpreterValue() {
          * 
* * string output_file_path = 5; - * * @return The outputFilePath. */ @java.lang.Override @@ -23483,15 +20028,14 @@ public java.lang.String getOutputFilePath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputFilePath_ = s; return s; } } /** - * - * *
          * Only recorded for enforce Exec.
          * Path to an output file (that is created by this Exec) whose
@@ -23502,15 +20046,16 @@ public java.lang.String getOutputFilePath() {
          * 
* * string output_file_path = 5; - * * @return The bytes for outputFilePath. */ @java.lang.Override - public com.google.protobuf.ByteString getOutputFilePathBytes() { + public com.google.protobuf.ByteString + getOutputFilePathBytes() { java.lang.Object ref = outputFilePath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputFilePath_ = b; return b; } else { @@ -23519,7 +20064,6 @@ public com.google.protobuf.ByteString getOutputFilePathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -23532,7 +20076,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (sourceCase_ == 1) { output.writeMessage(1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); } @@ -23542,10 +20086,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < args_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, args_.getRaw(i)); } - if (interpreter_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter - .INTERPRETER_UNSPECIFIED - .getNumber()) { + if (interpreter_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { output.writeEnum(4, interpreter_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputFilePath_)) { @@ -23561,9 +20102,8 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); } if (sourceCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_); @@ -23576,11 +20116,9 @@ public int getSerializedSize() { size += dataSize; size += 1 * getArgsList().size(); } - if (interpreter_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter - .INTERPRETER_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, interpreter_); + if (interpreter_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, interpreter_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputFilePath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, outputFilePath_); @@ -23593,24 +20131,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec other = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) obj; - if (!getArgsList().equals(other.getArgsList())) return false; + if (!getArgsList() + .equals(other.getArgsList())) return false; if (interpreter_ != other.interpreter_) return false; - if (!getOutputFilePath().equals(other.getOutputFilePath())) return false; + if (!getOutputFilePath() + .equals(other.getOutputFilePath())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 1: - if (!getFile().equals(other.getFile())) return false; + if (!getFile() + .equals(other.getFile())) return false; break; case 2: - if (!getScript().equals(other.getScript())) return false; + if (!getScript() + .equals(other.getScript())) return false; break; case 0: default: @@ -23652,97 +20193,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec 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.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec - 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.osconfig.v1.OSPolicy.Resource.ExecResource.Exec 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.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -23752,49 +20283,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * A file or script to execute.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.newBuilder() + // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -23810,22 +20336,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec build() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec result = - buildPartial(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -23834,8 +20357,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec build() @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec result = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec(this); int from_bitField0_ = bitField0_; if (sourceCase_ == 1) { if (fileBuilder_ == null) { @@ -23863,53 +20385,46 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) { - return mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) other); + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec other) { - if (other - == com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec other) { + if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance()) return this; if (!other.args_.isEmpty()) { if (args_.isEmpty()) { args_ = other.args_; @@ -23928,22 +20443,19 @@ public Builder mergeFrom( onChanged(); } switch (other.getSourceCase()) { - case FILE: - { - mergeFile(other.getFile()); - break; - } - case SCRIPT: - { - sourceCase_ = 2; - source_ = other.source_; - onChanged(); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case FILE: { + mergeFile(other.getFile()); + break; + } + case SCRIPT: { + sourceCase_ = 2; + source_ = other.source_; + onChanged(); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -23964,9 +20476,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -23975,12 +20485,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -23993,19 +20503,13 @@ public Builder clearSource() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> - fileBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> fileBuilder_; /** - * - * *
            * A remote or local file.
            * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; - * * @return Whether the file field is set. */ @java.lang.Override @@ -24013,14 +20517,11 @@ public boolean hasFile() { return sourceCase_ == 1; } /** - * - * *
            * A remote or local file.
            * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; - * * @return The file. */ @java.lang.Override @@ -24038,8 +20539,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getFile() { } } /** - * - * *
            * A remote or local file.
            * 
@@ -24060,8 +20559,6 @@ public Builder setFile(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value return this; } /** - * - * *
            * A remote or local file.
            * 
@@ -24080,8 +20577,6 @@ public Builder setFile( return this; } /** - * - * *
            * A remote or local file.
            * 
@@ -24090,14 +20585,10 @@ public Builder setFile( */ public Builder mergeFile(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value) { if (fileBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance()) { - source_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance()) { + source_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -24113,8 +20604,6 @@ public Builder mergeFile(com.google.cloud.osconfig.v1.OSPolicy.Resource.File val return this; } /** - * - * *
            * A remote or local file.
            * 
@@ -24138,8 +20627,6 @@ public Builder clearFile() { return this; } /** - * - * *
            * A remote or local file.
            * 
@@ -24150,8 +20637,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder getFileBuilde return getFileFieldBuilder().getBuilder(); } /** - * - * *
            * A remote or local file.
            * 
@@ -24170,8 +20655,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getFileOrBui } } /** - * - * *
            * A remote or local file.
            * 
@@ -24179,56 +20662,44 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getFileOrBui * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> getFileFieldBuilder() { if (fileBuilder_ == null) { if (!(sourceCase_ == 1)) { source_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance(); } - fileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( + fileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return fileBuilder_; } /** - * - * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; - * * @return Whether the script field is set. */ @java.lang.Override public boolean hasScript() { return sourceCase_ == 2; } - /** - * - * + /** *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; - * * @return The script. */ @java.lang.Override @@ -24238,7 +20709,8 @@ public java.lang.String getScript() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -24249,26 +20721,25 @@ public java.lang.String getScript() { } } /** - * - * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; - * * @return The bytes for script. */ @java.lang.Override - public com.google.protobuf.ByteString getScriptBytes() { + public com.google.protobuf.ByteString + getScriptBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -24278,37 +20749,32 @@ public com.google.protobuf.ByteString getScriptBytes() { } } /** - * - * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; - * * @param value The script to set. * @return This builder for chaining. */ - public Builder setScript(java.lang.String value) { + public Builder setScript( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceCase_ = 2; + throw new NullPointerException(); + } + sourceCase_ = 2; source_ = value; onChanged(); return this; } /** - * - * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; - * * @return This builder for chaining. */ public Builder clearScript() { @@ -24320,75 +20786,63 @@ public Builder clearScript() { return this; } /** - * - * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; - * * @param value The bytes for script to set. * @return This builder for chaining. */ - public Builder setScriptBytes(com.google.protobuf.ByteString value) { + public Builder setScriptBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); sourceCase_ = 2; source_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList args_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList args_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArgsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(args_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; - * * @return A list containing the args. */ - public com.google.protobuf.ProtocolStringList getArgsList() { + public com.google.protobuf.ProtocolStringList + getArgsList() { return args_.getUnmodifiableView(); } /** - * - * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; - * * @return The count of args. */ public int getArgsCount() { return args_.size(); } /** - * - * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; - * * @param index The index of the element to return. * @return The args at the given index. */ @@ -24396,90 +20850,80 @@ public java.lang.String getArgs(int index) { return args_.get(index); } /** - * - * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; - * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - public com.google.protobuf.ByteString getArgsBytes(int index) { + public com.google.protobuf.ByteString + getArgsBytes(int index) { return args_.getByteString(index); } /** - * - * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; - * * @param index The index to set the value at. * @param value The args to set. * @return This builder for chaining. */ - public Builder setArgs(int index, java.lang.String value) { + public Builder setArgs( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); + throw new NullPointerException(); + } + ensureArgsIsMutable(); args_.set(index, value); onChanged(); return this; } /** - * - * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; - * * @param value The args to add. * @return This builder for chaining. */ - public Builder addArgs(java.lang.String value) { + public Builder addArgs( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); + throw new NullPointerException(); + } + ensureArgsIsMutable(); args_.add(value); onChanged(); return this; } /** - * - * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; - * * @param values The args to add. * @return This builder for chaining. */ - public Builder addAllArgs(java.lang.Iterable values) { + public Builder addAllArgs( + java.lang.Iterable values) { ensureArgsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, args_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, args_); onChanged(); return this; } /** - * - * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; - * * @return This builder for chaining. */ public Builder clearArgs() { @@ -24489,22 +20933,20 @@ public Builder clearArgs() { return this; } /** - * - * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; - * * @param value The bytes of the args to add. * @return This builder for chaining. */ - public Builder addArgsBytes(com.google.protobuf.ByteString value) { + public Builder addArgsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureArgsIsMutable(); args_.add(value); onChanged(); @@ -24513,106 +20955,73 @@ public Builder addArgsBytes(com.google.protobuf.ByteString value) { private int interpreter_ = 0; /** - * - * *
            * Required. The script interpreter to use.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override - public int getInterpreterValue() { + @java.lang.Override public int getInterpreterValue() { return interpreter_; } /** - * - * *
            * Required. The script interpreter to use.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for interpreter to set. * @return This builder for chaining. */ public Builder setInterpreterValue(int value) { - + interpreter_ = value; onChanged(); return this; } /** - * - * *
            * Required. The script interpreter to use.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The interpreter. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter - getInterpreter() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter result = - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter - .valueOf(interpreter_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter - .UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter result = com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter.valueOf(interpreter_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter.UNRECOGNIZED : result; } /** - * - * *
            * Required. The script interpreter to use.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; * @param value The interpreter to set. * @return This builder for chaining. */ - public Builder setInterpreter( - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter value) { + public Builder setInterpreter(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter value) { if (value == null) { throw new NullPointerException(); } - + interpreter_ = value.getNumber(); onChanged(); return this; } /** - * - * *
            * Required. The script interpreter to use.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearInterpreter() { - + interpreter_ = 0; onChanged(); return this; @@ -24620,8 +21029,6 @@ public Builder clearInterpreter() { private java.lang.Object outputFilePath_ = ""; /** - * - * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -24632,13 +21039,13 @@ public Builder clearInterpreter() {
            * 
* * string output_file_path = 5; - * * @return The outputFilePath. */ public java.lang.String getOutputFilePath() { java.lang.Object ref = outputFilePath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputFilePath_ = s; return s; @@ -24647,8 +21054,6 @@ public java.lang.String getOutputFilePath() { } } /** - * - * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -24659,14 +21064,15 @@ public java.lang.String getOutputFilePath() {
            * 
* * string output_file_path = 5; - * * @return The bytes for outputFilePath. */ - public com.google.protobuf.ByteString getOutputFilePathBytes() { + public com.google.protobuf.ByteString + getOutputFilePathBytes() { java.lang.Object ref = outputFilePath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputFilePath_ = b; return b; } else { @@ -24674,8 +21080,6 @@ public com.google.protobuf.ByteString getOutputFilePathBytes() { } } /** - * - * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -24686,22 +21090,20 @@ public com.google.protobuf.ByteString getOutputFilePathBytes() {
            * 
* * string output_file_path = 5; - * * @param value The outputFilePath to set. * @return This builder for chaining. */ - public Builder setOutputFilePath(java.lang.String value) { + public Builder setOutputFilePath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputFilePath_ = value; onChanged(); return this; } /** - * - * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -24712,18 +21114,15 @@ public Builder setOutputFilePath(java.lang.String value) {
            * 
* * string output_file_path = 5; - * * @return This builder for chaining. */ public Builder clearOutputFilePath() { - + outputFilePath_ = getDefaultInstance().getOutputFilePath(); onChanged(); return this; } /** - * - * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -24734,21 +21133,20 @@ public Builder clearOutputFilePath() {
            * 
* * string output_file_path = 5; - * * @param value The bytes for outputFilePath to set. * @return This builder for chaining. */ - public Builder setOutputFilePathBytes(com.google.protobuf.ByteString value) { + public Builder setOutputFilePathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputFilePath_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -24761,32 +21159,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Exec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Exec(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Exec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Exec(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -24798,17 +21194,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int VALIDATE_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate_; /** - * - * *
        * Required. What to run to validate this resource is in the desired
        * state. An exit code of 100 indicates "in desired state", and exit code
@@ -24816,10 +21210,7 @@ public com.google.protobuf.Parser getParserForType() {
        * a failure running validate.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the validate field is set. */ @java.lang.Override @@ -24827,8 +21218,6 @@ public boolean hasValidate() { return validate_ != null; } /** - * - * *
        * Required. What to run to validate this resource is in the desired
        * state. An exit code of 100 indicates "in desired state", and exit code
@@ -24836,21 +21225,14 @@ public boolean hasValidate() {
        * a failure running validate.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The validate. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getValidate() { - return validate_ == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() - : validate_; + return validate_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : validate_; } /** - * - * *
        * Required. What to run to validate this resource is in the desired
        * state. An exit code of 100 indicates "in desired state", and exit code
@@ -24858,21 +21240,16 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getValid
        * a failure running validate.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder - getValidateOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder getValidateOrBuilder() { return getValidate(); } public static final int ENFORCE_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce_; /** - * - * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
@@ -24880,7 +21257,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getValid
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * * @return Whether the enforce field is set. */ @java.lang.Override @@ -24888,8 +21264,6 @@ public boolean hasEnforce() { return enforce_ != null; } /** - * - * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
@@ -24897,18 +21271,13 @@ public boolean hasEnforce() {
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * * @return The enforce. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getEnforce() { - return enforce_ == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() - : enforce_; + return enforce_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : enforce_; } /** - * - * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
@@ -24918,13 +21287,11 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getEnfor
        * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder
-          getEnforceOrBuilder() {
+      public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder getEnforceOrBuilder() {
         return getEnforce();
       }
 
       private byte memoizedIsInitialized = -1;
-
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -24936,7 +21303,8 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+      public void writeTo(com.google.protobuf.CodedOutputStream output)
+                          throws java.io.IOException {
         if (validate_ != null) {
           output.writeMessage(1, getValidate());
         }
@@ -24953,10 +21321,12 @@ public int getSerializedSize() {
 
         size = 0;
         if (validate_ != null) {
-          size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getValidate());
+          size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(1, getValidate());
         }
         if (enforce_ != null) {
-          size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEnforce());
+          size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(2, getEnforce());
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -24966,21 +21336,22 @@ public int getSerializedSize() {
       @java.lang.Override
       public boolean equals(final java.lang.Object obj) {
         if (obj == this) {
-          return true;
+         return true;
         }
         if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource)) {
           return super.equals(obj);
         }
-        com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource other =
-            (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) obj;
+        com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) obj;
 
         if (hasValidate() != other.hasValidate()) return false;
         if (hasValidate()) {
-          if (!getValidate().equals(other.getValidate())) return false;
+          if (!getValidate()
+              .equals(other.getValidate())) return false;
         }
         if (hasEnforce() != other.hasEnforce()) return false;
         if (hasEnforce()) {
-          if (!getEnforce().equals(other.getEnforce())) return false;
+          if (!getEnforce()
+              .equals(other.getEnforce())) return false;
         }
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
@@ -25007,94 +21378,87 @@ public int hashCode() {
       }
 
       public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(
-          java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+          java.nio.ByteBuffer data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
       public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(
-          java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.nio.ByteBuffer data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
       public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
       public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource 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.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(
-          byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(byte[] data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
       public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(
-          byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          byte[] data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
-      public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(
-          java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
       public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.io.InputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-            PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input, extensionRegistry);
       }
-
-      public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseDelimitedFrom(
-          java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+      public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseDelimitedFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseDelimitedWithIOException(PARSER, input);
       }
-
       public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseDelimitedFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.io.InputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-            PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3
+            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
       }
-
       public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(
-          com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+          com.google.protobuf.CodedInputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
       public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-            PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input, extensionRegistry);
       }
 
       @java.lang.Override
-      public Builder newBuilderForType() {
-        return newBuilder();
-      }
-
+      public Builder newBuilderForType() { return newBuilder(); }
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
-
-      public static Builder newBuilder(
-          com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource prototype) {
+      public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
-
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE
+            ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -25104,8 +21468,6 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
-       *
-       *
        * 
        * A resource that allows executing scripts on the VM.
        * The `ExecResource` has 2 stages: `validate` and `enforce` and both stages
@@ -25133,24 +21495,21 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource)
           com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto
-              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto
-              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_fieldAccessorTable
+          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.class,
-                  com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder.class);
+                  com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder.class);
         }
 
         // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.newBuilder()
@@ -25158,15 +21517,16 @@ private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
+          }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -25186,14 +21546,13 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto
-              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource
-            getDefaultInstanceForType() {
+        public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource getDefaultInstanceForType() {
           return com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.getDefaultInstance();
         }
 
@@ -25208,8 +21567,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource build() {
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource buildPartial() {
-          com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource result =
-              new com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource(this);
+          com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource(this);
           if (validateBuilder_ == null) {
             result.validate_ = validate_;
           } else {
@@ -25228,52 +21586,46 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource buildPartial(
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1.OSPolicy.Resource.ExecResource) {
-            return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) other);
+            return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource other) {
-          if (other
-              == com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.getDefaultInstance())
-            return this;
+        public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource other) {
+          if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.getDefaultInstance()) return this;
           if (other.hasValidate()) {
             mergeValidate(other.getValidate());
           }
@@ -25299,9 +21651,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource)
-                    e.getUnfinishedMessage();
+            parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -25313,13 +21663,8 @@ public Builder mergeFrom(
 
         private com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate_;
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec,
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder,
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder>
-            validateBuilder_;
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder> validateBuilder_;
         /**
-         *
-         *
          * 
          * Required. What to run to validate this resource is in the desired
          * state. An exit code of 100 indicates "in desired state", and exit code
@@ -25327,18 +21672,13 @@ public Builder mergeFrom(
          * a failure running validate.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the validate field is set. */ public boolean hasValidate() { return validateBuilder_ != null || validate_ != null; } /** - * - * *
          * Required. What to run to validate this resource is in the desired
          * state. An exit code of 100 indicates "in desired state", and exit code
@@ -25346,25 +21686,17 @@ public boolean hasValidate() {
          * a failure running validate.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The validate. */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getValidate() { if (validateBuilder_ == null) { - return validate_ == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec - .getDefaultInstance() - : validate_; + return validate_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : validate_; } else { return validateBuilder_.getMessage(); } } /** - * - * *
          * Required. What to run to validate this resource is in the desired
          * state. An exit code of 100 indicates "in desired state", and exit code
@@ -25372,12 +21704,9 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getValid
          * a failure running validate.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setValidate( - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec value) { + public Builder setValidate(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec value) { if (validateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -25391,8 +21720,6 @@ public Builder setValidate( return this; } /** - * - * *
          * Required. What to run to validate this resource is in the desired
          * state. An exit code of 100 indicates "in desired state", and exit code
@@ -25400,13 +21727,10 @@ public Builder setValidate(
          * a failure running validate.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setValidate( - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder - builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder builderForValue) { if (validateBuilder_ == null) { validate_ = builderForValue.build(); onChanged(); @@ -25417,8 +21741,6 @@ public Builder setValidate( return this; } /** - * - * *
          * Required. What to run to validate this resource is in the desired
          * state. An exit code of 100 indicates "in desired state", and exit code
@@ -25426,19 +21748,13 @@ public Builder setValidate(
          * a failure running validate.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeValidate( - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec value) { + public Builder mergeValidate(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec value) { if (validateBuilder_ == null) { if (validate_ != null) { validate_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.newBuilder( - validate_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.newBuilder(validate_).mergeFrom(value).buildPartial(); } else { validate_ = value; } @@ -25450,8 +21766,6 @@ public Builder mergeValidate( return this; } /** - * - * *
          * Required. What to run to validate this resource is in the desired
          * state. An exit code of 100 indicates "in desired state", and exit code
@@ -25459,9 +21773,7 @@ public Builder mergeValidate(
          * a failure running validate.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearValidate() { if (validateBuilder_ == null) { @@ -25475,8 +21787,6 @@ public Builder clearValidate() { return this; } /** - * - * *
          * Required. What to run to validate this resource is in the desired
          * state. An exit code of 100 indicates "in desired state", and exit code
@@ -25484,19 +21794,14 @@ public Builder clearValidate() {
          * a failure running validate.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder - getValidateBuilder() { - + public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder getValidateBuilder() { + onChanged(); return getValidateFieldBuilder().getBuilder(); } /** - * - * *
          * Required. What to run to validate this resource is in the desired
          * state. An exit code of 100 indicates "in desired state", and exit code
@@ -25504,24 +21809,17 @@ public Builder clearValidate() {
          * a failure running validate.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder - getValidateOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder getValidateOrBuilder() { if (validateBuilder_ != null) { return validateBuilder_.getMessageOrBuilder(); } else { - return validate_ == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec - .getDefaultInstance() - : validate_; + return validate_ == null ? + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : validate_; } } /** - * - * *
          * Required. What to run to validate this resource is in the desired
          * state. An exit code of 100 indicates "in desired state", and exit code
@@ -25529,22 +21827,17 @@ public Builder clearValidate() {
          * a failure running validate.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec, - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder> getValidateFieldBuilder() { if (validateBuilder_ == null) { - validateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec, - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder>( - getValidate(), getParentForChildren(), isClean()); + validateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder>( + getValidate(), + getParentForChildren(), + isClean()); validate_ = null; } return validateBuilder_; @@ -25552,13 +21845,8 @@ public Builder clearValidate() { private com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec, - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder> - enforceBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder> enforceBuilder_; /** - * - * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
@@ -25566,15 +21854,12 @@ public Builder clearValidate() {
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * * @return Whether the enforce field is set. */ public boolean hasEnforce() { return enforceBuilder_ != null || enforce_ != null; } /** - * - * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
@@ -25582,22 +21867,16 @@ public boolean hasEnforce() {
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * * @return The enforce. */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getEnforce() { if (enforceBuilder_ == null) { - return enforce_ == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec - .getDefaultInstance() - : enforce_; + return enforce_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : enforce_; } else { return enforceBuilder_.getMessage(); } } /** - * - * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
@@ -25606,8 +21885,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getEnfor
          *
          * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2;
          */
-        public Builder setEnforce(
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec value) {
+        public Builder setEnforce(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec value) {
           if (enforceBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -25621,8 +21899,6 @@ public Builder setEnforce(
           return this;
         }
         /**
-         *
-         *
          * 
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
@@ -25632,8 +21908,7 @@ public Builder setEnforce(
          * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2;
          */
         public Builder setEnforce(
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder
-                builderForValue) {
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder builderForValue) {
           if (enforceBuilder_ == null) {
             enforce_ = builderForValue.build();
             onChanged();
@@ -25644,8 +21919,6 @@ public Builder setEnforce(
           return this;
         }
         /**
-         *
-         *
          * 
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
@@ -25654,15 +21927,11 @@ public Builder setEnforce(
          *
          * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2;
          */
-        public Builder mergeEnforce(
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec value) {
+        public Builder mergeEnforce(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec value) {
           if (enforceBuilder_ == null) {
             if (enforce_ != null) {
               enforce_ =
-                  com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.newBuilder(
-                          enforce_)
-                      .mergeFrom(value)
-                      .buildPartial();
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.newBuilder(enforce_).mergeFrom(value).buildPartial();
             } else {
               enforce_ = value;
             }
@@ -25674,8 +21943,6 @@ public Builder mergeEnforce(
           return this;
         }
         /**
-         *
-         *
          * 
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
@@ -25696,8 +21963,6 @@ public Builder clearEnforce() {
           return this;
         }
         /**
-         *
-         *
          * 
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
@@ -25706,15 +21971,12 @@ public Builder clearEnforce() {
          *
          * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2;
          */
-        public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder
-            getEnforceBuilder() {
-
+        public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder getEnforceBuilder() {
+          
           onChanged();
           return getEnforceFieldBuilder().getBuilder();
         }
         /**
-         *
-         *
          * 
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
@@ -25723,20 +21985,15 @@ public Builder clearEnforce() {
          *
          * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2;
          */
-        public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder
-            getEnforceOrBuilder() {
+        public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder getEnforceOrBuilder() {
           if (enforceBuilder_ != null) {
             return enforceBuilder_.getMessageOrBuilder();
           } else {
-            return enforce_ == null
-                ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec
-                    .getDefaultInstance()
-                : enforce_;
+            return enforce_ == null ?
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : enforce_;
           }
         }
         /**
-         *
-         *
          * 
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
@@ -25746,22 +22003,18 @@ public Builder clearEnforce() {
          * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec,
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder,
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder>
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder> 
             getEnforceFieldBuilder() {
           if (enforceBuilder_ == null) {
-            enforceBuilder_ =
-                new com.google.protobuf.SingleFieldBuilderV3<
-                    com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec,
-                    com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder,
-                    com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder>(
-                    getEnforce(), getParentForChildren(), isClean());
+            enforceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder>(
+                    getEnforce(),
+                    getParentForChildren(),
+                    isClean());
             enforce_ = null;
           }
           return enforceBuilder_;
         }
-
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -25774,32 +22027,30 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
+
         // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource)
       }
 
       // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource)
-      private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource
-          DEFAULT_INSTANCE;
-
+      private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource DEFAULT_INSTANCE;
       static {
         DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource();
       }
 
-      public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource
-          getDefaultInstance() {
+      public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser PARSER =
-          new com.google.protobuf.AbstractParser() {
-            @java.lang.Override
-            public ExecResource parsePartialFrom(
-                com.google.protobuf.CodedInputStream input,
-                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-                throws com.google.protobuf.InvalidProtocolBufferException {
-              return new ExecResource(input, extensionRegistry);
-            }
-          };
+      private static final com.google.protobuf.Parser
+          PARSER = new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ExecResource parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new ExecResource(input, extensionRegistry);
+        }
+      };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -25811,44 +22062,35 @@ public com.google.protobuf.Parser getParserForType() {
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
+
     }
 
-    public interface FileResourceOrBuilder
-        extends
+    public interface FileResourceOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.FileResource)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * A remote or local source.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; - * * @return Whether the file field is set. */ boolean hasFile(); /** - * - * *
        * A remote or local source.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; - * * @return The file. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.File getFile(); /** - * - * *
        * A remote or local source.
        * 
@@ -25858,102 +22100,77 @@ public interface FileResourceOrBuilder com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getFileOrBuilder(); /** - * - * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; - * * @return Whether the content field is set. */ boolean hasContent(); /** - * - * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; - * * @return The content. */ java.lang.String getContent(); - /** - * - * + /** *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; - * * @return The bytes for content. */ - com.google.protobuf.ByteString getContentBytes(); + com.google.protobuf.ByteString + getContentBytes(); /** - * - * *
        * Required. The absolute path of the file within the VM.
        * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
        * Required. The absolute path of the file within the VM.
        * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); /** - * - * *
        * Required. Desired state of the file.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
        * Required. Desired state of the file.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The state. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState getState(); /** - * - * *
        * Consists of three octal digits which represent, in
        * order, the permissions of the owner, group, and other users for the
@@ -25970,13 +22187,10 @@ public interface FileResourceOrBuilder
        * 
* * string permissions = 5; - * * @return The permissions. */ java.lang.String getPermissions(); /** - * - * *
        * Consists of three octal digits which represent, in
        * order, the permissions of the owner, group, and other users for the
@@ -25993,32 +22207,29 @@ public interface FileResourceOrBuilder
        * 
* * string permissions = 5; - * * @return The bytes for permissions. */ - com.google.protobuf.ByteString getPermissionsBytes(); + com.google.protobuf.ByteString + getPermissionsBytes(); public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.SourceCase getSourceCase(); } /** - * - * *
      * A resource that manages the state of a file.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.FileResource} */ - public static final class FileResource extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class FileResource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) FileResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FileResource.newBuilder() to construct. private FileResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FileResource() { path_ = ""; state_ = 0; @@ -26027,15 +22238,16 @@ private FileResource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FileResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FileResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -26054,60 +22266,51 @@ private FileResource( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_).toBuilder(); - } - source_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_).toBuilder(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - sourceCase_ = 2; - source_ = s; - break; + source_ = + input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); + source_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 1; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 2; + source_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 32: - { - int rawValue = input.readEnum(); + path_ = s; + break; + } + case 32: { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + state_ = rawValue; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - permissions_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + permissions_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -26115,42 +22318,36 @@ private FileResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder.class); } /** - * - * *
        * Desired state of the file.
        * 
* * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState} */ - public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { + public enum DesiredState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * Unspecified is invalid.
          * 
@@ -26159,8 +22356,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ DESIRED_STATE_UNSPECIFIED(0), /** - * - * *
          * Ensure file at path is present.
          * 
@@ -26169,8 +22364,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ PRESENT(1), /** - * - * *
          * Ensure file at path is absent.
          * 
@@ -26179,8 +22372,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ ABSENT(2), /** - * - * *
          * Ensure the contents of the file at path matches. If the file does
          * not exist it will be created.
@@ -26193,8 +22384,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum {
         ;
 
         /**
-         *
-         *
          * 
          * Unspecified is invalid.
          * 
@@ -26203,8 +22392,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DESIRED_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
          * Ensure file at path is present.
          * 
@@ -26213,8 +22400,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRESENT_VALUE = 1; /** - * - * *
          * Ensure file at path is absent.
          * 
@@ -26223,8 +22408,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ABSENT_VALUE = 2; /** - * - * *
          * Ensure the contents of the file at path matches. If the file does
          * not exist it will be created.
@@ -26234,6 +22417,7 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum {
          */
         public static final int CONTENTS_MATCH_VALUE = 3;
 
+
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -26258,47 +22442,41 @@ public static DesiredState valueOf(int value) {
          */
         public static DesiredState forNumber(int value) {
           switch (value) {
-            case 0:
-              return DESIRED_STATE_UNSPECIFIED;
-            case 1:
-              return PRESENT;
-            case 2:
-              return ABSENT;
-            case 3:
-              return CONTENTS_MATCH;
-            default:
-              return null;
+            case 0: return DESIRED_STATE_UNSPECIFIED;
+            case 1: return PRESENT;
+            case 2: return ABSENT;
+            case 3: return CONTENTS_MATCH;
+            default: return null;
           }
         }
 
-        public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+        public static com.google.protobuf.Internal.EnumLiteMap
+            internalGetValueMap() {
           return internalValueMap;
         }
+        private static final com.google.protobuf.Internal.EnumLiteMap<
+            DesiredState> internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap() {
+                public DesiredState findValueByNumber(int number) {
+                  return DesiredState.forNumber(number);
+                }
+              };
 
-        private static final com.google.protobuf.Internal.EnumLiteMap
-            internalValueMap =
-                new com.google.protobuf.Internal.EnumLiteMap() {
-                  public DesiredState findValueByNumber(int number) {
-                    return DesiredState.forNumber(number);
-                  }
-                };
-
-        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+        public final com.google.protobuf.Descriptors.EnumValueDescriptor
+            getValueDescriptor() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalStateException(
                 "Can't get the descriptor of an unrecognized enum value.");
           }
           return getDescriptor().getValues().get(ordinal());
         }
-
-        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+        public final com.google.protobuf.Descriptors.EnumDescriptor
+            getDescriptorForType() {
           return getDescriptor();
         }
-
-        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDescriptor()
-              .getEnumTypes()
-              .get(0);
+        public static final com.google.protobuf.Descriptors.EnumDescriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDescriptor().getEnumTypes().get(0);
         }
 
         private static final DesiredState[] VALUES = values();
@@ -26307,7 +22485,7 @@ public static DesiredState valueOf(
             com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
           if (desc.getType() != getDescriptor()) {
             throw new java.lang.IllegalArgumentException(
-                "EnumValueDescriptor is not for this type.");
+              "EnumValueDescriptor is not for this type.");
           }
           if (desc.getIndex() == -1) {
             return UNRECOGNIZED;
@@ -26326,16 +22504,13 @@ private DesiredState(int value) {
 
       private int sourceCase_ = 0;
       private java.lang.Object source_;
-
       public enum SourceCase
-          implements
-              com.google.protobuf.Internal.EnumLite,
+          implements com.google.protobuf.Internal.EnumLite,
               com.google.protobuf.AbstractMessage.InternalOneOfEnum {
         FILE(1),
         CONTENT(2),
         SOURCE_NOT_SET(0);
         private final int value;
-
         private SourceCase(int value) {
           this.value = value;
         }
@@ -26351,36 +22526,30 @@ public static SourceCase valueOf(int value) {
 
         public static SourceCase forNumber(int value) {
           switch (value) {
-            case 1:
-              return FILE;
-            case 2:
-              return CONTENT;
-            case 0:
-              return SOURCE_NOT_SET;
-            default:
-              return null;
+            case 1: return FILE;
+            case 2: return CONTENT;
+            case 0: return SOURCE_NOT_SET;
+            default: return null;
           }
         }
-
         public int getNumber() {
           return this.value;
         }
       };
 
-      public SourceCase getSourceCase() {
-        return SourceCase.forNumber(sourceCase_);
+      public SourceCase
+      getSourceCase() {
+        return SourceCase.forNumber(
+            sourceCase_);
       }
 
       public static final int FILE_FIELD_NUMBER = 1;
       /**
-       *
-       *
        * 
        * A remote or local source.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; - * * @return Whether the file field is set. */ @java.lang.Override @@ -26388,26 +22557,21 @@ public boolean hasFile() { return sourceCase_ == 1; } /** - * - * *
        * A remote or local source.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; - * * @return The file. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getFile() { if (sourceCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance(); } /** - * - * *
        * A remote or local source.
        * 
@@ -26417,37 +22581,31 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getFile() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getFileOrBuilder() { if (sourceCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance(); } public static final int CONTENT_FIELD_NUMBER = 2; /** - * - * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; - * * @return Whether the content field is set. */ public boolean hasContent() { return sourceCase_ == 2; } /** - * - * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; - * * @return The content. */ public java.lang.String getContent() { @@ -26458,7 +22616,8 @@ public java.lang.String getContent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -26467,25 +22626,24 @@ public java.lang.String getContent() { } } /** - * - * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; - * * @return The bytes for content. */ - public com.google.protobuf.ByteString getContentBytes() { + public com.google.protobuf.ByteString + getContentBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -26498,14 +22656,11 @@ public com.google.protobuf.ByteString getContentBytes() { public static final int PATH_FIELD_NUMBER = 3; private volatile java.lang.Object path_; /** - * - * *
        * Required. The absolute path of the file within the VM.
        * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ @java.lang.Override @@ -26514,29 +22669,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** - * - * *
        * Required. The absolute path of the file within the VM.
        * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -26547,51 +22702,33 @@ public com.google.protobuf.ByteString getPathBytes() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** - * - * *
        * Required. Desired state of the file.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * Required. Desired state of the file.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The state. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState getState() { + @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState result = - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState.valueOf( - state_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState result = com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState.UNRECOGNIZED : result; } public static final int PERMISSIONS_FIELD_NUMBER = 5; private volatile java.lang.Object permissions_; /** - * - * *
        * Consists of three octal digits which represent, in
        * order, the permissions of the owner, group, and other users for the
@@ -26608,7 +22745,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState
        * 
* * string permissions = 5; - * * @return The permissions. */ @java.lang.Override @@ -26617,15 +22753,14 @@ public java.lang.String getPermissions() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); permissions_ = s; return s; } } /** - * - * *
        * Consists of three octal digits which represent, in
        * order, the permissions of the owner, group, and other users for the
@@ -26642,15 +22777,16 @@ public java.lang.String getPermissions() {
        * 
* * string permissions = 5; - * * @return The bytes for permissions. */ @java.lang.Override - public com.google.protobuf.ByteString getPermissionsBytes() { + public com.google.protobuf.ByteString + getPermissionsBytes() { java.lang.Object ref = permissions_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); permissions_ = b; return b; } else { @@ -26659,7 +22795,6 @@ public com.google.protobuf.ByteString getPermissionsBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -26671,7 +22806,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (sourceCase_ == 1) { output.writeMessage(1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); } @@ -26681,10 +22817,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, path_); } - if (state_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState - .DESIRED_STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(permissions_)) { @@ -26700,9 +22833,8 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); } if (sourceCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_); @@ -26710,11 +22842,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, path_); } - if (state_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState - .DESIRED_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + if (state_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(permissions_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, permissions_); @@ -26727,24 +22857,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource other = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) obj; - if (!getPath().equals(other.getPath())) return false; + if (!getPath() + .equals(other.getPath())) return false; if (state_ != other.state_) return false; - if (!getPermissions().equals(other.getPermissions())) return false; + if (!getPermissions() + .equals(other.getPermissions())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 1: - if (!getFile().equals(other.getFile())) return false; + if (!getFile() + .equals(other.getFile())) return false; break; case 2: - if (!getContent().equals(other.getContent())) return false; + if (!getContent() + .equals(other.getContent())) return false; break; case 0: default: @@ -26784,94 +22917,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource 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.osconfig.v1.OSPolicy.Resource.FileResource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -26881,32 +23007,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A resource that manages the state of a file.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.FileResource} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.class, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder.class); } // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.newBuilder() @@ -26914,15 +23035,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -26938,14 +23060,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDefaultInstance(); } @@ -26960,8 +23081,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource build() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource result = - new com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource(this); if (sourceCase_ == 1) { if (fileBuilder_ == null) { result.source_ = source_; @@ -26984,52 +23104,46 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.FileResource) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) other); + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource other) { - if (other - == com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource other) { + if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); @@ -27042,22 +23156,19 @@ public Builder mergeFrom( onChanged(); } switch (other.getSourceCase()) { - case FILE: - { - mergeFile(other.getFile()); - break; - } - case CONTENT: - { - sourceCase_ = 2; - source_ = other.source_; - onChanged(); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case FILE: { + mergeFile(other.getFile()); + break; + } + case CONTENT: { + sourceCase_ = 2; + source_ = other.source_; + onChanged(); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -27078,9 +23189,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -27089,12 +23198,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -27104,20 +23213,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> - fileBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> fileBuilder_; /** - * - * *
          * A remote or local source.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; - * * @return Whether the file field is set. */ @java.lang.Override @@ -27125,14 +23229,11 @@ public boolean hasFile() { return sourceCase_ == 1; } /** - * - * *
          * A remote or local source.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; - * * @return The file. */ @java.lang.Override @@ -27150,8 +23251,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getFile() { } } /** - * - * *
          * A remote or local source.
          * 
@@ -27172,8 +23271,6 @@ public Builder setFile(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value return this; } /** - * - * *
          * A remote or local source.
          * 
@@ -27192,8 +23289,6 @@ public Builder setFile( return this; } /** - * - * *
          * A remote or local source.
          * 
@@ -27202,14 +23297,10 @@ public Builder setFile( */ public Builder mergeFile(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value) { if (fileBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance()) { - source_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance()) { + source_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -27225,8 +23316,6 @@ public Builder mergeFile(com.google.cloud.osconfig.v1.OSPolicy.Resource.File val return this; } /** - * - * *
          * A remote or local source.
          * 
@@ -27250,8 +23339,6 @@ public Builder clearFile() { return this; } /** - * - * *
          * A remote or local source.
          * 
@@ -27262,8 +23349,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder getFileBuilde return getFileFieldBuilder().getBuilder(); } /** - * - * *
          * A remote or local source.
          * 
@@ -27282,8 +23367,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getFileOrBui } } /** - * - * *
          * A remote or local source.
          * 
@@ -27291,40 +23374,31 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getFileOrBui * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> getFileFieldBuilder() { if (fileBuilder_ == null) { if (!(sourceCase_ == 1)) { source_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance(); } - fileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( + fileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return fileBuilder_; } /** - * - * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; - * * @return Whether the content field is set. */ @java.lang.Override @@ -27332,15 +23406,12 @@ public boolean hasContent() { return sourceCase_ == 2; } /** - * - * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; - * * @return The content. */ @java.lang.Override @@ -27350,7 +23421,8 @@ public java.lang.String getContent() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -27361,26 +23433,25 @@ public java.lang.String getContent() { } } /** - * - * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; - * * @return The bytes for content. */ @java.lang.Override - public com.google.protobuf.ByteString getContentBytes() { + public com.google.protobuf.ByteString + getContentBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -27390,37 +23461,32 @@ public com.google.protobuf.ByteString getContentBytes() { } } /** - * - * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; - * * @param value The content to set. * @return This builder for chaining. */ - public Builder setContent(java.lang.String value) { + public Builder setContent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceCase_ = 2; + throw new NullPointerException(); + } + sourceCase_ = 2; source_ = value; onChanged(); return this; } - /** - * - * + /** *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; - * * @return This builder for chaining. */ public Builder clearContent() { @@ -27432,23 +23498,21 @@ public Builder clearContent() { return this; } /** - * - * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; - * * @param value The bytes for content to set. * @return This builder for chaining. */ - public Builder setContentBytes(com.google.protobuf.ByteString value) { + public Builder setContentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); sourceCase_ = 2; source_ = value; onChanged(); @@ -27457,20 +23521,18 @@ public Builder setContentBytes(com.google.protobuf.ByteString value) { private java.lang.Object path_ = ""; /** - * - * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -27479,21 +23541,20 @@ public java.lang.String getPath() { } } /** - * - * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -27501,61 +23562,54 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -27563,105 +23617,73 @@ public Builder setPathBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
          * Required. Desired state of the file.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
          * Required. Desired state of the file.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
          * Required. Desired state of the file.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState result = - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState.valueOf( - state_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState - .UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState result = com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState.UNRECOGNIZED : result; } /** - * - * *
          * Required. Desired state of the file.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState value) { + public Builder setState(com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
          * Required. Desired state of the file.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -27669,8 +23691,6 @@ public Builder clearState() { private java.lang.Object permissions_ = ""; /** - * - * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -27687,13 +23707,13 @@ public Builder clearState() {
          * 
* * string permissions = 5; - * * @return The permissions. */ public java.lang.String getPermissions() { java.lang.Object ref = permissions_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); permissions_ = s; return s; @@ -27702,8 +23722,6 @@ public java.lang.String getPermissions() { } } /** - * - * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -27720,14 +23738,15 @@ public java.lang.String getPermissions() {
          * 
* * string permissions = 5; - * * @return The bytes for permissions. */ - public com.google.protobuf.ByteString getPermissionsBytes() { + public com.google.protobuf.ByteString + getPermissionsBytes() { java.lang.Object ref = permissions_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); permissions_ = b; return b; } else { @@ -27735,8 +23754,6 @@ public com.google.protobuf.ByteString getPermissionsBytes() { } } /** - * - * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -27753,22 +23770,20 @@ public com.google.protobuf.ByteString getPermissionsBytes() {
          * 
* * string permissions = 5; - * * @param value The permissions to set. * @return This builder for chaining. */ - public Builder setPermissions(java.lang.String value) { + public Builder setPermissions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + permissions_ = value; onChanged(); return this; } /** - * - * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -27785,18 +23800,15 @@ public Builder setPermissions(java.lang.String value) {
          * 
* * string permissions = 5; - * * @return This builder for chaining. */ public Builder clearPermissions() { - + permissions_ = getDefaultInstance().getPermissions(); onChanged(); return this; } /** - * - * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -27813,21 +23825,20 @@ public Builder clearPermissions() {
          * 
* * string permissions = 5; - * * @param value The bytes for permissions to set. * @return This builder for chaining. */ - public Builder setPermissionsBytes(com.google.protobuf.ByteString value) { + public Builder setPermissionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + permissions_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -27840,32 +23851,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FileResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FileResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FileResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FileResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -27877,18 +23886,16 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int resourceTypeCase_ = 0; private java.lang.Object resourceType_; - public enum ResourceTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PKG(2), REPOSITORY(3), @@ -27896,7 +23903,6 @@ public enum ResourceTypeCase FILE(5), RESOURCETYPE_NOT_SET(0); private final int value; - private ResourceTypeCase(int value) { this.value = value; } @@ -27912,35 +23918,28 @@ public static ResourceTypeCase valueOf(int value) { public static ResourceTypeCase forNumber(int value) { switch (value) { - case 2: - return PKG; - case 3: - return REPOSITORY; - case 4: - return EXEC; - case 5: - return FILE; - case 0: - return RESOURCETYPE_NOT_SET; - default: - return null; + case 2: return PKG; + case 3: return REPOSITORY; + case 4: return EXEC; + case 5: return FILE; + case 0: return RESOURCETYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ResourceTypeCase getResourceTypeCase() { - return ResourceTypeCase.forNumber(resourceTypeCase_); + public ResourceTypeCase + getResourceTypeCase() { + return ResourceTypeCase.forNumber( + resourceTypeCase_); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** - * - * *
      * Required. The id of the resource with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -27951,7 +23950,6 @@ public ResourceTypeCase getResourceTypeCase() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ @java.lang.Override @@ -27960,15 +23958,14 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
      * Required. The id of the resource with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -27979,15 +23976,16 @@ public java.lang.String getId() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -27997,14 +23995,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int PKG_FIELD_NUMBER = 2; /** - * - * *
      * Package resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; - * * @return Whether the pkg field is set. */ @java.lang.Override @@ -28012,26 +24007,21 @@ public boolean hasPkg() { return resourceTypeCase_ == 2; } /** - * - * *
      * Package resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; - * * @return The pkg. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource getPkg() { if (resourceTypeCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance(); } /** - * - * *
      * Package resource
      * 
@@ -28039,24 +24029,20 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource getPkg() { * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder - getPkgOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder getPkgOrBuilder() { if (resourceTypeCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance(); } public static final int REPOSITORY_FIELD_NUMBER = 3; /** - * - * *
      * Package repository resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; - * * @return Whether the repository field is set. */ @java.lang.Override @@ -28064,26 +24050,21 @@ public boolean hasRepository() { return resourceTypeCase_ == 3; } /** - * - * *
      * Package repository resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; - * * @return The repository. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource getRepository() { if (resourceTypeCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); } /** - * - * *
      * Package repository resource
      * 
@@ -28091,24 +24072,20 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource getRepo * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder - getRepositoryOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder getRepositoryOrBuilder() { if (resourceTypeCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); } public static final int EXEC_FIELD_NUMBER = 4; /** - * - * *
      * Exec resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource exec = 4; - * * @return Whether the exec field is set. */ @java.lang.Override @@ -28116,26 +24093,21 @@ public boolean hasExec() { return resourceTypeCase_ == 4; } /** - * - * *
      * Exec resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource exec = 4; - * * @return The exec. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource getExec() { if (resourceTypeCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.getDefaultInstance(); } /** - * - * *
      * Exec resource
      * 
@@ -28145,21 +24117,18 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource getExec() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder getExecOrBuilder() { if (resourceTypeCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.getDefaultInstance(); } public static final int FILE_FIELD_NUMBER = 5; /** - * - * *
      * File resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource file = 5; - * * @return Whether the file field is set. */ @java.lang.Override @@ -28167,26 +24136,21 @@ public boolean hasFile() { return resourceTypeCase_ == 5; } /** - * - * *
      * File resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource file = 5; - * * @return The file. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource getFile() { if (resourceTypeCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDefaultInstance(); } /** - * - * *
      * File resource
      * 
@@ -28196,13 +24160,12 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource getFile() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder getFileOrBuilder() { if (resourceTypeCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -28214,25 +24177,22 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (resourceTypeCase_ == 2) { - output.writeMessage( - 2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_); + output.writeMessage(2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_); } if (resourceTypeCase_ == 3) { - output.writeMessage( - 3, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_); + output.writeMessage(3, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_); } if (resourceTypeCase_ == 4) { - output.writeMessage( - 4, (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_); + output.writeMessage(4, (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_); } if (resourceTypeCase_ == 5) { - output.writeMessage( - 5, (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_); + output.writeMessage(5, (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_); } unknownFields.writeTo(output); } @@ -28247,25 +24207,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (resourceTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_); } if (resourceTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_); } if (resourceTypeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_); } if (resourceTypeCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -28275,28 +24230,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource other = - (com.google.cloud.osconfig.v1.OSPolicy.Resource) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource other = (com.google.cloud.osconfig.v1.OSPolicy.Resource) obj; - if (!getId().equals(other.getId())) return false; + if (!getId() + .equals(other.getId())) return false; if (!getResourceTypeCase().equals(other.getResourceTypeCase())) return false; switch (resourceTypeCase_) { case 2: - if (!getPkg().equals(other.getPkg())) return false; + if (!getPkg() + .equals(other.getPkg())) return false; break; case 3: - if (!getRepository().equals(other.getRepository())) return false; + if (!getRepository() + .equals(other.getRepository())) return false; break; case 4: - if (!getExec().equals(other.getExec())) return false; + if (!getExec() + .equals(other.getExec())) return false; break; case 5: - if (!getFile().equals(other.getFile())) return false; + if (!getFile() + .equals(other.getFile())) return false; break; case 0: default: @@ -28339,94 +24298,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource 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.osconfig.v1.OSPolicy.Resource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -28436,8 +24389,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An OS policy resource is used to define the desired state configuration
      * and provides a specific functionality like installing/removing packages,
@@ -28448,24 +24399,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource)
         com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.OsPolicyProto
-            .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.OsPolicyProto
-            .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.class,
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder.class);
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.newBuilder()
@@ -28473,15 +24421,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -28493,9 +24442,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.OsPolicyProto
-            .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor;
       }
 
       @java.lang.Override
@@ -28514,8 +24463,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.OSPolicy.Resource buildPartial() {
-        com.google.cloud.osconfig.v1.OSPolicy.Resource result =
-            new com.google.cloud.osconfig.v1.OSPolicy.Resource(this);
+        com.google.cloud.osconfig.v1.OSPolicy.Resource result = new com.google.cloud.osconfig.v1.OSPolicy.Resource(this);
         result.id_ = id_;
         if (resourceTypeCase_ == 2) {
           if (pkgBuilder_ == null) {
@@ -28554,41 +24502,38 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.OSPolicy.Resource) {
-          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -28596,37 +24541,31 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource other) {
-        if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.getDefaultInstance()) return this;
         if (!other.getId().isEmpty()) {
           id_ = other.id_;
           onChanged();
         }
         switch (other.getResourceTypeCase()) {
-          case PKG:
-            {
-              mergePkg(other.getPkg());
-              break;
-            }
-          case REPOSITORY:
-            {
-              mergeRepository(other.getRepository());
-              break;
-            }
-          case EXEC:
-            {
-              mergeExec(other.getExec());
-              break;
-            }
-          case FILE:
-            {
-              mergeFile(other.getFile());
-              break;
-            }
-          case RESOURCETYPE_NOT_SET:
-            {
-              break;
-            }
+          case PKG: {
+            mergePkg(other.getPkg());
+            break;
+          }
+          case REPOSITORY: {
+            mergeRepository(other.getRepository());
+            break;
+          }
+          case EXEC: {
+            mergeExec(other.getExec());
+            break;
+          }
+          case FILE: {
+            mergeFile(other.getFile());
+            break;
+          }
+          case RESOURCETYPE_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -28656,12 +24595,12 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int resourceTypeCase_ = 0;
       private java.lang.Object resourceType_;
-
-      public ResourceTypeCase getResourceTypeCase() {
-        return ResourceTypeCase.forNumber(resourceTypeCase_);
+      public ResourceTypeCase
+          getResourceTypeCase() {
+        return ResourceTypeCase.forNumber(
+            resourceTypeCase_);
       }
 
       public Builder clearResourceType() {
@@ -28671,10 +24610,9 @@ public Builder clearResourceType() {
         return this;
       }
 
+
       private java.lang.Object id_ = "";
       /**
-       *
-       *
        * 
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -28685,13 +24623,13 @@ public Builder clearResourceType() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -28700,8 +24638,6 @@ public java.lang.String getId() { } } /** - * - * *
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -28712,14 +24648,15 @@ public java.lang.String getId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -28727,8 +24664,6 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -28739,22 +24674,20 @@ public com.google.protobuf.ByteString getIdBytes() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -28765,18 +24698,15 @@ public Builder setId(java.lang.String value) {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -28787,35 +24717,29 @@ public Builder clearId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder> - pkgBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder> pkgBuilder_; /** - * - * *
        * Package resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; - * * @return Whether the pkg field is set. */ @java.lang.Override @@ -28823,14 +24747,11 @@ public boolean hasPkg() { return resourceTypeCase_ == 2; } /** - * - * *
        * Package resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; - * * @return The pkg. */ @java.lang.Override @@ -28839,19 +24760,15 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource getPkg() { if (resourceTypeCase_ == 2) { return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance(); } else { if (resourceTypeCase_ == 2) { return pkgBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance(); } } /** - * - * *
        * Package resource
        * 
@@ -28872,8 +24789,6 @@ public Builder setPkg(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageReso return this; } /** - * - * *
        * Package resource
        * 
@@ -28892,27 +24807,18 @@ public Builder setPkg( return this; } /** - * - * *
        * Package resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; */ - public Builder mergePkg( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource value) { + public Builder mergePkg(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource value) { if (pkgBuilder_ == null) { - if (resourceTypeCase_ == 2 - && resourceType_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource - .getDefaultInstance()) { - resourceType_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.newBuilder( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) - resourceType_) - .mergeFrom(value) - .buildPartial(); + if (resourceTypeCase_ == 2 && + resourceType_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance()) { + resourceType_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_) + .mergeFrom(value).buildPartial(); } else { resourceType_ = value; } @@ -28928,8 +24834,6 @@ public Builder mergePkg( return this; } /** - * - * *
        * Package resource
        * 
@@ -28953,21 +24857,16 @@ public Builder clearPkg() { return this; } /** - * - * *
        * Package resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder - getPkgBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder getPkgBuilder() { return getPkgFieldBuilder().getBuilder(); } /** - * - * *
        * Package resource
        * 
@@ -28975,21 +24874,17 @@ public Builder clearPkg() { * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder - getPkgOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder getPkgOrBuilder() { if ((resourceTypeCase_ == 2) && (pkgBuilder_ != null)) { return pkgBuilder_.getMessageOrBuilder(); } else { if (resourceTypeCase_ == 2) { return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance(); } } /** - * - * *
        * Package resource
        * 
@@ -28997,90 +24892,68 @@ public Builder clearPkg() { * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder> getPkgFieldBuilder() { if (pkgBuilder_ == null) { if (!(resourceTypeCase_ == 2)) { - resourceType_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance(); - } - pkgBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder>( + resourceType_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance(); + } + pkgBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder>( (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_, getParentForChildren(), isClean()); resourceType_ = null; } resourceTypeCase_ = 2; - onChanged(); - ; + onChanged();; return pkgBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder> - repositoryBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder> repositoryBuilder_; /** - * - * *
        * Package repository resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; - * * @return Whether the repository field is set. */ @java.lang.Override public boolean hasRepository() { return resourceTypeCase_ == 3; } - /** - * - * + /** *
        * Package repository resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; - * * @return The repository. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource getRepository() { if (repositoryBuilder_ == null) { if (resourceTypeCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) - resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); } else { if (resourceTypeCase_ == 3) { return repositoryBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); } } /** - * - * *
        * Package repository resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; */ - public Builder setRepository( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource value) { + public Builder setRepository(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource value) { if (repositoryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -29094,8 +24967,6 @@ public Builder setRepository( return this; } /** - * - * *
        * Package repository resource
        * 
@@ -29103,8 +24974,7 @@ public Builder setRepository( * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; */ public Builder setRepository( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder - builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder builderForValue) { if (repositoryBuilder_ == null) { resourceType_ = builderForValue.build(); onChanged(); @@ -29115,27 +24985,18 @@ public Builder setRepository( return this; } /** - * - * *
        * Package repository resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; */ - public Builder mergeRepository( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource value) { + public Builder mergeRepository(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource value) { if (repositoryBuilder_ == null) { - if (resourceTypeCase_ == 3 - && resourceType_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .getDefaultInstance()) { - resourceType_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.newBuilder( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) - resourceType_) - .mergeFrom(value) - .buildPartial(); + if (resourceTypeCase_ == 3 && + resourceType_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.getDefaultInstance()) { + resourceType_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_) + .mergeFrom(value).buildPartial(); } else { resourceType_ = value; } @@ -29151,8 +25012,6 @@ public Builder mergeRepository( return this; } /** - * - * *
        * Package repository resource
        * 
@@ -29176,21 +25035,16 @@ public Builder clearRepository() { return this; } /** - * - * *
        * Package repository resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder - getRepositoryBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder getRepositoryBuilder() { return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
        * Package repository resource
        * 
@@ -29198,22 +25052,17 @@ public Builder clearRepository() { * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder - getRepositoryOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder getRepositoryOrBuilder() { if ((resourceTypeCase_ == 3) && (repositoryBuilder_ != null)) { return repositoryBuilder_.getMessageOrBuilder(); } else { if (resourceTypeCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) - resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); } } /** - * - * *
        * Package repository resource
        * 
@@ -29221,46 +25070,32 @@ public Builder clearRepository() { * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { if (!(resourceTypeCase_ == 3)) { - resourceType_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource - .getDefaultInstance(); - } - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder>( + resourceType_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); + } + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder>( (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_, getParentForChildren(), isClean()); resourceType_ = null; } resourceTypeCase_ = 3; - onChanged(); - ; + onChanged();; return repositoryBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource, - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder> - execBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder> execBuilder_; /** - * - * *
        * Exec resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource exec = 4; - * * @return Whether the exec field is set. */ @java.lang.Override @@ -29268,14 +25103,11 @@ public boolean hasExec() { return resourceTypeCase_ == 4; } /** - * - * *
        * Exec resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource exec = 4; - * * @return The exec. */ @java.lang.Override @@ -29293,8 +25125,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource getExec() { } } /** - * - * *
        * Exec resource
        * 
@@ -29315,8 +25145,6 @@ public Builder setExec(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResour return this; } /** - * - * *
        * Exec resource
        * 
@@ -29335,8 +25163,6 @@ public Builder setExec( return this; } /** - * - * *
        * Exec resource
        * 
@@ -29345,15 +25171,10 @@ public Builder setExec( */ public Builder mergeExec(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource value) { if (execBuilder_ == null) { - if (resourceTypeCase_ == 4 - && resourceType_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource - .getDefaultInstance()) { - resourceType_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.newBuilder( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_) - .mergeFrom(value) - .buildPartial(); + if (resourceTypeCase_ == 4 && + resourceType_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.getDefaultInstance()) { + resourceType_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_) + .mergeFrom(value).buildPartial(); } else { resourceType_ = value; } @@ -29369,8 +25190,6 @@ public Builder mergeExec(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecReso return this; } /** - * - * *
        * Exec resource
        * 
@@ -29394,8 +25213,6 @@ public Builder clearExec() { return this; } /** - * - * *
        * Exec resource
        * 
@@ -29406,8 +25223,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder getEx return getExecFieldBuilder().getBuilder(); } /** - * - * *
        * Exec resource
        * 
@@ -29415,8 +25230,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder getEx * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource exec = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder - getExecOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder getExecOrBuilder() { if ((resourceTypeCase_ == 4) && (execBuilder_ != null)) { return execBuilder_.getMessageOrBuilder(); } else { @@ -29427,8 +25241,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder getEx } } /** - * - * *
        * Exec resource
        * 
@@ -29436,45 +25248,32 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder getEx * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource exec = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource, - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder> getExecFieldBuilder() { if (execBuilder_ == null) { if (!(resourceTypeCase_ == 4)) { - resourceType_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.getDefaultInstance(); - } - execBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource, - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder>( + resourceType_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.getDefaultInstance(); + } + execBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder>( (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_, getParentForChildren(), isClean()); resourceType_ = null; } resourceTypeCase_ = 4; - onChanged(); - ; + onChanged();; return execBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder> - fileBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder> fileBuilder_; /** - * - * *
        * File resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource file = 5; - * * @return Whether the file field is set. */ @java.lang.Override @@ -29482,14 +25281,11 @@ public boolean hasFile() { return resourceTypeCase_ == 5; } /** - * - * *
        * File resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource file = 5; - * * @return The file. */ @java.lang.Override @@ -29507,8 +25303,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource getFile() { } } /** - * - * *
        * File resource
        * 
@@ -29529,8 +25323,6 @@ public Builder setFile(com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResour return this; } /** - * - * *
        * File resource
        * 
@@ -29549,8 +25341,6 @@ public Builder setFile( return this; } /** - * - * *
        * File resource
        * 
@@ -29559,15 +25349,10 @@ public Builder setFile( */ public Builder mergeFile(com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource value) { if (fileBuilder_ == null) { - if (resourceTypeCase_ == 5 - && resourceType_ - != com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource - .getDefaultInstance()) { - resourceType_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.newBuilder( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_) - .mergeFrom(value) - .buildPartial(); + if (resourceTypeCase_ == 5 && + resourceType_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDefaultInstance()) { + resourceType_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_) + .mergeFrom(value).buildPartial(); } else { resourceType_ = value; } @@ -29583,8 +25368,6 @@ public Builder mergeFile(com.google.cloud.osconfig.v1.OSPolicy.Resource.FileReso return this; } /** - * - * *
        * File resource
        * 
@@ -29608,8 +25391,6 @@ public Builder clearFile() { return this; } /** - * - * *
        * File resource
        * 
@@ -29620,8 +25401,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder getFi return getFileFieldBuilder().getBuilder(); } /** - * - * *
        * File resource
        * 
@@ -29629,8 +25408,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder getFi * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource file = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder - getFileOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder getFileOrBuilder() { if ((resourceTypeCase_ == 5) && (fileBuilder_ != null)) { return fileBuilder_.getMessageOrBuilder(); } else { @@ -29641,8 +25419,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder getFi } } /** - * - * *
        * File resource
        * 
@@ -29650,31 +25426,23 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder getFi * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource file = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder> getFileFieldBuilder() { if (fileBuilder_ == null) { if (!(resourceTypeCase_ == 5)) { - resourceType_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDefaultInstance(); - } - fileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder, - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder>( + resourceType_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDefaultInstance(); + } + fileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder>( (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_, getParentForChildren(), isClean()); resourceType_ = null; } resourceTypeCase_ = 5; - onChanged(); - ; + onChanged();; return fileBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -29687,12 +25455,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource) private static final com.google.cloud.osconfig.v1.OSPolicy.Resource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource(); } @@ -29701,16 +25469,16 @@ public static com.google.cloud.osconfig.v1.OSPolicy.Resource getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Resource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Resource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Resource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Resource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -29725,16 +25493,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.OSPolicy.Resource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ResourceGroupOrBuilder - extends + public interface ResourceGroupOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.ResourceGroup) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -29748,13 +25514,11 @@ public interface ResourceGroupOrBuilder
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ - java.util.List getInventoryFiltersList(); + java.util.List + getInventoryFiltersList(); /** - * - * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -29768,13 +25532,10 @@ public interface ResourceGroupOrBuilder
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter getInventoryFilters(int index); /** - * - * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -29788,13 +25549,10 @@ public interface ResourceGroupOrBuilder
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ int getInventoryFiltersCount(); /** - * - * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -29808,14 +25566,11 @@ public interface ResourceGroupOrBuilder
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ - java.util.List + java.util.List getInventoryFiltersOrBuilderList(); /** - * - * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -29829,82 +25584,61 @@ public interface ResourceGroupOrBuilder
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder getInventoryFiltersOrBuilder( int index); /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getResourcesList(); + java.util.List + getResourcesList(); /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1.OSPolicy.Resource getResources(int index); /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getResourcesCount(); /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getResourcesOrBuilderList(); /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder getResourcesOrBuilder(int index); + com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder getResourcesOrBuilder( + int index); } /** - * - * *
    * Resource groups provide a mechanism to group OS policy resources.
    * Resource groups enable OS policy authors to create a single OS policy
@@ -29916,16 +25650,15 @@ com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder getInventoryFilte
    *
    * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.ResourceGroup}
    */
-  public static final class ResourceGroup extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ResourceGroup extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.ResourceGroup)
       ResourceGroupOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ResourceGroup.newBuilder() to construct.
     private ResourceGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ResourceGroup() {
       inventoryFilters_ = java.util.Collections.emptyList();
       resources_ = java.util.Collections.emptyList();
@@ -29933,15 +25666,16 @@ private ResourceGroup() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ResourceGroup();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private ResourceGroup(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -29961,40 +25695,31 @@ private ResourceGroup(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  inventoryFilters_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter>();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                inventoryFilters_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.parser(),
-                        extensionRegistry));
-                break;
+            case 10: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                inventoryFilters_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 18:
-              {
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  resources_ =
-                      new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                resources_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.OSPolicy.Resource.parser(),
-                        extensionRegistry));
-                break;
+              inventoryFilters_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.parser(), extensionRegistry));
+              break;
+            }
+            case 18: {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                resources_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              resources_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.parser(), extensionRegistry));
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -30002,7 +25727,8 @@ private ResourceGroup(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           inventoryFilters_ = java.util.Collections.unmodifiableList(inventoryFilters_);
@@ -30014,27 +25740,22 @@ private ResourceGroup(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.OsPolicyProto
-          .internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.OsPolicyProto
-          .internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.class,
-              com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder.class);
+              com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.class, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder.class);
     }
 
     public static final int INVENTORY_FILTERS_FIELD_NUMBER = 1;
     private java.util.List inventoryFilters_;
     /**
-     *
-     *
      * 
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -30048,17 +25769,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ @java.lang.Override - public java.util.List - getInventoryFiltersList() { + public java.util.List getInventoryFiltersList() { return inventoryFilters_; } /** - * - * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -30072,17 +25789,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInventoryFiltersOrBuilderList() { return inventoryFilters_; } /** - * - * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -30096,16 +25810,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ @java.lang.Override public int getInventoryFiltersCount() { return inventoryFilters_.size(); } /** - * - * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -30119,16 +25830,13 @@ public int getInventoryFiltersCount() {
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter getInventoryFilters(int index) { return inventoryFilters_.get(index); } /** - * - * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -30142,93 +25850,72 @@ public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter getInventoryFilters
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder - getInventoryFiltersOrBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder getInventoryFiltersOrBuilder( + int index) { return inventoryFilters_.get(index); } public static final int RESOURCES_FIELD_NUMBER = 2; private java.util.List resources_; /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getResourcesList() { return resources_; } /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getResourcesOrBuilderList() { return resources_; } /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getResourcesCount() { return resources_.size(); } /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource getResources(int index) { return resources_.get(index); } /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder getResourcesOrBuilder( @@ -30237,7 +25924,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder getResourcesOrBui } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -30249,7 +25935,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < inventoryFilters_.size(); i++) { output.writeMessage(1, inventoryFilters_.get(i)); } @@ -30266,11 +25953,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < inventoryFilters_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, inventoryFilters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, inventoryFilters_.get(i)); } for (int i = 0; i < resources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, resources_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, resources_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -30280,16 +25968,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup other = - (com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup) obj; + com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup other = (com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup) obj; - if (!getInventoryFiltersList().equals(other.getInventoryFiltersList())) return false; - if (!getResourcesList().equals(other.getResourcesList())) return false; + if (!getInventoryFiltersList() + .equals(other.getInventoryFiltersList())) return false; + if (!getResourcesList() + .equals(other.getResourcesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -30315,94 +26004,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup 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.osconfig.v1.OSPolicy.ResourceGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -30412,8 +26094,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Resource groups provide a mechanism to group OS policy resources.
      * Resource groups enable OS policy authors to create a single OS policy
@@ -30425,24 +26105,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.ResourceGroup}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.ResourceGroup)
         com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.OsPolicyProto
-            .internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.OsPolicyProto
-            .internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.class,
-                com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder.class);
+                com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.class, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.newBuilder()
@@ -30450,18 +26127,18 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getInventoryFiltersFieldBuilder();
           getResourcesFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -30481,9 +26158,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.OsPolicyProto
-            .internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor;
       }
 
       @java.lang.Override
@@ -30502,8 +26179,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup buildPartial() {
-        com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup result =
-            new com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup(this);
+        com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup result = new com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup(this);
         int from_bitField0_ = bitField0_;
         if (inventoryFiltersBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -30531,41 +26207,38 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.OSPolicy.ResourceGroup) {
-          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -30573,8 +26246,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup other) {
-        if (other == com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.getDefaultInstance()) return this;
         if (inventoryFiltersBuilder_ == null) {
           if (!other.inventoryFilters_.isEmpty()) {
             if (inventoryFilters_.isEmpty()) {
@@ -30593,10 +26265,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup oth
               inventoryFiltersBuilder_ = null;
               inventoryFilters_ = other.inventoryFilters_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              inventoryFiltersBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getInventoryFiltersFieldBuilder()
-                      : null;
+              inventoryFiltersBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getInventoryFiltersFieldBuilder() : null;
             } else {
               inventoryFiltersBuilder_.addAllMessages(other.inventoryFilters_);
             }
@@ -30620,10 +26291,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup oth
               resourcesBuilder_ = null;
               resources_ = other.resources_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              resourcesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getResourcesFieldBuilder()
-                      : null;
+              resourcesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getResourcesFieldBuilder() : null;
             } else {
               resourcesBuilder_.addAllMessages(other.resources_);
             }
@@ -30648,8 +26318,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -30658,30 +26327,21 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private java.util.List
-          inventoryFilters_ = java.util.Collections.emptyList();
-
+      private java.util.List inventoryFilters_ =
+        java.util.Collections.emptyList();
       private void ensureInventoryFiltersIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          inventoryFilters_ =
-              new java.util.ArrayList(
-                  inventoryFilters_);
+          inventoryFilters_ = new java.util.ArrayList(inventoryFilters_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter,
-              com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder,
-              com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder>
-          inventoryFiltersBuilder_;
+          com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder> inventoryFiltersBuilder_;
 
       /**
-       *
-       *
        * 
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -30695,11 +26355,9 @@ private void ensureInventoryFiltersIsMutable() {
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ - public java.util.List - getInventoryFiltersList() { + public java.util.List getInventoryFiltersList() { if (inventoryFiltersBuilder_ == null) { return java.util.Collections.unmodifiableList(inventoryFilters_); } else { @@ -30707,8 +26365,6 @@ private void ensureInventoryFiltersIsMutable() { } } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -30722,8 +26378,7 @@ private void ensureInventoryFiltersIsMutable() {
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ public int getInventoryFiltersCount() { if (inventoryFiltersBuilder_ == null) { @@ -30733,8 +26388,6 @@ public int getInventoryFiltersCount() { } } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -30748,8 +26401,7 @@ public int getInventoryFiltersCount() {
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter getInventoryFilters(int index) { if (inventoryFiltersBuilder_ == null) { @@ -30759,8 +26411,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter getInventoryFilters } } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -30774,8 +26424,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter getInventoryFilters
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ public Builder setInventoryFilters( int index, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter value) { @@ -30792,8 +26441,6 @@ public Builder setInventoryFilters( return this; } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -30807,12 +26454,10 @@ public Builder setInventoryFilters(
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ public Builder setInventoryFilters( - int index, - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder builderForValue) { if (inventoryFiltersBuilder_ == null) { ensureInventoryFiltersIsMutable(); inventoryFilters_.set(index, builderForValue.build()); @@ -30823,8 +26468,6 @@ public Builder setInventoryFilters( return this; } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -30838,11 +26481,9 @@ public Builder setInventoryFilters(
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ - public Builder addInventoryFilters( - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter value) { + public Builder addInventoryFilters(com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter value) { if (inventoryFiltersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -30856,8 +26497,6 @@ public Builder addInventoryFilters( return this; } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -30871,8 +26510,7 @@ public Builder addInventoryFilters(
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ public Builder addInventoryFilters( int index, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter value) { @@ -30889,8 +26527,6 @@ public Builder addInventoryFilters( return this; } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -30904,8 +26540,7 @@ public Builder addInventoryFilters(
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ public Builder addInventoryFilters( com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder builderForValue) { @@ -30919,8 +26554,6 @@ public Builder addInventoryFilters( return this; } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -30934,12 +26567,10 @@ public Builder addInventoryFilters(
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ public Builder addInventoryFilters( - int index, - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder builderForValue) { if (inventoryFiltersBuilder_ == null) { ensureInventoryFiltersIsMutable(); inventoryFilters_.add(index, builderForValue.build()); @@ -30950,8 +26581,6 @@ public Builder addInventoryFilters( return this; } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -30965,15 +26594,14 @@ public Builder addInventoryFilters(
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ public Builder addAllInventoryFilters( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (inventoryFiltersBuilder_ == null) { ensureInventoryFiltersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inventoryFilters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, inventoryFilters_); onChanged(); } else { inventoryFiltersBuilder_.addAllMessages(values); @@ -30981,8 +26609,6 @@ public Builder addAllInventoryFilters( return this; } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -30996,8 +26622,7 @@ public Builder addAllInventoryFilters(
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ public Builder clearInventoryFilters() { if (inventoryFiltersBuilder_ == null) { @@ -31010,8 +26635,6 @@ public Builder clearInventoryFilters() { return this; } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -31025,8 +26648,7 @@ public Builder clearInventoryFilters() {
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ public Builder removeInventoryFilters(int index) { if (inventoryFiltersBuilder_ == null) { @@ -31039,8 +26661,6 @@ public Builder removeInventoryFilters(int index) { return this; } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -31054,16 +26674,13 @@ public Builder removeInventoryFilters(int index) {
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ - public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder - getInventoryFiltersBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder getInventoryFiltersBuilder( + int index) { return getInventoryFiltersFieldBuilder().getBuilder(index); } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -31077,20 +26694,16 @@ public Builder removeInventoryFilters(int index) {
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ - public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder - getInventoryFiltersOrBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder getInventoryFiltersOrBuilder( + int index) { if (inventoryFiltersBuilder_ == null) { - return inventoryFilters_.get(index); - } else { + return inventoryFilters_.get(index); } else { return inventoryFiltersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -31104,12 +26717,10 @@ public Builder removeInventoryFilters(int index) {
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder> - getInventoryFiltersOrBuilderList() { + public java.util.List + getInventoryFiltersOrBuilderList() { if (inventoryFiltersBuilder_ != null) { return inventoryFiltersBuilder_.getMessageOrBuilderList(); } else { @@ -31117,8 +26728,6 @@ public Builder removeInventoryFilters(int index) { } } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -31132,17 +26741,13 @@ public Builder removeInventoryFilters(int index) {
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ - public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder - addInventoryFiltersBuilder() { - return getInventoryFiltersFieldBuilder() - .addBuilder(com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder addInventoryFiltersBuilder() { + return getInventoryFiltersFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.getDefaultInstance()); } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -31156,18 +26761,14 @@ public Builder removeInventoryFilters(int index) {
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ - public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder - addInventoryFiltersBuilder(int index) { - return getInventoryFiltersFieldBuilder() - .addBuilder( - index, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder addInventoryFiltersBuilder( + int index) { + return getInventoryFiltersFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.getDefaultInstance()); } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -31181,25 +26782,18 @@ public Builder removeInventoryFilters(int index) {
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; */ - public java.util.List - getInventoryFiltersBuilderList() { + public java.util.List + getInventoryFiltersBuilderList() { return getInventoryFiltersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter, - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder, - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder> getInventoryFiltersFieldBuilder() { if (inventoryFiltersBuilder_ == null) { - inventoryFiltersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter, - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder, - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder>( + inventoryFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder>( inventoryFilters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -31210,33 +26804,24 @@ public Builder removeInventoryFilters(int index) { } private java.util.List resources_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureResourcesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - resources_ = - new java.util.ArrayList(resources_); + resources_ = new java.util.ArrayList(resources_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource, - com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder, - com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder> - resourcesBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource, com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder, com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder> resourcesBuilder_; /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getResourcesList() { if (resourcesBuilder_ == null) { @@ -31246,16 +26831,12 @@ public java.util.List getResourc } } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getResourcesCount() { if (resourcesBuilder_ == null) { @@ -31265,16 +26846,12 @@ public int getResourcesCount() { } } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicy.Resource getResources(int index) { if (resourcesBuilder_ == null) { @@ -31284,18 +26861,15 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource getResources(int index) { } } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setResources(int index, com.google.cloud.osconfig.v1.OSPolicy.Resource value) { + public Builder setResources( + int index, com.google.cloud.osconfig.v1.OSPolicy.Resource value) { if (resourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -31309,16 +26883,12 @@ public Builder setResources(int index, com.google.cloud.osconfig.v1.OSPolicy.Res return this; } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResources( int index, com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder builderForValue) { @@ -31332,16 +26902,12 @@ public Builder setResources( return this; } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addResources(com.google.cloud.osconfig.v1.OSPolicy.Resource value) { if (resourcesBuilder_ == null) { @@ -31357,18 +26923,15 @@ public Builder addResources(com.google.cloud.osconfig.v1.OSPolicy.Resource value return this; } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addResources(int index, com.google.cloud.osconfig.v1.OSPolicy.Resource value) { + public Builder addResources( + int index, com.google.cloud.osconfig.v1.OSPolicy.Resource value) { if (resourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -31382,16 +26945,12 @@ public Builder addResources(int index, com.google.cloud.osconfig.v1.OSPolicy.Res return this; } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addResources( com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder builderForValue) { @@ -31405,16 +26964,12 @@ public Builder addResources( return this; } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addResources( int index, com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder builderForValue) { @@ -31428,22 +26983,19 @@ public Builder addResources( return this; } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllResources( java.lang.Iterable values) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, resources_); onChanged(); } else { resourcesBuilder_.addAllMessages(values); @@ -31451,16 +27003,12 @@ public Builder addAllResources( return this; } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearResources() { if (resourcesBuilder_ == null) { @@ -31473,16 +27021,12 @@ public Builder clearResources() { return this; } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeResources(int index) { if (resourcesBuilder_ == null) { @@ -31495,54 +27039,42 @@ public Builder removeResources(int index) { return this; } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder getResourcesBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder getResourcesBuilder( + int index) { return getResourcesFieldBuilder().getBuilder(index); } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder getResourcesOrBuilder( int index) { if (resourcesBuilder_ == null) { - return resources_.get(index); - } else { + return resources_.get(index); } else { return resourcesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getResourcesOrBuilderList() { + public java.util.List + getResourcesOrBuilderList() { if (resourcesBuilder_ != null) { return resourcesBuilder_.getMessageOrBuilderList(); } else { @@ -31550,71 +27082,56 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder getResourcesOrBui } } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder addResourcesBuilder() { - return getResourcesFieldBuilder() - .addBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.getDefaultInstance()); + return getResourcesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.OSPolicy.Resource.getDefaultInstance()); } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder addResourcesBuilder(int index) { - return getResourcesFieldBuilder() - .addBuilder(index, com.google.cloud.osconfig.v1.OSPolicy.Resource.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder addResourcesBuilder( + int index) { + return getResourcesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.OSPolicy.Resource.getDefaultInstance()); } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getResourcesBuilderList() { + public java.util.List + getResourcesBuilderList() { return getResourcesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource, - com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder, - com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource, com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder, com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder> getResourcesFieldBuilder() { if (resourcesBuilder_ == null) { - resourcesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource, - com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder, - com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder>( - resources_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + resourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource, com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder, com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder>( + resources_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); resources_ = null; } return resourcesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -31627,12 +27144,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.ResourceGroup) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.ResourceGroup) private static final com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup(); } @@ -31641,16 +27158,16 @@ public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceGroup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceGroup(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResourceGroup(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -31665,13 +27182,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** - * - * *
    * Required. The id of the OS policy with the following restrictions:
    * * Must contain only lowercase letters, numbers, and hyphens.
@@ -31682,7 +27198,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup getDefaultInstanceFor
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ @java.lang.Override @@ -31691,15 +27206,14 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * Required. The id of the OS policy with the following restrictions:
    * * Must contain only lowercase letters, numbers, and hyphens.
@@ -31710,15 +27224,16 @@ public java.lang.String getId() {
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -31729,15 +27244,12 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * Policy description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -31746,30 +27258,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Policy description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -31780,48 +27292,33 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int MODE_FIELD_NUMBER = 3; private int mode_; /** - * - * *
    * Required. Policy mode
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
    * Required. Policy mode
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The mode. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Mode getMode() { + @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Mode result = - com.google.cloud.osconfig.v1.OSPolicy.Mode.valueOf(mode_); + com.google.cloud.osconfig.v1.OSPolicy.Mode result = com.google.cloud.osconfig.v1.OSPolicy.Mode.valueOf(mode_); return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Mode.UNRECOGNIZED : result; } public static final int RESOURCE_GROUPS_FIELD_NUMBER = 4; private java.util.List resourceGroups_; /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -31832,18 +27329,13 @@ public com.google.cloud.osconfig.v1.OSPolicy.Mode getMode() {
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getResourceGroupsList() { + public java.util.List getResourceGroupsList() { return resourceGroups_; } /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -31854,18 +27346,14 @@ public com.google.cloud.osconfig.v1.OSPolicy.Mode getMode() {
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getResourceGroupsOrBuilderList() { return resourceGroups_; } /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -31876,17 +27364,13 @@ public com.google.cloud.osconfig.v1.OSPolicy.Mode getMode() {
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getResourceGroupsCount() { return resourceGroups_.size(); } /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -31897,17 +27381,13 @@ public int getResourceGroupsCount() {
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup getResourceGroups(int index) { return resourceGroups_.get(index); } /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -31918,9 +27398,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup getResourceGroups(int
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder getResourceGroupsOrBuilder( @@ -31931,8 +27409,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder getResourceG public static final int ALLOW_NO_RESOURCE_GROUP_MATCH_FIELD_NUMBER = 5; private boolean allowNoResourceGroupMatch_; /** - * - * *
    * This flag determines the OS policy compliance status when none of the
    * resource groups within the policy are applicable for a VM. Set this value
@@ -31941,7 +27417,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder getResourceG
    * 
* * bool allow_no_resource_group_match = 5; - * * @return The allowNoResourceGroupMatch. */ @java.lang.Override @@ -31950,7 +27425,6 @@ public boolean getAllowNoResourceGroupMatch() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -31962,7 +27436,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -31994,13 +27469,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (mode_ != com.google.cloud.osconfig.v1.OSPolicy.Mode.MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, mode_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, mode_); } for (int i = 0; i < resourceGroups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, resourceGroups_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, resourceGroups_.get(i)); } if (allowNoResourceGroupMatch_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowNoResourceGroupMatch_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, allowNoResourceGroupMatch_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -32010,18 +27488,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy)) { return super.equals(obj); } com.google.cloud.osconfig.v1.OSPolicy other = (com.google.cloud.osconfig.v1.OSPolicy) obj; - if (!getId().equals(other.getId())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (mode_ != other.mode_) return false; - if (!getResourceGroupsList().equals(other.getResourceGroupsList())) return false; - if (getAllowNoResourceGroupMatch() != other.getAllowNoResourceGroupMatch()) return false; + if (!getResourceGroupsList() + .equals(other.getResourceGroupsList())) return false; + if (getAllowNoResourceGroupMatch() + != other.getAllowNoResourceGroupMatch()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -32044,132 +27526,125 @@ public int hashCode() { hash = (53 * hash) + getResourceGroupsList().hashCode(); } hash = (37 * hash) + ALLOW_NO_RESOURCE_GROUP_MATCH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowNoResourceGroupMatch()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowNoResourceGroupMatch()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.osconfig.v1.OSPolicy parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1.OSPolicy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicy parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.osconfig.v1.OSPolicy parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy 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.osconfig.v1.OSPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An OS policy defines the desired state configuration for a VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy) com.google.cloud.osconfig.v1.OSPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.class, - com.google.cloud.osconfig.v1.OSPolicy.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.class, com.google.cloud.osconfig.v1.OSPolicy.Builder.class); } // Construct using com.google.cloud.osconfig.v1.OSPolicy.newBuilder() @@ -32177,17 +27652,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getResourceGroupsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -32209,9 +27684,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto - .internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor; } @java.lang.Override @@ -32230,8 +27705,7 @@ public com.google.cloud.osconfig.v1.OSPolicy build() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy result = - new com.google.cloud.osconfig.v1.OSPolicy(this); + com.google.cloud.osconfig.v1.OSPolicy result = new com.google.cloud.osconfig.v1.OSPolicy(this); int from_bitField0_ = bitField0_; result.id_ = id_; result.description_ = description_; @@ -32254,39 +27728,38 @@ public com.google.cloud.osconfig.v1.OSPolicy buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy) other); + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy)other); } else { super.mergeFrom(other); return this; @@ -32324,10 +27797,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy other) { resourceGroupsBuilder_ = null; resourceGroups_ = other.resourceGroups_; bitField0_ = (bitField0_ & ~0x00000001); - resourceGroupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getResourceGroupsFieldBuilder() - : null; + resourceGroupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getResourceGroupsFieldBuilder() : null; } else { resourceGroupsBuilder_.addAllMessages(other.resourceGroups_); } @@ -32364,13 +27836,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object id_ = ""; /** - * - * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -32381,13 +27850,13 @@ public Builder mergeFrom(
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -32396,8 +27865,6 @@ public java.lang.String getId() { } } /** - * - * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -32408,14 +27875,15 @@ public java.lang.String getId() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -32423,8 +27891,6 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -32435,22 +27901,20 @@ public com.google.protobuf.ByteString getIdBytes() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -32461,18 +27925,15 @@ public Builder setId(java.lang.String value) {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -32483,16 +27944,16 @@ public Builder clearId() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -32500,21 +27961,19 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -32523,22 +27982,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -32546,64 +28004,57 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -32611,73 +28062,51 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int mode_ = 0; /** - * - * *
      * Required. Policy mode
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
      * Required. Policy mode
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { - + mode_ = value; onChanged(); return this; } /** - * - * *
      * Required. Policy mode
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The mode. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Mode result = - com.google.cloud.osconfig.v1.OSPolicy.Mode.valueOf(mode_); + com.google.cloud.osconfig.v1.OSPolicy.Mode result = com.google.cloud.osconfig.v1.OSPolicy.Mode.valueOf(mode_); return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Mode.UNRECOGNIZED : result; } /** - * - * *
      * Required. Policy mode
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The mode to set. * @return This builder for chaining. */ @@ -32685,52 +28114,39 @@ public Builder setMode(com.google.cloud.osconfig.v1.OSPolicy.Mode value) { if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. Policy mode
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = 0; onChanged(); return this; } private java.util.List resourceGroups_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureResourceGroupsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - resourceGroups_ = - new java.util.ArrayList( - resourceGroups_); + resourceGroups_ = new java.util.ArrayList(resourceGroups_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup, - com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder, - com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder> - resourceGroupsBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder> resourceGroupsBuilder_; /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -32741,12 +28157,9 @@ private void ensureResourceGroupsIsMutable() {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getResourceGroupsList() { + public java.util.List getResourceGroupsList() { if (resourceGroupsBuilder_ == null) { return java.util.Collections.unmodifiableList(resourceGroups_); } else { @@ -32754,8 +28167,6 @@ private void ensureResourceGroupsIsMutable() { } } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -32766,9 +28177,7 @@ private void ensureResourceGroupsIsMutable() {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public int getResourceGroupsCount() { if (resourceGroupsBuilder_ == null) { @@ -32778,8 +28187,6 @@ public int getResourceGroupsCount() { } } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -32790,9 +28197,7 @@ public int getResourceGroupsCount() {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup getResourceGroups(int index) { if (resourceGroupsBuilder_ == null) { @@ -32802,8 +28207,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup getResourceGroups(int } } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -32814,9 +28217,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup getResourceGroups(int
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResourceGroups( int index, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup value) { @@ -32833,8 +28234,6 @@ public Builder setResourceGroups( return this; } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -32845,9 +28244,7 @@ public Builder setResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResourceGroups( int index, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder builderForValue) { @@ -32861,8 +28258,6 @@ public Builder setResourceGroups( return this; } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -32873,9 +28268,7 @@ public Builder setResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addResourceGroups(com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup value) { if (resourceGroupsBuilder_ == null) { @@ -32891,8 +28284,6 @@ public Builder addResourceGroups(com.google.cloud.osconfig.v1.OSPolicy.ResourceG return this; } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -32903,9 +28294,7 @@ public Builder addResourceGroups(com.google.cloud.osconfig.v1.OSPolicy.ResourceG
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addResourceGroups( int index, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup value) { @@ -32922,8 +28311,6 @@ public Builder addResourceGroups( return this; } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -32934,9 +28321,7 @@ public Builder addResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addResourceGroups( com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder builderForValue) { @@ -32950,8 +28335,6 @@ public Builder addResourceGroups( return this; } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -32962,9 +28345,7 @@ public Builder addResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addResourceGroups( int index, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder builderForValue) { @@ -32978,8 +28359,6 @@ public Builder addResourceGroups( return this; } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -32990,15 +28369,14 @@ public Builder addResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllResourceGroups( java.lang.Iterable values) { if (resourceGroupsBuilder_ == null) { ensureResourceGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceGroups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, resourceGroups_); onChanged(); } else { resourceGroupsBuilder_.addAllMessages(values); @@ -33006,8 +28384,6 @@ public Builder addAllResourceGroups( return this; } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -33018,9 +28394,7 @@ public Builder addAllResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearResourceGroups() { if (resourceGroupsBuilder_ == null) { @@ -33033,8 +28407,6 @@ public Builder clearResourceGroups() { return this; } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -33045,9 +28417,7 @@ public Builder clearResourceGroups() {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeResourceGroups(int index) { if (resourceGroupsBuilder_ == null) { @@ -33060,8 +28430,6 @@ public Builder removeResourceGroups(int index) { return this; } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -33072,17 +28440,13 @@ public Builder removeResourceGroups(int index) {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder getResourceGroupsBuilder( int index) { return getResourceGroupsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -33093,21 +28457,16 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder getResourceGr
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder getResourceGroupsOrBuilder( int index) { if (resourceGroupsBuilder_ == null) { - return resourceGroups_.get(index); - } else { + return resourceGroups_.get(index); } else { return resourceGroupsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -33118,12 +28477,10 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder getResourceG
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getResourceGroupsOrBuilderList() { + public java.util.List + getResourceGroupsOrBuilderList() { if (resourceGroupsBuilder_ != null) { return resourceGroupsBuilder_.getMessageOrBuilderList(); } else { @@ -33131,8 +28488,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder getResourceG } } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -33143,17 +28498,13 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder getResourceG
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder addResourceGroupsBuilder() { - return getResourceGroupsFieldBuilder() - .addBuilder(com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.getDefaultInstance()); + return getResourceGroupsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.getDefaultInstance()); } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -33164,19 +28515,14 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder addResourceGr
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder addResourceGroupsBuilder( int index) { - return getResourceGroupsFieldBuilder() - .addBuilder( - index, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.getDefaultInstance()); + return getResourceGroupsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.getDefaultInstance()); } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -33187,26 +28533,18 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder addResourceGr
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getResourceGroupsBuilderList() { + public java.util.List + getResourceGroupsBuilderList() { return getResourceGroupsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup, - com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder, - com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder> getResourceGroupsFieldBuilder() { if (resourceGroupsBuilder_ == null) { - resourceGroupsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup, - com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder, - com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder>( + resourceGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder>( resourceGroups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -33216,10 +28554,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder addResourceGr return resourceGroupsBuilder_; } - private boolean allowNoResourceGroupMatch_; + private boolean allowNoResourceGroupMatch_ ; /** - * - * *
      * This flag determines the OS policy compliance status when none of the
      * resource groups within the policy are applicable for a VM. Set this value
@@ -33228,7 +28564,6 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder addResourceGr
      * 
* * bool allow_no_resource_group_match = 5; - * * @return The allowNoResourceGroupMatch. */ @java.lang.Override @@ -33236,8 +28571,6 @@ public boolean getAllowNoResourceGroupMatch() { return allowNoResourceGroupMatch_; } /** - * - * *
      * This flag determines the OS policy compliance status when none of the
      * resource groups within the policy are applicable for a VM. Set this value
@@ -33246,19 +28579,16 @@ public boolean getAllowNoResourceGroupMatch() {
      * 
* * bool allow_no_resource_group_match = 5; - * * @param value The allowNoResourceGroupMatch to set. * @return This builder for chaining. */ public Builder setAllowNoResourceGroupMatch(boolean value) { - + allowNoResourceGroupMatch_ = value; onChanged(); return this; } /** - * - * *
      * This flag determines the OS policy compliance status when none of the
      * resource groups within the policy are applicable for a VM. Set this value
@@ -33267,18 +28597,17 @@ public Builder setAllowNoResourceGroupMatch(boolean value) {
      * 
* * bool allow_no_resource_group_match = 5; - * * @return This builder for chaining. */ public Builder clearAllowNoResourceGroupMatch() { - + allowNoResourceGroupMatch_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -33288,12 +28617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy) private static final com.google.cloud.osconfig.v1.OSPolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy(); } @@ -33302,16 +28631,16 @@ public static com.google.cloud.osconfig.v1.OSPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -33326,4 +28655,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.OSPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignment.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignment.java similarity index 69% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignment.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignment.java index 6ce51ded..22c2e6af 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignment.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignment.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * OS policy assignment is an API resource that is used to
  * apply a set of OS policies to a dynamically targeted group of Compute Engine
@@ -35,16 +18,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment}
  */
-public final class OSPolicyAssignment extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OSPolicyAssignment extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignment)
     OSPolicyAssignmentOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OSPolicyAssignment.newBuilder() to construct.
   private OSPolicyAssignment(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OSPolicyAssignment() {
     name_ = "";
     description_ = "";
@@ -57,15 +39,16 @@ private OSPolicyAssignment() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OSPolicyAssignment();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OSPolicyAssignment(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -85,131 +68,112 @@ private OSPolicyAssignment(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            description_ = s;
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              osPolicies_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                osPolicies_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              osPolicies_.add(
-                  input.readMessage(
-                      com.google.cloud.osconfig.v1.OSPolicy.parser(), extensionRegistry));
-              break;
+            osPolicies_.add(
+                input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.parser(), extensionRegistry));
+            break;
+          }
+          case 34: {
+            com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder subBuilder = null;
+            if (instanceFilter_ != null) {
+              subBuilder = instanceFilter_.toBuilder();
             }
-          case 34:
-            {
-              com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder subBuilder =
-                  null;
-              if (instanceFilter_ != null) {
-                subBuilder = instanceFilter_.toBuilder();
-              }
-              instanceFilter_ =
-                  input.readMessage(
-                      com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(instanceFilter_);
-                instanceFilter_ = subBuilder.buildPartial();
-              }
-
-              break;
+            instanceFilter_ = input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(instanceFilter_);
+              instanceFilter_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder subBuilder = null;
-              if (rollout_ != null) {
-                subBuilder = rollout_.toBuilder();
-              }
-              rollout_ =
-                  input.readMessage(
-                      com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rollout_);
-                rollout_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 42: {
+            com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder subBuilder = null;
+            if (rollout_ != null) {
+              subBuilder = rollout_.toBuilder();
             }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              revisionId_ = s;
-              break;
+            rollout_ = input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(rollout_);
+              rollout_ = subBuilder.buildPartial();
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (revisionCreateTime_ != null) {
-                subBuilder = revisionCreateTime_.toBuilder();
-              }
-              revisionCreateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(revisionCreateTime_);
-                revisionCreateTime_ = subBuilder.buildPartial();
-              }
 
-              break;
-            }
-          case 66:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              etag_ = s;
-              break;
-            }
-          case 72:
-            {
-              int rawValue = input.readEnum();
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              rolloutState_ = rawValue;
-              break;
-            }
-          case 80:
-            {
-              baseline_ = input.readBool();
-              break;
-            }
-          case 88:
-            {
-              deleted_ = input.readBool();
-              break;
+            revisionId_ = s;
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (revisionCreateTime_ != null) {
+              subBuilder = revisionCreateTime_.toBuilder();
             }
-          case 96:
-            {
-              reconciling_ = input.readBool();
-              break;
+            revisionCreateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(revisionCreateTime_);
+              revisionCreateTime_ = subBuilder.buildPartial();
             }
-          case 106:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              uid_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            break;
+          }
+          case 66: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            etag_ = s;
+            break;
+          }
+          case 72: {
+            int rawValue = input.readEnum();
+
+            rolloutState_ = rawValue;
+            break;
+          }
+          case 80: {
+
+            baseline_ = input.readBool();
+            break;
+          }
+          case 88: {
+
+            deleted_ = input.readBool();
+            break;
+          }
+          case 96: {
+
+            reconciling_ = input.readBool();
+            break;
+          }
+          case 106: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            uid_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -217,7 +181,8 @@ private OSPolicyAssignment(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         osPolicies_ = java.util.Collections.unmodifiableList(osPolicies_);
@@ -226,35 +191,29 @@ private OSPolicyAssignment(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-        .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-        .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.OSPolicyAssignment.class,
-            com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder.class);
+            com.google.cloud.osconfig.v1.OSPolicyAssignment.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * OS policy assignment rollout state
    * 
* * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState} */ - public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { + public enum RolloutState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Invalid value
      * 
@@ -263,8 +222,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ ROLLOUT_STATE_UNSPECIFIED(0), /** - * - * *
      * The rollout is in progress.
      * 
@@ -273,8 +230,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ IN_PROGRESS(1), /** - * - * *
      * The rollout is being cancelled.
      * 
@@ -283,8 +238,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLING(2), /** - * - * *
      * The rollout is cancelled.
      * 
@@ -293,8 +246,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLED(3), /** - * - * *
      * The rollout has completed successfully.
      * 
@@ -306,8 +257,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Invalid value
      * 
@@ -316,8 +265,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROLLOUT_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The rollout is in progress.
      * 
@@ -326,8 +273,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IN_PROGRESS_VALUE = 1; /** - * - * *
      * The rollout is being cancelled.
      * 
@@ -336,8 +281,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLING_VALUE = 2; /** - * - * *
      * The rollout is cancelled.
      * 
@@ -346,8 +289,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 3; /** - * - * *
      * The rollout has completed successfully.
      * 
@@ -356,6 +297,7 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -380,53 +322,51 @@ public static RolloutState valueOf(int value) { */ public static RolloutState forNumber(int value) { switch (value) { - case 0: - return ROLLOUT_STATE_UNSPECIFIED; - case 1: - return IN_PROGRESS; - case 2: - return CANCELLING; - case 3: - return CANCELLED; - case 4: - return SUCCEEDED; - default: - return null; + case 0: return ROLLOUT_STATE_UNSPECIFIED; + case 1: return IN_PROGRESS; + case 2: return CANCELLING; + case 3: return CANCELLED; + case 4: return SUCCEEDED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + RolloutState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RolloutState findValueByNumber(int number) { + return RolloutState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RolloutState findValueByNumber(int number) { - return RolloutState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.osconfig.v1.OSPolicyAssignment.getDescriptor().getEnumTypes().get(0); } private static final RolloutState[] VALUES = values(); - public static RolloutState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RolloutState valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -443,14 +383,11 @@ private RolloutState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState) } - public interface LabelSetOrBuilder - extends + public interface LabelSetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -461,8 +398,6 @@ public interface LabelSetOrBuilder
      */
     int getLabelsCount();
     /**
-     *
-     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -471,13 +406,15 @@ public interface LabelSetOrBuilder
      *
      * map<string, string> labels = 1;
      */
-    boolean containsLabels(java.lang.String key);
-    /** Use {@link #getLabelsMap()} instead. */
+    boolean containsLabels(
+        java.lang.String key);
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Deprecated
-    java.util.Map getLabels();
+    java.util.Map
+    getLabels();
     /**
-     *
-     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -486,10 +423,9 @@ public interface LabelSetOrBuilder
      *
      * map<string, string> labels = 1;
      */
-    java.util.Map getLabelsMap();
+    java.util.Map
+    getLabelsMap();
     /**
-     *
-     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -500,13 +436,11 @@ public interface LabelSetOrBuilder
      */
 
     /* nullable */
-    java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue);
+java.lang.String defaultValue);
     /**
-     *
-     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -515,11 +449,11 @@ java.lang.String getLabelsOrDefault(
      *
      * map<string, string> labels = 1;
      */
-    java.lang.String getLabelsOrThrow(java.lang.String key);
+
+    java.lang.String getLabelsOrThrow(
+        java.lang.String key);
   }
   /**
-   *
-   *
    * 
    * Message representing label set.
    * * A label is a key value pair set for a VM.
@@ -534,29 +468,30 @@ java.lang.String getLabelsOrDefault(
    *
    * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet}
    */
-  public static final class LabelSet extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class LabelSet extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet)
       LabelSetOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use LabelSet.newBuilder() to construct.
     private LabelSet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private LabelSet() {}
+    private LabelSet() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new LabelSet();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private LabelSet(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -576,28 +511,26 @@ private LabelSet(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  labels_ =
-                      com.google.protobuf.MapField.newMapField(
-                          LabelsDefaultEntryHolder.defaultEntry);
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-                break;
+            case 10: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                labels_ = com.google.protobuf.MapField.newMapField(
+                    LabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              labels_.getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -605,57 +538,57 @@ private LabelSet(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
     @java.lang.Override
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 1:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.class,
-              com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder.class);
+              com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder.class);
     }
 
     public static final int LABELS_FIELD_NUMBER = 1;
-
     private static final class LabelsDefaultEntryHolder {
-      static final com.google.protobuf.MapEntry defaultEntry =
-          com.google.protobuf.MapEntry.newDefaultInstance(
-              com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-                  .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor,
-              com.google.protobuf.WireFormat.FieldType.STRING,
-              "",
-              com.google.protobuf.WireFormat.FieldType.STRING,
-              "");
-    }
-
-    private com.google.protobuf.MapField labels_;
-
-    private com.google.protobuf.MapField internalGetLabels() {
+      static final com.google.protobuf.MapEntry<
+          java.lang.String, java.lang.String> defaultEntry =
+              com.google.protobuf.MapEntry
+              .newDefaultInstance(
+                  com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor, 
+                  com.google.protobuf.WireFormat.FieldType.STRING,
+                  "",
+                  com.google.protobuf.WireFormat.FieldType.STRING,
+                  "");
+    }
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> labels_;
+    private com.google.protobuf.MapField
+    internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
@@ -664,8 +597,6 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -674,22 +605,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 1;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -699,12 +630,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 1;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -714,17 +644,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 1;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -734,11 +663,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 1;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -746,7 +676,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -758,9 +687,14 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-          output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 1);
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      com.google.protobuf.GeneratedMessageV3
+        .serializeStringMapTo(
+          output,
+          internalGetLabels(),
+          LabelsDefaultEntryHolder.defaultEntry,
+          1);
       unknownFields.writeTo(output);
     }
 
@@ -770,15 +704,15 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      for (java.util.Map.Entry entry :
-          internalGetLabels().getMap().entrySet()) {
-        com.google.protobuf.MapEntry labels__ =
-            LabelsDefaultEntryHolder.defaultEntry
-                .newBuilderForType()
-                .setKey(entry.getKey())
-                .setValue(entry.getValue())
-                .build();
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, labels__);
+      for (java.util.Map.Entry entry
+           : internalGetLabels().getMap().entrySet()) {
+        com.google.protobuf.MapEntry
+        labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
+            .setKey(entry.getKey())
+            .setValue(entry.getValue())
+            .build();
+        size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(1, labels__);
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -788,15 +722,15 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet)) {
         return super.equals(obj);
       }
-      com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet other =
-          (com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet) obj;
+      com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet other = (com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet) obj;
 
-      if (!internalGetLabels().equals(other.internalGetLabels())) return false;
+      if (!internalGetLabels().equals(
+          other.internalGetLabels())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -818,94 +752,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet 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.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet prototype) {
+    public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -915,8 +842,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Message representing label set.
      * * A label is a key value pair set for a VM.
@@ -931,44 +856,43 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet)
         com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-            .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor;
       }
 
       @SuppressWarnings({"rawtypes"})
-      protected com.google.protobuf.MapField internalGetMapField(int number) {
+      protected com.google.protobuf.MapField internalGetMapField(
+          int number) {
         switch (number) {
           case 1:
             return internalGetLabels();
           default:
-            throw new RuntimeException("Invalid map field number: " + number);
+            throw new RuntimeException(
+                "Invalid map field number: " + number);
         }
       }
-
       @SuppressWarnings({"rawtypes"})
-      protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+      protected com.google.protobuf.MapField internalGetMutableMapField(
+          int number) {
         switch (number) {
           case 1:
             return internalGetMutableLabels();
           default:
-            throw new RuntimeException("Invalid map field number: " + number);
+            throw new RuntimeException(
+                "Invalid map field number: " + number);
         }
       }
-
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-            .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.class,
-                com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder.class);
+                com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.newBuilder()
@@ -976,15 +900,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -993,9 +918,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-            .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor;
       }
 
       @java.lang.Override
@@ -1014,8 +939,7 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet buildPartial() {
-        com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet result =
-            new com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet(this);
+        com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet result = new com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet(this);
         int from_bitField0_ = bitField0_;
         result.labels_ = internalGetLabels();
         result.labels_.makeImmutable();
@@ -1027,41 +951,38 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.OSPolicyAssignment.LabelSet) {
-          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1069,9 +990,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet other) {
-        if (other == com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance())
-          return this;
-        internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+        if (other == com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance()) return this;
+        internalGetMutableLabels().mergeFrom(
+            other.internalGetLabels());
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
         return this;
@@ -1091,8 +1012,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1101,24 +1021,24 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private com.google.protobuf.MapField labels_;
-
-      private com.google.protobuf.MapField internalGetLabels() {
+      private com.google.protobuf.MapField<
+          java.lang.String, java.lang.String> labels_;
+      private com.google.protobuf.MapField
+      internalGetLabels() {
         if (labels_ == null) {
-          return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+          return com.google.protobuf.MapField.emptyMapField(
+              LabelsDefaultEntryHolder.defaultEntry);
         }
         return labels_;
       }
-
       private com.google.protobuf.MapField
-          internalGetMutableLabels() {
-        onChanged();
-        ;
+      internalGetMutableLabels() {
+        onChanged();;
         if (labels_ == null) {
-          labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+          labels_ = com.google.protobuf.MapField.newMapField(
+              LabelsDefaultEntryHolder.defaultEntry);
         }
         if (!labels_.isMutable()) {
           labels_ = labels_.copy();
@@ -1130,8 +1050,6 @@ public int getLabelsCount() {
         return internalGetLabels().getMap().size();
       }
       /**
-       *
-       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1140,22 +1058,22 @@ public int getLabelsCount() {
        *
        * map<string, string> labels = 1;
        */
+
       @java.lang.Override
-      public boolean containsLabels(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public boolean containsLabels(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         return internalGetLabels().getMap().containsKey(key);
       }
-      /** Use {@link #getLabelsMap()} instead. */
+      /**
+       * Use {@link #getLabelsMap()} instead.
+       */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getLabels() {
         return getLabelsMap();
       }
       /**
-       *
-       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1165,12 +1083,11 @@ public java.util.Map getLabels() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
+
       public java.util.Map getLabelsMap() {
         return internalGetLabels().getMap();
       }
       /**
-       *
-       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1180,17 +1097,16 @@ public java.util.Map getLabelsMap() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
+
       public java.lang.String getLabelsOrDefault(
-          java.lang.String key, java.lang.String defaultValue) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetLabels().getMap();
+          java.lang.String key,
+          java.lang.String defaultValue) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetLabels().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
-       *
-       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1200,11 +1116,12 @@ public java.lang.String getLabelsOrDefault(
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-      public java.lang.String getLabelsOrThrow(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetLabels().getMap();
+
+      public java.lang.String getLabelsOrThrow(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetLabels().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
@@ -1212,12 +1129,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
       }
 
       public Builder clearLabels() {
-        internalGetMutableLabels().getMutableMap().clear();
+        internalGetMutableLabels().getMutableMap()
+            .clear();
         return this;
       }
       /**
-       *
-       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1226,21 +1142,23 @@ public Builder clearLabels() {
        *
        * map<string, string> labels = 1;
        */
-      public Builder removeLabels(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        internalGetMutableLabels().getMutableMap().remove(key);
+
+      public Builder removeLabels(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        internalGetMutableLabels().getMutableMap()
+            .remove(key);
         return this;
       }
-      /** Use alternate mutation accessors instead. */
+      /**
+       * Use alternate mutation accessors instead.
+       */
       @java.lang.Deprecated
-      public java.util.Map getMutableLabels() {
+      public java.util.Map
+      getMutableLabels() {
         return internalGetMutableLabels().getMutableMap();
       }
       /**
-       *
-       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1249,20 +1167,19 @@ public java.util.Map getMutableLabels() {
        *
        * map<string, string> labels = 1;
        */
-      public Builder putLabels(java.lang.String key, java.lang.String value) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public Builder putLabels(
+          java.lang.String key,
+          java.lang.String value) {
+        if (key == null) { throw new NullPointerException("map key"); }
         if (value == null) {
-          throw new NullPointerException("map value");
-        }
+  throw new NullPointerException("map value");
+}
 
-        internalGetMutableLabels().getMutableMap().put(key, value);
+        internalGetMutableLabels().getMutableMap()
+            .put(key, value);
         return this;
       }
       /**
-       *
-       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1271,11 +1188,13 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
        *
        * map<string, string> labels = 1;
        */
-      public Builder putAllLabels(java.util.Map values) {
-        internalGetMutableLabels().getMutableMap().putAll(values);
+
+      public Builder putAllLabels(
+          java.util.Map values) {
+        internalGetMutableLabels().getMutableMap()
+            .putAll(values);
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1288,12 +1207,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet)
     private static final com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet();
     }
@@ -1302,16 +1221,16 @@ public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getDefaul
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public LabelSet parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new LabelSet(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public LabelSet parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new LabelSet(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1326,245 +1245,187 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface InstanceFilterOrBuilder
-      extends
+  public interface InstanceFilterOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Target all VMs in the project. If true, no other criteria is
      * permitted.
      * 
* * bool all = 1; - * * @return The all. */ boolean getAll(); /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ - java.util.List + java.util.List getInclusionLabelsList(); /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getInclusionLabels(int index); /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ int getInclusionLabelsCount(); /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ - java.util.List + java.util.List getInclusionLabelsOrBuilderList(); /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder getInclusionLabelsOrBuilder( int index); /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ - java.util.List + java.util.List getExclusionLabelsList(); /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getExclusionLabels(int index); /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ int getExclusionLabelsCount(); /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ - java.util.List + java.util.List getExclusionLabelsOrBuilderList(); /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder getExclusionLabelsOrBuilder( int index); /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ - java.util.List + java.util.List getInventoriesList(); /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory getInventories( - int index); + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory getInventories(int index); /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ int getInventoriesCount(); /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> + java.util.List getInventoriesOrBuilderList(); /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder - getInventoriesOrBuilder(int index); + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder getInventoriesOrBuilder( + int index); } /** - * - * *
    * Filters to select target VMs for an assignment.
    * If more than one filter criteria is specified below, a VM will be selected
@@ -1573,16 +1434,15 @@ com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory getInve
    *
    * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter}
    */
-  public static final class InstanceFilter extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class InstanceFilter extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter)
       InstanceFilterOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use InstanceFilter.newBuilder() to construct.
     private InstanceFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private InstanceFilter() {
       inclusionLabels_ = java.util.Collections.emptyList();
       exclusionLabels_ = java.util.Collections.emptyList();
@@ -1591,15 +1451,16 @@ private InstanceFilter() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new InstanceFilter();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private InstanceFilter(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1619,62 +1480,45 @@ private InstanceFilter(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                all_ = input.readBool();
-                break;
-              }
-            case 18:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  inclusionLabels_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet>();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                inclusionLabels_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.parser(),
-                        extensionRegistry));
-                break;
+            case 8: {
+
+              all_ = input.readBool();
+              break;
+            }
+            case 18: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                inclusionLabels_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 26:
-              {
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  exclusionLabels_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet>();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                exclusionLabels_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.parser(),
-                        extensionRegistry));
-                break;
+              inclusionLabels_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.parser(), extensionRegistry));
+              break;
+            }
+            case 26: {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                exclusionLabels_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            case 34:
-              {
-                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                  inventories_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter
-                              .Inventory>();
-                  mutable_bitField0_ |= 0x00000004;
-                }
-                inventories_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory
-                            .parser(),
-                        extensionRegistry));
-                break;
+              exclusionLabels_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.parser(), extensionRegistry));
+              break;
+            }
+            case 34: {
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                inventories_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000004;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              inventories_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.parser(), extensionRegistry));
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1682,7 +1526,8 @@ private InstanceFilter(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           inclusionLabels_ = java.util.Collections.unmodifiableList(inclusionLabels_);
@@ -1697,55 +1542,44 @@ private InstanceFilter(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.class,
-              com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder.class);
+              com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder.class);
     }
 
-    public interface InventoryOrBuilder
-        extends
+    public interface InventoryOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The osShortName. */ java.lang.String getOsShortName(); /** - * - * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for osShortName. */ - com.google.protobuf.ByteString getOsShortNameBytes(); + com.google.protobuf.ByteString + getOsShortNameBytes(); /** - * - * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1755,13 +1589,10 @@ public interface InventoryOrBuilder
        * 
* * string os_version = 2; - * * @return The osVersion. */ java.lang.String getOsVersion(); /** - * - * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1771,30 +1602,27 @@ public interface InventoryOrBuilder
        * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ - com.google.protobuf.ByteString getOsVersionBytes(); + com.google.protobuf.ByteString + getOsVersionBytes(); } /** - * - * *
      * VM inventory details.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory} */ - public static final class Inventory extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Inventory extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) InventoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Inventory.newBuilder() to construct. private Inventory(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Inventory() { osShortName_ = ""; osVersion_ = ""; @@ -1802,15 +1630,16 @@ private Inventory() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Inventory(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Inventory( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1829,27 +1658,25 @@ private Inventory( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - osShortName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + osShortName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - osVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + osVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1857,41 +1684,34 @@ private Inventory( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.class, - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder - .class); + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder.class); } public static final int OS_SHORT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object osShortName_; /** - * - * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The osShortName. */ @java.lang.Override @@ -1900,29 +1720,29 @@ public java.lang.String getOsShortName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; } } /** - * - * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for osShortName. */ @java.lang.Override - public com.google.protobuf.ByteString getOsShortNameBytes() { + public com.google.protobuf.ByteString + getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osShortName_ = b; return b; } else { @@ -1933,8 +1753,6 @@ public com.google.protobuf.ByteString getOsShortNameBytes() { public static final int OS_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object osVersion_; /** - * - * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1944,7 +1762,6 @@ public com.google.protobuf.ByteString getOsShortNameBytes() {
        * 
* * string os_version = 2; - * * @return The osVersion. */ @java.lang.Override @@ -1953,15 +1770,14 @@ public java.lang.String getOsVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; } } /** - * - * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1971,15 +1787,16 @@ public java.lang.String getOsVersion() {
        * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getOsVersionBytes() { + public com.google.protobuf.ByteString + getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osVersion_ = b; return b; } else { @@ -1988,7 +1805,6 @@ public com.google.protobuf.ByteString getOsVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2000,7 +1816,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osShortName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osShortName_); } @@ -2030,17 +1847,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory other = - (com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) obj; + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory other = (com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) obj; - if (!getOsShortName().equals(other.getOsShortName())) return false; - if (!getOsVersion().equals(other.getOsVersion())) return false; + if (!getOsShortName() + .equals(other.getOsShortName())) return false; + if (!getOsVersion() + .equals(other.getOsVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2061,103 +1878,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory 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.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory 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.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - 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.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory 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.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - 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.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory 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.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2167,50 +1969,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * VM inventory details.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.class, - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder - .class); + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.newBuilder() + // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2222,22 +2018,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory build() { - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory result = - buildPartial(); + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2245,10 +2038,8 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - buildPartial() { - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory result = - new com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory(this); + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory buildPartial() { + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory result = new com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory(this); result.osShortName_ = osShortName_; result.osVersion_ = osVersion_; onBuilt(); @@ -2259,54 +2050,46 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) { - return mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) other); + if (other instanceof com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) { + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory other) { - if (other - == com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory other) { + if (other == com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.getDefaultInstance()) return this; if (!other.getOsShortName().isEmpty()) { osShortName_ = other.osShortName_; onChanged(); @@ -2330,14 +2113,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parsedMessage = - null; + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2349,20 +2129,18 @@ public Builder mergeFrom( private java.lang.Object osShortName_ = ""; /** - * - * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The osShortName. */ public java.lang.String getOsShortName() { java.lang.Object ref = osShortName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; @@ -2371,21 +2149,20 @@ public java.lang.String getOsShortName() { } } /** - * - * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for osShortName. */ - public com.google.protobuf.ByteString getOsShortNameBytes() { + public com.google.protobuf.ByteString + getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osShortName_ = b; return b; } else { @@ -2393,61 +2170,54 @@ public com.google.protobuf.ByteString getOsShortNameBytes() { } } /** - * - * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortName(java.lang.String value) { + public Builder setOsShortName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osShortName_ = value; onChanged(); return this; } /** - * - * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearOsShortName() { - + osShortName_ = getDefaultInstance().getOsShortName(); onChanged(); return this; } /** - * - * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { + public Builder setOsShortNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osShortName_ = value; onChanged(); return this; @@ -2455,8 +2225,6 @@ public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object osVersion_ = ""; /** - * - * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2466,13 +2234,13 @@ public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) {
          * 
* * string os_version = 2; - * * @return The osVersion. */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; @@ -2481,8 +2249,6 @@ public java.lang.String getOsVersion() { } } /** - * - * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2492,14 +2258,15 @@ public java.lang.String getOsVersion() {
          * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ - public com.google.protobuf.ByteString getOsVersionBytes() { + public com.google.protobuf.ByteString + getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osVersion_ = b; return b; } else { @@ -2507,8 +2274,6 @@ public com.google.protobuf.ByteString getOsVersionBytes() { } } /** - * - * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2518,22 +2283,20 @@ public com.google.protobuf.ByteString getOsVersionBytes() {
          * 
* * string os_version = 2; - * * @param value The osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersion(java.lang.String value) { + public Builder setOsVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osVersion_ = value; onChanged(); return this; } /** - * - * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2543,18 +2306,15 @@ public Builder setOsVersion(java.lang.String value) {
          * 
* * string os_version = 2; - * * @return This builder for chaining. */ public Builder clearOsVersion() { - + osVersion_ = getDefaultInstance().getOsVersion(); onChanged(); return this; } /** - * - * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2564,21 +2324,20 @@ public Builder clearOsVersion() {
          * 
* * string os_version = 2; - * * @param value The bytes for osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersionBytes(com.google.protobuf.ByteString value) { + public Builder setOsVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osVersion_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2591,33 +2350,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) - private static final com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory(); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Inventory parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Inventory(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Inventory parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Inventory(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2629,24 +2385,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int ALL_FIELD_NUMBER = 1; private boolean all_; /** - * - * *
      * Target all VMs in the project. If true, no other criteria is
      * permitted.
      * 
* * bool all = 1; - * * @return The all. */ @java.lang.Override @@ -2655,278 +2408,216 @@ public boolean getAll() { } public static final int INCLUSION_LABELS_FIELD_NUMBER = 2; - private java.util.List - inclusionLabels_; + private java.util.List inclusionLabels_; /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ @java.lang.Override - public java.util.List - getInclusionLabelsList() { + public java.util.List getInclusionLabelsList() { return inclusionLabels_; } /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> + public java.util.List getInclusionLabelsOrBuilderList() { return inclusionLabels_; } /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ @java.lang.Override public int getInclusionLabelsCount() { return inclusionLabels_.size(); } /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getInclusionLabels(int index) { return inclusionLabels_.get(index); } /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder - getInclusionLabelsOrBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder getInclusionLabelsOrBuilder( + int index) { return inclusionLabels_.get(index); } public static final int EXCLUSION_LABELS_FIELD_NUMBER = 3; - private java.util.List - exclusionLabels_; + private java.util.List exclusionLabels_; /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ @java.lang.Override - public java.util.List - getExclusionLabelsList() { + public java.util.List getExclusionLabelsList() { return exclusionLabels_; } /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> + public java.util.List getExclusionLabelsOrBuilderList() { return exclusionLabels_; } /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ @java.lang.Override public int getExclusionLabelsCount() { return exclusionLabels_.size(); } /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getExclusionLabels(int index) { return exclusionLabels_.get(index); } /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder - getExclusionLabelsOrBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder getExclusionLabelsOrBuilder( + int index) { return exclusionLabels_.get(index); } public static final int INVENTORIES_FIELD_NUMBER = 4; - private java.util.List - inventories_; + private java.util.List inventories_; /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ @java.lang.Override - public java.util.List - getInventoriesList() { + public java.util.List getInventoriesList() { return inventories_; } /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> + public java.util.List getInventoriesOrBuilderList() { return inventories_; } /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ @java.lang.Override public int getInventoriesCount() { return inventories_.size(); } /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory getInventories( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory getInventories(int index) { return inventories_.get(index); } /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder - getInventoriesOrBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder getInventoriesOrBuilder( + int index) { return inventories_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2938,7 +2629,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (all_ != false) { output.writeBool(1, all_); } @@ -2961,18 +2653,20 @@ public int getSerializedSize() { size = 0; if (all_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, all_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, all_); } for (int i = 0; i < inclusionLabels_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, inclusionLabels_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, inclusionLabels_.get(i)); } for (int i = 0; i < exclusionLabels_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, exclusionLabels_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, exclusionLabels_.get(i)); } for (int i = 0; i < inventories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, inventories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, inventories_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2982,18 +2676,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter other = - (com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter) obj; + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter other = (com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter) obj; - if (getAll() != other.getAll()) return false; - if (!getInclusionLabelsList().equals(other.getInclusionLabelsList())) return false; - if (!getExclusionLabelsList().equals(other.getExclusionLabelsList())) return false; - if (!getInventoriesList().equals(other.getInventoriesList())) return false; + if (getAll() + != other.getAll()) return false; + if (!getInclusionLabelsList() + .equals(other.getInclusionLabelsList())) return false; + if (!getExclusionLabelsList() + .equals(other.getExclusionLabelsList())) return false; + if (!getInventoriesList() + .equals(other.getInventoriesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3006,7 +2703,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAll()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAll()); if (getInclusionLabelsCount() > 0) { hash = (37 * hash) + INCLUSION_LABELS_FIELD_NUMBER; hash = (53 * hash) + getInclusionLabelsList().hashCode(); @@ -3025,94 +2723,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter 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.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3122,8 +2813,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Filters to select target VMs for an assignment.
      * If more than one filter criteria is specified below, a VM will be selected
@@ -3132,24 +2821,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter)
         com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-            .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-            .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.class,
-                com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder.class);
+                com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.newBuilder()
@@ -3157,19 +2843,19 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getInclusionLabelsFieldBuilder();
           getExclusionLabelsFieldBuilder();
           getInventoriesFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3197,14 +2883,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-            .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.getDefaultInstance();
       }
 
@@ -3219,8 +2904,7 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter buildPartial() {
-        com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter result =
-            new com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter(this);
+        com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter result = new com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter(this);
         int from_bitField0_ = bitField0_;
         result.all_ = all_;
         if (inclusionLabelsBuilder_ == null) {
@@ -3258,52 +2942,46 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter buildParti
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.OSPolicyAssignment.InstanceFilter) {
-          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter other) {
-        if (other
-            == com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter other) {
+        if (other == com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.getDefaultInstance()) return this;
         if (other.getAll() != false) {
           setAll(other.getAll());
         }
@@ -3325,10 +3003,9 @@ public Builder mergeFrom(
               inclusionLabelsBuilder_ = null;
               inclusionLabels_ = other.inclusionLabels_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              inclusionLabelsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getInclusionLabelsFieldBuilder()
-                      : null;
+              inclusionLabelsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getInclusionLabelsFieldBuilder() : null;
             } else {
               inclusionLabelsBuilder_.addAllMessages(other.inclusionLabels_);
             }
@@ -3352,10 +3029,9 @@ public Builder mergeFrom(
               exclusionLabelsBuilder_ = null;
               exclusionLabels_ = other.exclusionLabels_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              exclusionLabelsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getExclusionLabelsFieldBuilder()
-                      : null;
+              exclusionLabelsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getExclusionLabelsFieldBuilder() : null;
             } else {
               exclusionLabelsBuilder_.addAllMessages(other.exclusionLabels_);
             }
@@ -3379,10 +3055,9 @@ public Builder mergeFrom(
               inventoriesBuilder_ = null;
               inventories_ = other.inventories_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              inventoriesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getInventoriesFieldBuilder()
-                      : null;
+              inventoriesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getInventoriesFieldBuilder() : null;
             } else {
               inventoriesBuilder_.addAllMessages(other.inventories_);
             }
@@ -3407,9 +3082,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -3418,20 +3091,16 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private boolean all_;
+      private boolean all_ ;
       /**
-       *
-       *
        * 
        * Target all VMs in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; - * * @return The all. */ @java.lang.Override @@ -3439,75 +3108,59 @@ public boolean getAll() { return all_; } /** - * - * *
        * Target all VMs in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; - * * @param value The all to set. * @return This builder for chaining. */ public Builder setAll(boolean value) { - + all_ = value; onChanged(); return this; } /** - * - * *
        * Target all VMs in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; - * * @return This builder for chaining. */ public Builder clearAll() { - + all_ = false; onChanged(); return this; } - private java.util.List - inclusionLabels_ = java.util.Collections.emptyList(); - + private java.util.List inclusionLabels_ = + java.util.Collections.emptyList(); private void ensureInclusionLabelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - inclusionLabels_ = - new java.util.ArrayList( - inclusionLabels_); + inclusionLabels_ = new java.util.ArrayList(inclusionLabels_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> - inclusionLabelsBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> inclusionLabelsBuilder_; /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ - public java.util.List - getInclusionLabelsList() { + public java.util.List getInclusionLabelsList() { if (inclusionLabelsBuilder_ == null) { return java.util.Collections.unmodifiableList(inclusionLabels_); } else { @@ -3515,16 +3168,13 @@ private void ensureInclusionLabelsIsMutable() { } } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ public int getInclusionLabelsCount() { if (inclusionLabelsBuilder_ == null) { @@ -3534,19 +3184,15 @@ public int getInclusionLabelsCount() { } } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getInclusionLabels( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getInclusionLabels(int index) { if (inclusionLabelsBuilder_ == null) { return inclusionLabels_.get(index); } else { @@ -3554,16 +3200,13 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getInclusionLabe } } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ public Builder setInclusionLabels( int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet value) { @@ -3580,20 +3223,16 @@ public Builder setInclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ public Builder setInclusionLabels( - int index, - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { if (inclusionLabelsBuilder_ == null) { ensureInclusionLabelsIsMutable(); inclusionLabels_.set(index, builderForValue.build()); @@ -3604,19 +3243,15 @@ public Builder setInclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ - public Builder addInclusionLabels( - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet value) { + public Builder addInclusionLabels(com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet value) { if (inclusionLabelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3630,16 +3265,13 @@ public Builder addInclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ public Builder addInclusionLabels( int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet value) { @@ -3656,16 +3288,13 @@ public Builder addInclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ public Builder addInclusionLabels( com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { @@ -3679,20 +3308,16 @@ public Builder addInclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ public Builder addInclusionLabels( - int index, - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { if (inclusionLabelsBuilder_ == null) { ensureInclusionLabelsIsMutable(); inclusionLabels_.add(index, builderForValue.build()); @@ -3703,23 +3328,20 @@ public Builder addInclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ public Builder addAllInclusionLabels( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (inclusionLabelsBuilder_ == null) { ensureInclusionLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inclusionLabels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, inclusionLabels_); onChanged(); } else { inclusionLabelsBuilder_.addAllMessages(values); @@ -3727,16 +3349,13 @@ public Builder addAllInclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ public Builder clearInclusionLabels() { if (inclusionLabelsBuilder_ == null) { @@ -3749,16 +3368,13 @@ public Builder clearInclusionLabels() { return this; } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ public Builder removeInclusionLabels(int index) { if (inclusionLabelsBuilder_ == null) { @@ -3771,56 +3387,45 @@ public Builder removeInclusionLabels(int index) { return this; } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder - getInclusionLabelsBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder getInclusionLabelsBuilder( + int index) { return getInclusionLabelsFieldBuilder().getBuilder(index); } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder - getInclusionLabelsOrBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder getInclusionLabelsOrBuilder( + int index) { if (inclusionLabelsBuilder_ == null) { - return inclusionLabels_.get(index); - } else { + return inclusionLabels_.get(index); } else { return inclusionLabelsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> - getInclusionLabelsOrBuilderList() { + public java.util.List + getInclusionLabelsOrBuilderList() { if (inclusionLabelsBuilder_ != null) { return inclusionLabelsBuilder_.getMessageOrBuilderList(); } else { @@ -3828,70 +3433,51 @@ public Builder removeInclusionLabels(int index) { } } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder - addInclusionLabelsBuilder() { - return getInclusionLabelsFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder addInclusionLabelsBuilder() { + return getInclusionLabelsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance()); } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder - addInclusionLabelsBuilder(int index) { - return getInclusionLabelsFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder addInclusionLabelsBuilder( + int index) { + return getInclusionLabelsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance()); } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; */ - public java.util.List - getInclusionLabelsBuilderList() { + public java.util.List + getInclusionLabelsBuilderList() { return getInclusionLabelsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> getInclusionLabelsFieldBuilder() { if (inclusionLabelsBuilder_ == null) { - inclusionLabelsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder>( + inclusionLabelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder>( inclusionLabels_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3901,38 +3487,28 @@ public Builder removeInclusionLabels(int index) { return inclusionLabelsBuilder_; } - private java.util.List - exclusionLabels_ = java.util.Collections.emptyList(); - + private java.util.List exclusionLabels_ = + java.util.Collections.emptyList(); private void ensureExclusionLabelsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - exclusionLabels_ = - new java.util.ArrayList( - exclusionLabels_); + exclusionLabels_ = new java.util.ArrayList(exclusionLabels_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> - exclusionLabelsBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> exclusionLabelsBuilder_; /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ - public java.util.List - getExclusionLabelsList() { + public java.util.List getExclusionLabelsList() { if (exclusionLabelsBuilder_ == null) { return java.util.Collections.unmodifiableList(exclusionLabels_); } else { @@ -3940,16 +3516,13 @@ private void ensureExclusionLabelsIsMutable() { } } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ public int getExclusionLabelsCount() { if (exclusionLabelsBuilder_ == null) { @@ -3959,19 +3532,15 @@ public int getExclusionLabelsCount() { } } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getExclusionLabels( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getExclusionLabels(int index) { if (exclusionLabelsBuilder_ == null) { return exclusionLabels_.get(index); } else { @@ -3979,16 +3548,13 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getExclusionLabe } } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ public Builder setExclusionLabels( int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet value) { @@ -4005,20 +3571,16 @@ public Builder setExclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ public Builder setExclusionLabels( - int index, - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { if (exclusionLabelsBuilder_ == null) { ensureExclusionLabelsIsMutable(); exclusionLabels_.set(index, builderForValue.build()); @@ -4029,19 +3591,15 @@ public Builder setExclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ - public Builder addExclusionLabels( - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet value) { + public Builder addExclusionLabels(com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet value) { if (exclusionLabelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4055,16 +3613,13 @@ public Builder addExclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ public Builder addExclusionLabels( int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet value) { @@ -4081,16 +3636,13 @@ public Builder addExclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ public Builder addExclusionLabels( com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { @@ -4104,20 +3656,16 @@ public Builder addExclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ public Builder addExclusionLabels( - int index, - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { if (exclusionLabelsBuilder_ == null) { ensureExclusionLabelsIsMutable(); exclusionLabels_.add(index, builderForValue.build()); @@ -4128,23 +3676,20 @@ public Builder addExclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ public Builder addAllExclusionLabels( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (exclusionLabelsBuilder_ == null) { ensureExclusionLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusionLabels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, exclusionLabels_); onChanged(); } else { exclusionLabelsBuilder_.addAllMessages(values); @@ -4152,16 +3697,13 @@ public Builder addAllExclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ public Builder clearExclusionLabels() { if (exclusionLabelsBuilder_ == null) { @@ -4174,16 +3716,13 @@ public Builder clearExclusionLabels() { return this; } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ public Builder removeExclusionLabels(int index) { if (exclusionLabelsBuilder_ == null) { @@ -4196,56 +3735,45 @@ public Builder removeExclusionLabels(int index) { return this; } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder - getExclusionLabelsBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder getExclusionLabelsBuilder( + int index) { return getExclusionLabelsFieldBuilder().getBuilder(index); } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder - getExclusionLabelsOrBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder getExclusionLabelsOrBuilder( + int index) { if (exclusionLabelsBuilder_ == null) { - return exclusionLabels_.get(index); - } else { + return exclusionLabels_.get(index); } else { return exclusionLabelsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> - getExclusionLabelsOrBuilderList() { + public java.util.List + getExclusionLabelsOrBuilderList() { if (exclusionLabelsBuilder_ != null) { return exclusionLabelsBuilder_.getMessageOrBuilderList(); } else { @@ -4253,70 +3781,51 @@ public Builder removeExclusionLabels(int index) { } } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder - addExclusionLabelsBuilder() { - return getExclusionLabelsFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder addExclusionLabelsBuilder() { + return getExclusionLabelsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance()); } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder - addExclusionLabelsBuilder(int index) { - return getExclusionLabelsFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder addExclusionLabelsBuilder( + int index) { + return getExclusionLabelsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance()); } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; */ - public java.util.List - getExclusionLabelsBuilderList() { + public java.util.List + getExclusionLabelsBuilderList() { return getExclusionLabelsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> getExclusionLabelsFieldBuilder() { if (exclusionLabelsBuilder_ == null) { - exclusionLabelsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder>( + exclusionLabelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder>( exclusionLabels_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4326,42 +3835,28 @@ public Builder removeExclusionLabels(int index) { return exclusionLabelsBuilder_; } - private java.util.List< - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory> - inventories_ = java.util.Collections.emptyList(); - + private java.util.List inventories_ = + java.util.Collections.emptyList(); private void ensureInventoriesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - inventories_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory>( - inventories_); + inventories_ = new java.util.ArrayList(inventories_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory, - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> - inventoriesBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> inventoriesBuilder_; /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ - public java.util.List< - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory> - getInventoriesList() { + public java.util.List getInventoriesList() { if (inventoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(inventories_); } else { @@ -4369,17 +3864,13 @@ private void ensureInventoriesIsMutable() { } } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ public int getInventoriesCount() { if (inventoriesBuilder_ == null) { @@ -4389,20 +3880,15 @@ public int getInventoriesCount() { } } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - getInventories(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory getInventories(int index) { if (inventoriesBuilder_ == null) { return inventories_.get(index); } else { @@ -4410,21 +3896,16 @@ public int getInventoriesCount() { } } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ public Builder setInventories( - int index, - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory value) { + int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4438,22 +3919,16 @@ public Builder setInventories( return this; } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ public Builder setInventories( - int index, - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); inventories_.set(index, builderForValue.build()); @@ -4464,20 +3939,15 @@ public Builder setInventories( return this; } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ - public Builder addInventories( - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory value) { + public Builder addInventories(com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4491,21 +3961,16 @@ public Builder addInventories( return this; } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ public Builder addInventories( - int index, - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory value) { + int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4519,21 +3984,16 @@ public Builder addInventories( return this; } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ public Builder addInventories( - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder - builderForValue) { + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); inventories_.add(builderForValue.build()); @@ -4544,22 +4004,16 @@ public Builder addInventories( return this; } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ public Builder addInventories( - int index, - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); inventories_.add(index, builderForValue.build()); @@ -4570,26 +4024,20 @@ public Builder addInventories( return this; } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ public Builder addAllInventories( - java.lang.Iterable< - ? extends - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory> - values) { + java.lang.Iterable values) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inventories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, inventories_); onChanged(); } else { inventoriesBuilder_.addAllMessages(values); @@ -4597,17 +4045,13 @@ public Builder addAllInventories( return this; } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ public Builder clearInventories() { if (inventoriesBuilder_ == null) { @@ -4620,17 +4064,13 @@ public Builder clearInventories() { return this; } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ public Builder removeInventories(int index) { if (inventoriesBuilder_ == null) { @@ -4643,60 +4083,45 @@ public Builder removeInventories(int index) { return this; } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder - getInventoriesBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder getInventoriesBuilder( + int index) { return getInventoriesFieldBuilder().getBuilder(index); } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder - getInventoriesOrBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder getInventoriesOrBuilder( + int index) { if (inventoriesBuilder_ == null) { - return inventories_.get(index); - } else { + return inventories_.get(index); } else { return inventoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> - getInventoriesOrBuilderList() { + public java.util.List + getInventoriesOrBuilderList() { if (inventoriesBuilder_ != null) { return inventoriesBuilder_.getMessageOrBuilderList(); } else { @@ -4704,77 +4129,51 @@ public Builder removeInventories(int index) { } } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder - addInventoriesBuilder() { - return getInventoriesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - .getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder addInventoriesBuilder() { + return getInventoriesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.getDefaultInstance()); } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder - addInventoriesBuilder(int index) { - return getInventoriesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory - .getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder addInventoriesBuilder( + int index) { + return getInventoriesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.getDefaultInstance()); } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; */ - public java.util.List< - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder> - getInventoriesBuilderList() { + public java.util.List + getInventoriesBuilderList() { return getInventoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory, - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> getInventoriesFieldBuilder() { if (inventoriesBuilder_ == null) { - inventoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory, - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter - .InventoryOrBuilder>( + inventoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder>( inventories_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -4783,7 +4182,6 @@ public Builder removeInventories(int index) { } return inventoriesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4796,32 +4194,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter) - private static final com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter(); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstanceFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstanceFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstanceFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4833,64 +4229,47 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface RolloutOrBuilder - extends + public interface RolloutOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignment.Rollout) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt
      * at any given moment.
      * 
* - * - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the disruptionBudget field is set. */ boolean hasDisruptionBudget(); /** - * - * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt
      * at any given moment.
      * 
* - * - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The disruptionBudget. */ com.google.cloud.osconfig.v1.Common.FixedOrPercent getDisruptionBudget(); /** - * - * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt
      * at any given moment.
      * 
* - * - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder(); /** - * - * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -4899,16 +4278,11 @@ public interface RolloutOrBuilder
      * applied.
      * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the minWaitDuration field is set. */ boolean hasMinWaitDuration(); /** - * - * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -4917,16 +4291,11 @@ public interface RolloutOrBuilder
      * applied.
      * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The minWaitDuration. */ com.google.protobuf.Duration getMinWaitDuration(); /** - * - * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -4935,15 +4304,11 @@ public interface RolloutOrBuilder
      * applied.
      * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder(); } /** - * - * *
    * Message to configure the rollout at the zonal level for the OS policy
    * assignment.
@@ -4951,29 +4316,30 @@ public interface RolloutOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment.Rollout}
    */
-  public static final class Rollout extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Rollout extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignment.Rollout)
       RolloutOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Rollout.newBuilder() to construct.
     private Rollout(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private Rollout() {}
+    private Rollout() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Rollout();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private Rollout(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4992,45 +4358,39 @@ private Rollout(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder subBuilder = null;
-                if (disruptionBudget_ != null) {
-                  subBuilder = disruptionBudget_.toBuilder();
-                }
-                disruptionBudget_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.Common.FixedOrPercent.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(disruptionBudget_);
-                  disruptionBudget_ = subBuilder.buildPartial();
-                }
-
-                break;
+            case 10: {
+              com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder subBuilder = null;
+              if (disruptionBudget_ != null) {
+                subBuilder = disruptionBudget_.toBuilder();
+              }
+              disruptionBudget_ = input.readMessage(com.google.cloud.osconfig.v1.Common.FixedOrPercent.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(disruptionBudget_);
+                disruptionBudget_ = subBuilder.buildPartial();
               }
-            case 18:
-              {
-                com.google.protobuf.Duration.Builder subBuilder = null;
-                if (minWaitDuration_ != null) {
-                  subBuilder = minWaitDuration_.toBuilder();
-                }
-                minWaitDuration_ =
-                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(minWaitDuration_);
-                  minWaitDuration_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 18: {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (minWaitDuration_ != null) {
+                subBuilder = minWaitDuration_.toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              minWaitDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(minWaitDuration_);
+                minWaitDuration_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5038,42 +4398,35 @@ private Rollout(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.class,
-              com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder.class);
+              com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder.class);
     }
 
     public static final int DISRUPTION_BUDGET_FIELD_NUMBER = 1;
     private com.google.cloud.osconfig.v1.Common.FixedOrPercent disruptionBudget_;
     /**
-     *
-     *
      * 
      * Required. The maximum number (or percentage) of VMs per zone to disrupt
      * at any given moment.
      * 
* - * - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the disruptionBudget field is set. */ @java.lang.Override @@ -5081,48 +4434,34 @@ public boolean hasDisruptionBudget() { return disruptionBudget_ != null; } /** - * - * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt
      * at any given moment.
      * 
* - * - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The disruptionBudget. */ @java.lang.Override public com.google.cloud.osconfig.v1.Common.FixedOrPercent getDisruptionBudget() { - return disruptionBudget_ == null - ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() - : disruptionBudget_; + return disruptionBudget_ == null ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() : disruptionBudget_; } /** - * - * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt
      * at any given moment.
      * 
* - * - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder - getDisruptionBudgetOrBuilder() { + public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder() { return getDisruptionBudget(); } public static final int MIN_WAIT_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration minWaitDuration_; /** - * - * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -5131,10 +4470,7 @@ public com.google.cloud.osconfig.v1.Common.FixedOrPercent getDisruptionBudget()
      * applied.
      * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the minWaitDuration field is set. */ @java.lang.Override @@ -5142,8 +4478,6 @@ public boolean hasMinWaitDuration() { return minWaitDuration_ != null; } /** - * - * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -5152,21 +4486,14 @@ public boolean hasMinWaitDuration() {
      * applied.
      * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The minWaitDuration. */ @java.lang.Override public com.google.protobuf.Duration getMinWaitDuration() { - return minWaitDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minWaitDuration_; + return minWaitDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minWaitDuration_; } /** - * - * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -5175,9 +4502,7 @@ public com.google.protobuf.Duration getMinWaitDuration() {
      * applied.
      * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder() { @@ -5185,7 +4510,6 @@ public com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5197,7 +4521,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (disruptionBudget_ != null) { output.writeMessage(1, getDisruptionBudget()); } @@ -5214,10 +4539,12 @@ public int getSerializedSize() { size = 0; if (disruptionBudget_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDisruptionBudget()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDisruptionBudget()); } if (minWaitDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMinWaitDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMinWaitDuration()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5227,21 +4554,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout other = - (com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout) obj; + com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout other = (com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout) obj; if (hasDisruptionBudget() != other.hasDisruptionBudget()) return false; if (hasDisruptionBudget()) { - if (!getDisruptionBudget().equals(other.getDisruptionBudget())) return false; + if (!getDisruptionBudget() + .equals(other.getDisruptionBudget())) return false; } if (hasMinWaitDuration() != other.hasMinWaitDuration()) return false; if (hasMinWaitDuration()) { - if (!getMinWaitDuration().equals(other.getMinWaitDuration())) return false; + if (!getMinWaitDuration() + .equals(other.getMinWaitDuration())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -5268,94 +4596,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout 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.osconfig.v1.OSPolicyAssignment.Rollout parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5365,8 +4686,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Message to configure the rollout at the zonal level for the OS policy
      * assignment.
@@ -5374,24 +4693,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment.Rollout}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignment.Rollout)
         com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-            .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-            .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.class,
-                com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder.class);
+                com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.newBuilder()
@@ -5399,15 +4715,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5427,9 +4744,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-            .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor;
       }
 
       @java.lang.Override
@@ -5448,8 +4765,7 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout buildPartial() {
-        com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout result =
-            new com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout(this);
+        com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout result = new com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout(this);
         if (disruptionBudgetBuilder_ == null) {
           result.disruptionBudget_ = disruptionBudget_;
         } else {
@@ -5468,41 +4784,38 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.OSPolicyAssignment.Rollout) {
-          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -5510,8 +4823,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout other) {
-        if (other == com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.getDefaultInstance()) return this;
         if (other.hasDisruptionBudget()) {
           mergeDisruptionBudget(other.getDisruptionBudget());
         }
@@ -5537,8 +4849,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -5550,61 +4861,42 @@ public Builder mergeFrom(
 
       private com.google.cloud.osconfig.v1.Common.FixedOrPercent disruptionBudget_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Common.FixedOrPercent,
-              com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder,
-              com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder>
-          disruptionBudgetBuilder_;
+          com.google.cloud.osconfig.v1.Common.FixedOrPercent, com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder, com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder> disruptionBudgetBuilder_;
       /**
-       *
-       *
        * 
        * Required. The maximum number (or percentage) of VMs per zone to disrupt
        * at any given moment.
        * 
* - * - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the disruptionBudget field is set. */ public boolean hasDisruptionBudget() { return disruptionBudgetBuilder_ != null || disruptionBudget_ != null; } /** - * - * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt
        * at any given moment.
        * 
* - * - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The disruptionBudget. */ public com.google.cloud.osconfig.v1.Common.FixedOrPercent getDisruptionBudget() { if (disruptionBudgetBuilder_ == null) { - return disruptionBudget_ == null - ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() - : disruptionBudget_; + return disruptionBudget_ == null ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() : disruptionBudget_; } else { return disruptionBudgetBuilder_.getMessage(); } } /** - * - * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt
        * at any given moment.
        * 
* - * - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDisruptionBudget(com.google.cloud.osconfig.v1.Common.FixedOrPercent value) { if (disruptionBudgetBuilder_ == null) { @@ -5620,16 +4912,12 @@ public Builder setDisruptionBudget(com.google.cloud.osconfig.v1.Common.FixedOrPe return this; } /** - * - * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt
        * at any given moment.
        * 
* - * - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDisruptionBudget( com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder builderForValue) { @@ -5643,25 +4931,18 @@ public Builder setDisruptionBudget( return this; } /** - * - * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt
        * at any given moment.
        * 
* - * - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeDisruptionBudget( - com.google.cloud.osconfig.v1.Common.FixedOrPercent value) { + public Builder mergeDisruptionBudget(com.google.cloud.osconfig.v1.Common.FixedOrPercent value) { if (disruptionBudgetBuilder_ == null) { if (disruptionBudget_ != null) { disruptionBudget_ = - com.google.cloud.osconfig.v1.Common.FixedOrPercent.newBuilder(disruptionBudget_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.Common.FixedOrPercent.newBuilder(disruptionBudget_).mergeFrom(value).buildPartial(); } else { disruptionBudget_ = value; } @@ -5673,16 +4954,12 @@ public Builder mergeDisruptionBudget( return this; } /** - * - * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt
        * at any given moment.
        * 
* - * - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDisruptionBudget() { if (disruptionBudgetBuilder_ == null) { @@ -5696,69 +4973,51 @@ public Builder clearDisruptionBudget() { return this; } /** - * - * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt
        * at any given moment.
        * 
* - * - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder - getDisruptionBudgetBuilder() { - + public com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder getDisruptionBudgetBuilder() { + onChanged(); return getDisruptionBudgetFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt
        * at any given moment.
        * 
* - * - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder - getDisruptionBudgetOrBuilder() { + public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder() { if (disruptionBudgetBuilder_ != null) { return disruptionBudgetBuilder_.getMessageOrBuilder(); } else { - return disruptionBudget_ == null - ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() - : disruptionBudget_; + return disruptionBudget_ == null ? + com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() : disruptionBudget_; } } /** - * - * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt
        * at any given moment.
        * 
* - * - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Common.FixedOrPercent, - com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder, - com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder> + com.google.cloud.osconfig.v1.Common.FixedOrPercent, com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder, com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder> getDisruptionBudgetFieldBuilder() { if (disruptionBudgetBuilder_ == null) { - disruptionBudgetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Common.FixedOrPercent, - com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder, - com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder>( - getDisruptionBudget(), getParentForChildren(), isClean()); + disruptionBudgetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.Common.FixedOrPercent, com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder, com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder>( + getDisruptionBudget(), + getParentForChildren(), + isClean()); disruptionBudget_ = null; } return disruptionBudgetBuilder_; @@ -5766,13 +5025,8 @@ public Builder clearDisruptionBudget() { private com.google.protobuf.Duration minWaitDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - minWaitDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minWaitDurationBuilder_; /** - * - * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5781,18 +5035,13 @@ public Builder clearDisruptionBudget() {
        * applied.
        * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the minWaitDuration field is set. */ public boolean hasMinWaitDuration() { return minWaitDurationBuilder_ != null || minWaitDuration_ != null; } /** - * - * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5801,24 +5050,17 @@ public boolean hasMinWaitDuration() {
        * applied.
        * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The minWaitDuration. */ public com.google.protobuf.Duration getMinWaitDuration() { if (minWaitDurationBuilder_ == null) { - return minWaitDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minWaitDuration_; + return minWaitDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minWaitDuration_; } else { return minWaitDurationBuilder_.getMessage(); } } /** - * - * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5827,9 +5069,7 @@ public com.google.protobuf.Duration getMinWaitDuration() {
        * applied.
        * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMinWaitDuration(com.google.protobuf.Duration value) { if (minWaitDurationBuilder_ == null) { @@ -5845,8 +5085,6 @@ public Builder setMinWaitDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5855,11 +5093,10 @@ public Builder setMinWaitDuration(com.google.protobuf.Duration value) {
        * applied.
        * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setMinWaitDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setMinWaitDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (minWaitDurationBuilder_ == null) { minWaitDuration_ = builderForValue.build(); onChanged(); @@ -5870,8 +5107,6 @@ public Builder setMinWaitDuration(com.google.protobuf.Duration.Builder builderFo return this; } /** - * - * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5880,17 +5115,13 @@ public Builder setMinWaitDuration(com.google.protobuf.Duration.Builder builderFo
        * applied.
        * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeMinWaitDuration(com.google.protobuf.Duration value) { if (minWaitDurationBuilder_ == null) { if (minWaitDuration_ != null) { minWaitDuration_ = - com.google.protobuf.Duration.newBuilder(minWaitDuration_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(minWaitDuration_).mergeFrom(value).buildPartial(); } else { minWaitDuration_ = value; } @@ -5902,8 +5133,6 @@ public Builder mergeMinWaitDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5912,9 +5141,7 @@ public Builder mergeMinWaitDuration(com.google.protobuf.Duration value) {
        * applied.
        * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMinWaitDuration() { if (minWaitDurationBuilder_ == null) { @@ -5928,8 +5155,6 @@ public Builder clearMinWaitDuration() { return this; } /** - * - * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5938,18 +5163,14 @@ public Builder clearMinWaitDuration() {
        * applied.
        * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Duration.Builder getMinWaitDurationBuilder() { - + onChanged(); return getMinWaitDurationFieldBuilder().getBuilder(); } /** - * - * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5958,22 +5179,17 @@ public com.google.protobuf.Duration.Builder getMinWaitDurationBuilder() {
        * applied.
        * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder() { if (minWaitDurationBuilder_ != null) { return minWaitDurationBuilder_.getMessageOrBuilder(); } else { - return minWaitDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minWaitDuration_; + return minWaitDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : minWaitDuration_; } } /** - * - * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5982,27 +5198,21 @@ public com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder() {
        * applied.
        * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getMinWaitDurationFieldBuilder() { if (minWaitDurationBuilder_ == null) { - minWaitDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getMinWaitDuration(), getParentForChildren(), isClean()); + minWaitDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getMinWaitDuration(), + getParentForChildren(), + isClean()); minWaitDuration_ = null; } return minWaitDurationBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6015,12 +5225,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignment.Rollout) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignment.Rollout) private static final com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout(); } @@ -6029,16 +5239,16 @@ public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Rollout parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Rollout(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Rollout parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Rollout(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6053,13 +5263,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Resource name.
    * Format:
@@ -6068,7 +5277,6 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout getDefaultInstanc
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -6077,15 +5285,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Resource name.
    * Format:
@@ -6094,15 +5301,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -6113,15 +5321,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * OS policy assignment description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -6130,30 +5335,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * OS policy assignment description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -6164,95 +5369,71 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int OS_POLICIES_FIELD_NUMBER = 3; private java.util.List osPolicies_; /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getOsPoliciesList() { return osPolicies_; } /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getOsPoliciesOrBuilderList() { return osPolicies_; } /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getOsPoliciesCount() { return osPolicies_.size(); } /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy getOsPolicies(int index) { return osPolicies_.get(index); } /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder( + int index) { return osPolicies_.get(index); } public static final int INSTANCE_FILTER_FIELD_NUMBER = 4; private com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instanceFilter_; /** - * - * *
    * Required. Filter to select VMs.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceFilter field is set. */ @java.lang.Override @@ -6260,46 +5441,32 @@ public boolean hasInstanceFilter() { return instanceFilter_ != null; } /** - * - * *
    * Required. Filter to select VMs.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceFilter. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter getInstanceFilter() { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.getDefaultInstance() : instanceFilter_; } /** - * - * *
    * Required. Filter to select VMs.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder - getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder getInstanceFilterOrBuilder() { return getInstanceFilter(); } public static final int ROLLOUT_FIELD_NUMBER = 5; private com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout_; /** - * - * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -6311,10 +5478,7 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter getInstanc
    * 3) OSPolicyAssignment is deleted.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the rollout field is set. */ @java.lang.Override @@ -6322,8 +5486,6 @@ public boolean hasRollout() { return rollout_ != null; } /** - * - * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -6335,21 +5497,14 @@ public boolean hasRollout() {
    * 3) OSPolicyAssignment is deleted.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The rollout. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout getRollout() { - return rollout_ == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.getDefaultInstance() : rollout_; } /** - * - * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -6361,9 +5516,7 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout getRollout() {
    * 3) OSPolicyAssignment is deleted.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder getRolloutOrBuilder() { @@ -6373,8 +5526,6 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder getRollo public static final int REVISION_ID_FIELD_NUMBER = 6; private volatile java.lang.Object revisionId_; /** - * - * *
    * Output only. The assignment revision ID
    * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -6382,7 +5533,6 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder getRollo
    * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The revisionId. */ @java.lang.Override @@ -6391,15 +5541,14 @@ public java.lang.String getRevisionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; } } /** - * - * *
    * Output only. The assignment revision ID
    * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -6407,15 +5556,16 @@ public java.lang.String getRevisionId() {
    * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for revisionId. */ @java.lang.Override - public com.google.protobuf.ByteString getRevisionIdBytes() { + public com.google.protobuf.ByteString + getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); revisionId_ = b; return b; } else { @@ -6426,16 +5576,11 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { public static final int REVISION_CREATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp revisionCreateTime_; /** - * - * *
    * Output only. The timestamp that the revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionCreateTime field is set. */ @java.lang.Override @@ -6443,34 +5588,23 @@ public boolean hasRevisionCreateTime() { return revisionCreateTime_ != null; } /** - * - * *
    * Output only. The timestamp that the revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRevisionCreateTime() { - return revisionCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionCreateTime_; + return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; } /** - * - * *
    * Output only. The timestamp that the revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { @@ -6480,15 +5614,12 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { public static final int ETAG_FIELD_NUMBER = 8; private volatile java.lang.Object etag_; /** - * - * *
    * The etag for this OS policy assignment.
    * If this is provided on update, it must match the server's etag.
    * 
* * string etag = 8; - * * @return The etag. */ @java.lang.Override @@ -6497,30 +5628,30 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * The etag for this OS policy assignment.
    * If this is provided on update, it must match the server's etag.
    * 
* * string etag = 8; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -6531,50 +5662,33 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int ROLLOUT_STATE_FIELD_NUMBER = 9; private int rolloutState_; /** - * - * *
    * Output only. OS policy assignment rollout state
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for rolloutState. */ - @java.lang.Override - public int getRolloutStateValue() { + @java.lang.Override public int getRolloutStateValue() { return rolloutState_; } /** - * - * *
    * Output only. OS policy assignment rollout state
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The rolloutState. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState getRolloutState() { + @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState getRolloutState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState result = - com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.valueOf(rolloutState_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState result = com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.valueOf(rolloutState_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.UNRECOGNIZED : result; } public static final int BASELINE_FIELD_NUMBER = 10; private boolean baseline_; /** - * - * *
    * Output only. Indicates that this revision has been successfully rolled out
    * in this zone and new VMs will be assigned OS policies from this revision.
@@ -6583,7 +5697,6 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState getRolloutSt
    * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The baseline. */ @java.lang.Override @@ -6594,14 +5707,11 @@ public boolean getBaseline() { public static final int DELETED_FIELD_NUMBER = 11; private boolean deleted_; /** - * - * *
    * Output only. Indicates that this revision deletes the OS policy assignment.
    * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The deleted. */ @java.lang.Override @@ -6612,8 +5722,6 @@ public boolean getDeleted() { public static final int RECONCILING_FIELD_NUMBER = 12; private boolean reconciling_; /** - * - * *
    * Output only. Indicates that reconciliation is in progress for the revision.
    * This value is `true` when the `rollout_state` is one of:
@@ -6622,7 +5730,6 @@ public boolean getDeleted() {
    * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -6633,15 +5740,12 @@ public boolean getReconciling() { public static final int UID_FIELD_NUMBER = 13; private volatile java.lang.Object uid_; /** - * - * *
    * Output only. Server generated unique id for the OS policy assignment
    * resource.
    * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -6650,30 +5754,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. Server generated unique id for the OS policy assignment
    * resource.
    * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -6682,7 +5786,6 @@ public com.google.protobuf.ByteString getUidBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6694,7 +5797,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -6719,9 +5823,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, etag_); } - if (rolloutState_ - != com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.ROLLOUT_STATE_UNSPECIFIED - .getNumber()) { + if (rolloutState_ != com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.ROLLOUT_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(9, rolloutState_); } if (baseline_ != false) { @@ -6752,36 +5854,42 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } for (int i = 0; i < osPolicies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, osPolicies_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, osPolicies_.get(i)); } if (instanceFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getInstanceFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getInstanceFilter()); } if (rollout_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRollout()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getRollout()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revisionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, revisionId_); } if (revisionCreateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getRevisionCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getRevisionCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, etag_); } - if (rolloutState_ - != com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.ROLLOUT_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, rolloutState_); + if (rolloutState_ != com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.ROLLOUT_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, rolloutState_); } if (baseline_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, baseline_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, baseline_); } if (deleted_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, deleted_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(11, deleted_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(12, reconciling_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, uid_); @@ -6794,36 +5902,47 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignment)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignment other = - (com.google.cloud.osconfig.v1.OSPolicyAssignment) obj; + com.google.cloud.osconfig.v1.OSPolicyAssignment other = (com.google.cloud.osconfig.v1.OSPolicyAssignment) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getOsPoliciesList().equals(other.getOsPoliciesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getOsPoliciesList() + .equals(other.getOsPoliciesList())) return false; if (hasInstanceFilter() != other.hasInstanceFilter()) return false; if (hasInstanceFilter()) { - if (!getInstanceFilter().equals(other.getInstanceFilter())) return false; + if (!getInstanceFilter() + .equals(other.getInstanceFilter())) return false; } if (hasRollout() != other.hasRollout()) return false; if (hasRollout()) { - if (!getRollout().equals(other.getRollout())) return false; + if (!getRollout() + .equals(other.getRollout())) return false; } - if (!getRevisionId().equals(other.getRevisionId())) return false; + if (!getRevisionId() + .equals(other.getRevisionId())) return false; if (hasRevisionCreateTime() != other.hasRevisionCreateTime()) return false; if (hasRevisionCreateTime()) { - if (!getRevisionCreateTime().equals(other.getRevisionCreateTime())) return false; + if (!getRevisionCreateTime() + .equals(other.getRevisionCreateTime())) return false; } - if (!getEtag().equals(other.getEtag())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (rolloutState_ != other.rolloutState_) return false; - if (getBaseline() != other.getBaseline()) return false; - if (getDeleted() != other.getDeleted()) return false; - if (getReconciling() != other.getReconciling()) return false; - if (!getUid().equals(other.getUid())) return false; + if (getBaseline() + != other.getBaseline()) return false; + if (getDeleted() + != other.getDeleted()) return false; + if (getReconciling() + != other.getReconciling()) return false; + if (!getUid() + .equals(other.getUid())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6862,11 +5981,14 @@ public int hashCode() { hash = (37 * hash) + ROLLOUT_STATE_FIELD_NUMBER; hash = (53 * hash) + rolloutState_; hash = (37 * hash) + BASELINE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBaseline()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBaseline()); hash = (37 * hash) + DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeleted()); hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReconciling()); hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -6874,104 +5996,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment 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.osconfig.v1.OSPolicyAssignment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * OS policy assignment is an API resource that is used to
    * apply a set of OS policies to a dynamically targeted group of Compute Engine
@@ -6986,23 +6101,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignment)
       com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.OSPolicyAssignment.class,
-              com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder.class);
+              com.google.cloud.osconfig.v1.OSPolicyAssignment.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignment.newBuilder()
@@ -7010,17 +6123,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getOsPoliciesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -7070,9 +6183,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor;
     }
 
     @java.lang.Override
@@ -7091,8 +6204,7 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1.OSPolicyAssignment buildPartial() {
-      com.google.cloud.osconfig.v1.OSPolicyAssignment result =
-          new com.google.cloud.osconfig.v1.OSPolicyAssignment(this);
+      com.google.cloud.osconfig.v1.OSPolicyAssignment result = new com.google.cloud.osconfig.v1.OSPolicyAssignment(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -7135,39 +6247,38 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.OSPolicyAssignment) {
-        return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignment) other);
+        return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignment)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -7175,8 +6286,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignment other) {
-      if (other == com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -7203,10 +6313,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignment other)
             osPoliciesBuilder_ = null;
             osPolicies_ = other.osPolicies_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            osPoliciesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOsPoliciesFieldBuilder()
-                    : null;
+            osPoliciesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOsPoliciesFieldBuilder() : null;
           } else {
             osPoliciesBuilder_.addAllMessages(other.osPolicies_);
           }
@@ -7273,13 +6382,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Resource name.
      * Format:
@@ -7288,13 +6394,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -7303,8 +6409,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource name.
      * Format:
@@ -7313,14 +6417,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -7328,8 +6433,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource name.
      * Format:
@@ -7338,22 +6441,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Resource name.
      * Format:
@@ -7362,18 +6463,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Resource name.
      * Format:
@@ -7382,16 +6480,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -7399,21 +6497,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -7422,22 +6518,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -7445,95 +6540,80 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. - */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private java.util.List osPolicies_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOsPoliciesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { osPolicies_ = new java.util.ArrayList(osPolicies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy, - com.google.cloud.osconfig.v1.OSPolicy.Builder, - com.google.cloud.osconfig.v1.OSPolicyOrBuilder> - osPoliciesBuilder_; + com.google.cloud.osconfig.v1.OSPolicy, com.google.cloud.osconfig.v1.OSPolicy.Builder, com.google.cloud.osconfig.v1.OSPolicyOrBuilder> osPoliciesBuilder_; /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getOsPoliciesList() { if (osPoliciesBuilder_ == null) { @@ -7543,15 +6623,11 @@ public java.util.List getOsPoliciesList() } } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public int getOsPoliciesCount() { if (osPoliciesBuilder_ == null) { @@ -7561,15 +6637,11 @@ public int getOsPoliciesCount() { } } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicy getOsPolicies(int index) { if (osPoliciesBuilder_ == null) { @@ -7579,17 +6651,14 @@ public com.google.cloud.osconfig.v1.OSPolicy getOsPolicies(int index) { } } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setOsPolicies(int index, com.google.cloud.osconfig.v1.OSPolicy value) { + public Builder setOsPolicies( + int index, com.google.cloud.osconfig.v1.OSPolicy value) { if (osPoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7603,15 +6672,11 @@ public Builder setOsPolicies(int index, com.google.cloud.osconfig.v1.OSPolicy va return this; } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOsPolicies( int index, com.google.cloud.osconfig.v1.OSPolicy.Builder builderForValue) { @@ -7625,15 +6690,11 @@ public Builder setOsPolicies( return this; } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addOsPolicies(com.google.cloud.osconfig.v1.OSPolicy value) { if (osPoliciesBuilder_ == null) { @@ -7649,17 +6710,14 @@ public Builder addOsPolicies(com.google.cloud.osconfig.v1.OSPolicy value) { return this; } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addOsPolicies(int index, com.google.cloud.osconfig.v1.OSPolicy value) { + public Builder addOsPolicies( + int index, com.google.cloud.osconfig.v1.OSPolicy value) { if (osPoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7673,17 +6731,14 @@ public Builder addOsPolicies(int index, com.google.cloud.osconfig.v1.OSPolicy va return this; } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addOsPolicies(com.google.cloud.osconfig.v1.OSPolicy.Builder builderForValue) { + public Builder addOsPolicies( + com.google.cloud.osconfig.v1.OSPolicy.Builder builderForValue) { if (osPoliciesBuilder_ == null) { ensureOsPoliciesIsMutable(); osPolicies_.add(builderForValue.build()); @@ -7694,15 +6749,11 @@ public Builder addOsPolicies(com.google.cloud.osconfig.v1.OSPolicy.Builder build return this; } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addOsPolicies( int index, com.google.cloud.osconfig.v1.OSPolicy.Builder builderForValue) { @@ -7716,21 +6767,18 @@ public Builder addOsPolicies( return this; } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllOsPolicies( java.lang.Iterable values) { if (osPoliciesBuilder_ == null) { ensureOsPoliciesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, osPolicies_); onChanged(); } else { osPoliciesBuilder_.addAllMessages(values); @@ -7738,15 +6786,11 @@ public Builder addAllOsPolicies( return this; } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOsPolicies() { if (osPoliciesBuilder_ == null) { @@ -7759,15 +6803,11 @@ public Builder clearOsPolicies() { return this; } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeOsPolicies(int index) { if (osPoliciesBuilder_ == null) { @@ -7780,50 +6820,39 @@ public Builder removeOsPolicies(int index) { return this; } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.OSPolicy.Builder getOsPoliciesBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicy.Builder getOsPoliciesBuilder( + int index) { return getOsPoliciesFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder( + int index) { if (osPoliciesBuilder_ == null) { - return osPolicies_.get(index); - } else { + return osPolicies_.get(index); } else { return osPoliciesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getOsPoliciesOrBuilderList() { + public java.util.List + getOsPoliciesOrBuilderList() { if (osPoliciesBuilder_ != null) { return osPoliciesBuilder_.getMessageOrBuilderList(); } else { @@ -7831,63 +6860,49 @@ public com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder(int } } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicy.Builder addOsPoliciesBuilder() { - return getOsPoliciesFieldBuilder() - .addBuilder(com.google.cloud.osconfig.v1.OSPolicy.getDefaultInstance()); + return getOsPoliciesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.OSPolicy.getDefaultInstance()); } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.OSPolicy.Builder addOsPoliciesBuilder(int index) { - return getOsPoliciesFieldBuilder() - .addBuilder(index, com.google.cloud.osconfig.v1.OSPolicy.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicy.Builder addOsPoliciesBuilder( + int index) { + return getOsPoliciesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.OSPolicy.getDefaultInstance()); } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getOsPoliciesBuilderList() { + public java.util.List + getOsPoliciesBuilderList() { return getOsPoliciesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy, - com.google.cloud.osconfig.v1.OSPolicy.Builder, - com.google.cloud.osconfig.v1.OSPolicyOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy, com.google.cloud.osconfig.v1.OSPolicy.Builder, com.google.cloud.osconfig.v1.OSPolicyOrBuilder> getOsPoliciesFieldBuilder() { if (osPoliciesBuilder_ == null) { - osPoliciesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy, - com.google.cloud.osconfig.v1.OSPolicy.Builder, - com.google.cloud.osconfig.v1.OSPolicyOrBuilder>( - osPolicies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + osPoliciesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy, com.google.cloud.osconfig.v1.OSPolicy.Builder, com.google.cloud.osconfig.v1.OSPolicyOrBuilder>( + osPolicies_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); osPolicies_ = null; } return osPoliciesBuilder_; @@ -7895,61 +6910,41 @@ public com.google.cloud.osconfig.v1.OSPolicy.Builder addOsPoliciesBuilder(int in private com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instanceFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter, - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder> - instanceFilterBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder> instanceFilterBuilder_; /** - * - * *
      * Required. Filter to select VMs.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceFilter field is set. */ public boolean hasInstanceFilter() { return instanceFilterBuilder_ != null || instanceFilter_ != null; } /** - * - * *
      * Required. Filter to select VMs.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceFilter. */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter getInstanceFilter() { if (instanceFilterBuilder_ == null) { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.getDefaultInstance() : instanceFilter_; } else { return instanceFilterBuilder_.getMessage(); } } /** - * - * *
      * Required. Filter to select VMs.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstanceFilter( - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter value) { + public Builder setInstanceFilter(com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter value) { if (instanceFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7963,15 +6958,11 @@ public Builder setInstanceFilter( return this; } /** - * - * *
      * Required. Filter to select VMs.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstanceFilter( com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder builderForValue) { @@ -7985,25 +6976,17 @@ public Builder setInstanceFilter( return this; } /** - * - * *
      * Required. Filter to select VMs.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeInstanceFilter( - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter value) { + public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter value) { if (instanceFilterBuilder_ == null) { if (instanceFilter_ != null) { instanceFilter_ = - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.newBuilder( - instanceFilter_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.newBuilder(instanceFilter_).mergeFrom(value).buildPartial(); } else { instanceFilter_ = value; } @@ -8015,15 +6998,11 @@ public Builder mergeInstanceFilter( return this; } /** - * - * *
      * Required. Filter to select VMs.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstanceFilter() { if (instanceFilterBuilder_ == null) { @@ -8037,66 +7016,48 @@ public Builder clearInstanceFilter() { return this; } /** - * - * *
      * Required. Filter to select VMs.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder - getInstanceFilterBuilder() { - + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder getInstanceFilterBuilder() { + onChanged(); return getInstanceFilterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Filter to select VMs.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder - getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder getInstanceFilterOrBuilder() { if (instanceFilterBuilder_ != null) { return instanceFilterBuilder_.getMessageOrBuilder(); } else { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.getDefaultInstance() : instanceFilter_; } } /** - * - * *
      * Required. Filter to select VMs.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter, - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder> getInstanceFilterFieldBuilder() { if (instanceFilterBuilder_ == null) { - instanceFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter, - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder>( - getInstanceFilter(), getParentForChildren(), isClean()); + instanceFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder>( + getInstanceFilter(), + getParentForChildren(), + isClean()); instanceFilter_ = null; } return instanceFilterBuilder_; @@ -8104,13 +7065,8 @@ public Builder clearInstanceFilter() { private com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout, - com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder> - rolloutBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout, com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder> rolloutBuilder_; /** - * - * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -8122,18 +7078,13 @@ public Builder clearInstanceFilter() {
      * 3) OSPolicyAssignment is deleted.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the rollout field is set. */ public boolean hasRollout() { return rolloutBuilder_ != null || rollout_ != null; } /** - * - * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -8145,24 +7096,17 @@ public boolean hasRollout() {
      * 3) OSPolicyAssignment is deleted.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The rollout. */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout getRollout() { if (rolloutBuilder_ == null) { - return rollout_ == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.getDefaultInstance() : rollout_; } else { return rolloutBuilder_.getMessage(); } } /** - * - * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -8174,9 +7118,7 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout getRollout() {
      * 3) OSPolicyAssignment is deleted.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRollout(com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout value) { if (rolloutBuilder_ == null) { @@ -8192,8 +7134,6 @@ public Builder setRollout(com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollou return this; } /** - * - * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -8205,9 +7145,7 @@ public Builder setRollout(com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollou
      * 3) OSPolicyAssignment is deleted.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRollout( com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder builderForValue) { @@ -8221,8 +7159,6 @@ public Builder setRollout( return this; } /** - * - * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -8234,17 +7170,13 @@ public Builder setRollout(
      * 3) OSPolicyAssignment is deleted.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRollout(com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout value) { if (rolloutBuilder_ == null) { if (rollout_ != null) { rollout_ = - com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.newBuilder(rollout_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.newBuilder(rollout_).mergeFrom(value).buildPartial(); } else { rollout_ = value; } @@ -8256,8 +7188,6 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1.OSPolicyAssignment.Roll return this; } /** - * - * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -8269,9 +7199,7 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1.OSPolicyAssignment.Roll
      * 3) OSPolicyAssignment is deleted.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRollout() { if (rolloutBuilder_ == null) { @@ -8285,8 +7213,6 @@ public Builder clearRollout() { return this; } /** - * - * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -8298,18 +7224,14 @@ public Builder clearRollout() {
      * 3) OSPolicyAssignment is deleted.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder getRolloutBuilder() { - + onChanged(); return getRolloutFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -8321,22 +7243,17 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder getRollou
      * 3) OSPolicyAssignment is deleted.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder getRolloutOrBuilder() { if (rolloutBuilder_ != null) { return rolloutBuilder_.getMessageOrBuilder(); } else { - return rollout_ == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? + com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.getDefaultInstance() : rollout_; } } /** - * - * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -8348,22 +7265,17 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder getRollo
      * 3) OSPolicyAssignment is deleted.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout, - com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout, com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder> getRolloutFieldBuilder() { if (rolloutBuilder_ == null) { - rolloutBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout, - com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder>( - getRollout(), getParentForChildren(), isClean()); + rolloutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout, com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder>( + getRollout(), + getParentForChildren(), + isClean()); rollout_ = null; } return rolloutBuilder_; @@ -8371,8 +7283,6 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder getRollo private java.lang.Object revisionId_ = ""; /** - * - * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -8380,13 +7290,13 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder getRollo
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The revisionId. */ public java.lang.String getRevisionId() { java.lang.Object ref = revisionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; @@ -8395,8 +7305,6 @@ public java.lang.String getRevisionId() { } } /** - * - * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -8404,14 +7312,15 @@ public java.lang.String getRevisionId() {
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for revisionId. */ - public com.google.protobuf.ByteString getRevisionIdBytes() { + public com.google.protobuf.ByteString + getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); revisionId_ = b; return b; } else { @@ -8419,8 +7328,6 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { } } /** - * - * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -8428,22 +7335,20 @@ public com.google.protobuf.ByteString getRevisionIdBytes() {
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionId(java.lang.String value) { + public Builder setRevisionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + revisionId_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -8451,18 +7356,15 @@ public Builder setRevisionId(java.lang.String value) {
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRevisionId() { - + revisionId_ = getDefaultInstance().getRevisionId(); onChanged(); return this; } /** - * - * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -8470,16 +7372,16 @@ public Builder clearRevisionId() {
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { + public Builder setRevisionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + revisionId_ = value; onChanged(); return this; @@ -8487,58 +7389,39 @@ public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp revisionCreateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - revisionCreateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> revisionCreateTimeBuilder_; /** - * - * *
      * Output only. The timestamp that the revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionCreateTime field is set. */ public boolean hasRevisionCreateTime() { return revisionCreateTimeBuilder_ != null || revisionCreateTime_ != null; } /** - * - * *
      * Output only. The timestamp that the revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionCreateTime. */ public com.google.protobuf.Timestamp getRevisionCreateTime() { if (revisionCreateTimeBuilder_ == null) { - return revisionCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionCreateTime_; + return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; } else { return revisionCreateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The timestamp that the revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { @@ -8554,17 +7437,14 @@ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp that the revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRevisionCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (revisionCreateTimeBuilder_ == null) { revisionCreateTime_ = builderForValue.build(); onChanged(); @@ -8575,23 +7455,17 @@ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder build return this; } /** - * - * *
      * Output only. The timestamp that the revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { if (revisionCreateTime_ != null) { revisionCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_).mergeFrom(value).buildPartial(); } else { revisionCreateTime_ = value; } @@ -8603,15 +7477,11 @@ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp that the revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearRevisionCreateTime() { if (revisionCreateTimeBuilder_ == null) { @@ -8625,64 +7495,48 @@ public Builder clearRevisionCreateTime() { return this; } /** - * - * *
      * Output only. The timestamp that the revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder() { - + onChanged(); return getRevisionCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The timestamp that the revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { if (revisionCreateTimeBuilder_ != null) { return revisionCreateTimeBuilder_.getMessageOrBuilder(); } else { - return revisionCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionCreateTime_; + return revisionCreateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; } } /** - * - * *
      * Output only. The timestamp that the revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRevisionCreateTimeFieldBuilder() { if (revisionCreateTimeBuilder_ == null) { - revisionCreateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRevisionCreateTime(), getParentForChildren(), isClean()); + revisionCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRevisionCreateTime(), + getParentForChildren(), + isClean()); revisionCreateTime_ = null; } return revisionCreateTimeBuilder_; @@ -8690,21 +7544,19 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** - * - * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -8713,22 +7565,21 @@ public java.lang.String getEtag() { } } /** - * - * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -8736,64 +7587,57 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; @@ -8801,112 +7645,80 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { private int rolloutState_ = 0; /** - * - * *
      * Output only. OS policy assignment rollout state
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for rolloutState. */ - @java.lang.Override - public int getRolloutStateValue() { + @java.lang.Override public int getRolloutStateValue() { return rolloutState_; } /** - * - * *
      * Output only. OS policy assignment rollout state
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for rolloutState to set. * @return This builder for chaining. */ public Builder setRolloutStateValue(int value) { - + rolloutState_ = value; onChanged(); return this; } /** - * - * *
      * Output only. OS policy assignment rollout state
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The rolloutState. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState getRolloutState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState result = - com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.valueOf(rolloutState_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState result = com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.valueOf(rolloutState_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.UNRECOGNIZED : result; } /** - * - * *
      * Output only. OS policy assignment rollout state
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The rolloutState to set. * @return This builder for chaining. */ - public Builder setRolloutState( - com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState value) { + public Builder setRolloutState(com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState value) { if (value == null) { throw new NullPointerException(); } - + rolloutState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. OS policy assignment rollout state
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearRolloutState() { - + rolloutState_ = 0; onChanged(); return this; } - private boolean baseline_; + private boolean baseline_ ; /** - * - * *
      * Output only. Indicates that this revision has been successfully rolled out
      * in this zone and new VMs will be assigned OS policies from this revision.
@@ -8915,7 +7727,6 @@ public Builder clearRolloutState() {
      * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The baseline. */ @java.lang.Override @@ -8923,8 +7734,6 @@ public boolean getBaseline() { return baseline_; } /** - * - * *
      * Output only. Indicates that this revision has been successfully rolled out
      * in this zone and new VMs will be assigned OS policies from this revision.
@@ -8933,19 +7742,16 @@ public boolean getBaseline() {
      * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The baseline to set. * @return This builder for chaining. */ public Builder setBaseline(boolean value) { - + baseline_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Indicates that this revision has been successfully rolled out
      * in this zone and new VMs will be assigned OS policies from this revision.
@@ -8954,26 +7760,22 @@ public Builder setBaseline(boolean value) {
      * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearBaseline() { - + baseline_ = false; onChanged(); return this; } - private boolean deleted_; + private boolean deleted_ ; /** - * - * *
      * Output only. Indicates that this revision deletes the OS policy assignment.
      * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The deleted. */ @java.lang.Override @@ -8981,45 +7783,37 @@ public boolean getDeleted() { return deleted_; } /** - * - * *
      * Output only. Indicates that this revision deletes the OS policy assignment.
      * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The deleted to set. * @return This builder for chaining. */ public Builder setDeleted(boolean value) { - + deleted_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Indicates that this revision deletes the OS policy assignment.
      * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDeleted() { - + deleted_ = false; onChanged(); return this; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. Indicates that reconciliation is in progress for the revision.
      * This value is `true` when the `rollout_state` is one of:
@@ -9028,7 +7822,6 @@ public Builder clearDeleted() {
      * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -9036,8 +7829,6 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. Indicates that reconciliation is in progress for the revision.
      * This value is `true` when the `rollout_state` is one of:
@@ -9046,19 +7837,16 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ public Builder setReconciling(boolean value) { - + reconciling_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Indicates that reconciliation is in progress for the revision.
      * This value is `true` when the `rollout_state` is one of:
@@ -9067,11 +7855,10 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { - + reconciling_ = false; onChanged(); return this; @@ -9079,21 +7866,19 @@ public Builder clearReconciling() { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. Server generated unique id for the OS policy assignment
      * resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -9102,22 +7887,21 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. Server generated unique id for the OS policy assignment
      * resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -9125,71 +7909,64 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. Server generated unique id for the OS policy assignment
      * resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { + public Builder setUid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Server generated unique id for the OS policy assignment
      * resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { - + uid_ = getDefaultInstance().getUid(); onChanged(); return this; } /** - * - * *
      * Output only. Server generated unique id for the OS policy assignment
      * resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { + public Builder setUidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9199,12 +7976,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignment) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignment) private static final com.google.cloud.osconfig.v1.OSPolicyAssignment DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignment(); } @@ -9213,16 +7990,16 @@ public static com.google.cloud.osconfig.v1.OSPolicyAssignment getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyAssignment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyAssignment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyAssignment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyAssignment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9237,4 +8014,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.OSPolicyAssignment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentName.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentName.java similarity index 100% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentName.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentName.java diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadata.java similarity index 67% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadata.java index 4a9a9a2e..4c8c6e3c 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadata.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * OS policy assignment operation metadata provided by OS policy assignment API
  * methods that return long running operations.
@@ -28,18 +11,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata}
  */
-public final class OSPolicyAssignmentOperationMetadata
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OSPolicyAssignmentOperationMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata)
     OSPolicyAssignmentOperationMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OSPolicyAssignmentOperationMetadata.newBuilder() to construct.
-  private OSPolicyAssignmentOperationMetadata(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private OSPolicyAssignmentOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OSPolicyAssignmentOperationMetadata() {
     osPolicyAssignment_ = "";
     apiMethod_ = 0;
@@ -48,15 +28,16 @@ private OSPolicyAssignmentOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OSPolicyAssignmentOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OSPolicyAssignmentOperationMetadata(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,64 +56,57 @@ private OSPolicyAssignmentOperationMetadata(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              osPolicyAssignment_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            osPolicyAssignment_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              apiMethod_ = rawValue;
-              break;
-            }
-          case 24:
-            {
-              int rawValue = input.readEnum();
+            apiMethod_ = rawValue;
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
 
-              rolloutState_ = rawValue;
-              break;
+            rolloutState_ = rawValue;
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (rolloutStartTime_ != null) {
+              subBuilder = rolloutStartTime_.toBuilder();
             }
-          case 34:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (rolloutStartTime_ != null) {
-                subBuilder = rolloutStartTime_.toBuilder();
-              }
-              rolloutStartTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rolloutStartTime_);
-                rolloutStartTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            rolloutStartTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(rolloutStartTime_);
+              rolloutStartTime_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (rolloutUpdateTime_ != null) {
-                subBuilder = rolloutUpdateTime_.toBuilder();
-              }
-              rolloutUpdateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rolloutUpdateTime_);
-                rolloutUpdateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (rolloutUpdateTime_ != null) {
+              subBuilder = rolloutUpdateTime_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            rolloutUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(rolloutUpdateTime_);
+              rolloutUpdateTime_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -140,41 +114,36 @@ private OSPolicyAssignmentOperationMetadata(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-        .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-        .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.class,
-            com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.Builder.class);
+            com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The OS policy assignment API method.
    * 
* * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod} */ - public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { + public enum APIMethod + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Invalid value
      * 
@@ -183,8 +152,6 @@ public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { */ API_METHOD_UNSPECIFIED(0), /** - * - * *
      * Create OS policy assignment API method
      * 
@@ -193,8 +160,6 @@ public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { */ CREATE(1), /** - * - * *
      * Update OS policy assignment API method
      * 
@@ -203,8 +168,6 @@ public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { */ UPDATE(2), /** - * - * *
      * Delete OS policy assignment API method
      * 
@@ -216,8 +179,6 @@ public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Invalid value
      * 
@@ -226,8 +187,6 @@ public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int API_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Create OS policy assignment API method
      * 
@@ -236,8 +195,6 @@ public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATE_VALUE = 1; /** - * - * *
      * Update OS policy assignment API method
      * 
@@ -246,8 +203,6 @@ public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATE_VALUE = 2; /** - * - * *
      * Delete OS policy assignment API method
      * 
@@ -256,6 +211,7 @@ public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -280,53 +236,50 @@ public static APIMethod valueOf(int value) { */ public static APIMethod forNumber(int value) { switch (value) { - case 0: - return API_METHOD_UNSPECIFIED; - case 1: - return CREATE; - case 2: - return UPDATE; - case 3: - return DELETE; - default: - return null; + case 0: return API_METHOD_UNSPECIFIED; + case 1: return CREATE; + case 2: return UPDATE; + case 3: return DELETE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + APIMethod> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public APIMethod findValueByNumber(int number) { + return APIMethod.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public APIMethod findValueByNumber(int number) { - return APIMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.getDescriptor().getEnumTypes().get(0); } private static final APIMethod[] VALUES = values(); - public static APIMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static APIMethod valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -344,18 +297,15 @@ private APIMethod(int value) { } /** - * - * *
    * State of the rollout
    * 
* * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState} */ - public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { + public enum RolloutState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Invalid value
      * 
@@ -364,8 +314,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ ROLLOUT_STATE_UNSPECIFIED(0), /** - * - * *
      * The rollout is in progress.
      * 
@@ -374,8 +322,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ IN_PROGRESS(1), /** - * - * *
      * The rollout is being cancelled.
      * 
@@ -384,8 +330,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLING(2), /** - * - * *
      * The rollout is cancelled.
      * 
@@ -394,8 +338,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLED(3), /** - * - * *
      * The rollout has completed successfully.
      * 
@@ -407,8 +349,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Invalid value
      * 
@@ -417,8 +357,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROLLOUT_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The rollout is in progress.
      * 
@@ -427,8 +365,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IN_PROGRESS_VALUE = 1; /** - * - * *
      * The rollout is being cancelled.
      * 
@@ -437,8 +373,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLING_VALUE = 2; /** - * - * *
      * The rollout is cancelled.
      * 
@@ -447,8 +381,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 3; /** - * - * *
      * The rollout has completed successfully.
      * 
@@ -457,6 +389,7 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -481,55 +414,51 @@ public static RolloutState valueOf(int value) { */ public static RolloutState forNumber(int value) { switch (value) { - case 0: - return ROLLOUT_STATE_UNSPECIFIED; - case 1: - return IN_PROGRESS; - case 2: - return CANCELLING; - case 3: - return CANCELLED; - case 4: - return SUCCEEDED; - default: - return null; + case 0: return ROLLOUT_STATE_UNSPECIFIED; + case 1: return IN_PROGRESS; + case 2: return CANCELLING; + case 3: return CANCELLED; + case 4: return SUCCEEDED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + RolloutState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RolloutState findValueByNumber(int number) { + return RolloutState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RolloutState findValueByNumber(int number) { - return RolloutState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.getDescriptor().getEnumTypes().get(1); } private static final RolloutState[] VALUES = values(); - public static RolloutState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RolloutState valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -549,8 +478,6 @@ private RolloutState(int value) { public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER = 1; private volatile java.lang.Object osPolicyAssignment_; /** - * - * *
    * Reference to the `OSPolicyAssignment` API resource.
    * Format:
@@ -558,7 +485,6 @@ private RolloutState(int value) {
    * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } - * * @return The osPolicyAssignment. */ @java.lang.Override @@ -567,15 +493,14 @@ public java.lang.String getOsPolicyAssignment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; } } /** - * - * *
    * Reference to the `OSPolicyAssignment` API resource.
    * Format:
@@ -583,15 +508,16 @@ public java.lang.String getOsPolicyAssignment() {
    * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for osPolicyAssignment. */ @java.lang.Override - public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString + getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -602,99 +528,65 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { public static final int API_METHOD_FIELD_NUMBER = 2; private int apiMethod_; /** - * - * *
    * The OS policy assignment API method.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; * @return The enum numeric value on the wire for apiMethod. */ - @java.lang.Override - public int getApiMethodValue() { + @java.lang.Override public int getApiMethodValue() { return apiMethod_; } /** - * - * *
    * The OS policy assignment API method.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; * @return The apiMethod. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod getApiMethod() { + @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod getApiMethod() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod result = - com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.valueOf( - apiMethod_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod result = com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.valueOf(apiMethod_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.UNRECOGNIZED : result; } public static final int ROLLOUT_STATE_FIELD_NUMBER = 3; private int rolloutState_; /** - * - * *
    * State of the rollout
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; * @return The enum numeric value on the wire for rolloutState. */ - @java.lang.Override - public int getRolloutStateValue() { + @java.lang.Override public int getRolloutStateValue() { return rolloutState_; } /** - * - * *
    * State of the rollout
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; * @return The rolloutState. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState - getRolloutState() { + @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState getRolloutState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState result = - com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState.valueOf( - rolloutState_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState result = com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState.valueOf(rolloutState_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState.UNRECOGNIZED : result; } public static final int ROLLOUT_START_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp rolloutStartTime_; /** - * - * *
    * Rollout start time
    * 
* * .google.protobuf.Timestamp rollout_start_time = 4; - * * @return Whether the rolloutStartTime field is set. */ @java.lang.Override @@ -702,25 +594,18 @@ public boolean hasRolloutStartTime() { return rolloutStartTime_ != null; } /** - * - * *
    * Rollout start time
    * 
* * .google.protobuf.Timestamp rollout_start_time = 4; - * * @return The rolloutStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRolloutStartTime() { - return rolloutStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : rolloutStartTime_; + return rolloutStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rolloutStartTime_; } /** - * - * *
    * Rollout start time
    * 
@@ -735,14 +620,11 @@ public com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder() { public static final int ROLLOUT_UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp rolloutUpdateTime_; /** - * - * *
    * Rollout update time
    * 
* * .google.protobuf.Timestamp rollout_update_time = 5; - * * @return Whether the rolloutUpdateTime field is set. */ @java.lang.Override @@ -750,25 +632,18 @@ public boolean hasRolloutUpdateTime() { return rolloutUpdateTime_ != null; } /** - * - * *
    * Rollout update time
    * 
* * .google.protobuf.Timestamp rollout_update_time = 5; - * * @return The rolloutUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRolloutUpdateTime() { - return rolloutUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : rolloutUpdateTime_; + return rolloutUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rolloutUpdateTime_; } /** - * - * *
    * Rollout update time
    * 
@@ -781,7 +656,6 @@ public com.google.protobuf.TimestampOrBuilder getRolloutUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -793,20 +667,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyAssignment_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osPolicyAssignment_); } - if (apiMethod_ - != com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod - .API_METHOD_UNSPECIFIED - .getNumber()) { + if (apiMethod_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.API_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(2, apiMethod_); } - if (rolloutState_ - != com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState - .ROLLOUT_STATE_UNSPECIFIED - .getNumber()) { + if (rolloutState_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState.ROLLOUT_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, rolloutState_); } if (rolloutStartTime_ != null) { @@ -827,23 +696,21 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyAssignment_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, osPolicyAssignment_); } - if (apiMethod_ - != com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod - .API_METHOD_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, apiMethod_); + if (apiMethod_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.API_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, apiMethod_); } - if (rolloutState_ - != com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState - .ROLLOUT_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, rolloutState_); + if (rolloutState_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState.ROLLOUT_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, rolloutState_); } if (rolloutStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRolloutStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getRolloutStartTime()); } if (rolloutUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRolloutUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getRolloutUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -853,24 +720,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata other = - (com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata) obj; + com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata other = (com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata) obj; - if (!getOsPolicyAssignment().equals(other.getOsPolicyAssignment())) return false; + if (!getOsPolicyAssignment() + .equals(other.getOsPolicyAssignment())) return false; if (apiMethod_ != other.apiMethod_) return false; if (rolloutState_ != other.rolloutState_) return false; if (hasRolloutStartTime() != other.hasRolloutStartTime()) return false; if (hasRolloutStartTime()) { - if (!getRolloutStartTime().equals(other.getRolloutStartTime())) return false; + if (!getRolloutStartTime() + .equals(other.getRolloutStartTime())) return false; } if (hasRolloutUpdateTime() != other.hasRolloutUpdateTime()) return false; if (hasRolloutUpdateTime()) { - if (!getRolloutUpdateTime().equals(other.getRolloutUpdateTime())) return false; + if (!getRolloutUpdateTime() + .equals(other.getRolloutUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -903,104 +772,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata 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.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * OS policy assignment operation metadata provided by OS policy assignment API
    * methods that return long running operations.
@@ -1008,23 +869,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata)
       com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.class,
-              com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.Builder.class);
+              com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.newBuilder()
@@ -1032,15 +891,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1066,14 +926,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata
-        getDefaultInstanceForType() {
+    public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata getDefaultInstanceForType() {
       return com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.getDefaultInstance();
     }
 
@@ -1088,8 +947,7 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata build()
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata buildPartial() {
-      com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata result =
-          new com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata(this);
+      com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata result = new com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata(this);
       result.osPolicyAssignment_ = osPolicyAssignment_;
       result.apiMethod_ = apiMethod_;
       result.rolloutState_ = rolloutState_;
@@ -1111,50 +969,46 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata buildPar
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.OSPolicyAssignmentOperationMetadata) {
-        return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata) other);
+        return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata other) {
-      if (other
-          == com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata other) {
+      if (other == com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.getDefaultInstance()) return this;
       if (!other.getOsPolicyAssignment().isEmpty()) {
         osPolicyAssignment_ = other.osPolicyAssignment_;
         onChanged();
@@ -1190,9 +1044,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1204,8 +1056,6 @@ public Builder mergeFrom(
 
     private java.lang.Object osPolicyAssignment_ = "";
     /**
-     *
-     *
      * 
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1213,13 +1063,13 @@ public Builder mergeFrom(
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } - * * @return The osPolicyAssignment. */ public java.lang.String getOsPolicyAssignment() { java.lang.Object ref = osPolicyAssignment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; @@ -1228,8 +1078,6 @@ public java.lang.String getOsPolicyAssignment() { } } /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1237,14 +1085,15 @@ public java.lang.String getOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for osPolicyAssignment. */ - public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString + getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -1252,8 +1101,6 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { } } /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1261,22 +1108,20 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() {
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } - * * @param value The osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignment(java.lang.String value) { + public Builder setOsPolicyAssignment( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyAssignment_ = value; onChanged(); return this; } /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1284,18 +1129,15 @@ public Builder setOsPolicyAssignment(java.lang.String value) {
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearOsPolicyAssignment() { - + osPolicyAssignment_ = getDefaultInstance().getOsPolicyAssignment(); onChanged(); return this; } /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1303,16 +1145,16 @@ public Builder clearOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignmentBytes(com.google.protobuf.ByteString value) { + public Builder setOsPolicyAssignmentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyAssignment_ = value; onChanged(); return this; @@ -1320,100 +1162,73 @@ public Builder setOsPolicyAssignmentBytes(com.google.protobuf.ByteString value) private int apiMethod_ = 0; /** - * - * *
      * The OS policy assignment API method.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; * @return The enum numeric value on the wire for apiMethod. */ - @java.lang.Override - public int getApiMethodValue() { + @java.lang.Override public int getApiMethodValue() { return apiMethod_; } /** - * - * *
      * The OS policy assignment API method.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; * @param value The enum numeric value on the wire for apiMethod to set. * @return This builder for chaining. */ public Builder setApiMethodValue(int value) { - + apiMethod_ = value; onChanged(); return this; } /** - * - * *
      * The OS policy assignment API method.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; * @return The apiMethod. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod - getApiMethod() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod getApiMethod() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod result = - com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.valueOf( - apiMethod_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod result = com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.valueOf(apiMethod_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.UNRECOGNIZED : result; } /** - * - * *
      * The OS policy assignment API method.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; * @param value The apiMethod to set. * @return This builder for chaining. */ - public Builder setApiMethod( - com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod value) { + public Builder setApiMethod(com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod value) { if (value == null) { throw new NullPointerException(); } - + apiMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The OS policy assignment API method.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; * @return This builder for chaining. */ public Builder clearApiMethod() { - + apiMethod_ = 0; onChanged(); return this; @@ -1421,106 +1236,73 @@ public Builder clearApiMethod() { private int rolloutState_ = 0; /** - * - * *
      * State of the rollout
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; * @return The enum numeric value on the wire for rolloutState. */ - @java.lang.Override - public int getRolloutStateValue() { + @java.lang.Override public int getRolloutStateValue() { return rolloutState_; } /** - * - * *
      * State of the rollout
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; * @param value The enum numeric value on the wire for rolloutState to set. * @return This builder for chaining. */ public Builder setRolloutStateValue(int value) { - + rolloutState_ = value; onChanged(); return this; } /** - * - * *
      * State of the rollout
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; * @return The rolloutState. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState - getRolloutState() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState getRolloutState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState result = - com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState.valueOf( - rolloutState_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState - .UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState result = com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState.valueOf(rolloutState_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState.UNRECOGNIZED : result; } /** - * - * *
      * State of the rollout
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; * @param value The rolloutState to set. * @return This builder for chaining. */ - public Builder setRolloutState( - com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState value) { + public Builder setRolloutState(com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState value) { if (value == null) { throw new NullPointerException(); } - + rolloutState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * State of the rollout
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; * @return This builder for chaining. */ public Builder clearRolloutState() { - + rolloutState_ = 0; onChanged(); return this; @@ -1528,47 +1310,34 @@ public Builder clearRolloutState() { private com.google.protobuf.Timestamp rolloutStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - rolloutStartTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> rolloutStartTimeBuilder_; /** - * - * *
      * Rollout start time
      * 
* * .google.protobuf.Timestamp rollout_start_time = 4; - * * @return Whether the rolloutStartTime field is set. */ public boolean hasRolloutStartTime() { return rolloutStartTimeBuilder_ != null || rolloutStartTime_ != null; } /** - * - * *
      * Rollout start time
      * 
* * .google.protobuf.Timestamp rollout_start_time = 4; - * * @return The rolloutStartTime. */ public com.google.protobuf.Timestamp getRolloutStartTime() { if (rolloutStartTimeBuilder_ == null) { - return rolloutStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : rolloutStartTime_; + return rolloutStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rolloutStartTime_; } else { return rolloutStartTimeBuilder_.getMessage(); } } /** - * - * *
      * Rollout start time
      * 
@@ -1589,15 +1358,14 @@ public Builder setRolloutStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Rollout start time
      * 
* * .google.protobuf.Timestamp rollout_start_time = 4; */ - public Builder setRolloutStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRolloutStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (rolloutStartTimeBuilder_ == null) { rolloutStartTime_ = builderForValue.build(); onChanged(); @@ -1608,8 +1376,6 @@ public Builder setRolloutStartTime(com.google.protobuf.Timestamp.Builder builder return this; } /** - * - * *
      * Rollout start time
      * 
@@ -1620,9 +1386,7 @@ public Builder mergeRolloutStartTime(com.google.protobuf.Timestamp value) { if (rolloutStartTimeBuilder_ == null) { if (rolloutStartTime_ != null) { rolloutStartTime_ = - com.google.protobuf.Timestamp.newBuilder(rolloutStartTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(rolloutStartTime_).mergeFrom(value).buildPartial(); } else { rolloutStartTime_ = value; } @@ -1634,8 +1398,6 @@ public Builder mergeRolloutStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Rollout start time
      * 
@@ -1654,8 +1416,6 @@ public Builder clearRolloutStartTime() { return this; } /** - * - * *
      * Rollout start time
      * 
@@ -1663,13 +1423,11 @@ public Builder clearRolloutStartTime() { * .google.protobuf.Timestamp rollout_start_time = 4; */ public com.google.protobuf.Timestamp.Builder getRolloutStartTimeBuilder() { - + onChanged(); return getRolloutStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Rollout start time
      * 
@@ -1680,14 +1438,11 @@ public com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder() { if (rolloutStartTimeBuilder_ != null) { return rolloutStartTimeBuilder_.getMessageOrBuilder(); } else { - return rolloutStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : rolloutStartTime_; + return rolloutStartTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : rolloutStartTime_; } } /** - * - * *
      * Rollout start time
      * 
@@ -1695,17 +1450,14 @@ public com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder() { * .google.protobuf.Timestamp rollout_start_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRolloutStartTimeFieldBuilder() { if (rolloutStartTimeBuilder_ == null) { - rolloutStartTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRolloutStartTime(), getParentForChildren(), isClean()); + rolloutStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRolloutStartTime(), + getParentForChildren(), + isClean()); rolloutStartTime_ = null; } return rolloutStartTimeBuilder_; @@ -1713,47 +1465,34 @@ public com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder() { private com.google.protobuf.Timestamp rolloutUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - rolloutUpdateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> rolloutUpdateTimeBuilder_; /** - * - * *
      * Rollout update time
      * 
* * .google.protobuf.Timestamp rollout_update_time = 5; - * * @return Whether the rolloutUpdateTime field is set. */ public boolean hasRolloutUpdateTime() { return rolloutUpdateTimeBuilder_ != null || rolloutUpdateTime_ != null; } /** - * - * *
      * Rollout update time
      * 
* * .google.protobuf.Timestamp rollout_update_time = 5; - * * @return The rolloutUpdateTime. */ public com.google.protobuf.Timestamp getRolloutUpdateTime() { if (rolloutUpdateTimeBuilder_ == null) { - return rolloutUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : rolloutUpdateTime_; + return rolloutUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rolloutUpdateTime_; } else { return rolloutUpdateTimeBuilder_.getMessage(); } } /** - * - * *
      * Rollout update time
      * 
@@ -1774,15 +1513,14 @@ public Builder setRolloutUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Rollout update time
      * 
* * .google.protobuf.Timestamp rollout_update_time = 5; */ - public Builder setRolloutUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRolloutUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (rolloutUpdateTimeBuilder_ == null) { rolloutUpdateTime_ = builderForValue.build(); onChanged(); @@ -1793,8 +1531,6 @@ public Builder setRolloutUpdateTime(com.google.protobuf.Timestamp.Builder builde return this; } /** - * - * *
      * Rollout update time
      * 
@@ -1805,9 +1541,7 @@ public Builder mergeRolloutUpdateTime(com.google.protobuf.Timestamp value) { if (rolloutUpdateTimeBuilder_ == null) { if (rolloutUpdateTime_ != null) { rolloutUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(rolloutUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(rolloutUpdateTime_).mergeFrom(value).buildPartial(); } else { rolloutUpdateTime_ = value; } @@ -1819,8 +1553,6 @@ public Builder mergeRolloutUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Rollout update time
      * 
@@ -1839,8 +1571,6 @@ public Builder clearRolloutUpdateTime() { return this; } /** - * - * *
      * Rollout update time
      * 
@@ -1848,13 +1578,11 @@ public Builder clearRolloutUpdateTime() { * .google.protobuf.Timestamp rollout_update_time = 5; */ public com.google.protobuf.Timestamp.Builder getRolloutUpdateTimeBuilder() { - + onChanged(); return getRolloutUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Rollout update time
      * 
@@ -1865,14 +1593,11 @@ public com.google.protobuf.TimestampOrBuilder getRolloutUpdateTimeOrBuilder() { if (rolloutUpdateTimeBuilder_ != null) { return rolloutUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return rolloutUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : rolloutUpdateTime_; + return rolloutUpdateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : rolloutUpdateTime_; } } /** - * - * *
      * Rollout update time
      * 
@@ -1880,24 +1605,21 @@ public com.google.protobuf.TimestampOrBuilder getRolloutUpdateTimeOrBuilder() { * .google.protobuf.Timestamp rollout_update_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRolloutUpdateTimeFieldBuilder() { if (rolloutUpdateTimeBuilder_ == null) { - rolloutUpdateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRolloutUpdateTime(), getParentForChildren(), isClean()); + rolloutUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRolloutUpdateTime(), + getParentForChildren(), + isClean()); rolloutUpdateTime_ = null; } return rolloutUpdateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1907,32 +1629,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata) - private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata(); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyAssignmentOperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyAssignmentOperationMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyAssignmentOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyAssignmentOperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1944,8 +1664,9 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadataOrBuilder.java similarity index 72% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadataOrBuilder.java index 7eaf1c6f..c4e95433 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadataOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; -public interface OSPolicyAssignmentOperationMetadataOrBuilder - extends +public interface OSPolicyAssignmentOperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Reference to the `OSPolicyAssignment` API resource.
    * Format:
@@ -33,13 +15,10 @@ public interface OSPolicyAssignmentOperationMetadataOrBuilder
    * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } - * * @return The osPolicyAssignment. */ java.lang.String getOsPolicyAssignment(); /** - * - * *
    * Reference to the `OSPolicyAssignment` API resource.
    * Format:
@@ -47,94 +26,68 @@ public interface OSPolicyAssignmentOperationMetadataOrBuilder
    * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for osPolicyAssignment. */ - com.google.protobuf.ByteString getOsPolicyAssignmentBytes(); + com.google.protobuf.ByteString + getOsPolicyAssignmentBytes(); /** - * - * *
    * The OS policy assignment API method.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; * @return The enum numeric value on the wire for apiMethod. */ int getApiMethodValue(); /** - * - * *
    * The OS policy assignment API method.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; * @return The apiMethod. */ com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod getApiMethod(); /** - * - * *
    * State of the rollout
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; * @return The enum numeric value on the wire for rolloutState. */ int getRolloutStateValue(); /** - * - * *
    * State of the rollout
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; * @return The rolloutState. */ com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState getRolloutState(); /** - * - * *
    * Rollout start time
    * 
* * .google.protobuf.Timestamp rollout_start_time = 4; - * * @return Whether the rolloutStartTime field is set. */ boolean hasRolloutStartTime(); /** - * - * *
    * Rollout start time
    * 
* * .google.protobuf.Timestamp rollout_start_time = 4; - * * @return The rolloutStartTime. */ com.google.protobuf.Timestamp getRolloutStartTime(); /** - * - * *
    * Rollout start time
    * 
@@ -144,32 +97,24 @@ public interface OSPolicyAssignmentOperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder(); /** - * - * *
    * Rollout update time
    * 
* * .google.protobuf.Timestamp rollout_update_time = 5; - * * @return Whether the rolloutUpdateTime field is set. */ boolean hasRolloutUpdateTime(); /** - * - * *
    * Rollout update time
    * 
* * .google.protobuf.Timestamp rollout_update_time = 5; - * * @return The rolloutUpdateTime. */ com.google.protobuf.Timestamp getRolloutUpdateTime(); /** - * - * *
    * Rollout update time
    * 
diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOrBuilder.java similarity index 67% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOrBuilder.java index 0e5f5851..8b4efdd9 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; -public interface OSPolicyAssignmentOrBuilder - extends +public interface OSPolicyAssignmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignment) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name.
    * Format:
@@ -34,13 +16,10 @@ public interface OSPolicyAssignmentOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource name.
    * Format:
@@ -49,145 +28,105 @@ public interface OSPolicyAssignmentOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * OS policy assignment description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * OS policy assignment description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getOsPoliciesList(); + java.util.List + getOsPoliciesList(); /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1.OSPolicy getOsPolicies(int index); /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ int getOsPoliciesCount(); /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getOsPoliciesOrBuilderList(); /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder(int index); + com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder( + int index); /** - * - * *
    * Required. Filter to select VMs.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceFilter field is set. */ boolean hasInstanceFilter(); /** - * - * *
    * Required. Filter to select VMs.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceFilter. */ com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter getInstanceFilter(); /** - * - * *
    * Required. Filter to select VMs.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder - getInstanceFilterOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder getInstanceFilterOrBuilder(); /** - * - * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -199,16 +138,11 @@ public interface OSPolicyAssignmentOrBuilder
    * 3) OSPolicyAssignment is deleted.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the rollout field is set. */ boolean hasRollout(); /** - * - * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -220,16 +154,11 @@ public interface OSPolicyAssignmentOrBuilder
    * 3) OSPolicyAssignment is deleted.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The rollout. */ com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout getRollout(); /** - * - * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -241,15 +170,11 @@ public interface OSPolicyAssignmentOrBuilder
    * 3) OSPolicyAssignment is deleted.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder getRolloutOrBuilder(); /** - * - * *
    * Output only. The assignment revision ID
    * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -257,13 +182,10 @@ public interface OSPolicyAssignmentOrBuilder
    * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The revisionId. */ java.lang.String getRevisionId(); /** - * - * *
    * Output only. The assignment revision ID
    * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -271,111 +193,80 @@ public interface OSPolicyAssignmentOrBuilder
    * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for revisionId. */ - com.google.protobuf.ByteString getRevisionIdBytes(); + com.google.protobuf.ByteString + getRevisionIdBytes(); /** - * - * *
    * Output only. The timestamp that the revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionCreateTime field is set. */ boolean hasRevisionCreateTime(); /** - * - * *
    * Output only. The timestamp that the revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionCreateTime. */ com.google.protobuf.Timestamp getRevisionCreateTime(); /** - * - * *
    * Output only. The timestamp that the revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder(); /** - * - * *
    * The etag for this OS policy assignment.
    * If this is provided on update, it must match the server's etag.
    * 
* * string etag = 8; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * The etag for this OS policy assignment.
    * If this is provided on update, it must match the server's etag.
    * 
* * string etag = 8; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Output only. OS policy assignment rollout state
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for rolloutState. */ int getRolloutStateValue(); /** - * - * *
    * Output only. OS policy assignment rollout state
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The rolloutState. */ com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState getRolloutState(); /** - * - * *
    * Output only. Indicates that this revision has been successfully rolled out
    * in this zone and new VMs will be assigned OS policies from this revision.
@@ -384,27 +275,21 @@ public interface OSPolicyAssignmentOrBuilder
    * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The baseline. */ boolean getBaseline(); /** - * - * *
    * Output only. Indicates that this revision deletes the OS policy assignment.
    * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The deleted. */ boolean getDeleted(); /** - * - * *
    * Output only. Indicates that reconciliation is in progress for the revision.
    * This value is `true` when the `rollout_state` is one of:
@@ -413,35 +298,29 @@ public interface OSPolicyAssignmentOrBuilder
    * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Output only. Server generated unique id for the OS policy assignment
    * resource.
    * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. Server generated unique id for the OS policy assignment
    * resource.
    * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); } diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReport.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReport.java similarity index 62% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReport.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReport.java index f4dfb1f0..46348244 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReport.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReport.java @@ -1,42 +1,24 @@ -/* - * 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/osconfig/v1/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * A report of the OS policy assignment status for a given instance.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport} */ -public final class OSPolicyAssignmentReport extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OSPolicyAssignmentReport extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport) OSPolicyAssignmentReportOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OSPolicyAssignmentReport.newBuilder() to construct. private OSPolicyAssignmentReport(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OSPolicyAssignmentReport() { name_ = ""; instance_ = ""; @@ -47,15 +29,16 @@ private OSPolicyAssignmentReport() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OSPolicyAssignmentReport(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OSPolicyAssignmentReport( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,71 +58,59 @@ private OSPolicyAssignmentReport( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - instance_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + instance_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyAssignment_ = s; - break; + osPolicyAssignment_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + osPolicyCompliances_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyCompliances_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance>(); - mutable_bitField0_ |= 0x00000001; - } - osPolicyCompliances_.add( - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .parser(), - extensionRegistry)); - break; + osPolicyCompliances_.add( + input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.parser(), extensionRegistry)); + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - lastRunId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + lastRunId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -147,7 +118,8 @@ private OSPolicyAssignmentReport( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { osPolicyCompliances_ = java.util.Collections.unmodifiableList(osPolicyCompliances_); @@ -156,85 +128,63 @@ private OSPolicyAssignmentReport( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.class, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder.class); } - public interface OSPolicyComplianceOrBuilder - extends + public interface OSPolicyComplianceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The OS policy id
      * 
* * string os_policy_id = 1; - * * @return The osPolicyId. */ java.lang.String getOsPolicyId(); /** - * - * *
      * The OS policy id
      * 
* * string os_policy_id = 1; - * * @return The bytes for osPolicyId. */ - com.google.protobuf.ByteString getOsPolicyIdBytes(); + com.google.protobuf.ByteString + getOsPolicyIdBytes(); /** - * - * *
      * The compliance state of the OS policy.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; * @return The enum numeric value on the wire for complianceState. */ int getComplianceStateValue(); /** - * - * *
      * The compliance state of the OS policy.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; * @return The complianceState. */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState - getComplianceState(); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState getComplianceState(); /** - * - * *
      * The reason for the OS policy to be in an unknown compliance state.
      * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -257,13 +207,10 @@ public interface OSPolicyComplianceOrBuilder
      * 
* * string compliance_state_reason = 3; - * * @return The complianceStateReason. */ java.lang.String getComplianceStateReason(); /** - * - * *
      * The reason for the OS policy to be in an unknown compliance state.
      * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -286,107 +233,76 @@ public interface OSPolicyComplianceOrBuilder
      * 
* * string compliance_state_reason = 3; - * * @return The bytes for complianceStateReason. */ - com.google.protobuf.ByteString getComplianceStateReasonBytes(); + com.google.protobuf.ByteString + getComplianceStateReasonBytes(); /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - java.util.List< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance> + java.util.List getOsPolicyResourceCompliancesList(); /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - getOsPolicyResourceCompliances(int index); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index); /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ int getOsPolicyResourceCompliancesCount(); /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder> + java.util.List getOsPolicyResourceCompliancesOrBuilderList(); /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder - getOsPolicyResourceCompliancesOrBuilder(int index); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder( + int index); } /** - * - * *
    * Compliance data for an OS policy
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance} */ - public static final class OSPolicyCompliance extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class OSPolicyCompliance extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) OSPolicyComplianceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSPolicyCompliance.newBuilder() to construct. private OSPolicyCompliance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OSPolicyCompliance() { osPolicyId_ = ""; complianceState_ = 0; @@ -396,15 +312,16 @@ private OSPolicyCompliance() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OSPolicyCompliance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OSPolicyCompliance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -424,50 +341,40 @@ private OSPolicyCompliance( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyId_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + osPolicyId_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - complianceState_ = rawValue; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + complianceState_ = rawValue; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - complianceStateReason_ = s; - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance>(); - mutable_bitField0_ |= 0x00000001; - } - osPolicyResourceCompliances_.add( - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.parser(), - extensionRegistry)); - break; + complianceStateReason_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + osPolicyResourceCompliances_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + osPolicyResourceCompliances_.add( + input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -475,47 +382,39 @@ private OSPolicyCompliance( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = - java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); + osPolicyResourceCompliances_ = java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.class, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder - .class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder.class); } /** - * - * *
      * Possible compliance states for an os policy.
      * 
* - * Protobuf enum {@code - * google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState} + * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState} */ - public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum { + public enum ComplianceState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * The policy is in an unknown compliance state.
        * Refer to the field `compliance_state_reason` to learn the exact reason
@@ -526,8 +425,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum {
        */
       UNKNOWN(0),
       /**
-       *
-       *
        * 
        * Policy is compliant.
        * The policy is compliant if all the underlying resources are also
@@ -538,8 +435,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum {
        */
       COMPLIANT(1),
       /**
-       *
-       *
        * 
        * Policy is non-compliant.
        * The policy is non-compliant if one or more underlying resources are
@@ -553,8 +448,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * The policy is in an unknown compliance state.
        * Refer to the field `compliance_state_reason` to learn the exact reason
@@ -565,8 +458,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int UNKNOWN_VALUE = 0;
       /**
-       *
-       *
        * 
        * Policy is compliant.
        * The policy is compliant if all the underlying resources are also
@@ -577,8 +468,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int COMPLIANT_VALUE = 1;
       /**
-       *
-       *
        * 
        * Policy is non-compliant.
        * The policy is non-compliant if one or more underlying resources are
@@ -589,6 +478,7 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int NON_COMPLIANT_VALUE = 2;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -613,14 +503,10 @@ public static ComplianceState valueOf(int value) {
        */
       public static ComplianceState forNumber(int value) {
         switch (value) {
-          case 0:
-            return UNKNOWN;
-          case 1:
-            return COMPLIANT;
-          case 2:
-            return NON_COMPLIANT;
-          default:
-            return null;
+          case 0: return UNKNOWN;
+          case 1: return COMPLIANT;
+          case 2: return NON_COMPLIANT;
+          default: return null;
         }
       }
 
@@ -628,32 +514,29 @@ public static ComplianceState forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          ComplianceState> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ComplianceState findValueByNumber(int number) {
+                return ComplianceState.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap
-          internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public ComplianceState findValueByNumber(int number) {
-                  return ComplianceState.forNumber(number);
-                }
-              };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance
-            .getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final ComplianceState[] VALUES = values();
@@ -661,7 +544,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
       public static ComplianceState valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -678,147 +562,99 @@ private ComplianceState(int value) {
       // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState)
     }
 
-    public interface OSPolicyResourceComplianceOrBuilder
-        extends
+    public interface OSPolicyResourceComplianceOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * The ID of the OS policy resource.
        * 
* * string os_policy_resource_id = 1; - * * @return The osPolicyResourceId. */ java.lang.String getOsPolicyResourceId(); /** - * - * *
        * The ID of the OS policy resource.
        * 
* * string os_policy_resource_id = 1; - * * @return The bytes for osPolicyResourceId. */ - com.google.protobuf.ByteString getOsPolicyResourceIdBytes(); + com.google.protobuf.ByteString + getOsPolicyResourceIdBytes(); /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - java.util.List< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> + java.util.List getConfigStepsList(); /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - getConfigSteps(int index); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getConfigSteps(int index); /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ int getConfigStepsCount(); /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> + java.util.List getConfigStepsOrBuilderList(); /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder - getConfigStepsOrBuilder(int index); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder( + int index); /** - * - * *
        * The compliance state of the resource.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; * @return The enum numeric value on the wire for complianceState. */ int getComplianceStateValue(); /** - * - * *
        * The compliance state of the resource.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; * @return The complianceState. */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState - getComplianceState(); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState getComplianceState(); /** - * - * *
        * A reason for the resource to be in the given compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -835,13 +671,10 @@ public interface OSPolicyResourceComplianceOrBuilder
        * 
* * string compliance_state_reason = 4; - * * @return The complianceStateReason. */ java.lang.String getComplianceStateReason(); /** - * - * *
        * A reason for the resource to be in the given compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -858,82 +691,56 @@ public interface OSPolicyResourceComplianceOrBuilder
        * 
* * string compliance_state_reason = 4; - * * @return The bytes for complianceStateReason. */ - com.google.protobuf.ByteString getComplianceStateReasonBytes(); + com.google.protobuf.ByteString + getComplianceStateReasonBytes(); /** - * - * *
        * ExecResource specific output.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; * @return Whether the execResourceOutput field is set. */ boolean hasExecResourceOutput(); /** - * - * *
        * ExecResource specific output.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; * @return The execResourceOutput. */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - getExecResourceOutput(); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput(); /** - * - * *
        * ExecResource specific output.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder - getExecResourceOutputOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder(); - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OutputCase - getOutputCase(); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OutputCase getOutputCase(); } /** - * - * *
      * Compliance data for an OS policy resource.
      * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance} + * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance} */ - public static final class OSPolicyResourceCompliance - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class OSPolicyResourceCompliance extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) OSPolicyResourceComplianceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSPolicyResourceCompliance.newBuilder() to construct. - private OSPolicyResourceCompliance( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private OSPolicyResourceCompliance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OSPolicyResourceCompliance() { osPolicyResourceId_ = ""; configSteps_ = java.util.Collections.emptyList(); @@ -943,15 +750,16 @@ private OSPolicyResourceCompliance() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OSPolicyResourceCompliance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OSPolicyResourceCompliance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -971,77 +779,54 @@ private OSPolicyResourceCompliance( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyResourceId_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - configSteps_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep>(); - mutable_bitField0_ |= 0x00000001; - } - configSteps_.add( - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.parser(), - extensionRegistry)); - break; + osPolicyResourceId_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + configSteps_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { - int rawValue = input.readEnum(); + configSteps_.add( + input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.parser(), extensionRegistry)); + break; + } + case 24: { + int rawValue = input.readEnum(); - complianceState_ = rawValue; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + complianceState_ = rawValue; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - complianceStateReason_ = s; - break; + complianceStateReason_ = s; + break; + } + case 42: { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder subBuilder = null; + if (outputCase_ == 5) { + subBuilder = ((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_).toBuilder(); } - case 42: - { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.Builder - subBuilder = null; - if (outputCase_ == 5) { - subBuilder = - ((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - output_) - .toBuilder(); - } - output_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - output_); - output_ = subBuilder.buildPartial(); - } - outputCase_ = 5; - break; + output_ = + input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_); + output_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + outputCase_ = 5; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1049,8 +834,8 @@ private OSPolicyResourceCompliance( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { configSteps_ = java.util.Collections.unmodifiableList(configSteps_); @@ -1059,38 +844,29 @@ private OSPolicyResourceCompliance( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.class, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder.class); } /** - * - * *
        * Possible compliance states for a resource.
        * 
* - * Protobuf enum {@code - * google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState} + * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState} */ - public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum { + public enum ComplianceState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * The resource is in an unknown compliance state.
          * To get more details about why the policy is in this state, review
@@ -1101,8 +877,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum {
          */
         UNKNOWN(0),
         /**
-         *
-         *
          * 
          * Resource is compliant.
          * 
@@ -1111,8 +885,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum { */ COMPLIANT(1), /** - * - * *
          * Resource is non-compliant.
          * 
@@ -1124,8 +896,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
          * The resource is in an unknown compliance state.
          * To get more details about why the policy is in this state, review
@@ -1136,8 +906,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum {
          */
         public static final int UNKNOWN_VALUE = 0;
         /**
-         *
-         *
          * 
          * Resource is compliant.
          * 
@@ -1146,8 +914,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPLIANT_VALUE = 1; /** - * - * *
          * Resource is non-compliant.
          * 
@@ -1156,6 +922,7 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NON_COMPLIANT_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1180,14 +947,10 @@ public static ComplianceState valueOf(int value) { */ public static ComplianceState forNumber(int value) { switch (value) { - case 0: - return UNKNOWN; - case 1: - return COMPLIANT; - case 2: - return NON_COMPLIANT; - default: - return null; + case 0: return UNKNOWN; + case 1: return COMPLIANT; + case 2: return NON_COMPLIANT; + default: return null; } } @@ -1195,32 +958,29 @@ public static ComplianceState forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ComplianceState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ComplianceState findValueByNumber(int number) { + return ComplianceState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ComplianceState findValueByNumber(int number) { - return ComplianceState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDescriptor().getEnumTypes().get(0); } private static final ComplianceState[] VALUES = values(); @@ -1229,7 +989,7 @@ public static ComplianceState valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -1246,92 +1006,68 @@ private ComplianceState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState) } - public interface OSPolicyResourceConfigStepOrBuilder - extends + public interface OSPolicyResourceConfigStepOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Configuration step type.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
          * Configuration step type.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; * @return The type. */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type - getType(); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type getType(); /** - * - * *
          * An error message recorded during the execution of this step.
          * Only populated if errors were encountered during this step execution.
          * 
* * string error_message = 2; - * * @return The errorMessage. */ java.lang.String getErrorMessage(); /** - * - * *
          * An error message recorded during the execution of this step.
          * Only populated if errors were encountered during this step execution.
          * 
* * string error_message = 2; - * * @return The bytes for errorMessage. */ - com.google.protobuf.ByteString getErrorMessageBytes(); + com.google.protobuf.ByteString + getErrorMessageBytes(); } /** - * - * *
        * Step performed by the OS Config agent for configuring an
        * `OSPolicy` resource to its desired state.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep} + * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep} */ - public static final class OSPolicyResourceConfigStep - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class OSPolicyResourceConfigStep extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) OSPolicyResourceConfigStepOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSPolicyResourceConfigStep.newBuilder() to construct. - private OSPolicyResourceConfigStep( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private OSPolicyResourceConfigStep(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OSPolicyResourceConfigStep() { type_ = 0; errorMessage_ = ""; @@ -1339,15 +1075,16 @@ private OSPolicyResourceConfigStep() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OSPolicyResourceConfigStep(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OSPolicyResourceConfigStep( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1366,27 +1103,25 @@ private OSPolicyResourceConfigStep( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + type_ = rawValue; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - errorMessage_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errorMessage_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1394,45 +1129,36 @@ private OSPolicyResourceConfigStep( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.class, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder.class); } /** - * - * *
          * Supported configuration step types
          * 
* - * Protobuf enum {@code - * google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type} + * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
            * Default value. This value is unused.
            * 
@@ -1441,8 +1167,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
            * Checks for resource conflicts such as schema errors.
            * 
@@ -1451,8 +1175,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ VALIDATION(1), /** - * - * *
            * Checks the current status of the desired state for a resource.
            * 
@@ -1461,8 +1183,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DESIRED_STATE_CHECK(2), /** - * - * *
            * Enforces the desired state for a resource that is not in desired
            * state.
@@ -1472,8 +1192,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
            */
           DESIRED_STATE_ENFORCEMENT(3),
           /**
-           *
-           *
            * 
            * Re-checks the status of the desired state. This check is done
            * for a resource after the enforcement of all OS policies.
@@ -1490,8 +1208,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
           ;
 
           /**
-           *
-           *
            * 
            * Default value. This value is unused.
            * 
@@ -1500,8 +1216,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
            * Checks for resource conflicts such as schema errors.
            * 
@@ -1510,8 +1224,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VALIDATION_VALUE = 1; /** - * - * *
            * Checks the current status of the desired state for a resource.
            * 
@@ -1520,8 +1232,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DESIRED_STATE_CHECK_VALUE = 2; /** - * - * *
            * Enforces the desired state for a resource that is not in desired
            * state.
@@ -1531,8 +1241,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
            */
           public static final int DESIRED_STATE_ENFORCEMENT_VALUE = 3;
           /**
-           *
-           *
            * 
            * Re-checks the status of the desired state. This check is done
            * for a resource after the enforcement of all OS policies.
@@ -1546,6 +1254,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
            */
           public static final int DESIRED_STATE_CHECK_POST_ENFORCEMENT_VALUE = 4;
 
+
           public final int getNumber() {
             if (this == UNRECOGNIZED) {
               throw new java.lang.IllegalArgumentException(
@@ -1570,57 +1279,51 @@ public static Type valueOf(int value) {
            */
           public static Type forNumber(int value) {
             switch (value) {
-              case 0:
-                return TYPE_UNSPECIFIED;
-              case 1:
-                return VALIDATION;
-              case 2:
-                return DESIRED_STATE_CHECK;
-              case 3:
-                return DESIRED_STATE_ENFORCEMENT;
-              case 4:
-                return DESIRED_STATE_CHECK_POST_ENFORCEMENT;
-              default:
-                return null;
+              case 0: return TYPE_UNSPECIFIED;
+              case 1: return VALIDATION;
+              case 2: return DESIRED_STATE_CHECK;
+              case 3: return DESIRED_STATE_ENFORCEMENT;
+              case 4: return DESIRED_STATE_CHECK_POST_ENFORCEMENT;
+              default: return null;
             }
           }
 
-          public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+          public static com.google.protobuf.Internal.EnumLiteMap
+              internalGetValueMap() {
             return internalValueMap;
           }
+          private static final com.google.protobuf.Internal.EnumLiteMap<
+              Type> internalValueMap =
+                new com.google.protobuf.Internal.EnumLiteMap() {
+                  public Type findValueByNumber(int number) {
+                    return Type.forNumber(number);
+                  }
+                };
 
-          private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public Type findValueByNumber(int number) {
-                  return Type.forNumber(number);
-                }
-              };
-
-          public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+          public final com.google.protobuf.Descriptors.EnumValueDescriptor
+              getValueDescriptor() {
             if (this == UNRECOGNIZED) {
               throw new java.lang.IllegalStateException(
                   "Can't get the descriptor of an unrecognized enum value.");
             }
             return getDescriptor().getValues().get(ordinal());
           }
-
-          public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+          public final com.google.protobuf.Descriptors.EnumDescriptor
+              getDescriptorForType() {
             return getDescriptor();
           }
-
-          public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-            return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance
-                .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDescriptor()
-                .getEnumTypes()
-                .get(0);
+          public static final com.google.protobuf.Descriptors.EnumDescriptor
+              getDescriptor() {
+            return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDescriptor().getEnumTypes().get(0);
           }
 
           private static final Type[] VALUES = values();
 
-          public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+          public static Type valueOf(
+              com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
             if (desc.getType() != getDescriptor()) {
               throw new java.lang.IllegalArgumentException(
-                  "EnumValueDescriptor is not for this type.");
+                "EnumValueDescriptor is not for this type.");
             }
             if (desc.getIndex() == -1) {
               return UNRECOGNIZED;
@@ -1640,63 +1343,39 @@ private Type(int value) {
         public static final int TYPE_FIELD_NUMBER = 1;
         private int type_;
         /**
-         *
-         *
          * 
          * Configuration step type.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
          * Configuration step type.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; * @return The type. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type - getType() { + @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type - result = - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.valueOf(type_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type result = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.valueOf(type_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.UNRECOGNIZED : result; } public static final int ERROR_MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object errorMessage_; /** - * - * *
          * An error message recorded during the execution of this step.
          * Only populated if errors were encountered during this step execution.
          * 
* * string error_message = 2; - * * @return The errorMessage. */ @java.lang.Override @@ -1705,30 +1384,30 @@ public java.lang.String getErrorMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } } /** - * - * *
          * An error message recorded during the execution of this step.
          * Only populated if errors were encountered during this step execution.
          * 
* * string error_message = 2; - * * @return The bytes for errorMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getErrorMessageBytes() { + public com.google.protobuf.ByteString + getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -1737,7 +1416,6 @@ public com.google.protobuf.ByteString getErrorMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1750,11 +1428,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ - != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED - .getNumber()) { + throws java.io.IOException { + if (type_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { @@ -1769,11 +1444,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMessage_); @@ -1786,23 +1459,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - other = - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep) - obj; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep other = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) obj; if (type_ != other.type_) return false; - if (!getErrorMessage().equals(other.getErrorMessage())) return false; + if (!getErrorMessage() + .equals(other.getErrorMessage())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1823,119 +1489,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1945,54 +1580,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Step performed by the OS Config agent for configuring an
          * `OSPolicy` resource to its desired state.
          * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep} + * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.class, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.newBuilder() + // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2004,26 +1630,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - build() { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - result = buildPartial(); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep build() { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2031,14 +1650,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - buildPartial() { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - result = - new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep(this); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep buildPartial() { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep result = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep(this); result.type_ = type_; result.errorMessage_ = errorMessage_; onBuilt(); @@ -2049,61 +1662,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep) { - return mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep) - other); + if (other instanceof com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) { + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - other) { - if (other - == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep other) { + if (other == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -2126,16 +1724,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parsedMessage = null; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2147,111 +1740,73 @@ public Builder mergeFrom( private int type_ = 0; /** - * - * *
            * Configuration step type.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
            * Configuration step type.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
            * Configuration step type.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; * @return The type. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type - getType() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type - result = - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.valueOf(type_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type result = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.valueOf(type_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.UNRECOGNIZED : result; } /** - * - * *
            * Configuration step type.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type - value) { + public Builder setType(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
            * Configuration step type.
            * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -2259,21 +1814,19 @@ public Builder clearType() { private java.lang.Object errorMessage_ = ""; /** - * - * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; - * * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; @@ -2282,22 +1835,21 @@ public java.lang.String getErrorMessage() { } } /** - * - * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; - * * @return The bytes for errorMessage. */ - public com.google.protobuf.ByteString getErrorMessageBytes() { + public com.google.protobuf.ByteString + getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -2305,69 +1857,61 @@ public com.google.protobuf.ByteString getErrorMessageBytes() { } } /** - * - * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; - * * @param value The errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessage(java.lang.String value) { + public Builder setErrorMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorMessage_ = value; onChanged(); return this; } /** - * - * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; - * * @return This builder for chaining. */ public Builder clearErrorMessage() { - + errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** - * - * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; - * * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { + public Builder setErrorMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorMessage_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2380,36 +1924,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) - private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentReport - .OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep(); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyResourceConfigStep parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyResourceConfigStep(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyResourceConfigStep parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyResourceConfigStep(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2421,67 +1959,59 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ExecResourceOutputOrBuilder - extends + public interface ExecResourceOutputOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Output from enforcement phase output file (if run).
          * Output size is limited to 100K bytes.
          * 
* * bytes enforcement_output = 2; - * * @return The enforcementOutput. */ com.google.protobuf.ByteString getEnforcementOutput(); } /** - * - * *
        * ExecResource specific output.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput} + * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput} */ - public static final class ExecResourceOutput extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ExecResourceOutput extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) ExecResourceOutputOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecResourceOutput.newBuilder() to construct. private ExecResourceOutput(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExecResourceOutput() { enforcementOutput_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExecResourceOutput(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExecResourceOutput( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2500,18 +2030,18 @@ private ExecResourceOutput( case 0: done = true; break; - case 18: - { - enforcementOutput_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 18: { + + enforcementOutput_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2519,43 +2049,35 @@ private ExecResourceOutput( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.class, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); } public static final int ENFORCEMENT_OUTPUT_FIELD_NUMBER = 2; private com.google.protobuf.ByteString enforcementOutput_; /** - * - * *
          * Output from enforcement phase output file (if run).
          * Output size is limited to 100K bytes.
          * 
* * bytes enforcement_output = 2; - * * @return The enforcementOutput. */ @java.lang.Override @@ -2564,7 +2086,6 @@ public com.google.protobuf.ByteString getEnforcementOutput() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2577,7 +2098,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!enforcementOutput_.isEmpty()) { output.writeBytes(2, enforcementOutput_); } @@ -2591,7 +2112,8 @@ public int getSerializedSize() { size = 0; if (!enforcementOutput_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, enforcementOutput_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, enforcementOutput_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2601,22 +2123,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - other = - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - obj; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput other = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) obj; - if (!getEnforcementOutput().equals(other.getEnforcementOutput())) return false; + if (!getEnforcementOutput() + .equals(other.getEnforcementOutput())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2635,119 +2150,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2757,53 +2241,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * ExecResource specific output.
          * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput} + * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.class, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.newBuilder() + // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2813,26 +2288,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - build() { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - result = buildPartial(); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput build() { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2840,14 +2308,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - buildPartial() { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - result = - new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput(this); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput buildPartial() { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput result = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput(this); result.enforcementOutput_ = enforcementOutput_; onBuilt(); return result; @@ -2857,61 +2319,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) { - return mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - other); + if (other instanceof com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) { + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - other) { - if (other - == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput other) { + if (other == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) return this; if (other.getEnforcementOutput() != com.google.protobuf.ByteString.EMPTY) { setEnforcementOutput(other.getEnforcementOutput()); } @@ -2930,16 +2377,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parsedMessage = null; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2949,18 +2391,14 @@ public Builder mergeFrom( return this; } - private com.google.protobuf.ByteString enforcementOutput_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString enforcementOutput_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
            * Output from enforcement phase output file (if run).
            * Output size is limited to 100K bytes.
            * 
* * bytes enforcement_output = 2; - * * @return The enforcementOutput. */ @java.lang.Override @@ -2968,46 +2406,39 @@ public com.google.protobuf.ByteString getEnforcementOutput() { return enforcementOutput_; } /** - * - * *
            * Output from enforcement phase output file (if run).
            * Output size is limited to 100K bytes.
            * 
* * bytes enforcement_output = 2; - * * @param value The enforcementOutput to set. * @return This builder for chaining. */ public Builder setEnforcementOutput(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + enforcementOutput_ = value; onChanged(); return this; } /** - * - * *
            * Output from enforcement phase output file (if run).
            * Output size is limited to 100K bytes.
            * 
* * bytes enforcement_output = 2; - * * @return This builder for chaining. */ public Builder clearEnforcementOutput() { - + enforcementOutput_ = getDefaultInstance().getEnforcementOutput(); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3020,36 +2451,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) - private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentReport - .OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput(); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecResourceOutput parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecResourceOutput(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecResourceOutput parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecResourceOutput(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3061,24 +2486,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int outputCase_ = 0; private java.lang.Object output_; - public enum OutputCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { EXEC_RESOURCE_OUTPUT(5), OUTPUT_NOT_SET(0); private final int value; - private OutputCase(int value) { this.value = value; } @@ -3094,35 +2515,30 @@ public static OutputCase valueOf(int value) { public static OutputCase forNumber(int value) { switch (value) { - case 5: - return EXEC_RESOURCE_OUTPUT; - case 0: - return OUTPUT_NOT_SET; - default: - return null; + case 5: return EXEC_RESOURCE_OUTPUT; + case 0: return OUTPUT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OutputCase getOutputCase() { - return OutputCase.forNumber(outputCase_); + public OutputCase + getOutputCase() { + return OutputCase.forNumber( + outputCase_); } public static final int OS_POLICY_RESOURCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object osPolicyResourceId_; /** - * - * *
        * The ID of the OS policy resource.
        * 
* * string os_policy_resource_id = 1; - * * @return The osPolicyResourceId. */ @java.lang.Override @@ -3131,29 +2547,29 @@ public java.lang.String getOsPolicyResourceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyResourceId_ = s; return s; } } /** - * - * *
        * The ID of the OS policy resource.
        * 
* * string os_policy_resource_id = 1; - * * @return The bytes for osPolicyResourceId. */ @java.lang.Override - public com.google.protobuf.ByteString getOsPolicyResourceIdBytes() { + public com.google.protobuf.ByteString + getOsPolicyResourceIdBytes() { java.lang.Object ref = osPolicyResourceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyResourceId_ = b; return b; } else { @@ -3162,155 +2578,100 @@ public com.google.protobuf.ByteString getOsPolicyResourceIdBytes() { } public static final int CONFIG_STEPS_FIELD_NUMBER = 2; - private java.util.List< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> - configSteps_; + private java.util.List configSteps_; /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ @java.lang.Override - public java.util.List< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> - getConfigStepsList() { + public java.util.List getConfigStepsList() { return configSteps_; } /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> + public java.util.List getConfigStepsOrBuilderList() { return configSteps_; } /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ @java.lang.Override public int getConfigStepsCount() { return configSteps_.size(); } /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - getConfigSteps(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getConfigSteps(int index) { return configSteps_.get(index); } /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder - getConfigStepsOrBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder( + int index) { return configSteps_.get(index); } public static final int COMPLIANCE_STATE_FIELD_NUMBER = 3; private int complianceState_; /** - * - * *
        * The compliance state of the resource.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; * @return The enum numeric value on the wire for complianceState. */ - @java.lang.Override - public int getComplianceStateValue() { + @java.lang.Override public int getComplianceStateValue() { return complianceState_; } /** - * - * *
        * The compliance state of the resource.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; * @return The complianceState. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState - getComplianceState() { + @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState getComplianceState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState - result = - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState.valueOf(complianceState_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState result = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.valueOf(complianceState_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.UNRECOGNIZED : result; } public static final int COMPLIANCE_STATE_REASON_FIELD_NUMBER = 4; private volatile java.lang.Object complianceStateReason_; /** - * - * *
        * A reason for the resource to be in the given compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -3327,7 +2688,6 @@ public int getComplianceStateValue() {
        * 
* * string compliance_state_reason = 4; - * * @return The complianceStateReason. */ @java.lang.Override @@ -3336,15 +2696,14 @@ public java.lang.String getComplianceStateReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); complianceStateReason_ = s; return s; } } /** - * - * *
        * A reason for the resource to be in the given compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -3361,15 +2720,16 @@ public java.lang.String getComplianceStateReason() {
        * 
* * string compliance_state_reason = 4; - * * @return The bytes for complianceStateReason. */ @java.lang.Override - public com.google.protobuf.ByteString getComplianceStateReasonBytes() { + public com.google.protobuf.ByteString + getComplianceStateReasonBytes() { java.lang.Object ref = complianceStateReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); complianceStateReason_ = b; return b; } else { @@ -3379,16 +2739,11 @@ public com.google.protobuf.ByteString getComplianceStateReasonBytes() { public static final int EXEC_RESOURCE_OUTPUT_FIELD_NUMBER = 5; /** - * - * *
        * ExecResource specific output.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; * @return Whether the execResourceOutput field is set. */ @java.lang.Override @@ -3396,56 +2751,36 @@ public boolean hasExecResourceOutput() { return outputCase_ == 5; } /** - * - * *
        * ExecResource specific output.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; * @return The execResourceOutput. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - getExecResourceOutput() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput() { if (outputCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - output_; + return (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_; } - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } /** - * - * *
        * ExecResource specific output.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder - getExecResourceOutputOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder() { if (outputCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - output_; + return (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_; } - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3457,28 +2792,22 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyResourceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osPolicyResourceId_); } for (int i = 0; i < configSteps_.size(); i++) { output.writeMessage(2, configSteps_.get(i)); } - if (complianceState_ - != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState.UNKNOWN - .getNumber()) { + if (complianceState_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.UNKNOWN.getNumber()) { output.writeEnum(3, complianceState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(complianceStateReason_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, complianceStateReason_); } if (outputCase_ == 5) { - output.writeMessage( - 5, - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - output_); + output.writeMessage(5, (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_); } unknownFields.writeTo(output); } @@ -3493,25 +2822,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, osPolicyResourceId_); } for (int i = 0; i < configSteps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, configSteps_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, configSteps_.get(i)); } - if (complianceState_ - != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState.UNKNOWN - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, complianceState_); + if (complianceState_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.UNKNOWN.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, complianceState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(complianceStateReason_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(4, complianceStateReason_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, complianceStateReason_); } if (outputCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - output_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3521,29 +2844,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - other = - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance) - obj; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance other = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) obj; - if (!getOsPolicyResourceId().equals(other.getOsPolicyResourceId())) return false; - if (!getConfigStepsList().equals(other.getConfigStepsList())) return false; + if (!getOsPolicyResourceId() + .equals(other.getOsPolicyResourceId())) return false; + if (!getConfigStepsList() + .equals(other.getConfigStepsList())) return false; if (complianceState_ != other.complianceState_) return false; - if (!getComplianceStateReason().equals(other.getComplianceStateReason())) return false; + if (!getComplianceStateReason() + .equals(other.getComplianceStateReason())) return false; if (!getOutputCase().equals(other.getOutputCase())) return false; switch (outputCase_) { case 5: - if (!getExecResourceOutput().equals(other.getExecResourceOutput())) return false; + if (!getExecResourceOutput() + .equals(other.getExecResourceOutput())) return false; break; case 0: default: @@ -3582,117 +2901,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3702,55 +2992,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Compliance data for an OS policy resource.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance} + * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.class, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.newBuilder() + // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getConfigStepsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3772,26 +3052,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - build() { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - result = buildPartial(); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance build() { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3799,14 +3072,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - buildPartial() { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - result = - new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance(this); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance buildPartial() { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance result = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance(this); int from_bitField0_ = bitField0_; result.osPolicyResourceId_ = osPolicyResourceId_; if (configStepsBuilder_ == null) { @@ -3836,60 +3103,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance) { - return mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance) - other); + if (other instanceof com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) { + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - other) { - if (other - == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance other) { + if (other == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDefaultInstance()) return this; if (!other.getOsPolicyResourceId().isEmpty()) { osPolicyResourceId_ = other.osPolicyResourceId_; onChanged(); @@ -3912,10 +3165,9 @@ public Builder mergeFrom( configStepsBuilder_ = null; configSteps_ = other.configSteps_; bitField0_ = (bitField0_ & ~0x00000001); - configStepsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getConfigStepsFieldBuilder() - : null; + configStepsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getConfigStepsFieldBuilder() : null; } else { configStepsBuilder_.addAllMessages(other.configSteps_); } @@ -3929,15 +3181,13 @@ public Builder mergeFrom( onChanged(); } switch (other.getOutputCase()) { - case EXEC_RESOURCE_OUTPUT: - { - mergeExecResourceOutput(other.getExecResourceOutput()); - break; - } - case OUTPUT_NOT_SET: - { - break; - } + case EXEC_RESOURCE_OUTPUT: { + mergeExecResourceOutput(other.getExecResourceOutput()); + break; + } + case OUTPUT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -3954,16 +3204,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parsedMessage = null; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3972,12 +3217,12 @@ public Builder mergeFrom( } return this; } - private int outputCase_ = 0; private java.lang.Object output_; - - public OutputCase getOutputCase() { - return OutputCase.forNumber(outputCase_); + public OutputCase + getOutputCase() { + return OutputCase.forNumber( + outputCase_); } public Builder clearOutput() { @@ -3991,20 +3236,18 @@ public Builder clearOutput() { private java.lang.Object osPolicyResourceId_ = ""; /** - * - * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; - * * @return The osPolicyResourceId. */ public java.lang.String getOsPolicyResourceId() { java.lang.Object ref = osPolicyResourceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyResourceId_ = s; return s; @@ -4013,21 +3256,20 @@ public java.lang.String getOsPolicyResourceId() { } } /** - * - * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; - * * @return The bytes for osPolicyResourceId. */ - public com.google.protobuf.ByteString getOsPolicyResourceIdBytes() { + public com.google.protobuf.ByteString + getOsPolicyResourceIdBytes() { java.lang.Object ref = osPolicyResourceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyResourceId_ = b; return b; } else { @@ -4035,106 +3277,80 @@ public com.google.protobuf.ByteString getOsPolicyResourceIdBytes() { } } /** - * - * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; - * * @param value The osPolicyResourceId to set. * @return This builder for chaining. */ - public Builder setOsPolicyResourceId(java.lang.String value) { + public Builder setOsPolicyResourceId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyResourceId_ = value; onChanged(); return this; } /** - * - * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; - * * @return This builder for chaining. */ public Builder clearOsPolicyResourceId() { - + osPolicyResourceId_ = getDefaultInstance().getOsPolicyResourceId(); onChanged(); return this; } /** - * - * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; - * * @param value The bytes for osPolicyResourceId to set. * @return This builder for chaining. */ - public Builder setOsPolicyResourceIdBytes(com.google.protobuf.ByteString value) { + public Builder setOsPolicyResourceIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyResourceId_ = value; onChanged(); return this; } - private java.util.List< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> - configSteps_ = java.util.Collections.emptyList(); - + private java.util.List configSteps_ = + java.util.Collections.emptyList(); private void ensureConfigStepsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - configSteps_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep>(configSteps_); + configSteps_ = new java.util.ArrayList(configSteps_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> - configStepsBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> configStepsBuilder_; /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - public java.util.List< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> - getConfigStepsList() { + public java.util.List getConfigStepsList() { if (configStepsBuilder_ == null) { return java.util.Collections.unmodifiableList(configSteps_); } else { @@ -4142,16 +3358,12 @@ private void ensureConfigStepsIsMutable() { } } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ public int getConfigStepsCount() { if (configStepsBuilder_ == null) { @@ -4161,20 +3373,14 @@ public int getConfigStepsCount() { } } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - getConfigSteps(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getConfigSteps(int index) { if (configStepsBuilder_ == null) { return configSteps_.get(index); } else { @@ -4182,22 +3388,15 @@ public int getConfigStepsCount() { } } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ public Builder setConfigSteps( - int index, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - value) { + int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep value) { if (configStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4211,22 +3410,15 @@ public Builder setConfigSteps( return this; } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ public Builder setConfigSteps( - int index, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder builderForValue) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); configSteps_.set(index, builderForValue.build()); @@ -4237,21 +3429,14 @@ public Builder setConfigSteps( return this; } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - public Builder addConfigSteps( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - value) { + public Builder addConfigSteps(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep value) { if (configStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4265,22 +3450,15 @@ public Builder addConfigSteps( return this; } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ public Builder addConfigSteps( - int index, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - value) { + int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep value) { if (configStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4294,21 +3472,15 @@ public Builder addConfigSteps( return this; } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ public Builder addConfigSteps( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder - builderForValue) { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder builderForValue) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); configSteps_.add(builderForValue.build()); @@ -4319,22 +3491,15 @@ public Builder addConfigSteps( return this; } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ public Builder addConfigSteps( - int index, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder builderForValue) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); configSteps_.add(index, builderForValue.build()); @@ -4345,26 +3510,19 @@ public Builder addConfigSteps( return this; } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ public Builder addAllConfigSteps( - java.lang.Iterable< - ? extends - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> - values) { + java.lang.Iterable values) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, configSteps_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, configSteps_); onChanged(); } else { configStepsBuilder_.addAllMessages(values); @@ -4372,16 +3530,12 @@ public Builder addAllConfigSteps( return this; } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ public Builder clearConfigSteps() { if (configStepsBuilder_ == null) { @@ -4394,16 +3548,12 @@ public Builder clearConfigSteps() { return this; } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ public Builder removeConfigSteps(int index) { if (configStepsBuilder_ == null) { @@ -4416,60 +3566,42 @@ public Builder removeConfigSteps(int index) { return this; } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder - getConfigStepsBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder getConfigStepsBuilder( + int index) { return getConfigStepsFieldBuilder().getBuilder(index); } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder - getConfigStepsOrBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder( + int index) { if (configStepsBuilder_ == null) { - return configSteps_.get(index); - } else { + return configSteps_.get(index); } else { return configStepsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> - getConfigStepsOrBuilderList() { + public java.util.List + getConfigStepsOrBuilderList() { if (configStepsBuilder_ != null) { return configStepsBuilder_.getMessageOrBuilderList(); } else { @@ -4477,82 +3609,48 @@ public Builder removeConfigSteps(int index) { } } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder - addConfigStepsBuilder() { - return getConfigStepsFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder addConfigStepsBuilder() { + return getConfigStepsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()); } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder - addConfigStepsBuilder(int index) { - return getConfigStepsFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder addConfigStepsBuilder( + int index) { + return getConfigStepsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()); } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - public java.util.List< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder> - getConfigStepsBuilderList() { + public java.util.List + getConfigStepsBuilderList() { return getConfigStepsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> getConfigStepsFieldBuilder() { if (configStepsBuilder_ == null) { - configStepsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder>( + configStepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder>( configSteps_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -4564,111 +3662,73 @@ public Builder removeConfigSteps(int index) { private int complianceState_ = 0; /** - * - * *
          * The compliance state of the resource.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; * @return The enum numeric value on the wire for complianceState. */ - @java.lang.Override - public int getComplianceStateValue() { + @java.lang.Override public int getComplianceStateValue() { return complianceState_; } /** - * - * *
          * The compliance state of the resource.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; * @param value The enum numeric value on the wire for complianceState to set. * @return This builder for chaining. */ public Builder setComplianceStateValue(int value) { - + complianceState_ = value; onChanged(); return this; } /** - * - * *
          * The compliance state of the resource.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; * @return The complianceState. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState - getComplianceState() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState getComplianceState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState - result = - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState.valueOf(complianceState_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState result = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.valueOf(complianceState_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.UNRECOGNIZED : result; } /** - * - * *
          * The compliance state of the resource.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; * @param value The complianceState to set. * @return This builder for chaining. */ - public Builder setComplianceState( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState - value) { + public Builder setComplianceState(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState value) { if (value == null) { throw new NullPointerException(); } - + complianceState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
          * The compliance state of the resource.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; * @return This builder for chaining. */ public Builder clearComplianceState() { - + complianceState_ = 0; onChanged(); return this; @@ -4676,8 +3736,6 @@ public Builder clearComplianceState() { private java.lang.Object complianceStateReason_ = ""; /** - * - * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4694,13 +3752,13 @@ public Builder clearComplianceState() {
          * 
* * string compliance_state_reason = 4; - * * @return The complianceStateReason. */ public java.lang.String getComplianceStateReason() { java.lang.Object ref = complianceStateReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); complianceStateReason_ = s; return s; @@ -4709,8 +3767,6 @@ public java.lang.String getComplianceStateReason() { } } /** - * - * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4727,14 +3783,15 @@ public java.lang.String getComplianceStateReason() {
          * 
* * string compliance_state_reason = 4; - * * @return The bytes for complianceStateReason. */ - public com.google.protobuf.ByteString getComplianceStateReasonBytes() { + public com.google.protobuf.ByteString + getComplianceStateReasonBytes() { java.lang.Object ref = complianceStateReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); complianceStateReason_ = b; return b; } else { @@ -4742,8 +3799,6 @@ public com.google.protobuf.ByteString getComplianceStateReasonBytes() { } } /** - * - * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4760,22 +3815,20 @@ public com.google.protobuf.ByteString getComplianceStateReasonBytes() {
          * 
* * string compliance_state_reason = 4; - * * @param value The complianceStateReason to set. * @return This builder for chaining. */ - public Builder setComplianceStateReason(java.lang.String value) { + public Builder setComplianceStateReason( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + complianceStateReason_ = value; onChanged(); return this; } /** - * - * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4792,18 +3845,15 @@ public Builder setComplianceStateReason(java.lang.String value) {
          * 
* * string compliance_state_reason = 4; - * * @return This builder for chaining. */ public Builder clearComplianceStateReason() { - + complianceStateReason_ = getDefaultInstance().getComplianceStateReason(); onChanged(); return this; } /** - * - * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4820,40 +3870,29 @@ public Builder clearComplianceStateReason() {
          * 
* * string compliance_state_reason = 4; - * * @param value The bytes for complianceStateReason to set. * @return This builder for chaining. */ - public Builder setComplianceStateReasonBytes(com.google.protobuf.ByteString value) { + public Builder setComplianceStateReasonBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + complianceStateReason_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> - execResourceOutputBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> execResourceOutputBuilder_; /** - * - * *
          * ExecResource specific output.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; * @return Whether the execResourceOutput field is set. */ @java.lang.Override @@ -4861,53 +3900,35 @@ public boolean hasExecResourceOutput() { return outputCase_ == 5; } /** - * - * *
          * ExecResource specific output.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; * @return The execResourceOutput. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - getExecResourceOutput() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput() { if (execResourceOutputBuilder_ == null) { if (outputCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - output_; + return (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_; } - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } else { if (outputCase_ == 5) { return execResourceOutputBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } } /** - * - * *
          * ExecResource specific output.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; */ - public Builder setExecResourceOutput( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - value) { + public Builder setExecResourceOutput(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput value) { if (execResourceOutputBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4921,20 +3942,14 @@ public Builder setExecResourceOutput( return this; } /** - * - * *
          * ExecResource specific output.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; */ public Builder setExecResourceOutput( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.Builder - builderForValue) { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder builderForValue) { if (execResourceOutputBuilder_ == null) { output_ = builderForValue.build(); onChanged(); @@ -4945,33 +3960,18 @@ public Builder setExecResourceOutput( return this; } /** - * - * *
          * ExecResource specific output.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; */ - public Builder mergeExecResourceOutput( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - value) { + public Builder mergeExecResourceOutput(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput value) { if (execResourceOutputBuilder_ == null) { - if (outputCase_ == 5 - && output_ - != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) { - output_ = - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.newBuilder( - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - output_) - .mergeFrom(value) - .buildPartial(); + if (outputCase_ == 5 && + output_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) { + output_ = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.newBuilder((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_) + .mergeFrom(value).buildPartial(); } else { output_ = value; } @@ -4987,15 +3987,11 @@ public Builder mergeExecResourceOutput( return this; } /** - * - * *
          * ExecResource specific output.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; */ public Builder clearExecResourceOutput() { if (execResourceOutputBuilder_ == null) { @@ -5014,94 +4010,58 @@ public Builder clearExecResourceOutput() { return this; } /** - * - * *
          * ExecResource specific output.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.Builder - getExecResourceOutputBuilder() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder getExecResourceOutputBuilder() { return getExecResourceOutputFieldBuilder().getBuilder(); } /** - * - * *
          * ExecResource specific output.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder - getExecResourceOutputOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder() { if ((outputCase_ == 5) && (execResourceOutputBuilder_ != null)) { return execResourceOutputBuilder_.getMessageOrBuilder(); } else { if (outputCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - output_; + return (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_; } - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } } /** - * - * *
          * ExecResource specific output.
          * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> getExecResourceOutputFieldBuilder() { if (execResourceOutputBuilder_ == null) { if (!(outputCase_ == 5)) { - output_ = - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + output_ = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } - execResourceOutputBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - output_, + execResourceOutputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_, getParentForChildren(), isClean()); output_ = null; } outputCase_ = 5; - onChanged(); - ; + onChanged();; return execResourceOutputBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5114,36 +4074,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) - private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance(); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyResourceCompliance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyResourceCompliance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyResourceCompliance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyResourceCompliance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5155,24 +4109,20 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int OS_POLICY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object osPolicyId_; /** - * - * *
      * The OS policy id
      * 
* * string os_policy_id = 1; - * * @return The osPolicyId. */ @java.lang.Override @@ -5181,29 +4131,29 @@ public java.lang.String getOsPolicyId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyId_ = s; return s; } } /** - * - * *
      * The OS policy id
      * 
* * string os_policy_id = 1; - * * @return The bytes for osPolicyId. */ @java.lang.Override - public com.google.protobuf.ByteString getOsPolicyIdBytes() { + public com.google.protobuf.ByteString + getOsPolicyIdBytes() { java.lang.Object ref = osPolicyId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyId_ = b; return b; } else { @@ -5214,54 +4164,33 @@ public com.google.protobuf.ByteString getOsPolicyIdBytes() { public static final int COMPLIANCE_STATE_FIELD_NUMBER = 2; private int complianceState_; /** - * - * *
      * The compliance state of the OS policy.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; * @return The enum numeric value on the wire for complianceState. */ - @java.lang.Override - public int getComplianceStateValue() { + @java.lang.Override public int getComplianceStateValue() { return complianceState_; } /** - * - * *
      * The compliance state of the OS policy.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; * @return The complianceState. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState - getComplianceState() { + @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState getComplianceState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState - result = - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .ComplianceState.valueOf(complianceState_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState - .UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState result = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.valueOf(complianceState_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.UNRECOGNIZED : result; } public static final int COMPLIANCE_STATE_REASON_FIELD_NUMBER = 3; private volatile java.lang.Object complianceStateReason_; /** - * - * *
      * The reason for the OS policy to be in an unknown compliance state.
      * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -5284,7 +4213,6 @@ public int getComplianceStateValue() {
      * 
* * string compliance_state_reason = 3; - * * @return The complianceStateReason. */ @java.lang.Override @@ -5293,15 +4221,14 @@ public java.lang.String getComplianceStateReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); complianceStateReason_ = s; return s; } } /** - * - * *
      * The reason for the OS policy to be in an unknown compliance state.
      * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -5324,15 +4251,16 @@ public java.lang.String getComplianceStateReason() {
      * 
* * string compliance_state_reason = 3; - * * @return The bytes for complianceStateReason. */ @java.lang.Override - public com.google.protobuf.ByteString getComplianceStateReasonBytes() { + public com.google.protobuf.ByteString + getComplianceStateReasonBytes() { java.lang.Object ref = complianceStateReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); complianceStateReason_ = b; return b; } else { @@ -5341,104 +4269,71 @@ public com.google.protobuf.ByteString getComplianceStateReasonBytes() { } public static final int OS_POLICY_RESOURCE_COMPLIANCES_FIELD_NUMBER = 4; - private java.util.List< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance> - osPolicyResourceCompliances_; + private java.util.List osPolicyResourceCompliances_; /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ @java.lang.Override - public java.util.List< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance> - getOsPolicyResourceCompliancesList() { + public java.util.List getOsPolicyResourceCompliancesList() { return osPolicyResourceCompliances_; } /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder> + public java.util.List getOsPolicyResourceCompliancesOrBuilderList() { return osPolicyResourceCompliances_; } /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ @java.lang.Override public int getOsPolicyResourceCompliancesCount() { return osPolicyResourceCompliances_.size(); } /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - getOsPolicyResourceCompliances(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index) { return osPolicyResourceCompliances_.get(index); } /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder - getOsPolicyResourceCompliancesOrBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder( + int index) { return osPolicyResourceCompliances_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5450,14 +4345,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osPolicyId_); } - if (complianceState_ - != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .ComplianceState.UNKNOWN - .getNumber()) { + if (complianceState_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.UNKNOWN.getNumber()) { output.writeEnum(2, complianceState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(complianceStateReason_)) { @@ -5478,19 +4371,16 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, osPolicyId_); } - if (complianceState_ - != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .ComplianceState.UNKNOWN - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, complianceState_); + if (complianceState_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.UNKNOWN.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, complianceState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(complianceStateReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, complianceStateReason_); } for (int i = 0; i < osPolicyResourceCompliances_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, osPolicyResourceCompliances_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, osPolicyResourceCompliances_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5500,20 +4390,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance other = - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) obj; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance other = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) obj; - if (!getOsPolicyId().equals(other.getOsPolicyId())) return false; + if (!getOsPolicyId() + .equals(other.getOsPolicyId())) return false; if (complianceState_ != other.complianceState_) return false; - if (!getComplianceStateReason().equals(other.getComplianceStateReason())) return false; - if (!getOsPolicyResourceCompliancesList().equals(other.getOsPolicyResourceCompliancesList())) - return false; + if (!getComplianceStateReason() + .equals(other.getComplianceStateReason())) return false; + if (!getOsPolicyResourceCompliancesList() + .equals(other.getOsPolicyResourceCompliancesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5540,101 +4430,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5644,52 +4521,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Compliance data for an OS policy
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.class, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder - .class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.newBuilder() + // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOsPolicyResourceCompliancesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -5709,22 +4579,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance build() { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance result = - buildPartial(); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5732,18 +4599,15 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - buildPartial() { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance result = - new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance(this); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance buildPartial() { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance result = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance(this); int from_bitField0_ = bitField0_; result.osPolicyId_ = osPolicyId_; result.complianceState_ = complianceState_; result.complianceStateReason_ = complianceStateReason_; if (osPolicyResourceCompliancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = - java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); + osPolicyResourceCompliances_ = java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); bitField0_ = (bitField0_ & ~0x00000001); } result.osPolicyResourceCompliances_ = osPolicyResourceCompliances_; @@ -5758,54 +4622,46 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) { - return mergeFrom( - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) other); + if (other instanceof com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) { + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance other) { - if (other - == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance other) { + if (other == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.getDefaultInstance()) return this; if (!other.getOsPolicyId().isEmpty()) { osPolicyId_ = other.osPolicyId_; onChanged(); @@ -5835,13 +4691,11 @@ public Builder mergeFrom( osPolicyResourceCompliancesBuilder_ = null; osPolicyResourceCompliances_ = other.osPolicyResourceCompliances_; bitField0_ = (bitField0_ & ~0x00000001); - osPolicyResourceCompliancesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOsPolicyResourceCompliancesFieldBuilder() - : null; + osPolicyResourceCompliancesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOsPolicyResourceCompliancesFieldBuilder() : null; } else { - osPolicyResourceCompliancesBuilder_.addAllMessages( - other.osPolicyResourceCompliances_); + osPolicyResourceCompliancesBuilder_.addAllMessages(other.osPolicyResourceCompliances_); } } } @@ -5860,14 +4714,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parsedMessage = - null; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5876,25 +4727,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object osPolicyId_ = ""; /** - * - * *
        * The OS policy id
        * 
* * string os_policy_id = 1; - * * @return The osPolicyId. */ public java.lang.String getOsPolicyId() { java.lang.Object ref = osPolicyId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyId_ = s; return s; @@ -5903,21 +4751,20 @@ public java.lang.String getOsPolicyId() { } } /** - * - * *
        * The OS policy id
        * 
* * string os_policy_id = 1; - * * @return The bytes for osPolicyId. */ - public com.google.protobuf.ByteString getOsPolicyIdBytes() { + public com.google.protobuf.ByteString + getOsPolicyIdBytes() { java.lang.Object ref = osPolicyId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyId_ = b; return b; } else { @@ -5925,61 +4772,54 @@ public com.google.protobuf.ByteString getOsPolicyIdBytes() { } } /** - * - * *
        * The OS policy id
        * 
* * string os_policy_id = 1; - * * @param value The osPolicyId to set. * @return This builder for chaining. */ - public Builder setOsPolicyId(java.lang.String value) { + public Builder setOsPolicyId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyId_ = value; onChanged(); return this; } /** - * - * *
        * The OS policy id
        * 
* * string os_policy_id = 1; - * * @return This builder for chaining. */ public Builder clearOsPolicyId() { - + osPolicyId_ = getDefaultInstance().getOsPolicyId(); onChanged(); return this; } /** - * - * *
        * The OS policy id
        * 
* * string os_policy_id = 1; - * * @param value The bytes for osPolicyId to set. * @return This builder for chaining. */ - public Builder setOsPolicyIdBytes(com.google.protobuf.ByteString value) { + public Builder setOsPolicyIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyId_ = value; onChanged(); return this; @@ -5987,109 +4827,73 @@ public Builder setOsPolicyIdBytes(com.google.protobuf.ByteString value) { private int complianceState_ = 0; /** - * - * *
        * The compliance state of the OS policy.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; * @return The enum numeric value on the wire for complianceState. */ - @java.lang.Override - public int getComplianceStateValue() { + @java.lang.Override public int getComplianceStateValue() { return complianceState_; } /** - * - * *
        * The compliance state of the OS policy.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; * @param value The enum numeric value on the wire for complianceState to set. * @return This builder for chaining. */ public Builder setComplianceStateValue(int value) { - + complianceState_ = value; onChanged(); return this; } /** - * - * *
        * The compliance state of the OS policy.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; * @return The complianceState. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .ComplianceState - getComplianceState() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState getComplianceState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState - result = - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .ComplianceState.valueOf(complianceState_); - return result == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .ComplianceState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState result = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.valueOf(complianceState_); + return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.UNRECOGNIZED : result; } /** - * - * *
        * The compliance state of the OS policy.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; * @param value The complianceState to set. * @return This builder for chaining. */ - public Builder setComplianceState( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState - value) { + public Builder setComplianceState(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState value) { if (value == null) { throw new NullPointerException(); } - + complianceState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The compliance state of the OS policy.
        * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; * @return This builder for chaining. */ public Builder clearComplianceState() { - + complianceState_ = 0; onChanged(); return this; @@ -6097,8 +4901,6 @@ public Builder clearComplianceState() { private java.lang.Object complianceStateReason_ = ""; /** - * - * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -6121,13 +4923,13 @@ public Builder clearComplianceState() {
        * 
* * string compliance_state_reason = 3; - * * @return The complianceStateReason. */ public java.lang.String getComplianceStateReason() { java.lang.Object ref = complianceStateReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); complianceStateReason_ = s; return s; @@ -6136,8 +4938,6 @@ public java.lang.String getComplianceStateReason() { } } /** - * - * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -6160,14 +4960,15 @@ public java.lang.String getComplianceStateReason() {
        * 
* * string compliance_state_reason = 3; - * * @return The bytes for complianceStateReason. */ - public com.google.protobuf.ByteString getComplianceStateReasonBytes() { + public com.google.protobuf.ByteString + getComplianceStateReasonBytes() { java.lang.Object ref = complianceStateReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); complianceStateReason_ = b; return b; } else { @@ -6175,8 +4976,6 @@ public com.google.protobuf.ByteString getComplianceStateReasonBytes() { } } /** - * - * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -6199,22 +4998,20 @@ public com.google.protobuf.ByteString getComplianceStateReasonBytes() {
        * 
* * string compliance_state_reason = 3; - * * @param value The complianceStateReason to set. * @return This builder for chaining. */ - public Builder setComplianceStateReason(java.lang.String value) { + public Builder setComplianceStateReason( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + complianceStateReason_ = value; onChanged(); return this; } /** - * - * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -6237,18 +5034,15 @@ public Builder setComplianceStateReason(java.lang.String value) {
        * 
* * string compliance_state_reason = 3; - * * @return This builder for chaining. */ public Builder clearComplianceStateReason() { - + complianceStateReason_ = getDefaultInstance().getComplianceStateReason(); onChanged(); return this; } /** - * - * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -6271,61 +5065,42 @@ public Builder clearComplianceStateReason() {
        * 
* * string compliance_state_reason = 3; - * * @param value The bytes for complianceStateReason to set. * @return This builder for chaining. */ - public Builder setComplianceStateReasonBytes(com.google.protobuf.ByteString value) { + public Builder setComplianceStateReasonBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + complianceStateReason_ = value; onChanged(); return this; } - private java.util.List< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance> - osPolicyResourceCompliances_ = java.util.Collections.emptyList(); - + private java.util.List osPolicyResourceCompliances_ = + java.util.Collections.emptyList(); private void ensureOsPolicyResourceCompliancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance>(osPolicyResourceCompliances_); + osPolicyResourceCompliances_ = new java.util.ArrayList(osPolicyResourceCompliances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder> - osPolicyResourceCompliancesBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder> osPolicyResourceCompliancesBuilder_; /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - public java.util.List< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance> - getOsPolicyResourceCompliancesList() { + public java.util.List getOsPolicyResourceCompliancesList() { if (osPolicyResourceCompliancesBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); } else { @@ -6333,16 +5108,12 @@ private void ensureOsPolicyResourceCompliancesIsMutable() { } } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ public int getOsPolicyResourceCompliancesCount() { if (osPolicyResourceCompliancesBuilder_ == null) { @@ -6352,20 +5123,14 @@ public int getOsPolicyResourceCompliancesCount() { } } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - getOsPolicyResourceCompliances(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index) { if (osPolicyResourceCompliancesBuilder_ == null) { return osPolicyResourceCompliances_.get(index); } else { @@ -6373,22 +5138,15 @@ public int getOsPolicyResourceCompliancesCount() { } } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ public Builder setOsPolicyResourceCompliances( - int index, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - value) { + int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance value) { if (osPolicyResourceCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6402,22 +5160,15 @@ public Builder setOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ public Builder setOsPolicyResourceCompliances( - int index, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder builderForValue) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); osPolicyResourceCompliances_.set(index, builderForValue.build()); @@ -6428,21 +5179,14 @@ public Builder setOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - public Builder addOsPolicyResourceCompliances( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - value) { + public Builder addOsPolicyResourceCompliances(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance value) { if (osPolicyResourceCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6456,22 +5200,15 @@ public Builder addOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ public Builder addOsPolicyResourceCompliances( - int index, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - value) { + int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance value) { if (osPolicyResourceCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6485,21 +5222,15 @@ public Builder addOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ public Builder addOsPolicyResourceCompliances( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder - builderForValue) { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder builderForValue) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); osPolicyResourceCompliances_.add(builderForValue.build()); @@ -6510,22 +5241,15 @@ public Builder addOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ public Builder addOsPolicyResourceCompliances( - int index, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder builderForValue) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); osPolicyResourceCompliances_.add(index, builderForValue.build()); @@ -6536,23 +5260,15 @@ public Builder addOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ public Builder addAllOsPolicyResourceCompliances( - java.lang.Iterable< - ? extends - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance> - values) { + java.lang.Iterable values) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -6564,16 +5280,12 @@ public Builder addAllOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ public Builder clearOsPolicyResourceCompliances() { if (osPolicyResourceCompliancesBuilder_ == null) { @@ -6586,16 +5298,12 @@ public Builder clearOsPolicyResourceCompliances() { return this; } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ public Builder removeOsPolicyResourceCompliances(int index) { if (osPolicyResourceCompliancesBuilder_ == null) { @@ -6608,60 +5316,42 @@ public Builder removeOsPolicyResourceCompliances(int index) { return this; } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder - getOsPolicyResourceCompliancesBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder getOsPolicyResourceCompliancesBuilder( + int index) { return getOsPolicyResourceCompliancesFieldBuilder().getBuilder(index); } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder - getOsPolicyResourceCompliancesOrBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder( + int index) { if (osPolicyResourceCompliancesBuilder_ == null) { - return osPolicyResourceCompliances_.get(index); - } else { + return osPolicyResourceCompliances_.get(index); } else { return osPolicyResourceCompliancesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder> - getOsPolicyResourceCompliancesOrBuilderList() { + public java.util.List + getOsPolicyResourceCompliancesOrBuilderList() { if (osPolicyResourceCompliancesBuilder_ != null) { return osPolicyResourceCompliancesBuilder_.getMessageOrBuilderList(); } else { @@ -6669,82 +5359,48 @@ public Builder removeOsPolicyResourceCompliances(int index) { } } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder - addOsPolicyResourceCompliancesBuilder() { - return getOsPolicyResourceCompliancesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder addOsPolicyResourceCompliancesBuilder() { + return getOsPolicyResourceCompliancesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDefaultInstance()); } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder - addOsPolicyResourceCompliancesBuilder(int index) { - return getOsPolicyResourceCompliancesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder addOsPolicyResourceCompliancesBuilder( + int index) { + return getOsPolicyResourceCompliancesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDefaultInstance()); } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - public java.util.List< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder> - getOsPolicyResourceCompliancesBuilderList() { + public java.util.List + getOsPolicyResourceCompliancesBuilderList() { return getOsPolicyResourceCompliancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder> getOsPolicyResourceCompliancesFieldBuilder() { if (osPolicyResourceCompliancesBuilder_ == null) { - osPolicyResourceCompliancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder>( + osPolicyResourceCompliancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder>( osPolicyResourceCompliances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -6753,7 +5409,6 @@ public Builder removeOsPolicyResourceCompliances(int index) { } return osPolicyResourceCompliancesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6766,33 +5421,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) - private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance(); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyCompliance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyCompliance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyCompliance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyCompliance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6804,17 +5456,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The `OSPolicyAssignmentReport` API resource name.
    * Format:
@@ -6822,7 +5472,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -6831,15 +5480,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The `OSPolicyAssignmentReport` API resource name.
    * Format:
@@ -6847,15 +5495,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -6866,14 +5515,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int INSTANCE_FIELD_NUMBER = 2; private volatile java.lang.Object instance_; /** - * - * *
    * The Compute Engine VM instance name.
    * 
* * string instance = 2; - * * @return The instance. */ @java.lang.Override @@ -6882,29 +5528,29 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** - * - * *
    * The Compute Engine VM instance name.
    * 
* * string instance = 2; - * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -6915,8 +5561,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER = 3; private volatile java.lang.Object osPolicyAssignment_; /** - * - * *
    * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
    * belongs to.
@@ -6925,7 +5569,6 @@ public com.google.protobuf.ByteString getInstanceBytes() {
    * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } - * * @return The osPolicyAssignment. */ @java.lang.Override @@ -6934,15 +5577,14 @@ public java.lang.String getOsPolicyAssignment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; } } /** - * - * *
    * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
    * belongs to.
@@ -6951,15 +5593,16 @@ public java.lang.String getOsPolicyAssignment() {
    * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for osPolicyAssignment. */ @java.lang.Override - public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString + getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -6968,101 +5611,73 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { } public static final int OS_POLICY_COMPLIANCES_FIELD_NUMBER = 4; - private java.util.List - osPolicyCompliances_; + private java.util.List osPolicyCompliances_; /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ @java.lang.Override - public java.util.List - getOsPolicyCompliancesList() { + public java.util.List getOsPolicyCompliancesList() { return osPolicyCompliances_; } /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> + public java.util.List getOsPolicyCompliancesOrBuilderList() { return osPolicyCompliances_; } /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ @java.lang.Override public int getOsPolicyCompliancesCount() { return osPolicyCompliances_.size(); } /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - getOsPolicyCompliances(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance getOsPolicyCompliances(int index) { return osPolicyCompliances_.get(index); } /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder - getOsPolicyCompliancesOrBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder( + int index) { return osPolicyCompliances_.get(index); } public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Timestamp for when the report was last generated.
    * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -7070,14 +5685,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Timestamp for when the report was last generated.
    * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return The updateTime. */ @java.lang.Override @@ -7085,8 +5697,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Timestamp for when the report was last generated.
    * 
@@ -7101,8 +5711,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int LAST_RUN_ID_FIELD_NUMBER = 6; private volatile java.lang.Object lastRunId_; /** - * - * *
    * Unique identifier of the last attempted run to apply the OS policies
    * associated with this assignment on the VM.
@@ -7113,7 +5721,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string last_run_id = 6; - * * @return The lastRunId. */ @java.lang.Override @@ -7122,15 +5729,14 @@ public java.lang.String getLastRunId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastRunId_ = s; return s; } } /** - * - * *
    * Unique identifier of the last attempted run to apply the OS policies
    * associated with this assignment on the VM.
@@ -7141,15 +5747,16 @@ public java.lang.String getLastRunId() {
    * 
* * string last_run_id = 6; - * * @return The bytes for lastRunId. */ @java.lang.Override - public com.google.protobuf.ByteString getLastRunIdBytes() { + public com.google.protobuf.ByteString + getLastRunIdBytes() { java.lang.Object ref = lastRunId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lastRunId_ = b; return b; } else { @@ -7158,7 +5765,6 @@ public com.google.protobuf.ByteString getLastRunIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7170,7 +5776,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -7208,11 +5815,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, osPolicyAssignment_); } for (int i = 0; i < osPolicyCompliances_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, osPolicyCompliances_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, osPolicyCompliances_.get(i)); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lastRunId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, lastRunId_); @@ -7225,23 +5833,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignmentReport)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport other = - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport) obj; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport other = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport) obj; - if (!getName().equals(other.getName())) return false; - if (!getInstance().equals(other.getInstance())) return false; - if (!getOsPolicyAssignment().equals(other.getOsPolicyAssignment())) return false; - if (!getOsPolicyCompliancesList().equals(other.getOsPolicyCompliancesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; + if (!getOsPolicyAssignment() + .equals(other.getOsPolicyAssignment())) return false; + if (!getOsPolicyCompliancesList() + .equals(other.getOsPolicyCompliancesList())) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getLastRunId().equals(other.getLastRunId())) return false; + if (!getLastRunId() + .equals(other.getLastRunId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7275,127 +5888,117 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport 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.osconfig.v1.OSPolicyAssignmentReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A report of the OS policy assignment status for a given instance.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport) com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.class, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder.class); } // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.newBuilder() @@ -7403,17 +6006,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOsPolicyCompliancesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -7441,9 +6044,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor; } @java.lang.Override @@ -7462,8 +6065,7 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport build() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport buildPartial() { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport result = - new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport(this); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport result = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.instance_ = instance_; @@ -7491,39 +6093,38 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicyAssignmentReport) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport) other); + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport)other); } else { super.mergeFrom(other); return this; @@ -7531,8 +6132,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport other) { - if (other == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -7563,10 +6163,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport o osPolicyCompliancesBuilder_ = null; osPolicyCompliances_ = other.osPolicyCompliances_; bitField0_ = (bitField0_ & ~0x00000001); - osPolicyCompliancesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOsPolicyCompliancesFieldBuilder() - : null; + osPolicyCompliancesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOsPolicyCompliancesFieldBuilder() : null; } else { osPolicyCompliancesBuilder_.addAllMessages(other.osPolicyCompliances_); } @@ -7598,8 +6197,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7608,13 +6206,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -7622,13 +6217,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -7637,8 +6232,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -7646,14 +6239,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -7661,8 +6255,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -7670,22 +6262,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -7693,18 +6283,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -7712,16 +6299,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -7729,20 +6316,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object instance_ = ""; /** - * - * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; - * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -7751,21 +6336,20 @@ public java.lang.String getInstance() { } } /** - * - * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; - * * @return The bytes for instance. */ - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -7773,61 +6357,54 @@ public com.google.protobuf.ByteString getInstanceBytes() { } } /** - * - * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; - * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance(java.lang.String value) { + public Builder setInstance( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** - * - * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; - * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** - * - * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; - * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -7835,8 +6412,6 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { private java.lang.Object osPolicyAssignment_ = ""; /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -7845,13 +6420,13 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) {
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } - * * @return The osPolicyAssignment. */ public java.lang.String getOsPolicyAssignment() { java.lang.Object ref = osPolicyAssignment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; @@ -7860,8 +6435,6 @@ public java.lang.String getOsPolicyAssignment() { } } /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -7870,14 +6443,15 @@ public java.lang.String getOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for osPolicyAssignment. */ - public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString + getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -7885,8 +6459,6 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { } } /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -7895,22 +6467,20 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() {
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } - * * @param value The osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignment(java.lang.String value) { + public Builder setOsPolicyAssignment( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyAssignment_ = value; onChanged(); return this; } /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -7919,18 +6489,15 @@ public Builder setOsPolicyAssignment(java.lang.String value) {
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearOsPolicyAssignment() { - + osPolicyAssignment_ = getDefaultInstance().getOsPolicyAssignment(); onChanged(); return this; } /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -7939,53 +6506,41 @@ public Builder clearOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignmentBytes(com.google.protobuf.ByteString value) { + public Builder setOsPolicyAssignmentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyAssignment_ = value; onChanged(); return this; } - private java.util.List - osPolicyCompliances_ = java.util.Collections.emptyList(); - + private java.util.List osPolicyCompliances_ = + java.util.Collections.emptyList(); private void ensureOsPolicyCompliancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyCompliances_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance>( - osPolicyCompliances_); + osPolicyCompliances_ = new java.util.ArrayList(osPolicyCompliances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> - osPolicyCompliancesBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> osPolicyCompliancesBuilder_; /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - public java.util.List - getOsPolicyCompliancesList() { + public java.util.List getOsPolicyCompliancesList() { if (osPolicyCompliancesBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyCompliances_); } else { @@ -7993,15 +6548,11 @@ private void ensureOsPolicyCompliancesIsMutable() { } } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ public int getOsPolicyCompliancesCount() { if (osPolicyCompliancesBuilder_ == null) { @@ -8011,18 +6562,13 @@ public int getOsPolicyCompliancesCount() { } } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - getOsPolicyCompliances(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance getOsPolicyCompliances(int index) { if (osPolicyCompliancesBuilder_ == null) { return osPolicyCompliances_.get(index); } else { @@ -8030,15 +6576,11 @@ public int getOsPolicyCompliancesCount() { } } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ public Builder setOsPolicyCompliances( int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance value) { @@ -8055,20 +6597,14 @@ public Builder setOsPolicyCompliances( return this; } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ public Builder setOsPolicyCompliances( - int index, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); osPolicyCompliances_.set(index, builderForValue.build()); @@ -8079,18 +6615,13 @@ public Builder setOsPolicyCompliances( return this; } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - public Builder addOsPolicyCompliances( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance value) { + public Builder addOsPolicyCompliances(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance value) { if (osPolicyCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8104,15 +6635,11 @@ public Builder addOsPolicyCompliances( return this; } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ public Builder addOsPolicyCompliances( int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance value) { @@ -8129,19 +6656,14 @@ public Builder addOsPolicyCompliances( return this; } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ public Builder addOsPolicyCompliances( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder - builderForValue) { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); osPolicyCompliances_.add(builderForValue.build()); @@ -8152,20 +6674,14 @@ public Builder addOsPolicyCompliances( return this; } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ public Builder addOsPolicyCompliances( - int index, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); osPolicyCompliances_.add(index, builderForValue.build()); @@ -8176,23 +6692,18 @@ public Builder addOsPolicyCompliances( return this; } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ public Builder addAllOsPolicyCompliances( - java.lang.Iterable< - ? extends com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance> - values) { + java.lang.Iterable values) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicyCompliances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, osPolicyCompliances_); onChanged(); } else { osPolicyCompliancesBuilder_.addAllMessages(values); @@ -8200,15 +6711,11 @@ public Builder addAllOsPolicyCompliances( return this; } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ public Builder clearOsPolicyCompliances() { if (osPolicyCompliancesBuilder_ == null) { @@ -8221,15 +6728,11 @@ public Builder clearOsPolicyCompliances() { return this; } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ public Builder removeOsPolicyCompliances(int index) { if (osPolicyCompliancesBuilder_ == null) { @@ -8242,54 +6745,39 @@ public Builder removeOsPolicyCompliances(int index) { return this; } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder - getOsPolicyCompliancesBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder getOsPolicyCompliancesBuilder( + int index) { return getOsPolicyCompliancesFieldBuilder().getBuilder(index); } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder - getOsPolicyCompliancesOrBuilder(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder( + int index) { if (osPolicyCompliancesBuilder_ == null) { - return osPolicyCompliances_.get(index); - } else { + return osPolicyCompliances_.get(index); } else { return osPolicyCompliancesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> - getOsPolicyCompliancesOrBuilderList() { + public java.util.List + getOsPolicyCompliancesOrBuilderList() { if (osPolicyCompliancesBuilder_ != null) { return osPolicyCompliancesBuilder_.getMessageOrBuilderList(); } else { @@ -8297,70 +6785,45 @@ public Builder removeOsPolicyCompliances(int index) { } } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder - addOsPolicyCompliancesBuilder() { - return getOsPolicyCompliancesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder addOsPolicyCompliancesBuilder() { + return getOsPolicyCompliancesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.getDefaultInstance()); } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder - addOsPolicyCompliancesBuilder(int index) { - return getOsPolicyCompliancesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance - .getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder addOsPolicyCompliancesBuilder( + int index) { + return getOsPolicyCompliancesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.getDefaultInstance()); } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - public java.util.List< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder> - getOsPolicyCompliancesBuilderList() { + public java.util.List + getOsPolicyCompliancesBuilderList() { return getOsPolicyCompliancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> getOsPolicyCompliancesFieldBuilder() { if (osPolicyCompliancesBuilder_ == null) { - osPolicyCompliancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder>( + osPolicyCompliancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder>( osPolicyCompliances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -8372,47 +6835,34 @@ public Builder removeOsPolicyCompliances(int index) { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Timestamp for when the report was last generated.
      * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Timestamp for when the report was last generated.
      * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Timestamp for when the report was last generated.
      * 
@@ -8433,15 +6883,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Timestamp for when the report was last generated.
      * 
* * .google.protobuf.Timestamp update_time = 5; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -8452,8 +6901,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Timestamp for when the report was last generated.
      * 
@@ -8464,7 +6911,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -8476,8 +6923,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Timestamp for when the report was last generated.
      * 
@@ -8496,8 +6941,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Timestamp for when the report was last generated.
      * 
@@ -8505,13 +6948,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 5; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Timestamp for when the report was last generated.
      * 
@@ -8522,14 +6963,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Timestamp for when the report was last generated.
      * 
@@ -8537,17 +6975,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -8555,8 +6990,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object lastRunId_ = ""; /** - * - * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -8567,13 +7000,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string last_run_id = 6; - * * @return The lastRunId. */ public java.lang.String getLastRunId() { java.lang.Object ref = lastRunId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastRunId_ = s; return s; @@ -8582,8 +7015,6 @@ public java.lang.String getLastRunId() { } } /** - * - * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -8594,14 +7025,15 @@ public java.lang.String getLastRunId() {
      * 
* * string last_run_id = 6; - * * @return The bytes for lastRunId. */ - public com.google.protobuf.ByteString getLastRunIdBytes() { + public com.google.protobuf.ByteString + getLastRunIdBytes() { java.lang.Object ref = lastRunId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lastRunId_ = b; return b; } else { @@ -8609,8 +7041,6 @@ public com.google.protobuf.ByteString getLastRunIdBytes() { } } /** - * - * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -8621,22 +7051,20 @@ public com.google.protobuf.ByteString getLastRunIdBytes() {
      * 
* * string last_run_id = 6; - * * @param value The lastRunId to set. * @return This builder for chaining. */ - public Builder setLastRunId(java.lang.String value) { + public Builder setLastRunId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + lastRunId_ = value; onChanged(); return this; } /** - * - * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -8647,18 +7075,15 @@ public Builder setLastRunId(java.lang.String value) {
      * 
* * string last_run_id = 6; - * * @return This builder for chaining. */ public Builder clearLastRunId() { - + lastRunId_ = getDefaultInstance().getLastRunId(); onChanged(); return this; } /** - * - * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -8669,23 +7094,23 @@ public Builder clearLastRunId() {
      * 
* * string last_run_id = 6; - * * @param value The bytes for lastRunId to set. * @return This builder for chaining. */ - public Builder setLastRunIdBytes(com.google.protobuf.ByteString value) { + public Builder setLastRunIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + lastRunId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8695,12 +7120,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport) private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentReport DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport(); } @@ -8709,16 +7134,16 @@ public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyAssignmentReport parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyAssignmentReport(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyAssignmentReport parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyAssignmentReport(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8733,4 +7158,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportName.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportName.java similarity index 100% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportName.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportName.java diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportOrBuilder.java similarity index 70% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportOrBuilder.java index 4eacb6bf..3177c0d1 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/osconfig/v1/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1; -public interface OSPolicyAssignmentReportOrBuilder - extends +public interface OSPolicyAssignmentReportOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignmentReport) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The `OSPolicyAssignmentReport` API resource name.
    * Format:
@@ -33,13 +15,10 @@ public interface OSPolicyAssignmentReportOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The `OSPolicyAssignmentReport` API resource name.
    * Format:
@@ -47,39 +26,32 @@ public interface OSPolicyAssignmentReportOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The Compute Engine VM instance name.
    * 
* * string instance = 2; - * * @return The instance. */ java.lang.String getInstance(); /** - * - * *
    * The Compute Engine VM instance name.
    * 
* * string instance = 2; - * * @return The bytes for instance. */ - com.google.protobuf.ByteString getInstanceBytes(); + com.google.protobuf.ByteString + getInstanceBytes(); /** - * - * *
    * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
    * belongs to.
@@ -88,13 +60,10 @@ public interface OSPolicyAssignmentReportOrBuilder
    * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } - * * @return The osPolicyAssignment. */ java.lang.String getOsPolicyAssignment(); /** - * - * *
    * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
    * belongs to.
@@ -103,105 +72,74 @@ public interface OSPolicyAssignmentReportOrBuilder
    * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for osPolicyAssignment. */ - com.google.protobuf.ByteString getOsPolicyAssignmentBytes(); + com.google.protobuf.ByteString + getOsPolicyAssignmentBytes(); /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - java.util.List + java.util.List getOsPolicyCompliancesList(); /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance getOsPolicyCompliances( - int index); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance getOsPolicyCompliances(int index); /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ int getOsPolicyCompliancesCount(); /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> + java.util.List getOsPolicyCompliancesOrBuilderList(); /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder - getOsPolicyCompliancesOrBuilder(int index); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder( + int index); /** - * - * *
    * Timestamp for when the report was last generated.
    * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Timestamp for when the report was last generated.
    * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Timestamp for when the report was last generated.
    * 
@@ -211,8 +149,6 @@ com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance getOsPo com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Unique identifier of the last attempted run to apply the OS policies
    * associated with this assignment on the VM.
@@ -223,13 +159,10 @@ com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance getOsPo
    * 
* * string last_run_id = 6; - * * @return The lastRunId. */ java.lang.String getLastRunId(); /** - * - * *
    * Unique identifier of the last attempted run to apply the OS policies
    * associated with this assignment on the VM.
@@ -240,8 +173,8 @@ com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance getOsPo
    * 
* * string last_run_id = 6; - * * @return The bytes for lastRunId. */ - com.google.protobuf.ByteString getLastRunIdBytes(); + com.google.protobuf.ByteString + getLastRunIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java new file mode 100644 index 00000000..211cebe4 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java @@ -0,0 +1,208 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/osconfig/v1/os_policy_assignment_reports.proto + +package com.google.cloud.osconfig.v1; + +public final class OSPolicyAssignmentReportsProto { + private OSPolicyAssignmentReportsProto() {} + 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_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n;google/cloud/osconfig/v1/os_policy_ass" + + "ignment_reports.proto\022\030google.cloud.osco" + + "nfig.v1\032\037google/api/field_behavior.proto" + + "\032\031google/api/resource.proto\032\037google/prot" + + "obuf/timestamp.proto\"l\n\"GetOSPolicyAssig" + + "nmentReportRequest\022F\n\004name\030\001 \001(\tB8\340A\002\372A2" + + "\n0osconfig.googleapis.com/OSPolicyAssign" + + "mentReport\"\251\001\n$ListOSPolicyAssignmentRep" + + "ortsRequest\022J\n\006parent\030\001 \001(\tB:\340A\002\372A4\n2osc" + + "onfig.googleapis.com/InstanceOSPolicyAss" + + "ignment\022\021\n\tpage_size\030\002 \001(\005\022\016\n\006filter\030\003 \001" + + "(\t\022\022\n\npage_token\030\004 \001(\t\"\232\001\n%ListOSPolicyA" + + "ssignmentReportsResponse\022X\n\034os_policy_as" + + "signment_reports\030\001 \003(\01322.google.cloud.os" + + "config.v1.OSPolicyAssignmentReport\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"\315\016\n\030OSPolicyAssignme" + + "ntReport\022\014\n\004name\030\001 \001(\t\022\020\n\010instance\030\002 \001(\t" + + "\022M\n\024os_policy_assignment\030\003 \001(\tB/\372A,\n*osc" + + "onfig.googleapis.com/OSPolicyAssignment\022" + + "d\n\025os_policy_compliances\030\004 \003(\0132E.google." + + "cloud.osconfig.v1.OSPolicyAssignmentRepo" + + "rt.OSPolicyCompliance\022/\n\013update_time\030\005 \001" + + "(\0132\032.google.protobuf.Timestamp\022\023\n\013last_r" + + "un_id\030\006 \001(\t\032\366\n\n\022OSPolicyCompliance\022\024\n\014os" + + "_policy_id\030\001 \001(\t\022o\n\020compliance_state\030\002 \001" + + "(\0162U.google.cloud.osconfig.v1.OSPolicyAs" + + "signmentReport.OSPolicyCompliance.Compli" + + "anceState\022\037\n\027compliance_state_reason\030\003 \001" + + "(\t\022\210\001\n\036os_policy_resource_compliances\030\004 " + + "\003(\0132`.google.cloud.osconfig.v1.OSPolicyA" + + "ssignmentReport.OSPolicyCompliance.OSPol" + + "icyResourceCompliance\032\352\007\n\032OSPolicyResour" + + "ceCompliance\022\035\n\025os_policy_resource_id\030\001 " + + "\001(\t\022\221\001\n\014config_steps\030\002 \003(\0132{.google.clou" + + "d.osconfig.v1.OSPolicyAssignmentReport.O" + + "SPolicyCompliance.OSPolicyResourceCompli" + + "ance.OSPolicyResourceConfigStep\022\212\001\n\020comp" + + "liance_state\030\003 \001(\0162p.google.cloud.osconf" + + "ig.v1.OSPolicyAssignmentReport.OSPolicyC" + + "ompliance.OSPolicyResourceCompliance.Com" + + "plianceState\022\037\n\027compliance_state_reason\030" + + "\004 \001(\t\022\223\001\n\024exec_resource_output\030\005 \001(\0132s.g" + + "oogle.cloud.osconfig.v1.OSPolicyAssignme" + + "ntReport.OSPolicyCompliance.OSPolicyReso" + + "urceCompliance.ExecResourceOutputH\000\032\326\002\n\032" + + "OSPolicyResourceConfigStep\022\217\001\n\004type\030\001 \001(" + + "\0162\200\001.google.cloud.osconfig.v1.OSPolicyAs" + + "signmentReport.OSPolicyCompliance.OSPoli" + + "cyResourceCompliance.OSPolicyResourceCon" + + "figStep.Type\022\025\n\rerror_message\030\002 \001(\t\"\216\001\n\004" + + "Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\016\n\nVALIDATION" + + "\020\001\022\027\n\023DESIRED_STATE_CHECK\020\002\022\035\n\031DESIRED_S" + + "TATE_ENFORCEMENT\020\003\022(\n$DESIRED_STATE_CHEC" + + "K_POST_ENFORCEMENT\020\004\0320\n\022ExecResourceOutp" + + "ut\022\032\n\022enforcement_output\030\002 \001(\014\"@\n\017Compli" + + "anceState\022\013\n\007UNKNOWN\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n" + + "\rNON_COMPLIANT\020\002B\010\n\006output\"@\n\017Compliance" + + "State\022\013\n\007UNKNOWN\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n\rNON" + + "_COMPLIANT\020\002:\234\001\352A\230\001\n0osconfig.googleapis" + + ".com/OSPolicyAssignmentReport\022dprojects/" + + "{project}/locations/{location}/instances" + + "/{instance}/osPolicyAssignments/{assignm" + + "ent}/reportB\355\002\n\034com.google.cloud.osconfi" + + "g.v1B\036OSPolicyAssignmentReportsProtoP\001Z@" + + "google.golang.org/genproto/googleapis/cl" + + "oud/osconfig/v1;osconfig\252\002\030Google.Cloud." + + "OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002" + + "\033Google::Cloud::OsConfig::V1\352A\223\001\n2osconf" + + "ig.googleapis.com/InstanceOSPolicyAssign" + + "ment\022]projects/{project}/locations/{loca" + + "tion}/instances/{instance}/osPolicyAssig" + + "nments/{assignment}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "Filter", "PageToken", }); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor, + new java.lang.String[] { "OsPolicyAssignmentReports", "NextPageToken", }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor, + new java.lang.String[] { "Name", "Instance", "OsPolicyAssignment", "OsPolicyCompliances", "UpdateTime", "LastRunId", }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor, + new java.lang.String[] { "OsPolicyId", "ComplianceState", "ComplianceStateReason", "OsPolicyResourceCompliances", }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor, + new java.lang.String[] { "OsPolicyResourceId", "ConfigSteps", "ComplianceState", "ComplianceStateReason", "ExecResourceOutput", "Output", }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor, + new java.lang.String[] { "Type", "ErrorMessage", }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor, + new java.lang.String[] { "EnforcementOutput", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyOrBuilder.java similarity index 72% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyOrBuilder.java index 293a305d..379a3e54 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/osconfig/v1/os_policy.proto package com.google.cloud.osconfig.v1; -public interface OSPolicyOrBuilder - extends +public interface OSPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The id of the OS policy with the following restrictions:
    * * Must contain only lowercase letters, numbers, and hyphens.
@@ -36,13 +18,10 @@ public interface OSPolicyOrBuilder
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * Required. The id of the OS policy with the following restrictions:
    * * Must contain only lowercase letters, numbers, and hyphens.
@@ -53,70 +32,53 @@ public interface OSPolicyOrBuilder
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
    * Policy description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Policy description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Required. Policy mode
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** - * - * *
    * Required. Policy mode
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The mode. */ com.google.cloud.osconfig.v1.OSPolicy.Mode getMode(); /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -127,14 +89,11 @@ public interface OSPolicyOrBuilder
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getResourceGroupsList(); + java.util.List + getResourceGroupsList(); /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -145,14 +104,10 @@ public interface OSPolicyOrBuilder
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup getResourceGroups(int index); /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -163,14 +118,10 @@ public interface OSPolicyOrBuilder
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ int getResourceGroupsCount(); /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -181,15 +132,11 @@ public interface OSPolicyOrBuilder
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getResourceGroupsOrBuilderList(); /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -200,16 +147,12 @@ public interface OSPolicyOrBuilder
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder getResourceGroupsOrBuilder( int index); /** - * - * *
    * This flag determines the OS policy compliance status when none of the
    * resource groups within the policy are applicable for a VM. Set this value
@@ -218,7 +161,6 @@ com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder getResourceGroupsOr
    * 
* * bool allow_no_resource_group_match = 5; - * * @return The allowNoResourceGroupMatch. */ boolean getAllowNoResourceGroupMatch(); diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java new file mode 100644 index 00000000..144de840 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java @@ -0,0 +1,130 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/osconfig/v1/osconfig_service.proto + +package com.google.cloud.osconfig.v1; + +public final class OsConfigProto { + private OsConfigProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n/google/cloud/osconfig/v1/osconfig_serv" + + "ice.proto\022\030google.cloud.osconfig.v1\032\027goo" + + "gle/api/client.proto\032\031google/api/resourc" + + "e.proto\0320google/cloud/osconfig/v1/patch_" + + "deployments.proto\032)google/cloud/osconfig" + + "/v1/patch_jobs.proto\032\033google/protobuf/em" + + "pty.proto\032\034google/api/annotations.proto2" + + "\254\022\n\017OsConfigService\022\235\001\n\017ExecutePatchJob\022" + + "0.google.cloud.osconfig.v1.ExecutePatchJ" + + "obRequest\032\".google.cloud.osconfig.v1.Pat" + + "chJob\"4\202\323\344\223\002.\")/v1/{parent=projects/*}/p" + + "atchJobs:execute:\001*\022\221\001\n\013GetPatchJob\022,.go" + + "ogle.cloud.osconfig.v1.GetPatchJobReques" + + "t\032\".google.cloud.osconfig.v1.PatchJob\"0\202" + + "\323\344\223\002#\022!/v1/{name=projects/*/patchJobs/*}" + + "\332A\004name\022\232\001\n\016CancelPatchJob\022/.google.clou" + + "d.osconfig.v1.CancelPatchJobRequest\032\".go" + + "ogle.cloud.osconfig.v1.PatchJob\"3\202\323\344\223\002-\"" + + "(/v1/{name=projects/*/patchJobs/*}:cance" + + "l:\001*\022\244\001\n\rListPatchJobs\022..google.cloud.os" + + "config.v1.ListPatchJobsRequest\032/.google." + + "cloud.osconfig.v1.ListPatchJobsResponse\"" + + "2\202\323\344\223\002#\022!/v1/{parent=projects/*}/patchJo" + + "bs\332A\006parent\022\340\001\n\033ListPatchJobInstanceDeta" + + "ils\022<.google.cloud.osconfig.v1.ListPatch" + + "JobInstanceDetailsRequest\032=.google.cloud" + + ".osconfig.v1.ListPatchJobInstanceDetails" + + "Response\"D\202\323\344\223\0025\0223/v1/{parent=projects/*" + + "/patchJobs/*}/instanceDetails\332A\006parent\022\354" + + "\001\n\025CreatePatchDeployment\0226.google.cloud." + + "osconfig.v1.CreatePatchDeploymentRequest" + + "\032).google.cloud.osconfig.v1.PatchDeploym" + + "ent\"p\202\323\344\223\002<\"(/v1/{parent=projects/*}/pat" + + "chDeployments:\020patch_deployment\332A+parent" + + ",patch_deployment,patch_deployment_id\022\255\001" + + "\n\022GetPatchDeployment\0223.google.cloud.osco" + + "nfig.v1.GetPatchDeploymentRequest\032).goog" + + "le.cloud.osconfig.v1.PatchDeployment\"7\202\323" + + "\344\223\002*\022(/v1/{name=projects/*/patchDeployme" + + "nts/*}\332A\004name\022\300\001\n\024ListPatchDeployments\0225" + + ".google.cloud.osconfig.v1.ListPatchDeplo" + + "ymentsRequest\0326.google.cloud.osconfig.v1" + + ".ListPatchDeploymentsResponse\"9\202\323\344\223\002*\022(/" + + "v1/{parent=projects/*}/patchDeployments\332" + + "A\006parent\022\240\001\n\025DeletePatchDeployment\0226.goo" + + "gle.cloud.osconfig.v1.DeletePatchDeploym" + + "entRequest\032\026.google.protobuf.Empty\"7\202\323\344\223" + + "\002**(/v1/{name=projects/*/patchDeployment" + + "s/*}\332A\004name\022\356\001\n\025UpdatePatchDeployment\0226." + + "google.cloud.osconfig.v1.UpdatePatchDepl" + + "oymentRequest\032).google.cloud.osconfig.v1" + + ".PatchDeployment\"r\202\323\344\223\002M29/v1/{patch_dep" + + "loyment.name=projects/*/patchDeployments" + + "/*}:\020patch_deployment\332A\034patch_deployment" + + ",update_mask\022\272\001\n\024PausePatchDeployment\0225." + + "google.cloud.osconfig.v1.PausePatchDeplo" + + "ymentRequest\032).google.cloud.osconfig.v1." + + "PatchDeployment\"@\202\323\344\223\0023\"./v1/{name=proje" + + "cts/*/patchDeployments/*}:pause:\001*\332A\004nam" + + "e\022\275\001\n\025ResumePatchDeployment\0226.google.clo" + + "ud.osconfig.v1.ResumePatchDeploymentRequ" + + "est\032).google.cloud.osconfig.v1.PatchDepl" + + "oyment\"A\202\323\344\223\0024\"//v1/{name=projects/*/pat" + + "chDeployments/*}:resume:\001*\332A\004name\032K\312A\027os" + + "config.googleapis.com\322A.https://www.goog" + + "leapis.com/auth/cloud-platformB\334\002\n\034com.g" + + "oogle.cloud.osconfig.v1B\rOsConfigProtoZ@" + + "google.golang.org/genproto/googleapis/cl" + + "oud/osconfig/v1;osconfig\252\002\030Google.Cloud." + + "OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002" + + "\033Google::Cloud::OsConfig::V1\352A\225\001\n\037comput" + + "e.googleapis.com/Instance\0224projects/{pro" + + "ject}/zones/{zone}/instances/{instance}\022" + + ".google.cloud.osconfig.v1.ListOSP" + + "olicyAssignmentReportsRequest\032?.google.c" + + "loud.osconfig.v1.ListOSPolicyAssignmentR" + + "eportsResponse\"^\202\323\344\223\002O\022M/v1/{parent=proj" + + "ects/*/locations/*/instances/*/osPolicyA" + + "ssignments/*}/reports\332A\006parent\022\252\001\n\014GetIn" + + "ventory\022-.google.cloud.osconfig.v1.GetIn" + + "ventoryRequest\032#.google.cloud.osconfig.v" + + "1.Inventory\"F\202\323\344\223\0029\0227/v1/{name=projects/" + + "*/locations/*/instances/*/inventory}\332A\004n" + + "ame\022\304\001\n\017ListInventories\0220.google.cloud.o" + + "sconfig.v1.ListInventoriesRequest\0321.goog" + + "le.cloud.osconfig.v1.ListInventoriesResp" + + "onse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/loc" + + "ations/*/instances/*}/inventories\332A\006pare" + + "nt\022\322\001\n\026GetVulnerabilityReport\0227.google.c" + + "loud.osconfig.v1.GetVulnerabilityReportR" + + "equest\032-.google.cloud.osconfig.v1.Vulner" + + "abilityReport\"P\202\323\344\223\002C\022A/v1/{name=project" + + "s/*/locations/*/instances/*/vulnerabilit" + + "yReport}\332A\004name\022\350\001\n\030ListVulnerabilityRep" + + "orts\0229.google.cloud.osconfig.v1.ListVuln" + + "erabilityReportsRequest\032:.google.cloud.o" + + "sconfig.v1.ListVulnerabilityReportsRespo" + + "nse\"U\202\323\344\223\002F\022D/v1/{parent=projects/*/loca" + + "tions/*/instances/*}/vulnerabilityReport" + + "s\332A\006parent\032K\312A\027osconfig.googleapis.com\322A" + + ".https://www.googleapis.com/auth/cloud-p" + + "latformB\321\001\n\034com.google.cloud.osconfig.v1" + + "B\031OsConfigZonalServiceProtoP\001Z@google.go" + + "lang.org/genproto/googleapis/cloud/oscon" + + "fig/v1;osconfig\252\002\030Google.Cloud.OsConfig." + + "V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002\033Google::" + + "Cloud::OsConfig::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.cloud.osconfig.v1.Inventories.getDescriptor(), + com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.getDescriptor(), + com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.getDescriptor(), + com.google.cloud.osconfig.v1.VulnerabilityProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.cloud.osconfig.v1.Inventories.getDescriptor(); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.getDescriptor(); + com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.getDescriptor(); + com.google.cloud.osconfig.v1.VulnerabilityProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyAssignmentsProto.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyAssignmentsProto.java new file mode 100644 index 00000000..ada12e6b --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyAssignmentsProto.java @@ -0,0 +1,314 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/osconfig/v1/os_policy_assignments.proto + +package com.google.cloud.osconfig.v1; + +public final class OsPolicyAssignmentsProto { + private OsPolicyAssignmentsProto() {} + 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_osconfig_v1_OSPolicyAssignment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n4google/cloud/osconfig/v1/os_policy_ass" + + "ignments.proto\022\030google.cloud.osconfig.v1" + + "\032\037google/api/field_behavior.proto\032\031googl" + + "e/api/resource.proto\032(google/cloud/oscon" + + "fig/v1/os_policy.proto\032.google/cloud/osc" + + "onfig/v1/osconfig_common.proto\032\036google/p" + + "rotobuf/duration.proto\032 google/protobuf/" + + "field_mask.proto\032\037google/protobuf/timest" + + "amp.proto\"\243\013\n\022OSPolicyAssignment\022\014\n\004name" + + "\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022<\n\013os_polici" + + "es\030\003 \003(\0132\".google.cloud.osconfig.v1.OSPo" + + "licyB\003\340A\002\022Y\n\017instance_filter\030\004 \001(\0132;.goo" + + "gle.cloud.osconfig.v1.OSPolicyAssignment" + + ".InstanceFilterB\003\340A\002\022J\n\007rollout\030\005 \001(\01324." + + "google.cloud.osconfig.v1.OSPolicyAssignm" + + "ent.RolloutB\003\340A\002\022\030\n\013revision_id\030\006 \001(\tB\003\340" + + "A\003\022=\n\024revision_create_time\030\007 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\022\014\n\004etag\030\010 \001(\t\022" + + "U\n\rrollout_state\030\t \001(\01629.google.cloud.os" + + "config.v1.OSPolicyAssignment.RolloutStat" + + "eB\003\340A\003\022\025\n\010baseline\030\n \001(\010B\003\340A\003\022\024\n\007deleted" + + "\030\013 \001(\010B\003\340A\003\022\030\n\013reconciling\030\014 \001(\010B\003\340A\003\022\020\n" + + "\003uid\030\r \001(\tB\003\340A\003\032\214\001\n\010LabelSet\022Q\n\006labels\030\001" + + " \003(\0132A.google.cloud.osconfig.v1.OSPolicy" + + "Assignment.LabelSet.LabelsEntry\032-\n\013Label" + + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\330" + + "\002\n\016InstanceFilter\022\013\n\003all\030\001 \001(\010\022O\n\020inclus" + + "ion_labels\030\002 \003(\01325.google.cloud.osconfig" + + ".v1.OSPolicyAssignment.LabelSet\022O\n\020exclu" + + "sion_labels\030\003 \003(\01325.google.cloud.osconfi" + + "g.v1.OSPolicyAssignment.LabelSet\022Z\n\013inve" + + "ntories\030\004 \003(\0132E.google.cloud.osconfig.v1" + + ".OSPolicyAssignment.InstanceFilter.Inven" + + "tory\032;\n\tInventory\022\032\n\ros_short_name\030\001 \001(\t" + + "B\003\340A\002\022\022\n\nos_version\030\002 \001(\t\032\216\001\n\007Rollout\022H\n" + + "\021disruption_budget\030\001 \001(\0132(.google.cloud." + + "osconfig.v1.FixedOrPercentB\003\340A\002\0229\n\021min_w" + + "ait_duration\030\002 \001(\0132\031.google.protobuf.Dur" + + "ationB\003\340A\002\"l\n\014RolloutState\022\035\n\031ROLLOUT_ST" + + "ATE_UNSPECIFIED\020\000\022\017\n\013IN_PROGRESS\020\001\022\016\n\nCA" + + "NCELLING\020\002\022\r\n\tCANCELLED\020\003\022\r\n\tSUCCEEDED\020\004" + + ":\204\001\352A\200\001\n*osconfig.googleapis.com/OSPolic" + + "yAssignment\022Rprojects/{project}/location" + + "s/{location}/osPolicyAssignments/{os_pol" + + "icy_assignment}\"\340\004\n#OSPolicyAssignmentOp" + + "erationMetadata\022M\n\024os_policy_assignment\030" + + "\001 \001(\tB/\372A,\n*osconfig.googleapis.com/OSPo" + + "licyAssignment\022[\n\napi_method\030\002 \001(\0162G.goo" + + "gle.cloud.osconfig.v1.OSPolicyAssignment" + + "OperationMetadata.APIMethod\022a\n\rrollout_s" + + "tate\030\003 \001(\0162J.google.cloud.osconfig.v1.OS" + + "PolicyAssignmentOperationMetadata.Rollou" + + "tState\0226\n\022rollout_start_time\030\004 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\0227\n\023rollout_update" + + "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\"" + + "K\n\tAPIMethod\022\032\n\026API_METHOD_UNSPECIFIED\020\000" + + "\022\n\n\006CREATE\020\001\022\n\n\006UPDATE\020\002\022\n\n\006DELETE\020\003\"l\n\014" + + "RolloutState\022\035\n\031ROLLOUT_STATE_UNSPECIFIE" + + "D\020\000\022\017\n\013IN_PROGRESS\020\001\022\016\n\nCANCELLING\020\002\022\r\n\t" + + "CANCELLED\020\003\022\r\n\tSUCCEEDED\020\004\"\323\001\n\037CreateOSP" + + "olicyAssignmentRequest\0229\n\006parent\030\001 \001(\tB)" + + "\340A\002\372A#\n!locations.googleapis.com/Locatio" + + "n\022O\n\024os_policy_assignment\030\002 \001(\0132,.google" + + ".cloud.osconfig.v1.OSPolicyAssignmentB\003\340" + + "A\002\022$\n\027os_policy_assignment_id\030\003 \001(\tB\003\340A\002" + + "\"\250\001\n\037UpdateOSPolicyAssignmentRequest\022O\n\024" + + "os_policy_assignment\030\001 \001(\0132,.google.clou" + + "d.osconfig.v1.OSPolicyAssignmentB\003\340A\002\0224\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + + "ldMaskB\003\340A\001\"`\n\034GetOSPolicyAssignmentRequ" + + "est\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*osconfig.goog" + + "leapis.com/OSPolicyAssignment\"\202\001\n\036ListOS" + + "PolicyAssignmentsRequest\0229\n\006parent\030\001 \001(\t" + + "B)\340A\002\372A#\n!locations.googleapis.com/Locat" + + "ion\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" + + "(\t\"\207\001\n\037ListOSPolicyAssignmentsResponse\022K" + + "\n\025os_policy_assignments\030\001 \003(\0132,.google.c" + + "loud.osconfig.v1.OSPolicyAssignment\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\"\221\001\n&ListOSPolicyAss" + + "ignmentRevisionsRequest\022@\n\004name\030\001 \001(\tB2\340" + + "A\002\372A,\n*osconfig.googleapis.com/OSPolicyA" + + "ssignment\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + + "en\030\003 \001(\t\"\217\001\n\'ListOSPolicyAssignmentRevis" + + "ionsResponse\022K\n\025os_policy_assignments\030\001 " + + "\003(\0132,.google.cloud.osconfig.v1.OSPolicyA" + + "ssignment\022\027\n\017next_page_token\030\002 \001(\t\"c\n\037De" + + "leteOSPolicyAssignmentRequest\022@\n\004name\030\001 " + + "\001(\tB2\340A\002\372A,\n*osconfig.googleapis.com/OSP" + + "olicyAssignmentB\320\001\n\034com.google.cloud.osc" + + "onfig.v1B\030OsPolicyAssignmentsProtoP\001Z@go" + + "ogle.golang.org/genproto/googleapis/clou" + + "d/osconfig/v1;osconfig\252\002\030Google.Cloud.Os" + + "Config.V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002\033G" + + "oogle::Cloud::OsConfig::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.osconfig.v1.OsPolicyProto.getDescriptor(), + com.google.cloud.osconfig.v1.Common.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor, + new java.lang.String[] { "Name", "Description", "OsPolicies", "InstanceFilter", "Rollout", "RevisionId", "RevisionCreateTime", "Etag", "RolloutState", "Baseline", "Deleted", "Reconciling", "Uid", }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor, + new java.lang.String[] { "Labels", }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor, + new java.lang.String[] { "All", "InclusionLabels", "ExclusionLabels", "Inventories", }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor, + new java.lang.String[] { "OsShortName", "OsVersion", }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor, + new java.lang.String[] { "DisruptionBudget", "MinWaitDuration", }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor, + new java.lang.String[] { "OsPolicyAssignment", "ApiMethod", "RolloutState", "RolloutStartTime", "RolloutUpdateTime", }); + internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor, + new java.lang.String[] { "Parent", "OsPolicyAssignment", "OsPolicyAssignmentId", }); + internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor, + new java.lang.String[] { "OsPolicyAssignment", "UpdateMask", }); + internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor, + new java.lang.String[] { "OsPolicyAssignments", "NextPageToken", }); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor, + new java.lang.String[] { "Name", "PageSize", "PageToken", }); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor, + new java.lang.String[] { "OsPolicyAssignments", "NextPageToken", }); + internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.osconfig.v1.OsPolicyProto.getDescriptor(); + com.google.cloud.osconfig.v1.Common.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyProto.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyProto.java new file mode 100644 index 00000000..80d5ad8b --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyProto.java @@ -0,0 +1,407 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/osconfig/v1/os_policy.proto + +package com.google.cloud.osconfig.v1; + +public final class OsPolicyProto { + private OsPolicyProto() {} + 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_osconfig_v1_OSPolicy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n(google/cloud/osconfig/v1/os_policy.pro" + + "to\022\030google.cloud.osconfig.v1\032\037google/api" + + "/field_behavior.proto\"\344 \n\010OSPolicy\022\017\n\002id" + + "\030\001 \001(\tB\003\340A\002\022\023\n\013description\030\002 \001(\t\022:\n\004mode" + + "\030\003 \001(\0162\'.google.cloud.osconfig.v1.OSPoli" + + "cy.ModeB\003\340A\002\022N\n\017resource_groups\030\004 \003(\01320." + + "google.cloud.osconfig.v1.OSPolicy.Resour" + + "ceGroupB\003\340A\002\022%\n\035allow_no_resource_group_" + + "match\030\005 \001(\010\032A\n\017InventoryFilter\022\032\n\ros_sho" + + "rt_name\030\001 \001(\tB\003\340A\002\022\022\n\nos_version\030\002 \001(\t\032\326" + + "\034\n\010Resource\022\017\n\002id\030\001 \001(\tB\003\340A\002\022J\n\003pkg\030\002 \001(" + + "\0132;.google.cloud.osconfig.v1.OSPolicy.Re" + + "source.PackageResourceH\000\022T\n\nrepository\030\003" + + " \001(\0132>.google.cloud.osconfig.v1.OSPolicy" + + ".Resource.RepositoryResourceH\000\022H\n\004exec\030\004" + + " \001(\01328.google.cloud.osconfig.v1.OSPolicy" + + ".Resource.ExecResourceH\000\022H\n\004file\030\005 \001(\01328" + + ".google.cloud.osconfig.v1.OSPolicy.Resou" + + "rce.FileResourceH\000\032\306\002\n\004File\022I\n\006remote\030\001 " + + "\001(\01327.google.cloud.osconfig.v1.OSPolicy." + + "Resource.File.RemoteH\000\022C\n\003gcs\030\002 \001(\01324.go" + + "ogle.cloud.osconfig.v1.OSPolicy.Resource" + + ".File.GcsH\000\022\024\n\nlocal_path\030\003 \001(\tH\000\022\026\n\016all" + + "ow_insecure\030\004 \001(\010\0323\n\006Remote\022\020\n\003uri\030\001 \001(\t" + + "B\003\340A\002\022\027\n\017sha256_checksum\030\002 \001(\t\032C\n\003Gcs\022\023\n" + + "\006bucket\030\001 \001(\tB\003\340A\002\022\023\n\006object\030\002 \001(\tB\003\340A\002\022" + + "\022\n\ngeneration\030\003 \001(\003B\006\n\004type\032\242\t\n\017PackageR" + + "esource\022d\n\rdesired_state\030\001 \001(\0162H.google." + + "cloud.osconfig.v1.OSPolicy.Resource.Pack" + + "ageResource.DesiredStateB\003\340A\002\022N\n\003apt\030\002 \001" + + "(\0132?.google.cloud.osconfig.v1.OSPolicy.R" + + "esource.PackageResource.APTH\000\022N\n\003deb\030\003 \001" + + "(\0132?.google.cloud.osconfig.v1.OSPolicy.R" + + "esource.PackageResource.DebH\000\022N\n\003yum\030\004 \001" + + "(\0132?.google.cloud.osconfig.v1.OSPolicy.R" + + "esource.PackageResource.YUMH\000\022T\n\006zypper\030" + + "\005 \001(\0132B.google.cloud.osconfig.v1.OSPolic" + + "y.Resource.PackageResource.ZypperH\000\022N\n\003r" + + "pm\030\006 \001(\0132?.google.cloud.osconfig.v1.OSPo" + + "licy.Resource.PackageResource.RPMH\000\022T\n\006g" + + "ooget\030\007 \001(\0132B.google.cloud.osconfig.v1.O" + + "SPolicy.Resource.PackageResource.GooGetH" + + "\000\022N\n\003msi\030\010 \001(\0132?.google.cloud.osconfig.v" + + "1.OSPolicy.Resource.PackageResource.MSIH" + + "\000\032_\n\003Deb\022E\n\006source\030\001 \001(\01320.google.cloud." + + "osconfig.v1.OSPolicy.Resource.FileB\003\340A\002\022" + + "\021\n\tpull_deps\030\002 \001(\010\032\030\n\003APT\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\002\032_\n\003RPM\022E\n\006source\030\001 \001(\01320.google.clo" + + "ud.osconfig.v1.OSPolicy.Resource.FileB\003\340" + + "A\002\022\021\n\tpull_deps\030\002 \001(\010\032\030\n\003YUM\022\021\n\004name\030\001 \001" + + "(\tB\003\340A\002\032\033\n\006Zypper\022\021\n\004name\030\001 \001(\tB\003\340A\002\032\033\n\006" + + "GooGet\022\021\n\004name\030\001 \001(\tB\003\340A\002\032`\n\003MSI\022E\n\006sour" + + "ce\030\001 \001(\01320.google.cloud.osconfig.v1.OSPo" + + "licy.Resource.FileB\003\340A\002\022\022\n\nproperties\030\002 " + + "\003(\t\"I\n\014DesiredState\022\035\n\031DESIRED_STATE_UNS" + + "PECIFIED\020\000\022\r\n\tINSTALLED\020\001\022\013\n\007REMOVED\020\002B\020" + + "\n\016system_package\032\270\007\n\022RepositoryResource\022" + + "[\n\003apt\030\001 \001(\0132L.google.cloud.osconfig.v1." + + "OSPolicy.Resource.RepositoryResource.Apt" + + "RepositoryH\000\022[\n\003yum\030\002 \001(\0132L.google.cloud" + + ".osconfig.v1.OSPolicy.Resource.Repositor" + + "yResource.YumRepositoryH\000\022a\n\006zypper\030\003 \001(" + + "\0132O.google.cloud.osconfig.v1.OSPolicy.Re" + + "source.RepositoryResource.ZypperReposito" + + "ryH\000\022[\n\003goo\030\004 \001(\0132L.google.cloud.osconfi" + + "g.v1.OSPolicy.Resource.RepositoryResourc" + + "e.GooRepositoryH\000\032\236\002\n\rAptRepository\022s\n\014a" + + "rchive_type\030\001 \001(\0162X.google.cloud.osconfi" + + "g.v1.OSPolicy.Resource.RepositoryResourc" + + "e.AptRepository.ArchiveTypeB\003\340A\002\022\020\n\003uri\030" + + "\002 \001(\tB\003\340A\002\022\031\n\014distribution\030\003 \001(\tB\003\340A\002\022\027\n" + + "\ncomponents\030\004 \003(\tB\003\340A\002\022\017\n\007gpg_key\030\005 \001(\t\"" + + "A\n\013ArchiveType\022\034\n\030ARCHIVE_TYPE_UNSPECIFI" + + "ED\020\000\022\007\n\003DEB\020\001\022\013\n\007DEB_SRC\020\002\032_\n\rYumReposit" + + "ory\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014display_name\030\002 \001" + + "(\t\022\025\n\010base_url\030\003 \001(\tB\003\340A\002\022\020\n\010gpg_keys\030\004 " + + "\003(\t\032b\n\020ZypperRepository\022\017\n\002id\030\001 \001(\tB\003\340A\002" + + "\022\024\n\014display_name\030\002 \001(\t\022\025\n\010base_url\030\003 \001(\t" + + "B\003\340A\002\022\020\n\010gpg_keys\030\004 \003(\t\0324\n\rGooRepository" + + "\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003url\030\002 \001(\tB\003\340A\002B\014\n" + + "\nrepository\032\371\003\n\014ExecResource\022T\n\010validate" + + "\030\001 \001(\0132=.google.cloud.osconfig.v1.OSPoli" + + "cy.Resource.ExecResource.ExecB\003\340A\002\022N\n\007en" + + "force\030\002 \001(\0132=.google.cloud.osconfig.v1.O" + + "SPolicy.Resource.ExecResource.Exec\032\302\002\n\004E" + + "xec\022@\n\004file\030\001 \001(\01320.google.cloud.osconfi" + + "g.v1.OSPolicy.Resource.FileH\000\022\020\n\006script\030" + + "\002 \001(\tH\000\022\014\n\004args\030\003 \003(\t\022c\n\013interpreter\030\004 \001" + + "(\0162I.google.cloud.osconfig.v1.OSPolicy.R" + + "esource.ExecResource.Exec.InterpreterB\003\340" + + "A\002\022\030\n\020output_file_path\030\005 \001(\t\"O\n\013Interpre" + + "ter\022\033\n\027INTERPRETER_UNSPECIFIED\020\000\022\010\n\004NONE" + + "\020\001\022\t\n\005SHELL\020\002\022\016\n\nPOWERSHELL\020\003B\010\n\006source\032" + + "\314\002\n\014FileResource\022@\n\004file\030\001 \001(\01320.google." + + "cloud.osconfig.v1.OSPolicy.Resource.File" + + "H\000\022\021\n\007content\030\002 \001(\tH\000\022\021\n\004path\030\003 \001(\tB\003\340A\002" + + "\022Y\n\005state\030\004 \001(\0162E.google.cloud.osconfig." + + "v1.OSPolicy.Resource.FileResource.Desire" + + "dStateB\003\340A\002\022\023\n\013permissions\030\005 \001(\t\"Z\n\014Desi" + + "redState\022\035\n\031DESIRED_STATE_UNSPECIFIED\020\000\022" + + "\013\n\007PRESENT\020\001\022\n\n\006ABSENT\020\002\022\022\n\016CONTENTS_MAT" + + "CH\020\003B\010\n\006sourceB\017\n\rresource_type\032\243\001\n\rReso" + + "urceGroup\022M\n\021inventory_filters\030\001 \003(\01322.g" + + "oogle.cloud.osconfig.v1.OSPolicy.Invento" + + "ryFilter\022C\n\tresources\030\002 \003(\0132+.google.clo" + + "ud.osconfig.v1.OSPolicy.ResourceB\003\340A\002\"=\n" + + "\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\016\n\nVALIDATIO" + + "N\020\001\022\017\n\013ENFORCEMENT\020\002B\305\001\n\034com.google.clou" + + "d.osconfig.v1B\rOsPolicyProtoP\001Z@google.g" + + "olang.org/genproto/googleapis/cloud/osco" + + "nfig/v1;osconfig\252\002\030Google.Cloud.OsConfig" + + ".V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002\033Google:" + + ":Cloud::OsConfig::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1_OSPolicy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor, + new java.lang.String[] { "Id", "Description", "Mode", "ResourceGroups", "AllowNoResourceGroupMatch", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor, + new java.lang.String[] { "OsShortName", "OsVersion", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor, + new java.lang.String[] { "Id", "Pkg", "Repository", "Exec", "File", "ResourceType", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor, + new java.lang.String[] { "Remote", "Gcs", "LocalPath", "AllowInsecure", "Type", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor, + new java.lang.String[] { "Uri", "Sha256Checksum", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor, + new java.lang.String[] { "Bucket", "Object", "Generation", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor, + new java.lang.String[] { "DesiredState", "Apt", "Deb", "Yum", "Zypper", "Rpm", "Googet", "Msi", "SystemPackage", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor, + new java.lang.String[] { "Source", "PullDeps", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor, + new java.lang.String[] { "Source", "PullDeps", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor, + new java.lang.String[] { "Source", "Properties", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor, + new java.lang.String[] { "Apt", "Yum", "Zypper", "Goo", "Repository", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor, + new java.lang.String[] { "ArchiveType", "Uri", "Distribution", "Components", "GpgKey", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor, + new java.lang.String[] { "Id", "DisplayName", "BaseUrl", "GpgKeys", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor, + new java.lang.String[] { "Id", "DisplayName", "BaseUrl", "GpgKeys", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor, + new java.lang.String[] { "Name", "Url", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor, + new java.lang.String[] { "Validate", "Enforce", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor, + new java.lang.String[] { "File", "Script", "Args", "Interpreter", "OutputFilePath", "Source", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor, + new java.lang.String[] { "File", "Content", "Path", "State", "Permissions", "Source", }); + internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor, + new java.lang.String[] { "InventoryFilters", "Resources", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeploymentName.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeploymentName.java similarity index 100% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeploymentName.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeploymentName.java diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeployments.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeployments.java similarity index 63% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeployments.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeployments.java index bd4756f7..c7fd7437 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeployments.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeployments.java @@ -1,18 +1,3 @@ -/* - * 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/osconfig/v1/patch_deployments.proto @@ -20,21 +5,20 @@ public final class PatchDeployments { private PatchDeployments() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { } - public interface PatchDeploymentOrBuilder - extends + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface PatchDeploymentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.PatchDeployment) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Unique name for the patch deployment resource in a project. The patch
      * deployment name is in the form:
@@ -43,13 +27,10 @@ public interface PatchDeploymentOrBuilder
      * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Unique name for the patch deployment resource in a project. The patch
      * deployment name is in the form:
@@ -58,457 +39,313 @@ public interface PatchDeploymentOrBuilder
      * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Optional. Description of the patch deployment. Length of the description is
      * limited to 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * Optional. Description of the patch deployment. Length of the description is
      * limited to 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * Required. VM instances to patch.
      * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceFilter field is set. */ boolean hasInstanceFilter(); /** - * - * *
      * Required. VM instances to patch.
      * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceFilter. */ com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFilter(); /** - * - * *
      * Required. VM instances to patch.
      * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder - getInstanceFilterOrBuilder(); + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder(); /** - * - * *
      * Optional. Patch configuration that is applied.
      * 
* - * - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the patchConfig field is set. */ boolean hasPatchConfig(); /** - * - * *
      * Optional. Patch configuration that is applied.
      * 
* - * - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The patchConfig. */ com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getPatchConfig(); /** - * - * *
      * Optional. Patch configuration that is applied.
      * 
* - * - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder(); /** - * - * *
      * Optional. Duration of the patch. After the duration ends, the patch times
      * out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the duration field is set. */ boolean hasDuration(); /** - * - * *
      * Optional. Duration of the patch. After the duration ends, the patch times
      * out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The duration. */ com.google.protobuf.Duration getDuration(); /** - * - * *
      * Optional. Duration of the patch. After the duration ends, the patch times
      * out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); /** - * - * *
      * Required. Schedule a one-time execution.
      * 
* - * - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the oneTimeSchedule field is set. */ boolean hasOneTimeSchedule(); /** - * - * *
      * Required. Schedule a one-time execution.
      * 
* - * - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The oneTimeSchedule. */ com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule getOneTimeSchedule(); /** - * - * *
      * Required. Schedule a one-time execution.
      * 
* - * - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder - getOneTimeScheduleOrBuilder(); + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder getOneTimeScheduleOrBuilder(); /** - * - * *
      * Required. Schedule recurring executions.
      * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the recurringSchedule field is set. */ boolean hasRecurringSchedule(); /** - * - * *
      * Required. Schedule recurring executions.
      * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The recurringSchedule. */ com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule getRecurringSchedule(); /** - * - * *
      * Required. Schedule recurring executions.
      * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder - getRecurringScheduleOrBuilder(); + com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder getRecurringScheduleOrBuilder(); /** - * - * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastExecuteTime field is set. */ boolean hasLastExecuteTime(); /** - * - * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastExecuteTime. */ com.google.protobuf.Timestamp getLastExecuteTime(); /** - * - * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder(); /** - * - * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the rollout field is set. */ boolean hasRollout(); /** - * - * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The rollout. */ com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getRollout(); /** - * - * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder(); /** - * - * *
      * Output only. Current state of the patch deployment.
      * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
      * Output only. Current state of the patch deployment.
      * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State getState(); - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.ScheduleCase - getScheduleCase(); + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.ScheduleCase getScheduleCase(); } /** - * - * *
    * Patch deployments are configurations that individual patch jobs use to
    * complete a patch. These configurations include instance filter, package
@@ -519,16 +356,15 @@ public interface PatchDeploymentOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1.PatchDeployment}
    */
-  public static final class PatchDeployment extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PatchDeployment extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.PatchDeployment)
       PatchDeploymentOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PatchDeployment.newBuilder() to construct.
     private PatchDeployment(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PatchDeployment() {
       name_ = "";
       description_ = "";
@@ -537,15 +373,16 @@ private PatchDeployment() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PatchDeployment();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PatchDeployment(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -564,188 +401,150 @@ private PatchDeployment(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              name_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              description_ = s;
+              break;
+            }
+            case 26: {
+              com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder subBuilder = null;
+              if (instanceFilter_ != null) {
+                subBuilder = instanceFilter_.toBuilder();
+              }
+              instanceFilter_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(instanceFilter_);
+                instanceFilter_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+            case 34: {
+              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder subBuilder = null;
+              if (patchConfig_ != null) {
+                subBuilder = patchConfig_.toBuilder();
+              }
+              patchConfig_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(patchConfig_);
+                patchConfig_ = subBuilder.buildPartial();
+              }
 
-                name_ = s;
-                break;
+              break;
+            }
+            case 42: {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (duration_ != null) {
+                subBuilder = duration_.toBuilder();
+              }
+              duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(duration_);
+                duration_ = subBuilder.buildPartial();
               }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
 
-                description_ = s;
-                break;
+              break;
+            }
+            case 50: {
+              com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder subBuilder = null;
+              if (scheduleCase_ == 6) {
+                subBuilder = ((com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_).toBuilder();
               }
-            case 26:
-              {
-                com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder subBuilder =
-                    null;
-                if (instanceFilter_ != null) {
-                  subBuilder = instanceFilter_.toBuilder();
-                }
-                instanceFilter_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(instanceFilter_);
-                  instanceFilter_ = subBuilder.buildPartial();
-                }
-
-                break;
+              schedule_ =
+                  input.readMessage(com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_);
+                schedule_ = subBuilder.buildPartial();
               }
-            case 34:
-              {
-                com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder subBuilder = null;
-                if (patchConfig_ != null) {
-                  subBuilder = patchConfig_.toBuilder();
-                }
-                patchConfig_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(patchConfig_);
-                  patchConfig_ = subBuilder.buildPartial();
-                }
-
-                break;
+              scheduleCase_ = 6;
+              break;
+            }
+            case 58: {
+              com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder subBuilder = null;
+              if (scheduleCase_ == 7) {
+                subBuilder = ((com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_).toBuilder();
               }
-            case 42:
-              {
-                com.google.protobuf.Duration.Builder subBuilder = null;
-                if (duration_ != null) {
-                  subBuilder = duration_.toBuilder();
-                }
-                duration_ =
-                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(duration_);
-                  duration_ = subBuilder.buildPartial();
-                }
-
-                break;
+              schedule_ =
+                  input.readMessage(com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_);
+                schedule_ = subBuilder.buildPartial();
               }
-            case 50:
-              {
-                com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder subBuilder =
-                    null;
-                if (scheduleCase_ == 6) {
-                  subBuilder =
-                      ((com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_)
-                          .toBuilder();
-                }
-                schedule_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_);
-                  schedule_ = subBuilder.buildPartial();
-                }
-                scheduleCase_ = 6;
-                break;
+              scheduleCase_ = 7;
+              break;
+            }
+            case 66: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
               }
-            case 58:
-              {
-                com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder subBuilder =
-                    null;
-                if (scheduleCase_ == 7) {
-                  subBuilder =
-                      ((com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_)
-                          .toBuilder();
-                }
-                schedule_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_);
-                  schedule_ = subBuilder.buildPartial();
-                }
-                scheduleCase_ = 7;
-                break;
+              createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
               }
-            case 66:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (createTime_ != null) {
-                  subBuilder = createTime_.toBuilder();
-                }
-                createTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(createTime_);
-                  createTime_ = subBuilder.buildPartial();
-                }
-
-                break;
+
+              break;
+            }
+            case 74: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
               }
-            case 74:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (updateTime_ != null) {
-                  subBuilder = updateTime_.toBuilder();
-                }
-                updateTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(updateTime_);
-                  updateTime_ = subBuilder.buildPartial();
-                }
-
-                break;
+              updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
               }
-            case 82:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (lastExecuteTime_ != null) {
-                  subBuilder = lastExecuteTime_.toBuilder();
-                }
-                lastExecuteTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(lastExecuteTime_);
-                  lastExecuteTime_ = subBuilder.buildPartial();
-                }
-
-                break;
+
+              break;
+            }
+            case 82: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (lastExecuteTime_ != null) {
+                subBuilder = lastExecuteTime_.toBuilder();
               }
-            case 90:
-              {
-                com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder subBuilder = null;
-                if (rollout_ != null) {
-                  subBuilder = rollout_.toBuilder();
-                }
-                rollout_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(rollout_);
-                  rollout_ = subBuilder.buildPartial();
-                }
-
-                break;
+              lastExecuteTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(lastExecuteTime_);
+                lastExecuteTime_ = subBuilder.buildPartial();
               }
-            case 96:
-              {
-                int rawValue = input.readEnum();
 
-                state_ = rawValue;
-                break;
+              break;
+            }
+            case 90: {
+              com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder subBuilder = null;
+              if (rollout_ != null) {
+                subBuilder = rollout_.toBuilder();
+              }
+              rollout_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rollout_);
+                rollout_ = subBuilder.buildPartial();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+
+              break;
+            }
+            case 96: {
+              int rawValue = input.readEnum();
+
+              state_ = rawValue;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -753,41 +552,36 @@ private PatchDeployment(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchDeployments
-          .internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchDeployments
-          .internal_static_google_cloud_osconfig_v1_PatchDeployment_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PatchDeployment_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class,
-              com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder.class);
+              com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * Represents state of patch peployment.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1.PatchDeployment.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * The default value. This value is used if the state is omitted.
        * 
@@ -796,8 +590,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
        * Active value means that patch deployment generates Patch Jobs.
        * 
@@ -806,8 +598,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(1), /** - * - * *
        * Paused value means that patch deployment does not generate
        * Patch jobs. Requires user action to move in and out from this state.
@@ -820,8 +610,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * The default value. This value is used if the state is omitted.
        * 
@@ -830,8 +618,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Active value means that patch deployment generates Patch Jobs.
        * 
@@ -840,8 +626,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 1; /** - * - * *
        * Paused value means that patch deployment does not generate
        * Patch jobs. Requires user action to move in and out from this state.
@@ -851,6 +635,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int PAUSED_VALUE = 2;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -875,51 +660,49 @@ public static State valueOf(int value) {
        */
       public static State forNumber(int value) {
         switch (value) {
-          case 0:
-            return STATE_UNSPECIFIED;
-          case 1:
-            return ACTIVE;
-          case 2:
-            return PAUSED;
-          default:
-            return null;
+          case 0: return STATE_UNSPECIFIED;
+          case 1: return ACTIVE;
+          case 2: return PAUSED;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          State> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public State findValueByNumber(int number) {
+                return State.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final State[] VALUES = values();
 
-      public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static State valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -938,16 +721,13 @@ private State(int value) {
 
     private int scheduleCase_ = 0;
     private java.lang.Object schedule_;
-
     public enum ScheduleCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       ONE_TIME_SCHEDULE(6),
       RECURRING_SCHEDULE(7),
       SCHEDULE_NOT_SET(0);
       private final int value;
-
       private ScheduleCase(int value) {
         this.value = value;
       }
@@ -963,31 +743,26 @@ public static ScheduleCase valueOf(int value) {
 
       public static ScheduleCase forNumber(int value) {
         switch (value) {
-          case 6:
-            return ONE_TIME_SCHEDULE;
-          case 7:
-            return RECURRING_SCHEDULE;
-          case 0:
-            return SCHEDULE_NOT_SET;
-          default:
-            return null;
+          case 6: return ONE_TIME_SCHEDULE;
+          case 7: return RECURRING_SCHEDULE;
+          case 0: return SCHEDULE_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ScheduleCase getScheduleCase() {
-      return ScheduleCase.forNumber(scheduleCase_);
+    public ScheduleCase
+    getScheduleCase() {
+      return ScheduleCase.forNumber(
+          scheduleCase_);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object name_;
     /**
-     *
-     *
      * 
      * Unique name for the patch deployment resource in a project. The patch
      * deployment name is in the form:
@@ -996,7 +771,6 @@ public ScheduleCase getScheduleCase() {
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1005,15 +779,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Unique name for the patch deployment resource in a project. The patch
      * deployment name is in the form:
@@ -1022,15 +795,16 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1041,15 +815,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
      * Optional. Description of the patch deployment. Length of the description is
      * limited to 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -1058,30 +829,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * Optional. Description of the patch deployment. Length of the description is
      * limited to 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1092,16 +863,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int INSTANCE_FILTER_FIELD_NUMBER = 3; private com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter instanceFilter_; /** - * - * *
      * Required. VM instances to patch.
      * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceFilter field is set. */ @java.lang.Override @@ -1109,54 +875,37 @@ public boolean hasInstanceFilter() { return instanceFilter_ != null; } /** - * - * *
      * Required. VM instances to patch.
      * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceFilter. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFilter() { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; } /** - * - * *
      * Required. VM instances to patch.
      * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder - getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { return getInstanceFilter(); } public static final int PATCH_CONFIG_FIELD_NUMBER = 4; private com.google.cloud.osconfig.v1.PatchJobs.PatchConfig patchConfig_; /** - * - * *
      * Optional. Patch configuration that is applied.
      * 
* - * - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the patchConfig field is set. */ @java.lang.Override @@ -1164,34 +913,23 @@ public boolean hasPatchConfig() { return patchConfig_ != null; } /** - * - * *
      * Optional. Patch configuration that is applied.
      * 
* - * - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The patchConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getPatchConfig() { - return patchConfig_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() - : patchConfig_; + return patchConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; } /** - * - * *
      * Optional. Patch configuration that is applied.
      * 
* - * - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder() { @@ -1201,16 +939,12 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi public static final int DURATION_FIELD_NUMBER = 5; private com.google.protobuf.Duration duration_; /** - * - * *
      * Optional. Duration of the patch. After the duration ends, the patch times
      * out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the duration field is set. */ @java.lang.Override @@ -1218,16 +952,12 @@ public boolean hasDuration() { return duration_ != null; } /** - * - * *
      * Optional. Duration of the patch. After the duration ends, the patch times
      * out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The duration. */ @java.lang.Override @@ -1235,15 +965,12 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** - * - * *
      * Optional. Duration of the patch. After the duration ends, the patch times
      * out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { @@ -1252,16 +979,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { public static final int ONE_TIME_SCHEDULE_FIELD_NUMBER = 6; /** - * - * *
      * Required. Schedule a one-time execution.
      * 
* - * - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the oneTimeSchedule field is set. */ @java.lang.Override @@ -1269,57 +991,42 @@ public boolean hasOneTimeSchedule() { return scheduleCase_ == 6; } /** - * - * *
      * Required. Schedule a one-time execution.
      * 
* - * - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The oneTimeSchedule. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule getOneTimeSchedule() { if (scheduleCase_ == 6) { - return (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_; + return (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_; } return com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.getDefaultInstance(); } /** - * - * *
      * Required. Schedule a one-time execution.
      * 
* - * - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder - getOneTimeScheduleOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder getOneTimeScheduleOrBuilder() { if (scheduleCase_ == 6) { - return (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_; + return (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_; } return com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.getDefaultInstance(); } public static final int RECURRING_SCHEDULE_FIELD_NUMBER = 7; /** - * - * *
      * Required. Schedule recurring executions.
      * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the recurringSchedule field is set. */ @java.lang.Override @@ -1327,41 +1034,31 @@ public boolean hasRecurringSchedule() { return scheduleCase_ == 7; } /** - * - * *
      * Required. Schedule recurring executions.
      * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The recurringSchedule. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule getRecurringSchedule() { if (scheduleCase_ == 7) { - return (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_; + return (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_; } return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance(); } /** - * - * *
      * Required. Schedule recurring executions.
      * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder - getRecurringScheduleOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder getRecurringScheduleOrBuilder() { if (scheduleCase_ == 7) { - return (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_; + return (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_; } return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance(); } @@ -1369,17 +1066,12 @@ public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule getRecurr public static final int CREATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp createTime_; /** - * - * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -1387,17 +1079,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -1405,16 +1092,12 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1424,17 +1107,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1442,17 +1120,12 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -1460,16 +1133,12 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1479,18 +1148,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int LAST_EXECUTE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp lastExecuteTime_; /** - * - * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastExecuteTime field is set. */ @java.lang.Override @@ -1498,38 +1162,27 @@ public boolean hasLastExecuteTime() { return lastExecuteTime_ != null; } /** - * - * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastExecuteTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastExecuteTime() { - return lastExecuteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastExecuteTime_; + return lastExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; } /** - * - * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { @@ -1539,16 +1192,11 @@ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { public static final int ROLLOUT_FIELD_NUMBER = 11; private com.google.cloud.osconfig.v1.PatchJobs.PatchRollout rollout_; /** - * - * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the rollout field is set. */ @java.lang.Override @@ -1556,34 +1204,23 @@ public boolean hasRollout() { return rollout_ != null; } /** - * - * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The rollout. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getRollout() { - return rollout_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; } /** - * - * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder() { @@ -1593,47 +1230,31 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOr public static final int STATE_FIELD_NUMBER = 12; private int state_; /** - * - * *
      * Output only. Current state of the patch deployment.
      * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. Current state of the patch deployment.
      * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State getState() { + @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State result = - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.valueOf(state_); - return result == null - ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State result = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1645,7 +1266,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -1662,12 +1284,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(5, getDuration()); } if (scheduleCase_ == 6) { - output.writeMessage( - 6, (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_); + output.writeMessage(6, (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_); } if (scheduleCase_ == 7) { - output.writeMessage( - 7, (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_); + output.writeMessage(7, (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_); } if (createTime_ != null) { output.writeMessage(8, getCreateTime()); @@ -1681,9 +1301,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (rollout_ != null) { output.writeMessage(11, getRollout()); } - if (state_ - != com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(12, state_); } unknownFields.writeTo(output); @@ -1702,40 +1320,44 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (instanceFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstanceFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInstanceFilter()); } if (patchConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPatchConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getPatchConfig()); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getDuration()); } if (scheduleCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_); } if (scheduleCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getUpdateTime()); } if (lastExecuteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getLastExecuteTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getLastExecuteTime()); } if (rollout_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getRollout()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getRollout()); } - if (state_ - != com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, state_); + if (state_ != com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(12, state_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1745,52 +1367,62 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment other = - (com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment) obj; + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment other = (com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (hasInstanceFilter() != other.hasInstanceFilter()) return false; if (hasInstanceFilter()) { - if (!getInstanceFilter().equals(other.getInstanceFilter())) return false; + if (!getInstanceFilter() + .equals(other.getInstanceFilter())) return false; } if (hasPatchConfig() != other.hasPatchConfig()) return false; if (hasPatchConfig()) { - if (!getPatchConfig().equals(other.getPatchConfig())) return false; + if (!getPatchConfig() + .equals(other.getPatchConfig())) return false; } if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration().equals(other.getDuration())) return false; + if (!getDuration() + .equals(other.getDuration())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (hasLastExecuteTime() != other.hasLastExecuteTime()) return false; if (hasLastExecuteTime()) { - if (!getLastExecuteTime().equals(other.getLastExecuteTime())) return false; + if (!getLastExecuteTime() + .equals(other.getLastExecuteTime())) return false; } if (hasRollout() != other.hasRollout()) return false; if (hasRollout()) { - if (!getRollout().equals(other.getRollout())) return false; + if (!getRollout() + .equals(other.getRollout())) return false; } if (state_ != other.state_) return false; if (!getScheduleCase().equals(other.getScheduleCase())) return false; switch (scheduleCase_) { case 6: - if (!getOneTimeSchedule().equals(other.getOneTimeSchedule())) return false; + if (!getOneTimeSchedule() + .equals(other.getOneTimeSchedule())) return false; break; case 7: - if (!getRecurringSchedule().equals(other.getRecurringSchedule())) return false; + if (!getRecurringSchedule() + .equals(other.getRecurringSchedule())) return false; break; case 0: default: @@ -1858,94 +1490,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment 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.osconfig.v1.PatchDeployments.PatchDeployment parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1955,8 +1580,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Patch deployments are configurations that individual patch jobs use to
      * complete a patch. These configurations include instance filter, package
@@ -1967,24 +1590,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.PatchDeployment}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.PatchDeployment)
         com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchDeployments
-            .internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchDeployments
-            .internal_static_google_cloud_osconfig_v1_PatchDeployment_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PatchDeployment_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class,
-                com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder.class);
+                com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.newBuilder()
@@ -1992,15 +1612,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2058,14 +1679,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchDeployments
-            .internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance();
       }
 
@@ -2080,8 +1700,7 @@ public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment buildPartial() {
-        com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment result =
-            new com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment(this);
+        com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment result = new com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment(this);
         result.name_ = name_;
         result.description_ = description_;
         if (instanceFilterBuilder_ == null) {
@@ -2143,52 +1762,46 @@ public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment buildPartia
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchDeployments.PatchDeployment) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment other) {
-        if (other
-            == com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment other) {
+        if (other == com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance()) return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -2222,20 +1835,17 @@ public Builder mergeFrom(
           setStateValue(other.getStateValue());
         }
         switch (other.getScheduleCase()) {
-          case ONE_TIME_SCHEDULE:
-            {
-              mergeOneTimeSchedule(other.getOneTimeSchedule());
-              break;
-            }
-          case RECURRING_SCHEDULE:
-            {
-              mergeRecurringSchedule(other.getRecurringSchedule());
-              break;
-            }
-          case SCHEDULE_NOT_SET:
-            {
-              break;
-            }
+          case ONE_TIME_SCHEDULE: {
+            mergeOneTimeSchedule(other.getOneTimeSchedule());
+            break;
+          }
+          case RECURRING_SCHEDULE: {
+            mergeRecurringSchedule(other.getRecurringSchedule());
+            break;
+          }
+          case SCHEDULE_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -2256,9 +1866,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2267,12 +1875,12 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int scheduleCase_ = 0;
       private java.lang.Object schedule_;
-
-      public ScheduleCase getScheduleCase() {
-        return ScheduleCase.forNumber(scheduleCase_);
+      public ScheduleCase
+          getScheduleCase() {
+        return ScheduleCase.forNumber(
+            scheduleCase_);
       }
 
       public Builder clearSchedule() {
@@ -2282,10 +1890,9 @@ public Builder clearSchedule() {
         return this;
       }
 
+
       private java.lang.Object name_ = "";
       /**
-       *
-       *
        * 
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -2294,13 +1901,13 @@ public Builder clearSchedule() {
        * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2309,8 +1916,6 @@ public java.lang.String getName() { } } /** - * - * *
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -2319,14 +1924,15 @@ public java.lang.String getName() {
        * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2334,8 +1940,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -2344,22 +1948,20 @@ public com.google.protobuf.ByteString getNameBytes() {
        * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -2368,18 +1970,15 @@ public Builder setName(java.lang.String value) {
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -2388,16 +1987,16 @@ public Builder clearName() {
        * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2405,21 +2004,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
        * Optional. Description of the patch deployment. Length of the description is
        * limited to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2428,22 +2025,21 @@ public java.lang.String getDescription() { } } /** - * - * *
        * Optional. Description of the patch deployment. Length of the description is
        * limited to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2451,64 +2047,57 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * Optional. Description of the patch deployment. Length of the description is
        * limited to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
        * Optional. Description of the patch deployment. Length of the description is
        * limited to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
        * Optional. Description of the patch deployment. Length of the description is
        * limited to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2516,61 +2105,41 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter instanceFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> - instanceFilterBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> instanceFilterBuilder_; /** - * - * *
        * Required. VM instances to patch.
        * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceFilter field is set. */ public boolean hasInstanceFilter() { return instanceFilterBuilder_ != null || instanceFilter_ != null; } /** - * - * *
        * Required. VM instances to patch.
        * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceFilter. */ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFilter() { if (instanceFilterBuilder_ == null) { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; } else { return instanceFilterBuilder_.getMessage(); } } /** - * - * *
        * Required. VM instances to patch.
        * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstanceFilter( - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { + public Builder setInstanceFilter(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2584,15 +2153,11 @@ public Builder setInstanceFilter( return this; } /** - * - * *
        * Required. VM instances to patch.
        * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstanceFilter( com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder builderForValue) { @@ -2606,25 +2171,17 @@ public Builder setInstanceFilter( return this; } /** - * - * *
        * Required. VM instances to patch.
        * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeInstanceFilter( - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { + public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (instanceFilter_ != null) { instanceFilter_ = - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.newBuilder( - instanceFilter_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.newBuilder(instanceFilter_).mergeFrom(value).buildPartial(); } else { instanceFilter_ = value; } @@ -2636,15 +2193,11 @@ public Builder mergeInstanceFilter( return this; } /** - * - * *
        * Required. VM instances to patch.
        * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstanceFilter() { if (instanceFilterBuilder_ == null) { @@ -2658,66 +2211,48 @@ public Builder clearInstanceFilter() { return this; } /** - * - * *
        * Required. VM instances to patch.
        * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder - getInstanceFilterBuilder() { - + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder() { + onChanged(); return getInstanceFilterFieldBuilder().getBuilder(); } /** - * - * *
        * Required. VM instances to patch.
        * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder - getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { if (instanceFilterBuilder_ != null) { return instanceFilterBuilder_.getMessageOrBuilder(); } else { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; } } /** - * - * *
        * Required. VM instances to patch.
        * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> getInstanceFilterFieldBuilder() { if (instanceFilterBuilder_ == null) { - instanceFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder>( - getInstanceFilter(), getParentForChildren(), isClean()); + instanceFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder>( + getInstanceFilter(), + getParentForChildren(), + isClean()); instanceFilter_ = null; } return instanceFilterBuilder_; @@ -2725,58 +2260,39 @@ public Builder clearInstanceFilter() { private com.google.cloud.osconfig.v1.PatchJobs.PatchConfig patchConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> - patchConfigBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> patchConfigBuilder_; /** - * - * *
        * Optional. Patch configuration that is applied.
        * 
* - * - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the patchConfig field is set. */ public boolean hasPatchConfig() { return patchConfigBuilder_ != null || patchConfig_ != null; } /** - * - * *
        * Optional. Patch configuration that is applied.
        * 
* - * - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The patchConfig. */ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getPatchConfig() { if (patchConfigBuilder_ == null) { - return patchConfig_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() - : patchConfig_; + return patchConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; } else { return patchConfigBuilder_.getMessage(); } } /** - * - * *
        * Optional. Patch configuration that is applied.
        * 
* - * - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setPatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig value) { if (patchConfigBuilder_ == null) { @@ -2792,15 +2308,11 @@ public Builder setPatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig return this; } /** - * - * *
        * Optional. Patch configuration that is applied.
        * 
* - * - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setPatchConfig( com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder builderForValue) { @@ -2814,23 +2326,17 @@ public Builder setPatchConfig( return this; } /** - * - * *
        * Optional. Patch configuration that is applied.
        * 
* - * - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergePatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig value) { if (patchConfigBuilder_ == null) { if (patchConfig_ != null) { patchConfig_ = - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.newBuilder(patchConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.newBuilder(patchConfig_).mergeFrom(value).buildPartial(); } else { patchConfig_ = value; } @@ -2842,15 +2348,11 @@ public Builder mergePatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConf return this; } /** - * - * *
        * Optional. Patch configuration that is applied.
        * 
* - * - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearPatchConfig() { if (patchConfigBuilder_ == null) { @@ -2864,64 +2366,48 @@ public Builder clearPatchConfig() { return this; } /** - * - * *
        * Optional. Patch configuration that is applied.
        * 
* - * - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder getPatchConfigBuilder() { - + onChanged(); return getPatchConfigFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. Patch configuration that is applied.
        * 
* - * - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder() { if (patchConfigBuilder_ != null) { return patchConfigBuilder_.getMessageOrBuilder(); } else { - return patchConfig_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() - : patchConfig_; + return patchConfig_ == null ? + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; } } /** - * - * *
        * Optional. Patch configuration that is applied.
        * 
* - * - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> getPatchConfigFieldBuilder() { if (patchConfigBuilder_ == null) { - patchConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder>( - getPatchConfig(), getParentForChildren(), isClean()); + patchConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder>( + getPatchConfig(), + getParentForChildren(), + isClean()); patchConfig_ = null; } return patchConfigBuilder_; @@ -2929,37 +2415,26 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - durationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; /** - * - * *
        * Optional. Duration of the patch. After the duration ends, the patch times
        * out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** - * - * *
        * Optional. Duration of the patch. After the duration ends, the patch times
        * out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -2970,15 +2445,12 @@ public com.google.protobuf.Duration getDuration() { } } /** - * - * *
        * Optional. Duration of the patch. After the duration ends, the patch times
        * out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { @@ -2994,17 +2466,15 @@ public Builder setDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Optional. Duration of the patch. After the duration ends, the patch times
        * out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (durationBuilder_ == null) { duration_ = builderForValue.build(); onChanged(); @@ -3015,21 +2485,18 @@ public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) return this; } /** - * - * *
        * Optional. Duration of the patch. After the duration ends, the patch times
        * out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { if (duration_ != null) { duration_ = - com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); } else { duration_ = value; } @@ -3041,15 +2508,12 @@ public Builder mergeDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Optional. Duration of the patch. After the duration ends, the patch times
        * out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearDuration() { if (durationBuilder_ == null) { @@ -3063,83 +2527,64 @@ public Builder clearDuration() { return this; } /** - * - * *
        * Optional. Duration of the patch. After the duration ends, the patch times
        * out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Duration.Builder getDurationBuilder() { - + onChanged(); return getDurationFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. Duration of the patch. After the duration ends, the patch times
        * out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { if (durationBuilder_ != null) { return durationBuilder_.getMessageOrBuilder(); } else { - return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; + return duration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : duration_; } } /** - * - * *
        * Optional. Duration of the patch. After the duration ends, the patch times
        * out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getDurationFieldBuilder() { if (durationBuilder_ == null) { - durationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getDuration(), getParentForChildren(), isClean()); + durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getDuration(), + getParentForChildren(), + isClean()); duration_ = null; } return durationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule, - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder> - oneTimeScheduleBuilder_; + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule, com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder> oneTimeScheduleBuilder_; /** - * - * *
        * Required. Schedule a one-time execution.
        * 
* - * - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the oneTimeSchedule field is set. */ @java.lang.Override @@ -3147,16 +2592,11 @@ public boolean hasOneTimeSchedule() { return scheduleCase_ == 6; } /** - * - * *
        * Required. Schedule a one-time execution.
        * 
* - * - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The oneTimeSchedule. */ @java.lang.Override @@ -3174,18 +2614,13 @@ public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule getOneTimeS } } /** - * - * *
        * Required. Schedule a one-time execution.
        * 
* - * - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setOneTimeSchedule( - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule value) { + public Builder setOneTimeSchedule(com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule value) { if (oneTimeScheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3199,15 +2634,11 @@ public Builder setOneTimeSchedule( return this; } /** - * - * *
        * Required. Schedule a one-time execution.
        * 
* - * - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOneTimeSchedule( com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder builderForValue) { @@ -3221,28 +2652,18 @@ public Builder setOneTimeSchedule( return this; } /** - * - * *
        * Required. Schedule a one-time execution.
        * 
* - * - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeOneTimeSchedule( - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule value) { + public Builder mergeOneTimeSchedule(com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule value) { if (oneTimeScheduleBuilder_ == null) { - if (scheduleCase_ == 6 - && schedule_ - != com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule - .getDefaultInstance()) { - schedule_ = - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.newBuilder( - (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_) - .mergeFrom(value) - .buildPartial(); + if (scheduleCase_ == 6 && + schedule_ != com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.getDefaultInstance()) { + schedule_ = com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.newBuilder((com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_) + .mergeFrom(value).buildPartial(); } else { schedule_ = value; } @@ -3258,15 +2679,11 @@ public Builder mergeOneTimeSchedule( return this; } /** - * - * *
        * Required. Schedule a one-time execution.
        * 
* - * - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOneTimeSchedule() { if (oneTimeScheduleBuilder_ == null) { @@ -3285,34 +2702,24 @@ public Builder clearOneTimeSchedule() { return this; } /** - * - * *
        * Required. Schedule a one-time execution.
        * 
* - * - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder - getOneTimeScheduleBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder getOneTimeScheduleBuilder() { return getOneTimeScheduleFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Schedule a one-time execution.
        * 
* - * - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder - getOneTimeScheduleOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder getOneTimeScheduleOrBuilder() { if ((scheduleCase_ == 6) && (oneTimeScheduleBuilder_ != null)) { return oneTimeScheduleBuilder_.getMessageOrBuilder(); } else { @@ -3323,58 +2730,39 @@ public Builder clearOneTimeSchedule() { } } /** - * - * *
        * Required. Schedule a one-time execution.
        * 
* - * - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule, - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder> + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule, com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder> getOneTimeScheduleFieldBuilder() { if (oneTimeScheduleBuilder_ == null) { if (!(scheduleCase_ == 6)) { - schedule_ = - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.getDefaultInstance(); + schedule_ = com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.getDefaultInstance(); } - oneTimeScheduleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule, - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder>( + oneTimeScheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule, com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder>( (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_, getParentForChildren(), isClean()); schedule_ = null; } scheduleCase_ = 6; - onChanged(); - ; + onChanged();; return oneTimeScheduleBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule, - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder> - recurringScheduleBuilder_; + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule, com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder> recurringScheduleBuilder_; /** - * - * *
        * Required. Schedule recurring executions.
        * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the recurringSchedule field is set. */ @java.lang.Override @@ -3382,48 +2770,35 @@ public boolean hasRecurringSchedule() { return scheduleCase_ == 7; } /** - * - * *
        * Required. Schedule recurring executions.
        * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The recurringSchedule. */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule - getRecurringSchedule() { + public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule getRecurringSchedule() { if (recurringScheduleBuilder_ == null) { if (scheduleCase_ == 7) { return (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_; } - return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance(); } else { if (scheduleCase_ == 7) { return recurringScheduleBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance(); } } /** - * - * *
        * Required. Schedule recurring executions.
        * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setRecurringSchedule( - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule value) { + public Builder setRecurringSchedule(com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule value) { if (recurringScheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3437,15 +2812,11 @@ public Builder setRecurringSchedule( return this; } /** - * - * *
        * Required. Schedule recurring executions.
        * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRecurringSchedule( com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder builderForValue) { @@ -3459,28 +2830,18 @@ public Builder setRecurringSchedule( return this; } /** - * - * *
        * Required. Schedule recurring executions.
        * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeRecurringSchedule( - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule value) { + public Builder mergeRecurringSchedule(com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule value) { if (recurringScheduleBuilder_ == null) { - if (scheduleCase_ == 7 - && schedule_ - != com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule - .getDefaultInstance()) { - schedule_ = - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.newBuilder( - (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_) - .mergeFrom(value) - .buildPartial(); + if (scheduleCase_ == 7 && + schedule_ != com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance()) { + schedule_ = com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.newBuilder((com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_) + .mergeFrom(value).buildPartial(); } else { schedule_ = value; } @@ -3496,15 +2857,11 @@ public Builder mergeRecurringSchedule( return this; } /** - * - * *
        * Required. Schedule recurring executions.
        * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRecurringSchedule() { if (recurringScheduleBuilder_ == null) { @@ -3523,139 +2880,97 @@ public Builder clearRecurringSchedule() { return this; } /** - * - * *
        * Required. Schedule recurring executions.
        * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder - getRecurringScheduleBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder getRecurringScheduleBuilder() { return getRecurringScheduleFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Schedule recurring executions.
        * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder - getRecurringScheduleOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder getRecurringScheduleOrBuilder() { if ((scheduleCase_ == 7) && (recurringScheduleBuilder_ != null)) { return recurringScheduleBuilder_.getMessageOrBuilder(); } else { if (scheduleCase_ == 7) { return (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_; } - return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule - .getDefaultInstance(); + return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance(); } } /** - * - * *
        * Required. Schedule recurring executions.
        * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule, - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder> + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule, com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder> getRecurringScheduleFieldBuilder() { if (recurringScheduleBuilder_ == null) { if (!(scheduleCase_ == 7)) { - schedule_ = - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule - .getDefaultInstance(); + schedule_ = com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance(); } - recurringScheduleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule, - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder>( + recurringScheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule, com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder>( (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_, getParentForChildren(), isClean()); schedule_ = null; } scheduleCase_ = 7; - onChanged(); - ; + onChanged();; return recurringScheduleBuilder_; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3671,18 +2986,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3693,24 +3005,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3722,16 +3028,12 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -3745,67 +3047,51 @@ public Builder clearCreateTime() { return this; } /** - * - * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3813,61 +3099,42 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3883,18 +3150,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3905,24 +3169,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3934,16 +3192,12 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -3957,67 +3211,51 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -4025,64 +3263,45 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp lastExecuteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastExecuteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastExecuteTimeBuilder_; /** - * - * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastExecuteTime field is set. */ public boolean hasLastExecuteTime() { return lastExecuteTimeBuilder_ != null || lastExecuteTime_ != null; } /** - * - * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastExecuteTime. */ public com.google.protobuf.Timestamp getLastExecuteTime() { if (lastExecuteTimeBuilder_ == null) { - return lastExecuteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastExecuteTime_; + return lastExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; } else { return lastExecuteTimeBuilder_.getMessage(); } } /** - * - * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLastExecuteTime(com.google.protobuf.Timestamp value) { if (lastExecuteTimeBuilder_ == null) { @@ -4098,19 +3317,16 @@ public Builder setLastExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setLastExecuteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastExecuteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (lastExecuteTimeBuilder_ == null) { lastExecuteTime_ = builderForValue.build(); onChanged(); @@ -4121,25 +3337,19 @@ public Builder setLastExecuteTime(com.google.protobuf.Timestamp.Builder builderF return this; } /** - * - * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeLastExecuteTime(com.google.protobuf.Timestamp value) { if (lastExecuteTimeBuilder_ == null) { if (lastExecuteTime_ != null) { lastExecuteTime_ = - com.google.protobuf.Timestamp.newBuilder(lastExecuteTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastExecuteTime_).mergeFrom(value).buildPartial(); } else { lastExecuteTime_ = value; } @@ -4151,17 +3361,13 @@ public Builder mergeLastExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearLastExecuteTime() { if (lastExecuteTimeBuilder_ == null) { @@ -4175,70 +3381,54 @@ public Builder clearLastExecuteTime() { return this; } /** - * - * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getLastExecuteTimeBuilder() { - + onChanged(); return getLastExecuteTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { if (lastExecuteTimeBuilder_ != null) { return lastExecuteTimeBuilder_.getMessageOrBuilder(); } else { - return lastExecuteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastExecuteTime_; + return lastExecuteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; } } /** - * - * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastExecuteTimeFieldBuilder() { if (lastExecuteTimeBuilder_ == null) { - lastExecuteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastExecuteTime(), getParentForChildren(), isClean()); + lastExecuteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastExecuteTime(), + getParentForChildren(), + isClean()); lastExecuteTime_ = null; } return lastExecuteTimeBuilder_; @@ -4246,58 +3436,39 @@ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { private com.google.cloud.osconfig.v1.PatchJobs.PatchRollout rollout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> - rolloutBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> rolloutBuilder_; /** - * - * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the rollout field is set. */ public boolean hasRollout() { return rolloutBuilder_ != null || rollout_ != null; } /** - * - * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The rollout. */ public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getRollout() { if (rolloutBuilder_ == null) { - return rollout_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; } else { return rolloutBuilder_.getMessage(); } } /** - * - * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout value) { if (rolloutBuilder_ == null) { @@ -4313,15 +3484,11 @@ public Builder setRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout va return this; } /** - * - * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRollout( com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder builderForValue) { @@ -4335,23 +3502,17 @@ public Builder setRollout( return this; } /** - * - * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout value) { if (rolloutBuilder_ == null) { if (rollout_ != null) { rollout_ = - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.newBuilder(rollout_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.newBuilder(rollout_).mergeFrom(value).buildPartial(); } else { rollout_ = value; } @@ -4363,15 +3524,11 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout return this; } /** - * - * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearRollout() { if (rolloutBuilder_ == null) { @@ -4385,64 +3542,48 @@ public Builder clearRollout() { return this; } /** - * - * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder getRolloutBuilder() { - + onChanged(); return getRolloutFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder() { if (rolloutBuilder_ != null) { return rolloutBuilder_.getMessageOrBuilder(); } else { - return rollout_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; } } /** - * - * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> getRolloutFieldBuilder() { if (rolloutBuilder_ == null) { - rolloutBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder>( - getRollout(), getParentForChildren(), isClean()); + rolloutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder>( + getRollout(), + getParentForChildren(), + isClean()); rollout_ = null; } return rolloutBuilder_; @@ -4450,108 +3591,77 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOr private int state_ = 0; /** - * - * *
        * Output only. Current state of the patch deployment.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * Output only. Current state of the patch deployment.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
        * Output only. Current state of the patch deployment.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State result = - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.valueOf(state_); - return result == null - ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State result = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.UNRECOGNIZED : result; } /** - * - * *
        * Output only. Current state of the patch deployment.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State value) { + public Builder setState(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Output only. Current state of the patch deployment.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4564,32 +3674,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.PatchDeployment) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.PatchDeployment) - private static final com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchDeployment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchDeployment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchDeployment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchDeployment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4601,58 +3709,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface OneTimeScheduleOrBuilder - extends + public interface OneTimeScheduleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OneTimeSchedule) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the executeTime field is set. */ boolean hasExecuteTime(); /** - * - * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The executeTime. */ com.google.protobuf.Timestamp getExecuteTime(); /** - * - * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getExecuteTimeOrBuilder(); } /** - * - * *
    * Sets the time for a one time patch deployment. Timestamp is in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
@@ -4660,29 +3754,30 @@ public interface OneTimeScheduleOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1.OneTimeSchedule}
    */
-  public static final class OneTimeSchedule extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class OneTimeSchedule extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OneTimeSchedule)
       OneTimeScheduleOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use OneTimeSchedule.newBuilder() to construct.
     private OneTimeSchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private OneTimeSchedule() {}
+    private OneTimeSchedule() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new OneTimeSchedule();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private OneTimeSchedule(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4701,28 +3796,26 @@ private OneTimeSchedule(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (executeTime_ != null) {
-                  subBuilder = executeTime_.toBuilder();
-                }
-                executeTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(executeTime_);
-                  executeTime_ = subBuilder.buildPartial();
-                }
-
-                break;
+            case 10: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (executeTime_ != null) {
+                subBuilder = executeTime_.toBuilder();
+              }
+              executeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(executeTime_);
+                executeTime_ = subBuilder.buildPartial();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4730,40 +3823,34 @@ private OneTimeSchedule(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchDeployments
-          .internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchDeployments
-          .internal_static_google_cloud_osconfig_v1_OneTimeSchedule_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_OneTimeSchedule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.class,
-              com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder.class);
+              com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.class, com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder.class);
     }
 
     public static final int EXECUTE_TIME_FIELD_NUMBER = 1;
     private com.google.protobuf.Timestamp executeTime_;
     /**
-     *
-     *
      * 
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the executeTime field is set. */ @java.lang.Override @@ -4771,32 +3858,23 @@ public boolean hasExecuteTime() { return executeTime_ != null; } /** - * - * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The executeTime. */ @java.lang.Override public com.google.protobuf.Timestamp getExecuteTime() { - return executeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : executeTime_; + return executeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executeTime_; } /** - * - * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExecuteTimeOrBuilder() { @@ -4804,7 +3882,6 @@ public com.google.protobuf.TimestampOrBuilder getExecuteTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4816,7 +3893,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (executeTime_ != null) { output.writeMessage(1, getExecuteTime()); } @@ -4830,7 +3908,8 @@ public int getSerializedSize() { size = 0; if (executeTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getExecuteTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExecuteTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4840,17 +3919,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule other = - (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) obj; + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule other = (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) obj; if (hasExecuteTime() != other.hasExecuteTime()) return false; if (hasExecuteTime()) { - if (!getExecuteTime().equals(other.getExecuteTime())) return false; + if (!getExecuteTime() + .equals(other.getExecuteTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -4873,94 +3952,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule 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.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4970,8 +4042,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Sets the time for a one time patch deployment. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
@@ -4979,24 +4049,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.OneTimeSchedule}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OneTimeSchedule)
         com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchDeployments
-            .internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchDeployments
-            .internal_static_google_cloud_osconfig_v1_OneTimeSchedule_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_OneTimeSchedule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.class,
-                com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder.class);
+                com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.class, com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.newBuilder()
@@ -5004,15 +4071,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5026,14 +4094,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchDeployments
-            .internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.getDefaultInstance();
       }
 
@@ -5048,8 +4115,7 @@ public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule buildPartial() {
-        com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule result =
-            new com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule(this);
+        com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule result = new com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule(this);
         if (executeTimeBuilder_ == null) {
           result.executeTime_ = executeTime_;
         } else {
@@ -5063,52 +4129,46 @@ public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule buildPartia
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchDeployments.OneTimeSchedule) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule other) {
-        if (other
-            == com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule other) {
+        if (other == com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.getDefaultInstance()) return this;
         if (other.hasExecuteTime()) {
           mergeExecuteTime(other.getExecuteTime());
         }
@@ -5131,9 +4191,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -5145,58 +4203,39 @@ public Builder mergeFrom(
 
       private com.google.protobuf.Timestamp executeTime_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
-          executeTimeBuilder_;
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> executeTimeBuilder_;
       /**
-       *
-       *
        * 
        * Required. The desired patch job execution time.
        * 
* - * - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the executeTime field is set. */ public boolean hasExecuteTime() { return executeTimeBuilder_ != null || executeTime_ != null; } /** - * - * *
        * Required. The desired patch job execution time.
        * 
* - * - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The executeTime. */ public com.google.protobuf.Timestamp getExecuteTime() { if (executeTimeBuilder_ == null) { - return executeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : executeTime_; + return executeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executeTime_; } else { return executeTimeBuilder_.getMessage(); } } /** - * - * *
        * Required. The desired patch job execution time.
        * 
* - * - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setExecuteTime(com.google.protobuf.Timestamp value) { if (executeTimeBuilder_ == null) { @@ -5212,17 +4251,14 @@ public Builder setExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Required. The desired patch job execution time.
        * 
* - * - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setExecuteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExecuteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (executeTimeBuilder_ == null) { executeTime_ = builderForValue.build(); onChanged(); @@ -5233,23 +4269,17 @@ public Builder setExecuteTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
        * Required. The desired patch job execution time.
        * 
* - * - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeExecuteTime(com.google.protobuf.Timestamp value) { if (executeTimeBuilder_ == null) { if (executeTime_ != null) { executeTime_ = - com.google.protobuf.Timestamp.newBuilder(executeTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(executeTime_).mergeFrom(value).buildPartial(); } else { executeTime_ = value; } @@ -5261,15 +4291,11 @@ public Builder mergeExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Required. The desired patch job execution time.
        * 
* - * - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearExecuteTime() { if (executeTimeBuilder_ == null) { @@ -5283,69 +4309,52 @@ public Builder clearExecuteTime() { return this; } /** - * - * *
        * Required. The desired patch job execution time.
        * 
* - * - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getExecuteTimeBuilder() { - + onChanged(); return getExecuteTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The desired patch job execution time.
        * 
* - * - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getExecuteTimeOrBuilder() { if (executeTimeBuilder_ != null) { return executeTimeBuilder_.getMessageOrBuilder(); } else { - return executeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : executeTime_; + return executeTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : executeTime_; } } /** - * - * *
        * Required. The desired patch job execution time.
        * 
* - * - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExecuteTimeFieldBuilder() { if (executeTimeBuilder_ == null) { - executeTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExecuteTime(), getParentForChildren(), isClean()); + executeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExecuteTime(), + getParentForChildren(), + isClean()); executeTime_ = null; } return executeTimeBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5358,32 +4367,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OneTimeSchedule) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OneTimeSchedule) - private static final com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OneTimeSchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OneTimeSchedule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OneTimeSchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OneTimeSchedule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5395,46 +4402,37 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface RecurringScheduleOrBuilder - extends + public interface RecurringScheduleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.RecurringSchedule) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
      * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the timeZone field is set. */ boolean hasTimeZone(); /** - * - * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
      * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The timeZone. */ com.google.type.TimeZone getTimeZone(); /** - * - * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
@@ -5445,355 +4443,253 @@ public interface RecurringScheduleOrBuilder
     com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder();
 
     /**
-     *
-     *
      * 
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
      * Optional. The end time at which a recurring patch deployment schedule is no
      * longer active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
      * Optional. The end time at which a recurring patch deployment schedule is no
      * longer active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
      * Optional. The end time at which a recurring patch deployment schedule is no
      * longer active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the timeOfDay field is set. */ boolean hasTimeOfDay(); /** - * - * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The timeOfDay. */ com.google.type.TimeOfDay getTimeOfDay(); /** - * - * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder(); /** - * - * *
      * Required. The frequency unit of this recurring schedule.
      * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for frequency. */ int getFrequencyValue(); /** - * - * *
      * Required. The frequency unit of this recurring schedule.
      * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The frequency. */ com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency getFrequency(); /** - * - * *
      * Required. Schedule with weekly executions.
      * 
* - * - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the weekly field is set. */ boolean hasWeekly(); /** - * - * *
      * Required. Schedule with weekly executions.
      * 
* - * - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The weekly. */ com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule getWeekly(); /** - * - * *
      * Required. Schedule with weekly executions.
      * 
* - * - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder getWeeklyOrBuilder(); /** - * - * *
      * Required. Schedule with monthly executions.
      * 
* - * - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the monthly field is set. */ boolean hasMonthly(); /** - * - * *
      * Required. Schedule with monthly executions.
      * 
* - * - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The monthly. */ com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule getMonthly(); /** - * - * *
      * Required. Schedule with monthly executions.
      * 
* - * - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder getMonthlyOrBuilder(); /** - * - * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastExecuteTime field is set. */ boolean hasLastExecuteTime(); /** - * - * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastExecuteTime. */ com.google.protobuf.Timestamp getLastExecuteTime(); /** - * - * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder(); /** - * - * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the nextExecuteTime field is set. */ boolean hasNextExecuteTime(); /** - * - * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The nextExecuteTime. */ com.google.protobuf.Timestamp getNextExecuteTime(); /** - * - * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getNextExecuteTimeOrBuilder(); - public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.ScheduleConfigCase - getScheduleConfigCase(); + public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.ScheduleConfigCase getScheduleConfigCase(); } /** - * - * *
    * Sets the time for recurring patch deployments.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.RecurringSchedule} */ - public static final class RecurringSchedule extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class RecurringSchedule extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.RecurringSchedule) RecurringScheduleOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RecurringSchedule.newBuilder() to construct. private RecurringSchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RecurringSchedule() { frequency_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RecurringSchedule(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RecurringSchedule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5812,155 +4708,125 @@ private RecurringSchedule( case 0: done = true; break; - case 10: - { - com.google.type.TimeZone.Builder subBuilder = null; - if (timeZone_ != null) { - subBuilder = timeZone_.toBuilder(); - } - timeZone_ = input.readMessage(com.google.type.TimeZone.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeZone_); - timeZone_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.type.TimeZone.Builder subBuilder = null; + if (timeZone_ != null) { + subBuilder = timeZone_.toBuilder(); + } + timeZone_ = input.readMessage(com.google.type.TimeZone.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeZone_); + timeZone_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 34: { + com.google.type.TimeOfDay.Builder subBuilder = null; + if (timeOfDay_ != null) { + subBuilder = timeOfDay_.toBuilder(); } - case 34: - { - com.google.type.TimeOfDay.Builder subBuilder = null; - if (timeOfDay_ != null) { - subBuilder = timeOfDay_.toBuilder(); - } - timeOfDay_ = - input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOfDay_); - timeOfDay_ = subBuilder.buildPartial(); - } - - break; + timeOfDay_ = input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOfDay_); + timeOfDay_ = subBuilder.buildPartial(); } - case 40: - { - int rawValue = input.readEnum(); - frequency_ = rawValue; - break; + break; + } + case 40: { + int rawValue = input.readEnum(); + + frequency_ = rawValue; + break; + } + case 50: { + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder subBuilder = null; + if (scheduleConfigCase_ == 6) { + subBuilder = ((com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_).toBuilder(); + } + scheduleConfig_ = + input.readMessage(com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_); + scheduleConfig_ = subBuilder.buildPartial(); + } + scheduleConfigCase_ = 6; + break; + } + case 58: { + com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder subBuilder = null; + if (scheduleConfigCase_ == 7) { + subBuilder = ((com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_).toBuilder(); } - case 50: - { - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder subBuilder = - null; - if (scheduleConfigCase_ == 6) { - subBuilder = - ((com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) - scheduleConfig_) - .toBuilder(); - } - scheduleConfig_ = - input.readMessage( - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) - scheduleConfig_); - scheduleConfig_ = subBuilder.buildPartial(); - } - scheduleConfigCase_ = 6; - break; + scheduleConfig_ = + input.readMessage(com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_); + scheduleConfig_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder subBuilder = - null; - if (scheduleConfigCase_ == 7) { - subBuilder = - ((com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) - scheduleConfig_) - .toBuilder(); - } - scheduleConfig_ = - input.readMessage( - com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) - scheduleConfig_); - scheduleConfig_ = subBuilder.buildPartial(); - } - scheduleConfigCase_ = 7; - break; + scheduleConfigCase_ = 7; + break; + } + case 74: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (lastExecuteTime_ != null) { + subBuilder = lastExecuteTime_.toBuilder(); } - case 74: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (lastExecuteTime_ != null) { - subBuilder = lastExecuteTime_.toBuilder(); - } - lastExecuteTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastExecuteTime_); - lastExecuteTime_ = subBuilder.buildPartial(); - } - - break; + lastExecuteTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastExecuteTime_); + lastExecuteTime_ = subBuilder.buildPartial(); + } + + break; + } + case 82: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (nextExecuteTime_ != null) { + subBuilder = nextExecuteTime_.toBuilder(); } - case 82: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (nextExecuteTime_ != null) { - subBuilder = nextExecuteTime_.toBuilder(); - } - nextExecuteTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(nextExecuteTime_); - nextExecuteTime_ = subBuilder.buildPartial(); - } - - break; + nextExecuteTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(nextExecuteTime_); + nextExecuteTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5968,41 +4834,36 @@ private RecurringSchedule( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_RecurringSchedule_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_RecurringSchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.class, - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.class, com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder.class); } /** - * - * *
      * Specifies the frequency of the recurring patch deployments.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1.RecurringSchedule.Frequency} */ - public enum Frequency implements com.google.protobuf.ProtocolMessageEnum { + public enum Frequency + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Invalid. A frequency must be specified.
        * 
@@ -6011,8 +4872,6 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum { */ FREQUENCY_UNSPECIFIED(0), /** - * - * *
        * Indicates that the frequency of recurrence should be expressed in terms
        * of weeks.
@@ -6022,8 +4881,6 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum {
        */
       WEEKLY(1),
       /**
-       *
-       *
        * 
        * Indicates that the frequency of recurrence should be expressed in terms
        * of months.
@@ -6033,8 +4890,6 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum {
        */
       MONTHLY(2),
       /**
-       *
-       *
        * 
        * Indicates that the frequency of recurrence should be expressed in terms
        * of days.
@@ -6047,8 +4902,6 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Invalid. A frequency must be specified.
        * 
@@ -6057,8 +4910,6 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FREQUENCY_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Indicates that the frequency of recurrence should be expressed in terms
        * of weeks.
@@ -6068,8 +4919,6 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int WEEKLY_VALUE = 1;
       /**
-       *
-       *
        * 
        * Indicates that the frequency of recurrence should be expressed in terms
        * of months.
@@ -6079,8 +4928,6 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int MONTHLY_VALUE = 2;
       /**
-       *
-       *
        * 
        * Indicates that the frequency of recurrence should be expressed in terms
        * of days.
@@ -6090,6 +4937,7 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int DAILY_VALUE = 3;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -6114,53 +4962,50 @@ public static Frequency valueOf(int value) {
        */
       public static Frequency forNumber(int value) {
         switch (value) {
-          case 0:
-            return FREQUENCY_UNSPECIFIED;
-          case 1:
-            return WEEKLY;
-          case 2:
-            return MONTHLY;
-          case 3:
-            return DAILY;
-          default:
-            return null;
+          case 0: return FREQUENCY_UNSPECIFIED;
+          case 1: return WEEKLY;
+          case 2: return MONTHLY;
+          case 3: return DAILY;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          Frequency> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public Frequency findValueByNumber(int number) {
+                return Frequency.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Frequency findValueByNumber(int number) {
-              return Frequency.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final Frequency[] VALUES = values();
 
-      public static Frequency valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Frequency valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -6179,16 +5024,13 @@ private Frequency(int value) {
 
     private int scheduleConfigCase_ = 0;
     private java.lang.Object scheduleConfig_;
-
     public enum ScheduleConfigCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       WEEKLY(6),
       MONTHLY(7),
       SCHEDULECONFIG_NOT_SET(0);
       private final int value;
-
       private ScheduleConfigCase(int value) {
         this.value = value;
       }
@@ -6204,38 +5046,32 @@ public static ScheduleConfigCase valueOf(int value) {
 
       public static ScheduleConfigCase forNumber(int value) {
         switch (value) {
-          case 6:
-            return WEEKLY;
-          case 7:
-            return MONTHLY;
-          case 0:
-            return SCHEDULECONFIG_NOT_SET;
-          default:
-            return null;
+          case 6: return WEEKLY;
+          case 7: return MONTHLY;
+          case 0: return SCHEDULECONFIG_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ScheduleConfigCase getScheduleConfigCase() {
-      return ScheduleConfigCase.forNumber(scheduleConfigCase_);
+    public ScheduleConfigCase
+    getScheduleConfigCase() {
+      return ScheduleConfigCase.forNumber(
+          scheduleConfigCase_);
     }
 
     public static final int TIME_ZONE_FIELD_NUMBER = 1;
     private com.google.type.TimeZone timeZone_;
     /**
-     *
-     *
      * 
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
      * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the timeZone field is set. */ @java.lang.Override @@ -6243,15 +5079,12 @@ public boolean hasTimeZone() { return timeZone_ != null; } /** - * - * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
      * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The timeZone. */ @java.lang.Override @@ -6259,8 +5092,6 @@ public com.google.type.TimeZone getTimeZone() { return timeZone_ == null ? com.google.type.TimeZone.getDefaultInstance() : timeZone_; } /** - * - * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
@@ -6276,16 +5107,12 @@ public com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder() {
     public static final int START_TIME_FIELD_NUMBER = 2;
     private com.google.protobuf.Timestamp startTime_;
     /**
-     *
-     *
      * 
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -6293,16 +5120,12 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The startTime. */ @java.lang.Override @@ -6310,15 +5133,12 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -6328,16 +5148,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
      * Optional. The end time at which a recurring patch deployment schedule is no
      * longer active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -6345,16 +5161,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
      * Optional. The end time at which a recurring patch deployment schedule is no
      * longer active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The endTime. */ @java.lang.Override @@ -6362,15 +5174,12 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
      * Optional. The end time at which a recurring patch deployment schedule is no
      * longer active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -6380,15 +5189,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TIME_OF_DAY_FIELD_NUMBER = 4; private com.google.type.TimeOfDay timeOfDay_; /** - * - * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the timeOfDay field is set. */ @java.lang.Override @@ -6396,15 +5201,11 @@ public boolean hasTimeOfDay() { return timeOfDay_ != null; } /** - * - * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The timeOfDay. */ @java.lang.Override @@ -6412,14 +5213,11 @@ public com.google.type.TimeOfDay getTimeOfDay() { return timeOfDay_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : timeOfDay_; } /** - * - * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder() { @@ -6429,59 +5227,37 @@ public com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder() { public static final int FREQUENCY_FIELD_NUMBER = 5; private int frequency_; /** - * - * *
      * Required. The frequency unit of this recurring schedule.
      * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for frequency. */ - @java.lang.Override - public int getFrequencyValue() { + @java.lang.Override public int getFrequencyValue() { return frequency_; } /** - * - * *
      * Required. The frequency unit of this recurring schedule.
      * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The frequency. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency - getFrequency() { + @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency getFrequency() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency result = - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.valueOf( - frequency_); - return result == null - ? com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency result = com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.valueOf(frequency_); + return result == null ? com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.UNRECOGNIZED : result; } public static final int WEEKLY_FIELD_NUMBER = 6; /** - * - * *
      * Required. Schedule with weekly executions.
      * 
* - * - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the weekly field is set. */ @java.lang.Override @@ -6489,57 +5265,42 @@ public boolean hasWeekly() { return scheduleConfigCase_ == 6; } /** - * - * *
      * Required. Schedule with weekly executions.
      * 
* - * - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The weekly. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule getWeekly() { if (scheduleConfigCase_ == 6) { - return (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_; } return com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.getDefaultInstance(); } /** - * - * *
      * Required. Schedule with weekly executions.
      * 
* - * - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder - getWeeklyOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder getWeeklyOrBuilder() { if (scheduleConfigCase_ == 6) { - return (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_; } return com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.getDefaultInstance(); } public static final int MONTHLY_FIELD_NUMBER = 7; /** - * - * *
      * Required. Schedule with monthly executions.
      * 
* - * - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the monthly field is set. */ @java.lang.Override @@ -6547,41 +5308,31 @@ public boolean hasMonthly() { return scheduleConfigCase_ == 7; } /** - * - * *
      * Required. Schedule with monthly executions.
      * 
* - * - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The monthly. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule getMonthly() { if (scheduleConfigCase_ == 7) { - return (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_; } return com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.getDefaultInstance(); } /** - * - * *
      * Required. Schedule with monthly executions.
      * 
* - * - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder - getMonthlyOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder getMonthlyOrBuilder() { if (scheduleConfigCase_ == 7) { - return (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_; } return com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.getDefaultInstance(); } @@ -6589,16 +5340,11 @@ public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule getMonthly( public static final int LAST_EXECUTE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp lastExecuteTime_; /** - * - * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastExecuteTime field is set. */ @java.lang.Override @@ -6606,34 +5352,23 @@ public boolean hasLastExecuteTime() { return lastExecuteTime_ != null; } /** - * - * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastExecuteTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastExecuteTime() { - return lastExecuteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastExecuteTime_; + return lastExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; } /** - * - * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { @@ -6643,16 +5378,11 @@ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { public static final int NEXT_EXECUTE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp nextExecuteTime_; /** - * - * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the nextExecuteTime field is set. */ @java.lang.Override @@ -6660,34 +5390,23 @@ public boolean hasNextExecuteTime() { return nextExecuteTime_ != null; } /** - * - * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The nextExecuteTime. */ @java.lang.Override public com.google.protobuf.Timestamp getNextExecuteTime() { - return nextExecuteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : nextExecuteTime_; + return nextExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextExecuteTime_; } /** - * - * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getNextExecuteTimeOrBuilder() { @@ -6695,7 +5414,6 @@ public com.google.protobuf.TimestampOrBuilder getNextExecuteTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6707,7 +5425,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (timeZone_ != null) { output.writeMessage(1, getTimeZone()); } @@ -6720,19 +5439,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (timeOfDay_ != null) { output.writeMessage(4, getTimeOfDay()); } - if (frequency_ - != com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency - .FREQUENCY_UNSPECIFIED - .getNumber()) { + if (frequency_ != com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.FREQUENCY_UNSPECIFIED.getNumber()) { output.writeEnum(5, frequency_); } if (scheduleConfigCase_ == 6) { - output.writeMessage( - 6, (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_); + output.writeMessage(6, (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_); } if (scheduleConfigCase_ == 7) { - output.writeMessage( - 7, (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_); + output.writeMessage(7, (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_); } if (lastExecuteTime_ != null) { output.writeMessage(9, getLastExecuteTime()); @@ -6750,38 +5464,40 @@ public int getSerializedSize() { size = 0; if (timeZone_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeZone()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTimeZone()); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndTime()); } if (timeOfDay_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTimeOfDay()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getTimeOfDay()); } - if (frequency_ - != com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency - .FREQUENCY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, frequency_); + if (frequency_ != com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.FREQUENCY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, frequency_); } if (scheduleConfigCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_); } if (scheduleConfigCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_); } if (lastExecuteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getLastExecuteTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getLastExecuteTime()); } if (nextExecuteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getNextExecuteTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getNextExecuteTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6791,46 +5507,53 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule other = - (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) obj; + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule other = (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) obj; if (hasTimeZone() != other.hasTimeZone()) return false; if (hasTimeZone()) { - if (!getTimeZone().equals(other.getTimeZone())) return false; + if (!getTimeZone() + .equals(other.getTimeZone())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (hasTimeOfDay() != other.hasTimeOfDay()) return false; if (hasTimeOfDay()) { - if (!getTimeOfDay().equals(other.getTimeOfDay())) return false; + if (!getTimeOfDay() + .equals(other.getTimeOfDay())) return false; } if (frequency_ != other.frequency_) return false; if (hasLastExecuteTime() != other.hasLastExecuteTime()) return false; if (hasLastExecuteTime()) { - if (!getLastExecuteTime().equals(other.getLastExecuteTime())) return false; + if (!getLastExecuteTime() + .equals(other.getLastExecuteTime())) return false; } if (hasNextExecuteTime() != other.hasNextExecuteTime()) return false; if (hasNextExecuteTime()) { - if (!getNextExecuteTime().equals(other.getNextExecuteTime())) return false; + if (!getNextExecuteTime() + .equals(other.getNextExecuteTime())) return false; } if (!getScheduleConfigCase().equals(other.getScheduleConfigCase())) return false; switch (scheduleConfigCase_) { case 6: - if (!getWeekly().equals(other.getWeekly())) return false; + if (!getWeekly() + .equals(other.getWeekly())) return false; break; case 7: - if (!getMonthly().equals(other.getMonthly())) return false; + if (!getMonthly() + .equals(other.getMonthly())) return false; break; case 0: default: @@ -6890,95 +5613,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule 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.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule - 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.osconfig.v1.PatchDeployments.RecurringSchedule 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.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6988,49 +5703,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Sets the time for recurring patch deployments.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.RecurringSchedule} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.RecurringSchedule) com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_RecurringSchedule_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_RecurringSchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.class, - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.class, com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.newBuilder() + // Construct using com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -7078,14 +5788,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance(); } @@ -7100,8 +5809,7 @@ public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule result = - new com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule(this); + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule result = new com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule(this); if (timeZoneBuilder_ == null) { result.timeZone_ = timeZone_; } else { @@ -7156,52 +5864,46 @@ public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.RecurringSchedule) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule other) { - if (other - == com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule other) { + if (other == com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance()) return this; if (other.hasTimeZone()) { mergeTimeZone(other.getTimeZone()); } @@ -7224,20 +5926,17 @@ public Builder mergeFrom( mergeNextExecuteTime(other.getNextExecuteTime()); } switch (other.getScheduleConfigCase()) { - case WEEKLY: - { - mergeWeekly(other.getWeekly()); - break; - } - case MONTHLY: - { - mergeMonthly(other.getMonthly()); - break; - } - case SCHEDULECONFIG_NOT_SET: - { - break; - } + case WEEKLY: { + mergeWeekly(other.getWeekly()); + break; + } + case MONTHLY: { + mergeMonthly(other.getMonthly()); + break; + } + case SCHEDULECONFIG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -7258,9 +5957,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7269,12 +5966,12 @@ public Builder mergeFrom( } return this; } - private int scheduleConfigCase_ = 0; private java.lang.Object scheduleConfig_; - - public ScheduleConfigCase getScheduleConfigCase() { - return ScheduleConfigCase.forNumber(scheduleConfigCase_); + public ScheduleConfigCase + getScheduleConfigCase() { + return ScheduleConfigCase.forNumber( + scheduleConfigCase_); } public Builder clearScheduleConfig() { @@ -7284,37 +5981,29 @@ public Builder clearScheduleConfig() { return this; } + private com.google.type.TimeZone timeZone_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeZone, - com.google.type.TimeZone.Builder, - com.google.type.TimeZoneOrBuilder> - timeZoneBuilder_; + com.google.type.TimeZone, com.google.type.TimeZone.Builder, com.google.type.TimeZoneOrBuilder> timeZoneBuilder_; /** - * - * *
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
        * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the timeZone field is set. */ public boolean hasTimeZone() { return timeZoneBuilder_ != null || timeZone_ != null; } /** - * - * *
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
        * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The timeZone. */ public com.google.type.TimeZone getTimeZone() { @@ -7325,8 +6014,6 @@ public com.google.type.TimeZone getTimeZone() { } } /** - * - * *
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -7348,8 +6035,6 @@ public Builder setTimeZone(com.google.type.TimeZone value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -7357,7 +6042,8 @@ public Builder setTimeZone(com.google.type.TimeZone value) {
        *
        * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
        */
-      public Builder setTimeZone(com.google.type.TimeZone.Builder builderForValue) {
+      public Builder setTimeZone(
+          com.google.type.TimeZone.Builder builderForValue) {
         if (timeZoneBuilder_ == null) {
           timeZone_ = builderForValue.build();
           onChanged();
@@ -7368,8 +6054,6 @@ public Builder setTimeZone(com.google.type.TimeZone.Builder builderForValue) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -7381,7 +6065,7 @@ public Builder mergeTimeZone(com.google.type.TimeZone value) {
         if (timeZoneBuilder_ == null) {
           if (timeZone_ != null) {
             timeZone_ =
-                com.google.type.TimeZone.newBuilder(timeZone_).mergeFrom(value).buildPartial();
+              com.google.type.TimeZone.newBuilder(timeZone_).mergeFrom(value).buildPartial();
           } else {
             timeZone_ = value;
           }
@@ -7393,8 +6077,6 @@ public Builder mergeTimeZone(com.google.type.TimeZone value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -7414,8 +6096,6 @@ public Builder clearTimeZone() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -7424,13 +6104,11 @@ public Builder clearTimeZone() {
        * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
        */
       public com.google.type.TimeZone.Builder getTimeZoneBuilder() {
-
+        
         onChanged();
         return getTimeZoneFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -7442,12 +6120,11 @@ public com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder() {
         if (timeZoneBuilder_ != null) {
           return timeZoneBuilder_.getMessageOrBuilder();
         } else {
-          return timeZone_ == null ? com.google.type.TimeZone.getDefaultInstance() : timeZone_;
+          return timeZone_ == null ?
+              com.google.type.TimeZone.getDefaultInstance() : timeZone_;
         }
       }
       /**
-       *
-       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -7456,17 +6133,14 @@ public com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder() {
        * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.TimeZone,
-              com.google.type.TimeZone.Builder,
-              com.google.type.TimeZoneOrBuilder>
+          com.google.type.TimeZone, com.google.type.TimeZone.Builder, com.google.type.TimeZoneOrBuilder> 
           getTimeZoneFieldBuilder() {
         if (timeZoneBuilder_ == null) {
-          timeZoneBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.type.TimeZone,
-                  com.google.type.TimeZone.Builder,
-                  com.google.type.TimeZoneOrBuilder>(
-                  getTimeZone(), getParentForChildren(), isClean());
+          timeZoneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.type.TimeZone, com.google.type.TimeZone.Builder, com.google.type.TimeZoneOrBuilder>(
+                  getTimeZone(),
+                  getParentForChildren(),
+                  isClean());
           timeZone_ = null;
         }
         return timeZoneBuilder_;
@@ -7474,58 +6148,42 @@ public com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder() {
 
       private com.google.protobuf.Timestamp startTime_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
-          startTimeBuilder_;
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
       /**
-       *
-       *
        * 
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { - return startTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** - * - * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -7541,17 +6199,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -7562,23 +6218,18 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -7590,15 +6241,12 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { @@ -7612,64 +6260,51 @@ public Builder clearStartTime() { return this; } /** - * - * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -7677,37 +6312,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
        * Optional. The end time at which a recurring patch deployment schedule is no
        * longer active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
        * Optional. The end time at which a recurring patch deployment schedule is no
        * longer active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -7718,15 +6342,12 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
        * Optional. The end time at which a recurring patch deployment schedule is no
        * longer active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -7742,17 +6363,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Optional. The end time at which a recurring patch deployment schedule is no
        * longer active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -7763,21 +6382,18 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
        * Optional. The end time at which a recurring patch deployment schedule is no
        * longer active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -7789,15 +6405,12 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Optional. The end time at which a recurring patch deployment schedule is no
        * longer active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -7811,62 +6424,51 @@ public Builder clearEndTime() { return this; } /** - * - * *
        * Optional. The end time at which a recurring patch deployment schedule is no
        * longer active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. The end time at which a recurring patch deployment schedule is no
        * longer active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
        * Optional. The end time at which a recurring patch deployment schedule is no
        * longer active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -7874,35 +6476,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.type.TimeOfDay timeOfDay_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, - com.google.type.TimeOfDay.Builder, - com.google.type.TimeOfDayOrBuilder> - timeOfDayBuilder_; + com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> timeOfDayBuilder_; /** - * - * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the timeOfDay field is set. */ public boolean hasTimeOfDay() { return timeOfDayBuilder_ != null || timeOfDay_ != null; } /** - * - * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The timeOfDay. */ public com.google.type.TimeOfDay getTimeOfDay() { @@ -7913,14 +6504,11 @@ public com.google.type.TimeOfDay getTimeOfDay() { } } /** - * - * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTimeOfDay(com.google.type.TimeOfDay value) { if (timeOfDayBuilder_ == null) { @@ -7936,16 +6524,14 @@ public Builder setTimeOfDay(com.google.type.TimeOfDay value) { return this; } /** - * - * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTimeOfDay(com.google.type.TimeOfDay.Builder builderForValue) { + public Builder setTimeOfDay( + com.google.type.TimeOfDay.Builder builderForValue) { if (timeOfDayBuilder_ == null) { timeOfDay_ = builderForValue.build(); onChanged(); @@ -7956,20 +6542,17 @@ public Builder setTimeOfDay(com.google.type.TimeOfDay.Builder builderForValue) { return this; } /** - * - * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTimeOfDay(com.google.type.TimeOfDay value) { if (timeOfDayBuilder_ == null) { if (timeOfDay_ != null) { timeOfDay_ = - com.google.type.TimeOfDay.newBuilder(timeOfDay_).mergeFrom(value).buildPartial(); + com.google.type.TimeOfDay.newBuilder(timeOfDay_).mergeFrom(value).buildPartial(); } else { timeOfDay_ = value; } @@ -7981,14 +6564,11 @@ public Builder mergeTimeOfDay(com.google.type.TimeOfDay value) { return this; } /** - * - * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTimeOfDay() { if (timeOfDayBuilder_ == null) { @@ -8002,59 +6582,48 @@ public Builder clearTimeOfDay() { return this; } /** - * - * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.TimeOfDay.Builder getTimeOfDayBuilder() { - + onChanged(); return getTimeOfDayFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder() { if (timeOfDayBuilder_ != null) { return timeOfDayBuilder_.getMessageOrBuilder(); } else { - return timeOfDay_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : timeOfDay_; + return timeOfDay_ == null ? + com.google.type.TimeOfDay.getDefaultInstance() : timeOfDay_; } } /** - * - * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, - com.google.type.TimeOfDay.Builder, - com.google.type.TimeOfDayOrBuilder> + com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> getTimeOfDayFieldBuilder() { if (timeOfDayBuilder_ == null) { - timeOfDayBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, - com.google.type.TimeOfDay.Builder, - com.google.type.TimeOfDayOrBuilder>( - getTimeOfDay(), getParentForChildren(), isClean()); + timeOfDayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>( + getTimeOfDay(), + getParentForChildren(), + isClean()); timeOfDay_ = null; } return timeOfDayBuilder_; @@ -8062,126 +6631,86 @@ public com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder() { private int frequency_ = 0; /** - * - * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for frequency. */ - @java.lang.Override - public int getFrequencyValue() { + @java.lang.Override public int getFrequencyValue() { return frequency_; } /** - * - * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for frequency to set. * @return This builder for chaining. */ public Builder setFrequencyValue(int value) { - + frequency_ = value; onChanged(); return this; } /** - * - * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The frequency. */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency - getFrequency() { + public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency getFrequency() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency result = - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.valueOf( - frequency_); - return result == null - ? com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency result = com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.valueOf(frequency_); + return result == null ? com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.UNRECOGNIZED : result; } /** - * - * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; * @param value The frequency to set. * @return This builder for chaining. */ - public Builder setFrequency( - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency value) { + public Builder setFrequency(com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency value) { if (value == null) { throw new NullPointerException(); } - + frequency_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * - * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearFrequency() { - + frequency_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule, - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder> - weeklyBuilder_; + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule, com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder> weeklyBuilder_; /** - * - * *
        * Required. Schedule with weekly executions.
        * 
* - * - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the weekly field is set. */ @java.lang.Override @@ -8189,16 +6718,11 @@ public boolean hasWeekly() { return scheduleConfigCase_ == 6; } /** - * - * *
        * Required. Schedule with weekly executions.
        * 
* - * - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The weekly. */ @java.lang.Override @@ -8216,15 +6740,11 @@ public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule getWeekly() } } /** - * - * *
        * Required. Schedule with weekly executions.
        * 
* - * - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setWeekly(com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule value) { if (weeklyBuilder_ == null) { @@ -8240,15 +6760,11 @@ public Builder setWeekly(com.google.cloud.osconfig.v1.PatchDeployments.WeeklySch return this; } /** - * - * *
        * Required. Schedule with weekly executions.
        * 
* - * - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setWeekly( com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder builderForValue) { @@ -8262,29 +6778,18 @@ public Builder setWeekly( return this; } /** - * - * *
        * Required. Schedule with weekly executions.
        * 
* - * - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeWeekly( - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule value) { + public Builder mergeWeekly(com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule value) { if (weeklyBuilder_ == null) { - if (scheduleConfigCase_ == 6 - && scheduleConfig_ - != com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule - .getDefaultInstance()) { - scheduleConfig_ = - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.newBuilder( - (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) - scheduleConfig_) - .mergeFrom(value) - .buildPartial(); + if (scheduleConfigCase_ == 6 && + scheduleConfig_ != com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.getDefaultInstance()) { + scheduleConfig_ = com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.newBuilder((com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_) + .mergeFrom(value).buildPartial(); } else { scheduleConfig_ = value; } @@ -8300,15 +6805,11 @@ public Builder mergeWeekly( return this; } /** - * - * *
        * Required. Schedule with weekly executions.
        * 
* - * - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearWeekly() { if (weeklyBuilder_ == null) { @@ -8327,34 +6828,24 @@ public Builder clearWeekly() { return this; } /** - * - * *
        * Required. Schedule with weekly executions.
        * 
* - * - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder - getWeeklyBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder getWeeklyBuilder() { return getWeeklyFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Schedule with weekly executions.
        * 
* - * - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder - getWeeklyOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder getWeeklyOrBuilder() { if ((scheduleConfigCase_ == 6) && (weeklyBuilder_ != null)) { return weeklyBuilder_.getMessageOrBuilder(); } else { @@ -8365,58 +6856,39 @@ public Builder clearWeekly() { } } /** - * - * *
        * Required. Schedule with weekly executions.
        * 
* - * - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule, - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder> + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule, com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder> getWeeklyFieldBuilder() { if (weeklyBuilder_ == null) { if (!(scheduleConfigCase_ == 6)) { - scheduleConfig_ = - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.getDefaultInstance(); + scheduleConfig_ = com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.getDefaultInstance(); } - weeklyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule, - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder>( + weeklyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule, com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder>( (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_, getParentForChildren(), isClean()); scheduleConfig_ = null; } scheduleConfigCase_ = 6; - onChanged(); - ; + onChanged();; return weeklyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule, - com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder> - monthlyBuilder_; + com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule, com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder> monthlyBuilder_; /** - * - * *
        * Required. Schedule with monthly executions.
        * 
* - * - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the monthly field is set. */ @java.lang.Override @@ -8424,16 +6896,11 @@ public boolean hasMonthly() { return scheduleConfigCase_ == 7; } /** - * - * *
        * Required. Schedule with monthly executions.
        * 
* - * - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The monthly. */ @java.lang.Override @@ -8451,18 +6918,13 @@ public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule getMonthly( } } /** - * - * *
        * Required. Schedule with monthly executions.
        * 
* - * - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setMonthly( - com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule value) { + public Builder setMonthly(com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule value) { if (monthlyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8476,15 +6938,11 @@ public Builder setMonthly( return this; } /** - * - * *
        * Required. Schedule with monthly executions.
        * 
* - * - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMonthly( com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder builderForValue) { @@ -8498,29 +6956,18 @@ public Builder setMonthly( return this; } /** - * - * *
        * Required. Schedule with monthly executions.
        * 
* - * - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeMonthly( - com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule value) { + public Builder mergeMonthly(com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule value) { if (monthlyBuilder_ == null) { - if (scheduleConfigCase_ == 7 - && scheduleConfig_ - != com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule - .getDefaultInstance()) { - scheduleConfig_ = - com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.newBuilder( - (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) - scheduleConfig_) - .mergeFrom(value) - .buildPartial(); + if (scheduleConfigCase_ == 7 && + scheduleConfig_ != com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.getDefaultInstance()) { + scheduleConfig_ = com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.newBuilder((com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_) + .mergeFrom(value).buildPartial(); } else { scheduleConfig_ = value; } @@ -8536,15 +6983,11 @@ public Builder mergeMonthly( return this; } /** - * - * *
        * Required. Schedule with monthly executions.
        * 
* - * - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMonthly() { if (monthlyBuilder_ == null) { @@ -8563,34 +7006,24 @@ public Builder clearMonthly() { return this; } /** - * - * *
        * Required. Schedule with monthly executions.
        * 
* - * - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder - getMonthlyBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder getMonthlyBuilder() { return getMonthlyFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Schedule with monthly executions.
        * 
* - * - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder - getMonthlyOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder getMonthlyOrBuilder() { if ((scheduleConfigCase_ == 7) && (monthlyBuilder_ != null)) { return monthlyBuilder_.getMessageOrBuilder(); } else { @@ -8601,96 +7034,66 @@ public Builder clearMonthly() { } } /** - * - * *
        * Required. Schedule with monthly executions.
        * 
* - * - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule, - com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder> + com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule, com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder> getMonthlyFieldBuilder() { if (monthlyBuilder_ == null) { if (!(scheduleConfigCase_ == 7)) { - scheduleConfig_ = - com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.getDefaultInstance(); + scheduleConfig_ = com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.getDefaultInstance(); } - monthlyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule, - com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder>( + monthlyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule, com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder>( (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_, getParentForChildren(), isClean()); scheduleConfig_ = null; } scheduleConfigCase_ = 7; - onChanged(); - ; + onChanged();; return monthlyBuilder_; } private com.google.protobuf.Timestamp lastExecuteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastExecuteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastExecuteTimeBuilder_; /** - * - * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastExecuteTime field is set. */ public boolean hasLastExecuteTime() { return lastExecuteTimeBuilder_ != null || lastExecuteTime_ != null; } /** - * - * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastExecuteTime. */ public com.google.protobuf.Timestamp getLastExecuteTime() { if (lastExecuteTimeBuilder_ == null) { - return lastExecuteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastExecuteTime_; + return lastExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; } else { return lastExecuteTimeBuilder_.getMessage(); } } /** - * - * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLastExecuteTime(com.google.protobuf.Timestamp value) { if (lastExecuteTimeBuilder_ == null) { @@ -8706,17 +7109,14 @@ public Builder setLastExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setLastExecuteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastExecuteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (lastExecuteTimeBuilder_ == null) { lastExecuteTime_ = builderForValue.build(); onChanged(); @@ -8727,23 +7127,17 @@ public Builder setLastExecuteTime(com.google.protobuf.Timestamp.Builder builderF return this; } /** - * - * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeLastExecuteTime(com.google.protobuf.Timestamp value) { if (lastExecuteTimeBuilder_ == null) { if (lastExecuteTime_ != null) { lastExecuteTime_ = - com.google.protobuf.Timestamp.newBuilder(lastExecuteTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastExecuteTime_).mergeFrom(value).buildPartial(); } else { lastExecuteTime_ = value; } @@ -8755,15 +7149,11 @@ public Builder mergeLastExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearLastExecuteTime() { if (lastExecuteTimeBuilder_ == null) { @@ -8777,64 +7167,48 @@ public Builder clearLastExecuteTime() { return this; } /** - * - * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getLastExecuteTimeBuilder() { - + onChanged(); return getLastExecuteTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { if (lastExecuteTimeBuilder_ != null) { return lastExecuteTimeBuilder_.getMessageOrBuilder(); } else { - return lastExecuteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastExecuteTime_; + return lastExecuteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; } } /** - * - * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastExecuteTimeFieldBuilder() { if (lastExecuteTimeBuilder_ == null) { - lastExecuteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastExecuteTime(), getParentForChildren(), isClean()); + lastExecuteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastExecuteTime(), + getParentForChildren(), + isClean()); lastExecuteTime_ = null; } return lastExecuteTimeBuilder_; @@ -8842,58 +7216,39 @@ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { private com.google.protobuf.Timestamp nextExecuteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - nextExecuteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> nextExecuteTimeBuilder_; /** - * - * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the nextExecuteTime field is set. */ public boolean hasNextExecuteTime() { return nextExecuteTimeBuilder_ != null || nextExecuteTime_ != null; } /** - * - * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The nextExecuteTime. */ public com.google.protobuf.Timestamp getNextExecuteTime() { if (nextExecuteTimeBuilder_ == null) { - return nextExecuteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : nextExecuteTime_; + return nextExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextExecuteTime_; } else { return nextExecuteTimeBuilder_.getMessage(); } } /** - * - * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setNextExecuteTime(com.google.protobuf.Timestamp value) { if (nextExecuteTimeBuilder_ == null) { @@ -8909,17 +7264,14 @@ public Builder setNextExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setNextExecuteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setNextExecuteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (nextExecuteTimeBuilder_ == null) { nextExecuteTime_ = builderForValue.build(); onChanged(); @@ -8930,23 +7282,17 @@ public Builder setNextExecuteTime(com.google.protobuf.Timestamp.Builder builderF return this; } /** - * - * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeNextExecuteTime(com.google.protobuf.Timestamp value) { if (nextExecuteTimeBuilder_ == null) { if (nextExecuteTime_ != null) { nextExecuteTime_ = - com.google.protobuf.Timestamp.newBuilder(nextExecuteTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(nextExecuteTime_).mergeFrom(value).buildPartial(); } else { nextExecuteTime_ = value; } @@ -8958,15 +7304,11 @@ public Builder mergeNextExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearNextExecuteTime() { if (nextExecuteTimeBuilder_ == null) { @@ -8980,69 +7322,52 @@ public Builder clearNextExecuteTime() { return this; } /** - * - * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getNextExecuteTimeBuilder() { - + onChanged(); return getNextExecuteTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getNextExecuteTimeOrBuilder() { if (nextExecuteTimeBuilder_ != null) { return nextExecuteTimeBuilder_.getMessageOrBuilder(); } else { - return nextExecuteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : nextExecuteTime_; + return nextExecuteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : nextExecuteTime_; } } /** - * - * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getNextExecuteTimeFieldBuilder() { if (nextExecuteTimeBuilder_ == null) { - nextExecuteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getNextExecuteTime(), getParentForChildren(), isClean()); + nextExecuteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getNextExecuteTime(), + getParentForChildren(), + isClean()); nextExecuteTime_ = null; } return nextExecuteTimeBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9055,32 +7380,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.RecurringSchedule) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.RecurringSchedule) - private static final com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RecurringSchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RecurringSchedule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecurringSchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RecurringSchedule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9092,78 +7415,67 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface WeeklyScheduleOrBuilder - extends + public interface WeeklyScheduleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.WeeklySchedule) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dayOfWeek. */ int getDayOfWeekValue(); /** - * - * *
      * Required. Day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The dayOfWeek. */ com.google.type.DayOfWeek getDayOfWeek(); } /** - * - * *
    * Represents a weekly schedule.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.WeeklySchedule} */ - public static final class WeeklySchedule extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class WeeklySchedule extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.WeeklySchedule) WeeklyScheduleOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WeeklySchedule.newBuilder() to construct. private WeeklySchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WeeklySchedule() { dayOfWeek_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WeeklySchedule(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WeeklySchedule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -9182,20 +7494,19 @@ private WeeklySchedule( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - dayOfWeek_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + dayOfWeek_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9203,67 +7514,54 @@ private WeeklySchedule( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_WeeklySchedule_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeeklySchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.class, - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.class, com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder.class); } public static final int DAY_OF_WEEK_FIELD_NUMBER = 1; private int dayOfWeek_; /** - * - * *
      * Required. Day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override - public int getDayOfWeekValue() { + @java.lang.Override public int getDayOfWeekValue() { return dayOfWeek_; } /** - * - * *
      * Required. Day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The dayOfWeek. */ - @java.lang.Override - public com.google.type.DayOfWeek getDayOfWeek() { + @java.lang.Override public com.google.type.DayOfWeek getDayOfWeek() { @SuppressWarnings("deprecation") com.google.type.DayOfWeek result = com.google.type.DayOfWeek.valueOf(dayOfWeek_); return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9275,7 +7573,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dayOfWeek_ != com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED.getNumber()) { output.writeEnum(1, dayOfWeek_); } @@ -9289,7 +7588,8 @@ public int getSerializedSize() { size = 0; if (dayOfWeek_ != com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, dayOfWeek_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, dayOfWeek_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -9299,13 +7599,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule other = - (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) obj; + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule other = (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) obj; if (dayOfWeek_ != other.dayOfWeek_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -9327,94 +7626,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule 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.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9424,32 +7716,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents a weekly schedule.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.WeeklySchedule} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.WeeklySchedule) com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_WeeklySchedule_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeeklySchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.class, - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.class, com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.newBuilder() @@ -9457,15 +7744,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -9475,14 +7763,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.getDefaultInstance(); } @@ -9497,8 +7784,7 @@ public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule result = - new com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule(this); + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule result = new com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule(this); result.dayOfWeek_ = dayOfWeek_; onBuilt(); return result; @@ -9508,41 +7794,38 @@ public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.WeeklySchedule) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule)other); } else { super.mergeFrom(other); return this; @@ -9550,9 +7833,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule other) { - if (other - == com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.getDefaultInstance()) return this; if (other.dayOfWeek_ != 0) { setDayOfWeekValue(other.getDayOfWeekValue()); } @@ -9575,9 +7856,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9589,50 +7868,37 @@ public Builder mergeFrom( private int dayOfWeek_ = 0; /** - * - * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override - public int getDayOfWeekValue() { + @java.lang.Override public int getDayOfWeekValue() { return dayOfWeek_; } /** - * - * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for dayOfWeek to set. * @return This builder for chaining. */ public Builder setDayOfWeekValue(int value) { - + dayOfWeek_ = value; onChanged(); return this; } /** - * - * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The dayOfWeek. */ @java.lang.Override @@ -9642,15 +7908,11 @@ public com.google.type.DayOfWeek getDayOfWeek() { return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; } /** - * - * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The dayOfWeek to set. * @return This builder for chaining. */ @@ -9658,30 +7920,25 @@ public Builder setDayOfWeek(com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } - + dayOfWeek_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearDayOfWeek() { - + dayOfWeek_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9694,35 +7951,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.WeeklySchedule) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.WeeklySchedule) - private static final com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WeeklySchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WeeklySchedule(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WeeklySchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WeeklySchedule(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; } @java.lang.Override @@ -9731,62 +7986,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface MonthlyScheduleOrBuilder - extends + public interface MonthlyScheduleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.MonthlySchedule) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Week day in a month.
      * 
* - * - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the weekDayOfMonth field is set. */ boolean hasWeekDayOfMonth(); /** - * - * *
      * Required. Week day in a month.
      * 
* - * - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The weekDayOfMonth. */ com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth getWeekDayOfMonth(); /** - * - * *
      * Required. Week day in a month.
      * 
* - * - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder - getWeekDayOfMonthOrBuilder(); + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder getWeekDayOfMonthOrBuilder(); /** - * - * *
      * Required. One day of the month. 1-31 indicates the 1st to the 31st day.
      * -1 indicates the last day of the month. Months without the target day
@@ -9795,13 +8032,10 @@ public interface MonthlyScheduleOrBuilder
      * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the monthDay field is set. */ boolean hasMonthDay(); /** - * - * *
      * Required. One day of the month. 1-31 indicates the 1st to the 31st day.
      * -1 indicates the last day of the month. Months without the target day
@@ -9810,17 +8044,13 @@ public interface MonthlyScheduleOrBuilder
      * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The monthDay. */ int getMonthDay(); - public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.DayOfMonthCase - getDayOfMonthCase(); + public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.DayOfMonthCase getDayOfMonthCase(); } /** - * - * *
    * Represents a monthly schedule. An example of a valid monthly schedule is
    * "on the third Tuesday of the month" or "on the 15th of the month".
@@ -9828,29 +8058,30 @@ public interface MonthlyScheduleOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1.MonthlySchedule}
    */
-  public static final class MonthlySchedule extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class MonthlySchedule extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.MonthlySchedule)
       MonthlyScheduleOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use MonthlySchedule.newBuilder() to construct.
     private MonthlySchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private MonthlySchedule() {}
+    private MonthlySchedule() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new MonthlySchedule();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private MonthlySchedule(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -9869,40 +8100,32 @@ private MonthlySchedule(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder subBuilder =
-                    null;
-                if (dayOfMonthCase_ == 1) {
-                  subBuilder =
-                      ((com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_)
-                          .toBuilder();
-                }
-                dayOfMonth_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_);
-                  dayOfMonth_ = subBuilder.buildPartial();
-                }
-                dayOfMonthCase_ = 1;
-                break;
+            case 10: {
+              com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder subBuilder = null;
+              if (dayOfMonthCase_ == 1) {
+                subBuilder = ((com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_).toBuilder();
               }
-            case 16:
-              {
-                dayOfMonth_ = input.readInt32();
-                dayOfMonthCase_ = 2;
-                break;
+              dayOfMonth_ =
+                  input.readMessage(com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_);
+                dayOfMonth_ = subBuilder.buildPartial();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              dayOfMonthCase_ = 1;
+              break;
+            }
+            case 16: {
+              dayOfMonth_ = input.readInt32();
+              dayOfMonthCase_ = 2;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9910,40 +8133,35 @@ private MonthlySchedule(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchDeployments
-          .internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchDeployments
-          .internal_static_google_cloud_osconfig_v1_MonthlySchedule_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_MonthlySchedule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.class,
-              com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder.class);
+              com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.class, com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder.class);
     }
 
     private int dayOfMonthCase_ = 0;
     private java.lang.Object dayOfMonth_;
-
     public enum DayOfMonthCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       WEEK_DAY_OF_MONTH(1),
       MONTH_DAY(2),
       DAYOFMONTH_NOT_SET(0);
       private final int value;
-
       private DayOfMonthCase(int value) {
         this.value = value;
       }
@@ -9959,38 +8177,30 @@ public static DayOfMonthCase valueOf(int value) {
 
       public static DayOfMonthCase forNumber(int value) {
         switch (value) {
-          case 1:
-            return WEEK_DAY_OF_MONTH;
-          case 2:
-            return MONTH_DAY;
-          case 0:
-            return DAYOFMONTH_NOT_SET;
-          default:
-            return null;
+          case 1: return WEEK_DAY_OF_MONTH;
+          case 2: return MONTH_DAY;
+          case 0: return DAYOFMONTH_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public DayOfMonthCase getDayOfMonthCase() {
-      return DayOfMonthCase.forNumber(dayOfMonthCase_);
+    public DayOfMonthCase
+    getDayOfMonthCase() {
+      return DayOfMonthCase.forNumber(
+          dayOfMonthCase_);
     }
 
     public static final int WEEK_DAY_OF_MONTH_FIELD_NUMBER = 1;
     /**
-     *
-     *
      * 
      * Required. Week day in a month.
      * 
* - * - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the weekDayOfMonth field is set. */ @java.lang.Override @@ -9998,49 +8208,37 @@ public boolean hasWeekDayOfMonth() { return dayOfMonthCase_ == 1; } /** - * - * *
      * Required. Week day in a month.
      * 
* - * - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The weekDayOfMonth. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth getWeekDayOfMonth() { if (dayOfMonthCase_ == 1) { - return (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_; + return (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_; } return com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); } /** - * - * *
      * Required. Week day in a month.
      * 
* - * - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder - getWeekDayOfMonthOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder getWeekDayOfMonthOrBuilder() { if (dayOfMonthCase_ == 1) { - return (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_; + return (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_; } return com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); } public static final int MONTH_DAY_FIELD_NUMBER = 2; /** - * - * *
      * Required. One day of the month. 1-31 indicates the 1st to the 31st day.
      * -1 indicates the last day of the month. Months without the target day
@@ -10049,7 +8247,6 @@ public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth getWeekDayOf
      * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the monthDay field is set. */ @java.lang.Override @@ -10057,8 +8254,6 @@ public boolean hasMonthDay() { return dayOfMonthCase_ == 2; } /** - * - * *
      * Required. One day of the month. 1-31 indicates the 1st to the 31st day.
      * -1 indicates the last day of the month. Months without the target day
@@ -10067,7 +8262,6 @@ public boolean hasMonthDay() {
      * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The monthDay. */ @java.lang.Override @@ -10079,7 +8273,6 @@ public int getMonthDay() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10091,13 +8284,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dayOfMonthCase_ == 1) { - output.writeMessage( - 1, (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_); + output.writeMessage(1, (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_); } if (dayOfMonthCase_ == 2) { - output.writeInt32(2, (int) ((java.lang.Integer) dayOfMonth_)); + output.writeInt32( + 2, (int)((java.lang.Integer) dayOfMonth_)); } unknownFields.writeTo(output); } @@ -10109,14 +8303,13 @@ public int getSerializedSize() { size = 0; if (dayOfMonthCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_); } if (dayOfMonthCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 2, (int) ((java.lang.Integer) dayOfMonth_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 2, (int)((java.lang.Integer) dayOfMonth_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -10126,21 +8319,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule other = - (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) obj; + com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule other = (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) obj; if (!getDayOfMonthCase().equals(other.getDayOfMonthCase())) return false; switch (dayOfMonthCase_) { case 1: - if (!getWeekDayOfMonth().equals(other.getWeekDayOfMonth())) return false; + if (!getWeekDayOfMonth() + .equals(other.getWeekDayOfMonth())) return false; break; case 2: - if (getMonthDay() != other.getMonthDay()) return false; + if (getMonthDay() + != other.getMonthDay()) return false; break; case 0: default: @@ -10174,94 +8368,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule 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.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10271,8 +8458,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents a monthly schedule. An example of a valid monthly schedule is
      * "on the third Tuesday of the month" or "on the 15th of the month".
@@ -10280,24 +8465,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.MonthlySchedule}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.MonthlySchedule)
         com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchDeployments
-            .internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchDeployments
-            .internal_static_google_cloud_osconfig_v1_MonthlySchedule_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_MonthlySchedule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.class,
-                com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder.class);
+                com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.class, com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.newBuilder()
@@ -10305,15 +8487,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -10323,14 +8506,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchDeployments
-            .internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.getDefaultInstance();
       }
 
@@ -10345,8 +8527,7 @@ public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule buildPartial() {
-        com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule result =
-            new com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule(this);
+        com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule result = new com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule(this);
         if (dayOfMonthCase_ == 1) {
           if (weekDayOfMonthBuilder_ == null) {
             result.dayOfMonth_ = dayOfMonth_;
@@ -10366,67 +8547,58 @@ public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule buildPartia
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchDeployments.MonthlySchedule) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule other) {
-        if (other
-            == com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule other) {
+        if (other == com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.getDefaultInstance()) return this;
         switch (other.getDayOfMonthCase()) {
-          case WEEK_DAY_OF_MONTH:
-            {
-              mergeWeekDayOfMonth(other.getWeekDayOfMonth());
-              break;
-            }
-          case MONTH_DAY:
-            {
-              setMonthDay(other.getMonthDay());
-              break;
-            }
-          case DAYOFMONTH_NOT_SET:
-            {
-              break;
-            }
+          case WEEK_DAY_OF_MONTH: {
+            mergeWeekDayOfMonth(other.getWeekDayOfMonth());
+            break;
+          }
+          case MONTH_DAY: {
+            setMonthDay(other.getMonthDay());
+            break;
+          }
+          case DAYOFMONTH_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -10447,9 +8619,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -10458,12 +8628,12 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int dayOfMonthCase_ = 0;
       private java.lang.Object dayOfMonth_;
-
-      public DayOfMonthCase getDayOfMonthCase() {
-        return DayOfMonthCase.forNumber(dayOfMonthCase_);
+      public DayOfMonthCase
+          getDayOfMonthCase() {
+        return DayOfMonthCase.forNumber(
+            dayOfMonthCase_);
       }
 
       public Builder clearDayOfMonth() {
@@ -10473,22 +8643,15 @@ public Builder clearDayOfMonth() {
         return this;
       }
 
+
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth,
-              com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder,
-              com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder>
-          weekDayOfMonthBuilder_;
+          com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth, com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder, com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder> weekDayOfMonthBuilder_;
       /**
-       *
-       *
        * 
        * Required. Week day in a month.
        * 
* - * - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the weekDayOfMonth field is set. */ @java.lang.Override @@ -10496,16 +8659,11 @@ public boolean hasWeekDayOfMonth() { return dayOfMonthCase_ == 1; } /** - * - * *
        * Required. Week day in a month.
        * 
* - * - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The weekDayOfMonth. */ @java.lang.Override @@ -10523,18 +8681,13 @@ public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth getWeekDayOf } } /** - * - * *
        * Required. Week day in a month.
        * 
* - * - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setWeekDayOfMonth( - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth value) { + public Builder setWeekDayOfMonth(com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth value) { if (weekDayOfMonthBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10548,15 +8701,11 @@ public Builder setWeekDayOfMonth( return this; } /** - * - * *
        * Required. Week day in a month.
        * 
* - * - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setWeekDayOfMonth( com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder builderForValue) { @@ -10570,28 +8719,18 @@ public Builder setWeekDayOfMonth( return this; } /** - * - * *
        * Required. Week day in a month.
        * 
* - * - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeWeekDayOfMonth( - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth value) { + public Builder mergeWeekDayOfMonth(com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth value) { if (weekDayOfMonthBuilder_ == null) { - if (dayOfMonthCase_ == 1 - && dayOfMonth_ - != com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth - .getDefaultInstance()) { - dayOfMonth_ = - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.newBuilder( - (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_) - .mergeFrom(value) - .buildPartial(); + if (dayOfMonthCase_ == 1 && + dayOfMonth_ != com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.getDefaultInstance()) { + dayOfMonth_ = com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.newBuilder((com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_) + .mergeFrom(value).buildPartial(); } else { dayOfMonth_ = value; } @@ -10607,15 +8746,11 @@ public Builder mergeWeekDayOfMonth( return this; } /** - * - * *
        * Required. Week day in a month.
        * 
* - * - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearWeekDayOfMonth() { if (weekDayOfMonthBuilder_ == null) { @@ -10634,34 +8769,24 @@ public Builder clearWeekDayOfMonth() { return this; } /** - * - * *
        * Required. Week day in a month.
        * 
* - * - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder - getWeekDayOfMonthBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder getWeekDayOfMonthBuilder() { return getWeekDayOfMonthFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Week day in a month.
        * 
* - * - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder - getWeekDayOfMonthOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder getWeekDayOfMonthOrBuilder() { if ((dayOfMonthCase_ == 1) && (weekDayOfMonthBuilder_ != null)) { return weekDayOfMonthBuilder_.getMessageOrBuilder(); } else { @@ -10672,45 +8797,32 @@ public Builder clearWeekDayOfMonth() { } } /** - * - * *
        * Required. Week day in a month.
        * 
* - * - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth, - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder> + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth, com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder, com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder> getWeekDayOfMonthFieldBuilder() { if (weekDayOfMonthBuilder_ == null) { if (!(dayOfMonthCase_ == 1)) { - dayOfMonth_ = - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); + dayOfMonth_ = com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); } - weekDayOfMonthBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth, - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder>( + weekDayOfMonthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth, com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder, com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder>( (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_, getParentForChildren(), isClean()); dayOfMonth_ = null; } dayOfMonthCase_ = 1; - onChanged(); - ; + onChanged();; return weekDayOfMonthBuilder_; } /** - * - * *
        * Required. One day of the month. 1-31 indicates the 1st to the 31st day.
        * -1 indicates the last day of the month. Months without the target day
@@ -10719,15 +8831,12 @@ public Builder clearWeekDayOfMonth() {
        * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the monthDay field is set. */ public boolean hasMonthDay() { return dayOfMonthCase_ == 2; } /** - * - * *
        * Required. One day of the month. 1-31 indicates the 1st to the 31st day.
        * -1 indicates the last day of the month. Months without the target day
@@ -10736,7 +8845,6 @@ public boolean hasMonthDay() {
        * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The monthDay. */ public int getMonthDay() { @@ -10746,8 +8854,6 @@ public int getMonthDay() { return 0; } /** - * - * *
        * Required. One day of the month. 1-31 indicates the 1st to the 31st day.
        * -1 indicates the last day of the month. Months without the target day
@@ -10756,7 +8862,6 @@ public int getMonthDay() {
        * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The monthDay to set. * @return This builder for chaining. */ @@ -10767,8 +8872,6 @@ public Builder setMonthDay(int value) { return this; } /** - * - * *
        * Required. One day of the month. 1-31 indicates the 1st to the 31st day.
        * -1 indicates the last day of the month. Months without the target day
@@ -10777,7 +8880,6 @@ public Builder setMonthDay(int value) {
        * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMonthDay() { @@ -10788,7 +8890,6 @@ public Builder clearMonthDay() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10801,32 +8902,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.MonthlySchedule) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.MonthlySchedule) - private static final com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MonthlySchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MonthlySchedule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MonthlySchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MonthlySchedule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10838,61 +8937,47 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface WeekDayOfMonthOrBuilder - extends + public interface WeekDayOfMonthOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.WeekDayOfMonth) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the
      * month. -1 indicates the last week of the month.
      * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The weekOrdinal. */ int getWeekOrdinal(); /** - * - * *
      * Required. A day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dayOfWeek. */ int getDayOfWeekValue(); /** - * - * *
      * Required. A day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dayOfWeek. */ com.google.type.DayOfWeek getDayOfWeek(); /** - * - * *
      * Optional. Represents the number of days before or after the given week day
      * of month that the patch deployment is scheduled for. For example if
@@ -10904,45 +8989,42 @@ public interface WeekDayOfMonthOrBuilder
      * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The dayOffset. */ int getDayOffset(); } /** - * - * *
    * Represents one week day in a month. An example is "the 4th Sunday".
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.WeekDayOfMonth} */ - public static final class WeekDayOfMonth extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class WeekDayOfMonth extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.WeekDayOfMonth) WeekDayOfMonthOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WeekDayOfMonth.newBuilder() to construct. private WeekDayOfMonth(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WeekDayOfMonth() { dayOfWeek_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WeekDayOfMonth(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WeekDayOfMonth( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10961,30 +9043,29 @@ private WeekDayOfMonth( case 0: done = true; break; - case 8: - { - weekOrdinal_ = input.readInt32(); - break; - } - case 16: - { - int rawValue = input.readEnum(); + case 8: { - dayOfWeek_ = rawValue; - break; - } - case 24: - { - dayOffset_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + weekOrdinal_ = input.readInt32(); + break; + } + case 16: { + int rawValue = input.readEnum(); + + dayOfWeek_ = rawValue; + break; + } + case 24: { + + dayOffset_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10992,40 +9073,35 @@ private WeekDayOfMonth( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.class, - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.class, com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder.class); } public static final int WEEK_ORDINAL_FIELD_NUMBER = 1; private int weekOrdinal_; /** - * - * *
      * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the
      * month. -1 indicates the last week of the month.
      * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The weekOrdinal. */ @java.lang.Override @@ -11036,35 +9112,25 @@ public int getWeekOrdinal() { public static final int DAY_OF_WEEK_FIELD_NUMBER = 2; private int dayOfWeek_; /** - * - * *
      * Required. A day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override - public int getDayOfWeekValue() { + @java.lang.Override public int getDayOfWeekValue() { return dayOfWeek_; } /** - * - * *
      * Required. A day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dayOfWeek. */ - @java.lang.Override - public com.google.type.DayOfWeek getDayOfWeek() { + @java.lang.Override public com.google.type.DayOfWeek getDayOfWeek() { @SuppressWarnings("deprecation") com.google.type.DayOfWeek result = com.google.type.DayOfWeek.valueOf(dayOfWeek_); return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; @@ -11073,8 +9139,6 @@ public com.google.type.DayOfWeek getDayOfWeek() { public static final int DAY_OFFSET_FIELD_NUMBER = 3; private int dayOffset_; /** - * - * *
      * Optional. Represents the number of days before or after the given week day
      * of month that the patch deployment is scheduled for. For example if
@@ -11086,7 +9150,6 @@ public com.google.type.DayOfWeek getDayOfWeek() {
      * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The dayOffset. */ @java.lang.Override @@ -11095,7 +9158,6 @@ public int getDayOffset() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11107,7 +9169,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (weekOrdinal_ != 0) { output.writeInt32(1, weekOrdinal_); } @@ -11127,13 +9190,16 @@ public int getSerializedSize() { size = 0; if (weekOrdinal_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, weekOrdinal_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, weekOrdinal_); } if (dayOfWeek_ != com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, dayOfWeek_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, dayOfWeek_); } if (dayOffset_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, dayOffset_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, dayOffset_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -11143,17 +9209,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth other = - (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) obj; + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth other = (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) obj; - if (getWeekOrdinal() != other.getWeekOrdinal()) return false; + if (getWeekOrdinal() + != other.getWeekOrdinal()) return false; if (dayOfWeek_ != other.dayOfWeek_) return false; - if (getDayOffset() != other.getDayOffset()) return false; + if (getDayOffset() + != other.getDayOffset()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11177,94 +9244,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth 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.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11274,32 +9334,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents one week day in a month. An example is "the 4th Sunday".
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.WeekDayOfMonth} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.WeekDayOfMonth) com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.class, - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.class, com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.newBuilder() @@ -11307,15 +9362,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -11329,14 +9385,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); } @@ -11351,8 +9406,7 @@ public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth result = - new com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth(this); + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth result = new com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth(this); result.weekOrdinal_ = weekOrdinal_; result.dayOfWeek_ = dayOfWeek_; result.dayOffset_ = dayOffset_; @@ -11364,41 +9418,38 @@ public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.WeekDayOfMonth) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth)other); } else { super.mergeFrom(other); return this; @@ -11406,9 +9457,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth other) { - if (other - == com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.getDefaultInstance()) return this; if (other.getWeekOrdinal() != 0) { setWeekOrdinal(other.getWeekOrdinal()); } @@ -11437,9 +9486,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -11449,17 +9496,14 @@ public Builder mergeFrom( return this; } - private int weekOrdinal_; + private int weekOrdinal_ ; /** - * - * *
        * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the
        * month. -1 indicates the last week of the month.
        * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The weekOrdinal. */ @java.lang.Override @@ -11467,38 +9511,32 @@ public int getWeekOrdinal() { return weekOrdinal_; } /** - * - * *
        * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the
        * month. -1 indicates the last week of the month.
        * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The weekOrdinal to set. * @return This builder for chaining. */ public Builder setWeekOrdinal(int value) { - + weekOrdinal_ = value; onChanged(); return this; } /** - * - * *
        * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the
        * month. -1 indicates the last week of the month.
        * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearWeekOrdinal() { - + weekOrdinal_ = 0; onChanged(); return this; @@ -11506,50 +9544,37 @@ public Builder clearWeekOrdinal() { private int dayOfWeek_ = 0; /** - * - * *
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override - public int getDayOfWeekValue() { + @java.lang.Override public int getDayOfWeekValue() { return dayOfWeek_; } /** - * - * *
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for dayOfWeek to set. * @return This builder for chaining. */ public Builder setDayOfWeekValue(int value) { - + dayOfWeek_ = value; onChanged(); return this; } /** - * - * *
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dayOfWeek. */ @java.lang.Override @@ -11559,15 +9584,11 @@ public com.google.type.DayOfWeek getDayOfWeek() { return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; } /** - * - * *
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The dayOfWeek to set. * @return This builder for chaining. */ @@ -11575,34 +9596,28 @@ public Builder setDayOfWeek(com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } - + dayOfWeek_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearDayOfWeek() { - + dayOfWeek_ = 0; onChanged(); return this; } - private int dayOffset_; + private int dayOffset_ ; /** - * - * *
        * Optional. Represents the number of days before or after the given week day
        * of month that the patch deployment is scheduled for. For example if
@@ -11614,7 +9629,6 @@ public Builder clearDayOfWeek() {
        * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The dayOffset. */ @java.lang.Override @@ -11622,8 +9636,6 @@ public int getDayOffset() { return dayOffset_; } /** - * - * *
        * Optional. Represents the number of days before or after the given week day
        * of month that the patch deployment is scheduled for. For example if
@@ -11635,19 +9647,16 @@ public int getDayOffset() {
        * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The dayOffset to set. * @return This builder for chaining. */ public Builder setDayOffset(int value) { - + dayOffset_ = value; onChanged(); return this; } /** - * - * *
        * Optional. Represents the number of days before or after the given week day
        * of month that the patch deployment is scheduled for. For example if
@@ -11659,16 +9668,14 @@ public Builder setDayOffset(int value) {
        * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDayOffset() { - + dayOffset_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11681,32 +9688,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.WeekDayOfMonth) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.WeekDayOfMonth) - private static final com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WeekDayOfMonth parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WeekDayOfMonth(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WeekDayOfMonth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WeekDayOfMonth(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11718,51 +9723,39 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface CreatePatchDeploymentRequestOrBuilder - extends + public interface CreatePatchDeploymentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.CreatePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The project to apply this patch deployment to in the form
      * `projects/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
      * Required. The project to apply this patch deployment to in the form
      * `projects/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
      * Required. A name for the patch deployment in the project. When creating a
      * name the following rules apply:
@@ -11774,13 +9767,10 @@ public interface CreatePatchDeploymentRequestOrBuilder
      * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The patchDeploymentId. */ java.lang.String getPatchDeploymentId(); /** - * - * *
      * Required. A name for the patch deployment in the project. When creating a
      * name the following rules apply:
@@ -11792,74 +9782,54 @@ public interface CreatePatchDeploymentRequestOrBuilder
      * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for patchDeploymentId. */ - com.google.protobuf.ByteString getPatchDeploymentIdBytes(); + com.google.protobuf.ByteString + getPatchDeploymentIdBytes(); /** - * - * *
      * Required. The patch deployment to create.
      * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the patchDeployment field is set. */ boolean hasPatchDeployment(); /** - * - * *
      * Required. The patch deployment to create.
      * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The patchDeployment. */ com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployment(); /** - * - * *
      * Required. The patch deployment to create.
      * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder - getPatchDeploymentOrBuilder(); + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder(); } /** - * - * *
    * A request message for creating a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.CreatePatchDeploymentRequest} */ - public static final class CreatePatchDeploymentRequest - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CreatePatchDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.CreatePatchDeploymentRequest) CreatePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreatePatchDeploymentRequest.newBuilder() to construct. - private CreatePatchDeploymentRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreatePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreatePatchDeploymentRequest() { parent_ = ""; patchDeploymentId_ = ""; @@ -11867,15 +9837,16 @@ private CreatePatchDeploymentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreatePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreatePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -11894,45 +9865,38 @@ private CreatePatchDeploymentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - patchDeploymentId_ = s; - break; + patchDeploymentId_ = s; + break; + } + case 26: { + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder subBuilder = null; + if (patchDeployment_ != null) { + subBuilder = patchDeployment_.toBuilder(); } - case 26: - { - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder subBuilder = - null; - if (patchDeployment_ != null) { - subBuilder = patchDeployment_.toBuilder(); - } - patchDeployment_ = - input.readMessage( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(patchDeployment_); - patchDeployment_ = subBuilder.buildPartial(); - } - - break; + patchDeployment_ = input.readMessage(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(patchDeployment_); + patchDeployment_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -11940,43 +9904,35 @@ private CreatePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.class, - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.Builder - .class); + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
      * Required. The project to apply this patch deployment to in the form
      * `projects/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -11985,32 +9941,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
      * Required. The project to apply this patch deployment to in the form
      * `projects/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -12021,8 +9975,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PATCH_DEPLOYMENT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object patchDeploymentId_; /** - * - * *
      * Required. A name for the patch deployment in the project. When creating a
      * name the following rules apply:
@@ -12034,7 +9986,6 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The patchDeploymentId. */ @java.lang.Override @@ -12043,15 +9994,14 @@ public java.lang.String getPatchDeploymentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchDeploymentId_ = s; return s; } } /** - * - * *
      * Required. A name for the patch deployment in the project. When creating a
      * name the following rules apply:
@@ -12063,15 +10013,16 @@ public java.lang.String getPatchDeploymentId() {
      * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for patchDeploymentId. */ @java.lang.Override - public com.google.protobuf.ByteString getPatchDeploymentIdBytes() { + public com.google.protobuf.ByteString + getPatchDeploymentIdBytes() { java.lang.Object ref = patchDeploymentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); patchDeploymentId_ = b; return b; } else { @@ -12082,16 +10033,11 @@ public com.google.protobuf.ByteString getPatchDeploymentIdBytes() { public static final int PATCH_DEPLOYMENT_FIELD_NUMBER = 3; private com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment patchDeployment_; /** - * - * *
      * Required. The patch deployment to create.
      * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the patchDeployment field is set. */ @java.lang.Override @@ -12099,43 +10045,30 @@ public boolean hasPatchDeployment() { return patchDeployment_ != null; } /** - * - * *
      * Required. The patch deployment to create.
      * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The patchDeployment. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployment() { - return patchDeployment_ == null - ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() - : patchDeployment_; + return patchDeployment_ == null ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; } /** - * - * *
      * Required. The patch deployment to create.
      * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder - getPatchDeploymentOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder() { return getPatchDeployment(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12147,7 +10080,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -12173,7 +10107,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, patchDeploymentId_); } if (patchDeployment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPatchDeployment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getPatchDeployment()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -12183,20 +10118,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest other = - (com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest other = (com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPatchDeploymentId().equals(other.getPatchDeploymentId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPatchDeploymentId() + .equals(other.getPatchDeploymentId())) return false; if (hasPatchDeployment() != other.hasPatchDeployment()) return false; if (hasPatchDeployment()) { - if (!getPatchDeployment().equals(other.getPatchDeployment())) return false; + if (!getPatchDeployment() + .equals(other.getPatchDeployment())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -12222,101 +10158,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest - 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.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest - 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.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -12326,50 +10249,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for creating a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.CreatePatchDeploymentRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.CreatePatchDeploymentRequest) com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.class, - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.Builder - .class); + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -12387,22 +10304,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest build() { - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest result = - buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -12410,10 +10324,8 @@ public com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentReques } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest - buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest result = - new com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest buildPartial() { + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest result = new com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest(this); result.parent_ = parent_; result.patchDeploymentId_ = patchDeploymentId_; if (patchDeploymentBuilder_ == null) { @@ -12429,54 +10341,46 @@ public com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest) other); + if (other instanceof com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest) { + return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest other) { - if (other - == com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest other) { + if (other == com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -12503,14 +10407,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parsedMessage = - null; + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12522,23 +10423,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
        * Required. The project to apply this patch deployment to in the form
        * `projects/*`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -12547,24 +10444,21 @@ public java.lang.String getParent() { } } /** - * - * *
        * Required. The project to apply this patch deployment to in the form
        * `projects/*`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -12572,70 +10466,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
        * Required. The project to apply this patch deployment to in the form
        * `projects/*`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
        * Required. The project to apply this patch deployment to in the form
        * `projects/*`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
        * Required. The project to apply this patch deployment to in the form
        * `projects/*`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -12643,8 +10524,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object patchDeploymentId_ = ""; /** - * - * *
        * Required. A name for the patch deployment in the project. When creating a
        * name the following rules apply:
@@ -12656,13 +10535,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The patchDeploymentId. */ public java.lang.String getPatchDeploymentId() { java.lang.Object ref = patchDeploymentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchDeploymentId_ = s; return s; @@ -12671,8 +10550,6 @@ public java.lang.String getPatchDeploymentId() { } } /** - * - * *
        * Required. A name for the patch deployment in the project. When creating a
        * name the following rules apply:
@@ -12684,14 +10561,15 @@ public java.lang.String getPatchDeploymentId() {
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for patchDeploymentId. */ - public com.google.protobuf.ByteString getPatchDeploymentIdBytes() { + public com.google.protobuf.ByteString + getPatchDeploymentIdBytes() { java.lang.Object ref = patchDeploymentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); patchDeploymentId_ = b; return b; } else { @@ -12699,8 +10577,6 @@ public com.google.protobuf.ByteString getPatchDeploymentIdBytes() { } } /** - * - * *
        * Required. A name for the patch deployment in the project. When creating a
        * name the following rules apply:
@@ -12712,22 +10588,20 @@ public com.google.protobuf.ByteString getPatchDeploymentIdBytes() {
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The patchDeploymentId to set. * @return This builder for chaining. */ - public Builder setPatchDeploymentId(java.lang.String value) { + public Builder setPatchDeploymentId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + patchDeploymentId_ = value; onChanged(); return this; } /** - * - * *
        * Required. A name for the patch deployment in the project. When creating a
        * name the following rules apply:
@@ -12739,18 +10613,15 @@ public Builder setPatchDeploymentId(java.lang.String value) {
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPatchDeploymentId() { - + patchDeploymentId_ = getDefaultInstance().getPatchDeploymentId(); onChanged(); return this; } /** - * - * *
        * Required. A name for the patch deployment in the project. When creating a
        * name the following rules apply:
@@ -12762,16 +10633,16 @@ public Builder clearPatchDeploymentId() {
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for patchDeploymentId to set. * @return This builder for chaining. */ - public Builder setPatchDeploymentIdBytes(com.google.protobuf.ByteString value) { + public Builder setPatchDeploymentIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + patchDeploymentId_ = value; onChanged(); return this; @@ -12779,61 +10650,41 @@ public Builder setPatchDeploymentIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment patchDeployment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> - patchDeploymentBuilder_; + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> patchDeploymentBuilder_; /** - * - * *
        * Required. The patch deployment to create.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the patchDeployment field is set. */ public boolean hasPatchDeployment() { return patchDeploymentBuilder_ != null || patchDeployment_ != null; } /** - * - * *
        * Required. The patch deployment to create.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The patchDeployment. */ public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployment() { if (patchDeploymentBuilder_ == null) { - return patchDeployment_ == null - ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() - : patchDeployment_; + return patchDeployment_ == null ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; } else { return patchDeploymentBuilder_.getMessage(); } } /** - * - * *
        * Required. The patch deployment to create.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setPatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { + public Builder setPatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { if (patchDeploymentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12847,15 +10698,11 @@ public Builder setPatchDeployment( return this; } /** - * - * *
        * Required. The patch deployment to create.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPatchDeployment( com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder builderForValue) { @@ -12869,25 +10716,17 @@ public Builder setPatchDeployment( return this; } /** - * - * *
        * Required. The patch deployment to create.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { + public Builder mergePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { if (patchDeploymentBuilder_ == null) { if (patchDeployment_ != null) { patchDeployment_ = - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.newBuilder( - patchDeployment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.newBuilder(patchDeployment_).mergeFrom(value).buildPartial(); } else { patchDeployment_ = value; } @@ -12899,15 +10738,11 @@ public Builder mergePatchDeployment( return this; } /** - * - * *
        * Required. The patch deployment to create.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPatchDeployment() { if (patchDeploymentBuilder_ == null) { @@ -12921,71 +10756,52 @@ public Builder clearPatchDeployment() { return this; } /** - * - * *
        * Required. The patch deployment to create.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder - getPatchDeploymentBuilder() { - + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder getPatchDeploymentBuilder() { + onChanged(); return getPatchDeploymentFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The patch deployment to create.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder - getPatchDeploymentOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder() { if (patchDeploymentBuilder_ != null) { return patchDeploymentBuilder_.getMessageOrBuilder(); } else { - return patchDeployment_ == null - ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() - : patchDeployment_; + return patchDeployment_ == null ? + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; } } /** - * - * *
        * Required. The patch deployment to create.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> getPatchDeploymentFieldBuilder() { if (patchDeploymentBuilder_ == null) { - patchDeploymentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder>( - getPatchDeployment(), getParentForChildren(), isClean()); + patchDeploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder>( + getPatchDeployment(), + getParentForChildren(), + isClean()); patchDeployment_ = null; } return patchDeploymentBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12998,33 +10814,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.CreatePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.CreatePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreatePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreatePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13036,82 +10849,70 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GetPatchDeploymentRequestOrBuilder - extends + public interface GetPatchDeploymentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.GetPatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * A request message for retrieving a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetPatchDeploymentRequest} */ - public static final class GetPatchDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GetPatchDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.GetPatchDeploymentRequest) GetPatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPatchDeploymentRequest.newBuilder() to construct. private GetPatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPatchDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetPatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -13130,20 +10931,19 @@ private GetPatchDeploymentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -13151,43 +10951,35 @@ private GetPatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.class, - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.Builder - .class); + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -13196,32 +10988,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -13230,7 +11020,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13242,7 +11031,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -13266,16 +11056,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest other = - (com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest other = (com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -13295,95 +11084,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest 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.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest - 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.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest 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.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -13393,50 +11174,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for retrieving a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetPatchDeploymentRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.GetPatchDeploymentRequest) com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.class, - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.Builder - .class); + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -13446,22 +11221,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest build() { - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest result = - buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -13469,10 +11241,8 @@ public com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest b } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest - buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest result = - new com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest buildPartial() { + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest result = new com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -13482,54 +11252,46 @@ public com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest) other); + if (other instanceof com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest) { + return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest other) { - if (other - == com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest other) { + if (other == com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -13549,14 +11311,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parsedMessage = - null; + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -13568,23 +11327,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -13593,24 +11348,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -13618,75 +11370,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13699,33 +11437,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.GetPatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.GetPatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13737,63 +11472,48 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListPatchDeploymentsRequestOrBuilder - extends + public interface ListPatchDeploymentsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListPatchDeploymentsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The resource name of the parent in the form `projects/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
      * Required. The resource name of the parent in the form `projects/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
      * Optional. The maximum number of patch deployments to return. Default is
      * 100.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
      * Optional. A pagination token returned from a previous call to
      * ListPatchDeployments that indicates where this listing should continue
@@ -13801,13 +11521,10 @@ public interface ListPatchDeploymentsRequestOrBuilder
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
      * Optional. A pagination token returned from a previous call to
      * ListPatchDeployments that indicates where this listing should continue
@@ -13815,31 +11532,27 @@ public interface ListPatchDeploymentsRequestOrBuilder
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } /** - * - * *
    * A request message for listing patch deployments.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchDeploymentsRequest} */ - public static final class ListPatchDeploymentsRequest - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListPatchDeploymentsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListPatchDeploymentsRequest) ListPatchDeploymentsRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchDeploymentsRequest.newBuilder() to construct. private ListPatchDeploymentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPatchDeploymentsRequest() { parent_ = ""; pageToken_ = ""; @@ -13847,15 +11560,16 @@ private ListPatchDeploymentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPatchDeploymentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPatchDeploymentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -13874,32 +11588,30 @@ private ListPatchDeploymentsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -13907,42 +11619,34 @@ private ListPatchDeploymentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.class, - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.Builder - .class); + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
      * Required. The resource name of the parent in the form `projects/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -13951,31 +11655,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
      * Required. The resource name of the parent in the form `projects/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -13986,15 +11688,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
      * Optional. The maximum number of patch deployments to return. Default is
      * 100.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -14005,8 +11704,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
      * Optional. A pagination token returned from a previous call to
      * ListPatchDeployments that indicates where this listing should continue
@@ -14014,7 +11711,6 @@ public int getPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -14023,15 +11719,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
      * Optional. A pagination token returned from a previous call to
      * ListPatchDeployments that indicates where this listing should continue
@@ -14039,15 +11734,16 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -14056,7 +11752,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -14068,7 +11763,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -14091,7 +11787,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -14104,18 +11801,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest other = - (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest) obj; + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest other = (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -14138,101 +11836,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest - 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest - 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -14242,50 +11927,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for listing patch deployments.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchDeploymentsRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListPatchDeploymentsRequest) com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.class, - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.Builder - .class); + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -14299,22 +11978,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest build() { - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest result = - buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -14322,10 +11998,8 @@ public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest - buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest result = - new com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest(this); + public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest buildPartial() { + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest result = new com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -14337,54 +12011,46 @@ public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest) other); + if (other instanceof com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest) { + return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest other) { - if (other - == com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest other) { + if (other == com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -14411,14 +12077,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parsedMessage = - null; + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -14430,22 +12093,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -14454,23 +12113,20 @@ public java.lang.String getParent() { } } /** - * - * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -14478,83 +12134,67 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
        * Optional. The maximum number of patch deployments to return. Default is
        * 100.
        * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -14562,38 +12202,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
        * Optional. The maximum number of patch deployments to return. Default is
        * 100.
        * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
        * Optional. The maximum number of patch deployments to return. Default is
        * 100.
        * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -14601,8 +12235,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
        * Optional. A pagination token returned from a previous call to
        * ListPatchDeployments that indicates where this listing should continue
@@ -14610,13 +12242,13 @@ public Builder clearPageSize() {
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -14625,8 +12257,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
        * Optional. A pagination token returned from a previous call to
        * ListPatchDeployments that indicates where this listing should continue
@@ -14634,14 +12264,15 @@ public java.lang.String getPageToken() {
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -14649,8 +12280,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
        * Optional. A pagination token returned from a previous call to
        * ListPatchDeployments that indicates where this listing should continue
@@ -14658,22 +12287,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
        * Optional. A pagination token returned from a previous call to
        * ListPatchDeployments that indicates where this listing should continue
@@ -14681,18 +12308,15 @@ public Builder setPageToken(java.lang.String value) {
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
        * Optional. A pagination token returned from a previous call to
        * ListPatchDeployments that indicates where this listing should continue
@@ -14700,21 +12324,20 @@ public Builder clearPageToken() {
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14727,33 +12350,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListPatchDeploymentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListPatchDeploymentsRequest) - private static final com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchDeploymentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchDeploymentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchDeploymentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchDeploymentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14765,31 +12385,26 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListPatchDeploymentsResponseOrBuilder - extends + public interface ListPatchDeploymentsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListPatchDeploymentsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The list of patch deployments.
      * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - java.util.List + java.util.List getPatchDeploymentsList(); /** - * - * *
      * The list of patch deployments.
      * 
@@ -14798,8 +12413,6 @@ public interface ListPatchDeploymentsResponseOrBuilder */ com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployments(int index); /** - * - * *
      * The list of patch deployments.
      * 
@@ -14808,76 +12421,62 @@ public interface ListPatchDeploymentsResponseOrBuilder */ int getPatchDeploymentsCount(); /** - * - * *
      * The list of patch deployments.
      * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - java.util.List + java.util.List getPatchDeploymentsOrBuilderList(); /** - * - * *
      * The list of patch deployments.
      * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder - getPatchDeploymentsOrBuilder(int index); + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentsOrBuilder( + int index); /** - * - * *
      * A pagination token that can be used to get the next page of patch
      * deployments.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
      * A pagination token that can be used to get the next page of patch
      * deployments.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } /** - * - * *
    * A response message for listing patch deployments.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchDeploymentsResponse} */ - public static final class ListPatchDeploymentsResponse - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListPatchDeploymentsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListPatchDeploymentsResponse) ListPatchDeploymentsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchDeploymentsResponse.newBuilder() to construct. - private ListPatchDeploymentsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListPatchDeploymentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPatchDeploymentsResponse() { patchDeployments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -14885,15 +12484,16 @@ private ListPatchDeploymentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPatchDeploymentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPatchDeploymentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -14913,34 +12513,28 @@ private ListPatchDeploymentsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - patchDeployments_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>(); - mutable_bitField0_ |= 0x00000001; - } - patchDeployments_.add( - input.readMessage( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + patchDeployments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + patchDeployments_.add( + input.readMessage(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -14948,7 +12542,8 @@ private ListPatchDeploymentsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { patchDeployments_ = java.util.Collections.unmodifiableList(patchDeployments_); @@ -14957,29 +12552,22 @@ private ListPatchDeploymentsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.class, - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.Builder - .class); + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.class, com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.Builder.class); } public static final int PATCH_DEPLOYMENTS_FIELD_NUMBER = 1; - private java.util.List - patchDeployments_; + private java.util.List patchDeployments_; /** - * - * *
      * The list of patch deployments.
      * 
@@ -14987,13 +12575,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ @java.lang.Override - public java.util.List - getPatchDeploymentsList() { + public java.util.List getPatchDeploymentsList() { return patchDeployments_; } /** - * - * *
      * The list of patch deployments.
      * 
@@ -15001,14 +12586,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> + public java.util.List getPatchDeploymentsOrBuilderList() { return patchDeployments_; } /** - * - * *
      * The list of patch deployments.
      * 
@@ -15020,8 +12602,6 @@ public int getPatchDeploymentsCount() { return patchDeployments_.size(); } /** - * - * *
      * The list of patch deployments.
      * 
@@ -15029,13 +12609,10 @@ public int getPatchDeploymentsCount() { * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployments( - int index) { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployments(int index) { return patchDeployments_.get(index); } /** - * - * *
      * The list of patch deployments.
      * 
@@ -15043,23 +12620,20 @@ public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDep * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder - getPatchDeploymentsOrBuilder(int index) { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentsOrBuilder( + int index) { return patchDeployments_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
      * A pagination token that can be used to get the next page of patch
      * deployments.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -15068,30 +12642,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
      * A pagination token that can be used to get the next page of patch
      * deployments.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -15100,7 +12674,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15112,7 +12685,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < patchDeployments_.size(); i++) { output.writeMessage(1, patchDeployments_.get(i)); } @@ -15129,8 +12703,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < patchDeployments_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, patchDeployments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, patchDeployments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -15143,17 +12717,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse other = - (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse) obj; + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse other = (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse) obj; - if (!getPatchDeploymentsList().equals(other.getPatchDeploymentsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPatchDeploymentsList() + .equals(other.getPatchDeploymentsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -15176,101 +12750,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -15280,52 +12841,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A response message for listing patch deployments.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchDeploymentsResponse} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListPatchDeploymentsResponse) com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.class, - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.Builder - .class); + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.class, com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.newBuilder() + // Construct using com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPatchDeploymentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -15341,22 +12895,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse build() { - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse result = - buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -15364,10 +12915,8 @@ public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRespons } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse result = - new com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse(this); + public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse buildPartial() { + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse result = new com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse(this); int from_bitField0_ = bitField0_; if (patchDeploymentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -15387,54 +12936,46 @@ public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRespons public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse) { - return mergeFrom( - (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse) other); + if (other instanceof com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse) { + return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse other) { - if (other - == com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse other) { + if (other == com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.getDefaultInstance()) return this; if (patchDeploymentsBuilder_ == null) { if (!other.patchDeployments_.isEmpty()) { if (patchDeployments_.isEmpty()) { @@ -15453,10 +12994,9 @@ public Builder mergeFrom( patchDeploymentsBuilder_ = null; patchDeployments_ = other.patchDeployments_; bitField0_ = (bitField0_ & ~0x00000001); - patchDeploymentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPatchDeploymentsFieldBuilder() - : null; + patchDeploymentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPatchDeploymentsFieldBuilder() : null; } else { patchDeploymentsBuilder_.addAllMessages(other.patchDeployments_); } @@ -15481,14 +13021,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parsedMessage = - null; + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -15497,38 +13034,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - patchDeployments_ = java.util.Collections.emptyList(); - + private java.util.List patchDeployments_ = + java.util.Collections.emptyList(); private void ensurePatchDeploymentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - patchDeployments_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>(patchDeployments_); + patchDeployments_ = new java.util.ArrayList(patchDeployments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> - patchDeploymentsBuilder_; + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> patchDeploymentsBuilder_; /** - * - * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - public java.util.List - getPatchDeploymentsList() { + public java.util.List getPatchDeploymentsList() { if (patchDeploymentsBuilder_ == null) { return java.util.Collections.unmodifiableList(patchDeployments_); } else { @@ -15536,8 +13063,6 @@ private void ensurePatchDeploymentsIsMutable() { } } /** - * - * *
        * The list of patch deployments.
        * 
@@ -15552,16 +13077,13 @@ public int getPatchDeploymentsCount() { } } /** - * - * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployments( - int index) { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployments(int index) { if (patchDeploymentsBuilder_ == null) { return patchDeployments_.get(index); } else { @@ -15569,8 +13091,6 @@ public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDep } } /** - * - * *
        * The list of patch deployments.
        * 
@@ -15592,8 +13112,6 @@ public Builder setPatchDeployments( return this; } /** - * - * *
        * The list of patch deployments.
        * 
@@ -15601,8 +13119,7 @@ public Builder setPatchDeployments( * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ public Builder setPatchDeployments( - int index, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder builderForValue) { if (patchDeploymentsBuilder_ == null) { ensurePatchDeploymentsIsMutable(); patchDeployments_.set(index, builderForValue.build()); @@ -15613,16 +13130,13 @@ public Builder setPatchDeployments( return this; } /** - * - * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - public Builder addPatchDeployments( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { + public Builder addPatchDeployments(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { if (patchDeploymentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -15636,8 +13150,6 @@ public Builder addPatchDeployments( return this; } /** - * - * *
        * The list of patch deployments.
        * 
@@ -15659,8 +13171,6 @@ public Builder addPatchDeployments( return this; } /** - * - * *
        * The list of patch deployments.
        * 
@@ -15679,8 +13189,6 @@ public Builder addPatchDeployments( return this; } /** - * - * *
        * The list of patch deployments.
        * 
@@ -15688,8 +13196,7 @@ public Builder addPatchDeployments( * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ public Builder addPatchDeployments( - int index, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder builderForValue) { if (patchDeploymentsBuilder_ == null) { ensurePatchDeploymentsIsMutable(); patchDeployments_.add(index, builderForValue.build()); @@ -15700,8 +13207,6 @@ public Builder addPatchDeployments( return this; } /** - * - * *
        * The list of patch deployments.
        * 
@@ -15709,12 +13214,11 @@ public Builder addPatchDeployments( * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ public Builder addAllPatchDeployments( - java.lang.Iterable< - ? extends com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> - values) { + java.lang.Iterable values) { if (patchDeploymentsBuilder_ == null) { ensurePatchDeploymentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, patchDeployments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, patchDeployments_); onChanged(); } else { patchDeploymentsBuilder_.addAllMessages(values); @@ -15722,8 +13226,6 @@ public Builder addAllPatchDeployments( return this; } /** - * - * *
        * The list of patch deployments.
        * 
@@ -15741,8 +13243,6 @@ public Builder clearPatchDeployments() { return this; } /** - * - * *
        * The list of patch deployments.
        * 
@@ -15760,47 +13260,39 @@ public Builder removePatchDeployments(int index) { return this; } /** - * - * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder - getPatchDeploymentsBuilder(int index) { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder getPatchDeploymentsBuilder( + int index) { return getPatchDeploymentsFieldBuilder().getBuilder(index); } /** - * - * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder - getPatchDeploymentsOrBuilder(int index) { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentsOrBuilder( + int index) { if (patchDeploymentsBuilder_ == null) { - return patchDeployments_.get(index); - } else { + return patchDeployments_.get(index); } else { return patchDeploymentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> - getPatchDeploymentsOrBuilderList() { + public java.util.List + getPatchDeploymentsOrBuilderList() { if (patchDeploymentsBuilder_ != null) { return patchDeploymentsBuilder_.getMessageOrBuilderList(); } else { @@ -15808,61 +13300,45 @@ public Builder removePatchDeployments(int index) { } } /** - * - * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder - addPatchDeploymentsBuilder() { - return getPatchDeploymentsFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance()); + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder addPatchDeploymentsBuilder() { + return getPatchDeploymentsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance()); } /** - * - * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder - addPatchDeploymentsBuilder(int index) { - return getPatchDeploymentsFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance()); + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder addPatchDeploymentsBuilder( + int index) { + return getPatchDeploymentsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance()); } /** - * - * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - public java.util.List - getPatchDeploymentsBuilderList() { + public java.util.List + getPatchDeploymentsBuilderList() { return getPatchDeploymentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> getPatchDeploymentsFieldBuilder() { if (patchDeploymentsBuilder_ == null) { - patchDeploymentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder>( + patchDeploymentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder>( patchDeployments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -15874,21 +13350,19 @@ public Builder removePatchDeployments(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -15897,22 +13371,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -15920,69 +13393,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -15995,33 +13460,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListPatchDeploymentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListPatchDeploymentsResponse) - private static final com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchDeploymentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchDeploymentsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchDeploymentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchDeploymentsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16033,84 +13495,70 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DeletePatchDeploymentRequestOrBuilder - extends + public interface DeletePatchDeploymentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.DeletePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * A request message for deleting a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.DeletePatchDeploymentRequest} */ - public static final class DeletePatchDeploymentRequest - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DeletePatchDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.DeletePatchDeploymentRequest) DeletePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeletePatchDeploymentRequest.newBuilder() to construct. - private DeletePatchDeploymentRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeletePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeletePatchDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeletePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeletePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -16129,20 +13577,19 @@ private DeletePatchDeploymentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -16150,43 +13597,35 @@ private DeletePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.class, - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.Builder - .class); + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -16195,32 +13634,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -16229,7 +13666,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -16241,7 +13677,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -16265,16 +13702,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest other = - (com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest other = (com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -16293,101 +13729,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest - 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.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest - 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.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -16397,50 +13820,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for deleting a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.DeletePatchDeploymentRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.DeletePatchDeploymentRequest) com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.class, - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.Builder - .class); + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -16450,22 +13867,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest build() { - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest result = - buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -16473,10 +13887,8 @@ public com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentReques } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest - buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest result = - new com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest buildPartial() { + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest result = new com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -16486,54 +13898,46 @@ public com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest) other); + if (other instanceof com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest) { + return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest other) { - if (other - == com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest other) { + if (other == com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -16553,14 +13957,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parsedMessage = - null; + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -16572,23 +13973,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -16597,24 +13994,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -16622,75 +14016,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16703,33 +14083,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.DeletePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.DeletePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16741,134 +14118,104 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UpdatePatchDeploymentRequestOrBuilder - extends + public interface UpdatePatchDeploymentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.UpdatePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The patch deployment to Update.
      * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the patchDeployment field is set. */ boolean hasPatchDeployment(); /** - * - * *
      * Required. The patch deployment to Update.
      * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The patchDeployment. */ com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployment(); /** - * - * *
      * Required. The patch deployment to Update.
      * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder - getPatchDeploymentOrBuilder(); + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder(); /** - * - * *
      * Optional. Field mask that controls which fields of the patch deployment
      * should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
      * Optional. Field mask that controls which fields of the patch deployment
      * should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
      * Optional. Field mask that controls which fields of the patch deployment
      * should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } /** - * - * *
    * A request message for updating a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.UpdatePatchDeploymentRequest} */ - public static final class UpdatePatchDeploymentRequest - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class UpdatePatchDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.UpdatePatchDeploymentRequest) UpdatePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdatePatchDeploymentRequest.newBuilder() to construct. - private UpdatePatchDeploymentRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdatePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdatePatchDeploymentRequest() {} + private UpdatePatchDeploymentRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdatePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdatePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -16887,46 +14234,39 @@ private UpdatePatchDeploymentRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder subBuilder = - null; - if (patchDeployment_ != null) { - subBuilder = patchDeployment_.toBuilder(); - } - patchDeployment_ = - input.readMessage( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(patchDeployment_); - patchDeployment_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder subBuilder = null; + if (patchDeployment_ != null) { + subBuilder = patchDeployment_.toBuilder(); + } + patchDeployment_ = input.readMessage(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(patchDeployment_); + patchDeployment_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -16934,42 +14274,34 @@ private UpdatePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.class, - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.Builder - .class); + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.Builder.class); } public static final int PATCH_DEPLOYMENT_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment patchDeployment_; /** - * - * *
      * Required. The patch deployment to Update.
      * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the patchDeployment field is set. */ @java.lang.Override @@ -16977,54 +14309,38 @@ public boolean hasPatchDeployment() { return patchDeployment_ != null; } /** - * - * *
      * Required. The patch deployment to Update.
      * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The patchDeployment. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployment() { - return patchDeployment_ == null - ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() - : patchDeployment_; + return patchDeployment_ == null ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; } /** - * - * *
      * Required. The patch deployment to Update.
      * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder - getPatchDeploymentOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder() { return getPatchDeployment(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
      * Optional. Field mask that controls which fields of the patch deployment
      * should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -17032,16 +14348,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
      * Optional. Field mask that controls which fields of the patch deployment
      * should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -17049,15 +14361,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
      * Optional. Field mask that controls which fields of the patch deployment
      * should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -17065,7 +14374,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -17077,7 +14385,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (patchDeployment_ != null) { output.writeMessage(1, getPatchDeployment()); } @@ -17094,10 +14403,12 @@ public int getSerializedSize() { size = 0; if (patchDeployment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPatchDeployment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPatchDeployment()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -17107,22 +14418,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest other = - (com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest other = (com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest) obj; if (hasPatchDeployment() != other.hasPatchDeployment()) return false; if (hasPatchDeployment()) { - if (!getPatchDeployment().equals(other.getPatchDeployment())) return false; + if (!getPatchDeployment() + .equals(other.getPatchDeployment())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -17148,101 +14459,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest - 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.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest - 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.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -17252,50 +14550,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for updating a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.UpdatePatchDeploymentRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.UpdatePatchDeploymentRequest) com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.class, - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.Builder - .class); + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -17315,22 +14607,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest build() { - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest result = - buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -17338,10 +14627,8 @@ public com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentReques } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest - buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest result = - new com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest buildPartial() { + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest result = new com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest(this); if (patchDeploymentBuilder_ == null) { result.patchDeployment_ = patchDeployment_; } else { @@ -17360,54 +14647,46 @@ public com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest) other); + if (other instanceof com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest) { + return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest other) { - if (other - == com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest other) { + if (other == com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.getDefaultInstance()) return this; if (other.hasPatchDeployment()) { mergePatchDeployment(other.getPatchDeployment()); } @@ -17429,14 +14708,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parsedMessage = - null; + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -17448,61 +14724,41 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment patchDeployment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> - patchDeploymentBuilder_; + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> patchDeploymentBuilder_; /** - * - * *
        * Required. The patch deployment to Update.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the patchDeployment field is set. */ public boolean hasPatchDeployment() { return patchDeploymentBuilder_ != null || patchDeployment_ != null; } /** - * - * *
        * Required. The patch deployment to Update.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The patchDeployment. */ public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployment() { if (patchDeploymentBuilder_ == null) { - return patchDeployment_ == null - ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() - : patchDeployment_; + return patchDeployment_ == null ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; } else { return patchDeploymentBuilder_.getMessage(); } } /** - * - * *
        * Required. The patch deployment to Update.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setPatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { + public Builder setPatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { if (patchDeploymentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -17516,15 +14772,11 @@ public Builder setPatchDeployment( return this; } /** - * - * *
        * Required. The patch deployment to Update.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPatchDeployment( com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder builderForValue) { @@ -17538,25 +14790,17 @@ public Builder setPatchDeployment( return this; } /** - * - * *
        * Required. The patch deployment to Update.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { + public Builder mergePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { if (patchDeploymentBuilder_ == null) { if (patchDeployment_ != null) { patchDeployment_ = - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.newBuilder( - patchDeployment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.newBuilder(patchDeployment_).mergeFrom(value).buildPartial(); } else { patchDeployment_ = value; } @@ -17568,15 +14812,11 @@ public Builder mergePatchDeployment( return this; } /** - * - * *
        * Required. The patch deployment to Update.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPatchDeployment() { if (patchDeploymentBuilder_ == null) { @@ -17590,66 +14830,48 @@ public Builder clearPatchDeployment() { return this; } /** - * - * *
        * Required. The patch deployment to Update.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder - getPatchDeploymentBuilder() { - + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder getPatchDeploymentBuilder() { + onChanged(); return getPatchDeploymentFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The patch deployment to Update.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder - getPatchDeploymentOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder() { if (patchDeploymentBuilder_ != null) { return patchDeploymentBuilder_.getMessageOrBuilder(); } else { - return patchDeployment_ == null - ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() - : patchDeployment_; + return patchDeployment_ == null ? + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; } } /** - * - * *
        * Required. The patch deployment to Update.
        * 
* - * - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> getPatchDeploymentFieldBuilder() { if (patchDeploymentBuilder_ == null) { - patchDeploymentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder>( - getPatchDeployment(), getParentForChildren(), isClean()); + patchDeploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder>( + getPatchDeployment(), + getParentForChildren(), + isClean()); patchDeployment_ = null; } return patchDeploymentBuilder_; @@ -17657,58 +14879,42 @@ public Builder clearPatchDeployment() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
        * Optional. Field mask that controls which fields of the patch deployment
        * should be updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
        * Optional. Field mask that controls which fields of the patch deployment
        * should be updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
        * Optional. Field mask that controls which fields of the patch deployment
        * should be updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -17724,17 +14930,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
        * Optional. Field mask that controls which fields of the patch deployment
        * should be updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -17745,23 +14949,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
        * Optional. Field mask that controls which fields of the patch deployment
        * should be updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -17773,15 +14972,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
        * Optional. Field mask that controls which fields of the patch deployment
        * should be updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -17795,69 +14991,55 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
        * Optional. Field mask that controls which fields of the patch deployment
        * should be updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. Field mask that controls which fields of the patch deployment
        * should be updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
        * Optional. Field mask that controls which fields of the patch deployment
        * should be updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -17870,33 +15052,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.UpdatePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.UpdatePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdatePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdatePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -17908,83 +15087,70 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PausePatchDeploymentRequestOrBuilder - extends + public interface PausePatchDeploymentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.PausePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * A request message for pausing a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.PausePatchDeploymentRequest} */ - public static final class PausePatchDeploymentRequest - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PausePatchDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.PausePatchDeploymentRequest) PausePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PausePatchDeploymentRequest.newBuilder() to construct. private PausePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PausePatchDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PausePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PausePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -18003,20 +15169,19 @@ private PausePatchDeploymentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -18024,43 +15189,35 @@ private PausePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.class, - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.Builder - .class); + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -18069,32 +15226,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -18103,7 +15258,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -18115,7 +15269,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -18139,16 +15294,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest other = - (com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest other = (com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -18167,101 +15321,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest - 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.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest - 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.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -18271,50 +15412,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for pausing a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.PausePatchDeploymentRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.PausePatchDeploymentRequest) com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.class, - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.Builder - .class); + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -18324,22 +15459,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest build() { - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest result = - buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -18347,10 +15479,8 @@ public com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest - buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest result = - new com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest buildPartial() { + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest result = new com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -18360,54 +15490,46 @@ public com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest) other); + if (other instanceof com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest) { + return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest other) { - if (other - == com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest other) { + if (other == com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -18427,14 +15549,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parsedMessage = - null; + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -18446,23 +15565,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -18471,24 +15586,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -18496,75 +15608,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -18577,33 +15675,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.PausePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.PausePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PausePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PausePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PausePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PausePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -18615,84 +15710,70 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ResumePatchDeploymentRequestOrBuilder - extends + public interface ResumePatchDeploymentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ResumePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * A request message for resuming a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ResumePatchDeploymentRequest} */ - public static final class ResumePatchDeploymentRequest - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ResumePatchDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ResumePatchDeploymentRequest) ResumePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResumePatchDeploymentRequest.newBuilder() to construct. - private ResumePatchDeploymentRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ResumePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResumePatchDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResumePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResumePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -18711,20 +15792,19 @@ private ResumePatchDeploymentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -18732,43 +15812,35 @@ private ResumePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.class, - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.Builder - .class); + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -18777,32 +15849,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -18811,7 +15881,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -18823,7 +15892,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -18847,16 +15917,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest other = - (com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest other = (com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -18875,101 +15944,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest - 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.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest - 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.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -18979,50 +16035,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for resuming a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.ResumePatchDeploymentRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ResumePatchDeploymentRequest) com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.class, - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.Builder - .class); + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -19032,22 +16082,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments - .internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest build() { - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest result = - buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -19055,10 +16102,8 @@ public com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentReques } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest - buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest result = - new com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest buildPartial() { + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest result = new com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -19068,54 +16113,46 @@ public com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest) other); + if (other instanceof com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest) { + return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest other) { - if (other - == com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest other) { + if (other == com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -19135,14 +16172,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parsedMessage = - null; + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -19154,23 +16188,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -19179,24 +16209,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -19204,75 +16231,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -19285,33 +16298,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ResumePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ResumePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -19323,321 +16333,285 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_PatchDeployment_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_OneTimeSchedule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_RecurringSchedule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_WeeklySchedule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_MonthlySchedule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { return descriptor; } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; static { java.lang.String[] descriptorData = { - "\n0google/cloud/osconfig/v1/patch_deploym" - + "ents.proto\022\030google.cloud.osconfig.v1\032\037go" - + "ogle/api/field_behavior.proto\032\031google/ap" - + "i/resource.proto\032)google/cloud/osconfig/" - + "v1/patch_jobs.proto\032\036google/protobuf/dur" - + "ation.proto\032 google/protobuf/field_mask." - + "proto\032\037google/protobuf/timestamp.proto\032\032" - + "google/type/datetime.proto\032\033google/type/" - + "dayofweek.proto\032\033google/type/timeofday.p" - + "roto\"\354\006\n\017PatchDeployment\022\014\n\004name\030\001 \001(\t\022\030" - + "\n\013description\030\002 \001(\tB\003\340A\001\022K\n\017instance_fil" - + "ter\030\003 \001(\0132-.google.cloud.osconfig.v1.Pat" - + "chInstanceFilterB\003\340A\002\022@\n\014patch_config\030\004 " - + "\001(\0132%.google.cloud.osconfig.v1.PatchConf" - + "igB\003\340A\001\0220\n\010duration\030\005 \001(\0132\031.google.proto" - + "buf.DurationB\003\340A\001\022K\n\021one_time_schedule\030\006" - + " \001(\0132).google.cloud.osconfig.v1.OneTimeS" - + "cheduleB\003\340A\002H\000\022N\n\022recurring_schedule\030\007 \001" - + "(\0132+.google.cloud.osconfig.v1.RecurringS" - + "cheduleB\003\340A\002H\000\0224\n\013create_time\030\010 \001(\0132\032.go" - + "ogle.protobuf.TimestampB\003\340A\003\0224\n\013update_t" - + "ime\030\t \001(\0132\032.google.protobuf.TimestampB\003\340" - + "A\003\022:\n\021last_execute_time\030\n \001(\0132\032.google.p" - + "rotobuf.TimestampB\003\340A\003\022<\n\007rollout\030\013 \001(\0132" - + "&.google.cloud.osconfig.v1.PatchRolloutB" - + "\003\340A\001\022C\n\005state\030\014 \001(\0162/.google.cloud.oscon" - + "fig.v1.PatchDeployment.StateB\003\340A\003\"6\n\005Sta" - + "te\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\n\n" - + "\006PAUSED\020\002:d\352Aa\n\'osconfig.googleapis.com/" - + "PatchDeployment\0226projects/{project}/patc" - + "hDeployments/{patch_deployment}B\n\n\010sched" - + "ule\"H\n\017OneTimeSchedule\0225\n\014execute_time\030\001" - + " \001(\0132\032.google.protobuf.TimestampB\003\340A\002\"\206\005" - + "\n\021RecurringSchedule\022-\n\ttime_zone\030\001 \001(\0132\025" - + ".google.type.TimeZoneB\003\340A\002\0223\n\nstart_time" - + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\001\022" - + "1\n\010end_time\030\003 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\001\0220\n\013time_of_day\030\004 \001(\0132\026.google" - + ".type.TimeOfDayB\003\340A\002\022M\n\tfrequency\030\005 \001(\0162" - + "5.google.cloud.osconfig.v1.RecurringSche" - + "dule.FrequencyB\003\340A\002\022?\n\006weekly\030\006 \001(\0132(.go" - + "ogle.cloud.osconfig.v1.WeeklyScheduleB\003\340" - + "A\002H\000\022A\n\007monthly\030\007 \001(\0132).google.cloud.osc" - + "onfig.v1.MonthlyScheduleB\003\340A\002H\000\022:\n\021last_" - + "execute_time\030\t \001(\0132\032.google.protobuf.Tim" - + "estampB\003\340A\003\022:\n\021next_execute_time\030\n \001(\0132\032" - + ".google.protobuf.TimestampB\003\340A\003\"J\n\tFrequ" - + "ency\022\031\n\025FREQUENCY_UNSPECIFIED\020\000\022\n\n\006WEEKL" - + "Y\020\001\022\013\n\007MONTHLY\020\002\022\t\n\005DAILY\020\003B\021\n\017schedule_" - + "config\"B\n\016WeeklySchedule\0220\n\013day_of_week\030" - + "\001 \001(\0162\026.google.type.DayOfWeekB\003\340A\002\"\207\001\n\017M" - + "onthlySchedule\022J\n\021week_day_of_month\030\001 \001(" - + "\0132(.google.cloud.osconfig.v1.WeekDayOfMo" - + "nthB\003\340A\002H\000\022\030\n\tmonth_day\030\002 \001(\005B\003\340A\002H\000B\016\n\014" - + "day_of_month\"v\n\016WeekDayOfMonth\022\031\n\014week_o" - + "rdinal\030\001 \001(\005B\003\340A\002\0220\n\013day_of_week\030\002 \001(\0162\026" - + ".google.type.DayOfWeekB\003\340A\002\022\027\n\nday_offse" - + "t\030\003 \001(\005B\003\340A\001\"\317\001\n\034CreatePatchDeploymentRe" - + "quest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudreso" - + "urcemanager.googleapis.com/Project\022 \n\023pa" - + "tch_deployment_id\030\002 \001(\tB\003\340A\002\022H\n\020patch_de" - + "ployment\030\003 \001(\0132).google.cloud.osconfig.v" - + "1.PatchDeploymentB\003\340A\002\"Z\n\031GetPatchDeploy" - + "mentRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'oscon" - + "fig.googleapis.com/PatchDeployment\"\223\001\n\033L" - + "istPatchDeploymentsRequest\022C\n\006parent\030\001 \001" - + "(\tB3\340A\002\372A-\n+cloudresourcemanager.googlea" - + "pis.com/Project\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022" - + "\027\n\npage_token\030\003 \001(\tB\003\340A\001\"}\n\034ListPatchDep" - + "loymentsResponse\022D\n\021patch_deployments\030\001 " - + "\003(\0132).google.cloud.osconfig.v1.PatchDepl" - + "oyment\022\027\n\017next_page_token\030\002 \001(\t\"]\n\034Delet" - + "ePatchDeploymentRequest\022=\n\004name\030\001 \001(\tB/\340" - + "A\002\372A)\n\'osconfig.googleapis.com/PatchDepl" - + "oyment\"\236\001\n\034UpdatePatchDeploymentRequest\022" - + "H\n\020patch_deployment\030\001 \001(\0132).google.cloud" - + ".osconfig.v1.PatchDeploymentB\003\340A\002\0224\n\013upd" - + "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" - + "skB\003\340A\001\"\\\n\033PausePatchDeploymentRequest\022=" - + "\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'osconfig.googleapi" - + "s.com/PatchDeployment\"]\n\034ResumePatchDepl" - + "oymentRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'osc" - + "onfig.googleapis.com/PatchDeploymentB\306\001\n" - + "\034com.google.cloud.osconfig.v1B\020PatchDepl" - + "oymentsZ@google.golang.org/genproto/goog" - + "leapis/cloud/osconfig/v1;osconfig\252\002\030Goog" - + "le.Cloud.OsConfig.V1\312\002\030Google\\Cloud\\OsCo" - + "nfig\\V1\352\002\033Google::Cloud::OsConfig::V1b\006p" - + "roto3" + "\n0google/cloud/osconfig/v1/patch_deploym" + + "ents.proto\022\030google.cloud.osconfig.v1\032\037go" + + "ogle/api/field_behavior.proto\032\031google/ap" + + "i/resource.proto\032)google/cloud/osconfig/" + + "v1/patch_jobs.proto\032\036google/protobuf/dur" + + "ation.proto\032 google/protobuf/field_mask." + + "proto\032\037google/protobuf/timestamp.proto\032\032" + + "google/type/datetime.proto\032\033google/type/" + + "dayofweek.proto\032\033google/type/timeofday.p" + + "roto\"\354\006\n\017PatchDeployment\022\014\n\004name\030\001 \001(\t\022\030" + + "\n\013description\030\002 \001(\tB\003\340A\001\022K\n\017instance_fil" + + "ter\030\003 \001(\0132-.google.cloud.osconfig.v1.Pat" + + "chInstanceFilterB\003\340A\002\022@\n\014patch_config\030\004 " + + "\001(\0132%.google.cloud.osconfig.v1.PatchConf" + + "igB\003\340A\001\0220\n\010duration\030\005 \001(\0132\031.google.proto" + + "buf.DurationB\003\340A\001\022K\n\021one_time_schedule\030\006" + + " \001(\0132).google.cloud.osconfig.v1.OneTimeS" + + "cheduleB\003\340A\002H\000\022N\n\022recurring_schedule\030\007 \001" + + "(\0132+.google.cloud.osconfig.v1.RecurringS" + + "cheduleB\003\340A\002H\000\0224\n\013create_time\030\010 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\003\340A\003\0224\n\013update_t" + + "ime\030\t \001(\0132\032.google.protobuf.TimestampB\003\340" + + "A\003\022:\n\021last_execute_time\030\n \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\022<\n\007rollout\030\013 \001(\0132" + + "&.google.cloud.osconfig.v1.PatchRolloutB" + + "\003\340A\001\022C\n\005state\030\014 \001(\0162/.google.cloud.oscon" + + "fig.v1.PatchDeployment.StateB\003\340A\003\"6\n\005Sta" + + "te\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\n\n" + + "\006PAUSED\020\002:d\352Aa\n\'osconfig.googleapis.com/" + + "PatchDeployment\0226projects/{project}/patc" + + "hDeployments/{patch_deployment}B\n\n\010sched" + + "ule\"H\n\017OneTimeSchedule\0225\n\014execute_time\030\001" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\002\"\206\005" + + "\n\021RecurringSchedule\022-\n\ttime_zone\030\001 \001(\0132\025" + + ".google.type.TimeZoneB\003\340A\002\0223\n\nstart_time" + + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\001\022" + + "1\n\010end_time\030\003 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\001\0220\n\013time_of_day\030\004 \001(\0132\026.google" + + ".type.TimeOfDayB\003\340A\002\022M\n\tfrequency\030\005 \001(\0162" + + "5.google.cloud.osconfig.v1.RecurringSche" + + "dule.FrequencyB\003\340A\002\022?\n\006weekly\030\006 \001(\0132(.go" + + "ogle.cloud.osconfig.v1.WeeklyScheduleB\003\340" + + "A\002H\000\022A\n\007monthly\030\007 \001(\0132).google.cloud.osc" + + "onfig.v1.MonthlyScheduleB\003\340A\002H\000\022:\n\021last_" + + "execute_time\030\t \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\022:\n\021next_execute_time\030\n \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\003\"J\n\tFrequ" + + "ency\022\031\n\025FREQUENCY_UNSPECIFIED\020\000\022\n\n\006WEEKL" + + "Y\020\001\022\013\n\007MONTHLY\020\002\022\t\n\005DAILY\020\003B\021\n\017schedule_" + + "config\"B\n\016WeeklySchedule\0220\n\013day_of_week\030" + + "\001 \001(\0162\026.google.type.DayOfWeekB\003\340A\002\"\207\001\n\017M" + + "onthlySchedule\022J\n\021week_day_of_month\030\001 \001(" + + "\0132(.google.cloud.osconfig.v1.WeekDayOfMo" + + "nthB\003\340A\002H\000\022\030\n\tmonth_day\030\002 \001(\005B\003\340A\002H\000B\016\n\014" + + "day_of_month\"v\n\016WeekDayOfMonth\022\031\n\014week_o" + + "rdinal\030\001 \001(\005B\003\340A\002\0220\n\013day_of_week\030\002 \001(\0162\026" + + ".google.type.DayOfWeekB\003\340A\002\022\027\n\nday_offse" + + "t\030\003 \001(\005B\003\340A\001\"\317\001\n\034CreatePatchDeploymentRe" + + "quest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudreso" + + "urcemanager.googleapis.com/Project\022 \n\023pa" + + "tch_deployment_id\030\002 \001(\tB\003\340A\002\022H\n\020patch_de" + + "ployment\030\003 \001(\0132).google.cloud.osconfig.v" + + "1.PatchDeploymentB\003\340A\002\"Z\n\031GetPatchDeploy" + + "mentRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'oscon" + + "fig.googleapis.com/PatchDeployment\"\223\001\n\033L" + + "istPatchDeploymentsRequest\022C\n\006parent\030\001 \001" + + "(\tB3\340A\002\372A-\n+cloudresourcemanager.googlea" + + "pis.com/Project\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022" + + "\027\n\npage_token\030\003 \001(\tB\003\340A\001\"}\n\034ListPatchDep" + + "loymentsResponse\022D\n\021patch_deployments\030\001 " + + "\003(\0132).google.cloud.osconfig.v1.PatchDepl" + + "oyment\022\027\n\017next_page_token\030\002 \001(\t\"]\n\034Delet" + + "ePatchDeploymentRequest\022=\n\004name\030\001 \001(\tB/\340" + + "A\002\372A)\n\'osconfig.googleapis.com/PatchDepl" + + "oyment\"\236\001\n\034UpdatePatchDeploymentRequest\022" + + "H\n\020patch_deployment\030\001 \001(\0132).google.cloud" + + ".osconfig.v1.PatchDeploymentB\003\340A\002\0224\n\013upd" + + "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" + + "skB\003\340A\001\"\\\n\033PausePatchDeploymentRequest\022=" + + "\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'osconfig.googleapi" + + "s.com/PatchDeployment\"]\n\034ResumePatchDepl" + + "oymentRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'osc" + + "onfig.googleapis.com/PatchDeploymentB\306\001\n" + + "\034com.google.cloud.osconfig.v1B\020PatchDepl" + + "oymentsZ@google.golang.org/genproto/goog" + + "leapis/cloud/osconfig/v1;osconfig\252\002\030Goog" + + "le.Cloud.OsConfig.V1\312\002\030Google\\Cloud\\OsCo" + + "nfig\\V1\352\002\033Google::Cloud::OsConfig::V1b\006p" + + "roto3" }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.osconfig.v1.PatchJobs.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.DateTimeProto.getDescriptor(), - com.google.type.DayOfWeekProto.getDescriptor(), - com.google.type.TimeOfDayProto.getDescriptor(), - }); + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.osconfig.v1.PatchJobs.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.type.DateTimeProto.getDescriptor(), + com.google.type.DayOfWeekProto.getDescriptor(), + com.google.type.TimeOfDayProto.getDescriptor(), + }); internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1_PatchDeployment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor, - new java.lang.String[] { - "Name", - "Description", - "InstanceFilter", - "PatchConfig", - "Duration", - "OneTimeSchedule", - "RecurringSchedule", - "CreateTime", - "UpdateTime", - "LastExecuteTime", - "Rollout", - "State", - "Schedule", - }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1_PatchDeployment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor, + new java.lang.String[] { "Name", "Description", "InstanceFilter", "PatchConfig", "Duration", "OneTimeSchedule", "RecurringSchedule", "CreateTime", "UpdateTime", "LastExecuteTime", "Rollout", "State", "Schedule", }); internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1_OneTimeSchedule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor, - new java.lang.String[] { - "ExecuteTime", - }); + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1_OneTimeSchedule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor, + new java.lang.String[] { "ExecuteTime", }); internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1_RecurringSchedule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor, - new java.lang.String[] { - "TimeZone", - "StartTime", - "EndTime", - "TimeOfDay", - "Frequency", - "Weekly", - "Monthly", - "LastExecuteTime", - "NextExecuteTime", - "ScheduleConfig", - }); + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1_RecurringSchedule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor, + new java.lang.String[] { "TimeZone", "StartTime", "EndTime", "TimeOfDay", "Frequency", "Weekly", "Monthly", "LastExecuteTime", "NextExecuteTime", "ScheduleConfig", }); internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1_WeeklySchedule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor, - new java.lang.String[] { - "DayOfWeek", - }); + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1_WeeklySchedule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor, + new java.lang.String[] { "DayOfWeek", }); internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_osconfig_v1_MonthlySchedule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor, - new java.lang.String[] { - "WeekDayOfMonth", "MonthDay", "DayOfMonth", - }); + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_osconfig_v1_MonthlySchedule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor, + new java.lang.String[] { "WeekDayOfMonth", "MonthDay", "DayOfMonth", }); internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor, - new java.lang.String[] { - "WeekOrdinal", "DayOfWeek", "DayOffset", - }); + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor, + new java.lang.String[] { "WeekOrdinal", "DayOfWeek", "DayOffset", }); internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor, - new java.lang.String[] { - "Parent", "PatchDeploymentId", "PatchDeployment", - }); + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor, + new java.lang.String[] { "Parent", "PatchDeploymentId", "PatchDeployment", }); internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor, - new java.lang.String[] { - "Name", - }); + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor, + new java.lang.String[] { "Name", }); internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor, - new java.lang.String[] { - "PatchDeployments", "NextPageToken", - }); + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor, + new java.lang.String[] { "PatchDeployments", "NextPageToken", }); internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor, - new java.lang.String[] { - "Name", - }); + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor, + new java.lang.String[] { "Name", }); internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor, - new java.lang.String[] { - "PatchDeployment", "UpdateMask", - }); + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor, + new java.lang.String[] { "PatchDeployment", "UpdateMask", }); internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor, - new java.lang.String[] { - "Name", - }); + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor, + new java.lang.String[] { "Name", }); internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor, - new java.lang.String[] { - "Name", - }); + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor, + new java.lang.String[] { "Name", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.ResourceProto.resource); registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.osconfig.v1.PatchJobs.getDescriptor(); diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobName.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobName.java similarity index 100% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobName.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobName.java diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobs.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobs.java similarity index 72% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobs.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobs.java index cd4e4ca6..956f90c8 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobs.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobs.java @@ -1,18 +1,3 @@ -/* - * 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/osconfig/v1/patch_jobs.proto @@ -20,148 +5,112 @@ public final class PatchJobs { private PatchJobs() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { } - public interface ExecutePatchJobRequestOrBuilder - extends + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface ExecutePatchJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ExecutePatchJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The project in which to run this patch in the form `projects/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
      * Required. The project in which to run this patch in the form `projects/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * Required. Instances to patch, either explicitly or filtered by some
      * criteria such as zone or labels.
      * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceFilter field is set. */ boolean hasInstanceFilter(); /** - * - * *
      * Required. Instances to patch, either explicitly or filtered by some
      * criteria such as zone or labels.
      * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceFilter. */ com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFilter(); /** - * - * *
      * Required. Instances to patch, either explicitly or filtered by some
      * criteria such as zone or labels.
      * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder - getInstanceFilterOrBuilder(); + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder(); /** - * - * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
      * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 4; - * * @return Whether the patchConfig field is set. */ boolean hasPatchConfig(); /** - * - * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
      * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 4; - * * @return The patchConfig. */ com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getPatchConfig(); /** - * - * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
@@ -172,34 +121,26 @@ public interface ExecutePatchJobRequestOrBuilder
     com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder();
 
     /**
-     *
-     *
      * 
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
      * 
* * .google.protobuf.Duration duration = 5; - * * @return Whether the duration field is set. */ boolean hasDuration(); /** - * - * *
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
      * 
* * .google.protobuf.Duration duration = 5; - * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** - * - * *
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
@@ -210,71 +151,55 @@ public interface ExecutePatchJobRequestOrBuilder
     com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
     /**
-     *
-     *
      * 
      * If this patch is a dry-run only, instances are contacted but
      * will do nothing.
      * 
* * bool dry_run = 6; - * * @return The dryRun. */ boolean getDryRun(); /** - * - * *
      * Display name for this patch job. This does not have to be unique.
      * 
* * string display_name = 8; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
      * Display name for this patch job. This does not have to be unique.
      * 
* * string display_name = 8; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
      * Rollout strategy of the patch job.
      * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 9; - * * @return Whether the rollout field is set. */ boolean hasRollout(); /** - * - * *
      * Rollout strategy of the patch job.
      * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 9; - * * @return The rollout. */ com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getRollout(); /** - * - * *
      * Rollout strategy of the patch job.
      * 
@@ -284,8 +209,6 @@ public interface ExecutePatchJobRequestOrBuilder com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder(); } /** - * - * *
    * A request message to initiate patching across Compute Engine
    * instances.
@@ -293,16 +216,15 @@ public interface ExecutePatchJobRequestOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1.ExecutePatchJobRequest}
    */
-  public static final class ExecutePatchJobRequest extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ExecutePatchJobRequest extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ExecutePatchJobRequest)
       ExecutePatchJobRequestOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ExecutePatchJobRequest.newBuilder() to construct.
     private ExecutePatchJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ExecutePatchJobRequest() {
       parent_ = "";
       description_ = "";
@@ -311,15 +233,16 @@ private ExecutePatchJobRequest() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ExecutePatchJobRequest();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private ExecutePatchJobRequest(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -338,106 +261,88 @@ private ExecutePatchJobRequest(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                parent_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              parent_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                description_ = s;
-                break;
+              description_ = s;
+              break;
+            }
+            case 34: {
+              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder subBuilder = null;
+              if (patchConfig_ != null) {
+                subBuilder = patchConfig_.toBuilder();
               }
-            case 34:
-              {
-                com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder subBuilder = null;
-                if (patchConfig_ != null) {
-                  subBuilder = patchConfig_.toBuilder();
-                }
-                patchConfig_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(patchConfig_);
-                  patchConfig_ = subBuilder.buildPartial();
-                }
-
-                break;
+              patchConfig_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(patchConfig_);
+                patchConfig_ = subBuilder.buildPartial();
               }
-            case 42:
-              {
-                com.google.protobuf.Duration.Builder subBuilder = null;
-                if (duration_ != null) {
-                  subBuilder = duration_.toBuilder();
-                }
-                duration_ =
-                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(duration_);
-                  duration_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 42: {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (duration_ != null) {
+                subBuilder = duration_.toBuilder();
               }
-            case 48:
-              {
-                dryRun_ = input.readBool();
-                break;
+              duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(duration_);
+                duration_ = subBuilder.buildPartial();
               }
-            case 58:
-              {
-                com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder subBuilder =
-                    null;
-                if (instanceFilter_ != null) {
-                  subBuilder = instanceFilter_.toBuilder();
-                }
-                instanceFilter_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(instanceFilter_);
-                  instanceFilter_ = subBuilder.buildPartial();
-                }
 
-                break;
-              }
-            case 66:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+            case 48: {
 
-                displayName_ = s;
-                break;
+              dryRun_ = input.readBool();
+              break;
+            }
+            case 58: {
+              com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder subBuilder = null;
+              if (instanceFilter_ != null) {
+                subBuilder = instanceFilter_.toBuilder();
+              }
+              instanceFilter_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(instanceFilter_);
+                instanceFilter_ = subBuilder.buildPartial();
               }
-            case 74:
-              {
-                com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder subBuilder = null;
-                if (rollout_ != null) {
-                  subBuilder = rollout_.toBuilder();
-                }
-                rollout_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(rollout_);
-                  rollout_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 66: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              displayName_ = s;
+              break;
+            }
+            case 74: {
+              com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder subBuilder = null;
+              if (rollout_ != null) {
+                subBuilder = rollout_.toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              rollout_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rollout_);
+                rollout_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -445,41 +350,34 @@ private ExecutePatchJobRequest(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchJobs
-          .internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchJobs
-          .internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.class,
-              com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.Builder.class);
+              com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.class, com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.Builder.class);
     }
 
     public static final int PARENT_FIELD_NUMBER = 1;
     private volatile java.lang.Object parent_;
     /**
-     *
-     *
      * 
      * Required. The project in which to run this patch in the form `projects/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -488,31 +386,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
      * Required. The project in which to run this patch in the form `projects/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -523,15 +419,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -540,30 +433,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -574,17 +467,12 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int INSTANCE_FILTER_FIELD_NUMBER = 7; private com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter instanceFilter_; /** - * - * *
      * Required. Instances to patch, either explicitly or filtered by some
      * criteria such as zone or labels.
      * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceFilter field is set. */ @java.lang.Override @@ -592,55 +480,40 @@ public boolean hasInstanceFilter() { return instanceFilter_ != null; } /** - * - * *
      * Required. Instances to patch, either explicitly or filtered by some
      * criteria such as zone or labels.
      * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceFilter. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFilter() { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; } /** - * - * *
      * Required. Instances to patch, either explicitly or filtered by some
      * criteria such as zone or labels.
      * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder - getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { return getInstanceFilter(); } public static final int PATCH_CONFIG_FIELD_NUMBER = 4; private com.google.cloud.osconfig.v1.PatchJobs.PatchConfig patchConfig_; /** - * - * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
      * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 4; - * * @return Whether the patchConfig field is set. */ @java.lang.Override @@ -648,26 +521,19 @@ public boolean hasPatchConfig() { return patchConfig_ != null; } /** - * - * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
      * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 4; - * * @return The patchConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getPatchConfig() { - return patchConfig_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() - : patchConfig_; + return patchConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; } /** - * - * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
@@ -683,15 +549,12 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi
     public static final int DURATION_FIELD_NUMBER = 5;
     private com.google.protobuf.Duration duration_;
     /**
-     *
-     *
      * 
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
      * 
* * .google.protobuf.Duration duration = 5; - * * @return Whether the duration field is set. */ @java.lang.Override @@ -699,15 +562,12 @@ public boolean hasDuration() { return duration_ != null; } /** - * - * *
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
      * 
* * .google.protobuf.Duration duration = 5; - * * @return The duration. */ @java.lang.Override @@ -715,8 +575,6 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** - * - * *
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
@@ -732,15 +590,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
     public static final int DRY_RUN_FIELD_NUMBER = 6;
     private boolean dryRun_;
     /**
-     *
-     *
      * 
      * If this patch is a dry-run only, instances are contacted but
      * will do nothing.
      * 
* * bool dry_run = 6; - * * @return The dryRun. */ @java.lang.Override @@ -751,14 +606,11 @@ public boolean getDryRun() { public static final int DISPLAY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object displayName_; /** - * - * *
      * Display name for this patch job. This does not have to be unique.
      * 
* * string display_name = 8; - * * @return The displayName. */ @java.lang.Override @@ -767,29 +619,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
      * Display name for this patch job. This does not have to be unique.
      * 
* * string display_name = 8; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -800,14 +652,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int ROLLOUT_FIELD_NUMBER = 9; private com.google.cloud.osconfig.v1.PatchJobs.PatchRollout rollout_; /** - * - * *
      * Rollout strategy of the patch job.
      * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 9; - * * @return Whether the rollout field is set. */ @java.lang.Override @@ -815,25 +664,18 @@ public boolean hasRollout() { return rollout_ != null; } /** - * - * *
      * Rollout strategy of the patch job.
      * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 9; - * * @return The rollout. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getRollout() { - return rollout_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; } /** - * - * *
      * Rollout strategy of the patch job.
      * 
@@ -846,7 +688,6 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -858,7 +699,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -899,22 +741,27 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (patchConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPatchConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getPatchConfig()); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getDuration()); } if (dryRun_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, dryRun_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, dryRun_); } if (instanceFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getInstanceFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getInstanceFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, displayName_); } if (rollout_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getRollout()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getRollout()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -924,33 +771,40 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest other = - (com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest) obj; + com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest other = (com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (hasInstanceFilter() != other.hasInstanceFilter()) return false; if (hasInstanceFilter()) { - if (!getInstanceFilter().equals(other.getInstanceFilter())) return false; + if (!getInstanceFilter() + .equals(other.getInstanceFilter())) return false; } if (hasPatchConfig() != other.hasPatchConfig()) return false; if (hasPatchConfig()) { - if (!getPatchConfig().equals(other.getPatchConfig())) return false; + if (!getPatchConfig() + .equals(other.getPatchConfig())) return false; } if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration().equals(other.getDuration())) return false; + if (!getDuration() + .equals(other.getDuration())) return false; } - if (getDryRun() != other.getDryRun()) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (getDryRun() + != other.getDryRun()) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (hasRollout() != other.hasRollout()) return false; if (hasRollout()) { - if (!getRollout().equals(other.getRollout())) return false; + if (!getRollout() + .equals(other.getRollout())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -980,7 +834,8 @@ public int hashCode() { hash = (53 * hash) + getDuration().hashCode(); } hash = (37 * hash) + DRY_RUN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDryRun()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDryRun()); hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; hash = (53 * hash) + getDisplayName().hashCode(); if (hasRollout()) { @@ -993,94 +848,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest 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.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1090,8 +938,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message to initiate patching across Compute Engine
      * instances.
@@ -1099,24 +945,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.ExecutePatchJobRequest}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ExecutePatchJobRequest)
         com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequestOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.class,
-                com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.class, com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.newBuilder()
@@ -1124,15 +967,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1172,14 +1016,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.getDefaultInstance();
       }
 
@@ -1194,8 +1037,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest buildPartial() {
-        com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest result =
-            new com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest(this);
+        com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest result = new com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest(this);
         result.parent_ = parent_;
         result.description_ = description_;
         if (instanceFilterBuilder_ == null) {
@@ -1228,52 +1070,46 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest buildPartia
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchJobs.ExecutePatchJobRequest) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest other) {
-        if (other
-            == com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest other) {
+        if (other == com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.getDefaultInstance()) return this;
         if (!other.getParent().isEmpty()) {
           parent_ = other.parent_;
           onChanged();
@@ -1320,9 +1156,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1334,22 +1168,18 @@ public Builder mergeFrom(
 
       private java.lang.Object parent_ = "";
       /**
-       *
-       *
        * 
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1358,23 +1188,20 @@ public java.lang.String getParent() { } } /** - * - * *
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1382,67 +1209,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1450,21 +1264,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1473,22 +1285,21 @@ public java.lang.String getDescription() { } } /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1496,64 +1307,57 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1561,64 +1365,44 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter instanceFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> - instanceFilterBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> instanceFilterBuilder_; /** - * - * *
        * Required. Instances to patch, either explicitly or filtered by some
        * criteria such as zone or labels.
        * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceFilter field is set. */ public boolean hasInstanceFilter() { return instanceFilterBuilder_ != null || instanceFilter_ != null; } /** - * - * *
        * Required. Instances to patch, either explicitly or filtered by some
        * criteria such as zone or labels.
        * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceFilter. */ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFilter() { if (instanceFilterBuilder_ == null) { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; } else { return instanceFilterBuilder_.getMessage(); } } /** - * - * *
        * Required. Instances to patch, either explicitly or filtered by some
        * criteria such as zone or labels.
        * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstanceFilter( - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { + public Builder setInstanceFilter(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1632,16 +1416,12 @@ public Builder setInstanceFilter( return this; } /** - * - * *
        * Required. Instances to patch, either explicitly or filtered by some
        * criteria such as zone or labels.
        * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstanceFilter( com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder builderForValue) { @@ -1655,26 +1435,18 @@ public Builder setInstanceFilter( return this; } /** - * - * *
        * Required. Instances to patch, either explicitly or filtered by some
        * criteria such as zone or labels.
        * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeInstanceFilter( - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { + public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (instanceFilter_ != null) { instanceFilter_ = - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.newBuilder( - instanceFilter_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.newBuilder(instanceFilter_).mergeFrom(value).buildPartial(); } else { instanceFilter_ = value; } @@ -1686,16 +1458,12 @@ public Builder mergeInstanceFilter( return this; } /** - * - * *
        * Required. Instances to patch, either explicitly or filtered by some
        * criteria such as zone or labels.
        * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstanceFilter() { if (instanceFilterBuilder_ == null) { @@ -1709,69 +1477,51 @@ public Builder clearInstanceFilter() { return this; } /** - * - * *
        * Required. Instances to patch, either explicitly or filtered by some
        * criteria such as zone or labels.
        * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder - getInstanceFilterBuilder() { - + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder() { + onChanged(); return getInstanceFilterFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Instances to patch, either explicitly or filtered by some
        * criteria such as zone or labels.
        * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder - getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { if (instanceFilterBuilder_ != null) { return instanceFilterBuilder_.getMessageOrBuilder(); } else { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; } } /** - * - * *
        * Required. Instances to patch, either explicitly or filtered by some
        * criteria such as zone or labels.
        * 
* - * - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> getInstanceFilterFieldBuilder() { if (instanceFilterBuilder_ == null) { - instanceFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder>( - getInstanceFilter(), getParentForChildren(), isClean()); + instanceFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder>( + getInstanceFilter(), + getParentForChildren(), + isClean()); instanceFilter_ = null; } return instanceFilterBuilder_; @@ -1779,49 +1529,36 @@ public Builder clearInstanceFilter() { private com.google.cloud.osconfig.v1.PatchJobs.PatchConfig patchConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> - patchConfigBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> patchConfigBuilder_; /** - * - * *
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
        * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 4; - * * @return Whether the patchConfig field is set. */ public boolean hasPatchConfig() { return patchConfigBuilder_ != null || patchConfig_ != null; } /** - * - * *
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
        * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 4; - * * @return The patchConfig. */ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getPatchConfig() { if (patchConfigBuilder_ == null) { - return patchConfig_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() - : patchConfig_; + return patchConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; } else { return patchConfigBuilder_.getMessage(); } } /** - * - * *
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1843,8 +1580,6 @@ public Builder setPatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig
         return this;
       }
       /**
-       *
-       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1864,8 +1599,6 @@ public Builder setPatchConfig(
         return this;
       }
       /**
-       *
-       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1877,9 +1610,7 @@ public Builder mergePatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConf
         if (patchConfigBuilder_ == null) {
           if (patchConfig_ != null) {
             patchConfig_ =
-                com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.newBuilder(patchConfig_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.newBuilder(patchConfig_).mergeFrom(value).buildPartial();
           } else {
             patchConfig_ = value;
           }
@@ -1891,8 +1622,6 @@ public Builder mergePatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConf
         return this;
       }
       /**
-       *
-       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1912,8 +1641,6 @@ public Builder clearPatchConfig() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1922,13 +1649,11 @@ public Builder clearPatchConfig() {
        * .google.cloud.osconfig.v1.PatchConfig patch_config = 4;
        */
       public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder getPatchConfigBuilder() {
-
+        
         onChanged();
         return getPatchConfigFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1940,14 +1665,11 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi
         if (patchConfigBuilder_ != null) {
           return patchConfigBuilder_.getMessageOrBuilder();
         } else {
-          return patchConfig_ == null
-              ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance()
-              : patchConfig_;
+          return patchConfig_ == null ?
+              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_;
         }
       }
       /**
-       *
-       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1956,17 +1678,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi
        * .google.cloud.osconfig.v1.PatchConfig patch_config = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig,
-              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder,
-              com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder>
+          com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> 
           getPatchConfigFieldBuilder() {
         if (patchConfigBuilder_ == null) {
-          patchConfigBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1.PatchJobs.PatchConfig,
-                  com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder,
-                  com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder>(
-                  getPatchConfig(), getParentForChildren(), isClean());
+          patchConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder>(
+                  getPatchConfig(),
+                  getParentForChildren(),
+                  isClean());
           patchConfig_ = null;
         }
         return patchConfigBuilder_;
@@ -1974,35 +1693,26 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi
 
       private com.google.protobuf.Duration duration_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
-          durationBuilder_;
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_;
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
        * 
* * .google.protobuf.Duration duration = 5; - * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** - * - * *
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
        * 
* * .google.protobuf.Duration duration = 5; - * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -2013,8 +1723,6 @@ public com.google.protobuf.Duration getDuration() { } } /** - * - * *
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -2036,8 +1744,6 @@ public Builder setDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -2045,7 +1751,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration duration = 5;
        */
-      public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setDuration(
+          com.google.protobuf.Duration.Builder builderForValue) {
         if (durationBuilder_ == null) {
           duration_ = builderForValue.build();
           onChanged();
@@ -2056,8 +1763,6 @@ public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -2069,7 +1774,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
         if (durationBuilder_ == null) {
           if (duration_ != null) {
             duration_ =
-                com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
           } else {
             duration_ = value;
           }
@@ -2081,8 +1786,6 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -2102,8 +1805,6 @@ public Builder clearDuration() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -2112,13 +1813,11 @@ public Builder clearDuration() {
        * .google.protobuf.Duration duration = 5;
        */
       public com.google.protobuf.Duration.Builder getDurationBuilder() {
-
+        
         onChanged();
         return getDurationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -2130,12 +1829,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
         if (durationBuilder_ != null) {
           return durationBuilder_.getMessageOrBuilder();
         } else {
-          return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
+          return duration_ == null ?
+              com.google.protobuf.Duration.getDefaultInstance() : duration_;
         }
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -2144,33 +1842,27 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
        * .google.protobuf.Duration duration = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
           getDurationFieldBuilder() {
         if (durationBuilder_ == null) {
-          durationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>(
-                  getDuration(), getParentForChildren(), isClean());
+          durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                  getDuration(),
+                  getParentForChildren(),
+                  isClean());
           duration_ = null;
         }
         return durationBuilder_;
       }
 
-      private boolean dryRun_;
+      private boolean dryRun_ ;
       /**
-       *
-       *
        * 
        * If this patch is a dry-run only, instances are contacted but
        * will do nothing.
        * 
* * bool dry_run = 6; - * * @return The dryRun. */ @java.lang.Override @@ -2178,38 +1870,32 @@ public boolean getDryRun() { return dryRun_; } /** - * - * *
        * If this patch is a dry-run only, instances are contacted but
        * will do nothing.
        * 
* * bool dry_run = 6; - * * @param value The dryRun to set. * @return This builder for chaining. */ public Builder setDryRun(boolean value) { - + dryRun_ = value; onChanged(); return this; } /** - * - * *
        * If this patch is a dry-run only, instances are contacted but
        * will do nothing.
        * 
* * bool dry_run = 6; - * * @return This builder for chaining. */ public Builder clearDryRun() { - + dryRun_ = false; onChanged(); return this; @@ -2217,20 +1903,18 @@ public Builder clearDryRun() { private java.lang.Object displayName_ = ""; /** - * - * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2239,21 +1923,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -2261,61 +1944,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2323,47 +1999,34 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.osconfig.v1.PatchJobs.PatchRollout rollout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> - rolloutBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> rolloutBuilder_; /** - * - * *
        * Rollout strategy of the patch job.
        * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 9; - * * @return Whether the rollout field is set. */ public boolean hasRollout() { return rolloutBuilder_ != null || rollout_ != null; } /** - * - * *
        * Rollout strategy of the patch job.
        * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 9; - * * @return The rollout. */ public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getRollout() { if (rolloutBuilder_ == null) { - return rollout_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; } else { return rolloutBuilder_.getMessage(); } } /** - * - * *
        * Rollout strategy of the patch job.
        * 
@@ -2384,8 +2047,6 @@ public Builder setRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout va return this; } /** - * - * *
        * Rollout strategy of the patch job.
        * 
@@ -2404,8 +2065,6 @@ public Builder setRollout( return this; } /** - * - * *
        * Rollout strategy of the patch job.
        * 
@@ -2416,9 +2075,7 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout if (rolloutBuilder_ == null) { if (rollout_ != null) { rollout_ = - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.newBuilder(rollout_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.newBuilder(rollout_).mergeFrom(value).buildPartial(); } else { rollout_ = value; } @@ -2430,8 +2087,6 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout return this; } /** - * - * *
        * Rollout strategy of the patch job.
        * 
@@ -2450,8 +2105,6 @@ public Builder clearRollout() { return this; } /** - * - * *
        * Rollout strategy of the patch job.
        * 
@@ -2459,13 +2112,11 @@ public Builder clearRollout() { * .google.cloud.osconfig.v1.PatchRollout rollout = 9; */ public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder getRolloutBuilder() { - + onChanged(); return getRolloutFieldBuilder().getBuilder(); } /** - * - * *
        * Rollout strategy of the patch job.
        * 
@@ -2476,14 +2127,11 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOr if (rolloutBuilder_ != null) { return rolloutBuilder_.getMessageOrBuilder(); } else { - return rollout_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; } } /** - * - * *
        * Rollout strategy of the patch job.
        * 
@@ -2491,22 +2139,18 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOr * .google.cloud.osconfig.v1.PatchRollout rollout = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> getRolloutFieldBuilder() { if (rolloutBuilder_ == null) { - rolloutBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder>( - getRollout(), getParentForChildren(), isClean()); + rolloutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder>( + getRollout(), + getParentForChildren(), + isClean()); rollout_ = null; } return rolloutBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2519,32 +2163,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ExecutePatchJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ExecutePatchJobRequest) - private static final com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest(); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutePatchJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutePatchJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutePatchJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecutePatchJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2556,80 +2198,68 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GetPatchJobRequestOrBuilder - extends + public interface GetPatchJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.GetPatchJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * Request to get an active or completed patch job.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetPatchJobRequest} */ - public static final class GetPatchJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GetPatchJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.GetPatchJobRequest) GetPatchJobRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPatchJobRequest.newBuilder() to construct. private GetPatchJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPatchJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPatchJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetPatchJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2648,20 +2278,19 @@ private GetPatchJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2669,41 +2298,34 @@ private GetPatchJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.class, - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.class, com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -2712,31 +2334,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2745,7 +2365,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2757,7 +2376,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -2781,15 +2401,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest other = - (com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest) obj; + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest other = (com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2809,94 +2429,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest 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.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2906,32 +2519,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Request to get an active or completed patch job.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetPatchJobRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.GetPatchJobRequest) com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.class, - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.class, com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.newBuilder() @@ -2939,15 +2547,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2957,9 +2566,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor; } @java.lang.Override @@ -2978,8 +2587,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest result = - new com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest(this); + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest result = new com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -2989,41 +2597,38 @@ public com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.GetPatchJobRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest)other); } else { super.mergeFrom(other); return this; @@ -3031,8 +2636,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest other) { - if (other == com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -3056,8 +2660,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3069,22 +2672,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -3093,23 +2692,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3117,72 +2713,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3195,12 +2777,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.GetPatchJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.GetPatchJobRequest) private static final com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest(); } @@ -3209,16 +2791,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPatchJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPatchJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPatchJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPatchJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3233,87 +2815,68 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListPatchJobInstanceDetailsRequestOrBuilder - extends + public interface ListPatchJobInstanceDetailsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The parent for the instances are in the form of
      * `projects/*/patchJobs/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
      * Required. The parent for the instances are in the form of
      * `projects/*/patchJobs/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
      * The maximum number of instance details records to return.  Default is 100.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
      * A filter expression that filters results listed in the response. This
      * field supports filtering results by instance zone, name, state, or
@@ -3321,13 +2884,10 @@ public interface ListPatchJobInstanceDetailsRequestOrBuilder
      * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
      * A filter expression that filters results listed in the response. This
      * field supports filtering results by instance zone, name, state, or
@@ -3335,32 +2895,27 @@ public interface ListPatchJobInstanceDetailsRequestOrBuilder
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } /** - * - * *
    * Request to list details for all instances that are part of a patch job.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchJobInstanceDetailsRequest} */ - public static final class ListPatchJobInstanceDetailsRequest - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListPatchJobInstanceDetailsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsRequest) ListPatchJobInstanceDetailsRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchJobInstanceDetailsRequest.newBuilder() to construct. - private ListPatchJobInstanceDetailsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListPatchJobInstanceDetailsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPatchJobInstanceDetailsRequest() { parent_ = ""; pageToken_ = ""; @@ -3369,15 +2924,16 @@ private ListPatchJobInstanceDetailsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPatchJobInstanceDetailsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPatchJobInstanceDetailsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3396,39 +2952,36 @@ private ListPatchJobInstanceDetailsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3436,43 +2989,35 @@ private ListPatchJobInstanceDetailsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.class, - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.Builder - .class); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.class, com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
      * Required. The parent for the instances are in the form of
      * `projects/*/patchJobs/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -3481,32 +3026,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
      * Required. The parent for the instances are in the form of
      * `projects/*/patchJobs/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -3517,14 +3060,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
      * The maximum number of instance details records to return.  Default is 100.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -3535,15 +3075,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -3552,30 +3089,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -3586,8 +3123,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
      * A filter expression that filters results listed in the response. This
      * field supports filtering results by instance zone, name, state, or
@@ -3595,7 +3130,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -3604,15 +3138,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
      * A filter expression that filters results listed in the response. This
      * field supports filtering results by instance zone, name, state, or
@@ -3620,15 +3153,16 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -3637,7 +3171,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3649,7 +3182,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -3675,7 +3209,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -3691,19 +3226,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest other = - (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest) obj; + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest other = (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3728,101 +3265,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest - 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest - 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3832,50 +3356,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Request to list details for all instances that are part of a patch job.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchJobInstanceDetailsRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsRequest) com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.class, - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.Builder - .class); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.class, com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3891,22 +3409,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest build() { - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest result = - buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3914,10 +3429,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest - buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest result = - new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest(this); + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest buildPartial() { + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest result = new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -3930,54 +3443,46 @@ public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest) other); + if (other instanceof com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest) { + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest other) { - if (other - == com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest other) { + if (other == com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -4008,14 +3513,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parsedMessage = - null; + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4027,23 +3529,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
        * Required. The parent for the instances are in the form of
        * `projects/*/patchJobs/*`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -4052,24 +3550,21 @@ public java.lang.String getParent() { } } /** - * - * *
        * Required. The parent for the instances are in the form of
        * `projects/*/patchJobs/*`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -4077,85 +3572,69 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
        * Required. The parent for the instances are in the form of
        * `projects/*/patchJobs/*`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
        * Required. The parent for the instances are in the form of
        * `projects/*/patchJobs/*`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
        * Required. The parent for the instances are in the form of
        * `projects/*/patchJobs/*`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
        * The maximum number of instance details records to return.  Default is 100.
        * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -4163,36 +3642,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
        * The maximum number of instance details records to return.  Default is 100.
        * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
        * The maximum number of instance details records to return.  Default is 100.
        * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -4200,21 +3673,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -4223,22 +3694,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -4246,64 +3716,57 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -4311,8 +3774,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -4320,13 +3781,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
        * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -4335,8 +3796,6 @@ public java.lang.String getFilter() { } } /** - * - * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -4344,14 +3803,15 @@ public java.lang.String getFilter() {
        * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -4359,8 +3819,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -4368,22 +3826,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
        * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -4391,18 +3847,15 @@ public Builder setFilter(java.lang.String value) {
        * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -4410,21 +3863,20 @@ public Builder clearFilter() {
        * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4437,33 +3889,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsRequest) - private static final com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest(); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchJobInstanceDetailsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchJobInstanceDetailsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchJobInstanceDetailsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchJobInstanceDetailsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4475,129 +3924,96 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListPatchJobInstanceDetailsResponseOrBuilder - extends + public interface ListPatchJobInstanceDetailsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ - java.util.List + java.util.List getPatchJobInstanceDetailsList(); /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails getPatchJobInstanceDetails( - int index); + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails getPatchJobInstanceDetails(int index); /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ int getPatchJobInstanceDetailsCount(); /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ - java.util.List< - ? extends com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder> + java.util.List getPatchJobInstanceDetailsOrBuilderList(); /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder - getPatchJobInstanceDetailsOrBuilder(int index); + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder getPatchJobInstanceDetailsOrBuilder( + int index); /** - * - * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } /** - * - * *
    * A response message for listing the instances details for a patch job.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse} */ - public static final class ListPatchJobInstanceDetailsResponse - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListPatchJobInstanceDetailsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse) ListPatchJobInstanceDetailsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchJobInstanceDetailsResponse.newBuilder() to construct. - private ListPatchJobInstanceDetailsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListPatchJobInstanceDetailsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPatchJobInstanceDetailsResponse() { patchJobInstanceDetails_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -4605,15 +4021,16 @@ private ListPatchJobInstanceDetailsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPatchJobInstanceDetailsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPatchJobInstanceDetailsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4633,34 +4050,28 @@ private ListPatchJobInstanceDetailsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - patchJobInstanceDetails_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails>(); - mutable_bitField0_ |= 0x00000001; - } - patchJobInstanceDetails_.add( - input.readMessage( - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + patchJobInstanceDetails_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + patchJobInstanceDetails_.add( + input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4668,128 +4079,97 @@ private ListPatchJobInstanceDetailsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - patchJobInstanceDetails_ = - java.util.Collections.unmodifiableList(patchJobInstanceDetails_); + patchJobInstanceDetails_ = java.util.Collections.unmodifiableList(patchJobInstanceDetails_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.class, - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.Builder - .class); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.class, com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.Builder.class); } public static final int PATCH_JOB_INSTANCE_DETAILS_FIELD_NUMBER = 1; - private java.util.List - patchJobInstanceDetails_; + private java.util.List patchJobInstanceDetails_; /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ @java.lang.Override - public java.util.List - getPatchJobInstanceDetailsList() { + public java.util.List getPatchJobInstanceDetailsList() { return patchJobInstanceDetails_; } /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder> + public java.util.List getPatchJobInstanceDetailsOrBuilderList() { return patchJobInstanceDetails_; } /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ @java.lang.Override public int getPatchJobInstanceDetailsCount() { return patchJobInstanceDetails_.size(); } /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails - getPatchJobInstanceDetails(int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails getPatchJobInstanceDetails(int index) { return patchJobInstanceDetails_.get(index); } /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder - getPatchJobInstanceDetailsOrBuilder(int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder getPatchJobInstanceDetailsOrBuilder( + int index) { return patchJobInstanceDetails_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -4798,29 +4178,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -4829,7 +4209,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4841,7 +4220,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < patchJobInstanceDetails_.size(); i++) { output.writeMessage(1, patchJobInstanceDetails_.get(i)); } @@ -4858,9 +4238,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < patchJobInstanceDetails_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, patchJobInstanceDetails_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, patchJobInstanceDetails_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -4873,18 +4252,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse other = - (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse) obj; + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse other = (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse) obj; - if (!getPatchJobInstanceDetailsList().equals(other.getPatchJobInstanceDetailsList())) - return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPatchJobInstanceDetailsList() + .equals(other.getPatchJobInstanceDetailsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4907,101 +4285,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5011,52 +4376,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A response message for listing the instances details for a patch job.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse) com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.class, - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.Builder - .class); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.class, com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.newBuilder() + // Construct using com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPatchJobInstanceDetailsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -5072,22 +4430,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse build() { - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse result = - buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5095,15 +4450,12 @@ public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRespons } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse result = - new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse(this); + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse buildPartial() { + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse result = new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse(this); int from_bitField0_ = bitField0_; if (patchJobInstanceDetailsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - patchJobInstanceDetails_ = - java.util.Collections.unmodifiableList(patchJobInstanceDetails_); + patchJobInstanceDetails_ = java.util.Collections.unmodifiableList(patchJobInstanceDetails_); bitField0_ = (bitField0_ & ~0x00000001); } result.patchJobInstanceDetails_ = patchJobInstanceDetails_; @@ -5119,54 +4471,46 @@ public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRespons public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse) { - return mergeFrom( - (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse) other); + if (other instanceof com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse) { + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse other) { - if (other - == com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse other) { + if (other == com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.getDefaultInstance()) return this; if (patchJobInstanceDetailsBuilder_ == null) { if (!other.patchJobInstanceDetails_.isEmpty()) { if (patchJobInstanceDetails_.isEmpty()) { @@ -5185,10 +4529,9 @@ public Builder mergeFrom( patchJobInstanceDetailsBuilder_ = null; patchJobInstanceDetails_ = other.patchJobInstanceDetails_; bitField0_ = (bitField0_ & ~0x00000001); - patchJobInstanceDetailsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPatchJobInstanceDetailsFieldBuilder() - : null; + patchJobInstanceDetailsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPatchJobInstanceDetailsFieldBuilder() : null; } else { patchJobInstanceDetailsBuilder_.addAllMessages(other.patchJobInstanceDetails_); } @@ -5213,14 +4556,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parsedMessage = - null; + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5229,41 +4569,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - patchJobInstanceDetails_ = java.util.Collections.emptyList(); - + private java.util.List patchJobInstanceDetails_ = + java.util.Collections.emptyList(); private void ensurePatchJobInstanceDetailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - patchJobInstanceDetails_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails>( - patchJobInstanceDetails_); + patchJobInstanceDetails_ = new java.util.ArrayList(patchJobInstanceDetails_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails, - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder> - patchJobInstanceDetailsBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder> patchJobInstanceDetailsBuilder_; /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ - public java.util.List - getPatchJobInstanceDetailsList() { + public java.util.List getPatchJobInstanceDetailsList() { if (patchJobInstanceDetailsBuilder_ == null) { return java.util.Collections.unmodifiableList(patchJobInstanceDetails_); } else { @@ -5271,15 +4598,11 @@ private void ensurePatchJobInstanceDetailsIsMutable() { } } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ public int getPatchJobInstanceDetailsCount() { if (patchJobInstanceDetailsBuilder_ == null) { @@ -5289,18 +4612,13 @@ public int getPatchJobInstanceDetailsCount() { } } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails - getPatchJobInstanceDetails(int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails getPatchJobInstanceDetails(int index) { if (patchJobInstanceDetailsBuilder_ == null) { return patchJobInstanceDetails_.get(index); } else { @@ -5308,15 +4626,11 @@ public int getPatchJobInstanceDetailsCount() { } } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ public Builder setPatchJobInstanceDetails( int index, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails value) { @@ -5333,19 +4647,14 @@ public Builder setPatchJobInstanceDetails( return this; } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ public Builder setPatchJobInstanceDetails( - int index, - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder builderForValue) { if (patchJobInstanceDetailsBuilder_ == null) { ensurePatchJobInstanceDetailsIsMutable(); patchJobInstanceDetails_.set(index, builderForValue.build()); @@ -5356,18 +4665,13 @@ public Builder setPatchJobInstanceDetails( return this; } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ - public Builder addPatchJobInstanceDetails( - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails value) { + public Builder addPatchJobInstanceDetails(com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails value) { if (patchJobInstanceDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5381,15 +4685,11 @@ public Builder addPatchJobInstanceDetails( return this; } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ public Builder addPatchJobInstanceDetails( int index, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails value) { @@ -5406,15 +4706,11 @@ public Builder addPatchJobInstanceDetails( return this; } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ public Builder addPatchJobInstanceDetails( com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder builderForValue) { @@ -5428,19 +4724,14 @@ public Builder addPatchJobInstanceDetails( return this; } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ public Builder addPatchJobInstanceDetails( - int index, - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder builderForValue) { if (patchJobInstanceDetailsBuilder_ == null) { ensurePatchJobInstanceDetailsIsMutable(); patchJobInstanceDetails_.add(index, builderForValue.build()); @@ -5451,23 +4742,18 @@ public Builder addPatchJobInstanceDetails( return this; } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ public Builder addAllPatchJobInstanceDetails( - java.lang.Iterable< - ? extends com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails> - values) { + java.lang.Iterable values) { if (patchJobInstanceDetailsBuilder_ == null) { ensurePatchJobInstanceDetailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, patchJobInstanceDetails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, patchJobInstanceDetails_); onChanged(); } else { patchJobInstanceDetailsBuilder_.addAllMessages(values); @@ -5475,15 +4761,11 @@ public Builder addAllPatchJobInstanceDetails( return this; } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ public Builder clearPatchJobInstanceDetails() { if (patchJobInstanceDetailsBuilder_ == null) { @@ -5496,15 +4778,11 @@ public Builder clearPatchJobInstanceDetails() { return this; } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ public Builder removePatchJobInstanceDetails(int index) { if (patchJobInstanceDetailsBuilder_ == null) { @@ -5517,53 +4795,39 @@ public Builder removePatchJobInstanceDetails(int index) { return this; } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder - getPatchJobInstanceDetailsBuilder(int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder getPatchJobInstanceDetailsBuilder( + int index) { return getPatchJobInstanceDetailsFieldBuilder().getBuilder(index); } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder - getPatchJobInstanceDetailsOrBuilder(int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder getPatchJobInstanceDetailsOrBuilder( + int index) { if (patchJobInstanceDetailsBuilder_ == null) { - return patchJobInstanceDetails_.get(index); - } else { + return patchJobInstanceDetails_.get(index); } else { return patchJobInstanceDetailsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder> - getPatchJobInstanceDetailsOrBuilderList() { + public java.util.List + getPatchJobInstanceDetailsOrBuilderList() { if (patchJobInstanceDetailsBuilder_ != null) { return patchJobInstanceDetailsBuilder_.getMessageOrBuilderList(); } else { @@ -5571,69 +4835,45 @@ public Builder removePatchJobInstanceDetails(int index) { } } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder - addPatchJobInstanceDetailsBuilder() { - return getPatchJobInstanceDetailsFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails - .getDefaultInstance()); + public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder addPatchJobInstanceDetailsBuilder() { + return getPatchJobInstanceDetailsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.getDefaultInstance()); } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder - addPatchJobInstanceDetailsBuilder(int index) { - return getPatchJobInstanceDetailsFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails - .getDefaultInstance()); + public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder addPatchJobInstanceDetailsBuilder( + int index) { + return getPatchJobInstanceDetailsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.getDefaultInstance()); } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; */ - public java.util.List - getPatchJobInstanceDetailsBuilderList() { + public java.util.List + getPatchJobInstanceDetailsBuilderList() { return getPatchJobInstanceDetailsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails, - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder> getPatchJobInstanceDetailsFieldBuilder() { if (patchJobInstanceDetailsBuilder_ == null) { - patchJobInstanceDetailsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails, - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder>( + patchJobInstanceDetailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder>( patchJobInstanceDetails_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -5645,20 +4885,18 @@ public Builder removePatchJobInstanceDetails(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -5667,21 +4905,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -5689,66 +4926,58 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5761,33 +4990,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse) - private static final com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse(); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchJobInstanceDetailsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchJobInstanceDetailsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchJobInstanceDetailsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchJobInstanceDetailsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5799,135 +5025,108 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PatchJobInstanceDetailsOrBuilder - extends + public interface PatchJobInstanceDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.PatchJobInstanceDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The instance name in the form `projects/*/zones/*/instances/*`
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * The instance name in the form `projects/*/zones/*/instances/*`
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * The unique identifier for the instance. This identifier is
      * defined by the server.
      * 
* * string instance_system_id = 2; - * * @return The instanceSystemId. */ java.lang.String getInstanceSystemId(); /** - * - * *
      * The unique identifier for the instance. This identifier is
      * defined by the server.
      * 
* * string instance_system_id = 2; - * * @return The bytes for instanceSystemId. */ - com.google.protobuf.ByteString getInstanceSystemIdBytes(); + com.google.protobuf.ByteString + getInstanceSystemIdBytes(); /** - * - * *
      * Current state of instance patch.
      * 
* * .google.cloud.osconfig.v1.Instance.PatchState state = 3; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
      * Current state of instance patch.
      * 
* * .google.cloud.osconfig.v1.Instance.PatchState state = 3; - * * @return The state. */ com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState getState(); /** - * - * *
      * If the patch fails, this field provides the reason.
      * 
* * string failure_reason = 4; - * * @return The failureReason. */ java.lang.String getFailureReason(); /** - * - * *
      * If the patch fails, this field provides the reason.
      * 
* * string failure_reason = 4; - * * @return The bytes for failureReason. */ - com.google.protobuf.ByteString getFailureReasonBytes(); + com.google.protobuf.ByteString + getFailureReasonBytes(); /** - * - * *
      * The number of times the agent that the agent attempts to apply the patch.
      * 
* * int64 attempt_count = 5; - * * @return The attemptCount. */ long getAttemptCount(); } /** - * - * *
    * Patch details for a VM instance. For more information about reviewing VM
    * instance details, see
@@ -5937,16 +5136,15 @@ public interface PatchJobInstanceDetailsOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1.PatchJobInstanceDetails}
    */
-  public static final class PatchJobInstanceDetails extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PatchJobInstanceDetails extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.PatchJobInstanceDetails)
       PatchJobInstanceDetailsOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PatchJobInstanceDetails.newBuilder() to construct.
     private PatchJobInstanceDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PatchJobInstanceDetails() {
       name_ = "";
       instanceSystemId_ = "";
@@ -5956,15 +5154,16 @@ private PatchJobInstanceDetails() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PatchJobInstanceDetails();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PatchJobInstanceDetails(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -5983,46 +5182,42 @@ private PatchJobInstanceDetails(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                name_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                instanceSystemId_ = s;
-                break;
-              }
-            case 24:
-              {
-                int rawValue = input.readEnum();
+              instanceSystemId_ = s;
+              break;
+            }
+            case 24: {
+              int rawValue = input.readEnum();
 
-                state_ = rawValue;
-                break;
-              }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              state_ = rawValue;
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                failureReason_ = s;
-                break;
-              }
-            case 40:
-              {
-                attemptCount_ = input.readInt64();
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              failureReason_ = s;
+              break;
+            }
+            case 40: {
+
+              attemptCount_ = input.readInt64();
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6030,39 +5225,34 @@ private PatchJobInstanceDetails(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchJobs
-          .internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchJobs
-          .internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.class,
-              com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder.class);
+              com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.class, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder.class);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object name_;
     /**
-     *
-     *
      * 
      * The instance name in the form `projects/*/zones/*/instances/*`
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ @java.lang.Override @@ -6071,29 +5261,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * The instance name in the form `projects/*/zones/*/instances/*`
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -6104,15 +5294,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int INSTANCE_SYSTEM_ID_FIELD_NUMBER = 2; private volatile java.lang.Object instanceSystemId_; /** - * - * *
      * The unique identifier for the instance. This identifier is
      * defined by the server.
      * 
* * string instance_system_id = 2; - * * @return The instanceSystemId. */ @java.lang.Override @@ -6121,30 +5308,30 @@ public java.lang.String getInstanceSystemId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceSystemId_ = s; return s; } } /** - * - * *
      * The unique identifier for the instance. This identifier is
      * defined by the server.
      * 
* * string instance_system_id = 2; - * * @return The bytes for instanceSystemId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceSystemIdBytes() { + public com.google.protobuf.ByteString + getInstanceSystemIdBytes() { java.lang.Object ref = instanceSystemId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceSystemId_ = b; return b; } else { @@ -6155,52 +5342,38 @@ public com.google.protobuf.ByteString getInstanceSystemIdBytes() { public static final int STATE_FIELD_NUMBER = 3; private int state_; /** - * - * *
      * Current state of instance patch.
      * 
* * .google.cloud.osconfig.v1.Instance.PatchState state = 3; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Current state of instance patch.
      * 
* * .google.cloud.osconfig.v1.Instance.PatchState state = 3; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState getState() { + @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState result = - com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.valueOf(state_); - return result == null - ? com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState result = com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.UNRECOGNIZED : result; } public static final int FAILURE_REASON_FIELD_NUMBER = 4; private volatile java.lang.Object failureReason_; /** - * - * *
      * If the patch fails, this field provides the reason.
      * 
* * string failure_reason = 4; - * * @return The failureReason. */ @java.lang.Override @@ -6209,29 +5382,29 @@ public java.lang.String getFailureReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failureReason_ = s; return s; } } /** - * - * *
      * If the patch fails, this field provides the reason.
      * 
* * string failure_reason = 4; - * * @return The bytes for failureReason. */ @java.lang.Override - public com.google.protobuf.ByteString getFailureReasonBytes() { + public com.google.protobuf.ByteString + getFailureReasonBytes() { java.lang.Object ref = failureReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); failureReason_ = b; return b; } else { @@ -6242,14 +5415,11 @@ public com.google.protobuf.ByteString getFailureReasonBytes() { public static final int ATTEMPT_COUNT_FIELD_NUMBER = 5; private long attemptCount_; /** - * - * *
      * The number of times the agent that the agent attempts to apply the patch.
      * 
* * int64 attempt_count = 5; - * * @return The attemptCount. */ @java.lang.Override @@ -6258,7 +5428,6 @@ public long getAttemptCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6270,16 +5439,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceSystemId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, instanceSystemId_); } - if (state_ - != com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.PATCH_STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.PATCH_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { @@ -6303,16 +5471,16 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceSystemId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceSystemId_); } - if (state_ - != com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.PATCH_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); + if (state_ != com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.PATCH_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, failureReason_); } if (attemptCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, attemptCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, attemptCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6322,19 +5490,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails other = - (com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails) obj; + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails other = (com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails) obj; - if (!getName().equals(other.getName())) return false; - if (!getInstanceSystemId().equals(other.getInstanceSystemId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getInstanceSystemId() + .equals(other.getInstanceSystemId())) return false; if (state_ != other.state_) return false; - if (!getFailureReason().equals(other.getFailureReason())) return false; - if (getAttemptCount() != other.getAttemptCount()) return false; + if (!getFailureReason() + .equals(other.getFailureReason())) return false; + if (getAttemptCount() + != other.getAttemptCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6355,101 +5526,95 @@ public int hashCode() { hash = (37 * hash) + FAILURE_REASON_FIELD_NUMBER; hash = (53 * hash) + getFailureReason().hashCode(); hash = (37 * hash) + ATTEMPT_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAttemptCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getAttemptCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails 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.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6459,8 +5624,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Patch details for a VM instance. For more information about reviewing VM
      * instance details, see
@@ -6470,24 +5633,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.PatchJobInstanceDetails}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.PatchJobInstanceDetails)
         com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.class,
-                com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.class, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.newBuilder()
@@ -6495,15 +5655,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -6521,14 +5682,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.getDefaultInstance();
       }
 
@@ -6543,8 +5703,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails buildPartial() {
-        com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails result =
-            new com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails(this);
+        com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails result = new com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails(this);
         result.name_ = name_;
         result.instanceSystemId_ = instanceSystemId_;
         result.state_ = state_;
@@ -6558,52 +5717,46 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails buildParti
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchJobs.PatchJobInstanceDetails) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails other) {
-        if (other
-            == com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails other) {
+        if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.getDefaultInstance()) return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -6641,9 +5794,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -6655,20 +5806,18 @@ public Builder mergeFrom(
 
       private java.lang.Object name_ = "";
       /**
-       *
-       *
        * 
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6677,21 +5826,20 @@ public java.lang.String getName() { } } /** - * - * *
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -6699,61 +5847,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -6761,21 +5902,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceSystemId_ = ""; /** - * - * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; - * * @return The instanceSystemId. */ public java.lang.String getInstanceSystemId() { java.lang.Object ref = instanceSystemId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceSystemId_ = s; return s; @@ -6784,22 +5923,21 @@ public java.lang.String getInstanceSystemId() { } } /** - * - * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; - * * @return The bytes for instanceSystemId. */ - public com.google.protobuf.ByteString getInstanceSystemIdBytes() { + public com.google.protobuf.ByteString + getInstanceSystemIdBytes() { java.lang.Object ref = instanceSystemId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceSystemId_ = b; return b; } else { @@ -6807,64 +5945,57 @@ public com.google.protobuf.ByteString getInstanceSystemIdBytes() { } } /** - * - * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; - * * @param value The instanceSystemId to set. * @return This builder for chaining. */ - public Builder setInstanceSystemId(java.lang.String value) { + public Builder setInstanceSystemId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceSystemId_ = value; onChanged(); return this; } /** - * - * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; - * * @return This builder for chaining. */ public Builder clearInstanceSystemId() { - + instanceSystemId_ = getDefaultInstance().getInstanceSystemId(); onChanged(); return this; } /** - * - * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; - * * @param value The bytes for instanceSystemId to set. * @return This builder for chaining. */ - public Builder setInstanceSystemIdBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceSystemIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceSystemId_ = value; onChanged(); return this; @@ -6872,67 +6003,51 @@ public Builder setInstanceSystemIdBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1.Instance.PatchState state = 3; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1.Instance.PatchState state = 3; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1.Instance.PatchState state = 3; - * * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState result = - com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.valueOf(state_); - return result == null - ? com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState result = com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.UNRECOGNIZED : result; } /** - * - * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1.Instance.PatchState state = 3; - * * @param value The state to set. * @return This builder for chaining. */ @@ -6940,24 +6055,21 @@ public Builder setState(com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchSta if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1.Instance.PatchState state = 3; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -6965,20 +6077,18 @@ public Builder clearState() { private java.lang.Object failureReason_ = ""; /** - * - * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; - * * @return The failureReason. */ public java.lang.String getFailureReason() { java.lang.Object ref = failureReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failureReason_ = s; return s; @@ -6987,21 +6097,20 @@ public java.lang.String getFailureReason() { } } /** - * - * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; - * * @return The bytes for failureReason. */ - public com.google.protobuf.ByteString getFailureReasonBytes() { + public com.google.protobuf.ByteString + getFailureReasonBytes() { java.lang.Object ref = failureReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); failureReason_ = b; return b; } else { @@ -7009,76 +6118,66 @@ public com.google.protobuf.ByteString getFailureReasonBytes() { } } /** - * - * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; - * * @param value The failureReason to set. * @return This builder for chaining. */ - public Builder setFailureReason(java.lang.String value) { + public Builder setFailureReason( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + failureReason_ = value; onChanged(); return this; } /** - * - * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; - * * @return This builder for chaining. */ public Builder clearFailureReason() { - + failureReason_ = getDefaultInstance().getFailureReason(); onChanged(); return this; } /** - * - * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; - * * @param value The bytes for failureReason to set. * @return This builder for chaining. */ - public Builder setFailureReasonBytes(com.google.protobuf.ByteString value) { + public Builder setFailureReasonBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + failureReason_ = value; onChanged(); return this; } - private long attemptCount_; + private long attemptCount_ ; /** - * - * *
        * The number of times the agent that the agent attempts to apply the patch.
        * 
* * int64 attempt_count = 5; - * * @return The attemptCount. */ @java.lang.Override @@ -7086,41 +6185,34 @@ public long getAttemptCount() { return attemptCount_; } /** - * - * *
        * The number of times the agent that the agent attempts to apply the patch.
        * 
* * int64 attempt_count = 5; - * * @param value The attemptCount to set. * @return This builder for chaining. */ public Builder setAttemptCount(long value) { - + attemptCount_ = value; onChanged(); return this; } /** - * - * *
        * The number of times the agent that the agent attempts to apply the patch.
        * 
* * int64 attempt_count = 5; - * * @return This builder for chaining. */ public Builder clearAttemptCount() { - + attemptCount_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7133,32 +6225,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.PatchJobInstanceDetails) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.PatchJobInstanceDetails) - private static final com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails(); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchJobInstanceDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchJobInstanceDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchJobInstanceDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchJobInstanceDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7170,89 +6260,69 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListPatchJobsRequestOrBuilder - extends + public interface ListPatchJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListPatchJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. In the form of `projects/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
      * Required. In the form of `projects/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
      * The maximum number of instance status to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
      * If provided, this field specifies the criteria that must be met by patch
      * jobs to be included in the response.
@@ -7260,13 +6330,10 @@ public interface ListPatchJobsRequestOrBuilder
      * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
      * If provided, this field specifies the criteria that must be met by patch
      * jobs to be included in the response.
@@ -7274,30 +6341,27 @@ public interface ListPatchJobsRequestOrBuilder
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } /** - * - * *
    * A request message for listing patch jobs.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchJobsRequest} */ - public static final class ListPatchJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListPatchJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListPatchJobsRequest) ListPatchJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchJobsRequest.newBuilder() to construct. private ListPatchJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPatchJobsRequest() { parent_ = ""; pageToken_ = ""; @@ -7306,15 +6370,16 @@ private ListPatchJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPatchJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPatchJobsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7333,39 +6398,36 @@ private ListPatchJobsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7373,41 +6435,34 @@ private ListPatchJobsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.class, - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.class, com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
      * Required. In the form of `projects/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -7416,31 +6471,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
      * Required. In the form of `projects/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -7451,14 +6504,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
      * The maximum number of instance status to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -7469,15 +6519,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -7486,30 +6533,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -7520,8 +6567,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
      * If provided, this field specifies the criteria that must be met by patch
      * jobs to be included in the response.
@@ -7529,7 +6574,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -7538,15 +6582,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by patch
      * jobs to be included in the response.
@@ -7554,15 +6597,16 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -7571,7 +6615,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7583,7 +6626,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -7609,7 +6653,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -7625,18 +6670,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest other = - (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest) obj; + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest other = (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7662,94 +6710,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest 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.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7759,32 +6800,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for listing patch jobs.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchJobsRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListPatchJobsRequest) com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.class, - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.class, com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.newBuilder() @@ -7792,15 +6828,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -7816,14 +6853,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.getDefaultInstance(); } @@ -7838,8 +6874,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest result = - new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest(this); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest result = new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -7852,41 +6887,38 @@ public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.ListPatchJobsRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -7894,9 +6926,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest other) { - if (other - == com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -7931,9 +6961,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7945,22 +6973,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
        * Required. In the form of `projects/*`
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -7969,23 +6993,20 @@ public java.lang.String getParent() { } } /** - * - * *
        * Required. In the form of `projects/*`
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -7993,82 +7014,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
        * Required. In the form of `projects/*`
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
        * Required. In the form of `projects/*`
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
        * Required. In the form of `projects/*`
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
        * The maximum number of instance status to return.
        * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -8076,36 +7081,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
        * The maximum number of instance status to return.
        * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
        * The maximum number of instance status to return.
        * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -8113,21 +7112,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -8136,22 +7133,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -8159,64 +7155,57 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -8224,8 +7213,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -8233,13 +7220,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
        * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -8248,8 +7235,6 @@ public java.lang.String getFilter() { } } /** - * - * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -8257,14 +7242,15 @@ public java.lang.String getFilter() {
        * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -8272,8 +7258,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -8281,22 +7265,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
        * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -8304,18 +7286,15 @@ public Builder setFilter(java.lang.String value) {
        * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -8323,21 +7302,20 @@ public Builder clearFilter() {
        * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8350,13 +7328,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListPatchJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListPatchJobsRequest) - private static final com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest(); } @@ -8365,16 +7342,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchJobsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchJobsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8389,26 +7366,23 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListPatchJobsResponseOrBuilder - extends + public interface ListPatchJobsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListPatchJobsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The list of patch jobs.
      * 
* * repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1; */ - java.util.List getPatchJobsList(); + java.util.List + getPatchJobsList(); /** - * - * *
      * The list of patch jobs.
      * 
@@ -8417,8 +7391,6 @@ public interface ListPatchJobsResponseOrBuilder */ com.google.cloud.osconfig.v1.PatchJobs.PatchJob getPatchJobs(int index); /** - * - * *
      * The list of patch jobs.
      * 
@@ -8427,71 +7399,60 @@ public interface ListPatchJobsResponseOrBuilder */ int getPatchJobsCount(); /** - * - * *
      * The list of patch jobs.
      * 
* * repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1; */ - java.util.List + java.util.List getPatchJobsOrBuilderList(); /** - * - * *
      * The list of patch jobs.
      * 
* * repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1; */ - com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder getPatchJobsOrBuilder(int index); + com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder getPatchJobsOrBuilder( + int index); /** - * - * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } /** - * - * *
    * A response message for listing patch jobs.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchJobsResponse} */ - public static final class ListPatchJobsResponse extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListPatchJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListPatchJobsResponse) ListPatchJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchJobsResponse.newBuilder() to construct. private ListPatchJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPatchJobsResponse() { patchJobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -8499,15 +7460,16 @@ private ListPatchJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPatchJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPatchJobsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -8527,33 +7489,28 @@ private ListPatchJobsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - patchJobs_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - patchJobs_.add( - input.readMessage( - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + patchJobs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + patchJobs_.add( + input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchJob.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8561,7 +7518,8 @@ private ListPatchJobsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { patchJobs_ = java.util.Collections.unmodifiableList(patchJobs_); @@ -8570,27 +7528,22 @@ private ListPatchJobsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.class, - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.class, com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.Builder.class); } public static final int PATCH_JOBS_FIELD_NUMBER = 1; private java.util.List patchJobs_; /** - * - * *
      * The list of patch jobs.
      * 
@@ -8602,8 +7555,6 @@ public java.util.List getPatchJ return patchJobs_; } /** - * - * *
      * The list of patch jobs.
      * 
@@ -8611,13 +7562,11 @@ public java.util.List getPatchJ * repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPatchJobsOrBuilderList() { return patchJobs_; } /** - * - * *
      * The list of patch jobs.
      * 
@@ -8629,8 +7578,6 @@ public int getPatchJobsCount() { return patchJobs_.size(); } /** - * - * *
      * The list of patch jobs.
      * 
@@ -8642,8 +7589,6 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob getPatchJobs(int index) { return patchJobs_.get(index); } /** - * - * *
      * The list of patch jobs.
      * 
@@ -8659,14 +7604,11 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder getPatchJobsOrBu public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -8675,29 +7617,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -8706,7 +7648,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8718,7 +7659,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < patchJobs_.size(); i++) { output.writeMessage(1, patchJobs_.get(i)); } @@ -8735,7 +7677,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < patchJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, patchJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, patchJobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -8748,16 +7691,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse other = - (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse) obj; + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse other = (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse) obj; - if (!getPatchJobsList().equals(other.getPatchJobsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPatchJobsList() + .equals(other.getPatchJobsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8781,94 +7725,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse 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.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8878,32 +7815,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A response message for listing patch jobs.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchJobsResponse} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListPatchJobsResponse) com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.class, - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.class, com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.newBuilder() @@ -8911,17 +7843,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPatchJobsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -8937,14 +7869,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.getDefaultInstance(); } @@ -8959,8 +7890,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse result = - new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse(this); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse result = new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse(this); int from_bitField0_ = bitField0_; if (patchJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -8980,41 +7910,38 @@ public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.ListPatchJobsResponse) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse) other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse)other); } else { super.mergeFrom(other); return this; @@ -9022,9 +7949,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse other) { - if (other - == com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.getDefaultInstance()) return this; if (patchJobsBuilder_ == null) { if (!other.patchJobs_.isEmpty()) { if (patchJobs_.isEmpty()) { @@ -9043,10 +7968,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRes patchJobsBuilder_ = null; patchJobs_ = other.patchJobs_; bitField0_ = (bitField0_ & ~0x00000001); - patchJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPatchJobsFieldBuilder() - : null; + patchJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPatchJobsFieldBuilder() : null; } else { patchJobsBuilder_.addAllMessages(other.patchJobs_); } @@ -9075,9 +7999,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9086,29 +8008,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List patchJobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePatchJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - patchJobs_ = - new java.util.ArrayList(patchJobs_); + patchJobs_ = new java.util.ArrayList(patchJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchJob, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder> - patchJobsBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchJob, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder> patchJobsBuilder_; /** - * - * *
        * The list of patch jobs.
        * 
@@ -9123,8 +8037,6 @@ public java.util.List getPatchJ } } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9139,8 +8051,6 @@ public int getPatchJobsCount() { } } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9155,8 +8065,6 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob getPatchJobs(int index) { } } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9178,8 +8086,6 @@ public Builder setPatchJobs( return this; } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9198,8 +8104,6 @@ public Builder setPatchJobs( return this; } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9220,8 +8124,6 @@ public Builder addPatchJobs(com.google.cloud.osconfig.v1.PatchJobs.PatchJob valu return this; } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9243,8 +8145,6 @@ public Builder addPatchJobs( return this; } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9263,8 +8163,6 @@ public Builder addPatchJobs( return this; } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9283,8 +8181,6 @@ public Builder addPatchJobs( return this; } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9295,7 +8191,8 @@ public Builder addAllPatchJobs( java.lang.Iterable values) { if (patchJobsBuilder_ == null) { ensurePatchJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, patchJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, patchJobs_); onChanged(); } else { patchJobsBuilder_.addAllMessages(values); @@ -9303,8 +8200,6 @@ public Builder addAllPatchJobs( return this; } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9322,8 +8217,6 @@ public Builder clearPatchJobs() { return this; } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9341,8 +8234,6 @@ public Builder removePatchJobs(int index) { return this; } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9354,8 +8245,6 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder getPatchJobsBuild return getPatchJobsFieldBuilder().getBuilder(index); } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9365,22 +8254,19 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder getPatchJobsBuild public com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder getPatchJobsOrBuilder( int index) { if (patchJobsBuilder_ == null) { - return patchJobs_.get(index); - } else { + return patchJobs_.get(index); } else { return patchJobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The list of patch jobs.
        * 
* * repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1; */ - public java.util.List - getPatchJobsOrBuilderList() { + public java.util.List + getPatchJobsOrBuilderList() { if (patchJobsBuilder_ != null) { return patchJobsBuilder_.getMessageOrBuilderList(); } else { @@ -9388,8 +8274,6 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder getPatchJobsOrBu } } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9397,12 +8281,10 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder getPatchJobsOrBu * repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1; */ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder addPatchJobsBuilder() { - return getPatchJobsFieldBuilder() - .addBuilder(com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance()); + return getPatchJobsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance()); } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9411,36 +8293,30 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder addPatchJobsBuild */ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder addPatchJobsBuilder( int index) { - return getPatchJobsFieldBuilder() - .addBuilder( - index, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance()); + return getPatchJobsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance()); } /** - * - * *
        * The list of patch jobs.
        * 
* * repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1; */ - public java.util.List - getPatchJobsBuilderList() { + public java.util.List + getPatchJobsBuilderList() { return getPatchJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchJob, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchJob, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder> getPatchJobsFieldBuilder() { if (patchJobsBuilder_ == null) { - patchJobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchJob, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder>( - patchJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + patchJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchJob, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder>( + patchJobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); patchJobs_ = null; } return patchJobsBuilder_; @@ -9448,20 +8324,18 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder addPatchJobsBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -9470,21 +8344,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -9492,66 +8365,58 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9564,32 +8429,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListPatchJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListPatchJobsResponse) - private static final com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse(); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchJobsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchJobsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9601,123 +8464,99 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PatchJobOrBuilder - extends + public interface PatchJobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.PatchJob) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Unique identifier for this patch job in the form
      * `projects/*/patchJobs/*`
      * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Unique identifier for this patch job in the form
      * `projects/*/patchJobs/*`
      * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Display name for this patch job. This is not a unique identifier.
      * 
* * string display_name = 14; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
      * Display name for this patch job. This is not a unique identifier.
      * 
* * string display_name = 14; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * Time this patch job was created.
      * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
      * Time this patch job was created.
      * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
      * Time this patch job was created.
      * 
@@ -9727,32 +8566,24 @@ public interface PatchJobOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
      * Last time this patch job was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
      * Last time this patch job was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
      * Last time this patch job was updated.
      * 
@@ -9762,93 +8593,70 @@ public interface PatchJobOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
      * The current state of the PatchJob.
      * 
* * .google.cloud.osconfig.v1.PatchJob.State state = 5; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
      * The current state of the PatchJob.
      * 
* * .google.cloud.osconfig.v1.PatchJob.State state = 5; - * * @return The state. */ com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State getState(); /** - * - * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; - * * @return Whether the instanceFilter field is set. */ boolean hasInstanceFilter(); /** - * - * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; - * * @return The instanceFilter. */ com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFilter(); /** - * - * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; */ - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder - getInstanceFilterOrBuilder(); + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder(); /** - * - * *
      * Patch configuration being applied.
      * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 7; - * * @return Whether the patchConfig field is set. */ boolean hasPatchConfig(); /** - * - * *
      * Patch configuration being applied.
      * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 7; - * * @return The patchConfig. */ com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getPatchConfig(); /** - * - * *
      * Patch configuration being applied.
      * 
@@ -9858,34 +8666,26 @@ public interface PatchJobOrBuilder com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder(); /** - * - * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
      * 
* * .google.protobuf.Duration duration = 8; - * * @return Whether the duration field is set. */ boolean hasDuration(); /** - * - * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
      * 
* * .google.protobuf.Duration duration = 8; - * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** - * - * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
@@ -9896,156 +8696,115 @@ public interface PatchJobOrBuilder
     com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
     /**
-     *
-     *
      * 
      * Summary of instance details.
      * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * - * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; * @return Whether the instanceDetailsSummary field is set. */ boolean hasInstanceDetailsSummary(); /** - * - * *
      * Summary of instance details.
      * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * - * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; * @return The instanceDetailsSummary. */ - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - getInstanceDetailsSummary(); + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary getInstanceDetailsSummary(); /** - * - * *
      * Summary of instance details.
      * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; */ - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder - getInstanceDetailsSummaryOrBuilder(); + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder getInstanceDetailsSummaryOrBuilder(); /** - * - * *
      * If this patch job is a dry run, the agent reports that it has
      * finished without running any updates on the VM instance.
      * 
* * bool dry_run = 10; - * * @return The dryRun. */ boolean getDryRun(); /** - * - * *
      * If this patch job failed, this message provides information about the
      * failure.
      * 
* * string error_message = 11; - * * @return The errorMessage. */ java.lang.String getErrorMessage(); /** - * - * *
      * If this patch job failed, this message provides information about the
      * failure.
      * 
* * string error_message = 11; - * * @return The bytes for errorMessage. */ - com.google.protobuf.ByteString getErrorMessageBytes(); + com.google.protobuf.ByteString + getErrorMessageBytes(); /** - * - * *
      * Reflects the overall progress of the patch job in the range of
      * 0.0 being no progress to 100.0 being complete.
      * 
* * double percent_complete = 12; - * * @return The percentComplete. */ double getPercentComplete(); /** - * - * *
      * Output only. Name of the patch deployment that created this patch job.
      * 
* - * - * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The patchDeployment. */ java.lang.String getPatchDeployment(); /** - * - * *
      * Output only. Name of the patch deployment that created this patch job.
      * 
* - * - * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for patchDeployment. */ - com.google.protobuf.ByteString getPatchDeploymentBytes(); + com.google.protobuf.ByteString + getPatchDeploymentBytes(); /** - * - * *
      * Rollout strategy being applied.
      * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 16; - * * @return Whether the rollout field is set. */ boolean hasRollout(); /** - * - * *
      * Rollout strategy being applied.
      * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 16; - * * @return The rollout. */ com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getRollout(); /** - * - * *
      * Rollout strategy being applied.
      * 
@@ -10055,8 +8814,6 @@ public interface PatchJobOrBuilder com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder(); } /** - * - * *
    * A high level representation of a patch job that is either in progress
    * or has completed.
@@ -10069,16 +8826,15 @@ public interface PatchJobOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1.PatchJob}
    */
-  public static final class PatchJob extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PatchJob extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.PatchJob)
       PatchJobOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PatchJob.newBuilder() to construct.
     private PatchJob(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PatchJob() {
       name_ = "";
       displayName_ = "";
@@ -10090,15 +8846,16 @@ private PatchJob() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PatchJob();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PatchJob(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -10117,181 +8874,150 @@ private PatchJob(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                name_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                description_ = s;
-                break;
+              description_ = s;
+              break;
+            }
+            case 26: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
               }
-            case 26:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (createTime_ != null) {
-                  subBuilder = createTime_.toBuilder();
-                }
-                createTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(createTime_);
-                  createTime_ = subBuilder.buildPartial();
-                }
-
-                break;
+              createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
               }
-            case 34:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (updateTime_ != null) {
-                  subBuilder = updateTime_.toBuilder();
-                }
-                updateTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(updateTime_);
-                  updateTime_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 34: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
               }
-            case 40:
-              {
-                int rawValue = input.readEnum();
-
-                state_ = rawValue;
-                break;
+              updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
               }
-            case 58:
-              {
-                com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder subBuilder = null;
-                if (patchConfig_ != null) {
-                  subBuilder = patchConfig_.toBuilder();
-                }
-                patchConfig_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(patchConfig_);
-                  patchConfig_ = subBuilder.buildPartial();
-                }
 
-                break;
-              }
-            case 66:
-              {
-                com.google.protobuf.Duration.Builder subBuilder = null;
-                if (duration_ != null) {
-                  subBuilder = duration_.toBuilder();
-                }
-                duration_ =
-                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(duration_);
-                  duration_ = subBuilder.buildPartial();
-                }
+              break;
+            }
+            case 40: {
+              int rawValue = input.readEnum();
 
-                break;
+              state_ = rawValue;
+              break;
+            }
+            case 58: {
+              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder subBuilder = null;
+              if (patchConfig_ != null) {
+                subBuilder = patchConfig_.toBuilder();
+              }
+              patchConfig_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(patchConfig_);
+                patchConfig_ = subBuilder.buildPartial();
               }
-            case 74:
-              {
-                com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder
-                    subBuilder = null;
-                if (instanceDetailsSummary_ != null) {
-                  subBuilder = instanceDetailsSummary_.toBuilder();
-                }
-                instanceDetailsSummary_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary
-                            .parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(instanceDetailsSummary_);
-                  instanceDetailsSummary_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 66: {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (duration_ != null) {
+                subBuilder = duration_.toBuilder();
               }
-            case 80:
-              {
-                dryRun_ = input.readBool();
-                break;
+              duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(duration_);
+                duration_ = subBuilder.buildPartial();
               }
-            case 90:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
 
-                errorMessage_ = s;
-                break;
+              break;
+            }
+            case 74: {
+              com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder subBuilder = null;
+              if (instanceDetailsSummary_ != null) {
+                subBuilder = instanceDetailsSummary_.toBuilder();
               }
-            case 97:
-              {
-                percentComplete_ = input.readDouble();
-                break;
+              instanceDetailsSummary_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(instanceDetailsSummary_);
+                instanceDetailsSummary_ = subBuilder.buildPartial();
               }
-            case 106:
-              {
-                com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder subBuilder =
-                    null;
-                if (instanceFilter_ != null) {
-                  subBuilder = instanceFilter_.toBuilder();
-                }
-                instanceFilter_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(instanceFilter_);
-                  instanceFilter_ = subBuilder.buildPartial();
-                }
 
-                break;
-              }
-            case 114:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+            case 80: {
 
-                displayName_ = s;
-                break;
-              }
-            case 122:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              dryRun_ = input.readBool();
+              break;
+            }
+            case 90: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                patchDeployment_ = s;
-                break;
+              errorMessage_ = s;
+              break;
+            }
+            case 97: {
+
+              percentComplete_ = input.readDouble();
+              break;
+            }
+            case 106: {
+              com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder subBuilder = null;
+              if (instanceFilter_ != null) {
+                subBuilder = instanceFilter_.toBuilder();
+              }
+              instanceFilter_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(instanceFilter_);
+                instanceFilter_ = subBuilder.buildPartial();
               }
-            case 130:
-              {
-                com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder subBuilder = null;
-                if (rollout_ != null) {
-                  subBuilder = rollout_.toBuilder();
-                }
-                rollout_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(rollout_);
-                  rollout_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 114: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              displayName_ = s;
+              break;
+            }
+            case 122: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              patchDeployment_ = s;
+              break;
+            }
+            case 130: {
+              com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder subBuilder = null;
+              if (rollout_ != null) {
+                subBuilder = rollout_.toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              rollout_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rollout_);
+                rollout_ = subBuilder.buildPartial();
               }
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -10299,31 +9025,27 @@ private PatchJob(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchJobs
-          .internal_static_google_cloud_osconfig_v1_PatchJob_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchJobs
-          .internal_static_google_cloud_osconfig_v1_PatchJob_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class,
-              com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder.class);
+              com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * Enumeration of the various states a patch job passes through as it
      * executes.
@@ -10331,10 +9053,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      *
      * Protobuf enum {@code google.cloud.osconfig.v1.PatchJob.State}
      */
-    public enum State implements com.google.protobuf.ProtocolMessageEnum {
+    public enum State
+        implements com.google.protobuf.ProtocolMessageEnum {
       /**
-       *
-       *
        * 
        * State must be specified.
        * 
@@ -10343,8 +9064,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
        * The patch job was successfully initiated.
        * 
@@ -10353,8 +9072,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STARTED(1), /** - * - * *
        * The patch job is looking up instances to run the patch on.
        * 
@@ -10363,8 +9080,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ INSTANCE_LOOKUP(2), /** - * - * *
        * Instances are being patched.
        * 
@@ -10373,8 +9088,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PATCHING(3), /** - * - * *
        * Patch job completed successfully.
        * 
@@ -10383,8 +9096,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(4), /** - * - * *
        * Patch job completed but there were errors.
        * 
@@ -10393,8 +9104,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ COMPLETED_WITH_ERRORS(5), /** - * - * *
        * The patch job was canceled.
        * 
@@ -10403,8 +9112,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELED(6), /** - * - * *
        * The patch job timed out.
        * 
@@ -10416,8 +9123,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * State must be specified.
        * 
@@ -10426,8 +9131,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The patch job was successfully initiated.
        * 
@@ -10436,8 +9139,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STARTED_VALUE = 1; /** - * - * *
        * The patch job is looking up instances to run the patch on.
        * 
@@ -10446,8 +9147,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTANCE_LOOKUP_VALUE = 2; /** - * - * *
        * Instances are being patched.
        * 
@@ -10456,8 +9155,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PATCHING_VALUE = 3; /** - * - * *
        * Patch job completed successfully.
        * 
@@ -10466,8 +9163,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 4; /** - * - * *
        * Patch job completed but there were errors.
        * 
@@ -10476,8 +9171,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPLETED_WITH_ERRORS_VALUE = 5; /** - * - * *
        * The patch job was canceled.
        * 
@@ -10486,8 +9179,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELED_VALUE = 6; /** - * - * *
        * The patch job timed out.
        * 
@@ -10496,6 +9187,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIMED_OUT_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -10520,61 +9212,54 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return STARTED; - case 2: - return INSTANCE_LOOKUP; - case 3: - return PATCHING; - case 4: - return SUCCEEDED; - case 5: - return COMPLETED_WITH_ERRORS; - case 6: - return CANCELED; - case 7: - return TIMED_OUT; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return STARTED; + case 2: return INSTANCE_LOOKUP; + case 3: return PATCHING; + case 4: return SUCCEEDED; + case 5: return COMPLETED_WITH_ERRORS; + case 6: return CANCELED; + case 7: return TIMED_OUT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -10591,196 +9276,151 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1.PatchJob.State) } - public interface InstanceDetailsSummaryOrBuilder - extends + public interface InstanceDetailsSummaryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Number of instances pending patch job.
        * 
* * int64 pending_instance_count = 1; - * * @return The pendingInstanceCount. */ long getPendingInstanceCount(); /** - * - * *
        * Number of instances that are inactive.
        * 
* * int64 inactive_instance_count = 2; - * * @return The inactiveInstanceCount. */ long getInactiveInstanceCount(); /** - * - * *
        * Number of instances notified about patch job.
        * 
* * int64 notified_instance_count = 3; - * * @return The notifiedInstanceCount. */ long getNotifiedInstanceCount(); /** - * - * *
        * Number of instances that have started.
        * 
* * int64 started_instance_count = 4; - * * @return The startedInstanceCount. */ long getStartedInstanceCount(); /** - * - * *
        * Number of instances that are downloading patches.
        * 
* * int64 downloading_patches_instance_count = 5; - * * @return The downloadingPatchesInstanceCount. */ long getDownloadingPatchesInstanceCount(); /** - * - * *
        * Number of instances that are applying patches.
        * 
* * int64 applying_patches_instance_count = 6; - * * @return The applyingPatchesInstanceCount. */ long getApplyingPatchesInstanceCount(); /** - * - * *
        * Number of instances rebooting.
        * 
* * int64 rebooting_instance_count = 7; - * * @return The rebootingInstanceCount. */ long getRebootingInstanceCount(); /** - * - * *
        * Number of instances that have completed successfully.
        * 
* * int64 succeeded_instance_count = 8; - * * @return The succeededInstanceCount. */ long getSucceededInstanceCount(); /** - * - * *
        * Number of instances that require reboot.
        * 
* * int64 succeeded_reboot_required_instance_count = 9; - * * @return The succeededRebootRequiredInstanceCount. */ long getSucceededRebootRequiredInstanceCount(); /** - * - * *
        * Number of instances that failed.
        * 
* * int64 failed_instance_count = 10; - * * @return The failedInstanceCount. */ long getFailedInstanceCount(); /** - * - * *
        * Number of instances that have acked and will start shortly.
        * 
* * int64 acked_instance_count = 11; - * * @return The ackedInstanceCount. */ long getAckedInstanceCount(); /** - * - * *
        * Number of instances that exceeded the time out while applying the patch.
        * 
* * int64 timed_out_instance_count = 12; - * * @return The timedOutInstanceCount. */ long getTimedOutInstanceCount(); /** - * - * *
        * Number of instances that are running the pre-patch step.
        * 
* * int64 pre_patch_step_instance_count = 13; - * * @return The prePatchStepInstanceCount. */ long getPrePatchStepInstanceCount(); /** - * - * *
        * Number of instances that are running the post-patch step.
        * 
* * int64 post_patch_step_instance_count = 14; - * * @return The postPatchStepInstanceCount. */ long getPostPatchStepInstanceCount(); /** - * - * *
        * Number of instances that do not appear to be running the agent. Check to
        * ensure that the agent is installed, running, and able to communicate with
@@ -10788,14 +9428,11 @@ public interface InstanceDetailsSummaryOrBuilder
        * 
* * int64 no_agent_detected_instance_count = 15; - * * @return The noAgentDetectedInstanceCount. */ long getNoAgentDetectedInstanceCount(); } /** - * - * *
      * A summary of the current patch state across all instances that this patch
      * job affects. Contains counts of instances in different states. These states
@@ -10805,29 +9442,30 @@ public interface InstanceDetailsSummaryOrBuilder
      *
      * Protobuf type {@code google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary}
      */
-    public static final class InstanceDetailsSummary extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class InstanceDetailsSummary extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary)
         InstanceDetailsSummaryOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use InstanceDetailsSummary.newBuilder() to construct.
       private InstanceDetailsSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private InstanceDetailsSummary() {}
+      private InstanceDetailsSummary() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new InstanceDetailsSummary();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private InstanceDetailsSummary(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -10846,88 +9484,88 @@ private InstanceDetailsSummary(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  pendingInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 16:
-                {
-                  inactiveInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 24:
-                {
-                  notifiedInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 32:
-                {
-                  startedInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 40:
-                {
-                  downloadingPatchesInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 48:
-                {
-                  applyingPatchesInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 56:
-                {
-                  rebootingInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 64:
-                {
-                  succeededInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 72:
-                {
-                  succeededRebootRequiredInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 80:
-                {
-                  failedInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 88:
-                {
-                  ackedInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 96:
-                {
-                  timedOutInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 104:
-                {
-                  prePatchStepInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 112:
-                {
-                  postPatchStepInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 120:
-                {
-                  noAgentDetectedInstanceCount_ = input.readInt64();
-                  break;
-                }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+              case 8: {
+
+                pendingInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 16: {
+
+                inactiveInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 24: {
+
+                notifiedInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 32: {
+
+                startedInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 40: {
+
+                downloadingPatchesInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 48: {
+
+                applyingPatchesInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 56: {
+
+                rebootingInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 64: {
+
+                succeededInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 72: {
+
+                succeededRebootRequiredInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 80: {
+
+                failedInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 88: {
+
+                ackedInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 96: {
+
+                timedOutInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 104: {
+
+                prePatchStepInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 112: {
+
+                postPatchStepInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 120: {
+
+                noAgentDetectedInstanceCount_ = input.readInt64();
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -10935,41 +9573,34 @@ private InstanceDetailsSummary(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.class,
-                com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder
-                    .class);
+                com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.class, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder.class);
       }
 
       public static final int PENDING_INSTANCE_COUNT_FIELD_NUMBER = 1;
       private long pendingInstanceCount_;
       /**
-       *
-       *
        * 
        * Number of instances pending patch job.
        * 
* * int64 pending_instance_count = 1; - * * @return The pendingInstanceCount. */ @java.lang.Override @@ -10980,14 +9611,11 @@ public long getPendingInstanceCount() { public static final int INACTIVE_INSTANCE_COUNT_FIELD_NUMBER = 2; private long inactiveInstanceCount_; /** - * - * *
        * Number of instances that are inactive.
        * 
* * int64 inactive_instance_count = 2; - * * @return The inactiveInstanceCount. */ @java.lang.Override @@ -10998,14 +9626,11 @@ public long getInactiveInstanceCount() { public static final int NOTIFIED_INSTANCE_COUNT_FIELD_NUMBER = 3; private long notifiedInstanceCount_; /** - * - * *
        * Number of instances notified about patch job.
        * 
* * int64 notified_instance_count = 3; - * * @return The notifiedInstanceCount. */ @java.lang.Override @@ -11016,14 +9641,11 @@ public long getNotifiedInstanceCount() { public static final int STARTED_INSTANCE_COUNT_FIELD_NUMBER = 4; private long startedInstanceCount_; /** - * - * *
        * Number of instances that have started.
        * 
* * int64 started_instance_count = 4; - * * @return The startedInstanceCount. */ @java.lang.Override @@ -11034,14 +9656,11 @@ public long getStartedInstanceCount() { public static final int DOWNLOADING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER = 5; private long downloadingPatchesInstanceCount_; /** - * - * *
        * Number of instances that are downloading patches.
        * 
* * int64 downloading_patches_instance_count = 5; - * * @return The downloadingPatchesInstanceCount. */ @java.lang.Override @@ -11052,14 +9671,11 @@ public long getDownloadingPatchesInstanceCount() { public static final int APPLYING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER = 6; private long applyingPatchesInstanceCount_; /** - * - * *
        * Number of instances that are applying patches.
        * 
* * int64 applying_patches_instance_count = 6; - * * @return The applyingPatchesInstanceCount. */ @java.lang.Override @@ -11070,14 +9686,11 @@ public long getApplyingPatchesInstanceCount() { public static final int REBOOTING_INSTANCE_COUNT_FIELD_NUMBER = 7; private long rebootingInstanceCount_; /** - * - * *
        * Number of instances rebooting.
        * 
* * int64 rebooting_instance_count = 7; - * * @return The rebootingInstanceCount. */ @java.lang.Override @@ -11088,14 +9701,11 @@ public long getRebootingInstanceCount() { public static final int SUCCEEDED_INSTANCE_COUNT_FIELD_NUMBER = 8; private long succeededInstanceCount_; /** - * - * *
        * Number of instances that have completed successfully.
        * 
* * int64 succeeded_instance_count = 8; - * * @return The succeededInstanceCount. */ @java.lang.Override @@ -11106,14 +9716,11 @@ public long getSucceededInstanceCount() { public static final int SUCCEEDED_REBOOT_REQUIRED_INSTANCE_COUNT_FIELD_NUMBER = 9; private long succeededRebootRequiredInstanceCount_; /** - * - * *
        * Number of instances that require reboot.
        * 
* * int64 succeeded_reboot_required_instance_count = 9; - * * @return The succeededRebootRequiredInstanceCount. */ @java.lang.Override @@ -11124,14 +9731,11 @@ public long getSucceededRebootRequiredInstanceCount() { public static final int FAILED_INSTANCE_COUNT_FIELD_NUMBER = 10; private long failedInstanceCount_; /** - * - * *
        * Number of instances that failed.
        * 
* * int64 failed_instance_count = 10; - * * @return The failedInstanceCount. */ @java.lang.Override @@ -11142,14 +9746,11 @@ public long getFailedInstanceCount() { public static final int ACKED_INSTANCE_COUNT_FIELD_NUMBER = 11; private long ackedInstanceCount_; /** - * - * *
        * Number of instances that have acked and will start shortly.
        * 
* * int64 acked_instance_count = 11; - * * @return The ackedInstanceCount. */ @java.lang.Override @@ -11160,14 +9761,11 @@ public long getAckedInstanceCount() { public static final int TIMED_OUT_INSTANCE_COUNT_FIELD_NUMBER = 12; private long timedOutInstanceCount_; /** - * - * *
        * Number of instances that exceeded the time out while applying the patch.
        * 
* * int64 timed_out_instance_count = 12; - * * @return The timedOutInstanceCount. */ @java.lang.Override @@ -11178,14 +9776,11 @@ public long getTimedOutInstanceCount() { public static final int PRE_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER = 13; private long prePatchStepInstanceCount_; /** - * - * *
        * Number of instances that are running the pre-patch step.
        * 
* * int64 pre_patch_step_instance_count = 13; - * * @return The prePatchStepInstanceCount. */ @java.lang.Override @@ -11196,14 +9791,11 @@ public long getPrePatchStepInstanceCount() { public static final int POST_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER = 14; private long postPatchStepInstanceCount_; /** - * - * *
        * Number of instances that are running the post-patch step.
        * 
* * int64 post_patch_step_instance_count = 14; - * * @return The postPatchStepInstanceCount. */ @java.lang.Override @@ -11214,8 +9806,6 @@ public long getPostPatchStepInstanceCount() { public static final int NO_AGENT_DETECTED_INSTANCE_COUNT_FIELD_NUMBER = 15; private long noAgentDetectedInstanceCount_; /** - * - * *
        * Number of instances that do not appear to be running the agent. Check to
        * ensure that the agent is installed, running, and able to communicate with
@@ -11223,7 +9813,6 @@ public long getPostPatchStepInstanceCount() {
        * 
* * int64 no_agent_detected_instance_count = 15; - * * @return The noAgentDetectedInstanceCount. */ @java.lang.Override @@ -11232,7 +9821,6 @@ public long getNoAgentDetectedInstanceCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11244,7 +9832,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (pendingInstanceCount_ != 0L) { output.writeInt64(1, pendingInstanceCount_); } @@ -11300,64 +9889,64 @@ public int getSerializedSize() { size = 0; if (pendingInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, pendingInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, pendingInstanceCount_); } if (inactiveInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, inactiveInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, inactiveInstanceCount_); } if (notifiedInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, notifiedInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, notifiedInstanceCount_); } if (startedInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, startedInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, startedInstanceCount_); } if (downloadingPatchesInstanceCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 5, downloadingPatchesInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, downloadingPatchesInstanceCount_); } if (applyingPatchesInstanceCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 6, applyingPatchesInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(6, applyingPatchesInstanceCount_); } if (rebootingInstanceCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(7, rebootingInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(7, rebootingInstanceCount_); } if (succeededInstanceCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(8, succeededInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(8, succeededInstanceCount_); } if (succeededRebootRequiredInstanceCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 9, succeededRebootRequiredInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(9, succeededRebootRequiredInstanceCount_); } if (failedInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(10, failedInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(10, failedInstanceCount_); } if (ackedInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, ackedInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(11, ackedInstanceCount_); } if (timedOutInstanceCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(12, timedOutInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(12, timedOutInstanceCount_); } if (prePatchStepInstanceCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 13, prePatchStepInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(13, prePatchStepInstanceCount_); } if (postPatchStepInstanceCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 14, postPatchStepInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(14, postPatchStepInstanceCount_); } if (noAgentDetectedInstanceCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 15, noAgentDetectedInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(15, noAgentDetectedInstanceCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -11367,34 +9956,43 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary other = - (com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary) obj; - - if (getPendingInstanceCount() != other.getPendingInstanceCount()) return false; - if (getInactiveInstanceCount() != other.getInactiveInstanceCount()) return false; - if (getNotifiedInstanceCount() != other.getNotifiedInstanceCount()) return false; - if (getStartedInstanceCount() != other.getStartedInstanceCount()) return false; - if (getDownloadingPatchesInstanceCount() != other.getDownloadingPatchesInstanceCount()) - return false; - if (getApplyingPatchesInstanceCount() != other.getApplyingPatchesInstanceCount()) - return false; - if (getRebootingInstanceCount() != other.getRebootingInstanceCount()) return false; - if (getSucceededInstanceCount() != other.getSucceededInstanceCount()) return false; + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary other = (com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary) obj; + + if (getPendingInstanceCount() + != other.getPendingInstanceCount()) return false; + if (getInactiveInstanceCount() + != other.getInactiveInstanceCount()) return false; + if (getNotifiedInstanceCount() + != other.getNotifiedInstanceCount()) return false; + if (getStartedInstanceCount() + != other.getStartedInstanceCount()) return false; + if (getDownloadingPatchesInstanceCount() + != other.getDownloadingPatchesInstanceCount()) return false; + if (getApplyingPatchesInstanceCount() + != other.getApplyingPatchesInstanceCount()) return false; + if (getRebootingInstanceCount() + != other.getRebootingInstanceCount()) return false; + if (getSucceededInstanceCount() + != other.getSucceededInstanceCount()) return false; if (getSucceededRebootRequiredInstanceCount() != other.getSucceededRebootRequiredInstanceCount()) return false; - if (getFailedInstanceCount() != other.getFailedInstanceCount()) return false; - if (getAckedInstanceCount() != other.getAckedInstanceCount()) return false; - if (getTimedOutInstanceCount() != other.getTimedOutInstanceCount()) return false; - if (getPrePatchStepInstanceCount() != other.getPrePatchStepInstanceCount()) return false; - if (getPostPatchStepInstanceCount() != other.getPostPatchStepInstanceCount()) return false; - if (getNoAgentDetectedInstanceCount() != other.getNoAgentDetectedInstanceCount()) - return false; + if (getFailedInstanceCount() + != other.getFailedInstanceCount()) return false; + if (getAckedInstanceCount() + != other.getAckedInstanceCount()) return false; + if (getTimedOutInstanceCount() + != other.getTimedOutInstanceCount()) return false; + if (getPrePatchStepInstanceCount() + != other.getPrePatchStepInstanceCount()) return false; + if (getPostPatchStepInstanceCount() + != other.getPostPatchStepInstanceCount()) return false; + if (getNoAgentDetectedInstanceCount() + != other.getNoAgentDetectedInstanceCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11407,143 +10005,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PENDING_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPendingInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPendingInstanceCount()); hash = (37 * hash) + INACTIVE_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInactiveInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getInactiveInstanceCount()); hash = (37 * hash) + NOTIFIED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNotifiedInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNotifiedInstanceCount()); hash = (37 * hash) + STARTED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getStartedInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStartedInstanceCount()); hash = (37 * hash) + DOWNLOADING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(getDownloadingPatchesInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDownloadingPatchesInstanceCount()); hash = (37 * hash) + APPLYING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER; - hash = - (53 * hash) + com.google.protobuf.Internal.hashLong(getApplyingPatchesInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getApplyingPatchesInstanceCount()); hash = (37 * hash) + REBOOTING_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRebootingInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRebootingInstanceCount()); hash = (37 * hash) + SUCCEEDED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSucceededInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSucceededInstanceCount()); hash = (37 * hash) + SUCCEEDED_REBOOT_REQUIRED_INSTANCE_COUNT_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(getSucceededRebootRequiredInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSucceededRebootRequiredInstanceCount()); hash = (37 * hash) + FAILED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFailedInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getFailedInstanceCount()); hash = (37 * hash) + ACKED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAckedInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getAckedInstanceCount()); hash = (37 * hash) + TIMED_OUT_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTimedOutInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimedOutInstanceCount()); hash = (37 * hash) + PRE_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPrePatchStepInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPrePatchStepInstanceCount()); hash = (37 * hash) + POST_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPostPatchStepInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPostPatchStepInstanceCount()); hash = (37 * hash) + NO_AGENT_DETECTED_INSTANCE_COUNT_FIELD_NUMBER; - hash = - (53 * hash) + com.google.protobuf.Internal.hashLong(getNoAgentDetectedInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNoAgentDetectedInstanceCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary 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.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary 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.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - 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.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary 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.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - 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.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary 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.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11553,8 +10145,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A summary of the current patch state across all instances that this patch
        * job affects. Contains counts of instances in different states. These states
@@ -11564,42 +10154,38 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary)
           com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1.PatchJobs
-              .internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1.PatchJobs
-              .internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_fieldAccessorTable
+          return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.class,
-                  com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder
-                      .class);
+                  com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.class, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder.class);
         }
 
-        // Construct using
-        // com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.newBuilder()
+        // Construct using com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
+          }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -11637,22 +10223,19 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.cloud.osconfig.v1.PatchJobs
-              .internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary
-            getDefaultInstanceForType() {
-          return com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary
-              .getDefaultInstance();
+        public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstanceForType() {
+          return com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary build() {
-          com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary result =
-              buildPartial();
+          com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -11660,10 +10243,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary bu
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary
-            buildPartial() {
-          com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary result =
-              new com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary(this);
+        public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary buildPartial() {
+          com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary result = new com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary(this);
           result.pendingInstanceCount_ = pendingInstanceCount_;
           result.inactiveInstanceCount_ = inactiveInstanceCount_;
           result.notifiedInstanceCount_ = notifiedInstanceCount_;
@@ -11687,54 +10268,46 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary bu
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary) {
-            return mergeFrom(
-                (com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary) other);
+          if (other instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary) {
+            return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary other) {
-          if (other
-              == com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary
-                  .getDefaultInstance()) return this;
+        public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary other) {
+          if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance()) return this;
           if (other.getPendingInstanceCount() != 0L) {
             setPendingInstanceCount(other.getPendingInstanceCount());
           }
@@ -11760,8 +10333,7 @@ public Builder mergeFrom(
             setSucceededInstanceCount(other.getSucceededInstanceCount());
           }
           if (other.getSucceededRebootRequiredInstanceCount() != 0L) {
-            setSucceededRebootRequiredInstanceCount(
-                other.getSucceededRebootRequiredInstanceCount());
+            setSucceededRebootRequiredInstanceCount(other.getSucceededRebootRequiredInstanceCount());
           }
           if (other.getFailedInstanceCount() != 0L) {
             setFailedInstanceCount(other.getFailedInstanceCount());
@@ -11796,14 +10368,11 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
-          com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parsedMessage =
-              null;
+          com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parsedMessage = null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary)
-                    e.getUnfinishedMessage();
+            parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -11813,16 +10382,13 @@ public Builder mergeFrom(
           return this;
         }
 
-        private long pendingInstanceCount_;
+        private long pendingInstanceCount_ ;
         /**
-         *
-         *
          * 
          * Number of instances pending patch job.
          * 
* * int64 pending_instance_count = 1; - * * @return The pendingInstanceCount. */ @java.lang.Override @@ -11830,51 +10396,42 @@ public long getPendingInstanceCount() { return pendingInstanceCount_; } /** - * - * *
          * Number of instances pending patch job.
          * 
* * int64 pending_instance_count = 1; - * * @param value The pendingInstanceCount to set. * @return This builder for chaining. */ public Builder setPendingInstanceCount(long value) { - + pendingInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances pending patch job.
          * 
* * int64 pending_instance_count = 1; - * * @return This builder for chaining. */ public Builder clearPendingInstanceCount() { - + pendingInstanceCount_ = 0L; onChanged(); return this; } - private long inactiveInstanceCount_; + private long inactiveInstanceCount_ ; /** - * - * *
          * Number of instances that are inactive.
          * 
* * int64 inactive_instance_count = 2; - * * @return The inactiveInstanceCount. */ @java.lang.Override @@ -11882,51 +10439,42 @@ public long getInactiveInstanceCount() { return inactiveInstanceCount_; } /** - * - * *
          * Number of instances that are inactive.
          * 
* * int64 inactive_instance_count = 2; - * * @param value The inactiveInstanceCount to set. * @return This builder for chaining. */ public Builder setInactiveInstanceCount(long value) { - + inactiveInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that are inactive.
          * 
* * int64 inactive_instance_count = 2; - * * @return This builder for chaining. */ public Builder clearInactiveInstanceCount() { - + inactiveInstanceCount_ = 0L; onChanged(); return this; } - private long notifiedInstanceCount_; + private long notifiedInstanceCount_ ; /** - * - * *
          * Number of instances notified about patch job.
          * 
* * int64 notified_instance_count = 3; - * * @return The notifiedInstanceCount. */ @java.lang.Override @@ -11934,51 +10482,42 @@ public long getNotifiedInstanceCount() { return notifiedInstanceCount_; } /** - * - * *
          * Number of instances notified about patch job.
          * 
* * int64 notified_instance_count = 3; - * * @param value The notifiedInstanceCount to set. * @return This builder for chaining. */ public Builder setNotifiedInstanceCount(long value) { - + notifiedInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances notified about patch job.
          * 
* * int64 notified_instance_count = 3; - * * @return This builder for chaining. */ public Builder clearNotifiedInstanceCount() { - + notifiedInstanceCount_ = 0L; onChanged(); return this; } - private long startedInstanceCount_; + private long startedInstanceCount_ ; /** - * - * *
          * Number of instances that have started.
          * 
* * int64 started_instance_count = 4; - * * @return The startedInstanceCount. */ @java.lang.Override @@ -11986,51 +10525,42 @@ public long getStartedInstanceCount() { return startedInstanceCount_; } /** - * - * *
          * Number of instances that have started.
          * 
* * int64 started_instance_count = 4; - * * @param value The startedInstanceCount to set. * @return This builder for chaining. */ public Builder setStartedInstanceCount(long value) { - + startedInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that have started.
          * 
* * int64 started_instance_count = 4; - * * @return This builder for chaining. */ public Builder clearStartedInstanceCount() { - + startedInstanceCount_ = 0L; onChanged(); return this; } - private long downloadingPatchesInstanceCount_; + private long downloadingPatchesInstanceCount_ ; /** - * - * *
          * Number of instances that are downloading patches.
          * 
* * int64 downloading_patches_instance_count = 5; - * * @return The downloadingPatchesInstanceCount. */ @java.lang.Override @@ -12038,51 +10568,42 @@ public long getDownloadingPatchesInstanceCount() { return downloadingPatchesInstanceCount_; } /** - * - * *
          * Number of instances that are downloading patches.
          * 
* * int64 downloading_patches_instance_count = 5; - * * @param value The downloadingPatchesInstanceCount to set. * @return This builder for chaining. */ public Builder setDownloadingPatchesInstanceCount(long value) { - + downloadingPatchesInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that are downloading patches.
          * 
* * int64 downloading_patches_instance_count = 5; - * * @return This builder for chaining. */ public Builder clearDownloadingPatchesInstanceCount() { - + downloadingPatchesInstanceCount_ = 0L; onChanged(); return this; } - private long applyingPatchesInstanceCount_; + private long applyingPatchesInstanceCount_ ; /** - * - * *
          * Number of instances that are applying patches.
          * 
* * int64 applying_patches_instance_count = 6; - * * @return The applyingPatchesInstanceCount. */ @java.lang.Override @@ -12090,51 +10611,42 @@ public long getApplyingPatchesInstanceCount() { return applyingPatchesInstanceCount_; } /** - * - * *
          * Number of instances that are applying patches.
          * 
* * int64 applying_patches_instance_count = 6; - * * @param value The applyingPatchesInstanceCount to set. * @return This builder for chaining. */ public Builder setApplyingPatchesInstanceCount(long value) { - + applyingPatchesInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that are applying patches.
          * 
* * int64 applying_patches_instance_count = 6; - * * @return This builder for chaining. */ public Builder clearApplyingPatchesInstanceCount() { - + applyingPatchesInstanceCount_ = 0L; onChanged(); return this; } - private long rebootingInstanceCount_; + private long rebootingInstanceCount_ ; /** - * - * *
          * Number of instances rebooting.
          * 
* * int64 rebooting_instance_count = 7; - * * @return The rebootingInstanceCount. */ @java.lang.Override @@ -12142,51 +10654,42 @@ public long getRebootingInstanceCount() { return rebootingInstanceCount_; } /** - * - * *
          * Number of instances rebooting.
          * 
* * int64 rebooting_instance_count = 7; - * * @param value The rebootingInstanceCount to set. * @return This builder for chaining. */ public Builder setRebootingInstanceCount(long value) { - + rebootingInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances rebooting.
          * 
* * int64 rebooting_instance_count = 7; - * * @return This builder for chaining. */ public Builder clearRebootingInstanceCount() { - + rebootingInstanceCount_ = 0L; onChanged(); return this; } - private long succeededInstanceCount_; + private long succeededInstanceCount_ ; /** - * - * *
          * Number of instances that have completed successfully.
          * 
* * int64 succeeded_instance_count = 8; - * * @return The succeededInstanceCount. */ @java.lang.Override @@ -12194,51 +10697,42 @@ public long getSucceededInstanceCount() { return succeededInstanceCount_; } /** - * - * *
          * Number of instances that have completed successfully.
          * 
* * int64 succeeded_instance_count = 8; - * * @param value The succeededInstanceCount to set. * @return This builder for chaining. */ public Builder setSucceededInstanceCount(long value) { - + succeededInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that have completed successfully.
          * 
* * int64 succeeded_instance_count = 8; - * * @return This builder for chaining. */ public Builder clearSucceededInstanceCount() { - + succeededInstanceCount_ = 0L; onChanged(); return this; } - private long succeededRebootRequiredInstanceCount_; + private long succeededRebootRequiredInstanceCount_ ; /** - * - * *
          * Number of instances that require reboot.
          * 
* * int64 succeeded_reboot_required_instance_count = 9; - * * @return The succeededRebootRequiredInstanceCount. */ @java.lang.Override @@ -12246,51 +10740,42 @@ public long getSucceededRebootRequiredInstanceCount() { return succeededRebootRequiredInstanceCount_; } /** - * - * *
          * Number of instances that require reboot.
          * 
* * int64 succeeded_reboot_required_instance_count = 9; - * * @param value The succeededRebootRequiredInstanceCount to set. * @return This builder for chaining. */ public Builder setSucceededRebootRequiredInstanceCount(long value) { - + succeededRebootRequiredInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that require reboot.
          * 
* * int64 succeeded_reboot_required_instance_count = 9; - * * @return This builder for chaining. */ public Builder clearSucceededRebootRequiredInstanceCount() { - + succeededRebootRequiredInstanceCount_ = 0L; onChanged(); return this; } - private long failedInstanceCount_; + private long failedInstanceCount_ ; /** - * - * *
          * Number of instances that failed.
          * 
* * int64 failed_instance_count = 10; - * * @return The failedInstanceCount. */ @java.lang.Override @@ -12298,51 +10783,42 @@ public long getFailedInstanceCount() { return failedInstanceCount_; } /** - * - * *
          * Number of instances that failed.
          * 
* * int64 failed_instance_count = 10; - * * @param value The failedInstanceCount to set. * @return This builder for chaining. */ public Builder setFailedInstanceCount(long value) { - + failedInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that failed.
          * 
* * int64 failed_instance_count = 10; - * * @return This builder for chaining. */ public Builder clearFailedInstanceCount() { - + failedInstanceCount_ = 0L; onChanged(); return this; } - private long ackedInstanceCount_; + private long ackedInstanceCount_ ; /** - * - * *
          * Number of instances that have acked and will start shortly.
          * 
* * int64 acked_instance_count = 11; - * * @return The ackedInstanceCount. */ @java.lang.Override @@ -12350,51 +10826,42 @@ public long getAckedInstanceCount() { return ackedInstanceCount_; } /** - * - * *
          * Number of instances that have acked and will start shortly.
          * 
* * int64 acked_instance_count = 11; - * * @param value The ackedInstanceCount to set. * @return This builder for chaining. */ public Builder setAckedInstanceCount(long value) { - + ackedInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that have acked and will start shortly.
          * 
* * int64 acked_instance_count = 11; - * * @return This builder for chaining. */ public Builder clearAckedInstanceCount() { - + ackedInstanceCount_ = 0L; onChanged(); return this; } - private long timedOutInstanceCount_; + private long timedOutInstanceCount_ ; /** - * - * *
          * Number of instances that exceeded the time out while applying the patch.
          * 
* * int64 timed_out_instance_count = 12; - * * @return The timedOutInstanceCount. */ @java.lang.Override @@ -12402,51 +10869,42 @@ public long getTimedOutInstanceCount() { return timedOutInstanceCount_; } /** - * - * *
          * Number of instances that exceeded the time out while applying the patch.
          * 
* * int64 timed_out_instance_count = 12; - * * @param value The timedOutInstanceCount to set. * @return This builder for chaining. */ public Builder setTimedOutInstanceCount(long value) { - + timedOutInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that exceeded the time out while applying the patch.
          * 
* * int64 timed_out_instance_count = 12; - * * @return This builder for chaining. */ public Builder clearTimedOutInstanceCount() { - + timedOutInstanceCount_ = 0L; onChanged(); return this; } - private long prePatchStepInstanceCount_; + private long prePatchStepInstanceCount_ ; /** - * - * *
          * Number of instances that are running the pre-patch step.
          * 
* * int64 pre_patch_step_instance_count = 13; - * * @return The prePatchStepInstanceCount. */ @java.lang.Override @@ -12454,51 +10912,42 @@ public long getPrePatchStepInstanceCount() { return prePatchStepInstanceCount_; } /** - * - * *
          * Number of instances that are running the pre-patch step.
          * 
* * int64 pre_patch_step_instance_count = 13; - * * @param value The prePatchStepInstanceCount to set. * @return This builder for chaining. */ public Builder setPrePatchStepInstanceCount(long value) { - + prePatchStepInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that are running the pre-patch step.
          * 
* * int64 pre_patch_step_instance_count = 13; - * * @return This builder for chaining. */ public Builder clearPrePatchStepInstanceCount() { - + prePatchStepInstanceCount_ = 0L; onChanged(); return this; } - private long postPatchStepInstanceCount_; + private long postPatchStepInstanceCount_ ; /** - * - * *
          * Number of instances that are running the post-patch step.
          * 
* * int64 post_patch_step_instance_count = 14; - * * @return The postPatchStepInstanceCount. */ @java.lang.Override @@ -12506,45 +10955,37 @@ public long getPostPatchStepInstanceCount() { return postPatchStepInstanceCount_; } /** - * - * *
          * Number of instances that are running the post-patch step.
          * 
* * int64 post_patch_step_instance_count = 14; - * * @param value The postPatchStepInstanceCount to set. * @return This builder for chaining. */ public Builder setPostPatchStepInstanceCount(long value) { - + postPatchStepInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that are running the post-patch step.
          * 
* * int64 post_patch_step_instance_count = 14; - * * @return This builder for chaining. */ public Builder clearPostPatchStepInstanceCount() { - + postPatchStepInstanceCount_ = 0L; onChanged(); return this; } - private long noAgentDetectedInstanceCount_; + private long noAgentDetectedInstanceCount_ ; /** - * - * *
          * Number of instances that do not appear to be running the agent. Check to
          * ensure that the agent is installed, running, and able to communicate with
@@ -12552,7 +10993,6 @@ public Builder clearPostPatchStepInstanceCount() {
          * 
* * int64 no_agent_detected_instance_count = 15; - * * @return The noAgentDetectedInstanceCount. */ @java.lang.Override @@ -12560,8 +11000,6 @@ public long getNoAgentDetectedInstanceCount() { return noAgentDetectedInstanceCount_; } /** - * - * *
          * Number of instances that do not appear to be running the agent. Check to
          * ensure that the agent is installed, running, and able to communicate with
@@ -12569,19 +11007,16 @@ public long getNoAgentDetectedInstanceCount() {
          * 
* * int64 no_agent_detected_instance_count = 15; - * * @param value The noAgentDetectedInstanceCount to set. * @return This builder for chaining. */ public Builder setNoAgentDetectedInstanceCount(long value) { - + noAgentDetectedInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that do not appear to be running the agent. Check to
          * ensure that the agent is installed, running, and able to communicate with
@@ -12589,16 +11024,14 @@ public Builder setNoAgentDetectedInstanceCount(long value) {
          * 
* * int64 no_agent_detected_instance_count = 15; - * * @return This builder for chaining. */ public Builder clearNoAgentDetectedInstanceCount() { - + noAgentDetectedInstanceCount_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12611,33 +11044,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary) - private static final com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary(); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstanceDetailsSummary parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstanceDetailsSummary(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceDetailsSummary parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstanceDetailsSummary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12649,24 +11079,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Unique identifier for this patch job in the form
      * `projects/*/patchJobs/*`
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -12675,30 +11102,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Unique identifier for this patch job in the form
      * `projects/*/patchJobs/*`
      * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -12709,14 +11136,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 14; private volatile java.lang.Object displayName_; /** - * - * *
      * Display name for this patch job. This is not a unique identifier.
      * 
* * string display_name = 14; - * * @return The displayName. */ @java.lang.Override @@ -12725,29 +11149,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
      * Display name for this patch job. This is not a unique identifier.
      * 
* * string display_name = 14; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -12758,15 +11182,12 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -12775,30 +11196,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -12809,14 +11230,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
      * Time this patch job was created.
      * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -12824,14 +11242,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
      * Time this patch job was created.
      * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return The createTime. */ @java.lang.Override @@ -12839,8 +11254,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
      * Time this patch job was created.
      * 
@@ -12855,14 +11268,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
      * Last time this patch job was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -12870,14 +11280,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
      * Last time this patch job was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ @java.lang.Override @@ -12885,8 +11292,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
      * Last time this patch job was updated.
      * 
@@ -12901,52 +11306,38 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 5; private int state_; /** - * - * *
      * The current state of the PatchJob.
      * 
* * .google.cloud.osconfig.v1.PatchJob.State state = 5; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The current state of the PatchJob.
      * 
* * .google.cloud.osconfig.v1.PatchJob.State state = 5; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State getState() { + @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State result = - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.valueOf(state_); - return result == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State result = com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.UNRECOGNIZED : result; } public static final int INSTANCE_FILTER_FIELD_NUMBER = 13; private com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter instanceFilter_; /** - * - * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; - * * @return Whether the instanceFilter field is set. */ @java.lang.Override @@ -12954,25 +11345,18 @@ public boolean hasInstanceFilter() { return instanceFilter_ != null; } /** - * - * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; - * * @return The instanceFilter. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFilter() { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; } /** - * - * *
      * Instances to patch.
      * 
@@ -12980,22 +11364,18 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFil * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder - getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { return getInstanceFilter(); } public static final int PATCH_CONFIG_FIELD_NUMBER = 7; private com.google.cloud.osconfig.v1.PatchJobs.PatchConfig patchConfig_; /** - * - * *
      * Patch configuration being applied.
      * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 7; - * * @return Whether the patchConfig field is set. */ @java.lang.Override @@ -13003,25 +11383,18 @@ public boolean hasPatchConfig() { return patchConfig_ != null; } /** - * - * *
      * Patch configuration being applied.
      * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 7; - * * @return The patchConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getPatchConfig() { - return patchConfig_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() - : patchConfig_; + return patchConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; } /** - * - * *
      * Patch configuration being applied.
      * 
@@ -13036,15 +11409,12 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi public static final int DURATION_FIELD_NUMBER = 8; private com.google.protobuf.Duration duration_; /** - * - * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
      * 
* * .google.protobuf.Duration duration = 8; - * * @return Whether the duration field is set. */ @java.lang.Override @@ -13052,15 +11422,12 @@ public boolean hasDuration() { return duration_ != null; } /** - * - * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
      * 
* * .google.protobuf.Duration duration = 8; - * * @return The duration. */ @java.lang.Override @@ -13068,8 +11435,6 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** - * - * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
@@ -13083,18 +11448,13 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
     }
 
     public static final int INSTANCE_DETAILS_SUMMARY_FIELD_NUMBER = 9;
-    private com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary
-        instanceDetailsSummary_;
+    private com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary instanceDetailsSummary_;
     /**
-     *
-     *
      * 
      * Summary of instance details.
      * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * - * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; * @return Whether the instanceDetailsSummary field is set. */ @java.lang.Override @@ -13102,53 +11462,38 @@ public boolean hasInstanceDetailsSummary() { return instanceDetailsSummary_ != null; } /** - * - * *
      * Summary of instance details.
      * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * - * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; * @return The instanceDetailsSummary. */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - getInstanceDetailsSummary() { - return instanceDetailsSummary_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - .getDefaultInstance() - : instanceDetailsSummary_; + public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary getInstanceDetailsSummary() { + return instanceDetailsSummary_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance() : instanceDetailsSummary_; } /** - * - * *
      * Summary of instance details.
      * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder - getInstanceDetailsSummaryOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder getInstanceDetailsSummaryOrBuilder() { return getInstanceDetailsSummary(); } public static final int DRY_RUN_FIELD_NUMBER = 10; private boolean dryRun_; /** - * - * *
      * If this patch job is a dry run, the agent reports that it has
      * finished without running any updates on the VM instance.
      * 
* * bool dry_run = 10; - * * @return The dryRun. */ @java.lang.Override @@ -13159,15 +11504,12 @@ public boolean getDryRun() { public static final int ERROR_MESSAGE_FIELD_NUMBER = 11; private volatile java.lang.Object errorMessage_; /** - * - * *
      * If this patch job failed, this message provides information about the
      * failure.
      * 
* * string error_message = 11; - * * @return The errorMessage. */ @java.lang.Override @@ -13176,30 +11518,30 @@ public java.lang.String getErrorMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } } /** - * - * *
      * If this patch job failed, this message provides information about the
      * failure.
      * 
* * string error_message = 11; - * * @return The bytes for errorMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getErrorMessageBytes() { + public com.google.protobuf.ByteString + getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -13210,15 +11552,12 @@ public com.google.protobuf.ByteString getErrorMessageBytes() { public static final int PERCENT_COMPLETE_FIELD_NUMBER = 12; private double percentComplete_; /** - * - * *
      * Reflects the overall progress of the patch job in the range of
      * 0.0 being no progress to 100.0 being complete.
      * 
* * double percent_complete = 12; - * * @return The percentComplete. */ @java.lang.Override @@ -13229,16 +11568,11 @@ public double getPercentComplete() { public static final int PATCH_DEPLOYMENT_FIELD_NUMBER = 15; private volatile java.lang.Object patchDeployment_; /** - * - * *
      * Output only. Name of the patch deployment that created this patch job.
      * 
* - * - * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The patchDeployment. */ @java.lang.Override @@ -13247,31 +11581,29 @@ public java.lang.String getPatchDeployment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchDeployment_ = s; return s; } } /** - * - * *
      * Output only. Name of the patch deployment that created this patch job.
      * 
* - * - * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for patchDeployment. */ @java.lang.Override - public com.google.protobuf.ByteString getPatchDeploymentBytes() { + public com.google.protobuf.ByteString + getPatchDeploymentBytes() { java.lang.Object ref = patchDeployment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); patchDeployment_ = b; return b; } else { @@ -13282,14 +11614,11 @@ public com.google.protobuf.ByteString getPatchDeploymentBytes() { public static final int ROLLOUT_FIELD_NUMBER = 16; private com.google.cloud.osconfig.v1.PatchJobs.PatchRollout rollout_; /** - * - * *
      * Rollout strategy being applied.
      * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 16; - * * @return Whether the rollout field is set. */ @java.lang.Override @@ -13297,25 +11626,18 @@ public boolean hasRollout() { return rollout_ != null; } /** - * - * *
      * Rollout strategy being applied.
      * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 16; - * * @return The rollout. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getRollout() { - return rollout_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; } /** - * - * *
      * Rollout strategy being applied.
      * 
@@ -13328,7 +11650,6 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13340,7 +11661,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -13353,8 +11675,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(4, getUpdateTime()); } - if (state_ - != com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ != com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(5, state_); } if (patchConfig_ != null) { @@ -13403,37 +11724,43 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } - if (state_ - != com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); + if (state_ != com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, state_); } if (patchConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getPatchConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getPatchConfig()); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getDuration()); } if (instanceDetailsSummary_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, getInstanceDetailsSummary()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getInstanceDetailsSummary()); } if (dryRun_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, dryRun_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, dryRun_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, errorMessage_); } if (java.lang.Double.doubleToRawLongBits(percentComplete_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(12, percentComplete_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(12, percentComplete_); } if (instanceFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getInstanceFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getInstanceFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, displayName_); @@ -13442,7 +11769,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, patchDeployment_); } if (rollout_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getRollout()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, getRollout()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -13452,50 +11780,63 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchJob)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.PatchJob other = - (com.google.cloud.osconfig.v1.PatchJobs.PatchJob) obj; + com.google.cloud.osconfig.v1.PatchJobs.PatchJob other = (com.google.cloud.osconfig.v1.PatchJobs.PatchJob) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (state_ != other.state_) return false; if (hasInstanceFilter() != other.hasInstanceFilter()) return false; if (hasInstanceFilter()) { - if (!getInstanceFilter().equals(other.getInstanceFilter())) return false; + if (!getInstanceFilter() + .equals(other.getInstanceFilter())) return false; } if (hasPatchConfig() != other.hasPatchConfig()) return false; if (hasPatchConfig()) { - if (!getPatchConfig().equals(other.getPatchConfig())) return false; + if (!getPatchConfig() + .equals(other.getPatchConfig())) return false; } if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration().equals(other.getDuration())) return false; + if (!getDuration() + .equals(other.getDuration())) return false; } if (hasInstanceDetailsSummary() != other.hasInstanceDetailsSummary()) return false; if (hasInstanceDetailsSummary()) { - if (!getInstanceDetailsSummary().equals(other.getInstanceDetailsSummary())) return false; + if (!getInstanceDetailsSummary() + .equals(other.getInstanceDetailsSummary())) return false; } - if (getDryRun() != other.getDryRun()) return false; - if (!getErrorMessage().equals(other.getErrorMessage())) return false; + if (getDryRun() + != other.getDryRun()) return false; + if (!getErrorMessage() + .equals(other.getErrorMessage())) return false; if (java.lang.Double.doubleToLongBits(getPercentComplete()) - != java.lang.Double.doubleToLongBits(other.getPercentComplete())) return false; - if (!getPatchDeployment().equals(other.getPatchDeployment())) return false; + != java.lang.Double.doubleToLongBits( + other.getPercentComplete())) return false; + if (!getPatchDeployment() + .equals(other.getPatchDeployment())) return false; if (hasRollout() != other.hasRollout()) return false; if (hasRollout()) { - if (!getRollout().equals(other.getRollout())) return false; + if (!getRollout() + .equals(other.getRollout())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -13541,14 +11882,13 @@ public int hashCode() { hash = (53 * hash) + getInstanceDetailsSummary().hashCode(); } hash = (37 * hash) + DRY_RUN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDryRun()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDryRun()); hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getErrorMessage().hashCode(); hash = (37 * hash) + PERCENT_COMPLETE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getPercentComplete())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getPercentComplete())); hash = (37 * hash) + PATCH_DEPLOYMENT_FIELD_NUMBER; hash = (53 * hash) + getPatchDeployment().hashCode(); if (hasRollout()) { @@ -13561,93 +11901,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob 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.osconfig.v1.PatchJobs.PatchJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.PatchJob prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -13657,8 +11991,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A high level representation of a patch job that is either in progress
      * or has completed.
@@ -13671,24 +12003,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.PatchJob}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.PatchJob)
         com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_PatchJob_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_PatchJob_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class,
-                com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchJobs.PatchJob.newBuilder()
@@ -13696,15 +12025,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -13770,9 +12100,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_PatchJob_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_descriptor;
       }
 
       @java.lang.Override
@@ -13791,8 +12121,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchJobs.PatchJob buildPartial() {
-        com.google.cloud.osconfig.v1.PatchJobs.PatchJob result =
-            new com.google.cloud.osconfig.v1.PatchJobs.PatchJob(this);
+        com.google.cloud.osconfig.v1.PatchJobs.PatchJob result = new com.google.cloud.osconfig.v1.PatchJobs.PatchJob(this);
         result.name_ = name_;
         result.displayName_ = displayName_;
         result.description_ = description_;
@@ -13844,41 +12173,38 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchJobs.PatchJob) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchJob) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchJob)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -13886,8 +12212,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.PatchJob other) {
-        if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance()) return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -13957,8 +12282,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.PatchJobs.PatchJob) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.PatchJob) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -13970,21 +12294,19 @@ public Builder mergeFrom(
 
       private java.lang.Object name_ = "";
       /**
-       *
-       *
        * 
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -13993,22 +12315,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -14016,64 +12337,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -14081,20 +12395,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -14103,21 +12415,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -14125,61 +12436,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -14187,21 +12491,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -14210,22 +12512,21 @@ public java.lang.String getDescription() { } } /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -14233,64 +12534,57 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -14298,47 +12592,34 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
        * Time this patch job was created.
        * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
        * Time this patch job was created.
        * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
        * Time this patch job was created.
        * 
@@ -14359,15 +12640,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Time this patch job was created.
        * 
* * .google.protobuf.Timestamp create_time = 3; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -14378,8 +12658,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * Time this patch job was created.
        * 
@@ -14390,9 +12668,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -14404,8 +12680,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Time this patch job was created.
        * 
@@ -14424,8 +12698,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
        * Time this patch job was created.
        * 
@@ -14433,13 +12705,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 3; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Time this patch job was created.
        * 
@@ -14450,14 +12720,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
        * Time this patch job was created.
        * 
@@ -14465,17 +12732,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -14483,47 +12747,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
        * Last time this patch job was updated.
        * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
        * Last time this patch job was updated.
        * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
        * Last time this patch job was updated.
        * 
@@ -14544,15 +12795,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Last time this patch job was updated.
        * 
* * .google.protobuf.Timestamp update_time = 4; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -14563,8 +12813,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * Last time this patch job was updated.
        * 
@@ -14575,9 +12823,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -14589,8 +12835,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Last time this patch job was updated.
        * 
@@ -14609,8 +12853,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
        * Last time this patch job was updated.
        * 
@@ -14618,13 +12860,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 4; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Last time this patch job was updated.
        * 
@@ -14635,14 +12875,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
        * Last time this patch job was updated.
        * 
@@ -14650,17 +12887,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -14668,67 +12902,51 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private int state_ = 0; /** - * - * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1.PatchJob.State state = 5; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1.PatchJob.State state = 5; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1.PatchJob.State state = 5; - * * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State result = - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.valueOf(state_); - return result == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State result = com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.UNRECOGNIZED : result; } /** - * - * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1.PatchJob.State state = 5; - * * @param value The state to set. * @return This builder for chaining. */ @@ -14736,24 +12954,21 @@ public Builder setState(com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State va if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1.PatchJob.State state = 5; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -14761,55 +12976,41 @@ public Builder clearState() { private com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter instanceFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> - instanceFilterBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> instanceFilterBuilder_; /** - * - * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; - * * @return Whether the instanceFilter field is set. */ public boolean hasInstanceFilter() { return instanceFilterBuilder_ != null || instanceFilter_ != null; } /** - * - * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; - * * @return The instanceFilter. */ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFilter() { if (instanceFilterBuilder_ == null) { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; } else { return instanceFilterBuilder_.getMessage(); } } /** - * - * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; */ - public Builder setInstanceFilter( - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { + public Builder setInstanceFilter(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14823,8 +13024,6 @@ public Builder setInstanceFilter( return this; } /** - * - * *
        * Instances to patch.
        * 
@@ -14843,23 +13042,17 @@ public Builder setInstanceFilter( return this; } /** - * - * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; */ - public Builder mergeInstanceFilter( - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { + public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (instanceFilter_ != null) { instanceFilter_ = - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.newBuilder( - instanceFilter_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.newBuilder(instanceFilter_).mergeFrom(value).buildPartial(); } else { instanceFilter_ = value; } @@ -14871,8 +13064,6 @@ public Builder mergeInstanceFilter( return this; } /** - * - * *
        * Instances to patch.
        * 
@@ -14891,42 +13082,33 @@ public Builder clearInstanceFilter() { return this; } /** - * - * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder - getInstanceFilterBuilder() { - + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder() { + onChanged(); return getInstanceFilterFieldBuilder().getBuilder(); } /** - * - * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder - getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { if (instanceFilterBuilder_ != null) { return instanceFilterBuilder_.getMessageOrBuilder(); } else { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; } } /** - * - * *
        * Instances to patch.
        * 
@@ -14934,17 +13116,14 @@ public Builder clearInstanceFilter() { * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> getInstanceFilterFieldBuilder() { if (instanceFilterBuilder_ == null) { - instanceFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder>( - getInstanceFilter(), getParentForChildren(), isClean()); + instanceFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder>( + getInstanceFilter(), + getParentForChildren(), + isClean()); instanceFilter_ = null; } return instanceFilterBuilder_; @@ -14952,47 +13131,34 @@ public Builder clearInstanceFilter() { private com.google.cloud.osconfig.v1.PatchJobs.PatchConfig patchConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> - patchConfigBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> patchConfigBuilder_; /** - * - * *
        * Patch configuration being applied.
        * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 7; - * * @return Whether the patchConfig field is set. */ public boolean hasPatchConfig() { return patchConfigBuilder_ != null || patchConfig_ != null; } /** - * - * *
        * Patch configuration being applied.
        * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 7; - * * @return The patchConfig. */ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getPatchConfig() { if (patchConfigBuilder_ == null) { - return patchConfig_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() - : patchConfig_; + return patchConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; } else { return patchConfigBuilder_.getMessage(); } } /** - * - * *
        * Patch configuration being applied.
        * 
@@ -15013,8 +13179,6 @@ public Builder setPatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig return this; } /** - * - * *
        * Patch configuration being applied.
        * 
@@ -15033,8 +13197,6 @@ public Builder setPatchConfig( return this; } /** - * - * *
        * Patch configuration being applied.
        * 
@@ -15045,9 +13207,7 @@ public Builder mergePatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConf if (patchConfigBuilder_ == null) { if (patchConfig_ != null) { patchConfig_ = - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.newBuilder(patchConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.newBuilder(patchConfig_).mergeFrom(value).buildPartial(); } else { patchConfig_ = value; } @@ -15059,8 +13219,6 @@ public Builder mergePatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConf return this; } /** - * - * *
        * Patch configuration being applied.
        * 
@@ -15079,8 +13237,6 @@ public Builder clearPatchConfig() { return this; } /** - * - * *
        * Patch configuration being applied.
        * 
@@ -15088,13 +13244,11 @@ public Builder clearPatchConfig() { * .google.cloud.osconfig.v1.PatchConfig patch_config = 7; */ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder getPatchConfigBuilder() { - + onChanged(); return getPatchConfigFieldBuilder().getBuilder(); } /** - * - * *
        * Patch configuration being applied.
        * 
@@ -15105,14 +13259,11 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi if (patchConfigBuilder_ != null) { return patchConfigBuilder_.getMessageOrBuilder(); } else { - return patchConfig_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() - : patchConfig_; + return patchConfig_ == null ? + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; } } /** - * - * *
        * Patch configuration being applied.
        * 
@@ -15120,17 +13271,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi * .google.cloud.osconfig.v1.PatchConfig patch_config = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> getPatchConfigFieldBuilder() { if (patchConfigBuilder_ == null) { - patchConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder>( - getPatchConfig(), getParentForChildren(), isClean()); + patchConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder>( + getPatchConfig(), + getParentForChildren(), + isClean()); patchConfig_ = null; } return patchConfigBuilder_; @@ -15138,35 +13286,26 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - durationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; /** - * - * *
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
        * 
* * .google.protobuf.Duration duration = 8; - * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** - * - * *
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
        * 
* * .google.protobuf.Duration duration = 8; - * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -15177,8 +13316,6 @@ public com.google.protobuf.Duration getDuration() { } } /** - * - * *
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -15200,8 +13337,6 @@ public Builder setDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -15209,7 +13344,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration duration = 8;
        */
-      public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setDuration(
+          com.google.protobuf.Duration.Builder builderForValue) {
         if (durationBuilder_ == null) {
           duration_ = builderForValue.build();
           onChanged();
@@ -15220,8 +13356,6 @@ public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -15233,7 +13367,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
         if (durationBuilder_ == null) {
           if (duration_ != null) {
             duration_ =
-                com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
           } else {
             duration_ = value;
           }
@@ -15245,8 +13379,6 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -15266,8 +13398,6 @@ public Builder clearDuration() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -15276,13 +13406,11 @@ public Builder clearDuration() {
        * .google.protobuf.Duration duration = 8;
        */
       public com.google.protobuf.Duration.Builder getDurationBuilder() {
-
+        
         onChanged();
         return getDurationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -15294,12 +13422,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
         if (durationBuilder_ != null) {
           return durationBuilder_.getMessageOrBuilder();
         } else {
-          return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
+          return duration_ == null ?
+              com.google.protobuf.Duration.getDefaultInstance() : duration_;
         }
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -15308,82 +13435,56 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
        * .google.protobuf.Duration duration = 8;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
           getDurationFieldBuilder() {
         if (durationBuilder_ == null) {
-          durationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>(
-                  getDuration(), getParentForChildren(), isClean());
+          durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                  getDuration(),
+                  getParentForChildren(),
+                  isClean());
           duration_ = null;
         }
         return durationBuilder_;
       }
 
-      private com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary
-          instanceDetailsSummary_;
+      private com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary instanceDetailsSummary_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary,
-              com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder,
-              com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder>
-          instanceDetailsSummaryBuilder_;
+          com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder> instanceDetailsSummaryBuilder_;
       /**
-       *
-       *
        * 
        * Summary of instance details.
        * 
* - * - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * - * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; * @return Whether the instanceDetailsSummary field is set. */ public boolean hasInstanceDetailsSummary() { return instanceDetailsSummaryBuilder_ != null || instanceDetailsSummary_ != null; } /** - * - * *
        * Summary of instance details.
        * 
* - * - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * - * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; * @return The instanceDetailsSummary. */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - getInstanceDetailsSummary() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary getInstanceDetailsSummary() { if (instanceDetailsSummaryBuilder_ == null) { - return instanceDetailsSummary_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - .getDefaultInstance() - : instanceDetailsSummary_; + return instanceDetailsSummary_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance() : instanceDetailsSummary_; } else { return instanceDetailsSummaryBuilder_.getMessage(); } } /** - * - * *
        * Summary of instance details.
        * 
* - * - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; */ - public Builder setInstanceDetailsSummary( - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary value) { + public Builder setInstanceDetailsSummary(com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary value) { if (instanceDetailsSummaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -15397,19 +13498,14 @@ public Builder setInstanceDetailsSummary( return this; } /** - * - * *
        * Summary of instance details.
        * 
* - * - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; */ public Builder setInstanceDetailsSummary( - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder - builderForValue) { + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder builderForValue) { if (instanceDetailsSummaryBuilder_ == null) { instanceDetailsSummary_ = builderForValue.build(); onChanged(); @@ -15420,25 +13516,17 @@ public Builder setInstanceDetailsSummary( return this; } /** - * - * *
        * Summary of instance details.
        * 
* - * - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; */ - public Builder mergeInstanceDetailsSummary( - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary value) { + public Builder mergeInstanceDetailsSummary(com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary value) { if (instanceDetailsSummaryBuilder_ == null) { if (instanceDetailsSummary_ != null) { instanceDetailsSummary_ = - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.newBuilder( - instanceDetailsSummary_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.newBuilder(instanceDetailsSummary_).mergeFrom(value).buildPartial(); } else { instanceDetailsSummary_ = value; } @@ -15450,15 +13538,11 @@ public Builder mergeInstanceDetailsSummary( return this; } /** - * - * *
        * Summary of instance details.
        * 
* - * - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; */ public Builder clearInstanceDetailsSummary() { if (instanceDetailsSummaryBuilder_ == null) { @@ -15472,83 +13556,61 @@ public Builder clearInstanceDetailsSummary() { return this; } /** - * - * *
        * Summary of instance details.
        * 
* - * - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder - getInstanceDetailsSummaryBuilder() { - + public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder getInstanceDetailsSummaryBuilder() { + onChanged(); return getInstanceDetailsSummaryFieldBuilder().getBuilder(); } /** - * - * *
        * Summary of instance details.
        * 
* - * - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder - getInstanceDetailsSummaryOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder getInstanceDetailsSummaryOrBuilder() { if (instanceDetailsSummaryBuilder_ != null) { return instanceDetailsSummaryBuilder_.getMessageOrBuilder(); } else { - return instanceDetailsSummary_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary - .getDefaultInstance() - : instanceDetailsSummary_; + return instanceDetailsSummary_ == null ? + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance() : instanceDetailsSummary_; } } /** - * - * *
        * Summary of instance details.
        * 
* - * - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder> getInstanceDetailsSummaryFieldBuilder() { if (instanceDetailsSummaryBuilder_ == null) { - instanceDetailsSummaryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder>( - getInstanceDetailsSummary(), getParentForChildren(), isClean()); + instanceDetailsSummaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder>( + getInstanceDetailsSummary(), + getParentForChildren(), + isClean()); instanceDetailsSummary_ = null; } return instanceDetailsSummaryBuilder_; } - private boolean dryRun_; + private boolean dryRun_ ; /** - * - * *
        * If this patch job is a dry run, the agent reports that it has
        * finished without running any updates on the VM instance.
        * 
* * bool dry_run = 10; - * * @return The dryRun. */ @java.lang.Override @@ -15556,38 +13618,32 @@ public boolean getDryRun() { return dryRun_; } /** - * - * *
        * If this patch job is a dry run, the agent reports that it has
        * finished without running any updates on the VM instance.
        * 
* * bool dry_run = 10; - * * @param value The dryRun to set. * @return This builder for chaining. */ public Builder setDryRun(boolean value) { - + dryRun_ = value; onChanged(); return this; } /** - * - * *
        * If this patch job is a dry run, the agent reports that it has
        * finished without running any updates on the VM instance.
        * 
* * bool dry_run = 10; - * * @return This builder for chaining. */ public Builder clearDryRun() { - + dryRun_ = false; onChanged(); return this; @@ -15595,21 +13651,19 @@ public Builder clearDryRun() { private java.lang.Object errorMessage_ = ""; /** - * - * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; - * * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; @@ -15618,22 +13672,21 @@ public java.lang.String getErrorMessage() { } } /** - * - * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; - * * @return The bytes for errorMessage. */ - public com.google.protobuf.ByteString getErrorMessageBytes() { + public com.google.protobuf.ByteString + getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -15641,80 +13694,70 @@ public com.google.protobuf.ByteString getErrorMessageBytes() { } } /** - * - * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; - * * @param value The errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessage(java.lang.String value) { + public Builder setErrorMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorMessage_ = value; onChanged(); return this; } /** - * - * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; - * * @return This builder for chaining. */ public Builder clearErrorMessage() { - + errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** - * - * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; - * * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { + public Builder setErrorMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorMessage_ = value; onChanged(); return this; } - private double percentComplete_; + private double percentComplete_ ; /** - * - * *
        * Reflects the overall progress of the patch job in the range of
        * 0.0 being no progress to 100.0 being complete.
        * 
* * double percent_complete = 12; - * * @return The percentComplete. */ @java.lang.Override @@ -15722,38 +13765,32 @@ public double getPercentComplete() { return percentComplete_; } /** - * - * *
        * Reflects the overall progress of the patch job in the range of
        * 0.0 being no progress to 100.0 being complete.
        * 
* * double percent_complete = 12; - * * @param value The percentComplete to set. * @return This builder for chaining. */ public Builder setPercentComplete(double value) { - + percentComplete_ = value; onChanged(); return this; } /** - * - * *
        * Reflects the overall progress of the patch job in the range of
        * 0.0 being no progress to 100.0 being complete.
        * 
* * double percent_complete = 12; - * * @return This builder for chaining. */ public Builder clearPercentComplete() { - + percentComplete_ = 0D; onChanged(); return this; @@ -15761,22 +13798,18 @@ public Builder clearPercentComplete() { private java.lang.Object patchDeployment_ = ""; /** - * - * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* - * - * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The patchDeployment. */ public java.lang.String getPatchDeployment() { java.lang.Object ref = patchDeployment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchDeployment_ = s; return s; @@ -15785,23 +13818,20 @@ public java.lang.String getPatchDeployment() { } } /** - * - * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* - * - * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for patchDeployment. */ - public com.google.protobuf.ByteString getPatchDeploymentBytes() { + public com.google.protobuf.ByteString + getPatchDeploymentBytes() { java.lang.Object ref = patchDeployment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); patchDeployment_ = b; return b; } else { @@ -15809,67 +13839,54 @@ public com.google.protobuf.ByteString getPatchDeploymentBytes() { } } /** - * - * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* - * - * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The patchDeployment to set. * @return This builder for chaining. */ - public Builder setPatchDeployment(java.lang.String value) { + public Builder setPatchDeployment( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + patchDeployment_ = value; onChanged(); return this; } /** - * - * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* - * - * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearPatchDeployment() { - + patchDeployment_ = getDefaultInstance().getPatchDeployment(); onChanged(); return this; } /** - * - * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* - * - * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for patchDeployment to set. * @return This builder for chaining. */ - public Builder setPatchDeploymentBytes(com.google.protobuf.ByteString value) { + public Builder setPatchDeploymentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + patchDeployment_ = value; onChanged(); return this; @@ -15877,47 +13894,34 @@ public Builder setPatchDeploymentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.osconfig.v1.PatchJobs.PatchRollout rollout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> - rolloutBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> rolloutBuilder_; /** - * - * *
        * Rollout strategy being applied.
        * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 16; - * * @return Whether the rollout field is set. */ public boolean hasRollout() { return rolloutBuilder_ != null || rollout_ != null; } /** - * - * *
        * Rollout strategy being applied.
        * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 16; - * * @return The rollout. */ public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getRollout() { if (rolloutBuilder_ == null) { - return rollout_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; } else { return rolloutBuilder_.getMessage(); } } /** - * - * *
        * Rollout strategy being applied.
        * 
@@ -15938,8 +13942,6 @@ public Builder setRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout va return this; } /** - * - * *
        * Rollout strategy being applied.
        * 
@@ -15958,8 +13960,6 @@ public Builder setRollout( return this; } /** - * - * *
        * Rollout strategy being applied.
        * 
@@ -15970,9 +13970,7 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout if (rolloutBuilder_ == null) { if (rollout_ != null) { rollout_ = - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.newBuilder(rollout_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.newBuilder(rollout_).mergeFrom(value).buildPartial(); } else { rollout_ = value; } @@ -15984,8 +13982,6 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout return this; } /** - * - * *
        * Rollout strategy being applied.
        * 
@@ -16004,8 +14000,6 @@ public Builder clearRollout() { return this; } /** - * - * *
        * Rollout strategy being applied.
        * 
@@ -16013,13 +14007,11 @@ public Builder clearRollout() { * .google.cloud.osconfig.v1.PatchRollout rollout = 16; */ public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder getRolloutBuilder() { - + onChanged(); return getRolloutFieldBuilder().getBuilder(); } /** - * - * *
        * Rollout strategy being applied.
        * 
@@ -16030,14 +14022,11 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOr if (rolloutBuilder_ != null) { return rolloutBuilder_.getMessageOrBuilder(); } else { - return rollout_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; } } /** - * - * *
        * Rollout strategy being applied.
        * 
@@ -16045,22 +14034,18 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOr * .google.cloud.osconfig.v1.PatchRollout rollout = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> getRolloutFieldBuilder() { if (rolloutBuilder_ == null) { - rolloutBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder>( - getRollout(), getParentForChildren(), isClean()); + rolloutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder>( + getRollout(), + getParentForChildren(), + isClean()); rollout_ = null; } return rolloutBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16073,12 +14058,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.PatchJob) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.PatchJob) private static final com.google.cloud.osconfig.v1.PatchJobs.PatchJob DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.PatchJob(); } @@ -16087,16 +14072,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchJob(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchJob(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16111,67 +14096,53 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.PatchJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PatchConfigOrBuilder - extends + public interface PatchConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.PatchConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Post-patch reboot settings.
      * 
* * .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1; - * * @return The enum numeric value on the wire for rebootConfig. */ int getRebootConfigValue(); /** - * - * *
      * Post-patch reboot settings.
      * 
* * .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1; - * * @return The rebootConfig. */ com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig getRebootConfig(); /** - * - * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.AptSettings apt = 3; - * * @return Whether the apt field is set. */ boolean hasApt(); /** - * - * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.AptSettings apt = 3; - * * @return The apt. */ com.google.cloud.osconfig.v1.PatchJobs.AptSettings getApt(); /** - * - * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
@@ -16182,34 +14153,26 @@ public interface PatchConfigOrBuilder
     com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder getAptOrBuilder();
 
     /**
-     *
-     *
      * 
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.YumSettings yum = 4; - * * @return Whether the yum field is set. */ boolean hasYum(); /** - * - * *
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.YumSettings yum = 4; - * * @return The yum. */ com.google.cloud.osconfig.v1.PatchJobs.YumSettings getYum(); /** - * - * *
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
@@ -16220,34 +14183,26 @@ public interface PatchConfigOrBuilder
     com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder getYumOrBuilder();
 
     /**
-     *
-     *
      * 
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.GooSettings goo = 5; - * * @return Whether the goo field is set. */ boolean hasGoo(); /** - * - * *
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.GooSettings goo = 5; - * * @return The goo. */ com.google.cloud.osconfig.v1.PatchJobs.GooSettings getGoo(); /** - * - * *
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
@@ -16258,34 +14213,26 @@ public interface PatchConfigOrBuilder
     com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder getGooOrBuilder();
 
     /**
-     *
-     *
      * 
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
      * 
* * .google.cloud.osconfig.v1.ZypperSettings zypper = 6; - * * @return Whether the zypper field is set. */ boolean hasZypper(); /** - * - * *
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
      * 
* * .google.cloud.osconfig.v1.ZypperSettings zypper = 6; - * * @return The zypper. */ com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings getZypper(); /** - * - * *
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
@@ -16296,68 +14243,51 @@ public interface PatchConfigOrBuilder
     com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder getZypperOrBuilder();
 
     /**
-     *
-     *
      * 
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; - * * @return Whether the windowsUpdate field is set. */ boolean hasWindowsUpdate(); /** - * - * *
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; - * * @return The windowsUpdate. */ com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings getWindowsUpdate(); /** - * - * *
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; */ - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder - getWindowsUpdateOrBuilder(); + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder getWindowsUpdateOrBuilder(); /** - * - * *
      * The `ExecStep` to run before the patch update.
      * 
* * .google.cloud.osconfig.v1.ExecStep pre_step = 8; - * * @return Whether the preStep field is set. */ boolean hasPreStep(); /** - * - * *
      * The `ExecStep` to run before the patch update.
      * 
* * .google.cloud.osconfig.v1.ExecStep pre_step = 8; - * * @return The preStep. */ com.google.cloud.osconfig.v1.PatchJobs.ExecStep getPreStep(); /** - * - * *
      * The `ExecStep` to run before the patch update.
      * 
@@ -16367,32 +14297,24 @@ public interface PatchConfigOrBuilder com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder getPreStepOrBuilder(); /** - * - * *
      * The `ExecStep` to run after the patch update.
      * 
* * .google.cloud.osconfig.v1.ExecStep post_step = 9; - * * @return Whether the postStep field is set. */ boolean hasPostStep(); /** - * - * *
      * The `ExecStep` to run after the patch update.
      * 
* * .google.cloud.osconfig.v1.ExecStep post_step = 9; - * * @return The postStep. */ com.google.cloud.osconfig.v1.PatchJobs.ExecStep getPostStep(); /** - * - * *
      * The `ExecStep` to run after the patch update.
      * 
@@ -16402,21 +14324,16 @@ public interface PatchConfigOrBuilder com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder getPostStepOrBuilder(); /** - * - * *
      * Allows the patch job to run on Managed instance groups (MIGs).
      * 
* * bool mig_instances_allowed = 10; - * * @return The migInstancesAllowed. */ boolean getMigInstancesAllowed(); } - /** - * - * + /** *
    * Patch configuration specifications. Contains details on how to apply the
    * patch(es) to a VM instance.
@@ -16424,31 +14341,31 @@ public interface PatchConfigOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1.PatchConfig}
    */
-  public static final class PatchConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PatchConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.PatchConfig)
       PatchConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PatchConfig.newBuilder() to construct.
     private PatchConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PatchConfig() {
       rebootConfig_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PatchConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PatchConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -16467,145 +14384,115 @@ private PatchConfig(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
+              int rawValue = input.readEnum();
 
-                rebootConfig_ = rawValue;
-                break;
+              rebootConfig_ = rawValue;
+              break;
+            }
+            case 26: {
+              com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder subBuilder = null;
+              if (apt_ != null) {
+                subBuilder = apt_.toBuilder();
               }
-            case 26:
-              {
-                com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder subBuilder = null;
-                if (apt_ != null) {
-                  subBuilder = apt_.toBuilder();
-                }
-                apt_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchJobs.AptSettings.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(apt_);
-                  apt_ = subBuilder.buildPartial();
-                }
-
-                break;
+              apt_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.AptSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(apt_);
+                apt_ = subBuilder.buildPartial();
               }
-            case 34:
-              {
-                com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder subBuilder = null;
-                if (yum_ != null) {
-                  subBuilder = yum_.toBuilder();
-                }
-                yum_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchJobs.YumSettings.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(yum_);
-                  yum_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 34: {
+              com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder subBuilder = null;
+              if (yum_ != null) {
+                subBuilder = yum_.toBuilder();
+              }
+              yum_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.YumSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(yum_);
+                yum_ = subBuilder.buildPartial();
               }
-            case 42:
-              {
-                com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder subBuilder = null;
-                if (goo_ != null) {
-                  subBuilder = goo_.toBuilder();
-                }
-                goo_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchJobs.GooSettings.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(goo_);
-                  goo_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 42: {
+              com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder subBuilder = null;
+              if (goo_ != null) {
+                subBuilder = goo_.toBuilder();
+              }
+              goo_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.GooSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(goo_);
+                goo_ = subBuilder.buildPartial();
               }
-            case 50:
-              {
-                com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder subBuilder = null;
-                if (zypper_ != null) {
-                  subBuilder = zypper_.toBuilder();
-                }
-                zypper_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(zypper_);
-                  zypper_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 50: {
+              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder subBuilder = null;
+              if (zypper_ != null) {
+                subBuilder = zypper_.toBuilder();
+              }
+              zypper_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(zypper_);
+                zypper_ = subBuilder.buildPartial();
               }
-            case 58:
-              {
-                com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder subBuilder =
-                    null;
-                if (windowsUpdate_ != null) {
-                  subBuilder = windowsUpdate_.toBuilder();
-                }
-                windowsUpdate_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(windowsUpdate_);
-                  windowsUpdate_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 58: {
+              com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder subBuilder = null;
+              if (windowsUpdate_ != null) {
+                subBuilder = windowsUpdate_.toBuilder();
+              }
+              windowsUpdate_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(windowsUpdate_);
+                windowsUpdate_ = subBuilder.buildPartial();
               }
-            case 66:
-              {
-                com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder subBuilder = null;
-                if (preStep_ != null) {
-                  subBuilder = preStep_.toBuilder();
-                }
-                preStep_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchJobs.ExecStep.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(preStep_);
-                  preStep_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 66: {
+              com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder subBuilder = null;
+              if (preStep_ != null) {
+                subBuilder = preStep_.toBuilder();
+              }
+              preStep_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.ExecStep.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(preStep_);
+                preStep_ = subBuilder.buildPartial();
               }
-            case 74:
-              {
-                com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder subBuilder = null;
-                if (postStep_ != null) {
-                  subBuilder = postStep_.toBuilder();
-                }
-                postStep_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchJobs.ExecStep.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(postStep_);
-                  postStep_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 74: {
+              com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder subBuilder = null;
+              if (postStep_ != null) {
+                subBuilder = postStep_.toBuilder();
               }
-            case 80:
-              {
-                migInstancesAllowed_ = input.readBool();
-                break;
+              postStep_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.ExecStep.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(postStep_);
+                postStep_ = subBuilder.buildPartial();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+
+              break;
+            }
+            case 80: {
+
+              migInstancesAllowed_ = input.readBool();
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -16613,41 +14500,36 @@ private PatchConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchJobs
-          .internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchJobs
-          .internal_static_google_cloud_osconfig_v1_PatchConfig_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.class,
-              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder.class);
+              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.class, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * Post-patch reboot settings.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1.PatchConfig.RebootConfig} */ - public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum { + public enum RebootConfig + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * The default behavior is DEFAULT.
        * 
@@ -16656,8 +14538,6 @@ public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum { */ REBOOT_CONFIG_UNSPECIFIED(0), /** - * - * *
        * The agent decides if a reboot is necessary by checking signals such as
        * registry keys on Windows or `/var/run/reboot-required` on APT based
@@ -16669,8 +14549,6 @@ public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum {
        */
       DEFAULT(1),
       /**
-       *
-       *
        * 
        * Always reboot the machine after the update completes.
        * 
@@ -16679,8 +14557,6 @@ public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum { */ ALWAYS(2), /** - * - * *
        * Never reboot the machine after the update completes.
        * 
@@ -16692,8 +14568,6 @@ public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The default behavior is DEFAULT.
        * 
@@ -16702,8 +14576,6 @@ public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REBOOT_CONFIG_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The agent decides if a reboot is necessary by checking signals such as
        * registry keys on Windows or `/var/run/reboot-required` on APT based
@@ -16715,8 +14587,6 @@ public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int DEFAULT_VALUE = 1;
       /**
-       *
-       *
        * 
        * Always reboot the machine after the update completes.
        * 
@@ -16725,8 +14595,6 @@ public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALWAYS_VALUE = 2; /** - * - * *
        * Never reboot the machine after the update completes.
        * 
@@ -16735,6 +14603,7 @@ public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEVER_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -16759,53 +14628,50 @@ public static RebootConfig valueOf(int value) { */ public static RebootConfig forNumber(int value) { switch (value) { - case 0: - return REBOOT_CONFIG_UNSPECIFIED; - case 1: - return DEFAULT; - case 2: - return ALWAYS; - case 3: - return NEVER; - default: - return null; + case 0: return REBOOT_CONFIG_UNSPECIFIED; + case 1: return DEFAULT; + case 2: return ALWAYS; + case 3: return NEVER; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + RebootConfig> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RebootConfig findValueByNumber(int number) { + return RebootConfig.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RebootConfig findValueByNumber(int number) { - return RebootConfig.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDescriptor().getEnumTypes().get(0); } private static final RebootConfig[] VALUES = values(); - public static RebootConfig valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RebootConfig valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -16825,53 +14691,39 @@ private RebootConfig(int value) { public static final int REBOOT_CONFIG_FIELD_NUMBER = 1; private int rebootConfig_; /** - * - * *
      * Post-patch reboot settings.
      * 
* * .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1; - * * @return The enum numeric value on the wire for rebootConfig. */ - @java.lang.Override - public int getRebootConfigValue() { + @java.lang.Override public int getRebootConfigValue() { return rebootConfig_; } /** - * - * *
      * Post-patch reboot settings.
      * 
* * .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1; - * * @return The rebootConfig. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig getRebootConfig() { + @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig getRebootConfig() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig result = - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.valueOf(rebootConfig_); - return result == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig result = com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.valueOf(rebootConfig_); + return result == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.UNRECOGNIZED : result; } public static final int APT_FIELD_NUMBER = 3; private com.google.cloud.osconfig.v1.PatchJobs.AptSettings apt_; /** - * - * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.AptSettings apt = 3; - * * @return Whether the apt field is set. */ @java.lang.Override @@ -16879,26 +14731,19 @@ public boolean hasApt() { return apt_ != null; } /** - * - * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.AptSettings apt = 3; - * * @return The apt. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.AptSettings getApt() { - return apt_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDefaultInstance() - : apt_; + return apt_ == null ? com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDefaultInstance() : apt_; } /** - * - * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
@@ -16914,15 +14759,12 @@ public com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder getAptOrBuild
     public static final int YUM_FIELD_NUMBER = 4;
     private com.google.cloud.osconfig.v1.PatchJobs.YumSettings yum_;
     /**
-     *
-     *
      * 
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.YumSettings yum = 4; - * * @return Whether the yum field is set. */ @java.lang.Override @@ -16930,26 +14772,19 @@ public boolean hasYum() { return yum_ != null; } /** - * - * *
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.YumSettings yum = 4; - * * @return The yum. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.YumSettings getYum() { - return yum_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.YumSettings.getDefaultInstance() - : yum_; + return yum_ == null ? com.google.cloud.osconfig.v1.PatchJobs.YumSettings.getDefaultInstance() : yum_; } /** - * - * *
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
@@ -16965,15 +14800,12 @@ public com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder getYumOrBuild
     public static final int GOO_FIELD_NUMBER = 5;
     private com.google.cloud.osconfig.v1.PatchJobs.GooSettings goo_;
     /**
-     *
-     *
      * 
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.GooSettings goo = 5; - * * @return Whether the goo field is set. */ @java.lang.Override @@ -16981,26 +14813,19 @@ public boolean hasGoo() { return goo_ != null; } /** - * - * *
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.GooSettings goo = 5; - * * @return The goo. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.GooSettings getGoo() { - return goo_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.GooSettings.getDefaultInstance() - : goo_; + return goo_ == null ? com.google.cloud.osconfig.v1.PatchJobs.GooSettings.getDefaultInstance() : goo_; } /** - * - * *
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
@@ -17016,15 +14841,12 @@ public com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder getGooOrBuild
     public static final int ZYPPER_FIELD_NUMBER = 6;
     private com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings zypper_;
     /**
-     *
-     *
      * 
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
      * 
* * .google.cloud.osconfig.v1.ZypperSettings zypper = 6; - * * @return Whether the zypper field is set. */ @java.lang.Override @@ -17032,26 +14854,19 @@ public boolean hasZypper() { return zypper_ != null; } /** - * - * *
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
      * 
* * .google.cloud.osconfig.v1.ZypperSettings zypper = 6; - * * @return The zypper. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings getZypper() { - return zypper_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.getDefaultInstance() - : zypper_; + return zypper_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.getDefaultInstance() : zypper_; } /** - * - * *
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
@@ -17067,14 +14882,11 @@ public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder getZypperO
     public static final int WINDOWS_UPDATE_FIELD_NUMBER = 7;
     private com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings windowsUpdate_;
     /**
-     *
-     *
      * 
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; - * * @return Whether the windowsUpdate field is set. */ @java.lang.Override @@ -17082,25 +14894,18 @@ public boolean hasWindowsUpdate() { return windowsUpdate_ != null; } /** - * - * *
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; - * * @return The windowsUpdate. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings getWindowsUpdate() { - return windowsUpdate_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDefaultInstance() - : windowsUpdate_; + return windowsUpdate_ == null ? com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDefaultInstance() : windowsUpdate_; } /** - * - * *
      * Windows update settings. Use this override the default windows patch rules.
      * 
@@ -17108,22 +14913,18 @@ public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings getWindowsUp * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder - getWindowsUpdateOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder getWindowsUpdateOrBuilder() { return getWindowsUpdate(); } public static final int PRE_STEP_FIELD_NUMBER = 8; private com.google.cloud.osconfig.v1.PatchJobs.ExecStep preStep_; /** - * - * *
      * The `ExecStep` to run before the patch update.
      * 
* * .google.cloud.osconfig.v1.ExecStep pre_step = 8; - * * @return Whether the preStep field is set. */ @java.lang.Override @@ -17131,25 +14932,18 @@ public boolean hasPreStep() { return preStep_ != null; } /** - * - * *
      * The `ExecStep` to run before the patch update.
      * 
* * .google.cloud.osconfig.v1.ExecStep pre_step = 8; - * * @return The preStep. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ExecStep getPreStep() { - return preStep_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() - : preStep_; + return preStep_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() : preStep_; } /** - * - * *
      * The `ExecStep` to run before the patch update.
      * 
@@ -17164,14 +14958,11 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder getPreStepOrBuil public static final int POST_STEP_FIELD_NUMBER = 9; private com.google.cloud.osconfig.v1.PatchJobs.ExecStep postStep_; /** - * - * *
      * The `ExecStep` to run after the patch update.
      * 
* * .google.cloud.osconfig.v1.ExecStep post_step = 9; - * * @return Whether the postStep field is set. */ @java.lang.Override @@ -17179,25 +14970,18 @@ public boolean hasPostStep() { return postStep_ != null; } /** - * - * *
      * The `ExecStep` to run after the patch update.
      * 
* * .google.cloud.osconfig.v1.ExecStep post_step = 9; - * * @return The postStep. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ExecStep getPostStep() { - return postStep_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() - : postStep_; + return postStep_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() : postStep_; } /** - * - * *
      * The `ExecStep` to run after the patch update.
      * 
@@ -17212,14 +14996,11 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder getPostStepOrBui public static final int MIG_INSTANCES_ALLOWED_FIELD_NUMBER = 10; private boolean migInstancesAllowed_; /** - * - * *
      * Allows the patch job to run on Managed instance groups (MIGs).
      * 
* * bool mig_instances_allowed = 10; - * * @return The migInstancesAllowed. */ @java.lang.Override @@ -17228,7 +15009,6 @@ public boolean getMigInstancesAllowed() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -17240,11 +15020,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (rebootConfig_ - != com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig - .REBOOT_CONFIG_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (rebootConfig_ != com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.REBOOT_CONFIG_UNSPECIFIED.getNumber()) { output.writeEnum(1, rebootConfig_); } if (apt_ != null) { @@ -17280,35 +15058,41 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (rebootConfig_ - != com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig - .REBOOT_CONFIG_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, rebootConfig_); + if (rebootConfig_ != com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.REBOOT_CONFIG_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, rebootConfig_); } if (apt_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getApt()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getApt()); } if (yum_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getYum()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getYum()); } if (goo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getGoo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getGoo()); } if (zypper_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getZypper()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getZypper()); } if (windowsUpdate_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getWindowsUpdate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getWindowsUpdate()); } if (preStep_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPreStep()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getPreStep()); } if (postStep_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getPostStep()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getPostStep()); } if (migInstancesAllowed_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, migInstancesAllowed_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, migInstancesAllowed_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -17318,44 +15102,51 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchConfig)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig other = - (com.google.cloud.osconfig.v1.PatchJobs.PatchConfig) obj; + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig other = (com.google.cloud.osconfig.v1.PatchJobs.PatchConfig) obj; if (rebootConfig_ != other.rebootConfig_) return false; if (hasApt() != other.hasApt()) return false; if (hasApt()) { - if (!getApt().equals(other.getApt())) return false; + if (!getApt() + .equals(other.getApt())) return false; } if (hasYum() != other.hasYum()) return false; if (hasYum()) { - if (!getYum().equals(other.getYum())) return false; + if (!getYum() + .equals(other.getYum())) return false; } if (hasGoo() != other.hasGoo()) return false; if (hasGoo()) { - if (!getGoo().equals(other.getGoo())) return false; + if (!getGoo() + .equals(other.getGoo())) return false; } if (hasZypper() != other.hasZypper()) return false; if (hasZypper()) { - if (!getZypper().equals(other.getZypper())) return false; + if (!getZypper() + .equals(other.getZypper())) return false; } if (hasWindowsUpdate() != other.hasWindowsUpdate()) return false; if (hasWindowsUpdate()) { - if (!getWindowsUpdate().equals(other.getWindowsUpdate())) return false; + if (!getWindowsUpdate() + .equals(other.getWindowsUpdate())) return false; } if (hasPreStep() != other.hasPreStep()) return false; if (hasPreStep()) { - if (!getPreStep().equals(other.getPreStep())) return false; + if (!getPreStep() + .equals(other.getPreStep())) return false; } if (hasPostStep() != other.hasPostStep()) return false; if (hasPostStep()) { - if (!getPostStep().equals(other.getPostStep())) return false; + if (!getPostStep() + .equals(other.getPostStep())) return false; } - if (getMigInstancesAllowed() != other.getMigInstancesAllowed()) return false; + if (getMigInstancesAllowed() + != other.getMigInstancesAllowed()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -17398,100 +15189,95 @@ public int hashCode() { hash = (53 * hash) + getPostStep().hashCode(); } hash = (37 * hash) + MIG_INSTANCES_ALLOWED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getMigInstancesAllowed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMigInstancesAllowed()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig 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.osconfig.v1.PatchJobs.PatchConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -17501,8 +15287,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Patch configuration specifications. Contains details on how to apply the
      * patch(es) to a VM instance.
@@ -17510,24 +15294,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.PatchConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.PatchConfig)
         com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_PatchConfig_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.class,
-                com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.class, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.newBuilder()
@@ -17535,15 +15316,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -17597,9 +15379,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor;
       }
 
       @java.lang.Override
@@ -17618,8 +15400,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig buildPartial() {
-        com.google.cloud.osconfig.v1.PatchJobs.PatchConfig result =
-            new com.google.cloud.osconfig.v1.PatchJobs.PatchConfig(this);
+        com.google.cloud.osconfig.v1.PatchJobs.PatchConfig result = new com.google.cloud.osconfig.v1.PatchJobs.PatchConfig(this);
         result.rebootConfig_ = rebootConfig_;
         if (aptBuilder_ == null) {
           result.apt_ = apt_;
@@ -17665,41 +15446,38 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchJobs.PatchConfig) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchConfig) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -17707,8 +15485,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig other) {
-        if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance()) return this;
         if (other.rebootConfig_ != 0) {
           setRebootConfigValue(other.getRebootConfigValue());
         }
@@ -17755,8 +15532,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.PatchJobs.PatchConfig) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.PatchConfig) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -17768,93 +15544,73 @@ public Builder mergeFrom(
 
       private int rebootConfig_ = 0;
       /**
-       *
-       *
        * 
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1; - * * @return The enum numeric value on the wire for rebootConfig. */ - @java.lang.Override - public int getRebootConfigValue() { + @java.lang.Override public int getRebootConfigValue() { return rebootConfig_; } /** - * - * *
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1; - * * @param value The enum numeric value on the wire for rebootConfig to set. * @return This builder for chaining. */ public Builder setRebootConfigValue(int value) { - + rebootConfig_ = value; onChanged(); return this; } /** - * - * *
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1; - * * @return The rebootConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig getRebootConfig() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig result = - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.valueOf(rebootConfig_); - return result == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig result = com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.valueOf(rebootConfig_); + return result == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.UNRECOGNIZED : result; } /** - * - * *
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1; - * * @param value The rebootConfig to set. * @return This builder for chaining. */ - public Builder setRebootConfig( - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig value) { + public Builder setRebootConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig value) { if (value == null) { throw new NullPointerException(); } - + rebootConfig_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1; - * * @return This builder for chaining. */ public Builder clearRebootConfig() { - + rebootConfig_ = 0; onChanged(); return this; @@ -17862,49 +15618,36 @@ public Builder clearRebootConfig() { private com.google.cloud.osconfig.v1.PatchJobs.AptSettings apt_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.AptSettings, - com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder, - com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder> - aptBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.AptSettings, com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder> aptBuilder_; /** - * - * *
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1.AptSettings apt = 3; - * * @return Whether the apt field is set. */ public boolean hasApt() { return aptBuilder_ != null || apt_ != null; } /** - * - * *
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1.AptSettings apt = 3; - * * @return The apt. */ public com.google.cloud.osconfig.v1.PatchJobs.AptSettings getApt() { if (aptBuilder_ == null) { - return apt_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDefaultInstance() - : apt_; + return apt_ == null ? com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDefaultInstance() : apt_; } else { return aptBuilder_.getMessage(); } } /** - * - * *
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -17926,8 +15669,6 @@ public Builder setApt(com.google.cloud.osconfig.v1.PatchJobs.AptSettings value)
         return this;
       }
       /**
-       *
-       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -17947,8 +15688,6 @@ public Builder setApt(
         return this;
       }
       /**
-       *
-       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -17960,9 +15699,7 @@ public Builder mergeApt(com.google.cloud.osconfig.v1.PatchJobs.AptSettings value
         if (aptBuilder_ == null) {
           if (apt_ != null) {
             apt_ =
-                com.google.cloud.osconfig.v1.PatchJobs.AptSettings.newBuilder(apt_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.osconfig.v1.PatchJobs.AptSettings.newBuilder(apt_).mergeFrom(value).buildPartial();
           } else {
             apt_ = value;
           }
@@ -17974,8 +15711,6 @@ public Builder mergeApt(com.google.cloud.osconfig.v1.PatchJobs.AptSettings value
         return this;
       }
       /**
-       *
-       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -17995,8 +15730,6 @@ public Builder clearApt() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -18005,13 +15738,11 @@ public Builder clearApt() {
        * .google.cloud.osconfig.v1.AptSettings apt = 3;
        */
       public com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder getAptBuilder() {
-
+        
         onChanged();
         return getAptFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -18023,14 +15754,11 @@ public com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder getAptOrBuild
         if (aptBuilder_ != null) {
           return aptBuilder_.getMessageOrBuilder();
         } else {
-          return apt_ == null
-              ? com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDefaultInstance()
-              : apt_;
+          return apt_ == null ?
+              com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDefaultInstance() : apt_;
         }
       }
       /**
-       *
-       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -18039,17 +15767,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder getAptOrBuild
        * .google.cloud.osconfig.v1.AptSettings apt = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.PatchJobs.AptSettings,
-              com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder,
-              com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder>
+          com.google.cloud.osconfig.v1.PatchJobs.AptSettings, com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder> 
           getAptFieldBuilder() {
         if (aptBuilder_ == null) {
-          aptBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1.PatchJobs.AptSettings,
-                  com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder,
-                  com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder>(
-                  getApt(), getParentForChildren(), isClean());
+          aptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1.PatchJobs.AptSettings, com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder>(
+                  getApt(),
+                  getParentForChildren(),
+                  isClean());
           apt_ = null;
         }
         return aptBuilder_;
@@ -18057,49 +15782,36 @@ public com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder getAptOrBuild
 
       private com.google.cloud.osconfig.v1.PatchJobs.YumSettings yum_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.PatchJobs.YumSettings,
-              com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder,
-              com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder>
-          yumBuilder_;
+          com.google.cloud.osconfig.v1.PatchJobs.YumSettings, com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder> yumBuilder_;
       /**
-       *
-       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1.YumSettings yum = 4; - * * @return Whether the yum field is set. */ public boolean hasYum() { return yumBuilder_ != null || yum_ != null; } /** - * - * *
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1.YumSettings yum = 4; - * * @return The yum. */ public com.google.cloud.osconfig.v1.PatchJobs.YumSettings getYum() { if (yumBuilder_ == null) { - return yum_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.YumSettings.getDefaultInstance() - : yum_; + return yum_ == null ? com.google.cloud.osconfig.v1.PatchJobs.YumSettings.getDefaultInstance() : yum_; } else { return yumBuilder_.getMessage(); } } /** - * - * *
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -18120,9 +15832,7 @@ public Builder setYum(com.google.cloud.osconfig.v1.PatchJobs.YumSettings value)
 
         return this;
       }
-      /**
-       *
-       *
+      /**
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -18142,8 +15852,6 @@ public Builder setYum(
         return this;
       }
       /**
-       *
-       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -18155,9 +15863,7 @@ public Builder mergeYum(com.google.cloud.osconfig.v1.PatchJobs.YumSettings value
         if (yumBuilder_ == null) {
           if (yum_ != null) {
             yum_ =
-                com.google.cloud.osconfig.v1.PatchJobs.YumSettings.newBuilder(yum_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.osconfig.v1.PatchJobs.YumSettings.newBuilder(yum_).mergeFrom(value).buildPartial();
           } else {
             yum_ = value;
           }
@@ -18169,8 +15875,6 @@ public Builder mergeYum(com.google.cloud.osconfig.v1.PatchJobs.YumSettings value
         return this;
       }
       /**
-       *
-       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -18190,8 +15894,6 @@ public Builder clearYum() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -18200,13 +15902,11 @@ public Builder clearYum() {
        * .google.cloud.osconfig.v1.YumSettings yum = 4;
        */
       public com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder getYumBuilder() {
-
+        
         onChanged();
         return getYumFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -18218,14 +15918,11 @@ public com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder getYumOrBuild
         if (yumBuilder_ != null) {
           return yumBuilder_.getMessageOrBuilder();
         } else {
-          return yum_ == null
-              ? com.google.cloud.osconfig.v1.PatchJobs.YumSettings.getDefaultInstance()
-              : yum_;
+          return yum_ == null ?
+              com.google.cloud.osconfig.v1.PatchJobs.YumSettings.getDefaultInstance() : yum_;
         }
       }
       /**
-       *
-       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -18234,17 +15931,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder getYumOrBuild
        * .google.cloud.osconfig.v1.YumSettings yum = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.PatchJobs.YumSettings,
-              com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder,
-              com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder>
+          com.google.cloud.osconfig.v1.PatchJobs.YumSettings, com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder> 
           getYumFieldBuilder() {
         if (yumBuilder_ == null) {
-          yumBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1.PatchJobs.YumSettings,
-                  com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder,
-                  com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder>(
-                  getYum(), getParentForChildren(), isClean());
+          yumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1.PatchJobs.YumSettings, com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder>(
+                  getYum(),
+                  getParentForChildren(),
+                  isClean());
           yum_ = null;
         }
         return yumBuilder_;
@@ -18252,49 +15946,36 @@ public com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder getYumOrBuild
 
       private com.google.cloud.osconfig.v1.PatchJobs.GooSettings goo_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.PatchJobs.GooSettings,
-              com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder,
-              com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder>
-          gooBuilder_;
+          com.google.cloud.osconfig.v1.PatchJobs.GooSettings, com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder> gooBuilder_;
       /**
-       *
-       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1.GooSettings goo = 5; - * * @return Whether the goo field is set. */ public boolean hasGoo() { return gooBuilder_ != null || goo_ != null; } /** - * - * *
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1.GooSettings goo = 5; - * * @return The goo. */ public com.google.cloud.osconfig.v1.PatchJobs.GooSettings getGoo() { if (gooBuilder_ == null) { - return goo_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.GooSettings.getDefaultInstance() - : goo_; + return goo_ == null ? com.google.cloud.osconfig.v1.PatchJobs.GooSettings.getDefaultInstance() : goo_; } else { return gooBuilder_.getMessage(); } } /** - * - * *
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -18316,8 +15997,6 @@ public Builder setGoo(com.google.cloud.osconfig.v1.PatchJobs.GooSettings value)
         return this;
       }
       /**
-       *
-       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -18337,8 +16016,6 @@ public Builder setGoo(
         return this;
       }
       /**
-       *
-       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -18350,9 +16027,7 @@ public Builder mergeGoo(com.google.cloud.osconfig.v1.PatchJobs.GooSettings value
         if (gooBuilder_ == null) {
           if (goo_ != null) {
             goo_ =
-                com.google.cloud.osconfig.v1.PatchJobs.GooSettings.newBuilder(goo_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.osconfig.v1.PatchJobs.GooSettings.newBuilder(goo_).mergeFrom(value).buildPartial();
           } else {
             goo_ = value;
           }
@@ -18364,8 +16039,6 @@ public Builder mergeGoo(com.google.cloud.osconfig.v1.PatchJobs.GooSettings value
         return this;
       }
       /**
-       *
-       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -18385,8 +16058,6 @@ public Builder clearGoo() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -18395,13 +16066,11 @@ public Builder clearGoo() {
        * .google.cloud.osconfig.v1.GooSettings goo = 5;
        */
       public com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder getGooBuilder() {
-
+        
         onChanged();
         return getGooFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -18413,14 +16082,11 @@ public com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder getGooOrBuild
         if (gooBuilder_ != null) {
           return gooBuilder_.getMessageOrBuilder();
         } else {
-          return goo_ == null
-              ? com.google.cloud.osconfig.v1.PatchJobs.GooSettings.getDefaultInstance()
-              : goo_;
+          return goo_ == null ?
+              com.google.cloud.osconfig.v1.PatchJobs.GooSettings.getDefaultInstance() : goo_;
         }
       }
       /**
-       *
-       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -18429,17 +16095,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder getGooOrBuild
        * .google.cloud.osconfig.v1.GooSettings goo = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.PatchJobs.GooSettings,
-              com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder,
-              com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder>
+          com.google.cloud.osconfig.v1.PatchJobs.GooSettings, com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder> 
           getGooFieldBuilder() {
         if (gooBuilder_ == null) {
-          gooBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1.PatchJobs.GooSettings,
-                  com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder,
-                  com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder>(
-                  getGoo(), getParentForChildren(), isClean());
+          gooBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1.PatchJobs.GooSettings, com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder>(
+                  getGoo(),
+                  getParentForChildren(),
+                  isClean());
           goo_ = null;
         }
         return gooBuilder_;
@@ -18447,49 +16110,36 @@ public com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder getGooOrBuild
 
       private com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings zypper_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings,
-              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder,
-              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder>
-          zypperBuilder_;
+          com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings, com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder> zypperBuilder_;
       /**
-       *
-       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
        * 
* * .google.cloud.osconfig.v1.ZypperSettings zypper = 6; - * * @return Whether the zypper field is set. */ public boolean hasZypper() { return zypperBuilder_ != null || zypper_ != null; } /** - * - * *
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
        * 
* * .google.cloud.osconfig.v1.ZypperSettings zypper = 6; - * * @return The zypper. */ public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings getZypper() { if (zypperBuilder_ == null) { - return zypper_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.getDefaultInstance() - : zypper_; + return zypper_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.getDefaultInstance() : zypper_; } else { return zypperBuilder_.getMessage(); } } /** - * - * *
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -18511,8 +16161,6 @@ public Builder setZypper(com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings v
         return this;
       }
       /**
-       *
-       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -18532,8 +16180,6 @@ public Builder setZypper(
         return this;
       }
       /**
-       *
-       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -18545,9 +16191,7 @@ public Builder mergeZypper(com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings
         if (zypperBuilder_ == null) {
           if (zypper_ != null) {
             zypper_ =
-                com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.newBuilder(zypper_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.newBuilder(zypper_).mergeFrom(value).buildPartial();
           } else {
             zypper_ = value;
           }
@@ -18559,8 +16203,6 @@ public Builder mergeZypper(com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings
         return this;
       }
       /**
-       *
-       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -18580,8 +16222,6 @@ public Builder clearZypper() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -18590,13 +16230,11 @@ public Builder clearZypper() {
        * .google.cloud.osconfig.v1.ZypperSettings zypper = 6;
        */
       public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder getZypperBuilder() {
-
+        
         onChanged();
         return getZypperFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -18608,14 +16246,11 @@ public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder getZypperO
         if (zypperBuilder_ != null) {
           return zypperBuilder_.getMessageOrBuilder();
         } else {
-          return zypper_ == null
-              ? com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.getDefaultInstance()
-              : zypper_;
+          return zypper_ == null ?
+              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.getDefaultInstance() : zypper_;
         }
       }
       /**
-       *
-       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -18624,17 +16259,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder getZypperO
        * .google.cloud.osconfig.v1.ZypperSettings zypper = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings,
-              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder,
-              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder>
+          com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings, com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder> 
           getZypperFieldBuilder() {
         if (zypperBuilder_ == null) {
-          zypperBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings,
-                  com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder,
-                  com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder>(
-                  getZypper(), getParentForChildren(), isClean());
+          zypperBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings, com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder>(
+                  getZypper(),
+                  getParentForChildren(),
+                  isClean());
           zypper_ = null;
         }
         return zypperBuilder_;
@@ -18642,55 +16274,41 @@ public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder getZypperO
 
       private com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings windowsUpdate_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings,
-              com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder,
-              com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder>
-          windowsUpdateBuilder_;
+          com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder> windowsUpdateBuilder_;
       /**
-       *
-       *
        * 
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; - * * @return Whether the windowsUpdate field is set. */ public boolean hasWindowsUpdate() { return windowsUpdateBuilder_ != null || windowsUpdate_ != null; } /** - * - * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; - * * @return The windowsUpdate. */ public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings getWindowsUpdate() { if (windowsUpdateBuilder_ == null) { - return windowsUpdate_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDefaultInstance() - : windowsUpdate_; + return windowsUpdate_ == null ? com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDefaultInstance() : windowsUpdate_; } else { return windowsUpdateBuilder_.getMessage(); } } /** - * - * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; */ - public Builder setWindowsUpdate( - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings value) { + public Builder setWindowsUpdate(com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings value) { if (windowsUpdateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -18704,8 +16322,6 @@ public Builder setWindowsUpdate( return this; } /** - * - * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
@@ -18724,23 +16340,17 @@ public Builder setWindowsUpdate( return this; } /** - * - * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; */ - public Builder mergeWindowsUpdate( - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings value) { + public Builder mergeWindowsUpdate(com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings value) { if (windowsUpdateBuilder_ == null) { if (windowsUpdate_ != null) { windowsUpdate_ = - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.newBuilder( - windowsUpdate_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.newBuilder(windowsUpdate_).mergeFrom(value).buildPartial(); } else { windowsUpdate_ = value; } @@ -18752,8 +16362,6 @@ public Builder mergeWindowsUpdate( return this; } /** - * - * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
@@ -18772,42 +16380,33 @@ public Builder clearWindowsUpdate() { return this; } /** - * - * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; */ - public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder - getWindowsUpdateBuilder() { - + public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder getWindowsUpdateBuilder() { + onChanged(); return getWindowsUpdateFieldBuilder().getBuilder(); } /** - * - * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; */ - public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder - getWindowsUpdateOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder getWindowsUpdateOrBuilder() { if (windowsUpdateBuilder_ != null) { return windowsUpdateBuilder_.getMessageOrBuilder(); } else { - return windowsUpdate_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDefaultInstance() - : windowsUpdate_; + return windowsUpdate_ == null ? + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDefaultInstance() : windowsUpdate_; } } /** - * - * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
@@ -18815,17 +16414,14 @@ public Builder clearWindowsUpdate() { * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings, - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder, - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder> getWindowsUpdateFieldBuilder() { if (windowsUpdateBuilder_ == null) { - windowsUpdateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings, - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder, - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder>( - getWindowsUpdate(), getParentForChildren(), isClean()); + windowsUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder>( + getWindowsUpdate(), + getParentForChildren(), + isClean()); windowsUpdate_ = null; } return windowsUpdateBuilder_; @@ -18833,47 +16429,34 @@ public Builder clearWindowsUpdate() { private com.google.cloud.osconfig.v1.PatchJobs.ExecStep preStep_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStep, - com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder> - preStepBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.ExecStep, com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder> preStepBuilder_; /** - * - * *
        * The `ExecStep` to run before the patch update.
        * 
* * .google.cloud.osconfig.v1.ExecStep pre_step = 8; - * * @return Whether the preStep field is set. */ public boolean hasPreStep() { return preStepBuilder_ != null || preStep_ != null; } /** - * - * *
        * The `ExecStep` to run before the patch update.
        * 
* * .google.cloud.osconfig.v1.ExecStep pre_step = 8; - * * @return The preStep. */ public com.google.cloud.osconfig.v1.PatchJobs.ExecStep getPreStep() { if (preStepBuilder_ == null) { - return preStep_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() - : preStep_; + return preStep_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() : preStep_; } else { return preStepBuilder_.getMessage(); } } /** - * - * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -18894,8 +16477,6 @@ public Builder setPreStep(com.google.cloud.osconfig.v1.PatchJobs.ExecStep value) return this; } /** - * - * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -18914,8 +16495,6 @@ public Builder setPreStep( return this; } /** - * - * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -18926,9 +16505,7 @@ public Builder mergePreStep(com.google.cloud.osconfig.v1.PatchJobs.ExecStep valu if (preStepBuilder_ == null) { if (preStep_ != null) { preStep_ = - com.google.cloud.osconfig.v1.PatchJobs.ExecStep.newBuilder(preStep_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.ExecStep.newBuilder(preStep_).mergeFrom(value).buildPartial(); } else { preStep_ = value; } @@ -18940,8 +16517,6 @@ public Builder mergePreStep(com.google.cloud.osconfig.v1.PatchJobs.ExecStep valu return this; } /** - * - * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -18960,8 +16535,6 @@ public Builder clearPreStep() { return this; } /** - * - * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -18969,13 +16542,11 @@ public Builder clearPreStep() { * .google.cloud.osconfig.v1.ExecStep pre_step = 8; */ public com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder getPreStepBuilder() { - + onChanged(); return getPreStepFieldBuilder().getBuilder(); } /** - * - * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -18986,14 +16557,11 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder getPreStepOrBuil if (preStepBuilder_ != null) { return preStepBuilder_.getMessageOrBuilder(); } else { - return preStep_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() - : preStep_; + return preStep_ == null ? + com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() : preStep_; } } /** - * - * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -19001,17 +16569,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder getPreStepOrBuil * .google.cloud.osconfig.v1.ExecStep pre_step = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStep, - com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.ExecStep, com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder> getPreStepFieldBuilder() { if (preStepBuilder_ == null) { - preStepBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStep, - com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder>( - getPreStep(), getParentForChildren(), isClean()); + preStepBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.ExecStep, com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder>( + getPreStep(), + getParentForChildren(), + isClean()); preStep_ = null; } return preStepBuilder_; @@ -19019,47 +16584,34 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder getPreStepOrBuil private com.google.cloud.osconfig.v1.PatchJobs.ExecStep postStep_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStep, - com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder> - postStepBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.ExecStep, com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder> postStepBuilder_; /** - * - * *
        * The `ExecStep` to run after the patch update.
        * 
* * .google.cloud.osconfig.v1.ExecStep post_step = 9; - * * @return Whether the postStep field is set. */ public boolean hasPostStep() { return postStepBuilder_ != null || postStep_ != null; } /** - * - * *
        * The `ExecStep` to run after the patch update.
        * 
* * .google.cloud.osconfig.v1.ExecStep post_step = 9; - * * @return The postStep. */ public com.google.cloud.osconfig.v1.PatchJobs.ExecStep getPostStep() { if (postStepBuilder_ == null) { - return postStep_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() - : postStep_; + return postStep_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() : postStep_; } else { return postStepBuilder_.getMessage(); } } /** - * - * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -19080,8 +16632,6 @@ public Builder setPostStep(com.google.cloud.osconfig.v1.PatchJobs.ExecStep value return this; } /** - * - * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -19100,8 +16650,6 @@ public Builder setPostStep( return this; } /** - * - * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -19112,9 +16660,7 @@ public Builder mergePostStep(com.google.cloud.osconfig.v1.PatchJobs.ExecStep val if (postStepBuilder_ == null) { if (postStep_ != null) { postStep_ = - com.google.cloud.osconfig.v1.PatchJobs.ExecStep.newBuilder(postStep_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.ExecStep.newBuilder(postStep_).mergeFrom(value).buildPartial(); } else { postStep_ = value; } @@ -19126,8 +16672,6 @@ public Builder mergePostStep(com.google.cloud.osconfig.v1.PatchJobs.ExecStep val return this; } /** - * - * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -19146,8 +16690,6 @@ public Builder clearPostStep() { return this; } /** - * - * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -19155,13 +16697,11 @@ public Builder clearPostStep() { * .google.cloud.osconfig.v1.ExecStep post_step = 9; */ public com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder getPostStepBuilder() { - + onChanged(); return getPostStepFieldBuilder().getBuilder(); } /** - * - * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -19172,14 +16712,11 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder getPostStepOrBui if (postStepBuilder_ != null) { return postStepBuilder_.getMessageOrBuilder(); } else { - return postStep_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() - : postStep_; + return postStep_ == null ? + com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() : postStep_; } } /** - * - * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -19187,32 +16724,26 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder getPostStepOrBui * .google.cloud.osconfig.v1.ExecStep post_step = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStep, - com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.ExecStep, com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder> getPostStepFieldBuilder() { if (postStepBuilder_ == null) { - postStepBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStep, - com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder>( - getPostStep(), getParentForChildren(), isClean()); + postStepBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.ExecStep, com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder>( + getPostStep(), + getParentForChildren(), + isClean()); postStep_ = null; } return postStepBuilder_; } - private boolean migInstancesAllowed_; + private boolean migInstancesAllowed_ ; /** - * - * *
        * Allows the patch job to run on Managed instance groups (MIGs).
        * 
* * bool mig_instances_allowed = 10; - * * @return The migInstancesAllowed. */ @java.lang.Override @@ -19220,41 +16751,34 @@ public boolean getMigInstancesAllowed() { return migInstancesAllowed_; } /** - * - * *
        * Allows the patch job to run on Managed instance groups (MIGs).
        * 
* * bool mig_instances_allowed = 10; - * * @param value The migInstancesAllowed to set. * @return This builder for chaining. */ public Builder setMigInstancesAllowed(boolean value) { - + migInstancesAllowed_ = value; onChanged(); return this; } /** - * - * *
        * Allows the patch job to run on Managed instance groups (MIGs).
        * 
* * bool mig_instances_allowed = 10; - * * @return This builder for chaining. */ public Builder clearMigInstancesAllowed() { - + migInstancesAllowed_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -19267,12 +16791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.PatchConfig) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.PatchConfig) private static final com.google.cloud.osconfig.v1.PatchJobs.PatchConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.PatchConfig(); } @@ -19281,16 +16805,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -19305,44 +16829,44 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface InstanceOrBuilder - extends + public interface InstanceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Instance) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Namespace for instance state enums.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.Instance} */ - public static final class Instance extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Instance extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Instance) InstanceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Instance.newBuilder() to construct. private Instance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Instance() {} + private Instance() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Instance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Instance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -19361,13 +16885,13 @@ private Instance( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -19375,41 +16899,36 @@ private Instance( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_Instance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_Instance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_Instance_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.Instance.class, - com.google.cloud.osconfig.v1.PatchJobs.Instance.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.Instance.class, com.google.cloud.osconfig.v1.PatchJobs.Instance.Builder.class); } /** - * - * *
      * Patch state of an instance.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1.Instance.PatchState} */ - public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { + public enum PatchState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified.
        * 
@@ -19418,8 +16937,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ PATCH_STATE_UNSPECIFIED(0), /** - * - * *
        * The instance is not yet notified.
        * 
@@ -19428,8 +16945,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
        * Instance is inactive and cannot be patched.
        * 
@@ -19438,8 +16953,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ INACTIVE(2), /** - * - * *
        * The instance is notified that it should be patched.
        * 
@@ -19448,8 +16961,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ NOTIFIED(3), /** - * - * *
        * The instance has started the patching process.
        * 
@@ -19458,8 +16969,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ STARTED(4), /** - * - * *
        * The instance is downloading patches.
        * 
@@ -19468,8 +16977,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ DOWNLOADING_PATCHES(5), /** - * - * *
        * The instance is applying patches.
        * 
@@ -19478,8 +16985,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ APPLYING_PATCHES(6), /** - * - * *
        * The instance is rebooting.
        * 
@@ -19488,8 +16993,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ REBOOTING(7), /** - * - * *
        * The instance has completed applying patches.
        * 
@@ -19498,8 +17001,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(8), /** - * - * *
        * The instance has completed applying patches but a reboot is required.
        * 
@@ -19508,8 +17009,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED_REBOOT_REQUIRED(9), /** - * - * *
        * The instance has failed to apply the patch.
        * 
@@ -19518,8 +17017,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(10), /** - * - * *
        * The instance acked the notification and will start shortly.
        * 
@@ -19528,8 +17025,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ ACKED(11), /** - * - * *
        * The instance exceeded the time out while applying the patch.
        * 
@@ -19538,8 +17033,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ TIMED_OUT(12), /** - * - * *
        * The instance is running the pre-patch step.
        * 
@@ -19548,8 +17041,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING_PRE_PATCH_STEP(13), /** - * - * *
        * The instance is running the post-patch step.
        * 
@@ -19558,8 +17049,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING_POST_PATCH_STEP(14), /** - * - * *
        * The service could not detect the presence of the agent. Check to ensure
        * that the agent is installed, running, and able to communicate with the
@@ -19573,8 +17062,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Unspecified.
        * 
@@ -19583,8 +17070,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PATCH_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The instance is not yet notified.
        * 
@@ -19593,8 +17078,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
        * Instance is inactive and cannot be patched.
        * 
@@ -19603,8 +17086,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INACTIVE_VALUE = 2; /** - * - * *
        * The instance is notified that it should be patched.
        * 
@@ -19613,8 +17094,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NOTIFIED_VALUE = 3; /** - * - * *
        * The instance has started the patching process.
        * 
@@ -19623,8 +17102,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STARTED_VALUE = 4; /** - * - * *
        * The instance is downloading patches.
        * 
@@ -19633,8 +17110,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOWNLOADING_PATCHES_VALUE = 5; /** - * - * *
        * The instance is applying patches.
        * 
@@ -19643,8 +17118,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APPLYING_PATCHES_VALUE = 6; /** - * - * *
        * The instance is rebooting.
        * 
@@ -19653,8 +17126,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REBOOTING_VALUE = 7; /** - * - * *
        * The instance has completed applying patches.
        * 
@@ -19663,8 +17134,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 8; /** - * - * *
        * The instance has completed applying patches but a reboot is required.
        * 
@@ -19673,8 +17142,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_REBOOT_REQUIRED_VALUE = 9; /** - * - * *
        * The instance has failed to apply the patch.
        * 
@@ -19683,8 +17150,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 10; /** - * - * *
        * The instance acked the notification and will start shortly.
        * 
@@ -19693,8 +17158,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACKED_VALUE = 11; /** - * - * *
        * The instance exceeded the time out while applying the patch.
        * 
@@ -19703,8 +17166,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIMED_OUT_VALUE = 12; /** - * - * *
        * The instance is running the pre-patch step.
        * 
@@ -19713,8 +17174,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_PRE_PATCH_STEP_VALUE = 13; /** - * - * *
        * The instance is running the post-patch step.
        * 
@@ -19723,8 +17182,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_POST_PATCH_STEP_VALUE = 14; /** - * - * *
        * The service could not detect the presence of the agent. Check to ensure
        * that the agent is installed, running, and able to communicate with the
@@ -19735,6 +17192,7 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int NO_AGENT_DETECTED_VALUE = 15;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -19759,77 +17217,62 @@ public static PatchState valueOf(int value) {
        */
       public static PatchState forNumber(int value) {
         switch (value) {
-          case 0:
-            return PATCH_STATE_UNSPECIFIED;
-          case 1:
-            return PENDING;
-          case 2:
-            return INACTIVE;
-          case 3:
-            return NOTIFIED;
-          case 4:
-            return STARTED;
-          case 5:
-            return DOWNLOADING_PATCHES;
-          case 6:
-            return APPLYING_PATCHES;
-          case 7:
-            return REBOOTING;
-          case 8:
-            return SUCCEEDED;
-          case 9:
-            return SUCCEEDED_REBOOT_REQUIRED;
-          case 10:
-            return FAILED;
-          case 11:
-            return ACKED;
-          case 12:
-            return TIMED_OUT;
-          case 13:
-            return RUNNING_PRE_PATCH_STEP;
-          case 14:
-            return RUNNING_POST_PATCH_STEP;
-          case 15:
-            return NO_AGENT_DETECTED;
-          default:
-            return null;
-        }
-      }
-
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+          case 0: return PATCH_STATE_UNSPECIFIED;
+          case 1: return PENDING;
+          case 2: return INACTIVE;
+          case 3: return NOTIFIED;
+          case 4: return STARTED;
+          case 5: return DOWNLOADING_PATCHES;
+          case 6: return APPLYING_PATCHES;
+          case 7: return REBOOTING;
+          case 8: return SUCCEEDED;
+          case 9: return SUCCEEDED_REBOOT_REQUIRED;
+          case 10: return FAILED;
+          case 11: return ACKED;
+          case 12: return TIMED_OUT;
+          case 13: return RUNNING_PRE_PATCH_STEP;
+          case 14: return RUNNING_POST_PATCH_STEP;
+          case 15: return NO_AGENT_DETECTED;
+          default: return null;
+        }
+      }
+
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          PatchState> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public PatchState findValueByNumber(int number) {
+                return PatchState.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public PatchState findValueByNumber(int number) {
-              return PatchState.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs.Instance.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs.Instance.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final PatchState[] VALUES = values();
 
-      public static PatchState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static PatchState valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -19847,7 +17290,6 @@ private PatchState(int value) {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -19859,7 +17301,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       unknownFields.writeTo(output);
     }
 
@@ -19877,13 +17320,12 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.Instance)) {
         return super.equals(obj);
       }
-      com.google.cloud.osconfig.v1.PatchJobs.Instance other =
-          (com.google.cloud.osconfig.v1.PatchJobs.Instance) obj;
+      com.google.cloud.osconfig.v1.PatchJobs.Instance other = (com.google.cloud.osconfig.v1.PatchJobs.Instance) obj;
 
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -19902,93 +17344,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1.PatchJobs.Instance 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.osconfig.v1.PatchJobs.Instance parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.Instance prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -19998,32 +17434,27 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Namespace for instance state enums.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.Instance} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Instance) com.google.cloud.osconfig.v1.PatchJobs.InstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_Instance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_Instance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_Instance_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.Instance.class, - com.google.cloud.osconfig.v1.PatchJobs.Instance.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.Instance.class, com.google.cloud.osconfig.v1.PatchJobs.Instance.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.Instance.newBuilder() @@ -20031,15 +17462,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -20047,9 +17479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_Instance_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_Instance_descriptor; } @java.lang.Override @@ -20068,8 +17500,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.Instance build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.Instance buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.Instance result = - new com.google.cloud.osconfig.v1.PatchJobs.Instance(this); + com.google.cloud.osconfig.v1.PatchJobs.Instance result = new com.google.cloud.osconfig.v1.PatchJobs.Instance(this); onBuilt(); return result; } @@ -20078,41 +17509,38 @@ public com.google.cloud.osconfig.v1.PatchJobs.Instance buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.Instance) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.Instance) other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.Instance)other); } else { super.mergeFrom(other); return this; @@ -20120,8 +17548,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.Instance other) { - if (other == com.google.cloud.osconfig.v1.PatchJobs.Instance.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.PatchJobs.Instance.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -20141,8 +17568,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchJobs.Instance) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.Instance) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -20151,7 +17577,6 @@ public Builder mergeFrom( } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -20164,12 +17589,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Instance) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Instance) private static final com.google.cloud.osconfig.v1.PatchJobs.Instance DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.Instance(); } @@ -20178,16 +17603,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.Instance getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Instance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Instance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Instance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Instance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -20202,76 +17627,65 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface CancelPatchJobRequestOrBuilder - extends + public interface CancelPatchJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.CancelPatchJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * Message for canceling a patch job.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.CancelPatchJobRequest} */ - public static final class CancelPatchJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CancelPatchJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.CancelPatchJobRequest) CancelPatchJobRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CancelPatchJobRequest.newBuilder() to construct. private CancelPatchJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CancelPatchJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CancelPatchJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CancelPatchJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -20290,20 +17704,19 @@ private CancelPatchJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -20311,41 +17724,34 @@ private CancelPatchJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.class, - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.class, com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -20354,31 +17760,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -20387,7 +17791,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -20399,7 +17802,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -20423,15 +17827,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest other = - (com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest) obj; + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest other = (com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -20451,94 +17855,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest 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.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -20548,32 +17945,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Message for canceling a patch job.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.CancelPatchJobRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.CancelPatchJobRequest) com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.class, - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.class, com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.newBuilder() @@ -20581,15 +17973,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -20599,14 +17992,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.getDefaultInstance(); } @@ -20621,8 +18013,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest result = - new com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest(this); + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest result = new com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -20632,41 +18023,38 @@ public com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.CancelPatchJobRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest)other); } else { super.mergeFrom(other); return this; @@ -20674,9 +18062,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest other) { - if (other - == com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -20700,9 +18086,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -20714,22 +18098,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -20738,23 +18118,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -20762,72 +18139,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -20840,32 +18203,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.CancelPatchJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.CancelPatchJobRequest) - private static final com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest(); } - public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelPatchJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelPatchJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelPatchJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelPatchJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -20877,98 +18238,79 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AptSettingsOrBuilder - extends + public interface AptSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.AptSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * By changing the type to DIST, the patching is performed
      * using `apt-get dist-upgrade` instead.
      * 
* * .google.cloud.osconfig.v1.AptSettings.Type type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * By changing the type to DIST, the patching is performed
      * using `apt-get dist-upgrade` instead.
      * 
* * .google.cloud.osconfig.v1.AptSettings.Type type = 1; - * * @return The type. */ com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type getType(); /** - * - * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; - * * @return A list containing the excludes. */ - java.util.List getExcludesList(); + java.util.List + getExcludesList(); /** - * - * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; - * * @return The count of excludes. */ int getExcludesCount(); /** - * - * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; - * * @param index The index of the element to return. * @return The excludes at the given index. */ java.lang.String getExcludes(int index); /** - * - * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - com.google.protobuf.ByteString getExcludesBytes(int index); + com.google.protobuf.ByteString + getExcludesBytes(int index); /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -20977,13 +18319,11 @@ public interface AptSettingsOrBuilder
      * 
* * repeated string exclusive_packages = 3; - * * @return A list containing the exclusivePackages. */ - java.util.List getExclusivePackagesList(); + java.util.List + getExclusivePackagesList(); /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -20992,13 +18332,10 @@ public interface AptSettingsOrBuilder
      * 
* * repeated string exclusive_packages = 3; - * * @return The count of exclusivePackages. */ int getExclusivePackagesCount(); /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -21007,14 +18344,11 @@ public interface AptSettingsOrBuilder
      * 
* * repeated string exclusive_packages = 3; - * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ java.lang.String getExclusivePackages(int index); /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -21023,15 +18357,13 @@ public interface AptSettingsOrBuilder
      * 
* * repeated string exclusive_packages = 3; - * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - com.google.protobuf.ByteString getExclusivePackagesBytes(int index); + com.google.protobuf.ByteString + getExclusivePackagesBytes(int index); } /** - * - * *
    * Apt patching is completed by executing `apt-get update && apt-get
    * upgrade`. Additional options can be set to control how this is executed.
@@ -21039,16 +18371,15 @@ public interface AptSettingsOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1.AptSettings}
    */
-  public static final class AptSettings extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class AptSettings extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.AptSettings)
       AptSettingsOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use AptSettings.newBuilder() to construct.
     private AptSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private AptSettings() {
       type_ = 0;
       excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -21057,15 +18388,16 @@ private AptSettings() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new AptSettings();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private AptSettings(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -21085,40 +18417,37 @@ private AptSettings(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
+              int rawValue = input.readEnum();
 
-                type_ = rawValue;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  excludes_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                excludes_.add(s);
-                break;
+              type_ = rawValue;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                excludes_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  exclusivePackages_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                exclusivePackages_.add(s);
-                break;
+              excludes_.add(s);
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                exclusivePackages_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              exclusivePackages_.add(s);
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -21126,7 +18455,8 @@ private AptSettings(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           excludes_ = excludes_.getUnmodifiableView();
@@ -21138,35 +18468,29 @@ private AptSettings(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchJobs
-          .internal_static_google_cloud_osconfig_v1_AptSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_AptSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchJobs
-          .internal_static_google_cloud_osconfig_v1_AptSettings_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_AptSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchJobs.AptSettings.class,
-              com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder.class);
+              com.google.cloud.osconfig.v1.PatchJobs.AptSettings.class, com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * Apt patch type.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1.AptSettings.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * By default, upgrade will be performed.
        * 
@@ -21175,8 +18499,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
        * Runs `apt-get dist-upgrade`.
        * 
@@ -21185,8 +18507,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DIST(1), /** - * - * *
        * Runs `apt-get upgrade`.
        * 
@@ -21198,8 +18518,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * By default, upgrade will be performed.
        * 
@@ -21208,8 +18526,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Runs `apt-get dist-upgrade`.
        * 
@@ -21218,8 +18534,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DIST_VALUE = 1; /** - * - * *
        * Runs `apt-get upgrade`.
        * 
@@ -21228,6 +18542,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPGRADE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -21252,51 +18567,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return DIST; - case 2: - return UPGRADE; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return DIST; + case 2: return UPGRADE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -21316,82 +18629,63 @@ private Type(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - * - * *
      * By changing the type to DIST, the patching is performed
      * using `apt-get dist-upgrade` instead.
      * 
* * .google.cloud.osconfig.v1.AptSettings.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * By changing the type to DIST, the patching is performed
      * using `apt-get dist-upgrade` instead.
      * 
* * .google.cloud.osconfig.v1.AptSettings.Type type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type getType() { + @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type result = - com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.valueOf(type_); - return result == null - ? com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type result = com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.valueOf(type_); + return result == null ? com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.UNRECOGNIZED : result; } public static final int EXCLUDES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList excludes_; /** - * - * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; - * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList getExcludesList() { + public com.google.protobuf.ProtocolStringList + getExcludesList() { return excludes_; } - /** - * - * + /** *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; - * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** - * - * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; - * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -21399,26 +18693,22 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** - * - * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString getExcludesBytes(int index) { + public com.google.protobuf.ByteString + getExcludesBytes(int index) { return excludes_.getByteString(index); } public static final int EXCLUSIVE_PACKAGES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList exclusivePackages_; /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -21427,15 +18717,13 @@ public com.google.protobuf.ByteString getExcludesBytes(int index) {
      * 
* * repeated string exclusive_packages = 3; - * * @return A list containing the exclusivePackages. */ - public com.google.protobuf.ProtocolStringList getExclusivePackagesList() { + public com.google.protobuf.ProtocolStringList + getExclusivePackagesList() { return exclusivePackages_; } /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -21444,15 +18732,12 @@ public com.google.protobuf.ProtocolStringList getExclusivePackagesList() {
      * 
* * repeated string exclusive_packages = 3; - * * @return The count of exclusivePackages. */ public int getExclusivePackagesCount() { return exclusivePackages_.size(); } /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -21461,7 +18746,6 @@ public int getExclusivePackagesCount() {
      * 
* * repeated string exclusive_packages = 3; - * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ @@ -21469,8 +18753,6 @@ public java.lang.String getExclusivePackages(int index) { return exclusivePackages_.get(index); } /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -21479,16 +18761,15 @@ public java.lang.String getExclusivePackages(int index) {
      * 
* * repeated string exclusive_packages = 3; - * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) { + public com.google.protobuf.ByteString + getExclusivePackagesBytes(int index) { return exclusivePackages_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -21500,9 +18781,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } for (int i = 0; i < excludes_.size(); i++) { @@ -21520,9 +18801,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } { int dataSize = 0; @@ -21548,17 +18829,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.AptSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.AptSettings other = - (com.google.cloud.osconfig.v1.PatchJobs.AptSettings) obj; + com.google.cloud.osconfig.v1.PatchJobs.AptSettings other = (com.google.cloud.osconfig.v1.PatchJobs.AptSettings) obj; if (type_ != other.type_) return false; - if (!getExcludesList().equals(other.getExcludesList())) return false; - if (!getExclusivePackagesList().equals(other.getExclusivePackagesList())) return false; + if (!getExcludesList() + .equals(other.getExcludesList())) return false; + if (!getExclusivePackagesList() + .equals(other.getExclusivePackagesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -21586,93 +18868,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings 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.osconfig.v1.PatchJobs.AptSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.AptSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -21682,8 +18958,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Apt patching is completed by executing `apt-get update && apt-get
      * upgrade`. Additional options can be set to control how this is executed.
@@ -21691,24 +18965,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.AptSettings}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.AptSettings)
         com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_AptSettings_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_AptSettings_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_AptSettings_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_AptSettings_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.AptSettings.class,
-                com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.AptSettings.class, com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchJobs.AptSettings.newBuilder()
@@ -21716,15 +18987,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -21738,9 +19010,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_AptSettings_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_AptSettings_descriptor;
       }
 
       @java.lang.Override
@@ -21759,8 +19031,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.AptSettings build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchJobs.AptSettings buildPartial() {
-        com.google.cloud.osconfig.v1.PatchJobs.AptSettings result =
-            new com.google.cloud.osconfig.v1.PatchJobs.AptSettings(this);
+        com.google.cloud.osconfig.v1.PatchJobs.AptSettings result = new com.google.cloud.osconfig.v1.PatchJobs.AptSettings(this);
         int from_bitField0_ = bitField0_;
         result.type_ = type_;
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -21781,41 +19052,38 @@ public com.google.cloud.osconfig.v1.PatchJobs.AptSettings buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchJobs.AptSettings) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.AptSettings) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.AptSettings)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -21823,8 +19091,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.AptSettings other) {
-        if (other == com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDefaultInstance()) return this;
         if (other.type_ != 0) {
           setTypeValue(other.getTypeValue());
         }
@@ -21867,8 +19134,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.PatchJobs.AptSettings) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.AptSettings) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -21877,76 +19143,59 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private int type_ = 0;
       /**
-       *
-       *
        * 
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1.AptSettings.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1.AptSettings.Type type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1.AptSettings.Type type = 1; - * * @return The type. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type result = - com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.valueOf(type_); - return result == null - ? com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type result = com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.valueOf(type_); + return result == null ? com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.UNRECOGNIZED : result; } /** - * - * *
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1.AptSettings.Type type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -21954,76 +19203,63 @@ public Builder setType(com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type v if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1.AptSettings.Type type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList excludes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExcludesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { excludes_ = new com.google.protobuf.LazyStringArrayList(excludes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; - * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList getExcludesList() { + public com.google.protobuf.ProtocolStringList + getExcludesList() { return excludes_.getUnmodifiableView(); } /** - * - * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; - * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** - * - * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; - * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -22031,90 +19267,80 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** - * - * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString getExcludesBytes(int index) { + public com.google.protobuf.ByteString + getExcludesBytes(int index) { return excludes_.getByteString(index); } /** - * - * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; - * * @param index The index to set the value at. * @param value The excludes to set. * @return This builder for chaining. */ - public Builder setExcludes(int index, java.lang.String value) { + public Builder setExcludes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.set(index, value); onChanged(); return this; } /** - * - * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; - * * @param value The excludes to add. * @return This builder for chaining. */ - public Builder addExcludes(java.lang.String value) { + public Builder addExcludes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } /** - * - * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; - * * @param values The excludes to add. * @return This builder for chaining. */ - public Builder addAllExcludes(java.lang.Iterable values) { + public Builder addAllExcludes( + java.lang.Iterable values) { ensureExcludesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, excludes_); onChanged(); return this; } /** - * - * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; - * * @return This builder for chaining. */ public Builder clearExcludes() { @@ -22124,40 +19350,34 @@ public Builder clearExcludes() { return this; } /** - * - * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; - * * @param value The bytes of the excludes to add. * @return This builder for chaining. */ - public Builder addExcludesBytes(com.google.protobuf.ByteString value) { + public Builder addExcludesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList exclusivePackages_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList exclusivePackages_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExclusivePackagesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { exclusivePackages_ = new com.google.protobuf.LazyStringArrayList(exclusivePackages_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -22166,15 +19386,13 @@ private void ensureExclusivePackagesIsMutable() {
        * 
* * repeated string exclusive_packages = 3; - * * @return A list containing the exclusivePackages. */ - public com.google.protobuf.ProtocolStringList getExclusivePackagesList() { + public com.google.protobuf.ProtocolStringList + getExclusivePackagesList() { return exclusivePackages_.getUnmodifiableView(); } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -22183,15 +19401,12 @@ public com.google.protobuf.ProtocolStringList getExclusivePackagesList() {
        * 
* * repeated string exclusive_packages = 3; - * * @return The count of exclusivePackages. */ public int getExclusivePackagesCount() { return exclusivePackages_.size(); } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -22200,7 +19415,6 @@ public int getExclusivePackagesCount() {
        * 
* * repeated string exclusive_packages = 3; - * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ @@ -22208,8 +19422,6 @@ public java.lang.String getExclusivePackages(int index) { return exclusivePackages_.get(index); } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -22218,16 +19430,14 @@ public java.lang.String getExclusivePackages(int index) {
        * 
* * repeated string exclusive_packages = 3; - * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) { + public com.google.protobuf.ByteString + getExclusivePackagesBytes(int index) { return exclusivePackages_.getByteString(index); } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -22236,23 +19446,21 @@ public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) {
        * 
* * repeated string exclusive_packages = 3; - * * @param index The index to set the value at. * @param value The exclusivePackages to set. * @return This builder for chaining. */ - public Builder setExclusivePackages(int index, java.lang.String value) { + public Builder setExclusivePackages( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePackagesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePackagesIsMutable(); exclusivePackages_.set(index, value); onChanged(); return this; } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -22261,22 +19469,20 @@ public Builder setExclusivePackages(int index, java.lang.String value) {
        * 
* * repeated string exclusive_packages = 3; - * * @param value The exclusivePackages to add. * @return This builder for chaining. */ - public Builder addExclusivePackages(java.lang.String value) { + public Builder addExclusivePackages( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePackagesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePackagesIsMutable(); exclusivePackages_.add(value); onChanged(); return this; } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -22285,19 +19491,18 @@ public Builder addExclusivePackages(java.lang.String value) {
        * 
* * repeated string exclusive_packages = 3; - * * @param values The exclusivePackages to add. * @return This builder for chaining. */ - public Builder addAllExclusivePackages(java.lang.Iterable values) { + public Builder addAllExclusivePackages( + java.lang.Iterable values) { ensureExclusivePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusivePackages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, exclusivePackages_); onChanged(); return this; } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -22306,7 +19511,6 @@ public Builder addAllExclusivePackages(java.lang.Iterable valu
        * 
* * repeated string exclusive_packages = 3; - * * @return This builder for chaining. */ public Builder clearExclusivePackages() { @@ -22316,8 +19520,6 @@ public Builder clearExclusivePackages() { return this; } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -22326,21 +19528,20 @@ public Builder clearExclusivePackages() {
        * 
* * repeated string exclusive_packages = 3; - * * @param value The bytes of the exclusivePackages to add. * @return This builder for chaining. */ - public Builder addExclusivePackagesBytes(com.google.protobuf.ByteString value) { + public Builder addExclusivePackagesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExclusivePackagesIsMutable(); exclusivePackages_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -22353,12 +19554,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.AptSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.AptSettings) private static final com.google.cloud.osconfig.v1.PatchJobs.AptSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.AptSettings(); } @@ -22367,16 +19568,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -22391,98 +19592,80 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.AptSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface YumSettingsOrBuilder - extends + public interface YumSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.YumSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Adds the `--security` flag to `yum update`. Not supported on
      * all platforms.
      * 
* * bool security = 1; - * * @return The security. */ boolean getSecurity(); /** - * - * *
      * Will cause patch to run `yum update-minimal` instead.
      * 
* * bool minimal = 2; - * * @return The minimal. */ boolean getMinimal(); /** - * - * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; - * * @return A list containing the excludes. */ - java.util.List getExcludesList(); + java.util.List + getExcludesList(); /** - * - * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; - * * @return The count of excludes. */ int getExcludesCount(); /** - * - * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; - * * @param index The index of the element to return. * @return The excludes at the given index. */ java.lang.String getExcludes(int index); /** - * - * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - com.google.protobuf.ByteString getExcludesBytes(int index); + com.google.protobuf.ByteString + getExcludesBytes(int index); /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -22491,13 +19674,11 @@ public interface YumSettingsOrBuilder
      * 
* * repeated string exclusive_packages = 4; - * * @return A list containing the exclusivePackages. */ - java.util.List getExclusivePackagesList(); + java.util.List + getExclusivePackagesList(); /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -22506,13 +19687,10 @@ public interface YumSettingsOrBuilder
      * 
* * repeated string exclusive_packages = 4; - * * @return The count of exclusivePackages. */ int getExclusivePackagesCount(); /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -22521,14 +19699,11 @@ public interface YumSettingsOrBuilder
      * 
* * repeated string exclusive_packages = 4; - * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ java.lang.String getExclusivePackages(int index); /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -22537,15 +19712,13 @@ public interface YumSettingsOrBuilder
      * 
* * repeated string exclusive_packages = 4; - * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - com.google.protobuf.ByteString getExclusivePackagesBytes(int index); + com.google.protobuf.ByteString + getExclusivePackagesBytes(int index); } /** - * - * *
    * Yum patching is performed by executing `yum update`. Additional options
    * can be set to control how this is executed.
@@ -22554,16 +19727,15 @@ public interface YumSettingsOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1.YumSettings}
    */
-  public static final class YumSettings extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class YumSettings extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.YumSettings)
       YumSettingsOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use YumSettings.newBuilder() to construct.
     private YumSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private YumSettings() {
       excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       exclusivePackages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -22571,15 +19743,16 @@ private YumSettings() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new YumSettings();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private YumSettings(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -22599,43 +19772,41 @@ private YumSettings(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                security_ = input.readBool();
-                break;
-              }
-            case 16:
-              {
-                minimal_ = input.readBool();
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  excludes_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                excludes_.add(s);
-                break;
+            case 8: {
+
+              security_ = input.readBool();
+              break;
+            }
+            case 16: {
+
+              minimal_ = input.readBool();
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                excludes_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  exclusivePackages_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                exclusivePackages_.add(s);
-                break;
+              excludes_.add(s);
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                exclusivePackages_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              exclusivePackages_.add(s);
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -22643,7 +19814,8 @@ private YumSettings(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           excludes_ = excludes_.getUnmodifiableView();
@@ -22655,34 +19827,28 @@ private YumSettings(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchJobs
-          .internal_static_google_cloud_osconfig_v1_YumSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_YumSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchJobs
-          .internal_static_google_cloud_osconfig_v1_YumSettings_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_YumSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchJobs.YumSettings.class,
-              com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder.class);
+              com.google.cloud.osconfig.v1.PatchJobs.YumSettings.class, com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder.class);
     }
 
     public static final int SECURITY_FIELD_NUMBER = 1;
     private boolean security_;
     /**
-     *
-     *
      * 
      * Adds the `--security` flag to `yum update`. Not supported on
      * all platforms.
      * 
* * bool security = 1; - * * @return The security. */ @java.lang.Override @@ -22693,14 +19859,11 @@ public boolean getSecurity() { public static final int MINIMAL_FIELD_NUMBER = 2; private boolean minimal_; /** - * - * *
      * Will cause patch to run `yum update-minimal` instead.
      * 
* * bool minimal = 2; - * * @return The minimal. */ @java.lang.Override @@ -22711,45 +19874,37 @@ public boolean getMinimal() { public static final int EXCLUDES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList excludes_; /** - * - * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; - * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList getExcludesList() { + public com.google.protobuf.ProtocolStringList + getExcludesList() { return excludes_; } /** - * - * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; - * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** - * - * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; - * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -22757,27 +19912,23 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** - * - * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString getExcludesBytes(int index) { + public com.google.protobuf.ByteString + getExcludesBytes(int index) { return excludes_.getByteString(index); } public static final int EXCLUSIVE_PACKAGES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList exclusivePackages_; /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -22786,15 +19937,13 @@ public com.google.protobuf.ByteString getExcludesBytes(int index) {
      * 
* * repeated string exclusive_packages = 4; - * * @return A list containing the exclusivePackages. */ - public com.google.protobuf.ProtocolStringList getExclusivePackagesList() { + public com.google.protobuf.ProtocolStringList + getExclusivePackagesList() { return exclusivePackages_; } /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -22803,15 +19952,12 @@ public com.google.protobuf.ProtocolStringList getExclusivePackagesList() {
      * 
* * repeated string exclusive_packages = 4; - * * @return The count of exclusivePackages. */ public int getExclusivePackagesCount() { return exclusivePackages_.size(); } /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -22820,7 +19966,6 @@ public int getExclusivePackagesCount() {
      * 
* * repeated string exclusive_packages = 4; - * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ @@ -22828,8 +19973,6 @@ public java.lang.String getExclusivePackages(int index) { return exclusivePackages_.get(index); } /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -22838,16 +19981,15 @@ public java.lang.String getExclusivePackages(int index) {
      * 
* * repeated string exclusive_packages = 4; - * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) { + public com.google.protobuf.ByteString + getExclusivePackagesBytes(int index) { return exclusivePackages_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -22859,7 +20001,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (security_ != false) { output.writeBool(1, security_); } @@ -22882,10 +20025,12 @@ public int getSerializedSize() { size = 0; if (security_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, security_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, security_); } if (minimal_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, minimal_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, minimal_); } { int dataSize = 0; @@ -22911,18 +20056,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.YumSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.YumSettings other = - (com.google.cloud.osconfig.v1.PatchJobs.YumSettings) obj; + com.google.cloud.osconfig.v1.PatchJobs.YumSettings other = (com.google.cloud.osconfig.v1.PatchJobs.YumSettings) obj; - if (getSecurity() != other.getSecurity()) return false; - if (getMinimal() != other.getMinimal()) return false; - if (!getExcludesList().equals(other.getExcludesList())) return false; - if (!getExclusivePackagesList().equals(other.getExclusivePackagesList())) return false; + if (getSecurity() + != other.getSecurity()) return false; + if (getMinimal() + != other.getMinimal()) return false; + if (!getExcludesList() + .equals(other.getExcludesList())) return false; + if (!getExclusivePackagesList() + .equals(other.getExclusivePackagesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -22935,9 +20083,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SECURITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSecurity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSecurity()); hash = (37 * hash) + MINIMAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getMinimal()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMinimal()); if (getExcludesCount() > 0) { hash = (37 * hash) + EXCLUDES_FIELD_NUMBER; hash = (53 * hash) + getExcludesList().hashCode(); @@ -22952,93 +20102,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings 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.osconfig.v1.PatchJobs.YumSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.YumSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -23048,8 +20192,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Yum patching is performed by executing `yum update`. Additional options
      * can be set to control how this is executed.
@@ -23058,24 +20200,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.YumSettings}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.YumSettings)
         com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_YumSettings_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_YumSettings_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_YumSettings_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_YumSettings_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.YumSettings.class,
-                com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.YumSettings.class, com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchJobs.YumSettings.newBuilder()
@@ -23083,15 +20222,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -23107,9 +20247,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_YumSettings_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_YumSettings_descriptor;
       }
 
       @java.lang.Override
@@ -23128,8 +20268,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.YumSettings build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchJobs.YumSettings buildPartial() {
-        com.google.cloud.osconfig.v1.PatchJobs.YumSettings result =
-            new com.google.cloud.osconfig.v1.PatchJobs.YumSettings(this);
+        com.google.cloud.osconfig.v1.PatchJobs.YumSettings result = new com.google.cloud.osconfig.v1.PatchJobs.YumSettings(this);
         int from_bitField0_ = bitField0_;
         result.security_ = security_;
         result.minimal_ = minimal_;
@@ -23151,41 +20290,38 @@ public com.google.cloud.osconfig.v1.PatchJobs.YumSettings buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchJobs.YumSettings) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.YumSettings) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.YumSettings)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -23193,8 +20329,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.YumSettings other) {
-        if (other == com.google.cloud.osconfig.v1.PatchJobs.YumSettings.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1.PatchJobs.YumSettings.getDefaultInstance()) return this;
         if (other.getSecurity() != false) {
           setSecurity(other.getSecurity());
         }
@@ -23240,8 +20375,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.PatchJobs.YumSettings) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.YumSettings) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -23250,20 +20384,16 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private boolean security_;
+      private boolean security_ ;
       /**
-       *
-       *
        * 
        * Adds the `--security` flag to `yum update`. Not supported on
        * all platforms.
        * 
* * bool security = 1; - * * @return The security. */ @java.lang.Override @@ -23271,53 +20401,44 @@ public boolean getSecurity() { return security_; } /** - * - * *
        * Adds the `--security` flag to `yum update`. Not supported on
        * all platforms.
        * 
* * bool security = 1; - * * @param value The security to set. * @return This builder for chaining. */ public Builder setSecurity(boolean value) { - + security_ = value; onChanged(); return this; } /** - * - * *
        * Adds the `--security` flag to `yum update`. Not supported on
        * all platforms.
        * 
* * bool security = 1; - * * @return This builder for chaining. */ public Builder clearSecurity() { - + security_ = false; onChanged(); return this; } - private boolean minimal_; + private boolean minimal_ ; /** - * - * *
        * Will cause patch to run `yum update-minimal` instead.
        * 
* * bool minimal = 2; - * * @return The minimal. */ @java.lang.Override @@ -23325,90 +20446,74 @@ public boolean getMinimal() { return minimal_; } /** - * - * *
        * Will cause patch to run `yum update-minimal` instead.
        * 
* * bool minimal = 2; - * * @param value The minimal to set. * @return This builder for chaining. */ public Builder setMinimal(boolean value) { - + minimal_ = value; onChanged(); return this; } /** - * - * *
        * Will cause patch to run `yum update-minimal` instead.
        * 
* * bool minimal = 2; - * * @return This builder for chaining. */ public Builder clearMinimal() { - + minimal_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList excludes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExcludesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { excludes_ = new com.google.protobuf.LazyStringArrayList(excludes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; - * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList getExcludesList() { + public com.google.protobuf.ProtocolStringList + getExcludesList() { return excludes_.getUnmodifiableView(); } /** - * - * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; - * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** - * - * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; - * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -23416,95 +20521,85 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** - * - * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString getExcludesBytes(int index) { + public com.google.protobuf.ByteString + getExcludesBytes(int index) { return excludes_.getByteString(index); } /** - * - * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; - * * @param index The index to set the value at. * @param value The excludes to set. * @return This builder for chaining. */ - public Builder setExcludes(int index, java.lang.String value) { + public Builder setExcludes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.set(index, value); onChanged(); return this; } /** - * - * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; - * * @param value The excludes to add. * @return This builder for chaining. */ - public Builder addExcludes(java.lang.String value) { + public Builder addExcludes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } /** - * - * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; - * * @param values The excludes to add. * @return This builder for chaining. */ - public Builder addAllExcludes(java.lang.Iterable values) { + public Builder addAllExcludes( + java.lang.Iterable values) { ensureExcludesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, excludes_); onChanged(); return this; } /** - * - * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; - * * @return This builder for chaining. */ public Builder clearExcludes() { @@ -23514,41 +20609,35 @@ public Builder clearExcludes() { return this; } /** - * - * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; - * * @param value The bytes of the excludes to add. * @return This builder for chaining. */ - public Builder addExcludesBytes(com.google.protobuf.ByteString value) { + public Builder addExcludesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList exclusivePackages_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList exclusivePackages_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExclusivePackagesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { exclusivePackages_ = new com.google.protobuf.LazyStringArrayList(exclusivePackages_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -23557,15 +20646,13 @@ private void ensureExclusivePackagesIsMutable() {
        * 
* * repeated string exclusive_packages = 4; - * * @return A list containing the exclusivePackages. */ - public com.google.protobuf.ProtocolStringList getExclusivePackagesList() { + public com.google.protobuf.ProtocolStringList + getExclusivePackagesList() { return exclusivePackages_.getUnmodifiableView(); } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -23574,15 +20661,12 @@ public com.google.protobuf.ProtocolStringList getExclusivePackagesList() {
        * 
* * repeated string exclusive_packages = 4; - * * @return The count of exclusivePackages. */ public int getExclusivePackagesCount() { return exclusivePackages_.size(); } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -23591,7 +20675,6 @@ public int getExclusivePackagesCount() {
        * 
* * repeated string exclusive_packages = 4; - * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ @@ -23599,8 +20682,6 @@ public java.lang.String getExclusivePackages(int index) { return exclusivePackages_.get(index); } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -23609,16 +20690,14 @@ public java.lang.String getExclusivePackages(int index) {
        * 
* * repeated string exclusive_packages = 4; - * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) { + public com.google.protobuf.ByteString + getExclusivePackagesBytes(int index) { return exclusivePackages_.getByteString(index); } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -23627,23 +20706,21 @@ public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) {
        * 
* * repeated string exclusive_packages = 4; - * * @param index The index to set the value at. * @param value The exclusivePackages to set. * @return This builder for chaining. */ - public Builder setExclusivePackages(int index, java.lang.String value) { + public Builder setExclusivePackages( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePackagesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePackagesIsMutable(); exclusivePackages_.set(index, value); onChanged(); return this; } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -23652,22 +20729,20 @@ public Builder setExclusivePackages(int index, java.lang.String value) {
        * 
* * repeated string exclusive_packages = 4; - * * @param value The exclusivePackages to add. * @return This builder for chaining. */ - public Builder addExclusivePackages(java.lang.String value) { + public Builder addExclusivePackages( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePackagesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePackagesIsMutable(); exclusivePackages_.add(value); onChanged(); return this; } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -23676,19 +20751,18 @@ public Builder addExclusivePackages(java.lang.String value) {
        * 
* * repeated string exclusive_packages = 4; - * * @param values The exclusivePackages to add. * @return This builder for chaining. */ - public Builder addAllExclusivePackages(java.lang.Iterable values) { + public Builder addAllExclusivePackages( + java.lang.Iterable values) { ensureExclusivePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusivePackages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, exclusivePackages_); onChanged(); return this; } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -23697,7 +20771,6 @@ public Builder addAllExclusivePackages(java.lang.Iterable valu
        * 
* * repeated string exclusive_packages = 4; - * * @return This builder for chaining. */ public Builder clearExclusivePackages() { @@ -23707,8 +20780,6 @@ public Builder clearExclusivePackages() { return this; } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -23717,21 +20788,20 @@ public Builder clearExclusivePackages() {
        * 
* * repeated string exclusive_packages = 4; - * * @param value The bytes of the exclusivePackages to add. * @return This builder for chaining. */ - public Builder addExclusivePackagesBytes(com.google.protobuf.ByteString value) { + public Builder addExclusivePackagesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExclusivePackagesIsMutable(); exclusivePackages_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -23744,12 +20814,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.YumSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.YumSettings) private static final com.google.cloud.osconfig.v1.PatchJobs.YumSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.YumSettings(); } @@ -23758,16 +20828,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -23782,44 +20852,44 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.YumSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GooSettingsOrBuilder - extends + public interface GooSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.GooSettings) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Googet patching is performed by running `googet update`.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.GooSettings} */ - public static final class GooSettings extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GooSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.GooSettings) GooSettingsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GooSettings.newBuilder() to construct. private GooSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private GooSettings() {} + private GooSettings() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GooSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GooSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -23838,13 +20908,13 @@ private GooSettings( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -23852,30 +20922,27 @@ private GooSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_GooSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GooSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_GooSettings_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GooSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.GooSettings.class, - com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.GooSettings.class, com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -23887,7 +20954,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -23905,13 +20973,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.GooSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.GooSettings other = - (com.google.cloud.osconfig.v1.PatchJobs.GooSettings) obj; + com.google.cloud.osconfig.v1.PatchJobs.GooSettings other = (com.google.cloud.osconfig.v1.PatchJobs.GooSettings) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -23930,93 +20997,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings 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.osconfig.v1.PatchJobs.GooSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.GooSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -24026,32 +21087,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Googet patching is performed by running `googet update`.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.GooSettings} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.GooSettings) com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_GooSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GooSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_GooSettings_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GooSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.GooSettings.class, - com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.GooSettings.class, com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.GooSettings.newBuilder() @@ -24059,15 +21115,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -24075,9 +21132,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_GooSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GooSettings_descriptor; } @java.lang.Override @@ -24096,8 +21153,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.GooSettings build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.GooSettings buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.GooSettings result = - new com.google.cloud.osconfig.v1.PatchJobs.GooSettings(this); + com.google.cloud.osconfig.v1.PatchJobs.GooSettings result = new com.google.cloud.osconfig.v1.PatchJobs.GooSettings(this); onBuilt(); return result; } @@ -24106,41 +21162,38 @@ public com.google.cloud.osconfig.v1.PatchJobs.GooSettings buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.GooSettings) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.GooSettings) other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.GooSettings)other); } else { super.mergeFrom(other); return this; @@ -24148,8 +21201,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.GooSettings other) { - if (other == com.google.cloud.osconfig.v1.PatchJobs.GooSettings.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.PatchJobs.GooSettings.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -24169,8 +21221,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchJobs.GooSettings) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.GooSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -24179,7 +21230,6 @@ public Builder mergeFrom( } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -24192,12 +21242,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.GooSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.GooSettings) private static final com.google.cloud.osconfig.v1.PatchJobs.GooSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.GooSettings(); } @@ -24206,16 +21256,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GooSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GooSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GooSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GooSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -24230,203 +21280,165 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.GooSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ZypperSettingsOrBuilder - extends + public interface ZypperSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ZypperSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Adds the `--with-optional` flag to `zypper patch`.
      * 
* * bool with_optional = 1; - * * @return The withOptional. */ boolean getWithOptional(); /** - * - * *
      * Adds the `--with-update` flag, to `zypper patch`.
      * 
* * bool with_update = 2; - * * @return The withUpdate. */ boolean getWithUpdate(); /** - * - * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; - * * @return A list containing the categories. */ - java.util.List getCategoriesList(); - /** - * - * + java.util.List + getCategoriesList(); + /** *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; - * * @return The count of categories. */ int getCategoriesCount(); /** - * - * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; - * * @param index The index of the element to return. * @return The categories at the given index. */ java.lang.String getCategories(int index); /** - * - * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; - * * @param index The index of the value to return. * @return The bytes of the categories at the given index. */ - com.google.protobuf.ByteString getCategoriesBytes(int index); + com.google.protobuf.ByteString + getCategoriesBytes(int index); /** - * - * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; - * * @return A list containing the severities. */ - java.util.List getSeveritiesList(); + java.util.List + getSeveritiesList(); /** - * - * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; - * * @return The count of severities. */ int getSeveritiesCount(); /** - * - * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; - * * @param index The index of the element to return. * @return The severities at the given index. */ java.lang.String getSeverities(int index); /** - * - * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; - * * @param index The index of the value to return. * @return The bytes of the severities at the given index. */ - com.google.protobuf.ByteString getSeveritiesBytes(int index); + com.google.protobuf.ByteString + getSeveritiesBytes(int index); /** - * - * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; - * * @return A list containing the excludes. */ - java.util.List getExcludesList(); + java.util.List + getExcludesList(); /** - * - * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; - * * @return The count of excludes. */ int getExcludesCount(); /** - * - * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; - * * @param index The index of the element to return. * @return The excludes at the given index. */ java.lang.String getExcludes(int index); /** - * - * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - com.google.protobuf.ByteString getExcludesBytes(int index); + com.google.protobuf.ByteString + getExcludesBytes(int index); /** - * - * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -24434,13 +21446,11 @@ public interface ZypperSettingsOrBuilder
      * 
* * repeated string exclusive_patches = 6; - * * @return A list containing the exclusivePatches. */ - java.util.List getExclusivePatchesList(); + java.util.List + getExclusivePatchesList(); /** - * - * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -24448,13 +21458,10 @@ public interface ZypperSettingsOrBuilder
      * 
* * repeated string exclusive_patches = 6; - * * @return The count of exclusivePatches. */ int getExclusivePatchesCount(); /** - * - * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -24462,14 +21469,11 @@ public interface ZypperSettingsOrBuilder
      * 
* * repeated string exclusive_patches = 6; - * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ java.lang.String getExclusivePatches(int index); /** - * - * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -24477,15 +21481,13 @@ public interface ZypperSettingsOrBuilder
      * 
* * repeated string exclusive_patches = 6; - * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - com.google.protobuf.ByteString getExclusivePatchesBytes(int index); + com.google.protobuf.ByteString + getExclusivePatchesBytes(int index); } /** - * - * *
    * Zypper patching is performed by running `zypper patch`.
    * See also https://en.opensuse.org/SDB:Zypper_manual.
@@ -24493,16 +21495,15 @@ public interface ZypperSettingsOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1.ZypperSettings}
    */
-  public static final class ZypperSettings extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ZypperSettings extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ZypperSettings)
       ZypperSettingsOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ZypperSettings.newBuilder() to construct.
     private ZypperSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ZypperSettings() {
       categories_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       severities_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -24512,15 +21513,16 @@ private ZypperSettings() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ZypperSettings();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private ZypperSettings(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -24540,63 +21542,59 @@ private ZypperSettings(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                withOptional_ = input.readBool();
-                break;
-              }
-            case 16:
-              {
-                withUpdate_ = input.readBool();
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  categories_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                categories_.add(s);
-                break;
+            case 8: {
+
+              withOptional_ = input.readBool();
+              break;
+            }
+            case 16: {
+
+              withUpdate_ = input.readBool();
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                categories_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  severities_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                severities_.add(s);
-                break;
+              categories_.add(s);
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                severities_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                  excludes_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000004;
-                }
-                excludes_.add(s);
-                break;
+              severities_.add(s);
+              break;
+            }
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                excludes_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000004;
               }
-            case 50:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-                  exclusivePatches_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000008;
-                }
-                exclusivePatches_.add(s);
-                break;
+              excludes_.add(s);
+              break;
+            }
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+                exclusivePatches_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000008;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              exclusivePatches_.add(s);
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -24604,7 +21602,8 @@ private ZypperSettings(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           categories_ = categories_.getUnmodifiableView();
@@ -24622,33 +21621,27 @@ private ZypperSettings(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchJobs
-          .internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchJobs
-          .internal_static_google_cloud_osconfig_v1_ZypperSettings_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ZypperSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.class,
-              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder.class);
+              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.class, com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder.class);
     }
 
     public static final int WITH_OPTIONAL_FIELD_NUMBER = 1;
     private boolean withOptional_;
     /**
-     *
-     *
      * 
      * Adds the `--with-optional` flag to `zypper patch`.
      * 
* * bool with_optional = 1; - * * @return The withOptional. */ @java.lang.Override @@ -24659,14 +21652,11 @@ public boolean getWithOptional() { public static final int WITH_UPDATE_FIELD_NUMBER = 2; private boolean withUpdate_; /** - * - * *
      * Adds the `--with-update` flag, to `zypper patch`.
      * 
* * bool with_update = 2; - * * @return The withUpdate. */ @java.lang.Override @@ -24677,45 +21667,37 @@ public boolean getWithUpdate() { public static final int CATEGORIES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList categories_; /** - * - * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; - * * @return A list containing the categories. */ - public com.google.protobuf.ProtocolStringList getCategoriesList() { + public com.google.protobuf.ProtocolStringList + getCategoriesList() { return categories_; } /** - * - * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; - * * @return The count of categories. */ public int getCategoriesCount() { return categories_.size(); } /** - * - * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; - * * @param index The index of the element to return. * @return The categories at the given index. */ @@ -24723,64 +21705,54 @@ public java.lang.String getCategories(int index) { return categories_.get(index); } /** - * - * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; - * * @param index The index of the value to return. * @return The bytes of the categories at the given index. */ - public com.google.protobuf.ByteString getCategoriesBytes(int index) { + public com.google.protobuf.ByteString + getCategoriesBytes(int index) { return categories_.getByteString(index); } public static final int SEVERITIES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList severities_; /** - * - * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; - * * @return A list containing the severities. */ - public com.google.protobuf.ProtocolStringList getSeveritiesList() { + public com.google.protobuf.ProtocolStringList + getSeveritiesList() { return severities_; } /** - * - * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; - * * @return The count of severities. */ public int getSeveritiesCount() { return severities_.size(); } /** - * - * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; - * * @param index The index of the element to return. * @return The severities at the given index. */ @@ -24788,61 +21760,51 @@ public java.lang.String getSeverities(int index) { return severities_.get(index); } /** - * - * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; - * * @param index The index of the value to return. * @return The bytes of the severities at the given index. */ - public com.google.protobuf.ByteString getSeveritiesBytes(int index) { + public com.google.protobuf.ByteString + getSeveritiesBytes(int index) { return severities_.getByteString(index); } public static final int EXCLUDES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList excludes_; /** - * - * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; - * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList getExcludesList() { + public com.google.protobuf.ProtocolStringList + getExcludesList() { return excludes_; } /** - * - * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; - * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** - * - * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; - * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -24850,26 +21812,22 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** - * - * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString getExcludesBytes(int index) { + public com.google.protobuf.ByteString + getExcludesBytes(int index) { return excludes_.getByteString(index); } public static final int EXCLUSIVE_PATCHES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList exclusivePatches_; /** - * - * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -24877,15 +21835,13 @@ public com.google.protobuf.ByteString getExcludesBytes(int index) {
      * 
* * repeated string exclusive_patches = 6; - * * @return A list containing the exclusivePatches. */ - public com.google.protobuf.ProtocolStringList getExclusivePatchesList() { + public com.google.protobuf.ProtocolStringList + getExclusivePatchesList() { return exclusivePatches_; } /** - * - * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -24893,15 +21849,12 @@ public com.google.protobuf.ProtocolStringList getExclusivePatchesList() {
      * 
* * repeated string exclusive_patches = 6; - * * @return The count of exclusivePatches. */ public int getExclusivePatchesCount() { return exclusivePatches_.size(); } /** - * - * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -24909,7 +21862,6 @@ public int getExclusivePatchesCount() {
      * 
* * repeated string exclusive_patches = 6; - * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ @@ -24917,8 +21869,6 @@ public java.lang.String getExclusivePatches(int index) { return exclusivePatches_.get(index); } /** - * - * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -24926,16 +21876,15 @@ public java.lang.String getExclusivePatches(int index) {
      * 
* * repeated string exclusive_patches = 6; - * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) { + public com.google.protobuf.ByteString + getExclusivePatchesBytes(int index) { return exclusivePatches_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -24947,7 +21896,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (withOptional_ != false) { output.writeBool(1, withOptional_); } @@ -24976,10 +21926,12 @@ public int getSerializedSize() { size = 0; if (withOptional_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, withOptional_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, withOptional_); } if (withUpdate_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, withUpdate_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, withUpdate_); } { int dataSize = 0; @@ -25021,20 +21973,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings other = - (com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings) obj; - - if (getWithOptional() != other.getWithOptional()) return false; - if (getWithUpdate() != other.getWithUpdate()) return false; - if (!getCategoriesList().equals(other.getCategoriesList())) return false; - if (!getSeveritiesList().equals(other.getSeveritiesList())) return false; - if (!getExcludesList().equals(other.getExcludesList())) return false; - if (!getExclusivePatchesList().equals(other.getExclusivePatchesList())) return false; + com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings other = (com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings) obj; + + if (getWithOptional() + != other.getWithOptional()) return false; + if (getWithUpdate() + != other.getWithUpdate()) return false; + if (!getCategoriesList() + .equals(other.getCategoriesList())) return false; + if (!getSeveritiesList() + .equals(other.getSeveritiesList())) return false; + if (!getExcludesList() + .equals(other.getExcludesList())) return false; + if (!getExclusivePatchesList() + .equals(other.getExclusivePatchesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -25047,9 +22004,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + WITH_OPTIONAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getWithOptional()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getWithOptional()); hash = (37 * hash) + WITH_UPDATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getWithUpdate()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getWithUpdate()); if (getCategoriesCount() > 0) { hash = (37 * hash) + CATEGORIES_FIELD_NUMBER; hash = (53 * hash) + getCategoriesList().hashCode(); @@ -25072,94 +22031,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings 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.osconfig.v1.PatchJobs.ZypperSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -25169,8 +22121,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Zypper patching is performed by running `zypper patch`.
      * See also https://en.opensuse.org/SDB:Zypper_manual.
@@ -25178,24 +22128,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.ZypperSettings}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ZypperSettings)
         com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_ZypperSettings_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ZypperSettings_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.class,
-                com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.class, com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.newBuilder()
@@ -25203,15 +22150,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -25231,9 +22179,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor;
       }
 
       @java.lang.Override
@@ -25252,8 +22200,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings buildPartial() {
-        com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings result =
-            new com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings(this);
+        com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings result = new com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings(this);
         int from_bitField0_ = bitField0_;
         result.withOptional_ = withOptional_;
         result.withUpdate_ = withUpdate_;
@@ -25285,41 +22232,38 @@ public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchJobs.ZypperSettings) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -25327,8 +22271,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings other) {
-        if (other == com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.getDefaultInstance()) return this;
         if (other.getWithOptional() != false) {
           setWithOptional(other.getWithOptional());
         }
@@ -25394,8 +22337,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -25404,19 +22346,15 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private boolean withOptional_;
+      private boolean withOptional_ ;
       /**
-       *
-       *
        * 
        * Adds the `--with-optional` flag to `zypper patch`.
        * 
* * bool with_optional = 1; - * * @return The withOptional. */ @java.lang.Override @@ -25424,51 +22362,42 @@ public boolean getWithOptional() { return withOptional_; } /** - * - * *
        * Adds the `--with-optional` flag to `zypper patch`.
        * 
* * bool with_optional = 1; - * * @param value The withOptional to set. * @return This builder for chaining. */ public Builder setWithOptional(boolean value) { - + withOptional_ = value; onChanged(); return this; } /** - * - * *
        * Adds the `--with-optional` flag to `zypper patch`.
        * 
* * bool with_optional = 1; - * * @return This builder for chaining. */ public Builder clearWithOptional() { - + withOptional_ = false; onChanged(); return this; } - private boolean withUpdate_; + private boolean withUpdate_ ; /** - * - * *
        * Adds the `--with-update` flag, to `zypper patch`.
        * 
* * bool with_update = 2; - * * @return The withUpdate. */ @java.lang.Override @@ -25476,90 +22405,74 @@ public boolean getWithUpdate() { return withUpdate_; } /** - * - * *
        * Adds the `--with-update` flag, to `zypper patch`.
        * 
* * bool with_update = 2; - * * @param value The withUpdate to set. * @return This builder for chaining. */ public Builder setWithUpdate(boolean value) { - + withUpdate_ = value; onChanged(); return this; } /** - * - * *
        * Adds the `--with-update` flag, to `zypper patch`.
        * 
* * bool with_update = 2; - * * @return This builder for chaining. */ public Builder clearWithUpdate() { - + withUpdate_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList categories_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList categories_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCategoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { categories_ = new com.google.protobuf.LazyStringArrayList(categories_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; - * * @return A list containing the categories. */ - public com.google.protobuf.ProtocolStringList getCategoriesList() { + public com.google.protobuf.ProtocolStringList + getCategoriesList() { return categories_.getUnmodifiableView(); } /** - * - * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; - * * @return The count of categories. */ public int getCategoriesCount() { return categories_.size(); } /** - * - * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; - * * @param index The index of the element to return. * @return The categories at the given index. */ @@ -25567,95 +22480,85 @@ public java.lang.String getCategories(int index) { return categories_.get(index); } /** - * - * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; - * * @param index The index of the value to return. * @return The bytes of the categories at the given index. */ - public com.google.protobuf.ByteString getCategoriesBytes(int index) { + public com.google.protobuf.ByteString + getCategoriesBytes(int index) { return categories_.getByteString(index); } /** - * - * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; - * * @param index The index to set the value at. * @param value The categories to set. * @return This builder for chaining. */ - public Builder setCategories(int index, java.lang.String value) { + public Builder setCategories( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCategoriesIsMutable(); + throw new NullPointerException(); + } + ensureCategoriesIsMutable(); categories_.set(index, value); onChanged(); return this; } /** - * - * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; - * * @param value The categories to add. * @return This builder for chaining. */ - public Builder addCategories(java.lang.String value) { + public Builder addCategories( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCategoriesIsMutable(); + throw new NullPointerException(); + } + ensureCategoriesIsMutable(); categories_.add(value); onChanged(); return this; } /** - * - * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; - * * @param values The categories to add. * @return This builder for chaining. */ - public Builder addAllCategories(java.lang.Iterable values) { + public Builder addAllCategories( + java.lang.Iterable values) { ensureCategoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, categories_); onChanged(); return this; } /** - * - * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; - * * @return This builder for chaining. */ public Builder clearCategories() { @@ -25665,78 +22568,66 @@ public Builder clearCategories() { return this; } /** - * - * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; - * * @param value The bytes of the categories to add. * @return This builder for chaining. */ - public Builder addCategoriesBytes(com.google.protobuf.ByteString value) { + public Builder addCategoriesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCategoriesIsMutable(); categories_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList severities_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList severities_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSeveritiesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { severities_ = new com.google.protobuf.LazyStringArrayList(severities_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; - * * @return A list containing the severities. */ - public com.google.protobuf.ProtocolStringList getSeveritiesList() { + public com.google.protobuf.ProtocolStringList + getSeveritiesList() { return severities_.getUnmodifiableView(); } /** - * - * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; - * * @return The count of severities. */ public int getSeveritiesCount() { return severities_.size(); } /** - * - * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; - * * @param index The index of the element to return. * @return The severities at the given index. */ @@ -25744,95 +22635,85 @@ public java.lang.String getSeverities(int index) { return severities_.get(index); } /** - * - * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; - * * @param index The index of the value to return. * @return The bytes of the severities at the given index. */ - public com.google.protobuf.ByteString getSeveritiesBytes(int index) { + public com.google.protobuf.ByteString + getSeveritiesBytes(int index) { return severities_.getByteString(index); } /** - * - * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; - * * @param index The index to set the value at. * @param value The severities to set. * @return This builder for chaining. */ - public Builder setSeverities(int index, java.lang.String value) { + public Builder setSeverities( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSeveritiesIsMutable(); + throw new NullPointerException(); + } + ensureSeveritiesIsMutable(); severities_.set(index, value); onChanged(); return this; } /** - * - * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; - * * @param value The severities to add. * @return This builder for chaining. */ - public Builder addSeverities(java.lang.String value) { + public Builder addSeverities( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSeveritiesIsMutable(); + throw new NullPointerException(); + } + ensureSeveritiesIsMutable(); severities_.add(value); onChanged(); return this; } /** - * - * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; - * * @param values The severities to add. * @return This builder for chaining. */ - public Builder addAllSeverities(java.lang.Iterable values) { + public Builder addAllSeverities( + java.lang.Iterable values) { ensureSeveritiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, severities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, severities_); onChanged(); return this; } /** - * - * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; - * * @return This builder for chaining. */ public Builder clearSeverities() { @@ -25842,75 +22723,63 @@ public Builder clearSeverities() { return this; } /** - * - * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; - * * @param value The bytes of the severities to add. * @return This builder for chaining. */ - public Builder addSeveritiesBytes(com.google.protobuf.ByteString value) { + public Builder addSeveritiesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSeveritiesIsMutable(); severities_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList excludes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExcludesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { excludes_ = new com.google.protobuf.LazyStringArrayList(excludes_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; - * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList getExcludesList() { + public com.google.protobuf.ProtocolStringList + getExcludesList() { return excludes_.getUnmodifiableView(); } /** - * - * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; - * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** - * - * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; - * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -25918,90 +22787,80 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** - * - * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString getExcludesBytes(int index) { + public com.google.protobuf.ByteString + getExcludesBytes(int index) { return excludes_.getByteString(index); } /** - * - * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; - * * @param index The index to set the value at. * @param value The excludes to set. * @return This builder for chaining. */ - public Builder setExcludes(int index, java.lang.String value) { + public Builder setExcludes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.set(index, value); onChanged(); return this; } /** - * - * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; - * * @param value The excludes to add. * @return This builder for chaining. */ - public Builder addExcludes(java.lang.String value) { + public Builder addExcludes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } /** - * - * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; - * * @param values The excludes to add. * @return This builder for chaining. */ - public Builder addAllExcludes(java.lang.Iterable values) { + public Builder addAllExcludes( + java.lang.Iterable values) { ensureExcludesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, excludes_); onChanged(); return this; } /** - * - * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; - * * @return This builder for chaining. */ public Builder clearExcludes() { @@ -26011,40 +22870,34 @@ public Builder clearExcludes() { return this; } /** - * - * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; - * * @param value The bytes of the excludes to add. * @return This builder for chaining. */ - public Builder addExcludesBytes(com.google.protobuf.ByteString value) { + public Builder addExcludesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList exclusivePatches_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList exclusivePatches_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExclusivePatchesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { exclusivePatches_ = new com.google.protobuf.LazyStringArrayList(exclusivePatches_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -26052,15 +22905,13 @@ private void ensureExclusivePatchesIsMutable() {
        * 
* * repeated string exclusive_patches = 6; - * * @return A list containing the exclusivePatches. */ - public com.google.protobuf.ProtocolStringList getExclusivePatchesList() { + public com.google.protobuf.ProtocolStringList + getExclusivePatchesList() { return exclusivePatches_.getUnmodifiableView(); } /** - * - * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -26068,15 +22919,12 @@ public com.google.protobuf.ProtocolStringList getExclusivePatchesList() {
        * 
* * repeated string exclusive_patches = 6; - * * @return The count of exclusivePatches. */ public int getExclusivePatchesCount() { return exclusivePatches_.size(); } /** - * - * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -26084,7 +22932,6 @@ public int getExclusivePatchesCount() {
        * 
* * repeated string exclusive_patches = 6; - * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ @@ -26092,8 +22939,6 @@ public java.lang.String getExclusivePatches(int index) { return exclusivePatches_.get(index); } /** - * - * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -26101,16 +22946,14 @@ public java.lang.String getExclusivePatches(int index) {
        * 
* * repeated string exclusive_patches = 6; - * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) { + public com.google.protobuf.ByteString + getExclusivePatchesBytes(int index) { return exclusivePatches_.getByteString(index); } /** - * - * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -26118,23 +22961,21 @@ public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) {
        * 
* * repeated string exclusive_patches = 6; - * * @param index The index to set the value at. * @param value The exclusivePatches to set. * @return This builder for chaining. */ - public Builder setExclusivePatches(int index, java.lang.String value) { + public Builder setExclusivePatches( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePatchesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePatchesIsMutable(); exclusivePatches_.set(index, value); onChanged(); return this; } /** - * - * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -26142,22 +22983,20 @@ public Builder setExclusivePatches(int index, java.lang.String value) {
        * 
* * repeated string exclusive_patches = 6; - * * @param value The exclusivePatches to add. * @return This builder for chaining. */ - public Builder addExclusivePatches(java.lang.String value) { + public Builder addExclusivePatches( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePatchesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePatchesIsMutable(); exclusivePatches_.add(value); onChanged(); return this; } /** - * - * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -26165,19 +23004,18 @@ public Builder addExclusivePatches(java.lang.String value) {
        * 
* * repeated string exclusive_patches = 6; - * * @param values The exclusivePatches to add. * @return This builder for chaining. */ - public Builder addAllExclusivePatches(java.lang.Iterable values) { + public Builder addAllExclusivePatches( + java.lang.Iterable values) { ensureExclusivePatchesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusivePatches_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, exclusivePatches_); onChanged(); return this; } /** - * - * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -26185,7 +23023,6 @@ public Builder addAllExclusivePatches(java.lang.Iterable value
        * 
* * repeated string exclusive_patches = 6; - * * @return This builder for chaining. */ public Builder clearExclusivePatches() { @@ -26195,8 +23032,6 @@ public Builder clearExclusivePatches() { return this; } /** - * - * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -26204,21 +23039,20 @@ public Builder clearExclusivePatches() {
        * 
* * repeated string exclusive_patches = 6; - * * @param value The bytes of the exclusivePatches to add. * @return This builder for chaining. */ - public Builder addExclusivePatchesBytes(com.google.protobuf.ByteString value) { + public Builder addExclusivePatchesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExclusivePatchesIsMutable(); exclusivePatches_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -26231,12 +23065,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ZypperSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ZypperSettings) private static final com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings(); } @@ -26245,16 +23079,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ZypperSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ZypperSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ZypperSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ZypperSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -26269,147 +23103,109 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface WindowsUpdateSettingsOrBuilder - extends + public interface WindowsUpdateSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.WindowsUpdateSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @return A list containing the classifications. */ - java.util.List - getClassificationsList(); + java.util.List getClassificationsList(); /** - * - * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @return The count of classifications. */ int getClassificationsCount(); /** - * - * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @param index The index of the element to return. * @return The classifications at the given index. */ - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification getClassifications( - int index); + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification getClassifications(int index); /** - * - * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @return A list containing the enum numeric values on the wire for classifications. */ - java.util.List getClassificationsValueList(); + java.util.List + getClassificationsValueList(); /** - * - * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of classifications at the given index. */ int getClassificationsValue(int index); /** - * - * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; - * * @return A list containing the excludes. */ - java.util.List getExcludesList(); + java.util.List + getExcludesList(); /** - * - * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; - * * @return The count of excludes. */ int getExcludesCount(); /** - * - * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; - * * @param index The index of the element to return. * @return The excludes at the given index. */ java.lang.String getExcludes(int index); /** - * - * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - com.google.protobuf.ByteString getExcludesBytes(int index); + com.google.protobuf.ByteString + getExcludesBytes(int index); /** - * - * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -26417,13 +23213,11 @@ com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification getC
      * 
* * repeated string exclusive_patches = 3; - * * @return A list containing the exclusivePatches. */ - java.util.List getExclusivePatchesList(); + java.util.List + getExclusivePatchesList(); /** - * - * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -26431,13 +23225,10 @@ com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification getC
      * 
* * repeated string exclusive_patches = 3; - * * @return The count of exclusivePatches. */ int getExclusivePatchesCount(); /** - * - * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -26445,14 +23236,11 @@ com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification getC
      * 
* * repeated string exclusive_patches = 3; - * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ java.lang.String getExclusivePatches(int index); /** - * - * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -26460,31 +23248,28 @@ com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification getC
      * 
* * repeated string exclusive_patches = 3; - * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - com.google.protobuf.ByteString getExclusivePatchesBytes(int index); + com.google.protobuf.ByteString + getExclusivePatchesBytes(int index); } /** - * - * *
    * Windows patching is performed using the Windows Update Agent.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.WindowsUpdateSettings} */ - public static final class WindowsUpdateSettings extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class WindowsUpdateSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.WindowsUpdateSettings) WindowsUpdateSettingsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WindowsUpdateSettings.newBuilder() to construct. private WindowsUpdateSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WindowsUpdateSettings() { classifications_ = java.util.Collections.emptyList(); excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26493,15 +23278,16 @@ private WindowsUpdateSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WindowsUpdateSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WindowsUpdateSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -26521,58 +23307,54 @@ private WindowsUpdateSettings( case 0: done = true; break; - case 8: - { + case 8: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + classifications_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + classifications_.add(rawValue); + break; + } + case 10: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { classifications_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } classifications_.add(rawValue); - break; } - case 10: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - classifications_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - classifications_.add(rawValue); - } - input.popLimit(oldLimit); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - excludes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - excludes_.add(s); - break; + input.popLimit(oldLimit); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + excludes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - exclusivePatches_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; - } - exclusivePatches_.add(s); - break; + excludes_.add(s); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + exclusivePatches_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + exclusivePatches_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -26580,7 +23362,8 @@ private WindowsUpdateSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { classifications_ = java.util.Collections.unmodifiableList(classifications_); @@ -26595,25 +23378,20 @@ private WindowsUpdateSettings( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.class, - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.class, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder.class); } /** - * - * *
      * Microsoft Windows update classifications as defined in
      * [1]
@@ -26622,10 +23400,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      *
      * Protobuf enum {@code google.cloud.osconfig.v1.WindowsUpdateSettings.Classification}
      */
-    public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
+    public enum Classification
+        implements com.google.protobuf.ProtocolMessageEnum {
       /**
-       *
-       *
        * 
        * Invalid. If classifications are included, they must be specified.
        * 
@@ -26634,8 +23411,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum { */ CLASSIFICATION_UNSPECIFIED(0), /** - * - * *
        * "A widely released fix for a specific problem that addresses a critical,
        * non-security-related bug." [1]
@@ -26645,8 +23420,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       CRITICAL(1),
       /**
-       *
-       *
        * 
        * "A widely released fix for a product-specific, security-related
        * vulnerability. Security vulnerabilities are rated by their severity. The
@@ -26658,8 +23431,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       SECURITY(2),
       /**
-       *
-       *
        * 
        * "A widely released and frequent software update that contains additions
        * to a product's definition database. Definition databases are often used
@@ -26671,8 +23442,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       DEFINITION(3),
       /**
-       *
-       *
        * 
        * "Software that controls the input and output of a device." [1]
        * 
@@ -26681,8 +23450,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum { */ DRIVER(4), /** - * - * *
        * "New product functionality that is first distributed outside the context
        * of a product release and that is typically included in the next full
@@ -26693,8 +23460,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       FEATURE_PACK(5),
       /**
-       *
-       *
        * 
        * "A tested, cumulative set of all hotfixes, security updates, critical
        * updates, and updates. Additionally, service packs may contain additional
@@ -26707,8 +23472,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       SERVICE_PACK(6),
       /**
-       *
-       *
        * 
        * "A utility or feature that helps complete a task or set of tasks." [1]
        * 
@@ -26717,8 +23480,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum { */ TOOL(7), /** - * - * *
        * "A tested, cumulative set of hotfixes, security updates, critical
        * updates, and updates that are packaged together for easy deployment. A
@@ -26730,8 +23491,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       UPDATE_ROLLUP(8),
       /**
-       *
-       *
        * 
        * "A widely released fix for a specific problem. An update addresses a
        * noncritical, non-security-related bug." [1]
@@ -26744,8 +23503,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Invalid. If classifications are included, they must be specified.
        * 
@@ -26754,8 +23511,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLASSIFICATION_UNSPECIFIED_VALUE = 0; /** - * - * *
        * "A widely released fix for a specific problem that addresses a critical,
        * non-security-related bug." [1]
@@ -26765,8 +23520,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int CRITICAL_VALUE = 1;
       /**
-       *
-       *
        * 
        * "A widely released fix for a product-specific, security-related
        * vulnerability. Security vulnerabilities are rated by their severity. The
@@ -26778,8 +23531,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int SECURITY_VALUE = 2;
       /**
-       *
-       *
        * 
        * "A widely released and frequent software update that contains additions
        * to a product's definition database. Definition databases are often used
@@ -26791,8 +23542,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int DEFINITION_VALUE = 3;
       /**
-       *
-       *
        * 
        * "Software that controls the input and output of a device." [1]
        * 
@@ -26801,8 +23550,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DRIVER_VALUE = 4; /** - * - * *
        * "New product functionality that is first distributed outside the context
        * of a product release and that is typically included in the next full
@@ -26813,8 +23560,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int FEATURE_PACK_VALUE = 5;
       /**
-       *
-       *
        * 
        * "A tested, cumulative set of all hotfixes, security updates, critical
        * updates, and updates. Additionally, service packs may contain additional
@@ -26827,8 +23572,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int SERVICE_PACK_VALUE = 6;
       /**
-       *
-       *
        * 
        * "A utility or feature that helps complete a task or set of tasks." [1]
        * 
@@ -26837,8 +23580,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TOOL_VALUE = 7; /** - * - * *
        * "A tested, cumulative set of hotfixes, security updates, critical
        * updates, and updates that are packaged together for easy deployment. A
@@ -26850,8 +23591,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int UPDATE_ROLLUP_VALUE = 8;
       /**
-       *
-       *
        * 
        * "A widely released fix for a specific problem. An update addresses a
        * noncritical, non-security-related bug." [1]
@@ -26861,6 +23600,7 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int UPDATE_VALUE = 9;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -26885,59 +23625,47 @@ public static Classification valueOf(int value) {
        */
       public static Classification forNumber(int value) {
         switch (value) {
-          case 0:
-            return CLASSIFICATION_UNSPECIFIED;
-          case 1:
-            return CRITICAL;
-          case 2:
-            return SECURITY;
-          case 3:
-            return DEFINITION;
-          case 4:
-            return DRIVER;
-          case 5:
-            return FEATURE_PACK;
-          case 6:
-            return SERVICE_PACK;
-          case 7:
-            return TOOL;
-          case 8:
-            return UPDATE_ROLLUP;
-          case 9:
-            return UPDATE;
-          default:
-            return null;
-        }
-      }
-
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+          case 0: return CLASSIFICATION_UNSPECIFIED;
+          case 1: return CRITICAL;
+          case 2: return SECURITY;
+          case 3: return DEFINITION;
+          case 4: return DRIVER;
+          case 5: return FEATURE_PACK;
+          case 6: return SERVICE_PACK;
+          case 7: return TOOL;
+          case 8: return UPDATE_ROLLUP;
+          case 9: return UPDATE;
+          default: return null;
+        }
+      }
+
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          Classification> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public Classification findValueByNumber(int number) {
+                return Classification.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap
-          internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public Classification findValueByNumber(int number) {
-                  return Classification.forNumber(number);
-                }
-              };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final Classification[] VALUES = values();
@@ -26945,7 +23673,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
       public static Classification valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -26965,59 +23694,36 @@ private Classification(int value) {
     public static final int CLASSIFICATIONS_FIELD_NUMBER = 1;
     private java.util.List classifications_;
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-            java.lang.Integer,
-            com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification>
-        classifications_converter_ =
+        java.lang.Integer, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification> classifications_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
-                java.lang.Integer,
-                com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification>() {
-              public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification
-                  convert(java.lang.Integer from) {
+                java.lang.Integer, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification>() {
+              public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification convert(java.lang.Integer from) {
                 @SuppressWarnings("deprecation")
-                com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification result =
-                    com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification
-                        .valueOf(from);
-                return result == null
-                    ? com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification
-                        .UNRECOGNIZED
-                    : result;
+                com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification result = com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification.valueOf(from);
+                return result == null ? com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification.UNRECOGNIZED : result;
               }
             };
     /**
-     *
-     *
      * 
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @return A list containing the classifications. */ @java.lang.Override - public java.util.List< - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification> - getClassificationsList() { + public java.util.List getClassificationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification>( - classifications_, classifications_converter_); + java.lang.Integer, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification>(classifications_, classifications_converter_); } /** - * - * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @return The count of classifications. */ @java.lang.Override @@ -27025,55 +23731,40 @@ public int getClassificationsCount() { return classifications_.size(); } /** - * - * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @param index The index of the element to return. * @return The classifications at the given index. */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification - getClassifications(int index) { + public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification getClassifications(int index) { return classifications_converter_.convert(classifications_.get(index)); } /** - * - * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @return A list containing the enum numeric values on the wire for classifications. */ @java.lang.Override - public java.util.List getClassificationsValueList() { + public java.util.List + getClassificationsValueList() { return classifications_; } /** - * - * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of classifications at the given index. */ @@ -27081,48 +23772,39 @@ public java.util.List getClassificationsValueList() { public int getClassificationsValue(int index) { return classifications_.get(index); } - private int classificationsMemoizedSerializedSize; public static final int EXCLUDES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList excludes_; /** - * - * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; - * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList getExcludesList() { + public com.google.protobuf.ProtocolStringList + getExcludesList() { return excludes_; } /** - * - * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; - * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** - * - * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; - * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -27130,26 +23812,22 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** - * - * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString getExcludesBytes(int index) { + public com.google.protobuf.ByteString + getExcludesBytes(int index) { return excludes_.getByteString(index); } public static final int EXCLUSIVE_PATCHES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList exclusivePatches_; /** - * - * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -27157,15 +23835,13 @@ public com.google.protobuf.ByteString getExcludesBytes(int index) {
      * 
* * repeated string exclusive_patches = 3; - * * @return A list containing the exclusivePatches. */ - public com.google.protobuf.ProtocolStringList getExclusivePatchesList() { + public com.google.protobuf.ProtocolStringList + getExclusivePatchesList() { return exclusivePatches_; } /** - * - * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -27173,15 +23849,12 @@ public com.google.protobuf.ProtocolStringList getExclusivePatchesList() {
      * 
* * repeated string exclusive_patches = 3; - * * @return The count of exclusivePatches. */ public int getExclusivePatchesCount() { return exclusivePatches_.size(); } /** - * - * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -27189,7 +23862,6 @@ public int getExclusivePatchesCount() {
      * 
* * repeated string exclusive_patches = 3; - * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ @@ -27197,8 +23869,6 @@ public java.lang.String getExclusivePatches(int index) { return exclusivePatches_.get(index); } /** - * - * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -27206,16 +23876,15 @@ public java.lang.String getExclusivePatches(int index) {
      * 
* * repeated string exclusive_patches = 3; - * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) { + public com.google.protobuf.ByteString + getExclusivePatchesBytes(int index) { return exclusivePatches_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -27227,7 +23896,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (getClassificationsList().size() > 0) { output.writeUInt32NoTag(10); @@ -27254,15 +23924,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < classifications_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(classifications_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(classifications_.get(i)); } size += dataSize; - if (!getClassificationsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - classificationsMemoizedSerializedSize = dataSize; + if (!getClassificationsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }classificationsMemoizedSerializedSize = dataSize; } { int dataSize = 0; @@ -27288,17 +23957,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings other = - (com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings) obj; + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings other = (com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings) obj; if (!classifications_.equals(other.classifications_)) return false; - if (!getExcludesList().equals(other.getExcludesList())) return false; - if (!getExclusivePatchesList().equals(other.getExclusivePatchesList())) return false; + if (!getExcludesList() + .equals(other.getExcludesList())) return false; + if (!getExclusivePatchesList() + .equals(other.getExclusivePatchesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -27328,94 +23998,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings 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.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -27425,32 +24088,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Windows patching is performed using the Windows Update Agent.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.WindowsUpdateSettings} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.WindowsUpdateSettings) com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.class, - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.class, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.newBuilder() @@ -27458,15 +24116,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -27480,14 +24139,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDefaultInstance(); } @@ -27502,8 +24160,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings result = - new com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings(this); + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings result = new com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { classifications_ = java.util.Collections.unmodifiableList(classifications_); @@ -27528,41 +24185,38 @@ public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.WindowsUpdateSettings) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings) other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings)other); } else { super.mergeFrom(other); return this; @@ -27570,9 +24224,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings other) { - if (other - == com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDefaultInstance()) return this; if (!other.classifications_.isEmpty()) { if (classifications_.isEmpty()) { classifications_ = other.classifications_; @@ -27622,9 +24274,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -27633,12 +24283,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List classifications_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureClassificationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { classifications_ = new java.util.ArrayList(classifications_); @@ -27646,82 +24294,56 @@ private void ensureClassificationsIsMutable() { } } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @return A list containing the classifications. */ - public java.util.List< - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification> - getClassificationsList() { + public java.util.List getClassificationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification>( - classifications_, classifications_converter_); + java.lang.Integer, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification>(classifications_, classifications_converter_); } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @return The count of classifications. */ public int getClassificationsCount() { return classifications_.size(); } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @param index The index of the element to return. * @return The classifications at the given index. */ - public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification - getClassifications(int index) { + public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification getClassifications(int index) { return classifications_converter_.convert(classifications_.get(index)); } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @param index The index to set the value at. * @param value The classifications to set. * @return This builder for chaining. */ public Builder setClassifications( - int index, - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification value) { + int index, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification value) { if (value == null) { throw new NullPointerException(); } @@ -27731,22 +24353,16 @@ public Builder setClassifications( return this; } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @param value The classifications to add. * @return This builder for chaining. */ - public Builder addClassifications( - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification value) { + public Builder addClassifications(com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification value) { if (value == null) { throw new NullPointerException(); } @@ -27756,45 +24372,31 @@ public Builder addClassifications( return this; } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @param values The classifications to add. * @return This builder for chaining. */ public Builder addAllClassifications( - java.lang.Iterable< - ? extends - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification> - values) { + java.lang.Iterable values) { ensureClassificationsIsMutable(); - for (com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification value : - values) { + for (com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification value : values) { classifications_.add(value.getNumber()); } onChanged(); return this; } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @return This builder for chaining. */ public Builder clearClassifications() { @@ -27804,34 +24406,25 @@ public Builder clearClassifications() { return this; } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @return A list containing the enum numeric values on the wire for classifications. */ - public java.util.List getClassificationsValueList() { + public java.util.List + getClassificationsValueList() { return java.util.Collections.unmodifiableList(classifications_); } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of classifications at the given index. */ @@ -27839,39 +24432,30 @@ public int getClassificationsValue(int index) { return classifications_.get(index); } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of classifications at the given index. * @return This builder for chaining. */ - public Builder setClassificationsValue(int index, int value) { + public Builder setClassificationsValue( + int index, int value) { ensureClassificationsIsMutable(); classifications_.set(index, value); onChanged(); return this; } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @param value The enum numeric value on the wire for classifications to add. * @return This builder for chaining. */ @@ -27882,21 +24466,17 @@ public Builder addClassificationsValue(int value) { return this; } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; * @param values The enum numeric values on the wire for classifications to add. * @return This builder for chaining. */ - public Builder addAllClassificationsValue(java.lang.Iterable values) { + public Builder addAllClassificationsValue( + java.lang.Iterable values) { ensureClassificationsIsMutable(); for (int value : values) { classifications_.add(value); @@ -27905,52 +24485,42 @@ public Builder addAllClassificationsValue(java.lang.Iterable return this; } - private com.google.protobuf.LazyStringList excludes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExcludesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { excludes_ = new com.google.protobuf.LazyStringArrayList(excludes_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; - * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList getExcludesList() { + public com.google.protobuf.ProtocolStringList + getExcludesList() { return excludes_.getUnmodifiableView(); } /** - * - * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; - * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** - * - * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; - * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -27958,90 +24528,80 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** - * - * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString getExcludesBytes(int index) { + public com.google.protobuf.ByteString + getExcludesBytes(int index) { return excludes_.getByteString(index); } /** - * - * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; - * * @param index The index to set the value at. * @param value The excludes to set. * @return This builder for chaining. */ - public Builder setExcludes(int index, java.lang.String value) { + public Builder setExcludes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.set(index, value); onChanged(); return this; } /** - * - * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; - * * @param value The excludes to add. * @return This builder for chaining. */ - public Builder addExcludes(java.lang.String value) { + public Builder addExcludes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } /** - * - * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; - * * @param values The excludes to add. * @return This builder for chaining. */ - public Builder addAllExcludes(java.lang.Iterable values) { + public Builder addAllExcludes( + java.lang.Iterable values) { ensureExcludesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, excludes_); onChanged(); return this; } /** - * - * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; - * * @return This builder for chaining. */ public Builder clearExcludes() { @@ -28051,40 +24611,34 @@ public Builder clearExcludes() { return this; } /** - * - * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; - * * @param value The bytes of the excludes to add. * @return This builder for chaining. */ - public Builder addExcludesBytes(com.google.protobuf.ByteString value) { + public Builder addExcludesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList exclusivePatches_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList exclusivePatches_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExclusivePatchesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { exclusivePatches_ = new com.google.protobuf.LazyStringArrayList(exclusivePatches_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -28092,15 +24646,13 @@ private void ensureExclusivePatchesIsMutable() {
        * 
* * repeated string exclusive_patches = 3; - * * @return A list containing the exclusivePatches. */ - public com.google.protobuf.ProtocolStringList getExclusivePatchesList() { + public com.google.protobuf.ProtocolStringList + getExclusivePatchesList() { return exclusivePatches_.getUnmodifiableView(); } /** - * - * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -28108,15 +24660,12 @@ public com.google.protobuf.ProtocolStringList getExclusivePatchesList() {
        * 
* * repeated string exclusive_patches = 3; - * * @return The count of exclusivePatches. */ public int getExclusivePatchesCount() { return exclusivePatches_.size(); } /** - * - * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -28124,7 +24673,6 @@ public int getExclusivePatchesCount() {
        * 
* * repeated string exclusive_patches = 3; - * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ @@ -28132,8 +24680,6 @@ public java.lang.String getExclusivePatches(int index) { return exclusivePatches_.get(index); } /** - * - * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -28141,16 +24687,14 @@ public java.lang.String getExclusivePatches(int index) {
        * 
* * repeated string exclusive_patches = 3; - * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) { + public com.google.protobuf.ByteString + getExclusivePatchesBytes(int index) { return exclusivePatches_.getByteString(index); } /** - * - * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -28158,23 +24702,21 @@ public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) {
        * 
* * repeated string exclusive_patches = 3; - * * @param index The index to set the value at. * @param value The exclusivePatches to set. * @return This builder for chaining. */ - public Builder setExclusivePatches(int index, java.lang.String value) { + public Builder setExclusivePatches( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePatchesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePatchesIsMutable(); exclusivePatches_.set(index, value); onChanged(); return this; } /** - * - * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -28182,22 +24724,20 @@ public Builder setExclusivePatches(int index, java.lang.String value) {
        * 
* * repeated string exclusive_patches = 3; - * * @param value The exclusivePatches to add. * @return This builder for chaining. */ - public Builder addExclusivePatches(java.lang.String value) { + public Builder addExclusivePatches( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePatchesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePatchesIsMutable(); exclusivePatches_.add(value); onChanged(); return this; } /** - * - * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -28205,19 +24745,18 @@ public Builder addExclusivePatches(java.lang.String value) {
        * 
* * repeated string exclusive_patches = 3; - * * @param values The exclusivePatches to add. * @return This builder for chaining. */ - public Builder addAllExclusivePatches(java.lang.Iterable values) { + public Builder addAllExclusivePatches( + java.lang.Iterable values) { ensureExclusivePatchesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusivePatches_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, exclusivePatches_); onChanged(); return this; } /** - * - * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -28225,7 +24764,6 @@ public Builder addAllExclusivePatches(java.lang.Iterable value
        * 
* * repeated string exclusive_patches = 3; - * * @return This builder for chaining. */ public Builder clearExclusivePatches() { @@ -28235,8 +24773,6 @@ public Builder clearExclusivePatches() { return this; } /** - * - * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -28244,21 +24780,20 @@ public Builder clearExclusivePatches() {
        * 
* * repeated string exclusive_patches = 3; - * * @param value The bytes of the exclusivePatches to add. * @return This builder for chaining. */ - public Builder addExclusivePatchesBytes(com.google.protobuf.ByteString value) { + public Builder addExclusivePatchesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExclusivePatchesIsMutable(); exclusivePatches_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -28271,32 +24806,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.WindowsUpdateSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.WindowsUpdateSettings) - private static final com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings(); } - public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsUpdateSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsUpdateSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsUpdateSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsUpdateSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -28308,121 +24841,101 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ExecStepOrBuilder - extends + public interface ExecStepOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ExecStep) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; - * * @return Whether the linuxExecStepConfig field is set. */ boolean hasLinuxExecStepConfig(); /** - * - * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; - * * @return The linuxExecStepConfig. */ com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getLinuxExecStepConfig(); /** - * - * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; */ - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder - getLinuxExecStepConfigOrBuilder(); + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder getLinuxExecStepConfigOrBuilder(); /** - * - * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; - * * @return Whether the windowsExecStepConfig field is set. */ boolean hasWindowsExecStepConfig(); /** - * - * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; - * * @return The windowsExecStepConfig. */ com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getWindowsExecStepConfig(); /** - * - * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; */ - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder - getWindowsExecStepConfigOrBuilder(); + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder getWindowsExecStepConfigOrBuilder(); } /** - * - * *
    * A step that runs an executable for a PatchJob.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ExecStep} */ - public static final class ExecStep extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ExecStep extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ExecStep) ExecStepOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecStep.newBuilder() to construct. private ExecStep(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ExecStep() {} + private ExecStep() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExecStep(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExecStep( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -28441,47 +24954,39 @@ private ExecStep( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder subBuilder = null; - if (linuxExecStepConfig_ != null) { - subBuilder = linuxExecStepConfig_.toBuilder(); - } - linuxExecStepConfig_ = - input.readMessage( - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(linuxExecStepConfig_); - linuxExecStepConfig_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder subBuilder = null; + if (linuxExecStepConfig_ != null) { + subBuilder = linuxExecStepConfig_.toBuilder(); + } + linuxExecStepConfig_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(linuxExecStepConfig_); + linuxExecStepConfig_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder subBuilder = null; - if (windowsExecStepConfig_ != null) { - subBuilder = windowsExecStepConfig_.toBuilder(); - } - windowsExecStepConfig_ = - input.readMessage( - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(windowsExecStepConfig_); - windowsExecStepConfig_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder subBuilder = null; + if (windowsExecStepConfig_ != null) { + subBuilder = windowsExecStepConfig_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + windowsExecStepConfig_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(windowsExecStepConfig_); + windowsExecStepConfig_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -28489,39 +24994,34 @@ private ExecStep( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ExecStep_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ExecStep_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ExecStep.class, - com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ExecStep.class, com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder.class); } public static final int LINUX_EXEC_STEP_CONFIG_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig linuxExecStepConfig_; /** - * - * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; - * * @return Whether the linuxExecStepConfig field is set. */ @java.lang.Override @@ -28529,25 +25029,18 @@ public boolean hasLinuxExecStepConfig() { return linuxExecStepConfig_ != null; } /** - * - * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; - * * @return The linuxExecStepConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getLinuxExecStepConfig() { - return linuxExecStepConfig_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() - : linuxExecStepConfig_; + return linuxExecStepConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() : linuxExecStepConfig_; } /** - * - * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
@@ -28555,22 +25048,18 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getLinuxExecStepCon * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder - getLinuxExecStepConfigOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder getLinuxExecStepConfigOrBuilder() { return getLinuxExecStepConfig(); } public static final int WINDOWS_EXEC_STEP_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig windowsExecStepConfig_; /** - * - * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; - * * @return Whether the windowsExecStepConfig field is set. */ @java.lang.Override @@ -28578,25 +25067,18 @@ public boolean hasWindowsExecStepConfig() { return windowsExecStepConfig_ != null; } /** - * - * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; - * * @return The windowsExecStepConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getWindowsExecStepConfig() { - return windowsExecStepConfig_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() - : windowsExecStepConfig_; + return windowsExecStepConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() : windowsExecStepConfig_; } /** - * - * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
@@ -28604,13 +25086,11 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getWindowsExecStepC * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder - getWindowsExecStepConfigOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder getWindowsExecStepConfigOrBuilder() { return getWindowsExecStepConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -28622,7 +25102,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (linuxExecStepConfig_ != null) { output.writeMessage(1, getLinuxExecStepConfig()); } @@ -28639,12 +25120,12 @@ public int getSerializedSize() { size = 0; if (linuxExecStepConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLinuxExecStepConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getLinuxExecStepConfig()); } if (windowsExecStepConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWindowsExecStepConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getWindowsExecStepConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -28654,21 +25135,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.ExecStep)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.ExecStep other = - (com.google.cloud.osconfig.v1.PatchJobs.ExecStep) obj; + com.google.cloud.osconfig.v1.PatchJobs.ExecStep other = (com.google.cloud.osconfig.v1.PatchJobs.ExecStep) obj; if (hasLinuxExecStepConfig() != other.hasLinuxExecStepConfig()) return false; if (hasLinuxExecStepConfig()) { - if (!getLinuxExecStepConfig().equals(other.getLinuxExecStepConfig())) return false; + if (!getLinuxExecStepConfig() + .equals(other.getLinuxExecStepConfig())) return false; } if (hasWindowsExecStepConfig() != other.hasWindowsExecStepConfig()) return false; if (hasWindowsExecStepConfig()) { - if (!getWindowsExecStepConfig().equals(other.getWindowsExecStepConfig())) return false; + if (!getWindowsExecStepConfig() + .equals(other.getWindowsExecStepConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -28695,93 +25177,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep 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.osconfig.v1.PatchJobs.ExecStep parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.ExecStep prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -28791,32 +25267,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A step that runs an executable for a PatchJob.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.ExecStep} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ExecStep) com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ExecStep_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ExecStep_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ExecStep.class, - com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ExecStep.class, com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.ExecStep.newBuilder() @@ -28824,15 +25295,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -28852,9 +25324,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ExecStep_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStep_descriptor; } @java.lang.Override @@ -28873,8 +25345,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStep build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ExecStep buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.ExecStep result = - new com.google.cloud.osconfig.v1.PatchJobs.ExecStep(this); + com.google.cloud.osconfig.v1.PatchJobs.ExecStep result = new com.google.cloud.osconfig.v1.PatchJobs.ExecStep(this); if (linuxExecStepConfigBuilder_ == null) { result.linuxExecStepConfig_ = linuxExecStepConfig_; } else { @@ -28893,41 +25364,38 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStep buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.ExecStep) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ExecStep) other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ExecStep)other); } else { super.mergeFrom(other); return this; @@ -28935,8 +25403,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ExecStep other) { - if (other == com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance()) return this; if (other.hasLinuxExecStepConfig()) { mergeLinuxExecStepConfig(other.getLinuxExecStepConfig()); } @@ -28962,8 +25429,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchJobs.ExecStep) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.ExecStep) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -28975,55 +25441,41 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig linuxExecStepConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder> - linuxExecStepConfigBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder> linuxExecStepConfigBuilder_; /** - * - * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; - * * @return Whether the linuxExecStepConfig field is set. */ public boolean hasLinuxExecStepConfig() { return linuxExecStepConfigBuilder_ != null || linuxExecStepConfig_ != null; } /** - * - * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; - * * @return The linuxExecStepConfig. */ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getLinuxExecStepConfig() { if (linuxExecStepConfigBuilder_ == null) { - return linuxExecStepConfig_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() - : linuxExecStepConfig_; + return linuxExecStepConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() : linuxExecStepConfig_; } else { return linuxExecStepConfigBuilder_.getMessage(); } } /** - * - * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; */ - public Builder setLinuxExecStepConfig( - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig value) { + public Builder setLinuxExecStepConfig(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig value) { if (linuxExecStepConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -29037,8 +25489,6 @@ public Builder setLinuxExecStepConfig( return this; } /** - * - * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
@@ -29057,23 +25507,17 @@ public Builder setLinuxExecStepConfig( return this; } /** - * - * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; */ - public Builder mergeLinuxExecStepConfig( - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig value) { + public Builder mergeLinuxExecStepConfig(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig value) { if (linuxExecStepConfigBuilder_ == null) { if (linuxExecStepConfig_ != null) { linuxExecStepConfig_ = - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.newBuilder( - linuxExecStepConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.newBuilder(linuxExecStepConfig_).mergeFrom(value).buildPartial(); } else { linuxExecStepConfig_ = value; } @@ -29085,8 +25529,6 @@ public Builder mergeLinuxExecStepConfig( return this; } /** - * - * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
@@ -29105,42 +25547,33 @@ public Builder clearLinuxExecStepConfig() { return this; } /** - * - * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; */ - public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder - getLinuxExecStepConfigBuilder() { - + public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder getLinuxExecStepConfigBuilder() { + onChanged(); return getLinuxExecStepConfigFieldBuilder().getBuilder(); } /** - * - * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; */ - public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder - getLinuxExecStepConfigOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder getLinuxExecStepConfigOrBuilder() { if (linuxExecStepConfigBuilder_ != null) { return linuxExecStepConfigBuilder_.getMessageOrBuilder(); } else { - return linuxExecStepConfig_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() - : linuxExecStepConfig_; + return linuxExecStepConfig_ == null ? + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() : linuxExecStepConfig_; } } /** - * - * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
@@ -29148,17 +25581,14 @@ public Builder clearLinuxExecStepConfig() { * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder> getLinuxExecStepConfigFieldBuilder() { if (linuxExecStepConfigBuilder_ == null) { - linuxExecStepConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder>( - getLinuxExecStepConfig(), getParentForChildren(), isClean()); + linuxExecStepConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder>( + getLinuxExecStepConfig(), + getParentForChildren(), + isClean()); linuxExecStepConfig_ = null; } return linuxExecStepConfigBuilder_; @@ -29166,55 +25596,41 @@ public Builder clearLinuxExecStepConfig() { private com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig windowsExecStepConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder> - windowsExecStepConfigBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder> windowsExecStepConfigBuilder_; /** - * - * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; - * * @return Whether the windowsExecStepConfig field is set. */ public boolean hasWindowsExecStepConfig() { return windowsExecStepConfigBuilder_ != null || windowsExecStepConfig_ != null; } /** - * - * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; - * * @return The windowsExecStepConfig. */ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getWindowsExecStepConfig() { if (windowsExecStepConfigBuilder_ == null) { - return windowsExecStepConfig_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() - : windowsExecStepConfig_; + return windowsExecStepConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() : windowsExecStepConfig_; } else { return windowsExecStepConfigBuilder_.getMessage(); } } /** - * - * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; */ - public Builder setWindowsExecStepConfig( - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig value) { + public Builder setWindowsExecStepConfig(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig value) { if (windowsExecStepConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -29228,8 +25644,6 @@ public Builder setWindowsExecStepConfig( return this; } /** - * - * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
@@ -29248,23 +25662,17 @@ public Builder setWindowsExecStepConfig( return this; } /** - * - * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; */ - public Builder mergeWindowsExecStepConfig( - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig value) { + public Builder mergeWindowsExecStepConfig(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig value) { if (windowsExecStepConfigBuilder_ == null) { if (windowsExecStepConfig_ != null) { windowsExecStepConfig_ = - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.newBuilder( - windowsExecStepConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.newBuilder(windowsExecStepConfig_).mergeFrom(value).buildPartial(); } else { windowsExecStepConfig_ = value; } @@ -29276,8 +25684,6 @@ public Builder mergeWindowsExecStepConfig( return this; } /** - * - * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
@@ -29296,42 +25702,33 @@ public Builder clearWindowsExecStepConfig() { return this; } /** - * - * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; */ - public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder - getWindowsExecStepConfigBuilder() { - + public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder getWindowsExecStepConfigBuilder() { + onChanged(); return getWindowsExecStepConfigFieldBuilder().getBuilder(); } /** - * - * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; */ - public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder - getWindowsExecStepConfigOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder getWindowsExecStepConfigOrBuilder() { if (windowsExecStepConfigBuilder_ != null) { return windowsExecStepConfigBuilder_.getMessageOrBuilder(); } else { - return windowsExecStepConfig_ == null - ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() - : windowsExecStepConfig_; + return windowsExecStepConfig_ == null ? + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() : windowsExecStepConfig_; } } /** - * - * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
@@ -29339,22 +25736,18 @@ public Builder clearWindowsExecStepConfig() { * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder> getWindowsExecStepConfigFieldBuilder() { if (windowsExecStepConfigBuilder_ == null) { - windowsExecStepConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder>( - getWindowsExecStepConfig(), getParentForChildren(), isClean()); + windowsExecStepConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder>( + getWindowsExecStepConfig(), + getParentForChildren(), + isClean()); windowsExecStepConfig_ = null; } return windowsExecStepConfigBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -29367,12 +25760,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ExecStep) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ExecStep) private static final com.google.cloud.osconfig.v1.PatchJobs.ExecStep DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.ExecStep(); } @@ -29381,16 +25774,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecStep parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecStep(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecStep parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecStep(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -29405,77 +25798,61 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.ExecStep getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ExecStepConfigOrBuilder - extends + public interface ExecStepConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ExecStepConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; - * * @return Whether the localPath field is set. */ boolean hasLocalPath(); /** - * - * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; - * * @return The localPath. */ java.lang.String getLocalPath(); /** - * - * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; - * * @return The bytes for localPath. */ - com.google.protobuf.ByteString getLocalPathBytes(); + com.google.protobuf.ByteString + getLocalPathBytes(); /** - * - * *
      * A Cloud Storage object containing the executable.
      * 
* * .google.cloud.osconfig.v1.GcsObject gcs_object = 2; - * * @return Whether the gcsObject field is set. */ boolean hasGcsObject(); /** - * - * *
      * A Cloud Storage object containing the executable.
      * 
* * .google.cloud.osconfig.v1.GcsObject gcs_object = 2; - * * @return The gcsObject. */ com.google.cloud.osconfig.v1.PatchJobs.GcsObject getGcsObject(); /** - * - * *
      * A Cloud Storage object containing the executable.
      * 
@@ -29485,49 +25862,38 @@ public interface ExecStepConfigOrBuilder com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder getGcsObjectOrBuilder(); /** - * - * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; - * * @return A list containing the allowedSuccessCodes. */ java.util.List getAllowedSuccessCodesList(); /** - * - * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; - * * @return The count of allowedSuccessCodes. */ int getAllowedSuccessCodesCount(); /** - * - * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; - * * @param index The index of the element to return. * @return The allowedSuccessCodes at the given index. */ int getAllowedSuccessCodes(int index); /** - * - * *
      * The script interpreter to use to run the script. If no interpreter is
      * specified the script will be executed directly, which will likely
@@ -29536,13 +25902,10 @@ public interface ExecStepConfigOrBuilder
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4; - * * @return The enum numeric value on the wire for interpreter. */ int getInterpreterValue(); /** - * - * *
      * The script interpreter to use to run the script. If no interpreter is
      * specified the script will be executed directly, which will likely
@@ -29551,7 +25914,6 @@ public interface ExecStepConfigOrBuilder
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4; - * * @return The interpreter. */ com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter getInterpreter(); @@ -29559,24 +25921,21 @@ public interface ExecStepConfigOrBuilder public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.ExecutableCase getExecutableCase(); } /** - * - * *
    * Common configurations for an ExecStep.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ExecStepConfig} */ - public static final class ExecStepConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ExecStepConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ExecStepConfig) ExecStepConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecStepConfig.newBuilder() to construct. private ExecStepConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExecStepConfig() { allowedSuccessCodes_ = emptyIntList(); interpreter_ = 0; @@ -29584,15 +25943,16 @@ private ExecStepConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExecStepConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExecStepConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -29612,69 +25972,60 @@ private ExecStepConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - executableCase_ = 1; - executable_ = s; - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + executableCase_ = 1; + executable_ = s; + break; + } + case 18: { + com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder subBuilder = null; + if (executableCase_ == 2) { + subBuilder = ((com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_).toBuilder(); } - case 18: - { - com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder subBuilder = null; - if (executableCase_ == 2) { - subBuilder = - ((com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_).toBuilder(); - } - executable_ = - input.readMessage( - com.google.cloud.osconfig.v1.PatchJobs.GcsObject.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_); - executable_ = subBuilder.buildPartial(); - } - executableCase_ = 2; - break; + executable_ = + input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.GcsObject.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_); + executable_ = subBuilder.buildPartial(); } - case 24: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - allowedSuccessCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000001; - } - allowedSuccessCodes_.addInt(input.readInt32()); - break; + executableCase_ = 2; + break; + } + case 24: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + allowedSuccessCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { - allowedSuccessCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000001; - } - while (input.getBytesUntilLimit() > 0) { - allowedSuccessCodes_.addInt(input.readInt32()); - } - input.popLimit(limit); - break; + allowedSuccessCodes_.addInt(input.readInt32()); + break; + } + case 26: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + allowedSuccessCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000001; } - case 32: - { - int rawValue = input.readEnum(); - - interpreter_ = rawValue; - break; + while (input.getBytesUntilLimit() > 0) { + allowedSuccessCodes_.addInt(input.readInt32()); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + input.popLimit(limit); + break; + } + case 32: { + int rawValue = input.readEnum(); + + interpreter_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -29682,7 +26033,8 @@ private ExecStepConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { allowedSuccessCodes_.makeImmutable(); // C @@ -29691,35 +26043,29 @@ private ExecStepConfig( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ExecStepConfig_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStepConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.class, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.class, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder.class); } /** - * - * *
      * The interpreter used to execute the a file.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1.ExecStepConfig.Interpreter} */ - public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { + public enum Interpreter + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Invalid for a Windows ExecStepConfig. For a Linux ExecStepConfig, the
        * interpreter will be parsed from the shebang line of the script if
@@ -29730,8 +26076,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
        */
       INTERPRETER_UNSPECIFIED(0),
       /**
-       *
-       *
        * 
        * Indicates that the script is run with `/bin/sh` on Linux and `cmd`
        * on Windows.
@@ -29741,8 +26085,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
        */
       SHELL(1),
       /**
-       *
-       *
        * 
        * Indicates that the file is run with PowerShell flags
        * `-NonInteractive`, `-NoProfile`, and `-ExecutionPolicy Bypass`.
@@ -29755,8 +26097,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Invalid for a Windows ExecStepConfig. For a Linux ExecStepConfig, the
        * interpreter will be parsed from the shebang line of the script if
@@ -29767,8 +26107,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int INTERPRETER_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * Indicates that the script is run with `/bin/sh` on Linux and `cmd`
        * on Windows.
@@ -29778,8 +26116,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int SHELL_VALUE = 1;
       /**
-       *
-       *
        * 
        * Indicates that the file is run with PowerShell flags
        * `-NonInteractive`, `-NoProfile`, and `-ExecutionPolicy Bypass`.
@@ -29789,6 +26125,7 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int POWERSHELL_VALUE = 2;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -29813,51 +26150,49 @@ public static Interpreter valueOf(int value) {
        */
       public static Interpreter forNumber(int value) {
         switch (value) {
-          case 0:
-            return INTERPRETER_UNSPECIFIED;
-          case 1:
-            return SHELL;
-          case 2:
-            return POWERSHELL;
-          default:
-            return null;
+          case 0: return INTERPRETER_UNSPECIFIED;
+          case 1: return SHELL;
+          case 2: return POWERSHELL;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          Interpreter> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public Interpreter findValueByNumber(int number) {
+                return Interpreter.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Interpreter findValueByNumber(int number) {
-              return Interpreter.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final Interpreter[] VALUES = values();
 
-      public static Interpreter valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Interpreter valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -29876,16 +26211,13 @@ private Interpreter(int value) {
 
     private int executableCase_ = 0;
     private java.lang.Object executable_;
-
     public enum ExecutableCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       LOCAL_PATH(1),
       GCS_OBJECT(2),
       EXECUTABLE_NOT_SET(0);
       private final int value;
-
       private ExecutableCase(int value) {
         this.value = value;
       }
@@ -29901,50 +26233,41 @@ public static ExecutableCase valueOf(int value) {
 
       public static ExecutableCase forNumber(int value) {
         switch (value) {
-          case 1:
-            return LOCAL_PATH;
-          case 2:
-            return GCS_OBJECT;
-          case 0:
-            return EXECUTABLE_NOT_SET;
-          default:
-            return null;
+          case 1: return LOCAL_PATH;
+          case 2: return GCS_OBJECT;
+          case 0: return EXECUTABLE_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ExecutableCase getExecutableCase() {
-      return ExecutableCase.forNumber(executableCase_);
+    public ExecutableCase
+    getExecutableCase() {
+      return ExecutableCase.forNumber(
+          executableCase_);
     }
 
     public static final int LOCAL_PATH_FIELD_NUMBER = 1;
     /**
-     *
-     *
      * 
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; - * * @return Whether the localPath field is set. */ public boolean hasLocalPath() { return executableCase_ == 1; } /** - * - * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; - * * @return The localPath. */ public java.lang.String getLocalPath() { @@ -29955,7 +26278,8 @@ public java.lang.String getLocalPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (executableCase_ == 1) { executable_ = s; @@ -29964,24 +26288,23 @@ public java.lang.String getLocalPath() { } } /** - * - * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; - * * @return The bytes for localPath. */ - public com.google.protobuf.ByteString getLocalPathBytes() { + public com.google.protobuf.ByteString + getLocalPathBytes() { java.lang.Object ref = ""; if (executableCase_ == 1) { ref = executable_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (executableCase_ == 1) { executable_ = b; } @@ -29993,14 +26316,11 @@ public com.google.protobuf.ByteString getLocalPathBytes() { public static final int GCS_OBJECT_FIELD_NUMBER = 2; /** - * - * *
      * A Cloud Storage object containing the executable.
      * 
* * .google.cloud.osconfig.v1.GcsObject gcs_object = 2; - * * @return Whether the gcsObject field is set. */ @java.lang.Override @@ -30008,26 +26328,21 @@ public boolean hasGcsObject() { return executableCase_ == 2; } /** - * - * *
      * A Cloud Storage object containing the executable.
      * 
* * .google.cloud.osconfig.v1.GcsObject gcs_object = 2; - * * @return The gcsObject. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.GcsObject getGcsObject() { if (executableCase_ == 2) { - return (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_; + return (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_; } return com.google.cloud.osconfig.v1.PatchJobs.GcsObject.getDefaultInstance(); } /** - * - * *
      * A Cloud Storage object containing the executable.
      * 
@@ -30037,7 +26352,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.GcsObject getGcsObject() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder getGcsObjectOrBuilder() { if (executableCase_ == 2) { - return (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_; + return (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_; } return com.google.cloud.osconfig.v1.PatchJobs.GcsObject.getDefaultInstance(); } @@ -30045,60 +26360,49 @@ public com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder getGcsObjectOrB public static final int ALLOWED_SUCCESS_CODES_FIELD_NUMBER = 3; private com.google.protobuf.Internal.IntList allowedSuccessCodes_; /** - * - * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; - * * @return A list containing the allowedSuccessCodes. */ @java.lang.Override - public java.util.List getAllowedSuccessCodesList() { + public java.util.List + getAllowedSuccessCodesList() { return allowedSuccessCodes_; } /** - * - * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; - * * @return The count of allowedSuccessCodes. */ public int getAllowedSuccessCodesCount() { return allowedSuccessCodes_.size(); } /** - * - * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; - * * @param index The index of the element to return. * @return The allowedSuccessCodes at the given index. */ public int getAllowedSuccessCodes(int index) { return allowedSuccessCodes_.getInt(index); } - private int allowedSuccessCodesMemoizedSerializedSize = -1; public static final int INTERPRETER_FIELD_NUMBER = 4; private int interpreter_; /** - * - * *
      * The script interpreter to use to run the script. If no interpreter is
      * specified the script will be executed directly, which will likely
@@ -30107,16 +26411,12 @@ public int getAllowedSuccessCodes(int index) {
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4; - * * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override - public int getInterpreterValue() { + @java.lang.Override public int getInterpreterValue() { return interpreter_; } /** - * - * *
      * The script interpreter to use to run the script. If no interpreter is
      * specified the script will be executed directly, which will likely
@@ -30125,21 +26425,15 @@ public int getInterpreterValue() {
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4; - * * @return The interpreter. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter getInterpreter() { + @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter result = - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.valueOf(interpreter_); - return result == null - ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter result = com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.valueOf(interpreter_); + return result == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -30151,7 +26445,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (executableCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, executable_); @@ -30166,10 +26461,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < allowedSuccessCodes_.size(); i++) { output.writeInt32NoTag(allowedSuccessCodes_.getInt(i)); } - if (interpreter_ - != com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter - .INTERPRETER_UNSPECIFIED - .getNumber()) { + if (interpreter_ != com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { output.writeEnum(4, interpreter_); } unknownFields.writeTo(output); @@ -30185,29 +26477,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, executable_); } if (executableCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_); } { int dataSize = 0; for (int i = 0; i < allowedSuccessCodes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag( - allowedSuccessCodes_.getInt(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(allowedSuccessCodes_.getInt(i)); } size += dataSize; if (!getAllowedSuccessCodesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } allowedSuccessCodesMemoizedSerializedSize = dataSize; } - if (interpreter_ - != com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter - .INTERPRETER_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, interpreter_); + if (interpreter_ != com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, interpreter_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -30217,23 +26506,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig other = - (com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig) obj; + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig other = (com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig) obj; - if (!getAllowedSuccessCodesList().equals(other.getAllowedSuccessCodesList())) return false; + if (!getAllowedSuccessCodesList() + .equals(other.getAllowedSuccessCodesList())) return false; if (interpreter_ != other.interpreter_) return false; if (!getExecutableCase().equals(other.getExecutableCase())) return false; switch (executableCase_) { case 1: - if (!getLocalPath().equals(other.getLocalPath())) return false; + if (!getLocalPath() + .equals(other.getLocalPath())) return false; break; case 2: - if (!getGcsObject().equals(other.getGcsObject())) return false; + if (!getGcsObject() + .equals(other.getGcsObject())) return false; break; case 0: default: @@ -30273,94 +26564,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig 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.osconfig.v1.PatchJobs.ExecStepConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -30370,32 +26654,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Common configurations for an ExecStep.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.ExecStepConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ExecStepConfig) com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ExecStepConfig_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStepConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.class, - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.class, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.newBuilder() @@ -30403,15 +26682,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -30425,9 +26705,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor; } @java.lang.Override @@ -30446,8 +26726,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig result = - new com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig(this); + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig result = new com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig(this); int from_bitField0_ = bitField0_; if (executableCase_ == 1) { result.executable_ = executable_; @@ -30474,41 +26753,38 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.ExecStepConfig) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig) other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig)other); } else { super.mergeFrom(other); return this; @@ -30516,8 +26792,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig other) { - if (other == com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance()) return this; if (!other.allowedSuccessCodes_.isEmpty()) { if (allowedSuccessCodes_.isEmpty()) { allowedSuccessCodes_ = other.allowedSuccessCodes_; @@ -30532,22 +26807,19 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig o setInterpreterValue(other.getInterpreterValue()); } switch (other.getExecutableCase()) { - case LOCAL_PATH: - { - executableCase_ = 1; - executable_ = other.executable_; - onChanged(); - break; - } - case GCS_OBJECT: - { - mergeGcsObject(other.getGcsObject()); - break; - } - case EXECUTABLE_NOT_SET: - { - break; - } + case LOCAL_PATH: { + executableCase_ = 1; + executable_ = other.executable_; + onChanged(); + break; + } + case GCS_OBJECT: { + mergeGcsObject(other.getGcsObject()); + break; + } + case EXECUTABLE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -30568,8 +26840,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -30578,12 +26849,12 @@ public Builder mergeFrom( } return this; } - private int executableCase_ = 0; private java.lang.Object executable_; - - public ExecutableCase getExecutableCase() { - return ExecutableCase.forNumber(executableCase_); + public ExecutableCase + getExecutableCase() { + return ExecutableCase.forNumber( + executableCase_); } public Builder clearExecutable() { @@ -30596,14 +26867,11 @@ public Builder clearExecutable() { private int bitField0_; /** - * - * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; - * * @return Whether the localPath field is set. */ @java.lang.Override @@ -30611,14 +26879,11 @@ public boolean hasLocalPath() { return executableCase_ == 1; } /** - * - * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; - * * @return The localPath. */ @java.lang.Override @@ -30628,7 +26893,8 @@ public java.lang.String getLocalPath() { ref = executable_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (executableCase_ == 1) { executable_ = s; @@ -30639,25 +26905,24 @@ public java.lang.String getLocalPath() { } } /** - * - * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; - * * @return The bytes for localPath. */ @java.lang.Override - public com.google.protobuf.ByteString getLocalPathBytes() { + public com.google.protobuf.ByteString + getLocalPathBytes() { java.lang.Object ref = ""; if (executableCase_ == 1) { ref = executable_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (executableCase_ == 1) { executable_ = b; } @@ -30667,35 +26932,30 @@ public com.google.protobuf.ByteString getLocalPathBytes() { } } /** - * - * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; - * * @param value The localPath to set. * @return This builder for chaining. */ - public Builder setLocalPath(java.lang.String value) { + public Builder setLocalPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - executableCase_ = 1; + throw new NullPointerException(); + } + executableCase_ = 1; executable_ = value; onChanged(); return this; } /** - * - * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; - * * @return This builder for chaining. */ public Builder clearLocalPath() { @@ -30707,22 +26967,20 @@ public Builder clearLocalPath() { return this; } /** - * - * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; - * * @param value The bytes for localPath to set. * @return This builder for chaining. */ - public Builder setLocalPathBytes(com.google.protobuf.ByteString value) { + public Builder setLocalPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); executableCase_ = 1; executable_ = value; onChanged(); @@ -30730,19 +26988,13 @@ public Builder setLocalPathBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.GcsObject, - com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder, - com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder> - gcsObjectBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.GcsObject, com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder, com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder> gcsObjectBuilder_; /** - * - * *
        * A Cloud Storage object containing the executable.
        * 
* * .google.cloud.osconfig.v1.GcsObject gcs_object = 2; - * * @return Whether the gcsObject field is set. */ @java.lang.Override @@ -30750,14 +27002,11 @@ public boolean hasGcsObject() { return executableCase_ == 2; } /** - * - * *
        * A Cloud Storage object containing the executable.
        * 
* * .google.cloud.osconfig.v1.GcsObject gcs_object = 2; - * * @return The gcsObject. */ @java.lang.Override @@ -30775,8 +27024,6 @@ public com.google.cloud.osconfig.v1.PatchJobs.GcsObject getGcsObject() { } } /** - * - * *
        * A Cloud Storage object containing the executable.
        * 
@@ -30797,8 +27044,6 @@ public Builder setGcsObject(com.google.cloud.osconfig.v1.PatchJobs.GcsObject val return this; } /** - * - * *
        * A Cloud Storage object containing the executable.
        * 
@@ -30817,8 +27062,6 @@ public Builder setGcsObject( return this; } /** - * - * *
        * A Cloud Storage object containing the executable.
        * 
@@ -30827,14 +27070,10 @@ public Builder setGcsObject( */ public Builder mergeGcsObject(com.google.cloud.osconfig.v1.PatchJobs.GcsObject value) { if (gcsObjectBuilder_ == null) { - if (executableCase_ == 2 - && executable_ - != com.google.cloud.osconfig.v1.PatchJobs.GcsObject.getDefaultInstance()) { - executable_ = - com.google.cloud.osconfig.v1.PatchJobs.GcsObject.newBuilder( - (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_) - .mergeFrom(value) - .buildPartial(); + if (executableCase_ == 2 && + executable_ != com.google.cloud.osconfig.v1.PatchJobs.GcsObject.getDefaultInstance()) { + executable_ = com.google.cloud.osconfig.v1.PatchJobs.GcsObject.newBuilder((com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_) + .mergeFrom(value).buildPartial(); } else { executable_ = value; } @@ -30850,8 +27089,6 @@ public Builder mergeGcsObject(com.google.cloud.osconfig.v1.PatchJobs.GcsObject v return this; } /** - * - * *
        * A Cloud Storage object containing the executable.
        * 
@@ -30875,8 +27112,6 @@ public Builder clearGcsObject() { return this; } /** - * - * *
        * A Cloud Storage object containing the executable.
        * 
@@ -30887,8 +27122,6 @@ public com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder getGcsObjectBuil return getGcsObjectFieldBuilder().getBuilder(); } /** - * - * *
        * A Cloud Storage object containing the executable.
        * 
@@ -30907,8 +27140,6 @@ public com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder getGcsObjectOrB } } /** - * - * *
        * A Cloud Storage object containing the executable.
        * 
@@ -30916,80 +27147,64 @@ public com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder getGcsObjectOrB * .google.cloud.osconfig.v1.GcsObject gcs_object = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.GcsObject, - com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder, - com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.GcsObject, com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder, com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder> getGcsObjectFieldBuilder() { if (gcsObjectBuilder_ == null) { if (!(executableCase_ == 2)) { executable_ = com.google.cloud.osconfig.v1.PatchJobs.GcsObject.getDefaultInstance(); } - gcsObjectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.GcsObject, - com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder, - com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder>( + gcsObjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.GcsObject, com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder, com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder>( (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_, getParentForChildren(), isClean()); executable_ = null; } executableCase_ = 2; - onChanged(); - ; + onChanged();; return gcsObjectBuilder_; } private com.google.protobuf.Internal.IntList allowedSuccessCodes_ = emptyIntList(); - private void ensureAllowedSuccessCodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { allowedSuccessCodes_ = mutableCopy(allowedSuccessCodes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; - * * @return A list containing the allowedSuccessCodes. */ - public java.util.List getAllowedSuccessCodesList() { - return ((bitField0_ & 0x00000001) != 0) - ? java.util.Collections.unmodifiableList(allowedSuccessCodes_) - : allowedSuccessCodes_; + public java.util.List + getAllowedSuccessCodesList() { + return ((bitField0_ & 0x00000001) != 0) ? + java.util.Collections.unmodifiableList(allowedSuccessCodes_) : allowedSuccessCodes_; } /** - * - * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; - * * @return The count of allowedSuccessCodes. */ public int getAllowedSuccessCodesCount() { return allowedSuccessCodes_.size(); } /** - * - * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; - * * @param index The index of the element to return. * @return The allowedSuccessCodes at the given index. */ @@ -30997,35 +27212,30 @@ public int getAllowedSuccessCodes(int index) { return allowedSuccessCodes_.getInt(index); } /** - * - * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; - * * @param index The index to set the value at. * @param value The allowedSuccessCodes to set. * @return This builder for chaining. */ - public Builder setAllowedSuccessCodes(int index, int value) { + public Builder setAllowedSuccessCodes( + int index, int value) { ensureAllowedSuccessCodesIsMutable(); allowedSuccessCodes_.setInt(index, value); onChanged(); return this; } /** - * - * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; - * * @param value The allowedSuccessCodes to add. * @return This builder for chaining. */ @@ -31036,35 +27246,30 @@ public Builder addAllowedSuccessCodes(int value) { return this; } /** - * - * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; - * * @param values The allowedSuccessCodes to add. * @return This builder for chaining. */ public Builder addAllAllowedSuccessCodes( java.lang.Iterable values) { ensureAllowedSuccessCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedSuccessCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, allowedSuccessCodes_); onChanged(); return this; } /** - * - * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; - * * @return This builder for chaining. */ public Builder clearAllowedSuccessCodes() { @@ -31076,8 +27281,6 @@ public Builder clearAllowedSuccessCodes() { private int interpreter_ = 0; /** - * - * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -31086,16 +27289,12 @@ public Builder clearAllowedSuccessCodes() {
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4; - * * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override - public int getInterpreterValue() { + @java.lang.Override public int getInterpreterValue() { return interpreter_; } /** - * - * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -31104,19 +27303,16 @@ public int getInterpreterValue() {
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4; - * * @param value The enum numeric value on the wire for interpreter to set. * @return This builder for chaining. */ public Builder setInterpreterValue(int value) { - + interpreter_ = value; onChanged(); return this; } /** - * - * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -31125,21 +27321,15 @@ public Builder setInterpreterValue(int value) {
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4; - * * @return The interpreter. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter result = - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.valueOf(interpreter_); - return result == null - ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter result = com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.valueOf(interpreter_); + return result == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.UNRECOGNIZED : result; } /** - * - * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -31148,23 +27338,19 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter getInte
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4; - * * @param value The interpreter to set. * @return This builder for chaining. */ - public Builder setInterpreter( - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter value) { + public Builder setInterpreter(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter value) { if (value == null) { throw new NullPointerException(); } - + interpreter_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -31173,16 +27359,14 @@ public Builder setInterpreter(
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4; - * * @return This builder for chaining. */ public Builder clearInterpreter() { - + interpreter_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -31195,12 +27379,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ExecStepConfig) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ExecStepConfig) private static final com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig(); } @@ -31209,16 +27393,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecStepConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecStepConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecStepConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecStepConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -31233,96 +27417,80 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GcsObjectOrBuilder - extends + public interface GcsObjectOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.GcsObject) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Bucket of the Cloud Storage object.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucket. */ java.lang.String getBucket(); /** - * - * *
      * Required. Bucket of the Cloud Storage object.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucket. */ - com.google.protobuf.ByteString getBucketBytes(); + com.google.protobuf.ByteString + getBucketBytes(); /** - * - * *
      * Required. Name of the Cloud Storage object.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The object. */ java.lang.String getObject(); /** - * - * *
      * Required. Name of the Cloud Storage object.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for object. */ - com.google.protobuf.ByteString getObjectBytes(); + com.google.protobuf.ByteString + getObjectBytes(); /** - * - * *
      * Required. Generation number of the Cloud Storage object. This is used to
      * ensure that the ExecStep specified by this PatchJob does not change.
      * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The generationNumber. */ long getGenerationNumber(); } /** - * - * *
    * Cloud Storage object representation.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.GcsObject} */ - public static final class GcsObject extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GcsObject extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.GcsObject) GcsObjectOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsObject.newBuilder() to construct. private GcsObject(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcsObject() { bucket_ = ""; object_ = ""; @@ -31330,15 +27498,16 @@ private GcsObject() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcsObject(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GcsObject( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -31357,32 +27526,30 @@ private GcsObject( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - bucket_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + bucket_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - object_ = s; - break; - } - case 24: - { - generationNumber_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + object_ = s; + break; + } + case 24: { + + generationNumber_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -31390,39 +27557,34 @@ private GcsObject( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_GcsObject_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GcsObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_GcsObject_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GcsObject_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.GcsObject.class, - com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.GcsObject.class, com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder.class); } public static final int BUCKET_FIELD_NUMBER = 1; private volatile java.lang.Object bucket_; /** - * - * *
      * Required. Bucket of the Cloud Storage object.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucket. */ @java.lang.Override @@ -31431,29 +27593,29 @@ public java.lang.String getBucket() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; } } /** - * - * *
      * Required. Bucket of the Cloud Storage object.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucket. */ @java.lang.Override - public com.google.protobuf.ByteString getBucketBytes() { + public com.google.protobuf.ByteString + getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bucket_ = b; return b; } else { @@ -31464,14 +27626,11 @@ public com.google.protobuf.ByteString getBucketBytes() { public static final int OBJECT_FIELD_NUMBER = 2; private volatile java.lang.Object object_; /** - * - * *
      * Required. Name of the Cloud Storage object.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The object. */ @java.lang.Override @@ -31480,29 +27639,29 @@ public java.lang.String getObject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; } } /** - * - * *
      * Required. Name of the Cloud Storage object.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for object. */ @java.lang.Override - public com.google.protobuf.ByteString getObjectBytes() { + public com.google.protobuf.ByteString + getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); object_ = b; return b; } else { @@ -31513,15 +27672,12 @@ public com.google.protobuf.ByteString getObjectBytes() { public static final int GENERATION_NUMBER_FIELD_NUMBER = 3; private long generationNumber_; /** - * - * *
      * Required. Generation number of the Cloud Storage object. This is used to
      * ensure that the ExecStep specified by this PatchJob does not change.
      * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The generationNumber. */ @java.lang.Override @@ -31530,7 +27686,6 @@ public long getGenerationNumber() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -31542,7 +27697,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucket_); } @@ -31568,7 +27724,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, object_); } if (generationNumber_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, generationNumber_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, generationNumber_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -31578,17 +27735,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.GcsObject)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.GcsObject other = - (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) obj; + com.google.cloud.osconfig.v1.PatchJobs.GcsObject other = (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) obj; - if (!getBucket().equals(other.getBucket())) return false; - if (!getObject().equals(other.getObject())) return false; - if (getGenerationNumber() != other.getGenerationNumber()) return false; + if (!getBucket() + .equals(other.getBucket())) return false; + if (!getObject() + .equals(other.getObject())) return false; + if (getGenerationNumber() + != other.getGenerationNumber()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -31605,100 +27764,95 @@ public int hashCode() { hash = (37 * hash) + OBJECT_FIELD_NUMBER; hash = (53 * hash) + getObject().hashCode(); hash = (37 * hash) + GENERATION_NUMBER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGenerationNumber()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getGenerationNumber()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject 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.osconfig.v1.PatchJobs.GcsObject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.GcsObject prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -31708,32 +27862,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Cloud Storage object representation.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.GcsObject} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.GcsObject) com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_GcsObject_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GcsObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_GcsObject_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GcsObject_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.GcsObject.class, - com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.GcsObject.class, com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.GcsObject.newBuilder() @@ -31741,15 +27890,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -31763,9 +27913,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs - .internal_static_google_cloud_osconfig_v1_GcsObject_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GcsObject_descriptor; } @java.lang.Override @@ -31784,8 +27934,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.GcsObject build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.GcsObject buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.GcsObject result = - new com.google.cloud.osconfig.v1.PatchJobs.GcsObject(this); + com.google.cloud.osconfig.v1.PatchJobs.GcsObject result = new com.google.cloud.osconfig.v1.PatchJobs.GcsObject(this); result.bucket_ = bucket_; result.object_ = object_; result.generationNumber_ = generationNumber_; @@ -31797,41 +27946,38 @@ public com.google.cloud.osconfig.v1.PatchJobs.GcsObject buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.GcsObject) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.GcsObject) other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.GcsObject)other); } else { super.mergeFrom(other); return this; @@ -31839,8 +27985,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.GcsObject other) { - if (other == com.google.cloud.osconfig.v1.PatchJobs.GcsObject.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.PatchJobs.GcsObject.getDefaultInstance()) return this; if (!other.getBucket().isEmpty()) { bucket_ = other.bucket_; onChanged(); @@ -31871,8 +28016,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -31884,20 +28028,18 @@ public Builder mergeFrom( private java.lang.Object bucket_ = ""; /** - * - * *
        * Required. Bucket of the Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucket. */ public java.lang.String getBucket() { java.lang.Object ref = bucket_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; @@ -31906,21 +28048,20 @@ public java.lang.String getBucket() { } } /** - * - * *
        * Required. Bucket of the Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucket. */ - public com.google.protobuf.ByteString getBucketBytes() { + public com.google.protobuf.ByteString + getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bucket_ = b; return b; } else { @@ -31928,61 +28069,54 @@ public com.google.protobuf.ByteString getBucketBytes() { } } /** - * - * *
        * Required. Bucket of the Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bucket to set. * @return This builder for chaining. */ - public Builder setBucket(java.lang.String value) { + public Builder setBucket( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucket_ = value; onChanged(); return this; } /** - * - * *
        * Required. Bucket of the Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBucket() { - + bucket_ = getDefaultInstance().getBucket(); onChanged(); return this; } /** - * - * *
        * Required. Bucket of the Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for bucket to set. * @return This builder for chaining. */ - public Builder setBucketBytes(com.google.protobuf.ByteString value) { + public Builder setBucketBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucket_ = value; onChanged(); return this; @@ -31990,20 +28124,18 @@ public Builder setBucketBytes(com.google.protobuf.ByteString value) { private java.lang.Object object_ = ""; /** - * - * *
        * Required. Name of the Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The object. */ public java.lang.String getObject() { java.lang.Object ref = object_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; @@ -32012,21 +28144,20 @@ public java.lang.String getObject() { } } /** - * - * *
        * Required. Name of the Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for object. */ - public com.google.protobuf.ByteString getObjectBytes() { + public com.google.protobuf.ByteString + getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); object_ = b; return b; } else { @@ -32034,77 +28165,67 @@ public com.google.protobuf.ByteString getObjectBytes() { } } /** - * - * *
        * Required. Name of the Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The object to set. * @return This builder for chaining. */ - public Builder setObject(java.lang.String value) { + public Builder setObject( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + object_ = value; onChanged(); return this; } /** - * - * *
        * Required. Name of the Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearObject() { - + object_ = getDefaultInstance().getObject(); onChanged(); return this; } /** - * - * *
        * Required. Name of the Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for object to set. * @return This builder for chaining. */ - public Builder setObjectBytes(com.google.protobuf.ByteString value) { + public Builder setObjectBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + object_ = value; onChanged(); return this; } - private long generationNumber_; + private long generationNumber_ ; /** - * - * *
        * Required. Generation number of the Cloud Storage object. This is used to
        * ensure that the ExecStep specified by this PatchJob does not change.
        * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The generationNumber. */ @java.lang.Override @@ -32112,43 +28233,36 @@ public long getGenerationNumber() { return generationNumber_; } /** - * - * *
        * Required. Generation number of the Cloud Storage object. This is used to
        * ensure that the ExecStep specified by this PatchJob does not change.
        * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The generationNumber to set. * @return This builder for chaining. */ public Builder setGenerationNumber(long value) { - + generationNumber_ = value; onChanged(); return this; } /** - * - * *
        * Required. Generation number of the Cloud Storage object. This is used to
        * ensure that the ExecStep specified by this PatchJob does not change.
        * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearGenerationNumber() { - + generationNumber_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -32161,12 +28275,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.GcsObject) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.GcsObject) private static final com.google.cloud.osconfig.v1.PatchJobs.GcsObject DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.GcsObject(); } @@ -32175,16 +28289,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsObject parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsObject(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsObject parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsObject(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -32199,151 +28313,119 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.GcsObject getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PatchInstanceFilterOrBuilder - extends + public interface PatchInstanceFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.PatchInstanceFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Target all VM instances in the project. If true, no other criteria is
      * permitted.
      * 
* * bool all = 1; - * * @return The all. */ boolean getAll(); /** - * - * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ - java.util.List + java.util.List getGroupLabelsList(); /** - * - * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels(int index); /** - * - * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ int getGroupLabelsCount(); /** - * - * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> + java.util.List getGroupLabelsOrBuilderList(); /** - * - * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder - getGroupLabelsOrBuilder(int index); + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder getGroupLabelsOrBuilder( + int index); /** - * - * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; - * * @return A list containing the zones. */ - java.util.List getZonesList(); + java.util.List + getZonesList(); /** - * - * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; - * * @return The count of zones. */ int getZonesCount(); /** - * - * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; - * * @param index The index of the element to return. * @return The zones at the given index. */ java.lang.String getZones(int index); /** - * - * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; - * * @param index The index of the value to return. * @return The bytes of the zones at the given index. */ - com.google.protobuf.ByteString getZonesBytes(int index); + com.google.protobuf.ByteString + getZonesBytes(int index); /** - * - * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -32352,13 +28434,11 @@ public interface PatchInstanceFilterOrBuilder
      * 
* * repeated string instances = 4; - * * @return A list containing the instances. */ - java.util.List getInstancesList(); + java.util.List + getInstancesList(); /** - * - * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -32367,13 +28447,10 @@ public interface PatchInstanceFilterOrBuilder
      * 
* * repeated string instances = 4; - * * @return The count of instances. */ int getInstancesCount(); /** - * - * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -32382,14 +28459,11 @@ public interface PatchInstanceFilterOrBuilder
      * 
* * repeated string instances = 4; - * * @param index The index of the element to return. * @return The instances at the given index. */ java.lang.String getInstances(int index); /** - * - * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -32398,15 +28472,13 @@ public interface PatchInstanceFilterOrBuilder
      * 
* * repeated string instances = 4; - * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - com.google.protobuf.ByteString getInstancesBytes(int index); + com.google.protobuf.ByteString + getInstancesBytes(int index); /** - * - * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -32414,13 +28486,11 @@ public interface PatchInstanceFilterOrBuilder
      * 
* * repeated string instance_name_prefixes = 5; - * * @return A list containing the instanceNamePrefixes. */ - java.util.List getInstanceNamePrefixesList(); + java.util.List + getInstanceNamePrefixesList(); /** - * - * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -32428,13 +28498,10 @@ public interface PatchInstanceFilterOrBuilder
      * 
* * repeated string instance_name_prefixes = 5; - * * @return The count of instanceNamePrefixes. */ int getInstanceNamePrefixesCount(); /** - * - * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -32442,14 +28509,11 @@ public interface PatchInstanceFilterOrBuilder
      * 
* * repeated string instance_name_prefixes = 5; - * * @param index The index of the element to return. * @return The instanceNamePrefixes at the given index. */ java.lang.String getInstanceNamePrefixes(int index); /** - * - * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -32457,15 +28521,13 @@ public interface PatchInstanceFilterOrBuilder
      * 
* * repeated string instance_name_prefixes = 5; - * * @param index The index of the value to return. * @return The bytes of the instanceNamePrefixes at the given index. */ - com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index); + com.google.protobuf.ByteString + getInstanceNamePrefixesBytes(int index); } /** - * - * *
    * A filter to target VM instances for patching. The targeted
    * VMs must meet all criteria specified. So if both labels and zones are
@@ -32475,16 +28537,15 @@ public interface PatchInstanceFilterOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1.PatchInstanceFilter}
    */
-  public static final class PatchInstanceFilter extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PatchInstanceFilter extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.PatchInstanceFilter)
       PatchInstanceFilterOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PatchInstanceFilter.newBuilder() to construct.
     private PatchInstanceFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PatchInstanceFilter() {
       groupLabels_ = java.util.Collections.emptyList();
       zones_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -32494,15 +28555,16 @@ private PatchInstanceFilter() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PatchInstanceFilter();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PatchInstanceFilter(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -32522,63 +28584,54 @@ private PatchInstanceFilter(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                all_ = input.readBool();
-                break;
-              }
-            case 18:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  groupLabels_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel>();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                groupLabels_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
-                            .parser(),
-                        extensionRegistry));
-                break;
+            case 8: {
+
+              all_ = input.readBool();
+              break;
+            }
+            case 18: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                groupLabels_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  zones_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                zones_.add(s);
-                break;
+              groupLabels_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.parser(), extensionRegistry));
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                zones_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                  instances_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000004;
-                }
-                instances_.add(s);
-                break;
+              zones_.add(s);
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                instances_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000004;
               }
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-                  instanceNamePrefixes_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000008;
-                }
-                instanceNamePrefixes_.add(s);
-                break;
+              instances_.add(s);
+              break;
+            }
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+                instanceNamePrefixes_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000008;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              instanceNamePrefixes_.add(s);
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -32586,7 +28639,8 @@ private PatchInstanceFilter(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           groupLabels_ = java.util.Collections.unmodifiableList(groupLabels_);
@@ -32604,30 +28658,24 @@ private PatchInstanceFilter(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchJobs
-          .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchJobs
-          .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.class,
-              com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder.class);
+              com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.class, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder.class);
     }
 
-    public interface GroupLabelOrBuilder
-        extends
+    public interface GroupLabelOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * Compute Engine instance labels that must be present for a VM
        * instance to be targeted by this filter.
@@ -32637,8 +28685,6 @@ public interface GroupLabelOrBuilder
        */
       int getLabelsCount();
       /**
-       *
-       *
        * 
        * Compute Engine instance labels that must be present for a VM
        * instance to be targeted by this filter.
@@ -32646,13 +28692,15 @@ public interface GroupLabelOrBuilder
        *
        * map<string, string> labels = 1;
        */
-      boolean containsLabels(java.lang.String key);
-      /** Use {@link #getLabelsMap()} instead. */
+      boolean containsLabels(
+          java.lang.String key);
+      /**
+       * Use {@link #getLabelsMap()} instead.
+       */
       @java.lang.Deprecated
-      java.util.Map getLabels();
+      java.util.Map
+      getLabels();
       /**
-       *
-       *
        * 
        * Compute Engine instance labels that must be present for a VM
        * instance to be targeted by this filter.
@@ -32660,10 +28708,9 @@ public interface GroupLabelOrBuilder
        *
        * map<string, string> labels = 1;
        */
-      java.util.Map getLabelsMap();
+      java.util.Map
+      getLabelsMap();
       /**
-       *
-       *
        * 
        * Compute Engine instance labels that must be present for a VM
        * instance to be targeted by this filter.
@@ -32673,13 +28720,11 @@ public interface GroupLabelOrBuilder
        */
 
       /* nullable */
-      java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
           java.lang.String key,
           /* nullable */
-          java.lang.String defaultValue);
+java.lang.String defaultValue);
       /**
-       *
-       *
        * 
        * Compute Engine instance labels that must be present for a VM
        * instance to be targeted by this filter.
@@ -32687,11 +28732,11 @@ java.lang.String getLabelsOrDefault(
        *
        * map<string, string> labels = 1;
        */
-      java.lang.String getLabelsOrThrow(java.lang.String key);
+
+      java.lang.String getLabelsOrThrow(
+          java.lang.String key);
     }
     /**
-     *
-     *
      * 
      * Targets a group of VM instances by using their [assigned
      * labels](https://cloud.google.com/compute/docs/labeling-resources). Labels
@@ -32704,29 +28749,30 @@ java.lang.String getLabelsOrDefault(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel}
      */
-    public static final class GroupLabel extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class GroupLabel extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel)
         GroupLabelOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use GroupLabel.newBuilder() to construct.
       private GroupLabel(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private GroupLabel() {}
+      private GroupLabel() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new GroupLabel();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private GroupLabel(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -32746,28 +28792,26 @@ private GroupLabel(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                    labels_ =
-                        com.google.protobuf.MapField.newMapField(
-                            LabelsDefaultEntryHolder.defaultEntry);
-                    mutable_bitField0_ |= 0x00000001;
-                  }
-                  com.google.protobuf.MapEntry labels__ =
-                      input.readMessage(
-                          LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                          extensionRegistry);
-                  labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-                  break;
+              case 10: {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  labels_ = com.google.protobuf.MapField.newMapField(
+                      LabelsDefaultEntryHolder.defaultEntry);
+                  mutable_bitField0_ |= 0x00000001;
                 }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+                com.google.protobuf.MapEntry
+                labels__ = input.readMessage(
+                    LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+                labels_.getMutableMap().put(
+                    labels__.getKey(), labels__.getValue());
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -32775,59 +28819,57 @@ private GroupLabel(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor;
       }
 
       @SuppressWarnings({"rawtypes"})
       @java.lang.Override
-      protected com.google.protobuf.MapField internalGetMapField(int number) {
+      protected com.google.protobuf.MapField internalGetMapField(
+          int number) {
         switch (number) {
           case 1:
             return internalGetLabels();
           default:
-            throw new RuntimeException("Invalid map field number: " + number);
+            throw new RuntimeException(
+                "Invalid map field number: " + number);
         }
       }
-
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.class,
-                com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder
-                    .class);
+                com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.class, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder.class);
       }
 
       public static final int LABELS_FIELD_NUMBER = 1;
-
       private static final class LabelsDefaultEntryHolder {
-        static final com.google.protobuf.MapEntry defaultEntry =
-            com.google.protobuf.MapEntry.newDefaultInstance(
-                com.google.cloud.osconfig.v1.PatchJobs
-                    .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor,
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
-      }
-
-      private com.google.protobuf.MapField labels_;
-
-      private com.google.protobuf.MapField internalGetLabels() {
+        static final com.google.protobuf.MapEntry<
+            java.lang.String, java.lang.String> defaultEntry =
+                com.google.protobuf.MapEntry
+                .newDefaultInstance(
+                    com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor, 
+                    com.google.protobuf.WireFormat.FieldType.STRING,
+                    "",
+                    com.google.protobuf.WireFormat.FieldType.STRING,
+                    "");
+      }
+      private com.google.protobuf.MapField<
+          java.lang.String, java.lang.String> labels_;
+      private com.google.protobuf.MapField
+      internalGetLabels() {
         if (labels_ == null) {
-          return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+          return com.google.protobuf.MapField.emptyMapField(
+              LabelsDefaultEntryHolder.defaultEntry);
         }
         return labels_;
       }
@@ -32836,8 +28878,6 @@ public int getLabelsCount() {
         return internalGetLabels().getMap().size();
       }
       /**
-       *
-       *
        * 
        * Compute Engine instance labels that must be present for a VM
        * instance to be targeted by this filter.
@@ -32845,22 +28885,22 @@ public int getLabelsCount() {
        *
        * map<string, string> labels = 1;
        */
+
       @java.lang.Override
-      public boolean containsLabels(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public boolean containsLabels(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         return internalGetLabels().getMap().containsKey(key);
       }
-      /** Use {@link #getLabelsMap()} instead. */
+      /**
+       * Use {@link #getLabelsMap()} instead.
+       */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getLabels() {
         return getLabelsMap();
       }
       /**
-       *
-       *
        * 
        * Compute Engine instance labels that must be present for a VM
        * instance to be targeted by this filter.
@@ -32869,12 +28909,11 @@ public java.util.Map getLabels() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
+
       public java.util.Map getLabelsMap() {
         return internalGetLabels().getMap();
       }
       /**
-       *
-       *
        * 
        * Compute Engine instance labels that must be present for a VM
        * instance to be targeted by this filter.
@@ -32883,17 +28922,16 @@ public java.util.Map getLabelsMap() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
+
       public java.lang.String getLabelsOrDefault(
-          java.lang.String key, java.lang.String defaultValue) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetLabels().getMap();
+          java.lang.String key,
+          java.lang.String defaultValue) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetLabels().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
-       *
-       *
        * 
        * Compute Engine instance labels that must be present for a VM
        * instance to be targeted by this filter.
@@ -32902,11 +28940,12 @@ public java.lang.String getLabelsOrDefault(
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-      public java.lang.String getLabelsOrThrow(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetLabels().getMap();
+
+      public java.lang.String getLabelsOrThrow(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetLabels().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
@@ -32914,7 +28953,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
       }
 
       private byte memoizedIsInitialized = -1;
-
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -32926,9 +28964,14 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-        com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-            output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 1);
+      public void writeTo(com.google.protobuf.CodedOutputStream output)
+                          throws java.io.IOException {
+        com.google.protobuf.GeneratedMessageV3
+          .serializeStringMapTo(
+            output,
+            internalGetLabels(),
+            LabelsDefaultEntryHolder.defaultEntry,
+            1);
         unknownFields.writeTo(output);
       }
 
@@ -32938,15 +28981,15 @@ public int getSerializedSize() {
         if (size != -1) return size;
 
         size = 0;
-        for (java.util.Map.Entry entry :
-            internalGetLabels().getMap().entrySet()) {
-          com.google.protobuf.MapEntry labels__ =
-              LabelsDefaultEntryHolder.defaultEntry
-                  .newBuilderForType()
-                  .setKey(entry.getKey())
-                  .setValue(entry.getValue())
-                  .build();
-          size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, labels__);
+        for (java.util.Map.Entry entry
+             : internalGetLabels().getMap().entrySet()) {
+          com.google.protobuf.MapEntry
+          labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+          size += com.google.protobuf.CodedOutputStream
+              .computeMessageSize(1, labels__);
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -32956,16 +28999,15 @@ public int getSerializedSize() {
       @java.lang.Override
       public boolean equals(final java.lang.Object obj) {
         if (obj == this) {
-          return true;
+         return true;
         }
-        if (!(obj
-            instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel)) {
+        if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel)) {
           return super.equals(obj);
         }
-        com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel other =
-            (com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel) obj;
+        com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel other = (com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel) obj;
 
-        if (!internalGetLabels().equals(other.internalGetLabels())) return false;
+        if (!internalGetLabels().equals(
+            other.internalGetLabels())) return false;
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
       }
@@ -32987,96 +29029,87 @@ public int hashCode() {
       }
 
       public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
-          java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+          java.nio.ByteBuffer data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
       public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
-          java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.nio.ByteBuffer data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
       public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
       public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel 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.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
-          byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(byte[] data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
       public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
-          byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          byte[] data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
-      public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
-          java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
       public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.io.InputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-            PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input, extensionRegistry);
       }
-
-      public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
-          parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+      public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseDelimitedFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseDelimitedWithIOException(PARSER, input);
       }
-
-      public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
-          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.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel 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.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
-          com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+          com.google.protobuf.CodedInputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
       public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-            PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input, extensionRegistry);
       }
 
       @java.lang.Override
-      public Builder newBuilderForType() {
-        return newBuilder();
-      }
-
+      public Builder newBuilderForType() { return newBuilder(); }
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
-
-      public static Builder newBuilder(
-          com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel prototype) {
+      public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
-
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE
+            ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -33086,8 +29119,6 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
-       *
-       *
        * 
        * Targets a group of VM instances by using their [assigned
        * labels](https://cloud.google.com/compute/docs/labeling-resources). Labels
@@ -33100,62 +29131,60 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel)
           com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1.PatchJobs
-              .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor;
         }
 
         @SuppressWarnings({"rawtypes"})
-        protected com.google.protobuf.MapField internalGetMapField(int number) {
+        protected com.google.protobuf.MapField internalGetMapField(
+            int number) {
           switch (number) {
             case 1:
               return internalGetLabels();
             default:
-              throw new RuntimeException("Invalid map field number: " + number);
+              throw new RuntimeException(
+                  "Invalid map field number: " + number);
           }
         }
-
         @SuppressWarnings({"rawtypes"})
-        protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+        protected com.google.protobuf.MapField internalGetMutableMapField(
+            int number) {
           switch (number) {
             case 1:
               return internalGetMutableLabels();
             default:
-              throw new RuntimeException("Invalid map field number: " + number);
+              throw new RuntimeException(
+                  "Invalid map field number: " + number);
           }
         }
-
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1.PatchJobs
-              .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_fieldAccessorTable
+          return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.class,
-                  com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder
-                      .class);
+                  com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.class, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder.class);
         }
 
-        // Construct using
-        // com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.newBuilder()
+        // Construct using com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
+          }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -33164,22 +29193,19 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.cloud.osconfig.v1.PatchJobs
-              .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
-            getDefaultInstanceForType() {
-          return com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
-              .getDefaultInstance();
+        public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel getDefaultInstanceForType() {
+          return com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel build() {
-          com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel result =
-              buildPartial();
+          com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -33187,10 +29213,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel bui
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
-            buildPartial() {
-          com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel result =
-              new com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel(this);
+        public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel buildPartial() {
+          com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel result = new com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel(this);
           int from_bitField0_ = bitField0_;
           result.labels_ = internalGetLabels();
           result.labels_.makeImmutable();
@@ -33202,55 +29226,48 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel bui
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel) {
-            return mergeFrom(
-                (com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel) other);
+          if (other instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel) {
+            return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel other) {
-          if (other
-              == com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
-                  .getDefaultInstance()) return this;
-          internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+        public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel other) {
+          if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.getDefaultInstance()) return this;
+          internalGetMutableLabels().mergeFrom(
+              other.internalGetLabels());
           this.mergeUnknownFields(other.unknownFields);
           onChanged();
           return this;
@@ -33266,14 +29283,11 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
-          com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parsedMessage =
-              null;
+          com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parsedMessage = null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel)
-                    e.getUnfinishedMessage();
+            parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -33282,27 +29296,24 @@ public Builder mergeFrom(
           }
           return this;
         }
-
         private int bitField0_;
 
-        private com.google.protobuf.MapField labels_;
-
+        private com.google.protobuf.MapField<
+            java.lang.String, java.lang.String> labels_;
         private com.google.protobuf.MapField
-            internalGetLabels() {
+        internalGetLabels() {
           if (labels_ == null) {
             return com.google.protobuf.MapField.emptyMapField(
                 LabelsDefaultEntryHolder.defaultEntry);
           }
           return labels_;
         }
-
         private com.google.protobuf.MapField
-            internalGetMutableLabels() {
-          onChanged();
-          ;
+        internalGetMutableLabels() {
+          onChanged();;
           if (labels_ == null) {
-            labels_ =
-                com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+            labels_ = com.google.protobuf.MapField.newMapField(
+                LabelsDefaultEntryHolder.defaultEntry);
           }
           if (!labels_.isMutable()) {
             labels_ = labels_.copy();
@@ -33314,8 +29325,6 @@ public int getLabelsCount() {
           return internalGetLabels().getMap().size();
         }
         /**
-         *
-         *
          * 
          * Compute Engine instance labels that must be present for a VM
          * instance to be targeted by this filter.
@@ -33323,22 +29332,22 @@ public int getLabelsCount() {
          *
          * map<string, string> labels = 1;
          */
+
         @java.lang.Override
-        public boolean containsLabels(java.lang.String key) {
-          if (key == null) {
-            throw new NullPointerException("map key");
-          }
+        public boolean containsLabels(
+            java.lang.String key) {
+          if (key == null) { throw new NullPointerException("map key"); }
           return internalGetLabels().getMap().containsKey(key);
         }
-        /** Use {@link #getLabelsMap()} instead. */
+        /**
+         * Use {@link #getLabelsMap()} instead.
+         */
         @java.lang.Override
         @java.lang.Deprecated
         public java.util.Map getLabels() {
           return getLabelsMap();
         }
         /**
-         *
-         *
          * 
          * Compute Engine instance labels that must be present for a VM
          * instance to be targeted by this filter.
@@ -33347,12 +29356,11 @@ public java.util.Map getLabels() {
          * map<string, string> labels = 1;
          */
         @java.lang.Override
+
         public java.util.Map getLabelsMap() {
           return internalGetLabels().getMap();
         }
         /**
-         *
-         *
          * 
          * Compute Engine instance labels that must be present for a VM
          * instance to be targeted by this filter.
@@ -33361,17 +29369,16 @@ public java.util.Map getLabelsMap() {
          * map<string, string> labels = 1;
          */
         @java.lang.Override
+
         public java.lang.String getLabelsOrDefault(
-            java.lang.String key, java.lang.String defaultValue) {
-          if (key == null) {
-            throw new NullPointerException("map key");
-          }
-          java.util.Map map = internalGetLabels().getMap();
+            java.lang.String key,
+            java.lang.String defaultValue) {
+          if (key == null) { throw new NullPointerException("map key"); }
+          java.util.Map map =
+              internalGetLabels().getMap();
           return map.containsKey(key) ? map.get(key) : defaultValue;
         }
         /**
-         *
-         *
          * 
          * Compute Engine instance labels that must be present for a VM
          * instance to be targeted by this filter.
@@ -33380,11 +29387,12 @@ public java.lang.String getLabelsOrDefault(
          * map<string, string> labels = 1;
          */
         @java.lang.Override
-        public java.lang.String getLabelsOrThrow(java.lang.String key) {
-          if (key == null) {
-            throw new NullPointerException("map key");
-          }
-          java.util.Map map = internalGetLabels().getMap();
+
+        public java.lang.String getLabelsOrThrow(
+            java.lang.String key) {
+          if (key == null) { throw new NullPointerException("map key"); }
+          java.util.Map map =
+              internalGetLabels().getMap();
           if (!map.containsKey(key)) {
             throw new java.lang.IllegalArgumentException();
           }
@@ -33392,12 +29400,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
         }
 
         public Builder clearLabels() {
-          internalGetMutableLabels().getMutableMap().clear();
+          internalGetMutableLabels().getMutableMap()
+              .clear();
           return this;
         }
         /**
-         *
-         *
          * 
          * Compute Engine instance labels that must be present for a VM
          * instance to be targeted by this filter.
@@ -33405,21 +29412,23 @@ public Builder clearLabels() {
          *
          * map<string, string> labels = 1;
          */
-        public Builder removeLabels(java.lang.String key) {
-          if (key == null) {
-            throw new NullPointerException("map key");
-          }
-          internalGetMutableLabels().getMutableMap().remove(key);
+
+        public Builder removeLabels(
+            java.lang.String key) {
+          if (key == null) { throw new NullPointerException("map key"); }
+          internalGetMutableLabels().getMutableMap()
+              .remove(key);
           return this;
         }
-        /** Use alternate mutation accessors instead. */
+        /**
+         * Use alternate mutation accessors instead.
+         */
         @java.lang.Deprecated
-        public java.util.Map getMutableLabels() {
+        public java.util.Map
+        getMutableLabels() {
           return internalGetMutableLabels().getMutableMap();
         }
         /**
-         *
-         *
          * 
          * Compute Engine instance labels that must be present for a VM
          * instance to be targeted by this filter.
@@ -33427,20 +29436,19 @@ public java.util.Map getMutableLabels() {
          *
          * map<string, string> labels = 1;
          */
-        public Builder putLabels(java.lang.String key, java.lang.String value) {
-          if (key == null) {
-            throw new NullPointerException("map key");
-          }
+        public Builder putLabels(
+            java.lang.String key,
+            java.lang.String value) {
+          if (key == null) { throw new NullPointerException("map key"); }
           if (value == null) {
-            throw new NullPointerException("map value");
-          }
+  throw new NullPointerException("map value");
+}
 
-          internalGetMutableLabels().getMutableMap().put(key, value);
+          internalGetMutableLabels().getMutableMap()
+              .put(key, value);
           return this;
         }
         /**
-         *
-         *
          * 
          * Compute Engine instance labels that must be present for a VM
          * instance to be targeted by this filter.
@@ -33448,11 +29456,13 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
          *
          * map<string, string> labels = 1;
          */
-        public Builder putAllLabels(java.util.Map values) {
-          internalGetMutableLabels().getMutableMap().putAll(values);
+
+        public Builder putAllLabels(
+            java.util.Map values) {
+          internalGetMutableLabels().getMutableMap()
+              .putAll(values);
           return this;
         }
-
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -33465,33 +29475,30 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
+
         // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel)
       }
 
       // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel)
-      private static final com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
-          DEFAULT_INSTANCE;
-
+      private static final com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel DEFAULT_INSTANCE;
       static {
-        DEFAULT_INSTANCE =
-            new com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel();
+        DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel();
       }
 
-      public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
-          getDefaultInstance() {
+      public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser PARSER =
-          new com.google.protobuf.AbstractParser() {
-            @java.lang.Override
-            public GroupLabel parsePartialFrom(
-                com.google.protobuf.CodedInputStream input,
-                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-                throws com.google.protobuf.InvalidProtocolBufferException {
-              return new GroupLabel(input, extensionRegistry);
-            }
-          };
+      private static final com.google.protobuf.Parser
+          PARSER = new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public GroupLabel parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new GroupLabel(input, extensionRegistry);
+        }
+      };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -33503,24 +29510,21 @@ public com.google.protobuf.Parser getParserForType() {
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
+
     }
 
     public static final int ALL_FIELD_NUMBER = 1;
     private boolean all_;
     /**
-     *
-     *
      * 
      * Target all VM instances in the project. If true, no other criteria is
      * permitted.
      * 
* * bool all = 1; - * * @return The all. */ @java.lang.Override @@ -33529,132 +29533,104 @@ public boolean getAll() { } public static final int GROUP_LABELS_FIELD_NUMBER = 2; - private java.util.List - groupLabels_; + private java.util.List groupLabels_; /** - * - * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ @java.lang.Override - public java.util.List - getGroupLabelsList() { + public java.util.List getGroupLabelsList() { return groupLabels_; } /** - * - * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> + public java.util.List getGroupLabelsOrBuilderList() { return groupLabels_; } /** - * - * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ @java.lang.Override public int getGroupLabelsCount() { return groupLabels_.size(); } /** - * - * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels( - int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels(int index) { return groupLabels_.get(index); } /** - * - * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder - getGroupLabelsOrBuilder(int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder getGroupLabelsOrBuilder( + int index) { return groupLabels_.get(index); } public static final int ZONES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList zones_; /** - * - * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; - * * @return A list containing the zones. */ - public com.google.protobuf.ProtocolStringList getZonesList() { + public com.google.protobuf.ProtocolStringList + getZonesList() { return zones_; } /** - * - * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; - * * @return The count of zones. */ public int getZonesCount() { return zones_.size(); } /** - * - * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; - * * @param index The index of the element to return. * @return The zones at the given index. */ @@ -33662,27 +29638,23 @@ public java.lang.String getZones(int index) { return zones_.get(index); } /** - * - * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; - * * @param index The index of the value to return. * @return The bytes of the zones at the given index. */ - public com.google.protobuf.ByteString getZonesBytes(int index) { + public com.google.protobuf.ByteString + getZonesBytes(int index) { return zones_.getByteString(index); } public static final int INSTANCES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList instances_; /** - * - * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -33691,15 +29663,13 @@ public com.google.protobuf.ByteString getZonesBytes(int index) {
      * 
* * repeated string instances = 4; - * * @return A list containing the instances. */ - public com.google.protobuf.ProtocolStringList getInstancesList() { + public com.google.protobuf.ProtocolStringList + getInstancesList() { return instances_; } /** - * - * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -33708,15 +29678,12 @@ public com.google.protobuf.ProtocolStringList getInstancesList() {
      * 
* * repeated string instances = 4; - * * @return The count of instances. */ public int getInstancesCount() { return instances_.size(); } /** - * - * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -33725,7 +29692,6 @@ public int getInstancesCount() {
      * 
* * repeated string instances = 4; - * * @param index The index of the element to return. * @return The instances at the given index. */ @@ -33733,8 +29699,6 @@ public java.lang.String getInstances(int index) { return instances_.get(index); } /** - * - * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -33743,19 +29707,17 @@ public java.lang.String getInstances(int index) {
      * 
* * repeated string instances = 4; - * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - public com.google.protobuf.ByteString getInstancesBytes(int index) { + public com.google.protobuf.ByteString + getInstancesBytes(int index) { return instances_.getByteString(index); } public static final int INSTANCE_NAME_PREFIXES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList instanceNamePrefixes_; /** - * - * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -33763,15 +29725,13 @@ public com.google.protobuf.ByteString getInstancesBytes(int index) {
      * 
* * repeated string instance_name_prefixes = 5; - * * @return A list containing the instanceNamePrefixes. */ - public com.google.protobuf.ProtocolStringList getInstanceNamePrefixesList() { + public com.google.protobuf.ProtocolStringList + getInstanceNamePrefixesList() { return instanceNamePrefixes_; } /** - * - * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -33779,15 +29739,12 @@ public com.google.protobuf.ProtocolStringList getInstanceNamePrefixesList() {
      * 
* * repeated string instance_name_prefixes = 5; - * * @return The count of instanceNamePrefixes. */ public int getInstanceNamePrefixesCount() { return instanceNamePrefixes_.size(); } /** - * - * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -33795,7 +29752,6 @@ public int getInstanceNamePrefixesCount() {
      * 
* * repeated string instance_name_prefixes = 5; - * * @param index The index of the element to return. * @return The instanceNamePrefixes at the given index. */ @@ -33803,8 +29759,6 @@ public java.lang.String getInstanceNamePrefixes(int index) { return instanceNamePrefixes_.get(index); } /** - * - * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -33812,16 +29766,15 @@ public java.lang.String getInstanceNamePrefixes(int index) {
      * 
* * repeated string instance_name_prefixes = 5; - * * @param index The index of the value to return. * @return The bytes of the instanceNamePrefixes at the given index. */ - public com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index) { + public com.google.protobuf.ByteString + getInstanceNamePrefixesBytes(int index) { return instanceNamePrefixes_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -33833,7 +29786,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (all_ != false) { output.writeBool(1, all_); } @@ -33847,8 +29801,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 4, instances_.getRaw(i)); } for (int i = 0; i < instanceNamePrefixes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 5, instanceNamePrefixes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, instanceNamePrefixes_.getRaw(i)); } unknownFields.writeTo(output); } @@ -33860,10 +29813,12 @@ public int getSerializedSize() { size = 0; if (all_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, all_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, all_); } for (int i = 0; i < groupLabels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, groupLabels_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, groupLabels_.get(i)); } { int dataSize = 0; @@ -33897,19 +29852,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter other = - (com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter) obj; - - if (getAll() != other.getAll()) return false; - if (!getGroupLabelsList().equals(other.getGroupLabelsList())) return false; - if (!getZonesList().equals(other.getZonesList())) return false; - if (!getInstancesList().equals(other.getInstancesList())) return false; - if (!getInstanceNamePrefixesList().equals(other.getInstanceNamePrefixesList())) return false; + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter other = (com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter) obj; + + if (getAll() + != other.getAll()) return false; + if (!getGroupLabelsList() + .equals(other.getGroupLabelsList())) return false; + if (!getZonesList() + .equals(other.getZonesList())) return false; + if (!getInstancesList() + .equals(other.getInstancesList())) return false; + if (!getInstanceNamePrefixesList() + .equals(other.getInstanceNamePrefixesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -33922,7 +29881,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAll()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAll()); if (getGroupLabelsCount() > 0) { hash = (37 * hash) + GROUP_LABELS_FIELD_NUMBER; hash = (53 * hash) + getGroupLabelsList().hashCode(); @@ -33945,94 +29905,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter 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.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -34042,8 +29995,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A filter to target VM instances for patching. The targeted
      * VMs must meet all criteria specified. So if both labels and zones are
@@ -34053,24 +30004,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.PatchInstanceFilter}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.PatchInstanceFilter)
         com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.class,
-                com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.class, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.newBuilder()
@@ -34078,17 +30026,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getGroupLabelsFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -34110,14 +30058,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance();
       }
 
@@ -34132,8 +30079,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter buildPartial() {
-        com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter result =
-            new com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter(this);
+        com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter result = new com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter(this);
         int from_bitField0_ = bitField0_;
         result.all_ = all_;
         if (groupLabelsBuilder_ == null) {
@@ -34168,41 +30114,38 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter buildPartial()
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchJobs.PatchInstanceFilter) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -34210,9 +30153,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter other) {
-        if (other
-            == com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance()) return this;
         if (other.getAll() != false) {
           setAll(other.getAll());
         }
@@ -34234,10 +30175,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFil
               groupLabelsBuilder_ = null;
               groupLabels_ = other.groupLabels_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              groupLabelsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getGroupLabelsFieldBuilder()
-                      : null;
+              groupLabelsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getGroupLabelsFieldBuilder() : null;
             } else {
               groupLabelsBuilder_.addAllMessages(other.groupLabels_);
             }
@@ -34292,8 +30232,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -34302,20 +30241,16 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private boolean all_;
+      private boolean all_ ;
       /**
-       *
-       *
        * 
        * Target all VM instances in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; - * * @return The all. */ @java.lang.Override @@ -34323,75 +30258,58 @@ public boolean getAll() { return all_; } /** - * - * *
        * Target all VM instances in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; - * * @param value The all to set. * @return This builder for chaining. */ public Builder setAll(boolean value) { - + all_ = value; onChanged(); return this; } /** - * - * *
        * Target all VM instances in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; - * * @return This builder for chaining. */ public Builder clearAll() { - + all_ = false; onChanged(); return this; } - private java.util.List - groupLabels_ = java.util.Collections.emptyList(); - + private java.util.List groupLabels_ = + java.util.Collections.emptyList(); private void ensureGroupLabelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - groupLabels_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel>( - groupLabels_); + groupLabels_ = new java.util.ArrayList(groupLabels_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> - groupLabelsBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> groupLabelsBuilder_; /** - * - * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ - public java.util.List - getGroupLabelsList() { + public java.util.List getGroupLabelsList() { if (groupLabelsBuilder_ == null) { return java.util.Collections.unmodifiableList(groupLabels_); } else { @@ -34399,15 +30317,12 @@ private void ensureGroupLabelsIsMutable() { } } /** - * - * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ public int getGroupLabelsCount() { if (groupLabelsBuilder_ == null) { @@ -34417,18 +30332,14 @@ public int getGroupLabelsCount() { } } /** - * - * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels( - int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels(int index) { if (groupLabelsBuilder_ == null) { return groupLabels_.get(index); } else { @@ -34436,15 +30347,12 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel get } } /** - * - * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ public Builder setGroupLabels( int index, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel value) { @@ -34461,20 +30369,15 @@ public Builder setGroupLabels( return this; } /** - * - * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ public Builder setGroupLabels( - int index, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder builderForValue) { if (groupLabelsBuilder_ == null) { ensureGroupLabelsIsMutable(); groupLabels_.set(index, builderForValue.build()); @@ -34485,18 +30388,14 @@ public Builder setGroupLabels( return this; } /** - * - * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ - public Builder addGroupLabels( - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel value) { + public Builder addGroupLabels(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel value) { if (groupLabelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -34510,15 +30409,12 @@ public Builder addGroupLabels( return this; } /** - * - * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ public Builder addGroupLabels( int index, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel value) { @@ -34535,19 +30431,15 @@ public Builder addGroupLabels( return this; } /** - * - * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ public Builder addGroupLabels( - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder - builderForValue) { + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder builderForValue) { if (groupLabelsBuilder_ == null) { ensureGroupLabelsIsMutable(); groupLabels_.add(builderForValue.build()); @@ -34558,20 +30450,15 @@ public Builder addGroupLabels( return this; } /** - * - * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ public Builder addGroupLabels( - int index, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder builderForValue) { if (groupLabelsBuilder_ == null) { ensureGroupLabelsIsMutable(); groupLabels_.add(index, builderForValue.build()); @@ -34582,23 +30469,19 @@ public Builder addGroupLabels( return this; } /** - * - * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ public Builder addAllGroupLabels( - java.lang.Iterable< - ? extends com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel> - values) { + java.lang.Iterable values) { if (groupLabelsBuilder_ == null) { ensureGroupLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupLabels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, groupLabels_); onChanged(); } else { groupLabelsBuilder_.addAllMessages(values); @@ -34606,15 +30489,12 @@ public Builder addAllGroupLabels( return this; } /** - * - * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ public Builder clearGroupLabels() { if (groupLabelsBuilder_ == null) { @@ -34627,15 +30507,12 @@ public Builder clearGroupLabels() { return this; } /** - * - * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ public Builder removeGroupLabels(int index) { if (groupLabelsBuilder_ == null) { @@ -34648,54 +30525,42 @@ public Builder removeGroupLabels(int index) { return this; } /** - * - * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder - getGroupLabelsBuilder(int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder getGroupLabelsBuilder( + int index) { return getGroupLabelsFieldBuilder().getBuilder(index); } /** - * - * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder - getGroupLabelsOrBuilder(int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder getGroupLabelsOrBuilder( + int index) { if (groupLabelsBuilder_ == null) { - return groupLabels_.get(index); - } else { + return groupLabels_.get(index); } else { return groupLabelsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> - getGroupLabelsOrBuilderList() { + public java.util.List + getGroupLabelsOrBuilderList() { if (groupLabelsBuilder_ != null) { return groupLabelsBuilder_.getMessageOrBuilderList(); } else { @@ -34703,70 +30568,48 @@ public Builder removeGroupLabels(int index) { } } /** - * - * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder - addGroupLabelsBuilder() { - return getGroupLabelsFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel - .getDefaultInstance()); + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder addGroupLabelsBuilder() { + return getGroupLabelsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.getDefaultInstance()); } /** - * - * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder - addGroupLabelsBuilder(int index) { - return getGroupLabelsFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel - .getDefaultInstance()); + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder addGroupLabelsBuilder( + int index) { + return getGroupLabelsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.getDefaultInstance()); } /** - * - * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; */ - public java.util.List< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder> - getGroupLabelsBuilderList() { + public java.util.List + getGroupLabelsBuilderList() { return getGroupLabelsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> getGroupLabelsFieldBuilder() { if (groupLabelsBuilder_ == null) { - groupLabelsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder>( + groupLabelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder>( groupLabels_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -34776,55 +30619,45 @@ public Builder removeGroupLabels(int index) { return groupLabelsBuilder_; } - private com.google.protobuf.LazyStringList zones_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList zones_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureZonesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { zones_ = new com.google.protobuf.LazyStringArrayList(zones_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; - * * @return A list containing the zones. */ - public com.google.protobuf.ProtocolStringList getZonesList() { + public com.google.protobuf.ProtocolStringList + getZonesList() { return zones_.getUnmodifiableView(); } /** - * - * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; - * * @return The count of zones. */ public int getZonesCount() { return zones_.size(); } /** - * - * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; - * * @param index The index of the element to return. * @return The zones at the given index. */ @@ -34832,95 +30665,85 @@ public java.lang.String getZones(int index) { return zones_.get(index); } /** - * - * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; - * * @param index The index of the value to return. * @return The bytes of the zones at the given index. */ - public com.google.protobuf.ByteString getZonesBytes(int index) { + public com.google.protobuf.ByteString + getZonesBytes(int index) { return zones_.getByteString(index); } /** - * - * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; - * * @param index The index to set the value at. * @param value The zones to set. * @return This builder for chaining. */ - public Builder setZones(int index, java.lang.String value) { + public Builder setZones( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureZonesIsMutable(); + throw new NullPointerException(); + } + ensureZonesIsMutable(); zones_.set(index, value); onChanged(); return this; } /** - * - * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; - * * @param value The zones to add. * @return This builder for chaining. */ - public Builder addZones(java.lang.String value) { + public Builder addZones( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureZonesIsMutable(); + throw new NullPointerException(); + } + ensureZonesIsMutable(); zones_.add(value); onChanged(); return this; } /** - * - * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; - * * @param values The zones to add. * @return This builder for chaining. */ - public Builder addAllZones(java.lang.Iterable values) { + public Builder addAllZones( + java.lang.Iterable values) { ensureZonesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, zones_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, zones_); onChanged(); return this; } /** - * - * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; - * * @return This builder for chaining. */ public Builder clearZones() { @@ -34930,41 +30753,35 @@ public Builder clearZones() { return this; } /** - * - * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; - * * @param value The bytes of the zones to add. * @return This builder for chaining. */ - public Builder addZonesBytes(com.google.protobuf.ByteString value) { + public Builder addZonesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureZonesIsMutable(); zones_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList instances_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList instances_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { instances_ = new com.google.protobuf.LazyStringArrayList(instances_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -34973,15 +30790,13 @@ private void ensureInstancesIsMutable() {
        * 
* * repeated string instances = 4; - * * @return A list containing the instances. */ - public com.google.protobuf.ProtocolStringList getInstancesList() { + public com.google.protobuf.ProtocolStringList + getInstancesList() { return instances_.getUnmodifiableView(); } /** - * - * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -34990,15 +30805,12 @@ public com.google.protobuf.ProtocolStringList getInstancesList() {
        * 
* * repeated string instances = 4; - * * @return The count of instances. */ public int getInstancesCount() { return instances_.size(); } /** - * - * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -35007,7 +30819,6 @@ public int getInstancesCount() {
        * 
* * repeated string instances = 4; - * * @param index The index of the element to return. * @return The instances at the given index. */ @@ -35015,8 +30826,6 @@ public java.lang.String getInstances(int index) { return instances_.get(index); } /** - * - * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -35025,16 +30834,14 @@ public java.lang.String getInstances(int index) {
        * 
* * repeated string instances = 4; - * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - public com.google.protobuf.ByteString getInstancesBytes(int index) { + public com.google.protobuf.ByteString + getInstancesBytes(int index) { return instances_.getByteString(index); } /** - * - * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -35043,23 +30850,21 @@ public com.google.protobuf.ByteString getInstancesBytes(int index) {
        * 
* * repeated string instances = 4; - * * @param index The index to set the value at. * @param value The instances to set. * @return This builder for chaining. */ - public Builder setInstances(int index, java.lang.String value) { + public Builder setInstances( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstancesIsMutable(); + throw new NullPointerException(); + } + ensureInstancesIsMutable(); instances_.set(index, value); onChanged(); return this; } /** - * - * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -35068,22 +30873,20 @@ public Builder setInstances(int index, java.lang.String value) {
        * 
* * repeated string instances = 4; - * * @param value The instances to add. * @return This builder for chaining. */ - public Builder addInstances(java.lang.String value) { + public Builder addInstances( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstancesIsMutable(); + throw new NullPointerException(); + } + ensureInstancesIsMutable(); instances_.add(value); onChanged(); return this; } /** - * - * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -35092,19 +30895,18 @@ public Builder addInstances(java.lang.String value) {
        * 
* * repeated string instances = 4; - * * @param values The instances to add. * @return This builder for chaining. */ - public Builder addAllInstances(java.lang.Iterable values) { + public Builder addAllInstances( + java.lang.Iterable values) { ensureInstancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instances_); onChanged(); return this; } /** - * - * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -35113,7 +30915,6 @@ public Builder addAllInstances(java.lang.Iterable values) {
        * 
* * repeated string instances = 4; - * * @return This builder for chaining. */ public Builder clearInstances() { @@ -35123,8 +30924,6 @@ public Builder clearInstances() { return this; } /** - * - * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -35133,34 +30932,29 @@ public Builder clearInstances() {
        * 
* * repeated string instances = 4; - * * @param value The bytes of the instances to add. * @return This builder for chaining. */ - public Builder addInstancesBytes(com.google.protobuf.ByteString value) { + public Builder addInstancesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstancesIsMutable(); instances_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList instanceNamePrefixes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList instanceNamePrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInstanceNamePrefixesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - instanceNamePrefixes_ = - new com.google.protobuf.LazyStringArrayList(instanceNamePrefixes_); + instanceNamePrefixes_ = new com.google.protobuf.LazyStringArrayList(instanceNamePrefixes_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -35168,15 +30962,13 @@ private void ensureInstanceNamePrefixesIsMutable() {
        * 
* * repeated string instance_name_prefixes = 5; - * * @return A list containing the instanceNamePrefixes. */ - public com.google.protobuf.ProtocolStringList getInstanceNamePrefixesList() { + public com.google.protobuf.ProtocolStringList + getInstanceNamePrefixesList() { return instanceNamePrefixes_.getUnmodifiableView(); } /** - * - * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -35184,15 +30976,12 @@ public com.google.protobuf.ProtocolStringList getInstanceNamePrefixesList() {
        * 
* * repeated string instance_name_prefixes = 5; - * * @return The count of instanceNamePrefixes. */ public int getInstanceNamePrefixesCount() { return instanceNamePrefixes_.size(); } /** - * - * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -35200,7 +30989,6 @@ public int getInstanceNamePrefixesCount() {
        * 
* * repeated string instance_name_prefixes = 5; - * * @param index The index of the element to return. * @return The instanceNamePrefixes at the given index. */ @@ -35208,8 +30996,6 @@ public java.lang.String getInstanceNamePrefixes(int index) { return instanceNamePrefixes_.get(index); } /** - * - * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -35217,16 +31003,14 @@ public java.lang.String getInstanceNamePrefixes(int index) {
        * 
* * repeated string instance_name_prefixes = 5; - * * @param index The index of the value to return. * @return The bytes of the instanceNamePrefixes at the given index. */ - public com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index) { + public com.google.protobuf.ByteString + getInstanceNamePrefixesBytes(int index) { return instanceNamePrefixes_.getByteString(index); } /** - * - * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -35234,23 +31018,21 @@ public com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index) {
        * 
* * repeated string instance_name_prefixes = 5; - * * @param index The index to set the value at. * @param value The instanceNamePrefixes to set. * @return This builder for chaining. */ - public Builder setInstanceNamePrefixes(int index, java.lang.String value) { + public Builder setInstanceNamePrefixes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceNamePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureInstanceNamePrefixesIsMutable(); instanceNamePrefixes_.set(index, value); onChanged(); return this; } /** - * - * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -35258,22 +31040,20 @@ public Builder setInstanceNamePrefixes(int index, java.lang.String value) {
        * 
* * repeated string instance_name_prefixes = 5; - * * @param value The instanceNamePrefixes to add. * @return This builder for chaining. */ - public Builder addInstanceNamePrefixes(java.lang.String value) { + public Builder addInstanceNamePrefixes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceNamePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureInstanceNamePrefixesIsMutable(); instanceNamePrefixes_.add(value); onChanged(); return this; } /** - * - * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -35281,19 +31061,18 @@ public Builder addInstanceNamePrefixes(java.lang.String value) {
        * 
* * repeated string instance_name_prefixes = 5; - * * @param values The instanceNamePrefixes to add. * @return This builder for chaining. */ - public Builder addAllInstanceNamePrefixes(java.lang.Iterable values) { + public Builder addAllInstanceNamePrefixes( + java.lang.Iterable values) { ensureInstanceNamePrefixesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceNamePrefixes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instanceNamePrefixes_); onChanged(); return this; } /** - * - * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -35301,7 +31080,6 @@ public Builder addAllInstanceNamePrefixes(java.lang.Iterable v
        * 
* * repeated string instance_name_prefixes = 5; - * * @return This builder for chaining. */ public Builder clearInstanceNamePrefixes() { @@ -35311,8 +31089,6 @@ public Builder clearInstanceNamePrefixes() { return this; } /** - * - * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -35320,21 +31096,20 @@ public Builder clearInstanceNamePrefixes() {
        * 
* * repeated string instance_name_prefixes = 5; - * * @param value The bytes of the instanceNamePrefixes to add. * @return This builder for chaining. */ - public Builder addInstanceNamePrefixesBytes(com.google.protobuf.ByteString value) { + public Builder addInstanceNamePrefixesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstanceNamePrefixesIsMutable(); instanceNamePrefixes_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -35347,13 +31122,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.PatchInstanceFilter) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.PatchInstanceFilter) - private static final com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter(); } @@ -35362,16 +31136,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchInstanceFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchInstanceFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchInstanceFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchInstanceFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -35386,41 +31160,33 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PatchRolloutOrBuilder - extends + public interface PatchRolloutOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.PatchRollout) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Mode of the patch rollout.
      * 
* * .google.cloud.osconfig.v1.PatchRollout.Mode mode = 1; - * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** - * - * *
      * Mode of the patch rollout.
      * 
* * .google.cloud.osconfig.v1.PatchRollout.Mode mode = 1; - * * @return The mode. */ com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode getMode(); /** - * - * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -35444,13 +31210,10 @@ public interface PatchRolloutOrBuilder
      * 
* * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2; - * * @return Whether the disruptionBudget field is set. */ boolean hasDisruptionBudget(); /** - * - * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -35474,13 +31237,10 @@ public interface PatchRolloutOrBuilder
      * 
* * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2; - * * @return The disruptionBudget. */ com.google.cloud.osconfig.v1.Common.FixedOrPercent getDisruptionBudget(); /** - * - * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -35508,8 +31268,6 @@ public interface PatchRolloutOrBuilder
     com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Patch rollout configuration specifications. Contains details on the
    * concurrency control when applying patch(es) to all targeted VMs.
@@ -35517,31 +31275,31 @@ public interface PatchRolloutOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1.PatchRollout}
    */
-  public static final class PatchRollout extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PatchRollout extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.PatchRollout)
       PatchRolloutOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PatchRollout.newBuilder() to construct.
     private PatchRollout(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PatchRollout() {
       mode_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PatchRollout();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PatchRollout(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -35560,37 +31318,32 @@ private PatchRollout(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
+              int rawValue = input.readEnum();
 
-                mode_ = rawValue;
-                break;
+              mode_ = rawValue;
+              break;
+            }
+            case 18: {
+              com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder subBuilder = null;
+              if (disruptionBudget_ != null) {
+                subBuilder = disruptionBudget_.toBuilder();
               }
-            case 18:
-              {
-                com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder subBuilder = null;
-                if (disruptionBudget_ != null) {
-                  subBuilder = disruptionBudget_.toBuilder();
-                }
-                disruptionBudget_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1.Common.FixedOrPercent.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(disruptionBudget_);
-                  disruptionBudget_ = subBuilder.buildPartial();
-                }
-
-                break;
+              disruptionBudget_ = input.readMessage(com.google.cloud.osconfig.v1.Common.FixedOrPercent.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(disruptionBudget_);
+                disruptionBudget_ = subBuilder.buildPartial();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -35598,41 +31351,36 @@ private PatchRollout(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchJobs
-          .internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchJobs
-          .internal_static_google_cloud_osconfig_v1_PatchRollout_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchRollout_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.class,
-              com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder.class);
+              com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.class, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * Type of the rollout.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1.PatchRollout.Mode} */ - public enum Mode implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Mode must be specified.
        * 
@@ -35641,8 +31389,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ MODE_UNSPECIFIED(0), /** - * - * *
        * Patches are applied one zone at a time. The patch job begins in the
        * region with the lowest number of targeted VMs. Within the region,
@@ -35656,8 +31402,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
        */
       ZONE_BY_ZONE(1),
       /**
-       *
-       *
        * 
        * Patches are applied to VMs in all zones at the same time.
        * 
@@ -35669,8 +31413,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Mode must be specified.
        * 
@@ -35679,8 +31421,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Patches are applied one zone at a time. The patch job begins in the
        * region with the lowest number of targeted VMs. Within the region,
@@ -35694,8 +31434,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int ZONE_BY_ZONE_VALUE = 1;
       /**
-       *
-       *
        * 
        * Patches are applied to VMs in all zones at the same time.
        * 
@@ -35704,6 +31442,7 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONCURRENT_ZONES_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -35728,51 +31467,49 @@ public static Mode valueOf(int value) { */ public static Mode forNumber(int value) { switch (value) { - case 0: - return MODE_UNSPECIFIED; - case 1: - return ZONE_BY_ZONE; - case 2: - return CONCURRENT_ZONES; - default: - return null; + case 0: return MODE_UNSPECIFIED; + case 1: return ZONE_BY_ZONE; + case 2: return CONCURRENT_ZONES; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Mode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Mode findValueByNumber(int number) { + return Mode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Mode findValueByNumber(int number) { - return Mode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDescriptor().getEnumTypes().get(0); } private static final Mode[] VALUES = values(); - public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Mode valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -35792,46 +31529,33 @@ private Mode(int value) { public static final int MODE_FIELD_NUMBER = 1; private int mode_; /** - * - * *
      * Mode of the patch rollout.
      * 
* * .google.cloud.osconfig.v1.PatchRollout.Mode mode = 1; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
      * Mode of the patch rollout.
      * 
* * .google.cloud.osconfig.v1.PatchRollout.Mode mode = 1; - * * @return The mode. */ - @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode getMode() { + @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode result = - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.valueOf(mode_); - return result == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode result = com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.valueOf(mode_); + return result == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.UNRECOGNIZED : result; } public static final int DISRUPTION_BUDGET_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1.Common.FixedOrPercent disruptionBudget_; /** - * - * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -35855,7 +31579,6 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode getMode() {
      * 
* * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2; - * * @return Whether the disruptionBudget field is set. */ @java.lang.Override @@ -35863,8 +31586,6 @@ public boolean hasDisruptionBudget() { return disruptionBudget_ != null; } /** - * - * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -35888,18 +31609,13 @@ public boolean hasDisruptionBudget() {
      * 
* * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2; - * * @return The disruptionBudget. */ @java.lang.Override public com.google.cloud.osconfig.v1.Common.FixedOrPercent getDisruptionBudget() { - return disruptionBudget_ == null - ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() - : disruptionBudget_; + return disruptionBudget_ == null ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() : disruptionBudget_; } /** - * - * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -35925,13 +31641,11 @@ public com.google.cloud.osconfig.v1.Common.FixedOrPercent getDisruptionBudget()
      * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder
-        getDisruptionBudgetOrBuilder() {
+    public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder() {
       return getDisruptionBudget();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -35943,10 +31657,9 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-      if (mode_
-          != com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.MODE_UNSPECIFIED
-              .getNumber()) {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      if (mode_ != com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.MODE_UNSPECIFIED.getNumber()) {
         output.writeEnum(1, mode_);
       }
       if (disruptionBudget_ != null) {
@@ -35961,13 +31674,13 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (mode_
-          != com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.MODE_UNSPECIFIED
-              .getNumber()) {
-        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, mode_);
+      if (mode_ != com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.MODE_UNSPECIFIED.getNumber()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeEnumSize(1, mode_);
       }
       if (disruptionBudget_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDisruptionBudget());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getDisruptionBudget());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -35977,18 +31690,18 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchRollout)) {
         return super.equals(obj);
       }
-      com.google.cloud.osconfig.v1.PatchJobs.PatchRollout other =
-          (com.google.cloud.osconfig.v1.PatchJobs.PatchRollout) obj;
+      com.google.cloud.osconfig.v1.PatchJobs.PatchRollout other = (com.google.cloud.osconfig.v1.PatchJobs.PatchRollout) obj;
 
       if (mode_ != other.mode_) return false;
       if (hasDisruptionBudget() != other.hasDisruptionBudget()) return false;
       if (hasDisruptionBudget()) {
-        if (!getDisruptionBudget().equals(other.getDisruptionBudget())) return false;
+        if (!getDisruptionBudget()
+            .equals(other.getDisruptionBudget())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -36013,94 +31726,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout 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.osconfig.v1.PatchJobs.PatchRollout parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.osconfig.v1.PatchJobs.PatchRollout prototype) {
+    public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -36110,8 +31816,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Patch rollout configuration specifications. Contains details on the
      * concurrency control when applying patch(es) to all targeted VMs.
@@ -36119,24 +31823,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.PatchRollout}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.PatchRollout)
         com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_PatchRollout_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchRollout_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.class,
-                com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.class, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.newBuilder()
@@ -36144,15 +31845,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -36168,9 +31870,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchJobs
-            .internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor;
       }
 
       @java.lang.Override
@@ -36189,8 +31891,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout buildPartial() {
-        com.google.cloud.osconfig.v1.PatchJobs.PatchRollout result =
-            new com.google.cloud.osconfig.v1.PatchJobs.PatchRollout(this);
+        com.google.cloud.osconfig.v1.PatchJobs.PatchRollout result = new com.google.cloud.osconfig.v1.PatchJobs.PatchRollout(this);
         result.mode_ = mode_;
         if (disruptionBudgetBuilder_ == null) {
           result.disruptionBudget_ = disruptionBudget_;
@@ -36205,41 +31906,38 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchJobs.PatchRollout) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchRollout) other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchRollout)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -36247,8 +31945,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout other) {
-        if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance()) return this;
         if (other.mode_ != 0) {
           setModeValue(other.getModeValue());
         }
@@ -36274,8 +31971,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1.PatchJobs.PatchRollout) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.PatchRollout) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -36287,67 +31983,51 @@ public Builder mergeFrom(
 
       private int mode_ = 0;
       /**
-       *
-       *
        * 
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1.PatchRollout.Mode mode = 1; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1.PatchRollout.Mode mode = 1; - * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { - + mode_ = value; onChanged(); return this; } /** - * - * *
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1.PatchRollout.Mode mode = 1; - * * @return The mode. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode result = - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.valueOf(mode_); - return result == null - ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode result = com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.valueOf(mode_); + return result == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.UNRECOGNIZED : result; } /** - * - * *
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1.PatchRollout.Mode mode = 1; - * * @param value The mode to set. * @return This builder for chaining. */ @@ -36355,24 +32035,21 @@ public Builder setMode(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1.PatchRollout.Mode mode = 1; - * * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = 0; onChanged(); return this; @@ -36380,13 +32057,8 @@ public Builder clearMode() { private com.google.cloud.osconfig.v1.Common.FixedOrPercent disruptionBudget_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Common.FixedOrPercent, - com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder, - com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder> - disruptionBudgetBuilder_; + com.google.cloud.osconfig.v1.Common.FixedOrPercent, com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder, com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder> disruptionBudgetBuilder_; /** - * - * *
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -36410,15 +32082,12 @@ public Builder clearMode() {
        * 
* * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2; - * * @return Whether the disruptionBudget field is set. */ public boolean hasDisruptionBudget() { return disruptionBudgetBuilder_ != null || disruptionBudget_ != null; } /** - * - * *
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -36442,21 +32111,16 @@ public boolean hasDisruptionBudget() {
        * 
* * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2; - * * @return The disruptionBudget. */ public com.google.cloud.osconfig.v1.Common.FixedOrPercent getDisruptionBudget() { if (disruptionBudgetBuilder_ == null) { - return disruptionBudget_ == null - ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() - : disruptionBudget_; + return disruptionBudget_ == null ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() : disruptionBudget_; } else { return disruptionBudgetBuilder_.getMessage(); } } /** - * - * *
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -36495,8 +32159,6 @@ public Builder setDisruptionBudget(com.google.cloud.osconfig.v1.Common.FixedOrPe
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -36533,8 +32195,6 @@ public Builder setDisruptionBudget(
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -36559,14 +32219,11 @@ public Builder setDisruptionBudget(
        *
        * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2;
        */
-      public Builder mergeDisruptionBudget(
-          com.google.cloud.osconfig.v1.Common.FixedOrPercent value) {
+      public Builder mergeDisruptionBudget(com.google.cloud.osconfig.v1.Common.FixedOrPercent value) {
         if (disruptionBudgetBuilder_ == null) {
           if (disruptionBudget_ != null) {
             disruptionBudget_ =
-                com.google.cloud.osconfig.v1.Common.FixedOrPercent.newBuilder(disruptionBudget_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.osconfig.v1.Common.FixedOrPercent.newBuilder(disruptionBudget_).mergeFrom(value).buildPartial();
           } else {
             disruptionBudget_ = value;
           }
@@ -36578,8 +32235,6 @@ public Builder mergeDisruptionBudget(
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -36616,8 +32271,6 @@ public Builder clearDisruptionBudget() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -36642,15 +32295,12 @@ public Builder clearDisruptionBudget() {
        *
        * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2;
        */
-      public com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder
-          getDisruptionBudgetBuilder() {
-
+      public com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder getDisruptionBudgetBuilder() {
+        
         onChanged();
         return getDisruptionBudgetFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -36675,19 +32325,15 @@ public Builder clearDisruptionBudget() {
        *
        * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2;
        */
-      public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder
-          getDisruptionBudgetOrBuilder() {
+      public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder() {
         if (disruptionBudgetBuilder_ != null) {
           return disruptionBudgetBuilder_.getMessageOrBuilder();
         } else {
-          return disruptionBudget_ == null
-              ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance()
-              : disruptionBudget_;
+          return disruptionBudget_ == null ?
+              com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() : disruptionBudget_;
         }
       }
       /**
-       *
-       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -36713,22 +32359,18 @@ public Builder clearDisruptionBudget() {
        * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Common.FixedOrPercent,
-              com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder,
-              com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder>
+          com.google.cloud.osconfig.v1.Common.FixedOrPercent, com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder, com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder> 
           getDisruptionBudgetFieldBuilder() {
         if (disruptionBudgetBuilder_ == null) {
-          disruptionBudgetBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1.Common.FixedOrPercent,
-                  com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder,
-                  com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder>(
-                  getDisruptionBudget(), getParentForChildren(), isClean());
+          disruptionBudgetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1.Common.FixedOrPercent, com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder, com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder>(
+                  getDisruptionBudget(),
+                  getParentForChildren(),
+                  isClean());
           disruptionBudget_ = null;
         }
         return disruptionBudgetBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -36741,12 +32383,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.PatchRollout)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.PatchRollout)
     private static final com.google.cloud.osconfig.v1.PatchJobs.PatchRollout DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.PatchRollout();
     }
@@ -36755,16 +32397,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getDefaultInst
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public PatchRollout parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new PatchRollout(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public PatchRollout parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new PatchRollout(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -36779,523 +32421,451 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_PatchJob_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_PatchJob_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_PatchJob_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_PatchConfig_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_Instance_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_Instance_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_Instance_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_AptSettings_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_AptSettings_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_AptSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_YumSettings_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_YumSettings_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_YumSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_GooSettings_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_GooSettings_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_GooSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_ZypperSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_ExecStep_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_ExecStep_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_ExecStep_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_ExecStepConfig_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_GcsObject_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_GcsObject_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_GcsObject_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_PatchRollout_fieldAccessorTable;
 
-  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
     return descriptor;
   }
-
-  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
   static {
     java.lang.String[] descriptorData = {
-      "\n)google/cloud/osconfig/v1/patch_jobs.pr"
-          + "oto\022\030google.cloud.osconfig.v1\032\037google/ap"
-          + "i/field_behavior.proto\032\031google/api/resou"
-          + "rce.proto\032.google/cloud/osconfig/v1/osco"
-          + "nfig_common.proto\032\036google/protobuf/durat"
-          + "ion.proto\032\037google/protobuf/timestamp.pro"
-          + "to\"\211\003\n\026ExecutePatchJobRequest\022C\n\006parent\030"
-          + "\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goog"
-          + "leapis.com/Project\022\023\n\013description\030\002 \001(\t\022"
-          + "K\n\017instance_filter\030\007 \001(\0132-.google.cloud."
-          + "osconfig.v1.PatchInstanceFilterB\003\340A\002\022;\n\014"
-          + "patch_config\030\004 \001(\0132%.google.cloud.osconf"
-          + "ig.v1.PatchConfig\022+\n\010duration\030\005 \001(\0132\031.go"
-          + "ogle.protobuf.Duration\022\017\n\007dry_run\030\006 \001(\010\022"
-          + "\024\n\014display_name\030\010 \001(\t\0227\n\007rollout\030\t \001(\0132&"
-          + ".google.cloud.osconfig.v1.PatchRollout\"L"
-          + "\n\022GetPatchJobRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372"
-          + "A\"\n osconfig.googleapis.com/PatchJob\"\225\001\n"
-          + "\"ListPatchJobInstanceDetailsRequest\0228\n\006p"
-          + "arent\030\001 \001(\tB(\340A\002\372A\"\n osconfig.googleapis"
-          + ".com/PatchJob\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage"
-          + "_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\225\001\n#ListPat"
-          + "chJobInstanceDetailsResponse\022U\n\032patch_jo"
-          + "b_instance_details\030\001 \003(\01321.google.cloud."
-          + "osconfig.v1.PatchJobInstanceDetails\022\027\n\017n"
-          + "ext_page_token\030\002 \001(\t\"\326\001\n\027PatchJobInstanc"
-          + "eDetails\0222\n\004name\030\001 \001(\tB$\372A!\n\037compute.goo"
-          + "gleapis.com/Instance\022\032\n\022instance_system_"
-          + "id\030\002 \001(\t\022<\n\005state\030\003 \001(\0162-.google.cloud.o"
-          + "sconfig.v1.Instance.PatchState\022\026\n\016failur"
-          + "e_reason\030\004 \001(\t\022\025\n\rattempt_count\030\005 \001(\003\"\222\001"
-          + "\n\024ListPatchJobsRequest\022C\n\006parent\030\001 \001(\tB3"
-          + "\340A\002\372A-\n+cloudresourcemanager.googleapis."
-          + "com/Project\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t"
-          + "oken\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"h\n\025ListPatchJ"
-          + "obsResponse\0226\n\npatch_jobs\030\001 \003(\0132\".google"
-          + ".cloud.osconfig.v1.PatchJob\022\027\n\017next_page"
-          + "_token\030\002 \001(\t\"\334\013\n\010PatchJob\022\014\n\004name\030\001 \001(\t\022"
-          + "\024\n\014display_name\030\016 \001(\t\022\023\n\013description\030\002 \001"
-          + "(\t\022/\n\013create_time\030\003 \001(\0132\032.google.protobu"
-          + "f.Timestamp\022/\n\013update_time\030\004 \001(\0132\032.googl"
-          + "e.protobuf.Timestamp\0227\n\005state\030\005 \001(\0162(.go"
-          + "ogle.cloud.osconfig.v1.PatchJob.State\022F\n"
-          + "\017instance_filter\030\r \001(\0132-.google.cloud.os"
-          + "config.v1.PatchInstanceFilter\022;\n\014patch_c"
-          + "onfig\030\007 \001(\0132%.google.cloud.osconfig.v1.P"
-          + "atchConfig\022+\n\010duration\030\010 \001(\0132\031.google.pr"
-          + "otobuf.Duration\022[\n\030instance_details_summ"
-          + "ary\030\t \001(\01329.google.cloud.osconfig.v1.Pat"
-          + "chJob.InstanceDetailsSummary\022\017\n\007dry_run\030"
-          + "\n \001(\010\022\025\n\rerror_message\030\013 \001(\t\022\030\n\020percent_"
-          + "complete\030\014 \001(\001\022I\n\020patch_deployment\030\017 \001(\t"
-          + "B/\340A\003\372A)\n\'osconfig.googleapis.com/PatchD"
-          + "eployment\0227\n\007rollout\030\020 \001(\0132&.google.clou"
-          + "d.osconfig.v1.PatchRollout\032\275\004\n\026InstanceD"
-          + "etailsSummary\022\036\n\026pending_instance_count\030"
-          + "\001 \001(\003\022\037\n\027inactive_instance_count\030\002 \001(\003\022\037"
-          + "\n\027notified_instance_count\030\003 \001(\003\022\036\n\026start"
-          + "ed_instance_count\030\004 \001(\003\022*\n\"downloading_p"
-          + "atches_instance_count\030\005 \001(\003\022\'\n\037applying_"
-          + "patches_instance_count\030\006 \001(\003\022 \n\030rebootin"
-          + "g_instance_count\030\007 \001(\003\022 \n\030succeeded_inst"
-          + "ance_count\030\010 \001(\003\0220\n(succeeded_reboot_req"
-          + "uired_instance_count\030\t \001(\003\022\035\n\025failed_ins"
-          + "tance_count\030\n \001(\003\022\034\n\024acked_instance_coun"
-          + "t\030\013 \001(\003\022 \n\030timed_out_instance_count\030\014 \001("
-          + "\003\022%\n\035pre_patch_step_instance_count\030\r \001(\003"
-          + "\022&\n\036post_patch_step_instance_count\030\016 \001(\003"
-          + "\022(\n no_agent_detected_instance_count\030\017 \001"
-          + "(\003\"\225\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007S"
-          + "TARTED\020\001\022\023\n\017INSTANCE_LOOKUP\020\002\022\014\n\010PATCHIN"
-          + "G\020\003\022\r\n\tSUCCEEDED\020\004\022\031\n\025COMPLETED_WITH_ERR"
-          + "ORS\020\005\022\014\n\010CANCELED\020\006\022\r\n\tTIMED_OUT\020\007:O\352AL\n"
-          + " osconfig.googleapis.com/PatchJob\022(proje"
-          + "cts/{project}/patchJobs/{patch_job}\"\326\004\n\013"
-          + "PatchConfig\022I\n\rreboot_config\030\001 \001(\01622.goo"
-          + "gle.cloud.osconfig.v1.PatchConfig.Reboot"
-          + "Config\0222\n\003apt\030\003 \001(\0132%.google.cloud.oscon"
-          + "fig.v1.AptSettings\0222\n\003yum\030\004 \001(\0132%.google"
-          + ".cloud.osconfig.v1.YumSettings\0222\n\003goo\030\005 "
-          + "\001(\0132%.google.cloud.osconfig.v1.GooSettin"
-          + "gs\0228\n\006zypper\030\006 \001(\0132(.google.cloud.osconf"
-          + "ig.v1.ZypperSettings\022G\n\016windows_update\030\007"
-          + " \001(\0132/.google.cloud.osconfig.v1.WindowsU"
-          + "pdateSettings\0224\n\010pre_step\030\010 \001(\0132\".google"
-          + ".cloud.osconfig.v1.ExecStep\0225\n\tpost_step"
-          + "\030\t \001(\0132\".google.cloud.osconfig.v1.ExecSt"
-          + "ep\022\035\n\025mig_instances_allowed\030\n \001(\010\"Q\n\014Reb"
-          + "ootConfig\022\035\n\031REBOOT_CONFIG_UNSPECIFIED\020\000"
-          + "\022\013\n\007DEFAULT\020\001\022\n\n\006ALWAYS\020\002\022\t\n\005NEVER\020\003\"\316\002\n"
-          + "\010Instance\"\301\002\n\nPatchState\022\033\n\027PATCH_STATE_"
-          + "UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\014\n\010INACTIVE\020\002"
-          + "\022\014\n\010NOTIFIED\020\003\022\013\n\007STARTED\020\004\022\027\n\023DOWNLOADI"
-          + "NG_PATCHES\020\005\022\024\n\020APPLYING_PATCHES\020\006\022\r\n\tRE"
-          + "BOOTING\020\007\022\r\n\tSUCCEEDED\020\010\022\035\n\031SUCCEEDED_RE"
-          + "BOOT_REQUIRED\020\t\022\n\n\006FAILED\020\n\022\t\n\005ACKED\020\013\022\r"
-          + "\n\tTIMED_OUT\020\014\022\032\n\026RUNNING_PRE_PATCH_STEP\020"
-          + "\r\022\033\n\027RUNNING_POST_PATCH_STEP\020\016\022\025\n\021NO_AGE"
-          + "NT_DETECTED\020\017\"O\n\025CancelPatchJobRequest\0226"
-          + "\n\004name\030\001 \001(\tB(\340A\002\372A\"\n osconfig.googleapi"
-          + "s.com/PatchJob\"\252\001\n\013AptSettings\0228\n\004type\030\001"
-          + " \001(\0162*.google.cloud.osconfig.v1.AptSetti"
-          + "ngs.Type\022\020\n\010excludes\030\002 \003(\t\022\032\n\022exclusive_"
-          + "packages\030\003 \003(\t\"3\n\004Type\022\024\n\020TYPE_UNSPECIFI"
-          + "ED\020\000\022\010\n\004DIST\020\001\022\013\n\007UPGRADE\020\002\"^\n\013YumSettin"
-          + "gs\022\020\n\010security\030\001 \001(\010\022\017\n\007minimal\030\002 \001(\010\022\020\n"
-          + "\010excludes\030\003 \003(\t\022\032\n\022exclusive_packages\030\004 "
-          + "\003(\t\"\r\n\013GooSettings\"\221\001\n\016ZypperSettings\022\025\n"
-          + "\rwith_optional\030\001 \001(\010\022\023\n\013with_update\030\002 \001("
-          + "\010\022\022\n\ncategories\030\003 \003(\t\022\022\n\nseverities\030\004 \003("
-          + "\t\022\020\n\010excludes\030\005 \003(\t\022\031\n\021exclusive_patches"
-          + "\030\006 \003(\t\"\325\002\n\025WindowsUpdateSettings\022W\n\017clas"
-          + "sifications\030\001 \003(\0162>.google.cloud.osconfi"
-          + "g.v1.WindowsUpdateSettings.Classificatio"
-          + "n\022\020\n\010excludes\030\002 \003(\t\022\031\n\021exclusive_patches"
-          + "\030\003 \003(\t\"\265\001\n\016Classification\022\036\n\032CLASSIFICAT"
-          + "ION_UNSPECIFIED\020\000\022\014\n\010CRITICAL\020\001\022\014\n\010SECUR"
-          + "ITY\020\002\022\016\n\nDEFINITION\020\003\022\n\n\006DRIVER\020\004\022\020\n\014FEA"
-          + "TURE_PACK\020\005\022\020\n\014SERVICE_PACK\020\006\022\010\n\004TOOL\020\007\022"
-          + "\021\n\rUPDATE_ROLLUP\020\010\022\n\n\006UPDATE\020\t\"\240\001\n\010ExecS"
-          + "tep\022H\n\026linux_exec_step_config\030\001 \001(\0132(.go"
-          + "ogle.cloud.osconfig.v1.ExecStepConfig\022J\n"
-          + "\030windows_exec_step_config\030\002 \001(\0132(.google"
-          + ".cloud.osconfig.v1.ExecStepConfig\"\240\002\n\016Ex"
-          + "ecStepConfig\022\024\n\nlocal_path\030\001 \001(\tH\000\0229\n\ngc"
-          + "s_object\030\002 \001(\0132#.google.cloud.osconfig.v"
-          + "1.GcsObjectH\000\022\035\n\025allowed_success_codes\030\003"
-          + " \003(\005\022I\n\013interpreter\030\004 \001(\01624.google.cloud"
-          + ".osconfig.v1.ExecStepConfig.Interpreter\""
-          + "E\n\013Interpreter\022\033\n\027INTERPRETER_UNSPECIFIE"
-          + "D\020\000\022\t\n\005SHELL\020\001\022\016\n\nPOWERSHELL\020\002B\014\n\nexecut"
-          + "able\"U\n\tGcsObject\022\023\n\006bucket\030\001 \001(\tB\003\340A\002\022\023"
-          + "\n\006object\030\002 \001(\tB\003\340A\002\022\036\n\021generation_number"
-          + "\030\003 \001(\003B\003\340A\002\"\310\002\n\023PatchInstanceFilter\022\013\n\003a"
-          + "ll\030\001 \001(\010\022N\n\014group_labels\030\002 \003(\01328.google."
-          + "cloud.osconfig.v1.PatchInstanceFilter.Gr"
-          + "oupLabel\022\r\n\005zones\030\003 \003(\t\022\021\n\tinstances\030\004 \003"
-          + "(\t\022\036\n\026instance_name_prefixes\030\005 \003(\t\032\221\001\n\nG"
-          + "roupLabel\022T\n\006labels\030\001 \003(\0132D.google.cloud"
-          + ".osconfig.v1.PatchInstanceFilter.GroupLa"
-          + "bel.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 "
-          + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\324\001\n\014PatchRollout\022"
-          + "9\n\004mode\030\001 \001(\0162+.google.cloud.osconfig.v1"
-          + ".PatchRollout.Mode\022C\n\021disruption_budget\030"
-          + "\002 \001(\0132(.google.cloud.osconfig.v1.FixedOr"
-          + "Percent\"D\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\020\n"
-          + "\014ZONE_BY_ZONE\020\001\022\024\n\020CONCURRENT_ZONES\020\002B\277\001"
-          + "\n\034com.google.cloud.osconfig.v1B\tPatchJob"
-          + "sZ@google.golang.org/genproto/googleapis"
-          + "/cloud/osconfig/v1;osconfig\252\002\030Google.Clo"
-          + "ud.OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\V"
-          + "1\352\002\033Google::Cloud::OsConfig::V1b\006proto3"
+      "\n)google/cloud/osconfig/v1/patch_jobs.pr" +
+      "oto\022\030google.cloud.osconfig.v1\032\037google/ap" +
+      "i/field_behavior.proto\032\031google/api/resou" +
+      "rce.proto\032.google/cloud/osconfig/v1/osco" +
+      "nfig_common.proto\032\036google/protobuf/durat" +
+      "ion.proto\032\037google/protobuf/timestamp.pro" +
+      "to\"\211\003\n\026ExecutePatchJobRequest\022C\n\006parent\030" +
+      "\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goog" +
+      "leapis.com/Project\022\023\n\013description\030\002 \001(\t\022" +
+      "K\n\017instance_filter\030\007 \001(\0132-.google.cloud." +
+      "osconfig.v1.PatchInstanceFilterB\003\340A\002\022;\n\014" +
+      "patch_config\030\004 \001(\0132%.google.cloud.osconf" +
+      "ig.v1.PatchConfig\022+\n\010duration\030\005 \001(\0132\031.go" +
+      "ogle.protobuf.Duration\022\017\n\007dry_run\030\006 \001(\010\022" +
+      "\024\n\014display_name\030\010 \001(\t\0227\n\007rollout\030\t \001(\0132&" +
+      ".google.cloud.osconfig.v1.PatchRollout\"L" +
+      "\n\022GetPatchJobRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372" +
+      "A\"\n osconfig.googleapis.com/PatchJob\"\225\001\n" +
+      "\"ListPatchJobInstanceDetailsRequest\0228\n\006p" +
+      "arent\030\001 \001(\tB(\340A\002\372A\"\n osconfig.googleapis" +
+      ".com/PatchJob\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" +
+      "_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\225\001\n#ListPat" +
+      "chJobInstanceDetailsResponse\022U\n\032patch_jo" +
+      "b_instance_details\030\001 \003(\01321.google.cloud." +
+      "osconfig.v1.PatchJobInstanceDetails\022\027\n\017n" +
+      "ext_page_token\030\002 \001(\t\"\326\001\n\027PatchJobInstanc" +
+      "eDetails\0222\n\004name\030\001 \001(\tB$\372A!\n\037compute.goo" +
+      "gleapis.com/Instance\022\032\n\022instance_system_" +
+      "id\030\002 \001(\t\022<\n\005state\030\003 \001(\0162-.google.cloud.o" +
+      "sconfig.v1.Instance.PatchState\022\026\n\016failur" +
+      "e_reason\030\004 \001(\t\022\025\n\rattempt_count\030\005 \001(\003\"\222\001" +
+      "\n\024ListPatchJobsRequest\022C\n\006parent\030\001 \001(\tB3" +
+      "\340A\002\372A-\n+cloudresourcemanager.googleapis." +
+      "com/Project\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" +
+      "oken\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"h\n\025ListPatchJ" +
+      "obsResponse\0226\n\npatch_jobs\030\001 \003(\0132\".google" +
+      ".cloud.osconfig.v1.PatchJob\022\027\n\017next_page" +
+      "_token\030\002 \001(\t\"\334\013\n\010PatchJob\022\014\n\004name\030\001 \001(\t\022" +
+      "\024\n\014display_name\030\016 \001(\t\022\023\n\013description\030\002 \001" +
+      "(\t\022/\n\013create_time\030\003 \001(\0132\032.google.protobu" +
+      "f.Timestamp\022/\n\013update_time\030\004 \001(\0132\032.googl" +
+      "e.protobuf.Timestamp\0227\n\005state\030\005 \001(\0162(.go" +
+      "ogle.cloud.osconfig.v1.PatchJob.State\022F\n" +
+      "\017instance_filter\030\r \001(\0132-.google.cloud.os" +
+      "config.v1.PatchInstanceFilter\022;\n\014patch_c" +
+      "onfig\030\007 \001(\0132%.google.cloud.osconfig.v1.P" +
+      "atchConfig\022+\n\010duration\030\010 \001(\0132\031.google.pr" +
+      "otobuf.Duration\022[\n\030instance_details_summ" +
+      "ary\030\t \001(\01329.google.cloud.osconfig.v1.Pat" +
+      "chJob.InstanceDetailsSummary\022\017\n\007dry_run\030" +
+      "\n \001(\010\022\025\n\rerror_message\030\013 \001(\t\022\030\n\020percent_" +
+      "complete\030\014 \001(\001\022I\n\020patch_deployment\030\017 \001(\t" +
+      "B/\340A\003\372A)\n\'osconfig.googleapis.com/PatchD" +
+      "eployment\0227\n\007rollout\030\020 \001(\0132&.google.clou" +
+      "d.osconfig.v1.PatchRollout\032\275\004\n\026InstanceD" +
+      "etailsSummary\022\036\n\026pending_instance_count\030" +
+      "\001 \001(\003\022\037\n\027inactive_instance_count\030\002 \001(\003\022\037" +
+      "\n\027notified_instance_count\030\003 \001(\003\022\036\n\026start" +
+      "ed_instance_count\030\004 \001(\003\022*\n\"downloading_p" +
+      "atches_instance_count\030\005 \001(\003\022\'\n\037applying_" +
+      "patches_instance_count\030\006 \001(\003\022 \n\030rebootin" +
+      "g_instance_count\030\007 \001(\003\022 \n\030succeeded_inst" +
+      "ance_count\030\010 \001(\003\0220\n(succeeded_reboot_req" +
+      "uired_instance_count\030\t \001(\003\022\035\n\025failed_ins" +
+      "tance_count\030\n \001(\003\022\034\n\024acked_instance_coun" +
+      "t\030\013 \001(\003\022 \n\030timed_out_instance_count\030\014 \001(" +
+      "\003\022%\n\035pre_patch_step_instance_count\030\r \001(\003" +
+      "\022&\n\036post_patch_step_instance_count\030\016 \001(\003" +
+      "\022(\n no_agent_detected_instance_count\030\017 \001" +
+      "(\003\"\225\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007S" +
+      "TARTED\020\001\022\023\n\017INSTANCE_LOOKUP\020\002\022\014\n\010PATCHIN" +
+      "G\020\003\022\r\n\tSUCCEEDED\020\004\022\031\n\025COMPLETED_WITH_ERR" +
+      "ORS\020\005\022\014\n\010CANCELED\020\006\022\r\n\tTIMED_OUT\020\007:O\352AL\n" +
+      " osconfig.googleapis.com/PatchJob\022(proje" +
+      "cts/{project}/patchJobs/{patch_job}\"\326\004\n\013" +
+      "PatchConfig\022I\n\rreboot_config\030\001 \001(\01622.goo" +
+      "gle.cloud.osconfig.v1.PatchConfig.Reboot" +
+      "Config\0222\n\003apt\030\003 \001(\0132%.google.cloud.oscon" +
+      "fig.v1.AptSettings\0222\n\003yum\030\004 \001(\0132%.google" +
+      ".cloud.osconfig.v1.YumSettings\0222\n\003goo\030\005 " +
+      "\001(\0132%.google.cloud.osconfig.v1.GooSettin" +
+      "gs\0228\n\006zypper\030\006 \001(\0132(.google.cloud.osconf" +
+      "ig.v1.ZypperSettings\022G\n\016windows_update\030\007" +
+      " \001(\0132/.google.cloud.osconfig.v1.WindowsU" +
+      "pdateSettings\0224\n\010pre_step\030\010 \001(\0132\".google" +
+      ".cloud.osconfig.v1.ExecStep\0225\n\tpost_step" +
+      "\030\t \001(\0132\".google.cloud.osconfig.v1.ExecSt" +
+      "ep\022\035\n\025mig_instances_allowed\030\n \001(\010\"Q\n\014Reb" +
+      "ootConfig\022\035\n\031REBOOT_CONFIG_UNSPECIFIED\020\000" +
+      "\022\013\n\007DEFAULT\020\001\022\n\n\006ALWAYS\020\002\022\t\n\005NEVER\020\003\"\316\002\n" +
+      "\010Instance\"\301\002\n\nPatchState\022\033\n\027PATCH_STATE_" +
+      "UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\014\n\010INACTIVE\020\002" +
+      "\022\014\n\010NOTIFIED\020\003\022\013\n\007STARTED\020\004\022\027\n\023DOWNLOADI" +
+      "NG_PATCHES\020\005\022\024\n\020APPLYING_PATCHES\020\006\022\r\n\tRE" +
+      "BOOTING\020\007\022\r\n\tSUCCEEDED\020\010\022\035\n\031SUCCEEDED_RE" +
+      "BOOT_REQUIRED\020\t\022\n\n\006FAILED\020\n\022\t\n\005ACKED\020\013\022\r" +
+      "\n\tTIMED_OUT\020\014\022\032\n\026RUNNING_PRE_PATCH_STEP\020" +
+      "\r\022\033\n\027RUNNING_POST_PATCH_STEP\020\016\022\025\n\021NO_AGE" +
+      "NT_DETECTED\020\017\"O\n\025CancelPatchJobRequest\0226" +
+      "\n\004name\030\001 \001(\tB(\340A\002\372A\"\n osconfig.googleapi" +
+      "s.com/PatchJob\"\252\001\n\013AptSettings\0228\n\004type\030\001" +
+      " \001(\0162*.google.cloud.osconfig.v1.AptSetti" +
+      "ngs.Type\022\020\n\010excludes\030\002 \003(\t\022\032\n\022exclusive_" +
+      "packages\030\003 \003(\t\"3\n\004Type\022\024\n\020TYPE_UNSPECIFI" +
+      "ED\020\000\022\010\n\004DIST\020\001\022\013\n\007UPGRADE\020\002\"^\n\013YumSettin" +
+      "gs\022\020\n\010security\030\001 \001(\010\022\017\n\007minimal\030\002 \001(\010\022\020\n" +
+      "\010excludes\030\003 \003(\t\022\032\n\022exclusive_packages\030\004 " +
+      "\003(\t\"\r\n\013GooSettings\"\221\001\n\016ZypperSettings\022\025\n" +
+      "\rwith_optional\030\001 \001(\010\022\023\n\013with_update\030\002 \001(" +
+      "\010\022\022\n\ncategories\030\003 \003(\t\022\022\n\nseverities\030\004 \003(" +
+      "\t\022\020\n\010excludes\030\005 \003(\t\022\031\n\021exclusive_patches" +
+      "\030\006 \003(\t\"\325\002\n\025WindowsUpdateSettings\022W\n\017clas" +
+      "sifications\030\001 \003(\0162>.google.cloud.osconfi" +
+      "g.v1.WindowsUpdateSettings.Classificatio" +
+      "n\022\020\n\010excludes\030\002 \003(\t\022\031\n\021exclusive_patches" +
+      "\030\003 \003(\t\"\265\001\n\016Classification\022\036\n\032CLASSIFICAT" +
+      "ION_UNSPECIFIED\020\000\022\014\n\010CRITICAL\020\001\022\014\n\010SECUR" +
+      "ITY\020\002\022\016\n\nDEFINITION\020\003\022\n\n\006DRIVER\020\004\022\020\n\014FEA" +
+      "TURE_PACK\020\005\022\020\n\014SERVICE_PACK\020\006\022\010\n\004TOOL\020\007\022" +
+      "\021\n\rUPDATE_ROLLUP\020\010\022\n\n\006UPDATE\020\t\"\240\001\n\010ExecS" +
+      "tep\022H\n\026linux_exec_step_config\030\001 \001(\0132(.go" +
+      "ogle.cloud.osconfig.v1.ExecStepConfig\022J\n" +
+      "\030windows_exec_step_config\030\002 \001(\0132(.google" +
+      ".cloud.osconfig.v1.ExecStepConfig\"\240\002\n\016Ex" +
+      "ecStepConfig\022\024\n\nlocal_path\030\001 \001(\tH\000\0229\n\ngc" +
+      "s_object\030\002 \001(\0132#.google.cloud.osconfig.v" +
+      "1.GcsObjectH\000\022\035\n\025allowed_success_codes\030\003" +
+      " \003(\005\022I\n\013interpreter\030\004 \001(\01624.google.cloud" +
+      ".osconfig.v1.ExecStepConfig.Interpreter\"" +
+      "E\n\013Interpreter\022\033\n\027INTERPRETER_UNSPECIFIE" +
+      "D\020\000\022\t\n\005SHELL\020\001\022\016\n\nPOWERSHELL\020\002B\014\n\nexecut" +
+      "able\"U\n\tGcsObject\022\023\n\006bucket\030\001 \001(\tB\003\340A\002\022\023" +
+      "\n\006object\030\002 \001(\tB\003\340A\002\022\036\n\021generation_number" +
+      "\030\003 \001(\003B\003\340A\002\"\310\002\n\023PatchInstanceFilter\022\013\n\003a" +
+      "ll\030\001 \001(\010\022N\n\014group_labels\030\002 \003(\01328.google." +
+      "cloud.osconfig.v1.PatchInstanceFilter.Gr" +
+      "oupLabel\022\r\n\005zones\030\003 \003(\t\022\021\n\tinstances\030\004 \003" +
+      "(\t\022\036\n\026instance_name_prefixes\030\005 \003(\t\032\221\001\n\nG" +
+      "roupLabel\022T\n\006labels\030\001 \003(\0132D.google.cloud" +
+      ".osconfig.v1.PatchInstanceFilter.GroupLa" +
+      "bel.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 " +
+      "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\324\001\n\014PatchRollout\022" +
+      "9\n\004mode\030\001 \001(\0162+.google.cloud.osconfig.v1" +
+      ".PatchRollout.Mode\022C\n\021disruption_budget\030" +
+      "\002 \001(\0132(.google.cloud.osconfig.v1.FixedOr" +
+      "Percent\"D\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\020\n" +
+      "\014ZONE_BY_ZONE\020\001\022\024\n\020CONCURRENT_ZONES\020\002B\277\001" +
+      "\n\034com.google.cloud.osconfig.v1B\tPatchJob" +
+      "sZ@google.golang.org/genproto/googleapis" +
+      "/cloud/osconfig/v1;osconfig\252\002\030Google.Clo" +
+      "ud.OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\V" +
+      "1\352\002\033Google::Cloud::OsConfig::V1b\006proto3"
     };
-    descriptor =
-        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
-            descriptorData,
-            new com.google.protobuf.Descriptors.FileDescriptor[] {
-              com.google.api.FieldBehaviorProto.getDescriptor(),
-              com.google.api.ResourceProto.getDescriptor(),
-              com.google.cloud.osconfig.v1.Common.getDescriptor(),
-              com.google.protobuf.DurationProto.getDescriptor(),
-              com.google.protobuf.TimestampProto.getDescriptor(),
-            });
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.cloud.osconfig.v1.Common.getDescriptor(),
+          com.google.protobuf.DurationProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
     internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor =
-        getDescriptor().getMessageTypes().get(0);
-    internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor,
-            new java.lang.String[] {
-              "Parent",
-              "Description",
-              "InstanceFilter",
-              "PatchConfig",
-              "Duration",
-              "DryRun",
-              "DisplayName",
-              "Rollout",
-            });
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor,
+        new java.lang.String[] { "Parent", "Description", "InstanceFilter", "PatchConfig", "Duration", "DryRun", "DisplayName", "Rollout", });
     internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor =
-        getDescriptor().getMessageTypes().get(1);
-    internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor,
+        new java.lang.String[] { "Name", });
     internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor =
-        getDescriptor().getMessageTypes().get(2);
-    internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor,
-            new java.lang.String[] {
-              "Parent", "PageSize", "PageToken", "Filter",
-            });
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", });
     internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor =
-        getDescriptor().getMessageTypes().get(3);
-    internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor,
-            new java.lang.String[] {
-              "PatchJobInstanceDetails", "NextPageToken",
-            });
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor,
+        new java.lang.String[] { "PatchJobInstanceDetails", "NextPageToken", });
     internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor =
-        getDescriptor().getMessageTypes().get(4);
-    internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor,
-            new java.lang.String[] {
-              "Name", "InstanceSystemId", "State", "FailureReason", "AttemptCount",
-            });
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor,
+        new java.lang.String[] { "Name", "InstanceSystemId", "State", "FailureReason", "AttemptCount", });
     internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor =
-        getDescriptor().getMessageTypes().get(5);
-    internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor,
-            new java.lang.String[] {
-              "Parent", "PageSize", "PageToken", "Filter",
-            });
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", });
     internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor =
-        getDescriptor().getMessageTypes().get(6);
-    internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor,
-            new java.lang.String[] {
-              "PatchJobs", "NextPageToken",
-            });
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor,
+        new java.lang.String[] { "PatchJobs", "NextPageToken", });
     internal_static_google_cloud_osconfig_v1_PatchJob_descriptor =
-        getDescriptor().getMessageTypes().get(7);
-    internal_static_google_cloud_osconfig_v1_PatchJob_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_PatchJob_descriptor,
-            new java.lang.String[] {
-              "Name",
-              "DisplayName",
-              "Description",
-              "CreateTime",
-              "UpdateTime",
-              "State",
-              "InstanceFilter",
-              "PatchConfig",
-              "Duration",
-              "InstanceDetailsSummary",
-              "DryRun",
-              "ErrorMessage",
-              "PercentComplete",
-              "PatchDeployment",
-              "Rollout",
-            });
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_osconfig_v1_PatchJob_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_PatchJob_descriptor,
+        new java.lang.String[] { "Name", "DisplayName", "Description", "CreateTime", "UpdateTime", "State", "InstanceFilter", "PatchConfig", "Duration", "InstanceDetailsSummary", "DryRun", "ErrorMessage", "PercentComplete", "PatchDeployment", "Rollout", });
     internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor =
-        internal_static_google_cloud_osconfig_v1_PatchJob_descriptor.getNestedTypes().get(0);
-    internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor,
-            new java.lang.String[] {
-              "PendingInstanceCount",
-              "InactiveInstanceCount",
-              "NotifiedInstanceCount",
-              "StartedInstanceCount",
-              "DownloadingPatchesInstanceCount",
-              "ApplyingPatchesInstanceCount",
-              "RebootingInstanceCount",
-              "SucceededInstanceCount",
-              "SucceededRebootRequiredInstanceCount",
-              "FailedInstanceCount",
-              "AckedInstanceCount",
-              "TimedOutInstanceCount",
-              "PrePatchStepInstanceCount",
-              "PostPatchStepInstanceCount",
-              "NoAgentDetectedInstanceCount",
-            });
+      internal_static_google_cloud_osconfig_v1_PatchJob_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor,
+        new java.lang.String[] { "PendingInstanceCount", "InactiveInstanceCount", "NotifiedInstanceCount", "StartedInstanceCount", "DownloadingPatchesInstanceCount", "ApplyingPatchesInstanceCount", "RebootingInstanceCount", "SucceededInstanceCount", "SucceededRebootRequiredInstanceCount", "FailedInstanceCount", "AckedInstanceCount", "TimedOutInstanceCount", "PrePatchStepInstanceCount", "PostPatchStepInstanceCount", "NoAgentDetectedInstanceCount", });
     internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor =
-        getDescriptor().getMessageTypes().get(8);
-    internal_static_google_cloud_osconfig_v1_PatchConfig_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor,
-            new java.lang.String[] {
-              "RebootConfig",
-              "Apt",
-              "Yum",
-              "Goo",
-              "Zypper",
-              "WindowsUpdate",
-              "PreStep",
-              "PostStep",
-              "MigInstancesAllowed",
-            });
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_osconfig_v1_PatchConfig_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor,
+        new java.lang.String[] { "RebootConfig", "Apt", "Yum", "Goo", "Zypper", "WindowsUpdate", "PreStep", "PostStep", "MigInstancesAllowed", });
     internal_static_google_cloud_osconfig_v1_Instance_descriptor =
-        getDescriptor().getMessageTypes().get(9);
-    internal_static_google_cloud_osconfig_v1_Instance_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_Instance_descriptor,
-            new java.lang.String[] {});
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_osconfig_v1_Instance_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_Instance_descriptor,
+        new java.lang.String[] { });
     internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor =
-        getDescriptor().getMessageTypes().get(10);
-    internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor,
+        new java.lang.String[] { "Name", });
     internal_static_google_cloud_osconfig_v1_AptSettings_descriptor =
-        getDescriptor().getMessageTypes().get(11);
-    internal_static_google_cloud_osconfig_v1_AptSettings_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_AptSettings_descriptor,
-            new java.lang.String[] {
-              "Type", "Excludes", "ExclusivePackages",
-            });
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_osconfig_v1_AptSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_AptSettings_descriptor,
+        new java.lang.String[] { "Type", "Excludes", "ExclusivePackages", });
     internal_static_google_cloud_osconfig_v1_YumSettings_descriptor =
-        getDescriptor().getMessageTypes().get(12);
-    internal_static_google_cloud_osconfig_v1_YumSettings_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_YumSettings_descriptor,
-            new java.lang.String[] {
-              "Security", "Minimal", "Excludes", "ExclusivePackages",
-            });
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_osconfig_v1_YumSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_YumSettings_descriptor,
+        new java.lang.String[] { "Security", "Minimal", "Excludes", "ExclusivePackages", });
     internal_static_google_cloud_osconfig_v1_GooSettings_descriptor =
-        getDescriptor().getMessageTypes().get(13);
-    internal_static_google_cloud_osconfig_v1_GooSettings_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_GooSettings_descriptor,
-            new java.lang.String[] {});
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_osconfig_v1_GooSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_GooSettings_descriptor,
+        new java.lang.String[] { });
     internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor =
-        getDescriptor().getMessageTypes().get(14);
-    internal_static_google_cloud_osconfig_v1_ZypperSettings_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor,
-            new java.lang.String[] {
-              "WithOptional",
-              "WithUpdate",
-              "Categories",
-              "Severities",
-              "Excludes",
-              "ExclusivePatches",
-            });
+      getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_osconfig_v1_ZypperSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor,
+        new java.lang.String[] { "WithOptional", "WithUpdate", "Categories", "Severities", "Excludes", "ExclusivePatches", });
     internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor =
-        getDescriptor().getMessageTypes().get(15);
-    internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor,
-            new java.lang.String[] {
-              "Classifications", "Excludes", "ExclusivePatches",
-            });
+      getDescriptor().getMessageTypes().get(15);
+    internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor,
+        new java.lang.String[] { "Classifications", "Excludes", "ExclusivePatches", });
     internal_static_google_cloud_osconfig_v1_ExecStep_descriptor =
-        getDescriptor().getMessageTypes().get(16);
-    internal_static_google_cloud_osconfig_v1_ExecStep_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_ExecStep_descriptor,
-            new java.lang.String[] {
-              "LinuxExecStepConfig", "WindowsExecStepConfig",
-            });
+      getDescriptor().getMessageTypes().get(16);
+    internal_static_google_cloud_osconfig_v1_ExecStep_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_ExecStep_descriptor,
+        new java.lang.String[] { "LinuxExecStepConfig", "WindowsExecStepConfig", });
     internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor =
-        getDescriptor().getMessageTypes().get(17);
-    internal_static_google_cloud_osconfig_v1_ExecStepConfig_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor,
-            new java.lang.String[] {
-              "LocalPath", "GcsObject", "AllowedSuccessCodes", "Interpreter", "Executable",
-            });
+      getDescriptor().getMessageTypes().get(17);
+    internal_static_google_cloud_osconfig_v1_ExecStepConfig_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor,
+        new java.lang.String[] { "LocalPath", "GcsObject", "AllowedSuccessCodes", "Interpreter", "Executable", });
     internal_static_google_cloud_osconfig_v1_GcsObject_descriptor =
-        getDescriptor().getMessageTypes().get(18);
-    internal_static_google_cloud_osconfig_v1_GcsObject_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_GcsObject_descriptor,
-            new java.lang.String[] {
-              "Bucket", "Object", "GenerationNumber",
-            });
+      getDescriptor().getMessageTypes().get(18);
+    internal_static_google_cloud_osconfig_v1_GcsObject_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_GcsObject_descriptor,
+        new java.lang.String[] { "Bucket", "Object", "GenerationNumber", });
     internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor =
-        getDescriptor().getMessageTypes().get(19);
-    internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor,
-            new java.lang.String[] {
-              "All", "GroupLabels", "Zones", "Instances", "InstanceNamePrefixes",
-            });
+      getDescriptor().getMessageTypes().get(19);
+    internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor,
+        new java.lang.String[] { "All", "GroupLabels", "Zones", "Instances", "InstanceNamePrefixes", });
     internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor =
-        internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor
-            .getNestedTypes()
-            .get(0);
-    internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor,
-            new java.lang.String[] {
-              "Labels",
-            });
+      internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor,
+        new java.lang.String[] { "Labels", });
     internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor =
-        internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor
-            .getNestedTypes()
-            .get(0);
-    internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor,
-            new java.lang.String[] {
-              "Key", "Value",
-            });
+      internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
     internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor =
-        getDescriptor().getMessageTypes().get(20);
-    internal_static_google_cloud_osconfig_v1_PatchRollout_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor,
-            new java.lang.String[] {
-              "Mode", "DisruptionBudget",
-            });
+      getDescriptor().getMessageTypes().get(20);
+    internal_static_google_cloud_osconfig_v1_PatchRollout_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor,
+        new java.lang.String[] { "Mode", "DisruptionBudget", });
     com.google.protobuf.ExtensionRegistry registry =
         com.google.protobuf.ExtensionRegistry.newInstance();
     registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
     registry.add(com.google.api.ResourceProto.resource);
     registry.add(com.google.api.ResourceProto.resourceReference);
-    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
-        descriptor, registry);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
     com.google.api.FieldBehaviorProto.getDescriptor();
     com.google.api.ResourceProto.getDescriptor();
     com.google.cloud.osconfig.v1.Common.getDescriptor();
diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ProjectName.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ProjectName.java
similarity index 100%
rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ProjectName.java
rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ProjectName.java
diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequest.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequest.java
similarity index 64%
rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequest.java
index d85d4fa9..472a464a 100644
--- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequest.java
@@ -1,56 +1,39 @@
-/*
- * 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/osconfig/v1/os_policy_assignments.proto
 
 package com.google.cloud.osconfig.v1;
 
 /**
- *
- *
  * 
  * A request message to update an OS policy assignment
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest} */ -public final class UpdateOSPolicyAssignmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateOSPolicyAssignmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) UpdateOSPolicyAssignmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateOSPolicyAssignmentRequest.newBuilder() to construct. - private UpdateOSPolicyAssignmentRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateOSPolicyAssignmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateOSPolicyAssignmentRequest() {} + private UpdateOSPolicyAssignmentRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateOSPolicyAssignmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateOSPolicyAssignmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,44 +52,39 @@ private UpdateOSPolicyAssignmentRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder subBuilder = null; - if (osPolicyAssignment_ != null) { - subBuilder = osPolicyAssignment_.toBuilder(); - } - osPolicyAssignment_ = - input.readMessage( - com.google.cloud.osconfig.v1.OSPolicyAssignment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(osPolicyAssignment_); - osPolicyAssignment_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder subBuilder = null; + if (osPolicyAssignment_ != null) { + subBuilder = osPolicyAssignment_.toBuilder(); + } + osPolicyAssignment_ = input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(osPolicyAssignment_); + osPolicyAssignment_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,41 +92,34 @@ private UpdateOSPolicyAssignmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.class, - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.Builder.class); } public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1.OSPolicyAssignment osPolicyAssignment_; /** - * - * *
    * Required. The updated OS policy assignment.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the osPolicyAssignment field is set. */ @java.lang.Override @@ -156,34 +127,23 @@ public boolean hasOsPolicyAssignment() { return osPolicyAssignment_ != null; } /** - * - * *
    * Required. The updated OS policy assignment.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The osPolicyAssignment. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignment() { - return osPolicyAssignment_ == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() - : osPolicyAssignment_; + return osPolicyAssignment_ == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; } /** - * - * *
    * Required. The updated OS policy assignment.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder() { @@ -193,16 +153,12 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Field mask that controls which fields of the assignment should be
    * updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -210,16 +166,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Field mask that controls which fields of the assignment should be
    * updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -227,15 +179,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Field mask that controls which fields of the assignment should be
    * updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -243,7 +192,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +203,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (osPolicyAssignment_ != null) { output.writeMessage(1, getOsPolicyAssignment()); } @@ -272,10 +221,12 @@ public int getSerializedSize() { size = 0; if (osPolicyAssignment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOsPolicyAssignment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOsPolicyAssignment()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -285,21 +236,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest other = - (com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) obj; + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest other = (com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) obj; if (hasOsPolicyAssignment() != other.hasOsPolicyAssignment()) return false; if (hasOsPolicyAssignment()) { - if (!getOsPolicyAssignment().equals(other.getOsPolicyAssignment())) return false; + if (!getOsPolicyAssignment() + .equals(other.getOsPolicyAssignment())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -326,127 +278,117 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest 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.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message to update an OS policy assignment
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.class, - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.newBuilder() @@ -454,15 +396,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -482,14 +425,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.getDefaultInstance(); } @@ -504,8 +446,7 @@ public com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest buildPartial() { - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest result = - new com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest(this); + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest result = new com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest(this); if (osPolicyAssignmentBuilder_ == null) { result.osPolicyAssignment_ = osPolicyAssignment_; } else { @@ -524,39 +465,38 @@ public com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.UpdateOSPolicyAssignmentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest)other); } else { super.mergeFrom(other); return this; @@ -564,9 +504,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest other) { - if (other - == com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.getDefaultInstance()) return this; if (other.hasOsPolicyAssignment()) { mergeOsPolicyAssignment(other.getOsPolicyAssignment()); } @@ -592,8 +530,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -605,58 +542,39 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1.OSPolicyAssignment osPolicyAssignment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, - com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> - osPolicyAssignmentBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> osPolicyAssignmentBuilder_; /** - * - * *
      * Required. The updated OS policy assignment.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the osPolicyAssignment field is set. */ public boolean hasOsPolicyAssignment() { return osPolicyAssignmentBuilder_ != null || osPolicyAssignment_ != null; } /** - * - * *
      * Required. The updated OS policy assignment.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The osPolicyAssignment. */ public com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignment() { if (osPolicyAssignmentBuilder_ == null) { - return osPolicyAssignment_ == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() - : osPolicyAssignment_; + return osPolicyAssignment_ == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; } else { return osPolicyAssignmentBuilder_.getMessage(); } } /** - * - * *
      * Required. The updated OS policy assignment.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOsPolicyAssignment(com.google.cloud.osconfig.v1.OSPolicyAssignment value) { if (osPolicyAssignmentBuilder_ == null) { @@ -672,15 +590,11 @@ public Builder setOsPolicyAssignment(com.google.cloud.osconfig.v1.OSPolicyAssign return this; } /** - * - * *
      * Required. The updated OS policy assignment.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOsPolicyAssignment( com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder builderForValue) { @@ -694,23 +608,17 @@ public Builder setOsPolicyAssignment( return this; } /** - * - * *
      * Required. The updated OS policy assignment.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeOsPolicyAssignment(com.google.cloud.osconfig.v1.OSPolicyAssignment value) { if (osPolicyAssignmentBuilder_ == null) { if (osPolicyAssignment_ != null) { osPolicyAssignment_ = - com.google.cloud.osconfig.v1.OSPolicyAssignment.newBuilder(osPolicyAssignment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.OSPolicyAssignment.newBuilder(osPolicyAssignment_).mergeFrom(value).buildPartial(); } else { osPolicyAssignment_ = value; } @@ -722,15 +630,11 @@ public Builder mergeOsPolicyAssignment(com.google.cloud.osconfig.v1.OSPolicyAssi return this; } /** - * - * *
      * Required. The updated OS policy assignment.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOsPolicyAssignment() { if (osPolicyAssignmentBuilder_ == null) { @@ -744,65 +648,48 @@ public Builder clearOsPolicyAssignment() { return this; } /** - * - * *
      * Required. The updated OS policy assignment.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder getOsPolicyAssignmentBuilder() { - + onChanged(); return getOsPolicyAssignmentFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The updated OS policy assignment.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder - getOsPolicyAssignmentOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder() { if (osPolicyAssignmentBuilder_ != null) { return osPolicyAssignmentBuilder_.getMessageOrBuilder(); } else { - return osPolicyAssignment_ == null - ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() - : osPolicyAssignment_; + return osPolicyAssignment_ == null ? + com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; } } /** - * - * *
      * Required. The updated OS policy assignment.
      * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, - com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentFieldBuilder() { if (osPolicyAssignmentBuilder_ == null) { - osPolicyAssignmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, - com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder>( - getOsPolicyAssignment(), getParentForChildren(), isClean()); + osPolicyAssignmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder>( + getOsPolicyAssignment(), + getParentForChildren(), + isClean()); osPolicyAssignment_ = null; } return osPolicyAssignmentBuilder_; @@ -810,58 +697,42 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder getOsPolicyAssign private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Optional. Field mask that controls which fields of the assignment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Optional. Field mask that controls which fields of the assignment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Optional. Field mask that controls which fields of the assignment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -877,17 +748,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask that controls which fields of the assignment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -898,21 +767,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Field mask that controls which fields of the assignment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -924,15 +790,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask that controls which fields of the assignment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -946,71 +809,58 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Field mask that controls which fields of the assignment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Field mask that controls which fields of the assignment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Optional. Field mask that controls which fields of the assignment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1020,13 +870,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) - private static final com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest(); } @@ -1035,16 +884,16 @@ public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateOSPolicyAssignmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateOSPolicyAssignmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateOSPolicyAssignmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateOSPolicyAssignmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1059,4 +908,6 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequestOrBuilder.java index 3fac4ae8..6e7fc3b9 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequestOrBuilder.java @@ -1,107 +1,66 @@ -/* - * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; -public interface UpdateOSPolicyAssignmentRequestOrBuilder - extends +public interface UpdateOSPolicyAssignmentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The updated OS policy assignment.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the osPolicyAssignment field is set. */ boolean hasOsPolicyAssignment(); /** - * - * *
    * Required. The updated OS policy assignment.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The osPolicyAssignment. */ com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignment(); /** - * - * *
    * Required. The updated OS policy assignment.
    * 
* - * - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder(); /** - * - * *
    * Optional. Field mask that controls which fields of the assignment should be
    * updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Field mask that controls which fields of the assignment should be
    * updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Field mask that controls which fields of the assignment should be
    * updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityProto.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityProto.java new file mode 100644 index 00000000..d5443469 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityProto.java @@ -0,0 +1,226 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/osconfig/v1/vulnerability.proto + +package com.google.cloud.osconfig.v1; + +public final class VulnerabilityProto { + private VulnerabilityProto() {} + 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_osconfig_v1_VulnerabilityReport_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_CVSSv3_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n,google/cloud/osconfig/v1/vulnerability" + + ".proto\022\030google.cloud.osconfig.v1\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\032\037google/protobuf/timestamp." + + "proto\"\303\010\n\023VulnerabilityReport\022\021\n\004name\030\001 " + + "\001(\tB\003\340A\003\022Y\n\017vulnerabilities\030\002 \003(\0132;.goog" + + "le.cloud.osconfig.v1.VulnerabilityReport" + + ".VulnerabilityB\003\340A\003\0224\n\013update_time\030\003 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\032\202\006\n\rVu" + + "lnerability\022T\n\007details\030\001 \001(\0132C.google.cl" + + "oud.osconfig.v1.VulnerabilityReport.Vuln" + + "erability.Details\022(\n\034installed_inventory" + + "_item_ids\030\002 \003(\tB\002\030\001\022(\n\034available_invento" + + "ry_item_ids\030\003 \003(\tB\002\030\001\022/\n\013create_time\030\004 \001" + + "(\0132\032.google.protobuf.Timestamp\022/\n\013update" + + "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" + + "O\n\005items\030\006 \003(\0132@.google.cloud.osconfig.v" + + "1.VulnerabilityReport.Vulnerability.Item" + + "\032\224\002\n\007Details\022\013\n\003cve\030\001 \001(\t\022\025\n\rcvss_v2_sco" + + "re\030\002 \001(\002\0221\n\007cvss_v3\030\003 \001(\0132 .google.cloud" + + ".osconfig.v1.CVSSv3\022\020\n\010severity\030\004 \001(\t\022\023\n" + + "\013description\030\005 \001(\t\022a\n\nreferences\030\006 \003(\0132M" + + ".google.cloud.osconfig.v1.VulnerabilityR" + + "eport.Vulnerability.Details.Reference\032(\n" + + "\tReference\022\013\n\003url\030\001 \001(\t\022\016\n\006source\030\002 \001(\t\032" + + "}\n\004Item\022#\n\033installed_inventory_item_id\030\001" + + " \001(\t\022#\n\033available_inventory_item_id\030\002 \001(" + + "\t\022\025\n\rfixed_cpe_uri\030\003 \001(\t\022\024\n\014upstream_fix" + + "\030\004 \001(\t:\202\001\352A\177\n+osconfig.googleapis.com/Vu" + + "lnerabilityReport\022Pprojects/{project}/lo" + + "cations/{location}/instances/{instance}/" + + "vulnerabilityReport\"b\n\035GetVulnerabilityR" + + "eportRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+osco" + + "nfig.googleapis.com/VulnerabilityReport\"" + + "\221\001\n\037ListVulnerabilityReportsRequest\0227\n\006p" + + "arent\030\001 \001(\tB\'\340A\002\372A!\n\037compute.googleapis." + + "com/Instance\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + + "token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\211\001\n ListVuln" + + "erabilityReportsResponse\022L\n\025vulnerabilit" + + "y_reports\030\001 \003(\0132-.google.cloud.osconfig." + + "v1.VulnerabilityReport\022\027\n\017next_page_toke" + + "n\030\002 \001(\t\"\265\n\n\006CVSSv3\022\022\n\nbase_score\030\001 \001(\002\022\034" + + "\n\024exploitability_score\030\002 \001(\002\022\024\n\014impact_s" + + "core\030\003 \001(\002\022D\n\rattack_vector\030\005 \001(\0162-.goog" + + "le.cloud.osconfig.v1.CVSSv3.AttackVector" + + "\022L\n\021attack_complexity\030\006 \001(\01621.google.clo" + + "ud.osconfig.v1.CVSSv3.AttackComplexity\022P" + + "\n\023privileges_required\030\007 \001(\01623.google.clo" + + "ud.osconfig.v1.CVSSv3.PrivilegesRequired" + + "\022J\n\020user_interaction\030\010 \001(\01620.google.clou" + + "d.osconfig.v1.CVSSv3.UserInteraction\0225\n\005" + + "scope\030\t \001(\0162&.google.cloud.osconfig.v1.C" + + "VSSv3.Scope\022G\n\026confidentiality_impact\030\n " + + "\001(\0162\'.google.cloud.osconfig.v1.CVSSv3.Im" + + "pact\022A\n\020integrity_impact\030\013 \001(\0162\'.google." + + "cloud.osconfig.v1.CVSSv3.Impact\022D\n\023avail" + + "ability_impact\030\014 \001(\0162\'.google.cloud.osco" + + "nfig.v1.CVSSv3.Impact\"\231\001\n\014AttackVector\022\035" + + "\n\031ATTACK_VECTOR_UNSPECIFIED\020\000\022\031\n\025ATTACK_" + + "VECTOR_NETWORK\020\001\022\032\n\026ATTACK_VECTOR_ADJACE" + + "NT\020\002\022\027\n\023ATTACK_VECTOR_LOCAL\020\003\022\032\n\026ATTACK_" + + "VECTOR_PHYSICAL\020\004\"l\n\020AttackComplexity\022!\n" + + "\035ATTACK_COMPLEXITY_UNSPECIFIED\020\000\022\031\n\025ATTA" + + "CK_COMPLEXITY_LOW\020\001\022\032\n\026ATTACK_COMPLEXITY" + + "_HIGH\020\002\"\222\001\n\022PrivilegesRequired\022#\n\037PRIVIL" + + "EGES_REQUIRED_UNSPECIFIED\020\000\022\034\n\030PRIVILEGE" + + "S_REQUIRED_NONE\020\001\022\033\n\027PRIVILEGES_REQUIRED" + + "_LOW\020\002\022\034\n\030PRIVILEGES_REQUIRED_HIGH\020\003\"m\n\017" + + "UserInteraction\022 \n\034USER_INTERACTION_UNSP" + + "ECIFIED\020\000\022\031\n\025USER_INTERACTION_NONE\020\001\022\035\n\031" + + "USER_INTERACTION_REQUIRED\020\002\"F\n\005Scope\022\025\n\021" + + "SCOPE_UNSPECIFIED\020\000\022\023\n\017SCOPE_UNCHANGED\020\001" + + "\022\021\n\rSCOPE_CHANGED\020\002\"R\n\006Impact\022\026\n\022IMPACT_" + + "UNSPECIFIED\020\000\022\017\n\013IMPACT_HIGH\020\001\022\016\n\nIMPACT" + + "_LOW\020\002\022\017\n\013IMPACT_NONE\020\003B\312\001\n\034com.google.c" + + "loud.osconfig.v1B\022VulnerabilityProtoP\001Z@" + + "google.golang.org/genproto/googleapis/cl" + + "oud/osconfig/v1;osconfig\252\002\030Google.Cloud." + + "OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002" + + "\033Google::Cloud::OsConfig::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor, + new java.lang.String[] { "Name", "Vulnerabilities", "UpdateTime", }); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor = + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor, + new java.lang.String[] { "Details", "InstalledInventoryItemIds", "AvailableInventoryItemIds", "CreateTime", "UpdateTime", "Items", }); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor = + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor, + new java.lang.String[] { "Cve", "CvssV2Score", "CvssV3", "Severity", "Description", "References", }); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor = + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor, + new java.lang.String[] { "Url", "Source", }); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor = + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor, + new java.lang.String[] { "InstalledInventoryItemId", "AvailableInventoryItemId", "FixedCpeUri", "UpstreamFix", }); + internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor, + new java.lang.String[] { "VulnerabilityReports", "NextPageToken", }); + internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_osconfig_v1_CVSSv3_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor, + new java.lang.String[] { "BaseScore", "ExploitabilityScore", "ImpactScore", "AttackVector", "AttackComplexity", "PrivilegesRequired", "UserInteraction", "Scope", "ConfidentialityImpact", "IntegrityImpact", "AvailabilityImpact", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReport.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReport.java similarity index 68% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReport.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReport.java index e0d03104..e7ff43c5 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReport.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReport.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; /** - * - * *
  * This API resource represents the vulnerability report for a specified
  * Compute Engine virtual machine (VM) instance at a given point in time.
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport}
  */
-public final class VulnerabilityReport extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class VulnerabilityReport extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.VulnerabilityReport)
     VulnerabilityReportOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use VulnerabilityReport.newBuilder() to construct.
   private VulnerabilityReport(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private VulnerabilityReport() {
     name_ = "";
     vulnerabilities_ = java.util.Collections.emptyList();
@@ -47,15 +29,16 @@ private VulnerabilityReport() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new VulnerabilityReport();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private VulnerabilityReport(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,49 +58,41 @@ private VulnerabilityReport(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              vulnerabilities_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                vulnerabilities_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              vulnerabilities_.add(
-                  input.readMessage(
-                      com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.parser(),
-                      extensionRegistry));
-              break;
+            vulnerabilities_.add(
+                input.readMessage(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.parser(), extensionRegistry));
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 26:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -125,7 +100,8 @@ private VulnerabilityReport(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         vulnerabilities_ = java.util.Collections.unmodifiableList(vulnerabilities_);
@@ -134,56 +110,44 @@ private VulnerabilityReport(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1.VulnerabilityProto
-        .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.VulnerabilityProto
-        .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.VulnerabilityReport.class,
-            com.google.cloud.osconfig.v1.VulnerabilityReport.Builder.class);
+            com.google.cloud.osconfig.v1.VulnerabilityReport.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Builder.class);
   }
 
-  public interface VulnerabilityOrBuilder
-      extends
+  public interface VulnerabilityOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; - * * @return Whether the details field is set. */ boolean hasDetails(); /** - * - * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; - * * @return The details. */ com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details getDetails(); /** - * - * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
@@ -191,12 +155,9 @@ public interface VulnerabilityOrBuilder
      *
      * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1;
      */
-    com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder
-        getDetailsOrBuilder();
+    com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder getDetailsOrBuilder();
 
     /**
-     *
-     *
      * 
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -206,17 +167,13 @@ public interface VulnerabilityOrBuilder
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @return A list containing the installedInventoryItemIds. */ - @java.lang.Deprecated - java.util.List getInstalledInventoryItemIdsList(); + @java.lang.Deprecated java.util.List + getInstalledInventoryItemIdsList(); /** - * - * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -226,17 +183,12 @@ public interface VulnerabilityOrBuilder
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @return The count of installedInventoryItemIds. */ - @java.lang.Deprecated - int getInstalledInventoryItemIdsCount(); + @java.lang.Deprecated int getInstalledInventoryItemIdsCount(); /** - * - * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -246,18 +198,13 @@ public interface VulnerabilityOrBuilder
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param index The index of the element to return. * @return The installedInventoryItemIds at the given index. */ - @java.lang.Deprecated - java.lang.String getInstalledInventoryItemIds(int index); + @java.lang.Deprecated java.lang.String getInstalledInventoryItemIds(int index); /** - * - * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -267,19 +214,15 @@ public interface VulnerabilityOrBuilder
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param index The index of the value to return. * @return The bytes of the installedInventoryItemIds at the given index. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getInstalledInventoryItemIdsBytes(int index); + @java.lang.Deprecated com.google.protobuf.ByteString + getInstalledInventoryItemIdsBytes(int index); /** - * - * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -290,17 +233,13 @@ public interface VulnerabilityOrBuilder
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @return A list containing the availableInventoryItemIds. */ - @java.lang.Deprecated - java.util.List getAvailableInventoryItemIdsList(); + @java.lang.Deprecated java.util.List + getAvailableInventoryItemIdsList(); /** - * - * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -311,17 +250,12 @@ public interface VulnerabilityOrBuilder
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @return The count of availableInventoryItemIds. */ - @java.lang.Deprecated - int getAvailableInventoryItemIdsCount(); + @java.lang.Deprecated int getAvailableInventoryItemIdsCount(); /** - * - * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -332,18 +266,13 @@ public interface VulnerabilityOrBuilder
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param index The index of the element to return. * @return The availableInventoryItemIds at the given index. */ - @java.lang.Deprecated - java.lang.String getAvailableInventoryItemIds(int index); + @java.lang.Deprecated java.lang.String getAvailableInventoryItemIds(int index); /** - * - * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -354,43 +283,33 @@ public interface VulnerabilityOrBuilder
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param index The index of the value to return. * @return The bytes of the availableInventoryItemIds at the given index. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getAvailableInventoryItemIdsBytes(int index); + @java.lang.Deprecated com.google.protobuf.ByteString + getAvailableInventoryItemIdsBytes(int index); /** - * - * *
      * The timestamp for when the vulnerability was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
      * The timestamp for when the vulnerability was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
      * The timestamp for when the vulnerability was first detected.
      * 
@@ -400,32 +319,24 @@ public interface VulnerabilityOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
      * The timestamp for when the vulnerability was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
      * The timestamp for when the vulnerability was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
      * The timestamp for when the vulnerability was last modified.
      * 
@@ -435,84 +346,65 @@ public interface VulnerabilityOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ - java.util.List + java.util.List getItemsList(); /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item getItems(int index); /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ int getItemsCount(); /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ - java.util.List< - ? extends com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder> + java.util.List getItemsOrBuilderList(); /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder getItemsOrBuilder( int index); } /** - * - * *
    * A vulnerability affecting the VM instance.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability} */ - public static final class Vulnerability extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Vulnerability extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability) VulnerabilityOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Vulnerability.newBuilder() to construct. private Vulnerability(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Vulnerability() { installedInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; availableInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -521,15 +413,16 @@ private Vulnerability() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Vulnerability(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Vulnerability( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -549,97 +442,79 @@ private Vulnerability( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder - subBuilder = null; - if (details_ != null) { - subBuilder = details_.toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(details_); - details_ = subBuilder.buildPartial(); - } + case 10: { + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder subBuilder = null; + if (details_ != null) { + subBuilder = details_.toBuilder(); + } + details_ = input.readMessage(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(details_); + details_ = subBuilder.buildPartial(); + } - break; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + installedInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - installedInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - installedInventoryItemIds_.add(s); - break; + installedInventoryItemIds_.add(s); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + availableInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - availableInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - availableInventoryItemIds_.add(s); - break; + availableInventoryItemIds_.add(s); + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 50: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - items_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item>(); - mutable_bitField0_ |= 0x00000004; - } - items_.add( - input.readMessage( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item - .parser(), - extensionRegistry)); - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + items_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + items_.add( + input.readMessage(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -647,7 +522,8 @@ private Vulnerability( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { installedInventoryItemIds_ = installedInventoryItemIds_.getUnmodifiableView(); @@ -662,30 +538,24 @@ private Vulnerability( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_fieldAccessorTable + return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.class, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder.class); + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder.class); } - public interface DetailsOrBuilder - extends + public interface DetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The CVE of the vulnerability. CVE cannot be
        * empty and the combination of <cve, classification> should be unique
@@ -693,13 +563,10 @@ public interface DetailsOrBuilder
        * 
* * string cve = 1; - * * @return The cve. */ java.lang.String getCve(); /** - * - * *
        * The CVE of the vulnerability. CVE cannot be
        * empty and the combination of <cve, classification> should be unique
@@ -707,52 +574,41 @@ public interface DetailsOrBuilder
        * 
* * string cve = 1; - * * @return The bytes for cve. */ - com.google.protobuf.ByteString getCveBytes(); + com.google.protobuf.ByteString + getCveBytes(); /** - * - * *
        * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
        * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
        * 
* * float cvss_v2_score = 2; - * * @return The cvssV2Score. */ float getCvssV2Score(); /** - * - * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
* * .google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3; - * * @return Whether the cvssV3 field is set. */ boolean hasCvssV3(); /** - * - * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
* * .google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3; - * * @return The cvssV3. */ com.google.cloud.osconfig.v1.CVSSv3 getCvssV3(); /** - * - * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
@@ -762,127 +618,90 @@ public interface DetailsOrBuilder com.google.cloud.osconfig.v1.CVSSv3OrBuilder getCvssV3OrBuilder(); /** - * - * *
        * Assigned severity/impact ranking from the distro.
        * 
* * string severity = 4; - * * @return The severity. */ java.lang.String getSeverity(); /** - * - * *
        * Assigned severity/impact ranking from the distro.
        * 
* * string severity = 4; - * * @return The bytes for severity. */ - com.google.protobuf.ByteString getSeverityBytes(); + com.google.protobuf.ByteString + getSeverityBytes(); /** - * - * *
        * The note or description describing the vulnerability from the distro.
        * 
* * string description = 5; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
        * The note or description describing the vulnerability from the distro.
        * 
* * string description = 5; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - java.util.List< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference> + java.util.List getReferencesList(); /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - getReferences(int index); + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference getReferences(int index); /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ int getReferencesCount(); /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .ReferenceOrBuilder> + java.util.List getReferencesOrBuilderList(); /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder - getReferencesOrBuilder(int index); + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder getReferencesOrBuilder( + int index); } /** - * - * *
      * Contains metadata information for the vulnerability. This information is
      * collected from the upstream feed of the operating system.
@@ -890,16 +709,15 @@ public interface DetailsOrBuilder
      *
      * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details}
      */
-    public static final class Details extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class Details extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details)
         DetailsOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use Details.newBuilder() to construct.
       private Details(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
       private Details() {
         cve_ = "";
         severity_ = "";
@@ -909,15 +727,16 @@ private Details() {
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new Details();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private Details(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -937,71 +756,58 @@ private Details(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+              case 10: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  cve_ = s;
-                  break;
+                cve_ = s;
+                break;
+              }
+              case 21: {
+
+                cvssV2Score_ = input.readFloat();
+                break;
+              }
+              case 26: {
+                com.google.cloud.osconfig.v1.CVSSv3.Builder subBuilder = null;
+                if (cvssV3_ != null) {
+                  subBuilder = cvssV3_.toBuilder();
                 }
-              case 21:
-                {
-                  cvssV2Score_ = input.readFloat();
-                  break;
+                cvssV3_ = input.readMessage(com.google.cloud.osconfig.v1.CVSSv3.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(cvssV3_);
+                  cvssV3_ = subBuilder.buildPartial();
                 }
-              case 26:
-                {
-                  com.google.cloud.osconfig.v1.CVSSv3.Builder subBuilder = null;
-                  if (cvssV3_ != null) {
-                    subBuilder = cvssV3_.toBuilder();
-                  }
-                  cvssV3_ =
-                      input.readMessage(
-                          com.google.cloud.osconfig.v1.CVSSv3.parser(), extensionRegistry);
-                  if (subBuilder != null) {
-                    subBuilder.mergeFrom(cvssV3_);
-                    cvssV3_ = subBuilder.buildPartial();
-                  }
 
-                  break;
-                }
-              case 34:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+                break;
+              }
+              case 34: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  severity_ = s;
-                  break;
-                }
-              case 42:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+                severity_ = s;
+                break;
+              }
+              case 42: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  description_ = s;
-                  break;
-                }
-              case 50:
-                {
-                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                    references_ =
-                        new java.util.ArrayList<
-                            com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details
-                                .Reference>();
-                    mutable_bitField0_ |= 0x00000001;
-                  }
-                  references_.add(
-                      input.readMessage(
-                          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details
-                              .Reference.parser(),
-                          extensionRegistry));
-                  break;
+                description_ = s;
+                break;
+              }
+              case 50: {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  references_ = new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000001;
                 }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+                references_.add(
+                    input.readMessage(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.parser(), extensionRegistry));
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1009,8 +815,8 @@ private Details(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           if (((mutable_bitField0_ & 0x00000001) != 0)) {
             references_ = java.util.Collections.unmodifiableList(references_);
@@ -1019,98 +825,79 @@ private Details(
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.VulnerabilityProto
-            .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.VulnerabilityProto
-            .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.class,
-                com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder
-                    .class);
+                com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder.class);
       }
 
-      public interface ReferenceOrBuilder
-          extends
+      public interface ReferenceOrBuilder extends
           // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference)
           com.google.protobuf.MessageOrBuilder {
 
         /**
-         *
-         *
          * 
          * The url of the reference.
          * 
* * string url = 1; - * * @return The url. */ java.lang.String getUrl(); /** - * - * *
          * The url of the reference.
          * 
* * string url = 1; - * * @return The bytes for url. */ - com.google.protobuf.ByteString getUrlBytes(); + com.google.protobuf.ByteString + getUrlBytes(); /** - * - * *
          * The source of the reference e.g. NVD.
          * 
* * string source = 2; - * * @return The source. */ java.lang.String getSource(); /** - * - * *
          * The source of the reference e.g. NVD.
          * 
* * string source = 2; - * * @return The bytes for source. */ - com.google.protobuf.ByteString getSourceBytes(); + com.google.protobuf.ByteString + getSourceBytes(); } /** - * - * *
        * A reference for this vulnerability.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference} + * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference} */ - public static final class Reference extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Reference extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) ReferenceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Reference.newBuilder() to construct. private Reference(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Reference() { url_ = ""; source_ = ""; @@ -1118,15 +905,16 @@ private Reference() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Reference(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Reference( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1145,27 +933,25 @@ private Reference( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - url_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + url_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - source_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + source_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1173,42 +959,34 @@ private Reference( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable + return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - .class, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - .Builder.class); + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder.class); } public static final int URL_FIELD_NUMBER = 1; private volatile java.lang.Object url_; /** - * - * *
          * The url of the reference.
          * 
* * string url = 1; - * * @return The url. */ @java.lang.Override @@ -1217,29 +995,29 @@ public java.lang.String getUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; } } /** - * - * *
          * The url of the reference.
          * 
* * string url = 1; - * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); url_ = b; return b; } else { @@ -1250,14 +1028,11 @@ public com.google.protobuf.ByteString getUrlBytes() { public static final int SOURCE_FIELD_NUMBER = 2; private volatile java.lang.Object source_; /** - * - * *
          * The source of the reference e.g. NVD.
          * 
* * string source = 2; - * * @return The source. */ @java.lang.Override @@ -1266,29 +1041,29 @@ public java.lang.String getSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; } } /** - * - * *
          * The source of the reference e.g. NVD.
          * 
* * string source = 2; - * * @return The bytes for source. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBytes() { + public com.google.protobuf.ByteString + getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); source_ = b; return b; } else { @@ -1297,7 +1072,6 @@ public com.google.protobuf.ByteString getSourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1310,7 +1084,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_); } @@ -1340,19 +1114,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference other = - (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) - obj; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference other = (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) obj; - if (!getUrl().equals(other.getUrl())) return false; - if (!getSource().equals(other.getSource())) return false; + if (!getUrl() + .equals(other.getUrl())) return false; + if (!getSource() + .equals(other.getSource())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1373,118 +1145,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .Reference - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .Reference - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .Reference - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .Reference - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .Reference - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .Reference - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .Reference - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .Reference - 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .Reference - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .Reference - 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .Reference - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .Reference - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1494,53 +1236,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * A reference for this vulnerability.
          * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference} + * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .ReferenceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable + return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - .class, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - .Builder.class); + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.newBuilder() + // Construct using com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1552,23 +1285,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - .getDefaultInstance(); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - build() { - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - result = buildPartial(); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference build() { + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1576,12 +1305,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - buildPartial() { - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - result = - new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .Reference(this); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference buildPartial() { + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference result = new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference(this); result.url_ = url_; result.source_ = source_; onBuilt(); @@ -1592,57 +1317,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) { - return mergeFrom( - (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) - other); + if (other instanceof com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) { + return mergeFrom((com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - other) { - if (other - == com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference other) { + if (other == com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.getDefaultInstance()) return this; if (!other.getUrl().isEmpty()) { url_ = other.url_; onChanged(); @@ -1666,14 +1380,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - parsedMessage = null; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1685,20 +1396,18 @@ public Builder mergeFrom( private java.lang.Object url_ = ""; /** - * - * *
            * The url of the reference.
            * 
* * string url = 1; - * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; @@ -1707,21 +1416,20 @@ public java.lang.String getUrl() { } } /** - * - * *
            * The url of the reference.
            * 
* * string url = 1; - * * @return The bytes for url. */ - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); url_ = b; return b; } else { @@ -1729,61 +1437,54 @@ public com.google.protobuf.ByteString getUrlBytes() { } } /** - * - * *
            * The url of the reference.
            * 
* * string url = 1; - * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl(java.lang.String value) { + public Builder setUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** - * - * *
            * The url of the reference.
            * 
* * string url = 1; - * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** - * - * *
            * The url of the reference.
            * 
* * string url = 1; - * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes(com.google.protobuf.ByteString value) { + public Builder setUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1791,20 +1492,18 @@ public Builder setUrlBytes(com.google.protobuf.ByteString value) { private java.lang.Object source_ = ""; /** - * - * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; - * * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; @@ -1813,21 +1512,20 @@ public java.lang.String getSource() { } } /** - * - * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; - * * @return The bytes for source. */ - public com.google.protobuf.ByteString getSourceBytes() { + public com.google.protobuf.ByteString + getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); source_ = b; return b; } else { @@ -1835,66 +1533,58 @@ public com.google.protobuf.ByteString getSourceBytes() { } } /** - * - * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; - * * @param value The source to set. * @return This builder for chaining. */ - public Builder setSource(java.lang.String value) { + public Builder setSource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** - * - * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; - * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** - * - * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; - * * @param value The bytes for source to set. * @return This builder for chaining. */ - public Builder setSourceBytes(com.google.protobuf.ByteString value) { + public Builder setSourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1907,36 +1597,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) - private static final com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .Reference - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .Reference(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference(); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .Reference - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Reference parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Reference(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Reference parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Reference(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1948,17 +1632,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int CVE_FIELD_NUMBER = 1; private volatile java.lang.Object cve_; /** - * - * *
        * The CVE of the vulnerability. CVE cannot be
        * empty and the combination of <cve, classification> should be unique
@@ -1966,7 +1648,6 @@ public com.google.protobuf.Parser getParserForType() {
        * 
* * string cve = 1; - * * @return The cve. */ @java.lang.Override @@ -1975,15 +1656,14 @@ public java.lang.String getCve() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cve_ = s; return s; } } /** - * - * *
        * The CVE of the vulnerability. CVE cannot be
        * empty and the combination of <cve, classification> should be unique
@@ -1991,15 +1671,16 @@ public java.lang.String getCve() {
        * 
* * string cve = 1; - * * @return The bytes for cve. */ @java.lang.Override - public com.google.protobuf.ByteString getCveBytes() { + public com.google.protobuf.ByteString + getCveBytes() { java.lang.Object ref = cve_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cve_ = b; return b; } else { @@ -2010,15 +1691,12 @@ public com.google.protobuf.ByteString getCveBytes() { public static final int CVSS_V2_SCORE_FIELD_NUMBER = 2; private float cvssV2Score_; /** - * - * *
        * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
        * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
        * 
* * float cvss_v2_score = 2; - * * @return The cvssV2Score. */ @java.lang.Override @@ -2029,14 +1707,11 @@ public float getCvssV2Score() { public static final int CVSS_V3_FIELD_NUMBER = 3; private com.google.cloud.osconfig.v1.CVSSv3 cvssV3_; /** - * - * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
* * .google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3; - * * @return Whether the cvssV3 field is set. */ @java.lang.Override @@ -2044,14 +1719,11 @@ public boolean hasCvssV3() { return cvssV3_ != null; } /** - * - * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
* * .google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3; - * * @return The cvssV3. */ @java.lang.Override @@ -2059,8 +1731,6 @@ public com.google.cloud.osconfig.v1.CVSSv3 getCvssV3() { return cvssV3_ == null ? com.google.cloud.osconfig.v1.CVSSv3.getDefaultInstance() : cvssV3_; } /** - * - * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
@@ -2075,14 +1745,11 @@ public com.google.cloud.osconfig.v1.CVSSv3OrBuilder getCvssV3OrBuilder() { public static final int SEVERITY_FIELD_NUMBER = 4; private volatile java.lang.Object severity_; /** - * - * *
        * Assigned severity/impact ranking from the distro.
        * 
* * string severity = 4; - * * @return The severity. */ @java.lang.Override @@ -2091,29 +1758,29 @@ public java.lang.String getSeverity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; } } /** - * - * *
        * Assigned severity/impact ranking from the distro.
        * 
* * string severity = 4; - * * @return The bytes for severity. */ @java.lang.Override - public com.google.protobuf.ByteString getSeverityBytes() { + public com.google.protobuf.ByteString + getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); severity_ = b; return b; } else { @@ -2124,14 +1791,11 @@ public com.google.protobuf.ByteString getSeverityBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** - * - * *
        * The note or description describing the vulnerability from the distro.
        * 
* * string description = 5; - * * @return The description. */ @java.lang.Override @@ -2140,29 +1804,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
        * The note or description describing the vulnerability from the distro.
        * 
* * string description = 5; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2171,96 +1835,66 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int REFERENCES_FIELD_NUMBER = 6; - private java.util.List< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference> - references_; + private java.util.List references_; /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ @java.lang.Override - public java.util.List< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference> - getReferencesList() { + public java.util.List getReferencesList() { return references_; } /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .ReferenceOrBuilder> + public java.util.List getReferencesOrBuilderList() { return references_; } /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ @java.lang.Override public int getReferencesCount() { return references_.size(); } /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - getReferences(int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference getReferences(int index) { return references_.get(index); } /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .ReferenceOrBuilder - getReferencesOrBuilder(int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder getReferencesOrBuilder( + int index) { return references_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2272,7 +1906,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cve_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cve_); } @@ -2304,10 +1939,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cve_); } if (java.lang.Float.floatToRawIntBits(cvssV2Score_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, cvssV2Score_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, cvssV2Score_); } if (cvssV3_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCvssV3()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCvssV3()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(severity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, severity_); @@ -2316,7 +1953,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); } for (int i = 0; i < references_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, references_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, references_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2326,25 +1964,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details)) { + if (!(obj instanceof com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details other = - (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details) obj; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details other = (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details) obj; - if (!getCve().equals(other.getCve())) return false; + if (!getCve() + .equals(other.getCve())) return false; if (java.lang.Float.floatToIntBits(getCvssV2Score()) - != java.lang.Float.floatToIntBits(other.getCvssV2Score())) return false; + != java.lang.Float.floatToIntBits( + other.getCvssV2Score())) return false; if (hasCvssV3() != other.hasCvssV3()) return false; if (hasCvssV3()) { - if (!getCvssV3().equals(other.getCvssV3())) return false; - } - if (!getSeverity().equals(other.getSeverity())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getReferencesList().equals(other.getReferencesList())) return false; + if (!getCvssV3() + .equals(other.getCvssV3())) return false; + } + if (!getSeverity() + .equals(other.getSeverity())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getReferencesList() + .equals(other.getReferencesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2359,7 +2001,8 @@ public int hashCode() { hash = (37 * hash) + CVE_FIELD_NUMBER; hash = (53 * hash) + getCve().hashCode(); hash = (37 * hash) + CVSS_V2_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getCvssV2Score()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getCvssV2Score()); if (hasCvssV3()) { hash = (37 * hash) + CVSS_V3_FIELD_NUMBER; hash = (53 * hash) + getCvssV3().hashCode(); @@ -2377,103 +2020,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2483,8 +2111,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Contains metadata information for the vulnerability. This information is
        * collected from the upstream feed of the operating system.
@@ -2492,44 +2118,39 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details)
           com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1.VulnerabilityProto
-              .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1.VulnerabilityProto
-              .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable
+          return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.class,
-                  com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder
-                      .class);
+                  com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder.class);
         }
 
-        // Construct using
-        // com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.newBuilder()
+        // Construct using com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
             getReferencesFieldBuilder();
           }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -2557,22 +2178,19 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.cloud.osconfig.v1.VulnerabilityProto
-              .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details
-            getDefaultInstanceForType() {
-          return com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details
-              .getDefaultInstance();
+        public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details getDefaultInstanceForType() {
+          return com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details build() {
-          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details result =
-              buildPartial();
+          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -2580,10 +2198,8 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details bu
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details
-            buildPartial() {
-          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details result =
-              new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details(this);
+        public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details buildPartial() {
+          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details result = new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details(this);
           int from_bitField0_ = bitField0_;
           result.cve_ = cve_;
           result.cvssV2Score_ = cvssV2Score_;
@@ -2611,54 +2227,46 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details bu
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1.VulnerabilityReport.Vulnerability.Details) {
-            return mergeFrom(
-                (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details) other);
+          if (other instanceof com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details) {
+            return mergeFrom((com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details other) {
-          if (other
-              == com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details
-                  .getDefaultInstance()) return this;
+        public Builder mergeFrom(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details other) {
+          if (other == com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.getDefaultInstance()) return this;
           if (!other.getCve().isEmpty()) {
             cve_ = other.cve_;
             onChanged();
@@ -2695,10 +2303,9 @@ public Builder mergeFrom(
                 referencesBuilder_ = null;
                 references_ = other.references_;
                 bitField0_ = (bitField0_ & ~0x00000001);
-                referencesBuilder_ =
-                    com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                        ? getReferencesFieldBuilder()
-                        : null;
+                referencesBuilder_ = 
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                     getReferencesFieldBuilder() : null;
               } else {
                 referencesBuilder_.addAllMessages(other.references_);
               }
@@ -2719,14 +2326,11 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
-          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details parsedMessage =
-              null;
+          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details parsedMessage = null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details)
-                    e.getUnfinishedMessage();
+            parsedMessage = (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -2735,13 +2339,10 @@ public Builder mergeFrom(
           }
           return this;
         }
-
         private int bitField0_;
 
         private java.lang.Object cve_ = "";
         /**
-         *
-         *
          * 
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2749,13 +2350,13 @@ public Builder mergeFrom(
          * 
* * string cve = 1; - * * @return The cve. */ public java.lang.String getCve() { java.lang.Object ref = cve_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cve_ = s; return s; @@ -2764,8 +2365,6 @@ public java.lang.String getCve() { } } /** - * - * *
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2773,14 +2372,15 @@ public java.lang.String getCve() {
          * 
* * string cve = 1; - * * @return The bytes for cve. */ - public com.google.protobuf.ByteString getCveBytes() { + public com.google.protobuf.ByteString + getCveBytes() { java.lang.Object ref = cve_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cve_ = b; return b; } else { @@ -2788,8 +2388,6 @@ public com.google.protobuf.ByteString getCveBytes() { } } /** - * - * *
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2797,22 +2395,20 @@ public com.google.protobuf.ByteString getCveBytes() {
          * 
* * string cve = 1; - * * @param value The cve to set. * @return This builder for chaining. */ - public Builder setCve(java.lang.String value) { + public Builder setCve( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cve_ = value; onChanged(); return this; } /** - * - * *
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2820,18 +2416,15 @@ public Builder setCve(java.lang.String value) {
          * 
* * string cve = 1; - * * @return This builder for chaining. */ public Builder clearCve() { - + cve_ = getDefaultInstance().getCve(); onChanged(); return this; } /** - * - * *
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2839,32 +2432,29 @@ public Builder clearCve() {
          * 
* * string cve = 1; - * * @param value The bytes for cve to set. * @return This builder for chaining. */ - public Builder setCveBytes(com.google.protobuf.ByteString value) { + public Builder setCveBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cve_ = value; onChanged(); return this; } - private float cvssV2Score_; + private float cvssV2Score_ ; /** - * - * *
          * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
          * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
          * 
* * float cvss_v2_score = 2; - * * @return The cvssV2Score. */ @java.lang.Override @@ -2872,38 +2462,32 @@ public float getCvssV2Score() { return cvssV2Score_; } /** - * - * *
          * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
          * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
          * 
* * float cvss_v2_score = 2; - * * @param value The cvssV2Score to set. * @return This builder for chaining. */ public Builder setCvssV2Score(float value) { - + cvssV2Score_ = value; onChanged(); return this; } /** - * - * *
          * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
          * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
          * 
* * float cvss_v2_score = 2; - * * @return This builder for chaining. */ public Builder clearCvssV2Score() { - + cvssV2Score_ = 0F; onChanged(); return this; @@ -2911,47 +2495,34 @@ public Builder clearCvssV2Score() { private com.google.cloud.osconfig.v1.CVSSv3 cvssV3_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.CVSSv3, - com.google.cloud.osconfig.v1.CVSSv3.Builder, - com.google.cloud.osconfig.v1.CVSSv3OrBuilder> - cvssV3Builder_; + com.google.cloud.osconfig.v1.CVSSv3, com.google.cloud.osconfig.v1.CVSSv3.Builder, com.google.cloud.osconfig.v1.CVSSv3OrBuilder> cvssV3Builder_; /** - * - * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
* * .google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3; - * * @return Whether the cvssV3 field is set. */ public boolean hasCvssV3() { return cvssV3Builder_ != null || cvssV3_ != null; } /** - * - * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
* * .google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3; - * * @return The cvssV3. */ public com.google.cloud.osconfig.v1.CVSSv3 getCvssV3() { if (cvssV3Builder_ == null) { - return cvssV3_ == null - ? com.google.cloud.osconfig.v1.CVSSv3.getDefaultInstance() - : cvssV3_; + return cvssV3_ == null ? com.google.cloud.osconfig.v1.CVSSv3.getDefaultInstance() : cvssV3_; } else { return cvssV3Builder_.getMessage(); } } /** - * - * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -2972,15 +2543,14 @@ public Builder setCvssV3(com.google.cloud.osconfig.v1.CVSSv3 value) { return this; } /** - * - * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
* * .google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3; */ - public Builder setCvssV3(com.google.cloud.osconfig.v1.CVSSv3.Builder builderForValue) { + public Builder setCvssV3( + com.google.cloud.osconfig.v1.CVSSv3.Builder builderForValue) { if (cvssV3Builder_ == null) { cvssV3_ = builderForValue.build(); onChanged(); @@ -2991,8 +2561,6 @@ public Builder setCvssV3(com.google.cloud.osconfig.v1.CVSSv3.Builder builderForV return this; } /** - * - * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -3003,9 +2571,7 @@ public Builder mergeCvssV3(com.google.cloud.osconfig.v1.CVSSv3 value) { if (cvssV3Builder_ == null) { if (cvssV3_ != null) { cvssV3_ = - com.google.cloud.osconfig.v1.CVSSv3.newBuilder(cvssV3_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.CVSSv3.newBuilder(cvssV3_).mergeFrom(value).buildPartial(); } else { cvssV3_ = value; } @@ -3017,8 +2583,6 @@ public Builder mergeCvssV3(com.google.cloud.osconfig.v1.CVSSv3 value) { return this; } /** - * - * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -3037,8 +2601,6 @@ public Builder clearCvssV3() { return this; } /** - * - * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -3046,13 +2608,11 @@ public Builder clearCvssV3() { * .google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3; */ public com.google.cloud.osconfig.v1.CVSSv3.Builder getCvssV3Builder() { - + onChanged(); return getCvssV3FieldBuilder().getBuilder(); } /** - * - * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -3063,14 +2623,11 @@ public com.google.cloud.osconfig.v1.CVSSv3OrBuilder getCvssV3OrBuilder() { if (cvssV3Builder_ != null) { return cvssV3Builder_.getMessageOrBuilder(); } else { - return cvssV3_ == null - ? com.google.cloud.osconfig.v1.CVSSv3.getDefaultInstance() - : cvssV3_; + return cvssV3_ == null ? + com.google.cloud.osconfig.v1.CVSSv3.getDefaultInstance() : cvssV3_; } } /** - * - * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -3078,17 +2635,14 @@ public com.google.cloud.osconfig.v1.CVSSv3OrBuilder getCvssV3OrBuilder() { * .google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.CVSSv3, - com.google.cloud.osconfig.v1.CVSSv3.Builder, - com.google.cloud.osconfig.v1.CVSSv3OrBuilder> + com.google.cloud.osconfig.v1.CVSSv3, com.google.cloud.osconfig.v1.CVSSv3.Builder, com.google.cloud.osconfig.v1.CVSSv3OrBuilder> getCvssV3FieldBuilder() { if (cvssV3Builder_ == null) { - cvssV3Builder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.CVSSv3, - com.google.cloud.osconfig.v1.CVSSv3.Builder, - com.google.cloud.osconfig.v1.CVSSv3OrBuilder>( - getCvssV3(), getParentForChildren(), isClean()); + cvssV3Builder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.CVSSv3, com.google.cloud.osconfig.v1.CVSSv3.Builder, com.google.cloud.osconfig.v1.CVSSv3OrBuilder>( + getCvssV3(), + getParentForChildren(), + isClean()); cvssV3_ = null; } return cvssV3Builder_; @@ -3096,20 +2650,18 @@ public com.google.cloud.osconfig.v1.CVSSv3OrBuilder getCvssV3OrBuilder() { private java.lang.Object severity_ = ""; /** - * - * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; - * * @return The severity. */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; @@ -3118,21 +2670,20 @@ public java.lang.String getSeverity() { } } /** - * - * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; - * * @return The bytes for severity. */ - public com.google.protobuf.ByteString getSeverityBytes() { + public com.google.protobuf.ByteString + getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); severity_ = b; return b; } else { @@ -3140,61 +2691,54 @@ public com.google.protobuf.ByteString getSeverityBytes() { } } /** - * - * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; - * * @param value The severity to set. * @return This builder for chaining. */ - public Builder setSeverity(java.lang.String value) { + public Builder setSeverity( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + severity_ = value; onChanged(); return this; } /** - * - * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; - * * @return This builder for chaining. */ public Builder clearSeverity() { - + severity_ = getDefaultInstance().getSeverity(); onChanged(); return this; } /** - * - * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; - * * @param value The bytes for severity to set. * @return This builder for chaining. */ - public Builder setSeverityBytes(com.google.protobuf.ByteString value) { + public Builder setSeverityBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + severity_ = value; onChanged(); return this; @@ -3202,20 +2746,18 @@ public Builder setSeverityBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -3224,21 +2766,20 @@ public java.lang.String getDescription() { } } /** - * - * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -3246,102 +2787,79 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private java.util.List< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference> - references_ = java.util.Collections.emptyList(); - + private java.util.List references_ = + java.util.Collections.emptyList(); private void ensureReferencesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - references_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .Reference>(references_); + references_ = new java.util.ArrayList(references_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - .Builder, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .ReferenceOrBuilder> - referencesBuilder_; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder> referencesBuilder_; /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - public java.util.List< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference> - getReferencesList() { + public java.util.List getReferencesList() { if (referencesBuilder_ == null) { return java.util.Collections.unmodifiableList(references_); } else { @@ -3349,15 +2867,11 @@ private void ensureReferencesIsMutable() { } } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ public int getReferencesCount() { if (referencesBuilder_ == null) { @@ -3367,18 +2881,13 @@ public int getReferencesCount() { } } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - getReferences(int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference getReferences(int index) { if (referencesBuilder_ == null) { return references_.get(index); } else { @@ -3386,20 +2895,14 @@ public int getReferencesCount() { } } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ public Builder setReferences( - int index, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - value) { + int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference value) { if (referencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3413,20 +2916,14 @@ public Builder setReferences( return this; } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ public Builder setReferences( - int index, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder builderForValue) { if (referencesBuilder_ == null) { ensureReferencesIsMutable(); references_.set(index, builderForValue.build()); @@ -3437,19 +2934,13 @@ public Builder setReferences( return this; } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - public Builder addReferences( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - value) { + public Builder addReferences(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference value) { if (referencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3463,20 +2954,14 @@ public Builder addReferences( return this; } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ public Builder addReferences( - int index, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - value) { + int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference value) { if (referencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3489,20 +2974,15 @@ public Builder addReferences( } return this; } - /** - * - * + /** *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ public Builder addReferences( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder - builderForValue) { + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder builderForValue) { if (referencesBuilder_ == null) { ensureReferencesIsMutable(); references_.add(builderForValue.build()); @@ -3513,20 +2993,14 @@ public Builder addReferences( return this; } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ public Builder addReferences( - int index, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder builderForValue) { if (referencesBuilder_ == null) { ensureReferencesIsMutable(); references_.add(index, builderForValue.build()); @@ -3537,25 +3011,18 @@ public Builder addReferences( return this; } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ public Builder addAllReferences( - java.lang.Iterable< - ? extends - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .Reference> - values) { + java.lang.Iterable values) { if (referencesBuilder_ == null) { ensureReferencesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, references_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, references_); onChanged(); } else { referencesBuilder_.addAllMessages(values); @@ -3563,15 +3030,11 @@ public Builder addAllReferences( return this; } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ public Builder clearReferences() { if (referencesBuilder_ == null) { @@ -3584,15 +3047,11 @@ public Builder clearReferences() { return this; } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ public Builder removeReferences(int index) { if (referencesBuilder_ == null) { @@ -3605,57 +3064,39 @@ public Builder removeReferences(int index) { return this; } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - .Builder - getReferencesBuilder(int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder getReferencesBuilder( + int index) { return getReferencesFieldBuilder().getBuilder(index); } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .ReferenceOrBuilder - getReferencesOrBuilder(int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder getReferencesOrBuilder( + int index) { if (referencesBuilder_ == null) { - return references_.get(index); - } else { + return references_.get(index); } else { return referencesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .ReferenceOrBuilder> - getReferencesOrBuilderList() { + public java.util.List + getReferencesOrBuilderList() { if (referencesBuilder_ != null) { return referencesBuilder_.getMessageOrBuilderList(); } else { @@ -3663,78 +3104,45 @@ public Builder removeReferences(int index) { } } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - .Builder - addReferencesBuilder() { - return getReferencesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - .getDefaultInstance()); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder addReferencesBuilder() { + return getReferencesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.getDefaultInstance()); } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - .Builder - addReferencesBuilder(int index) { - return getReferencesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - .getDefaultInstance()); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder addReferencesBuilder( + int index) { + return getReferencesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.getDefaultInstance()); } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - public java.util.List< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - .Builder> - getReferencesBuilderList() { + public java.util.List + getReferencesBuilderList() { return getReferencesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - .Builder, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .ReferenceOrBuilder> + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder> getReferencesFieldBuilder() { if (referencesBuilder_ == null) { - referencesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .Reference, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference - .Builder, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .ReferenceOrBuilder>( + referencesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder>( references_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3743,7 +3151,6 @@ public Builder removeReferences(int index) { } return referencesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3756,33 +3163,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details) - private static final com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details(); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser
PARSER = - new com.google.protobuf.AbstractParser
() { - @java.lang.Override - public Details parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Details(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser
() { + @java.lang.Override + public Details parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Details(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser
parser() { return PARSER; @@ -3794,20 +3198,17 @@ public com.google.protobuf.Parser
getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ItemOrBuilder - extends + public interface ItemOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -3817,13 +3218,10 @@ public interface ItemOrBuilder
        * 
* * string installed_inventory_item_id = 1; - * * @return The installedInventoryItemId. */ java.lang.String getInstalledInventoryItemId(); /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -3833,14 +3231,12 @@ public interface ItemOrBuilder
        * 
* * string installed_inventory_item_id = 1; - * * @return The bytes for installedInventoryItemId. */ - com.google.protobuf.ByteString getInstalledInventoryItemIdBytes(); + com.google.protobuf.ByteString + getInstalledInventoryItemIdBytes(); /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -3851,13 +3247,10 @@ public interface ItemOrBuilder
        * 
* * string available_inventory_item_id = 2; - * * @return The availableInventoryItemId. */ java.lang.String getAvailableInventoryItemId(); /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -3868,66 +3261,54 @@ public interface ItemOrBuilder
        * 
* * string available_inventory_item_id = 2; - * * @return The bytes for availableInventoryItemId. */ - com.google.protobuf.ByteString getAvailableInventoryItemIdBytes(); + com.google.protobuf.ByteString + getAvailableInventoryItemIdBytes(); /** - * - * *
        * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
        * that contains a fix for this vulnerability.
        * 
* * string fixed_cpe_uri = 3; - * * @return The fixedCpeUri. */ java.lang.String getFixedCpeUri(); /** - * - * *
        * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
        * that contains a fix for this vulnerability.
        * 
* * string fixed_cpe_uri = 3; - * * @return The bytes for fixedCpeUri. */ - com.google.protobuf.ByteString getFixedCpeUriBytes(); + com.google.protobuf.ByteString + getFixedCpeUriBytes(); /** - * - * *
        * The upstream OS patch, packages or KB that fixes the vulnerability.
        * 
* * string upstream_fix = 4; - * * @return The upstreamFix. */ java.lang.String getUpstreamFix(); /** - * - * *
        * The upstream OS patch, packages or KB that fixes the vulnerability.
        * 
* * string upstream_fix = 4; - * * @return The bytes for upstreamFix. */ - com.google.protobuf.ByteString getUpstreamFixBytes(); + com.google.protobuf.ByteString + getUpstreamFixBytes(); } /** - * - * *
      * OS inventory item that is affected by a vulnerability or fixed as a
      * result of a vulnerability.
@@ -3935,16 +3316,15 @@ public interface ItemOrBuilder
      *
      * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item}
      */
-    public static final class Item extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class Item extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item)
         ItemOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use Item.newBuilder() to construct.
       private Item(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
       private Item() {
         installedInventoryItemId_ = "";
         availableInventoryItemId_ = "";
@@ -3954,15 +3334,16 @@ private Item() {
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new Item();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private Item(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3981,41 +3362,37 @@ private Item(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+              case 10: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  installedInventoryItemId_ = s;
-                  break;
-                }
-              case 18:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+                installedInventoryItemId_ = s;
+                break;
+              }
+              case 18: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  availableInventoryItemId_ = s;
-                  break;
-                }
-              case 26:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+                availableInventoryItemId_ = s;
+                break;
+              }
+              case 26: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  fixedCpeUri_ = s;
-                  break;
-                }
-              case 34:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+                fixedCpeUri_ = s;
+                break;
+              }
+              case 34: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  upstreamFix_ = s;
-                  break;
-                }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+                upstreamFix_ = s;
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4023,34 +3400,29 @@ private Item(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1.VulnerabilityProto
-            .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.VulnerabilityProto
-            .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.class,
-                com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder.class);
+                com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder.class);
       }
 
       public static final int INSTALLED_INVENTORY_ITEM_ID_FIELD_NUMBER = 1;
       private volatile java.lang.Object installedInventoryItemId_;
       /**
-       *
-       *
        * 
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -4060,7 +3432,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
* * string installed_inventory_item_id = 1; - * * @return The installedInventoryItemId. */ @java.lang.Override @@ -4069,15 +3440,14 @@ public java.lang.String getInstalledInventoryItemId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); installedInventoryItemId_ = s; return s; } } /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -4087,15 +3457,16 @@ public java.lang.String getInstalledInventoryItemId() {
        * 
* * string installed_inventory_item_id = 1; - * * @return The bytes for installedInventoryItemId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstalledInventoryItemIdBytes() { + public com.google.protobuf.ByteString + getInstalledInventoryItemIdBytes() { java.lang.Object ref = installedInventoryItemId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); installedInventoryItemId_ = b; return b; } else { @@ -4106,8 +3477,6 @@ public com.google.protobuf.ByteString getInstalledInventoryItemIdBytes() { public static final int AVAILABLE_INVENTORY_ITEM_ID_FIELD_NUMBER = 2; private volatile java.lang.Object availableInventoryItemId_; /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -4118,7 +3487,6 @@ public com.google.protobuf.ByteString getInstalledInventoryItemIdBytes() {
        * 
* * string available_inventory_item_id = 2; - * * @return The availableInventoryItemId. */ @java.lang.Override @@ -4127,15 +3495,14 @@ public java.lang.String getAvailableInventoryItemId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availableInventoryItemId_ = s; return s; } } /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -4146,15 +3513,16 @@ public java.lang.String getAvailableInventoryItemId() {
        * 
* * string available_inventory_item_id = 2; - * * @return The bytes for availableInventoryItemId. */ @java.lang.Override - public com.google.protobuf.ByteString getAvailableInventoryItemIdBytes() { + public com.google.protobuf.ByteString + getAvailableInventoryItemIdBytes() { java.lang.Object ref = availableInventoryItemId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); availableInventoryItemId_ = b; return b; } else { @@ -4165,15 +3533,12 @@ public com.google.protobuf.ByteString getAvailableInventoryItemIdBytes() { public static final int FIXED_CPE_URI_FIELD_NUMBER = 3; private volatile java.lang.Object fixedCpeUri_; /** - * - * *
        * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
        * that contains a fix for this vulnerability.
        * 
* * string fixed_cpe_uri = 3; - * * @return The fixedCpeUri. */ @java.lang.Override @@ -4182,30 +3547,30 @@ public java.lang.String getFixedCpeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fixedCpeUri_ = s; return s; } } /** - * - * *
        * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
        * that contains a fix for this vulnerability.
        * 
* * string fixed_cpe_uri = 3; - * * @return The bytes for fixedCpeUri. */ @java.lang.Override - public com.google.protobuf.ByteString getFixedCpeUriBytes() { + public com.google.protobuf.ByteString + getFixedCpeUriBytes() { java.lang.Object ref = fixedCpeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fixedCpeUri_ = b; return b; } else { @@ -4216,14 +3581,11 @@ public com.google.protobuf.ByteString getFixedCpeUriBytes() { public static final int UPSTREAM_FIX_FIELD_NUMBER = 4; private volatile java.lang.Object upstreamFix_; /** - * - * *
        * The upstream OS patch, packages or KB that fixes the vulnerability.
        * 
* * string upstream_fix = 4; - * * @return The upstreamFix. */ @java.lang.Override @@ -4232,29 +3594,29 @@ public java.lang.String getUpstreamFix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); upstreamFix_ = s; return s; } } /** - * - * *
        * The upstream OS patch, packages or KB that fixes the vulnerability.
        * 
* * string upstream_fix = 4; - * * @return The bytes for upstreamFix. */ @java.lang.Override - public com.google.protobuf.ByteString getUpstreamFixBytes() { + public com.google.protobuf.ByteString + getUpstreamFixBytes() { java.lang.Object ref = upstreamFix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); upstreamFix_ = b; return b; } else { @@ -4263,7 +3625,6 @@ public com.google.protobuf.ByteString getUpstreamFixBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4275,7 +3636,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(installedInventoryItemId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, installedInventoryItemId_); } @@ -4298,14 +3660,10 @@ public int getSerializedSize() { size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(installedInventoryItemId_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 1, installedInventoryItemId_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, installedInventoryItemId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(availableInventoryItemId_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 2, availableInventoryItemId_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, availableInventoryItemId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fixedCpeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fixedCpeUri_); @@ -4321,20 +3679,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item other = - (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item) obj; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item other = (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item) obj; - if (!getInstalledInventoryItemId().equals(other.getInstalledInventoryItemId())) - return false; - if (!getAvailableInventoryItemId().equals(other.getAvailableInventoryItemId())) - return false; - if (!getFixedCpeUri().equals(other.getFixedCpeUri())) return false; - if (!getUpstreamFix().equals(other.getUpstreamFix())) return false; + if (!getInstalledInventoryItemId() + .equals(other.getInstalledInventoryItemId())) return false; + if (!getAvailableInventoryItemId() + .equals(other.getAvailableInventoryItemId())) return false; + if (!getFixedCpeUri() + .equals(other.getFixedCpeUri())) return false; + if (!getUpstreamFix() + .equals(other.getUpstreamFix())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4360,96 +3719,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item 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.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item - 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.osconfig.v1.VulnerabilityReport.Vulnerability.Item 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.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4459,8 +3809,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * OS inventory item that is affected by a vulnerability or fixed as a
        * result of a vulnerability.
@@ -4468,42 +3816,38 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item)
           com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1.VulnerabilityProto
-              .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1.VulnerabilityProto
-              .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable
+          return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.class,
-                  com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder
-                      .class);
+                  com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder.class);
         }
 
-        // Construct using
-        // com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.newBuilder()
+        // Construct using com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
+          }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -4519,22 +3863,19 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.cloud.osconfig.v1.VulnerabilityProto
-              .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item
-            getDefaultInstanceForType() {
-          return com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item
-              .getDefaultInstance();
+        public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item getDefaultInstanceForType() {
+          return com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item build() {
-          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item result =
-              buildPartial();
+          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -4543,8 +3884,7 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item build
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item buildPartial() {
-          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item result =
-              new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item(this);
+          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item result = new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item(this);
           result.installedInventoryItemId_ = installedInventoryItemId_;
           result.availableInventoryItemId_ = availableInventoryItemId_;
           result.fixedCpeUri_ = fixedCpeUri_;
@@ -4557,54 +3897,46 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item build
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1.VulnerabilityReport.Vulnerability.Item) {
-            return mergeFrom(
-                (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item) other);
+          if (other instanceof com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item) {
+            return mergeFrom((com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item other) {
-          if (other
-              == com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item
-                  .getDefaultInstance()) return this;
+        public Builder mergeFrom(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item other) {
+          if (other == com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.getDefaultInstance()) return this;
           if (!other.getInstalledInventoryItemId().isEmpty()) {
             installedInventoryItemId_ = other.installedInventoryItemId_;
             onChanged();
@@ -4640,9 +3972,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item)
-                    e.getUnfinishedMessage();
+            parsedMessage = (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -4654,8 +3984,6 @@ public Builder mergeFrom(
 
         private java.lang.Object installedInventoryItemId_ = "";
         /**
-         *
-         *
          * 
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -4665,13 +3993,13 @@ public Builder mergeFrom(
          * 
* * string installed_inventory_item_id = 1; - * * @return The installedInventoryItemId. */ public java.lang.String getInstalledInventoryItemId() { java.lang.Object ref = installedInventoryItemId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); installedInventoryItemId_ = s; return s; @@ -4680,8 +4008,6 @@ public java.lang.String getInstalledInventoryItemId() { } } /** - * - * *
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -4691,14 +4017,15 @@ public java.lang.String getInstalledInventoryItemId() {
          * 
* * string installed_inventory_item_id = 1; - * * @return The bytes for installedInventoryItemId. */ - public com.google.protobuf.ByteString getInstalledInventoryItemIdBytes() { + public com.google.protobuf.ByteString + getInstalledInventoryItemIdBytes() { java.lang.Object ref = installedInventoryItemId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); installedInventoryItemId_ = b; return b; } else { @@ -4706,8 +4033,6 @@ public com.google.protobuf.ByteString getInstalledInventoryItemIdBytes() { } } /** - * - * *
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -4717,22 +4042,20 @@ public com.google.protobuf.ByteString getInstalledInventoryItemIdBytes() {
          * 
* * string installed_inventory_item_id = 1; - * * @param value The installedInventoryItemId to set. * @return This builder for chaining. */ - public Builder setInstalledInventoryItemId(java.lang.String value) { + public Builder setInstalledInventoryItemId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + installedInventoryItemId_ = value; onChanged(); return this; } /** - * - * *
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -4742,18 +4065,15 @@ public Builder setInstalledInventoryItemId(java.lang.String value) {
          * 
* * string installed_inventory_item_id = 1; - * * @return This builder for chaining. */ public Builder clearInstalledInventoryItemId() { - + installedInventoryItemId_ = getDefaultInstance().getInstalledInventoryItemId(); onChanged(); return this; } /** - * - * *
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -4763,16 +4083,16 @@ public Builder clearInstalledInventoryItemId() {
          * 
* * string installed_inventory_item_id = 1; - * * @param value The bytes for installedInventoryItemId to set. * @return This builder for chaining. */ - public Builder setInstalledInventoryItemIdBytes(com.google.protobuf.ByteString value) { + public Builder setInstalledInventoryItemIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + installedInventoryItemId_ = value; onChanged(); return this; @@ -4780,8 +4100,6 @@ public Builder setInstalledInventoryItemIdBytes(com.google.protobuf.ByteString v private java.lang.Object availableInventoryItemId_ = ""; /** - * - * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4792,13 +4110,13 @@ public Builder setInstalledInventoryItemIdBytes(com.google.protobuf.ByteString v
          * 
* * string available_inventory_item_id = 2; - * * @return The availableInventoryItemId. */ public java.lang.String getAvailableInventoryItemId() { java.lang.Object ref = availableInventoryItemId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availableInventoryItemId_ = s; return s; @@ -4807,8 +4125,6 @@ public java.lang.String getAvailableInventoryItemId() { } } /** - * - * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4819,14 +4135,15 @@ public java.lang.String getAvailableInventoryItemId() {
          * 
* * string available_inventory_item_id = 2; - * * @return The bytes for availableInventoryItemId. */ - public com.google.protobuf.ByteString getAvailableInventoryItemIdBytes() { + public com.google.protobuf.ByteString + getAvailableInventoryItemIdBytes() { java.lang.Object ref = availableInventoryItemId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); availableInventoryItemId_ = b; return b; } else { @@ -4834,8 +4151,6 @@ public com.google.protobuf.ByteString getAvailableInventoryItemIdBytes() { } } /** - * - * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4846,22 +4161,20 @@ public com.google.protobuf.ByteString getAvailableInventoryItemIdBytes() {
          * 
* * string available_inventory_item_id = 2; - * * @param value The availableInventoryItemId to set. * @return This builder for chaining. */ - public Builder setAvailableInventoryItemId(java.lang.String value) { + public Builder setAvailableInventoryItemId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + availableInventoryItemId_ = value; onChanged(); return this; } /** - * - * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4872,18 +4185,15 @@ public Builder setAvailableInventoryItemId(java.lang.String value) {
          * 
* * string available_inventory_item_id = 2; - * * @return This builder for chaining. */ public Builder clearAvailableInventoryItemId() { - + availableInventoryItemId_ = getDefaultInstance().getAvailableInventoryItemId(); onChanged(); return this; } /** - * - * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4894,16 +4204,16 @@ public Builder clearAvailableInventoryItemId() {
          * 
* * string available_inventory_item_id = 2; - * * @param value The bytes for availableInventoryItemId to set. * @return This builder for chaining. */ - public Builder setAvailableInventoryItemIdBytes(com.google.protobuf.ByteString value) { + public Builder setAvailableInventoryItemIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + availableInventoryItemId_ = value; onChanged(); return this; @@ -4911,21 +4221,19 @@ public Builder setAvailableInventoryItemIdBytes(com.google.protobuf.ByteString v private java.lang.Object fixedCpeUri_ = ""; /** - * - * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; - * * @return The fixedCpeUri. */ public java.lang.String getFixedCpeUri() { java.lang.Object ref = fixedCpeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fixedCpeUri_ = s; return s; @@ -4934,22 +4242,21 @@ public java.lang.String getFixedCpeUri() { } } /** - * - * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; - * * @return The bytes for fixedCpeUri. */ - public com.google.protobuf.ByteString getFixedCpeUriBytes() { + public com.google.protobuf.ByteString + getFixedCpeUriBytes() { java.lang.Object ref = fixedCpeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fixedCpeUri_ = b; return b; } else { @@ -4957,64 +4264,57 @@ public com.google.protobuf.ByteString getFixedCpeUriBytes() { } } /** - * - * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; - * * @param value The fixedCpeUri to set. * @return This builder for chaining. */ - public Builder setFixedCpeUri(java.lang.String value) { + public Builder setFixedCpeUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fixedCpeUri_ = value; onChanged(); return this; } /** - * - * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; - * * @return This builder for chaining. */ public Builder clearFixedCpeUri() { - + fixedCpeUri_ = getDefaultInstance().getFixedCpeUri(); onChanged(); return this; } /** - * - * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; - * * @param value The bytes for fixedCpeUri to set. * @return This builder for chaining. */ - public Builder setFixedCpeUriBytes(com.google.protobuf.ByteString value) { + public Builder setFixedCpeUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fixedCpeUri_ = value; onChanged(); return this; @@ -5022,20 +4322,18 @@ public Builder setFixedCpeUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object upstreamFix_ = ""; /** - * - * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; - * * @return The upstreamFix. */ public java.lang.String getUpstreamFix() { java.lang.Object ref = upstreamFix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); upstreamFix_ = s; return s; @@ -5044,21 +4342,20 @@ public java.lang.String getUpstreamFix() { } } /** - * - * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; - * * @return The bytes for upstreamFix. */ - public com.google.protobuf.ByteString getUpstreamFixBytes() { + public com.google.protobuf.ByteString + getUpstreamFixBytes() { java.lang.Object ref = upstreamFix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); upstreamFix_ = b; return b; } else { @@ -5066,66 +4363,58 @@ public com.google.protobuf.ByteString getUpstreamFixBytes() { } } /** - * - * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; - * * @param value The upstreamFix to set. * @return This builder for chaining. */ - public Builder setUpstreamFix(java.lang.String value) { + public Builder setUpstreamFix( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + upstreamFix_ = value; onChanged(); return this; } /** - * - * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; - * * @return This builder for chaining. */ public Builder clearUpstreamFix() { - + upstreamFix_ = getDefaultInstance().getUpstreamFix(); onChanged(); return this; } /** - * - * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; - * * @param value The bytes for upstreamFix to set. * @return This builder for chaining. */ - public Builder setUpstreamFixBytes(com.google.protobuf.ByteString value) { + public Builder setUpstreamFixBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + upstreamFix_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5138,33 +4427,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item) - private static final com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item(); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Item parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Item(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Item parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Item(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5176,24 +4462,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int DETAILS_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details_; /** - * - * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; - * * @return Whether the details field is set. */ @java.lang.Override @@ -5201,27 +4484,19 @@ public boolean hasDetails() { return details_ != null; } /** - * - * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; - * * @return The details. */ @java.lang.Override public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details getDetails() { - return details_ == null - ? com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .getDefaultInstance() - : details_; + return details_ == null ? com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.getDefaultInstance() : details_; } /** - * - * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
@@ -5230,16 +4505,13 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details ge
      * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder
-        getDetailsOrBuilder() {
+    public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder getDetailsOrBuilder() {
       return getDetails();
     }
 
     public static final int INSTALLED_INVENTORY_ITEM_IDS_FIELD_NUMBER = 2;
     private com.google.protobuf.LazyStringList installedInventoryItemIds_;
     /**
-     *
-     *
      * 
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -5249,19 +4521,15 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details ge
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @return A list containing the installedInventoryItemIds. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getInstalledInventoryItemIdsList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getInstalledInventoryItemIdsList() { return installedInventoryItemIds_; } /** - * - * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -5271,19 +4539,14 @@ public com.google.protobuf.ProtocolStringList getInstalledInventoryItemIdsList()
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @return The count of installedInventoryItemIds. */ - @java.lang.Deprecated - public int getInstalledInventoryItemIdsCount() { + @java.lang.Deprecated public int getInstalledInventoryItemIdsCount() { return installedInventoryItemIds_.size(); } /** - * - * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -5293,20 +4556,15 @@ public int getInstalledInventoryItemIdsCount() {
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param index The index of the element to return. * @return The installedInventoryItemIds at the given index. */ - @java.lang.Deprecated - public java.lang.String getInstalledInventoryItemIds(int index) { + @java.lang.Deprecated public java.lang.String getInstalledInventoryItemIds(int index) { return installedInventoryItemIds_.get(index); } /** - * - * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -5316,23 +4574,19 @@ public java.lang.String getInstalledInventoryItemIds(int index) {
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param index The index of the value to return. * @return The bytes of the installedInventoryItemIds at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getInstalledInventoryItemIdsBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getInstalledInventoryItemIdsBytes(int index) { return installedInventoryItemIds_.getByteString(index); } public static final int AVAILABLE_INVENTORY_ITEM_IDS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList availableInventoryItemIds_; /** - * - * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -5343,19 +4597,15 @@ public com.google.protobuf.ByteString getInstalledInventoryItemIdsBytes(int inde
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @return A list containing the availableInventoryItemIds. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getAvailableInventoryItemIdsList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getAvailableInventoryItemIdsList() { return availableInventoryItemIds_; } /** - * - * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -5366,19 +4616,14 @@ public com.google.protobuf.ProtocolStringList getAvailableInventoryItemIdsList()
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @return The count of availableInventoryItemIds. */ - @java.lang.Deprecated - public int getAvailableInventoryItemIdsCount() { + @java.lang.Deprecated public int getAvailableInventoryItemIdsCount() { return availableInventoryItemIds_.size(); } /** - * - * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -5389,20 +4634,15 @@ public int getAvailableInventoryItemIdsCount() {
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param index The index of the element to return. * @return The availableInventoryItemIds at the given index. */ - @java.lang.Deprecated - public java.lang.String getAvailableInventoryItemIds(int index) { + @java.lang.Deprecated public java.lang.String getAvailableInventoryItemIds(int index) { return availableInventoryItemIds_.get(index); } /** - * - * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -5413,29 +4653,24 @@ public java.lang.String getAvailableInventoryItemIds(int index) {
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param index The index of the value to return. * @return The bytes of the availableInventoryItemIds at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getAvailableInventoryItemIdsBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getAvailableInventoryItemIdsBytes(int index) { return availableInventoryItemIds_.getByteString(index); } public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
      * The timestamp for when the vulnerability was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -5443,14 +4678,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
      * The timestamp for when the vulnerability was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return The createTime. */ @java.lang.Override @@ -5458,8 +4690,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
      * The timestamp for when the vulnerability was first detected.
      * 
@@ -5474,14 +4704,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
      * The timestamp for when the vulnerability was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -5489,14 +4716,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
      * The timestamp for when the vulnerability was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return The updateTime. */ @java.lang.Override @@ -5504,8 +4728,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
      * The timestamp for when the vulnerability was last modified.
      * 
@@ -5518,85 +4740,66 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ITEMS_FIELD_NUMBER = 6; - private java.util.List - items_; + private java.util.List items_; /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ @java.lang.Override - public java.util.List - getItemsList() { + public java.util.List getItemsList() { return items_; } /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder> + public java.util.List getItemsOrBuilderList() { return items_; } /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ @java.lang.Override public int getItemsCount() { return items_.size(); } /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ @java.lang.Override public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item getItems(int index) { return items_.get(index); } /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder - getItemsOrBuilder(int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder getItemsOrBuilder( + int index) { return items_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5608,17 +4811,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (details_ != null) { output.writeMessage(1, getDetails()); } for (int i = 0; i < installedInventoryItemIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 2, installedInventoryItemIds_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, installedInventoryItemIds_.getRaw(i)); } for (int i = 0; i < availableInventoryItemIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, availableInventoryItemIds_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, availableInventoryItemIds_.getRaw(i)); } if (createTime_ != null) { output.writeMessage(4, getCreateTime()); @@ -5639,7 +4841,8 @@ public int getSerializedSize() { size = 0; if (details_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDetails()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDetails()); } { int dataSize = 0; @@ -5658,13 +4861,16 @@ public int getSerializedSize() { size += 1 * getAvailableInventoryItemIdsList().size(); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); } for (int i = 0; i < items_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, items_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, items_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5674,31 +4880,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability other = - (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability) obj; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability other = (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability) obj; if (hasDetails() != other.hasDetails()) return false; if (hasDetails()) { - if (!getDetails().equals(other.getDetails())) return false; + if (!getDetails() + .equals(other.getDetails())) return false; } - if (!getInstalledInventoryItemIdsList().equals(other.getInstalledInventoryItemIdsList())) - return false; - if (!getAvailableInventoryItemIdsList().equals(other.getAvailableInventoryItemIdsList())) - return false; + if (!getInstalledInventoryItemIdsList() + .equals(other.getInstalledInventoryItemIdsList())) return false; + if (!getAvailableInventoryItemIdsList() + .equals(other.getAvailableInventoryItemIdsList())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getItemsList().equals(other.getItemsList())) return false; + if (!getItemsList() + .equals(other.getItemsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5740,94 +4949,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability 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.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5837,32 +5039,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A vulnerability affecting the VM instance.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability) com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_fieldAccessorTable + return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.class, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder.class); + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder.class); } // Construct using com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.newBuilder() @@ -5870,17 +5067,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getItemsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -5916,14 +5113,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.getDefaultInstance(); } @@ -5938,8 +5134,7 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability build() { @java.lang.Override public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability buildPartial() { - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability result = - new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability(this); + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability result = new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability(this); int from_bitField0_ = bitField0_; if (detailsBuilder_ == null) { result.details_ = details_; @@ -5983,52 +5178,46 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.VulnerabilityReport.Vulnerability) { - return mergeFrom((com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability) other); + return mergeFrom((com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability other) { - if (other - == com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability other) { + if (other == com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.getDefaultInstance()) return this; if (other.hasDetails()) { mergeDetails(other.getDetails()); } @@ -6076,10 +5265,9 @@ public Builder mergeFrom( itemsBuilder_ = null; items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000004); - itemsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getItemsFieldBuilder() - : null; + itemsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getItemsFieldBuilder() : null; } else { itemsBuilder_.addAllMessages(other.items_); } @@ -6104,9 +5292,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6115,67 +5301,48 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder> - detailsBuilder_; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder> detailsBuilder_; /** - * - * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; - * - * + * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; * @return Whether the details field is set. */ public boolean hasDetails() { return detailsBuilder_ != null || details_ != null; } /** - * - * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; - * - * + * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; * @return The details. */ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details getDetails() { if (detailsBuilder_ == null) { - return details_ == null - ? com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .getDefaultInstance() - : details_; + return details_ == null ? com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.getDefaultInstance() : details_; } else { return detailsBuilder_.getMessage(); } } /** - * - * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; - * + * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; */ - public Builder setDetails( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details value) { + public Builder setDetails(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details value) { if (detailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6189,19 +5356,15 @@ public Builder setDetails( return this; } /** - * - * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; - * + * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; */ public Builder setDetails( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder - builderForValue) { + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder builderForValue) { if (detailsBuilder_ == null) { details_ = builderForValue.build(); onChanged(); @@ -6212,25 +5375,18 @@ public Builder setDetails( return this; } /** - * - * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; - * + * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; */ - public Builder mergeDetails( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details value) { + public Builder mergeDetails(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details value) { if (detailsBuilder_ == null) { if (details_ != null) { details_ = - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.newBuilder( - details_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.newBuilder(details_).mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -6242,15 +5398,12 @@ public Builder mergeDetails( return this; } /** - * - * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; - * + * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; */ public Builder clearDetails() { if (detailsBuilder_ == null) { @@ -6264,85 +5417,64 @@ public Builder clearDetails() { return this; } /** - * - * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; - * + * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder - getDetailsBuilder() { - + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder getDetailsBuilder() { + onChanged(); return getDetailsFieldBuilder().getBuilder(); } /** - * - * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; - * + * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder - getDetailsOrBuilder() { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder getDetailsOrBuilder() { if (detailsBuilder_ != null) { return detailsBuilder_.getMessageOrBuilder(); } else { - return details_ == null - ? com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details - .getDefaultInstance() - : details_; + return details_ == null ? + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.getDefaultInstance() : details_; } } /** - * - * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; - * + * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder> + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder> getDetailsFieldBuilder() { if (detailsBuilder_ == null) { - detailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder>( - getDetails(), getParentForChildren(), isClean()); + detailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder>( + getDetails(), + getParentForChildren(), + isClean()); details_ = null; } return detailsBuilder_; } - private com.google.protobuf.LazyStringList installedInventoryItemIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList installedInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInstalledInventoryItemIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - installedInventoryItemIds_ = - new com.google.protobuf.LazyStringArrayList(installedInventoryItemIds_); + installedInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(installedInventoryItemIds_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -6352,19 +5484,15 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @return A list containing the installedInventoryItemIds. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getInstalledInventoryItemIdsList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getInstalledInventoryItemIdsList() { return installedInventoryItemIds_.getUnmodifiableView(); } /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -6374,19 +5502,14 @@ public com.google.protobuf.ProtocolStringList getInstalledInventoryItemIdsList()
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @return The count of installedInventoryItemIds. */ - @java.lang.Deprecated - public int getInstalledInventoryItemIdsCount() { + @java.lang.Deprecated public int getInstalledInventoryItemIdsCount() { return installedInventoryItemIds_.size(); } /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -6396,20 +5519,15 @@ public int getInstalledInventoryItemIdsCount() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param index The index of the element to return. * @return The installedInventoryItemIds at the given index. */ - @java.lang.Deprecated - public java.lang.String getInstalledInventoryItemIds(int index) { + @java.lang.Deprecated public java.lang.String getInstalledInventoryItemIds(int index) { return installedInventoryItemIds_.get(index); } /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -6419,20 +5537,16 @@ public java.lang.String getInstalledInventoryItemIds(int index) {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param index The index of the value to return. * @return The bytes of the installedInventoryItemIds at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getInstalledInventoryItemIdsBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getInstalledInventoryItemIdsBytes(int index) { return installedInventoryItemIds_.getByteString(index); } /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -6442,27 +5556,23 @@ public com.google.protobuf.ByteString getInstalledInventoryItemIdsBytes(int inde
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param index The index to set the value at. * @param value The installedInventoryItemIds to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setInstalledInventoryItemIds(int index, java.lang.String value) { + @java.lang.Deprecated public Builder setInstalledInventoryItemIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstalledInventoryItemIdsIsMutable(); + throw new NullPointerException(); + } + ensureInstalledInventoryItemIdsIsMutable(); installedInventoryItemIds_.set(index, value); onChanged(); return this; } /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -6472,26 +5582,22 @@ public Builder setInstalledInventoryItemIds(int index, java.lang.String value) {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param value The installedInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addInstalledInventoryItemIds(java.lang.String value) { + @java.lang.Deprecated public Builder addInstalledInventoryItemIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstalledInventoryItemIdsIsMutable(); + throw new NullPointerException(); + } + ensureInstalledInventoryItemIdsIsMutable(); installedInventoryItemIds_.add(value); onChanged(); return this; } /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -6501,23 +5607,20 @@ public Builder addInstalledInventoryItemIds(java.lang.String value) {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param values The installedInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addAllInstalledInventoryItemIds(java.lang.Iterable values) { + @java.lang.Deprecated public Builder addAllInstalledInventoryItemIds( + java.lang.Iterable values) { ensureInstalledInventoryItemIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, installedInventoryItemIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, installedInventoryItemIds_); onChanged(); return this; } /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -6527,22 +5630,17 @@ public Builder addAllInstalledInventoryItemIds(java.lang.Iterable
        *
        * repeated string installed_inventory_item_ids = 2 [deprecated = true];
-       *
-       * @deprecated
-       *     google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids
-       *     is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112
+       * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.
+       *     See google/cloud/osconfig/v1/vulnerability.proto;l=112
        * @return This builder for chaining.
        */
-      @java.lang.Deprecated
-      public Builder clearInstalledInventoryItemIds() {
+      @java.lang.Deprecated public Builder clearInstalledInventoryItemIds() {
         installedInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
         bitField0_ = (bitField0_ & ~0x00000001);
         onChanged();
         return this;
       }
       /**
-       *
-       *
        * 
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -6552,38 +5650,31 @@ public Builder clearInstalledInventoryItemIds() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param value The bytes of the installedInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addInstalledInventoryItemIdsBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder addInstalledInventoryItemIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstalledInventoryItemIdsIsMutable(); installedInventoryItemIds_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList availableInventoryItemIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList availableInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAvailableInventoryItemIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - availableInventoryItemIds_ = - new com.google.protobuf.LazyStringArrayList(availableInventoryItemIds_); + availableInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(availableInventoryItemIds_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -6594,19 +5685,15 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @return A list containing the availableInventoryItemIds. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getAvailableInventoryItemIdsList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getAvailableInventoryItemIdsList() { return availableInventoryItemIds_.getUnmodifiableView(); } /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -6617,19 +5704,14 @@ public com.google.protobuf.ProtocolStringList getAvailableInventoryItemIdsList()
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @return The count of availableInventoryItemIds. */ - @java.lang.Deprecated - public int getAvailableInventoryItemIdsCount() { + @java.lang.Deprecated public int getAvailableInventoryItemIdsCount() { return availableInventoryItemIds_.size(); } /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -6640,20 +5722,15 @@ public int getAvailableInventoryItemIdsCount() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param index The index of the element to return. * @return The availableInventoryItemIds at the given index. */ - @java.lang.Deprecated - public java.lang.String getAvailableInventoryItemIds(int index) { + @java.lang.Deprecated public java.lang.String getAvailableInventoryItemIds(int index) { return availableInventoryItemIds_.get(index); } /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -6664,20 +5741,16 @@ public java.lang.String getAvailableInventoryItemIds(int index) {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param index The index of the value to return. * @return The bytes of the availableInventoryItemIds at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getAvailableInventoryItemIdsBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getAvailableInventoryItemIdsBytes(int index) { return availableInventoryItemIds_.getByteString(index); } /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -6688,27 +5761,23 @@ public com.google.protobuf.ByteString getAvailableInventoryItemIdsBytes(int inde
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param index The index to set the value at. * @param value The availableInventoryItemIds to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setAvailableInventoryItemIds(int index, java.lang.String value) { + @java.lang.Deprecated public Builder setAvailableInventoryItemIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAvailableInventoryItemIdsIsMutable(); + throw new NullPointerException(); + } + ensureAvailableInventoryItemIdsIsMutable(); availableInventoryItemIds_.set(index, value); onChanged(); return this; } /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -6719,26 +5788,22 @@ public Builder setAvailableInventoryItemIds(int index, java.lang.String value) {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param value The availableInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addAvailableInventoryItemIds(java.lang.String value) { + @java.lang.Deprecated public Builder addAvailableInventoryItemIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAvailableInventoryItemIdsIsMutable(); + throw new NullPointerException(); + } + ensureAvailableInventoryItemIdsIsMutable(); availableInventoryItemIds_.add(value); onChanged(); return this; } /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -6749,23 +5814,20 @@ public Builder addAvailableInventoryItemIds(java.lang.String value) {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param values The availableInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addAllAvailableInventoryItemIds(java.lang.Iterable values) { + @java.lang.Deprecated public Builder addAllAvailableInventoryItemIds( + java.lang.Iterable values) { ensureAvailableInventoryItemIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, availableInventoryItemIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, availableInventoryItemIds_); onChanged(); return this; } /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -6776,22 +5838,17 @@ public Builder addAllAvailableInventoryItemIds(java.lang.Iterable
        *
        * repeated string available_inventory_item_ids = 3 [deprecated = true];
-       *
-       * @deprecated
-       *     google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids
-       *     is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120
+       * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.
+       *     See google/cloud/osconfig/v1/vulnerability.proto;l=120
        * @return This builder for chaining.
        */
-      @java.lang.Deprecated
-      public Builder clearAvailableInventoryItemIds() {
+      @java.lang.Deprecated public Builder clearAvailableInventoryItemIds() {
         availableInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
         bitField0_ = (bitField0_ & ~0x00000002);
         onChanged();
         return this;
       }
       /**
-       *
-       *
        * 
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -6802,19 +5859,17 @@ public Builder clearAvailableInventoryItemIds() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param value The bytes of the availableInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addAvailableInventoryItemIdsBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder addAvailableInventoryItemIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAvailableInventoryItemIdsIsMutable(); availableInventoryItemIds_.add(value); onChanged(); @@ -6823,47 +5878,34 @@ public Builder addAvailableInventoryItemIdsBytes(com.google.protobuf.ByteString private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
        * The timestamp for when the vulnerability was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
        * The timestamp for when the vulnerability was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -6884,15 +5926,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The timestamp for when the vulnerability was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 4; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -6903,8 +5944,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -6915,9 +5954,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -6929,8 +5966,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -6949,8 +5984,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -6958,13 +5991,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 4; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -6975,14 +6006,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -6990,17 +6018,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -7008,47 +6033,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
        * The timestamp for when the vulnerability was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
        * The timestamp for when the vulnerability was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -7069,15 +6081,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The timestamp for when the vulnerability was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 5; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -7088,8 +6099,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -7100,9 +6109,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -7114,8 +6121,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -7134,8 +6139,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -7143,13 +6146,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 5; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -7160,14 +6161,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -7175,52 +6173,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - private java.util.List - items_ = java.util.Collections.emptyList(); - + private java.util.List items_ = + java.util.Collections.emptyList(); private void ensureItemsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - items_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item>(items_); + items_ = new java.util.ArrayList(items_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder> - itemsBuilder_; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder> itemsBuilder_; /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ - public java.util.List - getItemsList() { + public java.util.List getItemsList() { if (itemsBuilder_ == null) { return java.util.Collections.unmodifiableList(items_); } else { @@ -7228,14 +6213,11 @@ private void ensureItemsIsMutable() { } } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ public int getItemsCount() { if (itemsBuilder_ == null) { @@ -7245,17 +6227,13 @@ public int getItemsCount() { } } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item getItems( - int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item getItems(int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { @@ -7263,14 +6241,11 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item getIt } } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ public Builder setItems( int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item value) { @@ -7287,19 +6262,14 @@ public Builder setItems( return this; } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ public Builder setItems( - int index, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.set(index, builderForValue.build()); @@ -7310,17 +6280,13 @@ public Builder setItems( return this; } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ - public Builder addItems( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item value) { + public Builder addItems(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7334,14 +6300,11 @@ public Builder addItems( return this; } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ public Builder addItems( int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item value) { @@ -7358,18 +6321,14 @@ public Builder addItems( return this; } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ public Builder addItems( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder - builderForValue) { + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(builderForValue.build()); @@ -7380,19 +6339,14 @@ public Builder addItems( return this; } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ public Builder addItems( - int index, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(index, builderForValue.build()); @@ -7403,22 +6357,18 @@ public Builder addItems( return this; } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ public Builder addAllItems( - java.lang.Iterable< - ? extends com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item> - values) { + java.lang.Iterable values) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, items_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, items_); onChanged(); } else { itemsBuilder_.addAllMessages(values); @@ -7426,14 +6376,11 @@ public Builder addAllItems( return this; } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ public Builder clearItems() { if (itemsBuilder_ == null) { @@ -7446,14 +6393,11 @@ public Builder clearItems() { return this; } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ public Builder removeItems(int index) { if (itemsBuilder_ == null) { @@ -7466,51 +6410,39 @@ public Builder removeItems(int index) { return this; } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder - getItemsBuilder(int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder getItemsBuilder( + int index) { return getItemsFieldBuilder().getBuilder(index); } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder - getItemsOrBuilder(int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder getItemsOrBuilder( + int index) { if (itemsBuilder_ == null) { - return items_.get(index); - } else { + return items_.get(index); } else { return itemsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder> - getItemsOrBuilderList() { + public java.util.List + getItemsOrBuilderList() { if (itemsBuilder_ != null) { return itemsBuilder_.getMessageOrBuilderList(); } else { @@ -7518,73 +6450,53 @@ public Builder removeItems(int index) { } } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder - addItemsBuilder() { - return getItemsFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item - .getDefaultInstance()); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder addItemsBuilder() { + return getItemsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.getDefaultInstance()); } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder - addItemsBuilder(int index) { - return getItemsFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item - .getDefaultInstance()); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder addItemsBuilder( + int index) { + return getItemsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.getDefaultInstance()); } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; */ - public java.util.List< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder> - getItemsBuilderList() { + public java.util.List + getItemsBuilderList() { return getItemsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder> + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder> getItemsFieldBuilder() { if (itemsBuilder_ == null) { - itemsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder>( - items_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder>( + items_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); items_ = null; } return itemsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7597,32 +6509,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability) - private static final com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability(); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability - getDefaultInstance() { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Vulnerability parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Vulnerability(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Vulnerability parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Vulnerability(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7634,17 +6544,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The `vulnerabilityReport` API resource name.
    * Format:
@@ -7652,7 +6560,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -7661,15 +6568,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The `vulnerabilityReport` API resource name.
    * Format:
@@ -7677,15 +6583,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -7694,102 +6601,74 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int VULNERABILITIES_FIELD_NUMBER = 2; - private java.util.List - vulnerabilities_; + private java.util.List vulnerabilities_; /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getVulnerabilitiesList() { + public java.util.List getVulnerabilitiesList() { return vulnerabilities_; } /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder> + public java.util.List getVulnerabilitiesOrBuilderList() { return vulnerabilities_; } /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getVulnerabilitiesCount() { return vulnerabilities_.size(); } /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getVulnerabilities( - int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getVulnerabilities(int index) { return vulnerabilities_.get(index); } /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder - getVulnerabilitiesOrBuilder(int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder getVulnerabilitiesOrBuilder( + int index) { return vulnerabilities_.get(index); } public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -7797,16 +6676,12 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -7814,15 +6689,12 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -7830,7 +6702,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7842,7 +6713,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -7865,10 +6737,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < vulnerabilities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, vulnerabilities_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, vulnerabilities_.get(i)); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7878,19 +6752,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.VulnerabilityReport)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.VulnerabilityReport other = - (com.google.cloud.osconfig.v1.VulnerabilityReport) obj; + com.google.cloud.osconfig.v1.VulnerabilityReport other = (com.google.cloud.osconfig.v1.VulnerabilityReport) obj; - if (!getName().equals(other.getName())) return false; - if (!getVulnerabilitiesList().equals(other.getVulnerabilitiesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getVulnerabilitiesList() + .equals(other.getVulnerabilitiesList())) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -7918,104 +6794,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport 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.osconfig.v1.VulnerabilityReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1.VulnerabilityReport parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1.VulnerabilityReport parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.VulnerabilityReport prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * This API resource represents the vulnerability report for a specified
    * Compute Engine virtual machine (VM) instance at a given point in time.
@@ -8025,23 +6894,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.VulnerabilityReport)
       com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.VulnerabilityReport.class,
-              com.google.cloud.osconfig.v1.VulnerabilityReport.Builder.class);
+              com.google.cloud.osconfig.v1.VulnerabilityReport.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1.VulnerabilityReport.newBuilder()
@@ -8049,17 +6916,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getVulnerabilitiesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -8081,9 +6948,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor;
     }
 
     @java.lang.Override
@@ -8102,8 +6969,7 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1.VulnerabilityReport buildPartial() {
-      com.google.cloud.osconfig.v1.VulnerabilityReport result =
-          new com.google.cloud.osconfig.v1.VulnerabilityReport(this);
+      com.google.cloud.osconfig.v1.VulnerabilityReport result = new com.google.cloud.osconfig.v1.VulnerabilityReport(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (vulnerabilitiesBuilder_ == null) {
@@ -8128,39 +6994,38 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.VulnerabilityReport) {
-        return mergeFrom((com.google.cloud.osconfig.v1.VulnerabilityReport) other);
+        return mergeFrom((com.google.cloud.osconfig.v1.VulnerabilityReport)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -8168,8 +7033,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1.VulnerabilityReport other) {
-      if (other == com.google.cloud.osconfig.v1.VulnerabilityReport.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.osconfig.v1.VulnerabilityReport.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -8192,10 +7056,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.VulnerabilityReport other)
             vulnerabilitiesBuilder_ = null;
             vulnerabilities_ = other.vulnerabilities_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            vulnerabilitiesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getVulnerabilitiesFieldBuilder()
-                    : null;
+            vulnerabilitiesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getVulnerabilitiesFieldBuilder() : null;
           } else {
             vulnerabilitiesBuilder_.addAllMessages(other.vulnerabilities_);
           }
@@ -8232,13 +7095,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -8246,13 +7106,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -8261,8 +7121,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -8270,14 +7128,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -8285,8 +7144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -8294,22 +7151,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -8317,18 +7172,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -8336,52 +7188,41 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private java.util.List - vulnerabilities_ = java.util.Collections.emptyList(); - + private java.util.List vulnerabilities_ = + java.util.Collections.emptyList(); private void ensureVulnerabilitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - vulnerabilities_ = - new java.util.ArrayList( - vulnerabilities_); + vulnerabilities_ = new java.util.ArrayList(vulnerabilities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder, - com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder> - vulnerabilitiesBuilder_; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder> vulnerabilitiesBuilder_; /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getVulnerabilitiesList() { + public java.util.List getVulnerabilitiesList() { if (vulnerabilitiesBuilder_ == null) { return java.util.Collections.unmodifiableList(vulnerabilities_); } else { @@ -8389,15 +7230,11 @@ private void ensureVulnerabilitiesIsMutable() { } } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getVulnerabilitiesCount() { if (vulnerabilitiesBuilder_ == null) { @@ -8407,18 +7244,13 @@ public int getVulnerabilitiesCount() { } } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getVulnerabilities( - int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getVulnerabilities(int index) { if (vulnerabilitiesBuilder_ == null) { return vulnerabilities_.get(index); } else { @@ -8426,15 +7258,11 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getVulnera } } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setVulnerabilities( int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability value) { @@ -8451,19 +7279,14 @@ public Builder setVulnerabilities( return this; } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setVulnerabilities( - int index, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder builderForValue) { if (vulnerabilitiesBuilder_ == null) { ensureVulnerabilitiesIsMutable(); vulnerabilities_.set(index, builderForValue.build()); @@ -8474,18 +7297,13 @@ public Builder setVulnerabilities( return this; } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addVulnerabilities( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability value) { + public Builder addVulnerabilities(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability value) { if (vulnerabilitiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8499,15 +7317,11 @@ public Builder addVulnerabilities( return this; } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addVulnerabilities( int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability value) { @@ -8524,15 +7338,11 @@ public Builder addVulnerabilities( return this; } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addVulnerabilities( com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder builderForValue) { @@ -8546,19 +7356,14 @@ public Builder addVulnerabilities( return this; } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addVulnerabilities( - int index, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder builderForValue) { if (vulnerabilitiesBuilder_ == null) { ensureVulnerabilitiesIsMutable(); vulnerabilities_.add(index, builderForValue.build()); @@ -8569,22 +7374,18 @@ public Builder addVulnerabilities( return this; } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllVulnerabilities( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (vulnerabilitiesBuilder_ == null) { ensureVulnerabilitiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vulnerabilities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, vulnerabilities_); onChanged(); } else { vulnerabilitiesBuilder_.addAllMessages(values); @@ -8592,15 +7393,11 @@ public Builder addAllVulnerabilities( return this; } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearVulnerabilities() { if (vulnerabilitiesBuilder_ == null) { @@ -8613,15 +7410,11 @@ public Builder clearVulnerabilities() { return this; } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeVulnerabilities(int index) { if (vulnerabilitiesBuilder_ == null) { @@ -8634,53 +7427,39 @@ public Builder removeVulnerabilities(int index) { return this; } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder - getVulnerabilitiesBuilder(int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder getVulnerabilitiesBuilder( + int index) { return getVulnerabilitiesFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder - getVulnerabilitiesOrBuilder(int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder getVulnerabilitiesOrBuilder( + int index) { if (vulnerabilitiesBuilder_ == null) { - return vulnerabilities_.get(index); - } else { + return vulnerabilities_.get(index); } else { return vulnerabilitiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder> - getVulnerabilitiesOrBuilderList() { + public java.util.List + getVulnerabilitiesOrBuilderList() { if (vulnerabilitiesBuilder_ != null) { return vulnerabilitiesBuilder_.getMessageOrBuilderList(); } else { @@ -8688,67 +7467,45 @@ public Builder removeVulnerabilities(int index) { } } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder - addVulnerabilitiesBuilder() { - return getVulnerabilitiesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.getDefaultInstance()); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder addVulnerabilitiesBuilder() { + return getVulnerabilitiesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.getDefaultInstance()); } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder - addVulnerabilitiesBuilder(int index) { - return getVulnerabilitiesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.getDefaultInstance()); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder addVulnerabilitiesBuilder( + int index) { + return getVulnerabilitiesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.getDefaultInstance()); } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getVulnerabilitiesBuilderList() { + public java.util.List + getVulnerabilitiesBuilderList() { return getVulnerabilitiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder, - com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder> + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder> getVulnerabilitiesFieldBuilder() { if (vulnerabilitiesBuilder_ == null) { - vulnerabilitiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability, - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder, - com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder>( + vulnerabilitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder>( vulnerabilities_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -8760,61 +7517,42 @@ public Builder removeVulnerabilities(int index) { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -8830,18 +7568,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -8852,22 +7587,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -8879,16 +7610,12 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -8902,74 +7629,58 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8979,12 +7690,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.VulnerabilityReport) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.VulnerabilityReport) private static final com.google.cloud.osconfig.v1.VulnerabilityReport DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.VulnerabilityReport(); } @@ -8993,16 +7704,16 @@ public static com.google.cloud.osconfig.v1.VulnerabilityReport getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VulnerabilityReport parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VulnerabilityReport(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VulnerabilityReport parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VulnerabilityReport(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9017,4 +7728,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.VulnerabilityReport getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportName.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportName.java similarity index 100% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportName.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportName.java diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportOrBuilder.java similarity index 58% rename from proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportOrBuilder.java index 24a26a35..61b9bb8f 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; -public interface VulnerabilityReportOrBuilder - extends +public interface VulnerabilityReportOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.VulnerabilityReport) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The `vulnerabilityReport` API resource name.
    * Format:
@@ -33,13 +15,10 @@ public interface VulnerabilityReportOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The `vulnerabilityReport` API resource name.
    * Format:
@@ -47,113 +26,82 @@ public interface VulnerabilityReportOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getVulnerabilitiesList(); /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getVulnerabilities(int index); /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getVulnerabilitiesCount(); /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getVulnerabilitiesOrBuilderList(); /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder - getVulnerabilitiesOrBuilder(int index); + com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder getVulnerabilitiesOrBuilder( + int index); /** - * - * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } diff --git a/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/inventory.proto b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/inventory.proto similarity index 100% rename from proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/inventory.proto rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/inventory.proto diff --git a/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy.proto b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy.proto similarity index 100% rename from proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy.proto rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy.proto diff --git a/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy_assignment_reports.proto b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy_assignment_reports.proto similarity index 100% rename from proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy_assignment_reports.proto rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy_assignment_reports.proto diff --git a/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy_assignments.proto b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy_assignments.proto similarity index 100% rename from proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy_assignments.proto rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy_assignments.proto diff --git a/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_common.proto b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_common.proto similarity index 100% rename from proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_common.proto rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_common.proto diff --git a/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_service.proto b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_service.proto similarity index 100% rename from proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_service.proto rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_service.proto diff --git a/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_zonal_service.proto b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_zonal_service.proto similarity index 100% rename from proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_zonal_service.proto rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_zonal_service.proto diff --git a/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/patch_deployments.proto b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/patch_deployments.proto similarity index 100% rename from proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/patch_deployments.proto rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/patch_deployments.proto diff --git a/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/patch_jobs.proto b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/patch_jobs.proto similarity index 100% rename from proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/patch_jobs.proto rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/patch_jobs.proto diff --git a/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/vulnerability.proto b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/vulnerability.proto similarity index 100% rename from proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/vulnerability.proto rename to owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/vulnerability.proto diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentProjectnamePatchdeploymentspatchdeploymentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentProjectnamePatchdeploymentspatchdeploymentString.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentProjectnamePatchdeploymentspatchdeploymentString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentProjectnamePatchdeploymentspatchdeploymentString.java index 193fc069..f541f503 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentProjectnamePatchdeploymentspatchdeploymentString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentProjectnamePatchdeploymentspatchdeploymentString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigserviceclient_createpatchdeployment_projectnamepatchdeploymentspatchdeploymentstring_sync] +// [START osconfig_v1_generated_osconfigserviceclient_createpatchdeployment_projectnamepatchdeploymentspatchdeploymentstring_sync] import com.google.cloud.osconfig.v1.OsConfigServiceClient; import com.google.cloud.osconfig.v1.PatchDeployments; import com.google.cloud.osconfig.v1.ProjectName; @@ -42,5 +41,4 @@ public static void syncCreatePatchDeploymentProjectnamePatchdeploymentspatchdepl } } } -// [END -// osconfig_v1_generated_osconfigserviceclient_createpatchdeployment_projectnamepatchdeploymentspatchdeploymentstring_sync] +// [END osconfig_v1_generated_osconfigserviceclient_createpatchdeployment_projectnamepatchdeploymentspatchdeploymentstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentStringPatchdeploymentspatchdeploymentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentStringPatchdeploymentspatchdeploymentString.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentStringPatchdeploymentspatchdeploymentString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentStringPatchdeploymentspatchdeploymentString.java index 815c08b9..00902648 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentStringPatchdeploymentspatchdeploymentString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentStringPatchdeploymentspatchdeploymentString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigserviceclient_createpatchdeployment_stringpatchdeploymentspatchdeploymentstring_sync] +// [START osconfig_v1_generated_osconfigserviceclient_createpatchdeployment_stringpatchdeploymentspatchdeploymentstring_sync] import com.google.cloud.osconfig.v1.OsConfigServiceClient; import com.google.cloud.osconfig.v1.PatchDeployments; import com.google.cloud.osconfig.v1.ProjectName; @@ -42,5 +41,4 @@ public static void syncCreatePatchDeploymentStringPatchdeploymentspatchdeploymen } } } -// [END -// osconfig_v1_generated_osconfigserviceclient_createpatchdeployment_stringpatchdeploymentspatchdeploymentstring_sync] +// [END osconfig_v1_generated_osconfigserviceclient_createpatchdeployment_stringpatchdeploymentspatchdeploymentstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java index 43f40e4b..48adb1fb 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java @@ -20,6 +20,7 @@ import com.google.cloud.osconfig.v1.OsConfigServiceClient; import com.google.cloud.osconfig.v1.PatchDeploymentName; import com.google.cloud.osconfig.v1.PatchDeployments; +import com.google.protobuf.Empty; public class SyncDeletePatchDeployment { diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentPatchdeploymentname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentPatchdeploymentname.java similarity index 91% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentPatchdeploymentname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentPatchdeploymentname.java index 689acfb3..6d7abe79 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentPatchdeploymentname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentPatchdeploymentname.java @@ -16,10 +16,10 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigserviceclient_deletepatchdeployment_patchdeploymentname_sync] +// [START osconfig_v1_generated_osconfigserviceclient_deletepatchdeployment_patchdeploymentname_sync] import com.google.cloud.osconfig.v1.OsConfigServiceClient; import com.google.cloud.osconfig.v1.PatchDeploymentName; +import com.google.protobuf.Empty; public class SyncDeletePatchDeploymentPatchdeploymentname { diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentString.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentString.java index f0598470..0d111a59 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentString.java @@ -19,6 +19,7 @@ // [START osconfig_v1_generated_osconfigserviceclient_deletepatchdeployment_string_sync] import com.google.cloud.osconfig.v1.OsConfigServiceClient; import com.google.cloud.osconfig.v1.PatchDeploymentName; +import com.google.protobuf.Empty; public class SyncDeletePatchDeploymentString { diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentPatchdeploymentname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentPatchdeploymentname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentPatchdeploymentname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentPatchdeploymentname.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentString.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobPatchjobname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobPatchjobname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobPatchjobname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobPatchjobname.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobString.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsProjectname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsProjectname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsProjectname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsProjectname.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsString.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsPatchjobname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsPatchjobname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsPatchjobname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsPatchjobname.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsProjectname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsProjectname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsProjectname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsProjectname.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsString.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java similarity index 93% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java index 20aae25d..d76083ab 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigserviceclient_resumepatchdeployment_patchdeploymentname_sync] +// [START osconfig_v1_generated_osconfigserviceclient_resumepatchdeployment_patchdeploymentname_sync] import com.google.cloud.osconfig.v1.OsConfigServiceClient; import com.google.cloud.osconfig.v1.PatchDeploymentName; import com.google.cloud.osconfig.v1.PatchDeployments; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java index d00293fd..e247e106 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigserviceclient_updatepatchdeployment_patchdeploymentspatchdeploymentfieldmask_sync] +// [START osconfig_v1_generated_osconfigserviceclient_updatepatchdeployment_patchdeploymentspatchdeploymentfieldmask_sync] import com.google.cloud.osconfig.v1.OsConfigServiceClient; import com.google.cloud.osconfig.v1.PatchDeployments; import com.google.protobuf.FieldMask; @@ -41,5 +40,4 @@ public static void syncUpdatePatchDeploymentPatchdeploymentspatchdeploymentField } } } -// [END -// osconfig_v1_generated_osconfigserviceclient_updatepatchdeployment_patchdeploymentspatchdeploymentfieldmask_sync] +// [END osconfig_v1_generated_osconfigserviceclient_updatepatchdeployment_patchdeploymentspatchdeploymentfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java index b0f03617..eadbb051 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_createospolicyassignment_locationnameospolicyassignmentstring_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_createospolicyassignment_locationnameospolicyassignmentstring_sync] import com.google.cloud.osconfig.v1.LocationName; import com.google.cloud.osconfig.v1.OSPolicyAssignment; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; @@ -44,5 +43,4 @@ public static void syncCreateOSPolicyAssignmentLocationnameOspolicyassignmentStr } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_createospolicyassignment_locationnameospolicyassignmentstring_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_createospolicyassignment_locationnameospolicyassignmentstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java index a6b01a70..fd223f0f 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_createospolicyassignment_stringospolicyassignmentstring_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_createospolicyassignment_stringospolicyassignmentstring_sync] import com.google.cloud.osconfig.v1.LocationName; import com.google.cloud.osconfig.v1.OSPolicyAssignment; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; @@ -43,5 +42,4 @@ public static void syncCreateOSPolicyAssignmentStringOspolicyassignmentString() } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_createospolicyassignment_stringospolicyassignmentstring_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_createospolicyassignment_stringospolicyassignmentstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java index 0fa8ef79..ede37b68 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java @@ -20,6 +20,7 @@ import com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest; import com.google.cloud.osconfig.v1.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteOSPolicyAssignment { diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java similarity index 85% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java index 1e9be5cd..f3c99ff9 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java @@ -16,10 +16,10 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_deleteospolicyassignment_ospolicyassignmentname_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_deleteospolicyassignment_ospolicyassignmentname_sync] import com.google.cloud.osconfig.v1.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteOSPolicyAssignmentOspolicyassignmentname { @@ -38,5 +38,4 @@ public static void syncDeleteOSPolicyAssignmentOspolicyassignmentname() throws E } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_deleteospolicyassignment_ospolicyassignmentname_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_deleteospolicyassignment_ospolicyassignmentname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java index 0304f623..3ed8c00f 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java @@ -19,6 +19,7 @@ // [START osconfig_v1_generated_osconfigzonalserviceclient_deleteospolicyassignment_string_sync] import com.google.cloud.osconfig.v1.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteOSPolicyAssignmentString { diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventory.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventory.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventory.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventory.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java index 90531eaf..a488cbcd 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_getospolicyassignment_ospolicyassignmentname_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_getospolicyassignment_ospolicyassignmentname_sync] import com.google.cloud.osconfig.v1.OSPolicyAssignment; import com.google.cloud.osconfig.v1.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; @@ -39,5 +38,4 @@ public static void syncGetOSPolicyAssignmentOspolicyassignmentname() throws Exce } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_getospolicyassignment_ospolicyassignmentname_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_getospolicyassignment_ospolicyassignmentname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java index 0b0b82d8..101dd291 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_getospolicyassignmentreport_ospolicyassignmentreportname_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_getospolicyassignmentreport_ospolicyassignmentreportname_sync] import com.google.cloud.osconfig.v1.OSPolicyAssignmentReport; import com.google.cloud.osconfig.v1.OSPolicyAssignmentReportName; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; @@ -41,5 +40,4 @@ public static void syncGetOSPolicyAssignmentReportOspolicyassignmentreportname() } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_getospolicyassignmentreport_ospolicyassignmentreportname_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_getospolicyassignmentreport_ospolicyassignmentreportname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java index 7638d792..76700335 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_getvulnerabilityreport_vulnerabilityreportname_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_getvulnerabilityreport_vulnerabilityreportname_sync] import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; import com.google.cloud.osconfig.v1.VulnerabilityReport; import com.google.cloud.osconfig.v1.VulnerabilityReportName; @@ -39,5 +38,4 @@ public static void syncGetVulnerabilityReportVulnerabilityreportname() throws Ex } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_getvulnerabilityreport_vulnerabilityreportname_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_getvulnerabilityreport_vulnerabilityreportname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventories.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventories.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventories.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventories.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventories.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventories.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventories.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventories.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java similarity index 96% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java index 35b0b685..34908a66 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentreports_paged_async] +// [START osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentreports_paged_async] import com.google.cloud.osconfig.v1.InstanceOSPolicyAssignmentName; import com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest; import com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java index dda8e0a7..8040c44d 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentreports_instanceospolicyassignmentname_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentreports_instanceospolicyassignmentname_sync] import com.google.cloud.osconfig.v1.InstanceOSPolicyAssignmentName; import com.google.cloud.osconfig.v1.OSPolicyAssignmentReport; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; @@ -44,5 +43,4 @@ public static void syncListOSPolicyAssignmentReportsInstanceospolicyassignmentna } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentreports_instanceospolicyassignmentname_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentreports_instanceospolicyassignmentname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java similarity index 94% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java index fad41b55..6e635390 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentreports_string_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentreports_string_sync] import com.google.cloud.osconfig.v1.InstanceOSPolicyAssignmentName; import com.google.cloud.osconfig.v1.OSPolicyAssignmentReport; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java similarity index 92% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java index b60bac66..2dd559d5 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_paged_async] +// [START osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_paged_async] import com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest; import com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse; import com.google.cloud.osconfig.v1.OSPolicyAssignment; @@ -60,5 +59,4 @@ public static void asyncListOSPolicyAssignmentRevisionsPaged() throws Exception } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_paged_async] +// [END osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_paged_async] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java index 4fb3d1de..b52262e5 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_ospolicyassignmentname_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_ospolicyassignmentname_sync] import com.google.cloud.osconfig.v1.OSPolicyAssignment; import com.google.cloud.osconfig.v1.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; @@ -42,5 +41,4 @@ public static void syncListOSPolicyAssignmentRevisionsOspolicyassignmentname() t } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_ospolicyassignmentname_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_ospolicyassignmentname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java index a30c74b1..6ca87918 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_string_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_string_sync] import com.google.cloud.osconfig.v1.OSPolicyAssignment; import com.google.cloud.osconfig.v1.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; @@ -42,5 +41,4 @@ public static void syncListOSPolicyAssignmentRevisionsString() throws Exception } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_string_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java similarity index 94% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java index 9e47c418..9ab6801c 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignments_locationname_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignments_locationname_sync] import com.google.cloud.osconfig.v1.LocationName; import com.google.cloud.osconfig.v1.OSPolicyAssignment; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java similarity index 94% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java index d33ed443..9c332f7c 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_listvulnerabilityreports_instancename_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_listvulnerabilityreports_instancename_sync] import com.google.cloud.osconfig.v1.InstanceName; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; import com.google.cloud.osconfig.v1.VulnerabilityReport; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java index f577b162..2d00bffc 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_updateospolicyassignment_ospolicyassignmentfieldmask_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_updateospolicyassignment_ospolicyassignmentfieldmask_sync] import com.google.cloud.osconfig.v1.OSPolicyAssignment; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; import com.google.protobuf.FieldMask; @@ -42,5 +41,4 @@ public static void syncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask() thr } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_updateospolicyassignment_ospolicyassignmentfieldmask_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_updateospolicyassignment_ospolicyassignmentfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java b/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java similarity index 95% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java rename to owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java index 195a5deb..619daf7e 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java +++ b/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java @@ -68,13 +68,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -199,6 +199,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } @@ -238,11 +239,11 @@ public final OperationsClient getHttpJsonOperationsClient() { * @param osPolicyAssignmentId Required. The logical name of the OS policy assignment in the * project with the following restrictions: *
    - *
  • Must contain only lowercase letters, numbers, and hyphens. - *
  • Must start with a letter. - *
  • Must be between 1-63 characters. - *
  • Must end with a number or a letter. - *
  • Must be unique within the project. + *
  • Must contain only lowercase letters, numbers, and hyphens. + *
  • Must start with a letter. + *
  • Must be between 1-63 characters. + *
  • Must end with a number or a letter. + *
  • Must be unique within the project. *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -294,11 +295,11 @@ public final OperationsClient getHttpJsonOperationsClient() { * @param osPolicyAssignmentId Required. The logical name of the OS policy assignment in the * project with the following restrictions: *
    - *
  • Must contain only lowercase letters, numbers, and hyphens. - *
  • Must start with a letter. - *
  • Must be between 1-63 characters. - *
  • Must end with a number or a letter. - *
  • Must be unique within the project. + *
  • Must contain only lowercase letters, numbers, and hyphens. + *
  • Must start with a letter. + *
  • Must be between 1-63 characters. + *
  • Must end with a number or a letter. + *
  • Must be unique within the project. *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -2508,11 +2509,8 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListOSPolicyAssignmentsPagedResponse extends AbstractPagedListResponse< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, - OSPolicyAssignment, - ListOSPolicyAssignmentsPage, - ListOSPolicyAssignmentsFixedSizeCollection> { + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment, + ListOSPolicyAssignmentsPage, ListOSPolicyAssignmentsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -2534,9 +2532,7 @@ private ListOSPolicyAssignmentsPagedResponse(ListOSPolicyAssignmentsPage page) { public static class ListOSPolicyAssignmentsPage extends AbstractPage< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, - OSPolicyAssignment, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment, ListOSPolicyAssignmentsPage> { private ListOSPolicyAssignmentsPage( @@ -2572,11 +2568,8 @@ public ApiFuture createPageAsync( public static class ListOSPolicyAssignmentsFixedSizeCollection extends AbstractFixedSizeCollection< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, - OSPolicyAssignment, - ListOSPolicyAssignmentsPage, - ListOSPolicyAssignmentsFixedSizeCollection> { + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment, + ListOSPolicyAssignmentsPage, ListOSPolicyAssignmentsFixedSizeCollection> { private ListOSPolicyAssignmentsFixedSizeCollection( List pages, int collectionSize) { @@ -2596,16 +2589,13 @@ protected ListOSPolicyAssignmentsFixedSizeCollection createCollection( public static class ListOSPolicyAssignmentRevisionsPagedResponse extends AbstractPagedListResponse< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, - OSPolicyAssignment, - ListOSPolicyAssignmentRevisionsPage, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + OSPolicyAssignment, ListOSPolicyAssignmentRevisionsPage, ListOSPolicyAssignmentRevisionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> context, ApiFuture futureResponse) { @@ -2625,15 +2615,12 @@ private ListOSPolicyAssignmentRevisionsPagedResponse(ListOSPolicyAssignmentRevis public static class ListOSPolicyAssignmentRevisionsPage extends AbstractPage< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, - OSPolicyAssignment, - ListOSPolicyAssignmentRevisionsPage> { + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + OSPolicyAssignment, ListOSPolicyAssignmentRevisionsPage> { private ListOSPolicyAssignmentRevisionsPage( PageContext< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> context, ListOSPolicyAssignmentRevisionsResponse response) { @@ -2647,8 +2634,7 @@ private static ListOSPolicyAssignmentRevisionsPage createEmptyPage() { @Override protected ListOSPolicyAssignmentRevisionsPage createPage( PageContext< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> context, ListOSPolicyAssignmentRevisionsResponse response) { @@ -2658,8 +2644,7 @@ protected ListOSPolicyAssignmentRevisionsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> context, ApiFuture futureResponse) { @@ -2669,10 +2654,8 @@ public ApiFuture createPageAsync( public static class ListOSPolicyAssignmentRevisionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, - OSPolicyAssignment, - ListOSPolicyAssignmentRevisionsPage, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + OSPolicyAssignment, ListOSPolicyAssignmentRevisionsPage, ListOSPolicyAssignmentRevisionsFixedSizeCollection> { private ListOSPolicyAssignmentRevisionsFixedSizeCollection( @@ -2693,16 +2676,13 @@ protected ListOSPolicyAssignmentRevisionsFixedSizeCollection createCollection( public static class ListInstanceOSPoliciesCompliancesPagedResponse extends AbstractPagedListResponse< - ListInstanceOSPoliciesCompliancesRequest, - ListInstanceOSPoliciesCompliancesResponse, - InstanceOSPoliciesCompliance, - ListInstanceOSPoliciesCompliancesPage, + ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, + InstanceOSPoliciesCompliance, ListInstanceOSPoliciesCompliancesPage, ListInstanceOSPoliciesCompliancesFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListInstanceOSPoliciesCompliancesRequest, - ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, InstanceOSPoliciesCompliance> context, ApiFuture futureResponse) { @@ -2723,15 +2703,12 @@ private ListInstanceOSPoliciesCompliancesPagedResponse( public static class ListInstanceOSPoliciesCompliancesPage extends AbstractPage< - ListInstanceOSPoliciesCompliancesRequest, - ListInstanceOSPoliciesCompliancesResponse, - InstanceOSPoliciesCompliance, - ListInstanceOSPoliciesCompliancesPage> { + ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, + InstanceOSPoliciesCompliance, ListInstanceOSPoliciesCompliancesPage> { private ListInstanceOSPoliciesCompliancesPage( PageContext< - ListInstanceOSPoliciesCompliancesRequest, - ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, InstanceOSPoliciesCompliance> context, ListInstanceOSPoliciesCompliancesResponse response) { @@ -2745,8 +2722,7 @@ private static ListInstanceOSPoliciesCompliancesPage createEmptyPage() { @Override protected ListInstanceOSPoliciesCompliancesPage createPage( PageContext< - ListInstanceOSPoliciesCompliancesRequest, - ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, InstanceOSPoliciesCompliance> context, ListInstanceOSPoliciesCompliancesResponse response) { @@ -2756,8 +2732,7 @@ protected ListInstanceOSPoliciesCompliancesPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListInstanceOSPoliciesCompliancesRequest, - ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, InstanceOSPoliciesCompliance> context, ApiFuture futureResponse) { @@ -2767,10 +2742,8 @@ public ApiFuture createPageAsync( public static class ListInstanceOSPoliciesCompliancesFixedSizeCollection extends AbstractFixedSizeCollection< - ListInstanceOSPoliciesCompliancesRequest, - ListInstanceOSPoliciesCompliancesResponse, - InstanceOSPoliciesCompliance, - ListInstanceOSPoliciesCompliancesPage, + ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, + InstanceOSPoliciesCompliance, ListInstanceOSPoliciesCompliancesPage, ListInstanceOSPoliciesCompliancesFixedSizeCollection> { private ListInstanceOSPoliciesCompliancesFixedSizeCollection( @@ -2791,16 +2764,13 @@ protected ListInstanceOSPoliciesCompliancesFixedSizeCollection createCollection( public static class ListOSPolicyAssignmentReportsPagedResponse extends AbstractPagedListResponse< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, - OSPolicyAssignmentReport, - ListOSPolicyAssignmentReportsPage, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + OSPolicyAssignmentReport, ListOSPolicyAssignmentReportsPage, ListOSPolicyAssignmentReportsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> context, ApiFuture futureResponse) { @@ -2820,15 +2790,12 @@ private ListOSPolicyAssignmentReportsPagedResponse(ListOSPolicyAssignmentReports public static class ListOSPolicyAssignmentReportsPage extends AbstractPage< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, - OSPolicyAssignmentReport, - ListOSPolicyAssignmentReportsPage> { + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + OSPolicyAssignmentReport, ListOSPolicyAssignmentReportsPage> { private ListOSPolicyAssignmentReportsPage( PageContext< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> context, ListOSPolicyAssignmentReportsResponse response) { @@ -2842,8 +2809,7 @@ private static ListOSPolicyAssignmentReportsPage createEmptyPage() { @Override protected ListOSPolicyAssignmentReportsPage createPage( PageContext< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> context, ListOSPolicyAssignmentReportsResponse response) { @@ -2853,8 +2819,7 @@ protected ListOSPolicyAssignmentReportsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> context, ApiFuture futureResponse) { @@ -2864,10 +2829,8 @@ public ApiFuture createPageAsync( public static class ListOSPolicyAssignmentReportsFixedSizeCollection extends AbstractFixedSizeCollection< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, - OSPolicyAssignmentReport, - ListOSPolicyAssignmentReportsPage, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + OSPolicyAssignmentReport, ListOSPolicyAssignmentReportsPage, ListOSPolicyAssignmentReportsFixedSizeCollection> { private ListOSPolicyAssignmentReportsFixedSizeCollection( @@ -2888,10 +2851,7 @@ protected ListOSPolicyAssignmentReportsFixedSizeCollection createCollection( public static class ListInventoriesPagedResponse extends AbstractPagedListResponse< - ListInventoriesRequest, - ListInventoriesResponse, - Inventory, - ListInventoriesPage, + ListInventoriesRequest, ListInventoriesResponse, Inventory, ListInventoriesPage, ListInventoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2941,10 +2901,7 @@ public ApiFuture createPageAsync( public static class ListInventoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListInventoriesRequest, - ListInventoriesResponse, - Inventory, - ListInventoriesPage, + ListInventoriesRequest, ListInventoriesResponse, Inventory, ListInventoriesPage, ListInventoriesFixedSizeCollection> { private ListInventoriesFixedSizeCollection( @@ -2965,16 +2922,12 @@ protected ListInventoriesFixedSizeCollection createCollection( public static class ListVulnerabilityReportsPagedResponse extends AbstractPagedListResponse< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, - VulnerabilityReport, - ListVulnerabilityReportsPage, - ListVulnerabilityReportsFixedSizeCollection> { + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport, + ListVulnerabilityReportsPage, ListVulnerabilityReportsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport> context, ApiFuture futureResponse) { @@ -2993,15 +2946,12 @@ private ListVulnerabilityReportsPagedResponse(ListVulnerabilityReportsPage page) public static class ListVulnerabilityReportsPage extends AbstractPage< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, - VulnerabilityReport, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport, ListVulnerabilityReportsPage> { private ListVulnerabilityReportsPage( PageContext< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport> context, ListVulnerabilityReportsResponse response) { @@ -3015,8 +2965,7 @@ private static ListVulnerabilityReportsPage createEmptyPage() { @Override protected ListVulnerabilityReportsPage createPage( PageContext< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport> context, ListVulnerabilityReportsResponse response) { @@ -3026,8 +2975,7 @@ protected ListVulnerabilityReportsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport> context, ApiFuture futureResponse) { @@ -3037,11 +2985,8 @@ public ApiFuture createPageAsync( public static class ListVulnerabilityReportsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, - VulnerabilityReport, - ListVulnerabilityReportsPage, - ListVulnerabilityReportsFixedSizeCollection> { + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport, + ListVulnerabilityReportsPage, ListVulnerabilityReportsFixedSizeCollection> { private ListVulnerabilityReportsFixedSizeCollection( List pages, int collectionSize) { diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceSettings.java b/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceSettings.java similarity index 93% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceSettings.java rename to owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceSettings.java index 6fab56d7..705a26f2 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceSettings.java +++ b/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceSettings.java @@ -34,6 +34,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.osconfig.v1alpha.stub.OsConfigZonalServiceStubSettings; @@ -50,9 +51,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -120,8 +121,7 @@ public class OsConfigZonalServiceSettings extends ClientSettings listOSPolicyAssignmentsSettings() { return ((OsConfigZonalServiceStubSettings) getStubSettings()).listOSPolicyAssignmentsSettings(); @@ -129,8 +129,7 @@ public class OsConfigZonalServiceSettings extends ClientSettings listOSPolicyAssignmentRevisionsSettings() { return ((OsConfigZonalServiceStubSettings) getStubSettings()) @@ -171,8 +170,7 @@ public class OsConfigZonalServiceSettings extends ClientSettings listInstanceOSPoliciesCompliancesSettings() { return ((OsConfigZonalServiceStubSettings) getStubSettings()) @@ -188,8 +186,7 @@ public class OsConfigZonalServiceSettings extends ClientSettings listOSPolicyAssignmentReportsSettings() { return ((OsConfigZonalServiceStubSettings) getStubSettings()) @@ -216,8 +213,7 @@ public UnaryCallSettings getInventorySettings() /** Returns the object with the settings used for calls to listVulnerabilityReports. */ public PagedCallSettings< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings() { return ((OsConfigZonalServiceStubSettings) getStubSettings()) @@ -348,8 +344,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to createOSPolicyAssignment. */ public OperationCallSettings.Builder< - CreateOSPolicyAssignmentRequest, - OSPolicyAssignment, + CreateOSPolicyAssignmentRequest, OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> createOSPolicyAssignmentOperationSettings() { return getStubSettingsBuilder().createOSPolicyAssignmentOperationSettings(); @@ -363,8 +358,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to updateOSPolicyAssignment. */ public OperationCallSettings.Builder< - UpdateOSPolicyAssignmentRequest, - OSPolicyAssignment, + UpdateOSPolicyAssignmentRequest, OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> updateOSPolicyAssignmentOperationSettings() { return getStubSettingsBuilder().updateOSPolicyAssignmentOperationSettings(); @@ -378,8 +372,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignments. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings() { return getStubSettingsBuilder().listOSPolicyAssignmentsSettings(); @@ -387,8 +380,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignmentRevisions. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings() { return getStubSettingsBuilder().listOSPolicyAssignmentRevisionsSettings(); @@ -426,8 +418,7 @@ public Builder applyToAllUnaryMethods( */ @Deprecated public PagedCallSettings.Builder< - ListInstanceOSPoliciesCompliancesRequest, - ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, ListInstanceOSPoliciesCompliancesPagedResponse> listInstanceOSPoliciesCompliancesSettings() { return getStubSettingsBuilder().listInstanceOSPoliciesCompliancesSettings(); @@ -441,8 +432,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignmentReports. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings() { return getStubSettingsBuilder().listOSPolicyAssignmentReportsSettings(); @@ -468,8 +458,7 @@ public UnaryCallSettings.Builder getInventorySet /** Returns the builder for the settings used for calls to listVulnerabilityReports. */ public PagedCallSettings.Builder< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings() { return getStubSettingsBuilder().listVulnerabilityReportsSettings(); diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/gapic_metadata.json b/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/gapic_metadata.json similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/gapic_metadata.json rename to owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/gapic_metadata.json diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/package-info.java b/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/package-info.java similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/package-info.java rename to owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/package-info.java diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceCallableFactory.java b/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceCallableFactory.java similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceCallableFactory.java rename to owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceCallableFactory.java diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceStub.java b/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceStub.java similarity index 99% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceStub.java rename to owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceStub.java index e7ea8a54..a4800fcd 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceStub.java +++ b/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceStub.java @@ -64,6 +64,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceCallableFactory.java b/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceCallableFactory.java similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceCallableFactory.java rename to owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceCallableFactory.java diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceStub.java b/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceStub.java similarity index 99% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceStub.java rename to owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceStub.java index 31ff24fd..7615e5c4 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceStub.java +++ b/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceStub.java @@ -35,6 +35,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStub.java b/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStub.java similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStub.java rename to owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStub.java diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStubSettings.java b/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStubSettings.java similarity index 92% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStubSettings.java rename to owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStubSettings.java index 02d35ba7..fed10377 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStubSettings.java +++ b/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStubSettings.java @@ -96,9 +96,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -145,13 +145,11 @@ public class OsConfigZonalServiceStubSettings private final UnaryCallSettings getOSPolicyAssignmentSettings; private final PagedCallSettings< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings; private final PagedCallSettings< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings; private final UnaryCallSettings @@ -163,15 +161,13 @@ public class OsConfigZonalServiceStubSettings GetInstanceOSPoliciesComplianceRequest, InstanceOSPoliciesCompliance> getInstanceOSPoliciesComplianceSettings; private final PagedCallSettings< - ListInstanceOSPoliciesCompliancesRequest, - ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, ListInstanceOSPoliciesCompliancesPagedResponse> listInstanceOSPoliciesCompliancesSettings; private final UnaryCallSettings getOSPolicyAssignmentReportSettings; private final PagedCallSettings< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings; private final UnaryCallSettings getInventorySettings; @@ -181,8 +177,7 @@ public class OsConfigZonalServiceStubSettings private final UnaryCallSettings getVulnerabilityReportSettings; private final PagedCallSettings< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings; @@ -190,8 +185,7 @@ public class OsConfigZonalServiceStubSettings ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment> LIST_O_S_POLICY_ASSIGNMENTS_PAGE_STR_DESC = new PagedListDescriptor< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment>() { @Override public String emptyToken() { @@ -232,13 +226,11 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> LIST_O_S_POLICY_ASSIGNMENT_REVISIONS_PAGE_STR_DESC = new PagedListDescriptor< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment>() { @Override public String emptyToken() { @@ -281,13 +273,11 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - ListInstanceOSPoliciesCompliancesRequest, - ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, InstanceOSPoliciesCompliance> LIST_INSTANCE_O_S_POLICIES_COMPLIANCES_PAGE_STR_DESC = new PagedListDescriptor< - ListInstanceOSPoliciesCompliancesRequest, - ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, InstanceOSPoliciesCompliance>() { @Override public String emptyToken() { @@ -330,13 +320,11 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> LIST_O_S_POLICY_ASSIGNMENT_REPORTS_PAGE_STR_DESC = new PagedListDescriptor< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport>() { @Override public String emptyToken() { @@ -421,8 +409,7 @@ public Iterable extractResources(ListInventoriesResponse payload) { ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport> LIST_VULNERABILITY_REPORTS_PAGE_STR_DESC = new PagedListDescriptor< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport>() { @Override public String emptyToken() { @@ -465,13 +452,11 @@ public Iterable extractResources( }; private static final PagedListResponseFactory< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> LIST_O_S_POLICY_ASSIGNMENTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -481,8 +466,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment> pageContext = PageContext.create( @@ -492,13 +476,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> LIST_O_S_POLICY_ASSIGNMENT_REVISIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -511,8 +493,7 @@ public ApiFuture getFuturePagedRes ApiFuture futureResponse) { PageContext< ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, - OSPolicyAssignment> + ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> pageContext = PageContext.create( callable, @@ -525,13 +506,11 @@ public ApiFuture getFuturePagedRes }; private static final PagedListResponseFactory< - ListInstanceOSPoliciesCompliancesRequest, - ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, ListInstanceOSPoliciesCompliancesPagedResponse> LIST_INSTANCE_O_S_POLICIES_COMPLIANCES_PAGE_STR_FACT = new PagedListResponseFactory< - ListInstanceOSPoliciesCompliancesRequest, - ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, ListInstanceOSPoliciesCompliancesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -544,8 +523,7 @@ public ApiFuture getFuturePagedR ApiFuture futureResponse) { PageContext< ListInstanceOSPoliciesCompliancesRequest, - ListInstanceOSPoliciesCompliancesResponse, - InstanceOSPoliciesCompliance> + ListInstanceOSPoliciesCompliancesResponse, InstanceOSPoliciesCompliance> pageContext = PageContext.create( callable, @@ -558,13 +536,11 @@ public ApiFuture getFuturePagedR }; private static final PagedListResponseFactory< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> LIST_O_S_POLICY_ASSIGNMENT_REPORTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -575,8 +551,7 @@ public ApiFuture getFuturePagedRespo ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> pageContext = PageContext.create( @@ -607,13 +582,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> LIST_VULNERABILITY_REPORTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -623,8 +596,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport> pageContext = PageContext.create( @@ -667,8 +639,7 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listOSPolicyAssignments. */ public PagedCallSettings< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings() { return listOSPolicyAssignmentsSettings; @@ -676,8 +647,7 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listOSPolicyAssignmentRevisions. */ public PagedCallSettings< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings() { return listOSPolicyAssignmentRevisionsSettings; @@ -714,8 +684,7 @@ public ApiFuture getFuturePagedResponse( */ @Deprecated public PagedCallSettings< - ListInstanceOSPoliciesCompliancesRequest, - ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, ListInstanceOSPoliciesCompliancesPagedResponse> listInstanceOSPoliciesCompliancesSettings() { return listInstanceOSPoliciesCompliancesSettings; @@ -729,8 +698,7 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listOSPolicyAssignmentReports. */ public PagedCallSettings< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings() { return listOSPolicyAssignmentReportsSettings; @@ -756,8 +724,7 @@ public UnaryCallSettings getInventorySettings() /** Returns the object with the settings used for calls to listVulnerabilityReports. */ public PagedCallSettings< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings() { return listVulnerabilityReportsSettings; @@ -903,27 +870,23 @@ public static class Builder private final UnaryCallSettings.Builder createOSPolicyAssignmentSettings; private final OperationCallSettings.Builder< - CreateOSPolicyAssignmentRequest, - OSPolicyAssignment, + CreateOSPolicyAssignmentRequest, OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> createOSPolicyAssignmentOperationSettings; private final UnaryCallSettings.Builder updateOSPolicyAssignmentSettings; private final OperationCallSettings.Builder< - UpdateOSPolicyAssignmentRequest, - OSPolicyAssignment, + UpdateOSPolicyAssignmentRequest, OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> updateOSPolicyAssignmentOperationSettings; private final UnaryCallSettings.Builder getOSPolicyAssignmentSettings; private final PagedCallSettings.Builder< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings; private final PagedCallSettings.Builder< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings; private final UnaryCallSettings.Builder @@ -935,16 +898,14 @@ public static class Builder GetInstanceOSPoliciesComplianceRequest, InstanceOSPoliciesCompliance> getInstanceOSPoliciesComplianceSettings; private final PagedCallSettings.Builder< - ListInstanceOSPoliciesCompliancesRequest, - ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, ListInstanceOSPoliciesCompliancesPagedResponse> listInstanceOSPoliciesCompliancesSettings; private final UnaryCallSettings.Builder< GetOSPolicyAssignmentReportRequest, OSPolicyAssignmentReport> getOSPolicyAssignmentReportSettings; private final PagedCallSettings.Builder< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings; private final UnaryCallSettings.Builder getInventorySettings; @@ -954,8 +915,7 @@ public static class Builder private final UnaryCallSettings.Builder getVulnerabilityReportSettings; private final PagedCallSettings.Builder< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings; private static final ImmutableMap> @@ -1285,8 +1245,7 @@ public Builder applyToAllUnaryMethods( @BetaApi( "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder< - CreateOSPolicyAssignmentRequest, - OSPolicyAssignment, + CreateOSPolicyAssignmentRequest, OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> createOSPolicyAssignmentOperationSettings() { return createOSPolicyAssignmentOperationSettings; @@ -1302,8 +1261,7 @@ public Builder applyToAllUnaryMethods( @BetaApi( "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder< - UpdateOSPolicyAssignmentRequest, - OSPolicyAssignment, + UpdateOSPolicyAssignmentRequest, OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> updateOSPolicyAssignmentOperationSettings() { return updateOSPolicyAssignmentOperationSettings; @@ -1317,8 +1275,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignments. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentsRequest, - ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings() { return listOSPolicyAssignmentsSettings; @@ -1326,8 +1283,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignmentRevisions. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings() { return listOSPolicyAssignmentRevisionsSettings; @@ -1367,8 +1323,7 @@ public Builder applyToAllUnaryMethods( */ @Deprecated public PagedCallSettings.Builder< - ListInstanceOSPoliciesCompliancesRequest, - ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, ListInstanceOSPoliciesCompliancesPagedResponse> listInstanceOSPoliciesCompliancesSettings() { return listInstanceOSPoliciesCompliancesSettings; @@ -1382,8 +1337,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignmentReports. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentReportsRequest, - ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings() { return listOSPolicyAssignmentReportsSettings; @@ -1409,8 +1363,7 @@ public UnaryCallSettings.Builder getInventorySet /** Returns the builder for the settings used for calls to listVulnerabilityReports. */ public PagedCallSettings.Builder< - ListVulnerabilityReportsRequest, - ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings() { return listVulnerabilityReportsSettings; diff --git a/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalService.java b/owl-bot-staging/v1alpha/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalService.java similarity index 100% rename from google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalService.java rename to owl-bot-staging/v1alpha/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalService.java diff --git a/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalServiceImpl.java b/owl-bot-staging/v1alpha/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalServiceImpl.java similarity index 100% rename from google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalServiceImpl.java rename to owl-bot-staging/v1alpha/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalServiceImpl.java diff --git a/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientHttpJsonTest.java b/owl-bot-staging/v1alpha/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientHttpJsonTest.java similarity index 100% rename from google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientHttpJsonTest.java rename to owl-bot-staging/v1alpha/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientHttpJsonTest.java diff --git a/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientTest.java b/owl-bot-staging/v1alpha/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientTest.java similarity index 100% rename from google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientTest.java rename to owl-bot-staging/v1alpha/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientTest.java diff --git a/owl-bot-staging/v1alpha/grpc-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceGrpc.java b/owl-bot-staging/v1alpha/grpc-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceGrpc.java new file mode 100644 index 00000000..b95bb84c --- /dev/null +++ b/owl-bot-staging/v1alpha/grpc-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceGrpc.java @@ -0,0 +1,1547 @@ +package com.google.cloud.osconfig.v1alpha; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * Zonal OS Config API
+ * The OS Config service is the server-side component that allows users to
+ * manage package installations and patch jobs for Compute Engine VM instances.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/osconfig/v1alpha/osconfig_zonal_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class OsConfigZonalServiceGrpc { + + private OsConfigZonalServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.osconfig.v1alpha.OsConfigZonalService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateOSPolicyAssignmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateOSPolicyAssignment", + requestType = com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateOSPolicyAssignmentMethod() { + io.grpc.MethodDescriptor getCreateOSPolicyAssignmentMethod; + if ((getCreateOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getCreateOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod) == null) { + OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod = getCreateOSPolicyAssignmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateOSPolicyAssignment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("CreateOSPolicyAssignment")) + .build(); + } + } + } + return getCreateOSPolicyAssignmentMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateOSPolicyAssignmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateOSPolicyAssignment", + requestType = com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateOSPolicyAssignmentMethod() { + io.grpc.MethodDescriptor getUpdateOSPolicyAssignmentMethod; + if ((getUpdateOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getUpdateOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod) == null) { + OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod = getUpdateOSPolicyAssignmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateOSPolicyAssignment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("UpdateOSPolicyAssignment")) + .build(); + } + } + } + return getUpdateOSPolicyAssignmentMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetOSPolicyAssignmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetOSPolicyAssignment", + requestType = com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetOSPolicyAssignmentMethod() { + io.grpc.MethodDescriptor getGetOSPolicyAssignmentMethod; + if ((getGetOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getGetOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod) == null) { + OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod = getGetOSPolicyAssignmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOSPolicyAssignment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("GetOSPolicyAssignment")) + .build(); + } + } + } + return getGetOSPolicyAssignmentMethod; + } + + private static volatile io.grpc.MethodDescriptor getListOSPolicyAssignmentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignments", + requestType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListOSPolicyAssignmentsMethod() { + io.grpc.MethodDescriptor getListOSPolicyAssignmentsMethod; + if ((getListOSPolicyAssignmentsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListOSPolicyAssignmentsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod) == null) { + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod = getListOSPolicyAssignmentsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListOSPolicyAssignments")) + .build(); + } + } + } + return getListOSPolicyAssignmentsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListOSPolicyAssignmentRevisionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignmentRevisions", + requestType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListOSPolicyAssignmentRevisionsMethod() { + io.grpc.MethodDescriptor getListOSPolicyAssignmentRevisionsMethod; + if ((getListOSPolicyAssignmentRevisionsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListOSPolicyAssignmentRevisionsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod) == null) { + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod = getListOSPolicyAssignmentRevisionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignmentRevisions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListOSPolicyAssignmentRevisions")) + .build(); + } + } + } + return getListOSPolicyAssignmentRevisionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteOSPolicyAssignmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteOSPolicyAssignment", + requestType = com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteOSPolicyAssignmentMethod() { + io.grpc.MethodDescriptor getDeleteOSPolicyAssignmentMethod; + if ((getDeleteOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getDeleteOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod) == null) { + OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod = getDeleteOSPolicyAssignmentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteOSPolicyAssignment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("DeleteOSPolicyAssignment")) + .build(); + } + } + } + return getDeleteOSPolicyAssignmentMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetInstanceOSPoliciesComplianceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInstanceOSPoliciesCompliance", + requestType = com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetInstanceOSPoliciesComplianceMethod() { + io.grpc.MethodDescriptor getGetInstanceOSPoliciesComplianceMethod; + if ((getGetInstanceOSPoliciesComplianceMethod = OsConfigZonalServiceGrpc.getGetInstanceOSPoliciesComplianceMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getGetInstanceOSPoliciesComplianceMethod = OsConfigZonalServiceGrpc.getGetInstanceOSPoliciesComplianceMethod) == null) { + OsConfigZonalServiceGrpc.getGetInstanceOSPoliciesComplianceMethod = getGetInstanceOSPoliciesComplianceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstanceOSPoliciesCompliance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("GetInstanceOSPoliciesCompliance")) + .build(); + } + } + } + return getGetInstanceOSPoliciesComplianceMethod; + } + + private static volatile io.grpc.MethodDescriptor getListInstanceOSPoliciesCompliancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInstanceOSPoliciesCompliances", + requestType = com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListInstanceOSPoliciesCompliancesMethod() { + io.grpc.MethodDescriptor getListInstanceOSPoliciesCompliancesMethod; + if ((getListInstanceOSPoliciesCompliancesMethod = OsConfigZonalServiceGrpc.getListInstanceOSPoliciesCompliancesMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListInstanceOSPoliciesCompliancesMethod = OsConfigZonalServiceGrpc.getListInstanceOSPoliciesCompliancesMethod) == null) { + OsConfigZonalServiceGrpc.getListInstanceOSPoliciesCompliancesMethod = getListInstanceOSPoliciesCompliancesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstanceOSPoliciesCompliances")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListInstanceOSPoliciesCompliances")) + .build(); + } + } + } + return getListInstanceOSPoliciesCompliancesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetOSPolicyAssignmentReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetOSPolicyAssignmentReport", + requestType = com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetOSPolicyAssignmentReportMethod() { + io.grpc.MethodDescriptor getGetOSPolicyAssignmentReportMethod; + if ((getGetOSPolicyAssignmentReportMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getGetOSPolicyAssignmentReportMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod) == null) { + OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod = getGetOSPolicyAssignmentReportMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOSPolicyAssignmentReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("GetOSPolicyAssignmentReport")) + .build(); + } + } + } + return getGetOSPolicyAssignmentReportMethod; + } + + private static volatile io.grpc.MethodDescriptor getListOSPolicyAssignmentReportsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignmentReports", + requestType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListOSPolicyAssignmentReportsMethod() { + io.grpc.MethodDescriptor getListOSPolicyAssignmentReportsMethod; + if ((getListOSPolicyAssignmentReportsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListOSPolicyAssignmentReportsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod) == null) { + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod = getListOSPolicyAssignmentReportsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignmentReports")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListOSPolicyAssignmentReports")) + .build(); + } + } + } + return getListOSPolicyAssignmentReportsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetInventoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInventory", + requestType = com.google.cloud.osconfig.v1alpha.GetInventoryRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.Inventory.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetInventoryMethod() { + io.grpc.MethodDescriptor getGetInventoryMethod; + if ((getGetInventoryMethod = OsConfigZonalServiceGrpc.getGetInventoryMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getGetInventoryMethod = OsConfigZonalServiceGrpc.getGetInventoryMethod) == null) { + OsConfigZonalServiceGrpc.getGetInventoryMethod = getGetInventoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInventory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.GetInventoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.Inventory.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("GetInventory")) + .build(); + } + } + } + return getGetInventoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getListInventoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInventories", + requestType = com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListInventoriesMethod() { + io.grpc.MethodDescriptor getListInventoriesMethod; + if ((getListInventoriesMethod = OsConfigZonalServiceGrpc.getListInventoriesMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListInventoriesMethod = OsConfigZonalServiceGrpc.getListInventoriesMethod) == null) { + OsConfigZonalServiceGrpc.getListInventoriesMethod = getListInventoriesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInventories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListInventories")) + .build(); + } + } + } + return getListInventoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetVulnerabilityReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVulnerabilityReport", + requestType = com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.VulnerabilityReport.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetVulnerabilityReportMethod() { + io.grpc.MethodDescriptor getGetVulnerabilityReportMethod; + if ((getGetVulnerabilityReportMethod = OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getGetVulnerabilityReportMethod = OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod) == null) { + OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod = getGetVulnerabilityReportMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVulnerabilityReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("GetVulnerabilityReport")) + .build(); + } + } + } + return getGetVulnerabilityReportMethod; + } + + private static volatile io.grpc.MethodDescriptor getListVulnerabilityReportsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVulnerabilityReports", + requestType = com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListVulnerabilityReportsMethod() { + io.grpc.MethodDescriptor getListVulnerabilityReportsMethod; + if ((getListVulnerabilityReportsMethod = OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListVulnerabilityReportsMethod = OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod) == null) { + OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod = getListVulnerabilityReportsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVulnerabilityReports")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListVulnerabilityReports")) + .build(); + } + } + } + return getListVulnerabilityReportsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static OsConfigZonalServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigZonalServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceStub(channel, callOptions); + } + }; + return OsConfigZonalServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static OsConfigZonalServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigZonalServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceBlockingStub(channel, callOptions); + } + }; + return OsConfigZonalServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static OsConfigZonalServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigZonalServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceFutureStub(channel, callOptions); + } + }; + return OsConfigZonalServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * Zonal OS Config API
+   * The OS Config service is the server-side component that allows users to
+   * manage package installations and patch jobs for Compute Engine VM instances.
+   * 
+ */ + public static abstract class OsConfigZonalServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Create an OS policy assignment.
+     * This method also creates the first revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void createOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateOSPolicyAssignmentMethod(), responseObserver); + } + + /** + *
+     * Update an existing OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void updateOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateOSPolicyAssignmentMethod(), responseObserver); + } + + /** + *
+     * Retrieve an existing OS policy assignment.
+     * This method always returns the latest revision. In order to retrieve a
+     * previous revision of the assignment, also provide the revision ID in the
+     * `name` parameter.
+     * 
+ */ + public void getOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetOSPolicyAssignmentMethod(), responseObserver); + } + + /** + *
+     * List the OS policy assignments under the parent resource.
+     * For each OS policy assignment, the latest revision is returned.
+     * 
+ */ + public void listOSPolicyAssignments(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOSPolicyAssignmentsMethod(), responseObserver); + } + + /** + *
+     * List the OS policy assignment revisions for a given OS policy assignment.
+     * 
+ */ + public void listOSPolicyAssignmentRevisions(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOSPolicyAssignmentRevisionsMethod(), responseObserver); + } + + /** + *
+     * Delete the OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * If the LRO completes and is not cancelled, all revisions associated with
+     * the OS policy assignment are deleted.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void deleteOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteOSPolicyAssignmentMethod(), responseObserver); + } + + /** + *
+     * Get OS policies compliance data for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + @java.lang.Deprecated + public void getInstanceOSPoliciesCompliance(com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceOSPoliciesComplianceMethod(), responseObserver); + } + + /** + *
+     * List OS policies compliance data for all Compute Engine VM instances in the
+     * specified zone.
+     * 
+ */ + @java.lang.Deprecated + public void listInstanceOSPoliciesCompliances(com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstanceOSPoliciesCompliancesMethod(), responseObserver); + } + + /** + *
+     * Get the OS policy asssignment report for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + public void getOSPolicyAssignmentReport(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetOSPolicyAssignmentReportMethod(), responseObserver); + } + + /** + *
+     * List OS policy asssignment reports for all Compute Engine VM instances in
+     * the specified zone.
+     * 
+ */ + public void listOSPolicyAssignmentReports(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOSPolicyAssignmentReportsMethod(), responseObserver); + } + + /** + *
+     * Get inventory data for the specified VM instance. If the VM has no
+     * associated inventory, the message `NOT_FOUND` is returned.
+     * 
+ */ + public void getInventory(com.google.cloud.osconfig.v1alpha.GetInventoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInventoryMethod(), responseObserver); + } + + /** + *
+     * List inventory data for all VM instances in the specified zone.
+     * 
+ */ + public void listInventories(com.google.cloud.osconfig.v1alpha.ListInventoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInventoriesMethod(), responseObserver); + } + + /** + *
+     * Gets the vulnerability report for the specified VM instance. Only VMs with
+     * inventory data have vulnerability reports associated with them.
+     * 
+ */ + public void getVulnerabilityReport(com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVulnerabilityReportMethod(), responseObserver); + } + + /** + *
+     * List vulnerability reports for all VM instances in the specified zone.
+     * 
+ */ + public void listVulnerabilityReports(com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVulnerabilityReportsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateOSPolicyAssignmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_OSPOLICY_ASSIGNMENT))) + .addMethod( + getUpdateOSPolicyAssignmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_OSPOLICY_ASSIGNMENT))) + .addMethod( + getGetOSPolicyAssignmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment>( + this, METHODID_GET_OSPOLICY_ASSIGNMENT))) + .addMethod( + getListOSPolicyAssignmentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse>( + this, METHODID_LIST_OSPOLICY_ASSIGNMENTS))) + .addMethod( + getListOSPolicyAssignmentRevisionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse>( + this, METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS))) + .addMethod( + getDeleteOSPolicyAssignmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_OSPOLICY_ASSIGNMENT))) + .addMethod( + getGetInstanceOSPoliciesComplianceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance>( + this, METHODID_GET_INSTANCE_OSPOLICIES_COMPLIANCE))) + .addMethod( + getListInstanceOSPoliciesCompliancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest, + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse>( + this, METHODID_LIST_INSTANCE_OSPOLICIES_COMPLIANCES))) + .addMethod( + getGetOSPolicyAssignmentReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport>( + this, METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT))) + .addMethod( + getListOSPolicyAssignmentReportsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse>( + this, METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS))) + .addMethod( + getGetInventoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.GetInventoryRequest, + com.google.cloud.osconfig.v1alpha.Inventory>( + this, METHODID_GET_INVENTORY))) + .addMethod( + getListInventoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.ListInventoriesRequest, + com.google.cloud.osconfig.v1alpha.ListInventoriesResponse>( + this, METHODID_LIST_INVENTORIES))) + .addMethod( + getGetVulnerabilityReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport>( + this, METHODID_GET_VULNERABILITY_REPORT))) + .addMethod( + getListVulnerabilityReportsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest, + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse>( + this, METHODID_LIST_VULNERABILITY_REPORTS))) + .build(); + } + } + + /** + *
+   * Zonal OS Config API
+   * The OS Config service is the server-side component that allows users to
+   * manage package installations and patch jobs for Compute Engine VM instances.
+   * 
+ */ + public static final class OsConfigZonalServiceStub extends io.grpc.stub.AbstractAsyncStub { + private OsConfigZonalServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigZonalServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceStub(channel, callOptions); + } + + /** + *
+     * Create an OS policy assignment.
+     * This method also creates the first revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void createOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateOSPolicyAssignmentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Update an existing OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void updateOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateOSPolicyAssignmentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieve an existing OS policy assignment.
+     * This method always returns the latest revision. In order to retrieve a
+     * previous revision of the assignment, also provide the revision ID in the
+     * `name` parameter.
+     * 
+ */ + public void getOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetOSPolicyAssignmentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * List the OS policy assignments under the parent resource.
+     * For each OS policy assignment, the latest revision is returned.
+     * 
+ */ + public void listOSPolicyAssignments(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * List the OS policy assignment revisions for a given OS policy assignment.
+     * 
+ */ + public void listOSPolicyAssignmentRevisions(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentRevisionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Delete the OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * If the LRO completes and is not cancelled, all revisions associated with
+     * the OS policy assignment are deleted.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void deleteOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteOSPolicyAssignmentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get OS policies compliance data for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + @java.lang.Deprecated + public void getInstanceOSPoliciesCompliance(com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInstanceOSPoliciesComplianceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * List OS policies compliance data for all Compute Engine VM instances in the
+     * specified zone.
+     * 
+ */ + @java.lang.Deprecated + public void listInstanceOSPoliciesCompliances(com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInstanceOSPoliciesCompliancesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get the OS policy asssignment report for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + public void getOSPolicyAssignmentReport(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetOSPolicyAssignmentReportMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * List OS policy asssignment reports for all Compute Engine VM instances in
+     * the specified zone.
+     * 
+ */ + public void listOSPolicyAssignmentReports(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentReportsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get inventory data for the specified VM instance. If the VM has no
+     * associated inventory, the message `NOT_FOUND` is returned.
+     * 
+ */ + public void getInventory(com.google.cloud.osconfig.v1alpha.GetInventoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInventoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * List inventory data for all VM instances in the specified zone.
+     * 
+ */ + public void listInventories(com.google.cloud.osconfig.v1alpha.ListInventoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInventoriesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the vulnerability report for the specified VM instance. Only VMs with
+     * inventory data have vulnerability reports associated with them.
+     * 
+ */ + public void getVulnerabilityReport(com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVulnerabilityReportMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * List vulnerability reports for all VM instances in the specified zone.
+     * 
+ */ + public void listVulnerabilityReports(com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVulnerabilityReportsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Zonal OS Config API
+   * The OS Config service is the server-side component that allows users to
+   * manage package installations and patch jobs for Compute Engine VM instances.
+   * 
+ */ + public static final class OsConfigZonalServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private OsConfigZonalServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigZonalServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Create an OS policy assignment.
+     * This method also creates the first revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.longrunning.Operation createOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateOSPolicyAssignmentMethod(), getCallOptions(), request); + } + + /** + *
+     * Update an existing OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.longrunning.Operation updateOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateOSPolicyAssignmentMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieve an existing OS policy assignment.
+     * This method always returns the latest revision. In order to retrieve a
+     * previous revision of the assignment, also provide the revision ID in the
+     * `name` parameter.
+     * 
+ */ + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetOSPolicyAssignmentMethod(), getCallOptions(), request); + } + + /** + *
+     * List the OS policy assignments under the parent resource.
+     * For each OS policy assignment, the latest revision is returned.
+     * 
+ */ + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse listOSPolicyAssignments(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListOSPolicyAssignmentsMethod(), getCallOptions(), request); + } + + /** + *
+     * List the OS policy assignment revisions for a given OS policy assignment.
+     * 
+ */ + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse listOSPolicyAssignmentRevisions(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListOSPolicyAssignmentRevisionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Delete the OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * If the LRO completes and is not cancelled, all revisions associated with
+     * the OS policy assignment are deleted.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.longrunning.Operation deleteOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteOSPolicyAssignmentMethod(), getCallOptions(), request); + } + + /** + *
+     * Get OS policies compliance data for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + @java.lang.Deprecated + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance getInstanceOSPoliciesCompliance(com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInstanceOSPoliciesComplianceMethod(), getCallOptions(), request); + } + + /** + *
+     * List OS policies compliance data for all Compute Engine VM instances in the
+     * specified zone.
+     * 
+ */ + @java.lang.Deprecated + public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse listInstanceOSPoliciesCompliances(com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInstanceOSPoliciesCompliancesMethod(), getCallOptions(), request); + } + + /** + *
+     * Get the OS policy asssignment report for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getOSPolicyAssignmentReport(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetOSPolicyAssignmentReportMethod(), getCallOptions(), request); + } + + /** + *
+     * List OS policy asssignment reports for all Compute Engine VM instances in
+     * the specified zone.
+     * 
+ */ + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse listOSPolicyAssignmentReports(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListOSPolicyAssignmentReportsMethod(), getCallOptions(), request); + } + + /** + *
+     * Get inventory data for the specified VM instance. If the VM has no
+     * associated inventory, the message `NOT_FOUND` is returned.
+     * 
+ */ + public com.google.cloud.osconfig.v1alpha.Inventory getInventory(com.google.cloud.osconfig.v1alpha.GetInventoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInventoryMethod(), getCallOptions(), request); + } + + /** + *
+     * List inventory data for all VM instances in the specified zone.
+     * 
+ */ + public com.google.cloud.osconfig.v1alpha.ListInventoriesResponse listInventories(com.google.cloud.osconfig.v1alpha.ListInventoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInventoriesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the vulnerability report for the specified VM instance. Only VMs with
+     * inventory data have vulnerability reports associated with them.
+     * 
+ */ + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport getVulnerabilityReport(com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVulnerabilityReportMethod(), getCallOptions(), request); + } + + /** + *
+     * List vulnerability reports for all VM instances in the specified zone.
+     * 
+ */ + public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse listVulnerabilityReports(com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVulnerabilityReportsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Zonal OS Config API
+   * The OS Config service is the server-side component that allows users to
+   * manage package installations and patch jobs for Compute Engine VM instances.
+   * 
+ */ + public static final class OsConfigZonalServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private OsConfigZonalServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigZonalServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Create an OS policy assignment.
+     * This method also creates the first revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateOSPolicyAssignmentMethod(), getCallOptions()), request); + } + + /** + *
+     * Update an existing OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateOSPolicyAssignmentMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieve an existing OS policy assignment.
+     * This method always returns the latest revision. In order to retrieve a
+     * previous revision of the assignment, also provide the revision ID in the
+     * `name` parameter.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetOSPolicyAssignmentMethod(), getCallOptions()), request); + } + + /** + *
+     * List the OS policy assignments under the parent resource.
+     * For each OS policy assignment, the latest revision is returned.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listOSPolicyAssignments( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentsMethod(), getCallOptions()), request); + } + + /** + *
+     * List the OS policy assignment revisions for a given OS policy assignment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listOSPolicyAssignmentRevisions( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentRevisionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Delete the OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * If the LRO completes and is not cancelled, all revisions associated with
+     * the OS policy assignment are deleted.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteOSPolicyAssignmentMethod(), getCallOptions()), request); + } + + /** + *
+     * Get OS policies compliance data for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + @java.lang.Deprecated + public com.google.common.util.concurrent.ListenableFuture getInstanceOSPoliciesCompliance( + com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInstanceOSPoliciesComplianceMethod(), getCallOptions()), request); + } + + /** + *
+     * List OS policies compliance data for all Compute Engine VM instances in the
+     * specified zone.
+     * 
+ */ + @java.lang.Deprecated + public com.google.common.util.concurrent.ListenableFuture listInstanceOSPoliciesCompliances( + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInstanceOSPoliciesCompliancesMethod(), getCallOptions()), request); + } + + /** + *
+     * Get the OS policy asssignment report for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getOSPolicyAssignmentReport( + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetOSPolicyAssignmentReportMethod(), getCallOptions()), request); + } + + /** + *
+     * List OS policy asssignment reports for all Compute Engine VM instances in
+     * the specified zone.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listOSPolicyAssignmentReports( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentReportsMethod(), getCallOptions()), request); + } + + /** + *
+     * Get inventory data for the specified VM instance. If the VM has no
+     * associated inventory, the message `NOT_FOUND` is returned.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getInventory( + com.google.cloud.osconfig.v1alpha.GetInventoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInventoryMethod(), getCallOptions()), request); + } + + /** + *
+     * List inventory data for all VM instances in the specified zone.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listInventories( + com.google.cloud.osconfig.v1alpha.ListInventoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInventoriesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the vulnerability report for the specified VM instance. Only VMs with
+     * inventory data have vulnerability reports associated with them.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getVulnerabilityReport( + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVulnerabilityReportMethod(), getCallOptions()), request); + } + + /** + *
+     * List vulnerability reports for all VM instances in the specified zone.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listVulnerabilityReports( + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVulnerabilityReportsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_OSPOLICY_ASSIGNMENT = 0; + private static final int METHODID_UPDATE_OSPOLICY_ASSIGNMENT = 1; + private static final int METHODID_GET_OSPOLICY_ASSIGNMENT = 2; + private static final int METHODID_LIST_OSPOLICY_ASSIGNMENTS = 3; + private static final int METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS = 4; + private static final int METHODID_DELETE_OSPOLICY_ASSIGNMENT = 5; + private static final int METHODID_GET_INSTANCE_OSPOLICIES_COMPLIANCE = 6; + private static final int METHODID_LIST_INSTANCE_OSPOLICIES_COMPLIANCES = 7; + private static final int METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT = 8; + private static final int METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS = 9; + private static final int METHODID_GET_INVENTORY = 10; + private static final int METHODID_LIST_INVENTORIES = 11; + private static final int METHODID_GET_VULNERABILITY_REPORT = 12; + private static final int METHODID_LIST_VULNERABILITY_REPORTS = 13; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final OsConfigZonalServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(OsConfigZonalServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_OSPOLICY_ASSIGNMENT: + serviceImpl.createOSPolicyAssignment((com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_OSPOLICY_ASSIGNMENT: + serviceImpl.updateOSPolicyAssignment((com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_OSPOLICY_ASSIGNMENT: + serviceImpl.getOSPolicyAssignment((com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_OSPOLICY_ASSIGNMENTS: + serviceImpl.listOSPolicyAssignments((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS: + serviceImpl.listOSPolicyAssignmentRevisions((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_OSPOLICY_ASSIGNMENT: + serviceImpl.deleteOSPolicyAssignment((com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_INSTANCE_OSPOLICIES_COMPLIANCE: + serviceImpl.getInstanceOSPoliciesCompliance((com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INSTANCE_OSPOLICIES_COMPLIANCES: + serviceImpl.listInstanceOSPoliciesCompliances((com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT: + serviceImpl.getOSPolicyAssignmentReport((com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS: + serviceImpl.listOSPolicyAssignmentReports((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_INVENTORY: + serviceImpl.getInventory((com.google.cloud.osconfig.v1alpha.GetInventoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INVENTORIES: + serviceImpl.listInventories((com.google.cloud.osconfig.v1alpha.ListInventoriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_VULNERABILITY_REPORT: + serviceImpl.getVulnerabilityReport((com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_VULNERABILITY_REPORTS: + serviceImpl.listVulnerabilityReports((com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class OsConfigZonalServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + OsConfigZonalServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("OsConfigZonalService"); + } + } + + private static final class OsConfigZonalServiceFileDescriptorSupplier + extends OsConfigZonalServiceBaseDescriptorSupplier { + OsConfigZonalServiceFileDescriptorSupplier() {} + } + + private static final class OsConfigZonalServiceMethodDescriptorSupplier + extends OsConfigZonalServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + OsConfigZonalServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new OsConfigZonalServiceFileDescriptorSupplier()) + .addMethod(getCreateOSPolicyAssignmentMethod()) + .addMethod(getUpdateOSPolicyAssignmentMethod()) + .addMethod(getGetOSPolicyAssignmentMethod()) + .addMethod(getListOSPolicyAssignmentsMethod()) + .addMethod(getListOSPolicyAssignmentRevisionsMethod()) + .addMethod(getDeleteOSPolicyAssignmentMethod()) + .addMethod(getGetInstanceOSPoliciesComplianceMethod()) + .addMethod(getListInstanceOSPoliciesCompliancesMethod()) + .addMethod(getGetOSPolicyAssignmentReportMethod()) + .addMethod(getListOSPolicyAssignmentReportsMethod()) + .addMethod(getGetInventoryMethod()) + .addMethod(getListInventoriesMethod()) + .addMethod(getGetVulnerabilityReportMethod()) + .addMethod(getListVulnerabilityReportsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3.java similarity index 76% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3.java index 577a409d..d0afe37c 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * Common Vulnerability Scoring System version 3.
  * For details, see https://www.first.org/cvss/specification-document
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.CVSSv3}
  */
-public final class CVSSv3 extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CVSSv3 extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.CVSSv3)
     CVSSv3OrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CVSSv3.newBuilder() to construct.
   private CVSSv3(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CVSSv3() {
     attackVector_ = 0;
     attackComplexity_ = 0;
@@ -51,15 +33,16 @@ private CVSSv3() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CVSSv3();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CVSSv3(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -78,84 +61,76 @@ private CVSSv3(
           case 0:
             done = true;
             break;
-          case 13:
-            {
-              baseScore_ = input.readFloat();
-              break;
-            }
-          case 21:
-            {
-              exploitabilityScore_ = input.readFloat();
-              break;
-            }
-          case 29:
-            {
-              impactScore_ = input.readFloat();
-              break;
-            }
-          case 40:
-            {
-              int rawValue = input.readEnum();
+          case 13: {
 
-              attackVector_ = rawValue;
-              break;
-            }
-          case 48:
-            {
-              int rawValue = input.readEnum();
+            baseScore_ = input.readFloat();
+            break;
+          }
+          case 21: {
 
-              attackComplexity_ = rawValue;
-              break;
-            }
-          case 56:
-            {
-              int rawValue = input.readEnum();
+            exploitabilityScore_ = input.readFloat();
+            break;
+          }
+          case 29: {
 
-              privilegesRequired_ = rawValue;
-              break;
-            }
-          case 64:
-            {
-              int rawValue = input.readEnum();
+            impactScore_ = input.readFloat();
+            break;
+          }
+          case 40: {
+            int rawValue = input.readEnum();
 
-              userInteraction_ = rawValue;
-              break;
-            }
-          case 72:
-            {
-              int rawValue = input.readEnum();
+            attackVector_ = rawValue;
+            break;
+          }
+          case 48: {
+            int rawValue = input.readEnum();
 
-              scope_ = rawValue;
-              break;
-            }
-          case 80:
-            {
-              int rawValue = input.readEnum();
+            attackComplexity_ = rawValue;
+            break;
+          }
+          case 56: {
+            int rawValue = input.readEnum();
 
-              confidentialityImpact_ = rawValue;
-              break;
-            }
-          case 88:
-            {
-              int rawValue = input.readEnum();
+            privilegesRequired_ = rawValue;
+            break;
+          }
+          case 64: {
+            int rawValue = input.readEnum();
 
-              integrityImpact_ = rawValue;
-              break;
-            }
-          case 96:
-            {
-              int rawValue = input.readEnum();
+            userInteraction_ = rawValue;
+            break;
+          }
+          case 72: {
+            int rawValue = input.readEnum();
 
-              availabilityImpact_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            scope_ = rawValue;
+            break;
+          }
+          case 80: {
+            int rawValue = input.readEnum();
+
+            confidentialityImpact_ = rawValue;
+            break;
+          }
+          case 88: {
+            int rawValue = input.readEnum();
+
+            integrityImpact_ = rawValue;
+            break;
+          }
+          case 96: {
+            int rawValue = input.readEnum();
+
+            availabilityImpact_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -163,31 +138,27 @@ private CVSSv3(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-        .internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-        .internal_static_google_cloud_osconfig_v1alpha_CVSSv3_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_CVSSv3_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.CVSSv3.class,
-            com.google.cloud.osconfig.v1alpha.CVSSv3.Builder.class);
+            com.google.cloud.osconfig.v1alpha.CVSSv3.class, com.google.cloud.osconfig.v1alpha.CVSSv3.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
@@ -195,10 +166,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1alpha.CVSSv3.AttackVector}
    */
-  public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AttackVector
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -207,8 +177,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum { */ ATTACK_VECTOR_UNSPECIFIED(0), /** - * - * *
      * The vulnerable component is bound to the network stack and the set of
      * possible attackers extends beyond the other options listed below, up to
@@ -219,8 +187,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     ATTACK_VECTOR_NETWORK(1),
     /**
-     *
-     *
      * 
      * The vulnerable component is bound to the network stack, but the attack is
      * limited at the protocol level to a logically adjacent topology.
@@ -230,8 +196,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     ATTACK_VECTOR_ADJACENT(2),
     /**
-     *
-     *
      * 
      * The vulnerable component is not bound to the network stack and the
      * attacker's path is via read/write/execute capabilities.
@@ -241,8 +205,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     ATTACK_VECTOR_LOCAL(3),
     /**
-     *
-     *
      * 
      * The attack requires the attacker to physically touch or manipulate the
      * vulnerable component.
@@ -255,8 +217,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -265,8 +225,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ATTACK_VECTOR_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The vulnerable component is bound to the network stack and the set of
      * possible attackers extends beyond the other options listed below, up to
@@ -277,8 +235,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ATTACK_VECTOR_NETWORK_VALUE = 1;
     /**
-     *
-     *
      * 
      * The vulnerable component is bound to the network stack, but the attack is
      * limited at the protocol level to a logically adjacent topology.
@@ -288,8 +244,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ATTACK_VECTOR_ADJACENT_VALUE = 2;
     /**
-     *
-     *
      * 
      * The vulnerable component is not bound to the network stack and the
      * attacker's path is via read/write/execute capabilities.
@@ -299,8 +253,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ATTACK_VECTOR_LOCAL_VALUE = 3;
     /**
-     *
-     *
      * 
      * The attack requires the attacker to physically touch or manipulate the
      * vulnerable component.
@@ -310,6 +262,7 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ATTACK_VECTOR_PHYSICAL_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -334,53 +287,51 @@ public static AttackVector valueOf(int value) {
      */
     public static AttackVector forNumber(int value) {
       switch (value) {
-        case 0:
-          return ATTACK_VECTOR_UNSPECIFIED;
-        case 1:
-          return ATTACK_VECTOR_NETWORK;
-        case 2:
-          return ATTACK_VECTOR_ADJACENT;
-        case 3:
-          return ATTACK_VECTOR_LOCAL;
-        case 4:
-          return ATTACK_VECTOR_PHYSICAL;
-        default:
-          return null;
+        case 0: return ATTACK_VECTOR_UNSPECIFIED;
+        case 1: return ATTACK_VECTOR_NETWORK;
+        case 2: return ATTACK_VECTOR_ADJACENT;
+        case 3: return ATTACK_VECTOR_LOCAL;
+        case 4: return ATTACK_VECTOR_PHYSICAL;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        AttackVector> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public AttackVector findValueByNumber(int number) {
+              return AttackVector.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public AttackVector findValueByNumber(int number) {
-            return AttackVector.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.osconfig.v1alpha.CVSSv3.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final AttackVector[] VALUES = values();
 
-    public static AttackVector valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static AttackVector valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -398,8 +349,6 @@ private AttackVector(int value) {
   }
 
   /**
-   *
-   *
    * 
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
@@ -407,10 +356,9 @@ private AttackVector(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity}
    */
-  public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AttackComplexity
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -419,8 +367,6 @@ public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum */ ATTACK_COMPLEXITY_UNSPECIFIED(0), /** - * - * *
      * Specialized access conditions or extenuating circumstances do not exist.
      * An attacker can expect repeatable success when attacking the vulnerable
@@ -431,8 +377,6 @@ public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum
      */
     ATTACK_COMPLEXITY_LOW(1),
     /**
-     *
-     *
      * 
      * A successful attack depends on conditions beyond the attacker's control.
      * That is, a successful attack cannot be accomplished at will, but requires
@@ -448,8 +392,6 @@ public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -458,8 +400,6 @@ public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum */ public static final int ATTACK_COMPLEXITY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Specialized access conditions or extenuating circumstances do not exist.
      * An attacker can expect repeatable success when attacking the vulnerable
@@ -470,8 +410,6 @@ public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int ATTACK_COMPLEXITY_LOW_VALUE = 1;
     /**
-     *
-     *
      * 
      * A successful attack depends on conditions beyond the attacker's control.
      * That is, a successful attack cannot be accomplished at will, but requires
@@ -484,6 +422,7 @@ public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int ATTACK_COMPLEXITY_HIGH_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -508,42 +447,39 @@ public static AttackComplexity valueOf(int value) {
      */
     public static AttackComplexity forNumber(int value) {
       switch (value) {
-        case 0:
-          return ATTACK_COMPLEXITY_UNSPECIFIED;
-        case 1:
-          return ATTACK_COMPLEXITY_LOW;
-        case 2:
-          return ATTACK_COMPLEXITY_HIGH;
-        default:
-          return null;
+        case 0: return ATTACK_COMPLEXITY_UNSPECIFIED;
+        case 1: return ATTACK_COMPLEXITY_LOW;
+        case 2: return ATTACK_COMPLEXITY_HIGH;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        AttackComplexity> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public AttackComplexity findValueByNumber(int number) {
+              return AttackComplexity.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public AttackComplexity findValueByNumber(int number) {
-                return AttackComplexity.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.osconfig.v1alpha.CVSSv3.getDescriptor().getEnumTypes().get(1);
     }
 
@@ -552,7 +488,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static AttackComplexity valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -570,8 +507,6 @@ private AttackComplexity(int value) {
   }
 
   /**
-   *
-   *
    * 
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
@@ -579,10 +514,9 @@ private AttackComplexity(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired}
    */
-  public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnum {
+  public enum PrivilegesRequired
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -591,8 +525,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu */ PRIVILEGES_REQUIRED_UNSPECIFIED(0), /** - * - * *
      * The attacker is unauthorized prior to attack, and therefore does not
      * require any access to settings or files of the vulnerable system to
@@ -603,8 +535,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu
      */
     PRIVILEGES_REQUIRED_NONE(1),
     /**
-     *
-     *
      * 
      * The attacker requires privileges that provide basic user capabilities
      * that could normally affect only settings and files owned by a user.
@@ -616,8 +546,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu
      */
     PRIVILEGES_REQUIRED_LOW(2),
     /**
-     *
-     *
      * 
      * The attacker requires privileges that provide significant (e.g.,
      * administrative) control over the vulnerable component allowing access to
@@ -631,8 +559,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -641,8 +567,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu */ public static final int PRIVILEGES_REQUIRED_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The attacker is unauthorized prior to attack, and therefore does not
      * require any access to settings or files of the vulnerable system to
@@ -653,8 +577,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu
      */
     public static final int PRIVILEGES_REQUIRED_NONE_VALUE = 1;
     /**
-     *
-     *
      * 
      * The attacker requires privileges that provide basic user capabilities
      * that could normally affect only settings and files owned by a user.
@@ -666,8 +588,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu
      */
     public static final int PRIVILEGES_REQUIRED_LOW_VALUE = 2;
     /**
-     *
-     *
      * 
      * The attacker requires privileges that provide significant (e.g.,
      * administrative) control over the vulnerable component allowing access to
@@ -678,6 +598,7 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu
      */
     public static final int PRIVILEGES_REQUIRED_HIGH_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -702,16 +623,11 @@ public static PrivilegesRequired valueOf(int value) {
      */
     public static PrivilegesRequired forNumber(int value) {
       switch (value) {
-        case 0:
-          return PRIVILEGES_REQUIRED_UNSPECIFIED;
-        case 1:
-          return PRIVILEGES_REQUIRED_NONE;
-        case 2:
-          return PRIVILEGES_REQUIRED_LOW;
-        case 3:
-          return PRIVILEGES_REQUIRED_HIGH;
-        default:
-          return null;
+        case 0: return PRIVILEGES_REQUIRED_UNSPECIFIED;
+        case 1: return PRIVILEGES_REQUIRED_NONE;
+        case 2: return PRIVILEGES_REQUIRED_LOW;
+        case 3: return PRIVILEGES_REQUIRED_HIGH;
+        default: return null;
       }
     }
 
@@ -719,28 +635,28 @@ public static PrivilegesRequired forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        PrivilegesRequired> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public PrivilegesRequired findValueByNumber(int number) {
+              return PrivilegesRequired.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public PrivilegesRequired findValueByNumber(int number) {
-                return PrivilegesRequired.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.osconfig.v1alpha.CVSSv3.getDescriptor().getEnumTypes().get(2);
     }
 
@@ -749,7 +665,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static PrivilegesRequired valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -767,8 +684,6 @@ private PrivilegesRequired(int value) {
   }
 
   /**
-   *
-   *
    * 
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -777,10 +692,9 @@ private PrivilegesRequired(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction}
    */
-  public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum {
+  public enum UserInteraction
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -789,8 +703,6 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum { */ USER_INTERACTION_UNSPECIFIED(0), /** - * - * *
      * The vulnerable system can be exploited without interaction from any user.
      * 
@@ -799,8 +711,6 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum { */ USER_INTERACTION_NONE(1), /** - * - * *
      * Successful exploitation of this vulnerability requires a user to take
      * some action before the vulnerability can be exploited.
@@ -813,8 +723,6 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -823,8 +731,6 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_INTERACTION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The vulnerable system can be exploited without interaction from any user.
      * 
@@ -833,8 +739,6 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_INTERACTION_NONE_VALUE = 1; /** - * - * *
      * Successful exploitation of this vulnerability requires a user to take
      * some action before the vulnerability can be exploited.
@@ -844,6 +748,7 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int USER_INTERACTION_REQUIRED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -868,42 +773,39 @@ public static UserInteraction valueOf(int value) {
      */
     public static UserInteraction forNumber(int value) {
       switch (value) {
-        case 0:
-          return USER_INTERACTION_UNSPECIFIED;
-        case 1:
-          return USER_INTERACTION_NONE;
-        case 2:
-          return USER_INTERACTION_REQUIRED;
-        default:
-          return null;
+        case 0: return USER_INTERACTION_UNSPECIFIED;
+        case 1: return USER_INTERACTION_NONE;
+        case 2: return USER_INTERACTION_REQUIRED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        UserInteraction> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public UserInteraction findValueByNumber(int number) {
+              return UserInteraction.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public UserInteraction findValueByNumber(int number) {
-                return UserInteraction.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.osconfig.v1alpha.CVSSv3.getDescriptor().getEnumTypes().get(3);
     }
 
@@ -912,7 +814,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static UserInteraction valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -930,8 +833,6 @@ private UserInteraction(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
@@ -939,10 +840,9 @@ private UserInteraction(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1alpha.CVSSv3.Scope}
    */
-  public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Scope
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -951,8 +851,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum { */ SCOPE_UNSPECIFIED(0), /** - * - * *
      * An exploited vulnerability can only affect resources managed by the same
      * security authority.
@@ -962,8 +860,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     SCOPE_UNCHANGED(1),
     /**
-     *
-     *
      * 
      * An exploited vulnerability can affect resources beyond the security scope
      * managed by the security authority of the vulnerable component.
@@ -976,8 +872,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -986,8 +880,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCOPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * An exploited vulnerability can only affect resources managed by the same
      * security authority.
@@ -997,8 +889,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SCOPE_UNCHANGED_VALUE = 1;
     /**
-     *
-     *
      * 
      * An exploited vulnerability can affect resources beyond the security scope
      * managed by the security authority of the vulnerable component.
@@ -1008,6 +898,7 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SCOPE_CHANGED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -1032,49 +923,49 @@ public static Scope valueOf(int value) {
      */
     public static Scope forNumber(int value) {
       switch (value) {
-        case 0:
-          return SCOPE_UNSPECIFIED;
-        case 1:
-          return SCOPE_UNCHANGED;
-        case 2:
-          return SCOPE_CHANGED;
-        default:
-          return null;
+        case 0: return SCOPE_UNSPECIFIED;
+        case 1: return SCOPE_UNCHANGED;
+        case 2: return SCOPE_CHANGED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Scope> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Scope findValueByNumber(int number) {
+              return Scope.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Scope findValueByNumber(int number) {
-            return Scope.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.osconfig.v1alpha.CVSSv3.getDescriptor().getEnumTypes().get(4);
     }
 
     private static final Scope[] VALUES = values();
 
-    public static Scope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Scope valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -1092,8 +983,6 @@ private Scope(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The Impact metrics capture the effects of a successfully exploited
    * vulnerability on the component that suffers the worst outcome that is most
@@ -1102,10 +991,9 @@ private Scope(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1alpha.CVSSv3.Impact}
    */
-  public enum Impact implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Impact
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -1114,8 +1002,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ IMPACT_UNSPECIFIED(0), /** - * - * *
      * High impact.
      * 
@@ -1124,8 +1010,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ IMPACT_HIGH(1), /** - * - * *
      * Low impact.
      * 
@@ -1134,8 +1018,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ IMPACT_LOW(2), /** - * - * *
      * No impact.
      * 
@@ -1147,8 +1029,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Invalid value.
      * 
@@ -1157,8 +1037,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPACT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * High impact.
      * 
@@ -1167,8 +1045,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPACT_HIGH_VALUE = 1; /** - * - * *
      * Low impact.
      * 
@@ -1177,8 +1053,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPACT_LOW_VALUE = 2; /** - * - * *
      * No impact.
      * 
@@ -1187,6 +1061,7 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPACT_NONE_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1211,51 +1086,50 @@ public static Impact valueOf(int value) { */ public static Impact forNumber(int value) { switch (value) { - case 0: - return IMPACT_UNSPECIFIED; - case 1: - return IMPACT_HIGH; - case 2: - return IMPACT_LOW; - case 3: - return IMPACT_NONE; - default: - return null; + case 0: return IMPACT_UNSPECIFIED; + case 1: return IMPACT_HIGH; + case 2: return IMPACT_LOW; + case 3: return IMPACT_NONE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Impact> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Impact findValueByNumber(int number) { + return Impact.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Impact findValueByNumber(int number) { - return Impact.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.osconfig.v1alpha.CVSSv3.getDescriptor().getEnumTypes().get(5); } private static final Impact[] VALUES = values(); - public static Impact valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Impact valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -1275,15 +1149,12 @@ private Impact(int value) { public static final int BASE_SCORE_FIELD_NUMBER = 1; private float baseScore_; /** - * - * *
    * The base score is a function of the base metric scores.
    * https://www.first.org/cvss/specification-document#Base-Metrics
    * 
* * float base_score = 1; - * * @return The baseScore. */ @java.lang.Override @@ -1294,8 +1165,6 @@ public float getBaseScore() { public static final int EXPLOITABILITY_SCORE_FIELD_NUMBER = 2; private float exploitabilityScore_; /** - * - * *
    * The Exploitability sub-score equation is derived from the Base
    * Exploitability metrics.
@@ -1303,7 +1172,6 @@ public float getBaseScore() {
    * 
* * float exploitability_score = 2; - * * @return The exploitabilityScore. */ @java.lang.Override @@ -1314,14 +1182,11 @@ public float getExploitabilityScore() { public static final int IMPACT_SCORE_FIELD_NUMBER = 3; private float impactScore_; /** - * - * *
    * The Impact sub-score equation is derived from the Base Impact metrics.
    * 
* * float impact_score = 3; - * * @return The impactScore. */ @java.lang.Override @@ -1332,128 +1197,93 @@ public float getImpactScore() { public static final int ATTACK_VECTOR_FIELD_NUMBER = 5; private int attackVector_; /** - * - * *
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5; - * * @return The enum numeric value on the wire for attackVector. */ - @java.lang.Override - public int getAttackVectorValue() { + @java.lang.Override public int getAttackVectorValue() { return attackVector_; } /** - * - * *
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5; - * * @return The attackVector. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector getAttackVector() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector getAttackVector() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector result = - com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.valueOf(attackVector_); - return result == null - ? com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector result = com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.valueOf(attackVector_); + return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.UNRECOGNIZED : result; } public static final int ATTACK_COMPLEXITY_FIELD_NUMBER = 6; private int attackComplexity_; /** - * - * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6; - * * @return The enum numeric value on the wire for attackComplexity. */ - @java.lang.Override - public int getAttackComplexityValue() { + @java.lang.Override public int getAttackComplexityValue() { return attackComplexity_; } /** - * - * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6; - * * @return The attackComplexity. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity getAttackComplexity() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity getAttackComplexity() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity result = - com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.valueOf(attackComplexity_); - return result == null - ? com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity result = com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.valueOf(attackComplexity_); + return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.UNRECOGNIZED : result; } public static final int PRIVILEGES_REQUIRED_FIELD_NUMBER = 7; private int privilegesRequired_; /** - * - * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; - * * @return The enum numeric value on the wire for privilegesRequired. */ - @java.lang.Override - public int getPrivilegesRequiredValue() { + @java.lang.Override public int getPrivilegesRequiredValue() { return privilegesRequired_; } /** - * - * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; - * * @return The privilegesRequired. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired getPrivilegesRequired() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired getPrivilegesRequired() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired result = - com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.valueOf(privilegesRequired_); - return result == null - ? com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired result = com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.valueOf(privilegesRequired_); + return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.UNRECOGNIZED : result; } public static final int USER_INTERACTION_FIELD_NUMBER = 8; private int userInteraction_; /** - * - * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -1461,16 +1291,12 @@ public com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired getPrivileges
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8; - * * @return The enum numeric value on the wire for userInteraction. */ - @java.lang.Override - public int getUserInteractionValue() { + @java.lang.Override public int getUserInteractionValue() { return userInteraction_; } /** - * - * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -1478,62 +1304,46 @@ public int getUserInteractionValue() {
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8; - * * @return The userInteraction. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction getUserInteraction() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction getUserInteraction() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction result = - com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.valueOf(userInteraction_); - return result == null - ? com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction result = com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.valueOf(userInteraction_); + return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.UNRECOGNIZED : result; } public static final int SCOPE_FIELD_NUMBER = 9; private int scope_; /** - * - * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9; - * * @return The scope. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.CVSSv3.Scope getScope() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.Scope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.Scope result = - com.google.cloud.osconfig.v1alpha.CVSSv3.Scope.valueOf(scope_); + com.google.cloud.osconfig.v1alpha.CVSSv3.Scope result = com.google.cloud.osconfig.v1alpha.CVSSv3.Scope.valueOf(scope_); return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.Scope.UNRECOGNIZED : result; } public static final int CONFIDENTIALITY_IMPACT_FIELD_NUMBER = 10; private int confidentialityImpact_; /** - * - * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -1541,16 +1351,12 @@ public com.google.cloud.osconfig.v1alpha.CVSSv3.Scope getScope() {
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10; - * * @return The enum numeric value on the wire for confidentialityImpact. */ - @java.lang.Override - public int getConfidentialityImpactValue() { + @java.lang.Override public int getConfidentialityImpactValue() { return confidentialityImpact_; } /** - * - * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -1558,95 +1364,73 @@ public int getConfidentialityImpactValue() {
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10; - * * @return The confidentialityImpact. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getConfidentialityImpact() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getConfidentialityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = - com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(confidentialityImpact_); + com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(confidentialityImpact_); return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.UNRECOGNIZED : result; } public static final int INTEGRITY_IMPACT_FIELD_NUMBER = 11; private int integrityImpact_; /** - * - * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11; - * * @return The enum numeric value on the wire for integrityImpact. */ - @java.lang.Override - public int getIntegrityImpactValue() { + @java.lang.Override public int getIntegrityImpactValue() { return integrityImpact_; } /** - * - * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11; - * * @return The integrityImpact. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getIntegrityImpact() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getIntegrityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = - com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(integrityImpact_); + com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(integrityImpact_); return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.UNRECOGNIZED : result; } public static final int AVAILABILITY_IMPACT_FIELD_NUMBER = 12; private int availabilityImpact_; /** - * - * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12; - * * @return The enum numeric value on the wire for availabilityImpact. */ - @java.lang.Override - public int getAvailabilityImpactValue() { + @java.lang.Override public int getAvailabilityImpactValue() { return availabilityImpact_; } /** - * - * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12; - * * @return The availabilityImpact. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getAvailabilityImpact() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getAvailabilityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = - com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(availabilityImpact_); + com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(availabilityImpact_); return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1658,7 +1442,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (java.lang.Float.floatToRawIntBits(baseScore_) != 0) { output.writeFloat(1, baseScore_); } @@ -1668,40 +1453,28 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (java.lang.Float.floatToRawIntBits(impactScore_) != 0) { output.writeFloat(3, impactScore_); } - if (attackVector_ - != com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED - .getNumber()) { + if (attackVector_ != com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED.getNumber()) { output.writeEnum(5, attackVector_); } - if (attackComplexity_ - != com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED - .getNumber()) { + if (attackComplexity_ != com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED.getNumber()) { output.writeEnum(6, attackComplexity_); } - if (privilegesRequired_ - != com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired - .PRIVILEGES_REQUIRED_UNSPECIFIED - .getNumber()) { + if (privilegesRequired_ != com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.PRIVILEGES_REQUIRED_UNSPECIFIED.getNumber()) { output.writeEnum(7, privilegesRequired_); } - if (userInteraction_ - != com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.USER_INTERACTION_UNSPECIFIED - .getNumber()) { + if (userInteraction_ != com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.USER_INTERACTION_UNSPECIFIED.getNumber()) { output.writeEnum(8, userInteraction_); } if (scope_ != com.google.cloud.osconfig.v1alpha.CVSSv3.Scope.SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(9, scope_); } - if (confidentialityImpact_ - != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + if (confidentialityImpact_ != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { output.writeEnum(10, confidentialityImpact_); } - if (integrityImpact_ - != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + if (integrityImpact_ != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { output.writeEnum(11, integrityImpact_); } - if (availabilityImpact_ - != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + if (availabilityImpact_ != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { output.writeEnum(12, availabilityImpact_); } unknownFields.writeTo(output); @@ -1714,49 +1487,48 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(baseScore_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, baseScore_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, baseScore_); } if (java.lang.Float.floatToRawIntBits(exploitabilityScore_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, exploitabilityScore_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, exploitabilityScore_); } if (java.lang.Float.floatToRawIntBits(impactScore_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, impactScore_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, impactScore_); } - if (attackVector_ - != com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, attackVector_); + if (attackVector_ != com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, attackVector_); } - if (attackComplexity_ - != com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, attackComplexity_); + if (attackComplexity_ != com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, attackComplexity_); } - if (privilegesRequired_ - != com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired - .PRIVILEGES_REQUIRED_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, privilegesRequired_); + if (privilegesRequired_ != com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.PRIVILEGES_REQUIRED_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, privilegesRequired_); } - if (userInteraction_ - != com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.USER_INTERACTION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, userInteraction_); + if (userInteraction_ != com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.USER_INTERACTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, userInteraction_); } if (scope_ != com.google.cloud.osconfig.v1alpha.CVSSv3.Scope.SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, scope_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, scope_); } - if (confidentialityImpact_ - != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, confidentialityImpact_); + if (confidentialityImpact_ != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, confidentialityImpact_); } - if (integrityImpact_ - != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, integrityImpact_); + if (integrityImpact_ != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, integrityImpact_); } - if (availabilityImpact_ - != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, availabilityImpact_); + if (availabilityImpact_ != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(12, availabilityImpact_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1766,7 +1538,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.CVSSv3)) { return super.equals(obj); @@ -1774,11 +1546,14 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.osconfig.v1alpha.CVSSv3 other = (com.google.cloud.osconfig.v1alpha.CVSSv3) obj; if (java.lang.Float.floatToIntBits(getBaseScore()) - != java.lang.Float.floatToIntBits(other.getBaseScore())) return false; + != java.lang.Float.floatToIntBits( + other.getBaseScore())) return false; if (java.lang.Float.floatToIntBits(getExploitabilityScore()) - != java.lang.Float.floatToIntBits(other.getExploitabilityScore())) return false; + != java.lang.Float.floatToIntBits( + other.getExploitabilityScore())) return false; if (java.lang.Float.floatToIntBits(getImpactScore()) - != java.lang.Float.floatToIntBits(other.getImpactScore())) return false; + != java.lang.Float.floatToIntBits( + other.getImpactScore())) return false; if (attackVector_ != other.attackVector_) return false; if (attackComplexity_ != other.attackComplexity_) return false; if (privilegesRequired_ != other.privilegesRequired_) return false; @@ -1799,11 +1574,14 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + BASE_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getBaseScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getBaseScore()); hash = (37 * hash) + EXPLOITABILITY_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getExploitabilityScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getExploitabilityScore()); hash = (37 * hash) + IMPACT_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getImpactScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getImpactScore()); hash = (37 * hash) + ATTACK_VECTOR_FIELD_NUMBER; hash = (53 * hash) + attackVector_; hash = (37 * hash) + ATTACK_COMPLEXITY_FIELD_NUMBER; @@ -1825,104 +1603,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.CVSSv3 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.osconfig.v1alpha.CVSSv3 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.CVSSv3 prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Common Vulnerability Scoring System version 3.
    * For details, see https://www.first.org/cvss/specification-document
@@ -1930,23 +1701,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.CVSSv3}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.CVSSv3)
       com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1alpha_CVSSv3_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_CVSSv3_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.CVSSv3.class,
-              com.google.cloud.osconfig.v1alpha.CVSSv3.Builder.class);
+              com.google.cloud.osconfig.v1alpha.CVSSv3.class, com.google.cloud.osconfig.v1alpha.CVSSv3.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1alpha.CVSSv3.newBuilder()
@@ -1954,15 +1723,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1992,9 +1762,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor;
     }
 
     @java.lang.Override
@@ -2013,8 +1783,7 @@ public com.google.cloud.osconfig.v1alpha.CVSSv3 build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.CVSSv3 buildPartial() {
-      com.google.cloud.osconfig.v1alpha.CVSSv3 result =
-          new com.google.cloud.osconfig.v1alpha.CVSSv3(this);
+      com.google.cloud.osconfig.v1alpha.CVSSv3 result = new com.google.cloud.osconfig.v1alpha.CVSSv3(this);
       result.baseScore_ = baseScore_;
       result.exploitabilityScore_ = exploitabilityScore_;
       result.impactScore_ = impactScore_;
@@ -2034,39 +1803,38 @@ public com.google.cloud.osconfig.v1alpha.CVSSv3 buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.CVSSv3) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.CVSSv3) other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.CVSSv3)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2137,17 +1905,14 @@ public Builder mergeFrom(
       return this;
     }
 
-    private float baseScore_;
+    private float baseScore_ ;
     /**
-     *
-     *
      * 
      * The base score is a function of the base metric scores.
      * https://www.first.org/cvss/specification-document#Base-Metrics
      * 
* * float base_score = 1; - * * @return The baseScore. */ @java.lang.Override @@ -2155,47 +1920,39 @@ public float getBaseScore() { return baseScore_; } /** - * - * *
      * The base score is a function of the base metric scores.
      * https://www.first.org/cvss/specification-document#Base-Metrics
      * 
* * float base_score = 1; - * * @param value The baseScore to set. * @return This builder for chaining. */ public Builder setBaseScore(float value) { - + baseScore_ = value; onChanged(); return this; } /** - * - * *
      * The base score is a function of the base metric scores.
      * https://www.first.org/cvss/specification-document#Base-Metrics
      * 
* * float base_score = 1; - * * @return This builder for chaining. */ public Builder clearBaseScore() { - + baseScore_ = 0F; onChanged(); return this; } - private float exploitabilityScore_; + private float exploitabilityScore_ ; /** - * - * *
      * The Exploitability sub-score equation is derived from the Base
      * Exploitability metrics.
@@ -2203,7 +1960,6 @@ public Builder clearBaseScore() {
      * 
* * float exploitability_score = 2; - * * @return The exploitabilityScore. */ @java.lang.Override @@ -2211,8 +1967,6 @@ public float getExploitabilityScore() { return exploitabilityScore_; } /** - * - * *
      * The Exploitability sub-score equation is derived from the Base
      * Exploitability metrics.
@@ -2220,19 +1974,16 @@ public float getExploitabilityScore() {
      * 
* * float exploitability_score = 2; - * * @param value The exploitabilityScore to set. * @return This builder for chaining. */ public Builder setExploitabilityScore(float value) { - + exploitabilityScore_ = value; onChanged(); return this; } /** - * - * *
      * The Exploitability sub-score equation is derived from the Base
      * Exploitability metrics.
@@ -2240,26 +1991,22 @@ public Builder setExploitabilityScore(float value) {
      * 
* * float exploitability_score = 2; - * * @return This builder for chaining. */ public Builder clearExploitabilityScore() { - + exploitabilityScore_ = 0F; onChanged(); return this; } - private float impactScore_; + private float impactScore_ ; /** - * - * *
      * The Impact sub-score equation is derived from the Base Impact metrics.
      * 
* * float impact_score = 3; - * * @return The impactScore. */ @java.lang.Override @@ -2267,36 +2014,30 @@ public float getImpactScore() { return impactScore_; } /** - * - * *
      * The Impact sub-score equation is derived from the Base Impact metrics.
      * 
* * float impact_score = 3; - * * @param value The impactScore to set. * @return This builder for chaining. */ public Builder setImpactScore(float value) { - + impactScore_ = value; onChanged(); return this; } /** - * - * *
      * The Impact sub-score equation is derived from the Base Impact metrics.
      * 
* * float impact_score = 3; - * * @return This builder for chaining. */ public Builder clearImpactScore() { - + impactScore_ = 0F; onChanged(); return this; @@ -2304,71 +2045,55 @@ public Builder clearImpactScore() { private int attackVector_ = 0; /** - * - * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5; - * * @return The enum numeric value on the wire for attackVector. */ - @java.lang.Override - public int getAttackVectorValue() { + @java.lang.Override public int getAttackVectorValue() { return attackVector_; } /** - * - * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5; - * * @param value The enum numeric value on the wire for attackVector to set. * @return This builder for chaining. */ public Builder setAttackVectorValue(int value) { - + attackVector_ = value; onChanged(); return this; } /** - * - * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5; - * * @return The attackVector. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector getAttackVector() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector result = - com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.valueOf(attackVector_); - return result == null - ? com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector result = com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.valueOf(attackVector_); + return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.UNRECOGNIZED : result; } /** - * - * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5; - * * @param value The attackVector to set. * @return This builder for chaining. */ @@ -2376,25 +2101,22 @@ public Builder setAttackVector(com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVe if (value == null) { throw new NullPointerException(); } - + attackVector_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5; - * * @return This builder for chaining. */ public Builder clearAttackVector() { - + attackVector_ = 0; onChanged(); return this; @@ -2402,98 +2124,78 @@ public Builder clearAttackVector() { private int attackComplexity_ = 0; /** - * - * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6; - * * @return The enum numeric value on the wire for attackComplexity. */ - @java.lang.Override - public int getAttackComplexityValue() { + @java.lang.Override public int getAttackComplexityValue() { return attackComplexity_; } /** - * - * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6; - * * @param value The enum numeric value on the wire for attackComplexity to set. * @return This builder for chaining. */ public Builder setAttackComplexityValue(int value) { - + attackComplexity_ = value; onChanged(); return this; } /** - * - * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6; - * * @return The attackComplexity. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity getAttackComplexity() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity result = - com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.valueOf(attackComplexity_); - return result == null - ? com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity result = com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.valueOf(attackComplexity_); + return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.UNRECOGNIZED : result; } /** - * - * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6; - * * @param value The attackComplexity to set. * @return This builder for chaining. */ - public Builder setAttackComplexity( - com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity value) { + public Builder setAttackComplexity(com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity value) { if (value == null) { throw new NullPointerException(); } - + attackComplexity_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6; - * * @return This builder for chaining. */ public Builder clearAttackComplexity() { - + attackComplexity_ = 0; onChanged(); return this; @@ -2501,103 +2203,78 @@ public Builder clearAttackComplexity() { private int privilegesRequired_ = 0; /** - * - * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* - * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; - * - * + * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; * @return The enum numeric value on the wire for privilegesRequired. */ - @java.lang.Override - public int getPrivilegesRequiredValue() { + @java.lang.Override public int getPrivilegesRequiredValue() { return privilegesRequired_; } /** - * - * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* - * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; - * - * + * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; * @param value The enum numeric value on the wire for privilegesRequired to set. * @return This builder for chaining. */ public Builder setPrivilegesRequiredValue(int value) { - + privilegesRequired_ = value; onChanged(); return this; } /** - * - * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* - * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; - * - * + * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; * @return The privilegesRequired. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired getPrivilegesRequired() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired result = - com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.valueOf(privilegesRequired_); - return result == null - ? com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired result = com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.valueOf(privilegesRequired_); + return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.UNRECOGNIZED : result; } /** - * - * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* - * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; - * - * + * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; * @param value The privilegesRequired to set. * @return This builder for chaining. */ - public Builder setPrivilegesRequired( - com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired value) { + public Builder setPrivilegesRequired(com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired value) { if (value == null) { throw new NullPointerException(); } - + privilegesRequired_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* - * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; - * - * + * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; * @return This builder for chaining. */ public Builder clearPrivilegesRequired() { - + privilegesRequired_ = 0; onChanged(); return this; @@ -2605,8 +2282,6 @@ public Builder clearPrivilegesRequired() { private int userInteraction_ = 0; /** - * - * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2614,16 +2289,12 @@ public Builder clearPrivilegesRequired() {
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8; - * * @return The enum numeric value on the wire for userInteraction. */ - @java.lang.Override - public int getUserInteractionValue() { + @java.lang.Override public int getUserInteractionValue() { return userInteraction_; } /** - * - * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2631,19 +2302,16 @@ public int getUserInteractionValue() {
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8; - * * @param value The enum numeric value on the wire for userInteraction to set. * @return This builder for chaining. */ public Builder setUserInteractionValue(int value) { - + userInteraction_ = value; onChanged(); return this; } /** - * - * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2651,21 +2319,15 @@ public Builder setUserInteractionValue(int value) {
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8; - * * @return The userInteraction. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction getUserInteraction() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction result = - com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.valueOf(userInteraction_); - return result == null - ? com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction result = com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.valueOf(userInteraction_); + return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.UNRECOGNIZED : result; } /** - * - * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2673,23 +2335,19 @@ public com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction getUserInteracti
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8; - * * @param value The userInteraction to set. * @return This builder for chaining. */ - public Builder setUserInteraction( - com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction value) { + public Builder setUserInteraction(com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction value) { if (value == null) { throw new NullPointerException(); } - + userInteraction_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2697,11 +2355,10 @@ public Builder setUserInteraction(
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8; - * * @return This builder for chaining. */ public Builder clearUserInteraction() { - + userInteraction_ = 0; onChanged(); return this; @@ -2709,69 +2366,55 @@ public Builder clearUserInteraction() { private int scope_ = 0; /** - * - * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9; - * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); return this; } /** - * - * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9; - * * @return The scope. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.Scope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.Scope result = - com.google.cloud.osconfig.v1alpha.CVSSv3.Scope.valueOf(scope_); + com.google.cloud.osconfig.v1alpha.CVSSv3.Scope result = com.google.cloud.osconfig.v1alpha.CVSSv3.Scope.valueOf(scope_); return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.Scope.UNRECOGNIZED : result; } /** - * - * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9; - * * @param value The scope to set. * @return This builder for chaining. */ @@ -2779,25 +2422,22 @@ public Builder setScope(com.google.cloud.osconfig.v1alpha.CVSSv3.Scope value) { if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = 0; onChanged(); return this; @@ -2805,8 +2445,6 @@ public Builder clearScope() { private int confidentialityImpact_ = 0; /** - * - * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2814,16 +2452,12 @@ public Builder clearScope() {
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10; - * * @return The enum numeric value on the wire for confidentialityImpact. */ - @java.lang.Override - public int getConfidentialityImpactValue() { + @java.lang.Override public int getConfidentialityImpactValue() { return confidentialityImpact_; } /** - * - * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2831,19 +2465,16 @@ public int getConfidentialityImpactValue() {
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10; - * * @param value The enum numeric value on the wire for confidentialityImpact to set. * @return This builder for chaining. */ public Builder setConfidentialityImpactValue(int value) { - + confidentialityImpact_ = value; onChanged(); return this; } /** - * - * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2851,19 +2482,15 @@ public Builder setConfidentialityImpactValue(int value) {
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10; - * * @return The confidentialityImpact. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getConfidentialityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = - com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(confidentialityImpact_); + com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(confidentialityImpact_); return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.UNRECOGNIZED : result; } /** - * - * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2871,7 +2498,6 @@ public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getConfidentialityImpact(
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10; - * * @param value The confidentialityImpact to set. * @return This builder for chaining. */ @@ -2879,14 +2505,12 @@ public Builder setConfidentialityImpact(com.google.cloud.osconfig.v1alpha.CVSSv3 if (value == null) { throw new NullPointerException(); } - + confidentialityImpact_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2894,11 +2518,10 @@ public Builder setConfidentialityImpact(com.google.cloud.osconfig.v1alpha.CVSSv3
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10; - * * @return This builder for chaining. */ public Builder clearConfidentialityImpact() { - + confidentialityImpact_ = 0; onChanged(); return this; @@ -2906,69 +2529,55 @@ public Builder clearConfidentialityImpact() { private int integrityImpact_ = 0; /** - * - * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11; - * * @return The enum numeric value on the wire for integrityImpact. */ - @java.lang.Override - public int getIntegrityImpactValue() { + @java.lang.Override public int getIntegrityImpactValue() { return integrityImpact_; } /** - * - * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11; - * * @param value The enum numeric value on the wire for integrityImpact to set. * @return This builder for chaining. */ public Builder setIntegrityImpactValue(int value) { - + integrityImpact_ = value; onChanged(); return this; } /** - * - * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11; - * * @return The integrityImpact. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getIntegrityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = - com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(integrityImpact_); + com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(integrityImpact_); return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.UNRECOGNIZED : result; } /** - * - * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11; - * * @param value The integrityImpact to set. * @return This builder for chaining. */ @@ -2976,25 +2585,22 @@ public Builder setIntegrityImpact(com.google.cloud.osconfig.v1alpha.CVSSv3.Impac if (value == null) { throw new NullPointerException(); } - + integrityImpact_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11; - * * @return This builder for chaining. */ public Builder clearIntegrityImpact() { - + integrityImpact_ = 0; onChanged(); return this; @@ -3002,69 +2608,55 @@ public Builder clearIntegrityImpact() { private int availabilityImpact_ = 0; /** - * - * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12; - * * @return The enum numeric value on the wire for availabilityImpact. */ - @java.lang.Override - public int getAvailabilityImpactValue() { + @java.lang.Override public int getAvailabilityImpactValue() { return availabilityImpact_; } /** - * - * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12; - * * @param value The enum numeric value on the wire for availabilityImpact to set. * @return This builder for chaining. */ public Builder setAvailabilityImpactValue(int value) { - + availabilityImpact_ = value; onChanged(); return this; } /** - * - * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12; - * * @return The availabilityImpact. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getAvailabilityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = - com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(availabilityImpact_); + com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(availabilityImpact_); return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.UNRECOGNIZED : result; } /** - * - * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12; - * * @param value The availabilityImpact to set. * @return This builder for chaining. */ @@ -3072,32 +2664,29 @@ public Builder setAvailabilityImpact(com.google.cloud.osconfig.v1alpha.CVSSv3.Im if (value == null) { throw new NullPointerException(); } - + availabilityImpact_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12; - * * @return This builder for chaining. */ public Builder clearAvailabilityImpact() { - + availabilityImpact_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3107,12 +2696,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.CVSSv3) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.CVSSv3) private static final com.google.cloud.osconfig.v1alpha.CVSSv3 DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.CVSSv3(); } @@ -3121,16 +2710,16 @@ public static com.google.cloud.osconfig.v1alpha.CVSSv3 getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CVSSv3 parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CVSSv3(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CVSSv3 parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CVSSv3(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3145,4 +2734,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.CVSSv3 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3OrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3OrBuilder.java similarity index 88% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3OrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3OrBuilder.java index fa2deb07..6a879678 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3OrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3OrBuilder.java @@ -1,45 +1,24 @@ -/* - * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; -public interface CVSSv3OrBuilder - extends +public interface CVSSv3OrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.CVSSv3) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The base score is a function of the base metric scores.
    * https://www.first.org/cvss/specification-document#Base-Metrics
    * 
* * float base_score = 1; - * * @return The baseScore. */ float getBaseScore(); /** - * - * *
    * The Exploitability sub-score equation is derived from the Base
    * Exploitability metrics.
@@ -47,108 +26,84 @@ public interface CVSSv3OrBuilder
    * 
* * float exploitability_score = 2; - * * @return The exploitabilityScore. */ float getExploitabilityScore(); /** - * - * *
    * The Impact sub-score equation is derived from the Base Impact metrics.
    * 
* * float impact_score = 3; - * * @return The impactScore. */ float getImpactScore(); /** - * - * *
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5; - * * @return The enum numeric value on the wire for attackVector. */ int getAttackVectorValue(); /** - * - * *
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5; - * * @return The attackVector. */ com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector getAttackVector(); /** - * - * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6; - * * @return The enum numeric value on the wire for attackComplexity. */ int getAttackComplexityValue(); /** - * - * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6; - * * @return The attackComplexity. */ com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity getAttackComplexity(); /** - * - * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; - * * @return The enum numeric value on the wire for privilegesRequired. */ int getPrivilegesRequiredValue(); /** - * - * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; - * * @return The privilegesRequired. */ com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired getPrivilegesRequired(); /** - * - * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -156,13 +111,10 @@ public interface CVSSv3OrBuilder
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8; - * * @return The enum numeric value on the wire for userInteraction. */ int getUserInteractionValue(); /** - * - * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -170,41 +122,32 @@ public interface CVSSv3OrBuilder
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8; - * * @return The userInteraction. */ com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction getUserInteraction(); /** - * - * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9; - * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** - * - * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9; - * * @return The scope. */ com.google.cloud.osconfig.v1alpha.CVSSv3.Scope getScope(); /** - * - * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -212,13 +155,10 @@ public interface CVSSv3OrBuilder
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10; - * * @return The enum numeric value on the wire for confidentialityImpact. */ int getConfidentialityImpactValue(); /** - * - * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -226,61 +166,48 @@ public interface CVSSv3OrBuilder
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10; - * * @return The confidentialityImpact. */ com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getConfidentialityImpact(); /** - * - * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11; - * * @return The enum numeric value on the wire for integrityImpact. */ int getIntegrityImpactValue(); /** - * - * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11; - * * @return The integrityImpact. */ com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getIntegrityImpact(); /** - * - * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12; - * * @return The enum numeric value on the wire for availabilityImpact. */ int getAvailabilityImpactValue(); /** - * - * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12; - * * @return The availabilityImpact. */ com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getAvailabilityImpact(); diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java new file mode 100644 index 00000000..a397aedb --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/osconfig/v1alpha/osconfig_common.proto + +package com.google.cloud.osconfig.v1alpha; + +public final class Common { + private Common() {} + 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_osconfig_v1alpha_FixedOrPercent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_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/osconfig/v1alpha/osconfig" + + "_common.proto\022\035google.cloud.osconfig.v1a" + + "lpha\032\034google/api/annotations.proto\"<\n\016Fi" + + "xedOrPercent\022\017\n\005fixed\030\001 \001(\005H\000\022\021\n\007percent" + + "\030\002 \001(\005H\000B\006\n\004modeB\327\001\n!com.google.cloud.os" + + "config.v1alphaB\006CommonP\001ZEgoogle.golang." + + "org/genproto/googleapis/cloud/osconfig/v" + + "1alpha;osconfig\252\002\035Google.Cloud.OsConfig." + + "V1Alpha\312\002\035Google\\Cloud\\OsConfig\\V1alpha\352" + + "\002 Google::Cloud::OsConfig::V1alphab\006prot" + + "o3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor, + new java.lang.String[] { "Fixed", "Percent", "Mode", }); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java new file mode 100644 index 00000000..b4f7edf6 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java @@ -0,0 +1,103 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/osconfig/v1alpha/config_common.proto + +package com.google.cloud.osconfig.v1alpha; + +public final class ConfigCommonProto { + private ConfigCommonProto() {} + 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_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/osconfig/v1alpha/config_c" + + "ommon.proto\022\035google.cloud.osconfig.v1alp" + + "ha\032\034google/api/annotations.proto\"\261\003\n\032OSP" + + "olicyResourceConfigStep\022L\n\004type\030\001 \001(\0162>." + + "google.cloud.osconfig.v1alpha.OSPolicyRe" + + "sourceConfigStep.Type\022R\n\007outcome\030\002 \001(\0162A" + + ".google.cloud.osconfig.v1alpha.OSPolicyR" + + "esourceConfigStep.Outcome\022\025\n\rerror_messa" + + "ge\030\003 \001(\t\"\222\001\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022" + + "\016\n\nVALIDATION\020\001\022\027\n\023DESIRED_STATE_CHECK\020\002" + + "\022\035\n\031DESIRED_STATE_ENFORCEMENT\020\003\022(\n$DESIR" + + "ED_STATE_CHECK_POST_ENFORCEMENT\020\004\032\002\030\001\"A\n" + + "\007Outcome\022\027\n\023OUTCOME_UNSPECIFIED\020\000\022\r\n\tSUC" + + "CEEDED\020\001\022\n\n\006FAILED\020\002\032\002\030\001:\002\030\001\"\205\003\n\032OSPolic" + + "yResourceCompliance\022\035\n\025os_policy_resourc" + + "e_id\030\001 \001(\t\022O\n\014config_steps\030\002 \003(\01329.googl" + + "e.cloud.osconfig.v1alpha.OSPolicyResourc" + + "eConfigStep\022E\n\005state\030\003 \001(\01626.google.clou" + + "d.osconfig.v1alpha.OSPolicyComplianceSta" + + "te\022l\n\024exec_resource_output\030\004 \001(\0132L.googl" + + "e.cloud.osconfig.v1alpha.OSPolicyResourc" + + "eCompliance.ExecResourceOutputH\000\0324\n\022Exec" + + "ResourceOutput\022\032\n\022enforcement_output\030\002 \001" + + "(\014:\002\030\001:\002\030\001B\010\n\006output*\227\001\n\027OSPolicyComplia" + + "nceState\022*\n&OS_POLICY_COMPLIANCE_STATE_U" + + "NSPECIFIED\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n\rNON_COMPL" + + "IANT\020\002\022\013\n\007UNKNOWN\020\003\022\035\n\031NO_OS_POLICIES_AP" + + "PLICABLE\020\004\032\002\030\001B\342\001\n!com.google.cloud.osco" + + "nfig.v1alphaB\021ConfigCommonProtoP\001ZEgoogl" + + "e.golang.org/genproto/googleapis/cloud/o" + + "sconfig/v1alpha;osconfig\252\002\035Google.Cloud." + + "OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsConfig" + + "\\V1alpha\352\002 Google::Cloud::OsConfig::V1al" + + "phab\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor, + new java.lang.String[] { "Type", "Outcome", "ErrorMessage", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor, + new java.lang.String[] { "OsPolicyResourceId", "ConfigSteps", "State", "ExecResourceOutput", "Output", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor, + new java.lang.String[] { "EnforcementOutput", }); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequest.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequest.java similarity index 64% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequest.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequest.java index 5ab234d9..b6e787cb 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequest.java @@ -1,43 +1,24 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * A request message to create an OS policy assignment
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest} */ -public final class CreateOSPolicyAssignmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateOSPolicyAssignmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) CreateOSPolicyAssignmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateOSPolicyAssignmentRequest.newBuilder() to construct. - private CreateOSPolicyAssignmentRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateOSPolicyAssignmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateOSPolicyAssignmentRequest() { parent_ = ""; osPolicyAssignmentId_ = ""; @@ -45,15 +26,16 @@ private CreateOSPolicyAssignmentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateOSPolicyAssignmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateOSPolicyAssignmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,44 +54,38 @@ private CreateOSPolicyAssignmentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder subBuilder = null; + if (osPolicyAssignment_ != null) { + subBuilder = osPolicyAssignment_.toBuilder(); } - case 18: - { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder subBuilder = null; - if (osPolicyAssignment_ != null) { - subBuilder = osPolicyAssignment_.toBuilder(); - } - osPolicyAssignment_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(osPolicyAssignment_); - osPolicyAssignment_ = subBuilder.buildPartial(); - } - - break; + osPolicyAssignment_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(osPolicyAssignment_); + osPolicyAssignment_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - osPolicyAssignmentId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + osPolicyAssignmentId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,42 +93,35 @@ private CreateOSPolicyAssignmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.class, - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource name in the form:
    * projects/{project}/locations/{location}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -161,32 +130,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource name in the form:
    * projects/{project}/locations/{location}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -197,16 +164,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1alpha.OSPolicyAssignment osPolicyAssignment_; /** - * - * *
    * Required. The OS policy assignment to be created.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the osPolicyAssignment field is set. */ @java.lang.Override @@ -214,46 +176,32 @@ public boolean hasOsPolicyAssignment() { return osPolicyAssignment_ != null; } /** - * - * *
    * Required. The OS policy assignment to be created.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The osPolicyAssignment. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignment() { - return osPolicyAssignment_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() - : osPolicyAssignment_; + return osPolicyAssignment_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; } /** - * - * *
    * Required. The OS policy assignment to be created.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder - getOsPolicyAssignmentOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder() { return getOsPolicyAssignment(); } public static final int OS_POLICY_ASSIGNMENT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object osPolicyAssignmentId_; /** - * - * *
    * Required. The logical name of the OS policy assignment in the project
    * with the following restrictions:
@@ -265,7 +213,6 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignmen
    * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The osPolicyAssignmentId. */ @java.lang.Override @@ -274,15 +221,14 @@ public java.lang.String getOsPolicyAssignmentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignmentId_ = s; return s; } } /** - * - * *
    * Required. The logical name of the OS policy assignment in the project
    * with the following restrictions:
@@ -294,15 +240,16 @@ public java.lang.String getOsPolicyAssignmentId() {
    * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for osPolicyAssignmentId. */ @java.lang.Override - public com.google.protobuf.ByteString getOsPolicyAssignmentIdBytes() { + public com.google.protobuf.ByteString + getOsPolicyAssignmentIdBytes() { java.lang.Object ref = osPolicyAssignmentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyAssignmentId_ = b; return b; } else { @@ -311,7 +258,6 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -323,7 +269,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -346,7 +293,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (osPolicyAssignment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOsPolicyAssignment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOsPolicyAssignment()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyAssignmentId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, osPolicyAssignmentId_); @@ -359,20 +307,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest other = - (com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) obj; + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest other = (com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasOsPolicyAssignment() != other.hasOsPolicyAssignment()) return false; if (hasOsPolicyAssignment()) { - if (!getOsPolicyAssignment().equals(other.getOsPolicyAssignment())) return false; + if (!getOsPolicyAssignment() + .equals(other.getOsPolicyAssignment())) return false; } - if (!getOsPolicyAssignmentId().equals(other.getOsPolicyAssignmentId())) return false; + if (!getOsPolicyAssignmentId() + .equals(other.getOsPolicyAssignmentId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -398,145 +348,134 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest 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.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest - 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.osconfig.v1alpha.CreateOSPolicyAssignmentRequest 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.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message to create an OS policy assignment
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.class, - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -554,14 +493,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.getDefaultInstance(); } @@ -576,8 +514,7 @@ public com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest build() @java.lang.Override public com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest result = - new com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest(this); + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest result = new com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest(this); result.parent_ = parent_; if (osPolicyAssignmentBuilder_ == null) { result.osPolicyAssignment_ = osPolicyAssignment_; @@ -593,50 +530,46 @@ public com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest other) { - if (other - == com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest other) { + if (other == com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -667,9 +600,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -681,23 +612,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -706,24 +633,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -731,70 +655,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -802,61 +713,41 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.osconfig.v1alpha.OSPolicyAssignment osPolicyAssignment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> - osPolicyAssignmentBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> osPolicyAssignmentBuilder_; /** - * - * *
      * Required. The OS policy assignment to be created.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the osPolicyAssignment field is set. */ public boolean hasOsPolicyAssignment() { return osPolicyAssignmentBuilder_ != null || osPolicyAssignment_ != null; } /** - * - * *
      * Required. The OS policy assignment to be created.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The osPolicyAssignment. */ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignment() { if (osPolicyAssignmentBuilder_ == null) { - return osPolicyAssignment_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() - : osPolicyAssignment_; + return osPolicyAssignment_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; } else { return osPolicyAssignmentBuilder_.getMessage(); } } /** - * - * *
      * Required. The OS policy assignment to be created.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setOsPolicyAssignment( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { + public Builder setOsPolicyAssignment(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { if (osPolicyAssignmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -870,15 +761,11 @@ public Builder setOsPolicyAssignment( return this; } /** - * - * *
      * Required. The OS policy assignment to be created.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOsPolicyAssignment( com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder builderForValue) { @@ -892,24 +779,17 @@ public Builder setOsPolicyAssignment( return this; } /** - * - * *
      * Required. The OS policy assignment to be created.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeOsPolicyAssignment( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { + public Builder mergeOsPolicyAssignment(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { if (osPolicyAssignmentBuilder_ == null) { if (osPolicyAssignment_ != null) { osPolicyAssignment_ = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.newBuilder(osPolicyAssignment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.newBuilder(osPolicyAssignment_).mergeFrom(value).buildPartial(); } else { osPolicyAssignment_ = value; } @@ -921,15 +801,11 @@ public Builder mergeOsPolicyAssignment( return this; } /** - * - * *
      * Required. The OS policy assignment to be created.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOsPolicyAssignment() { if (osPolicyAssignmentBuilder_ == null) { @@ -943,66 +819,48 @@ public Builder clearOsPolicyAssignment() { return this; } /** - * - * *
      * Required. The OS policy assignment to be created.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder - getOsPolicyAssignmentBuilder() { - + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder getOsPolicyAssignmentBuilder() { + onChanged(); return getOsPolicyAssignmentFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The OS policy assignment to be created.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder - getOsPolicyAssignmentOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder() { if (osPolicyAssignmentBuilder_ != null) { return osPolicyAssignmentBuilder_.getMessageOrBuilder(); } else { - return osPolicyAssignment_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() - : osPolicyAssignment_; + return osPolicyAssignment_ == null ? + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; } } /** - * - * *
      * Required. The OS policy assignment to be created.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentFieldBuilder() { if (osPolicyAssignmentBuilder_ == null) { - osPolicyAssignmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder>( - getOsPolicyAssignment(), getParentForChildren(), isClean()); + osPolicyAssignmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder>( + getOsPolicyAssignment(), + getParentForChildren(), + isClean()); osPolicyAssignment_ = null; } return osPolicyAssignmentBuilder_; @@ -1010,8 +868,6 @@ public Builder clearOsPolicyAssignment() { private java.lang.Object osPolicyAssignmentId_ = ""; /** - * - * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -1023,13 +879,13 @@ public Builder clearOsPolicyAssignment() {
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The osPolicyAssignmentId. */ public java.lang.String getOsPolicyAssignmentId() { java.lang.Object ref = osPolicyAssignmentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignmentId_ = s; return s; @@ -1038,8 +894,6 @@ public java.lang.String getOsPolicyAssignmentId() { } } /** - * - * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -1051,14 +905,15 @@ public java.lang.String getOsPolicyAssignmentId() {
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for osPolicyAssignmentId. */ - public com.google.protobuf.ByteString getOsPolicyAssignmentIdBytes() { + public com.google.protobuf.ByteString + getOsPolicyAssignmentIdBytes() { java.lang.Object ref = osPolicyAssignmentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyAssignmentId_ = b; return b; } else { @@ -1066,8 +921,6 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentIdBytes() { } } /** - * - * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -1079,22 +932,20 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentIdBytes() {
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The osPolicyAssignmentId to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignmentId(java.lang.String value) { + public Builder setOsPolicyAssignmentId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyAssignmentId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -1106,18 +957,15 @@ public Builder setOsPolicyAssignmentId(java.lang.String value) {
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearOsPolicyAssignmentId() { - + osPolicyAssignmentId_ = getDefaultInstance().getOsPolicyAssignmentId(); onChanged(); return this; } /** - * - * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -1129,23 +977,23 @@ public Builder clearOsPolicyAssignmentId() {
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for osPolicyAssignmentId to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignmentIdBytes(com.google.protobuf.ByteString value) { + public Builder setOsPolicyAssignmentIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyAssignmentId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1155,32 +1003,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) - private static final com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest(); } - public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateOSPolicyAssignmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateOSPolicyAssignmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateOSPolicyAssignmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateOSPolicyAssignmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1192,8 +1038,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequestOrBuilder.java similarity index 59% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequestOrBuilder.java index 03986287..18adbda6 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequestOrBuilder.java @@ -1,103 +1,62 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; -public interface CreateOSPolicyAssignmentRequestOrBuilder - extends +public interface CreateOSPolicyAssignmentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource name in the form:
    * projects/{project}/locations/{location}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource name in the form:
    * projects/{project}/locations/{location}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The OS policy assignment to be created.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the osPolicyAssignment field is set. */ boolean hasOsPolicyAssignment(); /** - * - * *
    * Required. The OS policy assignment to be created.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The osPolicyAssignment. */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignment(); /** - * - * *
    * Required. The OS policy assignment to be created.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder(); /** - * - * *
    * Required. The logical name of the OS policy assignment in the project
    * with the following restrictions:
@@ -109,13 +68,10 @@ public interface CreateOSPolicyAssignmentRequestOrBuilder
    * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The osPolicyAssignmentId. */ java.lang.String getOsPolicyAssignmentId(); /** - * - * *
    * Required. The logical name of the OS policy assignment in the project
    * with the following restrictions:
@@ -127,8 +83,8 @@ public interface CreateOSPolicyAssignmentRequestOrBuilder
    * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for osPolicyAssignmentId. */ - com.google.protobuf.ByteString getOsPolicyAssignmentIdBytes(); + com.google.protobuf.ByteString + getOsPolicyAssignmentIdBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequest.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequest.java similarity index 62% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequest.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequest.java index bb8a81c9..e7b6cad1 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequest.java @@ -1,58 +1,40 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * A request message for deleting a OS policy assignment.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest} */ -public final class DeleteOSPolicyAssignmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteOSPolicyAssignmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) DeleteOSPolicyAssignmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteOSPolicyAssignmentRequest.newBuilder() to construct. - private DeleteOSPolicyAssignmentRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteOSPolicyAssignmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteOSPolicyAssignmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteOSPolicyAssignmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteOSPolicyAssignmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private DeleteOSPolicyAssignmentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,41 +73,34 @@ private DeleteOSPolicyAssignmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.class, - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the OS policy assignment to be deleted
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the OS policy assignment to be deleted
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -168,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -204,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest other = - (com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) obj; + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest other = (com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,145 +204,134 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest 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.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest - 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.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest 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.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message for deleting a OS policy assignment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.class, - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -380,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.getDefaultInstance(); } @@ -402,8 +362,7 @@ public com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest build() @java.lang.Override public com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest result = - new com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest(this); + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest result = new com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -413,50 +372,46 @@ public com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest other) { - if (other - == com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest other) { + if (other == com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -480,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -494,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -518,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -542,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) - private static final com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest(); } - public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteOSPolicyAssignmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteOSPolicyAssignmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteOSPolicyAssignmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteOSPolicyAssignmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,8 +587,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequestOrBuilder.java new file mode 100644 index 00000000..96227a87 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/osconfig/v1alpha/os_policy_assignments.proto + +package com.google.cloud.osconfig.v1alpha; + +public interface DeleteOSPolicyAssignmentRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the OS policy assignment to be deleted
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the OS policy assignment to be deleted
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercent.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercent.java similarity index 70% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercent.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercent.java index 70a9b0a0..67afb4c9 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercent.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercent.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1alpha/osconfig_common.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * Message encapsulating a value that can be either absolute ("fixed") or
  * relative ("percent") to a value.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.FixedOrPercent}
  */
-public final class FixedOrPercent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class FixedOrPercent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.FixedOrPercent)
     FixedOrPercentOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use FixedOrPercent.newBuilder() to construct.
   private FixedOrPercent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private FixedOrPercent() {}
+  private FixedOrPercent() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new FixedOrPercent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private FixedOrPercent(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,25 +53,23 @@ private FixedOrPercent(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              mode_ = input.readInt32();
-              modeCase_ = 1;
-              break;
-            }
-          case 16:
-            {
-              mode_ = input.readInt32();
-              modeCase_ = 2;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 8: {
+            mode_ = input.readInt32();
+            modeCase_ = 1;
+            break;
+          }
+          case 16: {
+            mode_ = input.readInt32();
+            modeCase_ = 2;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -95,40 +77,35 @@ private FixedOrPercent(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.Common
-        .internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.Common.internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.Common
-        .internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.Common.internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.FixedOrPercent.class,
-            com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder.class);
+            com.google.cloud.osconfig.v1alpha.FixedOrPercent.class, com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder.class);
   }
 
   private int modeCase_ = 0;
   private java.lang.Object mode_;
-
   public enum ModeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     FIXED(1),
     PERCENT(2),
     MODE_NOT_SET(0);
     private final int value;
-
     private ModeCase(int value) {
       this.value = value;
     }
@@ -144,36 +121,30 @@ public static ModeCase valueOf(int value) {
 
     public static ModeCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return FIXED;
-        case 2:
-          return PERCENT;
-        case 0:
-          return MODE_NOT_SET;
-        default:
-          return null;
+        case 1: return FIXED;
+        case 2: return PERCENT;
+        case 0: return MODE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ModeCase getModeCase() {
-    return ModeCase.forNumber(modeCase_);
+  public ModeCase
+  getModeCase() {
+    return ModeCase.forNumber(
+        modeCase_);
   }
 
   public static final int FIXED_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Specifies a fixed value.
    * 
* * int32 fixed = 1; - * * @return Whether the fixed field is set. */ @java.lang.Override @@ -181,14 +152,11 @@ public boolean hasFixed() { return modeCase_ == 1; } /** - * - * *
    * Specifies a fixed value.
    * 
* * int32 fixed = 1; - * * @return The fixed. */ @java.lang.Override @@ -201,15 +169,12 @@ public int getFixed() { public static final int PERCENT_FIELD_NUMBER = 2; /** - * - * *
    * Specifies the relative value defined as a percentage, which will be
    * multiplied by a reference value.
    * 
* * int32 percent = 2; - * * @return Whether the percent field is set. */ @java.lang.Override @@ -217,15 +182,12 @@ public boolean hasPercent() { return modeCase_ == 2; } /** - * - * *
    * Specifies the relative value defined as a percentage, which will be
    * multiplied by a reference value.
    * 
* * int32 percent = 2; - * * @return The percent. */ @java.lang.Override @@ -237,7 +199,6 @@ public int getPercent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,12 +210,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (modeCase_ == 1) { - output.writeInt32(1, (int) ((java.lang.Integer) mode_)); + output.writeInt32( + 1, (int)((java.lang.Integer) mode_)); } if (modeCase_ == 2) { - output.writeInt32(2, (int) ((java.lang.Integer) mode_)); + output.writeInt32( + 2, (int)((java.lang.Integer) mode_)); } unknownFields.writeTo(output); } @@ -266,14 +230,14 @@ public int getSerializedSize() { size = 0; if (modeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 1, (int) ((java.lang.Integer) mode_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 1, (int)((java.lang.Integer) mode_)); } if (modeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 2, (int) ((java.lang.Integer) mode_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 2, (int)((java.lang.Integer) mode_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -283,21 +247,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.FixedOrPercent)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.FixedOrPercent other = - (com.google.cloud.osconfig.v1alpha.FixedOrPercent) obj; + com.google.cloud.osconfig.v1alpha.FixedOrPercent other = (com.google.cloud.osconfig.v1alpha.FixedOrPercent) obj; if (!getModeCase().equals(other.getModeCase())) return false; switch (modeCase_) { case 1: - if (getFixed() != other.getFixed()) return false; + if (getFixed() + != other.getFixed()) return false; break; case 2: - if (getPercent() != other.getPercent()) return false; + if (getPercent() + != other.getPercent()) return false; break; case 0: default: @@ -330,104 +295,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.FixedOrPercent 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.osconfig.v1alpha.FixedOrPercent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.FixedOrPercent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message encapsulating a value that can be either absolute ("fixed") or
    * relative ("percent") to a value.
@@ -435,23 +393,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.FixedOrPercent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.FixedOrPercent)
       com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.Common
-          .internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.Common.internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.Common
-          .internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.Common.internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.FixedOrPercent.class,
-              com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder.class);
+              com.google.cloud.osconfig.v1alpha.FixedOrPercent.class, com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1alpha.FixedOrPercent.newBuilder()
@@ -459,15 +415,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -477,9 +434,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.Common
-          .internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.Common.internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor;
     }
 
     @java.lang.Override
@@ -498,8 +455,7 @@ public com.google.cloud.osconfig.v1alpha.FixedOrPercent build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.FixedOrPercent buildPartial() {
-      com.google.cloud.osconfig.v1alpha.FixedOrPercent result =
-          new com.google.cloud.osconfig.v1alpha.FixedOrPercent(this);
+      com.google.cloud.osconfig.v1alpha.FixedOrPercent result = new com.google.cloud.osconfig.v1alpha.FixedOrPercent(this);
       if (modeCase_ == 1) {
         result.mode_ = mode_;
       }
@@ -515,39 +471,38 @@ public com.google.cloud.osconfig.v1alpha.FixedOrPercent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.FixedOrPercent) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.FixedOrPercent) other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.FixedOrPercent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -555,23 +510,19 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.FixedOrPercent other) {
-      if (other == com.google.cloud.osconfig.v1alpha.FixedOrPercent.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.osconfig.v1alpha.FixedOrPercent.getDefaultInstance()) return this;
       switch (other.getModeCase()) {
-        case FIXED:
-          {
-            setFixed(other.getFixed());
-            break;
-          }
-        case PERCENT:
-          {
-            setPercent(other.getPercent());
-            break;
-          }
-        case MODE_NOT_SET:
-          {
-            break;
-          }
+        case FIXED: {
+          setFixed(other.getFixed());
+          break;
+        }
+        case PERCENT: {
+          setPercent(other.getPercent());
+          break;
+        }
+        case MODE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -601,12 +552,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int modeCase_ = 0;
     private java.lang.Object mode_;
-
-    public ModeCase getModeCase() {
-      return ModeCase.forNumber(modeCase_);
+    public ModeCase
+        getModeCase() {
+      return ModeCase.forNumber(
+          modeCase_);
     }
 
     public Builder clearMode() {
@@ -616,29 +567,24 @@ public Builder clearMode() {
       return this;
     }
 
+
     /**
-     *
-     *
      * 
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; - * * @return Whether the fixed field is set. */ public boolean hasFixed() { return modeCase_ == 1; } /** - * - * *
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; - * * @return The fixed. */ public int getFixed() { @@ -648,14 +594,11 @@ public int getFixed() { return 0; } /** - * - * *
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; - * * @param value The fixed to set. * @return This builder for chaining. */ @@ -666,14 +609,11 @@ public Builder setFixed(int value) { return this; } /** - * - * *
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; - * * @return This builder for chaining. */ public Builder clearFixed() { @@ -686,30 +626,24 @@ public Builder clearFixed() { } /** - * - * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; - * * @return Whether the percent field is set. */ public boolean hasPercent() { return modeCase_ == 2; } /** - * - * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; - * * @return The percent. */ public int getPercent() { @@ -719,15 +653,12 @@ public int getPercent() { return 0; } /** - * - * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; - * * @param value The percent to set. * @return This builder for chaining. */ @@ -738,15 +669,12 @@ public Builder setPercent(int value) { return this; } /** - * - * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; - * * @return This builder for chaining. */ public Builder clearPercent() { @@ -757,9 +685,9 @@ public Builder clearPercent() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -769,12 +697,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.FixedOrPercent) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.FixedOrPercent) private static final com.google.cloud.osconfig.v1alpha.FixedOrPercent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.FixedOrPercent(); } @@ -783,16 +711,16 @@ public static com.google.cloud.osconfig.v1alpha.FixedOrPercent getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FixedOrPercent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FixedOrPercent(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FixedOrPercent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FixedOrPercent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -807,4 +735,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.FixedOrPercent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercentOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercentOrBuilder.java similarity index 63% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercentOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercentOrBuilder.java index cd31653d..1d8722db 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercentOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercentOrBuilder.java @@ -1,76 +1,48 @@ -/* - * 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/osconfig/v1alpha/osconfig_common.proto package com.google.cloud.osconfig.v1alpha; -public interface FixedOrPercentOrBuilder - extends +public interface FixedOrPercentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.FixedOrPercent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Specifies a fixed value.
    * 
* * int32 fixed = 1; - * * @return Whether the fixed field is set. */ boolean hasFixed(); /** - * - * *
    * Specifies a fixed value.
    * 
* * int32 fixed = 1; - * * @return The fixed. */ int getFixed(); /** - * - * *
    * Specifies the relative value defined as a percentage, which will be
    * multiplied by a reference value.
    * 
* * int32 percent = 2; - * * @return Whether the percent field is set. */ boolean hasPercent(); /** - * - * *
    * Specifies the relative value defined as a percentage, which will be
    * multiplied by a reference value.
    * 
* * int32 percent = 2; - * * @return The percent. */ int getPercent(); diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequest.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequest.java similarity index 63% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequest.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequest.java index 2903114d..133c2706 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequest.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1alpha/instance_os_policies_compliance.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * A request message for getting OS policies compliance data for the given
  * Compute Engine VM instance.
@@ -28,34 +11,31 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest}
  */
-@java.lang.Deprecated
-public final class GetInstanceOSPoliciesComplianceRequest
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+@java.lang.Deprecated public final class GetInstanceOSPoliciesComplianceRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest)
     GetInstanceOSPoliciesComplianceRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetInstanceOSPoliciesComplianceRequest.newBuilder() to construct.
-  private GetInstanceOSPoliciesComplianceRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GetInstanceOSPoliciesComplianceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetInstanceOSPoliciesComplianceRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetInstanceOSPoliciesComplianceRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private GetInstanceOSPoliciesComplianceRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,20 +54,19 @@ private GetInstanceOSPoliciesComplianceRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -95,33 +74,29 @@ private GetInstanceOSPoliciesComplianceRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-        .internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-        .internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.class,
-            com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.Builder.class);
+            com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.class, com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. API resource name for instance OS policies compliance resource.
    * Format:
@@ -132,10 +107,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -144,15 +116,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. API resource name for instance OS policies compliance resource.
    * Format:
@@ -163,18 +134,17 @@ public java.lang.String getName() {
    * be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -183,7 +153,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -195,7 +164,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -219,16 +189,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest other = - (com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) obj; + com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest other = (com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -248,105 +217,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest 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.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest - 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.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest 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.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message for getting OS policies compliance data for the given
    * Compute Engine VM instance.
@@ -354,41 +314,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest)
       com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-          .internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-          .internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.class,
-              com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.Builder
-                  .class);
+              com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.class, com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.newBuilder()
+    // Construct using com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -398,22 +355,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-          .internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest
-          .getDefaultInstance();
+    public com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest getDefaultInstanceForType() {
+      return com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest build() {
-      com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest result =
-          buildPartial();
+      com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -422,8 +376,7 @@ public com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest buildPartial() {
-      com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest result =
-          new com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest(this);
+      com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest result = new com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -433,52 +386,46 @@ public com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) {
-        return mergeFrom(
-            (com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) other);
+      if (other instanceof com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) {
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest other) {
-      if (other
-          == com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest other) {
+      if (other == com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -502,9 +449,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -516,8 +461,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. API resource name for instance OS policies compliance resource.
      * Format:
@@ -528,16 +471,14 @@ public Builder mergeFrom(
      * be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -546,8 +487,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. API resource name for instance OS policies compliance resource.
      * Format:
@@ -558,17 +497,16 @@ public java.lang.String getName() {
      * be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -576,8 +514,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. API resource name for instance OS policies compliance resource.
      * Format:
@@ -588,25 +524,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. API resource name for instance OS policies compliance resource.
      * Format:
@@ -617,21 +549,16 @@ public Builder setName(java.lang.String value) {
      * be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. API resource name for instance OS policies compliance resource.
      * Format:
@@ -642,26 +569,24 @@ public Builder clearName() {
      * be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -671,33 +596,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) - private static final com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest(); } - public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInstanceOSPoliciesComplianceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInstanceOSPoliciesComplianceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstanceOSPoliciesComplianceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetInstanceOSPoliciesComplianceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -709,8 +631,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequestOrBuilder.java index 1cc46c5a..9d28e60e 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequestOrBuilder.java @@ -1,32 +1,13 @@ -/* - * 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/osconfig/v1alpha/instance_os_policies_compliance.proto package com.google.cloud.osconfig.v1alpha; -@java.lang.Deprecated -public interface GetInstanceOSPoliciesComplianceRequestOrBuilder - extends +@java.lang.Deprecated public interface GetInstanceOSPoliciesComplianceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. API resource name for instance OS policies compliance resource.
    * Format:
@@ -37,16 +18,11 @@ public interface GetInstanceOSPoliciesComplianceRequestOrBuilder
    * be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. API resource name for instance OS policies compliance resource.
    * Format:
@@ -57,11 +33,9 @@ public interface GetInstanceOSPoliciesComplianceRequestOrBuilder
    * be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequest.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequest.java similarity index 69% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequest.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequest.java index 3a2af246..a952b0e7 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequest.java @@ -1,42 +1,24 @@ -/* - * 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/osconfig/v1alpha/inventory.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * A request message for getting inventory data for the specified VM.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.GetInventoryRequest} */ -public final class GetInventoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetInventoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.GetInventoryRequest) GetInventoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetInventoryRequest.newBuilder() to construct. private GetInventoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetInventoryRequest() { name_ = ""; view_ = 0; @@ -44,15 +26,16 @@ private GetInventoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetInventoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetInventoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetInventoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,33 +80,29 @@ private GetInventoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.GetInventoryRequest.class, - com.google.cloud.osconfig.v1alpha.GetInventoryRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.GetInventoryRequest.class, com.google.cloud.osconfig.v1alpha.GetInventoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. API resource name for inventory resource.
    * Format:
@@ -135,10 +112,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * can be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -147,15 +121,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. API resource name for inventory resource.
    * Format:
@@ -165,18 +138,17 @@ public java.lang.String getName() {
    * can be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -187,43 +159,33 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** - * - * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InventoryView getView() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.InventoryView getView() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.InventoryView result = - com.google.cloud.osconfig.v1alpha.InventoryView.valueOf(view_); + com.google.cloud.osconfig.v1alpha.InventoryView result = com.google.cloud.osconfig.v1alpha.InventoryView.valueOf(view_); return result == null ? com.google.cloud.osconfig.v1alpha.InventoryView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,12 +197,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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 (view_ - != com.google.cloud.osconfig.v1alpha.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { + if (view_ != com.google.cloud.osconfig.v1alpha.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -255,9 +217,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.cloud.osconfig.v1alpha.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.cloud.osconfig.v1alpha.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -267,15 +229,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.GetInventoryRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.GetInventoryRequest other = - (com.google.cloud.osconfig.v1alpha.GetInventoryRequest) obj; + com.google.cloud.osconfig.v1alpha.GetInventoryRequest other = (com.google.cloud.osconfig.v1alpha.GetInventoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -298,127 +260,117 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest 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.osconfig.v1alpha.GetInventoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.GetInventoryRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.GetInventoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message for getting inventory data for the specified VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.GetInventoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.GetInventoryRequest) com.google.cloud.osconfig.v1alpha.GetInventoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.GetInventoryRequest.class, - com.google.cloud.osconfig.v1alpha.GetInventoryRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.GetInventoryRequest.class, com.google.cloud.osconfig.v1alpha.GetInventoryRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.GetInventoryRequest.newBuilder() @@ -426,15 +378,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -446,9 +399,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor; } @java.lang.Override @@ -467,8 +420,7 @@ public com.google.cloud.osconfig.v1alpha.GetInventoryRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.GetInventoryRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.GetInventoryRequest result = - new com.google.cloud.osconfig.v1alpha.GetInventoryRequest(this); + com.google.cloud.osconfig.v1alpha.GetInventoryRequest result = new com.google.cloud.osconfig.v1alpha.GetInventoryRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -479,39 +431,38 @@ public com.google.cloud.osconfig.v1alpha.GetInventoryRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.GetInventoryRequest) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.GetInventoryRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.GetInventoryRequest)other); } else { super.mergeFrom(other); return this; @@ -519,8 +470,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.GetInventoryRequest other) { - if (other == com.google.cloud.osconfig.v1alpha.GetInventoryRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1alpha.GetInventoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -547,8 +497,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.GetInventoryRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.GetInventoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -560,8 +509,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -571,16 +518,14 @@ public Builder mergeFrom(
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -589,8 +534,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -600,17 +543,16 @@ public java.lang.String getName() {
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -618,8 +560,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -629,25 +569,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -657,21 +593,16 @@ public Builder setName(java.lang.String value) {
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -681,19 +612,17 @@ public Builder clearName() {
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -701,69 +630,55 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; - * * @return The view. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.InventoryView getView() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.InventoryView result = - com.google.cloud.osconfig.v1alpha.InventoryView.valueOf(view_); + com.google.cloud.osconfig.v1alpha.InventoryView result = com.google.cloud.osconfig.v1alpha.InventoryView.valueOf(view_); return result == null ? com.google.cloud.osconfig.v1alpha.InventoryView.UNRECOGNIZED : result; } /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -771,32 +686,29 @@ public Builder setView(com.google.cloud.osconfig.v1alpha.InventoryView value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -806,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.GetInventoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.GetInventoryRequest) private static final com.google.cloud.osconfig.v1alpha.GetInventoryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.GetInventoryRequest(); } @@ -820,16 +732,16 @@ public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInventoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInventoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInventoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetInventoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -844,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.GetInventoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequestOrBuilder.java index bae7a205..e69231a1 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/osconfig/v1alpha/inventory.proto package com.google.cloud.osconfig.v1alpha; -public interface GetInventoryRequestOrBuilder - extends +public interface GetInventoryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.GetInventoryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. API resource name for inventory resource.
    * Format:
@@ -35,16 +17,11 @@ public interface GetInventoryRequestOrBuilder
    * can be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. API resource name for inventory resource.
    * Format:
@@ -54,37 +31,29 @@ public interface GetInventoryRequestOrBuilder
    * can be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; - * * @return The view. */ com.google.cloud.osconfig.v1alpha.InventoryView getView(); diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequest.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequest.java similarity index 65% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequest.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequest.java index 33395f3d..30ab9e3b 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequest.java @@ -1,58 +1,40 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * Get a report of the OS policy assignment for a VM instance.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest} */ -public final class GetOSPolicyAssignmentReportRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetOSPolicyAssignmentReportRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) GetOSPolicyAssignmentReportRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetOSPolicyAssignmentReportRequest.newBuilder() to construct. - private GetOSPolicyAssignmentReportRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetOSPolicyAssignmentReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetOSPolicyAssignmentReportRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetOSPolicyAssignmentReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetOSPolicyAssignmentReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private GetOSPolicyAssignmentReportRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,33 +73,29 @@ private GetOSPolicyAssignmentReportRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.class, - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.class, com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. API resource name for OS policy assignment report.
    * Format:
@@ -129,10 +106,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -141,15 +115,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. API resource name for OS policy assignment report.
    * Format:
@@ -160,18 +133,17 @@ public java.lang.String getName() {
    * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -180,7 +152,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,7 +163,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -216,15 +188,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest other = - (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) obj; + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest other = (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -244,145 +216,134 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest 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.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest - 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.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest 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.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get a report of the OS policy assignment for a VM instance.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.class, - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.class, com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -392,16 +353,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.getDefaultInstance(); } @java.lang.Override @@ -415,8 +374,7 @@ public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest buil @java.lang.Override public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest result = - new com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest(this); + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest result = new com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest(this); result.name_ = name_; onBuilt(); return result; @@ -426,51 +384,46 @@ public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest other) { - if (other - == com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest other) { + if (other == com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -494,9 +447,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -508,8 +459,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -520,16 +469,14 @@ public Builder mergeFrom(
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -538,8 +485,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -550,17 +495,16 @@ public java.lang.String getName() {
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -568,8 +512,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -580,25 +522,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -609,21 +547,16 @@ public Builder setName(java.lang.String value) {
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -634,26 +567,24 @@ public Builder clearName() {
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -663,32 +594,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) - private static final com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest(); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOSPolicyAssignmentReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetOSPolicyAssignmentReportRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOSPolicyAssignmentReportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetOSPolicyAssignmentReportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -700,8 +629,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequestOrBuilder.java index d37c705e..70680fbf 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1alpha; -public interface GetOSPolicyAssignmentReportRequestOrBuilder - extends +public interface GetOSPolicyAssignmentReportRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. API resource name for OS policy assignment report.
    * Format:
@@ -36,16 +18,11 @@ public interface GetOSPolicyAssignmentReportRequestOrBuilder
    * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. API resource name for OS policy assignment report.
    * Format:
@@ -56,11 +33,9 @@ public interface GetOSPolicyAssignmentReportRequestOrBuilder
    * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequest.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequest.java similarity index 65% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequest.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequest.java index e4da7dfd..18bcca99 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequest.java @@ -1,57 +1,40 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * A request message to get an OS policy assignment
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest} */ -public final class GetOSPolicyAssignmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetOSPolicyAssignmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) GetOSPolicyAssignmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetOSPolicyAssignmentRequest.newBuilder() to construct. private GetOSPolicyAssignmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetOSPolicyAssignmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetOSPolicyAssignmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetOSPolicyAssignmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetOSPolicyAssignmentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,43 +73,36 @@ private GetOSPolicyAssignmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.class, - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of OS policy assignment.
    * Format:
    * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,33 +111,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of OS policy assignment.
    * Format:
    * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -171,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -207,15 +180,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest other = - (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) obj; + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest other = (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -235,127 +208,117 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest 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.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message to get an OS policy assignment
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.class, - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.newBuilder() @@ -363,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -381,14 +345,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.getDefaultInstance(); } @@ -403,8 +366,7 @@ public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest result = - new com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest(this); + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest result = new com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -414,39 +376,38 @@ public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.GetOSPolicyAssignmentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest)other); } else { super.mergeFrom(other); return this; @@ -454,9 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest other) { - if (other - == com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -480,9 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -494,24 +451,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -520,25 +473,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -546,80 +496,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -629,32 +566,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) - private static final com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest(); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOSPolicyAssignmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetOSPolicyAssignmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOSPolicyAssignmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetOSPolicyAssignmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -666,8 +601,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequestOrBuilder.java new file mode 100644 index 00000000..e168d509 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/osconfig/v1alpha/os_policy_assignments.proto + +package com.google.cloud.osconfig.v1alpha; + +public interface GetOSPolicyAssignmentRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of OS policy assignment.
+   * Format:
+   * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of OS policy assignment.
+   * Format:
+   * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequest.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequest.java similarity index 66% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequest.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequest.java index c5ca09d7..1c29b2a2 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequest.java @@ -1,57 +1,40 @@ -/* - * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * A request message for getting the vulnerability report for the specified VM.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest} */ -public final class GetVulnerabilityReportRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetVulnerabilityReportRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) GetVulnerabilityReportRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetVulnerabilityReportRequest.newBuilder() to construct. private GetVulnerabilityReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetVulnerabilityReportRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetVulnerabilityReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetVulnerabilityReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetVulnerabilityReportRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private GetVulnerabilityReportRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.class, - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.class, com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. API resource name for vulnerability resource.
    * Format:
@@ -127,10 +105,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * can be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -139,15 +114,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. API resource name for vulnerability resource.
    * Format:
@@ -157,18 +131,17 @@ public java.lang.String getName() {
    * can be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -177,7 +150,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -189,7 +161,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -213,15 +186,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest other = - (com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) obj; + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest other = (com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -241,127 +214,117 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest 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.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message for getting the vulnerability report for the specified VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.class, - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.class, com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.newBuilder() @@ -369,15 +332,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -387,14 +351,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.getDefaultInstance(); } @@ -409,8 +372,7 @@ public com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest result = - new com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest(this); + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest result = new com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest(this); result.name_ = name_; onBuilt(); return result; @@ -420,50 +382,46 @@ public com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.GetVulnerabilityReportRequest) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest other) { - if (other - == com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest other) { + if (other == com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -487,9 +445,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -501,8 +457,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -512,16 +466,14 @@ public Builder mergeFrom(
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -530,8 +482,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -541,17 +491,16 @@ public java.lang.String getName() {
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -559,8 +508,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -570,25 +517,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -598,21 +541,16 @@ public Builder setName(java.lang.String value) {
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -622,26 +560,24 @@ public Builder clearName() {
      * can be provided.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -651,32 +587,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) - private static final com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest(); } - public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVulnerabilityReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVulnerabilityReportRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVulnerabilityReportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVulnerabilityReportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -688,8 +622,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequestOrBuilder.java similarity index 53% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequestOrBuilder.java index 81b1bfc8..ceda0dd6 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; -public interface GetVulnerabilityReportRequestOrBuilder - extends +public interface GetVulnerabilityReportRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. API resource name for vulnerability resource.
    * Format:
@@ -35,16 +17,11 @@ public interface GetVulnerabilityReportRequestOrBuilder
    * can be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. API resource name for vulnerability resource.
    * Format:
@@ -54,11 +31,9 @@ public interface GetVulnerabilityReportRequestOrBuilder
    * can be provided.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceName.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceName.java similarity index 100% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceName.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceName.java diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesCompliance.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesCompliance.java similarity index 66% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesCompliance.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesCompliance.java index 809c335c..e8de9ba9 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesCompliance.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesCompliance.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1alpha/instance_os_policies_compliance.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * This API resource represents the OS policies compliance data for a Compute
  * Engine virtual machine (VM) instance at a given point in time.
@@ -35,17 +18,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance}
  */
-@java.lang.Deprecated
-public final class InstanceOSPoliciesCompliance extends com.google.protobuf.GeneratedMessageV3
-    implements
+@java.lang.Deprecated public final class InstanceOSPoliciesCompliance extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance)
     InstanceOSPoliciesComplianceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use InstanceOSPoliciesCompliance.newBuilder() to construct.
   private InstanceOSPoliciesCompliance(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private InstanceOSPoliciesCompliance() {
     name_ = "";
     instance_ = "";
@@ -58,15 +39,16 @@ private InstanceOSPoliciesCompliance() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new InstanceOSPoliciesCompliance();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private InstanceOSPoliciesCompliance(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -86,86 +68,71 @@ private InstanceOSPoliciesCompliance(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              instance_ = s;
-              break;
-            }
-          case 24:
-            {
-              int rawValue = input.readEnum();
+            instance_ = s;
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            state_ = rawValue;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              detailedState_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            detailedState_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              detailedStateReason_ = s;
-              break;
+            detailedStateReason_ = s;
+            break;
+          }
+          case 50: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              osPolicyCompliances_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 50:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                osPolicyCompliances_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance
-                            .OSPolicyCompliance>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              osPolicyCompliances_.add(
-                  input.readMessage(
-                      com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance
-                          .OSPolicyCompliance.parser(),
-                      extensionRegistry));
-              break;
+            osPolicyCompliances_.add(
+                input.readMessage(com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.parser(), extensionRegistry));
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (lastComplianceCheckTime_ != null) {
+              subBuilder = lastComplianceCheckTime_.toBuilder();
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (lastComplianceCheckTime_ != null) {
-                subBuilder = lastComplianceCheckTime_.toBuilder();
-              }
-              lastComplianceCheckTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(lastComplianceCheckTime_);
-                lastComplianceCheckTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            lastComplianceCheckTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(lastComplianceCheckTime_);
+              lastComplianceCheckTime_ = subBuilder.buildPartial();
             }
-          case 66:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              lastComplianceRunId_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            break;
+          }
+          case 66: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            lastComplianceRunId_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -173,7 +140,8 @@ private InstanceOSPoliciesCompliance(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         osPolicyCompliances_ = java.util.Collections.unmodifiableList(osPolicyCompliances_);
@@ -182,56 +150,44 @@ private InstanceOSPoliciesCompliance(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-        .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-        .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.class,
-            com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder.class);
+            com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.class, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder.class);
   }
 
-  @java.lang.Deprecated
-  public interface OSPolicyComplianceOrBuilder
-      extends
+  @java.lang.Deprecated public interface OSPolicyComplianceOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The OS policy id
      * 
* * string os_policy_id = 1; - * * @return The osPolicyId. */ java.lang.String getOsPolicyId(); /** - * - * *
      * The OS policy id
      * 
* * string os_policy_id = 1; - * * @return The bytes for osPolicyId. */ - com.google.protobuf.ByteString getOsPolicyIdBytes(); + com.google.protobuf.ByteString + getOsPolicyIdBytes(); /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -240,13 +196,10 @@ public interface OSPolicyComplianceOrBuilder
      * 
* * string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... } - * * @return The osPolicyAssignment. */ java.lang.String getOsPolicyAssignment(); /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -255,127 +208,95 @@ public interface OSPolicyComplianceOrBuilder
      * 
* * string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for osPolicyAssignment. */ - com.google.protobuf.ByteString getOsPolicyAssignmentBytes(); + com.google.protobuf.ByteString + getOsPolicyAssignmentBytes(); /** - * - * *
      * Compliance state of the OS policy.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
      * Compliance state of the OS policy.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4; - * * @return The state. */ com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState(); /** - * - * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ - java.util.List + java.util.List getOsPolicyResourceCompliancesList(); /** - * - * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance getOsPolicyResourceCompliances( - int index); + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index); /** - * - * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ int getOsPolicyResourceCompliancesCount(); /** - * - * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ - java.util.List + java.util.List getOsPolicyResourceCompliancesOrBuilderList(); /** - * - * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ - com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder - getOsPolicyResourceCompliancesOrBuilder(int index); + com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder( + int index); } /** - * - * *
    * Compliance data for an OS policy
    * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance} + * Protobuf type {@code google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance} */ - @java.lang.Deprecated - public static final class OSPolicyCompliance extends com.google.protobuf.GeneratedMessageV3 - implements + @java.lang.Deprecated public static final class OSPolicyCompliance extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) OSPolicyComplianceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSPolicyCompliance.newBuilder() to construct. private OSPolicyCompliance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OSPolicyCompliance() { osPolicyId_ = ""; osPolicyAssignment_ = ""; @@ -385,15 +306,16 @@ private OSPolicyCompliance() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OSPolicyCompliance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OSPolicyCompliance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -413,48 +335,40 @@ private OSPolicyCompliance( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyId_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + osPolicyId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyAssignment_ = s; - break; - } - case 32: - { - int rawValue = input.readEnum(); + osPolicyAssignment_ = s; + break; + } + case 32: { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 42: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance>(); - mutable_bitField0_ |= 0x00000001; - } - osPolicyResourceCompliances_.add( - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.parser(), - extensionRegistry)); - break; + state_ = rawValue; + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + osPolicyResourceCompliances_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + osPolicyResourceCompliances_.add( + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,45 +376,37 @@ private OSPolicyCompliance( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = - java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); + osPolicyResourceCompliances_ = java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto - .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto - .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - .class, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - .Builder.class); + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.class, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder.class); } public static final int OS_POLICY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object osPolicyId_; /** - * - * *
      * The OS policy id
      * 
* * string os_policy_id = 1; - * * @return The osPolicyId. */ @java.lang.Override @@ -509,29 +415,29 @@ public java.lang.String getOsPolicyId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyId_ = s; return s; } } /** - * - * *
      * The OS policy id
      * 
* * string os_policy_id = 1; - * * @return The bytes for osPolicyId. */ @java.lang.Override - public com.google.protobuf.ByteString getOsPolicyIdBytes() { + public com.google.protobuf.ByteString + getOsPolicyIdBytes() { java.lang.Object ref = osPolicyId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyId_ = b; return b; } else { @@ -542,8 +448,6 @@ public com.google.protobuf.ByteString getOsPolicyIdBytes() { public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER = 2; private volatile java.lang.Object osPolicyAssignment_; /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -552,7 +456,6 @@ public com.google.protobuf.ByteString getOsPolicyIdBytes() {
      * 
* * string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... } - * * @return The osPolicyAssignment. */ @java.lang.Override @@ -561,15 +464,14 @@ public java.lang.String getOsPolicyAssignment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; } } /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -578,15 +480,16 @@ public java.lang.String getOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for osPolicyAssignment. */ @java.lang.Override - public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString + getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -597,132 +500,96 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** - * - * *
      * Compliance state of the OS policy.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Compliance state of the OS policy.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = - com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED : result; } public static final int OS_POLICY_RESOURCE_COMPLIANCES_FIELD_NUMBER = 5; - private java.util.List - osPolicyResourceCompliances_; + private java.util.List osPolicyResourceCompliances_; /** - * - * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ @java.lang.Override - public java.util.List - getOsPolicyResourceCompliancesList() { + public java.util.List getOsPolicyResourceCompliancesList() { return osPolicyResourceCompliances_; } /** - * - * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder> + public java.util.List getOsPolicyResourceCompliancesOrBuilderList() { return osPolicyResourceCompliances_; } /** - * - * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ @java.lang.Override public int getOsPolicyResourceCompliancesCount() { return osPolicyResourceCompliances_.size(); } /** - * - * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance - getOsPolicyResourceCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index) { return osPolicyResourceCompliances_.get(index); } /** - * - * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder - getOsPolicyResourceCompliancesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder( + int index) { return osPolicyResourceCompliances_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -734,17 +601,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osPolicyId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyAssignment_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, osPolicyAssignment_); } - if (state_ - != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState - .OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, state_); } for (int i = 0; i < osPolicyResourceCompliances_.size(); i++) { @@ -765,16 +630,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyAssignment_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, osPolicyAssignment_); } - if (state_ - != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState - .OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + if (state_ != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); } for (int i = 0; i < osPolicyResourceCompliances_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, osPolicyResourceCompliances_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, osPolicyResourceCompliances_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -784,21 +646,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance other = - (com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) obj; + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance other = (com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) obj; - if (!getOsPolicyId().equals(other.getOsPolicyId())) return false; - if (!getOsPolicyAssignment().equals(other.getOsPolicyAssignment())) return false; + if (!getOsPolicyId() + .equals(other.getOsPolicyId())) return false; + if (!getOsPolicyAssignment() + .equals(other.getOsPolicyAssignment())) return false; if (state_ != other.state_) return false; - if (!getOsPolicyResourceCompliancesList().equals(other.getOsPolicyResourceCompliancesList())) - return false; + if (!getOsPolicyResourceCompliancesList() + .equals(other.getOsPolicyResourceCompliancesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -825,102 +686,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance 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.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance 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.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - 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.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance 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.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - 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.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance 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.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -930,54 +777,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Compliance data for an OS policy
      * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance} + * Protobuf type {@code google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto - .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto - .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - .class, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - .Builder.class); + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.class, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOsPolicyResourceCompliancesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -997,23 +835,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto - .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - build() { - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance result = - buildPartial(); + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance build() { + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1021,19 +855,15 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - buildPartial() { - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance result = - new com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance( - this); + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance buildPartial() { + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance result = new com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance(this); int from_bitField0_ = bitField0_; result.osPolicyId_ = osPolicyId_; result.osPolicyAssignment_ = osPolicyAssignment_; result.state_ = state_; if (osPolicyResourceCompliancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = - java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); + osPolicyResourceCompliances_ = java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); bitField0_ = (bitField0_ & ~0x00000001); } result.osPolicyResourceCompliances_ = osPolicyResourceCompliances_; @@ -1048,56 +878,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) - other); + if (other instanceof com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance other) { - if (other - == com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance other) { + if (other == com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.getDefaultInstance()) return this; if (!other.getOsPolicyId().isEmpty()) { osPolicyId_ = other.osPolicyId_; onChanged(); @@ -1127,13 +947,11 @@ public Builder mergeFrom( osPolicyResourceCompliancesBuilder_ = null; osPolicyResourceCompliances_ = other.osPolicyResourceCompliances_; bitField0_ = (bitField0_ & ~0x00000001); - osPolicyResourceCompliancesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOsPolicyResourceCompliancesFieldBuilder() - : null; + osPolicyResourceCompliancesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOsPolicyResourceCompliancesFieldBuilder() : null; } else { - osPolicyResourceCompliancesBuilder_.addAllMessages( - other.osPolicyResourceCompliances_); + osPolicyResourceCompliancesBuilder_.addAllMessages(other.osPolicyResourceCompliances_); } } } @@ -1152,14 +970,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - parsedMessage = null; + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1168,25 +983,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object osPolicyId_ = ""; /** - * - * *
        * The OS policy id
        * 
* * string os_policy_id = 1; - * * @return The osPolicyId. */ public java.lang.String getOsPolicyId() { java.lang.Object ref = osPolicyId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyId_ = s; return s; @@ -1195,21 +1007,20 @@ public java.lang.String getOsPolicyId() { } } /** - * - * *
        * The OS policy id
        * 
* * string os_policy_id = 1; - * * @return The bytes for osPolicyId. */ - public com.google.protobuf.ByteString getOsPolicyIdBytes() { + public com.google.protobuf.ByteString + getOsPolicyIdBytes() { java.lang.Object ref = osPolicyId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyId_ = b; return b; } else { @@ -1217,61 +1028,54 @@ public com.google.protobuf.ByteString getOsPolicyIdBytes() { } } /** - * - * *
        * The OS policy id
        * 
* * string os_policy_id = 1; - * * @param value The osPolicyId to set. * @return This builder for chaining. */ - public Builder setOsPolicyId(java.lang.String value) { + public Builder setOsPolicyId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyId_ = value; onChanged(); return this; } /** - * - * *
        * The OS policy id
        * 
* * string os_policy_id = 1; - * * @return This builder for chaining. */ public Builder clearOsPolicyId() { - + osPolicyId_ = getDefaultInstance().getOsPolicyId(); onChanged(); return this; } /** - * - * *
        * The OS policy id
        * 
* * string os_policy_id = 1; - * * @param value The bytes for osPolicyId to set. * @return This builder for chaining. */ - public Builder setOsPolicyIdBytes(com.google.protobuf.ByteString value) { + public Builder setOsPolicyIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyId_ = value; onChanged(); return this; @@ -1279,8 +1083,6 @@ public Builder setOsPolicyIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object osPolicyAssignment_ = ""; /** - * - * *
        * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
        * belongs to.
@@ -1289,13 +1091,13 @@ public Builder setOsPolicyIdBytes(com.google.protobuf.ByteString value) {
        * 
* * string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... } - * * @return The osPolicyAssignment. */ public java.lang.String getOsPolicyAssignment() { java.lang.Object ref = osPolicyAssignment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; @@ -1304,8 +1106,6 @@ public java.lang.String getOsPolicyAssignment() { } } /** - * - * *
        * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
        * belongs to.
@@ -1314,14 +1114,15 @@ public java.lang.String getOsPolicyAssignment() {
        * 
* * string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for osPolicyAssignment. */ - public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString + getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -1329,8 +1130,6 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { } } /** - * - * *
        * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
        * belongs to.
@@ -1339,22 +1138,20 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() {
        * 
* * string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... } - * * @param value The osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignment(java.lang.String value) { + public Builder setOsPolicyAssignment( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyAssignment_ = value; onChanged(); return this; } /** - * - * *
        * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
        * belongs to.
@@ -1363,18 +1160,15 @@ public Builder setOsPolicyAssignment(java.lang.String value) {
        * 
* * string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearOsPolicyAssignment() { - + osPolicyAssignment_ = getDefaultInstance().getOsPolicyAssignment(); onChanged(); return this; } /** - * - * *
        * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
        * belongs to.
@@ -1383,16 +1177,16 @@ public Builder clearOsPolicyAssignment() {
        * 
* * string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignmentBytes(com.google.protobuf.ByteString value) { + public Builder setOsPolicyAssignmentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyAssignment_ = value; onChanged(); return this; @@ -1400,67 +1194,51 @@ public Builder setOsPolicyAssignmentBytes(com.google.protobuf.ByteString value) private int state_ = 0; /** - * - * *
        * Compliance state of the OS policy.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * Compliance state of the OS policy.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
        * Compliance state of the OS policy.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4; - * * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = - com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED : result; } /** - * - * *
        * Compliance state of the OS policy.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1468,61 +1246,47 @@ public Builder setState(com.google.cloud.osconfig.v1alpha.OSPolicyComplianceStat if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Compliance state of the OS policy.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } - private java.util.List - osPolicyResourceCompliances_ = java.util.Collections.emptyList(); - + private java.util.List osPolicyResourceCompliances_ = + java.util.Collections.emptyList(); private void ensureOsPolicyResourceCompliancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = - new java.util.ArrayList( - osPolicyResourceCompliances_); + osPolicyResourceCompliances_ = new java.util.ArrayList(osPolicyResourceCompliances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder> - osPolicyResourceCompliancesBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder> osPolicyResourceCompliancesBuilder_; /** - * - * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ - public java.util.List - getOsPolicyResourceCompliancesList() { + public java.util.List getOsPolicyResourceCompliancesList() { if (osPolicyResourceCompliancesBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); } else { @@ -1530,16 +1294,12 @@ private void ensureOsPolicyResourceCompliancesIsMutable() { } } /** - * - * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ public int getOsPolicyResourceCompliancesCount() { if (osPolicyResourceCompliancesBuilder_ == null) { @@ -1549,19 +1309,14 @@ public int getOsPolicyResourceCompliancesCount() { } } /** - * - * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance - getOsPolicyResourceCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index) { if (osPolicyResourceCompliancesBuilder_ == null) { return osPolicyResourceCompliances_.get(index); } else { @@ -1569,16 +1324,12 @@ public int getOsPolicyResourceCompliancesCount() { } } /** - * - * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ public Builder setOsPolicyResourceCompliances( int index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance value) { @@ -1595,20 +1346,15 @@ public Builder setOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ public Builder setOsPolicyResourceCompliances( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder builderForValue) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); osPolicyResourceCompliances_.set(index, builderForValue.build()); @@ -1619,19 +1365,14 @@ public Builder setOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ - public Builder addOsPolicyResourceCompliances( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance value) { + public Builder addOsPolicyResourceCompliances(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance value) { if (osPolicyResourceCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1645,16 +1386,12 @@ public Builder addOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ public Builder addOsPolicyResourceCompliances( int index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance value) { @@ -1671,16 +1408,12 @@ public Builder addOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ public Builder addOsPolicyResourceCompliances( com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder builderForValue) { @@ -1694,20 +1427,15 @@ public Builder addOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ public Builder addOsPolicyResourceCompliances( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder builderForValue) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); osPolicyResourceCompliances_.add(index, builderForValue.build()); @@ -1718,20 +1446,15 @@ public Builder addOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ public Builder addAllOsPolicyResourceCompliances( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -1743,16 +1466,12 @@ public Builder addAllOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ public Builder clearOsPolicyResourceCompliances() { if (osPolicyResourceCompliancesBuilder_ == null) { @@ -1765,16 +1484,12 @@ public Builder clearOsPolicyResourceCompliances() { return this; } /** - * - * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ public Builder removeOsPolicyResourceCompliances(int index) { if (osPolicyResourceCompliancesBuilder_ == null) { @@ -1787,56 +1502,42 @@ public Builder removeOsPolicyResourceCompliances(int index) { return this; } /** - * - * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder - getOsPolicyResourceCompliancesBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder getOsPolicyResourceCompliancesBuilder( + int index) { return getOsPolicyResourceCompliancesFieldBuilder().getBuilder(index); } /** - * - * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder - getOsPolicyResourceCompliancesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder( + int index) { if (osPolicyResourceCompliancesBuilder_ == null) { - return osPolicyResourceCompliances_.get(index); - } else { + return osPolicyResourceCompliances_.get(index); } else { return osPolicyResourceCompliancesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder> - getOsPolicyResourceCompliancesOrBuilderList() { + public java.util.List + getOsPolicyResourceCompliancesOrBuilderList() { if (osPolicyResourceCompliancesBuilder_ != null) { return osPolicyResourceCompliancesBuilder_.getMessageOrBuilderList(); } else { @@ -1844,70 +1545,48 @@ public Builder removeOsPolicyResourceCompliances(int index) { } } /** - * - * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder - addOsPolicyResourceCompliancesBuilder() { - return getOsPolicyResourceCompliancesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder addOsPolicyResourceCompliancesBuilder() { + return getOsPolicyResourceCompliancesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.getDefaultInstance()); } /** - * - * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder - addOsPolicyResourceCompliancesBuilder(int index) { - return getOsPolicyResourceCompliancesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder addOsPolicyResourceCompliancesBuilder( + int index) { + return getOsPolicyResourceCompliancesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.getDefaultInstance()); } /** - * - * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; */ - public java.util.List - getOsPolicyResourceCompliancesBuilderList() { + public java.util.List + getOsPolicyResourceCompliancesBuilderList() { return getOsPolicyResourceCompliancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder> getOsPolicyResourceCompliancesFieldBuilder() { if (osPolicyResourceCompliancesBuilder_ == null) { - osPolicyResourceCompliancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder>( + osPolicyResourceCompliancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder>( osPolicyResourceCompliances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1916,7 +1595,6 @@ public Builder removeOsPolicyResourceCompliances(int index) { } return osPolicyResourceCompliancesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1929,34 +1607,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) - private static final com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance - .OSPolicyCompliance - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance(); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyCompliance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyCompliance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyCompliance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyCompliance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1968,17 +1642,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The `InstanceOSPoliciesCompliance` API resource name.
    * Format:
@@ -1986,7 +1658,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -1995,15 +1666,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The `InstanceOSPoliciesCompliance` API resource name.
    * Format:
@@ -2011,15 +1681,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2030,14 +1701,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int INSTANCE_FIELD_NUMBER = 2; private volatile java.lang.Object instance_; /** - * - * *
    * Output only. The Compute Engine VM instance name.
    * 
* * string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The instance. */ @java.lang.Override @@ -2046,29 +1714,29 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** - * - * *
    * Output only. The Compute Engine VM instance name.
    * 
* * string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -2079,50 +1747,33 @@ public com.google.protobuf.ByteString getInstanceBytes() { public static final int STATE_FIELD_NUMBER = 3; private int state_; /** - * - * *
    * Output only. Compliance state of the VM.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. Compliance state of the VM.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = - com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED : result; } public static final int DETAILED_STATE_FIELD_NUMBER = 4; private volatile java.lang.Object detailedState_; /** - * - * *
    * Output only. Detailed compliance state of the VM.
    * This field is populated only when compliance state is `UNKNOWN`.
@@ -2139,7 +1790,6 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState() {
    * 
* * string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The detailedState. */ @java.lang.Override @@ -2148,15 +1798,14 @@ public java.lang.String getDetailedState() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detailedState_ = s; return s; } } /** - * - * *
    * Output only. Detailed compliance state of the VM.
    * This field is populated only when compliance state is `UNKNOWN`.
@@ -2173,15 +1822,16 @@ public java.lang.String getDetailedState() {
    * 
* * string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for detailedState. */ @java.lang.Override - public com.google.protobuf.ByteString getDetailedStateBytes() { + public com.google.protobuf.ByteString + getDetailedStateBytes() { java.lang.Object ref = detailedState_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); detailedState_ = b; return b; } else { @@ -2192,14 +1842,11 @@ public com.google.protobuf.ByteString getDetailedStateBytes() { public static final int DETAILED_STATE_REASON_FIELD_NUMBER = 5; private volatile java.lang.Object detailedStateReason_; /** - * - * *
    * Output only. The reason for the `detailed_state` of the VM (if any).
    * 
* * string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The detailedStateReason. */ @java.lang.Override @@ -2208,29 +1855,29 @@ public java.lang.String getDetailedStateReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detailedStateReason_ = s; return s; } } /** - * - * *
    * Output only. The reason for the `detailed_state` of the VM (if any).
    * 
* * string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for detailedStateReason. */ @java.lang.Override - public com.google.protobuf.ByteString getDetailedStateReasonBytes() { + public com.google.protobuf.ByteString + getDetailedStateReasonBytes() { java.lang.Object ref = detailedStateReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); detailedStateReason_ = b; return b; } else { @@ -2239,106 +1886,73 @@ public com.google.protobuf.ByteString getDetailedStateReasonBytes() { } public static final int OS_POLICY_COMPLIANCES_FIELD_NUMBER = 6; - private java.util.List< - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance> - osPolicyCompliances_; + private java.util.List osPolicyCompliances_; /** - * - * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List< - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance> - getOsPolicyCompliancesList() { + public java.util.List getOsPolicyCompliancesList() { return osPolicyCompliances_; } /** - * - * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance - .OSPolicyComplianceOrBuilder> + public java.util.List getOsPolicyCompliancesOrBuilderList() { return osPolicyCompliances_; } /** - * - * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getOsPolicyCompliancesCount() { return osPolicyCompliances_.size(); } /** - * - * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - getOsPolicyCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance getOsPolicyCompliances(int index) { return osPolicyCompliances_.get(index); } /** - * - * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder - getOsPolicyCompliancesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder( + int index) { return osPolicyCompliances_.get(index); } public static final int LAST_COMPLIANCE_CHECK_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp lastComplianceCheckTime_; /** - * - * *
    * Output only. Timestamp of the last compliance check for the VM.
    * 
* - * - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastComplianceCheckTime field is set. */ @java.lang.Override @@ -2346,34 +1960,23 @@ public boolean hasLastComplianceCheckTime() { return lastComplianceCheckTime_ != null; } /** - * - * *
    * Output only. Timestamp of the last compliance check for the VM.
    * 
* - * - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastComplianceCheckTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastComplianceCheckTime() { - return lastComplianceCheckTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastComplianceCheckTime_; + return lastComplianceCheckTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastComplianceCheckTime_; } /** - * - * *
    * Output only. Timestamp of the last compliance check for the VM.
    * 
* - * - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastComplianceCheckTimeOrBuilder() { @@ -2383,8 +1986,6 @@ public com.google.protobuf.TimestampOrBuilder getLastComplianceCheckTimeOrBuilde public static final int LAST_COMPLIANCE_RUN_ID_FIELD_NUMBER = 8; private volatile java.lang.Object lastComplianceRunId_; /** - * - * *
    * Output only. Unique identifier for the last compliance run.
    * This id will be logged by the OS config agent during a compliance run and
@@ -2392,7 +1993,6 @@ public com.google.protobuf.TimestampOrBuilder getLastComplianceCheckTimeOrBuilde
    * 
* * string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The lastComplianceRunId. */ @java.lang.Override @@ -2401,15 +2001,14 @@ public java.lang.String getLastComplianceRunId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastComplianceRunId_ = s; return s; } } /** - * - * *
    * Output only. Unique identifier for the last compliance run.
    * This id will be logged by the OS config agent during a compliance run and
@@ -2417,15 +2016,16 @@ public java.lang.String getLastComplianceRunId() {
    * 
* * string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for lastComplianceRunId. */ @java.lang.Override - public com.google.protobuf.ByteString getLastComplianceRunIdBytes() { + public com.google.protobuf.ByteString + getLastComplianceRunIdBytes() { java.lang.Object ref = lastComplianceRunId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lastComplianceRunId_ = b; return b; } else { @@ -2434,7 +2034,6 @@ public com.google.protobuf.ByteString getLastComplianceRunIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2446,17 +2045,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instance_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, instance_); } - if (state_ - != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState - .OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(detailedState_)) { @@ -2489,11 +2086,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instance_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instance_); } - if (state_ - != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState - .OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); + if (state_ != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(detailedState_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, detailedState_); @@ -2502,12 +2097,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, detailedStateReason_); } for (int i = 0; i < osPolicyCompliances_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(6, osPolicyCompliances_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, osPolicyCompliances_.get(i)); } if (lastComplianceCheckTime_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(7, getLastComplianceCheckTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getLastComplianceCheckTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lastComplianceRunId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, lastComplianceRunId_); @@ -2520,25 +2115,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance other = - (com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance) obj; + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance other = (com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance) obj; - if (!getName().equals(other.getName())) return false; - if (!getInstance().equals(other.getInstance())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; if (state_ != other.state_) return false; - if (!getDetailedState().equals(other.getDetailedState())) return false; - if (!getDetailedStateReason().equals(other.getDetailedStateReason())) return false; - if (!getOsPolicyCompliancesList().equals(other.getOsPolicyCompliancesList())) return false; + if (!getDetailedState() + .equals(other.getDetailedState())) return false; + if (!getDetailedStateReason() + .equals(other.getDetailedStateReason())) return false; + if (!getOsPolicyCompliancesList() + .equals(other.getOsPolicyCompliancesList())) return false; if (hasLastComplianceCheckTime() != other.hasLastComplianceCheckTime()) return false; if (hasLastComplianceCheckTime()) { - if (!getLastComplianceCheckTime().equals(other.getLastComplianceCheckTime())) return false; + if (!getLastComplianceCheckTime() + .equals(other.getLastComplianceCheckTime())) return false; } - if (!getLastComplianceRunId().equals(other.getLastComplianceRunId())) return false; + if (!getLastComplianceRunId() + .equals(other.getLastComplianceRunId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2576,104 +2177,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance 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.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * This API resource represents the OS policies compliance data for a Compute
    * Engine virtual machine (VM) instance at a given point in time.
@@ -2688,23 +2281,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance)
       com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-          .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-          .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.class,
-              com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder.class);
+              com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.class, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.newBuilder()
@@ -2712,17 +2303,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getOsPolicyCompliancesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2754,14 +2345,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-          .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance
-        getDefaultInstanceForType() {
+    public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance getDefaultInstanceForType() {
       return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.getDefaultInstance();
     }
 
@@ -2776,8 +2366,7 @@ public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance buildPartial() {
-      com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance result =
-          new com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance(this);
+      com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance result = new com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.instance_ = instance_;
@@ -2807,39 +2396,38 @@ public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance buildParti
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.InstanceOSPoliciesCompliance) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance) other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2847,9 +2435,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance other) {
-      if (other
-          == com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -2887,10 +2473,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCom
             osPolicyCompliancesBuilder_ = null;
             osPolicyCompliances_ = other.osPolicyCompliances_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            osPolicyCompliancesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOsPolicyCompliancesFieldBuilder()
-                    : null;
+            osPolicyCompliancesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOsPolicyCompliancesFieldBuilder() : null;
           } else {
             osPolicyCompliancesBuilder_.addAllMessages(other.osPolicyCompliances_);
           }
@@ -2922,9 +2507,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -2933,13 +2516,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The `InstanceOSPoliciesCompliance` API resource name.
      * Format:
@@ -2947,13 +2527,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2962,8 +2542,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The `InstanceOSPoliciesCompliance` API resource name.
      * Format:
@@ -2971,14 +2549,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2986,8 +2565,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The `InstanceOSPoliciesCompliance` API resource name.
      * Format:
@@ -2995,22 +2572,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The `InstanceOSPoliciesCompliance` API resource name.
      * Format:
@@ -3018,18 +2593,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The `InstanceOSPoliciesCompliance` API resource name.
      * Format:
@@ -3037,16 +2609,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -3054,20 +2626,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object instance_ = ""; /** - * - * *
      * Output only. The Compute Engine VM instance name.
      * 
* * string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -3076,21 +2646,20 @@ public java.lang.String getInstance() { } } /** - * - * *
      * Output only. The Compute Engine VM instance name.
      * 
* * string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for instance. */ - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -3098,61 +2667,54 @@ public com.google.protobuf.ByteString getInstanceBytes() { } } /** - * - * *
      * Output only. The Compute Engine VM instance name.
      * 
* * string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance(java.lang.String value) { + public Builder setInstance( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Compute Engine VM instance name.
      * 
* * string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** - * - * *
      * Output only. The Compute Engine VM instance name.
      * 
* * string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -3160,75 +2722,51 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. Compliance state of the VM.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. Compliance state of the VM.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Compliance state of the VM.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = - com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Compliance state of the VM.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -3236,26 +2774,21 @@ public Builder setState(com.google.cloud.osconfig.v1alpha.OSPolicyComplianceStat if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. Compliance state of the VM.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3263,8 +2796,6 @@ public Builder clearState() { private java.lang.Object detailedState_ = ""; /** - * - * *
      * Output only. Detailed compliance state of the VM.
      * This field is populated only when compliance state is `UNKNOWN`.
@@ -3281,13 +2812,13 @@ public Builder clearState() {
      * 
* * string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The detailedState. */ public java.lang.String getDetailedState() { java.lang.Object ref = detailedState_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detailedState_ = s; return s; @@ -3296,8 +2827,6 @@ public java.lang.String getDetailedState() { } } /** - * - * *
      * Output only. Detailed compliance state of the VM.
      * This field is populated only when compliance state is `UNKNOWN`.
@@ -3314,14 +2843,15 @@ public java.lang.String getDetailedState() {
      * 
* * string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for detailedState. */ - public com.google.protobuf.ByteString getDetailedStateBytes() { + public com.google.protobuf.ByteString + getDetailedStateBytes() { java.lang.Object ref = detailedState_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); detailedState_ = b; return b; } else { @@ -3329,8 +2859,6 @@ public com.google.protobuf.ByteString getDetailedStateBytes() { } } /** - * - * *
      * Output only. Detailed compliance state of the VM.
      * This field is populated only when compliance state is `UNKNOWN`.
@@ -3347,22 +2875,20 @@ public com.google.protobuf.ByteString getDetailedStateBytes() {
      * 
* * string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The detailedState to set. * @return This builder for chaining. */ - public Builder setDetailedState(java.lang.String value) { + public Builder setDetailedState( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + detailedState_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Detailed compliance state of the VM.
      * This field is populated only when compliance state is `UNKNOWN`.
@@ -3379,18 +2905,15 @@ public Builder setDetailedState(java.lang.String value) {
      * 
* * string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDetailedState() { - + detailedState_ = getDefaultInstance().getDetailedState(); onChanged(); return this; } /** - * - * *
      * Output only. Detailed compliance state of the VM.
      * This field is populated only when compliance state is `UNKNOWN`.
@@ -3407,16 +2930,16 @@ public Builder clearDetailedState() {
      * 
* * string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for detailedState to set. * @return This builder for chaining. */ - public Builder setDetailedStateBytes(com.google.protobuf.ByteString value) { + public Builder setDetailedStateBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + detailedState_ = value; onChanged(); return this; @@ -3424,20 +2947,18 @@ public Builder setDetailedStateBytes(com.google.protobuf.ByteString value) { private java.lang.Object detailedStateReason_ = ""; /** - * - * *
      * Output only. The reason for the `detailed_state` of the VM (if any).
      * 
* * string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The detailedStateReason. */ public java.lang.String getDetailedStateReason() { java.lang.Object ref = detailedStateReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detailedStateReason_ = s; return s; @@ -3446,21 +2967,20 @@ public java.lang.String getDetailedStateReason() { } } /** - * - * *
      * Output only. The reason for the `detailed_state` of the VM (if any).
      * 
* * string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for detailedStateReason. */ - public com.google.protobuf.ByteString getDetailedStateReasonBytes() { + public com.google.protobuf.ByteString + getDetailedStateReasonBytes() { java.lang.Object ref = detailedStateReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); detailedStateReason_ = b; return b; } else { @@ -3468,102 +2988,79 @@ public com.google.protobuf.ByteString getDetailedStateReasonBytes() { } } /** - * - * *
      * Output only. The reason for the `detailed_state` of the VM (if any).
      * 
* * string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The detailedStateReason to set. * @return This builder for chaining. */ - public Builder setDetailedStateReason(java.lang.String value) { + public Builder setDetailedStateReason( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + detailedStateReason_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The reason for the `detailed_state` of the VM (if any).
      * 
* * string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDetailedStateReason() { - + detailedStateReason_ = getDefaultInstance().getDetailedStateReason(); onChanged(); return this; } /** - * - * *
      * Output only. The reason for the `detailed_state` of the VM (if any).
      * 
* * string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for detailedStateReason to set. * @return This builder for chaining. */ - public Builder setDetailedStateReasonBytes(com.google.protobuf.ByteString value) { + public Builder setDetailedStateReasonBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + detailedStateReason_ = value; onChanged(); return this; } - private java.util.List< - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance> - osPolicyCompliances_ = java.util.Collections.emptyList(); - + private java.util.List osPolicyCompliances_ = + java.util.Collections.emptyList(); private void ensureOsPolicyCompliancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyCompliances_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance>( - osPolicyCompliances_); + osPolicyCompliances_ = new java.util.ArrayList(osPolicyCompliances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - .Builder, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance - .OSPolicyComplianceOrBuilder> - osPolicyCompliancesBuilder_; + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder> osPolicyCompliancesBuilder_; /** - * - * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List< - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance> - getOsPolicyCompliancesList() { + public java.util.List getOsPolicyCompliancesList() { if (osPolicyCompliancesBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyCompliances_); } else { @@ -3571,15 +3068,11 @@ private void ensureOsPolicyCompliancesIsMutable() { } } /** - * - * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getOsPolicyCompliancesCount() { if (osPolicyCompliancesBuilder_ == null) { @@ -3589,18 +3082,13 @@ public int getOsPolicyCompliancesCount() { } } /** - * - * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - getOsPolicyCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance getOsPolicyCompliances(int index) { if (osPolicyCompliancesBuilder_ == null) { return osPolicyCompliances_.get(index); } else { @@ -3608,19 +3096,14 @@ public int getOsPolicyCompliancesCount() { } } /** - * - * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOsPolicyCompliances( - int index, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance value) { + int index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance value) { if (osPolicyCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3634,20 +3117,14 @@ public Builder setOsPolicyCompliances( return this; } /** - * - * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOsPolicyCompliances( - int index, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder builderForValue) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); osPolicyCompliances_.set(index, builderForValue.build()); @@ -3658,18 +3135,13 @@ public Builder setOsPolicyCompliances( return this; } /** - * - * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addOsPolicyCompliances( - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance value) { + public Builder addOsPolicyCompliances(com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance value) { if (osPolicyCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3683,19 +3155,14 @@ public Builder addOsPolicyCompliances( return this; } /** - * - * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addOsPolicyCompliances( - int index, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance value) { + int index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance value) { if (osPolicyCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3709,19 +3176,14 @@ public Builder addOsPolicyCompliances( return this; } /** - * - * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addOsPolicyCompliances( - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder builderForValue) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); osPolicyCompliances_.add(builderForValue.build()); @@ -3732,20 +3194,14 @@ public Builder addOsPolicyCompliances( return this; } /** - * - * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addOsPolicyCompliances( - int index, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder builderForValue) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); osPolicyCompliances_.add(index, builderForValue.build()); @@ -3756,25 +3212,18 @@ public Builder addOsPolicyCompliances( return this; } /** - * - * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllOsPolicyCompliances( - java.lang.Iterable< - ? extends - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance - .OSPolicyCompliance> - values) { + java.lang.Iterable values) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicyCompliances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, osPolicyCompliances_); onChanged(); } else { osPolicyCompliancesBuilder_.addAllMessages(values); @@ -3782,15 +3231,11 @@ public Builder addAllOsPolicyCompliances( return this; } /** - * - * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearOsPolicyCompliances() { if (osPolicyCompliancesBuilder_ == null) { @@ -3803,15 +3248,11 @@ public Builder clearOsPolicyCompliances() { return this; } /** - * - * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeOsPolicyCompliances(int index) { if (osPolicyCompliancesBuilder_ == null) { @@ -3824,56 +3265,39 @@ public Builder removeOsPolicyCompliances(int index) { return this; } /** - * - * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder - getOsPolicyCompliancesBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder getOsPolicyCompliancesBuilder( + int index) { return getOsPolicyCompliancesFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance - .OSPolicyComplianceOrBuilder - getOsPolicyCompliancesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder( + int index) { if (osPolicyCompliancesBuilder_ == null) { - return osPolicyCompliances_.get(index); - } else { + return osPolicyCompliances_.get(index); } else { return osPolicyCompliancesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance - .OSPolicyComplianceOrBuilder> - getOsPolicyCompliancesOrBuilderList() { + public java.util.List + getOsPolicyCompliancesOrBuilderList() { if (osPolicyCompliancesBuilder_ != null) { return osPolicyCompliancesBuilder_.getMessageOrBuilderList(); } else { @@ -3881,75 +3305,45 @@ public Builder removeOsPolicyCompliances(int index) { } } /** - * - * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder - addOsPolicyCompliancesBuilder() { - return getOsPolicyCompliancesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - .getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder addOsPolicyCompliancesBuilder() { + return getOsPolicyCompliancesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.getDefaultInstance()); } /** - * - * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder - addOsPolicyCompliancesBuilder(int index) { - return getOsPolicyCompliancesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - .getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder addOsPolicyCompliancesBuilder( + int index) { + return getOsPolicyCompliancesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.getDefaultInstance()); } /** - * - * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List< - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - .Builder> - getOsPolicyCompliancesBuilderList() { + public java.util.List + getOsPolicyCompliancesBuilderList() { return getOsPolicyCompliancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - .Builder, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance - .OSPolicyComplianceOrBuilder> + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder> getOsPolicyCompliancesFieldBuilder() { if (osPolicyCompliancesBuilder_ == null) { - osPolicyCompliancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - .Builder, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance - .OSPolicyComplianceOrBuilder>( + osPolicyCompliancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder>( osPolicyCompliances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3961,58 +3355,39 @@ public Builder removeOsPolicyCompliances(int index) { private com.google.protobuf.Timestamp lastComplianceCheckTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastComplianceCheckTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastComplianceCheckTimeBuilder_; /** - * - * *
      * Output only. Timestamp of the last compliance check for the VM.
      * 
* - * - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastComplianceCheckTime field is set. */ public boolean hasLastComplianceCheckTime() { return lastComplianceCheckTimeBuilder_ != null || lastComplianceCheckTime_ != null; } /** - * - * *
      * Output only. Timestamp of the last compliance check for the VM.
      * 
* - * - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastComplianceCheckTime. */ public com.google.protobuf.Timestamp getLastComplianceCheckTime() { if (lastComplianceCheckTimeBuilder_ == null) { - return lastComplianceCheckTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastComplianceCheckTime_; + return lastComplianceCheckTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastComplianceCheckTime_; } else { return lastComplianceCheckTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Timestamp of the last compliance check for the VM.
      * 
* - * - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLastComplianceCheckTime(com.google.protobuf.Timestamp value) { if (lastComplianceCheckTimeBuilder_ == null) { @@ -4028,15 +3403,11 @@ public Builder setLastComplianceCheckTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Timestamp of the last compliance check for the VM.
      * 
* - * - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLastComplianceCheckTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -4050,23 +3421,17 @@ public Builder setLastComplianceCheckTime( return this; } /** - * - * *
      * Output only. Timestamp of the last compliance check for the VM.
      * 
* - * - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeLastComplianceCheckTime(com.google.protobuf.Timestamp value) { if (lastComplianceCheckTimeBuilder_ == null) { if (lastComplianceCheckTime_ != null) { lastComplianceCheckTime_ = - com.google.protobuf.Timestamp.newBuilder(lastComplianceCheckTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastComplianceCheckTime_).mergeFrom(value).buildPartial(); } else { lastComplianceCheckTime_ = value; } @@ -4078,15 +3443,11 @@ public Builder mergeLastComplianceCheckTime(com.google.protobuf.Timestamp value) return this; } /** - * - * *
      * Output only. Timestamp of the last compliance check for the VM.
      * 
* - * - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearLastComplianceCheckTime() { if (lastComplianceCheckTimeBuilder_ == null) { @@ -4100,64 +3461,48 @@ public Builder clearLastComplianceCheckTime() { return this; } /** - * - * *
      * Output only. Timestamp of the last compliance check for the VM.
      * 
* - * - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getLastComplianceCheckTimeBuilder() { - + onChanged(); return getLastComplianceCheckTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Timestamp of the last compliance check for the VM.
      * 
* - * - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getLastComplianceCheckTimeOrBuilder() { if (lastComplianceCheckTimeBuilder_ != null) { return lastComplianceCheckTimeBuilder_.getMessageOrBuilder(); } else { - return lastComplianceCheckTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastComplianceCheckTime_; + return lastComplianceCheckTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastComplianceCheckTime_; } } /** - * - * *
      * Output only. Timestamp of the last compliance check for the VM.
      * 
* - * - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastComplianceCheckTimeFieldBuilder() { if (lastComplianceCheckTimeBuilder_ == null) { - lastComplianceCheckTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastComplianceCheckTime(), getParentForChildren(), isClean()); + lastComplianceCheckTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastComplianceCheckTime(), + getParentForChildren(), + isClean()); lastComplianceCheckTime_ = null; } return lastComplianceCheckTimeBuilder_; @@ -4165,8 +3510,6 @@ public com.google.protobuf.TimestampOrBuilder getLastComplianceCheckTimeOrBuilde private java.lang.Object lastComplianceRunId_ = ""; /** - * - * *
      * Output only. Unique identifier for the last compliance run.
      * This id will be logged by the OS config agent during a compliance run and
@@ -4174,13 +3517,13 @@ public com.google.protobuf.TimestampOrBuilder getLastComplianceCheckTimeOrBuilde
      * 
* * string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The lastComplianceRunId. */ public java.lang.String getLastComplianceRunId() { java.lang.Object ref = lastComplianceRunId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastComplianceRunId_ = s; return s; @@ -4189,8 +3532,6 @@ public java.lang.String getLastComplianceRunId() { } } /** - * - * *
      * Output only. Unique identifier for the last compliance run.
      * This id will be logged by the OS config agent during a compliance run and
@@ -4198,14 +3539,15 @@ public java.lang.String getLastComplianceRunId() {
      * 
* * string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for lastComplianceRunId. */ - public com.google.protobuf.ByteString getLastComplianceRunIdBytes() { + public com.google.protobuf.ByteString + getLastComplianceRunIdBytes() { java.lang.Object ref = lastComplianceRunId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lastComplianceRunId_ = b; return b; } else { @@ -4213,8 +3555,6 @@ public com.google.protobuf.ByteString getLastComplianceRunIdBytes() { } } /** - * - * *
      * Output only. Unique identifier for the last compliance run.
      * This id will be logged by the OS config agent during a compliance run and
@@ -4222,22 +3562,20 @@ public com.google.protobuf.ByteString getLastComplianceRunIdBytes() {
      * 
* * string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The lastComplianceRunId to set. * @return This builder for chaining. */ - public Builder setLastComplianceRunId(java.lang.String value) { + public Builder setLastComplianceRunId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + lastComplianceRunId_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Unique identifier for the last compliance run.
      * This id will be logged by the OS config agent during a compliance run and
@@ -4245,18 +3583,15 @@ public Builder setLastComplianceRunId(java.lang.String value) {
      * 
* * string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearLastComplianceRunId() { - + lastComplianceRunId_ = getDefaultInstance().getLastComplianceRunId(); onChanged(); return this; } /** - * - * *
      * Output only. Unique identifier for the last compliance run.
      * This id will be logged by the OS config agent during a compliance run and
@@ -4264,23 +3599,23 @@ public Builder clearLastComplianceRunId() {
      * 
* * string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for lastComplianceRunId to set. * @return This builder for chaining. */ - public Builder setLastComplianceRunIdBytes(com.google.protobuf.ByteString value) { + public Builder setLastComplianceRunIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + lastComplianceRunId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4290,32 +3625,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance) - private static final com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance(); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstanceOSPoliciesCompliance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstanceOSPoliciesCompliance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceOSPoliciesCompliance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstanceOSPoliciesCompliance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4327,8 +3660,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceName.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceName.java similarity index 100% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceName.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceName.java diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceOrBuilder.java similarity index 66% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceOrBuilder.java index 73a89111..35c96724 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceOrBuilder.java @@ -1,32 +1,13 @@ -/* - * 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/osconfig/v1alpha/instance_os_policies_compliance.proto package com.google.cloud.osconfig.v1alpha; -@java.lang.Deprecated -public interface InstanceOSPoliciesComplianceOrBuilder - extends +@java.lang.Deprecated public interface InstanceOSPoliciesComplianceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The `InstanceOSPoliciesCompliance` API resource name.
    * Format:
@@ -34,13 +15,10 @@ public interface InstanceOSPoliciesComplianceOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The `InstanceOSPoliciesCompliance` API resource name.
    * Format:
@@ -48,68 +26,51 @@ public interface InstanceOSPoliciesComplianceOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The Compute Engine VM instance name.
    * 
* * string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The instance. */ java.lang.String getInstance(); /** - * - * *
    * Output only. The Compute Engine VM instance name.
    * 
* * string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for instance. */ - com.google.protobuf.ByteString getInstanceBytes(); + com.google.protobuf.ByteString + getInstanceBytes(); /** - * - * *
    * Output only. Compliance state of the VM.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. Compliance state of the VM.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState(); /** - * - * *
    * Output only. Detailed compliance state of the VM.
    * This field is populated only when compliance state is `UNKNOWN`.
@@ -126,13 +87,10 @@ public interface InstanceOSPoliciesComplianceOrBuilder
    * 
* * string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The detailedState. */ java.lang.String getDetailedState(); /** - * - * *
    * Output only. Detailed compliance state of the VM.
    * This field is populated only when compliance state is `UNKNOWN`.
@@ -149,148 +107,103 @@ public interface InstanceOSPoliciesComplianceOrBuilder
    * 
* * string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for detailedState. */ - com.google.protobuf.ByteString getDetailedStateBytes(); + com.google.protobuf.ByteString + getDetailedStateBytes(); /** - * - * *
    * Output only. The reason for the `detailed_state` of the VM (if any).
    * 
* * string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The detailedStateReason. */ java.lang.String getDetailedStateReason(); /** - * - * *
    * Output only. The reason for the `detailed_state` of the VM (if any).
    * 
* * string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for detailedStateReason. */ - com.google.protobuf.ByteString getDetailedStateReasonBytes(); + com.google.protobuf.ByteString + getDetailedStateReasonBytes(); /** - * - * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getOsPolicyCompliancesList(); /** - * - * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance - getOsPolicyCompliances(int index); + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance getOsPolicyCompliances(int index); /** - * - * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getOsPolicyCompliancesCount(); /** - * - * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance - .OSPolicyComplianceOrBuilder> + java.util.List getOsPolicyCompliancesOrBuilderList(); /** - * - * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder - getOsPolicyCompliancesOrBuilder(int index); + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder( + int index); /** - * - * *
    * Output only. Timestamp of the last compliance check for the VM.
    * 
* - * - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastComplianceCheckTime field is set. */ boolean hasLastComplianceCheckTime(); /** - * - * *
    * Output only. Timestamp of the last compliance check for the VM.
    * 
* - * - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastComplianceCheckTime. */ com.google.protobuf.Timestamp getLastComplianceCheckTime(); /** - * - * *
    * Output only. Timestamp of the last compliance check for the VM.
    * 
* - * - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getLastComplianceCheckTimeOrBuilder(); /** - * - * *
    * Output only. Unique identifier for the last compliance run.
    * This id will be logged by the OS config agent during a compliance run and
@@ -298,13 +211,10 @@ public interface InstanceOSPoliciesComplianceOrBuilder
    * 
* * string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The lastComplianceRunId. */ java.lang.String getLastComplianceRunId(); /** - * - * *
    * Output only. Unique identifier for the last compliance run.
    * This id will be logged by the OS config agent during a compliance run and
@@ -312,8 +222,8 @@ public interface InstanceOSPoliciesComplianceOrBuilder
    * 
* * string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for lastComplianceRunId. */ - com.google.protobuf.ByteString getLastComplianceRunIdBytes(); + com.google.protobuf.ByteString + getLastComplianceRunIdBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java new file mode 100644 index 00000000..cc264833 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java @@ -0,0 +1,153 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto + +package com.google.cloud.osconfig.v1alpha; + +public final class InstanceOSPoliciesComplianceProto { + private InstanceOSPoliciesComplianceProto() {} + 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_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\nCgoogle/cloud/osconfig/v1alpha/instance" + + "_os_policies_compliance.proto\022\035google.cl" + + "oud.osconfig.v1alpha\032\034google/api/annotat" + + "ions.proto\032\037google/api/field_behavior.pr" + + "oto\032\031google/api/resource.proto\0321google/c" + + "loud/osconfig/v1alpha/config_common.prot" + + "o\032\037google/protobuf/timestamp.proto\"\356\006\n\034I" + + "nstanceOSPoliciesCompliance\022\021\n\004name\030\001 \001(" + + "\tB\003\340A\003\022\025\n\010instance\030\002 \001(\tB\003\340A\003\022J\n\005state\030\003" + + " \001(\01626.google.cloud.osconfig.v1alpha.OSP" + + "olicyComplianceStateB\003\340A\003\022\033\n\016detailed_st" + + "ate\030\004 \001(\tB\003\340A\003\022\"\n\025detailed_state_reason\030" + + "\005 \001(\tB\003\340A\003\022r\n\025os_policy_compliances\030\006 \003(" + + "\0132N.google.cloud.osconfig.v1alpha.Instan" + + "ceOSPoliciesCompliance.OSPolicyComplianc" + + "eB\003\340A\003\022C\n\032last_compliance_check_time\030\007 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022#\n\026l" + + "ast_compliance_run_id\030\010 \001(\tB\003\340A\003\032\247\002\n\022OSP" + + "olicyCompliance\022\024\n\014os_policy_id\030\001 \001(\t\022M\n" + + "\024os_policy_assignment\030\002 \001(\tB/\372A,\n*osconf" + + "ig.googleapis.com/OSPolicyAssignment\022E\n\005" + + "state\030\004 \001(\01626.google.cloud.osconfig.v1al" + + "pha.OSPolicyComplianceState\022a\n\036os_policy" + + "_resource_compliances\030\005 \003(\01329.google.clo" + + "ud.osconfig.v1alpha.OSPolicyResourceComp" + + "liance:\002\030\001:\216\001\030\001\352A\210\001\n4osconfig.googleapis" + + ".com/InstanceOSPoliciesCompliance\022Pproje" + + "cts/{project}/locations/{location}/insta" + + "nceOSPoliciesCompliances/{instance}\"x\n&G" + + "etInstanceOSPoliciesComplianceRequest\022J\n" + + "\004name\030\001 \001(\tB<\340A\002\372A6\n4osconfig.googleapis" + + ".com/InstanceOSPoliciesCompliance:\002\030\001\"\240\001" + + "\n(ListInstanceOSPoliciesCompliancesReque" + + "st\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.go" + + "ogleapis.com/Location\022\021\n\tpage_size\030\002 \001(\005" + + "\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t:\002\030\001" + + "\"\257\001\n)ListInstanceOSPoliciesCompliancesRe" + + "sponse\022e\n instance_os_policies_complianc" + + "es\030\001 \003(\0132;.google.cloud.osconfig.v1alpha" + + ".InstanceOSPoliciesCompliance\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t:\002\030\001B\362\001\n!com.google.cloud." + + "osconfig.v1alphaB!InstanceOSPoliciesComp" + + "lianceProtoP\001ZEgoogle.golang.org/genprot" + + "o/googleapis/cloud/osconfig/v1alpha;osco" + + "nfig\252\002\035Google.Cloud.OsConfig.V1Alpha\312\002\035G" + + "oogle\\Cloud\\OsConfig\\V1alpha\352\002 Google::C" + + "loud::OsConfig::V1alphab\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.osconfig.v1alpha.ConfigCommonProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor, + new java.lang.String[] { "Name", "Instance", "State", "DetailedState", "DetailedStateReason", "OsPolicyCompliances", "LastComplianceCheckTime", "LastComplianceRunId", }); + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor = + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor, + new java.lang.String[] { "OsPolicyId", "OsPolicyAssignment", "State", "OsPolicyResourceCompliances", }); + internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor, + new java.lang.String[] { "InstanceOsPoliciesCompliances", "NextPageToken", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.osconfig.v1alpha.ConfigCommonProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPolicyAssignmentName.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPolicyAssignmentName.java similarity index 100% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPolicyAssignmentName.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPolicyAssignmentName.java diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java new file mode 100644 index 00000000..dd1f3138 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java @@ -0,0 +1,302 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/osconfig/v1alpha/inventory.proto + +package com.google.cloud.osconfig.v1alpha; + +public final class Inventories { + private Inventories() {} + 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_osconfig_v1alpha_Inventory_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n-google/cloud/osconfig/v1alpha/inventor" + + "y.proto\022\035google.cloud.osconfig.v1alpha\032\034" + + "google/api/annotations.proto\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\037google/protobuf/timestamp.prot" + + "o\032\026google/type/date.proto\"\267\026\n\tInventory\022" + + "\021\n\004name\030\003 \001(\tB\003\340A\003\022E\n\007os_info\030\001 \001(\0132/.go" + + "ogle.cloud.osconfig.v1alpha.Inventory.Os" + + "InfoB\003\340A\003\022G\n\005items\030\002 \003(\01323.google.cloud." + + "osconfig.v1alpha.Inventory.ItemsEntryB\003\340" + + "A\003\0224\n\013update_time\030\004 \001(\0132\032.google.protobu" + + "f.TimestampB\003\340A\003\032\270\001\n\006OsInfo\022\020\n\010hostname\030" + + "\t \001(\t\022\021\n\tlong_name\030\002 \001(\t\022\022\n\nshort_name\030\003" + + " \001(\t\022\017\n\007version\030\004 \001(\t\022\024\n\014architecture\030\005 " + + "\001(\t\022\026\n\016kernel_version\030\006 \001(\t\022\026\n\016kernel_re" + + "lease\030\007 \001(\t\022\036\n\026osconfig_agent_version\030\010 " + + "\001(\t\032\313\004\n\004Item\022\n\n\002id\030\001 \001(\t\022M\n\013origin_type\030" + + "\002 \001(\01628.google.cloud.osconfig.v1alpha.In" + + "ventory.Item.OriginType\022/\n\013create_time\030\010" + + " \001(\0132\032.google.protobuf.Timestamp\022/\n\013upda" + + "te_time\030\t \001(\0132\032.google.protobuf.Timestam" + + "p\022@\n\004type\030\005 \001(\01622.google.cloud.osconfig." + + "v1alpha.Inventory.Item.Type\022U\n\021installed" + + "_package\030\006 \001(\01328.google.cloud.osconfig.v" + + "1alpha.Inventory.SoftwarePackageH\000\022U\n\021av" + + "ailable_package\030\007 \001(\01328.google.cloud.osc" + + "onfig.v1alpha.Inventory.SoftwarePackageH" + + "\000\"?\n\nOriginType\022\033\n\027ORIGIN_TYPE_UNSPECIFI" + + "ED\020\000\022\024\n\020INVENTORY_REPORT\020\001\"J\n\004Type\022\024\n\020TY" + + "PE_UNSPECIFIED\020\000\022\025\n\021INSTALLED_PACKAGE\020\001\022" + + "\025\n\021AVAILABLE_PACKAGE\020\002B\t\n\007details\032\237\006\n\017So" + + "ftwarePackage\022P\n\013yum_package\030\001 \001(\01329.goo" + + "gle.cloud.osconfig.v1alpha.Inventory.Ver" + + "sionedPackageH\000\022P\n\013apt_package\030\002 \001(\01329.g" + + "oogle.cloud.osconfig.v1alpha.Inventory.V" + + "ersionedPackageH\000\022S\n\016zypper_package\030\003 \001(" + + "\01329.google.cloud.osconfig.v1alpha.Invent" + + "ory.VersionedPackageH\000\022S\n\016googet_package" + + "\030\004 \001(\01329.google.cloud.osconfig.v1alpha.I" + + "nventory.VersionedPackageH\000\022L\n\014zypper_pa" + + "tch\030\005 \001(\01324.google.cloud.osconfig.v1alph" + + "a.Inventory.ZypperPatchH\000\022T\n\013wua_package" + + "\030\006 \001(\0132=.google.cloud.osconfig.v1alpha.I" + + "nventory.WindowsUpdatePackageH\000\022a\n\013qfe_p" + + "ackage\030\007 \001(\0132J.google.cloud.osconfig.v1a" + + "lpha.Inventory.WindowsQuickFixEngineerin" + + "gPackageH\000\022P\n\013cos_package\030\010 \001(\01329.google" + + ".cloud.osconfig.v1alpha.Inventory.Versio" + + "nedPackageH\000\022Z\n\023windows_application\030\t \001(" + + "\0132;.google.cloud.osconfig.v1alpha.Invent" + + "ory.WindowsApplicationH\000B\t\n\007details\032O\n\020V" + + "ersionedPackage\022\024\n\014package_name\030\004 \001(\t\022\024\n" + + "\014architecture\030\002 \001(\t\022\017\n\007version\030\003 \001(\t\032V\n\013" + + "ZypperPatch\022\022\n\npatch_name\030\005 \001(\t\022\020\n\010categ" + + "ory\030\002 \001(\t\022\020\n\010severity\030\003 \001(\t\022\017\n\007summary\030\004" + + " \001(\t\032\210\003\n\024WindowsUpdatePackage\022\r\n\005title\030\001" + + " \001(\t\022\023\n\013description\030\002 \001(\t\022g\n\ncategories\030" + + "\003 \003(\0132S.google.cloud.osconfig.v1alpha.In" + + "ventory.WindowsUpdatePackage.WindowsUpda" + + "teCategory\022\026\n\016kb_article_ids\030\004 \003(\t\022\023\n\013su" + + "pport_url\030\013 \001(\t\022\026\n\016more_info_urls\030\005 \003(\t\022" + + "\021\n\tupdate_id\030\006 \001(\t\022\027\n\017revision_number\030\007 " + + "\001(\005\022?\n\033last_deployment_change_time\030\n \001(\013" + + "2\032.google.protobuf.Timestamp\0321\n\025WindowsU" + + "pdateCategory\022\n\n\002id\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\032" + + "\217\001\n!WindowsQuickFixEngineeringPackage\022\017\n" + + "\007caption\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\022\n\nh" + + "ot_fix_id\030\003 \001(\t\0220\n\014install_time\030\005 \001(\0132\032." + + "google.protobuf.Timestamp\032\222\001\n\022WindowsApp" + + "lication\022\024\n\014display_name\030\001 \001(\t\022\027\n\017displa" + + "y_version\030\002 \001(\t\022\021\n\tpublisher\030\003 \001(\t\022\'\n\014in" + + "stall_date\030\004 \001(\0132\021.google.type.Date\022\021\n\th" + + "elp_link\030\005 \001(\t\032[\n\nItemsEntry\022\013\n\003key\030\001 \001(" + + "\t\022<\n\005value\030\002 \001(\0132-.google.cloud.osconfig" + + ".v1alpha.Inventory.Item:\0028\001:n\352Ak\n!osconf" + + "ig.googleapis.com/Inventory\022Fprojects/{p" + + "roject}/locations/{location}/instances/{" + + "instance}/inventory\"\212\001\n\023GetInventoryRequ" + + "est\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!osconfig.goog" + + "leapis.com/Inventory\022:\n\004view\030\002 \001(\0162,.goo" + + "gle.cloud.osconfig.v1alpha.InventoryView" + + "\"\304\001\n\026ListInventoriesRequest\0227\n\006parent\030\001 " + + "\001(\tB\'\340A\002\372A!\n\037compute.googleapis.com/Inst" + + "ance\022:\n\004view\030\002 \001(\0162,.google.cloud.osconf" + + "ig.v1alpha.InventoryView\022\021\n\tpage_size\030\003 " + + "\001(\005\022\022\n\npage_token\030\004 \001(\t\022\016\n\006filter\030\005 \001(\t\"" + + "q\n\027ListInventoriesResponse\022=\n\013inventorie" + + "s\030\001 \003(\0132(.google.cloud.osconfig.v1alpha." + + "Inventory\022\027\n\017next_page_token\030\002 \001(\t*D\n\rIn" + + "ventoryView\022\036\n\032INVENTORY_VIEW_UNSPECIFIE" + + "D\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\334\001\n!com.google." + + "cloud.osconfig.v1alphaB\013InventoriesP\001ZEg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/osconfig/v1alpha;osconfig\252\002\035Google.Cl" + + "oud.OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsCo" + + "nfig\\V1alpha\352\002 Google::Cloud::OsConfig::" + + "V1alphab\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.type.DateProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_Inventory_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor, + new java.lang.String[] { "Name", "OsInfo", "Items", "UpdateTime", }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor, + new java.lang.String[] { "Hostname", "LongName", "ShortName", "Version", "Architecture", "KernelVersion", "KernelRelease", "OsconfigAgentVersion", }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor, + new java.lang.String[] { "Id", "OriginType", "CreateTime", "UpdateTime", "Type", "InstalledPackage", "AvailablePackage", "Details", }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor, + new java.lang.String[] { "YumPackage", "AptPackage", "ZypperPackage", "GoogetPackage", "ZypperPatch", "WuaPackage", "QfePackage", "CosPackage", "WindowsApplication", "Details", }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor, + new java.lang.String[] { "PackageName", "Architecture", "Version", }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor, + new java.lang.String[] { "PatchName", "Category", "Severity", "Summary", }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor, + new java.lang.String[] { "Title", "Description", "Categories", "KbArticleIds", "SupportUrl", "MoreInfoUrls", "UpdateId", "RevisionNumber", "LastDeploymentChangeTime", }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor, + new java.lang.String[] { "Id", "Name", }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor, + new java.lang.String[] { "Caption", "Description", "HotFixId", "InstallTime", }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(7); + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor, + new java.lang.String[] { "DisplayName", "DisplayVersion", "Publisher", "InstallDate", "HelpLink", }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(8); + internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor, + new java.lang.String[] { "Name", "View", }); + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor, + new java.lang.String[] { "Parent", "View", "PageSize", "PageToken", "Filter", }); + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor, + new java.lang.String[] { "Inventories", "NextPageToken", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.type.DateProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventory.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventory.java similarity index 70% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventory.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventory.java index 07ce412a..5f57c76c 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventory.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventory.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1alpha/inventory.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * This API resource represents the available inventory data for a
  * Compute Engine virtual machine (VM) instance at a given point in time.
@@ -31,31 +14,31 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory}
  */
-public final class Inventory extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Inventory extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory)
     InventoryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Inventory.newBuilder() to construct.
   private Inventory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Inventory() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Inventory();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Inventory(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,68 +58,58 @@ private Inventory(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder subBuilder = null;
-              if (osInfo_ != null) {
-                subBuilder = osInfo_.toBuilder();
-              }
-              osInfo_ =
-                  input.readMessage(
-                      com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(osInfo_);
-                osInfo_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder subBuilder = null;
+            if (osInfo_ != null) {
+              subBuilder = osInfo_.toBuilder();
             }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                items_ =
-                    com.google.protobuf.MapField.newMapField(ItemsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry<
-                      java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item>
-                  items__ =
-                      input.readMessage(
-                          ItemsDefaultEntryHolder.defaultEntry.getParserForType(),
-                          extensionRegistry);
-              items_.getMutableMap().put(items__.getKey(), items__.getValue());
-              break;
+            osInfo_ = input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(osInfo_);
+              osInfo_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              items_ = com.google.protobuf.MapField.newMapField(
+                  ItemsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 34:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
+            com.google.protobuf.MapEntry
+            items__ = input.readMessage(
+                ItemsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            items_.getMutableMap().put(
+                items__.getKey(), items__.getValue());
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              break;
+            name_ = s;
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -144,72 +117,63 @@ private Inventory(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.Inventories
-        .internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 2:
         return internalGetItems();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.Inventories
-        .internal_static_google_cloud_osconfig_v1alpha_Inventory_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.Inventory.class,
-            com.google.cloud.osconfig.v1alpha.Inventory.Builder.class);
+            com.google.cloud.osconfig.v1alpha.Inventory.class, com.google.cloud.osconfig.v1alpha.Inventory.Builder.class);
   }
 
-  public interface OsInfoOrBuilder
-      extends
+  public interface OsInfoOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory.OsInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The VM hostname.
      * 
* * string hostname = 9; - * * @return The hostname. */ java.lang.String getHostname(); /** - * - * *
      * The VM hostname.
      * 
* * string hostname = 9; - * * @return The bytes for hostname. */ - com.google.protobuf.ByteString getHostnameBytes(); + com.google.protobuf.ByteString + getHostnameBytes(); /** - * - * *
      * The operating system long name.
      * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -217,13 +181,10 @@ public interface OsInfoOrBuilder
      * 
* * string long_name = 2; - * * @return The longName. */ java.lang.String getLongName(); /** - * - * *
      * The operating system long name.
      * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -231,182 +192,149 @@ public interface OsInfoOrBuilder
      * 
* * string long_name = 2; - * * @return The bytes for longName. */ - com.google.protobuf.ByteString getLongNameBytes(); + com.google.protobuf.ByteString + getLongNameBytes(); /** - * - * *
      * The operating system short name.
      * For example, 'windows' or 'debian'.
      * 
* * string short_name = 3; - * * @return The shortName. */ java.lang.String getShortName(); /** - * - * *
      * The operating system short name.
      * For example, 'windows' or 'debian'.
      * 
* * string short_name = 3; - * * @return The bytes for shortName. */ - com.google.protobuf.ByteString getShortNameBytes(); + com.google.protobuf.ByteString + getShortNameBytes(); /** - * - * *
      * The version of the operating system.
      * 
* * string version = 4; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
      * The version of the operating system.
      * 
* * string version = 4; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
      * The system architecture of the operating system.
      * 
* * string architecture = 5; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
      * The system architecture of the operating system.
      * 
* * string architecture = 5; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); /** - * - * *
      * The kernel version of the operating system.
      * 
* * string kernel_version = 6; - * * @return The kernelVersion. */ java.lang.String getKernelVersion(); /** - * - * *
      * The kernel version of the operating system.
      * 
* * string kernel_version = 6; - * * @return The bytes for kernelVersion. */ - com.google.protobuf.ByteString getKernelVersionBytes(); + com.google.protobuf.ByteString + getKernelVersionBytes(); /** - * - * *
      * The kernel release of the operating system.
      * 
* * string kernel_release = 7; - * * @return The kernelRelease. */ java.lang.String getKernelRelease(); /** - * - * *
      * The kernel release of the operating system.
      * 
* * string kernel_release = 7; - * * @return The bytes for kernelRelease. */ - com.google.protobuf.ByteString getKernelReleaseBytes(); + com.google.protobuf.ByteString + getKernelReleaseBytes(); /** - * - * *
      * The current version of the OS Config agent running on the VM.
      * 
* * string osconfig_agent_version = 8; - * * @return The osconfigAgentVersion. */ java.lang.String getOsconfigAgentVersion(); /** - * - * *
      * The current version of the OS Config agent running on the VM.
      * 
* * string osconfig_agent_version = 8; - * * @return The bytes for osconfigAgentVersion. */ - com.google.protobuf.ByteString getOsconfigAgentVersionBytes(); + com.google.protobuf.ByteString + getOsconfigAgentVersionBytes(); } /** - * - * *
    * Operating system information for the VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.OsInfo} */ - public static final class OsInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class OsInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory.OsInfo) OsInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OsInfo.newBuilder() to construct. private OsInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OsInfo() { hostname_ = ""; longName_ = ""; @@ -420,15 +348,16 @@ private OsInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OsInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OsInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -447,69 +376,61 @@ private OsInfo( case 0: done = true; break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - longName_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + longName_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - shortName_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + shortName_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + architecture_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - kernelVersion_ = s; - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + kernelVersion_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); - kernelRelease_ = s; - break; - } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); + kernelRelease_ = s; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); - osconfigAgentVersion_ = s; - break; - } - case 74: - { - java.lang.String s = input.readStringRequireUtf8(); + osconfigAgentVersion_ = s; + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); - hostname_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + hostname_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -517,39 +438,34 @@ private OsInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.class, - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.class, com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder.class); } public static final int HOSTNAME_FIELD_NUMBER = 9; private volatile java.lang.Object hostname_; /** - * - * *
      * The VM hostname.
      * 
* * string hostname = 9; - * * @return The hostname. */ @java.lang.Override @@ -558,29 +474,29 @@ public java.lang.String getHostname() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; } } /** - * - * *
      * The VM hostname.
      * 
* * string hostname = 9; - * * @return The bytes for hostname. */ @java.lang.Override - public com.google.protobuf.ByteString getHostnameBytes() { + public com.google.protobuf.ByteString + getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostname_ = b; return b; } else { @@ -591,8 +507,6 @@ public com.google.protobuf.ByteString getHostnameBytes() { public static final int LONG_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object longName_; /** - * - * *
      * The operating system long name.
      * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -600,7 +514,6 @@ public com.google.protobuf.ByteString getHostnameBytes() {
      * 
* * string long_name = 2; - * * @return The longName. */ @java.lang.Override @@ -609,15 +522,14 @@ public java.lang.String getLongName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); longName_ = s; return s; } } /** - * - * *
      * The operating system long name.
      * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -625,15 +537,16 @@ public java.lang.String getLongName() {
      * 
* * string long_name = 2; - * * @return The bytes for longName. */ @java.lang.Override - public com.google.protobuf.ByteString getLongNameBytes() { + public com.google.protobuf.ByteString + getLongNameBytes() { java.lang.Object ref = longName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); longName_ = b; return b; } else { @@ -644,15 +557,12 @@ public com.google.protobuf.ByteString getLongNameBytes() { public static final int SHORT_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object shortName_; /** - * - * *
      * The operating system short name.
      * For example, 'windows' or 'debian'.
      * 
* * string short_name = 3; - * * @return The shortName. */ @java.lang.Override @@ -661,30 +571,30 @@ public java.lang.String getShortName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); shortName_ = s; return s; } } /** - * - * *
      * The operating system short name.
      * For example, 'windows' or 'debian'.
      * 
* * string short_name = 3; - * * @return The bytes for shortName. */ @java.lang.Override - public com.google.protobuf.ByteString getShortNameBytes() { + public com.google.protobuf.ByteString + getShortNameBytes() { java.lang.Object ref = shortName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); shortName_ = b; return b; } else { @@ -695,14 +605,11 @@ public com.google.protobuf.ByteString getShortNameBytes() { public static final int VERSION_FIELD_NUMBER = 4; private volatile java.lang.Object version_; /** - * - * *
      * The version of the operating system.
      * 
* * string version = 4; - * * @return The version. */ @java.lang.Override @@ -711,29 +618,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
      * The version of the operating system.
      * 
* * string version = 4; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -744,14 +651,11 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int ARCHITECTURE_FIELD_NUMBER = 5; private volatile java.lang.Object architecture_; /** - * - * *
      * The system architecture of the operating system.
      * 
* * string architecture = 5; - * * @return The architecture. */ @java.lang.Override @@ -760,29 +664,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
      * The system architecture of the operating system.
      * 
* * string architecture = 5; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -793,14 +697,11 @@ public com.google.protobuf.ByteString getArchitectureBytes() { public static final int KERNEL_VERSION_FIELD_NUMBER = 6; private volatile java.lang.Object kernelVersion_; /** - * - * *
      * The kernel version of the operating system.
      * 
* * string kernel_version = 6; - * * @return The kernelVersion. */ @java.lang.Override @@ -809,29 +710,29 @@ public java.lang.String getKernelVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kernelVersion_ = s; return s; } } /** - * - * *
      * The kernel version of the operating system.
      * 
* * string kernel_version = 6; - * * @return The bytes for kernelVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getKernelVersionBytes() { + public com.google.protobuf.ByteString + getKernelVersionBytes() { java.lang.Object ref = kernelVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kernelVersion_ = b; return b; } else { @@ -842,14 +743,11 @@ public com.google.protobuf.ByteString getKernelVersionBytes() { public static final int KERNEL_RELEASE_FIELD_NUMBER = 7; private volatile java.lang.Object kernelRelease_; /** - * - * *
      * The kernel release of the operating system.
      * 
* * string kernel_release = 7; - * * @return The kernelRelease. */ @java.lang.Override @@ -858,29 +756,29 @@ public java.lang.String getKernelRelease() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kernelRelease_ = s; return s; } } /** - * - * *
      * The kernel release of the operating system.
      * 
* * string kernel_release = 7; - * * @return The bytes for kernelRelease. */ @java.lang.Override - public com.google.protobuf.ByteString getKernelReleaseBytes() { + public com.google.protobuf.ByteString + getKernelReleaseBytes() { java.lang.Object ref = kernelRelease_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kernelRelease_ = b; return b; } else { @@ -891,14 +789,11 @@ public com.google.protobuf.ByteString getKernelReleaseBytes() { public static final int OSCONFIG_AGENT_VERSION_FIELD_NUMBER = 8; private volatile java.lang.Object osconfigAgentVersion_; /** - * - * *
      * The current version of the OS Config agent running on the VM.
      * 
* * string osconfig_agent_version = 8; - * * @return The osconfigAgentVersion. */ @java.lang.Override @@ -907,29 +802,29 @@ public java.lang.String getOsconfigAgentVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osconfigAgentVersion_ = s; return s; } } /** - * - * *
      * The current version of the OS Config agent running on the VM.
      * 
* * string osconfig_agent_version = 8; - * * @return The bytes for osconfigAgentVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getOsconfigAgentVersionBytes() { + public com.google.protobuf.ByteString + getOsconfigAgentVersionBytes() { java.lang.Object ref = osconfigAgentVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osconfigAgentVersion_ = b; return b; } else { @@ -938,7 +833,6 @@ public com.google.protobuf.ByteString getOsconfigAgentVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -950,7 +844,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(longName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, longName_); } @@ -1016,22 +911,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory.OsInfo)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo other = - (com.google.cloud.osconfig.v1alpha.Inventory.OsInfo) obj; - - if (!getHostname().equals(other.getHostname())) return false; - if (!getLongName().equals(other.getLongName())) return false; - if (!getShortName().equals(other.getShortName())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; - if (!getKernelVersion().equals(other.getKernelVersion())) return false; - if (!getKernelRelease().equals(other.getKernelRelease())) return false; - if (!getOsconfigAgentVersion().equals(other.getOsconfigAgentVersion())) return false; + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo other = (com.google.cloud.osconfig.v1alpha.Inventory.OsInfo) obj; + + if (!getHostname() + .equals(other.getHostname())) return false; + if (!getLongName() + .equals(other.getLongName())) return false; + if (!getShortName() + .equals(other.getShortName())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; + if (!getKernelVersion() + .equals(other.getKernelVersion())) return false; + if (!getKernelRelease() + .equals(other.getKernelRelease())) return false; + if (!getOsconfigAgentVersion() + .equals(other.getOsconfigAgentVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1065,93 +967,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo 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.osconfig.v1alpha.Inventory.OsInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory.OsInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1161,32 +1057,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Operating system information for the VM.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.OsInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory.OsInfo) com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.class, - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.class, com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.newBuilder() @@ -1194,15 +1085,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1226,9 +1118,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor; } @java.lang.Override @@ -1247,8 +1139,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.OsInfo build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.OsInfo buildPartial() { - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo result = - new com.google.cloud.osconfig.v1alpha.Inventory.OsInfo(this); + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo result = new com.google.cloud.osconfig.v1alpha.Inventory.OsInfo(this); result.hostname_ = hostname_; result.longName_ = longName_; result.shortName_ = shortName_; @@ -1265,41 +1156,38 @@ public com.google.cloud.osconfig.v1alpha.Inventory.OsInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.Inventory.OsInfo) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.OsInfo) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.OsInfo)other); } else { super.mergeFrom(other); return this; @@ -1307,8 +1195,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.OsInfo other) { - if (other == com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.getDefaultInstance()) return this; if (!other.getHostname().isEmpty()) { hostname_ = other.hostname_; onChanged(); @@ -1360,8 +1247,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.Inventory.OsInfo) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.Inventory.OsInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1373,20 +1259,18 @@ public Builder mergeFrom( private java.lang.Object hostname_ = ""; /** - * - * *
        * The VM hostname.
        * 
* * string hostname = 9; - * * @return The hostname. */ public java.lang.String getHostname() { java.lang.Object ref = hostname_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; @@ -1395,21 +1279,20 @@ public java.lang.String getHostname() { } } /** - * - * *
        * The VM hostname.
        * 
* * string hostname = 9; - * * @return The bytes for hostname. */ - public com.google.protobuf.ByteString getHostnameBytes() { + public com.google.protobuf.ByteString + getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostname_ = b; return b; } else { @@ -1417,61 +1300,54 @@ public com.google.protobuf.ByteString getHostnameBytes() { } } /** - * - * *
        * The VM hostname.
        * 
* * string hostname = 9; - * * @param value The hostname to set. * @return This builder for chaining. */ - public Builder setHostname(java.lang.String value) { + public Builder setHostname( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hostname_ = value; onChanged(); return this; } /** - * - * *
        * The VM hostname.
        * 
* * string hostname = 9; - * * @return This builder for chaining. */ public Builder clearHostname() { - + hostname_ = getDefaultInstance().getHostname(); onChanged(); return this; } /** - * - * *
        * The VM hostname.
        * 
* * string hostname = 9; - * * @param value The bytes for hostname to set. * @return This builder for chaining. */ - public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + public Builder setHostnameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; onChanged(); return this; @@ -1479,8 +1355,6 @@ public Builder setHostnameBytes(com.google.protobuf.ByteString value) { private java.lang.Object longName_ = ""; /** - * - * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1488,13 +1362,13 @@ public Builder setHostnameBytes(com.google.protobuf.ByteString value) {
        * 
* * string long_name = 2; - * * @return The longName. */ public java.lang.String getLongName() { java.lang.Object ref = longName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); longName_ = s; return s; @@ -1503,8 +1377,6 @@ public java.lang.String getLongName() { } } /** - * - * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1512,14 +1384,15 @@ public java.lang.String getLongName() {
        * 
* * string long_name = 2; - * * @return The bytes for longName. */ - public com.google.protobuf.ByteString getLongNameBytes() { + public com.google.protobuf.ByteString + getLongNameBytes() { java.lang.Object ref = longName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); longName_ = b; return b; } else { @@ -1527,8 +1400,6 @@ public com.google.protobuf.ByteString getLongNameBytes() { } } /** - * - * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1536,22 +1407,20 @@ public com.google.protobuf.ByteString getLongNameBytes() {
        * 
* * string long_name = 2; - * * @param value The longName to set. * @return This builder for chaining. */ - public Builder setLongName(java.lang.String value) { + public Builder setLongName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + longName_ = value; onChanged(); return this; } /** - * - * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1559,18 +1428,15 @@ public Builder setLongName(java.lang.String value) {
        * 
* * string long_name = 2; - * * @return This builder for chaining. */ public Builder clearLongName() { - + longName_ = getDefaultInstance().getLongName(); onChanged(); return this; } /** - * - * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1578,16 +1444,16 @@ public Builder clearLongName() {
        * 
* * string long_name = 2; - * * @param value The bytes for longName to set. * @return This builder for chaining. */ - public Builder setLongNameBytes(com.google.protobuf.ByteString value) { + public Builder setLongNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + longName_ = value; onChanged(); return this; @@ -1595,21 +1461,19 @@ public Builder setLongNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object shortName_ = ""; /** - * - * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; - * * @return The shortName. */ public java.lang.String getShortName() { java.lang.Object ref = shortName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); shortName_ = s; return s; @@ -1618,22 +1482,21 @@ public java.lang.String getShortName() { } } /** - * - * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; - * * @return The bytes for shortName. */ - public com.google.protobuf.ByteString getShortNameBytes() { + public com.google.protobuf.ByteString + getShortNameBytes() { java.lang.Object ref = shortName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); shortName_ = b; return b; } else { @@ -1641,64 +1504,57 @@ public com.google.protobuf.ByteString getShortNameBytes() { } } /** - * - * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; - * * @param value The shortName to set. * @return This builder for chaining. */ - public Builder setShortName(java.lang.String value) { + public Builder setShortName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + shortName_ = value; onChanged(); return this; } /** - * - * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; - * * @return This builder for chaining. */ public Builder clearShortName() { - + shortName_ = getDefaultInstance().getShortName(); onChanged(); return this; } /** - * - * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; - * * @param value The bytes for shortName to set. * @return This builder for chaining. */ - public Builder setShortNameBytes(com.google.protobuf.ByteString value) { + public Builder setShortNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + shortName_ = value; onChanged(); return this; @@ -1706,20 +1562,18 @@ public Builder setShortNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
        * The version of the operating system.
        * 
* * string version = 4; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1728,21 +1582,20 @@ public java.lang.String getVersion() { } } /** - * - * *
        * The version of the operating system.
        * 
* * string version = 4; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -1750,61 +1603,54 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
        * The version of the operating system.
        * 
* * string version = 4; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
        * The version of the operating system.
        * 
* * string version = 4; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
        * The version of the operating system.
        * 
* * string version = 4; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1812,20 +1658,18 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object architecture_ = ""; /** - * - * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1834,21 +1678,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -1856,61 +1699,54 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1918,20 +1754,18 @@ public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { private java.lang.Object kernelVersion_ = ""; /** - * - * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; - * * @return The kernelVersion. */ public java.lang.String getKernelVersion() { java.lang.Object ref = kernelVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kernelVersion_ = s; return s; @@ -1940,21 +1774,20 @@ public java.lang.String getKernelVersion() { } } /** - * - * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; - * * @return The bytes for kernelVersion. */ - public com.google.protobuf.ByteString getKernelVersionBytes() { + public com.google.protobuf.ByteString + getKernelVersionBytes() { java.lang.Object ref = kernelVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kernelVersion_ = b; return b; } else { @@ -1962,61 +1795,54 @@ public com.google.protobuf.ByteString getKernelVersionBytes() { } } /** - * - * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; - * * @param value The kernelVersion to set. * @return This builder for chaining. */ - public Builder setKernelVersion(java.lang.String value) { + public Builder setKernelVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kernelVersion_ = value; onChanged(); return this; } /** - * - * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; - * * @return This builder for chaining. */ public Builder clearKernelVersion() { - + kernelVersion_ = getDefaultInstance().getKernelVersion(); onChanged(); return this; } /** - * - * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; - * * @param value The bytes for kernelVersion to set. * @return This builder for chaining. */ - public Builder setKernelVersionBytes(com.google.protobuf.ByteString value) { + public Builder setKernelVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kernelVersion_ = value; onChanged(); return this; @@ -2024,20 +1850,18 @@ public Builder setKernelVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object kernelRelease_ = ""; /** - * - * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; - * * @return The kernelRelease. */ public java.lang.String getKernelRelease() { java.lang.Object ref = kernelRelease_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kernelRelease_ = s; return s; @@ -2046,21 +1870,20 @@ public java.lang.String getKernelRelease() { } } /** - * - * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; - * * @return The bytes for kernelRelease. */ - public com.google.protobuf.ByteString getKernelReleaseBytes() { + public com.google.protobuf.ByteString + getKernelReleaseBytes() { java.lang.Object ref = kernelRelease_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kernelRelease_ = b; return b; } else { @@ -2068,61 +1891,54 @@ public com.google.protobuf.ByteString getKernelReleaseBytes() { } } /** - * - * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; - * * @param value The kernelRelease to set. * @return This builder for chaining. */ - public Builder setKernelRelease(java.lang.String value) { + public Builder setKernelRelease( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kernelRelease_ = value; onChanged(); return this; } /** - * - * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; - * * @return This builder for chaining. */ public Builder clearKernelRelease() { - + kernelRelease_ = getDefaultInstance().getKernelRelease(); onChanged(); return this; } /** - * - * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; - * * @param value The bytes for kernelRelease to set. * @return This builder for chaining. */ - public Builder setKernelReleaseBytes(com.google.protobuf.ByteString value) { + public Builder setKernelReleaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kernelRelease_ = value; onChanged(); return this; @@ -2130,20 +1946,18 @@ public Builder setKernelReleaseBytes(com.google.protobuf.ByteString value) { private java.lang.Object osconfigAgentVersion_ = ""; /** - * - * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; - * * @return The osconfigAgentVersion. */ public java.lang.String getOsconfigAgentVersion() { java.lang.Object ref = osconfigAgentVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osconfigAgentVersion_ = s; return s; @@ -2152,21 +1966,20 @@ public java.lang.String getOsconfigAgentVersion() { } } /** - * - * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; - * * @return The bytes for osconfigAgentVersion. */ - public com.google.protobuf.ByteString getOsconfigAgentVersionBytes() { + public com.google.protobuf.ByteString + getOsconfigAgentVersionBytes() { java.lang.Object ref = osconfigAgentVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osconfigAgentVersion_ = b; return b; } else { @@ -2174,66 +1987,58 @@ public com.google.protobuf.ByteString getOsconfigAgentVersionBytes() { } } /** - * - * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; - * * @param value The osconfigAgentVersion to set. * @return This builder for chaining. */ - public Builder setOsconfigAgentVersion(java.lang.String value) { + public Builder setOsconfigAgentVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osconfigAgentVersion_ = value; onChanged(); return this; } /** - * - * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; - * * @return This builder for chaining. */ public Builder clearOsconfigAgentVersion() { - + osconfigAgentVersion_ = getDefaultInstance().getOsconfigAgentVersion(); onChanged(); return this; } /** - * - * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; - * * @param value The bytes for osconfigAgentVersion to set. * @return This builder for chaining. */ - public Builder setOsconfigAgentVersionBytes(com.google.protobuf.ByteString value) { + public Builder setOsconfigAgentVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osconfigAgentVersion_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2246,12 +2051,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory.OsInfo) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory.OsInfo) private static final com.google.cloud.osconfig.v1alpha.Inventory.OsInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory.OsInfo(); } @@ -2260,16 +2065,16 @@ public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OsInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OsInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OsInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OsInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2284,90 +2089,71 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.Inventory.OsInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ItemOrBuilder - extends + public interface ItemOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory.Item) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Identifier for this item, unique across items for this VM.
      * 
* * string id = 1; - * * @return The id. */ java.lang.String getId(); /** - * - * *
      * Identifier for this item, unique across items for this VM.
      * 
* * string id = 1; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
      * The origin of this inventory item.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2; - * * @return The enum numeric value on the wire for originType. */ int getOriginTypeValue(); /** - * - * *
      * The origin of this inventory item.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2; - * * @return The originType. */ com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType getOriginType(); /** - * - * *
      * When this inventory item was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 8; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
      * When this inventory item was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 8; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
      * When this inventory item was first detected.
      * 
@@ -2377,32 +2163,24 @@ public interface ItemOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
      * When this inventory item was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 9; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
      * When this inventory item was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 9; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
      * When this inventory item was last modified.
      * 
@@ -2412,123 +2190,96 @@ public interface ItemOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
      * The specific type of inventory, correlating to its specific details.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * The specific type of inventory, correlating to its specific details.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5; - * * @return The type. */ com.google.cloud.osconfig.v1alpha.Inventory.Item.Type getType(); /** - * - * *
      * Software package present on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; - * * @return Whether the installedPackage field is set. */ boolean hasInstalledPackage(); /** - * - * *
      * Software package present on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; - * * @return The installedPackage. */ com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getInstalledPackage(); /** - * - * *
      * Software package present on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; */ - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder - getInstalledPackageOrBuilder(); + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder getInstalledPackageOrBuilder(); /** - * - * *
      * Software package available to be installed on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; - * * @return Whether the availablePackage field is set. */ boolean hasAvailablePackage(); /** - * - * *
      * Software package available to be installed on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; - * * @return The availablePackage. */ com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getAvailablePackage(); /** - * - * *
      * Software package available to be installed on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; */ - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder - getAvailablePackageOrBuilder(); + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder getAvailablePackageOrBuilder(); public com.google.cloud.osconfig.v1alpha.Inventory.Item.DetailsCase getDetailsCase(); } /** - * - * *
    * A single piece of inventory on a VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.Item} */ - public static final class Item extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Item extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory.Item) ItemOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Item.newBuilder() to construct. private Item(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Item() { id_ = ""; originType_ = 0; @@ -2537,15 +2288,16 @@ private Item() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Item(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Item( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2564,106 +2316,85 @@ private Item( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + id_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - originType_ = rawValue; - break; - } - case 40: - { - int rawValue = input.readEnum(); + originType_ = rawValue; + break; + } + case 40: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; + type_ = rawValue; + break; + } + case 50: { + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder subBuilder = null; + if (detailsCase_ == 6) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_).toBuilder(); } - case 50: - { - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder subBuilder = - null; - if (detailsCase_ == 6) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 6; - break; + details_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); + details_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder subBuilder = - null; - if (detailsCase_ == 7) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 7; - break; + detailsCase_ = 6; + break; + } + case 58: { + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder subBuilder = null; + if (detailsCase_ == 7) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_).toBuilder(); } - case 66: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + details_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 7; + break; + } + case 66: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 74: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 74: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2671,41 +2402,36 @@ private Item( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.Item.class, - com.google.cloud.osconfig.v1alpha.Inventory.Item.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.Item.class, com.google.cloud.osconfig.v1alpha.Inventory.Item.Builder.class); } /** - * - * *
      * The origin of a specific inventory item.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1alpha.Inventory.Item.OriginType} */ - public enum OriginType implements com.google.protobuf.ProtocolMessageEnum { + public enum OriginType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Invalid. An origin type must be specified.
        * 
@@ -2714,8 +2440,6 @@ public enum OriginType implements com.google.protobuf.ProtocolMessageEnum { */ ORIGIN_TYPE_UNSPECIFIED(0), /** - * - * *
        * This inventory item was discovered as the result of the agent
        * reporting inventory via the reporting API.
@@ -2728,8 +2452,6 @@ public enum OriginType implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Invalid. An origin type must be specified.
        * 
@@ -2738,8 +2460,6 @@ public enum OriginType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ORIGIN_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * This inventory item was discovered as the result of the agent
        * reporting inventory via the reporting API.
@@ -2749,6 +2469,7 @@ public enum OriginType implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int INVENTORY_REPORT_VALUE = 1;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -2773,49 +2494,48 @@ public static OriginType valueOf(int value) {
        */
       public static OriginType forNumber(int value) {
         switch (value) {
-          case 0:
-            return ORIGIN_TYPE_UNSPECIFIED;
-          case 1:
-            return INVENTORY_REPORT;
-          default:
-            return null;
+          case 0: return ORIGIN_TYPE_UNSPECIFIED;
+          case 1: return INVENTORY_REPORT;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          OriginType> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public OriginType findValueByNumber(int number) {
+                return OriginType.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public OriginType findValueByNumber(int number) {
-              return OriginType.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.Inventory.Item.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.Inventory.Item.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final OriginType[] VALUES = values();
 
-      public static OriginType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static OriginType valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -2833,18 +2553,15 @@ private OriginType(int value) {
     }
 
     /**
-     *
-     *
      * 
      * The different types of inventory that are tracked on a VM.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1alpha.Inventory.Item.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Invalid. An type must be specified.
        * 
@@ -2853,8 +2570,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
        * This represents a package that is installed on the VM.
        * 
@@ -2863,8 +2578,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ INSTALLED_PACKAGE(1), /** - * - * *
        * This represents an update that is available for a package.
        * 
@@ -2876,8 +2589,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Invalid. An type must be specified.
        * 
@@ -2886,8 +2597,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * This represents a package that is installed on the VM.
        * 
@@ -2896,8 +2605,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTALLED_PACKAGE_VALUE = 1; /** - * - * *
        * This represents an update that is available for a package.
        * 
@@ -2906,6 +2613,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AVAILABLE_PACKAGE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2930,51 +2638,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return INSTALLED_PACKAGE; - case 2: - return AVAILABLE_PACKAGE; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return INSTALLED_PACKAGE; + case 2: return AVAILABLE_PACKAGE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventory.Item.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventory.Item.getDescriptor().getEnumTypes().get(1); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -2993,16 +2699,13 @@ private Type(int value) { private int detailsCase_ = 0; private java.lang.Object details_; - public enum DetailsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INSTALLED_PACKAGE(6), AVAILABLE_PACKAGE(7), DETAILS_NOT_SET(0); private final int value; - private DetailsCase(int value) { this.value = value; } @@ -3018,37 +2721,31 @@ public static DetailsCase valueOf(int value) { public static DetailsCase forNumber(int value) { switch (value) { - case 6: - return INSTALLED_PACKAGE; - case 7: - return AVAILABLE_PACKAGE; - case 0: - return DETAILS_NOT_SET; - default: - return null; + case 6: return INSTALLED_PACKAGE; + case 7: return AVAILABLE_PACKAGE; + case 0: return DETAILS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DetailsCase getDetailsCase() { - return DetailsCase.forNumber(detailsCase_); + public DetailsCase + getDetailsCase() { + return DetailsCase.forNumber( + detailsCase_); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** - * - * *
      * Identifier for this item, unique across items for this VM.
      * 
* * string id = 1; - * * @return The id. */ @java.lang.Override @@ -3057,29 +2754,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
      * Identifier for this item, unique across items for this VM.
      * 
* * string id = 1; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -3090,52 +2787,38 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int ORIGIN_TYPE_FIELD_NUMBER = 2; private int originType_; /** - * - * *
      * The origin of this inventory item.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2; - * * @return The enum numeric value on the wire for originType. */ - @java.lang.Override - public int getOriginTypeValue() { + @java.lang.Override public int getOriginTypeValue() { return originType_; } /** - * - * *
      * The origin of this inventory item.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2; - * * @return The originType. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType getOriginType() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType getOriginType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType result = - com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.valueOf(originType_); - return result == null - ? com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType result = com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.valueOf(originType_); + return result == null ? com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp createTime_; /** - * - * *
      * When this inventory item was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 8; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -3143,14 +2826,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
      * When this inventory item was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 8; - * * @return The createTime. */ @java.lang.Override @@ -3158,8 +2838,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
      * When this inventory item was first detected.
      * 
@@ -3174,14 +2852,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
      * When this inventory item was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 9; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -3189,14 +2864,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
      * When this inventory item was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 9; - * * @return The updateTime. */ @java.lang.Override @@ -3204,8 +2876,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
      * When this inventory item was last modified.
      * 
@@ -3220,51 +2890,37 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int TYPE_FIELD_NUMBER = 5; private int type_; /** - * - * *
      * The specific type of inventory, correlating to its specific details.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The specific type of inventory, correlating to its specific details.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.Item.Type getType() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.Item.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.Inventory.Item.Type result = - com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.valueOf(type_); - return result == null - ? com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.Inventory.Item.Type result = com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.valueOf(type_); + return result == null ? com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.UNRECOGNIZED : result; } public static final int INSTALLED_PACKAGE_FIELD_NUMBER = 6; /** - * - * *
      * Software package present on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; - * * @return Whether the installedPackage field is set. */ @java.lang.Override @@ -3272,26 +2928,21 @@ public boolean hasInstalledPackage() { return detailsCase_ == 6; } /** - * - * *
      * Software package present on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; - * * @return The installedPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getInstalledPackage() { if (detailsCase_ == 6) { - return (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance(); } /** - * - * *
      * Software package present on the VM instance.
      * 
@@ -3299,24 +2950,20 @@ public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getInstalledP * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder - getInstalledPackageOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder getInstalledPackageOrBuilder() { if (detailsCase_ == 6) { - return (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance(); } public static final int AVAILABLE_PACKAGE_FIELD_NUMBER = 7; /** - * - * *
      * Software package available to be installed on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; - * * @return Whether the availablePackage field is set. */ @java.lang.Override @@ -3324,26 +2971,21 @@ public boolean hasAvailablePackage() { return detailsCase_ == 7; } /** - * - * *
      * Software package available to be installed on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; - * * @return The availablePackage. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getAvailablePackage() { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance(); } /** - * - * *
      * Software package available to be installed on the VM instance.
      * 
@@ -3351,16 +2993,14 @@ public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getAvailableP * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder - getAvailablePackageOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder getAvailablePackageOrBuilder() { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3372,26 +3012,22 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } - if (originType_ - != com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.ORIGIN_TYPE_UNSPECIFIED - .getNumber()) { + if (originType_ != com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.ORIGIN_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, originType_); } - if (type_ - != com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.TYPE_UNSPECIFIED.getNumber()) { + if (type_ != com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, type_); } if (detailsCase_ == 6) { - output.writeMessage( - 6, (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); + output.writeMessage(6, (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); } if (detailsCase_ == 7) { - output.writeMessage( - 7, (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); + output.writeMessage(7, (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); } if (createTime_ != null) { output.writeMessage(8, getCreateTime()); @@ -3411,30 +3047,29 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } - if (originType_ - != com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.ORIGIN_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, originType_); + if (originType_ != com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.ORIGIN_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, originType_); } - if (type_ - != com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_); + if (type_ != com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, type_); } if (detailsCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); } if (detailsCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3444,32 +3079,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory.Item)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory.Item other = - (com.google.cloud.osconfig.v1alpha.Inventory.Item) obj; + com.google.cloud.osconfig.v1alpha.Inventory.Item other = (com.google.cloud.osconfig.v1alpha.Inventory.Item) obj; - if (!getId().equals(other.getId())) return false; + if (!getId() + .equals(other.getId())) return false; if (originType_ != other.originType_) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (type_ != other.type_) return false; if (!getDetailsCase().equals(other.getDetailsCase())) return false; switch (detailsCase_) { case 6: - if (!getInstalledPackage().equals(other.getInstalledPackage())) return false; + if (!getInstalledPackage() + .equals(other.getInstalledPackage())) return false; break; case 7: - if (!getAvailablePackage().equals(other.getAvailablePackage())) return false; + if (!getAvailablePackage() + .equals(other.getAvailablePackage())) return false; break; case 0: default: @@ -3517,93 +3156,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.Item 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.osconfig.v1alpha.Inventory.Item parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory.Item prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3613,32 +3246,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A single piece of inventory on a VM.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.Item} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory.Item) com.google.cloud.osconfig.v1alpha.Inventory.ItemOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.Item.class, - com.google.cloud.osconfig.v1alpha.Inventory.Item.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.Item.class, com.google.cloud.osconfig.v1alpha.Inventory.Item.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.Inventory.Item.newBuilder() @@ -3646,15 +3274,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3682,9 +3311,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor; } @java.lang.Override @@ -3703,8 +3332,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.Item build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.Item buildPartial() { - com.google.cloud.osconfig.v1alpha.Inventory.Item result = - new com.google.cloud.osconfig.v1alpha.Inventory.Item(this); + com.google.cloud.osconfig.v1alpha.Inventory.Item result = new com.google.cloud.osconfig.v1alpha.Inventory.Item(this); result.id_ = id_; result.originType_ = originType_; if (createTimeBuilder_ == null) { @@ -3741,41 +3369,38 @@ public com.google.cloud.osconfig.v1alpha.Inventory.Item buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.Inventory.Item) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.Item) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.Item)other); } else { super.mergeFrom(other); return this; @@ -3783,8 +3408,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.Item other) { - if (other == com.google.cloud.osconfig.v1alpha.Inventory.Item.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1alpha.Inventory.Item.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); @@ -3802,20 +3426,17 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.Item other) setTypeValue(other.getTypeValue()); } switch (other.getDetailsCase()) { - case INSTALLED_PACKAGE: - { - mergeInstalledPackage(other.getInstalledPackage()); - break; - } - case AVAILABLE_PACKAGE: - { - mergeAvailablePackage(other.getAvailablePackage()); - break; - } - case DETAILS_NOT_SET: - { - break; - } + case INSTALLED_PACKAGE: { + mergeInstalledPackage(other.getInstalledPackage()); + break; + } + case AVAILABLE_PACKAGE: { + mergeAvailablePackage(other.getAvailablePackage()); + break; + } + case DETAILS_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -3836,8 +3457,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.Inventory.Item) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.Inventory.Item) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3846,12 +3466,12 @@ public Builder mergeFrom( } return this; } - private int detailsCase_ = 0; private java.lang.Object details_; - - public DetailsCase getDetailsCase() { - return DetailsCase.forNumber(detailsCase_); + public DetailsCase + getDetailsCase() { + return DetailsCase.forNumber( + detailsCase_); } public Builder clearDetails() { @@ -3861,22 +3481,21 @@ public Builder clearDetails() { return this; } + private java.lang.Object id_ = ""; /** - * - * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -3885,21 +3504,20 @@ public java.lang.String getId() { } } /** - * - * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -3907,61 +3525,54 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -3969,93 +3580,73 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private int originType_ = 0; /** - * - * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2; - * * @return The enum numeric value on the wire for originType. */ - @java.lang.Override - public int getOriginTypeValue() { + @java.lang.Override public int getOriginTypeValue() { return originType_; } /** - * - * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2; - * * @param value The enum numeric value on the wire for originType to set. * @return This builder for chaining. */ public Builder setOriginTypeValue(int value) { - + originType_ = value; onChanged(); return this; } /** - * - * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2; - * * @return The originType. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType getOriginType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType result = - com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.valueOf(originType_); - return result == null - ? com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType result = com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.valueOf(originType_); + return result == null ? com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.UNRECOGNIZED : result; } /** - * - * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2; - * * @param value The originType to set. * @return This builder for chaining. */ - public Builder setOriginType( - com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType value) { + public Builder setOriginType(com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType value) { if (value == null) { throw new NullPointerException(); } - + originType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2; - * * @return This builder for chaining. */ public Builder clearOriginType() { - + originType_ = 0; onChanged(); return this; @@ -4063,47 +3654,34 @@ public Builder clearOriginType() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
        * When this inventory item was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 8; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
        * When this inventory item was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 8; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
        * When this inventory item was first detected.
        * 
@@ -4124,15 +3702,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * When this inventory item was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 8; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -4143,8 +3720,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * When this inventory item was first detected.
        * 
@@ -4155,9 +3730,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -4169,8 +3742,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * When this inventory item was first detected.
        * 
@@ -4189,8 +3760,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
        * When this inventory item was first detected.
        * 
@@ -4198,13 +3767,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 8; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * When this inventory item was first detected.
        * 
@@ -4215,14 +3782,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
        * When this inventory item was first detected.
        * 
@@ -4230,17 +3794,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -4248,47 +3809,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
        * When this inventory item was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 9; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
        * When this inventory item was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 9; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
        * When this inventory item was last modified.
        * 
@@ -4309,15 +3857,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * When this inventory item was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 9; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -4328,8 +3875,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * When this inventory item was last modified.
        * 
@@ -4340,9 +3885,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -4354,8 +3897,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * When this inventory item was last modified.
        * 
@@ -4374,8 +3915,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
        * When this inventory item was last modified.
        * 
@@ -4383,13 +3922,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 9; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * When this inventory item was last modified.
        * 
@@ -4400,14 +3937,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
        * When this inventory item was last modified.
        * 
@@ -4415,17 +3949,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -4433,67 +3964,51 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private int type_ = 0; /** - * - * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5; - * * @return The type. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.Item.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.Inventory.Item.Type result = - com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.valueOf(type_); - return result == null - ? com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.Inventory.Item.Type result = com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.valueOf(type_); + return result == null ? com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.UNRECOGNIZED : result; } /** - * - * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5; - * * @param value The type to set. * @return This builder for chaining. */ @@ -4501,44 +4016,34 @@ public Builder setType(com.google.cloud.osconfig.v1alpha.Inventory.Item.Type val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder> - installedPackageBuilder_; + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder> installedPackageBuilder_; /** - * - * *
        * Software package present on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; * @return Whether the installedPackage field is set. */ @java.lang.Override @@ -4546,15 +4051,11 @@ public boolean hasInstalledPackage() { return detailsCase_ == 6; } /** - * - * *
        * Software package present on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; * @return The installedPackage. */ @java.lang.Override @@ -4572,17 +4073,13 @@ public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getInstalledP } } /** - * - * *
        * Software package present on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; - * + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; */ - public Builder setInstalledPackage( - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage value) { + public Builder setInstalledPackage(com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage value) { if (installedPackageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4596,14 +4093,11 @@ public Builder setInstalledPackage( return this; } /** - * - * *
        * Software package present on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; - * + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; */ public Builder setInstalledPackage( com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder builderForValue) { @@ -4617,27 +4111,18 @@ public Builder setInstalledPackage( return this; } /** - * - * *
        * Software package present on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; - * + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; */ - public Builder mergeInstalledPackage( - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage value) { + public Builder mergeInstalledPackage(com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage value) { if (installedPackageBuilder_ == null) { - if (detailsCase_ == 6 - && details_ - != com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage - .getDefaultInstance()) { - details_ = - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.newBuilder( - (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 6 && + details_ != com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance()) { + details_ = com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -4653,14 +4138,11 @@ public Builder mergeInstalledPackage( return this; } /** - * - * *
        * Software package present on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; - * + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; */ public Builder clearInstalledPackage() { if (installedPackageBuilder_ == null) { @@ -4679,32 +4161,24 @@ public Builder clearInstalledPackage() { return this; } /** - * - * *
        * Software package present on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; - * + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; */ - public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder - getInstalledPackageBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder getInstalledPackageBuilder() { return getInstalledPackageFieldBuilder().getBuilder(); } /** - * - * *
        * Software package present on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; - * + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder - getInstalledPackageOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder getInstalledPackageOrBuilder() { if ((detailsCase_ == 6) && (installedPackageBuilder_ != null)) { return installedPackageBuilder_.getMessageOrBuilder(); } else { @@ -4715,56 +4189,39 @@ public Builder clearInstalledPackage() { } } /** - * - * *
        * Software package present on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; - * + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder> + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder> getInstalledPackageFieldBuilder() { if (installedPackageBuilder_ == null) { if (!(detailsCase_ == 6)) { - details_ = - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance(); + details_ = com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance(); } - installedPackageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder>( + installedPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder>( (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 6; - onChanged(); - ; + onChanged();; return installedPackageBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder> - availablePackageBuilder_; + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder> availablePackageBuilder_; /** - * - * *
        * Software package available to be installed on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; * @return Whether the availablePackage field is set. */ @java.lang.Override @@ -4772,15 +4229,11 @@ public boolean hasAvailablePackage() { return detailsCase_ == 7; } /** - * - * *
        * Software package available to be installed on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; * @return The availablePackage. */ @java.lang.Override @@ -4798,17 +4251,13 @@ public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getAvailableP } } /** - * - * *
        * Software package available to be installed on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; - * + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; */ - public Builder setAvailablePackage( - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage value) { + public Builder setAvailablePackage(com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage value) { if (availablePackageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4822,14 +4271,11 @@ public Builder setAvailablePackage( return this; } /** - * - * *
        * Software package available to be installed on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; - * + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; */ public Builder setAvailablePackage( com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder builderForValue) { @@ -4843,27 +4289,18 @@ public Builder setAvailablePackage( return this; } /** - * - * *
        * Software package available to be installed on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; - * + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; */ - public Builder mergeAvailablePackage( - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage value) { + public Builder mergeAvailablePackage(com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage value) { if (availablePackageBuilder_ == null) { - if (detailsCase_ == 7 - && details_ - != com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage - .getDefaultInstance()) { - details_ = - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.newBuilder( - (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 7 && + details_ != com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance()) { + details_ = com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -4879,14 +4316,11 @@ public Builder mergeAvailablePackage( return this; } /** - * - * *
        * Software package available to be installed on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; - * + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; */ public Builder clearAvailablePackage() { if (availablePackageBuilder_ == null) { @@ -4905,32 +4339,24 @@ public Builder clearAvailablePackage() { return this; } /** - * - * *
        * Software package available to be installed on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; - * + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; */ - public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder - getAvailablePackageBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder getAvailablePackageBuilder() { return getAvailablePackageFieldBuilder().getBuilder(); } /** - * - * *
        * Software package available to be installed on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; - * + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder - getAvailablePackageOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder getAvailablePackageOrBuilder() { if ((detailsCase_ == 7) && (availablePackageBuilder_ != null)) { return availablePackageBuilder_.getMessageOrBuilder(); } else { @@ -4941,41 +4367,30 @@ public Builder clearAvailablePackage() { } } /** - * - * *
        * Software package available to be installed on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; - * + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder> + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder> getAvailablePackageFieldBuilder() { if (availablePackageBuilder_ == null) { if (!(detailsCase_ == 7)) { - details_ = - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance(); + details_ = com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance(); } - availablePackageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder>( + availablePackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder>( (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 7; - onChanged(); - ; + onChanged();; return availablePackageBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4988,12 +4403,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory.Item) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory.Item) private static final com.google.cloud.osconfig.v1alpha.Inventory.Item DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory.Item(); } @@ -5002,16 +4417,16 @@ public static com.google.cloud.osconfig.v1alpha.Inventory.Item getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Item parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Item(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Item parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Item(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5026,16 +4441,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.Inventory.Item getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface SoftwarePackageOrBuilder - extends + public interface SoftwarePackageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -5043,13 +4456,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1; - * * @return Whether the yumPackage field is set. */ boolean hasYumPackage(); /** - * - * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -5057,13 +4467,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1; - * * @return The yumPackage. */ com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getYumPackage(); /** - * - * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -5075,8 +4482,6 @@ public interface SoftwarePackageOrBuilder
     com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getYumPackageOrBuilder();
 
     /**
-     *
-     *
      * 
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -5084,13 +4489,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2; - * * @return Whether the aptPackage field is set. */ boolean hasAptPackage(); /** - * - * *
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -5098,13 +4500,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2; - * * @return The aptPackage. */ com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getAptPackage(); /** - * - * *
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -5116,8 +4515,6 @@ public interface SoftwarePackageOrBuilder
     com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getAptPackageOrBuilder();
 
     /**
-     *
-     *
      * 
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -5125,13 +4522,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3; - * * @return Whether the zypperPackage field is set. */ boolean hasZypperPackage(); /** - * - * *
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -5139,13 +4533,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3; - * * @return The zypperPackage. */ com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getZypperPackage(); /** - * - * *
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -5154,12 +4545,9 @@ public interface SoftwarePackageOrBuilder
      *
      * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3;
      */
-    com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
-        getZypperPackageOrBuilder();
+    com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getZypperPackageOrBuilder();
 
     /**
-     *
-     *
      * 
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -5167,13 +4555,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4; - * * @return Whether the googetPackage field is set. */ boolean hasGoogetPackage(); /** - * - * *
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -5181,13 +4566,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4; - * * @return The googetPackage. */ com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getGoogetPackage(); /** - * - * *
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -5196,12 +4578,9 @@ public interface SoftwarePackageOrBuilder
      *
      * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4;
      */
-    com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
-        getGoogetPackageOrBuilder();
+    com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getGoogetPackageOrBuilder();
 
     /**
-     *
-     *
      * 
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -5209,13 +4588,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5; - * * @return Whether the zypperPatch field is set. */ boolean hasZypperPatch(); /** - * - * *
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -5223,13 +4599,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5; - * * @return The zypperPatch. */ com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch getZypperPatch(); /** - * - * *
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -5241,8 +4614,6 @@ public interface SoftwarePackageOrBuilder
     com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder getZypperPatchOrBuilder();
 
     /**
-     *
-     *
      * 
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -5250,13 +4621,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6; - * * @return Whether the wuaPackage field is set. */ boolean hasWuaPackage(); /** - * - * *
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -5264,13 +4632,10 @@ public interface SoftwarePackageOrBuilder
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6; - * * @return The wuaPackage. */ com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage getWuaPackage(); /** - * - * *
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -5279,12 +4644,9 @@ public interface SoftwarePackageOrBuilder
      *
      * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6;
      */
-    com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder
-        getWuaPackageOrBuilder();
+    com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder getWuaPackageOrBuilder();
 
     /**
-     *
-     *
      * 
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -5292,16 +4654,11 @@ public interface SoftwarePackageOrBuilder
      * for info in Windows Quick Fix Engineering.
      * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; * @return Whether the qfePackage field is set. */ boolean hasQfePackage(); /** - * - * *
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -5309,16 +4666,11 @@ public interface SoftwarePackageOrBuilder
      * for info in Windows Quick Fix Engineering.
      * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; * @return The qfePackage. */ com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage getQfePackage(); /** - * - * *
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -5326,40 +4678,29 @@ public interface SoftwarePackageOrBuilder
      * for info in Windows Quick Fix Engineering.
      * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; */ - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder - getQfePackageOrBuilder(); + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder getQfePackageOrBuilder(); /** - * - * *
      * Details of a COS package.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; - * * @return Whether the cosPackage field is set. */ boolean hasCosPackage(); /** - * - * *
      * Details of a COS package.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; - * * @return The cosPackage. */ com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getCosPackage(); /** - * - * *
      * Details of a COS package.
      * 
@@ -5369,78 +4710,65 @@ public interface SoftwarePackageOrBuilder com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getCosPackageOrBuilder(); /** - * - * *
      * Details of Windows Application.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; * @return Whether the windowsApplication field is set. */ boolean hasWindowsApplication(); /** - * - * *
      * Details of Windows Application.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; * @return The windowsApplication. */ com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication getWindowsApplication(); /** - * - * *
      * Details of Windows Application.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; */ - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder - getWindowsApplicationOrBuilder(); + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder getWindowsApplicationOrBuilder(); public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.DetailsCase getDetailsCase(); } /** - * - * *
    * Software package information of the operating system.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage} */ - public static final class SoftwarePackage extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class SoftwarePackage extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) SoftwarePackageOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SoftwarePackage.newBuilder() to construct. private SoftwarePackage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SoftwarePackage() {} + private SoftwarePackage() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SoftwarePackage(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SoftwarePackage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5459,242 +4787,170 @@ private SoftwarePackage( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = - null; - if (detailsCase_ == 1) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 1; - break; + case 10: { + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = null; + if (detailsCase_ == 1) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_).toBuilder(); } - case 18: - { - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = - null; - if (detailsCase_ == 2) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 2; - break; + details_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = - null; - if (detailsCase_ == 3) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 3; - break; + detailsCase_ = 1; + break; + } + case 18: { + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = null; + if (detailsCase_ == 2) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_).toBuilder(); } - case 34: - { - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = - null; - if (detailsCase_ == 4) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 4; - break; + details_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder subBuilder = null; - if (detailsCase_ == 5) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 5; - break; + detailsCase_ = 2; + break; + } + case 26: { + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = null; + if (detailsCase_ == 3) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_).toBuilder(); } - case 50: - { - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder - subBuilder = null; - if (detailsCase_ == 6) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 6; - break; + details_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - .Builder - subBuilder = null; - if (detailsCase_ == 7) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.Inventory - .WindowsQuickFixEngineeringPackage) - details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.Inventory - .WindowsQuickFixEngineeringPackage.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.Inventory - .WindowsQuickFixEngineeringPackage) - details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 7; - break; + detailsCase_ = 3; + break; + } + case 34: { + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = null; + if (detailsCase_ == 4) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_).toBuilder(); } - case 66: - { - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = - null; - if (detailsCase_ == 8) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 8; - break; + details_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); } - case 74: - { - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder subBuilder = - null; - if (detailsCase_ == 9) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_) - .toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 9; - break; + detailsCase_ = 4; + break; + } + case 42: { + com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder subBuilder = null; + if (detailsCase_ == 5) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + details_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_); + details_ = subBuilder.buildPartial(); } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor; + detailsCase_ = 5; + break; + } + case 50: { + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder subBuilder = null; + if (detailsCase_ == 6) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_).toBuilder(); + } + details_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 6; + break; + } + case 58: { + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder subBuilder = null; + if (detailsCase_ == 7) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_).toBuilder(); + } + details_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 7; + break; + } + case 66: { + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = null; + if (detailsCase_ == 8) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_).toBuilder(); + } + details_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 8; + break; + } + case 74: { + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder subBuilder = null; + if (detailsCase_ == 9) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_).toBuilder(); + } + details_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 9; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.class, - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.class, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder.class); } private int detailsCase_ = 0; private java.lang.Object details_; - public enum DetailsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { YUM_PACKAGE(1), APT_PACKAGE(2), @@ -5707,7 +4963,6 @@ public enum DetailsCase WINDOWS_APPLICATION(9), DETAILS_NOT_SET(0); private final int value; - private DetailsCase(int value) { this.value = value; } @@ -5723,44 +4978,32 @@ public static DetailsCase valueOf(int value) { public static DetailsCase forNumber(int value) { switch (value) { - case 1: - return YUM_PACKAGE; - case 2: - return APT_PACKAGE; - case 3: - return ZYPPER_PACKAGE; - case 4: - return GOOGET_PACKAGE; - case 5: - return ZYPPER_PATCH; - case 6: - return WUA_PACKAGE; - case 7: - return QFE_PACKAGE; - case 8: - return COS_PACKAGE; - case 9: - return WINDOWS_APPLICATION; - case 0: - return DETAILS_NOT_SET; - default: - return null; + case 1: return YUM_PACKAGE; + case 2: return APT_PACKAGE; + case 3: return ZYPPER_PACKAGE; + case 4: return GOOGET_PACKAGE; + case 5: return ZYPPER_PATCH; + case 6: return WUA_PACKAGE; + case 7: return QFE_PACKAGE; + case 8: return COS_PACKAGE; + case 9: return WINDOWS_APPLICATION; + case 0: return DETAILS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DetailsCase getDetailsCase() { - return DetailsCase.forNumber(detailsCase_); + public DetailsCase + getDetailsCase() { + return DetailsCase.forNumber( + detailsCase_); } public static final int YUM_PACKAGE_FIELD_NUMBER = 1; /** - * - * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -5768,7 +5011,6 @@ public DetailsCase getDetailsCase() {
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1; - * * @return Whether the yumPackage field is set. */ @java.lang.Override @@ -5776,8 +5018,6 @@ public boolean hasYumPackage() { return detailsCase_ == 1; } /** - * - * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -5785,19 +5025,16 @@ public boolean hasYumPackage() {
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1; - * * @return The yumPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getYumPackage() { if (detailsCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance(); } /** - * - * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -5807,18 +5044,15 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getYumPackag
      * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
-        getYumPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getYumPackageOrBuilder() {
       if (detailsCase_ == 1) {
-        return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_;
+         return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_;
       }
       return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
     }
 
     public static final int APT_PACKAGE_FIELD_NUMBER = 2;
     /**
-     *
-     *
      * 
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -5826,7 +5060,6 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getYumPackag
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2; - * * @return Whether the aptPackage field is set. */ @java.lang.Override @@ -5834,8 +5067,6 @@ public boolean hasAptPackage() { return detailsCase_ == 2; } /** - * - * *
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -5843,19 +5074,16 @@ public boolean hasAptPackage() {
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2; - * * @return The aptPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getAptPackage() { if (detailsCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance(); } /** - * - * *
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -5865,18 +5093,15 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getAptPackag
      * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
-        getAptPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getAptPackageOrBuilder() {
       if (detailsCase_ == 2) {
-        return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_;
+         return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_;
       }
       return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
     }
 
     public static final int ZYPPER_PACKAGE_FIELD_NUMBER = 3;
     /**
-     *
-     *
      * 
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -5884,7 +5109,6 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getAptPackag
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3; - * * @return Whether the zypperPackage field is set. */ @java.lang.Override @@ -5892,8 +5116,6 @@ public boolean hasZypperPackage() { return detailsCase_ == 3; } /** - * - * *
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -5901,19 +5123,16 @@ public boolean hasZypperPackage() {
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3; - * * @return The zypperPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getZypperPackage() { if (detailsCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance(); } /** - * - * *
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -5923,18 +5142,15 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getZypperPac
      * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
-        getZypperPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getZypperPackageOrBuilder() {
       if (detailsCase_ == 3) {
-        return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_;
+         return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_;
       }
       return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
     }
 
     public static final int GOOGET_PACKAGE_FIELD_NUMBER = 4;
     /**
-     *
-     *
      * 
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -5942,7 +5158,6 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getZypperPac
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4; - * * @return Whether the googetPackage field is set. */ @java.lang.Override @@ -5950,8 +5165,6 @@ public boolean hasGoogetPackage() { return detailsCase_ == 4; } /** - * - * *
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -5959,19 +5172,16 @@ public boolean hasGoogetPackage() {
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4; - * * @return The googetPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getGoogetPackage() { if (detailsCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance(); } /** - * - * *
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -5981,18 +5191,15 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getGoogetPac
      * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
-        getGoogetPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getGoogetPackageOrBuilder() {
       if (detailsCase_ == 4) {
-        return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_;
+         return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_;
       }
       return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
     }
 
     public static final int ZYPPER_PATCH_FIELD_NUMBER = 5;
     /**
-     *
-     *
      * 
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -6000,7 +5207,6 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getGoogetPac
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5; - * * @return Whether the zypperPatch field is set. */ @java.lang.Override @@ -6008,8 +5214,6 @@ public boolean hasZypperPatch() { return detailsCase_ == 5; } /** - * - * *
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -6017,19 +5221,16 @@ public boolean hasZypperPatch() {
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5; - * * @return The zypperPatch. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch getZypperPatch() { if (detailsCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.getDefaultInstance(); } /** - * - * *
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -6039,18 +5240,15 @@ public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch getZypperPatch()
      * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder
-        getZypperPatchOrBuilder() {
+    public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder getZypperPatchOrBuilder() {
       if (detailsCase_ == 5) {
-        return (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_;
+         return (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_;
       }
       return com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.getDefaultInstance();
     }
 
     public static final int WUA_PACKAGE_FIELD_NUMBER = 6;
     /**
-     *
-     *
      * 
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -6058,7 +5256,6 @@ public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch getZypperPatch()
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6; - * * @return Whether the wuaPackage field is set. */ @java.lang.Override @@ -6066,8 +5263,6 @@ public boolean hasWuaPackage() { return detailsCase_ == 6; } /** - * - * *
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -6075,19 +5270,16 @@ public boolean hasWuaPackage() {
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6; - * * @return The wuaPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage getWuaPackage() { if (detailsCase_ == 6) { - return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.getDefaultInstance(); } /** - * - * *
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -6097,18 +5289,15 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage getWuaPa
      * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder
-        getWuaPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder getWuaPackageOrBuilder() {
       if (detailsCase_ == 6) {
-        return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_;
+         return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_;
       }
       return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.getDefaultInstance();
     }
 
     public static final int QFE_PACKAGE_FIELD_NUMBER = 7;
     /**
-     *
-     *
      * 
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -6116,10 +5305,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage getWuaPa
      * for info in Windows Quick Fix Engineering.
      * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; * @return Whether the qfePackage field is set. */ @java.lang.Override @@ -6127,8 +5313,6 @@ public boolean hasQfePackage() { return detailsCase_ == 7; } /** - * - * *
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -6136,25 +5320,17 @@ public boolean hasQfePackage() {
      * for info in Windows Quick Fix Engineering.
      * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; * @return The qfePackage. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - getQfePackage() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage getQfePackage() { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) - details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_; } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); } /** - * - * *
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -6162,31 +5338,23 @@ public boolean hasQfePackage() {
      * for info in Windows Quick Fix Engineering.
      * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder - getQfePackageOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder getQfePackageOrBuilder() { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) - details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_; } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); } public static final int COS_PACKAGE_FIELD_NUMBER = 8; /** - * - * *
      * Details of a COS package.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; - * * @return Whether the cosPackage field is set. */ @java.lang.Override @@ -6194,26 +5362,21 @@ public boolean hasCosPackage() { return detailsCase_ == 8; } /** - * - * *
      * Details of a COS package.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; - * * @return The cosPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getCosPackage() { if (detailsCase_ == 8) { - return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance(); } /** - * - * *
      * Details of a COS package.
      * 
@@ -6221,25 +5384,20 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getCosPackag * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder - getCosPackageOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getCosPackageOrBuilder() { if (detailsCase_ == 8) { - return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance(); } public static final int WINDOWS_APPLICATION_FIELD_NUMBER = 9; /** - * - * *
      * Details of Windows Application.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; * @return Whether the windowsApplication field is set. */ @java.lang.Override @@ -6247,45 +5405,36 @@ public boolean hasWindowsApplication() { return detailsCase_ == 9; } /** - * - * *
      * Details of Windows Application.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; * @return The windowsApplication. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication getWindowsApplication() { if (detailsCase_ == 9) { - return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance(); } /** - * - * *
      * Details of Windows Application.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder - getWindowsApplicationOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder getWindowsApplicationOrBuilder() { if (detailsCase_ == 9) { - return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6297,43 +5446,34 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (detailsCase_ == 1) { - output.writeMessage( - 1, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + output.writeMessage(1, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 2) { - output.writeMessage( - 2, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + output.writeMessage(2, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 3) { - output.writeMessage( - 3, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + output.writeMessage(3, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 4) { - output.writeMessage( - 4, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + output.writeMessage(4, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 5) { output.writeMessage(5, (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_); } if (detailsCase_ == 6) { - output.writeMessage( - 6, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_); + output.writeMessage(6, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_); } if (detailsCase_ == 7) { - output.writeMessage( - 7, - (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) - details_); + output.writeMessage(7, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_); } if (detailsCase_ == 8) { - output.writeMessage( - 8, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + output.writeMessage(8, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 9) { - output.writeMessage( - 9, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_); + output.writeMessage(9, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_); } unknownFields.writeTo(output); } @@ -6345,51 +5485,40 @@ public int getSerializedSize() { size = 0; if (detailsCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_); } if (detailsCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_); } if (detailsCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, - (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) - details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_); } if (detailsCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6399,42 +5528,50 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage other = - (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) obj; + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage other = (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) obj; if (!getDetailsCase().equals(other.getDetailsCase())) return false; switch (detailsCase_) { case 1: - if (!getYumPackage().equals(other.getYumPackage())) return false; + if (!getYumPackage() + .equals(other.getYumPackage())) return false; break; case 2: - if (!getAptPackage().equals(other.getAptPackage())) return false; + if (!getAptPackage() + .equals(other.getAptPackage())) return false; break; case 3: - if (!getZypperPackage().equals(other.getZypperPackage())) return false; + if (!getZypperPackage() + .equals(other.getZypperPackage())) return false; break; case 4: - if (!getGoogetPackage().equals(other.getGoogetPackage())) return false; + if (!getGoogetPackage() + .equals(other.getGoogetPackage())) return false; break; case 5: - if (!getZypperPatch().equals(other.getZypperPatch())) return false; + if (!getZypperPatch() + .equals(other.getZypperPatch())) return false; break; case 6: - if (!getWuaPackage().equals(other.getWuaPackage())) return false; + if (!getWuaPackage() + .equals(other.getWuaPackage())) return false; break; case 7: - if (!getQfePackage().equals(other.getQfePackage())) return false; + if (!getQfePackage() + .equals(other.getQfePackage())) return false; break; case 8: - if (!getCosPackage().equals(other.getCosPackage())) return false; + if (!getCosPackage() + .equals(other.getCosPackage())) return false; break; case 9: - if (!getWindowsApplication().equals(other.getWindowsApplication())) return false; + if (!getWindowsApplication() + .equals(other.getWindowsApplication())) return false; break; case 0: default: @@ -6496,94 +5633,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage 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.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6593,32 +5723,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Software package information of the operating system.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.class, - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.class, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.newBuilder() @@ -6626,15 +5751,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -6644,14 +5770,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance(); } @@ -6666,8 +5791,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage buildPartial() { - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage result = - new com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage(this); + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage result = new com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage(this); if (detailsCase_ == 1) { if (yumPackageBuilder_ == null) { result.details_ = details_; @@ -6740,41 +5864,38 @@ public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.Inventory.SoftwarePackage) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage)other); } else { super.mergeFrom(other); return this; @@ -6782,59 +5903,47 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage other) { - if (other - == com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance()) return this; switch (other.getDetailsCase()) { - case YUM_PACKAGE: - { - mergeYumPackage(other.getYumPackage()); - break; - } - case APT_PACKAGE: - { - mergeAptPackage(other.getAptPackage()); - break; - } - case ZYPPER_PACKAGE: - { - mergeZypperPackage(other.getZypperPackage()); - break; - } - case GOOGET_PACKAGE: - { - mergeGoogetPackage(other.getGoogetPackage()); - break; - } - case ZYPPER_PATCH: - { - mergeZypperPatch(other.getZypperPatch()); - break; - } - case WUA_PACKAGE: - { - mergeWuaPackage(other.getWuaPackage()); - break; - } - case QFE_PACKAGE: - { - mergeQfePackage(other.getQfePackage()); - break; - } - case COS_PACKAGE: - { - mergeCosPackage(other.getCosPackage()); - break; - } - case WINDOWS_APPLICATION: - { - mergeWindowsApplication(other.getWindowsApplication()); - break; - } - case DETAILS_NOT_SET: - { - break; - } + case YUM_PACKAGE: { + mergeYumPackage(other.getYumPackage()); + break; + } + case APT_PACKAGE: { + mergeAptPackage(other.getAptPackage()); + break; + } + case ZYPPER_PACKAGE: { + mergeZypperPackage(other.getZypperPackage()); + break; + } + case GOOGET_PACKAGE: { + mergeGoogetPackage(other.getGoogetPackage()); + break; + } + case ZYPPER_PATCH: { + mergeZypperPatch(other.getZypperPatch()); + break; + } + case WUA_PACKAGE: { + mergeWuaPackage(other.getWuaPackage()); + break; + } + case QFE_PACKAGE: { + mergeQfePackage(other.getQfePackage()); + break; + } + case COS_PACKAGE: { + mergeCosPackage(other.getCosPackage()); + break; + } + case WINDOWS_APPLICATION: { + mergeWindowsApplication(other.getWindowsApplication()); + break; + } + case DETAILS_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -6855,9 +5964,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6866,12 +5973,12 @@ public Builder mergeFrom( } return this; } - private int detailsCase_ = 0; private java.lang.Object details_; - - public DetailsCase getDetailsCase() { - return DetailsCase.forNumber(detailsCase_); + public DetailsCase + getDetailsCase() { + return DetailsCase.forNumber( + detailsCase_); } public Builder clearDetails() { @@ -6881,14 +5988,10 @@ public Builder clearDetails() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> - yumPackageBuilder_; + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> yumPackageBuilder_; /** - * - * *
        * Yum package info.
        * For details about the yum package manager, see
@@ -6896,7 +5999,6 @@ public Builder clearDetails() {
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1; - * * @return Whether the yumPackage field is set. */ @java.lang.Override @@ -6904,8 +6006,6 @@ public boolean hasYumPackage() { return detailsCase_ == 1; } /** - * - * *
        * Yum package info.
        * For details about the yum package manager, see
@@ -6913,7 +6013,6 @@ public boolean hasYumPackage() {
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1; - * * @return The yumPackage. */ @java.lang.Override @@ -6931,8 +6030,6 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getYumPackag } } /** - * - * *
        * Yum package info.
        * For details about the yum package manager, see
@@ -6941,8 +6038,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getYumPackag
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1;
        */
-      public Builder setYumPackage(
-          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
+      public Builder setYumPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
         if (yumPackageBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -6956,8 +6052,6 @@ public Builder setYumPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -6978,8 +6072,6 @@ public Builder setYumPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -6988,18 +6080,12 @@ public Builder setYumPackage(
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1;
        */
-      public Builder mergeYumPackage(
-          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
+      public Builder mergeYumPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
         if (yumPackageBuilder_ == null) {
-          if (detailsCase_ == 1
-              && details_
-                  != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage
-                      .getDefaultInstance()) {
-            details_ =
-                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder(
-                        (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (detailsCase_ == 1 &&
+              details_ != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance()) {
+            details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_)
+                .mergeFrom(value).buildPartial();
           } else {
             details_ = value;
           }
@@ -7015,8 +6101,6 @@ public Builder mergeYumPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -7042,8 +6126,6 @@ public Builder clearYumPackage() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -7052,13 +6134,10 @@ public Builder clearYumPackage() {
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1;
        */
-      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder
-          getYumPackageBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder getYumPackageBuilder() {
         return getYumPackageFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -7068,8 +6147,7 @@ public Builder clearYumPackage() {
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
-          getYumPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getYumPackageOrBuilder() {
         if ((detailsCase_ == 1) && (yumPackageBuilder_ != null)) {
           return yumPackageBuilder_.getMessageOrBuilder();
         } else {
@@ -7080,8 +6158,6 @@ public Builder clearYumPackage() {
         }
       }
       /**
-       *
-       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -7091,39 +6167,27 @@ public Builder clearYumPackage() {
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>
+          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> 
           getYumPackageFieldBuilder() {
         if (yumPackageBuilder_ == null) {
           if (!(detailsCase_ == 1)) {
-            details_ =
-                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
+            details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
           }
-          yumPackageBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
-                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
-                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>(
+          yumPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>(
                   (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 1;
-        onChanged();
-        ;
+        onChanged();;
         return yumPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>
-          aptPackageBuilder_;
+          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> aptPackageBuilder_;
       /**
-       *
-       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -7131,7 +6195,6 @@ public Builder clearYumPackage() {
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2; - * * @return Whether the aptPackage field is set. */ @java.lang.Override @@ -7139,8 +6202,6 @@ public boolean hasAptPackage() { return detailsCase_ == 2; } /** - * - * *
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -7148,7 +6209,6 @@ public boolean hasAptPackage() {
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2; - * * @return The aptPackage. */ @java.lang.Override @@ -7166,8 +6226,6 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getAptPackag } } /** - * - * *
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -7176,8 +6234,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getAptPackag
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2;
        */
-      public Builder setAptPackage(
-          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
+      public Builder setAptPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
         if (aptPackageBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -7191,8 +6248,6 @@ public Builder setAptPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -7213,8 +6268,6 @@ public Builder setAptPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -7223,18 +6276,12 @@ public Builder setAptPackage(
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2;
        */
-      public Builder mergeAptPackage(
-          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
+      public Builder mergeAptPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
         if (aptPackageBuilder_ == null) {
-          if (detailsCase_ == 2
-              && details_
-                  != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage
-                      .getDefaultInstance()) {
-            details_ =
-                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder(
-                        (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (detailsCase_ == 2 &&
+              details_ != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance()) {
+            details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_)
+                .mergeFrom(value).buildPartial();
           } else {
             details_ = value;
           }
@@ -7250,8 +6297,6 @@ public Builder mergeAptPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -7277,8 +6322,6 @@ public Builder clearAptPackage() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -7287,13 +6330,10 @@ public Builder clearAptPackage() {
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2;
        */
-      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder
-          getAptPackageBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder getAptPackageBuilder() {
         return getAptPackageFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -7303,8 +6343,7 @@ public Builder clearAptPackage() {
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
-          getAptPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getAptPackageOrBuilder() {
         if ((detailsCase_ == 2) && (aptPackageBuilder_ != null)) {
           return aptPackageBuilder_.getMessageOrBuilder();
         } else {
@@ -7315,8 +6354,6 @@ public Builder clearAptPackage() {
         }
       }
       /**
-       *
-       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -7326,39 +6363,27 @@ public Builder clearAptPackage() {
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>
+          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> 
           getAptPackageFieldBuilder() {
         if (aptPackageBuilder_ == null) {
           if (!(detailsCase_ == 2)) {
-            details_ =
-                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
+            details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
           }
-          aptPackageBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
-                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
-                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>(
+          aptPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>(
                   (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 2;
-        onChanged();
-        ;
+        onChanged();;
         return aptPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>
-          zypperPackageBuilder_;
+          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> zypperPackageBuilder_;
       /**
-       *
-       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -7366,7 +6391,6 @@ public Builder clearAptPackage() {
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3; - * * @return Whether the zypperPackage field is set. */ @java.lang.Override @@ -7374,8 +6398,6 @@ public boolean hasZypperPackage() { return detailsCase_ == 3; } /** - * - * *
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -7383,7 +6405,6 @@ public boolean hasZypperPackage() {
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3; - * * @return The zypperPackage. */ @java.lang.Override @@ -7401,8 +6422,6 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getZypperPac } } /** - * - * *
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -7411,8 +6430,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getZypperPac
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3;
        */
-      public Builder setZypperPackage(
-          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
+      public Builder setZypperPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
         if (zypperPackageBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -7426,8 +6444,6 @@ public Builder setZypperPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -7448,8 +6464,6 @@ public Builder setZypperPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -7458,18 +6472,12 @@ public Builder setZypperPackage(
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3;
        */
-      public Builder mergeZypperPackage(
-          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
+      public Builder mergeZypperPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
         if (zypperPackageBuilder_ == null) {
-          if (detailsCase_ == 3
-              && details_
-                  != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage
-                      .getDefaultInstance()) {
-            details_ =
-                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder(
-                        (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (detailsCase_ == 3 &&
+              details_ != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance()) {
+            details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_)
+                .mergeFrom(value).buildPartial();
           } else {
             details_ = value;
           }
@@ -7485,8 +6493,6 @@ public Builder mergeZypperPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -7512,8 +6518,6 @@ public Builder clearZypperPackage() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -7522,13 +6526,10 @@ public Builder clearZypperPackage() {
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3;
        */
-      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder
-          getZypperPackageBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder getZypperPackageBuilder() {
         return getZypperPackageFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -7538,8 +6539,7 @@ public Builder clearZypperPackage() {
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
-          getZypperPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getZypperPackageOrBuilder() {
         if ((detailsCase_ == 3) && (zypperPackageBuilder_ != null)) {
           return zypperPackageBuilder_.getMessageOrBuilder();
         } else {
@@ -7550,8 +6550,6 @@ public Builder clearZypperPackage() {
         }
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -7561,39 +6559,27 @@ public Builder clearZypperPackage() {
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>
+          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> 
           getZypperPackageFieldBuilder() {
         if (zypperPackageBuilder_ == null) {
           if (!(detailsCase_ == 3)) {
-            details_ =
-                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
+            details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
           }
-          zypperPackageBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
-                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
-                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>(
+          zypperPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>(
                   (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 3;
-        onChanged();
-        ;
+        onChanged();;
         return zypperPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>
-          googetPackageBuilder_;
+          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> googetPackageBuilder_;
       /**
-       *
-       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -7601,7 +6587,6 @@ public Builder clearZypperPackage() {
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4; - * * @return Whether the googetPackage field is set. */ @java.lang.Override @@ -7609,8 +6594,6 @@ public boolean hasGoogetPackage() { return detailsCase_ == 4; } /** - * - * *
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -7618,7 +6601,6 @@ public boolean hasGoogetPackage() {
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4; - * * @return The googetPackage. */ @java.lang.Override @@ -7636,8 +6618,6 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getGoogetPac } } /** - * - * *
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -7646,8 +6626,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getGoogetPac
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4;
        */
-      public Builder setGoogetPackage(
-          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
+      public Builder setGoogetPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
         if (googetPackageBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -7661,8 +6640,6 @@ public Builder setGoogetPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -7683,8 +6660,6 @@ public Builder setGoogetPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -7693,18 +6668,12 @@ public Builder setGoogetPackage(
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4;
        */
-      public Builder mergeGoogetPackage(
-          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
+      public Builder mergeGoogetPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
         if (googetPackageBuilder_ == null) {
-          if (detailsCase_ == 4
-              && details_
-                  != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage
-                      .getDefaultInstance()) {
-            details_ =
-                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder(
-                        (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (detailsCase_ == 4 &&
+              details_ != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance()) {
+            details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_)
+                .mergeFrom(value).buildPartial();
           } else {
             details_ = value;
           }
@@ -7720,8 +6689,6 @@ public Builder mergeGoogetPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -7747,8 +6714,6 @@ public Builder clearGoogetPackage() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -7757,13 +6722,10 @@ public Builder clearGoogetPackage() {
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4;
        */
-      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder
-          getGoogetPackageBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder getGoogetPackageBuilder() {
         return getGoogetPackageFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -7773,8 +6735,7 @@ public Builder clearGoogetPackage() {
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
-          getGoogetPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getGoogetPackageOrBuilder() {
         if ((detailsCase_ == 4) && (googetPackageBuilder_ != null)) {
           return googetPackageBuilder_.getMessageOrBuilder();
         } else {
@@ -7785,8 +6746,6 @@ public Builder clearGoogetPackage() {
         }
       }
       /**
-       *
-       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -7796,39 +6755,27 @@ public Builder clearGoogetPackage() {
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>
+          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> 
           getGoogetPackageFieldBuilder() {
         if (googetPackageBuilder_ == null) {
           if (!(detailsCase_ == 4)) {
-            details_ =
-                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
+            details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
           }
-          googetPackageBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
-                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
-                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>(
+          googetPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>(
                   (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 4;
-        onChanged();
-        ;
+        onChanged();;
         return googetPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch,
-              com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder,
-              com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder>
-          zypperPatchBuilder_;
+          com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch, com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder, com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder> zypperPatchBuilder_;
       /**
-       *
-       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -7836,7 +6783,6 @@ public Builder clearGoogetPackage() {
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5; - * * @return Whether the zypperPatch field is set. */ @java.lang.Override @@ -7844,8 +6790,6 @@ public boolean hasZypperPatch() { return detailsCase_ == 5; } /** - * - * *
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -7853,7 +6797,6 @@ public boolean hasZypperPatch() {
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5; - * * @return The zypperPatch. */ @java.lang.Override @@ -7871,8 +6814,6 @@ public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch getZypperPatch() } } /** - * - * *
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -7895,8 +6836,6 @@ public Builder setZypperPatch(com.google.cloud.osconfig.v1alpha.Inventory.Zypper
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -7917,8 +6856,6 @@ public Builder setZypperPatch(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -7927,17 +6864,12 @@ public Builder setZypperPatch(
        *
        * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5;
        */
-      public Builder mergeZypperPatch(
-          com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch value) {
+      public Builder mergeZypperPatch(com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch value) {
         if (zypperPatchBuilder_ == null) {
-          if (detailsCase_ == 5
-              && details_
-                  != com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.getDefaultInstance()) {
-            details_ =
-                com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.newBuilder(
-                        (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (detailsCase_ == 5 &&
+              details_ != com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.getDefaultInstance()) {
+            details_ = com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_)
+                .mergeFrom(value).buildPartial();
           } else {
             details_ = value;
           }
@@ -7953,8 +6885,6 @@ public Builder mergeZypperPatch(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -7980,8 +6910,6 @@ public Builder clearZypperPatch() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -7990,13 +6918,10 @@ public Builder clearZypperPatch() {
        *
        * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5;
        */
-      public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder
-          getZypperPatchBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder getZypperPatchBuilder() {
         return getZypperPatchFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -8006,8 +6931,7 @@ public Builder clearZypperPatch() {
        * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder
-          getZypperPatchOrBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder getZypperPatchOrBuilder() {
         if ((detailsCase_ == 5) && (zypperPatchBuilder_ != null)) {
           return zypperPatchBuilder_.getMessageOrBuilder();
         } else {
@@ -8018,8 +6942,6 @@ public Builder clearZypperPatch() {
         }
       }
       /**
-       *
-       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -8029,38 +6951,27 @@ public Builder clearZypperPatch() {
        * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch,
-              com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder,
-              com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder>
+          com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch, com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder, com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder> 
           getZypperPatchFieldBuilder() {
         if (zypperPatchBuilder_ == null) {
           if (!(detailsCase_ == 5)) {
             details_ = com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.getDefaultInstance();
           }
-          zypperPatchBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch,
-                  com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder,
-                  com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder>(
+          zypperPatchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch, com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder, com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder>(
                   (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 5;
-        onChanged();
-        ;
+        onChanged();;
         return zypperPatchBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage,
-              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder,
-              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder>
-          wuaPackageBuilder_;
+          com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder> wuaPackageBuilder_;
       /**
-       *
-       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -8068,7 +6979,6 @@ public Builder clearZypperPatch() {
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6; - * * @return Whether the wuaPackage field is set. */ @java.lang.Override @@ -8076,8 +6986,6 @@ public boolean hasWuaPackage() { return detailsCase_ == 6; } /** - * - * *
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -8085,7 +6993,6 @@ public boolean hasWuaPackage() {
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6; - * * @return The wuaPackage. */ @java.lang.Override @@ -8094,19 +7001,15 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage getWuaPa if (detailsCase_ == 6) { return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_; } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.getDefaultInstance(); } else { if (detailsCase_ == 6) { return wuaPackageBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.getDefaultInstance(); } } /** - * - * *
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -8115,8 +7018,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage getWuaPa
        *
        * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6;
        */
-      public Builder setWuaPackage(
-          com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage value) {
+      public Builder setWuaPackage(com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage value) {
         if (wuaPackageBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -8130,8 +7032,6 @@ public Builder setWuaPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -8141,8 +7041,7 @@ public Builder setWuaPackage(
        * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6;
        */
       public Builder setWuaPackage(
-          com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder
-              builderForValue) {
+          com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder builderForValue) {
         if (wuaPackageBuilder_ == null) {
           details_ = builderForValue.build();
           onChanged();
@@ -8153,8 +7052,6 @@ public Builder setWuaPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -8163,18 +7060,12 @@ public Builder setWuaPackage(
        *
        * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6;
        */
-      public Builder mergeWuaPackage(
-          com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage value) {
+      public Builder mergeWuaPackage(com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage value) {
         if (wuaPackageBuilder_ == null) {
-          if (detailsCase_ == 6
-              && details_
-                  != com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage
-                      .getDefaultInstance()) {
-            details_ =
-                com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.newBuilder(
-                        (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (detailsCase_ == 6 &&
+              details_ != com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.getDefaultInstance()) {
+            details_ = com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_)
+                .mergeFrom(value).buildPartial();
           } else {
             details_ = value;
           }
@@ -8190,8 +7081,6 @@ public Builder mergeWuaPackage(
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -8217,8 +7106,6 @@ public Builder clearWuaPackage() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -8227,13 +7114,10 @@ public Builder clearWuaPackage() {
        *
        * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6;
        */
-      public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder
-          getWuaPackageBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder getWuaPackageBuilder() {
         return getWuaPackageFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -8243,21 +7127,17 @@ public Builder clearWuaPackage() {
        * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder
-          getWuaPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder getWuaPackageOrBuilder() {
         if ((detailsCase_ == 6) && (wuaPackageBuilder_ != null)) {
           return wuaPackageBuilder_.getMessageOrBuilder();
         } else {
           if (detailsCase_ == 6) {
             return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_;
           }
-          return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage
-              .getDefaultInstance();
+          return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.getDefaultInstance();
         }
       }
       /**
-       *
-       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -8267,41 +7147,27 @@ public Builder clearWuaPackage() {
        * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage,
-              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder,
-              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder>
+          com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder> 
           getWuaPackageFieldBuilder() {
         if (wuaPackageBuilder_ == null) {
           if (!(detailsCase_ == 6)) {
-            details_ =
-                com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage
-                    .getDefaultInstance();
+            details_ = com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.getDefaultInstance();
           }
-          wuaPackageBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage,
-                  com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder,
-                  com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder>(
+          wuaPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder>(
                   (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 6;
-        onChanged();
-        ;
+        onChanged();;
         return wuaPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage,
-              com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder,
-              com.google.cloud.osconfig.v1alpha.Inventory
-                  .WindowsQuickFixEngineeringPackageOrBuilder>
-          qfePackageBuilder_;
+          com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage, com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder> qfePackageBuilder_;
       /**
-       *
-       *
        * 
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -8309,10 +7175,7 @@ public Builder clearWuaPackage() {
        * for info in Windows Quick Fix Engineering.
        * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; * @return Whether the qfePackage field is set. */ @java.lang.Override @@ -8320,8 +7183,6 @@ public boolean hasQfePackage() { return detailsCase_ == 7; } /** - * - * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -8329,33 +7190,24 @@ public boolean hasQfePackage() {
        * for info in Windows Quick Fix Engineering.
        * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; * @return The qfePackage. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - getQfePackage() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage getQfePackage() { if (qfePackageBuilder_ == null) { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) - details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_; } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); } else { if (detailsCase_ == 7) { return qfePackageBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); } } /** - * - * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -8363,12 +7215,9 @@ public boolean hasQfePackage() {
        * for info in Windows Quick Fix Engineering.
        * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; */ - public Builder setQfePackage( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage value) { + public Builder setQfePackage(com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage value) { if (qfePackageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8382,8 +7231,6 @@ public Builder setQfePackage( return this; } /** - * - * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -8391,13 +7238,10 @@ public Builder setQfePackage(
        * for info in Windows Quick Fix Engineering.
        * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; */ public Builder setQfePackage( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder builderForValue) { if (qfePackageBuilder_ == null) { details_ = builderForValue.build(); onChanged(); @@ -8408,8 +7252,6 @@ public Builder setQfePackage( return this; } /** - * - * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -8417,25 +7259,14 @@ public Builder setQfePackage(
        * for info in Windows Quick Fix Engineering.
        * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; */ - public Builder mergeQfePackage( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage value) { + public Builder mergeQfePackage(com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage value) { if (qfePackageBuilder_ == null) { - if (detailsCase_ == 7 - && details_ - != com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - .getDefaultInstance()) { - details_ = - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - .newBuilder( - (com.google.cloud.osconfig.v1alpha.Inventory - .WindowsQuickFixEngineeringPackage) - details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 7 && + details_ != com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance()) { + details_ = com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -8451,8 +7282,6 @@ public Builder mergeQfePackage( return this; } /** - * - * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -8460,9 +7289,7 @@ public Builder mergeQfePackage(
        * for info in Windows Quick Fix Engineering.
        * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; */ public Builder clearQfePackage() { if (qfePackageBuilder_ == null) { @@ -8481,8 +7308,6 @@ public Builder clearQfePackage() { return this; } /** - * - * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -8490,17 +7315,12 @@ public Builder clearQfePackage() {
        * for info in Windows Quick Fix Engineering.
        * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; */ - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder - getQfePackageBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder getQfePackageBuilder() { return getQfePackageFieldBuilder().getBuilder(); } /** - * - * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -8508,27 +7328,20 @@ public Builder clearQfePackage() {
        * for info in Windows Quick Fix Engineering.
        * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder - getQfePackageOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder getQfePackageOrBuilder() { if ((detailsCase_ == 7) && (qfePackageBuilder_ != null)) { return qfePackageBuilder_.getMessageOrBuilder(); } else { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) - details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_; } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); } } /** - * - * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -8536,55 +7349,35 @@ public Builder clearQfePackage() {
        * for info in Windows Quick Fix Engineering.
        * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder, - com.google.cloud.osconfig.v1alpha.Inventory - .WindowsQuickFixEngineeringPackageOrBuilder> + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage, com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder> getQfePackageFieldBuilder() { if (qfePackageBuilder_ == null) { if (!(detailsCase_ == 7)) { - details_ = - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - .getDefaultInstance(); + details_ = com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); } - qfePackageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - .Builder, - com.google.cloud.osconfig.v1alpha.Inventory - .WindowsQuickFixEngineeringPackageOrBuilder>( - (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) - details_, + qfePackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage, com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder>( + (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 7; - onChanged(); - ; + onChanged();; return qfePackageBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> - cosPackageBuilder_; + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> cosPackageBuilder_; /** - * - * *
        * Details of a COS package.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; - * * @return Whether the cosPackage field is set. */ @java.lang.Override @@ -8592,14 +7385,11 @@ public boolean hasCosPackage() { return detailsCase_ == 8; } /** - * - * *
        * Details of a COS package.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; - * * @return The cosPackage. */ @java.lang.Override @@ -8617,16 +7407,13 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getCosPackag } } /** - * - * *
        * Details of a COS package.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; */ - public Builder setCosPackage( - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) { + public Builder setCosPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) { if (cosPackageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8640,8 +7427,6 @@ public Builder setCosPackage( return this; } /** - * - * *
        * Details of a COS package.
        * 
@@ -8660,26 +7445,18 @@ public Builder setCosPackage( return this; } /** - * - * *
        * Details of a COS package.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; */ - public Builder mergeCosPackage( - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) { + public Builder mergeCosPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) { if (cosPackageBuilder_ == null) { - if (detailsCase_ == 8 - && details_ - != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage - .getDefaultInstance()) { - details_ = - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder( - (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 8 && + details_ != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance()) { + details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -8695,8 +7472,6 @@ public Builder mergeCosPackage( return this; } /** - * - * *
        * Details of a COS package.
        * 
@@ -8720,21 +7495,16 @@ public Builder clearCosPackage() { return this; } /** - * - * *
        * Details of a COS package.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; */ - public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder - getCosPackageBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder getCosPackageBuilder() { return getCosPackageFieldBuilder().getBuilder(); } /** - * - * *
        * Details of a COS package.
        * 
@@ -8742,8 +7512,7 @@ public Builder clearCosPackage() { * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder - getCosPackageOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getCosPackageOrBuilder() { if ((detailsCase_ == 8) && (cosPackageBuilder_ != null)) { return cosPackageBuilder_.getMessageOrBuilder(); } else { @@ -8754,8 +7523,6 @@ public Builder clearCosPackage() { } } /** - * - * *
        * Details of a COS package.
        * 
@@ -8763,46 +7530,32 @@ public Builder clearCosPackage() { * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> getCosPackageFieldBuilder() { if (cosPackageBuilder_ == null) { if (!(detailsCase_ == 8)) { - details_ = - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance(); + details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance(); } - cosPackageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>( + cosPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>( (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 8; - onChanged(); - ; + onChanged();; return cosPackageBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder> - windowsApplicationBuilder_; + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication, com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder> windowsApplicationBuilder_; /** - * - * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; * @return Whether the windowsApplication field is set. */ @java.lang.Override @@ -8810,46 +7563,35 @@ public boolean hasWindowsApplication() { return detailsCase_ == 9; } /** - * - * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; * @return The windowsApplication. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication - getWindowsApplication() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication getWindowsApplication() { if (windowsApplicationBuilder_ == null) { if (detailsCase_ == 9) { return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_; } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance(); } else { if (detailsCase_ == 9) { return windowsApplicationBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance(); } } /** - * - * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; */ - public Builder setWindowsApplication( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication value) { + public Builder setWindowsApplication(com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication value) { if (windowsApplicationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8863,14 +7605,11 @@ public Builder setWindowsApplication( return this; } /** - * - * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; */ public Builder setWindowsApplication( com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder builderForValue) { @@ -8884,27 +7623,18 @@ public Builder setWindowsApplication( return this; } /** - * - * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; */ - public Builder mergeWindowsApplication( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication value) { + public Builder mergeWindowsApplication(com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication value) { if (windowsApplicationBuilder_ == null) { - if (detailsCase_ == 9 - && details_ - != com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication - .getDefaultInstance()) { - details_ = - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.newBuilder( - (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 9 && + details_ != com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance()) { + details_ = com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -8920,14 +7650,11 @@ public Builder mergeWindowsApplication( return this; } /** - * - * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; */ public Builder clearWindowsApplication() { if (windowsApplicationBuilder_ == null) { @@ -8946,78 +7673,58 @@ public Builder clearWindowsApplication() { return this; } /** - * - * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; */ - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder - getWindowsApplicationBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder getWindowsApplicationBuilder() { return getWindowsApplicationFieldBuilder().getBuilder(); } /** - * - * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder - getWindowsApplicationOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder getWindowsApplicationOrBuilder() { if ((detailsCase_ == 9) && (windowsApplicationBuilder_ != null)) { return windowsApplicationBuilder_.getMessageOrBuilder(); } else { if (detailsCase_ == 9) { return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_; } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance(); } } /** - * - * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; - * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder> + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication, com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder> getWindowsApplicationFieldBuilder() { if (windowsApplicationBuilder_ == null) { if (!(detailsCase_ == 9)) { - details_ = - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance(); + details_ = com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance(); } - windowsApplicationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder>( + windowsApplicationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication, com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder>( (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 9; - onChanged(); - ; + onChanged();; return windowsApplicationBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9030,13 +7737,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) - private static final com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage(); } @@ -9045,16 +7751,16 @@ public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SoftwarePackage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SoftwarePackage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SoftwarePackage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SoftwarePackage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9069,91 +7775,74 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface VersionedPackageOrBuilder - extends + public interface VersionedPackageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the package.
      * 
* * string package_name = 4; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
      * The name of the package.
      * 
* * string package_name = 4; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); /** - * - * *
      * The system architecture this package is intended for.
      * 
* * string architecture = 2; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
      * The system architecture this package is intended for.
      * 
* * string architecture = 2; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); /** - * - * *
      * The version of the package.
      * 
* * string version = 3; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
      * The version of the package.
      * 
* * string version = 3; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); } /** - * - * *
    * Information related to the a standard versioned package.  This includes
    * package info for APT, Yum, Zypper, and Googet package managers.
@@ -9161,16 +7850,15 @@ public interface VersionedPackageOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.VersionedPackage}
    */
-  public static final class VersionedPackage extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class VersionedPackage extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory.VersionedPackage)
       VersionedPackageOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use VersionedPackage.newBuilder() to construct.
     private VersionedPackage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private VersionedPackage() {
       packageName_ = "";
       architecture_ = "";
@@ -9179,15 +7867,16 @@ private VersionedPackage() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new VersionedPackage();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private VersionedPackage(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -9206,34 +7895,31 @@ private VersionedPackage(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                architecture_ = s;
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              architecture_ = s;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                version_ = s;
-                break;
-              }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              version_ = s;
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                packageName_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              packageName_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9241,39 +7927,34 @@ private VersionedPackage(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.Inventories
-          .internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.Inventories
-          .internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.class,
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder.class);
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.class, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder.class);
     }
 
     public static final int PACKAGE_NAME_FIELD_NUMBER = 4;
     private volatile java.lang.Object packageName_;
     /**
-     *
-     *
      * 
      * The name of the package.
      * 
* * string package_name = 4; - * * @return The packageName. */ @java.lang.Override @@ -9282,29 +7963,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
      * The name of the package.
      * 
* * string package_name = 4; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -9315,14 +7996,11 @@ public com.google.protobuf.ByteString getPackageNameBytes() { public static final int ARCHITECTURE_FIELD_NUMBER = 2; private volatile java.lang.Object architecture_; /** - * - * *
      * The system architecture this package is intended for.
      * 
* * string architecture = 2; - * * @return The architecture. */ @java.lang.Override @@ -9331,29 +8009,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
      * The system architecture this package is intended for.
      * 
* * string architecture = 2; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -9364,14 +8042,11 @@ public com.google.protobuf.ByteString getArchitectureBytes() { public static final int VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object version_; /** - * - * *
      * The version of the package.
      * 
* * string version = 3; - * * @return The version. */ @java.lang.Override @@ -9380,29 +8055,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
      * The version of the package.
      * 
* * string version = 3; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -9411,7 +8086,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9423,7 +8097,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, architecture_); } @@ -9459,17 +8134,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage other = - (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) obj; + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage other = (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) obj; - if (!getPackageName().equals(other.getPackageName())) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; - if (!getVersion().equals(other.getVersion())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9493,94 +8170,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage 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.osconfig.v1alpha.Inventory.VersionedPackage parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9590,8 +8260,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Information related to the a standard versioned package.  This includes
      * package info for APT, Yum, Zypper, and Googet package managers.
@@ -9599,24 +8267,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.VersionedPackage}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory.VersionedPackage)
         com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.Inventories
-            .internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.Inventories
-            .internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.class,
-                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder.class);
+                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.class, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder()
@@ -9624,15 +8289,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -9646,14 +8312,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1alpha.Inventories
-            .internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
       }
 
@@ -9668,8 +8333,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage buildPartial() {
-        com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage result =
-            new com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage(this);
+        com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage result = new com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage(this);
         result.packageName_ = packageName_;
         result.architecture_ = architecture_;
         result.version_ = version_;
@@ -9681,41 +8345,38 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage buildPartial
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1alpha.Inventory.VersionedPackage) {
-          return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) other);
+          return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -9723,9 +8384,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage other) {
-        if (other
-            == com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance()) return this;
         if (!other.getPackageName().isEmpty()) {
           packageName_ = other.packageName_;
           onChanged();
@@ -9757,9 +8416,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -9771,20 +8428,18 @@ public Builder mergeFrom(
 
       private java.lang.Object packageName_ = "";
       /**
-       *
-       *
        * 
        * The name of the package.
        * 
* * string package_name = 4; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -9793,21 +8448,20 @@ public java.lang.String getPackageName() { } } /** - * - * *
        * The name of the package.
        * 
* * string package_name = 4; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -9815,61 +8469,54 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
        * The name of the package.
        * 
* * string package_name = 4; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { + public Builder setPackageName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** - * - * *
        * The name of the package.
        * 
* * string package_name = 4; - * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** - * - * *
        * The name of the package.
        * 
* * string package_name = 4; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -9877,20 +8524,18 @@ public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object architecture_ = ""; /** - * - * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -9899,21 +8544,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -9921,61 +8565,54 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -9983,20 +8620,18 @@ public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
        * The version of the package.
        * 
* * string version = 3; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -10005,21 +8640,20 @@ public java.lang.String getVersion() { } } /** - * - * *
        * The version of the package.
        * 
* * string version = 3; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -10027,66 +8661,58 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
        * The version of the package.
        * 
* * string version = 3; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
        * The version of the package.
        * 
* * string version = 3; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
        * The version of the package.
        * 
* * string version = 3; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10099,32 +8725,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) - private static final com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage(); } - public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VersionedPackage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VersionedPackage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VersionedPackage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VersionedPackage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10136,136 +8760,112 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ZypperPatchOrBuilder - extends + public interface ZypperPatchOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the patch.
      * 
* * string patch_name = 5; - * * @return The patchName. */ java.lang.String getPatchName(); /** - * - * *
      * The name of the patch.
      * 
* * string patch_name = 5; - * * @return The bytes for patchName. */ - com.google.protobuf.ByteString getPatchNameBytes(); + com.google.protobuf.ByteString + getPatchNameBytes(); /** - * - * *
      * The category of the patch.
      * 
* * string category = 2; - * * @return The category. */ java.lang.String getCategory(); /** - * - * *
      * The category of the patch.
      * 
* * string category = 2; - * * @return The bytes for category. */ - com.google.protobuf.ByteString getCategoryBytes(); + com.google.protobuf.ByteString + getCategoryBytes(); /** - * - * *
      * The severity specified for this patch
      * 
* * string severity = 3; - * * @return The severity. */ java.lang.String getSeverity(); /** - * - * *
      * The severity specified for this patch
      * 
* * string severity = 3; - * * @return The bytes for severity. */ - com.google.protobuf.ByteString getSeverityBytes(); + com.google.protobuf.ByteString + getSeverityBytes(); /** - * - * *
      * Any summary information provided about this patch.
      * 
* * string summary = 4; - * * @return The summary. */ java.lang.String getSummary(); /** - * - * *
      * Any summary information provided about this patch.
      * 
* * string summary = 4; - * * @return The bytes for summary. */ - com.google.protobuf.ByteString getSummaryBytes(); + com.google.protobuf.ByteString + getSummaryBytes(); } /** - * - * *
    * Details related to a Zypper Patch.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.ZypperPatch} */ - public static final class ZypperPatch extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ZypperPatch extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) ZypperPatchOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ZypperPatch.newBuilder() to construct. private ZypperPatch(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ZypperPatch() { patchName_ = ""; category_ = ""; @@ -10275,15 +8875,16 @@ private ZypperPatch() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ZypperPatch(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ZypperPatch( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10302,41 +8903,37 @@ private ZypperPatch( case 0: done = true; break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - category_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + category_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - severity_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + severity_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - summary_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + summary_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - patchName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + patchName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10344,39 +8941,34 @@ private ZypperPatch( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.class, - com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.class, com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder.class); } public static final int PATCH_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object patchName_; /** - * - * *
      * The name of the patch.
      * 
* * string patch_name = 5; - * * @return The patchName. */ @java.lang.Override @@ -10385,29 +8977,29 @@ public java.lang.String getPatchName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchName_ = s; return s; } } /** - * - * *
      * The name of the patch.
      * 
* * string patch_name = 5; - * * @return The bytes for patchName. */ @java.lang.Override - public com.google.protobuf.ByteString getPatchNameBytes() { + public com.google.protobuf.ByteString + getPatchNameBytes() { java.lang.Object ref = patchName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); patchName_ = b; return b; } else { @@ -10418,14 +9010,11 @@ public com.google.protobuf.ByteString getPatchNameBytes() { public static final int CATEGORY_FIELD_NUMBER = 2; private volatile java.lang.Object category_; /** - * - * *
      * The category of the patch.
      * 
* * string category = 2; - * * @return The category. */ @java.lang.Override @@ -10434,29 +9023,29 @@ public java.lang.String getCategory() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); category_ = s; return s; } } /** - * - * *
      * The category of the patch.
      * 
* * string category = 2; - * * @return The bytes for category. */ @java.lang.Override - public com.google.protobuf.ByteString getCategoryBytes() { + public com.google.protobuf.ByteString + getCategoryBytes() { java.lang.Object ref = category_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); category_ = b; return b; } else { @@ -10467,14 +9056,11 @@ public com.google.protobuf.ByteString getCategoryBytes() { public static final int SEVERITY_FIELD_NUMBER = 3; private volatile java.lang.Object severity_; /** - * - * *
      * The severity specified for this patch
      * 
* * string severity = 3; - * * @return The severity. */ @java.lang.Override @@ -10483,29 +9069,29 @@ public java.lang.String getSeverity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; } } /** - * - * *
      * The severity specified for this patch
      * 
* * string severity = 3; - * * @return The bytes for severity. */ @java.lang.Override - public com.google.protobuf.ByteString getSeverityBytes() { + public com.google.protobuf.ByteString + getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); severity_ = b; return b; } else { @@ -10516,14 +9102,11 @@ public com.google.protobuf.ByteString getSeverityBytes() { public static final int SUMMARY_FIELD_NUMBER = 4; private volatile java.lang.Object summary_; /** - * - * *
      * Any summary information provided about this patch.
      * 
* * string summary = 4; - * * @return The summary. */ @java.lang.Override @@ -10532,29 +9115,29 @@ public java.lang.String getSummary() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); summary_ = s; return s; } } /** - * - * *
      * Any summary information provided about this patch.
      * 
* * string summary = 4; - * * @return The bytes for summary. */ @java.lang.Override - public com.google.protobuf.ByteString getSummaryBytes() { + public com.google.protobuf.ByteString + getSummaryBytes() { java.lang.Object ref = summary_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); summary_ = b; return b; } else { @@ -10563,7 +9146,6 @@ public com.google.protobuf.ByteString getSummaryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10575,7 +9157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(category_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, category_); } @@ -10617,18 +9200,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch other = - (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) obj; + com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch other = (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) obj; - if (!getPatchName().equals(other.getPatchName())) return false; - if (!getCategory().equals(other.getCategory())) return false; - if (!getSeverity().equals(other.getSeverity())) return false; - if (!getSummary().equals(other.getSummary())) return false; + if (!getPatchName() + .equals(other.getPatchName())) return false; + if (!getCategory() + .equals(other.getCategory())) return false; + if (!getSeverity() + .equals(other.getSeverity())) return false; + if (!getSummary() + .equals(other.getSummary())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -10654,94 +9240,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch 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.osconfig.v1alpha.Inventory.ZypperPatch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10751,32 +9330,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Details related to a Zypper Patch.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.ZypperPatch} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.class, - com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.class, com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.newBuilder() @@ -10784,15 +9358,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -10808,9 +9383,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor; } @java.lang.Override @@ -10829,8 +9404,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch buildPartial() { - com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch result = - new com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch(this); + com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch result = new com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch(this); result.patchName_ = patchName_; result.category_ = category_; result.severity_ = severity_; @@ -10843,41 +9417,38 @@ public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.Inventory.ZypperPatch) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch)other); } else { super.mergeFrom(other); return this; @@ -10885,8 +9456,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch other) { - if (other == com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.getDefaultInstance()) return this; if (!other.getPatchName().isEmpty()) { patchName_ = other.patchName_; onChanged(); @@ -10922,8 +9492,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -10935,20 +9504,18 @@ public Builder mergeFrom( private java.lang.Object patchName_ = ""; /** - * - * *
        * The name of the patch.
        * 
* * string patch_name = 5; - * * @return The patchName. */ public java.lang.String getPatchName() { java.lang.Object ref = patchName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchName_ = s; return s; @@ -10957,21 +9524,20 @@ public java.lang.String getPatchName() { } } /** - * - * *
        * The name of the patch.
        * 
* * string patch_name = 5; - * * @return The bytes for patchName. */ - public com.google.protobuf.ByteString getPatchNameBytes() { + public com.google.protobuf.ByteString + getPatchNameBytes() { java.lang.Object ref = patchName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); patchName_ = b; return b; } else { @@ -10979,61 +9545,54 @@ public com.google.protobuf.ByteString getPatchNameBytes() { } } /** - * - * *
        * The name of the patch.
        * 
* * string patch_name = 5; - * * @param value The patchName to set. * @return This builder for chaining. */ - public Builder setPatchName(java.lang.String value) { + public Builder setPatchName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + patchName_ = value; onChanged(); return this; } /** - * - * *
        * The name of the patch.
        * 
* * string patch_name = 5; - * * @return This builder for chaining. */ public Builder clearPatchName() { - + patchName_ = getDefaultInstance().getPatchName(); onChanged(); return this; } /** - * - * *
        * The name of the patch.
        * 
* * string patch_name = 5; - * * @param value The bytes for patchName to set. * @return This builder for chaining. */ - public Builder setPatchNameBytes(com.google.protobuf.ByteString value) { + public Builder setPatchNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + patchName_ = value; onChanged(); return this; @@ -11041,20 +9600,18 @@ public Builder setPatchNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object category_ = ""; /** - * - * *
        * The category of the patch.
        * 
* * string category = 2; - * * @return The category. */ public java.lang.String getCategory() { java.lang.Object ref = category_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); category_ = s; return s; @@ -11063,21 +9620,20 @@ public java.lang.String getCategory() { } } /** - * - * *
        * The category of the patch.
        * 
* * string category = 2; - * * @return The bytes for category. */ - public com.google.protobuf.ByteString getCategoryBytes() { + public com.google.protobuf.ByteString + getCategoryBytes() { java.lang.Object ref = category_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); category_ = b; return b; } else { @@ -11085,61 +9641,54 @@ public com.google.protobuf.ByteString getCategoryBytes() { } } /** - * - * *
        * The category of the patch.
        * 
* * string category = 2; - * * @param value The category to set. * @return This builder for chaining. */ - public Builder setCategory(java.lang.String value) { + public Builder setCategory( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + category_ = value; onChanged(); return this; } /** - * - * *
        * The category of the patch.
        * 
* * string category = 2; - * * @return This builder for chaining. */ public Builder clearCategory() { - + category_ = getDefaultInstance().getCategory(); onChanged(); return this; } /** - * - * *
        * The category of the patch.
        * 
* * string category = 2; - * * @param value The bytes for category to set. * @return This builder for chaining. */ - public Builder setCategoryBytes(com.google.protobuf.ByteString value) { + public Builder setCategoryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + category_ = value; onChanged(); return this; @@ -11147,20 +9696,18 @@ public Builder setCategoryBytes(com.google.protobuf.ByteString value) { private java.lang.Object severity_ = ""; /** - * - * *
        * The severity specified for this patch
        * 
* * string severity = 3; - * * @return The severity. */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; @@ -11169,21 +9716,20 @@ public java.lang.String getSeverity() { } } /** - * - * *
        * The severity specified for this patch
        * 
* * string severity = 3; - * * @return The bytes for severity. */ - public com.google.protobuf.ByteString getSeverityBytes() { + public com.google.protobuf.ByteString + getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); severity_ = b; return b; } else { @@ -11191,61 +9737,54 @@ public com.google.protobuf.ByteString getSeverityBytes() { } } /** - * - * *
        * The severity specified for this patch
        * 
* * string severity = 3; - * * @param value The severity to set. * @return This builder for chaining. */ - public Builder setSeverity(java.lang.String value) { + public Builder setSeverity( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + severity_ = value; onChanged(); return this; } /** - * - * *
        * The severity specified for this patch
        * 
* * string severity = 3; - * * @return This builder for chaining. */ public Builder clearSeverity() { - + severity_ = getDefaultInstance().getSeverity(); onChanged(); return this; } /** - * - * *
        * The severity specified for this patch
        * 
* * string severity = 3; - * * @param value The bytes for severity to set. * @return This builder for chaining. */ - public Builder setSeverityBytes(com.google.protobuf.ByteString value) { + public Builder setSeverityBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + severity_ = value; onChanged(); return this; @@ -11253,20 +9792,18 @@ public Builder setSeverityBytes(com.google.protobuf.ByteString value) { private java.lang.Object summary_ = ""; /** - * - * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; - * * @return The summary. */ public java.lang.String getSummary() { java.lang.Object ref = summary_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); summary_ = s; return s; @@ -11275,21 +9812,20 @@ public java.lang.String getSummary() { } } /** - * - * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; - * * @return The bytes for summary. */ - public com.google.protobuf.ByteString getSummaryBytes() { + public com.google.protobuf.ByteString + getSummaryBytes() { java.lang.Object ref = summary_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); summary_ = b; return b; } else { @@ -11297,66 +9833,58 @@ public com.google.protobuf.ByteString getSummaryBytes() { } } /** - * - * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; - * * @param value The summary to set. * @return This builder for chaining. */ - public Builder setSummary(java.lang.String value) { + public Builder setSummary( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + summary_ = value; onChanged(); return this; } /** - * - * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; - * * @return This builder for chaining. */ public Builder clearSummary() { - + summary_ = getDefaultInstance().getSummary(); onChanged(); return this; } /** - * - * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; - * * @param value The bytes for summary to set. * @return This builder for chaining. */ - public Builder setSummaryBytes(com.google.protobuf.ByteString value) { + public Builder setSummaryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + summary_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11369,12 +9897,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) private static final com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch(); } @@ -11383,16 +9911,16 @@ public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ZypperPatch parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ZypperPatch(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ZypperPatch parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ZypperPatch(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11407,334 +9935,258 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface WindowsUpdatePackageOrBuilder - extends + public interface WindowsUpdatePackageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The localized title of the update package.
      * 
* * string title = 1; - * * @return The title. */ java.lang.String getTitle(); /** - * - * *
      * The localized title of the update package.
      * 
* * string title = 1; - * * @return The bytes for title. */ - com.google.protobuf.ByteString getTitleBytes(); + com.google.protobuf.ByteString + getTitleBytes(); /** - * - * *
      * The localized description of the update package.
      * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * The localized description of the update package.
      * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - java.util.List< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory> + java.util.List getCategoriesList(); /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - getCategories(int index); + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getCategories(int index); /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ int getCategoriesCount(); /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategoryOrBuilder> + java.util.List getCategoriesOrBuilderList(); /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder - getCategoriesOrBuilder(int index); + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder getCategoriesOrBuilder( + int index); /** - * - * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; - * * @return A list containing the kbArticleIds. */ - java.util.List getKbArticleIdsList(); + java.util.List + getKbArticleIdsList(); /** - * - * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; - * * @return The count of kbArticleIds. */ int getKbArticleIdsCount(); /** - * - * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; - * * @param index The index of the element to return. * @return The kbArticleIds at the given index. */ java.lang.String getKbArticleIds(int index); /** - * - * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; - * * @param index The index of the value to return. * @return The bytes of the kbArticleIds at the given index. */ - com.google.protobuf.ByteString getKbArticleIdsBytes(int index); + com.google.protobuf.ByteString + getKbArticleIdsBytes(int index); /** - * - * *
      * A hyperlink to the language-specific support information for the update.
      * 
* * string support_url = 11; - * * @return The supportUrl. */ java.lang.String getSupportUrl(); /** - * - * *
      * A hyperlink to the language-specific support information for the update.
      * 
* * string support_url = 11; - * * @return The bytes for supportUrl. */ - com.google.protobuf.ByteString getSupportUrlBytes(); + com.google.protobuf.ByteString + getSupportUrlBytes(); /** - * - * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; - * * @return A list containing the moreInfoUrls. */ - java.util.List getMoreInfoUrlsList(); + java.util.List + getMoreInfoUrlsList(); /** - * - * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; - * * @return The count of moreInfoUrls. */ int getMoreInfoUrlsCount(); /** - * - * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; - * * @param index The index of the element to return. * @return The moreInfoUrls at the given index. */ java.lang.String getMoreInfoUrls(int index); /** - * - * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; - * * @param index The index of the value to return. * @return The bytes of the moreInfoUrls at the given index. */ - com.google.protobuf.ByteString getMoreInfoUrlsBytes(int index); + com.google.protobuf.ByteString + getMoreInfoUrlsBytes(int index); /** - * - * *
      * Gets the identifier of an update package.  Stays the same across
      * revisions.
      * 
* * string update_id = 6; - * * @return The updateId. */ java.lang.String getUpdateId(); /** - * - * *
      * Gets the identifier of an update package.  Stays the same across
      * revisions.
      * 
* * string update_id = 6; - * * @return The bytes for updateId. */ - com.google.protobuf.ByteString getUpdateIdBytes(); + com.google.protobuf.ByteString + getUpdateIdBytes(); /** - * - * *
      * The revision number of this update package.
      * 
* * int32 revision_number = 7; - * * @return The revisionNumber. */ int getRevisionNumber(); /** - * - * *
      * The last published date of the update, in (UTC) date and time.
      * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; - * * @return Whether the lastDeploymentChangeTime field is set. */ boolean hasLastDeploymentChangeTime(); /** - * - * *
      * The last published date of the update, in (UTC) date and time.
      * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; - * * @return The lastDeploymentChangeTime. */ com.google.protobuf.Timestamp getLastDeploymentChangeTime(); /** - * - * *
      * The last published date of the update, in (UTC) date and time.
      * 
@@ -11744,8 +10196,6 @@ public interface WindowsUpdatePackageOrBuilder com.google.protobuf.TimestampOrBuilder getLastDeploymentChangeTimeOrBuilder(); } /** - * - * *
    * Details related to a Windows Update package.
    * Field data and names are taken from Windows Update API IUpdate Interface:
@@ -11756,16 +10206,15 @@ public interface WindowsUpdatePackageOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage}
    */
-  public static final class WindowsUpdatePackage extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class WindowsUpdatePackage extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage)
       WindowsUpdatePackageOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use WindowsUpdatePackage.newBuilder() to construct.
     private WindowsUpdatePackage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private WindowsUpdatePackage() {
       title_ = "";
       description_ = "";
@@ -11778,15 +10227,16 @@ private WindowsUpdatePackage() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new WindowsUpdatePackage();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private WindowsUpdatePackage(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -11806,97 +10256,82 @@ private WindowsUpdatePackage(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                title_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              title_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                description_ = s;
-                break;
-              }
-            case 26:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  categories_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage
-                              .WindowsUpdateCategory>();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                categories_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage
-                            .WindowsUpdateCategory.parser(),
-                        extensionRegistry));
-                break;
+              description_ = s;
+              break;
+            }
+            case 26: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                categories_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  kbArticleIds_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                kbArticleIds_.add(s);
-                break;
+              categories_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.parser(), extensionRegistry));
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                kbArticleIds_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                  moreInfoUrls_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000004;
-                }
-                moreInfoUrls_.add(s);
-                break;
+              kbArticleIds_.add(s);
+              break;
+            }
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                moreInfoUrls_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000004;
               }
-            case 50:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              moreInfoUrls_.add(s);
+              break;
+            }
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                updateId_ = s;
-                break;
+              updateId_ = s;
+              break;
+            }
+            case 56: {
+
+              revisionNumber_ = input.readInt32();
+              break;
+            }
+            case 82: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (lastDeploymentChangeTime_ != null) {
+                subBuilder = lastDeploymentChangeTime_.toBuilder();
               }
-            case 56:
-              {
-                revisionNumber_ = input.readInt32();
-                break;
+              lastDeploymentChangeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(lastDeploymentChangeTime_);
+                lastDeploymentChangeTime_ = subBuilder.buildPartial();
               }
-            case 82:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (lastDeploymentChangeTime_ != null) {
-                  subBuilder = lastDeploymentChangeTime_.toBuilder();
-                }
-                lastDeploymentChangeTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(lastDeploymentChangeTime_);
-                  lastDeploymentChangeTime_ = subBuilder.buildPartial();
-                }
 
-                break;
-              }
-            case 90:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+            case 90: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                supportUrl_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              supportUrl_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -11904,7 +10339,8 @@ private WindowsUpdatePackage(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           categories_ = java.util.Collections.unmodifiableList(categories_);
@@ -11919,97 +10355,79 @@ private WindowsUpdatePackage(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.Inventories
-          .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.Inventories
-          .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.class,
-              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder.class);
+              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.class, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder.class);
     }
 
-    public interface WindowsUpdateCategoryOrBuilder
-        extends
+    public interface WindowsUpdateCategoryOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * The identifier of the windows update category.
        * 
* * string id = 1; - * * @return The id. */ java.lang.String getId(); /** - * - * *
        * The identifier of the windows update category.
        * 
* * string id = 1; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
        * The name of the windows update category.
        * 
* * string name = 2; - * * @return The name. */ java.lang.String getName(); /** - * - * *
        * The name of the windows update category.
        * 
* * string name = 2; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
      * Categories specified by the Windows Update.
      * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory} + * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory} */ - public static final class WindowsUpdateCategory extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class WindowsUpdateCategory extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) WindowsUpdateCategoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WindowsUpdateCategory.newBuilder() to construct. private WindowsUpdateCategory(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WindowsUpdateCategory() { id_ = ""; name_ = ""; @@ -12017,15 +10435,16 @@ private WindowsUpdateCategory() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WindowsUpdateCategory(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WindowsUpdateCategory( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -12044,27 +10463,25 @@ private WindowsUpdateCategory( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + id_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -12072,42 +10489,34 @@ private WindowsUpdateCategory( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory.class, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.class, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** - * - * *
        * The identifier of the windows update category.
        * 
* * string id = 1; - * * @return The id. */ @java.lang.Override @@ -12116,29 +10525,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
        * The identifier of the windows update category.
        * 
* * string id = 1; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -12149,14 +10558,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** - * - * *
        * The name of the windows update category.
        * 
* * string name = 2; - * * @return The name. */ @java.lang.Override @@ -12165,29 +10571,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
        * The name of the windows update category.
        * 
* * string name = 2; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -12196,7 +10602,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12208,7 +10613,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -12238,22 +10644,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - other = - (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory) - obj; + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory other = (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) obj; - if (!getId().equals(other.getId())) return false; - if (!getName().equals(other.getName())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -12274,116 +10675,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -12393,53 +10766,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Categories specified by the Windows Update.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory} + * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory.class, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.class, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -12451,25 +10815,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - build() { - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory build() { + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -12477,13 +10835,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - buildPartial() { - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - result = - new com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory(this); + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory buildPartial() { + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory result = new com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory(this); result.id_ = id_; result.name_ = name_; onBuilt(); @@ -12494,59 +10847,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory) - other); + if (other instanceof com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - other) { - if (other - == com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory other) { + if (other == com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); @@ -12570,15 +10910,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - parsedMessage = null; + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12590,20 +10926,18 @@ public Builder mergeFrom( private java.lang.Object id_ = ""; /** - * - * *
          * The identifier of the windows update category.
          * 
* * string id = 1; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -12612,21 +10946,20 @@ public java.lang.String getId() { } } /** - * - * *
          * The identifier of the windows update category.
          * 
* * string id = 1; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -12634,61 +10967,54 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
          * The identifier of the windows update category.
          * 
* * string id = 1; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
          * The identifier of the windows update category.
          * 
* * string id = 1; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
          * The identifier of the windows update category.
          * 
* * string id = 1; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -12696,20 +11022,18 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
          * The name of the windows update category.
          * 
* * string name = 2; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -12718,21 +11042,20 @@ public java.lang.String getName() { } } /** - * - * *
          * The name of the windows update category.
          * 
* * string name = 2; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -12740,66 +11063,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
          * The name of the windows update category.
          * 
* * string name = 2; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
          * The name of the windows update category.
          * 
* * string name = 2; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
          * The name of the windows update category.
          * 
* * string name = 2; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12812,36 +11127,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) - private static final com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory(); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsUpdateCategory parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsUpdateCategory(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsUpdateCategory parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsUpdateCategory(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12853,23 +11162,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int TITLE_FIELD_NUMBER = 1; private volatile java.lang.Object title_; /** - * - * *
      * The localized title of the update package.
      * 
* * string title = 1; - * * @return The title. */ @java.lang.Override @@ -12878,29 +11184,29 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** - * - * *
      * The localized title of the update package.
      * 
* * string title = 1; - * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString getTitleBytes() { + public com.google.protobuf.ByteString + getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); title_ = b; return b; } else { @@ -12911,14 +11217,11 @@ public com.google.protobuf.ByteString getTitleBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
      * The localized description of the update package.
      * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -12927,29 +11230,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * The localized description of the update package.
      * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -12958,136 +11261,99 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int CATEGORIES_FIELD_NUMBER = 3; - private java.util.List< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory> - categories_; + private java.util.List categories_; /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ @java.lang.Override - public java.util.List< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory> - getCategoriesList() { + public java.util.List getCategoriesList() { return categories_; } /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategoryOrBuilder> + public java.util.List getCategoriesOrBuilderList() { return categories_; } /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ @java.lang.Override public int getCategoriesCount() { return categories_.size(); } /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - getCategories(int index) { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getCategories(int index) { return categories_.get(index); } /** - * - * *
      * The categories that are associated with this update package.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategoryOrBuilder - getCategoriesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder getCategoriesOrBuilder( + int index) { return categories_.get(index); } public static final int KB_ARTICLE_IDS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList kbArticleIds_; /** - * - * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; - * * @return A list containing the kbArticleIds. */ - public com.google.protobuf.ProtocolStringList getKbArticleIdsList() { + public com.google.protobuf.ProtocolStringList + getKbArticleIdsList() { return kbArticleIds_; } /** - * - * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; - * * @return The count of kbArticleIds. */ public int getKbArticleIdsCount() { return kbArticleIds_.size(); } /** - * - * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; - * * @param index The index of the element to return. * @return The kbArticleIds at the given index. */ @@ -13095,33 +11361,28 @@ public java.lang.String getKbArticleIds(int index) { return kbArticleIds_.get(index); } /** - * - * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; - * * @param index The index of the value to return. * @return The bytes of the kbArticleIds at the given index. */ - public com.google.protobuf.ByteString getKbArticleIdsBytes(int index) { + public com.google.protobuf.ByteString + getKbArticleIdsBytes(int index) { return kbArticleIds_.getByteString(index); } public static final int SUPPORT_URL_FIELD_NUMBER = 11; private volatile java.lang.Object supportUrl_; /** - * - * *
      * A hyperlink to the language-specific support information for the update.
      * 
* * string support_url = 11; - * * @return The supportUrl. */ @java.lang.Override @@ -13130,29 +11391,29 @@ public java.lang.String getSupportUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); supportUrl_ = s; return s; } } /** - * - * *
      * A hyperlink to the language-specific support information for the update.
      * 
* * string support_url = 11; - * * @return The bytes for supportUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getSupportUrlBytes() { + public com.google.protobuf.ByteString + getSupportUrlBytes() { java.lang.Object ref = supportUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); supportUrl_ = b; return b; } else { @@ -13163,45 +11424,37 @@ public com.google.protobuf.ByteString getSupportUrlBytes() { public static final int MORE_INFO_URLS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList moreInfoUrls_; /** - * - * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; - * * @return A list containing the moreInfoUrls. */ - public com.google.protobuf.ProtocolStringList getMoreInfoUrlsList() { + public com.google.protobuf.ProtocolStringList + getMoreInfoUrlsList() { return moreInfoUrls_; } /** - * - * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; - * * @return The count of moreInfoUrls. */ public int getMoreInfoUrlsCount() { return moreInfoUrls_.size(); } /** - * - * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; - * * @param index The index of the element to return. * @return The moreInfoUrls at the given index. */ @@ -13209,34 +11462,29 @@ public java.lang.String getMoreInfoUrls(int index) { return moreInfoUrls_.get(index); } /** - * - * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; - * * @param index The index of the value to return. * @return The bytes of the moreInfoUrls at the given index. */ - public com.google.protobuf.ByteString getMoreInfoUrlsBytes(int index) { + public com.google.protobuf.ByteString + getMoreInfoUrlsBytes(int index) { return moreInfoUrls_.getByteString(index); } public static final int UPDATE_ID_FIELD_NUMBER = 6; private volatile java.lang.Object updateId_; /** - * - * *
      * Gets the identifier of an update package.  Stays the same across
      * revisions.
      * 
* * string update_id = 6; - * * @return The updateId. */ @java.lang.Override @@ -13245,30 +11493,30 @@ public java.lang.String getUpdateId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); updateId_ = s; return s; } } /** - * - * *
      * Gets the identifier of an update package.  Stays the same across
      * revisions.
      * 
* * string update_id = 6; - * * @return The bytes for updateId. */ @java.lang.Override - public com.google.protobuf.ByteString getUpdateIdBytes() { + public com.google.protobuf.ByteString + getUpdateIdBytes() { java.lang.Object ref = updateId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); updateId_ = b; return b; } else { @@ -13279,14 +11527,11 @@ public com.google.protobuf.ByteString getUpdateIdBytes() { public static final int REVISION_NUMBER_FIELD_NUMBER = 7; private int revisionNumber_; /** - * - * *
      * The revision number of this update package.
      * 
* * int32 revision_number = 7; - * * @return The revisionNumber. */ @java.lang.Override @@ -13297,14 +11542,11 @@ public int getRevisionNumber() { public static final int LAST_DEPLOYMENT_CHANGE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp lastDeploymentChangeTime_; /** - * - * *
      * The last published date of the update, in (UTC) date and time.
      * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; - * * @return Whether the lastDeploymentChangeTime field is set. */ @java.lang.Override @@ -13312,25 +11554,18 @@ public boolean hasLastDeploymentChangeTime() { return lastDeploymentChangeTime_ != null; } /** - * - * *
      * The last published date of the update, in (UTC) date and time.
      * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; - * * @return The lastDeploymentChangeTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastDeploymentChangeTime() { - return lastDeploymentChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastDeploymentChangeTime_; + return lastDeploymentChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastDeploymentChangeTime_; } /** - * - * *
      * The last published date of the update, in (UTC) date and time.
      * 
@@ -13343,7 +11578,6 @@ public com.google.protobuf.TimestampOrBuilder getLastDeploymentChangeTimeOrBuild } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13355,7 +11589,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, title_); } @@ -13399,7 +11634,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } for (int i = 0; i < categories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, categories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, categories_.get(i)); } { int dataSize = 0; @@ -13421,12 +11657,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, updateId_); } if (revisionNumber_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, revisionNumber_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, revisionNumber_); } if (lastDeploymentChangeTime_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, getLastDeploymentChangeTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getLastDeploymentChangeTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(supportUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, supportUrl_); @@ -13439,26 +11675,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage other = - (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) obj; - - if (!getTitle().equals(other.getTitle())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getCategoriesList().equals(other.getCategoriesList())) return false; - if (!getKbArticleIdsList().equals(other.getKbArticleIdsList())) return false; - if (!getSupportUrl().equals(other.getSupportUrl())) return false; - if (!getMoreInfoUrlsList().equals(other.getMoreInfoUrlsList())) return false; - if (!getUpdateId().equals(other.getUpdateId())) return false; - if (getRevisionNumber() != other.getRevisionNumber()) return false; + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage other = (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) obj; + + if (!getTitle() + .equals(other.getTitle())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getCategoriesList() + .equals(other.getCategoriesList())) return false; + if (!getKbArticleIdsList() + .equals(other.getKbArticleIdsList())) return false; + if (!getSupportUrl() + .equals(other.getSupportUrl())) return false; + if (!getMoreInfoUrlsList() + .equals(other.getMoreInfoUrlsList())) return false; + if (!getUpdateId() + .equals(other.getUpdateId())) return false; + if (getRevisionNumber() + != other.getRevisionNumber()) return false; if (hasLastDeploymentChangeTime() != other.hasLastDeploymentChangeTime()) return false; if (hasLastDeploymentChangeTime()) { - if (!getLastDeploymentChangeTime().equals(other.getLastDeploymentChangeTime())) - return false; + if (!getLastDeploymentChangeTime() + .equals(other.getLastDeploymentChangeTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -13503,95 +11746,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -13601,8 +11836,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Details related to a Windows Update package.
      * Field data and names are taken from Windows Update API IUpdate Interface:
@@ -13613,43 +11846,39 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage)
         com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.Inventories
-            .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.Inventories
-            .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.class,
-                com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder.class);
+                com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.class, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.newBuilder()
+      // Construct using com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getCategoriesFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -13683,16 +11912,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1alpha.Inventories
-            .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage
-          getDefaultInstanceForType() {
-        return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage
-            .getDefaultInstance();
+      public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage getDefaultInstanceForType() {
+        return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -13706,8 +11933,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage build()
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage buildPartial() {
-        com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage result =
-            new com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage(this);
+        com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage result = new com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage(this);
         int from_bitField0_ = bitField0_;
         result.title_ = title_;
         result.description_ = description_;
@@ -13746,53 +11972,46 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage buildPar
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1alpha.Inventory.WindowsUpdatePackage) {
-          return mergeFrom(
-              (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) other);
+          return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage other) {
-        if (other
-            == com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage other) {
+        if (other == com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.getDefaultInstance()) return this;
         if (!other.getTitle().isEmpty()) {
           title_ = other.title_;
           onChanged();
@@ -13819,10 +12038,9 @@ public Builder mergeFrom(
               categoriesBuilder_ = null;
               categories_ = other.categories_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              categoriesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getCategoriesFieldBuilder()
-                      : null;
+              categoriesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getCategoriesFieldBuilder() : null;
             } else {
               categoriesBuilder_.addAllMessages(other.categories_);
             }
@@ -13881,9 +12099,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -13892,25 +12108,22 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object title_ = "";
       /**
-       *
-       *
        * 
        * The localized title of the update package.
        * 
* * string title = 1; - * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -13919,21 +12132,20 @@ public java.lang.String getTitle() { } } /** - * - * *
        * The localized title of the update package.
        * 
* * string title = 1; - * * @return The bytes for title. */ - public com.google.protobuf.ByteString getTitleBytes() { + public com.google.protobuf.ByteString + getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); title_ = b; return b; } else { @@ -13941,61 +12153,54 @@ public com.google.protobuf.ByteString getTitleBytes() { } } /** - * - * *
        * The localized title of the update package.
        * 
* * string title = 1; - * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle(java.lang.String value) { + public Builder setTitle( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** - * - * *
        * The localized title of the update package.
        * 
* * string title = 1; - * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** - * - * *
        * The localized title of the update package.
        * 
* * string title = 1; - * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes(com.google.protobuf.ByteString value) { + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -14003,20 +12208,18 @@ public Builder setTitleBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
        * The localized description of the update package.
        * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -14025,21 +12228,20 @@ public java.lang.String getDescription() { } } /** - * - * *
        * The localized description of the update package.
        * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -14047,105 +12249,79 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * The localized description of the update package.
        * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
        * The localized description of the update package.
        * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
        * The localized description of the update package.
        * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private java.util.List< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory> - categories_ = java.util.Collections.emptyList(); - + private java.util.List categories_ = + java.util.Collections.emptyList(); private void ensureCategoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - categories_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory>(categories_); + categories_ = new java.util.ArrayList(categories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .Builder, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategoryOrBuilder> - categoriesBuilder_; + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder> categoriesBuilder_; /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - public java.util.List< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory> - getCategoriesList() { + public java.util.List getCategoriesList() { if (categoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(categories_); } else { @@ -14153,15 +12329,11 @@ private void ensureCategoriesIsMutable() { } } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ public int getCategoriesCount() { if (categoriesBuilder_ == null) { @@ -14171,18 +12343,13 @@ public int getCategoriesCount() { } } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - getCategories(int index) { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getCategories(int index) { if (categoriesBuilder_ == null) { return categories_.get(index); } else { @@ -14190,20 +12357,14 @@ public int getCategoriesCount() { } } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ public Builder setCategories( - int index, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - value) { + int index, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory value) { if (categoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14217,21 +12378,14 @@ public Builder setCategories( return this; } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ public Builder setCategories( - int index, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue) { if (categoriesBuilder_ == null) { ensureCategoriesIsMutable(); categories_.set(index, builderForValue.build()); @@ -14242,19 +12396,13 @@ public Builder setCategories( return this; } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - public Builder addCategories( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - value) { + public Builder addCategories(com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory value) { if (categoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14268,20 +12416,14 @@ public Builder addCategories( return this; } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ public Builder addCategories( - int index, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - value) { + int index, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory value) { if (categoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14295,20 +12437,14 @@ public Builder addCategories( return this; } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ public Builder addCategories( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue) { if (categoriesBuilder_ == null) { ensureCategoriesIsMutable(); categories_.add(builderForValue.build()); @@ -14319,21 +12455,14 @@ public Builder addCategories( return this; } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ public Builder addCategories( - int index, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue) { if (categoriesBuilder_ == null) { ensureCategoriesIsMutable(); categories_.add(index, builderForValue.build()); @@ -14344,25 +12473,18 @@ public Builder addCategories( return this; } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ public Builder addAllCategories( - java.lang.Iterable< - ? extends - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory> - values) { + java.lang.Iterable values) { if (categoriesBuilder_ == null) { ensureCategoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, categories_); onChanged(); } else { categoriesBuilder_.addAllMessages(values); @@ -14370,15 +12492,11 @@ public Builder addAllCategories( return this; } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ public Builder clearCategories() { if (categoriesBuilder_ == null) { @@ -14391,15 +12509,11 @@ public Builder clearCategories() { return this; } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ public Builder removeCategories(int index) { if (categoriesBuilder_ == null) { @@ -14412,57 +12526,39 @@ public Builder removeCategories(int index) { return this; } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .Builder - getCategoriesBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder getCategoriesBuilder( + int index) { return getCategoriesFieldBuilder().getBuilder(index); } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategoryOrBuilder - getCategoriesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder getCategoriesOrBuilder( + int index) { if (categoriesBuilder_ == null) { - return categories_.get(index); - } else { + return categories_.get(index); } else { return categoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategoryOrBuilder> - getCategoriesOrBuilderList() { + public java.util.List + getCategoriesOrBuilderList() { if (categoriesBuilder_ != null) { return categoriesBuilder_.getMessageOrBuilderList(); } else { @@ -14470,134 +12566,93 @@ public Builder removeCategories(int index) { } } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .Builder - addCategoriesBuilder() { - return getCategoriesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder addCategoriesBuilder() { + return getCategoriesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.getDefaultInstance()); } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .Builder - addCategoriesBuilder(int index) { - return getCategoriesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder addCategoriesBuilder( + int index) { + return getCategoriesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.getDefaultInstance()); } /** - * - * *
        * The categories that are associated with this update package.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; - * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; */ - public java.util.List< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .Builder> - getCategoriesBuilderList() { + public java.util.List + getCategoriesBuilderList() { return getCategoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory - .Builder, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategoryOrBuilder> + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder> getCategoriesFieldBuilder() { if (categoriesBuilder_ == null) { - categoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategory.Builder, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - .WindowsUpdateCategoryOrBuilder>( - categories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + categoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder>( + categories_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); categories_ = null; } return categoriesBuilder_; } - private com.google.protobuf.LazyStringList kbArticleIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList kbArticleIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureKbArticleIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { kbArticleIds_ = new com.google.protobuf.LazyStringArrayList(kbArticleIds_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; - * * @return A list containing the kbArticleIds. */ - public com.google.protobuf.ProtocolStringList getKbArticleIdsList() { + public com.google.protobuf.ProtocolStringList + getKbArticleIdsList() { return kbArticleIds_.getUnmodifiableView(); } /** - * - * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; - * * @return The count of kbArticleIds. */ public int getKbArticleIdsCount() { return kbArticleIds_.size(); } /** - * - * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; - * * @param index The index of the element to return. * @return The kbArticleIds at the given index. */ @@ -14605,95 +12660,85 @@ public java.lang.String getKbArticleIds(int index) { return kbArticleIds_.get(index); } /** - * - * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; - * * @param index The index of the value to return. * @return The bytes of the kbArticleIds at the given index. */ - public com.google.protobuf.ByteString getKbArticleIdsBytes(int index) { + public com.google.protobuf.ByteString + getKbArticleIdsBytes(int index) { return kbArticleIds_.getByteString(index); } /** - * - * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; - * * @param index The index to set the value at. * @param value The kbArticleIds to set. * @return This builder for chaining. */ - public Builder setKbArticleIds(int index, java.lang.String value) { + public Builder setKbArticleIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKbArticleIdsIsMutable(); + throw new NullPointerException(); + } + ensureKbArticleIdsIsMutable(); kbArticleIds_.set(index, value); onChanged(); return this; } /** - * - * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; - * * @param value The kbArticleIds to add. * @return This builder for chaining. */ - public Builder addKbArticleIds(java.lang.String value) { + public Builder addKbArticleIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKbArticleIdsIsMutable(); + throw new NullPointerException(); + } + ensureKbArticleIdsIsMutable(); kbArticleIds_.add(value); onChanged(); return this; } /** - * - * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; - * * @param values The kbArticleIds to add. * @return This builder for chaining. */ - public Builder addAllKbArticleIds(java.lang.Iterable values) { + public Builder addAllKbArticleIds( + java.lang.Iterable values) { ensureKbArticleIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kbArticleIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, kbArticleIds_); onChanged(); return this; } /** - * - * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; - * * @return This builder for chaining. */ public Builder clearKbArticleIds() { @@ -14703,23 +12748,21 @@ public Builder clearKbArticleIds() { return this; } /** - * - * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; - * * @param value The bytes of the kbArticleIds to add. * @return This builder for chaining. */ - public Builder addKbArticleIdsBytes(com.google.protobuf.ByteString value) { + public Builder addKbArticleIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureKbArticleIdsIsMutable(); kbArticleIds_.add(value); onChanged(); @@ -14728,20 +12771,18 @@ public Builder addKbArticleIdsBytes(com.google.protobuf.ByteString value) { private java.lang.Object supportUrl_ = ""; /** - * - * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; - * * @return The supportUrl. */ public java.lang.String getSupportUrl() { java.lang.Object ref = supportUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); supportUrl_ = s; return s; @@ -14750,21 +12791,20 @@ public java.lang.String getSupportUrl() { } } /** - * - * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; - * * @return The bytes for supportUrl. */ - public com.google.protobuf.ByteString getSupportUrlBytes() { + public com.google.protobuf.ByteString + getSupportUrlBytes() { java.lang.Object ref = supportUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); supportUrl_ = b; return b; } else { @@ -14772,115 +12812,98 @@ public com.google.protobuf.ByteString getSupportUrlBytes() { } } /** - * - * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; - * * @param value The supportUrl to set. * @return This builder for chaining. */ - public Builder setSupportUrl(java.lang.String value) { + public Builder setSupportUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + supportUrl_ = value; onChanged(); return this; } /** - * - * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; - * * @return This builder for chaining. */ public Builder clearSupportUrl() { - + supportUrl_ = getDefaultInstance().getSupportUrl(); onChanged(); return this; } /** - * - * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; - * * @param value The bytes for supportUrl to set. * @return This builder for chaining. */ - public Builder setSupportUrlBytes(com.google.protobuf.ByteString value) { + public Builder setSupportUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + supportUrl_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList moreInfoUrls_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList moreInfoUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureMoreInfoUrlsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { moreInfoUrls_ = new com.google.protobuf.LazyStringArrayList(moreInfoUrls_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; - * * @return A list containing the moreInfoUrls. */ - public com.google.protobuf.ProtocolStringList getMoreInfoUrlsList() { + public com.google.protobuf.ProtocolStringList + getMoreInfoUrlsList() { return moreInfoUrls_.getUnmodifiableView(); } /** - * - * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; - * * @return The count of moreInfoUrls. */ public int getMoreInfoUrlsCount() { return moreInfoUrls_.size(); } /** - * - * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; - * * @param index The index of the element to return. * @return The moreInfoUrls at the given index. */ @@ -14888,95 +12911,85 @@ public java.lang.String getMoreInfoUrls(int index) { return moreInfoUrls_.get(index); } /** - * - * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; - * * @param index The index of the value to return. * @return The bytes of the moreInfoUrls at the given index. */ - public com.google.protobuf.ByteString getMoreInfoUrlsBytes(int index) { + public com.google.protobuf.ByteString + getMoreInfoUrlsBytes(int index) { return moreInfoUrls_.getByteString(index); } /** - * - * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; - * * @param index The index to set the value at. * @param value The moreInfoUrls to set. * @return This builder for chaining. */ - public Builder setMoreInfoUrls(int index, java.lang.String value) { + public Builder setMoreInfoUrls( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMoreInfoUrlsIsMutable(); + throw new NullPointerException(); + } + ensureMoreInfoUrlsIsMutable(); moreInfoUrls_.set(index, value); onChanged(); return this; } /** - * - * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; - * * @param value The moreInfoUrls to add. * @return This builder for chaining. */ - public Builder addMoreInfoUrls(java.lang.String value) { + public Builder addMoreInfoUrls( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMoreInfoUrlsIsMutable(); + throw new NullPointerException(); + } + ensureMoreInfoUrlsIsMutable(); moreInfoUrls_.add(value); onChanged(); return this; } /** - * - * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; - * * @param values The moreInfoUrls to add. * @return This builder for chaining. */ - public Builder addAllMoreInfoUrls(java.lang.Iterable values) { + public Builder addAllMoreInfoUrls( + java.lang.Iterable values) { ensureMoreInfoUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, moreInfoUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, moreInfoUrls_); onChanged(); return this; } /** - * - * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; - * * @return This builder for chaining. */ public Builder clearMoreInfoUrls() { @@ -14986,23 +12999,21 @@ public Builder clearMoreInfoUrls() { return this; } /** - * - * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; - * * @param value The bytes of the moreInfoUrls to add. * @return This builder for chaining. */ - public Builder addMoreInfoUrlsBytes(com.google.protobuf.ByteString value) { + public Builder addMoreInfoUrlsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMoreInfoUrlsIsMutable(); moreInfoUrls_.add(value); onChanged(); @@ -15011,21 +13022,19 @@ public Builder addMoreInfoUrlsBytes(com.google.protobuf.ByteString value) { private java.lang.Object updateId_ = ""; /** - * - * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; - * * @return The updateId. */ public java.lang.String getUpdateId() { java.lang.Object ref = updateId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); updateId_ = s; return s; @@ -15034,22 +13043,21 @@ public java.lang.String getUpdateId() { } } /** - * - * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; - * * @return The bytes for updateId. */ - public com.google.protobuf.ByteString getUpdateIdBytes() { + public com.google.protobuf.ByteString + getUpdateIdBytes() { java.lang.Object ref = updateId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); updateId_ = b; return b; } else { @@ -15057,79 +13065,69 @@ public com.google.protobuf.ByteString getUpdateIdBytes() { } } /** - * - * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; - * * @param value The updateId to set. * @return This builder for chaining. */ - public Builder setUpdateId(java.lang.String value) { + public Builder setUpdateId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + updateId_ = value; onChanged(); return this; } /** - * - * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; - * * @return This builder for chaining. */ public Builder clearUpdateId() { - + updateId_ = getDefaultInstance().getUpdateId(); onChanged(); return this; } /** - * - * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; - * * @param value The bytes for updateId to set. * @return This builder for chaining. */ - public Builder setUpdateIdBytes(com.google.protobuf.ByteString value) { + public Builder setUpdateIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + updateId_ = value; onChanged(); return this; } - private int revisionNumber_; + private int revisionNumber_ ; /** - * - * *
        * The revision number of this update package.
        * 
* * int32 revision_number = 7; - * * @return The revisionNumber. */ @java.lang.Override @@ -15137,36 +13135,30 @@ public int getRevisionNumber() { return revisionNumber_; } /** - * - * *
        * The revision number of this update package.
        * 
* * int32 revision_number = 7; - * * @param value The revisionNumber to set. * @return This builder for chaining. */ public Builder setRevisionNumber(int value) { - + revisionNumber_ = value; onChanged(); return this; } /** - * - * *
        * The revision number of this update package.
        * 
* * int32 revision_number = 7; - * * @return This builder for chaining. */ public Builder clearRevisionNumber() { - + revisionNumber_ = 0; onChanged(); return this; @@ -15174,47 +13166,34 @@ public Builder clearRevisionNumber() { private com.google.protobuf.Timestamp lastDeploymentChangeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastDeploymentChangeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastDeploymentChangeTimeBuilder_; /** - * - * *
        * The last published date of the update, in (UTC) date and time.
        * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; - * * @return Whether the lastDeploymentChangeTime field is set. */ public boolean hasLastDeploymentChangeTime() { return lastDeploymentChangeTimeBuilder_ != null || lastDeploymentChangeTime_ != null; } /** - * - * *
        * The last published date of the update, in (UTC) date and time.
        * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; - * * @return The lastDeploymentChangeTime. */ public com.google.protobuf.Timestamp getLastDeploymentChangeTime() { if (lastDeploymentChangeTimeBuilder_ == null) { - return lastDeploymentChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastDeploymentChangeTime_; + return lastDeploymentChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastDeploymentChangeTime_; } else { return lastDeploymentChangeTimeBuilder_.getMessage(); } } /** - * - * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -15235,8 +13214,6 @@ public Builder setLastDeploymentChangeTime(com.google.protobuf.Timestamp value) return this; } /** - * - * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -15255,8 +13232,6 @@ public Builder setLastDeploymentChangeTime( return this; } /** - * - * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -15267,9 +13242,7 @@ public Builder mergeLastDeploymentChangeTime(com.google.protobuf.Timestamp value if (lastDeploymentChangeTimeBuilder_ == null) { if (lastDeploymentChangeTime_ != null) { lastDeploymentChangeTime_ = - com.google.protobuf.Timestamp.newBuilder(lastDeploymentChangeTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastDeploymentChangeTime_).mergeFrom(value).buildPartial(); } else { lastDeploymentChangeTime_ = value; } @@ -15281,8 +13254,6 @@ public Builder mergeLastDeploymentChangeTime(com.google.protobuf.Timestamp value return this; } /** - * - * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -15301,8 +13272,6 @@ public Builder clearLastDeploymentChangeTime() { return this; } /** - * - * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -15310,13 +13279,11 @@ public Builder clearLastDeploymentChangeTime() { * .google.protobuf.Timestamp last_deployment_change_time = 10; */ public com.google.protobuf.Timestamp.Builder getLastDeploymentChangeTimeBuilder() { - + onChanged(); return getLastDeploymentChangeTimeFieldBuilder().getBuilder(); } /** - * - * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -15327,14 +13294,11 @@ public com.google.protobuf.TimestampOrBuilder getLastDeploymentChangeTimeOrBuild if (lastDeploymentChangeTimeBuilder_ != null) { return lastDeploymentChangeTimeBuilder_.getMessageOrBuilder(); } else { - return lastDeploymentChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastDeploymentChangeTime_; + return lastDeploymentChangeTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastDeploymentChangeTime_; } } /** - * - * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -15342,22 +13306,18 @@ public com.google.protobuf.TimestampOrBuilder getLastDeploymentChangeTimeOrBuild * .google.protobuf.Timestamp last_deployment_change_time = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastDeploymentChangeTimeFieldBuilder() { if (lastDeploymentChangeTimeBuilder_ == null) { - lastDeploymentChangeTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastDeploymentChangeTime(), getParentForChildren(), isClean()); + lastDeploymentChangeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastDeploymentChangeTime(), + getParentForChildren(), + isClean()); lastDeploymentChangeTime_ = null; } return lastDeploymentChangeTimeBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -15370,32 +13330,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) - private static final com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage(); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsUpdatePackage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsUpdatePackage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsUpdatePackage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsUpdatePackage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15407,119 +13365,95 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface WindowsQuickFixEngineeringPackageOrBuilder - extends + public interface WindowsQuickFixEngineeringPackageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A short textual description of the QFE update.
      * 
* * string caption = 1; - * * @return The caption. */ java.lang.String getCaption(); /** - * - * *
      * A short textual description of the QFE update.
      * 
* * string caption = 1; - * * @return The bytes for caption. */ - com.google.protobuf.ByteString getCaptionBytes(); + com.google.protobuf.ByteString + getCaptionBytes(); /** - * - * *
      * A textual description of the QFE update.
      * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * A textual description of the QFE update.
      * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * Unique identifier associated with a particular QFE update.
      * 
* * string hot_fix_id = 3; - * * @return The hotFixId. */ java.lang.String getHotFixId(); /** - * - * *
      * Unique identifier associated with a particular QFE update.
      * 
* * string hot_fix_id = 3; - * * @return The bytes for hotFixId. */ - com.google.protobuf.ByteString getHotFixIdBytes(); + com.google.protobuf.ByteString + getHotFixIdBytes(); /** - * - * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
* * .google.protobuf.Timestamp install_time = 5; - * * @return Whether the installTime field is set. */ boolean hasInstallTime(); /** - * - * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
* * .google.protobuf.Timestamp install_time = 5; - * * @return The installTime. */ com.google.protobuf.Timestamp getInstallTime(); /** - * - * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
@@ -15529,8 +13463,6 @@ public interface WindowsQuickFixEngineeringPackageOrBuilder com.google.protobuf.TimestampOrBuilder getInstallTimeOrBuilder(); } /** - * - * *
    * Information related to a Quick Fix Engineering package.
    * Fields are taken from Windows QuickFixEngineering Interface and match
@@ -15540,18 +13472,15 @@ public interface WindowsQuickFixEngineeringPackageOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage}
    */
-  public static final class WindowsQuickFixEngineeringPackage
-      extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class WindowsQuickFixEngineeringPackage extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage)
       WindowsQuickFixEngineeringPackageOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use WindowsQuickFixEngineeringPackage.newBuilder() to construct.
-    private WindowsQuickFixEngineeringPackage(
-        com.google.protobuf.GeneratedMessageV3.Builder builder) {
+    private WindowsQuickFixEngineeringPackage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private WindowsQuickFixEngineeringPackage() {
       caption_ = "";
       description_ = "";
@@ -15560,15 +13489,16 @@ private WindowsQuickFixEngineeringPackage() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new WindowsQuickFixEngineeringPackage();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private WindowsQuickFixEngineeringPackage(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -15587,49 +13517,44 @@ private WindowsQuickFixEngineeringPackage(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                caption_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              caption_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                description_ = s;
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              description_ = s;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                hotFixId_ = s;
-                break;
+              hotFixId_ = s;
+              break;
+            }
+            case 42: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (installTime_ != null) {
+                subBuilder = installTime_.toBuilder();
               }
-            case 42:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (installTime_ != null) {
-                  subBuilder = installTime_.toBuilder();
-                }
-                installTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(installTime_);
-                  installTime_ = subBuilder.buildPartial();
-                }
-
-                break;
+              installTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(installTime_);
+                installTime_ = subBuilder.buildPartial();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -15637,40 +13562,34 @@ private WindowsQuickFixEngineeringPackage(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.Inventories
-          .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.Inventories
-          .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.class,
-              com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder
-                  .class);
+              com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.class, com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder.class);
     }
 
     public static final int CAPTION_FIELD_NUMBER = 1;
     private volatile java.lang.Object caption_;
     /**
-     *
-     *
      * 
      * A short textual description of the QFE update.
      * 
* * string caption = 1; - * * @return The caption. */ @java.lang.Override @@ -15679,29 +13598,29 @@ public java.lang.String getCaption() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caption_ = s; return s; } } /** - * - * *
      * A short textual description of the QFE update.
      * 
* * string caption = 1; - * * @return The bytes for caption. */ @java.lang.Override - public com.google.protobuf.ByteString getCaptionBytes() { + public com.google.protobuf.ByteString + getCaptionBytes() { java.lang.Object ref = caption_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); caption_ = b; return b; } else { @@ -15712,14 +13631,11 @@ public com.google.protobuf.ByteString getCaptionBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
      * A textual description of the QFE update.
      * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -15728,29 +13644,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * A textual description of the QFE update.
      * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -15761,14 +13677,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int HOT_FIX_ID_FIELD_NUMBER = 3; private volatile java.lang.Object hotFixId_; /** - * - * *
      * Unique identifier associated with a particular QFE update.
      * 
* * string hot_fix_id = 3; - * * @return The hotFixId. */ @java.lang.Override @@ -15777,29 +13690,29 @@ public java.lang.String getHotFixId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hotFixId_ = s; return s; } } /** - * - * *
      * Unique identifier associated with a particular QFE update.
      * 
* * string hot_fix_id = 3; - * * @return The bytes for hotFixId. */ @java.lang.Override - public com.google.protobuf.ByteString getHotFixIdBytes() { + public com.google.protobuf.ByteString + getHotFixIdBytes() { java.lang.Object ref = hotFixId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hotFixId_ = b; return b; } else { @@ -15810,14 +13723,11 @@ public com.google.protobuf.ByteString getHotFixIdBytes() { public static final int INSTALL_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp installTime_; /** - * - * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
* * .google.protobuf.Timestamp install_time = 5; - * * @return Whether the installTime field is set. */ @java.lang.Override @@ -15825,25 +13735,18 @@ public boolean hasInstallTime() { return installTime_ != null; } /** - * - * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
* * .google.protobuf.Timestamp install_time = 5; - * * @return The installTime. */ @java.lang.Override public com.google.protobuf.Timestamp getInstallTime() { - return installTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : installTime_; + return installTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : installTime_; } /** - * - * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
@@ -15856,7 +13759,6 @@ public com.google.protobuf.TimestampOrBuilder getInstallTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15868,7 +13770,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(caption_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, caption_); } @@ -15900,7 +13803,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, hotFixId_); } if (installTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getInstallTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getInstallTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -15910,22 +13814,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage other = - (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) obj; + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage other = (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) obj; - if (!getCaption().equals(other.getCaption())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getHotFixId().equals(other.getHotFixId())) return false; + if (!getCaption() + .equals(other.getCaption())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getHotFixId() + .equals(other.getHotFixId())) return false; if (hasInstallTime() != other.hasInstallTime()) return false; if (hasInstallTime()) { - if (!getInstallTime().equals(other.getInstallTime())) return false; + if (!getInstallTime() + .equals(other.getInstallTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -15953,101 +13858,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage 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.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage 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.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - 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.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage 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.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - 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.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage 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.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -16057,8 +13949,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Information related to a Quick Fix Engineering package.
      * Fields are taken from Windows QuickFixEngineering Interface and match
@@ -16066,45 +13956,40 @@ protected Builder newBuilderForType(
      * https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering
      * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage} + * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.class, - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - .Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.class, com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -16124,22 +14009,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage build() { - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage result = - buildPartial(); + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -16147,10 +14029,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPac } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - buildPartial() { - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage result = - new com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage(this); + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage buildPartial() { + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage result = new com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage(this); result.caption_ = caption_; result.description_ = description_; result.hotFixId_ = hotFixId_; @@ -16167,56 +14047,46 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPac public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) - other); + if (other instanceof com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage other) { - if (other - == com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage other) { + if (other == com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance()) return this; if (!other.getCaption().isEmpty()) { caption_ = other.caption_; onChanged(); @@ -16247,14 +14117,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - parsedMessage = null; + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -16266,20 +14133,18 @@ public Builder mergeFrom( private java.lang.Object caption_ = ""; /** - * - * *
        * A short textual description of the QFE update.
        * 
* * string caption = 1; - * * @return The caption. */ public java.lang.String getCaption() { java.lang.Object ref = caption_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caption_ = s; return s; @@ -16288,21 +14153,20 @@ public java.lang.String getCaption() { } } /** - * - * *
        * A short textual description of the QFE update.
        * 
* * string caption = 1; - * * @return The bytes for caption. */ - public com.google.protobuf.ByteString getCaptionBytes() { + public com.google.protobuf.ByteString + getCaptionBytes() { java.lang.Object ref = caption_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); caption_ = b; return b; } else { @@ -16310,61 +14174,54 @@ public com.google.protobuf.ByteString getCaptionBytes() { } } /** - * - * *
        * A short textual description of the QFE update.
        * 
* * string caption = 1; - * * @param value The caption to set. * @return This builder for chaining. */ - public Builder setCaption(java.lang.String value) { + public Builder setCaption( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + caption_ = value; onChanged(); return this; } /** - * - * *
        * A short textual description of the QFE update.
        * 
* * string caption = 1; - * * @return This builder for chaining. */ public Builder clearCaption() { - + caption_ = getDefaultInstance().getCaption(); onChanged(); return this; } /** - * - * *
        * A short textual description of the QFE update.
        * 
* * string caption = 1; - * * @param value The bytes for caption to set. * @return This builder for chaining. */ - public Builder setCaptionBytes(com.google.protobuf.ByteString value) { + public Builder setCaptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + caption_ = value; onChanged(); return this; @@ -16372,20 +14229,18 @@ public Builder setCaptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
        * A textual description of the QFE update.
        * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -16394,21 +14249,20 @@ public java.lang.String getDescription() { } } /** - * - * *
        * A textual description of the QFE update.
        * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -16416,61 +14270,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * A textual description of the QFE update.
        * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
        * A textual description of the QFE update.
        * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
        * A textual description of the QFE update.
        * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -16478,20 +14325,18 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object hotFixId_ = ""; /** - * - * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; - * * @return The hotFixId. */ public java.lang.String getHotFixId() { java.lang.Object ref = hotFixId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hotFixId_ = s; return s; @@ -16500,21 +14345,20 @@ public java.lang.String getHotFixId() { } } /** - * - * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; - * * @return The bytes for hotFixId. */ - public com.google.protobuf.ByteString getHotFixIdBytes() { + public com.google.protobuf.ByteString + getHotFixIdBytes() { java.lang.Object ref = hotFixId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hotFixId_ = b; return b; } else { @@ -16522,61 +14366,54 @@ public com.google.protobuf.ByteString getHotFixIdBytes() { } } /** - * - * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; - * * @param value The hotFixId to set. * @return This builder for chaining. */ - public Builder setHotFixId(java.lang.String value) { + public Builder setHotFixId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hotFixId_ = value; onChanged(); return this; } /** - * - * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; - * * @return This builder for chaining. */ public Builder clearHotFixId() { - + hotFixId_ = getDefaultInstance().getHotFixId(); onChanged(); return this; } /** - * - * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; - * * @param value The bytes for hotFixId to set. * @return This builder for chaining. */ - public Builder setHotFixIdBytes(com.google.protobuf.ByteString value) { + public Builder setHotFixIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hotFixId_ = value; onChanged(); return this; @@ -16584,47 +14421,34 @@ public Builder setHotFixIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp installTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - installTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> installTimeBuilder_; /** - * - * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
* * .google.protobuf.Timestamp install_time = 5; - * * @return Whether the installTime field is set. */ public boolean hasInstallTime() { return installTimeBuilder_ != null || installTime_ != null; } /** - * - * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
* * .google.protobuf.Timestamp install_time = 5; - * * @return The installTime. */ public com.google.protobuf.Timestamp getInstallTime() { if (installTimeBuilder_ == null) { - return installTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : installTime_; + return installTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : installTime_; } else { return installTimeBuilder_.getMessage(); } } /** - * - * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -16645,15 +14469,14 @@ public Builder setInstallTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
* * .google.protobuf.Timestamp install_time = 5; */ - public Builder setInstallTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setInstallTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (installTimeBuilder_ == null) { installTime_ = builderForValue.build(); onChanged(); @@ -16664,8 +14487,6 @@ public Builder setInstallTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -16676,9 +14497,7 @@ public Builder mergeInstallTime(com.google.protobuf.Timestamp value) { if (installTimeBuilder_ == null) { if (installTime_ != null) { installTime_ = - com.google.protobuf.Timestamp.newBuilder(installTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(installTime_).mergeFrom(value).buildPartial(); } else { installTime_ = value; } @@ -16690,8 +14509,6 @@ public Builder mergeInstallTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -16709,9 +14526,7 @@ public Builder clearInstallTime() { return this; } - /** - * - * + /** *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -16719,13 +14534,11 @@ public Builder clearInstallTime() { * .google.protobuf.Timestamp install_time = 5; */ public com.google.protobuf.Timestamp.Builder getInstallTimeBuilder() { - + onChanged(); return getInstallTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -16736,14 +14549,11 @@ public com.google.protobuf.TimestampOrBuilder getInstallTimeOrBuilder() { if (installTimeBuilder_ != null) { return installTimeBuilder_.getMessageOrBuilder(); } else { - return installTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : installTime_; + return installTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : installTime_; } } /** - * - * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -16751,22 +14561,18 @@ public com.google.protobuf.TimestampOrBuilder getInstallTimeOrBuilder() { * .google.protobuf.Timestamp install_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getInstallTimeFieldBuilder() { if (installTimeBuilder_ == null) { - installTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getInstallTime(), getParentForChildren(), isClean()); + installTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getInstallTime(), + getParentForChildren(), + isClean()); installTime_ = null; } return installTimeBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16779,34 +14585,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) - private static final com.google.cloud.osconfig.v1alpha.Inventory - .WindowsQuickFixEngineeringPackage - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage(); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsQuickFixEngineeringPackage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsQuickFixEngineeringPackage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsQuickFixEngineeringPackage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsQuickFixEngineeringPackage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16818,95 +14620,77 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface WindowsApplicationOrBuilder - extends + public interface WindowsApplicationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the application or product.
      * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
      * The name of the application or product.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
      * The version of the product or application in string format.
      * 
* * string display_version = 2; - * * @return The displayVersion. */ java.lang.String getDisplayVersion(); /** - * - * *
      * The version of the product or application in string format.
      * 
* * string display_version = 2; - * * @return The bytes for displayVersion. */ - com.google.protobuf.ByteString getDisplayVersionBytes(); + com.google.protobuf.ByteString + getDisplayVersionBytes(); /** - * - * *
      * The name of the manufacturer for the product or application.
      * 
* * string publisher = 3; - * * @return The publisher. */ java.lang.String getPublisher(); /** - * - * *
      * The name of the manufacturer for the product or application.
      * 
* * string publisher = 3; - * * @return The bytes for publisher. */ - com.google.protobuf.ByteString getPublisherBytes(); + com.google.protobuf.ByteString + getPublisherBytes(); /** - * - * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -16914,13 +14698,10 @@ public interface WindowsApplicationOrBuilder
      * 
* * .google.type.Date install_date = 4; - * * @return Whether the installDate field is set. */ boolean hasInstallDate(); /** - * - * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -16928,13 +14709,10 @@ public interface WindowsApplicationOrBuilder
      * 
* * .google.type.Date install_date = 4; - * * @return The installDate. */ com.google.type.Date getInstallDate(); /** - * - * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -16946,33 +14724,26 @@ public interface WindowsApplicationOrBuilder
     com.google.type.DateOrBuilder getInstallDateOrBuilder();
 
     /**
-     *
-     *
      * 
      * The internet address for technical support.
      * 
* * string help_link = 5; - * * @return The helpLink. */ java.lang.String getHelpLink(); /** - * - * *
      * The internet address for technical support.
      * 
* * string help_link = 5; - * * @return The bytes for helpLink. */ - com.google.protobuf.ByteString getHelpLinkBytes(); + com.google.protobuf.ByteString + getHelpLinkBytes(); } /** - * - * *
    * Contains information about a Windows application that is retrieved from the
    * Windows Registry. For more information about these fields, see:
@@ -16981,16 +14752,15 @@ public interface WindowsApplicationOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.WindowsApplication}
    */
-  public static final class WindowsApplication extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class WindowsApplication extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory.WindowsApplication)
       WindowsApplicationOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use WindowsApplication.newBuilder() to construct.
     private WindowsApplication(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private WindowsApplication() {
       displayName_ = "";
       displayVersion_ = "";
@@ -17000,15 +14770,16 @@ private WindowsApplication() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new WindowsApplication();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private WindowsApplication(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -17027,55 +14798,50 @@ private WindowsApplication(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                displayName_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              displayName_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                displayVersion_ = s;
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              displayVersion_ = s;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                publisher_ = s;
-                break;
+              publisher_ = s;
+              break;
+            }
+            case 34: {
+              com.google.type.Date.Builder subBuilder = null;
+              if (installDate_ != null) {
+                subBuilder = installDate_.toBuilder();
               }
-            case 34:
-              {
-                com.google.type.Date.Builder subBuilder = null;
-                if (installDate_ != null) {
-                  subBuilder = installDate_.toBuilder();
-                }
-                installDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(installDate_);
-                  installDate_ = subBuilder.buildPartial();
-                }
-
-                break;
+              installDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(installDate_);
+                installDate_ = subBuilder.buildPartial();
               }
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
 
-                helpLink_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              break;
+            }
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              helpLink_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -17083,39 +14849,34 @@ private WindowsApplication(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.Inventories
-          .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.Inventories
-          .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.class,
-              com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder.class);
+              com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.class, com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder.class);
     }
 
     public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object displayName_;
     /**
-     *
-     *
      * 
      * The name of the application or product.
      * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -17124,29 +14885,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
      * The name of the application or product.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -17157,14 +14918,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DISPLAY_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object displayVersion_; /** - * - * *
      * The version of the product or application in string format.
      * 
* * string display_version = 2; - * * @return The displayVersion. */ @java.lang.Override @@ -17173,29 +14931,29 @@ public java.lang.String getDisplayVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayVersion_ = s; return s; } } /** - * - * *
      * The version of the product or application in string format.
      * 
* * string display_version = 2; - * * @return The bytes for displayVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayVersionBytes() { + public com.google.protobuf.ByteString + getDisplayVersionBytes() { java.lang.Object ref = displayVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayVersion_ = b; return b; } else { @@ -17206,14 +14964,11 @@ public com.google.protobuf.ByteString getDisplayVersionBytes() { public static final int PUBLISHER_FIELD_NUMBER = 3; private volatile java.lang.Object publisher_; /** - * - * *
      * The name of the manufacturer for the product or application.
      * 
* * string publisher = 3; - * * @return The publisher. */ @java.lang.Override @@ -17222,29 +14977,29 @@ public java.lang.String getPublisher() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publisher_ = s; return s; } } /** - * - * *
      * The name of the manufacturer for the product or application.
      * 
* * string publisher = 3; - * * @return The bytes for publisher. */ @java.lang.Override - public com.google.protobuf.ByteString getPublisherBytes() { + public com.google.protobuf.ByteString + getPublisherBytes() { java.lang.Object ref = publisher_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publisher_ = b; return b; } else { @@ -17255,8 +15010,6 @@ public com.google.protobuf.ByteString getPublisherBytes() { public static final int INSTALL_DATE_FIELD_NUMBER = 4; private com.google.type.Date installDate_; /** - * - * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -17264,7 +15017,6 @@ public com.google.protobuf.ByteString getPublisherBytes() {
      * 
* * .google.type.Date install_date = 4; - * * @return Whether the installDate field is set. */ @java.lang.Override @@ -17272,8 +15024,6 @@ public boolean hasInstallDate() { return installDate_ != null; } /** - * - * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -17281,7 +15031,6 @@ public boolean hasInstallDate() {
      * 
* * .google.type.Date install_date = 4; - * * @return The installDate. */ @java.lang.Override @@ -17289,8 +15038,6 @@ public com.google.type.Date getInstallDate() { return installDate_ == null ? com.google.type.Date.getDefaultInstance() : installDate_; } /** - * - * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -17307,14 +15054,11 @@ public com.google.type.DateOrBuilder getInstallDateOrBuilder() {
     public static final int HELP_LINK_FIELD_NUMBER = 5;
     private volatile java.lang.Object helpLink_;
     /**
-     *
-     *
      * 
      * The internet address for technical support.
      * 
* * string help_link = 5; - * * @return The helpLink. */ @java.lang.Override @@ -17323,29 +15067,29 @@ public java.lang.String getHelpLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); helpLink_ = s; return s; } } /** - * - * *
      * The internet address for technical support.
      * 
* * string help_link = 5; - * * @return The bytes for helpLink. */ @java.lang.Override - public com.google.protobuf.ByteString getHelpLinkBytes() { + public com.google.protobuf.ByteString + getHelpLinkBytes() { java.lang.Object ref = helpLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); helpLink_ = b; return b; } else { @@ -17354,7 +15098,6 @@ public com.google.protobuf.ByteString getHelpLinkBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -17366,7 +15109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -17401,7 +15145,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, publisher_); } if (installDate_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getInstallDate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getInstallDate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(helpLink_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, helpLink_); @@ -17414,22 +15159,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication other = - (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) obj; + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication other = (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDisplayVersion().equals(other.getDisplayVersion())) return false; - if (!getPublisher().equals(other.getPublisher())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDisplayVersion() + .equals(other.getDisplayVersion())) return false; + if (!getPublisher() + .equals(other.getPublisher())) return false; if (hasInstallDate() != other.hasInstallDate()) return false; if (hasInstallDate()) { - if (!getInstallDate().equals(other.getInstallDate())) return false; + if (!getInstallDate() + .equals(other.getInstallDate())) return false; } - if (!getHelpLink().equals(other.getHelpLink())) return false; + if (!getHelpLink() + .equals(other.getHelpLink())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -17459,94 +15208,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication 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.osconfig.v1alpha.Inventory.WindowsApplication parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -17556,8 +15298,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Contains information about a Windows application that is retrieved from the
      * Windows Registry. For more information about these fields, see:
@@ -17566,24 +15306,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.WindowsApplication}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory.WindowsApplication)
         com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.Inventories
-            .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.Inventories
-            .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.class,
-                com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder.class);
+                com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.class, com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.newBuilder()
@@ -17591,15 +15328,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -17621,14 +15359,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1alpha.Inventories
-            .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance();
       }
 
@@ -17643,8 +15380,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication buildPartial() {
-        com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication result =
-            new com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication(this);
+        com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication result = new com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication(this);
         result.displayName_ = displayName_;
         result.displayVersion_ = displayVersion_;
         result.publisher_ = publisher_;
@@ -17662,52 +15398,46 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication buildParti
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1alpha.Inventory.WindowsApplication) {
-          return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) other);
+          return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication other) {
-        if (other
-            == com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication other) {
+        if (other == com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance()) return this;
         if (!other.getDisplayName().isEmpty()) {
           displayName_ = other.displayName_;
           onChanged();
@@ -17746,9 +15476,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -17760,20 +15488,18 @@ public Builder mergeFrom(
 
       private java.lang.Object displayName_ = "";
       /**
-       *
-       *
        * 
        * The name of the application or product.
        * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -17782,21 +15508,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
        * The name of the application or product.
        * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -17804,61 +15529,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
        * The name of the application or product.
        * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
        * The name of the application or product.
        * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
        * The name of the application or product.
        * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -17866,20 +15584,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayVersion_ = ""; /** - * - * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; - * * @return The displayVersion. */ public java.lang.String getDisplayVersion() { java.lang.Object ref = displayVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayVersion_ = s; return s; @@ -17888,21 +15604,20 @@ public java.lang.String getDisplayVersion() { } } /** - * - * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; - * * @return The bytes for displayVersion. */ - public com.google.protobuf.ByteString getDisplayVersionBytes() { + public com.google.protobuf.ByteString + getDisplayVersionBytes() { java.lang.Object ref = displayVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayVersion_ = b; return b; } else { @@ -17910,61 +15625,54 @@ public com.google.protobuf.ByteString getDisplayVersionBytes() { } } /** - * - * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; - * * @param value The displayVersion to set. * @return This builder for chaining. */ - public Builder setDisplayVersion(java.lang.String value) { + public Builder setDisplayVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayVersion_ = value; onChanged(); return this; } /** - * - * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; - * * @return This builder for chaining. */ public Builder clearDisplayVersion() { - + displayVersion_ = getDefaultInstance().getDisplayVersion(); onChanged(); return this; } /** - * - * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; - * * @param value The bytes for displayVersion to set. * @return This builder for chaining. */ - public Builder setDisplayVersionBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayVersion_ = value; onChanged(); return this; @@ -17972,20 +15680,18 @@ public Builder setDisplayVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object publisher_ = ""; /** - * - * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; - * * @return The publisher. */ public java.lang.String getPublisher() { java.lang.Object ref = publisher_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publisher_ = s; return s; @@ -17994,21 +15700,20 @@ public java.lang.String getPublisher() { } } /** - * - * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; - * * @return The bytes for publisher. */ - public com.google.protobuf.ByteString getPublisherBytes() { + public com.google.protobuf.ByteString + getPublisherBytes() { java.lang.Object ref = publisher_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publisher_ = b; return b; } else { @@ -18016,61 +15721,54 @@ public com.google.protobuf.ByteString getPublisherBytes() { } } /** - * - * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; - * * @param value The publisher to set. * @return This builder for chaining. */ - public Builder setPublisher(java.lang.String value) { + public Builder setPublisher( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + publisher_ = value; onChanged(); return this; } /** - * - * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; - * * @return This builder for chaining. */ public Builder clearPublisher() { - + publisher_ = getDefaultInstance().getPublisher(); onChanged(); return this; } /** - * - * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; - * * @param value The bytes for publisher to set. * @return This builder for chaining. */ - public Builder setPublisherBytes(com.google.protobuf.ByteString value) { + public Builder setPublisherBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + publisher_ = value; onChanged(); return this; @@ -18078,11 +15776,8 @@ public Builder setPublisherBytes(com.google.protobuf.ByteString value) { private com.google.type.Date installDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> - installDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> installDateBuilder_; /** - * - * *
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -18090,15 +15785,12 @@ public Builder setPublisherBytes(com.google.protobuf.ByteString value) {
        * 
* * .google.type.Date install_date = 4; - * * @return Whether the installDate field is set. */ public boolean hasInstallDate() { return installDateBuilder_ != null || installDate_ != null; } /** - * - * *
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -18106,7 +15798,6 @@ public boolean hasInstallDate() {
        * 
* * .google.type.Date install_date = 4; - * * @return The installDate. */ public com.google.type.Date getInstallDate() { @@ -18116,9 +15807,7 @@ public com.google.type.Date getInstallDate() { return installDateBuilder_.getMessage(); } } - /** - * - * + /** *
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -18141,8 +15830,6 @@ public Builder setInstallDate(com.google.type.Date value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -18151,7 +15838,8 @@ public Builder setInstallDate(com.google.type.Date value) {
        *
        * .google.type.Date install_date = 4;
        */
-      public Builder setInstallDate(com.google.type.Date.Builder builderForValue) {
+      public Builder setInstallDate(
+          com.google.type.Date.Builder builderForValue) {
         if (installDateBuilder_ == null) {
           installDate_ = builderForValue.build();
           onChanged();
@@ -18162,8 +15850,6 @@ public Builder setInstallDate(com.google.type.Date.Builder builderForValue) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -18176,7 +15862,7 @@ public Builder mergeInstallDate(com.google.type.Date value) {
         if (installDateBuilder_ == null) {
           if (installDate_ != null) {
             installDate_ =
-                com.google.type.Date.newBuilder(installDate_).mergeFrom(value).buildPartial();
+              com.google.type.Date.newBuilder(installDate_).mergeFrom(value).buildPartial();
           } else {
             installDate_ = value;
           }
@@ -18188,8 +15874,6 @@ public Builder mergeInstallDate(com.google.type.Date value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -18210,8 +15894,6 @@ public Builder clearInstallDate() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -18221,13 +15903,11 @@ public Builder clearInstallDate() {
        * .google.type.Date install_date = 4;
        */
       public com.google.type.Date.Builder getInstallDateBuilder() {
-
+        
         onChanged();
         return getInstallDateFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -18240,12 +15920,11 @@ public com.google.type.DateOrBuilder getInstallDateOrBuilder() {
         if (installDateBuilder_ != null) {
           return installDateBuilder_.getMessageOrBuilder();
         } else {
-          return installDate_ == null ? com.google.type.Date.getDefaultInstance() : installDate_;
+          return installDate_ == null ?
+              com.google.type.Date.getDefaultInstance() : installDate_;
         }
       }
       /**
-       *
-       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -18255,15 +15934,14 @@ public com.google.type.DateOrBuilder getInstallDateOrBuilder() {
        * .google.type.Date install_date = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+          com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> 
           getInstallDateFieldBuilder() {
         if (installDateBuilder_ == null) {
-          installDateBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.type.Date,
-                  com.google.type.Date.Builder,
-                  com.google.type.DateOrBuilder>(
-                  getInstallDate(), getParentForChildren(), isClean());
+          installDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+                  getInstallDate(),
+                  getParentForChildren(),
+                  isClean());
           installDate_ = null;
         }
         return installDateBuilder_;
@@ -18271,20 +15949,18 @@ public com.google.type.DateOrBuilder getInstallDateOrBuilder() {
 
       private java.lang.Object helpLink_ = "";
       /**
-       *
-       *
        * 
        * The internet address for technical support.
        * 
* * string help_link = 5; - * * @return The helpLink. */ public java.lang.String getHelpLink() { java.lang.Object ref = helpLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); helpLink_ = s; return s; @@ -18293,21 +15969,20 @@ public java.lang.String getHelpLink() { } } /** - * - * *
        * The internet address for technical support.
        * 
* * string help_link = 5; - * * @return The bytes for helpLink. */ - public com.google.protobuf.ByteString getHelpLinkBytes() { + public com.google.protobuf.ByteString + getHelpLinkBytes() { java.lang.Object ref = helpLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); helpLink_ = b; return b; } else { @@ -18315,66 +15990,58 @@ public com.google.protobuf.ByteString getHelpLinkBytes() { } } /** - * - * *
        * The internet address for technical support.
        * 
* * string help_link = 5; - * * @param value The helpLink to set. * @return This builder for chaining. */ - public Builder setHelpLink(java.lang.String value) { + public Builder setHelpLink( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + helpLink_ = value; onChanged(); return this; } /** - * - * *
        * The internet address for technical support.
        * 
* * string help_link = 5; - * * @return This builder for chaining. */ public Builder clearHelpLink() { - + helpLink_ = getDefaultInstance().getHelpLink(); onChanged(); return this; } /** - * - * *
        * The internet address for technical support.
        * 
* * string help_link = 5; - * * @param value The bytes for helpLink to set. * @return This builder for chaining. */ - public Builder setHelpLinkBytes(com.google.protobuf.ByteString value) { + public Builder setHelpLinkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + helpLink_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -18387,32 +16054,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) - private static final com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication(); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsApplication parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsApplication(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsApplication parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsApplication(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -18424,17 +16089,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The `Inventory` API resource name.
    * Format:
@@ -18442,7 +16105,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -18451,15 +16113,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The `Inventory` API resource name.
    * Format:
@@ -18467,15 +16128,16 @@ public java.lang.String getName() {
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -18486,16 +16148,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int OS_INFO_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1alpha.Inventory.OsInfo osInfo_; /** - * - * *
    * Output only. Base level operating system information for the VM.
    * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the osInfo field is set. */ @java.lang.Override @@ -18503,34 +16160,23 @@ public boolean hasOsInfo() { return osInfo_ != null; } /** - * - * *
    * Output only. Base level operating system information for the VM.
    * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The osInfo. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.OsInfo getOsInfo() { - return osInfo_ == null - ? com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.getDefaultInstance() - : osInfo_; + return osInfo_ == null ? com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.getDefaultInstance() : osInfo_; } /** - * - * *
    * Output only. Base level operating system information for the VM.
    * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder getOsInfoOrBuilder() { @@ -18538,31 +16184,24 @@ public com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder getOsInfoOrBu } public static final int ITEMS_FIELD_NUMBER = 2; - private static final class ItemsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> - defaultEntry = + java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.osconfig.v1alpha.Inventories - .internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.osconfig.v1alpha.Inventory.Item.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.osconfig.v1alpha.Inventory.Item.getDefaultInstance()); } - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> - items_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> - internalGetItems() { + java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> items_; + private com.google.protobuf.MapField + internalGetItems() { if (items_ == null) { - return com.google.protobuf.MapField.emptyMapField(ItemsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + ItemsDefaultEntryHolder.defaultEntry); } return items_; } @@ -18571,8 +16210,6 @@ public int getItemsCount() { return internalGetItems().getMap().size(); } /** - * - * *
    * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item. The identifier is unique to each distinct and
@@ -18580,27 +16217,24 @@ public int getItemsCount() {
    * version.
    * 
* - * - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ + @java.lang.Override - public boolean containsItems(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsItems( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetItems().getMap().containsKey(key); } - /** Use {@link #getItemsMap()} instead. */ + /** + * Use {@link #getItemsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getItems() { + public java.util.Map getItems() { return getItemsMap(); } /** - * - * *
    * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item. The identifier is unique to each distinct and
@@ -18608,18 +16242,14 @@ public boolean containsItems(java.lang.String key) {
    * version.
    * 
* - * - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.Map - getItemsMap() { + + public java.util.Map getItemsMap() { return internalGetItems().getMap(); } /** - * - * *
    * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item. The identifier is unique to each distinct and
@@ -18627,23 +16257,19 @@ public boolean containsItems(java.lang.String key) {
    * version.
    * 
* - * - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override + public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrDefault( - java.lang.String key, com.google.cloud.osconfig.v1alpha.Inventory.Item defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.osconfig.v1alpha.Inventory.Item defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetItems().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item. The identifier is unique to each distinct and
@@ -18651,15 +16277,13 @@ public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrDefault(
    * version.
    * 
* - * - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + + public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetItems().getMap(); if (!map.containsKey(key)) { @@ -18671,15 +16295,11 @@ public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrThrow(java.lan public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -18687,15 +16307,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -18703,14 +16319,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -18718,7 +16331,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -18730,12 +16342,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (osInfo_ != null) { output.writeMessage(1, getOsInfo()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetItems(), ItemsDefaultEntryHolder.defaultEntry, 2); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetItems(), + ItemsDefaultEntryHolder.defaultEntry, + 2); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -18752,25 +16369,25 @@ public int getSerializedSize() { size = 0; if (osInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOsInfo()); - } - for (java.util.Map.Entry - entry : internalGetItems().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> - items__ = - ItemsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, items__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOsInfo()); + } + for (java.util.Map.Entry entry + : internalGetItems().getMap().entrySet()) { + com.google.protobuf.MapEntry + items__ = ItemsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, items__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -18780,23 +16397,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory other = - (com.google.cloud.osconfig.v1alpha.Inventory) obj; + com.google.cloud.osconfig.v1alpha.Inventory other = (com.google.cloud.osconfig.v1alpha.Inventory) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasOsInfo() != other.hasOsInfo()) return false; if (hasOsInfo()) { - if (!getOsInfo().equals(other.getOsInfo())) return false; + if (!getOsInfo() + .equals(other.getOsInfo())) return false; } - if (!internalGetItems().equals(other.internalGetItems())) return false; + if (!internalGetItems().equals( + other.internalGetItems())) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -18828,104 +16448,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.Inventory parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1alpha.Inventory parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory 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.osconfig.v1alpha.Inventory parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.Inventory parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.Inventory parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * This API resource represents the available inventory data for a
    * Compute Engine virtual machine (VM) instance at a given point in time.
@@ -18936,43 +16549,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory)
       com.google.cloud.osconfig.v1alpha.InventoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.Inventories
-          .internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetItems();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetMutableItems();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.Inventories
-          .internal_static_google_cloud_osconfig_v1alpha_Inventory_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.Inventory.class,
-              com.google.cloud.osconfig.v1alpha.Inventory.Builder.class);
+              com.google.cloud.osconfig.v1alpha.Inventory.class, com.google.cloud.osconfig.v1alpha.Inventory.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1alpha.Inventory.newBuilder()
@@ -18980,15 +16593,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -19011,9 +16625,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.Inventories
-          .internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor;
     }
 
     @java.lang.Override
@@ -19032,8 +16646,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.Inventory buildPartial() {
-      com.google.cloud.osconfig.v1alpha.Inventory result =
-          new com.google.cloud.osconfig.v1alpha.Inventory(this);
+      com.google.cloud.osconfig.v1alpha.Inventory result = new com.google.cloud.osconfig.v1alpha.Inventory(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (osInfoBuilder_ == null) {
@@ -19056,39 +16669,38 @@ public com.google.cloud.osconfig.v1alpha.Inventory buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.Inventory) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory) other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -19104,7 +16716,8 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory other) {
       if (other.hasOsInfo()) {
         mergeOsInfo(other.getOsInfo());
       }
-      internalGetMutableItems().mergeFrom(other.internalGetItems());
+      internalGetMutableItems().mergeFrom(
+          other.internalGetItems());
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
@@ -19136,13 +16749,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -19150,13 +16760,13 @@ public Builder mergeFrom(
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -19165,8 +16775,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -19174,14 +16782,15 @@ public java.lang.String getName() {
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -19189,8 +16798,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -19198,22 +16805,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -19221,18 +16826,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -19240,16 +16842,16 @@ public Builder clearName() {
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -19257,58 +16859,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.osconfig.v1alpha.Inventory.OsInfo osInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo, - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder, - com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder> - osInfoBuilder_; + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo, com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder, com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder> osInfoBuilder_; /** - * - * *
      * Output only. Base level operating system information for the VM.
      * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the osInfo field is set. */ public boolean hasOsInfo() { return osInfoBuilder_ != null || osInfo_ != null; } /** - * - * *
      * Output only. Base level operating system information for the VM.
      * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The osInfo. */ public com.google.cloud.osconfig.v1alpha.Inventory.OsInfo getOsInfo() { if (osInfoBuilder_ == null) { - return osInfo_ == null - ? com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.getDefaultInstance() - : osInfo_; + return osInfo_ == null ? com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.getDefaultInstance() : osInfo_; } else { return osInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. Base level operating system information for the VM.
      * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOsInfo(com.google.cloud.osconfig.v1alpha.Inventory.OsInfo value) { if (osInfoBuilder_ == null) { @@ -19324,15 +16907,11 @@ public Builder setOsInfo(com.google.cloud.osconfig.v1alpha.Inventory.OsInfo valu return this; } /** - * - * *
      * Output only. Base level operating system information for the VM.
      * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOsInfo( com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder builderForValue) { @@ -19346,23 +16925,17 @@ public Builder setOsInfo( return this; } /** - * - * *
      * Output only. Base level operating system information for the VM.
      * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeOsInfo(com.google.cloud.osconfig.v1alpha.Inventory.OsInfo value) { if (osInfoBuilder_ == null) { if (osInfo_ != null) { osInfo_ = - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.newBuilder(osInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.newBuilder(osInfo_).mergeFrom(value).buildPartial(); } else { osInfo_ = value; } @@ -19374,15 +16947,11 @@ public Builder mergeOsInfo(com.google.cloud.osconfig.v1alpha.Inventory.OsInfo va return this; } /** - * - * *
      * Output only. Base level operating system information for the VM.
      * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearOsInfo() { if (osInfoBuilder_ == null) { @@ -19396,89 +16965,69 @@ public Builder clearOsInfo() { return this; } /** - * - * *
      * Output only. Base level operating system information for the VM.
      * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder getOsInfoBuilder() { - + onChanged(); return getOsInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Base level operating system information for the VM.
      * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder getOsInfoOrBuilder() { if (osInfoBuilder_ != null) { return osInfoBuilder_.getMessageOrBuilder(); } else { - return osInfo_ == null - ? com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.getDefaultInstance() - : osInfo_; + return osInfo_ == null ? + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.getDefaultInstance() : osInfo_; } } /** - * - * *
      * Output only. Base level operating system information for the VM.
      * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo, - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder, - com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder> + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo, com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder, com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder> getOsInfoFieldBuilder() { if (osInfoBuilder_ == null) { - osInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo, - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder, - com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder>( - getOsInfo(), getParentForChildren(), isClean()); + osInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo, com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder, com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder>( + getOsInfo(), + getParentForChildren(), + isClean()); osInfo_ = null; } return osInfoBuilder_; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> - items_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> - internalGetItems() { + java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> items_; + private com.google.protobuf.MapField + internalGetItems() { if (items_ == null) { - return com.google.protobuf.MapField.emptyMapField(ItemsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + ItemsDefaultEntryHolder.defaultEntry); } return items_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> - internalGetMutableItems() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableItems() { + onChanged();; if (items_ == null) { - items_ = com.google.protobuf.MapField.newMapField(ItemsDefaultEntryHolder.defaultEntry); + items_ = com.google.protobuf.MapField.newMapField( + ItemsDefaultEntryHolder.defaultEntry); } if (!items_.isMutable()) { items_ = items_.copy(); @@ -19490,8 +17039,6 @@ public int getItemsCount() { return internalGetItems().getMap().size(); } /** - * - * *
      * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item. The identifier is unique to each distinct and
@@ -19499,27 +17046,24 @@ public int getItemsCount() {
      * version.
      * 
* - * - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ + @java.lang.Override - public boolean containsItems(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsItems( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetItems().getMap().containsKey(key); } - /** Use {@link #getItemsMap()} instead. */ + /** + * Use {@link #getItemsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getItems() { + public java.util.Map getItems() { return getItemsMap(); } /** - * - * *
      * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item. The identifier is unique to each distinct and
@@ -19527,18 +17071,14 @@ public boolean containsItems(java.lang.String key) {
      * version.
      * 
* - * - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.Map - getItemsMap() { + + public java.util.Map getItemsMap() { return internalGetItems().getMap(); } /** - * - * *
      * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item. The identifier is unique to each distinct and
@@ -19546,23 +17086,19 @@ public boolean containsItems(java.lang.String key) {
      * version.
      * 
* - * - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override + public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrDefault( - java.lang.String key, com.google.cloud.osconfig.v1alpha.Inventory.Item defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.osconfig.v1alpha.Inventory.Item defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetItems().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item. The identifier is unique to each distinct and
@@ -19570,15 +17106,13 @@ public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrDefault(
      * version.
      * 
* - * - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + + public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetItems().getMap(); if (!map.containsKey(key)) { @@ -19588,12 +17122,11 @@ public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrThrow(java.lan } public Builder clearItems() { - internalGetMutableItems().getMutableMap().clear(); + internalGetMutableItems().getMutableMap() + .clear(); return this; } /** - * - * *
      * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item. The identifier is unique to each distinct and
@@ -19601,26 +17134,25 @@ public Builder clearItems() {
      * version.
      * 
* - * - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder removeItems(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableItems().getMutableMap().remove(key); + + public Builder removeItems( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableItems().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map - getMutableItems() { + getMutableItems() { return internalGetMutableItems().getMutableMap(); } /** - * - * *
      * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item. The identifier is unique to each distinct and
@@ -19628,25 +17160,21 @@ public Builder removeItems(java.lang.String key) {
      * version.
      * 
* - * - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder putItems( - java.lang.String key, com.google.cloud.osconfig.v1alpha.Inventory.Item value) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.osconfig.v1alpha.Inventory.Item value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableItems().getMutableMap().put(key, value); + internalGetMutableItems().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item. The identifier is unique to each distinct and
@@ -19654,70 +17182,51 @@ public Builder putItems(
      * version.
      * 
* - * - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ + public Builder putAllItems( java.util.Map values) { - internalGetMutableItems().getMutableMap().putAll(values); + internalGetMutableItems().getMutableMap() + .putAll(values); return this; } private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -19733,17 +17242,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -19754,21 +17260,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -19780,15 +17282,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -19802,71 +17300,55 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -19876,12 +17358,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory) private static final com.google.cloud.osconfig.v1alpha.Inventory DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory(); } @@ -19890,16 +17372,16 @@ public static com.google.cloud.osconfig.v1alpha.Inventory getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Inventory parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Inventory(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Inventory parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Inventory(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -19914,4 +17396,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.Inventory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryName.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryName.java similarity index 100% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryName.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryName.java diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryOrBuilder.java similarity index 61% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryOrBuilder.java index cde9157b..969e4685 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/osconfig/v1alpha/inventory.proto package com.google.cloud.osconfig.v1alpha; -public interface InventoryOrBuilder - extends +public interface InventoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The `Inventory` API resource name.
    * Format:
@@ -33,13 +15,10 @@ public interface InventoryOrBuilder
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The `Inventory` API resource name.
    * Format:
@@ -47,55 +26,39 @@ public interface InventoryOrBuilder
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. Base level operating system information for the VM.
    * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the osInfo field is set. */ boolean hasOsInfo(); /** - * - * *
    * Output only. Base level operating system information for the VM.
    * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The osInfo. */ com.google.cloud.osconfig.v1alpha.Inventory.OsInfo getOsInfo(); /** - * - * *
    * Output only. Base level operating system information for the VM.
    * 
* - * - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder getOsInfoOrBuilder(); /** - * - * *
    * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item. The identifier is unique to each distinct and
@@ -103,14 +66,10 @@ public interface InventoryOrBuilder
    * version.
    * 
* - * - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getItemsCount(); /** - * - * *
    * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item. The identifier is unique to each distinct and
@@ -118,17 +77,17 @@ public interface InventoryOrBuilder
    * version.
    * 
* - * - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + boolean containsItems( + java.lang.String key); + /** + * Use {@link #getItemsMap()} instead. */ - boolean containsItems(java.lang.String key); - /** Use {@link #getItemsMap()} instead. */ @java.lang.Deprecated - java.util.Map getItems(); + java.util.Map + getItems(); /** - * - * *
    * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item. The identifier is unique to each distinct and
@@ -136,14 +95,11 @@ public interface InventoryOrBuilder
    * version.
    * 
* - * - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.Map getItemsMap(); + java.util.Map + getItemsMap(); /** - * - * *
    * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item. The identifier is unique to each distinct and
@@ -151,19 +107,15 @@ public interface InventoryOrBuilder
    * version.
    * 
* - * - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ /* nullable */ - com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrDefault( +com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.osconfig.v1alpha.Inventory.Item defaultValue); +com.google.cloud.osconfig.v1alpha.Inventory.Item defaultValue); /** - * - * *
    * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item. The identifier is unique to each distinct and
@@ -171,47 +123,36 @@ com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrDefault(
    * version.
    * 
* - * - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrThrow(java.lang.String key); + + com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryView.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryView.java similarity index 67% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryView.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryView.java index 426868f8..9e57d55e 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryView.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryView.java @@ -1,36 +1,18 @@ -/* - * 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/osconfig/v1alpha/inventory.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * The view for inventory objects.
  * 
* * Protobuf enum {@code google.cloud.osconfig.v1alpha.InventoryView} */ -public enum InventoryView implements com.google.protobuf.ProtocolMessageEnum { +public enum InventoryView + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The default value.
    * The API defaults to the BASIC view.
@@ -40,8 +22,6 @@ public enum InventoryView implements com.google.protobuf.ProtocolMessageEnum {
    */
   INVENTORY_VIEW_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Returns the basic inventory information that includes `os_info`.
    * 
@@ -50,8 +30,6 @@ public enum InventoryView implements com.google.protobuf.ProtocolMessageEnum { */ BASIC(1), /** - * - * *
    * Returns all fields.
    * 
@@ -63,8 +41,6 @@ public enum InventoryView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default value.
    * The API defaults to the BASIC view.
@@ -74,8 +50,6 @@ public enum InventoryView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int INVENTORY_VIEW_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Returns the basic inventory information that includes `os_info`.
    * 
@@ -84,8 +58,6 @@ public enum InventoryView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BASIC_VALUE = 1; /** - * - * *
    * Returns all fields.
    * 
@@ -94,6 +66,7 @@ public enum InventoryView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -118,49 +91,49 @@ public static InventoryView valueOf(int value) { */ public static InventoryView forNumber(int value) { switch (value) { - case 0: - return INVENTORY_VIEW_UNSPECIFIED; - case 1: - return BASIC; - case 2: - return FULL; - default: - return null; + case 0: return INVENTORY_VIEW_UNSPECIFIED; + case 1: return BASIC; + case 2: return FULL; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public InventoryView findValueByNumber(int number) { - return InventoryView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + InventoryView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public InventoryView findValueByNumber(int number) { + return InventoryView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.osconfig.v1alpha.Inventories.getDescriptor().getEnumTypes().get(0); } private static final InventoryView[] VALUES = values(); - public static InventoryView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static InventoryView valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -176,3 +149,4 @@ private InventoryView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1alpha.InventoryView) } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequest.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequest.java similarity index 64% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequest.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequest.java index a6596847..722872ed 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequest.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1alpha/instance_os_policies_compliance.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * A request message for listing OS policies compliance data for all Compute
  * Engine VMs in the given location.
@@ -28,19 +11,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest}
  */
-@java.lang.Deprecated
-public final class ListInstanceOSPoliciesCompliancesRequest
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+@java.lang.Deprecated public final class ListInstanceOSPoliciesCompliancesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest)
     ListInstanceOSPoliciesCompliancesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInstanceOSPoliciesCompliancesRequest.newBuilder() to construct.
-  private ListInstanceOSPoliciesCompliancesRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListInstanceOSPoliciesCompliancesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInstanceOSPoliciesCompliancesRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -49,15 +28,16 @@ private ListInstanceOSPoliciesCompliancesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstanceOSPoliciesCompliancesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListInstanceOSPoliciesCompliancesRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,39 +56,36 @@ private ListInstanceOSPoliciesCompliancesRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
-            }
-          case 16:
-            {
-              pageSize_ = input.readInt32();
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            parent_ = s;
+            break;
+          }
+          case 16: {
 
-              pageToken_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            pageSize_ = input.readInt32();
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              filter_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            pageToken_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            filter_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -116,34 +93,29 @@ private ListInstanceOSPoliciesCompliancesRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-        .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-        .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.class,
-            com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.Builder
-                .class);
+            com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.class, com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}`
@@ -151,10 +123,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -163,15 +132,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}`
@@ -179,18 +147,17 @@ public java.lang.String getParent() {
    * provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -201,14 +168,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -219,8 +183,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A pagination token returned from a previous call to
    * `ListInstanceOSPoliciesCompliances` that indicates where this listing
@@ -228,7 +190,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -237,15 +198,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A pagination token returned from a previous call to
    * `ListInstanceOSPoliciesCompliances` that indicates where this listing
@@ -253,15 +213,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -272,15 +233,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `InstanceOSPoliciesCompliance` API resource to be included in the response.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -289,30 +247,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `InstanceOSPoliciesCompliance` API resource to be included in the response.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -321,7 +279,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -333,7 +290,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -359,7 +317,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -375,19 +334,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest other = - (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest other = (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -412,111 +373,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest - 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest - 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message for listing OS policies compliance data for all Compute
    * Engine VMs in the given location.
@@ -524,41 +471,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest)
       com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-          .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-          .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.class,
-              com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.Builder
-                  .class);
+              com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.class, com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.newBuilder()
+    // Construct using com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -574,22 +518,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-          .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest
-          .getDefaultInstance();
+    public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest getDefaultInstanceForType() {
+      return com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest build() {
-      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest result =
-          buildPartial();
+      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -597,10 +538,8 @@ public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesReques
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest
-        buildPartial() {
-      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest result =
-          new com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest(this);
+    public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest buildPartial() {
+      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest result = new com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -613,52 +552,46 @@ public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesReques
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) {
-        return mergeFrom(
-            (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) other);
+      if (other instanceof com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) {
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest other) {
-      if (other
-          == com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest other) {
+      if (other == com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -689,14 +622,11 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parsedMessage =
-          null;
+      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parsedMessage = null;
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -708,8 +638,6 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}`
@@ -717,16 +645,14 @@ public Builder mergeFrom(
      * provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -735,8 +661,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}`
@@ -744,17 +668,16 @@ public java.lang.String getParent() {
      * provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -762,8 +685,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}`
@@ -771,25 +692,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}`
@@ -797,21 +714,16 @@ public Builder setParent(java.lang.String value) {
      * provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}`
@@ -819,34 +731,29 @@ public Builder clearParent() {
      * provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -854,36 +761,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -891,8 +792,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A pagination token returned from a previous call to
      * `ListInstanceOSPoliciesCompliances` that indicates where this listing
@@ -900,13 +799,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -915,8 +814,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListInstanceOSPoliciesCompliances` that indicates where this listing
@@ -924,14 +821,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -939,8 +837,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListInstanceOSPoliciesCompliances` that indicates where this listing
@@ -948,22 +844,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListInstanceOSPoliciesCompliances` that indicates where this listing
@@ -971,18 +865,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListInstanceOSPoliciesCompliances` that indicates where this listing
@@ -990,16 +881,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1007,21 +898,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `InstanceOSPoliciesCompliance` API resource to be included in the response.
      * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1030,22 +919,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `InstanceOSPoliciesCompliance` API resource to be included in the response.
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1053,71 +941,64 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `InstanceOSPoliciesCompliance` API resource to be included in the response.
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `InstanceOSPoliciesCompliance` API resource to be included in the response.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `InstanceOSPoliciesCompliance` API resource to be included in the response.
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1127,33 +1008,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) - private static final com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest(); } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstanceOSPoliciesCompliancesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstanceOSPoliciesCompliancesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstanceOSPoliciesCompliancesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInstanceOSPoliciesCompliancesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1165,8 +1043,9 @@ public com.google.protobuf.Parser getP } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequestOrBuilder.java index a03e34a3..73131292 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequestOrBuilder.java @@ -1,32 +1,13 @@ -/* - * 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/osconfig/v1alpha/instance_os_policies_compliance.proto package com.google.cloud.osconfig.v1alpha; -@java.lang.Deprecated -public interface ListInstanceOSPoliciesCompliancesRequestOrBuilder - extends +@java.lang.Deprecated public interface ListInstanceOSPoliciesCompliancesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}`
@@ -34,16 +15,11 @@ public interface ListInstanceOSPoliciesCompliancesRequestOrBuilder
    * provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}`
@@ -51,30 +27,23 @@ public interface ListInstanceOSPoliciesCompliancesRequestOrBuilder
    * provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A pagination token returned from a previous call to
    * `ListInstanceOSPoliciesCompliances` that indicates where this listing
@@ -82,13 +51,10 @@ public interface ListInstanceOSPoliciesCompliancesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A pagination token returned from a previous call to
    * `ListInstanceOSPoliciesCompliances` that indicates where this listing
@@ -96,35 +62,30 @@ public interface ListInstanceOSPoliciesCompliancesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `InstanceOSPoliciesCompliance` API resource to be included in the response.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `InstanceOSPoliciesCompliance` API resource to be included in the response.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponse.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponse.java similarity index 60% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponse.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponse.java index a1132db7..dcad5014 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponse.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1alpha/instance_os_policies_compliance.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * A response message for listing OS policies compliance data for all Compute
  * Engine VMs in the given location.
@@ -28,19 +11,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse}
  */
-@java.lang.Deprecated
-public final class ListInstanceOSPoliciesCompliancesResponse
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+@java.lang.Deprecated public final class ListInstanceOSPoliciesCompliancesResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse)
     ListInstanceOSPoliciesCompliancesResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInstanceOSPoliciesCompliancesResponse.newBuilder() to construct.
-  private ListInstanceOSPoliciesCompliancesResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListInstanceOSPoliciesCompliancesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInstanceOSPoliciesCompliancesResponse() {
     instanceOsPoliciesCompliances_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -48,15 +27,16 @@ private ListInstanceOSPoliciesCompliancesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstanceOSPoliciesCompliancesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListInstanceOSPoliciesCompliancesResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,34 +56,28 @@ private ListInstanceOSPoliciesCompliancesResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                instanceOsPoliciesCompliances_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              instanceOsPoliciesCompliances_.add(
-                  input.readMessage(
-                      com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              instanceOsPoliciesCompliances_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            instanceOsPoliciesCompliances_.add(
+                input.readMessage(com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              nextPageToken_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            nextPageToken_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -111,129 +85,98 @@ private ListInstanceOSPoliciesCompliancesResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
-        instanceOsPoliciesCompliances_ =
-            java.util.Collections.unmodifiableList(instanceOsPoliciesCompliances_);
+        instanceOsPoliciesCompliances_ = java.util.Collections.unmodifiableList(instanceOsPoliciesCompliances_);
       }
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-        .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-        .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.class,
-            com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.Builder
-                .class);
+            com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.class, com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.Builder.class);
   }
 
   public static final int INSTANCE_OS_POLICIES_COMPLIANCES_FIELD_NUMBER = 1;
-  private java.util.List
-      instanceOsPoliciesCompliances_;
+  private java.util.List instanceOsPoliciesCompliances_;
   /**
-   *
-   *
    * 
    * List of instance OS policies compliance objects.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ @java.lang.Override - public java.util.List - getInstanceOsPoliciesCompliancesList() { + public java.util.List getInstanceOsPoliciesCompliancesList() { return instanceOsPoliciesCompliances_; } /** - * - * *
    * List of instance OS policies compliance objects.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder> + public java.util.List getInstanceOsPoliciesCompliancesOrBuilderList() { return instanceOsPoliciesCompliances_; } /** - * - * *
    * List of instance OS policies compliance objects.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ @java.lang.Override public int getInstanceOsPoliciesCompliancesCount() { return instanceOsPoliciesCompliances_.size(); } /** - * - * *
    * List of instance OS policies compliance objects.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance - getInstanceOsPoliciesCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance getInstanceOsPoliciesCompliances(int index) { return instanceOsPoliciesCompliances_.get(index); } /** - * - * *
    * List of instance OS policies compliance objects.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder - getInstanceOsPoliciesCompliancesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder getInstanceOsPoliciesCompliancesOrBuilder( + int index) { return instanceOsPoliciesCompliances_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The pagination token to retrieve the next page of instance OS policies
    * compliance objects.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -242,30 +185,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The pagination token to retrieve the next page of instance OS policies
    * compliance objects.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -274,7 +217,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -286,7 +228,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < instanceOsPoliciesCompliances_.size(); i++) { output.writeMessage(1, instanceOsPoliciesCompliances_.get(i)); } @@ -303,9 +246,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < instanceOsPoliciesCompliances_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, instanceOsPoliciesCompliances_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, instanceOsPoliciesCompliances_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -318,18 +260,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse other = - (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse) obj; + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse other = (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse) obj; if (!getInstanceOsPoliciesCompliancesList() .equals(other.getInstanceOsPoliciesCompliancesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -352,111 +293,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse - 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse - 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response message for listing OS policies compliance data for all Compute
    * Engine VMs in the given location.
@@ -464,43 +391,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse)
       com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-          .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-          .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.class,
-              com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.Builder
-                  .class);
+              com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.class, com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.newBuilder()
+    // Construct using com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInstanceOsPoliciesCompliancesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -516,22 +439,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
-          .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse
-        getDefaultInstanceForType() {
-      return com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse
-          .getDefaultInstance();
+    public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse getDefaultInstanceForType() {
+      return com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse build() {
-      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse result =
-          buildPartial();
+      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -539,15 +459,12 @@ public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRespon
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse
-        buildPartial() {
-      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse result =
-          new com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse(this);
+    public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse buildPartial() {
+      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse result = new com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse(this);
       int from_bitField0_ = bitField0_;
       if (instanceOsPoliciesCompliancesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
-          instanceOsPoliciesCompliances_ =
-              java.util.Collections.unmodifiableList(instanceOsPoliciesCompliances_);
+          instanceOsPoliciesCompliances_ = java.util.Collections.unmodifiableList(instanceOsPoliciesCompliances_);
           bitField0_ = (bitField0_ & ~0x00000001);
         }
         result.instanceOsPoliciesCompliances_ = instanceOsPoliciesCompliances_;
@@ -563,52 +480,46 @@ public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRespon
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse) {
-        return mergeFrom(
-            (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse) other);
+      if (other instanceof com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse) {
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse other) {
-      if (other
-          == com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse other) {
+      if (other == com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.getDefaultInstance()) return this;
       if (instanceOsPoliciesCompliancesBuilder_ == null) {
         if (!other.instanceOsPoliciesCompliances_.isEmpty()) {
           if (instanceOsPoliciesCompliances_.isEmpty()) {
@@ -627,13 +538,11 @@ public Builder mergeFrom(
             instanceOsPoliciesCompliancesBuilder_ = null;
             instanceOsPoliciesCompliances_ = other.instanceOsPoliciesCompliances_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            instanceOsPoliciesCompliancesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getInstanceOsPoliciesCompliancesFieldBuilder()
-                    : null;
+            instanceOsPoliciesCompliancesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getInstanceOsPoliciesCompliancesFieldBuilder() : null;
           } else {
-            instanceOsPoliciesCompliancesBuilder_.addAllMessages(
-                other.instanceOsPoliciesCompliances_);
+            instanceOsPoliciesCompliancesBuilder_.addAllMessages(other.instanceOsPoliciesCompliances_);
           }
         }
       }
@@ -656,14 +565,11 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parsedMessage =
-          null;
+      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parsedMessage = null;
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -672,40 +578,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        instanceOsPoliciesCompliances_ = java.util.Collections.emptyList();
-
+    private java.util.List instanceOsPoliciesCompliances_ =
+      java.util.Collections.emptyList();
     private void ensureInstanceOsPoliciesCompliancesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        instanceOsPoliciesCompliances_ =
-            new java.util.ArrayList(
-                instanceOsPoliciesCompliances_);
+        instanceOsPoliciesCompliances_ = new java.util.ArrayList(instanceOsPoliciesCompliances_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance,
-            com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder,
-            com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder>
-        instanceOsPoliciesCompliancesBuilder_;
+        com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder> instanceOsPoliciesCompliancesBuilder_;
 
     /**
-     *
-     *
      * 
      * List of instance OS policies compliance objects.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ - public java.util.List - getInstanceOsPoliciesCompliancesList() { + public java.util.List getInstanceOsPoliciesCompliancesList() { if (instanceOsPoliciesCompliancesBuilder_ == null) { return java.util.Collections.unmodifiableList(instanceOsPoliciesCompliances_); } else { @@ -713,15 +607,11 @@ private void ensureInstanceOsPoliciesCompliancesIsMutable() { } } /** - * - * *
      * List of instance OS policies compliance objects.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ public int getInstanceOsPoliciesCompliancesCount() { if (instanceOsPoliciesCompliancesBuilder_ == null) { @@ -731,18 +621,13 @@ public int getInstanceOsPoliciesCompliancesCount() { } } /** - * - * *
      * List of instance OS policies compliance objects.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance - getInstanceOsPoliciesCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance getInstanceOsPoliciesCompliances(int index) { if (instanceOsPoliciesCompliancesBuilder_ == null) { return instanceOsPoliciesCompliances_.get(index); } else { @@ -750,15 +635,11 @@ public int getInstanceOsPoliciesCompliancesCount() { } } /** - * - * *
      * List of instance OS policies compliance objects.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ public Builder setInstanceOsPoliciesCompliances( int index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance value) { @@ -775,19 +656,14 @@ public Builder setInstanceOsPoliciesCompliances( return this; } /** - * - * *
      * List of instance OS policies compliance objects.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ public Builder setInstanceOsPoliciesCompliances( - int index, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder builderForValue) { if (instanceOsPoliciesCompliancesBuilder_ == null) { ensureInstanceOsPoliciesCompliancesIsMutable(); instanceOsPoliciesCompliances_.set(index, builderForValue.build()); @@ -798,18 +674,13 @@ public Builder setInstanceOsPoliciesCompliances( return this; } /** - * - * *
      * List of instance OS policies compliance objects.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ - public Builder addInstanceOsPoliciesCompliances( - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance value) { + public Builder addInstanceOsPoliciesCompliances(com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance value) { if (instanceOsPoliciesCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -823,15 +694,11 @@ public Builder addInstanceOsPoliciesCompliances( return this; } /** - * - * *
      * List of instance OS policies compliance objects.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ public Builder addInstanceOsPoliciesCompliances( int index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance value) { @@ -848,15 +715,11 @@ public Builder addInstanceOsPoliciesCompliances( return this; } /** - * - * *
      * List of instance OS policies compliance objects.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ public Builder addInstanceOsPoliciesCompliances( com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder builderForValue) { @@ -870,19 +733,14 @@ public Builder addInstanceOsPoliciesCompliances( return this; } /** - * - * *
      * List of instance OS policies compliance objects.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ public Builder addInstanceOsPoliciesCompliances( - int index, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder builderForValue) { if (instanceOsPoliciesCompliancesBuilder_ == null) { ensureInstanceOsPoliciesCompliancesIsMutable(); instanceOsPoliciesCompliances_.add(index, builderForValue.build()); @@ -893,19 +751,14 @@ public Builder addInstanceOsPoliciesCompliances( return this; } /** - * - * *
      * List of instance OS policies compliance objects.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ public Builder addAllInstanceOsPoliciesCompliances( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (instanceOsPoliciesCompliancesBuilder_ == null) { ensureInstanceOsPoliciesCompliancesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -917,15 +770,11 @@ public Builder addAllInstanceOsPoliciesCompliances( return this; } /** - * - * *
      * List of instance OS policies compliance objects.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ public Builder clearInstanceOsPoliciesCompliances() { if (instanceOsPoliciesCompliancesBuilder_ == null) { @@ -938,15 +787,11 @@ public Builder clearInstanceOsPoliciesCompliances() { return this; } /** - * - * *
      * List of instance OS policies compliance objects.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ public Builder removeInstanceOsPoliciesCompliances(int index) { if (instanceOsPoliciesCompliancesBuilder_ == null) { @@ -959,53 +804,39 @@ public Builder removeInstanceOsPoliciesCompliances(int index) { return this; } /** - * - * *
      * List of instance OS policies compliance objects.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder - getInstanceOsPoliciesCompliancesBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder getInstanceOsPoliciesCompliancesBuilder( + int index) { return getInstanceOsPoliciesCompliancesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of instance OS policies compliance objects.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder - getInstanceOsPoliciesCompliancesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder getInstanceOsPoliciesCompliancesOrBuilder( + int index) { if (instanceOsPoliciesCompliancesBuilder_ == null) { - return instanceOsPoliciesCompliances_.get(index); - } else { + return instanceOsPoliciesCompliances_.get(index); } else { return instanceOsPoliciesCompliancesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of instance OS policies compliance objects.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder> - getInstanceOsPoliciesCompliancesOrBuilderList() { + public java.util.List + getInstanceOsPoliciesCompliancesOrBuilderList() { if (instanceOsPoliciesCompliancesBuilder_ != null) { return instanceOsPoliciesCompliancesBuilder_.getMessageOrBuilderList(); } else { @@ -1013,67 +844,45 @@ public Builder removeInstanceOsPoliciesCompliances(int index) { } } /** - * - * *
      * List of instance OS policies compliance objects.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder - addInstanceOsPoliciesCompliancesBuilder() { - return getInstanceOsPoliciesCompliancesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder addInstanceOsPoliciesCompliancesBuilder() { + return getInstanceOsPoliciesCompliancesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.getDefaultInstance()); } /** - * - * *
      * List of instance OS policies compliance objects.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder - addInstanceOsPoliciesCompliancesBuilder(int index) { - return getInstanceOsPoliciesCompliancesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder addInstanceOsPoliciesCompliancesBuilder( + int index) { + return getInstanceOsPoliciesCompliancesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.getDefaultInstance()); } /** - * - * *
      * List of instance OS policies compliance objects.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ - public java.util.List - getInstanceOsPoliciesCompliancesBuilderList() { + public java.util.List + getInstanceOsPoliciesCompliancesBuilderList() { return getInstanceOsPoliciesCompliancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder> + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder> getInstanceOsPoliciesCompliancesFieldBuilder() { if (instanceOsPoliciesCompliancesBuilder_ == null) { - instanceOsPoliciesCompliancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder>( + instanceOsPoliciesCompliancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder>( instanceOsPoliciesCompliances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1085,21 +894,19 @@ public Builder removeInstanceOsPoliciesCompliances(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The pagination token to retrieve the next page of instance OS policies
      * compliance objects.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1108,22 +915,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The pagination token to retrieve the next page of instance OS policies
      * compliance objects.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1131,71 +937,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The pagination token to retrieve the next page of instance OS policies
      * compliance objects.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of instance OS policies
      * compliance objects.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of instance OS policies
      * compliance objects.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1205,34 +1004,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse) - private static final com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse(); } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstanceOSPoliciesCompliancesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstanceOSPoliciesCompliancesResponse(input, extensionRegistry); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstanceOSPoliciesCompliancesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInstanceOSPoliciesCompliancesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1244,8 +1039,9 @@ public com.google.protobuf.Parser get } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponseOrBuilder.java similarity index 50% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponseOrBuilder.java index 6e5c13ad..dd6cc44c 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponseOrBuilder.java @@ -1,118 +1,75 @@ -/* - * 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/osconfig/v1alpha/instance_os_policies_compliance.proto package com.google.cloud.osconfig.v1alpha; -@java.lang.Deprecated -public interface ListInstanceOSPoliciesCompliancesResponseOrBuilder - extends +@java.lang.Deprecated public interface ListInstanceOSPoliciesCompliancesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of instance OS policies compliance objects.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ - java.util.List + java.util.List getInstanceOsPoliciesCompliancesList(); /** - * - * *
    * List of instance OS policies compliance objects.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance getInstanceOsPoliciesCompliances( - int index); + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance getInstanceOsPoliciesCompliances(int index); /** - * - * *
    * List of instance OS policies compliance objects.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ int getInstanceOsPoliciesCompliancesCount(); /** - * - * *
    * List of instance OS policies compliance objects.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ - java.util.List + java.util.List getInstanceOsPoliciesCompliancesOrBuilderList(); /** - * - * *
    * List of instance OS policies compliance objects.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; - * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; */ - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder - getInstanceOsPoliciesCompliancesOrBuilder(int index); + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder getInstanceOsPoliciesCompliancesOrBuilder( + int index); /** - * - * *
    * The pagination token to retrieve the next page of instance OS policies
    * compliance objects.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The pagination token to retrieve the next page of instance OS policies
    * compliance objects.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequest.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequest.java similarity index 71% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequest.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequest.java index 9aa0d61b..2b01be79 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequest.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1alpha/inventory.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * A request message for listing inventory data for all VMs in the specified
  * location.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.ListInventoriesRequest}
  */
-public final class ListInventoriesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListInventoriesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListInventoriesRequest)
     ListInventoriesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInventoriesRequest.newBuilder() to construct.
   private ListInventoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInventoriesRequest() {
     parent_ = "";
     view_ = 0;
@@ -47,15 +29,16 @@ private ListInventoriesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInventoriesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListInventoriesRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,46 +57,42 @@ private ListInventoriesRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            parent_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              view_ = rawValue;
-              break;
-            }
-          case 24:
-            {
-              pageSize_ = input.readInt32();
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            view_ = rawValue;
+            break;
+          }
+          case 24: {
 
-              pageToken_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            pageSize_ = input.readInt32();
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              filter_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            pageToken_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            filter_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -121,43 +100,36 @@ private ListInventoriesRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.Inventories
-        .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.Inventories
-        .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.class,
-            com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.Builder.class);
+            com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.class, com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -166,33 +138,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -203,52 +173,40 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** - * - * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InventoryView getView() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.InventoryView getView() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.InventoryView result = - com.google.cloud.osconfig.v1alpha.InventoryView.valueOf(view_); + com.google.cloud.osconfig.v1alpha.InventoryView result = com.google.cloud.osconfig.v1alpha.InventoryView.valueOf(view_); return result == null ? com.google.cloud.osconfig.v1alpha.InventoryView.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -259,8 +217,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A pagination token returned from a previous call to
    * `ListInventories` that indicates where this listing
@@ -268,7 +224,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -277,15 +232,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A pagination token returned from a previous call to
    * `ListInventories` that indicates where this listing
@@ -293,15 +247,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -312,15 +267,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `Inventory` API resource to be included in the response.
    * 
* * string filter = 5; - * * @return The filter. */ @java.lang.Override @@ -329,30 +281,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `Inventory` API resource to be included in the response.
    * 
* * string filter = 5; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -361,7 +313,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -373,12 +324,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (view_ - != com.google.cloud.osconfig.v1alpha.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { + if (view_ != com.google.cloud.osconfig.v1alpha.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } if (pageSize_ != 0) { @@ -402,12 +353,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (view_ - != com.google.cloud.osconfig.v1alpha.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.cloud.osconfig.v1alpha.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -423,19 +375,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListInventoriesRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListInventoriesRequest other = - (com.google.cloud.osconfig.v1alpha.ListInventoriesRequest) obj; + com.google.cloud.osconfig.v1alpha.ListInventoriesRequest other = (com.google.cloud.osconfig.v1alpha.ListInventoriesRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (view_ != other.view_) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -463,104 +418,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest 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.osconfig.v1alpha.ListInventoriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.ListInventoriesRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListInventoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message for listing inventory data for all VMs in the specified
    * location.
@@ -568,23 +515,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.ListInventoriesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListInventoriesRequest)
       com.google.cloud.osconfig.v1alpha.ListInventoriesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.Inventories
-          .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.Inventories
-          .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.class,
-              com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.Builder.class);
+              com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.class, com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.newBuilder()
@@ -592,15 +537,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -618,9 +564,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.Inventories
-          .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -639,8 +585,7 @@ public com.google.cloud.osconfig.v1alpha.ListInventoriesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.ListInventoriesRequest buildPartial() {
-      com.google.cloud.osconfig.v1alpha.ListInventoriesRequest result =
-          new com.google.cloud.osconfig.v1alpha.ListInventoriesRequest(this);
+      com.google.cloud.osconfig.v1alpha.ListInventoriesRequest result = new com.google.cloud.osconfig.v1alpha.ListInventoriesRequest(this);
       result.parent_ = parent_;
       result.view_ = view_;
       result.pageSize_ = pageSize_;
@@ -654,39 +599,38 @@ public com.google.cloud.osconfig.v1alpha.ListInventoriesRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.ListInventoriesRequest) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListInventoriesRequest) other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListInventoriesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -694,8 +638,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListInventoriesRequest other) {
-      if (other == com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -733,8 +676,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.osconfig.v1alpha.ListInventoriesRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.osconfig.v1alpha.ListInventoriesRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -746,24 +688,20 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -772,25 +710,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -798,73 +733,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -872,69 +794,55 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; - * * @return The view. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.InventoryView getView() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.InventoryView result = - com.google.cloud.osconfig.v1alpha.InventoryView.valueOf(view_); + com.google.cloud.osconfig.v1alpha.InventoryView result = com.google.cloud.osconfig.v1alpha.InventoryView.valueOf(view_); return result == null ? com.google.cloud.osconfig.v1alpha.InventoryView.UNRECOGNIZED : result; } /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -942,40 +850,34 @@ public Builder setView(com.google.cloud.osconfig.v1alpha.InventoryView value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -983,36 +885,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1020,8 +916,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -1029,13 +923,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1044,8 +938,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -1053,14 +945,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1068,8 +961,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -1077,22 +968,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -1100,18 +989,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -1119,16 +1005,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1136,21 +1022,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1159,22 +1043,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1182,71 +1065,64 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1256,12 +1132,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListInventoriesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListInventoriesRequest) private static final com.google.cloud.osconfig.v1alpha.ListInventoriesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListInventoriesRequest(); } @@ -1270,16 +1146,16 @@ public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInventoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInventoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInventoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInventoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1294,4 +1170,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.ListInventoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequestOrBuilder.java index 3227bf7e..0d5b04ae 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequestOrBuilder.java @@ -1,104 +1,68 @@ -/* - * 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/osconfig/v1alpha/inventory.proto package com.google.cloud.osconfig.v1alpha; -public interface ListInventoriesRequestOrBuilder - extends +public interface ListInventoriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListInventoriesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; - * * @return The view. */ com.google.cloud.osconfig.v1alpha.InventoryView getView(); /** - * - * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A pagination token returned from a previous call to
    * `ListInventories` that indicates where this listing
@@ -106,13 +70,10 @@ public interface ListInventoriesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A pagination token returned from a previous call to
    * `ListInventories` that indicates where this listing
@@ -120,35 +81,30 @@ public interface ListInventoriesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `Inventory` API resource to be included in the response.
    * 
* * string filter = 5; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `Inventory` API resource to be included in the response.
    * 
* * string filter = 5; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponse.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponse.java similarity index 73% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponse.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponse.java index 934cee38..225d863b 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponse.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1alpha/inventory.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * A response message for listing inventory data for all VMs in a specified
  * location.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.ListInventoriesResponse}
  */
-public final class ListInventoriesResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListInventoriesResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListInventoriesResponse)
     ListInventoriesResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInventoriesResponse.newBuilder() to construct.
   private ListInventoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInventoriesResponse() {
     inventories_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,15 +27,16 @@ private ListInventoriesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInventoriesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListInventoriesResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,32 +56,28 @@ private ListInventoriesResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                inventories_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              inventories_.add(
-                  input.readMessage(
-                      com.google.cloud.osconfig.v1alpha.Inventory.parser(), extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              inventories_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            inventories_.add(
+                input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              nextPageToken_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            nextPageToken_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -106,7 +85,8 @@ private ListInventoriesResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         inventories_ = java.util.Collections.unmodifiableList(inventories_);
@@ -115,27 +95,22 @@ private ListInventoriesResponse(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.Inventories
-        .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.Inventories
-        .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.class,
-            com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.Builder.class);
+            com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.class, com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.Builder.class);
   }
 
   public static final int INVENTORIES_FIELD_NUMBER = 1;
   private java.util.List inventories_;
   /**
-   *
-   *
    * 
    * List of inventory objects.
    * 
@@ -147,8 +122,6 @@ public java.util.List getInventorie return inventories_; } /** - * - * *
    * List of inventory objects.
    * 
@@ -156,13 +129,11 @@ public java.util.List getInventorie * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInventoriesOrBuilderList() { return inventories_; } /** - * - * *
    * List of inventory objects.
    * 
@@ -174,8 +145,6 @@ public int getInventoriesCount() { return inventories_.size(); } /** - * - * *
    * List of inventory objects.
    * 
@@ -187,8 +156,6 @@ public com.google.cloud.osconfig.v1alpha.Inventory getInventories(int index) { return inventories_.get(index); } /** - * - * *
    * List of inventory objects.
    * 
@@ -196,21 +163,19 @@ public com.google.cloud.osconfig.v1alpha.Inventory getInventories(int index) { * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InventoryOrBuilder getInventoriesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.InventoryOrBuilder getInventoriesOrBuilder( + int index) { return inventories_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The pagination token to retrieve the next page of inventory objects.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,29 +184,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The pagination token to retrieve the next page of inventory objects.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -250,7 +215,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +226,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < inventories_.size(); i++) { output.writeMessage(1, inventories_.get(i)); } @@ -279,7 +244,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < inventories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, inventories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, inventories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -292,16 +258,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListInventoriesResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListInventoriesResponse other = - (com.google.cloud.osconfig.v1alpha.ListInventoriesResponse) obj; + com.google.cloud.osconfig.v1alpha.ListInventoriesResponse other = (com.google.cloud.osconfig.v1alpha.ListInventoriesResponse) obj; - if (!getInventoriesList().equals(other.getInventoriesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getInventoriesList() + .equals(other.getInventoriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,104 +292,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse 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.osconfig.v1alpha.ListInventoriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.ListInventoriesResponse prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListInventoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response message for listing inventory data for all VMs in a specified
    * location.
@@ -430,23 +389,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.ListInventoriesResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListInventoriesResponse)
       com.google.cloud.osconfig.v1alpha.ListInventoriesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.Inventories
-          .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.Inventories
-          .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.class,
-              com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.Builder.class);
+              com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.class, com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.newBuilder()
@@ -454,17 +411,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInventoriesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -480,9 +437,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.Inventories
-          .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -501,8 +458,7 @@ public com.google.cloud.osconfig.v1alpha.ListInventoriesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.ListInventoriesResponse buildPartial() {
-      com.google.cloud.osconfig.v1alpha.ListInventoriesResponse result =
-          new com.google.cloud.osconfig.v1alpha.ListInventoriesResponse(this);
+      com.google.cloud.osconfig.v1alpha.ListInventoriesResponse result = new com.google.cloud.osconfig.v1alpha.ListInventoriesResponse(this);
       int from_bitField0_ = bitField0_;
       if (inventoriesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -522,39 +478,38 @@ public com.google.cloud.osconfig.v1alpha.ListInventoriesResponse buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.ListInventoriesResponse) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListInventoriesResponse) other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListInventoriesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -562,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListInventoriesResponse other) {
-      if (other == com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.getDefaultInstance()) return this;
       if (inventoriesBuilder_ == null) {
         if (!other.inventories_.isEmpty()) {
           if (inventories_.isEmpty()) {
@@ -582,10 +536,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListInventoriesRespon
             inventoriesBuilder_ = null;
             inventories_ = other.inventories_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            inventoriesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getInventoriesFieldBuilder()
-                    : null;
+            inventoriesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getInventoriesFieldBuilder() : null;
           } else {
             inventoriesBuilder_.addAllMessages(other.inventories_);
           }
@@ -614,8 +567,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.osconfig.v1alpha.ListInventoriesResponse) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.osconfig.v1alpha.ListInventoriesResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -624,29 +576,21 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List inventories_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureInventoriesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        inventories_ =
-            new java.util.ArrayList(inventories_);
+        inventories_ = new java.util.ArrayList(inventories_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.osconfig.v1alpha.Inventory,
-            com.google.cloud.osconfig.v1alpha.Inventory.Builder,
-            com.google.cloud.osconfig.v1alpha.InventoryOrBuilder>
-        inventoriesBuilder_;
+        com.google.cloud.osconfig.v1alpha.Inventory, com.google.cloud.osconfig.v1alpha.Inventory.Builder, com.google.cloud.osconfig.v1alpha.InventoryOrBuilder> inventoriesBuilder_;
 
     /**
-     *
-     *
      * 
      * List of inventory objects.
      * 
@@ -661,8 +605,6 @@ public java.util.List getInventorie } } /** - * - * *
      * List of inventory objects.
      * 
@@ -677,8 +619,6 @@ public int getInventoriesCount() { } } /** - * - * *
      * List of inventory objects.
      * 
@@ -693,15 +633,14 @@ public com.google.cloud.osconfig.v1alpha.Inventory getInventories(int index) { } } /** - * - * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - public Builder setInventories(int index, com.google.cloud.osconfig.v1alpha.Inventory value) { + public Builder setInventories( + int index, com.google.cloud.osconfig.v1alpha.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -715,8 +654,6 @@ public Builder setInventories(int index, com.google.cloud.osconfig.v1alpha.Inven return this; } /** - * - * *
      * List of inventory objects.
      * 
@@ -735,8 +672,6 @@ public Builder setInventories( return this; } /** - * - * *
      * List of inventory objects.
      * 
@@ -757,15 +692,14 @@ public Builder addInventories(com.google.cloud.osconfig.v1alpha.Inventory value) return this; } /** - * - * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - public Builder addInventories(int index, com.google.cloud.osconfig.v1alpha.Inventory value) { + public Builder addInventories( + int index, com.google.cloud.osconfig.v1alpha.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -779,8 +713,6 @@ public Builder addInventories(int index, com.google.cloud.osconfig.v1alpha.Inven return this; } /** - * - * *
      * List of inventory objects.
      * 
@@ -799,8 +731,6 @@ public Builder addInventories( return this; } /** - * - * *
      * List of inventory objects.
      * 
@@ -819,8 +749,6 @@ public Builder addInventories( return this; } /** - * - * *
      * List of inventory objects.
      * 
@@ -831,7 +759,8 @@ public Builder addAllInventories( java.lang.Iterable values) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inventories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, inventories_); onChanged(); } else { inventoriesBuilder_.addAllMessages(values); @@ -839,8 +768,6 @@ public Builder addAllInventories( return this; } /** - * - * *
      * List of inventory objects.
      * 
@@ -858,8 +785,6 @@ public Builder clearInventories() { return this; } /** - * - * *
      * List of inventory objects.
      * 
@@ -877,44 +802,39 @@ public Builder removeInventories(int index) { return this; } /** - * - * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - public com.google.cloud.osconfig.v1alpha.Inventory.Builder getInventoriesBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.Inventory.Builder getInventoriesBuilder( + int index) { return getInventoriesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - public com.google.cloud.osconfig.v1alpha.InventoryOrBuilder getInventoriesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.InventoryOrBuilder getInventoriesOrBuilder( + int index) { if (inventoriesBuilder_ == null) { - return inventories_.get(index); - } else { + return inventories_.get(index); } else { return inventoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - public java.util.List - getInventoriesOrBuilderList() { + public java.util.List + getInventoriesOrBuilderList() { if (inventoriesBuilder_ != null) { return inventoriesBuilder_.getMessageOrBuilderList(); } else { @@ -922,8 +842,6 @@ public com.google.cloud.osconfig.v1alpha.InventoryOrBuilder getInventoriesOrBuil } } /** - * - * *
      * List of inventory objects.
      * 
@@ -931,48 +849,42 @@ public com.google.cloud.osconfig.v1alpha.InventoryOrBuilder getInventoriesOrBuil * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ public com.google.cloud.osconfig.v1alpha.Inventory.Builder addInventoriesBuilder() { - return getInventoriesFieldBuilder() - .addBuilder(com.google.cloud.osconfig.v1alpha.Inventory.getDefaultInstance()); + return getInventoriesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.Inventory.getDefaultInstance()); } /** - * - * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - public com.google.cloud.osconfig.v1alpha.Inventory.Builder addInventoriesBuilder(int index) { - return getInventoriesFieldBuilder() - .addBuilder(index, com.google.cloud.osconfig.v1alpha.Inventory.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.Inventory.Builder addInventoriesBuilder( + int index) { + return getInventoriesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.Inventory.getDefaultInstance()); } /** - * - * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - public java.util.List - getInventoriesBuilderList() { + public java.util.List + getInventoriesBuilderList() { return getInventoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory, - com.google.cloud.osconfig.v1alpha.Inventory.Builder, - com.google.cloud.osconfig.v1alpha.InventoryOrBuilder> + com.google.cloud.osconfig.v1alpha.Inventory, com.google.cloud.osconfig.v1alpha.Inventory.Builder, com.google.cloud.osconfig.v1alpha.InventoryOrBuilder> getInventoriesFieldBuilder() { if (inventoriesBuilder_ == null) { - inventoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory, - com.google.cloud.osconfig.v1alpha.Inventory.Builder, - com.google.cloud.osconfig.v1alpha.InventoryOrBuilder>( - inventories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + inventoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.Inventory, com.google.cloud.osconfig.v1alpha.Inventory.Builder, com.google.cloud.osconfig.v1alpha.InventoryOrBuilder>( + inventories_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); inventories_ = null; } return inventoriesBuilder_; @@ -980,20 +892,18 @@ public com.google.cloud.osconfig.v1alpha.Inventory.Builder addInventoriesBuilder private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1002,21 +912,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1024,68 +933,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1095,12 +997,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListInventoriesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListInventoriesResponse) private static final com.google.cloud.osconfig.v1alpha.ListInventoriesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListInventoriesResponse(); } @@ -1109,16 +1011,16 @@ public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInventoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInventoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInventoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInventoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1133,4 +1035,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.ListInventoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponseOrBuilder.java similarity index 66% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponseOrBuilder.java index 1b440a2c..445fa30e 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * 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/osconfig/v1alpha/inventory.proto package com.google.cloud.osconfig.v1alpha; -public interface ListInventoriesResponseOrBuilder - extends +public interface ListInventoriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListInventoriesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of inventory objects.
    * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - java.util.List getInventoriesList(); + java.util.List + getInventoriesList(); /** - * - * *
    * List of inventory objects.
    * 
@@ -44,8 +25,6 @@ public interface ListInventoriesResponseOrBuilder */ com.google.cloud.osconfig.v1alpha.Inventory getInventories(int index); /** - * - * *
    * List of inventory objects.
    * 
@@ -54,49 +33,41 @@ public interface ListInventoriesResponseOrBuilder */ int getInventoriesCount(); /** - * - * *
    * List of inventory objects.
    * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - java.util.List + java.util.List getInventoriesOrBuilderList(); /** - * - * *
    * List of inventory objects.
    * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - com.google.cloud.osconfig.v1alpha.InventoryOrBuilder getInventoriesOrBuilder(int index); + com.google.cloud.osconfig.v1alpha.InventoryOrBuilder getInventoriesOrBuilder( + int index); /** - * - * *
    * The pagination token to retrieve the next page of inventory objects.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The pagination token to retrieve the next page of inventory objects.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequest.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequest.java similarity index 73% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequest.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequest.java index d0a05d15..842bebb2 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequest.java @@ -1,44 +1,24 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * List the OS policy assignment reports for VM instances.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest} */ -public final class ListOSPolicyAssignmentReportsRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListOSPolicyAssignmentReportsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) ListOSPolicyAssignmentReportsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentReportsRequest.newBuilder() to construct. - private ListOSPolicyAssignmentReportsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentReportsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListOSPolicyAssignmentReportsRequest() { parent_ = ""; filter_ = ""; @@ -47,15 +27,16 @@ private ListOSPolicyAssignmentReportsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentReportsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListOSPolicyAssignmentReportsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,39 +55,36 @@ private ListOSPolicyAssignmentReportsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - filter_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,33 +92,29 @@ private ListOSPolicyAssignmentReportsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.class, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource name.
    * Format:
@@ -162,10 +136,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *  returns all the reports for all assignments across all instances.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -174,15 +145,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource name.
    * Format:
@@ -204,18 +174,17 @@ public java.lang.String getParent() {
    *  returns all the reports for all assignments across all instances.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -226,14 +195,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -244,15 +210,12 @@ public int getPageSize() { public static final int FILTER_FIELD_NUMBER = 3; private volatile java.lang.Object filter_; /** - * - * *
    * If provided, this field specifies the criteria that must be met by the
    * `OSPolicyAssignmentReport` API resource that is included in the response.
    * 
* * string filter = 3; - * * @return The filter. */ @java.lang.Override @@ -261,30 +224,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * If provided, this field specifies the criteria that must be met by the
    * `OSPolicyAssignmentReport` API resource that is included in the response.
    * 
* * string filter = 3; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -295,8 +258,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A pagination token returned from a previous call to the
    * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -304,7 +265,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -313,15 +273,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A pagination token returned from a previous call to the
    * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -329,15 +288,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -346,7 +306,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -358,7 +317,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -384,7 +344,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); @@ -400,18 +361,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest other = - (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest other = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -437,145 +401,134 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest 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.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest - 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.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest 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.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List the OS policy assignment reports for VM instances.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.class, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -591,22 +544,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest build() { - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest result = - buildPartial(); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -615,8 +565,7 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest bu @java.lang.Override public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest result = - new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest(this); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest result = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.filter_ = filter_; @@ -629,51 +578,46 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest other) { - if (other - == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest other) { + if (other == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -708,9 +652,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -722,8 +664,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource name.
      * Format:
@@ -745,16 +685,14 @@ public Builder mergeFrom(
      *  returns all the reports for all assignments across all instances.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -763,8 +701,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource name.
      * Format:
@@ -786,17 +722,16 @@ public java.lang.String getParent() {
      *  returns all the reports for all assignments across all instances.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -804,8 +739,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource name.
      * Format:
@@ -827,25 +760,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      *  returns all the reports for all assignments across all instances.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource name.
      * Format:
@@ -867,21 +796,16 @@ public Builder setParent(java.lang.String value) {
      *  returns all the reports for all assignments across all instances.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource name.
      * Format:
@@ -903,34 +827,29 @@ public Builder clearParent() {
      *  returns all the reports for all assignments across all instances.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -938,36 +857,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -975,21 +888,19 @@ public Builder clearPageSize() { private java.lang.Object filter_ = ""; /** - * - * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -998,22 +909,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1021,64 +931,57 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1086,8 +989,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -1095,13 +996,13 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1110,8 +1011,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -1119,14 +1018,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1134,8 +1034,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -1143,22 +1041,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -1166,18 +1062,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -1185,23 +1078,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1211,32 +1104,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) - private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest(); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentReportsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentReportsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentReportsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentReportsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1248,8 +1139,9 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequestOrBuilder.java index 4448d307..4757deca 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1alpha; -public interface ListOSPolicyAssignmentReportsRequestOrBuilder - extends +public interface ListOSPolicyAssignmentReportsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource name.
    * Format:
@@ -47,16 +29,11 @@ public interface ListOSPolicyAssignmentReportsRequestOrBuilder
    *  returns all the reports for all assignments across all instances.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource name.
    * Format:
@@ -78,57 +55,45 @@ public interface ListOSPolicyAssignmentReportsRequestOrBuilder
    *  returns all the reports for all assignments across all instances.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If provided, this field specifies the criteria that must be met by the
    * `OSPolicyAssignmentReport` API resource that is included in the response.
    * 
* * string filter = 3; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * If provided, this field specifies the criteria that must be met by the
    * `OSPolicyAssignmentReport` API resource that is included in the response.
    * 
* * string filter = 3; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * A pagination token returned from a previous call to the
    * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -136,13 +101,10 @@ public interface ListOSPolicyAssignmentReportsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A pagination token returned from a previous call to the
    * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -150,8 +112,8 @@ public interface ListOSPolicyAssignmentReportsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponse.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponse.java similarity index 62% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponse.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponse.java index 115da118..d8a9123f 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponse.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * A response message for listing OS Policy assignment reports including the
  * page of results and page token.
@@ -28,18 +11,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse}
  */
-public final class ListOSPolicyAssignmentReportsResponse
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListOSPolicyAssignmentReportsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse)
     ListOSPolicyAssignmentReportsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListOSPolicyAssignmentReportsResponse.newBuilder() to construct.
-  private ListOSPolicyAssignmentReportsResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListOSPolicyAssignmentReportsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListOSPolicyAssignmentReportsResponse() {
     osPolicyAssignmentReports_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -47,15 +27,16 @@ private ListOSPolicyAssignmentReportsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListOSPolicyAssignmentReportsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListOSPolicyAssignmentReportsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,34 +56,28 @@ private ListOSPolicyAssignmentReportsResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                osPolicyAssignmentReports_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              osPolicyAssignmentReports_.add(
-                  input.readMessage(
-                      com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              osPolicyAssignmentReports_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            osPolicyAssignmentReports_.add(
+                input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              nextPageToken_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            nextPageToken_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -110,128 +85,98 @@ private ListOSPolicyAssignmentReportsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
-        osPolicyAssignmentReports_ =
-            java.util.Collections.unmodifiableList(osPolicyAssignmentReports_);
+        osPolicyAssignmentReports_ = java.util.Collections.unmodifiableList(osPolicyAssignmentReports_);
       }
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto
-        .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto
-        .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.class,
-            com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.Builder.class);
+            com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.Builder.class);
   }
 
   public static final int OS_POLICY_ASSIGNMENT_REPORTS_FIELD_NUMBER = 1;
-  private java.util.List
-      osPolicyAssignmentReports_;
+  private java.util.List osPolicyAssignmentReports_;
   /**
-   *
-   *
    * 
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ @java.lang.Override - public java.util.List - getOsPolicyAssignmentReportsList() { + public java.util.List getOsPolicyAssignmentReportsList() { return osPolicyAssignmentReports_; } /** - * - * *
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder> + public java.util.List getOsPolicyAssignmentReportsOrBuilderList() { return osPolicyAssignmentReports_; } /** - * - * *
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ @java.lang.Override public int getOsPolicyAssignmentReportsCount() { return osPolicyAssignmentReports_.size(); } /** - * - * *
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getOsPolicyAssignmentReports( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getOsPolicyAssignmentReports(int index) { return osPolicyAssignmentReports_.get(index); } /** - * - * *
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder - getOsPolicyAssignmentReportsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder getOsPolicyAssignmentReportsOrBuilder( + int index) { return osPolicyAssignmentReports_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignment
    * report objects.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -240,30 +185,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignment
    * report objects.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -272,7 +217,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -284,7 +228,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < osPolicyAssignmentReports_.size(); i++) { output.writeMessage(1, osPolicyAssignmentReports_.get(i)); } @@ -301,9 +246,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < osPolicyAssignmentReports_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, osPolicyAssignmentReports_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, osPolicyAssignmentReports_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -316,17 +260,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse other = - (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse) obj; + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse other = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse) obj; - if (!getOsPolicyAssignmentReportsList().equals(other.getOsPolicyAssignmentReportsList())) - return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getOsPolicyAssignmentReportsList() + .equals(other.getOsPolicyAssignmentReportsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -350,105 +294,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse 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.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse - 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.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse 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.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response message for listing OS Policy assignment reports including the
    * page of results and page token.
@@ -456,43 +391,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse)
       com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto
-          .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto
-          .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.class,
-              com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.Builder
-                  .class);
+              com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.newBuilder()
+    // Construct using com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getOsPolicyAssignmentReportsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -508,22 +439,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto
-          .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse
-        getDefaultInstanceForType() {
-      return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse
-          .getDefaultInstance();
+    public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse getDefaultInstanceForType() {
+      return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse build() {
-      com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse result =
-          buildPartial();
+      com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -532,13 +460,11 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse b
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse buildPartial() {
-      com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse result =
-          new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse(this);
+      com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse result = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse(this);
       int from_bitField0_ = bitField0_;
       if (osPolicyAssignmentReportsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
-          osPolicyAssignmentReports_ =
-              java.util.Collections.unmodifiableList(osPolicyAssignmentReports_);
+          osPolicyAssignmentReports_ = java.util.Collections.unmodifiableList(osPolicyAssignmentReports_);
           bitField0_ = (bitField0_ & ~0x00000001);
         }
         result.osPolicyAssignmentReports_ = osPolicyAssignmentReports_;
@@ -554,52 +480,46 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse b
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse) {
-        return mergeFrom(
-            (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse) other);
+      if (other instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse) {
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse other) {
-      if (other
-          == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse other) {
+      if (other == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.getDefaultInstance()) return this;
       if (osPolicyAssignmentReportsBuilder_ == null) {
         if (!other.osPolicyAssignmentReports_.isEmpty()) {
           if (osPolicyAssignmentReports_.isEmpty()) {
@@ -618,10 +538,9 @@ public Builder mergeFrom(
             osPolicyAssignmentReportsBuilder_ = null;
             osPolicyAssignmentReports_ = other.osPolicyAssignmentReports_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            osPolicyAssignmentReportsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOsPolicyAssignmentReportsFieldBuilder()
-                    : null;
+            osPolicyAssignmentReportsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOsPolicyAssignmentReportsFieldBuilder() : null;
           } else {
             osPolicyAssignmentReportsBuilder_.addAllMessages(other.osPolicyAssignmentReports_);
           }
@@ -650,9 +569,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -661,40 +578,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        osPolicyAssignmentReports_ = java.util.Collections.emptyList();
-
+    private java.util.List osPolicyAssignmentReports_ =
+      java.util.Collections.emptyList();
     private void ensureOsPolicyAssignmentReportsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        osPolicyAssignmentReports_ =
-            new java.util.ArrayList(
-                osPolicyAssignmentReports_);
+        osPolicyAssignmentReports_ = new java.util.ArrayList(osPolicyAssignmentReports_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport,
-            com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder,
-            com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder>
-        osPolicyAssignmentReportsBuilder_;
+        com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder> osPolicyAssignmentReportsBuilder_;
 
     /**
-     *
-     *
      * 
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - public java.util.List - getOsPolicyAssignmentReportsList() { + public java.util.List getOsPolicyAssignmentReportsList() { if (osPolicyAssignmentReportsBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyAssignmentReports_); } else { @@ -702,15 +607,11 @@ private void ensureOsPolicyAssignmentReportsIsMutable() { } } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ public int getOsPolicyAssignmentReportsCount() { if (osPolicyAssignmentReportsBuilder_ == null) { @@ -720,18 +621,13 @@ public int getOsPolicyAssignmentReportsCount() { } } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getOsPolicyAssignmentReports( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getOsPolicyAssignmentReports(int index) { if (osPolicyAssignmentReportsBuilder_ == null) { return osPolicyAssignmentReports_.get(index); } else { @@ -739,15 +635,11 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getOsPolicyAss } } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ public Builder setOsPolicyAssignmentReports( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport value) { @@ -764,19 +656,14 @@ public Builder setOsPolicyAssignmentReports( return this; } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ public Builder setOsPolicyAssignmentReports( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder builderForValue) { if (osPolicyAssignmentReportsBuilder_ == null) { ensureOsPolicyAssignmentReportsIsMutable(); osPolicyAssignmentReports_.set(index, builderForValue.build()); @@ -787,18 +674,13 @@ public Builder setOsPolicyAssignmentReports( return this; } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - public Builder addOsPolicyAssignmentReports( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport value) { + public Builder addOsPolicyAssignmentReports(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport value) { if (osPolicyAssignmentReportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -812,15 +694,11 @@ public Builder addOsPolicyAssignmentReports( return this; } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ public Builder addOsPolicyAssignmentReports( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport value) { @@ -837,15 +715,11 @@ public Builder addOsPolicyAssignmentReports( return this; } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ public Builder addOsPolicyAssignmentReports( com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder builderForValue) { @@ -859,19 +733,14 @@ public Builder addOsPolicyAssignmentReports( return this; } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ public Builder addOsPolicyAssignmentReports( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder builderForValue) { if (osPolicyAssignmentReportsBuilder_ == null) { ensureOsPolicyAssignmentReportsIsMutable(); osPolicyAssignmentReports_.add(index, builderForValue.build()); @@ -882,22 +751,18 @@ public Builder addOsPolicyAssignmentReports( return this; } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ public Builder addAllOsPolicyAssignmentReports( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (osPolicyAssignmentReportsBuilder_ == null) { ensureOsPolicyAssignmentReportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicyAssignmentReports_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, osPolicyAssignmentReports_); onChanged(); } else { osPolicyAssignmentReportsBuilder_.addAllMessages(values); @@ -905,15 +770,11 @@ public Builder addAllOsPolicyAssignmentReports( return this; } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ public Builder clearOsPolicyAssignmentReports() { if (osPolicyAssignmentReportsBuilder_ == null) { @@ -926,15 +787,11 @@ public Builder clearOsPolicyAssignmentReports() { return this; } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ public Builder removeOsPolicyAssignmentReports(int index) { if (osPolicyAssignmentReportsBuilder_ == null) { @@ -947,53 +804,39 @@ public Builder removeOsPolicyAssignmentReports(int index) { return this; } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder - getOsPolicyAssignmentReportsBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder getOsPolicyAssignmentReportsBuilder( + int index) { return getOsPolicyAssignmentReportsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder - getOsPolicyAssignmentReportsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder getOsPolicyAssignmentReportsOrBuilder( + int index) { if (osPolicyAssignmentReportsBuilder_ == null) { - return osPolicyAssignmentReports_.get(index); - } else { + return osPolicyAssignmentReports_.get(index); } else { return osPolicyAssignmentReportsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder> - getOsPolicyAssignmentReportsOrBuilderList() { + public java.util.List + getOsPolicyAssignmentReportsOrBuilderList() { if (osPolicyAssignmentReportsBuilder_ != null) { return osPolicyAssignmentReportsBuilder_.getMessageOrBuilderList(); } else { @@ -1001,67 +844,45 @@ public Builder removeOsPolicyAssignmentReports(int index) { } } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder - addOsPolicyAssignmentReportsBuilder() { - return getOsPolicyAssignmentReportsFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder addOsPolicyAssignmentReportsBuilder() { + return getOsPolicyAssignmentReportsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.getDefaultInstance()); } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder - addOsPolicyAssignmentReportsBuilder(int index) { - return getOsPolicyAssignmentReportsFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder addOsPolicyAssignmentReportsBuilder( + int index) { + return getOsPolicyAssignmentReportsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.getDefaultInstance()); } /** - * - * *
      * List of OS policy assignment reports.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - public java.util.List - getOsPolicyAssignmentReportsBuilderList() { + public java.util.List + getOsPolicyAssignmentReportsBuilderList() { return getOsPolicyAssignmentReportsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder> getOsPolicyAssignmentReportsFieldBuilder() { if (osPolicyAssignmentReportsBuilder_ == null) { - osPolicyAssignmentReportsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder>( + osPolicyAssignmentReportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder>( osPolicyAssignmentReports_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1073,21 +894,19 @@ public Builder removeOsPolicyAssignmentReports(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1096,22 +915,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1119,71 +937,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1193,33 +1004,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse) - private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse(); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentReportsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentReportsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentReportsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentReportsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1231,8 +1039,9 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponseOrBuilder.java similarity index 50% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponseOrBuilder.java index e5555186..7f975446 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponseOrBuilder.java @@ -1,117 +1,75 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1alpha; -public interface ListOSPolicyAssignmentReportsResponseOrBuilder - extends +public interface ListOSPolicyAssignmentReportsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - java.util.List + java.util.List getOsPolicyAssignmentReportsList(); /** - * - * *
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getOsPolicyAssignmentReports( - int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getOsPolicyAssignmentReports(int index); /** - * - * *
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ int getOsPolicyAssignmentReportsCount(); /** - * - * *
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - java.util.List + java.util.List getOsPolicyAssignmentReportsOrBuilderList(); /** - * - * *
    * List of OS policy assignment reports.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder - getOsPolicyAssignmentReportsOrBuilder(int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder getOsPolicyAssignmentReportsOrBuilder( + int index); /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignment
    * report objects.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignment
    * report objects.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequest.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequest.java similarity index 64% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequest.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequest.java index 13ee8c4e..80501c30 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequest.java @@ -1,44 +1,24 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * A request message to list revisions for a OS policy assignment
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest} */ -public final class ListOSPolicyAssignmentRevisionsRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListOSPolicyAssignmentRevisionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) ListOSPolicyAssignmentRevisionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentRevisionsRequest.newBuilder() to construct. - private ListOSPolicyAssignmentRevisionsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentRevisionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListOSPolicyAssignmentRevisionsRequest() { name_ = ""; pageToken_ = ""; @@ -46,15 +26,16 @@ private ListOSPolicyAssignmentRevisionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentRevisionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListOSPolicyAssignmentRevisionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,32 +54,30 @@ private ListOSPolicyAssignmentRevisionsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,41 +85,34 @@ private ListOSPolicyAssignmentRevisionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.class, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the OS policy assignment to list revisions for.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -149,31 +121,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the OS policy assignment to list revisions for.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -184,14 +154,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of revisions to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -202,8 +169,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -211,7 +176,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -220,15 +184,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -236,15 +199,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -253,7 +217,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +228,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -288,7 +252,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -301,18 +266,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest other = - (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) obj; + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest other = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -336,146 +302,134 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest 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.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest - 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.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest 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.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message to list revisions for a OS policy assignment
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.class, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.Builder - .class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -489,22 +443,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest build() { - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest result = - buildPartial(); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -513,8 +464,7 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest @java.lang.Override public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest result = - new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest(this); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest result = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -526,52 +476,46 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) other); + if (other instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest other) { - if (other - == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest other) { + if (other == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -602,9 +546,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -616,22 +558,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -640,23 +578,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -664,82 +599,66 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of revisions to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -747,36 +666,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of revisions to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of revisions to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -784,8 +697,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -793,13 +704,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -808,8 +719,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -817,14 +726,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -832,8 +742,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -841,22 +749,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -864,18 +770,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -883,23 +786,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -909,33 +812,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) - private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest(); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentRevisionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentRevisionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentRevisionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentRevisionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -947,8 +847,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java similarity index 58% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java index ad5f77e3..78754eb7 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java @@ -1,73 +1,43 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; -public interface ListOSPolicyAssignmentRevisionsRequestOrBuilder - extends +public interface ListOSPolicyAssignmentRevisionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the OS policy assignment to list revisions for.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the OS policy assignment to list revisions for.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The maximum number of revisions to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -75,13 +45,10 @@ public interface ListOSPolicyAssignmentRevisionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -89,8 +56,8 @@ public interface ListOSPolicyAssignmentRevisionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponse.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponse.java similarity index 67% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponse.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponse.java index 78f20eec..3c140ed6 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponse.java @@ -1,44 +1,24 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * A response message for listing all revisions for a OS policy assignment.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse} */ -public final class ListOSPolicyAssignmentRevisionsResponse - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListOSPolicyAssignmentRevisionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) ListOSPolicyAssignmentRevisionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentRevisionsResponse.newBuilder() to construct. - private ListOSPolicyAssignmentRevisionsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentRevisionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListOSPolicyAssignmentRevisionsResponse() { osPolicyAssignments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -46,15 +26,16 @@ private ListOSPolicyAssignmentRevisionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentRevisionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListOSPolicyAssignmentRevisionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,33 +55,28 @@ private ListOSPolicyAssignmentRevisionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyAssignments_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - osPolicyAssignments_.add( - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + osPolicyAssignments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + osPolicyAssignments_.add( + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -108,7 +84,8 @@ private ListOSPolicyAssignmentRevisionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { osPolicyAssignments_ = java.util.Collections.unmodifiableList(osPolicyAssignments_); @@ -117,111 +94,88 @@ private ListOSPolicyAssignmentRevisionsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.class, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.Builder - .class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.Builder.class); } public static final int OS_POLICY_ASSIGNMENTS_FIELD_NUMBER = 1; private java.util.List osPolicyAssignments_; /** - * - * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ @java.lang.Override - public java.util.List - getOsPolicyAssignmentsList() { + public java.util.List getOsPolicyAssignmentsList() { return osPolicyAssignments_; } /** - * - * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ @java.lang.Override - public java.util.List + public java.util.List getOsPolicyAssignmentsOrBuilderList() { return osPolicyAssignments_; } /** - * - * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ @java.lang.Override public int getOsPolicyAssignmentsCount() { return osPolicyAssignments_.size(); } /** - * - * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignments(int index) { return osPolicyAssignments_.get(index); } /** - * - * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder - getOsPolicyAssignmentsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder( + int index) { return osPolicyAssignments_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignment
    * revisions.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -230,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignment
    * revisions.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -262,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < osPolicyAssignments_.size(); i++) { output.writeMessage(1, osPolicyAssignments_.get(i)); } @@ -291,8 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < osPolicyAssignments_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, osPolicyAssignments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, osPolicyAssignments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -305,17 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse other = - (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) obj; + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse other = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) obj; - if (!getOsPolicyAssignmentsList().equals(other.getOsPolicyAssignmentsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getOsPolicyAssignmentsList() + .equals(other.getOsPolicyAssignmentsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -339,148 +293,135 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse 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.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse - 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.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse 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.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response message for listing all revisions for a OS policy assignment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.class, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.Builder - .class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOsPolicyAssignmentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -496,22 +437,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse build() { - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse result = - buildPartial(); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -519,10 +457,8 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse - buildPartial() { - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse result = - new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse(this); + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse buildPartial() { + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse result = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse(this); int from_bitField0_ = bitField0_; if (osPolicyAssignmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -542,52 +478,46 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) other); + if (other instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse other) { - if (other - == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse other) { + if (other == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.getDefaultInstance()) return this; if (osPolicyAssignmentsBuilder_ == null) { if (!other.osPolicyAssignments_.isEmpty()) { if (osPolicyAssignments_.isEmpty()) { @@ -606,10 +536,9 @@ public Builder mergeFrom( osPolicyAssignmentsBuilder_ = null; osPolicyAssignments_ = other.osPolicyAssignments_; bitField0_ = (bitField0_ & ~0x00000001); - osPolicyAssignmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOsPolicyAssignmentsFieldBuilder() - : null; + osPolicyAssignmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOsPolicyAssignmentsFieldBuilder() : null; } else { osPolicyAssignmentsBuilder_.addAllMessages(other.osPolicyAssignments_); } @@ -634,14 +563,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parsedMessage = - null; + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -650,39 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - osPolicyAssignments_ = java.util.Collections.emptyList(); - + private java.util.List osPolicyAssignments_ = + java.util.Collections.emptyList(); private void ensureOsPolicyAssignmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyAssignments_ = - new java.util.ArrayList( - osPolicyAssignments_); + osPolicyAssignments_ = new java.util.ArrayList(osPolicyAssignments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> - osPolicyAssignmentsBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> osPolicyAssignmentsBuilder_; /** - * - * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - public java.util.List - getOsPolicyAssignmentsList() { + public java.util.List getOsPolicyAssignmentsList() { if (osPolicyAssignmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyAssignments_); } else { @@ -690,14 +605,11 @@ private void ensureOsPolicyAssignmentsIsMutable() { } } /** - * - * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public int getOsPolicyAssignmentsCount() { if (osPolicyAssignmentsBuilder_ == null) { @@ -707,14 +619,11 @@ public int getOsPolicyAssignmentsCount() { } } /** - * - * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignments(int index) { if (osPolicyAssignmentsBuilder_ == null) { @@ -724,14 +633,11 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignmen } } /** - * - * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public Builder setOsPolicyAssignments( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { @@ -748,14 +654,11 @@ public Builder setOsPolicyAssignments( return this; } /** - * - * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public Builder setOsPolicyAssignments( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder builderForValue) { @@ -769,17 +672,13 @@ public Builder setOsPolicyAssignments( return this; } /** - * - * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - public Builder addOsPolicyAssignments( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { + public Builder addOsPolicyAssignments(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { if (osPolicyAssignmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -793,14 +692,11 @@ public Builder addOsPolicyAssignments( return this; } /** - * - * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public Builder addOsPolicyAssignments( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { @@ -817,14 +713,11 @@ public Builder addOsPolicyAssignments( return this; } /** - * - * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public Builder addOsPolicyAssignments( com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder builderForValue) { @@ -838,14 +731,11 @@ public Builder addOsPolicyAssignments( return this; } /** - * - * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public Builder addOsPolicyAssignments( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder builderForValue) { @@ -859,20 +749,18 @@ public Builder addOsPolicyAssignments( return this; } /** - * - * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public Builder addAllOsPolicyAssignments( java.lang.Iterable values) { if (osPolicyAssignmentsBuilder_ == null) { ensureOsPolicyAssignmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicyAssignments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, osPolicyAssignments_); onChanged(); } else { osPolicyAssignmentsBuilder_.addAllMessages(values); @@ -880,14 +768,11 @@ public Builder addAllOsPolicyAssignments( return this; } /** - * - * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public Builder clearOsPolicyAssignments() { if (osPolicyAssignmentsBuilder_ == null) { @@ -900,14 +785,11 @@ public Builder clearOsPolicyAssignments() { return this; } /** - * - * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public Builder removeOsPolicyAssignments(int index) { if (osPolicyAssignmentsBuilder_ == null) { @@ -920,49 +802,39 @@ public Builder removeOsPolicyAssignments(int index) { return this; } /** - * - * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder - getOsPolicyAssignmentsBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder getOsPolicyAssignmentsBuilder( + int index) { return getOsPolicyAssignmentsFieldBuilder().getBuilder(index); } /** - * - * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder - getOsPolicyAssignmentsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder( + int index) { if (osPolicyAssignmentsBuilder_ == null) { - return osPolicyAssignments_.get(index); - } else { + return osPolicyAssignments_.get(index); } else { return osPolicyAssignmentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - public java.util.List - getOsPolicyAssignmentsOrBuilderList() { + public java.util.List + getOsPolicyAssignmentsOrBuilderList() { if (osPolicyAssignmentsBuilder_ != null) { return osPolicyAssignmentsBuilder_.getMessageOrBuilderList(); } else { @@ -970,62 +842,45 @@ public Builder removeOsPolicyAssignments(int index) { } } /** - * - * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder - addOsPolicyAssignmentsBuilder() { - return getOsPolicyAssignmentsFieldBuilder() - .addBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder() { + return getOsPolicyAssignmentsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance()); } /** - * - * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder - addOsPolicyAssignmentsBuilder(int index) { - return getOsPolicyAssignmentsFieldBuilder() - .addBuilder( - index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder( + int index) { + return getOsPolicyAssignmentsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance()); } /** - * - * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - public java.util.List - getOsPolicyAssignmentsBuilderList() { + public java.util.List + getOsPolicyAssignmentsBuilderList() { return getOsPolicyAssignmentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentsFieldBuilder() { if (osPolicyAssignmentsBuilder_ == null) { - osPolicyAssignmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder>( + osPolicyAssignmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder>( osPolicyAssignments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1037,21 +892,19 @@ public Builder removeOsPolicyAssignments(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1060,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1083,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1157,33 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) - private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse(); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentRevisionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentRevisionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentRevisionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentRevisionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1195,8 +1037,9 @@ public com.google.protobuf.Parser getPa } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java similarity index 65% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java index 718d1f58..6f9c5d5a 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java @@ -1,110 +1,75 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; -public interface ListOSPolicyAssignmentRevisionsResponseOrBuilder - extends +public interface ListOSPolicyAssignmentRevisionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - java.util.List getOsPolicyAssignmentsList(); + java.util.List + getOsPolicyAssignmentsList(); /** - * - * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignments(int index); /** - * - * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ int getOsPolicyAssignmentsCount(); /** - * - * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - java.util.List + java.util.List getOsPolicyAssignmentsOrBuilderList(); /** - * - * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder( int index); /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignment
    * revisions.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignment
    * revisions.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequest.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequest.java similarity index 66% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequest.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequest.java index 01deebc8..f3051528 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequest.java @@ -1,43 +1,24 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * A request message to list OS policy assignments for a parent resource
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest} */ -public final class ListOSPolicyAssignmentsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListOSPolicyAssignmentsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) ListOSPolicyAssignmentsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentsRequest.newBuilder() to construct. - private ListOSPolicyAssignmentsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListOSPolicyAssignmentsRequest() { parent_ = ""; pageToken_ = ""; @@ -45,15 +26,16 @@ private ListOSPolicyAssignmentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListOSPolicyAssignmentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +54,30 @@ private ListOSPolicyAssignmentsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,41 +85,34 @@ private ListOSPolicyAssignmentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.class, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -148,31 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -183,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of assignments to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -201,8 +169,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -210,7 +176,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -219,15 +184,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -235,15 +199,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -252,7 +217,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +228,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -287,7 +252,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -300,17 +266,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest other = - (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) obj; + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest other = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -334,127 +302,117 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest 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.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message to list OS policy assignments for a parent resource
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.class, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.newBuilder() @@ -462,15 +420,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,14 +443,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.getDefaultInstance(); } @@ -506,8 +464,7 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest build() @java.lang.Override public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest result = - new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest(this); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest result = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -519,50 +476,46 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest other) { - if (other - == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest other) { + if (other == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -593,9 +546,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -607,22 +558,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource name.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -631,23 +578,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource name.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -655,82 +599,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource name.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource name.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource name.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of assignments to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -738,36 +666,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of assignments to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of assignments to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -775,8 +697,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -784,13 +704,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -799,8 +719,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -808,14 +726,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -823,8 +742,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -832,22 +749,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -855,18 +770,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -874,23 +786,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -900,32 +812,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) - private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest(); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -937,8 +847,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequestOrBuilder.java index 7ba3f5e3..8b986339 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequestOrBuilder.java @@ -1,73 +1,43 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; -public interface ListOSPolicyAssignmentsRequestOrBuilder - extends +public interface ListOSPolicyAssignmentsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource name.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of assignments to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -75,13 +45,10 @@ public interface ListOSPolicyAssignmentsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -89,8 +56,8 @@ public interface ListOSPolicyAssignmentsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponse.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponse.java similarity index 69% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponse.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponse.java index 7bdd74fd..e23acbf9 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponse.java @@ -1,43 +1,24 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * A response message for listing all assignments under given parent.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse} */ -public final class ListOSPolicyAssignmentsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListOSPolicyAssignmentsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) ListOSPolicyAssignmentsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentsResponse.newBuilder() to construct. - private ListOSPolicyAssignmentsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListOSPolicyAssignmentsResponse() { osPolicyAssignments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +26,16 @@ private ListOSPolicyAssignmentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListOSPolicyAssignmentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,33 +55,28 @@ private ListOSPolicyAssignmentsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyAssignments_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - osPolicyAssignments_.add( - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + osPolicyAssignments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + osPolicyAssignments_.add( + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private ListOSPolicyAssignmentsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { osPolicyAssignments_ = java.util.Collections.unmodifiableList(osPolicyAssignments_); @@ -116,109 +94,87 @@ private ListOSPolicyAssignmentsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.class, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.Builder.class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.Builder.class); } public static final int OS_POLICY_ASSIGNMENTS_FIELD_NUMBER = 1; private java.util.List osPolicyAssignments_; /** - * - * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ @java.lang.Override - public java.util.List - getOsPolicyAssignmentsList() { + public java.util.List getOsPolicyAssignmentsList() { return osPolicyAssignments_; } /** - * - * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ @java.lang.Override - public java.util.List + public java.util.List getOsPolicyAssignmentsOrBuilderList() { return osPolicyAssignments_; } /** - * - * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ @java.lang.Override public int getOsPolicyAssignmentsCount() { return osPolicyAssignments_.size(); } /** - * - * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignments(int index) { return osPolicyAssignments_.get(index); } /** - * - * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder - getOsPolicyAssignmentsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder( + int index) { return osPolicyAssignments_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignments.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -227,29 +183,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignments.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -258,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < osPolicyAssignments_.size(); i++) { output.writeMessage(1, osPolicyAssignments_.get(i)); } @@ -287,8 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < osPolicyAssignments_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, osPolicyAssignments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, osPolicyAssignments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -301,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse other = - (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) obj; + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse other = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) obj; - if (!getOsPolicyAssignmentsList().equals(other.getOsPolicyAssignmentsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getOsPolicyAssignmentsList() + .equals(other.getOsPolicyAssignmentsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -334,147 +291,135 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse 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.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse - 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.osconfig.v1alpha.ListOSPolicyAssignmentsResponse 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.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response message for listing all assignments under given parent.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.class, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.Builder.class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOsPolicyAssignmentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -490,14 +435,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.getDefaultInstance(); } @@ -512,8 +456,7 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse build() @java.lang.Override public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse buildPartial() { - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse result = - new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse(this); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse result = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse(this); int from_bitField0_ = bitField0_; if (osPolicyAssignmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -533,50 +476,46 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse other) { - if (other - == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse other) { + if (other == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.getDefaultInstance()) return this; if (osPolicyAssignmentsBuilder_ == null) { if (!other.osPolicyAssignments_.isEmpty()) { if (osPolicyAssignments_.isEmpty()) { @@ -595,10 +534,9 @@ public Builder mergeFrom( osPolicyAssignmentsBuilder_ = null; osPolicyAssignments_ = other.osPolicyAssignments_; bitField0_ = (bitField0_ & ~0x00000001); - osPolicyAssignmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOsPolicyAssignmentsFieldBuilder() - : null; + osPolicyAssignmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOsPolicyAssignmentsFieldBuilder() : null; } else { osPolicyAssignmentsBuilder_.addAllMessages(other.osPolicyAssignments_); } @@ -627,9 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -638,39 +574,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - osPolicyAssignments_ = java.util.Collections.emptyList(); - + private java.util.List osPolicyAssignments_ = + java.util.Collections.emptyList(); private void ensureOsPolicyAssignmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyAssignments_ = - new java.util.ArrayList( - osPolicyAssignments_); + osPolicyAssignments_ = new java.util.ArrayList(osPolicyAssignments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> - osPolicyAssignmentsBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> osPolicyAssignmentsBuilder_; /** - * - * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - public java.util.List - getOsPolicyAssignmentsList() { + public java.util.List getOsPolicyAssignmentsList() { if (osPolicyAssignmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyAssignments_); } else { @@ -678,14 +603,11 @@ private void ensureOsPolicyAssignmentsIsMutable() { } } /** - * - * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public int getOsPolicyAssignmentsCount() { if (osPolicyAssignmentsBuilder_ == null) { @@ -695,14 +617,11 @@ public int getOsPolicyAssignmentsCount() { } } /** - * - * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignments(int index) { if (osPolicyAssignmentsBuilder_ == null) { @@ -712,14 +631,11 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignmen } } /** - * - * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public Builder setOsPolicyAssignments( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { @@ -736,14 +652,11 @@ public Builder setOsPolicyAssignments( return this; } /** - * - * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public Builder setOsPolicyAssignments( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder builderForValue) { @@ -757,17 +670,13 @@ public Builder setOsPolicyAssignments( return this; } /** - * - * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - public Builder addOsPolicyAssignments( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { + public Builder addOsPolicyAssignments(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { if (osPolicyAssignmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,14 +690,11 @@ public Builder addOsPolicyAssignments( return this; } /** - * - * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public Builder addOsPolicyAssignments( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { @@ -805,14 +711,11 @@ public Builder addOsPolicyAssignments( return this; } /** - * - * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public Builder addOsPolicyAssignments( com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder builderForValue) { @@ -826,14 +729,11 @@ public Builder addOsPolicyAssignments( return this; } /** - * - * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public Builder addOsPolicyAssignments( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder builderForValue) { @@ -847,20 +747,18 @@ public Builder addOsPolicyAssignments( return this; } /** - * - * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public Builder addAllOsPolicyAssignments( java.lang.Iterable values) { if (osPolicyAssignmentsBuilder_ == null) { ensureOsPolicyAssignmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicyAssignments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, osPolicyAssignments_); onChanged(); } else { osPolicyAssignmentsBuilder_.addAllMessages(values); @@ -868,14 +766,11 @@ public Builder addAllOsPolicyAssignments( return this; } /** - * - * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public Builder clearOsPolicyAssignments() { if (osPolicyAssignmentsBuilder_ == null) { @@ -888,14 +783,11 @@ public Builder clearOsPolicyAssignments() { return this; } /** - * - * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ public Builder removeOsPolicyAssignments(int index) { if (osPolicyAssignmentsBuilder_ == null) { @@ -908,49 +800,39 @@ public Builder removeOsPolicyAssignments(int index) { return this; } /** - * - * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder - getOsPolicyAssignmentsBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder getOsPolicyAssignmentsBuilder( + int index) { return getOsPolicyAssignmentsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder - getOsPolicyAssignmentsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder( + int index) { if (osPolicyAssignmentsBuilder_ == null) { - return osPolicyAssignments_.get(index); - } else { + return osPolicyAssignments_.get(index); } else { return osPolicyAssignmentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - public java.util.List - getOsPolicyAssignmentsOrBuilderList() { + public java.util.List + getOsPolicyAssignmentsOrBuilderList() { if (osPolicyAssignmentsBuilder_ != null) { return osPolicyAssignmentsBuilder_.getMessageOrBuilderList(); } else { @@ -958,62 +840,45 @@ public Builder removeOsPolicyAssignments(int index) { } } /** - * - * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder - addOsPolicyAssignmentsBuilder() { - return getOsPolicyAssignmentsFieldBuilder() - .addBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder() { + return getOsPolicyAssignmentsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance()); } /** - * - * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder - addOsPolicyAssignmentsBuilder(int index) { - return getOsPolicyAssignmentsFieldBuilder() - .addBuilder( - index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder( + int index) { + return getOsPolicyAssignmentsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance()); } /** - * - * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - public java.util.List - getOsPolicyAssignmentsBuilderList() { + public java.util.List + getOsPolicyAssignmentsBuilderList() { return getOsPolicyAssignmentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentsFieldBuilder() { if (osPolicyAssignmentsBuilder_ == null) { - osPolicyAssignmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder>( + osPolicyAssignmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder>( osPolicyAssignments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1025,20 +890,18 @@ public Builder removeOsPolicyAssignments(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1047,21 +910,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1069,68 +931,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1140,32 +995,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) - private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse(); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1177,8 +1030,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponseOrBuilder.java similarity index 62% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponseOrBuilder.java index faf4743f..23faf884 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponseOrBuilder.java @@ -1,108 +1,73 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; -public interface ListOSPolicyAssignmentsResponseOrBuilder - extends +public interface ListOSPolicyAssignmentsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - java.util.List getOsPolicyAssignmentsList(); + java.util.List + getOsPolicyAssignmentsList(); /** - * - * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignments(int index); /** - * - * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ int getOsPolicyAssignmentsCount(); /** - * - * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ - java.util.List + java.util.List getOsPolicyAssignmentsOrBuilderList(); /** - * - * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder( int index); /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignments.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The pagination token to retrieve the next page of OS policy assignments.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequest.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequest.java similarity index 68% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequest.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequest.java index a3da8187..b5f19921 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequest.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * A request message for listing vulnerability reports for all VM instances in
  * the specified location.
@@ -28,17 +11,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest}
  */
-public final class ListVulnerabilityReportsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListVulnerabilityReportsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest)
     ListVulnerabilityReportsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListVulnerabilityReportsRequest.newBuilder() to construct.
-  private ListVulnerabilityReportsRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListVulnerabilityReportsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListVulnerabilityReportsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -47,15 +28,16 @@ private ListVulnerabilityReportsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListVulnerabilityReportsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListVulnerabilityReportsRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,39 +56,36 @@ private ListVulnerabilityReportsRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
-            }
-          case 16:
-            {
-              pageSize_ = input.readInt32();
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            parent_ = s;
+            break;
+          }
+          case 16: {
 
-              pageToken_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            pageSize_ = input.readInt32();
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              filter_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            pageToken_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            filter_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,43 +93,36 @@ private ListVulnerabilityReportsRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-        .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-        .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.class,
-            com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.Builder.class);
+            com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.class, com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,33 +131,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -196,14 +166,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -214,8 +181,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A pagination token returned from a previous call to
    * `ListVulnerabilityReports` that indicates where this listing
@@ -223,7 +188,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -232,15 +196,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A pagination token returned from a previous call to
    * `ListVulnerabilityReports` that indicates where this listing
@@ -248,15 +211,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -267,15 +231,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `vulnerabilityReport` API resource to be included in the response.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -284,30 +245,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `vulnerabilityReport` API resource to be included in the response.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -316,7 +277,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,7 +288,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -354,7 +315,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -370,18 +332,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest other = - (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest other = (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -407,105 +372,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest 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.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest - 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.osconfig.v1alpha.ListVulnerabilityReportsRequest 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.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message for listing vulnerability reports for all VM instances in
    * the specified location.
@@ -513,40 +469,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest)
       com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.class,
-              com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.Builder.class);
+              com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.class, com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.newBuilder()
+    // Construct using com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -562,14 +516,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest getDefaultInstanceForType() {
       return com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.getDefaultInstance();
     }
 
@@ -584,8 +537,7 @@ public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest build()
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest buildPartial() {
-      com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest result =
-          new com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest(this);
+      com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest result = new com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -598,50 +550,46 @@ public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest buildPa
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.ListVulnerabilityReportsRequest) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest) other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest other) {
-      if (other
-          == com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest other) {
+      if (other == com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -676,9 +624,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -690,24 +636,20 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -716,25 +658,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -742,88 +681,72 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -831,36 +754,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -868,8 +785,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -877,13 +792,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -892,8 +807,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -901,14 +814,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -916,8 +830,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -925,22 +837,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -948,18 +858,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -967,16 +874,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -984,21 +891,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1007,22 +912,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1030,71 +934,64 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1104,32 +1001,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest) - private static final com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest(); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVulnerabilityReportsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVulnerabilityReportsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVulnerabilityReportsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVulnerabilityReportsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1141,8 +1036,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequestOrBuilder.java index 80ab8cd3..885b2bdc 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequestOrBuilder.java @@ -1,77 +1,47 @@ -/* - * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; -public interface ListVulnerabilityReportsRequestOrBuilder - extends +public interface ListVulnerabilityReportsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A pagination token returned from a previous call to
    * `ListVulnerabilityReports` that indicates where this listing
@@ -79,13 +49,10 @@ public interface ListVulnerabilityReportsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A pagination token returned from a previous call to
    * `ListVulnerabilityReports` that indicates where this listing
@@ -93,35 +60,30 @@ public interface ListVulnerabilityReportsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `vulnerabilityReport` API resource to be included in the response.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * If provided, this field specifies the criteria that must be met by a
    * `vulnerabilityReport` API resource to be included in the response.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponse.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponse.java similarity index 68% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponse.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponse.java index e570e0eb..12f88a22 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponse.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponse.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * A response message for listing vulnerability reports for all VM instances in
  * the specified location.
@@ -28,17 +11,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse}
  */
-public final class ListVulnerabilityReportsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListVulnerabilityReportsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse)
     ListVulnerabilityReportsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListVulnerabilityReportsResponse.newBuilder() to construct.
-  private ListVulnerabilityReportsResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListVulnerabilityReportsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListVulnerabilityReportsResponse() {
     vulnerabilityReports_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -46,15 +27,16 @@ private ListVulnerabilityReportsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListVulnerabilityReportsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListVulnerabilityReportsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,34 +56,28 @@ private ListVulnerabilityReportsResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                vulnerabilityReports_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.osconfig.v1alpha.VulnerabilityReport>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              vulnerabilityReports_.add(
-                  input.readMessage(
-                      com.google.cloud.osconfig.v1alpha.VulnerabilityReport.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              vulnerabilityReports_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            vulnerabilityReports_.add(
+                input.readMessage(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              nextPageToken_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            nextPageToken_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -109,7 +85,8 @@ private ListVulnerabilityReportsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         vulnerabilityReports_ = java.util.Collections.unmodifiableList(vulnerabilityReports_);
@@ -118,111 +95,88 @@ private ListVulnerabilityReportsResponse(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-        .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-        .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.class,
-            com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.Builder.class);
+            com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.class, com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.Builder.class);
   }
 
   public static final int VULNERABILITY_REPORTS_FIELD_NUMBER = 1;
-  private java.util.List
-      vulnerabilityReports_;
+  private java.util.List vulnerabilityReports_;
   /**
-   *
-   *
    * 
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ @java.lang.Override - public java.util.List - getVulnerabilityReportsList() { + public java.util.List getVulnerabilityReportsList() { return vulnerabilityReports_; } /** - * - * *
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVulnerabilityReportsOrBuilderList() { return vulnerabilityReports_; } /** - * - * *
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ @java.lang.Override public int getVulnerabilityReportsCount() { return vulnerabilityReports_.size(); } /** - * - * *
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.VulnerabilityReport getVulnerabilityReports(int index) { return vulnerabilityReports_.get(index); } /** - * - * *
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder - getVulnerabilityReportsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder getVulnerabilityReportsOrBuilder( + int index) { return vulnerabilityReports_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The pagination token to retrieve the next page of vulnerabilityReports
    * object.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -231,30 +185,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The pagination token to retrieve the next page of vulnerabilityReports
    * object.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -263,7 +217,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -275,7 +228,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < vulnerabilityReports_.size(); i++) { output.writeMessage(1, vulnerabilityReports_.get(i)); } @@ -292,8 +246,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < vulnerabilityReports_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, vulnerabilityReports_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, vulnerabilityReports_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -306,16 +260,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse other = - (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse) obj; + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse other = (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse) obj; - if (!getVulnerabilityReportsList().equals(other.getVulnerabilityReportsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getVulnerabilityReportsList() + .equals(other.getVulnerabilityReportsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -339,105 +294,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse 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.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse - 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.osconfig.v1alpha.ListVulnerabilityReportsResponse 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.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response message for listing vulnerability reports for all VM instances in
    * the specified location.
@@ -445,42 +391,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse)
       com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.class,
-              com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.Builder.class);
+              com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.class, com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.newBuilder()
+    // Construct using com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getVulnerabilityReportsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -496,16 +439,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse
-        getDefaultInstanceForType() {
-      return com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse
-          .getDefaultInstance();
+    public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse getDefaultInstanceForType() {
+      return com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -519,8 +460,7 @@ public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse build(
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse buildPartial() {
-      com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse result =
-          new com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse(this);
+      com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse result = new com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse(this);
       int from_bitField0_ = bitField0_;
       if (vulnerabilityReportsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -540,51 +480,46 @@ public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse buildP
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.ListVulnerabilityReportsResponse) {
-        return mergeFrom(
-            (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse) other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse other) {
-      if (other
-          == com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse other) {
+      if (other == com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.getDefaultInstance()) return this;
       if (vulnerabilityReportsBuilder_ == null) {
         if (!other.vulnerabilityReports_.isEmpty()) {
           if (vulnerabilityReports_.isEmpty()) {
@@ -603,10 +538,9 @@ public Builder mergeFrom(
             vulnerabilityReportsBuilder_ = null;
             vulnerabilityReports_ = other.vulnerabilityReports_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            vulnerabilityReportsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getVulnerabilityReportsFieldBuilder()
-                    : null;
+            vulnerabilityReportsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getVulnerabilityReportsFieldBuilder() : null;
           } else {
             vulnerabilityReportsBuilder_.addAllMessages(other.vulnerabilityReports_);
           }
@@ -635,9 +569,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -646,39 +578,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        vulnerabilityReports_ = java.util.Collections.emptyList();
-
+    private java.util.List vulnerabilityReports_ =
+      java.util.Collections.emptyList();
     private void ensureVulnerabilityReportsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        vulnerabilityReports_ =
-            new java.util.ArrayList(
-                vulnerabilityReports_);
+        vulnerabilityReports_ = new java.util.ArrayList(vulnerabilityReports_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.osconfig.v1alpha.VulnerabilityReport,
-            com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder,
-            com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder>
-        vulnerabilityReportsBuilder_;
+        com.google.cloud.osconfig.v1alpha.VulnerabilityReport, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder> vulnerabilityReportsBuilder_;
 
     /**
-     *
-     *
      * 
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ - public java.util.List - getVulnerabilityReportsList() { + public java.util.List getVulnerabilityReportsList() { if (vulnerabilityReportsBuilder_ == null) { return java.util.Collections.unmodifiableList(vulnerabilityReports_); } else { @@ -686,14 +607,11 @@ private void ensureVulnerabilityReportsIsMutable() { } } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ public int getVulnerabilityReportsCount() { if (vulnerabilityReportsBuilder_ == null) { @@ -703,17 +621,13 @@ public int getVulnerabilityReportsCount() { } } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport getVulnerabilityReports( - int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport getVulnerabilityReports(int index) { if (vulnerabilityReportsBuilder_ == null) { return vulnerabilityReports_.get(index); } else { @@ -721,14 +635,11 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport getVulnerabilityRep } } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ public Builder setVulnerabilityReports( int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport value) { @@ -745,14 +656,11 @@ public Builder setVulnerabilityReports( return this; } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ public Builder setVulnerabilityReports( int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder builderForValue) { @@ -766,17 +674,13 @@ public Builder setVulnerabilityReports( return this; } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ - public Builder addVulnerabilityReports( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport value) { + public Builder addVulnerabilityReports(com.google.cloud.osconfig.v1alpha.VulnerabilityReport value) { if (vulnerabilityReportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -790,14 +694,11 @@ public Builder addVulnerabilityReports( return this; } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ public Builder addVulnerabilityReports( int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport value) { @@ -814,14 +715,11 @@ public Builder addVulnerabilityReports( return this; } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ public Builder addVulnerabilityReports( com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder builderForValue) { @@ -835,14 +733,11 @@ public Builder addVulnerabilityReports( return this; } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ public Builder addVulnerabilityReports( int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder builderForValue) { @@ -856,21 +751,18 @@ public Builder addVulnerabilityReports( return this; } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ public Builder addAllVulnerabilityReports( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (vulnerabilityReportsBuilder_ == null) { ensureVulnerabilityReportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vulnerabilityReports_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, vulnerabilityReports_); onChanged(); } else { vulnerabilityReportsBuilder_.addAllMessages(values); @@ -878,14 +770,11 @@ public Builder addAllVulnerabilityReports( return this; } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ public Builder clearVulnerabilityReports() { if (vulnerabilityReportsBuilder_ == null) { @@ -898,14 +787,11 @@ public Builder clearVulnerabilityReports() { return this; } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ public Builder removeVulnerabilityReports(int index) { if (vulnerabilityReportsBuilder_ == null) { @@ -918,49 +804,39 @@ public Builder removeVulnerabilityReports(int index) { return this; } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder - getVulnerabilityReportsBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder getVulnerabilityReportsBuilder( + int index) { return getVulnerabilityReportsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder - getVulnerabilityReportsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder getVulnerabilityReportsOrBuilder( + int index) { if (vulnerabilityReportsBuilder_ == null) { - return vulnerabilityReports_.get(index); - } else { + return vulnerabilityReports_.get(index); } else { return vulnerabilityReportsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ - public java.util.List - getVulnerabilityReportsOrBuilderList() { + public java.util.List + getVulnerabilityReportsOrBuilderList() { if (vulnerabilityReportsBuilder_ != null) { return vulnerabilityReportsBuilder_.getMessageOrBuilderList(); } else { @@ -968,62 +844,45 @@ public Builder removeVulnerabilityReports(int index) { } } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder - addVulnerabilityReportsBuilder() { - return getVulnerabilityReportsFieldBuilder() - .addBuilder(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder addVulnerabilityReportsBuilder() { + return getVulnerabilityReportsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.getDefaultInstance()); } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder - addVulnerabilityReportsBuilder(int index) { - return getVulnerabilityReportsFieldBuilder() - .addBuilder( - index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder addVulnerabilityReportsBuilder( + int index) { + return getVulnerabilityReportsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.getDefaultInstance()); } /** - * - * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ - public java.util.List - getVulnerabilityReportsBuilderList() { + public java.util.List + getVulnerabilityReportsBuilderList() { return getVulnerabilityReportsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder, - com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder> + com.google.cloud.osconfig.v1alpha.VulnerabilityReport, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder> getVulnerabilityReportsFieldBuilder() { if (vulnerabilityReportsBuilder_ == null) { - vulnerabilityReportsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder, - com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder>( + vulnerabilityReportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder>( vulnerabilityReports_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1035,21 +894,19 @@ public Builder removeVulnerabilityReports(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1058,22 +915,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1081,71 +937,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1155,32 +1004,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse) - private static final com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse(); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVulnerabilityReportsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVulnerabilityReportsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVulnerabilityReportsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVulnerabilityReportsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1192,8 +1039,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponseOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponseOrBuilder.java similarity index 64% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponseOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponseOrBuilder.java index b1c5f534..37ac5886 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponseOrBuilder.java @@ -1,111 +1,75 @@ -/* - * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; -public interface ListVulnerabilityReportsResponseOrBuilder - extends +public interface ListVulnerabilityReportsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ - java.util.List + java.util.List getVulnerabilityReportsList(); /** - * - * *
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ com.google.cloud.osconfig.v1alpha.VulnerabilityReport getVulnerabilityReports(int index); /** - * - * *
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ int getVulnerabilityReportsCount(); /** - * - * *
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ - java.util.List + java.util.List getVulnerabilityReportsOrBuilderList(); /** - * - * *
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; */ com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder getVulnerabilityReportsOrBuilder( int index); /** - * - * *
    * The pagination token to retrieve the next page of vulnerabilityReports
    * object.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The pagination token to retrieve the next page of vulnerabilityReports
    * object.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/LocationName.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/LocationName.java similarity index 100% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/LocationName.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/LocationName.java diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicy.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicy.java similarity index 67% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicy.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicy.java index 3c1f327e..535b7d30 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicy.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicy.java @@ -1,42 +1,24 @@ -/* - * 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/osconfig/v1alpha/os_policy.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * An OS policy defines the desired state configuration for a VM.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy} */ -public final class OSPolicy extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OSPolicy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy) OSPolicyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OSPolicy.newBuilder() to construct. private OSPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OSPolicy() { id_ = ""; description_ = ""; @@ -46,15 +28,16 @@ private OSPolicy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OSPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OSPolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,53 +57,45 @@ private OSPolicy( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + id_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 24: - { - int rawValue = input.readEnum(); + description_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); - mode_ = rawValue; - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - resourceGroups_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup>(); - mutable_bitField0_ |= 0x00000001; - } - resourceGroups_.add( - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.parser(), - extensionRegistry)); - break; - } - case 40: - { - allowNoResourceGroupMatch_ = input.readBool(); - break; + mode_ = rawValue; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + resourceGroups_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + resourceGroups_.add( + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.parser(), extensionRegistry)); + break; + } + case 40: { + + allowNoResourceGroupMatch_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -128,7 +103,8 @@ private OSPolicy( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { resourceGroups_ = java.util.Collections.unmodifiableList(resourceGroups_); @@ -137,35 +113,29 @@ private OSPolicy( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Builder.class); } /** - * - * *
    * Policy mode
    * 
* * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicy.Mode} */ - public enum Mode implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Invalid mode
      * 
@@ -174,8 +144,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ MODE_UNSPECIFIED(0), /** - * - * *
      * This mode checks if the configuration resources in the policy are in
      * their desired state. No actions are performed if they are not in the
@@ -186,8 +154,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
      */
     VALIDATION(1),
     /**
-     *
-     *
      * 
      * This mode checks if the configuration resources in the policy are in
      * their desired state, and if not, enforces the desired state.
@@ -200,8 +166,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Invalid mode
      * 
@@ -210,8 +174,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * This mode checks if the configuration resources in the policy are in
      * their desired state. No actions are performed if they are not in the
@@ -222,8 +184,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int VALIDATION_VALUE = 1;
     /**
-     *
-     *
      * 
      * This mode checks if the configuration resources in the policy are in
      * their desired state, and if not, enforces the desired state.
@@ -233,6 +193,7 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ENFORCEMENT_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -257,49 +218,49 @@ public static Mode valueOf(int value) {
      */
     public static Mode forNumber(int value) {
       switch (value) {
-        case 0:
-          return MODE_UNSPECIFIED;
-        case 1:
-          return VALIDATION;
-        case 2:
-          return ENFORCEMENT;
-        default:
-          return null;
+        case 0: return MODE_UNSPECIFIED;
+        case 1: return VALIDATION;
+        case 2: return ENFORCEMENT;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Mode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Mode findValueByNumber(int number) {
+              return Mode.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Mode findValueByNumber(int number) {
-            return Mode.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.osconfig.v1alpha.OSPolicy.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Mode[] VALUES = values();
 
-    public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Mode valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -316,41 +277,33 @@ private Mode(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1alpha.OSPolicy.Mode)
   }
 
-  public interface OSFilterOrBuilder
-      extends
+  public interface OSFilterOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.OSFilter)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * This should match OS short name emitted by the OS inventory agent.
      * An empty value matches any OS.
      * 
* * string os_short_name = 1; - * * @return The osShortName. */ java.lang.String getOsShortName(); /** - * - * *
      * This should match OS short name emitted by the OS inventory agent.
      * An empty value matches any OS.
      * 
* * string os_short_name = 1; - * * @return The bytes for osShortName. */ - com.google.protobuf.ByteString getOsShortNameBytes(); + com.google.protobuf.ByteString + getOsShortNameBytes(); /** - * - * *
      * This value should match the version emitted by the OS inventory
      * agent.
@@ -360,13 +313,10 @@ public interface OSFilterOrBuilder
      * 
* * string os_version = 2; - * * @return The osVersion. */ java.lang.String getOsVersion(); /** - * - * *
      * This value should match the version emitted by the OS inventory
      * agent.
@@ -376,30 +326,27 @@ public interface OSFilterOrBuilder
      * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ - com.google.protobuf.ByteString getOsVersionBytes(); + com.google.protobuf.ByteString + getOsVersionBytes(); } /** - * - * *
    * Filtering criteria to select VMs based on OS details.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.OSFilter} */ - public static final class OSFilter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class OSFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.OSFilter) OSFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSFilter.newBuilder() to construct. private OSFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OSFilter() { osShortName_ = ""; osVersion_ = ""; @@ -407,15 +354,16 @@ private OSFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OSFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OSFilter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -434,27 +382,25 @@ private OSFilter( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - osShortName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + osShortName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - osVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + osVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,40 +408,35 @@ private OSFilter( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.class, com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder.class); } public static final int OS_SHORT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object osShortName_; /** - * - * *
      * This should match OS short name emitted by the OS inventory agent.
      * An empty value matches any OS.
      * 
* * string os_short_name = 1; - * * @return The osShortName. */ @java.lang.Override @@ -504,30 +445,30 @@ public java.lang.String getOsShortName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; } } /** - * - * *
      * This should match OS short name emitted by the OS inventory agent.
      * An empty value matches any OS.
      * 
* * string os_short_name = 1; - * * @return The bytes for osShortName. */ @java.lang.Override - public com.google.protobuf.ByteString getOsShortNameBytes() { + public com.google.protobuf.ByteString + getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osShortName_ = b; return b; } else { @@ -538,8 +479,6 @@ public com.google.protobuf.ByteString getOsShortNameBytes() { public static final int OS_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object osVersion_; /** - * - * *
      * This value should match the version emitted by the OS inventory
      * agent.
@@ -549,7 +488,6 @@ public com.google.protobuf.ByteString getOsShortNameBytes() {
      * 
* * string os_version = 2; - * * @return The osVersion. */ @java.lang.Override @@ -558,15 +496,14 @@ public java.lang.String getOsVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; } } /** - * - * *
      * This value should match the version emitted by the OS inventory
      * agent.
@@ -576,15 +513,16 @@ public java.lang.String getOsVersion() {
      * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getOsVersionBytes() { + public com.google.protobuf.ByteString + getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osVersion_ = b; return b; } else { @@ -593,7 +531,6 @@ public com.google.protobuf.ByteString getOsVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -605,7 +542,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osShortName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osShortName_); } @@ -635,16 +573,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter other = (com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter) obj; - if (!getOsShortName().equals(other.getOsShortName())) return false; - if (!getOsVersion().equals(other.getOsVersion())) return false; + if (!getOsShortName() + .equals(other.getOsShortName())) return false; + if (!getOsVersion() + .equals(other.getOsVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -666,94 +605,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter 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.osconfig.v1alpha.OSPolicy.OSFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -763,32 +695,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Filtering criteria to select VMs based on OS details.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.OSFilter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.OSFilter) com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.class, com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.newBuilder() @@ -796,15 +723,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -816,9 +744,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor; } @java.lang.Override @@ -837,8 +765,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter result = - new com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter(this); + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter result = new com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter(this); result.osShortName_ = osShortName_; result.osVersion_ = osVersion_; onBuilt(); @@ -849,41 +776,38 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.OSFilter) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter)other); } else { super.mergeFrom(other); return this; @@ -891,8 +815,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.getDefaultInstance()) return this; if (!other.getOsShortName().isEmpty()) { osShortName_ = other.osShortName_; onChanged(); @@ -920,8 +843,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -933,21 +855,19 @@ public Builder mergeFrom( private java.lang.Object osShortName_ = ""; /** - * - * *
        * This should match OS short name emitted by the OS inventory agent.
        * An empty value matches any OS.
        * 
* * string os_short_name = 1; - * * @return The osShortName. */ public java.lang.String getOsShortName() { java.lang.Object ref = osShortName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; @@ -956,22 +876,21 @@ public java.lang.String getOsShortName() { } } /** - * - * *
        * This should match OS short name emitted by the OS inventory agent.
        * An empty value matches any OS.
        * 
* * string os_short_name = 1; - * * @return The bytes for osShortName. */ - public com.google.protobuf.ByteString getOsShortNameBytes() { + public com.google.protobuf.ByteString + getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osShortName_ = b; return b; } else { @@ -979,64 +898,57 @@ public com.google.protobuf.ByteString getOsShortNameBytes() { } } /** - * - * *
        * This should match OS short name emitted by the OS inventory agent.
        * An empty value matches any OS.
        * 
* * string os_short_name = 1; - * * @param value The osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortName(java.lang.String value) { + public Builder setOsShortName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osShortName_ = value; onChanged(); return this; } /** - * - * *
        * This should match OS short name emitted by the OS inventory agent.
        * An empty value matches any OS.
        * 
* * string os_short_name = 1; - * * @return This builder for chaining. */ public Builder clearOsShortName() { - + osShortName_ = getDefaultInstance().getOsShortName(); onChanged(); return this; } /** - * - * *
        * This should match OS short name emitted by the OS inventory agent.
        * An empty value matches any OS.
        * 
* * string os_short_name = 1; - * * @param value The bytes for osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { + public Builder setOsShortNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osShortName_ = value; onChanged(); return this; @@ -1044,8 +956,6 @@ public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object osVersion_ = ""; /** - * - * *
        * This value should match the version emitted by the OS inventory
        * agent.
@@ -1055,13 +965,13 @@ public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) {
        * 
* * string os_version = 2; - * * @return The osVersion. */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; @@ -1070,8 +980,6 @@ public java.lang.String getOsVersion() { } } /** - * - * *
        * This value should match the version emitted by the OS inventory
        * agent.
@@ -1081,14 +989,15 @@ public java.lang.String getOsVersion() {
        * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ - public com.google.protobuf.ByteString getOsVersionBytes() { + public com.google.protobuf.ByteString + getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osVersion_ = b; return b; } else { @@ -1096,8 +1005,6 @@ public com.google.protobuf.ByteString getOsVersionBytes() { } } /** - * - * *
        * This value should match the version emitted by the OS inventory
        * agent.
@@ -1107,22 +1014,20 @@ public com.google.protobuf.ByteString getOsVersionBytes() {
        * 
* * string os_version = 2; - * * @param value The osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersion(java.lang.String value) { + public Builder setOsVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osVersion_ = value; onChanged(); return this; } /** - * - * *
        * This value should match the version emitted by the OS inventory
        * agent.
@@ -1132,18 +1037,15 @@ public Builder setOsVersion(java.lang.String value) {
        * 
* * string os_version = 2; - * * @return This builder for chaining. */ public Builder clearOsVersion() { - + osVersion_ = getDefaultInstance().getOsVersion(); onChanged(); return this; } /** - * - * *
        * This value should match the version emitted by the OS inventory
        * agent.
@@ -1153,21 +1055,20 @@ public Builder clearOsVersion() {
        * 
* * string os_version = 2; - * * @param value The bytes for osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersionBytes(com.google.protobuf.ByteString value) { + public Builder setOsVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osVersion_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1180,12 +1081,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.OSFilter) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.OSFilter) private static final com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter(); } @@ -1194,16 +1095,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1218,41 +1119,34 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface InventoryFilterOrBuilder - extends + public interface InventoryFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The OS short name
      * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The osShortName. */ java.lang.String getOsShortName(); /** - * - * *
      * Required. The OS short name
      * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for osShortName. */ - com.google.protobuf.ByteString getOsShortNameBytes(); + com.google.protobuf.ByteString + getOsShortNameBytes(); /** - * - * *
      * The OS version
      * Prefix matches are supported if asterisk(*) is provided as the
@@ -1262,13 +1156,10 @@ public interface InventoryFilterOrBuilder
      * 
* * string os_version = 2; - * * @return The osVersion. */ java.lang.String getOsVersion(); /** - * - * *
      * The OS version
      * Prefix matches are supported if asterisk(*) is provided as the
@@ -1278,30 +1169,27 @@ public interface InventoryFilterOrBuilder
      * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ - com.google.protobuf.ByteString getOsVersionBytes(); + com.google.protobuf.ByteString + getOsVersionBytes(); } /** - * - * *
    * Filtering criteria to select VMs based on inventory details.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter} */ - public static final class InventoryFilter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class InventoryFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) InventoryFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InventoryFilter.newBuilder() to construct. private InventoryFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InventoryFilter() { osShortName_ = ""; osVersion_ = ""; @@ -1309,15 +1197,16 @@ private InventoryFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InventoryFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InventoryFilter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1336,27 +1225,25 @@ private InventoryFilter( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - osShortName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + osShortName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - osVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + osVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1364,39 +1251,34 @@ private InventoryFilter( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.class, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder.class); } public static final int OS_SHORT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object osShortName_; /** - * - * *
      * Required. The OS short name
      * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The osShortName. */ @java.lang.Override @@ -1405,29 +1287,29 @@ public java.lang.String getOsShortName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; } } /** - * - * *
      * Required. The OS short name
      * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for osShortName. */ @java.lang.Override - public com.google.protobuf.ByteString getOsShortNameBytes() { + public com.google.protobuf.ByteString + getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osShortName_ = b; return b; } else { @@ -1438,8 +1320,6 @@ public com.google.protobuf.ByteString getOsShortNameBytes() { public static final int OS_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object osVersion_; /** - * - * *
      * The OS version
      * Prefix matches are supported if asterisk(*) is provided as the
@@ -1449,7 +1329,6 @@ public com.google.protobuf.ByteString getOsShortNameBytes() {
      * 
* * string os_version = 2; - * * @return The osVersion. */ @java.lang.Override @@ -1458,15 +1337,14 @@ public java.lang.String getOsVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; } } /** - * - * *
      * The OS version
      * Prefix matches are supported if asterisk(*) is provided as the
@@ -1476,15 +1354,16 @@ public java.lang.String getOsVersion() {
      * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getOsVersionBytes() { + public com.google.protobuf.ByteString + getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osVersion_ = b; return b; } else { @@ -1493,7 +1372,6 @@ public com.google.protobuf.ByteString getOsVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1505,7 +1383,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osShortName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osShortName_); } @@ -1535,16 +1414,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter other = (com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) obj; - if (!getOsShortName().equals(other.getOsShortName())) return false; - if (!getOsVersion().equals(other.getOsVersion())) return false; + if (!getOsShortName() + .equals(other.getOsShortName())) return false; + if (!getOsVersion() + .equals(other.getOsVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1566,94 +1446,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter 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.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1663,32 +1536,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Filtering criteria to select VMs based on inventory details.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.class, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.newBuilder() @@ -1696,15 +1564,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1716,14 +1585,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.getDefaultInstance(); } @@ -1738,8 +1606,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter result = - new com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter(this); + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter result = new com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter(this); result.osShortName_ = osShortName_; result.osVersion_ = osVersion_; onBuilt(); @@ -1750,41 +1617,38 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.InventoryFilter) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter)other); } else { super.mergeFrom(other); return this; @@ -1792,9 +1656,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.getDefaultInstance()) return this; if (!other.getOsShortName().isEmpty()) { osShortName_ = other.osShortName_; onChanged(); @@ -1822,8 +1684,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1835,20 +1696,18 @@ public Builder mergeFrom( private java.lang.Object osShortName_ = ""; /** - * - * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The osShortName. */ public java.lang.String getOsShortName() { java.lang.Object ref = osShortName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; @@ -1857,21 +1716,20 @@ public java.lang.String getOsShortName() { } } /** - * - * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for osShortName. */ - public com.google.protobuf.ByteString getOsShortNameBytes() { + public com.google.protobuf.ByteString + getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osShortName_ = b; return b; } else { @@ -1879,61 +1737,54 @@ public com.google.protobuf.ByteString getOsShortNameBytes() { } } /** - * - * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortName(java.lang.String value) { + public Builder setOsShortName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osShortName_ = value; onChanged(); return this; } /** - * - * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearOsShortName() { - + osShortName_ = getDefaultInstance().getOsShortName(); onChanged(); return this; } /** - * - * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { + public Builder setOsShortNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osShortName_ = value; onChanged(); return this; @@ -1941,8 +1792,6 @@ public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object osVersion_ = ""; /** - * - * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1952,13 +1801,13 @@ public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) {
        * 
* * string os_version = 2; - * * @return The osVersion. */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; @@ -1967,8 +1816,6 @@ public java.lang.String getOsVersion() { } } /** - * - * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1978,14 +1825,15 @@ public java.lang.String getOsVersion() {
        * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ - public com.google.protobuf.ByteString getOsVersionBytes() { + public com.google.protobuf.ByteString + getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osVersion_ = b; return b; } else { @@ -1993,8 +1841,6 @@ public com.google.protobuf.ByteString getOsVersionBytes() { } } /** - * - * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -2004,22 +1850,20 @@ public com.google.protobuf.ByteString getOsVersionBytes() {
        * 
* * string os_version = 2; - * * @param value The osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersion(java.lang.String value) { + public Builder setOsVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osVersion_ = value; onChanged(); return this; } /** - * - * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -2029,18 +1873,15 @@ public Builder setOsVersion(java.lang.String value) {
        * 
* * string os_version = 2; - * * @return This builder for chaining. */ public Builder clearOsVersion() { - + osVersion_ = getDefaultInstance().getOsVersion(); onChanged(); return this; } /** - * - * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -2050,21 +1891,20 @@ public Builder clearOsVersion() {
        * 
* * string os_version = 2; - * * @param value The bytes for osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersionBytes(com.google.protobuf.ByteString value) { + public Builder setOsVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osVersion_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2077,13 +1917,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter(); } @@ -2092,16 +1931,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InventoryFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InventoryFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InventoryFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InventoryFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2116,16 +1955,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ResourceOrBuilder - extends + public interface ResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The id of the resource with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -2136,13 +1973,10 @@ public interface ResourceOrBuilder
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ java.lang.String getId(); /** - * - * *
      * Required. The id of the resource with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -2153,38 +1987,30 @@ public interface ResourceOrBuilder
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
      * Package resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; - * * @return Whether the pkg field is set. */ boolean hasPkg(); /** - * - * *
      * Package resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; - * * @return The pkg. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource getPkg(); /** - * - * *
      * Package resource
      * 
@@ -2194,71 +2020,51 @@ public interface ResourceOrBuilder com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder getPkgOrBuilder(); /** - * - * *
      * Package repository resource
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
      * Package repository resource
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; * @return The repository. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource getRepository(); /** - * - * *
      * Package repository resource
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder - getRepositoryOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder getRepositoryOrBuilder(); /** - * - * *
      * Exec resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; - * * @return Whether the exec field is set. */ boolean hasExec(); /** - * - * *
      * Exec resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; - * * @return The exec. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource getExec(); /** - * - * *
      * Exec resource
      * 
@@ -2268,32 +2074,24 @@ public interface ResourceOrBuilder com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder getExecOrBuilder(); /** - * - * *
      * File resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; - * * @return Whether the file field is set. */ boolean hasFile(); /** - * - * *
      * File resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; - * * @return The file. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource getFile(); /** - * - * *
      * File resource
      * 
@@ -2302,12 +2100,9 @@ public interface ResourceOrBuilder */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder getFileOrBuilder(); - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ResourceTypeCase - getResourceTypeCase(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ResourceTypeCase getResourceTypeCase(); } /** - * - * *
    * An OS policy resource is used to define the desired state configuration
    * and provides a specific functionality like installing/removing packages,
@@ -2318,31 +2113,31 @@ public interface ResourceOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource}
    */
-  public static final class Resource extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Resource extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource)
       ResourceOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Resource.newBuilder() to construct.
     private Resource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Resource() {
       id_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Resource();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private Resource(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -2361,114 +2156,75 @@ private Resource(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                id_ = s;
-                break;
+              id_ = s;
+              break;
+            }
+            case 18: {
+              com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder subBuilder = null;
+              if (resourceTypeCase_ == 2) {
+                subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_).toBuilder();
               }
-            case 18:
-              {
-                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder
-                    subBuilder = null;
-                if (resourceTypeCase_ == 2) {
-                  subBuilder =
-                      ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource)
-                              resourceType_)
-                          .toBuilder();
-                }
-                resourceType_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource
-                            .parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource)
-                          resourceType_);
-                  resourceType_ = subBuilder.buildPartial();
-                }
-                resourceTypeCase_ = 2;
-                break;
+              resourceType_ =
+                  input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_);
+                resourceType_ = subBuilder.buildPartial();
               }
-            case 26:
-              {
-                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder
-                    subBuilder = null;
-                if (resourceTypeCase_ == 3) {
-                  subBuilder =
-                      ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource)
-                              resourceType_)
-                          .toBuilder();
-                }
-                resourceType_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource
-                            .parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource)
-                          resourceType_);
-                  resourceType_ = subBuilder.buildPartial();
-                }
-                resourceTypeCase_ = 3;
-                break;
+              resourceTypeCase_ = 2;
+              break;
+            }
+            case 26: {
+              com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder subBuilder = null;
+              if (resourceTypeCase_ == 3) {
+                subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_).toBuilder();
               }
-            case 34:
-              {
-                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder
-                    subBuilder = null;
-                if (resourceTypeCase_ == 4) {
-                  subBuilder =
-                      ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource)
-                              resourceType_)
-                          .toBuilder();
-                }
-                resourceType_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource)
-                          resourceType_);
-                  resourceType_ = subBuilder.buildPartial();
-                }
-                resourceTypeCase_ = 4;
-                break;
+              resourceType_ =
+                  input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_);
+                resourceType_ = subBuilder.buildPartial();
               }
-            case 42:
-              {
-                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder
-                    subBuilder = null;
-                if (resourceTypeCase_ == 5) {
-                  subBuilder =
-                      ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource)
-                              resourceType_)
-                          .toBuilder();
-                }
-                resourceType_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource)
-                          resourceType_);
-                  resourceType_ = subBuilder.buildPartial();
-                }
-                resourceTypeCase_ = 5;
-                break;
+              resourceTypeCase_ = 3;
+              break;
+            }
+            case 34: {
+              com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder subBuilder = null;
+              if (resourceTypeCase_ == 4) {
+                subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_).toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              resourceType_ =
+                  input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_);
+                resourceType_ = subBuilder.buildPartial();
+              }
+              resourceTypeCase_ = 4;
+              break;
+            }
+            case 42: {
+              com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder subBuilder = null;
+              if (resourceTypeCase_ == 5) {
+                subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_).toBuilder();
+              }
+              resourceType_ =
+                  input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_);
+                resourceType_ = subBuilder.buildPartial();
+              }
+              resourceTypeCase_ = 5;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2476,60 +2232,49 @@ private Resource(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-          .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-          .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.class,
-              com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder.class);
+              com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder.class);
     }
 
-    public interface FileOrBuilder
-        extends
+    public interface FileOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * A generic remote file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; - * * @return Whether the remote field is set. */ boolean hasRemote(); /** - * - * *
        * A generic remote file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; - * * @return The remote. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote getRemote(); /** - * - * *
        * A generic remote file.
        * 
@@ -2539,32 +2284,24 @@ public interface FileOrBuilder com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder getRemoteOrBuilder(); /** - * - * *
        * A Cloud Storage object.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; - * * @return Whether the gcs field is set. */ boolean hasGcs(); /** - * - * *
        * A Cloud Storage object.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; - * * @return The gcs. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs getGcs(); /** - * - * *
        * A Cloud Storage object.
        * 
@@ -2574,45 +2311,35 @@ public interface FileOrBuilder com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder getGcsOrBuilder(); /** - * - * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; - * * @return Whether the localPath field is set. */ boolean hasLocalPath(); /** - * - * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; - * * @return The localPath. */ java.lang.String getLocalPath(); /** - * - * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; - * * @return The bytes for localPath. */ - com.google.protobuf.ByteString getLocalPathBytes(); + com.google.protobuf.ByteString + getLocalPathBytes(); /** - * - * *
        * Defaults to false. When false, files are subject to validations
        * based on the file type:
@@ -2621,7 +2348,6 @@ public interface FileOrBuilder
        * 
* * bool allow_insecure = 4; - * * @return The allowInsecure. */ boolean getAllowInsecure(); @@ -2629,37 +2355,36 @@ public interface FileOrBuilder public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.TypeCase getTypeCase(); } /** - * - * *
      * A remote or local file.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.File} */ - public static final class File extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class File extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) FileOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private File() {} + private File() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2678,67 +2403,52 @@ private File( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder - subBuilder = null; - if (typeCase_ == 1) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_) - .toBuilder(); - } - type_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 1; - break; + case 10: { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder subBuilder = null; + if (typeCase_ == 1) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_).toBuilder(); } - case 18: - { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder subBuilder = - null; - if (typeCase_ == 2) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_) - .toBuilder(); - } - type_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 2; - break; + type_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_); + type_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - typeCase_ = 3; - type_ = s; - break; + typeCase_ = 1; + break; + } + case 18: { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder subBuilder = null; + if (typeCase_ == 2) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_).toBuilder(); } - case 32: - { - allowInsecure_ = input.readBool(); - break; + type_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_); + type_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + typeCase_ = 2; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + typeCase_ = 3; + type_ = s; + break; + } + case 32: { + + allowInsecure_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2746,105 +2456,88 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder.class); } - public interface RemoteOrBuilder - extends + public interface RemoteOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. URI from which to fetch the object. It should contain both the
          * protocol and path following the format `{protocol}://{location}`.
          * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
          * Required. URI from which to fetch the object. It should contain both the
          * protocol and path following the format `{protocol}://{location}`.
          * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
          * SHA256 checksum of the remote file.
          * 
* * string sha256_checksum = 2; - * * @return The sha256Checksum. */ java.lang.String getSha256Checksum(); /** - * - * *
          * SHA256 checksum of the remote file.
          * 
* * string sha256_checksum = 2; - * * @return The bytes for sha256Checksum. */ - com.google.protobuf.ByteString getSha256ChecksumBytes(); + com.google.protobuf.ByteString + getSha256ChecksumBytes(); } /** - * - * *
        * Specifies a file available via some URI.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote} */ - public static final class Remote extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Remote extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) RemoteOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Remote.newBuilder() to construct. private Remote(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Remote() { uri_ = ""; sha256Checksum_ = ""; @@ -2852,15 +2545,16 @@ private Remote() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Remote(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Remote( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2879,27 +2573,25 @@ private Remote( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + uri_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - sha256Checksum_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sha256Checksum_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2907,41 +2599,35 @@ private Remote( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder.class); } public static final int URI_FIELD_NUMBER = 1; private volatile java.lang.Object uri_; /** - * - * *
          * Required. URI from which to fetch the object. It should contain both the
          * protocol and path following the format `{protocol}://{location}`.
          * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ @java.lang.Override @@ -2950,30 +2636,30 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
          * Required. URI from which to fetch the object. It should contain both the
          * protocol and path following the format `{protocol}://{location}`.
          * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -2984,14 +2670,11 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int SHA256_CHECKSUM_FIELD_NUMBER = 2; private volatile java.lang.Object sha256Checksum_; /** - * - * *
          * SHA256 checksum of the remote file.
          * 
* * string sha256_checksum = 2; - * * @return The sha256Checksum. */ @java.lang.Override @@ -3000,29 +2683,29 @@ public java.lang.String getSha256Checksum() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sha256Checksum_ = s; return s; } } /** - * - * *
          * SHA256 checksum of the remote file.
          * 
* * string sha256_checksum = 2; - * * @return The bytes for sha256Checksum. */ @java.lang.Override - public com.google.protobuf.ByteString getSha256ChecksumBytes() { + public com.google.protobuf.ByteString + getSha256ChecksumBytes() { java.lang.Object ref = sha256Checksum_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sha256Checksum_ = b; return b; } else { @@ -3031,7 +2714,6 @@ public com.google.protobuf.ByteString getSha256ChecksumBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3044,7 +2726,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } @@ -3074,16 +2756,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) obj; - if (!getUri().equals(other.getUri())) return false; - if (!getSha256Checksum().equals(other.getSha256Checksum())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getSha256Checksum() + .equals(other.getSha256Checksum())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3105,97 +2788,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote 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.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote - 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.osconfig.v1alpha.OSPolicy.Resource.File.Remote 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.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3205,49 +2878,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Specifies a file available via some URI.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3259,16 +2927,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.getDefaultInstance(); } @java.lang.Override @@ -3282,8 +2948,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote result = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote(this); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote(this); result.uri_ = uri_; result.sha256Checksum_ = sha256Checksum_; onBuilt(); @@ -3294,53 +2959,46 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.File.Remote) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.getDefaultInstance()) return this; if (!other.getUri().isEmpty()) { uri_ = other.uri_; onChanged(); @@ -3368,9 +3026,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3382,21 +3038,19 @@ public Builder mergeFrom( private java.lang.Object uri_ = ""; /** - * - * *
            * Required. URI from which to fetch the object. It should contain both the
            * protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -3405,22 +3059,21 @@ public java.lang.String getUri() { } } /** - * - * *
            * Required. URI from which to fetch the object. It should contain both the
            * protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -3428,64 +3081,57 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
            * Required. URI from which to fetch the object. It should contain both the
            * protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
            * Required. URI from which to fetch the object. It should contain both the
            * protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
            * Required. URI from which to fetch the object. It should contain both the
            * protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -3493,20 +3139,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object sha256Checksum_ = ""; /** - * - * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; - * * @return The sha256Checksum. */ public java.lang.String getSha256Checksum() { java.lang.Object ref = sha256Checksum_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sha256Checksum_ = s; return s; @@ -3515,21 +3159,20 @@ public java.lang.String getSha256Checksum() { } } /** - * - * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; - * * @return The bytes for sha256Checksum. */ - public com.google.protobuf.ByteString getSha256ChecksumBytes() { + public com.google.protobuf.ByteString + getSha256ChecksumBytes() { java.lang.Object ref = sha256Checksum_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sha256Checksum_ = b; return b; } else { @@ -3537,66 +3180,58 @@ public com.google.protobuf.ByteString getSha256ChecksumBytes() { } } /** - * - * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; - * * @param value The sha256Checksum to set. * @return This builder for chaining. */ - public Builder setSha256Checksum(java.lang.String value) { + public Builder setSha256Checksum( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sha256Checksum_ = value; onChanged(); return this; } /** - * - * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; - * * @return This builder for chaining. */ public Builder clearSha256Checksum() { - + sha256Checksum_ = getDefaultInstance().getSha256Checksum(); onChanged(); return this; } /** - * - * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; - * * @param value The bytes for sha256Checksum to set. * @return This builder for chaining. */ - public Builder setSha256ChecksumBytes(com.google.protobuf.ByteString value) { + public Builder setSha256ChecksumBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sha256Checksum_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3609,32 +3244,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Remote parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Remote(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Remote parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Remote(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3646,99 +3279,82 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GcsOrBuilder - extends + public interface GcsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. Bucket of the Cloud Storage object.
          * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucket. */ java.lang.String getBucket(); /** - * - * *
          * Required. Bucket of the Cloud Storage object.
          * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucket. */ - com.google.protobuf.ByteString getBucketBytes(); + com.google.protobuf.ByteString + getBucketBytes(); /** - * - * *
          * Required. Name of the Cloud Storage object.
          * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The object. */ java.lang.String getObject(); /** - * - * *
          * Required. Name of the Cloud Storage object.
          * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for object. */ - com.google.protobuf.ByteString getObjectBytes(); + com.google.protobuf.ByteString + getObjectBytes(); /** - * - * *
          * Generation number of the Cloud Storage object.
          * 
* * int64 generation = 3; - * * @return The generation. */ long getGeneration(); } /** - * - * *
        * Specifies a file available as a Cloud Storage Object.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs} */ - public static final class Gcs extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Gcs extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) GcsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Gcs.newBuilder() to construct. private Gcs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Gcs() { bucket_ = ""; object_ = ""; @@ -3746,15 +3362,16 @@ private Gcs() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Gcs(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Gcs( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3773,32 +3390,30 @@ private Gcs( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - bucket_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + bucket_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - object_ = s; - break; - } - case 24: - { - generation_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + object_ = s; + break; + } + case 24: { + + generation_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3806,40 +3421,34 @@ private Gcs( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder.class); } public static final int BUCKET_FIELD_NUMBER = 1; private volatile java.lang.Object bucket_; /** - * - * *
          * Required. Bucket of the Cloud Storage object.
          * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucket. */ @java.lang.Override @@ -3848,29 +3457,29 @@ public java.lang.String getBucket() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; } } /** - * - * *
          * Required. Bucket of the Cloud Storage object.
          * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucket. */ @java.lang.Override - public com.google.protobuf.ByteString getBucketBytes() { + public com.google.protobuf.ByteString + getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bucket_ = b; return b; } else { @@ -3881,14 +3490,11 @@ public com.google.protobuf.ByteString getBucketBytes() { public static final int OBJECT_FIELD_NUMBER = 2; private volatile java.lang.Object object_; /** - * - * *
          * Required. Name of the Cloud Storage object.
          * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The object. */ @java.lang.Override @@ -3897,29 +3503,29 @@ public java.lang.String getObject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; } } /** - * - * *
          * Required. Name of the Cloud Storage object.
          * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for object. */ @java.lang.Override - public com.google.protobuf.ByteString getObjectBytes() { + public com.google.protobuf.ByteString + getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); object_ = b; return b; } else { @@ -3930,14 +3536,11 @@ public com.google.protobuf.ByteString getObjectBytes() { public static final int GENERATION_FIELD_NUMBER = 3; private long generation_; /** - * - * *
          * Generation number of the Cloud Storage object.
          * 
* * int64 generation = 3; - * * @return The generation. */ @java.lang.Override @@ -3946,7 +3549,6 @@ public long getGeneration() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3959,7 +3561,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucket_); } @@ -3985,7 +3587,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, object_); } if (generation_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, generation_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, generation_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3995,17 +3598,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) obj; - if (!getBucket().equals(other.getBucket())) return false; - if (!getObject().equals(other.getObject())) return false; - if (getGeneration() != other.getGeneration()) return false; + if (!getBucket() + .equals(other.getBucket())) return false; + if (!getObject() + .equals(other.getObject())) return false; + if (getGeneration() + != other.getGeneration()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4022,104 +3627,95 @@ public int hashCode() { hash = (37 * hash) + OBJECT_FIELD_NUMBER; hash = (53 * hash) + getObject().hashCode(); hash = (37 * hash) + GENERATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGeneration()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getGeneration()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs 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.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs - 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.osconfig.v1alpha.OSPolicy.Resource.File.Gcs 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.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4129,49 +3725,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Specifies a file available as a Cloud Storage Object.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -4185,16 +3776,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance(); } @java.lang.Override @@ -4208,8 +3797,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs result = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs(this); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs(this); result.bucket_ = bucket_; result.object_ = object_; result.generation_ = generation_; @@ -4221,53 +3809,46 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance()) return this; if (!other.getBucket().isEmpty()) { bucket_ = other.bucket_; onChanged(); @@ -4298,9 +3879,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4312,20 +3891,18 @@ public Builder mergeFrom( private java.lang.Object bucket_ = ""; /** - * - * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucket. */ public java.lang.String getBucket() { java.lang.Object ref = bucket_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; @@ -4334,21 +3911,20 @@ public java.lang.String getBucket() { } } /** - * - * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucket. */ - public com.google.protobuf.ByteString getBucketBytes() { + public com.google.protobuf.ByteString + getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bucket_ = b; return b; } else { @@ -4356,61 +3932,54 @@ public com.google.protobuf.ByteString getBucketBytes() { } } /** - * - * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bucket to set. * @return This builder for chaining. */ - public Builder setBucket(java.lang.String value) { + public Builder setBucket( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucket_ = value; onChanged(); return this; } /** - * - * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBucket() { - + bucket_ = getDefaultInstance().getBucket(); onChanged(); return this; } /** - * - * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for bucket to set. * @return This builder for chaining. */ - public Builder setBucketBytes(com.google.protobuf.ByteString value) { + public Builder setBucketBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucket_ = value; onChanged(); return this; @@ -4418,20 +3987,18 @@ public Builder setBucketBytes(com.google.protobuf.ByteString value) { private java.lang.Object object_ = ""; /** - * - * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The object. */ public java.lang.String getObject() { java.lang.Object ref = object_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; @@ -4440,21 +4007,20 @@ public java.lang.String getObject() { } } /** - * - * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for object. */ - public com.google.protobuf.ByteString getObjectBytes() { + public com.google.protobuf.ByteString + getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); object_ = b; return b; } else { @@ -4462,76 +4028,66 @@ public com.google.protobuf.ByteString getObjectBytes() { } } /** - * - * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The object to set. * @return This builder for chaining. */ - public Builder setObject(java.lang.String value) { + public Builder setObject( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + object_ = value; onChanged(); return this; } /** - * - * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearObject() { - + object_ = getDefaultInstance().getObject(); onChanged(); return this; } /** - * - * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for object to set. * @return This builder for chaining. */ - public Builder setObjectBytes(com.google.protobuf.ByteString value) { + public Builder setObjectBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + object_ = value; onChanged(); return this; } - private long generation_; + private long generation_ ; /** - * - * *
            * Generation number of the Cloud Storage object.
            * 
* * int64 generation = 3; - * * @return The generation. */ @java.lang.Override @@ -4539,41 +4095,34 @@ public long getGeneration() { return generation_; } /** - * - * *
            * Generation number of the Cloud Storage object.
            * 
* * int64 generation = 3; - * * @param value The generation to set. * @return This builder for chaining. */ public Builder setGeneration(long value) { - + generation_ = value; onChanged(); return this; } /** - * - * *
            * Generation number of the Cloud Storage object.
            * 
* * int64 generation = 3; - * * @return This builder for chaining. */ public Builder clearGeneration() { - + generation_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4586,32 +4135,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Gcs parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Gcs(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Gcs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Gcs(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4623,25 +4170,22 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int typeCase_ = 0; private java.lang.Object type_; - public enum TypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { REMOTE(1), GCS(2), LOCAL_PATH(3), TYPE_NOT_SET(0); private final int value; - private TypeCase(int value) { this.value = value; } @@ -4657,38 +4201,31 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 1: - return REMOTE; - case 2: - return GCS; - case 3: - return LOCAL_PATH; - case 0: - return TYPE_NOT_SET; - default: - return null; + case 1: return REMOTE; + case 2: return GCS; + case 3: return LOCAL_PATH; + case 0: return TYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TypeCase getTypeCase() { - return TypeCase.forNumber(typeCase_); + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); } public static final int REMOTE_FIELD_NUMBER = 1; /** - * - * *
        * A generic remote file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; - * * @return Whether the remote field is set. */ @java.lang.Override @@ -4696,26 +4233,21 @@ public boolean hasRemote() { return typeCase_ == 1; } /** - * - * *
        * A generic remote file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; - * * @return The remote. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote getRemote() { if (typeCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.getDefaultInstance(); } /** - * - * *
        * A generic remote file.
        * 
@@ -4723,24 +4255,20 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote getRemote * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder - getRemoteOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder getRemoteOrBuilder() { if (typeCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.getDefaultInstance(); } public static final int GCS_FIELD_NUMBER = 2; /** - * - * *
        * A Cloud Storage object.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; - * * @return Whether the gcs field is set. */ @java.lang.Override @@ -4748,26 +4276,21 @@ public boolean hasGcs() { return typeCase_ == 2; } /** - * - * *
        * A Cloud Storage object.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; - * * @return The gcs. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs getGcs() { if (typeCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance(); } /** - * - * *
        * A Cloud Storage object.
        * 
@@ -4775,38 +4298,31 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs getGcs() { * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder - getGcsOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder getGcsOrBuilder() { if (typeCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance(); } public static final int LOCAL_PATH_FIELD_NUMBER = 3; /** - * - * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; - * * @return Whether the localPath field is set. */ public boolean hasLocalPath() { return typeCase_ == 3; } /** - * - * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; - * * @return The localPath. */ public java.lang.String getLocalPath() { @@ -4817,7 +4333,8 @@ public java.lang.String getLocalPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (typeCase_ == 3) { type_ = s; @@ -4826,24 +4343,23 @@ public java.lang.String getLocalPath() { } } /** - * - * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; - * * @return The bytes for localPath. */ - public com.google.protobuf.ByteString getLocalPathBytes() { + public com.google.protobuf.ByteString + getLocalPathBytes() { java.lang.Object ref = ""; if (typeCase_ == 3) { ref = type_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (typeCase_ == 3) { type_ = b; } @@ -4856,8 +4372,6 @@ public com.google.protobuf.ByteString getLocalPathBytes() { public static final int ALLOW_INSECURE_FIELD_NUMBER = 4; private boolean allowInsecure_; /** - * - * *
        * Defaults to false. When false, files are subject to validations
        * based on the file type:
@@ -4866,7 +4380,6 @@ public com.google.protobuf.ByteString getLocalPathBytes() {
        * 
* * bool allow_insecure = 4; - * * @return The allowInsecure. */ @java.lang.Override @@ -4875,7 +4388,6 @@ public boolean getAllowInsecure() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4887,14 +4399,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (typeCase_ == 1) { - output.writeMessage( - 1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_); + output.writeMessage(1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_); } if (typeCase_ == 2) { - output.writeMessage( - 2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_); + output.writeMessage(2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_); } if (typeCase_ == 3) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_); @@ -4912,20 +4423,19 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_); } if (typeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_); } if (typeCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); } if (allowInsecure_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowInsecure_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, allowInsecure_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4935,25 +4445,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) obj; - if (getAllowInsecure() != other.getAllowInsecure()) return false; + if (getAllowInsecure() + != other.getAllowInsecure()) return false; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (!getRemote().equals(other.getRemote())) return false; + if (!getRemote() + .equals(other.getRemote())) return false; break; case 2: - if (!getGcs().equals(other.getGcs())) return false; + if (!getGcs() + .equals(other.getGcs())) return false; break; case 3: - if (!getLocalPath().equals(other.getLocalPath())) return false; + if (!getLocalPath() + .equals(other.getLocalPath())) return false; break; case 0: default: @@ -4970,7 +4483,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_INSECURE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowInsecure()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowInsecure()); switch (typeCase_) { case 1: hash = (37 * hash) + REMOTE_FIELD_NUMBER; @@ -4993,94 +4507,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File 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.osconfig.v1alpha.OSPolicy.Resource.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5090,32 +4597,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A remote or local file.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.File} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder() @@ -5123,15 +4625,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -5143,14 +4646,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance(); } @@ -5165,8 +4667,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File result = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File(this); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File(this); if (typeCase_ == 1) { if (remoteBuilder_ == null) { result.type_ = type_; @@ -5194,41 +4695,38 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.File) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File)other); } else { super.mergeFrom(other); return this; @@ -5236,34 +4734,28 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance()) return this; if (other.getAllowInsecure() != false) { setAllowInsecure(other.getAllowInsecure()); } switch (other.getTypeCase()) { - case REMOTE: - { - mergeRemote(other.getRemote()); - break; - } - case GCS: - { - mergeGcs(other.getGcs()); - break; - } - case LOCAL_PATH: - { - typeCase_ = 3; - type_ = other.type_; - onChanged(); - break; - } - case TYPE_NOT_SET: - { - break; - } + case REMOTE: { + mergeRemote(other.getRemote()); + break; + } + case GCS: { + mergeGcs(other.getGcs()); + break; + } + case LOCAL_PATH: { + typeCase_ = 3; + type_ = other.type_; + onChanged(); + break; + } + case TYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -5284,8 +4776,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5294,12 +4785,12 @@ public Builder mergeFrom( } return this; } - private int typeCase_ = 0; private java.lang.Object type_; - - public TypeCase getTypeCase() { - return TypeCase.forNumber(typeCase_); + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); } public Builder clearType() { @@ -5309,20 +4800,15 @@ public Builder clearType() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder> - remoteBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder> remoteBuilder_; /** - * - * *
          * A generic remote file.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; - * * @return Whether the remote field is set. */ @java.lang.Override @@ -5330,14 +4816,11 @@ public boolean hasRemote() { return typeCase_ == 1; } /** - * - * *
          * A generic remote file.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; - * * @return The remote. */ @java.lang.Override @@ -5346,27 +4829,22 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote getRemote if (typeCase_ == 1) { return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.getDefaultInstance(); } else { if (typeCase_ == 1) { return remoteBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.getDefaultInstance(); } } /** - * - * *
          * A generic remote file.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; */ - public Builder setRemote( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote value) { + public Builder setRemote(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote value) { if (remoteBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5380,8 +4858,6 @@ public Builder setRemote( return this; } /** - * - * *
          * A generic remote file.
          * 
@@ -5389,8 +4865,7 @@ public Builder setRemote( * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; */ public Builder setRemote( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder builderForValue) { if (remoteBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -5401,26 +4876,18 @@ public Builder setRemote( return this; } /** - * - * *
          * A generic remote file.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; */ - public Builder mergeRemote( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote value) { + public Builder mergeRemote(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote value) { if (remoteBuilder_ == null) { - if (typeCase_ == 1 - && type_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote - .getDefaultInstance()) { - type_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 1 && + type_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.getDefaultInstance()) { + type_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -5436,8 +4903,6 @@ public Builder mergeRemote( return this; } /** - * - * *
          * A generic remote file.
          * 
@@ -5461,21 +4926,16 @@ public Builder clearRemote() { return this; } /** - * - * *
          * A generic remote file.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder - getRemoteBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder getRemoteBuilder() { return getRemoteFieldBuilder().getBuilder(); } /** - * - * *
          * A generic remote file.
          * 
@@ -5483,21 +4943,17 @@ public Builder clearRemote() { * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder - getRemoteOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder getRemoteOrBuilder() { if ((typeCase_ == 1) && (remoteBuilder_ != null)) { return remoteBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 1) { return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.getDefaultInstance(); } } /** - * - * *
          * A generic remote file.
          * 
@@ -5505,46 +4961,32 @@ public Builder clearRemote() { * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder> getRemoteFieldBuilder() { if (remoteBuilder_ == null) { if (!(typeCase_ == 1)) { - type_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote - .getDefaultInstance(); - } - remoteBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder>( + type_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.getDefaultInstance(); + } + remoteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder>( (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; - onChanged(); - ; + onChanged();; return remoteBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder> - gcsBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder> gcsBuilder_; /** - * - * *
          * A Cloud Storage object.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; - * * @return Whether the gcs field is set. */ @java.lang.Override @@ -5552,14 +4994,11 @@ public boolean hasGcs() { return typeCase_ == 2; } /** - * - * *
          * A Cloud Storage object.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; - * * @return The gcs. */ @java.lang.Override @@ -5568,19 +5007,15 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs getGcs() { if (typeCase_ == 2) { return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance(); } else { if (typeCase_ == 2) { return gcsBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance(); } } /** - * - * *
          * A Cloud Storage object.
          * 
@@ -5601,8 +5036,6 @@ public Builder setGcs(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.G return this; } /** - * - * *
          * A Cloud Storage object.
          * 
@@ -5621,26 +5054,18 @@ public Builder setGcs( return this; } /** - * - * *
          * A Cloud Storage object.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; */ - public Builder mergeGcs( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs value) { + public Builder mergeGcs(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs value) { if (gcsBuilder_ == null) { - if (typeCase_ == 2 - && type_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs - .getDefaultInstance()) { - type_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 2 && + type_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance()) { + type_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -5656,8 +5081,6 @@ public Builder mergeGcs( return this; } /** - * - * *
          * A Cloud Storage object.
          * 
@@ -5681,21 +5104,16 @@ public Builder clearGcs() { return this; } /** - * - * *
          * A Cloud Storage object.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder - getGcsBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder getGcsBuilder() { return getGcsFieldBuilder().getBuilder(); } /** - * - * *
          * A Cloud Storage object.
          * 
@@ -5703,21 +5121,17 @@ public Builder clearGcs() { * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder - getGcsOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder getGcsOrBuilder() { if ((typeCase_ == 2) && (gcsBuilder_ != null)) { return gcsBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 2) { return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance(); } } /** - * - * *
          * A Cloud Storage object.
          * 
@@ -5725,40 +5139,30 @@ public Builder clearGcs() { * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder> getGcsFieldBuilder() { if (gcsBuilder_ == null) { if (!(typeCase_ == 2)) { - type_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance(); - } - gcsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder>( + type_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance(); + } + gcsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder>( (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 2; - onChanged(); - ; + onChanged();; return gcsBuilder_; } /** - * - * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; - * * @return Whether the localPath field is set. */ @java.lang.Override @@ -5766,14 +5170,11 @@ public boolean hasLocalPath() { return typeCase_ == 3; } /** - * - * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; - * * @return The localPath. */ @java.lang.Override @@ -5783,7 +5184,8 @@ public java.lang.String getLocalPath() { ref = type_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (typeCase_ == 3) { type_ = s; @@ -5794,25 +5196,24 @@ public java.lang.String getLocalPath() { } } /** - * - * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; - * * @return The bytes for localPath. */ @java.lang.Override - public com.google.protobuf.ByteString getLocalPathBytes() { + public com.google.protobuf.ByteString + getLocalPathBytes() { java.lang.Object ref = ""; if (typeCase_ == 3) { ref = type_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (typeCase_ == 3) { type_ = b; } @@ -5822,35 +5223,30 @@ public com.google.protobuf.ByteString getLocalPathBytes() { } } /** - * - * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; - * * @param value The localPath to set. * @return This builder for chaining. */ - public Builder setLocalPath(java.lang.String value) { + public Builder setLocalPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - typeCase_ = 3; + throw new NullPointerException(); + } + typeCase_ = 3; type_ = value; onChanged(); return this; } /** - * - * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; - * * @return This builder for chaining. */ public Builder clearLocalPath() { @@ -5862,32 +5258,28 @@ public Builder clearLocalPath() { return this; } /** - * - * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; - * * @param value The bytes for localPath to set. * @return This builder for chaining. */ - public Builder setLocalPathBytes(com.google.protobuf.ByteString value) { + public Builder setLocalPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); typeCase_ = 3; type_ = value; onChanged(); return this; } - private boolean allowInsecure_; + private boolean allowInsecure_ ; /** - * - * *
          * Defaults to false. When false, files are subject to validations
          * based on the file type:
@@ -5896,7 +5288,6 @@ public Builder setLocalPathBytes(com.google.protobuf.ByteString value) {
          * 
* * bool allow_insecure = 4; - * * @return The allowInsecure. */ @java.lang.Override @@ -5904,8 +5295,6 @@ public boolean getAllowInsecure() { return allowInsecure_; } /** - * - * *
          * Defaults to false. When false, files are subject to validations
          * based on the file type:
@@ -5914,19 +5303,16 @@ public boolean getAllowInsecure() {
          * 
* * bool allow_insecure = 4; - * * @param value The allowInsecure to set. * @return This builder for chaining. */ public Builder setAllowInsecure(boolean value) { - + allowInsecure_ = value; onChanged(); return this; } /** - * - * *
          * Defaults to false. When false, files are subject to validations
          * based on the file type:
@@ -5935,16 +5321,14 @@ public Builder setAllowInsecure(boolean value) {
          * 
* * bool allow_insecure = 4; - * * @return This builder for chaining. */ public Builder clearAllowInsecure() { - + allowInsecure_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5957,13 +5341,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File(); } @@ -5972,16 +5355,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5996,338 +5379,255 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PackageResourceOrBuilder - extends + public interface PackageResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Required. The desired state the agent should maintain for this package.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for desiredState. */ int getDesiredStateValue(); /** - * - * *
        * Required. The desired state the agent should maintain for this package.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The desiredState. */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState - getDesiredState(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState getDesiredState(); /** - * - * *
        * A package managed by Apt.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; - * * @return Whether the apt field is set. */ boolean hasApt(); /** - * - * *
        * A package managed by Apt.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; - * * @return The apt. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT getApt(); /** - * - * *
        * A package managed by Apt.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder - getAptOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder getAptOrBuilder(); /** - * - * *
        * A deb package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; - * * @return Whether the deb field is set. */ boolean hasDeb(); /** - * - * *
        * A deb package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; - * * @return The deb. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb getDeb(); /** - * - * *
        * A deb package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder - getDebOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder getDebOrBuilder(); /** - * - * *
        * A package managed by YUM.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; - * * @return Whether the yum field is set. */ boolean hasYum(); /** - * - * *
        * A package managed by YUM.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; - * * @return The yum. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM getYum(); /** - * - * *
        * A package managed by YUM.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder - getYumOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder getYumOrBuilder(); /** - * - * *
        * A package managed by Zypper.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; * @return Whether the zypper field is set. */ boolean hasZypper(); /** - * - * *
        * A package managed by Zypper.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; * @return The zypper. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper getZypper(); /** - * - * *
        * A package managed by Zypper.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder - getZypperOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder getZypperOrBuilder(); /** - * - * *
        * An rpm package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; - * * @return Whether the rpm field is set. */ boolean hasRpm(); /** - * - * *
        * An rpm package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; - * * @return The rpm. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM getRpm(); /** - * - * *
        * An rpm package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder - getRpmOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder getRpmOrBuilder(); /** - * - * *
        * A package managed by GooGet.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; * @return Whether the googet field is set. */ boolean hasGooget(); /** - * - * *
        * A package managed by GooGet.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; * @return The googet. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet getGooget(); /** - * - * *
        * A package managed by GooGet.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder - getGoogetOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder getGoogetOrBuilder(); /** - * - * *
        * An MSI package.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; - * * @return Whether the msi field is set. */ boolean hasMsi(); /** - * - * *
        * An MSI package.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; - * * @return The msi. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI getMsi(); /** - * - * *
        * An MSI package.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder - getMsiOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder getMsiOrBuilder(); - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.SystemPackageCase - getSystemPackageCase(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.SystemPackageCase getSystemPackageCase(); } /** - * - * *
      * A resource that manages a system package.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource} */ - public static final class PackageResource extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PackageResource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) PackageResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PackageResource.newBuilder() to construct. private PackageResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PackageResource() { desiredState_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PackageResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PackageResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -6346,190 +5646,117 @@ private PackageResource( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - desiredState_ = rawValue; - break; + desiredState_ = rawValue; + break; + } + case 18: { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder subBuilder = null; + if (systemPackageCase_ == 2) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_).toBuilder(); } - case 18: - { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder - subBuilder = null; - if (systemPackageCase_ == 2) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) - systemPackage_) - .toBuilder(); - } - systemPackage_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) - systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 2; - break; + systemPackage_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_); + systemPackage_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder - subBuilder = null; - if (systemPackageCase_ == 3) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) - systemPackage_) - .toBuilder(); - } - systemPackage_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) - systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 3; - break; + systemPackageCase_ = 2; + break; + } + case 26: { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder subBuilder = null; + if (systemPackageCase_ == 3) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_).toBuilder(); } - case 34: - { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder - subBuilder = null; - if (systemPackageCase_ == 4) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) - systemPackage_) - .toBuilder(); - } - systemPackage_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) - systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 4; - break; + systemPackage_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_); + systemPackage_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder - subBuilder = null; - if (systemPackageCase_ == 5) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .Zypper) - systemPackage_) - .toBuilder(); - } - systemPackage_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) - systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 5; - break; + systemPackageCase_ = 3; + break; + } + case 34: { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder subBuilder = null; + if (systemPackageCase_ == 4) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_).toBuilder(); } - case 50: - { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder - subBuilder = null; - if (systemPackageCase_ == 6) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) - systemPackage_) - .toBuilder(); - } - systemPackage_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) - systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 6; - break; + systemPackage_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_); + systemPackage_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder - subBuilder = null; - if (systemPackageCase_ == 7) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .GooGet) - systemPackage_) - .toBuilder(); - } - systemPackage_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) - systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 7; - break; + systemPackageCase_ = 4; + break; + } + case 42: { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder subBuilder = null; + if (systemPackageCase_ == 5) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_).toBuilder(); } - case 66: - { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder - subBuilder = null; - if (systemPackageCase_ == 8) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) - systemPackage_) - .toBuilder(); - } - systemPackage_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) - systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 8; - break; + systemPackage_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_); + systemPackage_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + systemPackageCase_ = 5; + break; + } + case 50: { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder subBuilder = null; + if (systemPackageCase_ == 6) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_).toBuilder(); + } + systemPackage_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_); + systemPackage_ = subBuilder.buildPartial(); + } + systemPackageCase_ = 6; + break; + } + case 58: { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder subBuilder = null; + if (systemPackageCase_ == 7) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_).toBuilder(); + } + systemPackage_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_); + systemPackage_ = subBuilder.buildPartial(); + } + systemPackageCase_ = 7; + break; + } + case 66: { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder subBuilder = null; + if (systemPackageCase_ == 8) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_).toBuilder(); + } + systemPackage_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_); + systemPackage_ = subBuilder.buildPartial(); } + systemPackageCase_ = 8; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6537,43 +5764,36 @@ private PackageResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder.class); } /** - * - * *
        * The desired state that the OS Config agent maintains on the VM.
        * 
* - * Protobuf enum {@code - * google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState} + * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState} */ - public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { + public enum DesiredState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * Unspecified is invalid.
          * 
@@ -6582,8 +5802,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ DESIRED_STATE_UNSPECIFIED(0), /** - * - * *
          * Ensure that the package is installed.
          * 
@@ -6592,8 +5810,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ INSTALLED(1), /** - * - * *
          * The agent ensures that the package is not installed and
          * uninstalls it if detected.
@@ -6606,8 +5822,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum {
         ;
 
         /**
-         *
-         *
          * 
          * Unspecified is invalid.
          * 
@@ -6616,8 +5830,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DESIRED_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
          * Ensure that the package is installed.
          * 
@@ -6626,8 +5838,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTALLED_VALUE = 1; /** - * - * *
          * The agent ensures that the package is not installed and
          * uninstalls it if detected.
@@ -6637,6 +5847,7 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum {
          */
         public static final int REMOVED_VALUE = 2;
 
+
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -6661,45 +5872,40 @@ public static DesiredState valueOf(int value) {
          */
         public static DesiredState forNumber(int value) {
           switch (value) {
-            case 0:
-              return DESIRED_STATE_UNSPECIFIED;
-            case 1:
-              return INSTALLED;
-            case 2:
-              return REMOVED;
-            default:
-              return null;
+            case 0: return DESIRED_STATE_UNSPECIFIED;
+            case 1: return INSTALLED;
+            case 2: return REMOVED;
+            default: return null;
           }
         }
 
-        public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+        public static com.google.protobuf.Internal.EnumLiteMap
+            internalGetValueMap() {
           return internalValueMap;
         }
+        private static final com.google.protobuf.Internal.EnumLiteMap<
+            DesiredState> internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap() {
+                public DesiredState findValueByNumber(int number) {
+                  return DesiredState.forNumber(number);
+                }
+              };
 
-        private static final com.google.protobuf.Internal.EnumLiteMap
-            internalValueMap =
-                new com.google.protobuf.Internal.EnumLiteMap() {
-                  public DesiredState findValueByNumber(int number) {
-                    return DesiredState.forNumber(number);
-                  }
-                };
-
-        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+        public final com.google.protobuf.Descriptors.EnumValueDescriptor
+            getValueDescriptor() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalStateException(
                 "Can't get the descriptor of an unrecognized enum value.");
           }
           return getDescriptor().getValues().get(ordinal());
         }
-
-        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+        public final com.google.protobuf.Descriptors.EnumDescriptor
+            getDescriptorForType() {
           return getDescriptor();
         }
-
-        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDescriptor()
-              .getEnumTypes()
-              .get(0);
+        public static final com.google.protobuf.Descriptors.EnumDescriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDescriptor().getEnumTypes().get(0);
         }
 
         private static final DesiredState[] VALUES = values();
@@ -6708,7 +5914,7 @@ public static DesiredState valueOf(
             com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
           if (desc.getType() != getDescriptor()) {
             throw new java.lang.IllegalArgumentException(
-                "EnumValueDescriptor is not for this type.");
+              "EnumValueDescriptor is not for this type.");
           }
           if (desc.getIndex() == -1) {
             return UNRECOGNIZED;
@@ -6725,55 +5931,38 @@ private DesiredState(int value) {
         // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState)
       }
 
-      public interface DebOrBuilder
-          extends
+      public interface DebOrBuilder extends
           // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb)
           com.google.protobuf.MessageOrBuilder {
 
         /**
-         *
-         *
          * 
          * Required. A deb package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ boolean hasSource(); /** - * - * *
          * Required. A deb package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource(); /** - * - * *
          * Required. A deb package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder(); /** - * - * *
          * Whether dependencies should also be installed.
          * - install when false: `dpkg -i package`
@@ -6782,43 +5971,41 @@ public interface DebOrBuilder
          * 
* * bool pull_deps = 2; - * * @return The pullDeps. */ boolean getPullDeps(); } /** - * - * *
        * A deb package file. dpkg packages only support INSTALLED state.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb} */ - public static final class Deb extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Deb extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) DebOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Deb.newBuilder() to construct. private Deb(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Deb() {} + private Deb() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Deb(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Deb( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -6837,36 +6024,31 @@ private Deb( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = - null; - if (source_ != null) { - subBuilder = source_.toBuilder(); - } - source_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(source_); - source_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = null; + if (source_ != null) { + subBuilder = source_.toBuilder(); } - case 16: - { - pullDeps_ = input.readBool(); - break; + source_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 16: { + + pullDeps_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6874,43 +6056,34 @@ private Deb( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder - .class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder.class); } public static final int SOURCE_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source_; /** - * - * *
          * Required. A deb package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ @java.lang.Override @@ -6918,46 +6091,32 @@ public boolean hasSource() { return source_ != null; } /** - * - * *
          * Required. A deb package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource() { - return source_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() : source_; } /** - * - * *
          * Required. A deb package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder - getSourceOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { return getSource(); } public static final int PULL_DEPS_FIELD_NUMBER = 2; private boolean pullDeps_; /** - * - * *
          * Whether dependencies should also be installed.
          * - install when false: `dpkg -i package`
@@ -6966,7 +6125,6 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource() {
          * 
* * bool pull_deps = 2; - * * @return The pullDeps. */ @java.lang.Override @@ -6975,7 +6133,6 @@ public boolean getPullDeps() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6988,7 +6145,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (source_ != null) { output.writeMessage(1, getSource()); } @@ -7005,10 +6162,12 @@ public int getSerializedSize() { size = 0; if (source_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSource()); } if (pullDeps_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, pullDeps_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, pullDeps_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7018,20 +6177,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) obj; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource().equals(other.getSource())) return false; + if (!getSource() + .equals(other.getSource())) return false; } - if (getPullDeps() != other.getPullDeps()) return false; + if (getPullDeps() + != other.getPullDeps()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7048,111 +6207,95 @@ public int hashCode() { hash = (53 * hash) + getSource().hashCode(); } hash = (37 * hash) + PULL_DEPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPullDeps()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPullDeps()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7162,50 +6305,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * A deb package file. dpkg packages only support INSTALLED state.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder - .class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -7221,22 +6358,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb result = - buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -7244,10 +6378,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb b } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb result = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb(this); if (sourceBuilder_ == null) { result.source_ = source_; } else { @@ -7262,55 +6394,46 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) other); + if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance()) return this; if (other.hasSource()) { mergeSource(other.getSource()); } @@ -7332,14 +6455,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parsedMessage = - null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7351,58 +6471,39 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> - sourceBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> sourceBuilder_; /** - * - * *
            * Required. A deb package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ public boolean hasSource() { return sourceBuilder_ != null || source_ != null; } /** - * - * *
            * Required. A deb package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource() { if (sourceBuilder_ == null) { - return source_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() : source_; } else { return sourceBuilder_.getMessage(); } } /** - * - * *
            * Required. A deb package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { @@ -7418,15 +6519,11 @@ public Builder setSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Fil return this; } /** - * - * *
            * Required. A deb package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSource( com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder builderForValue) { @@ -7440,24 +6537,17 @@ public Builder setSource( return this; } /** - * - * *
            * Required. A deb package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeSource( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { + public Builder mergeSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { if (source_ != null) { source_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder(source_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder(source_).mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -7469,15 +6559,11 @@ public Builder mergeSource( return this; } /** - * - * *
            * Required. A deb package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSource() { if (sourceBuilder_ == null) { @@ -7491,75 +6577,55 @@ public Builder clearSource() { return this; } /** - * - * *
            * Required. A deb package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder - getSourceBuilder() { - + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder getSourceBuilder() { + onChanged(); return getSourceFieldBuilder().getBuilder(); } /** - * - * *
            * Required. A deb package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder - getSourceOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() - : source_; + return source_ == null ? + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() : source_; } } /** - * - * *
            * Required. A deb package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( - getSource(), getParentForChildren(), isClean()); + sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( + getSource(), + getParentForChildren(), + isClean()); source_ = null; } return sourceBuilder_; } - private boolean pullDeps_; + private boolean pullDeps_ ; /** - * - * *
            * Whether dependencies should also be installed.
            * - install when false: `dpkg -i package`
@@ -7568,7 +6634,6 @@ public Builder clearSource() {
            * 
* * bool pull_deps = 2; - * * @return The pullDeps. */ @java.lang.Override @@ -7576,8 +6641,6 @@ public boolean getPullDeps() { return pullDeps_; } /** - * - * *
            * Whether dependencies should also be installed.
            * - install when false: `dpkg -i package`
@@ -7586,19 +6649,16 @@ public boolean getPullDeps() {
            * 
* * bool pull_deps = 2; - * * @param value The pullDeps to set. * @return This builder for chaining. */ public Builder setPullDeps(boolean value) { - + pullDeps_ = value; onChanged(); return this; } /** - * - * *
            * Whether dependencies should also be installed.
            * - install when false: `dpkg -i package`
@@ -7607,16 +6667,14 @@ public Builder setPullDeps(boolean value) {
            * 
* * bool pull_deps = 2; - * * @return This builder for chaining. */ public Builder clearPullDeps() { - + pullDeps_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7629,33 +6687,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Deb parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Deb(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Deb parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Deb(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7667,45 +6722,37 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface APTOrBuilder - extends + public interface APTOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
        * A package managed by APT.
        * - install: `apt-get update && apt-get -y install [name]`
@@ -7714,31 +6761,31 @@ public interface APTOrBuilder
        *
        * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT}
        */
-      public static final class APT extends com.google.protobuf.GeneratedMessageV3
-          implements
+      public static final class APT extends
+          com.google.protobuf.GeneratedMessageV3 implements
           // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT)
           APTOrBuilder {
-        private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
         // Use APT.newBuilder() to construct.
         private APT(com.google.protobuf.GeneratedMessageV3.Builder builder) {
           super(builder);
         }
-
         private APT() {
           name_ = "";
         }
 
         @java.lang.Override
         @SuppressWarnings({"unused"})
-        protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+        protected java.lang.Object newInstance(
+            UnusedPrivateParameter unused) {
           return new APT();
         }
 
         @java.lang.Override
-        public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+        public final com.google.protobuf.UnknownFieldSet
+        getUnknownFields() {
           return this.unknownFields;
         }
-
         private APT(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -7757,20 +6804,19 @@ private APT(
                 case 0:
                   done = true;
                   break;
-                case 10:
-                  {
-                    java.lang.String s = input.readStringRequireUtf8();
+                case 10: {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                    name_ = s;
-                    break;
-                  }
-                default:
-                  {
-                    if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                      done = true;
-                    }
-                    break;
+                  name_ = s;
+                  break;
+                }
+                default: {
+                  if (!parseUnknownField(
+                      input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
                   }
+                  break;
+                }
               }
             }
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -7778,42 +6824,34 @@ private APT(
           } catch (com.google.protobuf.UninitializedMessageException e) {
             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(this);
+            throw new com.google.protobuf.InvalidProtocolBufferException(
+                e).setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
-
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-              .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-              .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable
+          return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.class,
-                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT
-                      .Builder
-                      .class);
+                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder.class);
         }
 
         public static final int NAME_FIELD_NUMBER = 1;
         private volatile java.lang.Object name_;
-        /**
-         *
-         *
+        /**
          * 
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -7822,29 +6860,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -7853,7 +6891,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7866,7 +6903,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -7890,16 +6927,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7918,105 +6954,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8026,8 +7045,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * A package managed by APT.
          * - install: `apt-get update && apt-get -y install [name]`
@@ -8036,43 +7053,38 @@ protected Builder newBuilderForType(
          *
          * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT}
          */
-        public static final class Builder
-            extends com.google.protobuf.GeneratedMessageV3.Builder
-            implements
+        public static final class Builder extends
+            com.google.protobuf.GeneratedMessageV3.Builder implements
             // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT)
             com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder {
-          public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-            return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-                .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor;
+          public static final com.google.protobuf.Descriptors.Descriptor
+              getDescriptor() {
+            return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor;
           }
 
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
-            return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-                .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable
+            return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
-                    com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.class,
-                    com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT
-                        .Builder
-                        .class);
+                    com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder.class);
           }
 
-          // Construct using
-          // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.newBuilder()
+          // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.newBuilder()
           private Builder() {
             maybeForceBuilderInitialization();
           }
 
-          private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+          private Builder(
+              com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
             super(parent);
             maybeForceBuilderInitialization();
           }
-
           private void maybeForceBuilderInitialization() {
-            if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+            if (com.google.protobuf.GeneratedMessageV3
+                    .alwaysUseFieldBuilders) {
+            }
           }
-
           @java.lang.Override
           public Builder clear() {
             super.clear();
@@ -8082,22 +7094,19 @@ public Builder clear() {
           }
 
           @java.lang.Override
-          public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-            return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-                .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor;
+          public com.google.protobuf.Descriptors.Descriptor
+              getDescriptorForType() {
+            return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor;
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT
-              getDefaultInstanceForType() {
-            return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT
-                .getDefaultInstance();
+          public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT getDefaultInstanceForType() {
+            return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.getDefaultInstance();
           }
 
           @java.lang.Override
           public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT build() {
-            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT result =
-                buildPartial();
+            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT result = buildPartial();
             if (!result.isInitialized()) {
               throw newUninitializedMessageException(result);
             }
@@ -8105,10 +7114,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT b
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT
-              buildPartial() {
-            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT result =
-                new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT(this);
+          public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT buildPartial() {
+            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT(this);
             result.name_ = name_;
             onBuilt();
             return result;
@@ -8118,55 +7125,46 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT b
           public Builder clone() {
             return super.clone();
           }
-
           @java.lang.Override
           public Builder setField(
-              com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+              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) {
+          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) {
+          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) {
+              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) {
+              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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) {
-              return mergeFrom(
-                  (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) other);
+            if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) {
+              return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT)other);
             } else {
               super.mergeFrom(other);
               return this;
             }
           }
 
-          public Builder mergeFrom(
-              com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT other) {
-            if (other
-                == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT
-                    .getDefaultInstance()) return this;
+          public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT other) {
+            if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.getDefaultInstance()) return this;
             if (!other.getName().isEmpty()) {
               name_ = other.name_;
               onChanged();
@@ -8186,14 +7184,11 @@ public Builder mergeFrom(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws java.io.IOException {
-            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parsedMessage =
-                null;
+            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parsedMessage = null;
             try {
               parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              parsedMessage =
-                  (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT)
-                      e.getUnfinishedMessage();
+              parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) e.getUnfinishedMessage();
               throw e.unwrapIOException();
             } finally {
               if (parsedMessage != null) {
@@ -8205,20 +7200,18 @@ public Builder mergeFrom(
 
           private java.lang.Object name_ = "";
           /**
-           *
-           *
            * 
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -8227,21 +7220,20 @@ public java.lang.String getName() { } } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -8249,66 +7241,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8321,33 +7305,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public APT parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new APT(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public APT parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new APT(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8359,61 +7340,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface RPMOrBuilder - extends + public interface RPMOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. An rpm package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ boolean hasSource(); /** - * - * *
          * Required. An rpm package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource(); /** - * - * *
          * Required. An rpm package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder(); /** - * - * *
          * Whether dependencies should also be installed.
          * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -8422,43 +7386,41 @@ public interface RPMOrBuilder
          * 
* * bool pull_deps = 2; - * * @return The pullDeps. */ boolean getPullDeps(); } /** - * - * *
        * An RPM package file. RPM packages only support INSTALLED state.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM} */ - public static final class RPM extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class RPM extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) RPMOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RPM.newBuilder() to construct. private RPM(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RPM() {} + private RPM() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RPM(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RPM( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -8477,36 +7439,31 @@ private RPM( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = - null; - if (source_ != null) { - subBuilder = source_.toBuilder(); - } - source_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(source_); - source_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = null; + if (source_ != null) { + subBuilder = source_.toBuilder(); } - case 16: - { - pullDeps_ = input.readBool(); - break; + source_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 16: { + + pullDeps_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8514,44 +7471,34 @@ private RPM( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - .Builder - .class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder.class); } public static final int SOURCE_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source_; /** - * - * *
          * Required. An rpm package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ @java.lang.Override @@ -8559,46 +7506,32 @@ public boolean hasSource() { return source_ != null; } /** - * - * *
          * Required. An rpm package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource() { - return source_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() : source_; } /** - * - * *
          * Required. An rpm package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder - getSourceOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { return getSource(); } public static final int PULL_DEPS_FIELD_NUMBER = 2; private boolean pullDeps_; /** - * - * *
          * Whether dependencies should also be installed.
          * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -8607,7 +7540,6 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource() {
          * 
* * bool pull_deps = 2; - * * @return The pullDeps. */ @java.lang.Override @@ -8616,7 +7548,6 @@ public boolean getPullDeps() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8629,7 +7560,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (source_ != null) { output.writeMessage(1, getSource()); } @@ -8646,10 +7577,12 @@ public int getSerializedSize() { size = 0; if (source_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSource()); } if (pullDeps_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, pullDeps_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, pullDeps_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8659,20 +7592,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) obj; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource().equals(other.getSource())) return false; + if (!getSource() + .equals(other.getSource())) return false; } - if (getPullDeps() != other.getPullDeps()) return false; + if (getPullDeps() + != other.getPullDeps()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8689,111 +7622,95 @@ public int hashCode() { hash = (53 * hash) + getSource().hashCode(); } hash = (37 * hash) + PULL_DEPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPullDeps()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPullDeps()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8803,51 +7720,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * An RPM package file. RPM packages only support INSTALLED state.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - .Builder - .class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -8863,22 +7773,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM result = - buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -8886,10 +7793,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM b } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM result = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM(this); if (sourceBuilder_ == null) { result.source_ = source_; } else { @@ -8904,55 +7809,46 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) other); + if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance()) return this; if (other.hasSource()) { mergeSource(other.getSource()); } @@ -8974,14 +7870,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parsedMessage = - null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -8993,58 +7886,39 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> - sourceBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> sourceBuilder_; /** - * - * *
            * Required. An rpm package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ public boolean hasSource() { return sourceBuilder_ != null || source_ != null; } /** - * - * *
            * Required. An rpm package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource() { if (sourceBuilder_ == null) { - return source_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() : source_; } else { return sourceBuilder_.getMessage(); } } /** - * - * *
            * Required. An rpm package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { @@ -9060,15 +7934,11 @@ public Builder setSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Fil return this; } /** - * - * *
            * Required. An rpm package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSource( com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder builderForValue) { @@ -9082,24 +7952,17 @@ public Builder setSource( return this; } /** - * - * *
            * Required. An rpm package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeSource( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { + public Builder mergeSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { if (source_ != null) { source_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder(source_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder(source_).mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -9111,15 +7974,11 @@ public Builder mergeSource( return this; } /** - * - * *
            * Required. An rpm package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSource() { if (sourceBuilder_ == null) { @@ -9133,75 +7992,55 @@ public Builder clearSource() { return this; } /** - * - * *
            * Required. An rpm package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder - getSourceBuilder() { - + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder getSourceBuilder() { + onChanged(); return getSourceFieldBuilder().getBuilder(); } /** - * - * *
            * Required. An rpm package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder - getSourceOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() - : source_; + return source_ == null ? + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() : source_; } } /** - * - * *
            * Required. An rpm package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( - getSource(), getParentForChildren(), isClean()); + sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( + getSource(), + getParentForChildren(), + isClean()); source_ = null; } return sourceBuilder_; } - private boolean pullDeps_; + private boolean pullDeps_ ; /** - * - * *
            * Whether dependencies should also be installed.
            * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -9210,7 +8049,6 @@ public Builder clearSource() {
            * 
* * bool pull_deps = 2; - * * @return The pullDeps. */ @java.lang.Override @@ -9218,8 +8056,6 @@ public boolean getPullDeps() { return pullDeps_; } /** - * - * *
            * Whether dependencies should also be installed.
            * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -9228,19 +8064,16 @@ public boolean getPullDeps() {
            * 
* * bool pull_deps = 2; - * * @param value The pullDeps to set. * @return This builder for chaining. */ public Builder setPullDeps(boolean value) { - + pullDeps_ = value; onChanged(); return this; } /** - * - * *
            * Whether dependencies should also be installed.
            * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -9249,16 +8082,14 @@ public Builder setPullDeps(boolean value) {
            * 
* * bool pull_deps = 2; - * * @return This builder for chaining. */ public Builder clearPullDeps() { - + pullDeps_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9271,33 +8102,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RPM parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RPM(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RPM parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RPM(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9309,45 +8137,37 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface YUMOrBuilder - extends + public interface YUMOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
        * A package managed by YUM.
        * - install: `yum -y install package`
@@ -9356,31 +8176,31 @@ public interface YUMOrBuilder
        *
        * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM}
        */
-      public static final class YUM extends com.google.protobuf.GeneratedMessageV3
-          implements
+      public static final class YUM extends
+          com.google.protobuf.GeneratedMessageV3 implements
           // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM)
           YUMOrBuilder {
-        private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
         // Use YUM.newBuilder() to construct.
         private YUM(com.google.protobuf.GeneratedMessageV3.Builder builder) {
           super(builder);
         }
-
         private YUM() {
           name_ = "";
         }
 
         @java.lang.Override
         @SuppressWarnings({"unused"})
-        protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+        protected java.lang.Object newInstance(
+            UnusedPrivateParameter unused) {
           return new YUM();
         }
 
         @java.lang.Override
-        public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+        public final com.google.protobuf.UnknownFieldSet
+        getUnknownFields() {
           return this.unknownFields;
         }
-
         private YUM(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -9399,20 +8219,19 @@ private YUM(
                 case 0:
                   done = true;
                   break;
-                case 10:
-                  {
-                    java.lang.String s = input.readStringRequireUtf8();
+                case 10: {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                    name_ = s;
-                    break;
-                  }
-                default:
-                  {
-                    if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                      done = true;
-                    }
-                    break;
+                  name_ = s;
+                  break;
+                }
+                default: {
+                  if (!parseUnknownField(
+                      input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
                   }
+                  break;
+                }
               }
             }
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9420,42 +8239,34 @@ private YUM(
           } catch (com.google.protobuf.UninitializedMessageException e) {
             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(this);
+            throw new com.google.protobuf.InvalidProtocolBufferException(
+                e).setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
-
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-              .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-              .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable
+          return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.class,
-                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM
-                      .Builder
-                      .class);
+                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder.class);
         }
 
         public static final int NAME_FIELD_NUMBER = 1;
         private volatile java.lang.Object name_;
         /**
-         *
-         *
          * 
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -9464,29 +8275,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -9495,7 +8306,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9508,7 +8318,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -9532,16 +8342,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9560,105 +8369,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9668,8 +8460,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * A package managed by YUM.
          * - install: `yum -y install package`
@@ -9678,43 +8468,38 @@ protected Builder newBuilderForType(
          *
          * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM}
          */
-        public static final class Builder
-            extends com.google.protobuf.GeneratedMessageV3.Builder
-            implements
+        public static final class Builder extends
+            com.google.protobuf.GeneratedMessageV3.Builder implements
             // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM)
             com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder {
-          public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-            return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-                .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor;
+          public static final com.google.protobuf.Descriptors.Descriptor
+              getDescriptor() {
+            return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor;
           }
 
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
-            return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-                .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable
+            return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
-                    com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.class,
-                    com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM
-                        .Builder
-                        .class);
+                    com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder.class);
           }
 
-          // Construct using
-          // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.newBuilder()
+          // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.newBuilder()
           private Builder() {
             maybeForceBuilderInitialization();
           }
 
-          private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+          private Builder(
+              com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
             super(parent);
             maybeForceBuilderInitialization();
           }
-
           private void maybeForceBuilderInitialization() {
-            if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+            if (com.google.protobuf.GeneratedMessageV3
+                    .alwaysUseFieldBuilders) {
+            }
           }
-
           @java.lang.Override
           public Builder clear() {
             super.clear();
@@ -9724,22 +8509,19 @@ public Builder clear() {
           }
 
           @java.lang.Override
-          public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-            return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-                .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor;
+          public com.google.protobuf.Descriptors.Descriptor
+              getDescriptorForType() {
+            return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor;
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM
-              getDefaultInstanceForType() {
-            return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM
-                .getDefaultInstance();
+          public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM getDefaultInstanceForType() {
+            return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance();
           }
 
           @java.lang.Override
           public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM build() {
-            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM result =
-                buildPartial();
+            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM result = buildPartial();
             if (!result.isInitialized()) {
               throw newUninitializedMessageException(result);
             }
@@ -9747,10 +8529,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM b
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM
-              buildPartial() {
-            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM result =
-                new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM(this);
+          public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM buildPartial() {
+            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM(this);
             result.name_ = name_;
             onBuilt();
             return result;
@@ -9760,55 +8540,46 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM b
           public Builder clone() {
             return super.clone();
           }
-
           @java.lang.Override
           public Builder setField(
-              com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+              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) {
+          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) {
+          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) {
+              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) {
+              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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) {
-              return mergeFrom(
-                  (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) other);
+            if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) {
+              return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM)other);
             } else {
               super.mergeFrom(other);
               return this;
             }
           }
 
-          public Builder mergeFrom(
-              com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM other) {
-            if (other
-                == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM
-                    .getDefaultInstance()) return this;
+          public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM other) {
+            if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance()) return this;
             if (!other.getName().isEmpty()) {
               name_ = other.name_;
               onChanged();
@@ -9828,14 +8599,11 @@ public Builder mergeFrom(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws java.io.IOException {
-            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parsedMessage =
-                null;
+            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parsedMessage = null;
             try {
               parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              parsedMessage =
-                  (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM)
-                      e.getUnfinishedMessage();
+              parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) e.getUnfinishedMessage();
               throw e.unwrapIOException();
             } finally {
               if (parsedMessage != null) {
@@ -9847,20 +8615,18 @@ public Builder mergeFrom(
 
           private java.lang.Object name_ = "";
           /**
-           *
-           *
            * 
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -9869,21 +8635,20 @@ public java.lang.String getName() { } } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -9891,66 +8656,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9963,33 +8720,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YUM parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YUM(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YUM parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YUM(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10001,79 +8755,70 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ZypperOrBuilder - extends + public interface ZypperOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
        * A package managed by Zypper.
        * - install: `zypper -y install package`
        * - remove: `zypper -y rm package`
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper} */ - public static final class Zypper extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Zypper extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) ZypperOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Zypper.newBuilder() to construct. private Zypper(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Zypper() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Zypper(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Zypper( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10092,20 +8837,19 @@ private Zypper( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10113,41 +8857,34 @@ private Zypper( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder - .class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -10156,29 +8893,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -10187,7 +8924,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10200,7 +8936,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -10224,17 +8960,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -10253,105 +8987,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10361,54 +9078,46 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * A package managed by Zypper.
          * - install: `zypper -y install package`
          * - remove: `zypper -y rm package`
          * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - .class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - .Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -10418,23 +9127,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper result = - buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper build() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -10442,11 +9147,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper result = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper( - this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper(this); result.name_ = name_; onBuilt(); return result; @@ -10456,56 +9158,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) - other); + if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -10525,14 +9217,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -10544,20 +9233,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -10566,21 +9253,20 @@ public java.lang.String getName() { } } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -10588,66 +9274,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10660,34 +9338,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .Zypper - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Zypper parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Zypper(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Zypper parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Zypper(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10699,79 +9373,70 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GooGetOrBuilder - extends + public interface GooGetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
        * A package managed by GooGet.
        * - install: `googet -noconfirm install package`
        * - remove: `googet -noconfirm remove package`
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet} */ - public static final class GooGet extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GooGet extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) GooGetOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GooGet.newBuilder() to construct. private GooGet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GooGet() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GooGet(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GooGet( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10790,20 +9455,19 @@ private GooGet( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10811,41 +9475,34 @@ private GooGet( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder - .class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -10854,29 +9511,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -10885,7 +9542,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10898,7 +9554,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -10922,17 +9578,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -10951,105 +9605,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11059,54 +9696,46 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * A package managed by GooGet.
          * - install: `googet -noconfirm install package`
          * - remove: `googet -noconfirm remove package`
          * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - .class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - .Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -11116,23 +9745,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet result = - buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet build() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -11140,11 +9765,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet result = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet( - this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet(this); result.name_ = name_; onBuilt(); return result; @@ -11154,56 +9776,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) - other); + if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -11223,14 +9835,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -11242,20 +9851,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -11264,21 +9871,20 @@ public java.lang.String getName() { } } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -11286,66 +9892,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11358,34 +9956,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .GooGet - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GooGet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GooGet(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GooGet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GooGet(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11397,61 +9991,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface MSIOrBuilder - extends + public interface MSIOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. The MSI package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ boolean hasSource(); /** - * - * *
          * Required. The MSI package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource(); /** - * - * *
          * Required. The MSI package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder(); /** - * - * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -11460,13 +10037,11 @@ public interface MSIOrBuilder
          * 
* * repeated string properties = 2; - * * @return A list containing the properties. */ - java.util.List getPropertiesList(); + java.util.List + getPropertiesList(); /** - * - * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -11475,13 +10050,10 @@ public interface MSIOrBuilder
          * 
* * repeated string properties = 2; - * * @return The count of properties. */ int getPropertiesCount(); /** - * - * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -11490,14 +10062,11 @@ public interface MSIOrBuilder
          * 
* * repeated string properties = 2; - * * @param index The index of the element to return. * @return The properties at the given index. */ java.lang.String getProperties(int index); /** - * - * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -11506,46 +10075,44 @@ public interface MSIOrBuilder
          * 
* * repeated string properties = 2; - * * @param index The index of the value to return. * @return The bytes of the properties at the given index. */ - com.google.protobuf.ByteString getPropertiesBytes(int index); + com.google.protobuf.ByteString + getPropertiesBytes(int index); } /** - * - * *
        * An MSI package. MSI packages only support INSTALLED state.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI} */ - public static final class MSI extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MSI extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) MSIOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MSI.newBuilder() to construct. private MSI(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MSI() { properties_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MSI(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MSI( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -11565,41 +10132,35 @@ private MSI( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = - null; - if (source_ != null) { - subBuilder = source_.toBuilder(); - } - source_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(source_); - source_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = null; + if (source_ != null) { + subBuilder = source_.toBuilder(); + } + source_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(source_); + source_ = subBuilder.buildPartial(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - properties_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - properties_.add(s); - break; + + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + properties_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + properties_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -11607,8 +10168,8 @@ private MSI( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { properties_ = properties_.getUnmodifiableView(); @@ -11617,37 +10178,27 @@ private MSI( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - .Builder - .class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder.class); } public static final int SOURCE_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source_; /** - * - * *
          * Required. The MSI package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ @java.lang.Override @@ -11655,46 +10206,32 @@ public boolean hasSource() { return source_ != null; } /** - * - * *
          * Required. The MSI package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource() { - return source_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() : source_; } /** - * - * *
          * Required. The MSI package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder - getSourceOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { return getSource(); } public static final int PROPERTIES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList properties_; /** - * - * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -11703,15 +10240,13 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource() {
          * 
* * repeated string properties = 2; - * * @return A list containing the properties. */ - public com.google.protobuf.ProtocolStringList getPropertiesList() { + public com.google.protobuf.ProtocolStringList + getPropertiesList() { return properties_; } /** - * - * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -11720,15 +10255,12 @@ public com.google.protobuf.ProtocolStringList getPropertiesList() {
          * 
* * repeated string properties = 2; - * * @return The count of properties. */ public int getPropertiesCount() { return properties_.size(); } /** - * - * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -11737,7 +10269,6 @@ public int getPropertiesCount() {
          * 
* * repeated string properties = 2; - * * @param index The index of the element to return. * @return The properties at the given index. */ @@ -11745,8 +10276,6 @@ public java.lang.String getProperties(int index) { return properties_.get(index); } /** - * - * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -11755,16 +10284,15 @@ public java.lang.String getProperties(int index) {
          * 
* * repeated string properties = 2; - * * @param index The index of the value to return. * @return The bytes of the properties at the given index. */ - public com.google.protobuf.ByteString getPropertiesBytes(int index) { + public com.google.protobuf.ByteString + getPropertiesBytes(int index) { return properties_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11777,7 +10305,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (source_ != null) { output.writeMessage(1, getSource()); } @@ -11794,7 +10322,8 @@ public int getSerializedSize() { size = 0; if (source_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSource()); } { int dataSize = 0; @@ -11812,20 +10341,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) obj; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource().equals(other.getSource())) return false; + if (!getSource() + .equals(other.getSource())) return false; } - if (!getPropertiesList().equals(other.getPropertiesList())) return false; + if (!getPropertiesList() + .equals(other.getPropertiesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11850,105 +10379,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11958,51 +10470,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * An MSI package. MSI packages only support INSTALLED state.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - .Builder - .class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -12018,22 +10523,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI result = - buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -12041,10 +10543,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI b } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI result = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI(this); int from_bitField0_ = bitField0_; if (sourceBuilder_ == null) { result.source_ = source_; @@ -12064,55 +10564,46 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) other); + if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance()) return this; if (other.hasSource()) { mergeSource(other.getSource()); } @@ -12141,14 +10632,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parsedMessage = - null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12157,63 +10645,43 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> - sourceBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> sourceBuilder_; /** - * - * *
            * Required. The MSI package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ public boolean hasSource() { return sourceBuilder_ != null || source_ != null; } /** - * - * *
            * Required. The MSI package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource() { if (sourceBuilder_ == null) { - return source_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() : source_; } else { return sourceBuilder_.getMessage(); } } /** - * - * *
            * Required. The MSI package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { @@ -12229,15 +10697,11 @@ public Builder setSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Fil return this; } /** - * - * *
            * Required. The MSI package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSource( com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder builderForValue) { @@ -12251,24 +10715,17 @@ public Builder setSource( return this; } /** - * - * *
            * Required. The MSI package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeSource( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { + public Builder mergeSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { if (source_ != null) { source_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder(source_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder(source_).mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -12280,15 +10737,11 @@ public Builder mergeSource( return this; } /** - * - * *
            * Required. The MSI package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSource() { if (sourceBuilder_ == null) { @@ -12302,83 +10755,61 @@ public Builder clearSource() { return this; } /** - * - * *
            * Required. The MSI package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder - getSourceBuilder() { - + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder getSourceBuilder() { + onChanged(); return getSourceFieldBuilder().getBuilder(); } /** - * - * *
            * Required. The MSI package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder - getSourceOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() - : source_; + return source_ == null ? + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() : source_; } } /** - * - * *
            * Required. The MSI package.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( - getSource(), getParentForChildren(), isClean()); + sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( + getSource(), + getParentForChildren(), + isClean()); source_ = null; } return sourceBuilder_; } - private com.google.protobuf.LazyStringList properties_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList properties_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePropertiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { properties_ = new com.google.protobuf.LazyStringArrayList(properties_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -12387,15 +10818,13 @@ private void ensurePropertiesIsMutable() {
            * 
* * repeated string properties = 2; - * * @return A list containing the properties. */ - public com.google.protobuf.ProtocolStringList getPropertiesList() { + public com.google.protobuf.ProtocolStringList + getPropertiesList() { return properties_.getUnmodifiableView(); } /** - * - * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -12404,15 +10833,12 @@ public com.google.protobuf.ProtocolStringList getPropertiesList() {
            * 
* * repeated string properties = 2; - * * @return The count of properties. */ public int getPropertiesCount() { return properties_.size(); } /** - * - * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -12421,7 +10847,6 @@ public int getPropertiesCount() {
            * 
* * repeated string properties = 2; - * * @param index The index of the element to return. * @return The properties at the given index. */ @@ -12429,8 +10854,6 @@ public java.lang.String getProperties(int index) { return properties_.get(index); } /** - * - * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -12439,16 +10862,14 @@ public java.lang.String getProperties(int index) {
            * 
* * repeated string properties = 2; - * * @param index The index of the value to return. * @return The bytes of the properties at the given index. */ - public com.google.protobuf.ByteString getPropertiesBytes(int index) { + public com.google.protobuf.ByteString + getPropertiesBytes(int index) { return properties_.getByteString(index); } /** - * - * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -12457,23 +10878,21 @@ public com.google.protobuf.ByteString getPropertiesBytes(int index) {
            * 
* * repeated string properties = 2; - * * @param index The index to set the value at. * @param value The properties to set. * @return This builder for chaining. */ - public Builder setProperties(int index, java.lang.String value) { + public Builder setProperties( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePropertiesIsMutable(); + throw new NullPointerException(); + } + ensurePropertiesIsMutable(); properties_.set(index, value); onChanged(); return this; } /** - * - * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -12482,22 +10901,20 @@ public Builder setProperties(int index, java.lang.String value) {
            * 
* * repeated string properties = 2; - * * @param value The properties to add. * @return This builder for chaining. */ - public Builder addProperties(java.lang.String value) { + public Builder addProperties( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePropertiesIsMutable(); + throw new NullPointerException(); + } + ensurePropertiesIsMutable(); properties_.add(value); onChanged(); return this; } /** - * - * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -12506,19 +10923,18 @@ public Builder addProperties(java.lang.String value) {
            * 
* * repeated string properties = 2; - * * @param values The properties to add. * @return This builder for chaining. */ - public Builder addAllProperties(java.lang.Iterable values) { + public Builder addAllProperties( + java.lang.Iterable values) { ensurePropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, properties_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, properties_); onChanged(); return this; } /** - * - * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -12527,7 +10943,6 @@ public Builder addAllProperties(java.lang.Iterable values) {
            * 
* * repeated string properties = 2; - * * @return This builder for chaining. */ public Builder clearProperties() { @@ -12537,8 +10952,6 @@ public Builder clearProperties() { return this; } /** - * - * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -12547,21 +10960,20 @@ public Builder clearProperties() {
            * 
* * repeated string properties = 2; - * * @param value The bytes of the properties to add. * @return This builder for chaining. */ - public Builder addPropertiesBytes(com.google.protobuf.ByteString value) { + public Builder addPropertiesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePropertiesIsMutable(); properties_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12574,33 +10986,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MSI parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MSI(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MSI parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MSI(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12612,18 +11021,16 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int systemPackageCase_ = 0; private java.lang.Object systemPackage_; - public enum SystemPackageCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { APT(2), DEB(3), @@ -12634,7 +11041,6 @@ public enum SystemPackageCase MSI(8), SYSTEMPACKAGE_NOT_SET(0); private final int value; - private SystemPackageCase(int value) { this.value = value; } @@ -12650,91 +11056,62 @@ public static SystemPackageCase valueOf(int value) { public static SystemPackageCase forNumber(int value) { switch (value) { - case 2: - return APT; - case 3: - return DEB; - case 4: - return YUM; - case 5: - return ZYPPER; - case 6: - return RPM; - case 7: - return GOOGET; - case 8: - return MSI; - case 0: - return SYSTEMPACKAGE_NOT_SET; - default: - return null; + case 2: return APT; + case 3: return DEB; + case 4: return YUM; + case 5: return ZYPPER; + case 6: return RPM; + case 7: return GOOGET; + case 8: return MSI; + case 0: return SYSTEMPACKAGE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SystemPackageCase getSystemPackageCase() { - return SystemPackageCase.forNumber(systemPackageCase_); + public SystemPackageCase + getSystemPackageCase() { + return SystemPackageCase.forNumber( + systemPackageCase_); } public static final int DESIRED_STATE_FIELD_NUMBER = 1; private int desiredState_; /** - * - * *
        * Required. The desired state the agent should maintain for this package.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for desiredState. */ - @java.lang.Override - public int getDesiredStateValue() { + @java.lang.Override public int getDesiredStateValue() { return desiredState_; } /** - * - * *
        * Required. The desired state the agent should maintain for this package.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The desiredState. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState - getDesiredState() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState getDesiredState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState result = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState - .valueOf(desiredState_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState - .UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState result = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState.valueOf(desiredState_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState.UNRECOGNIZED : result; } public static final int APT_FIELD_NUMBER = 2; /** - * - * *
        * A package managed by Apt.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; - * * @return Whether the apt field is set. */ @java.lang.Override @@ -12742,28 +11119,21 @@ public boolean hasApt() { return systemPackageCase_ == 2; } /** - * - * *
        * A package managed by Apt.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; - * * @return The apt. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT getApt() { if (systemPackageCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); } /** - * - * *
        * A package managed by Apt.
        * 
@@ -12771,26 +11141,20 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT g * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder - getAptOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder getAptOrBuilder() { if (systemPackageCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); } public static final int DEB_FIELD_NUMBER = 3; /** - * - * *
        * A deb package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; - * * @return Whether the deb field is set. */ @java.lang.Override @@ -12798,28 +11162,21 @@ public boolean hasDeb() { return systemPackageCase_ == 3; } /** - * - * *
        * A deb package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; - * * @return The deb. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb getDeb() { if (systemPackageCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); } /** - * - * *
        * A deb package file.
        * 
@@ -12827,26 +11184,20 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb g * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder - getDebOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder getDebOrBuilder() { if (systemPackageCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); } public static final int YUM_FIELD_NUMBER = 4; /** - * - * *
        * A package managed by YUM.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; - * * @return Whether the yum field is set. */ @java.lang.Override @@ -12854,28 +11205,21 @@ public boolean hasYum() { return systemPackageCase_ == 4; } /** - * - * *
        * A package managed by YUM.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; - * * @return The yum. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM getYum() { if (systemPackageCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); } /** - * - * *
        * A package managed by YUM.
        * 
@@ -12883,27 +11227,20 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM g * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder - getYumOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder getYumOrBuilder() { if (systemPackageCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); } public static final int ZYPPER_FIELD_NUMBER = 5; /** - * - * *
        * A package managed by Zypper.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; * @return Whether the zypper field is set. */ @java.lang.Override @@ -12911,58 +11248,42 @@ public boolean hasZypper() { return systemPackageCase_ == 5; } /** - * - * *
        * A package managed by Zypper.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; * @return The zypper. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - getZypper() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper getZypper() { if (systemPackageCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); } /** - * - * *
        * A package managed by Zypper.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder - getZypperOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder getZypperOrBuilder() { if (systemPackageCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); } public static final int RPM_FIELD_NUMBER = 6; /** - * - * *
        * An rpm package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; - * * @return Whether the rpm field is set. */ @java.lang.Override @@ -12970,28 +11291,21 @@ public boolean hasRpm() { return systemPackageCase_ == 6; } /** - * - * *
        * An rpm package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; - * * @return The rpm. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM getRpm() { if (systemPackageCase_ == 6) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); } /** - * - * *
        * An rpm package file.
        * 
@@ -12999,27 +11313,20 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM g * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder - getRpmOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder getRpmOrBuilder() { if (systemPackageCase_ == 6) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); } public static final int GOOGET_FIELD_NUMBER = 7; /** - * - * *
        * A package managed by GooGet.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; * @return Whether the googet field is set. */ @java.lang.Override @@ -13027,58 +11334,42 @@ public boolean hasGooget() { return systemPackageCase_ == 7; } /** - * - * *
        * A package managed by GooGet.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; * @return The googet. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - getGooget() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet getGooget() { if (systemPackageCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); } /** - * - * *
        * A package managed by GooGet.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder - getGoogetOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder getGoogetOrBuilder() { if (systemPackageCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); } public static final int MSI_FIELD_NUMBER = 8; /** - * - * *
        * An MSI package.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; - * * @return Whether the msi field is set. */ @java.lang.Override @@ -13086,28 +11377,21 @@ public boolean hasMsi() { return systemPackageCase_ == 8; } /** - * - * *
        * An MSI package.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; - * * @return The msi. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI getMsi() { if (systemPackageCase_ == 8) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); } /** - * - * *
        * An MSI package.
        * 
@@ -13115,18 +11399,14 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI g * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder - getMsiOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder getMsiOrBuilder() { if (systemPackageCase_ == 8) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13138,54 +11418,31 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (desiredState_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState - .DESIRED_STATE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (desiredState_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, desiredState_); } if (systemPackageCase_ == 2) { - output.writeMessage( - 2, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) - systemPackage_); + output.writeMessage(2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_); } if (systemPackageCase_ == 3) { - output.writeMessage( - 3, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) - systemPackage_); + output.writeMessage(3, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_); } if (systemPackageCase_ == 4) { - output.writeMessage( - 4, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) - systemPackage_); + output.writeMessage(4, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_); } if (systemPackageCase_ == 5) { - output.writeMessage( - 5, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) - systemPackage_); + output.writeMessage(5, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_); } if (systemPackageCase_ == 6) { - output.writeMessage( - 6, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) - systemPackage_); + output.writeMessage(6, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_); } if (systemPackageCase_ == 7) { - output.writeMessage( - 7, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) - systemPackage_); + output.writeMessage(7, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_); } if (systemPackageCase_ == 8) { - output.writeMessage( - 8, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) - systemPackage_); + output.writeMessage(8, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_); } unknownFields.writeTo(output); } @@ -13196,60 +11453,37 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (desiredState_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState - .DESIRED_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, desiredState_); + if (desiredState_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, desiredState_); } if (systemPackageCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) - systemPackage_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_); } if (systemPackageCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) - systemPackage_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_); } if (systemPackageCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) - systemPackage_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_); } if (systemPackageCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) - systemPackage_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_); } if (systemPackageCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) - systemPackage_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_); } if (systemPackageCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) - systemPackage_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_); } if (systemPackageCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) - systemPackage_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -13259,37 +11493,43 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) obj; if (desiredState_ != other.desiredState_) return false; if (!getSystemPackageCase().equals(other.getSystemPackageCase())) return false; switch (systemPackageCase_) { case 2: - if (!getApt().equals(other.getApt())) return false; + if (!getApt() + .equals(other.getApt())) return false; break; case 3: - if (!getDeb().equals(other.getDeb())) return false; + if (!getDeb() + .equals(other.getDeb())) return false; break; case 4: - if (!getYum().equals(other.getYum())) return false; + if (!getYum() + .equals(other.getYum())) return false; break; case 5: - if (!getZypper().equals(other.getZypper())) return false; + if (!getZypper() + .equals(other.getZypper())) return false; break; case 6: - if (!getRpm().equals(other.getRpm())) return false; + if (!getRpm() + .equals(other.getRpm())) return false; break; case 7: - if (!getGooget().equals(other.getGooget())) return false; + if (!getGooget() + .equals(other.getGooget())) return false; break; case 8: - if (!getMsi().equals(other.getMsi())) return false; + if (!getMsi() + .equals(other.getMsi())) return false; break; case 0: default: @@ -13345,96 +11585,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -13444,50 +11675,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A resource that manages a system package.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder - .class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -13499,22 +11724,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource result = - buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -13523,8 +11745,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource build @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource result = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource(this); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource(this); result.desiredState_ = desiredState_; if (systemPackageCase_ == 2) { if (aptBuilder_ == null) { @@ -13584,97 +11805,81 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) other); + if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDefaultInstance()) return this; if (other.desiredState_ != 0) { setDesiredStateValue(other.getDesiredStateValue()); } switch (other.getSystemPackageCase()) { - case APT: - { - mergeApt(other.getApt()); - break; - } - case DEB: - { - mergeDeb(other.getDeb()); - break; - } - case YUM: - { - mergeYum(other.getYum()); - break; - } - case ZYPPER: - { - mergeZypper(other.getZypper()); - break; - } - case RPM: - { - mergeRpm(other.getRpm()); - break; - } - case GOOGET: - { - mergeGooget(other.getGooget()); - break; - } - case MSI: - { - mergeMsi(other.getMsi()); - break; - } - case SYSTEMPACKAGE_NOT_SET: - { - break; - } + case APT: { + mergeApt(other.getApt()); + break; + } + case DEB: { + mergeDeb(other.getDeb()); + break; + } + case YUM: { + mergeYum(other.getYum()); + break; + } + case ZYPPER: { + mergeZypper(other.getZypper()); + break; + } + case RPM: { + mergeRpm(other.getRpm()); + break; + } + case GOOGET: { + mergeGooget(other.getGooget()); + break; + } + case MSI: { + mergeMsi(other.getMsi()); + break; + } + case SYSTEMPACKAGE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -13695,9 +11900,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -13706,12 +11909,12 @@ public Builder mergeFrom( } return this; } - private int systemPackageCase_ = 0; private java.lang.Object systemPackage_; - - public SystemPackageCase getSystemPackageCase() { - return SystemPackageCase.forNumber(systemPackageCase_); + public SystemPackageCase + getSystemPackageCase() { + return SystemPackageCase.forNumber( + systemPackageCase_); } public Builder clearSystemPackage() { @@ -13721,129 +11924,89 @@ public Builder clearSystemPackage() { return this; } + private int desiredState_ = 0; /** - * - * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for desiredState. */ - @java.lang.Override - public int getDesiredStateValue() { + @java.lang.Override public int getDesiredStateValue() { return desiredState_; } /** - * - * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for desiredState to set. * @return This builder for chaining. */ public Builder setDesiredStateValue(int value) { - + desiredState_ = value; onChanged(); return this; } /** - * - * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The desiredState. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState - getDesiredState() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState getDesiredState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState result = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState - .valueOf(desiredState_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState - .UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState result = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState.valueOf(desiredState_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState.UNRECOGNIZED : result; } /** - * - * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The desiredState to set. * @return This builder for chaining. */ - public Builder setDesiredState( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState - value) { + public Builder setDesiredState(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState value) { if (value == null) { throw new NullPointerException(); } - + desiredState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearDesiredState() { - + desiredState_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder> - aptBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder> aptBuilder_; /** - * - * *
          * A package managed by Apt.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; * @return Whether the apt field is set. */ @java.lang.Override @@ -13851,46 +12014,35 @@ public boolean hasApt() { return systemPackageCase_ == 2; } /** - * - * *
          * A package managed by Apt.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; * @return The apt. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT getApt() { if (aptBuilder_ == null) { if (systemPackageCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); } else { if (systemPackageCase_ == 2) { return aptBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); } } /** - * - * *
          * A package managed by Apt.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; */ - public Builder setApt( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT value) { + public Builder setApt(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT value) { if (aptBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13904,18 +12056,14 @@ public Builder setApt( return this; } /** - * - * *
          * A package managed by Apt.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; */ public Builder setApt( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder builderForValue) { if (aptBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -13926,29 +12074,18 @@ public Builder setApt( return this; } /** - * - * *
          * A package managed by Apt.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; */ - public Builder mergeApt( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT value) { + public Builder mergeApt(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT value) { if (aptBuilder_ == null) { - if (systemPackageCase_ == 2 - && systemPackage_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - .getDefaultInstance()) { - systemPackage_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - .newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) - systemPackage_) - .mergeFrom(value) - .buildPartial(); + if (systemPackageCase_ == 2 && + systemPackage_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.getDefaultInstance()) { + systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_) + .mergeFrom(value).buildPartial(); } else { systemPackage_ = value; } @@ -13964,14 +12101,11 @@ public Builder mergeApt( return this; } /** - * - * *
          * A package managed by Apt.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; */ public Builder clearApt() { if (aptBuilder_ == null) { @@ -13990,97 +12124,67 @@ public Builder clearApt() { return this; } /** - * - * *
          * A package managed by Apt.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder - getAptBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder getAptBuilder() { return getAptFieldBuilder().getBuilder(); } /** - * - * *
          * A package managed by Apt.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder - getAptOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder getAptOrBuilder() { if ((systemPackageCase_ == 2) && (aptBuilder_ != null)) { return aptBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); } } /** - * - * *
          * A package managed by Apt.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder> getAptFieldBuilder() { if (aptBuilder_ == null) { if (!(systemPackageCase_ == 2)) { - systemPackage_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT - .getDefaultInstance(); - } - aptBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .APTOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) - systemPackage_, + systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); + } + aptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 2; - onChanged(); - ; + onChanged();; return aptBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder> - debBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder> debBuilder_; /** - * - * *
          * A deb package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; * @return Whether the deb field is set. */ @java.lang.Override @@ -14088,46 +12192,35 @@ public boolean hasDeb() { return systemPackageCase_ == 3; } /** - * - * *
          * A deb package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; * @return The deb. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb getDeb() { if (debBuilder_ == null) { if (systemPackageCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); } else { if (systemPackageCase_ == 3) { return debBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); } } /** - * - * *
          * A deb package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; */ - public Builder setDeb( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb value) { + public Builder setDeb(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb value) { if (debBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14141,18 +12234,14 @@ public Builder setDeb( return this; } /** - * - * *
          * A deb package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; */ public Builder setDeb( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder builderForValue) { if (debBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -14163,29 +12252,18 @@ public Builder setDeb( return this; } /** - * - * *
          * A deb package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; */ - public Builder mergeDeb( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb value) { + public Builder mergeDeb(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb value) { if (debBuilder_ == null) { - if (systemPackageCase_ == 3 - && systemPackage_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - .getDefaultInstance()) { - systemPackage_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - .newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) - systemPackage_) - .mergeFrom(value) - .buildPartial(); + if (systemPackageCase_ == 3 && + systemPackage_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance()) { + systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_) + .mergeFrom(value).buildPartial(); } else { systemPackage_ = value; } @@ -14201,14 +12279,11 @@ public Builder mergeDeb( return this; } /** - * - * *
          * A deb package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; */ public Builder clearDeb() { if (debBuilder_ == null) { @@ -14227,97 +12302,67 @@ public Builder clearDeb() { return this; } /** - * - * *
          * A deb package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder - getDebBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder getDebBuilder() { return getDebFieldBuilder().getBuilder(); } /** - * - * *
          * A deb package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder - getDebOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder getDebOrBuilder() { if ((systemPackageCase_ == 3) && (debBuilder_ != null)) { return debBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); } } /** - * - * *
          * A deb package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder> getDebFieldBuilder() { if (debBuilder_ == null) { if (!(systemPackageCase_ == 3)) { - systemPackage_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb - .getDefaultInstance(); - } - debBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .DebOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) - systemPackage_, + systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); + } + debBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 3; - onChanged(); - ; + onChanged();; return debBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder> - yumBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder> yumBuilder_; /** - * - * *
          * A package managed by YUM.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; * @return Whether the yum field is set. */ @java.lang.Override @@ -14325,46 +12370,35 @@ public boolean hasYum() { return systemPackageCase_ == 4; } /** - * - * *
          * A package managed by YUM.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; * @return The yum. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM getYum() { if (yumBuilder_ == null) { if (systemPackageCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); } else { if (systemPackageCase_ == 4) { return yumBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); } } /** - * - * *
          * A package managed by YUM.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; */ - public Builder setYum( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM value) { + public Builder setYum(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM value) { if (yumBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14378,18 +12412,14 @@ public Builder setYum( return this; } /** - * - * *
          * A package managed by YUM.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; */ public Builder setYum( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder builderForValue) { if (yumBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -14400,29 +12430,18 @@ public Builder setYum( return this; } /** - * - * *
          * A package managed by YUM.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; */ - public Builder mergeYum( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM value) { + public Builder mergeYum(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM value) { if (yumBuilder_ == null) { - if (systemPackageCase_ == 4 - && systemPackage_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - .getDefaultInstance()) { - systemPackage_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - .newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) - systemPackage_) - .mergeFrom(value) - .buildPartial(); + if (systemPackageCase_ == 4 && + systemPackage_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance()) { + systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_) + .mergeFrom(value).buildPartial(); } else { systemPackage_ = value; } @@ -14438,14 +12457,11 @@ public Builder mergeYum( return this; } /** - * - * *
          * A package managed by YUM.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; */ public Builder clearYum() { if (yumBuilder_ == null) { @@ -14464,97 +12480,67 @@ public Builder clearYum() { return this; } /** - * - * *
          * A package managed by YUM.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder - getYumBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder getYumBuilder() { return getYumFieldBuilder().getBuilder(); } /** - * - * *
          * A package managed by YUM.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder - getYumOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder getYumOrBuilder() { if ((systemPackageCase_ == 4) && (yumBuilder_ != null)) { return yumBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); } } /** - * - * *
          * A package managed by YUM.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder> getYumFieldBuilder() { if (yumBuilder_ == null) { if (!(systemPackageCase_ == 4)) { - systemPackage_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM - .getDefaultInstance(); - } - yumBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .YUMOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) - systemPackage_, + systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); + } + yumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 4; - onChanged(); - ; + onChanged();; return yumBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder> - zypperBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder> zypperBuilder_; /** - * - * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; * @return Whether the zypper field is set. */ @java.lang.Override @@ -14562,47 +12548,35 @@ public boolean hasZypper() { return systemPackageCase_ == 5; } /** - * - * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; * @return The zypper. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - getZypper() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper getZypper() { if (zypperBuilder_ == null) { if (systemPackageCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); } else { if (systemPackageCase_ == 5) { return zypperBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); } } /** - * - * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ - public Builder setZypper( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper value) { + public Builder setZypper(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper value) { if (zypperBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14616,18 +12590,14 @@ public Builder setZypper( return this; } /** - * - * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ public Builder setZypper( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder builderForValue) { if (zypperBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -14638,30 +12608,18 @@ public Builder setZypper( return this; } /** - * - * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ - public Builder mergeZypper( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper value) { + public Builder mergeZypper(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper value) { if (zypperBuilder_ == null) { - if (systemPackageCase_ == 5 - && systemPackage_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - .getDefaultInstance()) { - systemPackage_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - .newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .Zypper) - systemPackage_) - .mergeFrom(value) - .buildPartial(); + if (systemPackageCase_ == 5 && + systemPackage_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance()) { + systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_) + .mergeFrom(value).buildPartial(); } else { systemPackage_ = value; } @@ -14677,14 +12635,11 @@ public Builder mergeZypper( return this; } /** - * - * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ public Builder clearZypper() { if (zypperBuilder_ == null) { @@ -14703,98 +12658,67 @@ public Builder clearZypper() { return this; } /** - * - * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder - getZypperBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder getZypperBuilder() { return getZypperFieldBuilder().getBuilder(); } /** - * - * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder - getZypperOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder getZypperOrBuilder() { if ((systemPackageCase_ == 5) && (zypperBuilder_ != null)) { return zypperBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); } } /** - * - * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder> getZypperFieldBuilder() { if (zypperBuilder_ == null) { if (!(systemPackageCase_ == 5)) { - systemPackage_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - .getDefaultInstance(); - } - zypperBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper - .Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .ZypperOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) - systemPackage_, + systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); + } + zypperBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 5; - onChanged(); - ; + onChanged();; return zypperBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder> - rpmBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder> rpmBuilder_; /** - * - * *
          * An rpm package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; * @return Whether the rpm field is set. */ @java.lang.Override @@ -14802,46 +12726,35 @@ public boolean hasRpm() { return systemPackageCase_ == 6; } /** - * - * *
          * An rpm package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; * @return The rpm. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM getRpm() { if (rpmBuilder_ == null) { if (systemPackageCase_ == 6) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); } else { if (systemPackageCase_ == 6) { return rpmBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); } } /** - * - * *
          * An rpm package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ - public Builder setRpm( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM value) { + public Builder setRpm(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM value) { if (rpmBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14855,18 +12768,14 @@ public Builder setRpm( return this; } /** - * - * *
          * An rpm package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ public Builder setRpm( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder builderForValue) { if (rpmBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -14877,29 +12786,18 @@ public Builder setRpm( return this; } /** - * - * *
          * An rpm package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ - public Builder mergeRpm( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM value) { + public Builder mergeRpm(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM value) { if (rpmBuilder_ == null) { - if (systemPackageCase_ == 6 - && systemPackage_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - .getDefaultInstance()) { - systemPackage_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - .newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) - systemPackage_) - .mergeFrom(value) - .buildPartial(); + if (systemPackageCase_ == 6 && + systemPackage_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance()) { + systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_) + .mergeFrom(value).buildPartial(); } else { systemPackage_ = value; } @@ -14915,14 +12813,11 @@ public Builder mergeRpm( return this; } /** - * - * *
          * An rpm package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ public Builder clearRpm() { if (rpmBuilder_ == null) { @@ -14941,97 +12836,67 @@ public Builder clearRpm() { return this; } /** - * - * *
          * An rpm package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder - getRpmBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder getRpmBuilder() { return getRpmFieldBuilder().getBuilder(); } /** - * - * *
          * An rpm package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder - getRpmOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder getRpmOrBuilder() { if ((systemPackageCase_ == 6) && (rpmBuilder_ != null)) { return rpmBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 6) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); } } /** - * - * *
          * An rpm package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder> getRpmFieldBuilder() { if (rpmBuilder_ == null) { if (!(systemPackageCase_ == 6)) { - systemPackage_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM - .getDefaultInstance(); - } - rpmBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .RPMOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) - systemPackage_, + systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); + } + rpmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 6; - onChanged(); - ; + onChanged();; return rpmBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder> - googetBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder> googetBuilder_; /** - * - * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; * @return Whether the googet field is set. */ @java.lang.Override @@ -15039,47 +12904,35 @@ public boolean hasGooget() { return systemPackageCase_ == 7; } /** - * - * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; * @return The googet. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - getGooget() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet getGooget() { if (googetBuilder_ == null) { if (systemPackageCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); } else { if (systemPackageCase_ == 7) { return googetBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); } } /** - * - * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ - public Builder setGooget( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet value) { + public Builder setGooget(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet value) { if (googetBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -15093,18 +12946,14 @@ public Builder setGooget( return this; } /** - * - * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ public Builder setGooget( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder builderForValue) { if (googetBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -15115,30 +12964,18 @@ public Builder setGooget( return this; } /** - * - * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ - public Builder mergeGooget( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet value) { + public Builder mergeGooget(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet value) { if (googetBuilder_ == null) { - if (systemPackageCase_ == 7 - && systemPackage_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - .getDefaultInstance()) { - systemPackage_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - .newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .GooGet) - systemPackage_) - .mergeFrom(value) - .buildPartial(); + if (systemPackageCase_ == 7 && + systemPackage_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance()) { + systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_) + .mergeFrom(value).buildPartial(); } else { systemPackage_ = value; } @@ -15154,14 +12991,11 @@ public Builder mergeGooget( return this; } /** - * - * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ public Builder clearGooget() { if (googetBuilder_ == null) { @@ -15180,98 +13014,67 @@ public Builder clearGooget() { return this; } /** - * - * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder - getGoogetBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder getGoogetBuilder() { return getGoogetFieldBuilder().getBuilder(); } /** - * - * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder - getGoogetOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder getGoogetOrBuilder() { if ((systemPackageCase_ == 7) && (googetBuilder_ != null)) { return googetBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); } } /** - * - * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder> getGoogetFieldBuilder() { if (googetBuilder_ == null) { if (!(systemPackageCase_ == 7)) { - systemPackage_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - .getDefaultInstance(); - } - googetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet - .Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .GooGetOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) - systemPackage_, + systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); + } + googetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 7; - onChanged(); - ; + onChanged();; return googetBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder> - msiBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder> msiBuilder_; /** - * - * *
          * An MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; * @return Whether the msi field is set. */ @java.lang.Override @@ -15279,46 +13082,35 @@ public boolean hasMsi() { return systemPackageCase_ == 8; } /** - * - * *
          * An MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; * @return The msi. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI getMsi() { if (msiBuilder_ == null) { if (systemPackageCase_ == 8) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); } else { if (systemPackageCase_ == 8) { return msiBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); } } /** - * - * *
          * An MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; */ - public Builder setMsi( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI value) { + public Builder setMsi(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI value) { if (msiBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -15332,18 +13124,14 @@ public Builder setMsi( return this; } /** - * - * *
          * An MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; */ public Builder setMsi( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder builderForValue) { if (msiBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -15354,29 +13142,18 @@ public Builder setMsi( return this; } /** - * - * *
          * An MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; */ - public Builder mergeMsi( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI value) { + public Builder mergeMsi(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI value) { if (msiBuilder_ == null) { - if (systemPackageCase_ == 8 - && systemPackage_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - .getDefaultInstance()) { - systemPackage_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - .newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) - systemPackage_) - .mergeFrom(value) - .buildPartial(); + if (systemPackageCase_ == 8 && + systemPackage_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance()) { + systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_) + .mergeFrom(value).buildPartial(); } else { systemPackage_ = value; } @@ -15392,14 +13169,11 @@ public Builder mergeMsi( return this; } /** - * - * *
          * An MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; */ public Builder clearMsi() { if (msiBuilder_ == null) { @@ -15418,82 +13192,58 @@ public Builder clearMsi() { return this; } /** - * - * *
          * An MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder - getMsiBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder getMsiBuilder() { return getMsiFieldBuilder().getBuilder(); } /** - * - * *
          * An MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder - getMsiOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder getMsiOrBuilder() { if ((systemPackageCase_ == 8) && (msiBuilder_ != null)) { return msiBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 8) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) - systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); } } /** - * - * *
          * An MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder> getMsiFieldBuilder() { if (msiBuilder_ == null) { if (!(systemPackageCase_ == 8)) { - systemPackage_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI - .getDefaultInstance(); - } - msiBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .MSIOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) - systemPackage_, + systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); + } + msiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 8; - onChanged(); - ; + onChanged();; return msiBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -15506,33 +13256,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PackageResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PackageResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PackageResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PackageResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15544,222 +13291,157 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface RepositoryResourceOrBuilder - extends + public interface RepositoryResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * An Apt Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; * @return Whether the apt field is set. */ boolean hasApt(); /** - * - * *
        * An Apt Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; * @return The apt. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository getApt(); /** - * - * *
        * An Apt Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder - getAptOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder getAptOrBuilder(); /** - * - * *
        * A Yum Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; * @return Whether the yum field is set. */ boolean hasYum(); /** - * - * *
        * A Yum Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; * @return The yum. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository getYum(); /** - * - * *
        * A Yum Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder - getYumOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder getYumOrBuilder(); /** - * - * *
        * A Zypper Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; * @return Whether the zypper field is set. */ boolean hasZypper(); /** - * - * *
        * A Zypper Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; * @return The zypper. */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository - getZypper(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository getZypper(); /** - * - * *
        * A Zypper Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepositoryOrBuilder - getZypperOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder getZypperOrBuilder(); /** - * - * *
        * A Goo Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; * @return Whether the goo field is set. */ boolean hasGoo(); /** - * - * *
        * A Goo Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; * @return The goo. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository getGoo(); /** - * - * *
        * A Goo Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder - getGooOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder getGooOrBuilder(); - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.RepositoryCase - getRepositoryCase(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.RepositoryCase getRepositoryCase(); } /** - * - * *
      * A resource that manages a package repository.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource} */ - public static final class RepositoryResource extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class RepositoryResource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) RepositoryResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RepositoryResource.newBuilder() to construct. private RepositoryResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RepositoryResource() {} + private RepositoryResource() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RepositoryResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RepositoryResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -15778,121 +13460,69 @@ private RepositoryResource( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.Builder - subBuilder = null; - if (repositoryCase_ == 1) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository) - repository_) - .toBuilder(); - } - repository_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository) - repository_); - repository_ = subBuilder.buildPartial(); - } - repositoryCase_ = 1; - break; + case 10: { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.Builder subBuilder = null; + if (repositoryCase_ == 1) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_).toBuilder(); } - case 18: - { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository.Builder - subBuilder = null; - if (repositoryCase_ == 2) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository) - repository_) - .toBuilder(); - } - repository_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository) - repository_); - repository_ = subBuilder.buildPartial(); - } - repositoryCase_ = 2; - break; + repository_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_); + repository_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.Builder - subBuilder = null; - if (repositoryCase_ == 3) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - repository_) - .toBuilder(); - } - repository_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - repository_); - repository_ = subBuilder.buildPartial(); - } - repositoryCase_ = 3; - break; + repositoryCase_ = 1; + break; + } + case 18: { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.Builder subBuilder = null; + if (repositoryCase_ == 2) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_).toBuilder(); } - case 34: - { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository.Builder - subBuilder = null; - if (repositoryCase_ == 4) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository) - repository_) - .toBuilder(); - } - repository_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository) - repository_); - repository_ = subBuilder.buildPartial(); - } - repositoryCase_ = 4; - break; + repository_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_); + repository_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + repositoryCase_ = 2; + break; + } + case 26: { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder subBuilder = null; + if (repositoryCase_ == 3) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_).toBuilder(); + } + repository_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_); + repository_ = subBuilder.buildPartial(); + } + repositoryCase_ = 3; + break; + } + case 34: { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.Builder subBuilder = null; + if (repositoryCase_ == 4) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_).toBuilder(); + } + repository_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_); + repository_ = subBuilder.buildPartial(); + } + repositoryCase_ = 4; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -15900,220 +13530,174 @@ private RepositoryResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder - .class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder.class); } - public interface AptRepositoryOrBuilder - extends + public interface AptRepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. Type of archive files in this repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for archiveType. */ int getArchiveTypeValue(); /** - * - * *
          * Required. Type of archive files in this repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The archiveType. */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - .ArchiveType - getArchiveType(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType getArchiveType(); /** - * - * *
          * Required. URI for this repository.
          * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
          * Required. URI for this repository.
          * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
          * Required. Distribution of this repository.
          * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The distribution. */ java.lang.String getDistribution(); /** - * - * *
          * Required. Distribution of this repository.
          * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for distribution. */ - com.google.protobuf.ByteString getDistributionBytes(); + com.google.protobuf.ByteString + getDistributionBytes(); /** - * - * *
          * Required. List of components for this repository. Must contain at least one
          * item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the components. */ - java.util.List getComponentsList(); + java.util.List + getComponentsList(); /** - * - * *
          * Required. List of components for this repository. Must contain at least one
          * item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of components. */ int getComponentsCount(); /** - * - * *
          * Required. List of components for this repository. Must contain at least one
          * item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The components at the given index. */ java.lang.String getComponents(int index); /** - * - * *
          * Required. List of components for this repository. Must contain at least one
          * item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - com.google.protobuf.ByteString getComponentsBytes(int index); + com.google.protobuf.ByteString + getComponentsBytes(int index); /** - * - * *
          * URI of the key file for this repository. The agent maintains a
          * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
          * 
* * string gpg_key = 5; - * * @return The gpgKey. */ java.lang.String getGpgKey(); /** - * - * *
          * URI of the key file for this repository. The agent maintains a
          * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
          * 
* * string gpg_key = 5; - * * @return The bytes for gpgKey. */ - com.google.protobuf.ByteString getGpgKeyBytes(); + com.google.protobuf.ByteString + getGpgKeyBytes(); } /** - * - * *
        * Represents a single apt package repository. These will be added to
        * a repo file that will be managed at
        * `/etc/apt/sources.list.d/google_osconfig.list`.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository} */ - public static final class AptRepository extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AptRepository extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) AptRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AptRepository.newBuilder() to construct. private AptRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AptRepository() { archiveType_ = 0; uri_ = ""; @@ -16124,15 +13708,16 @@ private AptRepository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AptRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AptRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -16152,51 +13737,46 @@ private AptRepository( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - archiveType_ = rawValue; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + archiveType_ = rawValue; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + uri_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - distribution_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - components_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - components_.add(s); - break; + distribution_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + components_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + components_.add(s); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - gpgKey_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + gpgKey_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -16204,8 +13784,8 @@ private AptRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { components_ = components_.getUnmodifiableView(); @@ -16214,38 +13794,29 @@ private AptRepository( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.Builder.class); } /** - * - * *
          * Type of archive.
          * 
* - * Protobuf enum {@code - * google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType} + * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType} */ - public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { + public enum ArchiveType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
            * Unspecified is invalid.
            * 
@@ -16254,8 +13825,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ ARCHIVE_TYPE_UNSPECIFIED(0), /** - * - * *
            * Deb indicates that the archive contains binary files.
            * 
@@ -16264,8 +13833,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ DEB(1), /** - * - * *
            * Deb-src indicates that the archive contains source files.
            * 
@@ -16276,9 +13843,7 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; - /** - * - * + /** *
            * Unspecified is invalid.
            * 
@@ -16287,8 +13852,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARCHIVE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
            * Deb indicates that the archive contains binary files.
            * 
@@ -16297,8 +13860,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEB_VALUE = 1; /** - * - * *
            * Deb-src indicates that the archive contains source files.
            * 
@@ -16307,6 +13868,7 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEB_SRC_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -16331,14 +13893,10 @@ public static ArchiveType valueOf(int value) { */ public static ArchiveType forNumber(int value) { switch (value) { - case 0: - return ARCHIVE_TYPE_UNSPECIFIED; - case 1: - return DEB; - case 2: - return DEB_SRC; - default: - return null; + case 0: return ARCHIVE_TYPE_UNSPECIFIED; + case 1: return DEB; + case 2: return DEB_SRC; + default: return null; } } @@ -16346,32 +13904,29 @@ public static ArchiveType forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ArchiveType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ArchiveType findValueByNumber(int number) { + return ArchiveType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ArchiveType findValueByNumber(int number) { - return ArchiveType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDescriptor().getEnumTypes().get(0); } private static final ArchiveType[] VALUES = values(); @@ -16380,7 +13935,7 @@ public static ArchiveType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -16400,62 +13955,38 @@ private ArchiveType(int value) { public static final int ARCHIVE_TYPE_FIELD_NUMBER = 1; private int archiveType_; /** - * - * *
          * Required. Type of archive files in this repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for archiveType. */ - @java.lang.Override - public int getArchiveTypeValue() { + @java.lang.Override public int getArchiveTypeValue() { return archiveType_; } /** - * - * *
          * Required. Type of archive files in this repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The archiveType. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - .ArchiveType - getArchiveType() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType getArchiveType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - .ArchiveType - result = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.ArchiveType.valueOf(archiveType_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - .ArchiveType.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType result = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.valueOf(archiveType_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.UNRECOGNIZED : result; } public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** - * - * *
          * Required. URI for this repository.
          * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ @java.lang.Override @@ -16464,29 +13995,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
          * Required. URI for this repository.
          * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -16497,14 +14028,11 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int DISTRIBUTION_FIELD_NUMBER = 3; private volatile java.lang.Object distribution_; /** - * - * *
          * Required. Distribution of this repository.
          * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The distribution. */ @java.lang.Override @@ -16513,29 +14041,29 @@ public java.lang.String getDistribution() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; } } /** - * - * *
          * Required. Distribution of this repository.
          * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for distribution. */ @java.lang.Override - public com.google.protobuf.ByteString getDistributionBytes() { + public com.google.protobuf.ByteString + getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); distribution_ = b; return b; } else { @@ -16546,45 +14074,37 @@ public com.google.protobuf.ByteString getDistributionBytes() { public static final int COMPONENTS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList components_; /** - * - * *
          * Required. List of components for this repository. Must contain at least one
          * item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the components. */ - public com.google.protobuf.ProtocolStringList getComponentsList() { + public com.google.protobuf.ProtocolStringList + getComponentsList() { return components_; } /** - * - * *
          * Required. List of components for this repository. Must contain at least one
          * item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of components. */ public int getComponentsCount() { return components_.size(); } /** - * - * *
          * Required. List of components for this repository. Must contain at least one
          * item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The components at the given index. */ @@ -16592,34 +14112,29 @@ public java.lang.String getComponents(int index) { return components_.get(index); } /** - * - * *
          * Required. List of components for this repository. Must contain at least one
          * item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - public com.google.protobuf.ByteString getComponentsBytes(int index) { + public com.google.protobuf.ByteString + getComponentsBytes(int index) { return components_.getByteString(index); } public static final int GPG_KEY_FIELD_NUMBER = 5; private volatile java.lang.Object gpgKey_; /** - * - * *
          * URI of the key file for this repository. The agent maintains a
          * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
          * 
* * string gpg_key = 5; - * * @return The gpgKey. */ @java.lang.Override @@ -16628,30 +14143,30 @@ public java.lang.String getGpgKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpgKey_ = s; return s; } } /** - * - * *
          * URI of the key file for this repository. The agent maintains a
          * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
          * 
* * string gpg_key = 5; - * * @return The bytes for gpgKey. */ @java.lang.Override - public com.google.protobuf.ByteString getGpgKeyBytes() { + public com.google.protobuf.ByteString + getGpgKeyBytes() { java.lang.Object ref = gpgKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gpgKey_ = b; return b; } else { @@ -16660,7 +14175,6 @@ public com.google.protobuf.ByteString getGpgKeyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -16673,11 +14187,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (archiveType_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED - .getNumber()) { + throws java.io.IOException { + if (archiveType_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, archiveType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { @@ -16701,11 +14212,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (archiveType_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, archiveType_); + if (archiveType_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, archiveType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_); @@ -16732,25 +14241,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository) - obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) obj; if (archiveType_ != other.archiveType_) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getDistribution().equals(other.getDistribution())) return false; - if (!getComponentsList().equals(other.getComponentsList())) return false; - if (!getGpgKey().equals(other.getGpgKey())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getDistribution() + .equals(other.getDistribution())) return false; + if (!getComponentsList() + .equals(other.getComponentsList())) return false; + if (!getGpgKey() + .equals(other.getGpgKey())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -16779,118 +14285,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository - 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository - 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -16900,55 +14376,46 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Represents a single apt package repository. These will be added to
          * a repo file that will be managed at
          * `/etc/apt/sources.list.d/google_osconfig.list`.
          * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -16966,25 +14433,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository - build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository build() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -16992,13 +14453,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository - buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - result = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository(this); int from_bitField0_ = bitField0_; result.archiveType_ = archiveType_; result.uri_ = uri_; @@ -17017,59 +14473,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository) - other); + if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance()) return this; if (other.archiveType_ != 0) { setArchiveTypeValue(other.getArchiveTypeValue()); } @@ -17110,15 +14553,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -17127,116 +14566,77 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private int archiveType_ = 0; /** - * - * *
            * Required. Type of archive files in this repository.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for archiveType. */ - @java.lang.Override - public int getArchiveTypeValue() { + @java.lang.Override public int getArchiveTypeValue() { return archiveType_; } /** - * - * *
            * Required. Type of archive files in this repository.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for archiveType to set. * @return This builder for chaining. */ public Builder setArchiveTypeValue(int value) { - + archiveType_ = value; onChanged(); return this; } /** - * - * *
            * Required. Type of archive files in this repository.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The archiveType. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.ArchiveType - getArchiveType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType getArchiveType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - .ArchiveType - result = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.ArchiveType.valueOf(archiveType_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.ArchiveType.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType result = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.valueOf(archiveType_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.UNRECOGNIZED : result; } /** - * - * *
            * Required. Type of archive files in this repository.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The archiveType to set. * @return This builder for chaining. */ - public Builder setArchiveType( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - .ArchiveType - value) { + public Builder setArchiveType(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType value) { if (value == null) { throw new NullPointerException(); } - + archiveType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
            * Required. Type of archive files in this repository.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearArchiveType() { - + archiveType_ = 0; onChanged(); return this; @@ -17244,20 +14644,18 @@ public Builder clearArchiveType() { private java.lang.Object uri_ = ""; /** - * - * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -17266,21 +14664,20 @@ public java.lang.String getUri() { } } /** - * - * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -17288,61 +14685,54 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -17350,20 +14740,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object distribution_ = ""; /** - * - * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The distribution. */ public java.lang.String getDistribution() { java.lang.Object ref = distribution_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; @@ -17372,21 +14760,20 @@ public java.lang.String getDistribution() { } } /** - * - * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for distribution. */ - public com.google.protobuf.ByteString getDistributionBytes() { + public com.google.protobuf.ByteString + getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); distribution_ = b; return b; } else { @@ -17394,115 +14781,98 @@ public com.google.protobuf.ByteString getDistributionBytes() { } } /** - * - * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The distribution to set. * @return This builder for chaining. */ - public Builder setDistribution(java.lang.String value) { + public Builder setDistribution( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + distribution_ = value; onChanged(); return this; } /** - * - * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDistribution() { - + distribution_ = getDefaultInstance().getDistribution(); onChanged(); return this; } /** - * - * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for distribution to set. * @return This builder for chaining. */ - public Builder setDistributionBytes(com.google.protobuf.ByteString value) { + public Builder setDistributionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + distribution_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList components_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList components_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureComponentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { components_ = new com.google.protobuf.LazyStringArrayList(components_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
            * Required. List of components for this repository. Must contain at least one
            * item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the components. */ - public com.google.protobuf.ProtocolStringList getComponentsList() { + public com.google.protobuf.ProtocolStringList + getComponentsList() { return components_.getUnmodifiableView(); } /** - * - * *
            * Required. List of components for this repository. Must contain at least one
            * item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of components. */ public int getComponentsCount() { return components_.size(); } /** - * - * *
            * Required. List of components for this repository. Must contain at least one
            * item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The components at the given index. */ @@ -17510,95 +14880,85 @@ public java.lang.String getComponents(int index) { return components_.get(index); } /** - * - * *
            * Required. List of components for this repository. Must contain at least one
            * item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - public com.google.protobuf.ByteString getComponentsBytes(int index) { + public com.google.protobuf.ByteString + getComponentsBytes(int index) { return components_.getByteString(index); } /** - * - * *
            * Required. List of components for this repository. Must contain at least one
            * item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The components to set. * @return This builder for chaining. */ - public Builder setComponents(int index, java.lang.String value) { + public Builder setComponents( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureComponentsIsMutable(); + throw new NullPointerException(); + } + ensureComponentsIsMutable(); components_.set(index, value); onChanged(); return this; } /** - * - * *
            * Required. List of components for this repository. Must contain at least one
            * item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The components to add. * @return This builder for chaining. */ - public Builder addComponents(java.lang.String value) { + public Builder addComponents( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureComponentsIsMutable(); + throw new NullPointerException(); + } + ensureComponentsIsMutable(); components_.add(value); onChanged(); return this; } /** - * - * *
            * Required. List of components for this repository. Must contain at least one
            * item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The components to add. * @return This builder for chaining. */ - public Builder addAllComponents(java.lang.Iterable values) { + public Builder addAllComponents( + java.lang.Iterable values) { ensureComponentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, components_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, components_); onChanged(); return this; } /** - * - * *
            * Required. List of components for this repository. Must contain at least one
            * item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearComponents() { @@ -17608,23 +14968,21 @@ public Builder clearComponents() { return this; } /** - * - * *
            * Required. List of components for this repository. Must contain at least one
            * item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the components to add. * @return This builder for chaining. */ - public Builder addComponentsBytes(com.google.protobuf.ByteString value) { + public Builder addComponentsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureComponentsIsMutable(); components_.add(value); onChanged(); @@ -17633,21 +14991,19 @@ public Builder addComponentsBytes(com.google.protobuf.ByteString value) { private java.lang.Object gpgKey_ = ""; /** - * - * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; - * * @return The gpgKey. */ public java.lang.String getGpgKey() { java.lang.Object ref = gpgKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpgKey_ = s; return s; @@ -17656,22 +15012,21 @@ public java.lang.String getGpgKey() { } } /** - * - * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; - * * @return The bytes for gpgKey. */ - public com.google.protobuf.ByteString getGpgKeyBytes() { + public com.google.protobuf.ByteString + getGpgKeyBytes() { java.lang.Object ref = gpgKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gpgKey_ = b; return b; } else { @@ -17679,69 +15034,61 @@ public com.google.protobuf.ByteString getGpgKeyBytes() { } } /** - * - * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; - * * @param value The gpgKey to set. * @return This builder for chaining. */ - public Builder setGpgKey(java.lang.String value) { + public Builder setGpgKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gpgKey_ = value; onChanged(); return this; } /** - * - * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; - * * @return This builder for chaining. */ public Builder clearGpgKey() { - + gpgKey_ = getDefaultInstance().getGpgKey(); onChanged(); return this; } /** - * - * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; - * * @param value The bytes for gpgKey to set. * @return This builder for chaining. */ - public Builder setGpgKeyBytes(com.google.protobuf.ByteString value) { + public Builder setGpgKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gpgKey_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -17754,36 +15101,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -17795,20 +15136,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface YumRepositoryOrBuilder - extends + public interface YumRepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. A one word, unique name for this repository. This is  the `repo
          * id` in the yum config file and also the `display_name` if
@@ -17817,13 +15155,10 @@ public interface YumRepositoryOrBuilder
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ java.lang.String getId(); - /** - * - * + /** *
          * Required. A one word, unique name for this repository. This is  the `repo
          * id` in the yum config file and also the `display_name` if
@@ -17832,134 +15167,110 @@ public interface YumRepositoryOrBuilder
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
          * The display name of the repository.
          * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
          * The display name of the repository.
          * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The baseUrl. */ java.lang.String getBaseUrl(); /** - * - * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for baseUrl. */ - com.google.protobuf.ByteString getBaseUrlBytes(); + com.google.protobuf.ByteString + getBaseUrlBytes(); /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @return A list containing the gpgKeys. */ - java.util.List getGpgKeysList(); + java.util.List + getGpgKeysList(); /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @return The count of gpgKeys. */ int getGpgKeysCount(); /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ java.lang.String getGpgKeys(int index); /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - com.google.protobuf.ByteString getGpgKeysBytes(int index); + com.google.protobuf.ByteString + getGpgKeysBytes(int index); } /** - * - * *
        * Represents a single yum package repository. These are added to a
        * repo file that is managed at
        * `/etc/yum.repos.d/google_osconfig.repo`.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository} */ - public static final class YumRepository extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class YumRepository extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) YumRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use YumRepository.newBuilder() to construct. private YumRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private YumRepository() { id_ = ""; displayName_ = ""; @@ -17969,15 +15280,16 @@ private YumRepository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new YumRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private YumRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -17997,44 +15309,40 @@ private YumRepository( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + id_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - baseUrl_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - gpgKeys_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - gpgKeys_.add(s); - break; + baseUrl_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + gpgKeys_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + gpgKeys_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -18042,8 +15350,8 @@ private YumRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { gpgKeys_ = gpgKeys_.getUnmodifiableView(); @@ -18052,29 +15360,22 @@ private YumRepository( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** - * - * *
          * Required. A one word, unique name for this repository. This is  the `repo
          * id` in the yum config file and also the `display_name` if
@@ -18083,7 +15384,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ @java.lang.Override @@ -18092,15 +15392,14 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
          * Required. A one word, unique name for this repository. This is  the `repo
          * id` in the yum config file and also the `display_name` if
@@ -18109,15 +15408,16 @@ public java.lang.String getId() {
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -18128,14 +15428,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
          * The display name of the repository.
          * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -18144,29 +15441,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
          * The display name of the repository.
          * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -18177,14 +15474,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int BASE_URL_FIELD_NUMBER = 3; private volatile java.lang.Object baseUrl_; /** - * - * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The baseUrl. */ @java.lang.Override @@ -18193,29 +15487,29 @@ public java.lang.String getBaseUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; } } /** - * - * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for baseUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getBaseUrlBytes() { + public com.google.protobuf.ByteString + getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -18226,42 +15520,34 @@ public com.google.protobuf.ByteString getBaseUrlBytes() { public static final int GPG_KEYS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList gpgKeys_; /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList getGpgKeysList() { + public com.google.protobuf.ProtocolStringList + getGpgKeysList() { return gpgKeys_; } /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -18269,23 +15555,20 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString + getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -18298,7 +15581,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -18345,24 +15628,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository - other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository) - obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) obj; - if (!getId().equals(other.getId())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getBaseUrl().equals(other.getBaseUrl())) return false; - if (!getGpgKeysList().equals(other.getGpgKeysList())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getBaseUrl() + .equals(other.getBaseUrl())) return false; + if (!getGpgKeysList() + .equals(other.getGpgKeysList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -18389,118 +15669,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository - 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository - 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -18510,55 +15760,46 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Represents a single yum package repository. These are added to a
          * repo file that is managed at
          * `/etc/yum.repos.d/google_osconfig.repo`.
          * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -18574,25 +15815,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository - build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository - result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository build() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -18600,13 +15835,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository - buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository - result = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository(this); int from_bitField0_ = bitField0_; result.id_ = id_; result.displayName_ = displayName_; @@ -18624,59 +15854,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository) - other); + if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository - other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); @@ -18714,15 +15931,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository - parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -18731,13 +15944,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object id_ = ""; /** - * - * *
            * Required. A one word, unique name for this repository. This is  the `repo
            * id` in the yum config file and also the `display_name` if
@@ -18746,13 +15956,13 @@ public Builder mergeFrom(
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -18761,8 +15971,6 @@ public java.lang.String getId() { } } /** - * - * *
            * Required. A one word, unique name for this repository. This is  the `repo
            * id` in the yum config file and also the `display_name` if
@@ -18771,14 +15979,15 @@ public java.lang.String getId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -18786,8 +15995,6 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
            * Required. A one word, unique name for this repository. This is  the `repo
            * id` in the yum config file and also the `display_name` if
@@ -18796,22 +16003,20 @@ public com.google.protobuf.ByteString getIdBytes() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
            * Required. A one word, unique name for this repository. This is  the `repo
            * id` in the yum config file and also the `display_name` if
@@ -18820,18 +16025,15 @@ public Builder setId(java.lang.String value) {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
            * Required. A one word, unique name for this repository. This is  the `repo
            * id` in the yum config file and also the `display_name` if
@@ -18840,16 +16042,16 @@ public Builder clearId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -18857,20 +16059,18 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -18879,21 +16079,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -18901,61 +16100,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -18963,20 +16155,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object baseUrl_ = ""; /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The baseUrl. */ public java.lang.String getBaseUrl() { java.lang.Object ref = baseUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; @@ -18985,21 +16175,20 @@ public java.lang.String getBaseUrl() { } } /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for baseUrl. */ - public com.google.protobuf.ByteString getBaseUrlBytes() { + public com.google.protobuf.ByteString + getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -19007,112 +16196,95 @@ public com.google.protobuf.ByteString getBaseUrlBytes() { } } /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrl(java.lang.String value) { + public Builder setBaseUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + baseUrl_ = value; onChanged(); return this; } /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBaseUrl() { - + baseUrl_ = getDefaultInstance().getBaseUrl(); onChanged(); return this; } /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrlBytes(com.google.protobuf.ByteString value) { + public Builder setBaseUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + baseUrl_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList gpgKeys_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList gpgKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureGpgKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { gpgKeys_ = new com.google.protobuf.LazyStringArrayList(gpgKeys_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList getGpgKeysList() { + public com.google.protobuf.ProtocolStringList + getGpgKeysList() { return gpgKeys_.getUnmodifiableView(); } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -19120,90 +16292,80 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString + getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param index The index to set the value at. * @param value The gpgKeys to set. * @return This builder for chaining. */ - public Builder setGpgKeys(int index, java.lang.String value) { + public Builder setGpgKeys( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.set(index, value); onChanged(); return this; } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param value The gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeys(java.lang.String value) { + public Builder addGpgKeys( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param values The gpgKeys to add. * @return This builder for chaining. */ - public Builder addAllGpgKeys(java.lang.Iterable values) { + public Builder addAllGpgKeys( + java.lang.Iterable values) { ensureGpgKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, gpgKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, gpgKeys_); onChanged(); return this; } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @return This builder for chaining. */ public Builder clearGpgKeys() { @@ -19213,28 +16375,25 @@ public Builder clearGpgKeys() { return this; } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param value The bytes of the gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeysBytes(com.google.protobuf.ByteString value) { + public Builder addGpgKeysBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -19247,36 +16406,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -19288,20 +16441,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ZypperRepositoryOrBuilder - extends + public interface ZypperRepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. A one word, unique name for this repository. This is the `repo
          * id` in the zypper config file and also the `display_name` if
@@ -19310,13 +16460,10 @@ public interface ZypperRepositoryOrBuilder
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ java.lang.String getId(); /** - * - * *
          * Required. A one word, unique name for this repository. This is the `repo
          * id` in the zypper config file and also the `display_name` if
@@ -19325,134 +16472,110 @@ public interface ZypperRepositoryOrBuilder
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
          * The display name of the repository.
          * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
          * The display name of the repository.
          * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The baseUrl. */ java.lang.String getBaseUrl(); /** - * - * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for baseUrl. */ - com.google.protobuf.ByteString getBaseUrlBytes(); + com.google.protobuf.ByteString + getBaseUrlBytes(); /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @return A list containing the gpgKeys. */ - java.util.List getGpgKeysList(); + java.util.List + getGpgKeysList(); /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @return The count of gpgKeys. */ int getGpgKeysCount(); /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ java.lang.String getGpgKeys(int index); /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - com.google.protobuf.ByteString getGpgKeysBytes(int index); + com.google.protobuf.ByteString + getGpgKeysBytes(int index); } /** - * - * *
        * Represents a single zypper package repository. These are added to a
        * repo file that is managed at
        * `/etc/zypp/repos.d/google_osconfig.repo`.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository} */ - public static final class ZypperRepository extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ZypperRepository extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) ZypperRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ZypperRepository.newBuilder() to construct. private ZypperRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ZypperRepository() { id_ = ""; displayName_ = ""; @@ -19462,15 +16585,16 @@ private ZypperRepository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ZypperRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ZypperRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -19490,44 +16614,40 @@ private ZypperRepository( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + id_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - baseUrl_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - gpgKeys_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - gpgKeys_.add(s); - break; + baseUrl_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + gpgKeys_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + gpgKeys_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -19535,8 +16655,8 @@ private ZypperRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { gpgKeys_ = gpgKeys_.getUnmodifiableView(); @@ -19545,29 +16665,22 @@ private ZypperRepository( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** - * - * *
          * Required. A one word, unique name for this repository. This is the `repo
          * id` in the zypper config file and also the `display_name` if
@@ -19576,7 +16689,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ @java.lang.Override @@ -19585,15 +16697,14 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
          * Required. A one word, unique name for this repository. This is the `repo
          * id` in the zypper config file and also the `display_name` if
@@ -19602,15 +16713,16 @@ public java.lang.String getId() {
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -19621,14 +16733,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
          * The display name of the repository.
          * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -19637,29 +16746,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
          * The display name of the repository.
          * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -19670,14 +16779,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int BASE_URL_FIELD_NUMBER = 3; private volatile java.lang.Object baseUrl_; /** - * - * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The baseUrl. */ @java.lang.Override @@ -19686,29 +16792,29 @@ public java.lang.String getBaseUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; } } /** - * - * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for baseUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getBaseUrlBytes() { + public com.google.protobuf.ByteString + getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -19719,42 +16825,34 @@ public com.google.protobuf.ByteString getBaseUrlBytes() { public static final int GPG_KEYS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList gpgKeys_; /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList getGpgKeysList() { + public com.google.protobuf.ProtocolStringList + getGpgKeysList() { return gpgKeys_; } /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -19762,23 +16860,20 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** - * - * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; - * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString + getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -19791,7 +16886,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -19838,24 +16933,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository - other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) obj; - if (!getId().equals(other.getId())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getBaseUrl().equals(other.getBaseUrl())) return false; - if (!getGpgKeysList().equals(other.getGpgKeysList())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getBaseUrl() + .equals(other.getBaseUrl())) return false; + if (!getGpgKeysList() + .equals(other.getGpgKeysList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -19882,118 +16974,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -20003,55 +17065,46 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Represents a single zypper package repository. These are added to a
          * repo file that is managed at
          * `/etc/zypp/repos.d/google_osconfig.repo`.
          * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -20067,25 +17120,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository - result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository build() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -20093,13 +17140,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository - result = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository(this); int from_bitField0_ = bitField0_; result.id_ = id_; result.displayName_ = displayName_; @@ -20117,60 +17159,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - other); + if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); @@ -20208,15 +17236,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository - parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -20225,13 +17249,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object id_ = ""; /** - * - * *
            * Required. A one word, unique name for this repository. This is the `repo
            * id` in the zypper config file and also the `display_name` if
@@ -20240,13 +17261,13 @@ public Builder mergeFrom(
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -20255,8 +17276,6 @@ public java.lang.String getId() { } } /** - * - * *
            * Required. A one word, unique name for this repository. This is the `repo
            * id` in the zypper config file and also the `display_name` if
@@ -20265,14 +17284,15 @@ public java.lang.String getId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -20280,8 +17300,6 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
            * Required. A one word, unique name for this repository. This is the `repo
            * id` in the zypper config file and also the `display_name` if
@@ -20290,22 +17308,20 @@ public com.google.protobuf.ByteString getIdBytes() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
            * Required. A one word, unique name for this repository. This is the `repo
            * id` in the zypper config file and also the `display_name` if
@@ -20314,18 +17330,15 @@ public Builder setId(java.lang.String value) {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
            * Required. A one word, unique name for this repository. This is the `repo
            * id` in the zypper config file and also the `display_name` if
@@ -20334,16 +17347,16 @@ public Builder clearId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -20351,20 +17364,18 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -20373,21 +17384,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -20395,61 +17405,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
            * The display name of the repository.
            * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -20457,20 +17460,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object baseUrl_ = ""; /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The baseUrl. */ public java.lang.String getBaseUrl() { java.lang.Object ref = baseUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; @@ -20479,21 +17480,20 @@ public java.lang.String getBaseUrl() { } } /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for baseUrl. */ - public com.google.protobuf.ByteString getBaseUrlBytes() { + public com.google.protobuf.ByteString + getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -20501,112 +17501,95 @@ public com.google.protobuf.ByteString getBaseUrlBytes() { } } /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrl(java.lang.String value) { + public Builder setBaseUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + baseUrl_ = value; onChanged(); return this; } /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBaseUrl() { - + baseUrl_ = getDefaultInstance().getBaseUrl(); onChanged(); return this; } /** - * - * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrlBytes(com.google.protobuf.ByteString value) { + public Builder setBaseUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + baseUrl_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList gpgKeys_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList gpgKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureGpgKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { gpgKeys_ = new com.google.protobuf.LazyStringArrayList(gpgKeys_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList getGpgKeysList() { + public com.google.protobuf.ProtocolStringList + getGpgKeysList() { return gpgKeys_.getUnmodifiableView(); } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -20614,90 +17597,80 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString + getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param index The index to set the value at. * @param value The gpgKeys to set. * @return This builder for chaining. */ - public Builder setGpgKeys(int index, java.lang.String value) { + public Builder setGpgKeys( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.set(index, value); onChanged(); return this; } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param value The gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeys(java.lang.String value) { + public Builder addGpgKeys( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param values The gpgKeys to add. * @return This builder for chaining. */ - public Builder addAllGpgKeys(java.lang.Iterable values) { + public Builder addAllGpgKeys( + java.lang.Iterable values) { ensureGpgKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, gpgKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, gpgKeys_); onChanged(); return this; } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @return This builder for chaining. */ public Builder clearGpgKeys() { @@ -20707,28 +17680,25 @@ public Builder clearGpgKeys() { return this; } /** - * - * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; - * * @param value The bytes of the gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeysBytes(com.google.protobuf.ByteString value) { + public Builder addGpgKeysBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -20741,36 +17711,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ZypperRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ZypperRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ZypperRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ZypperRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -20782,90 +17746,74 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GooRepositoryOrBuilder - extends + public interface GooRepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. The name of the repository.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
          * Required. The name of the repository.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
          * Required. The url of the repository.
          * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ java.lang.String getUrl(); /** - * - * *
          * Required. The url of the repository.
          * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ - com.google.protobuf.ByteString getUrlBytes(); + com.google.protobuf.ByteString + getUrlBytes(); } /** - * - * *
        * Represents a Goo package repository. These are added to a repo file
        * that is managed at
        * `C:/ProgramData/GooGet/repos/google_osconfig.repo`.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository} */ - public static final class GooRepository extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GooRepository extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) GooRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GooRepository.newBuilder() to construct. private GooRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GooRepository() { name_ = ""; url_ = ""; @@ -20873,15 +17821,16 @@ private GooRepository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GooRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GooRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -20900,27 +17849,25 @@ private GooRepository( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - url_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + url_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -20928,42 +17875,34 @@ private GooRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
          * Required. The name of the repository.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -20972,29 +17911,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
          * Required. The name of the repository.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -21005,14 +17944,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int URL_FIELD_NUMBER = 2; private volatile java.lang.Object url_; /** - * - * *
          * Required. The url of the repository.
          * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ @java.lang.Override @@ -21021,29 +17957,29 @@ public java.lang.String getUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; } } /** - * - * *
          * Required. The url of the repository.
          * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); url_ = b; return b; } else { @@ -21052,7 +17988,6 @@ public com.google.protobuf.ByteString getUrlBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -21065,7 +18000,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -21095,22 +18030,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository - other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository) - obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) obj; - if (!getName().equals(other.getName())) return false; - if (!getUrl().equals(other.getUrl())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUrl() + .equals(other.getUrl())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -21131,118 +18061,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository - 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository - 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -21252,55 +18152,46 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Represents a Goo package repository. These are added to a repo file
          * that is managed at
          * `C:/ProgramData/GooGet/repos/google_osconfig.repo`.
          * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -21312,25 +18203,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository - build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository - result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository build() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -21338,13 +18223,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository - buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository - result = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository(this); result.name_ = name_; result.url_ = url_; onBuilt(); @@ -21355,59 +18235,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository) - other); + if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository - other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -21431,15 +18298,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository - parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -21451,20 +18314,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -21473,21 +18334,20 @@ public java.lang.String getName() { } } /** - * - * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -21495,61 +18355,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -21557,20 +18410,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object url_ = ""; /** - * - * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; @@ -21579,21 +18430,20 @@ public java.lang.String getUrl() { } } /** - * - * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); url_ = b; return b; } else { @@ -21601,66 +18451,58 @@ public com.google.protobuf.ByteString getUrlBytes() { } } /** - * - * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl(java.lang.String value) { + public Builder setUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** - * - * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** - * - * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes(com.google.protobuf.ByteString value) { + public Builder setUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -21673,36 +18515,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GooRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GooRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GooRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GooRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -21714,18 +18550,16 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int repositoryCase_ = 0; private java.lang.Object repository_; - public enum RepositoryCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { APT(1), YUM(2), @@ -21733,7 +18567,6 @@ public enum RepositoryCase GOO(4), REPOSITORY_NOT_SET(0); private final int value; - private RepositoryCase(int value) { this.value = value; } @@ -21749,42 +18582,32 @@ public static RepositoryCase valueOf(int value) { public static RepositoryCase forNumber(int value) { switch (value) { - case 1: - return APT; - case 2: - return YUM; - case 3: - return ZYPPER; - case 4: - return GOO; - case 0: - return REPOSITORY_NOT_SET; - default: - return null; + case 1: return APT; + case 2: return YUM; + case 3: return ZYPPER; + case 4: return GOO; + case 0: return REPOSITORY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RepositoryCase getRepositoryCase() { - return RepositoryCase.forNumber(repositoryCase_); + public RepositoryCase + getRepositoryCase() { + return RepositoryCase.forNumber( + repositoryCase_); } public static final int APT_FIELD_NUMBER = 1; /** - * - * *
        * An Apt Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; * @return Whether the apt field is set. */ @java.lang.Override @@ -21792,65 +18615,42 @@ public boolean hasApt() { return repositoryCase_ == 1; } /** - * - * *
        * An Apt Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; * @return The apt. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - getApt() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository getApt() { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository) - repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); } /** - * - * *
        * An Apt Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepositoryOrBuilder - getAptOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder getAptOrBuilder() { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository) - repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); } public static final int YUM_FIELD_NUMBER = 2; /** - * - * *
        * A Yum Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; * @return Whether the yum field is set. */ @java.lang.Override @@ -21858,65 +18658,42 @@ public boolean hasYum() { return repositoryCase_ == 2; } /** - * - * *
        * A Yum Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; * @return The yum. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository - getYum() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository getYum() { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository) - repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); } /** - * - * *
        * A Yum Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepositoryOrBuilder - getYumOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder getYumOrBuilder() { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository) - repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); } public static final int ZYPPER_FIELD_NUMBER = 3; /** - * - * *
        * A Zypper Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; * @return Whether the zypper field is set. */ @java.lang.Override @@ -21924,65 +18701,42 @@ public boolean hasZypper() { return repositoryCase_ == 3; } /** - * - * *
        * A Zypper Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; * @return The zypper. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository - getZypper() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository getZypper() { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); } /** - * - * *
        * A Zypper Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepositoryOrBuilder - getZypperOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder getZypperOrBuilder() { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); } public static final int GOO_FIELD_NUMBER = 4; /** - * - * *
        * A Goo Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; * @return Whether the goo field is set. */ @java.lang.Override @@ -21990,55 +18744,36 @@ public boolean hasGoo() { return repositoryCase_ == 4; } /** - * - * *
        * A Goo Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; * @return The goo. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository - getGoo() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository getGoo() { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository) - repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); } /** - * - * *
        * A Goo Repository.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepositoryOrBuilder - getGooOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder getGooOrBuilder() { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository) - repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -22050,31 +18785,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (repositoryCase_ == 1) { - output.writeMessage( - 1, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) - repository_); + output.writeMessage(1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_); } if (repositoryCase_ == 2) { - output.writeMessage( - 2, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) - repository_); + output.writeMessage(2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_); } if (repositoryCase_ == 3) { - output.writeMessage( - 3, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - repository_); + output.writeMessage(3, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_); } if (repositoryCase_ == 4) { - output.writeMessage( - 4, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) - repository_); + output.writeMessage(4, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_); } unknownFields.writeTo(output); } @@ -22086,36 +18809,20 @@ public int getSerializedSize() { size = 0; if (repositoryCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository) - repository_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_); } if (repositoryCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository) - repository_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_); } if (repositoryCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - repository_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_); } if (repositoryCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository) - repository_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -22125,28 +18832,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) obj; if (!getRepositoryCase().equals(other.getRepositoryCase())) return false; switch (repositoryCase_) { case 1: - if (!getApt().equals(other.getApt())) return false; + if (!getApt() + .equals(other.getApt())) return false; break; case 2: - if (!getYum().equals(other.getYum())) return false; + if (!getYum() + .equals(other.getYum())) return false; break; case 3: - if (!getZypper().equals(other.getZypper())) return false; + if (!getZypper() + .equals(other.getZypper())) return false; break; case 4: - if (!getGoo().equals(other.getGoo())) return false; + if (!getGoo() + .equals(other.getGoo())) return false; break; case 0: default: @@ -22187,103 +18896,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -22293,50 +18987,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A resource that manages a package repository.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder - .class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -22346,22 +19034,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource result = - buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -22369,10 +19054,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource bu } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource result = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource(this); if (repositoryCase_ == 1) { if (aptBuilder_ == null) { result.repository_ = repository_; @@ -22410,79 +19093,66 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) other); + if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.getDefaultInstance()) return this; switch (other.getRepositoryCase()) { - case APT: - { - mergeApt(other.getApt()); - break; - } - case YUM: - { - mergeYum(other.getYum()); - break; - } - case ZYPPER: - { - mergeZypper(other.getZypper()); - break; - } - case GOO: - { - mergeGoo(other.getGoo()); - break; - } - case REPOSITORY_NOT_SET: - { - break; - } + case APT: { + mergeApt(other.getApt()); + break; + } + case YUM: { + mergeYum(other.getYum()); + break; + } + case ZYPPER: { + mergeZypper(other.getZypper()); + break; + } + case GOO: { + mergeGoo(other.getGoo()); + break; + } + case REPOSITORY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -22499,14 +19169,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parsedMessage = - null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -22515,12 +19182,12 @@ public Builder mergeFrom( } return this; } - private int repositoryCase_ = 0; private java.lang.Object repository_; - - public RepositoryCase getRepositoryCase() { - return RepositoryCase.forNumber(repositoryCase_); + public RepositoryCase + getRepositoryCase() { + return RepositoryCase.forNumber( + repositoryCase_); } public Builder clearRepository() { @@ -22530,25 +19197,15 @@ public Builder clearRepository() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - .Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepositoryOrBuilder> - aptBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder> aptBuilder_; /** - * - * *
          * An Apt Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; * @return Whether the apt field is set. */ @java.lang.Override @@ -22556,51 +19213,35 @@ public boolean hasApt() { return repositoryCase_ == 1; } /** - * - * *
          * An Apt Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; * @return The apt. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - getApt() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository getApt() { if (aptBuilder_ == null) { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository) - repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); } else { if (repositoryCase_ == 1) { return aptBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); } } /** - * - * *
          * An Apt Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; */ - public Builder setApt( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - value) { + public Builder setApt(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository value) { if (aptBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -22614,20 +19255,14 @@ public Builder setApt( return this; } /** - * - * *
          * An Apt Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; */ public Builder setApt( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - .Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.Builder builderForValue) { if (aptBuilder_ == null) { repository_ = builderForValue.build(); onChanged(); @@ -22638,32 +19273,18 @@ public Builder setApt( return this; } /** - * - * *
          * An Apt Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; */ - public Builder mergeApt( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - value) { + public Builder mergeApt(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository value) { if (aptBuilder_ == null) { - if (repositoryCase_ == 1 - && repository_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.getDefaultInstance()) { - repository_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository) - repository_) - .mergeFrom(value) - .buildPartial(); + if (repositoryCase_ == 1 && + repository_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance()) { + repository_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_) + .mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -22679,15 +19300,11 @@ public Builder mergeApt( return this; } /** - * - * *
          * An Apt Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; */ public Builder clearApt() { if (aptBuilder_ == null) { @@ -22706,113 +19323,67 @@ public Builder clearApt() { return this; } /** - * - * *
          * An Apt Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - .Builder - getAptBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.Builder getAptBuilder() { return getAptFieldBuilder().getBuilder(); } /** - * - * *
          * An Apt Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepositoryOrBuilder - getAptOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder getAptOrBuilder() { if ((repositoryCase_ == 1) && (aptBuilder_ != null)) { return aptBuilder_.getMessageOrBuilder(); } else { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository) - repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); } } /** - * - * *
          * An Apt Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository - .Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepositoryOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder> getAptFieldBuilder() { if (aptBuilder_ == null) { if (!(repositoryCase_ == 1)) { - repository_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.getDefaultInstance(); - } - aptBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepositoryOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .AptRepository) - repository_, + repository_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); + } + aptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 1; - onChanged(); - ; + onChanged();; return aptBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository - .Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepositoryOrBuilder> - yumBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder> yumBuilder_; /** - * - * *
          * A Yum Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; * @return Whether the yum field is set. */ @java.lang.Override @@ -22820,51 +19391,35 @@ public boolean hasYum() { return repositoryCase_ == 2; } /** - * - * *
          * A Yum Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; * @return The yum. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository - getYum() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository getYum() { if (yumBuilder_ == null) { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository) - repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); } else { if (repositoryCase_ == 2) { return yumBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); } } /** - * - * *
          * A Yum Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; */ - public Builder setYum( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository - value) { + public Builder setYum(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository value) { if (yumBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -22878,20 +19433,14 @@ public Builder setYum( return this; } /** - * - * *
          * A Yum Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; */ public Builder setYum( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository - .Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.Builder builderForValue) { if (yumBuilder_ == null) { repository_ = builderForValue.build(); onChanged(); @@ -22902,32 +19451,18 @@ public Builder setYum( return this; } /** - * - * *
          * A Yum Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; */ - public Builder mergeYum( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository - value) { + public Builder mergeYum(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository value) { if (yumBuilder_ == null) { - if (repositoryCase_ == 2 - && repository_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository.getDefaultInstance()) { - repository_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository.newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository) - repository_) - .mergeFrom(value) - .buildPartial(); + if (repositoryCase_ == 2 && + repository_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance()) { + repository_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_) + .mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -22943,15 +19478,11 @@ public Builder mergeYum( return this; } /** - * - * *
          * A Yum Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; */ public Builder clearYum() { if (yumBuilder_ == null) { @@ -22970,113 +19501,67 @@ public Builder clearYum() { return this; } /** - * - * *
          * A Yum Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository - .Builder - getYumBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.Builder getYumBuilder() { return getYumFieldBuilder().getBuilder(); } /** - * - * *
          * A Yum Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepositoryOrBuilder - getYumOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder getYumOrBuilder() { if ((repositoryCase_ == 2) && (yumBuilder_ != null)) { return yumBuilder_.getMessageOrBuilder(); } else { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository) - repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); } } /** - * - * *
          * A Yum Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository - .Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepositoryOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder> getYumFieldBuilder() { if (yumBuilder_ == null) { if (!(repositoryCase_ == 2)) { - repository_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository.getDefaultInstance(); - } - yumBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepositoryOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .YumRepository) - repository_, + repository_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); + } + yumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 2; - onChanged(); - ; + onChanged();; return yumBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepositoryOrBuilder> - zypperBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder> zypperBuilder_; /** - * - * *
          * A Zypper Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; * @return Whether the zypper field is set. */ @java.lang.Override @@ -23084,52 +19569,35 @@ public boolean hasZypper() { return repositoryCase_ == 3; } /** - * - * *
          * A Zypper Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; * @return The zypper. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository - getZypper() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository getZypper() { if (zypperBuilder_ == null) { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); } else { if (repositoryCase_ == 3) { return zypperBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); } } /** - * - * *
          * A Zypper Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; */ - public Builder setZypper( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository - value) { + public Builder setZypper(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository value) { if (zypperBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -23143,20 +19611,14 @@ public Builder setZypper( return this; } /** - * - * *
          * A Zypper Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; */ public Builder setZypper( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository - .Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder builderForValue) { if (zypperBuilder_ == null) { repository_ = builderForValue.build(); onChanged(); @@ -23167,32 +19629,18 @@ public Builder setZypper( return this; } /** - * - * *
          * A Zypper Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; */ - public Builder mergeZypper( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository - value) { + public Builder mergeZypper(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository value) { if (zypperBuilder_ == null) { - if (repositoryCase_ == 3 - && repository_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.getDefaultInstance()) { - repository_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - repository_) - .mergeFrom(value) - .buildPartial(); + if (repositoryCase_ == 3 && + repository_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance()) { + repository_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_) + .mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -23208,15 +19656,11 @@ public Builder mergeZypper( return this; } /** - * - * *
          * A Zypper Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; */ public Builder clearZypper() { if (zypperBuilder_ == null) { @@ -23235,113 +19679,67 @@ public Builder clearZypper() { return this; } /** - * - * *
          * A Zypper Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.Builder - getZypperBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder getZypperBuilder() { return getZypperFieldBuilder().getBuilder(); } /** - * - * *
          * A Zypper Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepositoryOrBuilder - getZypperOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder getZypperOrBuilder() { if ((repositoryCase_ == 3) && (zypperBuilder_ != null)) { return zypperBuilder_.getMessageOrBuilder(); } else { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); } } /** - * - * *
          * A Zypper Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepositoryOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder> getZypperFieldBuilder() { if (zypperBuilder_ == null) { if (!(repositoryCase_ == 3)) { - repository_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.getDefaultInstance(); - } - zypperBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepositoryOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .ZypperRepository) - repository_, + repository_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); + } + zypperBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 3; - onChanged(); - ; + onChanged();; return zypperBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository - .Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepositoryOrBuilder> - gooBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder> gooBuilder_; /** - * - * *
          * A Goo Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; * @return Whether the goo field is set. */ @java.lang.Override @@ -23349,51 +19747,35 @@ public boolean hasGoo() { return repositoryCase_ == 4; } /** - * - * *
          * A Goo Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; * @return The goo. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository - getGoo() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository getGoo() { if (gooBuilder_ == null) { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository) - repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); } else { if (repositoryCase_ == 4) { return gooBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); } } /** - * - * *
          * A Goo Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; */ - public Builder setGoo( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository - value) { + public Builder setGoo(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository value) { if (gooBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -23407,20 +19789,14 @@ public Builder setGoo( return this; } /** - * - * *
          * A Goo Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; */ public Builder setGoo( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository - .Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.Builder builderForValue) { if (gooBuilder_ == null) { repository_ = builderForValue.build(); onChanged(); @@ -23431,32 +19807,18 @@ public Builder setGoo( return this; } /** - * - * *
          * A Goo Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; */ - public Builder mergeGoo( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository - value) { + public Builder mergeGoo(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository value) { if (gooBuilder_ == null) { - if (repositoryCase_ == 4 - && repository_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository.getDefaultInstance()) { - repository_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository.newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository) - repository_) - .mergeFrom(value) - .buildPartial(); + if (repositoryCase_ == 4 && + repository_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance()) { + repository_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_) + .mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -23472,15 +19834,11 @@ public Builder mergeGoo( return this; } /** - * - * *
          * A Goo Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; */ public Builder clearGoo() { if (gooBuilder_ == null) { @@ -23499,94 +19857,58 @@ public Builder clearGoo() { return this; } /** - * - * *
          * A Goo Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository - .Builder - getGooBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.Builder getGooBuilder() { return getGooFieldBuilder().getBuilder(); } /** - * - * *
          * A Goo Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepositoryOrBuilder - getGooOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder getGooOrBuilder() { if ((repositoryCase_ == 4) && (gooBuilder_ != null)) { return gooBuilder_.getMessageOrBuilder(); } else { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository) - repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); } } /** - * - * *
          * A Goo Repository.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository - .Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepositoryOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder> getGooFieldBuilder() { if (gooBuilder_ == null) { if (!(repositoryCase_ == 4)) { - repository_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository.getDefaultInstance(); - } - gooBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepositoryOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .GooRepository) - repository_, + repository_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); + } + gooBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 4; - onChanged(); - ; + onChanged();; return gooBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -23599,33 +19921,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RepositoryResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RepositoryResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RepositoryResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RepositoryResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -23637,20 +19956,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ExecResourceOrBuilder - extends + public interface ExecResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Required. What to run to validate this resource is in the desired state.
        * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -23658,16 +19974,11 @@ public interface ExecResourceOrBuilder
        * failure running validate.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the validate field is set. */ boolean hasValidate(); /** - * - * *
        * Required. What to run to validate this resource is in the desired state.
        * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -23675,16 +19986,11 @@ public interface ExecResourceOrBuilder
        * failure running validate.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The validate. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec getValidate(); /** - * - * *
        * Required. What to run to validate this resource is in the desired state.
        * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -23692,61 +19998,44 @@ public interface ExecResourceOrBuilder
        * failure running validate.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder - getValidateOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder getValidateOrBuilder(); /** - * - * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
        * a failure running enforce.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; * @return Whether the enforce field is set. */ boolean hasEnforce(); /** - * - * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
        * a failure running enforce.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; * @return The enforce. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec getEnforce(); /** - * - * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
        * a failure running enforce.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder - getEnforceOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder getEnforceOrBuilder(); } /** - * - * *
      * A resource that allows executing scripts on the VM.
      * The `ExecResource` has 2 stages: `validate` and `enforce` and both stages
@@ -23774,29 +20063,30 @@ public interface ExecResourceOrBuilder
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource}
      */
-    public static final class ExecResource extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class ExecResource extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource)
         ExecResourceOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use ExecResource.newBuilder() to construct.
       private ExecResource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private ExecResource() {}
+      private ExecResource() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new ExecResource();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private ExecResource(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -23815,51 +20105,39 @@ private ExecResource(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder
-                      subBuilder = null;
-                  if (validate_ != null) {
-                    subBuilder = validate_.toBuilder();
-                  }
-                  validate_ =
-                      input.readMessage(
-                          com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec
-                              .parser(),
-                          extensionRegistry);
-                  if (subBuilder != null) {
-                    subBuilder.mergeFrom(validate_);
-                    validate_ = subBuilder.buildPartial();
-                  }
-
-                  break;
+              case 10: {
+                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder subBuilder = null;
+                if (validate_ != null) {
+                  subBuilder = validate_.toBuilder();
+                }
+                validate_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(validate_);
+                  validate_ = subBuilder.buildPartial();
                 }
-              case 18:
-                {
-                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder
-                      subBuilder = null;
-                  if (enforce_ != null) {
-                    subBuilder = enforce_.toBuilder();
-                  }
-                  enforce_ =
-                      input.readMessage(
-                          com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec
-                              .parser(),
-                          extensionRegistry);
-                  if (subBuilder != null) {
-                    subBuilder.mergeFrom(enforce_);
-                    enforce_ = subBuilder.buildPartial();
-                  }
 
-                  break;
+                break;
+              }
+              case 18: {
+                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder subBuilder = null;
+                if (enforce_ != null) {
+                  subBuilder = enforce_.toBuilder();
                 }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+                enforce_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(enforce_);
+                  enforce_ = subBuilder.buildPartial();
+                }
+
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -23867,61 +20145,49 @@ private ExecResource(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-            .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-            .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.class,
-                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder.class);
+                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder.class);
       }
 
-      public interface ExecOrBuilder
-          extends
+      public interface ExecOrBuilder extends
           // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec)
           com.google.protobuf.MessageOrBuilder {
 
         /**
-         *
-         *
          * 
          * A remote or local file.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; - * * @return Whether the file field is set. */ boolean hasFile(); /** - * - * *
          * A remote or local file.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; - * * @return The file. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getFile(); /** - * - * *
          * A remote or local file.
          * 
@@ -23931,129 +20197,98 @@ public interface ExecOrBuilder com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getFileOrBuilder(); /** - * - * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; - * * @return Whether the script field is set. */ boolean hasScript(); /** - * - * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; - * * @return The script. */ java.lang.String getScript(); /** - * - * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; - * * @return The bytes for script. */ - com.google.protobuf.ByteString getScriptBytes(); + com.google.protobuf.ByteString + getScriptBytes(); /** - * - * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; - * * @return A list containing the args. */ - java.util.List getArgsList(); + java.util.List + getArgsList(); /** - * - * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; - * * @return The count of args. */ int getArgsCount(); /** - * - * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; - * * @param index The index of the element to return. * @return The args at the given index. */ java.lang.String getArgs(int index); /** - * - * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; - * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - com.google.protobuf.ByteString getArgsBytes(int index); + com.google.protobuf.ByteString + getArgsBytes(int index); /** - * - * *
          * Required. The script interpreter to use.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for interpreter. */ int getInterpreterValue(); /** - * - * *
          * Required. The script interpreter to use.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The interpreter. */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter - getInterpreter(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter getInterpreter(); /** - * - * *
          * Only recorded for enforce Exec.
          * Path to an output file (that is created by this Exec) whose
@@ -24064,13 +20299,10 @@ public interface ExecOrBuilder
          * 
* * string output_file_path = 5; - * * @return The outputFilePath. */ java.lang.String getOutputFilePath(); /** - * - * *
          * Only recorded for enforce Exec.
          * Path to an output file (that is created by this Exec) whose
@@ -24081,33 +20313,29 @@ public interface ExecOrBuilder
          * 
* * string output_file_path = 5; - * * @return The bytes for outputFilePath. */ - com.google.protobuf.ByteString getOutputFilePathBytes(); + com.google.protobuf.ByteString + getOutputFilePathBytes(); - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.SourceCase - getSourceCase(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.SourceCase getSourceCase(); } /** - * - * *
        * A file or script to execute.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec} */ - public static final class Exec extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Exec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) ExecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Exec.newBuilder() to construct. private Exec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Exec() { args_ = com.google.protobuf.LazyStringArrayList.EMPTY; interpreter_ = 0; @@ -24116,15 +20344,16 @@ private Exec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Exec(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Exec( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -24144,65 +20373,54 @@ private Exec( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = - null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_).toBuilder(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - sourceCase_ = 2; - source_ = s; - break; + source_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); + source_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - args_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - args_.add(s); - break; + sourceCase_ = 1; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 2; + source_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + args_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 32: - { - int rawValue = input.readEnum(); + args_.add(s); + break; + } + case 32: { + int rawValue = input.readEnum(); - interpreter_ = rawValue; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + interpreter_ = rawValue; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - outputFilePath_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + outputFilePath_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -24210,8 +20428,8 @@ private Exec( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); @@ -24220,37 +20438,29 @@ private Exec( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder - .class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder.class); } /** - * - * *
          * The interpreter to use.
          * 
* - * Protobuf enum {@code - * google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter} + * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter} */ - public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { + public enum Interpreter + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
            * Invalid value, the request will return validation error.
            * 
@@ -24259,8 +20469,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { */ INTERPRETER_UNSPECIFIED(0), /** - * - * *
            * If an interpreter is not specified, the
            * source is executed directly. This execution, without an
@@ -24273,8 +20481,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
            */
           NONE(1),
           /**
-           *
-           *
            * 
            * Indicates that the script runs with `/bin/sh` on Linux and
            * `cmd.exe` on Windows.
@@ -24284,8 +20490,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
            */
           SHELL(2),
           /**
-           *
-           *
            * 
            * Indicates that the script runs with PowerShell.
            * 
@@ -24297,8 +20501,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
            * Invalid value, the request will return validation error.
            * 
@@ -24307,8 +20509,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INTERPRETER_UNSPECIFIED_VALUE = 0; /** - * - * *
            * If an interpreter is not specified, the
            * source is executed directly. This execution, without an
@@ -24321,8 +20521,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
            */
           public static final int NONE_VALUE = 1;
           /**
-           *
-           *
            * 
            * Indicates that the script runs with `/bin/sh` on Linux and
            * `cmd.exe` on Windows.
@@ -24332,8 +20530,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
            */
           public static final int SHELL_VALUE = 2;
           /**
-           *
-           *
            * 
            * Indicates that the script runs with PowerShell.
            * 
@@ -24342,6 +20538,7 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POWERSHELL_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -24366,16 +20563,11 @@ public static Interpreter valueOf(int value) { */ public static Interpreter forNumber(int value) { switch (value) { - case 0: - return INTERPRETER_UNSPECIFIED; - case 1: - return NONE; - case 2: - return SHELL; - case 3: - return POWERSHELL; - default: - return null; + case 0: return INTERPRETER_UNSPECIFIED; + case 1: return NONE; + case 2: return SHELL; + case 3: return POWERSHELL; + default: return null; } } @@ -24383,32 +20575,29 @@ public static Interpreter forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Interpreter> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Interpreter findValueByNumber(int number) { + return Interpreter.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Interpreter findValueByNumber(int number) { - return Interpreter.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.getDescriptor().getEnumTypes().get(0); } private static final Interpreter[] VALUES = values(); @@ -24417,7 +20606,7 @@ public static Interpreter valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -24436,16 +20625,13 @@ private Interpreter(int value) { private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FILE(1), SCRIPT(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -24461,36 +20647,30 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return FILE; - case 2: - return SCRIPT; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return FILE; + case 2: return SCRIPT; + case 0: return SOURCE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public static final int FILE_FIELD_NUMBER = 1; /** - * - * *
          * A remote or local file.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; - * * @return Whether the file field is set. */ @java.lang.Override @@ -24498,26 +20678,21 @@ public boolean hasFile() { return sourceCase_ == 1; } /** - * - * *
          * A remote or local file.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; - * * @return The file. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getFile() { if (sourceCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance(); } /** - * - * *
          * A remote or local file.
          * 
@@ -24525,40 +20700,33 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getFile() { * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder - getFileOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getFileOrBuilder() { if (sourceCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance(); } public static final int SCRIPT_FIELD_NUMBER = 2; /** - * - * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; - * * @return Whether the script field is set. */ public boolean hasScript() { return sourceCase_ == 2; } /** - * - * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; - * * @return The script. */ public java.lang.String getScript() { @@ -24569,7 +20737,8 @@ public java.lang.String getScript() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -24578,25 +20747,24 @@ public java.lang.String getScript() { } } /** - * - * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; - * * @return The bytes for script. */ - public com.google.protobuf.ByteString getScriptBytes() { + public com.google.protobuf.ByteString + getScriptBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -24609,42 +20777,34 @@ public com.google.protobuf.ByteString getScriptBytes() { public static final int ARGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList args_; /** - * - * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; - * * @return A list containing the args. */ - public com.google.protobuf.ProtocolStringList getArgsList() { + public com.google.protobuf.ProtocolStringList + getArgsList() { return args_; } /** - * - * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; - * * @return The count of args. */ public int getArgsCount() { return args_.size(); } /** - * - * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; - * * @param index The index of the element to return. * @return The args at the given index. */ @@ -24652,71 +20812,49 @@ public java.lang.String getArgs(int index) { return args_.get(index); } /** - * - * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; - * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - public com.google.protobuf.ByteString getArgsBytes(int index) { + public com.google.protobuf.ByteString + getArgsBytes(int index) { return args_.getByteString(index); } public static final int INTERPRETER_FIELD_NUMBER = 4; private int interpreter_; /** - * - * *
          * Required. The script interpreter to use.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override - public int getInterpreterValue() { + @java.lang.Override public int getInterpreterValue() { return interpreter_; } /** - * - * *
          * Required. The script interpreter to use.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The interpreter. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter - getInterpreter() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter result = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter - .valueOf(interpreter_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter - .UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter result = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter.valueOf(interpreter_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter.UNRECOGNIZED : result; } public static final int OUTPUT_FILE_PATH_FIELD_NUMBER = 5; private volatile java.lang.Object outputFilePath_; /** - * - * *
          * Only recorded for enforce Exec.
          * Path to an output file (that is created by this Exec) whose
@@ -24727,7 +20865,6 @@ public int getInterpreterValue() {
          * 
* * string output_file_path = 5; - * * @return The outputFilePath. */ @java.lang.Override @@ -24736,15 +20873,14 @@ public java.lang.String getOutputFilePath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputFilePath_ = s; return s; } } /** - * - * *
          * Only recorded for enforce Exec.
          * Path to an output file (that is created by this Exec) whose
@@ -24755,15 +20891,16 @@ public java.lang.String getOutputFilePath() {
          * 
* * string output_file_path = 5; - * * @return The bytes for outputFilePath. */ @java.lang.Override - public com.google.protobuf.ByteString getOutputFilePathBytes() { + public com.google.protobuf.ByteString + getOutputFilePathBytes() { java.lang.Object ref = outputFilePath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputFilePath_ = b; return b; } else { @@ -24772,7 +20909,6 @@ public com.google.protobuf.ByteString getOutputFilePathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -24785,10 +20921,9 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (sourceCase_ == 1) { - output.writeMessage( - 1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); + output.writeMessage(1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); } if (sourceCase_ == 2) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, source_); @@ -24796,10 +20931,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < args_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, args_.getRaw(i)); } - if (interpreter_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter - .INTERPRETER_UNSPECIFIED - .getNumber()) { + if (interpreter_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { output.writeEnum(4, interpreter_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputFilePath_)) { @@ -24815,9 +20947,8 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); } if (sourceCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_); @@ -24830,11 +20961,9 @@ public int getSerializedSize() { size += dataSize; size += 1 * getArgsList().size(); } - if (interpreter_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter - .INTERPRETER_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, interpreter_); + if (interpreter_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, interpreter_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputFilePath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, outputFilePath_); @@ -24847,25 +20976,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) obj; - if (!getArgsList().equals(other.getArgsList())) return false; + if (!getArgsList() + .equals(other.getArgsList())) return false; if (interpreter_ != other.interpreter_) return false; - if (!getOutputFilePath().equals(other.getOutputFilePath())) return false; + if (!getOutputFilePath() + .equals(other.getOutputFilePath())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 1: - if (!getFile().equals(other.getFile())) return false; + if (!getFile() + .equals(other.getFile())) return false; break; case 2: - if (!getScript().equals(other.getScript())) return false; + if (!getScript() + .equals(other.getScript())) return false; break; case 0: default: @@ -24906,105 +21037,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -25014,50 +21128,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * A file or script to execute.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder - .class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -25073,22 +21181,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec result = - buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -25096,10 +21201,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec bui } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec result = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec(this); int from_bitField0_ = bitField0_; if (sourceCase_ == 1) { if (fileBuilder_ == null) { @@ -25127,54 +21230,46 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) other); + if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance()) return this; if (!other.args_.isEmpty()) { if (args_.isEmpty()) { args_ = other.args_; @@ -25193,22 +21288,19 @@ public Builder mergeFrom( onChanged(); } switch (other.getSourceCase()) { - case FILE: - { - mergeFile(other.getFile()); - break; - } - case SCRIPT: - { - sourceCase_ = 2; - source_ = other.source_; - onChanged(); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case FILE: { + mergeFile(other.getFile()); + break; + } + case SCRIPT: { + sourceCase_ = 2; + source_ = other.source_; + onChanged(); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -25225,14 +21317,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parsedMessage = - null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -25241,12 +21330,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -25259,19 +21348,13 @@ public Builder clearSource() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> - fileBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> fileBuilder_; /** - * - * *
            * A remote or local file.
            * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; - * * @return Whether the file field is set. */ @java.lang.Override @@ -25279,14 +21362,11 @@ public boolean hasFile() { return sourceCase_ == 1; } /** - * - * *
            * A remote or local file.
            * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; - * * @return The file. */ @java.lang.Override @@ -25304,8 +21384,6 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getFile() { } } /** - * - * *
            * A remote or local file.
            * 
@@ -25326,8 +21404,6 @@ public Builder setFile(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File return this; } /** - * - * *
            * A remote or local file.
            * 
@@ -25346,8 +21422,6 @@ public Builder setFile( return this; } /** - * - * *
            * A remote or local file.
            * 
@@ -25356,15 +21430,10 @@ public Builder setFile( */ public Builder mergeFile(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { if (fileBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File - .getDefaultInstance()) { - source_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance()) { + source_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -25380,8 +21449,6 @@ public Builder mergeFile(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Fil return this; } /** - * - * *
            * A remote or local file.
            * 
@@ -25405,8 +21472,6 @@ public Builder clearFile() { return this; } /** - * - * *
            * A remote or local file.
            * 
@@ -25417,8 +21482,6 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder getFileB return getFileFieldBuilder().getBuilder(); } /** - * - * *
            * A remote or local file.
            * 
@@ -25426,8 +21489,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder getFileB * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder - getFileOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getFileOrBuilder() { if ((sourceCase_ == 1) && (fileBuilder_ != null)) { return fileBuilder_.getMessageOrBuilder(); } else { @@ -25438,8 +21500,6 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder getFileB } } /** - * - * *
            * A remote or local file.
            * 
@@ -25447,41 +21507,31 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder getFileB * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> getFileFieldBuilder() { if (fileBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance(); + source_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance(); } - fileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( + fileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return fileBuilder_; } /** - * - * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; - * * @return Whether the script field is set. */ @java.lang.Override @@ -25489,15 +21539,12 @@ public boolean hasScript() { return sourceCase_ == 2; } /** - * - * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; - * * @return The script. */ @java.lang.Override @@ -25507,7 +21554,8 @@ public java.lang.String getScript() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -25518,26 +21566,25 @@ public java.lang.String getScript() { } } /** - * - * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; - * * @return The bytes for script. */ @java.lang.Override - public com.google.protobuf.ByteString getScriptBytes() { + public com.google.protobuf.ByteString + getScriptBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -25547,37 +21594,32 @@ public com.google.protobuf.ByteString getScriptBytes() { } } /** - * - * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; - * * @param value The script to set. * @return This builder for chaining. */ - public Builder setScript(java.lang.String value) { + public Builder setScript( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceCase_ = 2; + throw new NullPointerException(); + } + sourceCase_ = 2; source_ = value; onChanged(); return this; } /** - * - * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; - * * @return This builder for chaining. */ public Builder clearScript() { @@ -25589,75 +21631,63 @@ public Builder clearScript() { return this; } /** - * - * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; - * * @param value The bytes for script to set. * @return This builder for chaining. */ - public Builder setScriptBytes(com.google.protobuf.ByteString value) { + public Builder setScriptBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); sourceCase_ = 2; source_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList args_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList args_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArgsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(args_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; - * * @return A list containing the args. */ - public com.google.protobuf.ProtocolStringList getArgsList() { + public com.google.protobuf.ProtocolStringList + getArgsList() { return args_.getUnmodifiableView(); } /** - * - * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; - * * @return The count of args. */ public int getArgsCount() { return args_.size(); } /** - * - * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; - * * @param index The index of the element to return. * @return The args at the given index. */ @@ -25665,90 +21695,80 @@ public java.lang.String getArgs(int index) { return args_.get(index); } /** - * - * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; - * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - public com.google.protobuf.ByteString getArgsBytes(int index) { + public com.google.protobuf.ByteString + getArgsBytes(int index) { return args_.getByteString(index); } /** - * - * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; - * * @param index The index to set the value at. * @param value The args to set. * @return This builder for chaining. */ - public Builder setArgs(int index, java.lang.String value) { + public Builder setArgs( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); + throw new NullPointerException(); + } + ensureArgsIsMutable(); args_.set(index, value); onChanged(); return this; } /** - * - * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; - * * @param value The args to add. * @return This builder for chaining. */ - public Builder addArgs(java.lang.String value) { + public Builder addArgs( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); + throw new NullPointerException(); + } + ensureArgsIsMutable(); args_.add(value); onChanged(); return this; } /** - * - * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; - * * @param values The args to add. * @return This builder for chaining. */ - public Builder addAllArgs(java.lang.Iterable values) { + public Builder addAllArgs( + java.lang.Iterable values) { ensureArgsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, args_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, args_); onChanged(); return this; } /** - * - * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; - * * @return This builder for chaining. */ public Builder clearArgs() { @@ -25758,22 +21778,20 @@ public Builder clearArgs() { return this; } /** - * - * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; - * * @param value The bytes of the args to add. * @return This builder for chaining. */ - public Builder addArgsBytes(com.google.protobuf.ByteString value) { + public Builder addArgsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureArgsIsMutable(); args_.add(value); onChanged(); @@ -25782,108 +21800,73 @@ public Builder addArgsBytes(com.google.protobuf.ByteString value) { private int interpreter_ = 0; /** - * - * *
            * Required. The script interpreter to use.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override - public int getInterpreterValue() { + @java.lang.Override public int getInterpreterValue() { return interpreter_; } /** - * - * *
            * Required. The script interpreter to use.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for interpreter to set. * @return This builder for chaining. */ public Builder setInterpreterValue(int value) { - + interpreter_ = value; onChanged(); return this; } /** - * - * *
            * Required. The script interpreter to use.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The interpreter. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter - getInterpreter() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter - result = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - .Interpreter.valueOf(interpreter_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter - .UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter result = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter.valueOf(interpreter_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter.UNRECOGNIZED : result; } /** - * - * *
            * Required. The script interpreter to use.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; * @param value The interpreter to set. * @return This builder for chaining. */ - public Builder setInterpreter( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter - value) { + public Builder setInterpreter(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter value) { if (value == null) { throw new NullPointerException(); } - + interpreter_ = value.getNumber(); onChanged(); return this; } /** - * - * *
            * Required. The script interpreter to use.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearInterpreter() { - + interpreter_ = 0; onChanged(); return this; @@ -25891,8 +21874,6 @@ public Builder clearInterpreter() { private java.lang.Object outputFilePath_ = ""; /** - * - * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -25903,13 +21884,13 @@ public Builder clearInterpreter() {
            * 
* * string output_file_path = 5; - * * @return The outputFilePath. */ public java.lang.String getOutputFilePath() { java.lang.Object ref = outputFilePath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputFilePath_ = s; return s; @@ -25918,8 +21899,6 @@ public java.lang.String getOutputFilePath() { } } /** - * - * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -25930,14 +21909,15 @@ public java.lang.String getOutputFilePath() {
            * 
* * string output_file_path = 5; - * * @return The bytes for outputFilePath. */ - public com.google.protobuf.ByteString getOutputFilePathBytes() { + public com.google.protobuf.ByteString + getOutputFilePathBytes() { java.lang.Object ref = outputFilePath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputFilePath_ = b; return b; } else { @@ -25945,8 +21925,6 @@ public com.google.protobuf.ByteString getOutputFilePathBytes() { } } /** - * - * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -25957,22 +21935,20 @@ public com.google.protobuf.ByteString getOutputFilePathBytes() {
            * 
* * string output_file_path = 5; - * * @param value The outputFilePath to set. * @return This builder for chaining. */ - public Builder setOutputFilePath(java.lang.String value) { + public Builder setOutputFilePath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputFilePath_ = value; onChanged(); return this; } /** - * - * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -25983,18 +21959,15 @@ public Builder setOutputFilePath(java.lang.String value) {
            * 
* * string output_file_path = 5; - * * @return This builder for chaining. */ public Builder clearOutputFilePath() { - + outputFilePath_ = getDefaultInstance().getOutputFilePath(); onChanged(); return this; } /** - * - * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -26005,21 +21978,20 @@ public Builder clearOutputFilePath() {
            * 
* * string output_file_path = 5; - * * @param value The bytes for outputFilePath to set. * @return This builder for chaining. */ - public Builder setOutputFilePathBytes(com.google.protobuf.ByteString value) { + public Builder setOutputFilePathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputFilePath_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -26032,33 +22004,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Exec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Exec(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Exec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Exec(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -26070,17 +22039,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int VALIDATE_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate_; /** - * - * *
        * Required. What to run to validate this resource is in the desired state.
        * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -26088,10 +22055,7 @@ public com.google.protobuf.Parser getParserForType() {
        * failure running validate.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the validate field is set. */ @java.lang.Override @@ -26099,8 +22063,6 @@ public boolean hasValidate() { return validate_ != null; } /** - * - * *
        * Required. What to run to validate this resource is in the desired state.
        * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -26108,22 +22070,14 @@ public boolean hasValidate() {
        * failure running validate.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The validate. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec getValidate() { - return validate_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - .getDefaultInstance() - : validate_; + return validate_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : validate_; } /** - * - * *
        * Required. What to run to validate this resource is in the desired state.
        * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -26131,30 +22085,23 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec get
        * failure running validate.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder - getValidateOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder getValidateOrBuilder() { return getValidate(); } public static final int ENFORCE_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce_; /** - * - * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
        * a failure running enforce.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; * @return Whether the enforce field is set. */ @java.lang.Override @@ -26162,46 +22109,34 @@ public boolean hasEnforce() { return enforce_ != null; } /** - * - * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
        * a failure running enforce.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; * @return The enforce. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec getEnforce() { - return enforce_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - .getDefaultInstance() - : enforce_; + return enforce_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : enforce_; } /** - * - * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
        * a failure running enforce.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder - getEnforceOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder getEnforceOrBuilder() { return getEnforce(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -26213,7 +22148,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (validate_ != null) { output.writeMessage(1, getValidate()); } @@ -26230,10 +22166,12 @@ public int getSerializedSize() { size = 0; if (validate_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getValidate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getValidate()); } if (enforce_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEnforce()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEnforce()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -26243,21 +22181,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) obj; if (hasValidate() != other.hasValidate()) return false; if (hasValidate()) { - if (!getValidate().equals(other.getValidate())) return false; + if (!getValidate() + .equals(other.getValidate())) return false; } if (hasEnforce() != other.hasEnforce()) return false; if (hasEnforce()) { - if (!getEnforce().equals(other.getEnforce())) return false; + if (!getEnforce() + .equals(other.getEnforce())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -26284,96 +22223,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource - 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -26383,8 +22313,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A resource that allows executing scripts on the VM.
        * The `ExecResource` has 2 stages: `validate` and `enforce` and both stages
@@ -26412,41 +22340,38 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource)
           com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-              .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-              .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_fieldAccessorTable
+          return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.class,
-                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder.class);
+                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder.class);
         }
 
-        // Construct using
-        // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.newBuilder()
+        // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
+          }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -26466,16 +22391,14 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-              .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource
-            getDefaultInstanceForType() {
-          return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource
-              .getDefaultInstance();
+        public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource getDefaultInstanceForType() {
+          return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.getDefaultInstance();
         }
 
         @java.lang.Override
@@ -26489,8 +22412,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource build()
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource buildPartial() {
-          com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource result =
-              new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource(this);
+          com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource(this);
           if (validateBuilder_ == null) {
             result.validate_ = validate_;
           } else {
@@ -26509,53 +22431,46 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource buildPar
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1alpha.OSPolicy.Resource.ExecResource) {
-            return mergeFrom(
-                (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) other);
+            return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource other) {
-          if (other
-              == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource
-                  .getDefaultInstance()) return this;
+        public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource other) {
+          if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.getDefaultInstance()) return this;
           if (other.hasValidate()) {
             mergeValidate(other.getValidate());
           }
@@ -26581,9 +22496,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource)
-                    e.getUnfinishedMessage();
+            parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -26595,13 +22508,8 @@ public Builder mergeFrom(
 
         private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate_;
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec,
-                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder,
-                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder>
-            validateBuilder_;
+            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder> validateBuilder_;
         /**
-         *
-         *
          * 
          * Required. What to run to validate this resource is in the desired state.
          * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -26609,18 +22517,13 @@ public Builder mergeFrom(
          * failure running validate.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the validate field is set. */ public boolean hasValidate() { return validateBuilder_ != null || validate_ != null; } /** - * - * *
          * Required. What to run to validate this resource is in the desired state.
          * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -26628,25 +22531,17 @@ public boolean hasValidate() {
          * failure running validate.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The validate. */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec getValidate() { if (validateBuilder_ == null) { - return validate_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - .getDefaultInstance() - : validate_; + return validate_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : validate_; } else { return validateBuilder_.getMessage(); } } /** - * - * *
          * Required. What to run to validate this resource is in the desired state.
          * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -26654,12 +22549,9 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec get
          * failure running validate.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setValidate( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec value) { + public Builder setValidate(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec value) { if (validateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -26673,8 +22565,6 @@ public Builder setValidate( return this; } /** - * - * *
          * Required. What to run to validate this resource is in the desired state.
          * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -26682,13 +22572,10 @@ public Builder setValidate(
          * failure running validate.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setValidate( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder builderForValue) { if (validateBuilder_ == null) { validate_ = builderForValue.build(); onChanged(); @@ -26699,8 +22586,6 @@ public Builder setValidate( return this; } /** - * - * *
          * Required. What to run to validate this resource is in the desired state.
          * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -26708,19 +22593,13 @@ public Builder setValidate(
          * failure running validate.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeValidate( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec value) { + public Builder mergeValidate(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec value) { if (validateBuilder_ == null) { if (validate_ != null) { validate_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.newBuilder( - validate_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.newBuilder(validate_).mergeFrom(value).buildPartial(); } else { validate_ = value; } @@ -26732,8 +22611,6 @@ public Builder mergeValidate( return this; } /** - * - * *
          * Required. What to run to validate this resource is in the desired state.
          * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -26741,9 +22618,7 @@ public Builder mergeValidate(
          * failure running validate.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearValidate() { if (validateBuilder_ == null) { @@ -26757,8 +22632,6 @@ public Builder clearValidate() { return this; } /** - * - * *
          * Required. What to run to validate this resource is in the desired state.
          * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -26766,19 +22639,14 @@ public Builder clearValidate() {
          * failure running validate.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder - getValidateBuilder() { - + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder getValidateBuilder() { + onChanged(); return getValidateFieldBuilder().getBuilder(); } /** - * - * *
          * Required. What to run to validate this resource is in the desired state.
          * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -26786,24 +22654,17 @@ public Builder clearValidate() {
          * failure running validate.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder - getValidateOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder getValidateOrBuilder() { if (validateBuilder_ != null) { return validateBuilder_.getMessageOrBuilder(); } else { - return validate_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - .getDefaultInstance() - : validate_; + return validate_ == null ? + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : validate_; } } /** - * - * *
          * Required. What to run to validate this resource is in the desired state.
          * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -26811,22 +22672,17 @@ public Builder clearValidate() {
          * failure running validate.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder> getValidateFieldBuilder() { if (validateBuilder_ == null) { - validateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder>( - getValidate(), getParentForChildren(), isClean()); + validateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder>( + getValidate(), + getParentForChildren(), + isClean()); validate_ = null; } return validateBuilder_; @@ -26834,65 +22690,47 @@ public Builder clearValidate() { private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder> - enforceBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder> enforceBuilder_; /** - * - * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
          * a failure running enforce.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; * @return Whether the enforce field is set. */ public boolean hasEnforce() { return enforceBuilder_ != null || enforce_ != null; } /** - * - * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
          * a failure running enforce.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; * @return The enforce. */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec getEnforce() { if (enforceBuilder_ == null) { - return enforce_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - .getDefaultInstance() - : enforce_; + return enforce_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : enforce_; } else { return enforceBuilder_.getMessage(); } } /** - * - * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
          * a failure running enforce.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; */ - public Builder setEnforce( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec value) { + public Builder setEnforce(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec value) { if (enforceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -26906,20 +22744,16 @@ public Builder setEnforce( return this; } /** - * - * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
          * a failure running enforce.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; */ public Builder setEnforce( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder builderForValue) { if (enforceBuilder_ == null) { enforce_ = builderForValue.build(); onChanged(); @@ -26930,26 +22764,19 @@ public Builder setEnforce( return this; } /** - * - * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
          * a failure running enforce.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; */ - public Builder mergeEnforce( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec value) { + public Builder mergeEnforce(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec value) { if (enforceBuilder_ == null) { if (enforce_ != null) { enforce_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.newBuilder( - enforce_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.newBuilder(enforce_).mergeFrom(value).buildPartial(); } else { enforce_ = value; } @@ -26961,16 +22788,13 @@ public Builder mergeEnforce( return this; } /** - * - * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
          * a failure running enforce.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; */ public Builder clearEnforce() { if (enforceBuilder_ == null) { @@ -26984,75 +22808,58 @@ public Builder clearEnforce() { return this; } /** - * - * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
          * a failure running enforce.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder - getEnforceBuilder() { - + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder getEnforceBuilder() { + onChanged(); return getEnforceFieldBuilder().getBuilder(); } /** - * - * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
          * a failure running enforce.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder - getEnforceOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder getEnforceOrBuilder() { if (enforceBuilder_ != null) { return enforceBuilder_.getMessageOrBuilder(); } else { - return enforce_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec - .getDefaultInstance() - : enforce_; + return enforce_ == null ? + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : enforce_; } } /** - * - * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
          * a failure running enforce.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder> getEnforceFieldBuilder() { if (enforceBuilder_ == null) { - enforceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder>( - getEnforce(), getParentForChildren(), isClean()); + enforceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder>( + getEnforce(), + getParentForChildren(), + isClean()); enforce_ = null; } return enforceBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -27065,32 +22872,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -27102,44 +22907,35 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface FileResourceOrBuilder - extends + public interface FileResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * A remote or local source.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; - * * @return Whether the file field is set. */ boolean hasFile(); /** - * - * *
        * A remote or local source.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; - * * @return The file. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getFile(); /** - * - * *
        * A remote or local source.
        * 
@@ -27149,102 +22945,77 @@ public interface FileResourceOrBuilder com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getFileOrBuilder(); /** - * - * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; - * * @return Whether the content field is set. */ boolean hasContent(); /** - * - * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; - * * @return The content. */ java.lang.String getContent(); /** - * - * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; - * * @return The bytes for content. */ - com.google.protobuf.ByteString getContentBytes(); + com.google.protobuf.ByteString + getContentBytes(); /** - * - * *
        * Required. The absolute path of the file within the VM.
        * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
        * Required. The absolute path of the file within the VM.
        * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); /** - * - * *
        * Required. Desired state of the file.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
        * Required. Desired state of the file.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The state. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState getState(); /** - * - * *
        * Consists of three octal digits which represent, in
        * order, the permissions of the owner, group, and other users for the
@@ -27261,13 +23032,10 @@ public interface FileResourceOrBuilder
        * 
* * string permissions = 5; - * * @return The permissions. */ java.lang.String getPermissions(); /** - * - * *
        * Consists of three octal digits which represent, in
        * order, the permissions of the owner, group, and other users for the
@@ -27284,33 +23052,29 @@ public interface FileResourceOrBuilder
        * 
* * string permissions = 5; - * * @return The bytes for permissions. */ - com.google.protobuf.ByteString getPermissionsBytes(); + com.google.protobuf.ByteString + getPermissionsBytes(); - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.SourceCase - getSourceCase(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.SourceCase getSourceCase(); } /** - * - * *
      * A resource that manages the state of a file.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource} */ - public static final class FileResource extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class FileResource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) FileResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FileResource.newBuilder() to construct. private FileResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FileResource() { path_ = ""; state_ = 0; @@ -27319,15 +23083,16 @@ private FileResource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FileResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FileResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -27346,62 +23111,51 @@ private FileResource( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = - null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_).toBuilder(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - sourceCase_ = 2; - source_ = s; - break; + source_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); + source_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 1; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 2; + source_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 32: - { - int rawValue = input.readEnum(); + path_ = s; + break; + } + case 32: { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + state_ = rawValue; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - permissions_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + permissions_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -27409,43 +23163,36 @@ private FileResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder.class); } /** - * - * *
        * Desired state of the file.
        * 
* - * Protobuf enum {@code - * google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState} + * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState} */ - public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { + public enum DesiredState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * Unspecified is invalid.
          * 
@@ -27454,8 +23201,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ DESIRED_STATE_UNSPECIFIED(0), /** - * - * *
          * Ensure file at path is present.
          * 
@@ -27464,8 +23209,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ PRESENT(1), /** - * - * *
          * Ensure file at path is absent.
          * 
@@ -27474,8 +23217,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ ABSENT(2), /** - * - * *
          * Ensure the contents of the file at path matches. If the file does
          * not exist it will be created.
@@ -27488,8 +23229,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum {
         ;
 
         /**
-         *
-         *
          * 
          * Unspecified is invalid.
          * 
@@ -27498,8 +23237,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DESIRED_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
          * Ensure file at path is present.
          * 
@@ -27508,8 +23245,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRESENT_VALUE = 1; /** - * - * *
          * Ensure file at path is absent.
          * 
@@ -27518,8 +23253,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ABSENT_VALUE = 2; /** - * - * *
          * Ensure the contents of the file at path matches. If the file does
          * not exist it will be created.
@@ -27529,6 +23262,7 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum {
          */
         public static final int CONTENTS_MATCH_VALUE = 3;
 
+
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -27553,47 +23287,41 @@ public static DesiredState valueOf(int value) {
          */
         public static DesiredState forNumber(int value) {
           switch (value) {
-            case 0:
-              return DESIRED_STATE_UNSPECIFIED;
-            case 1:
-              return PRESENT;
-            case 2:
-              return ABSENT;
-            case 3:
-              return CONTENTS_MATCH;
-            default:
-              return null;
+            case 0: return DESIRED_STATE_UNSPECIFIED;
+            case 1: return PRESENT;
+            case 2: return ABSENT;
+            case 3: return CONTENTS_MATCH;
+            default: return null;
           }
         }
 
-        public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+        public static com.google.protobuf.Internal.EnumLiteMap
+            internalGetValueMap() {
           return internalValueMap;
         }
+        private static final com.google.protobuf.Internal.EnumLiteMap<
+            DesiredState> internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap() {
+                public DesiredState findValueByNumber(int number) {
+                  return DesiredState.forNumber(number);
+                }
+              };
 
-        private static final com.google.protobuf.Internal.EnumLiteMap
-            internalValueMap =
-                new com.google.protobuf.Internal.EnumLiteMap() {
-                  public DesiredState findValueByNumber(int number) {
-                    return DesiredState.forNumber(number);
-                  }
-                };
-
-        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+        public final com.google.protobuf.Descriptors.EnumValueDescriptor
+            getValueDescriptor() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalStateException(
                 "Can't get the descriptor of an unrecognized enum value.");
           }
           return getDescriptor().getValues().get(ordinal());
         }
-
-        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+        public final com.google.protobuf.Descriptors.EnumDescriptor
+            getDescriptorForType() {
           return getDescriptor();
         }
-
-        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDescriptor()
-              .getEnumTypes()
-              .get(0);
+        public static final com.google.protobuf.Descriptors.EnumDescriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDescriptor().getEnumTypes().get(0);
         }
 
         private static final DesiredState[] VALUES = values();
@@ -27602,7 +23330,7 @@ public static DesiredState valueOf(
             com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
           if (desc.getType() != getDescriptor()) {
             throw new java.lang.IllegalArgumentException(
-                "EnumValueDescriptor is not for this type.");
+              "EnumValueDescriptor is not for this type.");
           }
           if (desc.getIndex() == -1) {
             return UNRECOGNIZED;
@@ -27621,16 +23349,13 @@ private DesiredState(int value) {
 
       private int sourceCase_ = 0;
       private java.lang.Object source_;
-
       public enum SourceCase
-          implements
-              com.google.protobuf.Internal.EnumLite,
+          implements com.google.protobuf.Internal.EnumLite,
               com.google.protobuf.AbstractMessage.InternalOneOfEnum {
         FILE(1),
         CONTENT(2),
         SOURCE_NOT_SET(0);
         private final int value;
-
         private SourceCase(int value) {
           this.value = value;
         }
@@ -27646,36 +23371,30 @@ public static SourceCase valueOf(int value) {
 
         public static SourceCase forNumber(int value) {
           switch (value) {
-            case 1:
-              return FILE;
-            case 2:
-              return CONTENT;
-            case 0:
-              return SOURCE_NOT_SET;
-            default:
-              return null;
+            case 1: return FILE;
+            case 2: return CONTENT;
+            case 0: return SOURCE_NOT_SET;
+            default: return null;
           }
         }
-
         public int getNumber() {
           return this.value;
         }
       };
 
-      public SourceCase getSourceCase() {
-        return SourceCase.forNumber(sourceCase_);
+      public SourceCase
+      getSourceCase() {
+        return SourceCase.forNumber(
+            sourceCase_);
       }
 
       public static final int FILE_FIELD_NUMBER = 1;
       /**
-       *
-       *
        * 
        * A remote or local source.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; - * * @return Whether the file field is set. */ @java.lang.Override @@ -27683,26 +23402,21 @@ public boolean hasFile() { return sourceCase_ == 1; } /** - * - * *
        * A remote or local source.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; - * * @return The file. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getFile() { if (sourceCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance(); } /** - * - * *
        * A remote or local source.
        * 
@@ -27712,37 +23426,31 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getFile() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getFileOrBuilder() { if (sourceCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance(); } public static final int CONTENT_FIELD_NUMBER = 2; /** - * - * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; - * * @return Whether the content field is set. */ public boolean hasContent() { return sourceCase_ == 2; } /** - * - * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; - * * @return The content. */ public java.lang.String getContent() { @@ -27753,7 +23461,8 @@ public java.lang.String getContent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -27762,25 +23471,24 @@ public java.lang.String getContent() { } } /** - * - * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; - * * @return The bytes for content. */ - public com.google.protobuf.ByteString getContentBytes() { + public com.google.protobuf.ByteString + getContentBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -27793,14 +23501,11 @@ public com.google.protobuf.ByteString getContentBytes() { public static final int PATH_FIELD_NUMBER = 3; private volatile java.lang.Object path_; /** - * - * *
        * Required. The absolute path of the file within the VM.
        * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ @java.lang.Override @@ -27809,29 +23514,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** - * - * *
        * Required. The absolute path of the file within the VM.
        * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -27842,53 +23547,33 @@ public com.google.protobuf.ByteString getPathBytes() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** - * - * *
        * Required. Desired state of the file.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * Required. Desired state of the file.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The state. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState - getState() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState result = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState.valueOf( - state_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState - .UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState result = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState.UNRECOGNIZED : result; } public static final int PERMISSIONS_FIELD_NUMBER = 5; private volatile java.lang.Object permissions_; /** - * - * *
        * Consists of three octal digits which represent, in
        * order, the permissions of the owner, group, and other users for the
@@ -27905,7 +23590,6 @@ public int getStateValue() {
        * 
* * string permissions = 5; - * * @return The permissions. */ @java.lang.Override @@ -27914,15 +23598,14 @@ public java.lang.String getPermissions() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); permissions_ = s; return s; } } /** - * - * *
        * Consists of three octal digits which represent, in
        * order, the permissions of the owner, group, and other users for the
@@ -27939,15 +23622,16 @@ public java.lang.String getPermissions() {
        * 
* * string permissions = 5; - * * @return The bytes for permissions. */ @java.lang.Override - public com.google.protobuf.ByteString getPermissionsBytes() { + public com.google.protobuf.ByteString + getPermissionsBytes() { java.lang.Object ref = permissions_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); permissions_ = b; return b; } else { @@ -27956,7 +23640,6 @@ public com.google.protobuf.ByteString getPermissionsBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -27968,10 +23651,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (sourceCase_ == 1) { - output.writeMessage( - 1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); + output.writeMessage(1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); } if (sourceCase_ == 2) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, source_); @@ -27979,10 +23662,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, path_); } - if (state_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState - .DESIRED_STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(permissions_)) { @@ -27998,9 +23678,8 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); } if (sourceCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_); @@ -28008,11 +23687,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, path_); } - if (state_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState - .DESIRED_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + if (state_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(permissions_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, permissions_); @@ -28025,24 +23702,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) obj; - if (!getPath().equals(other.getPath())) return false; + if (!getPath() + .equals(other.getPath())) return false; if (state_ != other.state_) return false; - if (!getPermissions().equals(other.getPermissions())) return false; + if (!getPermissions() + .equals(other.getPermissions())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 1: - if (!getFile().equals(other.getFile())) return false; + if (!getFile() + .equals(other.getFile())) return false; break; case 2: - if (!getContent().equals(other.getContent())) return false; + if (!getContent() + .equals(other.getContent())) return false; break; case 0: default: @@ -28082,96 +23762,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource 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.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource - 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.osconfig.v1alpha.OSPolicy.Resource.FileResource 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.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -28181,49 +23852,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A resource that manages the state of a file.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -28239,16 +23905,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDefaultInstance(); } @java.lang.Override @@ -28262,8 +23926,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource build() @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource result = - new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource(this); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource(this); if (sourceCase_ == 1) { if (fileBuilder_ == null) { result.source_ = source_; @@ -28286,53 +23949,46 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.FileResource) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); @@ -28345,22 +24001,19 @@ public Builder mergeFrom( onChanged(); } switch (other.getSourceCase()) { - case FILE: - { - mergeFile(other.getFile()); - break; - } - case CONTENT: - { - sourceCase_ = 2; - source_ = other.source_; - onChanged(); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case FILE: { + mergeFile(other.getFile()); + break; + } + case CONTENT: { + sourceCase_ = 2; + source_ = other.source_; + onChanged(); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -28381,9 +24034,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -28392,12 +24043,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -28407,20 +24058,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> - fileBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> fileBuilder_; /** - * - * *
          * A remote or local source.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; - * * @return Whether the file field is set. */ @java.lang.Override @@ -28428,14 +24074,11 @@ public boolean hasFile() { return sourceCase_ == 1; } /** - * - * *
          * A remote or local source.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; - * * @return The file. */ @java.lang.Override @@ -28453,8 +24096,6 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getFile() { } } /** - * - * *
          * A remote or local source.
          * 
@@ -28475,8 +24116,6 @@ public Builder setFile(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File return this; } /** - * - * *
          * A remote or local source.
          * 
@@ -28495,8 +24134,6 @@ public Builder setFile( return this; } /** - * - * *
          * A remote or local source.
          * 
@@ -28505,15 +24142,10 @@ public Builder setFile( */ public Builder mergeFile(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { if (fileBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File - .getDefaultInstance()) { - source_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance()) { + source_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -28529,8 +24161,6 @@ public Builder mergeFile(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Fil return this; } /** - * - * *
          * A remote or local source.
          * 
@@ -28554,8 +24184,6 @@ public Builder clearFile() { return this; } /** - * - * *
          * A remote or local source.
          * 
@@ -28566,8 +24194,6 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder getFileB return getFileFieldBuilder().getBuilder(); } /** - * - * *
          * A remote or local source.
          * 
@@ -28575,8 +24201,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder getFileB * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder - getFileOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getFileOrBuilder() { if ((sourceCase_ == 1) && (fileBuilder_ != null)) { return fileBuilder_.getMessageOrBuilder(); } else { @@ -28587,8 +24212,6 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder getFileB } } /** - * - * *
          * A remote or local source.
          * 
@@ -28596,41 +24219,31 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder getFileB * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> getFileFieldBuilder() { if (fileBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance(); - } - fileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( + source_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance(); + } + fileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return fileBuilder_; } /** - * - * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; - * * @return Whether the content field is set. */ @java.lang.Override @@ -28638,15 +24251,12 @@ public boolean hasContent() { return sourceCase_ == 2; } /** - * - * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; - * * @return The content. */ @java.lang.Override @@ -28656,7 +24266,8 @@ public java.lang.String getContent() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -28667,26 +24278,25 @@ public java.lang.String getContent() { } } /** - * - * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; - * * @return The bytes for content. */ @java.lang.Override - public com.google.protobuf.ByteString getContentBytes() { + public com.google.protobuf.ByteString + getContentBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -28696,37 +24306,32 @@ public com.google.protobuf.ByteString getContentBytes() { } } /** - * - * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; - * * @param value The content to set. * @return This builder for chaining. */ - public Builder setContent(java.lang.String value) { + public Builder setContent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceCase_ = 2; + throw new NullPointerException(); + } + sourceCase_ = 2; source_ = value; onChanged(); return this; } /** - * - * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; - * * @return This builder for chaining. */ public Builder clearContent() { @@ -28738,23 +24343,21 @@ public Builder clearContent() { return this; } /** - * - * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; - * * @param value The bytes for content to set. * @return This builder for chaining. */ - public Builder setContentBytes(com.google.protobuf.ByteString value) { + public Builder setContentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); sourceCase_ = 2; source_ = value; onChanged(); @@ -28763,20 +24366,18 @@ public Builder setContentBytes(com.google.protobuf.ByteString value) { private java.lang.Object path_ = ""; /** - * - * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -28785,21 +24386,20 @@ public java.lang.String getPath() { } } /** - * - * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -28807,61 +24407,54 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -28869,106 +24462,73 @@ public Builder setPathBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
          * Required. Desired state of the file.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
          * Required. Desired state of the file.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
          * Required. Desired state of the file.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The state. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState - getState() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState result = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState.valueOf( - state_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState - .UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState result = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState.UNRECOGNIZED : result; } /** - * - * *
          * Required. Desired state of the file.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState value) { + public Builder setState(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
          * Required. Desired state of the file.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -28976,8 +24536,6 @@ public Builder clearState() { private java.lang.Object permissions_ = ""; /** - * - * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -28994,13 +24552,13 @@ public Builder clearState() {
          * 
* * string permissions = 5; - * * @return The permissions. */ public java.lang.String getPermissions() { java.lang.Object ref = permissions_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); permissions_ = s; return s; @@ -29009,8 +24567,6 @@ public java.lang.String getPermissions() { } } /** - * - * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -29027,14 +24583,15 @@ public java.lang.String getPermissions() {
          * 
* * string permissions = 5; - * * @return The bytes for permissions. */ - public com.google.protobuf.ByteString getPermissionsBytes() { + public com.google.protobuf.ByteString + getPermissionsBytes() { java.lang.Object ref = permissions_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); permissions_ = b; return b; } else { @@ -29042,8 +24599,6 @@ public com.google.protobuf.ByteString getPermissionsBytes() { } } /** - * - * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -29060,22 +24615,20 @@ public com.google.protobuf.ByteString getPermissionsBytes() {
          * 
* * string permissions = 5; - * * @param value The permissions to set. * @return This builder for chaining. */ - public Builder setPermissions(java.lang.String value) { + public Builder setPermissions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + permissions_ = value; onChanged(); return this; } - /** - * - * + /** *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -29092,18 +24645,15 @@ public Builder setPermissions(java.lang.String value) {
          * 
* * string permissions = 5; - * * @return This builder for chaining. */ public Builder clearPermissions() { - + permissions_ = getDefaultInstance().getPermissions(); onChanged(); return this; } /** - * - * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -29120,21 +24670,20 @@ public Builder clearPermissions() {
          * 
* * string permissions = 5; - * * @param value The bytes for permissions to set. * @return This builder for chaining. */ - public Builder setPermissionsBytes(com.google.protobuf.ByteString value) { + public Builder setPermissionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + permissions_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -29147,32 +24696,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FileResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FileResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FileResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FileResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -29184,18 +24731,16 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int resourceTypeCase_ = 0; private java.lang.Object resourceType_; - public enum ResourceTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PKG(2), REPOSITORY(3), @@ -29203,7 +24748,6 @@ public enum ResourceTypeCase FILE(5), RESOURCETYPE_NOT_SET(0); private final int value; - private ResourceTypeCase(int value) { this.value = value; } @@ -29219,35 +24763,28 @@ public static ResourceTypeCase valueOf(int value) { public static ResourceTypeCase forNumber(int value) { switch (value) { - case 2: - return PKG; - case 3: - return REPOSITORY; - case 4: - return EXEC; - case 5: - return FILE; - case 0: - return RESOURCETYPE_NOT_SET; - default: - return null; + case 2: return PKG; + case 3: return REPOSITORY; + case 4: return EXEC; + case 5: return FILE; + case 0: return RESOURCETYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ResourceTypeCase getResourceTypeCase() { - return ResourceTypeCase.forNumber(resourceTypeCase_); + public ResourceTypeCase + getResourceTypeCase() { + return ResourceTypeCase.forNumber( + resourceTypeCase_); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** - * - * *
      * Required. The id of the resource with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -29258,7 +24795,6 @@ public ResourceTypeCase getResourceTypeCase() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ @java.lang.Override @@ -29267,15 +24803,14 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
      * Required. The id of the resource with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -29286,15 +24821,16 @@ public java.lang.String getId() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -29304,14 +24840,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int PKG_FIELD_NUMBER = 2; /** - * - * *
      * Package resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; - * * @return Whether the pkg field is set. */ @java.lang.Override @@ -29319,27 +24852,21 @@ public boolean hasPkg() { return resourceTypeCase_ == 2; } /** - * - * *
      * Package resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; - * * @return The pkg. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource getPkg() { if (resourceTypeCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDefaultInstance(); } /** - * - * *
      * Package resource
      * 
@@ -29347,26 +24874,20 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource getPk * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder - getPkgOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder getPkgOrBuilder() { if (resourceTypeCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDefaultInstance(); } public static final int REPOSITORY_FIELD_NUMBER = 3; /** - * - * *
      * Package repository resource
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; * @return Whether the repository field is set. */ @java.lang.Override @@ -29374,57 +24895,42 @@ public boolean hasRepository() { return resourceTypeCase_ == 3; } /** - * - * *
      * Package repository resource
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; * @return The repository. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource getRepository() { if (resourceTypeCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) - resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); } /** - * - * *
      * Package repository resource
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder - getRepositoryOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder getRepositoryOrBuilder() { if (resourceTypeCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) - resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); } public static final int EXEC_FIELD_NUMBER = 4; /** - * - * *
      * Exec resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; - * * @return Whether the exec field is set. */ @java.lang.Override @@ -29432,26 +24938,21 @@ public boolean hasExec() { return resourceTypeCase_ == 4; } /** - * - * *
      * Exec resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; - * * @return The exec. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource getExec() { if (resourceTypeCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.getDefaultInstance(); } /** - * - * *
      * Exec resource
      * 
@@ -29459,24 +24960,20 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource getExec( * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder - getExecOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder getExecOrBuilder() { if (resourceTypeCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.getDefaultInstance(); } public static final int FILE_FIELD_NUMBER = 5; /** - * - * *
      * File resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; - * * @return Whether the file field is set. */ @java.lang.Override @@ -29484,26 +24981,21 @@ public boolean hasFile() { return resourceTypeCase_ == 5; } /** - * - * *
      * File resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; - * * @return The file. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource getFile() { if (resourceTypeCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDefaultInstance(); } /** - * - * *
      * File resource
      * 
@@ -29511,16 +25003,14 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource getFile( * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder - getFileOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder getFileOrBuilder() { if (resourceTypeCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -29532,26 +25022,22 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (resourceTypeCase_ == 2) { - output.writeMessage( - 2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_); + output.writeMessage(2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_); } if (resourceTypeCase_ == 3) { - output.writeMessage( - 3, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_); + output.writeMessage(3, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_); } if (resourceTypeCase_ == 4) { - output.writeMessage( - 4, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_); + output.writeMessage(4, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_); } if (resourceTypeCase_ == 5) { - output.writeMessage( - 5, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_); + output.writeMessage(5, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_); } unknownFields.writeTo(output); } @@ -29566,30 +25052,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (resourceTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) - resourceType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_); } if (resourceTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) - resourceType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_); } if (resourceTypeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_); } if (resourceTypeCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -29599,28 +25075,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource) obj; - if (!getId().equals(other.getId())) return false; + if (!getId() + .equals(other.getId())) return false; if (!getResourceTypeCase().equals(other.getResourceTypeCase())) return false; switch (resourceTypeCase_) { case 2: - if (!getPkg().equals(other.getPkg())) return false; + if (!getPkg() + .equals(other.getPkg())) return false; break; case 3: - if (!getRepository().equals(other.getRepository())) return false; + if (!getRepository() + .equals(other.getRepository())) return false; break; case 4: - if (!getExec().equals(other.getExec())) return false; + if (!getExec() + .equals(other.getExec())) return false; break; case 5: - if (!getFile().equals(other.getFile())) return false; + if (!getFile() + .equals(other.getFile())) return false; break; case 0: default: @@ -29664,94 +25144,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource 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.osconfig.v1alpha.OSPolicy.Resource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -29761,8 +25234,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An OS policy resource is used to define the desired state configuration
      * and provides a specific functionality like installing/removing packages,
@@ -29773,24 +25244,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource)
         com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-            .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-            .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.class,
-                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder.class);
+                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.newBuilder()
@@ -29798,15 +25266,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -29818,9 +25287,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-            .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor;
       }
 
       @java.lang.Override
@@ -29839,8 +25308,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource buildPartial() {
-        com.google.cloud.osconfig.v1alpha.OSPolicy.Resource result =
-            new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource(this);
+        com.google.cloud.osconfig.v1alpha.OSPolicy.Resource result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource(this);
         result.id_ = id_;
         if (resourceTypeCase_ == 2) {
           if (pkgBuilder_ == null) {
@@ -29879,41 +25347,38 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1alpha.OSPolicy.Resource) {
-          return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource) other);
+          return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -29921,37 +25386,31 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource other) {
-        if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.getDefaultInstance()) return this;
         if (!other.getId().isEmpty()) {
           id_ = other.id_;
           onChanged();
         }
         switch (other.getResourceTypeCase()) {
-          case PKG:
-            {
-              mergePkg(other.getPkg());
-              break;
-            }
-          case REPOSITORY:
-            {
-              mergeRepository(other.getRepository());
-              break;
-            }
-          case EXEC:
-            {
-              mergeExec(other.getExec());
-              break;
-            }
-          case FILE:
-            {
-              mergeFile(other.getFile());
-              break;
-            }
-          case RESOURCETYPE_NOT_SET:
-            {
-              break;
-            }
+          case PKG: {
+            mergePkg(other.getPkg());
+            break;
+          }
+          case REPOSITORY: {
+            mergeRepository(other.getRepository());
+            break;
+          }
+          case EXEC: {
+            mergeExec(other.getExec());
+            break;
+          }
+          case FILE: {
+            mergeFile(other.getFile());
+            break;
+          }
+          case RESOURCETYPE_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -29972,8 +25431,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -29982,12 +25440,12 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int resourceTypeCase_ = 0;
       private java.lang.Object resourceType_;
-
-      public ResourceTypeCase getResourceTypeCase() {
-        return ResourceTypeCase.forNumber(resourceTypeCase_);
+      public ResourceTypeCase
+          getResourceTypeCase() {
+        return ResourceTypeCase.forNumber(
+            resourceTypeCase_);
       }
 
       public Builder clearResourceType() {
@@ -29997,10 +25455,9 @@ public Builder clearResourceType() {
         return this;
       }
 
+
       private java.lang.Object id_ = "";
       /**
-       *
-       *
        * 
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -30011,13 +25468,13 @@ public Builder clearResourceType() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -30026,8 +25483,6 @@ public java.lang.String getId() { } } /** - * - * *
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -30038,14 +25493,15 @@ public java.lang.String getId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -30053,8 +25509,6 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -30065,22 +25519,20 @@ public com.google.protobuf.ByteString getIdBytes() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -30091,18 +25543,15 @@ public Builder setId(java.lang.String value) {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -30113,35 +25562,29 @@ public Builder clearId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder> - pkgBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder> pkgBuilder_; /** - * - * *
        * Package resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; - * * @return Whether the pkg field is set. */ @java.lang.Override @@ -30149,44 +25592,35 @@ public boolean hasPkg() { return resourceTypeCase_ == 2; } /** - * - * *
        * Package resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; - * * @return The pkg. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource getPkg() { if (pkgBuilder_ == null) { if (resourceTypeCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) - resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDefaultInstance(); } else { if (resourceTypeCase_ == 2) { return pkgBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDefaultInstance(); } } /** - * - * *
        * Package resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; */ - public Builder setPkg( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource value) { + public Builder setPkg(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource value) { if (pkgBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -30200,8 +25634,6 @@ public Builder setPkg( return this; } /** - * - * *
        * Package resource
        * 
@@ -30209,8 +25641,7 @@ public Builder setPkg( * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; */ public Builder setPkg( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder builderForValue) { if (pkgBuilder_ == null) { resourceType_ = builderForValue.build(); onChanged(); @@ -30221,27 +25652,18 @@ public Builder setPkg( return this; } /** - * - * *
        * Package resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; */ - public Builder mergePkg( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource value) { + public Builder mergePkg(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource value) { if (pkgBuilder_ == null) { - if (resourceTypeCase_ == 2 - && resourceType_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .getDefaultInstance()) { - resourceType_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) - resourceType_) - .mergeFrom(value) - .buildPartial(); + if (resourceTypeCase_ == 2 && + resourceType_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDefaultInstance()) { + resourceType_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_) + .mergeFrom(value).buildPartial(); } else { resourceType_ = value; } @@ -30257,8 +25679,6 @@ public Builder mergePkg( return this; } /** - * - * *
        * Package resource
        * 
@@ -30282,21 +25702,16 @@ public Builder clearPkg() { return this; } /** - * - * *
        * Package resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder - getPkgBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder getPkgBuilder() { return getPkgFieldBuilder().getBuilder(); } /** - * - * *
        * Package resource
        * 
@@ -30304,22 +25719,17 @@ public Builder clearPkg() { * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder - getPkgOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder getPkgOrBuilder() { if ((resourceTypeCase_ == 2) && (pkgBuilder_ != null)) { return pkgBuilder_.getMessageOrBuilder(); } else { if (resourceTypeCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) - resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDefaultInstance(); } } /** - * - * *
        * Package resource
        * 
@@ -30327,48 +25737,32 @@ public Builder clearPkg() { * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder> getPkgFieldBuilder() { if (pkgBuilder_ == null) { if (!(resourceTypeCase_ == 2)) { - resourceType_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource - .getDefaultInstance(); - } - pkgBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) - resourceType_, + resourceType_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDefaultInstance(); + } + pkgBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_, getParentForChildren(), isClean()); resourceType_ = null; } resourceTypeCase_ = 2; - onChanged(); - ; + onChanged();; return pkgBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder> - repositoryBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder> repositoryBuilder_; /** - * - * *
        * Package repository resource
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; * @return Whether the repository field is set. */ @java.lang.Override @@ -30376,47 +25770,35 @@ public boolean hasRepository() { return resourceTypeCase_ == 3; } /** - * - * *
        * Package repository resource
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; * @return The repository. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - getRepository() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource getRepository() { if (repositoryBuilder_ == null) { if (resourceTypeCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) - resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); } else { if (resourceTypeCase_ == 3) { return repositoryBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); } } /** - * - * *
        * Package repository resource
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; */ - public Builder setRepository( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource value) { + public Builder setRepository(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource value) { if (repositoryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -30430,18 +25812,14 @@ public Builder setRepository( return this; } /** - * - * *
        * Package repository resource
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; */ public Builder setRepository( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder builderForValue) { if (repositoryBuilder_ == null) { resourceType_ = builderForValue.build(); onChanged(); @@ -30452,28 +25830,18 @@ public Builder setRepository( return this; } /** - * - * *
        * Package repository resource
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; */ - public Builder mergeRepository( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource value) { + public Builder mergeRepository(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource value) { if (repositoryBuilder_ == null) { - if (resourceTypeCase_ == 3 - && resourceType_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .getDefaultInstance()) { - resourceType_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) - resourceType_) - .mergeFrom(value) - .buildPartial(); + if (resourceTypeCase_ == 3 && + resourceType_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.getDefaultInstance()) { + resourceType_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_) + .mergeFrom(value).buildPartial(); } else { resourceType_ = value; } @@ -30489,14 +25857,11 @@ public Builder mergeRepository( return this; } /** - * - * *
        * Package repository resource
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; */ public Builder clearRepository() { if (repositoryBuilder_ == null) { @@ -30515,95 +25880,67 @@ public Builder clearRepository() { return this; } /** - * - * *
        * Package repository resource
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder - getRepositoryBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder getRepositoryBuilder() { return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
        * Package repository resource
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder - getRepositoryOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder getRepositoryOrBuilder() { if ((resourceTypeCase_ == 3) && (repositoryBuilder_ != null)) { return repositoryBuilder_.getMessageOrBuilder(); } else { if (resourceTypeCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) - resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); } } /** - * - * *
        * Package repository resource
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { if (!(resourceTypeCase_ == 3)) { - resourceType_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource - .getDefaultInstance(); - } - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) - resourceType_, + resourceType_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); + } + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_, getParentForChildren(), isClean()); resourceType_ = null; } resourceTypeCase_ = 3; - onChanged(); - ; + onChanged();; return repositoryBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder> - execBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder> execBuilder_; /** - * - * *
        * Exec resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; - * * @return Whether the exec field is set. */ @java.lang.Override @@ -30611,14 +25948,11 @@ public boolean hasExec() { return resourceTypeCase_ == 4; } /** - * - * *
        * Exec resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; - * * @return The exec. */ @java.lang.Override @@ -30627,27 +25961,22 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource getExec( if (resourceTypeCase_ == 4) { return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.getDefaultInstance(); } else { if (resourceTypeCase_ == 4) { return execBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.getDefaultInstance(); } } /** - * - * *
        * Exec resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; */ - public Builder setExec( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource value) { + public Builder setExec(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource value) { if (execBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -30661,8 +25990,6 @@ public Builder setExec( return this; } /** - * - * *
        * Exec resource
        * 
@@ -30670,8 +25997,7 @@ public Builder setExec( * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; */ public Builder setExec( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder builderForValue) { if (execBuilder_ == null) { resourceType_ = builderForValue.build(); onChanged(); @@ -30682,27 +26008,18 @@ public Builder setExec( return this; } /** - * - * *
        * Exec resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; */ - public Builder mergeExec( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource value) { + public Builder mergeExec(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource value) { if (execBuilder_ == null) { - if (resourceTypeCase_ == 4 - && resourceType_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource - .getDefaultInstance()) { - resourceType_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) - resourceType_) - .mergeFrom(value) - .buildPartial(); + if (resourceTypeCase_ == 4 && + resourceType_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.getDefaultInstance()) { + resourceType_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_) + .mergeFrom(value).buildPartial(); } else { resourceType_ = value; } @@ -30718,8 +26035,6 @@ public Builder mergeExec( return this; } /** - * - * *
        * Exec resource
        * 
@@ -30743,21 +26058,16 @@ public Builder clearExec() { return this; } /** - * - * *
        * Exec resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder - getExecBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder getExecBuilder() { return getExecFieldBuilder().getBuilder(); } /** - * - * *
        * Exec resource
        * 
@@ -30765,21 +26075,17 @@ public Builder clearExec() { * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder - getExecOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder getExecOrBuilder() { if ((resourceTypeCase_ == 4) && (execBuilder_ != null)) { return execBuilder_.getMessageOrBuilder(); } else { if (resourceTypeCase_ == 4) { return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.getDefaultInstance(); } } /** - * - * *
        * Exec resource
        * 
@@ -30787,46 +26093,32 @@ public Builder clearExec() { * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder> getExecFieldBuilder() { if (execBuilder_ == null) { if (!(resourceTypeCase_ == 4)) { - resourceType_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource - .getDefaultInstance(); - } - execBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder>( + resourceType_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.getDefaultInstance(); + } + execBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder>( (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_, getParentForChildren(), isClean()); resourceType_ = null; } resourceTypeCase_ = 4; - onChanged(); - ; + onChanged();; return execBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder> - fileBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder> fileBuilder_; /** - * - * *
        * File resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; - * * @return Whether the file field is set. */ @java.lang.Override @@ -30834,14 +26126,11 @@ public boolean hasFile() { return resourceTypeCase_ == 5; } /** - * - * *
        * File resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; - * * @return The file. */ @java.lang.Override @@ -30850,27 +26139,22 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource getFile( if (resourceTypeCase_ == 5) { return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDefaultInstance(); } else { if (resourceTypeCase_ == 5) { return fileBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDefaultInstance(); } } /** - * - * *
        * File resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; */ - public Builder setFile( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource value) { + public Builder setFile(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource value) { if (fileBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -30884,8 +26168,6 @@ public Builder setFile( return this; } /** - * - * *
        * File resource
        * 
@@ -30893,8 +26175,7 @@ public Builder setFile( * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; */ public Builder setFile( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder builderForValue) { if (fileBuilder_ == null) { resourceType_ = builderForValue.build(); onChanged(); @@ -30905,27 +26186,18 @@ public Builder setFile( return this; } /** - * - * *
        * File resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; */ - public Builder mergeFile( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource value) { + public Builder mergeFile(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource value) { if (fileBuilder_ == null) { - if (resourceTypeCase_ == 5 - && resourceType_ - != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource - .getDefaultInstance()) { - resourceType_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) - resourceType_) - .mergeFrom(value) - .buildPartial(); + if (resourceTypeCase_ == 5 && + resourceType_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDefaultInstance()) { + resourceType_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_) + .mergeFrom(value).buildPartial(); } else { resourceType_ = value; } @@ -30941,8 +26213,6 @@ public Builder mergeFile( return this; } /** - * - * *
        * File resource
        * 
@@ -30966,21 +26236,16 @@ public Builder clearFile() { return this; } /** - * - * *
        * File resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder - getFileBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder getFileBuilder() { return getFileFieldBuilder().getBuilder(); } /** - * - * *
        * File resource
        * 
@@ -30988,21 +26253,17 @@ public Builder clearFile() { * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder - getFileOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder getFileOrBuilder() { if ((resourceTypeCase_ == 5) && (fileBuilder_ != null)) { return fileBuilder_.getMessageOrBuilder(); } else { if (resourceTypeCase_ == 5) { return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDefaultInstance(); } } /** - * - * *
        * File resource
        * 
@@ -31010,32 +26271,23 @@ public Builder clearFile() { * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder> getFileFieldBuilder() { if (fileBuilder_ == null) { if (!(resourceTypeCase_ == 5)) { - resourceType_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource - .getDefaultInstance(); - } - fileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder>( + resourceType_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDefaultInstance(); + } + fileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder>( (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_, getParentForChildren(), isClean()); resourceType_ = null; } resourceTypeCase_ = 5; - onChanged(); - ; + onChanged();; return fileBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -31048,12 +26300,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource) private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource(); } @@ -31062,16 +26314,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Resource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Resource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Resource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Resource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -31086,64 +26338,48 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ResourceGroupOrBuilder - extends + public interface ResourceGroupOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Deprecated. Use the `inventory_filters` field instead.
      * Used to specify the OS filter for a resource group
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; - * - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. See - * google/cloud/osconfig/v1alpha/os_policy.proto;l=512 + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy.proto;l=512 * @return Whether the osFilter field is set. */ - @java.lang.Deprecated - boolean hasOsFilter(); + @java.lang.Deprecated boolean hasOsFilter(); /** - * - * *
      * Deprecated. Use the `inventory_filters` field instead.
      * Used to specify the OS filter for a resource group
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; - * - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. See - * google/cloud/osconfig/v1alpha/os_policy.proto;l=512 + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy.proto;l=512 * @return The osFilter. */ - @java.lang.Deprecated - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter getOsFilter(); + @java.lang.Deprecated com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter getOsFilter(); /** - * - * *
      * Deprecated. Use the `inventory_filters` field instead.
      * Used to specify the OS filter for a resource group
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; */ - @java.lang.Deprecated - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder getOsFilterOrBuilder(); + @java.lang.Deprecated com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder getOsFilterOrBuilder(); /** - * - * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -31157,14 +26393,11 @@ public interface ResourceGroupOrBuilder
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ - java.util.List + java.util.List getInventoryFiltersList(); /** - * - * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -31178,13 +26411,10 @@ public interface ResourceGroupOrBuilder
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getInventoryFilters(int index); /** - * - * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -31198,13 +26428,10 @@ public interface ResourceGroupOrBuilder
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ int getInventoryFiltersCount(); /** - * - * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -31218,14 +26445,11 @@ public interface ResourceGroupOrBuilder
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ - java.util.List + java.util.List getInventoryFiltersOrBuilderList(); /** - * - * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -31239,82 +26463,61 @@ public interface ResourceGroupOrBuilder
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder - getInventoryFiltersOrBuilder(int index); + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder getInventoryFiltersOrBuilder( + int index); /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getResourcesList(); + java.util.List + getResourcesList(); /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource getResources(int index); /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getResourcesCount(); /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getResourcesOrBuilderList(); /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder getResourcesOrBuilder(int index); + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder getResourcesOrBuilder( + int index); } /** - * - * *
    * Resource groups provide a mechanism to group OS policy resources.
    * Resource groups enable OS policy authors to create a single OS policy
@@ -31326,16 +26529,15 @@ public interface ResourceGroupOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup}
    */
-  public static final class ResourceGroup extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ResourceGroup extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup)
       ResourceGroupOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ResourceGroup.newBuilder() to construct.
     private ResourceGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ResourceGroup() {
       inventoryFilters_ = java.util.Collections.emptyList();
       resources_ = java.util.Collections.emptyList();
@@ -31343,15 +26545,16 @@ private ResourceGroup() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ResourceGroup();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private ResourceGroup(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -31371,58 +26574,44 @@ private ResourceGroup(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder subBuilder = null;
-                if (osFilter_ != null) {
-                  subBuilder = osFilter_.toBuilder();
-                }
-                osFilter_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(osFilter_);
-                  osFilter_ = subBuilder.buildPartial();
-                }
-
-                break;
+            case 10: {
+              com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder subBuilder = null;
+              if (osFilter_ != null) {
+                subBuilder = osFilter_.toBuilder();
               }
-            case 18:
-              {
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  resources_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1alpha.OSPolicy.Resource>();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                resources_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.parser(),
-                        extensionRegistry));
-                break;
+              osFilter_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(osFilter_);
+                osFilter_ = subBuilder.buildPartial();
               }
-            case 26:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  inventoryFilters_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter>();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                inventoryFilters_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.parser(),
-                        extensionRegistry));
-                break;
+
+              break;
+            }
+            case 18: {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                resources_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              resources_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.parser(), extensionRegistry));
+              break;
+            }
+            case 26: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                inventoryFilters_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              inventoryFilters_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.parser(), extensionRegistry));
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -31430,7 +26619,8 @@ private ResourceGroup(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000002) != 0)) {
           resources_ = java.util.Collections.unmodifiableList(resources_);
@@ -31442,89 +26632,67 @@ private ResourceGroup(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-          .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-          .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.class,
-              com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder.class);
+              com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.class, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder.class);
     }
 
     public static final int OS_FILTER_FIELD_NUMBER = 1;
     private com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter osFilter_;
     /**
-     *
-     *
      * 
      * Deprecated. Use the `inventory_filters` field instead.
      * Used to specify the OS filter for a resource group
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; - * - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. See - * google/cloud/osconfig/v1alpha/os_policy.proto;l=512 + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy.proto;l=512 * @return Whether the osFilter field is set. */ @java.lang.Override - @java.lang.Deprecated - public boolean hasOsFilter() { + @java.lang.Deprecated public boolean hasOsFilter() { return osFilter_ != null; } /** - * - * *
      * Deprecated. Use the `inventory_filters` field instead.
      * Used to specify the OS filter for a resource group
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; - * - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. See - * google/cloud/osconfig/v1alpha/os_policy.proto;l=512 + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy.proto;l=512 * @return The osFilter. */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter getOsFilter() { - return osFilter_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.getDefaultInstance() - : osFilter_; + @java.lang.Deprecated public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter getOsFilter() { + return osFilter_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.getDefaultInstance() : osFilter_; } /** - * - * *
      * Deprecated. Use the `inventory_filters` field instead.
      * Used to specify the OS filter for a resource group
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder getOsFilterOrBuilder() { + @java.lang.Deprecated public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder getOsFilterOrBuilder() { return getOsFilter(); } public static final int INVENTORY_FILTERS_FIELD_NUMBER = 3; - private java.util.List - inventoryFilters_; + private java.util.List inventoryFilters_; /** - * - * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -31538,17 +26706,13 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder getOsFilterO
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ @java.lang.Override - public java.util.List - getInventoryFiltersList() { + public java.util.List getInventoryFiltersList() { return inventoryFilters_; } /** - * - * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -31562,18 +26726,14 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder getOsFilterO
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder> + public java.util.List getInventoryFiltersOrBuilderList() { return inventoryFilters_; } /** - * - * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -31587,16 +26747,13 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder getOsFilterO
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ @java.lang.Override public int getInventoryFiltersCount() { return inventoryFilters_.size(); } /** - * - * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -31610,17 +26767,13 @@ public int getInventoryFiltersCount() {
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getInventoryFilters( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getInventoryFilters(int index) { return inventoryFilters_.get(index); } /** - * - * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -31634,93 +26787,72 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getInventoryFi
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder - getInventoryFiltersOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder getInventoryFiltersOrBuilder( + int index) { return inventoryFilters_.get(index); } public static final int RESOURCES_FIELD_NUMBER = 2; private java.util.List resources_; /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getResourcesList() { return resources_; } /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getResourcesOrBuilderList() { return resources_; } /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getResourcesCount() { return resources_.size(); } /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource getResources(int index) { return resources_.get(index); } /** - * - * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder getResourcesOrBuilder( @@ -31729,7 +26861,6 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder getResources } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -31741,7 +26872,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (osFilter_ != null) { output.writeMessage(1, getOsFilter()); } @@ -31761,14 +26893,16 @@ public int getSerializedSize() { size = 0; if (osFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOsFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOsFilter()); } for (int i = 0; i < resources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, resources_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, resources_.get(i)); } for (int i = 0; i < inventoryFilters_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, inventoryFilters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, inventoryFilters_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -31778,20 +26912,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup other = - (com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup other = (com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup) obj; if (hasOsFilter() != other.hasOsFilter()) return false; if (hasOsFilter()) { - if (!getOsFilter().equals(other.getOsFilter())) return false; + if (!getOsFilter() + .equals(other.getOsFilter())) return false; } - if (!getInventoryFiltersList().equals(other.getInventoryFiltersList())) return false; - if (!getResourcesList().equals(other.getResourcesList())) return false; + if (!getInventoryFiltersList() + .equals(other.getInventoryFiltersList())) return false; + if (!getResourcesList() + .equals(other.getResourcesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -31821,94 +26957,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup 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.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -31918,8 +27047,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Resource groups provide a mechanism to group OS policy resources.
      * Resource groups enable OS policy authors to create a single OS policy
@@ -31931,24 +27058,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup)
         com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-            .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-            .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.class,
-                com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder.class);
+                com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.class, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.newBuilder()
@@ -31956,18 +27080,18 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getInventoryFiltersFieldBuilder();
           getResourcesFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -31993,9 +27117,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyProto
-            .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor;
       }
 
       @java.lang.Override
@@ -32014,8 +27138,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup buildPartial() {
-        com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup result =
-            new com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup(this);
+        com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup result = new com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup(this);
         int from_bitField0_ = bitField0_;
         if (osFilterBuilder_ == null) {
           result.osFilter_ = osFilter_;
@@ -32048,41 +27171,38 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1alpha.OSPolicy.ResourceGroup) {
-          return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup) other);
+          return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -32090,8 +27210,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup other) {
-        if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.getDefaultInstance()) return this;
         if (other.hasOsFilter()) {
           mergeOsFilter(other.getOsFilter());
         }
@@ -32113,10 +27232,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGrou
               inventoryFiltersBuilder_ = null;
               inventoryFilters_ = other.inventoryFilters_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              inventoryFiltersBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getInventoryFiltersFieldBuilder()
-                      : null;
+              inventoryFiltersBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getInventoryFiltersFieldBuilder() : null;
             } else {
               inventoryFiltersBuilder_.addAllMessages(other.inventoryFilters_);
             }
@@ -32140,10 +27258,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGrou
               resourcesBuilder_ = null;
               resources_ = other.resources_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              resourcesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getResourcesFieldBuilder()
-                      : null;
+              resourcesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getResourcesFieldBuilder() : null;
             } else {
               resourcesBuilder_.addAllMessages(other.resources_);
             }
@@ -32168,8 +27285,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -32178,72 +27294,52 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter osFilter_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter,
-              com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder,
-              com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder>
-          osFilterBuilder_;
+          com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter, com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder> osFilterBuilder_;
       /**
-       *
-       *
        * 
        * Deprecated. Use the `inventory_filters` field instead.
        * Used to specify the OS filter for a resource group
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. * See google/cloud/osconfig/v1alpha/os_policy.proto;l=512 * @return Whether the osFilter field is set. */ - @java.lang.Deprecated - public boolean hasOsFilter() { + @java.lang.Deprecated public boolean hasOsFilter() { return osFilterBuilder_ != null || osFilter_ != null; } /** - * - * *
        * Deprecated. Use the `inventory_filters` field instead.
        * Used to specify the OS filter for a resource group
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. * See google/cloud/osconfig/v1alpha/os_policy.proto;l=512 * @return The osFilter. */ - @java.lang.Deprecated - public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter getOsFilter() { + @java.lang.Deprecated public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter getOsFilter() { if (osFilterBuilder_ == null) { - return osFilter_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.getDefaultInstance() - : osFilter_; + return osFilter_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.getDefaultInstance() : osFilter_; } else { return osFilterBuilder_.getMessage(); } } /** - * - * *
        * Deprecated. Use the `inventory_filters` field instead.
        * Used to specify the OS filter for a resource group
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setOsFilter(com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter value) { + @java.lang.Deprecated public Builder setOsFilter(com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter value) { if (osFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -32257,18 +27353,14 @@ public Builder setOsFilter(com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter v return this; } /** - * - * *
        * Deprecated. Use the `inventory_filters` field instead.
        * Used to specify the OS filter for a resource group
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setOsFilter( + @java.lang.Deprecated public Builder setOsFilter( com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder builderForValue) { if (osFilterBuilder_ == null) { osFilter_ = builderForValue.build(); @@ -32280,24 +27372,18 @@ public Builder setOsFilter( return this; } /** - * - * *
        * Deprecated. Use the `inventory_filters` field instead.
        * Used to specify the OS filter for a resource group
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; */ - @java.lang.Deprecated - public Builder mergeOsFilter(com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter value) { + @java.lang.Deprecated public Builder mergeOsFilter(com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter value) { if (osFilterBuilder_ == null) { if (osFilter_ != null) { osFilter_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.newBuilder(osFilter_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.newBuilder(osFilter_).mergeFrom(value).buildPartial(); } else { osFilter_ = value; } @@ -32309,18 +27395,14 @@ public Builder mergeOsFilter(com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter return this; } /** - * - * *
        * Deprecated. Use the `inventory_filters` field instead.
        * Used to specify the OS filter for a resource group
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; */ - @java.lang.Deprecated - public Builder clearOsFilter() { + @java.lang.Deprecated public Builder clearOsFilter() { if (osFilterBuilder_ == null) { osFilter_ = null; onChanged(); @@ -32332,92 +27414,69 @@ public Builder clearOsFilter() { return this; } /** - * - * *
        * Deprecated. Use the `inventory_filters` field instead.
        * Used to specify the OS filter for a resource group
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder getOsFilterBuilder() { - + @java.lang.Deprecated public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder getOsFilterBuilder() { + onChanged(); return getOsFilterFieldBuilder().getBuilder(); } /** - * - * *
        * Deprecated. Use the `inventory_filters` field instead.
        * Used to specify the OS filter for a resource group
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder getOsFilterOrBuilder() { + @java.lang.Deprecated public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder getOsFilterOrBuilder() { if (osFilterBuilder_ != null) { return osFilterBuilder_.getMessageOrBuilder(); } else { - return osFilter_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.getDefaultInstance() - : osFilter_; + return osFilter_ == null ? + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.getDefaultInstance() : osFilter_; } } /** - * - * *
        * Deprecated. Use the `inventory_filters` field instead.
        * Used to specify the OS filter for a resource group
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; - * + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter, - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter, com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder> getOsFilterFieldBuilder() { if (osFilterBuilder_ == null) { - osFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter, - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder>( - getOsFilter(), getParentForChildren(), isClean()); + osFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter, com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder>( + getOsFilter(), + getParentForChildren(), + isClean()); osFilter_ = null; } return osFilterBuilder_; } - private java.util.List - inventoryFilters_ = java.util.Collections.emptyList(); - + private java.util.List inventoryFilters_ = + java.util.Collections.emptyList(); private void ensureInventoryFiltersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - inventoryFilters_ = - new java.util.ArrayList( - inventoryFilters_); + inventoryFilters_ = new java.util.ArrayList(inventoryFilters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter, - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder> - inventoryFiltersBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder> inventoryFiltersBuilder_; /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -32431,12 +27490,9 @@ private void ensureInventoryFiltersIsMutable() {
        * VM unconditionally.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ - public java.util.List - getInventoryFiltersList() { + public java.util.List getInventoryFiltersList() { if (inventoryFiltersBuilder_ == null) { return java.util.Collections.unmodifiableList(inventoryFilters_); } else { @@ -32444,8 +27500,6 @@ private void ensureInventoryFiltersIsMutable() { } } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -32459,9 +27513,7 @@ private void ensureInventoryFiltersIsMutable() {
        * VM unconditionally.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ public int getInventoryFiltersCount() { if (inventoryFiltersBuilder_ == null) { @@ -32471,8 +27523,6 @@ public int getInventoryFiltersCount() { } } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -32486,12 +27536,9 @@ public int getInventoryFiltersCount() {
        * VM unconditionally.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getInventoryFilters( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getInventoryFilters(int index) { if (inventoryFiltersBuilder_ == null) { return inventoryFilters_.get(index); } else { @@ -32499,8 +27546,6 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getInventoryFi } } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -32514,9 +27559,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getInventoryFi
        * VM unconditionally.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ public Builder setInventoryFilters( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter value) { @@ -32533,8 +27576,6 @@ public Builder setInventoryFilters( return this; } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -32548,13 +27589,10 @@ public Builder setInventoryFilters(
        * VM unconditionally.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ public Builder setInventoryFilters( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder builderForValue) { if (inventoryFiltersBuilder_ == null) { ensureInventoryFiltersIsMutable(); inventoryFilters_.set(index, builderForValue.build()); @@ -32565,8 +27603,6 @@ public Builder setInventoryFilters( return this; } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -32580,12 +27616,9 @@ public Builder setInventoryFilters(
        * VM unconditionally.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ - public Builder addInventoryFilters( - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter value) { + public Builder addInventoryFilters(com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter value) { if (inventoryFiltersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -32599,8 +27632,6 @@ public Builder addInventoryFilters( return this; } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -32614,9 +27645,7 @@ public Builder addInventoryFilters(
        * VM unconditionally.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ public Builder addInventoryFilters( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter value) { @@ -32633,8 +27662,6 @@ public Builder addInventoryFilters( return this; } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -32648,9 +27675,7 @@ public Builder addInventoryFilters(
        * VM unconditionally.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ public Builder addInventoryFilters( com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder builderForValue) { @@ -32664,8 +27689,6 @@ public Builder addInventoryFilters( return this; } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -32679,13 +27702,10 @@ public Builder addInventoryFilters(
        * VM unconditionally.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ public Builder addInventoryFilters( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder builderForValue) { if (inventoryFiltersBuilder_ == null) { ensureInventoryFiltersIsMutable(); inventoryFilters_.add(index, builderForValue.build()); @@ -32696,8 +27716,6 @@ public Builder addInventoryFilters( return this; } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -32711,16 +27729,14 @@ public Builder addInventoryFilters(
        * VM unconditionally.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ public Builder addAllInventoryFilters( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (inventoryFiltersBuilder_ == null) { ensureInventoryFiltersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inventoryFilters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, inventoryFilters_); onChanged(); } else { inventoryFiltersBuilder_.addAllMessages(values); @@ -32728,8 +27744,6 @@ public Builder addAllInventoryFilters( return this; } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -32743,9 +27757,7 @@ public Builder addAllInventoryFilters(
        * VM unconditionally.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ public Builder clearInventoryFilters() { if (inventoryFiltersBuilder_ == null) { @@ -32758,8 +27770,6 @@ public Builder clearInventoryFilters() { return this; } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -32773,9 +27783,7 @@ public Builder clearInventoryFilters() {
        * VM unconditionally.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ public Builder removeInventoryFilters(int index) { if (inventoryFiltersBuilder_ == null) { @@ -32788,8 +27796,6 @@ public Builder removeInventoryFilters(int index) { return this; } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -32803,17 +27809,13 @@ public Builder removeInventoryFilters(int index) {
        * VM unconditionally.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder - getInventoryFiltersBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder getInventoryFiltersBuilder( + int index) { return getInventoryFiltersFieldBuilder().getBuilder(index); } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -32827,21 +27829,16 @@ public Builder removeInventoryFilters(int index) {
        * VM unconditionally.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder - getInventoryFiltersOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder getInventoryFiltersOrBuilder( + int index) { if (inventoryFiltersBuilder_ == null) { - return inventoryFilters_.get(index); - } else { + return inventoryFilters_.get(index); } else { return inventoryFiltersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -32855,13 +27852,10 @@ public Builder removeInventoryFilters(int index) {
        * VM unconditionally.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder> - getInventoryFiltersOrBuilderList() { + public java.util.List + getInventoryFiltersOrBuilderList() { if (inventoryFiltersBuilder_ != null) { return inventoryFiltersBuilder_.getMessageOrBuilderList(); } else { @@ -32869,8 +27863,6 @@ public Builder removeInventoryFilters(int index) { } } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -32884,19 +27876,13 @@ public Builder removeInventoryFilters(int index) {
        * VM unconditionally.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder - addInventoryFiltersBuilder() { - return getInventoryFiltersFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder addInventoryFiltersBuilder() { + return getInventoryFiltersFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.getDefaultInstance()); } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -32910,20 +27896,14 @@ public Builder removeInventoryFilters(int index) {
        * VM unconditionally.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder - addInventoryFiltersBuilder(int index) { - return getInventoryFiltersFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder addInventoryFiltersBuilder( + int index) { + return getInventoryFiltersFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.getDefaultInstance()); } /** - * - * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -32937,26 +27917,18 @@ public Builder removeInventoryFilters(int index) {
        * VM unconditionally.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; */ - public java.util.List - getInventoryFiltersBuilderList() { + public java.util.List + getInventoryFiltersBuilderList() { return getInventoryFiltersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter, - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder> getInventoryFiltersFieldBuilder() { if (inventoryFiltersBuilder_ == null) { - inventoryFiltersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter, - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder>( + inventoryFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder>( inventoryFilters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -32967,37 +27939,26 @@ public Builder removeInventoryFilters(int index) { } private java.util.List resources_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureResourcesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - resources_ = - new java.util.ArrayList( - resources_); + resources_ = new java.util.ArrayList(resources_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder> - resourcesBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder> resourcesBuilder_; /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getResourcesList() { + public java.util.List getResourcesList() { if (resourcesBuilder_ == null) { return java.util.Collections.unmodifiableList(resources_); } else { @@ -33005,16 +27966,12 @@ private void ensureResourcesIsMutable() { } } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getResourcesCount() { if (resourcesBuilder_ == null) { @@ -33024,16 +27981,12 @@ public int getResourcesCount() { } } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource getResources(int index) { if (resourcesBuilder_ == null) { @@ -33043,16 +27996,12 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource getResources(int inde } } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResources( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource value) { @@ -33069,16 +28018,12 @@ public Builder setResources( return this; } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResources( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder builderForValue) { @@ -33092,16 +28037,12 @@ public Builder setResources( return this; } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addResources(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource value) { if (resourcesBuilder_ == null) { @@ -33117,16 +28058,12 @@ public Builder addResources(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource return this; } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addResources( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource value) { @@ -33143,16 +28080,12 @@ public Builder addResources( return this; } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addResources( com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder builderForValue) { @@ -33166,16 +28099,12 @@ public Builder addResources( return this; } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addResources( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder builderForValue) { @@ -33189,23 +28118,19 @@ public Builder addResources( return this; } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllResources( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, resources_); onChanged(); } else { resourcesBuilder_.addAllMessages(values); @@ -33213,16 +28138,12 @@ public Builder addAllResources( return this; } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearResources() { if (resourcesBuilder_ == null) { @@ -33235,16 +28156,12 @@ public Builder clearResources() { return this; } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeResources(int index) { if (resourcesBuilder_ == null) { @@ -33257,55 +28174,42 @@ public Builder removeResources(int index) { return this; } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder getResourcesBuilder( int index) { return getResourcesFieldBuilder().getBuilder(index); } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder getResourcesOrBuilder( int index) { if (resourcesBuilder_ == null) { - return resources_.get(index); - } else { + return resources_.get(index); } else { return resourcesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getResourcesOrBuilderList() { + public java.util.List + getResourcesOrBuilderList() { if (resourcesBuilder_ != null) { return resourcesBuilder_.getMessageOrBuilderList(); } else { @@ -33313,73 +28217,56 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder getResources } } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder addResourcesBuilder() { - return getResourcesFieldBuilder() - .addBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.getDefaultInstance()); + return getResourcesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.getDefaultInstance()); } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder addResourcesBuilder( int index) { - return getResourcesFieldBuilder() - .addBuilder( - index, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.getDefaultInstance()); + return getResourcesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.getDefaultInstance()); } /** - * - * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getResourcesBuilderList() { + public java.util.List + getResourcesBuilderList() { return getResourcesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder> getResourcesFieldBuilder() { if (resourcesBuilder_ == null) { - resourcesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource, - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder>( - resources_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + resourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder>( + resources_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); resources_ = null; } return resourcesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -33392,12 +28279,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup) private static final com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup(); } @@ -33406,16 +28293,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceGroup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceGroup(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResourceGroup(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -33430,13 +28317,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** - * - * *
    * Required. The id of the OS policy with the following restrictions:
    * * Must contain only lowercase letters, numbers, and hyphens.
@@ -33447,7 +28333,6 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup getDefaultInstan
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ @java.lang.Override @@ -33456,15 +28341,14 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * Required. The id of the OS policy with the following restrictions:
    * * Must contain only lowercase letters, numbers, and hyphens.
@@ -33475,15 +28359,16 @@ public java.lang.String getId() {
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -33494,15 +28379,12 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * Policy description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -33511,30 +28393,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Policy description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -33545,48 +28427,33 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int MODE_FIELD_NUMBER = 3; private int mode_; /** - * - * *
    * Required. Policy mode
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
    * Required. Policy mode
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The mode. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Mode getMode() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Mode result = - com.google.cloud.osconfig.v1alpha.OSPolicy.Mode.valueOf(mode_); + com.google.cloud.osconfig.v1alpha.OSPolicy.Mode result = com.google.cloud.osconfig.v1alpha.OSPolicy.Mode.valueOf(mode_); return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Mode.UNRECOGNIZED : result; } public static final int RESOURCE_GROUPS_FIELD_NUMBER = 4; private java.util.List resourceGroups_; /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -33597,18 +28464,13 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Mode getMode() {
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getResourceGroupsList() { + public java.util.List getResourceGroupsList() { return resourceGroups_; } /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -33619,18 +28481,14 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Mode getMode() {
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getResourceGroupsOrBuilderList() { return resourceGroups_; } /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -33641,17 +28499,13 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Mode getMode() {
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getResourceGroupsCount() { return resourceGroups_.size(); } /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -33662,17 +28516,13 @@ public int getResourceGroupsCount() {
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup getResourceGroups(int index) { return resourceGroups_.get(index); } /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -33683,21 +28533,17 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup getResourceGroup
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder - getResourceGroupsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder getResourceGroupsOrBuilder( + int index) { return resourceGroups_.get(index); } public static final int ALLOW_NO_RESOURCE_GROUP_MATCH_FIELD_NUMBER = 5; private boolean allowNoResourceGroupMatch_; /** - * - * *
    * This flag determines the OS policy compliance status when none of the
    * resource groups within the policy are applicable for a VM. Set this value
@@ -33706,7 +28552,6 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup getResourceGroup
    * 
* * bool allow_no_resource_group_match = 5; - * * @return The allowNoResourceGroupMatch. */ @java.lang.Override @@ -33715,7 +28560,6 @@ public boolean getAllowNoResourceGroupMatch() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -33727,7 +28571,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -33759,13 +28604,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (mode_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Mode.MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, mode_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, mode_); } for (int i = 0; i < resourceGroups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, resourceGroups_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, resourceGroups_.get(i)); } if (allowNoResourceGroupMatch_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowNoResourceGroupMatch_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, allowNoResourceGroupMatch_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -33775,19 +28623,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy other = - (com.google.cloud.osconfig.v1alpha.OSPolicy) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy other = (com.google.cloud.osconfig.v1alpha.OSPolicy) obj; - if (!getId().equals(other.getId())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (mode_ != other.mode_) return false; - if (!getResourceGroupsList().equals(other.getResourceGroupsList())) return false; - if (getAllowNoResourceGroupMatch() != other.getAllowNoResourceGroupMatch()) return false; + if (!getResourceGroupsList() + .equals(other.getResourceGroupsList())) return false; + if (getAllowNoResourceGroupMatch() + != other.getAllowNoResourceGroupMatch()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -33810,133 +28661,125 @@ public int hashCode() { hash = (53 * hash) + getResourceGroupsList().hashCode(); } hash = (37 * hash) + ALLOW_NO_RESOURCE_GROUP_MATCH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowNoResourceGroupMatch()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowNoResourceGroupMatch()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1alpha.OSPolicy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy 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.osconfig.v1alpha.OSPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An OS policy defines the desired state configuration for a VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy) com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.class, - com.google.cloud.osconfig.v1alpha.OSPolicy.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.newBuilder() @@ -33944,17 +28787,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getResourceGroupsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -33976,9 +28819,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor; } @java.lang.Override @@ -33997,8 +28840,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy result = - new com.google.cloud.osconfig.v1alpha.OSPolicy(this); + com.google.cloud.osconfig.v1alpha.OSPolicy result = new com.google.cloud.osconfig.v1alpha.OSPolicy(this); int from_bitField0_ = bitField0_; result.id_ = id_; result.description_ = description_; @@ -34021,39 +28863,38 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy)other); } else { super.mergeFrom(other); return this; @@ -34091,10 +28932,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy other) { resourceGroupsBuilder_ = null; resourceGroups_ = other.resourceGroups_; bitField0_ = (bitField0_ & ~0x00000001); - resourceGroupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getResourceGroupsFieldBuilder() - : null; + resourceGroupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getResourceGroupsFieldBuilder() : null; } else { resourceGroupsBuilder_.addAllMessages(other.resourceGroups_); } @@ -34131,13 +28971,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object id_ = ""; /** - * - * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -34148,13 +28985,13 @@ public Builder mergeFrom(
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -34163,8 +29000,6 @@ public java.lang.String getId() { } } /** - * - * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -34175,14 +29010,15 @@ public java.lang.String getId() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -34190,8 +29026,6 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -34202,22 +29036,20 @@ public com.google.protobuf.ByteString getIdBytes() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -34228,18 +29060,15 @@ public Builder setId(java.lang.String value) {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -34250,16 +29079,16 @@ public Builder clearId() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -34267,21 +29096,19 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -34290,22 +29117,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -34313,64 +29139,57 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -34378,73 +29197,51 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int mode_ = 0; /** - * - * *
      * Required. Policy mode
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
      * Required. Policy mode
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { - + mode_ = value; onChanged(); return this; } /** - * - * *
      * Required. Policy mode
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The mode. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Mode result = - com.google.cloud.osconfig.v1alpha.OSPolicy.Mode.valueOf(mode_); + com.google.cloud.osconfig.v1alpha.OSPolicy.Mode result = com.google.cloud.osconfig.v1alpha.OSPolicy.Mode.valueOf(mode_); return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Mode.UNRECOGNIZED : result; } /** - * - * *
      * Required. Policy mode
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The mode to set. * @return This builder for chaining. */ @@ -34452,52 +29249,39 @@ public Builder setMode(com.google.cloud.osconfig.v1alpha.OSPolicy.Mode value) { if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. Policy mode
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = 0; onChanged(); return this; } - private java.util.List - resourceGroups_ = java.util.Collections.emptyList(); - + private java.util.List resourceGroups_ = + java.util.Collections.emptyList(); private void ensureResourceGroupsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - resourceGroups_ = - new java.util.ArrayList( - resourceGroups_); + resourceGroups_ = new java.util.ArrayList(resourceGroups_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup, - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder> - resourceGroupsBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder> resourceGroupsBuilder_; /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -34508,12 +29292,9 @@ private void ensureResourceGroupsIsMutable() {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getResourceGroupsList() { + public java.util.List getResourceGroupsList() { if (resourceGroupsBuilder_ == null) { return java.util.Collections.unmodifiableList(resourceGroups_); } else { @@ -34521,8 +29302,6 @@ private void ensureResourceGroupsIsMutable() { } } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -34533,9 +29312,7 @@ private void ensureResourceGroupsIsMutable() {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public int getResourceGroupsCount() { if (resourceGroupsBuilder_ == null) { @@ -34545,8 +29322,6 @@ public int getResourceGroupsCount() { } } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -34557,9 +29332,7 @@ public int getResourceGroupsCount() {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup getResourceGroups(int index) { if (resourceGroupsBuilder_ == null) { @@ -34569,8 +29342,6 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup getResourceGroup } } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -34581,9 +29352,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup getResourceGroup
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResourceGroups( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup value) { @@ -34600,8 +29369,6 @@ public Builder setResourceGroups( return this; } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -34612,13 +29379,10 @@ public Builder setResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setResourceGroups( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder builderForValue) { if (resourceGroupsBuilder_ == null) { ensureResourceGroupsIsMutable(); resourceGroups_.set(index, builderForValue.build()); @@ -34629,8 +29393,6 @@ public Builder setResourceGroups( return this; } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -34641,12 +29403,9 @@ public Builder setResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addResourceGroups( - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup value) { + public Builder addResourceGroups(com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup value) { if (resourceGroupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -34660,8 +29419,6 @@ public Builder addResourceGroups( return this; } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -34672,9 +29429,7 @@ public Builder addResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addResourceGroups( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup value) { @@ -34691,8 +29446,6 @@ public Builder addResourceGroups( return this; } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -34703,9 +29456,7 @@ public Builder addResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addResourceGroups( com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder builderForValue) { @@ -34719,8 +29470,6 @@ public Builder addResourceGroups( return this; } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -34731,13 +29480,10 @@ public Builder addResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addResourceGroups( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder builderForValue) { if (resourceGroupsBuilder_ == null) { ensureResourceGroupsIsMutable(); resourceGroups_.add(index, builderForValue.build()); @@ -34748,8 +29494,6 @@ public Builder addResourceGroups( return this; } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -34760,16 +29504,14 @@ public Builder addResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllResourceGroups( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (resourceGroupsBuilder_ == null) { ensureResourceGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceGroups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, resourceGroups_); onChanged(); } else { resourceGroupsBuilder_.addAllMessages(values); @@ -34777,8 +29519,6 @@ public Builder addAllResourceGroups( return this; } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -34789,9 +29529,7 @@ public Builder addAllResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearResourceGroups() { if (resourceGroupsBuilder_ == null) { @@ -34804,8 +29542,6 @@ public Builder clearResourceGroups() { return this; } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -34816,9 +29552,7 @@ public Builder clearResourceGroups() {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeResourceGroups(int index) { if (resourceGroupsBuilder_ == null) { @@ -34831,8 +29565,6 @@ public Builder removeResourceGroups(int index) { return this; } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -34843,17 +29575,13 @@ public Builder removeResourceGroups(int index) {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder - getResourceGroupsBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder getResourceGroupsBuilder( + int index) { return getResourceGroupsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -34864,21 +29592,16 @@ public Builder removeResourceGroups(int index) {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder - getResourceGroupsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder getResourceGroupsOrBuilder( + int index) { if (resourceGroupsBuilder_ == null) { - return resourceGroups_.get(index); - } else { + return resourceGroups_.get(index); } else { return resourceGroupsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -34889,13 +29612,10 @@ public Builder removeResourceGroups(int index) {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder> - getResourceGroupsOrBuilderList() { + public java.util.List + getResourceGroupsOrBuilderList() { if (resourceGroupsBuilder_ != null) { return resourceGroupsBuilder_.getMessageOrBuilderList(); } else { @@ -34903,8 +29623,6 @@ public Builder removeResourceGroups(int index) { } } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -34915,19 +29633,13 @@ public Builder removeResourceGroups(int index) {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder - addResourceGroupsBuilder() { - return getResourceGroupsFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder addResourceGroupsBuilder() { + return getResourceGroupsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.getDefaultInstance()); } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -34938,19 +29650,14 @@ public Builder removeResourceGroups(int index) {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder - addResourceGroupsBuilder(int index) { - return getResourceGroupsFieldBuilder() - .addBuilder( - index, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder addResourceGroupsBuilder( + int index) { + return getResourceGroupsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.getDefaultInstance()); } /** - * - * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -34961,26 +29668,18 @@ public Builder removeResourceGroups(int index) {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getResourceGroupsBuilderList() { + public java.util.List + getResourceGroupsBuilderList() { return getResourceGroupsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup, - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder> getResourceGroupsFieldBuilder() { if (resourceGroupsBuilder_ == null) { - resourceGroupsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup, - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder>( + resourceGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder>( resourceGroups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -34990,10 +29689,8 @@ public Builder removeResourceGroups(int index) { return resourceGroupsBuilder_; } - private boolean allowNoResourceGroupMatch_; + private boolean allowNoResourceGroupMatch_ ; /** - * - * *
      * This flag determines the OS policy compliance status when none of the
      * resource groups within the policy are applicable for a VM. Set this value
@@ -35002,7 +29699,6 @@ public Builder removeResourceGroups(int index) {
      * 
* * bool allow_no_resource_group_match = 5; - * * @return The allowNoResourceGroupMatch. */ @java.lang.Override @@ -35010,8 +29706,6 @@ public boolean getAllowNoResourceGroupMatch() { return allowNoResourceGroupMatch_; } /** - * - * *
      * This flag determines the OS policy compliance status when none of the
      * resource groups within the policy are applicable for a VM. Set this value
@@ -35020,19 +29714,16 @@ public boolean getAllowNoResourceGroupMatch() {
      * 
* * bool allow_no_resource_group_match = 5; - * * @param value The allowNoResourceGroupMatch to set. * @return This builder for chaining. */ public Builder setAllowNoResourceGroupMatch(boolean value) { - + allowNoResourceGroupMatch_ = value; onChanged(); return this; } /** - * - * *
      * This flag determines the OS policy compliance status when none of the
      * resource groups within the policy are applicable for a VM. Set this value
@@ -35041,18 +29732,17 @@ public Builder setAllowNoResourceGroupMatch(boolean value) {
      * 
* * bool allow_no_resource_group_match = 5; - * * @return This builder for chaining. */ public Builder clearAllowNoResourceGroupMatch() { - + allowNoResourceGroupMatch_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -35062,12 +29752,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy) private static final com.google.cloud.osconfig.v1alpha.OSPolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy(); } @@ -35076,16 +29766,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -35100,4 +29790,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.OSPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignment.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignment.java similarity index 67% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignment.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignment.java index 47c92e2b..13a11579 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignment.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignment.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * OS policy assignment is an API resource that is used to
  * apply a set of OS policies to a dynamically targeted group of Compute Engine
@@ -35,16 +18,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment}
  */
-public final class OSPolicyAssignment extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OSPolicyAssignment extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment)
     OSPolicyAssignmentOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OSPolicyAssignment.newBuilder() to construct.
   private OSPolicyAssignment(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OSPolicyAssignment() {
     name_ = "";
     description_ = "";
@@ -57,15 +39,16 @@ private OSPolicyAssignment() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OSPolicyAssignment();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OSPolicyAssignment(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -85,132 +68,112 @@ private OSPolicyAssignment(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
-            }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                osPolicies_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              osPolicies_.add(
-                  input.readMessage(
-                      com.google.cloud.osconfig.v1alpha.OSPolicy.parser(), extensionRegistry));
-              break;
+            description_ = s;
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              osPolicies_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 34:
-            {
-              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder
-                  subBuilder = null;
-              if (instanceFilter_ != null) {
-                subBuilder = instanceFilter_.toBuilder();
-              }
-              instanceFilter_ =
-                  input.readMessage(
-                      com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(instanceFilter_);
-                instanceFilter_ = subBuilder.buildPartial();
-              }
-
-              break;
+            osPolicies_.add(
+                input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.parser(), extensionRegistry));
+            break;
+          }
+          case 34: {
+            com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder subBuilder = null;
+            if (instanceFilter_ != null) {
+              subBuilder = instanceFilter_.toBuilder();
             }
-          case 42:
-            {
-              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder subBuilder =
-                  null;
-              if (rollout_ != null) {
-                subBuilder = rollout_.toBuilder();
-              }
-              rollout_ =
-                  input.readMessage(
-                      com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rollout_);
-                rollout_ = subBuilder.buildPartial();
-              }
-
-              break;
+            instanceFilter_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(instanceFilter_);
+              instanceFilter_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              revisionId_ = s;
-              break;
+            break;
+          }
+          case 42: {
+            com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder subBuilder = null;
+            if (rollout_ != null) {
+              subBuilder = rollout_.toBuilder();
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (revisionCreateTime_ != null) {
-                subBuilder = revisionCreateTime_.toBuilder();
-              }
-              revisionCreateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(revisionCreateTime_);
-                revisionCreateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            rollout_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(rollout_);
+              rollout_ = subBuilder.buildPartial();
             }
-          case 66:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              etag_ = s;
-              break;
-            }
-          case 72:
-            {
-              int rawValue = input.readEnum();
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              rolloutState_ = rawValue;
-              break;
-            }
-          case 80:
-            {
-              baseline_ = input.readBool();
-              break;
-            }
-          case 88:
-            {
-              deleted_ = input.readBool();
-              break;
+            revisionId_ = s;
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (revisionCreateTime_ != null) {
+              subBuilder = revisionCreateTime_.toBuilder();
             }
-          case 96:
-            {
-              reconciling_ = input.readBool();
-              break;
+            revisionCreateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(revisionCreateTime_);
+              revisionCreateTime_ = subBuilder.buildPartial();
             }
-          case 106:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              uid_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            break;
+          }
+          case 66: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            etag_ = s;
+            break;
+          }
+          case 72: {
+            int rawValue = input.readEnum();
+
+            rolloutState_ = rawValue;
+            break;
+          }
+          case 80: {
+
+            baseline_ = input.readBool();
+            break;
+          }
+          case 88: {
+
+            deleted_ = input.readBool();
+            break;
+          }
+          case 96: {
+
+            reconciling_ = input.readBool();
+            break;
+          }
+          case 106: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            uid_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -218,7 +181,8 @@ private OSPolicyAssignment(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         osPolicies_ = java.util.Collections.unmodifiableList(osPolicies_);
@@ -227,35 +191,29 @@ private OSPolicyAssignment(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-        .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-        .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.class,
-            com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder.class);
+            com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * OS policy assignment rollout state
    * 
* * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState} */ - public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { + public enum RolloutState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Invalid value
      * 
@@ -264,8 +222,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ ROLLOUT_STATE_UNSPECIFIED(0), /** - * - * *
      * The rollout is in progress.
      * 
@@ -274,8 +230,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ IN_PROGRESS(1), /** - * - * *
      * The rollout is being cancelled.
      * 
@@ -284,8 +238,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLING(2), /** - * - * *
      * The rollout is cancelled.
      * 
@@ -294,8 +246,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLED(3), /** - * - * *
      * The rollout has completed successfully.
      * 
@@ -307,8 +257,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Invalid value
      * 
@@ -317,8 +265,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROLLOUT_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The rollout is in progress.
      * 
@@ -327,8 +273,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IN_PROGRESS_VALUE = 1; /** - * - * *
      * The rollout is being cancelled.
      * 
@@ -337,8 +281,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLING_VALUE = 2; /** - * - * *
      * The rollout is cancelled.
      * 
@@ -347,8 +289,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 3; /** - * - * *
      * The rollout has completed successfully.
      * 
@@ -357,6 +297,7 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -381,55 +322,51 @@ public static RolloutState valueOf(int value) { */ public static RolloutState forNumber(int value) { switch (value) { - case 0: - return ROLLOUT_STATE_UNSPECIFIED; - case 1: - return IN_PROGRESS; - case 2: - return CANCELLING; - case 3: - return CANCELLED; - case 4: - return SUCCEEDED; - default: - return null; + case 0: return ROLLOUT_STATE_UNSPECIFIED; + case 1: return IN_PROGRESS; + case 2: return CANCELLING; + case 3: return CANCELLED; + case 4: return SUCCEEDED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + RolloutState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RolloutState findValueByNumber(int number) { + return RolloutState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RolloutState findValueByNumber(int number) { - return RolloutState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDescriptor().getEnumTypes().get(0); } private static final RolloutState[] VALUES = values(); - public static RolloutState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RolloutState valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -446,14 +383,11 @@ private RolloutState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState) } - public interface LabelSetOrBuilder - extends + public interface LabelSetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -464,8 +398,6 @@ public interface LabelSetOrBuilder
      */
     int getLabelsCount();
     /**
-     *
-     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -474,13 +406,15 @@ public interface LabelSetOrBuilder
      *
      * map<string, string> labels = 1;
      */
-    boolean containsLabels(java.lang.String key);
-    /** Use {@link #getLabelsMap()} instead. */
+    boolean containsLabels(
+        java.lang.String key);
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Deprecated
-    java.util.Map getLabels();
+    java.util.Map
+    getLabels();
     /**
-     *
-     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -489,10 +423,9 @@ public interface LabelSetOrBuilder
      *
      * map<string, string> labels = 1;
      */
-    java.util.Map getLabelsMap();
+    java.util.Map
+    getLabelsMap();
     /**
-     *
-     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -503,13 +436,11 @@ public interface LabelSetOrBuilder
      */
 
     /* nullable */
-    java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue);
+java.lang.String defaultValue);
     /**
-     *
-     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -518,11 +449,11 @@ java.lang.String getLabelsOrDefault(
      *
      * map<string, string> labels = 1;
      */
-    java.lang.String getLabelsOrThrow(java.lang.String key);
+
+    java.lang.String getLabelsOrThrow(
+        java.lang.String key);
   }
   /**
-   *
-   *
    * 
    * Message representing label set.
    * * A label is a key value pair set for a VM.
@@ -537,29 +468,30 @@ java.lang.String getLabelsOrDefault(
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet}
    */
-  public static final class LabelSet extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class LabelSet extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet)
       LabelSetOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use LabelSet.newBuilder() to construct.
     private LabelSet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private LabelSet() {}
+    private LabelSet() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new LabelSet();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private LabelSet(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -579,28 +511,26 @@ private LabelSet(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  labels_ =
-                      com.google.protobuf.MapField.newMapField(
-                          LabelsDefaultEntryHolder.defaultEntry);
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-                break;
+            case 10: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                labels_ = com.google.protobuf.MapField.newMapField(
+                    LabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              labels_.getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -608,57 +538,57 @@ private LabelSet(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
     @java.lang.Override
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 1:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.class,
-              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder.class);
+              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder.class);
     }
 
     public static final int LABELS_FIELD_NUMBER = 1;
-
     private static final class LabelsDefaultEntryHolder {
-      static final com.google.protobuf.MapEntry defaultEntry =
-          com.google.protobuf.MapEntry.newDefaultInstance(
-              com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-                  .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor,
-              com.google.protobuf.WireFormat.FieldType.STRING,
-              "",
-              com.google.protobuf.WireFormat.FieldType.STRING,
-              "");
-    }
-
-    private com.google.protobuf.MapField labels_;
-
-    private com.google.protobuf.MapField internalGetLabels() {
+      static final com.google.protobuf.MapEntry<
+          java.lang.String, java.lang.String> defaultEntry =
+              com.google.protobuf.MapEntry
+              .newDefaultInstance(
+                  com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor, 
+                  com.google.protobuf.WireFormat.FieldType.STRING,
+                  "",
+                  com.google.protobuf.WireFormat.FieldType.STRING,
+                  "");
+    }
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> labels_;
+    private com.google.protobuf.MapField
+    internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
@@ -667,8 +597,6 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -677,22 +605,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 1;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -702,12 +630,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 1;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -717,17 +644,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 1;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -737,11 +663,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 1;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -749,7 +676,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -761,9 +687,14 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-          output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 1);
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      com.google.protobuf.GeneratedMessageV3
+        .serializeStringMapTo(
+          output,
+          internalGetLabels(),
+          LabelsDefaultEntryHolder.defaultEntry,
+          1);
       unknownFields.writeTo(output);
     }
 
@@ -773,15 +704,15 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      for (java.util.Map.Entry entry :
-          internalGetLabels().getMap().entrySet()) {
-        com.google.protobuf.MapEntry labels__ =
-            LabelsDefaultEntryHolder.defaultEntry
-                .newBuilderForType()
-                .setKey(entry.getKey())
-                .setValue(entry.getValue())
-                .build();
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, labels__);
+      for (java.util.Map.Entry entry
+           : internalGetLabels().getMap().entrySet()) {
+        com.google.protobuf.MapEntry
+        labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
+            .setKey(entry.getKey())
+            .setValue(entry.getValue())
+            .build();
+        size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(1, labels__);
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -791,15 +722,15 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet)) {
         return super.equals(obj);
       }
-      com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet other =
-          (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet) obj;
+      com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet) obj;
 
-      if (!internalGetLabels().equals(other.internalGetLabels())) return false;
+      if (!internalGetLabels().equals(
+          other.internalGetLabels())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -821,94 +752,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet 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.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet prototype) {
+    public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -918,8 +842,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Message representing label set.
      * * A label is a key value pair set for a VM.
@@ -934,44 +856,43 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet)
         com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-            .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor;
       }
 
       @SuppressWarnings({"rawtypes"})
-      protected com.google.protobuf.MapField internalGetMapField(int number) {
+      protected com.google.protobuf.MapField internalGetMapField(
+          int number) {
         switch (number) {
           case 1:
             return internalGetLabels();
           default:
-            throw new RuntimeException("Invalid map field number: " + number);
+            throw new RuntimeException(
+                "Invalid map field number: " + number);
         }
       }
-
       @SuppressWarnings({"rawtypes"})
-      protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+      protected com.google.protobuf.MapField internalGetMutableMapField(
+          int number) {
         switch (number) {
           case 1:
             return internalGetMutableLabels();
           default:
-            throw new RuntimeException("Invalid map field number: " + number);
+            throw new RuntimeException(
+                "Invalid map field number: " + number);
         }
       }
-
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-            .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.class,
-                com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder.class);
+                com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.newBuilder()
@@ -979,15 +900,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -996,14 +918,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-            .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance();
       }
 
@@ -1018,8 +939,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet buildPartial() {
-        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet result =
-            new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet(this);
+        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet(this);
         int from_bitField0_ = bitField0_;
         result.labels_ = internalGetLabels();
         result.labels_.makeImmutable();
@@ -1031,53 +951,48 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet buildPartia
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1alpha.OSPolicyAssignment.LabelSet) {
-          return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet) other);
+          return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet other) {
-        if (other
-            == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance())
-          return this;
-        internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet other) {
+        if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance()) return this;
+        internalGetMutableLabels().mergeFrom(
+            other.internalGetLabels());
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
         return this;
@@ -1097,9 +1012,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1108,24 +1021,24 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private com.google.protobuf.MapField labels_;
-
-      private com.google.protobuf.MapField internalGetLabels() {
+      private com.google.protobuf.MapField<
+          java.lang.String, java.lang.String> labels_;
+      private com.google.protobuf.MapField
+      internalGetLabels() {
         if (labels_ == null) {
-          return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+          return com.google.protobuf.MapField.emptyMapField(
+              LabelsDefaultEntryHolder.defaultEntry);
         }
         return labels_;
       }
-
       private com.google.protobuf.MapField
-          internalGetMutableLabels() {
-        onChanged();
-        ;
+      internalGetMutableLabels() {
+        onChanged();;
         if (labels_ == null) {
-          labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+          labels_ = com.google.protobuf.MapField.newMapField(
+              LabelsDefaultEntryHolder.defaultEntry);
         }
         if (!labels_.isMutable()) {
           labels_ = labels_.copy();
@@ -1137,8 +1050,6 @@ public int getLabelsCount() {
         return internalGetLabels().getMap().size();
       }
       /**
-       *
-       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1147,22 +1058,22 @@ public int getLabelsCount() {
        *
        * map<string, string> labels = 1;
        */
+
       @java.lang.Override
-      public boolean containsLabels(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public boolean containsLabels(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         return internalGetLabels().getMap().containsKey(key);
       }
-      /** Use {@link #getLabelsMap()} instead. */
+      /**
+       * Use {@link #getLabelsMap()} instead.
+       */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getLabels() {
         return getLabelsMap();
       }
       /**
-       *
-       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1172,12 +1083,11 @@ public java.util.Map getLabels() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
+
       public java.util.Map getLabelsMap() {
         return internalGetLabels().getMap();
       }
       /**
-       *
-       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1187,17 +1097,16 @@ public java.util.Map getLabelsMap() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
+
       public java.lang.String getLabelsOrDefault(
-          java.lang.String key, java.lang.String defaultValue) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetLabels().getMap();
+          java.lang.String key,
+          java.lang.String defaultValue) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetLabels().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
-       *
-       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1207,11 +1116,12 @@ public java.lang.String getLabelsOrDefault(
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-      public java.lang.String getLabelsOrThrow(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetLabels().getMap();
+
+      public java.lang.String getLabelsOrThrow(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetLabels().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
@@ -1219,12 +1129,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
       }
 
       public Builder clearLabels() {
-        internalGetMutableLabels().getMutableMap().clear();
+        internalGetMutableLabels().getMutableMap()
+            .clear();
         return this;
       }
       /**
-       *
-       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1233,21 +1142,23 @@ public Builder clearLabels() {
        *
        * map<string, string> labels = 1;
        */
-      public Builder removeLabels(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        internalGetMutableLabels().getMutableMap().remove(key);
+
+      public Builder removeLabels(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        internalGetMutableLabels().getMutableMap()
+            .remove(key);
         return this;
       }
-      /** Use alternate mutation accessors instead. */
+      /**
+       * Use alternate mutation accessors instead.
+       */
       @java.lang.Deprecated
-      public java.util.Map getMutableLabels() {
+      public java.util.Map
+      getMutableLabels() {
         return internalGetMutableLabels().getMutableMap();
       }
       /**
-       *
-       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1256,20 +1167,19 @@ public java.util.Map getMutableLabels() {
        *
        * map<string, string> labels = 1;
        */
-      public Builder putLabels(java.lang.String key, java.lang.String value) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public Builder putLabels(
+          java.lang.String key,
+          java.lang.String value) {
+        if (key == null) { throw new NullPointerException("map key"); }
         if (value == null) {
-          throw new NullPointerException("map value");
-        }
+  throw new NullPointerException("map value");
+}
 
-        internalGetMutableLabels().getMutableMap().put(key, value);
+        internalGetMutableLabels().getMutableMap()
+            .put(key, value);
         return this;
       }
       /**
-       *
-       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1278,11 +1188,13 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
        *
        * map<string, string> labels = 1;
        */
-      public Builder putAllLabels(java.util.Map values) {
-        internalGetMutableLabels().getMutableMap().putAll(values);
+
+      public Builder putAllLabels(
+          java.util.Map values) {
+        internalGetMutableLabels().getMutableMap()
+            .putAll(values);
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1295,32 +1207,30 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet)
-    private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet();
     }
 
-    public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet
-        getDefaultInstance() {
+    public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public LabelSet parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new LabelSet(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public LabelSet parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new LabelSet(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1332,34 +1242,28 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet
-        getDefaultInstanceForType() {
+    public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface InstanceFilterOrBuilder
-      extends
+  public interface InstanceFilterOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Target all VMs in the project. If true, no other criteria is
      * permitted.
      * 
* * bool all = 1; - * * @return The all. */ boolean getAll(); /** - * - * *
      * Deprecated. Use the `inventories` field instead.
      * A VM is selected if it's OS short name matches with any of the
@@ -1367,16 +1271,13 @@ public interface InstanceFilterOrBuilder
      * 
* * repeated string os_short_names = 2 [deprecated = true]; - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is - * deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @return A list containing the osShortNames. */ - @java.lang.Deprecated - java.util.List getOsShortNamesList(); + @java.lang.Deprecated java.util.List + getOsShortNamesList(); /** - * - * *
      * Deprecated. Use the `inventories` field instead.
      * A VM is selected if it's OS short name matches with any of the
@@ -1384,16 +1285,12 @@ public interface InstanceFilterOrBuilder
      * 
* * repeated string os_short_names = 2 [deprecated = true]; - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is - * deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @return The count of osShortNames. */ - @java.lang.Deprecated - int getOsShortNamesCount(); + @java.lang.Deprecated int getOsShortNamesCount(); /** - * - * *
      * Deprecated. Use the `inventories` field instead.
      * A VM is selected if it's OS short name matches with any of the
@@ -1401,17 +1298,13 @@ public interface InstanceFilterOrBuilder
      * 
* * repeated string os_short_names = 2 [deprecated = true]; - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is - * deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param index The index of the element to return. * @return The osShortNames at the given index. */ - @java.lang.Deprecated - java.lang.String getOsShortNames(int index); + @java.lang.Deprecated java.lang.String getOsShortNames(int index); /** - * - * *
      * Deprecated. Use the `inventories` field instead.
      * A VM is selected if it's OS short name matches with any of the
@@ -1419,244 +1312,177 @@ public interface InstanceFilterOrBuilder
      * 
* * repeated string os_short_names = 2 [deprecated = true]; - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is - * deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param index The index of the value to return. * @return The bytes of the osShortNames at the given index. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getOsShortNamesBytes(int index); + @java.lang.Deprecated com.google.protobuf.ByteString + getOsShortNamesBytes(int index); /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ - java.util.List + java.util.List getInclusionLabelsList(); /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getInclusionLabels(int index); /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ int getInclusionLabelsCount(); /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ - java.util.List + java.util.List getInclusionLabelsOrBuilderList(); /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder - getInclusionLabelsOrBuilder(int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder getInclusionLabelsOrBuilder( + int index); /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ - java.util.List + java.util.List getExclusionLabelsList(); /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getExclusionLabels(int index); /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ int getExclusionLabelsCount(); /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ - java.util.List + java.util.List getExclusionLabelsOrBuilderList(); /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder - getExclusionLabelsOrBuilder(int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder getExclusionLabelsOrBuilder( + int index); /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ - java.util.List + java.util.List getInventoriesList(); /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory getInventories( - int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory getInventories(int index); /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ int getInventoriesCount(); /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter - .InventoryOrBuilder> + java.util.List getInventoriesOrBuilderList(); /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder - getInventoriesOrBuilder(int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder getInventoriesOrBuilder( + int index); } /** - * - * *
    * Filters to select target VMs for an assignment.
    * If more than one filter criteria is specified below, a VM will be selected
@@ -1665,16 +1491,15 @@ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory ge
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter}
    */
-  public static final class InstanceFilter extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class InstanceFilter extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter)
       InstanceFilterOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use InstanceFilter.newBuilder() to construct.
     private InstanceFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private InstanceFilter() {
       osShortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       inclusionLabels_ = java.util.Collections.emptyList();
@@ -1684,15 +1509,16 @@ private InstanceFilter() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new InstanceFilter();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private InstanceFilter(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1712,72 +1538,54 @@ private InstanceFilter(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                all_ = input.readBool();
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  osShortNames_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                osShortNames_.add(s);
-                break;
+            case 8: {
+
+              all_ = input.readBool();
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                osShortNames_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 26:
-              {
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  inclusionLabels_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet>();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                inclusionLabels_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.parser(),
-                        extensionRegistry));
-                break;
+              osShortNames_.add(s);
+              break;
+            }
+            case 26: {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                inclusionLabels_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            case 34:
-              {
-                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                  exclusionLabels_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet>();
-                  mutable_bitField0_ |= 0x00000004;
-                }
-                exclusionLabels_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.parser(),
-                        extensionRegistry));
-                break;
+              inclusionLabels_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.parser(), extensionRegistry));
+              break;
+            }
+            case 34: {
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                exclusionLabels_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000004;
               }
-            case 42:
-              {
-                if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-                  inventories_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter
-                              .Inventory>();
-                  mutable_bitField0_ |= 0x00000008;
-                }
-                inventories_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter
-                            .Inventory.parser(),
-                        extensionRegistry));
-                break;
+              exclusionLabels_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.parser(), extensionRegistry));
+              break;
+            }
+            case 42: {
+              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+                inventories_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000008;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              inventories_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.parser(), extensionRegistry));
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1785,7 +1593,8 @@ private InstanceFilter(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           osShortNames_ = osShortNames_.getUnmodifiableView();
@@ -1803,55 +1612,44 @@ private InstanceFilter(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.class,
-              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder.class);
+              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder.class);
     }
 
-    public interface InventoryOrBuilder
-        extends
+    public interface InventoryOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The osShortName. */ java.lang.String getOsShortName(); /** - * - * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for osShortName. */ - com.google.protobuf.ByteString getOsShortNameBytes(); + com.google.protobuf.ByteString + getOsShortNameBytes(); /** - * - * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1861,13 +1659,10 @@ public interface InventoryOrBuilder
        * 
* * string os_version = 2; - * * @return The osVersion. */ java.lang.String getOsVersion(); /** - * - * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1877,31 +1672,27 @@ public interface InventoryOrBuilder
        * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ - com.google.protobuf.ByteString getOsVersionBytes(); + com.google.protobuf.ByteString + getOsVersionBytes(); } /** - * - * *
      * VM inventory details.
      * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory} */ - public static final class Inventory extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Inventory extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) InventoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Inventory.newBuilder() to construct. private Inventory(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Inventory() { osShortName_ = ""; osVersion_ = ""; @@ -1909,15 +1700,16 @@ private Inventory() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Inventory(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Inventory( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1936,27 +1728,25 @@ private Inventory( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - osShortName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + osShortName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - osVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + osVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1964,41 +1754,34 @@ private Inventory( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.class, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - .Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder.class); } public static final int OS_SHORT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object osShortName_; /** - * - * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The osShortName. */ @java.lang.Override @@ -2007,29 +1790,29 @@ public java.lang.String getOsShortName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; } } /** - * - * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for osShortName. */ @java.lang.Override - public com.google.protobuf.ByteString getOsShortNameBytes() { + public com.google.protobuf.ByteString + getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osShortName_ = b; return b; } else { @@ -2040,8 +1823,6 @@ public com.google.protobuf.ByteString getOsShortNameBytes() { public static final int OS_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object osVersion_; /** - * - * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -2051,7 +1832,6 @@ public com.google.protobuf.ByteString getOsShortNameBytes() {
        * 
* * string os_version = 2; - * * @return The osVersion. */ @java.lang.Override @@ -2060,15 +1840,14 @@ public java.lang.String getOsVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; } } /** - * - * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -2078,15 +1857,16 @@ public java.lang.String getOsVersion() {
        * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getOsVersionBytes() { + public com.google.protobuf.ByteString + getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osVersion_ = b; return b; } else { @@ -2095,7 +1875,6 @@ public com.google.protobuf.ByteString getOsVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2107,7 +1886,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osShortName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osShortName_); } @@ -2137,18 +1917,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory other = - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) obj; - if (!getOsShortName().equals(other.getOsShortName())) return false; - if (!getOsVersion().equals(other.getOsVersion())) return false; + if (!getOsShortName() + .equals(other.getOsShortName())) return false; + if (!getOsVersion() + .equals(other.getOsVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2169,103 +1948,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2275,52 +2039,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * VM inventory details.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - .class, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - .Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2332,23 +2088,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - build() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory result = - buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory build() { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2356,11 +2108,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory result = - new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory( - this); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory(this); result.osShortName_ = osShortName_; result.osVersion_ = osVersion_; onBuilt(); @@ -2371,56 +2120,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) - other); + if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.getDefaultInstance()) return this; if (!other.getOsShortName().isEmpty()) { osShortName_ = other.osShortName_; onChanged(); @@ -2444,14 +2183,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2463,20 +2199,18 @@ public Builder mergeFrom( private java.lang.Object osShortName_ = ""; /** - * - * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The osShortName. */ public java.lang.String getOsShortName() { java.lang.Object ref = osShortName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; @@ -2485,21 +2219,20 @@ public java.lang.String getOsShortName() { } } /** - * - * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for osShortName. */ - public com.google.protobuf.ByteString getOsShortNameBytes() { + public com.google.protobuf.ByteString + getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osShortName_ = b; return b; } else { @@ -2507,61 +2240,54 @@ public com.google.protobuf.ByteString getOsShortNameBytes() { } } /** - * - * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortName(java.lang.String value) { + public Builder setOsShortName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osShortName_ = value; onChanged(); return this; } /** - * - * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearOsShortName() { - + osShortName_ = getDefaultInstance().getOsShortName(); onChanged(); return this; } /** - * - * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { + public Builder setOsShortNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osShortName_ = value; onChanged(); return this; @@ -2569,8 +2295,6 @@ public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object osVersion_ = ""; /** - * - * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2580,13 +2304,13 @@ public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) {
          * 
* * string os_version = 2; - * * @return The osVersion. */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; @@ -2595,8 +2319,6 @@ public java.lang.String getOsVersion() { } } /** - * - * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2606,14 +2328,15 @@ public java.lang.String getOsVersion() {
          * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ - public com.google.protobuf.ByteString getOsVersionBytes() { + public com.google.protobuf.ByteString + getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osVersion_ = b; return b; } else { @@ -2621,8 +2344,6 @@ public com.google.protobuf.ByteString getOsVersionBytes() { } } /** - * - * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2632,22 +2353,20 @@ public com.google.protobuf.ByteString getOsVersionBytes() {
          * 
* * string os_version = 2; - * * @param value The osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersion(java.lang.String value) { + public Builder setOsVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osVersion_ = value; onChanged(); return this; } /** - * - * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2657,18 +2376,15 @@ public Builder setOsVersion(java.lang.String value) {
          * 
* * string os_version = 2; - * * @return This builder for chaining. */ public Builder clearOsVersion() { - + osVersion_ = getDefaultInstance().getOsVersion(); onChanged(); return this; } /** - * - * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2678,21 +2394,20 @@ public Builder clearOsVersion() {
          * 
* * string os_version = 2; - * * @param value The bytes for osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersionBytes(com.google.protobuf.ByteString value) { + public Builder setOsVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osVersion_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2705,34 +2420,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter - .Inventory - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Inventory parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Inventory(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Inventory parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Inventory(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2744,24 +2455,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int ALL_FIELD_NUMBER = 1; private boolean all_; /** - * - * *
      * Target all VMs in the project. If true, no other criteria is
      * permitted.
      * 
* * bool all = 1; - * * @return The all. */ @java.lang.Override @@ -2772,8 +2480,6 @@ public boolean getAll() { public static final int OS_SHORT_NAMES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList osShortNames_; /** - * - * *
      * Deprecated. Use the `inventories` field instead.
      * A VM is selected if it's OS short name matches with any of the
@@ -2781,18 +2487,15 @@ public boolean getAll() {
      * 
* * repeated string os_short_names = 2 [deprecated = true]; - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is - * deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @return A list containing the osShortNames. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getOsShortNamesList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getOsShortNamesList() { return osShortNames_; } /** - * - * *
      * Deprecated. Use the `inventories` field instead.
      * A VM is selected if it's OS short name matches with any of the
@@ -2800,18 +2503,14 @@ public com.google.protobuf.ProtocolStringList getOsShortNamesList() {
      * 
* * repeated string os_short_names = 2 [deprecated = true]; - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is - * deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @return The count of osShortNames. */ - @java.lang.Deprecated - public int getOsShortNamesCount() { + @java.lang.Deprecated public int getOsShortNamesCount() { return osShortNames_.size(); } /** - * - * *
      * Deprecated. Use the `inventories` field instead.
      * A VM is selected if it's OS short name matches with any of the
@@ -2819,19 +2518,15 @@ public int getOsShortNamesCount() {
      * 
* * repeated string os_short_names = 2 [deprecated = true]; - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is - * deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param index The index of the element to return. * @return The osShortNames at the given index. */ - @java.lang.Deprecated - public java.lang.String getOsShortNames(int index) { + @java.lang.Deprecated public java.lang.String getOsShortNames(int index) { return osShortNames_.get(index); } /** - * - * *
      * Deprecated. Use the `inventories` field instead.
      * A VM is selected if it's OS short name matches with any of the
@@ -2839,305 +2534,227 @@ public java.lang.String getOsShortNames(int index) {
      * 
* * repeated string os_short_names = 2 [deprecated = true]; - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is - * deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param index The index of the value to return. * @return The bytes of the osShortNames at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getOsShortNamesBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getOsShortNamesBytes(int index) { return osShortNames_.getByteString(index); } public static final int INCLUSION_LABELS_FIELD_NUMBER = 3; - private java.util.List - inclusionLabels_; + private java.util.List inclusionLabels_; /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ @java.lang.Override - public java.util.List - getInclusionLabelsList() { + public java.util.List getInclusionLabelsList() { return inclusionLabels_; } /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> + public java.util.List getInclusionLabelsOrBuilderList() { return inclusionLabels_; } /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ @java.lang.Override public int getInclusionLabelsCount() { return inclusionLabels_.size(); } /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getInclusionLabels( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getInclusionLabels(int index) { return inclusionLabels_.get(index); } /** - * - * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder - getInclusionLabelsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder getInclusionLabelsOrBuilder( + int index) { return inclusionLabels_.get(index); } public static final int EXCLUSION_LABELS_FIELD_NUMBER = 4; - private java.util.List - exclusionLabels_; + private java.util.List exclusionLabels_; /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ @java.lang.Override - public java.util.List - getExclusionLabelsList() { + public java.util.List getExclusionLabelsList() { return exclusionLabels_; } /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> + public java.util.List getExclusionLabelsOrBuilderList() { return exclusionLabels_; } /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ @java.lang.Override public int getExclusionLabelsCount() { return exclusionLabels_.size(); } /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getExclusionLabels( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getExclusionLabels(int index) { return exclusionLabels_.get(index); } /** - * - * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder - getExclusionLabelsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder getExclusionLabelsOrBuilder( + int index) { return exclusionLabels_.get(index); } public static final int INVENTORIES_FIELD_NUMBER = 5; - private java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory> - inventories_; + private java.util.List inventories_; /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ @java.lang.Override - public java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory> - getInventoriesList() { + public java.util.List getInventoriesList() { return inventories_; } /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter - .InventoryOrBuilder> + public java.util.List getInventoriesOrBuilderList() { return inventories_; } /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ @java.lang.Override public int getInventoriesCount() { return inventories_.size(); } /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - getInventories(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory getInventories(int index) { return inventories_.get(index); } /** - * - * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder - getInventoriesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder getInventoriesOrBuilder( + int index) { return inventories_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3149,7 +2766,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (all_ != false) { output.writeBool(1, all_); } @@ -3175,7 +2793,8 @@ public int getSerializedSize() { size = 0; if (all_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, all_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, all_); } { int dataSize = 0; @@ -3186,15 +2805,16 @@ public int getSerializedSize() { size += 1 * getOsShortNamesList().size(); } for (int i = 0; i < inclusionLabels_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, inclusionLabels_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, inclusionLabels_.get(i)); } for (int i = 0; i < exclusionLabels_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, exclusionLabels_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, exclusionLabels_.get(i)); } for (int i = 0; i < inventories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, inventories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, inventories_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3204,19 +2824,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter other = - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter) obj; - - if (getAll() != other.getAll()) return false; - if (!getOsShortNamesList().equals(other.getOsShortNamesList())) return false; - if (!getInclusionLabelsList().equals(other.getInclusionLabelsList())) return false; - if (!getExclusionLabelsList().equals(other.getExclusionLabelsList())) return false; - if (!getInventoriesList().equals(other.getInventoriesList())) return false; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter) obj; + + if (getAll() + != other.getAll()) return false; + if (!getOsShortNamesList() + .equals(other.getOsShortNamesList())) return false; + if (!getInclusionLabelsList() + .equals(other.getInclusionLabelsList())) return false; + if (!getExclusionLabelsList() + .equals(other.getExclusionLabelsList())) return false; + if (!getInventoriesList() + .equals(other.getInventoriesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3229,7 +2853,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAll()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAll()); if (getOsShortNamesCount() > 0) { hash = (37 * hash) + OS_SHORT_NAMES_FIELD_NUMBER; hash = (53 * hash) + getOsShortNamesList().hashCode(); @@ -3252,95 +2877,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter - 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3350,8 +2967,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Filters to select target VMs for an assignment.
      * If more than one filter criteria is specified below, a VM will be selected
@@ -3360,45 +2975,41 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter)
         com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-            .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-            .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.class,
-                com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder.class);
+                com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.newBuilder()
+      // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getInclusionLabelsFieldBuilder();
           getExclusionLabelsFieldBuilder();
           getInventoriesFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3428,16 +3039,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-            .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter
-          getDefaultInstanceForType() {
-        return com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter
-            .getDefaultInstance();
+      public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter getDefaultInstanceForType() {
+        return com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -3451,8 +3060,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter build
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter buildPartial() {
-        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter result =
-            new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter(this);
+        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter(this);
         int from_bitField0_ = bitField0_;
         result.all_ = all_;
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -3495,53 +3103,46 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter build
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter) {
-          return mergeFrom(
-              (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter) other);
+          return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter other) {
-        if (other
-            == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter other) {
+        if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.getDefaultInstance()) return this;
         if (other.getAll() != false) {
           setAll(other.getAll());
         }
@@ -3573,10 +3174,9 @@ public Builder mergeFrom(
               inclusionLabelsBuilder_ = null;
               inclusionLabels_ = other.inclusionLabels_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              inclusionLabelsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getInclusionLabelsFieldBuilder()
-                      : null;
+              inclusionLabelsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getInclusionLabelsFieldBuilder() : null;
             } else {
               inclusionLabelsBuilder_.addAllMessages(other.inclusionLabels_);
             }
@@ -3600,10 +3200,9 @@ public Builder mergeFrom(
               exclusionLabelsBuilder_ = null;
               exclusionLabels_ = other.exclusionLabels_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              exclusionLabelsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getExclusionLabelsFieldBuilder()
-                      : null;
+              exclusionLabelsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getExclusionLabelsFieldBuilder() : null;
             } else {
               exclusionLabelsBuilder_.addAllMessages(other.exclusionLabels_);
             }
@@ -3627,10 +3226,9 @@ public Builder mergeFrom(
               inventoriesBuilder_ = null;
               inventories_ = other.inventories_;
               bitField0_ = (bitField0_ & ~0x00000008);
-              inventoriesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getInventoriesFieldBuilder()
-                      : null;
+              inventoriesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getInventoriesFieldBuilder() : null;
             } else {
               inventoriesBuilder_.addAllMessages(other.inventories_);
             }
@@ -3655,9 +3253,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -3666,20 +3262,16 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private boolean all_;
+      private boolean all_ ;
       /**
-       *
-       *
        * 
        * Target all VMs in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; - * * @return The all. */ @java.lang.Override @@ -3687,55 +3279,45 @@ public boolean getAll() { return all_; } /** - * - * *
        * Target all VMs in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; - * * @param value The all to set. * @return This builder for chaining. */ public Builder setAll(boolean value) { - + all_ = value; onChanged(); return this; } /** - * - * *
        * Target all VMs in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; - * * @return This builder for chaining. */ public Builder clearAll() { - + all_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList osShortNames_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList osShortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureOsShortNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { osShortNames_ = new com.google.protobuf.LazyStringArrayList(osShortNames_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * Deprecated. Use the `inventories` field instead.
        * A VM is selected if it's OS short name matches with any of the
@@ -3743,18 +3325,15 @@ private void ensureOsShortNamesIsMutable() {
        * 
* * repeated string os_short_names = 2 [deprecated = true]; - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names - * is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @return A list containing the osShortNames. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getOsShortNamesList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getOsShortNamesList() { return osShortNames_.getUnmodifiableView(); } /** - * - * *
        * Deprecated. Use the `inventories` field instead.
        * A VM is selected if it's OS short name matches with any of the
@@ -3762,18 +3341,14 @@ public com.google.protobuf.ProtocolStringList getOsShortNamesList() {
        * 
* * repeated string os_short_names = 2 [deprecated = true]; - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names - * is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @return The count of osShortNames. */ - @java.lang.Deprecated - public int getOsShortNamesCount() { + @java.lang.Deprecated public int getOsShortNamesCount() { return osShortNames_.size(); } /** - * - * *
        * Deprecated. Use the `inventories` field instead.
        * A VM is selected if it's OS short name matches with any of the
@@ -3781,19 +3356,15 @@ public int getOsShortNamesCount() {
        * 
* * repeated string os_short_names = 2 [deprecated = true]; - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names - * is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param index The index of the element to return. * @return The osShortNames at the given index. */ - @java.lang.Deprecated - public java.lang.String getOsShortNames(int index) { + @java.lang.Deprecated public java.lang.String getOsShortNames(int index) { return osShortNames_.get(index); } /** - * - * *
        * Deprecated. Use the `inventories` field instead.
        * A VM is selected if it's OS short name matches with any of the
@@ -3801,19 +3372,16 @@ public java.lang.String getOsShortNames(int index) {
        * 
* * repeated string os_short_names = 2 [deprecated = true]; - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names - * is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param index The index of the value to return. * @return The bytes of the osShortNames at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getOsShortNamesBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getOsShortNamesBytes(int index) { return osShortNames_.getByteString(index); } /** - * - * *
        * Deprecated. Use the `inventories` field instead.
        * A VM is selected if it's OS short name matches with any of the
@@ -3821,26 +3389,23 @@ public com.google.protobuf.ByteString getOsShortNamesBytes(int index) {
        * 
* * repeated string os_short_names = 2 [deprecated = true]; - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names - * is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param index The index to set the value at. * @param value The osShortNames to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setOsShortNames(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureOsShortNamesIsMutable(); + @java.lang.Deprecated public Builder setOsShortNames( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureOsShortNamesIsMutable(); osShortNames_.set(index, value); onChanged(); return this; } /** - * - * *
        * Deprecated. Use the `inventories` field instead.
        * A VM is selected if it's OS short name matches with any of the
@@ -3848,25 +3413,22 @@ public Builder setOsShortNames(int index, java.lang.String value) {
        * 
* * repeated string os_short_names = 2 [deprecated = true]; - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names - * is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param value The osShortNames to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addOsShortNames(java.lang.String value) { + @java.lang.Deprecated public Builder addOsShortNames( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOsShortNamesIsMutable(); + throw new NullPointerException(); + } + ensureOsShortNamesIsMutable(); osShortNames_.add(value); onChanged(); return this; } /** - * - * *
        * Deprecated. Use the `inventories` field instead.
        * A VM is selected if it's OS short name matches with any of the
@@ -3874,22 +3436,20 @@ public Builder addOsShortNames(java.lang.String value) {
        * 
* * repeated string os_short_names = 2 [deprecated = true]; - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names - * is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param values The osShortNames to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addAllOsShortNames(java.lang.Iterable values) { + @java.lang.Deprecated public Builder addAllOsShortNames( + java.lang.Iterable values) { ensureOsShortNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osShortNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, osShortNames_); onChanged(); return this; } /** - * - * *
        * Deprecated. Use the `inventories` field instead.
        * A VM is selected if it's OS short name matches with any of the
@@ -3897,21 +3457,17 @@ public Builder addAllOsShortNames(java.lang.Iterable values) {
        * 
* * repeated string os_short_names = 2 [deprecated = true]; - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names - * is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearOsShortNames() { + @java.lang.Deprecated public Builder clearOsShortNames() { osShortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** - * - * *
        * Deprecated. Use the `inventories` field instead.
        * A VM is selected if it's OS short name matches with any of the
@@ -3919,57 +3475,45 @@ public Builder clearOsShortNames() {
        * 
* * repeated string os_short_names = 2 [deprecated = true]; - * - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names - * is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. + * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param value The bytes of the osShortNames to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addOsShortNamesBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder addOsShortNamesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureOsShortNamesIsMutable(); osShortNames_.add(value); onChanged(); return this; } - private java.util.List - inclusionLabels_ = java.util.Collections.emptyList(); - + private java.util.List inclusionLabels_ = + java.util.Collections.emptyList(); private void ensureInclusionLabelsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - inclusionLabels_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet>(inclusionLabels_); + inclusionLabels_ = new java.util.ArrayList(inclusionLabels_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> - inclusionLabelsBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> inclusionLabelsBuilder_; /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ - public java.util.List - getInclusionLabelsList() { + public java.util.List getInclusionLabelsList() { if (inclusionLabelsBuilder_ == null) { return java.util.Collections.unmodifiableList(inclusionLabels_); } else { @@ -3977,17 +3521,13 @@ private void ensureInclusionLabelsIsMutable() { } } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ public int getInclusionLabelsCount() { if (inclusionLabelsBuilder_ == null) { @@ -3997,20 +3537,15 @@ public int getInclusionLabelsCount() { } } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getInclusionLabels( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getInclusionLabels(int index) { if (inclusionLabelsBuilder_ == null) { return inclusionLabels_.get(index); } else { @@ -4018,17 +3553,13 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getInclusio } } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ public Builder setInclusionLabels( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet value) { @@ -4045,21 +3576,16 @@ public Builder setInclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ public Builder setInclusionLabels( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { if (inclusionLabelsBuilder_ == null) { ensureInclusionLabelsIsMutable(); inclusionLabels_.set(index, builderForValue.build()); @@ -4070,20 +3596,15 @@ public Builder setInclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ - public Builder addInclusionLabels( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet value) { + public Builder addInclusionLabels(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet value) { if (inclusionLabelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4097,17 +3618,13 @@ public Builder addInclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ public Builder addInclusionLabels( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet value) { @@ -4124,17 +3641,13 @@ public Builder addInclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ public Builder addInclusionLabels( com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { @@ -4148,21 +3661,16 @@ public Builder addInclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ public Builder addInclusionLabels( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { if (inclusionLabelsBuilder_ == null) { ensureInclusionLabelsIsMutable(); inclusionLabels_.add(index, builderForValue.build()); @@ -4173,25 +3681,20 @@ public Builder addInclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ public Builder addAllInclusionLabels( - java.lang.Iterable< - ? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet> - values) { + java.lang.Iterable values) { if (inclusionLabelsBuilder_ == null) { ensureInclusionLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inclusionLabels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, inclusionLabels_); onChanged(); } else { inclusionLabelsBuilder_.addAllMessages(values); @@ -4199,17 +3702,13 @@ public Builder addAllInclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ public Builder clearInclusionLabels() { if (inclusionLabelsBuilder_ == null) { @@ -4222,17 +3721,13 @@ public Builder clearInclusionLabels() { return this; } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ public Builder removeInclusionLabels(int index) { if (inclusionLabelsBuilder_ == null) { @@ -4245,59 +3740,45 @@ public Builder removeInclusionLabels(int index) { return this; } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder - getInclusionLabelsBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder getInclusionLabelsBuilder( + int index) { return getInclusionLabelsFieldBuilder().getBuilder(index); } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder - getInclusionLabelsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder getInclusionLabelsOrBuilder( + int index) { if (inclusionLabelsBuilder_ == null) { - return inclusionLabels_.get(index); - } else { + return inclusionLabels_.get(index); } else { return inclusionLabelsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> - getInclusionLabelsOrBuilderList() { + public java.util.List + getInclusionLabelsOrBuilderList() { if (inclusionLabelsBuilder_ != null) { return inclusionLabelsBuilder_.getMessageOrBuilderList(); } else { @@ -4305,73 +3786,51 @@ public Builder removeInclusionLabels(int index) { } } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder - addInclusionLabelsBuilder() { - return getInclusionLabelsFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder addInclusionLabelsBuilder() { + return getInclusionLabelsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance()); } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder - addInclusionLabelsBuilder(int index) { - return getInclusionLabelsFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder addInclusionLabelsBuilder( + int index) { + return getInclusionLabelsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance()); } /** - * - * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; */ - public java.util.List - getInclusionLabelsBuilderList() { + public java.util.List + getInclusionLabelsBuilderList() { return getInclusionLabelsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> getInclusionLabelsFieldBuilder() { if (inclusionLabelsBuilder_ == null) { - inclusionLabelsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder>( + inclusionLabelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder>( inclusionLabels_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4381,39 +3840,28 @@ public Builder removeInclusionLabels(int index) { return inclusionLabelsBuilder_; } - private java.util.List - exclusionLabels_ = java.util.Collections.emptyList(); - + private java.util.List exclusionLabels_ = + java.util.Collections.emptyList(); private void ensureExclusionLabelsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - exclusionLabels_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet>(exclusionLabels_); + exclusionLabels_ = new java.util.ArrayList(exclusionLabels_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> - exclusionLabelsBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> exclusionLabelsBuilder_; /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ - public java.util.List - getExclusionLabelsList() { + public java.util.List getExclusionLabelsList() { if (exclusionLabelsBuilder_ == null) { return java.util.Collections.unmodifiableList(exclusionLabels_); } else { @@ -4421,17 +3869,13 @@ private void ensureExclusionLabelsIsMutable() { } } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ public int getExclusionLabelsCount() { if (exclusionLabelsBuilder_ == null) { @@ -4441,20 +3885,15 @@ public int getExclusionLabelsCount() { } } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getExclusionLabels( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getExclusionLabels(int index) { if (exclusionLabelsBuilder_ == null) { return exclusionLabels_.get(index); } else { @@ -4462,17 +3901,13 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getExclusio } } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ public Builder setExclusionLabels( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet value) { @@ -4489,21 +3924,16 @@ public Builder setExclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ public Builder setExclusionLabels( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { if (exclusionLabelsBuilder_ == null) { ensureExclusionLabelsIsMutable(); exclusionLabels_.set(index, builderForValue.build()); @@ -4514,20 +3944,15 @@ public Builder setExclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ - public Builder addExclusionLabels( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet value) { + public Builder addExclusionLabels(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet value) { if (exclusionLabelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4541,17 +3966,13 @@ public Builder addExclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ public Builder addExclusionLabels( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet value) { @@ -4568,17 +3989,13 @@ public Builder addExclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ public Builder addExclusionLabels( com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { @@ -4592,21 +4009,16 @@ public Builder addExclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ public Builder addExclusionLabels( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { if (exclusionLabelsBuilder_ == null) { ensureExclusionLabelsIsMutable(); exclusionLabels_.add(index, builderForValue.build()); @@ -4617,25 +4029,20 @@ public Builder addExclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ public Builder addAllExclusionLabels( - java.lang.Iterable< - ? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet> - values) { + java.lang.Iterable values) { if (exclusionLabelsBuilder_ == null) { ensureExclusionLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusionLabels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, exclusionLabels_); onChanged(); } else { exclusionLabelsBuilder_.addAllMessages(values); @@ -4643,17 +4050,13 @@ public Builder addAllExclusionLabels( return this; } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ public Builder clearExclusionLabels() { if (exclusionLabelsBuilder_ == null) { @@ -4666,17 +4069,13 @@ public Builder clearExclusionLabels() { return this; } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ public Builder removeExclusionLabels(int index) { if (exclusionLabelsBuilder_ == null) { @@ -4689,59 +4088,45 @@ public Builder removeExclusionLabels(int index) { return this; } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder - getExclusionLabelsBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder getExclusionLabelsBuilder( + int index) { return getExclusionLabelsFieldBuilder().getBuilder(index); } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder - getExclusionLabelsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder getExclusionLabelsOrBuilder( + int index) { if (exclusionLabelsBuilder_ == null) { - return exclusionLabels_.get(index); - } else { + return exclusionLabels_.get(index); } else { return exclusionLabelsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> - getExclusionLabelsOrBuilderList() { + public java.util.List + getExclusionLabelsOrBuilderList() { if (exclusionLabelsBuilder_ != null) { return exclusionLabelsBuilder_.getMessageOrBuilderList(); } else { @@ -4749,73 +4134,51 @@ public Builder removeExclusionLabels(int index) { } } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder - addExclusionLabelsBuilder() { - return getExclusionLabelsFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder addExclusionLabelsBuilder() { + return getExclusionLabelsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance()); } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder - addExclusionLabelsBuilder(int index) { - return getExclusionLabelsFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder addExclusionLabelsBuilder( + int index) { + return getExclusionLabelsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance()); } /** - * - * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; */ - public java.util.List - getExclusionLabelsBuilderList() { + public java.util.List + getExclusionLabelsBuilderList() { return getExclusionLabelsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> getExclusionLabelsFieldBuilder() { if (exclusionLabelsBuilder_ == null) { - exclusionLabelsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder>( + exclusionLabelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder>( exclusionLabels_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -4825,43 +4188,28 @@ public Builder removeExclusionLabels(int index) { return exclusionLabelsBuilder_; } - private java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory> - inventories_ = java.util.Collections.emptyList(); - + private java.util.List inventories_ = + java.util.Collections.emptyList(); private void ensureInventoriesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - inventories_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory>( - inventories_); + inventories_ = new java.util.ArrayList(inventories_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter - .InventoryOrBuilder> - inventoriesBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> inventoriesBuilder_; /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ - public java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory> - getInventoriesList() { + public java.util.List getInventoriesList() { if (inventoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(inventories_); } else { @@ -4869,17 +4217,13 @@ private void ensureInventoriesIsMutable() { } } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ public int getInventoriesCount() { if (inventoriesBuilder_ == null) { @@ -4889,20 +4233,15 @@ public int getInventoriesCount() { } } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - getInventories(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory getInventories(int index) { if (inventoriesBuilder_ == null) { return inventories_.get(index); } else { @@ -4910,21 +4249,16 @@ public int getInventoriesCount() { } } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ public Builder setInventories( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory value) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4938,22 +4272,16 @@ public Builder setInventories( return this; } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ public Builder setInventories( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); inventories_.set(index, builderForValue.build()); @@ -4964,20 +4292,15 @@ public Builder setInventories( return this; } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ - public Builder addInventories( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory value) { + public Builder addInventories(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4991,21 +4314,16 @@ public Builder addInventories( return this; } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ public Builder addInventories( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory value) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5019,21 +4337,16 @@ public Builder addInventories( return this; } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ public Builder addInventories( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); inventories_.add(builderForValue.build()); @@ -5044,22 +4357,16 @@ public Builder addInventories( return this; } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ public Builder addInventories( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); inventories_.add(index, builderForValue.build()); @@ -5070,26 +4377,20 @@ public Builder addInventories( return this; } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ public Builder addAllInventories( - java.lang.Iterable< - ? extends - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory> - values) { + java.lang.Iterable values) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inventories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, inventories_); onChanged(); } else { inventoriesBuilder_.addAllMessages(values); @@ -5097,17 +4398,13 @@ public Builder addAllInventories( return this; } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ public Builder clearInventories() { if (inventoriesBuilder_ == null) { @@ -5120,17 +4417,13 @@ public Builder clearInventories() { return this; } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ public Builder removeInventories(int index) { if (inventoriesBuilder_ == null) { @@ -5143,61 +4436,45 @@ public Builder removeInventories(int index) { return this; } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder - getInventoriesBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder getInventoriesBuilder( + int index) { return getInventoriesFieldBuilder().getBuilder(index); } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder - getInventoriesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder getInventoriesOrBuilder( + int index) { if (inventoriesBuilder_ == null) { - return inventories_.get(index); - } else { + return inventories_.get(index); } else { return inventoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter - .InventoryOrBuilder> - getInventoriesOrBuilderList() { + public java.util.List + getInventoriesOrBuilderList() { if (inventoriesBuilder_ != null) { return inventoriesBuilder_.getMessageOrBuilderList(); } else { @@ -5205,79 +4482,51 @@ public Builder removeInventories(int index) { } } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder - addInventoriesBuilder() { - return getInventoriesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - .getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder addInventoriesBuilder() { + return getInventoriesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.getDefaultInstance()); } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder - addInventoriesBuilder(int index) { - return getInventoriesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - .getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder addInventoriesBuilder( + int index) { + return getInventoriesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.getDefaultInstance()); } /** - * - * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; */ - public java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder> - getInventoriesBuilderList() { + public java.util.List + getInventoriesBuilderList() { return getInventoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter - .InventoryOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> getInventoriesFieldBuilder() { if (inventoriesBuilder_ == null) { - inventoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory - .Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter - .InventoryOrBuilder>( + inventoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder>( inventories_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -5286,7 +4535,6 @@ public Builder removeInventories(int index) { } return inventoriesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5299,32 +4547,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstanceFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstanceFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstanceFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5336,64 +4582,47 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface RolloutOrBuilder - extends + public interface RolloutOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt at
      * any given moment.
      * 
* - * - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the disruptionBudget field is set. */ boolean hasDisruptionBudget(); /** - * - * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt at
      * any given moment.
      * 
* - * - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The disruptionBudget. */ com.google.cloud.osconfig.v1alpha.FixedOrPercent getDisruptionBudget(); /** - * - * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt at
      * any given moment.
      * 
* - * - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder(); /** - * - * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -5402,16 +4631,11 @@ public interface RolloutOrBuilder
      * applied.
      * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the minWaitDuration field is set. */ boolean hasMinWaitDuration(); /** - * - * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -5420,16 +4644,11 @@ public interface RolloutOrBuilder
      * applied.
      * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The minWaitDuration. */ com.google.protobuf.Duration getMinWaitDuration(); /** - * - * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -5438,15 +4657,11 @@ public interface RolloutOrBuilder
      * applied.
      * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder(); } /** - * - * *
    * Message to configure the rollout at the zonal level for the OS policy
    * assignment.
@@ -5454,29 +4669,30 @@ public interface RolloutOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout}
    */
-  public static final class Rollout extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Rollout extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout)
       RolloutOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Rollout.newBuilder() to construct.
     private Rollout(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private Rollout() {}
+    private Rollout() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Rollout();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private Rollout(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -5495,45 +4711,39 @@ private Rollout(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder subBuilder = null;
-                if (disruptionBudget_ != null) {
-                  subBuilder = disruptionBudget_.toBuilder();
-                }
-                disruptionBudget_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1alpha.FixedOrPercent.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(disruptionBudget_);
-                  disruptionBudget_ = subBuilder.buildPartial();
-                }
-
-                break;
+            case 10: {
+              com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder subBuilder = null;
+              if (disruptionBudget_ != null) {
+                subBuilder = disruptionBudget_.toBuilder();
+              }
+              disruptionBudget_ = input.readMessage(com.google.cloud.osconfig.v1alpha.FixedOrPercent.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(disruptionBudget_);
+                disruptionBudget_ = subBuilder.buildPartial();
               }
-            case 18:
-              {
-                com.google.protobuf.Duration.Builder subBuilder = null;
-                if (minWaitDuration_ != null) {
-                  subBuilder = minWaitDuration_.toBuilder();
-                }
-                minWaitDuration_ =
-                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(minWaitDuration_);
-                  minWaitDuration_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 18: {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (minWaitDuration_ != null) {
+                subBuilder = minWaitDuration_.toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              minWaitDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(minWaitDuration_);
+                minWaitDuration_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5541,42 +4751,35 @@ private Rollout(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.class,
-              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder.class);
+              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder.class);
     }
 
     public static final int DISRUPTION_BUDGET_FIELD_NUMBER = 1;
     private com.google.cloud.osconfig.v1alpha.FixedOrPercent disruptionBudget_;
     /**
-     *
-     *
      * 
      * Required. The maximum number (or percentage) of VMs per zone to disrupt at
      * any given moment.
      * 
* - * - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the disruptionBudget field is set. */ @java.lang.Override @@ -5584,48 +4787,34 @@ public boolean hasDisruptionBudget() { return disruptionBudget_ != null; } /** - * - * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt at
      * any given moment.
      * 
* - * - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The disruptionBudget. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.FixedOrPercent getDisruptionBudget() { - return disruptionBudget_ == null - ? com.google.cloud.osconfig.v1alpha.FixedOrPercent.getDefaultInstance() - : disruptionBudget_; + return disruptionBudget_ == null ? com.google.cloud.osconfig.v1alpha.FixedOrPercent.getDefaultInstance() : disruptionBudget_; } /** - * - * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt at
      * any given moment.
      * 
* - * - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder - getDisruptionBudgetOrBuilder() { + public com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder() { return getDisruptionBudget(); } public static final int MIN_WAIT_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration minWaitDuration_; /** - * - * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -5634,10 +4823,7 @@ public com.google.cloud.osconfig.v1alpha.FixedOrPercent getDisruptionBudget() {
      * applied.
      * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the minWaitDuration field is set. */ @java.lang.Override @@ -5645,8 +4831,6 @@ public boolean hasMinWaitDuration() { return minWaitDuration_ != null; } /** - * - * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -5655,21 +4839,14 @@ public boolean hasMinWaitDuration() {
      * applied.
      * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The minWaitDuration. */ @java.lang.Override public com.google.protobuf.Duration getMinWaitDuration() { - return minWaitDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minWaitDuration_; + return minWaitDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minWaitDuration_; } /** - * - * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -5678,9 +4855,7 @@ public com.google.protobuf.Duration getMinWaitDuration() {
      * applied.
      * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder() { @@ -5688,7 +4863,6 @@ public com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5700,7 +4874,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (disruptionBudget_ != null) { output.writeMessage(1, getDisruptionBudget()); } @@ -5717,10 +4892,12 @@ public int getSerializedSize() { size = 0; if (disruptionBudget_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDisruptionBudget()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDisruptionBudget()); } if (minWaitDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMinWaitDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMinWaitDuration()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5730,21 +4907,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout other = - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout) obj; if (hasDisruptionBudget() != other.hasDisruptionBudget()) return false; if (hasDisruptionBudget()) { - if (!getDisruptionBudget().equals(other.getDisruptionBudget())) return false; + if (!getDisruptionBudget() + .equals(other.getDisruptionBudget())) return false; } if (hasMinWaitDuration() != other.hasMinWaitDuration()) return false; if (hasMinWaitDuration()) { - if (!getMinWaitDuration().equals(other.getMinWaitDuration())) return false; + if (!getMinWaitDuration() + .equals(other.getMinWaitDuration())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -5771,94 +4949,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout 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.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5868,8 +5039,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Message to configure the rollout at the zonal level for the OS policy
      * assignment.
@@ -5877,24 +5046,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout)
         com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-            .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-            .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.class,
-                com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder.class);
+                com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.newBuilder()
@@ -5902,15 +5068,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5930,14 +5097,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-            .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.getDefaultInstance();
       }
 
@@ -5952,8 +5118,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout buildPartial() {
-        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout result =
-            new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout(this);
+        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout(this);
         if (disruptionBudgetBuilder_ == null) {
           result.disruptionBudget_ = disruptionBudget_;
         } else {
@@ -5972,41 +5137,38 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout buildPartial
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1alpha.OSPolicyAssignment.Rollout) {
-          return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout) other);
+          return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -6014,9 +5176,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout other) {
-        if (other
-            == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.getDefaultInstance()) return this;
         if (other.hasDisruptionBudget()) {
           mergeDisruptionBudget(other.getDisruptionBudget());
         }
@@ -6042,9 +5202,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -6056,61 +5214,42 @@ public Builder mergeFrom(
 
       private com.google.cloud.osconfig.v1alpha.FixedOrPercent disruptionBudget_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.FixedOrPercent,
-              com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder,
-              com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder>
-          disruptionBudgetBuilder_;
+          com.google.cloud.osconfig.v1alpha.FixedOrPercent, com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder, com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder> disruptionBudgetBuilder_;
       /**
-       *
-       *
        * 
        * Required. The maximum number (or percentage) of VMs per zone to disrupt at
        * any given moment.
        * 
* - * - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the disruptionBudget field is set. */ public boolean hasDisruptionBudget() { return disruptionBudgetBuilder_ != null || disruptionBudget_ != null; } /** - * - * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt at
        * any given moment.
        * 
* - * - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The disruptionBudget. */ public com.google.cloud.osconfig.v1alpha.FixedOrPercent getDisruptionBudget() { if (disruptionBudgetBuilder_ == null) { - return disruptionBudget_ == null - ? com.google.cloud.osconfig.v1alpha.FixedOrPercent.getDefaultInstance() - : disruptionBudget_; + return disruptionBudget_ == null ? com.google.cloud.osconfig.v1alpha.FixedOrPercent.getDefaultInstance() : disruptionBudget_; } else { return disruptionBudgetBuilder_.getMessage(); } } /** - * - * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt at
        * any given moment.
        * 
* - * - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDisruptionBudget(com.google.cloud.osconfig.v1alpha.FixedOrPercent value) { if (disruptionBudgetBuilder_ == null) { @@ -6126,16 +5265,12 @@ public Builder setDisruptionBudget(com.google.cloud.osconfig.v1alpha.FixedOrPerc return this; } /** - * - * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt at
        * any given moment.
        * 
* - * - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDisruptionBudget( com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder builderForValue) { @@ -6149,24 +5284,18 @@ public Builder setDisruptionBudget( return this; } /** - * - * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt at
        * any given moment.
        * 
* - * - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDisruptionBudget(com.google.cloud.osconfig.v1alpha.FixedOrPercent value) { if (disruptionBudgetBuilder_ == null) { if (disruptionBudget_ != null) { disruptionBudget_ = - com.google.cloud.osconfig.v1alpha.FixedOrPercent.newBuilder(disruptionBudget_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1alpha.FixedOrPercent.newBuilder(disruptionBudget_).mergeFrom(value).buildPartial(); } else { disruptionBudget_ = value; } @@ -6178,16 +5307,12 @@ public Builder mergeDisruptionBudget(com.google.cloud.osconfig.v1alpha.FixedOrPe return this; } /** - * - * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt at
        * any given moment.
        * 
* - * - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDisruptionBudget() { if (disruptionBudgetBuilder_ == null) { @@ -6201,68 +5326,51 @@ public Builder clearDisruptionBudget() { return this; } /** - * - * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt at
        * any given moment.
        * 
* - * - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder getDisruptionBudgetBuilder() { - + onChanged(); return getDisruptionBudgetFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt at
        * any given moment.
        * 
* - * - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder - getDisruptionBudgetOrBuilder() { + public com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder() { if (disruptionBudgetBuilder_ != null) { return disruptionBudgetBuilder_.getMessageOrBuilder(); } else { - return disruptionBudget_ == null - ? com.google.cloud.osconfig.v1alpha.FixedOrPercent.getDefaultInstance() - : disruptionBudget_; + return disruptionBudget_ == null ? + com.google.cloud.osconfig.v1alpha.FixedOrPercent.getDefaultInstance() : disruptionBudget_; } } /** - * - * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt at
        * any given moment.
        * 
* - * - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.FixedOrPercent, - com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder, - com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder> + com.google.cloud.osconfig.v1alpha.FixedOrPercent, com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder, com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder> getDisruptionBudgetFieldBuilder() { if (disruptionBudgetBuilder_ == null) { - disruptionBudgetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.FixedOrPercent, - com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder, - com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder>( - getDisruptionBudget(), getParentForChildren(), isClean()); + disruptionBudgetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.FixedOrPercent, com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder, com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder>( + getDisruptionBudget(), + getParentForChildren(), + isClean()); disruptionBudget_ = null; } return disruptionBudgetBuilder_; @@ -6270,13 +5378,8 @@ public com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder getDisruptionBud private com.google.protobuf.Duration minWaitDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - minWaitDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minWaitDurationBuilder_; /** - * - * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -6285,18 +5388,13 @@ public com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder getDisruptionBud
        * applied.
        * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the minWaitDuration field is set. */ public boolean hasMinWaitDuration() { return minWaitDurationBuilder_ != null || minWaitDuration_ != null; } /** - * - * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -6305,24 +5403,17 @@ public boolean hasMinWaitDuration() {
        * applied.
        * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The minWaitDuration. */ public com.google.protobuf.Duration getMinWaitDuration() { if (minWaitDurationBuilder_ == null) { - return minWaitDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minWaitDuration_; + return minWaitDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minWaitDuration_; } else { return minWaitDurationBuilder_.getMessage(); } } /** - * - * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -6331,9 +5422,7 @@ public com.google.protobuf.Duration getMinWaitDuration() {
        * applied.
        * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMinWaitDuration(com.google.protobuf.Duration value) { if (minWaitDurationBuilder_ == null) { @@ -6349,8 +5438,6 @@ public Builder setMinWaitDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -6359,11 +5446,10 @@ public Builder setMinWaitDuration(com.google.protobuf.Duration value) {
        * applied.
        * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setMinWaitDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setMinWaitDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (minWaitDurationBuilder_ == null) { minWaitDuration_ = builderForValue.build(); onChanged(); @@ -6374,8 +5460,6 @@ public Builder setMinWaitDuration(com.google.protobuf.Duration.Builder builderFo return this; } /** - * - * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -6384,17 +5468,13 @@ public Builder setMinWaitDuration(com.google.protobuf.Duration.Builder builderFo
        * applied.
        * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeMinWaitDuration(com.google.protobuf.Duration value) { if (minWaitDurationBuilder_ == null) { if (minWaitDuration_ != null) { minWaitDuration_ = - com.google.protobuf.Duration.newBuilder(minWaitDuration_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(minWaitDuration_).mergeFrom(value).buildPartial(); } else { minWaitDuration_ = value; } @@ -6406,8 +5486,6 @@ public Builder mergeMinWaitDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -6416,9 +5494,7 @@ public Builder mergeMinWaitDuration(com.google.protobuf.Duration value) {
        * applied.
        * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMinWaitDuration() { if (minWaitDurationBuilder_ == null) { @@ -6432,8 +5508,6 @@ public Builder clearMinWaitDuration() { return this; } /** - * - * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -6442,18 +5516,14 @@ public Builder clearMinWaitDuration() {
        * applied.
        * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Duration.Builder getMinWaitDurationBuilder() { - + onChanged(); return getMinWaitDurationFieldBuilder().getBuilder(); } /** - * - * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -6462,22 +5532,17 @@ public com.google.protobuf.Duration.Builder getMinWaitDurationBuilder() {
        * applied.
        * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder() { if (minWaitDurationBuilder_ != null) { return minWaitDurationBuilder_.getMessageOrBuilder(); } else { - return minWaitDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minWaitDuration_; + return minWaitDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : minWaitDuration_; } } /** - * - * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -6486,27 +5551,21 @@ public com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder() {
        * applied.
        * 
* - * - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getMinWaitDurationFieldBuilder() { if (minWaitDurationBuilder_ == null) { - minWaitDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getMinWaitDuration(), getParentForChildren(), isClean()); + minWaitDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getMinWaitDuration(), + getParentForChildren(), + isClean()); minWaitDuration_ = null; } return minWaitDurationBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6519,32 +5578,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Rollout parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Rollout(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Rollout parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Rollout(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6556,17 +5613,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Resource name.
    * Format:
@@ -6575,7 +5630,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -6584,15 +5638,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Resource name.
    * Format:
@@ -6601,15 +5654,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -6620,15 +5674,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * OS policy assignment description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -6637,30 +5688,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * OS policy assignment description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -6671,95 +5722,71 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int OS_POLICIES_FIELD_NUMBER = 3; private java.util.List osPolicies_; /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getOsPoliciesList() { return osPolicies_; } /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getOsPoliciesOrBuilderList() { return osPolicies_; } /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getOsPoliciesCount() { return osPolicies_.size(); } /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy getOsPolicies(int index) { return osPolicies_.get(index); } /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilder( + int index) { return osPolicies_.get(index); } public static final int INSTANCE_FILTER_FIELD_NUMBER = 4; private com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instanceFilter_; /** - * - * *
    * Required. Filter to select VMs.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceFilter field is set. */ @java.lang.Override @@ -6767,46 +5794,32 @@ public boolean hasInstanceFilter() { return instanceFilter_ != null; } /** - * - * *
    * Required. Filter to select VMs.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceFilter. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter getInstanceFilter() { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.getDefaultInstance() : instanceFilter_; } /** - * - * *
    * Required. Filter to select VMs.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder - getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder getInstanceFilterOrBuilder() { return getInstanceFilter(); } public static final int ROLLOUT_FIELD_NUMBER = 5; private com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout_; /** - * - * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -6818,10 +5831,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter getIn
    * 3) OSPolicyAssignment is deleted.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the rollout field is set. */ @java.lang.Override @@ -6829,8 +5839,6 @@ public boolean hasRollout() { return rollout_ != null; } /** - * - * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -6842,21 +5850,14 @@ public boolean hasRollout() {
    * 3) OSPolicyAssignment is deleted.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The rollout. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout getRollout() { - return rollout_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.getDefaultInstance() : rollout_; } /** - * - * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -6868,21 +5869,16 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout getRollout()
    * 3) OSPolicyAssignment is deleted.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder - getRolloutOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder getRolloutOrBuilder() { return getRollout(); } public static final int REVISION_ID_FIELD_NUMBER = 6; private volatile java.lang.Object revisionId_; /** - * - * *
    * Output only. The assignment revision ID
    * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -6890,7 +5886,6 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout getRollout()
    * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The revisionId. */ @java.lang.Override @@ -6899,15 +5894,14 @@ public java.lang.String getRevisionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; } } /** - * - * *
    * Output only. The assignment revision ID
    * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -6915,15 +5909,16 @@ public java.lang.String getRevisionId() {
    * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for revisionId. */ @java.lang.Override - public com.google.protobuf.ByteString getRevisionIdBytes() { + public com.google.protobuf.ByteString + getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); revisionId_ = b; return b; } else { @@ -6934,16 +5929,11 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { public static final int REVISION_CREATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp revisionCreateTime_; /** - * - * *
    * Output only. The timestamp that the revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionCreateTime field is set. */ @java.lang.Override @@ -6951,34 +5941,23 @@ public boolean hasRevisionCreateTime() { return revisionCreateTime_ != null; } /** - * - * *
    * Output only. The timestamp that the revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRevisionCreateTime() { - return revisionCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionCreateTime_; + return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; } /** - * - * *
    * Output only. The timestamp that the revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { @@ -6988,15 +5967,12 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { public static final int ETAG_FIELD_NUMBER = 8; private volatile java.lang.Object etag_; /** - * - * *
    * The etag for this OS policy assignment.
    * If this is provided on update, it must match the server's etag.
    * 
* * string etag = 8; - * * @return The etag. */ @java.lang.Override @@ -7005,30 +5981,30 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * The etag for this OS policy assignment.
    * If this is provided on update, it must match the server's etag.
    * 
* * string etag = 8; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -7039,50 +6015,33 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int ROLLOUT_STATE_FIELD_NUMBER = 9; private int rolloutState_; /** - * - * *
    * Output only. OS policy assignment rollout state
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for rolloutState. */ - @java.lang.Override - public int getRolloutStateValue() { + @java.lang.Override public int getRolloutStateValue() { return rolloutState_; } /** - * - * *
    * Output only. OS policy assignment rollout state
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The rolloutState. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState getRolloutState() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState getRolloutState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState result = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.valueOf(rolloutState_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.valueOf(rolloutState_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.UNRECOGNIZED : result; } public static final int BASELINE_FIELD_NUMBER = 10; private boolean baseline_; /** - * - * *
    * Output only. Indicates that this revision has been successfully rolled out in this zone
    * and new VMs will be assigned OS policies from this revision.
@@ -7091,7 +6050,6 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState getRoll
    * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The baseline. */ @java.lang.Override @@ -7102,14 +6060,11 @@ public boolean getBaseline() { public static final int DELETED_FIELD_NUMBER = 11; private boolean deleted_; /** - * - * *
    * Output only. Indicates that this revision deletes the OS policy assignment.
    * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The deleted. */ @java.lang.Override @@ -7120,8 +6075,6 @@ public boolean getDeleted() { public static final int RECONCILING_FIELD_NUMBER = 12; private boolean reconciling_; /** - * - * *
    * Output only. Indicates that reconciliation is in progress for the revision.
    * This value is `true` when the `rollout_state` is one of:
@@ -7130,7 +6083,6 @@ public boolean getDeleted() {
    * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -7141,14 +6093,11 @@ public boolean getReconciling() { public static final int UID_FIELD_NUMBER = 13; private volatile java.lang.Object uid_; /** - * - * *
    * Output only. Server generated unique id for the OS policy assignment resource.
    * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -7157,29 +6106,29 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. Server generated unique id for the OS policy assignment resource.
    * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -7188,7 +6137,6 @@ public com.google.protobuf.ByteString getUidBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7200,7 +6148,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -7225,10 +6174,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, etag_); } - if (rolloutState_ - != com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState - .ROLLOUT_STATE_UNSPECIFIED - .getNumber()) { + if (rolloutState_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.ROLLOUT_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(9, rolloutState_); } if (baseline_ != false) { @@ -7259,37 +6205,42 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } for (int i = 0; i < osPolicies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, osPolicies_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, osPolicies_.get(i)); } if (instanceFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getInstanceFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getInstanceFilter()); } if (rollout_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRollout()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getRollout()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revisionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, revisionId_); } if (revisionCreateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getRevisionCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getRevisionCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, etag_); } - if (rolloutState_ - != com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState - .ROLLOUT_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, rolloutState_); + if (rolloutState_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.ROLLOUT_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, rolloutState_); } if (baseline_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, baseline_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, baseline_); } if (deleted_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, deleted_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(11, deleted_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(12, reconciling_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, uid_); @@ -7302,36 +6253,47 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignment)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment other = - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getOsPoliciesList().equals(other.getOsPoliciesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getOsPoliciesList() + .equals(other.getOsPoliciesList())) return false; if (hasInstanceFilter() != other.hasInstanceFilter()) return false; if (hasInstanceFilter()) { - if (!getInstanceFilter().equals(other.getInstanceFilter())) return false; + if (!getInstanceFilter() + .equals(other.getInstanceFilter())) return false; } if (hasRollout() != other.hasRollout()) return false; if (hasRollout()) { - if (!getRollout().equals(other.getRollout())) return false; + if (!getRollout() + .equals(other.getRollout())) return false; } - if (!getRevisionId().equals(other.getRevisionId())) return false; + if (!getRevisionId() + .equals(other.getRevisionId())) return false; if (hasRevisionCreateTime() != other.hasRevisionCreateTime()) return false; if (hasRevisionCreateTime()) { - if (!getRevisionCreateTime().equals(other.getRevisionCreateTime())) return false; + if (!getRevisionCreateTime() + .equals(other.getRevisionCreateTime())) return false; } - if (!getEtag().equals(other.getEtag())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (rolloutState_ != other.rolloutState_) return false; - if (getBaseline() != other.getBaseline()) return false; - if (getDeleted() != other.getDeleted()) return false; - if (getReconciling() != other.getReconciling()) return false; - if (!getUid().equals(other.getUid())) return false; + if (getBaseline() + != other.getBaseline()) return false; + if (getDeleted() + != other.getDeleted()) return false; + if (getReconciling() + != other.getReconciling()) return false; + if (!getUid() + .equals(other.getUid())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7370,11 +6332,14 @@ public int hashCode() { hash = (37 * hash) + ROLLOUT_STATE_FIELD_NUMBER; hash = (53 * hash) + rolloutState_; hash = (37 * hash) + BASELINE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBaseline()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBaseline()); hash = (37 * hash) + DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeleted()); hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReconciling()); hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -7383,103 +6348,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment 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.osconfig.v1alpha.OSPolicyAssignment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * OS policy assignment is an API resource that is used to
    * apply a set of OS policies to a dynamically targeted group of Compute Engine
@@ -7494,23 +6452,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment)
       com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.class,
-              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder.class);
+              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.newBuilder()
@@ -7518,17 +6474,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getOsPoliciesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -7578,9 +6534,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor;
     }
 
     @java.lang.Override
@@ -7599,8 +6555,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment buildPartial() {
-      com.google.cloud.osconfig.v1alpha.OSPolicyAssignment result =
-          new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment(this);
+      com.google.cloud.osconfig.v1alpha.OSPolicyAssignment result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -7643,39 +6598,38 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.OSPolicyAssignment) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignment) other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignment)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -7683,8 +6637,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment other) {
-      if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -7711,10 +6664,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment ot
             osPoliciesBuilder_ = null;
             osPolicies_ = other.osPolicies_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            osPoliciesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOsPoliciesFieldBuilder()
-                    : null;
+            osPoliciesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOsPoliciesFieldBuilder() : null;
           } else {
             osPoliciesBuilder_.addAllMessages(other.osPolicies_);
           }
@@ -7772,8 +6724,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -7782,13 +6733,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Resource name.
      * Format:
@@ -7797,13 +6745,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -7812,8 +6760,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource name.
      * Format:
@@ -7822,14 +6768,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -7837,8 +6784,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource name.
      * Format:
@@ -7847,22 +6792,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Resource name.
      * Format:
@@ -7871,18 +6814,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Resource name.
      * Format:
@@ -7891,16 +6831,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -7908,21 +6848,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -7931,22 +6869,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -7954,96 +6891,80 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private java.util.List osPolicies_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOsPoliciesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicies_ = - new java.util.ArrayList(osPolicies_); + osPolicies_ = new java.util.ArrayList(osPolicies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy, - com.google.cloud.osconfig.v1alpha.OSPolicy.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder> - osPoliciesBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy, com.google.cloud.osconfig.v1alpha.OSPolicy.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder> osPoliciesBuilder_; /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getOsPoliciesList() { if (osPoliciesBuilder_ == null) { @@ -8053,15 +6974,11 @@ public java.util.List getOsPoliciesL } } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public int getOsPoliciesCount() { if (osPoliciesBuilder_ == null) { @@ -8071,15 +6988,11 @@ public int getOsPoliciesCount() { } } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1alpha.OSPolicy getOsPolicies(int index) { if (osPoliciesBuilder_ == null) { @@ -8089,17 +7002,14 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy getOsPolicies(int index) { } } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setOsPolicies(int index, com.google.cloud.osconfig.v1alpha.OSPolicy value) { + public Builder setOsPolicies( + int index, com.google.cloud.osconfig.v1alpha.OSPolicy value) { if (osPoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8113,15 +7023,11 @@ public Builder setOsPolicies(int index, com.google.cloud.osconfig.v1alpha.OSPoli return this; } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOsPolicies( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.Builder builderForValue) { @@ -8135,15 +7041,11 @@ public Builder setOsPolicies( return this; } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addOsPolicies(com.google.cloud.osconfig.v1alpha.OSPolicy value) { if (osPoliciesBuilder_ == null) { @@ -8159,17 +7061,14 @@ public Builder addOsPolicies(com.google.cloud.osconfig.v1alpha.OSPolicy value) { return this; } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addOsPolicies(int index, com.google.cloud.osconfig.v1alpha.OSPolicy value) { + public Builder addOsPolicies( + int index, com.google.cloud.osconfig.v1alpha.OSPolicy value) { if (osPoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8183,15 +7082,11 @@ public Builder addOsPolicies(int index, com.google.cloud.osconfig.v1alpha.OSPoli return this; } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addOsPolicies( com.google.cloud.osconfig.v1alpha.OSPolicy.Builder builderForValue) { @@ -8205,15 +7100,11 @@ public Builder addOsPolicies( return this; } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addOsPolicies( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.Builder builderForValue) { @@ -8227,21 +7118,18 @@ public Builder addOsPolicies( return this; } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllOsPolicies( java.lang.Iterable values) { if (osPoliciesBuilder_ == null) { ensureOsPoliciesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, osPolicies_); onChanged(); } else { osPoliciesBuilder_.addAllMessages(values); @@ -8249,15 +7137,11 @@ public Builder addAllOsPolicies( return this; } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOsPolicies() { if (osPoliciesBuilder_ == null) { @@ -8270,15 +7154,11 @@ public Builder clearOsPolicies() { return this; } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeOsPolicies(int index) { if (osPoliciesBuilder_ == null) { @@ -8291,50 +7171,39 @@ public Builder removeOsPolicies(int index) { return this; } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Builder getOsPoliciesBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Builder getOsPoliciesBuilder( + int index) { return getOsPoliciesFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilder( + int index) { if (osPoliciesBuilder_ == null) { - return osPolicies_.get(index); - } else { + return osPolicies_.get(index); } else { return osPoliciesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getOsPoliciesOrBuilderList() { + public java.util.List + getOsPoliciesOrBuilderList() { if (osPoliciesBuilder_ != null) { return osPoliciesBuilder_.getMessageOrBuilderList(); } else { @@ -8342,63 +7211,49 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilde } } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Builder addOsPoliciesBuilder() { - return getOsPoliciesFieldBuilder() - .addBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.getDefaultInstance()); + return getOsPoliciesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.getDefaultInstance()); } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Builder addOsPoliciesBuilder(int index) { - return getOsPoliciesFieldBuilder() - .addBuilder(index, com.google.cloud.osconfig.v1alpha.OSPolicy.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Builder addOsPoliciesBuilder( + int index) { + return getOsPoliciesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.OSPolicy.getDefaultInstance()); } /** - * - * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getOsPoliciesBuilderList() { + public java.util.List + getOsPoliciesBuilderList() { return getOsPoliciesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy, - com.google.cloud.osconfig.v1alpha.OSPolicy.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy, com.google.cloud.osconfig.v1alpha.OSPolicy.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder> getOsPoliciesFieldBuilder() { if (osPoliciesBuilder_ == null) { - osPoliciesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy, - com.google.cloud.osconfig.v1alpha.OSPolicy.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder>( - osPolicies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + osPoliciesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy, com.google.cloud.osconfig.v1alpha.OSPolicy.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder>( + osPolicies_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); osPolicies_ = null; } return osPoliciesBuilder_; @@ -8406,62 +7261,41 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Builder addOsPoliciesBuilder(i private com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instanceFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder> - instanceFilterBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder> instanceFilterBuilder_; /** - * - * *
      * Required. Filter to select VMs.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceFilter field is set. */ public boolean hasInstanceFilter() { return instanceFilterBuilder_ != null || instanceFilter_ != null; } /** - * - * *
      * Required. Filter to select VMs.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceFilter. */ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter getInstanceFilter() { if (instanceFilterBuilder_ == null) { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter - .getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.getDefaultInstance() : instanceFilter_; } else { return instanceFilterBuilder_.getMessage(); } } /** - * - * *
      * Required. Filter to select VMs.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstanceFilter( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter value) { + public Builder setInstanceFilter(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter value) { if (instanceFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8475,19 +7309,14 @@ public Builder setInstanceFilter( return this; } /** - * - * *
      * Required. Filter to select VMs.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstanceFilter( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder builderForValue) { if (instanceFilterBuilder_ == null) { instanceFilter_ = builderForValue.build(); onChanged(); @@ -8498,25 +7327,17 @@ public Builder setInstanceFilter( return this; } /** - * - * *
      * Required. Filter to select VMs.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeInstanceFilter( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter value) { + public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter value) { if (instanceFilterBuilder_ == null) { if (instanceFilter_ != null) { instanceFilter_ = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.newBuilder( - instanceFilter_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.newBuilder(instanceFilter_).mergeFrom(value).buildPartial(); } else { instanceFilter_ = value; } @@ -8528,15 +7349,11 @@ public Builder mergeInstanceFilter( return this; } /** - * - * *
      * Required. Filter to select VMs.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstanceFilter() { if (instanceFilterBuilder_ == null) { @@ -8550,67 +7367,48 @@ public Builder clearInstanceFilter() { return this; } /** - * - * *
      * Required. Filter to select VMs.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder - getInstanceFilterBuilder() { - + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder getInstanceFilterBuilder() { + onChanged(); return getInstanceFilterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Filter to select VMs.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder - getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder getInstanceFilterOrBuilder() { if (instanceFilterBuilder_ != null) { return instanceFilterBuilder_.getMessageOrBuilder(); } else { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter - .getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.getDefaultInstance() : instanceFilter_; } } /** - * - * *
      * Required. Filter to select VMs.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder> getInstanceFilterFieldBuilder() { if (instanceFilterBuilder_ == null) { - instanceFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder>( - getInstanceFilter(), getParentForChildren(), isClean()); + instanceFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder>( + getInstanceFilter(), + getParentForChildren(), + isClean()); instanceFilter_ = null; } return instanceFilterBuilder_; @@ -8618,13 +7416,8 @@ public Builder clearInstanceFilter() { private com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder> - rolloutBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder> rolloutBuilder_; /** - * - * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -8636,18 +7429,13 @@ public Builder clearInstanceFilter() {
      * 3) OSPolicyAssignment is deleted.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the rollout field is set. */ public boolean hasRollout() { return rolloutBuilder_ != null || rollout_ != null; } /** - * - * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -8659,24 +7447,17 @@ public boolean hasRollout() {
      * 3) OSPolicyAssignment is deleted.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The rollout. */ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout getRollout() { if (rolloutBuilder_ == null) { - return rollout_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.getDefaultInstance() : rollout_; } else { return rolloutBuilder_.getMessage(); } } /** - * - * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -8688,9 +7469,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout getRollout()
      * 3) OSPolicyAssignment is deleted.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRollout(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout value) { if (rolloutBuilder_ == null) { @@ -8706,8 +7485,6 @@ public Builder setRollout(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.R return this; } /** - * - * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -8719,9 +7496,7 @@ public Builder setRollout(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.R
      * 3) OSPolicyAssignment is deleted.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRollout( com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder builderForValue) { @@ -8735,8 +7510,6 @@ public Builder setRollout( return this; } /** - * - * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -8748,18 +7521,13 @@ public Builder setRollout(
      * 3) OSPolicyAssignment is deleted.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeRollout( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout value) { + public Builder mergeRollout(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout value) { if (rolloutBuilder_ == null) { if (rollout_ != null) { rollout_ = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.newBuilder(rollout_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.newBuilder(rollout_).mergeFrom(value).buildPartial(); } else { rollout_ = value; } @@ -8771,8 +7539,6 @@ public Builder mergeRollout( return this; } /** - * - * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -8784,9 +7550,7 @@ public Builder mergeRollout(
      * 3) OSPolicyAssignment is deleted.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRollout() { if (rolloutBuilder_ == null) { @@ -8800,8 +7564,6 @@ public Builder clearRollout() { return this; } /** - * - * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -8813,19 +7575,14 @@ public Builder clearRollout() {
      * 3) OSPolicyAssignment is deleted.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder - getRolloutBuilder() { - + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder getRolloutBuilder() { + onChanged(); return getRolloutFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -8837,23 +7594,17 @@ public Builder clearRollout() {
      * 3) OSPolicyAssignment is deleted.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder - getRolloutOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder getRolloutOrBuilder() { if (rolloutBuilder_ != null) { return rolloutBuilder_.getMessageOrBuilder(); } else { - return rollout_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.getDefaultInstance() : rollout_; } } /** - * - * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -8865,22 +7616,17 @@ public Builder clearRollout() {
      * 3) OSPolicyAssignment is deleted.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder> getRolloutFieldBuilder() { if (rolloutBuilder_ == null) { - rolloutBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder>( - getRollout(), getParentForChildren(), isClean()); + rolloutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder>( + getRollout(), + getParentForChildren(), + isClean()); rollout_ = null; } return rolloutBuilder_; @@ -8888,8 +7634,6 @@ public Builder clearRollout() { private java.lang.Object revisionId_ = ""; /** - * - * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -8897,13 +7641,13 @@ public Builder clearRollout() {
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The revisionId. */ public java.lang.String getRevisionId() { java.lang.Object ref = revisionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; @@ -8912,8 +7656,6 @@ public java.lang.String getRevisionId() { } } /** - * - * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -8921,14 +7663,15 @@ public java.lang.String getRevisionId() {
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for revisionId. */ - public com.google.protobuf.ByteString getRevisionIdBytes() { + public com.google.protobuf.ByteString + getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); revisionId_ = b; return b; } else { @@ -8936,8 +7679,6 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { } } /** - * - * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -8945,22 +7686,20 @@ public com.google.protobuf.ByteString getRevisionIdBytes() {
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionId(java.lang.String value) { + public Builder setRevisionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + revisionId_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -8968,18 +7707,15 @@ public Builder setRevisionId(java.lang.String value) {
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRevisionId() { - + revisionId_ = getDefaultInstance().getRevisionId(); onChanged(); return this; } /** - * - * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -8987,16 +7723,16 @@ public Builder clearRevisionId() {
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { + public Builder setRevisionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + revisionId_ = value; onChanged(); return this; @@ -9004,58 +7740,39 @@ public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp revisionCreateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - revisionCreateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> revisionCreateTimeBuilder_; /** - * - * *
      * Output only. The timestamp that the revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionCreateTime field is set. */ public boolean hasRevisionCreateTime() { return revisionCreateTimeBuilder_ != null || revisionCreateTime_ != null; } /** - * - * *
      * Output only. The timestamp that the revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionCreateTime. */ public com.google.protobuf.Timestamp getRevisionCreateTime() { if (revisionCreateTimeBuilder_ == null) { - return revisionCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionCreateTime_; + return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; } else { return revisionCreateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The timestamp that the revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { @@ -9071,17 +7788,14 @@ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp that the revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRevisionCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (revisionCreateTimeBuilder_ == null) { revisionCreateTime_ = builderForValue.build(); onChanged(); @@ -9092,23 +7806,17 @@ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder build return this; } /** - * - * *
      * Output only. The timestamp that the revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { if (revisionCreateTime_ != null) { revisionCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_).mergeFrom(value).buildPartial(); } else { revisionCreateTime_ = value; } @@ -9120,15 +7828,11 @@ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp that the revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearRevisionCreateTime() { if (revisionCreateTimeBuilder_ == null) { @@ -9142,64 +7846,48 @@ public Builder clearRevisionCreateTime() { return this; } /** - * - * *
      * Output only. The timestamp that the revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder() { - + onChanged(); return getRevisionCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The timestamp that the revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { if (revisionCreateTimeBuilder_ != null) { return revisionCreateTimeBuilder_.getMessageOrBuilder(); } else { - return revisionCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionCreateTime_; + return revisionCreateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; } } /** - * - * *
      * Output only. The timestamp that the revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRevisionCreateTimeFieldBuilder() { if (revisionCreateTimeBuilder_ == null) { - revisionCreateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRevisionCreateTime(), getParentForChildren(), isClean()); + revisionCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRevisionCreateTime(), + getParentForChildren(), + isClean()); revisionCreateTime_ = null; } return revisionCreateTimeBuilder_; @@ -9207,21 +7895,19 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** - * - * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -9230,22 +7916,21 @@ public java.lang.String getEtag() { } } /** - * - * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -9253,64 +7938,57 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; @@ -9318,112 +7996,80 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { private int rolloutState_ = 0; /** - * - * *
      * Output only. OS policy assignment rollout state
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for rolloutState. */ - @java.lang.Override - public int getRolloutStateValue() { + @java.lang.Override public int getRolloutStateValue() { return rolloutState_; } /** - * - * *
      * Output only. OS policy assignment rollout state
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for rolloutState to set. * @return This builder for chaining. */ public Builder setRolloutStateValue(int value) { - + rolloutState_ = value; onChanged(); return this; } /** - * - * *
      * Output only. OS policy assignment rollout state
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The rolloutState. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState getRolloutState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState result = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.valueOf(rolloutState_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.valueOf(rolloutState_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.UNRECOGNIZED : result; } /** - * - * *
      * Output only. OS policy assignment rollout state
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The rolloutState to set. * @return This builder for chaining. */ - public Builder setRolloutState( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState value) { + public Builder setRolloutState(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState value) { if (value == null) { throw new NullPointerException(); } - + rolloutState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. OS policy assignment rollout state
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearRolloutState() { - + rolloutState_ = 0; onChanged(); return this; } - private boolean baseline_; + private boolean baseline_ ; /** - * - * *
      * Output only. Indicates that this revision has been successfully rolled out in this zone
      * and new VMs will be assigned OS policies from this revision.
@@ -9432,7 +8078,6 @@ public Builder clearRolloutState() {
      * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The baseline. */ @java.lang.Override @@ -9440,8 +8085,6 @@ public boolean getBaseline() { return baseline_; } /** - * - * *
      * Output only. Indicates that this revision has been successfully rolled out in this zone
      * and new VMs will be assigned OS policies from this revision.
@@ -9450,19 +8093,16 @@ public boolean getBaseline() {
      * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The baseline to set. * @return This builder for chaining. */ public Builder setBaseline(boolean value) { - + baseline_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Indicates that this revision has been successfully rolled out in this zone
      * and new VMs will be assigned OS policies from this revision.
@@ -9471,26 +8111,22 @@ public Builder setBaseline(boolean value) {
      * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearBaseline() { - + baseline_ = false; onChanged(); return this; } - private boolean deleted_; + private boolean deleted_ ; /** - * - * *
      * Output only. Indicates that this revision deletes the OS policy assignment.
      * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The deleted. */ @java.lang.Override @@ -9498,45 +8134,37 @@ public boolean getDeleted() { return deleted_; } /** - * - * *
      * Output only. Indicates that this revision deletes the OS policy assignment.
      * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The deleted to set. * @return This builder for chaining. */ public Builder setDeleted(boolean value) { - + deleted_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Indicates that this revision deletes the OS policy assignment.
      * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDeleted() { - + deleted_ = false; onChanged(); return this; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. Indicates that reconciliation is in progress for the revision.
      * This value is `true` when the `rollout_state` is one of:
@@ -9545,7 +8173,6 @@ public Builder clearDeleted() {
      * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -9553,8 +8180,6 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. Indicates that reconciliation is in progress for the revision.
      * This value is `true` when the `rollout_state` is one of:
@@ -9563,19 +8188,16 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ public Builder setReconciling(boolean value) { - + reconciling_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Indicates that reconciliation is in progress for the revision.
      * This value is `true` when the `rollout_state` is one of:
@@ -9584,11 +8206,10 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { - + reconciling_ = false; onChanged(); return this; @@ -9596,20 +8217,18 @@ public Builder clearReconciling() { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. Server generated unique id for the OS policy assignment resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -9618,21 +8237,20 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. Server generated unique id for the OS policy assignment resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -9640,68 +8258,61 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. Server generated unique id for the OS policy assignment resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { + public Builder setUid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Server generated unique id for the OS policy assignment resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { - + uid_ = getDefaultInstance().getUid(); onChanged(); return this; } /** - * - * *
      * Output only. Server generated unique id for the OS policy assignment resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { + public Builder setUidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9711,12 +8322,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment) private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignment DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment(); } @@ -9725,16 +8336,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyAssignment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyAssignment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyAssignment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyAssignment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9749,4 +8360,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentName.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentName.java similarity index 100% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentName.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentName.java diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadata.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadata.java similarity index 65% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadata.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadata.java index b69ae32e..08eb6eee 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadata.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadata.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * OS policy assignment operation metadata provided by OS policy assignment API
  * methods that return long running operations.
@@ -28,18 +11,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata}
  */
-public final class OSPolicyAssignmentOperationMetadata
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OSPolicyAssignmentOperationMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata)
     OSPolicyAssignmentOperationMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OSPolicyAssignmentOperationMetadata.newBuilder() to construct.
-  private OSPolicyAssignmentOperationMetadata(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private OSPolicyAssignmentOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OSPolicyAssignmentOperationMetadata() {
     osPolicyAssignment_ = "";
     apiMethod_ = 0;
@@ -48,15 +28,16 @@ private OSPolicyAssignmentOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OSPolicyAssignmentOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OSPolicyAssignmentOperationMetadata(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,64 +56,57 @@ private OSPolicyAssignmentOperationMetadata(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              osPolicyAssignment_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            osPolicyAssignment_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              apiMethod_ = rawValue;
-              break;
-            }
-          case 24:
-            {
-              int rawValue = input.readEnum();
+            apiMethod_ = rawValue;
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
 
-              rolloutState_ = rawValue;
-              break;
+            rolloutState_ = rawValue;
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (rolloutStartTime_ != null) {
+              subBuilder = rolloutStartTime_.toBuilder();
             }
-          case 34:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (rolloutStartTime_ != null) {
-                subBuilder = rolloutStartTime_.toBuilder();
-              }
-              rolloutStartTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rolloutStartTime_);
-                rolloutStartTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            rolloutStartTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(rolloutStartTime_);
+              rolloutStartTime_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (rolloutUpdateTime_ != null) {
-                subBuilder = rolloutUpdateTime_.toBuilder();
-              }
-              rolloutUpdateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rolloutUpdateTime_);
-                rolloutUpdateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (rolloutUpdateTime_ != null) {
+              subBuilder = rolloutUpdateTime_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            rolloutUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(rolloutUpdateTime_);
+              rolloutUpdateTime_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -140,42 +114,36 @@ private OSPolicyAssignmentOperationMetadata(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-        .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-        .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.class,
-            com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.Builder.class);
+            com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The OS policy assignment API method.
    * 
* - * Protobuf enum {@code - * google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod} + * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod} */ - public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { + public enum APIMethod + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Invalid value
      * 
@@ -184,8 +152,6 @@ public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { */ API_METHOD_UNSPECIFIED(0), /** - * - * *
      * Create OS policy assignment API method
      * 
@@ -194,8 +160,6 @@ public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { */ CREATE(1), /** - * - * *
      * Update OS policy assignment API method
      * 
@@ -204,8 +168,6 @@ public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { */ UPDATE(2), /** - * - * *
      * Delete OS policy assignment API method
      * 
@@ -217,8 +179,6 @@ public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Invalid value
      * 
@@ -227,8 +187,6 @@ public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int API_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Create OS policy assignment API method
      * 
@@ -237,8 +195,6 @@ public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATE_VALUE = 1; /** - * - * *
      * Update OS policy assignment API method
      * 
@@ -247,8 +203,6 @@ public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATE_VALUE = 2; /** - * - * *
      * Delete OS policy assignment API method
      * 
@@ -257,6 +211,7 @@ public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -281,53 +236,50 @@ public static APIMethod valueOf(int value) { */ public static APIMethod forNumber(int value) { switch (value) { - case 0: - return API_METHOD_UNSPECIFIED; - case 1: - return CREATE; - case 2: - return UPDATE; - case 3: - return DELETE; - default: - return null; + case 0: return API_METHOD_UNSPECIFIED; + case 1: return CREATE; + case 2: return UPDATE; + case 3: return DELETE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + APIMethod> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public APIMethod findValueByNumber(int number) { + return APIMethod.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public APIMethod findValueByNumber(int number) { - return APIMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.getDescriptor().getEnumTypes().get(0); } private static final APIMethod[] VALUES = values(); - public static APIMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static APIMethod valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -345,19 +297,15 @@ private APIMethod(int value) { } /** - * - * *
    * State of the rollout
    * 
* - * Protobuf enum {@code - * google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState} + * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState} */ - public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { + public enum RolloutState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Invalid value
      * 
@@ -366,8 +314,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ ROLLOUT_STATE_UNSPECIFIED(0), /** - * - * *
      * The rollout is in progress.
      * 
@@ -376,8 +322,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ IN_PROGRESS(1), /** - * - * *
      * The rollout is being cancelled.
      * 
@@ -386,8 +330,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLING(2), /** - * - * *
      * The rollout is cancelled.
      * 
@@ -396,8 +338,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLED(3), /** - * - * *
      * The rollout has completed successfully.
      * 
@@ -409,8 +349,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Invalid value
      * 
@@ -419,8 +357,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROLLOUT_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The rollout is in progress.
      * 
@@ -429,8 +365,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IN_PROGRESS_VALUE = 1; /** - * - * *
      * The rollout is being cancelled.
      * 
@@ -439,8 +373,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLING_VALUE = 2; /** - * - * *
      * The rollout is cancelled.
      * 
@@ -449,8 +381,6 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 3; /** - * - * *
      * The rollout has completed successfully.
      * 
@@ -459,6 +389,7 @@ public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -483,55 +414,51 @@ public static RolloutState valueOf(int value) { */ public static RolloutState forNumber(int value) { switch (value) { - case 0: - return ROLLOUT_STATE_UNSPECIFIED; - case 1: - return IN_PROGRESS; - case 2: - return CANCELLING; - case 3: - return CANCELLED; - case 4: - return SUCCEEDED; - default: - return null; + case 0: return ROLLOUT_STATE_UNSPECIFIED; + case 1: return IN_PROGRESS; + case 2: return CANCELLING; + case 3: return CANCELLED; + case 4: return SUCCEEDED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + RolloutState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RolloutState findValueByNumber(int number) { + return RolloutState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RolloutState findValueByNumber(int number) { - return RolloutState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.getDescriptor().getEnumTypes().get(1); } private static final RolloutState[] VALUES = values(); - public static RolloutState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RolloutState valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -551,8 +478,6 @@ private RolloutState(int value) { public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER = 1; private volatile java.lang.Object osPolicyAssignment_; /** - * - * *
    * Reference to the `OSPolicyAssignment` API resource.
    * Format:
@@ -560,7 +485,6 @@ private RolloutState(int value) {
    * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } - * * @return The osPolicyAssignment. */ @java.lang.Override @@ -569,15 +493,14 @@ public java.lang.String getOsPolicyAssignment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; } } /** - * - * *
    * Reference to the `OSPolicyAssignment` API resource.
    * Format:
@@ -585,15 +508,16 @@ public java.lang.String getOsPolicyAssignment() {
    * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for osPolicyAssignment. */ @java.lang.Override - public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString + getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -604,104 +528,65 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { public static final int API_METHOD_FIELD_NUMBER = 2; private int apiMethod_; /** - * - * *
    * The OS policy assignment API method.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; * @return The enum numeric value on the wire for apiMethod. */ - @java.lang.Override - public int getApiMethodValue() { + @java.lang.Override public int getApiMethodValue() { return apiMethod_; } /** - * - * *
    * The OS policy assignment API method.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; * @return The apiMethod. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod - getApiMethod() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod getApiMethod() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod result = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod.valueOf( - apiMethod_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod - .UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod.valueOf(apiMethod_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod.UNRECOGNIZED : result; } public static final int ROLLOUT_STATE_FIELD_NUMBER = 3; private int rolloutState_; /** - * - * *
    * State of the rollout
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; * @return The enum numeric value on the wire for rolloutState. */ - @java.lang.Override - public int getRolloutStateValue() { + @java.lang.Override public int getRolloutStateValue() { return rolloutState_; } /** - * - * *
    * State of the rollout
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; * @return The rolloutState. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState - getRolloutState() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState getRolloutState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState result = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState.valueOf( - rolloutState_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState - .UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState.valueOf(rolloutState_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState.UNRECOGNIZED : result; } public static final int ROLLOUT_START_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp rolloutStartTime_; /** - * - * *
    * Rollout start time
    * 
* * .google.protobuf.Timestamp rollout_start_time = 4; - * * @return Whether the rolloutStartTime field is set. */ @java.lang.Override @@ -709,25 +594,18 @@ public boolean hasRolloutStartTime() { return rolloutStartTime_ != null; } /** - * - * *
    * Rollout start time
    * 
* * .google.protobuf.Timestamp rollout_start_time = 4; - * * @return The rolloutStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRolloutStartTime() { - return rolloutStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : rolloutStartTime_; + return rolloutStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rolloutStartTime_; } /** - * - * *
    * Rollout start time
    * 
@@ -742,14 +620,11 @@ public com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder() { public static final int ROLLOUT_UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp rolloutUpdateTime_; /** - * - * *
    * Rollout update time
    * 
* * .google.protobuf.Timestamp rollout_update_time = 5; - * * @return Whether the rolloutUpdateTime field is set. */ @java.lang.Override @@ -757,25 +632,18 @@ public boolean hasRolloutUpdateTime() { return rolloutUpdateTime_ != null; } /** - * - * *
    * Rollout update time
    * 
* * .google.protobuf.Timestamp rollout_update_time = 5; - * * @return The rolloutUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRolloutUpdateTime() { - return rolloutUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : rolloutUpdateTime_; + return rolloutUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rolloutUpdateTime_; } /** - * - * *
    * Rollout update time
    * 
@@ -788,7 +656,6 @@ public com.google.protobuf.TimestampOrBuilder getRolloutUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -800,20 +667,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyAssignment_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osPolicyAssignment_); } - if (apiMethod_ - != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod - .API_METHOD_UNSPECIFIED - .getNumber()) { + if (apiMethod_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod.API_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(2, apiMethod_); } - if (rolloutState_ - != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState - .ROLLOUT_STATE_UNSPECIFIED - .getNumber()) { + if (rolloutState_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState.ROLLOUT_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, rolloutState_); } if (rolloutStartTime_ != null) { @@ -834,23 +696,21 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyAssignment_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, osPolicyAssignment_); } - if (apiMethod_ - != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod - .API_METHOD_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, apiMethod_); + if (apiMethod_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod.API_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, apiMethod_); } - if (rolloutState_ - != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState - .ROLLOUT_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, rolloutState_); + if (rolloutState_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState.ROLLOUT_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, rolloutState_); } if (rolloutStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRolloutStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getRolloutStartTime()); } if (rolloutUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRolloutUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getRolloutUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -860,24 +720,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata other = - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata) obj; - if (!getOsPolicyAssignment().equals(other.getOsPolicyAssignment())) return false; + if (!getOsPolicyAssignment() + .equals(other.getOsPolicyAssignment())) return false; if (apiMethod_ != other.apiMethod_) return false; if (rolloutState_ != other.rolloutState_) return false; if (hasRolloutStartTime() != other.hasRolloutStartTime()) return false; if (hasRolloutStartTime()) { - if (!getRolloutStartTime().equals(other.getRolloutStartTime())) return false; + if (!getRolloutStartTime() + .equals(other.getRolloutStartTime())) return false; } if (hasRolloutUpdateTime() != other.hasRolloutUpdateTime()) return false; if (hasRolloutUpdateTime()) { - if (!getRolloutUpdateTime().equals(other.getRolloutUpdateTime())) return false; + if (!getRolloutUpdateTime() + .equals(other.getRolloutUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -910,105 +772,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata 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.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata - 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.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata 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.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * OS policy assignment operation metadata provided by OS policy assignment API
    * methods that return long running operations.
@@ -1016,40 +869,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata)
       com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.class,
-              com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.Builder.class);
+              com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.newBuilder()
+    // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1075,16 +926,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
-          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata
-        getDefaultInstanceForType() {
-      return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata
-          .getDefaultInstance();
+    public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata getDefaultInstanceForType() {
+      return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -1098,8 +947,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata bui
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata buildPartial() {
-      com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata result =
-          new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata(this);
+      com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata(this);
       result.osPolicyAssignment_ = osPolicyAssignment_;
       result.apiMethod_ = apiMethod_;
       result.rolloutState_ = rolloutState_;
@@ -1121,51 +969,46 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata bui
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata) {
-        return mergeFrom(
-            (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata) other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata other) {
-      if (other
-          == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata other) {
+      if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.getDefaultInstance()) return this;
       if (!other.getOsPolicyAssignment().isEmpty()) {
         osPolicyAssignment_ = other.osPolicyAssignment_;
         onChanged();
@@ -1201,9 +1044,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1215,8 +1056,6 @@ public Builder mergeFrom(
 
     private java.lang.Object osPolicyAssignment_ = "";
     /**
-     *
-     *
      * 
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1224,13 +1063,13 @@ public Builder mergeFrom(
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } - * * @return The osPolicyAssignment. */ public java.lang.String getOsPolicyAssignment() { java.lang.Object ref = osPolicyAssignment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; @@ -1239,8 +1078,6 @@ public java.lang.String getOsPolicyAssignment() { } } /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1248,14 +1085,15 @@ public java.lang.String getOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for osPolicyAssignment. */ - public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString + getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -1263,8 +1101,6 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { } } /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1272,22 +1108,20 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() {
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } - * * @param value The osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignment(java.lang.String value) { + public Builder setOsPolicyAssignment( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyAssignment_ = value; onChanged(); return this; } /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1295,18 +1129,15 @@ public Builder setOsPolicyAssignment(java.lang.String value) {
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearOsPolicyAssignment() { - + osPolicyAssignment_ = getDefaultInstance().getOsPolicyAssignment(); onChanged(); return this; } /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1314,16 +1145,16 @@ public Builder clearOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignmentBytes(com.google.protobuf.ByteString value) { + public Builder setOsPolicyAssignmentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyAssignment_ = value; onChanged(); return this; @@ -1331,106 +1162,73 @@ public Builder setOsPolicyAssignmentBytes(com.google.protobuf.ByteString value) private int apiMethod_ = 0; /** - * - * *
      * The OS policy assignment API method.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; * @return The enum numeric value on the wire for apiMethod. */ - @java.lang.Override - public int getApiMethodValue() { + @java.lang.Override public int getApiMethodValue() { return apiMethod_; } /** - * - * *
      * The OS policy assignment API method.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; * @param value The enum numeric value on the wire for apiMethod to set. * @return This builder for chaining. */ public Builder setApiMethodValue(int value) { - + apiMethod_ = value; onChanged(); return this; } /** - * - * *
      * The OS policy assignment API method.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; * @return The apiMethod. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod - getApiMethod() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod getApiMethod() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod result = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod.valueOf( - apiMethod_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod - .UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod.valueOf(apiMethod_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod.UNRECOGNIZED : result; } /** - * - * *
      * The OS policy assignment API method.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; * @param value The apiMethod to set. * @return This builder for chaining. */ - public Builder setApiMethod( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod value) { + public Builder setApiMethod(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod value) { if (value == null) { throw new NullPointerException(); } - + apiMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The OS policy assignment API method.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; * @return This builder for chaining. */ public Builder clearApiMethod() { - + apiMethod_ = 0; onChanged(); return this; @@ -1438,106 +1236,73 @@ public Builder clearApiMethod() { private int rolloutState_ = 0; /** - * - * *
      * State of the rollout
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; * @return The enum numeric value on the wire for rolloutState. */ - @java.lang.Override - public int getRolloutStateValue() { + @java.lang.Override public int getRolloutStateValue() { return rolloutState_; } /** - * - * *
      * State of the rollout
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; * @param value The enum numeric value on the wire for rolloutState to set. * @return This builder for chaining. */ public Builder setRolloutStateValue(int value) { - + rolloutState_ = value; onChanged(); return this; } /** - * - * *
      * State of the rollout
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; * @return The rolloutState. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState - getRolloutState() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState getRolloutState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState result = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState - .valueOf(rolloutState_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState - .UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState.valueOf(rolloutState_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState.UNRECOGNIZED : result; } /** - * - * *
      * State of the rollout
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; * @param value The rolloutState to set. * @return This builder for chaining. */ - public Builder setRolloutState( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState value) { + public Builder setRolloutState(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState value) { if (value == null) { throw new NullPointerException(); } - + rolloutState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * State of the rollout
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; * @return This builder for chaining. */ public Builder clearRolloutState() { - + rolloutState_ = 0; onChanged(); return this; @@ -1545,47 +1310,34 @@ public Builder clearRolloutState() { private com.google.protobuf.Timestamp rolloutStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - rolloutStartTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> rolloutStartTimeBuilder_; /** - * - * *
      * Rollout start time
      * 
* * .google.protobuf.Timestamp rollout_start_time = 4; - * * @return Whether the rolloutStartTime field is set. */ public boolean hasRolloutStartTime() { return rolloutStartTimeBuilder_ != null || rolloutStartTime_ != null; } /** - * - * *
      * Rollout start time
      * 
* * .google.protobuf.Timestamp rollout_start_time = 4; - * * @return The rolloutStartTime. */ public com.google.protobuf.Timestamp getRolloutStartTime() { if (rolloutStartTimeBuilder_ == null) { - return rolloutStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : rolloutStartTime_; + return rolloutStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rolloutStartTime_; } else { return rolloutStartTimeBuilder_.getMessage(); } } /** - * - * *
      * Rollout start time
      * 
@@ -1606,15 +1358,14 @@ public Builder setRolloutStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Rollout start time
      * 
* * .google.protobuf.Timestamp rollout_start_time = 4; */ - public Builder setRolloutStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRolloutStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (rolloutStartTimeBuilder_ == null) { rolloutStartTime_ = builderForValue.build(); onChanged(); @@ -1625,8 +1376,6 @@ public Builder setRolloutStartTime(com.google.protobuf.Timestamp.Builder builder return this; } /** - * - * *
      * Rollout start time
      * 
@@ -1637,9 +1386,7 @@ public Builder mergeRolloutStartTime(com.google.protobuf.Timestamp value) { if (rolloutStartTimeBuilder_ == null) { if (rolloutStartTime_ != null) { rolloutStartTime_ = - com.google.protobuf.Timestamp.newBuilder(rolloutStartTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(rolloutStartTime_).mergeFrom(value).buildPartial(); } else { rolloutStartTime_ = value; } @@ -1651,8 +1398,6 @@ public Builder mergeRolloutStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Rollout start time
      * 
@@ -1671,8 +1416,6 @@ public Builder clearRolloutStartTime() { return this; } /** - * - * *
      * Rollout start time
      * 
@@ -1680,13 +1423,11 @@ public Builder clearRolloutStartTime() { * .google.protobuf.Timestamp rollout_start_time = 4; */ public com.google.protobuf.Timestamp.Builder getRolloutStartTimeBuilder() { - + onChanged(); return getRolloutStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Rollout start time
      * 
@@ -1697,14 +1438,11 @@ public com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder() { if (rolloutStartTimeBuilder_ != null) { return rolloutStartTimeBuilder_.getMessageOrBuilder(); } else { - return rolloutStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : rolloutStartTime_; + return rolloutStartTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : rolloutStartTime_; } } /** - * - * *
      * Rollout start time
      * 
@@ -1712,17 +1450,14 @@ public com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder() { * .google.protobuf.Timestamp rollout_start_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRolloutStartTimeFieldBuilder() { if (rolloutStartTimeBuilder_ == null) { - rolloutStartTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRolloutStartTime(), getParentForChildren(), isClean()); + rolloutStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRolloutStartTime(), + getParentForChildren(), + isClean()); rolloutStartTime_ = null; } return rolloutStartTimeBuilder_; @@ -1730,47 +1465,34 @@ public com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder() { private com.google.protobuf.Timestamp rolloutUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - rolloutUpdateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> rolloutUpdateTimeBuilder_; /** - * - * *
      * Rollout update time
      * 
* * .google.protobuf.Timestamp rollout_update_time = 5; - * * @return Whether the rolloutUpdateTime field is set. */ public boolean hasRolloutUpdateTime() { return rolloutUpdateTimeBuilder_ != null || rolloutUpdateTime_ != null; } /** - * - * *
      * Rollout update time
      * 
* * .google.protobuf.Timestamp rollout_update_time = 5; - * * @return The rolloutUpdateTime. */ public com.google.protobuf.Timestamp getRolloutUpdateTime() { if (rolloutUpdateTimeBuilder_ == null) { - return rolloutUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : rolloutUpdateTime_; + return rolloutUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rolloutUpdateTime_; } else { return rolloutUpdateTimeBuilder_.getMessage(); } } /** - * - * *
      * Rollout update time
      * 
@@ -1791,15 +1513,14 @@ public Builder setRolloutUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Rollout update time
      * 
* * .google.protobuf.Timestamp rollout_update_time = 5; */ - public Builder setRolloutUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRolloutUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (rolloutUpdateTimeBuilder_ == null) { rolloutUpdateTime_ = builderForValue.build(); onChanged(); @@ -1810,8 +1531,6 @@ public Builder setRolloutUpdateTime(com.google.protobuf.Timestamp.Builder builde return this; } /** - * - * *
      * Rollout update time
      * 
@@ -1822,9 +1541,7 @@ public Builder mergeRolloutUpdateTime(com.google.protobuf.Timestamp value) { if (rolloutUpdateTimeBuilder_ == null) { if (rolloutUpdateTime_ != null) { rolloutUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(rolloutUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(rolloutUpdateTime_).mergeFrom(value).buildPartial(); } else { rolloutUpdateTime_ = value; } @@ -1836,8 +1553,6 @@ public Builder mergeRolloutUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Rollout update time
      * 
@@ -1856,8 +1571,6 @@ public Builder clearRolloutUpdateTime() { return this; } /** - * - * *
      * Rollout update time
      * 
@@ -1865,13 +1578,11 @@ public Builder clearRolloutUpdateTime() { * .google.protobuf.Timestamp rollout_update_time = 5; */ public com.google.protobuf.Timestamp.Builder getRolloutUpdateTimeBuilder() { - + onChanged(); return getRolloutUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Rollout update time
      * 
@@ -1882,14 +1593,11 @@ public com.google.protobuf.TimestampOrBuilder getRolloutUpdateTimeOrBuilder() { if (rolloutUpdateTimeBuilder_ != null) { return rolloutUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return rolloutUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : rolloutUpdateTime_; + return rolloutUpdateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : rolloutUpdateTime_; } } /** - * - * *
      * Rollout update time
      * 
@@ -1897,24 +1605,21 @@ public com.google.protobuf.TimestampOrBuilder getRolloutUpdateTimeOrBuilder() { * .google.protobuf.Timestamp rollout_update_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRolloutUpdateTimeFieldBuilder() { if (rolloutUpdateTimeBuilder_ == null) { - rolloutUpdateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRolloutUpdateTime(), getParentForChildren(), isClean()); + rolloutUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRolloutUpdateTime(), + getParentForChildren(), + isClean()); rolloutUpdateTime_ = null; } return rolloutUpdateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1924,32 +1629,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyAssignmentOperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyAssignmentOperationMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyAssignmentOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyAssignmentOperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1961,8 +1664,9 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadataOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadataOrBuilder.java similarity index 68% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadataOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadataOrBuilder.java index 6b6e7536..b9978eb4 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadataOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; -public interface OSPolicyAssignmentOperationMetadataOrBuilder - extends +public interface OSPolicyAssignmentOperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Reference to the `OSPolicyAssignment` API resource.
    * Format:
@@ -33,13 +15,10 @@ public interface OSPolicyAssignmentOperationMetadataOrBuilder
    * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } - * * @return The osPolicyAssignment. */ java.lang.String getOsPolicyAssignment(); /** - * - * *
    * Reference to the `OSPolicyAssignment` API resource.
    * Format:
@@ -47,97 +26,68 @@ public interface OSPolicyAssignmentOperationMetadataOrBuilder
    * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for osPolicyAssignment. */ - com.google.protobuf.ByteString getOsPolicyAssignmentBytes(); + com.google.protobuf.ByteString + getOsPolicyAssignmentBytes(); /** - * - * *
    * The OS policy assignment API method.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; * @return The enum numeric value on the wire for apiMethod. */ int getApiMethodValue(); /** - * - * *
    * The OS policy assignment API method.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; * @return The apiMethod. */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod getApiMethod(); /** - * - * *
    * State of the rollout
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; * @return The enum numeric value on the wire for rolloutState. */ int getRolloutStateValue(); /** - * - * *
    * State of the rollout
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; * @return The rolloutState. */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState - getRolloutState(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState getRolloutState(); /** - * - * *
    * Rollout start time
    * 
* * .google.protobuf.Timestamp rollout_start_time = 4; - * * @return Whether the rolloutStartTime field is set. */ boolean hasRolloutStartTime(); /** - * - * *
    * Rollout start time
    * 
* * .google.protobuf.Timestamp rollout_start_time = 4; - * * @return The rolloutStartTime. */ com.google.protobuf.Timestamp getRolloutStartTime(); /** - * - * *
    * Rollout start time
    * 
@@ -147,32 +97,24 @@ public interface OSPolicyAssignmentOperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder(); /** - * - * *
    * Rollout update time
    * 
* * .google.protobuf.Timestamp rollout_update_time = 5; - * * @return Whether the rolloutUpdateTime field is set. */ boolean hasRolloutUpdateTime(); /** - * - * *
    * Rollout update time
    * 
* * .google.protobuf.Timestamp rollout_update_time = 5; - * * @return The rolloutUpdateTime. */ com.google.protobuf.Timestamp getRolloutUpdateTime(); /** - * - * *
    * Rollout update time
    * 
diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOrBuilder.java similarity index 67% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOrBuilder.java index 9ceb0d21..9b5fdb5e 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; -public interface OSPolicyAssignmentOrBuilder - extends +public interface OSPolicyAssignmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignment) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name.
    * Format:
@@ -34,13 +16,10 @@ public interface OSPolicyAssignmentOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource name.
    * Format:
@@ -49,145 +28,105 @@ public interface OSPolicyAssignmentOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * OS policy assignment description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * OS policy assignment description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getOsPoliciesList(); + java.util.List + getOsPoliciesList(); /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1alpha.OSPolicy getOsPolicies(int index); /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ int getOsPoliciesCount(); /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getOsPoliciesOrBuilderList(); /** - * - * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilder(int index); + com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilder( + int index); /** - * - * *
    * Required. Filter to select VMs.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceFilter field is set. */ boolean hasInstanceFilter(); /** - * - * *
    * Required. Filter to select VMs.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceFilter. */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter getInstanceFilter(); /** - * - * *
    * Required. Filter to select VMs.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder - getInstanceFilterOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder getInstanceFilterOrBuilder(); /** - * - * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -199,16 +138,11 @@ public interface OSPolicyAssignmentOrBuilder
    * 3) OSPolicyAssignment is deleted.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the rollout field is set. */ boolean hasRollout(); /** - * - * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -220,16 +154,11 @@ public interface OSPolicyAssignmentOrBuilder
    * 3) OSPolicyAssignment is deleted.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The rollout. */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout getRollout(); /** - * - * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -241,15 +170,11 @@ public interface OSPolicyAssignmentOrBuilder
    * 3) OSPolicyAssignment is deleted.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder getRolloutOrBuilder(); /** - * - * *
    * Output only. The assignment revision ID
    * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -257,13 +182,10 @@ public interface OSPolicyAssignmentOrBuilder
    * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The revisionId. */ java.lang.String getRevisionId(); /** - * - * *
    * Output only. The assignment revision ID
    * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -271,111 +193,80 @@ public interface OSPolicyAssignmentOrBuilder
    * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for revisionId. */ - com.google.protobuf.ByteString getRevisionIdBytes(); + com.google.protobuf.ByteString + getRevisionIdBytes(); /** - * - * *
    * Output only. The timestamp that the revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionCreateTime field is set. */ boolean hasRevisionCreateTime(); /** - * - * *
    * Output only. The timestamp that the revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionCreateTime. */ com.google.protobuf.Timestamp getRevisionCreateTime(); /** - * - * *
    * Output only. The timestamp that the revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder(); /** - * - * *
    * The etag for this OS policy assignment.
    * If this is provided on update, it must match the server's etag.
    * 
* * string etag = 8; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * The etag for this OS policy assignment.
    * If this is provided on update, it must match the server's etag.
    * 
* * string etag = 8; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Output only. OS policy assignment rollout state
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for rolloutState. */ int getRolloutStateValue(); /** - * - * *
    * Output only. OS policy assignment rollout state
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The rolloutState. */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState getRolloutState(); /** - * - * *
    * Output only. Indicates that this revision has been successfully rolled out in this zone
    * and new VMs will be assigned OS policies from this revision.
@@ -384,27 +275,21 @@ public interface OSPolicyAssignmentOrBuilder
    * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The baseline. */ boolean getBaseline(); /** - * - * *
    * Output only. Indicates that this revision deletes the OS policy assignment.
    * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The deleted. */ boolean getDeleted(); /** - * - * *
    * Output only. Indicates that reconciliation is in progress for the revision.
    * This value is `true` when the `rollout_state` is one of:
@@ -413,33 +298,27 @@ public interface OSPolicyAssignmentOrBuilder
    * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Output only. Server generated unique id for the OS policy assignment resource.
    * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. Server generated unique id for the OS policy assignment resource.
    * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReport.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReport.java similarity index 62% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReport.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReport.java index d547850d..c3ff8044 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReport.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReport.java @@ -1,42 +1,24 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * A report of the OS policy assignment status for a given instance.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport} */ -public final class OSPolicyAssignmentReport extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OSPolicyAssignmentReport extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) OSPolicyAssignmentReportOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OSPolicyAssignmentReport.newBuilder() to construct. private OSPolicyAssignmentReport(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OSPolicyAssignmentReport() { name_ = ""; instance_ = ""; @@ -47,15 +29,16 @@ private OSPolicyAssignmentReport() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OSPolicyAssignmentReport(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OSPolicyAssignmentReport( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,72 +58,59 @@ private OSPolicyAssignmentReport( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - instance_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + instance_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyAssignment_ = s; - break; + osPolicyAssignment_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + osPolicyCompliances_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyCompliances_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyCompliance>(); - mutable_bitField0_ |= 0x00000001; - } - osPolicyCompliances_.add( - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .parser(), - extensionRegistry)); - break; + osPolicyCompliances_.add( + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.parser(), extensionRegistry)); + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - lastRunId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + lastRunId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -148,7 +118,8 @@ private OSPolicyAssignmentReport( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { osPolicyCompliances_ = java.util.Collections.unmodifiableList(osPolicyCompliances_); @@ -157,85 +128,63 @@ private OSPolicyAssignmentReport( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.class, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder.class); } - public interface OSPolicyComplianceOrBuilder - extends + public interface OSPolicyComplianceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The OS policy id
      * 
* * string os_policy_id = 1; - * * @return The osPolicyId. */ java.lang.String getOsPolicyId(); /** - * - * *
      * The OS policy id
      * 
* * string os_policy_id = 1; - * * @return The bytes for osPolicyId. */ - com.google.protobuf.ByteString getOsPolicyIdBytes(); + com.google.protobuf.ByteString + getOsPolicyIdBytes(); /** - * - * *
      * The compliance state of the OS policy.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; * @return The enum numeric value on the wire for complianceState. */ int getComplianceStateValue(); /** - * - * *
      * The compliance state of the OS policy.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; * @return The complianceState. */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState - getComplianceState(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState getComplianceState(); /** - * - * *
      * The reason for the OS policy to be in an unknown compliance state.
      * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -258,13 +207,10 @@ public interface OSPolicyComplianceOrBuilder
      * 
* * string compliance_state_reason = 3; - * * @return The complianceStateReason. */ java.lang.String getComplianceStateReason(); /** - * - * *
      * The reason for the OS policy to be in an unknown compliance state.
      * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -287,107 +233,76 @@ public interface OSPolicyComplianceOrBuilder
      * 
* * string compliance_state_reason = 3; - * * @return The bytes for complianceStateReason. */ - com.google.protobuf.ByteString getComplianceStateReasonBytes(); + com.google.protobuf.ByteString + getComplianceStateReasonBytes(); /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance> + java.util.List getOsPolicyResourceCompliancesList(); /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - getOsPolicyResourceCompliances(int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index); /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ int getOsPolicyResourceCompliancesCount(); /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder> + java.util.List getOsPolicyResourceCompliancesOrBuilderList(); /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder - getOsPolicyResourceCompliancesOrBuilder(int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder( + int index); } /** - * - * *
    * Compliance data for an OS policy
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance} */ - public static final class OSPolicyCompliance extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class OSPolicyCompliance extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) OSPolicyComplianceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSPolicyCompliance.newBuilder() to construct. private OSPolicyCompliance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OSPolicyCompliance() { osPolicyId_ = ""; complianceState_ = 0; @@ -397,15 +312,16 @@ private OSPolicyCompliance() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OSPolicyCompliance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OSPolicyCompliance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -425,50 +341,40 @@ private OSPolicyCompliance( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyId_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + osPolicyId_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - complianceState_ = rawValue; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + complianceState_ = rawValue; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - complianceStateReason_ = s; - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyCompliance.OSPolicyResourceCompliance>(); - mutable_bitField0_ |= 0x00000001; - } - osPolicyResourceCompliances_.add( - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyCompliance.OSPolicyResourceCompliance.parser(), - extensionRegistry)); - break; + complianceStateReason_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + osPolicyResourceCompliances_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + osPolicyResourceCompliances_.add( + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -476,47 +382,39 @@ private OSPolicyCompliance( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = - java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); + osPolicyResourceCompliances_ = java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.class, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder - .class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder.class); } /** - * - * *
      * Possible compliance states for an os policy.
      * 
* - * Protobuf enum {@code - * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState} + * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState} */ - public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum { + public enum ComplianceState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * The policy is in an unknown compliance state.
        * Refer to the field `compliance_state_reason` to learn the exact reason
@@ -527,8 +425,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum {
        */
       UNKNOWN(0),
       /**
-       *
-       *
        * 
        * Policy is compliant.
        * The policy is compliant if all the underlying resources are also
@@ -539,8 +435,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum {
        */
       COMPLIANT(1),
       /**
-       *
-       *
        * 
        * Policy is non-compliant.
        * The policy is non-compliant if one or more underlying resources are
@@ -554,8 +448,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * The policy is in an unknown compliance state.
        * Refer to the field `compliance_state_reason` to learn the exact reason
@@ -566,8 +458,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int UNKNOWN_VALUE = 0;
       /**
-       *
-       *
        * 
        * Policy is compliant.
        * The policy is compliant if all the underlying resources are also
@@ -578,8 +468,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int COMPLIANT_VALUE = 1;
       /**
-       *
-       *
        * 
        * Policy is non-compliant.
        * The policy is non-compliant if one or more underlying resources are
@@ -590,6 +478,7 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int NON_COMPLIANT_VALUE = 2;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -614,14 +503,10 @@ public static ComplianceState valueOf(int value) {
        */
       public static ComplianceState forNumber(int value) {
         switch (value) {
-          case 0:
-            return UNKNOWN;
-          case 1:
-            return COMPLIANT;
-          case 2:
-            return NON_COMPLIANT;
-          default:
-            return null;
+          case 0: return UNKNOWN;
+          case 1: return COMPLIANT;
+          case 2: return NON_COMPLIANT;
+          default: return null;
         }
       }
 
@@ -629,32 +514,29 @@ public static ComplianceState forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          ComplianceState> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ComplianceState findValueByNumber(int number) {
+                return ComplianceState.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap
-          internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public ComplianceState findValueByNumber(int number) {
-                  return ComplianceState.forNumber(number);
-                }
-              };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance
-            .getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final ComplianceState[] VALUES = values();
@@ -662,7 +544,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
       public static ComplianceState valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -679,147 +562,99 @@ private ComplianceState(int value) {
       // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState)
     }
 
-    public interface OSPolicyResourceComplianceOrBuilder
-        extends
+    public interface OSPolicyResourceComplianceOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * The ID of the OS policy resource.
        * 
* * string os_policy_resource_id = 1; - * * @return The osPolicyResourceId. */ java.lang.String getOsPolicyResourceId(); /** - * - * *
        * The ID of the OS policy resource.
        * 
* * string os_policy_resource_id = 1; - * * @return The bytes for osPolicyResourceId. */ - com.google.protobuf.ByteString getOsPolicyResourceIdBytes(); + com.google.protobuf.ByteString + getOsPolicyResourceIdBytes(); /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> + java.util.List getConfigStepsList(); /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - getConfigSteps(int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getConfigSteps(int index); /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ int getConfigStepsCount(); /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> + java.util.List getConfigStepsOrBuilderList(); /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder - getConfigStepsOrBuilder(int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder( + int index); /** - * - * *
        * The compliance state of the resource.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; * @return The enum numeric value on the wire for complianceState. */ int getComplianceStateValue(); /** - * - * *
        * The compliance state of the resource.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; * @return The complianceState. */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState - getComplianceState(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState getComplianceState(); /** - * - * *
        * A reason for the resource to be in the given compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -836,13 +671,10 @@ public interface OSPolicyResourceComplianceOrBuilder
        * 
* * string compliance_state_reason = 4; - * * @return The complianceStateReason. */ java.lang.String getComplianceStateReason(); /** - * - * *
        * A reason for the resource to be in the given compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -859,82 +691,56 @@ public interface OSPolicyResourceComplianceOrBuilder
        * 
* * string compliance_state_reason = 4; - * * @return The bytes for complianceStateReason. */ - com.google.protobuf.ByteString getComplianceStateReasonBytes(); + com.google.protobuf.ByteString + getComplianceStateReasonBytes(); /** - * - * *
        * ExecResource specific output.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; * @return Whether the execResourceOutput field is set. */ boolean hasExecResourceOutput(); /** - * - * *
        * ExecResource specific output.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; * @return The execResourceOutput. */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - getExecResourceOutput(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput(); /** - * - * *
        * ExecResource specific output.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder - getExecResourceOutputOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder(); - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OutputCase - getOutputCase(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OutputCase getOutputCase(); } /** - * - * *
      * Compliance data for an OS policy resource.
      * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance} */ - public static final class OSPolicyResourceCompliance - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class OSPolicyResourceCompliance extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) OSPolicyResourceComplianceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSPolicyResourceCompliance.newBuilder() to construct. - private OSPolicyResourceCompliance( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private OSPolicyResourceCompliance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OSPolicyResourceCompliance() { osPolicyResourceId_ = ""; configSteps_ = java.util.Collections.emptyList(); @@ -944,15 +750,16 @@ private OSPolicyResourceCompliance() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OSPolicyResourceCompliance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OSPolicyResourceCompliance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -972,81 +779,54 @@ private OSPolicyResourceCompliance( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyResourceId_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - configSteps_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyCompliance.OSPolicyResourceCompliance - .OSPolicyResourceConfigStep>(); - mutable_bitField0_ |= 0x00000001; - } - configSteps_.add( - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyCompliance.OSPolicyResourceCompliance - .OSPolicyResourceConfigStep.parser(), - extensionRegistry)); - break; + osPolicyResourceId_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + configSteps_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { - int rawValue = input.readEnum(); + configSteps_.add( + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.parser(), extensionRegistry)); + break; + } + case 24: { + int rawValue = input.readEnum(); - complianceState_ = rawValue; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + complianceState_ = rawValue; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - complianceStateReason_ = s; - break; + complianceStateReason_ = s; + break; + } + case 42: { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder subBuilder = null; + if (outputCase_ == 5) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_).toBuilder(); } - case 42: - { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.Builder - subBuilder = null; - if (outputCase_ == 5) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyCompliance.OSPolicyResourceCompliance - .ExecResourceOutput) - output_) - .toBuilder(); - } - output_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) - output_); - output_ = subBuilder.buildPartial(); - } - outputCase_ = 5; - break; + output_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_); + output_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + outputCase_ = 5; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1054,8 +834,8 @@ private OSPolicyResourceCompliance( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { configSteps_ = java.util.Collections.unmodifiableList(configSteps_); @@ -1064,38 +844,29 @@ private OSPolicyResourceCompliance( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.class, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder.class); } /** - * - * *
        * Possible compliance states for a resource.
        * 
* - * Protobuf enum {@code - * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState} + * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState} */ - public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum { + public enum ComplianceState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * The resource is in an unknown compliance state.
          * To get more details about why the policy is in this state, review
@@ -1106,8 +877,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum {
          */
         UNKNOWN(0),
         /**
-         *
-         *
          * 
          * Resource is compliant.
          * 
@@ -1116,8 +885,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum { */ COMPLIANT(1), /** - * - * *
          * Resource is non-compliant.
          * 
@@ -1129,8 +896,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
          * The resource is in an unknown compliance state.
          * To get more details about why the policy is in this state, review
@@ -1141,8 +906,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum {
          */
         public static final int UNKNOWN_VALUE = 0;
         /**
-         *
-         *
          * 
          * Resource is compliant.
          * 
@@ -1151,8 +914,6 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPLIANT_VALUE = 1; /** - * - * *
          * Resource is non-compliant.
          * 
@@ -1161,6 +922,7 @@ public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NON_COMPLIANT_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1185,14 +947,10 @@ public static ComplianceState valueOf(int value) { */ public static ComplianceState forNumber(int value) { switch (value) { - case 0: - return UNKNOWN; - case 1: - return COMPLIANT; - case 2: - return NON_COMPLIANT; - default: - return null; + case 0: return UNKNOWN; + case 1: return COMPLIANT; + case 2: return NON_COMPLIANT; + default: return null; } } @@ -1200,32 +958,29 @@ public static ComplianceState forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ComplianceState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ComplianceState findValueByNumber(int number) { + return ComplianceState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ComplianceState findValueByNumber(int number) { - return ComplianceState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDescriptor().getEnumTypes().get(0); } private static final ComplianceState[] VALUES = values(); @@ -1234,7 +989,7 @@ public static ComplianceState valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -1251,92 +1006,68 @@ private ComplianceState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState) } - public interface OSPolicyResourceConfigStepOrBuilder - extends + public interface OSPolicyResourceConfigStepOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Configuration step type.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
          * Configuration step type.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; * @return The type. */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type - getType(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type getType(); /** - * - * *
          * An error message recorded during the execution of this step.
          * Only populated if errors were encountered during this step execution.
          * 
* * string error_message = 2; - * * @return The errorMessage. */ java.lang.String getErrorMessage(); /** - * - * *
          * An error message recorded during the execution of this step.
          * Only populated if errors were encountered during this step execution.
          * 
* * string error_message = 2; - * * @return The bytes for errorMessage. */ - com.google.protobuf.ByteString getErrorMessageBytes(); + com.google.protobuf.ByteString + getErrorMessageBytes(); } /** - * - * *
        * Step performed by the OS Config agent for configuring an
        * `OSPolicy` resource to its desired state.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep} */ - public static final class OSPolicyResourceConfigStep - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class OSPolicyResourceConfigStep extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) OSPolicyResourceConfigStepOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSPolicyResourceConfigStep.newBuilder() to construct. - private OSPolicyResourceConfigStep( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private OSPolicyResourceConfigStep(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OSPolicyResourceConfigStep() { type_ = 0; errorMessage_ = ""; @@ -1344,15 +1075,16 @@ private OSPolicyResourceConfigStep() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OSPolicyResourceConfigStep(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OSPolicyResourceConfigStep( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1371,27 +1103,25 @@ private OSPolicyResourceConfigStep( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + type_ = rawValue; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - errorMessage_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errorMessage_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1399,45 +1129,36 @@ private OSPolicyResourceConfigStep( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.class, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder.class); } /** - * - * *
          * Supported configuration step types
          * 
* - * Protobuf enum {@code - * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type} + * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
            * Default value. This value is unused.
            * 
@@ -1446,8 +1167,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
            * Checks for resource conflicts such as schema errors.
            * 
@@ -1456,8 +1175,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ VALIDATION(1), /** - * - * *
            * Checks the current status of the desired state for a resource.
            * 
@@ -1466,8 +1183,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DESIRED_STATE_CHECK(2), /** - * - * *
            * Enforces the desired state for a resource that is not in desired
            * state.
@@ -1477,8 +1192,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
            */
           DESIRED_STATE_ENFORCEMENT(3),
           /**
-           *
-           *
            * 
            * Re-checks the status of the desired state. This check is done
            * for a resource after the enforcement of all OS policies.
@@ -1495,8 +1208,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
           ;
 
           /**
-           *
-           *
            * 
            * Default value. This value is unused.
            * 
@@ -1505,8 +1216,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
            * Checks for resource conflicts such as schema errors.
            * 
@@ -1515,8 +1224,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VALIDATION_VALUE = 1; /** - * - * *
            * Checks the current status of the desired state for a resource.
            * 
@@ -1525,8 +1232,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DESIRED_STATE_CHECK_VALUE = 2; /** - * - * *
            * Enforces the desired state for a resource that is not in desired
            * state.
@@ -1536,8 +1241,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
            */
           public static final int DESIRED_STATE_ENFORCEMENT_VALUE = 3;
           /**
-           *
-           *
            * 
            * Re-checks the status of the desired state. This check is done
            * for a resource after the enforcement of all OS policies.
@@ -1551,6 +1254,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
            */
           public static final int DESIRED_STATE_CHECK_POST_ENFORCEMENT_VALUE = 4;
 
+
           public final int getNumber() {
             if (this == UNRECOGNIZED) {
               throw new java.lang.IllegalArgumentException(
@@ -1575,57 +1279,51 @@ public static Type valueOf(int value) {
            */
           public static Type forNumber(int value) {
             switch (value) {
-              case 0:
-                return TYPE_UNSPECIFIED;
-              case 1:
-                return VALIDATION;
-              case 2:
-                return DESIRED_STATE_CHECK;
-              case 3:
-                return DESIRED_STATE_ENFORCEMENT;
-              case 4:
-                return DESIRED_STATE_CHECK_POST_ENFORCEMENT;
-              default:
-                return null;
+              case 0: return TYPE_UNSPECIFIED;
+              case 1: return VALIDATION;
+              case 2: return DESIRED_STATE_CHECK;
+              case 3: return DESIRED_STATE_ENFORCEMENT;
+              case 4: return DESIRED_STATE_CHECK_POST_ENFORCEMENT;
+              default: return null;
             }
           }
 
-          public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+          public static com.google.protobuf.Internal.EnumLiteMap
+              internalGetValueMap() {
             return internalValueMap;
           }
+          private static final com.google.protobuf.Internal.EnumLiteMap<
+              Type> internalValueMap =
+                new com.google.protobuf.Internal.EnumLiteMap() {
+                  public Type findValueByNumber(int number) {
+                    return Type.forNumber(number);
+                  }
+                };
 
-          private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public Type findValueByNumber(int number) {
-                  return Type.forNumber(number);
-                }
-              };
-
-          public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+          public final com.google.protobuf.Descriptors.EnumValueDescriptor
+              getValueDescriptor() {
             if (this == UNRECOGNIZED) {
               throw new java.lang.IllegalStateException(
                   "Can't get the descriptor of an unrecognized enum value.");
             }
             return getDescriptor().getValues().get(ordinal());
           }
-
-          public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+          public final com.google.protobuf.Descriptors.EnumDescriptor
+              getDescriptorForType() {
             return getDescriptor();
           }
-
-          public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-            return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance
-                .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDescriptor()
-                .getEnumTypes()
-                .get(0);
+          public static final com.google.protobuf.Descriptors.EnumDescriptor
+              getDescriptor() {
+            return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDescriptor().getEnumTypes().get(0);
           }
 
           private static final Type[] VALUES = values();
 
-          public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+          public static Type valueOf(
+              com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
             if (desc.getType() != getDescriptor()) {
               throw new java.lang.IllegalArgumentException(
-                  "EnumValueDescriptor is not for this type.");
+                "EnumValueDescriptor is not for this type.");
             }
             if (desc.getIndex() == -1) {
               return UNRECOGNIZED;
@@ -1645,63 +1343,39 @@ private Type(int value) {
         public static final int TYPE_FIELD_NUMBER = 1;
         private int type_;
         /**
-         *
-         *
          * 
          * Configuration step type.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
          * Configuration step type.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; * @return The type. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type - getType() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type - result = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.valueOf(type_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.valueOf(type_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.UNRECOGNIZED : result; } public static final int ERROR_MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object errorMessage_; /** - * - * *
          * An error message recorded during the execution of this step.
          * Only populated if errors were encountered during this step execution.
          * 
* * string error_message = 2; - * * @return The errorMessage. */ @java.lang.Override @@ -1710,30 +1384,30 @@ public java.lang.String getErrorMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } } /** - * - * *
          * An error message recorded during the execution of this step.
          * Only populated if errors were encountered during this step execution.
          * 
* * string error_message = 2; - * * @return The bytes for errorMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getErrorMessageBytes() { + public com.google.protobuf.ByteString + getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -1742,7 +1416,6 @@ public com.google.protobuf.ByteString getErrorMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1755,11 +1428,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ - != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED - .getNumber()) { + throws java.io.IOException { + if (type_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { @@ -1774,11 +1444,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMessage_); @@ -1791,23 +1459,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - other = - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep) - obj; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) obj; if (type_ != other.type_) return false; - if (!getErrorMessage().equals(other.getErrorMessage())) return false; + if (!getErrorMessage() + .equals(other.getErrorMessage())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1828,119 +1489,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1950,54 +1580,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Step performed by the OS Config agent for configuring an
          * `OSPolicy` resource to its desired state.
          * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.class, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2009,26 +1630,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - build() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep build() { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2036,15 +1650,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - result = - new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep( - this); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep(this); result.type_ = type_; result.errorMessage_ = errorMessage_; onBuilt(); @@ -2055,61 +1662,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep) - other); + if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -2132,16 +1724,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2153,111 +1740,73 @@ public Builder mergeFrom( private int type_ = 0; /** - * - * *
            * Configuration step type.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
            * Configuration step type.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
            * Configuration step type.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; * @return The type. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type - getType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type - result = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.valueOf(type_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.valueOf(type_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.UNRECOGNIZED : result; } /** - * - * *
            * Configuration step type.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type - value) { + public Builder setType(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
            * Configuration step type.
            * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -2265,21 +1814,19 @@ public Builder clearType() { private java.lang.Object errorMessage_ = ""; /** - * - * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; - * * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; @@ -2288,22 +1835,21 @@ public java.lang.String getErrorMessage() { } } /** - * - * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; - * * @return The bytes for errorMessage. */ - public com.google.protobuf.ByteString getErrorMessageBytes() { + public com.google.protobuf.ByteString + getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -2311,69 +1857,61 @@ public com.google.protobuf.ByteString getErrorMessageBytes() { } } /** - * - * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; - * * @param value The errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessage(java.lang.String value) { + public Builder setErrorMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorMessage_ = value; onChanged(); return this; } /** - * - * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; - * * @return This builder for chaining. */ public Builder clearErrorMessage() { - + errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** - * - * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; - * * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { + public Builder setErrorMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorMessage_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2386,36 +1924,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyResourceConfigStep parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyResourceConfigStep(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyResourceConfigStep parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyResourceConfigStep(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2427,67 +1959,59 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ExecResourceOutputOrBuilder - extends + public interface ExecResourceOutputOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Output from enforcement phase output file (if run).
          * Output size is limited to 100K bytes.
          * 
* * bytes enforcement_output = 2; - * * @return The enforcementOutput. */ com.google.protobuf.ByteString getEnforcementOutput(); } /** - * - * *
        * ExecResource specific output.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput} */ - public static final class ExecResourceOutput extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ExecResourceOutput extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) ExecResourceOutputOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecResourceOutput.newBuilder() to construct. private ExecResourceOutput(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExecResourceOutput() { enforcementOutput_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExecResourceOutput(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExecResourceOutput( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2506,18 +2030,18 @@ private ExecResourceOutput( case 0: done = true; break; - case 18: - { - enforcementOutput_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 18: { + + enforcementOutput_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2525,43 +2049,35 @@ private ExecResourceOutput( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.class, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); } public static final int ENFORCEMENT_OUTPUT_FIELD_NUMBER = 2; private com.google.protobuf.ByteString enforcementOutput_; /** - * - * *
          * Output from enforcement phase output file (if run).
          * Output size is limited to 100K bytes.
          * 
* * bytes enforcement_output = 2; - * * @return The enforcementOutput. */ @java.lang.Override @@ -2570,7 +2086,6 @@ public com.google.protobuf.ByteString getEnforcementOutput() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2583,7 +2098,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!enforcementOutput_.isEmpty()) { output.writeBytes(2, enforcementOutput_); } @@ -2597,7 +2112,8 @@ public int getSerializedSize() { size = 0; if (!enforcementOutput_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, enforcementOutput_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, enforcementOutput_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2607,22 +2123,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - other = - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - obj; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) obj; - if (!getEnforcementOutput().equals(other.getEnforcementOutput())) return false; + if (!getEnforcementOutput() + .equals(other.getEnforcementOutput())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2641,119 +2150,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2763,53 +2241,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * ExecResource specific output.
          * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.class, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2819,26 +2288,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - build() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput build() { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2846,14 +2308,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - result = - new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput(this); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput(this); result.enforcementOutput_ = enforcementOutput_; onBuilt(); return result; @@ -2863,61 +2319,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - other); + if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) return this; if (other.getEnforcementOutput() != com.google.protobuf.ByteString.EMPTY) { setEnforcementOutput(other.getEnforcementOutput()); } @@ -2936,16 +2377,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2955,18 +2391,14 @@ public Builder mergeFrom( return this; } - private com.google.protobuf.ByteString enforcementOutput_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString enforcementOutput_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
            * Output from enforcement phase output file (if run).
            * Output size is limited to 100K bytes.
            * 
* * bytes enforcement_output = 2; - * * @return The enforcementOutput. */ @java.lang.Override @@ -2974,46 +2406,39 @@ public com.google.protobuf.ByteString getEnforcementOutput() { return enforcementOutput_; } /** - * - * *
            * Output from enforcement phase output file (if run).
            * Output size is limited to 100K bytes.
            * 
* * bytes enforcement_output = 2; - * * @param value The enforcementOutput to set. * @return This builder for chaining. */ public Builder setEnforcementOutput(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + enforcementOutput_ = value; onChanged(); return this; } /** - * - * *
            * Output from enforcement phase output file (if run).
            * Output size is limited to 100K bytes.
            * 
* * bytes enforcement_output = 2; - * * @return This builder for chaining. */ public Builder clearEnforcementOutput() { - + enforcementOutput_ = getDefaultInstance().getEnforcementOutput(); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3026,36 +2451,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecResourceOutput parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecResourceOutput(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecResourceOutput parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecResourceOutput(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3067,24 +2486,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int outputCase_ = 0; private java.lang.Object output_; - public enum OutputCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { EXEC_RESOURCE_OUTPUT(5), OUTPUT_NOT_SET(0); private final int value; - private OutputCase(int value) { this.value = value; } @@ -3100,35 +2515,30 @@ public static OutputCase valueOf(int value) { public static OutputCase forNumber(int value) { switch (value) { - case 5: - return EXEC_RESOURCE_OUTPUT; - case 0: - return OUTPUT_NOT_SET; - default: - return null; + case 5: return EXEC_RESOURCE_OUTPUT; + case 0: return OUTPUT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OutputCase getOutputCase() { - return OutputCase.forNumber(outputCase_); + public OutputCase + getOutputCase() { + return OutputCase.forNumber( + outputCase_); } public static final int OS_POLICY_RESOURCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object osPolicyResourceId_; /** - * - * *
        * The ID of the OS policy resource.
        * 
* * string os_policy_resource_id = 1; - * * @return The osPolicyResourceId. */ @java.lang.Override @@ -3137,29 +2547,29 @@ public java.lang.String getOsPolicyResourceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyResourceId_ = s; return s; } } /** - * - * *
        * The ID of the OS policy resource.
        * 
* * string os_policy_resource_id = 1; - * * @return The bytes for osPolicyResourceId. */ @java.lang.Override - public com.google.protobuf.ByteString getOsPolicyResourceIdBytes() { + public com.google.protobuf.ByteString + getOsPolicyResourceIdBytes() { java.lang.Object ref = osPolicyResourceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyResourceId_ = b; return b; } else { @@ -3168,155 +2578,100 @@ public com.google.protobuf.ByteString getOsPolicyResourceIdBytes() { } public static final int CONFIG_STEPS_FIELD_NUMBER = 2; - private java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> - configSteps_; + private java.util.List configSteps_; /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ @java.lang.Override - public java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> - getConfigStepsList() { + public java.util.List getConfigStepsList() { return configSteps_; } /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> + public java.util.List getConfigStepsOrBuilderList() { return configSteps_; } /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ @java.lang.Override public int getConfigStepsCount() { return configSteps_.size(); } /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - getConfigSteps(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getConfigSteps(int index) { return configSteps_.get(index); } /** - * - * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder - getConfigStepsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder( + int index) { return configSteps_.get(index); } public static final int COMPLIANCE_STATE_FIELD_NUMBER = 3; private int complianceState_; /** - * - * *
        * The compliance state of the resource.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; * @return The enum numeric value on the wire for complianceState. */ - @java.lang.Override - public int getComplianceStateValue() { + @java.lang.Override public int getComplianceStateValue() { return complianceState_; } /** - * - * *
        * The compliance state of the resource.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; * @return The complianceState. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState - getComplianceState() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState getComplianceState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState - result = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState.valueOf(complianceState_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.valueOf(complianceState_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.UNRECOGNIZED : result; } public static final int COMPLIANCE_STATE_REASON_FIELD_NUMBER = 4; private volatile java.lang.Object complianceStateReason_; /** - * - * *
        * A reason for the resource to be in the given compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -3333,7 +2688,6 @@ public int getComplianceStateValue() {
        * 
* * string compliance_state_reason = 4; - * * @return The complianceStateReason. */ @java.lang.Override @@ -3342,15 +2696,14 @@ public java.lang.String getComplianceStateReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); complianceStateReason_ = s; return s; } } /** - * - * *
        * A reason for the resource to be in the given compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -3367,15 +2720,16 @@ public java.lang.String getComplianceStateReason() {
        * 
* * string compliance_state_reason = 4; - * * @return The bytes for complianceStateReason. */ @java.lang.Override - public com.google.protobuf.ByteString getComplianceStateReasonBytes() { + public com.google.protobuf.ByteString + getComplianceStateReasonBytes() { java.lang.Object ref = complianceStateReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); complianceStateReason_ = b; return b; } else { @@ -3385,16 +2739,11 @@ public com.google.protobuf.ByteString getComplianceStateReasonBytes() { public static final int EXEC_RESOURCE_OUTPUT_FIELD_NUMBER = 5; /** - * - * *
        * ExecResource specific output.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; * @return Whether the execResourceOutput field is set. */ @java.lang.Override @@ -3402,56 +2751,36 @@ public boolean hasExecResourceOutput() { return outputCase_ == 5; } /** - * - * *
        * ExecResource specific output.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; * @return The execResourceOutput. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - getExecResourceOutput() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput() { if (outputCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - output_; + return (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_; } - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } /** - * - * *
        * ExecResource specific output.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder - getExecResourceOutputOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder() { if (outputCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - output_; + return (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_; } - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3463,28 +2792,22 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyResourceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osPolicyResourceId_); } for (int i = 0; i < configSteps_.size(); i++) { output.writeMessage(2, configSteps_.get(i)); } - if (complianceState_ - != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState.UNKNOWN - .getNumber()) { + if (complianceState_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.UNKNOWN.getNumber()) { output.writeEnum(3, complianceState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(complianceStateReason_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, complianceStateReason_); } if (outputCase_ == 5) { - output.writeMessage( - 5, - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - output_); + output.writeMessage(5, (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_); } unknownFields.writeTo(output); } @@ -3499,25 +2822,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, osPolicyResourceId_); } for (int i = 0; i < configSteps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, configSteps_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, configSteps_.get(i)); } - if (complianceState_ - != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState.UNKNOWN - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, complianceState_); + if (complianceState_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.UNKNOWN.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, complianceState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(complianceStateReason_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(4, complianceStateReason_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, complianceStateReason_); } if (outputCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - output_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3527,29 +2844,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - other = - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance) - obj; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) obj; - if (!getOsPolicyResourceId().equals(other.getOsPolicyResourceId())) return false; - if (!getConfigStepsList().equals(other.getConfigStepsList())) return false; + if (!getOsPolicyResourceId() + .equals(other.getOsPolicyResourceId())) return false; + if (!getConfigStepsList() + .equals(other.getConfigStepsList())) return false; if (complianceState_ != other.complianceState_) return false; - if (!getComplianceStateReason().equals(other.getComplianceStateReason())) return false; + if (!getComplianceStateReason() + .equals(other.getComplianceStateReason())) return false; if (!getOutputCase().equals(other.getOutputCase())) return false; switch (outputCase_) { case 5: - if (!getExecResourceOutput().equals(other.getExecResourceOutput())) return false; + if (!getExecResourceOutput() + .equals(other.getExecResourceOutput())) return false; break; case 0: default: @@ -3588,117 +2901,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3708,55 +2992,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Compliance data for an OS policy resource.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.class, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getConfigStepsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3778,26 +3052,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - build() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance build() { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3805,14 +3072,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - result = - new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance(this); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance(this); int from_bitField0_ = bitField0_; result.osPolicyResourceId_ = osPolicyResourceId_; if (configStepsBuilder_ == null) { @@ -3842,60 +3103,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance) - other); + if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDefaultInstance()) return this; if (!other.getOsPolicyResourceId().isEmpty()) { osPolicyResourceId_ = other.osPolicyResourceId_; onChanged(); @@ -3918,10 +3165,9 @@ public Builder mergeFrom( configStepsBuilder_ = null; configSteps_ = other.configSteps_; bitField0_ = (bitField0_ & ~0x00000001); - configStepsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getConfigStepsFieldBuilder() - : null; + configStepsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getConfigStepsFieldBuilder() : null; } else { configStepsBuilder_.addAllMessages(other.configSteps_); } @@ -3935,15 +3181,13 @@ public Builder mergeFrom( onChanged(); } switch (other.getOutputCase()) { - case EXEC_RESOURCE_OUTPUT: - { - mergeExecResourceOutput(other.getExecResourceOutput()); - break; - } - case OUTPUT_NOT_SET: - { - break; - } + case EXEC_RESOURCE_OUTPUT: { + mergeExecResourceOutput(other.getExecResourceOutput()); + break; + } + case OUTPUT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -3960,16 +3204,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3978,12 +3217,12 @@ public Builder mergeFrom( } return this; } - private int outputCase_ = 0; private java.lang.Object output_; - - public OutputCase getOutputCase() { - return OutputCase.forNumber(outputCase_); + public OutputCase + getOutputCase() { + return OutputCase.forNumber( + outputCase_); } public Builder clearOutput() { @@ -3997,20 +3236,18 @@ public Builder clearOutput() { private java.lang.Object osPolicyResourceId_ = ""; /** - * - * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; - * * @return The osPolicyResourceId. */ public java.lang.String getOsPolicyResourceId() { java.lang.Object ref = osPolicyResourceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyResourceId_ = s; return s; @@ -4019,21 +3256,20 @@ public java.lang.String getOsPolicyResourceId() { } } /** - * - * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; - * * @return The bytes for osPolicyResourceId. */ - public com.google.protobuf.ByteString getOsPolicyResourceIdBytes() { + public com.google.protobuf.ByteString + getOsPolicyResourceIdBytes() { java.lang.Object ref = osPolicyResourceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyResourceId_ = b; return b; } else { @@ -4041,106 +3277,80 @@ public com.google.protobuf.ByteString getOsPolicyResourceIdBytes() { } } /** - * - * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; - * * @param value The osPolicyResourceId to set. * @return This builder for chaining. */ - public Builder setOsPolicyResourceId(java.lang.String value) { + public Builder setOsPolicyResourceId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyResourceId_ = value; onChanged(); return this; } /** - * - * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; - * * @return This builder for chaining. */ public Builder clearOsPolicyResourceId() { - + osPolicyResourceId_ = getDefaultInstance().getOsPolicyResourceId(); onChanged(); return this; } /** - * - * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; - * * @param value The bytes for osPolicyResourceId to set. * @return This builder for chaining. */ - public Builder setOsPolicyResourceIdBytes(com.google.protobuf.ByteString value) { + public Builder setOsPolicyResourceIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyResourceId_ = value; onChanged(); return this; } - private java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> - configSteps_ = java.util.Collections.emptyList(); - + private java.util.List configSteps_ = + java.util.Collections.emptyList(); private void ensureConfigStepsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - configSteps_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep>(configSteps_); + configSteps_ = new java.util.ArrayList(configSteps_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> - configStepsBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> configStepsBuilder_; /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - public java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> - getConfigStepsList() { + public java.util.List getConfigStepsList() { if (configStepsBuilder_ == null) { return java.util.Collections.unmodifiableList(configSteps_); } else { @@ -4148,16 +3358,12 @@ private void ensureConfigStepsIsMutable() { } } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ public int getConfigStepsCount() { if (configStepsBuilder_ == null) { @@ -4167,20 +3373,14 @@ public int getConfigStepsCount() { } } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - getConfigSteps(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getConfigSteps(int index) { if (configStepsBuilder_ == null) { return configSteps_.get(index); } else { @@ -4188,22 +3388,15 @@ public int getConfigStepsCount() { } } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ public Builder setConfigSteps( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - value) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep value) { if (configStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4217,22 +3410,15 @@ public Builder setConfigSteps( return this; } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ public Builder setConfigSteps( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder builderForValue) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); configSteps_.set(index, builderForValue.build()); @@ -4243,21 +3429,14 @@ public Builder setConfigSteps( return this; } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - public Builder addConfigSteps( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - value) { + public Builder addConfigSteps(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep value) { if (configStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4271,22 +3450,15 @@ public Builder addConfigSteps( return this; } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ public Builder addConfigSteps( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep - value) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep value) { if (configStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4300,21 +3472,15 @@ public Builder addConfigSteps( return this; } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ public Builder addConfigSteps( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder builderForValue) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); configSteps_.add(builderForValue.build()); @@ -4325,22 +3491,15 @@ public Builder addConfigSteps( return this; } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ public Builder addConfigSteps( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder builderForValue) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); configSteps_.add(index, builderForValue.build()); @@ -4351,27 +3510,19 @@ public Builder addConfigSteps( return this; } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ public Builder addAllConfigSteps( - java.lang.Iterable< - ? extends - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyCompliance.OSPolicyResourceCompliance - .OSPolicyResourceConfigStep> - values) { + java.lang.Iterable values) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, configSteps_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, configSteps_); onChanged(); } else { configStepsBuilder_.addAllMessages(values); @@ -4379,16 +3530,12 @@ public Builder addAllConfigSteps( return this; } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ public Builder clearConfigSteps() { if (configStepsBuilder_ == null) { @@ -4401,16 +3548,12 @@ public Builder clearConfigSteps() { return this; } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ public Builder removeConfigSteps(int index) { if (configStepsBuilder_ == null) { @@ -4423,60 +3566,42 @@ public Builder removeConfigSteps(int index) { return this; } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder - getConfigStepsBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder getConfigStepsBuilder( + int index) { return getConfigStepsFieldBuilder().getBuilder(index); } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder - getConfigStepsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder( + int index) { if (configStepsBuilder_ == null) { - return configSteps_.get(index); - } else { + return configSteps_.get(index); } else { return configStepsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> - getConfigStepsOrBuilderList() { + public java.util.List + getConfigStepsOrBuilderList() { if (configStepsBuilder_ != null) { return configStepsBuilder_.getMessageOrBuilderList(); } else { @@ -4484,82 +3609,48 @@ public Builder removeConfigSteps(int index) { } } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder - addConfigStepsBuilder() { - return getConfigStepsFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder addConfigStepsBuilder() { + return getConfigStepsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()); } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder - addConfigStepsBuilder(int index) { - return getConfigStepsFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder addConfigStepsBuilder( + int index) { + return getConfigStepsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()); } /** - * - * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; */ - public java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder> - getConfigStepsBuilderList() { + public java.util.List + getConfigStepsBuilderList() { return getConfigStepsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> getConfigStepsFieldBuilder() { if (configStepsBuilder_ == null) { - configStepsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder>( + configStepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder>( configSteps_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -4571,111 +3662,73 @@ public Builder removeConfigSteps(int index) { private int complianceState_ = 0; /** - * - * *
          * The compliance state of the resource.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; * @return The enum numeric value on the wire for complianceState. */ - @java.lang.Override - public int getComplianceStateValue() { + @java.lang.Override public int getComplianceStateValue() { return complianceState_; } /** - * - * *
          * The compliance state of the resource.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; * @param value The enum numeric value on the wire for complianceState to set. * @return This builder for chaining. */ public Builder setComplianceStateValue(int value) { - + complianceState_ = value; onChanged(); return this; } /** - * - * *
          * The compliance state of the resource.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; * @return The complianceState. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState - getComplianceState() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState getComplianceState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState - result = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState.valueOf(complianceState_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.valueOf(complianceState_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.UNRECOGNIZED : result; } /** - * - * *
          * The compliance state of the resource.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; * @param value The complianceState to set. * @return This builder for chaining. */ - public Builder setComplianceState( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ComplianceState - value) { + public Builder setComplianceState(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState value) { if (value == null) { throw new NullPointerException(); } - + complianceState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
          * The compliance state of the resource.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; * @return This builder for chaining. */ public Builder clearComplianceState() { - + complianceState_ = 0; onChanged(); return this; @@ -4683,8 +3736,6 @@ public Builder clearComplianceState() { private java.lang.Object complianceStateReason_ = ""; /** - * - * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4701,13 +3752,13 @@ public Builder clearComplianceState() {
          * 
* * string compliance_state_reason = 4; - * * @return The complianceStateReason. */ public java.lang.String getComplianceStateReason() { java.lang.Object ref = complianceStateReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); complianceStateReason_ = s; return s; @@ -4716,8 +3767,6 @@ public java.lang.String getComplianceStateReason() { } } /** - * - * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4734,14 +3783,15 @@ public java.lang.String getComplianceStateReason() {
          * 
* * string compliance_state_reason = 4; - * * @return The bytes for complianceStateReason. */ - public com.google.protobuf.ByteString getComplianceStateReasonBytes() { + public com.google.protobuf.ByteString + getComplianceStateReasonBytes() { java.lang.Object ref = complianceStateReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); complianceStateReason_ = b; return b; } else { @@ -4749,8 +3799,6 @@ public com.google.protobuf.ByteString getComplianceStateReasonBytes() { } } /** - * - * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4767,22 +3815,20 @@ public com.google.protobuf.ByteString getComplianceStateReasonBytes() {
          * 
* * string compliance_state_reason = 4; - * * @param value The complianceStateReason to set. * @return This builder for chaining. */ - public Builder setComplianceStateReason(java.lang.String value) { + public Builder setComplianceStateReason( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + complianceStateReason_ = value; onChanged(); return this; } /** - * - * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4799,18 +3845,15 @@ public Builder setComplianceStateReason(java.lang.String value) {
          * 
* * string compliance_state_reason = 4; - * * @return This builder for chaining. */ public Builder clearComplianceStateReason() { - + complianceStateReason_ = getDefaultInstance().getComplianceStateReason(); onChanged(); return this; } /** - * - * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4827,40 +3870,29 @@ public Builder clearComplianceStateReason() {
          * 
* * string compliance_state_reason = 4; - * * @param value The bytes for complianceStateReason to set. * @return This builder for chaining. */ - public Builder setComplianceStateReasonBytes(com.google.protobuf.ByteString value) { + public Builder setComplianceStateReasonBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + complianceStateReason_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> - execResourceOutputBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> execResourceOutputBuilder_; /** - * - * *
          * ExecResource specific output.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; * @return Whether the execResourceOutput field is set. */ @java.lang.Override @@ -4868,53 +3900,35 @@ public boolean hasExecResourceOutput() { return outputCase_ == 5; } /** - * - * *
          * ExecResource specific output.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; * @return The execResourceOutput. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - getExecResourceOutput() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput() { if (execResourceOutputBuilder_ == null) { if (outputCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - output_; + return (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_; } - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } else { if (outputCase_ == 5) { return execResourceOutputBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } } /** - * - * *
          * ExecResource specific output.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; */ - public Builder setExecResourceOutput( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - value) { + public Builder setExecResourceOutput(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput value) { if (execResourceOutputBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4928,20 +3942,14 @@ public Builder setExecResourceOutput( return this; } /** - * - * *
          * ExecResource specific output.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; */ public Builder setExecResourceOutput( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder builderForValue) { if (execResourceOutputBuilder_ == null) { output_ = builderForValue.build(); onChanged(); @@ -4952,33 +3960,18 @@ public Builder setExecResourceOutput( return this; } /** - * - * *
          * ExecResource specific output.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; */ - public Builder mergeExecResourceOutput( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput - value) { + public Builder mergeExecResourceOutput(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput value) { if (execResourceOutputBuilder_ == null) { - if (outputCase_ == 5 - && output_ - != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) { - output_ = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) - output_) - .mergeFrom(value) - .buildPartial(); + if (outputCase_ == 5 && + output_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) { + output_ = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_) + .mergeFrom(value).buildPartial(); } else { output_ = value; } @@ -4994,15 +3987,11 @@ public Builder mergeExecResourceOutput( return this; } /** - * - * *
          * ExecResource specific output.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; */ public Builder clearExecResourceOutput() { if (execResourceOutputBuilder_ == null) { @@ -5021,94 +4010,58 @@ public Builder clearExecResourceOutput() { return this; } /** - * - * *
          * ExecResource specific output.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.Builder - getExecResourceOutputBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder getExecResourceOutputBuilder() { return getExecResourceOutputFieldBuilder().getBuilder(); } /** - * - * *
          * ExecResource specific output.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder - getExecResourceOutputOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder() { if ((outputCase_ == 5) && (execResourceOutputBuilder_ != null)) { return execResourceOutputBuilder_.getMessageOrBuilder(); } else { if (outputCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - output_; + return (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_; } - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } } /** - * - * *
          * ExecResource specific output.
          * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> getExecResourceOutputFieldBuilder() { if (execResourceOutputBuilder_ == null) { if (!(outputCase_ == 5)) { - output_ = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + output_ = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } - execResourceOutputBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.ExecResourceOutput) - output_, + execResourceOutputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_, getParentForChildren(), isClean()); output_ = null; } outputCase_ = 5; - onChanged(); - ; + onChanged();; return execResourceOutputBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5121,36 +4074,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyCompliance.OSPolicyResourceCompliance - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyResourceCompliance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyResourceCompliance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyResourceCompliance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyResourceCompliance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5162,24 +4109,20 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int OS_POLICY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object osPolicyId_; /** - * - * *
      * The OS policy id
      * 
* * string os_policy_id = 1; - * * @return The osPolicyId. */ @java.lang.Override @@ -5188,29 +4131,29 @@ public java.lang.String getOsPolicyId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyId_ = s; return s; } } /** - * - * *
      * The OS policy id
      * 
* * string os_policy_id = 1; - * * @return The bytes for osPolicyId. */ @java.lang.Override - public com.google.protobuf.ByteString getOsPolicyIdBytes() { + public com.google.protobuf.ByteString + getOsPolicyIdBytes() { java.lang.Object ref = osPolicyId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyId_ = b; return b; } else { @@ -5221,55 +4164,33 @@ public com.google.protobuf.ByteString getOsPolicyIdBytes() { public static final int COMPLIANCE_STATE_FIELD_NUMBER = 2; private int complianceState_; /** - * - * *
      * The compliance state of the OS policy.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; * @return The enum numeric value on the wire for complianceState. */ - @java.lang.Override - public int getComplianceStateValue() { + @java.lang.Override public int getComplianceStateValue() { return complianceState_; } /** - * - * *
      * The compliance state of the OS policy.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; * @return The complianceState. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .ComplianceState - getComplianceState() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState getComplianceState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState - result = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .ComplianceState.valueOf(complianceState_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .ComplianceState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.valueOf(complianceState_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.UNRECOGNIZED : result; } public static final int COMPLIANCE_STATE_REASON_FIELD_NUMBER = 3; private volatile java.lang.Object complianceStateReason_; /** - * - * *
      * The reason for the OS policy to be in an unknown compliance state.
      * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -5292,7 +4213,6 @@ public int getComplianceStateValue() {
      * 
* * string compliance_state_reason = 3; - * * @return The complianceStateReason. */ @java.lang.Override @@ -5301,15 +4221,14 @@ public java.lang.String getComplianceStateReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); complianceStateReason_ = s; return s; } } /** - * - * *
      * The reason for the OS policy to be in an unknown compliance state.
      * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -5332,15 +4251,16 @@ public java.lang.String getComplianceStateReason() {
      * 
* * string compliance_state_reason = 3; - * * @return The bytes for complianceStateReason. */ @java.lang.Override - public com.google.protobuf.ByteString getComplianceStateReasonBytes() { + public com.google.protobuf.ByteString + getComplianceStateReasonBytes() { java.lang.Object ref = complianceStateReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); complianceStateReason_ = b; return b; } else { @@ -5349,104 +4269,71 @@ public com.google.protobuf.ByteString getComplianceStateReasonBytes() { } public static final int OS_POLICY_RESOURCE_COMPLIANCES_FIELD_NUMBER = 4; - private java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance> - osPolicyResourceCompliances_; + private java.util.List osPolicyResourceCompliances_; /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ @java.lang.Override - public java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance> - getOsPolicyResourceCompliancesList() { + public java.util.List getOsPolicyResourceCompliancesList() { return osPolicyResourceCompliances_; } /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder> + public java.util.List getOsPolicyResourceCompliancesOrBuilderList() { return osPolicyResourceCompliances_; } /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ @java.lang.Override public int getOsPolicyResourceCompliancesCount() { return osPolicyResourceCompliances_.size(); } /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - getOsPolicyResourceCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index) { return osPolicyResourceCompliances_.get(index); } /** - * - * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder - getOsPolicyResourceCompliancesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder( + int index) { return osPolicyResourceCompliances_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5458,14 +4345,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osPolicyId_); } - if (complianceState_ - != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .ComplianceState.UNKNOWN - .getNumber()) { + if (complianceState_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.UNKNOWN.getNumber()) { output.writeEnum(2, complianceState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(complianceStateReason_)) { @@ -5486,19 +4371,16 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, osPolicyId_); } - if (complianceState_ - != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .ComplianceState.UNKNOWN - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, complianceState_); + if (complianceState_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.UNKNOWN.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, complianceState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(complianceStateReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, complianceStateReason_); } for (int i = 0; i < osPolicyResourceCompliances_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, osPolicyResourceCompliances_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, osPolicyResourceCompliances_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5508,21 +4390,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance other = - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) obj; - if (!getOsPolicyId().equals(other.getOsPolicyId())) return false; + if (!getOsPolicyId() + .equals(other.getOsPolicyId())) return false; if (complianceState_ != other.complianceState_) return false; - if (!getComplianceStateReason().equals(other.getComplianceStateReason())) return false; - if (!getOsPolicyResourceCompliancesList().equals(other.getOsPolicyResourceCompliancesList())) - return false; + if (!getComplianceStateReason() + .equals(other.getComplianceStateReason())) return false; + if (!getOsPolicyResourceCompliancesList() + .equals(other.getOsPolicyResourceCompliancesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5549,101 +4430,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5653,53 +4521,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Compliance data for an OS policy
      * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.class, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOsPolicyResourceCompliancesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -5719,22 +4579,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance build() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance result = - buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5742,18 +4599,15 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance result = - new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance(this); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance(this); int from_bitField0_ = bitField0_; result.osPolicyId_ = osPolicyId_; result.complianceState_ = complianceState_; result.complianceStateReason_ = complianceStateReason_; if (osPolicyResourceCompliancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = - java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); + osPolicyResourceCompliances_ = java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); bitField0_ = (bitField0_ & ~0x00000001); } result.osPolicyResourceCompliances_ = osPolicyResourceCompliances_; @@ -5768,56 +4622,46 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) - other); + if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.getDefaultInstance()) return this; if (!other.getOsPolicyId().isEmpty()) { osPolicyId_ = other.osPolicyId_; onChanged(); @@ -5847,13 +4691,11 @@ public Builder mergeFrom( osPolicyResourceCompliancesBuilder_ = null; osPolicyResourceCompliances_ = other.osPolicyResourceCompliances_; bitField0_ = (bitField0_ & ~0x00000001); - osPolicyResourceCompliancesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOsPolicyResourceCompliancesFieldBuilder() - : null; + osPolicyResourceCompliancesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOsPolicyResourceCompliancesFieldBuilder() : null; } else { - osPolicyResourceCompliancesBuilder_.addAllMessages( - other.osPolicyResourceCompliances_); + osPolicyResourceCompliancesBuilder_.addAllMessages(other.osPolicyResourceCompliances_); } } } @@ -5872,14 +4714,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5888,25 +4727,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object osPolicyId_ = ""; /** - * - * *
        * The OS policy id
        * 
* * string os_policy_id = 1; - * * @return The osPolicyId. */ public java.lang.String getOsPolicyId() { java.lang.Object ref = osPolicyId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyId_ = s; return s; @@ -5915,21 +4751,20 @@ public java.lang.String getOsPolicyId() { } } /** - * - * *
        * The OS policy id
        * 
* * string os_policy_id = 1; - * * @return The bytes for osPolicyId. */ - public com.google.protobuf.ByteString getOsPolicyIdBytes() { + public com.google.protobuf.ByteString + getOsPolicyIdBytes() { java.lang.Object ref = osPolicyId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyId_ = b; return b; } else { @@ -5937,61 +4772,54 @@ public com.google.protobuf.ByteString getOsPolicyIdBytes() { } } /** - * - * *
        * The OS policy id
        * 
* * string os_policy_id = 1; - * * @param value The osPolicyId to set. * @return This builder for chaining. */ - public Builder setOsPolicyId(java.lang.String value) { + public Builder setOsPolicyId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyId_ = value; onChanged(); return this; } /** - * - * *
        * The OS policy id
        * 
* * string os_policy_id = 1; - * * @return This builder for chaining. */ public Builder clearOsPolicyId() { - + osPolicyId_ = getDefaultInstance().getOsPolicyId(); onChanged(); return this; } /** - * - * *
        * The OS policy id
        * 
* * string os_policy_id = 1; - * * @param value The bytes for osPolicyId to set. * @return This builder for chaining. */ - public Builder setOsPolicyIdBytes(com.google.protobuf.ByteString value) { + public Builder setOsPolicyIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyId_ = value; onChanged(); return this; @@ -5999,111 +4827,73 @@ public Builder setOsPolicyIdBytes(com.google.protobuf.ByteString value) { private int complianceState_ = 0; /** - * - * *
        * The compliance state of the OS policy.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; * @return The enum numeric value on the wire for complianceState. */ - @java.lang.Override - public int getComplianceStateValue() { + @java.lang.Override public int getComplianceStateValue() { return complianceState_; } /** - * - * *
        * The compliance state of the OS policy.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; * @param value The enum numeric value on the wire for complianceState to set. * @return This builder for chaining. */ public Builder setComplianceStateValue(int value) { - + complianceState_ = value; onChanged(); return this; } /** - * - * *
        * The compliance state of the OS policy.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; * @return The complianceState. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .ComplianceState - getComplianceState() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState getComplianceState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .ComplianceState - result = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .ComplianceState.valueOf(complianceState_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .ComplianceState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.valueOf(complianceState_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.UNRECOGNIZED : result; } /** - * - * *
        * The compliance state of the OS policy.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; * @param value The complianceState to set. * @return This builder for chaining. */ - public Builder setComplianceState( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .ComplianceState - value) { + public Builder setComplianceState(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState value) { if (value == null) { throw new NullPointerException(); } - + complianceState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The compliance state of the OS policy.
        * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; * @return This builder for chaining. */ public Builder clearComplianceState() { - + complianceState_ = 0; onChanged(); return this; @@ -6111,8 +4901,6 @@ public Builder clearComplianceState() { private java.lang.Object complianceStateReason_ = ""; /** - * - * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -6135,13 +4923,13 @@ public Builder clearComplianceState() {
        * 
* * string compliance_state_reason = 3; - * * @return The complianceStateReason. */ public java.lang.String getComplianceStateReason() { java.lang.Object ref = complianceStateReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); complianceStateReason_ = s; return s; @@ -6150,8 +4938,6 @@ public java.lang.String getComplianceStateReason() { } } /** - * - * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -6174,14 +4960,15 @@ public java.lang.String getComplianceStateReason() {
        * 
* * string compliance_state_reason = 3; - * * @return The bytes for complianceStateReason. */ - public com.google.protobuf.ByteString getComplianceStateReasonBytes() { + public com.google.protobuf.ByteString + getComplianceStateReasonBytes() { java.lang.Object ref = complianceStateReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); complianceStateReason_ = b; return b; } else { @@ -6189,8 +4976,6 @@ public com.google.protobuf.ByteString getComplianceStateReasonBytes() { } } /** - * - * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -6213,22 +4998,20 @@ public com.google.protobuf.ByteString getComplianceStateReasonBytes() {
        * 
* * string compliance_state_reason = 3; - * * @param value The complianceStateReason to set. * @return This builder for chaining. */ - public Builder setComplianceStateReason(java.lang.String value) { + public Builder setComplianceStateReason( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + complianceStateReason_ = value; onChanged(); return this; } /** - * - * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -6251,18 +5034,15 @@ public Builder setComplianceStateReason(java.lang.String value) {
        * 
* * string compliance_state_reason = 3; - * * @return This builder for chaining. */ public Builder clearComplianceStateReason() { - + complianceStateReason_ = getDefaultInstance().getComplianceStateReason(); onChanged(); return this; } /** - * - * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -6285,61 +5065,42 @@ public Builder clearComplianceStateReason() {
        * 
* * string compliance_state_reason = 3; - * * @param value The bytes for complianceStateReason to set. * @return This builder for chaining. */ - public Builder setComplianceStateReasonBytes(com.google.protobuf.ByteString value) { + public Builder setComplianceStateReasonBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + complianceStateReason_ = value; onChanged(); return this; } - private java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance> - osPolicyResourceCompliances_ = java.util.Collections.emptyList(); - + private java.util.List osPolicyResourceCompliances_ = + java.util.Collections.emptyList(); private void ensureOsPolicyResourceCompliancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance>(osPolicyResourceCompliances_); + osPolicyResourceCompliances_ = new java.util.ArrayList(osPolicyResourceCompliances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder> - osPolicyResourceCompliancesBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder> osPolicyResourceCompliancesBuilder_; /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - public java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance> - getOsPolicyResourceCompliancesList() { + public java.util.List getOsPolicyResourceCompliancesList() { if (osPolicyResourceCompliancesBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); } else { @@ -6347,16 +5108,12 @@ private void ensureOsPolicyResourceCompliancesIsMutable() { } } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ public int getOsPolicyResourceCompliancesCount() { if (osPolicyResourceCompliancesBuilder_ == null) { @@ -6366,20 +5123,14 @@ public int getOsPolicyResourceCompliancesCount() { } } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - getOsPolicyResourceCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index) { if (osPolicyResourceCompliancesBuilder_ == null) { return osPolicyResourceCompliances_.get(index); } else { @@ -6387,22 +5138,15 @@ public int getOsPolicyResourceCompliancesCount() { } } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ public Builder setOsPolicyResourceCompliances( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - value) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance value) { if (osPolicyResourceCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6416,22 +5160,15 @@ public Builder setOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ public Builder setOsPolicyResourceCompliances( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder builderForValue) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); osPolicyResourceCompliances_.set(index, builderForValue.build()); @@ -6442,21 +5179,14 @@ public Builder setOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - public Builder addOsPolicyResourceCompliances( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - value) { + public Builder addOsPolicyResourceCompliances(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance value) { if (osPolicyResourceCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6470,22 +5200,15 @@ public Builder addOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ public Builder addOsPolicyResourceCompliances( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance - value) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance value) { if (osPolicyResourceCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6499,21 +5222,15 @@ public Builder addOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ public Builder addOsPolicyResourceCompliances( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder builderForValue) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); osPolicyResourceCompliances_.add(builderForValue.build()); @@ -6524,22 +5241,15 @@ public Builder addOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ public Builder addOsPolicyResourceCompliances( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder builderForValue) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); osPolicyResourceCompliances_.add(index, builderForValue.build()); @@ -6550,23 +5260,15 @@ public Builder addOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ public Builder addAllOsPolicyResourceCompliances( - java.lang.Iterable< - ? extends - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance> - values) { + java.lang.Iterable values) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -6578,16 +5280,12 @@ public Builder addAllOsPolicyResourceCompliances( return this; } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ public Builder clearOsPolicyResourceCompliances() { if (osPolicyResourceCompliancesBuilder_ == null) { @@ -6600,16 +5298,12 @@ public Builder clearOsPolicyResourceCompliances() { return this; } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ public Builder removeOsPolicyResourceCompliances(int index) { if (osPolicyResourceCompliancesBuilder_ == null) { @@ -6622,60 +5316,42 @@ public Builder removeOsPolicyResourceCompliances(int index) { return this; } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder - getOsPolicyResourceCompliancesBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder getOsPolicyResourceCompliancesBuilder( + int index) { return getOsPolicyResourceCompliancesFieldBuilder().getBuilder(index); } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder - getOsPolicyResourceCompliancesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder( + int index) { if (osPolicyResourceCompliancesBuilder_ == null) { - return osPolicyResourceCompliances_.get(index); - } else { + return osPolicyResourceCompliances_.get(index); } else { return osPolicyResourceCompliancesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder> - getOsPolicyResourceCompliancesOrBuilderList() { + public java.util.List + getOsPolicyResourceCompliancesOrBuilderList() { if (osPolicyResourceCompliancesBuilder_ != null) { return osPolicyResourceCompliancesBuilder_.getMessageOrBuilderList(); } else { @@ -6683,82 +5359,48 @@ public Builder removeOsPolicyResourceCompliances(int index) { } } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder - addOsPolicyResourceCompliancesBuilder() { - return getOsPolicyResourceCompliancesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder addOsPolicyResourceCompliancesBuilder() { + return getOsPolicyResourceCompliancesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDefaultInstance()); } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder - addOsPolicyResourceCompliancesBuilder(int index) { - return getOsPolicyResourceCompliancesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder addOsPolicyResourceCompliancesBuilder( + int index) { + return getOsPolicyResourceCompliancesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDefaultInstance()); } /** - * - * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; */ - public java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder> - getOsPolicyResourceCompliancesBuilderList() { + public java.util.List + getOsPolicyResourceCompliancesBuilderList() { return getOsPolicyResourceCompliancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder> getOsPolicyResourceCompliancesFieldBuilder() { if (osPolicyResourceCompliancesBuilder_ == null) { - osPolicyResourceCompliancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceCompliance.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .OSPolicyResourceComplianceOrBuilder>( + osPolicyResourceCompliancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder>( osPolicyResourceCompliances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -6767,7 +5409,6 @@ public Builder removeOsPolicyResourceCompliances(int index) { } return osPolicyResourceCompliancesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6780,34 +5421,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyCompliance - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyCompliance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyCompliance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyCompliance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyCompliance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6819,17 +5456,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The `OSPolicyAssignmentReport` API resource name.
    * Format:
@@ -6837,7 +5472,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -6846,15 +5480,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The `OSPolicyAssignmentReport` API resource name.
    * Format:
@@ -6862,15 +5495,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -6881,14 +5515,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int INSTANCE_FIELD_NUMBER = 2; private volatile java.lang.Object instance_; /** - * - * *
    * The Compute Engine VM instance name.
    * 
* * string instance = 2; - * * @return The instance. */ @java.lang.Override @@ -6897,29 +5528,29 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** - * - * *
    * The Compute Engine VM instance name.
    * 
* * string instance = 2; - * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -6930,8 +5561,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER = 3; private volatile java.lang.Object osPolicyAssignment_; /** - * - * *
    * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
    * belongs to.
@@ -6940,7 +5569,6 @@ public com.google.protobuf.ByteString getInstanceBytes() {
    * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } - * * @return The osPolicyAssignment. */ @java.lang.Override @@ -6949,15 +5577,14 @@ public java.lang.String getOsPolicyAssignment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; } } /** - * - * *
    * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
    * belongs to.
@@ -6966,15 +5593,16 @@ public java.lang.String getOsPolicyAssignment() {
    * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for osPolicyAssignment. */ @java.lang.Override - public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString + getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -6983,104 +5611,73 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { } public static final int OS_POLICY_COMPLIANCES_FIELD_NUMBER = 4; - private java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance> - osPolicyCompliances_; + private java.util.List osPolicyCompliances_; /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ @java.lang.Override - public java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance> - getOsPolicyCompliancesList() { + public java.util.List getOsPolicyCompliancesList() { return osPolicyCompliances_; } /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyComplianceOrBuilder> + public java.util.List getOsPolicyCompliancesOrBuilderList() { return osPolicyCompliances_; } /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ @java.lang.Override public int getOsPolicyCompliancesCount() { return osPolicyCompliances_.size(); } /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - getOsPolicyCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance getOsPolicyCompliances(int index) { return osPolicyCompliances_.get(index); } /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder - getOsPolicyCompliancesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder( + int index) { return osPolicyCompliances_.get(index); } public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Timestamp for when the report was last generated.
    * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -7088,14 +5685,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Timestamp for when the report was last generated.
    * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return The updateTime. */ @java.lang.Override @@ -7103,8 +5697,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Timestamp for when the report was last generated.
    * 
@@ -7119,8 +5711,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int LAST_RUN_ID_FIELD_NUMBER = 6; private volatile java.lang.Object lastRunId_; /** - * - * *
    * Unique identifier of the last attempted run to apply the OS policies
    * associated with this assignment on the VM.
@@ -7131,7 +5721,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string last_run_id = 6; - * * @return The lastRunId. */ @java.lang.Override @@ -7140,15 +5729,14 @@ public java.lang.String getLastRunId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastRunId_ = s; return s; } } /** - * - * *
    * Unique identifier of the last attempted run to apply the OS policies
    * associated with this assignment on the VM.
@@ -7159,15 +5747,16 @@ public java.lang.String getLastRunId() {
    * 
* * string last_run_id = 6; - * * @return The bytes for lastRunId. */ @java.lang.Override - public com.google.protobuf.ByteString getLastRunIdBytes() { + public com.google.protobuf.ByteString + getLastRunIdBytes() { java.lang.Object ref = lastRunId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lastRunId_ = b; return b; } else { @@ -7176,7 +5765,6 @@ public com.google.protobuf.ByteString getLastRunIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7188,7 +5776,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -7226,11 +5815,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, osPolicyAssignment_); } for (int i = 0; i < osPolicyCompliances_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, osPolicyCompliances_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, osPolicyCompliances_.get(i)); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lastRunId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, lastRunId_); @@ -7243,23 +5833,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport other = - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) obj; - if (!getName().equals(other.getName())) return false; - if (!getInstance().equals(other.getInstance())) return false; - if (!getOsPolicyAssignment().equals(other.getOsPolicyAssignment())) return false; - if (!getOsPolicyCompliancesList().equals(other.getOsPolicyCompliancesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; + if (!getOsPolicyAssignment() + .equals(other.getOsPolicyAssignment())) return false; + if (!getOsPolicyCompliancesList() + .equals(other.getOsPolicyCompliancesList())) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getLastRunId().equals(other.getLastRunId())) return false; + if (!getLastRunId() + .equals(other.getLastRunId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7293,127 +5888,117 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport 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.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A report of the OS policy assignment status for a given instance.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.class, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.newBuilder() @@ -7421,17 +6006,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOsPolicyCompliancesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -7459,9 +6044,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor; } @java.lang.Override @@ -7480,8 +6065,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport result = - new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport(this); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.instance_ = instance_; @@ -7509,39 +6093,38 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicyAssignmentReport) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport)other); } else { super.mergeFrom(other); return this; @@ -7549,8 +6132,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -7581,10 +6163,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentRep osPolicyCompliancesBuilder_ = null; osPolicyCompliances_ = other.osPolicyCompliances_; bitField0_ = (bitField0_ & ~0x00000001); - osPolicyCompliancesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOsPolicyCompliancesFieldBuilder() - : null; + osPolicyCompliancesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOsPolicyCompliancesFieldBuilder() : null; } else { osPolicyCompliancesBuilder_.addAllMessages(other.osPolicyCompliances_); } @@ -7616,8 +6197,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7626,13 +6206,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -7640,13 +6217,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -7655,8 +6232,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -7664,14 +6239,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -7679,8 +6255,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -7688,22 +6262,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -7711,18 +6283,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -7730,16 +6299,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -7747,20 +6316,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object instance_ = ""; /** - * - * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; - * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -7769,21 +6336,20 @@ public java.lang.String getInstance() { } } /** - * - * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; - * * @return The bytes for instance. */ - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -7791,61 +6357,54 @@ public com.google.protobuf.ByteString getInstanceBytes() { } } /** - * - * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; - * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance(java.lang.String value) { + public Builder setInstance( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** - * - * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; - * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** - * - * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; - * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -7853,8 +6412,6 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { private java.lang.Object osPolicyAssignment_ = ""; /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -7863,13 +6420,13 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) {
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } - * * @return The osPolicyAssignment. */ public java.lang.String getOsPolicyAssignment() { java.lang.Object ref = osPolicyAssignment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; @@ -7878,8 +6435,6 @@ public java.lang.String getOsPolicyAssignment() { } } /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -7888,14 +6443,15 @@ public java.lang.String getOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for osPolicyAssignment. */ - public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString + getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -7903,8 +6459,6 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { } } /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -7913,22 +6467,20 @@ public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() {
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } - * * @param value The osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignment(java.lang.String value) { + public Builder setOsPolicyAssignment( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyAssignment_ = value; onChanged(); return this; } /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -7937,18 +6489,15 @@ public Builder setOsPolicyAssignment(java.lang.String value) {
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearOsPolicyAssignment() { - + osPolicyAssignment_ = getDefaultInstance().getOsPolicyAssignment(); onChanged(); return this; } /** - * - * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -7957,55 +6506,41 @@ public Builder clearOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignmentBytes(com.google.protobuf.ByteString value) { + public Builder setOsPolicyAssignmentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyAssignment_ = value; onChanged(); return this; } - private java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance> - osPolicyCompliances_ = java.util.Collections.emptyList(); - + private java.util.List osPolicyCompliances_ = + java.util.Collections.emptyList(); private void ensureOsPolicyCompliancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyCompliances_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance>( - osPolicyCompliances_); + osPolicyCompliances_ = new java.util.ArrayList(osPolicyCompliances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> - osPolicyCompliancesBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> osPolicyCompliancesBuilder_; /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - public java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance> - getOsPolicyCompliancesList() { + public java.util.List getOsPolicyCompliancesList() { if (osPolicyCompliancesBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyCompliances_); } else { @@ -8013,15 +6548,11 @@ private void ensureOsPolicyCompliancesIsMutable() { } } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ public int getOsPolicyCompliancesCount() { if (osPolicyCompliancesBuilder_ == null) { @@ -8031,18 +6562,13 @@ public int getOsPolicyCompliancesCount() { } } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - getOsPolicyCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance getOsPolicyCompliances(int index) { if (osPolicyCompliancesBuilder_ == null) { return osPolicyCompliances_.get(index); } else { @@ -8050,19 +6576,14 @@ public int getOsPolicyCompliancesCount() { } } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ public Builder setOsPolicyCompliances( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance value) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance value) { if (osPolicyCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8076,20 +6597,14 @@ public Builder setOsPolicyCompliances( return this; } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ public Builder setOsPolicyCompliances( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); osPolicyCompliances_.set(index, builderForValue.build()); @@ -8100,18 +6615,13 @@ public Builder setOsPolicyCompliances( return this; } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - public Builder addOsPolicyCompliances( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance value) { + public Builder addOsPolicyCompliances(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance value) { if (osPolicyCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8125,19 +6635,14 @@ public Builder addOsPolicyCompliances( return this; } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ public Builder addOsPolicyCompliances( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance value) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance value) { if (osPolicyCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8151,19 +6656,14 @@ public Builder addOsPolicyCompliances( return this; } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ public Builder addOsPolicyCompliances( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); osPolicyCompliances_.add(builderForValue.build()); @@ -8174,20 +6674,14 @@ public Builder addOsPolicyCompliances( return this; } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ public Builder addOsPolicyCompliances( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); osPolicyCompliances_.add(index, builderForValue.build()); @@ -8198,24 +6692,18 @@ public Builder addOsPolicyCompliances( return this; } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ public Builder addAllOsPolicyCompliances( - java.lang.Iterable< - ? extends - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance> - values) { + java.lang.Iterable values) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicyCompliances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, osPolicyCompliances_); onChanged(); } else { osPolicyCompliancesBuilder_.addAllMessages(values); @@ -8223,15 +6711,11 @@ public Builder addAllOsPolicyCompliances( return this; } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ public Builder clearOsPolicyCompliances() { if (osPolicyCompliancesBuilder_ == null) { @@ -8244,15 +6728,11 @@ public Builder clearOsPolicyCompliances() { return this; } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ public Builder removeOsPolicyCompliances(int index) { if (osPolicyCompliancesBuilder_ == null) { @@ -8265,55 +6745,39 @@ public Builder removeOsPolicyCompliances(int index) { return this; } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder - getOsPolicyCompliancesBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder getOsPolicyCompliancesBuilder( + int index) { return getOsPolicyCompliancesFieldBuilder().getBuilder(index); } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder - getOsPolicyCompliancesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder( + int index) { if (osPolicyCompliancesBuilder_ == null) { - return osPolicyCompliances_.get(index); - } else { + return osPolicyCompliances_.get(index); } else { return osPolicyCompliancesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyComplianceOrBuilder> - getOsPolicyCompliancesOrBuilderList() { + public java.util.List + getOsPolicyCompliancesOrBuilderList() { if (osPolicyCompliancesBuilder_ != null) { return osPolicyCompliancesBuilder_.getMessageOrBuilderList(); } else { @@ -8321,72 +6785,45 @@ public Builder removeOsPolicyCompliances(int index) { } } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder - addOsPolicyCompliancesBuilder() { - return getOsPolicyCompliancesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder addOsPolicyCompliancesBuilder() { + return getOsPolicyCompliancesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.getDefaultInstance()); } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder - addOsPolicyCompliancesBuilder(int index) { - return getOsPolicyCompliancesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder addOsPolicyCompliancesBuilder( + int index) { + return getOsPolicyCompliancesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.getDefaultInstance()); } /** - * - * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - public java.util.List< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder> - getOsPolicyCompliancesBuilderList() { + public java.util.List + getOsPolicyCompliancesBuilderList() { return getOsPolicyCompliancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> getOsPolicyCompliancesFieldBuilder() { if (osPolicyCompliancesBuilder_ == null) { - osPolicyCompliancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - .Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyComplianceOrBuilder>( + osPolicyCompliancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder>( osPolicyCompliances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -8398,47 +6835,34 @@ public Builder removeOsPolicyCompliances(int index) { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Timestamp for when the report was last generated.
      * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Timestamp for when the report was last generated.
      * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Timestamp for when the report was last generated.
      * 
@@ -8459,15 +6883,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Timestamp for when the report was last generated.
      * 
* * .google.protobuf.Timestamp update_time = 5; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -8478,8 +6901,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Timestamp for when the report was last generated.
      * 
@@ -8490,7 +6911,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -8502,8 +6923,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Timestamp for when the report was last generated.
      * 
@@ -8522,8 +6941,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Timestamp for when the report was last generated.
      * 
@@ -8531,13 +6948,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 5; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Timestamp for when the report was last generated.
      * 
@@ -8548,14 +6963,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Timestamp for when the report was last generated.
      * 
@@ -8563,17 +6975,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -8581,8 +6990,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object lastRunId_ = ""; /** - * - * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -8593,13 +7000,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string last_run_id = 6; - * * @return The lastRunId. */ public java.lang.String getLastRunId() { java.lang.Object ref = lastRunId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastRunId_ = s; return s; @@ -8608,8 +7015,6 @@ public java.lang.String getLastRunId() { } } /** - * - * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -8620,14 +7025,15 @@ public java.lang.String getLastRunId() {
      * 
* * string last_run_id = 6; - * * @return The bytes for lastRunId. */ - public com.google.protobuf.ByteString getLastRunIdBytes() { + public com.google.protobuf.ByteString + getLastRunIdBytes() { java.lang.Object ref = lastRunId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lastRunId_ = b; return b; } else { @@ -8635,8 +7041,6 @@ public com.google.protobuf.ByteString getLastRunIdBytes() { } } /** - * - * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -8647,22 +7051,20 @@ public com.google.protobuf.ByteString getLastRunIdBytes() {
      * 
* * string last_run_id = 6; - * * @param value The lastRunId to set. * @return This builder for chaining. */ - public Builder setLastRunId(java.lang.String value) { + public Builder setLastRunId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + lastRunId_ = value; onChanged(); return this; } /** - * - * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -8673,18 +7075,15 @@ public Builder setLastRunId(java.lang.String value) {
      * 
* * string last_run_id = 6; - * * @return This builder for chaining. */ public Builder clearLastRunId() { - + lastRunId_ = getDefaultInstance().getLastRunId(); onChanged(); return this; } /** - * - * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -8695,23 +7094,23 @@ public Builder clearLastRunId() {
      * 
* * string last_run_id = 6; - * * @param value The bytes for lastRunId to set. * @return This builder for chaining. */ - public Builder setLastRunIdBytes(com.google.protobuf.ByteString value) { + public Builder setLastRunIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + lastRunId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8721,12 +7120,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport(); } @@ -8735,16 +7134,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyAssignmentReport parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyAssignmentReport(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyAssignmentReport parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyAssignmentReport(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8759,4 +7158,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportName.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportName.java similarity index 100% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportName.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportName.java diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportOrBuilder.java similarity index 69% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportOrBuilder.java index 93602867..1e4f4c1e 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1alpha; -public interface OSPolicyAssignmentReportOrBuilder - extends +public interface OSPolicyAssignmentReportOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The `OSPolicyAssignmentReport` API resource name.
    * Format:
@@ -33,13 +15,10 @@ public interface OSPolicyAssignmentReportOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The `OSPolicyAssignmentReport` API resource name.
    * Format:
@@ -47,39 +26,32 @@ public interface OSPolicyAssignmentReportOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The Compute Engine VM instance name.
    * 
* * string instance = 2; - * * @return The instance. */ java.lang.String getInstance(); /** - * - * *
    * The Compute Engine VM instance name.
    * 
* * string instance = 2; - * * @return The bytes for instance. */ - com.google.protobuf.ByteString getInstanceBytes(); + com.google.protobuf.ByteString + getInstanceBytes(); /** - * - * *
    * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
    * belongs to.
@@ -88,13 +60,10 @@ public interface OSPolicyAssignmentReportOrBuilder
    * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } - * * @return The osPolicyAssignment. */ java.lang.String getOsPolicyAssignment(); /** - * - * *
    * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
    * belongs to.
@@ -103,106 +72,74 @@ public interface OSPolicyAssignmentReportOrBuilder
    * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for osPolicyAssignment. */ - com.google.protobuf.ByteString getOsPolicyAssignmentBytes(); + com.google.protobuf.ByteString + getOsPolicyAssignmentBytes(); /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - java.util.List + java.util.List getOsPolicyCompliancesList(); /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance - getOsPolicyCompliances(int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance getOsPolicyCompliances(int index); /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ int getOsPolicyCompliancesCount(); /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport - .OSPolicyComplianceOrBuilder> + java.util.List getOsPolicyCompliancesOrBuilderList(); /** - * - * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder - getOsPolicyCompliancesOrBuilder(int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder( + int index); /** - * - * *
    * Timestamp for when the report was last generated.
    * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Timestamp for when the report was last generated.
    * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Timestamp for when the report was last generated.
    * 
@@ -212,8 +149,6 @@ public interface OSPolicyAssignmentReportOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Unique identifier of the last attempted run to apply the OS policies
    * associated with this assignment on the VM.
@@ -224,13 +159,10 @@ public interface OSPolicyAssignmentReportOrBuilder
    * 
* * string last_run_id = 6; - * * @return The lastRunId. */ java.lang.String getLastRunId(); /** - * - * *
    * Unique identifier of the last attempted run to apply the OS policies
    * associated with this assignment on the VM.
@@ -241,8 +173,8 @@ public interface OSPolicyAssignmentReportOrBuilder
    * 
* * string last_run_id = 6; - * * @return The bytes for lastRunId. */ - com.google.protobuf.ByteString getLastRunIdBytes(); + com.google.protobuf.ByteString + getLastRunIdBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java new file mode 100644 index 00000000..561312ac --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java @@ -0,0 +1,213 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/osconfig/v1alpha/os_policy_assignment_reports.proto + +package com.google.cloud.osconfig.v1alpha; + +public final class OSPolicyAssignmentReportsProto { + private OSPolicyAssignmentReportsProto() {} + 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_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n@google/cloud/osconfig/v1alpha/os_polic" + + "y_assignment_reports.proto\022\035google.cloud" + + ".osconfig.v1alpha\032\034google/api/annotation" + + "s.proto\032\037google/api/field_behavior.proto" + + "\032\031google/api/resource.proto\032\037google/prot" + + "obuf/timestamp.proto\"l\n\"GetOSPolicyAssig" + + "nmentReportRequest\022F\n\004name\030\001 \001(\tB8\340A\002\372A2" + + "\n0osconfig.googleapis.com/OSPolicyAssign" + + "mentReport\"\250\001\n$ListOSPolicyAssignmentRep" + + "ortsRequest\022I\n\006parent\030\001 \001(\tB9\340A\002\372A3\n1com" + + "pute.googleapis.com/InstanceOSPolicyAssi" + + "gnment\022\021\n\tpage_size\030\002 \001(\005\022\016\n\006filter\030\003 \001(" + + "\t\022\022\n\npage_token\030\004 \001(\t\"\237\001\n%ListOSPolicyAs" + + "signmentReportsResponse\022]\n\034os_policy_ass" + + "ignment_reports\030\001 \003(\01327.google.cloud.osc" + + "onfig.v1alpha.OSPolicyAssignmentReport\022\027" + + "\n\017next_page_token\030\002 \001(\t\"\361\016\n\030OSPolicyAssi" + + "gnmentReport\022\014\n\004name\030\001 \001(\t\022\020\n\010instance\030\002" + + " \001(\t\022M\n\024os_policy_assignment\030\003 \001(\tB/\372A,\n" + + "*osconfig.googleapis.com/OSPolicyAssignm" + + "ent\022i\n\025os_policy_compliances\030\004 \003(\0132J.goo" + + "gle.cloud.osconfig.v1alpha.OSPolicyAssig" + + "nmentReport.OSPolicyCompliance\022/\n\013update" + + "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" + + "\023\n\013last_run_id\030\006 \001(\t\032\225\013\n\022OSPolicyComplia" + + "nce\022\024\n\014os_policy_id\030\001 \001(\t\022t\n\020compliance_" + + "state\030\002 \001(\0162Z.google.cloud.osconfig.v1al" + + "pha.OSPolicyAssignmentReport.OSPolicyCom" + + "pliance.ComplianceState\022\037\n\027compliance_st" + + "ate_reason\030\003 \001(\t\022\215\001\n\036os_policy_resource_" + + "compliances\030\004 \003(\0132e.google.cloud.osconfi" + + "g.v1alpha.OSPolicyAssignmentReport.OSPol" + + "icyCompliance.OSPolicyResourceCompliance" + + "\032\377\007\n\032OSPolicyResourceCompliance\022\035\n\025os_po" + + "licy_resource_id\030\001 \001(\t\022\227\001\n\014config_steps\030" + + "\002 \003(\0132\200\001.google.cloud.osconfig.v1alpha.O" + + "SPolicyAssignmentReport.OSPolicyComplian" + + "ce.OSPolicyResourceCompliance.OSPolicyRe" + + "sourceConfigStep\022\217\001\n\020compliance_state\030\003 " + + "\001(\0162u.google.cloud.osconfig.v1alpha.OSPo" + + "licyAssignmentReport.OSPolicyCompliance." + + "OSPolicyResourceCompliance.ComplianceSta" + + "te\022\037\n\027compliance_state_reason\030\004 \001(\t\022\230\001\n\024" + + "exec_resource_output\030\005 \001(\0132x.google.clou" + + "d.osconfig.v1alpha.OSPolicyAssignmentRep" + + "ort.OSPolicyCompliance.OSPolicyResourceC" + + "ompliance.ExecResourceOutputH\000\032\333\002\n\032OSPol" + + "icyResourceConfigStep\022\224\001\n\004type\030\001 \001(\0162\205\001." + + "google.cloud.osconfig.v1alpha.OSPolicyAs" + + "signmentReport.OSPolicyCompliance.OSPoli" + + "cyResourceCompliance.OSPolicyResourceCon" + + "figStep.Type\022\025\n\rerror_message\030\002 \001(\t\"\216\001\n\004" + + "Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\016\n\nVALIDATION" + + "\020\001\022\027\n\023DESIRED_STATE_CHECK\020\002\022\035\n\031DESIRED_S" + + "TATE_ENFORCEMENT\020\003\022(\n$DESIRED_STATE_CHEC" + + "K_POST_ENFORCEMENT\020\004\0320\n\022ExecResourceOutp" + + "ut\022\032\n\022enforcement_output\030\002 \001(\014\"@\n\017Compli" + + "anceState\022\013\n\007UNKNOWN\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n" + + "\rNON_COMPLIANT\020\002B\010\n\006output\"@\n\017Compliance" + + "State\022\013\n\007UNKNOWN\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n\rNON" + + "_COMPLIANT\020\002:\234\001\352A\230\001\n0osconfig.googleapis" + + ".com/OSPolicyAssignmentReport\022dprojects/" + + "{project}/locations/{location}/instances" + + "/{instance}/osPolicyAssignments/{assignm" + + "ent}/reportB\205\003\n!com.google.cloud.osconfi" + + "g.v1alphaB\036OSPolicyAssignmentReportsProt" + + "oP\001ZEgoogle.golang.org/genproto/googleap" + + "is/cloud/osconfig/v1alpha;osconfig\252\002\035Goo" + + "gle.Cloud.OsConfig.V1Alpha\312\002\035Google\\Clou" + + "d\\OsConfig\\V1alpha\352\002 Google::Cloud::OsCo" + + "nfig::V1alpha\352A\222\001\n1compute.googleapis.co" + + "m/InstanceOSPolicyAssignment\022]projects/{" + + "project}/locations/{location}/instances/" + + "{instance}/osPolicyAssignments/{assignme" + + "nt}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "Filter", "PageToken", }); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor, + new java.lang.String[] { "OsPolicyAssignmentReports", "NextPageToken", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor, + new java.lang.String[] { "Name", "Instance", "OsPolicyAssignment", "OsPolicyCompliances", "UpdateTime", "LastRunId", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor, + new java.lang.String[] { "OsPolicyId", "ComplianceState", "ComplianceStateReason", "OsPolicyResourceCompliances", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor, + new java.lang.String[] { "OsPolicyResourceId", "ConfigSteps", "ComplianceState", "ComplianceStateReason", "ExecResourceOutput", "Output", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor, + new java.lang.String[] { "Type", "ErrorMessage", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor, + new java.lang.String[] { "EnforcementOutput", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyComplianceState.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyComplianceState.java similarity index 70% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyComplianceState.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyComplianceState.java index 4753cd62..34d8a14f 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyComplianceState.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyComplianceState.java @@ -1,37 +1,18 @@ -/* - * 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/osconfig/v1alpha/config_common.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * Supported OSPolicy compliance states.
  * 
* * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicyComplianceState} */ -@java.lang.Deprecated -public enum OSPolicyComplianceState implements com.google.protobuf.ProtocolMessageEnum { +@java.lang.Deprecated public enum OSPolicyComplianceState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default value. This value is unused.
    * 
@@ -40,8 +21,6 @@ public enum OSPolicyComplianceState implements com.google.protobuf.ProtocolMessa */ OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED(0), /** - * - * *
    * Compliant state.
    * 
@@ -50,8 +29,6 @@ public enum OSPolicyComplianceState implements com.google.protobuf.ProtocolMessa */ COMPLIANT(1), /** - * - * *
    * Non-compliant state
    * 
@@ -60,8 +37,6 @@ public enum OSPolicyComplianceState implements com.google.protobuf.ProtocolMessa */ NON_COMPLIANT(2), /** - * - * *
    * Unknown compliance state.
    * 
@@ -70,8 +45,6 @@ public enum OSPolicyComplianceState implements com.google.protobuf.ProtocolMessa */ UNKNOWN(3), /** - * - * *
    * No applicable OS policies were found for the instance.
    * This state is only applicable to the instance.
@@ -84,8 +57,6 @@ public enum OSPolicyComplianceState implements com.google.protobuf.ProtocolMessa
   ;
 
   /**
-   *
-   *
    * 
    * Default value. This value is unused.
    * 
@@ -94,8 +65,6 @@ public enum OSPolicyComplianceState implements com.google.protobuf.ProtocolMessa */ public static final int OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Compliant state.
    * 
@@ -104,8 +73,6 @@ public enum OSPolicyComplianceState implements com.google.protobuf.ProtocolMessa */ public static final int COMPLIANT_VALUE = 1; /** - * - * *
    * Non-compliant state
    * 
@@ -114,8 +81,6 @@ public enum OSPolicyComplianceState implements com.google.protobuf.ProtocolMessa */ public static final int NON_COMPLIANT_VALUE = 2; /** - * - * *
    * Unknown compliance state.
    * 
@@ -124,8 +89,6 @@ public enum OSPolicyComplianceState implements com.google.protobuf.ProtocolMessa */ public static final int UNKNOWN_VALUE = 3; /** - * - * *
    * No applicable OS policies were found for the instance.
    * This state is only applicable to the instance.
@@ -135,6 +98,7 @@ public enum OSPolicyComplianceState implements com.google.protobuf.ProtocolMessa
    */
   public static final int NO_OS_POLICIES_APPLICABLE_VALUE = 4;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -159,18 +123,12 @@ public static OSPolicyComplianceState valueOf(int value) {
    */
   public static OSPolicyComplianceState forNumber(int value) {
     switch (value) {
-      case 0:
-        return OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED;
-      case 1:
-        return COMPLIANT;
-      case 2:
-        return NON_COMPLIANT;
-      case 3:
-        return UNKNOWN;
-      case 4:
-        return NO_OS_POLICIES_APPLICABLE;
-      default:
-        return null;
+      case 0: return OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED;
+      case 1: return COMPLIANT;
+      case 2: return NON_COMPLIANT;
+      case 3: return UNKNOWN;
+      case 4: return NO_OS_POLICIES_APPLICABLE;
+      default: return null;
     }
   }
 
@@ -178,31 +136,29 @@ public static OSPolicyComplianceState forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap
-      internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public OSPolicyComplianceState findValueByNumber(int number) {
-              return OSPolicyComplianceState.forNumber(number);
-            }
-          };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      OSPolicyComplianceState> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public OSPolicyComplianceState findValueByNumber(int number) {
+            return OSPolicyComplianceState.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.getDescriptor()
-        .getEnumTypes()
-        .get(0);
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final OSPolicyComplianceState[] VALUES = values();
@@ -210,7 +166,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
   public static OSPolicyComplianceState valueOf(
       com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -226,3 +183,4 @@ private OSPolicyComplianceState(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1alpha.OSPolicyComplianceState)
 }
+
diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyOrBuilder.java
similarity index 72%
rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyOrBuilder.java
rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyOrBuilder.java
index 58be6077..f0097b52 100644
--- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyOrBuilder.java
+++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * 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/osconfig/v1alpha/os_policy.proto
 
 package com.google.cloud.osconfig.v1alpha;
 
-public interface OSPolicyOrBuilder
-    extends
+public interface OSPolicyOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The id of the OS policy with the following restrictions:
    * * Must contain only lowercase letters, numbers, and hyphens.
@@ -36,13 +18,10 @@ public interface OSPolicyOrBuilder
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * Required. The id of the OS policy with the following restrictions:
    * * Must contain only lowercase letters, numbers, and hyphens.
@@ -53,70 +32,53 @@ public interface OSPolicyOrBuilder
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
    * Policy description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Policy description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Required. Policy mode
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** - * - * *
    * Required. Policy mode
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The mode. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Mode getMode(); /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -127,14 +89,11 @@ public interface OSPolicyOrBuilder
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getResourceGroupsList(); + java.util.List + getResourceGroupsList(); /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -145,14 +104,10 @@ public interface OSPolicyOrBuilder
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup getResourceGroups(int index); /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -163,14 +118,10 @@ public interface OSPolicyOrBuilder
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ int getResourceGroupsCount(); /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -181,15 +132,11 @@ public interface OSPolicyOrBuilder
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getResourceGroupsOrBuilderList(); /** - * - * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -200,16 +147,12 @@ public interface OSPolicyOrBuilder
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder getResourceGroupsOrBuilder( int index); /** - * - * *
    * This flag determines the OS policy compliance status when none of the
    * resource groups within the policy are applicable for a VM. Set this value
@@ -218,7 +161,6 @@ com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder getResourceGro
    * 
* * bool allow_no_resource_group_match = 5; - * * @return The allowNoResourceGroupMatch. */ boolean getAllowNoResourceGroupMatch(); diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceCompliance.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceCompliance.java similarity index 64% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceCompliance.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceCompliance.java index 55e1bd01..c9da4d39 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceCompliance.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceCompliance.java @@ -1,43 +1,24 @@ -/* - * 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/osconfig/v1alpha/config_common.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * Compliance data for an OS policy resource.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance} */ -@java.lang.Deprecated -public final class OSPolicyResourceCompliance extends com.google.protobuf.GeneratedMessageV3 - implements +@java.lang.Deprecated public final class OSPolicyResourceCompliance extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) OSPolicyResourceComplianceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OSPolicyResourceCompliance.newBuilder() to construct. private OSPolicyResourceCompliance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OSPolicyResourceCompliance() { osPolicyResourceId_ = ""; configSteps_ = java.util.Collections.emptyList(); @@ -46,15 +27,16 @@ private OSPolicyResourceCompliance() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OSPolicyResourceCompliance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OSPolicyResourceCompliance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,68 +56,48 @@ private OSPolicyResourceCompliance( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyResourceId_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - configSteps_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep>(); - mutable_bitField0_ |= 0x00000001; - } - configSteps_.add( - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.parser(), - extensionRegistry)); - break; + osPolicyResourceId_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + configSteps_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { - int rawValue = input.readEnum(); + configSteps_.add( + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.parser(), extensionRegistry)); + break; + } + case 24: { + int rawValue = input.readEnum(); - state_ = rawValue; - break; + state_ = rawValue; + break; + } + case 34: { + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder subBuilder = null; + if (outputCase_ == 4) { + subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_).toBuilder(); } - case 34: - { - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - .Builder - subBuilder = null; - if (outputCase_ == 4) { - subBuilder = - ((com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance - .ExecResourceOutput) - output_) - .toBuilder(); - } - output_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance - .ExecResourceOutput.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance - .ExecResourceOutput) - output_); - output_ = subBuilder.buildPartial(); - } - outputCase_ = 4; - break; + output_ = + input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_); + output_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + outputCase_ = 4; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -143,7 +105,8 @@ private OSPolicyResourceCompliance( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { configSteps_ = java.util.Collections.unmodifiableList(configSteps_); @@ -152,78 +115,66 @@ private OSPolicyResourceCompliance( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.class, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.class, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder.class); } - @java.lang.Deprecated - public interface ExecResourceOutputOrBuilder - extends + @java.lang.Deprecated public interface ExecResourceOutputOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output from Enforcement phase output file (if run).
      * Output size is limited to 100K bytes.
      * 
* * bytes enforcement_output = 2; - * * @return The enforcementOutput. */ com.google.protobuf.ByteString getEnforcementOutput(); } /** - * - * *
    * ExecResource specific output.
    * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput} */ - @java.lang.Deprecated - public static final class ExecResourceOutput extends com.google.protobuf.GeneratedMessageV3 - implements + @java.lang.Deprecated public static final class ExecResourceOutput extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) ExecResourceOutputOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecResourceOutput.newBuilder() to construct. private ExecResourceOutput(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExecResourceOutput() { enforcementOutput_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExecResourceOutput(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExecResourceOutput( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -242,18 +193,18 @@ private ExecResourceOutput( case 0: done = true; break; - case 18: - { - enforcementOutput_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 18: { + + enforcementOutput_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -261,41 +212,35 @@ private ExecResourceOutput( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.class, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - .Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.class, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); } public static final int ENFORCEMENT_OUTPUT_FIELD_NUMBER = 2; private com.google.protobuf.ByteString enforcementOutput_; /** - * - * *
      * Output from Enforcement phase output file (if run).
      * Output size is limited to 100K bytes.
      * 
* * bytes enforcement_output = 2; - * * @return The enforcementOutput. */ @java.lang.Override @@ -304,7 +249,6 @@ public com.google.protobuf.ByteString getEnforcementOutput() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,7 +260,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!enforcementOutput_.isEmpty()) { output.writeBytes(2, enforcementOutput_); } @@ -330,7 +275,8 @@ public int getSerializedSize() { size = 0; if (!enforcementOutput_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, enforcementOutput_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, enforcementOutput_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -340,17 +286,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput other = - (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput other = (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) obj; - if (!getEnforcementOutput().equals(other.getEnforcementOutput())) return false; + if (!getEnforcementOutput() + .equals(other.getEnforcementOutput())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -369,101 +313,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput 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.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput 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.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - 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.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput 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.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - 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.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput 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.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -473,52 +404,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * ExecResource specific output.
      * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput} + * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - .class, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - .Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.class, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -528,23 +451,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - build() { - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput result = - buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput build() { + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -552,11 +471,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput result = - new com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput( - this); + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput result = new com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput(this); result.enforcementOutput_ = enforcementOutput_; onBuilt(); return result; @@ -566,56 +482,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) - other); + if (other instanceof com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput other) { + if (other == com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) return this; if (other.getEnforcementOutput() != com.google.protobuf.ByteString.EMPTY) { setEnforcementOutput(other.getEnforcementOutput()); } @@ -634,14 +540,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -651,18 +554,14 @@ public Builder mergeFrom( return this; } - private com.google.protobuf.ByteString enforcementOutput_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString enforcementOutput_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * Output from Enforcement phase output file (if run).
        * Output size is limited to 100K bytes.
        * 
* * bytes enforcement_output = 2; - * * @return The enforcementOutput. */ @java.lang.Override @@ -670,46 +569,39 @@ public com.google.protobuf.ByteString getEnforcementOutput() { return enforcementOutput_; } /** - * - * *
        * Output from Enforcement phase output file (if run).
        * Output size is limited to 100K bytes.
        * 
* * bytes enforcement_output = 2; - * * @param value The enforcementOutput to set. * @return This builder for chaining. */ public Builder setEnforcementOutput(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + enforcementOutput_ = value; onChanged(); return this; } /** - * - * *
        * Output from Enforcement phase output file (if run).
        * Output size is limited to 100K bytes.
        * 
* * bytes enforcement_output = 2; - * * @return This builder for chaining. */ public Builder clearEnforcementOutput() { - + enforcementOutput_ = getDefaultInstance().getEnforcementOutput(); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -722,34 +614,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance - .ExecResourceOutput - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecResourceOutput parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecResourceOutput(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecResourceOutput parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecResourceOutput(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -761,23 +649,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int outputCase_ = 0; private java.lang.Object output_; - public enum OutputCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { EXEC_RESOURCE_OUTPUT(4), OUTPUT_NOT_SET(0); private final int value; - private OutputCase(int value) { this.value = value; } @@ -793,35 +678,30 @@ public static OutputCase valueOf(int value) { public static OutputCase forNumber(int value) { switch (value) { - case 4: - return EXEC_RESOURCE_OUTPUT; - case 0: - return OUTPUT_NOT_SET; - default: - return null; + case 4: return EXEC_RESOURCE_OUTPUT; + case 0: return OUTPUT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OutputCase getOutputCase() { - return OutputCase.forNumber(outputCase_); + public OutputCase + getOutputCase() { + return OutputCase.forNumber( + outputCase_); } public static final int OS_POLICY_RESOURCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object osPolicyResourceId_; /** - * - * *
    * The id of the OS policy resource.
    * 
* * string os_policy_resource_id = 1; - * * @return The osPolicyResourceId. */ @java.lang.Override @@ -830,29 +710,29 @@ public java.lang.String getOsPolicyResourceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyResourceId_ = s; return s; } } /** - * - * *
    * The id of the OS policy resource.
    * 
* * string os_policy_resource_id = 1; - * * @return The bytes for osPolicyResourceId. */ @java.lang.Override - public com.google.protobuf.ByteString getOsPolicyResourceIdBytes() { + public com.google.protobuf.ByteString + getOsPolicyResourceIdBytes() { java.lang.Object ref = osPolicyResourceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyResourceId_ = b; return b; } else { @@ -863,135 +743,102 @@ public com.google.protobuf.ByteString getOsPolicyResourceIdBytes() { public static final int CONFIG_STEPS_FIELD_NUMBER = 2; private java.util.List configSteps_; /** - * - * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ @java.lang.Override - public java.util.List - getConfigStepsList() { + public java.util.List getConfigStepsList() { return configSteps_; } /** - * - * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder> + public java.util.List getConfigStepsOrBuilderList() { return configSteps_; } /** - * - * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ @java.lang.Override public int getConfigStepsCount() { return configSteps_.size(); } /** - * - * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep getConfigSteps(int index) { return configSteps_.get(index); } /** - * - * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder - getConfigStepsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder( + int index) { return configSteps_.get(index); } public static final int STATE_FIELD_NUMBER = 3; private int state_; /** - * - * *
    * Compliance state of the OS policy resource.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Compliance state of the OS policy resource.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = - com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED : result; } public static final int EXEC_RESOURCE_OUTPUT_FIELD_NUMBER = 4; /** - * - * *
    * ExecResource specific output.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; * @return Whether the execResourceOutput field is set. */ @java.lang.Override @@ -999,52 +846,36 @@ public boolean hasExecResourceOutput() { return outputCase_ == 4; } /** - * - * *
    * ExecResource specific output.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; * @return The execResourceOutput. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - getExecResourceOutput() { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput() { if (outputCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) - output_; + return (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_; } - return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } /** - * - * *
    * ExecResource specific output.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder - getExecResourceOutputOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder() { if (outputCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) - output_; + return (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_; } - return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1056,24 +887,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyResourceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osPolicyResourceId_); } for (int i = 0; i < configSteps_.size(); i++) { output.writeMessage(2, configSteps_.get(i)); } - if (state_ - != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState - .OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, state_); } if (outputCase_ == 4) { - output.writeMessage( - 4, - (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) - output_); + output.writeMessage(4, (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_); } unknownFields.writeTo(output); } @@ -1088,20 +914,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, osPolicyResourceId_); } for (int i = 0; i < configSteps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, configSteps_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, configSteps_.get(i)); } - if (state_ - != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState - .OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); + if (state_ != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, state_); } if (outputCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, - (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) - output_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1111,21 +933,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance other = - (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance other = (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) obj; - if (!getOsPolicyResourceId().equals(other.getOsPolicyResourceId())) return false; - if (!getConfigStepsList().equals(other.getConfigStepsList())) return false; + if (!getOsPolicyResourceId() + .equals(other.getOsPolicyResourceId())) return false; + if (!getConfigStepsList() + .equals(other.getConfigStepsList())) return false; if (state_ != other.state_) return false; if (!getOutputCase().equals(other.getOutputCase())) return false; switch (outputCase_) { case 4: - if (!getExecResourceOutput().equals(other.getExecResourceOutput())) return false; + if (!getExecResourceOutput() + .equals(other.getExecResourceOutput())) return false; break; case 0: default: @@ -1163,127 +987,117 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance 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.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Compliance data for an OS policy resource.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.class, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.class, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.newBuilder() @@ -1291,17 +1105,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getConfigStepsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1321,14 +1135,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto - .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.getDefaultInstance(); } @@ -1343,8 +1156,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance result = - new com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance(this); + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance result = new com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance(this); int from_bitField0_ = bitField0_; result.osPolicyResourceId_ = osPolicyResourceId_; if (configStepsBuilder_ == null) { @@ -1373,39 +1185,38 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicyResourceCompliance) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance)other); } else { super.mergeFrom(other); return this; @@ -1413,9 +1224,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance other) { - if (other - == com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.getDefaultInstance()) return this; if (!other.getOsPolicyResourceId().isEmpty()) { osPolicyResourceId_ = other.osPolicyResourceId_; onChanged(); @@ -1438,10 +1247,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompl configStepsBuilder_ = null; configSteps_ = other.configSteps_; bitField0_ = (bitField0_ & ~0x00000001); - configStepsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getConfigStepsFieldBuilder() - : null; + configStepsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getConfigStepsFieldBuilder() : null; } else { configStepsBuilder_.addAllMessages(other.configSteps_); } @@ -1451,15 +1259,13 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompl setStateValue(other.getStateValue()); } switch (other.getOutputCase()) { - case EXEC_RESOURCE_OUTPUT: - { - mergeExecResourceOutput(other.getExecResourceOutput()); - break; - } - case OUTPUT_NOT_SET: - { - break; - } + case EXEC_RESOURCE_OUTPUT: { + mergeExecResourceOutput(other.getExecResourceOutput()); + break; + } + case OUTPUT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1480,8 +1286,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1490,12 +1295,12 @@ public Builder mergeFrom( } return this; } - private int outputCase_ = 0; private java.lang.Object output_; - - public OutputCase getOutputCase() { - return OutputCase.forNumber(outputCase_); + public OutputCase + getOutputCase() { + return OutputCase.forNumber( + outputCase_); } public Builder clearOutput() { @@ -1509,20 +1314,18 @@ public Builder clearOutput() { private java.lang.Object osPolicyResourceId_ = ""; /** - * - * *
      * The id of the OS policy resource.
      * 
* * string os_policy_resource_id = 1; - * * @return The osPolicyResourceId. */ public java.lang.String getOsPolicyResourceId() { java.lang.Object ref = osPolicyResourceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyResourceId_ = s; return s; @@ -1531,21 +1334,20 @@ public java.lang.String getOsPolicyResourceId() { } } /** - * - * *
      * The id of the OS policy resource.
      * 
* * string os_policy_resource_id = 1; - * * @return The bytes for osPolicyResourceId. */ - public com.google.protobuf.ByteString getOsPolicyResourceIdBytes() { + public com.google.protobuf.ByteString + getOsPolicyResourceIdBytes() { java.lang.Object ref = osPolicyResourceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osPolicyResourceId_ = b; return b; } else { @@ -1553,97 +1355,80 @@ public com.google.protobuf.ByteString getOsPolicyResourceIdBytes() { } } /** - * - * *
      * The id of the OS policy resource.
      * 
* * string os_policy_resource_id = 1; - * * @param value The osPolicyResourceId to set. * @return This builder for chaining. */ - public Builder setOsPolicyResourceId(java.lang.String value) { + public Builder setOsPolicyResourceId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyResourceId_ = value; onChanged(); return this; } /** - * - * *
      * The id of the OS policy resource.
      * 
* * string os_policy_resource_id = 1; - * * @return This builder for chaining. */ public Builder clearOsPolicyResourceId() { - + osPolicyResourceId_ = getDefaultInstance().getOsPolicyResourceId(); onChanged(); return this; } /** - * - * *
      * The id of the OS policy resource.
      * 
* * string os_policy_resource_id = 1; - * * @param value The bytes for osPolicyResourceId to set. * @return This builder for chaining. */ - public Builder setOsPolicyResourceIdBytes(com.google.protobuf.ByteString value) { + public Builder setOsPolicyResourceIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyResourceId_ = value; onChanged(); return this; } - private java.util.List - configSteps_ = java.util.Collections.emptyList(); - + private java.util.List configSteps_ = + java.util.Collections.emptyList(); private void ensureConfigStepsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - configSteps_ = - new java.util.ArrayList( - configSteps_); + configSteps_ = new java.util.ArrayList(configSteps_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder> - configStepsBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder> configStepsBuilder_; /** - * - * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ - public java.util.List - getConfigStepsList() { + public java.util.List getConfigStepsList() { if (configStepsBuilder_ == null) { return java.util.Collections.unmodifiableList(configSteps_); } else { @@ -1651,15 +1436,12 @@ private void ensureConfigStepsIsMutable() { } } /** - * - * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ public int getConfigStepsCount() { if (configStepsBuilder_ == null) { @@ -1669,15 +1451,12 @@ public int getConfigStepsCount() { } } /** - * - * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep getConfigSteps(int index) { if (configStepsBuilder_ == null) { @@ -1687,15 +1466,12 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep getConfigSte } } /** - * - * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ public Builder setConfigSteps( int index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep value) { @@ -1712,19 +1488,15 @@ public Builder setConfigSteps( return this; } /** - * - * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ public Builder setConfigSteps( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder builderForValue) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); configSteps_.set(index, builderForValue.build()); @@ -1735,18 +1507,14 @@ public Builder setConfigSteps( return this; } /** - * - * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ - public Builder addConfigSteps( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep value) { + public Builder addConfigSteps(com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep value) { if (configStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1760,15 +1528,12 @@ public Builder addConfigSteps( return this; } /** - * - * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ public Builder addConfigSteps( int index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep value) { @@ -1785,15 +1550,12 @@ public Builder addConfigSteps( return this; } /** - * - * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ public Builder addConfigSteps( com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder builderForValue) { @@ -1807,19 +1569,15 @@ public Builder addConfigSteps( return this; } /** - * - * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ public Builder addConfigSteps( - int index, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder builderForValue) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); configSteps_.add(index, builderForValue.build()); @@ -1830,22 +1588,19 @@ public Builder addConfigSteps( return this; } /** - * - * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ public Builder addAllConfigSteps( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, configSteps_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, configSteps_); onChanged(); } else { configStepsBuilder_.addAllMessages(values); @@ -1853,15 +1608,12 @@ public Builder addAllConfigSteps( return this; } /** - * - * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ public Builder clearConfigSteps() { if (configStepsBuilder_ == null) { @@ -1874,15 +1626,12 @@ public Builder clearConfigSteps() { return this; } /** - * - * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ public Builder removeConfigSteps(int index) { if (configStepsBuilder_ == null) { @@ -1895,53 +1644,42 @@ public Builder removeConfigSteps(int index) { return this; } /** - * - * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder - getConfigStepsBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder getConfigStepsBuilder( + int index) { return getConfigStepsFieldBuilder().getBuilder(index); } /** - * - * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder - getConfigStepsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder( + int index) { if (configStepsBuilder_ == null) { - return configSteps_.get(index); - } else { + return configSteps_.get(index); } else { return configStepsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder> - getConfigStepsOrBuilderList() { + public java.util.List + getConfigStepsOrBuilderList() { if (configStepsBuilder_ != null) { return configStepsBuilder_.getMessageOrBuilderList(); } else { @@ -1949,68 +1687,52 @@ public Builder removeConfigSteps(int index) { } } /** - * - * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder - addConfigStepsBuilder() { - return getConfigStepsFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder addConfigStepsBuilder() { + return getConfigStepsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDefaultInstance()); } /** - * - * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder - addConfigStepsBuilder(int index) { - return getConfigStepsFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder addConfigStepsBuilder( + int index) { + return getConfigStepsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDefaultInstance()); } /** - * - * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ - public java.util.List - getConfigStepsBuilderList() { + public java.util.List + getConfigStepsBuilderList() { return getConfigStepsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder> getConfigStepsFieldBuilder() { if (configStepsBuilder_ == null) { - configStepsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder>( - configSteps_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + configStepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder>( + configSteps_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); configSteps_ = null; } return configStepsBuilder_; @@ -2018,67 +1740,51 @@ public Builder removeConfigSteps(int index) { private int state_ = 0; /** - * - * *
      * Compliance state of the OS policy resource.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Compliance state of the OS policy resource.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Compliance state of the OS policy resource.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3; - * * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = - com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED : result; } /** - * - * *
      * Compliance state of the OS policy resource.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3; - * * @param value The state to set. * @return This builder for chaining. */ @@ -2086,46 +1792,34 @@ public Builder setState(com.google.cloud.osconfig.v1alpha.OSPolicyComplianceStat if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Compliance state of the OS policy resource.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance - .ExecResourceOutputOrBuilder> - execResourceOutputBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> execResourceOutputBuilder_; /** - * - * *
      * ExecResource specific output.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; * @return Whether the execResourceOutput field is set. */ @java.lang.Override @@ -2133,49 +1827,35 @@ public boolean hasExecResourceOutput() { return outputCase_ == 4; } /** - * - * *
      * ExecResource specific output.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; * @return The execResourceOutput. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - getExecResourceOutput() { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput() { if (execResourceOutputBuilder_ == null) { if (outputCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) - output_; + return (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_; } - return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } else { if (outputCase_ == 4) { return execResourceOutputBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } } /** - * - * *
      * ExecResource specific output.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; */ - public Builder setExecResourceOutput( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput value) { + public Builder setExecResourceOutput(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput value) { if (execResourceOutputBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2189,19 +1869,14 @@ public Builder setExecResourceOutput( return this; } /** - * - * *
      * ExecResource specific output.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; */ public Builder setExecResourceOutput( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder builderForValue) { if (execResourceOutputBuilder_ == null) { output_ = builderForValue.build(); onChanged(); @@ -2212,31 +1887,18 @@ public Builder setExecResourceOutput( return this; } /** - * - * *
      * ExecResource specific output.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; */ - public Builder mergeExecResourceOutput( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput value) { + public Builder mergeExecResourceOutput(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput value) { if (execResourceOutputBuilder_ == null) { - if (outputCase_ == 4 - && output_ - != com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - .getDefaultInstance()) { - output_ = - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - .newBuilder( - (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance - .ExecResourceOutput) - output_) - .mergeFrom(value) - .buildPartial(); + if (outputCase_ == 4 && + output_ != com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) { + output_ = com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_) + .mergeFrom(value).buildPartial(); } else { output_ = value; } @@ -2252,15 +1914,11 @@ public Builder mergeExecResourceOutput( return this; } /** - * - * *
      * ExecResource specific output.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; */ public Builder clearExecResourceOutput() { if (execResourceOutputBuilder_ == null) { @@ -2279,89 +1937,61 @@ public Builder clearExecResourceOutput() { return this; } /** - * - * *
      * ExecResource specific output.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder - getExecResourceOutputBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder getExecResourceOutputBuilder() { return getExecResourceOutputFieldBuilder().getBuilder(); } /** - * - * *
      * ExecResource specific output.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder - getExecResourceOutputOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder() { if ((outputCase_ == 4) && (execResourceOutputBuilder_ != null)) { return execResourceOutputBuilder_.getMessageOrBuilder(); } else { if (outputCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) - output_; + return (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_; } - return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - .getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } } /** - * - * *
      * ExecResource specific output.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance - .ExecResourceOutputOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> getExecResourceOutputFieldBuilder() { if (execResourceOutputBuilder_ == null) { if (!(outputCase_ == 4)) { - output_ = - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - .getDefaultInstance(); + output_ = com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } - execResourceOutputBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - .Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance - .ExecResourceOutputOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) - output_, + execResourceOutputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_, getParentForChildren(), isClean()); output_ = null; } outputCase_ = 4; - onChanged(); - ; + onChanged();; return execResourceOutputBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2371,13 +2001,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance(); } @@ -2386,16 +2015,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyResourceCompliance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyResourceCompliance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyResourceCompliance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyResourceCompliance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2410,4 +2039,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceComplianceOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceComplianceOrBuilder.java similarity index 65% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceComplianceOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceComplianceOrBuilder.java index baf97d88..ebc40447 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceComplianceOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceComplianceOrBuilder.java @@ -1,184 +1,126 @@ -/* - * 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/osconfig/v1alpha/config_common.proto package com.google.cloud.osconfig.v1alpha; -@java.lang.Deprecated -public interface OSPolicyResourceComplianceOrBuilder - extends +@java.lang.Deprecated public interface OSPolicyResourceComplianceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The id of the OS policy resource.
    * 
* * string os_policy_resource_id = 1; - * * @return The osPolicyResourceId. */ java.lang.String getOsPolicyResourceId(); /** - * - * *
    * The id of the OS policy resource.
    * 
* * string os_policy_resource_id = 1; - * * @return The bytes for osPolicyResourceId. */ - com.google.protobuf.ByteString getOsPolicyResourceIdBytes(); + com.google.protobuf.ByteString + getOsPolicyResourceIdBytes(); /** - * - * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ - java.util.List getConfigStepsList(); + java.util.List + getConfigStepsList(); /** - * - * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep getConfigSteps(int index); /** - * - * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ int getConfigStepsCount(); /** - * - * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ - java.util.List + java.util.List getConfigStepsOrBuilderList(); /** - * - * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; - * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; */ com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder( int index); /** - * - * *
    * Compliance state of the OS policy resource.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Compliance state of the OS policy resource.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3; - * * @return The state. */ com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState(); /** - * - * *
    * ExecResource specific output.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; * @return Whether the execResourceOutput field is set. */ boolean hasExecResourceOutput(); /** - * - * *
    * ExecResource specific output.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; * @return The execResourceOutput. */ - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput - getExecResourceOutput(); + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput(); /** - * - * *
    * ExecResource specific output.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; - * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; */ - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder - getExecResourceOutputOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder(); public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.OutputCase getOutputCase(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStep.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStep.java similarity index 70% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStep.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStep.java index e52961ca..83daccef 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStep.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStep.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1alpha/config_common.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * Step performed by the OS Config agent for configuring an `OSPolicyResource`
  * to its desired state.
@@ -28,17 +11,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep}
  */
-@java.lang.Deprecated
-public final class OSPolicyResourceConfigStep extends com.google.protobuf.GeneratedMessageV3
-    implements
+@java.lang.Deprecated public final class OSPolicyResourceConfigStep extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep)
     OSPolicyResourceConfigStepOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OSPolicyResourceConfigStep.newBuilder() to construct.
   private OSPolicyResourceConfigStep(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OSPolicyResourceConfigStep() {
     type_ = 0;
     outcome_ = 0;
@@ -47,15 +28,16 @@ private OSPolicyResourceConfigStep() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OSPolicyResourceConfigStep();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OSPolicyResourceConfigStep(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,34 +56,31 @@ private OSPolicyResourceConfigStep(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              type_ = rawValue;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            type_ = rawValue;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              outcome_ = rawValue;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            outcome_ = rawValue;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              errorMessage_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            errorMessage_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -109,42 +88,36 @@ private OSPolicyResourceConfigStep(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.ConfigCommonProto
-        .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.ConfigCommonProto
-        .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.class,
-            com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder.class);
+            com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.class, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Supported configuration step types
    * 
* * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type} */ - @java.lang.Deprecated - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + @java.lang.Deprecated public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value. This value is unused.
      * 
@@ -153,8 +126,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Validation to detect resource conflicts, schema errors, etc.
      * 
@@ -163,8 +134,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ VALIDATION(1), /** - * - * *
      * Check the current desired state status of the resource.
      * 
@@ -173,8 +142,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DESIRED_STATE_CHECK(2), /** - * - * *
      * Enforce the desired state for a resource that is not in desired state.
      * 
@@ -183,8 +150,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DESIRED_STATE_ENFORCEMENT(3), /** - * - * *
      * Re-check desired state status for a resource after enforcement of all
      * resources in the current configuration run.
@@ -201,8 +166,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value. This value is unused.
      * 
@@ -211,8 +174,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Validation to detect resource conflicts, schema errors, etc.
      * 
@@ -221,8 +182,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VALIDATION_VALUE = 1; /** - * - * *
      * Check the current desired state status of the resource.
      * 
@@ -231,8 +190,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DESIRED_STATE_CHECK_VALUE = 2; /** - * - * *
      * Enforce the desired state for a resource that is not in desired state.
      * 
@@ -241,8 +198,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DESIRED_STATE_ENFORCEMENT_VALUE = 3; /** - * - * *
      * Re-check desired state status for a resource after enforcement of all
      * resources in the current configuration run.
@@ -256,6 +211,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DESIRED_STATE_CHECK_POST_ENFORCEMENT_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -280,55 +236,51 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0:
-          return TYPE_UNSPECIFIED;
-        case 1:
-          return VALIDATION;
-        case 2:
-          return DESIRED_STATE_CHECK;
-        case 3:
-          return DESIRED_STATE_ENFORCEMENT;
-        case 4:
-          return DESIRED_STATE_CHECK_POST_ENFORCEMENT;
-        default:
-          return null;
+        case 0: return TYPE_UNSPECIFIED;
+        case 1: return VALIDATION;
+        case 2: return DESIRED_STATE_CHECK;
+        case 3: return DESIRED_STATE_ENFORCEMENT;
+        case 4: return DESIRED_STATE_CHECK_POST_ENFORCEMENT;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Type> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Type findValueByNumber(int number) {
+              return Type.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Type findValueByNumber(int number) {
-            return Type.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Type valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -346,19 +298,15 @@ private Type(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Supported outcomes for a configuration step.
    * 
* * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome} */ - @java.lang.Deprecated - public enum Outcome implements com.google.protobuf.ProtocolMessageEnum { + @java.lang.Deprecated public enum Outcome + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value. This value is unused.
      * 
@@ -367,8 +315,6 @@ public enum Outcome implements com.google.protobuf.ProtocolMessageEnum { */ OUTCOME_UNSPECIFIED(0), /** - * - * *
      * The step succeeded.
      * 
@@ -377,8 +323,6 @@ public enum Outcome implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(1), /** - * - * *
      * The step failed.
      * 
@@ -390,8 +334,6 @@ public enum Outcome implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value. This value is unused.
      * 
@@ -400,8 +342,6 @@ public enum Outcome implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OUTCOME_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The step succeeded.
      * 
@@ -410,8 +350,6 @@ public enum Outcome implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 1; /** - * - * *
      * The step failed.
      * 
@@ -420,6 +358,7 @@ public enum Outcome implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -444,51 +383,49 @@ public static Outcome valueOf(int value) { */ public static Outcome forNumber(int value) { switch (value) { - case 0: - return OUTCOME_UNSPECIFIED; - case 1: - return SUCCEEDED; - case 2: - return FAILED; - default: - return null; + case 0: return OUTCOME_UNSPECIFIED; + case 1: return SUCCEEDED; + case 2: return FAILED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Outcome> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Outcome findValueByNumber(int number) { + return Outcome.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Outcome findValueByNumber(int number) { - return Outcome.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDescriptor().getEnumTypes().get(1); } private static final Outcome[] VALUES = values(); - public static Outcome valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Outcome valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -508,91 +445,66 @@ private Outcome(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - * - * *
    * Configuration step type.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Configuration step type.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type getType() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type result = - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.valueOf(type_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type result = com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.valueOf(type_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.UNRECOGNIZED : result; } public static final int OUTCOME_FIELD_NUMBER = 2; private int outcome_; /** - * - * *
    * Outcome of the configuration step.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2; - * * @return The enum numeric value on the wire for outcome. */ - @java.lang.Override - public int getOutcomeValue() { + @java.lang.Override public int getOutcomeValue() { return outcome_; } /** - * - * *
    * Outcome of the configuration step.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2; - * * @return The outcome. */ - @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome getOutcome() { + @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome getOutcome() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome result = - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.valueOf(outcome_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome result = com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.valueOf(outcome_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.UNRECOGNIZED : result; } public static final int ERROR_MESSAGE_FIELD_NUMBER = 3; private volatile java.lang.Object errorMessage_; /** - * - * *
    * An error message recorded during the execution of this step.
    * Only populated when outcome is FAILED.
    * 
* * string error_message = 3; - * * @return The errorMessage. */ @java.lang.Override @@ -601,30 +513,30 @@ public java.lang.String getErrorMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } } /** - * - * *
    * An error message recorded during the execution of this step.
    * Only populated when outcome is FAILED.
    * 
* * string error_message = 3; - * * @return The bytes for errorMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getErrorMessageBytes() { + public com.google.protobuf.ByteString + getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -633,7 +545,6 @@ public com.google.protobuf.ByteString getErrorMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -645,15 +556,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } - if (outcome_ - != com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.OUTCOME_UNSPECIFIED - .getNumber()) { + if (outcome_ != com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.OUTCOME_UNSPECIFIED.getNumber()) { output.writeEnum(2, outcome_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { @@ -668,15 +576,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } - if (outcome_ - != com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.OUTCOME_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, outcome_); + if (outcome_ != com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.OUTCOME_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, outcome_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, errorMessage_); @@ -689,17 +595,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep other = - (com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep other = (com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep) obj; if (type_ != other.type_) return false; if (outcome_ != other.outcome_) return false; - if (!getErrorMessage().equals(other.getErrorMessage())) return false; + if (!getErrorMessage() + .equals(other.getErrorMessage())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -723,104 +629,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep 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.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Step performed by the OS Config agent for configuring an `OSPolicyResource`
    * to its desired state.
@@ -828,23 +726,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep)
       com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.ConfigCommonProto
-          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.ConfigCommonProto
-          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.class,
-              com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder.class);
+              com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.class, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.newBuilder()
@@ -852,15 +748,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -874,14 +771,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.ConfigCommonProto
-          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep
-        getDefaultInstanceForType() {
+    public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep getDefaultInstanceForType() {
       return com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDefaultInstance();
     }
 
@@ -896,8 +792,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep buildPartial() {
-      com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep result =
-          new com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep(this);
+      com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep result = new com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep(this);
       result.type_ = type_;
       result.outcome_ = outcome_;
       result.errorMessage_ = errorMessage_;
@@ -909,39 +804,38 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep buildPartial
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.OSPolicyResourceConfigStep) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep) other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -949,9 +843,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep other) {
-      if (other
-          == com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDefaultInstance()) return this;
       if (other.type_ != 0) {
         setTypeValue(other.getTypeValue());
       }
@@ -981,8 +873,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -994,93 +885,73 @@ public Builder mergeFrom(
 
     private int type_ = 0;
     /**
-     *
-     *
      * 
      * Configuration step type.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Configuration step type.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * Configuration step type.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1; - * * @return The type. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type result = - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.valueOf(type_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type result = com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.valueOf(type_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.UNRECOGNIZED : result; } /** - * - * *
      * Configuration step type.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type value) { + public Builder setType(com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Configuration step type.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1088,93 +959,73 @@ public Builder clearType() { private int outcome_ = 0; /** - * - * *
      * Outcome of the configuration step.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2; - * * @return The enum numeric value on the wire for outcome. */ - @java.lang.Override - public int getOutcomeValue() { + @java.lang.Override public int getOutcomeValue() { return outcome_; } /** - * - * *
      * Outcome of the configuration step.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2; - * * @param value The enum numeric value on the wire for outcome to set. * @return This builder for chaining. */ public Builder setOutcomeValue(int value) { - + outcome_ = value; onChanged(); return this; } /** - * - * *
      * Outcome of the configuration step.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2; - * * @return The outcome. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome getOutcome() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome result = - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.valueOf(outcome_); - return result == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome result = com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.valueOf(outcome_); + return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.UNRECOGNIZED : result; } /** - * - * *
      * Outcome of the configuration step.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2; - * * @param value The outcome to set. * @return This builder for chaining. */ - public Builder setOutcome( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome value) { + public Builder setOutcome(com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome value) { if (value == null) { throw new NullPointerException(); } - + outcome_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Outcome of the configuration step.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2; - * * @return This builder for chaining. */ public Builder clearOutcome() { - + outcome_ = 0; onChanged(); return this; @@ -1182,21 +1033,19 @@ public Builder clearOutcome() { private java.lang.Object errorMessage_ = ""; /** - * - * *
      * An error message recorded during the execution of this step.
      * Only populated when outcome is FAILED.
      * 
* * string error_message = 3; - * * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; @@ -1205,22 +1054,21 @@ public java.lang.String getErrorMessage() { } } /** - * - * *
      * An error message recorded during the execution of this step.
      * Only populated when outcome is FAILED.
      * 
* * string error_message = 3; - * * @return The bytes for errorMessage. */ - public com.google.protobuf.ByteString getErrorMessageBytes() { + public com.google.protobuf.ByteString + getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -1228,71 +1076,64 @@ public com.google.protobuf.ByteString getErrorMessageBytes() { } } /** - * - * *
      * An error message recorded during the execution of this step.
      * Only populated when outcome is FAILED.
      * 
* * string error_message = 3; - * * @param value The errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessage(java.lang.String value) { + public Builder setErrorMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorMessage_ = value; onChanged(); return this; } /** - * - * *
      * An error message recorded during the execution of this step.
      * Only populated when outcome is FAILED.
      * 
* * string error_message = 3; - * * @return This builder for chaining. */ public Builder clearErrorMessage() { - + errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** - * - * *
      * An error message recorded during the execution of this step.
      * Only populated when outcome is FAILED.
      * 
* * string error_message = 3; - * * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { + public Builder setErrorMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorMessage_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1302,13 +1143,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep(); } @@ -1317,16 +1157,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyResourceConfigStep parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyResourceConfigStep(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyResourceConfigStep parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyResourceConfigStep(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1341,4 +1181,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStepOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStepOrBuilder.java similarity index 69% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStepOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStepOrBuilder.java index b3eca981..0eddc5af 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStepOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStepOrBuilder.java @@ -1,103 +1,69 @@ -/* - * 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/osconfig/v1alpha/config_common.proto package com.google.cloud.osconfig.v1alpha; -@java.lang.Deprecated -public interface OSPolicyResourceConfigStepOrBuilder - extends +@java.lang.Deprecated public interface OSPolicyResourceConfigStepOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Configuration step type.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Configuration step type.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1; - * * @return The type. */ com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type getType(); /** - * - * *
    * Outcome of the configuration step.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2; - * * @return The enum numeric value on the wire for outcome. */ int getOutcomeValue(); /** - * - * *
    * Outcome of the configuration step.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2; - * * @return The outcome. */ com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome getOutcome(); /** - * - * *
    * An error message recorded during the execution of this step.
    * Only populated when outcome is FAILED.
    * 
* * string error_message = 3; - * * @return The errorMessage. */ java.lang.String getErrorMessage(); /** - * - * *
    * An error message recorded during the execution of this step.
    * Only populated when outcome is FAILED.
    * 
* * string error_message = 3; - * * @return The bytes for errorMessage. */ - com.google.protobuf.ByteString getErrorMessageBytes(); + com.google.protobuf.ByteString + getErrorMessageBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java new file mode 100644 index 00000000..71811eac --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java @@ -0,0 +1,176 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/osconfig/v1alpha/osconfig_zonal_service.proto + +package com.google.cloud.osconfig.v1alpha; + +public final class OsConfigZonalServiceProto { + private OsConfigZonalServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n:google/cloud/osconfig/v1alpha/osconfig" + + "_zonal_service.proto\022\035google.cloud.oscon" + + "fig.v1alpha\032\034google/api/annotations.prot" + + "o\032\027google/api/client.proto\032\031google/api/r" + + "esource.proto\032Cgoogle/cloud/osconfig/v1a" + + "lpha/instance_os_policies_compliance.pro" + + "to\032-google/cloud/osconfig/v1alpha/invent" + + "ory.proto\032@google/cloud/osconfig/v1alpha" + + "/os_policy_assignment_reports.proto\0329goo" + + "gle/cloud/osconfig/v1alpha/os_policy_ass" + + "ignments.proto\0321google/cloud/osconfig/v1" + + "alpha/vulnerability.proto\032#google/longru" + + "nning/operations.proto2\350\034\n\024OsConfigZonal" + + "Service\022\310\002\n\030CreateOSPolicyAssignment\022>.g" + + "oogle.cloud.osconfig.v1alpha.CreateOSPol" + + "icyAssignmentRequest\032\035.google.longrunnin" + + "g.Operation\"\314\001\202\323\344\223\002T\".google.cloud.osconfig.v1alpha." + + "UpdateOSPolicyAssignmentRequest\032\035.google" + + ".longrunning.Operation\"\316\001\202\323\344\223\002i2Q/v1alph" + + "a/{os_policy_assignment.name=projects/*/" + + "locations/*/osPolicyAssignments/*}:\024os_p" + + "olicy_assignment\332A os_policy_assignment," + + "update_mask\312A9\n\022OSPolicyAssignment\022#OSPo" + + "licyAssignmentOperationMetadata\022\324\001\n\025GetO" + + "SPolicyAssignment\022;.google.cloud.osconfi" + + "g.v1alpha.GetOSPolicyAssignmentRequest\0321" + + ".google.cloud.osconfig.v1alpha.OSPolicyA" + + "ssignment\"K\202\323\344\223\002>\022.google.cloud.osconfi" + + "g.v1alpha.ListOSPolicyAssignmentsRespons" + + "e\"M\202\323\344\223\002>\022.google.cloud.oscon" + + "fig.v1alpha.DeleteOSPolicyAssignmentRequ" + + "est\032\035.google.longrunning.Operation\"\212\001\202\323\344" + + "\223\002>*\022.google.cloud.osconfig." + + "v1alpha.ListVulnerabilityReportsRequest\032" + + "?.google.cloud.osconfig.v1alpha.ListVuln" + + "erabilityReportsResponse\"Z\202\323\344\223\002K\022I/v1alp" + + "ha/{parent=projects/*/locations/*/instan" + + "ces/*}/vulnerabilityReports\332A\006parent\032K\312A" + + "\027osconfig.googleapis.com\322A.https://www.g" + + "oogleapis.com/auth/cloud-platformB\314\002\n!co" + + "m.google.cloud.osconfig.v1alphaB\031OsConfi" + + "gZonalServiceProtoP\001ZEgoogle.golang.org/" + + "genproto/googleapis/cloud/osconfig/v1alp" + + "ha;osconfig\252\002\035Google.Cloud.OsConfig.V1Al" + + "pha\312\002\035Google\\Cloud\\OsConfig\\V1alpha\352\002 Go" + + "ogle::Cloud::OsConfig::V1alpha\352A_\n\037compu" + + "te.googleapis.com/Instance\022.google.cloud.osconfig.v1alpha." + + "OSPolicyAssignment.RolloutStateB\003\340A\003\022\025\n\010" + + "baseline\030\n \001(\010B\003\340A\003\022\024\n\007deleted\030\013 \001(\010B\003\340A" + + "\003\022\030\n\013reconciling\030\014 \001(\010B\003\340A\003\022\020\n\003uid\030\r \001(\t" + + "B\003\340A\003\032\221\001\n\010LabelSet\022V\n\006labels\030\001 \003(\0132F.goo" + + "gle.cloud.osconfig.v1alpha.OSPolicyAssig" + + "nment.LabelSet.LabelsEntry\032-\n\013LabelsEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\203\003\n\016In" + + "stanceFilter\022\013\n\003all\030\001 \001(\010\022\032\n\016os_short_na" + + "mes\030\002 \003(\tB\002\030\001\022T\n\020inclusion_labels\030\003 \003(\0132" + + ":.google.cloud.osconfig.v1alpha.OSPolicy" + + "Assignment.LabelSet\022T\n\020exclusion_labels\030" + + "\004 \003(\0132:.google.cloud.osconfig.v1alpha.OS" + + "PolicyAssignment.LabelSet\022_\n\013inventories" + + "\030\005 \003(\0132J.google.cloud.osconfig.v1alpha.O" + + "SPolicyAssignment.InstanceFilter.Invento" + + "ry\032;\n\tInventory\022\032\n\ros_short_name\030\001 \001(\tB\003" + + "\340A\002\022\022\n\nos_version\030\002 \001(\t\032\223\001\n\007Rollout\022M\n\021d" + + "isruption_budget\030\001 \001(\0132-.google.cloud.os" + + "config.v1alpha.FixedOrPercentB\003\340A\002\0229\n\021mi" + + "n_wait_duration\030\002 \001(\0132\031.google.protobuf." + + "DurationB\003\340A\002\"l\n\014RolloutState\022\035\n\031ROLLOUT" + + "_STATE_UNSPECIFIED\020\000\022\017\n\013IN_PROGRESS\020\001\022\016\n" + + "\nCANCELLING\020\002\022\r\n\tCANCELLED\020\003\022\r\n\tSUCCEEDE" + + "D\020\004:\204\001\352A\200\001\n*osconfig.googleapis.com/OSPo" + + "licyAssignment\022Rprojects/{project}/locat" + + "ions/{location}/osPolicyAssignments/{os_" + + "policy_assignment}\"\352\004\n#OSPolicyAssignmen" + + "tOperationMetadata\022M\n\024os_policy_assignme" + + "nt\030\001 \001(\tB/\372A,\n*osconfig.googleapis.com/O" + + "SPolicyAssignment\022`\n\napi_method\030\002 \001(\0162L." + + "google.cloud.osconfig.v1alpha.OSPolicyAs" + + "signmentOperationMetadata.APIMethod\022f\n\rr" + + "ollout_state\030\003 \001(\0162O.google.cloud.osconf" + + "ig.v1alpha.OSPolicyAssignmentOperationMe" + + "tadata.RolloutState\0226\n\022rollout_start_tim" + + "e\030\004 \001(\0132\032.google.protobuf.Timestamp\0227\n\023r" + + "ollout_update_time\030\005 \001(\0132\032.google.protob" + + "uf.Timestamp\"K\n\tAPIMethod\022\032\n\026API_METHOD_" + + "UNSPECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006UPDATE\020\002\022\n\n" + + "\006DELETE\020\003\"l\n\014RolloutState\022\035\n\031ROLLOUT_STA" + + "TE_UNSPECIFIED\020\000\022\017\n\013IN_PROGRESS\020\001\022\016\n\nCAN" + + "CELLING\020\002\022\r\n\tCANCELLED\020\003\022\r\n\tSUCCEEDED\020\004\"" + + "\330\001\n\037CreateOSPolicyAssignmentRequest\0229\n\006p" + + "arent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapi" + + "s.com/Location\022T\n\024os_policy_assignment\030\002" + + " \001(\01321.google.cloud.osconfig.v1alpha.OSP" + + "olicyAssignmentB\003\340A\002\022$\n\027os_policy_assign" + + "ment_id\030\003 \001(\tB\003\340A\002\"\255\001\n\037UpdateOSPolicyAss" + + "ignmentRequest\022T\n\024os_policy_assignment\030\001" + + " \001(\01321.google.cloud.osconfig.v1alpha.OSP" + + "olicyAssignmentB\003\340A\002\0224\n\013update_mask\030\002 \001(" + + "\0132\032.google.protobuf.FieldMaskB\003\340A\001\"`\n\034Ge" + + "tOSPolicyAssignmentRequest\022@\n\004name\030\001 \001(\t" + + "B2\340A\002\372A,\n*osconfig.googleapis.com/OSPoli" + + "cyAssignment\"\202\001\n\036ListOSPolicyAssignments" + + "Request\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locatio" + + "ns.googleapis.com/Location\022\021\n\tpage_size\030" + + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\214\001\n\037ListOSPoli" + + "cyAssignmentsResponse\022P\n\025os_policy_assig" + + "nments\030\001 \003(\01321.google.cloud.osconfig.v1a" + + "lpha.OSPolicyAssignment\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"\221\001\n&ListOSPolicyAssignmentRevis" + + "ionsRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*oscon" + + "fig.googleapis.com/OSPolicyAssignment\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\224\001\n" + + "\'ListOSPolicyAssignmentRevisionsResponse" + + "\022P\n\025os_policy_assignments\030\001 \003(\01321.google" + + ".cloud.osconfig.v1alpha.OSPolicyAssignme" + + "nt\022\027\n\017next_page_token\030\002 \001(\t\"c\n\037DeleteOSP" + + "olicyAssignmentRequest\022@\n\004name\030\001 \001(\tB2\340A" + + "\002\372A,\n*osconfig.googleapis.com/OSPolicyAs" + + "signmentB\351\001\n!com.google.cloud.osconfig.v" + + "1alphaB\030OsPolicyAssignmentsProtoP\001ZEgoog" + + "le.golang.org/genproto/googleapis/cloud/" + + "osconfig/v1alpha;osconfig\252\002\035Google.Cloud" + + ".OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsConfi" + + "g\\V1alpha\352\002 Google::Cloud::OsConfig::V1a" + + "lphab\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.osconfig.v1alpha.OsPolicyProto.getDescriptor(), + com.google.cloud.osconfig.v1alpha.Common.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor, + new java.lang.String[] { "Name", "Description", "OsPolicies", "InstanceFilter", "Rollout", "RevisionId", "RevisionCreateTime", "Etag", "RolloutState", "Baseline", "Deleted", "Reconciling", "Uid", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor, + new java.lang.String[] { "Labels", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor, + new java.lang.String[] { "All", "OsShortNames", "InclusionLabels", "ExclusionLabels", "Inventories", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor, + new java.lang.String[] { "OsShortName", "OsVersion", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor, + new java.lang.String[] { "DisruptionBudget", "MinWaitDuration", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor, + new java.lang.String[] { "OsPolicyAssignment", "ApiMethod", "RolloutState", "RolloutStartTime", "RolloutUpdateTime", }); + internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor, + new java.lang.String[] { "Parent", "OsPolicyAssignment", "OsPolicyAssignmentId", }); + internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor, + new java.lang.String[] { "OsPolicyAssignment", "UpdateMask", }); + internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor, + new java.lang.String[] { "OsPolicyAssignments", "NextPageToken", }); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor, + new java.lang.String[] { "Name", "PageSize", "PageToken", }); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor, + new java.lang.String[] { "OsPolicyAssignments", "NextPageToken", }); + internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.osconfig.v1alpha.OsPolicyProto.getDescriptor(); + com.google.cloud.osconfig.v1alpha.Common.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyProto.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyProto.java new file mode 100644 index 00000000..386f91c0 --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyProto.java @@ -0,0 +1,429 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/osconfig/v1alpha/os_policy.proto + +package com.google.cloud.osconfig.v1alpha; + +public final class OsPolicyProto { + private OsPolicyProto() {} + 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_osconfig_v1alpha_OSPolicy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n-google/cloud/osconfig/v1alpha/os_polic" + + "y.proto\022\035google.cloud.osconfig.v1alpha\032\034" + + "google/api/annotations.proto\032\037google/api" + + "/field_behavior.proto\"\204#\n\010OSPolicy\022\017\n\002id" + + "\030\001 \001(\tB\003\340A\002\022\023\n\013description\030\002 \001(\t\022?\n\004mode" + + "\030\003 \001(\0162,.google.cloud.osconfig.v1alpha.O" + + "SPolicy.ModeB\003\340A\002\022S\n\017resource_groups\030\004 \003" + + "(\01325.google.cloud.osconfig.v1alpha.OSPol" + + "icy.ResourceGroupB\003\340A\002\022%\n\035allow_no_resou" + + "rce_group_match\030\005 \001(\010\0325\n\010OSFilter\022\025\n\ros_" + + "short_name\030\001 \001(\t\022\022\n\nos_version\030\002 \001(\t\032A\n\017" + + "InventoryFilter\022\032\n\ros_short_name\030\001 \001(\tB\003" + + "\340A\002\022\022\n\nos_version\030\002 \001(\t\032\342\035\n\010Resource\022\017\n\002" + + "id\030\001 \001(\tB\003\340A\002\022O\n\003pkg\030\002 \001(\0132@.google.clou" + + "d.osconfig.v1alpha.OSPolicy.Resource.Pac" + + "kageResourceH\000\022Y\n\nrepository\030\003 \001(\0132C.goo" + + "gle.cloud.osconfig.v1alpha.OSPolicy.Reso" + + "urce.RepositoryResourceH\000\022M\n\004exec\030\004 \001(\0132" + + "=.google.cloud.osconfig.v1alpha.OSPolicy" + + ".Resource.ExecResourceH\000\022M\n\004file\030\005 \001(\0132=" + + ".google.cloud.osconfig.v1alpha.OSPolicy." + + "Resource.FileResourceH\000\032\320\002\n\004File\022N\n\006remo" + + "te\030\001 \001(\0132<.google.cloud.osconfig.v1alpha" + + ".OSPolicy.Resource.File.RemoteH\000\022H\n\003gcs\030" + + "\002 \001(\01329.google.cloud.osconfig.v1alpha.OS" + + "Policy.Resource.File.GcsH\000\022\024\n\nlocal_path" + + "\030\003 \001(\tH\000\022\026\n\016allow_insecure\030\004 \001(\010\0323\n\006Remo" + + "te\022\020\n\003uri\030\001 \001(\tB\003\340A\002\022\027\n\017sha256_checksum\030" + + "\002 \001(\t\032C\n\003Gcs\022\023\n\006bucket\030\001 \001(\tB\003\340A\002\022\023\n\006obj" + + "ect\030\002 \001(\tB\003\340A\002\022\022\n\ngeneration\030\003 \001(\003B\006\n\004ty" + + "pe\032\331\t\n\017PackageResource\022i\n\rdesired_state\030" + + "\001 \001(\0162M.google.cloud.osconfig.v1alpha.OS" + + "Policy.Resource.PackageResource.DesiredS" + + "tateB\003\340A\002\022S\n\003apt\030\002 \001(\0132D.google.cloud.os" + + "config.v1alpha.OSPolicy.Resource.Package" + + "Resource.APTH\000\022S\n\003deb\030\003 \001(\0132D.google.clo" + + "ud.osconfig.v1alpha.OSPolicy.Resource.Pa" + + "ckageResource.DebH\000\022S\n\003yum\030\004 \001(\0132D.googl" + + "e.cloud.osconfig.v1alpha.OSPolicy.Resour" + + "ce.PackageResource.YUMH\000\022Y\n\006zypper\030\005 \001(\013" + + "2G.google.cloud.osconfig.v1alpha.OSPolic" + + "y.Resource.PackageResource.ZypperH\000\022S\n\003r" + + "pm\030\006 \001(\0132D.google.cloud.osconfig.v1alpha" + + ".OSPolicy.Resource.PackageResource.RPMH\000" + + "\022Y\n\006googet\030\007 \001(\0132G.google.cloud.osconfig" + + ".v1alpha.OSPolicy.Resource.PackageResour" + + "ce.GooGetH\000\022S\n\003msi\030\010 \001(\0132D.google.cloud." + + "osconfig.v1alpha.OSPolicy.Resource.Packa" + + "geResource.MSIH\000\032d\n\003Deb\022J\n\006source\030\001 \001(\0132" + + "5.google.cloud.osconfig.v1alpha.OSPolicy" + + ".Resource.FileB\003\340A\002\022\021\n\tpull_deps\030\002 \001(\010\032\030" + + "\n\003APT\022\021\n\004name\030\001 \001(\tB\003\340A\002\032d\n\003RPM\022J\n\006sourc" + + "e\030\001 \001(\01325.google.cloud.osconfig.v1alpha." + + "OSPolicy.Resource.FileB\003\340A\002\022\021\n\tpull_deps" + + "\030\002 \001(\010\032\030\n\003YUM\022\021\n\004name\030\001 \001(\tB\003\340A\002\032\033\n\006Zypp" + + "er\022\021\n\004name\030\001 \001(\tB\003\340A\002\032\033\n\006GooGet\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\002\032e\n\003MSI\022J\n\006source\030\001 \001(\01325.goog" + + "le.cloud.osconfig.v1alpha.OSPolicy.Resou" + + "rce.FileB\003\340A\002\022\022\n\nproperties\030\002 \003(\t\"I\n\014Des" + + "iredState\022\035\n\031DESIRED_STATE_UNSPECIFIED\020\000" + + "\022\r\n\tINSTALLED\020\001\022\013\n\007REMOVED\020\002B\020\n\016system_p" + + "ackage\032\321\007\n\022RepositoryResource\022`\n\003apt\030\001 \001" + + "(\0132Q.google.cloud.osconfig.v1alpha.OSPol" + + "icy.Resource.RepositoryResource.AptRepos" + + "itoryH\000\022`\n\003yum\030\002 \001(\0132Q.google.cloud.osco" + + "nfig.v1alpha.OSPolicy.Resource.Repositor" + + "yResource.YumRepositoryH\000\022f\n\006zypper\030\003 \001(" + + "\0132T.google.cloud.osconfig.v1alpha.OSPoli" + + "cy.Resource.RepositoryResource.ZypperRep" + + "ositoryH\000\022`\n\003goo\030\004 \001(\0132Q.google.cloud.os" + + "config.v1alpha.OSPolicy.Resource.Reposit" + + "oryResource.GooRepositoryH\000\032\243\002\n\rAptRepos" + + "itory\022x\n\014archive_type\030\001 \001(\0162].google.clo" + + "ud.osconfig.v1alpha.OSPolicy.Resource.Re" + + "positoryResource.AptRepository.ArchiveTy" + + "peB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\031\n\014distributio" + + "n\030\003 \001(\tB\003\340A\002\022\027\n\ncomponents\030\004 \003(\tB\003\340A\002\022\017\n" + + "\007gpg_key\030\005 \001(\t\"A\n\013ArchiveType\022\034\n\030ARCHIVE" + + "_TYPE_UNSPECIFIED\020\000\022\007\n\003DEB\020\001\022\013\n\007DEB_SRC\020" + + "\002\032_\n\rYumRepository\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014d" + + "isplay_name\030\002 \001(\t\022\025\n\010base_url\030\003 \001(\tB\003\340A\002" + + "\022\020\n\010gpg_keys\030\004 \003(\t\032b\n\020ZypperRepository\022\017" + + "\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014display_name\030\002 \001(\t\022\025\n" + + "\010base_url\030\003 \001(\tB\003\340A\002\022\020\n\010gpg_keys\030\004 \003(\t\0324" + + "\n\rGooRepository\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003ur" + + "l\030\002 \001(\tB\003\340A\002B\014\n\nrepository\032\215\004\n\014ExecResou" + + "rce\022Y\n\010validate\030\001 \001(\0132B.google.cloud.osc" + + "onfig.v1alpha.OSPolicy.Resource.ExecReso" + + "urce.ExecB\003\340A\002\022S\n\007enforce\030\002 \001(\0132B.google" + + ".cloud.osconfig.v1alpha.OSPolicy.Resourc" + + "e.ExecResource.Exec\032\314\002\n\004Exec\022E\n\004file\030\001 \001" + + "(\01325.google.cloud.osconfig.v1alpha.OSPol" + + "icy.Resource.FileH\000\022\020\n\006script\030\002 \001(\tH\000\022\014\n" + + "\004args\030\003 \003(\t\022h\n\013interpreter\030\004 \001(\0162N.googl" + + "e.cloud.osconfig.v1alpha.OSPolicy.Resour" + + "ce.ExecResource.Exec.InterpreterB\003\340A\002\022\030\n" + + "\020output_file_path\030\005 \001(\t\"O\n\013Interpreter\022\033" + + "\n\027INTERPRETER_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\t\n" + + "\005SHELL\020\002\022\016\n\nPOWERSHELL\020\003B\010\n\006source\032\326\002\n\014F" + + "ileResource\022E\n\004file\030\001 \001(\01325.google.cloud" + + ".osconfig.v1alpha.OSPolicy.Resource.File" + + "H\000\022\021\n\007content\030\002 \001(\tH\000\022\021\n\004path\030\003 \001(\tB\003\340A\002" + + "\022^\n\005state\030\004 \001(\0162J.google.cloud.osconfig." + + "v1alpha.OSPolicy.Resource.FileResource.D" + + "esiredStateB\003\340A\002\022\023\n\013permissions\030\005 \001(\t\"Z\n" + + "\014DesiredState\022\035\n\031DESIRED_STATE_UNSPECIFI" + + "ED\020\000\022\013\n\007PRESENT\020\001\022\n\n\006ABSENT\020\002\022\022\n\016CONTENT" + + "S_MATCH\020\003B\010\n\006sourceB\017\n\rresource_type\032\366\001\n" + + "\rResourceGroup\022G\n\tos_filter\030\001 \001(\01320.goog" + + "le.cloud.osconfig.v1alpha.OSPolicy.OSFil" + + "terB\002\030\001\022R\n\021inventory_filters\030\003 \003(\01327.goo" + + "gle.cloud.osconfig.v1alpha.OSPolicy.Inve" + + "ntoryFilter\022H\n\tresources\030\002 \003(\01320.google." + + "cloud.osconfig.v1alpha.OSPolicy.Resource" + + "B\003\340A\002\"=\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\016\n\nV" + + "ALIDATION\020\001\022\017\n\013ENFORCEMENT\020\002B\336\001\n!com.goo" + + "gle.cloud.osconfig.v1alphaB\rOsPolicyProt" + + "oP\001ZEgoogle.golang.org/genproto/googleap" + + "is/cloud/osconfig/v1alpha;osconfig\252\002\035Goo" + + "gle.Cloud.OsConfig.V1Alpha\312\002\035Google\\Clou" + + "d\\OsConfig\\V1alpha\352\002 Google::Cloud::OsCo" + + "nfig::V1alphab\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor, + new java.lang.String[] { "Id", "Description", "Mode", "ResourceGroups", "AllowNoResourceGroupMatch", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor, + new java.lang.String[] { "OsShortName", "OsVersion", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor, + new java.lang.String[] { "OsShortName", "OsVersion", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor, + new java.lang.String[] { "Id", "Pkg", "Repository", "Exec", "File", "ResourceType", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor, + new java.lang.String[] { "Remote", "Gcs", "LocalPath", "AllowInsecure", "Type", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor, + new java.lang.String[] { "Uri", "Sha256Checksum", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor, + new java.lang.String[] { "Bucket", "Object", "Generation", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor, + new java.lang.String[] { "DesiredState", "Apt", "Deb", "Yum", "Zypper", "Rpm", "Googet", "Msi", "SystemPackage", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor, + new java.lang.String[] { "Source", "PullDeps", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor, + new java.lang.String[] { "Source", "PullDeps", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor, + new java.lang.String[] { "Source", "Properties", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor, + new java.lang.String[] { "Apt", "Yum", "Zypper", "Goo", "Repository", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor, + new java.lang.String[] { "ArchiveType", "Uri", "Distribution", "Components", "GpgKey", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor, + new java.lang.String[] { "Id", "DisplayName", "BaseUrl", "GpgKeys", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor, + new java.lang.String[] { "Id", "DisplayName", "BaseUrl", "GpgKeys", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor, + new java.lang.String[] { "Name", "Url", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor, + new java.lang.String[] { "Validate", "Enforce", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor, + new java.lang.String[] { "File", "Script", "Args", "Interpreter", "OutputFilePath", "Source", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor, + new java.lang.String[] { "File", "Content", "Path", "State", "Permissions", "Source", }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor, + new java.lang.String[] { "OsFilter", "InventoryFilters", "Resources", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequest.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequest.java similarity index 62% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequest.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequest.java index f38d188a..4616a274 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequest.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequest.java @@ -1,56 +1,39 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * A request message to update an OS policy assignment
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest} */ -public final class UpdateOSPolicyAssignmentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateOSPolicyAssignmentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) UpdateOSPolicyAssignmentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateOSPolicyAssignmentRequest.newBuilder() to construct. - private UpdateOSPolicyAssignmentRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateOSPolicyAssignmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateOSPolicyAssignmentRequest() {} + private UpdateOSPolicyAssignmentRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateOSPolicyAssignmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateOSPolicyAssignmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,45 +52,39 @@ private UpdateOSPolicyAssignmentRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder subBuilder = null; - if (osPolicyAssignment_ != null) { - subBuilder = osPolicyAssignment_.toBuilder(); - } - osPolicyAssignment_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(osPolicyAssignment_); - osPolicyAssignment_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder subBuilder = null; + if (osPolicyAssignment_ != null) { + subBuilder = osPolicyAssignment_.toBuilder(); + } + osPolicyAssignment_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(osPolicyAssignment_); + osPolicyAssignment_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,41 +92,34 @@ private UpdateOSPolicyAssignmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.class, - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.Builder.class); } public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1alpha.OSPolicyAssignment osPolicyAssignment_; /** - * - * *
    * Required. The updated OS policy assignment.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the osPolicyAssignment field is set. */ @java.lang.Override @@ -157,53 +127,37 @@ public boolean hasOsPolicyAssignment() { return osPolicyAssignment_ != null; } /** - * - * *
    * Required. The updated OS policy assignment.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The osPolicyAssignment. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignment() { - return osPolicyAssignment_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() - : osPolicyAssignment_; + return osPolicyAssignment_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; } /** - * - * *
    * Required. The updated OS policy assignment.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder - getOsPolicyAssignmentOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder() { return getOsPolicyAssignment(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Field mask that controls which fields of the assignment should be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -211,15 +165,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Field mask that controls which fields of the assignment should be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -227,14 +177,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Field mask that controls which fields of the assignment should be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -242,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (osPolicyAssignment_ != null) { output.writeMessage(1, getOsPolicyAssignment()); } @@ -271,10 +218,12 @@ public int getSerializedSize() { size = 0; if (osPolicyAssignment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOsPolicyAssignment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOsPolicyAssignment()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,21 +233,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest other = - (com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) obj; + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest other = (com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) obj; if (hasOsPolicyAssignment() != other.hasOsPolicyAssignment()) return false; if (hasOsPolicyAssignment()) { - if (!getOsPolicyAssignment().equals(other.getOsPolicyAssignment())) return false; + if (!getOsPolicyAssignment() + .equals(other.getOsPolicyAssignment())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -325,145 +275,134 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest 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.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest - 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.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest 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.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message to update an OS policy assignment
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.class, - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -483,14 +422,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto - .internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.getDefaultInstance(); } @@ -505,8 +443,7 @@ public com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest build() @java.lang.Override public com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest result = - new com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest(this); + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest result = new com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest(this); if (osPolicyAssignmentBuilder_ == null) { result.osPolicyAssignment_ = osPolicyAssignment_; } else { @@ -525,50 +462,46 @@ public com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest other) { - if (other - == com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest other) { + if (other == com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.getDefaultInstance()) return this; if (other.hasOsPolicyAssignment()) { mergeOsPolicyAssignment(other.getOsPolicyAssignment()); } @@ -594,9 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -608,61 +539,41 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1alpha.OSPolicyAssignment osPolicyAssignment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> - osPolicyAssignmentBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> osPolicyAssignmentBuilder_; /** - * - * *
      * Required. The updated OS policy assignment.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the osPolicyAssignment field is set. */ public boolean hasOsPolicyAssignment() { return osPolicyAssignmentBuilder_ != null || osPolicyAssignment_ != null; } /** - * - * *
      * Required. The updated OS policy assignment.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The osPolicyAssignment. */ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignment() { if (osPolicyAssignmentBuilder_ == null) { - return osPolicyAssignment_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() - : osPolicyAssignment_; + return osPolicyAssignment_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; } else { return osPolicyAssignmentBuilder_.getMessage(); } } /** - * - * *
      * Required. The updated OS policy assignment.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setOsPolicyAssignment( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { + public Builder setOsPolicyAssignment(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { if (osPolicyAssignmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -676,15 +587,11 @@ public Builder setOsPolicyAssignment( return this; } /** - * - * *
      * Required. The updated OS policy assignment.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOsPolicyAssignment( com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder builderForValue) { @@ -698,24 +605,17 @@ public Builder setOsPolicyAssignment( return this; } /** - * - * *
      * Required. The updated OS policy assignment.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeOsPolicyAssignment( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { + public Builder mergeOsPolicyAssignment(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { if (osPolicyAssignmentBuilder_ == null) { if (osPolicyAssignment_ != null) { osPolicyAssignment_ = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.newBuilder(osPolicyAssignment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.newBuilder(osPolicyAssignment_).mergeFrom(value).buildPartial(); } else { osPolicyAssignment_ = value; } @@ -727,15 +627,11 @@ public Builder mergeOsPolicyAssignment( return this; } /** - * - * *
      * Required. The updated OS policy assignment.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOsPolicyAssignment() { if (osPolicyAssignmentBuilder_ == null) { @@ -749,66 +645,48 @@ public Builder clearOsPolicyAssignment() { return this; } /** - * - * *
      * Required. The updated OS policy assignment.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder - getOsPolicyAssignmentBuilder() { - + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder getOsPolicyAssignmentBuilder() { + onChanged(); return getOsPolicyAssignmentFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The updated OS policy assignment.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder - getOsPolicyAssignmentOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder() { if (osPolicyAssignmentBuilder_ != null) { return osPolicyAssignmentBuilder_.getMessageOrBuilder(); } else { - return osPolicyAssignment_ == null - ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() - : osPolicyAssignment_; + return osPolicyAssignment_ == null ? + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; } } /** - * - * *
      * Required. The updated OS policy assignment.
      * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentFieldBuilder() { if (osPolicyAssignmentBuilder_ == null) { - osPolicyAssignmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder>( - getOsPolicyAssignment(), getParentForChildren(), isClean()); + osPolicyAssignmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder>( + getOsPolicyAssignment(), + getParentForChildren(), + isClean()); osPolicyAssignment_ = null; } return osPolicyAssignmentBuilder_; @@ -816,55 +694,39 @@ public Builder clearOsPolicyAssignment() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Optional. Field mask that controls which fields of the assignment should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Optional. Field mask that controls which fields of the assignment should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Optional. Field mask that controls which fields of the assignment should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -880,16 +742,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask that controls which fields of the assignment should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -900,20 +760,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Field mask that controls which fields of the assignment should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -925,14 +782,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask that controls which fields of the assignment should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -946,68 +800,55 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Field mask that controls which fields of the assignment should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Field mask that controls which fields of the assignment should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Optional. Field mask that controls which fields of the assignment should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1017,32 +858,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) - private static final com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest(); } - public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateOSPolicyAssignmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateOSPolicyAssignmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateOSPolicyAssignmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateOSPolicyAssignmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1054,8 +893,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequestOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequestOrBuilder.java index 59881fbc..bdf08f5f 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequestOrBuilder.java @@ -1,104 +1,63 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; -public interface UpdateOSPolicyAssignmentRequestOrBuilder - extends +public interface UpdateOSPolicyAssignmentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The updated OS policy assignment.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the osPolicyAssignment field is set. */ boolean hasOsPolicyAssignment(); /** - * - * *
    * Required. The updated OS policy assignment.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The osPolicyAssignment. */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignment(); /** - * - * *
    * Required. The updated OS policy assignment.
    * 
* - * - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder(); /** - * - * *
    * Optional. Field mask that controls which fields of the assignment should be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Field mask that controls which fields of the assignment should be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Field mask that controls which fields of the assignment should be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityProto.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityProto.java new file mode 100644 index 00000000..3a76f6cb --- /dev/null +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityProto.java @@ -0,0 +1,232 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/osconfig/v1alpha/vulnerability.proto + +package com.google.cloud.osconfig.v1alpha; + +public final class VulnerabilityProto { + private VulnerabilityProto() {} + 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_osconfig_v1alpha_VulnerabilityReport_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_CVSSv3_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/osconfig/v1alpha/vulnerab" + + "ility.proto\022\035google.cloud.osconfig.v1alp" + + "ha\032\034google/api/annotations.proto\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\032\037google/protobuf/timestamp." + + "proto\"\334\010\n\023VulnerabilityReport\022\021\n\004name\030\001 " + + "\001(\tB\003\340A\003\022^\n\017vulnerabilities\030\002 \003(\0132@.goog" + + "le.cloud.osconfig.v1alpha.VulnerabilityR" + + "eport.VulnerabilityB\003\340A\003\0224\n\013update_time\030" + + "\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\032\226" + + "\006\n\rVulnerability\022Y\n\007details\030\001 \001(\0132H.goog" + + "le.cloud.osconfig.v1alpha.VulnerabilityR" + + "eport.Vulnerability.Details\022(\n\034installed" + + "_inventory_item_ids\030\002 \003(\tB\002\030\001\022(\n\034availab" + + "le_inventory_item_ids\030\003 \003(\tB\002\030\001\022/\n\013creat" + + "e_time\030\004 \001(\0132\032.google.protobuf.Timestamp" + + "\022/\n\013update_time\030\005 \001(\0132\032.google.protobuf." + + "Timestamp\022T\n\005items\030\006 \003(\0132E.google.cloud." + + "osconfig.v1alpha.VulnerabilityReport.Vul" + + "nerability.Item\032\236\002\n\007Details\022\013\n\003cve\030\001 \001(\t" + + "\022\025\n\rcvss_v2_score\030\002 \001(\002\0226\n\007cvss_v3\030\003 \001(\013" + + "2%.google.cloud.osconfig.v1alpha.CVSSv3\022" + + "\020\n\010severity\030\004 \001(\t\022\023\n\013description\030\005 \001(\t\022f" + + "\n\nreferences\030\006 \003(\0132R.google.cloud.osconf" + + "ig.v1alpha.VulnerabilityReport.Vulnerabi" + + "lity.Details.Reference\032(\n\tReference\022\013\n\003u" + + "rl\030\001 \001(\t\022\016\n\006source\030\002 \001(\t\032}\n\004Item\022#\n\033inst" + + "alled_inventory_item_id\030\001 \001(\t\022#\n\033availab" + + "le_inventory_item_id\030\002 \001(\t\022\025\n\rfixed_cpe_" + + "uri\030\003 \001(\t\022\024\n\014upstream_fix\030\004 \001(\t:\202\001\352A\177\n+o" + + "sconfig.googleapis.com/VulnerabilityRepo" + + "rt\022Pprojects/{project}/locations/{locati" + + "on}/instances/{instance}/vulnerabilityRe" + + "port\"b\n\035GetVulnerabilityReportRequest\022A\n" + + "\004name\030\001 \001(\tB3\340A\002\372A-\n+osconfig.googleapis" + + ".com/VulnerabilityReport\"\221\001\n\037ListVulnera" + + "bilityReportsRequest\0227\n\006parent\030\001 \001(\tB\'\340A" + + "\002\372A!\n\037compute.googleapis.com/Instance\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006" + + "filter\030\004 \001(\t\"\216\001\n ListVulnerabilityReport" + + "sResponse\022Q\n\025vulnerability_reports\030\001 \003(\013" + + "22.google.cloud.osconfig.v1alpha.Vulnera" + + "bilityReport\022\027\n\017next_page_token\030\002 \001(\t\"\335\n" + + "\n\006CVSSv3\022\022\n\nbase_score\030\001 \001(\002\022\034\n\024exploita" + + "bility_score\030\002 \001(\002\022\024\n\014impact_score\030\003 \001(\002" + + "\022I\n\rattack_vector\030\005 \001(\01622.google.cloud.o" + + "sconfig.v1alpha.CVSSv3.AttackVector\022Q\n\021a" + + "ttack_complexity\030\006 \001(\01626.google.cloud.os" + + "config.v1alpha.CVSSv3.AttackComplexity\022U" + + "\n\023privileges_required\030\007 \001(\01628.google.clo" + + "ud.osconfig.v1alpha.CVSSv3.PrivilegesReq" + + "uired\022O\n\020user_interaction\030\010 \001(\01625.google" + + ".cloud.osconfig.v1alpha.CVSSv3.UserInter" + + "action\022:\n\005scope\030\t \001(\0162+.google.cloud.osc" + + "onfig.v1alpha.CVSSv3.Scope\022L\n\026confidenti" + + "ality_impact\030\n \001(\0162,.google.cloud.osconf" + + "ig.v1alpha.CVSSv3.Impact\022F\n\020integrity_im" + + "pact\030\013 \001(\0162,.google.cloud.osconfig.v1alp" + + "ha.CVSSv3.Impact\022I\n\023availability_impact\030" + + "\014 \001(\0162,.google.cloud.osconfig.v1alpha.CV" + + "SSv3.Impact\"\231\001\n\014AttackVector\022\035\n\031ATTACK_V" + + "ECTOR_UNSPECIFIED\020\000\022\031\n\025ATTACK_VECTOR_NET" + + "WORK\020\001\022\032\n\026ATTACK_VECTOR_ADJACENT\020\002\022\027\n\023AT" + + "TACK_VECTOR_LOCAL\020\003\022\032\n\026ATTACK_VECTOR_PHY" + + "SICAL\020\004\"l\n\020AttackComplexity\022!\n\035ATTACK_CO" + + "MPLEXITY_UNSPECIFIED\020\000\022\031\n\025ATTACK_COMPLEX" + + "ITY_LOW\020\001\022\032\n\026ATTACK_COMPLEXITY_HIGH\020\002\"\222\001" + + "\n\022PrivilegesRequired\022#\n\037PRIVILEGES_REQUI" + + "RED_UNSPECIFIED\020\000\022\034\n\030PRIVILEGES_REQUIRED" + + "_NONE\020\001\022\033\n\027PRIVILEGES_REQUIRED_LOW\020\002\022\034\n\030" + + "PRIVILEGES_REQUIRED_HIGH\020\003\"m\n\017UserIntera" + + "ction\022 \n\034USER_INTERACTION_UNSPECIFIED\020\000\022" + + "\031\n\025USER_INTERACTION_NONE\020\001\022\035\n\031USER_INTER" + + "ACTION_REQUIRED\020\002\"F\n\005Scope\022\025\n\021SCOPE_UNSP" + + "ECIFIED\020\000\022\023\n\017SCOPE_UNCHANGED\020\001\022\021\n\rSCOPE_" + + "CHANGED\020\002\"R\n\006Impact\022\026\n\022IMPACT_UNSPECIFIE" + + "D\020\000\022\017\n\013IMPACT_HIGH\020\001\022\016\n\nIMPACT_LOW\020\002\022\017\n\013" + + "IMPACT_NONE\020\003B\343\001\n!com.google.cloud.oscon" + + "fig.v1alphaB\022VulnerabilityProtoP\001ZEgoogl" + + "e.golang.org/genproto/googleapis/cloud/o" + + "sconfig/v1alpha;osconfig\252\002\035Google.Cloud." + + "OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsConfig" + + "\\V1alpha\352\002 Google::Cloud::OsConfig::V1al" + + "phab\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor, + new java.lang.String[] { "Name", "Vulnerabilities", "UpdateTime", }); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor = + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor, + new java.lang.String[] { "Details", "InstalledInventoryItemIds", "AvailableInventoryItemIds", "CreateTime", "UpdateTime", "Items", }); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor = + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor, + new java.lang.String[] { "Cve", "CvssV2Score", "CvssV3", "Severity", "Description", "References", }); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor = + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor, + new java.lang.String[] { "Url", "Source", }); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor = + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor, + new java.lang.String[] { "InstalledInventoryItemId", "AvailableInventoryItemId", "FixedCpeUri", "UpstreamFix", }); + internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor, + new java.lang.String[] { "VulnerabilityReports", "NextPageToken", }); + internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_osconfig_v1alpha_CVSSv3_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor, + new java.lang.String[] { "BaseScore", "ExploitabilityScore", "ImpactScore", "AttackVector", "AttackComplexity", "PrivilegesRequired", "UserInteraction", "Scope", "ConfidentialityImpact", "IntegrityImpact", "AvailabilityImpact", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReport.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReport.java similarity index 66% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReport.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReport.java index 03b7d5e4..e2d302e1 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReport.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReport.java @@ -1,26 +1,9 @@ -/* - * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; /** - * - * *
  * This API resource represents the vulnerability report for a specified
  * Compute Engine virtual machine (VM) instance at a given point in time.
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport}
  */
-public final class VulnerabilityReport extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class VulnerabilityReport extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport)
     VulnerabilityReportOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use VulnerabilityReport.newBuilder() to construct.
   private VulnerabilityReport(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private VulnerabilityReport() {
     name_ = "";
     vulnerabilities_ = java.util.Collections.emptyList();
@@ -47,15 +29,16 @@ private VulnerabilityReport() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new VulnerabilityReport();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private VulnerabilityReport(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,49 +58,41 @@ private VulnerabilityReport(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              vulnerabilities_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                vulnerabilities_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              vulnerabilities_.add(
-                  input.readMessage(
-                      com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.parser(),
-                      extensionRegistry));
-              break;
+            vulnerabilities_.add(
+                input.readMessage(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.parser(), extensionRegistry));
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 26:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -125,7 +100,8 @@ private VulnerabilityReport(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         vulnerabilities_ = java.util.Collections.unmodifiableList(vulnerabilities_);
@@ -134,72 +110,54 @@ private VulnerabilityReport(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-        .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-        .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.VulnerabilityReport.class,
-            com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder.class);
+            com.google.cloud.osconfig.v1alpha.VulnerabilityReport.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder.class);
   }
 
-  public interface VulnerabilityOrBuilder
-      extends
+  public interface VulnerabilityOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; - * - * + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; * @return Whether the details field is set. */ boolean hasDetails(); /** - * - * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; - * - * + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; * @return The details. */ com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details getDetails(); /** - * - * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; - * + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; */ - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder - getDetailsOrBuilder(); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder getDetailsOrBuilder(); /** - * - * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -209,17 +167,13 @@ public interface VulnerabilityOrBuilder
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @return A list containing the installedInventoryItemIds. */ - @java.lang.Deprecated - java.util.List getInstalledInventoryItemIdsList(); + @java.lang.Deprecated java.util.List + getInstalledInventoryItemIdsList(); /** - * - * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -229,17 +183,12 @@ public interface VulnerabilityOrBuilder
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @return The count of installedInventoryItemIds. */ - @java.lang.Deprecated - int getInstalledInventoryItemIdsCount(); + @java.lang.Deprecated int getInstalledInventoryItemIdsCount(); /** - * - * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -249,18 +198,13 @@ public interface VulnerabilityOrBuilder
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param index The index of the element to return. * @return The installedInventoryItemIds at the given index. */ - @java.lang.Deprecated - java.lang.String getInstalledInventoryItemIds(int index); + @java.lang.Deprecated java.lang.String getInstalledInventoryItemIds(int index); /** - * - * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -270,19 +214,15 @@ public interface VulnerabilityOrBuilder
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param index The index of the value to return. * @return The bytes of the installedInventoryItemIds at the given index. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getInstalledInventoryItemIdsBytes(int index); + @java.lang.Deprecated com.google.protobuf.ByteString + getInstalledInventoryItemIdsBytes(int index); /** - * - * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -293,17 +233,13 @@ public interface VulnerabilityOrBuilder
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @return A list containing the availableInventoryItemIds. */ - @java.lang.Deprecated - java.util.List getAvailableInventoryItemIdsList(); + @java.lang.Deprecated java.util.List + getAvailableInventoryItemIdsList(); /** - * - * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -314,17 +250,12 @@ public interface VulnerabilityOrBuilder
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @return The count of availableInventoryItemIds. */ - @java.lang.Deprecated - int getAvailableInventoryItemIdsCount(); + @java.lang.Deprecated int getAvailableInventoryItemIdsCount(); /** - * - * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -335,18 +266,13 @@ public interface VulnerabilityOrBuilder
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param index The index of the element to return. * @return The availableInventoryItemIds at the given index. */ - @java.lang.Deprecated - java.lang.String getAvailableInventoryItemIds(int index); + @java.lang.Deprecated java.lang.String getAvailableInventoryItemIds(int index); /** - * - * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -357,43 +283,33 @@ public interface VulnerabilityOrBuilder
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param index The index of the value to return. * @return The bytes of the availableInventoryItemIds at the given index. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getAvailableInventoryItemIdsBytes(int index); + @java.lang.Deprecated com.google.protobuf.ByteString + getAvailableInventoryItemIdsBytes(int index); /** - * - * *
      * The timestamp for when the vulnerability was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
      * The timestamp for when the vulnerability was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
      * The timestamp for when the vulnerability was first detected.
      * 
@@ -403,32 +319,24 @@ public interface VulnerabilityOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
      * The timestamp for when the vulnerability was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
      * The timestamp for when the vulnerability was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
      * The timestamp for when the vulnerability was last modified.
      * 
@@ -438,90 +346,65 @@ public interface VulnerabilityOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ - java.util.List + java.util.List getItemsList(); /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item getItems(int index); /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ int getItemsCount(); /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder> + java.util.List getItemsOrBuilderList(); /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder - getItemsOrBuilder(int index); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder getItemsOrBuilder( + int index); } /** - * - * *
    * A vulnerability affecting the VM instance.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability} */ - public static final class Vulnerability extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Vulnerability extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability) VulnerabilityOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Vulnerability.newBuilder() to construct. private Vulnerability(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Vulnerability() { installedInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; availableInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -530,15 +413,16 @@ private Vulnerability() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Vulnerability(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Vulnerability( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -558,98 +442,79 @@ private Vulnerability( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder - subBuilder = null; - if (details_ != null) { - subBuilder = details_.toBuilder(); - } - details_ = - input.readMessage( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(details_); - details_ = subBuilder.buildPartial(); - } + case 10: { + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder subBuilder = null; + if (details_ != null) { + subBuilder = details_.toBuilder(); + } + details_ = input.readMessage(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(details_); + details_ = subBuilder.buildPartial(); + } - break; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + installedInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - installedInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - installedInventoryItemIds_.add(s); - break; + installedInventoryItemIds_.add(s); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + availableInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - availableInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - availableInventoryItemIds_.add(s); - break; + availableInventoryItemIds_.add(s); + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 50: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - items_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability - .Item>(); - mutable_bitField0_ |= 0x00000004; - } - items_.add( - input.readMessage( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item - .parser(), - extensionRegistry)); - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + items_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } + items_.add( + input.readMessage(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -657,7 +522,8 @@ private Vulnerability( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { installedInventoryItemIds_ = installedInventoryItemIds_.getUnmodifiableView(); @@ -672,30 +538,24 @@ private Vulnerability( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.class, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder.class); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder.class); } - public interface DetailsOrBuilder - extends + public interface DetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The CVE of the vulnerability. CVE cannot be
        * empty and the combination of <cve, classification> should be unique
@@ -703,13 +563,10 @@ public interface DetailsOrBuilder
        * 
* * string cve = 1; - * * @return The cve. */ java.lang.String getCve(); /** - * - * *
        * The CVE of the vulnerability. CVE cannot be
        * empty and the combination of <cve, classification> should be unique
@@ -717,52 +574,41 @@ public interface DetailsOrBuilder
        * 
* * string cve = 1; - * * @return The bytes for cve. */ - com.google.protobuf.ByteString getCveBytes(); + com.google.protobuf.ByteString + getCveBytes(); /** - * - * *
        * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
        * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
        * 
* * float cvss_v2_score = 2; - * * @return The cvssV2Score. */ float getCvssV2Score(); /** - * - * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
* * .google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3; - * * @return Whether the cvssV3 field is set. */ boolean hasCvssV3(); /** - * - * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
* * .google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3; - * * @return The cvssV3. */ com.google.cloud.osconfig.v1alpha.CVSSv3 getCvssV3(); /** - * - * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
@@ -772,127 +618,90 @@ public interface DetailsOrBuilder com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder getCvssV3OrBuilder(); /** - * - * *
        * Assigned severity/impact ranking from the distro.
        * 
* * string severity = 4; - * * @return The severity. */ java.lang.String getSeverity(); /** - * - * *
        * Assigned severity/impact ranking from the distro.
        * 
* * string severity = 4; - * * @return The bytes for severity. */ - com.google.protobuf.ByteString getSeverityBytes(); + com.google.protobuf.ByteString + getSeverityBytes(); /** - * - * *
        * The note or description describing the vulnerability from the distro.
        * 
* * string description = 5; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
        * The note or description describing the vulnerability from the distro.
        * 
* * string description = 5; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - java.util.List< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference> + java.util.List getReferencesList(); /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - getReferences(int index); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference getReferences(int index); /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ int getReferencesCount(); /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .ReferenceOrBuilder> + java.util.List getReferencesOrBuilderList(); /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder - getReferencesOrBuilder(int index); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder getReferencesOrBuilder( + int index); } /** - * - * *
      * Contains metadata information for the vulnerability. This information is
      * collected from the upstream feed of the operating system.
@@ -900,16 +709,15 @@ public interface DetailsOrBuilder
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details}
      */
-    public static final class Details extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class Details extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details)
         DetailsOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use Details.newBuilder() to construct.
       private Details(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
       private Details() {
         cve_ = "";
         severity_ = "";
@@ -919,15 +727,16 @@ private Details() {
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new Details();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private Details(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -947,71 +756,58 @@ private Details(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+              case 10: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  cve_ = s;
-                  break;
+                cve_ = s;
+                break;
+              }
+              case 21: {
+
+                cvssV2Score_ = input.readFloat();
+                break;
+              }
+              case 26: {
+                com.google.cloud.osconfig.v1alpha.CVSSv3.Builder subBuilder = null;
+                if (cvssV3_ != null) {
+                  subBuilder = cvssV3_.toBuilder();
                 }
-              case 21:
-                {
-                  cvssV2Score_ = input.readFloat();
-                  break;
+                cvssV3_ = input.readMessage(com.google.cloud.osconfig.v1alpha.CVSSv3.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(cvssV3_);
+                  cvssV3_ = subBuilder.buildPartial();
                 }
-              case 26:
-                {
-                  com.google.cloud.osconfig.v1alpha.CVSSv3.Builder subBuilder = null;
-                  if (cvssV3_ != null) {
-                    subBuilder = cvssV3_.toBuilder();
-                  }
-                  cvssV3_ =
-                      input.readMessage(
-                          com.google.cloud.osconfig.v1alpha.CVSSv3.parser(), extensionRegistry);
-                  if (subBuilder != null) {
-                    subBuilder.mergeFrom(cvssV3_);
-                    cvssV3_ = subBuilder.buildPartial();
-                  }
 
-                  break;
-                }
-              case 34:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+                break;
+              }
+              case 34: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  severity_ = s;
-                  break;
-                }
-              case 42:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+                severity_ = s;
+                break;
+              }
+              case 42: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  description_ = s;
-                  break;
-                }
-              case 50:
-                {
-                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                    references_ =
-                        new java.util.ArrayList<
-                            com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability
-                                .Details.Reference>();
-                    mutable_bitField0_ |= 0x00000001;
-                  }
-                  references_.add(
-                      input.readMessage(
-                          com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability
-                              .Details.Reference.parser(),
-                          extensionRegistry));
-                  break;
+                description_ = s;
+                break;
+              }
+              case 50: {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  references_ = new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000001;
                 }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+                references_.add(
+                    input.readMessage(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.parser(), extensionRegistry));
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1019,8 +815,8 @@ private Details(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           if (((mutable_bitField0_ & 0x00000001) != 0)) {
             references_ = java.util.Collections.unmodifiableList(references_);
@@ -1029,98 +825,79 @@ private Details(
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-            .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-            .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.class,
-                com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder
-                    .class);
+                com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder.class);
       }
 
-      public interface ReferenceOrBuilder
-          extends
+      public interface ReferenceOrBuilder extends
           // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference)
           com.google.protobuf.MessageOrBuilder {
 
         /**
-         *
-         *
          * 
          * The url of the reference.
          * 
* * string url = 1; - * * @return The url. */ java.lang.String getUrl(); /** - * - * *
          * The url of the reference.
          * 
* * string url = 1; - * * @return The bytes for url. */ - com.google.protobuf.ByteString getUrlBytes(); + com.google.protobuf.ByteString + getUrlBytes(); /** - * - * *
          * The source of the reference e.g. NVD.
          * 
* * string source = 2; - * * @return The source. */ java.lang.String getSource(); /** - * - * *
          * The source of the reference e.g. NVD.
          * 
* * string source = 2; - * * @return The bytes for source. */ - com.google.protobuf.ByteString getSourceBytes(); + com.google.protobuf.ByteString + getSourceBytes(); } /** - * - * *
        * A reference for this vulnerability.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference} + * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference} */ - public static final class Reference extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Reference extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference) ReferenceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Reference.newBuilder() to construct. private Reference(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Reference() { url_ = ""; source_ = ""; @@ -1128,15 +905,16 @@ private Reference() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Reference(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Reference( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1155,27 +933,25 @@ private Reference( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - url_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + url_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - source_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + source_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1183,42 +959,34 @@ private Reference( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference.class, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference.Builder.class); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder.class); } public static final int URL_FIELD_NUMBER = 1; private volatile java.lang.Object url_; /** - * - * *
          * The url of the reference.
          * 
* * string url = 1; - * * @return The url. */ @java.lang.Override @@ -1227,29 +995,29 @@ public java.lang.String getUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; } } /** - * - * *
          * The url of the reference.
          * 
* * string url = 1; - * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); url_ = b; return b; } else { @@ -1260,14 +1028,11 @@ public com.google.protobuf.ByteString getUrlBytes() { public static final int SOURCE_FIELD_NUMBER = 2; private volatile java.lang.Object source_; /** - * - * *
          * The source of the reference e.g. NVD.
          * 
* * string source = 2; - * * @return The source. */ @java.lang.Override @@ -1276,29 +1041,29 @@ public java.lang.String getSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; } } /** - * - * *
          * The source of the reference e.g. NVD.
          * 
* * string source = 2; - * * @return The bytes for source. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBytes() { + public com.google.protobuf.ByteString + getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); source_ = b; return b; } else { @@ -1307,7 +1072,6 @@ public com.google.protobuf.ByteString getSourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1320,7 +1084,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_); } @@ -1350,22 +1114,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - other = - (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference) - obj; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference other = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference) obj; - if (!getUrl().equals(other.getUrl())) return false; - if (!getSource().equals(other.getSource())) return false; + if (!getUrl() + .equals(other.getUrl())) return false; + if (!getSource() + .equals(other.getSource())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1386,118 +1145,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference - 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference - 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1507,53 +1236,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * A reference for this vulnerability.
          * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference} + * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference) - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .ReferenceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference.class, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference.Builder.class); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1565,25 +1285,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference - build() { - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference build() { + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1591,13 +1305,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference - buildPartial() { - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - result = - new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference(this); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference buildPartial() { + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference result = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference(this); result.url_ = url_; result.source_ = source_; onBuilt(); @@ -1608,59 +1317,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference) - other); + if (other instanceof com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - other) { - if (other - == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference other) { + if (other == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.getDefaultInstance()) return this; if (!other.getUrl().isEmpty()) { url_ = other.url_; onChanged(); @@ -1684,15 +1380,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - parsedMessage = null; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1704,20 +1396,18 @@ public Builder mergeFrom( private java.lang.Object url_ = ""; /** - * - * *
            * The url of the reference.
            * 
* * string url = 1; - * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; @@ -1726,21 +1416,20 @@ public java.lang.String getUrl() { } } /** - * - * *
            * The url of the reference.
            * 
* * string url = 1; - * * @return The bytes for url. */ - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); url_ = b; return b; } else { @@ -1748,61 +1437,54 @@ public com.google.protobuf.ByteString getUrlBytes() { } } /** - * - * *
            * The url of the reference.
            * 
* * string url = 1; - * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl(java.lang.String value) { + public Builder setUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** - * - * *
            * The url of the reference.
            * 
* * string url = 1; - * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** - * - * *
            * The url of the reference.
            * 
* * string url = 1; - * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes(com.google.protobuf.ByteString value) { + public Builder setUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1810,20 +1492,18 @@ public Builder setUrlBytes(com.google.protobuf.ByteString value) { private java.lang.Object source_ = ""; /** - * - * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; - * * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; @@ -1832,21 +1512,20 @@ public java.lang.String getSource() { } } /** - * - * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; - * * @return The bytes for source. */ - public com.google.protobuf.ByteString getSourceBytes() { + public com.google.protobuf.ByteString + getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); source_ = b; return b; } else { @@ -1854,66 +1533,58 @@ public com.google.protobuf.ByteString getSourceBytes() { } } /** - * - * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; - * * @param value The source to set. * @return This builder for chaining. */ - public Builder setSource(java.lang.String value) { + public Builder setSource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** - * - * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; - * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** - * - * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; - * * @param value The bytes for source to set. * @return This builder for chaining. */ - public Builder setSourceBytes(com.google.protobuf.ByteString value) { + public Builder setSourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1926,36 +1597,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference) - private static final com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability - .Details.Reference - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference(); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Reference parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Reference(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Reference parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Reference(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1967,17 +1632,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int CVE_FIELD_NUMBER = 1; private volatile java.lang.Object cve_; /** - * - * *
        * The CVE of the vulnerability. CVE cannot be
        * empty and the combination of <cve, classification> should be unique
@@ -1985,7 +1648,6 @@ public com.google.protobuf.Parser getParserForType() {
        * 
* * string cve = 1; - * * @return The cve. */ @java.lang.Override @@ -1994,15 +1656,14 @@ public java.lang.String getCve() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cve_ = s; return s; } } /** - * - * *
        * The CVE of the vulnerability. CVE cannot be
        * empty and the combination of <cve, classification> should be unique
@@ -2010,15 +1671,16 @@ public java.lang.String getCve() {
        * 
* * string cve = 1; - * * @return The bytes for cve. */ @java.lang.Override - public com.google.protobuf.ByteString getCveBytes() { + public com.google.protobuf.ByteString + getCveBytes() { java.lang.Object ref = cve_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cve_ = b; return b; } else { @@ -2029,15 +1691,12 @@ public com.google.protobuf.ByteString getCveBytes() { public static final int CVSS_V2_SCORE_FIELD_NUMBER = 2; private float cvssV2Score_; /** - * - * *
        * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
        * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
        * 
* * float cvss_v2_score = 2; - * * @return The cvssV2Score. */ @java.lang.Override @@ -2048,14 +1707,11 @@ public float getCvssV2Score() { public static final int CVSS_V3_FIELD_NUMBER = 3; private com.google.cloud.osconfig.v1alpha.CVSSv3 cvssV3_; /** - * - * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
* * .google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3; - * * @return Whether the cvssV3 field is set. */ @java.lang.Override @@ -2063,25 +1719,18 @@ public boolean hasCvssV3() { return cvssV3_ != null; } /** - * - * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
* * .google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3; - * * @return The cvssV3. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3 getCvssV3() { - return cvssV3_ == null - ? com.google.cloud.osconfig.v1alpha.CVSSv3.getDefaultInstance() - : cvssV3_; + return cvssV3_ == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.getDefaultInstance() : cvssV3_; } /** - * - * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
@@ -2096,14 +1745,11 @@ public com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder getCvssV3OrBuilder() { public static final int SEVERITY_FIELD_NUMBER = 4; private volatile java.lang.Object severity_; /** - * - * *
        * Assigned severity/impact ranking from the distro.
        * 
* * string severity = 4; - * * @return The severity. */ @java.lang.Override @@ -2112,29 +1758,29 @@ public java.lang.String getSeverity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; } } /** - * - * *
        * Assigned severity/impact ranking from the distro.
        * 
* * string severity = 4; - * * @return The bytes for severity. */ @java.lang.Override - public com.google.protobuf.ByteString getSeverityBytes() { + public com.google.protobuf.ByteString + getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); severity_ = b; return b; } else { @@ -2145,14 +1791,11 @@ public com.google.protobuf.ByteString getSeverityBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** - * - * *
        * The note or description describing the vulnerability from the distro.
        * 
* * string description = 5; - * * @return The description. */ @java.lang.Override @@ -2161,29 +1804,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
        * The note or description describing the vulnerability from the distro.
        * 
* * string description = 5; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2192,96 +1835,66 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int REFERENCES_FIELD_NUMBER = 6; - private java.util.List< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference> - references_; + private java.util.List references_; /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ @java.lang.Override - public java.util.List< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference> - getReferencesList() { + public java.util.List getReferencesList() { return references_; } /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .ReferenceOrBuilder> + public java.util.List getReferencesOrBuilderList() { return references_; } /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ @java.lang.Override public int getReferencesCount() { return references_.size(); } /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - getReferences(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference getReferences(int index) { return references_.get(index); } /** - * - * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .ReferenceOrBuilder - getReferencesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder getReferencesOrBuilder( + int index) { return references_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2293,7 +1906,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cve_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cve_); } @@ -2325,10 +1939,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cve_); } if (java.lang.Float.floatToRawIntBits(cvssV2Score_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, cvssV2Score_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, cvssV2Score_); } if (cvssV3_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCvssV3()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCvssV3()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(severity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, severity_); @@ -2337,7 +1953,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); } for (int i = 0; i < references_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, references_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, references_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2347,26 +1964,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details other = - (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) obj; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details other = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) obj; - if (!getCve().equals(other.getCve())) return false; + if (!getCve() + .equals(other.getCve())) return false; if (java.lang.Float.floatToIntBits(getCvssV2Score()) - != java.lang.Float.floatToIntBits(other.getCvssV2Score())) return false; + != java.lang.Float.floatToIntBits( + other.getCvssV2Score())) return false; if (hasCvssV3() != other.hasCvssV3()) return false; if (hasCvssV3()) { - if (!getCvssV3().equals(other.getCvssV3())) return false; - } - if (!getSeverity().equals(other.getSeverity())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getReferencesList().equals(other.getReferencesList())) return false; + if (!getCvssV3() + .equals(other.getCvssV3())) return false; + } + if (!getSeverity() + .equals(other.getSeverity())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getReferencesList() + .equals(other.getReferencesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2381,7 +2001,8 @@ public int hashCode() { hash = (37 * hash) + CVE_FIELD_NUMBER; hash = (53 * hash) + getCve().hashCode(); hash = (37 * hash) + CVSS_V2_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getCvssV2Score()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getCvssV2Score()); if (hasCvssV3()) { hash = (37 * hash) + CVSS_V3_FIELD_NUMBER; hash = (53 * hash) + getCvssV3().hashCode(); @@ -2399,103 +2020,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2505,54 +2111,46 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Contains metadata information for the vulnerability. This information is
        * collected from the upstream feed of the operating system.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details} + * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.class, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Builder.class); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getReferencesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2580,22 +2178,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details build() { - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details result = - buildPartial(); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2603,10 +2198,8 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Detai } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - buildPartial() { - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details result = - new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details(this); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details buildPartial() { + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details result = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details(this); int from_bitField0_ = bitField0_; result.cve_ = cve_; result.cvssV2Score_ = cvssV2Score_; @@ -2634,56 +2227,46 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Detai public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) - other); + if (other instanceof com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) { + return mergeFrom((com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details other) { - if (other - == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details other) { + if (other == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.getDefaultInstance()) return this; if (!other.getCve().isEmpty()) { cve_ = other.cve_; onChanged(); @@ -2720,10 +2303,9 @@ public Builder mergeFrom( referencesBuilder_ = null; references_ = other.references_; bitField0_ = (bitField0_ & ~0x00000001); - referencesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getReferencesFieldBuilder() - : null; + referencesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getReferencesFieldBuilder() : null; } else { referencesBuilder_.addAllMessages(other.references_); } @@ -2744,14 +2326,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - parsedMessage = null; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2760,13 +2339,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object cve_ = ""; /** - * - * *
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2774,13 +2350,13 @@ public Builder mergeFrom(
          * 
* * string cve = 1; - * * @return The cve. */ public java.lang.String getCve() { java.lang.Object ref = cve_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cve_ = s; return s; @@ -2789,8 +2365,6 @@ public java.lang.String getCve() { } } /** - * - * *
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2798,14 +2372,15 @@ public java.lang.String getCve() {
          * 
* * string cve = 1; - * * @return The bytes for cve. */ - public com.google.protobuf.ByteString getCveBytes() { + public com.google.protobuf.ByteString + getCveBytes() { java.lang.Object ref = cve_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cve_ = b; return b; } else { @@ -2813,8 +2388,6 @@ public com.google.protobuf.ByteString getCveBytes() { } } /** - * - * *
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2822,22 +2395,20 @@ public com.google.protobuf.ByteString getCveBytes() {
          * 
* * string cve = 1; - * * @param value The cve to set. * @return This builder for chaining. */ - public Builder setCve(java.lang.String value) { + public Builder setCve( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cve_ = value; onChanged(); return this; } /** - * - * *
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2845,18 +2416,15 @@ public Builder setCve(java.lang.String value) {
          * 
* * string cve = 1; - * * @return This builder for chaining. */ public Builder clearCve() { - + cve_ = getDefaultInstance().getCve(); onChanged(); return this; } /** - * - * *
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2864,32 +2432,29 @@ public Builder clearCve() {
          * 
* * string cve = 1; - * * @param value The bytes for cve to set. * @return This builder for chaining. */ - public Builder setCveBytes(com.google.protobuf.ByteString value) { + public Builder setCveBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cve_ = value; onChanged(); return this; } - private float cvssV2Score_; + private float cvssV2Score_ ; /** - * - * *
          * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
          * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
          * 
* * float cvss_v2_score = 2; - * * @return The cvssV2Score. */ @java.lang.Override @@ -2897,38 +2462,32 @@ public float getCvssV2Score() { return cvssV2Score_; } /** - * - * *
          * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
          * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
          * 
* * float cvss_v2_score = 2; - * * @param value The cvssV2Score to set. * @return This builder for chaining. */ public Builder setCvssV2Score(float value) { - + cvssV2Score_ = value; onChanged(); return this; } /** - * - * *
          * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
          * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
          * 
* * float cvss_v2_score = 2; - * * @return This builder for chaining. */ public Builder clearCvssV2Score() { - + cvssV2Score_ = 0F; onChanged(); return this; @@ -2936,47 +2495,34 @@ public Builder clearCvssV2Score() { private com.google.cloud.osconfig.v1alpha.CVSSv3 cvssV3_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.CVSSv3, - com.google.cloud.osconfig.v1alpha.CVSSv3.Builder, - com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder> - cvssV3Builder_; + com.google.cloud.osconfig.v1alpha.CVSSv3, com.google.cloud.osconfig.v1alpha.CVSSv3.Builder, com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder> cvssV3Builder_; /** - * - * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
* * .google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3; - * * @return Whether the cvssV3 field is set. */ public boolean hasCvssV3() { return cvssV3Builder_ != null || cvssV3_ != null; } /** - * - * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
* * .google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3; - * * @return The cvssV3. */ public com.google.cloud.osconfig.v1alpha.CVSSv3 getCvssV3() { if (cvssV3Builder_ == null) { - return cvssV3_ == null - ? com.google.cloud.osconfig.v1alpha.CVSSv3.getDefaultInstance() - : cvssV3_; + return cvssV3_ == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.getDefaultInstance() : cvssV3_; } else { return cvssV3Builder_.getMessage(); } } /** - * - * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -2997,15 +2543,14 @@ public Builder setCvssV3(com.google.cloud.osconfig.v1alpha.CVSSv3 value) { return this; } /** - * - * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
* * .google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3; */ - public Builder setCvssV3(com.google.cloud.osconfig.v1alpha.CVSSv3.Builder builderForValue) { + public Builder setCvssV3( + com.google.cloud.osconfig.v1alpha.CVSSv3.Builder builderForValue) { if (cvssV3Builder_ == null) { cvssV3_ = builderForValue.build(); onChanged(); @@ -3016,8 +2561,6 @@ public Builder setCvssV3(com.google.cloud.osconfig.v1alpha.CVSSv3.Builder builde return this; } /** - * - * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -3028,9 +2571,7 @@ public Builder mergeCvssV3(com.google.cloud.osconfig.v1alpha.CVSSv3 value) { if (cvssV3Builder_ == null) { if (cvssV3_ != null) { cvssV3_ = - com.google.cloud.osconfig.v1alpha.CVSSv3.newBuilder(cvssV3_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1alpha.CVSSv3.newBuilder(cvssV3_).mergeFrom(value).buildPartial(); } else { cvssV3_ = value; } @@ -3042,8 +2583,6 @@ public Builder mergeCvssV3(com.google.cloud.osconfig.v1alpha.CVSSv3 value) { return this; } /** - * - * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -3062,8 +2601,6 @@ public Builder clearCvssV3() { return this; } /** - * - * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -3071,13 +2608,11 @@ public Builder clearCvssV3() { * .google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3; */ public com.google.cloud.osconfig.v1alpha.CVSSv3.Builder getCvssV3Builder() { - + onChanged(); return getCvssV3FieldBuilder().getBuilder(); } /** - * - * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -3088,14 +2623,11 @@ public com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder getCvssV3OrBuilder() { if (cvssV3Builder_ != null) { return cvssV3Builder_.getMessageOrBuilder(); } else { - return cvssV3_ == null - ? com.google.cloud.osconfig.v1alpha.CVSSv3.getDefaultInstance() - : cvssV3_; + return cvssV3_ == null ? + com.google.cloud.osconfig.v1alpha.CVSSv3.getDefaultInstance() : cvssV3_; } } /** - * - * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -3103,17 +2635,14 @@ public com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder getCvssV3OrBuilder() { * .google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.CVSSv3, - com.google.cloud.osconfig.v1alpha.CVSSv3.Builder, - com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder> + com.google.cloud.osconfig.v1alpha.CVSSv3, com.google.cloud.osconfig.v1alpha.CVSSv3.Builder, com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder> getCvssV3FieldBuilder() { if (cvssV3Builder_ == null) { - cvssV3Builder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.CVSSv3, - com.google.cloud.osconfig.v1alpha.CVSSv3.Builder, - com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder>( - getCvssV3(), getParentForChildren(), isClean()); + cvssV3Builder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.CVSSv3, com.google.cloud.osconfig.v1alpha.CVSSv3.Builder, com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder>( + getCvssV3(), + getParentForChildren(), + isClean()); cvssV3_ = null; } return cvssV3Builder_; @@ -3121,20 +2650,18 @@ public com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder getCvssV3OrBuilder() { private java.lang.Object severity_ = ""; /** - * - * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; - * * @return The severity. */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; @@ -3143,21 +2670,20 @@ public java.lang.String getSeverity() { } } /** - * - * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; - * * @return The bytes for severity. */ - public com.google.protobuf.ByteString getSeverityBytes() { + public com.google.protobuf.ByteString + getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); severity_ = b; return b; } else { @@ -3165,61 +2691,54 @@ public com.google.protobuf.ByteString getSeverityBytes() { } } /** - * - * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; - * * @param value The severity to set. * @return This builder for chaining. */ - public Builder setSeverity(java.lang.String value) { + public Builder setSeverity( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + severity_ = value; onChanged(); return this; } /** - * - * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; - * * @return This builder for chaining. */ public Builder clearSeverity() { - + severity_ = getDefaultInstance().getSeverity(); onChanged(); return this; } /** - * - * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; - * * @param value The bytes for severity to set. * @return This builder for chaining. */ - public Builder setSeverityBytes(com.google.protobuf.ByteString value) { + public Builder setSeverityBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + severity_ = value; onChanged(); return this; @@ -3227,20 +2746,18 @@ public Builder setSeverityBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -3249,21 +2766,20 @@ public java.lang.String getDescription() { } } /** - * - * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -3271,105 +2787,79 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private java.util.List< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference> - references_ = java.util.Collections.emptyList(); - + private java.util.List references_ = + java.util.Collections.emptyList(); private void ensureReferencesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - references_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference>(references_); + references_ = new java.util.ArrayList(references_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference.Builder, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .ReferenceOrBuilder> - referencesBuilder_; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder> referencesBuilder_; /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - public java.util.List< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference> - getReferencesList() { + public java.util.List getReferencesList() { if (referencesBuilder_ == null) { return java.util.Collections.unmodifiableList(references_); } else { @@ -3377,15 +2867,11 @@ private void ensureReferencesIsMutable() { } } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ public int getReferencesCount() { if (referencesBuilder_ == null) { @@ -3395,18 +2881,13 @@ public int getReferencesCount() { } } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - getReferences(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference getReferences(int index) { if (referencesBuilder_ == null) { return references_.get(index); } else { @@ -3414,20 +2895,14 @@ public int getReferencesCount() { } } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ public Builder setReferences( - int index, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - value) { + int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference value) { if (referencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3441,21 +2916,14 @@ public Builder setReferences( return this; } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ public Builder setReferences( - int index, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - .Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder builderForValue) { if (referencesBuilder_ == null) { ensureReferencesIsMutable(); references_.set(index, builderForValue.build()); @@ -3466,19 +2934,13 @@ public Builder setReferences( return this; } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - public Builder addReferences( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - value) { + public Builder addReferences(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference value) { if (referencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3492,20 +2954,14 @@ public Builder addReferences( return this; } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ public Builder addReferences( - int index, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - value) { + int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference value) { if (referencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3519,20 +2975,14 @@ public Builder addReferences( return this; } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ public Builder addReferences( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - .Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder builderForValue) { if (referencesBuilder_ == null) { ensureReferencesIsMutable(); references_.add(builderForValue.build()); @@ -3543,21 +2993,14 @@ public Builder addReferences( return this; } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ public Builder addReferences( - int index, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - .Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder builderForValue) { if (referencesBuilder_ == null) { ensureReferencesIsMutable(); references_.add(index, builderForValue.build()); @@ -3568,25 +3011,18 @@ public Builder addReferences( return this; } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ public Builder addAllReferences( - java.lang.Iterable< - ? extends - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference> - values) { + java.lang.Iterable values) { if (referencesBuilder_ == null) { ensureReferencesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, references_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, references_); onChanged(); } else { referencesBuilder_.addAllMessages(values); @@ -3594,15 +3030,11 @@ public Builder addAllReferences( return this; } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ public Builder clearReferences() { if (referencesBuilder_ == null) { @@ -3615,15 +3047,11 @@ public Builder clearReferences() { return this; } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ public Builder removeReferences(int index) { if (referencesBuilder_ == null) { @@ -3636,57 +3064,39 @@ public Builder removeReferences(int index) { return this; } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - .Builder - getReferencesBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder getReferencesBuilder( + int index) { return getReferencesFieldBuilder().getBuilder(index); } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .ReferenceOrBuilder - getReferencesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder getReferencesOrBuilder( + int index) { if (referencesBuilder_ == null) { - return references_.get(index); - } else { + return references_.get(index); } else { return referencesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .ReferenceOrBuilder> - getReferencesOrBuilderList() { + public java.util.List + getReferencesOrBuilderList() { if (referencesBuilder_ != null) { return referencesBuilder_.getMessageOrBuilderList(); } else { @@ -3694,79 +3104,45 @@ public Builder removeReferences(int index) { } } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - .Builder - addReferencesBuilder() { - return getReferencesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder addReferencesBuilder() { + return getReferencesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.getDefaultInstance()); } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference - .Builder - addReferencesBuilder(int index) { - return getReferencesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder addReferencesBuilder( + int index) { + return getReferencesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.getDefaultInstance()); } /** - * - * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; */ - public java.util.List< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference.Builder> - getReferencesBuilderList() { + public java.util.List + getReferencesBuilderList() { return getReferencesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference.Builder, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .ReferenceOrBuilder> + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder> getReferencesFieldBuilder() { if (referencesBuilder_ == null) { - referencesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Reference.Builder, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .ReferenceOrBuilder>( + referencesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder>( references_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3775,7 +3151,6 @@ public Builder removeReferences(int index) { } return referencesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3788,34 +3163,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) - private static final com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability - .Details - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details(); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser
PARSER = - new com.google.protobuf.AbstractParser
() { - @java.lang.Override - public Details parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Details(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser
() { + @java.lang.Override + public Details parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Details(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser
parser() { return PARSER; @@ -3827,20 +3198,17 @@ public com.google.protobuf.Parser
getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ItemOrBuilder - extends + public interface ItemOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -3850,13 +3218,10 @@ public interface ItemOrBuilder
        * 
* * string installed_inventory_item_id = 1; - * * @return The installedInventoryItemId. */ java.lang.String getInstalledInventoryItemId(); /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -3866,14 +3231,12 @@ public interface ItemOrBuilder
        * 
* * string installed_inventory_item_id = 1; - * * @return The bytes for installedInventoryItemId. */ - com.google.protobuf.ByteString getInstalledInventoryItemIdBytes(); + com.google.protobuf.ByteString + getInstalledInventoryItemIdBytes(); /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -3884,13 +3247,10 @@ public interface ItemOrBuilder
        * 
* * string available_inventory_item_id = 2; - * * @return The availableInventoryItemId. */ java.lang.String getAvailableInventoryItemId(); /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -3901,66 +3261,54 @@ public interface ItemOrBuilder
        * 
* * string available_inventory_item_id = 2; - * * @return The bytes for availableInventoryItemId. */ - com.google.protobuf.ByteString getAvailableInventoryItemIdBytes(); + com.google.protobuf.ByteString + getAvailableInventoryItemIdBytes(); /** - * - * *
        * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
        * that contains a fix for this vulnerability.
        * 
* * string fixed_cpe_uri = 3; - * * @return The fixedCpeUri. */ java.lang.String getFixedCpeUri(); /** - * - * *
        * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
        * that contains a fix for this vulnerability.
        * 
* * string fixed_cpe_uri = 3; - * * @return The bytes for fixedCpeUri. */ - com.google.protobuf.ByteString getFixedCpeUriBytes(); + com.google.protobuf.ByteString + getFixedCpeUriBytes(); /** - * - * *
        * The upstream OS patch, packages or KB that fixes the vulnerability.
        * 
* * string upstream_fix = 4; - * * @return The upstreamFix. */ java.lang.String getUpstreamFix(); /** - * - * *
        * The upstream OS patch, packages or KB that fixes the vulnerability.
        * 
* * string upstream_fix = 4; - * * @return The bytes for upstreamFix. */ - com.google.protobuf.ByteString getUpstreamFixBytes(); + com.google.protobuf.ByteString + getUpstreamFixBytes(); } /** - * - * *
      * OS inventory item that is affected by a vulnerability or fixed as a
      * result of a vulnerability.
@@ -3968,16 +3316,15 @@ public interface ItemOrBuilder
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item}
      */
-    public static final class Item extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class Item extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item)
         ItemOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use Item.newBuilder() to construct.
       private Item(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
       private Item() {
         installedInventoryItemId_ = "";
         availableInventoryItemId_ = "";
@@ -3987,15 +3334,16 @@ private Item() {
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new Item();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private Item(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4014,41 +3362,37 @@ private Item(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+              case 10: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  installedInventoryItemId_ = s;
-                  break;
-                }
-              case 18:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+                installedInventoryItemId_ = s;
+                break;
+              }
+              case 18: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  availableInventoryItemId_ = s;
-                  break;
-                }
-              case 26:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+                availableInventoryItemId_ = s;
+                break;
+              }
+              case 26: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  fixedCpeUri_ = s;
-                  break;
-                }
-              case 34:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+                fixedCpeUri_ = s;
+                break;
+              }
+              case 34: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  upstreamFix_ = s;
-                  break;
-                }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+                upstreamFix_ = s;
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4056,35 +3400,29 @@ private Item(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-            .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-            .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.class,
-                com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder
-                    .class);
+                com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder.class);
       }
 
       public static final int INSTALLED_INVENTORY_ITEM_ID_FIELD_NUMBER = 1;
       private volatile java.lang.Object installedInventoryItemId_;
       /**
-       *
-       *
        * 
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -4094,7 +3432,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
* * string installed_inventory_item_id = 1; - * * @return The installedInventoryItemId. */ @java.lang.Override @@ -4103,15 +3440,14 @@ public java.lang.String getInstalledInventoryItemId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); installedInventoryItemId_ = s; return s; } } /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -4121,15 +3457,16 @@ public java.lang.String getInstalledInventoryItemId() {
        * 
* * string installed_inventory_item_id = 1; - * * @return The bytes for installedInventoryItemId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstalledInventoryItemIdBytes() { + public com.google.protobuf.ByteString + getInstalledInventoryItemIdBytes() { java.lang.Object ref = installedInventoryItemId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); installedInventoryItemId_ = b; return b; } else { @@ -4140,8 +3477,6 @@ public com.google.protobuf.ByteString getInstalledInventoryItemIdBytes() { public static final int AVAILABLE_INVENTORY_ITEM_ID_FIELD_NUMBER = 2; private volatile java.lang.Object availableInventoryItemId_; /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -4152,7 +3487,6 @@ public com.google.protobuf.ByteString getInstalledInventoryItemIdBytes() {
        * 
* * string available_inventory_item_id = 2; - * * @return The availableInventoryItemId. */ @java.lang.Override @@ -4161,15 +3495,14 @@ public java.lang.String getAvailableInventoryItemId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availableInventoryItemId_ = s; return s; } } /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -4180,15 +3513,16 @@ public java.lang.String getAvailableInventoryItemId() {
        * 
* * string available_inventory_item_id = 2; - * * @return The bytes for availableInventoryItemId. */ @java.lang.Override - public com.google.protobuf.ByteString getAvailableInventoryItemIdBytes() { + public com.google.protobuf.ByteString + getAvailableInventoryItemIdBytes() { java.lang.Object ref = availableInventoryItemId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); availableInventoryItemId_ = b; return b; } else { @@ -4199,15 +3533,12 @@ public com.google.protobuf.ByteString getAvailableInventoryItemIdBytes() { public static final int FIXED_CPE_URI_FIELD_NUMBER = 3; private volatile java.lang.Object fixedCpeUri_; /** - * - * *
        * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
        * that contains a fix for this vulnerability.
        * 
* * string fixed_cpe_uri = 3; - * * @return The fixedCpeUri. */ @java.lang.Override @@ -4216,30 +3547,30 @@ public java.lang.String getFixedCpeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fixedCpeUri_ = s; return s; } } /** - * - * *
        * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
        * that contains a fix for this vulnerability.
        * 
* * string fixed_cpe_uri = 3; - * * @return The bytes for fixedCpeUri. */ @java.lang.Override - public com.google.protobuf.ByteString getFixedCpeUriBytes() { + public com.google.protobuf.ByteString + getFixedCpeUriBytes() { java.lang.Object ref = fixedCpeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fixedCpeUri_ = b; return b; } else { @@ -4250,14 +3581,11 @@ public com.google.protobuf.ByteString getFixedCpeUriBytes() { public static final int UPSTREAM_FIX_FIELD_NUMBER = 4; private volatile java.lang.Object upstreamFix_; /** - * - * *
        * The upstream OS patch, packages or KB that fixes the vulnerability.
        * 
* * string upstream_fix = 4; - * * @return The upstreamFix. */ @java.lang.Override @@ -4266,29 +3594,29 @@ public java.lang.String getUpstreamFix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); upstreamFix_ = s; return s; } } /** - * - * *
        * The upstream OS patch, packages or KB that fixes the vulnerability.
        * 
* * string upstream_fix = 4; - * * @return The bytes for upstreamFix. */ @java.lang.Override - public com.google.protobuf.ByteString getUpstreamFixBytes() { + public com.google.protobuf.ByteString + getUpstreamFixBytes() { java.lang.Object ref = upstreamFix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); upstreamFix_ = b; return b; } else { @@ -4297,7 +3625,6 @@ public com.google.protobuf.ByteString getUpstreamFixBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4309,7 +3636,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(installedInventoryItemId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, installedInventoryItemId_); } @@ -4332,14 +3660,10 @@ public int getSerializedSize() { size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(installedInventoryItemId_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 1, installedInventoryItemId_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, installedInventoryItemId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(availableInventoryItemId_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 2, availableInventoryItemId_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, availableInventoryItemId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fixedCpeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fixedCpeUri_); @@ -4355,21 +3679,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item)) { + if (!(obj instanceof com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item other = - (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item) obj; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item other = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item) obj; - if (!getInstalledInventoryItemId().equals(other.getInstalledInventoryItemId())) - return false; - if (!getAvailableInventoryItemId().equals(other.getAvailableInventoryItemId())) - return false; - if (!getFixedCpeUri().equals(other.getFixedCpeUri())) return false; - if (!getUpstreamFix().equals(other.getUpstreamFix())) return false; + if (!getInstalledInventoryItemId() + .equals(other.getInstalledInventoryItemId())) return false; + if (!getAvailableInventoryItemId() + .equals(other.getAvailableInventoryItemId())) return false; + if (!getFixedCpeUri() + .equals(other.getFixedCpeUri())) return false; + if (!getUpstreamFix() + .equals(other.getUpstreamFix())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4394,103 +3718,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item - 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item - 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4500,8 +3809,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * OS inventory item that is affected by a vulnerability or fixed as a
        * result of a vulnerability.
@@ -4509,42 +3816,38 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item)
           com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-              .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-              .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable
+          return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.class,
-                  com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder
-                      .class);
+                  com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder.class);
         }
 
-        // Construct using
-        // com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.newBuilder()
+        // Construct using com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
+          }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -4560,22 +3863,19 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-              .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item
-            getDefaultInstanceForType() {
-          return com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item
-              .getDefaultInstance();
+        public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item getDefaultInstanceForType() {
+          return com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item build() {
-          com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item result =
-              buildPartial();
+          com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -4583,10 +3883,8 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item
-            buildPartial() {
-          com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item result =
-              new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item(this);
+        public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item buildPartial() {
+          com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item result = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item(this);
           result.installedInventoryItemId_ = installedInventoryItemId_;
           result.availableInventoryItemId_ = availableInventoryItemId_;
           result.fixedCpeUri_ = fixedCpeUri_;
@@ -4599,54 +3897,46 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item) {
-            return mergeFrom(
-                (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item) other);
+          if (other instanceof com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item) {
+            return mergeFrom((com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item other) {
-          if (other
-              == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item
-                  .getDefaultInstance()) return this;
+        public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item other) {
+          if (other == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.getDefaultInstance()) return this;
           if (!other.getInstalledInventoryItemId().isEmpty()) {
             installedInventoryItemId_ = other.installedInventoryItemId_;
             onChanged();
@@ -4678,14 +3968,11 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
-          com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parsedMessage =
-              null;
+          com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parsedMessage = null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item)
-                    e.getUnfinishedMessage();
+            parsedMessage = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -4697,8 +3984,6 @@ public Builder mergeFrom(
 
         private java.lang.Object installedInventoryItemId_ = "";
         /**
-         *
-         *
          * 
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -4708,13 +3993,13 @@ public Builder mergeFrom(
          * 
* * string installed_inventory_item_id = 1; - * * @return The installedInventoryItemId. */ public java.lang.String getInstalledInventoryItemId() { java.lang.Object ref = installedInventoryItemId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); installedInventoryItemId_ = s; return s; @@ -4723,8 +4008,6 @@ public java.lang.String getInstalledInventoryItemId() { } } /** - * - * *
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -4734,14 +4017,15 @@ public java.lang.String getInstalledInventoryItemId() {
          * 
* * string installed_inventory_item_id = 1; - * * @return The bytes for installedInventoryItemId. */ - public com.google.protobuf.ByteString getInstalledInventoryItemIdBytes() { + public com.google.protobuf.ByteString + getInstalledInventoryItemIdBytes() { java.lang.Object ref = installedInventoryItemId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); installedInventoryItemId_ = b; return b; } else { @@ -4749,8 +4033,6 @@ public com.google.protobuf.ByteString getInstalledInventoryItemIdBytes() { } } /** - * - * *
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -4760,22 +4042,20 @@ public com.google.protobuf.ByteString getInstalledInventoryItemIdBytes() {
          * 
* * string installed_inventory_item_id = 1; - * * @param value The installedInventoryItemId to set. * @return This builder for chaining. */ - public Builder setInstalledInventoryItemId(java.lang.String value) { + public Builder setInstalledInventoryItemId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + installedInventoryItemId_ = value; onChanged(); return this; } /** - * - * *
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -4785,18 +4065,15 @@ public Builder setInstalledInventoryItemId(java.lang.String value) {
          * 
* * string installed_inventory_item_id = 1; - * * @return This builder for chaining. */ public Builder clearInstalledInventoryItemId() { - + installedInventoryItemId_ = getDefaultInstance().getInstalledInventoryItemId(); onChanged(); return this; } /** - * - * *
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -4806,16 +4083,16 @@ public Builder clearInstalledInventoryItemId() {
          * 
* * string installed_inventory_item_id = 1; - * * @param value The bytes for installedInventoryItemId to set. * @return This builder for chaining. */ - public Builder setInstalledInventoryItemIdBytes(com.google.protobuf.ByteString value) { + public Builder setInstalledInventoryItemIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + installedInventoryItemId_ = value; onChanged(); return this; @@ -4823,8 +4100,6 @@ public Builder setInstalledInventoryItemIdBytes(com.google.protobuf.ByteString v private java.lang.Object availableInventoryItemId_ = ""; /** - * - * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4835,13 +4110,13 @@ public Builder setInstalledInventoryItemIdBytes(com.google.protobuf.ByteString v
          * 
* * string available_inventory_item_id = 2; - * * @return The availableInventoryItemId. */ public java.lang.String getAvailableInventoryItemId() { java.lang.Object ref = availableInventoryItemId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availableInventoryItemId_ = s; return s; @@ -4850,8 +4125,6 @@ public java.lang.String getAvailableInventoryItemId() { } } /** - * - * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4862,14 +4135,15 @@ public java.lang.String getAvailableInventoryItemId() {
          * 
* * string available_inventory_item_id = 2; - * * @return The bytes for availableInventoryItemId. */ - public com.google.protobuf.ByteString getAvailableInventoryItemIdBytes() { + public com.google.protobuf.ByteString + getAvailableInventoryItemIdBytes() { java.lang.Object ref = availableInventoryItemId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); availableInventoryItemId_ = b; return b; } else { @@ -4877,8 +4151,6 @@ public com.google.protobuf.ByteString getAvailableInventoryItemIdBytes() { } } /** - * - * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4889,22 +4161,20 @@ public com.google.protobuf.ByteString getAvailableInventoryItemIdBytes() {
          * 
* * string available_inventory_item_id = 2; - * * @param value The availableInventoryItemId to set. * @return This builder for chaining. */ - public Builder setAvailableInventoryItemId(java.lang.String value) { + public Builder setAvailableInventoryItemId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + availableInventoryItemId_ = value; onChanged(); return this; } /** - * - * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4915,18 +4185,15 @@ public Builder setAvailableInventoryItemId(java.lang.String value) {
          * 
* * string available_inventory_item_id = 2; - * * @return This builder for chaining. */ public Builder clearAvailableInventoryItemId() { - + availableInventoryItemId_ = getDefaultInstance().getAvailableInventoryItemId(); onChanged(); return this; } /** - * - * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4937,16 +4204,16 @@ public Builder clearAvailableInventoryItemId() {
          * 
* * string available_inventory_item_id = 2; - * * @param value The bytes for availableInventoryItemId to set. * @return This builder for chaining. */ - public Builder setAvailableInventoryItemIdBytes(com.google.protobuf.ByteString value) { + public Builder setAvailableInventoryItemIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + availableInventoryItemId_ = value; onChanged(); return this; @@ -4954,21 +4221,19 @@ public Builder setAvailableInventoryItemIdBytes(com.google.protobuf.ByteString v private java.lang.Object fixedCpeUri_ = ""; /** - * - * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; - * * @return The fixedCpeUri. */ public java.lang.String getFixedCpeUri() { java.lang.Object ref = fixedCpeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fixedCpeUri_ = s; return s; @@ -4977,22 +4242,21 @@ public java.lang.String getFixedCpeUri() { } } /** - * - * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; - * * @return The bytes for fixedCpeUri. */ - public com.google.protobuf.ByteString getFixedCpeUriBytes() { + public com.google.protobuf.ByteString + getFixedCpeUriBytes() { java.lang.Object ref = fixedCpeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fixedCpeUri_ = b; return b; } else { @@ -5000,64 +4264,57 @@ public com.google.protobuf.ByteString getFixedCpeUriBytes() { } } /** - * - * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; - * * @param value The fixedCpeUri to set. * @return This builder for chaining. */ - public Builder setFixedCpeUri(java.lang.String value) { + public Builder setFixedCpeUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fixedCpeUri_ = value; onChanged(); return this; } /** - * - * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; - * * @return This builder for chaining. */ public Builder clearFixedCpeUri() { - + fixedCpeUri_ = getDefaultInstance().getFixedCpeUri(); onChanged(); return this; } /** - * - * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; - * * @param value The bytes for fixedCpeUri to set. * @return This builder for chaining. */ - public Builder setFixedCpeUriBytes(com.google.protobuf.ByteString value) { + public Builder setFixedCpeUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fixedCpeUri_ = value; onChanged(); return this; @@ -5065,20 +4322,18 @@ public Builder setFixedCpeUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object upstreamFix_ = ""; /** - * - * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; - * * @return The upstreamFix. */ public java.lang.String getUpstreamFix() { java.lang.Object ref = upstreamFix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); upstreamFix_ = s; return s; @@ -5087,21 +4342,20 @@ public java.lang.String getUpstreamFix() { } } /** - * - * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; - * * @return The bytes for upstreamFix. */ - public com.google.protobuf.ByteString getUpstreamFixBytes() { + public com.google.protobuf.ByteString + getUpstreamFixBytes() { java.lang.Object ref = upstreamFix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); upstreamFix_ = b; return b; } else { @@ -5109,66 +4363,58 @@ public com.google.protobuf.ByteString getUpstreamFixBytes() { } } /** - * - * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; - * * @param value The upstreamFix to set. * @return This builder for chaining. */ - public Builder setUpstreamFix(java.lang.String value) { + public Builder setUpstreamFix( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + upstreamFix_ = value; onChanged(); return this; } /** - * - * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; - * * @return This builder for chaining. */ public Builder clearUpstreamFix() { - + upstreamFix_ = getDefaultInstance().getUpstreamFix(); onChanged(); return this; } /** - * - * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; - * * @param value The bytes for upstreamFix to set. * @return This builder for chaining. */ - public Builder setUpstreamFixBytes(com.google.protobuf.ByteString value) { + public Builder setUpstreamFixBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + upstreamFix_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5181,33 +4427,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item) - private static final com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item(); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Item parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Item(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Item parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Item(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5219,25 +4462,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int DETAILS_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details_; /** - * - * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; - * - * + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; * @return Whether the details field is set. */ @java.lang.Override @@ -5245,48 +4484,34 @@ public boolean hasDetails() { return details_ != null; } /** - * - * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; - * - * + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; * @return The details. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - getDetails() { - return details_ == null - ? com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .getDefaultInstance() - : details_; + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details getDetails() { + return details_ == null ? com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.getDefaultInstance() : details_; } /** - * - * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; - * + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder - getDetailsOrBuilder() { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder getDetailsOrBuilder() { return getDetails(); } public static final int INSTALLED_INVENTORY_ITEM_IDS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList installedInventoryItemIds_; /** - * - * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -5296,19 +4521,15 @@ public boolean hasDetails() {
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @return A list containing the installedInventoryItemIds. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getInstalledInventoryItemIdsList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getInstalledInventoryItemIdsList() { return installedInventoryItemIds_; } /** - * - * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -5318,19 +4539,14 @@ public com.google.protobuf.ProtocolStringList getInstalledInventoryItemIdsList()
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @return The count of installedInventoryItemIds. */ - @java.lang.Deprecated - public int getInstalledInventoryItemIdsCount() { + @java.lang.Deprecated public int getInstalledInventoryItemIdsCount() { return installedInventoryItemIds_.size(); } /** - * - * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -5340,20 +4556,15 @@ public int getInstalledInventoryItemIdsCount() {
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param index The index of the element to return. * @return The installedInventoryItemIds at the given index. */ - @java.lang.Deprecated - public java.lang.String getInstalledInventoryItemIds(int index) { + @java.lang.Deprecated public java.lang.String getInstalledInventoryItemIds(int index) { return installedInventoryItemIds_.get(index); } /** - * - * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -5363,23 +4574,19 @@ public java.lang.String getInstalledInventoryItemIds(int index) {
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param index The index of the value to return. * @return The bytes of the installedInventoryItemIds at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getInstalledInventoryItemIdsBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getInstalledInventoryItemIdsBytes(int index) { return installedInventoryItemIds_.getByteString(index); } public static final int AVAILABLE_INVENTORY_ITEM_IDS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList availableInventoryItemIds_; /** - * - * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -5390,19 +4597,15 @@ public com.google.protobuf.ByteString getInstalledInventoryItemIdsBytes(int inde
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @return A list containing the availableInventoryItemIds. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getAvailableInventoryItemIdsList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getAvailableInventoryItemIdsList() { return availableInventoryItemIds_; } /** - * - * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -5413,19 +4616,14 @@ public com.google.protobuf.ProtocolStringList getAvailableInventoryItemIdsList()
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @return The count of availableInventoryItemIds. */ - @java.lang.Deprecated - public int getAvailableInventoryItemIdsCount() { + @java.lang.Deprecated public int getAvailableInventoryItemIdsCount() { return availableInventoryItemIds_.size(); } /** - * - * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -5436,20 +4634,15 @@ public int getAvailableInventoryItemIdsCount() {
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param index The index of the element to return. * @return The availableInventoryItemIds at the given index. */ - @java.lang.Deprecated - public java.lang.String getAvailableInventoryItemIds(int index) { + @java.lang.Deprecated public java.lang.String getAvailableInventoryItemIds(int index) { return availableInventoryItemIds_.get(index); } /** - * - * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -5460,29 +4653,24 @@ public java.lang.String getAvailableInventoryItemIds(int index) {
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param index The index of the value to return. * @return The bytes of the availableInventoryItemIds at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getAvailableInventoryItemIdsBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getAvailableInventoryItemIdsBytes(int index) { return availableInventoryItemIds_.getByteString(index); } public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
      * The timestamp for when the vulnerability was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -5490,14 +4678,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
      * The timestamp for when the vulnerability was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return The createTime. */ @java.lang.Override @@ -5505,8 +4690,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
      * The timestamp for when the vulnerability was first detected.
      * 
@@ -5521,14 +4704,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
      * The timestamp for when the vulnerability was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -5536,14 +4716,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
      * The timestamp for when the vulnerability was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return The updateTime. */ @java.lang.Override @@ -5551,8 +4728,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
      * The timestamp for when the vulnerability was last modified.
      * 
@@ -5565,92 +4740,66 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ITEMS_FIELD_NUMBER = 6; - private java.util.List - items_; + private java.util.List items_; /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ @java.lang.Override - public java.util.List - getItemsList() { + public java.util.List getItemsList() { return items_; } /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder> + public java.util.List getItemsOrBuilderList() { return items_; } /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ @java.lang.Override public int getItemsCount() { return items_.size(); } /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item getItems( - int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item getItems(int index) { return items_.get(index); } /** - * - * *
      * List of items affected by the vulnerability.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder - getItemsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder getItemsOrBuilder( + int index) { return items_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5662,17 +4811,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (details_ != null) { output.writeMessage(1, getDetails()); } for (int i = 0; i < installedInventoryItemIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 2, installedInventoryItemIds_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, installedInventoryItemIds_.getRaw(i)); } for (int i = 0; i < availableInventoryItemIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, availableInventoryItemIds_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, availableInventoryItemIds_.getRaw(i)); } if (createTime_ != null) { output.writeMessage(4, getCreateTime()); @@ -5693,7 +4841,8 @@ public int getSerializedSize() { size = 0; if (details_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDetails()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDetails()); } { int dataSize = 0; @@ -5712,13 +4861,16 @@ public int getSerializedSize() { size += 1 * getAvailableInventoryItemIdsList().size(); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); } for (int i = 0; i < items_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, items_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, items_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5728,31 +4880,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability other = - (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability) obj; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability other = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability) obj; if (hasDetails() != other.hasDetails()) return false; if (hasDetails()) { - if (!getDetails().equals(other.getDetails())) return false; + if (!getDetails() + .equals(other.getDetails())) return false; } - if (!getInstalledInventoryItemIdsList().equals(other.getInstalledInventoryItemIdsList())) - return false; - if (!getAvailableInventoryItemIdsList().equals(other.getAvailableInventoryItemIdsList())) - return false; + if (!getInstalledInventoryItemIdsList() + .equals(other.getInstalledInventoryItemIdsList())) return false; + if (!getAvailableInventoryItemIdsList() + .equals(other.getAvailableInventoryItemIdsList())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getItemsList().equals(other.getItemsList())) return false; + if (!getItemsList() + .equals(other.getItemsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5794,95 +4949,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability - 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5892,51 +5039,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A vulnerability affecting the VM instance.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability) com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.class, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder.class); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.newBuilder() + // Construct using com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getItemsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -5972,16 +5113,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto - .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability - .getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.getDefaultInstance(); } @java.lang.Override @@ -5995,8 +5134,7 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability build @java.lang.Override public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability buildPartial() { - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability result = - new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability(this); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability result = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability(this); int from_bitField0_ = bitField0_; if (detailsBuilder_ == null) { result.details_ = details_; @@ -6040,53 +5178,46 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability) { - return mergeFrom( - (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability) other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability other) { - if (other - == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability other) { + if (other == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.getDefaultInstance()) return this; if (other.hasDetails()) { mergeDetails(other.getDetails()); } @@ -6134,10 +5265,9 @@ public Builder mergeFrom( itemsBuilder_ = null; items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000004); - itemsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getItemsFieldBuilder() - : null; + itemsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getItemsFieldBuilder() : null; } else { itemsBuilder_.addAllMessages(other.items_); } @@ -6162,9 +5292,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6173,68 +5301,48 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder> - detailsBuilder_; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder> detailsBuilder_; /** - * - * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; - * - * + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; * @return Whether the details field is set. */ public boolean hasDetails() { return detailsBuilder_ != null || details_ != null; } /** - * - * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; - * - * + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; * @return The details. */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - getDetails() { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details getDetails() { if (detailsBuilder_ == null) { - return details_ == null - ? com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .getDefaultInstance() - : details_; + return details_ == null ? com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.getDefaultInstance() : details_; } else { return detailsBuilder_.getMessage(); } } /** - * - * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; - * + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; */ - public Builder setDetails( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details value) { + public Builder setDetails(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details value) { if (detailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6248,19 +5356,15 @@ public Builder setDetails( return this; } /** - * - * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; - * + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; */ public Builder setDetails( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder builderForValue) { if (detailsBuilder_ == null) { details_ = builderForValue.build(); onChanged(); @@ -6271,25 +5375,18 @@ public Builder setDetails( return this; } /** - * - * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; - * + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; */ - public Builder mergeDetails( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details value) { + public Builder mergeDetails(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details value) { if (detailsBuilder_ == null) { if (details_ != null) { details_ = - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .newBuilder(details_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.newBuilder(details_).mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -6301,15 +5398,12 @@ public Builder mergeDetails( return this; } /** - * - * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; - * + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; */ public Builder clearDetails() { if (detailsBuilder_ == null) { @@ -6323,86 +5417,64 @@ public Builder clearDetails() { return this; } /** - * - * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; - * + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder - getDetailsBuilder() { - + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder getDetailsBuilder() { + onChanged(); return getDetailsFieldBuilder().getBuilder(); } /** - * - * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; - * + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder - getDetailsOrBuilder() { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder getDetailsOrBuilder() { if (detailsBuilder_ != null) { return detailsBuilder_.getMessageOrBuilder(); } else { - return details_ == null - ? com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .getDefaultInstance() - : details_; + return details_ == null ? + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.getDefaultInstance() : details_; } } /** - * - * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; - * + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder> + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder> getDetailsFieldBuilder() { if (detailsBuilder_ == null) { - detailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details - .Builder, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability - .DetailsOrBuilder>(getDetails(), getParentForChildren(), isClean()); + detailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder>( + getDetails(), + getParentForChildren(), + isClean()); details_ = null; } return detailsBuilder_; } - private com.google.protobuf.LazyStringList installedInventoryItemIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList installedInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInstalledInventoryItemIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - installedInventoryItemIds_ = - new com.google.protobuf.LazyStringArrayList(installedInventoryItemIds_); + installedInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(installedInventoryItemIds_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -6412,19 +5484,15 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @return A list containing the installedInventoryItemIds. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getInstalledInventoryItemIdsList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getInstalledInventoryItemIdsList() { return installedInventoryItemIds_.getUnmodifiableView(); } /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -6434,19 +5502,14 @@ public com.google.protobuf.ProtocolStringList getInstalledInventoryItemIdsList()
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @return The count of installedInventoryItemIds. */ - @java.lang.Deprecated - public int getInstalledInventoryItemIdsCount() { + @java.lang.Deprecated public int getInstalledInventoryItemIdsCount() { return installedInventoryItemIds_.size(); } /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -6456,20 +5519,15 @@ public int getInstalledInventoryItemIdsCount() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param index The index of the element to return. * @return The installedInventoryItemIds at the given index. */ - @java.lang.Deprecated - public java.lang.String getInstalledInventoryItemIds(int index) { + @java.lang.Deprecated public java.lang.String getInstalledInventoryItemIds(int index) { return installedInventoryItemIds_.get(index); } /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -6479,20 +5537,16 @@ public java.lang.String getInstalledInventoryItemIds(int index) {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param index The index of the value to return. * @return The bytes of the installedInventoryItemIds at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getInstalledInventoryItemIdsBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getInstalledInventoryItemIdsBytes(int index) { return installedInventoryItemIds_.getByteString(index); } /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -6502,27 +5556,23 @@ public com.google.protobuf.ByteString getInstalledInventoryItemIdsBytes(int inde
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param index The index to set the value at. * @param value The installedInventoryItemIds to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setInstalledInventoryItemIds(int index, java.lang.String value) { + @java.lang.Deprecated public Builder setInstalledInventoryItemIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstalledInventoryItemIdsIsMutable(); + throw new NullPointerException(); + } + ensureInstalledInventoryItemIdsIsMutable(); installedInventoryItemIds_.set(index, value); onChanged(); return this; } /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -6532,26 +5582,22 @@ public Builder setInstalledInventoryItemIds(int index, java.lang.String value) {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param value The installedInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addInstalledInventoryItemIds(java.lang.String value) { + @java.lang.Deprecated public Builder addInstalledInventoryItemIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstalledInventoryItemIdsIsMutable(); + throw new NullPointerException(); + } + ensureInstalledInventoryItemIdsIsMutable(); installedInventoryItemIds_.add(value); onChanged(); return this; } /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -6561,23 +5607,20 @@ public Builder addInstalledInventoryItemIds(java.lang.String value) {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param values The installedInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addAllInstalledInventoryItemIds(java.lang.Iterable values) { + @java.lang.Deprecated public Builder addAllInstalledInventoryItemIds( + java.lang.Iterable values) { ensureInstalledInventoryItemIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, installedInventoryItemIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, installedInventoryItemIds_); onChanged(); return this; } /** - * - * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -6587,22 +5630,17 @@ public Builder addAllInstalledInventoryItemIds(java.lang.Iterable
        *
        * repeated string installed_inventory_item_ids = 2 [deprecated = true];
-       *
-       * @deprecated
-       *     google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids
-       *     is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113
+       * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.
+       *     See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113
        * @return This builder for chaining.
        */
-      @java.lang.Deprecated
-      public Builder clearInstalledInventoryItemIds() {
+      @java.lang.Deprecated public Builder clearInstalledInventoryItemIds() {
         installedInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
         bitField0_ = (bitField0_ & ~0x00000001);
         onChanged();
         return this;
       }
       /**
-       *
-       *
        * 
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -6612,38 +5650,31 @@ public Builder clearInstalledInventoryItemIds() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param value The bytes of the installedInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addInstalledInventoryItemIdsBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder addInstalledInventoryItemIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstalledInventoryItemIdsIsMutable(); installedInventoryItemIds_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList availableInventoryItemIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList availableInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAvailableInventoryItemIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - availableInventoryItemIds_ = - new com.google.protobuf.LazyStringArrayList(availableInventoryItemIds_); + availableInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(availableInventoryItemIds_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -6654,19 +5685,15 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @return A list containing the availableInventoryItemIds. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getAvailableInventoryItemIdsList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getAvailableInventoryItemIdsList() { return availableInventoryItemIds_.getUnmodifiableView(); } /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -6677,19 +5704,14 @@ public com.google.protobuf.ProtocolStringList getAvailableInventoryItemIdsList()
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @return The count of availableInventoryItemIds. */ - @java.lang.Deprecated - public int getAvailableInventoryItemIdsCount() { + @java.lang.Deprecated public int getAvailableInventoryItemIdsCount() { return availableInventoryItemIds_.size(); } /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -6700,20 +5722,15 @@ public int getAvailableInventoryItemIdsCount() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param index The index of the element to return. * @return The availableInventoryItemIds at the given index. */ - @java.lang.Deprecated - public java.lang.String getAvailableInventoryItemIds(int index) { + @java.lang.Deprecated public java.lang.String getAvailableInventoryItemIds(int index) { return availableInventoryItemIds_.get(index); } /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -6724,20 +5741,16 @@ public java.lang.String getAvailableInventoryItemIds(int index) {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param index The index of the value to return. * @return The bytes of the availableInventoryItemIds at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getAvailableInventoryItemIdsBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getAvailableInventoryItemIdsBytes(int index) { return availableInventoryItemIds_.getByteString(index); } /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -6748,27 +5761,23 @@ public com.google.protobuf.ByteString getAvailableInventoryItemIdsBytes(int inde
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param index The index to set the value at. * @param value The availableInventoryItemIds to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setAvailableInventoryItemIds(int index, java.lang.String value) { + @java.lang.Deprecated public Builder setAvailableInventoryItemIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAvailableInventoryItemIdsIsMutable(); + throw new NullPointerException(); + } + ensureAvailableInventoryItemIdsIsMutable(); availableInventoryItemIds_.set(index, value); onChanged(); return this; } /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -6779,26 +5788,22 @@ public Builder setAvailableInventoryItemIds(int index, java.lang.String value) {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param value The availableInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addAvailableInventoryItemIds(java.lang.String value) { + @java.lang.Deprecated public Builder addAvailableInventoryItemIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAvailableInventoryItemIdsIsMutable(); + throw new NullPointerException(); + } + ensureAvailableInventoryItemIdsIsMutable(); availableInventoryItemIds_.add(value); onChanged(); return this; } /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -6809,23 +5814,20 @@ public Builder addAvailableInventoryItemIds(java.lang.String value) {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param values The availableInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addAllAvailableInventoryItemIds(java.lang.Iterable values) { + @java.lang.Deprecated public Builder addAllAvailableInventoryItemIds( + java.lang.Iterable values) { ensureAvailableInventoryItemIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, availableInventoryItemIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, availableInventoryItemIds_); onChanged(); return this; } /** - * - * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -6836,22 +5838,17 @@ public Builder addAllAvailableInventoryItemIds(java.lang.Iterable
        *
        * repeated string available_inventory_item_ids = 3 [deprecated = true];
-       *
-       * @deprecated
-       *     google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids
-       *     is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121
+       * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.
+       *     See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121
        * @return This builder for chaining.
        */
-      @java.lang.Deprecated
-      public Builder clearAvailableInventoryItemIds() {
+      @java.lang.Deprecated public Builder clearAvailableInventoryItemIds() {
         availableInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
         bitField0_ = (bitField0_ & ~0x00000002);
         onChanged();
         return this;
       }
       /**
-       *
-       *
        * 
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -6862,19 +5859,17 @@ public Builder clearAvailableInventoryItemIds() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * - * @deprecated - * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids - * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. + * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param value The bytes of the availableInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addAvailableInventoryItemIdsBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder addAvailableInventoryItemIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAvailableInventoryItemIdsIsMutable(); availableInventoryItemIds_.add(value); onChanged(); @@ -6883,47 +5878,34 @@ public Builder addAvailableInventoryItemIdsBytes(com.google.protobuf.ByteString private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
        * The timestamp for when the vulnerability was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
        * The timestamp for when the vulnerability was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -6944,15 +5926,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The timestamp for when the vulnerability was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 4; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -6963,8 +5944,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -6975,9 +5954,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -6989,8 +5966,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -7009,8 +5984,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -7018,13 +5991,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 4; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -7035,14 +6006,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -7050,17 +6018,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -7068,47 +6033,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
        * The timestamp for when the vulnerability was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } - /** - * - * + /** *
        * The timestamp for when the vulnerability was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -7129,15 +6081,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The timestamp for when the vulnerability was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 5; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -7148,8 +6099,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -7160,9 +6109,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -7174,8 +6121,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -7194,8 +6139,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -7203,13 +6146,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 5; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -7220,14 +6161,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -7235,55 +6173,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - private java.util.List< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item> - items_ = java.util.Collections.emptyList(); - + private java.util.List items_ = + java.util.Collections.emptyList(); private void ensureItemsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - items_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item>(items_); + items_ = new java.util.ArrayList(items_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder> - itemsBuilder_; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder> itemsBuilder_; /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ - public java.util.List< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item> - getItemsList() { + public java.util.List getItemsList() { if (itemsBuilder_ == null) { return java.util.Collections.unmodifiableList(items_); } else { @@ -7291,15 +6213,11 @@ private void ensureItemsIsMutable() { } } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ public int getItemsCount() { if (itemsBuilder_ == null) { @@ -7309,18 +6227,13 @@ public int getItemsCount() { } } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item getItems( - int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item getItems(int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { @@ -7328,19 +6241,14 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item } } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ public Builder setItems( - int index, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item value) { + int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7354,20 +6262,14 @@ public Builder setItems( return this; } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ public Builder setItems( - int index, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.set(index, builderForValue.build()); @@ -7378,18 +6280,13 @@ public Builder setItems( return this; } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ - public Builder addItems( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item value) { + public Builder addItems(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7403,19 +6300,14 @@ public Builder addItems( return this; } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ public Builder addItems( - int index, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item value) { + int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7429,19 +6321,14 @@ public Builder addItems( return this; } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ public Builder addItems( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(builderForValue.build()); @@ -7452,20 +6339,14 @@ public Builder addItems( return this; } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ public Builder addItems( - int index, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(index, builderForValue.build()); @@ -7476,24 +6357,18 @@ public Builder addItems( return this; } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ public Builder addAllItems( - java.lang.Iterable< - ? extends - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item> - values) { + java.lang.Iterable values) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, items_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, items_); onChanged(); } else { itemsBuilder_.addAllMessages(values); @@ -7501,15 +6376,11 @@ public Builder addAllItems( return this; } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ public Builder clearItems() { if (itemsBuilder_ == null) { @@ -7522,15 +6393,11 @@ public Builder clearItems() { return this; } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ public Builder removeItems(int index) { if (itemsBuilder_ == null) { @@ -7543,54 +6410,39 @@ public Builder removeItems(int index) { return this; } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder - getItemsBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder getItemsBuilder( + int index) { return getItemsFieldBuilder().getBuilder(index); } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder - getItemsOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder getItemsOrBuilder( + int index) { if (itemsBuilder_ == null) { - return items_.get(index); - } else { + return items_.get(index); } else { return itemsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder> - getItemsOrBuilderList() { + public java.util.List + getItemsOrBuilderList() { if (itemsBuilder_ != null) { return itemsBuilder_.getMessageOrBuilderList(); } else { @@ -7598,77 +6450,53 @@ public Builder removeItems(int index) { } } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder - addItemsBuilder() { - return getItemsFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item - .getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder addItemsBuilder() { + return getItemsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.getDefaultInstance()); } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder - addItemsBuilder(int index) { - return getItemsFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item - .getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder addItemsBuilder( + int index) { + return getItemsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.getDefaultInstance()); } /** - * - * *
        * List of items affected by the vulnerability.
        * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; */ - public java.util.List< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder> - getItemsBuilderList() { + public java.util.List + getItemsBuilderList() { return getItemsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder> + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder> getItemsFieldBuilder() { if (itemsBuilder_ == null) { - itemsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability - .ItemOrBuilder>( - items_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder>( + items_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); items_ = null; } return itemsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7681,32 +6509,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability) - private static final com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability(); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability - getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Vulnerability parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Vulnerability(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Vulnerability parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Vulnerability(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7718,17 +6544,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The `vulnerabilityReport` API resource name.
    * Format:
@@ -7736,7 +6560,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -7745,15 +6568,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The `vulnerabilityReport` API resource name.
    * Format:
@@ -7761,15 +6583,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -7778,102 +6601,74 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int VULNERABILITIES_FIELD_NUMBER = 2; - private java.util.List - vulnerabilities_; + private java.util.List vulnerabilities_; /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getVulnerabilitiesList() { + public java.util.List getVulnerabilitiesList() { return vulnerabilities_; } /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder> + public java.util.List getVulnerabilitiesOrBuilderList() { return vulnerabilities_; } /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getVulnerabilitiesCount() { return vulnerabilities_.size(); } /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability getVulnerabilities( - int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability getVulnerabilities(int index) { return vulnerabilities_.get(index); } /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder - getVulnerabilitiesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder getVulnerabilitiesOrBuilder( + int index) { return vulnerabilities_.get(index); } public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -7881,16 +6676,12 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -7898,15 +6689,12 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -7914,7 +6702,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7926,7 +6713,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -7949,10 +6737,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < vulnerabilities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, vulnerabilities_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, vulnerabilities_.get(i)); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7962,19 +6752,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.VulnerabilityReport)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.VulnerabilityReport other = - (com.google.cloud.osconfig.v1alpha.VulnerabilityReport) obj; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport other = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport) obj; - if (!getName().equals(other.getName())) return false; - if (!getVulnerabilitiesList().equals(other.getVulnerabilitiesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getVulnerabilitiesList() + .equals(other.getVulnerabilitiesList())) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -8003,104 +6795,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport 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.osconfig.v1alpha.VulnerabilityReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.VulnerabilityReport prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * This API resource represents the vulnerability report for a specified
    * Compute Engine virtual machine (VM) instance at a given point in time.
@@ -8110,23 +6894,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport)
       com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.VulnerabilityReport.class,
-              com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder.class);
+              com.google.cloud.osconfig.v1alpha.VulnerabilityReport.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1alpha.VulnerabilityReport.newBuilder()
@@ -8134,17 +6916,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getVulnerabilitiesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -8166,9 +6948,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
-          .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor;
     }
 
     @java.lang.Override
@@ -8187,8 +6969,7 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.VulnerabilityReport buildPartial() {
-      com.google.cloud.osconfig.v1alpha.VulnerabilityReport result =
-          new com.google.cloud.osconfig.v1alpha.VulnerabilityReport(this);
+      com.google.cloud.osconfig.v1alpha.VulnerabilityReport result = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (vulnerabilitiesBuilder_ == null) {
@@ -8213,39 +6994,38 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.VulnerabilityReport) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.VulnerabilityReport) other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.VulnerabilityReport)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -8253,8 +7033,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.VulnerabilityReport other) {
-      if (other == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -8277,10 +7056,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.VulnerabilityReport o
             vulnerabilitiesBuilder_ = null;
             vulnerabilities_ = other.vulnerabilities_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            vulnerabilitiesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getVulnerabilitiesFieldBuilder()
-                    : null;
+            vulnerabilitiesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getVulnerabilitiesFieldBuilder() : null;
           } else {
             vulnerabilitiesBuilder_.addAllMessages(other.vulnerabilities_);
           }
@@ -8308,8 +7086,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.osconfig.v1alpha.VulnerabilityReport) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -8318,13 +7095,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -8332,13 +7106,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -8347,8 +7121,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -8356,14 +7128,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -8371,8 +7144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -8380,22 +7151,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -8403,18 +7172,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -8422,53 +7188,41 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private java.util.List - vulnerabilities_ = java.util.Collections.emptyList(); - + private java.util.List vulnerabilities_ = + java.util.Collections.emptyList(); private void ensureVulnerabilitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - vulnerabilities_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability>( - vulnerabilities_); + vulnerabilities_ = new java.util.ArrayList(vulnerabilities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder> - vulnerabilitiesBuilder_; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder> vulnerabilitiesBuilder_; /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getVulnerabilitiesList() { + public java.util.List getVulnerabilitiesList() { if (vulnerabilitiesBuilder_ == null) { return java.util.Collections.unmodifiableList(vulnerabilities_); } else { @@ -8476,15 +7230,11 @@ private void ensureVulnerabilitiesIsMutable() { } } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getVulnerabilitiesCount() { if (vulnerabilitiesBuilder_ == null) { @@ -8494,18 +7244,13 @@ public int getVulnerabilitiesCount() { } } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability getVulnerabilities( - int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability getVulnerabilities(int index) { if (vulnerabilitiesBuilder_ == null) { return vulnerabilities_.get(index); } else { @@ -8513,15 +7258,11 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability getVu } } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setVulnerabilities( int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability value) { @@ -8538,20 +7279,14 @@ public Builder setVulnerabilities( return this; } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setVulnerabilities( - int index, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder builderForValue) { if (vulnerabilitiesBuilder_ == null) { ensureVulnerabilitiesIsMutable(); vulnerabilities_.set(index, builderForValue.build()); @@ -8562,18 +7297,13 @@ public Builder setVulnerabilities( return this; } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addVulnerabilities( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability value) { + public Builder addVulnerabilities(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability value) { if (vulnerabilitiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8587,15 +7317,11 @@ public Builder addVulnerabilities( return this; } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addVulnerabilities( int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability value) { @@ -8612,19 +7338,14 @@ public Builder addVulnerabilities( return this; } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addVulnerabilities( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder - builderForValue) { + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder builderForValue) { if (vulnerabilitiesBuilder_ == null) { ensureVulnerabilitiesIsMutable(); vulnerabilities_.add(builderForValue.build()); @@ -8635,20 +7356,14 @@ public Builder addVulnerabilities( return this; } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addVulnerabilities( - int index, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder builderForValue) { if (vulnerabilitiesBuilder_ == null) { ensureVulnerabilitiesIsMutable(); vulnerabilities_.add(index, builderForValue.build()); @@ -8659,23 +7374,18 @@ public Builder addVulnerabilities( return this; } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllVulnerabilities( - java.lang.Iterable< - ? extends com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability> - values) { + java.lang.Iterable values) { if (vulnerabilitiesBuilder_ == null) { ensureVulnerabilitiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vulnerabilities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, vulnerabilities_); onChanged(); } else { vulnerabilitiesBuilder_.addAllMessages(values); @@ -8683,15 +7393,11 @@ public Builder addAllVulnerabilities( return this; } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearVulnerabilities() { if (vulnerabilitiesBuilder_ == null) { @@ -8704,15 +7410,11 @@ public Builder clearVulnerabilities() { return this; } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeVulnerabilities(int index) { if (vulnerabilitiesBuilder_ == null) { @@ -8725,53 +7427,39 @@ public Builder removeVulnerabilities(int index) { return this; } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder - getVulnerabilitiesBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder getVulnerabilitiesBuilder( + int index) { return getVulnerabilitiesFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder - getVulnerabilitiesOrBuilder(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder getVulnerabilitiesOrBuilder( + int index) { if (vulnerabilitiesBuilder_ == null) { - return vulnerabilities_.get(index); - } else { + return vulnerabilities_.get(index); } else { return vulnerabilitiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder> - getVulnerabilitiesOrBuilderList() { + public java.util.List + getVulnerabilitiesOrBuilderList() { if (vulnerabilitiesBuilder_ != null) { return vulnerabilitiesBuilder_.getMessageOrBuilderList(); } else { @@ -8779,70 +7467,45 @@ public Builder removeVulnerabilities(int index) { } } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder - addVulnerabilitiesBuilder() { - return getVulnerabilitiesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability - .getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder addVulnerabilitiesBuilder() { + return getVulnerabilitiesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.getDefaultInstance()); } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder - addVulnerabilitiesBuilder(int index) { - return getVulnerabilitiesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability - .getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder addVulnerabilitiesBuilder( + int index) { + return getVulnerabilitiesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.getDefaultInstance()); } /** - * - * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder> - getVulnerabilitiesBuilderList() { + public java.util.List + getVulnerabilitiesBuilderList() { return getVulnerabilitiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder> + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder> getVulnerabilitiesFieldBuilder() { if (vulnerabilitiesBuilder_ == null) { - vulnerabilitiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder>( + vulnerabilitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder>( vulnerabilities_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -8854,61 +7517,42 @@ public Builder removeVulnerabilities(int index) { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -8924,18 +7568,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -8946,22 +7587,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -8973,16 +7610,12 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -8996,74 +7629,58 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9073,12 +7690,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport) private static final com.google.cloud.osconfig.v1alpha.VulnerabilityReport DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport(); } @@ -9087,16 +7704,16 @@ public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VulnerabilityReport parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VulnerabilityReport(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VulnerabilityReport parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VulnerabilityReport(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9111,4 +7728,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.VulnerabilityReport getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportName.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportName.java similarity index 100% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportName.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportName.java diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportOrBuilder.java similarity index 56% rename from proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportOrBuilder.java rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportOrBuilder.java index 76d1bcf0..4aae9438 100644 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportOrBuilder.java +++ b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; -public interface VulnerabilityReportOrBuilder - extends +public interface VulnerabilityReportOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.VulnerabilityReport) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The `vulnerabilityReport` API resource name.
    * Format:
@@ -33,13 +15,10 @@ public interface VulnerabilityReportOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The `vulnerabilityReport` API resource name.
    * Format:
@@ -47,114 +26,82 @@ public interface VulnerabilityReportOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getVulnerabilitiesList(); /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability getVulnerabilities(int index); /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getVulnerabilitiesCount(); /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List< - ? extends com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder> + java.util.List getVulnerabilitiesOrBuilderList(); /** - * - * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder - getVulnerabilitiesOrBuilder(int index); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder getVulnerabilitiesOrBuilder( + int index); /** - * - * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/config_common.proto b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/config_common.proto similarity index 100% rename from proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/config_common.proto rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/config_common.proto diff --git a/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto similarity index 100% rename from proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto diff --git a/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/inventory.proto b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/inventory.proto similarity index 100% rename from proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/inventory.proto rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/inventory.proto diff --git a/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy.proto b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy.proto similarity index 100% rename from proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy.proto rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy.proto diff --git a/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignment_reports.proto b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignment_reports.proto similarity index 100% rename from proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignment_reports.proto rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignment_reports.proto diff --git a/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignments.proto b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignments.proto similarity index 100% rename from proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignments.proto rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignments.proto diff --git a/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_common.proto b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_common.proto similarity index 100% rename from proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_common.proto rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_common.proto diff --git a/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_zonal_service.proto b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_zonal_service.proto similarity index 100% rename from proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_zonal_service.proto rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_zonal_service.proto diff --git a/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/vulnerability.proto b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/vulnerability.proto similarity index 100% rename from proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/vulnerability.proto rename to owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/vulnerability.proto diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java index 1480ca20..02a2ef2f 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_createospolicyassignment_locationnameospolicyassignmentstring_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_createospolicyassignment_locationnameospolicyassignmentstring_sync] import com.google.cloud.osconfig.v1alpha.LocationName; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -44,5 +43,4 @@ public static void syncCreateOSPolicyAssignmentLocationnameOspolicyassignmentStr } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_createospolicyassignment_locationnameospolicyassignmentstring_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_createospolicyassignment_locationnameospolicyassignmentstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java index 0aa6db02..fdd34a5d 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_createospolicyassignment_stringospolicyassignmentstring_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_createospolicyassignment_stringospolicyassignmentstring_sync] import com.google.cloud.osconfig.v1alpha.LocationName; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -43,5 +42,4 @@ public static void syncCreateOSPolicyAssignmentStringOspolicyassignmentString() } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_createospolicyassignment_stringospolicyassignmentstring_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_createospolicyassignment_stringospolicyassignmentstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java index 195092c9..73f4c6e9 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java @@ -20,6 +20,7 @@ import com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteOSPolicyAssignment { diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java similarity index 85% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java index ba0612c9..830ed99a 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java @@ -16,10 +16,10 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_deleteospolicyassignment_ospolicyassignmentname_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_deleteospolicyassignment_ospolicyassignmentname_sync] import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteOSPolicyAssignmentOspolicyassignmentname { @@ -38,5 +38,4 @@ public static void syncDeleteOSPolicyAssignmentOspolicyassignmentname() throws E } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_deleteospolicyassignment_ospolicyassignmentname_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_deleteospolicyassignment_ospolicyassignmentname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java similarity index 92% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java index ac532038..9eb44868 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java @@ -16,10 +16,10 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_deleteospolicyassignment_string_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_deleteospolicyassignment_string_sync] import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteOSPolicyAssignmentString { diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/AsyncGetInstanceOSPoliciesCompliance.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/AsyncGetInstanceOSPoliciesCompliance.java similarity index 95% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/AsyncGetInstanceOSPoliciesCompliance.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/AsyncGetInstanceOSPoliciesCompliance.java index 720a6181..b7fc7c75 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/AsyncGetInstanceOSPoliciesCompliance.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/AsyncGetInstanceOSPoliciesCompliance.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_async] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_async] import com.google.api.core.ApiFuture; import com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest; import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesCompliance.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesCompliance.java similarity index 94% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesCompliance.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesCompliance.java index 2ff82be0..a04af61b 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesCompliance.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesCompliance.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_sync] import com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest; import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance; import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceName; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceInstanceospoliciescompliancename.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceInstanceospoliciescompliancename.java similarity index 86% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceInstanceospoliciescompliancename.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceInstanceospoliciescompliancename.java index 5e6fc842..bff1cc35 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceInstanceospoliciescompliancename.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceInstanceospoliciescompliancename.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_instanceospoliciescompliancename_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_instanceospoliciescompliancename_sync] import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance; import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -41,5 +40,4 @@ public static void syncGetInstanceOSPoliciesComplianceInstanceospoliciescomplian } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_instanceospoliciescompliancename_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_instanceospoliciescompliancename_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceString.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceString.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceString.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceString.java index 54a435e9..08148dde 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceString.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_string_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_string_sync] import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance; import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -40,5 +39,4 @@ public static void syncGetInstanceOSPoliciesComplianceString() throws Exception } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_string_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventory.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventory.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventory.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventory.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java index bdec1ece..0aa6dc4f 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignment_ospolicyassignmentname_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignment_ospolicyassignmentname_sync] import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -39,5 +38,4 @@ public static void syncGetOSPolicyAssignmentOspolicyassignmentname() throws Exce } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignment_ospolicyassignmentname_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignment_ospolicyassignmentname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java similarity index 86% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java index 4a99188d..3ca283a3 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignmentreport_ospolicyassignmentreportname_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignmentreport_ospolicyassignmentreportname_sync] import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -41,5 +40,4 @@ public static void syncGetOSPolicyAssignmentReportOspolicyassignmentreportname() } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignmentreport_ospolicyassignmentreportname_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignmentreport_ospolicyassignmentreportname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java index e135a00d..0fea7390 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignmentreport_string_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignmentreport_string_sync] import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -41,5 +40,4 @@ public static void syncGetOSPolicyAssignmentReportString() throws Exception { } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignmentreport_string_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignmentreport_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java index bdc61ef6..2cd0ce71 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getvulnerabilityreport_vulnerabilityreportname_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_getvulnerabilityreport_vulnerabilityreportname_sync] import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; import com.google.cloud.osconfig.v1alpha.VulnerabilityReport; import com.google.cloud.osconfig.v1alpha.VulnerabilityReportName; @@ -39,5 +38,4 @@ public static void syncGetVulnerabilityReportVulnerabilityreportname() throws Ex } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getvulnerabilityreport_vulnerabilityreportname_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_getvulnerabilityreport_vulnerabilityreportname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliances.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliances.java similarity index 91% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliances.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliances.java index 97828069..f5d1822b 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliances.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliances.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_async] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_async] import com.google.api.core.ApiFuture; import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance; import com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest; @@ -53,5 +52,4 @@ public static void asyncListInstanceOSPoliciesCompliances() throws Exception { } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_async] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_async] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliancesPaged.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliancesPaged.java similarity index 91% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliancesPaged.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliancesPaged.java index b609b11d..c13ba87f 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliancesPaged.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliancesPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_paged_async] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_paged_async] import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance; import com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest; import com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse; @@ -60,5 +59,4 @@ public static void asyncListInstanceOSPoliciesCompliancesPaged() throws Exceptio } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_paged_async] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_paged_async] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliances.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliances.java similarity index 90% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliances.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliances.java index 04d0f199..181dd853 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliances.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliances.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_sync] import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance; import com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest; import com.google.cloud.osconfig.v1alpha.LocationName; @@ -48,5 +47,4 @@ public static void syncListInstanceOSPoliciesCompliances() throws Exception { } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesLocationname.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesLocationname.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesLocationname.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesLocationname.java index a5df343d..3740662e 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesLocationname.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesLocationname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_locationname_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_locationname_sync] import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance; import com.google.cloud.osconfig.v1alpha.LocationName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -41,5 +40,4 @@ public static void syncListInstanceOSPoliciesCompliancesLocationname() throws Ex } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_locationname_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_locationname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesString.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesString.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesString.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesString.java index f96eda9b..9eda62d8 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesString.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_string_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_string_sync] import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance; import com.google.cloud.osconfig.v1alpha.LocationName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -41,5 +40,4 @@ public static void syncListInstanceOSPoliciesCompliancesString() throws Exceptio } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_string_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventories.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventories.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventories.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventories.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventories.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventories.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventories.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventories.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java similarity index 92% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java index dfd34db6..09a818b6 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_paged_async] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_paged_async] import com.google.cloud.osconfig.v1alpha.InstanceOSPolicyAssignmentName; import com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest; import com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse; @@ -62,5 +61,4 @@ public static void asyncListOSPolicyAssignmentReportsPaged() throws Exception { } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_paged_async] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_paged_async] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java index 3922f6b5..eee8135a 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_instanceospolicyassignmentname_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_instanceospolicyassignmentname_sync] import com.google.cloud.osconfig.v1alpha.InstanceOSPolicyAssignmentName; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -44,5 +43,4 @@ public static void syncListOSPolicyAssignmentReportsInstanceospolicyassignmentna } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_instanceospolicyassignmentname_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_instanceospolicyassignmentname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java index 05278b79..5107710b 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_string_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_string_sync] import com.google.cloud.osconfig.v1alpha.InstanceOSPolicyAssignmentName; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -43,5 +42,4 @@ public static void syncListOSPolicyAssignmentReportsString() throws Exception { } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_string_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java similarity index 95% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java index 95579738..1a308cc9 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_async] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_async] import com.google.api.core.ApiFuture; import com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java similarity index 91% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java index f6ebaa72..1887db86 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_paged_async] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_paged_async] import com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest; import com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; @@ -60,5 +59,4 @@ public static void asyncListOSPolicyAssignmentRevisionsPaged() throws Exception } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_paged_async] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_paged_async] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java similarity index 95% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java index cca72e6d..e3866107 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_sync] import com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentName; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java index 87fa46ef..d6b7fca9 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_ospolicyassignmentname_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_ospolicyassignmentname_sync] import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -42,5 +41,4 @@ public static void syncListOSPolicyAssignmentRevisionsOspolicyassignmentname() t } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_ospolicyassignmentname_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_ospolicyassignmentname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java index f7cb4383..752a45cb 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_string_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_string_sync] import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -42,5 +41,4 @@ public static void syncListOSPolicyAssignmentRevisionsString() throws Exception } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_string_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java index 11618fd4..8b57d55c 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignments_locationname_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignments_locationname_sync] import com.google.cloud.osconfig.v1alpha.LocationName; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -41,5 +40,4 @@ public static void syncListOSPolicyAssignmentsLocationname() throws Exception { } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignments_locationname_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignments_locationname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java similarity index 96% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java index 0d53509d..776310bb 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listvulnerabilityreports_paged_async] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listvulnerabilityreports_paged_async] import com.google.cloud.osconfig.v1alpha.InstanceName; import com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest; import com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java index 80562c70..2342179f 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listvulnerabilityreports_instancename_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listvulnerabilityreports_instancename_sync] import com.google.cloud.osconfig.v1alpha.InstanceName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; import com.google.cloud.osconfig.v1alpha.VulnerabilityReport; @@ -41,5 +40,4 @@ public static void syncListVulnerabilityReportsInstancename() throws Exception { } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listvulnerabilityreports_instancename_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listvulnerabilityreports_instancename_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java similarity index 94% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java index b5de96ba..bc924da0 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listvulnerabilityreports_string_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listvulnerabilityreports_string_sync] import com.google.cloud.osconfig.v1alpha.InstanceName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; import com.google.cloud.osconfig.v1alpha.VulnerabilityReport; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java index d92979e3..f0e2b61e 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java +++ b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_updateospolicyassignment_ospolicyassignmentfieldmask_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_updateospolicyassignment_ospolicyassignmentfieldmask_sync] import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; import com.google.protobuf.FieldMask; @@ -42,5 +41,4 @@ public static void syncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask() thr } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_updateospolicyassignment_ospolicyassignmentfieldmask_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_updateospolicyassignment_ospolicyassignmentfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java b/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/osconfig/v1alpha/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java rename to owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClient.java b/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClient.java similarity index 95% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClient.java rename to owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClient.java index bbf2fb0e..5e7c62f2 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClient.java +++ b/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClient.java @@ -72,13 +72,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1803,11 +1803,8 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListPatchJobsPagedResponse extends AbstractPagedListResponse< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, - PatchJobs.PatchJob, - ListPatchJobsPage, - ListPatchJobsFixedSizeCollection> { + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob, + ListPatchJobsPage, ListPatchJobsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -1829,9 +1826,7 @@ private ListPatchJobsPagedResponse(ListPatchJobsPage page) { public static class ListPatchJobsPage extends AbstractPage< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, - PatchJobs.PatchJob, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob, ListPatchJobsPage> { private ListPatchJobsPage( @@ -1867,11 +1862,8 @@ public ApiFuture createPageAsync( public static class ListPatchJobsFixedSizeCollection extends AbstractFixedSizeCollection< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, - PatchJobs.PatchJob, - ListPatchJobsPage, - ListPatchJobsFixedSizeCollection> { + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob, + ListPatchJobsPage, ListPatchJobsFixedSizeCollection> { private ListPatchJobsFixedSizeCollection(List pages, int collectionSize) { super(pages, collectionSize); @@ -1891,16 +1883,13 @@ protected ListPatchJobsFixedSizeCollection createCollection( public static class ListPatchJobInstanceDetailsPagedResponse extends AbstractPagedListResponse< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - PatchJobs.PatchJobInstanceDetails, - ListPatchJobInstanceDetailsPage, - ListPatchJobInstanceDetailsFixedSizeCollection> { + PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails, + ListPatchJobInstanceDetailsPage, ListPatchJobInstanceDetailsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> context, ApiFuture futureResponse) { ApiFuture futurePage = @@ -1920,15 +1909,13 @@ private ListPatchJobInstanceDetailsPagedResponse(ListPatchJobInstanceDetailsPage public static class ListPatchJobInstanceDetailsPage extends AbstractPage< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - PatchJobs.PatchJobInstanceDetails, + PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails, ListPatchJobInstanceDetailsPage> { private ListPatchJobInstanceDetailsPage( PageContext< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> context, PatchJobs.ListPatchJobInstanceDetailsResponse response) { super(context, response); @@ -1942,8 +1929,7 @@ private static ListPatchJobInstanceDetailsPage createEmptyPage() { protected ListPatchJobInstanceDetailsPage createPage( PageContext< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> context, PatchJobs.ListPatchJobInstanceDetailsResponse response) { return new ListPatchJobInstanceDetailsPage(context, response); @@ -1953,8 +1939,7 @@ protected ListPatchJobInstanceDetailsPage createPage( public ApiFuture createPageAsync( PageContext< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> context, ApiFuture futureResponse) { return super.createPageAsync(context, futureResponse); @@ -1964,10 +1949,8 @@ public ApiFuture createPageAsync( public static class ListPatchJobInstanceDetailsFixedSizeCollection extends AbstractFixedSizeCollection< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - PatchJobs.PatchJobInstanceDetails, - ListPatchJobInstanceDetailsPage, - ListPatchJobInstanceDetailsFixedSizeCollection> { + PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails, + ListPatchJobInstanceDetailsPage, ListPatchJobInstanceDetailsFixedSizeCollection> { private ListPatchJobInstanceDetailsFixedSizeCollection( List pages, int collectionSize) { @@ -1988,16 +1971,13 @@ protected ListPatchJobInstanceDetailsFixedSizeCollection createCollection( public static class ListPatchDeploymentsPagedResponse extends AbstractPagedListResponse< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - PatchDeployments.PatchDeployment, - ListPatchDeploymentsPage, - ListPatchDeploymentsFixedSizeCollection> { + PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment, + ListPatchDeploymentsPage, ListPatchDeploymentsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> context, ApiFuture futureResponse) { ApiFuture futurePage = @@ -2016,15 +1996,13 @@ private ListPatchDeploymentsPagedResponse(ListPatchDeploymentsPage page) { public static class ListPatchDeploymentsPage extends AbstractPage< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - PatchDeployments.PatchDeployment, + PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment, ListPatchDeploymentsPage> { private ListPatchDeploymentsPage( PageContext< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> context, PatchDeployments.ListPatchDeploymentsResponse response) { super(context, response); @@ -2038,8 +2016,7 @@ private static ListPatchDeploymentsPage createEmptyPage() { protected ListPatchDeploymentsPage createPage( PageContext< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> context, PatchDeployments.ListPatchDeploymentsResponse response) { return new ListPatchDeploymentsPage(context, response); @@ -2049,8 +2026,7 @@ protected ListPatchDeploymentsPage createPage( public ApiFuture createPageAsync( PageContext< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> context, ApiFuture futureResponse) { return super.createPageAsync(context, futureResponse); @@ -2060,10 +2036,8 @@ public ApiFuture createPageAsync( public static class ListPatchDeploymentsFixedSizeCollection extends AbstractFixedSizeCollection< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - PatchDeployments.PatchDeployment, - ListPatchDeploymentsPage, - ListPatchDeploymentsFixedSizeCollection> { + PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment, + ListPatchDeploymentsPage, ListPatchDeploymentsFixedSizeCollection> { private ListPatchDeploymentsFixedSizeCollection( List pages, int collectionSize) { @@ -2083,16 +2057,12 @@ protected ListPatchDeploymentsFixedSizeCollection createCollection( public static class ListGuestPoliciesPagedResponse extends AbstractPagedListResponse< - GuestPolicies.ListGuestPoliciesRequest, - GuestPolicies.ListGuestPoliciesResponse, - GuestPolicies.GuestPolicy, - ListGuestPoliciesPage, - ListGuestPoliciesFixedSizeCollection> { + GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.GuestPolicy, ListGuestPoliciesPage, ListGuestPoliciesFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - GuestPolicies.ListGuestPoliciesRequest, - GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, GuestPolicies.GuestPolicy> context, ApiFuture futureResponse) { @@ -2111,15 +2081,12 @@ private ListGuestPoliciesPagedResponse(ListGuestPoliciesPage page) { public static class ListGuestPoliciesPage extends AbstractPage< - GuestPolicies.ListGuestPoliciesRequest, - GuestPolicies.ListGuestPoliciesResponse, - GuestPolicies.GuestPolicy, - ListGuestPoliciesPage> { + GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.GuestPolicy, ListGuestPoliciesPage> { private ListGuestPoliciesPage( PageContext< - GuestPolicies.ListGuestPoliciesRequest, - GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, GuestPolicies.GuestPolicy> context, GuestPolicies.ListGuestPoliciesResponse response) { @@ -2133,8 +2100,7 @@ private static ListGuestPoliciesPage createEmptyPage() { @Override protected ListGuestPoliciesPage createPage( PageContext< - GuestPolicies.ListGuestPoliciesRequest, - GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, GuestPolicies.GuestPolicy> context, GuestPolicies.ListGuestPoliciesResponse response) { @@ -2144,8 +2110,7 @@ protected ListGuestPoliciesPage createPage( @Override public ApiFuture createPageAsync( PageContext< - GuestPolicies.ListGuestPoliciesRequest, - GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, GuestPolicies.GuestPolicy> context, ApiFuture futureResponse) { @@ -2155,11 +2120,8 @@ public ApiFuture createPageAsync( public static class ListGuestPoliciesFixedSizeCollection extends AbstractFixedSizeCollection< - GuestPolicies.ListGuestPoliciesRequest, - GuestPolicies.ListGuestPoliciesResponse, - GuestPolicies.GuestPolicy, - ListGuestPoliciesPage, - ListGuestPoliciesFixedSizeCollection> { + GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.GuestPolicy, ListGuestPoliciesPage, ListGuestPoliciesFixedSizeCollection> { private ListGuestPoliciesFixedSizeCollection( List pages, int collectionSize) { diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceSettings.java b/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceSettings.java similarity index 94% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceSettings.java rename to owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceSettings.java index 6d712455..20c86110 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceSettings.java +++ b/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceSettings.java @@ -31,6 +31,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.osconfig.v1beta.stub.OsConfigServiceStubSettings; @@ -46,9 +47,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -96,8 +97,7 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchJobs. */ public PagedCallSettings< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings() { return ((OsConfigServiceStubSettings) getStubSettings()).listPatchJobsSettings(); @@ -106,8 +106,7 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchJobInstanceDetails. */ public PagedCallSettings< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings() { return ((OsConfigServiceStubSettings) getStubSettings()).listPatchJobInstanceDetailsSettings(); } @@ -129,8 +128,7 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchDeployments. */ public PagedCallSettings< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings() { return ((OsConfigServiceStubSettings) getStubSettings()).listPatchDeploymentsSettings(); } @@ -176,8 +174,7 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listGuestPolicies. */ public PagedCallSettings< - GuestPolicies.ListGuestPoliciesRequest, - GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, ListGuestPoliciesPagedResponse> listGuestPoliciesSettings() { return ((OsConfigServiceStubSettings) getStubSettings()).listGuestPoliciesSettings(); @@ -337,8 +334,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchJobs. */ public PagedCallSettings.Builder< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings() { return getStubSettingsBuilder().listPatchJobsSettings(); @@ -347,8 +343,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchJobInstanceDetails. */ public PagedCallSettings.Builder< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings() { return getStubSettingsBuilder().listPatchJobInstanceDetailsSettings(); } @@ -370,8 +365,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchDeployments. */ public PagedCallSettings.Builder< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings() { return getStubSettingsBuilder().listPatchDeploymentsSettings(); } @@ -418,8 +412,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listGuestPolicies. */ public PagedCallSettings.Builder< - GuestPolicies.ListGuestPoliciesRequest, - GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, ListGuestPoliciesPagedResponse> listGuestPoliciesSettings() { return getStubSettingsBuilder().listGuestPoliciesSettings(); diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/gapic_metadata.json b/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/gapic_metadata.json similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/gapic_metadata.json rename to owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/gapic_metadata.json diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/package-info.java b/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/package-info.java similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/package-info.java rename to owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/package-info.java diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceCallableFactory.java b/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceCallableFactory.java similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceCallableFactory.java rename to owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceCallableFactory.java diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceStub.java b/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceStub.java similarity index 99% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceStub.java rename to owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceStub.java index df8f86c8..49a9ec95 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceStub.java +++ b/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceStub.java @@ -37,6 +37,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceCallableFactory.java b/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceCallableFactory.java similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceCallableFactory.java rename to owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceCallableFactory.java diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceStub.java b/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceStub.java similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceStub.java rename to owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceStub.java diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStub.java b/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStub.java similarity index 100% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStub.java rename to owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStub.java diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStubSettings.java b/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStubSettings.java similarity index 93% rename from google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStubSettings.java rename to owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStubSettings.java index 75c7b861..5493a66c 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStubSettings.java +++ b/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStubSettings.java @@ -66,9 +66,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -107,14 +107,12 @@ public class OsConfigServiceStubSettings extends StubSettings cancelPatchJobSettings; private final PagedCallSettings< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings; private final PagedCallSettings< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings; private final UnaryCallSettings< PatchDeployments.CreatePatchDeploymentRequest, PatchDeployments.PatchDeployment> @@ -124,8 +122,7 @@ public class OsConfigServiceStubSettings extends StubSettings + PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings; private final UnaryCallSettings deletePatchDeploymentSettings; @@ -143,8 +140,7 @@ public class OsConfigServiceStubSettings extends StubSettings getGuestPolicySettings; private final PagedCallSettings< - GuestPolicies.ListGuestPoliciesRequest, - GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, ListGuestPoliciesPagedResponse> listGuestPoliciesSettings; private final UnaryCallSettings @@ -159,8 +155,7 @@ public class OsConfigServiceStubSettings extends StubSettings LIST_PATCH_JOBS_PAGE_STR_DESC = new PagedListDescriptor< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob>() { @Override public String emptyToken() { @@ -202,13 +197,11 @@ public Iterable extractResources( private static final PagedListDescriptor< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> LIST_PATCH_JOB_INSTANCE_DETAILS_PAGE_STR_DESC = new PagedListDescriptor< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - PatchJobs.PatchJobInstanceDetails>() { + PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails>() { @Override public String emptyToken() { return ""; @@ -251,13 +244,11 @@ public Iterable extractResources( private static final PagedListDescriptor< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> LIST_PATCH_DEPLOYMENTS_PAGE_STR_DESC = new PagedListDescriptor< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - PatchDeployments.PatchDeployment>() { + PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment>() { @Override public String emptyToken() { return ""; @@ -299,13 +290,11 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - GuestPolicies.ListGuestPoliciesRequest, - GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, GuestPolicies.GuestPolicy> LIST_GUEST_POLICIES_PAGE_STR_DESC = new PagedListDescriptor< - GuestPolicies.ListGuestPoliciesRequest, - GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, GuestPolicies.GuestPolicy>() { @Override public String emptyToken() { @@ -348,13 +337,11 @@ public Iterable extractResources( }; private static final PagedListResponseFactory< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> LIST_PATCH_JOBS_PAGE_STR_FACT = new PagedListResponseFactory< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -364,8 +351,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob> pageContext = PageContext.create(callable, LIST_PATCH_JOBS_PAGE_STR_DESC, request, context); @@ -375,8 +361,7 @@ public ApiFuture getFuturePagedResponse( private static final PagedListResponseFactory< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> LIST_PATCH_JOB_INSTANCE_DETAILS_PAGE_STR_FACT = new PagedListResponseFactory< PatchJobs.ListPatchJobInstanceDetailsRequest, @@ -408,13 +393,11 @@ public ApiFuture getFuturePagedRespons private static final PagedListResponseFactory< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> LIST_PATCH_DEPLOYMENTS_PAGE_STR_FACT = new PagedListResponseFactory< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - ListPatchDeploymentsPagedResponse>() { + PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( UnaryCallable< @@ -436,13 +419,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - GuestPolicies.ListGuestPoliciesRequest, - GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, ListGuestPoliciesPagedResponse> LIST_GUEST_POLICIES_PAGE_STR_FACT = new PagedListResponseFactory< - GuestPolicies.ListGuestPoliciesRequest, - GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, ListGuestPoliciesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -455,8 +436,7 @@ public ApiFuture getFuturePagedResponse( ApiFuture futureResponse) { PageContext< GuestPolicies.ListGuestPoliciesRequest, - GuestPolicies.ListGuestPoliciesResponse, - GuestPolicies.GuestPolicy> + GuestPolicies.ListGuestPoliciesResponse, GuestPolicies.GuestPolicy> pageContext = PageContext.create( callable, LIST_GUEST_POLICIES_PAGE_STR_DESC, request, context); @@ -483,8 +463,7 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchJobs. */ public PagedCallSettings< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings() { return listPatchJobsSettings; @@ -493,8 +472,7 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchJobInstanceDetails. */ public PagedCallSettings< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings() { return listPatchJobInstanceDetailsSettings; } @@ -516,8 +494,7 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchDeployments. */ public PagedCallSettings< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings() { return listPatchDeploymentsSettings; } @@ -563,8 +540,7 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listGuestPolicies. */ public PagedCallSettings< - GuestPolicies.ListGuestPoliciesRequest, - GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, ListGuestPoliciesPagedResponse> listGuestPoliciesSettings() { return listGuestPoliciesSettings; @@ -727,14 +703,12 @@ public static class Builder extends StubSettings.Builder cancelPatchJobSettings; private final PagedCallSettings.Builder< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings; private final PagedCallSettings.Builder< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings; private final UnaryCallSettings.Builder< PatchDeployments.CreatePatchDeploymentRequest, PatchDeployments.PatchDeployment> @@ -744,8 +718,7 @@ public static class Builder extends StubSettings.Builder + PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings; private final UnaryCallSettings.Builder deletePatchDeploymentSettings; @@ -765,8 +738,7 @@ public static class Builder extends StubSettings.Builder getGuestPolicySettings; private final PagedCallSettings.Builder< - GuestPolicies.ListGuestPoliciesRequest, - GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, ListGuestPoliciesPagedResponse> listGuestPoliciesSettings; private final UnaryCallSettings.Builder< @@ -1059,8 +1031,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchJobs. */ public PagedCallSettings.Builder< - PatchJobs.ListPatchJobsRequest, - PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings() { return listPatchJobsSettings; @@ -1069,8 +1040,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchJobInstanceDetails. */ public PagedCallSettings.Builder< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, - ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings() { return listPatchJobInstanceDetailsSettings; } @@ -1092,8 +1062,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchDeployments. */ public PagedCallSettings.Builder< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, - ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings() { return listPatchDeploymentsSettings; } @@ -1140,8 +1109,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listGuestPolicies. */ public PagedCallSettings.Builder< - GuestPolicies.ListGuestPoliciesRequest, - GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, ListGuestPoliciesPagedResponse> listGuestPoliciesSettings() { return listGuestPoliciesSettings; diff --git a/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigService.java b/owl-bot-staging/v1beta/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigService.java similarity index 100% rename from google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigService.java rename to owl-bot-staging/v1beta/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigService.java diff --git a/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigServiceImpl.java b/owl-bot-staging/v1beta/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigServiceImpl.java similarity index 100% rename from google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigServiceImpl.java rename to owl-bot-staging/v1beta/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigServiceImpl.java diff --git a/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientHttpJsonTest.java b/owl-bot-staging/v1beta/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientHttpJsonTest.java similarity index 100% rename from google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientHttpJsonTest.java rename to owl-bot-staging/v1beta/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientHttpJsonTest.java diff --git a/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientTest.java b/owl-bot-staging/v1beta/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientTest.java similarity index 100% rename from google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientTest.java rename to owl-bot-staging/v1beta/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientTest.java diff --git a/owl-bot-staging/v1beta/grpc-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceGrpc.java b/owl-bot-staging/v1beta/grpc-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceGrpc.java new file mode 100644 index 00000000..994389c4 --- /dev/null +++ b/owl-bot-staging/v1beta/grpc-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceGrpc.java @@ -0,0 +1,1795 @@ +package com.google.cloud.osconfig.v1beta; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * OS Config API
+ * The OS Config service is a server-side component that you can use to
+ * manage package installations and patch jobs for virtual machine instances.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/osconfig/v1beta/osconfig_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class OsConfigServiceGrpc { + + private OsConfigServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.osconfig.v1beta.OsConfigService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getExecutePatchJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExecutePatchJob", + requestType = com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getExecutePatchJobMethod() { + io.grpc.MethodDescriptor getExecutePatchJobMethod; + if ((getExecutePatchJobMethod = OsConfigServiceGrpc.getExecutePatchJobMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getExecutePatchJobMethod = OsConfigServiceGrpc.getExecutePatchJobMethod) == null) { + OsConfigServiceGrpc.getExecutePatchJobMethod = getExecutePatchJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecutePatchJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ExecutePatchJob")) + .build(); + } + } + } + return getExecutePatchJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPatchJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPatchJob", + requestType = com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPatchJobMethod() { + io.grpc.MethodDescriptor getGetPatchJobMethod; + if ((getGetPatchJobMethod = OsConfigServiceGrpc.getGetPatchJobMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getGetPatchJobMethod = OsConfigServiceGrpc.getGetPatchJobMethod) == null) { + OsConfigServiceGrpc.getGetPatchJobMethod = getGetPatchJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPatchJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("GetPatchJob")) + .build(); + } + } + } + return getGetPatchJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getCancelPatchJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelPatchJob", + requestType = com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCancelPatchJobMethod() { + io.grpc.MethodDescriptor getCancelPatchJobMethod; + if ((getCancelPatchJobMethod = OsConfigServiceGrpc.getCancelPatchJobMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getCancelPatchJobMethod = OsConfigServiceGrpc.getCancelPatchJobMethod) == null) { + OsConfigServiceGrpc.getCancelPatchJobMethod = getCancelPatchJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelPatchJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("CancelPatchJob")) + .build(); + } + } + } + return getCancelPatchJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPatchJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPatchJobs", + requestType = com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPatchJobsMethod() { + io.grpc.MethodDescriptor getListPatchJobsMethod; + if ((getListPatchJobsMethod = OsConfigServiceGrpc.getListPatchJobsMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getListPatchJobsMethod = OsConfigServiceGrpc.getListPatchJobsMethod) == null) { + OsConfigServiceGrpc.getListPatchJobsMethod = getListPatchJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPatchJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ListPatchJobs")) + .build(); + } + } + } + return getListPatchJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPatchJobInstanceDetailsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPatchJobInstanceDetails", + requestType = com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPatchJobInstanceDetailsMethod() { + io.grpc.MethodDescriptor getListPatchJobInstanceDetailsMethod; + if ((getListPatchJobInstanceDetailsMethod = OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getListPatchJobInstanceDetailsMethod = OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod) == null) { + OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod = getListPatchJobInstanceDetailsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPatchJobInstanceDetails")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ListPatchJobInstanceDetails")) + .build(); + } + } + } + return getListPatchJobInstanceDetailsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreatePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreatePatchDeployment", + requestType = com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreatePatchDeploymentMethod() { + io.grpc.MethodDescriptor getCreatePatchDeploymentMethod; + if ((getCreatePatchDeploymentMethod = OsConfigServiceGrpc.getCreatePatchDeploymentMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getCreatePatchDeploymentMethod = OsConfigServiceGrpc.getCreatePatchDeploymentMethod) == null) { + OsConfigServiceGrpc.getCreatePatchDeploymentMethod = getCreatePatchDeploymentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("CreatePatchDeployment")) + .build(); + } + } + } + return getCreatePatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPatchDeployment", + requestType = com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPatchDeploymentMethod() { + io.grpc.MethodDescriptor getGetPatchDeploymentMethod; + if ((getGetPatchDeploymentMethod = OsConfigServiceGrpc.getGetPatchDeploymentMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getGetPatchDeploymentMethod = OsConfigServiceGrpc.getGetPatchDeploymentMethod) == null) { + OsConfigServiceGrpc.getGetPatchDeploymentMethod = getGetPatchDeploymentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("GetPatchDeployment")) + .build(); + } + } + } + return getGetPatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPatchDeploymentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPatchDeployments", + requestType = com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPatchDeploymentsMethod() { + io.grpc.MethodDescriptor getListPatchDeploymentsMethod; + if ((getListPatchDeploymentsMethod = OsConfigServiceGrpc.getListPatchDeploymentsMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getListPatchDeploymentsMethod = OsConfigServiceGrpc.getListPatchDeploymentsMethod) == null) { + OsConfigServiceGrpc.getListPatchDeploymentsMethod = getListPatchDeploymentsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPatchDeployments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ListPatchDeployments")) + .build(); + } + } + } + return getListPatchDeploymentsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeletePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePatchDeployment", + requestType = com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeletePatchDeploymentMethod() { + io.grpc.MethodDescriptor getDeletePatchDeploymentMethod; + if ((getDeletePatchDeploymentMethod = OsConfigServiceGrpc.getDeletePatchDeploymentMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getDeletePatchDeploymentMethod = OsConfigServiceGrpc.getDeletePatchDeploymentMethod) == null) { + OsConfigServiceGrpc.getDeletePatchDeploymentMethod = getDeletePatchDeploymentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("DeletePatchDeployment")) + .build(); + } + } + } + return getDeletePatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdatePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdatePatchDeployment", + requestType = com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdatePatchDeploymentMethod() { + io.grpc.MethodDescriptor getUpdatePatchDeploymentMethod; + if ((getUpdatePatchDeploymentMethod = OsConfigServiceGrpc.getUpdatePatchDeploymentMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getUpdatePatchDeploymentMethod = OsConfigServiceGrpc.getUpdatePatchDeploymentMethod) == null) { + OsConfigServiceGrpc.getUpdatePatchDeploymentMethod = getUpdatePatchDeploymentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("UpdatePatchDeployment")) + .build(); + } + } + } + return getUpdatePatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor getPausePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PausePatchDeployment", + requestType = com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPausePatchDeploymentMethod() { + io.grpc.MethodDescriptor getPausePatchDeploymentMethod; + if ((getPausePatchDeploymentMethod = OsConfigServiceGrpc.getPausePatchDeploymentMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getPausePatchDeploymentMethod = OsConfigServiceGrpc.getPausePatchDeploymentMethod) == null) { + OsConfigServiceGrpc.getPausePatchDeploymentMethod = getPausePatchDeploymentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PausePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("PausePatchDeployment")) + .build(); + } + } + } + return getPausePatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor getResumePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ResumePatchDeployment", + requestType = com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getResumePatchDeploymentMethod() { + io.grpc.MethodDescriptor getResumePatchDeploymentMethod; + if ((getResumePatchDeploymentMethod = OsConfigServiceGrpc.getResumePatchDeploymentMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getResumePatchDeploymentMethod = OsConfigServiceGrpc.getResumePatchDeploymentMethod) == null) { + OsConfigServiceGrpc.getResumePatchDeploymentMethod = getResumePatchDeploymentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ResumePatchDeployment")) + .build(); + } + } + } + return getResumePatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateGuestPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateGuestPolicy", + requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.class, + responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateGuestPolicyMethod() { + io.grpc.MethodDescriptor getCreateGuestPolicyMethod; + if ((getCreateGuestPolicyMethod = OsConfigServiceGrpc.getCreateGuestPolicyMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getCreateGuestPolicyMethod = OsConfigServiceGrpc.getCreateGuestPolicyMethod) == null) { + OsConfigServiceGrpc.getCreateGuestPolicyMethod = getCreateGuestPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateGuestPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("CreateGuestPolicy")) + .build(); + } + } + } + return getCreateGuestPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetGuestPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetGuestPolicy", + requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.class, + responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetGuestPolicyMethod() { + io.grpc.MethodDescriptor getGetGuestPolicyMethod; + if ((getGetGuestPolicyMethod = OsConfigServiceGrpc.getGetGuestPolicyMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getGetGuestPolicyMethod = OsConfigServiceGrpc.getGetGuestPolicyMethod) == null) { + OsConfigServiceGrpc.getGetGuestPolicyMethod = getGetGuestPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGuestPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("GetGuestPolicy")) + .build(); + } + } + } + return getGetGuestPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getListGuestPoliciesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListGuestPolicies", + requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.class, + responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListGuestPoliciesMethod() { + io.grpc.MethodDescriptor getListGuestPoliciesMethod; + if ((getListGuestPoliciesMethod = OsConfigServiceGrpc.getListGuestPoliciesMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getListGuestPoliciesMethod = OsConfigServiceGrpc.getListGuestPoliciesMethod) == null) { + OsConfigServiceGrpc.getListGuestPoliciesMethod = getListGuestPoliciesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGuestPolicies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ListGuestPolicies")) + .build(); + } + } + } + return getListGuestPoliciesMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateGuestPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateGuestPolicy", + requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.class, + responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateGuestPolicyMethod() { + io.grpc.MethodDescriptor getUpdateGuestPolicyMethod; + if ((getUpdateGuestPolicyMethod = OsConfigServiceGrpc.getUpdateGuestPolicyMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getUpdateGuestPolicyMethod = OsConfigServiceGrpc.getUpdateGuestPolicyMethod) == null) { + OsConfigServiceGrpc.getUpdateGuestPolicyMethod = getUpdateGuestPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGuestPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("UpdateGuestPolicy")) + .build(); + } + } + } + return getUpdateGuestPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteGuestPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteGuestPolicy", + requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteGuestPolicyMethod() { + io.grpc.MethodDescriptor getDeleteGuestPolicyMethod; + if ((getDeleteGuestPolicyMethod = OsConfigServiceGrpc.getDeleteGuestPolicyMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getDeleteGuestPolicyMethod = OsConfigServiceGrpc.getDeleteGuestPolicyMethod) == null) { + OsConfigServiceGrpc.getDeleteGuestPolicyMethod = getDeleteGuestPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteGuestPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("DeleteGuestPolicy")) + .build(); + } + } + } + return getDeleteGuestPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getLookupEffectiveGuestPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "LookupEffectiveGuestPolicy", + requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.class, + responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getLookupEffectiveGuestPolicyMethod() { + io.grpc.MethodDescriptor getLookupEffectiveGuestPolicyMethod; + if ((getLookupEffectiveGuestPolicyMethod = OsConfigServiceGrpc.getLookupEffectiveGuestPolicyMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getLookupEffectiveGuestPolicyMethod = OsConfigServiceGrpc.getLookupEffectiveGuestPolicyMethod) == null) { + OsConfigServiceGrpc.getLookupEffectiveGuestPolicyMethod = getLookupEffectiveGuestPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupEffectiveGuestPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.getDefaultInstance())) + .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("LookupEffectiveGuestPolicy")) + .build(); + } + } + } + return getLookupEffectiveGuestPolicyMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static OsConfigServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceStub(channel, callOptions); + } + }; + return OsConfigServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static OsConfigServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceBlockingStub(channel, callOptions); + } + }; + return OsConfigServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static OsConfigServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceFutureStub(channel, callOptions); + } + }; + return OsConfigServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * OS Config API
+   * The OS Config service is a server-side component that you can use to
+   * manage package installations and patch jobs for virtual machine instances.
+   * 
+ */ + public static abstract class OsConfigServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Patch VM instances by creating and running a patch job.
+     * 
+ */ + public void executePatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecutePatchJobMethod(), responseObserver); + } + + /** + *
+     * Get the patch job. This can be used to track the progress of an
+     * ongoing patch job or review the details of completed jobs.
+     * 
+ */ + public void getPatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPatchJobMethod(), responseObserver); + } + + /** + *
+     * Cancel a patch job. The patch job must be active. Canceled patch jobs
+     * cannot be restarted.
+     * 
+ */ + public void cancelPatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelPatchJobMethod(), responseObserver); + } + + /** + *
+     * Get a list of patch jobs.
+     * 
+ */ + public void listPatchJobs(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPatchJobsMethod(), responseObserver); + } + + /** + *
+     * Get a list of instance details for a given patch job.
+     * 
+ */ + public void listPatchJobInstanceDetails(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPatchJobInstanceDetailsMethod(), responseObserver); + } + + /** + *
+     * Create an OS Config patch deployment.
+     * 
+ */ + public void createPatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePatchDeploymentMethod(), responseObserver); + } + + /** + *
+     * Get an OS Config patch deployment.
+     * 
+ */ + public void getPatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPatchDeploymentMethod(), responseObserver); + } + + /** + *
+     * Get a page of OS Config patch deployments.
+     * 
+ */ + public void listPatchDeployments(com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPatchDeploymentsMethod(), responseObserver); + } + + /** + *
+     * Delete an OS Config patch deployment.
+     * 
+ */ + public void deletePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePatchDeploymentMethod(), responseObserver); + } + + /** + *
+     * Update an OS Config patch deployment.
+     * 
+ */ + public void updatePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePatchDeploymentMethod(), responseObserver); + } + + /** + *
+     * Change state of patch deployment to "PAUSED".
+     * Patch deployment in paused state doesn't generate patch jobs.
+     * 
+ */ + public void pausePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPausePatchDeploymentMethod(), responseObserver); + } + + /** + *
+     * Change state of patch deployment back to "ACTIVE".
+     * Patch deployment in active state continues to generate patch jobs.
+     * 
+ */ + public void resumePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumePatchDeploymentMethod(), responseObserver); + } + + /** + *
+     * Create an OS Config guest policy.
+     * 
+ */ + public void createGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateGuestPolicyMethod(), responseObserver); + } + + /** + *
+     * Get an OS Config guest policy.
+     * 
+ */ + public void getGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGuestPolicyMethod(), responseObserver); + } + + /** + *
+     * Get a page of OS Config guest policies.
+     * 
+ */ + public void listGuestPolicies(com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListGuestPoliciesMethod(), responseObserver); + } + + /** + *
+     * Update an OS Config guest policy.
+     * 
+ */ + public void updateGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateGuestPolicyMethod(), responseObserver); + } + + /** + *
+     * Delete an OS Config guest policy.
+     * 
+ */ + public void deleteGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteGuestPolicyMethod(), responseObserver); + } + + /** + *
+     * Lookup the effective guest policy that applies to a VM instance. This
+     * lookup merges all policies that are assigned to the instance ancestry.
+     * 
+ */ + public void lookupEffectiveGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLookupEffectiveGuestPolicyMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getExecutePatchJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob>( + this, METHODID_EXECUTE_PATCH_JOB))) + .addMethod( + getGetPatchJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob>( + this, METHODID_GET_PATCH_JOB))) + .addMethod( + getCancelPatchJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob>( + this, METHODID_CANCEL_PATCH_JOB))) + .addMethod( + getListPatchJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse>( + this, METHODID_LIST_PATCH_JOBS))) + .addMethod( + getListPatchJobInstanceDetailsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse>( + this, METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS))) + .addMethod( + getCreatePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( + this, METHODID_CREATE_PATCH_DEPLOYMENT))) + .addMethod( + getGetPatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( + this, METHODID_GET_PATCH_DEPLOYMENT))) + .addMethod( + getListPatchDeploymentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse>( + this, METHODID_LIST_PATCH_DEPLOYMENTS))) + .addMethod( + getDeletePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_PATCH_DEPLOYMENT))) + .addMethod( + getUpdatePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( + this, METHODID_UPDATE_PATCH_DEPLOYMENT))) + .addMethod( + getPausePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( + this, METHODID_PAUSE_PATCH_DEPLOYMENT))) + .addMethod( + getResumePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( + this, METHODID_RESUME_PATCH_DEPLOYMENT))) + .addMethod( + getCreateGuestPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>( + this, METHODID_CREATE_GUEST_POLICY))) + .addMethod( + getGetGuestPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>( + this, METHODID_GET_GUEST_POLICY))) + .addMethod( + getListGuestPoliciesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse>( + this, METHODID_LIST_GUEST_POLICIES))) + .addMethod( + getUpdateGuestPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>( + this, METHODID_UPDATE_GUEST_POLICY))) + .addMethod( + getDeleteGuestPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_GUEST_POLICY))) + .addMethod( + getLookupEffectiveGuestPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy>( + this, METHODID_LOOKUP_EFFECTIVE_GUEST_POLICY))) + .build(); + } + } + + /** + *
+   * OS Config API
+   * The OS Config service is a server-side component that you can use to
+   * manage package installations and patch jobs for virtual machine instances.
+   * 
+ */ + public static final class OsConfigServiceStub extends io.grpc.stub.AbstractAsyncStub { + private OsConfigServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceStub(channel, callOptions); + } + + /** + *
+     * Patch VM instances by creating and running a patch job.
+     * 
+ */ + public void executePatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExecutePatchJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get the patch job. This can be used to track the progress of an
+     * ongoing patch job or review the details of completed jobs.
+     * 
+ */ + public void getPatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPatchJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Cancel a patch job. The patch job must be active. Canceled patch jobs
+     * cannot be restarted.
+     * 
+ */ + public void cancelPatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelPatchJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get a list of patch jobs.
+     * 
+ */ + public void listPatchJobs(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPatchJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get a list of instance details for a given patch job.
+     * 
+ */ + public void listPatchJobInstanceDetails(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPatchJobInstanceDetailsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Create an OS Config patch deployment.
+     * 
+ */ + public void createPatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePatchDeploymentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get an OS Config patch deployment.
+     * 
+ */ + public void getPatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPatchDeploymentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get a page of OS Config patch deployments.
+     * 
+ */ + public void listPatchDeployments(com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPatchDeploymentsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Delete an OS Config patch deployment.
+     * 
+ */ + public void deletePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePatchDeploymentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Update an OS Config patch deployment.
+     * 
+ */ + public void updatePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePatchDeploymentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Change state of patch deployment to "PAUSED".
+     * Patch deployment in paused state doesn't generate patch jobs.
+     * 
+ */ + public void pausePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPausePatchDeploymentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Change state of patch deployment back to "ACTIVE".
+     * Patch deployment in active state continues to generate patch jobs.
+     * 
+ */ + public void resumePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getResumePatchDeploymentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Create an OS Config guest policy.
+     * 
+ */ + public void createGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateGuestPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get an OS Config guest policy.
+     * 
+ */ + public void getGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetGuestPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get a page of OS Config guest policies.
+     * 
+ */ + public void listGuestPolicies(com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListGuestPoliciesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Update an OS Config guest policy.
+     * 
+ */ + public void updateGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateGuestPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Delete an OS Config guest policy.
+     * 
+ */ + public void deleteGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteGuestPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup the effective guest policy that applies to a VM instance. This
+     * lookup merges all policies that are assigned to the instance ancestry.
+     * 
+ */ + public void lookupEffectiveGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getLookupEffectiveGuestPolicyMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * OS Config API
+   * The OS Config service is a server-side component that you can use to
+   * manage package installations and patch jobs for virtual machine instances.
+   * 
+ */ + public static final class OsConfigServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private OsConfigServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Patch VM instances by creating and running a patch job.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob executePatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExecutePatchJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Get the patch job. This can be used to track the progress of an
+     * ongoing patch job or review the details of completed jobs.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob getPatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPatchJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Cancel a patch job. The patch job must be active. Canceled patch jobs
+     * cannot be restarted.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob cancelPatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelPatchJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Get a list of patch jobs.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse listPatchJobs(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPatchJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Get a list of instance details for a given patch job.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse listPatchJobInstanceDetails(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPatchJobInstanceDetailsMethod(), getCallOptions(), request); + } + + /** + *
+     * Create an OS Config patch deployment.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment createPatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePatchDeploymentMethod(), getCallOptions(), request); + } + + /** + *
+     * Get an OS Config patch deployment.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPatchDeploymentMethod(), getCallOptions(), request); + } + + /** + *
+     * Get a page of OS Config patch deployments.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse listPatchDeployments(com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPatchDeploymentsMethod(), getCallOptions(), request); + } + + /** + *
+     * Delete an OS Config patch deployment.
+     * 
+ */ + public com.google.protobuf.Empty deletePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePatchDeploymentMethod(), getCallOptions(), request); + } + + /** + *
+     * Update an OS Config patch deployment.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment updatePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePatchDeploymentMethod(), getCallOptions(), request); + } + + /** + *
+     * Change state of patch deployment to "PAUSED".
+     * Patch deployment in paused state doesn't generate patch jobs.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment pausePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPausePatchDeploymentMethod(), getCallOptions(), request); + } + + /** + *
+     * Change state of patch deployment back to "ACTIVE".
+     * Patch deployment in active state continues to generate patch jobs.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment resumePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getResumePatchDeploymentMethod(), getCallOptions(), request); + } + + /** + *
+     * Create an OS Config guest policy.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy createGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateGuestPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Get an OS Config guest policy.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetGuestPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Get a page of OS Config guest policies.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse listGuestPolicies(com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListGuestPoliciesMethod(), getCallOptions(), request); + } + + /** + *
+     * Update an OS Config guest policy.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy updateGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateGuestPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Delete an OS Config guest policy.
+     * 
+ */ + public com.google.protobuf.Empty deleteGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteGuestPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup the effective guest policy that applies to a VM instance. This
+     * lookup merges all policies that are assigned to the instance ancestry.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy lookupEffectiveGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getLookupEffectiveGuestPolicyMethod(), getCallOptions(), request); + } + } + + /** + *
+   * OS Config API
+   * The OS Config service is a server-side component that you can use to
+   * manage package installations and patch jobs for virtual machine instances.
+   * 
+ */ + public static final class OsConfigServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private OsConfigServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Patch VM instances by creating and running a patch job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture executePatchJob( + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExecutePatchJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Get the patch job. This can be used to track the progress of an
+     * ongoing patch job or review the details of completed jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getPatchJob( + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPatchJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Cancel a patch job. The patch job must be active. Canceled patch jobs
+     * cannot be restarted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture cancelPatchJob( + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelPatchJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Get a list of patch jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listPatchJobs( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPatchJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Get a list of instance details for a given patch job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listPatchJobInstanceDetails( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPatchJobInstanceDetailsMethod(), getCallOptions()), request); + } + + /** + *
+     * Create an OS Config patch deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createPatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePatchDeploymentMethod(), getCallOptions()), request); + } + + /** + *
+     * Get an OS Config patch deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getPatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPatchDeploymentMethod(), getCallOptions()), request); + } + + /** + *
+     * Get a page of OS Config patch deployments.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listPatchDeployments( + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPatchDeploymentsMethod(), getCallOptions()), request); + } + + /** + *
+     * Delete an OS Config patch deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deletePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePatchDeploymentMethod(), getCallOptions()), request); + } + + /** + *
+     * Update an OS Config patch deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updatePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdatePatchDeploymentMethod(), getCallOptions()), request); + } + + /** + *
+     * Change state of patch deployment to "PAUSED".
+     * Patch deployment in paused state doesn't generate patch jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture pausePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPausePatchDeploymentMethod(), getCallOptions()), request); + } + + /** + *
+     * Change state of patch deployment back to "ACTIVE".
+     * Patch deployment in active state continues to generate patch jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture resumePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getResumePatchDeploymentMethod(), getCallOptions()), request); + } + + /** + *
+     * Create an OS Config guest policy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateGuestPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Get an OS Config guest policy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetGuestPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Get a page of OS Config guest policies.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listGuestPolicies( + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListGuestPoliciesMethod(), getCallOptions()), request); + } + + /** + *
+     * Update an OS Config guest policy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateGuestPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Delete an OS Config guest policy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteGuestPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup the effective guest policy that applies to a VM instance. This
+     * lookup merges all policies that are assigned to the instance ancestry.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture lookupEffectiveGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getLookupEffectiveGuestPolicyMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_EXECUTE_PATCH_JOB = 0; + private static final int METHODID_GET_PATCH_JOB = 1; + private static final int METHODID_CANCEL_PATCH_JOB = 2; + private static final int METHODID_LIST_PATCH_JOBS = 3; + private static final int METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS = 4; + private static final int METHODID_CREATE_PATCH_DEPLOYMENT = 5; + private static final int METHODID_GET_PATCH_DEPLOYMENT = 6; + private static final int METHODID_LIST_PATCH_DEPLOYMENTS = 7; + private static final int METHODID_DELETE_PATCH_DEPLOYMENT = 8; + private static final int METHODID_UPDATE_PATCH_DEPLOYMENT = 9; + private static final int METHODID_PAUSE_PATCH_DEPLOYMENT = 10; + private static final int METHODID_RESUME_PATCH_DEPLOYMENT = 11; + private static final int METHODID_CREATE_GUEST_POLICY = 12; + private static final int METHODID_GET_GUEST_POLICY = 13; + private static final int METHODID_LIST_GUEST_POLICIES = 14; + private static final int METHODID_UPDATE_GUEST_POLICY = 15; + private static final int METHODID_DELETE_GUEST_POLICY = 16; + private static final int METHODID_LOOKUP_EFFECTIVE_GUEST_POLICY = 17; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final OsConfigServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(OsConfigServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_EXECUTE_PATCH_JOB: + serviceImpl.executePatchJob((com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PATCH_JOB: + serviceImpl.getPatchJob((com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_PATCH_JOB: + serviceImpl.cancelPatchJob((com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PATCH_JOBS: + serviceImpl.listPatchJobs((com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS: + serviceImpl.listPatchJobInstanceDetails((com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_PATCH_DEPLOYMENT: + serviceImpl.createPatchDeployment((com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PATCH_DEPLOYMENT: + serviceImpl.getPatchDeployment((com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PATCH_DEPLOYMENTS: + serviceImpl.listPatchDeployments((com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_PATCH_DEPLOYMENT: + serviceImpl.deletePatchDeployment((com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_PATCH_DEPLOYMENT: + serviceImpl.updatePatchDeployment((com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PAUSE_PATCH_DEPLOYMENT: + serviceImpl.pausePatchDeployment((com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESUME_PATCH_DEPLOYMENT: + serviceImpl.resumePatchDeployment((com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_GUEST_POLICY: + serviceImpl.createGuestPolicy((com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_GUEST_POLICY: + serviceImpl.getGuestPolicy((com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_GUEST_POLICIES: + serviceImpl.listGuestPolicies((com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_GUEST_POLICY: + serviceImpl.updateGuestPolicy((com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_GUEST_POLICY: + serviceImpl.deleteGuestPolicy((com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LOOKUP_EFFECTIVE_GUEST_POLICY: + serviceImpl.lookupEffectiveGuestPolicy((com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class OsConfigServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + OsConfigServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.osconfig.v1beta.OsConfigProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("OsConfigService"); + } + } + + private static final class OsConfigServiceFileDescriptorSupplier + extends OsConfigServiceBaseDescriptorSupplier { + OsConfigServiceFileDescriptorSupplier() {} + } + + private static final class OsConfigServiceMethodDescriptorSupplier + extends OsConfigServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + OsConfigServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (OsConfigServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new OsConfigServiceFileDescriptorSupplier()) + .addMethod(getExecutePatchJobMethod()) + .addMethod(getGetPatchJobMethod()) + .addMethod(getCancelPatchJobMethod()) + .addMethod(getListPatchJobsMethod()) + .addMethod(getListPatchJobInstanceDetailsMethod()) + .addMethod(getCreatePatchDeploymentMethod()) + .addMethod(getGetPatchDeploymentMethod()) + .addMethod(getListPatchDeploymentsMethod()) + .addMethod(getDeletePatchDeploymentMethod()) + .addMethod(getUpdatePatchDeploymentMethod()) + .addMethod(getPausePatchDeploymentMethod()) + .addMethod(getResumePatchDeploymentMethod()) + .addMethod(getCreateGuestPolicyMethod()) + .addMethod(getGetGuestPolicyMethod()) + .addMethod(getListGuestPoliciesMethod()) + .addMethod(getUpdateGuestPolicyMethod()) + .addMethod(getDeleteGuestPolicyMethod()) + .addMethod(getLookupEffectiveGuestPolicyMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/Common.java b/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/Common.java similarity index 69% rename from proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/Common.java rename to owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/Common.java index eae8722d..1ef768b3 100644 --- a/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/Common.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/Common.java @@ -1,18 +1,3 @@ -/* - * 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/osconfig/v1beta/osconfig_common.proto @@ -20,66 +5,55 @@ public final class Common { private Common() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { } - public interface FixedOrPercentOrBuilder - extends + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface FixedOrPercentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.FixedOrPercent) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; - * * @return Whether the fixed field is set. */ boolean hasFixed(); /** - * - * *
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; - * * @return The fixed. */ int getFixed(); /** - * - * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; - * * @return Whether the percent field is set. */ boolean hasPercent(); /** - * - * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; - * * @return The percent. */ int getPercent(); @@ -87,8 +61,6 @@ public interface FixedOrPercentOrBuilder public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.ModeCase getModeCase(); } /** - * - * *
    * Message encapsulating a value that can be either absolute ("fixed") or
    * relative ("percent") to a value.
@@ -96,29 +68,30 @@ public interface FixedOrPercentOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.FixedOrPercent}
    */
-  public static final class FixedOrPercent extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class FixedOrPercent extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.FixedOrPercent)
       FixedOrPercentOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use FixedOrPercent.newBuilder() to construct.
     private FixedOrPercent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private FixedOrPercent() {}
+    private FixedOrPercent() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new FixedOrPercent();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private FixedOrPercent(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -137,25 +110,23 @@ private FixedOrPercent(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                mode_ = input.readInt32();
-                modeCase_ = 1;
-                break;
-              }
-            case 16:
-              {
-                mode_ = input.readInt32();
-                modeCase_ = 2;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+            case 8: {
+              mode_ = input.readInt32();
+              modeCase_ = 1;
+              break;
+            }
+            case 16: {
+              mode_ = input.readInt32();
+              modeCase_ = 2;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -163,40 +134,35 @@ private FixedOrPercent(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.Common
-          .internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.Common.internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.Common
-          .internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.Common.internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.class,
-              com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder.class);
+              com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.class, com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder.class);
     }
 
     private int modeCase_ = 0;
     private java.lang.Object mode_;
-
     public enum ModeCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       FIXED(1),
       PERCENT(2),
       MODE_NOT_SET(0);
       private final int value;
-
       private ModeCase(int value) {
         this.value = value;
       }
@@ -212,36 +178,30 @@ public static ModeCase valueOf(int value) {
 
       public static ModeCase forNumber(int value) {
         switch (value) {
-          case 1:
-            return FIXED;
-          case 2:
-            return PERCENT;
-          case 0:
-            return MODE_NOT_SET;
-          default:
-            return null;
+          case 1: return FIXED;
+          case 2: return PERCENT;
+          case 0: return MODE_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ModeCase getModeCase() {
-      return ModeCase.forNumber(modeCase_);
+    public ModeCase
+    getModeCase() {
+      return ModeCase.forNumber(
+          modeCase_);
     }
 
     public static final int FIXED_FIELD_NUMBER = 1;
     /**
-     *
-     *
      * 
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; - * * @return Whether the fixed field is set. */ @java.lang.Override @@ -249,14 +209,11 @@ public boolean hasFixed() { return modeCase_ == 1; } /** - * - * *
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; - * * @return The fixed. */ @java.lang.Override @@ -269,15 +226,12 @@ public int getFixed() { public static final int PERCENT_FIELD_NUMBER = 2; /** - * - * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; - * * @return Whether the percent field is set. */ @java.lang.Override @@ -285,15 +239,12 @@ public boolean hasPercent() { return modeCase_ == 2; } /** - * - * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; - * * @return The percent. */ @java.lang.Override @@ -305,7 +256,6 @@ public int getPercent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -317,12 +267,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (modeCase_ == 1) { - output.writeInt32(1, (int) ((java.lang.Integer) mode_)); + output.writeInt32( + 1, (int)((java.lang.Integer) mode_)); } if (modeCase_ == 2) { - output.writeInt32(2, (int) ((java.lang.Integer) mode_)); + output.writeInt32( + 2, (int)((java.lang.Integer) mode_)); } unknownFields.writeTo(output); } @@ -334,14 +287,14 @@ public int getSerializedSize() { size = 0; if (modeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 1, (int) ((java.lang.Integer) mode_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 1, (int)((java.lang.Integer) mode_)); } if (modeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 2, (int) ((java.lang.Integer) mode_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 2, (int)((java.lang.Integer) mode_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -351,21 +304,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.Common.FixedOrPercent)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.Common.FixedOrPercent other = - (com.google.cloud.osconfig.v1beta.Common.FixedOrPercent) obj; + com.google.cloud.osconfig.v1beta.Common.FixedOrPercent other = (com.google.cloud.osconfig.v1beta.Common.FixedOrPercent) obj; if (!getModeCase().equals(other.getModeCase())) return false; switch (modeCase_) { case 1: - if (getFixed() != other.getFixed()) return false; + if (getFixed() + != other.getFixed()) return false; break; case 2: - if (getPercent() != other.getPercent()) return false; + if (getPercent() + != other.getPercent()) return false; break; case 0: default: @@ -399,94 +353,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent 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.osconfig.v1beta.Common.FixedOrPercent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.Common.FixedOrPercent prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.Common.FixedOrPercent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -496,8 +443,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Message encapsulating a value that can be either absolute ("fixed") or
      * relative ("percent") to a value.
@@ -505,24 +450,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.FixedOrPercent}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.FixedOrPercent)
         com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.Common
-            .internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.Common.internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.Common
-            .internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.Common.internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.class,
-                com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder.class);
+                com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.class, com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.newBuilder()
@@ -530,15 +472,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -548,9 +491,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.Common
-            .internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.Common.internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor;
       }
 
       @java.lang.Override
@@ -569,8 +512,7 @@ public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent buildPartial() {
-        com.google.cloud.osconfig.v1beta.Common.FixedOrPercent result =
-            new com.google.cloud.osconfig.v1beta.Common.FixedOrPercent(this);
+        com.google.cloud.osconfig.v1beta.Common.FixedOrPercent result = new com.google.cloud.osconfig.v1beta.Common.FixedOrPercent(this);
         if (modeCase_ == 1) {
           result.mode_ = mode_;
         }
@@ -586,41 +528,38 @@ public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.Common.FixedOrPercent) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.Common.FixedOrPercent) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.Common.FixedOrPercent)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -628,23 +567,19 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.Common.FixedOrPercent other) {
-        if (other == com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.getDefaultInstance()) return this;
         switch (other.getModeCase()) {
-          case FIXED:
-            {
-              setFixed(other.getFixed());
-              break;
-            }
-          case PERCENT:
-            {
-              setPercent(other.getPercent());
-              break;
-            }
-          case MODE_NOT_SET:
-            {
-              break;
-            }
+          case FIXED: {
+            setFixed(other.getFixed());
+            break;
+          }
+          case PERCENT: {
+            setPercent(other.getPercent());
+            break;
+          }
+          case MODE_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -665,8 +600,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.Common.FixedOrPercent) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.Common.FixedOrPercent) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -675,12 +609,12 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int modeCase_ = 0;
       private java.lang.Object mode_;
-
-      public ModeCase getModeCase() {
-        return ModeCase.forNumber(modeCase_);
+      public ModeCase
+          getModeCase() {
+        return ModeCase.forNumber(
+            modeCase_);
       }
 
       public Builder clearMode() {
@@ -690,29 +624,24 @@ public Builder clearMode() {
         return this;
       }
 
+
       /**
-       *
-       *
        * 
        * Specifies a fixed value.
        * 
* * int32 fixed = 1; - * * @return Whether the fixed field is set. */ public boolean hasFixed() { return modeCase_ == 1; } /** - * - * *
        * Specifies a fixed value.
        * 
* * int32 fixed = 1; - * * @return The fixed. */ public int getFixed() { @@ -722,14 +651,11 @@ public int getFixed() { return 0; } /** - * - * *
        * Specifies a fixed value.
        * 
* * int32 fixed = 1; - * * @param value The fixed to set. * @return This builder for chaining. */ @@ -740,14 +666,11 @@ public Builder setFixed(int value) { return this; } /** - * - * *
        * Specifies a fixed value.
        * 
* * int32 fixed = 1; - * * @return This builder for chaining. */ public Builder clearFixed() { @@ -760,30 +683,24 @@ public Builder clearFixed() { } /** - * - * *
        * Specifies the relative value defined as a percentage, which will be
        * multiplied by a reference value.
        * 
* * int32 percent = 2; - * * @return Whether the percent field is set. */ public boolean hasPercent() { return modeCase_ == 2; } /** - * - * *
        * Specifies the relative value defined as a percentage, which will be
        * multiplied by a reference value.
        * 
* * int32 percent = 2; - * * @return The percent. */ public int getPercent() { @@ -793,15 +710,12 @@ public int getPercent() { return 0; } /** - * - * *
        * Specifies the relative value defined as a percentage, which will be
        * multiplied by a reference value.
        * 
* * int32 percent = 2; - * * @param value The percent to set. * @return This builder for chaining. */ @@ -812,15 +726,12 @@ public Builder setPercent(int value) { return this; } /** - * - * *
        * Specifies the relative value defined as a percentage, which will be
        * multiplied by a reference value.
        * 
* * int32 percent = 2; - * * @return This builder for chaining. */ public Builder clearPercent() { @@ -831,7 +742,6 @@ public Builder clearPercent() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -844,12 +754,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.FixedOrPercent) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.FixedOrPercent) private static final com.google.cloud.osconfig.v1beta.Common.FixedOrPercent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.Common.FixedOrPercent(); } @@ -858,16 +768,16 @@ public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FixedOrPercent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FixedOrPercent(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FixedOrPercent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FixedOrPercent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -882,44 +792,43 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { return descriptor; } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; static { java.lang.String[] descriptorData = { - "\n2google/cloud/osconfig/v1beta/osconfig_" - + "common.proto\022\034google.cloud.osconfig.v1be" - + "ta\032\034google/api/annotations.proto\"<\n\016Fixe" - + "dOrPercent\022\017\n\005fixed\030\001 \001(\005H\000\022\021\n\007percent\030\002" - + " \001(\005H\000B\006\n\004modeBp\n com.google.cloud.oscon" - + "fig.v1betaB\006CommonZDgoogle.golang.org/ge" - + "nproto/googleapis/cloud/osconfig/v1beta;" - + "osconfigb\006proto3" + "\n2google/cloud/osconfig/v1beta/osconfig_" + + "common.proto\022\034google.cloud.osconfig.v1be" + + "ta\032\034google/api/annotations.proto\"<\n\016Fixe" + + "dOrPercent\022\017\n\005fixed\030\001 \001(\005H\000\022\021\n\007percent\030\002" + + " \001(\005H\000B\006\n\004modeBp\n com.google.cloud.oscon" + + "fig.v1betaB\006CommonZDgoogle.golang.org/ge" + + "nproto/googleapis/cloud/osconfig/v1beta;" + + "osconfigb\006proto3" }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor, - new java.lang.String[] { - "Fixed", "Percent", "Mode", - }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor, + new java.lang.String[] { "Fixed", "Percent", "Mode", }); com.google.api.AnnotationsProto.getDescriptor(); } diff --git a/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicies.java b/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicies.java similarity index 68% rename from proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicies.java rename to owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicies.java index 6b686cec..76202e57 100644 --- a/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicies.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicies.java @@ -1,18 +1,3 @@ -/* - * 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/osconfig/v1beta/guest_policies.proto @@ -20,25 +5,25 @@ public final class GuestPolicies { private GuestPolicies() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); } /** - * - * *
    * The desired state that the OS Config agent maintains on the VM instance.
    * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.DesiredState} */ - public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { + public enum DesiredState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The default is to ensure the package is installed.
      * 
@@ -47,8 +32,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ DESIRED_STATE_UNSPECIFIED(0), /** - * - * *
      * The agent ensures that the package is installed.
      * 
@@ -57,8 +40,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ INSTALLED(1), /** - * - * *
      * The agent ensures that the package is installed and
      * periodically checks for and install any updates.
@@ -68,8 +49,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum {
      */
     UPDATED(2),
     /**
-     *
-     *
      * 
      * The agent ensures that the package is not installed and uninstall it
      * if detected.
@@ -82,8 +61,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The default is to ensure the package is installed.
      * 
@@ -92,8 +69,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DESIRED_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The agent ensures that the package is installed.
      * 
@@ -102,8 +77,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTALLED_VALUE = 1; /** - * - * *
      * The agent ensures that the package is installed and
      * periodically checks for and install any updates.
@@ -113,8 +86,6 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UPDATED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The agent ensures that the package is not installed and uninstall it
      * if detected.
@@ -124,6 +95,7 @@ public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REMOVED_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -148,51 +120,50 @@ public static DesiredState valueOf(int value) {
      */
     public static DesiredState forNumber(int value) {
       switch (value) {
-        case 0:
-          return DESIRED_STATE_UNSPECIFIED;
-        case 1:
-          return INSTALLED;
-        case 2:
-          return UPDATED;
-        case 3:
-          return REMOVED;
-        default:
-          return null;
+        case 0: return DESIRED_STATE_UNSPECIFIED;
+        case 1: return INSTALLED;
+        case 2: return UPDATED;
+        case 3: return REMOVED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        DesiredState> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public DesiredState findValueByNumber(int number) {
+              return DesiredState.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public DesiredState findValueByNumber(int number) {
-            return DesiredState.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.osconfig.v1beta.GuestPolicies.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final DesiredState[] VALUES = values();
 
-    public static DesiredState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static DesiredState valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -209,14 +180,11 @@ private DesiredState(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1beta.DesiredState)
   }
 
-  public interface GuestPolicyOrBuilder
-      extends
+  public interface GuestPolicyOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.GuestPolicy)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. Unique name of the resource in this project using one of the following
      * forms:
@@ -224,13 +192,10 @@ public interface GuestPolicyOrBuilder
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. Unique name of the resource in this project using one of the following
      * forms:
@@ -238,123 +203,88 @@ public interface GuestPolicyOrBuilder
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Description of the guest policy. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * Description of the guest policy. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * Output only. Time this guest policy was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
      * Output only. Time this guest policy was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
      * Output only. Time this guest policy was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
      * Output only. Last time this guest policy was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
      * Output only. Last time this guest policy was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
      * Output only. Last time this guest policy was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
      * Required. Specifies the VM instances that are assigned to this policy. This allows
      * you to target sets or groups of VM instances by different parameters such
@@ -366,16 +296,11 @@ public interface GuestPolicyOrBuilder
      * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
      * 
* - * - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the assignment field is set. */ boolean hasAssignment(); /** - * - * *
      * Required. Specifies the VM instances that are assigned to this policy. This allows
      * you to target sets or groups of VM instances by different parameters such
@@ -387,16 +312,11 @@ public interface GuestPolicyOrBuilder
      * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
      * 
* - * - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The assignment. */ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment getAssignment(); /** - * - * *
      * Required. Specifies the VM instances that are assigned to this policy. This allows
      * you to target sets or groups of VM instances by different parameters such
@@ -408,25 +328,20 @@ public interface GuestPolicyOrBuilder
      * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
      * 
* - * - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder getAssignmentOrBuilder(); /** - * - * *
      * The software packages to be managed by this policy.
      * 
* * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ - java.util.List getPackagesList(); + java.util.List + getPackagesList(); /** - * - * *
      * The software packages to be managed by this policy.
      * 
@@ -435,8 +350,6 @@ public interface GuestPolicyOrBuilder */ com.google.cloud.osconfig.v1beta.GuestPolicies.Package getPackages(int index); /** - * - * *
      * The software packages to be managed by this policy.
      * 
@@ -445,30 +358,25 @@ public interface GuestPolicyOrBuilder */ int getPackagesCount(); /** - * - * *
      * The software packages to be managed by this policy.
      * 
* * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ - java.util.List + java.util.List getPackagesOrBuilderList(); /** - * - * *
      * The software packages to be managed by this policy.
      * 
* * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackagesOrBuilder(int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackagesOrBuilder( + int index); /** - * - * *
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -476,14 +384,11 @@ public interface GuestPolicyOrBuilder
      * manager(s) are available.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ - java.util.List + java.util.List getPackageRepositoriesList(); /** - * - * *
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -491,14 +396,10 @@ public interface GuestPolicyOrBuilder
      * manager(s) are available.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepositories( - int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepositories(int index); /** - * - * *
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -506,13 +407,10 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepos
      * manager(s) are available.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ int getPackageRepositoriesCount(); /** - * - * *
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -520,15 +418,11 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepos
      * manager(s) are available.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ - java.util.List< - ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> + java.util.List getPackageRepositoriesOrBuilderList(); /** - * - * *
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -536,25 +430,21 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepos
      * manager(s) are available.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder - getPackageRepositoriesOrBuilder(int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder getPackageRepositoriesOrBuilder( + int index); /** - * - * *
      * A list of Recipes to install on the VM instance.
      * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - java.util.List getRecipesList(); + java.util.List + getRecipesList(); /** - * - * *
      * A list of Recipes to install on the VM instance.
      * 
@@ -563,8 +453,6 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepos */ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getRecipes(int index); /** - * - * *
      * A list of Recipes to install on the VM instance.
      * 
@@ -573,19 +461,15 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepos */ int getRecipesCount(); /** - * - * *
      * A list of Recipes to install on the VM instance.
      * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - java.util.List + java.util.List getRecipesOrBuilderList(); /** - * - * *
      * A list of Recipes to install on the VM instance.
      * 
@@ -596,35 +480,28 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder getRecipe int index); /** - * - * *
      * The etag for this guest policy.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 10; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
      * The etag for this guest policy.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 10; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } /** - * - * *
    * An OS Config resource representing a guest configuration policy. These
    * policies represent the desired state for VM instance guest environments
@@ -634,16 +511,15 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder getRecipe
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.GuestPolicy}
    */
-  public static final class GuestPolicy extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class GuestPolicy extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.GuestPolicy)
       GuestPolicyOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use GuestPolicy.newBuilder() to construct.
     private GuestPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private GuestPolicy() {
       name_ = "";
       description_ = "";
@@ -655,15 +531,16 @@ private GuestPolicy() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new GuestPolicy();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private GuestPolicy(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -683,123 +560,97 @@ private GuestPolicy(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                name_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                description_ = s;
-                break;
+              description_ = s;
+              break;
+            }
+            case 26: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
               }
-            case 26:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (createTime_ != null) {
-                  subBuilder = createTime_.toBuilder();
-                }
-                createTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(createTime_);
-                  createTime_ = subBuilder.buildPartial();
-                }
-
-                break;
+              createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
               }
-            case 34:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (updateTime_ != null) {
-                  subBuilder = updateTime_.toBuilder();
-                }
-                updateTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(updateTime_);
-                  updateTime_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 34: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
               }
-            case 50:
-              {
-                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder subBuilder = null;
-                if (assignment_ != null) {
-                  subBuilder = assignment_.toBuilder();
-                }
-                assignment_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(assignment_);
-                  assignment_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 50: {
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder subBuilder = null;
+              if (assignment_ != null) {
+                subBuilder = assignment_.toBuilder();
               }
-            case 58:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  packages_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1beta.GuestPolicies.Package>();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                packages_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.GuestPolicies.Package.parser(),
-                        extensionRegistry));
-                break;
+              assignment_ = input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(assignment_);
+                assignment_ = subBuilder.buildPartial();
               }
-            case 66:
-              {
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  packageRepositories_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository>();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                packageRepositories_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.parser(),
-                        extensionRegistry));
-                break;
+
+              break;
+            }
+            case 58: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                packages_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 74:
-              {
-                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                  recipes_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe>();
-                  mutable_bitField0_ |= 0x00000004;
-                }
-                recipes_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.parser(),
-                        extensionRegistry));
-                break;
+              packages_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.Package.parser(), extensionRegistry));
+              break;
+            }
+            case 66: {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                packageRepositories_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            case 82:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-
-                etag_ = s;
-                break;
+              packageRepositories_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.parser(), extensionRegistry));
+              break;
+            }
+            case 74: {
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                recipes_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000004;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              recipes_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.parser(), extensionRegistry));
+              break;
+            }
+            case 82: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              etag_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -807,7 +658,8 @@ private GuestPolicy(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           packages_ = java.util.Collections.unmodifiableList(packages_);
@@ -822,27 +674,22 @@ private GuestPolicy(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies
-          .internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies
-          .internal_static_google_cloud_osconfig_v1beta_GuestPolicy_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GuestPolicy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder.class);
+              com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder.class);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object name_;
     /**
-     *
-     *
      * 
      * Required. Unique name of the resource in this project using one of the following
      * forms:
@@ -850,7 +697,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -859,15 +705,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. Unique name of the resource in this project using one of the following
      * forms:
@@ -875,15 +720,16 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -894,15 +740,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
      * Description of the guest policy. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -911,30 +754,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * Description of the guest policy. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -945,16 +788,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
      * Output only. Time this guest policy was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -962,16 +800,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
      * Output only. Time this guest policy was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -979,15 +812,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
      * Output only. Time this guest policy was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -997,16 +826,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
      * Output only. Last time this guest policy was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1014,16 +838,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
      * Output only. Last time this guest policy was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -1031,15 +850,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
      * Output only. Last time this guest policy was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1049,8 +864,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int ASSIGNMENT_FIELD_NUMBER = 6; private com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment assignment_; /** - * - * *
      * Required. Specifies the VM instances that are assigned to this policy. This allows
      * you to target sets or groups of VM instances by different parameters such
@@ -1062,10 +875,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
      * 
* - * - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the assignment field is set. */ @java.lang.Override @@ -1073,8 +883,6 @@ public boolean hasAssignment() { return assignment_ != null; } /** - * - * *
      * Required. Specifies the VM instances that are assigned to this policy. This allows
      * you to target sets or groups of VM instances by different parameters such
@@ -1086,21 +894,14 @@ public boolean hasAssignment() {
      * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
      * 
* - * - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The assignment. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment getAssignment() { - return assignment_ == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.getDefaultInstance() - : assignment_; + return assignment_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.getDefaultInstance() : assignment_; } /** - * - * *
      * Required. Specifies the VM instances that are assigned to this policy. This allows
      * you to target sets or groups of VM instances by different parameters such
@@ -1112,21 +913,16 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment getAssignment()
      * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
      * 
* - * - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder - getAssignmentOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder getAssignmentOrBuilder() { return getAssignment(); } public static final int PACKAGES_FIELD_NUMBER = 7; private java.util.List packages_; /** - * - * *
      * The software packages to be managed by this policy.
      * 
@@ -1134,13 +930,10 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment getAssignment() * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ @java.lang.Override - public java.util.List - getPackagesList() { + public java.util.List getPackagesList() { return packages_; } /** - * - * *
      * The software packages to be managed by this policy.
      * 
@@ -1148,13 +941,11 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment getAssignment() * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ @java.lang.Override - public java.util.List + public java.util.List getPackagesOrBuilderList() { return packages_; } /** - * - * *
      * The software packages to be managed by this policy.
      * 
@@ -1166,8 +957,6 @@ public int getPackagesCount() { return packages_.size(); } /** - * - * *
      * The software packages to be managed by this policy.
      * 
@@ -1179,8 +968,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package getPackages(int in return packages_.get(index); } /** - * - * *
      * The software packages to be managed by this policy.
      * 
@@ -1194,11 +981,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackag } public static final int PACKAGE_REPOSITORIES_FIELD_NUMBER = 8; - private java.util.List - packageRepositories_; + private java.util.List packageRepositories_; /** - * - * *
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -1206,17 +990,13 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackag
      * manager(s) are available.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ @java.lang.Override - public java.util.List - getPackageRepositoriesList() { + public java.util.List getPackageRepositoriesList() { return packageRepositories_; } /** - * - * *
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -1224,18 +1004,14 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackag
      * manager(s) are available.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> + public java.util.List getPackageRepositoriesOrBuilderList() { return packageRepositories_; } /** - * - * *
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -1243,16 +1019,13 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackag
      * manager(s) are available.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ @java.lang.Override public int getPackageRepositoriesCount() { return packageRepositories_.size(); } /** - * - * *
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -1260,17 +1033,13 @@ public int getPackageRepositoriesCount() {
      * manager(s) are available.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepositories( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepositories(int index) { return packageRepositories_.get(index); } /** - * - * *
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -1278,20 +1047,17 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPacka
      * manager(s) are available.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder - getPackageRepositoriesOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder getPackageRepositoriesOrBuilder( + int index) { return packageRepositories_.get(index); } public static final int RECIPES_FIELD_NUMBER = 9; private java.util.List recipes_; /** - * - * *
      * A list of Recipes to install on the VM instance.
      * 
@@ -1299,13 +1065,10 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPacka * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ @java.lang.Override - public java.util.List - getRecipesList() { + public java.util.List getRecipesList() { return recipes_; } /** - * - * *
      * A list of Recipes to install on the VM instance.
      * 
@@ -1313,14 +1076,11 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPacka * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> + public java.util.List getRecipesOrBuilderList() { return recipes_; } /** - * - * *
      * A list of Recipes to install on the VM instance.
      * 
@@ -1332,8 +1092,6 @@ public int getRecipesCount() { return recipes_.size(); } /** - * - * *
      * A list of Recipes to install on the VM instance.
      * 
@@ -1345,8 +1103,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getRecipes( return recipes_.get(index); } /** - * - * *
      * A list of Recipes to install on the VM instance.
      * 
@@ -1354,23 +1110,20 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getRecipes( * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder - getRecipesOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder getRecipesOrBuilder( + int index) { return recipes_.get(index); } public static final int ETAG_FIELD_NUMBER = 10; private volatile java.lang.Object etag_; /** - * - * *
      * The etag for this guest policy.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 10; - * * @return The etag. */ @java.lang.Override @@ -1379,30 +1132,30 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
      * The etag for this guest policy.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 10; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -1411,7 +1164,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1423,7 +1175,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -1467,24 +1220,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } if (assignment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getAssignment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getAssignment()); } for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, packages_.get(i)); } for (int i = 0; i < packageRepositories_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, packageRepositories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, packageRepositories_.get(i)); } for (int i = 0; i < recipes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, recipes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, recipes_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, etag_); @@ -1497,32 +1254,40 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy other = (com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (hasAssignment() != other.hasAssignment()) return false; if (hasAssignment()) { - if (!getAssignment().equals(other.getAssignment())) return false; - } - if (!getPackagesList().equals(other.getPackagesList())) return false; - if (!getPackageRepositoriesList().equals(other.getPackageRepositoriesList())) return false; - if (!getRecipesList().equals(other.getRecipesList())) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getAssignment() + .equals(other.getAssignment())) return false; + } + if (!getPackagesList() + .equals(other.getPackagesList())) return false; + if (!getPackageRepositoriesList() + .equals(other.getPackageRepositoriesList())) return false; + if (!getRecipesList() + .equals(other.getRecipesList())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1570,94 +1335,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy 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.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1667,8 +1425,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An OS Config resource representing a guest configuration policy. These
      * policies represent the desired state for VM instance guest environments
@@ -1678,24 +1434,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.GuestPolicy}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.GuestPolicy)
         com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_GuestPolicy_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GuestPolicy_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class,
-                com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.newBuilder()
@@ -1703,19 +1456,19 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getPackagesFieldBuilder();
           getPackageRepositoriesFieldBuilder();
           getRecipesFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1765,14 +1518,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance();
       }
 
@@ -1787,8 +1539,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy buildPartial() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy result =
-            new com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy(this);
+        com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy result = new com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy(this);
         int from_bitField0_ = bitField0_;
         result.name_ = name_;
         result.description_ = description_;
@@ -1843,41 +1594,38 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy buildPartial()
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.GuestPolicies.GuestPolicy) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1885,9 +1633,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy other) {
-        if (other
-            == com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance()) return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -1923,10 +1669,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPol
               packagesBuilder_ = null;
               packages_ = other.packages_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              packagesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getPackagesFieldBuilder()
-                      : null;
+              packagesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getPackagesFieldBuilder() : null;
             } else {
               packagesBuilder_.addAllMessages(other.packages_);
             }
@@ -1950,10 +1695,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPol
               packageRepositoriesBuilder_ = null;
               packageRepositories_ = other.packageRepositories_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              packageRepositoriesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getPackageRepositoriesFieldBuilder()
-                      : null;
+              packageRepositoriesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getPackageRepositoriesFieldBuilder() : null;
             } else {
               packageRepositoriesBuilder_.addAllMessages(other.packageRepositories_);
             }
@@ -1977,10 +1721,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPol
               recipesBuilder_ = null;
               recipes_ = other.recipes_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              recipesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getRecipesFieldBuilder()
-                      : null;
+              recipesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getRecipesFieldBuilder() : null;
             } else {
               recipesBuilder_.addAllMessages(other.recipes_);
             }
@@ -2009,8 +1752,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2019,13 +1761,10 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object name_ = "";
       /**
-       *
-       *
        * 
        * Required. Unique name of the resource in this project using one of the following
        * forms:
@@ -2033,13 +1772,13 @@ public Builder mergeFrom(
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2048,8 +1787,6 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. Unique name of the resource in this project using one of the following
        * forms:
@@ -2057,14 +1794,15 @@ public java.lang.String getName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2072,8 +1810,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. Unique name of the resource in this project using one of the following
        * forms:
@@ -2081,22 +1817,20 @@ public com.google.protobuf.ByteString getNameBytes() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. Unique name of the resource in this project using one of the following
        * forms:
@@ -2104,18 +1838,15 @@ public Builder setName(java.lang.String value) {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. Unique name of the resource in this project using one of the following
        * forms:
@@ -2123,16 +1854,16 @@ public Builder clearName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2140,21 +1871,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
        * Description of the guest policy. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2163,22 +1892,21 @@ public java.lang.String getDescription() { } } /** - * - * *
        * Description of the guest policy. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2186,64 +1914,57 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * Description of the guest policy. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
        * Description of the guest policy. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
        * Description of the guest policy. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2251,58 +1972,39 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
        * Output only. Time this guest policy was created.
        * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
        * Output only. Time this guest policy was created.
        * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
        * Output only. Time this guest policy was created.
        * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2318,17 +2020,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. Time this guest policy was created.
        * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2339,23 +2038,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * Output only. Time this guest policy was created.
        * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2367,15 +2060,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. Time this guest policy was created.
        * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2389,64 +2078,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
        * Output only. Time this guest policy was created.
        * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. Time this guest policy was created.
        * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
        * Output only. Time this guest policy was created.
        * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2454,58 +2127,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
        * Output only. Last time this guest policy was updated.
        * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
        * Output only. Last time this guest policy was updated.
        * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
        * Output only. Last time this guest policy was updated.
        * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2521,17 +2175,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. Last time this guest policy was updated.
        * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -2542,23 +2193,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * Output only. Last time this guest policy was updated.
        * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2570,15 +2215,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. Last time this guest policy was updated.
        * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2592,64 +2233,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
        * Output only. Last time this guest policy was updated.
        * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. Last time this guest policy was updated.
        * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
        * Output only. Last time this guest policy was updated.
        * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2657,13 +2282,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment assignment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment, - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder> - assignmentBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder> assignmentBuilder_; /** - * - * *
        * Required. Specifies the VM instances that are assigned to this policy. This allows
        * you to target sets or groups of VM instances by different parameters such
@@ -2675,18 +2295,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
        * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
        * 
* - * - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the assignment field is set. */ public boolean hasAssignment() { return assignmentBuilder_ != null || assignment_ != null; } /** - * - * *
        * Required. Specifies the VM instances that are assigned to this policy. This allows
        * you to target sets or groups of VM instances by different parameters such
@@ -2698,24 +2313,17 @@ public boolean hasAssignment() {
        * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
        * 
* - * - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The assignment. */ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment getAssignment() { if (assignmentBuilder_ == null) { - return assignment_ == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.getDefaultInstance() - : assignment_; + return assignment_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.getDefaultInstance() : assignment_; } else { return assignmentBuilder_.getMessage(); } } /** - * - * *
        * Required. Specifies the VM instances that are assigned to this policy. This allows
        * you to target sets or groups of VM instances by different parameters such
@@ -2727,12 +2335,9 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment getAssignment()
        * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
        * 
* - * - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAssignment( - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment value) { + public Builder setAssignment(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment value) { if (assignmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2746,8 +2351,6 @@ public Builder setAssignment( return this; } /** - * - * *
        * Required. Specifies the VM instances that are assigned to this policy. This allows
        * you to target sets or groups of VM instances by different parameters such
@@ -2759,9 +2362,7 @@ public Builder setAssignment(
        * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
        * 
* - * - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAssignment( com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder builderForValue) { @@ -2775,8 +2376,6 @@ public Builder setAssignment( return this; } /** - * - * *
        * Required. Specifies the VM instances that are assigned to this policy. This allows
        * you to target sets or groups of VM instances by different parameters such
@@ -2788,18 +2387,13 @@ public Builder setAssignment(
        * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
        * 
* - * - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeAssignment( - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment value) { + public Builder mergeAssignment(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment value) { if (assignmentBuilder_ == null) { if (assignment_ != null) { assignment_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.newBuilder(assignment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.newBuilder(assignment_).mergeFrom(value).buildPartial(); } else { assignment_ = value; } @@ -2811,8 +2405,6 @@ public Builder mergeAssignment( return this; } /** - * - * *
        * Required. Specifies the VM instances that are assigned to this policy. This allows
        * you to target sets or groups of VM instances by different parameters such
@@ -2824,9 +2416,7 @@ public Builder mergeAssignment(
        * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
        * 
* - * - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAssignment() { if (assignmentBuilder_ == null) { @@ -2840,8 +2430,6 @@ public Builder clearAssignment() { return this; } /** - * - * *
        * Required. Specifies the VM instances that are assigned to this policy. This allows
        * you to target sets or groups of VM instances by different parameters such
@@ -2853,19 +2441,14 @@ public Builder clearAssignment() {
        * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
        * 
* - * - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder - getAssignmentBuilder() { - + public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder getAssignmentBuilder() { + onChanged(); return getAssignmentFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Specifies the VM instances that are assigned to this policy. This allows
        * you to target sets or groups of VM instances by different parameters such
@@ -2877,23 +2460,17 @@ public Builder clearAssignment() {
        * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
        * 
* - * - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder - getAssignmentOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder getAssignmentOrBuilder() { if (assignmentBuilder_ != null) { return assignmentBuilder_.getMessageOrBuilder(); } else { - return assignment_ == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.getDefaultInstance() - : assignment_; + return assignment_ == null ? + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.getDefaultInstance() : assignment_; } } /** - * - * *
        * Required. Specifies the VM instances that are assigned to this policy. This allows
        * you to target sets or groups of VM instances by different parameters such
@@ -2905,56 +2482,42 @@ public Builder clearAssignment() {
        * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
        * 
* - * - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment, - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder> getAssignmentFieldBuilder() { if (assignmentBuilder_ == null) { - assignmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment, - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder>( - getAssignment(), getParentForChildren(), isClean()); + assignmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder>( + getAssignment(), + getParentForChildren(), + isClean()); assignment_ = null; } return assignmentBuilder_; } private java.util.List packages_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = - new java.util.ArrayList( - packages_); + packages_ = new java.util.ArrayList(packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Package, - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder> - packagesBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.Package, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder> packagesBuilder_; /** - * - * *
        * The software packages to be managed by this policy.
        * 
* * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ - public java.util.List - getPackagesList() { + public java.util.List getPackagesList() { if (packagesBuilder_ == null) { return java.util.Collections.unmodifiableList(packages_); } else { @@ -2962,8 +2525,6 @@ private void ensurePackagesIsMutable() { } } /** - * - * *
        * The software packages to be managed by this policy.
        * 
@@ -2978,8 +2539,6 @@ public int getPackagesCount() { } } /** - * - * *
        * The software packages to be managed by this policy.
        * 
@@ -2994,8 +2553,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package getPackages(int in } } /** - * - * *
        * The software packages to be managed by this policy.
        * 
@@ -3017,8 +2574,6 @@ public Builder setPackages( return this; } /** - * - * *
        * The software packages to be managed by this policy.
        * 
@@ -3026,8 +2581,7 @@ public Builder setPackages( * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ public Builder setPackages( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder builderForValue) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); packages_.set(index, builderForValue.build()); @@ -3038,8 +2592,6 @@ public Builder setPackages( return this; } /** - * - * *
        * The software packages to be managed by this policy.
        * 
@@ -3060,8 +2612,6 @@ public Builder addPackages(com.google.cloud.osconfig.v1beta.GuestPolicies.Packag return this; } /** - * - * *
        * The software packages to be managed by this policy.
        * 
@@ -3083,8 +2633,6 @@ public Builder addPackages( return this; } /** - * - * *
        * The software packages to be managed by this policy.
        * 
@@ -3103,8 +2651,6 @@ public Builder addPackages( return this; } /** - * - * *
        * The software packages to be managed by this policy.
        * 
@@ -3112,8 +2658,7 @@ public Builder addPackages( * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ public Builder addPackages( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder builderForValue) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); packages_.add(index, builderForValue.build()); @@ -3124,8 +2669,6 @@ public Builder addPackages( return this; } /** - * - * *
        * The software packages to be managed by this policy.
        * 
@@ -3133,11 +2676,11 @@ public Builder addPackages( * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ public Builder addAllPackages( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -3145,8 +2688,6 @@ public Builder addAllPackages( return this; } /** - * - * *
        * The software packages to be managed by this policy.
        * 
@@ -3164,8 +2705,6 @@ public Builder clearPackages() { return this; } /** - * - * *
        * The software packages to be managed by this policy.
        * 
@@ -3183,8 +2722,6 @@ public Builder removePackages(int index) { return this; } /** - * - * *
        * The software packages to be managed by this policy.
        * 
@@ -3196,8 +2733,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder getPackage return getPackagesFieldBuilder().getBuilder(index); } /** - * - * *
        * The software packages to be managed by this policy.
        * 
@@ -3207,23 +2742,19 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder getPackage public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackagesOrBuilder( int index) { if (packagesBuilder_ == null) { - return packages_.get(index); - } else { + return packages_.get(index); } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The software packages to be managed by this policy.
        * 
* * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder> - getPackagesOrBuilderList() { + public java.util.List + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -3231,8 +2762,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackag } } /** - * - * *
        * The software packages to be managed by this policy.
        * 
@@ -3240,13 +2769,10 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackag * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder addPackagesBuilder() { - return getPackagesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance()); + return getPackagesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance()); } /** - * - * *
        * The software packages to be managed by this policy.
        * 
@@ -3255,63 +2781,48 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder addPackage */ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder addPackagesBuilder( int index) { - return getPackagesFieldBuilder() - .addBuilder( - index, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance()); + return getPackagesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance()); } /** - * - * *
        * The software packages to be managed by this policy.
        * 
* * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ - public java.util.List - getPackagesBuilderList() { + public java.util.List + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Package, - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.Package, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Package, - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder>( - packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.Package, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder>( + packages_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); packages_ = null; } return packagesBuilder_; } - private java.util.List - packageRepositories_ = java.util.Collections.emptyList(); - + private java.util.List packageRepositories_ = + java.util.Collections.emptyList(); private void ensurePackageRepositoriesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - packageRepositories_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository>( - packageRepositories_); + packageRepositories_ = new java.util.ArrayList(packageRepositories_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> - packageRepositoriesBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> packageRepositoriesBuilder_; /** - * - * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3319,11 +2830,9 @@ private void ensurePackageRepositoriesIsMutable() {
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ - public java.util.List - getPackageRepositoriesList() { + public java.util.List getPackageRepositoriesList() { if (packageRepositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(packageRepositories_); } else { @@ -3331,8 +2840,6 @@ private void ensurePackageRepositoriesIsMutable() { } } /** - * - * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3340,8 +2847,7 @@ private void ensurePackageRepositoriesIsMutable() {
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ public int getPackageRepositoriesCount() { if (packageRepositoriesBuilder_ == null) { @@ -3351,8 +2857,6 @@ public int getPackageRepositoriesCount() { } } /** - * - * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3360,11 +2864,9 @@ public int getPackageRepositoriesCount() {
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository - getPackageRepositories(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepositories(int index) { if (packageRepositoriesBuilder_ == null) { return packageRepositories_.get(index); } else { @@ -3372,8 +2874,6 @@ public int getPackageRepositoriesCount() { } } /** - * - * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3381,8 +2881,7 @@ public int getPackageRepositoriesCount() {
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ public Builder setPackageRepositories( int index, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository value) { @@ -3399,8 +2898,6 @@ public Builder setPackageRepositories( return this; } /** - * - * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3408,13 +2905,10 @@ public Builder setPackageRepositories(
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ public Builder setPackageRepositories( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder builderForValue) { if (packageRepositoriesBuilder_ == null) { ensurePackageRepositoriesIsMutable(); packageRepositories_.set(index, builderForValue.build()); @@ -3425,8 +2919,6 @@ public Builder setPackageRepositories( return this; } /** - * - * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3434,11 +2926,9 @@ public Builder setPackageRepositories(
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ - public Builder addPackageRepositories( - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository value) { + public Builder addPackageRepositories(com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository value) { if (packageRepositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3452,8 +2942,6 @@ public Builder addPackageRepositories( return this; } /** - * - * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3461,8 +2949,7 @@ public Builder addPackageRepositories(
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ public Builder addPackageRepositories( int index, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository value) { @@ -3479,8 +2966,6 @@ public Builder addPackageRepositories( return this; } /** - * - * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3488,12 +2973,10 @@ public Builder addPackageRepositories(
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ public Builder addPackageRepositories( - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder builderForValue) { if (packageRepositoriesBuilder_ == null) { ensurePackageRepositoriesIsMutable(); packageRepositories_.add(builderForValue.build()); @@ -3504,8 +2987,6 @@ public Builder addPackageRepositories( return this; } /** - * - * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3513,13 +2994,10 @@ public Builder addPackageRepositories(
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ public Builder addPackageRepositories( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder builderForValue) { if (packageRepositoriesBuilder_ == null) { ensurePackageRepositoriesIsMutable(); packageRepositories_.add(index, builderForValue.build()); @@ -3530,8 +3008,6 @@ public Builder addPackageRepositories( return this; } /** - * - * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3539,16 +3015,14 @@ public Builder addPackageRepositories(
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ public Builder addAllPackageRepositories( - java.lang.Iterable< - ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository> - values) { + java.lang.Iterable values) { if (packageRepositoriesBuilder_ == null) { ensurePackageRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packageRepositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, packageRepositories_); onChanged(); } else { packageRepositoriesBuilder_.addAllMessages(values); @@ -3556,8 +3030,6 @@ public Builder addAllPackageRepositories( return this; } /** - * - * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3565,8 +3037,7 @@ public Builder addAllPackageRepositories(
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ public Builder clearPackageRepositories() { if (packageRepositoriesBuilder_ == null) { @@ -3579,8 +3050,6 @@ public Builder clearPackageRepositories() { return this; } /** - * - * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3588,8 +3057,7 @@ public Builder clearPackageRepositories() {
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ public Builder removePackageRepositories(int index) { if (packageRepositoriesBuilder_ == null) { @@ -3602,8 +3070,6 @@ public Builder removePackageRepositories(int index) { return this; } /** - * - * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3611,16 +3077,13 @@ public Builder removePackageRepositories(int index) {
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder - getPackageRepositoriesBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder getPackageRepositoriesBuilder( + int index) { return getPackageRepositoriesFieldBuilder().getBuilder(index); } /** - * - * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3628,20 +3091,16 @@ public Builder removePackageRepositories(int index) {
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder - getPackageRepositoriesOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder getPackageRepositoriesOrBuilder( + int index) { if (packageRepositoriesBuilder_ == null) { - return packageRepositories_.get(index); - } else { + return packageRepositories_.get(index); } else { return packageRepositoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3649,12 +3108,10 @@ public Builder removePackageRepositories(int index) {
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> - getPackageRepositoriesOrBuilderList() { + public java.util.List + getPackageRepositoriesOrBuilderList() { if (packageRepositoriesBuilder_ != null) { return packageRepositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -3662,8 +3119,6 @@ public Builder removePackageRepositories(int index) { } } /** - * - * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3671,19 +3126,13 @@ public Builder removePackageRepositories(int index) {
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder - addPackageRepositoriesBuilder() { - return getPackageRepositoriesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository - .getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder addPackageRepositoriesBuilder() { + return getPackageRepositoriesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.getDefaultInstance()); } /** - * - * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3691,20 +3140,14 @@ public Builder removePackageRepositories(int index) {
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder - addPackageRepositoriesBuilder(int index) { - return getPackageRepositoriesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository - .getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder addPackageRepositoriesBuilder( + int index) { + return getPackageRepositoriesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.getDefaultInstance()); } /** - * - * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3712,26 +3155,18 @@ public Builder removePackageRepositories(int index) {
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; - * + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; */ - public java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder> - getPackageRepositoriesBuilderList() { + public java.util.List + getPackageRepositoriesBuilderList() { return getPackageRepositoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> getPackageRepositoriesFieldBuilder() { if (packageRepositoriesBuilder_ == null) { - packageRepositoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder>( + packageRepositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder>( packageRepositories_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -3741,35 +3176,26 @@ public Builder removePackageRepositories(int index) { return packageRepositoriesBuilder_; } - private java.util.List - recipes_ = java.util.Collections.emptyList(); - + private java.util.List recipes_ = + java.util.Collections.emptyList(); private void ensureRecipesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - recipes_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe>(recipes_); + recipes_ = new java.util.ArrayList(recipes_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> - recipesBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> recipesBuilder_; /** - * - * *
        * A list of Recipes to install on the VM instance.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - public java.util.List - getRecipesList() { + public java.util.List getRecipesList() { if (recipesBuilder_ == null) { return java.util.Collections.unmodifiableList(recipes_); } else { @@ -3777,8 +3203,6 @@ private void ensureRecipesIsMutable() { } } /** - * - * *
        * A list of Recipes to install on the VM instance.
        * 
@@ -3793,8 +3217,6 @@ public int getRecipesCount() { } } /** - * - * *
        * A list of Recipes to install on the VM instance.
        * 
@@ -3809,8 +3231,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getRecipes( } } /** - * - * *
        * A list of Recipes to install on the VM instance.
        * 
@@ -3832,8 +3252,6 @@ public Builder setRecipes( return this; } /** - * - * *
        * A list of Recipes to install on the VM instance.
        * 
@@ -3841,8 +3259,7 @@ public Builder setRecipes( * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ public Builder setRecipes( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder builderForValue) { if (recipesBuilder_ == null) { ensureRecipesIsMutable(); recipes_.set(index, builderForValue.build()); @@ -3853,16 +3270,13 @@ public Builder setRecipes( return this; } /** - * - * *
        * A list of Recipes to install on the VM instance.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - public Builder addRecipes( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe value) { + public Builder addRecipes(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe value) { if (recipesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3876,8 +3290,6 @@ public Builder addRecipes( return this; } /** - * - * *
        * A list of Recipes to install on the VM instance.
        * 
@@ -3899,8 +3311,6 @@ public Builder addRecipes( return this; } /** - * - * *
        * A list of Recipes to install on the VM instance.
        * 
@@ -3919,8 +3329,6 @@ public Builder addRecipes( return this; } /** - * - * *
        * A list of Recipes to install on the VM instance.
        * 
@@ -3928,8 +3336,7 @@ public Builder addRecipes( * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ public Builder addRecipes( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder builderForValue) { if (recipesBuilder_ == null) { ensureRecipesIsMutable(); recipes_.add(index, builderForValue.build()); @@ -3940,8 +3347,6 @@ public Builder addRecipes( return this; } /** - * - * *
        * A list of Recipes to install on the VM instance.
        * 
@@ -3949,12 +3354,11 @@ public Builder addRecipes( * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ public Builder addAllRecipes( - java.lang.Iterable< - ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe> - values) { + java.lang.Iterable values) { if (recipesBuilder_ == null) { ensureRecipesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, recipes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, recipes_); onChanged(); } else { recipesBuilder_.addAllMessages(values); @@ -3962,8 +3366,6 @@ public Builder addAllRecipes( return this; } /** - * - * *
        * A list of Recipes to install on the VM instance.
        * 
@@ -3981,8 +3383,6 @@ public Builder clearRecipes() { return this; } /** - * - * *
        * A list of Recipes to install on the VM instance.
        * 
@@ -4000,47 +3400,39 @@ public Builder removeRecipes(int index) { return this; } /** - * - * *
        * A list of Recipes to install on the VM instance.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder - getRecipesBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder getRecipesBuilder( + int index) { return getRecipesFieldBuilder().getBuilder(index); } /** - * - * *
        * A list of Recipes to install on the VM instance.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder - getRecipesOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder getRecipesOrBuilder( + int index) { if (recipesBuilder_ == null) { - return recipes_.get(index); - } else { + return recipes_.get(index); } else { return recipesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * A list of Recipes to install on the VM instance.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> - getRecipesOrBuilderList() { + public java.util.List + getRecipesOrBuilderList() { if (recipesBuilder_ != null) { return recipesBuilder_.getMessageOrBuilderList(); } else { @@ -4048,62 +3440,49 @@ public Builder removeRecipes(int index) { } } /** - * - * *
        * A list of Recipes to install on the VM instance.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder - addRecipesBuilder() { - return getRecipesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder addRecipesBuilder() { + return getRecipesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance()); } /** - * - * *
        * A list of Recipes to install on the VM instance.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder - addRecipesBuilder(int index) { - return getRecipesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder addRecipesBuilder( + int index) { + return getRecipesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance()); } /** - * - * *
        * A list of Recipes to install on the VM instance.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - public java.util.List - getRecipesBuilderList() { + public java.util.List + getRecipesBuilderList() { return getRecipesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> getRecipesFieldBuilder() { if (recipesBuilder_ == null) { - recipesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder>( - recipes_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + recipesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder>( + recipes_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); recipes_ = null; } return recipesBuilder_; @@ -4111,21 +3490,19 @@ public Builder removeRecipes(int index) { private java.lang.Object etag_ = ""; /** - * - * *
        * The etag for this guest policy.
        * If this is provided on update, it must match the server's etag.
        * 
* * string etag = 10; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -4134,22 +3511,21 @@ public java.lang.String getEtag() { } } /** - * - * *
        * The etag for this guest policy.
        * If this is provided on update, it must match the server's etag.
        * 
* * string etag = 10; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -4157,69 +3533,61 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
        * The etag for this guest policy.
        * If this is provided on update, it must match the server's etag.
        * 
* * string etag = 10; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
        * The etag for this guest policy.
        * If this is provided on update, it must match the server's etag.
        * 
* * string etag = 10; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
        * The etag for this guest policy.
        * If this is provided on update, it must match the server's etag.
        * 
* * string etag = 10; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4232,13 +3600,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.GuestPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.GuestPolicy) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy(); } @@ -4247,16 +3614,16 @@ public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GuestPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GuestPolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GuestPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GuestPolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4271,16 +3638,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AssignmentOrBuilder - extends + public interface AssignmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.Assignment) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -4289,11 +3654,9 @@ public interface AssignmentOrBuilder
      *
      * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
      */
-    java.util.List
+    java.util.List 
         getGroupLabelsList();
     /**
-     *
-     *
      * 
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -4304,8 +3667,6 @@ public interface AssignmentOrBuilder
      */
     com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getGroupLabels(int index);
     /**
-     *
-     *
      * 
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -4316,8 +3677,6 @@ public interface AssignmentOrBuilder
      */
     int getGroupLabelsCount();
     /**
-     *
-     *
      * 
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -4326,12 +3685,9 @@ public interface AssignmentOrBuilder
      *
      * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
      */
-    java.util.List<
-            ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder>
+    java.util.List 
         getGroupLabelsOrBuilderList();
     /**
-     *
-     *
      * 
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -4340,12 +3696,10 @@ public interface AssignmentOrBuilder
      *
      * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
      */
-    com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder
-        getGroupLabelsOrBuilder(int index);
+    com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder getGroupLabelsOrBuilder(
+        int index);
 
     /**
-     *
-     *
      * 
      * Targets instances in any of these zones. Leave empty to target instances
      * in any zone.
@@ -4354,13 +3708,11 @@ public interface AssignmentOrBuilder
      * 
* * repeated string zones = 2; - * * @return A list containing the zones. */ - java.util.List getZonesList(); + java.util.List + getZonesList(); /** - * - * *
      * Targets instances in any of these zones. Leave empty to target instances
      * in any zone.
@@ -4369,13 +3721,10 @@ public interface AssignmentOrBuilder
      * 
* * repeated string zones = 2; - * * @return The count of zones. */ int getZonesCount(); /** - * - * *
      * Targets instances in any of these zones. Leave empty to target instances
      * in any zone.
@@ -4384,14 +3733,11 @@ public interface AssignmentOrBuilder
      * 
* * repeated string zones = 2; - * * @param index The index of the element to return. * @return The zones at the given index. */ java.lang.String getZones(int index); /** - * - * *
      * Targets instances in any of these zones. Leave empty to target instances
      * in any zone.
@@ -4400,15 +3746,13 @@ public interface AssignmentOrBuilder
      * 
* * repeated string zones = 2; - * * @param index The index of the value to return. * @return The bytes of the zones at the given index. */ - com.google.protobuf.ByteString getZonesBytes(int index); + com.google.protobuf.ByteString + getZonesBytes(int index); /** - * - * *
      * Targets any of the instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -4420,13 +3764,11 @@ public interface AssignmentOrBuilder
      * 
* * repeated string instances = 3; - * * @return A list containing the instances. */ - java.util.List getInstancesList(); + java.util.List + getInstancesList(); /** - * - * *
      * Targets any of the instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -4438,13 +3780,10 @@ public interface AssignmentOrBuilder
      * 
* * repeated string instances = 3; - * * @return The count of instances. */ int getInstancesCount(); /** - * - * *
      * Targets any of the instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -4456,14 +3795,11 @@ public interface AssignmentOrBuilder
      * 
* * repeated string instances = 3; - * * @param index The index of the element to return. * @return The instances at the given index. */ java.lang.String getInstances(int index); /** - * - * *
      * Targets any of the instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -4475,15 +3811,13 @@ public interface AssignmentOrBuilder
      * 
* * repeated string instances = 3; - * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - com.google.protobuf.ByteString getInstancesBytes(int index); + com.google.protobuf.ByteString + getInstancesBytes(int index); /** - * - * *
      * Targets VM instances whose name starts with one of these prefixes.
      * Like labels, this is another way to group VM instances when targeting
@@ -4492,13 +3826,11 @@ public interface AssignmentOrBuilder
      * 
* * repeated string instance_name_prefixes = 4; - * * @return A list containing the instanceNamePrefixes. */ - java.util.List getInstanceNamePrefixesList(); + java.util.List + getInstanceNamePrefixesList(); /** - * - * *
      * Targets VM instances whose name starts with one of these prefixes.
      * Like labels, this is another way to group VM instances when targeting
@@ -4507,13 +3839,10 @@ public interface AssignmentOrBuilder
      * 
* * repeated string instance_name_prefixes = 4; - * * @return The count of instanceNamePrefixes. */ int getInstanceNamePrefixesCount(); /** - * - * *
      * Targets VM instances whose name starts with one of these prefixes.
      * Like labels, this is another way to group VM instances when targeting
@@ -4522,14 +3851,11 @@ public interface AssignmentOrBuilder
      * 
* * repeated string instance_name_prefixes = 4; - * * @param index The index of the element to return. * @return The instanceNamePrefixes at the given index. */ java.lang.String getInstanceNamePrefixes(int index); /** - * - * *
      * Targets VM instances whose name starts with one of these prefixes.
      * Like labels, this is another way to group VM instances when targeting
@@ -4538,15 +3864,13 @@ public interface AssignmentOrBuilder
      * 
* * repeated string instance_name_prefixes = 4; - * * @param index The index of the value to return. * @return The bytes of the instanceNamePrefixes at the given index. */ - com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index); + com.google.protobuf.ByteString + getInstanceNamePrefixesBytes(int index); /** - * - * *
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -4555,11 +3879,9 @@ public interface AssignmentOrBuilder
      *
      * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
      */
-    java.util.List
+    java.util.List 
         getOsTypesList();
     /**
-     *
-     *
      * 
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -4570,8 +3892,6 @@ public interface AssignmentOrBuilder
      */
     com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType getOsTypes(int index);
     /**
-     *
-     *
      * 
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -4582,8 +3902,6 @@ public interface AssignmentOrBuilder
      */
     int getOsTypesCount();
     /**
-     *
-     *
      * 
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -4592,12 +3910,9 @@ public interface AssignmentOrBuilder
      *
      * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
      */
-    java.util.List<
-            ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder>
+    java.util.List 
         getOsTypesOrBuilderList();
     /**
-     *
-     *
      * 
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -4610,8 +3925,6 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder getOsT
         int index);
   }
   /**
-   *
-   *
    * 
    * An assignment represents the group or groups of VM instances that the policy
    * applies to.
@@ -4623,16 +3936,15 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder getOsT
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.Assignment}
    */
-  public static final class Assignment extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Assignment extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.Assignment)
       AssignmentOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Assignment.newBuilder() to construct.
     private Assignment(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Assignment() {
       groupLabels_ = java.util.Collections.emptyList();
       zones_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -4643,15 +3955,16 @@ private Assignment() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Assignment();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private Assignment(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4671,72 +3984,58 @@ private Assignment(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  groupLabels_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel>();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                groupLabels_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
-                            .parser(),
-                        extensionRegistry));
-                break;
+            case 10: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                groupLabels_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  zones_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                zones_.add(s);
-                break;
+              groupLabels_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.parser(), extensionRegistry));
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                zones_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                  instances_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000004;
-                }
-                instances_.add(s);
-                break;
+              zones_.add(s);
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                instances_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000004;
               }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-                  instanceNamePrefixes_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000008;
-                }
-                instanceNamePrefixes_.add(s);
-                break;
+              instances_.add(s);
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+                instanceNamePrefixes_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000008;
               }
-            case 42:
-              {
-                if (!((mutable_bitField0_ & 0x00000010) != 0)) {
-                  osTypes_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType>();
-                  mutable_bitField0_ |= 0x00000010;
-                }
-                osTypes_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.parser(),
-                        extensionRegistry));
-                break;
+              instanceNamePrefixes_.add(s);
+              break;
+            }
+            case 42: {
+              if (!((mutable_bitField0_ & 0x00000010) != 0)) {
+                osTypes_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000010;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              osTypes_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.parser(), extensionRegistry));
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4744,7 +4043,8 @@ private Assignment(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           groupLabels_ = java.util.Collections.unmodifiableList(groupLabels_);
@@ -4765,30 +4065,24 @@ private Assignment(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies
-          .internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies
-          .internal_static_google_cloud_osconfig_v1beta_Assignment_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.class,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder.class);
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.class, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder.class);
     }
 
-    public interface GroupLabelOrBuilder
-        extends
+    public interface GroupLabelOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.Assignment.GroupLabel)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * Google Compute Engine instance labels that must be present for an
        * instance to be included in this assignment group.
@@ -4798,8 +4092,6 @@ public interface GroupLabelOrBuilder
        */
       int getLabelsCount();
       /**
-       *
-       *
        * 
        * Google Compute Engine instance labels that must be present for an
        * instance to be included in this assignment group.
@@ -4807,13 +4099,15 @@ public interface GroupLabelOrBuilder
        *
        * map<string, string> labels = 1;
        */
-      boolean containsLabels(java.lang.String key);
-      /** Use {@link #getLabelsMap()} instead. */
+      boolean containsLabels(
+          java.lang.String key);
+      /**
+       * Use {@link #getLabelsMap()} instead.
+       */
       @java.lang.Deprecated
-      java.util.Map getLabels();
+      java.util.Map
+      getLabels();
       /**
-       *
-       *
        * 
        * Google Compute Engine instance labels that must be present for an
        * instance to be included in this assignment group.
@@ -4821,10 +4115,9 @@ public interface GroupLabelOrBuilder
        *
        * map<string, string> labels = 1;
        */
-      java.util.Map getLabelsMap();
+      java.util.Map
+      getLabelsMap();
       /**
-       *
-       *
        * 
        * Google Compute Engine instance labels that must be present for an
        * instance to be included in this assignment group.
@@ -4834,13 +4127,11 @@ public interface GroupLabelOrBuilder
        */
 
       /* nullable */
-      java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
           java.lang.String key,
           /* nullable */
-          java.lang.String defaultValue);
+java.lang.String defaultValue);
       /**
-       *
-       *
        * 
        * Google Compute Engine instance labels that must be present for an
        * instance to be included in this assignment group.
@@ -4848,11 +4139,11 @@ java.lang.String getLabelsOrDefault(
        *
        * map<string, string> labels = 1;
        */
-      java.lang.String getLabelsOrThrow(java.lang.String key);
+
+      java.lang.String getLabelsOrThrow(
+          java.lang.String key);
     }
     /**
-     *
-     *
      * 
      * Represents a group of VM intances that can be identified as having all
      * these labels, for example "env=prod and app=web".
@@ -4860,29 +4151,30 @@ java.lang.String getLabelsOrDefault(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.Assignment.GroupLabel}
      */
-    public static final class GroupLabel extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class GroupLabel extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.Assignment.GroupLabel)
         GroupLabelOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use GroupLabel.newBuilder() to construct.
       private GroupLabel(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private GroupLabel() {}
+      private GroupLabel() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new GroupLabel();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private GroupLabel(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4902,28 +4194,26 @@ private GroupLabel(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                    labels_ =
-                        com.google.protobuf.MapField.newMapField(
-                            LabelsDefaultEntryHolder.defaultEntry);
-                    mutable_bitField0_ |= 0x00000001;
-                  }
-                  com.google.protobuf.MapEntry labels__ =
-                      input.readMessage(
-                          LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                          extensionRegistry);
-                  labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-                  break;
+              case 10: {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  labels_ = com.google.protobuf.MapField.newMapField(
+                      LabelsDefaultEntryHolder.defaultEntry);
+                  mutable_bitField0_ |= 0x00000001;
                 }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+                com.google.protobuf.MapEntry
+                labels__ = input.readMessage(
+                    LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+                labels_.getMutableMap().put(
+                    labels__.getKey(), labels__.getValue());
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4931,58 +4221,57 @@ private GroupLabel(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor;
       }
 
       @SuppressWarnings({"rawtypes"})
       @java.lang.Override
-      protected com.google.protobuf.MapField internalGetMapField(int number) {
+      protected com.google.protobuf.MapField internalGetMapField(
+          int number) {
         switch (number) {
           case 1:
             return internalGetLabels();
           default:
-            throw new RuntimeException("Invalid map field number: " + number);
+            throw new RuntimeException(
+                "Invalid map field number: " + number);
         }
       }
-
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.class,
-                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.class, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder.class);
       }
 
       public static final int LABELS_FIELD_NUMBER = 1;
-
       private static final class LabelsDefaultEntryHolder {
-        static final com.google.protobuf.MapEntry defaultEntry =
-            com.google.protobuf.MapEntry.newDefaultInstance(
-                com.google.cloud.osconfig.v1beta.GuestPolicies
-                    .internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_descriptor,
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
-      }
-
-      private com.google.protobuf.MapField labels_;
-
-      private com.google.protobuf.MapField internalGetLabels() {
+        static final com.google.protobuf.MapEntry<
+            java.lang.String, java.lang.String> defaultEntry =
+                com.google.protobuf.MapEntry
+                .newDefaultInstance(
+                    com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_descriptor, 
+                    com.google.protobuf.WireFormat.FieldType.STRING,
+                    "",
+                    com.google.protobuf.WireFormat.FieldType.STRING,
+                    "");
+      }
+      private com.google.protobuf.MapField<
+          java.lang.String, java.lang.String> labels_;
+      private com.google.protobuf.MapField
+      internalGetLabels() {
         if (labels_ == null) {
-          return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+          return com.google.protobuf.MapField.emptyMapField(
+              LabelsDefaultEntryHolder.defaultEntry);
         }
         return labels_;
       }
@@ -4991,8 +4280,6 @@ public int getLabelsCount() {
         return internalGetLabels().getMap().size();
       }
       /**
-       *
-       *
        * 
        * Google Compute Engine instance labels that must be present for an
        * instance to be included in this assignment group.
@@ -5000,22 +4287,22 @@ public int getLabelsCount() {
        *
        * map<string, string> labels = 1;
        */
+
       @java.lang.Override
-      public boolean containsLabels(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public boolean containsLabels(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         return internalGetLabels().getMap().containsKey(key);
       }
-      /** Use {@link #getLabelsMap()} instead. */
+      /**
+       * Use {@link #getLabelsMap()} instead.
+       */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getLabels() {
         return getLabelsMap();
       }
       /**
-       *
-       *
        * 
        * Google Compute Engine instance labels that must be present for an
        * instance to be included in this assignment group.
@@ -5024,12 +4311,11 @@ public java.util.Map getLabels() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
+
       public java.util.Map getLabelsMap() {
         return internalGetLabels().getMap();
       }
       /**
-       *
-       *
        * 
        * Google Compute Engine instance labels that must be present for an
        * instance to be included in this assignment group.
@@ -5038,17 +4324,16 @@ public java.util.Map getLabelsMap() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
+
       public java.lang.String getLabelsOrDefault(
-          java.lang.String key, java.lang.String defaultValue) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetLabels().getMap();
+          java.lang.String key,
+          java.lang.String defaultValue) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetLabels().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
-       *
-       *
        * 
        * Google Compute Engine instance labels that must be present for an
        * instance to be included in this assignment group.
@@ -5057,11 +4342,12 @@ public java.lang.String getLabelsOrDefault(
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-      public java.lang.String getLabelsOrThrow(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetLabels().getMap();
+
+      public java.lang.String getLabelsOrThrow(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetLabels().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
@@ -5069,7 +4355,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
       }
 
       private byte memoizedIsInitialized = -1;
-
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -5081,9 +4366,14 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-        com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-            output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 1);
+      public void writeTo(com.google.protobuf.CodedOutputStream output)
+                          throws java.io.IOException {
+        com.google.protobuf.GeneratedMessageV3
+          .serializeStringMapTo(
+            output,
+            internalGetLabels(),
+            LabelsDefaultEntryHolder.defaultEntry,
+            1);
         unknownFields.writeTo(output);
       }
 
@@ -5093,15 +4383,15 @@ public int getSerializedSize() {
         if (size != -1) return size;
 
         size = 0;
-        for (java.util.Map.Entry entry :
-            internalGetLabels().getMap().entrySet()) {
-          com.google.protobuf.MapEntry labels__ =
-              LabelsDefaultEntryHolder.defaultEntry
-                  .newBuilderForType()
-                  .setKey(entry.getKey())
-                  .setValue(entry.getValue())
-                  .build();
-          size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, labels__);
+        for (java.util.Map.Entry entry
+             : internalGetLabels().getMap().entrySet()) {
+          com.google.protobuf.MapEntry
+          labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+          size += com.google.protobuf.CodedOutputStream
+              .computeMessageSize(1, labels__);
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -5111,16 +4401,15 @@ public int getSerializedSize() {
       @java.lang.Override
       public boolean equals(final java.lang.Object obj) {
         if (obj == this) {
-          return true;
+         return true;
         }
-        if (!(obj
-            instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel)) {
+        if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel)) {
           return super.equals(obj);
         }
-        com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel other =
-            (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel) obj;
+        com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel other = (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel) obj;
 
-        if (!internalGetLabels().equals(other.internalGetLabels())) return false;
+        if (!internalGetLabels().equals(
+            other.internalGetLabels())) return false;
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
       }
@@ -5142,96 +4431,87 @@ public int hashCode() {
       }
 
       public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(
-          java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+          java.nio.ByteBuffer data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
       public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(
-          java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.nio.ByteBuffer data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
       public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
       public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel 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.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(
-          byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(byte[] data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
       public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(
-          byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          byte[] data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
-      public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(
-          java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
       public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.io.InputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-            PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input, extensionRegistry);
       }
-
-      public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
-          parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+      public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseDelimitedFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseDelimitedWithIOException(PARSER, input);
       }
-
-      public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
-          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.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel 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.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(
-          com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+          com.google.protobuf.CodedInputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
       public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-            PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input, extensionRegistry);
       }
 
       @java.lang.Override
-      public Builder newBuilderForType() {
-        return newBuilder();
-      }
-
+      public Builder newBuilderForType() { return newBuilder(); }
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
-
-      public static Builder newBuilder(
-          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel prototype) {
+      public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
-
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE
+            ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -5241,8 +4521,6 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
-       *
-       *
        * 
        * Represents a group of VM intances that can be identified as having all
        * these labels, for example "env=prod and app=web".
@@ -5250,62 +4528,60 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1beta.Assignment.GroupLabel}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.Assignment.GroupLabel)
           com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1beta.GuestPolicies
-              .internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor;
         }
 
         @SuppressWarnings({"rawtypes"})
-        protected com.google.protobuf.MapField internalGetMapField(int number) {
+        protected com.google.protobuf.MapField internalGetMapField(
+            int number) {
           switch (number) {
             case 1:
               return internalGetLabels();
             default:
-              throw new RuntimeException("Invalid map field number: " + number);
+              throw new RuntimeException(
+                  "Invalid map field number: " + number);
           }
         }
-
         @SuppressWarnings({"rawtypes"})
-        protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+        protected com.google.protobuf.MapField internalGetMutableMapField(
+            int number) {
           switch (number) {
             case 1:
               return internalGetMutableLabels();
             default:
-              throw new RuntimeException("Invalid map field number: " + number);
+              throw new RuntimeException(
+                  "Invalid map field number: " + number);
           }
         }
-
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1beta.GuestPolicies
-              .internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_fieldAccessorTable
+          return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.class,
-                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder
-                      .class);
+                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.class, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder.class);
         }
 
-        // Construct using
-        // com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.newBuilder()
+        // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
+          }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -5314,22 +4590,19 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.cloud.osconfig.v1beta.GuestPolicies
-              .internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
-            getDefaultInstanceForType() {
-          return com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
-              .getDefaultInstance();
+        public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getDefaultInstanceForType() {
+          return com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel build() {
-          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel result =
-              buildPartial();
+          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -5338,8 +4611,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel buil
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel buildPartial() {
-          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel result =
-              new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel(this);
+          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel result = new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel(this);
           int from_bitField0_ = bitField0_;
           result.labels_ = internalGetLabels();
           result.labels_.makeImmutable();
@@ -5351,55 +4623,48 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel buil
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel) {
-            return mergeFrom(
-                (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel) other);
+          if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel) {
+            return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel other) {
-          if (other
-              == com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
-                  .getDefaultInstance()) return this;
-          internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+        public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel other) {
+          if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.getDefaultInstance()) return this;
+          internalGetMutableLabels().mergeFrom(
+              other.internalGetLabels());
           this.mergeUnknownFields(other.unknownFields);
           onChanged();
           return this;
@@ -5419,9 +4684,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel)
-                    e.getUnfinishedMessage();
+            parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -5430,27 +4693,24 @@ public Builder mergeFrom(
           }
           return this;
         }
-
         private int bitField0_;
 
-        private com.google.protobuf.MapField labels_;
-
+        private com.google.protobuf.MapField<
+            java.lang.String, java.lang.String> labels_;
         private com.google.protobuf.MapField
-            internalGetLabels() {
+        internalGetLabels() {
           if (labels_ == null) {
             return com.google.protobuf.MapField.emptyMapField(
                 LabelsDefaultEntryHolder.defaultEntry);
           }
           return labels_;
         }
-
         private com.google.protobuf.MapField
-            internalGetMutableLabels() {
-          onChanged();
-          ;
+        internalGetMutableLabels() {
+          onChanged();;
           if (labels_ == null) {
-            labels_ =
-                com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+            labels_ = com.google.protobuf.MapField.newMapField(
+                LabelsDefaultEntryHolder.defaultEntry);
           }
           if (!labels_.isMutable()) {
             labels_ = labels_.copy();
@@ -5462,8 +4722,6 @@ public int getLabelsCount() {
           return internalGetLabels().getMap().size();
         }
         /**
-         *
-         *
          * 
          * Google Compute Engine instance labels that must be present for an
          * instance to be included in this assignment group.
@@ -5471,22 +4729,22 @@ public int getLabelsCount() {
          *
          * map<string, string> labels = 1;
          */
+
         @java.lang.Override
-        public boolean containsLabels(java.lang.String key) {
-          if (key == null) {
-            throw new NullPointerException("map key");
-          }
+        public boolean containsLabels(
+            java.lang.String key) {
+          if (key == null) { throw new NullPointerException("map key"); }
           return internalGetLabels().getMap().containsKey(key);
         }
-        /** Use {@link #getLabelsMap()} instead. */
+        /**
+         * Use {@link #getLabelsMap()} instead.
+         */
         @java.lang.Override
         @java.lang.Deprecated
         public java.util.Map getLabels() {
           return getLabelsMap();
         }
         /**
-         *
-         *
          * 
          * Google Compute Engine instance labels that must be present for an
          * instance to be included in this assignment group.
@@ -5495,12 +4753,11 @@ public java.util.Map getLabels() {
          * map<string, string> labels = 1;
          */
         @java.lang.Override
+
         public java.util.Map getLabelsMap() {
           return internalGetLabels().getMap();
         }
         /**
-         *
-         *
          * 
          * Google Compute Engine instance labels that must be present for an
          * instance to be included in this assignment group.
@@ -5509,17 +4766,16 @@ public java.util.Map getLabelsMap() {
          * map<string, string> labels = 1;
          */
         @java.lang.Override
+
         public java.lang.String getLabelsOrDefault(
-            java.lang.String key, java.lang.String defaultValue) {
-          if (key == null) {
-            throw new NullPointerException("map key");
-          }
-          java.util.Map map = internalGetLabels().getMap();
+            java.lang.String key,
+            java.lang.String defaultValue) {
+          if (key == null) { throw new NullPointerException("map key"); }
+          java.util.Map map =
+              internalGetLabels().getMap();
           return map.containsKey(key) ? map.get(key) : defaultValue;
         }
         /**
-         *
-         *
          * 
          * Google Compute Engine instance labels that must be present for an
          * instance to be included in this assignment group.
@@ -5528,11 +4784,12 @@ public java.lang.String getLabelsOrDefault(
          * map<string, string> labels = 1;
          */
         @java.lang.Override
-        public java.lang.String getLabelsOrThrow(java.lang.String key) {
-          if (key == null) {
-            throw new NullPointerException("map key");
-          }
-          java.util.Map map = internalGetLabels().getMap();
+
+        public java.lang.String getLabelsOrThrow(
+            java.lang.String key) {
+          if (key == null) { throw new NullPointerException("map key"); }
+          java.util.Map map =
+              internalGetLabels().getMap();
           if (!map.containsKey(key)) {
             throw new java.lang.IllegalArgumentException();
           }
@@ -5540,12 +4797,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
         }
 
         public Builder clearLabels() {
-          internalGetMutableLabels().getMutableMap().clear();
+          internalGetMutableLabels().getMutableMap()
+              .clear();
           return this;
         }
         /**
-         *
-         *
          * 
          * Google Compute Engine instance labels that must be present for an
          * instance to be included in this assignment group.
@@ -5553,21 +4809,23 @@ public Builder clearLabels() {
          *
          * map<string, string> labels = 1;
          */
-        public Builder removeLabels(java.lang.String key) {
-          if (key == null) {
-            throw new NullPointerException("map key");
-          }
-          internalGetMutableLabels().getMutableMap().remove(key);
+
+        public Builder removeLabels(
+            java.lang.String key) {
+          if (key == null) { throw new NullPointerException("map key"); }
+          internalGetMutableLabels().getMutableMap()
+              .remove(key);
           return this;
         }
-        /** Use alternate mutation accessors instead. */
+        /**
+         * Use alternate mutation accessors instead.
+         */
         @java.lang.Deprecated
-        public java.util.Map getMutableLabels() {
+        public java.util.Map
+        getMutableLabels() {
           return internalGetMutableLabels().getMutableMap();
         }
         /**
-         *
-         *
          * 
          * Google Compute Engine instance labels that must be present for an
          * instance to be included in this assignment group.
@@ -5575,20 +4833,19 @@ public java.util.Map getMutableLabels() {
          *
          * map<string, string> labels = 1;
          */
-        public Builder putLabels(java.lang.String key, java.lang.String value) {
-          if (key == null) {
-            throw new NullPointerException("map key");
-          }
+        public Builder putLabels(
+            java.lang.String key,
+            java.lang.String value) {
+          if (key == null) { throw new NullPointerException("map key"); }
           if (value == null) {
-            throw new NullPointerException("map value");
-          }
+  throw new NullPointerException("map value");
+}
 
-          internalGetMutableLabels().getMutableMap().put(key, value);
+          internalGetMutableLabels().getMutableMap()
+              .put(key, value);
           return this;
         }
         /**
-         *
-         *
          * 
          * Google Compute Engine instance labels that must be present for an
          * instance to be included in this assignment group.
@@ -5596,11 +4853,13 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
          *
          * map<string, string> labels = 1;
          */
-        public Builder putAllLabels(java.util.Map values) {
-          internalGetMutableLabels().getMutableMap().putAll(values);
+
+        public Builder putAllLabels(
+            java.util.Map values) {
+          internalGetMutableLabels().getMutableMap()
+              .putAll(values);
           return this;
         }
-
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -5613,33 +4872,30 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
+
         // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.Assignment.GroupLabel)
       }
 
       // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.Assignment.GroupLabel)
-      private static final com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
-          DEFAULT_INSTANCE;
-
+      private static final com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel DEFAULT_INSTANCE;
       static {
-        DEFAULT_INSTANCE =
-            new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel();
+        DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel();
       }
 
-      public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
-          getDefaultInstance() {
+      public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser PARSER =
-          new com.google.protobuf.AbstractParser() {
-            @java.lang.Override
-            public GroupLabel parsePartialFrom(
-                com.google.protobuf.CodedInputStream input,
-                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-                throws com.google.protobuf.InvalidProtocolBufferException {
-              return new GroupLabel(input, extensionRegistry);
-            }
-          };
+      private static final com.google.protobuf.Parser
+          PARSER = new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public GroupLabel parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new GroupLabel(input, extensionRegistry);
+        }
+      };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -5651,117 +4907,98 @@ public com.google.protobuf.Parser getParserForType() {
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
+
     }
 
-    public interface OsTypeOrBuilder
-        extends
+    public interface OsTypeOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.Assignment.OsType)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * Targets VM instances with OS Inventory enabled and having the following
        * OS short name, for example "debian" or "windows".
        * 
* * string os_short_name = 1; - * * @return The osShortName. */ java.lang.String getOsShortName(); /** - * - * *
        * Targets VM instances with OS Inventory enabled and having the following
        * OS short name, for example "debian" or "windows".
        * 
* * string os_short_name = 1; - * * @return The bytes for osShortName. */ - com.google.protobuf.ByteString getOsShortNameBytes(); + com.google.protobuf.ByteString + getOsShortNameBytes(); /** - * - * *
        * Targets VM instances with OS Inventory enabled and having the following
        * following OS version.
        * 
* * string os_version = 2; - * * @return The osVersion. */ java.lang.String getOsVersion(); /** - * - * *
        * Targets VM instances with OS Inventory enabled and having the following
        * following OS version.
        * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ - com.google.protobuf.ByteString getOsVersionBytes(); + com.google.protobuf.ByteString + getOsVersionBytes(); /** - * - * *
        * Targets VM instances with OS Inventory enabled and having the following
        * OS architecture.
        * 
* * string os_architecture = 3; - * * @return The osArchitecture. */ java.lang.String getOsArchitecture(); /** - * - * *
        * Targets VM instances with OS Inventory enabled and having the following
        * OS architecture.
        * 
* * string os_architecture = 3; - * * @return The bytes for osArchitecture. */ - com.google.protobuf.ByteString getOsArchitectureBytes(); + com.google.protobuf.ByteString + getOsArchitectureBytes(); } /** - * - * *
      * Defines the criteria for selecting VM Instances by OS type.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.Assignment.OsType} */ - public static final class OsType extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class OsType extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.Assignment.OsType) OsTypeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OsType.newBuilder() to construct. private OsType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OsType() { osShortName_ = ""; osVersion_ = ""; @@ -5770,15 +5007,16 @@ private OsType() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OsType(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OsType( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5797,34 +5035,31 @@ private OsType( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - osShortName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + osShortName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - osVersion_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + osVersion_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - osArchitecture_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + osArchitecture_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5832,41 +5067,35 @@ private OsType( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.class, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder.class); } public static final int OS_SHORT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object osShortName_; /** - * - * *
        * Targets VM instances with OS Inventory enabled and having the following
        * OS short name, for example "debian" or "windows".
        * 
* * string os_short_name = 1; - * * @return The osShortName. */ @java.lang.Override @@ -5875,30 +5104,30 @@ public java.lang.String getOsShortName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; } } /** - * - * *
        * Targets VM instances with OS Inventory enabled and having the following
        * OS short name, for example "debian" or "windows".
        * 
* * string os_short_name = 1; - * * @return The bytes for osShortName. */ @java.lang.Override - public com.google.protobuf.ByteString getOsShortNameBytes() { + public com.google.protobuf.ByteString + getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osShortName_ = b; return b; } else { @@ -5909,15 +5138,12 @@ public com.google.protobuf.ByteString getOsShortNameBytes() { public static final int OS_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object osVersion_; /** - * - * *
        * Targets VM instances with OS Inventory enabled and having the following
        * following OS version.
        * 
* * string os_version = 2; - * * @return The osVersion. */ @java.lang.Override @@ -5926,30 +5152,30 @@ public java.lang.String getOsVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; } } /** - * - * *
        * Targets VM instances with OS Inventory enabled and having the following
        * following OS version.
        * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getOsVersionBytes() { + public com.google.protobuf.ByteString + getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osVersion_ = b; return b; } else { @@ -5960,15 +5186,12 @@ public com.google.protobuf.ByteString getOsVersionBytes() { public static final int OS_ARCHITECTURE_FIELD_NUMBER = 3; private volatile java.lang.Object osArchitecture_; /** - * - * *
        * Targets VM instances with OS Inventory enabled and having the following
        * OS architecture.
        * 
* * string os_architecture = 3; - * * @return The osArchitecture. */ @java.lang.Override @@ -5977,30 +5200,30 @@ public java.lang.String getOsArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osArchitecture_ = s; return s; } } /** - * - * *
        * Targets VM instances with OS Inventory enabled and having the following
        * OS architecture.
        * 
* * string os_architecture = 3; - * * @return The bytes for osArchitecture. */ @java.lang.Override - public com.google.protobuf.ByteString getOsArchitectureBytes() { + public com.google.protobuf.ByteString + getOsArchitectureBytes() { java.lang.Object ref = osArchitecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osArchitecture_ = b; return b; } else { @@ -6009,7 +5232,6 @@ public com.google.protobuf.ByteString getOsArchitectureBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6021,7 +5243,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osShortName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osShortName_); } @@ -6057,17 +5280,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType other = (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType) obj; - if (!getOsShortName().equals(other.getOsShortName())) return false; - if (!getOsVersion().equals(other.getOsVersion())) return false; - if (!getOsArchitecture().equals(other.getOsArchitecture())) return false; + if (!getOsShortName() + .equals(other.getOsShortName())) return false; + if (!getOsVersion() + .equals(other.getOsVersion())) return false; + if (!getOsArchitecture() + .equals(other.getOsArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6091,96 +5316,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType 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.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType - 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.osconfig.v1beta.GuestPolicies.Assignment.OsType 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.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6190,49 +5406,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Defines the criteria for selecting VM Instances by OS type.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.Assignment.OsType} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.Assignment.OsType) com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.class, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -6246,16 +5457,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.getDefaultInstance(); } @java.lang.Override @@ -6269,8 +5478,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType build() @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType(this); + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType result = new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType(this); result.osShortName_ = osShortName_; result.osVersion_ = osVersion_; result.osArchitecture_ = osArchitecture_; @@ -6282,53 +5490,46 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.Assignment.OsType) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType) other); + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.getDefaultInstance()) return this; if (!other.getOsShortName().isEmpty()) { osShortName_ = other.osShortName_; onChanged(); @@ -6360,9 +5561,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6374,21 +5573,19 @@ public Builder mergeFrom( private java.lang.Object osShortName_ = ""; /** - * - * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS short name, for example "debian" or "windows".
          * 
* * string os_short_name = 1; - * * @return The osShortName. */ public java.lang.String getOsShortName() { java.lang.Object ref = osShortName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; @@ -6397,22 +5594,21 @@ public java.lang.String getOsShortName() { } } /** - * - * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS short name, for example "debian" or "windows".
          * 
* * string os_short_name = 1; - * * @return The bytes for osShortName. */ - public com.google.protobuf.ByteString getOsShortNameBytes() { + public com.google.protobuf.ByteString + getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osShortName_ = b; return b; } else { @@ -6420,64 +5616,57 @@ public com.google.protobuf.ByteString getOsShortNameBytes() { } } /** - * - * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS short name, for example "debian" or "windows".
          * 
* * string os_short_name = 1; - * * @param value The osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortName(java.lang.String value) { + public Builder setOsShortName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osShortName_ = value; onChanged(); return this; } /** - * - * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS short name, for example "debian" or "windows".
          * 
* * string os_short_name = 1; - * * @return This builder for chaining. */ public Builder clearOsShortName() { - + osShortName_ = getDefaultInstance().getOsShortName(); onChanged(); return this; } /** - * - * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS short name, for example "debian" or "windows".
          * 
* * string os_short_name = 1; - * * @param value The bytes for osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { + public Builder setOsShortNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osShortName_ = value; onChanged(); return this; @@ -6485,21 +5674,19 @@ public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object osVersion_ = ""; /** - * - * *
          * Targets VM instances with OS Inventory enabled and having the following
          * following OS version.
          * 
* * string os_version = 2; - * * @return The osVersion. */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; @@ -6508,22 +5695,21 @@ public java.lang.String getOsVersion() { } } /** - * - * *
          * Targets VM instances with OS Inventory enabled and having the following
          * following OS version.
          * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ - public com.google.protobuf.ByteString getOsVersionBytes() { + public com.google.protobuf.ByteString + getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osVersion_ = b; return b; } else { @@ -6531,64 +5717,57 @@ public com.google.protobuf.ByteString getOsVersionBytes() { } } /** - * - * *
          * Targets VM instances with OS Inventory enabled and having the following
          * following OS version.
          * 
* * string os_version = 2; - * * @param value The osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersion(java.lang.String value) { + public Builder setOsVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osVersion_ = value; onChanged(); return this; } /** - * - * *
          * Targets VM instances with OS Inventory enabled and having the following
          * following OS version.
          * 
* * string os_version = 2; - * * @return This builder for chaining. */ public Builder clearOsVersion() { - + osVersion_ = getDefaultInstance().getOsVersion(); onChanged(); return this; } /** - * - * *
          * Targets VM instances with OS Inventory enabled and having the following
          * following OS version.
          * 
* * string os_version = 2; - * * @param value The bytes for osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersionBytes(com.google.protobuf.ByteString value) { + public Builder setOsVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osVersion_ = value; onChanged(); return this; @@ -6596,21 +5775,19 @@ public Builder setOsVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object osArchitecture_ = ""; /** - * - * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS architecture.
          * 
* * string os_architecture = 3; - * * @return The osArchitecture. */ public java.lang.String getOsArchitecture() { java.lang.Object ref = osArchitecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osArchitecture_ = s; return s; @@ -6619,22 +5796,21 @@ public java.lang.String getOsArchitecture() { } } /** - * - * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS architecture.
          * 
* * string os_architecture = 3; - * * @return The bytes for osArchitecture. */ - public com.google.protobuf.ByteString getOsArchitectureBytes() { + public com.google.protobuf.ByteString + getOsArchitectureBytes() { java.lang.Object ref = osArchitecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osArchitecture_ = b; return b; } else { @@ -6642,69 +5818,61 @@ public com.google.protobuf.ByteString getOsArchitectureBytes() { } } /** - * - * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS architecture.
          * 
* * string os_architecture = 3; - * * @param value The osArchitecture to set. * @return This builder for chaining. */ - public Builder setOsArchitecture(java.lang.String value) { + public Builder setOsArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osArchitecture_ = value; onChanged(); return this; } /** - * - * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS architecture.
          * 
* * string os_architecture = 3; - * * @return This builder for chaining. */ public Builder clearOsArchitecture() { - + osArchitecture_ = getDefaultInstance().getOsArchitecture(); onChanged(); return this; } /** - * - * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS architecture.
          * 
* * string os_architecture = 3; - * * @param value The bytes for osArchitecture to set. * @return This builder for chaining. */ - public Builder setOsArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setOsArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osArchitecture_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6717,32 +5885,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.Assignment.OsType) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.Assignment.OsType) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OsType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OsType(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OsType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OsType(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6754,18 +5920,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int GROUP_LABELS_FIELD_NUMBER = 1; - private java.util.List - groupLabels_; + private java.util.List groupLabels_; /** - * - * *
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -6775,13 +5938,10 @@ public com.google.protobuf.Parser getParserForType() {
      * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
      */
     @java.lang.Override
-    public java.util.List
-        getGroupLabelsList() {
+    public java.util.List getGroupLabelsList() {
       return groupLabels_;
     }
     /**
-     *
-     *
      * 
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -6791,14 +5951,11 @@ public com.google.protobuf.Parser getParserForType() {
      * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
      */
     @java.lang.Override
-    public java.util.List<
-            ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder>
+    public java.util.List 
         getGroupLabelsOrBuilderList() {
       return groupLabels_;
     }
     /**
-     *
-     *
      * 
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -6812,8 +5969,6 @@ public int getGroupLabelsCount() {
       return groupLabels_.size();
     }
     /**
-     *
-     *
      * 
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -6823,13 +5978,10 @@ public int getGroupLabelsCount() {
      * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getGroupLabels(
-        int index) {
+    public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getGroupLabels(int index) {
       return groupLabels_.get(index);
     }
     /**
-     *
-     *
      * 
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -6839,16 +5991,14 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getG
      * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder
-        getGroupLabelsOrBuilder(int index) {
+    public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder getGroupLabelsOrBuilder(
+        int index) {
       return groupLabels_.get(index);
     }
 
     public static final int ZONES_FIELD_NUMBER = 2;
     private com.google.protobuf.LazyStringList zones_;
     /**
-     *
-     *
      * 
      * Targets instances in any of these zones. Leave empty to target instances
      * in any zone.
@@ -6857,15 +6007,13 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getG
      * 
* * repeated string zones = 2; - * * @return A list containing the zones. */ - public com.google.protobuf.ProtocolStringList getZonesList() { + public com.google.protobuf.ProtocolStringList + getZonesList() { return zones_; } /** - * - * *
      * Targets instances in any of these zones. Leave empty to target instances
      * in any zone.
@@ -6874,15 +6022,12 @@ public com.google.protobuf.ProtocolStringList getZonesList() {
      * 
* * repeated string zones = 2; - * * @return The count of zones. */ public int getZonesCount() { return zones_.size(); } /** - * - * *
      * Targets instances in any of these zones. Leave empty to target instances
      * in any zone.
@@ -6891,7 +6036,6 @@ public int getZonesCount() {
      * 
* * repeated string zones = 2; - * * @param index The index of the element to return. * @return The zones at the given index. */ @@ -6899,8 +6043,6 @@ public java.lang.String getZones(int index) { return zones_.get(index); } /** - * - * *
      * Targets instances in any of these zones. Leave empty to target instances
      * in any zone.
@@ -6909,19 +6051,17 @@ public java.lang.String getZones(int index) {
      * 
* * repeated string zones = 2; - * * @param index The index of the value to return. * @return The bytes of the zones at the given index. */ - public com.google.protobuf.ByteString getZonesBytes(int index) { + public com.google.protobuf.ByteString + getZonesBytes(int index) { return zones_.getByteString(index); } public static final int INSTANCES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList instances_; /** - * - * *
      * Targets any of the instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -6933,15 +6073,13 @@ public com.google.protobuf.ByteString getZonesBytes(int index) {
      * 
* * repeated string instances = 3; - * * @return A list containing the instances. */ - public com.google.protobuf.ProtocolStringList getInstancesList() { + public com.google.protobuf.ProtocolStringList + getInstancesList() { return instances_; } /** - * - * *
      * Targets any of the instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -6953,15 +6091,12 @@ public com.google.protobuf.ProtocolStringList getInstancesList() {
      * 
* * repeated string instances = 3; - * * @return The count of instances. */ public int getInstancesCount() { return instances_.size(); } /** - * - * *
      * Targets any of the instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -6973,7 +6108,6 @@ public int getInstancesCount() {
      * 
* * repeated string instances = 3; - * * @param index The index of the element to return. * @return The instances at the given index. */ @@ -6981,8 +6115,6 @@ public java.lang.String getInstances(int index) { return instances_.get(index); } /** - * - * *
      * Targets any of the instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -6994,19 +6126,17 @@ public java.lang.String getInstances(int index) {
      * 
* * repeated string instances = 3; - * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - public com.google.protobuf.ByteString getInstancesBytes(int index) { + public com.google.protobuf.ByteString + getInstancesBytes(int index) { return instances_.getByteString(index); } public static final int INSTANCE_NAME_PREFIXES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList instanceNamePrefixes_; /** - * - * *
      * Targets VM instances whose name starts with one of these prefixes.
      * Like labels, this is another way to group VM instances when targeting
@@ -7015,15 +6145,13 @@ public com.google.protobuf.ByteString getInstancesBytes(int index) {
      * 
* * repeated string instance_name_prefixes = 4; - * * @return A list containing the instanceNamePrefixes. */ - public com.google.protobuf.ProtocolStringList getInstanceNamePrefixesList() { + public com.google.protobuf.ProtocolStringList + getInstanceNamePrefixesList() { return instanceNamePrefixes_; } /** - * - * *
      * Targets VM instances whose name starts with one of these prefixes.
      * Like labels, this is another way to group VM instances when targeting
@@ -7032,15 +6160,12 @@ public com.google.protobuf.ProtocolStringList getInstanceNamePrefixesList() {
      * 
* * repeated string instance_name_prefixes = 4; - * * @return The count of instanceNamePrefixes. */ public int getInstanceNamePrefixesCount() { return instanceNamePrefixes_.size(); } /** - * - * *
      * Targets VM instances whose name starts with one of these prefixes.
      * Like labels, this is another way to group VM instances when targeting
@@ -7049,7 +6174,6 @@ public int getInstanceNamePrefixesCount() {
      * 
* * repeated string instance_name_prefixes = 4; - * * @param index The index of the element to return. * @return The instanceNamePrefixes at the given index. */ @@ -7057,8 +6181,6 @@ public java.lang.String getInstanceNamePrefixes(int index) { return instanceNamePrefixes_.get(index); } /** - * - * *
      * Targets VM instances whose name starts with one of these prefixes.
      * Like labels, this is another way to group VM instances when targeting
@@ -7067,20 +6189,17 @@ public java.lang.String getInstanceNamePrefixes(int index) {
      * 
* * repeated string instance_name_prefixes = 4; - * * @param index The index of the value to return. * @return The bytes of the instanceNamePrefixes at the given index. */ - public com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index) { + public com.google.protobuf.ByteString + getInstanceNamePrefixesBytes(int index) { return instanceNamePrefixes_.getByteString(index); } public static final int OS_TYPES_FIELD_NUMBER = 5; - private java.util.List - osTypes_; + private java.util.List osTypes_; /** - * - * *
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -7090,13 +6209,10 @@ public com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index) {
      * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
      */
     @java.lang.Override
-    public java.util.List
-        getOsTypesList() {
+    public java.util.List getOsTypesList() {
       return osTypes_;
     }
     /**
-     *
-     *
      * 
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -7106,14 +6222,11 @@ public com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index) {
      * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
      */
     @java.lang.Override
-    public java.util.List<
-            ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder>
+    public java.util.List 
         getOsTypesOrBuilderList() {
       return osTypes_;
     }
     /**
-     *
-     *
      * 
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -7127,8 +6240,6 @@ public int getOsTypesCount() {
       return osTypes_.size();
     }
     /**
-     *
-     *
      * 
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -7142,8 +6253,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType getOsTyp
       return osTypes_.get(index);
     }
     /**
-     *
-     *
      * 
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -7153,13 +6262,12 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType getOsTyp
      * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder
-        getOsTypesOrBuilder(int index) {
+    public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder getOsTypesOrBuilder(
+        int index) {
       return osTypes_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -7171,7 +6279,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       for (int i = 0; i < groupLabels_.size(); i++) {
         output.writeMessage(1, groupLabels_.get(i));
       }
@@ -7182,8 +6291,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
         com.google.protobuf.GeneratedMessageV3.writeString(output, 3, instances_.getRaw(i));
       }
       for (int i = 0; i < instanceNamePrefixes_.size(); i++) {
-        com.google.protobuf.GeneratedMessageV3.writeString(
-            output, 4, instanceNamePrefixes_.getRaw(i));
+        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, instanceNamePrefixes_.getRaw(i));
       }
       for (int i = 0; i < osTypes_.size(); i++) {
         output.writeMessage(5, osTypes_.get(i));
@@ -7198,7 +6306,8 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < groupLabels_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, groupLabels_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, groupLabels_.get(i));
       }
       {
         int dataSize = 0;
@@ -7225,7 +6334,8 @@ public int getSerializedSize() {
         size += 1 * getInstanceNamePrefixesList().size();
       }
       for (int i = 0; i < osTypes_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, osTypes_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(5, osTypes_.get(i));
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -7235,19 +6345,23 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment)) {
         return super.equals(obj);
       }
-      com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment other =
-          (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment) obj;
-
-      if (!getGroupLabelsList().equals(other.getGroupLabelsList())) return false;
-      if (!getZonesList().equals(other.getZonesList())) return false;
-      if (!getInstancesList().equals(other.getInstancesList())) return false;
-      if (!getInstanceNamePrefixesList().equals(other.getInstanceNamePrefixesList())) return false;
-      if (!getOsTypesList().equals(other.getOsTypesList())) return false;
+      com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment other = (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment) obj;
+
+      if (!getGroupLabelsList()
+          .equals(other.getGroupLabelsList())) return false;
+      if (!getZonesList()
+          .equals(other.getZonesList())) return false;
+      if (!getInstancesList()
+          .equals(other.getInstancesList())) return false;
+      if (!getInstanceNamePrefixesList()
+          .equals(other.getInstanceNamePrefixesList())) return false;
+      if (!getOsTypesList()
+          .equals(other.getOsTypesList())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -7285,94 +6399,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment 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.osconfig.v1beta.GuestPolicies.Assignment parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment prototype) {
+    public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -7382,8 +6489,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * An assignment represents the group or groups of VM instances that the policy
      * applies to.
@@ -7395,24 +6500,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.Assignment}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.Assignment)
         com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_Assignment_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.class,
-                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.class, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.newBuilder()
@@ -7420,18 +6522,18 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getGroupLabelsFieldBuilder();
           getOsTypesFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -7457,9 +6559,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor;
       }
 
       @java.lang.Override
@@ -7478,8 +6580,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment buildPartial() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment result =
-            new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment(this);
+        com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment result = new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment(this);
         int from_bitField0_ = bitField0_;
         if (groupLabelsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -7522,41 +6623,38 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment buildPartial()
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.GuestPolicies.Assignment) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -7564,8 +6662,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment other) {
-        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.getDefaultInstance()) return this;
         if (groupLabelsBuilder_ == null) {
           if (!other.groupLabels_.isEmpty()) {
             if (groupLabels_.isEmpty()) {
@@ -7584,10 +6681,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignme
               groupLabelsBuilder_ = null;
               groupLabels_ = other.groupLabels_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              groupLabelsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getGroupLabelsFieldBuilder()
-                      : null;
+              groupLabelsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getGroupLabelsFieldBuilder() : null;
             } else {
               groupLabelsBuilder_.addAllMessages(other.groupLabels_);
             }
@@ -7641,10 +6737,9 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignme
               osTypesBuilder_ = null;
               osTypes_ = other.osTypes_;
               bitField0_ = (bitField0_ & ~0x00000010);
-              osTypesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getOsTypesFieldBuilder()
-                      : null;
+              osTypesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getOsTypesFieldBuilder() : null;
             } else {
               osTypesBuilder_.addAllMessages(other.osTypes_);
             }
@@ -7669,8 +6764,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -7679,31 +6773,21 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private java.util.List
-          groupLabels_ = java.util.Collections.emptyList();
-
+      private java.util.List groupLabels_ =
+        java.util.Collections.emptyList();
       private void ensureGroupLabelsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          groupLabels_ =
-              new java.util.ArrayList<
-                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel>(
-                  groupLabels_);
+          groupLabels_ = new java.util.ArrayList(groupLabels_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder>
-          groupLabelsBuilder_;
+          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder> groupLabelsBuilder_;
 
       /**
-       *
-       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7712,8 +6796,7 @@ private void ensureGroupLabelsIsMutable() {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
-      public java.util.List
-          getGroupLabelsList() {
+      public java.util.List getGroupLabelsList() {
         if (groupLabelsBuilder_ == null) {
           return java.util.Collections.unmodifiableList(groupLabels_);
         } else {
@@ -7721,8 +6804,6 @@ private void ensureGroupLabelsIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7739,8 +6820,6 @@ public int getGroupLabelsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7749,8 +6828,7 @@ public int getGroupLabelsCount() {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getGroupLabels(
-          int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getGroupLabels(int index) {
         if (groupLabelsBuilder_ == null) {
           return groupLabels_.get(index);
         } else {
@@ -7758,8 +6836,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getG
         }
       }
       /**
-       *
-       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7783,8 +6859,6 @@ public Builder setGroupLabels(
         return this;
       }
       /**
-       *
-       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7794,9 +6868,7 @@ public Builder setGroupLabels(
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
       public Builder setGroupLabels(
-          int index,
-          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder
-              builderForValue) {
+          int index, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder builderForValue) {
         if (groupLabelsBuilder_ == null) {
           ensureGroupLabelsIsMutable();
           groupLabels_.set(index, builderForValue.build());
@@ -7807,8 +6879,6 @@ public Builder setGroupLabels(
         return this;
       }
       /**
-       *
-       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7817,8 +6887,7 @@ public Builder setGroupLabels(
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
-      public Builder addGroupLabels(
-          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel value) {
+      public Builder addGroupLabels(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel value) {
         if (groupLabelsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -7832,8 +6901,6 @@ public Builder addGroupLabels(
         return this;
       }
       /**
-       *
-       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7857,8 +6924,6 @@ public Builder addGroupLabels(
         return this;
       }
       /**
-       *
-       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7868,8 +6933,7 @@ public Builder addGroupLabels(
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
       public Builder addGroupLabels(
-          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder
-              builderForValue) {
+          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder builderForValue) {
         if (groupLabelsBuilder_ == null) {
           ensureGroupLabelsIsMutable();
           groupLabels_.add(builderForValue.build());
@@ -7880,8 +6944,6 @@ public Builder addGroupLabels(
         return this;
       }
       /**
-       *
-       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7891,9 +6953,7 @@ public Builder addGroupLabels(
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
       public Builder addGroupLabels(
-          int index,
-          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder
-              builderForValue) {
+          int index, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder builderForValue) {
         if (groupLabelsBuilder_ == null) {
           ensureGroupLabelsIsMutable();
           groupLabels_.add(index, builderForValue.build());
@@ -7904,8 +6964,6 @@ public Builder addGroupLabels(
         return this;
       }
       /**
-       *
-       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7915,12 +6973,11 @@ public Builder addGroupLabels(
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
       public Builder addAllGroupLabels(
-          java.lang.Iterable<
-                  ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel>
-              values) {
+          java.lang.Iterable values) {
         if (groupLabelsBuilder_ == null) {
           ensureGroupLabelsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupLabels_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, groupLabels_);
           onChanged();
         } else {
           groupLabelsBuilder_.addAllMessages(values);
@@ -7928,8 +6985,6 @@ public Builder addAllGroupLabels(
         return this;
       }
       /**
-       *
-       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7949,8 +7004,6 @@ public Builder clearGroupLabels() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7970,8 +7023,6 @@ public Builder removeGroupLabels(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7980,13 +7031,11 @@ public Builder removeGroupLabels(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder
-          getGroupLabelsBuilder(int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder getGroupLabelsBuilder(
+          int index) {
         return getGroupLabelsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7995,17 +7044,14 @@ public Builder removeGroupLabels(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder
-          getGroupLabelsOrBuilder(int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder getGroupLabelsOrBuilder(
+          int index) {
         if (groupLabelsBuilder_ == null) {
-          return groupLabels_.get(index);
-        } else {
+          return groupLabels_.get(index);  } else {
           return groupLabelsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -8014,10 +7060,8 @@ public Builder removeGroupLabels(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
-      public java.util.List<
-              ? extends
-                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder>
-          getGroupLabelsOrBuilderList() {
+      public java.util.List 
+           getGroupLabelsOrBuilderList() {
         if (groupLabelsBuilder_ != null) {
           return groupLabelsBuilder_.getMessageOrBuilderList();
         } else {
@@ -8025,8 +7069,6 @@ public Builder removeGroupLabels(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -8035,16 +7077,11 @@ public Builder removeGroupLabels(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder
-          addGroupLabelsBuilder() {
-        return getGroupLabelsFieldBuilder()
-            .addBuilder(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
-                    .getDefaultInstance());
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder addGroupLabelsBuilder() {
+        return getGroupLabelsFieldBuilder().addBuilder(
+            com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -8053,17 +7090,12 @@ public Builder removeGroupLabels(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder
-          addGroupLabelsBuilder(int index) {
-        return getGroupLabelsFieldBuilder()
-            .addBuilder(
-                index,
-                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
-                    .getDefaultInstance());
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder addGroupLabelsBuilder(
+          int index) {
+        return getGroupLabelsFieldBuilder().addBuilder(
+            index, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -8072,23 +7104,16 @@ public Builder removeGroupLabels(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
-      public java.util.List<
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder>
-          getGroupLabelsBuilderList() {
+      public java.util.List 
+           getGroupLabelsBuilderList() {
         return getGroupLabelsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder>
+          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder> 
           getGroupLabelsFieldBuilder() {
         if (groupLabelsBuilder_ == null) {
-          groupLabelsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel,
-                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder,
-                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder>(
+          groupLabelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder>(
                   groupLabels_,
                   ((bitField0_ & 0x00000001) != 0),
                   getParentForChildren(),
@@ -8098,18 +7123,14 @@ public Builder removeGroupLabels(int index) {
         return groupLabelsBuilder_;
       }
 
-      private com.google.protobuf.LazyStringList zones_ =
-          com.google.protobuf.LazyStringArrayList.EMPTY;
-
+      private com.google.protobuf.LazyStringList zones_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       private void ensureZonesIsMutable() {
         if (!((bitField0_ & 0x00000002) != 0)) {
           zones_ = new com.google.protobuf.LazyStringArrayList(zones_);
           bitField0_ |= 0x00000002;
-        }
+         }
       }
       /**
-       *
-       *
        * 
        * Targets instances in any of these zones. Leave empty to target instances
        * in any zone.
@@ -8118,15 +7139,13 @@ private void ensureZonesIsMutable() {
        * 
* * repeated string zones = 2; - * * @return A list containing the zones. */ - public com.google.protobuf.ProtocolStringList getZonesList() { + public com.google.protobuf.ProtocolStringList + getZonesList() { return zones_.getUnmodifiableView(); } /** - * - * *
        * Targets instances in any of these zones. Leave empty to target instances
        * in any zone.
@@ -8135,15 +7154,12 @@ public com.google.protobuf.ProtocolStringList getZonesList() {
        * 
* * repeated string zones = 2; - * * @return The count of zones. */ public int getZonesCount() { return zones_.size(); } /** - * - * *
        * Targets instances in any of these zones. Leave empty to target instances
        * in any zone.
@@ -8152,7 +7168,6 @@ public int getZonesCount() {
        * 
* * repeated string zones = 2; - * * @param index The index of the element to return. * @return The zones at the given index. */ @@ -8160,8 +7175,6 @@ public java.lang.String getZones(int index) { return zones_.get(index); } /** - * - * *
        * Targets instances in any of these zones. Leave empty to target instances
        * in any zone.
@@ -8170,16 +7183,14 @@ public java.lang.String getZones(int index) {
        * 
* * repeated string zones = 2; - * * @param index The index of the value to return. * @return The bytes of the zones at the given index. */ - public com.google.protobuf.ByteString getZonesBytes(int index) { + public com.google.protobuf.ByteString + getZonesBytes(int index) { return zones_.getByteString(index); } /** - * - * *
        * Targets instances in any of these zones. Leave empty to target instances
        * in any zone.
@@ -8188,23 +7199,21 @@ public com.google.protobuf.ByteString getZonesBytes(int index) {
        * 
* * repeated string zones = 2; - * * @param index The index to set the value at. * @param value The zones to set. * @return This builder for chaining. */ - public Builder setZones(int index, java.lang.String value) { + public Builder setZones( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureZonesIsMutable(); + throw new NullPointerException(); + } + ensureZonesIsMutable(); zones_.set(index, value); onChanged(); return this; } /** - * - * *
        * Targets instances in any of these zones. Leave empty to target instances
        * in any zone.
@@ -8213,22 +7222,20 @@ public Builder setZones(int index, java.lang.String value) {
        * 
* * repeated string zones = 2; - * * @param value The zones to add. * @return This builder for chaining. */ - public Builder addZones(java.lang.String value) { + public Builder addZones( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureZonesIsMutable(); + throw new NullPointerException(); + } + ensureZonesIsMutable(); zones_.add(value); onChanged(); return this; } /** - * - * *
        * Targets instances in any of these zones. Leave empty to target instances
        * in any zone.
@@ -8237,19 +7244,18 @@ public Builder addZones(java.lang.String value) {
        * 
* * repeated string zones = 2; - * * @param values The zones to add. * @return This builder for chaining. */ - public Builder addAllZones(java.lang.Iterable values) { + public Builder addAllZones( + java.lang.Iterable values) { ensureZonesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, zones_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, zones_); onChanged(); return this; } /** - * - * *
        * Targets instances in any of these zones. Leave empty to target instances
        * in any zone.
@@ -8258,7 +7264,6 @@ public Builder addAllZones(java.lang.Iterable values) {
        * 
* * repeated string zones = 2; - * * @return This builder for chaining. */ public Builder clearZones() { @@ -8268,8 +7273,6 @@ public Builder clearZones() { return this; } /** - * - * *
        * Targets instances in any of these zones. Leave empty to target instances
        * in any zone.
@@ -8278,33 +7281,29 @@ public Builder clearZones() {
        * 
* * repeated string zones = 2; - * * @param value The bytes of the zones to add. * @return This builder for chaining. */ - public Builder addZonesBytes(com.google.protobuf.ByteString value) { + public Builder addZonesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureZonesIsMutable(); zones_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList instances_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList instances_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { instances_ = new com.google.protobuf.LazyStringArrayList(instances_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
        * Targets any of the instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -8316,15 +7315,13 @@ private void ensureInstancesIsMutable() {
        * 
* * repeated string instances = 3; - * * @return A list containing the instances. */ - public com.google.protobuf.ProtocolStringList getInstancesList() { + public com.google.protobuf.ProtocolStringList + getInstancesList() { return instances_.getUnmodifiableView(); } /** - * - * *
        * Targets any of the instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -8336,15 +7333,12 @@ public com.google.protobuf.ProtocolStringList getInstancesList() {
        * 
* * repeated string instances = 3; - * * @return The count of instances. */ public int getInstancesCount() { return instances_.size(); } /** - * - * *
        * Targets any of the instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -8356,7 +7350,6 @@ public int getInstancesCount() {
        * 
* * repeated string instances = 3; - * * @param index The index of the element to return. * @return The instances at the given index. */ @@ -8364,8 +7357,6 @@ public java.lang.String getInstances(int index) { return instances_.get(index); } /** - * - * *
        * Targets any of the instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -8377,16 +7368,14 @@ public java.lang.String getInstances(int index) {
        * 
* * repeated string instances = 3; - * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - public com.google.protobuf.ByteString getInstancesBytes(int index) { + public com.google.protobuf.ByteString + getInstancesBytes(int index) { return instances_.getByteString(index); } /** - * - * *
        * Targets any of the instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -8398,23 +7387,21 @@ public com.google.protobuf.ByteString getInstancesBytes(int index) {
        * 
* * repeated string instances = 3; - * * @param index The index to set the value at. * @param value The instances to set. * @return This builder for chaining. */ - public Builder setInstances(int index, java.lang.String value) { + public Builder setInstances( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstancesIsMutable(); + throw new NullPointerException(); + } + ensureInstancesIsMutable(); instances_.set(index, value); onChanged(); return this; } /** - * - * *
        * Targets any of the instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -8426,22 +7413,20 @@ public Builder setInstances(int index, java.lang.String value) {
        * 
* * repeated string instances = 3; - * * @param value The instances to add. * @return This builder for chaining. */ - public Builder addInstances(java.lang.String value) { + public Builder addInstances( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstancesIsMutable(); + throw new NullPointerException(); + } + ensureInstancesIsMutable(); instances_.add(value); onChanged(); return this; } /** - * - * *
        * Targets any of the instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -8453,19 +7438,18 @@ public Builder addInstances(java.lang.String value) {
        * 
* * repeated string instances = 3; - * * @param values The instances to add. * @return This builder for chaining. */ - public Builder addAllInstances(java.lang.Iterable values) { + public Builder addAllInstances( + java.lang.Iterable values) { ensureInstancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instances_); onChanged(); return this; } /** - * - * *
        * Targets any of the instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -8477,7 +7461,6 @@ public Builder addAllInstances(java.lang.Iterable values) {
        * 
* * repeated string instances = 3; - * * @return This builder for chaining. */ public Builder clearInstances() { @@ -8487,8 +7470,6 @@ public Builder clearInstances() { return this; } /** - * - * *
        * Targets any of the instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -8500,34 +7481,29 @@ public Builder clearInstances() {
        * 
* * repeated string instances = 3; - * * @param value The bytes of the instances to add. * @return This builder for chaining. */ - public Builder addInstancesBytes(com.google.protobuf.ByteString value) { + public Builder addInstancesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstancesIsMutable(); instances_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList instanceNamePrefixes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList instanceNamePrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInstanceNamePrefixesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - instanceNamePrefixes_ = - new com.google.protobuf.LazyStringArrayList(instanceNamePrefixes_); + instanceNamePrefixes_ = new com.google.protobuf.LazyStringArrayList(instanceNamePrefixes_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
        * Targets VM instances whose name starts with one of these prefixes.
        * Like labels, this is another way to group VM instances when targeting
@@ -8536,15 +7512,13 @@ private void ensureInstanceNamePrefixesIsMutable() {
        * 
* * repeated string instance_name_prefixes = 4; - * * @return A list containing the instanceNamePrefixes. */ - public com.google.protobuf.ProtocolStringList getInstanceNamePrefixesList() { + public com.google.protobuf.ProtocolStringList + getInstanceNamePrefixesList() { return instanceNamePrefixes_.getUnmodifiableView(); } /** - * - * *
        * Targets VM instances whose name starts with one of these prefixes.
        * Like labels, this is another way to group VM instances when targeting
@@ -8553,15 +7527,12 @@ public com.google.protobuf.ProtocolStringList getInstanceNamePrefixesList() {
        * 
* * repeated string instance_name_prefixes = 4; - * * @return The count of instanceNamePrefixes. */ public int getInstanceNamePrefixesCount() { return instanceNamePrefixes_.size(); } /** - * - * *
        * Targets VM instances whose name starts with one of these prefixes.
        * Like labels, this is another way to group VM instances when targeting
@@ -8570,7 +7541,6 @@ public int getInstanceNamePrefixesCount() {
        * 
* * repeated string instance_name_prefixes = 4; - * * @param index The index of the element to return. * @return The instanceNamePrefixes at the given index. */ @@ -8578,8 +7548,6 @@ public java.lang.String getInstanceNamePrefixes(int index) { return instanceNamePrefixes_.get(index); } /** - * - * *
        * Targets VM instances whose name starts with one of these prefixes.
        * Like labels, this is another way to group VM instances when targeting
@@ -8588,16 +7556,14 @@ public java.lang.String getInstanceNamePrefixes(int index) {
        * 
* * repeated string instance_name_prefixes = 4; - * * @param index The index of the value to return. * @return The bytes of the instanceNamePrefixes at the given index. */ - public com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index) { + public com.google.protobuf.ByteString + getInstanceNamePrefixesBytes(int index) { return instanceNamePrefixes_.getByteString(index); } /** - * - * *
        * Targets VM instances whose name starts with one of these prefixes.
        * Like labels, this is another way to group VM instances when targeting
@@ -8606,23 +7572,21 @@ public com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index) {
        * 
* * repeated string instance_name_prefixes = 4; - * * @param index The index to set the value at. * @param value The instanceNamePrefixes to set. * @return This builder for chaining. */ - public Builder setInstanceNamePrefixes(int index, java.lang.String value) { + public Builder setInstanceNamePrefixes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceNamePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureInstanceNamePrefixesIsMutable(); instanceNamePrefixes_.set(index, value); onChanged(); return this; } /** - * - * *
        * Targets VM instances whose name starts with one of these prefixes.
        * Like labels, this is another way to group VM instances when targeting
@@ -8631,22 +7595,20 @@ public Builder setInstanceNamePrefixes(int index, java.lang.String value) {
        * 
* * repeated string instance_name_prefixes = 4; - * * @param value The instanceNamePrefixes to add. * @return This builder for chaining. */ - public Builder addInstanceNamePrefixes(java.lang.String value) { + public Builder addInstanceNamePrefixes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceNamePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureInstanceNamePrefixesIsMutable(); instanceNamePrefixes_.add(value); onChanged(); return this; } /** - * - * *
        * Targets VM instances whose name starts with one of these prefixes.
        * Like labels, this is another way to group VM instances when targeting
@@ -8655,19 +7617,18 @@ public Builder addInstanceNamePrefixes(java.lang.String value) {
        * 
* * repeated string instance_name_prefixes = 4; - * * @param values The instanceNamePrefixes to add. * @return This builder for chaining. */ - public Builder addAllInstanceNamePrefixes(java.lang.Iterable values) { + public Builder addAllInstanceNamePrefixes( + java.lang.Iterable values) { ensureInstanceNamePrefixesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceNamePrefixes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instanceNamePrefixes_); onChanged(); return this; } /** - * - * *
        * Targets VM instances whose name starts with one of these prefixes.
        * Like labels, this is another way to group VM instances when targeting
@@ -8676,7 +7637,6 @@ public Builder addAllInstanceNamePrefixes(java.lang.Iterable v
        * 
* * repeated string instance_name_prefixes = 4; - * * @return This builder for chaining. */ public Builder clearInstanceNamePrefixes() { @@ -8686,8 +7646,6 @@ public Builder clearInstanceNamePrefixes() { return this; } /** - * - * *
        * Targets VM instances whose name starts with one of these prefixes.
        * Like labels, this is another way to group VM instances when targeting
@@ -8696,42 +7654,34 @@ public Builder clearInstanceNamePrefixes() {
        * 
* * repeated string instance_name_prefixes = 4; - * * @param value The bytes of the instanceNamePrefixes to add. * @return This builder for chaining. */ - public Builder addInstanceNamePrefixesBytes(com.google.protobuf.ByteString value) { + public Builder addInstanceNamePrefixesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstanceNamePrefixesIsMutable(); instanceNamePrefixes_.add(value); onChanged(); return this; } - private java.util.List - osTypes_ = java.util.Collections.emptyList(); - + private java.util.List osTypes_ = + java.util.Collections.emptyList(); private void ensureOsTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - osTypes_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType>(osTypes_); + osTypes_ = new java.util.ArrayList(osTypes_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType, - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder> - osTypesBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder> osTypesBuilder_; /** - * - * *
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -8740,8 +7690,7 @@ private void ensureOsTypesIsMutable() {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
-      public java.util.List
-          getOsTypesList() {
+      public java.util.List getOsTypesList() {
         if (osTypesBuilder_ == null) {
           return java.util.Collections.unmodifiableList(osTypes_);
         } else {
@@ -8749,8 +7698,6 @@ private void ensureOsTypesIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -8767,8 +7714,6 @@ public int getOsTypesCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -8777,8 +7722,7 @@ public int getOsTypesCount() {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType getOsTypes(
-          int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType getOsTypes(int index) {
         if (osTypesBuilder_ == null) {
           return osTypes_.get(index);
         } else {
@@ -8786,8 +7730,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType getOsTyp
         }
       }
       /**
-       *
-       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -8811,8 +7753,6 @@ public Builder setOsTypes(
         return this;
       }
       /**
-       *
-       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -8822,9 +7762,7 @@ public Builder setOsTypes(
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
       public Builder setOsTypes(
-          int index,
-          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder
-              builderForValue) {
+          int index, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder builderForValue) {
         if (osTypesBuilder_ == null) {
           ensureOsTypesIsMutable();
           osTypes_.set(index, builderForValue.build());
@@ -8835,8 +7773,6 @@ public Builder setOsTypes(
         return this;
       }
       /**
-       *
-       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -8845,8 +7781,7 @@ public Builder setOsTypes(
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
-      public Builder addOsTypes(
-          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType value) {
+      public Builder addOsTypes(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType value) {
         if (osTypesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -8860,8 +7795,6 @@ public Builder addOsTypes(
         return this;
       }
       /**
-       *
-       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -8885,8 +7818,6 @@ public Builder addOsTypes(
         return this;
       }
       /**
-       *
-       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -8896,8 +7827,7 @@ public Builder addOsTypes(
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
       public Builder addOsTypes(
-          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder
-              builderForValue) {
+          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder builderForValue) {
         if (osTypesBuilder_ == null) {
           ensureOsTypesIsMutable();
           osTypes_.add(builderForValue.build());
@@ -8908,8 +7838,6 @@ public Builder addOsTypes(
         return this;
       }
       /**
-       *
-       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -8919,9 +7847,7 @@ public Builder addOsTypes(
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
       public Builder addOsTypes(
-          int index,
-          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder
-              builderForValue) {
+          int index, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder builderForValue) {
         if (osTypesBuilder_ == null) {
           ensureOsTypesIsMutable();
           osTypes_.add(index, builderForValue.build());
@@ -8932,8 +7858,6 @@ public Builder addOsTypes(
         return this;
       }
       /**
-       *
-       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -8943,12 +7867,11 @@ public Builder addOsTypes(
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
       public Builder addAllOsTypes(
-          java.lang.Iterable<
-                  ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType>
-              values) {
+          java.lang.Iterable values) {
         if (osTypesBuilder_ == null) {
           ensureOsTypesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osTypes_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, osTypes_);
           onChanged();
         } else {
           osTypesBuilder_.addAllMessages(values);
@@ -8956,8 +7879,6 @@ public Builder addAllOsTypes(
         return this;
       }
       /**
-       *
-       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -8977,8 +7898,6 @@ public Builder clearOsTypes() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -8998,8 +7917,6 @@ public Builder removeOsTypes(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -9008,13 +7925,11 @@ public Builder removeOsTypes(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder
-          getOsTypesBuilder(int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder getOsTypesBuilder(
+          int index) {
         return getOsTypesFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -9023,17 +7938,14 @@ public Builder removeOsTypes(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder
-          getOsTypesOrBuilder(int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder getOsTypesOrBuilder(
+          int index) {
         if (osTypesBuilder_ == null) {
-          return osTypes_.get(index);
-        } else {
+          return osTypes_.get(index);  } else {
           return osTypesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -9042,9 +7954,8 @@ public Builder removeOsTypes(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
-      public java.util.List<
-              ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder>
-          getOsTypesOrBuilderList() {
+      public java.util.List 
+           getOsTypesOrBuilderList() {
         if (osTypesBuilder_ != null) {
           return osTypesBuilder_.getMessageOrBuilderList();
         } else {
@@ -9052,8 +7963,6 @@ public Builder removeOsTypes(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -9062,16 +7971,11 @@ public Builder removeOsTypes(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder
-          addOsTypesBuilder() {
-        return getOsTypesFieldBuilder()
-            .addBuilder(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType
-                    .getDefaultInstance());
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder addOsTypesBuilder() {
+        return getOsTypesFieldBuilder().addBuilder(
+            com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -9080,17 +7984,12 @@ public Builder removeOsTypes(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder
-          addOsTypesBuilder(int index) {
-        return getOsTypesFieldBuilder()
-            .addBuilder(
-                index,
-                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType
-                    .getDefaultInstance());
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder addOsTypesBuilder(
+          int index) {
+        return getOsTypesFieldBuilder().addBuilder(
+            index, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -9099,29 +7998,24 @@ public Builder removeOsTypes(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
-      public java.util.List<
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder>
-          getOsTypesBuilderList() {
+      public java.util.List 
+           getOsTypesBuilderList() {
         return getOsTypesFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder>
+          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder> 
           getOsTypesFieldBuilder() {
         if (osTypesBuilder_ == null) {
-          osTypesBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType,
-                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder,
-                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder>(
-                  osTypes_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
+          osTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder>(
+                  osTypes_,
+                  ((bitField0_ & 0x00000010) != 0),
+                  getParentForChildren(),
+                  isClean());
           osTypes_ = null;
         }
         return osTypesBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -9134,12 +8028,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.Assignment)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.Assignment)
     private static final com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment();
     }
@@ -9148,16 +8042,16 @@ public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment getDefau
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Assignment parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new Assignment(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Assignment parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new Assignment(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -9172,16 +8066,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface PackageOrBuilder
-      extends
+  public interface PackageOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.Package)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. The name of the package. A package is uniquely identified for conflict
      * validation by checking the package name and the manager(s) that the
@@ -9189,13 +8081,10 @@ public interface PackageOrBuilder
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The name of the package. A package is uniquely identified for conflict
      * validation by checking the package name and the manager(s) that the
@@ -9203,41 +8092,33 @@ public interface PackageOrBuilder
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * The desired_state the agent should maintain for this package. The
      * default is to ensure the package is installed.
      * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 2; - * * @return The enum numeric value on the wire for desiredState. */ int getDesiredStateValue(); /** - * - * *
      * The desired_state the agent should maintain for this package. The
      * default is to ensure the package is installed.
      * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 2; - * * @return The desiredState. */ com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState getDesiredState(); /** - * - * *
      * Type of package manager that can be used to install this package.
      * If a system does not have the package manager, the package is not
@@ -9250,13 +8131,10 @@ public interface PackageOrBuilder
      * 
* * .google.cloud.osconfig.v1beta.Package.Manager manager = 3; - * * @return The enum numeric value on the wire for manager. */ int getManagerValue(); /** - * - * *
      * Type of package manager that can be used to install this package.
      * If a system does not have the package manager, the package is not
@@ -9269,14 +8147,11 @@ public interface PackageOrBuilder
      * 
* * .google.cloud.osconfig.v1beta.Package.Manager manager = 3; - * * @return The manager. */ com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager getManager(); } /** - * - * *
    * Package is a reference to the software package to be installed or removed.
    * The agent on the VM instance uses the system package manager to apply the
@@ -9299,16 +8174,15 @@ public interface PackageOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.Package}
    */
-  public static final class Package extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Package extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.Package)
       PackageOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Package.newBuilder() to construct.
     private Package(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Package() {
       name_ = "";
       desiredState_ = 0;
@@ -9317,15 +8191,16 @@ private Package() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Package();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private Package(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -9344,34 +8219,31 @@ private Package(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                name_ = s;
-                break;
-              }
-            case 16:
-              {
-                int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
 
-                desiredState_ = rawValue;
-                break;
-              }
-            case 24:
-              {
-                int rawValue = input.readEnum();
+              desiredState_ = rawValue;
+              break;
+            }
+            case 24: {
+              int rawValue = input.readEnum();
 
-                manager_ = rawValue;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              manager_ = rawValue;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9379,41 +8251,36 @@ private Package(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies
-          .internal_static_google_cloud_osconfig_v1beta_Package_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Package_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies
-          .internal_static_google_cloud_osconfig_v1beta_Package_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Package_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Package.class,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder.class);
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Package.class, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * Types of package managers that may be used to manage this package.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.Package.Manager} */ - public enum Manager implements com.google.protobuf.ProtocolMessageEnum { + public enum Manager + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * The default behavior is ANY.
        * 
@@ -9422,8 +8289,6 @@ public enum Manager implements com.google.protobuf.ProtocolMessageEnum { */ MANAGER_UNSPECIFIED(0), /** - * - * *
        * Apply this package config using the default system package manager.
        * 
@@ -9432,8 +8297,6 @@ public enum Manager implements com.google.protobuf.ProtocolMessageEnum { */ ANY(1), /** - * - * *
        * Apply this package config only if Apt is available on the system.
        * 
@@ -9442,8 +8305,6 @@ public enum Manager implements com.google.protobuf.ProtocolMessageEnum { */ APT(2), /** - * - * *
        * Apply this package config only if Yum is available on the system.
        * 
@@ -9452,8 +8313,6 @@ public enum Manager implements com.google.protobuf.ProtocolMessageEnum { */ YUM(3), /** - * - * *
        * Apply this package config only if Zypper is available on the system.
        * 
@@ -9462,8 +8321,6 @@ public enum Manager implements com.google.protobuf.ProtocolMessageEnum { */ ZYPPER(4), /** - * - * *
        * Apply this package config only if GooGet is available on the system.
        * 
@@ -9475,8 +8332,6 @@ public enum Manager implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The default behavior is ANY.
        * 
@@ -9485,8 +8340,6 @@ public enum Manager implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MANAGER_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Apply this package config using the default system package manager.
        * 
@@ -9495,8 +8348,6 @@ public enum Manager implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ANY_VALUE = 1; /** - * - * *
        * Apply this package config only if Apt is available on the system.
        * 
@@ -9505,8 +8356,6 @@ public enum Manager implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APT_VALUE = 2; /** - * - * *
        * Apply this package config only if Yum is available on the system.
        * 
@@ -9515,8 +8364,6 @@ public enum Manager implements com.google.protobuf.ProtocolMessageEnum { */ public static final int YUM_VALUE = 3; /** - * - * *
        * Apply this package config only if Zypper is available on the system.
        * 
@@ -9525,8 +8372,6 @@ public enum Manager implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ZYPPER_VALUE = 4; /** - * - * *
        * Apply this package config only if GooGet is available on the system.
        * 
@@ -9535,6 +8380,7 @@ public enum Manager implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOO_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -9559,57 +8405,52 @@ public static Manager valueOf(int value) { */ public static Manager forNumber(int value) { switch (value) { - case 0: - return MANAGER_UNSPECIFIED; - case 1: - return ANY; - case 2: - return APT; - case 3: - return YUM; - case 4: - return ZYPPER; - case 5: - return GOO; - default: - return null; + case 0: return MANAGER_UNSPECIFIED; + case 1: return ANY; + case 2: return APT; + case 3: return YUM; + case 4: return ZYPPER; + case 5: return GOO; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Manager> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Manager findValueByNumber(int number) { + return Manager.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Manager findValueByNumber(int number) { - return Manager.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDescriptor().getEnumTypes().get(0); } private static final Manager[] VALUES = values(); - public static Manager valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Manager valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -9629,8 +8470,6 @@ private Manager(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. The name of the package. A package is uniquely identified for conflict
      * validation by checking the package name and the manager(s) that the
@@ -9638,7 +8477,6 @@ private Manager(int value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -9647,15 +8485,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. The name of the package. A package is uniquely identified for conflict
      * validation by checking the package name and the manager(s) that the
@@ -9663,15 +8500,16 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -9682,48 +8520,35 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESIRED_STATE_FIELD_NUMBER = 2; private int desiredState_; /** - * - * *
      * The desired_state the agent should maintain for this package. The
      * default is to ensure the package is installed.
      * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 2; - * * @return The enum numeric value on the wire for desiredState. */ - @java.lang.Override - public int getDesiredStateValue() { + @java.lang.Override public int getDesiredStateValue() { return desiredState_; } /** - * - * *
      * The desired_state the agent should maintain for this package. The
      * default is to ensure the package is installed.
      * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 2; - * * @return The desiredState. */ - @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState getDesiredState() { + @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState getDesiredState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState result = - com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.valueOf(desiredState_); - return result == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState result = com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.valueOf(desiredState_); + return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.UNRECOGNIZED : result; } public static final int MANAGER_FIELD_NUMBER = 3; private int manager_; /** - * - * *
      * Type of package manager that can be used to install this package.
      * If a system does not have the package manager, the package is not
@@ -9736,16 +8561,12 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState getDesiredSta
      * 
* * .google.cloud.osconfig.v1beta.Package.Manager manager = 3; - * * @return The enum numeric value on the wire for manager. */ - @java.lang.Override - public int getManagerValue() { + @java.lang.Override public int getManagerValue() { return manager_; } /** - * - * *
      * Type of package manager that can be used to install this package.
      * If a system does not have the package manager, the package is not
@@ -9758,21 +8579,15 @@ public int getManagerValue() {
      * 
* * .google.cloud.osconfig.v1beta.Package.Manager manager = 3; - * * @return The manager. */ - @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager getManager() { + @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager getManager() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager result = - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.valueOf(manager_); - return result == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager result = com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.valueOf(manager_); + return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9784,18 +8599,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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 (desiredState_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.DESIRED_STATE_UNSPECIFIED - .getNumber()) { + if (desiredState_ != com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, desiredState_); } - if (manager_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.MANAGER_UNSPECIFIED - .getNumber()) { + if (manager_ != com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.MANAGER_UNSPECIFIED.getNumber()) { output.writeEnum(3, manager_); } unknownFields.writeTo(output); @@ -9810,15 +8622,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (desiredState_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.DESIRED_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, desiredState_); + if (desiredState_ != com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, desiredState_); } - if (manager_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.MANAGER_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, manager_); + if (manager_ != com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.MANAGER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, manager_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -9828,15 +8638,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.Package)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.Package other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.Package) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.Package other = (com.google.cloud.osconfig.v1beta.GuestPolicies.Package) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (desiredState_ != other.desiredState_) return false; if (manager_ != other.manager_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -9862,94 +8672,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package 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.osconfig.v1beta.GuestPolicies.Package parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.Package prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.Package prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9959,8 +8762,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Package is a reference to the software package to be installed or removed.
      * The agent on the VM instance uses the system package manager to apply the
@@ -9983,24 +8784,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.Package}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.Package)
         com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_Package_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Package_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_Package_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Package_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.Package.class,
-                com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.Package.class, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.Package.newBuilder()
@@ -10008,15 +8806,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -10030,9 +8829,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_Package_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Package_descriptor;
       }
 
       @java.lang.Override
@@ -10051,8 +8850,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.GuestPolicies.Package buildPartial() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.Package result =
-            new com.google.cloud.osconfig.v1beta.GuestPolicies.Package(this);
+        com.google.cloud.osconfig.v1beta.GuestPolicies.Package result = new com.google.cloud.osconfig.v1beta.GuestPolicies.Package(this);
         result.name_ = name_;
         result.desiredState_ = desiredState_;
         result.manager_ = manager_;
@@ -10064,41 +8862,38 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.GuestPolicies.Package) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.Package) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.Package)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -10106,8 +8901,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Package other) {
-        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance()) return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -10137,8 +8931,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.GuestPolicies.Package) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.Package) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -10150,8 +8943,6 @@ public Builder mergeFrom(
 
       private java.lang.Object name_ = "";
       /**
-       *
-       *
        * 
        * Required. The name of the package. A package is uniquely identified for conflict
        * validation by checking the package name and the manager(s) that the
@@ -10159,13 +8950,13 @@ public Builder mergeFrom(
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -10174,8 +8965,6 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The name of the package. A package is uniquely identified for conflict
        * validation by checking the package name and the manager(s) that the
@@ -10183,14 +8972,15 @@ public java.lang.String getName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -10198,8 +8988,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The name of the package. A package is uniquely identified for conflict
        * validation by checking the package name and the manager(s) that the
@@ -10207,22 +8995,20 @@ public com.google.protobuf.ByteString getNameBytes() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. The name of the package. A package is uniquely identified for conflict
        * validation by checking the package name and the manager(s) that the
@@ -10230,18 +9016,15 @@ public Builder setName(java.lang.String value) {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. The name of the package. A package is uniquely identified for conflict
        * validation by checking the package name and the manager(s) that the
@@ -10249,16 +9032,16 @@ public Builder clearName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -10266,98 +9049,78 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int desiredState_ = 0; /** - * - * *
        * The desired_state the agent should maintain for this package. The
        * default is to ensure the package is installed.
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 2; - * * @return The enum numeric value on the wire for desiredState. */ - @java.lang.Override - public int getDesiredStateValue() { + @java.lang.Override public int getDesiredStateValue() { return desiredState_; } /** - * - * *
        * The desired_state the agent should maintain for this package. The
        * default is to ensure the package is installed.
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 2; - * * @param value The enum numeric value on the wire for desiredState to set. * @return This builder for chaining. */ public Builder setDesiredStateValue(int value) { - + desiredState_ = value; onChanged(); return this; } /** - * - * *
        * The desired_state the agent should maintain for this package. The
        * default is to ensure the package is installed.
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 2; - * * @return The desiredState. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState getDesiredState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState result = - com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.valueOf(desiredState_); - return result == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState result = com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.valueOf(desiredState_); + return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.UNRECOGNIZED : result; } /** - * - * *
        * The desired_state the agent should maintain for this package. The
        * default is to ensure the package is installed.
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 2; - * * @param value The desiredState to set. * @return This builder for chaining. */ - public Builder setDesiredState( - com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState value) { + public Builder setDesiredState(com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState value) { if (value == null) { throw new NullPointerException(); } - + desiredState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The desired_state the agent should maintain for this package. The
        * default is to ensure the package is installed.
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 2; - * * @return This builder for chaining. */ public Builder clearDesiredState() { - + desiredState_ = 0; onChanged(); return this; @@ -10365,8 +9128,6 @@ public Builder clearDesiredState() { private int manager_ = 0; /** - * - * *
        * Type of package manager that can be used to install this package.
        * If a system does not have the package manager, the package is not
@@ -10379,16 +9140,12 @@ public Builder clearDesiredState() {
        * 
* * .google.cloud.osconfig.v1beta.Package.Manager manager = 3; - * * @return The enum numeric value on the wire for manager. */ - @java.lang.Override - public int getManagerValue() { + @java.lang.Override public int getManagerValue() { return manager_; } /** - * - * *
        * Type of package manager that can be used to install this package.
        * If a system does not have the package manager, the package is not
@@ -10401,19 +9158,16 @@ public int getManagerValue() {
        * 
* * .google.cloud.osconfig.v1beta.Package.Manager manager = 3; - * * @param value The enum numeric value on the wire for manager to set. * @return This builder for chaining. */ public Builder setManagerValue(int value) { - + manager_ = value; onChanged(); return this; } /** - * - * *
        * Type of package manager that can be used to install this package.
        * If a system does not have the package manager, the package is not
@@ -10426,21 +9180,15 @@ public Builder setManagerValue(int value) {
        * 
* * .google.cloud.osconfig.v1beta.Package.Manager manager = 3; - * * @return The manager. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager getManager() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager result = - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.valueOf(manager_); - return result == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager result = com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.valueOf(manager_); + return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.UNRECOGNIZED : result; } /** - * - * *
        * Type of package manager that can be used to install this package.
        * If a system does not have the package manager, the package is not
@@ -10453,23 +9201,19 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager getManager
        * 
* * .google.cloud.osconfig.v1beta.Package.Manager manager = 3; - * * @param value The manager to set. * @return This builder for chaining. */ - public Builder setManager( - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager value) { + public Builder setManager(com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager value) { if (value == null) { throw new NullPointerException(); } - + manager_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Type of package manager that can be used to install this package.
        * If a system does not have the package manager, the package is not
@@ -10482,16 +9226,14 @@ public Builder setManager(
        * 
* * .google.cloud.osconfig.v1beta.Package.Manager manager = 3; - * * @return This builder for chaining. */ public Builder clearManager() { - + manager_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10504,12 +9246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.Package) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.Package) private static final com.google.cloud.osconfig.v1beta.GuestPolicies.Package DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.Package(); } @@ -10518,16 +9260,16 @@ public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Package parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Package(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Package parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Package(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10542,142 +9284,114 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.GuestPolicies.Package getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AptRepositoryOrBuilder - extends + public interface AptRepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.AptRepository) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Type of archive files in this repository. The default behavior is DEB.
      * 
* * .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1; - * * @return The enum numeric value on the wire for archiveType. */ int getArchiveTypeValue(); /** - * - * *
      * Type of archive files in this repository. The default behavior is DEB.
      * 
* * .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1; - * * @return The archiveType. */ com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType getArchiveType(); /** - * - * *
      * Required. URI for this repository.
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
      * Required. URI for this repository.
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
      * Required. Distribution of this repository.
      * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The distribution. */ java.lang.String getDistribution(); /** - * - * *
      * Required. Distribution of this repository.
      * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for distribution. */ - com.google.protobuf.ByteString getDistributionBytes(); + com.google.protobuf.ByteString + getDistributionBytes(); /** - * - * *
      * Required. List of components for this repository. Must contain at least one item.
      * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the components. */ - java.util.List getComponentsList(); + java.util.List + getComponentsList(); /** - * - * *
      * Required. List of components for this repository. Must contain at least one item.
      * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of components. */ int getComponentsCount(); /** - * - * *
      * Required. List of components for this repository. Must contain at least one item.
      * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The components at the given index. */ java.lang.String getComponents(int index); /** - * - * *
      * Required. List of components for this repository. Must contain at least one item.
      * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - com.google.protobuf.ByteString getComponentsBytes(int index); + com.google.protobuf.ByteString + getComponentsBytes(int index); /** - * - * *
      * URI of the key file for this repository. The agent maintains
      * a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
@@ -10685,13 +9399,10 @@ public interface AptRepositoryOrBuilder
      * 
* * string gpg_key = 5; - * * @return The gpgKey. */ java.lang.String getGpgKey(); /** - * - * *
      * URI of the key file for this repository. The agent maintains
      * a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
@@ -10699,14 +9410,12 @@ public interface AptRepositoryOrBuilder
      * 
* * string gpg_key = 5; - * * @return The bytes for gpgKey. */ - com.google.protobuf.ByteString getGpgKeyBytes(); + com.google.protobuf.ByteString + getGpgKeyBytes(); } /** - * - * *
    * Represents a single Apt package repository. This repository is added to
    * a repo file that is stored at
@@ -10715,16 +9424,15 @@ public interface AptRepositoryOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.AptRepository}
    */
-  public static final class AptRepository extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class AptRepository extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.AptRepository)
       AptRepositoryOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use AptRepository.newBuilder() to construct.
     private AptRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private AptRepository() {
       archiveType_ = 0;
       uri_ = "";
@@ -10735,15 +9443,16 @@ private AptRepository() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new AptRepository();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private AptRepository(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -10763,51 +9472,46 @@ private AptRepository(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
+              int rawValue = input.readEnum();
 
-                archiveType_ = rawValue;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              archiveType_ = rawValue;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                uri_ = s;
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              uri_ = s;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                distribution_ = s;
-                break;
-              }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  components_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                components_.add(s);
-                break;
+              distribution_ = s;
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                components_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              components_.add(s);
+              break;
+            }
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                gpgKey_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              gpgKey_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -10815,7 +9519,8 @@ private AptRepository(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           components_ = components_.getUnmodifiableView();
@@ -10824,35 +9529,29 @@ private AptRepository(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies
-          .internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies
-          .internal_static_google_cloud_osconfig_v1beta_AptRepository_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_AptRepository_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.class,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder.class);
+              com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * Type of archive.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.AptRepository.ArchiveType} */ - public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { + public enum ArchiveType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified.
        * 
@@ -10861,8 +9560,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ ARCHIVE_TYPE_UNSPECIFIED(0), /** - * - * *
        * DEB indicates that the archive contains binary files.
        * 
@@ -10871,8 +9568,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ DEB(1), /** - * - * *
        * DEB_SRC indicates that the archive contains source files.
        * 
@@ -10884,8 +9579,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Unspecified.
        * 
@@ -10894,8 +9587,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARCHIVE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * DEB indicates that the archive contains binary files.
        * 
@@ -10904,8 +9595,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEB_VALUE = 1; /** - * - * *
        * DEB_SRC indicates that the archive contains source files.
        * 
@@ -10914,6 +9603,7 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEB_SRC_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -10938,51 +9628,49 @@ public static ArchiveType valueOf(int value) { */ public static ArchiveType forNumber(int value) { switch (value) { - case 0: - return ARCHIVE_TYPE_UNSPECIFIED; - case 1: - return DEB; - case 2: - return DEB_SRC; - default: - return null; + case 0: return ARCHIVE_TYPE_UNSPECIFIED; + case 1: return DEB; + case 2: return DEB_SRC; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ArchiveType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ArchiveType findValueByNumber(int number) { + return ArchiveType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ArchiveType findValueByNumber(int number) { - return ArchiveType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDescriptor().getEnumTypes().get(0); } private static final ArchiveType[] VALUES = values(); - public static ArchiveType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ArchiveType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -11002,54 +9690,38 @@ private ArchiveType(int value) { public static final int ARCHIVE_TYPE_FIELD_NUMBER = 1; private int archiveType_; /** - * - * *
      * Type of archive files in this repository. The default behavior is DEB.
      * 
* * .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1; - * * @return The enum numeric value on the wire for archiveType. */ - @java.lang.Override - public int getArchiveTypeValue() { + @java.lang.Override public int getArchiveTypeValue() { return archiveType_; } /** - * - * *
      * Type of archive files in this repository. The default behavior is DEB.
      * 
* * .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1; - * * @return The archiveType. */ - @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType - getArchiveType() { + @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType getArchiveType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType result = - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.valueOf( - archiveType_); - return result == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType result = com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.valueOf(archiveType_); + return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.UNRECOGNIZED : result; } public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** - * - * *
      * Required. URI for this repository.
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ @java.lang.Override @@ -11058,29 +9730,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
      * Required. URI for this repository.
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -11091,14 +9763,11 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int DISTRIBUTION_FIELD_NUMBER = 3; private volatile java.lang.Object distribution_; /** - * - * *
      * Required. Distribution of this repository.
      * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The distribution. */ @java.lang.Override @@ -11107,29 +9776,29 @@ public java.lang.String getDistribution() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; } } /** - * - * *
      * Required. Distribution of this repository.
      * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for distribution. */ @java.lang.Override - public com.google.protobuf.ByteString getDistributionBytes() { + public com.google.protobuf.ByteString + getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); distribution_ = b; return b; } else { @@ -11140,42 +9809,34 @@ public com.google.protobuf.ByteString getDistributionBytes() { public static final int COMPONENTS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList components_; /** - * - * *
      * Required. List of components for this repository. Must contain at least one item.
      * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the components. */ - public com.google.protobuf.ProtocolStringList getComponentsList() { + public com.google.protobuf.ProtocolStringList + getComponentsList() { return components_; } /** - * - * *
      * Required. List of components for this repository. Must contain at least one item.
      * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of components. */ public int getComponentsCount() { return components_.size(); } /** - * - * *
      * Required. List of components for this repository. Must contain at least one item.
      * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The components at the given index. */ @@ -11183,26 +9844,22 @@ public java.lang.String getComponents(int index) { return components_.get(index); } /** - * - * *
      * Required. List of components for this repository. Must contain at least one item.
      * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - public com.google.protobuf.ByteString getComponentsBytes(int index) { + public com.google.protobuf.ByteString + getComponentsBytes(int index) { return components_.getByteString(index); } public static final int GPG_KEY_FIELD_NUMBER = 5; private volatile java.lang.Object gpgKey_; /** - * - * *
      * URI of the key file for this repository. The agent maintains
      * a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
@@ -11210,7 +9867,6 @@ public com.google.protobuf.ByteString getComponentsBytes(int index) {
      * 
* * string gpg_key = 5; - * * @return The gpgKey. */ @java.lang.Override @@ -11219,15 +9875,14 @@ public java.lang.String getGpgKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpgKey_ = s; return s; } } /** - * - * *
      * URI of the key file for this repository. The agent maintains
      * a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
@@ -11235,15 +9890,16 @@ public java.lang.String getGpgKey() {
      * 
* * string gpg_key = 5; - * * @return The bytes for gpgKey. */ @java.lang.Override - public com.google.protobuf.ByteString getGpgKeyBytes() { + public com.google.protobuf.ByteString + getGpgKeyBytes() { java.lang.Object ref = gpgKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gpgKey_ = b; return b; } else { @@ -11252,7 +9908,6 @@ public com.google.protobuf.ByteString getGpgKeyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11264,11 +9919,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (archiveType_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType - .ARCHIVE_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (archiveType_ != com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, archiveType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { @@ -11292,11 +9945,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (archiveType_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType - .ARCHIVE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, archiveType_); + if (archiveType_ != com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, archiveType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_); @@ -11323,19 +9974,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository other = (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) obj; if (archiveType_ != other.archiveType_) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getDistribution().equals(other.getDistribution())) return false; - if (!getComponentsList().equals(other.getComponentsList())) return false; - if (!getGpgKey().equals(other.getGpgKey())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getDistribution() + .equals(other.getDistribution())) return false; + if (!getComponentsList() + .equals(other.getComponentsList())) return false; + if (!getGpgKey() + .equals(other.getGpgKey())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11365,94 +10019,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository 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.osconfig.v1beta.GuestPolicies.AptRepository parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11462,8 +10109,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents a single Apt package repository. This repository is added to
      * a repo file that is stored at
@@ -11472,24 +10117,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.AptRepository}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.AptRepository)
         com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_AptRepository_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_AptRepository_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.class,
-                com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.newBuilder()
@@ -11497,15 +10139,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -11523,14 +10166,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDefaultInstance();
       }
 
@@ -11545,8 +10187,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository buildPartial() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository result =
-            new com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository(this);
+        com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository result = new com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository(this);
         int from_bitField0_ = bitField0_;
         result.archiveType_ = archiveType_;
         result.uri_ = uri_;
@@ -11565,41 +10206,38 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository buildPartial
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.GuestPolicies.AptRepository) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -11607,9 +10245,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository other) {
-        if (other
-            == com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDefaultInstance()) return this;
         if (other.archiveType_ != 0) {
           setArchiveTypeValue(other.getArchiveTypeValue());
         }
@@ -11654,9 +10290,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -11665,100 +10299,77 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private int archiveType_ = 0;
       /**
-       *
-       *
        * 
        * Type of archive files in this repository. The default behavior is DEB.
        * 
* * .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1; - * * @return The enum numeric value on the wire for archiveType. */ - @java.lang.Override - public int getArchiveTypeValue() { + @java.lang.Override public int getArchiveTypeValue() { return archiveType_; } /** - * - * *
        * Type of archive files in this repository. The default behavior is DEB.
        * 
* * .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1; - * * @param value The enum numeric value on the wire for archiveType to set. * @return This builder for chaining. */ public Builder setArchiveTypeValue(int value) { - + archiveType_ = value; onChanged(); return this; } /** - * - * *
        * Type of archive files in this repository. The default behavior is DEB.
        * 
* * .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1; - * * @return The archiveType. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType - getArchiveType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType getArchiveType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType result = - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.valueOf( - archiveType_); - return result == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType result = com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.valueOf(archiveType_); + return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.UNRECOGNIZED : result; } /** - * - * *
        * Type of archive files in this repository. The default behavior is DEB.
        * 
* * .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1; - * * @param value The archiveType to set. * @return This builder for chaining. */ - public Builder setArchiveType( - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType value) { + public Builder setArchiveType(com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType value) { if (value == null) { throw new NullPointerException(); } - + archiveType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Type of archive files in this repository. The default behavior is DEB.
        * 
* * .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1; - * * @return This builder for chaining. */ public Builder clearArchiveType() { - + archiveType_ = 0; onChanged(); return this; @@ -11766,20 +10377,18 @@ public Builder clearArchiveType() { private java.lang.Object uri_ = ""; /** - * - * *
        * Required. URI for this repository.
        * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -11788,21 +10397,20 @@ public java.lang.String getUri() { } } /** - * - * *
        * Required. URI for this repository.
        * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -11810,61 +10418,54 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
        * Required. URI for this repository.
        * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
        * Required. URI for this repository.
        * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
        * Required. URI for this repository.
        * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -11872,20 +10473,18 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object distribution_ = ""; /** - * - * *
        * Required. Distribution of this repository.
        * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The distribution. */ public java.lang.String getDistribution() { java.lang.Object ref = distribution_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; @@ -11894,21 +10493,20 @@ public java.lang.String getDistribution() { } } /** - * - * *
        * Required. Distribution of this repository.
        * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for distribution. */ - public com.google.protobuf.ByteString getDistributionBytes() { + public com.google.protobuf.ByteString + getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); distribution_ = b; return b; } else { @@ -11916,112 +10514,95 @@ public com.google.protobuf.ByteString getDistributionBytes() { } } /** - * - * *
        * Required. Distribution of this repository.
        * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The distribution to set. * @return This builder for chaining. */ - public Builder setDistribution(java.lang.String value) { + public Builder setDistribution( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + distribution_ = value; onChanged(); return this; } /** - * - * *
        * Required. Distribution of this repository.
        * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDistribution() { - + distribution_ = getDefaultInstance().getDistribution(); onChanged(); return this; } /** - * - * *
        * Required. Distribution of this repository.
        * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for distribution to set. * @return This builder for chaining. */ - public Builder setDistributionBytes(com.google.protobuf.ByteString value) { + public Builder setDistributionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + distribution_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList components_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList components_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureComponentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { components_ = new com.google.protobuf.LazyStringArrayList(components_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * Required. List of components for this repository. Must contain at least one item.
        * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the components. */ - public com.google.protobuf.ProtocolStringList getComponentsList() { + public com.google.protobuf.ProtocolStringList + getComponentsList() { return components_.getUnmodifiableView(); } /** - * - * *
        * Required. List of components for this repository. Must contain at least one item.
        * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of components. */ public int getComponentsCount() { return components_.size(); } /** - * - * *
        * Required. List of components for this repository. Must contain at least one item.
        * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The components at the given index. */ @@ -12029,90 +10610,80 @@ public java.lang.String getComponents(int index) { return components_.get(index); } /** - * - * *
        * Required. List of components for this repository. Must contain at least one item.
        * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - public com.google.protobuf.ByteString getComponentsBytes(int index) { + public com.google.protobuf.ByteString + getComponentsBytes(int index) { return components_.getByteString(index); } /** - * - * *
        * Required. List of components for this repository. Must contain at least one item.
        * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The components to set. * @return This builder for chaining. */ - public Builder setComponents(int index, java.lang.String value) { + public Builder setComponents( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureComponentsIsMutable(); + throw new NullPointerException(); + } + ensureComponentsIsMutable(); components_.set(index, value); onChanged(); return this; } /** - * - * *
        * Required. List of components for this repository. Must contain at least one item.
        * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The components to add. * @return This builder for chaining. */ - public Builder addComponents(java.lang.String value) { + public Builder addComponents( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureComponentsIsMutable(); + throw new NullPointerException(); + } + ensureComponentsIsMutable(); components_.add(value); onChanged(); return this; } /** - * - * *
        * Required. List of components for this repository. Must contain at least one item.
        * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The components to add. * @return This builder for chaining. */ - public Builder addAllComponents(java.lang.Iterable values) { + public Builder addAllComponents( + java.lang.Iterable values) { ensureComponentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, components_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, components_); onChanged(); return this; } /** - * - * *
        * Required. List of components for this repository. Must contain at least one item.
        * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearComponents() { @@ -12122,22 +10693,20 @@ public Builder clearComponents() { return this; } /** - * - * *
        * Required. List of components for this repository. Must contain at least one item.
        * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the components to add. * @return This builder for chaining. */ - public Builder addComponentsBytes(com.google.protobuf.ByteString value) { + public Builder addComponentsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureComponentsIsMutable(); components_.add(value); onChanged(); @@ -12146,8 +10715,6 @@ public Builder addComponentsBytes(com.google.protobuf.ByteString value) { private java.lang.Object gpgKey_ = ""; /** - * - * *
        * URI of the key file for this repository. The agent maintains
        * a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
@@ -12155,13 +10722,13 @@ public Builder addComponentsBytes(com.google.protobuf.ByteString value) {
        * 
* * string gpg_key = 5; - * * @return The gpgKey. */ public java.lang.String getGpgKey() { java.lang.Object ref = gpgKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpgKey_ = s; return s; @@ -12170,8 +10737,6 @@ public java.lang.String getGpgKey() { } } /** - * - * *
        * URI of the key file for this repository. The agent maintains
        * a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
@@ -12179,14 +10744,15 @@ public java.lang.String getGpgKey() {
        * 
* * string gpg_key = 5; - * * @return The bytes for gpgKey. */ - public com.google.protobuf.ByteString getGpgKeyBytes() { + public com.google.protobuf.ByteString + getGpgKeyBytes() { java.lang.Object ref = gpgKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gpgKey_ = b; return b; } else { @@ -12194,8 +10760,6 @@ public com.google.protobuf.ByteString getGpgKeyBytes() { } } /** - * - * *
        * URI of the key file for this repository. The agent maintains
        * a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
@@ -12203,22 +10767,20 @@ public com.google.protobuf.ByteString getGpgKeyBytes() {
        * 
* * string gpg_key = 5; - * * @param value The gpgKey to set. * @return This builder for chaining. */ - public Builder setGpgKey(java.lang.String value) { + public Builder setGpgKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gpgKey_ = value; onChanged(); return this; } /** - * - * *
        * URI of the key file for this repository. The agent maintains
        * a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
@@ -12226,18 +10788,15 @@ public Builder setGpgKey(java.lang.String value) {
        * 
* * string gpg_key = 5; - * * @return This builder for chaining. */ public Builder clearGpgKey() { - + gpgKey_ = getDefaultInstance().getGpgKey(); onChanged(); return this; } /** - * - * *
        * URI of the key file for this repository. The agent maintains
        * a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
@@ -12245,21 +10804,20 @@ public Builder clearGpgKey() {
        * 
* * string gpg_key = 5; - * * @param value The bytes for gpgKey to set. * @return This builder for chaining. */ - public Builder setGpgKeyBytes(com.google.protobuf.ByteString value) { + public Builder setGpgKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gpgKey_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12272,32 +10830,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.AptRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.AptRepository) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12309,20 +10865,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface YumRepositoryOrBuilder - extends + public interface YumRepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.YumRepository) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. A one word, unique name for this repository. This is
      * the `repo id` in the Yum config file and also the `display_name` if
@@ -12331,13 +10884,10 @@ public interface YumRepositoryOrBuilder
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ java.lang.String getId(); /** - * - * *
      * Required. A one word, unique name for this repository. This is
      * the `repo id` in the Yum config file and also the `display_name` if
@@ -12346,115 +10896,93 @@ public interface YumRepositoryOrBuilder
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
      * The display name of the repository.
      * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
      * The display name of the repository.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
      * Required. The location of the repository directory.
      * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The baseUrl. */ java.lang.String getBaseUrl(); /** - * - * *
      * Required. The location of the repository directory.
      * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for baseUrl. */ - com.google.protobuf.ByteString getBaseUrlBytes(); + com.google.protobuf.ByteString + getBaseUrlBytes(); /** - * - * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; - * * @return A list containing the gpgKeys. */ - java.util.List getGpgKeysList(); + java.util.List + getGpgKeysList(); /** - * - * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; - * * @return The count of gpgKeys. */ int getGpgKeysCount(); /** - * - * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; - * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ java.lang.String getGpgKeys(int index); /** - * - * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; - * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - com.google.protobuf.ByteString getGpgKeysBytes(int index); + com.google.protobuf.ByteString + getGpgKeysBytes(int index); } /** - * - * *
    * Represents a single Yum package repository. This repository is added to a
    * repo file that is stored at `/etc/yum.repos.d/google_osconfig.repo`.
@@ -12462,16 +10990,15 @@ public interface YumRepositoryOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.YumRepository}
    */
-  public static final class YumRepository extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class YumRepository extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.YumRepository)
       YumRepositoryOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use YumRepository.newBuilder() to construct.
     private YumRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private YumRepository() {
       id_ = "";
       displayName_ = "";
@@ -12481,15 +11008,16 @@ private YumRepository() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new YumRepository();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private YumRepository(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -12509,44 +11037,40 @@ private YumRepository(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                id_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              id_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                displayName_ = s;
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              displayName_ = s;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                baseUrl_ = s;
-                break;
-              }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  gpgKeys_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                gpgKeys_.add(s);
-                break;
+              baseUrl_ = s;
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                gpgKeys_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              gpgKeys_.add(s);
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -12554,7 +11078,8 @@ private YumRepository(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           gpgKeys_ = gpgKeys_.getUnmodifiableView();
@@ -12563,27 +11088,22 @@ private YumRepository(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies
-          .internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies
-          .internal_static_google_cloud_osconfig_v1beta_YumRepository_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_YumRepository_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.class,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder.class);
+              com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder.class);
     }
 
     public static final int ID_FIELD_NUMBER = 1;
     private volatile java.lang.Object id_;
     /**
-     *
-     *
      * 
      * Required. A one word, unique name for this repository. This is
      * the `repo id` in the Yum config file and also the `display_name` if
@@ -12592,7 +11112,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ @java.lang.Override @@ -12601,15 +11120,14 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
      * Required. A one word, unique name for this repository. This is
      * the `repo id` in the Yum config file and also the `display_name` if
@@ -12618,15 +11136,16 @@ public java.lang.String getId() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -12637,14 +11156,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
      * The display name of the repository.
      * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -12653,29 +11169,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
      * The display name of the repository.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -12686,14 +11202,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int BASE_URL_FIELD_NUMBER = 3; private volatile java.lang.Object baseUrl_; /** - * - * *
      * Required. The location of the repository directory.
      * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The baseUrl. */ @java.lang.Override @@ -12702,29 +11215,29 @@ public java.lang.String getBaseUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; } } /** - * - * *
      * Required. The location of the repository directory.
      * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for baseUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getBaseUrlBytes() { + public com.google.protobuf.ByteString + getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -12735,42 +11248,34 @@ public com.google.protobuf.ByteString getBaseUrlBytes() { public static final int GPG_KEYS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList gpgKeys_; /** - * - * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; - * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList getGpgKeysList() { + public com.google.protobuf.ProtocolStringList + getGpgKeysList() { return gpgKeys_; } /** - * - * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; - * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** - * - * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; - * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -12778,23 +11283,20 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** - * - * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; - * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString + getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12806,7 +11308,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -12853,18 +11356,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository other = (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) obj; - if (!getId().equals(other.getId())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getBaseUrl().equals(other.getBaseUrl())) return false; - if (!getGpgKeysList().equals(other.getGpgKeysList())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getBaseUrl() + .equals(other.getBaseUrl())) return false; + if (!getGpgKeysList() + .equals(other.getGpgKeysList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -12892,94 +11398,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository 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.osconfig.v1beta.GuestPolicies.YumRepository parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -12989,8 +11488,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents a single Yum package repository. This repository is added to a
      * repo file that is stored at `/etc/yum.repos.d/google_osconfig.repo`.
@@ -12998,24 +11495,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.YumRepository}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.YumRepository)
         com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_YumRepository_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_YumRepository_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.class,
-                com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.newBuilder()
@@ -13023,15 +11517,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -13047,14 +11542,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.getDefaultInstance();
       }
 
@@ -13069,8 +11563,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository buildPartial() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository result =
-            new com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository(this);
+        com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository result = new com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository(this);
         int from_bitField0_ = bitField0_;
         result.id_ = id_;
         result.displayName_ = displayName_;
@@ -13088,41 +11581,38 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository buildPartial
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.GuestPolicies.YumRepository) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -13130,9 +11620,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository other) {
-        if (other
-            == com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.getDefaultInstance()) return this;
         if (!other.getId().isEmpty()) {
           id_ = other.id_;
           onChanged();
@@ -13174,9 +11662,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -13185,13 +11671,10 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object id_ = "";
       /**
-       *
-       *
        * 
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the Yum config file and also the `display_name` if
@@ -13200,13 +11683,13 @@ public Builder mergeFrom(
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -13215,8 +11698,6 @@ public java.lang.String getId() { } } /** - * - * *
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the Yum config file and also the `display_name` if
@@ -13225,14 +11706,15 @@ public java.lang.String getId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -13240,8 +11722,6 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the Yum config file and also the `display_name` if
@@ -13250,22 +11730,20 @@ public com.google.protobuf.ByteString getIdBytes() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the Yum config file and also the `display_name` if
@@ -13274,18 +11752,15 @@ public Builder setId(java.lang.String value) {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the Yum config file and also the `display_name` if
@@ -13294,16 +11769,16 @@ public Builder clearId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -13311,20 +11786,18 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
        * The display name of the repository.
        * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -13333,21 +11806,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
        * The display name of the repository.
        * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -13355,61 +11827,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
        * The display name of the repository.
        * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
        * The display name of the repository.
        * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
        * The display name of the repository.
        * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -13417,20 +11882,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object baseUrl_ = ""; /** - * - * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The baseUrl. */ public java.lang.String getBaseUrl() { java.lang.Object ref = baseUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; @@ -13439,21 +11902,20 @@ public java.lang.String getBaseUrl() { } } /** - * - * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for baseUrl. */ - public com.google.protobuf.ByteString getBaseUrlBytes() { + public com.google.protobuf.ByteString + getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -13461,112 +11923,95 @@ public com.google.protobuf.ByteString getBaseUrlBytes() { } } /** - * - * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrl(java.lang.String value) { + public Builder setBaseUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + baseUrl_ = value; onChanged(); return this; } /** - * - * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBaseUrl() { - + baseUrl_ = getDefaultInstance().getBaseUrl(); onChanged(); return this; } /** - * - * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrlBytes(com.google.protobuf.ByteString value) { + public Builder setBaseUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + baseUrl_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList gpgKeys_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList gpgKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureGpgKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { gpgKeys_ = new com.google.protobuf.LazyStringArrayList(gpgKeys_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; - * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList getGpgKeysList() { + public com.google.protobuf.ProtocolStringList + getGpgKeysList() { return gpgKeys_.getUnmodifiableView(); } /** - * - * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; - * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** - * - * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; - * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -13574,90 +12019,80 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** - * - * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; - * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString + getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } /** - * - * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; - * * @param index The index to set the value at. * @param value The gpgKeys to set. * @return This builder for chaining. */ - public Builder setGpgKeys(int index, java.lang.String value) { + public Builder setGpgKeys( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.set(index, value); onChanged(); return this; } /** - * - * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; - * * @param value The gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeys(java.lang.String value) { + public Builder addGpgKeys( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } /** - * - * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; - * * @param values The gpgKeys to add. * @return This builder for chaining. */ - public Builder addAllGpgKeys(java.lang.Iterable values) { + public Builder addAllGpgKeys( + java.lang.Iterable values) { ensureGpgKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, gpgKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, gpgKeys_); onChanged(); return this; } /** - * - * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; - * * @return This builder for chaining. */ public Builder clearGpgKeys() { @@ -13667,28 +12102,25 @@ public Builder clearGpgKeys() { return this; } /** - * - * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; - * * @param value The bytes of the gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeysBytes(com.google.protobuf.ByteString value) { + public Builder addGpgKeysBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13701,32 +12133,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.YumRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.YumRepository) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13738,20 +12168,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ZypperRepositoryOrBuilder - extends + public interface ZypperRepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ZypperRepository) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. A one word, unique name for this repository. This is
      * the `repo id` in the zypper config file and also the `display_name` if
@@ -13760,13 +12187,10 @@ public interface ZypperRepositoryOrBuilder
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ java.lang.String getId(); /** - * - * *
      * Required. A one word, unique name for this repository. This is
      * the `repo id` in the zypper config file and also the `display_name` if
@@ -13775,115 +12199,93 @@ public interface ZypperRepositoryOrBuilder
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
      * The display name of the repository.
      * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
      * The display name of the repository.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
      * Required. The location of the repository directory.
      * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The baseUrl. */ java.lang.String getBaseUrl(); /** - * - * *
      * Required. The location of the repository directory.
      * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for baseUrl. */ - com.google.protobuf.ByteString getBaseUrlBytes(); + com.google.protobuf.ByteString + getBaseUrlBytes(); /** - * - * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; - * * @return A list containing the gpgKeys. */ - java.util.List getGpgKeysList(); + java.util.List + getGpgKeysList(); /** - * - * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; - * * @return The count of gpgKeys. */ int getGpgKeysCount(); /** - * - * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; - * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ java.lang.String getGpgKeys(int index); /** - * - * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; - * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - com.google.protobuf.ByteString getGpgKeysBytes(int index); + com.google.protobuf.ByteString + getGpgKeysBytes(int index); } /** - * - * *
    * Represents a single Zypper package repository. This repository is added to a
    * repo file that is stored at `/etc/zypp/repos.d/google_osconfig.repo`.
@@ -13891,16 +12293,15 @@ public interface ZypperRepositoryOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.ZypperRepository}
    */
-  public static final class ZypperRepository extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ZypperRepository extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ZypperRepository)
       ZypperRepositoryOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ZypperRepository.newBuilder() to construct.
     private ZypperRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ZypperRepository() {
       id_ = "";
       displayName_ = "";
@@ -13910,15 +12311,16 @@ private ZypperRepository() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ZypperRepository();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private ZypperRepository(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -13938,44 +12340,40 @@ private ZypperRepository(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                id_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              id_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                displayName_ = s;
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              displayName_ = s;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                baseUrl_ = s;
-                break;
-              }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  gpgKeys_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                gpgKeys_.add(s);
-                break;
+              baseUrl_ = s;
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                gpgKeys_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              gpgKeys_.add(s);
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -13983,7 +12381,8 @@ private ZypperRepository(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           gpgKeys_ = gpgKeys_.getUnmodifiableView();
@@ -13992,27 +12391,22 @@ private ZypperRepository(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies
-          .internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies
-          .internal_static_google_cloud_osconfig_v1beta_ZypperRepository_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ZypperRepository_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.class,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder.class);
+              com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder.class);
     }
 
     public static final int ID_FIELD_NUMBER = 1;
     private volatile java.lang.Object id_;
     /**
-     *
-     *
      * 
      * Required. A one word, unique name for this repository. This is
      * the `repo id` in the zypper config file and also the `display_name` if
@@ -14021,7 +12415,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ @java.lang.Override @@ -14030,15 +12423,14 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
      * Required. A one word, unique name for this repository. This is
      * the `repo id` in the zypper config file and also the `display_name` if
@@ -14047,15 +12439,16 @@ public java.lang.String getId() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -14066,14 +12459,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
      * The display name of the repository.
      * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -14082,29 +12472,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
      * The display name of the repository.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -14115,14 +12505,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int BASE_URL_FIELD_NUMBER = 3; private volatile java.lang.Object baseUrl_; /** - * - * *
      * Required. The location of the repository directory.
      * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The baseUrl. */ @java.lang.Override @@ -14131,29 +12518,29 @@ public java.lang.String getBaseUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; } } /** - * - * *
      * Required. The location of the repository directory.
      * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for baseUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getBaseUrlBytes() { + public com.google.protobuf.ByteString + getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -14164,42 +12551,34 @@ public com.google.protobuf.ByteString getBaseUrlBytes() { public static final int GPG_KEYS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList gpgKeys_; /** - * - * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; - * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList getGpgKeysList() { + public com.google.protobuf.ProtocolStringList + getGpgKeysList() { return gpgKeys_; } /** - * - * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; - * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** - * - * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; - * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -14207,23 +12586,20 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** - * - * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; - * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString + getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -14235,7 +12611,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -14282,18 +12659,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository other = (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) obj; - if (!getId().equals(other.getId())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getBaseUrl().equals(other.getBaseUrl())) return false; - if (!getGpgKeysList().equals(other.getGpgKeysList())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getBaseUrl() + .equals(other.getBaseUrl())) return false; + if (!getGpgKeysList() + .equals(other.getGpgKeysList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -14321,95 +12701,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository 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.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository - 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.osconfig.v1beta.GuestPolicies.ZypperRepository 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.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -14419,8 +12791,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents a single Zypper package repository. This repository is added to a
      * repo file that is stored at `/etc/zypp/repos.d/google_osconfig.repo`.
@@ -14428,41 +12798,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.ZypperRepository}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ZypperRepository)
         com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_ZypperRepository_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ZypperRepository_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.class,
-                com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.newBuilder()
+      // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -14478,14 +12845,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance();
       }
 
@@ -14500,8 +12866,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository buildPartial() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository result =
-            new com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository(this);
+        com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository result = new com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository(this);
         int from_bitField0_ = bitField0_;
         result.id_ = id_;
         result.displayName_ = displayName_;
@@ -14519,52 +12884,46 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository buildPart
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.GuestPolicies.ZypperRepository) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository other) {
-        if (other
-            == com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository other) {
+        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance()) return this;
         if (!other.getId().isEmpty()) {
           id_ = other.id_;
           onChanged();
@@ -14606,9 +12965,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -14617,13 +12974,10 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object id_ = "";
       /**
-       *
-       *
        * 
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the zypper config file and also the `display_name` if
@@ -14632,13 +12986,13 @@ public Builder mergeFrom(
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -14647,8 +13001,6 @@ public java.lang.String getId() { } } /** - * - * *
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the zypper config file and also the `display_name` if
@@ -14657,14 +13009,15 @@ public java.lang.String getId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -14672,8 +13025,6 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the zypper config file and also the `display_name` if
@@ -14682,22 +13033,20 @@ public com.google.protobuf.ByteString getIdBytes() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the zypper config file and also the `display_name` if
@@ -14706,18 +13055,15 @@ public Builder setId(java.lang.String value) {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the zypper config file and also the `display_name` if
@@ -14726,16 +13072,16 @@ public Builder clearId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -14743,20 +13089,18 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
        * The display name of the repository.
        * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -14765,21 +13109,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
        * The display name of the repository.
        * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -14787,61 +13130,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
        * The display name of the repository.
        * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
        * The display name of the repository.
        * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
        * The display name of the repository.
        * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -14849,20 +13185,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object baseUrl_ = ""; /** - * - * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The baseUrl. */ public java.lang.String getBaseUrl() { java.lang.Object ref = baseUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; @@ -14871,21 +13205,20 @@ public java.lang.String getBaseUrl() { } } /** - * - * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for baseUrl. */ - public com.google.protobuf.ByteString getBaseUrlBytes() { + public com.google.protobuf.ByteString + getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -14893,112 +13226,95 @@ public com.google.protobuf.ByteString getBaseUrlBytes() { } } /** - * - * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrl(java.lang.String value) { + public Builder setBaseUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + baseUrl_ = value; onChanged(); return this; } /** - * - * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBaseUrl() { - + baseUrl_ = getDefaultInstance().getBaseUrl(); onChanged(); return this; } /** - * - * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrlBytes(com.google.protobuf.ByteString value) { + public Builder setBaseUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + baseUrl_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList gpgKeys_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList gpgKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureGpgKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { gpgKeys_ = new com.google.protobuf.LazyStringArrayList(gpgKeys_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; - * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList getGpgKeysList() { + public com.google.protobuf.ProtocolStringList + getGpgKeysList() { return gpgKeys_.getUnmodifiableView(); } /** - * - * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; - * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** - * - * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; - * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -15006,90 +13322,80 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** - * - * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; - * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString + getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } /** - * - * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; - * * @param index The index to set the value at. * @param value The gpgKeys to set. * @return This builder for chaining. */ - public Builder setGpgKeys(int index, java.lang.String value) { + public Builder setGpgKeys( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.set(index, value); onChanged(); return this; } /** - * - * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; - * * @param value The gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeys(java.lang.String value) { + public Builder addGpgKeys( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } /** - * - * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; - * * @param values The gpgKeys to add. * @return This builder for chaining. */ - public Builder addAllGpgKeys(java.lang.Iterable values) { + public Builder addAllGpgKeys( + java.lang.Iterable values) { ensureGpgKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, gpgKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, gpgKeys_); onChanged(); return this; } /** - * - * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; - * * @return This builder for chaining. */ public Builder clearGpgKeys() { @@ -15099,28 +13405,25 @@ public Builder clearGpgKeys() { return this; } /** - * - * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; - * * @param value The bytes of the gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeysBytes(com.google.protobuf.ByteString value) { + public Builder addGpgKeysBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -15133,32 +13436,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ZypperRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ZypperRepository) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ZypperRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ZypperRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ZypperRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ZypperRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15170,70 +13471,57 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GooRepositoryOrBuilder - extends + public interface GooRepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.GooRepository) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The name of the repository.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The name of the repository.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Required. The url of the repository.
      * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ java.lang.String getUrl(); /** - * - * *
      * Required. The url of the repository.
      * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ - com.google.protobuf.ByteString getUrlBytes(); + com.google.protobuf.ByteString + getUrlBytes(); } /** - * - * *
    * Represents a Goo package repository. These is added to a repo file
    * that is stored at C:/ProgramData/GooGet/repos/google_osconfig.repo.
@@ -15241,16 +13529,15 @@ public interface GooRepositoryOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.GooRepository}
    */
-  public static final class GooRepository extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class GooRepository extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.GooRepository)
       GooRepositoryOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use GooRepository.newBuilder() to construct.
     private GooRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private GooRepository() {
       name_ = "";
       url_ = "";
@@ -15258,15 +13545,16 @@ private GooRepository() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new GooRepository();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private GooRepository(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -15285,27 +13573,25 @@ private GooRepository(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                name_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                url_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              url_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -15313,39 +13599,34 @@ private GooRepository(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies
-          .internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies
-          .internal_static_google_cloud_osconfig_v1beta_GooRepository_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GooRepository_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.class,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder.class);
+              com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder.class);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object name_;
     /**
-     *
-     *
      * 
      * Required. The name of the repository.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -15354,29 +13635,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. The name of the repository.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -15387,14 +13668,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int URL_FIELD_NUMBER = 2; private volatile java.lang.Object url_; /** - * - * *
      * Required. The url of the repository.
      * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ @java.lang.Override @@ -15403,29 +13681,29 @@ public java.lang.String getUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; } } /** - * - * *
      * Required. The url of the repository.
      * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); url_ = b; return b; } else { @@ -15434,7 +13712,6 @@ public com.google.protobuf.ByteString getUrlBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15446,7 +13723,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -15476,16 +13754,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository other = (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) obj; - if (!getName().equals(other.getName())) return false; - if (!getUrl().equals(other.getUrl())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUrl() + .equals(other.getUrl())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -15507,94 +13786,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository 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.osconfig.v1beta.GuestPolicies.GooRepository parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -15604,8 +13876,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents a Goo package repository. These is added to a repo file
      * that is stored at C:/ProgramData/GooGet/repos/google_osconfig.repo.
@@ -15613,24 +13883,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.GooRepository}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.GooRepository)
         com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_GooRepository_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GooRepository_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.class,
-                com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.newBuilder()
@@ -15638,15 +13905,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -15658,14 +13926,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.getDefaultInstance();
       }
 
@@ -15680,8 +13947,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository buildPartial() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository result =
-            new com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository(this);
+        com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository result = new com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository(this);
         result.name_ = name_;
         result.url_ = url_;
         onBuilt();
@@ -15692,41 +13958,38 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository buildPartial
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.GuestPolicies.GooRepository) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -15734,9 +13997,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository other) {
-        if (other
-            == com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.getDefaultInstance()) return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -15764,9 +14025,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -15778,20 +14037,18 @@ public Builder mergeFrom(
 
       private java.lang.Object name_ = "";
       /**
-       *
-       *
        * 
        * Required. The name of the repository.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -15800,21 +14057,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The name of the repository.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -15822,61 +14078,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The name of the repository.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. The name of the repository.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. The name of the repository.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -15884,20 +14133,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object url_ = ""; /** - * - * *
        * Required. The url of the repository.
        * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; @@ -15906,21 +14153,20 @@ public java.lang.String getUrl() { } } /** - * - * *
        * Required. The url of the repository.
        * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); url_ = b; return b; } else { @@ -15928,66 +14174,58 @@ public com.google.protobuf.ByteString getUrlBytes() { } } /** - * - * *
        * Required. The url of the repository.
        * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl(java.lang.String value) { + public Builder setUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** - * - * *
        * Required. The url of the repository.
        * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** - * - * *
        * Required. The url of the repository.
        * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes(com.google.protobuf.ByteString value) { + public Builder setUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16000,32 +14238,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.GooRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.GooRepository) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GooRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GooRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GooRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GooRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16037,44 +14273,35 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PackageRepositoryOrBuilder - extends + public interface PackageRepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PackageRepository) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * An Apt Repository.
      * 
* * .google.cloud.osconfig.v1beta.AptRepository apt = 1; - * * @return Whether the apt field is set. */ boolean hasApt(); /** - * - * *
      * An Apt Repository.
      * 
* * .google.cloud.osconfig.v1beta.AptRepository apt = 1; - * * @return The apt. */ com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository getApt(); /** - * - * *
      * An Apt Repository.
      * 
@@ -16084,32 +14311,24 @@ public interface PackageRepositoryOrBuilder com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder getAptOrBuilder(); /** - * - * *
      * A Yum Repository.
      * 
* * .google.cloud.osconfig.v1beta.YumRepository yum = 2; - * * @return Whether the yum field is set. */ boolean hasYum(); /** - * - * *
      * A Yum Repository.
      * 
* * .google.cloud.osconfig.v1beta.YumRepository yum = 2; - * * @return The yum. */ com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository getYum(); /** - * - * *
      * A Yum Repository.
      * 
@@ -16119,32 +14338,24 @@ public interface PackageRepositoryOrBuilder com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder getYumOrBuilder(); /** - * - * *
      * A Zypper Repository.
      * 
* * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; - * * @return Whether the zypper field is set. */ boolean hasZypper(); /** - * - * *
      * A Zypper Repository.
      * 
* * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; - * * @return The zypper. */ com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository getZypper(); /** - * - * *
      * A Zypper Repository.
      * 
@@ -16154,32 +14365,24 @@ public interface PackageRepositoryOrBuilder com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder getZypperOrBuilder(); /** - * - * *
      * A Goo Repository.
      * 
* * .google.cloud.osconfig.v1beta.GooRepository goo = 4; - * * @return Whether the goo field is set. */ boolean hasGoo(); /** - * - * *
      * A Goo Repository.
      * 
* * .google.cloud.osconfig.v1beta.GooRepository goo = 4; - * * @return The goo. */ com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository getGoo(); /** - * - * *
      * A Goo Repository.
      * 
@@ -16188,41 +14391,39 @@ public interface PackageRepositoryOrBuilder */ com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder getGooOrBuilder(); - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.RepositoryCase - getRepositoryCase(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.RepositoryCase getRepositoryCase(); } /** - * - * *
    * A package repository.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.PackageRepository} */ - public static final class PackageRepository extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PackageRepository extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PackageRepository) PackageRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PackageRepository.newBuilder() to construct. private PackageRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PackageRepository() {} + private PackageRepository() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PackageRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PackageRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -16241,99 +14442,69 @@ private PackageRepository( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder subBuilder = - null; - if (repositoryCase_ == 1) { - subBuilder = - ((com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_) - .toBuilder(); - } - repository_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_); - repository_ = subBuilder.buildPartial(); - } - repositoryCase_ = 1; - break; + case 10: { + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder subBuilder = null; + if (repositoryCase_ == 1) { + subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_).toBuilder(); } - case 18: - { - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder subBuilder = - null; - if (repositoryCase_ == 2) { - subBuilder = - ((com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_) - .toBuilder(); - } - repository_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_); - repository_ = subBuilder.buildPartial(); - } - repositoryCase_ = 2; - break; + repository_ = + input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_); + repository_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder subBuilder = - null; - if (repositoryCase_ == 3) { - subBuilder = - ((com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) - repository_) - .toBuilder(); - } - repository_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) - repository_); - repository_ = subBuilder.buildPartial(); - } - repositoryCase_ = 3; - break; + repositoryCase_ = 1; + break; + } + case 18: { + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder subBuilder = null; + if (repositoryCase_ == 2) { + subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_).toBuilder(); } - case 34: - { - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder subBuilder = - null; - if (repositoryCase_ == 4) { - subBuilder = - ((com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_) - .toBuilder(); - } - repository_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_); - repository_ = subBuilder.buildPartial(); - } - repositoryCase_ = 4; - break; + repository_ = + input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_); + repository_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + repositoryCase_ = 2; + break; + } + case 26: { + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder subBuilder = null; + if (repositoryCase_ == 3) { + subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_).toBuilder(); + } + repository_ = + input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_); + repository_ = subBuilder.buildPartial(); + } + repositoryCase_ = 3; + break; + } + case 34: { + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder subBuilder = null; + if (repositoryCase_ == 4) { + subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_).toBuilder(); + } + repository_ = + input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_); + repository_ = subBuilder.buildPartial(); + } + repositoryCase_ = 4; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -16341,34 +14512,30 @@ private PackageRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_PackageRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_PackageRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder.class); } private int repositoryCase_ = 0; private java.lang.Object repository_; - public enum RepositoryCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { APT(1), YUM(2), @@ -16376,7 +14543,6 @@ public enum RepositoryCase GOO(4), REPOSITORY_NOT_SET(0); private final int value; - private RepositoryCase(int value) { this.value = value; } @@ -16392,40 +14558,32 @@ public static RepositoryCase valueOf(int value) { public static RepositoryCase forNumber(int value) { switch (value) { - case 1: - return APT; - case 2: - return YUM; - case 3: - return ZYPPER; - case 4: - return GOO; - case 0: - return REPOSITORY_NOT_SET; - default: - return null; + case 1: return APT; + case 2: return YUM; + case 3: return ZYPPER; + case 4: return GOO; + case 0: return REPOSITORY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RepositoryCase getRepositoryCase() { - return RepositoryCase.forNumber(repositoryCase_); + public RepositoryCase + getRepositoryCase() { + return RepositoryCase.forNumber( + repositoryCase_); } public static final int APT_FIELD_NUMBER = 1; /** - * - * *
      * An Apt Repository.
      * 
* * .google.cloud.osconfig.v1beta.AptRepository apt = 1; - * * @return Whether the apt field is set. */ @java.lang.Override @@ -16433,26 +14591,21 @@ public boolean hasApt() { return repositoryCase_ == 1; } /** - * - * *
      * An Apt Repository.
      * 
* * .google.cloud.osconfig.v1beta.AptRepository apt = 1; - * * @return The apt. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository getApt() { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_; } return com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDefaultInstance(); } /** - * - * *
      * An Apt Repository.
      * 
@@ -16462,21 +14615,18 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository getApt() { @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder getAptOrBuilder() { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_; } return com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDefaultInstance(); } public static final int YUM_FIELD_NUMBER = 2; /** - * - * *
      * A Yum Repository.
      * 
* * .google.cloud.osconfig.v1beta.YumRepository yum = 2; - * * @return Whether the yum field is set. */ @java.lang.Override @@ -16484,26 +14634,21 @@ public boolean hasYum() { return repositoryCase_ == 2; } /** - * - * *
      * A Yum Repository.
      * 
* * .google.cloud.osconfig.v1beta.YumRepository yum = 2; - * * @return The yum. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository getYum() { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_; } return com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.getDefaultInstance(); } /** - * - * *
      * A Yum Repository.
      * 
@@ -16513,21 +14658,18 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository getYum() { @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder getYumOrBuilder() { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_; } return com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.getDefaultInstance(); } public static final int ZYPPER_FIELD_NUMBER = 3; /** - * - * *
      * A Zypper Repository.
      * 
* * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; - * * @return Whether the zypper field is set. */ @java.lang.Override @@ -16535,26 +14677,21 @@ public boolean hasZypper() { return repositoryCase_ == 3; } /** - * - * *
      * A Zypper Repository.
      * 
* * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; - * * @return The zypper. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository getZypper() { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_; } return com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance(); } /** - * - * *
      * A Zypper Repository.
      * 
@@ -16562,24 +14699,20 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository getZypper * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder - getZypperOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder getZypperOrBuilder() { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_; } return com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance(); } public static final int GOO_FIELD_NUMBER = 4; /** - * - * *
      * A Goo Repository.
      * 
* * .google.cloud.osconfig.v1beta.GooRepository goo = 4; - * * @return Whether the goo field is set. */ @java.lang.Override @@ -16587,26 +14720,21 @@ public boolean hasGoo() { return repositoryCase_ == 4; } /** - * - * *
      * A Goo Repository.
      * 
* * .google.cloud.osconfig.v1beta.GooRepository goo = 4; - * * @return The goo. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository getGoo() { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_; } return com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.getDefaultInstance(); } /** - * - * *
      * A Goo Repository.
      * 
@@ -16616,13 +14744,12 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository getGoo() { @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder getGooOrBuilder() { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_; } return com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -16634,22 +14761,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (repositoryCase_ == 1) { - output.writeMessage( - 1, (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_); + output.writeMessage(1, (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_); } if (repositoryCase_ == 2) { - output.writeMessage( - 2, (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_); + output.writeMessage(2, (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_); } if (repositoryCase_ == 3) { - output.writeMessage( - 3, (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_); + output.writeMessage(3, (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_); } if (repositoryCase_ == 4) { - output.writeMessage( - 4, (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_); + output.writeMessage(4, (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_); } unknownFields.writeTo(output); } @@ -16661,24 +14785,20 @@ public int getSerializedSize() { size = 0; if (repositoryCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_); } if (repositoryCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_); } if (repositoryCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_); } if (repositoryCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -16688,27 +14808,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository other = (com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository) obj; if (!getRepositoryCase().equals(other.getRepositoryCase())) return false; switch (repositoryCase_) { case 1: - if (!getApt().equals(other.getApt())) return false; + if (!getApt() + .equals(other.getApt())) return false; break; case 2: - if (!getYum().equals(other.getYum())) return false; + if (!getYum() + .equals(other.getYum())) return false; break; case 3: - if (!getZypper().equals(other.getZypper())) return false; + if (!getZypper() + .equals(other.getZypper())) return false; break; case 4: - if (!getGoo().equals(other.getGoo())) return false; + if (!getGoo() + .equals(other.getGoo())) return false; break; case 0: default: @@ -16750,95 +14873,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository 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.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository - 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.osconfig.v1beta.GuestPolicies.PackageRepository 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.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -16848,49 +14963,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A package repository.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.PackageRepository} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PackageRepository) com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_PackageRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_PackageRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -16900,16 +15010,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.getDefaultInstance(); } @java.lang.Override @@ -16923,8 +15031,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository build() @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository(this); + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository result = new com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository(this); if (repositoryCase_ == 1) { if (aptBuilder_ == null) { result.repository_ = repository_; @@ -16962,78 +15069,66 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.PackageRepository) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository) other); + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.getDefaultInstance()) return this; switch (other.getRepositoryCase()) { - case APT: - { - mergeApt(other.getApt()); - break; - } - case YUM: - { - mergeYum(other.getYum()); - break; - } - case ZYPPER: - { - mergeZypper(other.getZypper()); - break; - } - case GOO: - { - mergeGoo(other.getGoo()); - break; - } - case REPOSITORY_NOT_SET: - { - break; - } + case APT: { + mergeApt(other.getApt()); + break; + } + case YUM: { + mergeYum(other.getYum()); + break; + } + case ZYPPER: { + mergeZypper(other.getZypper()); + break; + } + case GOO: { + mergeGoo(other.getGoo()); + break; + } + case REPOSITORY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -17054,9 +15149,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -17065,12 +15158,12 @@ public Builder mergeFrom( } return this; } - private int repositoryCase_ = 0; private java.lang.Object repository_; - - public RepositoryCase getRepositoryCase() { - return RepositoryCase.forNumber(repositoryCase_); + public RepositoryCase + getRepositoryCase() { + return RepositoryCase.forNumber( + repositoryCase_); } public Builder clearRepository() { @@ -17080,20 +15173,15 @@ public Builder clearRepository() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder> - aptBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder> aptBuilder_; /** - * - * *
        * An Apt Repository.
        * 
* * .google.cloud.osconfig.v1beta.AptRepository apt = 1; - * * @return Whether the apt field is set. */ @java.lang.Override @@ -17101,14 +15189,11 @@ public boolean hasApt() { return repositoryCase_ == 1; } /** - * - * *
        * An Apt Repository.
        * 
* * .google.cloud.osconfig.v1beta.AptRepository apt = 1; - * * @return The apt. */ @java.lang.Override @@ -17126,8 +15211,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository getApt() { } } /** - * - * *
        * An Apt Repository.
        * 
@@ -17148,8 +15231,6 @@ public Builder setApt(com.google.cloud.osconfig.v1beta.GuestPolicies.AptReposito return this; } /** - * - * *
        * An Apt Repository.
        * 
@@ -17168,8 +15249,6 @@ public Builder setApt( return this; } /** - * - * *
        * An Apt Repository.
        * 
@@ -17178,15 +15257,10 @@ public Builder setApt( */ public Builder mergeApt(com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository value) { if (aptBuilder_ == null) { - if (repositoryCase_ == 1 - && repository_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository - .getDefaultInstance()) { - repository_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.newBuilder( - (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_) - .mergeFrom(value) - .buildPartial(); + if (repositoryCase_ == 1 && + repository_ != com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDefaultInstance()) { + repository_ = com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_) + .mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -17202,8 +15276,6 @@ public Builder mergeApt(com.google.cloud.osconfig.v1beta.GuestPolicies.AptReposi return this; } /** - * - * *
        * An Apt Repository.
        * 
@@ -17227,8 +15299,6 @@ public Builder clearApt() { return this; } /** - * - * *
        * An Apt Repository.
        * 
@@ -17239,8 +15309,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder getA return getAptFieldBuilder().getBuilder(); } /** - * - * *
        * An Apt Repository.
        * 
@@ -17248,8 +15316,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder getA * .google.cloud.osconfig.v1beta.AptRepository apt = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder - getAptOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder getAptOrBuilder() { if ((repositoryCase_ == 1) && (aptBuilder_ != null)) { return aptBuilder_.getMessageOrBuilder(); } else { @@ -17260,8 +15327,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder getA } } /** - * - * *
        * An Apt Repository.
        * 
@@ -17269,45 +15334,32 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder getA * .google.cloud.osconfig.v1beta.AptRepository apt = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder> getAptFieldBuilder() { if (aptBuilder_ == null) { if (!(repositoryCase_ == 1)) { - repository_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDefaultInstance(); - } - aptBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder>( + repository_ = com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDefaultInstance(); + } + aptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder>( (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 1; - onChanged(); - ; + onChanged();; return aptBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder> - yumBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder> yumBuilder_; /** - * - * *
        * A Yum Repository.
        * 
* * .google.cloud.osconfig.v1beta.YumRepository yum = 2; - * * @return Whether the yum field is set. */ @java.lang.Override @@ -17315,14 +15367,11 @@ public boolean hasYum() { return repositoryCase_ == 2; } /** - * - * *
        * A Yum Repository.
        * 
* * .google.cloud.osconfig.v1beta.YumRepository yum = 2; - * * @return The yum. */ @java.lang.Override @@ -17340,8 +15389,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository getYum() { } } /** - * - * *
        * A Yum Repository.
        * 
@@ -17362,8 +15409,6 @@ public Builder setYum(com.google.cloud.osconfig.v1beta.GuestPolicies.YumReposito return this; } /** - * - * *
        * A Yum Repository.
        * 
@@ -17382,8 +15427,6 @@ public Builder setYum( return this; } /** - * - * *
        * A Yum Repository.
        * 
@@ -17392,15 +15435,10 @@ public Builder setYum( */ public Builder mergeYum(com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository value) { if (yumBuilder_ == null) { - if (repositoryCase_ == 2 - && repository_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository - .getDefaultInstance()) { - repository_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.newBuilder( - (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_) - .mergeFrom(value) - .buildPartial(); + if (repositoryCase_ == 2 && + repository_ != com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.getDefaultInstance()) { + repository_ = com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_) + .mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -17416,8 +15454,6 @@ public Builder mergeYum(com.google.cloud.osconfig.v1beta.GuestPolicies.YumReposi return this; } /** - * - * *
        * A Yum Repository.
        * 
@@ -17441,8 +15477,6 @@ public Builder clearYum() { return this; } /** - * - * *
        * A Yum Repository.
        * 
@@ -17453,8 +15487,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder getY return getYumFieldBuilder().getBuilder(); } /** - * - * *
        * A Yum Repository.
        * 
@@ -17462,8 +15494,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder getY * .google.cloud.osconfig.v1beta.YumRepository yum = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder - getYumOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder getYumOrBuilder() { if ((repositoryCase_ == 2) && (yumBuilder_ != null)) { return yumBuilder_.getMessageOrBuilder(); } else { @@ -17474,8 +15505,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder getY } } /** - * - * *
        * A Yum Repository.
        * 
@@ -17483,45 +15512,32 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder getY * .google.cloud.osconfig.v1beta.YumRepository yum = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder> getYumFieldBuilder() { if (yumBuilder_ == null) { if (!(repositoryCase_ == 2)) { - repository_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.getDefaultInstance(); - } - yumBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder>( + repository_ = com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.getDefaultInstance(); + } + yumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder>( (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 2; - onChanged(); - ; + onChanged();; return yumBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder> - zypperBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder> zypperBuilder_; /** - * - * *
        * A Zypper Repository.
        * 
* * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; - * * @return Whether the zypper field is set. */ @java.lang.Override @@ -17529,14 +15545,11 @@ public boolean hasZypper() { return repositoryCase_ == 3; } /** - * - * *
        * A Zypper Repository.
        * 
* * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; - * * @return The zypper. */ @java.lang.Override @@ -17545,27 +15558,22 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository getZypper if (repositoryCase_ == 3) { return (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance(); } else { if (repositoryCase_ == 3) { return zypperBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance(); } } /** - * - * *
        * A Zypper Repository.
        * 
* * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; */ - public Builder setZypper( - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository value) { + public Builder setZypper(com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository value) { if (zypperBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -17579,8 +15587,6 @@ public Builder setZypper( return this; } /** - * - * *
        * A Zypper Repository.
        * 
@@ -17599,27 +15605,18 @@ public Builder setZypper( return this; } /** - * - * *
        * A Zypper Repository.
        * 
* * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; */ - public Builder mergeZypper( - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository value) { + public Builder mergeZypper(com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository value) { if (zypperBuilder_ == null) { - if (repositoryCase_ == 3 - && repository_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository - .getDefaultInstance()) { - repository_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.newBuilder( - (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) - repository_) - .mergeFrom(value) - .buildPartial(); + if (repositoryCase_ == 3 && + repository_ != com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance()) { + repository_ = com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_) + .mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -17635,8 +15632,6 @@ public Builder mergeZypper( return this; } /** - * - * *
        * A Zypper Repository.
        * 
@@ -17660,21 +15655,16 @@ public Builder clearZypper() { return this; } /** - * - * *
        * A Zypper Repository.
        * 
* * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder - getZypperBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder getZypperBuilder() { return getZypperFieldBuilder().getBuilder(); } /** - * - * *
        * A Zypper Repository.
        * 
@@ -17682,21 +15672,17 @@ public Builder clearZypper() { * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder - getZypperOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder getZypperOrBuilder() { if ((repositoryCase_ == 3) && (zypperBuilder_ != null)) { return zypperBuilder_.getMessageOrBuilder(); } else { if (repositoryCase_ == 3) { return (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance(); } } /** - * - * *
        * A Zypper Repository.
        * 
@@ -17704,46 +15690,32 @@ public Builder clearZypper() { * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder> getZypperFieldBuilder() { if (zypperBuilder_ == null) { if (!(repositoryCase_ == 3)) { - repository_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository - .getDefaultInstance(); - } - zypperBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder>( + repository_ = com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance(); + } + zypperBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder>( (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 3; - onChanged(); - ; + onChanged();; return zypperBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder> - gooBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder> gooBuilder_; /** - * - * *
        * A Goo Repository.
        * 
* * .google.cloud.osconfig.v1beta.GooRepository goo = 4; - * * @return Whether the goo field is set. */ @java.lang.Override @@ -17751,14 +15723,11 @@ public boolean hasGoo() { return repositoryCase_ == 4; } /** - * - * *
        * A Goo Repository.
        * 
* * .google.cloud.osconfig.v1beta.GooRepository goo = 4; - * * @return The goo. */ @java.lang.Override @@ -17776,8 +15745,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository getGoo() { } } /** - * - * *
        * A Goo Repository.
        * 
@@ -17798,8 +15765,6 @@ public Builder setGoo(com.google.cloud.osconfig.v1beta.GuestPolicies.GooReposito return this; } /** - * - * *
        * A Goo Repository.
        * 
@@ -17818,8 +15783,6 @@ public Builder setGoo( return this; } /** - * - * *
        * A Goo Repository.
        * 
@@ -17828,15 +15791,10 @@ public Builder setGoo( */ public Builder mergeGoo(com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository value) { if (gooBuilder_ == null) { - if (repositoryCase_ == 4 - && repository_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository - .getDefaultInstance()) { - repository_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.newBuilder( - (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_) - .mergeFrom(value) - .buildPartial(); + if (repositoryCase_ == 4 && + repository_ != com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.getDefaultInstance()) { + repository_ = com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_) + .mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -17852,8 +15810,6 @@ public Builder mergeGoo(com.google.cloud.osconfig.v1beta.GuestPolicies.GooReposi return this; } /** - * - * *
        * A Goo Repository.
        * 
@@ -17877,8 +15833,6 @@ public Builder clearGoo() { return this; } /** - * - * *
        * A Goo Repository.
        * 
@@ -17889,8 +15843,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder getG return getGooFieldBuilder().getBuilder(); } /** - * - * *
        * A Goo Repository.
        * 
@@ -17898,8 +15850,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder getG * .google.cloud.osconfig.v1beta.GooRepository goo = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder - getGooOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder getGooOrBuilder() { if ((repositoryCase_ == 4) && (gooBuilder_ != null)) { return gooBuilder_.getMessageOrBuilder(); } else { @@ -17910,8 +15861,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder getG } } /** - * - * *
        * A Goo Repository.
        * 
@@ -17919,31 +15868,23 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder getG * .google.cloud.osconfig.v1beta.GooRepository goo = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder> getGooFieldBuilder() { if (gooBuilder_ == null) { if (!(repositoryCase_ == 4)) { - repository_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.getDefaultInstance(); - } - gooBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder>( + repository_ = com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.getDefaultInstance(); + } + gooBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder>( (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 4; - onChanged(); - ; + onChanged();; return gooBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -17956,32 +15897,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PackageRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PackageRepository) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PackageRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PackageRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PackageRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PackageRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -17993,20 +15932,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface SoftwareRecipeOrBuilder - extends + public interface SoftwareRecipeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Unique identifier for the recipe. Only one recipe with a given name is
      * installed on an instance.
@@ -18017,13 +15953,10 @@ public interface SoftwareRecipeOrBuilder
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. Unique identifier for the recipe. Only one recipe with a given name is
      * installed on an instance.
@@ -18034,52 +15967,43 @@ public interface SoftwareRecipeOrBuilder
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * The version of this software recipe. Version can be up to 4 period
      * separated numbers (e.g. 12.34.56.78).
      * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
      * The version of this software recipe. Version can be up to 4 period
      * separated numbers (e.g. 12.34.56.78).
      * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
      * Resources available to be used in the steps in the recipe.
      * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - java.util.List + java.util.List getArtifactsList(); /** - * - * *
      * Resources available to be used in the steps in the recipe.
      * 
@@ -18088,8 +16012,6 @@ public interface SoftwareRecipeOrBuilder */ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact getArtifacts(int index); /** - * - * *
      * Resources available to be used in the steps in the recipe.
      * 
@@ -18098,33 +16020,25 @@ public interface SoftwareRecipeOrBuilder */ int getArtifactsCount(); /** - * - * *
      * Resources available to be used in the steps in the recipe.
      * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder> + java.util.List getArtifactsOrBuilderList(); /** - * - * *
      * Resources available to be used in the steps in the recipe.
      * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder - getArtifactsOrBuilder(int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder getArtifactsOrBuilder( + int index); /** - * - * *
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -18133,11 +16047,9 @@ public interface SoftwareRecipeOrBuilder
      *
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
      */
-    java.util.List
+    java.util.List 
         getInstallStepsList();
     /**
-     *
-     *
      * 
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -18148,8 +16060,6 @@ public interface SoftwareRecipeOrBuilder
      */
     com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getInstallSteps(int index);
     /**
-     *
-     *
      * 
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -18160,8 +16070,6 @@ public interface SoftwareRecipeOrBuilder
      */
     int getInstallStepsCount();
     /**
-     *
-     *
      * 
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -18170,12 +16078,9 @@ public interface SoftwareRecipeOrBuilder
      *
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
      */
-    java.util.List<
-            ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>
+    java.util.List 
         getInstallStepsOrBuilderList();
     /**
-     *
-     *
      * 
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -18184,12 +16089,10 @@ public interface SoftwareRecipeOrBuilder
      *
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
      */
-    com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder
-        getInstallStepsOrBuilder(int index);
+    com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getInstallStepsOrBuilder(
+        int index);
 
     /**
-     *
-     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -18198,11 +16101,9 @@ public interface SoftwareRecipeOrBuilder
      *
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
      */
-    java.util.List
+    java.util.List 
         getUpdateStepsList();
     /**
-     *
-     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -18213,8 +16114,6 @@ public interface SoftwareRecipeOrBuilder
      */
     com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getUpdateSteps(int index);
     /**
-     *
-     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -18225,8 +16124,6 @@ public interface SoftwareRecipeOrBuilder
      */
     int getUpdateStepsCount();
     /**
-     *
-     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -18235,12 +16132,9 @@ public interface SoftwareRecipeOrBuilder
      *
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
      */
-    java.util.List<
-            ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>
+    java.util.List 
         getUpdateStepsOrBuilderList();
     /**
-     *
-     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -18249,12 +16143,10 @@ public interface SoftwareRecipeOrBuilder
      *
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
      */
-    com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder
-        getUpdateStepsOrBuilder(int index);
+    com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getUpdateStepsOrBuilder(
+        int index);
 
     /**
-     *
-     *
      * 
      * Default is INSTALLED. The desired state the agent should maintain for this
      * recipe.
@@ -18268,13 +16160,10 @@ public interface SoftwareRecipeOrBuilder
      * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 6; - * * @return The enum numeric value on the wire for desiredState. */ int getDesiredStateValue(); /** - * - * *
      * Default is INSTALLED. The desired state the agent should maintain for this
      * recipe.
@@ -18288,14 +16177,11 @@ public interface SoftwareRecipeOrBuilder
      * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 6; - * * @return The desiredState. */ com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState getDesiredState(); } /** - * - * *
    * A software recipe is a set of instructions for installing and configuring a
    * piece of software. It consists of a set of artifacts that are
@@ -18318,16 +16204,15 @@ public interface SoftwareRecipeOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe}
    */
-  public static final class SoftwareRecipe extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class SoftwareRecipe extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe)
       SoftwareRecipeOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use SoftwareRecipe.newBuilder() to construct.
     private SoftwareRecipe(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private SoftwareRecipe() {
       name_ = "";
       version_ = "";
@@ -18339,15 +16224,16 @@ private SoftwareRecipe() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new SoftwareRecipe();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private SoftwareRecipe(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -18367,77 +16253,58 @@ private SoftwareRecipe(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                name_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                version_ = s;
-                break;
-              }
-            case 26:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  artifacts_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact>();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                artifacts_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact
-                            .parser(),
-                        extensionRegistry));
-                break;
+              version_ = s;
+              break;
+            }
+            case 26: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                artifacts_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 34:
-              {
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  installSteps_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step>();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                installSteps_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.parser(),
-                        extensionRegistry));
-                break;
+              artifacts_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.parser(), extensionRegistry));
+              break;
+            }
+            case 34: {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                installSteps_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            case 42:
-              {
-                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                  updateSteps_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step>();
-                  mutable_bitField0_ |= 0x00000004;
-                }
-                updateSteps_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.parser(),
-                        extensionRegistry));
-                break;
+              installSteps_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.parser(), extensionRegistry));
+              break;
+            }
+            case 42: {
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                updateSteps_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000004;
               }
-            case 48:
-              {
-                int rawValue = input.readEnum();
+              updateSteps_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.parser(), extensionRegistry));
+              break;
+            }
+            case 48: {
+              int rawValue = input.readEnum();
 
-                desiredState_ = rawValue;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              desiredState_ = rawValue;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -18445,7 +16312,8 @@ private SoftwareRecipe(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           artifacts_ = java.util.Collections.unmodifiableList(artifacts_);
@@ -18460,129 +16328,100 @@ private SoftwareRecipe(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies
-          .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies
-          .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.class,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder.class);
+              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder.class);
     }
 
-    public interface ArtifactOrBuilder
-        extends
+    public interface ArtifactOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * Required. Id of the artifact, which the installation and update steps of this
        * recipe can reference. Artifacts in a recipe cannot have the same id.
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ java.lang.String getId(); /** - * - * *
        * Required. Id of the artifact, which the installation and update steps of this
        * recipe can reference. Artifacts in a recipe cannot have the same id.
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
        * A generic remote artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; - * * @return Whether the remote field is set. */ boolean hasRemote(); /** - * - * *
        * A generic remote artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; - * * @return The remote. */ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote getRemote(); /** - * - * *
        * A generic remote artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder - getRemoteOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder getRemoteOrBuilder(); /** - * - * *
        * A Google Cloud Storage artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; - * * @return Whether the gcs field is set. */ boolean hasGcs(); /** - * - * *
        * A Google Cloud Storage artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; - * * @return The gcs. */ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs getGcs(); /** - * - * *
        * A Google Cloud Storage artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder - getGcsOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder getGcsOrBuilder(); /** - * - * *
        * Defaults to false. When false, recipes are subject to validations
        * based on the artifact type:
@@ -18592,48 +16431,44 @@ public interface ArtifactOrBuilder
        * 
* * bool allow_insecure = 4; - * * @return The allowInsecure. */ boolean getAllowInsecure(); - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.ArtifactCase - getArtifactCase(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.ArtifactCase getArtifactCase(); } /** - * - * *
      * Specifies a resource to be used in the recipe.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact} */ - public static final class Artifact extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Artifact extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact) ArtifactOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Artifact.newBuilder() to construct. private Artifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Artifact() { id_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Artifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Artifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -18652,77 +16487,52 @@ private Artifact( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; + id_ = s; + break; + } + case 18: { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder subBuilder = null; + if (artifactCase_ == 2) { + subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_).toBuilder(); } - case 18: - { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - .Builder - subBuilder = null; - if (artifactCase_ == 2) { - subBuilder = - ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - .Remote) - artifact_) - .toBuilder(); - } - artifact_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - .Remote.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - .Remote) - artifact_); - artifact_ = subBuilder.buildPartial(); - } - artifactCase_ = 2; - break; + artifact_ = + input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_); + artifact_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder - subBuilder = null; - if (artifactCase_ == 3) { - subBuilder = - ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - .Gcs) - artifact_) - .toBuilder(); - } - artifact_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) - artifact_); - artifact_ = subBuilder.buildPartial(); - } - artifactCase_ = 3; - break; + artifactCase_ = 2; + break; + } + case 26: { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder subBuilder = null; + if (artifactCase_ == 3) { + subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_).toBuilder(); } - case 32: - { - allowInsecure_ = input.readBool(); - break; + artifact_ = + input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_); + artifact_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + artifactCase_ = 3; + break; + } + case 32: { + + allowInsecure_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -18730,65 +16540,53 @@ private Artifact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder - .class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder.class); } - public interface RemoteOrBuilder - extends + public interface RemoteOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * URI from which to fetch the object. It should contain both the protocol
          * and path following the format {protocol}://{location}.
          * 
* * string uri = 1; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
          * URI from which to fetch the object. It should contain both the protocol
          * and path following the format {protocol}://{location}.
          * 
* * string uri = 1; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
          * Must be provided if `allow_insecure` is `false`.
          * SHA256 checksum in hex format, to compare to the checksum of the
@@ -18798,13 +16596,10 @@ public interface RemoteOrBuilder
          * 
* * string checksum = 2; - * * @return The checksum. */ java.lang.String getChecksum(); /** - * - * *
          * Must be provided if `allow_insecure` is `false`.
          * SHA256 checksum in hex format, to compare to the checksum of the
@@ -18814,30 +16609,27 @@ public interface RemoteOrBuilder
          * 
* * string checksum = 2; - * * @return The bytes for checksum. */ - com.google.protobuf.ByteString getChecksumBytes(); + com.google.protobuf.ByteString + getChecksumBytes(); } /** - * - * *
        * Specifies an artifact available via some URI.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote} */ - public static final class Remote extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Remote extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote) RemoteOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Remote.newBuilder() to construct. private Remote(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Remote() { uri_ = ""; checksum_ = ""; @@ -18845,15 +16637,16 @@ private Remote() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Remote(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Remote( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -18872,27 +16665,25 @@ private Remote( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + uri_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - checksum_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + checksum_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -18900,43 +16691,35 @@ private Remote( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - .class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - .Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder.class); } public static final int URI_FIELD_NUMBER = 1; private volatile java.lang.Object uri_; /** - * - * *
          * URI from which to fetch the object. It should contain both the protocol
          * and path following the format {protocol}://{location}.
          * 
* * string uri = 1; - * * @return The uri. */ @java.lang.Override @@ -18945,30 +16728,30 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
          * URI from which to fetch the object. It should contain both the protocol
          * and path following the format {protocol}://{location}.
          * 
* * string uri = 1; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -18979,8 +16762,6 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int CHECKSUM_FIELD_NUMBER = 2; private volatile java.lang.Object checksum_; /** - * - * *
          * Must be provided if `allow_insecure` is `false`.
          * SHA256 checksum in hex format, to compare to the checksum of the
@@ -18990,7 +16771,6 @@ public com.google.protobuf.ByteString getUriBytes() {
          * 
* * string checksum = 2; - * * @return The checksum. */ @java.lang.Override @@ -18999,15 +16779,14 @@ public java.lang.String getChecksum() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checksum_ = s; return s; } } /** - * - * *
          * Must be provided if `allow_insecure` is `false`.
          * SHA256 checksum in hex format, to compare to the checksum of the
@@ -19017,15 +16796,16 @@ public java.lang.String getChecksum() {
          * 
* * string checksum = 2; - * * @return The bytes for checksum. */ @java.lang.Override - public com.google.protobuf.ByteString getChecksumBytes() { + public com.google.protobuf.ByteString + getChecksumBytes() { java.lang.Object ref = checksum_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); checksum_ = b; return b; } else { @@ -19034,7 +16814,6 @@ public com.google.protobuf.ByteString getChecksumBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -19047,7 +16826,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } @@ -19077,18 +16856,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) obj; - if (!getUri().equals(other.getUri())) return false; - if (!getChecksum().equals(other.getChecksum())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getChecksum() + .equals(other.getChecksum())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -19109,106 +16887,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -19218,51 +16978,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Specifies an artifact available via some URI.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote) com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - .class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - .Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -19274,23 +17027,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote result = - buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -19298,11 +17047,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote( - this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote(this); result.uri_ = uri_; result.checksum_ = checksum_; onBuilt(); @@ -19313,56 +17059,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) { + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.getDefaultInstance()) return this; if (!other.getUri().isEmpty()) { uri_ = other.uri_; onChanged(); @@ -19386,14 +17122,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -19405,21 +17138,19 @@ public Builder mergeFrom( private java.lang.Object uri_ = ""; /** - * - * *
            * URI from which to fetch the object. It should contain both the protocol
            * and path following the format {protocol}://{location}.
            * 
* * string uri = 1; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -19428,22 +17159,21 @@ public java.lang.String getUri() { } } /** - * - * *
            * URI from which to fetch the object. It should contain both the protocol
            * and path following the format {protocol}://{location}.
            * 
* * string uri = 1; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -19451,64 +17181,57 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
            * URI from which to fetch the object. It should contain both the protocol
            * and path following the format {protocol}://{location}.
            * 
* * string uri = 1; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
            * URI from which to fetch the object. It should contain both the protocol
            * and path following the format {protocol}://{location}.
            * 
* * string uri = 1; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
            * URI from which to fetch the object. It should contain both the protocol
            * and path following the format {protocol}://{location}.
            * 
* * string uri = 1; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -19516,8 +17239,6 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object checksum_ = ""; /** - * - * *
            * Must be provided if `allow_insecure` is `false`.
            * SHA256 checksum in hex format, to compare to the checksum of the
@@ -19527,13 +17248,13 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) {
            * 
* * string checksum = 2; - * * @return The checksum. */ public java.lang.String getChecksum() { java.lang.Object ref = checksum_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checksum_ = s; return s; @@ -19542,8 +17263,6 @@ public java.lang.String getChecksum() { } } /** - * - * *
            * Must be provided if `allow_insecure` is `false`.
            * SHA256 checksum in hex format, to compare to the checksum of the
@@ -19553,14 +17272,15 @@ public java.lang.String getChecksum() {
            * 
* * string checksum = 2; - * * @return The bytes for checksum. */ - public com.google.protobuf.ByteString getChecksumBytes() { + public com.google.protobuf.ByteString + getChecksumBytes() { java.lang.Object ref = checksum_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); checksum_ = b; return b; } else { @@ -19568,8 +17288,6 @@ public com.google.protobuf.ByteString getChecksumBytes() { } } /** - * - * *
            * Must be provided if `allow_insecure` is `false`.
            * SHA256 checksum in hex format, to compare to the checksum of the
@@ -19579,22 +17297,20 @@ public com.google.protobuf.ByteString getChecksumBytes() {
            * 
* * string checksum = 2; - * * @param value The checksum to set. * @return This builder for chaining. */ - public Builder setChecksum(java.lang.String value) { + public Builder setChecksum( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + checksum_ = value; onChanged(); return this; } /** - * - * *
            * Must be provided if `allow_insecure` is `false`.
            * SHA256 checksum in hex format, to compare to the checksum of the
@@ -19604,18 +17320,15 @@ public Builder setChecksum(java.lang.String value) {
            * 
* * string checksum = 2; - * * @return This builder for chaining. */ public Builder clearChecksum() { - + checksum_ = getDefaultInstance().getChecksum(); onChanged(); return this; } /** - * - * *
            * Must be provided if `allow_insecure` is `false`.
            * SHA256 checksum in hex format, to compare to the checksum of the
@@ -19625,21 +17338,20 @@ public Builder clearChecksum() {
            * 
* * string checksum = 2; - * * @param value The bytes for checksum to set. * @return This builder for chaining. */ - public Builder setChecksumBytes(com.google.protobuf.ByteString value) { + public Builder setChecksumBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + checksum_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -19652,34 +17364,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - .Remote - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Remote parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Remote(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Remote parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Remote(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -19691,20 +17399,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GcsOrBuilder - extends + public interface GcsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Bucket of the Google Cloud Storage object.
          * Given an example URL:
@@ -19713,13 +17418,10 @@ public interface GcsOrBuilder
          * 
* * string bucket = 1; - * * @return The bucket. */ java.lang.String getBucket(); /** - * - * *
          * Bucket of the Google Cloud Storage object.
          * Given an example URL:
@@ -19728,14 +17430,12 @@ public interface GcsOrBuilder
          * 
* * string bucket = 1; - * * @return The bytes for bucket. */ - com.google.protobuf.ByteString getBucketBytes(); + com.google.protobuf.ByteString + getBucketBytes(); /** - * - * *
          * Name of the Google Cloud Storage object.
          * As specified [here]
@@ -19746,13 +17446,10 @@ public interface GcsOrBuilder
          * 
* * string object = 2; - * * @return The object. */ java.lang.String getObject(); /** - * - * *
          * Name of the Google Cloud Storage object.
          * As specified [here]
@@ -19763,14 +17460,12 @@ public interface GcsOrBuilder
          * 
* * string object = 2; - * * @return The bytes for object. */ - com.google.protobuf.ByteString getObjectBytes(); + com.google.protobuf.ByteString + getObjectBytes(); /** - * - * *
          * Must be provided if allow_insecure is false.
          * Generation number of the Google Cloud Storage object.
@@ -19779,30 +17474,26 @@ public interface GcsOrBuilder
          * 
* * int64 generation = 3; - * * @return The generation. */ long getGeneration(); } /** - * - * *
        * Specifies an artifact available as a Google Cloud Storage object.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs} */ - public static final class Gcs extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Gcs extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs) GcsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Gcs.newBuilder() to construct. private Gcs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Gcs() { bucket_ = ""; object_ = ""; @@ -19810,15 +17501,16 @@ private Gcs() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Gcs(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Gcs( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -19837,32 +17529,30 @@ private Gcs( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - bucket_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + bucket_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - object_ = s; - break; - } - case 24: - { - generation_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + object_ = s; + break; + } + case 24: { + + generation_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -19870,35 +17560,29 @@ private Gcs( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder - .class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder.class); } public static final int BUCKET_FIELD_NUMBER = 1; private volatile java.lang.Object bucket_; /** - * - * *
          * Bucket of the Google Cloud Storage object.
          * Given an example URL:
@@ -19907,7 +17591,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          * 
* * string bucket = 1; - * * @return The bucket. */ @java.lang.Override @@ -19916,15 +17599,14 @@ public java.lang.String getBucket() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; } } /** - * - * *
          * Bucket of the Google Cloud Storage object.
          * Given an example URL:
@@ -19933,15 +17615,16 @@ public java.lang.String getBucket() {
          * 
* * string bucket = 1; - * * @return The bytes for bucket. */ @java.lang.Override - public com.google.protobuf.ByteString getBucketBytes() { + public com.google.protobuf.ByteString + getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bucket_ = b; return b; } else { @@ -19952,8 +17635,6 @@ public com.google.protobuf.ByteString getBucketBytes() { public static final int OBJECT_FIELD_NUMBER = 2; private volatile java.lang.Object object_; /** - * - * *
          * Name of the Google Cloud Storage object.
          * As specified [here]
@@ -19964,7 +17645,6 @@ public com.google.protobuf.ByteString getBucketBytes() {
          * 
* * string object = 2; - * * @return The object. */ @java.lang.Override @@ -19973,15 +17653,14 @@ public java.lang.String getObject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; } } /** - * - * *
          * Name of the Google Cloud Storage object.
          * As specified [here]
@@ -19992,15 +17671,16 @@ public java.lang.String getObject() {
          * 
* * string object = 2; - * * @return The bytes for object. */ @java.lang.Override - public com.google.protobuf.ByteString getObjectBytes() { + public com.google.protobuf.ByteString + getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); object_ = b; return b; } else { @@ -20011,8 +17691,6 @@ public com.google.protobuf.ByteString getObjectBytes() { public static final int GENERATION_FIELD_NUMBER = 3; private long generation_; /** - * - * *
          * Must be provided if allow_insecure is false.
          * Generation number of the Google Cloud Storage object.
@@ -20021,7 +17699,6 @@ public com.google.protobuf.ByteString getObjectBytes() {
          * 
* * int64 generation = 3; - * * @return The generation. */ @java.lang.Override @@ -20030,7 +17707,6 @@ public long getGeneration() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -20043,7 +17719,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucket_); } @@ -20069,7 +17745,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, object_); } if (generation_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, generation_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, generation_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -20079,19 +17756,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) obj; - if (!getBucket().equals(other.getBucket())) return false; - if (!getObject().equals(other.getObject())) return false; - if (getGeneration() != other.getGeneration()) return false; + if (!getBucket() + .equals(other.getBucket())) return false; + if (!getObject() + .equals(other.getObject())) return false; + if (getGeneration() + != other.getGeneration()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -20108,111 +17785,95 @@ public int hashCode() { hash = (37 * hash) + OBJECT_FIELD_NUMBER; hash = (53 * hash) + getObject().hashCode(); hash = (37 * hash) + GENERATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGeneration()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getGeneration()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -20222,51 +17883,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Specifies an artifact available as a Google Cloud Storage object.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs) com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - .class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - .Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -20280,23 +17934,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs result = - buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -20304,11 +17954,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs( - this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs(this); result.bucket_ = bucket_; result.object_ = object_; result.generation_ = generation_; @@ -20320,56 +17967,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) { + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.getDefaultInstance()) return this; if (!other.getBucket().isEmpty()) { bucket_ = other.bucket_; onChanged(); @@ -20396,14 +18033,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -20415,8 +18049,6 @@ public Builder mergeFrom( private java.lang.Object bucket_ = ""; /** - * - * *
            * Bucket of the Google Cloud Storage object.
            * Given an example URL:
@@ -20425,13 +18057,13 @@ public Builder mergeFrom(
            * 
* * string bucket = 1; - * * @return The bucket. */ public java.lang.String getBucket() { java.lang.Object ref = bucket_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; @@ -20440,8 +18072,6 @@ public java.lang.String getBucket() { } } /** - * - * *
            * Bucket of the Google Cloud Storage object.
            * Given an example URL:
@@ -20450,14 +18080,15 @@ public java.lang.String getBucket() {
            * 
* * string bucket = 1; - * * @return The bytes for bucket. */ - public com.google.protobuf.ByteString getBucketBytes() { + public com.google.protobuf.ByteString + getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bucket_ = b; return b; } else { @@ -20465,8 +18096,6 @@ public com.google.protobuf.ByteString getBucketBytes() { } } /** - * - * *
            * Bucket of the Google Cloud Storage object.
            * Given an example URL:
@@ -20475,22 +18104,20 @@ public com.google.protobuf.ByteString getBucketBytes() {
            * 
* * string bucket = 1; - * * @param value The bucket to set. * @return This builder for chaining. */ - public Builder setBucket(java.lang.String value) { + public Builder setBucket( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucket_ = value; onChanged(); return this; } /** - * - * *
            * Bucket of the Google Cloud Storage object.
            * Given an example URL:
@@ -20499,18 +18126,15 @@ public Builder setBucket(java.lang.String value) {
            * 
* * string bucket = 1; - * * @return This builder for chaining. */ public Builder clearBucket() { - + bucket_ = getDefaultInstance().getBucket(); onChanged(); return this; } /** - * - * *
            * Bucket of the Google Cloud Storage object.
            * Given an example URL:
@@ -20519,16 +18143,16 @@ public Builder clearBucket() {
            * 
* * string bucket = 1; - * * @param value The bytes for bucket to set. * @return This builder for chaining. */ - public Builder setBucketBytes(com.google.protobuf.ByteString value) { + public Builder setBucketBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucket_ = value; onChanged(); return this; @@ -20536,8 +18160,6 @@ public Builder setBucketBytes(com.google.protobuf.ByteString value) { private java.lang.Object object_ = ""; /** - * - * *
            * Name of the Google Cloud Storage object.
            * As specified [here]
@@ -20548,13 +18170,13 @@ public Builder setBucketBytes(com.google.protobuf.ByteString value) {
            * 
* * string object = 2; - * * @return The object. */ public java.lang.String getObject() { java.lang.Object ref = object_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; @@ -20563,8 +18185,6 @@ public java.lang.String getObject() { } } /** - * - * *
            * Name of the Google Cloud Storage object.
            * As specified [here]
@@ -20575,14 +18195,15 @@ public java.lang.String getObject() {
            * 
* * string object = 2; - * * @return The bytes for object. */ - public com.google.protobuf.ByteString getObjectBytes() { + public com.google.protobuf.ByteString + getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); object_ = b; return b; } else { @@ -20590,8 +18211,6 @@ public com.google.protobuf.ByteString getObjectBytes() { } } /** - * - * *
            * Name of the Google Cloud Storage object.
            * As specified [here]
@@ -20602,22 +18221,20 @@ public com.google.protobuf.ByteString getObjectBytes() {
            * 
* * string object = 2; - * * @param value The object to set. * @return This builder for chaining. */ - public Builder setObject(java.lang.String value) { + public Builder setObject( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + object_ = value; onChanged(); return this; } /** - * - * *
            * Name of the Google Cloud Storage object.
            * As specified [here]
@@ -20628,18 +18245,15 @@ public Builder setObject(java.lang.String value) {
            * 
* * string object = 2; - * * @return This builder for chaining. */ public Builder clearObject() { - + object_ = getDefaultInstance().getObject(); onChanged(); return this; } /** - * - * *
            * Name of the Google Cloud Storage object.
            * As specified [here]
@@ -20650,25 +18264,23 @@ public Builder clearObject() {
            * 
* * string object = 2; - * * @param value The bytes for object to set. * @return This builder for chaining. */ - public Builder setObjectBytes(com.google.protobuf.ByteString value) { + public Builder setObjectBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + object_ = value; onChanged(); return this; } - private long generation_; + private long generation_ ; /** - * - * *
            * Must be provided if allow_insecure is false.
            * Generation number of the Google Cloud Storage object.
@@ -20677,7 +18289,6 @@ public Builder setObjectBytes(com.google.protobuf.ByteString value) {
            * 
* * int64 generation = 3; - * * @return The generation. */ @java.lang.Override @@ -20685,8 +18296,6 @@ public long getGeneration() { return generation_; } /** - * - * *
            * Must be provided if allow_insecure is false.
            * Generation number of the Google Cloud Storage object.
@@ -20695,19 +18304,16 @@ public long getGeneration() {
            * 
* * int64 generation = 3; - * * @param value The generation to set. * @return This builder for chaining. */ public Builder setGeneration(long value) { - + generation_ = value; onChanged(); return this; } /** - * - * *
            * Must be provided if allow_insecure is false.
            * Generation number of the Google Cloud Storage object.
@@ -20716,16 +18322,14 @@ public Builder setGeneration(long value) {
            * 
* * int64 generation = 3; - * * @return This builder for chaining. */ public Builder clearGeneration() { - + generation_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -20738,34 +18342,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - .Gcs - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Gcs parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Gcs(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Gcs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Gcs(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -20777,24 +18377,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int artifactCase_ = 0; private java.lang.Object artifact_; - public enum ArtifactCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { REMOTE(2), GCS(3), ARTIFACT_NOT_SET(0); private final int value; - private ArtifactCase(int value) { this.value = value; } @@ -20810,38 +18407,32 @@ public static ArtifactCase valueOf(int value) { public static ArtifactCase forNumber(int value) { switch (value) { - case 2: - return REMOTE; - case 3: - return GCS; - case 0: - return ARTIFACT_NOT_SET; - default: - return null; + case 2: return REMOTE; + case 3: return GCS; + case 0: return ARTIFACT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ArtifactCase getArtifactCase() { - return ArtifactCase.forNumber(artifactCase_); + public ArtifactCase + getArtifactCase() { + return ArtifactCase.forNumber( + artifactCase_); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** - * - * *
        * Required. Id of the artifact, which the installation and update steps of this
        * recipe can reference. Artifacts in a recipe cannot have the same id.
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ @java.lang.Override @@ -20850,30 +18441,30 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
        * Required. Id of the artifact, which the installation and update steps of this
        * recipe can reference. Artifacts in a recipe cannot have the same id.
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -20883,14 +18474,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int REMOTE_FIELD_NUMBER = 2; /** - * - * *
        * A generic remote artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; - * * @return Whether the remote field is set. */ @java.lang.Override @@ -20898,29 +18486,21 @@ public boolean hasRemote() { return artifactCase_ == 2; } /** - * - * *
        * A generic remote artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; - * * @return The remote. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - getRemote() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote getRemote() { if (artifactCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) - artifact_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.getDefaultInstance(); } /** - * - * *
        * A generic remote artifact.
        * 
@@ -20928,26 +18508,20 @@ public boolean hasRemote() { * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder - getRemoteOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder getRemoteOrBuilder() { if (artifactCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) - artifact_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.getDefaultInstance(); } public static final int GCS_FIELD_NUMBER = 3; /** - * - * *
        * A Google Cloud Storage artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; - * * @return Whether the gcs field is set. */ @java.lang.Override @@ -20955,28 +18529,21 @@ public boolean hasGcs() { return artifactCase_ == 3; } /** - * - * *
        * A Google Cloud Storage artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; - * * @return The gcs. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs getGcs() { if (artifactCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) - artifact_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.getDefaultInstance(); } /** - * - * *
        * A Google Cloud Storage artifact.
        * 
@@ -20984,21 +18551,16 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gc * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder - getGcsOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder getGcsOrBuilder() { if (artifactCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) - artifact_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.getDefaultInstance(); } public static final int ALLOW_INSECURE_FIELD_NUMBER = 4; private boolean allowInsecure_; /** - * - * *
        * Defaults to false. When false, recipes are subject to validations
        * based on the artifact type:
@@ -21008,7 +18570,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gc
        * 
* * bool allow_insecure = 4; - * * @return The allowInsecure. */ @java.lang.Override @@ -21017,7 +18578,6 @@ public boolean getAllowInsecure() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -21029,21 +18589,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (artifactCase_ == 2) { - output.writeMessage( - 2, - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) - artifact_); + output.writeMessage(2, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_); } if (artifactCase_ == 3) { - output.writeMessage( - 3, - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) - artifact_); + output.writeMessage(3, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_); } if (allowInsecure_ != false) { output.writeBool(4, allowInsecure_); @@ -21061,21 +18616,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (artifactCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) - artifact_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_); } if (artifactCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) - artifact_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_); } if (allowInsecure_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowInsecure_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, allowInsecure_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -21085,24 +18635,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact) obj; - if (!getId().equals(other.getId())) return false; - if (getAllowInsecure() != other.getAllowInsecure()) return false; + if (!getId() + .equals(other.getId())) return false; + if (getAllowInsecure() + != other.getAllowInsecure()) return false; if (!getArtifactCase().equals(other.getArtifactCase())) return false; switch (artifactCase_) { case 2: - if (!getRemote().equals(other.getRemote())) return false; + if (!getRemote() + .equals(other.getRemote())) return false; break; case 3: - if (!getGcs().equals(other.getGcs())) return false; + if (!getGcs() + .equals(other.getGcs())) return false; break; case 0: default: @@ -21121,7 +18673,8 @@ public int hashCode() { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); hash = (37 * hash) + ALLOW_INSECURE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowInsecure()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowInsecure()); switch (artifactCase_) { case 2: hash = (37 * hash) + REMOTE_FIELD_NUMBER; @@ -21139,103 +18692,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -21245,50 +18783,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Specifies a resource to be used in the recipe.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact) com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder - .class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -21302,22 +18834,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact result = - buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -21325,10 +18854,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact bu } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact(this); result.id_ = id_; if (artifactCase_ == 2) { if (remoteBuilder_ == null) { @@ -21354,54 +18881,46 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact) other); + if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact) { + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); @@ -21410,20 +18929,17 @@ public Builder mergeFrom( setAllowInsecure(other.getAllowInsecure()); } switch (other.getArtifactCase()) { - case REMOTE: - { - mergeRemote(other.getRemote()); - break; - } - case GCS: - { - mergeGcs(other.getGcs()); - break; - } - case ARTIFACT_NOT_SET: - { - break; - } + case REMOTE: { + mergeRemote(other.getRemote()); + break; + } + case GCS: { + mergeGcs(other.getGcs()); + break; + } + case ARTIFACT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -21440,14 +18956,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parsedMessage = - null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -21456,12 +18969,12 @@ public Builder mergeFrom( } return this; } - private int artifactCase_ = 0; private java.lang.Object artifact_; - - public ArtifactCase getArtifactCase() { - return ArtifactCase.forNumber(artifactCase_); + public ArtifactCase + getArtifactCase() { + return ArtifactCase.forNumber( + artifactCase_); } public Builder clearArtifact() { @@ -21471,23 +18984,22 @@ public Builder clearArtifact() { return this; } + private java.lang.Object id_ = ""; /** - * - * *
          * Required. Id of the artifact, which the installation and update steps of this
          * recipe can reference. Artifacts in a recipe cannot have the same id.
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -21496,22 +19008,21 @@ public java.lang.String getId() { } } /** - * - * *
          * Required. Id of the artifact, which the installation and update steps of this
          * recipe can reference. Artifacts in a recipe cannot have the same id.
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -21519,85 +19030,70 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
          * Required. Id of the artifact, which the installation and update steps of this
          * recipe can reference. Artifacts in a recipe cannot have the same id.
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
          * Required. Id of the artifact, which the installation and update steps of this
          * recipe can reference. Artifacts in a recipe cannot have the same id.
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
          * Required. Id of the artifact, which the installation and update steps of this
          * recipe can reference. Artifacts in a recipe cannot have the same id.
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - .RemoteOrBuilder> - remoteBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder> remoteBuilder_; /** - * - * *
          * A generic remote artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; - * * @return Whether the remote field is set. */ @java.lang.Override @@ -21605,45 +19101,35 @@ public boolean hasRemote() { return artifactCase_ == 2; } /** - * - * *
          * A generic remote artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; - * * @return The remote. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - getRemote() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote getRemote() { if (remoteBuilder_ == null) { if (artifactCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) - artifact_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.getDefaultInstance(); } else { if (artifactCase_ == 2) { return remoteBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.getDefaultInstance(); } } /** - * - * *
          * A generic remote artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; */ - public Builder setRemote( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote value) { + public Builder setRemote(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote value) { if (remoteBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -21657,8 +19143,6 @@ public Builder setRemote( return this; } /** - * - * *
          * A generic remote artifact.
          * 
@@ -21666,8 +19150,7 @@ public Builder setRemote( * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; */ public Builder setRemote( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder builderForValue) { if (remoteBuilder_ == null) { artifact_ = builderForValue.build(); onChanged(); @@ -21678,29 +19161,18 @@ public Builder setRemote( return this; } /** - * - * *
          * A generic remote artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; */ - public Builder mergeRemote( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote value) { + public Builder mergeRemote(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote value) { if (remoteBuilder_ == null) { - if (artifactCase_ == 2 - && artifact_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - .getDefaultInstance()) { - artifact_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - .newBuilder( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - .Remote) - artifact_) - .mergeFrom(value) - .buildPartial(); + if (artifactCase_ == 2 && + artifact_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.getDefaultInstance()) { + artifact_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_) + .mergeFrom(value).buildPartial(); } else { artifact_ = value; } @@ -21716,8 +19188,6 @@ public Builder mergeRemote( return this; } /** - * - * *
          * A generic remote artifact.
          * 
@@ -21741,21 +19211,16 @@ public Builder clearRemote() { return this; } /** - * - * *
          * A generic remote artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder - getRemoteBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder getRemoteBuilder() { return getRemoteFieldBuilder().getBuilder(); } /** - * - * *
          * A generic remote artifact.
          * 
@@ -21763,23 +19228,17 @@ public Builder clearRemote() { * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - .RemoteOrBuilder - getRemoteOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder getRemoteOrBuilder() { if ((artifactCase_ == 2) && (remoteBuilder_ != null)) { return remoteBuilder_.getMessageOrBuilder(); } else { if (artifactCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) - artifact_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.getDefaultInstance(); } } /** - * - * *
          * A generic remote artifact.
          * 
@@ -21787,51 +19246,32 @@ public Builder clearRemote() { * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - .RemoteOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder> getRemoteFieldBuilder() { if (remoteBuilder_ == null) { if (!(artifactCase_ == 2)) { - artifact_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - .getDefaultInstance(); - } - remoteBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - .RemoteOrBuilder>( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) - artifact_, + artifact_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.getDefaultInstance(); + } + remoteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder>( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_, getParentForChildren(), isClean()); artifact_ = null; } artifactCase_ = 2; - onChanged(); - ; + onChanged();; return remoteBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder> - gcsBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder> gcsBuilder_; /** - * - * *
          * A Google Cloud Storage artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; - * * @return Whether the gcs field is set. */ @java.lang.Override @@ -21839,44 +19279,35 @@ public boolean hasGcs() { return artifactCase_ == 3; } /** - * - * *
          * A Google Cloud Storage artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; - * * @return The gcs. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs getGcs() { if (gcsBuilder_ == null) { if (artifactCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) - artifact_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.getDefaultInstance(); } else { if (artifactCase_ == 3) { return gcsBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.getDefaultInstance(); } } /** - * - * *
          * A Google Cloud Storage artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; */ - public Builder setGcs( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs value) { + public Builder setGcs(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs value) { if (gcsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -21890,8 +19321,6 @@ public Builder setGcs( return this; } /** - * - * *
          * A Google Cloud Storage artifact.
          * 
@@ -21899,8 +19328,7 @@ public Builder setGcs( * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; */ public Builder setGcs( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder builderForValue) { if (gcsBuilder_ == null) { artifact_ = builderForValue.build(); onChanged(); @@ -21911,29 +19339,18 @@ public Builder setGcs( return this; } /** - * - * *
          * A Google Cloud Storage artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; */ - public Builder mergeGcs( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs value) { + public Builder mergeGcs(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs value) { if (gcsBuilder_ == null) { - if (artifactCase_ == 3 - && artifact_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - .getDefaultInstance()) { - artifact_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - .newBuilder( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - .Gcs) - artifact_) - .mergeFrom(value) - .buildPartial(); + if (artifactCase_ == 3 && + artifact_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.getDefaultInstance()) { + artifact_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_) + .mergeFrom(value).buildPartial(); } else { artifact_ = value; } @@ -21949,8 +19366,6 @@ public Builder mergeGcs( return this; } /** - * - * *
          * A Google Cloud Storage artifact.
          * 
@@ -21974,21 +19389,16 @@ public Builder clearGcs() { return this; } /** - * - * *
          * A Google Cloud Storage artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder - getGcsBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder getGcsBuilder() { return getGcsFieldBuilder().getBuilder(); } /** - * - * *
          * A Google Cloud Storage artifact.
          * 
@@ -21996,22 +19406,17 @@ public Builder clearGcs() { * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder - getGcsOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder getGcsOrBuilder() { if ((artifactCase_ == 3) && (gcsBuilder_ != null)) { return gcsBuilder_.getMessageOrBuilder(); } else { if (artifactCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) - artifact_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.getDefaultInstance(); } } /** - * - * *
          * A Google Cloud Storage artifact.
          * 
@@ -22019,39 +19424,26 @@ public Builder clearGcs() { * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder> getGcsFieldBuilder() { if (gcsBuilder_ == null) { if (!(artifactCase_ == 3)) { - artifact_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - .getDefaultInstance(); - } - gcsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - .GcsOrBuilder>( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) - artifact_, + artifact_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.getDefaultInstance(); + } + gcsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder>( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_, getParentForChildren(), isClean()); artifact_ = null; } artifactCase_ = 3; - onChanged(); - ; + onChanged();; return gcsBuilder_; } - private boolean allowInsecure_; + private boolean allowInsecure_ ; /** - * - * *
          * Defaults to false. When false, recipes are subject to validations
          * based on the artifact type:
@@ -22061,7 +19453,6 @@ public Builder clearGcs() {
          * 
* * bool allow_insecure = 4; - * * @return The allowInsecure. */ @java.lang.Override @@ -22069,8 +19460,6 @@ public boolean getAllowInsecure() { return allowInsecure_; } /** - * - * *
          * Defaults to false. When false, recipes are subject to validations
          * based on the artifact type:
@@ -22080,19 +19469,16 @@ public boolean getAllowInsecure() {
          * 
* * bool allow_insecure = 4; - * * @param value The allowInsecure to set. * @return This builder for chaining. */ public Builder setAllowInsecure(boolean value) { - + allowInsecure_ = value; onChanged(); return this; } /** - * - * *
          * Defaults to false. When false, recipes are subject to validations
          * based on the artifact type:
@@ -22102,16 +19488,14 @@ public Builder setAllowInsecure(boolean value) {
          * 
* * bool allow_insecure = 4; - * * @return This builder for chaining. */ public Builder clearAllowInsecure() { - + allowInsecure_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -22124,33 +19508,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Artifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Artifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Artifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Artifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -22162,323 +19543,238 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface StepOrBuilder - extends + public interface StepOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Step) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Copies a file onto the instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; - * * @return Whether the fileCopy field is set. */ boolean hasFileCopy(); /** - * - * *
        * Copies a file onto the instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; - * * @return The fileCopy. */ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile getFileCopy(); /** - * - * *
        * Copies a file onto the instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder - getFileCopyOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder getFileCopyOrBuilder(); /** - * - * *
        * Extracts an archive into the specified directory.
        * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; * @return Whether the archiveExtraction field is set. */ boolean hasArchiveExtraction(); /** - * - * *
        * Extracts an archive into the specified directory.
        * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; * @return The archiveExtraction. */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - getArchiveExtraction(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive getArchiveExtraction(); /** - * - * *
        * Extracts an archive into the specified directory.
        * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder - getArchiveExtractionOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder getArchiveExtractionOrBuilder(); /** - * - * *
        * Installs an MSI file.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; * @return Whether the msiInstallation field is set. */ boolean hasMsiInstallation(); /** - * - * *
        * Installs an MSI file.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; * @return The msiInstallation. */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - getMsiInstallation(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi getMsiInstallation(); /** - * - * *
        * Installs an MSI file.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder - getMsiInstallationOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder getMsiInstallationOrBuilder(); /** - * - * *
        * Installs a deb file via dpkg.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; * @return Whether the dpkgInstallation field is set. */ boolean hasDpkgInstallation(); /** - * - * *
        * Installs a deb file via dpkg.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; * @return The dpkgInstallation. */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - getDpkgInstallation(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg getDpkgInstallation(); /** - * - * *
        * Installs a deb file via dpkg.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder - getDpkgInstallationOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder getDpkgInstallationOrBuilder(); /** - * - * *
        * Installs an rpm file via the rpm utility.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; * @return Whether the rpmInstallation field is set. */ boolean hasRpmInstallation(); /** - * - * *
        * Installs an rpm file via the rpm utility.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; * @return The rpmInstallation. */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - getRpmInstallation(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm getRpmInstallation(); /** - * - * *
        * Installs an rpm file via the rpm utility.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder - getRpmInstallationOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder getRpmInstallationOrBuilder(); /** - * - * *
        * Executes an artifact or local file.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; - * * @return Whether the fileExec field is set. */ boolean hasFileExec(); /** - * - * *
        * Executes an artifact or local file.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; - * * @return The fileExec. */ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile getFileExec(); /** - * - * *
        * Executes an artifact or local file.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder - getFileExecOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder getFileExecOrBuilder(); /** - * - * *
        * Runs commands in a shell.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; - * * @return Whether the scriptRun field is set. */ boolean hasScriptRun(); /** - * - * *
        * Runs commands in a shell.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; - * * @return The scriptRun. */ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript getScriptRun(); /** - * - * *
        * Runs commands in a shell.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder - getScriptRunOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder getScriptRunOrBuilder(); - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.StepCase - getStepCase(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.StepCase getStepCase(); } /** - * - * *
      * An action that can be taken as part of installing or updating a recipe.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step} */ - public static final class Step extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Step extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step) StepOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Step.newBuilder() to construct. private Step(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Step() {} + private Step() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Step(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Step( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -22497,202 +19793,111 @@ private Step( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - .Builder - subBuilder = null; - if (stepCase_ == 1) { - subBuilder = - ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .CopyFile) - step_) - .toBuilder(); - } - step_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .CopyFile.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .CopyFile) - step_); - step_ = subBuilder.buildPartial(); - } - stepCase_ = 1; - break; + case 10: { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder subBuilder = null; + if (stepCase_ == 1) { + subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_).toBuilder(); } - case 18: - { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .Builder - subBuilder = null; - if (stepCase_ == 2) { - subBuilder = - ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive) - step_) - .toBuilder(); - } - step_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive) - step_); - step_ = subBuilder.buildPartial(); - } - stepCase_ = 2; - break; + step_ = + input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_); + step_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - .Builder - subBuilder = null; - if (stepCase_ == 3) { - subBuilder = - ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallMsi) - step_) - .toBuilder(); - } - step_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallMsi.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallMsi) - step_); - step_ = subBuilder.buildPartial(); - } - stepCase_ = 3; - break; + stepCase_ = 1; + break; + } + case 18: { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder subBuilder = null; + if (stepCase_ == 2) { + subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_).toBuilder(); } - case 34: - { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - .Builder - subBuilder = null; - if (stepCase_ == 4) { - subBuilder = - ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallDpkg) - step_) - .toBuilder(); - } - step_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallDpkg.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallDpkg) - step_); - step_ = subBuilder.buildPartial(); - } - stepCase_ = 4; - break; + step_ = + input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_); + step_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - .Builder - subBuilder = null; - if (stepCase_ == 5) { - subBuilder = - ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallRpm) - step_) - .toBuilder(); - } - step_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallRpm.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallRpm) - step_); - step_ = subBuilder.buildPartial(); - } - stepCase_ = 5; - break; + stepCase_ = 2; + break; + } + case 26: { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder subBuilder = null; + if (stepCase_ == 3) { + subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_).toBuilder(); } - case 50: - { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - .Builder - subBuilder = null; - if (stepCase_ == 6) { - subBuilder = - ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExecFile) - step_) - .toBuilder(); - } - step_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExecFile.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExecFile) - step_); - step_ = subBuilder.buildPartial(); - } - stepCase_ = 6; - break; + step_ = + input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_); + step_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .Builder - subBuilder = null; - if (stepCase_ == 7) { - subBuilder = - ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .RunScript) - step_) - .toBuilder(); - } - step_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .RunScript.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .RunScript) - step_); - step_ = subBuilder.buildPartial(); - } - stepCase_ = 7; - break; + stepCase_ = 3; + break; + } + case 34: { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder subBuilder = null; + if (stepCase_ == 4) { + subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + step_ = + input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_); + step_ = subBuilder.buildPartial(); + } + stepCase_ = 4; + break; + } + case 42: { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder subBuilder = null; + if (stepCase_ == 5) { + subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_).toBuilder(); + } + step_ = + input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_); + step_ = subBuilder.buildPartial(); + } + stepCase_ = 5; + break; + } + case 50: { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder subBuilder = null; + if (stepCase_ == 6) { + subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_).toBuilder(); + } + step_ = + input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_); + step_ = subBuilder.buildPartial(); + } + stepCase_ = 6; + break; + } + case 58: { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder subBuilder = null; + if (stepCase_ == 7) { + subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_).toBuilder(); + } + step_ = + input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_); + step_ = subBuilder.buildPartial(); + } + stepCase_ = 7; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -22700,87 +19905,71 @@ private Step( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder.class); } - public interface CopyFileOrBuilder - extends + public interface CopyFileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The artifactId. */ java.lang.String getArtifactId(); /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for artifactId. */ - com.google.protobuf.ByteString getArtifactIdBytes(); + com.google.protobuf.ByteString + getArtifactIdBytes(); /** - * - * *
          * Required. The absolute path on the instance to put the file.
          * 
* * string destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The destination. */ java.lang.String getDestination(); /** - * - * *
          * Required. The absolute path on the instance to put the file.
          * 
* * string destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for destination. */ - com.google.protobuf.ByteString getDestinationBytes(); + com.google.protobuf.ByteString + getDestinationBytes(); /** - * - * *
          * Whether to allow this step to overwrite existing files. If this is
          * false and the file already exists the file is not overwritten
@@ -22788,14 +19977,11 @@ public interface CopyFileOrBuilder
          * 
* * bool overwrite = 3; - * * @return The overwrite. */ boolean getOverwrite(); /** - * - * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -22812,13 +19998,10 @@ public interface CopyFileOrBuilder
          * 
* * string permissions = 4; - * * @return The permissions. */ java.lang.String getPermissions(); /** - * - * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -22835,30 +20018,27 @@ public interface CopyFileOrBuilder
          * 
* * string permissions = 4; - * * @return The bytes for permissions. */ - com.google.protobuf.ByteString getPermissionsBytes(); + com.google.protobuf.ByteString + getPermissionsBytes(); } /** - * - * *
        * Copies the artifact to the specified path on the instance.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile} */ - public static final class CopyFile extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CopyFile extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile) CopyFileOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CopyFile.newBuilder() to construct. private CopyFile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CopyFile() { artifactId_ = ""; destination_ = ""; @@ -22867,15 +20047,16 @@ private CopyFile() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CopyFile(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CopyFile( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -22894,39 +20075,36 @@ private CopyFile( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - artifactId_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + artifactId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - destination_ = s; - break; - } - case 24: - { - overwrite_ = input.readBool(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + destination_ = s; + break; + } + case 24: { - permissions_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + overwrite_ = input.readBool(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + permissions_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -22934,41 +20112,34 @@ private CopyFile( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - .Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder.class); } public static final int ARTIFACT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object artifactId_; /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The artifactId. */ @java.lang.Override @@ -22977,29 +20148,29 @@ public java.lang.String getArtifactId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; } } /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for artifactId. */ @java.lang.Override - public com.google.protobuf.ByteString getArtifactIdBytes() { + public com.google.protobuf.ByteString + getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); artifactId_ = b; return b; } else { @@ -23010,14 +20181,11 @@ public com.google.protobuf.ByteString getArtifactIdBytes() { public static final int DESTINATION_FIELD_NUMBER = 2; private volatile java.lang.Object destination_; /** - * - * *
          * Required. The absolute path on the instance to put the file.
          * 
* * string destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The destination. */ @java.lang.Override @@ -23026,29 +20194,29 @@ public java.lang.String getDestination() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destination_ = s; return s; } } /** - * - * *
          * Required. The absolute path on the instance to put the file.
          * 
* * string destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for destination. */ @java.lang.Override - public com.google.protobuf.ByteString getDestinationBytes() { + public com.google.protobuf.ByteString + getDestinationBytes() { java.lang.Object ref = destination_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destination_ = b; return b; } else { @@ -23059,8 +20227,6 @@ public com.google.protobuf.ByteString getDestinationBytes() { public static final int OVERWRITE_FIELD_NUMBER = 3; private boolean overwrite_; /** - * - * *
          * Whether to allow this step to overwrite existing files. If this is
          * false and the file already exists the file is not overwritten
@@ -23068,7 +20234,6 @@ public com.google.protobuf.ByteString getDestinationBytes() {
          * 
* * bool overwrite = 3; - * * @return The overwrite. */ @java.lang.Override @@ -23079,8 +20244,6 @@ public boolean getOverwrite() { public static final int PERMISSIONS_FIELD_NUMBER = 4; private volatile java.lang.Object permissions_; /** - * - * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -23097,7 +20260,6 @@ public boolean getOverwrite() {
          * 
* * string permissions = 4; - * * @return The permissions. */ @java.lang.Override @@ -23106,15 +20268,14 @@ public java.lang.String getPermissions() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); permissions_ = s; return s; } } /** - * - * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -23131,15 +20292,16 @@ public java.lang.String getPermissions() {
          * 
* * string permissions = 4; - * * @return The bytes for permissions. */ @java.lang.Override - public com.google.protobuf.ByteString getPermissionsBytes() { + public com.google.protobuf.ByteString + getPermissionsBytes() { java.lang.Object ref = permissions_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); permissions_ = b; return b; } else { @@ -23148,7 +20310,6 @@ public com.google.protobuf.ByteString getPermissionsBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -23161,7 +20322,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, artifactId_); } @@ -23190,7 +20351,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destination_); } if (overwrite_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, overwrite_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, overwrite_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(permissions_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, permissions_); @@ -23203,20 +20365,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) obj; - if (!getArtifactId().equals(other.getArtifactId())) return false; - if (!getDestination().equals(other.getDestination())) return false; - if (getOverwrite() != other.getOverwrite()) return false; - if (!getPermissions().equals(other.getPermissions())) return false; + if (!getArtifactId() + .equals(other.getArtifactId())) return false; + if (!getDestination() + .equals(other.getDestination())) return false; + if (getOverwrite() + != other.getOverwrite()) return false; + if (!getPermissions() + .equals(other.getPermissions())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -23233,7 +20396,8 @@ public int hashCode() { hash = (37 * hash) + DESTINATION_FIELD_NUMBER; hash = (53 * hash) + getDestination().hashCode(); hash = (37 * hash) + OVERWRITE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOverwrite()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOverwrite()); hash = (37 * hash) + PERMISSIONS_FIELD_NUMBER; hash = (53 * hash) + getPermissions().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -23241,105 +20405,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -23349,51 +20496,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Copies the artifact to the specified path on the instance.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile) com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - .class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - .Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -23409,23 +20549,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile result = - buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -23433,11 +20569,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile( - this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile(this); result.artifactId_ = artifactId_; result.destination_ = destination_; result.overwrite_ = overwrite_; @@ -23450,56 +20583,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) { + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.getDefaultInstance()) return this; if (!other.getArtifactId().isEmpty()) { artifactId_ = other.artifactId_; onChanged(); @@ -23530,14 +20653,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -23549,20 +20669,18 @@ public Builder mergeFrom( private java.lang.Object artifactId_ = ""; /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The artifactId. */ public java.lang.String getArtifactId() { java.lang.Object ref = artifactId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; @@ -23571,21 +20689,20 @@ public java.lang.String getArtifactId() { } } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for artifactId. */ - public com.google.protobuf.ByteString getArtifactIdBytes() { + public com.google.protobuf.ByteString + getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); artifactId_ = b; return b; } else { @@ -23593,61 +20710,54 @@ public com.google.protobuf.ByteString getArtifactIdBytes() { } } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactId(java.lang.String value) { + public Builder setArtifactId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + artifactId_ = value; onChanged(); return this; } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearArtifactId() { - + artifactId_ = getDefaultInstance().getArtifactId(); onChanged(); return this; } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactIdBytes(com.google.protobuf.ByteString value) { + public Builder setArtifactIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + artifactId_ = value; onChanged(); return this; @@ -23655,20 +20765,18 @@ public Builder setArtifactIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object destination_ = ""; /** - * - * *
            * Required. The absolute path on the instance to put the file.
            * 
* * string destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The destination. */ public java.lang.String getDestination() { java.lang.Object ref = destination_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destination_ = s; return s; @@ -23677,21 +20785,20 @@ public java.lang.String getDestination() { } } /** - * - * *
            * Required. The absolute path on the instance to put the file.
            * 
* * string destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for destination. */ - public com.google.protobuf.ByteString getDestinationBytes() { + public com.google.protobuf.ByteString + getDestinationBytes() { java.lang.Object ref = destination_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destination_ = b; return b; } else { @@ -23699,70 +20806,61 @@ public com.google.protobuf.ByteString getDestinationBytes() { } } /** - * - * *
            * Required. The absolute path on the instance to put the file.
            * 
* * string destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The destination to set. * @return This builder for chaining. */ - public Builder setDestination(java.lang.String value) { + public Builder setDestination( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + destination_ = value; onChanged(); return this; } /** - * - * *
            * Required. The absolute path on the instance to put the file.
            * 
* * string destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDestination() { - + destination_ = getDefaultInstance().getDestination(); onChanged(); return this; } /** - * - * *
            * Required. The absolute path on the instance to put the file.
            * 
* * string destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for destination to set. * @return This builder for chaining. */ - public Builder setDestinationBytes(com.google.protobuf.ByteString value) { + public Builder setDestinationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + destination_ = value; onChanged(); return this; } - private boolean overwrite_; + private boolean overwrite_ ; /** - * - * *
            * Whether to allow this step to overwrite existing files. If this is
            * false and the file already exists the file is not overwritten
@@ -23770,7 +20868,6 @@ public Builder setDestinationBytes(com.google.protobuf.ByteString value) {
            * 
* * bool overwrite = 3; - * * @return The overwrite. */ @java.lang.Override @@ -23778,8 +20875,6 @@ public boolean getOverwrite() { return overwrite_; } /** - * - * *
            * Whether to allow this step to overwrite existing files. If this is
            * false and the file already exists the file is not overwritten
@@ -23787,19 +20882,16 @@ public boolean getOverwrite() {
            * 
* * bool overwrite = 3; - * * @param value The overwrite to set. * @return This builder for chaining. */ public Builder setOverwrite(boolean value) { - + overwrite_ = value; onChanged(); return this; } /** - * - * *
            * Whether to allow this step to overwrite existing files. If this is
            * false and the file already exists the file is not overwritten
@@ -23807,11 +20899,10 @@ public Builder setOverwrite(boolean value) {
            * 
* * bool overwrite = 3; - * * @return This builder for chaining. */ public Builder clearOverwrite() { - + overwrite_ = false; onChanged(); return this; @@ -23819,8 +20910,6 @@ public Builder clearOverwrite() { private java.lang.Object permissions_ = ""; /** - * - * *
            * Consists of three octal digits which represent, in
            * order, the permissions of the owner, group, and other users for the
@@ -23837,13 +20926,13 @@ public Builder clearOverwrite() {
            * 
* * string permissions = 4; - * * @return The permissions. */ public java.lang.String getPermissions() { java.lang.Object ref = permissions_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); permissions_ = s; return s; @@ -23852,8 +20941,6 @@ public java.lang.String getPermissions() { } } /** - * - * *
            * Consists of three octal digits which represent, in
            * order, the permissions of the owner, group, and other users for the
@@ -23870,14 +20957,15 @@ public java.lang.String getPermissions() {
            * 
* * string permissions = 4; - * * @return The bytes for permissions. */ - public com.google.protobuf.ByteString getPermissionsBytes() { + public com.google.protobuf.ByteString + getPermissionsBytes() { java.lang.Object ref = permissions_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); permissions_ = b; return b; } else { @@ -23885,8 +20973,6 @@ public com.google.protobuf.ByteString getPermissionsBytes() { } } /** - * - * *
            * Consists of three octal digits which represent, in
            * order, the permissions of the owner, group, and other users for the
@@ -23903,22 +20989,20 @@ public com.google.protobuf.ByteString getPermissionsBytes() {
            * 
* * string permissions = 4; - * * @param value The permissions to set. * @return This builder for chaining. */ - public Builder setPermissions(java.lang.String value) { + public Builder setPermissions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + permissions_ = value; onChanged(); return this; } /** - * - * *
            * Consists of three octal digits which represent, in
            * order, the permissions of the owner, group, and other users for the
@@ -23935,18 +21019,15 @@ public Builder setPermissions(java.lang.String value) {
            * 
* * string permissions = 4; - * * @return This builder for chaining. */ public Builder clearPermissions() { - + permissions_ = getDefaultInstance().getPermissions(); onChanged(); return this; } /** - * - * *
            * Consists of three octal digits which represent, in
            * order, the permissions of the owner, group, and other users for the
@@ -23963,21 +21044,20 @@ public Builder clearPermissions() {
            * 
* * string permissions = 4; - * * @param value The bytes for permissions to set. * @return This builder for chaining. */ - public Builder setPermissionsBytes(com.google.protobuf.ByteString value) { + public Builder setPermissionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + permissions_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -23990,34 +21070,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .CopyFile - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CopyFile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CopyFile(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CopyFile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CopyFile(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -24029,119 +21105,93 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ExtractArchiveOrBuilder - extends + public interface ExtractArchiveOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The artifactId. */ java.lang.String getArtifactId(); /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for artifactId. */ - com.google.protobuf.ByteString getArtifactIdBytes(); + com.google.protobuf.ByteString + getArtifactIdBytes(); /** - * - * *
          * Directory to extract archive to.
          * Defaults to `/` on Linux or `C:\` on Windows.
          * 
* * string destination = 2; - * * @return The destination. */ java.lang.String getDestination(); /** - * - * *
          * Directory to extract archive to.
          * Defaults to `/` on Linux or `C:\` on Windows.
          * 
* * string destination = 2; - * * @return The bytes for destination. */ - com.google.protobuf.ByteString getDestinationBytes(); + com.google.protobuf.ByteString + getDestinationBytes(); /** - * - * *
          * Required. The type of the archive to extract.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
          * Required. The type of the archive to extract.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .ArchiveType - getType(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType getType(); } /** - * - * *
        * Extracts an archive of the type specified in the specified directory.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive} */ - public static final class ExtractArchive extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ExtractArchive extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive) ExtractArchiveOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExtractArchive.newBuilder() to construct. private ExtractArchive(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExtractArchive() { artifactId_ = ""; destination_ = ""; @@ -24150,15 +21200,16 @@ private ExtractArchive() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExtractArchive(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExtractArchive( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -24177,34 +21228,31 @@ private ExtractArchive( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - artifactId_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + artifactId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - destination_ = s; - break; - } - case 24: - { - int rawValue = input.readEnum(); + destination_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + type_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -24212,45 +21260,36 @@ private ExtractArchive( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder.class); } /** - * - * *
          * Specifying the type of archive.
          * 
* - * Protobuf enum {@code - * google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType} + * Protobuf enum {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType} */ - public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { + public enum ArchiveType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
            * Indicates that the archive type isn't specified.
            * 
@@ -24259,8 +21298,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ ARCHIVE_TYPE_UNSPECIFIED(0), /** - * - * *
            * Indicates that the archive is a tar archive with no encryption.
            * 
@@ -24269,8 +21306,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ TAR(1), /** - * - * *
            * Indicates that the archive is a tar archive with gzip encryption.
            * 
@@ -24279,8 +21314,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ TAR_GZIP(2), /** - * - * *
            * Indicates that the archive is a tar archive with bzip encryption.
            * 
@@ -24289,8 +21322,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ TAR_BZIP(3), /** - * - * *
            * Indicates that the archive is a tar archive with lzma encryption.
            * 
@@ -24299,8 +21330,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ TAR_LZMA(4), /** - * - * *
            * Indicates that the archive is a tar archive with xz encryption.
            * 
@@ -24309,8 +21338,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ TAR_XZ(5), /** - * - * *
            * Indicates that the archive is a zip archive.
            * 
@@ -24322,8 +21349,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
            * Indicates that the archive type isn't specified.
            * 
@@ -24332,8 +21357,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARCHIVE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
            * Indicates that the archive is a tar archive with no encryption.
            * 
@@ -24342,8 +21365,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TAR_VALUE = 1; /** - * - * *
            * Indicates that the archive is a tar archive with gzip encryption.
            * 
@@ -24352,8 +21373,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TAR_GZIP_VALUE = 2; /** - * - * *
            * Indicates that the archive is a tar archive with bzip encryption.
            * 
@@ -24362,8 +21381,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TAR_BZIP_VALUE = 3; /** - * - * *
            * Indicates that the archive is a tar archive with lzma encryption.
            * 
@@ -24372,8 +21389,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TAR_LZMA_VALUE = 4; /** - * - * *
            * Indicates that the archive is a tar archive with xz encryption.
            * 
@@ -24382,8 +21397,6 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TAR_XZ_VALUE = 5; /** - * - * *
            * Indicates that the archive is a zip archive.
            * 
@@ -24392,6 +21405,7 @@ public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ZIP_VALUE = 11; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -24416,22 +21430,14 @@ public static ArchiveType valueOf(int value) { */ public static ArchiveType forNumber(int value) { switch (value) { - case 0: - return ARCHIVE_TYPE_UNSPECIFIED; - case 1: - return TAR; - case 2: - return TAR_GZIP; - case 3: - return TAR_BZIP; - case 4: - return TAR_LZMA; - case 5: - return TAR_XZ; - case 11: - return ZIP; - default: - return null; + case 0: return ARCHIVE_TYPE_UNSPECIFIED; + case 1: return TAR; + case 2: return TAR_GZIP; + case 3: return TAR_BZIP; + case 4: return TAR_LZMA; + case 5: return TAR_XZ; + case 11: return ZIP; + default: return null; } } @@ -24439,32 +21445,29 @@ public static ArchiveType forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ArchiveType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ArchiveType findValueByNumber(int number) { + return ArchiveType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ArchiveType findValueByNumber(int number) { - return ArchiveType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDescriptor().getEnumTypes().get(0); } private static final ArchiveType[] VALUES = values(); @@ -24473,7 +21476,7 @@ public static ArchiveType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -24493,14 +21496,11 @@ private ArchiveType(int value) { public static final int ARTIFACT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object artifactId_; /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The artifactId. */ @java.lang.Override @@ -24509,29 +21509,29 @@ public java.lang.String getArtifactId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; } } /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for artifactId. */ @java.lang.Override - public com.google.protobuf.ByteString getArtifactIdBytes() { + public com.google.protobuf.ByteString + getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); artifactId_ = b; return b; } else { @@ -24542,15 +21542,12 @@ public com.google.protobuf.ByteString getArtifactIdBytes() { public static final int DESTINATION_FIELD_NUMBER = 2; private volatile java.lang.Object destination_; /** - * - * *
          * Directory to extract archive to.
          * Defaults to `/` on Linux or `C:\` on Windows.
          * 
* * string destination = 2; - * * @return The destination. */ @java.lang.Override @@ -24559,30 +21556,30 @@ public java.lang.String getDestination() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destination_ = s; return s; } } /** - * - * *
          * Directory to extract archive to.
          * Defaults to `/` on Linux or `C:\` on Windows.
          * 
* * string destination = 2; - * * @return The bytes for destination. */ @java.lang.Override - public com.google.protobuf.ByteString getDestinationBytes() { + public com.google.protobuf.ByteString + getDestinationBytes() { java.lang.Object ref = destination_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destination_ = b; return b; } else { @@ -24593,53 +21590,31 @@ public com.google.protobuf.ByteString getDestinationBytes() { public static final int TYPE_FIELD_NUMBER = 3; private int type_; /** - * - * *
          * Required. The type of the archive to extract.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
          * Required. The type of the archive to extract.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .ArchiveType - getType() { + @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .ArchiveType - result = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .ArchiveType.valueOf(type_); - return result == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .ArchiveType.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType result = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType.valueOf(type_); + return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -24652,17 +21627,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, artifactId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destination_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, destination_); } - if (type_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .ArchiveType.ARCHIVE_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, type_); } unknownFields.writeTo(output); @@ -24680,11 +21652,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destination_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destination_); } - if (type_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .ArchiveType.ARCHIVE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); + if (type_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -24694,19 +21664,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) - obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) obj; - if (!getArtifactId().equals(other.getArtifactId())) return false; - if (!getDestination().equals(other.getDestination())) return false; + if (!getArtifactId() + .equals(other.getArtifactId())) return false; + if (!getDestination() + .equals(other.getDestination())) return false; if (type_ != other.type_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -24730,118 +21698,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -24851,52 +21789,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Extracts an archive of the type specified in the specified directory.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive) - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchiveOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -24910,23 +21840,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - result = buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -24934,12 +21860,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive(this); result.artifactId_ = artifactId_; result.destination_ = destination_; result.type_ = type_; @@ -24951,58 +21873,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) { + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDefaultInstance()) return this; if (!other.getArtifactId().isEmpty()) { artifactId_ = other.artifactId_; onChanged(); @@ -25029,15 +21939,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -25049,20 +21955,18 @@ public Builder mergeFrom( private java.lang.Object artifactId_ = ""; /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The artifactId. */ public java.lang.String getArtifactId() { java.lang.Object ref = artifactId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; @@ -25071,21 +21975,20 @@ public java.lang.String getArtifactId() { } } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for artifactId. */ - public com.google.protobuf.ByteString getArtifactIdBytes() { + public com.google.protobuf.ByteString + getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); artifactId_ = b; return b; } else { @@ -25093,61 +21996,54 @@ public com.google.protobuf.ByteString getArtifactIdBytes() { } } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactId(java.lang.String value) { + public Builder setArtifactId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + artifactId_ = value; onChanged(); return this; } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearArtifactId() { - + artifactId_ = getDefaultInstance().getArtifactId(); onChanged(); return this; } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactIdBytes(com.google.protobuf.ByteString value) { + public Builder setArtifactIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + artifactId_ = value; onChanged(); return this; @@ -25155,21 +22051,19 @@ public Builder setArtifactIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object destination_ = ""; /** - * - * *
            * Directory to extract archive to.
            * Defaults to `/` on Linux or `C:\` on Windows.
            * 
* * string destination = 2; - * * @return The destination. */ public java.lang.String getDestination() { java.lang.Object ref = destination_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destination_ = s; return s; @@ -25178,22 +22072,21 @@ public java.lang.String getDestination() { } } /** - * - * *
            * Directory to extract archive to.
            * Defaults to `/` on Linux or `C:\` on Windows.
            * 
* * string destination = 2; - * * @return The bytes for destination. */ - public com.google.protobuf.ByteString getDestinationBytes() { + public com.google.protobuf.ByteString + getDestinationBytes() { java.lang.Object ref = destination_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destination_ = b; return b; } else { @@ -25201,64 +22094,57 @@ public com.google.protobuf.ByteString getDestinationBytes() { } } /** - * - * *
            * Directory to extract archive to.
            * Defaults to `/` on Linux or `C:\` on Windows.
            * 
* * string destination = 2; - * * @param value The destination to set. * @return This builder for chaining. */ - public Builder setDestination(java.lang.String value) { + public Builder setDestination( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + destination_ = value; onChanged(); return this; } /** - * - * *
            * Directory to extract archive to.
            * Defaults to `/` on Linux or `C:\` on Windows.
            * 
* * string destination = 2; - * * @return This builder for chaining. */ public Builder clearDestination() { - + destination_ = getDefaultInstance().getDestination(); onChanged(); return this; } /** - * - * *
            * Directory to extract archive to.
            * Defaults to `/` on Linux or `C:\` on Windows.
            * 
* * string destination = 2; - * * @param value The bytes for destination to set. * @return This builder for chaining. */ - public Builder setDestinationBytes(com.google.protobuf.ByteString value) { + public Builder setDestinationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + destination_ = value; onChanged(); return this; @@ -25266,116 +22152,77 @@ public Builder setDestinationBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
            * Required. The type of the archive to extract.
            * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
            * Required. The type of the archive to extract.
            * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
            * Required. The type of the archive to extract.
            * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .ArchiveType - getType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .ArchiveType - result = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive.ArchiveType.valueOf(type_); - return result == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .ArchiveType.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType result = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType.valueOf(type_); + return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType.UNRECOGNIZED : result; } /** - * - * *
            * Required. The type of the archive to extract.
            * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .ArchiveType - value) { + public Builder setType(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
            * Required. The type of the archive to extract.
            * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -25388,36 +22235,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExtractArchive parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExtractArchive(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExtractArchive parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExtractArchive(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -25429,157 +22270,129 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface InstallMsiOrBuilder - extends + public interface InstallMsiOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The artifactId. */ java.lang.String getArtifactId(); /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for artifactId. */ - com.google.protobuf.ByteString getArtifactIdBytes(); + com.google.protobuf.ByteString + getArtifactIdBytes(); /** - * - * *
          * The flags to use when installing the MSI
          * defaults to ["/i"] (i.e. the install flag).
          * 
* * repeated string flags = 2; - * * @return A list containing the flags. */ - java.util.List getFlagsList(); + java.util.List + getFlagsList(); /** - * - * *
          * The flags to use when installing the MSI
          * defaults to ["/i"] (i.e. the install flag).
          * 
* * repeated string flags = 2; - * * @return The count of flags. */ int getFlagsCount(); /** - * - * *
          * The flags to use when installing the MSI
          * defaults to ["/i"] (i.e. the install flag).
          * 
* * repeated string flags = 2; - * * @param index The index of the element to return. * @return The flags at the given index. */ java.lang.String getFlags(int index); /** - * - * *
          * The flags to use when installing the MSI
          * defaults to ["/i"] (i.e. the install flag).
          * 
* * repeated string flags = 2; - * * @param index The index of the value to return. * @return The bytes of the flags at the given index. */ - com.google.protobuf.ByteString getFlagsBytes(int index); + com.google.protobuf.ByteString + getFlagsBytes(int index); /** - * - * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 3; - * * @return A list containing the allowedExitCodes. */ java.util.List getAllowedExitCodesList(); /** - * - * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 3; - * * @return The count of allowedExitCodes. */ int getAllowedExitCodesCount(); /** - * - * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 3; - * * @param index The index of the element to return. * @return The allowedExitCodes at the given index. */ int getAllowedExitCodes(int index); } /** - * - * *
        * Installs an MSI file.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi} */ - public static final class InstallMsi extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class InstallMsi extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi) InstallMsiOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InstallMsi.newBuilder() to construct. private InstallMsi(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InstallMsi() { artifactId_ = ""; flags_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -25588,15 +22401,16 @@ private InstallMsi() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InstallMsi(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InstallMsi( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -25616,54 +22430,49 @@ private InstallMsi( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - artifactId_ = s; - break; + artifactId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + flags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - flags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - flags_.add(s); - break; + flags_.add(s); + break; + } + case 24: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + allowedExitCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000002; } - case 24: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - allowedExitCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000002; - } - allowedExitCodes_.addInt(input.readInt32()); - break; + allowedExitCodes_.addInt(input.readInt32()); + break; + } + case 26: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { + allowedExitCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000002; } - case 26: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000002) != 0) - && input.getBytesUntilLimit() > 0) { - allowedExitCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000002; - } - while (input.getBytesUntilLimit() > 0) { - allowedExitCodes_.addInt(input.readInt32()); - } - input.popLimit(limit); - break; + while (input.getBytesUntilLimit() > 0) { + allowedExitCodes_.addInt(input.readInt32()); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + input.popLimit(limit); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -25671,8 +22480,8 @@ private InstallMsi( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { flags_ = flags_.getUnmodifiableView(); @@ -25684,35 +22493,27 @@ private InstallMsi( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - .class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - .Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder.class); } public static final int ARTIFACT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object artifactId_; /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The artifactId. */ @java.lang.Override @@ -25721,29 +22522,29 @@ public java.lang.String getArtifactId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; } } /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for artifactId. */ @java.lang.Override - public com.google.protobuf.ByteString getArtifactIdBytes() { + public com.google.protobuf.ByteString + getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); artifactId_ = b; return b; } else { @@ -25754,45 +22555,37 @@ public com.google.protobuf.ByteString getArtifactIdBytes() { public static final int FLAGS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList flags_; /** - * - * *
          * The flags to use when installing the MSI
          * defaults to ["/i"] (i.e. the install flag).
          * 
* * repeated string flags = 2; - * * @return A list containing the flags. */ - public com.google.protobuf.ProtocolStringList getFlagsList() { + public com.google.protobuf.ProtocolStringList + getFlagsList() { return flags_; } /** - * - * *
          * The flags to use when installing the MSI
          * defaults to ["/i"] (i.e. the install flag).
          * 
* * repeated string flags = 2; - * * @return The count of flags. */ public int getFlagsCount() { return flags_.size(); } /** - * - * *
          * The flags to use when installing the MSI
          * defaults to ["/i"] (i.e. the install flag).
          * 
* * repeated string flags = 2; - * * @param index The index of the element to return. * @return The flags at the given index. */ @@ -25800,76 +22593,64 @@ public java.lang.String getFlags(int index) { return flags_.get(index); } /** - * - * *
          * The flags to use when installing the MSI
          * defaults to ["/i"] (i.e. the install flag).
          * 
* * repeated string flags = 2; - * * @param index The index of the value to return. * @return The bytes of the flags at the given index. */ - public com.google.protobuf.ByteString getFlagsBytes(int index) { + public com.google.protobuf.ByteString + getFlagsBytes(int index) { return flags_.getByteString(index); } public static final int ALLOWED_EXIT_CODES_FIELD_NUMBER = 3; private com.google.protobuf.Internal.IntList allowedExitCodes_; /** - * - * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 3; - * * @return A list containing the allowedExitCodes. */ @java.lang.Override - public java.util.List getAllowedExitCodesList() { + public java.util.List + getAllowedExitCodesList() { return allowedExitCodes_; } /** - * - * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 3; - * * @return The count of allowedExitCodes. */ public int getAllowedExitCodesCount() { return allowedExitCodes_.size(); } /** - * - * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 3; - * * @param index The index of the element to return. * @return The allowedExitCodes at the given index. */ public int getAllowedExitCodes(int index) { return allowedExitCodes_.getInt(index); } - private int allowedExitCodesMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -25882,7 +22663,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, artifactId_); @@ -25920,14 +22701,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < allowedExitCodes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag( - allowedExitCodes_.getInt(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(allowedExitCodes_.getInt(i)); } size += dataSize; if (!getAllowedExitCodesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } allowedExitCodesMemoizedSerializedSize = dataSize; } @@ -25939,19 +22720,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) obj; - if (!getArtifactId().equals(other.getArtifactId())) return false; - if (!getFlagsList().equals(other.getFlagsList())) return false; - if (!getAllowedExitCodesList().equals(other.getAllowedExitCodesList())) return false; + if (!getArtifactId() + .equals(other.getArtifactId())) return false; + if (!getFlagsList() + .equals(other.getFlagsList())) return false; + if (!getAllowedExitCodesList() + .equals(other.getAllowedExitCodesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -25978,106 +22759,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -26087,51 +22850,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Installs an MSI file.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi) com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - .class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - .Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -26145,23 +22901,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi result = - buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -26169,11 +22921,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi( - this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi(this); int from_bitField0_ = bitField0_; result.artifactId_ = artifactId_; if (((bitField0_ & 0x00000001) != 0)) { @@ -26194,56 +22943,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) { + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.getDefaultInstance()) return this; if (!other.getArtifactId().isEmpty()) { artifactId_ = other.artifactId_; onChanged(); @@ -26283,14 +23022,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -26299,25 +23035,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object artifactId_ = ""; /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The artifactId. */ public java.lang.String getArtifactId() { java.lang.Object ref = artifactId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; @@ -26326,21 +23059,20 @@ public java.lang.String getArtifactId() { } } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for artifactId. */ - public com.google.protobuf.ByteString getArtifactIdBytes() { + public com.google.protobuf.ByteString + getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); artifactId_ = b; return b; } else { @@ -26348,115 +23080,98 @@ public com.google.protobuf.ByteString getArtifactIdBytes() { } } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactId(java.lang.String value) { + public Builder setArtifactId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + artifactId_ = value; onChanged(); return this; } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearArtifactId() { - + artifactId_ = getDefaultInstance().getArtifactId(); onChanged(); return this; } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactIdBytes(com.google.protobuf.ByteString value) { + public Builder setArtifactIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + artifactId_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList flags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList flags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFlagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { flags_ = new com.google.protobuf.LazyStringArrayList(flags_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
            * The flags to use when installing the MSI
            * defaults to ["/i"] (i.e. the install flag).
            * 
* * repeated string flags = 2; - * * @return A list containing the flags. */ - public com.google.protobuf.ProtocolStringList getFlagsList() { + public com.google.protobuf.ProtocolStringList + getFlagsList() { return flags_.getUnmodifiableView(); } /** - * - * *
            * The flags to use when installing the MSI
            * defaults to ["/i"] (i.e. the install flag).
            * 
* * repeated string flags = 2; - * * @return The count of flags. */ public int getFlagsCount() { return flags_.size(); } /** - * - * *
            * The flags to use when installing the MSI
            * defaults to ["/i"] (i.e. the install flag).
            * 
* * repeated string flags = 2; - * * @param index The index of the element to return. * @return The flags at the given index. */ @@ -26464,95 +23179,85 @@ public java.lang.String getFlags(int index) { return flags_.get(index); } /** - * - * *
            * The flags to use when installing the MSI
            * defaults to ["/i"] (i.e. the install flag).
            * 
* * repeated string flags = 2; - * * @param index The index of the value to return. * @return The bytes of the flags at the given index. */ - public com.google.protobuf.ByteString getFlagsBytes(int index) { + public com.google.protobuf.ByteString + getFlagsBytes(int index) { return flags_.getByteString(index); } /** - * - * *
            * The flags to use when installing the MSI
            * defaults to ["/i"] (i.e. the install flag).
            * 
* * repeated string flags = 2; - * * @param index The index to set the value at. * @param value The flags to set. * @return This builder for chaining. */ - public Builder setFlags(int index, java.lang.String value) { + public Builder setFlags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFlagsIsMutable(); + throw new NullPointerException(); + } + ensureFlagsIsMutable(); flags_.set(index, value); onChanged(); return this; } /** - * - * *
            * The flags to use when installing the MSI
            * defaults to ["/i"] (i.e. the install flag).
            * 
* * repeated string flags = 2; - * * @param value The flags to add. * @return This builder for chaining. */ - public Builder addFlags(java.lang.String value) { + public Builder addFlags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFlagsIsMutable(); + throw new NullPointerException(); + } + ensureFlagsIsMutable(); flags_.add(value); onChanged(); return this; } /** - * - * *
            * The flags to use when installing the MSI
            * defaults to ["/i"] (i.e. the install flag).
            * 
* * repeated string flags = 2; - * * @param values The flags to add. * @return This builder for chaining. */ - public Builder addAllFlags(java.lang.Iterable values) { + public Builder addAllFlags( + java.lang.Iterable values) { ensureFlagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, flags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, flags_); onChanged(); return this; } /** - * - * *
            * The flags to use when installing the MSI
            * defaults to ["/i"] (i.e. the install flag).
            * 
* * repeated string flags = 2; - * * @return This builder for chaining. */ public Builder clearFlags() { @@ -26562,23 +23267,21 @@ public Builder clearFlags() { return this; } /** - * - * *
            * The flags to use when installing the MSI
            * defaults to ["/i"] (i.e. the install flag).
            * 
* * repeated string flags = 2; - * * @param value The bytes of the flags to add. * @return This builder for chaining. */ - public Builder addFlagsBytes(com.google.protobuf.ByteString value) { + public Builder addFlagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFlagsIsMutable(); flags_.add(value); onChanged(); @@ -26586,55 +23289,45 @@ public Builder addFlagsBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Internal.IntList allowedExitCodes_ = emptyIntList(); - private void ensureAllowedExitCodesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { allowedExitCodes_ = mutableCopy(allowedExitCodes_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 3; - * * @return A list containing the allowedExitCodes. */ - public java.util.List getAllowedExitCodesList() { - return ((bitField0_ & 0x00000002) != 0) - ? java.util.Collections.unmodifiableList(allowedExitCodes_) - : allowedExitCodes_; + public java.util.List + getAllowedExitCodesList() { + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(allowedExitCodes_) : allowedExitCodes_; } /** - * - * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 3; - * * @return The count of allowedExitCodes. */ public int getAllowedExitCodesCount() { return allowedExitCodes_.size(); } /** - * - * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 3; - * * @param index The index of the element to return. * @return The allowedExitCodes at the given index. */ @@ -26642,35 +23335,30 @@ public int getAllowedExitCodes(int index) { return allowedExitCodes_.getInt(index); } /** - * - * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 3; - * * @param index The index to set the value at. * @param value The allowedExitCodes to set. * @return This builder for chaining. */ - public Builder setAllowedExitCodes(int index, int value) { + public Builder setAllowedExitCodes( + int index, int value) { ensureAllowedExitCodesIsMutable(); allowedExitCodes_.setInt(index, value); onChanged(); return this; } /** - * - * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 3; - * * @param value The allowedExitCodes to add. * @return This builder for chaining. */ @@ -26681,35 +23369,30 @@ public Builder addAllowedExitCodes(int value) { return this; } /** - * - * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 3; - * * @param values The allowedExitCodes to add. * @return This builder for chaining. */ public Builder addAllAllowedExitCodes( java.lang.Iterable values) { ensureAllowedExitCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedExitCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, allowedExitCodes_); onChanged(); return this; } /** - * - * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 3; - * * @return This builder for chaining. */ public Builder clearAllowedExitCodes() { @@ -26718,7 +23401,6 @@ public Builder clearAllowedExitCodes() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -26731,34 +23413,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallMsi - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstallMsi parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstallMsi(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstallMsi parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstallMsi(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -26770,76 +23448,68 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface InstallDpkgOrBuilder - extends + public interface InstallDpkgOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The artifactId. */ java.lang.String getArtifactId(); /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for artifactId. */ - com.google.protobuf.ByteString getArtifactIdBytes(); + com.google.protobuf.ByteString + getArtifactIdBytes(); } /** - * - * *
        * Installs a deb via dpkg.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg} */ - public static final class InstallDpkg extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class InstallDpkg extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg) InstallDpkgOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InstallDpkg.newBuilder() to construct. private InstallDpkg(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InstallDpkg() { artifactId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InstallDpkg(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InstallDpkg( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -26858,20 +23528,19 @@ private InstallDpkg( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - artifactId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + artifactId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -26879,42 +23548,34 @@ private InstallDpkg( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - .class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - .Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder.class); } public static final int ARTIFACT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object artifactId_; /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The artifactId. */ @java.lang.Override @@ -26923,29 +23584,29 @@ public java.lang.String getArtifactId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; } } /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for artifactId. */ @java.lang.Override - public com.google.protobuf.ByteString getArtifactIdBytes() { + public com.google.protobuf.ByteString + getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); artifactId_ = b; return b; } else { @@ -26954,7 +23615,6 @@ public com.google.protobuf.ByteString getArtifactIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -26967,7 +23627,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, artifactId_); } @@ -26991,17 +23651,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) obj; - if (!getArtifactId().equals(other.getArtifactId())) return false; + if (!getArtifactId() + .equals(other.getArtifactId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -27020,106 +23678,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -27129,52 +23769,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Installs a deb via dpkg.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg) - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallDpkgOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - .class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - .Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -27184,23 +23816,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg result = - buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -27208,11 +23836,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg( - this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg(this); result.artifactId_ = artifactId_; onBuilt(); return result; @@ -27222,57 +23847,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) { + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.getDefaultInstance()) return this; if (!other.getArtifactId().isEmpty()) { artifactId_ = other.artifactId_; onChanged(); @@ -27292,14 +23906,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -27311,20 +23922,18 @@ public Builder mergeFrom( private java.lang.Object artifactId_ = ""; /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The artifactId. */ public java.lang.String getArtifactId() { java.lang.Object ref = artifactId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; @@ -27333,21 +23942,20 @@ public java.lang.String getArtifactId() { } } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for artifactId. */ - public com.google.protobuf.ByteString getArtifactIdBytes() { + public com.google.protobuf.ByteString + getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); artifactId_ = b; return b; } else { @@ -27355,66 +23963,58 @@ public com.google.protobuf.ByteString getArtifactIdBytes() { } } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactId(java.lang.String value) { + public Builder setArtifactId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + artifactId_ = value; onChanged(); return this; } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearArtifactId() { - + artifactId_ = getDefaultInstance().getArtifactId(); onChanged(); return this; } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactIdBytes(com.google.protobuf.ByteString value) { + public Builder setArtifactIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + artifactId_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -27427,34 +24027,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallDpkg - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstallDpkg parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstallDpkg(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstallDpkg parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstallDpkg(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -27466,76 +24062,68 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface InstallRpmOrBuilder - extends + public interface InstallRpmOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The artifactId. */ java.lang.String getArtifactId(); /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for artifactId. */ - com.google.protobuf.ByteString getArtifactIdBytes(); + com.google.protobuf.ByteString + getArtifactIdBytes(); } /** - * - * *
        * Installs an rpm file via the rpm utility.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm} */ - public static final class InstallRpm extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class InstallRpm extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm) InstallRpmOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InstallRpm.newBuilder() to construct. private InstallRpm(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InstallRpm() { artifactId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InstallRpm(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InstallRpm( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -27554,20 +24142,19 @@ private InstallRpm( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - artifactId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + artifactId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -27575,42 +24162,34 @@ private InstallRpm( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - .class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - .Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder.class); } public static final int ARTIFACT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object artifactId_; /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The artifactId. */ @java.lang.Override @@ -27619,29 +24198,29 @@ public java.lang.String getArtifactId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; } } /** - * - * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for artifactId. */ @java.lang.Override - public com.google.protobuf.ByteString getArtifactIdBytes() { + public com.google.protobuf.ByteString + getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); artifactId_ = b; return b; } else { @@ -27650,7 +24229,6 @@ public com.google.protobuf.ByteString getArtifactIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -27663,7 +24241,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, artifactId_); } @@ -27687,17 +24265,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) obj; - if (!getArtifactId().equals(other.getArtifactId())) return false; + if (!getArtifactId() + .equals(other.getArtifactId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -27716,106 +24292,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -27825,51 +24383,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Installs an rpm file via the rpm utility.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm) com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - .class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - .Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -27879,23 +24430,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm result = - buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -27903,11 +24450,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm( - this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm(this); result.artifactId_ = artifactId_; onBuilt(); return result; @@ -27917,56 +24461,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) { + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.getDefaultInstance()) return this; if (!other.getArtifactId().isEmpty()) { artifactId_ = other.artifactId_; onChanged(); @@ -27986,14 +24520,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -28005,20 +24536,18 @@ public Builder mergeFrom( private java.lang.Object artifactId_ = ""; /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The artifactId. */ public java.lang.String getArtifactId() { java.lang.Object ref = artifactId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; @@ -28027,21 +24556,20 @@ public java.lang.String getArtifactId() { } } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for artifactId. */ - public com.google.protobuf.ByteString getArtifactIdBytes() { + public com.google.protobuf.ByteString + getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); artifactId_ = b; return b; } else { @@ -28049,66 +24577,58 @@ public com.google.protobuf.ByteString getArtifactIdBytes() { } } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactId(java.lang.String value) { + public Builder setArtifactId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + artifactId_ = value; onChanged(); return this; } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearArtifactId() { - + artifactId_ = getDefaultInstance().getArtifactId(); onChanged(); return this; } /** - * - * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactIdBytes(com.google.protobuf.ByteString value) { + public Builder setArtifactIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + artifactId_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -28121,34 +24641,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallRpm - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstallRpm parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstallRpm(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstallRpm parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstallRpm(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -28160,206 +24676,165 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ExecFileOrBuilder - extends + public interface ExecFileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1; - * * @return Whether the artifactId field is set. */ boolean hasArtifactId(); /** - * - * *
          * The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1; - * * @return The artifactId. */ java.lang.String getArtifactId(); /** - * - * *
          * The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1; - * * @return The bytes for artifactId. */ - com.google.protobuf.ByteString getArtifactIdBytes(); + com.google.protobuf.ByteString + getArtifactIdBytes(); /** - * - * *
          * The absolute path of the file on the local filesystem.
          * 
* * string local_path = 2; - * * @return Whether the localPath field is set. */ boolean hasLocalPath(); /** - * - * *
          * The absolute path of the file on the local filesystem.
          * 
* * string local_path = 2; - * * @return The localPath. */ java.lang.String getLocalPath(); /** - * - * *
          * The absolute path of the file on the local filesystem.
          * 
* * string local_path = 2; - * * @return The bytes for localPath. */ - com.google.protobuf.ByteString getLocalPathBytes(); + com.google.protobuf.ByteString + getLocalPathBytes(); /** - * - * *
          * Arguments to be passed to the provided executable.
          * 
* * repeated string args = 3; - * * @return A list containing the args. */ - java.util.List getArgsList(); + java.util.List + getArgsList(); /** - * - * *
          * Arguments to be passed to the provided executable.
          * 
* * repeated string args = 3; - * * @return The count of args. */ int getArgsCount(); /** - * - * *
          * Arguments to be passed to the provided executable.
          * 
* * repeated string args = 3; - * * @param index The index of the element to return. * @return The args at the given index. */ java.lang.String getArgs(int index); /** - * - * *
          * Arguments to be passed to the provided executable.
          * 
* * repeated string args = 3; - * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - com.google.protobuf.ByteString getArgsBytes(int index); + com.google.protobuf.ByteString + getArgsBytes(int index); /** - * - * *
          * Defaults to [0]. A list of possible return values that the program
          * can return to indicate a success.
          * 
* * repeated int32 allowed_exit_codes = 4; - * * @return A list containing the allowedExitCodes. */ java.util.List getAllowedExitCodesList(); /** - * - * *
          * Defaults to [0]. A list of possible return values that the program
          * can return to indicate a success.
          * 
* * repeated int32 allowed_exit_codes = 4; - * * @return The count of allowedExitCodes. */ int getAllowedExitCodesCount(); /** - * - * *
          * Defaults to [0]. A list of possible return values that the program
          * can return to indicate a success.
          * 
* * repeated int32 allowed_exit_codes = 4; - * * @param index The index of the element to return. * @return The allowedExitCodes at the given index. */ int getAllowedExitCodes(int index); - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - .LocationTypeCase - getLocationTypeCase(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.LocationTypeCase getLocationTypeCase(); } /** - * - * *
        * Executes an artifact or local file.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile} */ - public static final class ExecFile extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ExecFile extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile) ExecFileOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecFile.newBuilder() to construct. private ExecFile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExecFile() { args_ = com.google.protobuf.LazyStringArrayList.EMPTY; allowedExitCodes_ = emptyIntList(); @@ -28367,15 +24842,16 @@ private ExecFile() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExecFile(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExecFile( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -28395,61 +24871,55 @@ private ExecFile( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - locationTypeCase_ = 1; - locationType_ = s; - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + locationTypeCase_ = 1; + locationType_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + locationTypeCase_ = 2; + locationType_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + args_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - locationTypeCase_ = 2; - locationType_ = s; - break; + args_.add(s); + break; + } + case 32: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + allowedExitCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000002; } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - args_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - args_.add(s); - break; + allowedExitCodes_.addInt(input.readInt32()); + break; + } + case 34: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { + allowedExitCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000002; } - case 32: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - allowedExitCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000002; - } + while (input.getBytesUntilLimit() > 0) { allowedExitCodes_.addInt(input.readInt32()); - break; } - case 34: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000002) != 0) - && input.getBytesUntilLimit() > 0) { - allowedExitCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000002; - } - while (input.getBytesUntilLimit() > 0) { - allowedExitCodes_.addInt(input.readInt32()); - } - input.popLimit(limit); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + input.popLimit(limit); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -28457,8 +24927,8 @@ private ExecFile( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); @@ -28470,35 +24940,28 @@ private ExecFile( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - .Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder.class); } private int locationTypeCase_ = 0; private java.lang.Object locationType_; - public enum LocationTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ARTIFACT_ID(1), LOCAL_PATH(2), LOCATIONTYPE_NOT_SET(0); private final int value; - private LocationTypeCase(int value) { this.value = value; } @@ -28514,50 +24977,41 @@ public static LocationTypeCase valueOf(int value) { public static LocationTypeCase forNumber(int value) { switch (value) { - case 1: - return ARTIFACT_ID; - case 2: - return LOCAL_PATH; - case 0: - return LOCATIONTYPE_NOT_SET; - default: - return null; + case 1: return ARTIFACT_ID; + case 2: return LOCAL_PATH; + case 0: return LOCATIONTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public LocationTypeCase getLocationTypeCase() { - return LocationTypeCase.forNumber(locationTypeCase_); + public LocationTypeCase + getLocationTypeCase() { + return LocationTypeCase.forNumber( + locationTypeCase_); } public static final int ARTIFACT_ID_FIELD_NUMBER = 1; /** - * - * *
          * The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1; - * * @return Whether the artifactId field is set. */ public boolean hasArtifactId() { return locationTypeCase_ == 1; } /** - * - * *
          * The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1; - * * @return The artifactId. */ public java.lang.String getArtifactId() { @@ -28568,7 +25022,8 @@ public java.lang.String getArtifactId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (locationTypeCase_ == 1) { locationType_ = s; @@ -28577,24 +25032,23 @@ public java.lang.String getArtifactId() { } } /** - * - * *
          * The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1; - * * @return The bytes for artifactId. */ - public com.google.protobuf.ByteString getArtifactIdBytes() { + public com.google.protobuf.ByteString + getArtifactIdBytes() { java.lang.Object ref = ""; if (locationTypeCase_ == 1) { ref = locationType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (locationTypeCase_ == 1) { locationType_ = b; } @@ -28606,28 +25060,22 @@ public com.google.protobuf.ByteString getArtifactIdBytes() { public static final int LOCAL_PATH_FIELD_NUMBER = 2; /** - * - * *
          * The absolute path of the file on the local filesystem.
          * 
* * string local_path = 2; - * * @return Whether the localPath field is set. */ public boolean hasLocalPath() { return locationTypeCase_ == 2; } /** - * - * *
          * The absolute path of the file on the local filesystem.
          * 
* * string local_path = 2; - * * @return The localPath. */ public java.lang.String getLocalPath() { @@ -28638,7 +25086,8 @@ public java.lang.String getLocalPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (locationTypeCase_ == 2) { locationType_ = s; @@ -28647,24 +25096,23 @@ public java.lang.String getLocalPath() { } } /** - * - * *
          * The absolute path of the file on the local filesystem.
          * 
* * string local_path = 2; - * * @return The bytes for localPath. */ - public com.google.protobuf.ByteString getLocalPathBytes() { + public com.google.protobuf.ByteString + getLocalPathBytes() { java.lang.Object ref = ""; if (locationTypeCase_ == 2) { ref = locationType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (locationTypeCase_ == 2) { locationType_ = b; } @@ -28677,42 +25125,34 @@ public com.google.protobuf.ByteString getLocalPathBytes() { public static final int ARGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList args_; /** - * - * *
          * Arguments to be passed to the provided executable.
          * 
* * repeated string args = 3; - * * @return A list containing the args. */ - public com.google.protobuf.ProtocolStringList getArgsList() { + public com.google.protobuf.ProtocolStringList + getArgsList() { return args_; } /** - * - * *
          * Arguments to be passed to the provided executable.
          * 
* * repeated string args = 3; - * * @return The count of args. */ public int getArgsCount() { return args_.size(); } /** - * - * *
          * Arguments to be passed to the provided executable.
          * 
* * repeated string args = 3; - * * @param index The index of the element to return. * @return The args at the given index. */ @@ -28720,75 +25160,63 @@ public java.lang.String getArgs(int index) { return args_.get(index); } /** - * - * *
          * Arguments to be passed to the provided executable.
          * 
* * repeated string args = 3; - * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - public com.google.protobuf.ByteString getArgsBytes(int index) { + public com.google.protobuf.ByteString + getArgsBytes(int index) { return args_.getByteString(index); } public static final int ALLOWED_EXIT_CODES_FIELD_NUMBER = 4; private com.google.protobuf.Internal.IntList allowedExitCodes_; /** - * - * *
          * Defaults to [0]. A list of possible return values that the program
          * can return to indicate a success.
          * 
* * repeated int32 allowed_exit_codes = 4; - * * @return A list containing the allowedExitCodes. */ @java.lang.Override - public java.util.List getAllowedExitCodesList() { + public java.util.List + getAllowedExitCodesList() { return allowedExitCodes_; } /** - * - * *
          * Defaults to [0]. A list of possible return values that the program
          * can return to indicate a success.
          * 
* * repeated int32 allowed_exit_codes = 4; - * * @return The count of allowedExitCodes. */ public int getAllowedExitCodesCount() { return allowedExitCodes_.size(); } /** - * - * *
          * Defaults to [0]. A list of possible return values that the program
          * can return to indicate a success.
          * 
* * repeated int32 allowed_exit_codes = 4; - * * @param index The index of the element to return. * @return The allowedExitCodes at the given index. */ public int getAllowedExitCodes(int index) { return allowedExitCodes_.getInt(index); } - private int allowedExitCodesMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -28801,7 +25229,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (locationTypeCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, locationType_); @@ -28845,14 +25273,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < allowedExitCodes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag( - allowedExitCodes_.getInt(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(allowedExitCodes_.getInt(i)); } size += dataSize; if (!getAllowedExitCodesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } allowedExitCodesMemoizedSerializedSize = dataSize; } @@ -28864,25 +25292,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) obj; - if (!getArgsList().equals(other.getArgsList())) return false; - if (!getAllowedExitCodesList().equals(other.getAllowedExitCodesList())) return false; + if (!getArgsList() + .equals(other.getArgsList())) return false; + if (!getAllowedExitCodesList() + .equals(other.getAllowedExitCodesList())) return false; if (!getLocationTypeCase().equals(other.getLocationTypeCase())) return false; switch (locationTypeCase_) { case 1: - if (!getArtifactId().equals(other.getArtifactId())) return false; + if (!getArtifactId() + .equals(other.getArtifactId())) return false; break; case 2: - if (!getLocalPath().equals(other.getLocalPath())) return false; + if (!getLocalPath() + .equals(other.getLocalPath())) return false; break; case 0: default: @@ -28923,105 +25352,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -29031,51 +25443,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Executes an artifact or local file.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile) com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - .class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - .Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -29089,23 +25494,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile result = - buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -29113,11 +25514,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile( - this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile(this); int from_bitField0_ = bitField0_; if (locationTypeCase_ == 1) { result.locationType_ = locationType_; @@ -29144,56 +25542,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) { + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.getDefaultInstance()) return this; if (!other.args_.isEmpty()) { if (args_.isEmpty()) { args_ = other.args_; @@ -29215,24 +25603,21 @@ public Builder mergeFrom( onChanged(); } switch (other.getLocationTypeCase()) { - case ARTIFACT_ID: - { - locationTypeCase_ = 1; - locationType_ = other.locationType_; - onChanged(); - break; - } - case LOCAL_PATH: - { - locationTypeCase_ = 2; - locationType_ = other.locationType_; - onChanged(); - break; - } - case LOCATIONTYPE_NOT_SET: - { - break; - } + case ARTIFACT_ID: { + locationTypeCase_ = 1; + locationType_ = other.locationType_; + onChanged(); + break; + } + case LOCAL_PATH: { + locationTypeCase_ = 2; + locationType_ = other.locationType_; + onChanged(); + break; + } + case LOCATIONTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -29249,14 +25634,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -29265,12 +25647,12 @@ public Builder mergeFrom( } return this; } - private int locationTypeCase_ = 0; private java.lang.Object locationType_; - - public LocationTypeCase getLocationTypeCase() { - return LocationTypeCase.forNumber(locationTypeCase_); + public LocationTypeCase + getLocationTypeCase() { + return LocationTypeCase.forNumber( + locationTypeCase_); } public Builder clearLocationType() { @@ -29283,14 +25665,11 @@ public Builder clearLocationType() { private int bitField0_; /** - * - * *
            * The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1; - * * @return Whether the artifactId field is set. */ @java.lang.Override @@ -29298,14 +25677,11 @@ public boolean hasArtifactId() { return locationTypeCase_ == 1; } /** - * - * *
            * The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1; - * * @return The artifactId. */ @java.lang.Override @@ -29315,7 +25691,8 @@ public java.lang.String getArtifactId() { ref = locationType_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (locationTypeCase_ == 1) { locationType_ = s; @@ -29326,25 +25703,24 @@ public java.lang.String getArtifactId() { } } /** - * - * *
            * The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1; - * * @return The bytes for artifactId. */ @java.lang.Override - public com.google.protobuf.ByteString getArtifactIdBytes() { + public com.google.protobuf.ByteString + getArtifactIdBytes() { java.lang.Object ref = ""; if (locationTypeCase_ == 1) { ref = locationType_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (locationTypeCase_ == 1) { locationType_ = b; } @@ -29354,35 +25730,30 @@ public com.google.protobuf.ByteString getArtifactIdBytes() { } } /** - * - * *
            * The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1; - * * @param value The artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactId(java.lang.String value) { + public Builder setArtifactId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - locationTypeCase_ = 1; + throw new NullPointerException(); + } + locationTypeCase_ = 1; locationType_ = value; onChanged(); return this; } /** - * - * *
            * The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1; - * * @return This builder for chaining. */ public Builder clearArtifactId() { @@ -29394,22 +25765,20 @@ public Builder clearArtifactId() { return this; } /** - * - * *
            * The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1; - * * @param value The bytes for artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactIdBytes(com.google.protobuf.ByteString value) { + public Builder setArtifactIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); locationTypeCase_ = 1; locationType_ = value; onChanged(); @@ -29417,14 +25786,11 @@ public Builder setArtifactIdBytes(com.google.protobuf.ByteString value) { } /** - * - * *
            * The absolute path of the file on the local filesystem.
            * 
* * string local_path = 2; - * * @return Whether the localPath field is set. */ @java.lang.Override @@ -29432,14 +25798,11 @@ public boolean hasLocalPath() { return locationTypeCase_ == 2; } /** - * - * *
            * The absolute path of the file on the local filesystem.
            * 
* * string local_path = 2; - * * @return The localPath. */ @java.lang.Override @@ -29449,7 +25812,8 @@ public java.lang.String getLocalPath() { ref = locationType_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (locationTypeCase_ == 2) { locationType_ = s; @@ -29460,25 +25824,24 @@ public java.lang.String getLocalPath() { } } /** - * - * *
            * The absolute path of the file on the local filesystem.
            * 
* * string local_path = 2; - * * @return The bytes for localPath. */ @java.lang.Override - public com.google.protobuf.ByteString getLocalPathBytes() { + public com.google.protobuf.ByteString + getLocalPathBytes() { java.lang.Object ref = ""; if (locationTypeCase_ == 2) { ref = locationType_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (locationTypeCase_ == 2) { locationType_ = b; } @@ -29488,35 +25851,30 @@ public com.google.protobuf.ByteString getLocalPathBytes() { } } /** - * - * *
            * The absolute path of the file on the local filesystem.
            * 
* * string local_path = 2; - * * @param value The localPath to set. * @return This builder for chaining. */ - public Builder setLocalPath(java.lang.String value) { + public Builder setLocalPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - locationTypeCase_ = 2; + throw new NullPointerException(); + } + locationTypeCase_ = 2; locationType_ = value; onChanged(); return this; } /** - * - * *
            * The absolute path of the file on the local filesystem.
            * 
* * string local_path = 2; - * * @return This builder for chaining. */ public Builder clearLocalPath() { @@ -29528,74 +25886,62 @@ public Builder clearLocalPath() { return this; } /** - * - * *
            * The absolute path of the file on the local filesystem.
            * 
* * string local_path = 2; - * * @param value The bytes for localPath to set. * @return This builder for chaining. */ - public Builder setLocalPathBytes(com.google.protobuf.ByteString value) { + public Builder setLocalPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); locationTypeCase_ = 2; locationType_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList args_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList args_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArgsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(args_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
            * Arguments to be passed to the provided executable.
            * 
* * repeated string args = 3; - * * @return A list containing the args. */ - public com.google.protobuf.ProtocolStringList getArgsList() { + public com.google.protobuf.ProtocolStringList + getArgsList() { return args_.getUnmodifiableView(); } /** - * - * *
            * Arguments to be passed to the provided executable.
            * 
* * repeated string args = 3; - * * @return The count of args. */ public int getArgsCount() { return args_.size(); } /** - * - * *
            * Arguments to be passed to the provided executable.
            * 
* * repeated string args = 3; - * * @param index The index of the element to return. * @return The args at the given index. */ @@ -29603,90 +25949,80 @@ public java.lang.String getArgs(int index) { return args_.get(index); } /** - * - * *
            * Arguments to be passed to the provided executable.
            * 
* * repeated string args = 3; - * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - public com.google.protobuf.ByteString getArgsBytes(int index) { + public com.google.protobuf.ByteString + getArgsBytes(int index) { return args_.getByteString(index); } /** - * - * *
            * Arguments to be passed to the provided executable.
            * 
* * repeated string args = 3; - * * @param index The index to set the value at. * @param value The args to set. * @return This builder for chaining. */ - public Builder setArgs(int index, java.lang.String value) { + public Builder setArgs( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); + throw new NullPointerException(); + } + ensureArgsIsMutable(); args_.set(index, value); onChanged(); return this; } /** - * - * *
            * Arguments to be passed to the provided executable.
            * 
* * repeated string args = 3; - * * @param value The args to add. * @return This builder for chaining. */ - public Builder addArgs(java.lang.String value) { + public Builder addArgs( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); + throw new NullPointerException(); + } + ensureArgsIsMutable(); args_.add(value); onChanged(); return this; } /** - * - * *
            * Arguments to be passed to the provided executable.
            * 
* * repeated string args = 3; - * * @param values The args to add. * @return This builder for chaining. */ - public Builder addAllArgs(java.lang.Iterable values) { + public Builder addAllArgs( + java.lang.Iterable values) { ensureArgsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, args_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, args_); onChanged(); return this; } /** - * - * *
            * Arguments to be passed to the provided executable.
            * 
* * repeated string args = 3; - * * @return This builder for chaining. */ public Builder clearArgs() { @@ -29696,22 +26032,20 @@ public Builder clearArgs() { return this; } /** - * - * *
            * Arguments to be passed to the provided executable.
            * 
* * repeated string args = 3; - * * @param value The bytes of the args to add. * @return This builder for chaining. */ - public Builder addArgsBytes(com.google.protobuf.ByteString value) { + public Builder addArgsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureArgsIsMutable(); args_.add(value); onChanged(); @@ -29719,55 +26053,45 @@ public Builder addArgsBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Internal.IntList allowedExitCodes_ = emptyIntList(); - private void ensureAllowedExitCodesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { allowedExitCodes_ = mutableCopy(allowedExitCodes_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
            * Defaults to [0]. A list of possible return values that the program
            * can return to indicate a success.
            * 
* * repeated int32 allowed_exit_codes = 4; - * * @return A list containing the allowedExitCodes. */ - public java.util.List getAllowedExitCodesList() { - return ((bitField0_ & 0x00000002) != 0) - ? java.util.Collections.unmodifiableList(allowedExitCodes_) - : allowedExitCodes_; + public java.util.List + getAllowedExitCodesList() { + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(allowedExitCodes_) : allowedExitCodes_; } /** - * - * *
            * Defaults to [0]. A list of possible return values that the program
            * can return to indicate a success.
            * 
* * repeated int32 allowed_exit_codes = 4; - * * @return The count of allowedExitCodes. */ public int getAllowedExitCodesCount() { return allowedExitCodes_.size(); } /** - * - * *
            * Defaults to [0]. A list of possible return values that the program
            * can return to indicate a success.
            * 
* * repeated int32 allowed_exit_codes = 4; - * * @param index The index of the element to return. * @return The allowedExitCodes at the given index. */ @@ -29775,35 +26099,30 @@ public int getAllowedExitCodes(int index) { return allowedExitCodes_.getInt(index); } /** - * - * *
            * Defaults to [0]. A list of possible return values that the program
            * can return to indicate a success.
            * 
* * repeated int32 allowed_exit_codes = 4; - * * @param index The index to set the value at. * @param value The allowedExitCodes to set. * @return This builder for chaining. */ - public Builder setAllowedExitCodes(int index, int value) { + public Builder setAllowedExitCodes( + int index, int value) { ensureAllowedExitCodesIsMutable(); allowedExitCodes_.setInt(index, value); onChanged(); return this; } /** - * - * *
            * Defaults to [0]. A list of possible return values that the program
            * can return to indicate a success.
            * 
* * repeated int32 allowed_exit_codes = 4; - * * @param value The allowedExitCodes to add. * @return This builder for chaining. */ @@ -29814,35 +26133,30 @@ public Builder addAllowedExitCodes(int value) { return this; } /** - * - * *
            * Defaults to [0]. A list of possible return values that the program
            * can return to indicate a success.
            * 
* * repeated int32 allowed_exit_codes = 4; - * * @param values The allowedExitCodes to add. * @return This builder for chaining. */ public Builder addAllAllowedExitCodes( java.lang.Iterable values) { ensureAllowedExitCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedExitCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, allowedExitCodes_); onChanged(); return this; } /** - * - * *
            * Defaults to [0]. A list of possible return values that the program
            * can return to indicate a success.
            * 
* * repeated int32 allowed_exit_codes = 4; - * * @return This builder for chaining. */ public Builder clearAllowedExitCodes() { @@ -29851,7 +26165,6 @@ public Builder clearAllowedExitCodes() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -29864,34 +26177,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExecFile - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecFile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecFile(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecFile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecFile(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -29903,86 +26212,69 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface RunScriptOrBuilder - extends + public interface RunScriptOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * Required. The shell script to be executed.
          * 
* * string script = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The script. */ java.lang.String getScript(); /** - * - * *
          * Required. The shell script to be executed.
          * 
* * string script = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for script. */ - com.google.protobuf.ByteString getScriptBytes(); + com.google.protobuf.ByteString + getScriptBytes(); /** - * - * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 2; - * * @return A list containing the allowedExitCodes. */ java.util.List getAllowedExitCodesList(); /** - * - * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 2; - * * @return The count of allowedExitCodes. */ int getAllowedExitCodesCount(); /** - * - * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 2; - * * @param index The index of the element to return. * @return The allowedExitCodes at the given index. */ int getAllowedExitCodes(int index); /** - * - * *
          * The script interpreter to use to run the script. If no interpreter is
          * specified the script is executed directly, which likely
@@ -29990,16 +26282,11 @@ public interface RunScriptOrBuilder
          * [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; * @return The enum numeric value on the wire for interpreter. */ int getInterpreterValue(); /** - * - * *
          * The script interpreter to use to run the script. If no interpreter is
          * specified the script is executed directly, which likely
@@ -30007,34 +26294,27 @@ public interface RunScriptOrBuilder
          * [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; * @return The interpreter. */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter - getInterpreter(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter getInterpreter(); } /** - * - * *
        * Runs a script through an interpreter.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript} */ - public static final class RunScript extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class RunScript extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript) RunScriptOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunScript.newBuilder() to construct. private RunScript(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RunScript() { script_ = ""; allowedExitCodes_ = emptyIntList(); @@ -30043,15 +26323,16 @@ private RunScript() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunScript(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RunScript( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -30071,51 +26352,46 @@ private RunScript( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - script_ = s; - break; + script_ = s; + break; + } + case 16: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + allowedExitCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000001; } - case 16: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - allowedExitCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000001; - } - allowedExitCodes_.addInt(input.readInt32()); - break; + allowedExitCodes_.addInt(input.readInt32()); + break; + } + case 18: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + allowedExitCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000001) != 0) - && input.getBytesUntilLimit() > 0) { - allowedExitCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000001; - } - while (input.getBytesUntilLimit() > 0) { - allowedExitCodes_.addInt(input.readInt32()); - } - input.popLimit(limit); - break; + while (input.getBytesUntilLimit() > 0) { + allowedExitCodes_.addInt(input.readInt32()); } - case 24: - { - int rawValue = input.readEnum(); + input.popLimit(limit); + break; + } + case 24: { + int rawValue = input.readEnum(); - interpreter_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + interpreter_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -30123,8 +26399,8 @@ private RunScript( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { allowedExitCodes_.makeImmutable(); // C @@ -30133,38 +26409,29 @@ private RunScript( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder.class); } /** - * - * *
          * The interpreter used to execute a script.
          * 
* - * Protobuf enum {@code - * google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter} + * Protobuf enum {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter} */ - public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { + public enum Interpreter + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
            * Default value for ScriptType.
            * 
@@ -30173,8 +26440,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { */ INTERPRETER_UNSPECIFIED(0), /** - * - * *
            * Indicates that the script is run with `/bin/sh` on Linux and `cmd`
            * on windows.
@@ -30184,8 +26449,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
            */
           SHELL(1),
           /**
-           *
-           *
            * 
            * Indicates that the script is run with powershell.
            * 
@@ -30197,8 +26460,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
            * Default value for ScriptType.
            * 
@@ -30207,8 +26468,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INTERPRETER_UNSPECIFIED_VALUE = 0; /** - * - * *
            * Indicates that the script is run with `/bin/sh` on Linux and `cmd`
            * on windows.
@@ -30218,8 +26477,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
            */
           public static final int SHELL_VALUE = 1;
           /**
-           *
-           *
            * 
            * Indicates that the script is run with powershell.
            * 
@@ -30228,6 +26485,7 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POWERSHELL_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -30252,14 +26510,10 @@ public static Interpreter valueOf(int value) { */ public static Interpreter forNumber(int value) { switch (value) { - case 0: - return INTERPRETER_UNSPECIFIED; - case 1: - return SHELL; - case 3: - return POWERSHELL; - default: - return null; + case 0: return INTERPRETER_UNSPECIFIED; + case 1: return SHELL; + case 3: return POWERSHELL; + default: return null; } } @@ -30267,32 +26521,29 @@ public static Interpreter forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Interpreter> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Interpreter findValueByNumber(int number) { + return Interpreter.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Interpreter findValueByNumber(int number) { - return Interpreter.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDescriptor().getEnumTypes().get(0); } private static final Interpreter[] VALUES = values(); @@ -30301,7 +26552,7 @@ public static Interpreter valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -30321,14 +26572,11 @@ private Interpreter(int value) { public static final int SCRIPT_FIELD_NUMBER = 1; private volatile java.lang.Object script_; /** - * - * *
          * Required. The shell script to be executed.
          * 
* * string script = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The script. */ @java.lang.Override @@ -30337,29 +26585,29 @@ public java.lang.String getScript() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); script_ = s; return s; } } /** - * - * *
          * Required. The shell script to be executed.
          * 
* * string script = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for script. */ @java.lang.Override - public com.google.protobuf.ByteString getScriptBytes() { + public com.google.protobuf.ByteString + getScriptBytes() { java.lang.Object ref = script_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); script_ = b; return b; } else { @@ -30370,60 +26618,49 @@ public com.google.protobuf.ByteString getScriptBytes() { public static final int ALLOWED_EXIT_CODES_FIELD_NUMBER = 2; private com.google.protobuf.Internal.IntList allowedExitCodes_; /** - * - * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 2; - * * @return A list containing the allowedExitCodes. */ @java.lang.Override - public java.util.List getAllowedExitCodesList() { + public java.util.List + getAllowedExitCodesList() { return allowedExitCodes_; } /** - * - * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 2; - * * @return The count of allowedExitCodes. */ public int getAllowedExitCodesCount() { return allowedExitCodes_.size(); } /** - * - * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 2; - * * @param index The index of the element to return. * @return The allowedExitCodes at the given index. */ public int getAllowedExitCodes(int index) { return allowedExitCodes_.getInt(index); } - private int allowedExitCodesMemoizedSerializedSize = -1; public static final int INTERPRETER_FIELD_NUMBER = 3; private int interpreter_; /** - * - * *
          * The script interpreter to use to run the script. If no interpreter is
          * specified the script is executed directly, which likely
@@ -30431,19 +26668,13 @@ public int getAllowedExitCodes(int index) {
          * [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override - public int getInterpreterValue() { + @java.lang.Override public int getInterpreterValue() { return interpreter_; } /** - * - * *
          * The script interpreter to use to run the script. If no interpreter is
          * specified the script is executed directly, which likely
@@ -30451,29 +26682,16 @@ public int getInterpreterValue() {
          * [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; * @return The interpreter. */ - @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .Interpreter - getInterpreter() { + @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter - result = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .Interpreter.valueOf(interpreter_); - return result == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .Interpreter.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter result = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter.valueOf(interpreter_); + return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -30486,7 +26704,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(script_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, script_); @@ -30498,10 +26716,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < allowedExitCodes_.size(); i++) { output.writeInt32NoTag(allowedExitCodes_.getInt(i)); } - if (interpreter_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .Interpreter.INTERPRETER_UNSPECIFIED - .getNumber()) { + if (interpreter_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { output.writeEnum(3, interpreter_); } unknownFields.writeTo(output); @@ -30519,22 +26734,20 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < allowedExitCodes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag( - allowedExitCodes_.getInt(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(allowedExitCodes_.getInt(i)); } size += dataSize; if (!getAllowedExitCodesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } allowedExitCodesMemoizedSerializedSize = dataSize; } - if (interpreter_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .Interpreter.INTERPRETER_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, interpreter_); + if (interpreter_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, interpreter_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -30544,18 +26757,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) obj; - if (!getScript().equals(other.getScript())) return false; - if (!getAllowedExitCodesList().equals(other.getAllowedExitCodesList())) return false; + if (!getScript() + .equals(other.getScript())) return false; + if (!getAllowedExitCodesList() + .equals(other.getAllowedExitCodesList())) return false; if (interpreter_ != other.interpreter_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -30581,106 +26793,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -30690,51 +26884,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Runs a script through an interpreter.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript) com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -30748,23 +26935,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript result = - buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -30772,11 +26955,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript( - this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript(this); int from_bitField0_ = bitField0_; result.script_ = script_; if (((bitField0_ & 0x00000001) != 0)) { @@ -30793,56 +26973,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) { + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDefaultInstance()) return this; if (!other.getScript().isEmpty()) { script_ = other.script_; onChanged(); @@ -30875,14 +27045,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -30891,25 +27058,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object script_ = ""; /** - * - * *
            * Required. The shell script to be executed.
            * 
* * string script = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The script. */ public java.lang.String getScript() { java.lang.Object ref = script_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); script_ = s; return s; @@ -30918,21 +27082,20 @@ public java.lang.String getScript() { } } /** - * - * *
            * Required. The shell script to be executed.
            * 
* * string script = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for script. */ - public com.google.protobuf.ByteString getScriptBytes() { + public com.google.protobuf.ByteString + getScriptBytes() { java.lang.Object ref = script_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); script_ = b; return b; } else { @@ -30940,116 +27103,99 @@ public com.google.protobuf.ByteString getScriptBytes() { } } /** - * - * *
            * Required. The shell script to be executed.
            * 
* * string script = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The script to set. * @return This builder for chaining. */ - public Builder setScript(java.lang.String value) { + public Builder setScript( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + script_ = value; onChanged(); return this; } /** - * - * *
            * Required. The shell script to be executed.
            * 
* * string script = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearScript() { - + script_ = getDefaultInstance().getScript(); onChanged(); return this; } /** - * - * *
            * Required. The shell script to be executed.
            * 
* * string script = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for script to set. * @return This builder for chaining. */ - public Builder setScriptBytes(com.google.protobuf.ByteString value) { + public Builder setScriptBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + script_ = value; onChanged(); return this; } private com.google.protobuf.Internal.IntList allowedExitCodes_ = emptyIntList(); - private void ensureAllowedExitCodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { allowedExitCodes_ = mutableCopy(allowedExitCodes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 2; - * * @return A list containing the allowedExitCodes. */ - public java.util.List getAllowedExitCodesList() { - return ((bitField0_ & 0x00000001) != 0) - ? java.util.Collections.unmodifiableList(allowedExitCodes_) - : allowedExitCodes_; + public java.util.List + getAllowedExitCodesList() { + return ((bitField0_ & 0x00000001) != 0) ? + java.util.Collections.unmodifiableList(allowedExitCodes_) : allowedExitCodes_; } /** - * - * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 2; - * * @return The count of allowedExitCodes. */ public int getAllowedExitCodesCount() { return allowedExitCodes_.size(); } /** - * - * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 2; - * * @param index The index of the element to return. * @return The allowedExitCodes at the given index. */ @@ -31057,35 +27203,30 @@ public int getAllowedExitCodes(int index) { return allowedExitCodes_.getInt(index); } /** - * - * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 2; - * * @param index The index to set the value at. * @param value The allowedExitCodes to set. * @return This builder for chaining. */ - public Builder setAllowedExitCodes(int index, int value) { + public Builder setAllowedExitCodes( + int index, int value) { ensureAllowedExitCodesIsMutable(); allowedExitCodes_.setInt(index, value); onChanged(); return this; } /** - * - * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 2; - * * @param value The allowedExitCodes to add. * @return This builder for chaining. */ @@ -31096,35 +27237,30 @@ public Builder addAllowedExitCodes(int value) { return this; } /** - * - * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 2; - * * @param values The allowedExitCodes to add. * @return This builder for chaining. */ public Builder addAllAllowedExitCodes( java.lang.Iterable values) { ensureAllowedExitCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedExitCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, allowedExitCodes_); onChanged(); return this; } /** - * - * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 2; - * * @return This builder for chaining. */ public Builder clearAllowedExitCodes() { @@ -31136,8 +27272,6 @@ public Builder clearAllowedExitCodes() { private int interpreter_ = 0; /** - * - * *
            * The script interpreter to use to run the script. If no interpreter is
            * specified the script is executed directly, which likely
@@ -31145,19 +27279,13 @@ public Builder clearAllowedExitCodes() {
            * [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
            * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override - public int getInterpreterValue() { + @java.lang.Override public int getInterpreterValue() { return interpreter_; } /** - * - * *
            * The script interpreter to use to run the script. If no interpreter is
            * specified the script is executed directly, which likely
@@ -31165,22 +27293,17 @@ public int getInterpreterValue() {
            * [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
            * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; * @param value The enum numeric value on the wire for interpreter to set. * @return This builder for chaining. */ public Builder setInterpreterValue(int value) { - + interpreter_ = value; onChanged(); return this; } /** - * - * *
            * The script interpreter to use to run the script. If no interpreter is
            * specified the script is executed directly, which likely
@@ -31188,29 +27311,16 @@ public Builder setInterpreterValue(int value) {
            * [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
            * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; * @return The interpreter. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .Interpreter - getInterpreter() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter - result = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .Interpreter.valueOf(interpreter_); - return result == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .Interpreter.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter result = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter.valueOf(interpreter_); + return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter.UNRECOGNIZED : result; } /** - * - * *
            * The script interpreter to use to run the script. If no interpreter is
            * specified the script is executed directly, which likely
@@ -31218,28 +27328,20 @@ public Builder setInterpreterValue(int value) {
            * [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
            * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; * @param value The interpreter to set. * @return This builder for chaining. */ - public Builder setInterpreter( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .Interpreter - value) { + public Builder setInterpreter(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter value) { if (value == null) { throw new NullPointerException(); } - + interpreter_ = value.getNumber(); onChanged(); return this; } /** - * - * *
            * The script interpreter to use to run the script. If no interpreter is
            * specified the script is executed directly, which likely
@@ -31247,19 +27349,15 @@ public Builder setInterpreter(
            * [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
            * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; * @return This builder for chaining. */ public Builder clearInterpreter() { - + interpreter_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -31272,34 +27370,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .RunScript - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunScript parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunScript(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunScript parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunScript(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -31311,18 +27405,16 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int stepCase_ = 0; private java.lang.Object step_; - public enum StepCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FILE_COPY(1), ARCHIVE_EXTRACTION(2), @@ -31333,7 +27425,6 @@ public enum StepCase SCRIPT_RUN(7), STEP_NOT_SET(0); private final int value; - private StepCase(int value) { this.value = value; } @@ -31349,46 +27440,35 @@ public static StepCase valueOf(int value) { public static StepCase forNumber(int value) { switch (value) { - case 1: - return FILE_COPY; - case 2: - return ARCHIVE_EXTRACTION; - case 3: - return MSI_INSTALLATION; - case 4: - return DPKG_INSTALLATION; - case 5: - return RPM_INSTALLATION; - case 6: - return FILE_EXEC; - case 7: - return SCRIPT_RUN; - case 0: - return STEP_NOT_SET; - default: - return null; + case 1: return FILE_COPY; + case 2: return ARCHIVE_EXTRACTION; + case 3: return MSI_INSTALLATION; + case 4: return DPKG_INSTALLATION; + case 5: return RPM_INSTALLATION; + case 6: return FILE_EXEC; + case 7: return SCRIPT_RUN; + case 0: return STEP_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public StepCase getStepCase() { - return StepCase.forNumber(stepCase_); + public StepCase + getStepCase() { + return StepCase.forNumber( + stepCase_); } public static final int FILE_COPY_FIELD_NUMBER = 1; /** - * - * *
        * Copies a file onto the instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; - * * @return Whether the fileCopy field is set. */ @java.lang.Override @@ -31396,29 +27476,21 @@ public boolean hasFileCopy() { return stepCase_ == 1; } /** - * - * *
        * Copies a file onto the instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; - * * @return The fileCopy. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - getFileCopy() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile getFileCopy() { if (stepCase_ == 1) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.getDefaultInstance(); } /** - * - * *
        * Copies a file onto the instance.
        * 
@@ -31426,28 +27498,20 @@ public boolean hasFileCopy() { * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder - getFileCopyOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder getFileCopyOrBuilder() { if (stepCase_ == 1) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.getDefaultInstance(); } public static final int ARCHIVE_EXTRACTION_FIELD_NUMBER = 2; /** - * - * *
        * Extracts an archive into the specified directory.
        * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; * @return Whether the archiveExtraction field is set. */ @java.lang.Override @@ -31455,62 +27519,42 @@ public boolean hasArchiveExtraction() { return stepCase_ == 2; } /** - * - * *
        * Extracts an archive into the specified directory.
        * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; * @return The archiveExtraction. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - getArchiveExtraction() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive getArchiveExtraction() { if (stepCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDefaultInstance(); } /** - * - * *
        * Extracts an archive into the specified directory.
        * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchiveOrBuilder - getArchiveExtractionOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder getArchiveExtractionOrBuilder() { if (stepCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDefaultInstance(); } public static final int MSI_INSTALLATION_FIELD_NUMBER = 3; /** - * - * *
        * Installs an MSI file.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; * @return Whether the msiInstallation field is set. */ @java.lang.Override @@ -31518,59 +27562,42 @@ public boolean hasMsiInstallation() { return stepCase_ == 3; } /** - * - * *
        * Installs an MSI file.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; * @return The msiInstallation. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - getMsiInstallation() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi getMsiInstallation() { if (stepCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.getDefaultInstance(); } /** - * - * *
        * Installs an MSI file.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder - getMsiInstallationOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder getMsiInstallationOrBuilder() { if (stepCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.getDefaultInstance(); } public static final int DPKG_INSTALLATION_FIELD_NUMBER = 4; /** - * - * *
        * Installs a deb file via dpkg.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; * @return Whether the dpkgInstallation field is set. */ @java.lang.Override @@ -31578,59 +27605,42 @@ public boolean hasDpkgInstallation() { return stepCase_ == 4; } /** - * - * *
        * Installs a deb file via dpkg.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; * @return The dpkgInstallation. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - getDpkgInstallation() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg getDpkgInstallation() { if (stepCase_ == 4) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.getDefaultInstance(); } /** - * - * *
        * Installs a deb file via dpkg.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder - getDpkgInstallationOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder getDpkgInstallationOrBuilder() { if (stepCase_ == 4) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.getDefaultInstance(); } public static final int RPM_INSTALLATION_FIELD_NUMBER = 5; /** - * - * *
        * Installs an rpm file via the rpm utility.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; * @return Whether the rpmInstallation field is set. */ @java.lang.Override @@ -31638,58 +27648,42 @@ public boolean hasRpmInstallation() { return stepCase_ == 5; } /** - * - * *
        * Installs an rpm file via the rpm utility.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; * @return The rpmInstallation. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - getRpmInstallation() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm getRpmInstallation() { if (stepCase_ == 5) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.getDefaultInstance(); } /** - * - * *
        * Installs an rpm file via the rpm utility.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder - getRpmInstallationOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder getRpmInstallationOrBuilder() { if (stepCase_ == 5) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.getDefaultInstance(); } public static final int FILE_EXEC_FIELD_NUMBER = 6; /** - * - * *
        * Executes an artifact or local file.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; - * * @return Whether the fileExec field is set. */ @java.lang.Override @@ -31697,29 +27691,21 @@ public boolean hasFileExec() { return stepCase_ == 6; } /** - * - * *
        * Executes an artifact or local file.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; - * * @return The fileExec. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - getFileExec() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile getFileExec() { if (stepCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.getDefaultInstance(); } /** - * - * *
        * Executes an artifact or local file.
        * 
@@ -31727,26 +27713,20 @@ public boolean hasFileExec() { * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder - getFileExecOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder getFileExecOrBuilder() { if (stepCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.getDefaultInstance(); } public static final int SCRIPT_RUN_FIELD_NUMBER = 7; /** - * - * *
        * Runs commands in a shell.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; - * * @return Whether the scriptRun field is set. */ @java.lang.Override @@ -31754,29 +27734,21 @@ public boolean hasScriptRun() { return stepCase_ == 7; } /** - * - * *
        * Runs commands in a shell.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; - * * @return The scriptRun. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - getScriptRun() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript getScriptRun() { if (stepCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDefaultInstance(); } /** - * - * *
        * Runs commands in a shell.
        * 
@@ -31784,18 +27756,14 @@ public boolean hasScriptRun() { * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder - getScriptRunOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder getScriptRunOrBuilder() { if (stepCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -31807,45 +27775,28 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (stepCase_ == 1) { - output.writeMessage( - 1, - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_); + output.writeMessage(1, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_); } if (stepCase_ == 2) { - output.writeMessage( - 2, - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) - step_); + output.writeMessage(2, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_); } if (stepCase_ == 3) { - output.writeMessage( - 3, - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) - step_); + output.writeMessage(3, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_); } if (stepCase_ == 4) { - output.writeMessage( - 4, - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) - step_); + output.writeMessage(4, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_); } if (stepCase_ == 5) { - output.writeMessage( - 5, - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) - step_); + output.writeMessage(5, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_); } if (stepCase_ == 6) { - output.writeMessage( - 6, - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_); + output.writeMessage(6, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_); } if (stepCase_ == 7) { - output.writeMessage( - 7, - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_); + output.writeMessage(7, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_); } unknownFields.writeTo(output); } @@ -31857,54 +27808,32 @@ public int getSerializedSize() { size = 0; if (stepCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) - step_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_); } if (stepCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive) - step_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_); } if (stepCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) - step_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_); } if (stepCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) - step_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_); } if (stepCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) - step_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_); } if (stepCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) - step_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_); } if (stepCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) - step_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -31914,36 +27843,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step) obj; if (!getStepCase().equals(other.getStepCase())) return false; switch (stepCase_) { case 1: - if (!getFileCopy().equals(other.getFileCopy())) return false; + if (!getFileCopy() + .equals(other.getFileCopy())) return false; break; case 2: - if (!getArchiveExtraction().equals(other.getArchiveExtraction())) return false; + if (!getArchiveExtraction() + .equals(other.getArchiveExtraction())) return false; break; case 3: - if (!getMsiInstallation().equals(other.getMsiInstallation())) return false; + if (!getMsiInstallation() + .equals(other.getMsiInstallation())) return false; break; case 4: - if (!getDpkgInstallation().equals(other.getDpkgInstallation())) return false; + if (!getDpkgInstallation() + .equals(other.getDpkgInstallation())) return false; break; case 5: - if (!getRpmInstallation().equals(other.getRpmInstallation())) return false; + if (!getRpmInstallation() + .equals(other.getRpmInstallation())) return false; break; case 6: - if (!getFileExec().equals(other.getFileExec())) return false; + if (!getFileExec() + .equals(other.getFileExec())) return false; break; case 7: - if (!getScriptRun().equals(other.getScriptRun())) return false; + if (!getScriptRun() + .equals(other.getScriptRun())) return false; break; case 0: default: @@ -31997,96 +27932,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -32096,49 +28022,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * An action that can be taken as part of installing or updating a recipe.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step) com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -32148,22 +28069,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step result = - buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -32172,8 +28090,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step build( @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step(this); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step(this); if (stepCase_ == 1) { if (fileCopyBuilder_ == null) { result.step_ = step_; @@ -32232,93 +28149,78 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step) other); + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.getDefaultInstance()) return this; switch (other.getStepCase()) { - case FILE_COPY: - { - mergeFileCopy(other.getFileCopy()); - break; - } - case ARCHIVE_EXTRACTION: - { - mergeArchiveExtraction(other.getArchiveExtraction()); - break; - } - case MSI_INSTALLATION: - { - mergeMsiInstallation(other.getMsiInstallation()); - break; - } - case DPKG_INSTALLATION: - { - mergeDpkgInstallation(other.getDpkgInstallation()); - break; - } - case RPM_INSTALLATION: - { - mergeRpmInstallation(other.getRpmInstallation()); - break; - } - case FILE_EXEC: - { - mergeFileExec(other.getFileExec()); - break; - } - case SCRIPT_RUN: - { - mergeScriptRun(other.getScriptRun()); - break; - } - case STEP_NOT_SET: - { - break; - } + case FILE_COPY: { + mergeFileCopy(other.getFileCopy()); + break; + } + case ARCHIVE_EXTRACTION: { + mergeArchiveExtraction(other.getArchiveExtraction()); + break; + } + case MSI_INSTALLATION: { + mergeMsiInstallation(other.getMsiInstallation()); + break; + } + case DPKG_INSTALLATION: { + mergeDpkgInstallation(other.getDpkgInstallation()); + break; + } + case RPM_INSTALLATION: { + mergeRpmInstallation(other.getRpmInstallation()); + break; + } + case FILE_EXEC: { + mergeFileExec(other.getFileExec()); + break; + } + case SCRIPT_RUN: { + mergeScriptRun(other.getScriptRun()); + break; + } + case STEP_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -32339,9 +28241,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -32350,12 +28250,12 @@ public Builder mergeFrom( } return this; } - private int stepCase_ = 0; private java.lang.Object step_; - - public StepCase getStepCase() { - return StepCase.forNumber(stepCase_); + public StepCase + getStepCase() { + return StepCase.forNumber( + stepCase_); } public Builder clearStep() { @@ -32365,21 +28265,15 @@ public Builder clearStep() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .CopyFileOrBuilder> - fileCopyBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder> fileCopyBuilder_; /** - * - * *
          * Copies a file onto the instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; - * * @return Whether the fileCopy field is set. */ @java.lang.Override @@ -32387,45 +28281,35 @@ public boolean hasFileCopy() { return stepCase_ == 1; } /** - * - * *
          * Copies a file onto the instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; - * * @return The fileCopy. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - getFileCopy() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile getFileCopy() { if (fileCopyBuilder_ == null) { if (stepCase_ == 1) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.getDefaultInstance(); } else { if (stepCase_ == 1) { return fileCopyBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.getDefaultInstance(); } } /** - * - * *
          * Copies a file onto the instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; */ - public Builder setFileCopy( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile value) { + public Builder setFileCopy(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile value) { if (fileCopyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -32439,8 +28323,6 @@ public Builder setFileCopy( return this; } /** - * - * *
          * Copies a file onto the instance.
          * 
@@ -32448,8 +28330,7 @@ public Builder setFileCopy( * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; */ public Builder setFileCopy( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder builderForValue) { if (fileCopyBuilder_ == null) { step_ = builderForValue.build(); onChanged(); @@ -32460,29 +28341,18 @@ public Builder setFileCopy( return this; } /** - * - * *
          * Copies a file onto the instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; */ - public Builder mergeFileCopy( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile value) { + public Builder mergeFileCopy(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile value) { if (fileCopyBuilder_ == null) { - if (stepCase_ == 1 - && step_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - .getDefaultInstance()) { - step_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - .newBuilder( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .CopyFile) - step_) - .mergeFrom(value) - .buildPartial(); + if (stepCase_ == 1 && + step_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.getDefaultInstance()) { + step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_) + .mergeFrom(value).buildPartial(); } else { step_ = value; } @@ -32498,8 +28368,6 @@ public Builder mergeFileCopy( return this; } /** - * - * *
          * Copies a file onto the instance.
          * 
@@ -32523,21 +28391,16 @@ public Builder clearFileCopy() { return this; } /** - * - * *
          * Copies a file onto the instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder - getFileCopyBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder getFileCopyBuilder() { return getFileCopyFieldBuilder().getBuilder(); } /** - * - * *
          * Copies a file onto the instance.
          * 
@@ -32545,22 +28408,17 @@ public Builder clearFileCopy() { * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder - getFileCopyOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder getFileCopyOrBuilder() { if ((stepCase_ == 1) && (fileCopyBuilder_ != null)) { return fileCopyBuilder_.getMessageOrBuilder(); } else { if (stepCase_ == 1) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.getDefaultInstance(); } } /** - * - * *
          * Copies a file onto the instance.
          * 
@@ -32568,54 +28426,32 @@ public Builder clearFileCopy() { * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .CopyFileOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder> getFileCopyFieldBuilder() { if (fileCopyBuilder_ == null) { if (!(stepCase_ == 1)) { - step_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - .getDefaultInstance(); - } - fileCopyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .CopyFileOrBuilder>( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) - step_, + step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.getDefaultInstance(); + } + fileCopyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder>( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_, getParentForChildren(), isClean()); step_ = null; } stepCase_ = 1; - onChanged(); - ; + onChanged();; return fileCopyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchiveOrBuilder> - archiveExtractionBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder> archiveExtractionBuilder_; /** - * - * *
          * Extracts an archive into the specified directory.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; * @return Whether the archiveExtraction field is set. */ @java.lang.Override @@ -32623,51 +28459,35 @@ public boolean hasArchiveExtraction() { return stepCase_ == 2; } /** - * - * *
          * Extracts an archive into the specified directory.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; * @return The archiveExtraction. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - getArchiveExtraction() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive getArchiveExtraction() { if (archiveExtractionBuilder_ == null) { if (stepCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDefaultInstance(); } else { if (stepCase_ == 2) { return archiveExtractionBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDefaultInstance(); } } /** - * - * *
          * Extracts an archive into the specified directory.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; */ - public Builder setArchiveExtraction( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - value) { + public Builder setArchiveExtraction(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive value) { if (archiveExtractionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -32681,20 +28501,14 @@ public Builder setArchiveExtraction( return this; } /** - * - * *
          * Extracts an archive into the specified directory.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; */ public Builder setArchiveExtraction( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder builderForValue) { if (archiveExtractionBuilder_ == null) { step_ = builderForValue.build(); onChanged(); @@ -32705,32 +28519,18 @@ public Builder setArchiveExtraction( return this; } /** - * - * *
          * Extracts an archive into the specified directory.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; */ - public Builder mergeArchiveExtraction( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - value) { + public Builder mergeArchiveExtraction(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive value) { if (archiveExtractionBuilder_ == null) { - if (stepCase_ == 2 - && step_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive.getDefaultInstance()) { - step_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .newBuilder( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive) - step_) - .mergeFrom(value) - .buildPartial(); + if (stepCase_ == 2 && + step_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDefaultInstance()) { + step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_) + .mergeFrom(value).buildPartial(); } else { step_ = value; } @@ -32746,15 +28546,11 @@ public Builder mergeArchiveExtraction( return this; } /** - * - * *
          * Extracts an archive into the specified directory.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; */ public Builder clearArchiveExtraction() { if (archiveExtractionBuilder_ == null) { @@ -32773,110 +28569,67 @@ public Builder clearArchiveExtraction() { return this; } /** - * - * *
          * Extracts an archive into the specified directory.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .Builder - getArchiveExtractionBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder getArchiveExtractionBuilder() { return getArchiveExtractionFieldBuilder().getBuilder(); } /** - * - * *
          * Extracts an archive into the specified directory.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchiveOrBuilder - getArchiveExtractionOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder getArchiveExtractionOrBuilder() { if ((stepCase_ == 2) && (archiveExtractionBuilder_ != null)) { return archiveExtractionBuilder_.getMessageOrBuilder(); } else { if (stepCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDefaultInstance(); } } /** - * - * *
          * Extracts an archive into the specified directory.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchiveOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder> getArchiveExtractionFieldBuilder() { if (archiveExtractionBuilder_ == null) { if (!(stepCase_ == 2)) { - step_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive - .getDefaultInstance(); - } - archiveExtractionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchiveOrBuilder>( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExtractArchive) - step_, + step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDefaultInstance(); + } + archiveExtractionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder>( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_, getParentForChildren(), isClean()); step_ = null; } stepCase_ = 2; - onChanged(); - ; + onChanged();; return archiveExtractionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallMsiOrBuilder> - msiInstallationBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder> msiInstallationBuilder_; /** - * - * *
          * Installs an MSI file.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; * @return Whether the msiInstallation field is set. */ @java.lang.Override @@ -32884,47 +28637,35 @@ public boolean hasMsiInstallation() { return stepCase_ == 3; } /** - * - * *
          * Installs an MSI file.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; * @return The msiInstallation. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - getMsiInstallation() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi getMsiInstallation() { if (msiInstallationBuilder_ == null) { if (stepCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.getDefaultInstance(); } else { if (stepCase_ == 3) { return msiInstallationBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.getDefaultInstance(); } } /** - * - * *
          * Installs an MSI file.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; */ - public Builder setMsiInstallation( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi value) { + public Builder setMsiInstallation(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi value) { if (msiInstallationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -32938,18 +28679,14 @@ public Builder setMsiInstallation( return this; } /** - * - * *
          * Installs an MSI file.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; */ public Builder setMsiInstallation( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder builderForValue) { if (msiInstallationBuilder_ == null) { step_ = builderForValue.build(); onChanged(); @@ -32960,30 +28697,18 @@ public Builder setMsiInstallation( return this; } /** - * - * *
          * Installs an MSI file.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; */ - public Builder mergeMsiInstallation( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi value) { + public Builder mergeMsiInstallation(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi value) { if (msiInstallationBuilder_ == null) { - if (stepCase_ == 3 - && step_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - .getDefaultInstance()) { - step_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - .newBuilder( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallMsi) - step_) - .mergeFrom(value) - .buildPartial(); + if (stepCase_ == 3 && + step_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.getDefaultInstance()) { + step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_) + .mergeFrom(value).buildPartial(); } else { step_ = value; } @@ -32999,14 +28724,11 @@ public Builder mergeMsiInstallation( return this; } /** - * - * *
          * Installs an MSI file.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; */ public Builder clearMsiInstallation() { if (msiInstallationBuilder_ == null) { @@ -33025,104 +28747,67 @@ public Builder clearMsiInstallation() { return this; } /** - * - * *
          * Installs an MSI file.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder - getMsiInstallationBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder getMsiInstallationBuilder() { return getMsiInstallationFieldBuilder().getBuilder(); } /** - * - * *
          * Installs an MSI file.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallMsiOrBuilder - getMsiInstallationOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder getMsiInstallationOrBuilder() { if ((stepCase_ == 3) && (msiInstallationBuilder_ != null)) { return msiInstallationBuilder_.getMessageOrBuilder(); } else { if (stepCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.getDefaultInstance(); } } /** - * - * *
          * Installs an MSI file.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallMsiOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder> getMsiInstallationFieldBuilder() { if (msiInstallationBuilder_ == null) { if (!(stepCase_ == 3)) { - step_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - .getDefaultInstance(); - } - msiInstallationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallMsiOrBuilder>( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) - step_, + step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.getDefaultInstance(); + } + msiInstallationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder>( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_, getParentForChildren(), isClean()); step_ = null; } stepCase_ = 3; - onChanged(); - ; + onChanged();; return msiInstallationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallDpkgOrBuilder> - dpkgInstallationBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder> dpkgInstallationBuilder_; /** - * - * *
          * Installs a deb file via dpkg.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; * @return Whether the dpkgInstallation field is set. */ @java.lang.Override @@ -33130,50 +28815,35 @@ public boolean hasDpkgInstallation() { return stepCase_ == 4; } /** - * - * *
          * Installs a deb file via dpkg.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; * @return The dpkgInstallation. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - getDpkgInstallation() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg getDpkgInstallation() { if (dpkgInstallationBuilder_ == null) { if (stepCase_ == 4) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallDpkg) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.getDefaultInstance(); } else { if (stepCase_ == 4) { return dpkgInstallationBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.getDefaultInstance(); } } /** - * - * *
          * Installs a deb file via dpkg.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; */ - public Builder setDpkgInstallation( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg value) { + public Builder setDpkgInstallation(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg value) { if (dpkgInstallationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -33187,19 +28857,14 @@ public Builder setDpkgInstallation( return this; } /** - * - * *
          * Installs a deb file via dpkg.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; */ public Builder setDpkgInstallation( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder builderForValue) { if (dpkgInstallationBuilder_ == null) { step_ = builderForValue.build(); onChanged(); @@ -33210,31 +28875,18 @@ public Builder setDpkgInstallation( return this; } /** - * - * *
          * Installs a deb file via dpkg.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; */ - public Builder mergeDpkgInstallation( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg value) { + public Builder mergeDpkgInstallation(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg value) { if (dpkgInstallationBuilder_ == null) { - if (stepCase_ == 4 - && step_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallDpkg.getDefaultInstance()) { - step_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - .newBuilder( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallDpkg) - step_) - .mergeFrom(value) - .buildPartial(); + if (stepCase_ == 4 && + step_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.getDefaultInstance()) { + step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_) + .mergeFrom(value).buildPartial(); } else { step_ = value; } @@ -33250,15 +28902,11 @@ public Builder mergeDpkgInstallation( return this; } /** - * - * *
          * Installs a deb file via dpkg.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; */ public Builder clearDpkgInstallation() { if (dpkgInstallationBuilder_ == null) { @@ -33277,108 +28925,67 @@ public Builder clearDpkgInstallation() { return this; } /** - * - * *
          * Installs a deb file via dpkg.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - .Builder - getDpkgInstallationBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder getDpkgInstallationBuilder() { return getDpkgInstallationFieldBuilder().getBuilder(); } /** - * - * *
          * Installs a deb file via dpkg.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallDpkgOrBuilder - getDpkgInstallationOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder getDpkgInstallationOrBuilder() { if ((stepCase_ == 4) && (dpkgInstallationBuilder_ != null)) { return dpkgInstallationBuilder_.getMessageOrBuilder(); } else { if (stepCase_ == 4) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallDpkg) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.getDefaultInstance(); } } /** - * - * *
          * Installs a deb file via dpkg.
          * 
* - * - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallDpkgOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder> getDpkgInstallationFieldBuilder() { if (dpkgInstallationBuilder_ == null) { if (!(stepCase_ == 4)) { - step_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - .getDefaultInstance(); - } - dpkgInstallationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallDpkgOrBuilder>( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) - step_, + step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.getDefaultInstance(); + } + dpkgInstallationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder>( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_, getParentForChildren(), isClean()); step_ = null; } stepCase_ = 4; - onChanged(); - ; + onChanged();; return dpkgInstallationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallRpmOrBuilder> - rpmInstallationBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder> rpmInstallationBuilder_; /** - * - * *
          * Installs an rpm file via the rpm utility.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; * @return Whether the rpmInstallation field is set. */ @java.lang.Override @@ -33386,47 +28993,35 @@ public boolean hasRpmInstallation() { return stepCase_ == 5; } /** - * - * *
          * Installs an rpm file via the rpm utility.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; - * - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; * @return The rpmInstallation. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - getRpmInstallation() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm getRpmInstallation() { if (rpmInstallationBuilder_ == null) { if (stepCase_ == 5) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.getDefaultInstance(); } else { if (stepCase_ == 5) { return rpmInstallationBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.getDefaultInstance(); } } /** - * - * *
          * Installs an rpm file via the rpm utility.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; */ - public Builder setRpmInstallation( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm value) { + public Builder setRpmInstallation(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm value) { if (rpmInstallationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -33440,18 +29035,14 @@ public Builder setRpmInstallation( return this; } /** - * - * *
          * Installs an rpm file via the rpm utility.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; */ public Builder setRpmInstallation( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder builderForValue) { if (rpmInstallationBuilder_ == null) { step_ = builderForValue.build(); onChanged(); @@ -33462,30 +29053,18 @@ public Builder setRpmInstallation( return this; } /** - * - * *
          * Installs an rpm file via the rpm utility.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; */ - public Builder mergeRpmInstallation( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm value) { + public Builder mergeRpmInstallation(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm value) { if (rpmInstallationBuilder_ == null) { - if (stepCase_ == 5 - && step_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - .getDefaultInstance()) { - step_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - .newBuilder( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallRpm) - step_) - .mergeFrom(value) - .buildPartial(); + if (stepCase_ == 5 && + step_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.getDefaultInstance()) { + step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_) + .mergeFrom(value).buildPartial(); } else { step_ = value; } @@ -33501,14 +29080,11 @@ public Builder mergeRpmInstallation( return this; } /** - * - * *
          * Installs an rpm file via the rpm utility.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; */ public Builder clearRpmInstallation() { if (rpmInstallationBuilder_ == null) { @@ -33527,101 +29103,67 @@ public Builder clearRpmInstallation() { return this; } /** - * - * *
          * Installs an rpm file via the rpm utility.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder - getRpmInstallationBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder getRpmInstallationBuilder() { return getRpmInstallationFieldBuilder().getBuilder(); } /** - * - * *
          * Installs an rpm file via the rpm utility.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallRpmOrBuilder - getRpmInstallationOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder getRpmInstallationOrBuilder() { if ((stepCase_ == 5) && (rpmInstallationBuilder_ != null)) { return rpmInstallationBuilder_.getMessageOrBuilder(); } else { if (stepCase_ == 5) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.getDefaultInstance(); } } /** - * - * *
          * Installs an rpm file via the rpm utility.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; - * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallRpmOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder> getRpmInstallationFieldBuilder() { if (rpmInstallationBuilder_ == null) { if (!(stepCase_ == 5)) { - step_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - .getDefaultInstance(); - } - rpmInstallationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .InstallRpmOrBuilder>( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) - step_, + step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.getDefaultInstance(); + } + rpmInstallationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder>( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_, getParentForChildren(), isClean()); step_ = null; } stepCase_ = 5; - onChanged(); - ; + onChanged();; return rpmInstallationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExecFileOrBuilder> - fileExecBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder> fileExecBuilder_; /** - * - * *
          * Executes an artifact or local file.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; - * * @return Whether the fileExec field is set. */ @java.lang.Override @@ -33629,45 +29171,35 @@ public boolean hasFileExec() { return stepCase_ == 6; } /** - * - * *
          * Executes an artifact or local file.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; - * * @return The fileExec. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - getFileExec() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile getFileExec() { if (fileExecBuilder_ == null) { if (stepCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.getDefaultInstance(); } else { if (stepCase_ == 6) { return fileExecBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.getDefaultInstance(); } } /** - * - * *
          * Executes an artifact or local file.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; */ - public Builder setFileExec( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile value) { + public Builder setFileExec(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile value) { if (fileExecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -33681,8 +29213,6 @@ public Builder setFileExec( return this; } /** - * - * *
          * Executes an artifact or local file.
          * 
@@ -33690,8 +29220,7 @@ public Builder setFileExec( * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; */ public Builder setFileExec( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder builderForValue) { if (fileExecBuilder_ == null) { step_ = builderForValue.build(); onChanged(); @@ -33702,29 +29231,18 @@ public Builder setFileExec( return this; } /** - * - * *
          * Executes an artifact or local file.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; */ - public Builder mergeFileExec( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile value) { + public Builder mergeFileExec(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile value) { if (fileExecBuilder_ == null) { - if (stepCase_ == 6 - && step_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - .getDefaultInstance()) { - step_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - .newBuilder( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExecFile) - step_) - .mergeFrom(value) - .buildPartial(); + if (stepCase_ == 6 && + step_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.getDefaultInstance()) { + step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_) + .mergeFrom(value).buildPartial(); } else { step_ = value; } @@ -33740,8 +29258,6 @@ public Builder mergeFileExec( return this; } /** - * - * *
          * Executes an artifact or local file.
          * 
@@ -33765,21 +29281,16 @@ public Builder clearFileExec() { return this; } /** - * - * *
          * Executes an artifact or local file.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder - getFileExecBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder getFileExecBuilder() { return getFileExecFieldBuilder().getBuilder(); } /** - * - * *
          * Executes an artifact or local file.
          * 
@@ -33787,22 +29298,17 @@ public Builder clearFileExec() { * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder - getFileExecOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder getFileExecOrBuilder() { if ((stepCase_ == 6) && (fileExecBuilder_ != null)) { return fileExecBuilder_.getMessageOrBuilder(); } else { if (stepCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.getDefaultInstance(); } } /** - * - * *
          * Executes an artifact or local file.
          * 
@@ -33810,52 +29316,32 @@ public Builder clearFileExec() { * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExecFileOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder> getFileExecFieldBuilder() { if (fileExecBuilder_ == null) { if (!(stepCase_ == 6)) { - step_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - .getDefaultInstance(); - } - fileExecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .ExecFileOrBuilder>( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) - step_, + step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.getDefaultInstance(); + } + fileExecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder>( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_, getParentForChildren(), isClean()); step_ = null; } stepCase_ = 6; - onChanged(); - ; + onChanged();; return fileExecBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .RunScriptOrBuilder> - scriptRunBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder> scriptRunBuilder_; /** - * - * *
          * Runs commands in a shell.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; - * * @return Whether the scriptRun field is set. */ @java.lang.Override @@ -33863,45 +29349,35 @@ public boolean hasScriptRun() { return stepCase_ == 7; } /** - * - * *
          * Runs commands in a shell.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; - * * @return The scriptRun. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - getScriptRun() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript getScriptRun() { if (scriptRunBuilder_ == null) { if (stepCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDefaultInstance(); } else { if (stepCase_ == 7) { return scriptRunBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDefaultInstance(); } } /** - * - * *
          * Runs commands in a shell.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; */ - public Builder setScriptRun( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript value) { + public Builder setScriptRun(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript value) { if (scriptRunBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -33915,8 +29391,6 @@ public Builder setScriptRun( return this; } /** - * - * *
          * Runs commands in a shell.
          * 
@@ -33924,8 +29398,7 @@ public Builder setScriptRun( * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; */ public Builder setScriptRun( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder builderForValue) { if (scriptRunBuilder_ == null) { step_ = builderForValue.build(); onChanged(); @@ -33936,29 +29409,18 @@ public Builder setScriptRun( return this; } /** - * - * *
          * Runs commands in a shell.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; */ - public Builder mergeScriptRun( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript value) { + public Builder mergeScriptRun(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript value) { if (scriptRunBuilder_ == null) { - if (stepCase_ == 7 - && step_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .getDefaultInstance()) { - step_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .newBuilder( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .RunScript) - step_) - .mergeFrom(value) - .buildPartial(); + if (stepCase_ == 7 && + step_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDefaultInstance()) { + step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_) + .mergeFrom(value).buildPartial(); } else { step_ = value; } @@ -33974,8 +29436,6 @@ public Builder mergeScriptRun( return this; } /** - * - * *
          * Runs commands in a shell.
          * 
@@ -33999,21 +29459,16 @@ public Builder clearScriptRun() { return this; } /** - * - * *
          * Runs commands in a shell.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder - getScriptRunBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder getScriptRunBuilder() { return getScriptRunFieldBuilder().getBuilder(); } /** - * - * *
          * Runs commands in a shell.
          * 
@@ -34021,22 +29476,17 @@ public Builder clearScriptRun() { * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder - getScriptRunOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder getScriptRunOrBuilder() { if ((stepCase_ == 7) && (scriptRunBuilder_ != null)) { return scriptRunBuilder_.getMessageOrBuilder(); } else { if (stepCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) - step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDefaultInstance(); } } /** - * - * *
          * Runs commands in a shell.
          * 
@@ -34044,37 +29494,23 @@ public Builder clearScriptRun() { * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .RunScriptOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder> getScriptRunFieldBuilder() { if (scriptRunBuilder_ == null) { if (!(stepCase_ == 7)) { - step_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .getDefaultInstance(); - } - scriptRunBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - .RunScriptOrBuilder>( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) - step_, + step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDefaultInstance(); + } + scriptRunBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder>( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_, getParentForChildren(), isClean()); step_ = null; } stepCase_ = 7; - onChanged(); - ; + onChanged();; return scriptRunBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -34087,32 +29523,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Step parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Step(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Step parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Step(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -34124,17 +29558,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. Unique identifier for the recipe. Only one recipe with a given name is
      * installed on an instance.
@@ -34145,7 +29577,6 @@ public com.google.protobuf.Parser getParserForType() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -34154,15 +29585,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. Unique identifier for the recipe. Only one recipe with a given name is
      * installed on an instance.
@@ -34173,15 +29603,16 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -34192,15 +29623,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
      * The version of this software recipe. Version can be up to 4 period
      * separated numbers (e.g. 12.34.56.78).
      * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -34209,30 +29637,30 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
      * The version of this software recipe. Version can be up to 4 period
      * separated numbers (e.g. 12.34.56.78).
      * 
* * string version = 2; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -34241,11 +29669,8 @@ public com.google.protobuf.ByteString getVersionBytes() { } public static final int ARTIFACTS_FIELD_NUMBER = 3; - private java.util.List - artifacts_; + private java.util.List artifacts_; /** - * - * *
      * Resources available to be used in the steps in the recipe.
      * 
@@ -34253,13 +29678,10 @@ public com.google.protobuf.ByteString getVersionBytes() { * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ @java.lang.Override - public java.util.List - getArtifactsList() { + public java.util.List getArtifactsList() { return artifacts_; } /** - * - * *
      * Resources available to be used in the steps in the recipe.
      * 
@@ -34267,15 +29689,11 @@ public com.google.protobuf.ByteString getVersionBytes() { * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder> + public java.util.List getArtifactsOrBuilderList() { return artifacts_; } /** - * - * *
      * Resources available to be used in the steps in the recipe.
      * 
@@ -34287,8 +29705,6 @@ public int getArtifactsCount() { return artifacts_.size(); } /** - * - * *
      * Resources available to be used in the steps in the recipe.
      * 
@@ -34296,13 +29712,10 @@ public int getArtifactsCount() { * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact getArtifacts( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact getArtifacts(int index) { return artifacts_.get(index); } /** - * - * *
      * Resources available to be used in the steps in the recipe.
      * 
@@ -34310,17 +29723,14 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact ge * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder - getArtifactsOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder getArtifactsOrBuilder( + int index) { return artifacts_.get(index); } public static final int INSTALL_STEPS_FIELD_NUMBER = 4; - private java.util.List - installSteps_; + private java.util.List installSteps_; /** - * - * *
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -34330,13 +29740,10 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact ge
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
      */
     @java.lang.Override
-    public java.util.List
-        getInstallStepsList() {
+    public java.util.List getInstallStepsList() {
       return installSteps_;
     }
     /**
-     *
-     *
      * 
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -34346,14 +29753,11 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact ge
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
      */
     @java.lang.Override
-    public java.util.List<
-            ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>
+    public java.util.List 
         getInstallStepsOrBuilderList() {
       return installSteps_;
     }
     /**
-     *
-     *
      * 
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -34367,8 +29771,6 @@ public int getInstallStepsCount() {
       return installSteps_.size();
     }
     /**
-     *
-     *
      * 
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -34378,13 +29780,10 @@ public int getInstallStepsCount() {
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getInstallSteps(
-        int index) {
+    public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getInstallSteps(int index) {
       return installSteps_.get(index);
     }
     /**
-     *
-     *
      * 
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -34394,17 +29793,14 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getIns
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder
-        getInstallStepsOrBuilder(int index) {
+    public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getInstallStepsOrBuilder(
+        int index) {
       return installSteps_.get(index);
     }
 
     public static final int UPDATE_STEPS_FIELD_NUMBER = 5;
-    private java.util.List
-        updateSteps_;
+    private java.util.List updateSteps_;
     /**
-     *
-     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -34414,13 +29810,10 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getIns
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
      */
     @java.lang.Override
-    public java.util.List
-        getUpdateStepsList() {
+    public java.util.List getUpdateStepsList() {
       return updateSteps_;
     }
     /**
-     *
-     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -34430,14 +29823,11 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getIns
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
      */
     @java.lang.Override
-    public java.util.List<
-            ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>
+    public java.util.List 
         getUpdateStepsOrBuilderList() {
       return updateSteps_;
     }
     /**
-     *
-     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -34451,8 +29841,6 @@ public int getUpdateStepsCount() {
       return updateSteps_.size();
     }
     /**
-     *
-     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -34462,13 +29850,10 @@ public int getUpdateStepsCount() {
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getUpdateSteps(
-        int index) {
+    public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getUpdateSteps(int index) {
       return updateSteps_.get(index);
     }
     /**
-     *
-     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -34478,16 +29863,14 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getUpd
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder
-        getUpdateStepsOrBuilder(int index) {
+    public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getUpdateStepsOrBuilder(
+        int index) {
       return updateSteps_.get(index);
     }
 
     public static final int DESIRED_STATE_FIELD_NUMBER = 6;
     private int desiredState_;
     /**
-     *
-     *
      * 
      * Default is INSTALLED. The desired state the agent should maintain for this
      * recipe.
@@ -34501,16 +29884,12 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getUpd
      * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 6; - * * @return The enum numeric value on the wire for desiredState. */ - @java.lang.Override - public int getDesiredStateValue() { + @java.lang.Override public int getDesiredStateValue() { return desiredState_; } /** - * - * *
      * Default is INSTALLED. The desired state the agent should maintain for this
      * recipe.
@@ -34524,21 +29903,15 @@ public int getDesiredStateValue() {
      * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 6; - * * @return The desiredState. */ - @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState getDesiredState() { + @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState getDesiredState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState result = - com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.valueOf(desiredState_); - return result == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState result = com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.valueOf(desiredState_); + return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -34550,7 +29923,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -34566,9 +29940,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < updateSteps_.size(); i++) { output.writeMessage(5, updateSteps_.get(i)); } - if (desiredState_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.DESIRED_STATE_UNSPECIFIED - .getNumber()) { + if (desiredState_ != com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(6, desiredState_); } unknownFields.writeTo(output); @@ -34587,18 +29959,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); } for (int i = 0; i < artifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, artifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, artifacts_.get(i)); } for (int i = 0; i < installSteps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, installSteps_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, installSteps_.get(i)); } for (int i = 0; i < updateSteps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, updateSteps_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, updateSteps_.get(i)); } - if (desiredState_ - != com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.DESIRED_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, desiredState_); + if (desiredState_ != com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, desiredState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -34608,19 +29982,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe) obj; - - if (!getName().equals(other.getName())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getArtifactsList().equals(other.getArtifactsList())) return false; - if (!getInstallStepsList().equals(other.getInstallStepsList())) return false; - if (!getUpdateStepsList().equals(other.getUpdateStepsList())) return false; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getArtifactsList() + .equals(other.getArtifactsList())) return false; + if (!getInstallStepsList() + .equals(other.getInstallStepsList())) return false; + if (!getUpdateStepsList() + .equals(other.getUpdateStepsList())) return false; if (desiredState_ != other.desiredState_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -34657,94 +30035,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -34754,8 +30125,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A software recipe is a set of instructions for installing and configuring a
      * piece of software. It consists of a set of artifacts that are
@@ -34778,24 +30147,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe)
         com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.class,
-                com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.newBuilder()
@@ -34803,19 +30169,19 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getArtifactsFieldBuilder();
           getInstallStepsFieldBuilder();
           getUpdateStepsFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -34847,14 +30213,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance();
       }
 
@@ -34869,8 +30234,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe buildPartial() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe result =
-            new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe(this);
+        com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe(this);
         int from_bitField0_ = bitField0_;
         result.name_ = name_;
         result.version_ = version_;
@@ -34910,52 +30274,46 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe buildPartia
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.GuestPolicies.SoftwareRecipe) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe other) {
-        if (other
-            == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe other) {
+        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance()) return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -34982,10 +30340,9 @@ public Builder mergeFrom(
               artifactsBuilder_ = null;
               artifacts_ = other.artifacts_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              artifactsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getArtifactsFieldBuilder()
-                      : null;
+              artifactsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getArtifactsFieldBuilder() : null;
             } else {
               artifactsBuilder_.addAllMessages(other.artifacts_);
             }
@@ -35009,10 +30366,9 @@ public Builder mergeFrom(
               installStepsBuilder_ = null;
               installSteps_ = other.installSteps_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              installStepsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getInstallStepsFieldBuilder()
-                      : null;
+              installStepsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getInstallStepsFieldBuilder() : null;
             } else {
               installStepsBuilder_.addAllMessages(other.installSteps_);
             }
@@ -35036,10 +30392,9 @@ public Builder mergeFrom(
               updateStepsBuilder_ = null;
               updateSteps_ = other.updateSteps_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              updateStepsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getUpdateStepsFieldBuilder()
-                      : null;
+              updateStepsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getUpdateStepsFieldBuilder() : null;
             } else {
               updateStepsBuilder_.addAllMessages(other.updateSteps_);
             }
@@ -35067,9 +30422,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -35078,13 +30431,10 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object name_ = "";
       /**
-       *
-       *
        * 
        * Required. Unique identifier for the recipe. Only one recipe with a given name is
        * installed on an instance.
@@ -35095,13 +30445,13 @@ public Builder mergeFrom(
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -35110,8 +30460,6 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. Unique identifier for the recipe. Only one recipe with a given name is
        * installed on an instance.
@@ -35122,14 +30470,15 @@ public java.lang.String getName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -35137,8 +30486,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. Unique identifier for the recipe. Only one recipe with a given name is
        * installed on an instance.
@@ -35149,22 +30496,20 @@ public com.google.protobuf.ByteString getNameBytes() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. Unique identifier for the recipe. Only one recipe with a given name is
        * installed on an instance.
@@ -35175,18 +30520,15 @@ public Builder setName(java.lang.String value) {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. Unique identifier for the recipe. Only one recipe with a given name is
        * installed on an instance.
@@ -35197,16 +30539,16 @@ public Builder clearName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -35214,21 +30556,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
        * The version of this software recipe. Version can be up to 4 period
        * separated numbers (e.g. 12.34.56.78).
        * 
* * string version = 2; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -35237,22 +30577,21 @@ public java.lang.String getVersion() { } } /** - * - * *
        * The version of this software recipe. Version can be up to 4 period
        * separated numbers (e.g. 12.34.56.78).
        * 
* * string version = 2; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -35260,99 +30599,82 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
        * The version of this software recipe. Version can be up to 4 period
        * separated numbers (e.g. 12.34.56.78).
        * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
        * The version of this software recipe. Version can be up to 4 period
        * separated numbers (e.g. 12.34.56.78).
        * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
        * The version of this software recipe. Version can be up to 4 period
        * separated numbers (e.g. 12.34.56.78).
        * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } - private java.util.List - artifacts_ = java.util.Collections.emptyList(); - + private java.util.List artifacts_ = + java.util.Collections.emptyList(); private void ensureArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - artifacts_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact>( - artifacts_); + artifacts_ = new java.util.ArrayList(artifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder> - artifactsBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder> artifactsBuilder_; /** - * - * *
        * Resources available to be used in the steps in the recipe.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - public java.util.List - getArtifactsList() { + public java.util.List getArtifactsList() { if (artifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(artifacts_); } else { @@ -35360,8 +30682,6 @@ private void ensureArtifactsIsMutable() { } } /** - * - * *
        * Resources available to be used in the steps in the recipe.
        * 
@@ -35376,16 +30696,13 @@ public int getArtifactsCount() { } } /** - * - * *
        * Resources available to be used in the steps in the recipe.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact getArtifacts( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact getArtifacts(int index) { if (artifactsBuilder_ == null) { return artifacts_.get(index); } else { @@ -35393,8 +30710,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact ge } } /** - * - * *
        * Resources available to be used in the steps in the recipe.
        * 
@@ -35416,8 +30731,6 @@ public Builder setArtifacts( return this; } /** - * - * *
        * Resources available to be used in the steps in the recipe.
        * 
@@ -35425,9 +30738,7 @@ public Builder setArtifacts( * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ public Builder setArtifacts( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder builderForValue) { if (artifactsBuilder_ == null) { ensureArtifactsIsMutable(); artifacts_.set(index, builderForValue.build()); @@ -35438,16 +30749,13 @@ public Builder setArtifacts( return this; } /** - * - * *
        * Resources available to be used in the steps in the recipe.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - public Builder addArtifacts( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact value) { + public Builder addArtifacts(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact value) { if (artifactsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -35461,8 +30769,6 @@ public Builder addArtifacts( return this; } /** - * - * *
        * Resources available to be used in the steps in the recipe.
        * 
@@ -35484,8 +30790,6 @@ public Builder addArtifacts( return this; } /** - * - * *
        * Resources available to be used in the steps in the recipe.
        * 
@@ -35493,8 +30797,7 @@ public Builder addArtifacts( * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ public Builder addArtifacts( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder builderForValue) { if (artifactsBuilder_ == null) { ensureArtifactsIsMutable(); artifacts_.add(builderForValue.build()); @@ -35505,8 +30808,6 @@ public Builder addArtifacts( return this; } /** - * - * *
        * Resources available to be used in the steps in the recipe.
        * 
@@ -35514,9 +30815,7 @@ public Builder addArtifacts( * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ public Builder addArtifacts( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder builderForValue) { if (artifactsBuilder_ == null) { ensureArtifactsIsMutable(); artifacts_.add(index, builderForValue.build()); @@ -35527,8 +30826,6 @@ public Builder addArtifacts( return this; } /** - * - * *
        * Resources available to be used in the steps in the recipe.
        * 
@@ -35536,12 +30833,11 @@ public Builder addArtifacts( * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ public Builder addAllArtifacts( - java.lang.Iterable< - ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact> - values) { + java.lang.Iterable values) { if (artifactsBuilder_ == null) { ensureArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, artifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, artifacts_); onChanged(); } else { artifactsBuilder_.addAllMessages(values); @@ -35549,8 +30845,6 @@ public Builder addAllArtifacts( return this; } /** - * - * *
        * Resources available to be used in the steps in the recipe.
        * 
@@ -35568,8 +30862,6 @@ public Builder clearArtifacts() { return this; } /** - * - * *
        * Resources available to be used in the steps in the recipe.
        * 
@@ -35587,48 +30879,39 @@ public Builder removeArtifacts(int index) { return this; } /** - * - * *
        * Resources available to be used in the steps in the recipe.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder - getArtifactsBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder getArtifactsBuilder( + int index) { return getArtifactsFieldBuilder().getBuilder(index); } /** - * - * *
        * Resources available to be used in the steps in the recipe.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder - getArtifactsOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder getArtifactsOrBuilder( + int index) { if (artifactsBuilder_ == null) { - return artifacts_.get(index); - } else { + return artifacts_.get(index); } else { return artifactsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Resources available to be used in the steps in the recipe.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder> - getArtifactsOrBuilderList() { + public java.util.List + getArtifactsOrBuilderList() { if (artifactsBuilder_ != null) { return artifactsBuilder_.getMessageOrBuilderList(); } else { @@ -35636,92 +30919,67 @@ public Builder removeArtifacts(int index) { } } /** - * - * *
        * Resources available to be used in the steps in the recipe.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder - addArtifactsBuilder() { - return getArtifactsFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - .getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder addArtifactsBuilder() { + return getArtifactsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.getDefaultInstance()); } /** - * - * *
        * Resources available to be used in the steps in the recipe.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder - addArtifactsBuilder(int index) { - return getArtifactsFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact - .getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder addArtifactsBuilder( + int index) { + return getArtifactsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.getDefaultInstance()); } /** - * - * *
        * Resources available to be used in the steps in the recipe.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - public java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder> - getArtifactsBuilderList() { + public java.util.List + getArtifactsBuilderList() { return getArtifactsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder> getArtifactsFieldBuilder() { if (artifactsBuilder_ == null) { - artifactsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder>( - artifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + artifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder>( + artifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); artifacts_ = null; } return artifactsBuilder_; } - private java.util.List - installSteps_ = java.util.Collections.emptyList(); - + private java.util.List installSteps_ = + java.util.Collections.emptyList(); private void ensureInstallStepsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - installSteps_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step>( - installSteps_); + installSteps_ = new java.util.ArrayList(installSteps_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder> - installStepsBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder> installStepsBuilder_; /** - * - * *
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -35730,8 +30988,7 @@ private void ensureInstallStepsIsMutable() {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
-      public java.util.List
-          getInstallStepsList() {
+      public java.util.List getInstallStepsList() {
         if (installStepsBuilder_ == null) {
           return java.util.Collections.unmodifiableList(installSteps_);
         } else {
@@ -35739,8 +30996,6 @@ private void ensureInstallStepsIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -35757,8 +31012,6 @@ public int getInstallStepsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -35767,8 +31020,7 @@ public int getInstallStepsCount() {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getInstallSteps(
-          int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getInstallSteps(int index) {
         if (installStepsBuilder_ == null) {
           return installSteps_.get(index);
         } else {
@@ -35776,8 +31028,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getIns
         }
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -35801,8 +31051,6 @@ public Builder setInstallSteps(
         return this;
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -35812,9 +31060,7 @@ public Builder setInstallSteps(
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
       public Builder setInstallSteps(
-          int index,
-          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
-              builderForValue) {
+          int index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder builderForValue) {
         if (installStepsBuilder_ == null) {
           ensureInstallStepsIsMutable();
           installSteps_.set(index, builderForValue.build());
@@ -35825,8 +31071,6 @@ public Builder setInstallSteps(
         return this;
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -35835,8 +31079,7 @@ public Builder setInstallSteps(
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
-      public Builder addInstallSteps(
-          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step value) {
+      public Builder addInstallSteps(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step value) {
         if (installStepsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -35850,8 +31093,6 @@ public Builder addInstallSteps(
         return this;
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -35875,8 +31116,6 @@ public Builder addInstallSteps(
         return this;
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -35886,8 +31125,7 @@ public Builder addInstallSteps(
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
       public Builder addInstallSteps(
-          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
-              builderForValue) {
+          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder builderForValue) {
         if (installStepsBuilder_ == null) {
           ensureInstallStepsIsMutable();
           installSteps_.add(builderForValue.build());
@@ -35898,8 +31136,6 @@ public Builder addInstallSteps(
         return this;
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -35909,9 +31145,7 @@ public Builder addInstallSteps(
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
       public Builder addInstallSteps(
-          int index,
-          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
-              builderForValue) {
+          int index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder builderForValue) {
         if (installStepsBuilder_ == null) {
           ensureInstallStepsIsMutable();
           installSteps_.add(index, builderForValue.build());
@@ -35922,8 +31156,6 @@ public Builder addInstallSteps(
         return this;
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -35933,12 +31165,11 @@ public Builder addInstallSteps(
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
       public Builder addAllInstallSteps(
-          java.lang.Iterable<
-                  ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step>
-              values) {
+          java.lang.Iterable values) {
         if (installStepsBuilder_ == null) {
           ensureInstallStepsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, installSteps_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, installSteps_);
           onChanged();
         } else {
           installStepsBuilder_.addAllMessages(values);
@@ -35946,8 +31177,6 @@ public Builder addAllInstallSteps(
         return this;
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -35967,8 +31196,6 @@ public Builder clearInstallSteps() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -35988,8 +31215,6 @@ public Builder removeInstallSteps(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -35998,13 +31223,11 @@ public Builder removeInstallSteps(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
-          getInstallStepsBuilder(int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder getInstallStepsBuilder(
+          int index) {
         return getInstallStepsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -36013,17 +31236,14 @@ public Builder removeInstallSteps(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder
-          getInstallStepsOrBuilder(int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getInstallStepsOrBuilder(
+          int index) {
         if (installStepsBuilder_ == null) {
-          return installSteps_.get(index);
-        } else {
+          return installSteps_.get(index);  } else {
           return installStepsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -36032,9 +31252,8 @@ public Builder removeInstallSteps(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
-      public java.util.List<
-              ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>
-          getInstallStepsOrBuilderList() {
+      public java.util.List 
+           getInstallStepsOrBuilderList() {
         if (installStepsBuilder_ != null) {
           return installStepsBuilder_.getMessageOrBuilderList();
         } else {
@@ -36042,8 +31261,6 @@ public Builder removeInstallSteps(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -36052,16 +31269,11 @@ public Builder removeInstallSteps(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
-          addInstallStepsBuilder() {
-        return getInstallStepsFieldBuilder()
-            .addBuilder(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step
-                    .getDefaultInstance());
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder addInstallStepsBuilder() {
+        return getInstallStepsFieldBuilder().addBuilder(
+            com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -36070,17 +31282,12 @@ public Builder removeInstallSteps(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
-          addInstallStepsBuilder(int index) {
-        return getInstallStepsFieldBuilder()
-            .addBuilder(
-                index,
-                com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step
-                    .getDefaultInstance());
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder addInstallStepsBuilder(
+          int index) {
+        return getInstallStepsFieldBuilder().addBuilder(
+            index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -36089,23 +31296,16 @@ public Builder removeInstallSteps(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
-      public java.util.List<
-              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder>
-          getInstallStepsBuilderList() {
+      public java.util.List 
+           getInstallStepsBuilderList() {
         return getInstallStepsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>
+          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder> 
           getInstallStepsFieldBuilder() {
         if (installStepsBuilder_ == null) {
-          installStepsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step,
-                  com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder,
-                  com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>(
+          installStepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>(
                   installSteps_,
                   ((bitField0_ & 0x00000002) != 0),
                   getParentForChildren(),
@@ -36115,27 +31315,19 @@ public Builder removeInstallSteps(int index) {
         return installStepsBuilder_;
       }
 
-      private java.util.List
-          updateSteps_ = java.util.Collections.emptyList();
-
+      private java.util.List updateSteps_ =
+        java.util.Collections.emptyList();
       private void ensureUpdateStepsIsMutable() {
         if (!((bitField0_ & 0x00000004) != 0)) {
-          updateSteps_ =
-              new java.util.ArrayList<
-                  com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step>(updateSteps_);
+          updateSteps_ = new java.util.ArrayList(updateSteps_);
           bitField0_ |= 0x00000004;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>
-          updateStepsBuilder_;
+          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder> updateStepsBuilder_;
 
       /**
-       *
-       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -36144,8 +31336,7 @@ private void ensureUpdateStepsIsMutable() {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
-      public java.util.List
-          getUpdateStepsList() {
+      public java.util.List getUpdateStepsList() {
         if (updateStepsBuilder_ == null) {
           return java.util.Collections.unmodifiableList(updateSteps_);
         } else {
@@ -36153,8 +31344,6 @@ private void ensureUpdateStepsIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -36171,8 +31360,6 @@ public int getUpdateStepsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -36181,8 +31368,7 @@ public int getUpdateStepsCount() {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getUpdateSteps(
-          int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getUpdateSteps(int index) {
         if (updateStepsBuilder_ == null) {
           return updateSteps_.get(index);
         } else {
@@ -36190,8 +31376,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getUpd
         }
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -36215,8 +31399,6 @@ public Builder setUpdateSteps(
         return this;
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -36226,9 +31408,7 @@ public Builder setUpdateSteps(
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
       public Builder setUpdateSteps(
-          int index,
-          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
-              builderForValue) {
+          int index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder builderForValue) {
         if (updateStepsBuilder_ == null) {
           ensureUpdateStepsIsMutable();
           updateSteps_.set(index, builderForValue.build());
@@ -36239,8 +31419,6 @@ public Builder setUpdateSteps(
         return this;
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -36249,8 +31427,7 @@ public Builder setUpdateSteps(
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
-      public Builder addUpdateSteps(
-          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step value) {
+      public Builder addUpdateSteps(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step value) {
         if (updateStepsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -36264,8 +31441,6 @@ public Builder addUpdateSteps(
         return this;
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -36289,8 +31464,6 @@ public Builder addUpdateSteps(
         return this;
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -36300,8 +31473,7 @@ public Builder addUpdateSteps(
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
       public Builder addUpdateSteps(
-          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
-              builderForValue) {
+          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder builderForValue) {
         if (updateStepsBuilder_ == null) {
           ensureUpdateStepsIsMutable();
           updateSteps_.add(builderForValue.build());
@@ -36312,8 +31484,6 @@ public Builder addUpdateSteps(
         return this;
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -36323,9 +31493,7 @@ public Builder addUpdateSteps(
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
       public Builder addUpdateSteps(
-          int index,
-          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
-              builderForValue) {
+          int index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder builderForValue) {
         if (updateStepsBuilder_ == null) {
           ensureUpdateStepsIsMutable();
           updateSteps_.add(index, builderForValue.build());
@@ -36336,8 +31504,6 @@ public Builder addUpdateSteps(
         return this;
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -36347,12 +31513,11 @@ public Builder addUpdateSteps(
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
       public Builder addAllUpdateSteps(
-          java.lang.Iterable<
-                  ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step>
-              values) {
+          java.lang.Iterable values) {
         if (updateStepsBuilder_ == null) {
           ensureUpdateStepsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, updateSteps_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, updateSteps_);
           onChanged();
         } else {
           updateStepsBuilder_.addAllMessages(values);
@@ -36360,8 +31525,6 @@ public Builder addAllUpdateSteps(
         return this;
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -36381,8 +31544,6 @@ public Builder clearUpdateSteps() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -36402,8 +31563,6 @@ public Builder removeUpdateSteps(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -36412,13 +31571,11 @@ public Builder removeUpdateSteps(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
-          getUpdateStepsBuilder(int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder getUpdateStepsBuilder(
+          int index) {
         return getUpdateStepsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -36427,17 +31584,14 @@ public Builder removeUpdateSteps(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder
-          getUpdateStepsOrBuilder(int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getUpdateStepsOrBuilder(
+          int index) {
         if (updateStepsBuilder_ == null) {
-          return updateSteps_.get(index);
-        } else {
+          return updateSteps_.get(index);  } else {
           return updateStepsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -36446,9 +31600,8 @@ public Builder removeUpdateSteps(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
-      public java.util.List<
-              ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>
-          getUpdateStepsOrBuilderList() {
+      public java.util.List 
+           getUpdateStepsOrBuilderList() {
         if (updateStepsBuilder_ != null) {
           return updateStepsBuilder_.getMessageOrBuilderList();
         } else {
@@ -36456,8 +31609,6 @@ public Builder removeUpdateSteps(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -36466,16 +31617,11 @@ public Builder removeUpdateSteps(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
-          addUpdateStepsBuilder() {
-        return getUpdateStepsFieldBuilder()
-            .addBuilder(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step
-                    .getDefaultInstance());
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder addUpdateStepsBuilder() {
+        return getUpdateStepsFieldBuilder().addBuilder(
+            com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -36484,17 +31630,12 @@ public Builder removeUpdateSteps(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
-          addUpdateStepsBuilder(int index) {
-        return getUpdateStepsFieldBuilder()
-            .addBuilder(
-                index,
-                com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step
-                    .getDefaultInstance());
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder addUpdateStepsBuilder(
+          int index) {
+        return getUpdateStepsFieldBuilder().addBuilder(
+            index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -36503,23 +31644,16 @@ public Builder removeUpdateSteps(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
-      public java.util.List<
-              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder>
-          getUpdateStepsBuilderList() {
+      public java.util.List 
+           getUpdateStepsBuilderList() {
         return getUpdateStepsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>
+          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder> 
           getUpdateStepsFieldBuilder() {
         if (updateStepsBuilder_ == null) {
-          updateStepsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step,
-                  com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder,
-                  com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>(
+          updateStepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>(
                   updateSteps_,
                   ((bitField0_ & 0x00000004) != 0),
                   getParentForChildren(),
@@ -36531,8 +31665,6 @@ public Builder removeUpdateSteps(int index) {
 
       private int desiredState_ = 0;
       /**
-       *
-       *
        * 
        * Default is INSTALLED. The desired state the agent should maintain for this
        * recipe.
@@ -36546,16 +31678,12 @@ public Builder removeUpdateSteps(int index) {
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 6; - * * @return The enum numeric value on the wire for desiredState. */ - @java.lang.Override - public int getDesiredStateValue() { + @java.lang.Override public int getDesiredStateValue() { return desiredState_; } /** - * - * *
        * Default is INSTALLED. The desired state the agent should maintain for this
        * recipe.
@@ -36569,19 +31697,16 @@ public int getDesiredStateValue() {
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 6; - * * @param value The enum numeric value on the wire for desiredState to set. * @return This builder for chaining. */ public Builder setDesiredStateValue(int value) { - + desiredState_ = value; onChanged(); return this; } /** - * - * *
        * Default is INSTALLED. The desired state the agent should maintain for this
        * recipe.
@@ -36595,21 +31720,15 @@ public Builder setDesiredStateValue(int value) {
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 6; - * * @return The desiredState. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState getDesiredState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState result = - com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.valueOf(desiredState_); - return result == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState result = com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.valueOf(desiredState_); + return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.UNRECOGNIZED : result; } /** - * - * *
        * Default is INSTALLED. The desired state the agent should maintain for this
        * recipe.
@@ -36623,23 +31742,19 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState getDesiredSta
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 6; - * * @param value The desiredState to set. * @return This builder for chaining. */ - public Builder setDesiredState( - com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState value) { + public Builder setDesiredState(com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState value) { if (value == null) { throw new NullPointerException(); } - + desiredState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Default is INSTALLED. The desired state the agent should maintain for this
        * recipe.
@@ -36653,16 +31768,14 @@ public Builder setDesiredState(
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 6; - * * @return This builder for chaining. */ public Builder clearDesiredState() { - + desiredState_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -36675,32 +31788,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SoftwareRecipe parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SoftwareRecipe(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SoftwareRecipe parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SoftwareRecipe(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -36712,51 +31823,39 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface CreateGuestPolicyRequestOrBuilder - extends + public interface CreateGuestPolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.CreateGuestPolicyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The resource name of the parent using one of the following forms:
      * `projects/{project_number}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
      * Required. The resource name of the parent using one of the following forms:
      * `projects/{project_number}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
      * Required. The logical name of the guest policy in the project
      * with the following restrictions:
@@ -36768,13 +31867,10 @@ public interface CreateGuestPolicyRequestOrBuilder
      * 
* * string guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The guestPolicyId. */ java.lang.String getGuestPolicyId(); /** - * - * *
      * Required. The logical name of the guest policy in the project
      * with the following restrictions:
@@ -36786,71 +31882,54 @@ public interface CreateGuestPolicyRequestOrBuilder
      * 
* * string guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for guestPolicyId. */ - com.google.protobuf.ByteString getGuestPolicyIdBytes(); + com.google.protobuf.ByteString + getGuestPolicyIdBytes(); /** - * - * *
      * Required. The GuestPolicy to create.
      * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the guestPolicy field is set. */ boolean hasGuestPolicy(); /** - * - * *
      * Required. The GuestPolicy to create.
      * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The guestPolicy. */ com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicy(); /** - * - * *
      * Required. The GuestPolicy to create.
      * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGuestPolicyOrBuilder(); } /** - * - * *
    * A request message for creating a guest policy.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.CreateGuestPolicyRequest} */ - public static final class CreateGuestPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CreateGuestPolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.CreateGuestPolicyRequest) CreateGuestPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateGuestPolicyRequest.newBuilder() to construct. private CreateGuestPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateGuestPolicyRequest() { parent_ = ""; guestPolicyId_ = ""; @@ -36858,15 +31937,16 @@ private CreateGuestPolicyRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateGuestPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateGuestPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -36885,45 +31965,38 @@ private CreateGuestPolicyRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - guestPolicyId_ = s; - break; + guestPolicyId_ = s; + break; + } + case 26: { + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder subBuilder = null; + if (guestPolicy_ != null) { + subBuilder = guestPolicy_.toBuilder(); } - case 26: - { - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder subBuilder = - null; - if (guestPolicy_ != null) { - subBuilder = guestPolicy_.toBuilder(); - } - guestPolicy_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(guestPolicy_); - guestPolicy_ = subBuilder.buildPartial(); - } - - break; + guestPolicy_ = input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(guestPolicy_); + guestPolicy_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -36931,43 +32004,35 @@ private CreateGuestPolicyRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.Builder - .class); + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
      * Required. The resource name of the parent using one of the following forms:
      * `projects/{project_number}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -36976,32 +32041,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
      * Required. The resource name of the parent using one of the following forms:
      * `projects/{project_number}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -37012,8 +32075,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int GUEST_POLICY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object guestPolicyId_; /** - * - * *
      * Required. The logical name of the guest policy in the project
      * with the following restrictions:
@@ -37025,7 +32086,6 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The guestPolicyId. */ @java.lang.Override @@ -37034,15 +32094,14 @@ public java.lang.String getGuestPolicyId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); guestPolicyId_ = s; return s; } } /** - * - * *
      * Required. The logical name of the guest policy in the project
      * with the following restrictions:
@@ -37054,15 +32113,16 @@ public java.lang.String getGuestPolicyId() {
      * 
* * string guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for guestPolicyId. */ @java.lang.Override - public com.google.protobuf.ByteString getGuestPolicyIdBytes() { + public com.google.protobuf.ByteString + getGuestPolicyIdBytes() { java.lang.Object ref = guestPolicyId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); guestPolicyId_ = b; return b; } else { @@ -37073,16 +32133,11 @@ public com.google.protobuf.ByteString getGuestPolicyIdBytes() { public static final int GUEST_POLICY_FIELD_NUMBER = 3; private com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy guestPolicy_; /** - * - * *
      * Required. The GuestPolicy to create.
      * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the guestPolicy field is set. */ @java.lang.Override @@ -37090,43 +32145,30 @@ public boolean hasGuestPolicy() { return guestPolicy_ != null; } /** - * - * *
      * Required. The GuestPolicy to create.
      * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The guestPolicy. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicy() { - return guestPolicy_ == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() - : guestPolicy_; + return guestPolicy_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() : guestPolicy_; } /** - * - * *
      * Required. The GuestPolicy to create.
      * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder - getGuestPolicyOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGuestPolicyOrBuilder() { return getGuestPolicy(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -37138,7 +32180,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -37164,7 +32207,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, guestPolicyId_); } if (guestPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getGuestPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getGuestPolicy()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -37174,20 +32218,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest other = (com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getGuestPolicyId().equals(other.getGuestPolicyId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getGuestPolicyId() + .equals(other.getGuestPolicyId())) return false; if (hasGuestPolicy() != other.hasGuestPolicy()) return false; if (hasGuestPolicy()) { - if (!getGuestPolicy().equals(other.getGuestPolicy())) return false; + if (!getGuestPolicy() + .equals(other.getGuestPolicy())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -37214,95 +32259,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest - 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.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -37312,50 +32349,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for creating a guest policy.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.CreateGuestPolicyRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.CreateGuestPolicyRequest) com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.Builder - .class); + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -37373,22 +32404,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest result = - buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -37396,10 +32424,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest b } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest - buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest result = new com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest(this); result.parent_ = parent_; result.guestPolicyId_ = guestPolicyId_; if (guestPolicyBuilder_ == null) { @@ -37415,54 +32441,46 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest) other); + if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest) { + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -37489,14 +32507,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parsedMessage = - null; + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -37508,23 +32523,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -37533,24 +32544,21 @@ public java.lang.String getParent() { } } /** - * - * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -37558,70 +32566,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -37629,8 +32624,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object guestPolicyId_ = ""; /** - * - * *
        * Required. The logical name of the guest policy in the project
        * with the following restrictions:
@@ -37642,13 +32635,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
        * 
* * string guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The guestPolicyId. */ public java.lang.String getGuestPolicyId() { java.lang.Object ref = guestPolicyId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); guestPolicyId_ = s; return s; @@ -37657,8 +32650,6 @@ public java.lang.String getGuestPolicyId() { } } /** - * - * *
        * Required. The logical name of the guest policy in the project
        * with the following restrictions:
@@ -37670,14 +32661,15 @@ public java.lang.String getGuestPolicyId() {
        * 
* * string guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for guestPolicyId. */ - public com.google.protobuf.ByteString getGuestPolicyIdBytes() { + public com.google.protobuf.ByteString + getGuestPolicyIdBytes() { java.lang.Object ref = guestPolicyId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); guestPolicyId_ = b; return b; } else { @@ -37685,8 +32677,6 @@ public com.google.protobuf.ByteString getGuestPolicyIdBytes() { } } /** - * - * *
        * Required. The logical name of the guest policy in the project
        * with the following restrictions:
@@ -37698,22 +32688,20 @@ public com.google.protobuf.ByteString getGuestPolicyIdBytes() {
        * 
* * string guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The guestPolicyId to set. * @return This builder for chaining. */ - public Builder setGuestPolicyId(java.lang.String value) { + public Builder setGuestPolicyId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + guestPolicyId_ = value; onChanged(); return this; } /** - * - * *
        * Required. The logical name of the guest policy in the project
        * with the following restrictions:
@@ -37725,18 +32713,15 @@ public Builder setGuestPolicyId(java.lang.String value) {
        * 
* * string guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearGuestPolicyId() { - + guestPolicyId_ = getDefaultInstance().getGuestPolicyId(); onChanged(); return this; } /** - * - * *
        * Required. The logical name of the guest policy in the project
        * with the following restrictions:
@@ -37748,16 +32733,16 @@ public Builder clearGuestPolicyId() {
        * 
* * string guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for guestPolicyId to set. * @return This builder for chaining. */ - public Builder setGuestPolicyIdBytes(com.google.protobuf.ByteString value) { + public Builder setGuestPolicyIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + guestPolicyId_ = value; onChanged(); return this; @@ -37765,61 +32750,41 @@ public Builder setGuestPolicyIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy guestPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> - guestPolicyBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> guestPolicyBuilder_; /** - * - * *
        * Required. The GuestPolicy to create.
        * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the guestPolicy field is set. */ public boolean hasGuestPolicy() { return guestPolicyBuilder_ != null || guestPolicy_ != null; } /** - * - * *
        * Required. The GuestPolicy to create.
        * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The guestPolicy. */ public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicy() { if (guestPolicyBuilder_ == null) { - return guestPolicy_ == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() - : guestPolicy_; + return guestPolicy_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() : guestPolicy_; } else { return guestPolicyBuilder_.getMessage(); } } /** - * - * *
        * Required. The GuestPolicy to create.
        * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { + public Builder setGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { if (guestPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -37833,15 +32798,11 @@ public Builder setGuestPolicy( return this; } /** - * - * *
        * Required. The GuestPolicy to create.
        * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setGuestPolicy( com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder builderForValue) { @@ -37855,24 +32816,17 @@ public Builder setGuestPolicy( return this; } /** - * - * *
        * Required. The GuestPolicy to create.
        * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { + public Builder mergeGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { if (guestPolicyBuilder_ == null) { if (guestPolicy_ != null) { guestPolicy_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.newBuilder(guestPolicy_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.newBuilder(guestPolicy_).mergeFrom(value).buildPartial(); } else { guestPolicy_ = value; } @@ -37884,15 +32838,11 @@ public Builder mergeGuestPolicy( return this; } /** - * - * *
        * Required. The GuestPolicy to create.
        * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearGuestPolicy() { if (guestPolicyBuilder_ == null) { @@ -37906,71 +32856,52 @@ public Builder clearGuestPolicy() { return this; } /** - * - * *
        * Required. The GuestPolicy to create.
        * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder - getGuestPolicyBuilder() { - + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder getGuestPolicyBuilder() { + onChanged(); return getGuestPolicyFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The GuestPolicy to create.
        * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder - getGuestPolicyOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGuestPolicyOrBuilder() { if (guestPolicyBuilder_ != null) { return guestPolicyBuilder_.getMessageOrBuilder(); } else { - return guestPolicy_ == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() - : guestPolicy_; + return guestPolicy_ == null ? + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() : guestPolicy_; } } /** - * - * *
        * Required. The GuestPolicy to create.
        * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> getGuestPolicyFieldBuilder() { if (guestPolicyBuilder_ == null) { - guestPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder>( - getGuestPolicy(), getParentForChildren(), isClean()); + guestPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder>( + getGuestPolicy(), + getParentForChildren(), + isClean()); guestPolicy_ = null; } return guestPolicyBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -37983,33 +32914,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.CreateGuestPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.CreateGuestPolicyRequest) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateGuestPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateGuestPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateGuestPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateGuestPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -38021,82 +32949,70 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GetGuestPolicyRequestOrBuilder - extends + public interface GetGuestPolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.GetGuestPolicyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The resource name of the guest policy using one of the following forms:
      * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The resource name of the guest policy using one of the following forms:
      * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * A request message for retrieving a guest policy.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GetGuestPolicyRequest} */ - public static final class GetGuestPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GetGuestPolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.GetGuestPolicyRequest) GetGuestPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetGuestPolicyRequest.newBuilder() to construct. private GetGuestPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetGuestPolicyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetGuestPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetGuestPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -38115,20 +33031,19 @@ private GetGuestPolicyRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -38136,42 +33051,35 @@ private GetGuestPolicyRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. The resource name of the guest policy using one of the following forms:
      * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -38180,32 +33088,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. The resource name of the guest policy using one of the following forms:
      * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -38214,7 +33120,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -38226,7 +33131,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -38250,15 +33156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest other = (com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -38278,95 +33184,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest - 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.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -38376,49 +33274,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for retrieving a guest policy.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GetGuestPolicyRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.GetGuestPolicyRequest) com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -38428,22 +33321,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest result = - buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -38452,8 +33342,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest buil @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest(this); + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest result = new com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -38463,53 +33352,46 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -38533,9 +33415,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -38547,23 +33427,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Required. The resource name of the guest policy using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -38572,24 +33448,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The resource name of the guest policy using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -38597,75 +33470,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The resource name of the guest policy using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. The resource name of the guest policy using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. The resource name of the guest policy using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -38678,32 +33537,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.GetGuestPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.GetGuestPolicyRequest) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetGuestPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetGuestPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetGuestPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetGuestPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -38715,107 +33572,86 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListGuestPoliciesRequestOrBuilder - extends + public interface ListGuestPoliciesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ListGuestPoliciesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The resource name of the parent using one of the following forms:
      * `projects/{project_number}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
      * Required. The resource name of the parent using one of the following forms:
      * `projects/{project_number}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
      * The maximum number of guest policies to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
      * A pagination token returned from a previous call to `ListGuestPolicies`
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
      * A pagination token returned from a previous call to `ListGuestPolicies`
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } /** - * - * *
    * A request message for listing guest policies.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListGuestPoliciesRequest} */ - public static final class ListGuestPoliciesRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListGuestPoliciesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ListGuestPoliciesRequest) ListGuestPoliciesRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListGuestPoliciesRequest.newBuilder() to construct. private ListGuestPoliciesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListGuestPoliciesRequest() { parent_ = ""; pageToken_ = ""; @@ -38823,15 +33659,16 @@ private ListGuestPoliciesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListGuestPoliciesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListGuestPoliciesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -38850,32 +33687,30 @@ private ListGuestPoliciesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -38883,43 +33718,35 @@ private ListGuestPoliciesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.Builder - .class); + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
      * Required. The resource name of the parent using one of the following forms:
      * `projects/{project_number}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -38928,32 +33755,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
      * Required. The resource name of the parent using one of the following forms:
      * `projects/{project_number}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -38964,14 +33789,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
      * The maximum number of guest policies to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -38982,15 +33804,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
      * A pagination token returned from a previous call to `ListGuestPolicies`
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -38999,30 +33818,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
      * A pagination token returned from a previous call to `ListGuestPolicies`
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -39031,7 +33850,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -39043,7 +33861,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -39066,7 +33885,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -39079,18 +33899,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest other = (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -39114,95 +33935,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest - 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -39212,50 +34025,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for listing guest policies.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListGuestPoliciesRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ListGuestPoliciesRequest) com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.Builder - .class); + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -39269,22 +34076,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest result = - buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -39292,10 +34096,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest b } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest - buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest result = new com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -39307,54 +34109,46 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest) other); + if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest) { + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -39381,14 +34175,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parsedMessage = - null; + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -39400,23 +34191,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -39425,24 +34212,21 @@ public java.lang.String getParent() { } } /** - * - * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -39450,85 +34234,69 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
        * The maximum number of guest policies to return.
        * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -39536,36 +34304,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
        * The maximum number of guest policies to return.
        * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
        * The maximum number of guest policies to return.
        * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -39573,21 +34335,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
        * A pagination token returned from a previous call to `ListGuestPolicies`
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -39596,22 +34356,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
        * A pagination token returned from a previous call to `ListGuestPolicies`
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -39619,69 +34378,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
        * A pagination token returned from a previous call to `ListGuestPolicies`
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
        * A pagination token returned from a previous call to `ListGuestPolicies`
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
        * A pagination token returned from a previous call to `ListGuestPolicies`
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -39694,33 +34445,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ListGuestPoliciesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ListGuestPoliciesRequest) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGuestPoliciesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGuestPoliciesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGuestPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListGuestPoliciesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -39732,31 +34480,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListGuestPoliciesResponseOrBuilder - extends + public interface ListGuestPoliciesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ListGuestPoliciesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The list of GuestPolicies.
      * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - java.util.List + java.util.List getGuestPoliciesList(); /** - * - * *
      * The list of GuestPolicies.
      * 
@@ -39765,8 +34508,6 @@ public interface ListGuestPoliciesResponseOrBuilder */ com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicies(int index); /** - * - * *
      * The list of GuestPolicies.
      * 
@@ -39775,19 +34516,15 @@ public interface ListGuestPoliciesResponseOrBuilder */ int getGuestPoliciesCount(); /** - * - * *
      * The list of GuestPolicies.
      * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - java.util.List + java.util.List getGuestPoliciesOrBuilderList(); /** - * - * *
      * The list of GuestPolicies.
      * 
@@ -39798,51 +34535,43 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGuestPoli int index); /** - * - * *
      * A pagination token that can be used to get the next page
      * of guest policies.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
      * A pagination token that can be used to get the next page
      * of guest policies.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } /** - * - * *
    * A response message for listing guest policies.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListGuestPoliciesResponse} */ - public static final class ListGuestPoliciesResponse extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListGuestPoliciesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ListGuestPoliciesResponse) ListGuestPoliciesResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListGuestPoliciesResponse.newBuilder() to construct. private ListGuestPoliciesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListGuestPoliciesResponse() { guestPolicies_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -39850,15 +34579,16 @@ private ListGuestPoliciesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListGuestPoliciesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListGuestPoliciesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -39878,34 +34608,28 @@ private ListGuestPoliciesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - guestPolicies_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>(); - mutable_bitField0_ |= 0x00000001; - } - guestPolicies_.add( - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + guestPolicies_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + guestPolicies_.add( + input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -39913,7 +34637,8 @@ private ListGuestPoliciesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { guestPolicies_ = java.util.Collections.unmodifiableList(guestPolicies_); @@ -39922,29 +34647,22 @@ private ListGuestPoliciesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.Builder - .class); + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.class, com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.Builder.class); } public static final int GUEST_POLICIES_FIELD_NUMBER = 1; - private java.util.List - guestPolicies_; + private java.util.List guestPolicies_; /** - * - * *
      * The list of GuestPolicies.
      * 
@@ -39952,13 +34670,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ @java.lang.Override - public java.util.List - getGuestPoliciesList() { + public java.util.List getGuestPoliciesList() { return guestPolicies_; } /** - * - * *
      * The list of GuestPolicies.
      * 
@@ -39966,14 +34681,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> + public java.util.List getGuestPoliciesOrBuilderList() { return guestPolicies_; } /** - * - * *
      * The list of GuestPolicies.
      * 
@@ -39985,8 +34697,6 @@ public int getGuestPoliciesCount() { return guestPolicies_.size(); } /** - * - * *
      * The list of GuestPolicies.
      * 
@@ -39998,8 +34708,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolici return guestPolicies_.get(index); } /** - * - * *
      * The list of GuestPolicies.
      * 
@@ -40007,23 +34715,20 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolici * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder - getGuestPoliciesOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGuestPoliciesOrBuilder( + int index) { return guestPolicies_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
      * A pagination token that can be used to get the next page
      * of guest policies.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -40032,30 +34737,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
      * A pagination token that can be used to get the next page
      * of guest policies.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -40064,7 +34769,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -40076,7 +34780,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < guestPolicies_.size(); i++) { output.writeMessage(1, guestPolicies_.get(i)); } @@ -40093,7 +34798,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < guestPolicies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, guestPolicies_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, guestPolicies_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -40106,17 +34812,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse other = (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse) obj; - if (!getGuestPoliciesList().equals(other.getGuestPoliciesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getGuestPoliciesList() + .equals(other.getGuestPoliciesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -40139,101 +34845,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -40243,52 +34936,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A response message for listing guest policies.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListGuestPoliciesResponse} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ListGuestPoliciesResponse) com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.Builder - .class); + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.class, com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getGuestPoliciesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -40304,22 +34990,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse result = - buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -40327,10 +35010,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse result = new com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse(this); int from_bitField0_ = bitField0_; if (guestPoliciesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -40350,54 +35031,46 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse) other); + if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse) { + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.getDefaultInstance()) return this; if (guestPoliciesBuilder_ == null) { if (!other.guestPolicies_.isEmpty()) { if (guestPolicies_.isEmpty()) { @@ -40416,10 +35089,9 @@ public Builder mergeFrom( guestPoliciesBuilder_ = null; guestPolicies_ = other.guestPolicies_; bitField0_ = (bitField0_ & ~0x00000001); - guestPoliciesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getGuestPoliciesFieldBuilder() - : null; + guestPoliciesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getGuestPoliciesFieldBuilder() : null; } else { guestPoliciesBuilder_.addAllMessages(other.guestPolicies_); } @@ -40444,14 +35116,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parsedMessage = - null; + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -40460,38 +35129,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - guestPolicies_ = java.util.Collections.emptyList(); - + private java.util.List guestPolicies_ = + java.util.Collections.emptyList(); private void ensureGuestPoliciesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - guestPolicies_ = - new java.util.ArrayList( - guestPolicies_); + guestPolicies_ = new java.util.ArrayList(guestPolicies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> - guestPoliciesBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> guestPoliciesBuilder_; /** - * - * *
        * The list of GuestPolicies.
        * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - public java.util.List - getGuestPoliciesList() { + public java.util.List getGuestPoliciesList() { if (guestPoliciesBuilder_ == null) { return java.util.Collections.unmodifiableList(guestPolicies_); } else { @@ -40499,8 +35158,6 @@ private void ensureGuestPoliciesIsMutable() { } } /** - * - * *
        * The list of GuestPolicies.
        * 
@@ -40515,16 +35172,13 @@ public int getGuestPoliciesCount() { } } /** - * - * *
        * The list of GuestPolicies.
        * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicies( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicies(int index) { if (guestPoliciesBuilder_ == null) { return guestPolicies_.get(index); } else { @@ -40532,8 +35186,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolici } } /** - * - * *
        * The list of GuestPolicies.
        * 
@@ -40555,8 +35207,6 @@ public Builder setGuestPolicies( return this; } /** - * - * *
        * The list of GuestPolicies.
        * 
@@ -40564,8 +35214,7 @@ public Builder setGuestPolicies( * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ public Builder setGuestPolicies( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder builderForValue) { if (guestPoliciesBuilder_ == null) { ensureGuestPoliciesIsMutable(); guestPolicies_.set(index, builderForValue.build()); @@ -40576,16 +35225,13 @@ public Builder setGuestPolicies( return this; } /** - * - * *
        * The list of GuestPolicies.
        * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - public Builder addGuestPolicies( - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { + public Builder addGuestPolicies(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { if (guestPoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -40599,8 +35245,6 @@ public Builder addGuestPolicies( return this; } /** - * - * *
        * The list of GuestPolicies.
        * 
@@ -40622,8 +35266,6 @@ public Builder addGuestPolicies( return this; } /** - * - * *
        * The list of GuestPolicies.
        * 
@@ -40642,8 +35284,6 @@ public Builder addGuestPolicies( return this; } /** - * - * *
        * The list of GuestPolicies.
        * 
@@ -40651,8 +35291,7 @@ public Builder addGuestPolicies( * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ public Builder addGuestPolicies( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder builderForValue) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder builderForValue) { if (guestPoliciesBuilder_ == null) { ensureGuestPoliciesIsMutable(); guestPolicies_.add(index, builderForValue.build()); @@ -40663,8 +35302,6 @@ public Builder addGuestPolicies( return this; } /** - * - * *
        * The list of GuestPolicies.
        * 
@@ -40672,11 +35309,11 @@ public Builder addGuestPolicies( * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ public Builder addAllGuestPolicies( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (guestPoliciesBuilder_ == null) { ensureGuestPoliciesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, guestPolicies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, guestPolicies_); onChanged(); } else { guestPoliciesBuilder_.addAllMessages(values); @@ -40684,8 +35321,6 @@ public Builder addAllGuestPolicies( return this; } /** - * - * *
        * The list of GuestPolicies.
        * 
@@ -40703,8 +35338,6 @@ public Builder clearGuestPolicies() { return this; } /** - * - * *
        * The list of GuestPolicies.
        * 
@@ -40722,47 +35355,39 @@ public Builder removeGuestPolicies(int index) { return this; } /** - * - * *
        * The list of GuestPolicies.
        * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder - getGuestPoliciesBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder getGuestPoliciesBuilder( + int index) { return getGuestPoliciesFieldBuilder().getBuilder(index); } /** - * - * *
        * The list of GuestPolicies.
        * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder - getGuestPoliciesOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGuestPoliciesOrBuilder( + int index) { if (guestPoliciesBuilder_ == null) { - return guestPolicies_.get(index); - } else { + return guestPolicies_.get(index); } else { return guestPoliciesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The list of GuestPolicies.
        * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> - getGuestPoliciesOrBuilderList() { + public java.util.List + getGuestPoliciesOrBuilderList() { if (guestPoliciesBuilder_ != null) { return guestPoliciesBuilder_.getMessageOrBuilderList(); } else { @@ -40770,61 +35395,45 @@ public Builder removeGuestPolicies(int index) { } } /** - * - * *
        * The list of GuestPolicies.
        * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder - addGuestPoliciesBuilder() { - return getGuestPoliciesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder addGuestPoliciesBuilder() { + return getGuestPoliciesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance()); } /** - * - * *
        * The list of GuestPolicies.
        * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder - addGuestPoliciesBuilder(int index) { - return getGuestPoliciesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder addGuestPoliciesBuilder( + int index) { + return getGuestPoliciesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance()); } /** - * - * *
        * The list of GuestPolicies.
        * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - public java.util.List - getGuestPoliciesBuilderList() { + public java.util.List + getGuestPoliciesBuilderList() { return getGuestPoliciesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> getGuestPoliciesFieldBuilder() { if (guestPoliciesBuilder_ == null) { - guestPoliciesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder>( + guestPoliciesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder>( guestPolicies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -40836,21 +35445,19 @@ public Builder removeGuestPolicies(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
        * A pagination token that can be used to get the next page
        * of guest policies.
        * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -40859,22 +35466,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
        * A pagination token that can be used to get the next page
        * of guest policies.
        * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -40882,69 +35488,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
        * A pagination token that can be used to get the next page
        * of guest policies.
        * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
        * A pagination token that can be used to get the next page
        * of guest policies.
        * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
        * A pagination token that can be used to get the next page
        * of guest policies.
        * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -40957,33 +35555,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ListGuestPoliciesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ListGuestPoliciesResponse) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGuestPoliciesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGuestPoliciesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGuestPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListGuestPoliciesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -40995,87 +35590,64 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UpdateGuestPolicyRequestOrBuilder - extends + public interface UpdateGuestPolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.UpdateGuestPolicyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The updated GuestPolicy.
      * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the guestPolicy field is set. */ boolean hasGuestPolicy(); /** - * - * *
      * Required. The updated GuestPolicy.
      * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The guestPolicy. */ com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicy(); /** - * - * *
      * Required. The updated GuestPolicy.
      * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGuestPolicyOrBuilder(); /** - * - * *
      * Field mask that controls which fields of the guest policy should be
      * updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
      * Field mask that controls which fields of the guest policy should be
      * updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
      * Field mask that controls which fields of the guest policy should be
      * updated.
@@ -41086,37 +35658,36 @@ public interface UpdateGuestPolicyRequestOrBuilder
     com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
   }
   /**
-   *
-   *
    * 
    * A request message for updating a guest policy.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.UpdateGuestPolicyRequest} */ - public static final class UpdateGuestPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class UpdateGuestPolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.UpdateGuestPolicyRequest) UpdateGuestPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateGuestPolicyRequest.newBuilder() to construct. private UpdateGuestPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateGuestPolicyRequest() {} + private UpdateGuestPolicyRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateGuestPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateGuestPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -41135,46 +35706,39 @@ private UpdateGuestPolicyRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder subBuilder = - null; - if (guestPolicy_ != null) { - subBuilder = guestPolicy_.toBuilder(); - } - guestPolicy_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(guestPolicy_); - guestPolicy_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder subBuilder = null; + if (guestPolicy_ != null) { + subBuilder = guestPolicy_.toBuilder(); + } + guestPolicy_ = input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(guestPolicy_); + guestPolicy_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -41182,42 +35746,34 @@ private UpdateGuestPolicyRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.Builder - .class); + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.Builder.class); } public static final int GUEST_POLICY_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy guestPolicy_; /** - * - * *
      * Required. The updated GuestPolicy.
      * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the guestPolicy field is set. */ @java.lang.Override @@ -41225,53 +35781,38 @@ public boolean hasGuestPolicy() { return guestPolicy_ != null; } /** - * - * *
      * Required. The updated GuestPolicy.
      * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The guestPolicy. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicy() { - return guestPolicy_ == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() - : guestPolicy_; + return guestPolicy_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() : guestPolicy_; } /** - * - * *
      * Required. The updated GuestPolicy.
      * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder - getGuestPolicyOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGuestPolicyOrBuilder() { return getGuestPolicy(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
      * Field mask that controls which fields of the guest policy should be
      * updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -41279,15 +35820,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
      * Field mask that controls which fields of the guest policy should be
      * updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -41295,8 +35833,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
      * Field mask that controls which fields of the guest policy should be
      * updated.
@@ -41310,7 +35846,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -41322,7 +35857,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (guestPolicy_ != null) {
         output.writeMessage(1, getGuestPolicy());
       }
@@ -41339,10 +35875,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (guestPolicy_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGuestPolicy());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getGuestPolicy());
       }
       if (updateMask_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getUpdateMask());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -41352,22 +35890,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
-      if (!(obj
-          instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest)) {
+      if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest)) {
         return super.equals(obj);
       }
-      com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest other =
-          (com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest) obj;
+      com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest other = (com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest) obj;
 
       if (hasGuestPolicy() != other.hasGuestPolicy()) return false;
       if (hasGuestPolicy()) {
-        if (!getGuestPolicy().equals(other.getGuestPolicy())) return false;
+        if (!getGuestPolicy()
+            .equals(other.getGuestPolicy())) return false;
       }
       if (hasUpdateMask() != other.hasUpdateMask()) return false;
       if (hasUpdateMask()) {
-        if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+        if (!getUpdateMask()
+            .equals(other.getUpdateMask())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -41394,95 +35932,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest
-        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.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest prototype) {
+    public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -41492,50 +36022,44 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A request message for updating a guest policy.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.UpdateGuestPolicyRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.UpdateGuestPolicyRequest) com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.Builder - .class); + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -41555,22 +36079,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest result = - buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -41578,10 +36099,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest b } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest - buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest result = new com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest(this); if (guestPolicyBuilder_ == null) { result.guestPolicy_ = guestPolicy_; } else { @@ -41600,54 +36119,46 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest) other); + if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest) { + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.getDefaultInstance()) return this; if (other.hasGuestPolicy()) { mergeGuestPolicy(other.getGuestPolicy()); } @@ -41669,14 +36180,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parsedMessage = - null; + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -41688,61 +36196,41 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy guestPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> - guestPolicyBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> guestPolicyBuilder_; /** - * - * *
        * Required. The updated GuestPolicy.
        * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the guestPolicy field is set. */ public boolean hasGuestPolicy() { return guestPolicyBuilder_ != null || guestPolicy_ != null; } /** - * - * *
        * Required. The updated GuestPolicy.
        * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The guestPolicy. */ public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicy() { if (guestPolicyBuilder_ == null) { - return guestPolicy_ == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() - : guestPolicy_; + return guestPolicy_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() : guestPolicy_; } else { return guestPolicyBuilder_.getMessage(); } } /** - * - * *
        * Required. The updated GuestPolicy.
        * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { + public Builder setGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { if (guestPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -41756,15 +36244,11 @@ public Builder setGuestPolicy( return this; } /** - * - * *
        * Required. The updated GuestPolicy.
        * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setGuestPolicy( com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder builderForValue) { @@ -41778,24 +36262,17 @@ public Builder setGuestPolicy( return this; } /** - * - * *
        * Required. The updated GuestPolicy.
        * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { + public Builder mergeGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { if (guestPolicyBuilder_ == null) { if (guestPolicy_ != null) { guestPolicy_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.newBuilder(guestPolicy_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.newBuilder(guestPolicy_).mergeFrom(value).buildPartial(); } else { guestPolicy_ = value; } @@ -41807,15 +36284,11 @@ public Builder mergeGuestPolicy( return this; } /** - * - * *
        * Required. The updated GuestPolicy.
        * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearGuestPolicy() { if (guestPolicyBuilder_ == null) { @@ -41829,66 +36302,48 @@ public Builder clearGuestPolicy() { return this; } /** - * - * *
        * Required. The updated GuestPolicy.
        * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder - getGuestPolicyBuilder() { - + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder getGuestPolicyBuilder() { + onChanged(); return getGuestPolicyFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The updated GuestPolicy.
        * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder - getGuestPolicyOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGuestPolicyOrBuilder() { if (guestPolicyBuilder_ != null) { return guestPolicyBuilder_.getMessageOrBuilder(); } else { - return guestPolicy_ == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() - : guestPolicy_; + return guestPolicy_ == null ? + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() : guestPolicy_; } } /** - * - * *
        * Required. The updated GuestPolicy.
        * 
* - * - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> getGuestPolicyFieldBuilder() { if (guestPolicyBuilder_ == null) { - guestPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder>( - getGuestPolicy(), getParentForChildren(), isClean()); + guestPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder>( + getGuestPolicy(), + getParentForChildren(), + isClean()); guestPolicy_ = null; } return guestPolicyBuilder_; @@ -41896,49 +36351,36 @@ public Builder clearGuestPolicy() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
        * Field mask that controls which fields of the guest policy should be
        * updated.
        * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
        * Field mask that controls which fields of the guest policy should be
        * updated.
        * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
        * Field mask that controls which fields of the guest policy should be
        * updated.
@@ -41960,8 +36402,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Field mask that controls which fields of the guest policy should be
        * updated.
@@ -41969,7 +36409,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
        *
        * .google.protobuf.FieldMask update_mask = 2;
        */
-      public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+      public Builder setUpdateMask(
+          com.google.protobuf.FieldMask.Builder builderForValue) {
         if (updateMaskBuilder_ == null) {
           updateMask_ = builderForValue.build();
           onChanged();
@@ -41980,8 +36421,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
         return this;
       }
       /**
-       *
-       *
        * 
        * Field mask that controls which fields of the guest policy should be
        * updated.
@@ -41993,9 +36432,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
         if (updateMaskBuilder_ == null) {
           if (updateMask_ != null) {
             updateMask_ =
-                com.google.protobuf.FieldMask.newBuilder(updateMask_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
           } else {
             updateMask_ = value;
           }
@@ -42007,8 +36444,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Field mask that controls which fields of the guest policy should be
        * updated.
@@ -42028,8 +36463,6 @@ public Builder clearUpdateMask() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Field mask that controls which fields of the guest policy should be
        * updated.
@@ -42038,13 +36471,11 @@ public Builder clearUpdateMask() {
        * .google.protobuf.FieldMask update_mask = 2;
        */
       public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+        
         onChanged();
         return getUpdateMaskFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Field mask that controls which fields of the guest policy should be
        * updated.
@@ -42056,14 +36487,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
         if (updateMaskBuilder_ != null) {
           return updateMaskBuilder_.getMessageOrBuilder();
         } else {
-          return updateMask_ == null
-              ? com.google.protobuf.FieldMask.getDefaultInstance()
-              : updateMask_;
+          return updateMask_ == null ?
+              com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
         }
       }
       /**
-       *
-       *
        * 
        * Field mask that controls which fields of the guest policy should be
        * updated.
@@ -42072,22 +36500,18 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
        * .google.protobuf.FieldMask update_mask = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.FieldMask,
-              com.google.protobuf.FieldMask.Builder,
-              com.google.protobuf.FieldMaskOrBuilder>
+          com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
           getUpdateMaskFieldBuilder() {
         if (updateMaskBuilder_ == null) {
-          updateMaskBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.FieldMask,
-                  com.google.protobuf.FieldMask.Builder,
-                  com.google.protobuf.FieldMaskOrBuilder>(
-                  getUpdateMask(), getParentForChildren(), isClean());
+          updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                  getUpdateMask(),
+                  getParentForChildren(),
+                  isClean());
           updateMask_ = null;
         }
         return updateMaskBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -42100,33 +36524,30 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.UpdateGuestPolicyRequest)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.UpdateGuestPolicyRequest)
-    private static final com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE =
-          new com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest();
+      DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest();
     }
 
-    public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest
-        getDefaultInstance() {
+    public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public UpdateGuestPolicyRequest parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new UpdateGuestPolicyRequest(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public UpdateGuestPolicyRequest parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new UpdateGuestPolicyRequest(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -42138,82 +36559,70 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface DeleteGuestPolicyRequestOrBuilder
-      extends
+  public interface DeleteGuestPolicyRequestOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.DeleteGuestPolicyRequest)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. The resource name of the guest policy  using one of the following forms:
      * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The resource name of the guest policy  using one of the following forms:
      * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * A request message for deleting a guest policy.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.DeleteGuestPolicyRequest} */ - public static final class DeleteGuestPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DeleteGuestPolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.DeleteGuestPolicyRequest) DeleteGuestPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteGuestPolicyRequest.newBuilder() to construct. private DeleteGuestPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteGuestPolicyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteGuestPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteGuestPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -42232,20 +36641,19 @@ private DeleteGuestPolicyRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -42253,43 +36661,35 @@ private DeleteGuestPolicyRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.Builder - .class); + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. The resource name of the guest policy  using one of the following forms:
      * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -42298,32 +36698,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. The resource name of the guest policy  using one of the following forms:
      * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -42332,7 +36730,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -42344,7 +36741,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -42368,16 +36766,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest other = (com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -42397,95 +36794,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest - 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.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -42495,50 +36884,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for deleting a guest policy.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.DeleteGuestPolicyRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.DeleteGuestPolicyRequest) com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.Builder - .class); + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -42548,22 +36931,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest result = - buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -42571,10 +36951,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest b } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest - buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest result = new com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -42584,54 +36962,46 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest) other); + if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest) { + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -42651,14 +37021,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parsedMessage = - null; + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -42670,23 +37037,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Required. The resource name of the guest policy  using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -42695,24 +37058,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The resource name of the guest policy  using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -42720,75 +37080,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The resource name of the guest policy  using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. The resource name of the guest policy  using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. The resource name of the guest policy  using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -42801,33 +37147,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.DeleteGuestPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.DeleteGuestPolicyRequest) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteGuestPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteGuestPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteGuestPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteGuestPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -42839,45 +37182,37 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface LookupEffectiveGuestPolicyRequestOrBuilder - extends + public interface LookupEffectiveGuestPolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.LookupEffectiveGuestPolicyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The VM instance whose policies are being looked up.
      * 
* * string instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instance. */ java.lang.String getInstance(); /** - * - * *
      * Required. The VM instance whose policies are being looked up.
      * 
* * string instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instance. */ - com.google.protobuf.ByteString getInstanceBytes(); + com.google.protobuf.ByteString + getInstanceBytes(); /** - * - * *
      * Short name of the OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -42885,13 +37220,10 @@ public interface LookupEffectiveGuestPolicyRequestOrBuilder
      * 
* * string os_short_name = 2; - * * @return The osShortName. */ java.lang.String getOsShortName(); /** - * - * *
      * Short name of the OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -42899,14 +37231,12 @@ public interface LookupEffectiveGuestPolicyRequestOrBuilder
      * 
* * string os_short_name = 2; - * * @return The bytes for osShortName. */ - com.google.protobuf.ByteString getOsShortNameBytes(); + com.google.protobuf.ByteString + getOsShortNameBytes(); /** - * - * *
      * Version of the OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -42914,13 +37244,10 @@ public interface LookupEffectiveGuestPolicyRequestOrBuilder
      * 
* * string os_version = 3; - * * @return The osVersion. */ java.lang.String getOsVersion(); /** - * - * *
      * Version of the OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -42928,14 +37255,12 @@ public interface LookupEffectiveGuestPolicyRequestOrBuilder
      * 
* * string os_version = 3; - * * @return The bytes for osVersion. */ - com.google.protobuf.ByteString getOsVersionBytes(); + com.google.protobuf.ByteString + getOsVersionBytes(); /** - * - * *
      * Architecture of OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -42943,13 +37268,10 @@ public interface LookupEffectiveGuestPolicyRequestOrBuilder
      * 
* * string os_architecture = 4; - * * @return The osArchitecture. */ java.lang.String getOsArchitecture(); /** - * - * *
      * Architecture of OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -42957,14 +37279,12 @@ public interface LookupEffectiveGuestPolicyRequestOrBuilder
      * 
* * string os_architecture = 4; - * * @return The bytes for osArchitecture. */ - com.google.protobuf.ByteString getOsArchitectureBytes(); + com.google.protobuf.ByteString + getOsArchitectureBytes(); } /** - * - * *
    * A request message for getting the effective guest policy assigned to the
    * instance.
@@ -42972,18 +37292,15 @@ public interface LookupEffectiveGuestPolicyRequestOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.LookupEffectiveGuestPolicyRequest}
    */
-  public static final class LookupEffectiveGuestPolicyRequest
-      extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class LookupEffectiveGuestPolicyRequest extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.LookupEffectiveGuestPolicyRequest)
       LookupEffectiveGuestPolicyRequestOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use LookupEffectiveGuestPolicyRequest.newBuilder() to construct.
-    private LookupEffectiveGuestPolicyRequest(
-        com.google.protobuf.GeneratedMessageV3.Builder builder) {
+    private LookupEffectiveGuestPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private LookupEffectiveGuestPolicyRequest() {
       instance_ = "";
       osShortName_ = "";
@@ -42993,15 +37310,16 @@ private LookupEffectiveGuestPolicyRequest() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new LookupEffectiveGuestPolicyRequest();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private LookupEffectiveGuestPolicyRequest(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -43020,41 +37338,37 @@ private LookupEffectiveGuestPolicyRequest(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                instance_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              instance_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                osShortName_ = s;
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              osShortName_ = s;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                osVersion_ = s;
-                break;
-              }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              osVersion_ = s;
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                osArchitecture_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              osArchitecture_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -43062,41 +37376,34 @@ private LookupEffectiveGuestPolicyRequest(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies
-          .internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies
-          .internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
-                  .class,
-              com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
-                  .Builder.class);
+              com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder.class);
     }
 
     public static final int INSTANCE_FIELD_NUMBER = 1;
     private volatile java.lang.Object instance_;
     /**
-     *
-     *
      * 
      * Required. The VM instance whose policies are being looked up.
      * 
* * string instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instance. */ @java.lang.Override @@ -43105,29 +37412,29 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** - * - * *
      * Required. The VM instance whose policies are being looked up.
      * 
* * string instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -43138,8 +37445,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { public static final int OS_SHORT_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object osShortName_; /** - * - * *
      * Short name of the OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -43147,7 +37452,6 @@ public com.google.protobuf.ByteString getInstanceBytes() {
      * 
* * string os_short_name = 2; - * * @return The osShortName. */ @java.lang.Override @@ -43156,15 +37460,14 @@ public java.lang.String getOsShortName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; } } /** - * - * *
      * Short name of the OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -43172,15 +37475,16 @@ public java.lang.String getOsShortName() {
      * 
* * string os_short_name = 2; - * * @return The bytes for osShortName. */ @java.lang.Override - public com.google.protobuf.ByteString getOsShortNameBytes() { + public com.google.protobuf.ByteString + getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osShortName_ = b; return b; } else { @@ -43191,8 +37495,6 @@ public com.google.protobuf.ByteString getOsShortNameBytes() { public static final int OS_VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object osVersion_; /** - * - * *
      * Version of the OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -43200,7 +37502,6 @@ public com.google.protobuf.ByteString getOsShortNameBytes() {
      * 
* * string os_version = 3; - * * @return The osVersion. */ @java.lang.Override @@ -43209,15 +37510,14 @@ public java.lang.String getOsVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; } } /** - * - * *
      * Version of the OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -43225,15 +37525,16 @@ public java.lang.String getOsVersion() {
      * 
* * string os_version = 3; - * * @return The bytes for osVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getOsVersionBytes() { + public com.google.protobuf.ByteString + getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osVersion_ = b; return b; } else { @@ -43244,8 +37545,6 @@ public com.google.protobuf.ByteString getOsVersionBytes() { public static final int OS_ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object osArchitecture_; /** - * - * *
      * Architecture of OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -43253,7 +37552,6 @@ public com.google.protobuf.ByteString getOsVersionBytes() {
      * 
* * string os_architecture = 4; - * * @return The osArchitecture. */ @java.lang.Override @@ -43262,15 +37560,14 @@ public java.lang.String getOsArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osArchitecture_ = s; return s; } } /** - * - * *
      * Architecture of OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -43278,15 +37575,16 @@ public java.lang.String getOsArchitecture() {
      * 
* * string os_architecture = 4; - * * @return The bytes for osArchitecture. */ @java.lang.Override - public com.google.protobuf.ByteString getOsArchitectureBytes() { + public com.google.protobuf.ByteString + getOsArchitectureBytes() { java.lang.Object ref = osArchitecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osArchitecture_ = b; return b; } else { @@ -43295,7 +37593,6 @@ public com.google.protobuf.ByteString getOsArchitectureBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -43307,7 +37604,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instance_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } @@ -43349,20 +37647,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest other = (com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest) obj; - if (!getInstance().equals(other.getInstance())) return false; - if (!getOsShortName().equals(other.getOsShortName())) return false; - if (!getOsVersion().equals(other.getOsVersion())) return false; - if (!getOsArchitecture().equals(other.getOsArchitecture())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; + if (!getOsShortName() + .equals(other.getOsShortName())) return false; + if (!getOsVersion() + .equals(other.getOsVersion())) return false; + if (!getOsArchitecture() + .equals(other.getOsArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -43387,102 +37686,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest - 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.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest - 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.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -43492,8 +37777,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for getting the effective guest policy assigned to the
      * instance.
@@ -43501,43 +37784,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.LookupEffectiveGuestPolicyRequest}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.LookupEffectiveGuestPolicyRequest)
         com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequestOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
-                    .class,
-                com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
-                    .Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.newBuilder()
+      // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -43553,23 +37831,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies
-            .internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
-          getDefaultInstanceForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
-            .getDefaultInstance();
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest getDefaultInstanceForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
-          build() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest result =
-            buildPartial();
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest build() {
+        com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -43577,11 +37851,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
-          buildPartial() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest result =
-            new com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest(
-                this);
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest buildPartial() {
+        com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest result = new com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest(this);
         result.instance_ = instance_;
         result.osShortName_ = osShortName_;
         result.osVersion_ = osVersion_;
@@ -43594,56 +37865,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest) {
-          return mergeFrom(
-              (com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest)
-                  other);
+        if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest) {
+          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest other) {
-        if (other
-            == com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest other) {
+        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.getDefaultInstance()) return this;
         if (!other.getInstance().isEmpty()) {
           instance_ = other.instance_;
           onChanged();
@@ -43675,14 +37936,11 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
-            parsedMessage = null;
+        com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest parsedMessage = null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -43694,20 +37952,18 @@ public Builder mergeFrom(
 
       private java.lang.Object instance_ = "";
       /**
-       *
-       *
        * 
        * Required. The VM instance whose policies are being looked up.
        * 
* * string instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -43716,21 +37972,20 @@ public java.lang.String getInstance() { } } /** - * - * *
        * Required. The VM instance whose policies are being looked up.
        * 
* * string instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instance. */ - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -43738,61 +37993,54 @@ public com.google.protobuf.ByteString getInstanceBytes() { } } /** - * - * *
        * Required. The VM instance whose policies are being looked up.
        * 
* * string instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance(java.lang.String value) { + public Builder setInstance( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** - * - * *
        * Required. The VM instance whose policies are being looked up.
        * 
* * string instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** - * - * *
        * Required. The VM instance whose policies are being looked up.
        * 
* * string instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -43800,8 +38048,6 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { private java.lang.Object osShortName_ = ""; /** - * - * *
        * Short name of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -43809,13 +38055,13 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) {
        * 
* * string os_short_name = 2; - * * @return The osShortName. */ public java.lang.String getOsShortName() { java.lang.Object ref = osShortName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; @@ -43824,8 +38070,6 @@ public java.lang.String getOsShortName() { } } /** - * - * *
        * Short name of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -43833,14 +38077,15 @@ public java.lang.String getOsShortName() {
        * 
* * string os_short_name = 2; - * * @return The bytes for osShortName. */ - public com.google.protobuf.ByteString getOsShortNameBytes() { + public com.google.protobuf.ByteString + getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osShortName_ = b; return b; } else { @@ -43848,8 +38093,6 @@ public com.google.protobuf.ByteString getOsShortNameBytes() { } } /** - * - * *
        * Short name of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -43857,22 +38100,20 @@ public com.google.protobuf.ByteString getOsShortNameBytes() {
        * 
* * string os_short_name = 2; - * * @param value The osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortName(java.lang.String value) { + public Builder setOsShortName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osShortName_ = value; onChanged(); return this; } /** - * - * *
        * Short name of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -43880,18 +38121,15 @@ public Builder setOsShortName(java.lang.String value) {
        * 
* * string os_short_name = 2; - * * @return This builder for chaining. */ public Builder clearOsShortName() { - + osShortName_ = getDefaultInstance().getOsShortName(); onChanged(); return this; } /** - * - * *
        * Short name of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -43899,16 +38137,16 @@ public Builder clearOsShortName() {
        * 
* * string os_short_name = 2; - * * @param value The bytes for osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { + public Builder setOsShortNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osShortName_ = value; onChanged(); return this; @@ -43916,8 +38154,6 @@ public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object osVersion_ = ""; /** - * - * *
        * Version of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -43925,13 +38161,13 @@ public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) {
        * 
* * string os_version = 3; - * * @return The osVersion. */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; @@ -43940,8 +38176,6 @@ public java.lang.String getOsVersion() { } } /** - * - * *
        * Version of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -43949,14 +38183,15 @@ public java.lang.String getOsVersion() {
        * 
* * string os_version = 3; - * * @return The bytes for osVersion. */ - public com.google.protobuf.ByteString getOsVersionBytes() { + public com.google.protobuf.ByteString + getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osVersion_ = b; return b; } else { @@ -43964,8 +38199,6 @@ public com.google.protobuf.ByteString getOsVersionBytes() { } } /** - * - * *
        * Version of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -43973,22 +38206,20 @@ public com.google.protobuf.ByteString getOsVersionBytes() {
        * 
* * string os_version = 3; - * * @param value The osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersion(java.lang.String value) { + public Builder setOsVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osVersion_ = value; onChanged(); return this; } /** - * - * *
        * Version of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -43996,18 +38227,15 @@ public Builder setOsVersion(java.lang.String value) {
        * 
* * string os_version = 3; - * * @return This builder for chaining. */ public Builder clearOsVersion() { - + osVersion_ = getDefaultInstance().getOsVersion(); onChanged(); return this; } /** - * - * *
        * Version of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -44015,16 +38243,16 @@ public Builder clearOsVersion() {
        * 
* * string os_version = 3; - * * @param value The bytes for osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersionBytes(com.google.protobuf.ByteString value) { + public Builder setOsVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osVersion_ = value; onChanged(); return this; @@ -44032,8 +38260,6 @@ public Builder setOsVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object osArchitecture_ = ""; /** - * - * *
        * Architecture of OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -44041,13 +38267,13 @@ public Builder setOsVersionBytes(com.google.protobuf.ByteString value) {
        * 
* * string os_architecture = 4; - * * @return The osArchitecture. */ public java.lang.String getOsArchitecture() { java.lang.Object ref = osArchitecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osArchitecture_ = s; return s; @@ -44056,8 +38282,6 @@ public java.lang.String getOsArchitecture() { } } /** - * - * *
        * Architecture of OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -44065,14 +38289,15 @@ public java.lang.String getOsArchitecture() {
        * 
* * string os_architecture = 4; - * * @return The bytes for osArchitecture. */ - public com.google.protobuf.ByteString getOsArchitectureBytes() { + public com.google.protobuf.ByteString + getOsArchitectureBytes() { java.lang.Object ref = osArchitecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osArchitecture_ = b; return b; } else { @@ -44080,8 +38305,6 @@ public com.google.protobuf.ByteString getOsArchitectureBytes() { } } /** - * - * *
        * Architecture of OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -44089,22 +38312,20 @@ public com.google.protobuf.ByteString getOsArchitectureBytes() {
        * 
* * string os_architecture = 4; - * * @param value The osArchitecture to set. * @return This builder for chaining. */ - public Builder setOsArchitecture(java.lang.String value) { + public Builder setOsArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osArchitecture_ = value; onChanged(); return this; } /** - * - * *
        * Architecture of OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -44112,18 +38333,15 @@ public Builder setOsArchitecture(java.lang.String value) {
        * 
* * string os_architecture = 4; - * * @return This builder for chaining. */ public Builder clearOsArchitecture() { - + osArchitecture_ = getDefaultInstance().getOsArchitecture(); onChanged(); return this; } /** - * - * *
        * Architecture of OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -44131,21 +38349,20 @@ public Builder clearOsArchitecture() {
        * 
* * string os_architecture = 4; - * * @param value The bytes for osArchitecture to set. * @return This builder for chaining. */ - public Builder setOsArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setOsArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osArchitecture_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -44158,34 +38375,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.LookupEffectiveGuestPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.LookupEffectiveGuestPolicyRequest) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies - .LookupEffectiveGuestPolicyRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LookupEffectiveGuestPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LookupEffectiveGuestPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LookupEffectiveGuestPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LookupEffectiveGuestPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -44197,247 +38410,164 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface EffectiveGuestPolicyOrBuilder - extends + public interface EffectiveGuestPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.EffectiveGuestPolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * List of package configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ - java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage> + java.util.List getPackagesList(); /** - * - * *
      * List of package configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage getPackages( - int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage getPackages(int index); /** - * - * *
      * List of package configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ int getPackagesCount(); /** - * - * *
      * List of package configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageOrBuilder> + java.util.List getPackagesOrBuilderList(); /** - * - * *
      * List of package configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder - getPackagesOrBuilder(int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder getPackagesOrBuilder( + int index); /** - * - * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ - java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository> + java.util.List getPackageRepositoriesList(); /** - * - * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository - getPackageRepositories(int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository getPackageRepositories(int index); /** - * - * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ int getPackageRepositoriesCount(); /** - * - * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepositoryOrBuilder> + java.util.List getPackageRepositoriesOrBuilderList(); /** - * - * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepositoryOrBuilder - getPackageRepositoriesOrBuilder(int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder getPackageRepositoriesOrBuilder( + int index); /** - * - * *
      * List of recipes assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ - java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe> + java.util.List getSoftwareRecipesList(); /** - * - * *
      * List of recipes assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe - getSoftwareRecipes(int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe getSoftwareRecipes(int index); /** - * - * *
      * List of recipes assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ int getSoftwareRecipesCount(); /** - * - * *
      * List of recipes assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipeOrBuilder> + java.util.List getSoftwareRecipesOrBuilderList(); /** - * - * *
      * List of recipes assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipeOrBuilder - getSoftwareRecipesOrBuilder(int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder getSoftwareRecipesOrBuilder( + int index); } /** - * - * *
    * The effective guest policy that applies to a VM instance.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.EffectiveGuestPolicy} */ - public static final class EffectiveGuestPolicy extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class EffectiveGuestPolicy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.EffectiveGuestPolicy) EffectiveGuestPolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EffectiveGuestPolicy.newBuilder() to construct. private EffectiveGuestPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EffectiveGuestPolicy() { packages_ = java.util.Collections.emptyList(); packageRepositories_ = java.util.Collections.emptyList(); @@ -44446,15 +38576,16 @@ private EffectiveGuestPolicy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EffectiveGuestPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private EffectiveGuestPolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -44474,61 +38605,40 @@ private EffectiveGuestPolicy( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - packages_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage>(); - mutable_bitField0_ |= 0x00000001; - } - packages_.add( - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + packages_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - packageRepositories_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository>(); - mutable_bitField0_ |= 0x00000002; - } - packageRepositories_.add( - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository.parser(), - extensionRegistry)); - break; + packages_.add( + input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + packageRepositories_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - softwareRecipes_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe>(); - mutable_bitField0_ |= 0x00000004; - } - softwareRecipes_.add( - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe.parser(), - extensionRegistry)); - break; + packageRepositories_.add( + input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + softwareRecipes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + softwareRecipes_.add( + input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -44536,7 +38646,8 @@ private EffectiveGuestPolicy( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packages_ = java.util.Collections.unmodifiableList(packages_); @@ -44551,79 +38662,62 @@ private EffectiveGuestPolicy( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.class, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Builder.class); } - public interface SourcedPackageOrBuilder - extends + public interface SourcedPackageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; - * * @return The source. */ java.lang.String getSource(); /** - * - * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; - * * @return The bytes for source. */ - com.google.protobuf.ByteString getSourceBytes(); + com.google.protobuf.ByteString + getSourceBytes(); /** - * - * *
        * A software package to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.Package package = 2; - * * @return Whether the package field is set. */ boolean hasPackage(); /** - * - * *
        * A software package to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.Package package = 2; - * * @return The package. */ com.google.cloud.osconfig.v1beta.GuestPolicies.Package getPackage(); /** - * - * *
        * A software package to configure on the VM instance.
        * 
@@ -44633,39 +38727,37 @@ public interface SourcedPackageOrBuilder com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackageOrBuilder(); } /** - * - * *
      * A guest policy package including its source.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage} */ - public static final class SourcedPackage extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class SourcedPackage extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage) SourcedPackageOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SourcedPackage.newBuilder() to construct. private SourcedPackage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SourcedPackage() { source_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SourcedPackage(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SourcedPackage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -44684,37 +38776,32 @@ private SourcedPackage( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - source_ = s; - break; + source_ = s; + break; + } + case 18: { + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder subBuilder = null; + if (package_ != null) { + subBuilder = package_.toBuilder(); } - case 18: - { - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder subBuilder = null; - if (package_ != null) { - subBuilder = package_.toBuilder(); - } - package_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(package_); - package_ = subBuilder.buildPartial(); - } - - break; + package_ = input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.Package.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(package_); + package_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -44722,42 +38809,34 @@ private SourcedPackage( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - .class, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - .Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.class, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder.class); } public static final int SOURCE_FIELD_NUMBER = 1; private volatile java.lang.Object source_; /** - * - * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; - * * @return The source. */ @java.lang.Override @@ -44766,29 +38845,29 @@ public java.lang.String getSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; } } /** - * - * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; - * * @return The bytes for source. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBytes() { + public com.google.protobuf.ByteString + getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); source_ = b; return b; } else { @@ -44799,14 +38878,11 @@ public com.google.protobuf.ByteString getSourceBytes() { public static final int PACKAGE_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1beta.GuestPolicies.Package package_; /** - * - * *
        * A software package to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.Package package = 2; - * * @return Whether the package field is set. */ @java.lang.Override @@ -44814,25 +38890,18 @@ public boolean hasPackage() { return package_ != null; } /** - * - * *
        * A software package to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.Package package = 2; - * * @return The package. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.Package getPackage() { - return package_ == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance() - : package_; + return package_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance() : package_; } /** - * - * *
        * A software package to configure on the VM instance.
        * 
@@ -44845,7 +38914,6 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackag } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -44857,7 +38925,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, source_); } @@ -44877,7 +38946,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, source_); } if (package_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPackage()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPackage()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -44887,21 +38957,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage) - obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage other = (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage) obj; - if (!getSource().equals(other.getSource())) return false; + if (!getSource() + .equals(other.getSource())) return false; if (hasPackage() != other.hasPackage()) return false; if (hasPackage()) { - if (!getPackage().equals(other.getPackage())) return false; + if (!getPackage() + .equals(other.getPackage())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -44925,116 +38993,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage - 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage - 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -45044,52 +39084,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A guest policy package including its source.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage) - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - .class, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - .Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.class, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -45105,23 +39137,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - result = buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -45129,12 +39157,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage result = new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage(this); result.source_ = source_; if (packageBuilder_ == null) { result.package_ = package_; @@ -45149,57 +39173,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage) { + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.getDefaultInstance()) return this; if (!other.getSource().isEmpty()) { source_ = other.source_; onChanged(); @@ -45222,14 +39235,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -45241,20 +39251,18 @@ public Builder mergeFrom( private java.lang.Object source_ = ""; /** - * - * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; - * * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; @@ -45263,21 +39271,20 @@ public java.lang.String getSource() { } } /** - * - * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; - * * @return The bytes for source. */ - public com.google.protobuf.ByteString getSourceBytes() { + public com.google.protobuf.ByteString + getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); source_ = b; return b; } else { @@ -45285,61 +39292,54 @@ public com.google.protobuf.ByteString getSourceBytes() { } } /** - * - * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; - * * @param value The source to set. * @return This builder for chaining. */ - public Builder setSource(java.lang.String value) { + public Builder setSource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** - * - * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; - * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** - * - * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; - * * @param value The bytes for source to set. * @return This builder for chaining. */ - public Builder setSourceBytes(com.google.protobuf.ByteString value) { + public Builder setSourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = value; onChanged(); return this; @@ -45347,47 +39347,34 @@ public Builder setSourceBytes(com.google.protobuf.ByteString value) { private com.google.cloud.osconfig.v1beta.GuestPolicies.Package package_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Package, - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder> - packageBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.Package, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder> packageBuilder_; /** - * - * *
          * A software package to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.Package package = 2; - * * @return Whether the package field is set. */ public boolean hasPackage() { return packageBuilder_ != null || package_ != null; } /** - * - * *
          * A software package to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.Package package = 2; - * * @return The package. */ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package getPackage() { if (packageBuilder_ == null) { - return package_ == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance() - : package_; + return package_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance() : package_; } else { return packageBuilder_.getMessage(); } } /** - * - * *
          * A software package to configure on the VM instance.
          * 
@@ -45408,8 +39395,6 @@ public Builder setPackage(com.google.cloud.osconfig.v1beta.GuestPolicies.Package return this; } /** - * - * *
          * A software package to configure on the VM instance.
          * 
@@ -45428,8 +39413,6 @@ public Builder setPackage( return this; } /** - * - * *
          * A software package to configure on the VM instance.
          * 
@@ -45440,9 +39423,7 @@ public Builder mergePackage(com.google.cloud.osconfig.v1beta.GuestPolicies.Packa if (packageBuilder_ == null) { if (package_ != null) { package_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.newBuilder(package_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.newBuilder(package_).mergeFrom(value).buildPartial(); } else { package_ = value; } @@ -45454,8 +39435,6 @@ public Builder mergePackage(com.google.cloud.osconfig.v1beta.GuestPolicies.Packa return this; } /** - * - * *
          * A software package to configure on the VM instance.
          * 
@@ -45474,8 +39453,6 @@ public Builder clearPackage() { return this; } /** - * - * *
          * A software package to configure on the VM instance.
          * 
@@ -45483,32 +39460,26 @@ public Builder clearPackage() { * .google.cloud.osconfig.v1beta.Package package = 2; */ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder getPackageBuilder() { - + onChanged(); return getPackageFieldBuilder().getBuilder(); } /** - * - * *
          * A software package to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.Package package = 2; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder - getPackageOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackageOrBuilder() { if (packageBuilder_ != null) { return packageBuilder_.getMessageOrBuilder(); } else { - return package_ == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance() - : package_; + return package_ == null ? + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance() : package_; } } /** - * - * *
          * A software package to configure on the VM instance.
          * 
@@ -45516,22 +39487,18 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder getPackage * .google.cloud.osconfig.v1beta.Package package = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Package, - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.Package, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder> getPackageFieldBuilder() { if (packageBuilder_ == null) { - packageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Package, - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder>( - getPackage(), getParentForChildren(), isClean()); + packageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.Package, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder>( + getPackage(), + getParentForChildren(), + isClean()); package_ = null; } return packageBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -45544,36 +39511,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SourcedPackage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SourcedPackage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SourcedPackage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SourcedPackage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -45585,114 +39546,95 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface SourcedPackageRepositoryOrBuilder - extends + public interface SourcedPackageRepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; - * * @return The source. */ java.lang.String getSource(); /** - * - * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; - * * @return The bytes for source. */ - com.google.protobuf.ByteString getSourceBytes(); + com.google.protobuf.ByteString + getSourceBytes(); /** - * - * *
        * A software package repository to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; - * * @return Whether the packageRepository field is set. */ boolean hasPackageRepository(); /** - * - * *
        * A software package repository to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; - * * @return The packageRepository. */ com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepository(); /** - * - * *
        * A software package repository to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder - getPackageRepositoryOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder getPackageRepositoryOrBuilder(); } /** - * - * *
      * A guest policy package repository including its source.
      * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository} + * Protobuf type {@code google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository} */ - public static final class SourcedPackageRepository - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class SourcedPackageRepository extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository) SourcedPackageRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SourcedPackageRepository.newBuilder() to construct. private SourcedPackageRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SourcedPackageRepository() { source_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SourcedPackageRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SourcedPackageRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -45711,38 +39653,32 @@ private SourcedPackageRepository( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - source_ = s; - break; + source_ = s; + break; + } + case 18: { + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder subBuilder = null; + if (packageRepository_ != null) { + subBuilder = packageRepository_.toBuilder(); } - case 18: - { - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder - subBuilder = null; - if (packageRepository_ != null) { - subBuilder = packageRepository_.toBuilder(); - } - packageRepository_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(packageRepository_); - packageRepository_ = subBuilder.buildPartial(); - } - - break; + packageRepository_ = input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(packageRepository_); + packageRepository_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -45750,42 +39686,34 @@ private SourcedPackageRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder.class); } public static final int SOURCE_FIELD_NUMBER = 1; private volatile java.lang.Object source_; /** - * - * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; - * * @return The source. */ @java.lang.Override @@ -45794,29 +39722,29 @@ public java.lang.String getSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; } } /** - * - * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; - * * @return The bytes for source. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBytes() { + public com.google.protobuf.ByteString + getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); source_ = b; return b; } else { @@ -45827,14 +39755,11 @@ public com.google.protobuf.ByteString getSourceBytes() { public static final int PACKAGE_REPOSITORY_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository packageRepository_; /** - * - * *
        * A software package repository to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; - * * @return Whether the packageRepository field is set. */ @java.lang.Override @@ -45842,26 +39767,18 @@ public boolean hasPackageRepository() { return packageRepository_ != null; } /** - * - * *
        * A software package repository to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; - * * @return The packageRepository. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository - getPackageRepository() { - return packageRepository_ == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.getDefaultInstance() - : packageRepository_; + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepository() { + return packageRepository_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.getDefaultInstance() : packageRepository_; } /** - * - * *
        * A software package repository to configure on the VM instance.
        * 
@@ -45869,13 +39786,11 @@ public boolean hasPackageRepository() { * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder - getPackageRepositoryOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder getPackageRepositoryOrBuilder() { return getPackageRepository(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -45887,7 +39802,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, source_); } @@ -45907,8 +39823,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, source_); } if (packageRepository_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPackageRepository()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPackageRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -45918,24 +39834,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository - other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository) - obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository other = (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository) obj; - if (!getSource().equals(other.getSource())) return false; + if (!getSource() + .equals(other.getSource())) return false; if (hasPackageRepository() != other.hasPackageRepository()) return false; if (hasPackageRepository()) { - if (!getPackageRepository().equals(other.getPackageRepository())) return false; + if (!getPackageRepository() + .equals(other.getPackageRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -45959,117 +39870,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -46079,53 +39961,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A guest policy package repository including its source.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository} + * Protobuf type {@code google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository) - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -46141,26 +40014,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - result = buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -46168,14 +40034,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository result = new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository(this); result.source_ = source_; if (packageRepositoryBuilder_ == null) { result.packageRepository_ = packageRepository_; @@ -46190,60 +40050,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository) { + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.getDefaultInstance()) return this; if (!other.getSource().isEmpty()) { source_ = other.source_; onChanged(); @@ -46266,16 +40112,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -46287,20 +40128,18 @@ public Builder mergeFrom( private java.lang.Object source_ = ""; /** - * - * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; - * * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; @@ -46309,21 +40148,20 @@ public java.lang.String getSource() { } } /** - * - * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; - * * @return The bytes for source. */ - public com.google.protobuf.ByteString getSourceBytes() { + public com.google.protobuf.ByteString + getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); source_ = b; return b; } else { @@ -46331,61 +40169,54 @@ public com.google.protobuf.ByteString getSourceBytes() { } } /** - * - * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; - * * @param value The source to set. * @return This builder for chaining. */ - public Builder setSource(java.lang.String value) { + public Builder setSource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** - * - * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; - * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** - * - * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; - * * @param value The bytes for source to set. * @return This builder for chaining. */ - public Builder setSourceBytes(com.google.protobuf.ByteString value) { + public Builder setSourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = value; onChanged(); return this; @@ -46393,57 +40224,41 @@ public Builder setSourceBytes(com.google.protobuf.ByteString value) { private com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository packageRepository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> - packageRepositoryBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> packageRepositoryBuilder_; /** - * - * *
          * A software package repository to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; - * * @return Whether the packageRepository field is set. */ public boolean hasPackageRepository() { return packageRepositoryBuilder_ != null || packageRepository_ != null; } /** - * - * *
          * A software package repository to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; - * * @return The packageRepository. */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository - getPackageRepository() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepository() { if (packageRepositoryBuilder_ == null) { - return packageRepository_ == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository - .getDefaultInstance() - : packageRepository_; + return packageRepository_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.getDefaultInstance() : packageRepository_; } else { return packageRepositoryBuilder_.getMessage(); } } /** - * - * *
          * A software package repository to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; */ - public Builder setPackageRepository( - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository value) { + public Builder setPackageRepository(com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository value) { if (packageRepositoryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -46457,8 +40272,6 @@ public Builder setPackageRepository( return this; } /** - * - * *
          * A software package repository to configure on the VM instance.
          * 
@@ -46466,8 +40279,7 @@ public Builder setPackageRepository( * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; */ public Builder setPackageRepository( - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder builderForValue) { if (packageRepositoryBuilder_ == null) { packageRepository_ = builderForValue.build(); onChanged(); @@ -46478,23 +40290,17 @@ public Builder setPackageRepository( return this; } /** - * - * *
          * A software package repository to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; */ - public Builder mergePackageRepository( - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository value) { + public Builder mergePackageRepository(com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository value) { if (packageRepositoryBuilder_ == null) { if (packageRepository_ != null) { packageRepository_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.newBuilder( - packageRepository_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.newBuilder(packageRepository_).mergeFrom(value).buildPartial(); } else { packageRepository_ = value; } @@ -46506,8 +40312,6 @@ public Builder mergePackageRepository( return this; } /** - * - * *
          * A software package repository to configure on the VM instance.
          * 
@@ -46526,43 +40330,33 @@ public Builder clearPackageRepository() { return this; } /** - * - * *
          * A software package repository to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder - getPackageRepositoryBuilder() { - + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder getPackageRepositoryBuilder() { + onChanged(); return getPackageRepositoryFieldBuilder().getBuilder(); } /** - * - * *
          * A software package repository to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder - getPackageRepositoryOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder getPackageRepositoryOrBuilder() { if (packageRepositoryBuilder_ != null) { return packageRepositoryBuilder_.getMessageOrBuilder(); } else { - return packageRepository_ == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository - .getDefaultInstance() - : packageRepository_; + return packageRepository_ == null ? + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.getDefaultInstance() : packageRepository_; } } /** - * - * *
          * A software package repository to configure on the VM instance.
          * 
@@ -46570,22 +40364,18 @@ public Builder clearPackageRepository() { * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> getPackageRepositoryFieldBuilder() { if (packageRepositoryBuilder_ == null) { - packageRepositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder>( - getPackageRepository(), getParentForChildren(), isClean()); + packageRepositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder>( + getPackageRepository(), + getParentForChildren(), + isClean()); packageRepository_ = null; } return packageRepositoryBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -46598,36 +40388,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SourcedPackageRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SourcedPackageRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SourcedPackageRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SourcedPackageRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -46639,113 +40423,95 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface SourcedSoftwareRecipeOrBuilder - extends + public interface SourcedSoftwareRecipeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; - * * @return The source. */ java.lang.String getSource(); /** - * - * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; - * * @return The bytes for source. */ - com.google.protobuf.ByteString getSourceBytes(); + com.google.protobuf.ByteString + getSourceBytes(); /** - * - * *
        * A software recipe to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; - * * @return Whether the softwareRecipe field is set. */ boolean hasSoftwareRecipe(); /** - * - * *
        * A software recipe to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; - * * @return The softwareRecipe. */ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getSoftwareRecipe(); /** - * - * *
        * A software recipe to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder - getSoftwareRecipeOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder getSoftwareRecipeOrBuilder(); } /** - * - * *
      * A guest policy recipe including its source.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe} */ - public static final class SourcedSoftwareRecipe extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class SourcedSoftwareRecipe extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe) SourcedSoftwareRecipeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SourcedSoftwareRecipe.newBuilder() to construct. private SourcedSoftwareRecipe(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SourcedSoftwareRecipe() { source_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SourcedSoftwareRecipe(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SourcedSoftwareRecipe( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -46764,38 +40530,32 @@ private SourcedSoftwareRecipe( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - source_ = s; - break; + source_ = s; + break; + } + case 18: { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder subBuilder = null; + if (softwareRecipe_ != null) { + subBuilder = softwareRecipe_.toBuilder(); } - case 18: - { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder subBuilder = - null; - if (softwareRecipe_ != null) { - subBuilder = softwareRecipe_.toBuilder(); - } - softwareRecipe_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(softwareRecipe_); - softwareRecipe_ = subBuilder.buildPartial(); - } - - break; + softwareRecipe_ = input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(softwareRecipe_); + softwareRecipe_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -46803,42 +40563,34 @@ private SourcedSoftwareRecipe( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.class, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder.class); } public static final int SOURCE_FIELD_NUMBER = 1; private volatile java.lang.Object source_; /** - * - * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; - * * @return The source. */ @java.lang.Override @@ -46847,29 +40599,29 @@ public java.lang.String getSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; } } /** - * - * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; - * * @return The bytes for source. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBytes() { + public com.google.protobuf.ByteString + getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); source_ = b; return b; } else { @@ -46880,14 +40632,11 @@ public com.google.protobuf.ByteString getSourceBytes() { public static final int SOFTWARE_RECIPE_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe softwareRecipe_; /** - * - * *
        * A software recipe to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; - * * @return Whether the softwareRecipe field is set. */ @java.lang.Override @@ -46895,25 +40644,18 @@ public boolean hasSoftwareRecipe() { return softwareRecipe_ != null; } /** - * - * *
        * A software recipe to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; - * * @return The softwareRecipe. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getSoftwareRecipe() { - return softwareRecipe_ == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance() - : softwareRecipe_; + return softwareRecipe_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance() : softwareRecipe_; } /** - * - * *
        * A software recipe to configure on the VM instance.
        * 
@@ -46921,13 +40663,11 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getSoftware * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder - getSoftwareRecipeOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder getSoftwareRecipeOrBuilder() { return getSoftwareRecipe(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -46939,7 +40679,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, source_); } @@ -46959,7 +40700,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, source_); } if (softwareRecipe_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSoftwareRecipe()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSoftwareRecipe()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -46969,24 +40711,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe - other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe) - obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe other = (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe) obj; - if (!getSource().equals(other.getSource())) return false; + if (!getSource() + .equals(other.getSource())) return false; if (hasSoftwareRecipe() != other.hasSoftwareRecipe()) return false; if (hasSoftwareRecipe()) { - if (!getSoftwareRecipe().equals(other.getSoftwareRecipe())) return false; + if (!getSoftwareRecipe() + .equals(other.getSoftwareRecipe())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -47010,116 +40747,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe - prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -47129,53 +40838,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A guest policy recipe including its source.
        * 
* - * Protobuf type {@code - * google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe} + * Protobuf type {@code google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe) - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.class, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -47191,25 +40891,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe - result = buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -47217,13 +40911,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe - result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe result = new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe(this); result.source_ = source_; if (softwareRecipeBuilder_ == null) { result.softwareRecipe_ = softwareRecipe_; @@ -47238,60 +40927,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe) { + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.getDefaultInstance()) return this; if (!other.getSource().isEmpty()) { source_ = other.source_; onChanged(); @@ -47314,15 +40989,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe - parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -47334,20 +41005,18 @@ public Builder mergeFrom( private java.lang.Object source_ = ""; /** - * - * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; - * * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; @@ -47356,21 +41025,20 @@ public java.lang.String getSource() { } } /** - * - * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; - * * @return The bytes for source. */ - public com.google.protobuf.ByteString getSourceBytes() { + public com.google.protobuf.ByteString + getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); source_ = b; return b; } else { @@ -47378,61 +41046,54 @@ public com.google.protobuf.ByteString getSourceBytes() { } } /** - * - * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; - * * @param value The source to set. * @return This builder for chaining. */ - public Builder setSource(java.lang.String value) { + public Builder setSource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** - * - * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; - * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** - * - * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; - * * @param value The bytes for source to set. * @return This builder for chaining. */ - public Builder setSourceBytes(com.google.protobuf.ByteString value) { + public Builder setSourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = value; onChanged(); return this; @@ -47440,55 +41101,41 @@ public Builder setSourceBytes(com.google.protobuf.ByteString value) { private com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe softwareRecipe_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> - softwareRecipeBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> softwareRecipeBuilder_; /** - * - * *
          * A software recipe to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; - * * @return Whether the softwareRecipe field is set. */ public boolean hasSoftwareRecipe() { return softwareRecipeBuilder_ != null || softwareRecipe_ != null; } /** - * - * *
          * A software recipe to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; - * * @return The softwareRecipe. */ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getSoftwareRecipe() { if (softwareRecipeBuilder_ == null) { - return softwareRecipe_ == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance() - : softwareRecipe_; + return softwareRecipe_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance() : softwareRecipe_; } else { return softwareRecipeBuilder_.getMessage(); } } /** - * - * *
          * A software recipe to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; */ - public Builder setSoftwareRecipe( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe value) { + public Builder setSoftwareRecipe(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe value) { if (softwareRecipeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -47502,8 +41149,6 @@ public Builder setSoftwareRecipe( return this; } /** - * - * *
          * A software recipe to configure on the VM instance.
          * 
@@ -47522,23 +41167,17 @@ public Builder setSoftwareRecipe( return this; } /** - * - * *
          * A software recipe to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; */ - public Builder mergeSoftwareRecipe( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe value) { + public Builder mergeSoftwareRecipe(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe value) { if (softwareRecipeBuilder_ == null) { if (softwareRecipe_ != null) { softwareRecipe_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.newBuilder( - softwareRecipe_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.newBuilder(softwareRecipe_).mergeFrom(value).buildPartial(); } else { softwareRecipe_ = value; } @@ -47550,8 +41189,6 @@ public Builder mergeSoftwareRecipe( return this; } /** - * - * *
          * A software recipe to configure on the VM instance.
          * 
@@ -47570,42 +41207,33 @@ public Builder clearSoftwareRecipe() { return this; } /** - * - * *
          * A software recipe to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder - getSoftwareRecipeBuilder() { - + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder getSoftwareRecipeBuilder() { + onChanged(); return getSoftwareRecipeFieldBuilder().getBuilder(); } /** - * - * *
          * A software recipe to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder - getSoftwareRecipeOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder getSoftwareRecipeOrBuilder() { if (softwareRecipeBuilder_ != null) { return softwareRecipeBuilder_.getMessageOrBuilder(); } else { - return softwareRecipe_ == null - ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance() - : softwareRecipe_; + return softwareRecipe_ == null ? + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance() : softwareRecipe_; } } /** - * - * *
          * A software recipe to configure on the VM instance.
          * 
@@ -47613,22 +41241,18 @@ public Builder clearSoftwareRecipe() { * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> getSoftwareRecipeFieldBuilder() { if (softwareRecipeBuilder_ == null) { - softwareRecipeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder>( - getSoftwareRecipe(), getParentForChildren(), isClean()); + softwareRecipeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder>( + getSoftwareRecipe(), + getParentForChildren(), + isClean()); softwareRecipe_ = null; } return softwareRecipeBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -47641,36 +41265,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SourcedSoftwareRecipe parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SourcedSoftwareRecipe(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SourcedSoftwareRecipe parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SourcedSoftwareRecipe(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -47682,287 +41300,193 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int PACKAGES_FIELD_NUMBER = 1; - private java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage> - packages_; + private java.util.List packages_; /** - * - * *
      * List of package configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ @java.lang.Override - public java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage> - getPackagesList() { + public java.util.List getPackagesList() { return packages_; } /** - * - * *
      * List of package configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageOrBuilder> + public java.util.List getPackagesOrBuilderList() { return packages_; } /** - * - * *
      * List of package configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ @java.lang.Override public int getPackagesCount() { return packages_.size(); } /** - * - * *
      * List of package configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - getPackages(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage getPackages(int index) { return packages_.get(index); } /** - * - * *
      * List of package configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageOrBuilder - getPackagesOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder getPackagesOrBuilder( + int index) { return packages_.get(index); } public static final int PACKAGE_REPOSITORIES_FIELD_NUMBER = 2; - private java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository> - packageRepositories_; + private java.util.List packageRepositories_; /** - * - * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ @java.lang.Override - public java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository> - getPackageRepositoriesList() { + public java.util.List getPackageRepositoriesList() { return packageRepositories_; } /** - * - * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepositoryOrBuilder> + public java.util.List getPackageRepositoriesOrBuilderList() { return packageRepositories_; } /** - * - * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ @java.lang.Override public int getPackageRepositoriesCount() { return packageRepositories_.size(); } /** - * - * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - getPackageRepositories(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository getPackageRepositories(int index) { return packageRepositories_.get(index); } /** - * - * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepositoryOrBuilder - getPackageRepositoriesOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder getPackageRepositoriesOrBuilder( + int index) { return packageRepositories_.get(index); } public static final int SOFTWARE_RECIPES_FIELD_NUMBER = 3; - private java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe> - softwareRecipes_; + private java.util.List softwareRecipes_; /** - * - * *
      * List of recipes assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ @java.lang.Override - public java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe> - getSoftwareRecipesList() { + public java.util.List getSoftwareRecipesList() { return softwareRecipes_; } /** - * - * *
      * List of recipes assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipeOrBuilder> + public java.util.List getSoftwareRecipesOrBuilderList() { return softwareRecipes_; } /** - * - * *
      * List of recipes assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ @java.lang.Override public int getSoftwareRecipesCount() { return softwareRecipes_.size(); } /** - * - * *
      * List of recipes assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe - getSoftwareRecipes(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe getSoftwareRecipes(int index) { return softwareRecipes_.get(index); } /** - * - * *
      * List of recipes assigned to the VM instance.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipeOrBuilder - getSoftwareRecipesOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder getSoftwareRecipesOrBuilder( + int index) { return softwareRecipes_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -47974,7 +41498,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < packages_.size(); i++) { output.writeMessage(1, packages_.get(i)); } @@ -47994,16 +41519,16 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, packages_.get(i)); } for (int i = 0; i < packageRepositories_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, packageRepositories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, packageRepositories_.get(i)); } for (int i = 0; i < softwareRecipes_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, softwareRecipes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, softwareRecipes_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -48013,17 +41538,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy other = - (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy other = (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy) obj; - if (!getPackagesList().equals(other.getPackagesList())) return false; - if (!getPackageRepositoriesList().equals(other.getPackageRepositoriesList())) return false; - if (!getSoftwareRecipesList().equals(other.getSoftwareRecipesList())) return false; + if (!getPackagesList() + .equals(other.getPackagesList())) return false; + if (!getPackageRepositoriesList() + .equals(other.getPackageRepositoriesList())) return false; + if (!getSoftwareRecipesList() + .equals(other.getSoftwareRecipesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -48053,95 +41580,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -48151,53 +41670,47 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The effective guest policy that applies to a VM instance.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.EffectiveGuestPolicy} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.EffectiveGuestPolicy) com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.class, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.class, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPackagesFieldBuilder(); getPackageRepositoriesFieldBuilder(); getSoftwareRecipesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -48223,16 +41736,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies - .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.getDefaultInstance(); } @java.lang.Override @@ -48246,8 +41757,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy build @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy result = - new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy(this); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy result = new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy(this); int from_bitField0_ = bitField0_; if (packagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -48284,53 +41794,46 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy) other); + return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy other) { - if (other - == com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy other) { + if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.getDefaultInstance()) return this; if (packagesBuilder_ == null) { if (!other.packages_.isEmpty()) { if (packages_.isEmpty()) { @@ -48349,10 +41852,9 @@ public Builder mergeFrom( packagesBuilder_ = null; packages_ = other.packages_; bitField0_ = (bitField0_ & ~0x00000001); - packagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPackagesFieldBuilder() - : null; + packagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPackagesFieldBuilder() : null; } else { packagesBuilder_.addAllMessages(other.packages_); } @@ -48376,10 +41878,9 @@ public Builder mergeFrom( packageRepositoriesBuilder_ = null; packageRepositories_ = other.packageRepositories_; bitField0_ = (bitField0_ & ~0x00000002); - packageRepositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPackageRepositoriesFieldBuilder() - : null; + packageRepositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPackageRepositoriesFieldBuilder() : null; } else { packageRepositoriesBuilder_.addAllMessages(other.packageRepositories_); } @@ -48403,10 +41904,9 @@ public Builder mergeFrom( softwareRecipesBuilder_ = null; softwareRecipes_ = other.softwareRecipes_; bitField0_ = (bitField0_ & ~0x00000004); - softwareRecipesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSoftwareRecipesFieldBuilder() - : null; + softwareRecipesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSoftwareRecipesFieldBuilder() : null; } else { softwareRecipesBuilder_.addAllMessages(other.softwareRecipes_); } @@ -48431,9 +41931,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -48442,45 +41940,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage> - packages_ = java.util.Collections.emptyList(); - + private java.util.List packages_ = + java.util.Collections.emptyList(); private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage>(packages_); + packages_ = new java.util.ArrayList(packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageOrBuilder> - packagesBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder> packagesBuilder_; /** - * - * *
        * List of package configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ - public java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage> - getPackagesList() { + public java.util.List getPackagesList() { if (packagesBuilder_ == null) { return java.util.Collections.unmodifiableList(packages_); } else { @@ -48488,15 +41969,11 @@ private void ensurePackagesIsMutable() { } } /** - * - * *
        * List of package configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ public int getPackagesCount() { if (packagesBuilder_ == null) { @@ -48506,18 +41983,13 @@ public int getPackagesCount() { } } /** - * - * *
        * List of package configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - getPackages(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage getPackages(int index) { if (packagesBuilder_ == null) { return packages_.get(index); } else { @@ -48525,20 +41997,14 @@ public int getPackagesCount() { } } /** - * - * *
        * List of package configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ public Builder setPackages( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - value) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -48552,20 +42018,14 @@ public Builder setPackages( return this; } /** - * - * *
        * List of package configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ public Builder setPackages( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder builderForValue) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); packages_.set(index, builderForValue.build()); @@ -48576,19 +42036,13 @@ public Builder setPackages( return this; } /** - * - * *
        * List of package configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ - public Builder addPackages( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - value) { + public Builder addPackages(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -48602,20 +42056,14 @@ public Builder addPackages( return this; } /** - * - * *
        * List of package configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ public Builder addPackages( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - value) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -48629,19 +42077,14 @@ public Builder addPackages( return this; } /** - * - * *
        * List of package configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ public Builder addPackages( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder builderForValue) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); packages_.add(builderForValue.build()); @@ -48652,20 +42095,14 @@ public Builder addPackages( return this; } /** - * - * *
        * List of package configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ public Builder addPackages( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder builderForValue) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); packages_.add(index, builderForValue.build()); @@ -48676,25 +42113,18 @@ public Builder addPackages( return this; } /** - * - * *
        * List of package configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ public Builder addAllPackages( - java.lang.Iterable< - ? extends - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage> - values) { + java.lang.Iterable values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -48702,15 +42132,11 @@ public Builder addAllPackages( return this; } /** - * - * *
        * List of package configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ public Builder clearPackages() { if (packagesBuilder_ == null) { @@ -48723,15 +42149,11 @@ public Builder clearPackages() { return this; } /** - * - * *
        * List of package configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ public Builder removePackages(int index) { if (packagesBuilder_ == null) { @@ -48744,57 +42166,39 @@ public Builder removePackages(int index) { return this; } /** - * - * *
        * List of package configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - .Builder - getPackagesBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder getPackagesBuilder( + int index) { return getPackagesFieldBuilder().getBuilder(index); } /** - * - * *
        * List of package configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageOrBuilder - getPackagesOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder getPackagesOrBuilder( + int index) { if (packagesBuilder_ == null) { - return packages_.get(index); - } else { + return packages_.get(index); } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * List of package configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageOrBuilder> - getPackagesOrBuilderList() { + public java.util.List + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -48802,123 +42206,74 @@ public Builder removePackages(int index) { } } /** - * - * *
        * List of package configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - .Builder - addPackagesBuilder() { - return getPackagesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - .getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder addPackagesBuilder() { + return getPackagesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.getDefaultInstance()); } /** - * - * *
        * List of package configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - .Builder - addPackagesBuilder(int index) { - return getPackagesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - .getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder addPackagesBuilder( + int index) { + return getPackagesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.getDefaultInstance()); } /** - * - * *
        * List of package configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; */ - public java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - .Builder> - getPackagesBuilderList() { + public java.util.List + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackage, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage - .Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageOrBuilder>( - packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder>( + packages_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); packages_ = null; } return packagesBuilder_; } - private java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository> - packageRepositories_ = java.util.Collections.emptyList(); - + private java.util.List packageRepositories_ = + java.util.Collections.emptyList(); private void ensurePackageRepositoriesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - packageRepositories_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository>(packageRepositories_); + packageRepositories_ = new java.util.ArrayList(packageRepositories_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepositoryOrBuilder> - packageRepositoriesBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder> packageRepositoriesBuilder_; /** - * - * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ - public java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository> - getPackageRepositoriesList() { + public java.util.List getPackageRepositoriesList() { if (packageRepositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(packageRepositories_); } else { @@ -48926,15 +42281,11 @@ private void ensurePackageRepositoriesIsMutable() { } } /** - * - * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ public int getPackageRepositoriesCount() { if (packageRepositoriesBuilder_ == null) { @@ -48944,19 +42295,13 @@ public int getPackageRepositoriesCount() { } } /** - * - * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - getPackageRepositories(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository getPackageRepositories(int index) { if (packageRepositoriesBuilder_ == null) { return packageRepositories_.get(index); } else { @@ -48964,21 +42309,14 @@ public int getPackageRepositoriesCount() { } } /** - * - * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ public Builder setPackageRepositories( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - value) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository value) { if (packageRepositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -48992,21 +42330,14 @@ public Builder setPackageRepositories( return this; } /** - * - * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ public Builder setPackageRepositories( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder builderForValue) { if (packageRepositoriesBuilder_ == null) { ensurePackageRepositoriesIsMutable(); packageRepositories_.set(index, builderForValue.build()); @@ -49017,20 +42348,13 @@ public Builder setPackageRepositories( return this; } /** - * - * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ - public Builder addPackageRepositories( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - value) { + public Builder addPackageRepositories(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository value) { if (packageRepositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -49044,21 +42368,14 @@ public Builder addPackageRepositories( return this; } /** - * - * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ public Builder addPackageRepositories( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository - value) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository value) { if (packageRepositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -49072,20 +42389,14 @@ public Builder addPackageRepositories( return this; } /** - * - * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ public Builder addPackageRepositories( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder builderForValue) { if (packageRepositoriesBuilder_ == null) { ensurePackageRepositoriesIsMutable(); packageRepositories_.add(builderForValue.build()); @@ -49096,21 +42407,14 @@ public Builder addPackageRepositories( return this; } /** - * - * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ public Builder addPackageRepositories( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder builderForValue) { if (packageRepositoriesBuilder_ == null) { ensurePackageRepositoriesIsMutable(); packageRepositories_.add(index, builderForValue.build()); @@ -49121,25 +42425,18 @@ public Builder addPackageRepositories( return this; } /** - * - * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ public Builder addAllPackageRepositories( - java.lang.Iterable< - ? extends - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository> - values) { + java.lang.Iterable values) { if (packageRepositoriesBuilder_ == null) { ensurePackageRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packageRepositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, packageRepositories_); onChanged(); } else { packageRepositoriesBuilder_.addAllMessages(values); @@ -49147,15 +42444,11 @@ public Builder addAllPackageRepositories( return this; } /** - * - * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ public Builder clearPackageRepositories() { if (packageRepositoriesBuilder_ == null) { @@ -49168,15 +42461,11 @@ public Builder clearPackageRepositories() { return this; } /** - * - * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ public Builder removePackageRepositories(int index) { if (packageRepositoriesBuilder_ == null) { @@ -49189,57 +42478,39 @@ public Builder removePackageRepositories(int index) { return this; } /** - * - * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository.Builder - getPackageRepositoriesBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder getPackageRepositoriesBuilder( + int index) { return getPackageRepositoriesFieldBuilder().getBuilder(index); } /** - * - * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepositoryOrBuilder - getPackageRepositoriesOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder getPackageRepositoriesOrBuilder( + int index) { if (packageRepositoriesBuilder_ == null) { - return packageRepositories_.get(index); - } else { + return packageRepositories_.get(index); } else { return packageRepositoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepositoryOrBuilder> - getPackageRepositoriesOrBuilderList() { + public java.util.List + getPackageRepositoriesOrBuilderList() { if (packageRepositoriesBuilder_ != null) { return packageRepositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -49247,79 +42518,45 @@ public Builder removePackageRepositories(int index) { } } /** - * - * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository.Builder - addPackageRepositoriesBuilder() { - return getPackageRepositoriesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder addPackageRepositoriesBuilder() { + return getPackageRepositoriesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.getDefaultInstance()); } /** - * - * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository.Builder - addPackageRepositoriesBuilder(int index) { - return getPackageRepositoriesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder addPackageRepositoriesBuilder( + int index) { + return getPackageRepositoriesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.getDefaultInstance()); } /** - * - * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; */ - public java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository.Builder> - getPackageRepositoriesBuilderList() { + public java.util.List + getPackageRepositoriesBuilderList() { return getPackageRepositoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepositoryOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder> getPackageRepositoriesFieldBuilder() { if (packageRepositoriesBuilder_ == null) { - packageRepositoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepository.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedPackageRepositoryOrBuilder>( + packageRepositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder>( packageRepositories_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -49329,45 +42566,26 @@ public Builder removePackageRepositories(int index) { return packageRepositoriesBuilder_; } - private java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe> - softwareRecipes_ = java.util.Collections.emptyList(); - + private java.util.List softwareRecipes_ = + java.util.Collections.emptyList(); private void ensureSoftwareRecipesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - softwareRecipes_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe>(softwareRecipes_); + softwareRecipes_ = new java.util.ArrayList(softwareRecipes_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipeOrBuilder> - softwareRecipesBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder> softwareRecipesBuilder_; /** - * - * *
        * List of recipes assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ - public java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe> - getSoftwareRecipesList() { + public java.util.List getSoftwareRecipesList() { if (softwareRecipesBuilder_ == null) { return java.util.Collections.unmodifiableList(softwareRecipes_); } else { @@ -49375,15 +42593,11 @@ private void ensureSoftwareRecipesIsMutable() { } } /** - * - * *
        * List of recipes assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ public int getSoftwareRecipesCount() { if (softwareRecipesBuilder_ == null) { @@ -49393,19 +42607,13 @@ public int getSoftwareRecipesCount() { } } /** - * - * *
        * List of recipes assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe - getSoftwareRecipes(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe getSoftwareRecipes(int index) { if (softwareRecipesBuilder_ == null) { return softwareRecipes_.get(index); } else { @@ -49413,20 +42621,14 @@ public int getSoftwareRecipesCount() { } } /** - * - * *
        * List of recipes assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ public Builder setSoftwareRecipes( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe - value) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe value) { if (softwareRecipesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -49440,21 +42642,14 @@ public Builder setSoftwareRecipes( return this; } /** - * - * *
        * List of recipes assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ public Builder setSoftwareRecipes( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe - .Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder builderForValue) { if (softwareRecipesBuilder_ == null) { ensureSoftwareRecipesIsMutable(); softwareRecipes_.set(index, builderForValue.build()); @@ -49465,19 +42660,13 @@ public Builder setSoftwareRecipes( return this; } /** - * - * *
        * List of recipes assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ - public Builder addSoftwareRecipes( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe - value) { + public Builder addSoftwareRecipes(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe value) { if (softwareRecipesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -49491,20 +42680,14 @@ public Builder addSoftwareRecipes( return this; } /** - * - * *
        * List of recipes assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ public Builder addSoftwareRecipes( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe - value) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe value) { if (softwareRecipesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -49518,20 +42701,14 @@ public Builder addSoftwareRecipes( return this; } /** - * - * *
        * List of recipes assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ public Builder addSoftwareRecipes( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe - .Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder builderForValue) { if (softwareRecipesBuilder_ == null) { ensureSoftwareRecipesIsMutable(); softwareRecipes_.add(builderForValue.build()); @@ -49542,21 +42719,14 @@ public Builder addSoftwareRecipes( return this; } /** - * - * *
        * List of recipes assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ public Builder addSoftwareRecipes( - int index, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe - .Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder builderForValue) { if (softwareRecipesBuilder_ == null) { ensureSoftwareRecipesIsMutable(); softwareRecipes_.add(index, builderForValue.build()); @@ -49567,25 +42737,18 @@ public Builder addSoftwareRecipes( return this; } /** - * - * *
        * List of recipes assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ public Builder addAllSoftwareRecipes( - java.lang.Iterable< - ? extends - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe> - values) { + java.lang.Iterable values) { if (softwareRecipesBuilder_ == null) { ensureSoftwareRecipesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, softwareRecipes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, softwareRecipes_); onChanged(); } else { softwareRecipesBuilder_.addAllMessages(values); @@ -49593,15 +42756,11 @@ public Builder addAllSoftwareRecipes( return this; } /** - * - * *
        * List of recipes assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ public Builder clearSoftwareRecipes() { if (softwareRecipesBuilder_ == null) { @@ -49614,15 +42773,11 @@ public Builder clearSoftwareRecipes() { return this; } /** - * - * *
        * List of recipes assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ public Builder removeSoftwareRecipes(int index) { if (softwareRecipesBuilder_ == null) { @@ -49635,57 +42790,39 @@ public Builder removeSoftwareRecipes(int index) { return this; } /** - * - * *
        * List of recipes assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe.Builder - getSoftwareRecipesBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder getSoftwareRecipesBuilder( + int index) { return getSoftwareRecipesFieldBuilder().getBuilder(index); } /** - * - * *
        * List of recipes assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipeOrBuilder - getSoftwareRecipesOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder getSoftwareRecipesOrBuilder( + int index) { if (softwareRecipesBuilder_ == null) { - return softwareRecipes_.get(index); - } else { + return softwareRecipes_.get(index); } else { return softwareRecipesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * List of recipes assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipeOrBuilder> - getSoftwareRecipesOrBuilderList() { + public java.util.List + getSoftwareRecipesOrBuilderList() { if (softwareRecipesBuilder_ != null) { return softwareRecipesBuilder_.getMessageOrBuilderList(); } else { @@ -49693,79 +42830,45 @@ public Builder removeSoftwareRecipes(int index) { } } /** - * - * *
        * List of recipes assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe.Builder - addSoftwareRecipesBuilder() { - return getSoftwareRecipesFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder addSoftwareRecipesBuilder() { + return getSoftwareRecipesFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.getDefaultInstance()); } /** - * - * *
        * List of recipes assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe.Builder - addSoftwareRecipesBuilder(int index) { - return getSoftwareRecipesFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder addSoftwareRecipesBuilder( + int index) { + return getSoftwareRecipesFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.getDefaultInstance()); } /** - * - * *
        * List of recipes assigned to the VM instance.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; - * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; */ - public java.util.List< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe.Builder> - getSoftwareRecipesBuilderList() { + public java.util.List + getSoftwareRecipesBuilderList() { return getSoftwareRecipesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipeOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder> getSoftwareRecipesFieldBuilder() { if (softwareRecipesBuilder_ == null) { - softwareRecipesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipe.Builder, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - .SourcedSoftwareRecipeOrBuilder>( + softwareRecipesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder>( softwareRecipes_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -49774,7 +42877,6 @@ public Builder removeSoftwareRecipes(int index) { } return softwareRecipesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -49787,32 +42889,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.EffectiveGuestPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.EffectiveGuestPolicy) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EffectiveGuestPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EffectiveGuestPolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EffectiveGuestPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EffectiveGuestPolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -49824,647 +42924,567 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_GuestPolicy_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_Assignment_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_Package_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_Package_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_Package_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_AptRepository_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_YumRepository_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_ZypperRepository_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_GooRepository_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_PackageRepository_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { return descriptor; } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; static { java.lang.String[] descriptorData = { - "\n1google/cloud/osconfig/v1beta/guest_pol" - + "icies.proto\022\034google.cloud.osconfig.v1bet" - + "a\032\034google/api/annotations.proto\032\037google/" - + "api/field_behavior.proto\032\031google/api/res" - + "ource.proto\032 google/protobuf/field_mask." - + "proto\032\037google/protobuf/timestamp.proto\"\224" - + "\004\n\013GuestPolicy\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\013des" - + "cription\030\002 \001(\t\0224\n\013create_time\030\003 \001(\0132\032.go" - + "ogle.protobuf.TimestampB\003\340A\003\0224\n\013update_t" - + "ime\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340" - + "A\003\022A\n\nassignment\030\006 \001(\0132(.google.cloud.os" - + "config.v1beta.AssignmentB\003\340A\002\0227\n\010package" - + "s\030\007 \003(\0132%.google.cloud.osconfig.v1beta.P" - + "ackage\022M\n\024package_repositories\030\010 \003(\0132/.g" - + "oogle.cloud.osconfig.v1beta.PackageRepos" - + "itory\022=\n\007recipes\030\t \003(\0132,.google.cloud.os" - + "config.v1beta.SoftwareRecipe\022\014\n\004etag\030\n \001" - + "(\t:Y\352AV\n#osconfig.googleapis.com/GuestPo" - + "licy\022/projects/{project}/guestPolicies/{" - + "guest_policy}\"\271\003\n\nAssignment\022I\n\014group_la" - + "bels\030\001 \003(\01323.google.cloud.osconfig.v1bet" - + "a.Assignment.GroupLabel\022\r\n\005zones\030\002 \003(\t\022\021" - + "\n\tinstances\030\003 \003(\t\022\036\n\026instance_name_prefi" - + "xes\030\004 \003(\t\022A\n\010os_types\030\005 \003(\0132/.google.clo" - + "ud.osconfig.v1beta.Assignment.OsType\032\214\001\n" - + "\nGroupLabel\022O\n\006labels\030\001 \003(\0132?.google.clo" - + "ud.osconfig.v1beta.Assignment.GroupLabel" - + ".LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" - + "\022\r\n\005value\030\002 \001(\t:\0028\001\032L\n\006OsType\022\025\n\ros_shor" - + "t_name\030\001 \001(\t\022\022\n\nos_version\030\002 \001(\t\022\027\n\017os_a" - + "rchitecture\030\003 \001(\t\"\363\001\n\007Package\022\021\n\004name\030\001 " - + "\001(\tB\003\340A\002\022A\n\rdesired_state\030\002 \001(\0162*.google" - + ".cloud.osconfig.v1beta.DesiredState\022>\n\007m" - + "anager\030\003 \001(\0162-.google.cloud.osconfig.v1b" - + "eta.Package.Manager\"R\n\007Manager\022\027\n\023MANAGE" - + "R_UNSPECIFIED\020\000\022\007\n\003ANY\020\001\022\007\n\003APT\020\002\022\007\n\003YUM" - + "\020\003\022\n\n\006ZYPPER\020\004\022\007\n\003GOO\020\005\"\370\001\n\rAptRepositor" - + "y\022M\n\014archive_type\030\001 \001(\01627.google.cloud.o" - + "sconfig.v1beta.AptRepository.ArchiveType" - + "\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\031\n\014distribution\030\003 \001(\t" - + "B\003\340A\002\022\027\n\ncomponents\030\004 \003(\tB\003\340A\002\022\017\n\007gpg_ke" - + "y\030\005 \001(\t\"A\n\013ArchiveType\022\034\n\030ARCHIVE_TYPE_U" - + "NSPECIFIED\020\000\022\007\n\003DEB\020\001\022\013\n\007DEB_SRC\020\002\"_\n\rYu" - + "mRepository\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014display_" - + "name\030\002 \001(\t\022\025\n\010base_url\030\003 \001(\tB\003\340A\002\022\020\n\010gpg" - + "_keys\030\004 \003(\t\"b\n\020ZypperRepository\022\017\n\002id\030\001 " - + "\001(\tB\003\340A\002\022\024\n\014display_name\030\002 \001(\t\022\025\n\010base_u" - + "rl\030\003 \001(\tB\003\340A\002\022\020\n\010gpg_keys\030\004 \003(\t\"4\n\rGooRe" - + "pository\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003url\030\002 \001(\t" - + "B\003\340A\002\"\227\002\n\021PackageRepository\022:\n\003apt\030\001 \001(\013" - + "2+.google.cloud.osconfig.v1beta.AptRepos" - + "itoryH\000\022:\n\003yum\030\002 \001(\0132+.google.cloud.osco" - + "nfig.v1beta.YumRepositoryH\000\022@\n\006zypper\030\003 " - + "\001(\0132..google.cloud.osconfig.v1beta.Zyppe" - + "rRepositoryH\000\022:\n\003goo\030\004 \001(\0132+.google.clou" - + "d.osconfig.v1beta.GooRepositoryH\000B\014\n\nrep" - + "ository\"\206\021\n\016SoftwareRecipe\022\021\n\004name\030\001 \001(\t" - + "B\003\340A\002\022\017\n\007version\030\002 \001(\t\022H\n\tartifacts\030\003 \003(" - + "\01325.google.cloud.osconfig.v1beta.Softwar" - + "eRecipe.Artifact\022H\n\rinstall_steps\030\004 \003(\0132" - + "1.google.cloud.osconfig.v1beta.SoftwareR" - + "ecipe.Step\022G\n\014update_steps\030\005 \003(\01321.googl" - + "e.cloud.osconfig.v1beta.SoftwareRecipe.S" - + "tep\022A\n\rdesired_state\030\006 \001(\0162*.google.clou" - + "d.osconfig.v1beta.DesiredState\032\275\002\n\010Artif" - + "act\022\017\n\002id\030\001 \001(\tB\003\340A\002\022N\n\006remote\030\002 \001(\0132<.g" - + "oogle.cloud.osconfig.v1beta.SoftwareReci" - + "pe.Artifact.RemoteH\000\022H\n\003gcs\030\003 \001(\01329.goog" - + "le.cloud.osconfig.v1beta.SoftwareRecipe." - + "Artifact.GcsH\000\022\026\n\016allow_insecure\030\004 \001(\010\032\'" - + "\n\006Remote\022\013\n\003uri\030\001 \001(\t\022\020\n\010checksum\030\002 \001(\t\032" - + "9\n\003Gcs\022\016\n\006bucket\030\001 \001(\t\022\016\n\006object\030\002 \001(\t\022\022" - + "\n\ngeneration\030\003 \001(\003B\n\n\010artifact\032\357\013\n\004Step\022" - + "O\n\tfile_copy\030\001 \001(\0132:.google.cloud.osconf" - + "ig.v1beta.SoftwareRecipe.Step.CopyFileH\000" - + "\022^\n\022archive_extraction\030\002 \001(\0132@.google.cl" - + "oud.osconfig.v1beta.SoftwareRecipe.Step." - + "ExtractArchiveH\000\022X\n\020msi_installation\030\003 \001" - + "(\0132<.google.cloud.osconfig.v1beta.Softwa" - + "reRecipe.Step.InstallMsiH\000\022Z\n\021dpkg_insta" - + "llation\030\004 \001(\0132=.google.cloud.osconfig.v1" - + "beta.SoftwareRecipe.Step.InstallDpkgH\000\022X" - + "\n\020rpm_installation\030\005 \001(\0132<.google.cloud." - + "osconfig.v1beta.SoftwareRecipe.Step.Inst" - + "allRpmH\000\022O\n\tfile_exec\030\006 \001(\0132:.google.clo" - + "ud.osconfig.v1beta.SoftwareRecipe.Step.E" - + "xecFileH\000\022Q\n\nscript_run\030\007 \001(\0132;.google.c" - + "loud.osconfig.v1beta.SoftwareRecipe.Step" - + ".RunScriptH\000\032f\n\010CopyFile\022\030\n\013artifact_id\030" - + "\001 \001(\tB\003\340A\002\022\030\n\013destination\030\002 \001(\tB\003\340A\002\022\021\n\t" - + "overwrite\030\003 \001(\010\022\023\n\013permissions\030\004 \001(\t\032\225\002\n" - + "\016ExtractArchive\022\030\n\013artifact_id\030\001 \001(\tB\003\340A" - + "\002\022\023\n\013destination\030\002 \001(\t\022_\n\004type\030\003 \001(\0162L.g" - + "oogle.cloud.osconfig.v1beta.SoftwareReci" - + "pe.Step.ExtractArchive.ArchiveTypeB\003\340A\002\"" - + "s\n\013ArchiveType\022\034\n\030ARCHIVE_TYPE_UNSPECIFI" - + "ED\020\000\022\007\n\003TAR\020\001\022\014\n\010TAR_GZIP\020\002\022\014\n\010TAR_BZIP\020" - + "\003\022\014\n\010TAR_LZMA\020\004\022\n\n\006TAR_XZ\020\005\022\007\n\003ZIP\020\013\032Q\n\n" - + "InstallMsi\022\030\n\013artifact_id\030\001 \001(\tB\003\340A\002\022\r\n\005" - + "flags\030\002 \003(\t\022\032\n\022allowed_exit_codes\030\003 \003(\005\032" - + "\'\n\013InstallDpkg\022\030\n\013artifact_id\030\001 \001(\tB\003\340A\002" - + "\032&\n\nInstallRpm\022\030\n\013artifact_id\030\001 \001(\tB\003\340A\002" - + "\032r\n\010ExecFile\022\025\n\013artifact_id\030\001 \001(\tH\000\022\024\n\nl" - + "ocal_path\030\002 \001(\tH\000\022\014\n\004args\030\003 \003(\t\022\032\n\022allow" - + "ed_exit_codes\030\004 \003(\005B\017\n\rlocation_type\032\341\001\n" - + "\tRunScript\022\023\n\006script\030\001 \001(\tB\003\340A\002\022\032\n\022allow" - + "ed_exit_codes\030\002 \003(\005\022\\\n\013interpreter\030\003 \001(\016" - + "2G.google.cloud.osconfig.v1beta.Software" - + "Recipe.Step.RunScript.Interpreter\"E\n\013Int" - + "erpreter\022\033\n\027INTERPRETER_UNSPECIFIED\020\000\022\t\n" - + "\005SHELL\020\001\022\016\n\nPOWERSHELL\020\003B\006\n\004step\"\273\001\n\030Cre" - + "ateGuestPolicyRequest\022;\n\006parent\030\001 \001(\tB+\340" - + "A\002\372A%\022#osconfig.googleapis.com/GuestPoli" - + "cy\022\034\n\017guest_policy_id\030\002 \001(\tB\003\340A\002\022D\n\014gues" - + "t_policy\030\003 \001(\0132).google.cloud.osconfig.v" - + "1beta.GuestPolicyB\003\340A\002\"R\n\025GetGuestPolicy" - + "Request\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#osconfig." - + "googleapis.com/GuestPolicy\"~\n\030ListGuestP" - + "oliciesRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#" - + "osconfig.googleapis.com/GuestPolicy\022\021\n\tp" - + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"w\n\031Li" - + "stGuestPoliciesResponse\022A\n\016guest_policie" - + "s\030\001 \003(\0132).google.cloud.osconfig.v1beta.G" - + "uestPolicy\022\027\n\017next_page_token\030\002 \001(\t\"\221\001\n\030" - + "UpdateGuestPolicyRequest\022D\n\014guest_policy" - + "\030\001 \001(\0132).google.cloud.osconfig.v1beta.Gu" - + "estPolicyB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" - + "ogle.protobuf.FieldMask\"U\n\030DeleteGuestPo" - + "licyRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#oscon" - + "fig.googleapis.com/GuestPolicy\"~\n!Lookup" - + "EffectiveGuestPolicyRequest\022\025\n\010instance\030" - + "\001 \001(\tB\003\340A\002\022\025\n\ros_short_name\030\002 \001(\t\022\022\n\nos_" - + "version\030\003 \001(\t\022\027\n\017os_architecture\030\004 \001(\t\"\375" - + "\004\n\024EffectiveGuestPolicy\022S\n\010packages\030\001 \003(" - + "\0132A.google.cloud.osconfig.v1beta.Effecti" - + "veGuestPolicy.SourcedPackage\022i\n\024package_" - + "repositories\030\002 \003(\0132K.google.cloud.osconf" - + "ig.v1beta.EffectiveGuestPolicy.SourcedPa" - + "ckageRepository\022b\n\020software_recipes\030\003 \003(" - + "\0132H.google.cloud.osconfig.v1beta.Effecti" - + "veGuestPolicy.SourcedSoftwareRecipe\032X\n\016S" - + "ourcedPackage\022\016\n\006source\030\001 \001(\t\0226\n\007package" - + "\030\002 \001(\0132%.google.cloud.osconfig.v1beta.Pa" - + "ckage\032w\n\030SourcedPackageRepository\022\016\n\006sou" - + "rce\030\001 \001(\t\022K\n\022package_repository\030\002 \001(\0132/." - + "google.cloud.osconfig.v1beta.PackageRepo" - + "sitory\032n\n\025SourcedSoftwareRecipe\022\016\n\006sourc" - + "e\030\001 \001(\t\022E\n\017software_recipe\030\002 \001(\0132,.googl" - + "e.cloud.osconfig.v1beta.SoftwareRecipe*V" - + "\n\014DesiredState\022\035\n\031DESIRED_STATE_UNSPECIF" - + "IED\020\000\022\r\n\tINSTALLED\020\001\022\013\n\007UPDATED\020\002\022\013\n\007REM" - + "OVED\020\003Bw\n com.google.cloud.osconfig.v1be" - + "taB\rGuestPoliciesZDgoogle.golang.org/gen" - + "proto/googleapis/cloud/osconfig/v1beta;o" - + "sconfigb\006proto3" + "\n1google/cloud/osconfig/v1beta/guest_pol" + + "icies.proto\022\034google.cloud.osconfig.v1bet" + + "a\032\034google/api/annotations.proto\032\037google/" + + "api/field_behavior.proto\032\031google/api/res" + + "ource.proto\032 google/protobuf/field_mask." + + "proto\032\037google/protobuf/timestamp.proto\"\224" + + "\004\n\013GuestPolicy\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\013des" + + "cription\030\002 \001(\t\0224\n\013create_time\030\003 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\003\340A\003\0224\n\013update_t" + + "ime\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340" + + "A\003\022A\n\nassignment\030\006 \001(\0132(.google.cloud.os" + + "config.v1beta.AssignmentB\003\340A\002\0227\n\010package" + + "s\030\007 \003(\0132%.google.cloud.osconfig.v1beta.P" + + "ackage\022M\n\024package_repositories\030\010 \003(\0132/.g" + + "oogle.cloud.osconfig.v1beta.PackageRepos" + + "itory\022=\n\007recipes\030\t \003(\0132,.google.cloud.os" + + "config.v1beta.SoftwareRecipe\022\014\n\004etag\030\n \001" + + "(\t:Y\352AV\n#osconfig.googleapis.com/GuestPo" + + "licy\022/projects/{project}/guestPolicies/{" + + "guest_policy}\"\271\003\n\nAssignment\022I\n\014group_la" + + "bels\030\001 \003(\01323.google.cloud.osconfig.v1bet" + + "a.Assignment.GroupLabel\022\r\n\005zones\030\002 \003(\t\022\021" + + "\n\tinstances\030\003 \003(\t\022\036\n\026instance_name_prefi" + + "xes\030\004 \003(\t\022A\n\010os_types\030\005 \003(\0132/.google.clo" + + "ud.osconfig.v1beta.Assignment.OsType\032\214\001\n" + + "\nGroupLabel\022O\n\006labels\030\001 \003(\0132?.google.clo" + + "ud.osconfig.v1beta.Assignment.GroupLabel" + + ".LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001\032L\n\006OsType\022\025\n\ros_shor" + + "t_name\030\001 \001(\t\022\022\n\nos_version\030\002 \001(\t\022\027\n\017os_a" + + "rchitecture\030\003 \001(\t\"\363\001\n\007Package\022\021\n\004name\030\001 " + + "\001(\tB\003\340A\002\022A\n\rdesired_state\030\002 \001(\0162*.google" + + ".cloud.osconfig.v1beta.DesiredState\022>\n\007m" + + "anager\030\003 \001(\0162-.google.cloud.osconfig.v1b" + + "eta.Package.Manager\"R\n\007Manager\022\027\n\023MANAGE" + + "R_UNSPECIFIED\020\000\022\007\n\003ANY\020\001\022\007\n\003APT\020\002\022\007\n\003YUM" + + "\020\003\022\n\n\006ZYPPER\020\004\022\007\n\003GOO\020\005\"\370\001\n\rAptRepositor" + + "y\022M\n\014archive_type\030\001 \001(\01627.google.cloud.o" + + "sconfig.v1beta.AptRepository.ArchiveType" + + "\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\031\n\014distribution\030\003 \001(\t" + + "B\003\340A\002\022\027\n\ncomponents\030\004 \003(\tB\003\340A\002\022\017\n\007gpg_ke" + + "y\030\005 \001(\t\"A\n\013ArchiveType\022\034\n\030ARCHIVE_TYPE_U" + + "NSPECIFIED\020\000\022\007\n\003DEB\020\001\022\013\n\007DEB_SRC\020\002\"_\n\rYu" + + "mRepository\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014display_" + + "name\030\002 \001(\t\022\025\n\010base_url\030\003 \001(\tB\003\340A\002\022\020\n\010gpg" + + "_keys\030\004 \003(\t\"b\n\020ZypperRepository\022\017\n\002id\030\001 " + + "\001(\tB\003\340A\002\022\024\n\014display_name\030\002 \001(\t\022\025\n\010base_u" + + "rl\030\003 \001(\tB\003\340A\002\022\020\n\010gpg_keys\030\004 \003(\t\"4\n\rGooRe" + + "pository\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003url\030\002 \001(\t" + + "B\003\340A\002\"\227\002\n\021PackageRepository\022:\n\003apt\030\001 \001(\013" + + "2+.google.cloud.osconfig.v1beta.AptRepos" + + "itoryH\000\022:\n\003yum\030\002 \001(\0132+.google.cloud.osco" + + "nfig.v1beta.YumRepositoryH\000\022@\n\006zypper\030\003 " + + "\001(\0132..google.cloud.osconfig.v1beta.Zyppe" + + "rRepositoryH\000\022:\n\003goo\030\004 \001(\0132+.google.clou" + + "d.osconfig.v1beta.GooRepositoryH\000B\014\n\nrep" + + "ository\"\206\021\n\016SoftwareRecipe\022\021\n\004name\030\001 \001(\t" + + "B\003\340A\002\022\017\n\007version\030\002 \001(\t\022H\n\tartifacts\030\003 \003(" + + "\01325.google.cloud.osconfig.v1beta.Softwar" + + "eRecipe.Artifact\022H\n\rinstall_steps\030\004 \003(\0132" + + "1.google.cloud.osconfig.v1beta.SoftwareR" + + "ecipe.Step\022G\n\014update_steps\030\005 \003(\01321.googl" + + "e.cloud.osconfig.v1beta.SoftwareRecipe.S" + + "tep\022A\n\rdesired_state\030\006 \001(\0162*.google.clou" + + "d.osconfig.v1beta.DesiredState\032\275\002\n\010Artif" + + "act\022\017\n\002id\030\001 \001(\tB\003\340A\002\022N\n\006remote\030\002 \001(\0132<.g" + + "oogle.cloud.osconfig.v1beta.SoftwareReci" + + "pe.Artifact.RemoteH\000\022H\n\003gcs\030\003 \001(\01329.goog" + + "le.cloud.osconfig.v1beta.SoftwareRecipe." + + "Artifact.GcsH\000\022\026\n\016allow_insecure\030\004 \001(\010\032\'" + + "\n\006Remote\022\013\n\003uri\030\001 \001(\t\022\020\n\010checksum\030\002 \001(\t\032" + + "9\n\003Gcs\022\016\n\006bucket\030\001 \001(\t\022\016\n\006object\030\002 \001(\t\022\022" + + "\n\ngeneration\030\003 \001(\003B\n\n\010artifact\032\357\013\n\004Step\022" + + "O\n\tfile_copy\030\001 \001(\0132:.google.cloud.osconf" + + "ig.v1beta.SoftwareRecipe.Step.CopyFileH\000" + + "\022^\n\022archive_extraction\030\002 \001(\0132@.google.cl" + + "oud.osconfig.v1beta.SoftwareRecipe.Step." + + "ExtractArchiveH\000\022X\n\020msi_installation\030\003 \001" + + "(\0132<.google.cloud.osconfig.v1beta.Softwa" + + "reRecipe.Step.InstallMsiH\000\022Z\n\021dpkg_insta" + + "llation\030\004 \001(\0132=.google.cloud.osconfig.v1" + + "beta.SoftwareRecipe.Step.InstallDpkgH\000\022X" + + "\n\020rpm_installation\030\005 \001(\0132<.google.cloud." + + "osconfig.v1beta.SoftwareRecipe.Step.Inst" + + "allRpmH\000\022O\n\tfile_exec\030\006 \001(\0132:.google.clo" + + "ud.osconfig.v1beta.SoftwareRecipe.Step.E" + + "xecFileH\000\022Q\n\nscript_run\030\007 \001(\0132;.google.c" + + "loud.osconfig.v1beta.SoftwareRecipe.Step" + + ".RunScriptH\000\032f\n\010CopyFile\022\030\n\013artifact_id\030" + + "\001 \001(\tB\003\340A\002\022\030\n\013destination\030\002 \001(\tB\003\340A\002\022\021\n\t" + + "overwrite\030\003 \001(\010\022\023\n\013permissions\030\004 \001(\t\032\225\002\n" + + "\016ExtractArchive\022\030\n\013artifact_id\030\001 \001(\tB\003\340A" + + "\002\022\023\n\013destination\030\002 \001(\t\022_\n\004type\030\003 \001(\0162L.g" + + "oogle.cloud.osconfig.v1beta.SoftwareReci" + + "pe.Step.ExtractArchive.ArchiveTypeB\003\340A\002\"" + + "s\n\013ArchiveType\022\034\n\030ARCHIVE_TYPE_UNSPECIFI" + + "ED\020\000\022\007\n\003TAR\020\001\022\014\n\010TAR_GZIP\020\002\022\014\n\010TAR_BZIP\020" + + "\003\022\014\n\010TAR_LZMA\020\004\022\n\n\006TAR_XZ\020\005\022\007\n\003ZIP\020\013\032Q\n\n" + + "InstallMsi\022\030\n\013artifact_id\030\001 \001(\tB\003\340A\002\022\r\n\005" + + "flags\030\002 \003(\t\022\032\n\022allowed_exit_codes\030\003 \003(\005\032" + + "\'\n\013InstallDpkg\022\030\n\013artifact_id\030\001 \001(\tB\003\340A\002" + + "\032&\n\nInstallRpm\022\030\n\013artifact_id\030\001 \001(\tB\003\340A\002" + + "\032r\n\010ExecFile\022\025\n\013artifact_id\030\001 \001(\tH\000\022\024\n\nl" + + "ocal_path\030\002 \001(\tH\000\022\014\n\004args\030\003 \003(\t\022\032\n\022allow" + + "ed_exit_codes\030\004 \003(\005B\017\n\rlocation_type\032\341\001\n" + + "\tRunScript\022\023\n\006script\030\001 \001(\tB\003\340A\002\022\032\n\022allow" + + "ed_exit_codes\030\002 \003(\005\022\\\n\013interpreter\030\003 \001(\016" + + "2G.google.cloud.osconfig.v1beta.Software" + + "Recipe.Step.RunScript.Interpreter\"E\n\013Int" + + "erpreter\022\033\n\027INTERPRETER_UNSPECIFIED\020\000\022\t\n" + + "\005SHELL\020\001\022\016\n\nPOWERSHELL\020\003B\006\n\004step\"\273\001\n\030Cre" + + "ateGuestPolicyRequest\022;\n\006parent\030\001 \001(\tB+\340" + + "A\002\372A%\022#osconfig.googleapis.com/GuestPoli" + + "cy\022\034\n\017guest_policy_id\030\002 \001(\tB\003\340A\002\022D\n\014gues" + + "t_policy\030\003 \001(\0132).google.cloud.osconfig.v" + + "1beta.GuestPolicyB\003\340A\002\"R\n\025GetGuestPolicy" + + "Request\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#osconfig." + + "googleapis.com/GuestPolicy\"~\n\030ListGuestP" + + "oliciesRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#" + + "osconfig.googleapis.com/GuestPolicy\022\021\n\tp" + + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"w\n\031Li" + + "stGuestPoliciesResponse\022A\n\016guest_policie" + + "s\030\001 \003(\0132).google.cloud.osconfig.v1beta.G" + + "uestPolicy\022\027\n\017next_page_token\030\002 \001(\t\"\221\001\n\030" + + "UpdateGuestPolicyRequest\022D\n\014guest_policy" + + "\030\001 \001(\0132).google.cloud.osconfig.v1beta.Gu" + + "estPolicyB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" + + "ogle.protobuf.FieldMask\"U\n\030DeleteGuestPo" + + "licyRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#oscon" + + "fig.googleapis.com/GuestPolicy\"~\n!Lookup" + + "EffectiveGuestPolicyRequest\022\025\n\010instance\030" + + "\001 \001(\tB\003\340A\002\022\025\n\ros_short_name\030\002 \001(\t\022\022\n\nos_" + + "version\030\003 \001(\t\022\027\n\017os_architecture\030\004 \001(\t\"\375" + + "\004\n\024EffectiveGuestPolicy\022S\n\010packages\030\001 \003(" + + "\0132A.google.cloud.osconfig.v1beta.Effecti" + + "veGuestPolicy.SourcedPackage\022i\n\024package_" + + "repositories\030\002 \003(\0132K.google.cloud.osconf" + + "ig.v1beta.EffectiveGuestPolicy.SourcedPa" + + "ckageRepository\022b\n\020software_recipes\030\003 \003(" + + "\0132H.google.cloud.osconfig.v1beta.Effecti" + + "veGuestPolicy.SourcedSoftwareRecipe\032X\n\016S" + + "ourcedPackage\022\016\n\006source\030\001 \001(\t\0226\n\007package" + + "\030\002 \001(\0132%.google.cloud.osconfig.v1beta.Pa" + + "ckage\032w\n\030SourcedPackageRepository\022\016\n\006sou" + + "rce\030\001 \001(\t\022K\n\022package_repository\030\002 \001(\0132/." + + "google.cloud.osconfig.v1beta.PackageRepo" + + "sitory\032n\n\025SourcedSoftwareRecipe\022\016\n\006sourc" + + "e\030\001 \001(\t\022E\n\017software_recipe\030\002 \001(\0132,.googl" + + "e.cloud.osconfig.v1beta.SoftwareRecipe*V" + + "\n\014DesiredState\022\035\n\031DESIRED_STATE_UNSPECIF" + + "IED\020\000\022\r\n\tINSTALLED\020\001\022\013\n\007UPDATED\020\002\022\013\n\007REM" + + "OVED\020\003Bw\n com.google.cloud.osconfig.v1be" + + "taB\rGuestPoliciesZDgoogle.golang.org/gen" + + "proto/googleapis/cloud/osconfig/v1beta;o" + + "sconfigb\006proto3" }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1beta_GuestPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor, - new java.lang.String[] { - "Name", - "Description", - "CreateTime", - "UpdateTime", - "Assignment", - "Packages", - "PackageRepositories", - "Recipes", - "Etag", - }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1beta_GuestPolicy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor, + new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "Assignment", "Packages", "PackageRepositories", "Recipes", "Etag", }); internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1beta_Assignment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor, - new java.lang.String[] { - "GroupLabels", "Zones", "Instances", "InstanceNamePrefixes", "OsTypes", - }); + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1beta_Assignment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor, + new java.lang.String[] { "GroupLabels", "Zones", "Instances", "InstanceNamePrefixes", "OsTypes", }); internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor = - internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor, - new java.lang.String[] { - "Labels", - }); + internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor, + new java.lang.String[] { "Labels", }); internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_descriptor = - internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); + internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor = - internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor, - new java.lang.String[] { - "OsShortName", "OsVersion", "OsArchitecture", - }); + internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor, + new java.lang.String[] { "OsShortName", "OsVersion", "OsArchitecture", }); internal_static_google_cloud_osconfig_v1beta_Package_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1beta_Package_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_Package_descriptor, - new java.lang.String[] { - "Name", "DesiredState", "Manager", - }); + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1beta_Package_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_Package_descriptor, + new java.lang.String[] { "Name", "DesiredState", "Manager", }); internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1beta_AptRepository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor, - new java.lang.String[] { - "ArchiveType", "Uri", "Distribution", "Components", "GpgKey", - }); + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1beta_AptRepository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor, + new java.lang.String[] { "ArchiveType", "Uri", "Distribution", "Components", "GpgKey", }); internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_osconfig_v1beta_YumRepository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor, - new java.lang.String[] { - "Id", "DisplayName", "BaseUrl", "GpgKeys", - }); + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_osconfig_v1beta_YumRepository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor, + new java.lang.String[] { "Id", "DisplayName", "BaseUrl", "GpgKeys", }); internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_osconfig_v1beta_ZypperRepository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor, - new java.lang.String[] { - "Id", "DisplayName", "BaseUrl", "GpgKeys", - }); + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_osconfig_v1beta_ZypperRepository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor, + new java.lang.String[] { "Id", "DisplayName", "BaseUrl", "GpgKeys", }); internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_osconfig_v1beta_GooRepository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor, - new java.lang.String[] { - "Name", "Url", - }); + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_osconfig_v1beta_GooRepository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor, + new java.lang.String[] { "Name", "Url", }); internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_osconfig_v1beta_PackageRepository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor, - new java.lang.String[] { - "Apt", "Yum", "Zypper", "Goo", "Repository", - }); + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_osconfig_v1beta_PackageRepository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor, + new java.lang.String[] { "Apt", "Yum", "Zypper", "Goo", "Repository", }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor, - new java.lang.String[] { - "Name", "Version", "Artifacts", "InstallSteps", "UpdateSteps", "DesiredState", - }); + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor, + new java.lang.String[] { "Name", "Version", "Artifacts", "InstallSteps", "UpdateSteps", "DesiredState", }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor, - new java.lang.String[] { - "Id", "Remote", "Gcs", "AllowInsecure", "Artifact", - }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor, + new java.lang.String[] { "Id", "Remote", "Gcs", "AllowInsecure", "Artifact", }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor, - new java.lang.String[] { - "Uri", "Checksum", - }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor, + new java.lang.String[] { "Uri", "Checksum", }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor, - new java.lang.String[] { - "Bucket", "Object", "Generation", - }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor, + new java.lang.String[] { "Bucket", "Object", "Generation", }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor, - new java.lang.String[] { - "FileCopy", - "ArchiveExtraction", - "MsiInstallation", - "DpkgInstallation", - "RpmInstallation", - "FileExec", - "ScriptRun", - "Step", - }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor, + new java.lang.String[] { "FileCopy", "ArchiveExtraction", "MsiInstallation", "DpkgInstallation", "RpmInstallation", "FileExec", "ScriptRun", "Step", }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor, - new java.lang.String[] { - "ArtifactId", "Destination", "Overwrite", "Permissions", - }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor, + new java.lang.String[] { "ArtifactId", "Destination", "Overwrite", "Permissions", }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor, - new java.lang.String[] { - "ArtifactId", "Destination", "Type", - }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor, + new java.lang.String[] { "ArtifactId", "Destination", "Type", }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor, - new java.lang.String[] { - "ArtifactId", "Flags", "AllowedExitCodes", - }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor, + new java.lang.String[] { "ArtifactId", "Flags", "AllowedExitCodes", }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor, - new java.lang.String[] { - "ArtifactId", - }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor, + new java.lang.String[] { "ArtifactId", }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor - .getNestedTypes() - .get(4); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor, - new java.lang.String[] { - "ArtifactId", - }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor, + new java.lang.String[] { "ArtifactId", }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor - .getNestedTypes() - .get(5); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor, - new java.lang.String[] { - "ArtifactId", "LocalPath", "Args", "AllowedExitCodes", "LocationType", - }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor, + new java.lang.String[] { "ArtifactId", "LocalPath", "Args", "AllowedExitCodes", "LocationType", }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor - .getNestedTypes() - .get(6); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor, - new java.lang.String[] { - "Script", "AllowedExitCodes", "Interpreter", - }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor, + new java.lang.String[] { "Script", "AllowedExitCodes", "Interpreter", }); internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor, - new java.lang.String[] { - "Parent", "GuestPolicyId", "GuestPolicy", - }); + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor, + new java.lang.String[] { "Parent", "GuestPolicyId", "GuestPolicy", }); internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor, - new java.lang.String[] { - "Name", - }); + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor, + new java.lang.String[] { "Name", }); internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor, - new java.lang.String[] { - "GuestPolicies", "NextPageToken", - }); + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor, + new java.lang.String[] { "GuestPolicies", "NextPageToken", }); internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor, - new java.lang.String[] { - "GuestPolicy", "UpdateMask", - }); + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor, + new java.lang.String[] { "GuestPolicy", "UpdateMask", }); internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor, - new java.lang.String[] { - "Name", - }); + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor, + new java.lang.String[] { "Name", }); internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor, - new java.lang.String[] { - "Instance", "OsShortName", "OsVersion", "OsArchitecture", - }); + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor, + new java.lang.String[] { "Instance", "OsShortName", "OsVersion", "OsArchitecture", }); internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor, - new java.lang.String[] { - "Packages", "PackageRepositories", "SoftwareRecipes", - }); + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor, + new java.lang.String[] { "Packages", "PackageRepositories", "SoftwareRecipes", }); internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor = - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor, - new java.lang.String[] { - "Source", "Package", - }); + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor, + new java.lang.String[] { "Source", "Package", }); internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor = - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor, - new java.lang.String[] { - "Source", "PackageRepository", - }); + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor, + new java.lang.String[] { "Source", "PackageRepository", }); internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor = - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor, - new java.lang.String[] { - "Source", "SoftwareRecipe", - }); + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor, + new java.lang.String[] { "Source", "SoftwareRecipe", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.ResourceProto.resource); registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); diff --git a/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicyName.java b/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicyName.java similarity index 100% rename from proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicyName.java rename to owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicyName.java diff --git a/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigProto.java b/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigProto.java new file mode 100644 index 00000000..0ef37601 --- /dev/null +++ b/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigProto.java @@ -0,0 +1,156 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/osconfig/v1beta/osconfig_service.proto + +package com.google.cloud.osconfig.v1beta; + +public final class OsConfigProto { + private OsConfigProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + + 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/osconfig/v1beta/osconfig_" + + "service.proto\022\034google.cloud.osconfig.v1b" + + "eta\032\034google/api/annotations.proto\032\027googl" + + "e/api/client.proto\0321google/cloud/osconfi" + + "g/v1beta/guest_policies.proto\0324google/cl" + + "oud/osconfig/v1beta/patch_deployments.pr" + + "oto\032-google/cloud/osconfig/v1beta/patch_" + + "jobs.proto\032\033google/protobuf/empty.proto2" + + "\223\034\n\017OsConfigService\022\251\001\n\017ExecutePatchJob\022" + + "4.google.cloud.osconfig.v1beta.ExecutePa" + + "tchJobRequest\032&.google.cloud.osconfig.v1" + + "beta.PatchJob\"8\202\323\344\223\0022\"-/v1beta/{parent=p" + + "rojects/*}/patchJobs:execute:\001*\022\226\001\n\013GetP" + + "atchJob\0220.google.cloud.osconfig.v1beta.G" + + "etPatchJobRequest\032&.google.cloud.osconfi" + + "g.v1beta.PatchJob\"-\202\323\344\223\002\'\022%/v1beta/{name" + + "=projects/*/patchJobs/*}\022\246\001\n\016CancelPatch" + + "Job\0223.google.cloud.osconfig.v1beta.Cance" + + "lPatchJobRequest\032&.google.cloud.osconfig" + + ".v1beta.PatchJob\"7\202\323\344\223\0021\",/v1beta/{name=" + + "projects/*/patchJobs/*}:cancel:\001*\022\247\001\n\rLi" + + "stPatchJobs\0222.google.cloud.osconfig.v1be" + + "ta.ListPatchJobsRequest\0323.google.cloud.o" + + "sconfig.v1beta.ListPatchJobsResponse\"-\202\323" + + "\344\223\002\'\022%/v1beta/{parent=projects/*}/patchJ" + + "obs\022\354\001\n\033ListPatchJobInstanceDetails\022@.go" + + "ogle.cloud.osconfig.v1beta.ListPatchJobI" + + "nstanceDetailsRequest\032A.google.cloud.osc" + + "onfig.v1beta.ListPatchJobInstanceDetails" + + "Response\"H\202\323\344\223\0029\0227/v1beta/{parent=projec" + + "ts/*/patchJobs/*}/instanceDetails\332A\006pare" + + "nt\022\312\001\n\025CreatePatchDeployment\022:.google.cl" + + "oud.osconfig.v1beta.CreatePatchDeploymen" + + "tRequest\032-.google.cloud.osconfig.v1beta." + + "PatchDeployment\"F\202\323\344\223\002@\",/v1beta/{parent" + + "=projects/*}/patchDeployments:\020patch_dep" + + "loyment\022\262\001\n\022GetPatchDeployment\0227.google." + + "cloud.osconfig.v1beta.GetPatchDeployment" + + "Request\032-.google.cloud.osconfig.v1beta.P" + + "atchDeployment\"4\202\323\344\223\002.\022,/v1beta/{name=pr" + + "ojects/*/patchDeployments/*}\022\303\001\n\024ListPat" + + "chDeployments\0229.google.cloud.osconfig.v1" + + "beta.ListPatchDeploymentsRequest\032:.googl" + + "e.cloud.osconfig.v1beta.ListPatchDeploym" + + "entsResponse\"4\202\323\344\223\002.\022,/v1beta/{parent=pr" + + "ojects/*}/patchDeployments\022\241\001\n\025DeletePat" + + "chDeployment\022:.google.cloud.osconfig.v1b" + + "eta.DeletePatchDeploymentRequest\032\026.googl" + + "e.protobuf.Empty\"4\202\323\344\223\002.*,/v1beta/{name=" + + "projects/*/patchDeployments/*}\022\372\001\n\025Updat" + + "ePatchDeployment\022:.google.cloud.osconfig" + + ".v1beta.UpdatePatchDeploymentRequest\032-.g" + + "oogle.cloud.osconfig.v1beta.PatchDeploym" + + "ent\"v\202\323\344\223\002Q2=/v1beta/{patch_deployment.n" + + "ame=projects/*/patchDeployments/*}:\020patc" + + "h_deployment\332A\034patch_deployment,update_m" + + "ask\022\306\001\n\024PausePatchDeployment\0229.google.cl" + + "oud.osconfig.v1beta.PausePatchDeployment" + + "Request\032-.google.cloud.osconfig.v1beta.P" + + "atchDeployment\"D\202\323\344\223\0027\"2/v1beta/{name=pr" + + "ojects/*/patchDeployments/*}:pause:\001*\332A\004" + + "name\022\311\001\n\025ResumePatchDeployment\022:.google." + + "cloud.osconfig.v1beta.ResumePatchDeploym" + + "entRequest\032-.google.cloud.osconfig.v1bet" + + "a.PatchDeployment\"E\202\323\344\223\0028\"3/v1beta/{name" + + "=projects/*/patchDeployments/*}:resume:\001" + + "*\332A\004name\022\316\001\n\021CreateGuestPolicy\0226.google." + + "cloud.osconfig.v1beta.CreateGuestPolicyR" + + "equest\032).google.cloud.osconfig.v1beta.Gu" + + "estPolicy\"V\202\323\344\223\0029\")/v1beta/{parent=proje" + + "cts/*}/guestPolicies:\014guest_policy\332A\024par" + + "ent, guest_policy\022\252\001\n\016GetGuestPolicy\0223.g" + + "oogle.cloud.osconfig.v1beta.GetGuestPoli" + + "cyRequest\032).google.cloud.osconfig.v1beta" + + ".GuestPolicy\"8\202\323\344\223\002+\022)/v1beta/{name=proj" + + "ects/*/guestPolicies/*}\332A\004name\022\300\001\n\021ListG" + + "uestPolicies\0226.google.cloud.osconfig.v1b" + + "eta.ListGuestPoliciesRequest\0327.google.cl" + + "oud.osconfig.v1beta.ListGuestPoliciesRes" + + "ponse\":\202\323\344\223\002+\022)/v1beta/{parent=projects/" + + "*}/guestPolicies\332A\006parent\022\337\001\n\021UpdateGues" + + "tPolicy\0226.google.cloud.osconfig.v1beta.U" + + "pdateGuestPolicyRequest\032).google.cloud.o" + + "sconfig.v1beta.GuestPolicy\"g\202\323\344\223\002F26/v1b" + + "eta/{guest_policy.name=projects/*/guestP" + + "olicies/*}:\014guest_policy\332A\030guest_policy," + + "update_mask\022\235\001\n\021DeleteGuestPolicy\0226.goog" + + "le.cloud.osconfig.v1beta.DeleteGuestPoli" + + "cyRequest\032\026.google.protobuf.Empty\"8\202\323\344\223\002" + + "+*)/v1beta/{name=projects/*/guestPolicie" + + "s/*}\332A\004name\022\352\001\n\032LookupEffectiveGuestPoli" + + "cy\022?.google.cloud.osconfig.v1beta.Lookup" + + "EffectiveGuestPolicyRequest\0322.google.clo" + + "ud.osconfig.v1beta.EffectiveGuestPolicy\"" + + "W\202\323\344\223\002Q\"L/v1beta/{instance=projects/*/zo" + + "nes/*/instances/*}:lookupEffectiveGuestP" + + "olicy:\001*\032K\312A\027osconfig.googleapis.com\322A.h" + + "ttps://www.googleapis.com/auth/cloud-pla" + + "tformBw\n com.google.cloud.osconfig.v1bet" + + "aB\rOsConfigProtoZDgoogle.golang.org/genp" + + "roto/googleapis/cloud/osconfig/v1beta;os" + + "configb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.cloud.osconfig.v1beta.GuestPolicies.getDescriptor(), + com.google.cloud.osconfig.v1beta.PatchDeployments.getDescriptor(), + com.google.cloud.osconfig.v1beta.PatchJobs.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.cloud.osconfig.v1beta.GuestPolicies.getDescriptor(); + com.google.cloud.osconfig.v1beta.PatchDeployments.getDescriptor(); + com.google.cloud.osconfig.v1beta.PatchJobs.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeploymentName.java b/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeploymentName.java similarity index 100% rename from proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeploymentName.java rename to owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeploymentName.java diff --git a/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeployments.java b/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeployments.java similarity index 63% rename from proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeployments.java rename to owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeployments.java index ff5587c2..1c69fe70 100644 --- a/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeployments.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeployments.java @@ -1,18 +1,3 @@ -/* - * 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/osconfig/v1beta/patch_deployments.proto @@ -20,21 +5,20 @@ public final class PatchDeployments { private PatchDeployments() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { } - public interface PatchDeploymentOrBuilder - extends + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface PatchDeploymentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PatchDeployment) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Unique name for the patch deployment resource in a project. The patch
      * deployment name is in the form:
@@ -43,13 +27,10 @@ public interface PatchDeploymentOrBuilder
      * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Unique name for the patch deployment resource in a project. The patch
      * deployment name is in the form:
@@ -58,454 +39,310 @@ public interface PatchDeploymentOrBuilder
      * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Optional. Description of the patch deployment. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * Optional. Description of the patch deployment. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * Required. VM instances to patch.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceFilter field is set. */ boolean hasInstanceFilter(); /** - * - * *
      * Required. VM instances to patch.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceFilter. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanceFilter(); /** - * - * *
      * Required. VM instances to patch.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder - getInstanceFilterOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder(); /** - * - * *
      * Optional. Patch configuration that is applied.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the patchConfig field is set. */ boolean hasPatchConfig(); /** - * - * *
      * Optional. Patch configuration that is applied.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The patchConfig. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig(); /** - * - * *
      * Optional. Patch configuration that is applied.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder(); /** - * - * *
      * Optional. Duration of the patch. After the duration ends, the patch times out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the duration field is set. */ boolean hasDuration(); /** - * - * *
      * Optional. Duration of the patch. After the duration ends, the patch times out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The duration. */ com.google.protobuf.Duration getDuration(); /** - * - * *
      * Optional. Duration of the patch. After the duration ends, the patch times out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); /** - * - * *
      * Required. Schedule a one-time execution.
      * 
* - * - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the oneTimeSchedule field is set. */ boolean hasOneTimeSchedule(); /** - * - * *
      * Required. Schedule a one-time execution.
      * 
* - * - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The oneTimeSchedule. */ com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule getOneTimeSchedule(); /** - * - * *
      * Required. Schedule a one-time execution.
      * 
* - * - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder - getOneTimeScheduleOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder getOneTimeScheduleOrBuilder(); /** - * - * *
      * Required. Schedule recurring executions.
      * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the recurringSchedule field is set. */ boolean hasRecurringSchedule(); /** - * - * *
      * Required. Schedule recurring executions.
      * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The recurringSchedule. */ com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule getRecurringSchedule(); /** - * - * *
      * Required. Schedule recurring executions.
      * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder - getRecurringScheduleOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder getRecurringScheduleOrBuilder(); /** - * - * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastExecuteTime field is set. */ boolean hasLastExecuteTime(); /** - * - * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastExecuteTime. */ com.google.protobuf.Timestamp getLastExecuteTime(); /** - * - * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder(); /** - * - * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the rollout field is set. */ boolean hasRollout(); /** - * - * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The rollout. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getRollout(); /** - * - * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder(); /** - * - * *
      * Output only. Current state of the patch deployment.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
      * Output only. Current state of the patch deployment.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State getState(); - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.ScheduleCase - getScheduleCase(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.ScheduleCase getScheduleCase(); } /** - * - * *
    * Patch deployments are configurations that individual patch jobs use to
    * complete a patch. These configurations include instance filter, package
@@ -516,16 +353,15 @@ public interface PatchDeploymentOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.PatchDeployment}
    */
-  public static final class PatchDeployment extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PatchDeployment extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PatchDeployment)
       PatchDeploymentOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PatchDeployment.newBuilder() to construct.
     private PatchDeployment(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PatchDeployment() {
       name_ = "";
       description_ = "";
@@ -534,15 +370,16 @@ private PatchDeployment() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PatchDeployment();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PatchDeployment(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -561,193 +398,150 @@ private PatchDeployment(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              name_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              description_ = s;
+              break;
+            }
+            case 26: {
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder subBuilder = null;
+              if (instanceFilter_ != null) {
+                subBuilder = instanceFilter_.toBuilder();
+              }
+              instanceFilter_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(instanceFilter_);
+                instanceFilter_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+            case 34: {
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder subBuilder = null;
+              if (patchConfig_ != null) {
+                subBuilder = patchConfig_.toBuilder();
+              }
+              patchConfig_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(patchConfig_);
+                patchConfig_ = subBuilder.buildPartial();
+              }
 
-                name_ = s;
-                break;
+              break;
+            }
+            case 42: {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (duration_ != null) {
+                subBuilder = duration_.toBuilder();
+              }
+              duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(duration_);
+                duration_ = subBuilder.buildPartial();
               }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
 
-                description_ = s;
-                break;
+              break;
+            }
+            case 50: {
+              com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder subBuilder = null;
+              if (scheduleCase_ == 6) {
+                subBuilder = ((com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_).toBuilder();
               }
-            case 26:
-              {
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder subBuilder =
-                    null;
-                if (instanceFilter_ != null) {
-                  subBuilder = instanceFilter_.toBuilder();
-                }
-                instanceFilter_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(instanceFilter_);
-                  instanceFilter_ = subBuilder.buildPartial();
-                }
-
-                break;
+              schedule_ =
+                  input.readMessage(com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_);
+                schedule_ = subBuilder.buildPartial();
               }
-            case 34:
-              {
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder subBuilder = null;
-                if (patchConfig_ != null) {
-                  subBuilder = patchConfig_.toBuilder();
-                }
-                patchConfig_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(patchConfig_);
-                  patchConfig_ = subBuilder.buildPartial();
-                }
-
-                break;
+              scheduleCase_ = 6;
+              break;
+            }
+            case 58: {
+              com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder subBuilder = null;
+              if (scheduleCase_ == 7) {
+                subBuilder = ((com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_).toBuilder();
               }
-            case 42:
-              {
-                com.google.protobuf.Duration.Builder subBuilder = null;
-                if (duration_ != null) {
-                  subBuilder = duration_.toBuilder();
-                }
-                duration_ =
-                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(duration_);
-                  duration_ = subBuilder.buildPartial();
-                }
-
-                break;
+              schedule_ =
+                  input.readMessage(com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_);
+                schedule_ = subBuilder.buildPartial();
               }
-            case 50:
-              {
-                com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder
-                    subBuilder = null;
-                if (scheduleCase_ == 6) {
-                  subBuilder =
-                      ((com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule)
-                              schedule_)
-                          .toBuilder();
-                }
-                schedule_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule)
-                          schedule_);
-                  schedule_ = subBuilder.buildPartial();
-                }
-                scheduleCase_ = 6;
-                break;
+              scheduleCase_ = 7;
+              break;
+            }
+            case 66: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
               }
-            case 58:
-              {
-                com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder
-                    subBuilder = null;
-                if (scheduleCase_ == 7) {
-                  subBuilder =
-                      ((com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule)
-                              schedule_)
-                          .toBuilder();
-                }
-                schedule_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule
-                            .parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule)
-                          schedule_);
-                  schedule_ = subBuilder.buildPartial();
-                }
-                scheduleCase_ = 7;
-                break;
+              createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
               }
-            case 66:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (createTime_ != null) {
-                  subBuilder = createTime_.toBuilder();
-                }
-                createTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(createTime_);
-                  createTime_ = subBuilder.buildPartial();
-                }
-
-                break;
+
+              break;
+            }
+            case 74: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
               }
-            case 74:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (updateTime_ != null) {
-                  subBuilder = updateTime_.toBuilder();
-                }
-                updateTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(updateTime_);
-                  updateTime_ = subBuilder.buildPartial();
-                }
-
-                break;
+              updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
               }
-            case 82:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (lastExecuteTime_ != null) {
-                  subBuilder = lastExecuteTime_.toBuilder();
-                }
-                lastExecuteTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(lastExecuteTime_);
-                  lastExecuteTime_ = subBuilder.buildPartial();
-                }
-
-                break;
+
+              break;
+            }
+            case 82: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (lastExecuteTime_ != null) {
+                subBuilder = lastExecuteTime_.toBuilder();
               }
-            case 90:
-              {
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder subBuilder = null;
-                if (rollout_ != null) {
-                  subBuilder = rollout_.toBuilder();
-                }
-                rollout_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(rollout_);
-                  rollout_ = subBuilder.buildPartial();
-                }
-
-                break;
+              lastExecuteTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(lastExecuteTime_);
+                lastExecuteTime_ = subBuilder.buildPartial();
               }
-            case 96:
-              {
-                int rawValue = input.readEnum();
 
-                state_ = rawValue;
-                break;
+              break;
+            }
+            case 90: {
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder subBuilder = null;
+              if (rollout_ != null) {
+                subBuilder = rollout_.toBuilder();
+              }
+              rollout_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rollout_);
+                rollout_ = subBuilder.buildPartial();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+
+              break;
+            }
+            case 96: {
+              int rawValue = input.readEnum();
+
+              state_ = rawValue;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -755,41 +549,36 @@ private PatchDeployment(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchDeployments
-          .internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchDeployments
-          .internal_static_google_cloud_osconfig_v1beta_PatchDeployment_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PatchDeployment_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class,
-              com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * Represents state of patch peployment.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.PatchDeployment.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * The default value. This value is used if the state is omitted.
        * 
@@ -798,8 +587,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
        * Active value means that patch deployment generates Patch Jobs.
        * 
@@ -808,8 +595,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(1), /** - * - * *
        * Paused value means that patch deployment does not generate
        * Patch jobs. Requires user action to move in and out from this state.
@@ -822,8 +607,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * The default value. This value is used if the state is omitted.
        * 
@@ -832,8 +615,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Active value means that patch deployment generates Patch Jobs.
        * 
@@ -842,8 +623,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 1; /** - * - * *
        * Paused value means that patch deployment does not generate
        * Patch jobs. Requires user action to move in and out from this state.
@@ -853,6 +632,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int PAUSED_VALUE = 2;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -877,51 +657,49 @@ public static State valueOf(int value) {
        */
       public static State forNumber(int value) {
         switch (value) {
-          case 0:
-            return STATE_UNSPECIFIED;
-          case 1:
-            return ACTIVE;
-          case 2:
-            return PAUSED;
-          default:
-            return null;
+          case 0: return STATE_UNSPECIFIED;
+          case 1: return ACTIVE;
+          case 2: return PAUSED;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          State> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public State findValueByNumber(int number) {
+                return State.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final State[] VALUES = values();
 
-      public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static State valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -940,16 +718,13 @@ private State(int value) {
 
     private int scheduleCase_ = 0;
     private java.lang.Object schedule_;
-
     public enum ScheduleCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       ONE_TIME_SCHEDULE(6),
       RECURRING_SCHEDULE(7),
       SCHEDULE_NOT_SET(0);
       private final int value;
-
       private ScheduleCase(int value) {
         this.value = value;
       }
@@ -965,31 +740,26 @@ public static ScheduleCase valueOf(int value) {
 
       public static ScheduleCase forNumber(int value) {
         switch (value) {
-          case 6:
-            return ONE_TIME_SCHEDULE;
-          case 7:
-            return RECURRING_SCHEDULE;
-          case 0:
-            return SCHEDULE_NOT_SET;
-          default:
-            return null;
+          case 6: return ONE_TIME_SCHEDULE;
+          case 7: return RECURRING_SCHEDULE;
+          case 0: return SCHEDULE_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ScheduleCase getScheduleCase() {
-      return ScheduleCase.forNumber(scheduleCase_);
+    public ScheduleCase
+    getScheduleCase() {
+      return ScheduleCase.forNumber(
+          scheduleCase_);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object name_;
     /**
-     *
-     *
      * 
      * Unique name for the patch deployment resource in a project. The patch
      * deployment name is in the form:
@@ -998,7 +768,6 @@ public ScheduleCase getScheduleCase() {
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1007,15 +776,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Unique name for the patch deployment resource in a project. The patch
      * deployment name is in the form:
@@ -1024,15 +792,16 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1043,15 +812,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
      * Optional. Description of the patch deployment. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -1060,30 +826,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * Optional. Description of the patch deployment. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1094,16 +860,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int INSTANCE_FILTER_FIELD_NUMBER = 3; private com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter instanceFilter_; /** - * - * *
      * Required. VM instances to patch.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceFilter field is set. */ @java.lang.Override @@ -1111,54 +872,37 @@ public boolean hasInstanceFilter() { return instanceFilter_ != null; } /** - * - * *
      * Required. VM instances to patch.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceFilter. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanceFilter() { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; } /** - * - * *
      * Required. VM instances to patch.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder - getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { return getInstanceFilter(); } public static final int PATCH_CONFIG_FIELD_NUMBER = 4; private com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig patchConfig_; /** - * - * *
      * Optional. Patch configuration that is applied.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the patchConfig field is set. */ @java.lang.Override @@ -1166,53 +910,37 @@ public boolean hasPatchConfig() { return patchConfig_ != null; } /** - * - * *
      * Optional. Patch configuration that is applied.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The patchConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig() { - return patchConfig_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() - : patchConfig_; + return patchConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; } /** - * - * *
      * Optional. Patch configuration that is applied.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder - getPatchConfigOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder() { return getPatchConfig(); } public static final int DURATION_FIELD_NUMBER = 5; private com.google.protobuf.Duration duration_; /** - * - * *
      * Optional. Duration of the patch. After the duration ends, the patch times out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the duration field is set. */ @java.lang.Override @@ -1220,15 +948,11 @@ public boolean hasDuration() { return duration_ != null; } /** - * - * *
      * Optional. Duration of the patch. After the duration ends, the patch times out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The duration. */ @java.lang.Override @@ -1236,14 +960,11 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** - * - * *
      * Optional. Duration of the patch. After the duration ends, the patch times out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { @@ -1252,16 +973,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { public static final int ONE_TIME_SCHEDULE_FIELD_NUMBER = 6; /** - * - * *
      * Required. Schedule a one-time execution.
      * 
* - * - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the oneTimeSchedule field is set. */ @java.lang.Override @@ -1269,57 +985,42 @@ public boolean hasOneTimeSchedule() { return scheduleCase_ == 6; } /** - * - * *
      * Required. Schedule a one-time execution.
      * 
* - * - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The oneTimeSchedule. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule getOneTimeSchedule() { if (scheduleCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_; } return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.getDefaultInstance(); } /** - * - * *
      * Required. Schedule a one-time execution.
      * 
* - * - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder - getOneTimeScheduleOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder getOneTimeScheduleOrBuilder() { if (scheduleCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_; } return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.getDefaultInstance(); } public static final int RECURRING_SCHEDULE_FIELD_NUMBER = 7; /** - * - * *
      * Required. Schedule recurring executions.
      * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the recurringSchedule field is set. */ @java.lang.Override @@ -1327,62 +1028,44 @@ public boolean hasRecurringSchedule() { return scheduleCase_ == 7; } /** - * - * *
      * Required. Schedule recurring executions.
      * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The recurringSchedule. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule - getRecurringSchedule() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule getRecurringSchedule() { if (scheduleCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDefaultInstance(); } /** - * - * *
      * Required. Schedule recurring executions.
      * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder - getRecurringScheduleOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder getRecurringScheduleOrBuilder() { if (scheduleCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDefaultInstance(); } public static final int CREATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp createTime_; /** - * - * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -1390,17 +1073,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -1408,16 +1086,12 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1427,17 +1101,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1445,17 +1114,12 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -1463,16 +1127,12 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1482,18 +1142,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int LAST_EXECUTE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp lastExecuteTime_; /** - * - * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastExecuteTime field is set. */ @java.lang.Override @@ -1501,38 +1156,27 @@ public boolean hasLastExecuteTime() { return lastExecuteTime_ != null; } /** - * - * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastExecuteTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastExecuteTime() { - return lastExecuteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastExecuteTime_; + return lastExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; } /** - * - * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { @@ -1542,16 +1186,11 @@ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { public static final int ROLLOUT_FIELD_NUMBER = 11; private com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout rollout_; /** - * - * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the rollout field is set. */ @java.lang.Override @@ -1559,34 +1198,23 @@ public boolean hasRollout() { return rollout_ != null; } /** - * - * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The rollout. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getRollout() { - return rollout_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; } /** - * - * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder() { @@ -1596,47 +1224,31 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRollo public static final int STATE_FIELD_NUMBER = 12; private int state_; /** - * - * *
      * Output only. Current state of the patch deployment.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. Current state of the patch deployment.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State getState() { + @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State result = - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.valueOf(state_); - return result == null - ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State result = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1648,7 +1260,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -1665,12 +1278,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(5, getDuration()); } if (scheduleCase_ == 6) { - output.writeMessage( - 6, (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_); + output.writeMessage(6, (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_); } if (scheduleCase_ == 7) { - output.writeMessage( - 7, (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_); + output.writeMessage(7, (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_); } if (createTime_ != null) { output.writeMessage(8, getCreateTime()); @@ -1684,10 +1295,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (rollout_ != null) { output.writeMessage(11, getRollout()); } - if (state_ - != com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State - .STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(12, state_); } unknownFields.writeTo(output); @@ -1706,41 +1314,44 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (instanceFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstanceFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInstanceFilter()); } if (patchConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPatchConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getPatchConfig()); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getDuration()); } if (scheduleCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_); } if (scheduleCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getUpdateTime()); } if (lastExecuteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getLastExecuteTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getLastExecuteTime()); } if (rollout_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getRollout()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getRollout()); } - if (state_ - != com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State - .STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, state_); + if (state_ != com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(12, state_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1750,52 +1361,62 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment other = - (com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment other = (com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (hasInstanceFilter() != other.hasInstanceFilter()) return false; if (hasInstanceFilter()) { - if (!getInstanceFilter().equals(other.getInstanceFilter())) return false; + if (!getInstanceFilter() + .equals(other.getInstanceFilter())) return false; } if (hasPatchConfig() != other.hasPatchConfig()) return false; if (hasPatchConfig()) { - if (!getPatchConfig().equals(other.getPatchConfig())) return false; + if (!getPatchConfig() + .equals(other.getPatchConfig())) return false; } if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration().equals(other.getDuration())) return false; + if (!getDuration() + .equals(other.getDuration())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (hasLastExecuteTime() != other.hasLastExecuteTime()) return false; if (hasLastExecuteTime()) { - if (!getLastExecuteTime().equals(other.getLastExecuteTime())) return false; + if (!getLastExecuteTime() + .equals(other.getLastExecuteTime())) return false; } if (hasRollout() != other.hasRollout()) return false; if (hasRollout()) { - if (!getRollout().equals(other.getRollout())) return false; + if (!getRollout() + .equals(other.getRollout())) return false; } if (state_ != other.state_) return false; if (!getScheduleCase().equals(other.getScheduleCase())) return false; switch (scheduleCase_) { case 6: - if (!getOneTimeSchedule().equals(other.getOneTimeSchedule())) return false; + if (!getOneTimeSchedule() + .equals(other.getOneTimeSchedule())) return false; break; case 7: - if (!getRecurringSchedule().equals(other.getRecurringSchedule())) return false; + if (!getRecurringSchedule() + .equals(other.getRecurringSchedule())) return false; break; case 0: default: @@ -1863,95 +1484,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment 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.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment - 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.osconfig.v1beta.PatchDeployments.PatchDeployment 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.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1961,8 +1574,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Patch deployments are configurations that individual patch jobs use to
      * complete a patch. These configurations include instance filter, package
@@ -1973,41 +1584,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.PatchDeployment}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PatchDeployment)
         com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments
-            .internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments
-            .internal_static_google_cloud_osconfig_v1beta_PatchDeployment_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PatchDeployment_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class,
-                com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.newBuilder()
+      // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2065,16 +1673,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments
-            .internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment
-          getDefaultInstanceForType() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment
-            .getDefaultInstance();
+      public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getDefaultInstanceForType() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -2088,8 +1694,7 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment build()
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment result =
-            new com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment(this);
+        com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment result = new com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment(this);
         result.name_ = name_;
         result.description_ = description_;
         if (instanceFilterBuilder_ == null) {
@@ -2151,53 +1756,46 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment buildPa
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchDeployments.PatchDeployment) {
-          return mergeFrom(
-              (com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment other) {
-        if (other
-            == com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment other) {
+        if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance()) return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -2231,20 +1829,17 @@ public Builder mergeFrom(
           setStateValue(other.getStateValue());
         }
         switch (other.getScheduleCase()) {
-          case ONE_TIME_SCHEDULE:
-            {
-              mergeOneTimeSchedule(other.getOneTimeSchedule());
-              break;
-            }
-          case RECURRING_SCHEDULE:
-            {
-              mergeRecurringSchedule(other.getRecurringSchedule());
-              break;
-            }
-          case SCHEDULE_NOT_SET:
-            {
-              break;
-            }
+          case ONE_TIME_SCHEDULE: {
+            mergeOneTimeSchedule(other.getOneTimeSchedule());
+            break;
+          }
+          case RECURRING_SCHEDULE: {
+            mergeRecurringSchedule(other.getRecurringSchedule());
+            break;
+          }
+          case SCHEDULE_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -2265,9 +1860,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2276,12 +1869,12 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int scheduleCase_ = 0;
       private java.lang.Object schedule_;
-
-      public ScheduleCase getScheduleCase() {
-        return ScheduleCase.forNumber(scheduleCase_);
+      public ScheduleCase
+          getScheduleCase() {
+        return ScheduleCase.forNumber(
+            scheduleCase_);
       }
 
       public Builder clearSchedule() {
@@ -2291,10 +1884,9 @@ public Builder clearSchedule() {
         return this;
       }
 
+
       private java.lang.Object name_ = "";
       /**
-       *
-       *
        * 
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -2303,13 +1895,13 @@ public Builder clearSchedule() {
        * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2318,8 +1910,6 @@ public java.lang.String getName() { } } /** - * - * *
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -2328,14 +1918,15 @@ public java.lang.String getName() {
        * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2343,8 +1934,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -2353,22 +1942,20 @@ public com.google.protobuf.ByteString getNameBytes() {
        * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -2377,18 +1964,15 @@ public Builder setName(java.lang.String value) {
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -2397,16 +1981,16 @@ public Builder clearName() {
        * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2414,21 +1998,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
        * Optional. Description of the patch deployment. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2437,22 +2019,21 @@ public java.lang.String getDescription() { } } /** - * - * *
        * Optional. Description of the patch deployment. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2460,64 +2041,57 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * Optional. Description of the patch deployment. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
        * Optional. Description of the patch deployment. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
        * Optional. Description of the patch deployment. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2525,61 +2099,41 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter instanceFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> - instanceFilterBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> instanceFilterBuilder_; /** - * - * *
        * Required. VM instances to patch.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceFilter field is set. */ public boolean hasInstanceFilter() { return instanceFilterBuilder_ != null || instanceFilter_ != null; } /** - * - * *
        * Required. VM instances to patch.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceFilter. */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanceFilter() { if (instanceFilterBuilder_ == null) { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; } else { return instanceFilterBuilder_.getMessage(); } } /** - * - * *
        * Required. VM instances to patch.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstanceFilter( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { + public Builder setInstanceFilter(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2593,15 +2147,11 @@ public Builder setInstanceFilter( return this; } /** - * - * *
        * Required. VM instances to patch.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstanceFilter( com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder builderForValue) { @@ -2615,25 +2165,17 @@ public Builder setInstanceFilter( return this; } /** - * - * *
        * Required. VM instances to patch.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeInstanceFilter( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { + public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (instanceFilter_ != null) { instanceFilter_ = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.newBuilder( - instanceFilter_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.newBuilder(instanceFilter_).mergeFrom(value).buildPartial(); } else { instanceFilter_ = value; } @@ -2645,15 +2187,11 @@ public Builder mergeInstanceFilter( return this; } /** - * - * *
        * Required. VM instances to patch.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstanceFilter() { if (instanceFilterBuilder_ == null) { @@ -2667,66 +2205,48 @@ public Builder clearInstanceFilter() { return this; } /** - * - * *
        * Required. VM instances to patch.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder - getInstanceFilterBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder() { + onChanged(); return getInstanceFilterFieldBuilder().getBuilder(); } /** - * - * *
        * Required. VM instances to patch.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder - getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { if (instanceFilterBuilder_ != null) { return instanceFilterBuilder_.getMessageOrBuilder(); } else { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; } } /** - * - * *
        * Required. VM instances to patch.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> getInstanceFilterFieldBuilder() { if (instanceFilterBuilder_ == null) { - instanceFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder>( - getInstanceFilter(), getParentForChildren(), isClean()); + instanceFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder>( + getInstanceFilter(), + getParentForChildren(), + isClean()); instanceFilter_ = null; } return instanceFilterBuilder_; @@ -2734,58 +2254,39 @@ public Builder clearInstanceFilter() { private com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig patchConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> - patchConfigBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> patchConfigBuilder_; /** - * - * *
        * Optional. Patch configuration that is applied.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the patchConfig field is set. */ public boolean hasPatchConfig() { return patchConfigBuilder_ != null || patchConfig_ != null; } /** - * - * *
        * Optional. Patch configuration that is applied.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The patchConfig. */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig() { if (patchConfigBuilder_ == null) { - return patchConfig_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() - : patchConfig_; + return patchConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; } else { return patchConfigBuilder_.getMessage(); } } /** - * - * *
        * Optional. Patch configuration that is applied.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setPatchConfig(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig value) { if (patchConfigBuilder_ == null) { @@ -2801,15 +2302,11 @@ public Builder setPatchConfig(com.google.cloud.osconfig.v1beta.PatchJobs.PatchCo return this; } /** - * - * *
        * Optional. Patch configuration that is applied.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setPatchConfig( com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder builderForValue) { @@ -2823,24 +2320,17 @@ public Builder setPatchConfig( return this; } /** - * - * *
        * Optional. Patch configuration that is applied.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergePatchConfig( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig value) { + public Builder mergePatchConfig(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig value) { if (patchConfigBuilder_ == null) { if (patchConfig_ != null) { patchConfig_ = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.newBuilder(patchConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.newBuilder(patchConfig_).mergeFrom(value).buildPartial(); } else { patchConfig_ = value; } @@ -2852,15 +2342,11 @@ public Builder mergePatchConfig( return this; } /** - * - * *
        * Optional. Patch configuration that is applied.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearPatchConfig() { if (patchConfigBuilder_ == null) { @@ -2874,66 +2360,48 @@ public Builder clearPatchConfig() { return this; } /** - * - * *
        * Optional. Patch configuration that is applied.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder - getPatchConfigBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder getPatchConfigBuilder() { + onChanged(); return getPatchConfigFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. Patch configuration that is applied.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder - getPatchConfigOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder() { if (patchConfigBuilder_ != null) { return patchConfigBuilder_.getMessageOrBuilder(); } else { - return patchConfig_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() - : patchConfig_; + return patchConfig_ == null ? + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; } } /** - * - * *
        * Optional. Patch configuration that is applied.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> getPatchConfigFieldBuilder() { if (patchConfigBuilder_ == null) { - patchConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder>( - getPatchConfig(), getParentForChildren(), isClean()); + patchConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder>( + getPatchConfig(), + getParentForChildren(), + isClean()); patchConfig_ = null; } return patchConfigBuilder_; @@ -2941,35 +2409,24 @@ public Builder clearPatchConfig() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - durationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; /** - * - * *
        * Optional. Duration of the patch. After the duration ends, the patch times out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** - * - * *
        * Optional. Duration of the patch. After the duration ends, the patch times out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -2980,14 +2437,11 @@ public com.google.protobuf.Duration getDuration() { } } /** - * - * *
        * Optional. Duration of the patch. After the duration ends, the patch times out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { @@ -3003,16 +2457,14 @@ public Builder setDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Optional. Duration of the patch. After the duration ends, the patch times out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (durationBuilder_ == null) { duration_ = builderForValue.build(); onChanged(); @@ -3023,20 +2475,17 @@ public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) return this; } /** - * - * *
        * Optional. Duration of the patch. After the duration ends, the patch times out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { if (duration_ != null) { duration_ = - com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); } else { duration_ = value; } @@ -3048,14 +2497,11 @@ public Builder mergeDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Optional. Duration of the patch. After the duration ends, the patch times out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearDuration() { if (durationBuilder_ == null) { @@ -3069,80 +2515,61 @@ public Builder clearDuration() { return this; } /** - * - * *
        * Optional. Duration of the patch. After the duration ends, the patch times out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Duration.Builder getDurationBuilder() { - + onChanged(); return getDurationFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. Duration of the patch. After the duration ends, the patch times out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { if (durationBuilder_ != null) { return durationBuilder_.getMessageOrBuilder(); } else { - return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; + return duration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : duration_; } } /** - * - * *
        * Optional. Duration of the patch. After the duration ends, the patch times out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getDurationFieldBuilder() { if (durationBuilder_ == null) { - durationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getDuration(), getParentForChildren(), isClean()); + durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getDuration(), + getParentForChildren(), + isClean()); duration_ = null; } return durationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule, - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder> - oneTimeScheduleBuilder_; + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder> oneTimeScheduleBuilder_; /** - * - * *
        * Required. Schedule a one-time execution.
        * 
* - * - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the oneTimeSchedule field is set. */ @java.lang.Override @@ -3150,48 +2577,35 @@ public boolean hasOneTimeSchedule() { return scheduleCase_ == 6; } /** - * - * *
        * Required. Schedule a one-time execution.
        * 
* - * - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The oneTimeSchedule. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule - getOneTimeSchedule() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule getOneTimeSchedule() { if (oneTimeScheduleBuilder_ == null) { if (scheduleCase_ == 6) { return (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.getDefaultInstance(); } else { if (scheduleCase_ == 6) { return oneTimeScheduleBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.getDefaultInstance(); } } /** - * - * *
        * Required. Schedule a one-time execution.
        * 
* - * - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setOneTimeSchedule( - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule value) { + public Builder setOneTimeSchedule(com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule value) { if (oneTimeScheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3205,19 +2619,14 @@ public Builder setOneTimeSchedule( return this; } /** - * - * *
        * Required. Schedule a one-time execution.
        * 
* - * - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOneTimeSchedule( - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder builderForValue) { if (oneTimeScheduleBuilder_ == null) { schedule_ = builderForValue.build(); onChanged(); @@ -3228,29 +2637,18 @@ public Builder setOneTimeSchedule( return this; } /** - * - * *
        * Required. Schedule a one-time execution.
        * 
* - * - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeOneTimeSchedule( - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule value) { + public Builder mergeOneTimeSchedule(com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule value) { if (oneTimeScheduleBuilder_ == null) { - if (scheduleCase_ == 6 - && schedule_ - != com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule - .getDefaultInstance()) { - schedule_ = - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.newBuilder( - (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) - schedule_) - .mergeFrom(value) - .buildPartial(); + if (scheduleCase_ == 6 && + schedule_ != com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.getDefaultInstance()) { + schedule_ = com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.newBuilder((com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_) + .mergeFrom(value).buildPartial(); } else { schedule_ = value; } @@ -3266,15 +2664,11 @@ public Builder mergeOneTimeSchedule( return this; } /** - * - * *
        * Required. Schedule a one-time execution.
        * 
* - * - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOneTimeSchedule() { if (oneTimeScheduleBuilder_ == null) { @@ -3293,98 +2687,67 @@ public Builder clearOneTimeSchedule() { return this; } /** - * - * *
        * Required. Schedule a one-time execution.
        * 
* - * - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder - getOneTimeScheduleBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder getOneTimeScheduleBuilder() { return getOneTimeScheduleFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Schedule a one-time execution.
        * 
* - * - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder - getOneTimeScheduleOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder getOneTimeScheduleOrBuilder() { if ((scheduleCase_ == 6) && (oneTimeScheduleBuilder_ != null)) { return oneTimeScheduleBuilder_.getMessageOrBuilder(); } else { if (scheduleCase_ == 6) { return (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.getDefaultInstance(); } } /** - * - * *
        * Required. Schedule a one-time execution.
        * 
* - * - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule, - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder> + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder> getOneTimeScheduleFieldBuilder() { if (oneTimeScheduleBuilder_ == null) { if (!(scheduleCase_ == 6)) { - schedule_ = - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule - .getDefaultInstance(); + schedule_ = com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.getDefaultInstance(); } - oneTimeScheduleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule, - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder>( + oneTimeScheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder>( (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_, getParentForChildren(), isClean()); schedule_ = null; } scheduleCase_ = 6; - onChanged(); - ; + onChanged();; return oneTimeScheduleBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule, - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder> - recurringScheduleBuilder_; + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder> recurringScheduleBuilder_; /** - * - * *
        * Required. Schedule recurring executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the recurringSchedule field is set. */ @java.lang.Override @@ -3392,48 +2755,35 @@ public boolean hasRecurringSchedule() { return scheduleCase_ == 7; } /** - * - * *
        * Required. Schedule recurring executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The recurringSchedule. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule - getRecurringSchedule() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule getRecurringSchedule() { if (recurringScheduleBuilder_ == null) { if (scheduleCase_ == 7) { return (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDefaultInstance(); } else { if (scheduleCase_ == 7) { return recurringScheduleBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDefaultInstance(); } } /** - * - * *
        * Required. Schedule recurring executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setRecurringSchedule( - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule value) { + public Builder setRecurringSchedule(com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule value) { if (recurringScheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3447,19 +2797,14 @@ public Builder setRecurringSchedule( return this; } /** - * - * *
        * Required. Schedule recurring executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRecurringSchedule( - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder builderForValue) { if (recurringScheduleBuilder_ == null) { schedule_ = builderForValue.build(); onChanged(); @@ -3470,29 +2815,18 @@ public Builder setRecurringSchedule( return this; } /** - * - * *
        * Required. Schedule recurring executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeRecurringSchedule( - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule value) { + public Builder mergeRecurringSchedule(com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule value) { if (recurringScheduleBuilder_ == null) { - if (scheduleCase_ == 7 - && schedule_ - != com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule - .getDefaultInstance()) { - schedule_ = - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.newBuilder( - (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) - schedule_) - .mergeFrom(value) - .buildPartial(); + if (scheduleCase_ == 7 && + schedule_ != com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDefaultInstance()) { + schedule_ = com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.newBuilder((com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_) + .mergeFrom(value).buildPartial(); } else { schedule_ = value; } @@ -3508,15 +2842,11 @@ public Builder mergeRecurringSchedule( return this; } /** - * - * *
        * Required. Schedule recurring executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRecurringSchedule() { if (recurringScheduleBuilder_ == null) { @@ -3535,139 +2865,97 @@ public Builder clearRecurringSchedule() { return this; } /** - * - * *
        * Required. Schedule recurring executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder - getRecurringScheduleBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder getRecurringScheduleBuilder() { return getRecurringScheduleFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Schedule recurring executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder - getRecurringScheduleOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder getRecurringScheduleOrBuilder() { if ((scheduleCase_ == 7) && (recurringScheduleBuilder_ != null)) { return recurringScheduleBuilder_.getMessageOrBuilder(); } else { if (scheduleCase_ == 7) { return (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDefaultInstance(); } } /** - * - * *
        * Required. Schedule recurring executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule, - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder> + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder> getRecurringScheduleFieldBuilder() { if (recurringScheduleBuilder_ == null) { if (!(scheduleCase_ == 7)) { - schedule_ = - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule - .getDefaultInstance(); + schedule_ = com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDefaultInstance(); } - recurringScheduleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule, - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder>( + recurringScheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder>( (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_, getParentForChildren(), isClean()); schedule_ = null; } scheduleCase_ = 7; - onChanged(); - ; + onChanged();; return recurringScheduleBuilder_; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3683,18 +2971,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3705,24 +2990,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3734,16 +3013,12 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -3757,67 +3032,51 @@ public Builder clearCreateTime() { return this; } /** - * - * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3825,61 +3084,42 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3895,18 +3135,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3917,24 +3154,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3946,16 +3177,12 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -3969,67 +3196,51 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -4037,64 +3248,45 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp lastExecuteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastExecuteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastExecuteTimeBuilder_; /** - * - * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastExecuteTime field is set. */ public boolean hasLastExecuteTime() { return lastExecuteTimeBuilder_ != null || lastExecuteTime_ != null; } /** - * - * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastExecuteTime. */ public com.google.protobuf.Timestamp getLastExecuteTime() { if (lastExecuteTimeBuilder_ == null) { - return lastExecuteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastExecuteTime_; + return lastExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; } else { return lastExecuteTimeBuilder_.getMessage(); } } /** - * - * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLastExecuteTime(com.google.protobuf.Timestamp value) { if (lastExecuteTimeBuilder_ == null) { @@ -4110,19 +3302,16 @@ public Builder setLastExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setLastExecuteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastExecuteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (lastExecuteTimeBuilder_ == null) { lastExecuteTime_ = builderForValue.build(); onChanged(); @@ -4133,25 +3322,19 @@ public Builder setLastExecuteTime(com.google.protobuf.Timestamp.Builder builderF return this; } /** - * - * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeLastExecuteTime(com.google.protobuf.Timestamp value) { if (lastExecuteTimeBuilder_ == null) { if (lastExecuteTime_ != null) { lastExecuteTime_ = - com.google.protobuf.Timestamp.newBuilder(lastExecuteTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastExecuteTime_).mergeFrom(value).buildPartial(); } else { lastExecuteTime_ = value; } @@ -4163,17 +3346,13 @@ public Builder mergeLastExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearLastExecuteTime() { if (lastExecuteTimeBuilder_ == null) { @@ -4187,70 +3366,54 @@ public Builder clearLastExecuteTime() { return this; } /** - * - * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getLastExecuteTimeBuilder() { - + onChanged(); return getLastExecuteTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { if (lastExecuteTimeBuilder_ != null) { return lastExecuteTimeBuilder_.getMessageOrBuilder(); } else { - return lastExecuteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastExecuteTime_; + return lastExecuteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; } } /** - * - * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastExecuteTimeFieldBuilder() { if (lastExecuteTimeBuilder_ == null) { - lastExecuteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastExecuteTime(), getParentForChildren(), isClean()); + lastExecuteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastExecuteTime(), + getParentForChildren(), + isClean()); lastExecuteTime_ = null; } return lastExecuteTimeBuilder_; @@ -4258,58 +3421,39 @@ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { private com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout rollout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> - rolloutBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> rolloutBuilder_; /** - * - * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the rollout field is set. */ public boolean hasRollout() { return rolloutBuilder_ != null || rollout_ != null; } /** - * - * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The rollout. */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getRollout() { if (rolloutBuilder_ == null) { - return rollout_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; } else { return rolloutBuilder_.getMessage(); } } /** - * - * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout value) { if (rolloutBuilder_ == null) { @@ -4325,15 +3469,11 @@ public Builder setRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollou return this; } /** - * - * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRollout( com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder builderForValue) { @@ -4347,23 +3487,17 @@ public Builder setRollout( return this; } /** - * - * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout value) { if (rolloutBuilder_ == null) { if (rollout_ != null) { rollout_ = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.newBuilder(rollout_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.newBuilder(rollout_).mergeFrom(value).buildPartial(); } else { rollout_ = value; } @@ -4375,15 +3509,11 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRoll return this; } /** - * - * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearRollout() { if (rolloutBuilder_ == null) { @@ -4397,65 +3527,48 @@ public Builder clearRollout() { return this; } /** - * - * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder getRolloutBuilder() { - + onChanged(); return getRolloutFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder - getRolloutOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder() { if (rolloutBuilder_ != null) { return rolloutBuilder_.getMessageOrBuilder(); } else { - return rollout_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; } } /** - * - * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> getRolloutFieldBuilder() { if (rolloutBuilder_ == null) { - rolloutBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder>( - getRollout(), getParentForChildren(), isClean()); + rolloutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder>( + getRollout(), + getParentForChildren(), + isClean()); rollout_ = null; } return rolloutBuilder_; @@ -4463,108 +3576,77 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder getRollou private int state_ = 0; /** - * - * *
        * Output only. Current state of the patch deployment.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * Output only. Current state of the patch deployment.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
        * Output only. Current state of the patch deployment.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State result = - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.valueOf(state_); - return result == null - ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State result = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.UNRECOGNIZED : result; } /** - * - * *
        * Output only. Current state of the patch deployment.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State value) { + public Builder setState(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Output only. Current state of the patch deployment.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4577,32 +3659,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PatchDeployment) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PatchDeployment) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchDeployment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchDeployment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchDeployment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchDeployment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4614,58 +3694,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface OneTimeScheduleOrBuilder - extends + public interface OneTimeScheduleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.OneTimeSchedule) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the executeTime field is set. */ boolean hasExecuteTime(); /** - * - * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The executeTime. */ com.google.protobuf.Timestamp getExecuteTime(); /** - * - * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getExecuteTimeOrBuilder(); } /** - * - * *
    * Sets the time for a one time patch deployment. Timestamp is in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
@@ -4673,29 +3739,30 @@ public interface OneTimeScheduleOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.OneTimeSchedule}
    */
-  public static final class OneTimeSchedule extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class OneTimeSchedule extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.OneTimeSchedule)
       OneTimeScheduleOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use OneTimeSchedule.newBuilder() to construct.
     private OneTimeSchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private OneTimeSchedule() {}
+    private OneTimeSchedule() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new OneTimeSchedule();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private OneTimeSchedule(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4714,28 +3781,26 @@ private OneTimeSchedule(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (executeTime_ != null) {
-                  subBuilder = executeTime_.toBuilder();
-                }
-                executeTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(executeTime_);
-                  executeTime_ = subBuilder.buildPartial();
-                }
-
-                break;
+            case 10: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (executeTime_ != null) {
+                subBuilder = executeTime_.toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              executeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(executeTime_);
+                executeTime_ = subBuilder.buildPartial();
               }
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4743,40 +3808,34 @@ private OneTimeSchedule(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchDeployments
-          .internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchDeployments
-          .internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.class,
-              com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.class, com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder.class);
     }
 
     public static final int EXECUTE_TIME_FIELD_NUMBER = 1;
     private com.google.protobuf.Timestamp executeTime_;
     /**
-     *
-     *
      * 
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the executeTime field is set. */ @java.lang.Override @@ -4784,32 +3843,23 @@ public boolean hasExecuteTime() { return executeTime_ != null; } /** - * - * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The executeTime. */ @java.lang.Override public com.google.protobuf.Timestamp getExecuteTime() { - return executeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : executeTime_; + return executeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executeTime_; } /** - * - * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExecuteTimeOrBuilder() { @@ -4817,7 +3867,6 @@ public com.google.protobuf.TimestampOrBuilder getExecuteTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4829,7 +3878,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (executeTime_ != null) { output.writeMessage(1, getExecuteTime()); } @@ -4843,7 +3893,8 @@ public int getSerializedSize() { size = 0; if (executeTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getExecuteTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExecuteTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4853,17 +3904,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule other = - (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule other = (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) obj; if (hasExecuteTime() != other.hasExecuteTime()) return false; if (hasExecuteTime()) { - if (!getExecuteTime().equals(other.getExecuteTime())) return false; + if (!getExecuteTime() + .equals(other.getExecuteTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -4886,95 +3937,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule 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.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule - 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.osconfig.v1beta.PatchDeployments.OneTimeSchedule 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.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4984,8 +4027,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Sets the time for a one time patch deployment. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
@@ -4993,41 +4034,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.OneTimeSchedule}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.OneTimeSchedule)
         com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments
-            .internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments
-            .internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.class,
-                com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.class, com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.newBuilder()
+      // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5041,16 +4079,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments
-            .internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule
-          getDefaultInstanceForType() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule
-            .getDefaultInstance();
+      public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule getDefaultInstanceForType() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -5064,8 +4100,7 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule build()
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule result =
-            new com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule(this);
+        com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule result = new com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule(this);
         if (executeTimeBuilder_ == null) {
           result.executeTime_ = executeTime_;
         } else {
@@ -5079,53 +4114,46 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule buildPa
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchDeployments.OneTimeSchedule) {
-          return mergeFrom(
-              (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule other) {
-        if (other
-            == com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule other) {
+        if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.getDefaultInstance()) return this;
         if (other.hasExecuteTime()) {
           mergeExecuteTime(other.getExecuteTime());
         }
@@ -5148,9 +4176,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -5162,58 +4188,39 @@ public Builder mergeFrom(
 
       private com.google.protobuf.Timestamp executeTime_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
-          executeTimeBuilder_;
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> executeTimeBuilder_;
       /**
-       *
-       *
        * 
        * Required. The desired patch job execution time.
        * 
* - * - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the executeTime field is set. */ public boolean hasExecuteTime() { return executeTimeBuilder_ != null || executeTime_ != null; } /** - * - * *
        * Required. The desired patch job execution time.
        * 
* - * - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The executeTime. */ public com.google.protobuf.Timestamp getExecuteTime() { if (executeTimeBuilder_ == null) { - return executeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : executeTime_; + return executeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executeTime_; } else { return executeTimeBuilder_.getMessage(); } } /** - * - * *
        * Required. The desired patch job execution time.
        * 
* - * - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setExecuteTime(com.google.protobuf.Timestamp value) { if (executeTimeBuilder_ == null) { @@ -5229,17 +4236,14 @@ public Builder setExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Required. The desired patch job execution time.
        * 
* - * - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setExecuteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExecuteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (executeTimeBuilder_ == null) { executeTime_ = builderForValue.build(); onChanged(); @@ -5250,23 +4254,17 @@ public Builder setExecuteTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
        * Required. The desired patch job execution time.
        * 
* - * - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeExecuteTime(com.google.protobuf.Timestamp value) { if (executeTimeBuilder_ == null) { if (executeTime_ != null) { executeTime_ = - com.google.protobuf.Timestamp.newBuilder(executeTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(executeTime_).mergeFrom(value).buildPartial(); } else { executeTime_ = value; } @@ -5278,15 +4276,11 @@ public Builder mergeExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Required. The desired patch job execution time.
        * 
* - * - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearExecuteTime() { if (executeTimeBuilder_ == null) { @@ -5300,69 +4294,52 @@ public Builder clearExecuteTime() { return this; } /** - * - * *
        * Required. The desired patch job execution time.
        * 
* - * - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getExecuteTimeBuilder() { - + onChanged(); return getExecuteTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The desired patch job execution time.
        * 
* - * - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getExecuteTimeOrBuilder() { if (executeTimeBuilder_ != null) { return executeTimeBuilder_.getMessageOrBuilder(); } else { - return executeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : executeTime_; + return executeTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : executeTime_; } } /** - * - * *
        * Required. The desired patch job execution time.
        * 
* - * - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExecuteTimeFieldBuilder() { if (executeTimeBuilder_ == null) { - executeTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExecuteTime(), getParentForChildren(), isClean()); + executeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExecuteTime(), + getParentForChildren(), + isClean()); executeTime_ = null; } return executeTimeBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5375,32 +4352,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.OneTimeSchedule) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.OneTimeSchedule) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OneTimeSchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OneTimeSchedule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OneTimeSchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OneTimeSchedule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5412,46 +4387,37 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface RecurringScheduleOrBuilder - extends + public interface RecurringScheduleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.RecurringSchedule) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
      * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the timeZone field is set. */ boolean hasTimeZone(); /** - * - * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
      * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The timeZone. */ com.google.type.TimeZone getTimeZone(); /** - * - * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
@@ -5462,356 +4428,253 @@ public interface RecurringScheduleOrBuilder
     com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder();
 
     /**
-     *
-     *
      * 
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
      * Optional. The end time at which a recurring patch deployment schedule is no longer
      * active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
      * Optional. The end time at which a recurring patch deployment schedule is no longer
      * active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
      * Optional. The end time at which a recurring patch deployment schedule is no longer
      * active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the timeOfDay field is set. */ boolean hasTimeOfDay(); /** - * - * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The timeOfDay. */ com.google.type.TimeOfDay getTimeOfDay(); /** - * - * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder(); /** - * - * *
      * Required. The frequency unit of this recurring schedule.
      * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for frequency. */ int getFrequencyValue(); /** - * - * *
      * Required. The frequency unit of this recurring schedule.
      * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The frequency. */ com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency getFrequency(); /** - * - * *
      * Required. Schedule with weekly executions.
      * 
* - * - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the weekly field is set. */ boolean hasWeekly(); /** - * - * *
      * Required. Schedule with weekly executions.
      * 
* - * - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The weekly. */ com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule getWeekly(); /** - * - * *
      * Required. Schedule with weekly executions.
      * 
* - * - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder getWeeklyOrBuilder(); /** - * - * *
      * Required. Schedule with monthly executions.
      * 
* - * - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the monthly field is set. */ boolean hasMonthly(); /** - * - * *
      * Required. Schedule with monthly executions.
      * 
* - * - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The monthly. */ com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule getMonthly(); /** - * - * *
      * Required. Schedule with monthly executions.
      * 
* - * - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder - getMonthlyOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder getMonthlyOrBuilder(); /** - * - * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastExecuteTime field is set. */ boolean hasLastExecuteTime(); /** - * - * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastExecuteTime. */ com.google.protobuf.Timestamp getLastExecuteTime(); /** - * - * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder(); /** - * - * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the nextExecuteTime field is set. */ boolean hasNextExecuteTime(); /** - * - * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The nextExecuteTime. */ com.google.protobuf.Timestamp getNextExecuteTime(); /** - * - * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getNextExecuteTimeOrBuilder(); - public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.ScheduleConfigCase - getScheduleConfigCase(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.ScheduleConfigCase getScheduleConfigCase(); } /** - * - * *
    * Sets the time for recurring patch deployments.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.RecurringSchedule} */ - public static final class RecurringSchedule extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class RecurringSchedule extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.RecurringSchedule) RecurringScheduleOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RecurringSchedule.newBuilder() to construct. private RecurringSchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RecurringSchedule() { frequency_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RecurringSchedule(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RecurringSchedule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5830,155 +4693,125 @@ private RecurringSchedule( case 0: done = true; break; - case 10: - { - com.google.type.TimeZone.Builder subBuilder = null; - if (timeZone_ != null) { - subBuilder = timeZone_.toBuilder(); - } - timeZone_ = input.readMessage(com.google.type.TimeZone.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeZone_); - timeZone_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.type.TimeZone.Builder subBuilder = null; + if (timeZone_ != null) { + subBuilder = timeZone_.toBuilder(); + } + timeZone_ = input.readMessage(com.google.type.TimeZone.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeZone_); + timeZone_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 34: { + com.google.type.TimeOfDay.Builder subBuilder = null; + if (timeOfDay_ != null) { + subBuilder = timeOfDay_.toBuilder(); } - case 34: - { - com.google.type.TimeOfDay.Builder subBuilder = null; - if (timeOfDay_ != null) { - subBuilder = timeOfDay_.toBuilder(); - } - timeOfDay_ = - input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOfDay_); - timeOfDay_ = subBuilder.buildPartial(); - } - - break; + timeOfDay_ = input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOfDay_); + timeOfDay_ = subBuilder.buildPartial(); } - case 40: - { - int rawValue = input.readEnum(); - frequency_ = rawValue; - break; + break; + } + case 40: { + int rawValue = input.readEnum(); + + frequency_ = rawValue; + break; + } + case 50: { + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder subBuilder = null; + if (scheduleConfigCase_ == 6) { + subBuilder = ((com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_).toBuilder(); + } + scheduleConfig_ = + input.readMessage(com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_); + scheduleConfig_ = subBuilder.buildPartial(); + } + scheduleConfigCase_ = 6; + break; + } + case 58: { + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder subBuilder = null; + if (scheduleConfigCase_ == 7) { + subBuilder = ((com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_).toBuilder(); } - case 50: - { - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder - subBuilder = null; - if (scheduleConfigCase_ == 6) { - subBuilder = - ((com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) - scheduleConfig_) - .toBuilder(); - } - scheduleConfig_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) - scheduleConfig_); - scheduleConfig_ = subBuilder.buildPartial(); - } - scheduleConfigCase_ = 6; - break; + scheduleConfig_ = + input.readMessage(com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_); + scheduleConfig_ = subBuilder.buildPartial(); + } + scheduleConfigCase_ = 7; + break; + } + case 74: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (lastExecuteTime_ != null) { + subBuilder = lastExecuteTime_.toBuilder(); } - case 58: - { - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder - subBuilder = null; - if (scheduleConfigCase_ == 7) { - subBuilder = - ((com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) - scheduleConfig_) - .toBuilder(); - } - scheduleConfig_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) - scheduleConfig_); - scheduleConfig_ = subBuilder.buildPartial(); - } - scheduleConfigCase_ = 7; - break; + lastExecuteTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastExecuteTime_); + lastExecuteTime_ = subBuilder.buildPartial(); } - case 74: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (lastExecuteTime_ != null) { - subBuilder = lastExecuteTime_.toBuilder(); - } - lastExecuteTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastExecuteTime_); - lastExecuteTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 82: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (nextExecuteTime_ != null) { + subBuilder = nextExecuteTime_.toBuilder(); } - case 82: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (nextExecuteTime_ != null) { - subBuilder = nextExecuteTime_.toBuilder(); - } - nextExecuteTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(nextExecuteTime_); - nextExecuteTime_ = subBuilder.buildPartial(); - } - - break; + nextExecuteTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(nextExecuteTime_); + nextExecuteTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5986,41 +4819,36 @@ private RecurringSchedule( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.class, - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.class, com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder.class); } /** - * - * *
      * Specifies the frequency of the recurring patch deployments.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.RecurringSchedule.Frequency} */ - public enum Frequency implements com.google.protobuf.ProtocolMessageEnum { + public enum Frequency + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Invalid. A frequency must be specified.
        * 
@@ -6029,8 +4857,6 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum { */ FREQUENCY_UNSPECIFIED(0), /** - * - * *
        * Indicates that the frequency of recurrence should be expressed in terms
        * of weeks.
@@ -6040,8 +4866,6 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum {
        */
       WEEKLY(1),
       /**
-       *
-       *
        * 
        * Indicates that the frequency of recurrence should be expressed in terms
        * of months.
@@ -6051,8 +4875,6 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum {
        */
       MONTHLY(2),
       /**
-       *
-       *
        * 
        * Indicates that the frequency of recurrence should be expressed in terms
        * of days.
@@ -6065,8 +4887,6 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Invalid. A frequency must be specified.
        * 
@@ -6075,8 +4895,6 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FREQUENCY_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Indicates that the frequency of recurrence should be expressed in terms
        * of weeks.
@@ -6086,8 +4904,6 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int WEEKLY_VALUE = 1;
       /**
-       *
-       *
        * 
        * Indicates that the frequency of recurrence should be expressed in terms
        * of months.
@@ -6097,8 +4913,6 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int MONTHLY_VALUE = 2;
       /**
-       *
-       *
        * 
        * Indicates that the frequency of recurrence should be expressed in terms
        * of days.
@@ -6108,6 +4922,7 @@ public enum Frequency implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int DAILY_VALUE = 3;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -6132,53 +4947,50 @@ public static Frequency valueOf(int value) {
        */
       public static Frequency forNumber(int value) {
         switch (value) {
-          case 0:
-            return FREQUENCY_UNSPECIFIED;
-          case 1:
-            return WEEKLY;
-          case 2:
-            return MONTHLY;
-          case 3:
-            return DAILY;
-          default:
-            return null;
+          case 0: return FREQUENCY_UNSPECIFIED;
+          case 1: return WEEKLY;
+          case 2: return MONTHLY;
+          case 3: return DAILY;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          Frequency> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public Frequency findValueByNumber(int number) {
+                return Frequency.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Frequency findValueByNumber(int number) {
-              return Frequency.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final Frequency[] VALUES = values();
 
-      public static Frequency valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Frequency valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -6197,16 +5009,13 @@ private Frequency(int value) {
 
     private int scheduleConfigCase_ = 0;
     private java.lang.Object scheduleConfig_;
-
     public enum ScheduleConfigCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       WEEKLY(6),
       MONTHLY(7),
       SCHEDULECONFIG_NOT_SET(0);
       private final int value;
-
       private ScheduleConfigCase(int value) {
         this.value = value;
       }
@@ -6222,38 +5031,32 @@ public static ScheduleConfigCase valueOf(int value) {
 
       public static ScheduleConfigCase forNumber(int value) {
         switch (value) {
-          case 6:
-            return WEEKLY;
-          case 7:
-            return MONTHLY;
-          case 0:
-            return SCHEDULECONFIG_NOT_SET;
-          default:
-            return null;
+          case 6: return WEEKLY;
+          case 7: return MONTHLY;
+          case 0: return SCHEDULECONFIG_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ScheduleConfigCase getScheduleConfigCase() {
-      return ScheduleConfigCase.forNumber(scheduleConfigCase_);
+    public ScheduleConfigCase
+    getScheduleConfigCase() {
+      return ScheduleConfigCase.forNumber(
+          scheduleConfigCase_);
     }
 
     public static final int TIME_ZONE_FIELD_NUMBER = 1;
     private com.google.type.TimeZone timeZone_;
     /**
-     *
-     *
      * 
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
      * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the timeZone field is set. */ @java.lang.Override @@ -6261,15 +5064,12 @@ public boolean hasTimeZone() { return timeZone_ != null; } /** - * - * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
      * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The timeZone. */ @java.lang.Override @@ -6277,8 +5077,6 @@ public com.google.type.TimeZone getTimeZone() { return timeZone_ == null ? com.google.type.TimeZone.getDefaultInstance() : timeZone_; } /** - * - * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
@@ -6294,16 +5092,12 @@ public com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder() {
     public static final int START_TIME_FIELD_NUMBER = 2;
     private com.google.protobuf.Timestamp startTime_;
     /**
-     *
-     *
      * 
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -6311,16 +5105,12 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The startTime. */ @java.lang.Override @@ -6328,15 +5118,12 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -6346,16 +5133,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
      * Optional. The end time at which a recurring patch deployment schedule is no longer
      * active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -6363,16 +5146,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
      * Optional. The end time at which a recurring patch deployment schedule is no longer
      * active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The endTime. */ @java.lang.Override @@ -6380,15 +5159,12 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
      * Optional. The end time at which a recurring patch deployment schedule is no longer
      * active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -6398,15 +5174,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TIME_OF_DAY_FIELD_NUMBER = 4; private com.google.type.TimeOfDay timeOfDay_; /** - * - * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the timeOfDay field is set. */ @java.lang.Override @@ -6414,15 +5186,11 @@ public boolean hasTimeOfDay() { return timeOfDay_ != null; } /** - * - * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The timeOfDay. */ @java.lang.Override @@ -6430,14 +5198,11 @@ public com.google.type.TimeOfDay getTimeOfDay() { return timeOfDay_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : timeOfDay_; } /** - * - * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder() { @@ -6447,60 +5212,37 @@ public com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder() { public static final int FREQUENCY_FIELD_NUMBER = 5; private int frequency_; /** - * - * *
      * Required. The frequency unit of this recurring schedule.
      * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for frequency. */ - @java.lang.Override - public int getFrequencyValue() { + @java.lang.Override public int getFrequencyValue() { return frequency_; } /** - * - * *
      * Required. The frequency unit of this recurring schedule.
      * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The frequency. */ - @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency - getFrequency() { + @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency getFrequency() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency result = - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency.valueOf( - frequency_); - return result == null - ? com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency - .UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency result = com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency.valueOf(frequency_); + return result == null ? com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency.UNRECOGNIZED : result; } public static final int WEEKLY_FIELD_NUMBER = 6; /** - * - * *
      * Required. Schedule with weekly executions.
      * 
* - * - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the weekly field is set. */ @java.lang.Override @@ -6508,57 +5250,42 @@ public boolean hasWeekly() { return scheduleConfigCase_ == 6; } /** - * - * *
      * Required. Schedule with weekly executions.
      * 
* - * - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The weekly. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule getWeekly() { if (scheduleConfigCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_; } return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.getDefaultInstance(); } /** - * - * *
      * Required. Schedule with weekly executions.
      * 
* - * - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder - getWeeklyOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder getWeeklyOrBuilder() { if (scheduleConfigCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_; } return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.getDefaultInstance(); } public static final int MONTHLY_FIELD_NUMBER = 7; /** - * - * *
      * Required. Schedule with monthly executions.
      * 
* - * - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the monthly field is set. */ @java.lang.Override @@ -6566,41 +5293,31 @@ public boolean hasMonthly() { return scheduleConfigCase_ == 7; } /** - * - * *
      * Required. Schedule with monthly executions.
      * 
* - * - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The monthly. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule getMonthly() { if (scheduleConfigCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_; } return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.getDefaultInstance(); } /** - * - * *
      * Required. Schedule with monthly executions.
      * 
* - * - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder - getMonthlyOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder getMonthlyOrBuilder() { if (scheduleConfigCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_; } return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.getDefaultInstance(); } @@ -6608,16 +5325,11 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule getMont public static final int LAST_EXECUTE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp lastExecuteTime_; /** - * - * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastExecuteTime field is set. */ @java.lang.Override @@ -6625,34 +5337,23 @@ public boolean hasLastExecuteTime() { return lastExecuteTime_ != null; } /** - * - * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastExecuteTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastExecuteTime() { - return lastExecuteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastExecuteTime_; + return lastExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; } /** - * - * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { @@ -6662,16 +5363,11 @@ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { public static final int NEXT_EXECUTE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp nextExecuteTime_; /** - * - * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the nextExecuteTime field is set. */ @java.lang.Override @@ -6679,34 +5375,23 @@ public boolean hasNextExecuteTime() { return nextExecuteTime_ != null; } /** - * - * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The nextExecuteTime. */ @java.lang.Override public com.google.protobuf.Timestamp getNextExecuteTime() { - return nextExecuteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : nextExecuteTime_; + return nextExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextExecuteTime_; } /** - * - * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getNextExecuteTimeOrBuilder() { @@ -6714,7 +5399,6 @@ public com.google.protobuf.TimestampOrBuilder getNextExecuteTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6726,7 +5410,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (timeZone_ != null) { output.writeMessage(1, getTimeZone()); } @@ -6739,19 +5424,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (timeOfDay_ != null) { output.writeMessage(4, getTimeOfDay()); } - if (frequency_ - != com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency - .FREQUENCY_UNSPECIFIED - .getNumber()) { + if (frequency_ != com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency.FREQUENCY_UNSPECIFIED.getNumber()) { output.writeEnum(5, frequency_); } if (scheduleConfigCase_ == 6) { - output.writeMessage( - 6, (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_); + output.writeMessage(6, (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_); } if (scheduleConfigCase_ == 7) { - output.writeMessage( - 7, (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_); + output.writeMessage(7, (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_); } if (lastExecuteTime_ != null) { output.writeMessage(9, getLastExecuteTime()); @@ -6769,41 +5449,40 @@ public int getSerializedSize() { size = 0; if (timeZone_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeZone()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTimeZone()); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndTime()); } if (timeOfDay_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTimeOfDay()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getTimeOfDay()); } - if (frequency_ - != com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency - .FREQUENCY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, frequency_); + if (frequency_ != com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency.FREQUENCY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, frequency_); } if (scheduleConfigCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, - (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_); } if (scheduleConfigCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, - (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) - scheduleConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_); } if (lastExecuteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getLastExecuteTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getLastExecuteTime()); } if (nextExecuteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getNextExecuteTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getNextExecuteTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6813,46 +5492,53 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule other = - (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule other = (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) obj; if (hasTimeZone() != other.hasTimeZone()) return false; if (hasTimeZone()) { - if (!getTimeZone().equals(other.getTimeZone())) return false; + if (!getTimeZone() + .equals(other.getTimeZone())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (hasTimeOfDay() != other.hasTimeOfDay()) return false; if (hasTimeOfDay()) { - if (!getTimeOfDay().equals(other.getTimeOfDay())) return false; + if (!getTimeOfDay() + .equals(other.getTimeOfDay())) return false; } if (frequency_ != other.frequency_) return false; if (hasLastExecuteTime() != other.hasLastExecuteTime()) return false; if (hasLastExecuteTime()) { - if (!getLastExecuteTime().equals(other.getLastExecuteTime())) return false; + if (!getLastExecuteTime() + .equals(other.getLastExecuteTime())) return false; } if (hasNextExecuteTime() != other.hasNextExecuteTime()) return false; if (hasNextExecuteTime()) { - if (!getNextExecuteTime().equals(other.getNextExecuteTime())) return false; + if (!getNextExecuteTime() + .equals(other.getNextExecuteTime())) return false; } if (!getScheduleConfigCase().equals(other.getScheduleConfigCase())) return false; switch (scheduleConfigCase_) { case 6: - if (!getWeekly().equals(other.getWeekly())) return false; + if (!getWeekly() + .equals(other.getWeekly())) return false; break; case 7: - if (!getMonthly().equals(other.getMonthly())) return false; + if (!getMonthly() + .equals(other.getMonthly())) return false; break; case 0: default: @@ -6912,95 +5598,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule 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.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule - 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.osconfig.v1beta.PatchDeployments.RecurringSchedule 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.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7010,49 +5688,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Sets the time for recurring patch deployments.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.RecurringSchedule} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.RecurringSchedule) com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.class, - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.class, com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -7100,16 +5773,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDefaultInstance(); } @java.lang.Override @@ -7123,8 +5794,7 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule build @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule result = - new com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule(this); + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule result = new com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule(this); if (timeZoneBuilder_ == null) { result.timeZone_ = timeZone_; } else { @@ -7179,53 +5849,46 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.RecurringSchedule) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule other) { - if (other - == com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule other) { + if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDefaultInstance()) return this; if (other.hasTimeZone()) { mergeTimeZone(other.getTimeZone()); } @@ -7248,20 +5911,17 @@ public Builder mergeFrom( mergeNextExecuteTime(other.getNextExecuteTime()); } switch (other.getScheduleConfigCase()) { - case WEEKLY: - { - mergeWeekly(other.getWeekly()); - break; - } - case MONTHLY: - { - mergeMonthly(other.getMonthly()); - break; - } - case SCHEDULECONFIG_NOT_SET: - { - break; - } + case WEEKLY: { + mergeWeekly(other.getWeekly()); + break; + } + case MONTHLY: { + mergeMonthly(other.getMonthly()); + break; + } + case SCHEDULECONFIG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -7282,9 +5942,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7293,12 +5951,12 @@ public Builder mergeFrom( } return this; } - private int scheduleConfigCase_ = 0; private java.lang.Object scheduleConfig_; - - public ScheduleConfigCase getScheduleConfigCase() { - return ScheduleConfigCase.forNumber(scheduleConfigCase_); + public ScheduleConfigCase + getScheduleConfigCase() { + return ScheduleConfigCase.forNumber( + scheduleConfigCase_); } public Builder clearScheduleConfig() { @@ -7308,37 +5966,29 @@ public Builder clearScheduleConfig() { return this; } + private com.google.type.TimeZone timeZone_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeZone, - com.google.type.TimeZone.Builder, - com.google.type.TimeZoneOrBuilder> - timeZoneBuilder_; + com.google.type.TimeZone, com.google.type.TimeZone.Builder, com.google.type.TimeZoneOrBuilder> timeZoneBuilder_; /** - * - * *
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
        * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the timeZone field is set. */ public boolean hasTimeZone() { return timeZoneBuilder_ != null || timeZone_ != null; } /** - * - * *
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
        * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The timeZone. */ public com.google.type.TimeZone getTimeZone() { @@ -7349,8 +5999,6 @@ public com.google.type.TimeZone getTimeZone() { } } /** - * - * *
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -7372,8 +6020,6 @@ public Builder setTimeZone(com.google.type.TimeZone value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -7381,7 +6027,8 @@ public Builder setTimeZone(com.google.type.TimeZone value) {
        *
        * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
        */
-      public Builder setTimeZone(com.google.type.TimeZone.Builder builderForValue) {
+      public Builder setTimeZone(
+          com.google.type.TimeZone.Builder builderForValue) {
         if (timeZoneBuilder_ == null) {
           timeZone_ = builderForValue.build();
           onChanged();
@@ -7392,8 +6039,6 @@ public Builder setTimeZone(com.google.type.TimeZone.Builder builderForValue) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -7405,7 +6050,7 @@ public Builder mergeTimeZone(com.google.type.TimeZone value) {
         if (timeZoneBuilder_ == null) {
           if (timeZone_ != null) {
             timeZone_ =
-                com.google.type.TimeZone.newBuilder(timeZone_).mergeFrom(value).buildPartial();
+              com.google.type.TimeZone.newBuilder(timeZone_).mergeFrom(value).buildPartial();
           } else {
             timeZone_ = value;
           }
@@ -7417,8 +6062,6 @@ public Builder mergeTimeZone(com.google.type.TimeZone value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -7438,8 +6081,6 @@ public Builder clearTimeZone() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -7448,13 +6089,11 @@ public Builder clearTimeZone() {
        * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
        */
       public com.google.type.TimeZone.Builder getTimeZoneBuilder() {
-
+        
         onChanged();
         return getTimeZoneFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -7466,12 +6105,11 @@ public com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder() {
         if (timeZoneBuilder_ != null) {
           return timeZoneBuilder_.getMessageOrBuilder();
         } else {
-          return timeZone_ == null ? com.google.type.TimeZone.getDefaultInstance() : timeZone_;
+          return timeZone_ == null ?
+              com.google.type.TimeZone.getDefaultInstance() : timeZone_;
         }
       }
       /**
-       *
-       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -7480,17 +6118,14 @@ public com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder() {
        * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.TimeZone,
-              com.google.type.TimeZone.Builder,
-              com.google.type.TimeZoneOrBuilder>
+          com.google.type.TimeZone, com.google.type.TimeZone.Builder, com.google.type.TimeZoneOrBuilder> 
           getTimeZoneFieldBuilder() {
         if (timeZoneBuilder_ == null) {
-          timeZoneBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.type.TimeZone,
-                  com.google.type.TimeZone.Builder,
-                  com.google.type.TimeZoneOrBuilder>(
-                  getTimeZone(), getParentForChildren(), isClean());
+          timeZoneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.type.TimeZone, com.google.type.TimeZone.Builder, com.google.type.TimeZoneOrBuilder>(
+                  getTimeZone(),
+                  getParentForChildren(),
+                  isClean());
           timeZone_ = null;
         }
         return timeZoneBuilder_;
@@ -7498,58 +6133,42 @@ public com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder() {
 
       private com.google.protobuf.Timestamp startTime_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
-          startTimeBuilder_;
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
       /**
-       *
-       *
        * 
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { - return startTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** - * - * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -7565,17 +6184,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -7586,23 +6203,18 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -7614,15 +6226,12 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { @@ -7636,64 +6245,51 @@ public Builder clearStartTime() { return this; } /** - * - * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -7701,37 +6297,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
        * Optional. The end time at which a recurring patch deployment schedule is no longer
        * active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
        * Optional. The end time at which a recurring patch deployment schedule is no longer
        * active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -7742,15 +6327,12 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
        * Optional. The end time at which a recurring patch deployment schedule is no longer
        * active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -7766,17 +6348,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Optional. The end time at which a recurring patch deployment schedule is no longer
        * active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -7787,21 +6367,18 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
        * Optional. The end time at which a recurring patch deployment schedule is no longer
        * active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -7813,15 +6390,12 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Optional. The end time at which a recurring patch deployment schedule is no longer
        * active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -7835,62 +6409,51 @@ public Builder clearEndTime() { return this; } /** - * - * *
        * Optional. The end time at which a recurring patch deployment schedule is no longer
        * active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. The end time at which a recurring patch deployment schedule is no longer
        * active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
        * Optional. The end time at which a recurring patch deployment schedule is no longer
        * active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -7898,35 +6461,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.type.TimeOfDay timeOfDay_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, - com.google.type.TimeOfDay.Builder, - com.google.type.TimeOfDayOrBuilder> - timeOfDayBuilder_; + com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> timeOfDayBuilder_; /** - * - * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the timeOfDay field is set. */ public boolean hasTimeOfDay() { return timeOfDayBuilder_ != null || timeOfDay_ != null; } /** - * - * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The timeOfDay. */ public com.google.type.TimeOfDay getTimeOfDay() { @@ -7937,14 +6489,11 @@ public com.google.type.TimeOfDay getTimeOfDay() { } } /** - * - * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTimeOfDay(com.google.type.TimeOfDay value) { if (timeOfDayBuilder_ == null) { @@ -7960,16 +6509,14 @@ public Builder setTimeOfDay(com.google.type.TimeOfDay value) { return this; } /** - * - * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTimeOfDay(com.google.type.TimeOfDay.Builder builderForValue) { + public Builder setTimeOfDay( + com.google.type.TimeOfDay.Builder builderForValue) { if (timeOfDayBuilder_ == null) { timeOfDay_ = builderForValue.build(); onChanged(); @@ -7980,20 +6527,17 @@ public Builder setTimeOfDay(com.google.type.TimeOfDay.Builder builderForValue) { return this; } /** - * - * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTimeOfDay(com.google.type.TimeOfDay value) { if (timeOfDayBuilder_ == null) { if (timeOfDay_ != null) { timeOfDay_ = - com.google.type.TimeOfDay.newBuilder(timeOfDay_).mergeFrom(value).buildPartial(); + com.google.type.TimeOfDay.newBuilder(timeOfDay_).mergeFrom(value).buildPartial(); } else { timeOfDay_ = value; } @@ -8005,14 +6549,11 @@ public Builder mergeTimeOfDay(com.google.type.TimeOfDay value) { return this; } /** - * - * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTimeOfDay() { if (timeOfDayBuilder_ == null) { @@ -8026,59 +6567,48 @@ public Builder clearTimeOfDay() { return this; } /** - * - * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.TimeOfDay.Builder getTimeOfDayBuilder() { - + onChanged(); return getTimeOfDayFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder() { if (timeOfDayBuilder_ != null) { return timeOfDayBuilder_.getMessageOrBuilder(); } else { - return timeOfDay_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : timeOfDay_; + return timeOfDay_ == null ? + com.google.type.TimeOfDay.getDefaultInstance() : timeOfDay_; } } /** - * - * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, - com.google.type.TimeOfDay.Builder, - com.google.type.TimeOfDayOrBuilder> + com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> getTimeOfDayFieldBuilder() { if (timeOfDayBuilder_ == null) { - timeOfDayBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, - com.google.type.TimeOfDay.Builder, - com.google.type.TimeOfDayOrBuilder>( - getTimeOfDay(), getParentForChildren(), isClean()); + timeOfDayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>( + getTimeOfDay(), + getParentForChildren(), + isClean()); timeOfDay_ = null; } return timeOfDayBuilder_; @@ -8086,127 +6616,86 @@ public com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder() { private int frequency_ = 0; /** - * - * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for frequency. */ - @java.lang.Override - public int getFrequencyValue() { + @java.lang.Override public int getFrequencyValue() { return frequency_; } /** - * - * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for frequency to set. * @return This builder for chaining. */ public Builder setFrequencyValue(int value) { - + frequency_ = value; onChanged(); return this; } /** - * - * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The frequency. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency - getFrequency() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency getFrequency() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency result = - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency.valueOf( - frequency_); - return result == null - ? com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency - .UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency result = com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency.valueOf(frequency_); + return result == null ? com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency.UNRECOGNIZED : result; } /** - * - * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; * @param value The frequency to set. * @return This builder for chaining. */ - public Builder setFrequency( - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency value) { + public Builder setFrequency(com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency value) { if (value == null) { throw new NullPointerException(); } - + frequency_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * - * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearFrequency() { - + frequency_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule, - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder> - weeklyBuilder_; + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder> weeklyBuilder_; /** - * - * *
        * Required. Schedule with weekly executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the weekly field is set. */ @java.lang.Override @@ -8214,48 +6703,35 @@ public boolean hasWeekly() { return scheduleConfigCase_ == 6; } /** - * - * *
        * Required. Schedule with weekly executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The weekly. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule getWeekly() { if (weeklyBuilder_ == null) { if (scheduleConfigCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) - scheduleConfig_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.getDefaultInstance(); } else { if (scheduleConfigCase_ == 6) { return weeklyBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.getDefaultInstance(); } } /** - * - * *
        * Required. Schedule with weekly executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setWeekly( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule value) { + public Builder setWeekly(com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule value) { if (weeklyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8269,19 +6745,14 @@ public Builder setWeekly( return this; } /** - * - * *
        * Required. Schedule with weekly executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setWeekly( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder builderForValue) { if (weeklyBuilder_ == null) { scheduleConfig_ = builderForValue.build(); onChanged(); @@ -8292,29 +6763,18 @@ public Builder setWeekly( return this; } /** - * - * *
        * Required. Schedule with weekly executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeWeekly( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule value) { + public Builder mergeWeekly(com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule value) { if (weeklyBuilder_ == null) { - if (scheduleConfigCase_ == 6 - && scheduleConfig_ - != com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule - .getDefaultInstance()) { - scheduleConfig_ = - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.newBuilder( - (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) - scheduleConfig_) - .mergeFrom(value) - .buildPartial(); + if (scheduleConfigCase_ == 6 && + scheduleConfig_ != com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.getDefaultInstance()) { + scheduleConfig_ = com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.newBuilder((com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_) + .mergeFrom(value).buildPartial(); } else { scheduleConfig_ = value; } @@ -8330,15 +6790,11 @@ public Builder mergeWeekly( return this; } /** - * - * *
        * Required. Schedule with weekly executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearWeekly() { if (weeklyBuilder_ == null) { @@ -8357,100 +6813,67 @@ public Builder clearWeekly() { return this; } /** - * - * *
        * Required. Schedule with weekly executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder - getWeeklyBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder getWeeklyBuilder() { return getWeeklyFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Schedule with weekly executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder - getWeeklyOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder getWeeklyOrBuilder() { if ((scheduleConfigCase_ == 6) && (weeklyBuilder_ != null)) { return weeklyBuilder_.getMessageOrBuilder(); } else { if (scheduleConfigCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) - scheduleConfig_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.getDefaultInstance(); } } /** - * - * *
        * Required. Schedule with weekly executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule, - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder> + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder> getWeeklyFieldBuilder() { if (weeklyBuilder_ == null) { if (!(scheduleConfigCase_ == 6)) { - scheduleConfig_ = - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule - .getDefaultInstance(); + scheduleConfig_ = com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.getDefaultInstance(); } - weeklyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule, - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder>( - (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) - scheduleConfig_, + weeklyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder>( + (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_, getParentForChildren(), isClean()); scheduleConfig_ = null; } scheduleConfigCase_ = 6; - onChanged(); - ; + onChanged();; return weeklyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule, - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder> - monthlyBuilder_; + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder> monthlyBuilder_; /** - * - * *
        * Required. Schedule with monthly executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the monthly field is set. */ @java.lang.Override @@ -8458,48 +6881,35 @@ public boolean hasMonthly() { return scheduleConfigCase_ == 7; } /** - * - * *
        * Required. Schedule with monthly executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The monthly. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule getMonthly() { if (monthlyBuilder_ == null) { if (scheduleConfigCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) - scheduleConfig_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.getDefaultInstance(); } else { if (scheduleConfigCase_ == 7) { return monthlyBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.getDefaultInstance(); } } /** - * - * *
        * Required. Schedule with monthly executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setMonthly( - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule value) { + public Builder setMonthly(com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule value) { if (monthlyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8513,19 +6923,14 @@ public Builder setMonthly( return this; } /** - * - * *
        * Required. Schedule with monthly executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMonthly( - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder builderForValue) { if (monthlyBuilder_ == null) { scheduleConfig_ = builderForValue.build(); onChanged(); @@ -8536,29 +6941,18 @@ public Builder setMonthly( return this; } /** - * - * *
        * Required. Schedule with monthly executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeMonthly( - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule value) { + public Builder mergeMonthly(com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule value) { if (monthlyBuilder_ == null) { - if (scheduleConfigCase_ == 7 - && scheduleConfig_ - != com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule - .getDefaultInstance()) { - scheduleConfig_ = - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.newBuilder( - (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) - scheduleConfig_) - .mergeFrom(value) - .buildPartial(); + if (scheduleConfigCase_ == 7 && + scheduleConfig_ != com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.getDefaultInstance()) { + scheduleConfig_ = com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.newBuilder((com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_) + .mergeFrom(value).buildPartial(); } else { scheduleConfig_ = value; } @@ -8574,15 +6968,11 @@ public Builder mergeMonthly( return this; } /** - * - * *
        * Required. Schedule with monthly executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMonthly() { if (monthlyBuilder_ == null) { @@ -8601,138 +6991,94 @@ public Builder clearMonthly() { return this; } /** - * - * *
        * Required. Schedule with monthly executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder - getMonthlyBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder getMonthlyBuilder() { return getMonthlyFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Schedule with monthly executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder - getMonthlyOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder getMonthlyOrBuilder() { if ((scheduleConfigCase_ == 7) && (monthlyBuilder_ != null)) { return monthlyBuilder_.getMessageOrBuilder(); } else { if (scheduleConfigCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) - scheduleConfig_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.getDefaultInstance(); } } /** - * - * *
        * Required. Schedule with monthly executions.
        * 
* - * - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule, - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder> + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder> getMonthlyFieldBuilder() { if (monthlyBuilder_ == null) { if (!(scheduleConfigCase_ == 7)) { - scheduleConfig_ = - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule - .getDefaultInstance(); + scheduleConfig_ = com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.getDefaultInstance(); } - monthlyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule, - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder>( - (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) - scheduleConfig_, + monthlyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder>( + (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_, getParentForChildren(), isClean()); scheduleConfig_ = null; } scheduleConfigCase_ = 7; - onChanged(); - ; + onChanged();; return monthlyBuilder_; } private com.google.protobuf.Timestamp lastExecuteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastExecuteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastExecuteTimeBuilder_; /** - * - * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastExecuteTime field is set. */ public boolean hasLastExecuteTime() { return lastExecuteTimeBuilder_ != null || lastExecuteTime_ != null; } /** - * - * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastExecuteTime. */ public com.google.protobuf.Timestamp getLastExecuteTime() { if (lastExecuteTimeBuilder_ == null) { - return lastExecuteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastExecuteTime_; + return lastExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; } else { return lastExecuteTimeBuilder_.getMessage(); } } /** - * - * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLastExecuteTime(com.google.protobuf.Timestamp value) { if (lastExecuteTimeBuilder_ == null) { @@ -8748,17 +7094,14 @@ public Builder setLastExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setLastExecuteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastExecuteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (lastExecuteTimeBuilder_ == null) { lastExecuteTime_ = builderForValue.build(); onChanged(); @@ -8769,23 +7112,17 @@ public Builder setLastExecuteTime(com.google.protobuf.Timestamp.Builder builderF return this; } /** - * - * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeLastExecuteTime(com.google.protobuf.Timestamp value) { if (lastExecuteTimeBuilder_ == null) { if (lastExecuteTime_ != null) { lastExecuteTime_ = - com.google.protobuf.Timestamp.newBuilder(lastExecuteTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastExecuteTime_).mergeFrom(value).buildPartial(); } else { lastExecuteTime_ = value; } @@ -8797,15 +7134,11 @@ public Builder mergeLastExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearLastExecuteTime() { if (lastExecuteTimeBuilder_ == null) { @@ -8819,64 +7152,48 @@ public Builder clearLastExecuteTime() { return this; } /** - * - * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getLastExecuteTimeBuilder() { - + onChanged(); return getLastExecuteTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { if (lastExecuteTimeBuilder_ != null) { return lastExecuteTimeBuilder_.getMessageOrBuilder(); } else { - return lastExecuteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastExecuteTime_; + return lastExecuteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; } } /** - * - * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastExecuteTimeFieldBuilder() { if (lastExecuteTimeBuilder_ == null) { - lastExecuteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastExecuteTime(), getParentForChildren(), isClean()); + lastExecuteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastExecuteTime(), + getParentForChildren(), + isClean()); lastExecuteTime_ = null; } return lastExecuteTimeBuilder_; @@ -8884,58 +7201,39 @@ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { private com.google.protobuf.Timestamp nextExecuteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - nextExecuteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> nextExecuteTimeBuilder_; /** - * - * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the nextExecuteTime field is set. */ public boolean hasNextExecuteTime() { return nextExecuteTimeBuilder_ != null || nextExecuteTime_ != null; } /** - * - * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The nextExecuteTime. */ public com.google.protobuf.Timestamp getNextExecuteTime() { if (nextExecuteTimeBuilder_ == null) { - return nextExecuteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : nextExecuteTime_; + return nextExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextExecuteTime_; } else { return nextExecuteTimeBuilder_.getMessage(); } } /** - * - * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setNextExecuteTime(com.google.protobuf.Timestamp value) { if (nextExecuteTimeBuilder_ == null) { @@ -8951,17 +7249,14 @@ public Builder setNextExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setNextExecuteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setNextExecuteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (nextExecuteTimeBuilder_ == null) { nextExecuteTime_ = builderForValue.build(); onChanged(); @@ -8972,23 +7267,17 @@ public Builder setNextExecuteTime(com.google.protobuf.Timestamp.Builder builderF return this; } /** - * - * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeNextExecuteTime(com.google.protobuf.Timestamp value) { if (nextExecuteTimeBuilder_ == null) { if (nextExecuteTime_ != null) { nextExecuteTime_ = - com.google.protobuf.Timestamp.newBuilder(nextExecuteTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(nextExecuteTime_).mergeFrom(value).buildPartial(); } else { nextExecuteTime_ = value; } @@ -9000,15 +7289,11 @@ public Builder mergeNextExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearNextExecuteTime() { if (nextExecuteTimeBuilder_ == null) { @@ -9022,69 +7307,52 @@ public Builder clearNextExecuteTime() { return this; } /** - * - * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getNextExecuteTimeBuilder() { - + onChanged(); return getNextExecuteTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getNextExecuteTimeOrBuilder() { if (nextExecuteTimeBuilder_ != null) { return nextExecuteTimeBuilder_.getMessageOrBuilder(); } else { - return nextExecuteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : nextExecuteTime_; + return nextExecuteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : nextExecuteTime_; } } /** - * - * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getNextExecuteTimeFieldBuilder() { if (nextExecuteTimeBuilder_ == null) { - nextExecuteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getNextExecuteTime(), getParentForChildren(), isClean()); + nextExecuteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getNextExecuteTime(), + getParentForChildren(), + isClean()); nextExecuteTime_ = null; } return nextExecuteTimeBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9097,32 +7365,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.RecurringSchedule) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.RecurringSchedule) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RecurringSchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RecurringSchedule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecurringSchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RecurringSchedule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9134,78 +7400,67 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface WeeklyScheduleOrBuilder - extends + public interface WeeklyScheduleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.WeeklySchedule) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dayOfWeek. */ int getDayOfWeekValue(); /** - * - * *
      * Required. Day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The dayOfWeek. */ com.google.type.DayOfWeek getDayOfWeek(); } /** - * - * *
    * Represents a weekly schedule.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.WeeklySchedule} */ - public static final class WeeklySchedule extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class WeeklySchedule extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.WeeklySchedule) WeeklyScheduleOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WeeklySchedule.newBuilder() to construct. private WeeklySchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WeeklySchedule() { dayOfWeek_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WeeklySchedule(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WeeklySchedule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -9224,20 +7479,19 @@ private WeeklySchedule( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - dayOfWeek_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + dayOfWeek_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9245,67 +7499,54 @@ private WeeklySchedule( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.class, - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.class, com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder.class); } public static final int DAY_OF_WEEK_FIELD_NUMBER = 1; private int dayOfWeek_; /** - * - * *
      * Required. Day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override - public int getDayOfWeekValue() { + @java.lang.Override public int getDayOfWeekValue() { return dayOfWeek_; } /** - * - * *
      * Required. Day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The dayOfWeek. */ - @java.lang.Override - public com.google.type.DayOfWeek getDayOfWeek() { + @java.lang.Override public com.google.type.DayOfWeek getDayOfWeek() { @SuppressWarnings("deprecation") com.google.type.DayOfWeek result = com.google.type.DayOfWeek.valueOf(dayOfWeek_); return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9317,7 +7558,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dayOfWeek_ != com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED.getNumber()) { output.writeEnum(1, dayOfWeek_); } @@ -9331,7 +7573,8 @@ public int getSerializedSize() { size = 0; if (dayOfWeek_ != com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, dayOfWeek_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, dayOfWeek_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -9341,13 +7584,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule other = - (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule other = (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) obj; if (dayOfWeek_ != other.dayOfWeek_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -9369,95 +7611,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule 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.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule - 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.osconfig.v1beta.PatchDeployments.WeeklySchedule 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.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9467,49 +7701,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents a weekly schedule.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.WeeklySchedule} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.WeeklySchedule) com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.class, - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.class, com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -9519,16 +7748,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.getDefaultInstance(); } @java.lang.Override @@ -9542,8 +7769,7 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule build() @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule result = - new com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule(this); + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule result = new com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule(this); result.dayOfWeek_ = dayOfWeek_; onBuilt(); return result; @@ -9553,53 +7779,46 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.WeeklySchedule) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule other) { - if (other - == com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule other) { + if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.getDefaultInstance()) return this; if (other.dayOfWeek_ != 0) { setDayOfWeekValue(other.getDayOfWeekValue()); } @@ -9622,9 +7841,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9636,50 +7853,37 @@ public Builder mergeFrom( private int dayOfWeek_ = 0; /** - * - * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override - public int getDayOfWeekValue() { + @java.lang.Override public int getDayOfWeekValue() { return dayOfWeek_; } /** - * - * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for dayOfWeek to set. * @return This builder for chaining. */ public Builder setDayOfWeekValue(int value) { - + dayOfWeek_ = value; onChanged(); return this; } /** - * - * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The dayOfWeek. */ @java.lang.Override @@ -9689,15 +7893,11 @@ public com.google.type.DayOfWeek getDayOfWeek() { return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; } /** - * - * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The dayOfWeek to set. * @return This builder for chaining. */ @@ -9705,30 +7905,25 @@ public Builder setDayOfWeek(com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } - + dayOfWeek_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearDayOfWeek() { - + dayOfWeek_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9741,32 +7936,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.WeeklySchedule) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.WeeklySchedule) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WeeklySchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WeeklySchedule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WeeklySchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WeeklySchedule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9778,62 +7971,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface MonthlyScheduleOrBuilder - extends + public interface MonthlyScheduleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.MonthlySchedule) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Week day in a month.
      * 
* - * - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the weekDayOfMonth field is set. */ boolean hasWeekDayOfMonth(); /** - * - * *
      * Required. Week day in a month.
      * 
* - * - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The weekDayOfMonth. */ com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth getWeekDayOfMonth(); /** - * - * *
      * Required. Week day in a month.
      * 
* - * - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder - getWeekDayOfMonthOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder getWeekDayOfMonthOrBuilder(); /** - * - * *
      * Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
      * indicates the last day of the month.
@@ -9842,13 +8017,10 @@ public interface MonthlyScheduleOrBuilder
      * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the monthDay field is set. */ boolean hasMonthDay(); /** - * - * *
      * Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
      * indicates the last day of the month.
@@ -9857,17 +8029,13 @@ public interface MonthlyScheduleOrBuilder
      * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The monthDay. */ int getMonthDay(); - public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.DayOfMonthCase - getDayOfMonthCase(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.DayOfMonthCase getDayOfMonthCase(); } /** - * - * *
    * Represents a monthly schedule. An example of a valid monthly schedule is
    * "on the third Tuesday of the month" or "on the 15th of the month".
@@ -9875,29 +8043,30 @@ public interface MonthlyScheduleOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.MonthlySchedule}
    */
-  public static final class MonthlySchedule extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class MonthlySchedule extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.MonthlySchedule)
       MonthlyScheduleOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use MonthlySchedule.newBuilder() to construct.
     private MonthlySchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private MonthlySchedule() {}
+    private MonthlySchedule() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new MonthlySchedule();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private MonthlySchedule(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -9916,42 +8085,32 @@ private MonthlySchedule(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder
-                    subBuilder = null;
-                if (dayOfMonthCase_ == 1) {
-                  subBuilder =
-                      ((com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth)
-                              dayOfMonth_)
-                          .toBuilder();
-                }
-                dayOfMonth_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth)
-                          dayOfMonth_);
-                  dayOfMonth_ = subBuilder.buildPartial();
-                }
-                dayOfMonthCase_ = 1;
-                break;
+            case 10: {
+              com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder subBuilder = null;
+              if (dayOfMonthCase_ == 1) {
+                subBuilder = ((com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_).toBuilder();
               }
-            case 16:
-              {
-                dayOfMonth_ = input.readInt32();
-                dayOfMonthCase_ = 2;
-                break;
+              dayOfMonth_ =
+                  input.readMessage(com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_);
+                dayOfMonth_ = subBuilder.buildPartial();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              dayOfMonthCase_ = 1;
+              break;
+            }
+            case 16: {
+              dayOfMonth_ = input.readInt32();
+              dayOfMonthCase_ = 2;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9959,40 +8118,35 @@ private MonthlySchedule(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchDeployments
-          .internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchDeployments
-          .internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.class,
-              com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.class, com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder.class);
     }
 
     private int dayOfMonthCase_ = 0;
     private java.lang.Object dayOfMonth_;
-
     public enum DayOfMonthCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       WEEK_DAY_OF_MONTH(1),
       MONTH_DAY(2),
       DAYOFMONTH_NOT_SET(0);
       private final int value;
-
       private DayOfMonthCase(int value) {
         this.value = value;
       }
@@ -10008,38 +8162,30 @@ public static DayOfMonthCase valueOf(int value) {
 
       public static DayOfMonthCase forNumber(int value) {
         switch (value) {
-          case 1:
-            return WEEK_DAY_OF_MONTH;
-          case 2:
-            return MONTH_DAY;
-          case 0:
-            return DAYOFMONTH_NOT_SET;
-          default:
-            return null;
+          case 1: return WEEK_DAY_OF_MONTH;
+          case 2: return MONTH_DAY;
+          case 0: return DAYOFMONTH_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public DayOfMonthCase getDayOfMonthCase() {
-      return DayOfMonthCase.forNumber(dayOfMonthCase_);
+    public DayOfMonthCase
+    getDayOfMonthCase() {
+      return DayOfMonthCase.forNumber(
+          dayOfMonthCase_);
     }
 
     public static final int WEEK_DAY_OF_MONTH_FIELD_NUMBER = 1;
     /**
-     *
-     *
      * 
      * Required. Week day in a month.
      * 
* - * - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the weekDayOfMonth field is set. */ @java.lang.Override @@ -10047,49 +8193,37 @@ public boolean hasWeekDayOfMonth() { return dayOfMonthCase_ == 1; } /** - * - * *
      * Required. Week day in a month.
      * 
* - * - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The weekDayOfMonth. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth getWeekDayOfMonth() { if (dayOfMonthCase_ == 1) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_; } return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); } /** - * - * *
      * Required. Week day in a month.
      * 
* - * - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder - getWeekDayOfMonthOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder getWeekDayOfMonthOrBuilder() { if (dayOfMonthCase_ == 1) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_; } return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); } public static final int MONTH_DAY_FIELD_NUMBER = 2; /** - * - * *
      * Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
      * indicates the last day of the month.
@@ -10098,7 +8232,6 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth getWeekD
      * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the monthDay field is set. */ @java.lang.Override @@ -10106,8 +8239,6 @@ public boolean hasMonthDay() { return dayOfMonthCase_ == 2; } /** - * - * *
      * Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
      * indicates the last day of the month.
@@ -10116,7 +8247,6 @@ public boolean hasMonthDay() {
      * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The monthDay. */ @java.lang.Override @@ -10128,7 +8258,6 @@ public int getMonthDay() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10140,13 +8269,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dayOfMonthCase_ == 1) { - output.writeMessage( - 1, (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_); + output.writeMessage(1, (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_); } if (dayOfMonthCase_ == 2) { - output.writeInt32(2, (int) ((java.lang.Integer) dayOfMonth_)); + output.writeInt32( + 2, (int)((java.lang.Integer) dayOfMonth_)); } unknownFields.writeTo(output); } @@ -10158,14 +8288,13 @@ public int getSerializedSize() { size = 0; if (dayOfMonthCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_); } if (dayOfMonthCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 2, (int) ((java.lang.Integer) dayOfMonth_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 2, (int)((java.lang.Integer) dayOfMonth_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -10175,21 +8304,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule other = - (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule other = (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) obj; if (!getDayOfMonthCase().equals(other.getDayOfMonthCase())) return false; switch (dayOfMonthCase_) { case 1: - if (!getWeekDayOfMonth().equals(other.getWeekDayOfMonth())) return false; + if (!getWeekDayOfMonth() + .equals(other.getWeekDayOfMonth())) return false; break; case 2: - if (getMonthDay() != other.getMonthDay()) return false; + if (getMonthDay() + != other.getMonthDay()) return false; break; case 0: default: @@ -10223,95 +8353,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule 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.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule - 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.osconfig.v1beta.PatchDeployments.MonthlySchedule 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.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10321,8 +8443,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents a monthly schedule. An example of a valid monthly schedule is
      * "on the third Tuesday of the month" or "on the 15th of the month".
@@ -10330,41 +8450,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.MonthlySchedule}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.MonthlySchedule)
         com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments
-            .internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments
-            .internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.class,
-                com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.class, com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.newBuilder()
+      // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -10374,16 +8491,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments
-            .internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule
-          getDefaultInstanceForType() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule
-            .getDefaultInstance();
+      public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule getDefaultInstanceForType() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -10397,8 +8512,7 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule build()
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule result =
-            new com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule(this);
+        com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule result = new com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule(this);
         if (dayOfMonthCase_ == 1) {
           if (weekDayOfMonthBuilder_ == null) {
             result.dayOfMonth_ = dayOfMonth_;
@@ -10418,68 +8532,58 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule buildPa
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchDeployments.MonthlySchedule) {
-          return mergeFrom(
-              (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule other) {
-        if (other
-            == com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule other) {
+        if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.getDefaultInstance()) return this;
         switch (other.getDayOfMonthCase()) {
-          case WEEK_DAY_OF_MONTH:
-            {
-              mergeWeekDayOfMonth(other.getWeekDayOfMonth());
-              break;
-            }
-          case MONTH_DAY:
-            {
-              setMonthDay(other.getMonthDay());
-              break;
-            }
-          case DAYOFMONTH_NOT_SET:
-            {
-              break;
-            }
+          case WEEK_DAY_OF_MONTH: {
+            mergeWeekDayOfMonth(other.getWeekDayOfMonth());
+            break;
+          }
+          case MONTH_DAY: {
+            setMonthDay(other.getMonthDay());
+            break;
+          }
+          case DAYOFMONTH_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -10500,9 +8604,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -10511,12 +8613,12 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int dayOfMonthCase_ = 0;
       private java.lang.Object dayOfMonth_;
-
-      public DayOfMonthCase getDayOfMonthCase() {
-        return DayOfMonthCase.forNumber(dayOfMonthCase_);
+      public DayOfMonthCase
+          getDayOfMonthCase() {
+        return DayOfMonthCase.forNumber(
+            dayOfMonthCase_);
       }
 
       public Builder clearDayOfMonth() {
@@ -10526,22 +8628,15 @@ public Builder clearDayOfMonth() {
         return this;
       }
 
+
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth,
-              com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder,
-              com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder>
-          weekDayOfMonthBuilder_;
+          com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth, com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder> weekDayOfMonthBuilder_;
       /**
-       *
-       *
        * 
        * Required. Week day in a month.
        * 
* - * - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the weekDayOfMonth field is set. */ @java.lang.Override @@ -10549,16 +8644,11 @@ public boolean hasWeekDayOfMonth() { return dayOfMonthCase_ == 1; } /** - * - * *
        * Required. Week day in a month.
        * 
* - * - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The weekDayOfMonth. */ @java.lang.Override @@ -10567,29 +8657,22 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth getWeekD if (dayOfMonthCase_ == 1) { return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); } else { if (dayOfMonthCase_ == 1) { return weekDayOfMonthBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); } } /** - * - * *
        * Required. Week day in a month.
        * 
* - * - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setWeekDayOfMonth( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth value) { + public Builder setWeekDayOfMonth(com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth value) { if (weekDayOfMonthBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10603,19 +8686,14 @@ public Builder setWeekDayOfMonth( return this; } /** - * - * *
        * Required. Week day in a month.
        * 
* - * - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setWeekDayOfMonth( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder builderForValue) { if (weekDayOfMonthBuilder_ == null) { dayOfMonth_ = builderForValue.build(); onChanged(); @@ -10626,29 +8704,18 @@ public Builder setWeekDayOfMonth( return this; } /** - * - * *
        * Required. Week day in a month.
        * 
* - * - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeWeekDayOfMonth( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth value) { + public Builder mergeWeekDayOfMonth(com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth value) { if (weekDayOfMonthBuilder_ == null) { - if (dayOfMonthCase_ == 1 - && dayOfMonth_ - != com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth - .getDefaultInstance()) { - dayOfMonth_ = - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.newBuilder( - (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) - dayOfMonth_) - .mergeFrom(value) - .buildPartial(); + if (dayOfMonthCase_ == 1 && + dayOfMonth_ != com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.getDefaultInstance()) { + dayOfMonth_ = com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.newBuilder((com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_) + .mergeFrom(value).buildPartial(); } else { dayOfMonth_ = value; } @@ -10664,15 +8731,11 @@ public Builder mergeWeekDayOfMonth( return this; } /** - * - * *
        * Required. Week day in a month.
        * 
* - * - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearWeekDayOfMonth() { if (weekDayOfMonthBuilder_ == null) { @@ -10691,85 +8754,60 @@ public Builder clearWeekDayOfMonth() { return this; } /** - * - * *
        * Required. Week day in a month.
        * 
* - * - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder - getWeekDayOfMonthBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder getWeekDayOfMonthBuilder() { return getWeekDayOfMonthFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Week day in a month.
        * 
* - * - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder - getWeekDayOfMonthOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder getWeekDayOfMonthOrBuilder() { if ((dayOfMonthCase_ == 1) && (weekDayOfMonthBuilder_ != null)) { return weekDayOfMonthBuilder_.getMessageOrBuilder(); } else { if (dayOfMonthCase_ == 1) { return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth - .getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); } } /** - * - * *
        * Required. Week day in a month.
        * 
* - * - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth, - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder> + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth, com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder> getWeekDayOfMonthFieldBuilder() { if (weekDayOfMonthBuilder_ == null) { if (!(dayOfMonthCase_ == 1)) { - dayOfMonth_ = - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth - .getDefaultInstance(); + dayOfMonth_ = com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); } - weekDayOfMonthBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth, - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder>( + weekDayOfMonthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth, com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder>( (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_, getParentForChildren(), isClean()); dayOfMonth_ = null; } dayOfMonthCase_ = 1; - onChanged(); - ; + onChanged();; return weekDayOfMonthBuilder_; } /** - * - * *
        * Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
        * indicates the last day of the month.
@@ -10778,15 +8816,12 @@ public Builder clearWeekDayOfMonth() {
        * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the monthDay field is set. */ public boolean hasMonthDay() { return dayOfMonthCase_ == 2; } /** - * - * *
        * Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
        * indicates the last day of the month.
@@ -10795,7 +8830,6 @@ public boolean hasMonthDay() {
        * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The monthDay. */ public int getMonthDay() { @@ -10805,8 +8839,6 @@ public int getMonthDay() { return 0; } /** - * - * *
        * Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
        * indicates the last day of the month.
@@ -10815,7 +8847,6 @@ public int getMonthDay() {
        * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The monthDay to set. * @return This builder for chaining. */ @@ -10826,8 +8857,6 @@ public Builder setMonthDay(int value) { return this; } /** - * - * *
        * Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
        * indicates the last day of the month.
@@ -10836,7 +8865,6 @@ public Builder setMonthDay(int value) {
        * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMonthDay() { @@ -10847,7 +8875,6 @@ public Builder clearMonthDay() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10860,32 +8887,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.MonthlySchedule) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.MonthlySchedule) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MonthlySchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MonthlySchedule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MonthlySchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MonthlySchedule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10897,61 +8922,47 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface WeekDayOfMonthOrBuilder - extends + public interface WeekDayOfMonthOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.WeekDayOfMonth) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1
      * indicates the last week of the month.
      * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The weekOrdinal. */ int getWeekOrdinal(); /** - * - * *
      * Required. A day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dayOfWeek. */ int getDayOfWeekValue(); /** - * - * *
      * Required. A day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dayOfWeek. */ com.google.type.DayOfWeek getDayOfWeek(); /** - * - * *
      * Optional. Represents the number of days before or after the given week day of month
      * that the patch deployment is scheduled for. For example if `week_ordinal`
@@ -10963,45 +8974,42 @@ public interface WeekDayOfMonthOrBuilder
      * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The dayOffset. */ int getDayOffset(); } /** - * - * *
    * Represents one week day in a month. An example is "the 4th Sunday".
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.WeekDayOfMonth} */ - public static final class WeekDayOfMonth extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class WeekDayOfMonth extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.WeekDayOfMonth) WeekDayOfMonthOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WeekDayOfMonth.newBuilder() to construct. private WeekDayOfMonth(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WeekDayOfMonth() { dayOfWeek_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WeekDayOfMonth(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WeekDayOfMonth( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -11020,30 +9028,29 @@ private WeekDayOfMonth( case 0: done = true; break; - case 8: - { - weekOrdinal_ = input.readInt32(); - break; - } - case 16: - { - int rawValue = input.readEnum(); + case 8: { - dayOfWeek_ = rawValue; - break; - } - case 24: - { - dayOffset_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + weekOrdinal_ = input.readInt32(); + break; + } + case 16: { + int rawValue = input.readEnum(); + + dayOfWeek_ = rawValue; + break; + } + case 24: { + + dayOffset_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -11051,40 +9058,35 @@ private WeekDayOfMonth( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.class, - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.class, com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder.class); } public static final int WEEK_ORDINAL_FIELD_NUMBER = 1; private int weekOrdinal_; /** - * - * *
      * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1
      * indicates the last week of the month.
      * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The weekOrdinal. */ @java.lang.Override @@ -11095,35 +9097,25 @@ public int getWeekOrdinal() { public static final int DAY_OF_WEEK_FIELD_NUMBER = 2; private int dayOfWeek_; /** - * - * *
      * Required. A day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override - public int getDayOfWeekValue() { + @java.lang.Override public int getDayOfWeekValue() { return dayOfWeek_; } /** - * - * *
      * Required. A day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dayOfWeek. */ - @java.lang.Override - public com.google.type.DayOfWeek getDayOfWeek() { + @java.lang.Override public com.google.type.DayOfWeek getDayOfWeek() { @SuppressWarnings("deprecation") com.google.type.DayOfWeek result = com.google.type.DayOfWeek.valueOf(dayOfWeek_); return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; @@ -11132,8 +9124,6 @@ public com.google.type.DayOfWeek getDayOfWeek() { public static final int DAY_OFFSET_FIELD_NUMBER = 3; private int dayOffset_; /** - * - * *
      * Optional. Represents the number of days before or after the given week day of month
      * that the patch deployment is scheduled for. For example if `week_ordinal`
@@ -11145,7 +9135,6 @@ public com.google.type.DayOfWeek getDayOfWeek() {
      * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The dayOffset. */ @java.lang.Override @@ -11154,7 +9143,6 @@ public int getDayOffset() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11166,7 +9154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (weekOrdinal_ != 0) { output.writeInt32(1, weekOrdinal_); } @@ -11186,13 +9175,16 @@ public int getSerializedSize() { size = 0; if (weekOrdinal_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, weekOrdinal_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, weekOrdinal_); } if (dayOfWeek_ != com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, dayOfWeek_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, dayOfWeek_); } if (dayOffset_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, dayOffset_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, dayOffset_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -11202,17 +9194,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth other = - (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth other = (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) obj; - if (getWeekOrdinal() != other.getWeekOrdinal()) return false; + if (getWeekOrdinal() + != other.getWeekOrdinal()) return false; if (dayOfWeek_ != other.dayOfWeek_) return false; - if (getDayOffset() != other.getDayOffset()) return false; + if (getDayOffset() + != other.getDayOffset()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11236,95 +9229,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth 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.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth - 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.osconfig.v1beta.PatchDeployments.WeekDayOfMonth 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.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11334,49 +9319,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents one week day in a month. An example is "the 4th Sunday".
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.WeekDayOfMonth} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.WeekDayOfMonth) com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.class, - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.class, com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -11390,16 +9370,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); } @java.lang.Override @@ -11413,8 +9391,7 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth build() @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth result = - new com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth(this); + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth result = new com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth(this); result.weekOrdinal_ = weekOrdinal_; result.dayOfWeek_ = dayOfWeek_; result.dayOffset_ = dayOffset_; @@ -11426,53 +9403,46 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth other) { - if (other - == com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth other) { + if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.getDefaultInstance()) return this; if (other.getWeekOrdinal() != 0) { setWeekOrdinal(other.getWeekOrdinal()); } @@ -11501,9 +9471,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -11513,17 +9481,14 @@ public Builder mergeFrom( return this; } - private int weekOrdinal_; + private int weekOrdinal_ ; /** - * - * *
        * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1
        * indicates the last week of the month.
        * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The weekOrdinal. */ @java.lang.Override @@ -11531,38 +9496,32 @@ public int getWeekOrdinal() { return weekOrdinal_; } /** - * - * *
        * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1
        * indicates the last week of the month.
        * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The weekOrdinal to set. * @return This builder for chaining. */ public Builder setWeekOrdinal(int value) { - + weekOrdinal_ = value; onChanged(); return this; } /** - * - * *
        * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1
        * indicates the last week of the month.
        * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearWeekOrdinal() { - + weekOrdinal_ = 0; onChanged(); return this; @@ -11570,50 +9529,37 @@ public Builder clearWeekOrdinal() { private int dayOfWeek_ = 0; /** - * - * *
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override - public int getDayOfWeekValue() { + @java.lang.Override public int getDayOfWeekValue() { return dayOfWeek_; } /** - * - * *
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for dayOfWeek to set. * @return This builder for chaining. */ public Builder setDayOfWeekValue(int value) { - + dayOfWeek_ = value; onChanged(); return this; } /** - * - * *
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dayOfWeek. */ @java.lang.Override @@ -11623,15 +9569,11 @@ public com.google.type.DayOfWeek getDayOfWeek() { return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; } /** - * - * *
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The dayOfWeek to set. * @return This builder for chaining. */ @@ -11639,34 +9581,28 @@ public Builder setDayOfWeek(com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } - + dayOfWeek_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearDayOfWeek() { - + dayOfWeek_ = 0; onChanged(); return this; } - private int dayOffset_; + private int dayOffset_ ; /** - * - * *
        * Optional. Represents the number of days before or after the given week day of month
        * that the patch deployment is scheduled for. For example if `week_ordinal`
@@ -11678,7 +9614,6 @@ public Builder clearDayOfWeek() {
        * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The dayOffset. */ @java.lang.Override @@ -11686,8 +9621,6 @@ public int getDayOffset() { return dayOffset_; } /** - * - * *
        * Optional. Represents the number of days before or after the given week day of month
        * that the patch deployment is scheduled for. For example if `week_ordinal`
@@ -11699,19 +9632,16 @@ public int getDayOffset() {
        * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The dayOffset to set. * @return This builder for chaining. */ public Builder setDayOffset(int value) { - + dayOffset_ = value; onChanged(); return this; } /** - * - * *
        * Optional. Represents the number of days before or after the given week day of month
        * that the patch deployment is scheduled for. For example if `week_ordinal`
@@ -11723,16 +9653,14 @@ public Builder setDayOffset(int value) {
        * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDayOffset() { - + dayOffset_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11745,32 +9673,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.WeekDayOfMonth) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.WeekDayOfMonth) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WeekDayOfMonth parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WeekDayOfMonth(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WeekDayOfMonth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WeekDayOfMonth(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11782,45 +9708,37 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface CreatePatchDeploymentRequestOrBuilder - extends + public interface CreatePatchDeploymentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.CreatePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The project to apply this patch deployment to in the form `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
      * Required. The project to apply this patch deployment to in the form `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
      * Required. A name for the patch deployment in the project. When creating a name
      * the following rules apply:
@@ -11832,13 +9750,10 @@ public interface CreatePatchDeploymentRequestOrBuilder
      * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The patchDeploymentId. */ java.lang.String getPatchDeploymentId(); /** - * - * *
      * Required. A name for the patch deployment in the project. When creating a name
      * the following rules apply:
@@ -11850,74 +9765,54 @@ public interface CreatePatchDeploymentRequestOrBuilder
      * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for patchDeploymentId. */ - com.google.protobuf.ByteString getPatchDeploymentIdBytes(); + com.google.protobuf.ByteString + getPatchDeploymentIdBytes(); /** - * - * *
      * Required. The patch deployment to create.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the patchDeployment field is set. */ boolean hasPatchDeployment(); /** - * - * *
      * Required. The patch deployment to create.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The patchDeployment. */ com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployment(); /** - * - * *
      * Required. The patch deployment to create.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder - getPatchDeploymentOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder(); } /** - * - * *
    * A request message for creating a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.CreatePatchDeploymentRequest} */ - public static final class CreatePatchDeploymentRequest - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CreatePatchDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.CreatePatchDeploymentRequest) CreatePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreatePatchDeploymentRequest.newBuilder() to construct. - private CreatePatchDeploymentRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreatePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreatePatchDeploymentRequest() { parent_ = ""; patchDeploymentId_ = ""; @@ -11925,15 +9820,16 @@ private CreatePatchDeploymentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreatePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreatePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -11952,45 +9848,38 @@ private CreatePatchDeploymentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - patchDeploymentId_ = s; - break; + patchDeploymentId_ = s; + break; + } + case 26: { + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder subBuilder = null; + if (patchDeployment_ != null) { + subBuilder = patchDeployment_.toBuilder(); } - case 26: - { - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder - subBuilder = null; - if (patchDeployment_ != null) { - subBuilder = patchDeployment_.toBuilder(); - } - patchDeployment_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(patchDeployment_); - patchDeployment_ = subBuilder.buildPartial(); - } - - break; + patchDeployment_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(patchDeployment_); + patchDeployment_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -11998,40 +9887,34 @@ private CreatePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.class, - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.Builder - .class); + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
      * Required. The project to apply this patch deployment to in the form `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -12040,29 +9923,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
      * Required. The project to apply this patch deployment to in the form `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -12073,8 +9956,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PATCH_DEPLOYMENT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object patchDeploymentId_; /** - * - * *
      * Required. A name for the patch deployment in the project. When creating a name
      * the following rules apply:
@@ -12086,7 +9967,6 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The patchDeploymentId. */ @java.lang.Override @@ -12095,15 +9975,14 @@ public java.lang.String getPatchDeploymentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchDeploymentId_ = s; return s; } } /** - * - * *
      * Required. A name for the patch deployment in the project. When creating a name
      * the following rules apply:
@@ -12115,15 +9994,16 @@ public java.lang.String getPatchDeploymentId() {
      * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for patchDeploymentId. */ @java.lang.Override - public com.google.protobuf.ByteString getPatchDeploymentIdBytes() { + public com.google.protobuf.ByteString + getPatchDeploymentIdBytes() { java.lang.Object ref = patchDeploymentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); patchDeploymentId_ = b; return b; } else { @@ -12134,16 +10014,11 @@ public com.google.protobuf.ByteString getPatchDeploymentIdBytes() { public static final int PATCH_DEPLOYMENT_FIELD_NUMBER = 3; private com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment patchDeployment_; /** - * - * *
      * Required. The patch deployment to create.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the patchDeployment field is set. */ @java.lang.Override @@ -12151,43 +10026,30 @@ public boolean hasPatchDeployment() { return patchDeployment_ != null; } /** - * - * *
      * Required. The patch deployment to create.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The patchDeployment. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployment() { - return patchDeployment_ == null - ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance() - : patchDeployment_; + return patchDeployment_ == null ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; } /** - * - * *
      * Required. The patch deployment to create.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder - getPatchDeploymentOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder() { return getPatchDeployment(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12199,7 +10061,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -12225,7 +10088,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, patchDeploymentId_); } if (patchDeployment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPatchDeployment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getPatchDeployment()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -12235,21 +10099,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest other = - (com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest other = (com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPatchDeploymentId().equals(other.getPatchDeploymentId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPatchDeploymentId() + .equals(other.getPatchDeploymentId())) return false; if (hasPatchDeployment() != other.hasPatchDeployment()) return false; if (hasPatchDeployment()) { - if (!getPatchDeployment().equals(other.getPatchDeployment())) return false; + if (!getPatchDeployment() + .equals(other.getPatchDeployment())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -12275,101 +10139,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - 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.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - 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.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -12379,51 +10230,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for creating a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.CreatePatchDeploymentRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.CreatePatchDeploymentRequest) com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - .class, - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - .Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -12441,23 +10285,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - build() { - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest result = - buildPartial(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest build() { + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -12465,11 +10305,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest result = - new com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest( - this); + public com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest buildPartial() { + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest result = new com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest(this); result.parent_ = parent_; result.patchDeploymentId_ = patchDeploymentId_; if (patchDeploymentBuilder_ == null) { @@ -12485,56 +10322,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest) { + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest other) { - if (other - == com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest other) { + if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -12561,14 +10388,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - parsedMessage = null; + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12580,20 +10404,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
        * Required. The project to apply this patch deployment to in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -12602,21 +10424,20 @@ public java.lang.String getParent() { } } /** - * - * *
        * Required. The project to apply this patch deployment to in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -12624,61 +10445,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
        * Required. The project to apply this patch deployment to in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
        * Required. The project to apply this patch deployment to in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
        * Required. The project to apply this patch deployment to in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -12686,8 +10500,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object patchDeploymentId_ = ""; /** - * - * *
        * Required. A name for the patch deployment in the project. When creating a name
        * the following rules apply:
@@ -12699,13 +10511,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The patchDeploymentId. */ public java.lang.String getPatchDeploymentId() { java.lang.Object ref = patchDeploymentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchDeploymentId_ = s; return s; @@ -12714,8 +10526,6 @@ public java.lang.String getPatchDeploymentId() { } } /** - * - * *
        * Required. A name for the patch deployment in the project. When creating a name
        * the following rules apply:
@@ -12727,14 +10537,15 @@ public java.lang.String getPatchDeploymentId() {
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for patchDeploymentId. */ - public com.google.protobuf.ByteString getPatchDeploymentIdBytes() { + public com.google.protobuf.ByteString + getPatchDeploymentIdBytes() { java.lang.Object ref = patchDeploymentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); patchDeploymentId_ = b; return b; } else { @@ -12742,8 +10553,6 @@ public com.google.protobuf.ByteString getPatchDeploymentIdBytes() { } } /** - * - * *
        * Required. A name for the patch deployment in the project. When creating a name
        * the following rules apply:
@@ -12755,22 +10564,20 @@ public com.google.protobuf.ByteString getPatchDeploymentIdBytes() {
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The patchDeploymentId to set. * @return This builder for chaining. */ - public Builder setPatchDeploymentId(java.lang.String value) { + public Builder setPatchDeploymentId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + patchDeploymentId_ = value; onChanged(); return this; } /** - * - * *
        * Required. A name for the patch deployment in the project. When creating a name
        * the following rules apply:
@@ -12782,18 +10589,15 @@ public Builder setPatchDeploymentId(java.lang.String value) {
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPatchDeploymentId() { - + patchDeploymentId_ = getDefaultInstance().getPatchDeploymentId(); onChanged(); return this; } /** - * - * *
        * Required. A name for the patch deployment in the project. When creating a name
        * the following rules apply:
@@ -12805,16 +10609,16 @@ public Builder clearPatchDeploymentId() {
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for patchDeploymentId to set. * @return This builder for chaining. */ - public Builder setPatchDeploymentIdBytes(com.google.protobuf.ByteString value) { + public Builder setPatchDeploymentIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + patchDeploymentId_ = value; onChanged(); return this; @@ -12822,63 +10626,41 @@ public Builder setPatchDeploymentIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment patchDeployment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> - patchDeploymentBuilder_; + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> patchDeploymentBuilder_; /** - * - * *
        * Required. The patch deployment to create.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the patchDeployment field is set. */ public boolean hasPatchDeployment() { return patchDeploymentBuilder_ != null || patchDeployment_ != null; } /** - * - * *
        * Required. The patch deployment to create.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The patchDeployment. */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment - getPatchDeployment() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployment() { if (patchDeploymentBuilder_ == null) { - return patchDeployment_ == null - ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment - .getDefaultInstance() - : patchDeployment_; + return patchDeployment_ == null ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; } else { return patchDeploymentBuilder_.getMessage(); } } /** - * - * *
        * Required. The patch deployment to create.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setPatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { + public Builder setPatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { if (patchDeploymentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12892,19 +10674,14 @@ public Builder setPatchDeployment( return this; } /** - * - * *
        * Required. The patch deployment to create.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder builderForValue) { if (patchDeploymentBuilder_ == null) { patchDeployment_ = builderForValue.build(); onChanged(); @@ -12915,25 +10692,17 @@ public Builder setPatchDeployment( return this; } /** - * - * *
        * Required. The patch deployment to create.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { + public Builder mergePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { if (patchDeploymentBuilder_ == null) { if (patchDeployment_ != null) { patchDeployment_ = - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.newBuilder( - patchDeployment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.newBuilder(patchDeployment_).mergeFrom(value).buildPartial(); } else { patchDeployment_ = value; } @@ -12945,15 +10714,11 @@ public Builder mergePatchDeployment( return this; } /** - * - * *
        * Required. The patch deployment to create.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPatchDeployment() { if (patchDeploymentBuilder_ == null) { @@ -12967,72 +10732,52 @@ public Builder clearPatchDeployment() { return this; } /** - * - * *
        * Required. The patch deployment to create.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder - getPatchDeploymentBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder getPatchDeploymentBuilder() { + onChanged(); return getPatchDeploymentFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The patch deployment to create.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder - getPatchDeploymentOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder() { if (patchDeploymentBuilder_ != null) { return patchDeploymentBuilder_.getMessageOrBuilder(); } else { - return patchDeployment_ == null - ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment - .getDefaultInstance() - : patchDeployment_; + return patchDeployment_ == null ? + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; } } /** - * - * *
        * Required. The patch deployment to create.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> getPatchDeploymentFieldBuilder() { if (patchDeploymentBuilder_ == null) { - patchDeploymentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder>( - getPatchDeployment(), getParentForChildren(), isClean()); + patchDeploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder>( + getPatchDeployment(), + getParentForChildren(), + isClean()); patchDeployment_ = null; } return patchDeploymentBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13045,34 +10790,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.CreatePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.CreatePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments - .CreatePatchDeploymentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreatePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreatePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13084,78 +10825,70 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GetPatchDeploymentRequestOrBuilder - extends + public interface GetPatchDeploymentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.GetPatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * A request message for retrieving a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GetPatchDeploymentRequest} */ - public static final class GetPatchDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GetPatchDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.GetPatchDeploymentRequest) GetPatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPatchDeploymentRequest.newBuilder() to construct. private GetPatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPatchDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetPatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -13174,20 +10907,19 @@ private GetPatchDeploymentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -13195,41 +10927,35 @@ private GetPatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.class, - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.Builder - .class); + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -13238,30 +10964,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -13270,7 +10996,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13282,7 +11007,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -13306,16 +11032,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest other = - (com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest other = (com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -13334,101 +11059,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest - 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.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest - 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.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -13438,50 +11150,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for retrieving a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GetPatchDeploymentRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.GetPatchDeploymentRequest) com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.class, - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.Builder - .class); + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -13491,22 +11197,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest build() { - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest result = - buildPartial(); + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -13514,10 +11217,8 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentReque } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest - buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest result = - new com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest buildPartial() { + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest result = new com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -13527,55 +11228,46 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest) other); + if (other instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest) { + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest other) { - if (other - == com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest other) { + if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -13595,14 +11287,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parsedMessage = - null; + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -13614,21 +11303,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -13637,22 +11324,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -13660,69 +11346,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13735,33 +11413,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.GetPatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.GetPatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13773,102 +11448,84 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListPatchDeploymentsRequestOrBuilder - extends + public interface ListPatchDeploymentsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ListPatchDeploymentsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The resource name of the parent in the form `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
      * Required. The resource name of the parent in the form `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
      * Optional. The maximum number of patch deployments to return. Default is 100.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
      * Optional. A pagination token returned from a previous call to ListPatchDeployments
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
      * Optional. A pagination token returned from a previous call to ListPatchDeployments
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } /** - * - * *
    * A request message for listing patch deployments.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchDeploymentsRequest} */ - public static final class ListPatchDeploymentsRequest - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListPatchDeploymentsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ListPatchDeploymentsRequest) ListPatchDeploymentsRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchDeploymentsRequest.newBuilder() to construct. private ListPatchDeploymentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPatchDeploymentsRequest() { parent_ = ""; pageToken_ = ""; @@ -13876,15 +11533,16 @@ private ListPatchDeploymentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPatchDeploymentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPatchDeploymentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -13903,32 +11561,30 @@ private ListPatchDeploymentsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -13936,40 +11592,34 @@ private ListPatchDeploymentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.class, - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.Builder - .class); + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
      * Required. The resource name of the parent in the form `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -13978,29 +11628,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
      * Required. The resource name of the parent in the form `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -14011,14 +11661,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
      * Optional. The maximum number of patch deployments to return. Default is 100.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -14029,15 +11676,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
      * Optional. A pagination token returned from a previous call to ListPatchDeployments
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -14046,30 +11690,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
      * Optional. A pagination token returned from a previous call to ListPatchDeployments
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -14078,7 +11722,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -14090,7 +11733,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -14113,7 +11757,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -14126,19 +11771,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest other = - (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest other = (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -14161,101 +11806,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -14265,50 +11897,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for listing patch deployments.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchDeploymentsRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ListPatchDeploymentsRequest) com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.class, - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - .Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -14322,22 +11948,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest build() { - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest result = - buildPartial(); + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -14345,10 +11968,8 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsReq } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest result = - new com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest(this); + public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest buildPartial() { + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest result = new com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -14360,56 +11981,46 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest) { + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest other) { - if (other - == com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest other) { + if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -14436,14 +12047,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - parsedMessage = null; + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -14455,20 +12063,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -14477,21 +12083,20 @@ public java.lang.String getParent() { } } /** - * - * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -14499,76 +12104,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
        * Optional. The maximum number of patch deployments to return. Default is 100.
        * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -14576,36 +12171,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
        * Optional. The maximum number of patch deployments to return. Default is 100.
        * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
        * Optional. The maximum number of patch deployments to return. Default is 100.
        * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -14613,21 +12202,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
        * Optional. A pagination token returned from a previous call to ListPatchDeployments
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -14636,22 +12223,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
        * Optional. A pagination token returned from a previous call to ListPatchDeployments
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -14659,69 +12245,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
        * Optional. A pagination token returned from a previous call to ListPatchDeployments
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
        * Optional. A pagination token returned from a previous call to ListPatchDeployments
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
        * Optional. A pagination token returned from a previous call to ListPatchDeployments
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14734,34 +12312,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ListPatchDeploymentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ListPatchDeploymentsRequest) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments - .ListPatchDeploymentsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchDeploymentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchDeploymentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchDeploymentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchDeploymentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14773,42 +12347,34 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListPatchDeploymentsResponseOrBuilder - extends + public interface ListPatchDeploymentsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ListPatchDeploymentsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The list of patch deployments.
      * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - java.util.List + java.util.List getPatchDeploymentsList(); /** - * - * *
      * The list of patch deployments.
      * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployments( - int index); + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployments(int index); /** - * - * *
      * The list of patch deployments.
      * 
@@ -14817,77 +12383,62 @@ com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeploy */ int getPatchDeploymentsCount(); /** - * - * *
      * The list of patch deployments.
      * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - java.util.List< - ? extends com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> + java.util.List getPatchDeploymentsOrBuilderList(); /** - * - * *
      * The list of patch deployments.
      * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder - getPatchDeploymentsOrBuilder(int index); + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentsOrBuilder( + int index); /** - * - * *
      * A pagination token that can be used to get the next page of patch
      * deployments.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
      * A pagination token that can be used to get the next page of patch
      * deployments.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } /** - * - * *
    * A response message for listing patch deployments.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchDeploymentsResponse} */ - public static final class ListPatchDeploymentsResponse - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListPatchDeploymentsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ListPatchDeploymentsResponse) ListPatchDeploymentsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchDeploymentsResponse.newBuilder() to construct. - private ListPatchDeploymentsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListPatchDeploymentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPatchDeploymentsResponse() { patchDeployments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -14895,15 +12446,16 @@ private ListPatchDeploymentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPatchDeploymentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPatchDeploymentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -14923,34 +12475,28 @@ private ListPatchDeploymentsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - patchDeployments_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>(); - mutable_bitField0_ |= 0x00000001; - } - patchDeployments_.add( - input.readMessage( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + patchDeployments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + patchDeployments_.add( + input.readMessage(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -14958,7 +12504,8 @@ private ListPatchDeploymentsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { patchDeployments_ = java.util.Collections.unmodifiableList(patchDeployments_); @@ -14967,29 +12514,22 @@ private ListPatchDeploymentsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.class, - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.Builder - .class); + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.class, com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.Builder.class); } public static final int PATCH_DEPLOYMENTS_FIELD_NUMBER = 1; - private java.util.List - patchDeployments_; + private java.util.List patchDeployments_; /** - * - * *
      * The list of patch deployments.
      * 
@@ -14997,13 +12537,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ @java.lang.Override - public java.util.List - getPatchDeploymentsList() { + public java.util.List getPatchDeploymentsList() { return patchDeployments_; } /** - * - * *
      * The list of patch deployments.
      * 
@@ -15011,14 +12548,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> + public java.util.List getPatchDeploymentsOrBuilderList() { return patchDeployments_; } /** - * - * *
      * The list of patch deployments.
      * 
@@ -15030,8 +12564,6 @@ public int getPatchDeploymentsCount() { return patchDeployments_.size(); } /** - * - * *
      * The list of patch deployments.
      * 
@@ -15039,13 +12571,10 @@ public int getPatchDeploymentsCount() { * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployments( - int index) { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployments(int index) { return patchDeployments_.get(index); } /** - * - * *
      * The list of patch deployments.
      * 
@@ -15053,23 +12582,20 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatc * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder - getPatchDeploymentsOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentsOrBuilder( + int index) { return patchDeployments_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
      * A pagination token that can be used to get the next page of patch
      * deployments.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -15078,30 +12604,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
      * A pagination token that can be used to get the next page of patch
      * deployments.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -15110,7 +12636,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15122,7 +12647,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < patchDeployments_.size(); i++) { output.writeMessage(1, patchDeployments_.get(i)); } @@ -15139,8 +12665,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < patchDeployments_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, patchDeployments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, patchDeployments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -15153,18 +12679,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse other = - (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse other = (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse) obj; - if (!getPatchDeploymentsList().equals(other.getPatchDeploymentsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPatchDeploymentsList() + .equals(other.getPatchDeploymentsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -15187,101 +12712,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -15291,53 +12803,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A response message for listing patch deployments.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchDeploymentsResponse} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ListPatchDeploymentsResponse) com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - .class, - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - .Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.class, com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPatchDeploymentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -15353,23 +12857,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - build() { - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse result = - buildPartial(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse build() { + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -15377,11 +12877,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse result = - new com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse( - this); + public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse buildPartial() { + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse result = new com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse(this); int from_bitField0_ = bitField0_; if (patchDeploymentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -15401,56 +12898,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse) { + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse other) { - if (other - == com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse other) { + if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.getDefaultInstance()) return this; if (patchDeploymentsBuilder_ == null) { if (!other.patchDeployments_.isEmpty()) { if (patchDeployments_.isEmpty()) { @@ -15469,10 +12956,9 @@ public Builder mergeFrom( patchDeploymentsBuilder_ = null; patchDeployments_ = other.patchDeployments_; bitField0_ = (bitField0_ & ~0x00000001); - patchDeploymentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPatchDeploymentsFieldBuilder() - : null; + patchDeploymentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPatchDeploymentsFieldBuilder() : null; } else { patchDeploymentsBuilder_.addAllMessages(other.patchDeployments_); } @@ -15497,14 +12983,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - parsedMessage = null; + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -15513,39 +12996,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - patchDeployments_ = java.util.Collections.emptyList(); - + private java.util.List patchDeployments_ = + java.util.Collections.emptyList(); private void ensurePatchDeploymentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - patchDeployments_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( - patchDeployments_); + patchDeployments_ = new java.util.ArrayList(patchDeployments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> - patchDeploymentsBuilder_; + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> patchDeploymentsBuilder_; /** - * - * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - public java.util.List - getPatchDeploymentsList() { + public java.util.List getPatchDeploymentsList() { if (patchDeploymentsBuilder_ == null) { return java.util.Collections.unmodifiableList(patchDeployments_); } else { @@ -15553,8 +13025,6 @@ private void ensurePatchDeploymentsIsMutable() { } } /** - * - * *
        * The list of patch deployments.
        * 
@@ -15569,16 +13039,13 @@ public int getPatchDeploymentsCount() { } } /** - * - * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployments( - int index) { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployments(int index) { if (patchDeploymentsBuilder_ == null) { return patchDeployments_.get(index); } else { @@ -15586,8 +13053,6 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatc } } /** - * - * *
        * The list of patch deployments.
        * 
@@ -15609,8 +13074,6 @@ public Builder setPatchDeployments( return this; } /** - * - * *
        * The list of patch deployments.
        * 
@@ -15618,9 +13081,7 @@ public Builder setPatchDeployments( * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ public Builder setPatchDeployments( - int index, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder builderForValue) { if (patchDeploymentsBuilder_ == null) { ensurePatchDeploymentsIsMutable(); patchDeployments_.set(index, builderForValue.build()); @@ -15631,16 +13092,13 @@ public Builder setPatchDeployments( return this; } /** - * - * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - public Builder addPatchDeployments( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { + public Builder addPatchDeployments(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { if (patchDeploymentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -15654,8 +13112,6 @@ public Builder addPatchDeployments( return this; } /** - * - * *
        * The list of patch deployments.
        * 
@@ -15677,8 +13133,6 @@ public Builder addPatchDeployments( return this; } /** - * - * *
        * The list of patch deployments.
        * 
@@ -15686,8 +13140,7 @@ public Builder addPatchDeployments( * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ public Builder addPatchDeployments( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder builderForValue) { if (patchDeploymentsBuilder_ == null) { ensurePatchDeploymentsIsMutable(); patchDeployments_.add(builderForValue.build()); @@ -15698,8 +13151,6 @@ public Builder addPatchDeployments( return this; } /** - * - * *
        * The list of patch deployments.
        * 
@@ -15707,9 +13158,7 @@ public Builder addPatchDeployments( * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ public Builder addPatchDeployments( - int index, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder builderForValue) { if (patchDeploymentsBuilder_ == null) { ensurePatchDeploymentsIsMutable(); patchDeployments_.add(index, builderForValue.build()); @@ -15720,8 +13169,6 @@ public Builder addPatchDeployments( return this; } /** - * - * *
        * The list of patch deployments.
        * 
@@ -15729,12 +13176,11 @@ public Builder addPatchDeployments( * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ public Builder addAllPatchDeployments( - java.lang.Iterable< - ? extends com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> - values) { + java.lang.Iterable values) { if (patchDeploymentsBuilder_ == null) { ensurePatchDeploymentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, patchDeployments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, patchDeployments_); onChanged(); } else { patchDeploymentsBuilder_.addAllMessages(values); @@ -15742,8 +13188,6 @@ public Builder addAllPatchDeployments( return this; } /** - * - * *
        * The list of patch deployments.
        * 
@@ -15761,8 +13205,6 @@ public Builder clearPatchDeployments() { return this; } /** - * - * *
        * The list of patch deployments.
        * 
@@ -15780,47 +13222,39 @@ public Builder removePatchDeployments(int index) { return this; } /** - * - * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder - getPatchDeploymentsBuilder(int index) { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder getPatchDeploymentsBuilder( + int index) { return getPatchDeploymentsFieldBuilder().getBuilder(index); } /** - * - * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder - getPatchDeploymentsOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentsOrBuilder( + int index) { if (patchDeploymentsBuilder_ == null) { - return patchDeployments_.get(index); - } else { + return patchDeployments_.get(index); } else { return patchDeploymentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> - getPatchDeploymentsOrBuilderList() { + public java.util.List + getPatchDeploymentsOrBuilderList() { if (patchDeploymentsBuilder_ != null) { return patchDeploymentsBuilder_.getMessageOrBuilderList(); } else { @@ -15828,64 +13262,45 @@ public Builder removePatchDeployments(int index) { } } /** - * - * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder - addPatchDeploymentsBuilder() { - return getPatchDeploymentsFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment - .getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder addPatchDeploymentsBuilder() { + return getPatchDeploymentsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance()); } /** - * - * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder - addPatchDeploymentsBuilder(int index) { - return getPatchDeploymentsFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment - .getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder addPatchDeploymentsBuilder( + int index) { + return getPatchDeploymentsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance()); } /** - * - * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - public java.util.List< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder> - getPatchDeploymentsBuilderList() { + public java.util.List + getPatchDeploymentsBuilderList() { return getPatchDeploymentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> getPatchDeploymentsFieldBuilder() { if (patchDeploymentsBuilder_ == null) { - patchDeploymentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder>( + patchDeploymentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder>( patchDeployments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -15897,21 +13312,19 @@ public Builder removePatchDeployments(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -15920,22 +13333,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -15943,69 +13355,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16018,34 +13422,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ListPatchDeploymentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ListPatchDeploymentsResponse) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments - .ListPatchDeploymentsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchDeploymentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchDeploymentsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchDeploymentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchDeploymentsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16057,80 +13457,70 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DeletePatchDeploymentRequestOrBuilder - extends + public interface DeletePatchDeploymentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.DeletePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * A request message for deleting a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.DeletePatchDeploymentRequest} */ - public static final class DeletePatchDeploymentRequest - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DeletePatchDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.DeletePatchDeploymentRequest) DeletePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeletePatchDeploymentRequest.newBuilder() to construct. - private DeletePatchDeploymentRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeletePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeletePatchDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeletePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeletePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -16149,20 +13539,19 @@ private DeletePatchDeploymentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -16170,41 +13559,35 @@ private DeletePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.class, - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.Builder - .class); + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -16213,30 +13596,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -16245,7 +13628,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -16257,7 +13639,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -16281,17 +13664,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest other = - (com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest other = (com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -16310,101 +13691,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - 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.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - 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.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -16414,51 +13782,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for deleting a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.DeletePatchDeploymentRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.DeletePatchDeploymentRequest) com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - .class, - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - .Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -16468,23 +13829,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - build() { - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest result = - buildPartial(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest build() { + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -16492,11 +13849,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest result = - new com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest( - this); + public com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest buildPartial() { + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest result = new com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -16506,56 +13860,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest) { + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest other) { - if (other - == com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest other) { + if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -16575,14 +13919,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - parsedMessage = null; + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -16594,21 +13935,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -16617,22 +13956,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -16640,69 +13978,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16715,34 +14045,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.DeletePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.DeletePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments - .DeletePatchDeploymentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16754,134 +14080,104 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UpdatePatchDeploymentRequestOrBuilder - extends + public interface UpdatePatchDeploymentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.UpdatePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The patch deployment to Update.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the patchDeployment field is set. */ boolean hasPatchDeployment(); /** - * - * *
      * Required. The patch deployment to Update.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The patchDeployment. */ com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployment(); /** - * - * *
      * Required. The patch deployment to Update.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder - getPatchDeploymentOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder(); /** - * - * *
      * Optional. Field mask that controls which fields of the patch deployment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
      * Optional. Field mask that controls which fields of the patch deployment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
      * Optional. Field mask that controls which fields of the patch deployment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } /** - * - * *
    * A request message for updating a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.UpdatePatchDeploymentRequest} */ - public static final class UpdatePatchDeploymentRequest - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class UpdatePatchDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.UpdatePatchDeploymentRequest) UpdatePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdatePatchDeploymentRequest.newBuilder() to construct. - private UpdatePatchDeploymentRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdatePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdatePatchDeploymentRequest() {} + private UpdatePatchDeploymentRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdatePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdatePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -16900,46 +14196,39 @@ private UpdatePatchDeploymentRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder - subBuilder = null; - if (patchDeployment_ != null) { - subBuilder = patchDeployment_.toBuilder(); - } - patchDeployment_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(patchDeployment_); - patchDeployment_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder subBuilder = null; + if (patchDeployment_ != null) { + subBuilder = patchDeployment_.toBuilder(); + } + patchDeployment_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(patchDeployment_); + patchDeployment_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -16947,42 +14236,34 @@ private UpdatePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.class, - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.Builder - .class); + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.Builder.class); } public static final int PATCH_DEPLOYMENT_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment patchDeployment_; /** - * - * *
      * Required. The patch deployment to Update.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the patchDeployment field is set. */ @java.lang.Override @@ -16990,54 +14271,38 @@ public boolean hasPatchDeployment() { return patchDeployment_ != null; } /** - * - * *
      * Required. The patch deployment to Update.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The patchDeployment. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployment() { - return patchDeployment_ == null - ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance() - : patchDeployment_; + return patchDeployment_ == null ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; } /** - * - * *
      * Required. The patch deployment to Update.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder - getPatchDeploymentOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder() { return getPatchDeployment(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
      * Optional. Field mask that controls which fields of the patch deployment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -17045,16 +14310,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
      * Optional. Field mask that controls which fields of the patch deployment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -17062,15 +14323,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
      * Optional. Field mask that controls which fields of the patch deployment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -17078,7 +14336,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -17090,7 +14347,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (patchDeployment_ != null) { output.writeMessage(1, getPatchDeployment()); } @@ -17107,10 +14365,12 @@ public int getSerializedSize() { size = 0; if (patchDeployment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPatchDeployment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPatchDeployment()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -17120,23 +14380,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest other = - (com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest other = (com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest) obj; if (hasPatchDeployment() != other.hasPatchDeployment()) return false; if (hasPatchDeployment()) { - if (!getPatchDeployment().equals(other.getPatchDeployment())) return false; + if (!getPatchDeployment() + .equals(other.getPatchDeployment())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -17162,101 +14421,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - 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.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - 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.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -17266,51 +14512,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for updating a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.UpdatePatchDeploymentRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.UpdatePatchDeploymentRequest) com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - .class, - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - .Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -17330,23 +14569,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - build() { - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest result = - buildPartial(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest build() { + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -17354,11 +14589,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest result = - new com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest( - this); + public com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest buildPartial() { + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest result = new com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest(this); if (patchDeploymentBuilder_ == null) { result.patchDeployment_ = patchDeployment_; } else { @@ -17377,56 +14609,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest) { + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest other) { - if (other - == com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest other) { + if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.getDefaultInstance()) return this; if (other.hasPatchDeployment()) { mergePatchDeployment(other.getPatchDeployment()); } @@ -17448,14 +14670,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - parsedMessage = null; + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -17467,63 +14686,41 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment patchDeployment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> - patchDeploymentBuilder_; + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> patchDeploymentBuilder_; /** - * - * *
        * Required. The patch deployment to Update.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the patchDeployment field is set. */ public boolean hasPatchDeployment() { return patchDeploymentBuilder_ != null || patchDeployment_ != null; } /** - * - * *
        * Required. The patch deployment to Update.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The patchDeployment. */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment - getPatchDeployment() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployment() { if (patchDeploymentBuilder_ == null) { - return patchDeployment_ == null - ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment - .getDefaultInstance() - : patchDeployment_; + return patchDeployment_ == null ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; } else { return patchDeploymentBuilder_.getMessage(); } } /** - * - * *
        * Required. The patch deployment to Update.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setPatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { + public Builder setPatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { if (patchDeploymentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -17537,19 +14734,14 @@ public Builder setPatchDeployment( return this; } /** - * - * *
        * Required. The patch deployment to Update.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder builderForValue) { if (patchDeploymentBuilder_ == null) { patchDeployment_ = builderForValue.build(); onChanged(); @@ -17560,25 +14752,17 @@ public Builder setPatchDeployment( return this; } /** - * - * *
        * Required. The patch deployment to Update.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { + public Builder mergePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { if (patchDeploymentBuilder_ == null) { if (patchDeployment_ != null) { patchDeployment_ = - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.newBuilder( - patchDeployment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.newBuilder(patchDeployment_).mergeFrom(value).buildPartial(); } else { patchDeployment_ = value; } @@ -17590,15 +14774,11 @@ public Builder mergePatchDeployment( return this; } /** - * - * *
        * Required. The patch deployment to Update.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPatchDeployment() { if (patchDeploymentBuilder_ == null) { @@ -17612,67 +14792,48 @@ public Builder clearPatchDeployment() { return this; } /** - * - * *
        * Required. The patch deployment to Update.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder - getPatchDeploymentBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder getPatchDeploymentBuilder() { + onChanged(); return getPatchDeploymentFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The patch deployment to Update.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder - getPatchDeploymentOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder() { if (patchDeploymentBuilder_ != null) { return patchDeploymentBuilder_.getMessageOrBuilder(); } else { - return patchDeployment_ == null - ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment - .getDefaultInstance() - : patchDeployment_; + return patchDeployment_ == null ? + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; } } /** - * - * *
        * Required. The patch deployment to Update.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> getPatchDeploymentFieldBuilder() { if (patchDeploymentBuilder_ == null) { - patchDeploymentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder>( - getPatchDeployment(), getParentForChildren(), isClean()); + patchDeploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder>( + getPatchDeployment(), + getParentForChildren(), + isClean()); patchDeployment_ = null; } return patchDeploymentBuilder_; @@ -17680,58 +14841,42 @@ public Builder clearPatchDeployment() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
        * Optional. Field mask that controls which fields of the patch deployment should be
        * updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
        * Optional. Field mask that controls which fields of the patch deployment should be
        * updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
        * Optional. Field mask that controls which fields of the patch deployment should be
        * updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -17747,17 +14892,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
        * Optional. Field mask that controls which fields of the patch deployment should be
        * updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -17768,23 +14911,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
        * Optional. Field mask that controls which fields of the patch deployment should be
        * updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -17796,15 +14934,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
        * Optional. Field mask that controls which fields of the patch deployment should be
        * updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -17818,69 +14953,55 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
        * Optional. Field mask that controls which fields of the patch deployment should be
        * updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. Field mask that controls which fields of the patch deployment should be
        * updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
        * Optional. Field mask that controls which fields of the patch deployment should be
        * updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -17893,34 +15014,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.UpdatePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.UpdatePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments - .UpdatePatchDeploymentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdatePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdatePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -17932,83 +15049,70 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PausePatchDeploymentRequestOrBuilder - extends + public interface PausePatchDeploymentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PausePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * A request message for pausing a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.PausePatchDeploymentRequest} */ - public static final class PausePatchDeploymentRequest - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PausePatchDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PausePatchDeploymentRequest) PausePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PausePatchDeploymentRequest.newBuilder() to construct. private PausePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PausePatchDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PausePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PausePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -18027,20 +15131,19 @@ private PausePatchDeploymentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -18048,43 +15151,35 @@ private PausePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.class, - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.Builder - .class); + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -18093,32 +15188,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -18127,7 +15220,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -18139,7 +15231,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -18163,17 +15256,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest other = - (com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest other = (com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -18192,101 +15283,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - 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.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - 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.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -18296,50 +15374,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for pausing a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.PausePatchDeploymentRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PausePatchDeploymentRequest) com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.class, - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - .Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -18349,22 +15421,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest build() { - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest result = - buildPartial(); + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -18372,10 +15441,8 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentReq } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest result = - new com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest buildPartial() { + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest result = new com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -18385,56 +15452,46 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest) { + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest other) { - if (other - == com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest other) { + if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -18454,14 +15511,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - parsedMessage = null; + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -18473,23 +15527,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -18498,24 +15548,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -18523,75 +15570,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -18604,34 +15637,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PausePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PausePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments - .PausePatchDeploymentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PausePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PausePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PausePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PausePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -18643,84 +15672,70 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ResumePatchDeploymentRequestOrBuilder - extends + public interface ResumePatchDeploymentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ResumePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * A request message for resuming a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ResumePatchDeploymentRequest} */ - public static final class ResumePatchDeploymentRequest - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ResumePatchDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ResumePatchDeploymentRequest) ResumePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResumePatchDeploymentRequest.newBuilder() to construct. - private ResumePatchDeploymentRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ResumePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResumePatchDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResumePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResumePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -18739,20 +15754,19 @@ private ResumePatchDeploymentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -18760,43 +15774,35 @@ private ResumePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.class, - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.Builder - .class); + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -18805,32 +15811,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -18839,7 +15843,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -18851,7 +15854,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -18875,17 +15879,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest other = - (com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest other = (com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -18904,101 +15906,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - 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.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - 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.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -19008,51 +15997,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for resuming a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ResumePatchDeploymentRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ResumePatchDeploymentRequest) com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - .class, - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - .Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -19062,23 +16044,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments - .internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - build() { - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest result = - buildPartial(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest build() { + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -19086,11 +16064,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest result = - new com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest( - this); + public com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest buildPartial() { + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest result = new com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -19100,56 +16075,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest) { + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest other) { - if (other - == com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest other) { + if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -19169,14 +16134,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - parsedMessage = null; + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -19188,23 +16150,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -19213,24 +16171,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -19238,75 +16193,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -19319,34 +16260,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ResumePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ResumePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments - .ResumePatchDeploymentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -19358,317 +16295,281 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_PatchDeployment_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { return descriptor; } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; static { java.lang.String[] descriptorData = { - "\n4google/cloud/osconfig/v1beta/patch_dep" - + "loyments.proto\022\034google.cloud.osconfig.v1" - + "beta\032\034google/api/annotations.proto\032\037goog" - + "le/api/field_behavior.proto\032\031google/api/" - + "resource.proto\032-google/cloud/osconfig/v1" - + "beta/patch_jobs.proto\032\036google/protobuf/d" - + "uration.proto\032 google/protobuf/field_mas" - + "k.proto\032\037google/protobuf/timestamp.proto" - + "\032\032google/type/datetime.proto\032\033google/typ" - + "e/dayofweek.proto\032\033google/type/timeofday" - + ".proto\"\204\007\n\017PatchDeployment\022\014\n\004name\030\001 \001(\t" - + "\022\030\n\013description\030\002 \001(\tB\003\340A\001\022O\n\017instance_f" - + "ilter\030\003 \001(\01321.google.cloud.osconfig.v1be" - + "ta.PatchInstanceFilterB\003\340A\002\022D\n\014patch_con" - + "fig\030\004 \001(\0132).google.cloud.osconfig.v1beta" - + ".PatchConfigB\003\340A\001\0220\n\010duration\030\005 \001(\0132\031.go" - + "ogle.protobuf.DurationB\003\340A\001\022O\n\021one_time_" - + "schedule\030\006 \001(\0132-.google.cloud.osconfig.v" - + "1beta.OneTimeScheduleB\003\340A\002H\000\022R\n\022recurrin" - + "g_schedule\030\007 \001(\0132/.google.cloud.osconfig" - + ".v1beta.RecurringScheduleB\003\340A\002H\000\0224\n\013crea" - + "te_time\030\010 \001(\0132\032.google.protobuf.Timestam" - + "pB\003\340A\003\0224\n\013update_time\030\t \001(\0132\032.google.pro" - + "tobuf.TimestampB\003\340A\003\022:\n\021last_execute_tim" - + "e\030\n \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\022@\n\007rollout\030\013 \001(\0132*.google.cloud.osconfi" - + "g.v1beta.PatchRolloutB\003\340A\001\022G\n\005state\030\014 \001(" - + "\01623.google.cloud.osconfig.v1beta.PatchDe" - + "ployment.StateB\003\340A\003\"6\n\005State\022\025\n\021STATE_UN" - + "SPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\n\n\006PAUSED\020\002:d\352Aa" - + "\n\'osconfig.googleapis.com/PatchDeploymen" - + "t\0226projects/{project}/patchDeployments/{" - + "patch_deployment}B\n\n\010schedule\"H\n\017OneTime" - + "Schedule\0225\n\014execute_time\030\001 \001(\0132\032.google." - + "protobuf.TimestampB\003\340A\002\"\222\005\n\021RecurringSch" - + "edule\022-\n\ttime_zone\030\001 \001(\0132\025.google.type.T" - + "imeZoneB\003\340A\002\0223\n\nstart_time\030\002 \001(\0132\032.googl" - + "e.protobuf.TimestampB\003\340A\001\0221\n\010end_time\030\003 " - + "\001(\0132\032.google.protobuf.TimestampB\003\340A\001\0220\n\013" - + "time_of_day\030\004 \001(\0132\026.google.type.TimeOfDa" - + "yB\003\340A\002\022Q\n\tfrequency\030\005 \001(\01629.google.cloud" - + ".osconfig.v1beta.RecurringSchedule.Frequ" - + "encyB\003\340A\002\022C\n\006weekly\030\006 \001(\0132,.google.cloud" - + ".osconfig.v1beta.WeeklyScheduleB\003\340A\002H\000\022E" - + "\n\007monthly\030\007 \001(\0132-.google.cloud.osconfig." - + "v1beta.MonthlyScheduleB\003\340A\002H\000\022:\n\021last_ex" - + "ecute_time\030\t \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\003\022:\n\021next_execute_time\030\n \001(\0132\032.g" - + "oogle.protobuf.TimestampB\003\340A\003\"J\n\tFrequen" - + "cy\022\031\n\025FREQUENCY_UNSPECIFIED\020\000\022\n\n\006WEEKLY\020" - + "\001\022\013\n\007MONTHLY\020\002\022\t\n\005DAILY\020\003B\021\n\017schedule_co" - + "nfig\"B\n\016WeeklySchedule\0220\n\013day_of_week\030\001 " - + "\001(\0162\026.google.type.DayOfWeekB\003\340A\002\"\213\001\n\017Mon" - + "thlySchedule\022N\n\021week_day_of_month\030\001 \001(\0132" - + ",.google.cloud.osconfig.v1beta.WeekDayOf" - + "MonthB\003\340A\002H\000\022\030\n\tmonth_day\030\002 \001(\005B\003\340A\002H\000B\016" - + "\n\014day_of_month\"v\n\016WeekDayOfMonth\022\031\n\014week" - + "_ordinal\030\001 \001(\005B\003\340A\002\0220\n\013day_of_week\030\002 \001(\016" - + "2\026.google.type.DayOfWeekB\003\340A\002\022\027\n\nday_off" - + "set\030\003 \001(\005B\003\340A\001\"\243\001\n\034CreatePatchDeployment" - + "Request\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022 \n\023patch_de" - + "ployment_id\030\002 \001(\tB\003\340A\002\022L\n\020patch_deployme" - + "nt\030\003 \001(\0132-.google.cloud.osconfig.v1beta." - + "PatchDeploymentB\003\340A\002\".\n\031GetPatchDeployme" - + "ntRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"c\n\033ListPatc" - + "hDeploymentsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002" - + "\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003" - + " \001(\tB\003\340A\001\"\201\001\n\034ListPatchDeploymentsRespon" - + "se\022H\n\021patch_deployments\030\001 \003(\0132-.google.c" - + "loud.osconfig.v1beta.PatchDeployment\022\027\n\017" - + "next_page_token\030\002 \001(\t\"1\n\034DeletePatchDepl" - + "oymentRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"\242\001\n\034Upd" - + "atePatchDeploymentRequest\022L\n\020patch_deplo" - + "yment\030\001 \001(\0132-.google.cloud.osconfig.v1be" - + "ta.PatchDeploymentB\003\340A\002\0224\n\013update_mask\030\002" - + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\"\\\n" - + "\033PausePatchDeploymentRequest\022=\n\004name\030\001 \001" - + "(\tB/\340A\002\372A)\n\'osconfig.googleapis.com/Patc" - + "hDeployment\"]\n\034ResumePatchDeploymentRequ" - + "est\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'osconfig.goog" - + "leapis.com/PatchDeploymentBz\n com.google" - + ".cloud.osconfig.v1betaB\020PatchDeployments" - + "ZDgoogle.golang.org/genproto/googleapis/" - + "cloud/osconfig/v1beta;osconfigb\006proto3" + "\n4google/cloud/osconfig/v1beta/patch_dep" + + "loyments.proto\022\034google.cloud.osconfig.v1" + + "beta\032\034google/api/annotations.proto\032\037goog" + + "le/api/field_behavior.proto\032\031google/api/" + + "resource.proto\032-google/cloud/osconfig/v1" + + "beta/patch_jobs.proto\032\036google/protobuf/d" + + "uration.proto\032 google/protobuf/field_mas" + + "k.proto\032\037google/protobuf/timestamp.proto" + + "\032\032google/type/datetime.proto\032\033google/typ" + + "e/dayofweek.proto\032\033google/type/timeofday" + + ".proto\"\204\007\n\017PatchDeployment\022\014\n\004name\030\001 \001(\t" + + "\022\030\n\013description\030\002 \001(\tB\003\340A\001\022O\n\017instance_f" + + "ilter\030\003 \001(\01321.google.cloud.osconfig.v1be" + + "ta.PatchInstanceFilterB\003\340A\002\022D\n\014patch_con" + + "fig\030\004 \001(\0132).google.cloud.osconfig.v1beta" + + ".PatchConfigB\003\340A\001\0220\n\010duration\030\005 \001(\0132\031.go" + + "ogle.protobuf.DurationB\003\340A\001\022O\n\021one_time_" + + "schedule\030\006 \001(\0132-.google.cloud.osconfig.v" + + "1beta.OneTimeScheduleB\003\340A\002H\000\022R\n\022recurrin" + + "g_schedule\030\007 \001(\0132/.google.cloud.osconfig" + + ".v1beta.RecurringScheduleB\003\340A\002H\000\0224\n\013crea" + + "te_time\030\010 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\0224\n\013update_time\030\t \001(\0132\032.google.pro" + + "tobuf.TimestampB\003\340A\003\022:\n\021last_execute_tim" + + "e\030\n \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\022@\n\007rollout\030\013 \001(\0132*.google.cloud.osconfi" + + "g.v1beta.PatchRolloutB\003\340A\001\022G\n\005state\030\014 \001(" + + "\01623.google.cloud.osconfig.v1beta.PatchDe" + + "ployment.StateB\003\340A\003\"6\n\005State\022\025\n\021STATE_UN" + + "SPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\n\n\006PAUSED\020\002:d\352Aa" + + "\n\'osconfig.googleapis.com/PatchDeploymen" + + "t\0226projects/{project}/patchDeployments/{" + + "patch_deployment}B\n\n\010schedule\"H\n\017OneTime" + + "Schedule\0225\n\014execute_time\030\001 \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\002\"\222\005\n\021RecurringSch" + + "edule\022-\n\ttime_zone\030\001 \001(\0132\025.google.type.T" + + "imeZoneB\003\340A\002\0223\n\nstart_time\030\002 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\001\0221\n\010end_time\030\003 " + + "\001(\0132\032.google.protobuf.TimestampB\003\340A\001\0220\n\013" + + "time_of_day\030\004 \001(\0132\026.google.type.TimeOfDa" + + "yB\003\340A\002\022Q\n\tfrequency\030\005 \001(\01629.google.cloud" + + ".osconfig.v1beta.RecurringSchedule.Frequ" + + "encyB\003\340A\002\022C\n\006weekly\030\006 \001(\0132,.google.cloud" + + ".osconfig.v1beta.WeeklyScheduleB\003\340A\002H\000\022E" + + "\n\007monthly\030\007 \001(\0132-.google.cloud.osconfig." + + "v1beta.MonthlyScheduleB\003\340A\002H\000\022:\n\021last_ex" + + "ecute_time\030\t \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\022:\n\021next_execute_time\030\n \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\"J\n\tFrequen" + + "cy\022\031\n\025FREQUENCY_UNSPECIFIED\020\000\022\n\n\006WEEKLY\020" + + "\001\022\013\n\007MONTHLY\020\002\022\t\n\005DAILY\020\003B\021\n\017schedule_co" + + "nfig\"B\n\016WeeklySchedule\0220\n\013day_of_week\030\001 " + + "\001(\0162\026.google.type.DayOfWeekB\003\340A\002\"\213\001\n\017Mon" + + "thlySchedule\022N\n\021week_day_of_month\030\001 \001(\0132" + + ",.google.cloud.osconfig.v1beta.WeekDayOf" + + "MonthB\003\340A\002H\000\022\030\n\tmonth_day\030\002 \001(\005B\003\340A\002H\000B\016" + + "\n\014day_of_month\"v\n\016WeekDayOfMonth\022\031\n\014week" + + "_ordinal\030\001 \001(\005B\003\340A\002\0220\n\013day_of_week\030\002 \001(\016" + + "2\026.google.type.DayOfWeekB\003\340A\002\022\027\n\nday_off" + + "set\030\003 \001(\005B\003\340A\001\"\243\001\n\034CreatePatchDeployment" + + "Request\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022 \n\023patch_de" + + "ployment_id\030\002 \001(\tB\003\340A\002\022L\n\020patch_deployme" + + "nt\030\003 \001(\0132-.google.cloud.osconfig.v1beta." + + "PatchDeploymentB\003\340A\002\".\n\031GetPatchDeployme" + + "ntRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"c\n\033ListPatc" + + "hDeploymentsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002" + + "\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003" + + " \001(\tB\003\340A\001\"\201\001\n\034ListPatchDeploymentsRespon" + + "se\022H\n\021patch_deployments\030\001 \003(\0132-.google.c" + + "loud.osconfig.v1beta.PatchDeployment\022\027\n\017" + + "next_page_token\030\002 \001(\t\"1\n\034DeletePatchDepl" + + "oymentRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"\242\001\n\034Upd" + + "atePatchDeploymentRequest\022L\n\020patch_deplo" + + "yment\030\001 \001(\0132-.google.cloud.osconfig.v1be" + + "ta.PatchDeploymentB\003\340A\002\0224\n\013update_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\"\\\n" + + "\033PausePatchDeploymentRequest\022=\n\004name\030\001 \001" + + "(\tB/\340A\002\372A)\n\'osconfig.googleapis.com/Patc" + + "hDeployment\"]\n\034ResumePatchDeploymentRequ" + + "est\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'osconfig.goog" + + "leapis.com/PatchDeploymentBz\n com.google" + + ".cloud.osconfig.v1betaB\020PatchDeployments" + + "ZDgoogle.golang.org/genproto/googleapis/" + + "cloud/osconfig/v1beta;osconfigb\006proto3" }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.osconfig.v1beta.PatchJobs.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.DateTimeProto.getDescriptor(), - com.google.type.DayOfWeekProto.getDescriptor(), - com.google.type.TimeOfDayProto.getDescriptor(), - }); + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.osconfig.v1beta.PatchJobs.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.type.DateTimeProto.getDescriptor(), + com.google.type.DayOfWeekProto.getDescriptor(), + com.google.type.TimeOfDayProto.getDescriptor(), + }); internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1beta_PatchDeployment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor, - new java.lang.String[] { - "Name", - "Description", - "InstanceFilter", - "PatchConfig", - "Duration", - "OneTimeSchedule", - "RecurringSchedule", - "CreateTime", - "UpdateTime", - "LastExecuteTime", - "Rollout", - "State", - "Schedule", - }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1beta_PatchDeployment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor, + new java.lang.String[] { "Name", "Description", "InstanceFilter", "PatchConfig", "Duration", "OneTimeSchedule", "RecurringSchedule", "CreateTime", "UpdateTime", "LastExecuteTime", "Rollout", "State", "Schedule", }); internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor, - new java.lang.String[] { - "ExecuteTime", - }); + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor, + new java.lang.String[] { "ExecuteTime", }); internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor, - new java.lang.String[] { - "TimeZone", - "StartTime", - "EndTime", - "TimeOfDay", - "Frequency", - "Weekly", - "Monthly", - "LastExecuteTime", - "NextExecuteTime", - "ScheduleConfig", - }); + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor, + new java.lang.String[] { "TimeZone", "StartTime", "EndTime", "TimeOfDay", "Frequency", "Weekly", "Monthly", "LastExecuteTime", "NextExecuteTime", "ScheduleConfig", }); internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor, - new java.lang.String[] { - "DayOfWeek", - }); + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor, + new java.lang.String[] { "DayOfWeek", }); internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor, - new java.lang.String[] { - "WeekDayOfMonth", "MonthDay", "DayOfMonth", - }); + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor, + new java.lang.String[] { "WeekDayOfMonth", "MonthDay", "DayOfMonth", }); internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor, - new java.lang.String[] { - "WeekOrdinal", "DayOfWeek", "DayOffset", - }); + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor, + new java.lang.String[] { "WeekOrdinal", "DayOfWeek", "DayOffset", }); internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor, - new java.lang.String[] { - "Parent", "PatchDeploymentId", "PatchDeployment", - }); + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor, + new java.lang.String[] { "Parent", "PatchDeploymentId", "PatchDeployment", }); internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor, - new java.lang.String[] { - "Name", - }); + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor, + new java.lang.String[] { "Name", }); internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor, - new java.lang.String[] { - "PatchDeployments", "NextPageToken", - }); + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor, + new java.lang.String[] { "PatchDeployments", "NextPageToken", }); internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor, - new java.lang.String[] { - "Name", - }); + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor, + new java.lang.String[] { "Name", }); internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor, - new java.lang.String[] { - "PatchDeployment", "UpdateMask", - }); + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor, + new java.lang.String[] { "PatchDeployment", "UpdateMask", }); internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor, - new java.lang.String[] { - "Name", - }); + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor, + new java.lang.String[] { "Name", }); internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor, - new java.lang.String[] { - "Name", - }); + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor, + new java.lang.String[] { "Name", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.ResourceProto.resource); registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); diff --git a/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchJobs.java b/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchJobs.java similarity index 72% rename from proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchJobs.java rename to owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchJobs.java index 5472191d..bd95739e 100644 --- a/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchJobs.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchJobs.java @@ -1,18 +1,3 @@ -/* - * 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/osconfig/v1beta/patch_jobs.proto @@ -20,144 +5,112 @@ public final class PatchJobs { private PatchJobs() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { } - public interface ExecutePatchJobRequestOrBuilder - extends + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface ExecutePatchJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ExecutePatchJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The project in which to run this patch in the form `projects/*`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
      * Required. The project in which to run this patch in the form `projects/*`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * Required. Instances to patch, either explicitly or filtered by some criteria such
      * as zone or labels.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceFilter field is set. */ boolean hasInstanceFilter(); /** - * - * *
      * Required. Instances to patch, either explicitly or filtered by some criteria such
      * as zone or labels.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceFilter. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanceFilter(); /** - * - * *
      * Required. Instances to patch, either explicitly or filtered by some criteria such
      * as zone or labels.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder - getInstanceFilterOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder(); /** - * - * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4; - * * @return Whether the patchConfig field is set. */ boolean hasPatchConfig(); /** - * - * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4; - * * @return The patchConfig. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig(); /** - * - * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
@@ -168,34 +121,26 @@ public interface ExecutePatchJobRequestOrBuilder
     com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder();
 
     /**
-     *
-     *
      * 
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
      * 
* * .google.protobuf.Duration duration = 5; - * * @return Whether the duration field is set. */ boolean hasDuration(); /** - * - * *
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
      * 
* * .google.protobuf.Duration duration = 5; - * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** - * - * *
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
@@ -206,71 +151,55 @@ public interface ExecutePatchJobRequestOrBuilder
     com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
     /**
-     *
-     *
      * 
      * If this patch is a dry-run only, instances are contacted but
      * will do nothing.
      * 
* * bool dry_run = 6; - * * @return The dryRun. */ boolean getDryRun(); /** - * - * *
      * Display name for this patch job. This does not have to be unique.
      * 
* * string display_name = 8; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
      * Display name for this patch job. This does not have to be unique.
      * 
* * string display_name = 8; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
      * Rollout strategy of the patch job.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 9; - * * @return Whether the rollout field is set. */ boolean hasRollout(); /** - * - * *
      * Rollout strategy of the patch job.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 9; - * * @return The rollout. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getRollout(); /** - * - * *
      * Rollout strategy of the patch job.
      * 
@@ -280,24 +209,21 @@ public interface ExecutePatchJobRequestOrBuilder com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder(); } /** - * - * *
    * A request message to initiate patching across Compute Engine instances.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ExecutePatchJobRequest} */ - public static final class ExecutePatchJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ExecutePatchJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ExecutePatchJobRequest) ExecutePatchJobRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecutePatchJobRequest.newBuilder() to construct. private ExecutePatchJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExecutePatchJobRequest() { parent_ = ""; description_ = ""; @@ -306,15 +232,16 @@ private ExecutePatchJobRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExecutePatchJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExecutePatchJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -333,106 +260,88 @@ private ExecutePatchJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; + description_ = s; + break; + } + case 34: { + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder subBuilder = null; + if (patchConfig_ != null) { + subBuilder = patchConfig_.toBuilder(); } - case 34: - { - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder subBuilder = null; - if (patchConfig_ != null) { - subBuilder = patchConfig_.toBuilder(); - } - patchConfig_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(patchConfig_); - patchConfig_ = subBuilder.buildPartial(); - } - - break; + patchConfig_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(patchConfig_); + patchConfig_ = subBuilder.buildPartial(); } - case 42: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (duration_ != null) { - subBuilder = duration_.toBuilder(); - } - duration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(duration_); - duration_ = subBuilder.buildPartial(); - } - break; + break; + } + case 42: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (duration_ != null) { + subBuilder = duration_.toBuilder(); } - case 48: - { - dryRun_ = input.readBool(); - break; + duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(duration_); + duration_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder subBuilder = - null; - if (instanceFilter_ != null) { - subBuilder = instanceFilter_.toBuilder(); - } - instanceFilter_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(instanceFilter_); - instanceFilter_ = subBuilder.buildPartial(); - } - break; - } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 48: { - displayName_ = s; - break; + dryRun_ = input.readBool(); + break; + } + case 58: { + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder subBuilder = null; + if (instanceFilter_ != null) { + subBuilder = instanceFilter_.toBuilder(); + } + instanceFilter_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(instanceFilter_); + instanceFilter_ = subBuilder.buildPartial(); } - case 74: - { - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder subBuilder = null; - if (rollout_ != null) { - subBuilder = rollout_.toBuilder(); - } - rollout_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rollout_); - rollout_ = subBuilder.buildPartial(); - } - break; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; + } + case 74: { + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder subBuilder = null; + if (rollout_ != null) { + subBuilder = rollout_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + rollout_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rollout_); + rollout_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -440,39 +349,34 @@ private ExecutePatchJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.class, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
      * Required. The project in which to run this patch in the form `projects/*`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -481,29 +385,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
      * Required. The project in which to run this patch in the form `projects/*`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -514,15 +418,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -531,30 +432,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -565,17 +466,12 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int INSTANCE_FILTER_FIELD_NUMBER = 7; private com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter instanceFilter_; /** - * - * *
      * Required. Instances to patch, either explicitly or filtered by some criteria such
      * as zone or labels.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceFilter field is set. */ @java.lang.Override @@ -583,55 +479,40 @@ public boolean hasInstanceFilter() { return instanceFilter_ != null; } /** - * - * *
      * Required. Instances to patch, either explicitly or filtered by some criteria such
      * as zone or labels.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceFilter. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanceFilter() { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; } /** - * - * *
      * Required. Instances to patch, either explicitly or filtered by some criteria such
      * as zone or labels.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder - getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { return getInstanceFilter(); } public static final int PATCH_CONFIG_FIELD_NUMBER = 4; private com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig patchConfig_; /** - * - * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4; - * * @return Whether the patchConfig field is set. */ @java.lang.Override @@ -639,26 +520,19 @@ public boolean hasPatchConfig() { return patchConfig_ != null; } /** - * - * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4; - * * @return The patchConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig() { - return patchConfig_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() - : patchConfig_; + return patchConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; } /** - * - * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
@@ -667,23 +541,19 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig() {
      * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder
-        getPatchConfigOrBuilder() {
+    public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder() {
       return getPatchConfig();
     }
 
     public static final int DURATION_FIELD_NUMBER = 5;
     private com.google.protobuf.Duration duration_;
     /**
-     *
-     *
      * 
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
      * 
* * .google.protobuf.Duration duration = 5; - * * @return Whether the duration field is set. */ @java.lang.Override @@ -691,15 +561,12 @@ public boolean hasDuration() { return duration_ != null; } /** - * - * *
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
      * 
* * .google.protobuf.Duration duration = 5; - * * @return The duration. */ @java.lang.Override @@ -707,8 +574,6 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** - * - * *
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
@@ -724,15 +589,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
     public static final int DRY_RUN_FIELD_NUMBER = 6;
     private boolean dryRun_;
     /**
-     *
-     *
      * 
      * If this patch is a dry-run only, instances are contacted but
      * will do nothing.
      * 
* * bool dry_run = 6; - * * @return The dryRun. */ @java.lang.Override @@ -743,14 +605,11 @@ public boolean getDryRun() { public static final int DISPLAY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object displayName_; /** - * - * *
      * Display name for this patch job. This does not have to be unique.
      * 
* * string display_name = 8; - * * @return The displayName. */ @java.lang.Override @@ -759,29 +618,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
      * Display name for this patch job. This does not have to be unique.
      * 
* * string display_name = 8; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -792,14 +651,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int ROLLOUT_FIELD_NUMBER = 9; private com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout rollout_; /** - * - * *
      * Rollout strategy of the patch job.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 9; - * * @return Whether the rollout field is set. */ @java.lang.Override @@ -807,25 +663,18 @@ public boolean hasRollout() { return rollout_ != null; } /** - * - * *
      * Rollout strategy of the patch job.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 9; - * * @return The rollout. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getRollout() { - return rollout_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; } /** - * - * *
      * Rollout strategy of the patch job.
      * 
@@ -838,7 +687,6 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRollo } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -850,7 +698,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -891,22 +740,27 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (patchConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPatchConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getPatchConfig()); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getDuration()); } if (dryRun_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, dryRun_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, dryRun_); } if (instanceFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getInstanceFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getInstanceFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, displayName_); } if (rollout_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getRollout()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getRollout()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -916,33 +770,40 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest other = - (com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest other = (com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (hasInstanceFilter() != other.hasInstanceFilter()) return false; if (hasInstanceFilter()) { - if (!getInstanceFilter().equals(other.getInstanceFilter())) return false; + if (!getInstanceFilter() + .equals(other.getInstanceFilter())) return false; } if (hasPatchConfig() != other.hasPatchConfig()) return false; if (hasPatchConfig()) { - if (!getPatchConfig().equals(other.getPatchConfig())) return false; + if (!getPatchConfig() + .equals(other.getPatchConfig())) return false; } if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration().equals(other.getDuration())) return false; + if (!getDuration() + .equals(other.getDuration())) return false; } - if (getDryRun() != other.getDryRun()) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (getDryRun() + != other.getDryRun()) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (hasRollout() != other.hasRollout()) return false; if (hasRollout()) { - if (!getRollout().equals(other.getRollout())) return false; + if (!getRollout() + .equals(other.getRollout())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -972,7 +833,8 @@ public int hashCode() { hash = (53 * hash) + getDuration().hashCode(); } hash = (37 * hash) + DRY_RUN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDryRun()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDryRun()); hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; hash = (53 * hash) + getDisplayName().hashCode(); if (hasRollout()) { @@ -985,95 +847,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest 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.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest - 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.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest 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.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1083,49 +937,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message to initiate patching across Compute Engine instances.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ExecutePatchJobRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ExecutePatchJobRequest) com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.class, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1165,16 +1014,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.getDefaultInstance(); } @java.lang.Override @@ -1188,8 +1035,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest build() @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest result = - new com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest(this); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest result = new com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest(this); result.parent_ = parent_; result.description_ = description_; if (instanceFilterBuilder_ == null) { @@ -1222,53 +1068,46 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest other) { - if (other - == com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest other) { + if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -1315,9 +1154,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1329,20 +1166,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1351,21 +1186,20 @@ public java.lang.String getParent() { } } /** - * - * *
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1373,61 +1207,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1435,21 +1262,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1458,22 +1283,21 @@ public java.lang.String getDescription() { } } /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1481,64 +1305,57 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1546,64 +1363,44 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter instanceFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> - instanceFilterBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> instanceFilterBuilder_; /** - * - * *
        * Required. Instances to patch, either explicitly or filtered by some criteria such
        * as zone or labels.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceFilter field is set. */ public boolean hasInstanceFilter() { return instanceFilterBuilder_ != null || instanceFilter_ != null; } /** - * - * *
        * Required. Instances to patch, either explicitly or filtered by some criteria such
        * as zone or labels.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceFilter. */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanceFilter() { if (instanceFilterBuilder_ == null) { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; } else { return instanceFilterBuilder_.getMessage(); } } /** - * - * *
        * Required. Instances to patch, either explicitly or filtered by some criteria such
        * as zone or labels.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstanceFilter( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { + public Builder setInstanceFilter(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1617,16 +1414,12 @@ public Builder setInstanceFilter( return this; } /** - * - * *
        * Required. Instances to patch, either explicitly or filtered by some criteria such
        * as zone or labels.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstanceFilter( com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder builderForValue) { @@ -1640,26 +1433,18 @@ public Builder setInstanceFilter( return this; } /** - * - * *
        * Required. Instances to patch, either explicitly or filtered by some criteria such
        * as zone or labels.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeInstanceFilter( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { + public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (instanceFilter_ != null) { instanceFilter_ = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.newBuilder( - instanceFilter_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.newBuilder(instanceFilter_).mergeFrom(value).buildPartial(); } else { instanceFilter_ = value; } @@ -1671,16 +1456,12 @@ public Builder mergeInstanceFilter( return this; } /** - * - * *
        * Required. Instances to patch, either explicitly or filtered by some criteria such
        * as zone or labels.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstanceFilter() { if (instanceFilterBuilder_ == null) { @@ -1694,69 +1475,51 @@ public Builder clearInstanceFilter() { return this; } /** - * - * *
        * Required. Instances to patch, either explicitly or filtered by some criteria such
        * as zone or labels.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder - getInstanceFilterBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder() { + onChanged(); return getInstanceFilterFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Instances to patch, either explicitly or filtered by some criteria such
        * as zone or labels.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder - getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { if (instanceFilterBuilder_ != null) { return instanceFilterBuilder_.getMessageOrBuilder(); } else { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; } } /** - * - * *
        * Required. Instances to patch, either explicitly or filtered by some criteria such
        * as zone or labels.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> getInstanceFilterFieldBuilder() { if (instanceFilterBuilder_ == null) { - instanceFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder>( - getInstanceFilter(), getParentForChildren(), isClean()); + instanceFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder>( + getInstanceFilter(), + getParentForChildren(), + isClean()); instanceFilter_ = null; } return instanceFilterBuilder_; @@ -1764,49 +1527,36 @@ public Builder clearInstanceFilter() { private com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig patchConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> - patchConfigBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> patchConfigBuilder_; /** - * - * *
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4; - * * @return Whether the patchConfig field is set. */ public boolean hasPatchConfig() { return patchConfigBuilder_ != null || patchConfig_ != null; } /** - * - * *
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4; - * * @return The patchConfig. */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig() { if (patchConfigBuilder_ == null) { - return patchConfig_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() - : patchConfig_; + return patchConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; } else { return patchConfigBuilder_.getMessage(); } } /** - * - * *
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1828,8 +1578,6 @@ public Builder setPatchConfig(com.google.cloud.osconfig.v1beta.PatchJobs.PatchCo
         return this;
       }
       /**
-       *
-       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1849,8 +1597,6 @@ public Builder setPatchConfig(
         return this;
       }
       /**
-       *
-       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1858,14 +1604,11 @@ public Builder setPatchConfig(
        *
        * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4;
        */
-      public Builder mergePatchConfig(
-          com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig value) {
+      public Builder mergePatchConfig(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig value) {
         if (patchConfigBuilder_ == null) {
           if (patchConfig_ != null) {
             patchConfig_ =
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.newBuilder(patchConfig_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.newBuilder(patchConfig_).mergeFrom(value).buildPartial();
           } else {
             patchConfig_ = value;
           }
@@ -1877,8 +1620,6 @@ public Builder mergePatchConfig(
         return this;
       }
       /**
-       *
-       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1898,8 +1639,6 @@ public Builder clearPatchConfig() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1907,15 +1646,12 @@ public Builder clearPatchConfig() {
        *
        * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4;
        */
-      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder
-          getPatchConfigBuilder() {
-
+      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder getPatchConfigBuilder() {
+        
         onChanged();
         return getPatchConfigFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1923,19 +1659,15 @@ public Builder clearPatchConfig() {
        *
        * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4;
        */
-      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder
-          getPatchConfigOrBuilder() {
+      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder() {
         if (patchConfigBuilder_ != null) {
           return patchConfigBuilder_.getMessageOrBuilder();
         } else {
-          return patchConfig_ == null
-              ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance()
-              : patchConfig_;
+          return patchConfig_ == null ?
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_;
         }
       }
       /**
-       *
-       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1944,17 +1676,14 @@ public Builder clearPatchConfig() {
        * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig,
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder,
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder>
+          com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> 
           getPatchConfigFieldBuilder() {
         if (patchConfigBuilder_ == null) {
-          patchConfigBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig,
-                  com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder,
-                  com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder>(
-                  getPatchConfig(), getParentForChildren(), isClean());
+          patchConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder>(
+                  getPatchConfig(),
+                  getParentForChildren(),
+                  isClean());
           patchConfig_ = null;
         }
         return patchConfigBuilder_;
@@ -1962,35 +1691,26 @@ public Builder clearPatchConfig() {
 
       private com.google.protobuf.Duration duration_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
-          durationBuilder_;
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_;
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
        * 
* * .google.protobuf.Duration duration = 5; - * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** - * - * *
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
        * 
* * .google.protobuf.Duration duration = 5; - * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -2001,8 +1721,6 @@ public com.google.protobuf.Duration getDuration() { } } /** - * - * *
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -2024,8 +1742,6 @@ public Builder setDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -2033,7 +1749,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration duration = 5;
        */
-      public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setDuration(
+          com.google.protobuf.Duration.Builder builderForValue) {
         if (durationBuilder_ == null) {
           duration_ = builderForValue.build();
           onChanged();
@@ -2044,8 +1761,6 @@ public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -2057,7 +1772,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
         if (durationBuilder_ == null) {
           if (duration_ != null) {
             duration_ =
-                com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
           } else {
             duration_ = value;
           }
@@ -2069,8 +1784,6 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -2090,8 +1803,6 @@ public Builder clearDuration() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -2100,13 +1811,11 @@ public Builder clearDuration() {
        * .google.protobuf.Duration duration = 5;
        */
       public com.google.protobuf.Duration.Builder getDurationBuilder() {
-
+        
         onChanged();
         return getDurationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -2118,12 +1827,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
         if (durationBuilder_ != null) {
           return durationBuilder_.getMessageOrBuilder();
         } else {
-          return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
+          return duration_ == null ?
+              com.google.protobuf.Duration.getDefaultInstance() : duration_;
         }
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -2132,33 +1840,27 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
        * .google.protobuf.Duration duration = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
           getDurationFieldBuilder() {
         if (durationBuilder_ == null) {
-          durationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>(
-                  getDuration(), getParentForChildren(), isClean());
+          durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                  getDuration(),
+                  getParentForChildren(),
+                  isClean());
           duration_ = null;
         }
         return durationBuilder_;
       }
 
-      private boolean dryRun_;
+      private boolean dryRun_ ;
       /**
-       *
-       *
        * 
        * If this patch is a dry-run only, instances are contacted but
        * will do nothing.
        * 
* * bool dry_run = 6; - * * @return The dryRun. */ @java.lang.Override @@ -2166,38 +1868,32 @@ public boolean getDryRun() { return dryRun_; } /** - * - * *
        * If this patch is a dry-run only, instances are contacted but
        * will do nothing.
        * 
* * bool dry_run = 6; - * * @param value The dryRun to set. * @return This builder for chaining. */ public Builder setDryRun(boolean value) { - + dryRun_ = value; onChanged(); return this; } /** - * - * *
        * If this patch is a dry-run only, instances are contacted but
        * will do nothing.
        * 
* * bool dry_run = 6; - * * @return This builder for chaining. */ public Builder clearDryRun() { - + dryRun_ = false; onChanged(); return this; @@ -2205,20 +1901,18 @@ public Builder clearDryRun() { private java.lang.Object displayName_ = ""; /** - * - * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2227,21 +1921,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -2249,61 +1942,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2311,47 +1997,34 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout rollout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> - rolloutBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> rolloutBuilder_; /** - * - * *
        * Rollout strategy of the patch job.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 9; - * * @return Whether the rollout field is set. */ public boolean hasRollout() { return rolloutBuilder_ != null || rollout_ != null; } /** - * - * *
        * Rollout strategy of the patch job.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 9; - * * @return The rollout. */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getRollout() { if (rolloutBuilder_ == null) { - return rollout_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; } else { return rolloutBuilder_.getMessage(); } } /** - * - * *
        * Rollout strategy of the patch job.
        * 
@@ -2372,8 +2045,6 @@ public Builder setRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollou return this; } /** - * - * *
        * Rollout strategy of the patch job.
        * 
@@ -2392,8 +2063,6 @@ public Builder setRollout( return this; } /** - * - * *
        * Rollout strategy of the patch job.
        * 
@@ -2404,9 +2073,7 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRoll if (rolloutBuilder_ == null) { if (rollout_ != null) { rollout_ = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.newBuilder(rollout_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.newBuilder(rollout_).mergeFrom(value).buildPartial(); } else { rollout_ = value; } @@ -2418,8 +2085,6 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRoll return this; } /** - * - * *
        * Rollout strategy of the patch job.
        * 
@@ -2438,8 +2103,6 @@ public Builder clearRollout() { return this; } /** - * - * *
        * Rollout strategy of the patch job.
        * 
@@ -2447,32 +2110,26 @@ public Builder clearRollout() { * .google.cloud.osconfig.v1beta.PatchRollout rollout = 9; */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder getRolloutBuilder() { - + onChanged(); return getRolloutFieldBuilder().getBuilder(); } /** - * - * *
        * Rollout strategy of the patch job.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 9; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder - getRolloutOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder() { if (rolloutBuilder_ != null) { return rolloutBuilder_.getMessageOrBuilder(); } else { - return rollout_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; } } /** - * - * *
        * Rollout strategy of the patch job.
        * 
@@ -2480,22 +2137,18 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder getRollou * .google.cloud.osconfig.v1beta.PatchRollout rollout = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> getRolloutFieldBuilder() { if (rolloutBuilder_ == null) { - rolloutBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder>( - getRollout(), getParentForChildren(), isClean()); + rolloutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder>( + getRollout(), + getParentForChildren(), + isClean()); rollout_ = null; } return rolloutBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2508,32 +2161,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ExecutePatchJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ExecutePatchJobRequest) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutePatchJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutePatchJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutePatchJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecutePatchJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2545,76 +2196,68 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GetPatchJobRequestOrBuilder - extends + public interface GetPatchJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.GetPatchJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * Request to get an active or completed patch job.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GetPatchJobRequest} */ - public static final class GetPatchJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GetPatchJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.GetPatchJobRequest) GetPatchJobRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPatchJobRequest.newBuilder() to construct. private GetPatchJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPatchJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPatchJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetPatchJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2633,20 +2276,19 @@ private GetPatchJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2654,39 +2296,34 @@ private GetPatchJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.class, - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -2695,29 +2332,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2726,7 +2363,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2738,7 +2374,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -2762,15 +2399,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest other = - (com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest other = (com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2790,94 +2427,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest 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.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2887,32 +2517,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Request to get an active or completed patch job.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GetPatchJobRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.GetPatchJobRequest) com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.class, - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.newBuilder() @@ -2920,15 +2545,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2938,14 +2564,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest getDefaultInstanceForType() { return com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.getDefaultInstance(); } @@ -2960,8 +2585,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest result = - new com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest(this); + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest result = new com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -2971,52 +2595,46 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.GetPatchJobRequest) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest other) { - if (other - == com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest other) { + if (other == com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -3040,9 +2658,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3054,20 +2670,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -3076,21 +2690,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3098,66 +2711,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3170,32 +2775,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.GetPatchJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.GetPatchJobRequest) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPatchJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPatchJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPatchJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPatchJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3207,85 +2810,69 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListPatchJobInstanceDetailsRequestOrBuilder - extends + public interface ListPatchJobInstanceDetailsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
      * Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
      * The maximum number of instance details records to return.  Default is 100.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
      * A filter expression that filters results listed in the response. This
      * field supports filtering results by instance zone, name, state, or
@@ -3293,13 +2880,10 @@ public interface ListPatchJobInstanceDetailsRequestOrBuilder
      * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
      * A filter expression that filters results listed in the response. This
      * field supports filtering results by instance zone, name, state, or
@@ -3307,32 +2891,27 @@ public interface ListPatchJobInstanceDetailsRequestOrBuilder
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } /** - * - * *
    * Request to list details for all instances that are part of a patch job.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsRequest} */ - public static final class ListPatchJobInstanceDetailsRequest - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListPatchJobInstanceDetailsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsRequest) ListPatchJobInstanceDetailsRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchJobInstanceDetailsRequest.newBuilder() to construct. - private ListPatchJobInstanceDetailsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListPatchJobInstanceDetailsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPatchJobInstanceDetailsRequest() { parent_ = ""; pageToken_ = ""; @@ -3341,15 +2920,16 @@ private ListPatchJobInstanceDetailsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPatchJobInstanceDetailsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPatchJobInstanceDetailsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3368,39 +2948,36 @@ private ListPatchJobInstanceDetailsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3408,40 +2985,34 @@ private ListPatchJobInstanceDetailsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.class, - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.Builder - .class); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
      * Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -3450,29 +3021,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
      * Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -3483,14 +3054,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
      * The maximum number of instance details records to return.  Default is 100.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -3501,15 +3069,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -3518,30 +3083,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -3552,8 +3117,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
      * A filter expression that filters results listed in the response. This
      * field supports filtering results by instance zone, name, state, or
@@ -3561,7 +3124,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -3570,15 +3132,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
      * A filter expression that filters results listed in the response. This
      * field supports filtering results by instance zone, name, state, or
@@ -3586,15 +3147,16 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -3603,7 +3165,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3615,7 +3176,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -3641,7 +3203,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -3657,20 +3220,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest other = - (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest other = (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3695,101 +3259,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3799,50 +3350,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Request to list details for all instances that are part of a patch job.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsRequest) com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.class, - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - .Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3858,22 +3403,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest build() { - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest result = - buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3881,10 +3423,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsReq } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest result = - new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest(this); + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest buildPartial() { + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest result = new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -3897,56 +3437,46 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest) { + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest other) { - if (other - == com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest other) { + if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -3977,14 +3507,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - parsedMessage = null; + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3996,20 +3523,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
        * Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -4018,21 +3543,20 @@ public java.lang.String getParent() { } } /** - * - * *
        * Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -4040,76 +3564,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
        * Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
        * Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
        * Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
        * The maximum number of instance details records to return.  Default is 100.
        * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -4117,36 +3631,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
        * The maximum number of instance details records to return.  Default is 100.
        * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
        * The maximum number of instance details records to return.  Default is 100.
        * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -4154,21 +3662,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -4177,22 +3683,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -4200,64 +3705,57 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -4265,8 +3763,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -4274,13 +3770,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
        * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -4289,8 +3785,6 @@ public java.lang.String getFilter() { } } /** - * - * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -4298,14 +3792,15 @@ public java.lang.String getFilter() {
        * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -4313,8 +3808,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -4322,22 +3815,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
        * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -4345,18 +3836,15 @@ public Builder setFilter(java.lang.String value) {
        * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -4364,21 +3852,20 @@ public Builder clearFilter() {
        * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4391,34 +3878,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsRequest) - private static final com.google.cloud.osconfig.v1beta.PatchJobs - .ListPatchJobInstanceDetailsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchJobInstanceDetailsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchJobInstanceDetailsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchJobInstanceDetailsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchJobInstanceDetailsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4430,129 +3913,96 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListPatchJobInstanceDetailsResponseOrBuilder - extends + public interface ListPatchJobInstanceDetailsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ - java.util.List + java.util.List getPatchJobInstanceDetailsList(); /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails getPatchJobInstanceDetails( - int index); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails getPatchJobInstanceDetails(int index); /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ int getPatchJobInstanceDetailsCount(); /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ - java.util.List< - ? extends com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder> + java.util.List getPatchJobInstanceDetailsOrBuilderList(); /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder - getPatchJobInstanceDetailsOrBuilder(int index); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder getPatchJobInstanceDetailsOrBuilder( + int index); /** - * - * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } /** - * - * *
    * A response message for listing the instances details for a patch job.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsResponse} */ - public static final class ListPatchJobInstanceDetailsResponse - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListPatchJobInstanceDetailsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsResponse) ListPatchJobInstanceDetailsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchJobInstanceDetailsResponse.newBuilder() to construct. - private ListPatchJobInstanceDetailsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListPatchJobInstanceDetailsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPatchJobInstanceDetailsResponse() { patchJobInstanceDetails_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -4560,15 +4010,16 @@ private ListPatchJobInstanceDetailsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPatchJobInstanceDetailsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPatchJobInstanceDetailsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4588,34 +4039,28 @@ private ListPatchJobInstanceDetailsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - patchJobInstanceDetails_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails>(); - mutable_bitField0_ |= 0x00000001; - } - patchJobInstanceDetails_.add( - input.readMessage( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + patchJobInstanceDetails_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + patchJobInstanceDetails_.add( + input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4623,128 +4068,97 @@ private ListPatchJobInstanceDetailsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - patchJobInstanceDetails_ = - java.util.Collections.unmodifiableList(patchJobInstanceDetails_); + patchJobInstanceDetails_ = java.util.Collections.unmodifiableList(patchJobInstanceDetails_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.class, - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.Builder - .class); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.class, com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.Builder.class); } public static final int PATCH_JOB_INSTANCE_DETAILS_FIELD_NUMBER = 1; - private java.util.List - patchJobInstanceDetails_; + private java.util.List patchJobInstanceDetails_; /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ @java.lang.Override - public java.util.List - getPatchJobInstanceDetailsList() { + public java.util.List getPatchJobInstanceDetailsList() { return patchJobInstanceDetails_; } /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder> + public java.util.List getPatchJobInstanceDetailsOrBuilderList() { return patchJobInstanceDetails_; } /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ @java.lang.Override public int getPatchJobInstanceDetailsCount() { return patchJobInstanceDetails_.size(); } /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails - getPatchJobInstanceDetails(int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails getPatchJobInstanceDetails(int index) { return patchJobInstanceDetails_.get(index); } /** - * - * *
      * A list of instance status.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder - getPatchJobInstanceDetailsOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder getPatchJobInstanceDetailsOrBuilder( + int index) { return patchJobInstanceDetails_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -4753,29 +4167,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -4784,7 +4198,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4796,7 +4209,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < patchJobInstanceDetails_.size(); i++) { output.writeMessage(1, patchJobInstanceDetails_.get(i)); } @@ -4813,9 +4227,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < patchJobInstanceDetails_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, patchJobInstanceDetails_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, patchJobInstanceDetails_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -4828,19 +4241,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse other = - (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse other = (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse) obj; - if (!getPatchJobInstanceDetailsList().equals(other.getPatchJobInstanceDetailsList())) - return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPatchJobInstanceDetailsList() + .equals(other.getPatchJobInstanceDetailsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4863,101 +4274,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4967,53 +4365,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A response message for listing the instances details for a patch job.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsResponse} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsResponse) com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - .class, - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - .Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.class, com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPatchJobInstanceDetailsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -5029,23 +4419,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - build() { - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse result = - buildPartial(); + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse build() { + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5053,16 +4439,12 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse result = - new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse( - this); + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse buildPartial() { + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse result = new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse(this); int from_bitField0_ = bitField0_; if (patchJobInstanceDetailsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - patchJobInstanceDetails_ = - java.util.Collections.unmodifiableList(patchJobInstanceDetails_); + patchJobInstanceDetails_ = java.util.Collections.unmodifiableList(patchJobInstanceDetails_); bitField0_ = (bitField0_ & ~0x00000001); } result.patchJobInstanceDetails_ = patchJobInstanceDetails_; @@ -5078,56 +4460,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse) - other); + if (other instanceof com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse) { + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse other) { - if (other - == com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse other) { + if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.getDefaultInstance()) return this; if (patchJobInstanceDetailsBuilder_ == null) { if (!other.patchJobInstanceDetails_.isEmpty()) { if (patchJobInstanceDetails_.isEmpty()) { @@ -5146,10 +4518,9 @@ public Builder mergeFrom( patchJobInstanceDetailsBuilder_ = null; patchJobInstanceDetails_ = other.patchJobInstanceDetails_; bitField0_ = (bitField0_ & ~0x00000001); - patchJobInstanceDetailsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPatchJobInstanceDetailsFieldBuilder() - : null; + patchJobInstanceDetailsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPatchJobInstanceDetailsFieldBuilder() : null; } else { patchJobInstanceDetailsBuilder_.addAllMessages(other.patchJobInstanceDetails_); } @@ -5174,14 +4545,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - parsedMessage = null; + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5190,41 +4558,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - patchJobInstanceDetails_ = java.util.Collections.emptyList(); - + private java.util.List patchJobInstanceDetails_ = + java.util.Collections.emptyList(); private void ensurePatchJobInstanceDetailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - patchJobInstanceDetails_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails>( - patchJobInstanceDetails_); + patchJobInstanceDetails_ = new java.util.ArrayList(patchJobInstanceDetails_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder> - patchJobInstanceDetailsBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder> patchJobInstanceDetailsBuilder_; /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ - public java.util.List - getPatchJobInstanceDetailsList() { + public java.util.List getPatchJobInstanceDetailsList() { if (patchJobInstanceDetailsBuilder_ == null) { return java.util.Collections.unmodifiableList(patchJobInstanceDetails_); } else { @@ -5232,15 +4587,11 @@ private void ensurePatchJobInstanceDetailsIsMutable() { } } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ public int getPatchJobInstanceDetailsCount() { if (patchJobInstanceDetailsBuilder_ == null) { @@ -5250,18 +4601,13 @@ public int getPatchJobInstanceDetailsCount() { } } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails - getPatchJobInstanceDetails(int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails getPatchJobInstanceDetails(int index) { if (patchJobInstanceDetailsBuilder_ == null) { return patchJobInstanceDetails_.get(index); } else { @@ -5269,15 +4615,11 @@ public int getPatchJobInstanceDetailsCount() { } } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ public Builder setPatchJobInstanceDetails( int index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails value) { @@ -5294,20 +4636,14 @@ public Builder setPatchJobInstanceDetails( return this; } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ public Builder setPatchJobInstanceDetails( - int index, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder builderForValue) { if (patchJobInstanceDetailsBuilder_ == null) { ensurePatchJobInstanceDetailsIsMutable(); patchJobInstanceDetails_.set(index, builderForValue.build()); @@ -5318,18 +4654,13 @@ public Builder setPatchJobInstanceDetails( return this; } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ - public Builder addPatchJobInstanceDetails( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails value) { + public Builder addPatchJobInstanceDetails(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails value) { if (patchJobInstanceDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5343,15 +4674,11 @@ public Builder addPatchJobInstanceDetails( return this; } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ public Builder addPatchJobInstanceDetails( int index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails value) { @@ -5368,19 +4695,14 @@ public Builder addPatchJobInstanceDetails( return this; } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ public Builder addPatchJobInstanceDetails( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder builderForValue) { if (patchJobInstanceDetailsBuilder_ == null) { ensurePatchJobInstanceDetailsIsMutable(); patchJobInstanceDetails_.add(builderForValue.build()); @@ -5391,20 +4713,14 @@ public Builder addPatchJobInstanceDetails( return this; } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ public Builder addPatchJobInstanceDetails( - int index, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder builderForValue) { if (patchJobInstanceDetailsBuilder_ == null) { ensurePatchJobInstanceDetailsIsMutable(); patchJobInstanceDetails_.add(index, builderForValue.build()); @@ -5415,23 +4731,18 @@ public Builder addPatchJobInstanceDetails( return this; } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ public Builder addAllPatchJobInstanceDetails( - java.lang.Iterable< - ? extends com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails> - values) { + java.lang.Iterable values) { if (patchJobInstanceDetailsBuilder_ == null) { ensurePatchJobInstanceDetailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, patchJobInstanceDetails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, patchJobInstanceDetails_); onChanged(); } else { patchJobInstanceDetailsBuilder_.addAllMessages(values); @@ -5439,15 +4750,11 @@ public Builder addAllPatchJobInstanceDetails( return this; } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ public Builder clearPatchJobInstanceDetails() { if (patchJobInstanceDetailsBuilder_ == null) { @@ -5460,15 +4767,11 @@ public Builder clearPatchJobInstanceDetails() { return this; } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ public Builder removePatchJobInstanceDetails(int index) { if (patchJobInstanceDetailsBuilder_ == null) { @@ -5481,53 +4784,39 @@ public Builder removePatchJobInstanceDetails(int index) { return this; } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder - getPatchJobInstanceDetailsBuilder(int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder getPatchJobInstanceDetailsBuilder( + int index) { return getPatchJobInstanceDetailsFieldBuilder().getBuilder(index); } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder - getPatchJobInstanceDetailsOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder getPatchJobInstanceDetailsOrBuilder( + int index) { if (patchJobInstanceDetailsBuilder_ == null) { - return patchJobInstanceDetails_.get(index); - } else { + return patchJobInstanceDetails_.get(index); } else { return patchJobInstanceDetailsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ - public java.util.List< - ? extends com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder> - getPatchJobInstanceDetailsOrBuilderList() { + public java.util.List + getPatchJobInstanceDetailsOrBuilderList() { if (patchJobInstanceDetailsBuilder_ != null) { return patchJobInstanceDetailsBuilder_.getMessageOrBuilderList(); } else { @@ -5535,70 +4824,45 @@ public Builder removePatchJobInstanceDetails(int index) { } } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder - addPatchJobInstanceDetailsBuilder() { - return getPatchJobInstanceDetailsFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails - .getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder addPatchJobInstanceDetailsBuilder() { + return getPatchJobInstanceDetailsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.getDefaultInstance()); } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder - addPatchJobInstanceDetailsBuilder(int index) { - return getPatchJobInstanceDetailsFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails - .getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder addPatchJobInstanceDetailsBuilder( + int index) { + return getPatchJobInstanceDetailsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.getDefaultInstance()); } /** - * - * *
        * A list of instance status.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; - * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; */ - public java.util.List< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder> - getPatchJobInstanceDetailsBuilderList() { + public java.util.List + getPatchJobInstanceDetailsBuilderList() { return getPatchJobInstanceDetailsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder> getPatchJobInstanceDetailsFieldBuilder() { if (patchJobInstanceDetailsBuilder_ == null) { - patchJobInstanceDetailsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder>( + patchJobInstanceDetailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder>( patchJobInstanceDetails_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -5610,20 +4874,18 @@ public Builder removePatchJobInstanceDetails(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -5632,21 +4894,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -5654,66 +4915,58 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5726,34 +4979,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsResponse) - private static final com.google.cloud.osconfig.v1beta.PatchJobs - .ListPatchJobInstanceDetailsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchJobInstanceDetailsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchJobInstanceDetailsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchJobInstanceDetailsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchJobInstanceDetailsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5765,135 +5014,108 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PatchJobInstanceDetailsOrBuilder - extends + public interface PatchJobInstanceDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PatchJobInstanceDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The instance name in the form `projects/*/zones/*/instances/*`
      * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * The instance name in the form `projects/*/zones/*/instances/*`
      * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * The unique identifier for the instance. This identifier is
      * defined by the server.
      * 
* * string instance_system_id = 2; - * * @return The instanceSystemId. */ java.lang.String getInstanceSystemId(); /** - * - * *
      * The unique identifier for the instance. This identifier is
      * defined by the server.
      * 
* * string instance_system_id = 2; - * * @return The bytes for instanceSystemId. */ - com.google.protobuf.ByteString getInstanceSystemIdBytes(); + com.google.protobuf.ByteString + getInstanceSystemIdBytes(); /** - * - * *
      * Current state of instance patch.
      * 
* * .google.cloud.osconfig.v1beta.Instance.PatchState state = 3; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
      * Current state of instance patch.
      * 
* * .google.cloud.osconfig.v1beta.Instance.PatchState state = 3; - * * @return The state. */ com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState getState(); /** - * - * *
      * If the patch fails, this field provides the reason.
      * 
* * string failure_reason = 4; - * * @return The failureReason. */ java.lang.String getFailureReason(); /** - * - * *
      * If the patch fails, this field provides the reason.
      * 
* * string failure_reason = 4; - * * @return The bytes for failureReason. */ - com.google.protobuf.ByteString getFailureReasonBytes(); + com.google.protobuf.ByteString + getFailureReasonBytes(); /** - * - * *
      * The number of times the agent that the agent attempts to apply the patch.
      * 
* * int64 attempt_count = 5; - * * @return The attemptCount. */ long getAttemptCount(); } /** - * - * *
    * Patch details for a VM instance. For more information about reviewing VM
    * instance details, see
@@ -5903,16 +5125,15 @@ public interface PatchJobInstanceDetailsOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.PatchJobInstanceDetails}
    */
-  public static final class PatchJobInstanceDetails extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PatchJobInstanceDetails extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PatchJobInstanceDetails)
       PatchJobInstanceDetailsOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PatchJobInstanceDetails.newBuilder() to construct.
     private PatchJobInstanceDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PatchJobInstanceDetails() {
       name_ = "";
       instanceSystemId_ = "";
@@ -5922,15 +5143,16 @@ private PatchJobInstanceDetails() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PatchJobInstanceDetails();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PatchJobInstanceDetails(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -5949,46 +5171,42 @@ private PatchJobInstanceDetails(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                name_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                instanceSystemId_ = s;
-                break;
-              }
-            case 24:
-              {
-                int rawValue = input.readEnum();
+              instanceSystemId_ = s;
+              break;
+            }
+            case 24: {
+              int rawValue = input.readEnum();
 
-                state_ = rawValue;
-                break;
-              }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              state_ = rawValue;
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                failureReason_ = s;
-                break;
-              }
-            case 40:
-              {
-                attemptCount_ = input.readInt64();
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              failureReason_ = s;
+              break;
+            }
+            case 40: {
+
+              attemptCount_ = input.readInt64();
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5996,39 +5214,34 @@ private PatchJobInstanceDetails(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs
-          .internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs
-          .internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.class,
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder.class);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object name_;
     /**
-     *
-     *
      * 
      * The instance name in the form `projects/*/zones/*/instances/*`
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -6037,29 +5250,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * The instance name in the form `projects/*/zones/*/instances/*`
      * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -6070,15 +5283,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int INSTANCE_SYSTEM_ID_FIELD_NUMBER = 2; private volatile java.lang.Object instanceSystemId_; /** - * - * *
      * The unique identifier for the instance. This identifier is
      * defined by the server.
      * 
* * string instance_system_id = 2; - * * @return The instanceSystemId. */ @java.lang.Override @@ -6087,30 +5297,30 @@ public java.lang.String getInstanceSystemId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceSystemId_ = s; return s; } } /** - * - * *
      * The unique identifier for the instance. This identifier is
      * defined by the server.
      * 
* * string instance_system_id = 2; - * * @return The bytes for instanceSystemId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceSystemIdBytes() { + public com.google.protobuf.ByteString + getInstanceSystemIdBytes() { java.lang.Object ref = instanceSystemId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceSystemId_ = b; return b; } else { @@ -6121,52 +5331,38 @@ public com.google.protobuf.ByteString getInstanceSystemIdBytes() { public static final int STATE_FIELD_NUMBER = 3; private int state_; /** - * - * *
      * Current state of instance patch.
      * 
* * .google.cloud.osconfig.v1beta.Instance.PatchState state = 3; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Current state of instance patch.
      * 
* * .google.cloud.osconfig.v1beta.Instance.PatchState state = 3; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState getState() { + @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState result = - com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.valueOf(state_); - return result == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState result = com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.UNRECOGNIZED : result; } public static final int FAILURE_REASON_FIELD_NUMBER = 4; private volatile java.lang.Object failureReason_; /** - * - * *
      * If the patch fails, this field provides the reason.
      * 
* * string failure_reason = 4; - * * @return The failureReason. */ @java.lang.Override @@ -6175,29 +5371,29 @@ public java.lang.String getFailureReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failureReason_ = s; return s; } } /** - * - * *
      * If the patch fails, this field provides the reason.
      * 
* * string failure_reason = 4; - * * @return The bytes for failureReason. */ @java.lang.Override - public com.google.protobuf.ByteString getFailureReasonBytes() { + public com.google.protobuf.ByteString + getFailureReasonBytes() { java.lang.Object ref = failureReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); failureReason_ = b; return b; } else { @@ -6208,14 +5404,11 @@ public com.google.protobuf.ByteString getFailureReasonBytes() { public static final int ATTEMPT_COUNT_FIELD_NUMBER = 5; private long attemptCount_; /** - * - * *
      * The number of times the agent that the agent attempts to apply the patch.
      * 
* * int64 attempt_count = 5; - * * @return The attemptCount. */ @java.lang.Override @@ -6224,7 +5417,6 @@ public long getAttemptCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6236,16 +5428,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceSystemId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, instanceSystemId_); } - if (state_ - != com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.PATCH_STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.PATCH_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { @@ -6269,16 +5460,16 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceSystemId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceSystemId_); } - if (state_ - != com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.PATCH_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); + if (state_ != com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.PATCH_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, failureReason_); } if (attemptCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, attemptCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, attemptCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6288,19 +5479,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails other = - (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails other = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails) obj; - if (!getName().equals(other.getName())) return false; - if (!getInstanceSystemId().equals(other.getInstanceSystemId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getInstanceSystemId() + .equals(other.getInstanceSystemId())) return false; if (state_ != other.state_) return false; - if (!getFailureReason().equals(other.getFailureReason())) return false; - if (getAttemptCount() != other.getAttemptCount()) return false; + if (!getFailureReason() + .equals(other.getFailureReason())) return false; + if (getAttemptCount() + != other.getAttemptCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6321,102 +5515,95 @@ public int hashCode() { hash = (37 * hash) + FAILURE_REASON_FIELD_NUMBER; hash = (53 * hash) + getFailureReason().hashCode(); hash = (37 * hash) + ATTEMPT_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAttemptCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getAttemptCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails 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.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails - 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.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails 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.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6426,8 +5613,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Patch details for a VM instance. For more information about reviewing VM
      * instance details, see
@@ -6437,41 +5622,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.PatchJobInstanceDetails}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PatchJobInstanceDetails)
         com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.class,
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.newBuilder()
+      // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -6489,16 +5671,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails
-          getDefaultInstanceForType() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails
-            .getDefaultInstance();
+      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails getDefaultInstanceForType() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -6512,8 +5692,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails build(
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails result =
-            new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails(this);
+        com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails result = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails(this);
         result.name_ = name_;
         result.instanceSystemId_ = instanceSystemId_;
         result.state_ = state_;
@@ -6527,53 +5706,46 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails buildP
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails) {
-          return mergeFrom(
-              (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails other) {
-        if (other
-            == com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails other) {
+        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.getDefaultInstance()) return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -6611,9 +5783,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -6625,20 +5795,18 @@ public Builder mergeFrom(
 
       private java.lang.Object name_ = "";
       /**
-       *
-       *
        * 
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6647,21 +5815,20 @@ public java.lang.String getName() { } } /** - * - * *
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -6669,61 +5836,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -6731,21 +5891,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceSystemId_ = ""; /** - * - * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; - * * @return The instanceSystemId. */ public java.lang.String getInstanceSystemId() { java.lang.Object ref = instanceSystemId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceSystemId_ = s; return s; @@ -6754,22 +5912,21 @@ public java.lang.String getInstanceSystemId() { } } /** - * - * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; - * * @return The bytes for instanceSystemId. */ - public com.google.protobuf.ByteString getInstanceSystemIdBytes() { + public com.google.protobuf.ByteString + getInstanceSystemIdBytes() { java.lang.Object ref = instanceSystemId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceSystemId_ = b; return b; } else { @@ -6777,64 +5934,57 @@ public com.google.protobuf.ByteString getInstanceSystemIdBytes() { } } /** - * - * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; - * * @param value The instanceSystemId to set. * @return This builder for chaining. */ - public Builder setInstanceSystemId(java.lang.String value) { + public Builder setInstanceSystemId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceSystemId_ = value; onChanged(); return this; } /** - * - * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; - * * @return This builder for chaining. */ public Builder clearInstanceSystemId() { - + instanceSystemId_ = getDefaultInstance().getInstanceSystemId(); onChanged(); return this; } /** - * - * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; - * * @param value The bytes for instanceSystemId to set. * @return This builder for chaining. */ - public Builder setInstanceSystemIdBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceSystemIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceSystemId_ = value; onChanged(); return this; @@ -6842,93 +5992,73 @@ public Builder setInstanceSystemIdBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1beta.Instance.PatchState state = 3; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1beta.Instance.PatchState state = 3; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1beta.Instance.PatchState state = 3; - * * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState result = - com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.valueOf(state_); - return result == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState result = com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.UNRECOGNIZED : result; } /** - * - * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1beta.Instance.PatchState state = 3; - * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState value) { + public Builder setState(com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1beta.Instance.PatchState state = 3; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -6936,20 +6066,18 @@ public Builder clearState() { private java.lang.Object failureReason_ = ""; /** - * - * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; - * * @return The failureReason. */ public java.lang.String getFailureReason() { java.lang.Object ref = failureReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failureReason_ = s; return s; @@ -6958,21 +6086,20 @@ public java.lang.String getFailureReason() { } } /** - * - * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; - * * @return The bytes for failureReason. */ - public com.google.protobuf.ByteString getFailureReasonBytes() { + public com.google.protobuf.ByteString + getFailureReasonBytes() { java.lang.Object ref = failureReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); failureReason_ = b; return b; } else { @@ -6980,76 +6107,66 @@ public com.google.protobuf.ByteString getFailureReasonBytes() { } } /** - * - * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; - * * @param value The failureReason to set. * @return This builder for chaining. */ - public Builder setFailureReason(java.lang.String value) { + public Builder setFailureReason( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + failureReason_ = value; onChanged(); return this; } /** - * - * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; - * * @return This builder for chaining. */ public Builder clearFailureReason() { - + failureReason_ = getDefaultInstance().getFailureReason(); onChanged(); return this; } /** - * - * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; - * * @param value The bytes for failureReason to set. * @return This builder for chaining. */ - public Builder setFailureReasonBytes(com.google.protobuf.ByteString value) { + public Builder setFailureReasonBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + failureReason_ = value; onChanged(); return this; } - private long attemptCount_; + private long attemptCount_ ; /** - * - * *
        * The number of times the agent that the agent attempts to apply the patch.
        * 
* * int64 attempt_count = 5; - * * @return The attemptCount. */ @java.lang.Override @@ -7057,41 +6174,34 @@ public long getAttemptCount() { return attemptCount_; } /** - * - * *
        * The number of times the agent that the agent attempts to apply the patch.
        * 
* * int64 attempt_count = 5; - * * @param value The attemptCount to set. * @return This builder for chaining. */ public Builder setAttemptCount(long value) { - + attemptCount_ = value; onChanged(); return this; } /** - * - * *
        * The number of times the agent that the agent attempts to apply the patch.
        * 
* * int64 attempt_count = 5; - * * @return This builder for chaining. */ public Builder clearAttemptCount() { - + attemptCount_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7104,32 +6214,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PatchJobInstanceDetails) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PatchJobInstanceDetails) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchJobInstanceDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchJobInstanceDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchJobInstanceDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchJobInstanceDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7141,85 +6249,69 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListPatchJobsRequestOrBuilder - extends + public interface ListPatchJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ListPatchJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. In the form of `projects/*`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
      * Required. In the form of `projects/*`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
      * The maximum number of instance status to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
      * If provided, this field specifies the criteria that must be met by patch
      * jobs to be included in the response.
@@ -7227,13 +6319,10 @@ public interface ListPatchJobsRequestOrBuilder
      * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
      * If provided, this field specifies the criteria that must be met by patch
      * jobs to be included in the response.
@@ -7241,30 +6330,27 @@ public interface ListPatchJobsRequestOrBuilder
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } /** - * - * *
    * A request message for listing patch jobs.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchJobsRequest} */ - public static final class ListPatchJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListPatchJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ListPatchJobsRequest) ListPatchJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchJobsRequest.newBuilder() to construct. private ListPatchJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPatchJobsRequest() { parent_ = ""; pageToken_ = ""; @@ -7273,15 +6359,16 @@ private ListPatchJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPatchJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPatchJobsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7300,39 +6387,36 @@ private ListPatchJobsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7340,39 +6424,34 @@ private ListPatchJobsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.class, - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
      * Required. In the form of `projects/*`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -7381,29 +6460,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
      * Required. In the form of `projects/*`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -7414,14 +6493,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
      * The maximum number of instance status to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -7432,15 +6508,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -7449,30 +6522,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -7483,8 +6556,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
      * If provided, this field specifies the criteria that must be met by patch
      * jobs to be included in the response.
@@ -7492,7 +6563,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -7501,15 +6571,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by patch
      * jobs to be included in the response.
@@ -7517,15 +6586,16 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -7534,7 +6604,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7546,7 +6615,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -7572,7 +6642,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -7588,18 +6659,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest other = - (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest other = (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7625,95 +6699,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest 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.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest - 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.osconfig.v1beta.PatchJobs.ListPatchJobsRequest 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.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7723,49 +6789,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A request message for listing patch jobs.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchJobsRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ListPatchJobsRequest) com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.class, - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -7781,14 +6842,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest getDefaultInstanceForType() { return com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.getDefaultInstance(); } @@ -7803,8 +6863,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest result = - new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest(this); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest result = new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -7817,52 +6876,46 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.ListPatchJobsRequest) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest other) { - if (other - == com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest other) { + if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -7897,9 +6950,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7911,20 +6962,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
        * Required. In the form of `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -7933,21 +6982,20 @@ public java.lang.String getParent() { } } /** - * - * *
        * Required. In the form of `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -7955,76 +7003,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
        * Required. In the form of `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
        * Required. In the form of `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
        * Required. In the form of `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
        * The maximum number of instance status to return.
        * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -8032,36 +7070,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
        * The maximum number of instance status to return.
        * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
        * The maximum number of instance status to return.
        * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -8069,21 +7101,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -8092,22 +7122,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -8115,64 +7144,57 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -8180,8 +7202,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -8189,13 +7209,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
        * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -8204,8 +7224,6 @@ public java.lang.String getFilter() { } } /** - * - * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -8213,14 +7231,15 @@ public java.lang.String getFilter() {
        * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -8228,8 +7247,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -8237,22 +7254,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
        * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -8260,18 +7275,15 @@ public Builder setFilter(java.lang.String value) {
        * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -8279,21 +7291,20 @@ public Builder clearFilter() {
        * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8306,32 +7317,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ListPatchJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ListPatchJobsRequest) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchJobsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchJobsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8343,30 +7352,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListPatchJobsResponseOrBuilder - extends + public interface ListPatchJobsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ListPatchJobsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The list of patch jobs.
      * 
* * repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; */ - java.util.List getPatchJobsList(); + java.util.List + getPatchJobsList(); /** - * - * *
      * The list of patch jobs.
      * 
@@ -8375,8 +7380,6 @@ public interface ListPatchJobsResponseOrBuilder */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob getPatchJobs(int index); /** - * - * *
      * The list of patch jobs.
      * 
@@ -8385,71 +7388,60 @@ public interface ListPatchJobsResponseOrBuilder */ int getPatchJobsCount(); /** - * - * *
      * The list of patch jobs.
      * 
* * repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; */ - java.util.List + java.util.List getPatchJobsOrBuilderList(); /** - * - * *
      * The list of patch jobs.
      * 
* * repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder getPatchJobsOrBuilder(int index); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder getPatchJobsOrBuilder( + int index); /** - * - * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } /** - * - * *
    * A response message for listing patch jobs.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchJobsResponse} */ - public static final class ListPatchJobsResponse extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListPatchJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ListPatchJobsResponse) ListPatchJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchJobsResponse.newBuilder() to construct. private ListPatchJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPatchJobsResponse() { patchJobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -8457,15 +7449,16 @@ private ListPatchJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPatchJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPatchJobsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -8485,34 +7478,28 @@ private ListPatchJobsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - patchJobs_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob>(); - mutable_bitField0_ |= 0x00000001; - } - patchJobs_.add( - input.readMessage( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + patchJobs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + patchJobs_.add( + input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8520,7 +7507,8 @@ private ListPatchJobsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { patchJobs_ = java.util.Collections.unmodifiableList(patchJobs_); @@ -8529,27 +7517,22 @@ private ListPatchJobsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.class, - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.class, com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.Builder.class); } public static final int PATCH_JOBS_FIELD_NUMBER = 1; private java.util.List patchJobs_; /** - * - * *
      * The list of patch jobs.
      * 
@@ -8561,8 +7544,6 @@ public java.util.List getPa return patchJobs_; } /** - * - * *
      * The list of patch jobs.
      * 
@@ -8570,13 +7551,11 @@ public java.util.List getPa * repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPatchJobsOrBuilderList() { return patchJobs_; } /** - * - * *
      * The list of patch jobs.
      * 
@@ -8588,8 +7567,6 @@ public int getPatchJobsCount() { return patchJobs_.size(); } /** - * - * *
      * The list of patch jobs.
      * 
@@ -8601,8 +7578,6 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob getPatchJobs(int inde return patchJobs_.get(index); } /** - * - * *
      * The list of patch jobs.
      * 
@@ -8618,14 +7593,11 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder getPatchJobs public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -8634,29 +7606,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -8665,7 +7637,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8677,7 +7648,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < patchJobs_.size(); i++) { output.writeMessage(1, patchJobs_.get(i)); } @@ -8694,7 +7666,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < patchJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, patchJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, patchJobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -8707,16 +7680,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse other = - (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse other = (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse) obj; - if (!getPatchJobsList().equals(other.getPatchJobsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPatchJobsList() + .equals(other.getPatchJobsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8740,95 +7714,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse 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.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse - 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.osconfig.v1beta.PatchJobs.ListPatchJobsResponse 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.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8838,51 +7804,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A response message for listing patch jobs.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchJobsResponse} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ListPatchJobsResponse) com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.class, - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.class, com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPatchJobsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -8898,16 +7858,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.getDefaultInstance(); } @java.lang.Override @@ -8921,8 +7879,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse build() @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse result = - new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse(this); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse result = new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse(this); int from_bitField0_ = bitField0_; if (patchJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -8942,53 +7899,46 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.ListPatchJobsResponse) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse) other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse other) { - if (other - == com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse other) { + if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.getDefaultInstance()) return this; if (patchJobsBuilder_ == null) { if (!other.patchJobs_.isEmpty()) { if (patchJobs_.isEmpty()) { @@ -9007,10 +7957,9 @@ public Builder mergeFrom( patchJobsBuilder_ = null; patchJobs_ = other.patchJobs_; bitField0_ = (bitField0_ & ~0x00000001); - patchJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPatchJobsFieldBuilder() - : null; + patchJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPatchJobsFieldBuilder() : null; } else { patchJobsBuilder_.addAllMessages(other.patchJobs_); } @@ -9039,9 +7988,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9050,38 +7997,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List patchJobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePatchJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - patchJobs_ = - new java.util.ArrayList( - patchJobs_); + patchJobs_ = new java.util.ArrayList(patchJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder> - patchJobsBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder> patchJobsBuilder_; /** - * - * *
        * The list of patch jobs.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; */ - public java.util.List - getPatchJobsList() { + public java.util.List getPatchJobsList() { if (patchJobsBuilder_ == null) { return java.util.Collections.unmodifiableList(patchJobs_); } else { @@ -9089,8 +8026,6 @@ private void ensurePatchJobsIsMutable() { } } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9105,8 +8040,6 @@ public int getPatchJobsCount() { } } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9121,8 +8054,6 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob getPatchJobs(int inde } } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9144,8 +8075,6 @@ public Builder setPatchJobs( return this; } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9164,8 +8093,6 @@ public Builder setPatchJobs( return this; } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9186,8 +8113,6 @@ public Builder addPatchJobs(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob return this; } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9209,8 +8134,6 @@ public Builder addPatchJobs( return this; } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9229,8 +8152,6 @@ public Builder addPatchJobs( return this; } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9249,8 +8170,6 @@ public Builder addPatchJobs( return this; } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9258,11 +8177,11 @@ public Builder addPatchJobs( * repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; */ public Builder addAllPatchJobs( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (patchJobsBuilder_ == null) { ensurePatchJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, patchJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, patchJobs_); onChanged(); } else { patchJobsBuilder_.addAllMessages(values); @@ -9270,8 +8189,6 @@ public Builder addAllPatchJobs( return this; } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9289,8 +8206,6 @@ public Builder clearPatchJobs() { return this; } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9308,8 +8223,6 @@ public Builder removePatchJobs(int index) { return this; } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9321,8 +8234,6 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder getPatchJobsB return getPatchJobsFieldBuilder().getBuilder(index); } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9332,22 +8243,19 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder getPatchJobsB public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder getPatchJobsOrBuilder( int index) { if (patchJobsBuilder_ == null) { - return patchJobs_.get(index); - } else { + return patchJobs_.get(index); } else { return patchJobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The list of patch jobs.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; */ - public java.util.List - getPatchJobsOrBuilderList() { + public java.util.List + getPatchJobsOrBuilderList() { if (patchJobsBuilder_ != null) { return patchJobsBuilder_.getMessageOrBuilderList(); } else { @@ -9355,8 +8263,6 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder getPatchJobs } } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9364,12 +8270,10 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder getPatchJobs * repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder addPatchJobsBuilder() { - return getPatchJobsFieldBuilder() - .addBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDefaultInstance()); + return getPatchJobsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDefaultInstance()); } /** - * - * *
        * The list of patch jobs.
        * 
@@ -9378,36 +8282,30 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder addPatchJobsB */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder addPatchJobsBuilder( int index) { - return getPatchJobsFieldBuilder() - .addBuilder( - index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDefaultInstance()); + return getPatchJobsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDefaultInstance()); } /** - * - * *
        * The list of patch jobs.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; */ - public java.util.List - getPatchJobsBuilderList() { + public java.util.List + getPatchJobsBuilderList() { return getPatchJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder> getPatchJobsFieldBuilder() { if (patchJobsBuilder_ == null) { - patchJobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder>( - patchJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + patchJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder>( + patchJobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); patchJobs_ = null; } return patchJobsBuilder_; @@ -9415,20 +8313,18 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder addPatchJobsB private java.lang.Object nextPageToken_ = ""; /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -9437,21 +8333,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -9459,66 +8354,58 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9531,32 +8418,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ListPatchJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ListPatchJobsResponse) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchJobsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchJobsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9568,123 +8453,99 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PatchJobOrBuilder - extends + public interface PatchJobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PatchJob) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Unique identifier for this patch job in the form
      * `projects/*/patchJobs/*`
      * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Unique identifier for this patch job in the form
      * `projects/*/patchJobs/*`
      * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Display name for this patch job. This is not a unique identifier.
      * 
* * string display_name = 14; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
      * Display name for this patch job. This is not a unique identifier.
      * 
* * string display_name = 14; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * Time this patch job was created.
      * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
      * Time this patch job was created.
      * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
      * Time this patch job was created.
      * 
@@ -9694,32 +8555,24 @@ public interface PatchJobOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
      * Last time this patch job was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
      * Last time this patch job was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
      * Last time this patch job was updated.
      * 
@@ -9729,93 +8582,70 @@ public interface PatchJobOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
      * The current state of the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.PatchJob.State state = 5; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
      * The current state of the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.PatchJob.State state = 5; - * * @return The state. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State getState(); /** - * - * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; - * * @return Whether the instanceFilter field is set. */ boolean hasInstanceFilter(); /** - * - * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; - * * @return The instanceFilter. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanceFilter(); /** - * - * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder - getInstanceFilterOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder(); /** - * - * *
      * Patch configuration being applied.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; - * * @return Whether the patchConfig field is set. */ boolean hasPatchConfig(); /** - * - * *
      * Patch configuration being applied.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; - * * @return The patchConfig. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig(); /** - * - * *
      * Patch configuration being applied.
      * 
@@ -9825,34 +8655,26 @@ public interface PatchJobOrBuilder com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder(); /** - * - * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
      * 
* * .google.protobuf.Duration duration = 8; - * * @return Whether the duration field is set. */ boolean hasDuration(); /** - * - * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
      * 
* * .google.protobuf.Duration duration = 8; - * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** - * - * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
@@ -9863,155 +8685,115 @@ public interface PatchJobOrBuilder
     com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
     /**
-     *
-     *
      * 
      * Summary of instance details.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * - * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; * @return Whether the instanceDetailsSummary field is set. */ boolean hasInstanceDetailsSummary(); /** - * - * *
      * Summary of instance details.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * - * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; * @return The instanceDetailsSummary. */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - getInstanceDetailsSummary(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary getInstanceDetailsSummary(); /** - * - * *
      * Summary of instance details.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder - getInstanceDetailsSummaryOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder getInstanceDetailsSummaryOrBuilder(); /** - * - * *
      * If this patch job is a dry run, the agent reports that it has
      * finished without running any updates on the VM instance.
      * 
* * bool dry_run = 10; - * * @return The dryRun. */ boolean getDryRun(); /** - * - * *
      * If this patch job failed, this message provides information about the
      * failure.
      * 
* * string error_message = 11; - * * @return The errorMessage. */ java.lang.String getErrorMessage(); /** - * - * *
      * If this patch job failed, this message provides information about the
      * failure.
      * 
* * string error_message = 11; - * * @return The bytes for errorMessage. */ - com.google.protobuf.ByteString getErrorMessageBytes(); + com.google.protobuf.ByteString + getErrorMessageBytes(); /** - * - * *
      * Reflects the overall progress of the patch job in the range of
      * 0.0 being no progress to 100.0 being complete.
      * 
* * double percent_complete = 12; - * * @return The percentComplete. */ double getPercentComplete(); /** - * - * *
      * Output only. Name of the patch deployment that created this patch job.
      * 
* * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The patchDeployment. */ java.lang.String getPatchDeployment(); /** - * - * *
      * Output only. Name of the patch deployment that created this patch job.
      * 
* * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for patchDeployment. */ - com.google.protobuf.ByteString getPatchDeploymentBytes(); + com.google.protobuf.ByteString + getPatchDeploymentBytes(); /** - * - * *
      * Rollout strategy being applied.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 16; - * * @return Whether the rollout field is set. */ boolean hasRollout(); /** - * - * *
      * Rollout strategy being applied.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 16; - * * @return The rollout. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getRollout(); /** - * - * *
      * Rollout strategy being applied.
      * 
@@ -10021,8 +8803,6 @@ public interface PatchJobOrBuilder com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder(); } /** - * - * *
    * A high level representation of a patch job that is either in progress
    * or has completed.
@@ -10035,16 +8815,15 @@ public interface PatchJobOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.PatchJob}
    */
-  public static final class PatchJob extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PatchJob extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PatchJob)
       PatchJobOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PatchJob.newBuilder() to construct.
     private PatchJob(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PatchJob() {
       name_ = "";
       displayName_ = "";
@@ -10056,15 +8835,16 @@ private PatchJob() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PatchJob();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PatchJob(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -10083,181 +8863,150 @@ private PatchJob(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                name_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                description_ = s;
-                break;
+              description_ = s;
+              break;
+            }
+            case 26: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
               }
-            case 26:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (createTime_ != null) {
-                  subBuilder = createTime_.toBuilder();
-                }
-                createTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(createTime_);
-                  createTime_ = subBuilder.buildPartial();
-                }
-
-                break;
+              createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
               }
-            case 34:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (updateTime_ != null) {
-                  subBuilder = updateTime_.toBuilder();
-                }
-                updateTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(updateTime_);
-                  updateTime_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 34: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
               }
-            case 40:
-              {
-                int rawValue = input.readEnum();
-
-                state_ = rawValue;
-                break;
+              updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
               }
-            case 58:
-              {
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder subBuilder = null;
-                if (patchConfig_ != null) {
-                  subBuilder = patchConfig_.toBuilder();
-                }
-                patchConfig_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(patchConfig_);
-                  patchConfig_ = subBuilder.buildPartial();
-                }
 
-                break;
-              }
-            case 66:
-              {
-                com.google.protobuf.Duration.Builder subBuilder = null;
-                if (duration_ != null) {
-                  subBuilder = duration_.toBuilder();
-                }
-                duration_ =
-                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(duration_);
-                  duration_ = subBuilder.buildPartial();
-                }
+              break;
+            }
+            case 40: {
+              int rawValue = input.readEnum();
 
-                break;
+              state_ = rawValue;
+              break;
+            }
+            case 58: {
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder subBuilder = null;
+              if (patchConfig_ != null) {
+                subBuilder = patchConfig_.toBuilder();
+              }
+              patchConfig_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(patchConfig_);
+                patchConfig_ = subBuilder.buildPartial();
               }
-            case 74:
-              {
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder
-                    subBuilder = null;
-                if (instanceDetailsSummary_ != null) {
-                  subBuilder = instanceDetailsSummary_.toBuilder();
-                }
-                instanceDetailsSummary_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary
-                            .parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(instanceDetailsSummary_);
-                  instanceDetailsSummary_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 66: {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (duration_ != null) {
+                subBuilder = duration_.toBuilder();
               }
-            case 80:
-              {
-                dryRun_ = input.readBool();
-                break;
+              duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(duration_);
+                duration_ = subBuilder.buildPartial();
               }
-            case 90:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
 
-                errorMessage_ = s;
-                break;
+              break;
+            }
+            case 74: {
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder subBuilder = null;
+              if (instanceDetailsSummary_ != null) {
+                subBuilder = instanceDetailsSummary_.toBuilder();
               }
-            case 97:
-              {
-                percentComplete_ = input.readDouble();
-                break;
+              instanceDetailsSummary_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(instanceDetailsSummary_);
+                instanceDetailsSummary_ = subBuilder.buildPartial();
               }
-            case 106:
-              {
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder subBuilder =
-                    null;
-                if (instanceFilter_ != null) {
-                  subBuilder = instanceFilter_.toBuilder();
-                }
-                instanceFilter_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(instanceFilter_);
-                  instanceFilter_ = subBuilder.buildPartial();
-                }
 
-                break;
-              }
-            case 114:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+            case 80: {
 
-                displayName_ = s;
-                break;
-              }
-            case 122:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              dryRun_ = input.readBool();
+              break;
+            }
+            case 90: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                patchDeployment_ = s;
-                break;
+              errorMessage_ = s;
+              break;
+            }
+            case 97: {
+
+              percentComplete_ = input.readDouble();
+              break;
+            }
+            case 106: {
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder subBuilder = null;
+              if (instanceFilter_ != null) {
+                subBuilder = instanceFilter_.toBuilder();
+              }
+              instanceFilter_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(instanceFilter_);
+                instanceFilter_ = subBuilder.buildPartial();
               }
-            case 130:
-              {
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder subBuilder = null;
-                if (rollout_ != null) {
-                  subBuilder = rollout_.toBuilder();
-                }
-                rollout_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(rollout_);
-                  rollout_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 114: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              displayName_ = s;
+              break;
+            }
+            case 122: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              patchDeployment_ = s;
+              break;
+            }
+            case 130: {
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder subBuilder = null;
+              if (rollout_ != null) {
+                subBuilder = rollout_.toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              rollout_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rollout_);
+                rollout_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -10265,31 +9014,27 @@ private PatchJob(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs
-          .internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs
-          .internal_static_google_cloud_osconfig_v1beta_PatchJob_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class,
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * Enumeration of the various states a patch job passes through as it
      * executes.
@@ -10297,10 +9042,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      *
      * Protobuf enum {@code google.cloud.osconfig.v1beta.PatchJob.State}
      */
-    public enum State implements com.google.protobuf.ProtocolMessageEnum {
+    public enum State
+        implements com.google.protobuf.ProtocolMessageEnum {
       /**
-       *
-       *
        * 
        * State must be specified.
        * 
@@ -10309,8 +9053,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
        * The patch job was successfully initiated.
        * 
@@ -10319,8 +9061,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STARTED(1), /** - * - * *
        * The patch job is looking up instances to run the patch on.
        * 
@@ -10329,8 +9069,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ INSTANCE_LOOKUP(2), /** - * - * *
        * Instances are being patched.
        * 
@@ -10339,8 +9077,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PATCHING(3), /** - * - * *
        * Patch job completed successfully.
        * 
@@ -10349,8 +9085,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(4), /** - * - * *
        * Patch job completed but there were errors.
        * 
@@ -10359,8 +9093,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ COMPLETED_WITH_ERRORS(5), /** - * - * *
        * The patch job was canceled.
        * 
@@ -10369,8 +9101,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELED(6), /** - * - * *
        * The patch job timed out.
        * 
@@ -10382,8 +9112,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * State must be specified.
        * 
@@ -10392,8 +9120,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The patch job was successfully initiated.
        * 
@@ -10402,8 +9128,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STARTED_VALUE = 1; /** - * - * *
        * The patch job is looking up instances to run the patch on.
        * 
@@ -10412,8 +9136,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTANCE_LOOKUP_VALUE = 2; /** - * - * *
        * Instances are being patched.
        * 
@@ -10422,8 +9144,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PATCHING_VALUE = 3; /** - * - * *
        * Patch job completed successfully.
        * 
@@ -10432,8 +9152,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 4; /** - * - * *
        * Patch job completed but there were errors.
        * 
@@ -10442,8 +9160,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPLETED_WITH_ERRORS_VALUE = 5; /** - * - * *
        * The patch job was canceled.
        * 
@@ -10452,8 +9168,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELED_VALUE = 6; /** - * - * *
        * The patch job timed out.
        * 
@@ -10462,6 +9176,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIMED_OUT_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -10486,61 +9201,54 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return STARTED; - case 2: - return INSTANCE_LOOKUP; - case 3: - return PATCHING; - case 4: - return SUCCEEDED; - case 5: - return COMPLETED_WITH_ERRORS; - case 6: - return CANCELED; - case 7: - return TIMED_OUT; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return STARTED; + case 2: return INSTANCE_LOOKUP; + case 3: return PATCHING; + case 4: return SUCCEEDED; + case 5: return COMPLETED_WITH_ERRORS; + case 6: return CANCELED; + case 7: return TIMED_OUT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -10557,196 +9265,151 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1beta.PatchJob.State) } - public interface InstanceDetailsSummaryOrBuilder - extends + public interface InstanceDetailsSummaryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Number of instances pending patch job.
        * 
* * int64 pending_instance_count = 1; - * * @return The pendingInstanceCount. */ long getPendingInstanceCount(); /** - * - * *
        * Number of instances that are inactive.
        * 
* * int64 inactive_instance_count = 2; - * * @return The inactiveInstanceCount. */ long getInactiveInstanceCount(); /** - * - * *
        * Number of instances notified about patch job.
        * 
* * int64 notified_instance_count = 3; - * * @return The notifiedInstanceCount. */ long getNotifiedInstanceCount(); /** - * - * *
        * Number of instances that have started.
        * 
* * int64 started_instance_count = 4; - * * @return The startedInstanceCount. */ long getStartedInstanceCount(); /** - * - * *
        * Number of instances that are downloading patches.
        * 
* * int64 downloading_patches_instance_count = 5; - * * @return The downloadingPatchesInstanceCount. */ long getDownloadingPatchesInstanceCount(); /** - * - * *
        * Number of instances that are applying patches.
        * 
* * int64 applying_patches_instance_count = 6; - * * @return The applyingPatchesInstanceCount. */ long getApplyingPatchesInstanceCount(); /** - * - * *
        * Number of instances rebooting.
        * 
* * int64 rebooting_instance_count = 7; - * * @return The rebootingInstanceCount. */ long getRebootingInstanceCount(); /** - * - * *
        * Number of instances that have completed successfully.
        * 
* * int64 succeeded_instance_count = 8; - * * @return The succeededInstanceCount. */ long getSucceededInstanceCount(); /** - * - * *
        * Number of instances that require reboot.
        * 
* * int64 succeeded_reboot_required_instance_count = 9; - * * @return The succeededRebootRequiredInstanceCount. */ long getSucceededRebootRequiredInstanceCount(); /** - * - * *
        * Number of instances that failed.
        * 
* * int64 failed_instance_count = 10; - * * @return The failedInstanceCount. */ long getFailedInstanceCount(); /** - * - * *
        * Number of instances that have acked and will start shortly.
        * 
* * int64 acked_instance_count = 11; - * * @return The ackedInstanceCount. */ long getAckedInstanceCount(); /** - * - * *
        * Number of instances that exceeded the time out while applying the patch.
        * 
* * int64 timed_out_instance_count = 12; - * * @return The timedOutInstanceCount. */ long getTimedOutInstanceCount(); /** - * - * *
        * Number of instances that are running the pre-patch step.
        * 
* * int64 pre_patch_step_instance_count = 13; - * * @return The prePatchStepInstanceCount. */ long getPrePatchStepInstanceCount(); /** - * - * *
        * Number of instances that are running the post-patch step.
        * 
* * int64 post_patch_step_instance_count = 14; - * * @return The postPatchStepInstanceCount. */ long getPostPatchStepInstanceCount(); /** - * - * *
        * Number of instances that do not appear to be running the agent. Check to
        * ensure that the agent is installed, running, and able to communicate with
@@ -10754,14 +9417,11 @@ public interface InstanceDetailsSummaryOrBuilder
        * 
* * int64 no_agent_detected_instance_count = 15; - * * @return The noAgentDetectedInstanceCount. */ long getNoAgentDetectedInstanceCount(); } /** - * - * *
      * A summary of the current patch state across all instances that this patch
      * job affects. Contains counts of instances in different states. These states
@@ -10771,29 +9431,30 @@ public interface InstanceDetailsSummaryOrBuilder
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary}
      */
-    public static final class InstanceDetailsSummary extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class InstanceDetailsSummary extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary)
         InstanceDetailsSummaryOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use InstanceDetailsSummary.newBuilder() to construct.
       private InstanceDetailsSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private InstanceDetailsSummary() {}
+      private InstanceDetailsSummary() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new InstanceDetailsSummary();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private InstanceDetailsSummary(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -10812,88 +9473,88 @@ private InstanceDetailsSummary(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  pendingInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 16:
-                {
-                  inactiveInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 24:
-                {
-                  notifiedInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 32:
-                {
-                  startedInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 40:
-                {
-                  downloadingPatchesInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 48:
-                {
-                  applyingPatchesInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 56:
-                {
-                  rebootingInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 64:
-                {
-                  succeededInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 72:
-                {
-                  succeededRebootRequiredInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 80:
-                {
-                  failedInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 88:
-                {
-                  ackedInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 96:
-                {
-                  timedOutInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 104:
-                {
-                  prePatchStepInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 112:
-                {
-                  postPatchStepInstanceCount_ = input.readInt64();
-                  break;
-                }
-              case 120:
-                {
-                  noAgentDetectedInstanceCount_ = input.readInt64();
-                  break;
-                }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+              case 8: {
+
+                pendingInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 16: {
+
+                inactiveInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 24: {
+
+                notifiedInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 32: {
+
+                startedInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 40: {
+
+                downloadingPatchesInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 48: {
+
+                applyingPatchesInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 56: {
+
+                rebootingInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 64: {
+
+                succeededInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 72: {
+
+                succeededRebootRequiredInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 80: {
+
+                failedInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 88: {
+
+                ackedInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 96: {
+
+                timedOutInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 104: {
+
+                prePatchStepInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 112: {
+
+                postPatchStepInstanceCount_ = input.readInt64();
+                break;
+              }
+              case 120: {
+
+                noAgentDetectedInstanceCount_ = input.readInt64();
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -10901,41 +9562,34 @@ private InstanceDetailsSummary(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.class,
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder
-                    .class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder.class);
       }
 
       public static final int PENDING_INSTANCE_COUNT_FIELD_NUMBER = 1;
       private long pendingInstanceCount_;
       /**
-       *
-       *
        * 
        * Number of instances pending patch job.
        * 
* * int64 pending_instance_count = 1; - * * @return The pendingInstanceCount. */ @java.lang.Override @@ -10946,14 +9600,11 @@ public long getPendingInstanceCount() { public static final int INACTIVE_INSTANCE_COUNT_FIELD_NUMBER = 2; private long inactiveInstanceCount_; /** - * - * *
        * Number of instances that are inactive.
        * 
* * int64 inactive_instance_count = 2; - * * @return The inactiveInstanceCount. */ @java.lang.Override @@ -10964,14 +9615,11 @@ public long getInactiveInstanceCount() { public static final int NOTIFIED_INSTANCE_COUNT_FIELD_NUMBER = 3; private long notifiedInstanceCount_; /** - * - * *
        * Number of instances notified about patch job.
        * 
* * int64 notified_instance_count = 3; - * * @return The notifiedInstanceCount. */ @java.lang.Override @@ -10982,14 +9630,11 @@ public long getNotifiedInstanceCount() { public static final int STARTED_INSTANCE_COUNT_FIELD_NUMBER = 4; private long startedInstanceCount_; /** - * - * *
        * Number of instances that have started.
        * 
* * int64 started_instance_count = 4; - * * @return The startedInstanceCount. */ @java.lang.Override @@ -11000,14 +9645,11 @@ public long getStartedInstanceCount() { public static final int DOWNLOADING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER = 5; private long downloadingPatchesInstanceCount_; /** - * - * *
        * Number of instances that are downloading patches.
        * 
* * int64 downloading_patches_instance_count = 5; - * * @return The downloadingPatchesInstanceCount. */ @java.lang.Override @@ -11018,14 +9660,11 @@ public long getDownloadingPatchesInstanceCount() { public static final int APPLYING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER = 6; private long applyingPatchesInstanceCount_; /** - * - * *
        * Number of instances that are applying patches.
        * 
* * int64 applying_patches_instance_count = 6; - * * @return The applyingPatchesInstanceCount. */ @java.lang.Override @@ -11036,14 +9675,11 @@ public long getApplyingPatchesInstanceCount() { public static final int REBOOTING_INSTANCE_COUNT_FIELD_NUMBER = 7; private long rebootingInstanceCount_; /** - * - * *
        * Number of instances rebooting.
        * 
* * int64 rebooting_instance_count = 7; - * * @return The rebootingInstanceCount. */ @java.lang.Override @@ -11054,14 +9690,11 @@ public long getRebootingInstanceCount() { public static final int SUCCEEDED_INSTANCE_COUNT_FIELD_NUMBER = 8; private long succeededInstanceCount_; /** - * - * *
        * Number of instances that have completed successfully.
        * 
* * int64 succeeded_instance_count = 8; - * * @return The succeededInstanceCount. */ @java.lang.Override @@ -11072,14 +9705,11 @@ public long getSucceededInstanceCount() { public static final int SUCCEEDED_REBOOT_REQUIRED_INSTANCE_COUNT_FIELD_NUMBER = 9; private long succeededRebootRequiredInstanceCount_; /** - * - * *
        * Number of instances that require reboot.
        * 
* * int64 succeeded_reboot_required_instance_count = 9; - * * @return The succeededRebootRequiredInstanceCount. */ @java.lang.Override @@ -11090,14 +9720,11 @@ public long getSucceededRebootRequiredInstanceCount() { public static final int FAILED_INSTANCE_COUNT_FIELD_NUMBER = 10; private long failedInstanceCount_; /** - * - * *
        * Number of instances that failed.
        * 
* * int64 failed_instance_count = 10; - * * @return The failedInstanceCount. */ @java.lang.Override @@ -11108,14 +9735,11 @@ public long getFailedInstanceCount() { public static final int ACKED_INSTANCE_COUNT_FIELD_NUMBER = 11; private long ackedInstanceCount_; /** - * - * *
        * Number of instances that have acked and will start shortly.
        * 
* * int64 acked_instance_count = 11; - * * @return The ackedInstanceCount. */ @java.lang.Override @@ -11126,14 +9750,11 @@ public long getAckedInstanceCount() { public static final int TIMED_OUT_INSTANCE_COUNT_FIELD_NUMBER = 12; private long timedOutInstanceCount_; /** - * - * *
        * Number of instances that exceeded the time out while applying the patch.
        * 
* * int64 timed_out_instance_count = 12; - * * @return The timedOutInstanceCount. */ @java.lang.Override @@ -11144,14 +9765,11 @@ public long getTimedOutInstanceCount() { public static final int PRE_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER = 13; private long prePatchStepInstanceCount_; /** - * - * *
        * Number of instances that are running the pre-patch step.
        * 
* * int64 pre_patch_step_instance_count = 13; - * * @return The prePatchStepInstanceCount. */ @java.lang.Override @@ -11162,14 +9780,11 @@ public long getPrePatchStepInstanceCount() { public static final int POST_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER = 14; private long postPatchStepInstanceCount_; /** - * - * *
        * Number of instances that are running the post-patch step.
        * 
* * int64 post_patch_step_instance_count = 14; - * * @return The postPatchStepInstanceCount. */ @java.lang.Override @@ -11180,8 +9795,6 @@ public long getPostPatchStepInstanceCount() { public static final int NO_AGENT_DETECTED_INSTANCE_COUNT_FIELD_NUMBER = 15; private long noAgentDetectedInstanceCount_; /** - * - * *
        * Number of instances that do not appear to be running the agent. Check to
        * ensure that the agent is installed, running, and able to communicate with
@@ -11189,7 +9802,6 @@ public long getPostPatchStepInstanceCount() {
        * 
* * int64 no_agent_detected_instance_count = 15; - * * @return The noAgentDetectedInstanceCount. */ @java.lang.Override @@ -11198,7 +9810,6 @@ public long getNoAgentDetectedInstanceCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11210,7 +9821,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (pendingInstanceCount_ != 0L) { output.writeInt64(1, pendingInstanceCount_); } @@ -11266,64 +9878,64 @@ public int getSerializedSize() { size = 0; if (pendingInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, pendingInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, pendingInstanceCount_); } if (inactiveInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, inactiveInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, inactiveInstanceCount_); } if (notifiedInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, notifiedInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, notifiedInstanceCount_); } if (startedInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, startedInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, startedInstanceCount_); } if (downloadingPatchesInstanceCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 5, downloadingPatchesInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, downloadingPatchesInstanceCount_); } if (applyingPatchesInstanceCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 6, applyingPatchesInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(6, applyingPatchesInstanceCount_); } if (rebootingInstanceCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(7, rebootingInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(7, rebootingInstanceCount_); } if (succeededInstanceCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(8, succeededInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(8, succeededInstanceCount_); } if (succeededRebootRequiredInstanceCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 9, succeededRebootRequiredInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(9, succeededRebootRequiredInstanceCount_); } if (failedInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(10, failedInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(10, failedInstanceCount_); } if (ackedInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, ackedInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(11, ackedInstanceCount_); } if (timedOutInstanceCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(12, timedOutInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(12, timedOutInstanceCount_); } if (prePatchStepInstanceCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 13, prePatchStepInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(13, prePatchStepInstanceCount_); } if (postPatchStepInstanceCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 14, postPatchStepInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(14, postPatchStepInstanceCount_); } if (noAgentDetectedInstanceCount_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 15, noAgentDetectedInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(15, noAgentDetectedInstanceCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -11333,35 +9945,43 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary)) { + if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary other = - (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary) obj; - - if (getPendingInstanceCount() != other.getPendingInstanceCount()) return false; - if (getInactiveInstanceCount() != other.getInactiveInstanceCount()) return false; - if (getNotifiedInstanceCount() != other.getNotifiedInstanceCount()) return false; - if (getStartedInstanceCount() != other.getStartedInstanceCount()) return false; - if (getDownloadingPatchesInstanceCount() != other.getDownloadingPatchesInstanceCount()) - return false; - if (getApplyingPatchesInstanceCount() != other.getApplyingPatchesInstanceCount()) - return false; - if (getRebootingInstanceCount() != other.getRebootingInstanceCount()) return false; - if (getSucceededInstanceCount() != other.getSucceededInstanceCount()) return false; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary other = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary) obj; + + if (getPendingInstanceCount() + != other.getPendingInstanceCount()) return false; + if (getInactiveInstanceCount() + != other.getInactiveInstanceCount()) return false; + if (getNotifiedInstanceCount() + != other.getNotifiedInstanceCount()) return false; + if (getStartedInstanceCount() + != other.getStartedInstanceCount()) return false; + if (getDownloadingPatchesInstanceCount() + != other.getDownloadingPatchesInstanceCount()) return false; + if (getApplyingPatchesInstanceCount() + != other.getApplyingPatchesInstanceCount()) return false; + if (getRebootingInstanceCount() + != other.getRebootingInstanceCount()) return false; + if (getSucceededInstanceCount() + != other.getSucceededInstanceCount()) return false; if (getSucceededRebootRequiredInstanceCount() != other.getSucceededRebootRequiredInstanceCount()) return false; - if (getFailedInstanceCount() != other.getFailedInstanceCount()) return false; - if (getAckedInstanceCount() != other.getAckedInstanceCount()) return false; - if (getTimedOutInstanceCount() != other.getTimedOutInstanceCount()) return false; - if (getPrePatchStepInstanceCount() != other.getPrePatchStepInstanceCount()) return false; - if (getPostPatchStepInstanceCount() != other.getPostPatchStepInstanceCount()) return false; - if (getNoAgentDetectedInstanceCount() != other.getNoAgentDetectedInstanceCount()) - return false; + if (getFailedInstanceCount() + != other.getFailedInstanceCount()) return false; + if (getAckedInstanceCount() + != other.getAckedInstanceCount()) return false; + if (getTimedOutInstanceCount() + != other.getTimedOutInstanceCount()) return false; + if (getPrePatchStepInstanceCount() + != other.getPrePatchStepInstanceCount()) return false; + if (getPostPatchStepInstanceCount() + != other.getPostPatchStepInstanceCount()) return false; + if (getNoAgentDetectedInstanceCount() + != other.getNoAgentDetectedInstanceCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11374,143 +9994,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PENDING_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPendingInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPendingInstanceCount()); hash = (37 * hash) + INACTIVE_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInactiveInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getInactiveInstanceCount()); hash = (37 * hash) + NOTIFIED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNotifiedInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNotifiedInstanceCount()); hash = (37 * hash) + STARTED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getStartedInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStartedInstanceCount()); hash = (37 * hash) + DOWNLOADING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(getDownloadingPatchesInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDownloadingPatchesInstanceCount()); hash = (37 * hash) + APPLYING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER; - hash = - (53 * hash) + com.google.protobuf.Internal.hashLong(getApplyingPatchesInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getApplyingPatchesInstanceCount()); hash = (37 * hash) + REBOOTING_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRebootingInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRebootingInstanceCount()); hash = (37 * hash) + SUCCEEDED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSucceededInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSucceededInstanceCount()); hash = (37 * hash) + SUCCEEDED_REBOOT_REQUIRED_INSTANCE_COUNT_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(getSucceededRebootRequiredInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSucceededRebootRequiredInstanceCount()); hash = (37 * hash) + FAILED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFailedInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getFailedInstanceCount()); hash = (37 * hash) + ACKED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAckedInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getAckedInstanceCount()); hash = (37 * hash) + TIMED_OUT_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTimedOutInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimedOutInstanceCount()); hash = (37 * hash) + PRE_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPrePatchStepInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPrePatchStepInstanceCount()); hash = (37 * hash) + POST_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPostPatchStepInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPostPatchStepInstanceCount()); hash = (37 * hash) + NO_AGENT_DETECTED_INSTANCE_COUNT_FIELD_NUMBER; - hash = - (53 * hash) + com.google.protobuf.Internal.hashLong(getNoAgentDetectedInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNoAgentDetectedInstanceCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary 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.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary 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.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - 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.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary 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.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - 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.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary 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.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11520,8 +10134,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A summary of the current patch state across all instances that this patch
        * job affects. Contains counts of instances in different states. These states
@@ -11531,42 +10143,38 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary)
           com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1beta.PatchJobs
-              .internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1beta.PatchJobs
-              .internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_fieldAccessorTable
+          return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.class,
-                  com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder
-                      .class);
+                  com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder.class);
         }
 
-        // Construct using
-        // com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.newBuilder()
+        // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
+          }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -11604,22 +10212,19 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.cloud.osconfig.v1beta.PatchJobs
-              .internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary
-            getDefaultInstanceForType() {
-          return com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary
-              .getDefaultInstance();
+        public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstanceForType() {
+          return com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary build() {
-          com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary result =
-              buildPartial();
+          com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -11627,10 +10232,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummar
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary
-            buildPartial() {
-          com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary result =
-              new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary(this);
+        public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary buildPartial() {
+          com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary result = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary(this);
           result.pendingInstanceCount_ = pendingInstanceCount_;
           result.inactiveInstanceCount_ = inactiveInstanceCount_;
           result.notifiedInstanceCount_ = notifiedInstanceCount_;
@@ -11654,55 +10257,46 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummar
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary) {
-            return mergeFrom(
-                (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary) other);
+          if (other instanceof com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary) {
+            return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary other) {
-          if (other
-              == com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary
-                  .getDefaultInstance()) return this;
+        public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary other) {
+          if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance()) return this;
           if (other.getPendingInstanceCount() != 0L) {
             setPendingInstanceCount(other.getPendingInstanceCount());
           }
@@ -11728,8 +10322,7 @@ public Builder mergeFrom(
             setSucceededInstanceCount(other.getSucceededInstanceCount());
           }
           if (other.getSucceededRebootRequiredInstanceCount() != 0L) {
-            setSucceededRebootRequiredInstanceCount(
-                other.getSucceededRebootRequiredInstanceCount());
+            setSucceededRebootRequiredInstanceCount(other.getSucceededRebootRequiredInstanceCount());
           }
           if (other.getFailedInstanceCount() != 0L) {
             setFailedInstanceCount(other.getFailedInstanceCount());
@@ -11764,14 +10357,11 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
-          com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parsedMessage =
-              null;
+          com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parsedMessage = null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary)
-                    e.getUnfinishedMessage();
+            parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -11781,16 +10371,13 @@ public Builder mergeFrom(
           return this;
         }
 
-        private long pendingInstanceCount_;
+        private long pendingInstanceCount_ ;
         /**
-         *
-         *
          * 
          * Number of instances pending patch job.
          * 
* * int64 pending_instance_count = 1; - * * @return The pendingInstanceCount. */ @java.lang.Override @@ -11798,51 +10385,42 @@ public long getPendingInstanceCount() { return pendingInstanceCount_; } /** - * - * *
          * Number of instances pending patch job.
          * 
* * int64 pending_instance_count = 1; - * * @param value The pendingInstanceCount to set. * @return This builder for chaining. */ public Builder setPendingInstanceCount(long value) { - + pendingInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances pending patch job.
          * 
* * int64 pending_instance_count = 1; - * * @return This builder for chaining. */ public Builder clearPendingInstanceCount() { - + pendingInstanceCount_ = 0L; onChanged(); return this; } - private long inactiveInstanceCount_; + private long inactiveInstanceCount_ ; /** - * - * *
          * Number of instances that are inactive.
          * 
* * int64 inactive_instance_count = 2; - * * @return The inactiveInstanceCount. */ @java.lang.Override @@ -11850,51 +10428,42 @@ public long getInactiveInstanceCount() { return inactiveInstanceCount_; } /** - * - * *
          * Number of instances that are inactive.
          * 
* * int64 inactive_instance_count = 2; - * * @param value The inactiveInstanceCount to set. * @return This builder for chaining. */ public Builder setInactiveInstanceCount(long value) { - + inactiveInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that are inactive.
          * 
* * int64 inactive_instance_count = 2; - * * @return This builder for chaining. */ public Builder clearInactiveInstanceCount() { - + inactiveInstanceCount_ = 0L; onChanged(); return this; } - private long notifiedInstanceCount_; + private long notifiedInstanceCount_ ; /** - * - * *
          * Number of instances notified about patch job.
          * 
* * int64 notified_instance_count = 3; - * * @return The notifiedInstanceCount. */ @java.lang.Override @@ -11902,51 +10471,42 @@ public long getNotifiedInstanceCount() { return notifiedInstanceCount_; } /** - * - * *
          * Number of instances notified about patch job.
          * 
* * int64 notified_instance_count = 3; - * * @param value The notifiedInstanceCount to set. * @return This builder for chaining. */ public Builder setNotifiedInstanceCount(long value) { - + notifiedInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances notified about patch job.
          * 
* * int64 notified_instance_count = 3; - * * @return This builder for chaining. */ public Builder clearNotifiedInstanceCount() { - + notifiedInstanceCount_ = 0L; onChanged(); return this; } - private long startedInstanceCount_; + private long startedInstanceCount_ ; /** - * - * *
          * Number of instances that have started.
          * 
* * int64 started_instance_count = 4; - * * @return The startedInstanceCount. */ @java.lang.Override @@ -11954,51 +10514,42 @@ public long getStartedInstanceCount() { return startedInstanceCount_; } /** - * - * *
          * Number of instances that have started.
          * 
* * int64 started_instance_count = 4; - * * @param value The startedInstanceCount to set. * @return This builder for chaining. */ public Builder setStartedInstanceCount(long value) { - + startedInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that have started.
          * 
* * int64 started_instance_count = 4; - * * @return This builder for chaining. */ public Builder clearStartedInstanceCount() { - + startedInstanceCount_ = 0L; onChanged(); return this; } - private long downloadingPatchesInstanceCount_; + private long downloadingPatchesInstanceCount_ ; /** - * - * *
          * Number of instances that are downloading patches.
          * 
* * int64 downloading_patches_instance_count = 5; - * * @return The downloadingPatchesInstanceCount. */ @java.lang.Override @@ -12006,51 +10557,42 @@ public long getDownloadingPatchesInstanceCount() { return downloadingPatchesInstanceCount_; } /** - * - * *
          * Number of instances that are downloading patches.
          * 
* * int64 downloading_patches_instance_count = 5; - * * @param value The downloadingPatchesInstanceCount to set. * @return This builder for chaining. */ public Builder setDownloadingPatchesInstanceCount(long value) { - + downloadingPatchesInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that are downloading patches.
          * 
* * int64 downloading_patches_instance_count = 5; - * * @return This builder for chaining. */ public Builder clearDownloadingPatchesInstanceCount() { - + downloadingPatchesInstanceCount_ = 0L; onChanged(); return this; } - private long applyingPatchesInstanceCount_; + private long applyingPatchesInstanceCount_ ; /** - * - * *
          * Number of instances that are applying patches.
          * 
* * int64 applying_patches_instance_count = 6; - * * @return The applyingPatchesInstanceCount. */ @java.lang.Override @@ -12058,51 +10600,42 @@ public long getApplyingPatchesInstanceCount() { return applyingPatchesInstanceCount_; } /** - * - * *
          * Number of instances that are applying patches.
          * 
* * int64 applying_patches_instance_count = 6; - * * @param value The applyingPatchesInstanceCount to set. * @return This builder for chaining. */ public Builder setApplyingPatchesInstanceCount(long value) { - + applyingPatchesInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that are applying patches.
          * 
* * int64 applying_patches_instance_count = 6; - * * @return This builder for chaining. */ public Builder clearApplyingPatchesInstanceCount() { - + applyingPatchesInstanceCount_ = 0L; onChanged(); return this; } - private long rebootingInstanceCount_; + private long rebootingInstanceCount_ ; /** - * - * *
          * Number of instances rebooting.
          * 
* * int64 rebooting_instance_count = 7; - * * @return The rebootingInstanceCount. */ @java.lang.Override @@ -12110,51 +10643,42 @@ public long getRebootingInstanceCount() { return rebootingInstanceCount_; } /** - * - * *
          * Number of instances rebooting.
          * 
* * int64 rebooting_instance_count = 7; - * * @param value The rebootingInstanceCount to set. * @return This builder for chaining. */ public Builder setRebootingInstanceCount(long value) { - + rebootingInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances rebooting.
          * 
* * int64 rebooting_instance_count = 7; - * * @return This builder for chaining. */ public Builder clearRebootingInstanceCount() { - + rebootingInstanceCount_ = 0L; onChanged(); return this; } - private long succeededInstanceCount_; + private long succeededInstanceCount_ ; /** - * - * *
          * Number of instances that have completed successfully.
          * 
* * int64 succeeded_instance_count = 8; - * * @return The succeededInstanceCount. */ @java.lang.Override @@ -12162,51 +10686,42 @@ public long getSucceededInstanceCount() { return succeededInstanceCount_; } /** - * - * *
          * Number of instances that have completed successfully.
          * 
* * int64 succeeded_instance_count = 8; - * * @param value The succeededInstanceCount to set. * @return This builder for chaining. */ public Builder setSucceededInstanceCount(long value) { - + succeededInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that have completed successfully.
          * 
* * int64 succeeded_instance_count = 8; - * * @return This builder for chaining. */ public Builder clearSucceededInstanceCount() { - + succeededInstanceCount_ = 0L; onChanged(); return this; } - private long succeededRebootRequiredInstanceCount_; + private long succeededRebootRequiredInstanceCount_ ; /** - * - * *
          * Number of instances that require reboot.
          * 
* * int64 succeeded_reboot_required_instance_count = 9; - * * @return The succeededRebootRequiredInstanceCount. */ @java.lang.Override @@ -12214,51 +10729,42 @@ public long getSucceededRebootRequiredInstanceCount() { return succeededRebootRequiredInstanceCount_; } /** - * - * *
          * Number of instances that require reboot.
          * 
* * int64 succeeded_reboot_required_instance_count = 9; - * * @param value The succeededRebootRequiredInstanceCount to set. * @return This builder for chaining. */ public Builder setSucceededRebootRequiredInstanceCount(long value) { - + succeededRebootRequiredInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that require reboot.
          * 
* * int64 succeeded_reboot_required_instance_count = 9; - * * @return This builder for chaining. */ public Builder clearSucceededRebootRequiredInstanceCount() { - + succeededRebootRequiredInstanceCount_ = 0L; onChanged(); return this; } - private long failedInstanceCount_; + private long failedInstanceCount_ ; /** - * - * *
          * Number of instances that failed.
          * 
* * int64 failed_instance_count = 10; - * * @return The failedInstanceCount. */ @java.lang.Override @@ -12266,51 +10772,42 @@ public long getFailedInstanceCount() { return failedInstanceCount_; } /** - * - * *
          * Number of instances that failed.
          * 
* * int64 failed_instance_count = 10; - * * @param value The failedInstanceCount to set. * @return This builder for chaining. */ public Builder setFailedInstanceCount(long value) { - + failedInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that failed.
          * 
* * int64 failed_instance_count = 10; - * * @return This builder for chaining. */ public Builder clearFailedInstanceCount() { - + failedInstanceCount_ = 0L; onChanged(); return this; } - private long ackedInstanceCount_; + private long ackedInstanceCount_ ; /** - * - * *
          * Number of instances that have acked and will start shortly.
          * 
* * int64 acked_instance_count = 11; - * * @return The ackedInstanceCount. */ @java.lang.Override @@ -12318,51 +10815,42 @@ public long getAckedInstanceCount() { return ackedInstanceCount_; } /** - * - * *
          * Number of instances that have acked and will start shortly.
          * 
* * int64 acked_instance_count = 11; - * * @param value The ackedInstanceCount to set. * @return This builder for chaining. */ public Builder setAckedInstanceCount(long value) { - + ackedInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that have acked and will start shortly.
          * 
* * int64 acked_instance_count = 11; - * * @return This builder for chaining. */ public Builder clearAckedInstanceCount() { - + ackedInstanceCount_ = 0L; onChanged(); return this; } - private long timedOutInstanceCount_; + private long timedOutInstanceCount_ ; /** - * - * *
          * Number of instances that exceeded the time out while applying the patch.
          * 
* * int64 timed_out_instance_count = 12; - * * @return The timedOutInstanceCount. */ @java.lang.Override @@ -12370,51 +10858,42 @@ public long getTimedOutInstanceCount() { return timedOutInstanceCount_; } /** - * - * *
          * Number of instances that exceeded the time out while applying the patch.
          * 
* * int64 timed_out_instance_count = 12; - * * @param value The timedOutInstanceCount to set. * @return This builder for chaining. */ public Builder setTimedOutInstanceCount(long value) { - + timedOutInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that exceeded the time out while applying the patch.
          * 
* * int64 timed_out_instance_count = 12; - * * @return This builder for chaining. */ public Builder clearTimedOutInstanceCount() { - + timedOutInstanceCount_ = 0L; onChanged(); return this; } - private long prePatchStepInstanceCount_; + private long prePatchStepInstanceCount_ ; /** - * - * *
          * Number of instances that are running the pre-patch step.
          * 
* * int64 pre_patch_step_instance_count = 13; - * * @return The prePatchStepInstanceCount. */ @java.lang.Override @@ -12422,51 +10901,42 @@ public long getPrePatchStepInstanceCount() { return prePatchStepInstanceCount_; } /** - * - * *
          * Number of instances that are running the pre-patch step.
          * 
* * int64 pre_patch_step_instance_count = 13; - * * @param value The prePatchStepInstanceCount to set. * @return This builder for chaining. */ public Builder setPrePatchStepInstanceCount(long value) { - + prePatchStepInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that are running the pre-patch step.
          * 
* * int64 pre_patch_step_instance_count = 13; - * * @return This builder for chaining. */ public Builder clearPrePatchStepInstanceCount() { - + prePatchStepInstanceCount_ = 0L; onChanged(); return this; } - private long postPatchStepInstanceCount_; + private long postPatchStepInstanceCount_ ; /** - * - * *
          * Number of instances that are running the post-patch step.
          * 
* * int64 post_patch_step_instance_count = 14; - * * @return The postPatchStepInstanceCount. */ @java.lang.Override @@ -12474,45 +10944,37 @@ public long getPostPatchStepInstanceCount() { return postPatchStepInstanceCount_; } /** - * - * *
          * Number of instances that are running the post-patch step.
          * 
* * int64 post_patch_step_instance_count = 14; - * * @param value The postPatchStepInstanceCount to set. * @return This builder for chaining. */ public Builder setPostPatchStepInstanceCount(long value) { - + postPatchStepInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that are running the post-patch step.
          * 
* * int64 post_patch_step_instance_count = 14; - * * @return This builder for chaining. */ public Builder clearPostPatchStepInstanceCount() { - + postPatchStepInstanceCount_ = 0L; onChanged(); return this; } - private long noAgentDetectedInstanceCount_; + private long noAgentDetectedInstanceCount_ ; /** - * - * *
          * Number of instances that do not appear to be running the agent. Check to
          * ensure that the agent is installed, running, and able to communicate with
@@ -12520,7 +10982,6 @@ public Builder clearPostPatchStepInstanceCount() {
          * 
* * int64 no_agent_detected_instance_count = 15; - * * @return The noAgentDetectedInstanceCount. */ @java.lang.Override @@ -12528,8 +10989,6 @@ public long getNoAgentDetectedInstanceCount() { return noAgentDetectedInstanceCount_; } /** - * - * *
          * Number of instances that do not appear to be running the agent. Check to
          * ensure that the agent is installed, running, and able to communicate with
@@ -12537,19 +10996,16 @@ public long getNoAgentDetectedInstanceCount() {
          * 
* * int64 no_agent_detected_instance_count = 15; - * * @param value The noAgentDetectedInstanceCount to set. * @return This builder for chaining. */ public Builder setNoAgentDetectedInstanceCount(long value) { - + noAgentDetectedInstanceCount_ = value; onChanged(); return this; } /** - * - * *
          * Number of instances that do not appear to be running the agent. Check to
          * ensure that the agent is installed, running, and able to communicate with
@@ -12557,16 +11013,14 @@ public Builder setNoAgentDetectedInstanceCount(long value) {
          * 
* * int64 no_agent_detected_instance_count = 15; - * * @return This builder for chaining. */ public Builder clearNoAgentDetectedInstanceCount() { - + noAgentDetectedInstanceCount_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12579,34 +11033,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob - .InstanceDetailsSummary - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary(); + DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstanceDetailsSummary parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstanceDetailsSummary(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceDetailsSummary parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstanceDetailsSummary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12618,24 +11068,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Unique identifier for this patch job in the form
      * `projects/*/patchJobs/*`
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -12644,30 +11091,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Unique identifier for this patch job in the form
      * `projects/*/patchJobs/*`
      * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -12678,14 +11125,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 14; private volatile java.lang.Object displayName_; /** - * - * *
      * Display name for this patch job. This is not a unique identifier.
      * 
* * string display_name = 14; - * * @return The displayName. */ @java.lang.Override @@ -12694,29 +11138,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
      * Display name for this patch job. This is not a unique identifier.
      * 
* * string display_name = 14; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -12727,15 +11171,12 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -12744,30 +11185,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -12778,14 +11219,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
      * Time this patch job was created.
      * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -12793,14 +11231,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
      * Time this patch job was created.
      * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return The createTime. */ @java.lang.Override @@ -12808,8 +11243,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
      * Time this patch job was created.
      * 
@@ -12824,14 +11257,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
      * Last time this patch job was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -12839,14 +11269,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
      * Last time this patch job was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ @java.lang.Override @@ -12854,8 +11281,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
      * Last time this patch job was updated.
      * 
@@ -12870,52 +11295,38 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 5; private int state_; /** - * - * *
      * The current state of the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.PatchJob.State state = 5; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The current state of the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.PatchJob.State state = 5; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State getState() { + @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State result = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.valueOf(state_); - return result == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State result = com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.UNRECOGNIZED : result; } public static final int INSTANCE_FILTER_FIELD_NUMBER = 13; private com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter instanceFilter_; /** - * - * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; - * * @return Whether the instanceFilter field is set. */ @java.lang.Override @@ -12923,25 +11334,18 @@ public boolean hasInstanceFilter() { return instanceFilter_ != null; } /** - * - * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; - * * @return The instanceFilter. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanceFilter() { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; } /** - * - * *
      * Instances to patch.
      * 
@@ -12949,22 +11353,18 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanc * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder - getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { return getInstanceFilter(); } public static final int PATCH_CONFIG_FIELD_NUMBER = 7; private com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig patchConfig_; /** - * - * *
      * Patch configuration being applied.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; - * * @return Whether the patchConfig field is set. */ @java.lang.Override @@ -12972,25 +11372,18 @@ public boolean hasPatchConfig() { return patchConfig_ != null; } /** - * - * *
      * Patch configuration being applied.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; - * * @return The patchConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig() { - return patchConfig_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() - : patchConfig_; + return patchConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; } /** - * - * *
      * Patch configuration being applied.
      * 
@@ -12998,23 +11391,19 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig() { * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder - getPatchConfigOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder() { return getPatchConfig(); } public static final int DURATION_FIELD_NUMBER = 8; private com.google.protobuf.Duration duration_; /** - * - * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
      * 
* * .google.protobuf.Duration duration = 8; - * * @return Whether the duration field is set. */ @java.lang.Override @@ -13022,15 +11411,12 @@ public boolean hasDuration() { return duration_ != null; } /** - * - * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
      * 
* * .google.protobuf.Duration duration = 8; - * * @return The duration. */ @java.lang.Override @@ -13038,8 +11424,6 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** - * - * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
@@ -13053,19 +11437,13 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
     }
 
     public static final int INSTANCE_DETAILS_SUMMARY_FIELD_NUMBER = 9;
-    private com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary
-        instanceDetailsSummary_;
+    private com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary instanceDetailsSummary_;
     /**
-     *
-     *
      * 
      * Summary of instance details.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * - * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; * @return Whether the instanceDetailsSummary field is set. */ @java.lang.Override @@ -13073,55 +11451,38 @@ public boolean hasInstanceDetailsSummary() { return instanceDetailsSummary_ != null; } /** - * - * *
      * Summary of instance details.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * - * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; * @return The instanceDetailsSummary. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - getInstanceDetailsSummary() { - return instanceDetailsSummary_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - .getDefaultInstance() - : instanceDetailsSummary_; + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary getInstanceDetailsSummary() { + return instanceDetailsSummary_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance() : instanceDetailsSummary_; } /** - * - * *
      * Summary of instance details.
      * 
* - * - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder - getInstanceDetailsSummaryOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder getInstanceDetailsSummaryOrBuilder() { return getInstanceDetailsSummary(); } public static final int DRY_RUN_FIELD_NUMBER = 10; private boolean dryRun_; /** - * - * *
      * If this patch job is a dry run, the agent reports that it has
      * finished without running any updates on the VM instance.
      * 
* * bool dry_run = 10; - * * @return The dryRun. */ @java.lang.Override @@ -13132,15 +11493,12 @@ public boolean getDryRun() { public static final int ERROR_MESSAGE_FIELD_NUMBER = 11; private volatile java.lang.Object errorMessage_; /** - * - * *
      * If this patch job failed, this message provides information about the
      * failure.
      * 
* * string error_message = 11; - * * @return The errorMessage. */ @java.lang.Override @@ -13149,30 +11507,30 @@ public java.lang.String getErrorMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } } /** - * - * *
      * If this patch job failed, this message provides information about the
      * failure.
      * 
* * string error_message = 11; - * * @return The bytes for errorMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getErrorMessageBytes() { + public com.google.protobuf.ByteString + getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -13183,15 +11541,12 @@ public com.google.protobuf.ByteString getErrorMessageBytes() { public static final int PERCENT_COMPLETE_FIELD_NUMBER = 12; private double percentComplete_; /** - * - * *
      * Reflects the overall progress of the patch job in the range of
      * 0.0 being no progress to 100.0 being complete.
      * 
* * double percent_complete = 12; - * * @return The percentComplete. */ @java.lang.Override @@ -13202,14 +11557,11 @@ public double getPercentComplete() { public static final int PATCH_DEPLOYMENT_FIELD_NUMBER = 15; private volatile java.lang.Object patchDeployment_; /** - * - * *
      * Output only. Name of the patch deployment that created this patch job.
      * 
* * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The patchDeployment. */ @java.lang.Override @@ -13218,29 +11570,29 @@ public java.lang.String getPatchDeployment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchDeployment_ = s; return s; } } /** - * - * *
      * Output only. Name of the patch deployment that created this patch job.
      * 
* * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for patchDeployment. */ @java.lang.Override - public com.google.protobuf.ByteString getPatchDeploymentBytes() { + public com.google.protobuf.ByteString + getPatchDeploymentBytes() { java.lang.Object ref = patchDeployment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); patchDeployment_ = b; return b; } else { @@ -13251,14 +11603,11 @@ public com.google.protobuf.ByteString getPatchDeploymentBytes() { public static final int ROLLOUT_FIELD_NUMBER = 16; private com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout rollout_; /** - * - * *
      * Rollout strategy being applied.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 16; - * * @return Whether the rollout field is set. */ @java.lang.Override @@ -13266,25 +11615,18 @@ public boolean hasRollout() { return rollout_ != null; } /** - * - * *
      * Rollout strategy being applied.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 16; - * * @return The rollout. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getRollout() { - return rollout_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; } /** - * - * *
      * Rollout strategy being applied.
      * 
@@ -13297,7 +11639,6 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRollo } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13309,7 +11650,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -13322,9 +11664,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(4, getUpdateTime()); } - if (state_ - != com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(5, state_); } if (patchConfig_ != null) { @@ -13373,38 +11713,43 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } - if (state_ - != com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); + if (state_ != com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, state_); } if (patchConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getPatchConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getPatchConfig()); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getDuration()); } if (instanceDetailsSummary_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, getInstanceDetailsSummary()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getInstanceDetailsSummary()); } if (dryRun_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, dryRun_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, dryRun_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, errorMessage_); } if (java.lang.Double.doubleToRawLongBits(percentComplete_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(12, percentComplete_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(12, percentComplete_); } if (instanceFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getInstanceFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getInstanceFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, displayName_); @@ -13413,7 +11758,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, patchDeployment_); } if (rollout_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getRollout()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, getRollout()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -13423,50 +11769,63 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob other = - (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob other = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (state_ != other.state_) return false; if (hasInstanceFilter() != other.hasInstanceFilter()) return false; if (hasInstanceFilter()) { - if (!getInstanceFilter().equals(other.getInstanceFilter())) return false; + if (!getInstanceFilter() + .equals(other.getInstanceFilter())) return false; } if (hasPatchConfig() != other.hasPatchConfig()) return false; if (hasPatchConfig()) { - if (!getPatchConfig().equals(other.getPatchConfig())) return false; + if (!getPatchConfig() + .equals(other.getPatchConfig())) return false; } if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration().equals(other.getDuration())) return false; + if (!getDuration() + .equals(other.getDuration())) return false; } if (hasInstanceDetailsSummary() != other.hasInstanceDetailsSummary()) return false; if (hasInstanceDetailsSummary()) { - if (!getInstanceDetailsSummary().equals(other.getInstanceDetailsSummary())) return false; + if (!getInstanceDetailsSummary() + .equals(other.getInstanceDetailsSummary())) return false; } - if (getDryRun() != other.getDryRun()) return false; - if (!getErrorMessage().equals(other.getErrorMessage())) return false; + if (getDryRun() + != other.getDryRun()) return false; + if (!getErrorMessage() + .equals(other.getErrorMessage())) return false; if (java.lang.Double.doubleToLongBits(getPercentComplete()) - != java.lang.Double.doubleToLongBits(other.getPercentComplete())) return false; - if (!getPatchDeployment().equals(other.getPatchDeployment())) return false; + != java.lang.Double.doubleToLongBits( + other.getPercentComplete())) return false; + if (!getPatchDeployment() + .equals(other.getPatchDeployment())) return false; if (hasRollout() != other.hasRollout()) return false; if (hasRollout()) { - if (!getRollout().equals(other.getRollout())) return false; + if (!getRollout() + .equals(other.getRollout())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -13512,14 +11871,13 @@ public int hashCode() { hash = (53 * hash) + getInstanceDetailsSummary().hashCode(); } hash = (37 * hash) + DRY_RUN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDryRun()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDryRun()); hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getErrorMessage().hashCode(); hash = (37 * hash) + PERCENT_COMPLETE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getPercentComplete())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getPercentComplete())); hash = (37 * hash) + PATCH_DEPLOYMENT_FIELD_NUMBER; hash = (53 * hash) + getPatchDeployment().hashCode(); if (hasRollout()) { @@ -13532,94 +11890,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob 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.osconfig.v1beta.PatchJobs.PatchJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -13629,8 +11980,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A high level representation of a patch job that is either in progress
      * or has completed.
@@ -13643,24 +11992,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.PatchJob}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PatchJob)
         com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_PatchJob_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class,
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.newBuilder()
@@ -13668,15 +12014,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -13742,9 +12089,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor;
       }
 
       @java.lang.Override
@@ -13763,8 +12110,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob result =
-            new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob(this);
+        com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob result = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob(this);
         result.name_ = name_;
         result.displayName_ = displayName_;
         result.description_ = description_;
@@ -13816,41 +12162,38 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchJobs.PatchJob) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -13858,8 +12201,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob other) {
-        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDefaultInstance()) return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -13929,8 +12271,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -13942,21 +12283,19 @@ public Builder mergeFrom(
 
       private java.lang.Object name_ = "";
       /**
-       *
-       *
        * 
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -13965,22 +12304,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -13988,64 +12326,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -14053,20 +12384,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -14075,21 +12404,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -14097,61 +12425,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -14159,21 +12480,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -14182,22 +12501,21 @@ public java.lang.String getDescription() { } } /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -14205,64 +12523,57 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -14270,47 +12581,34 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
        * Time this patch job was created.
        * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
        * Time this patch job was created.
        * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
        * Time this patch job was created.
        * 
@@ -14331,15 +12629,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Time this patch job was created.
        * 
* * .google.protobuf.Timestamp create_time = 3; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -14350,8 +12647,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * Time this patch job was created.
        * 
@@ -14362,9 +12657,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -14376,8 +12669,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Time this patch job was created.
        * 
@@ -14396,8 +12687,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
        * Time this patch job was created.
        * 
@@ -14405,13 +12694,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 3; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Time this patch job was created.
        * 
@@ -14422,14 +12709,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
        * Time this patch job was created.
        * 
@@ -14437,17 +12721,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -14455,47 +12736,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
        * Last time this patch job was updated.
        * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
        * Last time this patch job was updated.
        * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
        * Last time this patch job was updated.
        * 
@@ -14516,15 +12784,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Last time this patch job was updated.
        * 
* * .google.protobuf.Timestamp update_time = 4; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -14535,8 +12802,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * Last time this patch job was updated.
        * 
@@ -14547,9 +12812,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -14561,8 +12824,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Last time this patch job was updated.
        * 
@@ -14581,8 +12842,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
        * Last time this patch job was updated.
        * 
@@ -14590,13 +12849,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 4; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Last time this patch job was updated.
        * 
@@ -14607,14 +12864,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
        * Last time this patch job was updated.
        * 
@@ -14622,17 +12876,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -14640,67 +12891,51 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private int state_ = 0; /** - * - * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.PatchJob.State state = 5; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.PatchJob.State state = 5; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.PatchJob.State state = 5; - * * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State result = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.valueOf(state_); - return result == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State result = com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.valueOf(state_); + return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.UNRECOGNIZED : result; } /** - * - * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.PatchJob.State state = 5; - * * @param value The state to set. * @return This builder for chaining. */ @@ -14708,24 +12943,21 @@ public Builder setState(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Stat if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.PatchJob.State state = 5; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -14733,55 +12965,41 @@ public Builder clearState() { private com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter instanceFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> - instanceFilterBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> instanceFilterBuilder_; /** - * - * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; - * * @return Whether the instanceFilter field is set. */ public boolean hasInstanceFilter() { return instanceFilterBuilder_ != null || instanceFilter_ != null; } /** - * - * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; - * * @return The instanceFilter. */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanceFilter() { if (instanceFilterBuilder_ == null) { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; } else { return instanceFilterBuilder_.getMessage(); } } /** - * - * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; */ - public Builder setInstanceFilter( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { + public Builder setInstanceFilter(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14795,8 +13013,6 @@ public Builder setInstanceFilter( return this; } /** - * - * *
        * Instances to patch.
        * 
@@ -14815,23 +13031,17 @@ public Builder setInstanceFilter( return this; } /** - * - * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; */ - public Builder mergeInstanceFilter( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { + public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (instanceFilter_ != null) { instanceFilter_ = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.newBuilder( - instanceFilter_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.newBuilder(instanceFilter_).mergeFrom(value).buildPartial(); } else { instanceFilter_ = value; } @@ -14843,8 +13053,6 @@ public Builder mergeInstanceFilter( return this; } /** - * - * *
        * Instances to patch.
        * 
@@ -14863,42 +13071,33 @@ public Builder clearInstanceFilter() { return this; } /** - * - * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder - getInstanceFilterBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder() { + onChanged(); return getInstanceFilterFieldBuilder().getBuilder(); } /** - * - * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder - getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { if (instanceFilterBuilder_ != null) { return instanceFilterBuilder_.getMessageOrBuilder(); } else { - return instanceFilter_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() - : instanceFilter_; + return instanceFilter_ == null ? + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; } } /** - * - * *
        * Instances to patch.
        * 
@@ -14906,17 +13105,14 @@ public Builder clearInstanceFilter() { * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> getInstanceFilterFieldBuilder() { if (instanceFilterBuilder_ == null) { - instanceFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder>( - getInstanceFilter(), getParentForChildren(), isClean()); + instanceFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder>( + getInstanceFilter(), + getParentForChildren(), + isClean()); instanceFilter_ = null; } return instanceFilterBuilder_; @@ -14924,47 +13120,34 @@ public Builder clearInstanceFilter() { private com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig patchConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> - patchConfigBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> patchConfigBuilder_; /** - * - * *
        * Patch configuration being applied.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; - * * @return Whether the patchConfig field is set. */ public boolean hasPatchConfig() { return patchConfigBuilder_ != null || patchConfig_ != null; } /** - * - * *
        * Patch configuration being applied.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; - * * @return The patchConfig. */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig() { if (patchConfigBuilder_ == null) { - return patchConfig_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() - : patchConfig_; + return patchConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; } else { return patchConfigBuilder_.getMessage(); } } /** - * - * *
        * Patch configuration being applied.
        * 
@@ -14985,8 +13168,6 @@ public Builder setPatchConfig(com.google.cloud.osconfig.v1beta.PatchJobs.PatchCo return this; } /** - * - * *
        * Patch configuration being applied.
        * 
@@ -15005,22 +13186,17 @@ public Builder setPatchConfig( return this; } /** - * - * *
        * Patch configuration being applied.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; */ - public Builder mergePatchConfig( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig value) { + public Builder mergePatchConfig(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig value) { if (patchConfigBuilder_ == null) { if (patchConfig_ != null) { patchConfig_ = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.newBuilder(patchConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.newBuilder(patchConfig_).mergeFrom(value).buildPartial(); } else { patchConfig_ = value; } @@ -15032,8 +13208,6 @@ public Builder mergePatchConfig( return this; } /** - * - * *
        * Patch configuration being applied.
        * 
@@ -15052,42 +13226,33 @@ public Builder clearPatchConfig() { return this; } /** - * - * *
        * Patch configuration being applied.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder - getPatchConfigBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder getPatchConfigBuilder() { + onChanged(); return getPatchConfigFieldBuilder().getBuilder(); } /** - * - * *
        * Patch configuration being applied.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder - getPatchConfigOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder() { if (patchConfigBuilder_ != null) { return patchConfigBuilder_.getMessageOrBuilder(); } else { - return patchConfig_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() - : patchConfig_; + return patchConfig_ == null ? + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; } } /** - * - * *
        * Patch configuration being applied.
        * 
@@ -15095,17 +13260,14 @@ public Builder clearPatchConfig() { * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> getPatchConfigFieldBuilder() { if (patchConfigBuilder_ == null) { - patchConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder>( - getPatchConfig(), getParentForChildren(), isClean()); + patchConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder>( + getPatchConfig(), + getParentForChildren(), + isClean()); patchConfig_ = null; } return patchConfigBuilder_; @@ -15113,35 +13275,26 @@ public Builder clearPatchConfig() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - durationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; /** - * - * *
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
        * 
* * .google.protobuf.Duration duration = 8; - * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** - * - * *
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
        * 
* * .google.protobuf.Duration duration = 8; - * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -15152,8 +13305,6 @@ public com.google.protobuf.Duration getDuration() { } } /** - * - * *
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -15175,8 +13326,6 @@ public Builder setDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -15184,7 +13333,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration duration = 8;
        */
-      public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setDuration(
+          com.google.protobuf.Duration.Builder builderForValue) {
         if (durationBuilder_ == null) {
           duration_ = builderForValue.build();
           onChanged();
@@ -15195,8 +13345,6 @@ public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -15208,7 +13356,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
         if (durationBuilder_ == null) {
           if (duration_ != null) {
             duration_ =
-                com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
           } else {
             duration_ = value;
           }
@@ -15220,8 +13368,6 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -15241,8 +13387,6 @@ public Builder clearDuration() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -15251,13 +13395,11 @@ public Builder clearDuration() {
        * .google.protobuf.Duration duration = 8;
        */
       public com.google.protobuf.Duration.Builder getDurationBuilder() {
-
+        
         onChanged();
         return getDurationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -15269,12 +13411,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
         if (durationBuilder_ != null) {
           return durationBuilder_.getMessageOrBuilder();
         } else {
-          return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
+          return duration_ == null ?
+              com.google.protobuf.Duration.getDefaultInstance() : duration_;
         }
       }
       /**
-       *
-       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -15283,82 +13424,56 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
        * .google.protobuf.Duration duration = 8;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
           getDurationFieldBuilder() {
         if (durationBuilder_ == null) {
-          durationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>(
-                  getDuration(), getParentForChildren(), isClean());
+          durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                  getDuration(),
+                  getParentForChildren(),
+                  isClean());
           duration_ = null;
         }
         return durationBuilder_;
       }
 
-      private com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary
-          instanceDetailsSummary_;
+      private com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary instanceDetailsSummary_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary,
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder,
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder>
-          instanceDetailsSummaryBuilder_;
+          com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder> instanceDetailsSummaryBuilder_;
       /**
-       *
-       *
        * 
        * Summary of instance details.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * - * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; * @return Whether the instanceDetailsSummary field is set. */ public boolean hasInstanceDetailsSummary() { return instanceDetailsSummaryBuilder_ != null || instanceDetailsSummary_ != null; } /** - * - * *
        * Summary of instance details.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * - * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; * @return The instanceDetailsSummary. */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - getInstanceDetailsSummary() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary getInstanceDetailsSummary() { if (instanceDetailsSummaryBuilder_ == null) { - return instanceDetailsSummary_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - .getDefaultInstance() - : instanceDetailsSummary_; + return instanceDetailsSummary_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance() : instanceDetailsSummary_; } else { return instanceDetailsSummaryBuilder_.getMessage(); } } /** - * - * *
        * Summary of instance details.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; */ - public Builder setInstanceDetailsSummary( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary value) { + public Builder setInstanceDetailsSummary(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary value) { if (instanceDetailsSummaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -15372,19 +13487,14 @@ public Builder setInstanceDetailsSummary( return this; } /** - * - * *
        * Summary of instance details.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; */ public Builder setInstanceDetailsSummary( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder builderForValue) { if (instanceDetailsSummaryBuilder_ == null) { instanceDetailsSummary_ = builderForValue.build(); onChanged(); @@ -15395,25 +13505,17 @@ public Builder setInstanceDetailsSummary( return this; } /** - * - * *
        * Summary of instance details.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; */ - public Builder mergeInstanceDetailsSummary( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary value) { + public Builder mergeInstanceDetailsSummary(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary value) { if (instanceDetailsSummaryBuilder_ == null) { if (instanceDetailsSummary_ != null) { instanceDetailsSummary_ = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - .newBuilder(instanceDetailsSummary_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.newBuilder(instanceDetailsSummary_).mergeFrom(value).buildPartial(); } else { instanceDetailsSummary_ = value; } @@ -15425,15 +13527,11 @@ public Builder mergeInstanceDetailsSummary( return this; } /** - * - * *
        * Summary of instance details.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; */ public Builder clearInstanceDetailsSummary() { if (instanceDetailsSummaryBuilder_ == null) { @@ -15447,85 +13545,61 @@ public Builder clearInstanceDetailsSummary() { return this; } /** - * - * *
        * Summary of instance details.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder - getInstanceDetailsSummaryBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder getInstanceDetailsSummaryBuilder() { + onChanged(); return getInstanceDetailsSummaryFieldBuilder().getBuilder(); } /** - * - * *
        * Summary of instance details.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder - getInstanceDetailsSummaryOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder getInstanceDetailsSummaryOrBuilder() { if (instanceDetailsSummaryBuilder_ != null) { return instanceDetailsSummaryBuilder_.getMessageOrBuilder(); } else { - return instanceDetailsSummary_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - .getDefaultInstance() - : instanceDetailsSummary_; + return instanceDetailsSummary_ == null ? + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance() : instanceDetailsSummary_; } } /** - * - * *
        * Summary of instance details.
        * 
* - * - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; - * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder> getInstanceDetailsSummaryFieldBuilder() { if (instanceDetailsSummaryBuilder_ == null) { - instanceDetailsSummaryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary - .Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob - .InstanceDetailsSummaryOrBuilder>( - getInstanceDetailsSummary(), getParentForChildren(), isClean()); + instanceDetailsSummaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder>( + getInstanceDetailsSummary(), + getParentForChildren(), + isClean()); instanceDetailsSummary_ = null; } return instanceDetailsSummaryBuilder_; } - private boolean dryRun_; + private boolean dryRun_ ; /** - * - * *
        * If this patch job is a dry run, the agent reports that it has
        * finished without running any updates on the VM instance.
        * 
* * bool dry_run = 10; - * * @return The dryRun. */ @java.lang.Override @@ -15533,38 +13607,32 @@ public boolean getDryRun() { return dryRun_; } /** - * - * *
        * If this patch job is a dry run, the agent reports that it has
        * finished without running any updates on the VM instance.
        * 
* * bool dry_run = 10; - * * @param value The dryRun to set. * @return This builder for chaining. */ public Builder setDryRun(boolean value) { - + dryRun_ = value; onChanged(); return this; } /** - * - * *
        * If this patch job is a dry run, the agent reports that it has
        * finished without running any updates on the VM instance.
        * 
* * bool dry_run = 10; - * * @return This builder for chaining. */ public Builder clearDryRun() { - + dryRun_ = false; onChanged(); return this; @@ -15572,21 +13640,19 @@ public Builder clearDryRun() { private java.lang.Object errorMessage_ = ""; /** - * - * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; - * * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; @@ -15595,22 +13661,21 @@ public java.lang.String getErrorMessage() { } } /** - * - * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; - * * @return The bytes for errorMessage. */ - public com.google.protobuf.ByteString getErrorMessageBytes() { + public com.google.protobuf.ByteString + getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -15618,80 +13683,70 @@ public com.google.protobuf.ByteString getErrorMessageBytes() { } } /** - * - * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; - * * @param value The errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessage(java.lang.String value) { + public Builder setErrorMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorMessage_ = value; onChanged(); return this; } /** - * - * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; - * * @return This builder for chaining. */ public Builder clearErrorMessage() { - + errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** - * - * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; - * * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { + public Builder setErrorMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorMessage_ = value; onChanged(); return this; } - private double percentComplete_; + private double percentComplete_ ; /** - * - * *
        * Reflects the overall progress of the patch job in the range of
        * 0.0 being no progress to 100.0 being complete.
        * 
* * double percent_complete = 12; - * * @return The percentComplete. */ @java.lang.Override @@ -15699,38 +13754,32 @@ public double getPercentComplete() { return percentComplete_; } /** - * - * *
        * Reflects the overall progress of the patch job in the range of
        * 0.0 being no progress to 100.0 being complete.
        * 
* * double percent_complete = 12; - * * @param value The percentComplete to set. * @return This builder for chaining. */ public Builder setPercentComplete(double value) { - + percentComplete_ = value; onChanged(); return this; } /** - * - * *
        * Reflects the overall progress of the patch job in the range of
        * 0.0 being no progress to 100.0 being complete.
        * 
* * double percent_complete = 12; - * * @return This builder for chaining. */ public Builder clearPercentComplete() { - + percentComplete_ = 0D; onChanged(); return this; @@ -15738,20 +13787,18 @@ public Builder clearPercentComplete() { private java.lang.Object patchDeployment_ = ""; /** - * - * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The patchDeployment. */ public java.lang.String getPatchDeployment() { java.lang.Object ref = patchDeployment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchDeployment_ = s; return s; @@ -15760,21 +13807,20 @@ public java.lang.String getPatchDeployment() { } } /** - * - * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for patchDeployment. */ - public com.google.protobuf.ByteString getPatchDeploymentBytes() { + public com.google.protobuf.ByteString + getPatchDeploymentBytes() { java.lang.Object ref = patchDeployment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); patchDeployment_ = b; return b; } else { @@ -15782,61 +13828,54 @@ public com.google.protobuf.ByteString getPatchDeploymentBytes() { } } /** - * - * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The patchDeployment to set. * @return This builder for chaining. */ - public Builder setPatchDeployment(java.lang.String value) { + public Builder setPatchDeployment( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + patchDeployment_ = value; onChanged(); return this; } /** - * - * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPatchDeployment() { - + patchDeployment_ = getDefaultInstance().getPatchDeployment(); onChanged(); return this; } /** - * - * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for patchDeployment to set. * @return This builder for chaining. */ - public Builder setPatchDeploymentBytes(com.google.protobuf.ByteString value) { + public Builder setPatchDeploymentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + patchDeployment_ = value; onChanged(); return this; @@ -15844,47 +13883,34 @@ public Builder setPatchDeploymentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout rollout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> - rolloutBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> rolloutBuilder_; /** - * - * *
        * Rollout strategy being applied.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 16; - * * @return Whether the rollout field is set. */ public boolean hasRollout() { return rolloutBuilder_ != null || rollout_ != null; } /** - * - * *
        * Rollout strategy being applied.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 16; - * * @return The rollout. */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getRollout() { if (rolloutBuilder_ == null) { - return rollout_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; } else { return rolloutBuilder_.getMessage(); } } /** - * - * *
        * Rollout strategy being applied.
        * 
@@ -15905,8 +13931,6 @@ public Builder setRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollou return this; } /** - * - * *
        * Rollout strategy being applied.
        * 
@@ -15925,8 +13949,6 @@ public Builder setRollout( return this; } /** - * - * *
        * Rollout strategy being applied.
        * 
@@ -15937,9 +13959,7 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRoll if (rolloutBuilder_ == null) { if (rollout_ != null) { rollout_ = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.newBuilder(rollout_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.newBuilder(rollout_).mergeFrom(value).buildPartial(); } else { rollout_ = value; } @@ -15951,8 +13971,6 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRoll return this; } /** - * - * *
        * Rollout strategy being applied.
        * 
@@ -15971,8 +13989,6 @@ public Builder clearRollout() { return this; } /** - * - * *
        * Rollout strategy being applied.
        * 
@@ -15980,32 +13996,26 @@ public Builder clearRollout() { * .google.cloud.osconfig.v1beta.PatchRollout rollout = 16; */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder getRolloutBuilder() { - + onChanged(); return getRolloutFieldBuilder().getBuilder(); } /** - * - * *
        * Rollout strategy being applied.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 16; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder - getRolloutOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder() { if (rolloutBuilder_ != null) { return rolloutBuilder_.getMessageOrBuilder(); } else { - return rollout_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() - : rollout_; + return rollout_ == null ? + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; } } /** - * - * *
        * Rollout strategy being applied.
        * 
@@ -16013,22 +14023,18 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder getRollou * .google.cloud.osconfig.v1beta.PatchRollout rollout = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> getRolloutFieldBuilder() { if (rolloutBuilder_ == null) { - rolloutBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder>( - getRollout(), getParentForChildren(), isClean()); + rolloutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder>( + getRollout(), + getParentForChildren(), + isClean()); rollout_ = null; } return rolloutBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16041,12 +14047,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PatchJob) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PatchJob) private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob(); } @@ -16055,16 +14061,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchJob(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchJob(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16079,67 +14085,53 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PatchConfigOrBuilder - extends + public interface PatchConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PatchConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Post-patch reboot settings.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1; - * * @return The enum numeric value on the wire for rebootConfig. */ int getRebootConfigValue(); /** - * - * *
      * Post-patch reboot settings.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1; - * * @return The rebootConfig. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig getRebootConfig(); /** - * - * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.AptSettings apt = 3; - * * @return Whether the apt field is set. */ boolean hasApt(); /** - * - * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.AptSettings apt = 3; - * * @return The apt. */ com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings getApt(); /** - * - * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
@@ -16150,34 +14142,26 @@ public interface PatchConfigOrBuilder
     com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder getAptOrBuilder();
 
     /**
-     *
-     *
      * 
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.YumSettings yum = 4; - * * @return Whether the yum field is set. */ boolean hasYum(); /** - * - * *
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.YumSettings yum = 4; - * * @return The yum. */ com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings getYum(); /** - * - * *
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
@@ -16188,34 +14172,26 @@ public interface PatchConfigOrBuilder
     com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder getYumOrBuilder();
 
     /**
-     *
-     *
      * 
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.GooSettings goo = 5; - * * @return Whether the goo field is set. */ boolean hasGoo(); /** - * - * *
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.GooSettings goo = 5; - * * @return The goo. */ com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings getGoo(); /** - * - * *
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
@@ -16226,34 +14202,26 @@ public interface PatchConfigOrBuilder
     com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder getGooOrBuilder();
 
     /**
-     *
-     *
      * 
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
      * 
* * .google.cloud.osconfig.v1beta.ZypperSettings zypper = 6; - * * @return Whether the zypper field is set. */ boolean hasZypper(); /** - * - * *
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
      * 
* * .google.cloud.osconfig.v1beta.ZypperSettings zypper = 6; - * * @return The zypper. */ com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings getZypper(); /** - * - * *
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
@@ -16264,68 +14232,51 @@ public interface PatchConfigOrBuilder
     com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder getZypperOrBuilder();
 
     /**
-     *
-     *
      * 
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; - * * @return Whether the windowsUpdate field is set. */ boolean hasWindowsUpdate(); /** - * - * *
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; - * * @return The windowsUpdate. */ com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings getWindowsUpdate(); /** - * - * *
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; */ - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder - getWindowsUpdateOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder getWindowsUpdateOrBuilder(); /** - * - * *
      * The `ExecStep` to run before the patch update.
      * 
* * .google.cloud.osconfig.v1beta.ExecStep pre_step = 8; - * * @return Whether the preStep field is set. */ boolean hasPreStep(); /** - * - * *
      * The `ExecStep` to run before the patch update.
      * 
* * .google.cloud.osconfig.v1beta.ExecStep pre_step = 8; - * * @return The preStep. */ com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep getPreStep(); /** - * - * *
      * The `ExecStep` to run before the patch update.
      * 
@@ -16335,32 +14286,24 @@ public interface PatchConfigOrBuilder com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder getPreStepOrBuilder(); /** - * - * *
      * The `ExecStep` to run after the patch update.
      * 
* * .google.cloud.osconfig.v1beta.ExecStep post_step = 9; - * * @return Whether the postStep field is set. */ boolean hasPostStep(); /** - * - * *
      * The `ExecStep` to run after the patch update.
      * 
* * .google.cloud.osconfig.v1beta.ExecStep post_step = 9; - * * @return The postStep. */ com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep getPostStep(); /** - * - * *
      * The `ExecStep` to run after the patch update.
      * 
@@ -16370,21 +14313,16 @@ public interface PatchConfigOrBuilder com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder getPostStepOrBuilder(); /** - * - * *
      * Allows the patch job to run on Managed instance groups (MIGs).
      * 
* * bool mig_instances_allowed = 10; - * * @return The migInstancesAllowed. */ boolean getMigInstancesAllowed(); } /** - * - * *
    * Patch configuration specifications. Contains details on how to apply the
    * patch(es) to a VM instance.
@@ -16392,31 +14330,31 @@ public interface PatchConfigOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.PatchConfig}
    */
-  public static final class PatchConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PatchConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PatchConfig)
       PatchConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PatchConfig.newBuilder() to construct.
     private PatchConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PatchConfig() {
       rebootConfig_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PatchConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PatchConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -16435,145 +14373,115 @@ private PatchConfig(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
+              int rawValue = input.readEnum();
 
-                rebootConfig_ = rawValue;
-                break;
+              rebootConfig_ = rawValue;
+              break;
+            }
+            case 26: {
+              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder subBuilder = null;
+              if (apt_ != null) {
+                subBuilder = apt_.toBuilder();
               }
-            case 26:
-              {
-                com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder subBuilder = null;
-                if (apt_ != null) {
-                  subBuilder = apt_.toBuilder();
-                }
-                apt_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(apt_);
-                  apt_ = subBuilder.buildPartial();
-                }
-
-                break;
+              apt_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(apt_);
+                apt_ = subBuilder.buildPartial();
               }
-            case 34:
-              {
-                com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder subBuilder = null;
-                if (yum_ != null) {
-                  subBuilder = yum_.toBuilder();
-                }
-                yum_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(yum_);
-                  yum_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 34: {
+              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder subBuilder = null;
+              if (yum_ != null) {
+                subBuilder = yum_.toBuilder();
+              }
+              yum_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(yum_);
+                yum_ = subBuilder.buildPartial();
               }
-            case 42:
-              {
-                com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder subBuilder = null;
-                if (goo_ != null) {
-                  subBuilder = goo_.toBuilder();
-                }
-                goo_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(goo_);
-                  goo_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 42: {
+              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder subBuilder = null;
+              if (goo_ != null) {
+                subBuilder = goo_.toBuilder();
+              }
+              goo_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(goo_);
+                goo_ = subBuilder.buildPartial();
               }
-            case 50:
-              {
-                com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder subBuilder = null;
-                if (zypper_ != null) {
-                  subBuilder = zypper_.toBuilder();
-                }
-                zypper_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(zypper_);
-                  zypper_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 50: {
+              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder subBuilder = null;
+              if (zypper_ != null) {
+                subBuilder = zypper_.toBuilder();
+              }
+              zypper_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(zypper_);
+                zypper_ = subBuilder.buildPartial();
               }
-            case 58:
-              {
-                com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder
-                    subBuilder = null;
-                if (windowsUpdate_ != null) {
-                  subBuilder = windowsUpdate_.toBuilder();
-                }
-                windowsUpdate_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(windowsUpdate_);
-                  windowsUpdate_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 58: {
+              com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder subBuilder = null;
+              if (windowsUpdate_ != null) {
+                subBuilder = windowsUpdate_.toBuilder();
+              }
+              windowsUpdate_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(windowsUpdate_);
+                windowsUpdate_ = subBuilder.buildPartial();
               }
-            case 66:
-              {
-                com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder subBuilder = null;
-                if (preStep_ != null) {
-                  subBuilder = preStep_.toBuilder();
-                }
-                preStep_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(preStep_);
-                  preStep_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 66: {
+              com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder subBuilder = null;
+              if (preStep_ != null) {
+                subBuilder = preStep_.toBuilder();
+              }
+              preStep_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(preStep_);
+                preStep_ = subBuilder.buildPartial();
               }
-            case 74:
-              {
-                com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder subBuilder = null;
-                if (postStep_ != null) {
-                  subBuilder = postStep_.toBuilder();
-                }
-                postStep_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(postStep_);
-                  postStep_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 74: {
+              com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder subBuilder = null;
+              if (postStep_ != null) {
+                subBuilder = postStep_.toBuilder();
               }
-            case 80:
-              {
-                migInstancesAllowed_ = input.readBool();
-                break;
+              postStep_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(postStep_);
+                postStep_ = subBuilder.buildPartial();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+
+              break;
+            }
+            case 80: {
+
+              migInstancesAllowed_ = input.readBool();
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -16581,41 +14489,36 @@ private PatchConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs
-          .internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs
-          .internal_static_google_cloud_osconfig_v1beta_PatchConfig_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.class,
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * Post-patch reboot settings.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.PatchConfig.RebootConfig} */ - public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum { + public enum RebootConfig + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * The default behavior is DEFAULT.
        * 
@@ -16624,8 +14527,6 @@ public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum { */ REBOOT_CONFIG_UNSPECIFIED(0), /** - * - * *
        * The agent decides if a reboot is necessary by checking signals such as
        * registry keys on Windows or `/var/run/reboot-required` on APT based
@@ -16637,8 +14538,6 @@ public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum {
        */
       DEFAULT(1),
       /**
-       *
-       *
        * 
        * Always reboot the machine after the update completes.
        * 
@@ -16647,8 +14546,6 @@ public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum { */ ALWAYS(2), /** - * - * *
        * Never reboot the machine after the update completes.
        * 
@@ -16660,8 +14557,6 @@ public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The default behavior is DEFAULT.
        * 
@@ -16670,8 +14565,6 @@ public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REBOOT_CONFIG_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The agent decides if a reboot is necessary by checking signals such as
        * registry keys on Windows or `/var/run/reboot-required` on APT based
@@ -16683,8 +14576,6 @@ public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int DEFAULT_VALUE = 1;
       /**
-       *
-       *
        * 
        * Always reboot the machine after the update completes.
        * 
@@ -16693,8 +14584,6 @@ public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALWAYS_VALUE = 2; /** - * - * *
        * Never reboot the machine after the update completes.
        * 
@@ -16703,6 +14592,7 @@ public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEVER_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -16727,53 +14617,50 @@ public static RebootConfig valueOf(int value) { */ public static RebootConfig forNumber(int value) { switch (value) { - case 0: - return REBOOT_CONFIG_UNSPECIFIED; - case 1: - return DEFAULT; - case 2: - return ALWAYS; - case 3: - return NEVER; - default: - return null; + case 0: return REBOOT_CONFIG_UNSPECIFIED; + case 1: return DEFAULT; + case 2: return ALWAYS; + case 3: return NEVER; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + RebootConfig> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RebootConfig findValueByNumber(int number) { + return RebootConfig.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RebootConfig findValueByNumber(int number) { - return RebootConfig.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDescriptor().getEnumTypes().get(0); } private static final RebootConfig[] VALUES = values(); - public static RebootConfig valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RebootConfig valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -16793,54 +14680,39 @@ private RebootConfig(int value) { public static final int REBOOT_CONFIG_FIELD_NUMBER = 1; private int rebootConfig_; /** - * - * *
      * Post-patch reboot settings.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1; - * * @return The enum numeric value on the wire for rebootConfig. */ - @java.lang.Override - public int getRebootConfigValue() { + @java.lang.Override public int getRebootConfigValue() { return rebootConfig_; } /** - * - * *
      * Post-patch reboot settings.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1; - * * @return The rebootConfig. */ - @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig getRebootConfig() { + @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig getRebootConfig() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig result = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.valueOf( - rebootConfig_); - return result == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig result = com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.valueOf(rebootConfig_); + return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.UNRECOGNIZED : result; } public static final int APT_FIELD_NUMBER = 3; private com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings apt_; /** - * - * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.AptSettings apt = 3; - * * @return Whether the apt field is set. */ @java.lang.Override @@ -16848,26 +14720,19 @@ public boolean hasApt() { return apt_ != null; } /** - * - * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.AptSettings apt = 3; - * * @return The apt. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings getApt() { - return apt_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDefaultInstance() - : apt_; + return apt_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDefaultInstance() : apt_; } /** - * - * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
@@ -16883,15 +14748,12 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder getAptOrB
     public static final int YUM_FIELD_NUMBER = 4;
     private com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings yum_;
     /**
-     *
-     *
      * 
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.YumSettings yum = 4; - * * @return Whether the yum field is set. */ @java.lang.Override @@ -16899,26 +14761,19 @@ public boolean hasYum() { return yum_ != null; } /** - * - * *
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.YumSettings yum = 4; - * * @return The yum. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings getYum() { - return yum_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.getDefaultInstance() - : yum_; + return yum_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.getDefaultInstance() : yum_; } /** - * - * *
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
@@ -16934,15 +14789,12 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder getYumOrB
     public static final int GOO_FIELD_NUMBER = 5;
     private com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings goo_;
     /**
-     *
-     *
      * 
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.GooSettings goo = 5; - * * @return Whether the goo field is set. */ @java.lang.Override @@ -16950,26 +14802,19 @@ public boolean hasGoo() { return goo_ != null; } /** - * - * *
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.GooSettings goo = 5; - * * @return The goo. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings getGoo() { - return goo_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.getDefaultInstance() - : goo_; + return goo_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.getDefaultInstance() : goo_; } /** - * - * *
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
@@ -16985,15 +14830,12 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder getGooOrB
     public static final int ZYPPER_FIELD_NUMBER = 6;
     private com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings zypper_;
     /**
-     *
-     *
      * 
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
      * 
* * .google.cloud.osconfig.v1beta.ZypperSettings zypper = 6; - * * @return Whether the zypper field is set. */ @java.lang.Override @@ -17001,26 +14843,19 @@ public boolean hasZypper() { return zypper_ != null; } /** - * - * *
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
      * 
* * .google.cloud.osconfig.v1beta.ZypperSettings zypper = 6; - * * @return The zypper. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings getZypper() { - return zypper_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.getDefaultInstance() - : zypper_; + return zypper_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.getDefaultInstance() : zypper_; } /** - * - * *
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
@@ -17036,14 +14871,11 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder getZyp
     public static final int WINDOWS_UPDATE_FIELD_NUMBER = 7;
     private com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings windowsUpdate_;
     /**
-     *
-     *
      * 
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; - * * @return Whether the windowsUpdate field is set. */ @java.lang.Override @@ -17051,25 +14883,18 @@ public boolean hasWindowsUpdate() { return windowsUpdate_ != null; } /** - * - * *
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; - * * @return The windowsUpdate. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings getWindowsUpdate() { - return windowsUpdate_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.getDefaultInstance() - : windowsUpdate_; + return windowsUpdate_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.getDefaultInstance() : windowsUpdate_; } /** - * - * *
      * Windows update settings. Use this override the default windows patch rules.
      * 
@@ -17077,22 +14902,18 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings getWindo * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder - getWindowsUpdateOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder getWindowsUpdateOrBuilder() { return getWindowsUpdate(); } public static final int PRE_STEP_FIELD_NUMBER = 8; private com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep preStep_; /** - * - * *
      * The `ExecStep` to run before the patch update.
      * 
* * .google.cloud.osconfig.v1beta.ExecStep pre_step = 8; - * * @return Whether the preStep field is set. */ @java.lang.Override @@ -17100,25 +14921,18 @@ public boolean hasPreStep() { return preStep_ != null; } /** - * - * *
      * The `ExecStep` to run before the patch update.
      * 
* * .google.cloud.osconfig.v1beta.ExecStep pre_step = 8; - * * @return The preStep. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep getPreStep() { - return preStep_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() - : preStep_; + return preStep_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() : preStep_; } /** - * - * *
      * The `ExecStep` to run before the patch update.
      * 
@@ -17133,14 +14947,11 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder getPreStepOr public static final int POST_STEP_FIELD_NUMBER = 9; private com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep postStep_; /** - * - * *
      * The `ExecStep` to run after the patch update.
      * 
* * .google.cloud.osconfig.v1beta.ExecStep post_step = 9; - * * @return Whether the postStep field is set. */ @java.lang.Override @@ -17148,25 +14959,18 @@ public boolean hasPostStep() { return postStep_ != null; } /** - * - * *
      * The `ExecStep` to run after the patch update.
      * 
* * .google.cloud.osconfig.v1beta.ExecStep post_step = 9; - * * @return The postStep. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep getPostStep() { - return postStep_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() - : postStep_; + return postStep_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() : postStep_; } /** - * - * *
      * The `ExecStep` to run after the patch update.
      * 
@@ -17181,14 +14985,11 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder getPostStepO public static final int MIG_INSTANCES_ALLOWED_FIELD_NUMBER = 10; private boolean migInstancesAllowed_; /** - * - * *
      * Allows the patch job to run on Managed instance groups (MIGs).
      * 
* * bool mig_instances_allowed = 10; - * * @return The migInstancesAllowed. */ @java.lang.Override @@ -17197,7 +14998,6 @@ public boolean getMigInstancesAllowed() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -17209,11 +15009,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (rebootConfig_ - != com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig - .REBOOT_CONFIG_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (rebootConfig_ != com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.REBOOT_CONFIG_UNSPECIFIED.getNumber()) { output.writeEnum(1, rebootConfig_); } if (apt_ != null) { @@ -17249,35 +15047,41 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (rebootConfig_ - != com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig - .REBOOT_CONFIG_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, rebootConfig_); + if (rebootConfig_ != com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.REBOOT_CONFIG_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, rebootConfig_); } if (apt_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getApt()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getApt()); } if (yum_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getYum()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getYum()); } if (goo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getGoo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getGoo()); } if (zypper_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getZypper()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getZypper()); } if (windowsUpdate_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getWindowsUpdate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getWindowsUpdate()); } if (preStep_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPreStep()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getPreStep()); } if (postStep_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getPostStep()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getPostStep()); } if (migInstancesAllowed_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, migInstancesAllowed_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, migInstancesAllowed_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -17287,44 +15091,51 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig other = - (com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig other = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig) obj; if (rebootConfig_ != other.rebootConfig_) return false; if (hasApt() != other.hasApt()) return false; if (hasApt()) { - if (!getApt().equals(other.getApt())) return false; + if (!getApt() + .equals(other.getApt())) return false; } if (hasYum() != other.hasYum()) return false; if (hasYum()) { - if (!getYum().equals(other.getYum())) return false; + if (!getYum() + .equals(other.getYum())) return false; } if (hasGoo() != other.hasGoo()) return false; if (hasGoo()) { - if (!getGoo().equals(other.getGoo())) return false; + if (!getGoo() + .equals(other.getGoo())) return false; } if (hasZypper() != other.hasZypper()) return false; if (hasZypper()) { - if (!getZypper().equals(other.getZypper())) return false; + if (!getZypper() + .equals(other.getZypper())) return false; } if (hasWindowsUpdate() != other.hasWindowsUpdate()) return false; if (hasWindowsUpdate()) { - if (!getWindowsUpdate().equals(other.getWindowsUpdate())) return false; + if (!getWindowsUpdate() + .equals(other.getWindowsUpdate())) return false; } if (hasPreStep() != other.hasPreStep()) return false; if (hasPreStep()) { - if (!getPreStep().equals(other.getPreStep())) return false; + if (!getPreStep() + .equals(other.getPreStep())) return false; } if (hasPostStep() != other.hasPostStep()) return false; if (hasPostStep()) { - if (!getPostStep().equals(other.getPostStep())) return false; + if (!getPostStep() + .equals(other.getPostStep())) return false; } - if (getMigInstancesAllowed() != other.getMigInstancesAllowed()) return false; + if (getMigInstancesAllowed() + != other.getMigInstancesAllowed()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -17367,101 +15178,95 @@ public int hashCode() { hash = (53 * hash) + getPostStep().hashCode(); } hash = (37 * hash) + MIG_INSTANCES_ALLOWED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getMigInstancesAllowed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMigInstancesAllowed()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig 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.osconfig.v1beta.PatchJobs.PatchConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -17471,8 +15276,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Patch configuration specifications. Contains details on how to apply the
      * patch(es) to a VM instance.
@@ -17480,24 +15283,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.PatchConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PatchConfig)
         com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_PatchConfig_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.class,
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.newBuilder()
@@ -17505,15 +15305,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -17567,9 +15368,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor;
       }
 
       @java.lang.Override
@@ -17588,8 +15389,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig result =
-            new com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig(this);
+        com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig result = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig(this);
         result.rebootConfig_ = rebootConfig_;
         if (aptBuilder_ == null) {
           result.apt_ = apt_;
@@ -17635,41 +15435,38 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchJobs.PatchConfig) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -17677,8 +15474,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig other) {
-        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance()) return this;
         if (other.rebootConfig_ != 0) {
           setRebootConfigValue(other.getRebootConfigValue());
         }
@@ -17725,8 +15521,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -17738,94 +15533,73 @@ public Builder mergeFrom(
 
       private int rebootConfig_ = 0;
       /**
-       *
-       *
        * 
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1; - * * @return The enum numeric value on the wire for rebootConfig. */ - @java.lang.Override - public int getRebootConfigValue() { + @java.lang.Override public int getRebootConfigValue() { return rebootConfig_; } /** - * - * *
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1; - * * @param value The enum numeric value on the wire for rebootConfig to set. * @return This builder for chaining. */ public Builder setRebootConfigValue(int value) { - + rebootConfig_ = value; onChanged(); return this; } /** - * - * *
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1; - * * @return The rebootConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig getRebootConfig() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig result = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.valueOf( - rebootConfig_); - return result == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig result = com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.valueOf(rebootConfig_); + return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.UNRECOGNIZED : result; } /** - * - * *
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1; - * * @param value The rebootConfig to set. * @return This builder for chaining. */ - public Builder setRebootConfig( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig value) { + public Builder setRebootConfig(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig value) { if (value == null) { throw new NullPointerException(); } - + rebootConfig_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1; - * * @return This builder for chaining. */ public Builder clearRebootConfig() { - + rebootConfig_ = 0; onChanged(); return this; @@ -17833,49 +15607,36 @@ public Builder clearRebootConfig() { private com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings apt_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings, - com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder> - aptBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings, com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder> aptBuilder_; /** - * - * *
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1beta.AptSettings apt = 3; - * * @return Whether the apt field is set. */ public boolean hasApt() { return aptBuilder_ != null || apt_ != null; } /** - * - * *
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1beta.AptSettings apt = 3; - * * @return The apt. */ public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings getApt() { if (aptBuilder_ == null) { - return apt_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDefaultInstance() - : apt_; + return apt_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDefaultInstance() : apt_; } else { return aptBuilder_.getMessage(); } } /** - * - * *
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -17897,8 +15658,6 @@ public Builder setApt(com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings val
         return this;
       }
       /**
-       *
-       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -17918,8 +15677,6 @@ public Builder setApt(
         return this;
       }
       /**
-       *
-       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -17931,9 +15688,7 @@ public Builder mergeApt(com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings v
         if (aptBuilder_ == null) {
           if (apt_ != null) {
             apt_ =
-                com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.newBuilder(apt_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.newBuilder(apt_).mergeFrom(value).buildPartial();
           } else {
             apt_ = value;
           }
@@ -17945,8 +15700,6 @@ public Builder mergeApt(com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings v
         return this;
       }
       /**
-       *
-       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -17966,8 +15719,6 @@ public Builder clearApt() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -17976,13 +15727,11 @@ public Builder clearApt() {
        * .google.cloud.osconfig.v1beta.AptSettings apt = 3;
        */
       public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder getAptBuilder() {
-
+        
         onChanged();
         return getAptFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -17994,14 +15743,11 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder getAptOrB
         if (aptBuilder_ != null) {
           return aptBuilder_.getMessageOrBuilder();
         } else {
-          return apt_ == null
-              ? com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDefaultInstance()
-              : apt_;
+          return apt_ == null ?
+              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDefaultInstance() : apt_;
         }
       }
       /**
-       *
-       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -18010,17 +15756,14 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder getAptOrB
        * .google.cloud.osconfig.v1beta.AptSettings apt = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings,
-              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder,
-              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder>
+          com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings, com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder> 
           getAptFieldBuilder() {
         if (aptBuilder_ == null) {
-          aptBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings,
-                  com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder,
-                  com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder>(
-                  getApt(), getParentForChildren(), isClean());
+          aptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings, com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder>(
+                  getApt(),
+                  getParentForChildren(),
+                  isClean());
           apt_ = null;
         }
         return aptBuilder_;
@@ -18028,49 +15771,36 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder getAptOrB
 
       private com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings yum_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings,
-              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder,
-              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder>
-          yumBuilder_;
+          com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings, com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder> yumBuilder_;
       /**
-       *
-       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1beta.YumSettings yum = 4; - * * @return Whether the yum field is set. */ public boolean hasYum() { return yumBuilder_ != null || yum_ != null; } /** - * - * *
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1beta.YumSettings yum = 4; - * * @return The yum. */ public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings getYum() { if (yumBuilder_ == null) { - return yum_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.getDefaultInstance() - : yum_; + return yum_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.getDefaultInstance() : yum_; } else { return yumBuilder_.getMessage(); } } /** - * - * *
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -18092,8 +15822,6 @@ public Builder setYum(com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings val
         return this;
       }
       /**
-       *
-       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -18113,8 +15841,6 @@ public Builder setYum(
         return this;
       }
       /**
-       *
-       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -18126,9 +15852,7 @@ public Builder mergeYum(com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings v
         if (yumBuilder_ == null) {
           if (yum_ != null) {
             yum_ =
-                com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.newBuilder(yum_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.newBuilder(yum_).mergeFrom(value).buildPartial();
           } else {
             yum_ = value;
           }
@@ -18140,8 +15864,6 @@ public Builder mergeYum(com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings v
         return this;
       }
       /**
-       *
-       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -18161,8 +15883,6 @@ public Builder clearYum() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -18171,13 +15891,11 @@ public Builder clearYum() {
        * .google.cloud.osconfig.v1beta.YumSettings yum = 4;
        */
       public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder getYumBuilder() {
-
+        
         onChanged();
         return getYumFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -18189,14 +15907,11 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder getYumOrB
         if (yumBuilder_ != null) {
           return yumBuilder_.getMessageOrBuilder();
         } else {
-          return yum_ == null
-              ? com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.getDefaultInstance()
-              : yum_;
+          return yum_ == null ?
+              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.getDefaultInstance() : yum_;
         }
       }
       /**
-       *
-       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -18205,17 +15920,14 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder getYumOrB
        * .google.cloud.osconfig.v1beta.YumSettings yum = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings,
-              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder,
-              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder>
+          com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings, com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder> 
           getYumFieldBuilder() {
         if (yumBuilder_ == null) {
-          yumBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings,
-                  com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder,
-                  com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder>(
-                  getYum(), getParentForChildren(), isClean());
+          yumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings, com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder>(
+                  getYum(),
+                  getParentForChildren(),
+                  isClean());
           yum_ = null;
         }
         return yumBuilder_;
@@ -18223,49 +15935,36 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder getYumOrB
 
       private com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings goo_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings,
-              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder,
-              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder>
-          gooBuilder_;
+          com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings, com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder> gooBuilder_;
       /**
-       *
-       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1beta.GooSettings goo = 5; - * * @return Whether the goo field is set. */ public boolean hasGoo() { return gooBuilder_ != null || goo_ != null; } - /** - * - * + /** *
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1beta.GooSettings goo = 5; - * * @return The goo. */ public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings getGoo() { if (gooBuilder_ == null) { - return goo_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.getDefaultInstance() - : goo_; + return goo_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.getDefaultInstance() : goo_; } else { return gooBuilder_.getMessage(); } } /** - * - * *
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -18287,8 +15986,6 @@ public Builder setGoo(com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings val
         return this;
       }
       /**
-       *
-       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -18308,8 +16005,6 @@ public Builder setGoo(
         return this;
       }
       /**
-       *
-       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -18321,9 +16016,7 @@ public Builder mergeGoo(com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings v
         if (gooBuilder_ == null) {
           if (goo_ != null) {
             goo_ =
-                com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.newBuilder(goo_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.newBuilder(goo_).mergeFrom(value).buildPartial();
           } else {
             goo_ = value;
           }
@@ -18335,8 +16028,6 @@ public Builder mergeGoo(com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings v
         return this;
       }
       /**
-       *
-       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -18356,8 +16047,6 @@ public Builder clearGoo() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -18366,13 +16055,11 @@ public Builder clearGoo() {
        * .google.cloud.osconfig.v1beta.GooSettings goo = 5;
        */
       public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder getGooBuilder() {
-
+        
         onChanged();
         return getGooFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -18384,14 +16071,11 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder getGooOrB
         if (gooBuilder_ != null) {
           return gooBuilder_.getMessageOrBuilder();
         } else {
-          return goo_ == null
-              ? com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.getDefaultInstance()
-              : goo_;
+          return goo_ == null ?
+              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.getDefaultInstance() : goo_;
         }
       }
       /**
-       *
-       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -18400,17 +16084,14 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder getGooOrB
        * .google.cloud.osconfig.v1beta.GooSettings goo = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings,
-              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder,
-              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder>
+          com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings, com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder> 
           getGooFieldBuilder() {
         if (gooBuilder_ == null) {
-          gooBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings,
-                  com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder,
-                  com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder>(
-                  getGoo(), getParentForChildren(), isClean());
+          gooBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings, com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder>(
+                  getGoo(),
+                  getParentForChildren(),
+                  isClean());
           goo_ = null;
         }
         return gooBuilder_;
@@ -18418,49 +16099,36 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder getGooOrB
 
       private com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings zypper_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings,
-              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder,
-              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder>
-          zypperBuilder_;
+          com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings, com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder> zypperBuilder_;
       /**
-       *
-       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
        * 
* * .google.cloud.osconfig.v1beta.ZypperSettings zypper = 6; - * * @return Whether the zypper field is set. */ public boolean hasZypper() { return zypperBuilder_ != null || zypper_ != null; } /** - * - * *
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
        * 
* * .google.cloud.osconfig.v1beta.ZypperSettings zypper = 6; - * * @return The zypper. */ public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings getZypper() { if (zypperBuilder_ == null) { - return zypper_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.getDefaultInstance() - : zypper_; + return zypper_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.getDefaultInstance() : zypper_; } else { return zypperBuilder_.getMessage(); } } /** - * - * *
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -18482,8 +16150,6 @@ public Builder setZypper(com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettin
         return this;
       }
       /**
-       *
-       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -18503,8 +16169,6 @@ public Builder setZypper(
         return this;
       }
       /**
-       *
-       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -18516,9 +16180,7 @@ public Builder mergeZypper(com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSett
         if (zypperBuilder_ == null) {
           if (zypper_ != null) {
             zypper_ =
-                com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.newBuilder(zypper_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.newBuilder(zypper_).mergeFrom(value).buildPartial();
           } else {
             zypper_ = value;
           }
@@ -18530,8 +16192,6 @@ public Builder mergeZypper(com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSett
         return this;
       }
       /**
-       *
-       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -18551,8 +16211,6 @@ public Builder clearZypper() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -18561,13 +16219,11 @@ public Builder clearZypper() {
        * .google.cloud.osconfig.v1beta.ZypperSettings zypper = 6;
        */
       public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder getZypperBuilder() {
-
+        
         onChanged();
         return getZypperFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -18575,19 +16231,15 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder getZypp
        *
        * .google.cloud.osconfig.v1beta.ZypperSettings zypper = 6;
        */
-      public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder
-          getZypperOrBuilder() {
+      public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder getZypperOrBuilder() {
         if (zypperBuilder_ != null) {
           return zypperBuilder_.getMessageOrBuilder();
         } else {
-          return zypper_ == null
-              ? com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.getDefaultInstance()
-              : zypper_;
+          return zypper_ == null ?
+              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.getDefaultInstance() : zypper_;
         }
       }
       /**
-       *
-       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -18596,17 +16248,14 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder getZypp
        * .google.cloud.osconfig.v1beta.ZypperSettings zypper = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings,
-              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder,
-              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder>
+          com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings, com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder> 
           getZypperFieldBuilder() {
         if (zypperBuilder_ == null) {
-          zypperBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings,
-                  com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder,
-                  com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder>(
-                  getZypper(), getParentForChildren(), isClean());
+          zypperBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings, com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder>(
+                  getZypper(),
+                  getParentForChildren(),
+                  isClean());
           zypper_ = null;
         }
         return zypperBuilder_;
@@ -18614,56 +16263,41 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder getZypp
 
       private com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings windowsUpdate_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings,
-              com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder,
-              com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder>
-          windowsUpdateBuilder_;
+          com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder> windowsUpdateBuilder_;
       /**
-       *
-       *
        * 
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; - * * @return Whether the windowsUpdate field is set. */ public boolean hasWindowsUpdate() { return windowsUpdateBuilder_ != null || windowsUpdate_ != null; } /** - * - * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; - * * @return The windowsUpdate. */ public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings getWindowsUpdate() { if (windowsUpdateBuilder_ == null) { - return windowsUpdate_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings - .getDefaultInstance() - : windowsUpdate_; + return windowsUpdate_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.getDefaultInstance() : windowsUpdate_; } else { return windowsUpdateBuilder_.getMessage(); } } /** - * - * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; */ - public Builder setWindowsUpdate( - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings value) { + public Builder setWindowsUpdate(com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings value) { if (windowsUpdateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -18677,8 +16311,6 @@ public Builder setWindowsUpdate( return this; } /** - * - * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
@@ -18686,8 +16318,7 @@ public Builder setWindowsUpdate( * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; */ public Builder setWindowsUpdate( - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder builderForValue) { if (windowsUpdateBuilder_ == null) { windowsUpdate_ = builderForValue.build(); onChanged(); @@ -18698,23 +16329,17 @@ public Builder setWindowsUpdate( return this; } /** - * - * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; */ - public Builder mergeWindowsUpdate( - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings value) { + public Builder mergeWindowsUpdate(com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings value) { if (windowsUpdateBuilder_ == null) { if (windowsUpdate_ != null) { windowsUpdate_ = - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.newBuilder( - windowsUpdate_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.newBuilder(windowsUpdate_).mergeFrom(value).buildPartial(); } else { windowsUpdate_ = value; } @@ -18726,8 +16351,6 @@ public Builder mergeWindowsUpdate( return this; } /** - * - * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
@@ -18746,43 +16369,33 @@ public Builder clearWindowsUpdate() { return this; } /** - * - * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder - getWindowsUpdateBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder getWindowsUpdateBuilder() { + onChanged(); return getWindowsUpdateFieldBuilder().getBuilder(); } /** - * - * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder - getWindowsUpdateOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder getWindowsUpdateOrBuilder() { if (windowsUpdateBuilder_ != null) { return windowsUpdateBuilder_.getMessageOrBuilder(); } else { - return windowsUpdate_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings - .getDefaultInstance() - : windowsUpdate_; + return windowsUpdate_ == null ? + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.getDefaultInstance() : windowsUpdate_; } } /** - * - * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
@@ -18790,17 +16403,14 @@ public Builder clearWindowsUpdate() { * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings, - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder> getWindowsUpdateFieldBuilder() { if (windowsUpdateBuilder_ == null) { - windowsUpdateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings, - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder>( - getWindowsUpdate(), getParentForChildren(), isClean()); + windowsUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder>( + getWindowsUpdate(), + getParentForChildren(), + isClean()); windowsUpdate_ = null; } return windowsUpdateBuilder_; @@ -18808,47 +16418,34 @@ public Builder clearWindowsUpdate() { private com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep preStep_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder> - preStepBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder> preStepBuilder_; /** - * - * *
        * The `ExecStep` to run before the patch update.
        * 
* * .google.cloud.osconfig.v1beta.ExecStep pre_step = 8; - * * @return Whether the preStep field is set. */ public boolean hasPreStep() { return preStepBuilder_ != null || preStep_ != null; } /** - * - * *
        * The `ExecStep` to run before the patch update.
        * 
* * .google.cloud.osconfig.v1beta.ExecStep pre_step = 8; - * * @return The preStep. */ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep getPreStep() { if (preStepBuilder_ == null) { - return preStep_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() - : preStep_; + return preStep_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() : preStep_; } else { return preStepBuilder_.getMessage(); } } /** - * - * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -18869,8 +16466,6 @@ public Builder setPreStep(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep va return this; } /** - * - * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -18889,8 +16484,6 @@ public Builder setPreStep( return this; } /** - * - * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -18901,9 +16494,7 @@ public Builder mergePreStep(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep if (preStepBuilder_ == null) { if (preStep_ != null) { preStep_ = - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.newBuilder(preStep_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.newBuilder(preStep_).mergeFrom(value).buildPartial(); } else { preStep_ = value; } @@ -18915,8 +16506,6 @@ public Builder mergePreStep(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep return this; } /** - * - * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -18935,8 +16524,6 @@ public Builder clearPreStep() { return this; } /** - * - * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -18944,13 +16531,11 @@ public Builder clearPreStep() { * .google.cloud.osconfig.v1beta.ExecStep pre_step = 8; */ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder getPreStepBuilder() { - + onChanged(); return getPreStepFieldBuilder().getBuilder(); } /** - * - * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -18961,14 +16546,11 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder getPreStepOr if (preStepBuilder_ != null) { return preStepBuilder_.getMessageOrBuilder(); } else { - return preStep_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() - : preStep_; + return preStep_ == null ? + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() : preStep_; } } /** - * - * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -18976,17 +16558,14 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder getPreStepOr * .google.cloud.osconfig.v1beta.ExecStep pre_step = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder> getPreStepFieldBuilder() { if (preStepBuilder_ == null) { - preStepBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder>( - getPreStep(), getParentForChildren(), isClean()); + preStepBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder>( + getPreStep(), + getParentForChildren(), + isClean()); preStep_ = null; } return preStepBuilder_; @@ -18994,47 +16573,34 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder getPreStepOr private com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep postStep_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder> - postStepBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder> postStepBuilder_; /** - * - * *
        * The `ExecStep` to run after the patch update.
        * 
* * .google.cloud.osconfig.v1beta.ExecStep post_step = 9; - * * @return Whether the postStep field is set. */ public boolean hasPostStep() { return postStepBuilder_ != null || postStep_ != null; } /** - * - * *
        * The `ExecStep` to run after the patch update.
        * 
* * .google.cloud.osconfig.v1beta.ExecStep post_step = 9; - * * @return The postStep. */ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep getPostStep() { if (postStepBuilder_ == null) { - return postStep_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() - : postStep_; + return postStep_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() : postStep_; } else { return postStepBuilder_.getMessage(); } } /** - * - * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -19055,8 +16621,6 @@ public Builder setPostStep(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep v return this; } /** - * - * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -19075,8 +16639,6 @@ public Builder setPostStep( return this; } /** - * - * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -19087,9 +16649,7 @@ public Builder mergePostStep(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep if (postStepBuilder_ == null) { if (postStep_ != null) { postStep_ = - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.newBuilder(postStep_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.newBuilder(postStep_).mergeFrom(value).buildPartial(); } else { postStep_ = value; } @@ -19101,8 +16661,6 @@ public Builder mergePostStep(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep return this; } /** - * - * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -19121,8 +16679,6 @@ public Builder clearPostStep() { return this; } /** - * - * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -19130,13 +16686,11 @@ public Builder clearPostStep() { * .google.cloud.osconfig.v1beta.ExecStep post_step = 9; */ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder getPostStepBuilder() { - + onChanged(); return getPostStepFieldBuilder().getBuilder(); } /** - * - * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -19147,14 +16701,11 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder getPostStepO if (postStepBuilder_ != null) { return postStepBuilder_.getMessageOrBuilder(); } else { - return postStep_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() - : postStep_; + return postStep_ == null ? + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() : postStep_; } } /** - * - * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -19162,32 +16713,26 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder getPostStepO * .google.cloud.osconfig.v1beta.ExecStep post_step = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder> getPostStepFieldBuilder() { if (postStepBuilder_ == null) { - postStepBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder>( - getPostStep(), getParentForChildren(), isClean()); + postStepBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder>( + getPostStep(), + getParentForChildren(), + isClean()); postStep_ = null; } return postStepBuilder_; } - private boolean migInstancesAllowed_; + private boolean migInstancesAllowed_ ; /** - * - * *
        * Allows the patch job to run on Managed instance groups (MIGs).
        * 
* * bool mig_instances_allowed = 10; - * * @return The migInstancesAllowed. */ @java.lang.Override @@ -19195,41 +16740,34 @@ public boolean getMigInstancesAllowed() { return migInstancesAllowed_; } /** - * - * *
        * Allows the patch job to run on Managed instance groups (MIGs).
        * 
* * bool mig_instances_allowed = 10; - * * @param value The migInstancesAllowed to set. * @return This builder for chaining. */ public Builder setMigInstancesAllowed(boolean value) { - + migInstancesAllowed_ = value; onChanged(); return this; } /** - * - * *
        * Allows the patch job to run on Managed instance groups (MIGs).
        * 
* * bool mig_instances_allowed = 10; - * * @return This builder for chaining. */ public Builder clearMigInstancesAllowed() { - + migInstancesAllowed_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -19242,12 +16780,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PatchConfig) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PatchConfig) private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig(); } @@ -19256,16 +16794,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -19280,44 +16818,44 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface InstanceOrBuilder - extends + public interface InstanceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.Instance) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Namespace for instance state enums.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.Instance} */ - public static final class Instance extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Instance extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.Instance) InstanceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Instance.newBuilder() to construct. private Instance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Instance() {} + private Instance() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Instance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Instance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -19336,13 +16874,13 @@ private Instance( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -19350,41 +16888,36 @@ private Instance( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_Instance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_Instance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_Instance_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.Instance.class, - com.google.cloud.osconfig.v1beta.PatchJobs.Instance.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.Instance.class, com.google.cloud.osconfig.v1beta.PatchJobs.Instance.Builder.class); } /** - * - * *
      * Patch state of an instance.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.Instance.PatchState} */ - public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { + public enum PatchState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified.
        * 
@@ -19393,8 +16926,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ PATCH_STATE_UNSPECIFIED(0), /** - * - * *
        * The instance is not yet notified.
        * 
@@ -19403,8 +16934,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
        * Instance is inactive and cannot be patched.
        * 
@@ -19413,8 +16942,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ INACTIVE(2), /** - * - * *
        * The instance is notified that it should be patched.
        * 
@@ -19423,8 +16950,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ NOTIFIED(3), /** - * - * *
        * The instance has started the patching process.
        * 
@@ -19433,8 +16958,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ STARTED(4), /** - * - * *
        * The instance is downloading patches.
        * 
@@ -19443,8 +16966,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ DOWNLOADING_PATCHES(5), /** - * - * *
        * The instance is applying patches.
        * 
@@ -19453,8 +16974,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ APPLYING_PATCHES(6), /** - * - * *
        * The instance is rebooting.
        * 
@@ -19463,8 +16982,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ REBOOTING(7), /** - * - * *
        * The instance has completed applying patches.
        * 
@@ -19473,8 +16990,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(8), /** - * - * *
        * The instance has completed applying patches but a reboot is required.
        * 
@@ -19483,8 +16998,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED_REBOOT_REQUIRED(9), /** - * - * *
        * The instance has failed to apply the patch.
        * 
@@ -19493,8 +17006,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(10), /** - * - * *
        * The instance acked the notification and will start shortly.
        * 
@@ -19503,8 +17014,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ ACKED(11), /** - * - * *
        * The instance exceeded the time out while applying the patch.
        * 
@@ -19513,8 +17022,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ TIMED_OUT(12), /** - * - * *
        * The instance is running the pre-patch step.
        * 
@@ -19523,8 +17030,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING_PRE_PATCH_STEP(13), /** - * - * *
        * The instance is running the post-patch step.
        * 
@@ -19533,8 +17038,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING_POST_PATCH_STEP(14), /** - * - * *
        * The service could not detect the presence of the agent. Check to ensure
        * that the agent is installed, running, and able to communicate with the
@@ -19548,8 +17051,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Unspecified.
        * 
@@ -19558,8 +17059,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PATCH_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The instance is not yet notified.
        * 
@@ -19568,8 +17067,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
        * Instance is inactive and cannot be patched.
        * 
@@ -19578,8 +17075,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INACTIVE_VALUE = 2; /** - * - * *
        * The instance is notified that it should be patched.
        * 
@@ -19588,8 +17083,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NOTIFIED_VALUE = 3; /** - * - * *
        * The instance has started the patching process.
        * 
@@ -19598,8 +17091,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STARTED_VALUE = 4; /** - * - * *
        * The instance is downloading patches.
        * 
@@ -19608,8 +17099,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOWNLOADING_PATCHES_VALUE = 5; /** - * - * *
        * The instance is applying patches.
        * 
@@ -19618,8 +17107,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APPLYING_PATCHES_VALUE = 6; /** - * - * *
        * The instance is rebooting.
        * 
@@ -19628,8 +17115,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REBOOTING_VALUE = 7; /** - * - * *
        * The instance has completed applying patches.
        * 
@@ -19638,8 +17123,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 8; /** - * - * *
        * The instance has completed applying patches but a reboot is required.
        * 
@@ -19648,8 +17131,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_REBOOT_REQUIRED_VALUE = 9; /** - * - * *
        * The instance has failed to apply the patch.
        * 
@@ -19658,8 +17139,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 10; /** - * - * *
        * The instance acked the notification and will start shortly.
        * 
@@ -19668,8 +17147,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACKED_VALUE = 11; /** - * - * *
        * The instance exceeded the time out while applying the patch.
        * 
@@ -19678,8 +17155,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIMED_OUT_VALUE = 12; /** - * - * *
        * The instance is running the pre-patch step.
        * 
@@ -19688,8 +17163,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_PRE_PATCH_STEP_VALUE = 13; /** - * - * *
        * The instance is running the post-patch step.
        * 
@@ -19698,8 +17171,6 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_POST_PATCH_STEP_VALUE = 14; /** - * - * *
        * The service could not detect the presence of the agent. Check to ensure
        * that the agent is installed, running, and able to communicate with the
@@ -19710,6 +17181,7 @@ public enum PatchState implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int NO_AGENT_DETECTED_VALUE = 15;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -19734,77 +17206,62 @@ public static PatchState valueOf(int value) {
        */
       public static PatchState forNumber(int value) {
         switch (value) {
-          case 0:
-            return PATCH_STATE_UNSPECIFIED;
-          case 1:
-            return PENDING;
-          case 2:
-            return INACTIVE;
-          case 3:
-            return NOTIFIED;
-          case 4:
-            return STARTED;
-          case 5:
-            return DOWNLOADING_PATCHES;
-          case 6:
-            return APPLYING_PATCHES;
-          case 7:
-            return REBOOTING;
-          case 8:
-            return SUCCEEDED;
-          case 9:
-            return SUCCEEDED_REBOOT_REQUIRED;
-          case 10:
-            return FAILED;
-          case 11:
-            return ACKED;
-          case 12:
-            return TIMED_OUT;
-          case 13:
-            return RUNNING_PRE_PATCH_STEP;
-          case 14:
-            return RUNNING_POST_PATCH_STEP;
-          case 15:
-            return NO_AGENT_DETECTED;
-          default:
-            return null;
-        }
-      }
-
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+          case 0: return PATCH_STATE_UNSPECIFIED;
+          case 1: return PENDING;
+          case 2: return INACTIVE;
+          case 3: return NOTIFIED;
+          case 4: return STARTED;
+          case 5: return DOWNLOADING_PATCHES;
+          case 6: return APPLYING_PATCHES;
+          case 7: return REBOOTING;
+          case 8: return SUCCEEDED;
+          case 9: return SUCCEEDED_REBOOT_REQUIRED;
+          case 10: return FAILED;
+          case 11: return ACKED;
+          case 12: return TIMED_OUT;
+          case 13: return RUNNING_PRE_PATCH_STEP;
+          case 14: return RUNNING_POST_PATCH_STEP;
+          case 15: return NO_AGENT_DETECTED;
+          default: return null;
+        }
+      }
+
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          PatchState> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public PatchState findValueByNumber(int number) {
+                return PatchState.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public PatchState findValueByNumber(int number) {
-              return PatchState.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.Instance.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.Instance.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final PatchState[] VALUES = values();
 
-      public static PatchState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static PatchState valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -19822,7 +17279,6 @@ private PatchState(int value) {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -19834,7 +17290,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       unknownFields.writeTo(output);
     }
 
@@ -19852,13 +17309,12 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.Instance)) {
         return super.equals(obj);
       }
-      com.google.cloud.osconfig.v1beta.PatchJobs.Instance other =
-          (com.google.cloud.osconfig.v1beta.PatchJobs.Instance) obj;
+      com.google.cloud.osconfig.v1beta.PatchJobs.Instance other = (com.google.cloud.osconfig.v1beta.PatchJobs.Instance) obj;
 
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -19877,94 +17333,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance 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.osconfig.v1beta.PatchJobs.Instance parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance 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();
+      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.osconfig.v1beta.PatchJobs.Instance prototype) {
+    public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.Instance prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -19974,32 +17423,27 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Namespace for instance state enums.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.Instance} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.Instance) com.google.cloud.osconfig.v1beta.PatchJobs.InstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_Instance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_Instance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_Instance_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.Instance.class, - com.google.cloud.osconfig.v1beta.PatchJobs.Instance.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.Instance.class, com.google.cloud.osconfig.v1beta.PatchJobs.Instance.Builder.class); } // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.Instance.newBuilder() @@ -20007,15 +17451,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -20023,9 +17468,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_Instance_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_Instance_descriptor; } @java.lang.Override @@ -20044,8 +17489,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.Instance build() { @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.Instance buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.Instance result = - new com.google.cloud.osconfig.v1beta.PatchJobs.Instance(this); + com.google.cloud.osconfig.v1beta.PatchJobs.Instance result = new com.google.cloud.osconfig.v1beta.PatchJobs.Instance(this); onBuilt(); return result; } @@ -20054,41 +17498,38 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.Instance buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.Instance) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.Instance) other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.Instance)other); } else { super.mergeFrom(other); return this; @@ -20096,8 +17537,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.Instance other) { - if (other == com.google.cloud.osconfig.v1beta.PatchJobs.Instance.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1beta.PatchJobs.Instance.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -20117,8 +17557,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchJobs.Instance) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.Instance) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -20127,7 +17566,6 @@ public Builder mergeFrom( } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -20140,12 +17578,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.Instance) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.Instance) private static final com.google.cloud.osconfig.v1beta.PatchJobs.Instance DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.Instance(); } @@ -20154,16 +17592,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Instance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Instance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Instance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Instance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -20178,72 +17616,65 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface CancelPatchJobRequestOrBuilder - extends + public interface CancelPatchJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.CancelPatchJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * Message for canceling a patch job.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.CancelPatchJobRequest} */ - public static final class CancelPatchJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CancelPatchJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.CancelPatchJobRequest) CancelPatchJobRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CancelPatchJobRequest.newBuilder() to construct. private CancelPatchJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CancelPatchJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CancelPatchJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CancelPatchJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -20262,20 +17693,19 @@ private CancelPatchJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -20283,39 +17713,34 @@ private CancelPatchJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.class, - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -20324,29 +17749,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -20355,7 +17780,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -20367,7 +17791,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -20391,15 +17816,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest other = - (com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest other = (com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -20419,95 +17844,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest 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.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest - 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.osconfig.v1beta.PatchJobs.CancelPatchJobRequest 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.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -20517,49 +17934,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Message for canceling a patch job.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.CancelPatchJobRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.CancelPatchJobRequest) com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.class, - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -20569,16 +17981,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.getDefaultInstance(); } @java.lang.Override @@ -20592,8 +18002,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest build() @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest result = - new com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest(this); + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest result = new com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -20603,53 +18012,46 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.CancelPatchJobRequest) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest) other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest other) { - if (other - == com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest other) { + if (other == com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -20673,9 +18075,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -20687,20 +18087,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -20709,21 +18107,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -20731,66 +18128,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -20803,32 +18192,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.CancelPatchJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.CancelPatchJobRequest) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelPatchJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelPatchJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelPatchJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelPatchJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -20840,98 +18227,79 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AptSettingsOrBuilder - extends + public interface AptSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.AptSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * By changing the type to DIST, the patching is performed
      * using `apt-get dist-upgrade` instead.
      * 
* * .google.cloud.osconfig.v1beta.AptSettings.Type type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * By changing the type to DIST, the patching is performed
      * using `apt-get dist-upgrade` instead.
      * 
* * .google.cloud.osconfig.v1beta.AptSettings.Type type = 1; - * * @return The type. */ com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type getType(); /** - * - * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; - * * @return A list containing the excludes. */ - java.util.List getExcludesList(); + java.util.List + getExcludesList(); /** - * - * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; - * * @return The count of excludes. */ int getExcludesCount(); /** - * - * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; - * * @param index The index of the element to return. * @return The excludes at the given index. */ java.lang.String getExcludes(int index); /** - * - * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - com.google.protobuf.ByteString getExcludesBytes(int index); + com.google.protobuf.ByteString + getExcludesBytes(int index); /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -20940,13 +18308,11 @@ public interface AptSettingsOrBuilder
      * 
* * repeated string exclusive_packages = 3; - * * @return A list containing the exclusivePackages. */ - java.util.List getExclusivePackagesList(); + java.util.List + getExclusivePackagesList(); /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -20955,13 +18321,10 @@ public interface AptSettingsOrBuilder
      * 
* * repeated string exclusive_packages = 3; - * * @return The count of exclusivePackages. */ int getExclusivePackagesCount(); /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -20970,14 +18333,11 @@ public interface AptSettingsOrBuilder
      * 
* * repeated string exclusive_packages = 3; - * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ java.lang.String getExclusivePackages(int index); /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -20986,15 +18346,13 @@ public interface AptSettingsOrBuilder
      * 
* * repeated string exclusive_packages = 3; - * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - com.google.protobuf.ByteString getExclusivePackagesBytes(int index); + com.google.protobuf.ByteString + getExclusivePackagesBytes(int index); } /** - * - * *
    * Apt patching is completed by executing `apt-get update && apt-get
    * upgrade`. Additional options can be set to control how this is executed.
@@ -21002,16 +18360,15 @@ public interface AptSettingsOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.AptSettings}
    */
-  public static final class AptSettings extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class AptSettings extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.AptSettings)
       AptSettingsOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use AptSettings.newBuilder() to construct.
     private AptSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private AptSettings() {
       type_ = 0;
       excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -21020,15 +18377,16 @@ private AptSettings() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new AptSettings();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private AptSettings(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -21048,40 +18406,37 @@ private AptSettings(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
+              int rawValue = input.readEnum();
 
-                type_ = rawValue;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  excludes_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                excludes_.add(s);
-                break;
+              type_ = rawValue;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                excludes_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  exclusivePackages_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                exclusivePackages_.add(s);
-                break;
+              excludes_.add(s);
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                exclusivePackages_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              exclusivePackages_.add(s);
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -21089,7 +18444,8 @@ private AptSettings(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           excludes_ = excludes_.getUnmodifiableView();
@@ -21101,35 +18457,29 @@ private AptSettings(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs
-          .internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs
-          .internal_static_google_cloud_osconfig_v1beta_AptSettings_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_AptSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.class,
-              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * Apt patch type.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.AptSettings.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * By default, upgrade will be performed.
        * 
@@ -21138,8 +18488,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
        * Runs `apt-get dist-upgrade`.
        * 
@@ -21148,8 +18496,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DIST(1), /** - * - * *
        * Runs `apt-get upgrade`.
        * 
@@ -21161,8 +18507,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * By default, upgrade will be performed.
        * 
@@ -21171,8 +18515,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Runs `apt-get dist-upgrade`.
        * 
@@ -21181,8 +18523,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DIST_VALUE = 1; /** - * - * *
        * Runs `apt-get upgrade`.
        * 
@@ -21191,6 +18531,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPGRADE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -21215,51 +18556,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return DIST; - case 2: - return UPGRADE; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return DIST; + case 2: return UPGRADE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -21279,82 +18618,63 @@ private Type(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - * - * *
      * By changing the type to DIST, the patching is performed
      * using `apt-get dist-upgrade` instead.
      * 
* * .google.cloud.osconfig.v1beta.AptSettings.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * By changing the type to DIST, the patching is performed
      * using `apt-get dist-upgrade` instead.
      * 
* * .google.cloud.osconfig.v1beta.AptSettings.Type type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type getType() { + @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type result = - com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.valueOf(type_); - return result == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type result = com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.valueOf(type_); + return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.UNRECOGNIZED : result; } public static final int EXCLUDES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList excludes_; /** - * - * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; - * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList getExcludesList() { + public com.google.protobuf.ProtocolStringList + getExcludesList() { return excludes_; } /** - * - * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; - * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** - * - * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; - * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -21362,26 +18682,22 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** - * - * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString getExcludesBytes(int index) { + public com.google.protobuf.ByteString + getExcludesBytes(int index) { return excludes_.getByteString(index); } public static final int EXCLUSIVE_PACKAGES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList exclusivePackages_; /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -21390,15 +18706,13 @@ public com.google.protobuf.ByteString getExcludesBytes(int index) {
      * 
* * repeated string exclusive_packages = 3; - * * @return A list containing the exclusivePackages. */ - public com.google.protobuf.ProtocolStringList getExclusivePackagesList() { + public com.google.protobuf.ProtocolStringList + getExclusivePackagesList() { return exclusivePackages_; } /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -21407,15 +18721,12 @@ public com.google.protobuf.ProtocolStringList getExclusivePackagesList() {
      * 
* * repeated string exclusive_packages = 3; - * * @return The count of exclusivePackages. */ public int getExclusivePackagesCount() { return exclusivePackages_.size(); } /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -21424,7 +18735,6 @@ public int getExclusivePackagesCount() {
      * 
* * repeated string exclusive_packages = 3; - * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ @@ -21432,8 +18742,6 @@ public java.lang.String getExclusivePackages(int index) { return exclusivePackages_.get(index); } /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -21442,16 +18750,15 @@ public java.lang.String getExclusivePackages(int index) {
      * 
* * repeated string exclusive_packages = 3; - * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) { + public com.google.protobuf.ByteString + getExclusivePackagesBytes(int index) { return exclusivePackages_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -21463,10 +18770,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } for (int i = 0; i < excludes_.size(); i++) { @@ -21484,10 +18790,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } { int dataSize = 0; @@ -21513,17 +18818,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings other = - (com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings other = (com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings) obj; if (type_ != other.type_) return false; - if (!getExcludesList().equals(other.getExcludesList())) return false; - if (!getExclusivePackagesList().equals(other.getExclusivePackagesList())) return false; + if (!getExcludesList() + .equals(other.getExcludesList())) return false; + if (!getExclusivePackagesList() + .equals(other.getExclusivePackagesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -21551,94 +18857,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings 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.osconfig.v1beta.PatchJobs.AptSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -21648,8 +18947,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Apt patching is completed by executing `apt-get update && apt-get
      * upgrade`. Additional options can be set to control how this is executed.
@@ -21657,24 +18954,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.AptSettings}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.AptSettings)
         com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_AptSettings_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_AptSettings_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.class,
-                com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.newBuilder()
@@ -21682,15 +18976,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -21704,9 +18999,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor;
       }
 
       @java.lang.Override
@@ -21725,8 +19020,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings result =
-            new com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings(this);
+        com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings result = new com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings(this);
         int from_bitField0_ = bitField0_;
         result.type_ = type_;
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -21747,41 +19041,38 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchJobs.AptSettings) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -21789,8 +19080,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings other) {
-        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDefaultInstance()) return this;
         if (other.type_ != 0) {
           setTypeValue(other.getTypeValue());
         }
@@ -21833,8 +19123,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -21843,76 +19132,59 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private int type_ = 0;
       /**
-       *
-       *
        * 
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1beta.AptSettings.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1beta.AptSettings.Type type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1beta.AptSettings.Type type = 1; - * * @return The type. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type result = - com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.valueOf(type_); - return result == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type result = com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.valueOf(type_); + return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.UNRECOGNIZED : result; } /** - * - * *
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1beta.AptSettings.Type type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -21920,76 +19192,63 @@ public Builder setType(com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Ty if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1beta.AptSettings.Type type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList excludes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExcludesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { excludes_ = new com.google.protobuf.LazyStringArrayList(excludes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; - * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList getExcludesList() { + public com.google.protobuf.ProtocolStringList + getExcludesList() { return excludes_.getUnmodifiableView(); } /** - * - * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; - * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** - * - * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; - * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -21997,90 +19256,80 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** - * - * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString getExcludesBytes(int index) { + public com.google.protobuf.ByteString + getExcludesBytes(int index) { return excludes_.getByteString(index); } /** - * - * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; - * * @param index The index to set the value at. * @param value The excludes to set. * @return This builder for chaining. */ - public Builder setExcludes(int index, java.lang.String value) { + public Builder setExcludes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.set(index, value); onChanged(); return this; } /** - * - * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; - * * @param value The excludes to add. * @return This builder for chaining. */ - public Builder addExcludes(java.lang.String value) { + public Builder addExcludes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } /** - * - * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; - * * @param values The excludes to add. * @return This builder for chaining. */ - public Builder addAllExcludes(java.lang.Iterable values) { + public Builder addAllExcludes( + java.lang.Iterable values) { ensureExcludesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, excludes_); onChanged(); return this; } /** - * - * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; - * * @return This builder for chaining. */ public Builder clearExcludes() { @@ -22090,40 +19339,34 @@ public Builder clearExcludes() { return this; } /** - * - * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; - * * @param value The bytes of the excludes to add. * @return This builder for chaining. */ - public Builder addExcludesBytes(com.google.protobuf.ByteString value) { + public Builder addExcludesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList exclusivePackages_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList exclusivePackages_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExclusivePackagesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { exclusivePackages_ = new com.google.protobuf.LazyStringArrayList(exclusivePackages_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -22132,15 +19375,13 @@ private void ensureExclusivePackagesIsMutable() {
        * 
* * repeated string exclusive_packages = 3; - * * @return A list containing the exclusivePackages. */ - public com.google.protobuf.ProtocolStringList getExclusivePackagesList() { + public com.google.protobuf.ProtocolStringList + getExclusivePackagesList() { return exclusivePackages_.getUnmodifiableView(); } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -22149,15 +19390,12 @@ public com.google.protobuf.ProtocolStringList getExclusivePackagesList() {
        * 
* * repeated string exclusive_packages = 3; - * * @return The count of exclusivePackages. */ public int getExclusivePackagesCount() { return exclusivePackages_.size(); } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -22166,7 +19404,6 @@ public int getExclusivePackagesCount() {
        * 
* * repeated string exclusive_packages = 3; - * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ @@ -22174,8 +19411,6 @@ public java.lang.String getExclusivePackages(int index) { return exclusivePackages_.get(index); } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -22184,16 +19419,14 @@ public java.lang.String getExclusivePackages(int index) {
        * 
* * repeated string exclusive_packages = 3; - * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) { + public com.google.protobuf.ByteString + getExclusivePackagesBytes(int index) { return exclusivePackages_.getByteString(index); } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -22202,23 +19435,21 @@ public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) {
        * 
* * repeated string exclusive_packages = 3; - * * @param index The index to set the value at. * @param value The exclusivePackages to set. * @return This builder for chaining. */ - public Builder setExclusivePackages(int index, java.lang.String value) { + public Builder setExclusivePackages( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePackagesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePackagesIsMutable(); exclusivePackages_.set(index, value); onChanged(); return this; } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -22227,22 +19458,20 @@ public Builder setExclusivePackages(int index, java.lang.String value) {
        * 
* * repeated string exclusive_packages = 3; - * * @param value The exclusivePackages to add. * @return This builder for chaining. */ - public Builder addExclusivePackages(java.lang.String value) { + public Builder addExclusivePackages( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePackagesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePackagesIsMutable(); exclusivePackages_.add(value); onChanged(); return this; } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -22251,19 +19480,18 @@ public Builder addExclusivePackages(java.lang.String value) {
        * 
* * repeated string exclusive_packages = 3; - * * @param values The exclusivePackages to add. * @return This builder for chaining. */ - public Builder addAllExclusivePackages(java.lang.Iterable values) { + public Builder addAllExclusivePackages( + java.lang.Iterable values) { ensureExclusivePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusivePackages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, exclusivePackages_); onChanged(); return this; } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -22272,7 +19500,6 @@ public Builder addAllExclusivePackages(java.lang.Iterable valu
        * 
* * repeated string exclusive_packages = 3; - * * @return This builder for chaining. */ public Builder clearExclusivePackages() { @@ -22282,8 +19509,6 @@ public Builder clearExclusivePackages() { return this; } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -22292,21 +19517,20 @@ public Builder clearExclusivePackages() {
        * 
* * repeated string exclusive_packages = 3; - * * @param value The bytes of the exclusivePackages to add. * @return This builder for chaining. */ - public Builder addExclusivePackagesBytes(com.google.protobuf.ByteString value) { + public Builder addExclusivePackagesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExclusivePackagesIsMutable(); exclusivePackages_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -22319,12 +19543,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.AptSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.AptSettings) private static final com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings(); } @@ -22333,16 +19557,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -22357,98 +19581,80 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface YumSettingsOrBuilder - extends + public interface YumSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.YumSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Adds the `--security` flag to `yum update`. Not supported on
      * all platforms.
      * 
* * bool security = 1; - * * @return The security. */ boolean getSecurity(); /** - * - * *
      * Will cause patch to run `yum update-minimal` instead.
      * 
* * bool minimal = 2; - * * @return The minimal. */ boolean getMinimal(); /** - * - * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; - * * @return A list containing the excludes. */ - java.util.List getExcludesList(); + java.util.List + getExcludesList(); /** - * - * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; - * * @return The count of excludes. */ int getExcludesCount(); /** - * - * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; - * * @param index The index of the element to return. * @return The excludes at the given index. */ java.lang.String getExcludes(int index); /** - * - * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - com.google.protobuf.ByteString getExcludesBytes(int index); + com.google.protobuf.ByteString + getExcludesBytes(int index); /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -22457,13 +19663,11 @@ public interface YumSettingsOrBuilder
      * 
* * repeated string exclusive_packages = 4; - * * @return A list containing the exclusivePackages. */ - java.util.List getExclusivePackagesList(); + java.util.List + getExclusivePackagesList(); /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -22472,13 +19676,10 @@ public interface YumSettingsOrBuilder
      * 
* * repeated string exclusive_packages = 4; - * * @return The count of exclusivePackages. */ int getExclusivePackagesCount(); /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -22487,14 +19688,11 @@ public interface YumSettingsOrBuilder
      * 
* * repeated string exclusive_packages = 4; - * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ java.lang.String getExclusivePackages(int index); /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -22503,15 +19701,13 @@ public interface YumSettingsOrBuilder
      * 
* * repeated string exclusive_packages = 4; - * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - com.google.protobuf.ByteString getExclusivePackagesBytes(int index); + com.google.protobuf.ByteString + getExclusivePackagesBytes(int index); } /** - * - * *
    * Yum patching is performed by executing `yum update`. Additional options
    * can be set to control how this is executed.
@@ -22520,16 +19716,15 @@ public interface YumSettingsOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.YumSettings}
    */
-  public static final class YumSettings extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class YumSettings extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.YumSettings)
       YumSettingsOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use YumSettings.newBuilder() to construct.
     private YumSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private YumSettings() {
       excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       exclusivePackages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -22537,15 +19732,16 @@ private YumSettings() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new YumSettings();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private YumSettings(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -22565,43 +19761,41 @@ private YumSettings(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                security_ = input.readBool();
-                break;
-              }
-            case 16:
-              {
-                minimal_ = input.readBool();
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  excludes_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                excludes_.add(s);
-                break;
+            case 8: {
+
+              security_ = input.readBool();
+              break;
+            }
+            case 16: {
+
+              minimal_ = input.readBool();
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                excludes_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  exclusivePackages_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                exclusivePackages_.add(s);
-                break;
+              excludes_.add(s);
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                exclusivePackages_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              exclusivePackages_.add(s);
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -22609,7 +19803,8 @@ private YumSettings(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           excludes_ = excludes_.getUnmodifiableView();
@@ -22621,34 +19816,28 @@ private YumSettings(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs
-          .internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs
-          .internal_static_google_cloud_osconfig_v1beta_YumSettings_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_YumSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.class,
-              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder.class);
     }
 
     public static final int SECURITY_FIELD_NUMBER = 1;
     private boolean security_;
     /**
-     *
-     *
      * 
      * Adds the `--security` flag to `yum update`. Not supported on
      * all platforms.
      * 
* * bool security = 1; - * * @return The security. */ @java.lang.Override @@ -22659,14 +19848,11 @@ public boolean getSecurity() { public static final int MINIMAL_FIELD_NUMBER = 2; private boolean minimal_; /** - * - * *
      * Will cause patch to run `yum update-minimal` instead.
      * 
* * bool minimal = 2; - * * @return The minimal. */ @java.lang.Override @@ -22677,45 +19863,37 @@ public boolean getMinimal() { public static final int EXCLUDES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList excludes_; /** - * - * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; - * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList getExcludesList() { + public com.google.protobuf.ProtocolStringList + getExcludesList() { return excludes_; } /** - * - * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; - * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** - * - * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; - * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -22723,27 +19901,23 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** - * - * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString getExcludesBytes(int index) { + public com.google.protobuf.ByteString + getExcludesBytes(int index) { return excludes_.getByteString(index); } public static final int EXCLUSIVE_PACKAGES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList exclusivePackages_; /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -22752,15 +19926,13 @@ public com.google.protobuf.ByteString getExcludesBytes(int index) {
      * 
* * repeated string exclusive_packages = 4; - * * @return A list containing the exclusivePackages. */ - public com.google.protobuf.ProtocolStringList getExclusivePackagesList() { + public com.google.protobuf.ProtocolStringList + getExclusivePackagesList() { return exclusivePackages_; } /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -22769,15 +19941,12 @@ public com.google.protobuf.ProtocolStringList getExclusivePackagesList() {
      * 
* * repeated string exclusive_packages = 4; - * * @return The count of exclusivePackages. */ public int getExclusivePackagesCount() { return exclusivePackages_.size(); } /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -22786,7 +19955,6 @@ public int getExclusivePackagesCount() {
      * 
* * repeated string exclusive_packages = 4; - * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ @@ -22794,8 +19962,6 @@ public java.lang.String getExclusivePackages(int index) { return exclusivePackages_.get(index); } /** - * - * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -22804,16 +19970,15 @@ public java.lang.String getExclusivePackages(int index) {
      * 
* * repeated string exclusive_packages = 4; - * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) { + public com.google.protobuf.ByteString + getExclusivePackagesBytes(int index) { return exclusivePackages_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -22825,7 +19990,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (security_ != false) { output.writeBool(1, security_); } @@ -22848,10 +20014,12 @@ public int getSerializedSize() { size = 0; if (security_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, security_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, security_); } if (minimal_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, minimal_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, minimal_); } { int dataSize = 0; @@ -22877,18 +20045,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings other = - (com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings other = (com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings) obj; - if (getSecurity() != other.getSecurity()) return false; - if (getMinimal() != other.getMinimal()) return false; - if (!getExcludesList().equals(other.getExcludesList())) return false; - if (!getExclusivePackagesList().equals(other.getExclusivePackagesList())) return false; + if (getSecurity() + != other.getSecurity()) return false; + if (getMinimal() + != other.getMinimal()) return false; + if (!getExcludesList() + .equals(other.getExcludesList())) return false; + if (!getExclusivePackagesList() + .equals(other.getExclusivePackagesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -22901,9 +20072,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SECURITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSecurity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSecurity()); hash = (37 * hash) + MINIMAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getMinimal()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMinimal()); if (getExcludesCount() > 0) { hash = (37 * hash) + EXCLUDES_FIELD_NUMBER; hash = (53 * hash) + getExcludesList().hashCode(); @@ -22918,94 +20091,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings 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.osconfig.v1beta.PatchJobs.YumSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -23015,8 +20181,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Yum patching is performed by executing `yum update`. Additional options
      * can be set to control how this is executed.
@@ -23025,24 +20189,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.YumSettings}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.YumSettings)
         com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_YumSettings_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_YumSettings_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.class,
-                com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.newBuilder()
@@ -23050,15 +20211,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -23074,9 +20236,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor;
       }
 
       @java.lang.Override
@@ -23095,8 +20257,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings result =
-            new com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings(this);
+        com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings result = new com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings(this);
         int from_bitField0_ = bitField0_;
         result.security_ = security_;
         result.minimal_ = minimal_;
@@ -23118,41 +20279,38 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchJobs.YumSettings) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -23160,8 +20318,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings other) {
-        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.getDefaultInstance()) return this;
         if (other.getSecurity() != false) {
           setSecurity(other.getSecurity());
         }
@@ -23207,8 +20364,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -23217,20 +20373,16 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private boolean security_;
+      private boolean security_ ;
       /**
-       *
-       *
        * 
        * Adds the `--security` flag to `yum update`. Not supported on
        * all platforms.
        * 
* * bool security = 1; - * * @return The security. */ @java.lang.Override @@ -23238,53 +20390,44 @@ public boolean getSecurity() { return security_; } /** - * - * *
        * Adds the `--security` flag to `yum update`. Not supported on
        * all platforms.
        * 
* * bool security = 1; - * * @param value The security to set. * @return This builder for chaining. */ public Builder setSecurity(boolean value) { - + security_ = value; onChanged(); return this; } /** - * - * *
        * Adds the `--security` flag to `yum update`. Not supported on
        * all platforms.
        * 
* * bool security = 1; - * * @return This builder for chaining. */ public Builder clearSecurity() { - + security_ = false; onChanged(); return this; } - private boolean minimal_; + private boolean minimal_ ; /** - * - * *
        * Will cause patch to run `yum update-minimal` instead.
        * 
* * bool minimal = 2; - * * @return The minimal. */ @java.lang.Override @@ -23292,90 +20435,74 @@ public boolean getMinimal() { return minimal_; } /** - * - * *
        * Will cause patch to run `yum update-minimal` instead.
        * 
* * bool minimal = 2; - * * @param value The minimal to set. * @return This builder for chaining. */ public Builder setMinimal(boolean value) { - + minimal_ = value; onChanged(); return this; } /** - * - * *
        * Will cause patch to run `yum update-minimal` instead.
        * 
* * bool minimal = 2; - * * @return This builder for chaining. */ public Builder clearMinimal() { - + minimal_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList excludes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExcludesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { excludes_ = new com.google.protobuf.LazyStringArrayList(excludes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; - * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList getExcludesList() { + public com.google.protobuf.ProtocolStringList + getExcludesList() { return excludes_.getUnmodifiableView(); } /** - * - * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; - * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** - * - * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; - * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -23383,95 +20510,85 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** - * - * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString getExcludesBytes(int index) { + public com.google.protobuf.ByteString + getExcludesBytes(int index) { return excludes_.getByteString(index); } /** - * - * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; - * * @param index The index to set the value at. * @param value The excludes to set. * @return This builder for chaining. */ - public Builder setExcludes(int index, java.lang.String value) { + public Builder setExcludes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.set(index, value); onChanged(); return this; } /** - * - * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; - * * @param value The excludes to add. * @return This builder for chaining. */ - public Builder addExcludes(java.lang.String value) { + public Builder addExcludes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } /** - * - * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; - * * @param values The excludes to add. * @return This builder for chaining. */ - public Builder addAllExcludes(java.lang.Iterable values) { + public Builder addAllExcludes( + java.lang.Iterable values) { ensureExcludesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, excludes_); onChanged(); return this; } /** - * - * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; - * * @return This builder for chaining. */ public Builder clearExcludes() { @@ -23481,41 +20598,35 @@ public Builder clearExcludes() { return this; } /** - * - * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; - * * @param value The bytes of the excludes to add. * @return This builder for chaining. */ - public Builder addExcludesBytes(com.google.protobuf.ByteString value) { + public Builder addExcludesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList exclusivePackages_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList exclusivePackages_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExclusivePackagesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { exclusivePackages_ = new com.google.protobuf.LazyStringArrayList(exclusivePackages_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -23524,15 +20635,13 @@ private void ensureExclusivePackagesIsMutable() {
        * 
* * repeated string exclusive_packages = 4; - * * @return A list containing the exclusivePackages. */ - public com.google.protobuf.ProtocolStringList getExclusivePackagesList() { + public com.google.protobuf.ProtocolStringList + getExclusivePackagesList() { return exclusivePackages_.getUnmodifiableView(); } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -23541,15 +20650,12 @@ public com.google.protobuf.ProtocolStringList getExclusivePackagesList() {
        * 
* * repeated string exclusive_packages = 4; - * * @return The count of exclusivePackages. */ public int getExclusivePackagesCount() { return exclusivePackages_.size(); } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -23558,7 +20664,6 @@ public int getExclusivePackagesCount() {
        * 
* * repeated string exclusive_packages = 4; - * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ @@ -23566,8 +20671,6 @@ public java.lang.String getExclusivePackages(int index) { return exclusivePackages_.get(index); } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -23576,16 +20679,14 @@ public java.lang.String getExclusivePackages(int index) {
        * 
* * repeated string exclusive_packages = 4; - * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) { + public com.google.protobuf.ByteString + getExclusivePackagesBytes(int index) { return exclusivePackages_.getByteString(index); } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -23594,23 +20695,21 @@ public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) {
        * 
* * repeated string exclusive_packages = 4; - * * @param index The index to set the value at. * @param value The exclusivePackages to set. * @return This builder for chaining. */ - public Builder setExclusivePackages(int index, java.lang.String value) { + public Builder setExclusivePackages( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePackagesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePackagesIsMutable(); exclusivePackages_.set(index, value); onChanged(); return this; } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -23619,22 +20718,20 @@ public Builder setExclusivePackages(int index, java.lang.String value) {
        * 
* * repeated string exclusive_packages = 4; - * * @param value The exclusivePackages to add. * @return This builder for chaining. */ - public Builder addExclusivePackages(java.lang.String value) { + public Builder addExclusivePackages( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePackagesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePackagesIsMutable(); exclusivePackages_.add(value); onChanged(); return this; } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -23643,19 +20740,18 @@ public Builder addExclusivePackages(java.lang.String value) {
        * 
* * repeated string exclusive_packages = 4; - * * @param values The exclusivePackages to add. * @return This builder for chaining. */ - public Builder addAllExclusivePackages(java.lang.Iterable values) { + public Builder addAllExclusivePackages( + java.lang.Iterable values) { ensureExclusivePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusivePackages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, exclusivePackages_); onChanged(); return this; } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -23664,7 +20760,6 @@ public Builder addAllExclusivePackages(java.lang.Iterable valu
        * 
* * repeated string exclusive_packages = 4; - * * @return This builder for chaining. */ public Builder clearExclusivePackages() { @@ -23674,8 +20769,6 @@ public Builder clearExclusivePackages() { return this; } /** - * - * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -23684,21 +20777,20 @@ public Builder clearExclusivePackages() {
        * 
* * repeated string exclusive_packages = 4; - * * @param value The bytes of the exclusivePackages to add. * @return This builder for chaining. */ - public Builder addExclusivePackagesBytes(com.google.protobuf.ByteString value) { + public Builder addExclusivePackagesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExclusivePackagesIsMutable(); exclusivePackages_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -23711,12 +20803,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.YumSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.YumSettings) private static final com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings(); } @@ -23725,16 +20817,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -23749,44 +20841,44 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GooSettingsOrBuilder - extends + public interface GooSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.GooSettings) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Googet patching is performed by running `googet update`.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GooSettings} */ - public static final class GooSettings extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GooSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.GooSettings) GooSettingsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GooSettings.newBuilder() to construct. private GooSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private GooSettings() {} + private GooSettings() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GooSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GooSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -23805,13 +20897,13 @@ private GooSettings( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -23819,30 +20911,27 @@ private GooSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_GooSettings_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GooSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.class, - com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -23854,7 +20943,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -23872,13 +20962,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings other = - (com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings other = (com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -23897,94 +20986,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings 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.osconfig.v1beta.PatchJobs.GooSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -23994,32 +21076,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Googet patching is performed by running `googet update`.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GooSettings} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.GooSettings) com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_GooSettings_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GooSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.class, - com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder.class); } // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.newBuilder() @@ -24027,15 +21104,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -24043,9 +21121,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor; } @java.lang.Override @@ -24064,8 +21142,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings build() { @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings result = - new com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings(this); + com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings result = new com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings(this); onBuilt(); return result; } @@ -24074,41 +21151,38 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.GooSettings) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings) other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings)other); } else { super.mergeFrom(other); return this; @@ -24116,8 +21190,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings other) { - if (other == com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -24137,8 +21210,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -24147,7 +21219,6 @@ public Builder mergeFrom( } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -24160,12 +21231,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.GooSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.GooSettings) private static final com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings(); } @@ -24174,16 +21245,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GooSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GooSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GooSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GooSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -24198,203 +21269,165 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ZypperSettingsOrBuilder - extends + public interface ZypperSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ZypperSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Adds the `--with-optional` flag to `zypper patch`.
      * 
* * bool with_optional = 1; - * * @return The withOptional. */ boolean getWithOptional(); /** - * - * *
      * Adds the `--with-update` flag, to `zypper patch`.
      * 
* * bool with_update = 2; - * * @return The withUpdate. */ boolean getWithUpdate(); /** - * - * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; - * * @return A list containing the categories. */ - java.util.List getCategoriesList(); + java.util.List + getCategoriesList(); /** - * - * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; - * * @return The count of categories. */ int getCategoriesCount(); /** - * - * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; - * * @param index The index of the element to return. * @return The categories at the given index. */ java.lang.String getCategories(int index); /** - * - * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; - * * @param index The index of the value to return. * @return The bytes of the categories at the given index. */ - com.google.protobuf.ByteString getCategoriesBytes(int index); + com.google.protobuf.ByteString + getCategoriesBytes(int index); /** - * - * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; - * * @return A list containing the severities. */ - java.util.List getSeveritiesList(); + java.util.List + getSeveritiesList(); /** - * - * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; - * * @return The count of severities. */ int getSeveritiesCount(); /** - * - * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; - * * @param index The index of the element to return. * @return The severities at the given index. */ java.lang.String getSeverities(int index); /** - * - * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; - * * @param index The index of the value to return. * @return The bytes of the severities at the given index. */ - com.google.protobuf.ByteString getSeveritiesBytes(int index); + com.google.protobuf.ByteString + getSeveritiesBytes(int index); /** - * - * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; - * * @return A list containing the excludes. */ - java.util.List getExcludesList(); + java.util.List + getExcludesList(); /** - * - * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; - * * @return The count of excludes. */ int getExcludesCount(); /** - * - * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; - * * @param index The index of the element to return. * @return The excludes at the given index. */ java.lang.String getExcludes(int index); /** - * - * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - com.google.protobuf.ByteString getExcludesBytes(int index); + com.google.protobuf.ByteString + getExcludesBytes(int index); /** - * - * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -24402,13 +21435,11 @@ public interface ZypperSettingsOrBuilder
      * 
* * repeated string exclusive_patches = 6; - * * @return A list containing the exclusivePatches. */ - java.util.List getExclusivePatchesList(); + java.util.List + getExclusivePatchesList(); /** - * - * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -24416,13 +21447,10 @@ public interface ZypperSettingsOrBuilder
      * 
* * repeated string exclusive_patches = 6; - * * @return The count of exclusivePatches. */ int getExclusivePatchesCount(); /** - * - * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -24430,14 +21458,11 @@ public interface ZypperSettingsOrBuilder
      * 
* * repeated string exclusive_patches = 6; - * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ java.lang.String getExclusivePatches(int index); /** - * - * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -24445,15 +21470,13 @@ public interface ZypperSettingsOrBuilder
      * 
* * repeated string exclusive_patches = 6; - * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - com.google.protobuf.ByteString getExclusivePatchesBytes(int index); + com.google.protobuf.ByteString + getExclusivePatchesBytes(int index); } /** - * - * *
    * Zypper patching is performed by running `zypper patch`.
    * See also https://en.opensuse.org/SDB:Zypper_manual.
@@ -24461,16 +21484,15 @@ public interface ZypperSettingsOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.ZypperSettings}
    */
-  public static final class ZypperSettings extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ZypperSettings extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ZypperSettings)
       ZypperSettingsOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ZypperSettings.newBuilder() to construct.
     private ZypperSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ZypperSettings() {
       categories_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       severities_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -24480,15 +21502,16 @@ private ZypperSettings() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ZypperSettings();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private ZypperSettings(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -24508,63 +21531,59 @@ private ZypperSettings(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                withOptional_ = input.readBool();
-                break;
-              }
-            case 16:
-              {
-                withUpdate_ = input.readBool();
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  categories_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                categories_.add(s);
-                break;
+            case 8: {
+
+              withOptional_ = input.readBool();
+              break;
+            }
+            case 16: {
+
+              withUpdate_ = input.readBool();
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                categories_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  severities_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                severities_.add(s);
-                break;
+              categories_.add(s);
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                severities_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                  excludes_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000004;
-                }
-                excludes_.add(s);
-                break;
+              severities_.add(s);
+              break;
+            }
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                excludes_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000004;
               }
-            case 50:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-                  exclusivePatches_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000008;
-                }
-                exclusivePatches_.add(s);
-                break;
+              excludes_.add(s);
+              break;
+            }
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+                exclusivePatches_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000008;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              exclusivePatches_.add(s);
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -24572,7 +21591,8 @@ private ZypperSettings(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           categories_ = categories_.getUnmodifiableView();
@@ -24590,33 +21610,27 @@ private ZypperSettings(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs
-          .internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs
-          .internal_static_google_cloud_osconfig_v1beta_ZypperSettings_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ZypperSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.class,
-              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder.class);
     }
 
     public static final int WITH_OPTIONAL_FIELD_NUMBER = 1;
     private boolean withOptional_;
     /**
-     *
-     *
      * 
      * Adds the `--with-optional` flag to `zypper patch`.
      * 
* * bool with_optional = 1; - * * @return The withOptional. */ @java.lang.Override @@ -24627,14 +21641,11 @@ public boolean getWithOptional() { public static final int WITH_UPDATE_FIELD_NUMBER = 2; private boolean withUpdate_; /** - * - * *
      * Adds the `--with-update` flag, to `zypper patch`.
      * 
* * bool with_update = 2; - * * @return The withUpdate. */ @java.lang.Override @@ -24645,45 +21656,37 @@ public boolean getWithUpdate() { public static final int CATEGORIES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList categories_; /** - * - * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; - * * @return A list containing the categories. */ - public com.google.protobuf.ProtocolStringList getCategoriesList() { + public com.google.protobuf.ProtocolStringList + getCategoriesList() { return categories_; } /** - * - * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; - * * @return The count of categories. */ public int getCategoriesCount() { return categories_.size(); } /** - * - * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; - * * @param index The index of the element to return. * @return The categories at the given index. */ @@ -24691,64 +21694,54 @@ public java.lang.String getCategories(int index) { return categories_.get(index); } /** - * - * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; - * * @param index The index of the value to return. * @return The bytes of the categories at the given index. */ - public com.google.protobuf.ByteString getCategoriesBytes(int index) { + public com.google.protobuf.ByteString + getCategoriesBytes(int index) { return categories_.getByteString(index); } public static final int SEVERITIES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList severities_; /** - * - * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; - * * @return A list containing the severities. */ - public com.google.protobuf.ProtocolStringList getSeveritiesList() { + public com.google.protobuf.ProtocolStringList + getSeveritiesList() { return severities_; } /** - * - * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; - * * @return The count of severities. */ public int getSeveritiesCount() { return severities_.size(); } /** - * - * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; - * * @param index The index of the element to return. * @return The severities at the given index. */ @@ -24756,61 +21749,51 @@ public java.lang.String getSeverities(int index) { return severities_.get(index); } /** - * - * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; - * * @param index The index of the value to return. * @return The bytes of the severities at the given index. */ - public com.google.protobuf.ByteString getSeveritiesBytes(int index) { + public com.google.protobuf.ByteString + getSeveritiesBytes(int index) { return severities_.getByteString(index); } public static final int EXCLUDES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList excludes_; /** - * - * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; - * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList getExcludesList() { + public com.google.protobuf.ProtocolStringList + getExcludesList() { return excludes_; } /** - * - * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; - * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** - * - * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; - * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -24818,26 +21801,22 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** - * - * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString getExcludesBytes(int index) { + public com.google.protobuf.ByteString + getExcludesBytes(int index) { return excludes_.getByteString(index); } public static final int EXCLUSIVE_PATCHES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList exclusivePatches_; /** - * - * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -24845,15 +21824,13 @@ public com.google.protobuf.ByteString getExcludesBytes(int index) {
      * 
* * repeated string exclusive_patches = 6; - * * @return A list containing the exclusivePatches. */ - public com.google.protobuf.ProtocolStringList getExclusivePatchesList() { + public com.google.protobuf.ProtocolStringList + getExclusivePatchesList() { return exclusivePatches_; } /** - * - * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -24861,15 +21838,12 @@ public com.google.protobuf.ProtocolStringList getExclusivePatchesList() {
      * 
* * repeated string exclusive_patches = 6; - * * @return The count of exclusivePatches. */ public int getExclusivePatchesCount() { return exclusivePatches_.size(); } /** - * - * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -24877,7 +21851,6 @@ public int getExclusivePatchesCount() {
      * 
* * repeated string exclusive_patches = 6; - * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ @@ -24885,8 +21858,6 @@ public java.lang.String getExclusivePatches(int index) { return exclusivePatches_.get(index); } /** - * - * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -24894,16 +21865,15 @@ public java.lang.String getExclusivePatches(int index) {
      * 
* * repeated string exclusive_patches = 6; - * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) { + public com.google.protobuf.ByteString + getExclusivePatchesBytes(int index) { return exclusivePatches_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -24915,7 +21885,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (withOptional_ != false) { output.writeBool(1, withOptional_); } @@ -24944,10 +21915,12 @@ public int getSerializedSize() { size = 0; if (withOptional_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, withOptional_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, withOptional_); } if (withUpdate_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, withUpdate_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, withUpdate_); } { int dataSize = 0; @@ -24989,20 +21962,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings other = - (com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings) obj; - - if (getWithOptional() != other.getWithOptional()) return false; - if (getWithUpdate() != other.getWithUpdate()) return false; - if (!getCategoriesList().equals(other.getCategoriesList())) return false; - if (!getSeveritiesList().equals(other.getSeveritiesList())) return false; - if (!getExcludesList().equals(other.getExcludesList())) return false; - if (!getExclusivePatchesList().equals(other.getExclusivePatchesList())) return false; + com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings other = (com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings) obj; + + if (getWithOptional() + != other.getWithOptional()) return false; + if (getWithUpdate() + != other.getWithUpdate()) return false; + if (!getCategoriesList() + .equals(other.getCategoriesList())) return false; + if (!getSeveritiesList() + .equals(other.getSeveritiesList())) return false; + if (!getExcludesList() + .equals(other.getExcludesList())) return false; + if (!getExclusivePatchesList() + .equals(other.getExclusivePatchesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -25015,9 +21993,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + WITH_OPTIONAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getWithOptional()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getWithOptional()); hash = (37 * hash) + WITH_UPDATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getWithUpdate()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getWithUpdate()); if (getCategoriesCount() > 0) { hash = (37 * hash) + CATEGORIES_FIELD_NUMBER; hash = (53 * hash) + getCategoriesList().hashCode(); @@ -25040,94 +22020,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings 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.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -25137,8 +22110,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Zypper patching is performed by running `zypper patch`.
      * See also https://en.opensuse.org/SDB:Zypper_manual.
@@ -25146,24 +22117,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.ZypperSettings}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ZypperSettings)
         com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_ZypperSettings_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ZypperSettings_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.class,
-                com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.newBuilder()
@@ -25171,15 +22139,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -25199,9 +22168,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor;
       }
 
       @java.lang.Override
@@ -25220,8 +22189,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings result =
-            new com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings(this);
+        com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings result = new com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings(this);
         int from_bitField0_ = bitField0_;
         result.withOptional_ = withOptional_;
         result.withUpdate_ = withUpdate_;
@@ -25253,41 +22221,38 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings buildPartial()
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchJobs.ZypperSettings) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -25295,8 +22260,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings other) {
-        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.getDefaultInstance()) return this;
         if (other.getWithOptional() != false) {
           setWithOptional(other.getWithOptional());
         }
@@ -25362,8 +22326,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -25372,19 +22335,15 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private boolean withOptional_;
+      private boolean withOptional_ ;
       /**
-       *
-       *
        * 
        * Adds the `--with-optional` flag to `zypper patch`.
        * 
* * bool with_optional = 1; - * * @return The withOptional. */ @java.lang.Override @@ -25392,51 +22351,42 @@ public boolean getWithOptional() { return withOptional_; } /** - * - * *
        * Adds the `--with-optional` flag to `zypper patch`.
        * 
* * bool with_optional = 1; - * * @param value The withOptional to set. * @return This builder for chaining. */ public Builder setWithOptional(boolean value) { - + withOptional_ = value; onChanged(); return this; } /** - * - * *
        * Adds the `--with-optional` flag to `zypper patch`.
        * 
* * bool with_optional = 1; - * * @return This builder for chaining. */ public Builder clearWithOptional() { - + withOptional_ = false; onChanged(); return this; } - private boolean withUpdate_; + private boolean withUpdate_ ; /** - * - * *
        * Adds the `--with-update` flag, to `zypper patch`.
        * 
* * bool with_update = 2; - * * @return The withUpdate. */ @java.lang.Override @@ -25444,90 +22394,74 @@ public boolean getWithUpdate() { return withUpdate_; } /** - * - * *
        * Adds the `--with-update` flag, to `zypper patch`.
        * 
* * bool with_update = 2; - * * @param value The withUpdate to set. * @return This builder for chaining. */ public Builder setWithUpdate(boolean value) { - + withUpdate_ = value; onChanged(); return this; } /** - * - * *
        * Adds the `--with-update` flag, to `zypper patch`.
        * 
* * bool with_update = 2; - * * @return This builder for chaining. */ public Builder clearWithUpdate() { - + withUpdate_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList categories_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList categories_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCategoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { categories_ = new com.google.protobuf.LazyStringArrayList(categories_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; - * * @return A list containing the categories. */ - public com.google.protobuf.ProtocolStringList getCategoriesList() { + public com.google.protobuf.ProtocolStringList + getCategoriesList() { return categories_.getUnmodifiableView(); } /** - * - * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; - * * @return The count of categories. */ public int getCategoriesCount() { return categories_.size(); } /** - * - * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; - * * @param index The index of the element to return. * @return The categories at the given index. */ @@ -25535,95 +22469,85 @@ public java.lang.String getCategories(int index) { return categories_.get(index); } /** - * - * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; - * * @param index The index of the value to return. * @return The bytes of the categories at the given index. */ - public com.google.protobuf.ByteString getCategoriesBytes(int index) { + public com.google.protobuf.ByteString + getCategoriesBytes(int index) { return categories_.getByteString(index); } /** - * - * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; - * * @param index The index to set the value at. * @param value The categories to set. * @return This builder for chaining. */ - public Builder setCategories(int index, java.lang.String value) { + public Builder setCategories( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCategoriesIsMutable(); + throw new NullPointerException(); + } + ensureCategoriesIsMutable(); categories_.set(index, value); onChanged(); return this; } /** - * - * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; - * * @param value The categories to add. * @return This builder for chaining. */ - public Builder addCategories(java.lang.String value) { + public Builder addCategories( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCategoriesIsMutable(); + throw new NullPointerException(); + } + ensureCategoriesIsMutable(); categories_.add(value); onChanged(); return this; } /** - * - * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; - * * @param values The categories to add. * @return This builder for chaining. */ - public Builder addAllCategories(java.lang.Iterable values) { + public Builder addAllCategories( + java.lang.Iterable values) { ensureCategoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, categories_); onChanged(); return this; } /** - * - * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; - * * @return This builder for chaining. */ public Builder clearCategories() { @@ -25633,78 +22557,66 @@ public Builder clearCategories() { return this; } /** - * - * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; - * * @param value The bytes of the categories to add. * @return This builder for chaining. */ - public Builder addCategoriesBytes(com.google.protobuf.ByteString value) { + public Builder addCategoriesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCategoriesIsMutable(); categories_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList severities_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList severities_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSeveritiesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { severities_ = new com.google.protobuf.LazyStringArrayList(severities_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; - * * @return A list containing the severities. */ - public com.google.protobuf.ProtocolStringList getSeveritiesList() { + public com.google.protobuf.ProtocolStringList + getSeveritiesList() { return severities_.getUnmodifiableView(); } /** - * - * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; - * * @return The count of severities. */ public int getSeveritiesCount() { return severities_.size(); } /** - * - * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; - * * @param index The index of the element to return. * @return The severities at the given index. */ @@ -25712,95 +22624,85 @@ public java.lang.String getSeverities(int index) { return severities_.get(index); } /** - * - * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; - * * @param index The index of the value to return. * @return The bytes of the severities at the given index. */ - public com.google.protobuf.ByteString getSeveritiesBytes(int index) { + public com.google.protobuf.ByteString + getSeveritiesBytes(int index) { return severities_.getByteString(index); } /** - * - * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; - * * @param index The index to set the value at. * @param value The severities to set. * @return This builder for chaining. */ - public Builder setSeverities(int index, java.lang.String value) { + public Builder setSeverities( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSeveritiesIsMutable(); + throw new NullPointerException(); + } + ensureSeveritiesIsMutable(); severities_.set(index, value); onChanged(); return this; } /** - * - * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; - * * @param value The severities to add. * @return This builder for chaining. */ - public Builder addSeverities(java.lang.String value) { + public Builder addSeverities( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSeveritiesIsMutable(); + throw new NullPointerException(); + } + ensureSeveritiesIsMutable(); severities_.add(value); onChanged(); return this; } /** - * - * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; - * * @param values The severities to add. * @return This builder for chaining. */ - public Builder addAllSeverities(java.lang.Iterable values) { + public Builder addAllSeverities( + java.lang.Iterable values) { ensureSeveritiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, severities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, severities_); onChanged(); return this; } /** - * - * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; - * * @return This builder for chaining. */ public Builder clearSeverities() { @@ -25810,75 +22712,63 @@ public Builder clearSeverities() { return this; } /** - * - * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; - * * @param value The bytes of the severities to add. * @return This builder for chaining. */ - public Builder addSeveritiesBytes(com.google.protobuf.ByteString value) { + public Builder addSeveritiesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSeveritiesIsMutable(); severities_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList excludes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExcludesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { excludes_ = new com.google.protobuf.LazyStringArrayList(excludes_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; - * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList getExcludesList() { + public com.google.protobuf.ProtocolStringList + getExcludesList() { return excludes_.getUnmodifiableView(); } /** - * - * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; - * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** - * - * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; - * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -25886,90 +22776,80 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** - * - * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString getExcludesBytes(int index) { + public com.google.protobuf.ByteString + getExcludesBytes(int index) { return excludes_.getByteString(index); } /** - * - * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; - * * @param index The index to set the value at. * @param value The excludes to set. * @return This builder for chaining. */ - public Builder setExcludes(int index, java.lang.String value) { + public Builder setExcludes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.set(index, value); onChanged(); return this; } /** - * - * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; - * * @param value The excludes to add. * @return This builder for chaining. */ - public Builder addExcludes(java.lang.String value) { + public Builder addExcludes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } /** - * - * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; - * * @param values The excludes to add. * @return This builder for chaining. */ - public Builder addAllExcludes(java.lang.Iterable values) { + public Builder addAllExcludes( + java.lang.Iterable values) { ensureExcludesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, excludes_); onChanged(); return this; } /** - * - * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; - * * @return This builder for chaining. */ public Builder clearExcludes() { @@ -25979,40 +22859,34 @@ public Builder clearExcludes() { return this; } /** - * - * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; - * * @param value The bytes of the excludes to add. * @return This builder for chaining. */ - public Builder addExcludesBytes(com.google.protobuf.ByteString value) { + public Builder addExcludesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList exclusivePatches_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList exclusivePatches_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExclusivePatchesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { exclusivePatches_ = new com.google.protobuf.LazyStringArrayList(exclusivePatches_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -26020,15 +22894,13 @@ private void ensureExclusivePatchesIsMutable() {
        * 
* * repeated string exclusive_patches = 6; - * * @return A list containing the exclusivePatches. */ - public com.google.protobuf.ProtocolStringList getExclusivePatchesList() { + public com.google.protobuf.ProtocolStringList + getExclusivePatchesList() { return exclusivePatches_.getUnmodifiableView(); } /** - * - * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -26036,15 +22908,12 @@ public com.google.protobuf.ProtocolStringList getExclusivePatchesList() {
        * 
* * repeated string exclusive_patches = 6; - * * @return The count of exclusivePatches. */ public int getExclusivePatchesCount() { return exclusivePatches_.size(); } /** - * - * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -26052,7 +22921,6 @@ public int getExclusivePatchesCount() {
        * 
* * repeated string exclusive_patches = 6; - * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ @@ -26060,8 +22928,6 @@ public java.lang.String getExclusivePatches(int index) { return exclusivePatches_.get(index); } /** - * - * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -26069,16 +22935,14 @@ public java.lang.String getExclusivePatches(int index) {
        * 
* * repeated string exclusive_patches = 6; - * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) { + public com.google.protobuf.ByteString + getExclusivePatchesBytes(int index) { return exclusivePatches_.getByteString(index); } /** - * - * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -26086,23 +22950,21 @@ public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) {
        * 
* * repeated string exclusive_patches = 6; - * * @param index The index to set the value at. * @param value The exclusivePatches to set. * @return This builder for chaining. */ - public Builder setExclusivePatches(int index, java.lang.String value) { + public Builder setExclusivePatches( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePatchesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePatchesIsMutable(); exclusivePatches_.set(index, value); onChanged(); return this; } /** - * - * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -26110,22 +22972,20 @@ public Builder setExclusivePatches(int index, java.lang.String value) {
        * 
* * repeated string exclusive_patches = 6; - * * @param value The exclusivePatches to add. * @return This builder for chaining. */ - public Builder addExclusivePatches(java.lang.String value) { + public Builder addExclusivePatches( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePatchesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePatchesIsMutable(); exclusivePatches_.add(value); onChanged(); return this; } /** - * - * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -26133,19 +22993,18 @@ public Builder addExclusivePatches(java.lang.String value) {
        * 
* * repeated string exclusive_patches = 6; - * * @param values The exclusivePatches to add. * @return This builder for chaining. */ - public Builder addAllExclusivePatches(java.lang.Iterable values) { + public Builder addAllExclusivePatches( + java.lang.Iterable values) { ensureExclusivePatchesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusivePatches_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, exclusivePatches_); onChanged(); return this; } /** - * - * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -26153,7 +23012,6 @@ public Builder addAllExclusivePatches(java.lang.Iterable value
        * 
* * repeated string exclusive_patches = 6; - * * @return This builder for chaining. */ public Builder clearExclusivePatches() { @@ -26163,8 +23021,6 @@ public Builder clearExclusivePatches() { return this; } /** - * - * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -26172,21 +23028,20 @@ public Builder clearExclusivePatches() {
        * 
* * repeated string exclusive_patches = 6; - * * @param value The bytes of the exclusivePatches to add. * @return This builder for chaining. */ - public Builder addExclusivePatchesBytes(com.google.protobuf.ByteString value) { + public Builder addExclusivePatchesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExclusivePatchesIsMutable(); exclusivePatches_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -26199,12 +23054,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ZypperSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ZypperSettings) private static final com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings(); } @@ -26213,16 +23068,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ZypperSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ZypperSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ZypperSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ZypperSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -26237,147 +23092,109 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface WindowsUpdateSettingsOrBuilder - extends + public interface WindowsUpdateSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.WindowsUpdateSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @return A list containing the classifications. */ - java.util.List - getClassificationsList(); + java.util.List getClassificationsList(); /** - * - * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @return The count of classifications. */ int getClassificationsCount(); /** - * - * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @param index The index of the element to return. * @return The classifications at the given index. */ - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification - getClassifications(int index); + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification getClassifications(int index); /** - * - * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @return A list containing the enum numeric values on the wire for classifications. */ - java.util.List getClassificationsValueList(); + java.util.List + getClassificationsValueList(); /** - * - * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of classifications at the given index. */ int getClassificationsValue(int index); /** - * - * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; - * * @return A list containing the excludes. */ - java.util.List getExcludesList(); + java.util.List + getExcludesList(); /** - * - * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; - * * @return The count of excludes. */ int getExcludesCount(); /** - * - * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; - * * @param index The index of the element to return. * @return The excludes at the given index. */ java.lang.String getExcludes(int index); /** - * - * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - com.google.protobuf.ByteString getExcludesBytes(int index); + com.google.protobuf.ByteString + getExcludesBytes(int index); /** - * - * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -26385,13 +23202,11 @@ public interface WindowsUpdateSettingsOrBuilder
      * 
* * repeated string exclusive_patches = 3; - * * @return A list containing the exclusivePatches. */ - java.util.List getExclusivePatchesList(); + java.util.List + getExclusivePatchesList(); /** - * - * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -26399,13 +23214,10 @@ public interface WindowsUpdateSettingsOrBuilder
      * 
* * repeated string exclusive_patches = 3; - * * @return The count of exclusivePatches. */ int getExclusivePatchesCount(); /** - * - * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -26413,14 +23225,11 @@ public interface WindowsUpdateSettingsOrBuilder
      * 
* * repeated string exclusive_patches = 3; - * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ java.lang.String getExclusivePatches(int index); /** - * - * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -26428,31 +23237,28 @@ public interface WindowsUpdateSettingsOrBuilder
      * 
* * repeated string exclusive_patches = 3; - * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - com.google.protobuf.ByteString getExclusivePatchesBytes(int index); + com.google.protobuf.ByteString + getExclusivePatchesBytes(int index); } /** - * - * *
    * Windows patching is performed using the Windows Update Agent.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.WindowsUpdateSettings} */ - public static final class WindowsUpdateSettings extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class WindowsUpdateSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.WindowsUpdateSettings) WindowsUpdateSettingsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WindowsUpdateSettings.newBuilder() to construct. private WindowsUpdateSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WindowsUpdateSettings() { classifications_ = java.util.Collections.emptyList(); excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26461,15 +23267,16 @@ private WindowsUpdateSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WindowsUpdateSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WindowsUpdateSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -26489,58 +23296,54 @@ private WindowsUpdateSettings( case 0: done = true; break; - case 8: - { + case 8: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + classifications_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + classifications_.add(rawValue); + break; + } + case 10: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { classifications_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } classifications_.add(rawValue); - break; } - case 10: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - classifications_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - classifications_.add(rawValue); - } - input.popLimit(oldLimit); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - excludes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - excludes_.add(s); - break; + input.popLimit(oldLimit); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + excludes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - exclusivePatches_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; - } - exclusivePatches_.add(s); - break; + excludes_.add(s); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + exclusivePatches_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + exclusivePatches_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -26548,7 +23351,8 @@ private WindowsUpdateSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { classifications_ = java.util.Collections.unmodifiableList(classifications_); @@ -26563,25 +23367,20 @@ private WindowsUpdateSettings( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.class, - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder.class); } /** - * - * *
      * Microsoft Windows update classifications as defined in
      * [1]
@@ -26590,10 +23389,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      *
      * Protobuf enum {@code google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification}
      */
-    public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
+    public enum Classification
+        implements com.google.protobuf.ProtocolMessageEnum {
       /**
-       *
-       *
        * 
        * Invalid. If classifications are included, they must be specified.
        * 
@@ -26602,8 +23400,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum { */ CLASSIFICATION_UNSPECIFIED(0), /** - * - * *
        * "A widely released fix for a specific problem that addresses a critical,
        * non-security-related bug." [1]
@@ -26613,8 +23409,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       CRITICAL(1),
       /**
-       *
-       *
        * 
        * "A widely released fix for a product-specific, security-related
        * vulnerability. Security vulnerabilities are rated by their severity. The
@@ -26626,8 +23420,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       SECURITY(2),
       /**
-       *
-       *
        * 
        * "A widely released and frequent software update that contains additions
        * to a product's definition database. Definition databases are often used
@@ -26639,8 +23431,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       DEFINITION(3),
       /**
-       *
-       *
        * 
        * "Software that controls the input and output of a device." [1]
        * 
@@ -26649,8 +23439,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum { */ DRIVER(4), /** - * - * *
        * "New product functionality that is first distributed outside the context
        * of a product release and that is typically included in the next full
@@ -26661,8 +23449,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       FEATURE_PACK(5),
       /**
-       *
-       *
        * 
        * "A tested, cumulative set of all hotfixes, security updates, critical
        * updates, and updates. Additionally, service packs may contain additional
@@ -26675,8 +23461,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       SERVICE_PACK(6),
       /**
-       *
-       *
        * 
        * "A utility or feature that helps complete a task or set of tasks." [1]
        * 
@@ -26685,8 +23469,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum { */ TOOL(7), /** - * - * *
        * "A tested, cumulative set of hotfixes, security updates, critical
        * updates, and updates that are packaged together for easy deployment. A
@@ -26698,8 +23480,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       UPDATE_ROLLUP(8),
       /**
-       *
-       *
        * 
        * "A widely released fix for a specific problem. An update addresses a
        * noncritical, non-security-related bug." [1]
@@ -26712,8 +23492,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Invalid. If classifications are included, they must be specified.
        * 
@@ -26722,8 +23500,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLASSIFICATION_UNSPECIFIED_VALUE = 0; /** - * - * *
        * "A widely released fix for a specific problem that addresses a critical,
        * non-security-related bug." [1]
@@ -26733,8 +23509,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int CRITICAL_VALUE = 1;
       /**
-       *
-       *
        * 
        * "A widely released fix for a product-specific, security-related
        * vulnerability. Security vulnerabilities are rated by their severity. The
@@ -26746,8 +23520,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int SECURITY_VALUE = 2;
       /**
-       *
-       *
        * 
        * "A widely released and frequent software update that contains additions
        * to a product's definition database. Definition databases are often used
@@ -26759,8 +23531,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int DEFINITION_VALUE = 3;
       /**
-       *
-       *
        * 
        * "Software that controls the input and output of a device." [1]
        * 
@@ -26769,8 +23539,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DRIVER_VALUE = 4; /** - * - * *
        * "New product functionality that is first distributed outside the context
        * of a product release and that is typically included in the next full
@@ -26781,8 +23549,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int FEATURE_PACK_VALUE = 5;
       /**
-       *
-       *
        * 
        * "A tested, cumulative set of all hotfixes, security updates, critical
        * updates, and updates. Additionally, service packs may contain additional
@@ -26795,8 +23561,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int SERVICE_PACK_VALUE = 6;
       /**
-       *
-       *
        * 
        * "A utility or feature that helps complete a task or set of tasks." [1]
        * 
@@ -26805,8 +23569,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TOOL_VALUE = 7; /** - * - * *
        * "A tested, cumulative set of hotfixes, security updates, critical
        * updates, and updates that are packaged together for easy deployment. A
@@ -26818,8 +23580,6 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int UPDATE_ROLLUP_VALUE = 8;
       /**
-       *
-       *
        * 
        * "A widely released fix for a specific problem. An update addresses a
        * noncritical, non-security-related bug." [1]
@@ -26829,6 +23589,7 @@ public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int UPDATE_VALUE = 9;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -26853,59 +23614,47 @@ public static Classification valueOf(int value) {
        */
       public static Classification forNumber(int value) {
         switch (value) {
-          case 0:
-            return CLASSIFICATION_UNSPECIFIED;
-          case 1:
-            return CRITICAL;
-          case 2:
-            return SECURITY;
-          case 3:
-            return DEFINITION;
-          case 4:
-            return DRIVER;
-          case 5:
-            return FEATURE_PACK;
-          case 6:
-            return SERVICE_PACK;
-          case 7:
-            return TOOL;
-          case 8:
-            return UPDATE_ROLLUP;
-          case 9:
-            return UPDATE;
-          default:
-            return null;
-        }
-      }
-
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+          case 0: return CLASSIFICATION_UNSPECIFIED;
+          case 1: return CRITICAL;
+          case 2: return SECURITY;
+          case 3: return DEFINITION;
+          case 4: return DRIVER;
+          case 5: return FEATURE_PACK;
+          case 6: return SERVICE_PACK;
+          case 7: return TOOL;
+          case 8: return UPDATE_ROLLUP;
+          case 9: return UPDATE;
+          default: return null;
+        }
+      }
+
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          Classification> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public Classification findValueByNumber(int number) {
+                return Classification.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap
-          internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public Classification findValueByNumber(int number) {
-                  return Classification.forNumber(number);
-                }
-              };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final Classification[] VALUES = values();
@@ -26913,7 +23662,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
       public static Classification valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -26933,60 +23683,36 @@ private Classification(int value) {
     public static final int CLASSIFICATIONS_FIELD_NUMBER = 1;
     private java.util.List classifications_;
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-            java.lang.Integer,
-            com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification>
-        classifications_converter_ =
+        java.lang.Integer, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification> classifications_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
-                java.lang.Integer,
-                com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification>() {
-              public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification
-                  convert(java.lang.Integer from) {
+                java.lang.Integer, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification>() {
+              public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification convert(java.lang.Integer from) {
                 @SuppressWarnings("deprecation")
-                com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification
-                    result =
-                        com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings
-                            .Classification.valueOf(from);
-                return result == null
-                    ? com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings
-                        .Classification.UNRECOGNIZED
-                    : result;
+                com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification result = com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification.valueOf(from);
+                return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification.UNRECOGNIZED : result;
               }
             };
     /**
-     *
-     *
      * 
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @return A list containing the classifications. */ @java.lang.Override - public java.util.List< - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification> - getClassificationsList() { + public java.util.List getClassificationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification>( - classifications_, classifications_converter_); + java.lang.Integer, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification>(classifications_, classifications_converter_); } /** - * - * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @return The count of classifications. */ @java.lang.Override @@ -26994,55 +23720,40 @@ public int getClassificationsCount() { return classifications_.size(); } /** - * - * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @param index The index of the element to return. * @return The classifications at the given index. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification - getClassifications(int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification getClassifications(int index) { return classifications_converter_.convert(classifications_.get(index)); } /** - * - * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @return A list containing the enum numeric values on the wire for classifications. */ @java.lang.Override - public java.util.List getClassificationsValueList() { + public java.util.List + getClassificationsValueList() { return classifications_; } /** - * - * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of classifications at the given index. */ @@ -27050,48 +23761,39 @@ public java.util.List getClassificationsValueList() { public int getClassificationsValue(int index) { return classifications_.get(index); } - private int classificationsMemoizedSerializedSize; public static final int EXCLUDES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList excludes_; /** - * - * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; - * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList getExcludesList() { + public com.google.protobuf.ProtocolStringList + getExcludesList() { return excludes_; } /** - * - * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; - * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** - * - * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; - * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -27099,26 +23801,22 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** - * - * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString getExcludesBytes(int index) { + public com.google.protobuf.ByteString + getExcludesBytes(int index) { return excludes_.getByteString(index); } public static final int EXCLUSIVE_PATCHES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList exclusivePatches_; /** - * - * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -27126,15 +23824,13 @@ public com.google.protobuf.ByteString getExcludesBytes(int index) {
      * 
* * repeated string exclusive_patches = 3; - * * @return A list containing the exclusivePatches. */ - public com.google.protobuf.ProtocolStringList getExclusivePatchesList() { + public com.google.protobuf.ProtocolStringList + getExclusivePatchesList() { return exclusivePatches_; } /** - * - * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -27142,15 +23838,12 @@ public com.google.protobuf.ProtocolStringList getExclusivePatchesList() {
      * 
* * repeated string exclusive_patches = 3; - * * @return The count of exclusivePatches. */ public int getExclusivePatchesCount() { return exclusivePatches_.size(); } /** - * - * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -27158,7 +23851,6 @@ public int getExclusivePatchesCount() {
      * 
* * repeated string exclusive_patches = 3; - * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ @@ -27166,8 +23858,6 @@ public java.lang.String getExclusivePatches(int index) { return exclusivePatches_.get(index); } /** - * - * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -27175,16 +23865,15 @@ public java.lang.String getExclusivePatches(int index) {
      * 
* * repeated string exclusive_patches = 3; - * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) { + public com.google.protobuf.ByteString + getExclusivePatchesBytes(int index) { return exclusivePatches_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -27196,7 +23885,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (getClassificationsList().size() > 0) { output.writeUInt32NoTag(10); @@ -27223,15 +23913,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < classifications_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(classifications_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(classifications_.get(i)); } size += dataSize; - if (!getClassificationsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - classificationsMemoizedSerializedSize = dataSize; + if (!getClassificationsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }classificationsMemoizedSerializedSize = dataSize; } { int dataSize = 0; @@ -27257,17 +23946,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings other = - (com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings other = (com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings) obj; if (!classifications_.equals(other.classifications_)) return false; - if (!getExcludesList().equals(other.getExcludesList())) return false; - if (!getExclusivePatchesList().equals(other.getExclusivePatchesList())) return false; + if (!getExcludesList() + .equals(other.getExcludesList())) return false; + if (!getExclusivePatchesList() + .equals(other.getExclusivePatchesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -27297,95 +23987,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings 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.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings - 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.osconfig.v1beta.PatchJobs.WindowsUpdateSettings 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.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -27395,49 +24077,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Windows patching is performed using the Windows Update Agent.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.WindowsUpdateSettings} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.WindowsUpdateSettings) com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.class, - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder.class); } - // Construct using - // com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.newBuilder() + // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -27451,16 +24128,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings - getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings - .getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.getDefaultInstance(); } @java.lang.Override @@ -27474,8 +24149,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings build() @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings result = - new com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings(this); + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings result = new com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { classifications_ = java.util.Collections.unmodifiableList(classifications_); @@ -27500,53 +24174,46 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.WindowsUpdateSettings) { - return mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings) other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings other) { - if (other - == com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings other) { + if (other == com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.getDefaultInstance()) return this; if (!other.classifications_.isEmpty()) { if (classifications_.isEmpty()) { classifications_ = other.classifications_; @@ -27596,9 +24263,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -27607,12 +24272,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List classifications_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureClassificationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { classifications_ = new java.util.ArrayList(classifications_); @@ -27620,82 +24283,56 @@ private void ensureClassificationsIsMutable() { } } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @return A list containing the classifications. */ - public java.util.List< - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification> - getClassificationsList() { + public java.util.List getClassificationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification>( - classifications_, classifications_converter_); + java.lang.Integer, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification>(classifications_, classifications_converter_); } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @return The count of classifications. */ public int getClassificationsCount() { return classifications_.size(); } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @param index The index of the element to return. * @return The classifications at the given index. */ - public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification - getClassifications(int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification getClassifications(int index) { return classifications_converter_.convert(classifications_.get(index)); } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @param index The index to set the value at. * @param value The classifications to set. * @return This builder for chaining. */ public Builder setClassifications( - int index, - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification value) { + int index, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification value) { if (value == null) { throw new NullPointerException(); } @@ -27705,22 +24342,16 @@ public Builder setClassifications( return this; } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @param value The classifications to add. * @return This builder for chaining. */ - public Builder addClassifications( - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification value) { + public Builder addClassifications(com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification value) { if (value == null) { throw new NullPointerException(); } @@ -27730,46 +24361,31 @@ public Builder addClassifications( return this; } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @param values The classifications to add. * @return This builder for chaining. */ public Builder addAllClassifications( - java.lang.Iterable< - ? extends - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings - .Classification> - values) { + java.lang.Iterable values) { ensureClassificationsIsMutable(); - for (com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification value : - values) { + for (com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification value : values) { classifications_.add(value.getNumber()); } onChanged(); return this; } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @return This builder for chaining. */ public Builder clearClassifications() { @@ -27779,34 +24395,25 @@ public Builder clearClassifications() { return this; } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @return A list containing the enum numeric values on the wire for classifications. */ - public java.util.List getClassificationsValueList() { + public java.util.List + getClassificationsValueList() { return java.util.Collections.unmodifiableList(classifications_); } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of classifications at the given index. */ @@ -27814,39 +24421,30 @@ public int getClassificationsValue(int index) { return classifications_.get(index); } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of classifications at the given index. * @return This builder for chaining. */ - public Builder setClassificationsValue(int index, int value) { + public Builder setClassificationsValue( + int index, int value) { ensureClassificationsIsMutable(); classifications_.set(index, value); onChanged(); return this; } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @param value The enum numeric value on the wire for classifications to add. * @return This builder for chaining. */ @@ -27857,21 +24455,17 @@ public Builder addClassificationsValue(int value) { return this; } /** - * - * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; - * - * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; * @param values The enum numeric values on the wire for classifications to add. * @return This builder for chaining. */ - public Builder addAllClassificationsValue(java.lang.Iterable values) { + public Builder addAllClassificationsValue( + java.lang.Iterable values) { ensureClassificationsIsMutable(); for (int value : values) { classifications_.add(value); @@ -27880,52 +24474,42 @@ public Builder addAllClassificationsValue(java.lang.Iterable return this; } - private com.google.protobuf.LazyStringList excludes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExcludesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { excludes_ = new com.google.protobuf.LazyStringArrayList(excludes_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; - * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList getExcludesList() { + public com.google.protobuf.ProtocolStringList + getExcludesList() { return excludes_.getUnmodifiableView(); } /** - * - * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; - * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** - * - * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; - * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -27933,90 +24517,80 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** - * - * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; - * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString getExcludesBytes(int index) { + public com.google.protobuf.ByteString + getExcludesBytes(int index) { return excludes_.getByteString(index); } /** - * - * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; - * * @param index The index to set the value at. * @param value The excludes to set. * @return This builder for chaining. */ - public Builder setExcludes(int index, java.lang.String value) { + public Builder setExcludes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.set(index, value); onChanged(); return this; } /** - * - * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; - * * @param value The excludes to add. * @return This builder for chaining. */ - public Builder addExcludes(java.lang.String value) { + public Builder addExcludes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } /** - * - * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; - * * @param values The excludes to add. * @return This builder for chaining. */ - public Builder addAllExcludes(java.lang.Iterable values) { + public Builder addAllExcludes( + java.lang.Iterable values) { ensureExcludesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, excludes_); onChanged(); return this; } /** - * - * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; - * * @return This builder for chaining. */ public Builder clearExcludes() { @@ -28026,40 +24600,34 @@ public Builder clearExcludes() { return this; } /** - * - * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; - * * @param value The bytes of the excludes to add. * @return This builder for chaining. */ - public Builder addExcludesBytes(com.google.protobuf.ByteString value) { + public Builder addExcludesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList exclusivePatches_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList exclusivePatches_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExclusivePatchesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { exclusivePatches_ = new com.google.protobuf.LazyStringArrayList(exclusivePatches_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -28067,15 +24635,13 @@ private void ensureExclusivePatchesIsMutable() {
        * 
* * repeated string exclusive_patches = 3; - * * @return A list containing the exclusivePatches. */ - public com.google.protobuf.ProtocolStringList getExclusivePatchesList() { + public com.google.protobuf.ProtocolStringList + getExclusivePatchesList() { return exclusivePatches_.getUnmodifiableView(); } /** - * - * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -28083,15 +24649,12 @@ public com.google.protobuf.ProtocolStringList getExclusivePatchesList() {
        * 
* * repeated string exclusive_patches = 3; - * * @return The count of exclusivePatches. */ public int getExclusivePatchesCount() { return exclusivePatches_.size(); } /** - * - * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -28099,7 +24662,6 @@ public int getExclusivePatchesCount() {
        * 
* * repeated string exclusive_patches = 3; - * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ @@ -28107,8 +24669,6 @@ public java.lang.String getExclusivePatches(int index) { return exclusivePatches_.get(index); } /** - * - * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -28116,16 +24676,14 @@ public java.lang.String getExclusivePatches(int index) {
        * 
* * repeated string exclusive_patches = 3; - * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) { + public com.google.protobuf.ByteString + getExclusivePatchesBytes(int index) { return exclusivePatches_.getByteString(index); } /** - * - * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -28133,23 +24691,21 @@ public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) {
        * 
* * repeated string exclusive_patches = 3; - * * @param index The index to set the value at. * @param value The exclusivePatches to set. * @return This builder for chaining. */ - public Builder setExclusivePatches(int index, java.lang.String value) { + public Builder setExclusivePatches( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePatchesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePatchesIsMutable(); exclusivePatches_.set(index, value); onChanged(); return this; } /** - * - * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -28157,22 +24713,20 @@ public Builder setExclusivePatches(int index, java.lang.String value) {
        * 
* * repeated string exclusive_patches = 3; - * * @param value The exclusivePatches to add. * @return This builder for chaining. */ - public Builder addExclusivePatches(java.lang.String value) { + public Builder addExclusivePatches( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePatchesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePatchesIsMutable(); exclusivePatches_.add(value); onChanged(); return this; } /** - * - * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -28180,19 +24734,18 @@ public Builder addExclusivePatches(java.lang.String value) {
        * 
* * repeated string exclusive_patches = 3; - * * @param values The exclusivePatches to add. * @return This builder for chaining. */ - public Builder addAllExclusivePatches(java.lang.Iterable values) { + public Builder addAllExclusivePatches( + java.lang.Iterable values) { ensureExclusivePatchesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusivePatches_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, exclusivePatches_); onChanged(); return this; } /** - * - * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -28200,7 +24753,6 @@ public Builder addAllExclusivePatches(java.lang.Iterable value
        * 
* * repeated string exclusive_patches = 3; - * * @return This builder for chaining. */ public Builder clearExclusivePatches() { @@ -28210,8 +24762,6 @@ public Builder clearExclusivePatches() { return this; } /** - * - * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -28219,21 +24769,20 @@ public Builder clearExclusivePatches() {
        * 
* * repeated string exclusive_patches = 3; - * * @param value The bytes of the exclusivePatches to add. * @return This builder for chaining. */ - public Builder addExclusivePatchesBytes(com.google.protobuf.ByteString value) { + public Builder addExclusivePatchesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExclusivePatchesIsMutable(); exclusivePatches_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -28246,32 +24795,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.WindowsUpdateSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.WindowsUpdateSettings) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsUpdateSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsUpdateSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsUpdateSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsUpdateSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -28283,121 +24830,101 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ExecStepOrBuilder - extends + public interface ExecStepOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ExecStep) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; - * * @return Whether the linuxExecStepConfig field is set. */ boolean hasLinuxExecStepConfig(); /** - * - * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; - * * @return The linuxExecStepConfig. */ com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getLinuxExecStepConfig(); /** - * - * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; */ - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder - getLinuxExecStepConfigOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder getLinuxExecStepConfigOrBuilder(); /** - * - * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; - * * @return Whether the windowsExecStepConfig field is set. */ boolean hasWindowsExecStepConfig(); /** - * - * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; - * * @return The windowsExecStepConfig. */ com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getWindowsExecStepConfig(); /** - * - * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; */ - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder - getWindowsExecStepConfigOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder getWindowsExecStepConfigOrBuilder(); } /** - * - * *
    * A step that runs an executable for a PatchJob.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ExecStep} */ - public static final class ExecStep extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ExecStep extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ExecStep) ExecStepOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecStep.newBuilder() to construct. private ExecStep(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ExecStep() {} + private ExecStep() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExecStep(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExecStep( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -28416,47 +24943,39 @@ private ExecStep( case 0: done = true; break; - case 10: - { - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder subBuilder = null; - if (linuxExecStepConfig_ != null) { - subBuilder = linuxExecStepConfig_.toBuilder(); - } - linuxExecStepConfig_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(linuxExecStepConfig_); - linuxExecStepConfig_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder subBuilder = null; + if (linuxExecStepConfig_ != null) { + subBuilder = linuxExecStepConfig_.toBuilder(); + } + linuxExecStepConfig_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(linuxExecStepConfig_); + linuxExecStepConfig_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder subBuilder = null; - if (windowsExecStepConfig_ != null) { - subBuilder = windowsExecStepConfig_.toBuilder(); - } - windowsExecStepConfig_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(windowsExecStepConfig_); - windowsExecStepConfig_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder subBuilder = null; + if (windowsExecStepConfig_ != null) { + subBuilder = windowsExecStepConfig_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + windowsExecStepConfig_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(windowsExecStepConfig_); + windowsExecStepConfig_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -28464,39 +24983,34 @@ private ExecStep( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ExecStep_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.class, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.class, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder.class); } public static final int LINUX_EXEC_STEP_CONFIG_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig linuxExecStepConfig_; /** - * - * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; - * * @return Whether the linuxExecStepConfig field is set. */ @java.lang.Override @@ -28504,25 +25018,18 @@ public boolean hasLinuxExecStepConfig() { return linuxExecStepConfig_ != null; } /** - * - * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; - * * @return The linuxExecStepConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getLinuxExecStepConfig() { - return linuxExecStepConfig_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() - : linuxExecStepConfig_; + return linuxExecStepConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() : linuxExecStepConfig_; } /** - * - * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
@@ -28530,22 +25037,18 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getLinuxExecSte * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder - getLinuxExecStepConfigOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder getLinuxExecStepConfigOrBuilder() { return getLinuxExecStepConfig(); } public static final int WINDOWS_EXEC_STEP_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig windowsExecStepConfig_; /** - * - * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; - * * @return Whether the windowsExecStepConfig field is set. */ @java.lang.Override @@ -28553,25 +25056,18 @@ public boolean hasWindowsExecStepConfig() { return windowsExecStepConfig_ != null; } /** - * - * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; - * * @return The windowsExecStepConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getWindowsExecStepConfig() { - return windowsExecStepConfig_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() - : windowsExecStepConfig_; + return windowsExecStepConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() : windowsExecStepConfig_; } /** - * - * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
@@ -28579,13 +25075,11 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getWindowsExecS * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder - getWindowsExecStepConfigOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder getWindowsExecStepConfigOrBuilder() { return getWindowsExecStepConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -28597,7 +25091,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (linuxExecStepConfig_ != null) { output.writeMessage(1, getLinuxExecStepConfig()); } @@ -28614,12 +25109,12 @@ public int getSerializedSize() { size = 0; if (linuxExecStepConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLinuxExecStepConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getLinuxExecStepConfig()); } if (windowsExecStepConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWindowsExecStepConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getWindowsExecStepConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -28629,21 +25124,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep other = - (com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep other = (com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep) obj; if (hasLinuxExecStepConfig() != other.hasLinuxExecStepConfig()) return false; if (hasLinuxExecStepConfig()) { - if (!getLinuxExecStepConfig().equals(other.getLinuxExecStepConfig())) return false; + if (!getLinuxExecStepConfig() + .equals(other.getLinuxExecStepConfig())) return false; } if (hasWindowsExecStepConfig() != other.hasWindowsExecStepConfig()) return false; if (hasWindowsExecStepConfig()) { - if (!getWindowsExecStepConfig().equals(other.getWindowsExecStepConfig())) return false; + if (!getWindowsExecStepConfig() + .equals(other.getWindowsExecStepConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -28670,94 +25166,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep 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.osconfig.v1beta.PatchJobs.ExecStep parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -28767,32 +25256,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A step that runs an executable for a PatchJob.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ExecStep} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ExecStep) com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ExecStep_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.class, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.class, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder.class); } // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.newBuilder() @@ -28800,15 +25284,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -28828,9 +25313,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor; } @java.lang.Override @@ -28849,8 +25334,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep build() { @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep result = - new com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep(this); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep result = new com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep(this); if (linuxExecStepConfigBuilder_ == null) { result.linuxExecStepConfig_ = linuxExecStepConfig_; } else { @@ -28869,41 +25353,38 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.ExecStep) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep) other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep)other); } else { super.mergeFrom(other); return this; @@ -28911,8 +25392,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep other) { - if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance()) return this; if (other.hasLinuxExecStepConfig()) { mergeLinuxExecStepConfig(other.getLinuxExecStepConfig()); } @@ -28938,8 +25418,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -28951,55 +25430,41 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig linuxExecStepConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder> - linuxExecStepConfigBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder> linuxExecStepConfigBuilder_; /** - * - * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; - * * @return Whether the linuxExecStepConfig field is set. */ public boolean hasLinuxExecStepConfig() { return linuxExecStepConfigBuilder_ != null || linuxExecStepConfig_ != null; } /** - * - * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; - * * @return The linuxExecStepConfig. */ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getLinuxExecStepConfig() { if (linuxExecStepConfigBuilder_ == null) { - return linuxExecStepConfig_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() - : linuxExecStepConfig_; + return linuxExecStepConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() : linuxExecStepConfig_; } else { return linuxExecStepConfigBuilder_.getMessage(); } } /** - * - * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; */ - public Builder setLinuxExecStepConfig( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig value) { + public Builder setLinuxExecStepConfig(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig value) { if (linuxExecStepConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -29013,8 +25478,6 @@ public Builder setLinuxExecStepConfig( return this; } /** - * - * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
@@ -29033,23 +25496,17 @@ public Builder setLinuxExecStepConfig( return this; } /** - * - * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; */ - public Builder mergeLinuxExecStepConfig( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig value) { + public Builder mergeLinuxExecStepConfig(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig value) { if (linuxExecStepConfigBuilder_ == null) { if (linuxExecStepConfig_ != null) { linuxExecStepConfig_ = - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.newBuilder( - linuxExecStepConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.newBuilder(linuxExecStepConfig_).mergeFrom(value).buildPartial(); } else { linuxExecStepConfig_ = value; } @@ -29061,8 +25518,6 @@ public Builder mergeLinuxExecStepConfig( return this; } /** - * - * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
@@ -29081,42 +25536,33 @@ public Builder clearLinuxExecStepConfig() { return this; } /** - * - * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder - getLinuxExecStepConfigBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder getLinuxExecStepConfigBuilder() { + onChanged(); return getLinuxExecStepConfigFieldBuilder().getBuilder(); } /** - * - * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder - getLinuxExecStepConfigOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder getLinuxExecStepConfigOrBuilder() { if (linuxExecStepConfigBuilder_ != null) { return linuxExecStepConfigBuilder_.getMessageOrBuilder(); } else { - return linuxExecStepConfig_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() - : linuxExecStepConfig_; + return linuxExecStepConfig_ == null ? + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() : linuxExecStepConfig_; } } /** - * - * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
@@ -29124,17 +25570,14 @@ public Builder clearLinuxExecStepConfig() { * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder> getLinuxExecStepConfigFieldBuilder() { if (linuxExecStepConfigBuilder_ == null) { - linuxExecStepConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder>( - getLinuxExecStepConfig(), getParentForChildren(), isClean()); + linuxExecStepConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder>( + getLinuxExecStepConfig(), + getParentForChildren(), + isClean()); linuxExecStepConfig_ = null; } return linuxExecStepConfigBuilder_; @@ -29142,55 +25585,41 @@ public Builder clearLinuxExecStepConfig() { private com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig windowsExecStepConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder> - windowsExecStepConfigBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder> windowsExecStepConfigBuilder_; /** - * - * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; - * * @return Whether the windowsExecStepConfig field is set. */ public boolean hasWindowsExecStepConfig() { return windowsExecStepConfigBuilder_ != null || windowsExecStepConfig_ != null; } /** - * - * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; - * * @return The windowsExecStepConfig. */ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getWindowsExecStepConfig() { if (windowsExecStepConfigBuilder_ == null) { - return windowsExecStepConfig_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() - : windowsExecStepConfig_; + return windowsExecStepConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() : windowsExecStepConfig_; } else { return windowsExecStepConfigBuilder_.getMessage(); } } /** - * - * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; */ - public Builder setWindowsExecStepConfig( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig value) { + public Builder setWindowsExecStepConfig(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig value) { if (windowsExecStepConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -29204,8 +25633,6 @@ public Builder setWindowsExecStepConfig( return this; } /** - * - * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
@@ -29224,23 +25651,17 @@ public Builder setWindowsExecStepConfig( return this; } /** - * - * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; */ - public Builder mergeWindowsExecStepConfig( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig value) { + public Builder mergeWindowsExecStepConfig(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig value) { if (windowsExecStepConfigBuilder_ == null) { if (windowsExecStepConfig_ != null) { windowsExecStepConfig_ = - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.newBuilder( - windowsExecStepConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.newBuilder(windowsExecStepConfig_).mergeFrom(value).buildPartial(); } else { windowsExecStepConfig_ = value; } @@ -29252,8 +25673,6 @@ public Builder mergeWindowsExecStepConfig( return this; } /** - * - * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
@@ -29272,42 +25691,33 @@ public Builder clearWindowsExecStepConfig() { return this; } /** - * - * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder - getWindowsExecStepConfigBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder getWindowsExecStepConfigBuilder() { + onChanged(); return getWindowsExecStepConfigFieldBuilder().getBuilder(); } /** - * - * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder - getWindowsExecStepConfigOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder getWindowsExecStepConfigOrBuilder() { if (windowsExecStepConfigBuilder_ != null) { return windowsExecStepConfigBuilder_.getMessageOrBuilder(); } else { - return windowsExecStepConfig_ == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() - : windowsExecStepConfig_; + return windowsExecStepConfig_ == null ? + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() : windowsExecStepConfig_; } } /** - * - * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
@@ -29315,22 +25725,18 @@ public Builder clearWindowsExecStepConfig() { * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder> getWindowsExecStepConfigFieldBuilder() { if (windowsExecStepConfigBuilder_ == null) { - windowsExecStepConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder>( - getWindowsExecStepConfig(), getParentForChildren(), isClean()); + windowsExecStepConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder>( + getWindowsExecStepConfig(), + getParentForChildren(), + isClean()); windowsExecStepConfig_ = null; } return windowsExecStepConfigBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -29343,12 +25749,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ExecStep) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ExecStep) private static final com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep(); } @@ -29357,16 +25763,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecStep parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecStep(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecStep parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecStep(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -29381,77 +25787,61 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ExecStepConfigOrBuilder - extends + public interface ExecStepConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ExecStepConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; - * * @return Whether the localPath field is set. */ boolean hasLocalPath(); /** - * - * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; - * * @return The localPath. */ java.lang.String getLocalPath(); /** - * - * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; - * * @return The bytes for localPath. */ - com.google.protobuf.ByteString getLocalPathBytes(); + com.google.protobuf.ByteString + getLocalPathBytes(); /** - * - * *
      * A Google Cloud Storage object containing the executable.
      * 
* * .google.cloud.osconfig.v1beta.GcsObject gcs_object = 2; - * * @return Whether the gcsObject field is set. */ boolean hasGcsObject(); /** - * - * *
      * A Google Cloud Storage object containing the executable.
      * 
* * .google.cloud.osconfig.v1beta.GcsObject gcs_object = 2; - * * @return The gcsObject. */ com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject getGcsObject(); /** - * - * *
      * A Google Cloud Storage object containing the executable.
      * 
@@ -29461,49 +25851,38 @@ public interface ExecStepConfigOrBuilder com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder getGcsObjectOrBuilder(); /** - * - * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; - * * @return A list containing the allowedSuccessCodes. */ java.util.List getAllowedSuccessCodesList(); /** - * - * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; - * * @return The count of allowedSuccessCodes. */ int getAllowedSuccessCodesCount(); /** - * - * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; - * * @param index The index of the element to return. * @return The allowedSuccessCodes at the given index. */ int getAllowedSuccessCodes(int index); /** - * - * *
      * The script interpreter to use to run the script. If no interpreter is
      * specified the script will be executed directly, which will likely
@@ -29512,13 +25891,10 @@ public interface ExecStepConfigOrBuilder
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4; - * * @return The enum numeric value on the wire for interpreter. */ int getInterpreterValue(); /** - * - * *
      * The script interpreter to use to run the script. If no interpreter is
      * specified the script will be executed directly, which will likely
@@ -29527,33 +25903,28 @@ public interface ExecStepConfigOrBuilder
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4; - * * @return The interpreter. */ com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter getInterpreter(); - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.ExecutableCase - getExecutableCase(); + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.ExecutableCase getExecutableCase(); } /** - * - * *
    * Common configurations for an ExecStep.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ExecStepConfig} */ - public static final class ExecStepConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ExecStepConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ExecStepConfig) ExecStepConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecStepConfig.newBuilder() to construct. private ExecStepConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExecStepConfig() { allowedSuccessCodes_ = emptyIntList(); interpreter_ = 0; @@ -29561,15 +25932,16 @@ private ExecStepConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExecStepConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExecStepConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -29589,70 +25961,60 @@ private ExecStepConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - executableCase_ = 1; - executable_ = s; - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + executableCase_ = 1; + executable_ = s; + break; + } + case 18: { + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder subBuilder = null; + if (executableCase_ == 2) { + subBuilder = ((com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_).toBuilder(); } - case 18: - { - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder subBuilder = null; - if (executableCase_ == 2) { - subBuilder = - ((com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_) - .toBuilder(); - } - executable_ = - input.readMessage( - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_); - executable_ = subBuilder.buildPartial(); - } - executableCase_ = 2; - break; + executable_ = + input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_); + executable_ = subBuilder.buildPartial(); } - case 24: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - allowedSuccessCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000001; - } - allowedSuccessCodes_.addInt(input.readInt32()); - break; + executableCase_ = 2; + break; + } + case 24: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + allowedSuccessCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { - allowedSuccessCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000001; - } - while (input.getBytesUntilLimit() > 0) { - allowedSuccessCodes_.addInt(input.readInt32()); - } - input.popLimit(limit); - break; + allowedSuccessCodes_.addInt(input.readInt32()); + break; + } + case 26: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + allowedSuccessCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000001; } - case 32: - { - int rawValue = input.readEnum(); - - interpreter_ = rawValue; - break; + while (input.getBytesUntilLimit() > 0) { + allowedSuccessCodes_.addInt(input.readInt32()); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + input.popLimit(limit); + break; + } + case 32: { + int rawValue = input.readEnum(); + + interpreter_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -29660,7 +26022,8 @@ private ExecStepConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { allowedSuccessCodes_.makeImmutable(); // C @@ -29669,35 +26032,29 @@ private ExecStepConfig( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.class, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.class, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder.class); } /** - * - * *
      * The interpreter used to execute the a file.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter} */ - public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { + public enum Interpreter + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Invalid for a Windows ExecStepConfig. For a Linux ExecStepConfig, the
        * interpreter will be parsed from the shebang line of the script if
@@ -29708,8 +26065,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
        */
       INTERPRETER_UNSPECIFIED(0),
       /**
-       *
-       *
        * 
        * Indicates that the script is run with `/bin/sh` on Linux and `cmd`
        * on Windows.
@@ -29719,8 +26074,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
        */
       SHELL(1),
       /**
-       *
-       *
        * 
        * Indicates that the file is run with PowerShell flags
        * `-NonInteractive`, `-NoProfile`, and `-ExecutionPolicy Bypass`.
@@ -29733,8 +26086,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Invalid for a Windows ExecStepConfig. For a Linux ExecStepConfig, the
        * interpreter will be parsed from the shebang line of the script if
@@ -29745,8 +26096,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int INTERPRETER_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * Indicates that the script is run with `/bin/sh` on Linux and `cmd`
        * on Windows.
@@ -29756,8 +26105,6 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int SHELL_VALUE = 1;
       /**
-       *
-       *
        * 
        * Indicates that the file is run with PowerShell flags
        * `-NonInteractive`, `-NoProfile`, and `-ExecutionPolicy Bypass`.
@@ -29767,6 +26114,7 @@ public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int POWERSHELL_VALUE = 2;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -29791,51 +26139,49 @@ public static Interpreter valueOf(int value) {
        */
       public static Interpreter forNumber(int value) {
         switch (value) {
-          case 0:
-            return INTERPRETER_UNSPECIFIED;
-          case 1:
-            return SHELL;
-          case 2:
-            return POWERSHELL;
-          default:
-            return null;
+          case 0: return INTERPRETER_UNSPECIFIED;
+          case 1: return SHELL;
+          case 2: return POWERSHELL;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          Interpreter> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public Interpreter findValueByNumber(int number) {
+                return Interpreter.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Interpreter findValueByNumber(int number) {
-              return Interpreter.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final Interpreter[] VALUES = values();
 
-      public static Interpreter valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Interpreter valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -29854,16 +26200,13 @@ private Interpreter(int value) {
 
     private int executableCase_ = 0;
     private java.lang.Object executable_;
-
     public enum ExecutableCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       LOCAL_PATH(1),
       GCS_OBJECT(2),
       EXECUTABLE_NOT_SET(0);
       private final int value;
-
       private ExecutableCase(int value) {
         this.value = value;
       }
@@ -29879,50 +26222,41 @@ public static ExecutableCase valueOf(int value) {
 
       public static ExecutableCase forNumber(int value) {
         switch (value) {
-          case 1:
-            return LOCAL_PATH;
-          case 2:
-            return GCS_OBJECT;
-          case 0:
-            return EXECUTABLE_NOT_SET;
-          default:
-            return null;
+          case 1: return LOCAL_PATH;
+          case 2: return GCS_OBJECT;
+          case 0: return EXECUTABLE_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ExecutableCase getExecutableCase() {
-      return ExecutableCase.forNumber(executableCase_);
+    public ExecutableCase
+    getExecutableCase() {
+      return ExecutableCase.forNumber(
+          executableCase_);
     }
 
     public static final int LOCAL_PATH_FIELD_NUMBER = 1;
     /**
-     *
-     *
      * 
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; - * * @return Whether the localPath field is set. */ public boolean hasLocalPath() { return executableCase_ == 1; } /** - * - * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; - * * @return The localPath. */ public java.lang.String getLocalPath() { @@ -29933,7 +26267,8 @@ public java.lang.String getLocalPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (executableCase_ == 1) { executable_ = s; @@ -29942,24 +26277,23 @@ public java.lang.String getLocalPath() { } } /** - * - * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; - * * @return The bytes for localPath. */ - public com.google.protobuf.ByteString getLocalPathBytes() { + public com.google.protobuf.ByteString + getLocalPathBytes() { java.lang.Object ref = ""; if (executableCase_ == 1) { ref = executable_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (executableCase_ == 1) { executable_ = b; } @@ -29971,14 +26305,11 @@ public com.google.protobuf.ByteString getLocalPathBytes() { public static final int GCS_OBJECT_FIELD_NUMBER = 2; /** - * - * *
      * A Google Cloud Storage object containing the executable.
      * 
* * .google.cloud.osconfig.v1beta.GcsObject gcs_object = 2; - * * @return Whether the gcsObject field is set. */ @java.lang.Override @@ -29986,26 +26317,21 @@ public boolean hasGcsObject() { return executableCase_ == 2; } /** - * - * *
      * A Google Cloud Storage object containing the executable.
      * 
* * .google.cloud.osconfig.v1beta.GcsObject gcs_object = 2; - * * @return The gcsObject. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject getGcsObject() { if (executableCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_; + return (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_; } return com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.getDefaultInstance(); } /** - * - * *
      * A Google Cloud Storage object containing the executable.
      * 
@@ -30015,7 +26341,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject getGcsObject() { @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder getGcsObjectOrBuilder() { if (executableCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_; + return (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_; } return com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.getDefaultInstance(); } @@ -30023,60 +26349,49 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder getGcsObjec public static final int ALLOWED_SUCCESS_CODES_FIELD_NUMBER = 3; private com.google.protobuf.Internal.IntList allowedSuccessCodes_; /** - * - * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; - * * @return A list containing the allowedSuccessCodes. */ @java.lang.Override - public java.util.List getAllowedSuccessCodesList() { + public java.util.List + getAllowedSuccessCodesList() { return allowedSuccessCodes_; } /** - * - * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; - * * @return The count of allowedSuccessCodes. */ public int getAllowedSuccessCodesCount() { return allowedSuccessCodes_.size(); } /** - * - * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; - * * @param index The index of the element to return. * @return The allowedSuccessCodes at the given index. */ public int getAllowedSuccessCodes(int index) { return allowedSuccessCodes_.getInt(index); } - private int allowedSuccessCodesMemoizedSerializedSize = -1; public static final int INTERPRETER_FIELD_NUMBER = 4; private int interpreter_; /** - * - * *
      * The script interpreter to use to run the script. If no interpreter is
      * specified the script will be executed directly, which will likely
@@ -30085,16 +26400,12 @@ public int getAllowedSuccessCodes(int index) {
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4; - * * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override - public int getInterpreterValue() { + @java.lang.Override public int getInterpreterValue() { return interpreter_; } /** - * - * *
      * The script interpreter to use to run the script. If no interpreter is
      * specified the script will be executed directly, which will likely
@@ -30103,22 +26414,15 @@ public int getInterpreterValue() {
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4; - * * @return The interpreter. */ - @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter getInterpreter() { + @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter result = - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.valueOf( - interpreter_); - return result == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter result = com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.valueOf(interpreter_); + return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -30130,7 +26434,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (executableCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, executable_); @@ -30145,10 +26450,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < allowedSuccessCodes_.size(); i++) { output.writeInt32NoTag(allowedSuccessCodes_.getInt(i)); } - if (interpreter_ - != com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter - .INTERPRETER_UNSPECIFIED - .getNumber()) { + if (interpreter_ != com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { output.writeEnum(4, interpreter_); } unknownFields.writeTo(output); @@ -30164,29 +26466,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, executable_); } if (executableCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_); } { int dataSize = 0; for (int i = 0; i < allowedSuccessCodes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag( - allowedSuccessCodes_.getInt(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(allowedSuccessCodes_.getInt(i)); } size += dataSize; if (!getAllowedSuccessCodesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } allowedSuccessCodesMemoizedSerializedSize = dataSize; } - if (interpreter_ - != com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter - .INTERPRETER_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, interpreter_); + if (interpreter_ != com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, interpreter_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -30196,23 +26495,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig other = - (com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig other = (com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig) obj; - if (!getAllowedSuccessCodesList().equals(other.getAllowedSuccessCodesList())) return false; + if (!getAllowedSuccessCodesList() + .equals(other.getAllowedSuccessCodesList())) return false; if (interpreter_ != other.interpreter_) return false; if (!getExecutableCase().equals(other.getExecutableCase())) return false; switch (executableCase_) { case 1: - if (!getLocalPath().equals(other.getLocalPath())) return false; + if (!getLocalPath() + .equals(other.getLocalPath())) return false; break; case 2: - if (!getGcsObject().equals(other.getGcsObject())) return false; + if (!getGcsObject() + .equals(other.getGcsObject())) return false; break; case 0: default: @@ -30252,94 +26553,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig 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.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.osconfig.v1beta.PatchJobs.ExecStepConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -30349,32 +26643,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Common configurations for an ExecStep.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ExecStepConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ExecStepConfig) com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.class, - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.class, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder.class); } // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.newBuilder() @@ -30382,15 +26671,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -30404,9 +26694,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor; } @java.lang.Override @@ -30425,8 +26715,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig build() { @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig result = - new com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig(this); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig result = new com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig(this); int from_bitField0_ = bitField0_; if (executableCase_ == 1) { result.executable_ = executable_; @@ -30453,41 +26742,38 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.ExecStepConfig) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig) other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig)other); } else { super.mergeFrom(other); return this; @@ -30495,8 +26781,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig other) { - if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance()) return this; if (!other.allowedSuccessCodes_.isEmpty()) { if (allowedSuccessCodes_.isEmpty()) { allowedSuccessCodes_ = other.allowedSuccessCodes_; @@ -30511,22 +26796,19 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConf setInterpreterValue(other.getInterpreterValue()); } switch (other.getExecutableCase()) { - case LOCAL_PATH: - { - executableCase_ = 1; - executable_ = other.executable_; - onChanged(); - break; - } - case GCS_OBJECT: - { - mergeGcsObject(other.getGcsObject()); - break; - } - case EXECUTABLE_NOT_SET: - { - break; - } + case LOCAL_PATH: { + executableCase_ = 1; + executable_ = other.executable_; + onChanged(); + break; + } + case GCS_OBJECT: { + mergeGcsObject(other.getGcsObject()); + break; + } + case EXECUTABLE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -30547,8 +26829,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -30557,12 +26838,12 @@ public Builder mergeFrom( } return this; } - private int executableCase_ = 0; private java.lang.Object executable_; - - public ExecutableCase getExecutableCase() { - return ExecutableCase.forNumber(executableCase_); + public ExecutableCase + getExecutableCase() { + return ExecutableCase.forNumber( + executableCase_); } public Builder clearExecutable() { @@ -30575,14 +26856,11 @@ public Builder clearExecutable() { private int bitField0_; /** - * - * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; - * * @return Whether the localPath field is set. */ @java.lang.Override @@ -30590,14 +26868,11 @@ public boolean hasLocalPath() { return executableCase_ == 1; } /** - * - * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; - * * @return The localPath. */ @java.lang.Override @@ -30607,7 +26882,8 @@ public java.lang.String getLocalPath() { ref = executable_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (executableCase_ == 1) { executable_ = s; @@ -30618,25 +26894,24 @@ public java.lang.String getLocalPath() { } } /** - * - * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; - * * @return The bytes for localPath. */ @java.lang.Override - public com.google.protobuf.ByteString getLocalPathBytes() { + public com.google.protobuf.ByteString + getLocalPathBytes() { java.lang.Object ref = ""; if (executableCase_ == 1) { ref = executable_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (executableCase_ == 1) { executable_ = b; } @@ -30646,35 +26921,30 @@ public com.google.protobuf.ByteString getLocalPathBytes() { } } /** - * - * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; - * * @param value The localPath to set. * @return This builder for chaining. */ - public Builder setLocalPath(java.lang.String value) { + public Builder setLocalPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - executableCase_ = 1; + throw new NullPointerException(); + } + executableCase_ = 1; executable_ = value; onChanged(); return this; } /** - * - * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; - * * @return This builder for chaining. */ public Builder clearLocalPath() { @@ -30686,22 +26956,20 @@ public Builder clearLocalPath() { return this; } /** - * - * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; - * * @param value The bytes for localPath to set. * @return This builder for chaining. */ - public Builder setLocalPathBytes(com.google.protobuf.ByteString value) { + public Builder setLocalPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); executableCase_ = 1; executable_ = value; onChanged(); @@ -30709,19 +26977,13 @@ public Builder setLocalPathBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject, - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder> - gcsObjectBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject, com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder> gcsObjectBuilder_; /** - * - * *
        * A Google Cloud Storage object containing the executable.
        * 
* * .google.cloud.osconfig.v1beta.GcsObject gcs_object = 2; - * * @return Whether the gcsObject field is set. */ @java.lang.Override @@ -30729,14 +26991,11 @@ public boolean hasGcsObject() { return executableCase_ == 2; } /** - * - * *
        * A Google Cloud Storage object containing the executable.
        * 
* * .google.cloud.osconfig.v1beta.GcsObject gcs_object = 2; - * * @return The gcsObject. */ @java.lang.Override @@ -30754,8 +27013,6 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject getGcsObject() { } } /** - * - * *
        * A Google Cloud Storage object containing the executable.
        * 
@@ -30776,8 +27033,6 @@ public Builder setGcsObject(com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject return this; } /** - * - * *
        * A Google Cloud Storage object containing the executable.
        * 
@@ -30796,8 +27051,6 @@ public Builder setGcsObject( return this; } /** - * - * *
        * A Google Cloud Storage object containing the executable.
        * 
@@ -30806,14 +27059,10 @@ public Builder setGcsObject( */ public Builder mergeGcsObject(com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject value) { if (gcsObjectBuilder_ == null) { - if (executableCase_ == 2 - && executable_ - != com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.getDefaultInstance()) { - executable_ = - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.newBuilder( - (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_) - .mergeFrom(value) - .buildPartial(); + if (executableCase_ == 2 && + executable_ != com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.getDefaultInstance()) { + executable_ = com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.newBuilder((com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_) + .mergeFrom(value).buildPartial(); } else { executable_ = value; } @@ -30829,8 +27078,6 @@ public Builder mergeGcsObject(com.google.cloud.osconfig.v1beta.PatchJobs.GcsObje return this; } /** - * - * *
        * A Google Cloud Storage object containing the executable.
        * 
@@ -30854,8 +27101,6 @@ public Builder clearGcsObject() { return this; } /** - * - * *
        * A Google Cloud Storage object containing the executable.
        * 
@@ -30866,8 +27111,6 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder getGcsObject return getGcsObjectFieldBuilder().getBuilder(); } /** - * - * *
        * A Google Cloud Storage object containing the executable.
        * 
@@ -30886,8 +27129,6 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder getGcsObjec } } /** - * - * *
        * A Google Cloud Storage object containing the executable.
        * 
@@ -30895,80 +27136,64 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder getGcsObjec * .google.cloud.osconfig.v1beta.GcsObject gcs_object = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject, - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject, com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder> getGcsObjectFieldBuilder() { if (gcsObjectBuilder_ == null) { if (!(executableCase_ == 2)) { executable_ = com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.getDefaultInstance(); } - gcsObjectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject, - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder>( + gcsObjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject, com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder>( (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_, getParentForChildren(), isClean()); executable_ = null; } executableCase_ = 2; - onChanged(); - ; + onChanged();; return gcsObjectBuilder_; } private com.google.protobuf.Internal.IntList allowedSuccessCodes_ = emptyIntList(); - private void ensureAllowedSuccessCodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { allowedSuccessCodes_ = mutableCopy(allowedSuccessCodes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; - * * @return A list containing the allowedSuccessCodes. */ - public java.util.List getAllowedSuccessCodesList() { - return ((bitField0_ & 0x00000001) != 0) - ? java.util.Collections.unmodifiableList(allowedSuccessCodes_) - : allowedSuccessCodes_; + public java.util.List + getAllowedSuccessCodesList() { + return ((bitField0_ & 0x00000001) != 0) ? + java.util.Collections.unmodifiableList(allowedSuccessCodes_) : allowedSuccessCodes_; } /** - * - * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; - * * @return The count of allowedSuccessCodes. */ public int getAllowedSuccessCodesCount() { return allowedSuccessCodes_.size(); } /** - * - * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; - * * @param index The index of the element to return. * @return The allowedSuccessCodes at the given index. */ @@ -30976,35 +27201,30 @@ public int getAllowedSuccessCodes(int index) { return allowedSuccessCodes_.getInt(index); } /** - * - * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; - * * @param index The index to set the value at. * @param value The allowedSuccessCodes to set. * @return This builder for chaining. */ - public Builder setAllowedSuccessCodes(int index, int value) { + public Builder setAllowedSuccessCodes( + int index, int value) { ensureAllowedSuccessCodesIsMutable(); allowedSuccessCodes_.setInt(index, value); onChanged(); return this; } /** - * - * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; - * * @param value The allowedSuccessCodes to add. * @return This builder for chaining. */ @@ -31015,35 +27235,30 @@ public Builder addAllowedSuccessCodes(int value) { return this; } /** - * - * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; - * * @param values The allowedSuccessCodes to add. * @return This builder for chaining. */ public Builder addAllAllowedSuccessCodes( java.lang.Iterable values) { ensureAllowedSuccessCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedSuccessCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, allowedSuccessCodes_); onChanged(); return this; } /** - * - * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; - * * @return This builder for chaining. */ public Builder clearAllowedSuccessCodes() { @@ -31055,8 +27270,6 @@ public Builder clearAllowedSuccessCodes() { private int interpreter_ = 0; /** - * - * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -31065,16 +27278,12 @@ public Builder clearAllowedSuccessCodes() {
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4; - * * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override - public int getInterpreterValue() { + @java.lang.Override public int getInterpreterValue() { return interpreter_; } /** - * - * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -31083,19 +27292,16 @@ public int getInterpreterValue() {
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4; - * * @param value The enum numeric value on the wire for interpreter to set. * @return This builder for chaining. */ public Builder setInterpreterValue(int value) { - + interpreter_ = value; onChanged(); return this; } /** - * - * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -31104,23 +27310,15 @@ public Builder setInterpreterValue(int value) {
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4; - * * @return The interpreter. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter - getInterpreter() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter result = - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.valueOf( - interpreter_); - return result == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter result = com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.valueOf(interpreter_); + return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.UNRECOGNIZED : result; } /** - * - * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -31129,23 +27327,19 @@ public Builder setInterpreterValue(int value) {
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4; - * * @param value The interpreter to set. * @return This builder for chaining. */ - public Builder setInterpreter( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter value) { + public Builder setInterpreter(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter value) { if (value == null) { throw new NullPointerException(); } - + interpreter_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -31154,16 +27348,14 @@ public Builder setInterpreter(
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4; - * * @return This builder for chaining. */ public Builder clearInterpreter() { - + interpreter_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -31176,12 +27368,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ExecStepConfig) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ExecStepConfig) private static final com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig(); } @@ -31190,16 +27382,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecStepConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecStepConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecStepConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecStepConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -31214,96 +27406,80 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GcsObjectOrBuilder - extends + public interface GcsObjectOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.GcsObject) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Bucket of the Google Cloud Storage object.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucket. */ java.lang.String getBucket(); /** - * - * *
      * Required. Bucket of the Google Cloud Storage object.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucket. */ - com.google.protobuf.ByteString getBucketBytes(); + com.google.protobuf.ByteString + getBucketBytes(); /** - * - * *
      * Required. Name of the Google Cloud Storage object.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The object. */ java.lang.String getObject(); /** - * - * *
      * Required. Name of the Google Cloud Storage object.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for object. */ - com.google.protobuf.ByteString getObjectBytes(); + com.google.protobuf.ByteString + getObjectBytes(); /** - * - * *
      * Required. Generation number of the Google Cloud Storage object. This is used to
      * ensure that the ExecStep specified by this PatchJob does not change.
      * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The generationNumber. */ long getGenerationNumber(); } /** - * - * *
    * Google Cloud Storage object representation.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GcsObject} */ - public static final class GcsObject extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GcsObject extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.GcsObject) GcsObjectOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsObject.newBuilder() to construct. private GcsObject(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcsObject() { bucket_ = ""; object_ = ""; @@ -31311,15 +27487,16 @@ private GcsObject() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcsObject(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GcsObject( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -31338,32 +27515,30 @@ private GcsObject( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - bucket_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + bucket_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - object_ = s; - break; - } - case 24: - { - generationNumber_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + object_ = s; + break; + } + case 24: { + + generationNumber_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -31371,39 +27546,34 @@ private GcsObject( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_GcsObject_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GcsObject_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.class, - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.class, com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder.class); } public static final int BUCKET_FIELD_NUMBER = 1; private volatile java.lang.Object bucket_; /** - * - * *
      * Required. Bucket of the Google Cloud Storage object.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucket. */ @java.lang.Override @@ -31412,29 +27582,29 @@ public java.lang.String getBucket() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; } } /** - * - * *
      * Required. Bucket of the Google Cloud Storage object.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucket. */ @java.lang.Override - public com.google.protobuf.ByteString getBucketBytes() { + public com.google.protobuf.ByteString + getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bucket_ = b; return b; } else { @@ -31445,14 +27615,11 @@ public com.google.protobuf.ByteString getBucketBytes() { public static final int OBJECT_FIELD_NUMBER = 2; private volatile java.lang.Object object_; /** - * - * *
      * Required. Name of the Google Cloud Storage object.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The object. */ @java.lang.Override @@ -31461,29 +27628,29 @@ public java.lang.String getObject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; } } /** - * - * *
      * Required. Name of the Google Cloud Storage object.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for object. */ @java.lang.Override - public com.google.protobuf.ByteString getObjectBytes() { + public com.google.protobuf.ByteString + getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); object_ = b; return b; } else { @@ -31494,15 +27661,12 @@ public com.google.protobuf.ByteString getObjectBytes() { public static final int GENERATION_NUMBER_FIELD_NUMBER = 3; private long generationNumber_; /** - * - * *
      * Required. Generation number of the Google Cloud Storage object. This is used to
      * ensure that the ExecStep specified by this PatchJob does not change.
      * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The generationNumber. */ @java.lang.Override @@ -31511,7 +27675,6 @@ public long getGenerationNumber() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -31523,7 +27686,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucket_); } @@ -31549,7 +27713,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, object_); } if (generationNumber_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, generationNumber_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, generationNumber_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -31559,17 +27724,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject other = - (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject other = (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) obj; - if (!getBucket().equals(other.getBucket())) return false; - if (!getObject().equals(other.getObject())) return false; - if (getGenerationNumber() != other.getGenerationNumber()) return false; + if (!getBucket() + .equals(other.getBucket())) return false; + if (!getObject() + .equals(other.getObject())) return false; + if (getGenerationNumber() + != other.getGenerationNumber()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -31586,101 +27753,95 @@ public int hashCode() { hash = (37 * hash) + OBJECT_FIELD_NUMBER; hash = (53 * hash) + getObject().hashCode(); hash = (37 * hash) + GENERATION_NUMBER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGenerationNumber()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getGenerationNumber()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject 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.osconfig.v1beta.PatchJobs.GcsObject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -31690,32 +27851,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Google Cloud Storage object representation.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GcsObject} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.GcsObject) com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_GcsObject_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GcsObject_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.class, - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.class, com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder.class); } // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.newBuilder() @@ -31723,15 +27879,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -31745,9 +27902,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs - .internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor; } @java.lang.Override @@ -31766,8 +27923,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject build() { @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject result = - new com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject(this); + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject result = new com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject(this); result.bucket_ = bucket_; result.object_ = object_; result.generationNumber_ = generationNumber_; @@ -31779,41 +27935,38 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.GcsObject) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject)other); } else { super.mergeFrom(other); return this; @@ -31821,8 +27974,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject other) { - if (other == com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.getDefaultInstance()) - return this; + if (other == com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.getDefaultInstance()) return this; if (!other.getBucket().isEmpty()) { bucket_ = other.bucket_; onChanged(); @@ -31853,8 +28005,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -31866,20 +28017,18 @@ public Builder mergeFrom( private java.lang.Object bucket_ = ""; /** - * - * *
        * Required. Bucket of the Google Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucket. */ public java.lang.String getBucket() { java.lang.Object ref = bucket_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; @@ -31888,21 +28037,20 @@ public java.lang.String getBucket() { } } /** - * - * *
        * Required. Bucket of the Google Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucket. */ - public com.google.protobuf.ByteString getBucketBytes() { + public com.google.protobuf.ByteString + getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bucket_ = b; return b; } else { @@ -31910,61 +28058,54 @@ public com.google.protobuf.ByteString getBucketBytes() { } } /** - * - * *
        * Required. Bucket of the Google Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bucket to set. * @return This builder for chaining. - */ - public Builder setBucket(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - + */ + public Builder setBucket( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bucket_ = value; onChanged(); return this; } /** - * - * *
        * Required. Bucket of the Google Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBucket() { - + bucket_ = getDefaultInstance().getBucket(); onChanged(); return this; } /** - * - * *
        * Required. Bucket of the Google Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for bucket to set. * @return This builder for chaining. */ - public Builder setBucketBytes(com.google.protobuf.ByteString value) { + public Builder setBucketBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucket_ = value; onChanged(); return this; @@ -31972,20 +28113,18 @@ public Builder setBucketBytes(com.google.protobuf.ByteString value) { private java.lang.Object object_ = ""; /** - * - * *
        * Required. Name of the Google Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The object. */ public java.lang.String getObject() { java.lang.Object ref = object_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; @@ -31994,21 +28133,20 @@ public java.lang.String getObject() { } } /** - * - * *
        * Required. Name of the Google Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for object. */ - public com.google.protobuf.ByteString getObjectBytes() { + public com.google.protobuf.ByteString + getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); object_ = b; return b; } else { @@ -32016,77 +28154,67 @@ public com.google.protobuf.ByteString getObjectBytes() { } } /** - * - * *
        * Required. Name of the Google Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The object to set. * @return This builder for chaining. */ - public Builder setObject(java.lang.String value) { + public Builder setObject( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + object_ = value; onChanged(); return this; } /** - * - * *
        * Required. Name of the Google Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearObject() { - + object_ = getDefaultInstance().getObject(); onChanged(); return this; } /** - * - * *
        * Required. Name of the Google Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for object to set. * @return This builder for chaining. */ - public Builder setObjectBytes(com.google.protobuf.ByteString value) { + public Builder setObjectBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + object_ = value; onChanged(); return this; } - private long generationNumber_; + private long generationNumber_ ; /** - * - * *
        * Required. Generation number of the Google Cloud Storage object. This is used to
        * ensure that the ExecStep specified by this PatchJob does not change.
        * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The generationNumber. */ @java.lang.Override @@ -32094,43 +28222,36 @@ public long getGenerationNumber() { return generationNumber_; } /** - * - * *
        * Required. Generation number of the Google Cloud Storage object. This is used to
        * ensure that the ExecStep specified by this PatchJob does not change.
        * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The generationNumber to set. * @return This builder for chaining. */ public Builder setGenerationNumber(long value) { - + generationNumber_ = value; onChanged(); return this; } /** - * - * *
        * Required. Generation number of the Google Cloud Storage object. This is used to
        * ensure that the ExecStep specified by this PatchJob does not change.
        * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearGenerationNumber() { - + generationNumber_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -32143,12 +28264,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.GcsObject) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.GcsObject) private static final com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject(); } @@ -32157,16 +28278,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsObject parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsObject(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsObject parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsObject(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -32181,152 +28302,119 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PatchInstanceFilterOrBuilder - extends + public interface PatchInstanceFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PatchInstanceFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Target all VM instances in the project. If true, no other criteria is
      * permitted.
      * 
* * bool all = 1; - * * @return The all. */ boolean getAll(); /** - * - * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ - java.util.List + java.util.List getGroupLabelsList(); /** - * - * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels( - int index); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels(int index); /** - * - * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ int getGroupLabelsCount(); /** - * - * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ - java.util.List< - ? extends - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> + java.util.List getGroupLabelsOrBuilderList(); /** - * - * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder - getGroupLabelsOrBuilder(int index); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder getGroupLabelsOrBuilder( + int index); /** - * - * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; - * * @return A list containing the zones. */ - java.util.List getZonesList(); + java.util.List + getZonesList(); /** - * - * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; - * * @return The count of zones. */ int getZonesCount(); /** - * - * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; - * * @param index The index of the element to return. * @return The zones at the given index. */ java.lang.String getZones(int index); /** - * - * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; - * * @param index The index of the value to return. * @return The bytes of the zones at the given index. */ - com.google.protobuf.ByteString getZonesBytes(int index); + com.google.protobuf.ByteString + getZonesBytes(int index); /** - * - * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -32335,13 +28423,11 @@ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getGro
      * 
* * repeated string instances = 4; - * * @return A list containing the instances. */ - java.util.List getInstancesList(); + java.util.List + getInstancesList(); /** - * - * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -32350,13 +28436,10 @@ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getGro
      * 
* * repeated string instances = 4; - * * @return The count of instances. */ int getInstancesCount(); /** - * - * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -32365,14 +28448,11 @@ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getGro
      * 
* * repeated string instances = 4; - * * @param index The index of the element to return. * @return The instances at the given index. */ java.lang.String getInstances(int index); /** - * - * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -32381,15 +28461,13 @@ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getGro
      * 
* * repeated string instances = 4; - * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - com.google.protobuf.ByteString getInstancesBytes(int index); + com.google.protobuf.ByteString + getInstancesBytes(int index); /** - * - * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -32397,13 +28475,11 @@ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getGro
      * 
* * repeated string instance_name_prefixes = 5; - * * @return A list containing the instanceNamePrefixes. */ - java.util.List getInstanceNamePrefixesList(); + java.util.List + getInstanceNamePrefixesList(); /** - * - * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -32411,13 +28487,10 @@ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getGro
      * 
* * repeated string instance_name_prefixes = 5; - * * @return The count of instanceNamePrefixes. */ int getInstanceNamePrefixesCount(); /** - * - * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -32425,14 +28498,11 @@ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getGro
      * 
* * repeated string instance_name_prefixes = 5; - * * @param index The index of the element to return. * @return The instanceNamePrefixes at the given index. */ java.lang.String getInstanceNamePrefixes(int index); /** - * - * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -32440,15 +28510,13 @@ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getGro
      * 
* * repeated string instance_name_prefixes = 5; - * * @param index The index of the value to return. * @return The bytes of the instanceNamePrefixes at the given index. */ - com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index); + com.google.protobuf.ByteString + getInstanceNamePrefixesBytes(int index); } /** - * - * *
    * A filter to target VM instances for patching. The targeted
    * VMs must meet all criteria specified. So if both labels and zones are
@@ -32458,16 +28526,15 @@ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getGro
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.PatchInstanceFilter}
    */
-  public static final class PatchInstanceFilter extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PatchInstanceFilter extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PatchInstanceFilter)
       PatchInstanceFilterOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PatchInstanceFilter.newBuilder() to construct.
     private PatchInstanceFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PatchInstanceFilter() {
       groupLabels_ = java.util.Collections.emptyList();
       zones_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -32477,15 +28544,16 @@ private PatchInstanceFilter() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PatchInstanceFilter();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PatchInstanceFilter(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -32505,64 +28573,54 @@ private PatchInstanceFilter(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                all_ = input.readBool();
-                break;
-              }
-            case 18:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  groupLabels_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter
-                              .GroupLabel>();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                groupLabels_.add(
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-                            .parser(),
-                        extensionRegistry));
-                break;
+            case 8: {
+
+              all_ = input.readBool();
+              break;
+            }
+            case 18: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                groupLabels_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  zones_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                zones_.add(s);
-                break;
+              groupLabels_.add(
+                  input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.parser(), extensionRegistry));
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                zones_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                  instances_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000004;
-                }
-                instances_.add(s);
-                break;
+              zones_.add(s);
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                instances_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000004;
               }
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-                  instanceNamePrefixes_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000008;
-                }
-                instanceNamePrefixes_.add(s);
-                break;
+              instances_.add(s);
+              break;
+            }
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+                instanceNamePrefixes_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000008;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              instanceNamePrefixes_.add(s);
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -32570,7 +28628,8 @@ private PatchInstanceFilter(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           groupLabels_ = java.util.Collections.unmodifiableList(groupLabels_);
@@ -32588,30 +28647,24 @@ private PatchInstanceFilter(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs
-          .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs
-          .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.class,
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder.class);
     }
 
-    public interface GroupLabelOrBuilder
-        extends
+    public interface GroupLabelOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * Compute Engine instance labels that must be present for a VM instance to
        * be targeted by this filter.
@@ -32621,8 +28674,6 @@ public interface GroupLabelOrBuilder
        */
       int getLabelsCount();
       /**
-       *
-       *
        * 
        * Compute Engine instance labels that must be present for a VM instance to
        * be targeted by this filter.
@@ -32630,13 +28681,15 @@ public interface GroupLabelOrBuilder
        *
        * map<string, string> labels = 1;
        */
-      boolean containsLabels(java.lang.String key);
-      /** Use {@link #getLabelsMap()} instead. */
+      boolean containsLabels(
+          java.lang.String key);
+      /**
+       * Use {@link #getLabelsMap()} instead.
+       */
       @java.lang.Deprecated
-      java.util.Map getLabels();
+      java.util.Map
+      getLabels();
       /**
-       *
-       *
        * 
        * Compute Engine instance labels that must be present for a VM instance to
        * be targeted by this filter.
@@ -32644,10 +28697,9 @@ public interface GroupLabelOrBuilder
        *
        * map<string, string> labels = 1;
        */
-      java.util.Map getLabelsMap();
+      java.util.Map
+      getLabelsMap();
       /**
-       *
-       *
        * 
        * Compute Engine instance labels that must be present for a VM instance to
        * be targeted by this filter.
@@ -32657,13 +28709,11 @@ public interface GroupLabelOrBuilder
        */
 
       /* nullable */
-      java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
           java.lang.String key,
           /* nullable */
-          java.lang.String defaultValue);
+java.lang.String defaultValue);
       /**
-       *
-       *
        * 
        * Compute Engine instance labels that must be present for a VM instance to
        * be targeted by this filter.
@@ -32671,11 +28721,11 @@ java.lang.String getLabelsOrDefault(
        *
        * map<string, string> labels = 1;
        */
-      java.lang.String getLabelsOrThrow(java.lang.String key);
+
+      java.lang.String getLabelsOrThrow(
+          java.lang.String key);
     }
     /**
-     *
-     *
      * 
      * Represents a group of VMs that can be identified as having all these
      * labels, for example "env=prod and app=web".
@@ -32683,29 +28733,30 @@ java.lang.String getLabelsOrDefault(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel}
      */
-    public static final class GroupLabel extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class GroupLabel extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel)
         GroupLabelOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use GroupLabel.newBuilder() to construct.
       private GroupLabel(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private GroupLabel() {}
+      private GroupLabel() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new GroupLabel();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private GroupLabel(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -32725,28 +28776,26 @@ private GroupLabel(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                    labels_ =
-                        com.google.protobuf.MapField.newMapField(
-                            LabelsDefaultEntryHolder.defaultEntry);
-                    mutable_bitField0_ |= 0x00000001;
-                  }
-                  com.google.protobuf.MapEntry labels__ =
-                      input.readMessage(
-                          LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                          extensionRegistry);
-                  labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-                  break;
+              case 10: {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  labels_ = com.google.protobuf.MapField.newMapField(
+                      LabelsDefaultEntryHolder.defaultEntry);
+                  mutable_bitField0_ |= 0x00000001;
                 }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+                com.google.protobuf.MapEntry
+                labels__ = input.readMessage(
+                    LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+                labels_.getMutableMap().put(
+                    labels__.getKey(), labels__.getValue());
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -32754,59 +28803,57 @@ private GroupLabel(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor;
       }
 
       @SuppressWarnings({"rawtypes"})
       @java.lang.Override
-      protected com.google.protobuf.MapField internalGetMapField(int number) {
+      protected com.google.protobuf.MapField internalGetMapField(
+          int number) {
         switch (number) {
           case 1:
             return internalGetLabels();
           default:
-            throw new RuntimeException("Invalid map field number: " + number);
+            throw new RuntimeException(
+                "Invalid map field number: " + number);
         }
       }
-
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.class,
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder
-                    .class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder.class);
       }
 
       public static final int LABELS_FIELD_NUMBER = 1;
-
       private static final class LabelsDefaultEntryHolder {
-        static final com.google.protobuf.MapEntry defaultEntry =
-            com.google.protobuf.MapEntry.newDefaultInstance(
-                com.google.cloud.osconfig.v1beta.PatchJobs
-                    .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor,
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
-      }
-
-      private com.google.protobuf.MapField labels_;
-
-      private com.google.protobuf.MapField internalGetLabels() {
+        static final com.google.protobuf.MapEntry<
+            java.lang.String, java.lang.String> defaultEntry =
+                com.google.protobuf.MapEntry
+                .newDefaultInstance(
+                    com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor, 
+                    com.google.protobuf.WireFormat.FieldType.STRING,
+                    "",
+                    com.google.protobuf.WireFormat.FieldType.STRING,
+                    "");
+      }
+      private com.google.protobuf.MapField<
+          java.lang.String, java.lang.String> labels_;
+      private com.google.protobuf.MapField
+      internalGetLabels() {
         if (labels_ == null) {
-          return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+          return com.google.protobuf.MapField.emptyMapField(
+              LabelsDefaultEntryHolder.defaultEntry);
         }
         return labels_;
       }
@@ -32815,8 +28862,6 @@ public int getLabelsCount() {
         return internalGetLabels().getMap().size();
       }
       /**
-       *
-       *
        * 
        * Compute Engine instance labels that must be present for a VM instance to
        * be targeted by this filter.
@@ -32824,22 +28869,22 @@ public int getLabelsCount() {
        *
        * map<string, string> labels = 1;
        */
+
       @java.lang.Override
-      public boolean containsLabels(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public boolean containsLabels(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         return internalGetLabels().getMap().containsKey(key);
       }
-      /** Use {@link #getLabelsMap()} instead. */
+      /**
+       * Use {@link #getLabelsMap()} instead.
+       */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getLabels() {
         return getLabelsMap();
       }
       /**
-       *
-       *
        * 
        * Compute Engine instance labels that must be present for a VM instance to
        * be targeted by this filter.
@@ -32848,12 +28893,11 @@ public java.util.Map getLabels() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
+
       public java.util.Map getLabelsMap() {
         return internalGetLabels().getMap();
       }
       /**
-       *
-       *
        * 
        * Compute Engine instance labels that must be present for a VM instance to
        * be targeted by this filter.
@@ -32862,17 +28906,16 @@ public java.util.Map getLabelsMap() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
+
       public java.lang.String getLabelsOrDefault(
-          java.lang.String key, java.lang.String defaultValue) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetLabels().getMap();
+          java.lang.String key,
+          java.lang.String defaultValue) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetLabels().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
-       *
-       *
        * 
        * Compute Engine instance labels that must be present for a VM instance to
        * be targeted by this filter.
@@ -32881,11 +28924,12 @@ public java.lang.String getLabelsOrDefault(
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-      public java.lang.String getLabelsOrThrow(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetLabels().getMap();
+
+      public java.lang.String getLabelsOrThrow(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetLabels().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
@@ -32893,7 +28937,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
       }
 
       private byte memoizedIsInitialized = -1;
-
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -32905,9 +28948,14 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-        com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-            output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 1);
+      public void writeTo(com.google.protobuf.CodedOutputStream output)
+                          throws java.io.IOException {
+        com.google.protobuf.GeneratedMessageV3
+          .serializeStringMapTo(
+            output,
+            internalGetLabels(),
+            LabelsDefaultEntryHolder.defaultEntry,
+            1);
         unknownFields.writeTo(output);
       }
 
@@ -32917,15 +28965,15 @@ public int getSerializedSize() {
         if (size != -1) return size;
 
         size = 0;
-        for (java.util.Map.Entry entry :
-            internalGetLabels().getMap().entrySet()) {
-          com.google.protobuf.MapEntry labels__ =
-              LabelsDefaultEntryHolder.defaultEntry
-                  .newBuilderForType()
-                  .setKey(entry.getKey())
-                  .setValue(entry.getValue())
-                  .build();
-          size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, labels__);
+        for (java.util.Map.Entry entry
+             : internalGetLabels().getMap().entrySet()) {
+          com.google.protobuf.MapEntry
+          labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+          size += com.google.protobuf.CodedOutputStream
+              .computeMessageSize(1, labels__);
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -32935,16 +28983,15 @@ public int getSerializedSize() {
       @java.lang.Override
       public boolean equals(final java.lang.Object obj) {
         if (obj == this) {
-          return true;
+         return true;
         }
-        if (!(obj
-            instanceof com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel)) {
+        if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel)) {
           return super.equals(obj);
         }
-        com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel other =
-            (com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel) obj;
+        com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel other = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel) obj;
 
-        if (!internalGetLabels().equals(other.internalGetLabels())) return false;
+        if (!internalGetLabels().equals(
+            other.internalGetLabels())) return false;
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
       }
@@ -32965,103 +29012,88 @@ public int hashCode() {
         return hash;
       }
 
-      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-          parseFrom(java.nio.ByteBuffer data)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
+          java.nio.ByteBuffer data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
-      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-          parseFrom(
-              java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel 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.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-          parseFrom(com.google.protobuf.ByteString data)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
+          com.google.protobuf.ByteString data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
-      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-          parseFrom(
-              com.google.protobuf.ByteString data,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel 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.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-          parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(byte[] data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
-      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-          parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
+          byte[] data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
-      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-          parseFrom(java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
-      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-          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.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel 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.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-          parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parseDelimitedFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseDelimitedWithIOException(PARSER, input);
       }
-
-      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-          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.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel 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.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-          parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
+          com.google.protobuf.CodedInputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
-      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-          parseFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-            PARSER, input, extensionRegistry);
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel 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 Builder newBuilderForType() { return newBuilder(); }
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
-
-      public static Builder newBuilder(
-          com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel prototype) {
+      public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
-
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE
+            ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -33071,8 +29103,6 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
-       *
-       *
        * 
        * Represents a group of VMs that can be identified as having all these
        * labels, for example "env=prod and app=web".
@@ -33080,62 +29110,60 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel)
           com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.cloud.osconfig.v1beta.PatchJobs
-              .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor;
         }
 
         @SuppressWarnings({"rawtypes"})
-        protected com.google.protobuf.MapField internalGetMapField(int number) {
+        protected com.google.protobuf.MapField internalGetMapField(
+            int number) {
           switch (number) {
             case 1:
               return internalGetLabels();
             default:
-              throw new RuntimeException("Invalid map field number: " + number);
+              throw new RuntimeException(
+                  "Invalid map field number: " + number);
           }
         }
-
         @SuppressWarnings({"rawtypes"})
-        protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+        protected com.google.protobuf.MapField internalGetMutableMapField(
+            int number) {
           switch (number) {
             case 1:
               return internalGetMutableLabels();
             default:
-              throw new RuntimeException("Invalid map field number: " + number);
+              throw new RuntimeException(
+                  "Invalid map field number: " + number);
           }
         }
-
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1beta.PatchJobs
-              .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_fieldAccessorTable
+          return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.class,
-                  com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder
-                      .class);
+                  com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder.class);
         }
 
-        // Construct using
-        // com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.newBuilder()
+        // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
+          }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -33144,22 +29172,19 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.cloud.osconfig.v1beta.PatchJobs
-              .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-            getDefaultInstanceForType() {
-          return com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-              .getDefaultInstance();
+        public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getDefaultInstanceForType() {
+          return com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel build() {
-          com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel result =
-              buildPartial();
+          com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -33167,10 +29192,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-            buildPartial() {
-          com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel result =
-              new com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel(this);
+        public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel buildPartial() {
+          com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel result = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel(this);
           int from_bitField0_ = bitField0_;
           result.labels_ = internalGetLabels();
           result.labels_.makeImmutable();
@@ -33182,56 +29205,48 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel) {
-            return mergeFrom(
-                (com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel) other);
+          if (other instanceof com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel) {
+            return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel other) {
-          if (other
-              == com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-                  .getDefaultInstance()) return this;
-          internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+        public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel other) {
+          if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.getDefaultInstance()) return this;
+          internalGetMutableLabels().mergeFrom(
+              other.internalGetLabels());
           this.mergeUnknownFields(other.unknownFields);
           onChanged();
           return this;
@@ -33247,14 +29262,11 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
-          com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parsedMessage =
-              null;
+          com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parsedMessage = null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel)
-                    e.getUnfinishedMessage();
+            parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -33263,27 +29275,24 @@ public Builder mergeFrom(
           }
           return this;
         }
-
         private int bitField0_;
 
-        private com.google.protobuf.MapField labels_;
-
+        private com.google.protobuf.MapField<
+            java.lang.String, java.lang.String> labels_;
         private com.google.protobuf.MapField
-            internalGetLabels() {
+        internalGetLabels() {
           if (labels_ == null) {
             return com.google.protobuf.MapField.emptyMapField(
                 LabelsDefaultEntryHolder.defaultEntry);
           }
           return labels_;
         }
-
         private com.google.protobuf.MapField
-            internalGetMutableLabels() {
-          onChanged();
-          ;
+        internalGetMutableLabels() {
+          onChanged();;
           if (labels_ == null) {
-            labels_ =
-                com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+            labels_ = com.google.protobuf.MapField.newMapField(
+                LabelsDefaultEntryHolder.defaultEntry);
           }
           if (!labels_.isMutable()) {
             labels_ = labels_.copy();
@@ -33295,8 +29304,6 @@ public int getLabelsCount() {
           return internalGetLabels().getMap().size();
         }
         /**
-         *
-         *
          * 
          * Compute Engine instance labels that must be present for a VM instance to
          * be targeted by this filter.
@@ -33304,22 +29311,22 @@ public int getLabelsCount() {
          *
          * map<string, string> labels = 1;
          */
+
         @java.lang.Override
-        public boolean containsLabels(java.lang.String key) {
-          if (key == null) {
-            throw new NullPointerException("map key");
-          }
+        public boolean containsLabels(
+            java.lang.String key) {
+          if (key == null) { throw new NullPointerException("map key"); }
           return internalGetLabels().getMap().containsKey(key);
         }
-        /** Use {@link #getLabelsMap()} instead. */
+        /**
+         * Use {@link #getLabelsMap()} instead.
+         */
         @java.lang.Override
         @java.lang.Deprecated
         public java.util.Map getLabels() {
           return getLabelsMap();
         }
         /**
-         *
-         *
          * 
          * Compute Engine instance labels that must be present for a VM instance to
          * be targeted by this filter.
@@ -33328,12 +29335,11 @@ public java.util.Map getLabels() {
          * map<string, string> labels = 1;
          */
         @java.lang.Override
+
         public java.util.Map getLabelsMap() {
           return internalGetLabels().getMap();
         }
         /**
-         *
-         *
          * 
          * Compute Engine instance labels that must be present for a VM instance to
          * be targeted by this filter.
@@ -33342,17 +29348,16 @@ public java.util.Map getLabelsMap() {
          * map<string, string> labels = 1;
          */
         @java.lang.Override
+
         public java.lang.String getLabelsOrDefault(
-            java.lang.String key, java.lang.String defaultValue) {
-          if (key == null) {
-            throw new NullPointerException("map key");
-          }
-          java.util.Map map = internalGetLabels().getMap();
+            java.lang.String key,
+            java.lang.String defaultValue) {
+          if (key == null) { throw new NullPointerException("map key"); }
+          java.util.Map map =
+              internalGetLabels().getMap();
           return map.containsKey(key) ? map.get(key) : defaultValue;
         }
         /**
-         *
-         *
          * 
          * Compute Engine instance labels that must be present for a VM instance to
          * be targeted by this filter.
@@ -33361,11 +29366,12 @@ public java.lang.String getLabelsOrDefault(
          * map<string, string> labels = 1;
          */
         @java.lang.Override
-        public java.lang.String getLabelsOrThrow(java.lang.String key) {
-          if (key == null) {
-            throw new NullPointerException("map key");
-          }
-          java.util.Map map = internalGetLabels().getMap();
+
+        public java.lang.String getLabelsOrThrow(
+            java.lang.String key) {
+          if (key == null) { throw new NullPointerException("map key"); }
+          java.util.Map map =
+              internalGetLabels().getMap();
           if (!map.containsKey(key)) {
             throw new java.lang.IllegalArgumentException();
           }
@@ -33373,12 +29379,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
         }
 
         public Builder clearLabels() {
-          internalGetMutableLabels().getMutableMap().clear();
+          internalGetMutableLabels().getMutableMap()
+              .clear();
           return this;
         }
         /**
-         *
-         *
          * 
          * Compute Engine instance labels that must be present for a VM instance to
          * be targeted by this filter.
@@ -33386,21 +29391,23 @@ public Builder clearLabels() {
          *
          * map<string, string> labels = 1;
          */
-        public Builder removeLabels(java.lang.String key) {
-          if (key == null) {
-            throw new NullPointerException("map key");
-          }
-          internalGetMutableLabels().getMutableMap().remove(key);
+
+        public Builder removeLabels(
+            java.lang.String key) {
+          if (key == null) { throw new NullPointerException("map key"); }
+          internalGetMutableLabels().getMutableMap()
+              .remove(key);
           return this;
         }
-        /** Use alternate mutation accessors instead. */
+        /**
+         * Use alternate mutation accessors instead.
+         */
         @java.lang.Deprecated
-        public java.util.Map getMutableLabels() {
+        public java.util.Map
+        getMutableLabels() {
           return internalGetMutableLabels().getMutableMap();
         }
         /**
-         *
-         *
          * 
          * Compute Engine instance labels that must be present for a VM instance to
          * be targeted by this filter.
@@ -33408,20 +29415,19 @@ public java.util.Map getMutableLabels() {
          *
          * map<string, string> labels = 1;
          */
-        public Builder putLabels(java.lang.String key, java.lang.String value) {
-          if (key == null) {
-            throw new NullPointerException("map key");
-          }
+        public Builder putLabels(
+            java.lang.String key,
+            java.lang.String value) {
+          if (key == null) { throw new NullPointerException("map key"); }
           if (value == null) {
-            throw new NullPointerException("map value");
-          }
+  throw new NullPointerException("map value");
+}
 
-          internalGetMutableLabels().getMutableMap().put(key, value);
+          internalGetMutableLabels().getMutableMap()
+              .put(key, value);
           return this;
         }
         /**
-         *
-         *
          * 
          * Compute Engine instance labels that must be present for a VM instance to
          * be targeted by this filter.
@@ -33429,11 +29435,13 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
          *
          * map<string, string> labels = 1;
          */
-        public Builder putAllLabels(java.util.Map values) {
-          internalGetMutableLabels().getMutableMap().putAll(values);
+
+        public Builder putAllLabels(
+            java.util.Map values) {
+          internalGetMutableLabels().getMutableMap()
+              .putAll(values);
           return this;
         }
-
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -33446,33 +29454,30 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
+
         // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel)
       }
 
       // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel)
-      private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-          DEFAULT_INSTANCE;
-
+      private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel DEFAULT_INSTANCE;
       static {
-        DEFAULT_INSTANCE =
-            new com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel();
+        DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel();
       }
 
-      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-          getDefaultInstance() {
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser PARSER =
-          new com.google.protobuf.AbstractParser() {
-            @java.lang.Override
-            public GroupLabel parsePartialFrom(
-                com.google.protobuf.CodedInputStream input,
-                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-                throws com.google.protobuf.InvalidProtocolBufferException {
-              return new GroupLabel(input, extensionRegistry);
-            }
-          };
+      private static final com.google.protobuf.Parser
+          PARSER = new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public GroupLabel parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new GroupLabel(input, extensionRegistry);
+        }
+      };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -33484,24 +29489,21 @@ public com.google.protobuf.Parser getParserForType() {
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
+
     }
 
     public static final int ALL_FIELD_NUMBER = 1;
     private boolean all_;
     /**
-     *
-     *
      * 
      * Target all VM instances in the project. If true, no other criteria is
      * permitted.
      * 
* * bool all = 1; - * * @return The all. */ @java.lang.Override @@ -33510,133 +29512,104 @@ public boolean getAll() { } public static final int GROUP_LABELS_FIELD_NUMBER = 2; - private java.util.List< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel> - groupLabels_; + private java.util.List groupLabels_; /** - * - * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ @java.lang.Override - public java.util.List - getGroupLabelsList() { + public java.util.List getGroupLabelsList() { return groupLabels_; } /** - * - * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> + public java.util.List getGroupLabelsOrBuilderList() { return groupLabels_; } /** - * - * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ @java.lang.Override public int getGroupLabelsCount() { return groupLabels_.size(); } /** - * - * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels( - int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels(int index) { return groupLabels_.get(index); } /** - * - * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder - getGroupLabelsOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder getGroupLabelsOrBuilder( + int index) { return groupLabels_.get(index); } public static final int ZONES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList zones_; /** - * - * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; - * * @return A list containing the zones. */ - public com.google.protobuf.ProtocolStringList getZonesList() { + public com.google.protobuf.ProtocolStringList + getZonesList() { return zones_; } /** - * - * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; - * * @return The count of zones. */ public int getZonesCount() { return zones_.size(); } /** - * - * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; - * * @param index The index of the element to return. * @return The zones at the given index. */ @@ -33644,27 +29617,23 @@ public java.lang.String getZones(int index) { return zones_.get(index); } /** - * - * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; - * * @param index The index of the value to return. * @return The bytes of the zones at the given index. */ - public com.google.protobuf.ByteString getZonesBytes(int index) { + public com.google.protobuf.ByteString + getZonesBytes(int index) { return zones_.getByteString(index); } public static final int INSTANCES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList instances_; /** - * - * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -33673,15 +29642,13 @@ public com.google.protobuf.ByteString getZonesBytes(int index) {
      * 
* * repeated string instances = 4; - * * @return A list containing the instances. */ - public com.google.protobuf.ProtocolStringList getInstancesList() { + public com.google.protobuf.ProtocolStringList + getInstancesList() { return instances_; } /** - * - * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -33690,15 +29657,12 @@ public com.google.protobuf.ProtocolStringList getInstancesList() {
      * 
* * repeated string instances = 4; - * * @return The count of instances. */ public int getInstancesCount() { return instances_.size(); } /** - * - * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -33707,7 +29671,6 @@ public int getInstancesCount() {
      * 
* * repeated string instances = 4; - * * @param index The index of the element to return. * @return The instances at the given index. */ @@ -33715,8 +29678,6 @@ public java.lang.String getInstances(int index) { return instances_.get(index); } /** - * - * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -33725,19 +29686,17 @@ public java.lang.String getInstances(int index) {
      * 
* * repeated string instances = 4; - * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - public com.google.protobuf.ByteString getInstancesBytes(int index) { + public com.google.protobuf.ByteString + getInstancesBytes(int index) { return instances_.getByteString(index); } public static final int INSTANCE_NAME_PREFIXES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList instanceNamePrefixes_; /** - * - * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -33745,15 +29704,13 @@ public com.google.protobuf.ByteString getInstancesBytes(int index) {
      * 
* * repeated string instance_name_prefixes = 5; - * * @return A list containing the instanceNamePrefixes. */ - public com.google.protobuf.ProtocolStringList getInstanceNamePrefixesList() { + public com.google.protobuf.ProtocolStringList + getInstanceNamePrefixesList() { return instanceNamePrefixes_; } /** - * - * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -33761,15 +29718,12 @@ public com.google.protobuf.ProtocolStringList getInstanceNamePrefixesList() {
      * 
* * repeated string instance_name_prefixes = 5; - * * @return The count of instanceNamePrefixes. */ public int getInstanceNamePrefixesCount() { return instanceNamePrefixes_.size(); } /** - * - * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -33777,7 +29731,6 @@ public int getInstanceNamePrefixesCount() {
      * 
* * repeated string instance_name_prefixes = 5; - * * @param index The index of the element to return. * @return The instanceNamePrefixes at the given index. */ @@ -33785,8 +29738,6 @@ public java.lang.String getInstanceNamePrefixes(int index) { return instanceNamePrefixes_.get(index); } /** - * - * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -33794,16 +29745,15 @@ public java.lang.String getInstanceNamePrefixes(int index) {
      * 
* * repeated string instance_name_prefixes = 5; - * * @param index The index of the value to return. * @return The bytes of the instanceNamePrefixes at the given index. */ - public com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index) { + public com.google.protobuf.ByteString + getInstanceNamePrefixesBytes(int index) { return instanceNamePrefixes_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -33815,7 +29765,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (all_ != false) { output.writeBool(1, all_); } @@ -33829,8 +29780,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 4, instances_.getRaw(i)); } for (int i = 0; i < instanceNamePrefixes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 5, instanceNamePrefixes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, instanceNamePrefixes_.getRaw(i)); } unknownFields.writeTo(output); } @@ -33842,10 +29792,12 @@ public int getSerializedSize() { size = 0; if (all_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, all_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, all_); } for (int i = 0; i < groupLabels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, groupLabels_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, groupLabels_.get(i)); } { int dataSize = 0; @@ -33879,19 +29831,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter other = - (com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter) obj; - - if (getAll() != other.getAll()) return false; - if (!getGroupLabelsList().equals(other.getGroupLabelsList())) return false; - if (!getZonesList().equals(other.getZonesList())) return false; - if (!getInstancesList().equals(other.getInstancesList())) return false; - if (!getInstanceNamePrefixesList().equals(other.getInstanceNamePrefixesList())) return false; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter other = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter) obj; + + if (getAll() + != other.getAll()) return false; + if (!getGroupLabelsList() + .equals(other.getGroupLabelsList())) return false; + if (!getZonesList() + .equals(other.getZonesList())) return false; + if (!getInstancesList() + .equals(other.getInstancesList())) return false; + if (!getInstanceNamePrefixesList() + .equals(other.getInstanceNamePrefixesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -33904,7 +29860,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAll()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAll()); if (getGroupLabelsCount() > 0) { hash = (37 * hash) + GROUP_LABELS_FIELD_NUMBER; hash = (53 * hash) + getGroupLabelsList().hashCode(); @@ -33927,94 +29884,87 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter 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.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter prototype) { + public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -34024,8 +29974,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A filter to target VM instances for patching. The targeted
      * VMs must meet all criteria specified. So if both labels and zones are
@@ -34035,24 +29983,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.PatchInstanceFilter}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PatchInstanceFilter)
         com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.class,
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.newBuilder()
@@ -34060,17 +30005,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getGroupLabelsFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -34092,14 +30037,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter
-          getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance();
       }
 
@@ -34114,8 +30058,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter result =
-            new com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter(this);
+        com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter result = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter(this);
         int from_bitField0_ = bitField0_;
         result.all_ = all_;
         if (groupLabelsBuilder_ == null) {
@@ -34150,52 +30093,46 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter buildParti
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchJobs.PatchInstanceFilter) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter other) {
-        if (other
-            == com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter other) {
+        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance()) return this;
         if (other.getAll() != false) {
           setAll(other.getAll());
         }
@@ -34217,10 +30154,9 @@ public Builder mergeFrom(
               groupLabelsBuilder_ = null;
               groupLabels_ = other.groupLabels_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              groupLabelsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getGroupLabelsFieldBuilder()
-                      : null;
+              groupLabelsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getGroupLabelsFieldBuilder() : null;
             } else {
               groupLabelsBuilder_.addAllMessages(other.groupLabels_);
             }
@@ -34275,9 +30211,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -34286,20 +30220,16 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private boolean all_;
+      private boolean all_ ;
       /**
-       *
-       *
        * 
        * Target all VM instances in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; - * * @return The all. */ @java.lang.Override @@ -34307,78 +30237,58 @@ public boolean getAll() { return all_; } /** - * - * *
        * Target all VM instances in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; - * * @param value The all to set. * @return This builder for chaining. */ public Builder setAll(boolean value) { - + all_ = value; onChanged(); return this; } /** - * - * *
        * Target all VM instances in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; - * * @return This builder for chaining. */ public Builder clearAll() { - + all_ = false; onChanged(); return this; } - private java.util.List< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel> - groupLabels_ = java.util.Collections.emptyList(); - + private java.util.List groupLabels_ = + java.util.Collections.emptyList(); private void ensureGroupLabelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - groupLabels_ = - new java.util.ArrayList< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel>( - groupLabels_); + groupLabels_ = new java.util.ArrayList(groupLabels_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> - groupLabelsBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> groupLabelsBuilder_; /** - * - * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ - public java.util.List< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel> - getGroupLabelsList() { + public java.util.List getGroupLabelsList() { if (groupLabelsBuilder_ == null) { return java.util.Collections.unmodifiableList(groupLabels_); } else { @@ -34386,16 +30296,12 @@ private void ensureGroupLabelsIsMutable() { } } /** - * - * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ public int getGroupLabelsCount() { if (groupLabelsBuilder_ == null) { @@ -34405,19 +30311,14 @@ public int getGroupLabelsCount() { } } /** - * - * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel - getGroupLabels(int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels(int index) { if (groupLabelsBuilder_ == null) { return groupLabels_.get(index); } else { @@ -34425,20 +30326,15 @@ public int getGroupLabelsCount() { } } /** - * - * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ public Builder setGroupLabels( - int index, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel value) { + int index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel value) { if (groupLabelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -34452,21 +30348,15 @@ public Builder setGroupLabels( return this; } /** - * - * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ public Builder setGroupLabels( - int index, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder builderForValue) { if (groupLabelsBuilder_ == null) { ensureGroupLabelsIsMutable(); groupLabels_.set(index, builderForValue.build()); @@ -34477,19 +30367,14 @@ public Builder setGroupLabels( return this; } /** - * - * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ - public Builder addGroupLabels( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel value) { + public Builder addGroupLabels(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel value) { if (groupLabelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -34503,20 +30388,15 @@ public Builder addGroupLabels( return this; } /** - * - * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ public Builder addGroupLabels( - int index, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel value) { + int index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel value) { if (groupLabelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -34530,20 +30410,15 @@ public Builder addGroupLabels( return this; } /** - * - * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ public Builder addGroupLabels( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder - builderForValue) { + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder builderForValue) { if (groupLabelsBuilder_ == null) { ensureGroupLabelsIsMutable(); groupLabels_.add(builderForValue.build()); @@ -34554,21 +30429,15 @@ public Builder addGroupLabels( return this; } /** - * - * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ public Builder addGroupLabels( - int index, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder - builderForValue) { + int index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder builderForValue) { if (groupLabelsBuilder_ == null) { ensureGroupLabelsIsMutable(); groupLabels_.add(index, builderForValue.build()); @@ -34579,25 +30448,19 @@ public Builder addGroupLabels( return this; } /** - * - * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ public Builder addAllGroupLabels( - java.lang.Iterable< - ? extends - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel> - values) { + java.lang.Iterable values) { if (groupLabelsBuilder_ == null) { ensureGroupLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupLabels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, groupLabels_); onChanged(); } else { groupLabelsBuilder_.addAllMessages(values); @@ -34605,16 +30468,12 @@ public Builder addAllGroupLabels( return this; } /** - * - * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ public Builder clearGroupLabels() { if (groupLabelsBuilder_ == null) { @@ -34627,16 +30486,12 @@ public Builder clearGroupLabels() { return this; } /** - * - * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ public Builder removeGroupLabels(int index) { if (groupLabelsBuilder_ == null) { @@ -34649,58 +30504,42 @@ public Builder removeGroupLabels(int index) { return this; } /** - * - * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder - getGroupLabelsBuilder(int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder getGroupLabelsBuilder( + int index) { return getGroupLabelsFieldBuilder().getBuilder(index); } /** - * - * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder - getGroupLabelsOrBuilder(int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder getGroupLabelsOrBuilder( + int index) { if (groupLabelsBuilder_ == null) { - return groupLabels_.get(index); - } else { + return groupLabels_.get(index); } else { return groupLabelsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ - public java.util.List< - ? extends - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter - .GroupLabelOrBuilder> - getGroupLabelsOrBuilderList() { + public java.util.List + getGroupLabelsOrBuilderList() { if (groupLabelsBuilder_ != null) { return groupLabelsBuilder_.getMessageOrBuilderList(); } else { @@ -34708,74 +30547,48 @@ public Builder removeGroupLabels(int index) { } } /** - * - * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder - addGroupLabelsBuilder() { - return getGroupLabelsFieldBuilder() - .addBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel - .getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder addGroupLabelsBuilder() { + return getGroupLabelsFieldBuilder().addBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.getDefaultInstance()); } /** - * - * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder - addGroupLabelsBuilder(int index) { - return getGroupLabelsFieldBuilder() - .addBuilder( - index, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel - .getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder addGroupLabelsBuilder( + int index) { + return getGroupLabelsFieldBuilder().addBuilder( + index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.getDefaultInstance()); } /** - * - * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; - * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; */ - public java.util.List< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder> - getGroupLabelsBuilderList() { + public java.util.List + getGroupLabelsBuilderList() { return getGroupLabelsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> getGroupLabelsFieldBuilder() { if (groupLabelsBuilder_ == null) { - groupLabelsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter - .GroupLabelOrBuilder>( + groupLabelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder>( groupLabels_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -34785,55 +30598,45 @@ public Builder removeGroupLabels(int index) { return groupLabelsBuilder_; } - private com.google.protobuf.LazyStringList zones_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList zones_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureZonesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { zones_ = new com.google.protobuf.LazyStringArrayList(zones_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; - * * @return A list containing the zones. */ - public com.google.protobuf.ProtocolStringList getZonesList() { + public com.google.protobuf.ProtocolStringList + getZonesList() { return zones_.getUnmodifiableView(); } /** - * - * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; - * * @return The count of zones. */ public int getZonesCount() { return zones_.size(); } /** - * - * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; - * * @param index The index of the element to return. * @return The zones at the given index. */ @@ -34841,95 +30644,85 @@ public java.lang.String getZones(int index) { return zones_.get(index); } /** - * - * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; - * * @param index The index of the value to return. * @return The bytes of the zones at the given index. */ - public com.google.protobuf.ByteString getZonesBytes(int index) { + public com.google.protobuf.ByteString + getZonesBytes(int index) { return zones_.getByteString(index); } /** - * - * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; - * * @param index The index to set the value at. * @param value The zones to set. * @return This builder for chaining. */ - public Builder setZones(int index, java.lang.String value) { + public Builder setZones( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureZonesIsMutable(); + throw new NullPointerException(); + } + ensureZonesIsMutable(); zones_.set(index, value); onChanged(); return this; } /** - * - * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; - * * @param value The zones to add. * @return This builder for chaining. */ - public Builder addZones(java.lang.String value) { + public Builder addZones( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureZonesIsMutable(); + throw new NullPointerException(); + } + ensureZonesIsMutable(); zones_.add(value); onChanged(); return this; } /** - * - * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; - * * @param values The zones to add. * @return This builder for chaining. */ - public Builder addAllZones(java.lang.Iterable values) { + public Builder addAllZones( + java.lang.Iterable values) { ensureZonesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, zones_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, zones_); onChanged(); return this; } /** - * - * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; - * * @return This builder for chaining. */ public Builder clearZones() { @@ -34939,41 +30732,35 @@ public Builder clearZones() { return this; } /** - * - * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; - * * @param value The bytes of the zones to add. * @return This builder for chaining. */ - public Builder addZonesBytes(com.google.protobuf.ByteString value) { + public Builder addZonesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureZonesIsMutable(); zones_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList instances_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList instances_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { instances_ = new com.google.protobuf.LazyStringArrayList(instances_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -34982,15 +30769,13 @@ private void ensureInstancesIsMutable() {
        * 
* * repeated string instances = 4; - * * @return A list containing the instances. */ - public com.google.protobuf.ProtocolStringList getInstancesList() { + public com.google.protobuf.ProtocolStringList + getInstancesList() { return instances_.getUnmodifiableView(); } /** - * - * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -34999,15 +30784,12 @@ public com.google.protobuf.ProtocolStringList getInstancesList() {
        * 
* * repeated string instances = 4; - * * @return The count of instances. */ public int getInstancesCount() { return instances_.size(); } /** - * - * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -35016,7 +30798,6 @@ public int getInstancesCount() {
        * 
* * repeated string instances = 4; - * * @param index The index of the element to return. * @return The instances at the given index. */ @@ -35024,8 +30805,6 @@ public java.lang.String getInstances(int index) { return instances_.get(index); } /** - * - * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -35034,16 +30813,14 @@ public java.lang.String getInstances(int index) {
        * 
* * repeated string instances = 4; - * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - public com.google.protobuf.ByteString getInstancesBytes(int index) { + public com.google.protobuf.ByteString + getInstancesBytes(int index) { return instances_.getByteString(index); } - /** - * - * + /** *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -35052,23 +30829,21 @@ public com.google.protobuf.ByteString getInstancesBytes(int index) {
        * 
* * repeated string instances = 4; - * * @param index The index to set the value at. * @param value The instances to set. * @return This builder for chaining. */ - public Builder setInstances(int index, java.lang.String value) { + public Builder setInstances( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstancesIsMutable(); + throw new NullPointerException(); + } + ensureInstancesIsMutable(); instances_.set(index, value); onChanged(); return this; } /** - * - * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -35077,22 +30852,20 @@ public Builder setInstances(int index, java.lang.String value) {
        * 
* * repeated string instances = 4; - * * @param value The instances to add. * @return This builder for chaining. */ - public Builder addInstances(java.lang.String value) { + public Builder addInstances( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstancesIsMutable(); + throw new NullPointerException(); + } + ensureInstancesIsMutable(); instances_.add(value); onChanged(); return this; } /** - * - * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -35101,19 +30874,18 @@ public Builder addInstances(java.lang.String value) {
        * 
* * repeated string instances = 4; - * * @param values The instances to add. * @return This builder for chaining. */ - public Builder addAllInstances(java.lang.Iterable values) { + public Builder addAllInstances( + java.lang.Iterable values) { ensureInstancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instances_); onChanged(); return this; } /** - * - * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -35122,7 +30894,6 @@ public Builder addAllInstances(java.lang.Iterable values) {
        * 
* * repeated string instances = 4; - * * @return This builder for chaining. */ public Builder clearInstances() { @@ -35132,8 +30903,6 @@ public Builder clearInstances() { return this; } /** - * - * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -35142,34 +30911,29 @@ public Builder clearInstances() {
        * 
* * repeated string instances = 4; - * * @param value The bytes of the instances to add. * @return This builder for chaining. */ - public Builder addInstancesBytes(com.google.protobuf.ByteString value) { + public Builder addInstancesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstancesIsMutable(); instances_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList instanceNamePrefixes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList instanceNamePrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInstanceNamePrefixesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - instanceNamePrefixes_ = - new com.google.protobuf.LazyStringArrayList(instanceNamePrefixes_); + instanceNamePrefixes_ = new com.google.protobuf.LazyStringArrayList(instanceNamePrefixes_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -35177,15 +30941,13 @@ private void ensureInstanceNamePrefixesIsMutable() {
        * 
* * repeated string instance_name_prefixes = 5; - * * @return A list containing the instanceNamePrefixes. */ - public com.google.protobuf.ProtocolStringList getInstanceNamePrefixesList() { + public com.google.protobuf.ProtocolStringList + getInstanceNamePrefixesList() { return instanceNamePrefixes_.getUnmodifiableView(); } /** - * - * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -35193,15 +30955,12 @@ public com.google.protobuf.ProtocolStringList getInstanceNamePrefixesList() {
        * 
* * repeated string instance_name_prefixes = 5; - * * @return The count of instanceNamePrefixes. */ public int getInstanceNamePrefixesCount() { return instanceNamePrefixes_.size(); } /** - * - * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -35209,7 +30968,6 @@ public int getInstanceNamePrefixesCount() {
        * 
* * repeated string instance_name_prefixes = 5; - * * @param index The index of the element to return. * @return The instanceNamePrefixes at the given index. */ @@ -35217,8 +30975,6 @@ public java.lang.String getInstanceNamePrefixes(int index) { return instanceNamePrefixes_.get(index); } /** - * - * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -35226,16 +30982,14 @@ public java.lang.String getInstanceNamePrefixes(int index) {
        * 
* * repeated string instance_name_prefixes = 5; - * * @param index The index of the value to return. * @return The bytes of the instanceNamePrefixes at the given index. */ - public com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index) { + public com.google.protobuf.ByteString + getInstanceNamePrefixesBytes(int index) { return instanceNamePrefixes_.getByteString(index); } /** - * - * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -35243,23 +30997,21 @@ public com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index) {
        * 
* * repeated string instance_name_prefixes = 5; - * * @param index The index to set the value at. * @param value The instanceNamePrefixes to set. * @return This builder for chaining. */ - public Builder setInstanceNamePrefixes(int index, java.lang.String value) { + public Builder setInstanceNamePrefixes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceNamePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureInstanceNamePrefixesIsMutable(); instanceNamePrefixes_.set(index, value); onChanged(); return this; } /** - * - * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -35267,22 +31019,20 @@ public Builder setInstanceNamePrefixes(int index, java.lang.String value) {
        * 
* * repeated string instance_name_prefixes = 5; - * * @param value The instanceNamePrefixes to add. * @return This builder for chaining. */ - public Builder addInstanceNamePrefixes(java.lang.String value) { + public Builder addInstanceNamePrefixes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceNamePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureInstanceNamePrefixesIsMutable(); instanceNamePrefixes_.add(value); onChanged(); return this; } /** - * - * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -35290,19 +31040,18 @@ public Builder addInstanceNamePrefixes(java.lang.String value) {
        * 
* * repeated string instance_name_prefixes = 5; - * * @param values The instanceNamePrefixes to add. * @return This builder for chaining. */ - public Builder addAllInstanceNamePrefixes(java.lang.Iterable values) { + public Builder addAllInstanceNamePrefixes( + java.lang.Iterable values) { ensureInstanceNamePrefixesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceNamePrefixes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instanceNamePrefixes_); onChanged(); return this; } /** - * - * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -35310,7 +31059,6 @@ public Builder addAllInstanceNamePrefixes(java.lang.Iterable v
        * 
* * repeated string instance_name_prefixes = 5; - * * @return This builder for chaining. */ public Builder clearInstanceNamePrefixes() { @@ -35320,8 +31068,6 @@ public Builder clearInstanceNamePrefixes() { return this; } /** - * - * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -35329,21 +31075,20 @@ public Builder clearInstanceNamePrefixes() {
        * 
* * repeated string instance_name_prefixes = 5; - * * @param value The bytes of the instanceNamePrefixes to add. * @return This builder for chaining. */ - public Builder addInstanceNamePrefixesBytes(com.google.protobuf.ByteString value) { + public Builder addInstanceNamePrefixesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstanceNamePrefixesIsMutable(); instanceNamePrefixes_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -35356,32 +31101,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PatchInstanceFilter) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PatchInstanceFilter) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter - DEFAULT_INSTANCE; - + private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter - getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchInstanceFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchInstanceFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchInstanceFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchInstanceFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -35393,45 +31136,36 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter - getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PatchRolloutOrBuilder - extends + public interface PatchRolloutOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PatchRollout) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Mode of the patch rollout.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout.Mode mode = 1; - * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** - * - * *
      * Mode of the patch rollout.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout.Mode mode = 1; - * * @return The mode. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode getMode(); /** - * - * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -35455,13 +31189,10 @@ public interface PatchRolloutOrBuilder
      * 
* * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2; - * * @return Whether the disruptionBudget field is set. */ boolean hasDisruptionBudget(); /** - * - * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -35485,13 +31216,10 @@ public interface PatchRolloutOrBuilder
      * 
* * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2; - * * @return The disruptionBudget. */ com.google.cloud.osconfig.v1beta.Common.FixedOrPercent getDisruptionBudget(); /** - * - * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -35519,8 +31247,6 @@ public interface PatchRolloutOrBuilder
     com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Patch rollout configuration specifications. Contains details on the
    * concurrency control when applying patch(es) to all targeted VMs.
@@ -35528,31 +31254,31 @@ public interface PatchRolloutOrBuilder
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.PatchRollout}
    */
-  public static final class PatchRollout extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PatchRollout extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PatchRollout)
       PatchRolloutOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PatchRollout.newBuilder() to construct.
     private PatchRollout(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PatchRollout() {
       mode_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PatchRollout();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PatchRollout(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -35571,37 +31297,32 @@ private PatchRollout(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
+              int rawValue = input.readEnum();
 
-                mode_ = rawValue;
-                break;
+              mode_ = rawValue;
+              break;
+            }
+            case 18: {
+              com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder subBuilder = null;
+              if (disruptionBudget_ != null) {
+                subBuilder = disruptionBudget_.toBuilder();
               }
-            case 18:
-              {
-                com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder subBuilder = null;
-                if (disruptionBudget_ != null) {
-                  subBuilder = disruptionBudget_.toBuilder();
-                }
-                disruptionBudget_ =
-                    input.readMessage(
-                        com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(disruptionBudget_);
-                  disruptionBudget_ = subBuilder.buildPartial();
-                }
-
-                break;
+              disruptionBudget_ = input.readMessage(com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(disruptionBudget_);
+                disruptionBudget_ = subBuilder.buildPartial();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -35609,41 +31330,36 @@ private PatchRollout(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs
-          .internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs
-          .internal_static_google_cloud_osconfig_v1beta_PatchRollout_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchRollout_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.class,
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * Type of the rollout.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.PatchRollout.Mode} */ - public enum Mode implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Mode must be specified.
        * 
@@ -35652,8 +31368,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ MODE_UNSPECIFIED(0), /** - * - * *
        * Patches are applied one zone at a time. The patch job begins in the
        * region with the lowest number of targeted VMs. Within the region,
@@ -35667,8 +31381,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
        */
       ZONE_BY_ZONE(1),
       /**
-       *
-       *
        * 
        * Patches are applied to VMs in all zones at the same time.
        * 
@@ -35680,8 +31392,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Mode must be specified.
        * 
@@ -35690,8 +31400,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Patches are applied one zone at a time. The patch job begins in the
        * region with the lowest number of targeted VMs. Within the region,
@@ -35705,8 +31413,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int ZONE_BY_ZONE_VALUE = 1;
       /**
-       *
-       *
        * 
        * Patches are applied to VMs in all zones at the same time.
        * 
@@ -35715,6 +31421,7 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONCURRENT_ZONES_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -35739,51 +31446,49 @@ public static Mode valueOf(int value) { */ public static Mode forNumber(int value) { switch (value) { - case 0: - return MODE_UNSPECIFIED; - case 1: - return ZONE_BY_ZONE; - case 2: - return CONCURRENT_ZONES; - default: - return null; + case 0: return MODE_UNSPECIFIED; + case 1: return ZONE_BY_ZONE; + case 2: return CONCURRENT_ZONES; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Mode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Mode findValueByNumber(int number) { + return Mode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Mode findValueByNumber(int number) { - return Mode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDescriptor().getEnumTypes().get(0); } private static final Mode[] VALUES = values(); - public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Mode valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -35803,46 +31508,33 @@ private Mode(int value) { public static final int MODE_FIELD_NUMBER = 1; private int mode_; /** - * - * *
      * Mode of the patch rollout.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout.Mode mode = 1; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
      * Mode of the patch rollout.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout.Mode mode = 1; - * * @return The mode. */ - @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode getMode() { + @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode result = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.valueOf(mode_); - return result == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode result = com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.valueOf(mode_); + return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.UNRECOGNIZED : result; } public static final int DISRUPTION_BUDGET_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1beta.Common.FixedOrPercent disruptionBudget_; /** - * - * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -35866,7 +31558,6 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode getMode() {
      * 
* * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2; - * * @return Whether the disruptionBudget field is set. */ @java.lang.Override @@ -35874,8 +31565,6 @@ public boolean hasDisruptionBudget() { return disruptionBudget_ != null; } /** - * - * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -35899,18 +31588,13 @@ public boolean hasDisruptionBudget() {
      * 
* * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2; - * * @return The disruptionBudget. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent getDisruptionBudget() { - return disruptionBudget_ == null - ? com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.getDefaultInstance() - : disruptionBudget_; + return disruptionBudget_ == null ? com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.getDefaultInstance() : disruptionBudget_; } /** - * - * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -35936,13 +31620,11 @@ public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent getDisruptionBudge
      * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder
-        getDisruptionBudgetOrBuilder() {
+    public com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder() {
       return getDisruptionBudget();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -35954,10 +31636,9 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-      if (mode_
-          != com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.MODE_UNSPECIFIED
-              .getNumber()) {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      if (mode_ != com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.MODE_UNSPECIFIED.getNumber()) {
         output.writeEnum(1, mode_);
       }
       if (disruptionBudget_ != null) {
@@ -35972,13 +31653,13 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (mode_
-          != com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.MODE_UNSPECIFIED
-              .getNumber()) {
-        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, mode_);
+      if (mode_ != com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.MODE_UNSPECIFIED.getNumber()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeEnumSize(1, mode_);
       }
       if (disruptionBudget_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDisruptionBudget());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getDisruptionBudget());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -35988,18 +31669,18 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout)) {
         return super.equals(obj);
       }
-      com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout other =
-          (com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout) obj;
+      com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout other = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout) obj;
 
       if (mode_ != other.mode_) return false;
       if (hasDisruptionBudget() != other.hasDisruptionBudget()) return false;
       if (hasDisruptionBudget()) {
-        if (!getDisruptionBudget().equals(other.getDisruptionBudget())) return false;
+        if (!getDisruptionBudget()
+            .equals(other.getDisruptionBudget())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -36024,94 +31705,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout 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.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout prototype) {
+    public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -36121,8 +31795,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Patch rollout configuration specifications. Contains details on the
      * concurrency control when applying patch(es) to all targeted VMs.
@@ -36130,24 +31802,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.PatchRollout}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PatchRollout)
         com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_PatchRollout_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchRollout_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.class,
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.newBuilder()
@@ -36155,15 +31824,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -36179,9 +31849,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs
-            .internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor;
       }
 
       @java.lang.Override
@@ -36200,8 +31870,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout result =
-            new com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout(this);
+        com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout result = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout(this);
         result.mode_ = mode_;
         if (disruptionBudgetBuilder_ == null) {
           result.disruptionBudget_ = disruptionBudget_;
@@ -36216,41 +31885,38 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchJobs.PatchRollout) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout) other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -36258,8 +31924,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout other) {
-        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance()) return this;
         if (other.mode_ != 0) {
           setModeValue(other.getModeValue());
         }
@@ -36285,8 +31950,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -36298,67 +31962,51 @@ public Builder mergeFrom(
 
       private int mode_ = 0;
       /**
-       *
-       *
        * 
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout.Mode mode = 1; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout.Mode mode = 1; - * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { - + mode_ = value; onChanged(); return this; } /** - * - * *
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout.Mode mode = 1; - * * @return The mode. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode result = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.valueOf(mode_); - return result == null - ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.UNRECOGNIZED - : result; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode result = com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.valueOf(mode_); + return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.UNRECOGNIZED : result; } /** - * - * *
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout.Mode mode = 1; - * * @param value The mode to set. * @return This builder for chaining. */ @@ -36366,24 +32014,21 @@ public Builder setMode(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.M if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout.Mode mode = 1; - * * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = 0; onChanged(); return this; @@ -36391,13 +32036,8 @@ public Builder clearMode() { private com.google.cloud.osconfig.v1beta.Common.FixedOrPercent disruptionBudget_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.Common.FixedOrPercent, - com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder, - com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder> - disruptionBudgetBuilder_; + com.google.cloud.osconfig.v1beta.Common.FixedOrPercent, com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder, com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder> disruptionBudgetBuilder_; /** - * - * *
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -36421,15 +32061,12 @@ public Builder clearMode() {
        * 
* * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2; - * * @return Whether the disruptionBudget field is set. */ public boolean hasDisruptionBudget() { return disruptionBudgetBuilder_ != null || disruptionBudget_ != null; } /** - * - * *
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -36453,21 +32090,16 @@ public boolean hasDisruptionBudget() {
        * 
* * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2; - * * @return The disruptionBudget. */ public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent getDisruptionBudget() { if (disruptionBudgetBuilder_ == null) { - return disruptionBudget_ == null - ? com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.getDefaultInstance() - : disruptionBudget_; + return disruptionBudget_ == null ? com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.getDefaultInstance() : disruptionBudget_; } else { return disruptionBudgetBuilder_.getMessage(); } } /** - * - * *
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -36492,8 +32124,7 @@ public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent getDisruptionBudge
        *
        * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2;
        */
-      public Builder setDisruptionBudget(
-          com.google.cloud.osconfig.v1beta.Common.FixedOrPercent value) {
+      public Builder setDisruptionBudget(com.google.cloud.osconfig.v1beta.Common.FixedOrPercent value) {
         if (disruptionBudgetBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -36507,8 +32138,6 @@ public Builder setDisruptionBudget(
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -36545,8 +32174,6 @@ public Builder setDisruptionBudget(
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -36571,14 +32198,11 @@ public Builder setDisruptionBudget(
        *
        * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2;
        */
-      public Builder mergeDisruptionBudget(
-          com.google.cloud.osconfig.v1beta.Common.FixedOrPercent value) {
+      public Builder mergeDisruptionBudget(com.google.cloud.osconfig.v1beta.Common.FixedOrPercent value) {
         if (disruptionBudgetBuilder_ == null) {
           if (disruptionBudget_ != null) {
             disruptionBudget_ =
-                com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.newBuilder(disruptionBudget_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.newBuilder(disruptionBudget_).mergeFrom(value).buildPartial();
           } else {
             disruptionBudget_ = value;
           }
@@ -36590,8 +32214,6 @@ public Builder mergeDisruptionBudget(
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -36628,8 +32250,6 @@ public Builder clearDisruptionBudget() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -36654,15 +32274,12 @@ public Builder clearDisruptionBudget() {
        *
        * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2;
        */
-      public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder
-          getDisruptionBudgetBuilder() {
-
+      public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder getDisruptionBudgetBuilder() {
+        
         onChanged();
         return getDisruptionBudgetFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -36687,19 +32304,15 @@ public Builder clearDisruptionBudget() {
        *
        * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2;
        */
-      public com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder
-          getDisruptionBudgetOrBuilder() {
+      public com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder() {
         if (disruptionBudgetBuilder_ != null) {
           return disruptionBudgetBuilder_.getMessageOrBuilder();
         } else {
-          return disruptionBudget_ == null
-              ? com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.getDefaultInstance()
-              : disruptionBudget_;
+          return disruptionBudget_ == null ?
+              com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.getDefaultInstance() : disruptionBudget_;
         }
       }
       /**
-       *
-       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -36725,22 +32338,18 @@ public Builder clearDisruptionBudget() {
        * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.Common.FixedOrPercent,
-              com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder,
-              com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder>
+          com.google.cloud.osconfig.v1beta.Common.FixedOrPercent, com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder, com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder> 
           getDisruptionBudgetFieldBuilder() {
         if (disruptionBudgetBuilder_ == null) {
-          disruptionBudgetBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.osconfig.v1beta.Common.FixedOrPercent,
-                  com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder,
-                  com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder>(
-                  getDisruptionBudget(), getParentForChildren(), isClean());
+          disruptionBudgetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.osconfig.v1beta.Common.FixedOrPercent, com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder, com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder>(
+                  getDisruptionBudget(),
+                  getParentForChildren(),
+                  isClean());
           disruptionBudget_ = null;
         }
         return disruptionBudgetBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -36753,12 +32362,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PatchRollout)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PatchRollout)
     private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout();
     }
@@ -36767,16 +32376,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getDefault
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public PatchRollout parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new PatchRollout(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public PatchRollout parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new PatchRollout(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -36791,518 +32400,446 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_PatchJob_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_PatchConfig_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_Instance_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_Instance_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_Instance_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_AptSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_YumSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_GooSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_ZypperSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_ExecStep_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_GcsObject_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_PatchRollout_fieldAccessorTable;
 
-  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
     return descriptor;
   }
-
-  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
   static {
     java.lang.String[] descriptorData = {
-      "\n-google/cloud/osconfig/v1beta/patch_job"
-          + "s.proto\022\034google.cloud.osconfig.v1beta\032\034g"
-          + "oogle/api/annotations.proto\032\037google/api/"
-          + "field_behavior.proto\032\031google/api/resourc"
-          + "e.proto\0322google/cloud/osconfig/v1beta/os"
-          + "config_common.proto\032\036google/protobuf/dur"
-          + "ation.proto\032\037google/protobuf/timestamp.p"
-          + "roto\"\345\002\n\026ExecutePatchJobRequest\022\023\n\006paren"
-          + "t\030\001 \001(\tB\003\340A\002\022\023\n\013description\030\002 \001(\t\022O\n\017ins"
-          + "tance_filter\030\007 \001(\01321.google.cloud.osconf"
-          + "ig.v1beta.PatchInstanceFilterB\003\340A\002\022?\n\014pa"
-          + "tch_config\030\004 \001(\0132).google.cloud.osconfig"
-          + ".v1beta.PatchConfig\022+\n\010duration\030\005 \001(\0132\031."
-          + "google.protobuf.Duration\022\017\n\007dry_run\030\006 \001("
-          + "\010\022\024\n\014display_name\030\010 \001(\t\022;\n\007rollout\030\t \001(\013"
-          + "2*.google.cloud.osconfig.v1beta.PatchRol"
-          + "lout\"\'\n\022GetPatchJobRequest\022\021\n\004name\030\001 \001(\t"
-          + "B\003\340A\002\"p\n\"ListPatchJobInstanceDetailsRequ"
-          + "est\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 "
-          + "\001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\""
-          + "\231\001\n#ListPatchJobInstanceDetailsResponse\022"
-          + "Y\n\032patch_job_instance_details\030\001 \003(\01325.go"
-          + "ogle.cloud.osconfig.v1beta.PatchJobInsta"
-          + "nceDetails\022\027\n\017next_page_token\030\002 \001(\t\"\264\001\n\027"
-          + "PatchJobInstanceDetails\022\014\n\004name\030\001 \001(\t\022\032\n"
-          + "\022instance_system_id\030\002 \001(\t\022@\n\005state\030\003 \001(\016"
-          + "21.google.cloud.osconfig.v1beta.Instance"
-          + ".PatchState\022\026\n\016failure_reason\030\004 \001(\t\022\025\n\ra"
-          + "ttempt_count\030\005 \001(\003\"b\n\024ListPatchJobsReque"
-          + "st\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001"
-          + "(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"l"
-          + "\n\025ListPatchJobsResponse\022:\n\npatch_jobs\030\001 "
-          + "\003(\0132&.google.cloud.osconfig.v1beta.Patch"
-          + "Job\022\027\n\017next_page_token\030\002 \001(\t\"\304\013\n\010PatchJo"
-          + "b\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\016 \001(\t\022\023\n"
-          + "\013description\030\002 \001(\t\022/\n\013create_time\030\003 \001(\0132"
-          + "\032.google.protobuf.Timestamp\022/\n\013update_ti"
-          + "me\030\004 \001(\0132\032.google.protobuf.Timestamp\022;\n\005"
-          + "state\030\005 \001(\0162,.google.cloud.osconfig.v1be"
-          + "ta.PatchJob.State\022J\n\017instance_filter\030\r \001"
-          + "(\01321.google.cloud.osconfig.v1beta.PatchI"
-          + "nstanceFilter\022?\n\014patch_config\030\007 \001(\0132).go"
-          + "ogle.cloud.osconfig.v1beta.PatchConfig\022+"
-          + "\n\010duration\030\010 \001(\0132\031.google.protobuf.Durat"
-          + "ion\022_\n\030instance_details_summary\030\t \001(\0132=."
-          + "google.cloud.osconfig.v1beta.PatchJob.In"
-          + "stanceDetailsSummary\022\017\n\007dry_run\030\n \001(\010\022\025\n"
-          + "\rerror_message\030\013 \001(\t\022\030\n\020percent_complete"
-          + "\030\014 \001(\001\022\035\n\020patch_deployment\030\017 \001(\tB\003\340A\003\022;\n"
-          + "\007rollout\030\020 \001(\0132*.google.cloud.osconfig.v"
-          + "1beta.PatchRollout\032\275\004\n\026InstanceDetailsSu"
-          + "mmary\022\036\n\026pending_instance_count\030\001 \001(\003\022\037\n"
-          + "\027inactive_instance_count\030\002 \001(\003\022\037\n\027notifi"
-          + "ed_instance_count\030\003 \001(\003\022\036\n\026started_insta"
-          + "nce_count\030\004 \001(\003\022*\n\"downloading_patches_i"
-          + "nstance_count\030\005 \001(\003\022\'\n\037applying_patches_"
-          + "instance_count\030\006 \001(\003\022 \n\030rebooting_instan"
-          + "ce_count\030\007 \001(\003\022 \n\030succeeded_instance_cou"
-          + "nt\030\010 \001(\003\0220\n(succeeded_reboot_required_in"
-          + "stance_count\030\t \001(\003\022\035\n\025failed_instance_co"
-          + "unt\030\n \001(\003\022\034\n\024acked_instance_count\030\013 \001(\003\022"
-          + " \n\030timed_out_instance_count\030\014 \001(\003\022%\n\035pre"
-          + "_patch_step_instance_count\030\r \001(\003\022&\n\036post"
-          + "_patch_step_instance_count\030\016 \001(\003\022(\n no_a"
-          + "gent_detected_instance_count\030\017 \001(\003\"\225\001\n\005S"
-          + "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007STARTED\020\001"
-          + "\022\023\n\017INSTANCE_LOOKUP\020\002\022\014\n\010PATCHING\020\003\022\r\n\tS"
-          + "UCCEEDED\020\004\022\031\n\025COMPLETED_WITH_ERRORS\020\005\022\014\n"
-          + "\010CANCELED\020\006\022\r\n\tTIMED_OUT\020\007:O\352AL\n osconfi"
-          + "g.googleapis.com/PatchJob\022(projects/{pro"
-          + "ject}/patchJobs/{patch_job}\"\366\004\n\013PatchCon"
-          + "fig\022M\n\rreboot_config\030\001 \001(\01626.google.clou"
-          + "d.osconfig.v1beta.PatchConfig.RebootConf"
-          + "ig\0226\n\003apt\030\003 \001(\0132).google.cloud.osconfig."
-          + "v1beta.AptSettings\0226\n\003yum\030\004 \001(\0132).google"
-          + ".cloud.osconfig.v1beta.YumSettings\0226\n\003go"
-          + "o\030\005 \001(\0132).google.cloud.osconfig.v1beta.G"
-          + "ooSettings\022<\n\006zypper\030\006 \001(\0132,.google.clou"
-          + "d.osconfig.v1beta.ZypperSettings\022K\n\016wind"
-          + "ows_update\030\007 \001(\01323.google.cloud.osconfig"
-          + ".v1beta.WindowsUpdateSettings\0228\n\010pre_ste"
-          + "p\030\010 \001(\0132&.google.cloud.osconfig.v1beta.E"
-          + "xecStep\0229\n\tpost_step\030\t \001(\0132&.google.clou"
-          + "d.osconfig.v1beta.ExecStep\022\035\n\025mig_instan"
-          + "ces_allowed\030\n \001(\010\"Q\n\014RebootConfig\022\035\n\031REB"
-          + "OOT_CONFIG_UNSPECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\n\n"
-          + "\006ALWAYS\020\002\022\t\n\005NEVER\020\003\"\316\002\n\010Instance\"\301\002\n\nPa"
-          + "tchState\022\033\n\027PATCH_STATE_UNSPECIFIED\020\000\022\013\n"
-          + "\007PENDING\020\001\022\014\n\010INACTIVE\020\002\022\014\n\010NOTIFIED\020\003\022\013"
-          + "\n\007STARTED\020\004\022\027\n\023DOWNLOADING_PATCHES\020\005\022\024\n\020"
-          + "APPLYING_PATCHES\020\006\022\r\n\tREBOOTING\020\007\022\r\n\tSUC"
-          + "CEEDED\020\010\022\035\n\031SUCCEEDED_REBOOT_REQUIRED\020\t\022"
-          + "\n\n\006FAILED\020\n\022\t\n\005ACKED\020\013\022\r\n\tTIMED_OUT\020\014\022\032\n"
-          + "\026RUNNING_PRE_PATCH_STEP\020\r\022\033\n\027RUNNING_POS"
-          + "T_PATCH_STEP\020\016\022\025\n\021NO_AGENT_DETECTED\020\017\"*\n"
-          + "\025CancelPatchJobRequest\022\021\n\004name\030\001 \001(\tB\003\340A"
-          + "\002\"\256\001\n\013AptSettings\022<\n\004type\030\001 \001(\0162..google"
-          + ".cloud.osconfig.v1beta.AptSettings.Type\022"
-          + "\020\n\010excludes\030\002 \003(\t\022\032\n\022exclusive_packages\030"
-          + "\003 \003(\t\"3\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\010\n\004D"
-          + "IST\020\001\022\013\n\007UPGRADE\020\002\"^\n\013YumSettings\022\020\n\010sec"
-          + "urity\030\001 \001(\010\022\017\n\007minimal\030\002 \001(\010\022\020\n\010excludes"
-          + "\030\003 \003(\t\022\032\n\022exclusive_packages\030\004 \003(\t\"\r\n\013Go"
-          + "oSettings\"\221\001\n\016ZypperSettings\022\025\n\rwith_opt"
-          + "ional\030\001 \001(\010\022\023\n\013with_update\030\002 \001(\010\022\022\n\ncate"
-          + "gories\030\003 \003(\t\022\022\n\nseverities\030\004 \003(\t\022\020\n\010excl"
-          + "udes\030\005 \003(\t\022\031\n\021exclusive_patches\030\006 \003(\t\"\331\002"
-          + "\n\025WindowsUpdateSettings\022[\n\017classificatio"
-          + "ns\030\001 \003(\0162B.google.cloud.osconfig.v1beta."
-          + "WindowsUpdateSettings.Classification\022\020\n\010"
-          + "excludes\030\002 \003(\t\022\031\n\021exclusive_patches\030\003 \003("
-          + "\t\"\265\001\n\016Classification\022\036\n\032CLASSIFICATION_U"
-          + "NSPECIFIED\020\000\022\014\n\010CRITICAL\020\001\022\014\n\010SECURITY\020\002"
-          + "\022\016\n\nDEFINITION\020\003\022\n\n\006DRIVER\020\004\022\020\n\014FEATURE_"
-          + "PACK\020\005\022\020\n\014SERVICE_PACK\020\006\022\010\n\004TOOL\020\007\022\021\n\rUP"
-          + "DATE_ROLLUP\020\010\022\n\n\006UPDATE\020\t\"\250\001\n\010ExecStep\022L"
-          + "\n\026linux_exec_step_config\030\001 \001(\0132,.google."
-          + "cloud.osconfig.v1beta.ExecStepConfig\022N\n\030"
-          + "windows_exec_step_config\030\002 \001(\0132,.google."
-          + "cloud.osconfig.v1beta.ExecStepConfig\"\250\002\n"
-          + "\016ExecStepConfig\022\024\n\nlocal_path\030\001 \001(\tH\000\022=\n"
-          + "\ngcs_object\030\002 \001(\0132\'.google.cloud.osconfi"
-          + "g.v1beta.GcsObjectH\000\022\035\n\025allowed_success_"
-          + "codes\030\003 \003(\005\022M\n\013interpreter\030\004 \001(\01628.googl"
-          + "e.cloud.osconfig.v1beta.ExecStepConfig.I"
-          + "nterpreter\"E\n\013Interpreter\022\033\n\027INTERPRETER"
-          + "_UNSPECIFIED\020\000\022\t\n\005SHELL\020\001\022\016\n\nPOWERSHELL\020"
-          + "\002B\014\n\nexecutable\"U\n\tGcsObject\022\023\n\006bucket\030\001"
-          + " \001(\tB\003\340A\002\022\023\n\006object\030\002 \001(\tB\003\340A\002\022\036\n\021genera"
-          + "tion_number\030\003 \001(\003B\003\340A\002\"\320\002\n\023PatchInstance"
-          + "Filter\022\013\n\003all\030\001 \001(\010\022R\n\014group_labels\030\002 \003("
-          + "\0132<.google.cloud.osconfig.v1beta.PatchIn"
-          + "stanceFilter.GroupLabel\022\r\n\005zones\030\003 \003(\t\022\021"
-          + "\n\tinstances\030\004 \003(\t\022\036\n\026instance_name_prefi"
-          + "xes\030\005 \003(\t\032\225\001\n\nGroupLabel\022X\n\006labels\030\001 \003(\013"
-          + "2H.google.cloud.osconfig.v1beta.PatchIns"
-          + "tanceFilter.GroupLabel.LabelsEntry\032-\n\013La"
-          + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028"
-          + "\001\"\334\001\n\014PatchRollout\022=\n\004mode\030\001 \001(\0162/.googl"
-          + "e.cloud.osconfig.v1beta.PatchRollout.Mod"
-          + "e\022G\n\021disruption_budget\030\002 \001(\0132,.google.cl"
-          + "oud.osconfig.v1beta.FixedOrPercent\"D\n\004Mo"
-          + "de\022\024\n\020MODE_UNSPECIFIED\020\000\022\020\n\014ZONE_BY_ZONE"
-          + "\020\001\022\024\n\020CONCURRENT_ZONES\020\002Bs\n com.google.c"
-          + "loud.osconfig.v1betaB\tPatchJobsZDgoogle."
-          + "golang.org/genproto/googleapis/cloud/osc"
-          + "onfig/v1beta;osconfigb\006proto3"
+      "\n-google/cloud/osconfig/v1beta/patch_job" +
+      "s.proto\022\034google.cloud.osconfig.v1beta\032\034g" +
+      "oogle/api/annotations.proto\032\037google/api/" +
+      "field_behavior.proto\032\031google/api/resourc" +
+      "e.proto\0322google/cloud/osconfig/v1beta/os" +
+      "config_common.proto\032\036google/protobuf/dur" +
+      "ation.proto\032\037google/protobuf/timestamp.p" +
+      "roto\"\345\002\n\026ExecutePatchJobRequest\022\023\n\006paren" +
+      "t\030\001 \001(\tB\003\340A\002\022\023\n\013description\030\002 \001(\t\022O\n\017ins" +
+      "tance_filter\030\007 \001(\01321.google.cloud.osconf" +
+      "ig.v1beta.PatchInstanceFilterB\003\340A\002\022?\n\014pa" +
+      "tch_config\030\004 \001(\0132).google.cloud.osconfig" +
+      ".v1beta.PatchConfig\022+\n\010duration\030\005 \001(\0132\031." +
+      "google.protobuf.Duration\022\017\n\007dry_run\030\006 \001(" +
+      "\010\022\024\n\014display_name\030\010 \001(\t\022;\n\007rollout\030\t \001(\013" +
+      "2*.google.cloud.osconfig.v1beta.PatchRol" +
+      "lout\"\'\n\022GetPatchJobRequest\022\021\n\004name\030\001 \001(\t" +
+      "B\003\340A\002\"p\n\"ListPatchJobInstanceDetailsRequ" +
+      "est\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 " +
+      "\001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"" +
+      "\231\001\n#ListPatchJobInstanceDetailsResponse\022" +
+      "Y\n\032patch_job_instance_details\030\001 \003(\01325.go" +
+      "ogle.cloud.osconfig.v1beta.PatchJobInsta" +
+      "nceDetails\022\027\n\017next_page_token\030\002 \001(\t\"\264\001\n\027" +
+      "PatchJobInstanceDetails\022\014\n\004name\030\001 \001(\t\022\032\n" +
+      "\022instance_system_id\030\002 \001(\t\022@\n\005state\030\003 \001(\016" +
+      "21.google.cloud.osconfig.v1beta.Instance" +
+      ".PatchState\022\026\n\016failure_reason\030\004 \001(\t\022\025\n\ra" +
+      "ttempt_count\030\005 \001(\003\"b\n\024ListPatchJobsReque" +
+      "st\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001" +
+      "(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"l" +
+      "\n\025ListPatchJobsResponse\022:\n\npatch_jobs\030\001 " +
+      "\003(\0132&.google.cloud.osconfig.v1beta.Patch" +
+      "Job\022\027\n\017next_page_token\030\002 \001(\t\"\304\013\n\010PatchJo" +
+      "b\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\016 \001(\t\022\023\n" +
+      "\013description\030\002 \001(\t\022/\n\013create_time\030\003 \001(\0132" +
+      "\032.google.protobuf.Timestamp\022/\n\013update_ti" +
+      "me\030\004 \001(\0132\032.google.protobuf.Timestamp\022;\n\005" +
+      "state\030\005 \001(\0162,.google.cloud.osconfig.v1be" +
+      "ta.PatchJob.State\022J\n\017instance_filter\030\r \001" +
+      "(\01321.google.cloud.osconfig.v1beta.PatchI" +
+      "nstanceFilter\022?\n\014patch_config\030\007 \001(\0132).go" +
+      "ogle.cloud.osconfig.v1beta.PatchConfig\022+" +
+      "\n\010duration\030\010 \001(\0132\031.google.protobuf.Durat" +
+      "ion\022_\n\030instance_details_summary\030\t \001(\0132=." +
+      "google.cloud.osconfig.v1beta.PatchJob.In" +
+      "stanceDetailsSummary\022\017\n\007dry_run\030\n \001(\010\022\025\n" +
+      "\rerror_message\030\013 \001(\t\022\030\n\020percent_complete" +
+      "\030\014 \001(\001\022\035\n\020patch_deployment\030\017 \001(\tB\003\340A\003\022;\n" +
+      "\007rollout\030\020 \001(\0132*.google.cloud.osconfig.v" +
+      "1beta.PatchRollout\032\275\004\n\026InstanceDetailsSu" +
+      "mmary\022\036\n\026pending_instance_count\030\001 \001(\003\022\037\n" +
+      "\027inactive_instance_count\030\002 \001(\003\022\037\n\027notifi" +
+      "ed_instance_count\030\003 \001(\003\022\036\n\026started_insta" +
+      "nce_count\030\004 \001(\003\022*\n\"downloading_patches_i" +
+      "nstance_count\030\005 \001(\003\022\'\n\037applying_patches_" +
+      "instance_count\030\006 \001(\003\022 \n\030rebooting_instan" +
+      "ce_count\030\007 \001(\003\022 \n\030succeeded_instance_cou" +
+      "nt\030\010 \001(\003\0220\n(succeeded_reboot_required_in" +
+      "stance_count\030\t \001(\003\022\035\n\025failed_instance_co" +
+      "unt\030\n \001(\003\022\034\n\024acked_instance_count\030\013 \001(\003\022" +
+      " \n\030timed_out_instance_count\030\014 \001(\003\022%\n\035pre" +
+      "_patch_step_instance_count\030\r \001(\003\022&\n\036post" +
+      "_patch_step_instance_count\030\016 \001(\003\022(\n no_a" +
+      "gent_detected_instance_count\030\017 \001(\003\"\225\001\n\005S" +
+      "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007STARTED\020\001" +
+      "\022\023\n\017INSTANCE_LOOKUP\020\002\022\014\n\010PATCHING\020\003\022\r\n\tS" +
+      "UCCEEDED\020\004\022\031\n\025COMPLETED_WITH_ERRORS\020\005\022\014\n" +
+      "\010CANCELED\020\006\022\r\n\tTIMED_OUT\020\007:O\352AL\n osconfi" +
+      "g.googleapis.com/PatchJob\022(projects/{pro" +
+      "ject}/patchJobs/{patch_job}\"\366\004\n\013PatchCon" +
+      "fig\022M\n\rreboot_config\030\001 \001(\01626.google.clou" +
+      "d.osconfig.v1beta.PatchConfig.RebootConf" +
+      "ig\0226\n\003apt\030\003 \001(\0132).google.cloud.osconfig." +
+      "v1beta.AptSettings\0226\n\003yum\030\004 \001(\0132).google" +
+      ".cloud.osconfig.v1beta.YumSettings\0226\n\003go" +
+      "o\030\005 \001(\0132).google.cloud.osconfig.v1beta.G" +
+      "ooSettings\022<\n\006zypper\030\006 \001(\0132,.google.clou" +
+      "d.osconfig.v1beta.ZypperSettings\022K\n\016wind" +
+      "ows_update\030\007 \001(\01323.google.cloud.osconfig" +
+      ".v1beta.WindowsUpdateSettings\0228\n\010pre_ste" +
+      "p\030\010 \001(\0132&.google.cloud.osconfig.v1beta.E" +
+      "xecStep\0229\n\tpost_step\030\t \001(\0132&.google.clou" +
+      "d.osconfig.v1beta.ExecStep\022\035\n\025mig_instan" +
+      "ces_allowed\030\n \001(\010\"Q\n\014RebootConfig\022\035\n\031REB" +
+      "OOT_CONFIG_UNSPECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\n\n" +
+      "\006ALWAYS\020\002\022\t\n\005NEVER\020\003\"\316\002\n\010Instance\"\301\002\n\nPa" +
+      "tchState\022\033\n\027PATCH_STATE_UNSPECIFIED\020\000\022\013\n" +
+      "\007PENDING\020\001\022\014\n\010INACTIVE\020\002\022\014\n\010NOTIFIED\020\003\022\013" +
+      "\n\007STARTED\020\004\022\027\n\023DOWNLOADING_PATCHES\020\005\022\024\n\020" +
+      "APPLYING_PATCHES\020\006\022\r\n\tREBOOTING\020\007\022\r\n\tSUC" +
+      "CEEDED\020\010\022\035\n\031SUCCEEDED_REBOOT_REQUIRED\020\t\022" +
+      "\n\n\006FAILED\020\n\022\t\n\005ACKED\020\013\022\r\n\tTIMED_OUT\020\014\022\032\n" +
+      "\026RUNNING_PRE_PATCH_STEP\020\r\022\033\n\027RUNNING_POS" +
+      "T_PATCH_STEP\020\016\022\025\n\021NO_AGENT_DETECTED\020\017\"*\n" +
+      "\025CancelPatchJobRequest\022\021\n\004name\030\001 \001(\tB\003\340A" +
+      "\002\"\256\001\n\013AptSettings\022<\n\004type\030\001 \001(\0162..google" +
+      ".cloud.osconfig.v1beta.AptSettings.Type\022" +
+      "\020\n\010excludes\030\002 \003(\t\022\032\n\022exclusive_packages\030" +
+      "\003 \003(\t\"3\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\010\n\004D" +
+      "IST\020\001\022\013\n\007UPGRADE\020\002\"^\n\013YumSettings\022\020\n\010sec" +
+      "urity\030\001 \001(\010\022\017\n\007minimal\030\002 \001(\010\022\020\n\010excludes" +
+      "\030\003 \003(\t\022\032\n\022exclusive_packages\030\004 \003(\t\"\r\n\013Go" +
+      "oSettings\"\221\001\n\016ZypperSettings\022\025\n\rwith_opt" +
+      "ional\030\001 \001(\010\022\023\n\013with_update\030\002 \001(\010\022\022\n\ncate" +
+      "gories\030\003 \003(\t\022\022\n\nseverities\030\004 \003(\t\022\020\n\010excl" +
+      "udes\030\005 \003(\t\022\031\n\021exclusive_patches\030\006 \003(\t\"\331\002" +
+      "\n\025WindowsUpdateSettings\022[\n\017classificatio" +
+      "ns\030\001 \003(\0162B.google.cloud.osconfig.v1beta." +
+      "WindowsUpdateSettings.Classification\022\020\n\010" +
+      "excludes\030\002 \003(\t\022\031\n\021exclusive_patches\030\003 \003(" +
+      "\t\"\265\001\n\016Classification\022\036\n\032CLASSIFICATION_U" +
+      "NSPECIFIED\020\000\022\014\n\010CRITICAL\020\001\022\014\n\010SECURITY\020\002" +
+      "\022\016\n\nDEFINITION\020\003\022\n\n\006DRIVER\020\004\022\020\n\014FEATURE_" +
+      "PACK\020\005\022\020\n\014SERVICE_PACK\020\006\022\010\n\004TOOL\020\007\022\021\n\rUP" +
+      "DATE_ROLLUP\020\010\022\n\n\006UPDATE\020\t\"\250\001\n\010ExecStep\022L" +
+      "\n\026linux_exec_step_config\030\001 \001(\0132,.google." +
+      "cloud.osconfig.v1beta.ExecStepConfig\022N\n\030" +
+      "windows_exec_step_config\030\002 \001(\0132,.google." +
+      "cloud.osconfig.v1beta.ExecStepConfig\"\250\002\n" +
+      "\016ExecStepConfig\022\024\n\nlocal_path\030\001 \001(\tH\000\022=\n" +
+      "\ngcs_object\030\002 \001(\0132\'.google.cloud.osconfi" +
+      "g.v1beta.GcsObjectH\000\022\035\n\025allowed_success_" +
+      "codes\030\003 \003(\005\022M\n\013interpreter\030\004 \001(\01628.googl" +
+      "e.cloud.osconfig.v1beta.ExecStepConfig.I" +
+      "nterpreter\"E\n\013Interpreter\022\033\n\027INTERPRETER" +
+      "_UNSPECIFIED\020\000\022\t\n\005SHELL\020\001\022\016\n\nPOWERSHELL\020" +
+      "\002B\014\n\nexecutable\"U\n\tGcsObject\022\023\n\006bucket\030\001" +
+      " \001(\tB\003\340A\002\022\023\n\006object\030\002 \001(\tB\003\340A\002\022\036\n\021genera" +
+      "tion_number\030\003 \001(\003B\003\340A\002\"\320\002\n\023PatchInstance" +
+      "Filter\022\013\n\003all\030\001 \001(\010\022R\n\014group_labels\030\002 \003(" +
+      "\0132<.google.cloud.osconfig.v1beta.PatchIn" +
+      "stanceFilter.GroupLabel\022\r\n\005zones\030\003 \003(\t\022\021" +
+      "\n\tinstances\030\004 \003(\t\022\036\n\026instance_name_prefi" +
+      "xes\030\005 \003(\t\032\225\001\n\nGroupLabel\022X\n\006labels\030\001 \003(\013" +
+      "2H.google.cloud.osconfig.v1beta.PatchIns" +
+      "tanceFilter.GroupLabel.LabelsEntry\032-\n\013La" +
+      "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" +
+      "\001\"\334\001\n\014PatchRollout\022=\n\004mode\030\001 \001(\0162/.googl" +
+      "e.cloud.osconfig.v1beta.PatchRollout.Mod" +
+      "e\022G\n\021disruption_budget\030\002 \001(\0132,.google.cl" +
+      "oud.osconfig.v1beta.FixedOrPercent\"D\n\004Mo" +
+      "de\022\024\n\020MODE_UNSPECIFIED\020\000\022\020\n\014ZONE_BY_ZONE" +
+      "\020\001\022\024\n\020CONCURRENT_ZONES\020\002Bs\n com.google.c" +
+      "loud.osconfig.v1betaB\tPatchJobsZDgoogle." +
+      "golang.org/genproto/googleapis/cloud/osc" +
+      "onfig/v1beta;osconfigb\006proto3"
     };
-    descriptor =
-        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
-            descriptorData,
-            new com.google.protobuf.Descriptors.FileDescriptor[] {
-              com.google.api.AnnotationsProto.getDescriptor(),
-              com.google.api.FieldBehaviorProto.getDescriptor(),
-              com.google.api.ResourceProto.getDescriptor(),
-              com.google.cloud.osconfig.v1beta.Common.getDescriptor(),
-              com.google.protobuf.DurationProto.getDescriptor(),
-              com.google.protobuf.TimestampProto.getDescriptor(),
-            });
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.AnnotationsProto.getDescriptor(),
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.cloud.osconfig.v1beta.Common.getDescriptor(),
+          com.google.protobuf.DurationProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
     internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor =
-        getDescriptor().getMessageTypes().get(0);
-    internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor,
-            new java.lang.String[] {
-              "Parent",
-              "Description",
-              "InstanceFilter",
-              "PatchConfig",
-              "Duration",
-              "DryRun",
-              "DisplayName",
-              "Rollout",
-            });
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor,
+        new java.lang.String[] { "Parent", "Description", "InstanceFilter", "PatchConfig", "Duration", "DryRun", "DisplayName", "Rollout", });
     internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor =
-        getDescriptor().getMessageTypes().get(1);
-    internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor,
+        new java.lang.String[] { "Name", });
     internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor =
-        getDescriptor().getMessageTypes().get(2);
-    internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor,
-            new java.lang.String[] {
-              "Parent", "PageSize", "PageToken", "Filter",
-            });
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", });
     internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor =
-        getDescriptor().getMessageTypes().get(3);
-    internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor,
-            new java.lang.String[] {
-              "PatchJobInstanceDetails", "NextPageToken",
-            });
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor,
+        new java.lang.String[] { "PatchJobInstanceDetails", "NextPageToken", });
     internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor =
-        getDescriptor().getMessageTypes().get(4);
-    internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor,
-            new java.lang.String[] {
-              "Name", "InstanceSystemId", "State", "FailureReason", "AttemptCount",
-            });
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor,
+        new java.lang.String[] { "Name", "InstanceSystemId", "State", "FailureReason", "AttemptCount", });
     internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor =
-        getDescriptor().getMessageTypes().get(5);
-    internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor,
-            new java.lang.String[] {
-              "Parent", "PageSize", "PageToken", "Filter",
-            });
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", });
     internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor =
-        getDescriptor().getMessageTypes().get(6);
-    internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor,
-            new java.lang.String[] {
-              "PatchJobs", "NextPageToken",
-            });
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor,
+        new java.lang.String[] { "PatchJobs", "NextPageToken", });
     internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor =
-        getDescriptor().getMessageTypes().get(7);
-    internal_static_google_cloud_osconfig_v1beta_PatchJob_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor,
-            new java.lang.String[] {
-              "Name",
-              "DisplayName",
-              "Description",
-              "CreateTime",
-              "UpdateTime",
-              "State",
-              "InstanceFilter",
-              "PatchConfig",
-              "Duration",
-              "InstanceDetailsSummary",
-              "DryRun",
-              "ErrorMessage",
-              "PercentComplete",
-              "PatchDeployment",
-              "Rollout",
-            });
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_osconfig_v1beta_PatchJob_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor,
+        new java.lang.String[] { "Name", "DisplayName", "Description", "CreateTime", "UpdateTime", "State", "InstanceFilter", "PatchConfig", "Duration", "InstanceDetailsSummary", "DryRun", "ErrorMessage", "PercentComplete", "PatchDeployment", "Rollout", });
     internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor =
-        internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor.getNestedTypes().get(0);
-    internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor,
-            new java.lang.String[] {
-              "PendingInstanceCount",
-              "InactiveInstanceCount",
-              "NotifiedInstanceCount",
-              "StartedInstanceCount",
-              "DownloadingPatchesInstanceCount",
-              "ApplyingPatchesInstanceCount",
-              "RebootingInstanceCount",
-              "SucceededInstanceCount",
-              "SucceededRebootRequiredInstanceCount",
-              "FailedInstanceCount",
-              "AckedInstanceCount",
-              "TimedOutInstanceCount",
-              "PrePatchStepInstanceCount",
-              "PostPatchStepInstanceCount",
-              "NoAgentDetectedInstanceCount",
-            });
+      internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor,
+        new java.lang.String[] { "PendingInstanceCount", "InactiveInstanceCount", "NotifiedInstanceCount", "StartedInstanceCount", "DownloadingPatchesInstanceCount", "ApplyingPatchesInstanceCount", "RebootingInstanceCount", "SucceededInstanceCount", "SucceededRebootRequiredInstanceCount", "FailedInstanceCount", "AckedInstanceCount", "TimedOutInstanceCount", "PrePatchStepInstanceCount", "PostPatchStepInstanceCount", "NoAgentDetectedInstanceCount", });
     internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor =
-        getDescriptor().getMessageTypes().get(8);
-    internal_static_google_cloud_osconfig_v1beta_PatchConfig_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor,
-            new java.lang.String[] {
-              "RebootConfig",
-              "Apt",
-              "Yum",
-              "Goo",
-              "Zypper",
-              "WindowsUpdate",
-              "PreStep",
-              "PostStep",
-              "MigInstancesAllowed",
-            });
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_osconfig_v1beta_PatchConfig_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor,
+        new java.lang.String[] { "RebootConfig", "Apt", "Yum", "Goo", "Zypper", "WindowsUpdate", "PreStep", "PostStep", "MigInstancesAllowed", });
     internal_static_google_cloud_osconfig_v1beta_Instance_descriptor =
-        getDescriptor().getMessageTypes().get(9);
-    internal_static_google_cloud_osconfig_v1beta_Instance_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_Instance_descriptor,
-            new java.lang.String[] {});
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_osconfig_v1beta_Instance_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_Instance_descriptor,
+        new java.lang.String[] { });
     internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor =
-        getDescriptor().getMessageTypes().get(10);
-    internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor,
+        new java.lang.String[] { "Name", });
     internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor =
-        getDescriptor().getMessageTypes().get(11);
-    internal_static_google_cloud_osconfig_v1beta_AptSettings_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor,
-            new java.lang.String[] {
-              "Type", "Excludes", "ExclusivePackages",
-            });
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_osconfig_v1beta_AptSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor,
+        new java.lang.String[] { "Type", "Excludes", "ExclusivePackages", });
     internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor =
-        getDescriptor().getMessageTypes().get(12);
-    internal_static_google_cloud_osconfig_v1beta_YumSettings_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor,
-            new java.lang.String[] {
-              "Security", "Minimal", "Excludes", "ExclusivePackages",
-            });
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_osconfig_v1beta_YumSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor,
+        new java.lang.String[] { "Security", "Minimal", "Excludes", "ExclusivePackages", });
     internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor =
-        getDescriptor().getMessageTypes().get(13);
-    internal_static_google_cloud_osconfig_v1beta_GooSettings_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor,
-            new java.lang.String[] {});
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_osconfig_v1beta_GooSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor,
+        new java.lang.String[] { });
     internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor =
-        getDescriptor().getMessageTypes().get(14);
-    internal_static_google_cloud_osconfig_v1beta_ZypperSettings_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor,
-            new java.lang.String[] {
-              "WithOptional",
-              "WithUpdate",
-              "Categories",
-              "Severities",
-              "Excludes",
-              "ExclusivePatches",
-            });
+      getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_osconfig_v1beta_ZypperSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor,
+        new java.lang.String[] { "WithOptional", "WithUpdate", "Categories", "Severities", "Excludes", "ExclusivePatches", });
     internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor =
-        getDescriptor().getMessageTypes().get(15);
-    internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor,
-            new java.lang.String[] {
-              "Classifications", "Excludes", "ExclusivePatches",
-            });
+      getDescriptor().getMessageTypes().get(15);
+    internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor,
+        new java.lang.String[] { "Classifications", "Excludes", "ExclusivePatches", });
     internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor =
-        getDescriptor().getMessageTypes().get(16);
-    internal_static_google_cloud_osconfig_v1beta_ExecStep_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor,
-            new java.lang.String[] {
-              "LinuxExecStepConfig", "WindowsExecStepConfig",
-            });
+      getDescriptor().getMessageTypes().get(16);
+    internal_static_google_cloud_osconfig_v1beta_ExecStep_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor,
+        new java.lang.String[] { "LinuxExecStepConfig", "WindowsExecStepConfig", });
     internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor =
-        getDescriptor().getMessageTypes().get(17);
-    internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor,
-            new java.lang.String[] {
-              "LocalPath", "GcsObject", "AllowedSuccessCodes", "Interpreter", "Executable",
-            });
+      getDescriptor().getMessageTypes().get(17);
+    internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor,
+        new java.lang.String[] { "LocalPath", "GcsObject", "AllowedSuccessCodes", "Interpreter", "Executable", });
     internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor =
-        getDescriptor().getMessageTypes().get(18);
-    internal_static_google_cloud_osconfig_v1beta_GcsObject_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor,
-            new java.lang.String[] {
-              "Bucket", "Object", "GenerationNumber",
-            });
+      getDescriptor().getMessageTypes().get(18);
+    internal_static_google_cloud_osconfig_v1beta_GcsObject_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor,
+        new java.lang.String[] { "Bucket", "Object", "GenerationNumber", });
     internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor =
-        getDescriptor().getMessageTypes().get(19);
-    internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor,
-            new java.lang.String[] {
-              "All", "GroupLabels", "Zones", "Instances", "InstanceNamePrefixes",
-            });
+      getDescriptor().getMessageTypes().get(19);
+    internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor,
+        new java.lang.String[] { "All", "GroupLabels", "Zones", "Instances", "InstanceNamePrefixes", });
     internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor =
-        internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor
-            .getNestedTypes()
-            .get(0);
-    internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor,
-            new java.lang.String[] {
-              "Labels",
-            });
+      internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor,
+        new java.lang.String[] { "Labels", });
     internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor =
-        internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor
-            .getNestedTypes()
-            .get(0);
-    internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor,
-            new java.lang.String[] {
-              "Key", "Value",
-            });
+      internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
     internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor =
-        getDescriptor().getMessageTypes().get(20);
-    internal_static_google_cloud_osconfig_v1beta_PatchRollout_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor,
-            new java.lang.String[] {
-              "Mode", "DisruptionBudget",
-            });
+      getDescriptor().getMessageTypes().get(20);
+    internal_static_google_cloud_osconfig_v1beta_PatchRollout_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor,
+        new java.lang.String[] { "Mode", "DisruptionBudget", });
     com.google.protobuf.ExtensionRegistry registry =
         com.google.protobuf.ExtensionRegistry.newInstance();
     registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
     registry.add(com.google.api.ResourceProto.resource);
-    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
-        descriptor, registry);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
     com.google.api.AnnotationsProto.getDescriptor();
     com.google.api.FieldBehaviorProto.getDescriptor();
     com.google.api.ResourceProto.getDescriptor();
diff --git a/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/ProjectName.java b/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/ProjectName.java
similarity index 100%
rename from proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/ProjectName.java
rename to owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/ProjectName.java
diff --git a/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/guest_policies.proto b/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/guest_policies.proto
similarity index 100%
rename from proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/guest_policies.proto
rename to owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/guest_policies.proto
diff --git a/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/osconfig_common.proto b/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/osconfig_common.proto
similarity index 100%
rename from proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/osconfig_common.proto
rename to owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/osconfig_common.proto
diff --git a/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/osconfig_service.proto b/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/osconfig_service.proto
similarity index 100%
rename from proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/osconfig_service.proto
rename to owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/osconfig_service.proto
diff --git a/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/patch_deployments.proto b/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/patch_deployments.proto
similarity index 100%
rename from proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/patch_deployments.proto
rename to owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/patch_deployments.proto
diff --git a/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/patch_jobs.proto b/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/patch_jobs.proto
similarity index 100%
rename from proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/patch_jobs.proto
rename to owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/patch_jobs.proto
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetEndpoint.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/AsyncCreateGuestPolicy.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/AsyncCreateGuestPolicy.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/AsyncCreateGuestPolicy.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/AsyncCreateGuestPolicy.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicy.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicy.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicy.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicy.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy.java
similarity index 87%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy.java
index 62cfb5ac..2602868b 100644
--- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy.java
+++ b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.osconfig.v1beta.samples;
 
-// [START
-// osconfig_v1beta_generated_osconfigserviceclient_createguestpolicy_projectnameguestpoliciesguestpolicy_sync]
+// [START osconfig_v1beta_generated_osconfigserviceclient_createguestpolicy_projectnameguestpoliciesguestpolicy_sync]
 import com.google.cloud.osconfig.v1beta.GuestPolicies;
 import com.google.cloud.osconfig.v1beta.OsConfigServiceClient;
 import com.google.cloud.osconfig.v1beta.ProjectName;
@@ -39,5 +38,4 @@ public static void syncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy() th
     }
   }
 }
-// [END
-// osconfig_v1beta_generated_osconfigserviceclient_createguestpolicy_projectnameguestpoliciesguestpolicy_sync]
+// [END osconfig_v1beta_generated_osconfigserviceclient_createguestpolicy_projectnameguestpoliciesguestpolicy_sync]
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyStringGuestpoliciesguestpolicy.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyStringGuestpoliciesguestpolicy.java
similarity index 87%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyStringGuestpoliciesguestpolicy.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyStringGuestpoliciesguestpolicy.java
index 9658580c..f9cce410 100644
--- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyStringGuestpoliciesguestpolicy.java
+++ b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyStringGuestpoliciesguestpolicy.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.osconfig.v1beta.samples;
 
-// [START
-// osconfig_v1beta_generated_osconfigserviceclient_createguestpolicy_stringguestpoliciesguestpolicy_sync]
+// [START osconfig_v1beta_generated_osconfigserviceclient_createguestpolicy_stringguestpoliciesguestpolicy_sync]
 import com.google.cloud.osconfig.v1beta.GuestPolicies;
 import com.google.cloud.osconfig.v1beta.OsConfigServiceClient;
 import com.google.cloud.osconfig.v1beta.ProjectName;
@@ -39,5 +38,4 @@ public static void syncCreateGuestPolicyStringGuestpoliciesguestpolicy() throws
     }
   }
 }
-// [END
-// osconfig_v1beta_generated_osconfigserviceclient_createguestpolicy_stringguestpoliciesguestpolicy_sync]
+// [END osconfig_v1beta_generated_osconfigserviceclient_createguestpolicy_stringguestpoliciesguestpolicy_sync]
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/AsyncDeleteGuestPolicy.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/AsyncDeleteGuestPolicy.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/AsyncDeleteGuestPolicy.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/AsyncDeleteGuestPolicy.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicy.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicy.java
similarity index 98%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicy.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicy.java
index 345c4ccc..0573c4ee 100644
--- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicy.java
+++ b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicy.java
@@ -20,6 +20,7 @@
 import com.google.cloud.osconfig.v1beta.GuestPolicies;
 import com.google.cloud.osconfig.v1beta.GuestPolicyName;
 import com.google.cloud.osconfig.v1beta.OsConfigServiceClient;
+import com.google.protobuf.Empty;
 
 public class SyncDeleteGuestPolicy {
 
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyGuestpolicyname.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyGuestpolicyname.java
similarity index 97%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyGuestpolicyname.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyGuestpolicyname.java
index 42a094d5..af7def0a 100644
--- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyGuestpolicyname.java
+++ b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyGuestpolicyname.java
@@ -19,6 +19,7 @@
 // [START osconfig_v1beta_generated_osconfigserviceclient_deleteguestpolicy_guestpolicyname_sync]
 import com.google.cloud.osconfig.v1beta.GuestPolicyName;
 import com.google.cloud.osconfig.v1beta.OsConfigServiceClient;
+import com.google.protobuf.Empty;
 
 public class SyncDeleteGuestPolicyGuestpolicyname {
 
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyString.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyString.java
similarity index 97%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyString.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyString.java
index f86dd5a4..d46e5b90 100644
--- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyString.java
+++ b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyString.java
@@ -19,6 +19,7 @@
 // [START osconfig_v1beta_generated_osconfigserviceclient_deleteguestpolicy_string_sync]
 import com.google.cloud.osconfig.v1beta.GuestPolicyName;
 import com.google.cloud.osconfig.v1beta.OsConfigServiceClient;
+import com.google.protobuf.Empty;
 
 public class SyncDeleteGuestPolicyString {
 
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java
similarity index 97%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java
index f0182bad..e4b3dd1b 100644
--- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java
+++ b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java
@@ -19,6 +19,7 @@
 // [START osconfig_v1beta_generated_osconfigserviceclient_deletepatchdeployment_sync]
 import com.google.cloud.osconfig.v1beta.OsConfigServiceClient;
 import com.google.cloud.osconfig.v1beta.PatchDeployments;
+import com.google.protobuf.Empty;
 
 public class SyncDeletePatchDeployment {
 
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/AsyncGetGuestPolicy.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/AsyncGetGuestPolicy.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/AsyncGetGuestPolicy.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/AsyncGetGuestPolicy.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicy.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicy.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicy.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicy.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyGuestpolicyname.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyGuestpolicyname.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyGuestpolicyname.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyGuestpolicyname.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyString.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyString.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyString.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyString.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPolicies.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPolicies.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPolicies.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPolicies.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPoliciesPaged.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPoliciesPaged.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPoliciesPaged.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPoliciesPaged.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPolicies.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPolicies.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPolicies.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPolicies.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesProjectname.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesProjectname.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesProjectname.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesProjectname.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesString.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesString.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesString.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesString.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/AsyncLookupEffectiveGuestPolicy.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/AsyncLookupEffectiveGuestPolicy.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/AsyncLookupEffectiveGuestPolicy.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/AsyncLookupEffectiveGuestPolicy.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/SyncLookupEffectiveGuestPolicy.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/SyncLookupEffectiveGuestPolicy.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/SyncLookupEffectiveGuestPolicy.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/SyncLookupEffectiveGuestPolicy.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java
similarity index 87%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java
index bf757165..b51f9992 100644
--- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java
+++ b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.osconfig.v1beta.samples;
 
-// [START
-// osconfig_v1beta_generated_osconfigserviceclient_pausepatchdeployment_patchdeploymentname_sync]
+// [START osconfig_v1beta_generated_osconfigserviceclient_pausepatchdeployment_patchdeploymentname_sync]
 import com.google.cloud.osconfig.v1beta.OsConfigServiceClient;
 import com.google.cloud.osconfig.v1beta.PatchDeploymentName;
 import com.google.cloud.osconfig.v1beta.PatchDeployments;
@@ -37,5 +36,4 @@ public static void syncPausePatchDeploymentPatchdeploymentname() throws Exceptio
     }
   }
 }
-// [END
-// osconfig_v1beta_generated_osconfigserviceclient_pausepatchdeployment_patchdeploymentname_sync]
+// [END osconfig_v1beta_generated_osconfigserviceclient_pausepatchdeployment_patchdeploymentname_sync]
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java
similarity index 87%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java
index ffe95546..6d5d2487 100644
--- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java
+++ b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.osconfig.v1beta.samples;
 
-// [START
-// osconfig_v1beta_generated_osconfigserviceclient_resumepatchdeployment_patchdeploymentname_sync]
+// [START osconfig_v1beta_generated_osconfigserviceclient_resumepatchdeployment_patchdeploymentname_sync]
 import com.google.cloud.osconfig.v1beta.OsConfigServiceClient;
 import com.google.cloud.osconfig.v1beta.PatchDeploymentName;
 import com.google.cloud.osconfig.v1beta.PatchDeployments;
@@ -37,5 +36,4 @@ public static void syncResumePatchDeploymentPatchdeploymentname() throws Excepti
     }
   }
 }
-// [END
-// osconfig_v1beta_generated_osconfigserviceclient_resumepatchdeployment_patchdeploymentname_sync]
+// [END osconfig_v1beta_generated_osconfigserviceclient_resumepatchdeployment_patchdeploymentname_sync]
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/AsyncUpdateGuestPolicy.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/AsyncUpdateGuestPolicy.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/AsyncUpdateGuestPolicy.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/AsyncUpdateGuestPolicy.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicy.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicy.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicy.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicy.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask.java
similarity index 87%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask.java
index 3fb6a960..43d1946c 100644
--- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask.java
+++ b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.osconfig.v1beta.samples;
 
-// [START
-// osconfig_v1beta_generated_osconfigserviceclient_updateguestpolicy_guestpoliciesguestpolicyfieldmask_sync]
+// [START osconfig_v1beta_generated_osconfigserviceclient_updateguestpolicy_guestpoliciesguestpolicyfieldmask_sync]
 import com.google.cloud.osconfig.v1beta.GuestPolicies;
 import com.google.cloud.osconfig.v1beta.OsConfigServiceClient;
 import com.google.protobuf.FieldMask;
@@ -39,5 +38,4 @@ public static void syncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask() thro
     }
   }
 }
-// [END
-// osconfig_v1beta_generated_osconfigserviceclient_updateguestpolicy_guestpoliciesguestpolicyfieldmask_sync]
+// [END osconfig_v1beta_generated_osconfigserviceclient_updateguestpolicy_guestpoliciesguestpolicyfieldmask_sync]
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java
similarity index 86%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java
index 1645e5c8..083d297d 100644
--- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java
+++ b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.osconfig.v1beta.samples;
 
-// [START
-// osconfig_v1beta_generated_osconfigserviceclient_updatepatchdeployment_patchdeploymentspatchdeploymentfieldmask_sync]
+// [START osconfig_v1beta_generated_osconfigserviceclient_updatepatchdeployment_patchdeploymentspatchdeploymentfieldmask_sync]
 import com.google.cloud.osconfig.v1beta.OsConfigServiceClient;
 import com.google.cloud.osconfig.v1beta.PatchDeployments;
 import com.google.protobuf.FieldMask;
@@ -41,5 +40,4 @@ public static void syncUpdatePatchDeploymentPatchdeploymentspatchdeploymentField
     }
   }
 }
-// [END
-// osconfig_v1beta_generated_osconfigserviceclient_updatepatchdeployment_patchdeploymentspatchdeploymentfieldmask_sync]
+// [END osconfig_v1beta_generated_osconfigserviceclient_updatepatchdeployment_patchdeploymentspatchdeploymentfieldmask_sync]
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java
diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java b/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/osconfig/v1beta/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java
rename to owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java
diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequestOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequestOrBuilder.java
deleted file mode 100644
index 1a6c87b4..00000000
--- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequestOrBuilder.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * 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/osconfig/v1/os_policy_assignments.proto
-
-package com.google.cloud.osconfig.v1;
-
-public interface DeleteOSPolicyAssignmentRequestOrBuilder
-    extends
-    // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest)
-    com.google.protobuf.MessageOrBuilder {
-
-  /**
-   *
-   *
-   * 
-   * Required. The name of the OS policy assignment to be deleted
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the OS policy assignment to be deleted
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequestOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequestOrBuilder.java deleted file mode 100644 index 848a3412..00000000 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * 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/osconfig/v1/os_policy_assignments.proto - -package com.google.cloud.osconfig.v1; - -public interface GetOSPolicyAssignmentRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of OS policy assignment.
-   * Format:
-   * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of OS policy assignment.
-   * Format:
-   * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java deleted file mode 100644 index df1ca18c..00000000 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java +++ /dev/null @@ -1,356 +0,0 @@ -/* - * 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/osconfig/v1/inventory.proto - -package com.google.cloud.osconfig.v1; - -public final class Inventories { - private Inventories() {} - - 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_osconfig_v1_Inventory_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_Item_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_GetInventoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n(google/cloud/osconfig/v1/inventory.pro" - + "to\022\030google.cloud.osconfig.v1\032\037google/api" - + "/field_behavior.proto\032\031google/api/resour" - + "ce.proto\032\037google/protobuf/timestamp.prot" - + "o\032\026google/type/date.proto\"\330\025\n\tInventory\022" - + "\021\n\004name\030\003 \001(\tB\003\340A\003\022;\n\007os_info\030\001 \001(\0132*.go" - + "ogle.cloud.osconfig.v1.Inventory.OsInfo\022" - + "=\n\005items\030\002 \003(\0132..google.cloud.osconfig.v" - + "1.Inventory.ItemsEntry\0224\n\013update_time\030\004 " - + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\032\270\001\n" - + "\006OsInfo\022\020\n\010hostname\030\t \001(\t\022\021\n\tlong_name\030\002" - + " \001(\t\022\022\n\nshort_name\030\003 \001(\t\022\017\n\007version\030\004 \001(" - + "\t\022\024\n\014architecture\030\005 \001(\t\022\026\n\016kernel_versio" - + "n\030\006 \001(\t\022\026\n\016kernel_release\030\007 \001(\t\022\036\n\026oscon" - + "fig_agent_version\030\010 \001(\t\032\267\004\n\004Item\022\n\n\002id\030\001" - + " \001(\t\022H\n\013origin_type\030\002 \001(\01623.google.cloud" - + ".osconfig.v1.Inventory.Item.OriginType\022/" - + "\n\013create_time\030\010 \001(\0132\032.google.protobuf.Ti" - + "mestamp\022/\n\013update_time\030\t \001(\0132\032.google.pr" - + "otobuf.Timestamp\022;\n\004type\030\005 \001(\0162-.google." - + "cloud.osconfig.v1.Inventory.Item.Type\022P\n" - + "\021installed_package\030\006 \001(\01323.google.cloud." - + "osconfig.v1.Inventory.SoftwarePackageH\000\022" - + "P\n\021available_package\030\007 \001(\01323.google.clou" - + "d.osconfig.v1.Inventory.SoftwarePackageH" - + "\000\"?\n\nOriginType\022\033\n\027ORIGIN_TYPE_UNSPECIFI" - + "ED\020\000\022\024\n\020INVENTORY_REPORT\020\001\"J\n\004Type\022\024\n\020TY" - + "PE_UNSPECIFIED\020\000\022\025\n\021INSTALLED_PACKAGE\020\001\022" - + "\025\n\021AVAILABLE_PACKAGE\020\002B\t\n\007details\032\362\005\n\017So" - + "ftwarePackage\022K\n\013yum_package\030\001 \001(\01324.goo" - + "gle.cloud.osconfig.v1.Inventory.Versione" - + "dPackageH\000\022K\n\013apt_package\030\002 \001(\01324.google" - + ".cloud.osconfig.v1.Inventory.VersionedPa" - + "ckageH\000\022N\n\016zypper_package\030\003 \001(\01324.google" - + ".cloud.osconfig.v1.Inventory.VersionedPa" - + "ckageH\000\022N\n\016googet_package\030\004 \001(\01324.google" - + ".cloud.osconfig.v1.Inventory.VersionedPa" - + "ckageH\000\022G\n\014zypper_patch\030\005 \001(\0132/.google.c" - + "loud.osconfig.v1.Inventory.ZypperPatchH\000" - + "\022O\n\013wua_package\030\006 \001(\01328.google.cloud.osc" - + "onfig.v1.Inventory.WindowsUpdatePackageH" - + "\000\022\\\n\013qfe_package\030\007 \001(\0132E.google.cloud.os" - + "config.v1.Inventory.WindowsQuickFixEngin" - + "eeringPackageH\000\022K\n\013cos_package\030\010 \001(\01324.g" - + "oogle.cloud.osconfig.v1.Inventory.Versio" - + "nedPackageH\000\022U\n\023windows_application\030\t \001(" - + "\01326.google.cloud.osconfig.v1.Inventory.W" - + "indowsApplicationH\000B\t\n\007details\032O\n\020Versio" - + "nedPackage\022\024\n\014package_name\030\004 \001(\t\022\024\n\014arch" - + "itecture\030\002 \001(\t\022\017\n\007version\030\003 \001(\t\032V\n\013Zyppe" - + "rPatch\022\022\n\npatch_name\030\005 \001(\t\022\020\n\010category\030\002" - + " \001(\t\022\020\n\010severity\030\003 \001(\t\022\017\n\007summary\030\004 \001(\t\032" - + "\203\003\n\024WindowsUpdatePackage\022\r\n\005title\030\001 \001(\t\022" - + "\023\n\013description\030\002 \001(\t\022b\n\ncategories\030\003 \003(\013" - + "2N.google.cloud.osconfig.v1.Inventory.Wi" - + "ndowsUpdatePackage.WindowsUpdateCategory" - + "\022\026\n\016kb_article_ids\030\004 \003(\t\022\023\n\013support_url\030" - + "\013 \001(\t\022\026\n\016more_info_urls\030\005 \003(\t\022\021\n\tupdate_" - + "id\030\006 \001(\t\022\027\n\017revision_number\030\007 \001(\005\022?\n\033las" - + "t_deployment_change_time\030\n \001(\0132\032.google." - + "protobuf.Timestamp\0321\n\025WindowsUpdateCateg" - + "ory\022\n\n\002id\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\032\217\001\n!Window" - + "sQuickFixEngineeringPackage\022\017\n\007caption\030\001" - + " \001(\t\022\023\n\013description\030\002 \001(\t\022\022\n\nhot_fix_id\030" - + "\003 \001(\t\0220\n\014install_time\030\005 \001(\0132\032.google.pro" - + "tobuf.Timestamp\032\222\001\n\022WindowsApplication\022\024" - + "\n\014display_name\030\001 \001(\t\022\027\n\017display_version\030" - + "\002 \001(\t\022\021\n\tpublisher\030\003 \001(\t\022\'\n\014install_date" - + "\030\004 \001(\0132\021.google.type.Date\022\021\n\thelp_link\030\005" - + " \001(\t\032V\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\0227\n\005value" - + "\030\002 \001(\0132(.google.cloud.osconfig.v1.Invent" - + "ory.Item:\0028\001:n\352Ak\n!osconfig.googleapis.c" - + "om/Inventory\022Fprojects/{project}/locatio" - + "ns/{location}/instances/{instance}/inven" - + "tory\"\205\001\n\023GetInventoryRequest\0227\n\004name\030\001 \001" - + "(\tB)\340A\002\372A#\n!osconfig.googleapis.com/Inve" - + "ntory\0225\n\004view\030\002 \001(\0162\'.google.cloud.oscon" - + "fig.v1.InventoryView\"\277\001\n\026ListInventories" - + "Request\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037compute" - + ".googleapis.com/Instance\0225\n\004view\030\002 \001(\0162\'" - + ".google.cloud.osconfig.v1.InventoryView\022" - + "\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\016" - + "\n\006filter\030\005 \001(\t\"l\n\027ListInventoriesRespons" - + "e\0228\n\013inventories\030\001 \003(\0132#.google.cloud.os" - + "config.v1.Inventory\022\027\n\017next_page_token\030\002" - + " \001(\t*D\n\rInventoryView\022\036\n\032INVENTORY_VIEW_" - + "UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\303\001\n\034c" - + "om.google.cloud.osconfig.v1B\013Inventories" - + "P\001Z@google.golang.org/genproto/googleapi" - + "s/cloud/osconfig/v1;osconfig\252\002\030Google.Cl" - + "oud.OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\" - + "V1\352\002\033Google::Cloud::OsConfig::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.DateProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1_Inventory_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1_Inventory_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_descriptor, - new java.lang.String[] { - "Name", "OsInfo", "Items", "UpdateTime", - }); - internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor, - new java.lang.String[] { - "Hostname", - "LongName", - "ShortName", - "Version", - "Architecture", - "KernelVersion", - "KernelRelease", - "OsconfigAgentVersion", - }); - internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1_Inventory_Item_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor, - new java.lang.String[] { - "Id", - "OriginType", - "CreateTime", - "UpdateTime", - "Type", - "InstalledPackage", - "AvailablePackage", - "Details", - }); - internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor, - new java.lang.String[] { - "YumPackage", - "AptPackage", - "ZypperPackage", - "GoogetPackage", - "ZypperPatch", - "WuaPackage", - "QfePackage", - "CosPackage", - "WindowsApplication", - "Details", - }); - internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor, - new java.lang.String[] { - "PackageName", "Architecture", "Version", - }); - internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor, - new java.lang.String[] { - "PatchName", "Category", "Severity", "Summary", - }); - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor, - new java.lang.String[] { - "Title", - "Description", - "Categories", - "KbArticleIds", - "SupportUrl", - "MoreInfoUrls", - "UpdateId", - "RevisionNumber", - "LastDeploymentChangeTime", - }); - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor, - new java.lang.String[] { - "Id", "Name", - }); - internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor, - new java.lang.String[] { - "Caption", "Description", "HotFixId", "InstallTime", - }); - internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(7); - internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor, - new java.lang.String[] { - "DisplayName", "DisplayVersion", "Publisher", "InstallDate", "HelpLink", - }); - internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(8); - internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1_GetInventoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor, - new java.lang.String[] { - "Parent", "View", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor, - new java.lang.String[] { - "Inventories", "NextPageToken", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java deleted file mode 100644 index c49ae561..00000000 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java +++ /dev/null @@ -1,251 +0,0 @@ -/* - * 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/osconfig/v1/os_policy_assignment_reports.proto - -package com.google.cloud.osconfig.v1; - -public final class OSPolicyAssignmentReportsProto { - private OSPolicyAssignmentReportsProto() {} - - 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_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n;google/cloud/osconfig/v1/os_policy_ass" - + "ignment_reports.proto\022\030google.cloud.osco" - + "nfig.v1\032\037google/api/field_behavior.proto" - + "\032\031google/api/resource.proto\032\037google/prot" - + "obuf/timestamp.proto\"l\n\"GetOSPolicyAssig" - + "nmentReportRequest\022F\n\004name\030\001 \001(\tB8\340A\002\372A2" - + "\n0osconfig.googleapis.com/OSPolicyAssign" - + "mentReport\"\251\001\n$ListOSPolicyAssignmentRep" - + "ortsRequest\022J\n\006parent\030\001 \001(\tB:\340A\002\372A4\n2osc" - + "onfig.googleapis.com/InstanceOSPolicyAss" - + "ignment\022\021\n\tpage_size\030\002 \001(\005\022\016\n\006filter\030\003 \001" - + "(\t\022\022\n\npage_token\030\004 \001(\t\"\232\001\n%ListOSPolicyA" - + "ssignmentReportsResponse\022X\n\034os_policy_as" - + "signment_reports\030\001 \003(\01322.google.cloud.os" - + "config.v1.OSPolicyAssignmentReport\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\"\315\016\n\030OSPolicyAssignme" - + "ntReport\022\014\n\004name\030\001 \001(\t\022\020\n\010instance\030\002 \001(\t" - + "\022M\n\024os_policy_assignment\030\003 \001(\tB/\372A,\n*osc" - + "onfig.googleapis.com/OSPolicyAssignment\022" - + "d\n\025os_policy_compliances\030\004 \003(\0132E.google." - + "cloud.osconfig.v1.OSPolicyAssignmentRepo" - + "rt.OSPolicyCompliance\022/\n\013update_time\030\005 \001" - + "(\0132\032.google.protobuf.Timestamp\022\023\n\013last_r" - + "un_id\030\006 \001(\t\032\366\n\n\022OSPolicyCompliance\022\024\n\014os" - + "_policy_id\030\001 \001(\t\022o\n\020compliance_state\030\002 \001" - + "(\0162U.google.cloud.osconfig.v1.OSPolicyAs" - + "signmentReport.OSPolicyCompliance.Compli" - + "anceState\022\037\n\027compliance_state_reason\030\003 \001" - + "(\t\022\210\001\n\036os_policy_resource_compliances\030\004 " - + "\003(\0132`.google.cloud.osconfig.v1.OSPolicyA" - + "ssignmentReport.OSPolicyCompliance.OSPol" - + "icyResourceCompliance\032\352\007\n\032OSPolicyResour" - + "ceCompliance\022\035\n\025os_policy_resource_id\030\001 " - + "\001(\t\022\221\001\n\014config_steps\030\002 \003(\0132{.google.clou" - + "d.osconfig.v1.OSPolicyAssignmentReport.O" - + "SPolicyCompliance.OSPolicyResourceCompli" - + "ance.OSPolicyResourceConfigStep\022\212\001\n\020comp" - + "liance_state\030\003 \001(\0162p.google.cloud.osconf" - + "ig.v1.OSPolicyAssignmentReport.OSPolicyC" - + "ompliance.OSPolicyResourceCompliance.Com" - + "plianceState\022\037\n\027compliance_state_reason\030" - + "\004 \001(\t\022\223\001\n\024exec_resource_output\030\005 \001(\0132s.g" - + "oogle.cloud.osconfig.v1.OSPolicyAssignme" - + "ntReport.OSPolicyCompliance.OSPolicyReso" - + "urceCompliance.ExecResourceOutputH\000\032\326\002\n\032" - + "OSPolicyResourceConfigStep\022\217\001\n\004type\030\001 \001(" - + "\0162\200\001.google.cloud.osconfig.v1.OSPolicyAs" - + "signmentReport.OSPolicyCompliance.OSPoli" - + "cyResourceCompliance.OSPolicyResourceCon" - + "figStep.Type\022\025\n\rerror_message\030\002 \001(\t\"\216\001\n\004" - + "Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\016\n\nVALIDATION" - + "\020\001\022\027\n\023DESIRED_STATE_CHECK\020\002\022\035\n\031DESIRED_S" - + "TATE_ENFORCEMENT\020\003\022(\n$DESIRED_STATE_CHEC" - + "K_POST_ENFORCEMENT\020\004\0320\n\022ExecResourceOutp" - + "ut\022\032\n\022enforcement_output\030\002 \001(\014\"@\n\017Compli" - + "anceState\022\013\n\007UNKNOWN\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n" - + "\rNON_COMPLIANT\020\002B\010\n\006output\"@\n\017Compliance" - + "State\022\013\n\007UNKNOWN\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n\rNON" - + "_COMPLIANT\020\002:\234\001\352A\230\001\n0osconfig.googleapis" - + ".com/OSPolicyAssignmentReport\022dprojects/" - + "{project}/locations/{location}/instances" - + "/{instance}/osPolicyAssignments/{assignm" - + "ent}/reportB\355\002\n\034com.google.cloud.osconfi" - + "g.v1B\036OSPolicyAssignmentReportsProtoP\001Z@" - + "google.golang.org/genproto/googleapis/cl" - + "oud/osconfig/v1;osconfig\252\002\030Google.Cloud." - + "OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002" - + "\033Google::Cloud::OsConfig::V1\352A\223\001\n2osconf" - + "ig.googleapis.com/InstanceOSPolicyAssign" - + "ment\022]projects/{project}/locations/{loca" - + "tion}/instances/{instance}/osPolicyAssig" - + "nments/{assignment}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "Filter", "PageToken", - }); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor, - new java.lang.String[] { - "OsPolicyAssignmentReports", "NextPageToken", - }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor, - new java.lang.String[] { - "Name", - "Instance", - "OsPolicyAssignment", - "OsPolicyCompliances", - "UpdateTime", - "LastRunId", - }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor, - new java.lang.String[] { - "OsPolicyId", - "ComplianceState", - "ComplianceStateReason", - "OsPolicyResourceCompliances", - }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor, - new java.lang.String[] { - "OsPolicyResourceId", - "ConfigSteps", - "ComplianceState", - "ComplianceStateReason", - "ExecResourceOutput", - "Output", - }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor, - new java.lang.String[] { - "Type", "ErrorMessage", - }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor, - new java.lang.String[] { - "EnforcementOutput", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java deleted file mode 100644 index 0ebbb374..00000000 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java +++ /dev/null @@ -1,143 +0,0 @@ -/* - * 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/osconfig/v1/osconfig_service.proto - -package com.google.cloud.osconfig.v1; - -public final class OsConfigProto { - private OsConfigProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n/google/cloud/osconfig/v1/osconfig_serv" - + "ice.proto\022\030google.cloud.osconfig.v1\032\027goo" - + "gle/api/client.proto\032\031google/api/resourc" - + "e.proto\0320google/cloud/osconfig/v1/patch_" - + "deployments.proto\032)google/cloud/osconfig" - + "/v1/patch_jobs.proto\032\033google/protobuf/em" - + "pty.proto\032\034google/api/annotations.proto2" - + "\254\022\n\017OsConfigService\022\235\001\n\017ExecutePatchJob\022" - + "0.google.cloud.osconfig.v1.ExecutePatchJ" - + "obRequest\032\".google.cloud.osconfig.v1.Pat" - + "chJob\"4\202\323\344\223\002.\")/v1/{parent=projects/*}/p" - + "atchJobs:execute:\001*\022\221\001\n\013GetPatchJob\022,.go" - + "ogle.cloud.osconfig.v1.GetPatchJobReques" - + "t\032\".google.cloud.osconfig.v1.PatchJob\"0\202" - + "\323\344\223\002#\022!/v1/{name=projects/*/patchJobs/*}" - + "\332A\004name\022\232\001\n\016CancelPatchJob\022/.google.clou" - + "d.osconfig.v1.CancelPatchJobRequest\032\".go" - + "ogle.cloud.osconfig.v1.PatchJob\"3\202\323\344\223\002-\"" - + "(/v1/{name=projects/*/patchJobs/*}:cance" - + "l:\001*\022\244\001\n\rListPatchJobs\022..google.cloud.os" - + "config.v1.ListPatchJobsRequest\032/.google." - + "cloud.osconfig.v1.ListPatchJobsResponse\"" - + "2\202\323\344\223\002#\022!/v1/{parent=projects/*}/patchJo" - + "bs\332A\006parent\022\340\001\n\033ListPatchJobInstanceDeta" - + "ils\022<.google.cloud.osconfig.v1.ListPatch" - + "JobInstanceDetailsRequest\032=.google.cloud" - + ".osconfig.v1.ListPatchJobInstanceDetails" - + "Response\"D\202\323\344\223\0025\0223/v1/{parent=projects/*" - + "/patchJobs/*}/instanceDetails\332A\006parent\022\354" - + "\001\n\025CreatePatchDeployment\0226.google.cloud." - + "osconfig.v1.CreatePatchDeploymentRequest" - + "\032).google.cloud.osconfig.v1.PatchDeploym" - + "ent\"p\202\323\344\223\002<\"(/v1/{parent=projects/*}/pat" - + "chDeployments:\020patch_deployment\332A+parent" - + ",patch_deployment,patch_deployment_id\022\255\001" - + "\n\022GetPatchDeployment\0223.google.cloud.osco" - + "nfig.v1.GetPatchDeploymentRequest\032).goog" - + "le.cloud.osconfig.v1.PatchDeployment\"7\202\323" - + "\344\223\002*\022(/v1/{name=projects/*/patchDeployme" - + "nts/*}\332A\004name\022\300\001\n\024ListPatchDeployments\0225" - + ".google.cloud.osconfig.v1.ListPatchDeplo" - + "ymentsRequest\0326.google.cloud.osconfig.v1" - + ".ListPatchDeploymentsResponse\"9\202\323\344\223\002*\022(/" - + "v1/{parent=projects/*}/patchDeployments\332" - + "A\006parent\022\240\001\n\025DeletePatchDeployment\0226.goo" - + "gle.cloud.osconfig.v1.DeletePatchDeploym" - + "entRequest\032\026.google.protobuf.Empty\"7\202\323\344\223" - + "\002**(/v1/{name=projects/*/patchDeployment" - + "s/*}\332A\004name\022\356\001\n\025UpdatePatchDeployment\0226." - + "google.cloud.osconfig.v1.UpdatePatchDepl" - + "oymentRequest\032).google.cloud.osconfig.v1" - + ".PatchDeployment\"r\202\323\344\223\002M29/v1/{patch_dep" - + "loyment.name=projects/*/patchDeployments" - + "/*}:\020patch_deployment\332A\034patch_deployment" - + ",update_mask\022\272\001\n\024PausePatchDeployment\0225." - + "google.cloud.osconfig.v1.PausePatchDeplo" - + "ymentRequest\032).google.cloud.osconfig.v1." - + "PatchDeployment\"@\202\323\344\223\0023\"./v1/{name=proje" - + "cts/*/patchDeployments/*}:pause:\001*\332A\004nam" - + "e\022\275\001\n\025ResumePatchDeployment\0226.google.clo" - + "ud.osconfig.v1.ResumePatchDeploymentRequ" - + "est\032).google.cloud.osconfig.v1.PatchDepl" - + "oyment\"A\202\323\344\223\0024\"//v1/{name=projects/*/pat" - + "chDeployments/*}:resume:\001*\332A\004name\032K\312A\027os" - + "config.googleapis.com\322A.https://www.goog" - + "leapis.com/auth/cloud-platformB\334\002\n\034com.g" - + "oogle.cloud.osconfig.v1B\rOsConfigProtoZ@" - + "google.golang.org/genproto/googleapis/cl" - + "oud/osconfig/v1;osconfig\252\002\030Google.Cloud." - + "OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002" - + "\033Google::Cloud::OsConfig::V1\352A\225\001\n\037comput" - + "e.googleapis.com/Instance\0224projects/{pro" - + "ject}/zones/{zone}/instances/{instance}\022" - + ".google.cloud.osconfig.v1.ListOSP" - + "olicyAssignmentReportsRequest\032?.google.c" - + "loud.osconfig.v1.ListOSPolicyAssignmentR" - + "eportsResponse\"^\202\323\344\223\002O\022M/v1/{parent=proj" - + "ects/*/locations/*/instances/*/osPolicyA" - + "ssignments/*}/reports\332A\006parent\022\252\001\n\014GetIn" - + "ventory\022-.google.cloud.osconfig.v1.GetIn" - + "ventoryRequest\032#.google.cloud.osconfig.v" - + "1.Inventory\"F\202\323\344\223\0029\0227/v1/{name=projects/" - + "*/locations/*/instances/*/inventory}\332A\004n" - + "ame\022\304\001\n\017ListInventories\0220.google.cloud.o" - + "sconfig.v1.ListInventoriesRequest\0321.goog" - + "le.cloud.osconfig.v1.ListInventoriesResp" - + "onse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/loc" - + "ations/*/instances/*}/inventories\332A\006pare" - + "nt\022\322\001\n\026GetVulnerabilityReport\0227.google.c" - + "loud.osconfig.v1.GetVulnerabilityReportR" - + "equest\032-.google.cloud.osconfig.v1.Vulner" - + "abilityReport\"P\202\323\344\223\002C\022A/v1/{name=project" - + "s/*/locations/*/instances/*/vulnerabilit" - + "yReport}\332A\004name\022\350\001\n\030ListVulnerabilityRep" - + "orts\0229.google.cloud.osconfig.v1.ListVuln" - + "erabilityReportsRequest\032:.google.cloud.o" - + "sconfig.v1.ListVulnerabilityReportsRespo" - + "nse\"U\202\323\344\223\002F\022D/v1/{parent=projects/*/loca" - + "tions/*/instances/*}/vulnerabilityReport" - + "s\332A\006parent\032K\312A\027osconfig.googleapis.com\322A" - + ".https://www.googleapis.com/auth/cloud-p" - + "latformB\321\001\n\034com.google.cloud.osconfig.v1" - + "B\031OsConfigZonalServiceProtoP\001Z@google.go" - + "lang.org/genproto/googleapis/cloud/oscon" - + "fig/v1;osconfig\252\002\030Google.Cloud.OsConfig." - + "V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002\033Google::" - + "Cloud::OsConfig::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.cloud.osconfig.v1.Inventories.getDescriptor(), - com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.getDescriptor(), - com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.getDescriptor(), - com.google.cloud.osconfig.v1.VulnerabilityProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.cloud.osconfig.v1.Inventories.getDescriptor(); - com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.getDescriptor(); - com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.getDescriptor(); - com.google.cloud.osconfig.v1.VulnerabilityProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyAssignmentsProto.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyAssignmentsProto.java deleted file mode 100644 index 3b82d47d..00000000 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyAssignmentsProto.java +++ /dev/null @@ -1,369 +0,0 @@ -/* - * 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/osconfig/v1/os_policy_assignments.proto - -package com.google.cloud.osconfig.v1; - -public final class OsPolicyAssignmentsProto { - private OsPolicyAssignmentsProto() {} - - 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_osconfig_v1_OSPolicyAssignment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/osconfig/v1/os_policy_ass" - + "ignments.proto\022\030google.cloud.osconfig.v1" - + "\032\037google/api/field_behavior.proto\032\031googl" - + "e/api/resource.proto\032(google/cloud/oscon" - + "fig/v1/os_policy.proto\032.google/cloud/osc" - + "onfig/v1/osconfig_common.proto\032\036google/p" - + "rotobuf/duration.proto\032 google/protobuf/" - + "field_mask.proto\032\037google/protobuf/timest" - + "amp.proto\"\243\013\n\022OSPolicyAssignment\022\014\n\004name" - + "\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022<\n\013os_polici" - + "es\030\003 \003(\0132\".google.cloud.osconfig.v1.OSPo" - + "licyB\003\340A\002\022Y\n\017instance_filter\030\004 \001(\0132;.goo" - + "gle.cloud.osconfig.v1.OSPolicyAssignment" - + ".InstanceFilterB\003\340A\002\022J\n\007rollout\030\005 \001(\01324." - + "google.cloud.osconfig.v1.OSPolicyAssignm" - + "ent.RolloutB\003\340A\002\022\030\n\013revision_id\030\006 \001(\tB\003\340" - + "A\003\022=\n\024revision_create_time\030\007 \001(\0132\032.googl" - + "e.protobuf.TimestampB\003\340A\003\022\014\n\004etag\030\010 \001(\t\022" - + "U\n\rrollout_state\030\t \001(\01629.google.cloud.os" - + "config.v1.OSPolicyAssignment.RolloutStat" - + "eB\003\340A\003\022\025\n\010baseline\030\n \001(\010B\003\340A\003\022\024\n\007deleted" - + "\030\013 \001(\010B\003\340A\003\022\030\n\013reconciling\030\014 \001(\010B\003\340A\003\022\020\n" - + "\003uid\030\r \001(\tB\003\340A\003\032\214\001\n\010LabelSet\022Q\n\006labels\030\001" - + " \003(\0132A.google.cloud.osconfig.v1.OSPolicy" - + "Assignment.LabelSet.LabelsEntry\032-\n\013Label" - + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\330" - + "\002\n\016InstanceFilter\022\013\n\003all\030\001 \001(\010\022O\n\020inclus" - + "ion_labels\030\002 \003(\01325.google.cloud.osconfig" - + ".v1.OSPolicyAssignment.LabelSet\022O\n\020exclu" - + "sion_labels\030\003 \003(\01325.google.cloud.osconfi" - + "g.v1.OSPolicyAssignment.LabelSet\022Z\n\013inve" - + "ntories\030\004 \003(\0132E.google.cloud.osconfig.v1" - + ".OSPolicyAssignment.InstanceFilter.Inven" - + "tory\032;\n\tInventory\022\032\n\ros_short_name\030\001 \001(\t" - + "B\003\340A\002\022\022\n\nos_version\030\002 \001(\t\032\216\001\n\007Rollout\022H\n" - + "\021disruption_budget\030\001 \001(\0132(.google.cloud." - + "osconfig.v1.FixedOrPercentB\003\340A\002\0229\n\021min_w" - + "ait_duration\030\002 \001(\0132\031.google.protobuf.Dur" - + "ationB\003\340A\002\"l\n\014RolloutState\022\035\n\031ROLLOUT_ST" - + "ATE_UNSPECIFIED\020\000\022\017\n\013IN_PROGRESS\020\001\022\016\n\nCA" - + "NCELLING\020\002\022\r\n\tCANCELLED\020\003\022\r\n\tSUCCEEDED\020\004" - + ":\204\001\352A\200\001\n*osconfig.googleapis.com/OSPolic" - + "yAssignment\022Rprojects/{project}/location" - + "s/{location}/osPolicyAssignments/{os_pol" - + "icy_assignment}\"\340\004\n#OSPolicyAssignmentOp" - + "erationMetadata\022M\n\024os_policy_assignment\030" - + "\001 \001(\tB/\372A,\n*osconfig.googleapis.com/OSPo" - + "licyAssignment\022[\n\napi_method\030\002 \001(\0162G.goo" - + "gle.cloud.osconfig.v1.OSPolicyAssignment" - + "OperationMetadata.APIMethod\022a\n\rrollout_s" - + "tate\030\003 \001(\0162J.google.cloud.osconfig.v1.OS" - + "PolicyAssignmentOperationMetadata.Rollou" - + "tState\0226\n\022rollout_start_time\030\004 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\0227\n\023rollout_update" - + "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\"" - + "K\n\tAPIMethod\022\032\n\026API_METHOD_UNSPECIFIED\020\000" - + "\022\n\n\006CREATE\020\001\022\n\n\006UPDATE\020\002\022\n\n\006DELETE\020\003\"l\n\014" - + "RolloutState\022\035\n\031ROLLOUT_STATE_UNSPECIFIE" - + "D\020\000\022\017\n\013IN_PROGRESS\020\001\022\016\n\nCANCELLING\020\002\022\r\n\t" - + "CANCELLED\020\003\022\r\n\tSUCCEEDED\020\004\"\323\001\n\037CreateOSP" - + "olicyAssignmentRequest\0229\n\006parent\030\001 \001(\tB)" - + "\340A\002\372A#\n!locations.googleapis.com/Locatio" - + "n\022O\n\024os_policy_assignment\030\002 \001(\0132,.google" - + ".cloud.osconfig.v1.OSPolicyAssignmentB\003\340" - + "A\002\022$\n\027os_policy_assignment_id\030\003 \001(\tB\003\340A\002" - + "\"\250\001\n\037UpdateOSPolicyAssignmentRequest\022O\n\024" - + "os_policy_assignment\030\001 \001(\0132,.google.clou" - + "d.osconfig.v1.OSPolicyAssignmentB\003\340A\002\0224\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" - + "ldMaskB\003\340A\001\"`\n\034GetOSPolicyAssignmentRequ" - + "est\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*osconfig.goog" - + "leapis.com/OSPolicyAssignment\"\202\001\n\036ListOS" - + "PolicyAssignmentsRequest\0229\n\006parent\030\001 \001(\t" - + "B)\340A\002\372A#\n!locations.googleapis.com/Locat" - + "ion\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" - + "(\t\"\207\001\n\037ListOSPolicyAssignmentsResponse\022K" - + "\n\025os_policy_assignments\030\001 \003(\0132,.google.c" - + "loud.osconfig.v1.OSPolicyAssignment\022\027\n\017n" - + "ext_page_token\030\002 \001(\t\"\221\001\n&ListOSPolicyAss" - + "ignmentRevisionsRequest\022@\n\004name\030\001 \001(\tB2\340" - + "A\002\372A,\n*osconfig.googleapis.com/OSPolicyA" - + "ssignment\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" - + "en\030\003 \001(\t\"\217\001\n\'ListOSPolicyAssignmentRevis" - + "ionsResponse\022K\n\025os_policy_assignments\030\001 " - + "\003(\0132,.google.cloud.osconfig.v1.OSPolicyA" - + "ssignment\022\027\n\017next_page_token\030\002 \001(\t\"c\n\037De" - + "leteOSPolicyAssignmentRequest\022@\n\004name\030\001 " - + "\001(\tB2\340A\002\372A,\n*osconfig.googleapis.com/OSP" - + "olicyAssignmentB\320\001\n\034com.google.cloud.osc" - + "onfig.v1B\030OsPolicyAssignmentsProtoP\001Z@go" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/osconfig/v1;osconfig\252\002\030Google.Cloud.Os" - + "Config.V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002\033G" - + "oogle::Cloud::OsConfig::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.osconfig.v1.OsPolicyProto.getDescriptor(), - com.google.cloud.osconfig.v1.Common.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor, - new java.lang.String[] { - "Name", - "Description", - "OsPolicies", - "InstanceFilter", - "Rollout", - "RevisionId", - "RevisionCreateTime", - "Etag", - "RolloutState", - "Baseline", - "Deleted", - "Reconciling", - "Uid", - }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor, - new java.lang.String[] { - "Labels", - }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor, - new java.lang.String[] { - "All", "InclusionLabels", "ExclusionLabels", "Inventories", - }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor, - new java.lang.String[] { - "OsShortName", "OsVersion", - }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor, - new java.lang.String[] { - "DisruptionBudget", "MinWaitDuration", - }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor, - new java.lang.String[] { - "OsPolicyAssignment", - "ApiMethod", - "RolloutState", - "RolloutStartTime", - "RolloutUpdateTime", - }); - internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor, - new java.lang.String[] { - "Parent", "OsPolicyAssignment", "OsPolicyAssignmentId", - }); - internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor, - new java.lang.String[] { - "OsPolicyAssignment", "UpdateMask", - }); - internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor, - new java.lang.String[] { - "OsPolicyAssignments", "NextPageToken", - }); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor, - new java.lang.String[] { - "Name", "PageSize", "PageToken", - }); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor, - new java.lang.String[] { - "OsPolicyAssignments", "NextPageToken", - }); - internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.osconfig.v1.OsPolicyProto.getDescriptor(); - com.google.cloud.osconfig.v1.Common.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyProto.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyProto.java deleted file mode 100644 index 4970d8bb..00000000 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyProto.java +++ /dev/null @@ -1,490 +0,0 @@ -/* - * 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/osconfig/v1/os_policy.proto - -package com.google.cloud.osconfig.v1; - -public final class OsPolicyProto { - private OsPolicyProto() {} - - 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_osconfig_v1_OSPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n(google/cloud/osconfig/v1/os_policy.pro" - + "to\022\030google.cloud.osconfig.v1\032\037google/api" - + "/field_behavior.proto\"\344 \n\010OSPolicy\022\017\n\002id" - + "\030\001 \001(\tB\003\340A\002\022\023\n\013description\030\002 \001(\t\022:\n\004mode" - + "\030\003 \001(\0162\'.google.cloud.osconfig.v1.OSPoli" - + "cy.ModeB\003\340A\002\022N\n\017resource_groups\030\004 \003(\01320." - + "google.cloud.osconfig.v1.OSPolicy.Resour" - + "ceGroupB\003\340A\002\022%\n\035allow_no_resource_group_" - + "match\030\005 \001(\010\032A\n\017InventoryFilter\022\032\n\ros_sho" - + "rt_name\030\001 \001(\tB\003\340A\002\022\022\n\nos_version\030\002 \001(\t\032\326" - + "\034\n\010Resource\022\017\n\002id\030\001 \001(\tB\003\340A\002\022J\n\003pkg\030\002 \001(" - + "\0132;.google.cloud.osconfig.v1.OSPolicy.Re" - + "source.PackageResourceH\000\022T\n\nrepository\030\003" - + " \001(\0132>.google.cloud.osconfig.v1.OSPolicy" - + ".Resource.RepositoryResourceH\000\022H\n\004exec\030\004" - + " \001(\01328.google.cloud.osconfig.v1.OSPolicy" - + ".Resource.ExecResourceH\000\022H\n\004file\030\005 \001(\01328" - + ".google.cloud.osconfig.v1.OSPolicy.Resou" - + "rce.FileResourceH\000\032\306\002\n\004File\022I\n\006remote\030\001 " - + "\001(\01327.google.cloud.osconfig.v1.OSPolicy." - + "Resource.File.RemoteH\000\022C\n\003gcs\030\002 \001(\01324.go" - + "ogle.cloud.osconfig.v1.OSPolicy.Resource" - + ".File.GcsH\000\022\024\n\nlocal_path\030\003 \001(\tH\000\022\026\n\016all" - + "ow_insecure\030\004 \001(\010\0323\n\006Remote\022\020\n\003uri\030\001 \001(\t" - + "B\003\340A\002\022\027\n\017sha256_checksum\030\002 \001(\t\032C\n\003Gcs\022\023\n" - + "\006bucket\030\001 \001(\tB\003\340A\002\022\023\n\006object\030\002 \001(\tB\003\340A\002\022" - + "\022\n\ngeneration\030\003 \001(\003B\006\n\004type\032\242\t\n\017PackageR" - + "esource\022d\n\rdesired_state\030\001 \001(\0162H.google." - + "cloud.osconfig.v1.OSPolicy.Resource.Pack" - + "ageResource.DesiredStateB\003\340A\002\022N\n\003apt\030\002 \001" - + "(\0132?.google.cloud.osconfig.v1.OSPolicy.R" - + "esource.PackageResource.APTH\000\022N\n\003deb\030\003 \001" - + "(\0132?.google.cloud.osconfig.v1.OSPolicy.R" - + "esource.PackageResource.DebH\000\022N\n\003yum\030\004 \001" - + "(\0132?.google.cloud.osconfig.v1.OSPolicy.R" - + "esource.PackageResource.YUMH\000\022T\n\006zypper\030" - + "\005 \001(\0132B.google.cloud.osconfig.v1.OSPolic" - + "y.Resource.PackageResource.ZypperH\000\022N\n\003r" - + "pm\030\006 \001(\0132?.google.cloud.osconfig.v1.OSPo" - + "licy.Resource.PackageResource.RPMH\000\022T\n\006g" - + "ooget\030\007 \001(\0132B.google.cloud.osconfig.v1.O" - + "SPolicy.Resource.PackageResource.GooGetH" - + "\000\022N\n\003msi\030\010 \001(\0132?.google.cloud.osconfig.v" - + "1.OSPolicy.Resource.PackageResource.MSIH" - + "\000\032_\n\003Deb\022E\n\006source\030\001 \001(\01320.google.cloud." - + "osconfig.v1.OSPolicy.Resource.FileB\003\340A\002\022" - + "\021\n\tpull_deps\030\002 \001(\010\032\030\n\003APT\022\021\n\004name\030\001 \001(\tB" - + "\003\340A\002\032_\n\003RPM\022E\n\006source\030\001 \001(\01320.google.clo" - + "ud.osconfig.v1.OSPolicy.Resource.FileB\003\340" - + "A\002\022\021\n\tpull_deps\030\002 \001(\010\032\030\n\003YUM\022\021\n\004name\030\001 \001" - + "(\tB\003\340A\002\032\033\n\006Zypper\022\021\n\004name\030\001 \001(\tB\003\340A\002\032\033\n\006" - + "GooGet\022\021\n\004name\030\001 \001(\tB\003\340A\002\032`\n\003MSI\022E\n\006sour" - + "ce\030\001 \001(\01320.google.cloud.osconfig.v1.OSPo" - + "licy.Resource.FileB\003\340A\002\022\022\n\nproperties\030\002 " - + "\003(\t\"I\n\014DesiredState\022\035\n\031DESIRED_STATE_UNS" - + "PECIFIED\020\000\022\r\n\tINSTALLED\020\001\022\013\n\007REMOVED\020\002B\020" - + "\n\016system_package\032\270\007\n\022RepositoryResource\022" - + "[\n\003apt\030\001 \001(\0132L.google.cloud.osconfig.v1." - + "OSPolicy.Resource.RepositoryResource.Apt" - + "RepositoryH\000\022[\n\003yum\030\002 \001(\0132L.google.cloud" - + ".osconfig.v1.OSPolicy.Resource.Repositor" - + "yResource.YumRepositoryH\000\022a\n\006zypper\030\003 \001(" - + "\0132O.google.cloud.osconfig.v1.OSPolicy.Re" - + "source.RepositoryResource.ZypperReposito" - + "ryH\000\022[\n\003goo\030\004 \001(\0132L.google.cloud.osconfi" - + "g.v1.OSPolicy.Resource.RepositoryResourc" - + "e.GooRepositoryH\000\032\236\002\n\rAptRepository\022s\n\014a" - + "rchive_type\030\001 \001(\0162X.google.cloud.osconfi" - + "g.v1.OSPolicy.Resource.RepositoryResourc" - + "e.AptRepository.ArchiveTypeB\003\340A\002\022\020\n\003uri\030" - + "\002 \001(\tB\003\340A\002\022\031\n\014distribution\030\003 \001(\tB\003\340A\002\022\027\n" - + "\ncomponents\030\004 \003(\tB\003\340A\002\022\017\n\007gpg_key\030\005 \001(\t\"" - + "A\n\013ArchiveType\022\034\n\030ARCHIVE_TYPE_UNSPECIFI" - + "ED\020\000\022\007\n\003DEB\020\001\022\013\n\007DEB_SRC\020\002\032_\n\rYumReposit" - + "ory\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014display_name\030\002 \001" - + "(\t\022\025\n\010base_url\030\003 \001(\tB\003\340A\002\022\020\n\010gpg_keys\030\004 " - + "\003(\t\032b\n\020ZypperRepository\022\017\n\002id\030\001 \001(\tB\003\340A\002" - + "\022\024\n\014display_name\030\002 \001(\t\022\025\n\010base_url\030\003 \001(\t" - + "B\003\340A\002\022\020\n\010gpg_keys\030\004 \003(\t\0324\n\rGooRepository" - + "\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003url\030\002 \001(\tB\003\340A\002B\014\n" - + "\nrepository\032\371\003\n\014ExecResource\022T\n\010validate" - + "\030\001 \001(\0132=.google.cloud.osconfig.v1.OSPoli" - + "cy.Resource.ExecResource.ExecB\003\340A\002\022N\n\007en" - + "force\030\002 \001(\0132=.google.cloud.osconfig.v1.O" - + "SPolicy.Resource.ExecResource.Exec\032\302\002\n\004E" - + "xec\022@\n\004file\030\001 \001(\01320.google.cloud.osconfi" - + "g.v1.OSPolicy.Resource.FileH\000\022\020\n\006script\030" - + "\002 \001(\tH\000\022\014\n\004args\030\003 \003(\t\022c\n\013interpreter\030\004 \001" - + "(\0162I.google.cloud.osconfig.v1.OSPolicy.R" - + "esource.ExecResource.Exec.InterpreterB\003\340" - + "A\002\022\030\n\020output_file_path\030\005 \001(\t\"O\n\013Interpre" - + "ter\022\033\n\027INTERPRETER_UNSPECIFIED\020\000\022\010\n\004NONE" - + "\020\001\022\t\n\005SHELL\020\002\022\016\n\nPOWERSHELL\020\003B\010\n\006source\032" - + "\314\002\n\014FileResource\022@\n\004file\030\001 \001(\01320.google." - + "cloud.osconfig.v1.OSPolicy.Resource.File" - + "H\000\022\021\n\007content\030\002 \001(\tH\000\022\021\n\004path\030\003 \001(\tB\003\340A\002" - + "\022Y\n\005state\030\004 \001(\0162E.google.cloud.osconfig." - + "v1.OSPolicy.Resource.FileResource.Desire" - + "dStateB\003\340A\002\022\023\n\013permissions\030\005 \001(\t\"Z\n\014Desi" - + "redState\022\035\n\031DESIRED_STATE_UNSPECIFIED\020\000\022" - + "\013\n\007PRESENT\020\001\022\n\n\006ABSENT\020\002\022\022\n\016CONTENTS_MAT" - + "CH\020\003B\010\n\006sourceB\017\n\rresource_type\032\243\001\n\rReso" - + "urceGroup\022M\n\021inventory_filters\030\001 \003(\01322.g" - + "oogle.cloud.osconfig.v1.OSPolicy.Invento" - + "ryFilter\022C\n\tresources\030\002 \003(\0132+.google.clo" - + "ud.osconfig.v1.OSPolicy.ResourceB\003\340A\002\"=\n" - + "\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\016\n\nVALIDATIO" - + "N\020\001\022\017\n\013ENFORCEMENT\020\002B\305\001\n\034com.google.clou" - + "d.osconfig.v1B\rOsPolicyProtoP\001Z@google.g" - + "olang.org/genproto/googleapis/cloud/osco" - + "nfig/v1;osconfig\252\002\030Google.Cloud.OsConfig" - + ".V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002\033Google:" - + ":Cloud::OsConfig::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1_OSPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor, - new java.lang.String[] { - "Id", "Description", "Mode", "ResourceGroups", "AllowNoResourceGroupMatch", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor, - new java.lang.String[] { - "OsShortName", "OsVersion", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor, - new java.lang.String[] { - "Id", "Pkg", "Repository", "Exec", "File", "ResourceType", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor, - new java.lang.String[] { - "Remote", "Gcs", "LocalPath", "AllowInsecure", "Type", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor, - new java.lang.String[] { - "Uri", "Sha256Checksum", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor, - new java.lang.String[] { - "Bucket", "Object", "Generation", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor, - new java.lang.String[] { - "DesiredState", - "Apt", - "Deb", - "Yum", - "Zypper", - "Rpm", - "Googet", - "Msi", - "SystemPackage", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor, - new java.lang.String[] { - "Source", "PullDeps", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor, - new java.lang.String[] { - "Source", "PullDeps", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor - .getNestedTypes() - .get(4); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor - .getNestedTypes() - .get(5); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor - .getNestedTypes() - .get(6); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor, - new java.lang.String[] { - "Source", "Properties", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor, - new java.lang.String[] { - "Apt", "Yum", "Zypper", "Goo", "Repository", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor, - new java.lang.String[] { - "ArchiveType", "Uri", "Distribution", "Components", "GpgKey", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor, - new java.lang.String[] { - "Id", "DisplayName", "BaseUrl", "GpgKeys", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor, - new java.lang.String[] { - "Id", "DisplayName", "BaseUrl", "GpgKeys", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor, - new java.lang.String[] { - "Name", "Url", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor, - new java.lang.String[] { - "Validate", "Enforce", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor, - new java.lang.String[] { - "File", "Script", "Args", "Interpreter", "OutputFilePath", "Source", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor - .getNestedTypes() - .get(4); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor, - new java.lang.String[] { - "File", "Content", "Path", "State", "Permissions", "Source", - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor, - new java.lang.String[] { - "InventoryFilters", "Resources", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityProto.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityProto.java deleted file mode 100644 index 1f503042..00000000 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityProto.java +++ /dev/null @@ -1,272 +0,0 @@ -/* - * 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/osconfig/v1/vulnerability.proto - -package com.google.cloud.osconfig.v1; - -public final class VulnerabilityProto { - private VulnerabilityProto() {} - - 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_osconfig_v1_VulnerabilityReport_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_CVSSv3_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n,google/cloud/osconfig/v1/vulnerability" - + ".proto\022\030google.cloud.osconfig.v1\032\037google" - + "/api/field_behavior.proto\032\031google/api/re" - + "source.proto\032\037google/protobuf/timestamp." - + "proto\"\303\010\n\023VulnerabilityReport\022\021\n\004name\030\001 " - + "\001(\tB\003\340A\003\022Y\n\017vulnerabilities\030\002 \003(\0132;.goog" - + "le.cloud.osconfig.v1.VulnerabilityReport" - + ".VulnerabilityB\003\340A\003\0224\n\013update_time\030\003 \001(\013" - + "2\032.google.protobuf.TimestampB\003\340A\003\032\202\006\n\rVu" - + "lnerability\022T\n\007details\030\001 \001(\0132C.google.cl" - + "oud.osconfig.v1.VulnerabilityReport.Vuln" - + "erability.Details\022(\n\034installed_inventory" - + "_item_ids\030\002 \003(\tB\002\030\001\022(\n\034available_invento" - + "ry_item_ids\030\003 \003(\tB\002\030\001\022/\n\013create_time\030\004 \001" - + "(\0132\032.google.protobuf.Timestamp\022/\n\013update" - + "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" - + "O\n\005items\030\006 \003(\0132@.google.cloud.osconfig.v" - + "1.VulnerabilityReport.Vulnerability.Item" - + "\032\224\002\n\007Details\022\013\n\003cve\030\001 \001(\t\022\025\n\rcvss_v2_sco" - + "re\030\002 \001(\002\0221\n\007cvss_v3\030\003 \001(\0132 .google.cloud" - + ".osconfig.v1.CVSSv3\022\020\n\010severity\030\004 \001(\t\022\023\n" - + "\013description\030\005 \001(\t\022a\n\nreferences\030\006 \003(\0132M" - + ".google.cloud.osconfig.v1.VulnerabilityR" - + "eport.Vulnerability.Details.Reference\032(\n" - + "\tReference\022\013\n\003url\030\001 \001(\t\022\016\n\006source\030\002 \001(\t\032" - + "}\n\004Item\022#\n\033installed_inventory_item_id\030\001" - + " \001(\t\022#\n\033available_inventory_item_id\030\002 \001(" - + "\t\022\025\n\rfixed_cpe_uri\030\003 \001(\t\022\024\n\014upstream_fix" - + "\030\004 \001(\t:\202\001\352A\177\n+osconfig.googleapis.com/Vu" - + "lnerabilityReport\022Pprojects/{project}/lo" - + "cations/{location}/instances/{instance}/" - + "vulnerabilityReport\"b\n\035GetVulnerabilityR" - + "eportRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+osco" - + "nfig.googleapis.com/VulnerabilityReport\"" - + "\221\001\n\037ListVulnerabilityReportsRequest\0227\n\006p" - + "arent\030\001 \001(\tB\'\340A\002\372A!\n\037compute.googleapis." - + "com/Instance\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" - + "token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\211\001\n ListVuln" - + "erabilityReportsResponse\022L\n\025vulnerabilit" - + "y_reports\030\001 \003(\0132-.google.cloud.osconfig." - + "v1.VulnerabilityReport\022\027\n\017next_page_toke" - + "n\030\002 \001(\t\"\265\n\n\006CVSSv3\022\022\n\nbase_score\030\001 \001(\002\022\034" - + "\n\024exploitability_score\030\002 \001(\002\022\024\n\014impact_s" - + "core\030\003 \001(\002\022D\n\rattack_vector\030\005 \001(\0162-.goog" - + "le.cloud.osconfig.v1.CVSSv3.AttackVector" - + "\022L\n\021attack_complexity\030\006 \001(\01621.google.clo" - + "ud.osconfig.v1.CVSSv3.AttackComplexity\022P" - + "\n\023privileges_required\030\007 \001(\01623.google.clo" - + "ud.osconfig.v1.CVSSv3.PrivilegesRequired" - + "\022J\n\020user_interaction\030\010 \001(\01620.google.clou" - + "d.osconfig.v1.CVSSv3.UserInteraction\0225\n\005" - + "scope\030\t \001(\0162&.google.cloud.osconfig.v1.C" - + "VSSv3.Scope\022G\n\026confidentiality_impact\030\n " - + "\001(\0162\'.google.cloud.osconfig.v1.CVSSv3.Im" - + "pact\022A\n\020integrity_impact\030\013 \001(\0162\'.google." - + "cloud.osconfig.v1.CVSSv3.Impact\022D\n\023avail" - + "ability_impact\030\014 \001(\0162\'.google.cloud.osco" - + "nfig.v1.CVSSv3.Impact\"\231\001\n\014AttackVector\022\035" - + "\n\031ATTACK_VECTOR_UNSPECIFIED\020\000\022\031\n\025ATTACK_" - + "VECTOR_NETWORK\020\001\022\032\n\026ATTACK_VECTOR_ADJACE" - + "NT\020\002\022\027\n\023ATTACK_VECTOR_LOCAL\020\003\022\032\n\026ATTACK_" - + "VECTOR_PHYSICAL\020\004\"l\n\020AttackComplexity\022!\n" - + "\035ATTACK_COMPLEXITY_UNSPECIFIED\020\000\022\031\n\025ATTA" - + "CK_COMPLEXITY_LOW\020\001\022\032\n\026ATTACK_COMPLEXITY" - + "_HIGH\020\002\"\222\001\n\022PrivilegesRequired\022#\n\037PRIVIL" - + "EGES_REQUIRED_UNSPECIFIED\020\000\022\034\n\030PRIVILEGE" - + "S_REQUIRED_NONE\020\001\022\033\n\027PRIVILEGES_REQUIRED" - + "_LOW\020\002\022\034\n\030PRIVILEGES_REQUIRED_HIGH\020\003\"m\n\017" - + "UserInteraction\022 \n\034USER_INTERACTION_UNSP" - + "ECIFIED\020\000\022\031\n\025USER_INTERACTION_NONE\020\001\022\035\n\031" - + "USER_INTERACTION_REQUIRED\020\002\"F\n\005Scope\022\025\n\021" - + "SCOPE_UNSPECIFIED\020\000\022\023\n\017SCOPE_UNCHANGED\020\001" - + "\022\021\n\rSCOPE_CHANGED\020\002\"R\n\006Impact\022\026\n\022IMPACT_" - + "UNSPECIFIED\020\000\022\017\n\013IMPACT_HIGH\020\001\022\016\n\nIMPACT" - + "_LOW\020\002\022\017\n\013IMPACT_NONE\020\003B\312\001\n\034com.google.c" - + "loud.osconfig.v1B\022VulnerabilityProtoP\001Z@" - + "google.golang.org/genproto/googleapis/cl" - + "oud/osconfig/v1;osconfig\252\002\030Google.Cloud." - + "OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002" - + "\033Google::Cloud::OsConfig::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor, - new java.lang.String[] { - "Name", "Vulnerabilities", "UpdateTime", - }); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor = - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor, - new java.lang.String[] { - "Details", - "InstalledInventoryItemIds", - "AvailableInventoryItemIds", - "CreateTime", - "UpdateTime", - "Items", - }); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor = - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor, - new java.lang.String[] { - "Cve", "CvssV2Score", "CvssV3", "Severity", "Description", "References", - }); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor = - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor, - new java.lang.String[] { - "Url", "Source", - }); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor = - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor, - new java.lang.String[] { - "InstalledInventoryItemId", "AvailableInventoryItemId", "FixedCpeUri", "UpstreamFix", - }); - internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor, - new java.lang.String[] { - "VulnerabilityReports", "NextPageToken", - }); - internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_osconfig_v1_CVSSv3_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor, - new java.lang.String[] { - "BaseScore", - "ExploitabilityScore", - "ImpactScore", - "AttackVector", - "AttackComplexity", - "PrivilegesRequired", - "UserInteraction", - "Scope", - "ConfidentialityImpact", - "IntegrityImpact", - "AvailabilityImpact", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java deleted file mode 100644 index fdca3fec..00000000 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * 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/osconfig/v1alpha/osconfig_common.proto - -package com.google.cloud.osconfig.v1alpha; - -public final class Common { - private Common() {} - - 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_osconfig_v1alpha_FixedOrPercent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_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/osconfig/v1alpha/osconfig" - + "_common.proto\022\035google.cloud.osconfig.v1a" - + "lpha\032\034google/api/annotations.proto\"<\n\016Fi" - + "xedOrPercent\022\017\n\005fixed\030\001 \001(\005H\000\022\021\n\007percent" - + "\030\002 \001(\005H\000B\006\n\004modeB\327\001\n!com.google.cloud.os" - + "config.v1alphaB\006CommonP\001ZEgoogle.golang." - + "org/genproto/googleapis/cloud/osconfig/v" - + "1alpha;osconfig\252\002\035Google.Cloud.OsConfig." - + "V1Alpha\312\002\035Google\\Cloud\\OsConfig\\V1alpha\352" - + "\002 Google::Cloud::OsConfig::V1alphab\006prot" - + "o3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor, - new java.lang.String[] { - "Fixed", "Percent", "Mode", - }); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java deleted file mode 100644 index 91c74e79..00000000 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java +++ /dev/null @@ -1,122 +0,0 @@ -/* - * 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/osconfig/v1alpha/config_common.proto - -package com.google.cloud.osconfig.v1alpha; - -public final class ConfigCommonProto { - private ConfigCommonProto() {} - - 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_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/osconfig/v1alpha/config_c" - + "ommon.proto\022\035google.cloud.osconfig.v1alp" - + "ha\032\034google/api/annotations.proto\"\261\003\n\032OSP" - + "olicyResourceConfigStep\022L\n\004type\030\001 \001(\0162>." - + "google.cloud.osconfig.v1alpha.OSPolicyRe" - + "sourceConfigStep.Type\022R\n\007outcome\030\002 \001(\0162A" - + ".google.cloud.osconfig.v1alpha.OSPolicyR" - + "esourceConfigStep.Outcome\022\025\n\rerror_messa" - + "ge\030\003 \001(\t\"\222\001\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022" - + "\016\n\nVALIDATION\020\001\022\027\n\023DESIRED_STATE_CHECK\020\002" - + "\022\035\n\031DESIRED_STATE_ENFORCEMENT\020\003\022(\n$DESIR" - + "ED_STATE_CHECK_POST_ENFORCEMENT\020\004\032\002\030\001\"A\n" - + "\007Outcome\022\027\n\023OUTCOME_UNSPECIFIED\020\000\022\r\n\tSUC" - + "CEEDED\020\001\022\n\n\006FAILED\020\002\032\002\030\001:\002\030\001\"\205\003\n\032OSPolic" - + "yResourceCompliance\022\035\n\025os_policy_resourc" - + "e_id\030\001 \001(\t\022O\n\014config_steps\030\002 \003(\01329.googl" - + "e.cloud.osconfig.v1alpha.OSPolicyResourc" - + "eConfigStep\022E\n\005state\030\003 \001(\01626.google.clou" - + "d.osconfig.v1alpha.OSPolicyComplianceSta" - + "te\022l\n\024exec_resource_output\030\004 \001(\0132L.googl" - + "e.cloud.osconfig.v1alpha.OSPolicyResourc" - + "eCompliance.ExecResourceOutputH\000\0324\n\022Exec" - + "ResourceOutput\022\032\n\022enforcement_output\030\002 \001" - + "(\014:\002\030\001:\002\030\001B\010\n\006output*\227\001\n\027OSPolicyComplia" - + "nceState\022*\n&OS_POLICY_COMPLIANCE_STATE_U" - + "NSPECIFIED\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n\rNON_COMPL" - + "IANT\020\002\022\013\n\007UNKNOWN\020\003\022\035\n\031NO_OS_POLICIES_AP" - + "PLICABLE\020\004\032\002\030\001B\342\001\n!com.google.cloud.osco" - + "nfig.v1alphaB\021ConfigCommonProtoP\001ZEgoogl" - + "e.golang.org/genproto/googleapis/cloud/o" - + "sconfig/v1alpha;osconfig\252\002\035Google.Cloud." - + "OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsConfig" - + "\\V1alpha\352\002 Google::Cloud::OsConfig::V1al" - + "phab\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor, - new java.lang.String[] { - "Type", "Outcome", "ErrorMessage", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor, - new java.lang.String[] { - "OsPolicyResourceId", "ConfigSteps", "State", "ExecResourceOutput", "Output", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor, - new java.lang.String[] { - "EnforcementOutput", - }); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequestOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequestOrBuilder.java deleted file mode 100644 index 100e14bd..00000000 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto - -package com.google.cloud.osconfig.v1alpha; - -public interface DeleteOSPolicyAssignmentRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the OS policy assignment to be deleted
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the OS policy assignment to be deleted
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequestOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequestOrBuilder.java deleted file mode 100644 index 90deef8c..00000000 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignments.proto - -package com.google.cloud.osconfig.v1alpha; - -public interface GetOSPolicyAssignmentRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of OS policy assignment.
-   * Format:
-   * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of OS policy assignment.
-   * Format:
-   * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java deleted file mode 100644 index 15674d9c..00000000 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java +++ /dev/null @@ -1,181 +0,0 @@ -/* - * 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/osconfig/v1alpha/instance_os_policies_compliance.proto - -package com.google.cloud.osconfig.v1alpha; - -public final class InstanceOSPoliciesComplianceProto { - private InstanceOSPoliciesComplianceProto() {} - - 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_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\nCgoogle/cloud/osconfig/v1alpha/instance" - + "_os_policies_compliance.proto\022\035google.cl" - + "oud.osconfig.v1alpha\032\034google/api/annotat" - + "ions.proto\032\037google/api/field_behavior.pr" - + "oto\032\031google/api/resource.proto\0321google/c" - + "loud/osconfig/v1alpha/config_common.prot" - + "o\032\037google/protobuf/timestamp.proto\"\356\006\n\034I" - + "nstanceOSPoliciesCompliance\022\021\n\004name\030\001 \001(" - + "\tB\003\340A\003\022\025\n\010instance\030\002 \001(\tB\003\340A\003\022J\n\005state\030\003" - + " \001(\01626.google.cloud.osconfig.v1alpha.OSP" - + "olicyComplianceStateB\003\340A\003\022\033\n\016detailed_st" - + "ate\030\004 \001(\tB\003\340A\003\022\"\n\025detailed_state_reason\030" - + "\005 \001(\tB\003\340A\003\022r\n\025os_policy_compliances\030\006 \003(" - + "\0132N.google.cloud.osconfig.v1alpha.Instan" - + "ceOSPoliciesCompliance.OSPolicyComplianc" - + "eB\003\340A\003\022C\n\032last_compliance_check_time\030\007 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022#\n\026l" - + "ast_compliance_run_id\030\010 \001(\tB\003\340A\003\032\247\002\n\022OSP" - + "olicyCompliance\022\024\n\014os_policy_id\030\001 \001(\t\022M\n" - + "\024os_policy_assignment\030\002 \001(\tB/\372A,\n*osconf" - + "ig.googleapis.com/OSPolicyAssignment\022E\n\005" - + "state\030\004 \001(\01626.google.cloud.osconfig.v1al" - + "pha.OSPolicyComplianceState\022a\n\036os_policy" - + "_resource_compliances\030\005 \003(\01329.google.clo" - + "ud.osconfig.v1alpha.OSPolicyResourceComp" - + "liance:\002\030\001:\216\001\030\001\352A\210\001\n4osconfig.googleapis" - + ".com/InstanceOSPoliciesCompliance\022Pproje" - + "cts/{project}/locations/{location}/insta" - + "nceOSPoliciesCompliances/{instance}\"x\n&G" - + "etInstanceOSPoliciesComplianceRequest\022J\n" - + "\004name\030\001 \001(\tB<\340A\002\372A6\n4osconfig.googleapis" - + ".com/InstanceOSPoliciesCompliance:\002\030\001\"\240\001" - + "\n(ListInstanceOSPoliciesCompliancesReque" - + "st\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.go" - + "ogleapis.com/Location\022\021\n\tpage_size\030\002 \001(\005" - + "\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t:\002\030\001" - + "\"\257\001\n)ListInstanceOSPoliciesCompliancesRe" - + "sponse\022e\n instance_os_policies_complianc" - + "es\030\001 \003(\0132;.google.cloud.osconfig.v1alpha" - + ".InstanceOSPoliciesCompliance\022\027\n\017next_pa" - + "ge_token\030\002 \001(\t:\002\030\001B\362\001\n!com.google.cloud." - + "osconfig.v1alphaB!InstanceOSPoliciesComp" - + "lianceProtoP\001ZEgoogle.golang.org/genprot" - + "o/googleapis/cloud/osconfig/v1alpha;osco" - + "nfig\252\002\035Google.Cloud.OsConfig.V1Alpha\312\002\035G" - + "oogle\\Cloud\\OsConfig\\V1alpha\352\002 Google::C" - + "loud::OsConfig::V1alphab\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.osconfig.v1alpha.ConfigCommonProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor, - new java.lang.String[] { - "Name", - "Instance", - "State", - "DetailedState", - "DetailedStateReason", - "OsPolicyCompliances", - "LastComplianceCheckTime", - "LastComplianceRunId", - }); - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor = - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor, - new java.lang.String[] { - "OsPolicyId", "OsPolicyAssignment", "State", "OsPolicyResourceCompliances", - }); - internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor, - new java.lang.String[] { - "InstanceOsPoliciesCompliances", "NextPageToken", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.osconfig.v1alpha.ConfigCommonProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java deleted file mode 100644 index 79399bf8..00000000 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java +++ /dev/null @@ -1,363 +0,0 @@ -/* - * 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/osconfig/v1alpha/inventory.proto - -package com.google.cloud.osconfig.v1alpha; - -public final class Inventories { - private Inventories() {} - - 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_osconfig_v1alpha_Inventory_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n-google/cloud/osconfig/v1alpha/inventor" - + "y.proto\022\035google.cloud.osconfig.v1alpha\032\034" - + "google/api/annotations.proto\032\037google/api" - + "/field_behavior.proto\032\031google/api/resour" - + "ce.proto\032\037google/protobuf/timestamp.prot" - + "o\032\026google/type/date.proto\"\267\026\n\tInventory\022" - + "\021\n\004name\030\003 \001(\tB\003\340A\003\022E\n\007os_info\030\001 \001(\0132/.go" - + "ogle.cloud.osconfig.v1alpha.Inventory.Os" - + "InfoB\003\340A\003\022G\n\005items\030\002 \003(\01323.google.cloud." - + "osconfig.v1alpha.Inventory.ItemsEntryB\003\340" - + "A\003\0224\n\013update_time\030\004 \001(\0132\032.google.protobu" - + "f.TimestampB\003\340A\003\032\270\001\n\006OsInfo\022\020\n\010hostname\030" - + "\t \001(\t\022\021\n\tlong_name\030\002 \001(\t\022\022\n\nshort_name\030\003" - + " \001(\t\022\017\n\007version\030\004 \001(\t\022\024\n\014architecture\030\005 " - + "\001(\t\022\026\n\016kernel_version\030\006 \001(\t\022\026\n\016kernel_re" - + "lease\030\007 \001(\t\022\036\n\026osconfig_agent_version\030\010 " - + "\001(\t\032\313\004\n\004Item\022\n\n\002id\030\001 \001(\t\022M\n\013origin_type\030" - + "\002 \001(\01628.google.cloud.osconfig.v1alpha.In" - + "ventory.Item.OriginType\022/\n\013create_time\030\010" - + " \001(\0132\032.google.protobuf.Timestamp\022/\n\013upda" - + "te_time\030\t \001(\0132\032.google.protobuf.Timestam" - + "p\022@\n\004type\030\005 \001(\01622.google.cloud.osconfig." - + "v1alpha.Inventory.Item.Type\022U\n\021installed" - + "_package\030\006 \001(\01328.google.cloud.osconfig.v" - + "1alpha.Inventory.SoftwarePackageH\000\022U\n\021av" - + "ailable_package\030\007 \001(\01328.google.cloud.osc" - + "onfig.v1alpha.Inventory.SoftwarePackageH" - + "\000\"?\n\nOriginType\022\033\n\027ORIGIN_TYPE_UNSPECIFI" - + "ED\020\000\022\024\n\020INVENTORY_REPORT\020\001\"J\n\004Type\022\024\n\020TY" - + "PE_UNSPECIFIED\020\000\022\025\n\021INSTALLED_PACKAGE\020\001\022" - + "\025\n\021AVAILABLE_PACKAGE\020\002B\t\n\007details\032\237\006\n\017So" - + "ftwarePackage\022P\n\013yum_package\030\001 \001(\01329.goo" - + "gle.cloud.osconfig.v1alpha.Inventory.Ver" - + "sionedPackageH\000\022P\n\013apt_package\030\002 \001(\01329.g" - + "oogle.cloud.osconfig.v1alpha.Inventory.V" - + "ersionedPackageH\000\022S\n\016zypper_package\030\003 \001(" - + "\01329.google.cloud.osconfig.v1alpha.Invent" - + "ory.VersionedPackageH\000\022S\n\016googet_package" - + "\030\004 \001(\01329.google.cloud.osconfig.v1alpha.I" - + "nventory.VersionedPackageH\000\022L\n\014zypper_pa" - + "tch\030\005 \001(\01324.google.cloud.osconfig.v1alph" - + "a.Inventory.ZypperPatchH\000\022T\n\013wua_package" - + "\030\006 \001(\0132=.google.cloud.osconfig.v1alpha.I" - + "nventory.WindowsUpdatePackageH\000\022a\n\013qfe_p" - + "ackage\030\007 \001(\0132J.google.cloud.osconfig.v1a" - + "lpha.Inventory.WindowsQuickFixEngineerin" - + "gPackageH\000\022P\n\013cos_package\030\010 \001(\01329.google" - + ".cloud.osconfig.v1alpha.Inventory.Versio" - + "nedPackageH\000\022Z\n\023windows_application\030\t \001(" - + "\0132;.google.cloud.osconfig.v1alpha.Invent" - + "ory.WindowsApplicationH\000B\t\n\007details\032O\n\020V" - + "ersionedPackage\022\024\n\014package_name\030\004 \001(\t\022\024\n" - + "\014architecture\030\002 \001(\t\022\017\n\007version\030\003 \001(\t\032V\n\013" - + "ZypperPatch\022\022\n\npatch_name\030\005 \001(\t\022\020\n\010categ" - + "ory\030\002 \001(\t\022\020\n\010severity\030\003 \001(\t\022\017\n\007summary\030\004" - + " \001(\t\032\210\003\n\024WindowsUpdatePackage\022\r\n\005title\030\001" - + " \001(\t\022\023\n\013description\030\002 \001(\t\022g\n\ncategories\030" - + "\003 \003(\0132S.google.cloud.osconfig.v1alpha.In" - + "ventory.WindowsUpdatePackage.WindowsUpda" - + "teCategory\022\026\n\016kb_article_ids\030\004 \003(\t\022\023\n\013su" - + "pport_url\030\013 \001(\t\022\026\n\016more_info_urls\030\005 \003(\t\022" - + "\021\n\tupdate_id\030\006 \001(\t\022\027\n\017revision_number\030\007 " - + "\001(\005\022?\n\033last_deployment_change_time\030\n \001(\013" - + "2\032.google.protobuf.Timestamp\0321\n\025WindowsU" - + "pdateCategory\022\n\n\002id\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\032" - + "\217\001\n!WindowsQuickFixEngineeringPackage\022\017\n" - + "\007caption\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\022\n\nh" - + "ot_fix_id\030\003 \001(\t\0220\n\014install_time\030\005 \001(\0132\032." - + "google.protobuf.Timestamp\032\222\001\n\022WindowsApp" - + "lication\022\024\n\014display_name\030\001 \001(\t\022\027\n\017displa" - + "y_version\030\002 \001(\t\022\021\n\tpublisher\030\003 \001(\t\022\'\n\014in" - + "stall_date\030\004 \001(\0132\021.google.type.Date\022\021\n\th" - + "elp_link\030\005 \001(\t\032[\n\nItemsEntry\022\013\n\003key\030\001 \001(" - + "\t\022<\n\005value\030\002 \001(\0132-.google.cloud.osconfig" - + ".v1alpha.Inventory.Item:\0028\001:n\352Ak\n!osconf" - + "ig.googleapis.com/Inventory\022Fprojects/{p" - + "roject}/locations/{location}/instances/{" - + "instance}/inventory\"\212\001\n\023GetInventoryRequ" - + "est\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!osconfig.goog" - + "leapis.com/Inventory\022:\n\004view\030\002 \001(\0162,.goo" - + "gle.cloud.osconfig.v1alpha.InventoryView" - + "\"\304\001\n\026ListInventoriesRequest\0227\n\006parent\030\001 " - + "\001(\tB\'\340A\002\372A!\n\037compute.googleapis.com/Inst" - + "ance\022:\n\004view\030\002 \001(\0162,.google.cloud.osconf" - + "ig.v1alpha.InventoryView\022\021\n\tpage_size\030\003 " - + "\001(\005\022\022\n\npage_token\030\004 \001(\t\022\016\n\006filter\030\005 \001(\t\"" - + "q\n\027ListInventoriesResponse\022=\n\013inventorie" - + "s\030\001 \003(\0132(.google.cloud.osconfig.v1alpha." - + "Inventory\022\027\n\017next_page_token\030\002 \001(\t*D\n\rIn" - + "ventoryView\022\036\n\032INVENTORY_VIEW_UNSPECIFIE" - + "D\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\334\001\n!com.google." - + "cloud.osconfig.v1alphaB\013InventoriesP\001ZEg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/osconfig/v1alpha;osconfig\252\002\035Google.Cl" - + "oud.OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsCo" - + "nfig\\V1alpha\352\002 Google::Cloud::OsConfig::" - + "V1alphab\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.DateProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_Inventory_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor, - new java.lang.String[] { - "Name", "OsInfo", "Items", "UpdateTime", - }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor, - new java.lang.String[] { - "Hostname", - "LongName", - "ShortName", - "Version", - "Architecture", - "KernelVersion", - "KernelRelease", - "OsconfigAgentVersion", - }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor, - new java.lang.String[] { - "Id", - "OriginType", - "CreateTime", - "UpdateTime", - "Type", - "InstalledPackage", - "AvailablePackage", - "Details", - }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor, - new java.lang.String[] { - "YumPackage", - "AptPackage", - "ZypperPackage", - "GoogetPackage", - "ZypperPatch", - "WuaPackage", - "QfePackage", - "CosPackage", - "WindowsApplication", - "Details", - }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor, - new java.lang.String[] { - "PackageName", "Architecture", "Version", - }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor, - new java.lang.String[] { - "PatchName", "Category", "Severity", "Summary", - }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor, - new java.lang.String[] { - "Title", - "Description", - "Categories", - "KbArticleIds", - "SupportUrl", - "MoreInfoUrls", - "UpdateId", - "RevisionNumber", - "LastDeploymentChangeTime", - }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor, - new java.lang.String[] { - "Id", "Name", - }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor, - new java.lang.String[] { - "Caption", "Description", "HotFixId", "InstallTime", - }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(7); - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor, - new java.lang.String[] { - "DisplayName", "DisplayVersion", "Publisher", "InstallDate", "HelpLink", - }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(8); - internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor, - new java.lang.String[] { - "Parent", "View", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor, - new java.lang.String[] { - "Inventories", "NextPageToken", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java deleted file mode 100644 index 301da0a5..00000000 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java +++ /dev/null @@ -1,256 +0,0 @@ -/* - * 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/osconfig/v1alpha/os_policy_assignment_reports.proto - -package com.google.cloud.osconfig.v1alpha; - -public final class OSPolicyAssignmentReportsProto { - private OSPolicyAssignmentReportsProto() {} - - 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_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n@google/cloud/osconfig/v1alpha/os_polic" - + "y_assignment_reports.proto\022\035google.cloud" - + ".osconfig.v1alpha\032\034google/api/annotation" - + "s.proto\032\037google/api/field_behavior.proto" - + "\032\031google/api/resource.proto\032\037google/prot" - + "obuf/timestamp.proto\"l\n\"GetOSPolicyAssig" - + "nmentReportRequest\022F\n\004name\030\001 \001(\tB8\340A\002\372A2" - + "\n0osconfig.googleapis.com/OSPolicyAssign" - + "mentReport\"\250\001\n$ListOSPolicyAssignmentRep" - + "ortsRequest\022I\n\006parent\030\001 \001(\tB9\340A\002\372A3\n1com" - + "pute.googleapis.com/InstanceOSPolicyAssi" - + "gnment\022\021\n\tpage_size\030\002 \001(\005\022\016\n\006filter\030\003 \001(" - + "\t\022\022\n\npage_token\030\004 \001(\t\"\237\001\n%ListOSPolicyAs" - + "signmentReportsResponse\022]\n\034os_policy_ass" - + "ignment_reports\030\001 \003(\01327.google.cloud.osc" - + "onfig.v1alpha.OSPolicyAssignmentReport\022\027" - + "\n\017next_page_token\030\002 \001(\t\"\361\016\n\030OSPolicyAssi" - + "gnmentReport\022\014\n\004name\030\001 \001(\t\022\020\n\010instance\030\002" - + " \001(\t\022M\n\024os_policy_assignment\030\003 \001(\tB/\372A,\n" - + "*osconfig.googleapis.com/OSPolicyAssignm" - + "ent\022i\n\025os_policy_compliances\030\004 \003(\0132J.goo" - + "gle.cloud.osconfig.v1alpha.OSPolicyAssig" - + "nmentReport.OSPolicyCompliance\022/\n\013update" - + "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" - + "\023\n\013last_run_id\030\006 \001(\t\032\225\013\n\022OSPolicyComplia" - + "nce\022\024\n\014os_policy_id\030\001 \001(\t\022t\n\020compliance_" - + "state\030\002 \001(\0162Z.google.cloud.osconfig.v1al" - + "pha.OSPolicyAssignmentReport.OSPolicyCom" - + "pliance.ComplianceState\022\037\n\027compliance_st" - + "ate_reason\030\003 \001(\t\022\215\001\n\036os_policy_resource_" - + "compliances\030\004 \003(\0132e.google.cloud.osconfi" - + "g.v1alpha.OSPolicyAssignmentReport.OSPol" - + "icyCompliance.OSPolicyResourceCompliance" - + "\032\377\007\n\032OSPolicyResourceCompliance\022\035\n\025os_po" - + "licy_resource_id\030\001 \001(\t\022\227\001\n\014config_steps\030" - + "\002 \003(\0132\200\001.google.cloud.osconfig.v1alpha.O" - + "SPolicyAssignmentReport.OSPolicyComplian" - + "ce.OSPolicyResourceCompliance.OSPolicyRe" - + "sourceConfigStep\022\217\001\n\020compliance_state\030\003 " - + "\001(\0162u.google.cloud.osconfig.v1alpha.OSPo" - + "licyAssignmentReport.OSPolicyCompliance." - + "OSPolicyResourceCompliance.ComplianceSta" - + "te\022\037\n\027compliance_state_reason\030\004 \001(\t\022\230\001\n\024" - + "exec_resource_output\030\005 \001(\0132x.google.clou" - + "d.osconfig.v1alpha.OSPolicyAssignmentRep" - + "ort.OSPolicyCompliance.OSPolicyResourceC" - + "ompliance.ExecResourceOutputH\000\032\333\002\n\032OSPol" - + "icyResourceConfigStep\022\224\001\n\004type\030\001 \001(\0162\205\001." - + "google.cloud.osconfig.v1alpha.OSPolicyAs" - + "signmentReport.OSPolicyCompliance.OSPoli" - + "cyResourceCompliance.OSPolicyResourceCon" - + "figStep.Type\022\025\n\rerror_message\030\002 \001(\t\"\216\001\n\004" - + "Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\016\n\nVALIDATION" - + "\020\001\022\027\n\023DESIRED_STATE_CHECK\020\002\022\035\n\031DESIRED_S" - + "TATE_ENFORCEMENT\020\003\022(\n$DESIRED_STATE_CHEC" - + "K_POST_ENFORCEMENT\020\004\0320\n\022ExecResourceOutp" - + "ut\022\032\n\022enforcement_output\030\002 \001(\014\"@\n\017Compli" - + "anceState\022\013\n\007UNKNOWN\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n" - + "\rNON_COMPLIANT\020\002B\010\n\006output\"@\n\017Compliance" - + "State\022\013\n\007UNKNOWN\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n\rNON" - + "_COMPLIANT\020\002:\234\001\352A\230\001\n0osconfig.googleapis" - + ".com/OSPolicyAssignmentReport\022dprojects/" - + "{project}/locations/{location}/instances" - + "/{instance}/osPolicyAssignments/{assignm" - + "ent}/reportB\205\003\n!com.google.cloud.osconfi" - + "g.v1alphaB\036OSPolicyAssignmentReportsProt" - + "oP\001ZEgoogle.golang.org/genproto/googleap" - + "is/cloud/osconfig/v1alpha;osconfig\252\002\035Goo" - + "gle.Cloud.OsConfig.V1Alpha\312\002\035Google\\Clou" - + "d\\OsConfig\\V1alpha\352\002 Google::Cloud::OsCo" - + "nfig::V1alpha\352A\222\001\n1compute.googleapis.co" - + "m/InstanceOSPolicyAssignment\022]projects/{" - + "project}/locations/{location}/instances/" - + "{instance}/osPolicyAssignments/{assignme" - + "nt}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "Filter", "PageToken", - }); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor, - new java.lang.String[] { - "OsPolicyAssignmentReports", "NextPageToken", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor, - new java.lang.String[] { - "Name", - "Instance", - "OsPolicyAssignment", - "OsPolicyCompliances", - "UpdateTime", - "LastRunId", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor, - new java.lang.String[] { - "OsPolicyId", - "ComplianceState", - "ComplianceStateReason", - "OsPolicyResourceCompliances", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor, - new java.lang.String[] { - "OsPolicyResourceId", - "ConfigSteps", - "ComplianceState", - "ComplianceStateReason", - "ExecResourceOutput", - "Output", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor, - new java.lang.String[] { - "Type", "ErrorMessage", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor, - new java.lang.String[] { - "EnforcementOutput", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java deleted file mode 100644 index 39edb95e..00000000 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java +++ /dev/null @@ -1,189 +0,0 @@ -/* - * 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/osconfig/v1alpha/osconfig_zonal_service.proto - -package com.google.cloud.osconfig.v1alpha; - -public final class OsConfigZonalServiceProto { - private OsConfigZonalServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n:google/cloud/osconfig/v1alpha/osconfig" - + "_zonal_service.proto\022\035google.cloud.oscon" - + "fig.v1alpha\032\034google/api/annotations.prot" - + "o\032\027google/api/client.proto\032\031google/api/r" - + "esource.proto\032Cgoogle/cloud/osconfig/v1a" - + "lpha/instance_os_policies_compliance.pro" - + "to\032-google/cloud/osconfig/v1alpha/invent" - + "ory.proto\032@google/cloud/osconfig/v1alpha" - + "/os_policy_assignment_reports.proto\0329goo" - + "gle/cloud/osconfig/v1alpha/os_policy_ass" - + "ignments.proto\0321google/cloud/osconfig/v1" - + "alpha/vulnerability.proto\032#google/longru" - + "nning/operations.proto2\350\034\n\024OsConfigZonal" - + "Service\022\310\002\n\030CreateOSPolicyAssignment\022>.g" - + "oogle.cloud.osconfig.v1alpha.CreateOSPol" - + "icyAssignmentRequest\032\035.google.longrunnin" - + "g.Operation\"\314\001\202\323\344\223\002T\".google.cloud.osconfig.v1alpha." - + "UpdateOSPolicyAssignmentRequest\032\035.google" - + ".longrunning.Operation\"\316\001\202\323\344\223\002i2Q/v1alph" - + "a/{os_policy_assignment.name=projects/*/" - + "locations/*/osPolicyAssignments/*}:\024os_p" - + "olicy_assignment\332A os_policy_assignment," - + "update_mask\312A9\n\022OSPolicyAssignment\022#OSPo" - + "licyAssignmentOperationMetadata\022\324\001\n\025GetO" - + "SPolicyAssignment\022;.google.cloud.osconfi" - + "g.v1alpha.GetOSPolicyAssignmentRequest\0321" - + ".google.cloud.osconfig.v1alpha.OSPolicyA" - + "ssignment\"K\202\323\344\223\002>\022.google.cloud.osconfi" - + "g.v1alpha.ListOSPolicyAssignmentsRespons" - + "e\"M\202\323\344\223\002>\022.google.cloud.oscon" - + "fig.v1alpha.DeleteOSPolicyAssignmentRequ" - + "est\032\035.google.longrunning.Operation\"\212\001\202\323\344" - + "\223\002>*\022.google.cloud.osconfig." - + "v1alpha.ListVulnerabilityReportsRequest\032" - + "?.google.cloud.osconfig.v1alpha.ListVuln" - + "erabilityReportsResponse\"Z\202\323\344\223\002K\022I/v1alp" - + "ha/{parent=projects/*/locations/*/instan" - + "ces/*}/vulnerabilityReports\332A\006parent\032K\312A" - + "\027osconfig.googleapis.com\322A.https://www.g" - + "oogleapis.com/auth/cloud-platformB\314\002\n!co" - + "m.google.cloud.osconfig.v1alphaB\031OsConfi" - + "gZonalServiceProtoP\001ZEgoogle.golang.org/" - + "genproto/googleapis/cloud/osconfig/v1alp" - + "ha;osconfig\252\002\035Google.Cloud.OsConfig.V1Al" - + "pha\312\002\035Google\\Cloud\\OsConfig\\V1alpha\352\002 Go" - + "ogle::Cloud::OsConfig::V1alpha\352A_\n\037compu" - + "te.googleapis.com/Instance\022.google.cloud.osconfig.v1alpha." - + "OSPolicyAssignment.RolloutStateB\003\340A\003\022\025\n\010" - + "baseline\030\n \001(\010B\003\340A\003\022\024\n\007deleted\030\013 \001(\010B\003\340A" - + "\003\022\030\n\013reconciling\030\014 \001(\010B\003\340A\003\022\020\n\003uid\030\r \001(\t" - + "B\003\340A\003\032\221\001\n\010LabelSet\022V\n\006labels\030\001 \003(\0132F.goo" - + "gle.cloud.osconfig.v1alpha.OSPolicyAssig" - + "nment.LabelSet.LabelsEntry\032-\n\013LabelsEntr" - + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\203\003\n\016In" - + "stanceFilter\022\013\n\003all\030\001 \001(\010\022\032\n\016os_short_na" - + "mes\030\002 \003(\tB\002\030\001\022T\n\020inclusion_labels\030\003 \003(\0132" - + ":.google.cloud.osconfig.v1alpha.OSPolicy" - + "Assignment.LabelSet\022T\n\020exclusion_labels\030" - + "\004 \003(\0132:.google.cloud.osconfig.v1alpha.OS" - + "PolicyAssignment.LabelSet\022_\n\013inventories" - + "\030\005 \003(\0132J.google.cloud.osconfig.v1alpha.O" - + "SPolicyAssignment.InstanceFilter.Invento" - + "ry\032;\n\tInventory\022\032\n\ros_short_name\030\001 \001(\tB\003" - + "\340A\002\022\022\n\nos_version\030\002 \001(\t\032\223\001\n\007Rollout\022M\n\021d" - + "isruption_budget\030\001 \001(\0132-.google.cloud.os" - + "config.v1alpha.FixedOrPercentB\003\340A\002\0229\n\021mi" - + "n_wait_duration\030\002 \001(\0132\031.google.protobuf." - + "DurationB\003\340A\002\"l\n\014RolloutState\022\035\n\031ROLLOUT" - + "_STATE_UNSPECIFIED\020\000\022\017\n\013IN_PROGRESS\020\001\022\016\n" - + "\nCANCELLING\020\002\022\r\n\tCANCELLED\020\003\022\r\n\tSUCCEEDE" - + "D\020\004:\204\001\352A\200\001\n*osconfig.googleapis.com/OSPo" - + "licyAssignment\022Rprojects/{project}/locat" - + "ions/{location}/osPolicyAssignments/{os_" - + "policy_assignment}\"\352\004\n#OSPolicyAssignmen" - + "tOperationMetadata\022M\n\024os_policy_assignme" - + "nt\030\001 \001(\tB/\372A,\n*osconfig.googleapis.com/O" - + "SPolicyAssignment\022`\n\napi_method\030\002 \001(\0162L." - + "google.cloud.osconfig.v1alpha.OSPolicyAs" - + "signmentOperationMetadata.APIMethod\022f\n\rr" - + "ollout_state\030\003 \001(\0162O.google.cloud.osconf" - + "ig.v1alpha.OSPolicyAssignmentOperationMe" - + "tadata.RolloutState\0226\n\022rollout_start_tim" - + "e\030\004 \001(\0132\032.google.protobuf.Timestamp\0227\n\023r" - + "ollout_update_time\030\005 \001(\0132\032.google.protob" - + "uf.Timestamp\"K\n\tAPIMethod\022\032\n\026API_METHOD_" - + "UNSPECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006UPDATE\020\002\022\n\n" - + "\006DELETE\020\003\"l\n\014RolloutState\022\035\n\031ROLLOUT_STA" - + "TE_UNSPECIFIED\020\000\022\017\n\013IN_PROGRESS\020\001\022\016\n\nCAN" - + "CELLING\020\002\022\r\n\tCANCELLED\020\003\022\r\n\tSUCCEEDED\020\004\"" - + "\330\001\n\037CreateOSPolicyAssignmentRequest\0229\n\006p" - + "arent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapi" - + "s.com/Location\022T\n\024os_policy_assignment\030\002" - + " \001(\01321.google.cloud.osconfig.v1alpha.OSP" - + "olicyAssignmentB\003\340A\002\022$\n\027os_policy_assign" - + "ment_id\030\003 \001(\tB\003\340A\002\"\255\001\n\037UpdateOSPolicyAss" - + "ignmentRequest\022T\n\024os_policy_assignment\030\001" - + " \001(\01321.google.cloud.osconfig.v1alpha.OSP" - + "olicyAssignmentB\003\340A\002\0224\n\013update_mask\030\002 \001(" - + "\0132\032.google.protobuf.FieldMaskB\003\340A\001\"`\n\034Ge" - + "tOSPolicyAssignmentRequest\022@\n\004name\030\001 \001(\t" - + "B2\340A\002\372A,\n*osconfig.googleapis.com/OSPoli" - + "cyAssignment\"\202\001\n\036ListOSPolicyAssignments" - + "Request\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locatio" - + "ns.googleapis.com/Location\022\021\n\tpage_size\030" - + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\214\001\n\037ListOSPoli" - + "cyAssignmentsResponse\022P\n\025os_policy_assig" - + "nments\030\001 \003(\01321.google.cloud.osconfig.v1a" - + "lpha.OSPolicyAssignment\022\027\n\017next_page_tok" - + "en\030\002 \001(\t\"\221\001\n&ListOSPolicyAssignmentRevis" - + "ionsRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*oscon" - + "fig.googleapis.com/OSPolicyAssignment\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\224\001\n" - + "\'ListOSPolicyAssignmentRevisionsResponse" - + "\022P\n\025os_policy_assignments\030\001 \003(\01321.google" - + ".cloud.osconfig.v1alpha.OSPolicyAssignme" - + "nt\022\027\n\017next_page_token\030\002 \001(\t\"c\n\037DeleteOSP" - + "olicyAssignmentRequest\022@\n\004name\030\001 \001(\tB2\340A" - + "\002\372A,\n*osconfig.googleapis.com/OSPolicyAs" - + "signmentB\351\001\n!com.google.cloud.osconfig.v" - + "1alphaB\030OsPolicyAssignmentsProtoP\001ZEgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "osconfig/v1alpha;osconfig\252\002\035Google.Cloud" - + ".OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsConfi" - + "g\\V1alpha\352\002 Google::Cloud::OsConfig::V1a" - + "lphab\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.osconfig.v1alpha.OsPolicyProto.getDescriptor(), - com.google.cloud.osconfig.v1alpha.Common.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor, - new java.lang.String[] { - "Name", - "Description", - "OsPolicies", - "InstanceFilter", - "Rollout", - "RevisionId", - "RevisionCreateTime", - "Etag", - "RolloutState", - "Baseline", - "Deleted", - "Reconciling", - "Uid", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor, - new java.lang.String[] { - "Labels", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor, - new java.lang.String[] { - "All", "OsShortNames", "InclusionLabels", "ExclusionLabels", "Inventories", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor, - new java.lang.String[] { - "OsShortName", "OsVersion", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor, - new java.lang.String[] { - "DisruptionBudget", "MinWaitDuration", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor, - new java.lang.String[] { - "OsPolicyAssignment", - "ApiMethod", - "RolloutState", - "RolloutStartTime", - "RolloutUpdateTime", - }); - internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor, - new java.lang.String[] { - "Parent", "OsPolicyAssignment", "OsPolicyAssignmentId", - }); - internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor, - new java.lang.String[] { - "OsPolicyAssignment", "UpdateMask", - }); - internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor, - new java.lang.String[] { - "OsPolicyAssignments", "NextPageToken", - }); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor, - new java.lang.String[] { - "Name", "PageSize", "PageToken", - }); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor, - new java.lang.String[] { - "OsPolicyAssignments", "NextPageToken", - }); - internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.osconfig.v1alpha.OsPolicyProto.getDescriptor(); - com.google.cloud.osconfig.v1alpha.Common.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyProto.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyProto.java deleted file mode 100644 index 115a5e73..00000000 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyProto.java +++ /dev/null @@ -1,513 +0,0 @@ -/* - * 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/osconfig/v1alpha/os_policy.proto - -package com.google.cloud.osconfig.v1alpha; - -public final class OsPolicyProto { - private OsPolicyProto() {} - - 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_osconfig_v1alpha_OSPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n-google/cloud/osconfig/v1alpha/os_polic" - + "y.proto\022\035google.cloud.osconfig.v1alpha\032\034" - + "google/api/annotations.proto\032\037google/api" - + "/field_behavior.proto\"\204#\n\010OSPolicy\022\017\n\002id" - + "\030\001 \001(\tB\003\340A\002\022\023\n\013description\030\002 \001(\t\022?\n\004mode" - + "\030\003 \001(\0162,.google.cloud.osconfig.v1alpha.O" - + "SPolicy.ModeB\003\340A\002\022S\n\017resource_groups\030\004 \003" - + "(\01325.google.cloud.osconfig.v1alpha.OSPol" - + "icy.ResourceGroupB\003\340A\002\022%\n\035allow_no_resou" - + "rce_group_match\030\005 \001(\010\0325\n\010OSFilter\022\025\n\ros_" - + "short_name\030\001 \001(\t\022\022\n\nos_version\030\002 \001(\t\032A\n\017" - + "InventoryFilter\022\032\n\ros_short_name\030\001 \001(\tB\003" - + "\340A\002\022\022\n\nos_version\030\002 \001(\t\032\342\035\n\010Resource\022\017\n\002" - + "id\030\001 \001(\tB\003\340A\002\022O\n\003pkg\030\002 \001(\0132@.google.clou" - + "d.osconfig.v1alpha.OSPolicy.Resource.Pac" - + "kageResourceH\000\022Y\n\nrepository\030\003 \001(\0132C.goo" - + "gle.cloud.osconfig.v1alpha.OSPolicy.Reso" - + "urce.RepositoryResourceH\000\022M\n\004exec\030\004 \001(\0132" - + "=.google.cloud.osconfig.v1alpha.OSPolicy" - + ".Resource.ExecResourceH\000\022M\n\004file\030\005 \001(\0132=" - + ".google.cloud.osconfig.v1alpha.OSPolicy." - + "Resource.FileResourceH\000\032\320\002\n\004File\022N\n\006remo" - + "te\030\001 \001(\0132<.google.cloud.osconfig.v1alpha" - + ".OSPolicy.Resource.File.RemoteH\000\022H\n\003gcs\030" - + "\002 \001(\01329.google.cloud.osconfig.v1alpha.OS" - + "Policy.Resource.File.GcsH\000\022\024\n\nlocal_path" - + "\030\003 \001(\tH\000\022\026\n\016allow_insecure\030\004 \001(\010\0323\n\006Remo" - + "te\022\020\n\003uri\030\001 \001(\tB\003\340A\002\022\027\n\017sha256_checksum\030" - + "\002 \001(\t\032C\n\003Gcs\022\023\n\006bucket\030\001 \001(\tB\003\340A\002\022\023\n\006obj" - + "ect\030\002 \001(\tB\003\340A\002\022\022\n\ngeneration\030\003 \001(\003B\006\n\004ty" - + "pe\032\331\t\n\017PackageResource\022i\n\rdesired_state\030" - + "\001 \001(\0162M.google.cloud.osconfig.v1alpha.OS" - + "Policy.Resource.PackageResource.DesiredS" - + "tateB\003\340A\002\022S\n\003apt\030\002 \001(\0132D.google.cloud.os" - + "config.v1alpha.OSPolicy.Resource.Package" - + "Resource.APTH\000\022S\n\003deb\030\003 \001(\0132D.google.clo" - + "ud.osconfig.v1alpha.OSPolicy.Resource.Pa" - + "ckageResource.DebH\000\022S\n\003yum\030\004 \001(\0132D.googl" - + "e.cloud.osconfig.v1alpha.OSPolicy.Resour" - + "ce.PackageResource.YUMH\000\022Y\n\006zypper\030\005 \001(\013" - + "2G.google.cloud.osconfig.v1alpha.OSPolic" - + "y.Resource.PackageResource.ZypperH\000\022S\n\003r" - + "pm\030\006 \001(\0132D.google.cloud.osconfig.v1alpha" - + ".OSPolicy.Resource.PackageResource.RPMH\000" - + "\022Y\n\006googet\030\007 \001(\0132G.google.cloud.osconfig" - + ".v1alpha.OSPolicy.Resource.PackageResour" - + "ce.GooGetH\000\022S\n\003msi\030\010 \001(\0132D.google.cloud." - + "osconfig.v1alpha.OSPolicy.Resource.Packa" - + "geResource.MSIH\000\032d\n\003Deb\022J\n\006source\030\001 \001(\0132" - + "5.google.cloud.osconfig.v1alpha.OSPolicy" - + ".Resource.FileB\003\340A\002\022\021\n\tpull_deps\030\002 \001(\010\032\030" - + "\n\003APT\022\021\n\004name\030\001 \001(\tB\003\340A\002\032d\n\003RPM\022J\n\006sourc" - + "e\030\001 \001(\01325.google.cloud.osconfig.v1alpha." - + "OSPolicy.Resource.FileB\003\340A\002\022\021\n\tpull_deps" - + "\030\002 \001(\010\032\030\n\003YUM\022\021\n\004name\030\001 \001(\tB\003\340A\002\032\033\n\006Zypp" - + "er\022\021\n\004name\030\001 \001(\tB\003\340A\002\032\033\n\006GooGet\022\021\n\004name\030" - + "\001 \001(\tB\003\340A\002\032e\n\003MSI\022J\n\006source\030\001 \001(\01325.goog" - + "le.cloud.osconfig.v1alpha.OSPolicy.Resou" - + "rce.FileB\003\340A\002\022\022\n\nproperties\030\002 \003(\t\"I\n\014Des" - + "iredState\022\035\n\031DESIRED_STATE_UNSPECIFIED\020\000" - + "\022\r\n\tINSTALLED\020\001\022\013\n\007REMOVED\020\002B\020\n\016system_p" - + "ackage\032\321\007\n\022RepositoryResource\022`\n\003apt\030\001 \001" - + "(\0132Q.google.cloud.osconfig.v1alpha.OSPol" - + "icy.Resource.RepositoryResource.AptRepos" - + "itoryH\000\022`\n\003yum\030\002 \001(\0132Q.google.cloud.osco" - + "nfig.v1alpha.OSPolicy.Resource.Repositor" - + "yResource.YumRepositoryH\000\022f\n\006zypper\030\003 \001(" - + "\0132T.google.cloud.osconfig.v1alpha.OSPoli" - + "cy.Resource.RepositoryResource.ZypperRep" - + "ositoryH\000\022`\n\003goo\030\004 \001(\0132Q.google.cloud.os" - + "config.v1alpha.OSPolicy.Resource.Reposit" - + "oryResource.GooRepositoryH\000\032\243\002\n\rAptRepos" - + "itory\022x\n\014archive_type\030\001 \001(\0162].google.clo" - + "ud.osconfig.v1alpha.OSPolicy.Resource.Re" - + "positoryResource.AptRepository.ArchiveTy" - + "peB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\031\n\014distributio" - + "n\030\003 \001(\tB\003\340A\002\022\027\n\ncomponents\030\004 \003(\tB\003\340A\002\022\017\n" - + "\007gpg_key\030\005 \001(\t\"A\n\013ArchiveType\022\034\n\030ARCHIVE" - + "_TYPE_UNSPECIFIED\020\000\022\007\n\003DEB\020\001\022\013\n\007DEB_SRC\020" - + "\002\032_\n\rYumRepository\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014d" - + "isplay_name\030\002 \001(\t\022\025\n\010base_url\030\003 \001(\tB\003\340A\002" - + "\022\020\n\010gpg_keys\030\004 \003(\t\032b\n\020ZypperRepository\022\017" - + "\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014display_name\030\002 \001(\t\022\025\n" - + "\010base_url\030\003 \001(\tB\003\340A\002\022\020\n\010gpg_keys\030\004 \003(\t\0324" - + "\n\rGooRepository\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003ur" - + "l\030\002 \001(\tB\003\340A\002B\014\n\nrepository\032\215\004\n\014ExecResou" - + "rce\022Y\n\010validate\030\001 \001(\0132B.google.cloud.osc" - + "onfig.v1alpha.OSPolicy.Resource.ExecReso" - + "urce.ExecB\003\340A\002\022S\n\007enforce\030\002 \001(\0132B.google" - + ".cloud.osconfig.v1alpha.OSPolicy.Resourc" - + "e.ExecResource.Exec\032\314\002\n\004Exec\022E\n\004file\030\001 \001" - + "(\01325.google.cloud.osconfig.v1alpha.OSPol" - + "icy.Resource.FileH\000\022\020\n\006script\030\002 \001(\tH\000\022\014\n" - + "\004args\030\003 \003(\t\022h\n\013interpreter\030\004 \001(\0162N.googl" - + "e.cloud.osconfig.v1alpha.OSPolicy.Resour" - + "ce.ExecResource.Exec.InterpreterB\003\340A\002\022\030\n" - + "\020output_file_path\030\005 \001(\t\"O\n\013Interpreter\022\033" - + "\n\027INTERPRETER_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\t\n" - + "\005SHELL\020\002\022\016\n\nPOWERSHELL\020\003B\010\n\006source\032\326\002\n\014F" - + "ileResource\022E\n\004file\030\001 \001(\01325.google.cloud" - + ".osconfig.v1alpha.OSPolicy.Resource.File" - + "H\000\022\021\n\007content\030\002 \001(\tH\000\022\021\n\004path\030\003 \001(\tB\003\340A\002" - + "\022^\n\005state\030\004 \001(\0162J.google.cloud.osconfig." - + "v1alpha.OSPolicy.Resource.FileResource.D" - + "esiredStateB\003\340A\002\022\023\n\013permissions\030\005 \001(\t\"Z\n" - + "\014DesiredState\022\035\n\031DESIRED_STATE_UNSPECIFI" - + "ED\020\000\022\013\n\007PRESENT\020\001\022\n\n\006ABSENT\020\002\022\022\n\016CONTENT" - + "S_MATCH\020\003B\010\n\006sourceB\017\n\rresource_type\032\366\001\n" - + "\rResourceGroup\022G\n\tos_filter\030\001 \001(\01320.goog" - + "le.cloud.osconfig.v1alpha.OSPolicy.OSFil" - + "terB\002\030\001\022R\n\021inventory_filters\030\003 \003(\01327.goo" - + "gle.cloud.osconfig.v1alpha.OSPolicy.Inve" - + "ntoryFilter\022H\n\tresources\030\002 \003(\01320.google." - + "cloud.osconfig.v1alpha.OSPolicy.Resource" - + "B\003\340A\002\"=\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\016\n\nV" - + "ALIDATION\020\001\022\017\n\013ENFORCEMENT\020\002B\336\001\n!com.goo" - + "gle.cloud.osconfig.v1alphaB\rOsPolicyProt" - + "oP\001ZEgoogle.golang.org/genproto/googleap" - + "is/cloud/osconfig/v1alpha;osconfig\252\002\035Goo" - + "gle.Cloud.OsConfig.V1Alpha\312\002\035Google\\Clou" - + "d\\OsConfig\\V1alpha\352\002 Google::Cloud::OsCo" - + "nfig::V1alphab\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor, - new java.lang.String[] { - "Id", "Description", "Mode", "ResourceGroups", "AllowNoResourceGroupMatch", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor, - new java.lang.String[] { - "OsShortName", "OsVersion", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor, - new java.lang.String[] { - "OsShortName", "OsVersion", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor, - new java.lang.String[] { - "Id", "Pkg", "Repository", "Exec", "File", "ResourceType", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor, - new java.lang.String[] { - "Remote", "Gcs", "LocalPath", "AllowInsecure", "Type", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor, - new java.lang.String[] { - "Uri", "Sha256Checksum", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor, - new java.lang.String[] { - "Bucket", "Object", "Generation", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor, - new java.lang.String[] { - "DesiredState", - "Apt", - "Deb", - "Yum", - "Zypper", - "Rpm", - "Googet", - "Msi", - "SystemPackage", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor, - new java.lang.String[] { - "Source", "PullDeps", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor, - new java.lang.String[] { - "Source", "PullDeps", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor - .getNestedTypes() - .get(4); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor - .getNestedTypes() - .get(5); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor - .getNestedTypes() - .get(6); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor, - new java.lang.String[] { - "Source", "Properties", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor, - new java.lang.String[] { - "Apt", "Yum", "Zypper", "Goo", "Repository", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor, - new java.lang.String[] { - "ArchiveType", "Uri", "Distribution", "Components", "GpgKey", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor, - new java.lang.String[] { - "Id", "DisplayName", "BaseUrl", "GpgKeys", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor, - new java.lang.String[] { - "Id", "DisplayName", "BaseUrl", "GpgKeys", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor, - new java.lang.String[] { - "Name", "Url", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor, - new java.lang.String[] { - "Validate", "Enforce", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor, - new java.lang.String[] { - "File", "Script", "Args", "Interpreter", "OutputFilePath", "Source", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor - .getNestedTypes() - .get(4); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor, - new java.lang.String[] { - "File", "Content", "Path", "State", "Permissions", "Source", - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor, - new java.lang.String[] { - "OsFilter", "InventoryFilters", "Resources", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityProto.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityProto.java deleted file mode 100644 index 23f5546f..00000000 --- a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityProto.java +++ /dev/null @@ -1,278 +0,0 @@ -/* - * 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/osconfig/v1alpha/vulnerability.proto - -package com.google.cloud.osconfig.v1alpha; - -public final class VulnerabilityProto { - private VulnerabilityProto() {} - - 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_osconfig_v1alpha_VulnerabilityReport_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_CVSSv3_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/osconfig/v1alpha/vulnerab" - + "ility.proto\022\035google.cloud.osconfig.v1alp" - + "ha\032\034google/api/annotations.proto\032\037google" - + "/api/field_behavior.proto\032\031google/api/re" - + "source.proto\032\037google/protobuf/timestamp." - + "proto\"\334\010\n\023VulnerabilityReport\022\021\n\004name\030\001 " - + "\001(\tB\003\340A\003\022^\n\017vulnerabilities\030\002 \003(\0132@.goog" - + "le.cloud.osconfig.v1alpha.VulnerabilityR" - + "eport.VulnerabilityB\003\340A\003\0224\n\013update_time\030" - + "\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\032\226" - + "\006\n\rVulnerability\022Y\n\007details\030\001 \001(\0132H.goog" - + "le.cloud.osconfig.v1alpha.VulnerabilityR" - + "eport.Vulnerability.Details\022(\n\034installed" - + "_inventory_item_ids\030\002 \003(\tB\002\030\001\022(\n\034availab" - + "le_inventory_item_ids\030\003 \003(\tB\002\030\001\022/\n\013creat" - + "e_time\030\004 \001(\0132\032.google.protobuf.Timestamp" - + "\022/\n\013update_time\030\005 \001(\0132\032.google.protobuf." - + "Timestamp\022T\n\005items\030\006 \003(\0132E.google.cloud." - + "osconfig.v1alpha.VulnerabilityReport.Vul" - + "nerability.Item\032\236\002\n\007Details\022\013\n\003cve\030\001 \001(\t" - + "\022\025\n\rcvss_v2_score\030\002 \001(\002\0226\n\007cvss_v3\030\003 \001(\013" - + "2%.google.cloud.osconfig.v1alpha.CVSSv3\022" - + "\020\n\010severity\030\004 \001(\t\022\023\n\013description\030\005 \001(\t\022f" - + "\n\nreferences\030\006 \003(\0132R.google.cloud.osconf" - + "ig.v1alpha.VulnerabilityReport.Vulnerabi" - + "lity.Details.Reference\032(\n\tReference\022\013\n\003u" - + "rl\030\001 \001(\t\022\016\n\006source\030\002 \001(\t\032}\n\004Item\022#\n\033inst" - + "alled_inventory_item_id\030\001 \001(\t\022#\n\033availab" - + "le_inventory_item_id\030\002 \001(\t\022\025\n\rfixed_cpe_" - + "uri\030\003 \001(\t\022\024\n\014upstream_fix\030\004 \001(\t:\202\001\352A\177\n+o" - + "sconfig.googleapis.com/VulnerabilityRepo" - + "rt\022Pprojects/{project}/locations/{locati" - + "on}/instances/{instance}/vulnerabilityRe" - + "port\"b\n\035GetVulnerabilityReportRequest\022A\n" - + "\004name\030\001 \001(\tB3\340A\002\372A-\n+osconfig.googleapis" - + ".com/VulnerabilityReport\"\221\001\n\037ListVulnera" - + "bilityReportsRequest\0227\n\006parent\030\001 \001(\tB\'\340A" - + "\002\372A!\n\037compute.googleapis.com/Instance\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006" - + "filter\030\004 \001(\t\"\216\001\n ListVulnerabilityReport" - + "sResponse\022Q\n\025vulnerability_reports\030\001 \003(\013" - + "22.google.cloud.osconfig.v1alpha.Vulnera" - + "bilityReport\022\027\n\017next_page_token\030\002 \001(\t\"\335\n" - + "\n\006CVSSv3\022\022\n\nbase_score\030\001 \001(\002\022\034\n\024exploita" - + "bility_score\030\002 \001(\002\022\024\n\014impact_score\030\003 \001(\002" - + "\022I\n\rattack_vector\030\005 \001(\01622.google.cloud.o" - + "sconfig.v1alpha.CVSSv3.AttackVector\022Q\n\021a" - + "ttack_complexity\030\006 \001(\01626.google.cloud.os" - + "config.v1alpha.CVSSv3.AttackComplexity\022U" - + "\n\023privileges_required\030\007 \001(\01628.google.clo" - + "ud.osconfig.v1alpha.CVSSv3.PrivilegesReq" - + "uired\022O\n\020user_interaction\030\010 \001(\01625.google" - + ".cloud.osconfig.v1alpha.CVSSv3.UserInter" - + "action\022:\n\005scope\030\t \001(\0162+.google.cloud.osc" - + "onfig.v1alpha.CVSSv3.Scope\022L\n\026confidenti" - + "ality_impact\030\n \001(\0162,.google.cloud.osconf" - + "ig.v1alpha.CVSSv3.Impact\022F\n\020integrity_im" - + "pact\030\013 \001(\0162,.google.cloud.osconfig.v1alp" - + "ha.CVSSv3.Impact\022I\n\023availability_impact\030" - + "\014 \001(\0162,.google.cloud.osconfig.v1alpha.CV" - + "SSv3.Impact\"\231\001\n\014AttackVector\022\035\n\031ATTACK_V" - + "ECTOR_UNSPECIFIED\020\000\022\031\n\025ATTACK_VECTOR_NET" - + "WORK\020\001\022\032\n\026ATTACK_VECTOR_ADJACENT\020\002\022\027\n\023AT" - + "TACK_VECTOR_LOCAL\020\003\022\032\n\026ATTACK_VECTOR_PHY" - + "SICAL\020\004\"l\n\020AttackComplexity\022!\n\035ATTACK_CO" - + "MPLEXITY_UNSPECIFIED\020\000\022\031\n\025ATTACK_COMPLEX" - + "ITY_LOW\020\001\022\032\n\026ATTACK_COMPLEXITY_HIGH\020\002\"\222\001" - + "\n\022PrivilegesRequired\022#\n\037PRIVILEGES_REQUI" - + "RED_UNSPECIFIED\020\000\022\034\n\030PRIVILEGES_REQUIRED" - + "_NONE\020\001\022\033\n\027PRIVILEGES_REQUIRED_LOW\020\002\022\034\n\030" - + "PRIVILEGES_REQUIRED_HIGH\020\003\"m\n\017UserIntera" - + "ction\022 \n\034USER_INTERACTION_UNSPECIFIED\020\000\022" - + "\031\n\025USER_INTERACTION_NONE\020\001\022\035\n\031USER_INTER" - + "ACTION_REQUIRED\020\002\"F\n\005Scope\022\025\n\021SCOPE_UNSP" - + "ECIFIED\020\000\022\023\n\017SCOPE_UNCHANGED\020\001\022\021\n\rSCOPE_" - + "CHANGED\020\002\"R\n\006Impact\022\026\n\022IMPACT_UNSPECIFIE" - + "D\020\000\022\017\n\013IMPACT_HIGH\020\001\022\016\n\nIMPACT_LOW\020\002\022\017\n\013" - + "IMPACT_NONE\020\003B\343\001\n!com.google.cloud.oscon" - + "fig.v1alphaB\022VulnerabilityProtoP\001ZEgoogl" - + "e.golang.org/genproto/googleapis/cloud/o" - + "sconfig/v1alpha;osconfig\252\002\035Google.Cloud." - + "OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsConfig" - + "\\V1alpha\352\002 Google::Cloud::OsConfig::V1al" - + "phab\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor, - new java.lang.String[] { - "Name", "Vulnerabilities", "UpdateTime", - }); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor = - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor, - new java.lang.String[] { - "Details", - "InstalledInventoryItemIds", - "AvailableInventoryItemIds", - "CreateTime", - "UpdateTime", - "Items", - }); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor = - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor, - new java.lang.String[] { - "Cve", "CvssV2Score", "CvssV3", "Severity", "Description", "References", - }); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor = - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor, - new java.lang.String[] { - "Url", "Source", - }); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor = - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor, - new java.lang.String[] { - "InstalledInventoryItemId", "AvailableInventoryItemId", "FixedCpeUri", "UpstreamFix", - }); - internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor, - new java.lang.String[] { - "VulnerabilityReports", "NextPageToken", - }); - internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_osconfig_v1alpha_CVSSv3_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor, - new java.lang.String[] { - "BaseScore", - "ExploitabilityScore", - "ImpactScore", - "AttackVector", - "AttackComplexity", - "PrivilegesRequired", - "UserInteraction", - "Scope", - "ConfidentialityImpact", - "IntegrityImpact", - "AvailabilityImpact", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigProto.java b/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigProto.java deleted file mode 100644 index 73f75c7c..00000000 --- a/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigProto.java +++ /dev/null @@ -1,169 +0,0 @@ -/* - * 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/osconfig/v1beta/osconfig_service.proto - -package com.google.cloud.osconfig.v1beta; - -public final class OsConfigProto { - private OsConfigProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/osconfig/v1beta/osconfig_" - + "service.proto\022\034google.cloud.osconfig.v1b" - + "eta\032\034google/api/annotations.proto\032\027googl" - + "e/api/client.proto\0321google/cloud/osconfi" - + "g/v1beta/guest_policies.proto\0324google/cl" - + "oud/osconfig/v1beta/patch_deployments.pr" - + "oto\032-google/cloud/osconfig/v1beta/patch_" - + "jobs.proto\032\033google/protobuf/empty.proto2" - + "\223\034\n\017OsConfigService\022\251\001\n\017ExecutePatchJob\022" - + "4.google.cloud.osconfig.v1beta.ExecutePa" - + "tchJobRequest\032&.google.cloud.osconfig.v1" - + "beta.PatchJob\"8\202\323\344\223\0022\"-/v1beta/{parent=p" - + "rojects/*}/patchJobs:execute:\001*\022\226\001\n\013GetP" - + "atchJob\0220.google.cloud.osconfig.v1beta.G" - + "etPatchJobRequest\032&.google.cloud.osconfi" - + "g.v1beta.PatchJob\"-\202\323\344\223\002\'\022%/v1beta/{name" - + "=projects/*/patchJobs/*}\022\246\001\n\016CancelPatch" - + "Job\0223.google.cloud.osconfig.v1beta.Cance" - + "lPatchJobRequest\032&.google.cloud.osconfig" - + ".v1beta.PatchJob\"7\202\323\344\223\0021\",/v1beta/{name=" - + "projects/*/patchJobs/*}:cancel:\001*\022\247\001\n\rLi" - + "stPatchJobs\0222.google.cloud.osconfig.v1be" - + "ta.ListPatchJobsRequest\0323.google.cloud.o" - + "sconfig.v1beta.ListPatchJobsResponse\"-\202\323" - + "\344\223\002\'\022%/v1beta/{parent=projects/*}/patchJ" - + "obs\022\354\001\n\033ListPatchJobInstanceDetails\022@.go" - + "ogle.cloud.osconfig.v1beta.ListPatchJobI" - + "nstanceDetailsRequest\032A.google.cloud.osc" - + "onfig.v1beta.ListPatchJobInstanceDetails" - + "Response\"H\202\323\344\223\0029\0227/v1beta/{parent=projec" - + "ts/*/patchJobs/*}/instanceDetails\332A\006pare" - + "nt\022\312\001\n\025CreatePatchDeployment\022:.google.cl" - + "oud.osconfig.v1beta.CreatePatchDeploymen" - + "tRequest\032-.google.cloud.osconfig.v1beta." - + "PatchDeployment\"F\202\323\344\223\002@\",/v1beta/{parent" - + "=projects/*}/patchDeployments:\020patch_dep" - + "loyment\022\262\001\n\022GetPatchDeployment\0227.google." - + "cloud.osconfig.v1beta.GetPatchDeployment" - + "Request\032-.google.cloud.osconfig.v1beta.P" - + "atchDeployment\"4\202\323\344\223\002.\022,/v1beta/{name=pr" - + "ojects/*/patchDeployments/*}\022\303\001\n\024ListPat" - + "chDeployments\0229.google.cloud.osconfig.v1" - + "beta.ListPatchDeploymentsRequest\032:.googl" - + "e.cloud.osconfig.v1beta.ListPatchDeploym" - + "entsResponse\"4\202\323\344\223\002.\022,/v1beta/{parent=pr" - + "ojects/*}/patchDeployments\022\241\001\n\025DeletePat" - + "chDeployment\022:.google.cloud.osconfig.v1b" - + "eta.DeletePatchDeploymentRequest\032\026.googl" - + "e.protobuf.Empty\"4\202\323\344\223\002.*,/v1beta/{name=" - + "projects/*/patchDeployments/*}\022\372\001\n\025Updat" - + "ePatchDeployment\022:.google.cloud.osconfig" - + ".v1beta.UpdatePatchDeploymentRequest\032-.g" - + "oogle.cloud.osconfig.v1beta.PatchDeploym" - + "ent\"v\202\323\344\223\002Q2=/v1beta/{patch_deployment.n" - + "ame=projects/*/patchDeployments/*}:\020patc" - + "h_deployment\332A\034patch_deployment,update_m" - + "ask\022\306\001\n\024PausePatchDeployment\0229.google.cl" - + "oud.osconfig.v1beta.PausePatchDeployment" - + "Request\032-.google.cloud.osconfig.v1beta.P" - + "atchDeployment\"D\202\323\344\223\0027\"2/v1beta/{name=pr" - + "ojects/*/patchDeployments/*}:pause:\001*\332A\004" - + "name\022\311\001\n\025ResumePatchDeployment\022:.google." - + "cloud.osconfig.v1beta.ResumePatchDeploym" - + "entRequest\032-.google.cloud.osconfig.v1bet" - + "a.PatchDeployment\"E\202\323\344\223\0028\"3/v1beta/{name" - + "=projects/*/patchDeployments/*}:resume:\001" - + "*\332A\004name\022\316\001\n\021CreateGuestPolicy\0226.google." - + "cloud.osconfig.v1beta.CreateGuestPolicyR" - + "equest\032).google.cloud.osconfig.v1beta.Gu" - + "estPolicy\"V\202\323\344\223\0029\")/v1beta/{parent=proje" - + "cts/*}/guestPolicies:\014guest_policy\332A\024par" - + "ent, guest_policy\022\252\001\n\016GetGuestPolicy\0223.g" - + "oogle.cloud.osconfig.v1beta.GetGuestPoli" - + "cyRequest\032).google.cloud.osconfig.v1beta" - + ".GuestPolicy\"8\202\323\344\223\002+\022)/v1beta/{name=proj" - + "ects/*/guestPolicies/*}\332A\004name\022\300\001\n\021ListG" - + "uestPolicies\0226.google.cloud.osconfig.v1b" - + "eta.ListGuestPoliciesRequest\0327.google.cl" - + "oud.osconfig.v1beta.ListGuestPoliciesRes" - + "ponse\":\202\323\344\223\002+\022)/v1beta/{parent=projects/" - + "*}/guestPolicies\332A\006parent\022\337\001\n\021UpdateGues" - + "tPolicy\0226.google.cloud.osconfig.v1beta.U" - + "pdateGuestPolicyRequest\032).google.cloud.o" - + "sconfig.v1beta.GuestPolicy\"g\202\323\344\223\002F26/v1b" - + "eta/{guest_policy.name=projects/*/guestP" - + "olicies/*}:\014guest_policy\332A\030guest_policy," - + "update_mask\022\235\001\n\021DeleteGuestPolicy\0226.goog" - + "le.cloud.osconfig.v1beta.DeleteGuestPoli" - + "cyRequest\032\026.google.protobuf.Empty\"8\202\323\344\223\002" - + "+*)/v1beta/{name=projects/*/guestPolicie" - + "s/*}\332A\004name\022\352\001\n\032LookupEffectiveGuestPoli" - + "cy\022?.google.cloud.osconfig.v1beta.Lookup" - + "EffectiveGuestPolicyRequest\0322.google.clo" - + "ud.osconfig.v1beta.EffectiveGuestPolicy\"" - + "W\202\323\344\223\002Q\"L/v1beta/{instance=projects/*/zo" - + "nes/*/instances/*}:lookupEffectiveGuestP" - + "olicy:\001*\032K\312A\027osconfig.googleapis.com\322A.h" - + "ttps://www.googleapis.com/auth/cloud-pla" - + "tformBw\n com.google.cloud.osconfig.v1bet" - + "aB\rOsConfigProtoZDgoogle.golang.org/genp" - + "roto/googleapis/cloud/osconfig/v1beta;os" - + "configb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.cloud.osconfig.v1beta.GuestPolicies.getDescriptor(), - com.google.cloud.osconfig.v1beta.PatchDeployments.getDescriptor(), - com.google.cloud.osconfig.v1beta.PatchJobs.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.cloud.osconfig.v1beta.GuestPolicies.getDescriptor(); - com.google.cloud.osconfig.v1beta.PatchDeployments.getDescriptor(); - com.google.cloud.osconfig.v1beta.PatchJobs.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} From df3680c0bbcfba22ee49e9d7f842625558b26352 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Jun 2022 21:10:43 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../osconfig/v1/OsConfigServiceClient.java | 98 +- .../osconfig/v1/OsConfigServiceSettings.java | 25 +- .../v1/OsConfigZonalServiceClient.java | 144 +- .../v1/OsConfigZonalServiceSettings.java | 37 +- .../cloud/osconfig/v1/gapic_metadata.json | 0 .../cloud/osconfig/v1/package-info.java | 0 .../GrpcOsConfigServiceCallableFactory.java | 0 .../v1/stub/GrpcOsConfigServiceStub.java | 1 - ...pcOsConfigZonalServiceCallableFactory.java | 0 .../v1/stub/GrpcOsConfigZonalServiceStub.java | 1 - ...ttpJsonOsConfigServiceCallableFactory.java | 0 .../v1/stub/HttpJsonOsConfigServiceStub.java | 0 ...onOsConfigZonalServiceCallableFactory.java | 0 .../HttpJsonOsConfigZonalServiceStub.java | 1 - .../osconfig/v1/stub/OsConfigServiceStub.java | 0 .../v1/stub/OsConfigServiceStubSettings.java | 75 +- .../v1/stub/OsConfigZonalServiceStub.java | 0 .../OsConfigZonalServiceStubSettings.java | 120 +- .../v1alpha/OsConfigZonalServiceClient.java | 174 +- .../v1alpha/OsConfigZonalServiceSettings.java | 43 +- .../osconfig/v1alpha/gapic_metadata.json | 0 .../cloud/osconfig/v1alpha/package-info.java | 0 ...pcOsConfigZonalServiceCallableFactory.java | 0 .../stub/GrpcOsConfigZonalServiceStub.java | 1 - ...onOsConfigZonalServiceCallableFactory.java | 0 .../HttpJsonOsConfigZonalServiceStub.java | 1 - .../stub/OsConfigZonalServiceStub.java | 0 .../OsConfigZonalServiceStubSettings.java | 147 +- .../v1beta/OsConfigServiceClient.java | 110 +- .../v1beta/OsConfigServiceSettings.java | 31 +- .../cloud/osconfig/v1beta/gapic_metadata.json | 0 .../cloud/osconfig/v1beta/package-info.java | 0 .../GrpcOsConfigServiceCallableFactory.java | 0 .../v1beta/stub/GrpcOsConfigServiceStub.java | 1 - ...ttpJsonOsConfigServiceCallableFactory.java | 0 .../stub/HttpJsonOsConfigServiceStub.java | 0 .../v1beta/stub/OsConfigServiceStub.java | 0 .../stub/OsConfigServiceStubSettings.java | 102 +- .../osconfig/v1/MockOsConfigService.java | 0 .../osconfig/v1/MockOsConfigServiceImpl.java | 0 .../osconfig/v1/MockOsConfigZonalService.java | 0 .../v1/MockOsConfigZonalServiceImpl.java | 0 .../v1/OsConfigServiceClientHttpJsonTest.java | 0 .../v1/OsConfigServiceClientTest.java | 0 ...sConfigZonalServiceClientHttpJsonTest.java | 0 .../v1/OsConfigZonalServiceClientTest.java | 0 .../v1alpha/MockOsConfigZonalService.java | 0 .../v1alpha/MockOsConfigZonalServiceImpl.java | 0 ...sConfigZonalServiceClientHttpJsonTest.java | 0 .../OsConfigZonalServiceClientTest.java | 0 .../osconfig/v1beta/MockOsConfigService.java | 0 .../v1beta/MockOsConfigServiceImpl.java | 0 .../OsConfigServiceClientHttpJsonTest.java | 0 .../v1beta/OsConfigServiceClientTest.java | 0 .../osconfig/v1/OsConfigServiceGrpc.java | 1766 ++ .../osconfig/v1/OsConfigZonalServiceGrpc.java | 1860 ++ .../v1alpha/OsConfigZonalServiceGrpc.java | 2157 ++ .../osconfig/v1beta/OsConfigServiceGrpc.java | 2562 ++ .../osconfig/v1/OsConfigServiceGrpc.java | 1275 - .../osconfig/v1/OsConfigZonalServiceGrpc.java | 1359 - ...eteOSPolicyAssignmentRequestOrBuilder.java | 29 - ...GetOSPolicyAssignmentRequestOrBuilder.java | 33 - .../google/cloud/osconfig/v1/Inventories.java | 295 - .../v1/OSPolicyAssignmentReportsProto.java | 208 - .../cloud/osconfig/v1/OsConfigProto.java | 130 - .../v1/OsConfigZonalServiceProto.java | 147 - .../osconfig/v1/OsPolicyAssignmentsProto.java | 314 - .../cloud/osconfig/v1/OsPolicyProto.java | 407 - .../cloud/osconfig/v1/VulnerabilityProto.java | 226 - .../v1alpha/OsConfigZonalServiceGrpc.java | 1547 - .../google/cloud/osconfig/v1alpha/Common.java | 58 - .../osconfig/v1alpha/ConfigCommonProto.java | 103 - ...eteOSPolicyAssignmentRequestOrBuilder.java | 29 - ...GetOSPolicyAssignmentRequestOrBuilder.java | 33 - .../InstanceOSPoliciesComplianceProto.java | 153 - .../cloud/osconfig/v1alpha/Inventories.java | 302 - .../OSPolicyAssignmentReportsProto.java | 213 - .../v1alpha/OsConfigZonalServiceProto.java | 176 - .../v1alpha/OsPolicyAssignmentsProto.java | 321 - .../cloud/osconfig/v1alpha/OsPolicyProto.java | 429 - .../osconfig/v1alpha/VulnerabilityProto.java | 232 - .../osconfig/v1beta/OsConfigServiceGrpc.java | 1795 -- .../cloud/osconfig/v1beta/OsConfigProto.java | 156 - .../com/google/cloud/osconfig/v1/CVSSv3.java | 1256 +- .../cloud/osconfig/v1/CVSSv3OrBuilder.java | 75 +- .../com/google/cloud/osconfig/v1/Common.java | 446 +- .../v1/CreateOSPolicyAssignmentRequest.java | 580 +- ...ateOSPolicyAssignmentRequestOrBuilder.java | 64 +- .../v1/DeleteOSPolicyAssignmentRequest.java | 352 +- ...eteOSPolicyAssignmentRequestOrBuilder.java | 54 + .../osconfig/v1/GetInventoryRequest.java | 398 +- .../v1/GetInventoryRequestOrBuilder.java | 41 +- .../GetOSPolicyAssignmentReportRequest.java | 366 +- ...olicyAssignmentReportRequestOrBuilder.java | 35 +- .../v1/GetOSPolicyAssignmentRequest.java | 342 +- ...GetOSPolicyAssignmentRequestOrBuilder.java | 58 + .../v1/GetVulnerabilityReportRequest.java | 342 +- ...etVulnerabilityReportRequestOrBuilder.java | 35 +- .../cloud/osconfig/v1/InstanceName.java | 0 .../v1/InstanceOSPolicyAssignmentName.java | 0 .../google/cloud/osconfig/v1/Inventories.java | 356 + .../google/cloud/osconfig/v1/Inventory.java | 8670 ++++-- .../cloud/osconfig/v1/InventoryName.java | 0 .../cloud/osconfig/v1/InventoryOrBuilder.java | 83 +- .../cloud/osconfig/v1/InventoryView.java | 82 +- .../osconfig/v1/ListInventoriesRequest.java | 593 +- .../v1/ListInventoriesRequestOrBuilder.java | 62 +- .../osconfig/v1/ListInventoriesResponse.java | 463 +- .../v1/ListInventoriesResponseOrBuilder.java | 45 +- .../ListOSPolicyAssignmentReportsRequest.java | 569 +- ...licyAssignmentReportsRequestOrBuilder.java | 56 +- ...ListOSPolicyAssignmentReportsResponse.java | 625 +- ...icyAssignmentReportsResponseOrBuilder.java | 65 +- ...istOSPolicyAssignmentRevisionsRequest.java | 492 +- ...cyAssignmentRevisionsRequestOrBuilder.java | 47 +- ...stOSPolicyAssignmentRevisionsResponse.java | 486 +- ...yAssignmentRevisionsResponseOrBuilder.java | 42 +- .../v1/ListOSPolicyAssignmentsRequest.java | 458 +- ...stOSPolicyAssignmentsRequestOrBuilder.java | 47 +- .../v1/ListOSPolicyAssignmentsResponse.java | 459 +- ...tOSPolicyAssignmentsResponseOrBuilder.java | 42 +- .../v1/ListVulnerabilityReportsRequest.java | 546 +- ...tVulnerabilityReportsRequestOrBuilder.java | 56 +- .../v1/ListVulnerabilityReportsResponse.java | 522 +- ...VulnerabilityReportsResponseOrBuilder.java | 42 +- .../cloud/osconfig/v1/LocationName.java | 0 .../google/cloud/osconfig/v1/OSPolicy.java | 16023 ++++++---- .../cloud/osconfig/v1/OSPolicyAssignment.java | 4367 ++- .../osconfig/v1/OSPolicyAssignmentName.java | 0 .../OSPolicyAssignmentOperationMetadata.java | 913 +- ...yAssignmentOperationMetadataOrBuilder.java | 69 +- .../v1/OSPolicyAssignmentOrBuilder.java | 187 +- .../osconfig/v1/OSPolicyAssignmentReport.java | 4575 ++- .../v1/OSPolicyAssignmentReportName.java | 0 .../v1/OSPolicyAssignmentReportOrBuilder.java | 105 +- .../v1/OSPolicyAssignmentReportsProto.java | 251 + .../cloud/osconfig/v1/OSPolicyOrBuilder.java | 88 +- .../cloud/osconfig/v1/OsConfigProto.java | 143 + .../v1/OsConfigZonalServiceProto.java | 160 + .../osconfig/v1/OsPolicyAssignmentsProto.java | 369 + .../cloud/osconfig/v1/OsPolicyProto.java | 490 + .../osconfig/v1/PatchDeploymentName.java | 0 .../cloud/osconfig/v1/PatchDeployments.java | 10426 ++++--- .../cloud/osconfig/v1/PatchJobName.java | 0 .../google/cloud/osconfig/v1/PatchJobs.java | 16696 ++++++---- .../google/cloud/osconfig/v1/ProjectName.java | 0 .../v1/UpdateOSPolicyAssignmentRequest.java | 529 +- ...ateOSPolicyAssignmentRequestOrBuilder.java | 55 +- .../cloud/osconfig/v1/VulnerabilityProto.java | 272 + .../osconfig/v1/VulnerabilityReport.java | 4371 ++- .../osconfig/v1/VulnerabilityReportName.java | 0 .../v1/VulnerabilityReportOrBuilder.java | 82 +- .../google/cloud/osconfig/v1/inventory.proto | 0 .../google/cloud/osconfig/v1/os_policy.proto | 0 .../v1/os_policy_assignment_reports.proto | 0 .../osconfig/v1/os_policy_assignments.proto | 0 .../cloud/osconfig/v1/osconfig_common.proto | 0 .../cloud/osconfig/v1/osconfig_service.proto | 0 .../osconfig/v1/osconfig_zonal_service.proto | 0 .../cloud/osconfig/v1/patch_deployments.proto | 0 .../google/cloud/osconfig/v1/patch_jobs.proto | 0 .../cloud/osconfig/v1/vulnerability.proto | 0 .../google/cloud/osconfig/v1alpha/CVSSv3.java | 1289 +- .../osconfig/v1alpha/CVSSv3OrBuilder.java | 75 +- .../google/cloud/osconfig/v1alpha/Common.java | 73 + .../osconfig/v1alpha/ConfigCommonProto.java | 122 + .../CreateOSPolicyAssignmentRequest.java | 615 +- ...ateOSPolicyAssignmentRequestOrBuilder.java | 64 +- .../DeleteOSPolicyAssignmentRequest.java | 374 +- ...eteOSPolicyAssignmentRequestOrBuilder.java | 54 + .../osconfig/v1alpha/FixedOrPercent.java | 372 +- .../v1alpha/FixedOrPercentOrBuilder.java | 30 +- ...etInstanceOSPoliciesComplianceRequest.java | 393 +- ...eOSPoliciesComplianceRequestOrBuilder.java | 36 +- .../osconfig/v1alpha/GetInventoryRequest.java | 404 +- .../v1alpha/GetInventoryRequestOrBuilder.java | 41 +- .../GetOSPolicyAssignmentReportRequest.java | 378 +- ...olicyAssignmentReportRequestOrBuilder.java | 35 +- .../v1alpha/GetOSPolicyAssignmentRequest.java | 360 +- ...GetOSPolicyAssignmentRequestOrBuilder.java | 58 + .../GetVulnerabilityReportRequest.java | 363 +- ...etVulnerabilityReportRequestOrBuilder.java | 35 +- .../cloud/osconfig/v1alpha/InstanceName.java | 0 .../v1alpha/InstanceOSPoliciesCompliance.java | 2122 +- .../InstanceOSPoliciesComplianceName.java | 0 ...InstanceOSPoliciesComplianceOrBuilder.java | 142 +- .../InstanceOSPoliciesComplianceProto.java | 181 + .../InstanceOSPolicyAssignmentName.java | 0 .../cloud/osconfig/v1alpha/Inventories.java | 363 + .../cloud/osconfig/v1alpha/Inventory.java | 9130 ++++-- .../cloud/osconfig/v1alpha/InventoryName.java | 0 .../osconfig/v1alpha/InventoryOrBuilder.java | 115 +- .../cloud/osconfig/v1alpha/InventoryView.java | 82 +- ...tInstanceOSPoliciesCompliancesRequest.java | 637 +- ...OSPoliciesCompliancesRequestOrBuilder.java | 57 +- ...InstanceOSPoliciesCompliancesResponse.java | 694 +- ...SPoliciesCompliancesResponseOrBuilder.java | 69 +- .../v1alpha/ListInventoriesRequest.java | 596 +- .../ListInventoriesRequestOrBuilder.java | 62 +- .../v1alpha/ListInventoriesResponse.java | 464 +- .../ListInventoriesResponseOrBuilder.java | 45 +- .../ListOSPolicyAssignmentReportsRequest.java | 576 +- ...licyAssignmentReportsRequestOrBuilder.java | 56 +- ...ListOSPolicyAssignmentReportsResponse.java | 645 +- ...icyAssignmentReportsResponseOrBuilder.java | 68 +- ...istOSPolicyAssignmentRevisionsRequest.java | 505 +- ...cyAssignmentRevisionsRequestOrBuilder.java | 47 +- ...stOSPolicyAssignmentRevisionsResponse.java | 601 +- ...yAssignmentRevisionsResponseOrBuilder.java | 57 +- .../ListOSPolicyAssignmentsRequest.java | 479 +- ...stOSPolicyAssignmentsRequestOrBuilder.java | 47 +- .../ListOSPolicyAssignmentsResponse.java | 576 +- ...tOSPolicyAssignmentsResponseOrBuilder.java | 57 +- .../ListVulnerabilityReportsRequest.java | 568 +- ...tVulnerabilityReportsRequestOrBuilder.java | 56 +- .../ListVulnerabilityReportsResponse.java | 590 +- ...VulnerabilityReportsResponseOrBuilder.java | 56 +- .../cloud/osconfig/v1alpha/LocationName.java | 0 .../cloud/osconfig/v1alpha/OSPolicy.java | 17850 +++++++---- .../osconfig/v1alpha/OSPolicyAssignment.java | 4767 +-- .../v1alpha/OSPolicyAssignmentName.java | 0 .../OSPolicyAssignmentOperationMetadata.java | 942 +- ...yAssignmentOperationMetadataOrBuilder.java | 74 +- .../v1alpha/OSPolicyAssignmentOrBuilder.java | 187 +- .../v1alpha/OSPolicyAssignmentReport.java | 4607 ++- .../v1alpha/OSPolicyAssignmentReportName.java | 0 .../OSPolicyAssignmentReportOrBuilder.java | 106 +- .../OSPolicyAssignmentReportsProto.java | 256 + .../v1alpha/OSPolicyComplianceState.java | 96 +- .../osconfig/v1alpha/OSPolicyOrBuilder.java | 88 +- .../v1alpha/OSPolicyResourceCompliance.java | 1285 +- .../OSPolicyResourceComplianceOrBuilder.java | 90 +- .../v1alpha/OSPolicyResourceConfigStep.java | 624 +- .../OSPolicyResourceConfigStepOrBuilder.java | 40 +- .../v1alpha/OsConfigZonalServiceProto.java | 189 + .../v1alpha/OsPolicyAssignmentsProto.java | 376 + .../cloud/osconfig/v1alpha/OsPolicyProto.java | 513 + .../UpdateOSPolicyAssignmentRequest.java | 564 +- ...ateOSPolicyAssignmentRequestOrBuilder.java | 55 +- .../osconfig/v1alpha/VulnerabilityProto.java | 278 + .../osconfig/v1alpha/VulnerabilityReport.java | 4561 ++- .../v1alpha/VulnerabilityReportName.java | 0 .../v1alpha/VulnerabilityReportOrBuilder.java | 83 +- .../osconfig/v1alpha/config_common.proto | 0 .../instance_os_policies_compliance.proto | 0 .../cloud/osconfig/v1alpha/inventory.proto | 0 .../cloud/osconfig/v1alpha/os_policy.proto | 0 .../os_policy_assignment_reports.proto | 0 .../v1alpha/os_policy_assignments.proto | 0 .../osconfig/v1alpha/osconfig_common.proto | 0 .../v1alpha/osconfig_zonal_service.proto | 0 .../osconfig/v1alpha/vulnerability.proto | 0 .../google/cloud/osconfig/v1beta/Common.java | 451 +- .../cloud/osconfig/v1beta/GuestPolicies.java | 25060 ++++++++++------ .../osconfig/v1beta/GuestPolicyName.java | 0 .../cloud/osconfig/v1beta/OsConfigProto.java | 169 + .../osconfig/v1beta/PatchDeploymentName.java | 0 .../osconfig/v1beta/PatchDeployments.java | 10599 ++++--- .../cloud/osconfig/v1beta/PatchJobs.java | 16805 +++++++---- .../cloud/osconfig/v1beta/ProjectName.java | 0 .../osconfig/v1beta/guest_policies.proto | 0 .../osconfig/v1beta/osconfig_common.proto | 0 .../osconfig/v1beta/osconfig_service.proto | 0 .../osconfig/v1beta/patch_deployments.proto | 0 .../cloud/osconfig/v1beta/patch_jobs.proto | 0 .../cancelpatchjob/AsyncCancelPatchJob.java | 0 .../cancelpatchjob/SyncCancelPatchJob.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreatePatchDeployment.java | 0 .../SyncCreatePatchDeployment.java | 0 ...PatchdeploymentspatchdeploymentString.java | 0 ...PatchdeploymentspatchdeploymentString.java | 0 .../AsyncDeletePatchDeployment.java | 0 .../SyncDeletePatchDeployment.java | 0 ...etePatchDeploymentPatchdeploymentname.java | 0 .../SyncDeletePatchDeploymentString.java | 0 .../executepatchjob/AsyncExecutePatchJob.java | 0 .../executepatchjob/SyncExecutePatchJob.java | 0 .../AsyncGetPatchDeployment.java | 0 .../SyncGetPatchDeployment.java | 0 ...GetPatchDeploymentPatchdeploymentname.java | 0 .../SyncGetPatchDeploymentString.java | 0 .../getpatchjob/AsyncGetPatchJob.java | 0 .../getpatchjob/SyncGetPatchJob.java | 0 .../SyncGetPatchJobPatchjobname.java | 0 .../getpatchjob/SyncGetPatchJobString.java | 0 .../AsyncListPatchDeployments.java | 0 .../AsyncListPatchDeploymentsPaged.java | 0 .../SyncListPatchDeployments.java | 0 .../SyncListPatchDeploymentsProjectname.java | 0 .../SyncListPatchDeploymentsString.java | 0 .../AsyncListPatchJobInstanceDetails.java | 0 ...AsyncListPatchJobInstanceDetailsPaged.java | 0 .../SyncListPatchJobInstanceDetails.java | 0 ...stPatchJobInstanceDetailsPatchjobname.java | 0 ...SyncListPatchJobInstanceDetailsString.java | 0 .../listpatchjobs/AsyncListPatchJobs.java | 0 .../AsyncListPatchJobsPaged.java | 0 .../listpatchjobs/SyncListPatchJobs.java | 0 .../SyncListPatchJobsProjectname.java | 0 .../SyncListPatchJobsString.java | 0 .../AsyncPausePatchDeployment.java | 0 .../SyncPausePatchDeployment.java | 0 ...usePatchDeploymentPatchdeploymentname.java | 0 .../SyncPausePatchDeploymentString.java | 0 .../AsyncResumePatchDeployment.java | 0 .../SyncResumePatchDeployment.java | 0 ...umePatchDeploymentPatchdeploymentname.java | 0 .../SyncResumePatchDeploymentString.java | 0 .../AsyncUpdatePatchDeployment.java | 0 .../SyncUpdatePatchDeployment.java | 0 ...chdeploymentspatchdeploymentFieldmask.java | 0 .../executepatchjob/SyncExecutePatchJob.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateOSPolicyAssignment.java | 0 .../AsyncCreateOSPolicyAssignmentLRO.java | 0 .../SyncCreateOSPolicyAssignment.java | 0 ...tLocationnameOspolicyassignmentString.java | 0 ...ignmentStringOspolicyassignmentString.java | 0 .../AsyncDeleteOSPolicyAssignment.java | 0 .../AsyncDeleteOSPolicyAssignmentLRO.java | 0 .../SyncDeleteOSPolicyAssignment.java | 0 ...olicyAssignmentOspolicyassignmentname.java | 0 .../SyncDeleteOSPolicyAssignmentString.java | 0 .../getinventory/AsyncGetInventory.java | 0 .../getinventory/SyncGetInventory.java | 0 .../SyncGetInventoryInventoryname.java | 0 .../getinventory/SyncGetInventoryString.java | 0 .../AsyncGetOSPolicyAssignment.java | 0 .../SyncGetOSPolicyAssignment.java | 0 ...olicyAssignmentOspolicyassignmentname.java | 0 .../SyncGetOSPolicyAssignmentString.java | 0 .../AsyncGetOSPolicyAssignmentReport.java | 0 .../SyncGetOSPolicyAssignmentReport.java | 0 ...entReportOspolicyassignmentreportname.java | 0 ...SyncGetOSPolicyAssignmentReportString.java | 0 .../AsyncGetVulnerabilityReport.java | 0 .../SyncGetVulnerabilityReport.java | 0 .../SyncGetVulnerabilityReportString.java | 0 ...rabilityReportVulnerabilityreportname.java | 0 .../listinventories/AsyncListInventories.java | 0 .../AsyncListInventoriesPaged.java | 0 .../listinventories/SyncListInventories.java | 0 .../SyncListInventoriesInstancename.java | 0 .../SyncListInventoriesString.java | 0 .../AsyncListOSPolicyAssignmentReports.java | 0 ...yncListOSPolicyAssignmentReportsPaged.java | 0 .../SyncListOSPolicyAssignmentReports.java | 0 ...ReportsInstanceospolicyassignmentname.java | 0 ...ncListOSPolicyAssignmentReportsString.java | 0 .../AsyncListOSPolicyAssignmentRevisions.java | 0 ...cListOSPolicyAssignmentRevisionsPaged.java | 0 .../SyncListOSPolicyAssignmentRevisions.java | 0 ...gnmentRevisionsOspolicyassignmentname.java | 0 ...ListOSPolicyAssignmentRevisionsString.java | 0 .../AsyncListOSPolicyAssignments.java | 0 .../AsyncListOSPolicyAssignmentsPaged.java | 0 .../SyncListOSPolicyAssignments.java | 0 ...ncListOSPolicyAssignmentsLocationname.java | 0 .../SyncListOSPolicyAssignmentsString.java | 0 .../AsyncListVulnerabilityReports.java | 0 .../AsyncListVulnerabilityReportsPaged.java | 0 .../SyncListVulnerabilityReports.java | 0 ...cListVulnerabilityReportsInstancename.java | 0 .../SyncListVulnerabilityReportsString.java | 0 .../AsyncUpdateOSPolicyAssignment.java | 0 .../AsyncUpdateOSPolicyAssignmentLRO.java | 0 .../SyncUpdateOSPolicyAssignment.java | 0 ...AssignmentOspolicyassignmentFieldmask.java | 0 .../SyncGetOSPolicyAssignment.java | 0 .../executepatchjob/SyncExecutePatchJob.java | 0 .../SyncGetOSPolicyAssignment.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateOSPolicyAssignment.java | 0 .../AsyncCreateOSPolicyAssignmentLRO.java | 0 .../SyncCreateOSPolicyAssignment.java | 0 ...tLocationnameOspolicyassignmentString.java | 0 ...ignmentStringOspolicyassignmentString.java | 0 .../AsyncDeleteOSPolicyAssignment.java | 0 .../AsyncDeleteOSPolicyAssignmentLRO.java | 0 .../SyncDeleteOSPolicyAssignment.java | 0 ...olicyAssignmentOspolicyassignmentname.java | 0 .../SyncDeleteOSPolicyAssignmentString.java | 0 .../AsyncGetInstanceOSPoliciesCompliance.java | 0 .../SyncGetInstanceOSPoliciesCompliance.java | 0 ...ianceInstanceospoliciescompliancename.java | 0 ...GetInstanceOSPoliciesComplianceString.java | 0 .../getinventory/AsyncGetInventory.java | 0 .../getinventory/SyncGetInventory.java | 0 .../SyncGetInventoryInventoryname.java | 0 .../getinventory/SyncGetInventoryString.java | 0 .../AsyncGetOSPolicyAssignment.java | 0 .../SyncGetOSPolicyAssignment.java | 0 ...olicyAssignmentOspolicyassignmentname.java | 0 .../SyncGetOSPolicyAssignmentString.java | 0 .../AsyncGetOSPolicyAssignmentReport.java | 0 .../SyncGetOSPolicyAssignmentReport.java | 0 ...entReportOspolicyassignmentreportname.java | 0 ...SyncGetOSPolicyAssignmentReportString.java | 0 .../AsyncGetVulnerabilityReport.java | 0 .../SyncGetVulnerabilityReport.java | 0 .../SyncGetVulnerabilityReportString.java | 0 ...rabilityReportVulnerabilityreportname.java | 0 ...syncListInstanceOSPoliciesCompliances.java | 0 ...istInstanceOSPoliciesCompliancesPaged.java | 0 ...SyncListInstanceOSPoliciesCompliances.java | 0 ...anceOSPoliciesCompliancesLocationname.java | 0 ...stInstanceOSPoliciesCompliancesString.java | 0 .../listinventories/AsyncListInventories.java | 0 .../AsyncListInventoriesPaged.java | 0 .../listinventories/SyncListInventories.java | 0 .../SyncListInventoriesInstancename.java | 0 .../SyncListInventoriesString.java | 0 .../AsyncListOSPolicyAssignmentReports.java | 0 ...yncListOSPolicyAssignmentReportsPaged.java | 0 .../SyncListOSPolicyAssignmentReports.java | 0 ...ReportsInstanceospolicyassignmentname.java | 0 ...ncListOSPolicyAssignmentReportsString.java | 0 .../AsyncListOSPolicyAssignmentRevisions.java | 0 ...cListOSPolicyAssignmentRevisionsPaged.java | 0 .../SyncListOSPolicyAssignmentRevisions.java | 0 ...gnmentRevisionsOspolicyassignmentname.java | 0 ...ListOSPolicyAssignmentRevisionsString.java | 0 .../AsyncListOSPolicyAssignments.java | 0 .../AsyncListOSPolicyAssignmentsPaged.java | 0 .../SyncListOSPolicyAssignments.java | 0 ...ncListOSPolicyAssignmentsLocationname.java | 0 .../SyncListOSPolicyAssignmentsString.java | 0 .../AsyncListVulnerabilityReports.java | 0 .../AsyncListVulnerabilityReportsPaged.java | 0 .../SyncListVulnerabilityReports.java | 0 ...cListVulnerabilityReportsInstancename.java | 0 .../SyncListVulnerabilityReportsString.java | 0 .../AsyncUpdateOSPolicyAssignment.java | 0 .../AsyncUpdateOSPolicyAssignmentLRO.java | 0 .../SyncUpdateOSPolicyAssignment.java | 0 ...AssignmentOspolicyassignmentFieldmask.java | 0 .../SyncGetOSPolicyAssignment.java | 0 .../SyncGetOSPolicyAssignment.java | 0 .../cancelpatchjob/AsyncCancelPatchJob.java | 0 .../cancelpatchjob/SyncCancelPatchJob.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateGuestPolicy.java | 0 .../SyncCreateGuestPolicy.java | 0 ...cyProjectnameGuestpoliciesguestpolicy.java | 0 ...tPolicyStringGuestpoliciesguestpolicy.java | 0 .../AsyncCreatePatchDeployment.java | 0 .../SyncCreatePatchDeployment.java | 0 .../AsyncDeleteGuestPolicy.java | 0 .../SyncDeleteGuestPolicy.java | 0 .../SyncDeleteGuestPolicyGuestpolicyname.java | 0 .../SyncDeleteGuestPolicyString.java | 0 .../AsyncDeletePatchDeployment.java | 0 .../SyncDeletePatchDeployment.java | 0 .../executepatchjob/AsyncExecutePatchJob.java | 0 .../executepatchjob/SyncExecutePatchJob.java | 0 .../getguestpolicy/AsyncGetGuestPolicy.java | 0 .../getguestpolicy/SyncGetGuestPolicy.java | 0 .../SyncGetGuestPolicyGuestpolicyname.java | 0 .../SyncGetGuestPolicyString.java | 0 .../AsyncGetPatchDeployment.java | 0 .../SyncGetPatchDeployment.java | 0 .../getpatchjob/AsyncGetPatchJob.java | 0 .../getpatchjob/SyncGetPatchJob.java | 0 .../AsyncListGuestPolicies.java | 0 .../AsyncListGuestPoliciesPaged.java | 0 .../SyncListGuestPolicies.java | 0 .../SyncListGuestPoliciesProjectname.java | 0 .../SyncListGuestPoliciesString.java | 0 .../AsyncListPatchDeployments.java | 0 .../AsyncListPatchDeploymentsPaged.java | 0 .../SyncListPatchDeployments.java | 0 .../AsyncListPatchJobInstanceDetails.java | 0 ...AsyncListPatchJobInstanceDetailsPaged.java | 0 .../SyncListPatchJobInstanceDetails.java | 0 ...SyncListPatchJobInstanceDetailsString.java | 0 .../listpatchjobs/AsyncListPatchJobs.java | 0 .../AsyncListPatchJobsPaged.java | 0 .../listpatchjobs/SyncListPatchJobs.java | 0 .../AsyncLookupEffectiveGuestPolicy.java | 0 .../SyncLookupEffectiveGuestPolicy.java | 0 .../AsyncPausePatchDeployment.java | 0 .../SyncPausePatchDeployment.java | 0 ...usePatchDeploymentPatchdeploymentname.java | 0 .../SyncPausePatchDeploymentString.java | 0 .../AsyncResumePatchDeployment.java | 0 .../SyncResumePatchDeployment.java | 0 ...umePatchDeploymentPatchdeploymentname.java | 0 .../SyncResumePatchDeploymentString.java | 0 .../AsyncUpdateGuestPolicy.java | 0 .../SyncUpdateGuestPolicy.java | 0 ...licyGuestpoliciesguestpolicyFieldmask.java | 0 .../AsyncUpdatePatchDeployment.java | 0 .../SyncUpdatePatchDeployment.java | 0 ...chdeploymentspatchdeploymentFieldmask.java | 0 .../executepatchjob/SyncExecutePatchJob.java | 0 .../executepatchjob/SyncExecutePatchJob.java | 0 505 files changed, 136322 insertions(+), 78257 deletions(-) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceClient.java (95%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceSettings.java (94%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java (95%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceSettings.java (93%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceStub.java (99%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceStub.java (99%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceStub.java (100%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceStub.java (99%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStub.java (100%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStubSettings.java (93%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStub.java (100%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStubSettings.java (93%) rename {owl-bot-staging/v1alpha/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java (95%) rename {owl-bot-staging/v1alpha/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceSettings.java (93%) rename {owl-bot-staging/v1alpha/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/gapic_metadata.json (100%) rename {owl-bot-staging/v1alpha/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/package-info.java (100%) rename {owl-bot-staging/v1alpha/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceCallableFactory.java (100%) rename {owl-bot-staging/v1alpha/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceStub.java (99%) rename {owl-bot-staging/v1alpha/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceCallableFactory.java (100%) rename {owl-bot-staging/v1alpha/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceStub.java (99%) rename {owl-bot-staging/v1alpha/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStub.java (100%) rename {owl-bot-staging/v1alpha/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStubSettings.java (92%) rename {owl-bot-staging/v1beta/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClient.java (95%) rename {owl-bot-staging/v1beta/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceSettings.java (94%) rename {owl-bot-staging/v1beta/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/gapic_metadata.json (100%) rename {owl-bot-staging/v1beta/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/package-info.java (100%) rename {owl-bot-staging/v1beta/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceCallableFactory.java (100%) rename {owl-bot-staging/v1beta/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceStub.java (99%) rename {owl-bot-staging/v1beta/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceCallableFactory.java (100%) rename {owl-bot-staging/v1beta/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceStub.java (100%) rename {owl-bot-staging/v1beta/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStub.java (100%) rename {owl-bot-staging/v1beta/google-cloud-os-config => google-cloud-os-config}/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStubSettings.java (93%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigService.java (100%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigServiceImpl.java (100%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalService.java (100%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalServiceImpl.java (100%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-os-config => google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientTest.java (100%) rename {owl-bot-staging/v1alpha/google-cloud-os-config => google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalService.java (100%) rename {owl-bot-staging/v1alpha/google-cloud-os-config => google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalServiceImpl.java (100%) rename {owl-bot-staging/v1alpha/google-cloud-os-config => google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1alpha/google-cloud-os-config => google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientTest.java (100%) rename {owl-bot-staging/v1beta/google-cloud-os-config => google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigService.java (100%) rename {owl-bot-staging/v1beta/google-cloud-os-config => google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigServiceImpl.java (100%) rename {owl-bot-staging/v1beta/google-cloud-os-config => google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1beta/google-cloud-os-config => google-cloud-os-config}/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientTest.java (100%) create mode 100644 grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceGrpc.java create mode 100644 grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceGrpc.java create mode 100644 grpc-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceGrpc.java create mode 100644 grpc-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyAssignmentsProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityProto.java delete mode 100644 owl-bot-staging/v1alpha/grpc-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceGrpc.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyAssignmentsProto.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyProto.java delete mode 100644 owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityProto.java delete mode 100644 owl-bot-staging/v1beta/grpc-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceGrpc.java delete mode 100644 owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigProto.java rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/CVSSv3.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/CVSSv3OrBuilder.java (88%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/Common.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequestOrBuilder.java (59%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequest.java (64%) create mode 100644 proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequestOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequestOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequest.java (67%) create mode 100644 proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequestOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/InstanceName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/InstanceOSPolicyAssignmentName.java (100%) create mode 100644 proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/Inventory.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/InventoryName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/InventoryOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/InventoryView.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequestOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponseOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequest.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequestOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponse.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponseOrBuilder.java (52%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequest.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponseOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequestOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponse.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponseOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/LocationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicy.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignment.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadata.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadataOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReport.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportOrBuilder.java (70%) create mode 100644 proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/OSPolicyOrBuilder.java (72%) create mode 100644 proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java create mode 100644 proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceProto.java create mode 100644 proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyAssignmentsProto.java create mode 100644 proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyProto.java rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/PatchDeploymentName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/PatchDeployments.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/PatchJobName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/PatchJobs.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/ProjectName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequestOrBuilder.java (56%) create mode 100644 proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityProto.java rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReport.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportOrBuilder.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/inventory.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/os_policy.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/os_policy_assignment_reports.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/os_policy_assignments.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/osconfig_common.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/osconfig_service.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/osconfig_zonal_service.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/patch_deployments.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/patch_jobs.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-os-config-v1 => proto-google-cloud-os-config-v1}/src/main/proto/google/cloud/osconfig/v1/vulnerability.proto (100%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3.java (76%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3OrBuilder.java (88%) create mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java create mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequest.java (64%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequestOrBuilder.java (59%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequest.java (62%) create mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercent.java (70%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercentOrBuilder.java (63%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequest.java (63%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequestOrBuilder.java (54%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequest.java (69%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequestOrBuilder.java (63%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequest.java (65%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequestOrBuilder.java (57%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequest.java (65%) create mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequestOrBuilder.java rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequest.java (66%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequestOrBuilder.java (53%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesCompliance.java (66%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceOrBuilder.java (66%) create mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPolicyAssignmentName.java (100%) create mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/Inventory.java (70%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryOrBuilder.java (61%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryView.java (67%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequest.java (64%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequestOrBuilder.java (64%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponse.java (60%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponseOrBuilder.java (50%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequest.java (71%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequestOrBuilder.java (69%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponse.java (73%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponseOrBuilder.java (66%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequest.java (73%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequestOrBuilder.java (78%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponse.java (62%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponseOrBuilder.java (50%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequest.java (64%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java (58%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponse.java (67%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java (65%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequest.java (66%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequestOrBuilder.java (54%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponse.java (69%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponseOrBuilder.java (62%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequest.java (68%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequestOrBuilder.java (64%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponse.java (68%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponseOrBuilder.java (64%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/LocationName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicy.java (67%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignment.java (67%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadata.java (65%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadataOrBuilder.java (68%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOrBuilder.java (67%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReport.java (62%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportOrBuilder.java (69%) create mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyComplianceState.java (70%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyOrBuilder.java (72%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceCompliance.java (64%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceComplianceOrBuilder.java (65%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStep.java (70%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStepOrBuilder.java (69%) create mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java create mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyAssignmentsProto.java create mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyProto.java rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequest.java (62%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequestOrBuilder.java (56%) create mode 100644 proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityProto.java rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReport.java (66%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportName.java (100%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportOrBuilder.java (56%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/proto/google/cloud/osconfig/v1alpha/config_common.proto (100%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/proto/google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto (100%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/proto/google/cloud/osconfig/v1alpha/inventory.proto (100%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/proto/google/cloud/osconfig/v1alpha/os_policy.proto (100%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignment_reports.proto (100%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignments.proto (100%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_common.proto (100%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_zonal_service.proto (100%) rename {owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha => proto-google-cloud-os-config-v1alpha}/src/main/proto/google/cloud/osconfig/v1alpha/vulnerability.proto (100%) rename {owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta => proto-google-cloud-os-config-v1beta}/src/main/java/com/google/cloud/osconfig/v1beta/Common.java (69%) rename {owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta => proto-google-cloud-os-config-v1beta}/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicies.java (68%) rename {owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta => proto-google-cloud-os-config-v1beta}/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicyName.java (100%) create mode 100644 proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigProto.java rename {owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta => proto-google-cloud-os-config-v1beta}/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeploymentName.java (100%) rename {owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta => proto-google-cloud-os-config-v1beta}/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeployments.java (63%) rename {owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta => proto-google-cloud-os-config-v1beta}/src/main/java/com/google/cloud/osconfig/v1beta/PatchJobs.java (72%) rename {owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta => proto-google-cloud-os-config-v1beta}/src/main/java/com/google/cloud/osconfig/v1beta/ProjectName.java (100%) rename {owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta => proto-google-cloud-os-config-v1beta}/src/main/proto/google/cloud/osconfig/v1beta/guest_policies.proto (100%) rename {owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta => proto-google-cloud-os-config-v1beta}/src/main/proto/google/cloud/osconfig/v1beta/osconfig_common.proto (100%) rename {owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta => proto-google-cloud-os-config-v1beta}/src/main/proto/google/cloud/osconfig/v1beta/osconfig_service.proto (100%) rename {owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta => proto-google-cloud-os-config-v1beta}/src/main/proto/google/cloud/osconfig/v1beta/patch_deployments.proto (100%) rename {owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta => proto-google-cloud-os-config-v1beta}/src/main/proto/google/cloud/osconfig/v1beta/patch_jobs.proto (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentProjectnamePatchdeploymentspatchdeploymentString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentStringPatchdeploymentspatchdeploymentString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentPatchdeploymentname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentPatchdeploymentname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobPatchjobname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsProjectname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsPatchjobname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsProjectname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventory.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventories.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventories.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/AsyncGetInstanceOSPoliciesCompliance.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesCompliance.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceInstanceospoliciescompliancename.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceString.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventory.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliances.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliancesPaged.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliances.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesLocationname.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesString.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventories.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventories.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1alpha/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1alpha/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/AsyncCreateGuestPolicy.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicy.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyStringGuestpoliciesguestpolicy.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/AsyncDeleteGuestPolicy.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicy.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyGuestpolicyname.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyString.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/AsyncGetGuestPolicy.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicy.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyGuestpolicyname.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyString.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPolicies.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPoliciesPaged.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPolicies.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesProjectname.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesString.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/AsyncLookupEffectiveGuestPolicy.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/SyncLookupEffectiveGuestPolicy.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/AsyncUpdateGuestPolicy.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicy.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java (100%) rename {owl-bot-staging/v1beta/samples => samples}/snippets/generated/com/google/cloud/osconfig/v1beta/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java (100%) diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceClient.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceClient.java similarity index 95% rename from owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceClient.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceClient.java index c962af67..3312e93e 100644 --- a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceClient.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceClient.java @@ -71,13 +71,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -744,11 +744,11 @@ public final ListPatchJobInstanceDetailsPagedResponse listPatchJobInstanceDetail * @param patchDeploymentId Required. A name for the patch deployment in the project. When * creating a name the following rules apply: *
    - *
  • Must contain only lowercase letters, numbers, and hyphens. - *
  • Must start with a letter. - *
  • Must be between 1-63 characters. - *
  • Must end with a number or a letter. - *
  • Must be unique within the project. + *
  • Must contain only lowercase letters, numbers, and hyphens. + *
  • Must start with a letter. + *
  • Must be between 1-63 characters. + *
  • Must end with a number or a letter. + *
  • Must be unique within the project. *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -791,11 +791,11 @@ public final PatchDeployments.PatchDeployment createPatchDeployment( * @param patchDeploymentId Required. A name for the patch deployment in the project. When * creating a name the following rules apply: *
    - *
  • Must contain only lowercase letters, numbers, and hyphens. - *
  • Must start with a letter. - *
  • Must be between 1-63 characters. - *
  • Must end with a number or a letter. - *
  • Must be unique within the project. + *
  • Must contain only lowercase letters, numbers, and hyphens. + *
  • Must start with a letter. + *
  • Must be between 1-63 characters. + *
  • Must end with a number or a letter. + *
  • Must be unique within the project. *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -1575,8 +1575,11 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListPatchJobsPagedResponse extends AbstractPagedListResponse< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob, - ListPatchJobsPage, ListPatchJobsFixedSizeCollection> { + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, + PatchJobs.PatchJob, + ListPatchJobsPage, + ListPatchJobsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -1598,7 +1601,9 @@ private ListPatchJobsPagedResponse(ListPatchJobsPage page) { public static class ListPatchJobsPage extends AbstractPage< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, + PatchJobs.PatchJob, ListPatchJobsPage> { private ListPatchJobsPage( @@ -1634,8 +1639,11 @@ public ApiFuture createPageAsync( public static class ListPatchJobsFixedSizeCollection extends AbstractFixedSizeCollection< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob, - ListPatchJobsPage, ListPatchJobsFixedSizeCollection> { + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, + PatchJobs.PatchJob, + ListPatchJobsPage, + ListPatchJobsFixedSizeCollection> { private ListPatchJobsFixedSizeCollection(List pages, int collectionSize) { super(pages, collectionSize); @@ -1655,13 +1663,16 @@ protected ListPatchJobsFixedSizeCollection createCollection( public static class ListPatchJobInstanceDetailsPagedResponse extends AbstractPagedListResponse< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails, - ListPatchJobInstanceDetailsPage, ListPatchJobInstanceDetailsFixedSizeCollection> { + PatchJobs.ListPatchJobInstanceDetailsResponse, + PatchJobs.PatchJobInstanceDetails, + ListPatchJobInstanceDetailsPage, + ListPatchJobInstanceDetailsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, + PatchJobs.PatchJobInstanceDetails> context, ApiFuture futureResponse) { ApiFuture futurePage = @@ -1681,13 +1692,15 @@ private ListPatchJobInstanceDetailsPagedResponse(ListPatchJobInstanceDetailsPage public static class ListPatchJobInstanceDetailsPage extends AbstractPage< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails, + PatchJobs.ListPatchJobInstanceDetailsResponse, + PatchJobs.PatchJobInstanceDetails, ListPatchJobInstanceDetailsPage> { private ListPatchJobInstanceDetailsPage( PageContext< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, + PatchJobs.PatchJobInstanceDetails> context, PatchJobs.ListPatchJobInstanceDetailsResponse response) { super(context, response); @@ -1701,7 +1714,8 @@ private static ListPatchJobInstanceDetailsPage createEmptyPage() { protected ListPatchJobInstanceDetailsPage createPage( PageContext< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, + PatchJobs.PatchJobInstanceDetails> context, PatchJobs.ListPatchJobInstanceDetailsResponse response) { return new ListPatchJobInstanceDetailsPage(context, response); @@ -1711,7 +1725,8 @@ protected ListPatchJobInstanceDetailsPage createPage( public ApiFuture createPageAsync( PageContext< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, + PatchJobs.PatchJobInstanceDetails> context, ApiFuture futureResponse) { return super.createPageAsync(context, futureResponse); @@ -1721,8 +1736,10 @@ public ApiFuture createPageAsync( public static class ListPatchJobInstanceDetailsFixedSizeCollection extends AbstractFixedSizeCollection< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails, - ListPatchJobInstanceDetailsPage, ListPatchJobInstanceDetailsFixedSizeCollection> { + PatchJobs.ListPatchJobInstanceDetailsResponse, + PatchJobs.PatchJobInstanceDetails, + ListPatchJobInstanceDetailsPage, + ListPatchJobInstanceDetailsFixedSizeCollection> { private ListPatchJobInstanceDetailsFixedSizeCollection( List pages, int collectionSize) { @@ -1743,13 +1760,16 @@ protected ListPatchJobInstanceDetailsFixedSizeCollection createCollection( public static class ListPatchDeploymentsPagedResponse extends AbstractPagedListResponse< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment, - ListPatchDeploymentsPage, ListPatchDeploymentsFixedSizeCollection> { + PatchDeployments.ListPatchDeploymentsResponse, + PatchDeployments.PatchDeployment, + ListPatchDeploymentsPage, + ListPatchDeploymentsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, + PatchDeployments.PatchDeployment> context, ApiFuture futureResponse) { ApiFuture futurePage = @@ -1768,13 +1788,15 @@ private ListPatchDeploymentsPagedResponse(ListPatchDeploymentsPage page) { public static class ListPatchDeploymentsPage extends AbstractPage< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment, + PatchDeployments.ListPatchDeploymentsResponse, + PatchDeployments.PatchDeployment, ListPatchDeploymentsPage> { private ListPatchDeploymentsPage( PageContext< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, + PatchDeployments.PatchDeployment> context, PatchDeployments.ListPatchDeploymentsResponse response) { super(context, response); @@ -1788,7 +1810,8 @@ private static ListPatchDeploymentsPage createEmptyPage() { protected ListPatchDeploymentsPage createPage( PageContext< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, + PatchDeployments.PatchDeployment> context, PatchDeployments.ListPatchDeploymentsResponse response) { return new ListPatchDeploymentsPage(context, response); @@ -1798,7 +1821,8 @@ protected ListPatchDeploymentsPage createPage( public ApiFuture createPageAsync( PageContext< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, + PatchDeployments.PatchDeployment> context, ApiFuture futureResponse) { return super.createPageAsync(context, futureResponse); @@ -1808,8 +1832,10 @@ public ApiFuture createPageAsync( public static class ListPatchDeploymentsFixedSizeCollection extends AbstractFixedSizeCollection< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment, - ListPatchDeploymentsPage, ListPatchDeploymentsFixedSizeCollection> { + PatchDeployments.ListPatchDeploymentsResponse, + PatchDeployments.PatchDeployment, + ListPatchDeploymentsPage, + ListPatchDeploymentsFixedSizeCollection> { private ListPatchDeploymentsFixedSizeCollection( List pages, int collectionSize) { diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceSettings.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceSettings.java similarity index 94% rename from owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceSettings.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceSettings.java index 59774a69..d984e7eb 100644 --- a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceSettings.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceSettings.java @@ -30,7 +30,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.osconfig.v1.stub.OsConfigServiceStubSettings; @@ -46,9 +45,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -95,7 +94,8 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchJobs. */ public PagedCallSettings< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings() { return ((OsConfigServiceStubSettings) getStubSettings()).listPatchJobsSettings(); @@ -104,7 +104,8 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchJobInstanceDetails. */ public PagedCallSettings< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, + ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings() { return ((OsConfigServiceStubSettings) getStubSettings()).listPatchJobInstanceDetailsSettings(); } @@ -126,7 +127,8 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchDeployments. */ public PagedCallSettings< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, + ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings() { return ((OsConfigServiceStubSettings) getStubSettings()).listPatchDeploymentsSettings(); } @@ -293,7 +295,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchJobs. */ public PagedCallSettings.Builder< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings() { return getStubSettingsBuilder().listPatchJobsSettings(); @@ -302,7 +305,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchJobInstanceDetails. */ public PagedCallSettings.Builder< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, + ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings() { return getStubSettingsBuilder().listPatchJobInstanceDetailsSettings(); } @@ -324,7 +328,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchDeployments. */ public PagedCallSettings.Builder< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, + ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings() { return getStubSettingsBuilder().listPatchDeploymentsSettings(); } diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java similarity index 95% rename from owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java index 217cf6b8..d999c42f 100644 --- a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java @@ -68,13 +68,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -238,11 +238,11 @@ public final OperationsClient getHttpJsonOperationsClient() { * @param osPolicyAssignmentId Required. The logical name of the OS policy assignment in the * project with the following restrictions: *
    - *
  • Must contain only lowercase letters, numbers, and hyphens. - *
  • Must start with a letter. - *
  • Must be between 1-63 characters. - *
  • Must end with a number or a letter. - *
  • Must be unique within the project. + *
  • Must contain only lowercase letters, numbers, and hyphens. + *
  • Must start with a letter. + *
  • Must be between 1-63 characters. + *
  • Must end with a number or a letter. + *
  • Must be unique within the project. *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -294,11 +294,11 @@ public final OperationsClient getHttpJsonOperationsClient() { * @param osPolicyAssignmentId Required. The logical name of the OS policy assignment in the * project with the following restrictions: *
    - *
  • Must contain only lowercase letters, numbers, and hyphens. - *
  • Must start with a letter. - *
  • Must be between 1-63 characters. - *
  • Must end with a number or a letter. - *
  • Must be unique within the project. + *
  • Must contain only lowercase letters, numbers, and hyphens. + *
  • Must start with a letter. + *
  • Must be between 1-63 characters. + *
  • Must end with a number or a letter. + *
  • Must be unique within the project. *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -2212,8 +2212,11 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListOSPolicyAssignmentsPagedResponse extends AbstractPagedListResponse< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment, - ListOSPolicyAssignmentsPage, ListOSPolicyAssignmentsFixedSizeCollection> { + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, + OSPolicyAssignment, + ListOSPolicyAssignmentsPage, + ListOSPolicyAssignmentsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -2235,7 +2238,9 @@ private ListOSPolicyAssignmentsPagedResponse(ListOSPolicyAssignmentsPage page) { public static class ListOSPolicyAssignmentsPage extends AbstractPage< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, + OSPolicyAssignment, ListOSPolicyAssignmentsPage> { private ListOSPolicyAssignmentsPage( @@ -2271,8 +2276,11 @@ public ApiFuture createPageAsync( public static class ListOSPolicyAssignmentsFixedSizeCollection extends AbstractFixedSizeCollection< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment, - ListOSPolicyAssignmentsPage, ListOSPolicyAssignmentsFixedSizeCollection> { + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, + OSPolicyAssignment, + ListOSPolicyAssignmentsPage, + ListOSPolicyAssignmentsFixedSizeCollection> { private ListOSPolicyAssignmentsFixedSizeCollection( List pages, int collectionSize) { @@ -2292,13 +2300,16 @@ protected ListOSPolicyAssignmentsFixedSizeCollection createCollection( public static class ListOSPolicyAssignmentRevisionsPagedResponse extends AbstractPagedListResponse< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, - OSPolicyAssignment, ListOSPolicyAssignmentRevisionsPage, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, + OSPolicyAssignment, + ListOSPolicyAssignmentRevisionsPage, ListOSPolicyAssignmentRevisionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> context, ApiFuture futureResponse) { @@ -2318,12 +2329,15 @@ private ListOSPolicyAssignmentRevisionsPagedResponse(ListOSPolicyAssignmentRevis public static class ListOSPolicyAssignmentRevisionsPage extends AbstractPage< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, - OSPolicyAssignment, ListOSPolicyAssignmentRevisionsPage> { + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, + OSPolicyAssignment, + ListOSPolicyAssignmentRevisionsPage> { private ListOSPolicyAssignmentRevisionsPage( PageContext< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> context, ListOSPolicyAssignmentRevisionsResponse response) { @@ -2337,7 +2351,8 @@ private static ListOSPolicyAssignmentRevisionsPage createEmptyPage() { @Override protected ListOSPolicyAssignmentRevisionsPage createPage( PageContext< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> context, ListOSPolicyAssignmentRevisionsResponse response) { @@ -2347,7 +2362,8 @@ protected ListOSPolicyAssignmentRevisionsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> context, ApiFuture futureResponse) { @@ -2357,8 +2373,10 @@ public ApiFuture createPageAsync( public static class ListOSPolicyAssignmentRevisionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, - OSPolicyAssignment, ListOSPolicyAssignmentRevisionsPage, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, + OSPolicyAssignment, + ListOSPolicyAssignmentRevisionsPage, ListOSPolicyAssignmentRevisionsFixedSizeCollection> { private ListOSPolicyAssignmentRevisionsFixedSizeCollection( @@ -2379,13 +2397,16 @@ protected ListOSPolicyAssignmentRevisionsFixedSizeCollection createCollection( public static class ListOSPolicyAssignmentReportsPagedResponse extends AbstractPagedListResponse< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, - OSPolicyAssignmentReport, ListOSPolicyAssignmentReportsPage, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, + OSPolicyAssignmentReport, + ListOSPolicyAssignmentReportsPage, ListOSPolicyAssignmentReportsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> context, ApiFuture futureResponse) { @@ -2405,12 +2426,15 @@ private ListOSPolicyAssignmentReportsPagedResponse(ListOSPolicyAssignmentReports public static class ListOSPolicyAssignmentReportsPage extends AbstractPage< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, - OSPolicyAssignmentReport, ListOSPolicyAssignmentReportsPage> { + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, + OSPolicyAssignmentReport, + ListOSPolicyAssignmentReportsPage> { private ListOSPolicyAssignmentReportsPage( PageContext< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> context, ListOSPolicyAssignmentReportsResponse response) { @@ -2424,7 +2448,8 @@ private static ListOSPolicyAssignmentReportsPage createEmptyPage() { @Override protected ListOSPolicyAssignmentReportsPage createPage( PageContext< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> context, ListOSPolicyAssignmentReportsResponse response) { @@ -2434,7 +2459,8 @@ protected ListOSPolicyAssignmentReportsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> context, ApiFuture futureResponse) { @@ -2444,8 +2470,10 @@ public ApiFuture createPageAsync( public static class ListOSPolicyAssignmentReportsFixedSizeCollection extends AbstractFixedSizeCollection< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, - OSPolicyAssignmentReport, ListOSPolicyAssignmentReportsPage, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, + OSPolicyAssignmentReport, + ListOSPolicyAssignmentReportsPage, ListOSPolicyAssignmentReportsFixedSizeCollection> { private ListOSPolicyAssignmentReportsFixedSizeCollection( @@ -2466,7 +2494,10 @@ protected ListOSPolicyAssignmentReportsFixedSizeCollection createCollection( public static class ListInventoriesPagedResponse extends AbstractPagedListResponse< - ListInventoriesRequest, ListInventoriesResponse, Inventory, ListInventoriesPage, + ListInventoriesRequest, + ListInventoriesResponse, + Inventory, + ListInventoriesPage, ListInventoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2516,7 +2547,10 @@ public ApiFuture createPageAsync( public static class ListInventoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListInventoriesRequest, ListInventoriesResponse, Inventory, ListInventoriesPage, + ListInventoriesRequest, + ListInventoriesResponse, + Inventory, + ListInventoriesPage, ListInventoriesFixedSizeCollection> { private ListInventoriesFixedSizeCollection( @@ -2537,12 +2571,16 @@ protected ListInventoriesFixedSizeCollection createCollection( public static class ListVulnerabilityReportsPagedResponse extends AbstractPagedListResponse< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport, - ListVulnerabilityReportsPage, ListVulnerabilityReportsFixedSizeCollection> { + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, + VulnerabilityReport, + ListVulnerabilityReportsPage, + ListVulnerabilityReportsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, VulnerabilityReport> context, ApiFuture futureResponse) { @@ -2561,12 +2599,15 @@ private ListVulnerabilityReportsPagedResponse(ListVulnerabilityReportsPage page) public static class ListVulnerabilityReportsPage extends AbstractPage< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, + VulnerabilityReport, ListVulnerabilityReportsPage> { private ListVulnerabilityReportsPage( PageContext< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, VulnerabilityReport> context, ListVulnerabilityReportsResponse response) { @@ -2580,7 +2621,8 @@ private static ListVulnerabilityReportsPage createEmptyPage() { @Override protected ListVulnerabilityReportsPage createPage( PageContext< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, VulnerabilityReport> context, ListVulnerabilityReportsResponse response) { @@ -2590,7 +2632,8 @@ protected ListVulnerabilityReportsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, VulnerabilityReport> context, ApiFuture futureResponse) { @@ -2600,8 +2643,11 @@ public ApiFuture createPageAsync( public static class ListVulnerabilityReportsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport, - ListVulnerabilityReportsPage, ListVulnerabilityReportsFixedSizeCollection> { + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, + VulnerabilityReport, + ListVulnerabilityReportsPage, + ListVulnerabilityReportsFixedSizeCollection> { private ListVulnerabilityReportsFixedSizeCollection( List pages, int collectionSize) { diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceSettings.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceSettings.java similarity index 93% rename from owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceSettings.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceSettings.java index a285b52f..31ebc4cc 100644 --- a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceSettings.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceSettings.java @@ -33,7 +33,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.osconfig.v1.stub.OsConfigZonalServiceStubSettings; @@ -50,9 +49,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -119,7 +118,8 @@ public class OsConfigZonalServiceSettings extends ClientSettings listOSPolicyAssignmentsSettings() { return ((OsConfigZonalServiceStubSettings) getStubSettings()).listOSPolicyAssignmentsSettings(); @@ -127,7 +127,8 @@ public class OsConfigZonalServiceSettings extends ClientSettings listOSPolicyAssignmentRevisionsSettings() { return ((OsConfigZonalServiceStubSettings) getStubSettings()) @@ -158,7 +159,8 @@ public class OsConfigZonalServiceSettings extends ClientSettings listOSPolicyAssignmentReportsSettings() { return ((OsConfigZonalServiceStubSettings) getStubSettings()) @@ -185,7 +187,8 @@ public UnaryCallSettings getInventorySettings() /** Returns the object with the settings used for calls to listVulnerabilityReports. */ public PagedCallSettings< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings() { return ((OsConfigZonalServiceStubSettings) getStubSettings()) @@ -316,7 +319,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to createOSPolicyAssignment. */ public OperationCallSettings.Builder< - CreateOSPolicyAssignmentRequest, OSPolicyAssignment, + CreateOSPolicyAssignmentRequest, + OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> createOSPolicyAssignmentOperationSettings() { return getStubSettingsBuilder().createOSPolicyAssignmentOperationSettings(); @@ -330,7 +334,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to updateOSPolicyAssignment. */ public OperationCallSettings.Builder< - UpdateOSPolicyAssignmentRequest, OSPolicyAssignment, + UpdateOSPolicyAssignmentRequest, + OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> updateOSPolicyAssignmentOperationSettings() { return getStubSettingsBuilder().updateOSPolicyAssignmentOperationSettings(); @@ -344,7 +349,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignments. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings() { return getStubSettingsBuilder().listOSPolicyAssignmentsSettings(); @@ -352,7 +358,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignmentRevisions. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings() { return getStubSettingsBuilder().listOSPolicyAssignmentRevisionsSettings(); @@ -379,7 +386,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignmentReports. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings() { return getStubSettingsBuilder().listOSPolicyAssignmentReportsSettings(); @@ -405,7 +413,8 @@ public UnaryCallSettings.Builder getInventorySet /** Returns the builder for the settings used for calls to listVulnerabilityReports. */ public PagedCallSettings.Builder< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings() { return getStubSettingsBuilder().listVulnerabilityReportsSettings(); diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/gapic_metadata.json b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/gapic_metadata.json rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/package-info.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/package-info.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceCallableFactory.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceCallableFactory.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceStub.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceStub.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceStub.java index 51b5831a..ffe7347b 100644 --- a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceStub.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigServiceStub.java @@ -34,7 +34,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceCallableFactory.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceCallableFactory.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceStub.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceStub.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceStub.java index 77d4b1f1..c1884dbb 100644 --- a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceStub.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/GrpcOsConfigZonalServiceStub.java @@ -58,7 +58,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceCallableFactory.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceCallableFactory.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceStub.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceStub.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigServiceStub.java diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceCallableFactory.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceCallableFactory.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceStub.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceStub.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceStub.java index 12673a03..dcb753e2 100644 --- a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceStub.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/HttpJsonOsConfigZonalServiceStub.java @@ -34,7 +34,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStub.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStub.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStub.java diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStubSettings.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStubSettings.java similarity index 93% rename from owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStubSettings.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStubSettings.java index 6145cbd4..b3bc7fbe 100644 --- a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStubSettings.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStubSettings.java @@ -64,9 +64,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -104,12 +104,14 @@ public class OsConfigServiceStubSettings extends StubSettings cancelPatchJobSettings; private final PagedCallSettings< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings; private final PagedCallSettings< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, + ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings; private final UnaryCallSettings< PatchDeployments.CreatePatchDeploymentRequest, PatchDeployments.PatchDeployment> @@ -119,7 +121,8 @@ public class OsConfigServiceStubSettings extends StubSettings + PatchDeployments.ListPatchDeploymentsResponse, + ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings; private final UnaryCallSettings deletePatchDeploymentSettings; @@ -137,7 +140,8 @@ public class OsConfigServiceStubSettings extends StubSettings LIST_PATCH_JOBS_PAGE_STR_DESC = new PagedListDescriptor< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob>() { @Override public String emptyToken() { @@ -179,11 +183,13 @@ public Iterable extractResources( private static final PagedListDescriptor< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, + PatchJobs.PatchJobInstanceDetails> LIST_PATCH_JOB_INSTANCE_DETAILS_PAGE_STR_DESC = new PagedListDescriptor< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails>() { + PatchJobs.ListPatchJobInstanceDetailsResponse, + PatchJobs.PatchJobInstanceDetails>() { @Override public String emptyToken() { return ""; @@ -226,11 +232,13 @@ public Iterable extractResources( private static final PagedListDescriptor< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, + PatchDeployments.PatchDeployment> LIST_PATCH_DEPLOYMENTS_PAGE_STR_DESC = new PagedListDescriptor< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment>() { + PatchDeployments.ListPatchDeploymentsResponse, + PatchDeployments.PatchDeployment>() { @Override public String emptyToken() { return ""; @@ -272,11 +280,13 @@ public Iterable extractResources( }; private static final PagedListResponseFactory< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> LIST_PATCH_JOBS_PAGE_STR_FACT = new PagedListResponseFactory< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -286,7 +296,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob> pageContext = PageContext.create(callable, LIST_PATCH_JOBS_PAGE_STR_DESC, request, context); @@ -296,7 +307,8 @@ public ApiFuture getFuturePagedResponse( private static final PagedListResponseFactory< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, + ListPatchJobInstanceDetailsPagedResponse> LIST_PATCH_JOB_INSTANCE_DETAILS_PAGE_STR_FACT = new PagedListResponseFactory< PatchJobs.ListPatchJobInstanceDetailsRequest, @@ -328,11 +340,13 @@ public ApiFuture getFuturePagedRespons private static final PagedListResponseFactory< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, + ListPatchDeploymentsPagedResponse> LIST_PATCH_DEPLOYMENTS_PAGE_STR_FACT = new PagedListResponseFactory< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse>() { + PatchDeployments.ListPatchDeploymentsResponse, + ListPatchDeploymentsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( UnaryCallable< @@ -372,7 +386,8 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchJobs. */ public PagedCallSettings< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings() { return listPatchJobsSettings; @@ -381,7 +396,8 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchJobInstanceDetails. */ public PagedCallSettings< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, + ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings() { return listPatchJobInstanceDetailsSettings; } @@ -403,7 +419,8 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchDeployments. */ public PagedCallSettings< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, + ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings() { return listPatchDeploymentsSettings; } @@ -566,12 +583,14 @@ public static class Builder extends StubSettings.Builder cancelPatchJobSettings; private final PagedCallSettings.Builder< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings; private final PagedCallSettings.Builder< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, + ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings; private final UnaryCallSettings.Builder< PatchDeployments.CreatePatchDeploymentRequest, PatchDeployments.PatchDeployment> @@ -581,7 +600,8 @@ public static class Builder extends StubSettings.Builder + PatchDeployments.ListPatchDeploymentsResponse, + ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings; private final UnaryCallSettings.Builder deletePatchDeploymentSettings; @@ -822,7 +842,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchJobs. */ public PagedCallSettings.Builder< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings() { return listPatchJobsSettings; @@ -831,7 +852,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchJobInstanceDetails. */ public PagedCallSettings.Builder< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, + ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings() { return listPatchJobInstanceDetailsSettings; } @@ -853,7 +875,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchDeployments. */ public PagedCallSettings.Builder< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, + ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings() { return listPatchDeploymentsSettings; } diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStub.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStub.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStub.java diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStubSettings.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStubSettings.java similarity index 93% rename from owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStubSettings.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStubSettings.java index efe3d395..d424cef3 100644 --- a/owl-bot-staging/v1/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStubSettings.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigZonalServiceStubSettings.java @@ -91,9 +91,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -139,11 +139,13 @@ public class OsConfigZonalServiceStubSettings private final UnaryCallSettings getOSPolicyAssignmentSettings; private final PagedCallSettings< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings; private final PagedCallSettings< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings; private final UnaryCallSettings @@ -154,7 +156,8 @@ public class OsConfigZonalServiceStubSettings private final UnaryCallSettings getOSPolicyAssignmentReportSettings; private final PagedCallSettings< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings; private final UnaryCallSettings getInventorySettings; @@ -164,7 +167,8 @@ public class OsConfigZonalServiceStubSettings private final UnaryCallSettings getVulnerabilityReportSettings; private final PagedCallSettings< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings; @@ -172,7 +176,8 @@ public class OsConfigZonalServiceStubSettings ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment> LIST_O_S_POLICY_ASSIGNMENTS_PAGE_STR_DESC = new PagedListDescriptor< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, OSPolicyAssignment>() { @Override public String emptyToken() { @@ -213,11 +218,13 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> LIST_O_S_POLICY_ASSIGNMENT_REVISIONS_PAGE_STR_DESC = new PagedListDescriptor< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment>() { @Override public String emptyToken() { @@ -260,11 +267,13 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> LIST_O_S_POLICY_ASSIGNMENT_REPORTS_PAGE_STR_DESC = new PagedListDescriptor< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport>() { @Override public String emptyToken() { @@ -349,7 +358,8 @@ public Iterable extractResources(ListInventoriesResponse payload) { ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport> LIST_VULNERABILITY_REPORTS_PAGE_STR_DESC = new PagedListDescriptor< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, VulnerabilityReport>() { @Override public String emptyToken() { @@ -392,11 +402,13 @@ public Iterable extractResources( }; private static final PagedListResponseFactory< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> LIST_O_S_POLICY_ASSIGNMENTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -406,7 +418,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, OSPolicyAssignment> pageContext = PageContext.create( @@ -416,11 +429,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> LIST_O_S_POLICY_ASSIGNMENT_REVISIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -433,7 +448,8 @@ public ApiFuture getFuturePagedRes ApiFuture futureResponse) { PageContext< ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> + ListOSPolicyAssignmentRevisionsResponse, + OSPolicyAssignment> pageContext = PageContext.create( callable, @@ -446,11 +462,13 @@ public ApiFuture getFuturePagedRes }; private static final PagedListResponseFactory< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> LIST_O_S_POLICY_ASSIGNMENT_REPORTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -461,7 +479,8 @@ public ApiFuture getFuturePagedRespo ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> pageContext = PageContext.create( @@ -492,11 +511,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> LIST_VULNERABILITY_REPORTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -506,7 +527,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, VulnerabilityReport> pageContext = PageContext.create( @@ -549,7 +571,8 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listOSPolicyAssignments. */ public PagedCallSettings< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings() { return listOSPolicyAssignmentsSettings; @@ -557,7 +580,8 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listOSPolicyAssignmentRevisions. */ public PagedCallSettings< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings() { return listOSPolicyAssignmentRevisionsSettings; @@ -584,7 +608,8 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listOSPolicyAssignmentReports. */ public PagedCallSettings< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings() { return listOSPolicyAssignmentReportsSettings; @@ -610,7 +635,8 @@ public UnaryCallSettings getInventorySettings() /** Returns the object with the settings used for calls to listVulnerabilityReports. */ public PagedCallSettings< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings() { return listVulnerabilityReportsSettings; @@ -752,23 +778,27 @@ public static class Builder private final UnaryCallSettings.Builder createOSPolicyAssignmentSettings; private final OperationCallSettings.Builder< - CreateOSPolicyAssignmentRequest, OSPolicyAssignment, + CreateOSPolicyAssignmentRequest, + OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> createOSPolicyAssignmentOperationSettings; private final UnaryCallSettings.Builder updateOSPolicyAssignmentSettings; private final OperationCallSettings.Builder< - UpdateOSPolicyAssignmentRequest, OSPolicyAssignment, + UpdateOSPolicyAssignmentRequest, + OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> updateOSPolicyAssignmentOperationSettings; private final UnaryCallSettings.Builder getOSPolicyAssignmentSettings; private final PagedCallSettings.Builder< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings; private final PagedCallSettings.Builder< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings; private final UnaryCallSettings.Builder @@ -780,7 +810,8 @@ public static class Builder GetOSPolicyAssignmentReportRequest, OSPolicyAssignmentReport> getOSPolicyAssignmentReportSettings; private final PagedCallSettings.Builder< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings; private final UnaryCallSettings.Builder getInventorySettings; @@ -790,7 +821,8 @@ public static class Builder private final UnaryCallSettings.Builder getVulnerabilityReportSettings; private final PagedCallSettings.Builder< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings; private static final ImmutableMap> @@ -1099,7 +1131,8 @@ public Builder applyToAllUnaryMethods( @BetaApi( "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder< - CreateOSPolicyAssignmentRequest, OSPolicyAssignment, + CreateOSPolicyAssignmentRequest, + OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> createOSPolicyAssignmentOperationSettings() { return createOSPolicyAssignmentOperationSettings; @@ -1115,7 +1148,8 @@ public Builder applyToAllUnaryMethods( @BetaApi( "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder< - UpdateOSPolicyAssignmentRequest, OSPolicyAssignment, + UpdateOSPolicyAssignmentRequest, + OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> updateOSPolicyAssignmentOperationSettings() { return updateOSPolicyAssignmentOperationSettings; @@ -1129,7 +1163,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignments. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings() { return listOSPolicyAssignmentsSettings; @@ -1137,7 +1172,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignmentRevisions. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings() { return listOSPolicyAssignmentRevisionsSettings; @@ -1166,7 +1202,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignmentReports. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings() { return listOSPolicyAssignmentReportsSettings; @@ -1192,7 +1229,8 @@ public UnaryCallSettings.Builder getInventorySet /** Returns the builder for the settings used for calls to listVulnerabilityReports. */ public PagedCallSettings.Builder< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings() { return listVulnerabilityReportsSettings; diff --git a/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java similarity index 95% rename from owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java index 619daf7e..1ece1f25 100644 --- a/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java @@ -68,13 +68,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -239,11 +239,11 @@ public final OperationsClient getHttpJsonOperationsClient() { * @param osPolicyAssignmentId Required. The logical name of the OS policy assignment in the * project with the following restrictions: *
    - *
  • Must contain only lowercase letters, numbers, and hyphens. - *
  • Must start with a letter. - *
  • Must be between 1-63 characters. - *
  • Must end with a number or a letter. - *
  • Must be unique within the project. + *
  • Must contain only lowercase letters, numbers, and hyphens. + *
  • Must start with a letter. + *
  • Must be between 1-63 characters. + *
  • Must end with a number or a letter. + *
  • Must be unique within the project. *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -295,11 +295,11 @@ public final OperationsClient getHttpJsonOperationsClient() { * @param osPolicyAssignmentId Required. The logical name of the OS policy assignment in the * project with the following restrictions: *
    - *
  • Must contain only lowercase letters, numbers, and hyphens. - *
  • Must start with a letter. - *
  • Must be between 1-63 characters. - *
  • Must end with a number or a letter. - *
  • Must be unique within the project. + *
  • Must contain only lowercase letters, numbers, and hyphens. + *
  • Must start with a letter. + *
  • Must be between 1-63 characters. + *
  • Must end with a number or a letter. + *
  • Must be unique within the project. *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -2509,8 +2509,11 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListOSPolicyAssignmentsPagedResponse extends AbstractPagedListResponse< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment, - ListOSPolicyAssignmentsPage, ListOSPolicyAssignmentsFixedSizeCollection> { + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, + OSPolicyAssignment, + ListOSPolicyAssignmentsPage, + ListOSPolicyAssignmentsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -2532,7 +2535,9 @@ private ListOSPolicyAssignmentsPagedResponse(ListOSPolicyAssignmentsPage page) { public static class ListOSPolicyAssignmentsPage extends AbstractPage< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, + OSPolicyAssignment, ListOSPolicyAssignmentsPage> { private ListOSPolicyAssignmentsPage( @@ -2568,8 +2573,11 @@ public ApiFuture createPageAsync( public static class ListOSPolicyAssignmentsFixedSizeCollection extends AbstractFixedSizeCollection< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment, - ListOSPolicyAssignmentsPage, ListOSPolicyAssignmentsFixedSizeCollection> { + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, + OSPolicyAssignment, + ListOSPolicyAssignmentsPage, + ListOSPolicyAssignmentsFixedSizeCollection> { private ListOSPolicyAssignmentsFixedSizeCollection( List pages, int collectionSize) { @@ -2589,13 +2597,16 @@ protected ListOSPolicyAssignmentsFixedSizeCollection createCollection( public static class ListOSPolicyAssignmentRevisionsPagedResponse extends AbstractPagedListResponse< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, - OSPolicyAssignment, ListOSPolicyAssignmentRevisionsPage, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, + OSPolicyAssignment, + ListOSPolicyAssignmentRevisionsPage, ListOSPolicyAssignmentRevisionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> context, ApiFuture futureResponse) { @@ -2615,12 +2626,15 @@ private ListOSPolicyAssignmentRevisionsPagedResponse(ListOSPolicyAssignmentRevis public static class ListOSPolicyAssignmentRevisionsPage extends AbstractPage< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, - OSPolicyAssignment, ListOSPolicyAssignmentRevisionsPage> { + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, + OSPolicyAssignment, + ListOSPolicyAssignmentRevisionsPage> { private ListOSPolicyAssignmentRevisionsPage( PageContext< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> context, ListOSPolicyAssignmentRevisionsResponse response) { @@ -2634,7 +2648,8 @@ private static ListOSPolicyAssignmentRevisionsPage createEmptyPage() { @Override protected ListOSPolicyAssignmentRevisionsPage createPage( PageContext< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> context, ListOSPolicyAssignmentRevisionsResponse response) { @@ -2644,7 +2659,8 @@ protected ListOSPolicyAssignmentRevisionsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> context, ApiFuture futureResponse) { @@ -2654,8 +2670,10 @@ public ApiFuture createPageAsync( public static class ListOSPolicyAssignmentRevisionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, - OSPolicyAssignment, ListOSPolicyAssignmentRevisionsPage, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, + OSPolicyAssignment, + ListOSPolicyAssignmentRevisionsPage, ListOSPolicyAssignmentRevisionsFixedSizeCollection> { private ListOSPolicyAssignmentRevisionsFixedSizeCollection( @@ -2676,13 +2694,16 @@ protected ListOSPolicyAssignmentRevisionsFixedSizeCollection createCollection( public static class ListInstanceOSPoliciesCompliancesPagedResponse extends AbstractPagedListResponse< - ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, - InstanceOSPoliciesCompliance, ListInstanceOSPoliciesCompliancesPage, + ListInstanceOSPoliciesCompliancesRequest, + ListInstanceOSPoliciesCompliancesResponse, + InstanceOSPoliciesCompliance, + ListInstanceOSPoliciesCompliancesPage, ListInstanceOSPoliciesCompliancesFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, + ListInstanceOSPoliciesCompliancesResponse, InstanceOSPoliciesCompliance> context, ApiFuture futureResponse) { @@ -2703,12 +2724,15 @@ private ListInstanceOSPoliciesCompliancesPagedResponse( public static class ListInstanceOSPoliciesCompliancesPage extends AbstractPage< - ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, - InstanceOSPoliciesCompliance, ListInstanceOSPoliciesCompliancesPage> { + ListInstanceOSPoliciesCompliancesRequest, + ListInstanceOSPoliciesCompliancesResponse, + InstanceOSPoliciesCompliance, + ListInstanceOSPoliciesCompliancesPage> { private ListInstanceOSPoliciesCompliancesPage( PageContext< - ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, + ListInstanceOSPoliciesCompliancesResponse, InstanceOSPoliciesCompliance> context, ListInstanceOSPoliciesCompliancesResponse response) { @@ -2722,7 +2746,8 @@ private static ListInstanceOSPoliciesCompliancesPage createEmptyPage() { @Override protected ListInstanceOSPoliciesCompliancesPage createPage( PageContext< - ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, + ListInstanceOSPoliciesCompliancesResponse, InstanceOSPoliciesCompliance> context, ListInstanceOSPoliciesCompliancesResponse response) { @@ -2732,7 +2757,8 @@ protected ListInstanceOSPoliciesCompliancesPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, + ListInstanceOSPoliciesCompliancesResponse, InstanceOSPoliciesCompliance> context, ApiFuture futureResponse) { @@ -2742,8 +2768,10 @@ public ApiFuture createPageAsync( public static class ListInstanceOSPoliciesCompliancesFixedSizeCollection extends AbstractFixedSizeCollection< - ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, - InstanceOSPoliciesCompliance, ListInstanceOSPoliciesCompliancesPage, + ListInstanceOSPoliciesCompliancesRequest, + ListInstanceOSPoliciesCompliancesResponse, + InstanceOSPoliciesCompliance, + ListInstanceOSPoliciesCompliancesPage, ListInstanceOSPoliciesCompliancesFixedSizeCollection> { private ListInstanceOSPoliciesCompliancesFixedSizeCollection( @@ -2764,13 +2792,16 @@ protected ListInstanceOSPoliciesCompliancesFixedSizeCollection createCollection( public static class ListOSPolicyAssignmentReportsPagedResponse extends AbstractPagedListResponse< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, - OSPolicyAssignmentReport, ListOSPolicyAssignmentReportsPage, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, + OSPolicyAssignmentReport, + ListOSPolicyAssignmentReportsPage, ListOSPolicyAssignmentReportsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> context, ApiFuture futureResponse) { @@ -2790,12 +2821,15 @@ private ListOSPolicyAssignmentReportsPagedResponse(ListOSPolicyAssignmentReports public static class ListOSPolicyAssignmentReportsPage extends AbstractPage< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, - OSPolicyAssignmentReport, ListOSPolicyAssignmentReportsPage> { + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, + OSPolicyAssignmentReport, + ListOSPolicyAssignmentReportsPage> { private ListOSPolicyAssignmentReportsPage( PageContext< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> context, ListOSPolicyAssignmentReportsResponse response) { @@ -2809,7 +2843,8 @@ private static ListOSPolicyAssignmentReportsPage createEmptyPage() { @Override protected ListOSPolicyAssignmentReportsPage createPage( PageContext< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> context, ListOSPolicyAssignmentReportsResponse response) { @@ -2819,7 +2854,8 @@ protected ListOSPolicyAssignmentReportsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> context, ApiFuture futureResponse) { @@ -2829,8 +2865,10 @@ public ApiFuture createPageAsync( public static class ListOSPolicyAssignmentReportsFixedSizeCollection extends AbstractFixedSizeCollection< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, - OSPolicyAssignmentReport, ListOSPolicyAssignmentReportsPage, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, + OSPolicyAssignmentReport, + ListOSPolicyAssignmentReportsPage, ListOSPolicyAssignmentReportsFixedSizeCollection> { private ListOSPolicyAssignmentReportsFixedSizeCollection( @@ -2851,7 +2889,10 @@ protected ListOSPolicyAssignmentReportsFixedSizeCollection createCollection( public static class ListInventoriesPagedResponse extends AbstractPagedListResponse< - ListInventoriesRequest, ListInventoriesResponse, Inventory, ListInventoriesPage, + ListInventoriesRequest, + ListInventoriesResponse, + Inventory, + ListInventoriesPage, ListInventoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2901,7 +2942,10 @@ public ApiFuture createPageAsync( public static class ListInventoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListInventoriesRequest, ListInventoriesResponse, Inventory, ListInventoriesPage, + ListInventoriesRequest, + ListInventoriesResponse, + Inventory, + ListInventoriesPage, ListInventoriesFixedSizeCollection> { private ListInventoriesFixedSizeCollection( @@ -2922,12 +2966,16 @@ protected ListInventoriesFixedSizeCollection createCollection( public static class ListVulnerabilityReportsPagedResponse extends AbstractPagedListResponse< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport, - ListVulnerabilityReportsPage, ListVulnerabilityReportsFixedSizeCollection> { + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, + VulnerabilityReport, + ListVulnerabilityReportsPage, + ListVulnerabilityReportsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, VulnerabilityReport> context, ApiFuture futureResponse) { @@ -2946,12 +2994,15 @@ private ListVulnerabilityReportsPagedResponse(ListVulnerabilityReportsPage page) public static class ListVulnerabilityReportsPage extends AbstractPage< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, + VulnerabilityReport, ListVulnerabilityReportsPage> { private ListVulnerabilityReportsPage( PageContext< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, VulnerabilityReport> context, ListVulnerabilityReportsResponse response) { @@ -2965,7 +3016,8 @@ private static ListVulnerabilityReportsPage createEmptyPage() { @Override protected ListVulnerabilityReportsPage createPage( PageContext< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, VulnerabilityReport> context, ListVulnerabilityReportsResponse response) { @@ -2975,7 +3027,8 @@ protected ListVulnerabilityReportsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, VulnerabilityReport> context, ApiFuture futureResponse) { @@ -2985,8 +3038,11 @@ public ApiFuture createPageAsync( public static class ListVulnerabilityReportsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport, - ListVulnerabilityReportsPage, ListVulnerabilityReportsFixedSizeCollection> { + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, + VulnerabilityReport, + ListVulnerabilityReportsPage, + ListVulnerabilityReportsFixedSizeCollection> { private ListVulnerabilityReportsFixedSizeCollection( List pages, int collectionSize) { diff --git a/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceSettings.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceSettings.java similarity index 93% rename from owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceSettings.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceSettings.java index 705a26f2..6fab56d7 100644 --- a/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceSettings.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceSettings.java @@ -34,7 +34,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.osconfig.v1alpha.stub.OsConfigZonalServiceStubSettings; @@ -51,9 +50,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -121,7 +120,8 @@ public class OsConfigZonalServiceSettings extends ClientSettings listOSPolicyAssignmentsSettings() { return ((OsConfigZonalServiceStubSettings) getStubSettings()).listOSPolicyAssignmentsSettings(); @@ -129,7 +129,8 @@ public class OsConfigZonalServiceSettings extends ClientSettings listOSPolicyAssignmentRevisionsSettings() { return ((OsConfigZonalServiceStubSettings) getStubSettings()) @@ -170,7 +171,8 @@ public class OsConfigZonalServiceSettings extends ClientSettings listInstanceOSPoliciesCompliancesSettings() { return ((OsConfigZonalServiceStubSettings) getStubSettings()) @@ -186,7 +188,8 @@ public class OsConfigZonalServiceSettings extends ClientSettings listOSPolicyAssignmentReportsSettings() { return ((OsConfigZonalServiceStubSettings) getStubSettings()) @@ -213,7 +216,8 @@ public UnaryCallSettings getInventorySettings() /** Returns the object with the settings used for calls to listVulnerabilityReports. */ public PagedCallSettings< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings() { return ((OsConfigZonalServiceStubSettings) getStubSettings()) @@ -344,7 +348,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to createOSPolicyAssignment. */ public OperationCallSettings.Builder< - CreateOSPolicyAssignmentRequest, OSPolicyAssignment, + CreateOSPolicyAssignmentRequest, + OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> createOSPolicyAssignmentOperationSettings() { return getStubSettingsBuilder().createOSPolicyAssignmentOperationSettings(); @@ -358,7 +363,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to updateOSPolicyAssignment. */ public OperationCallSettings.Builder< - UpdateOSPolicyAssignmentRequest, OSPolicyAssignment, + UpdateOSPolicyAssignmentRequest, + OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> updateOSPolicyAssignmentOperationSettings() { return getStubSettingsBuilder().updateOSPolicyAssignmentOperationSettings(); @@ -372,7 +378,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignments. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings() { return getStubSettingsBuilder().listOSPolicyAssignmentsSettings(); @@ -380,7 +387,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignmentRevisions. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings() { return getStubSettingsBuilder().listOSPolicyAssignmentRevisionsSettings(); @@ -418,7 +426,8 @@ public Builder applyToAllUnaryMethods( */ @Deprecated public PagedCallSettings.Builder< - ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, + ListInstanceOSPoliciesCompliancesResponse, ListInstanceOSPoliciesCompliancesPagedResponse> listInstanceOSPoliciesCompliancesSettings() { return getStubSettingsBuilder().listInstanceOSPoliciesCompliancesSettings(); @@ -432,7 +441,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignmentReports. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings() { return getStubSettingsBuilder().listOSPolicyAssignmentReportsSettings(); @@ -458,7 +468,8 @@ public UnaryCallSettings.Builder getInventorySet /** Returns the builder for the settings used for calls to listVulnerabilityReports. */ public PagedCallSettings.Builder< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings() { return getStubSettingsBuilder().listVulnerabilityReportsSettings(); diff --git a/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/gapic_metadata.json b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/gapic_metadata.json rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/gapic_metadata.json diff --git a/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/package-info.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/package-info.java similarity index 100% rename from owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/package-info.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/package-info.java diff --git a/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceCallableFactory.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceCallableFactory.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceCallableFactory.java diff --git a/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceStub.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceStub.java similarity index 99% rename from owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceStub.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceStub.java index a4800fcd..e7ea8a54 100644 --- a/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceStub.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/GrpcOsConfigZonalServiceStub.java @@ -64,7 +64,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceCallableFactory.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceCallableFactory.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceCallableFactory.java diff --git a/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceStub.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceStub.java similarity index 99% rename from owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceStub.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceStub.java index 7615e5c4..31ff24fd 100644 --- a/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceStub.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/HttpJsonOsConfigZonalServiceStub.java @@ -35,7 +35,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStub.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStub.java similarity index 100% rename from owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStub.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStub.java diff --git a/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStubSettings.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStubSettings.java similarity index 92% rename from owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStubSettings.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStubSettings.java index fed10377..02d35ba7 100644 --- a/owl-bot-staging/v1alpha/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStubSettings.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/OsConfigZonalServiceStubSettings.java @@ -96,9 +96,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -145,11 +145,13 @@ public class OsConfigZonalServiceStubSettings private final UnaryCallSettings getOSPolicyAssignmentSettings; private final PagedCallSettings< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings; private final PagedCallSettings< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings; private final UnaryCallSettings @@ -161,13 +163,15 @@ public class OsConfigZonalServiceStubSettings GetInstanceOSPoliciesComplianceRequest, InstanceOSPoliciesCompliance> getInstanceOSPoliciesComplianceSettings; private final PagedCallSettings< - ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, + ListInstanceOSPoliciesCompliancesResponse, ListInstanceOSPoliciesCompliancesPagedResponse> listInstanceOSPoliciesCompliancesSettings; private final UnaryCallSettings getOSPolicyAssignmentReportSettings; private final PagedCallSettings< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings; private final UnaryCallSettings getInventorySettings; @@ -177,7 +181,8 @@ public class OsConfigZonalServiceStubSettings private final UnaryCallSettings getVulnerabilityReportSettings; private final PagedCallSettings< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings; @@ -185,7 +190,8 @@ public class OsConfigZonalServiceStubSettings ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, OSPolicyAssignment> LIST_O_S_POLICY_ASSIGNMENTS_PAGE_STR_DESC = new PagedListDescriptor< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, OSPolicyAssignment>() { @Override public String emptyToken() { @@ -226,11 +232,13 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> LIST_O_S_POLICY_ASSIGNMENT_REVISIONS_PAGE_STR_DESC = new PagedListDescriptor< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment>() { @Override public String emptyToken() { @@ -273,11 +281,13 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, + ListInstanceOSPoliciesCompliancesResponse, InstanceOSPoliciesCompliance> LIST_INSTANCE_O_S_POLICIES_COMPLIANCES_PAGE_STR_DESC = new PagedListDescriptor< - ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, + ListInstanceOSPoliciesCompliancesResponse, InstanceOSPoliciesCompliance>() { @Override public String emptyToken() { @@ -320,11 +330,13 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> LIST_O_S_POLICY_ASSIGNMENT_REPORTS_PAGE_STR_DESC = new PagedListDescriptor< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport>() { @Override public String emptyToken() { @@ -409,7 +421,8 @@ public Iterable extractResources(ListInventoriesResponse payload) { ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, VulnerabilityReport> LIST_VULNERABILITY_REPORTS_PAGE_STR_DESC = new PagedListDescriptor< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, VulnerabilityReport>() { @Override public String emptyToken() { @@ -452,11 +465,13 @@ public Iterable extractResources( }; private static final PagedListResponseFactory< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> LIST_O_S_POLICY_ASSIGNMENTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -466,7 +481,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, OSPolicyAssignment> pageContext = PageContext.create( @@ -476,11 +492,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> LIST_O_S_POLICY_ASSIGNMENT_REVISIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -493,7 +511,8 @@ public ApiFuture getFuturePagedRes ApiFuture futureResponse) { PageContext< ListOSPolicyAssignmentRevisionsRequest, - ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> + ListOSPolicyAssignmentRevisionsResponse, + OSPolicyAssignment> pageContext = PageContext.create( callable, @@ -506,11 +525,13 @@ public ApiFuture getFuturePagedRes }; private static final PagedListResponseFactory< - ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, + ListInstanceOSPoliciesCompliancesResponse, ListInstanceOSPoliciesCompliancesPagedResponse> LIST_INSTANCE_O_S_POLICIES_COMPLIANCES_PAGE_STR_FACT = new PagedListResponseFactory< - ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, + ListInstanceOSPoliciesCompliancesResponse, ListInstanceOSPoliciesCompliancesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -523,7 +544,8 @@ public ApiFuture getFuturePagedR ApiFuture futureResponse) { PageContext< ListInstanceOSPoliciesCompliancesRequest, - ListInstanceOSPoliciesCompliancesResponse, InstanceOSPoliciesCompliance> + ListInstanceOSPoliciesCompliancesResponse, + InstanceOSPoliciesCompliance> pageContext = PageContext.create( callable, @@ -536,11 +558,13 @@ public ApiFuture getFuturePagedR }; private static final PagedListResponseFactory< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> LIST_O_S_POLICY_ASSIGNMENT_REPORTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -551,7 +575,8 @@ public ApiFuture getFuturePagedRespo ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> pageContext = PageContext.create( @@ -582,11 +607,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> LIST_VULNERABILITY_REPORTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -596,7 +623,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, VulnerabilityReport> pageContext = PageContext.create( @@ -639,7 +667,8 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listOSPolicyAssignments. */ public PagedCallSettings< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings() { return listOSPolicyAssignmentsSettings; @@ -647,7 +676,8 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listOSPolicyAssignmentRevisions. */ public PagedCallSettings< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings() { return listOSPolicyAssignmentRevisionsSettings; @@ -684,7 +714,8 @@ public ApiFuture getFuturePagedResponse( */ @Deprecated public PagedCallSettings< - ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, + ListInstanceOSPoliciesCompliancesResponse, ListInstanceOSPoliciesCompliancesPagedResponse> listInstanceOSPoliciesCompliancesSettings() { return listInstanceOSPoliciesCompliancesSettings; @@ -698,7 +729,8 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listOSPolicyAssignmentReports. */ public PagedCallSettings< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings() { return listOSPolicyAssignmentReportsSettings; @@ -724,7 +756,8 @@ public UnaryCallSettings getInventorySettings() /** Returns the object with the settings used for calls to listVulnerabilityReports. */ public PagedCallSettings< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings() { return listVulnerabilityReportsSettings; @@ -870,23 +903,27 @@ public static class Builder private final UnaryCallSettings.Builder createOSPolicyAssignmentSettings; private final OperationCallSettings.Builder< - CreateOSPolicyAssignmentRequest, OSPolicyAssignment, + CreateOSPolicyAssignmentRequest, + OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> createOSPolicyAssignmentOperationSettings; private final UnaryCallSettings.Builder updateOSPolicyAssignmentSettings; private final OperationCallSettings.Builder< - UpdateOSPolicyAssignmentRequest, OSPolicyAssignment, + UpdateOSPolicyAssignmentRequest, + OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> updateOSPolicyAssignmentOperationSettings; private final UnaryCallSettings.Builder getOSPolicyAssignmentSettings; private final PagedCallSettings.Builder< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings; private final PagedCallSettings.Builder< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings; private final UnaryCallSettings.Builder @@ -898,14 +935,16 @@ public static class Builder GetInstanceOSPoliciesComplianceRequest, InstanceOSPoliciesCompliance> getInstanceOSPoliciesComplianceSettings; private final PagedCallSettings.Builder< - ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, + ListInstanceOSPoliciesCompliancesResponse, ListInstanceOSPoliciesCompliancesPagedResponse> listInstanceOSPoliciesCompliancesSettings; private final UnaryCallSettings.Builder< GetOSPolicyAssignmentReportRequest, OSPolicyAssignmentReport> getOSPolicyAssignmentReportSettings; private final PagedCallSettings.Builder< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings; private final UnaryCallSettings.Builder getInventorySettings; @@ -915,7 +954,8 @@ public static class Builder private final UnaryCallSettings.Builder getVulnerabilityReportSettings; private final PagedCallSettings.Builder< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings; private static final ImmutableMap> @@ -1245,7 +1285,8 @@ public Builder applyToAllUnaryMethods( @BetaApi( "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder< - CreateOSPolicyAssignmentRequest, OSPolicyAssignment, + CreateOSPolicyAssignmentRequest, + OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> createOSPolicyAssignmentOperationSettings() { return createOSPolicyAssignmentOperationSettings; @@ -1261,7 +1302,8 @@ public Builder applyToAllUnaryMethods( @BetaApi( "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder< - UpdateOSPolicyAssignmentRequest, OSPolicyAssignment, + UpdateOSPolicyAssignmentRequest, + OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> updateOSPolicyAssignmentOperationSettings() { return updateOSPolicyAssignmentOperationSettings; @@ -1275,7 +1317,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignments. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentsRequest, ListOSPolicyAssignmentsResponse, + ListOSPolicyAssignmentsRequest, + ListOSPolicyAssignmentsResponse, ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsSettings() { return listOSPolicyAssignmentsSettings; @@ -1283,7 +1326,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignmentRevisions. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentRevisionsRequest, ListOSPolicyAssignmentRevisionsResponse, + ListOSPolicyAssignmentRevisionsRequest, + ListOSPolicyAssignmentRevisionsResponse, ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsSettings() { return listOSPolicyAssignmentRevisionsSettings; @@ -1323,7 +1367,8 @@ public Builder applyToAllUnaryMethods( */ @Deprecated public PagedCallSettings.Builder< - ListInstanceOSPoliciesCompliancesRequest, ListInstanceOSPoliciesCompliancesResponse, + ListInstanceOSPoliciesCompliancesRequest, + ListInstanceOSPoliciesCompliancesResponse, ListInstanceOSPoliciesCompliancesPagedResponse> listInstanceOSPoliciesCompliancesSettings() { return listInstanceOSPoliciesCompliancesSettings; @@ -1337,7 +1382,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listOSPolicyAssignmentReports. */ public PagedCallSettings.Builder< - ListOSPolicyAssignmentReportsRequest, ListOSPolicyAssignmentReportsResponse, + ListOSPolicyAssignmentReportsRequest, + ListOSPolicyAssignmentReportsResponse, ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsSettings() { return listOSPolicyAssignmentReportsSettings; @@ -1363,7 +1409,8 @@ public UnaryCallSettings.Builder getInventorySet /** Returns the builder for the settings used for calls to listVulnerabilityReports. */ public PagedCallSettings.Builder< - ListVulnerabilityReportsRequest, ListVulnerabilityReportsResponse, + ListVulnerabilityReportsRequest, + ListVulnerabilityReportsResponse, ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsSettings() { return listVulnerabilityReportsSettings; diff --git a/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClient.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClient.java similarity index 95% rename from owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClient.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClient.java index 5e7c62f2..bbf2fb0e 100644 --- a/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClient.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClient.java @@ -72,13 +72,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1803,8 +1803,11 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListPatchJobsPagedResponse extends AbstractPagedListResponse< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob, - ListPatchJobsPage, ListPatchJobsFixedSizeCollection> { + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, + PatchJobs.PatchJob, + ListPatchJobsPage, + ListPatchJobsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -1826,7 +1829,9 @@ private ListPatchJobsPagedResponse(ListPatchJobsPage page) { public static class ListPatchJobsPage extends AbstractPage< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, + PatchJobs.PatchJob, ListPatchJobsPage> { private ListPatchJobsPage( @@ -1862,8 +1867,11 @@ public ApiFuture createPageAsync( public static class ListPatchJobsFixedSizeCollection extends AbstractFixedSizeCollection< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob, - ListPatchJobsPage, ListPatchJobsFixedSizeCollection> { + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, + PatchJobs.PatchJob, + ListPatchJobsPage, + ListPatchJobsFixedSizeCollection> { private ListPatchJobsFixedSizeCollection(List pages, int collectionSize) { super(pages, collectionSize); @@ -1883,13 +1891,16 @@ protected ListPatchJobsFixedSizeCollection createCollection( public static class ListPatchJobInstanceDetailsPagedResponse extends AbstractPagedListResponse< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails, - ListPatchJobInstanceDetailsPage, ListPatchJobInstanceDetailsFixedSizeCollection> { + PatchJobs.ListPatchJobInstanceDetailsResponse, + PatchJobs.PatchJobInstanceDetails, + ListPatchJobInstanceDetailsPage, + ListPatchJobInstanceDetailsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, + PatchJobs.PatchJobInstanceDetails> context, ApiFuture futureResponse) { ApiFuture futurePage = @@ -1909,13 +1920,15 @@ private ListPatchJobInstanceDetailsPagedResponse(ListPatchJobInstanceDetailsPage public static class ListPatchJobInstanceDetailsPage extends AbstractPage< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails, + PatchJobs.ListPatchJobInstanceDetailsResponse, + PatchJobs.PatchJobInstanceDetails, ListPatchJobInstanceDetailsPage> { private ListPatchJobInstanceDetailsPage( PageContext< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, + PatchJobs.PatchJobInstanceDetails> context, PatchJobs.ListPatchJobInstanceDetailsResponse response) { super(context, response); @@ -1929,7 +1942,8 @@ private static ListPatchJobInstanceDetailsPage createEmptyPage() { protected ListPatchJobInstanceDetailsPage createPage( PageContext< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, + PatchJobs.PatchJobInstanceDetails> context, PatchJobs.ListPatchJobInstanceDetailsResponse response) { return new ListPatchJobInstanceDetailsPage(context, response); @@ -1939,7 +1953,8 @@ protected ListPatchJobInstanceDetailsPage createPage( public ApiFuture createPageAsync( PageContext< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, + PatchJobs.PatchJobInstanceDetails> context, ApiFuture futureResponse) { return super.createPageAsync(context, futureResponse); @@ -1949,8 +1964,10 @@ public ApiFuture createPageAsync( public static class ListPatchJobInstanceDetailsFixedSizeCollection extends AbstractFixedSizeCollection< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails, - ListPatchJobInstanceDetailsPage, ListPatchJobInstanceDetailsFixedSizeCollection> { + PatchJobs.ListPatchJobInstanceDetailsResponse, + PatchJobs.PatchJobInstanceDetails, + ListPatchJobInstanceDetailsPage, + ListPatchJobInstanceDetailsFixedSizeCollection> { private ListPatchJobInstanceDetailsFixedSizeCollection( List pages, int collectionSize) { @@ -1971,13 +1988,16 @@ protected ListPatchJobInstanceDetailsFixedSizeCollection createCollection( public static class ListPatchDeploymentsPagedResponse extends AbstractPagedListResponse< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment, - ListPatchDeploymentsPage, ListPatchDeploymentsFixedSizeCollection> { + PatchDeployments.ListPatchDeploymentsResponse, + PatchDeployments.PatchDeployment, + ListPatchDeploymentsPage, + ListPatchDeploymentsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, + PatchDeployments.PatchDeployment> context, ApiFuture futureResponse) { ApiFuture futurePage = @@ -1996,13 +2016,15 @@ private ListPatchDeploymentsPagedResponse(ListPatchDeploymentsPage page) { public static class ListPatchDeploymentsPage extends AbstractPage< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment, + PatchDeployments.ListPatchDeploymentsResponse, + PatchDeployments.PatchDeployment, ListPatchDeploymentsPage> { private ListPatchDeploymentsPage( PageContext< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, + PatchDeployments.PatchDeployment> context, PatchDeployments.ListPatchDeploymentsResponse response) { super(context, response); @@ -2016,7 +2038,8 @@ private static ListPatchDeploymentsPage createEmptyPage() { protected ListPatchDeploymentsPage createPage( PageContext< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, + PatchDeployments.PatchDeployment> context, PatchDeployments.ListPatchDeploymentsResponse response) { return new ListPatchDeploymentsPage(context, response); @@ -2026,7 +2049,8 @@ protected ListPatchDeploymentsPage createPage( public ApiFuture createPageAsync( PageContext< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, + PatchDeployments.PatchDeployment> context, ApiFuture futureResponse) { return super.createPageAsync(context, futureResponse); @@ -2036,8 +2060,10 @@ public ApiFuture createPageAsync( public static class ListPatchDeploymentsFixedSizeCollection extends AbstractFixedSizeCollection< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment, - ListPatchDeploymentsPage, ListPatchDeploymentsFixedSizeCollection> { + PatchDeployments.ListPatchDeploymentsResponse, + PatchDeployments.PatchDeployment, + ListPatchDeploymentsPage, + ListPatchDeploymentsFixedSizeCollection> { private ListPatchDeploymentsFixedSizeCollection( List pages, int collectionSize) { @@ -2057,12 +2083,16 @@ protected ListPatchDeploymentsFixedSizeCollection createCollection( public static class ListGuestPoliciesPagedResponse extends AbstractPagedListResponse< - GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, - GuestPolicies.GuestPolicy, ListGuestPoliciesPage, ListGuestPoliciesFixedSizeCollection> { + GuestPolicies.ListGuestPoliciesRequest, + GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.GuestPolicy, + ListGuestPoliciesPage, + ListGuestPoliciesFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, + GuestPolicies.ListGuestPoliciesResponse, GuestPolicies.GuestPolicy> context, ApiFuture futureResponse) { @@ -2081,12 +2111,15 @@ private ListGuestPoliciesPagedResponse(ListGuestPoliciesPage page) { public static class ListGuestPoliciesPage extends AbstractPage< - GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, - GuestPolicies.GuestPolicy, ListGuestPoliciesPage> { + GuestPolicies.ListGuestPoliciesRequest, + GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.GuestPolicy, + ListGuestPoliciesPage> { private ListGuestPoliciesPage( PageContext< - GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, + GuestPolicies.ListGuestPoliciesResponse, GuestPolicies.GuestPolicy> context, GuestPolicies.ListGuestPoliciesResponse response) { @@ -2100,7 +2133,8 @@ private static ListGuestPoliciesPage createEmptyPage() { @Override protected ListGuestPoliciesPage createPage( PageContext< - GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, + GuestPolicies.ListGuestPoliciesResponse, GuestPolicies.GuestPolicy> context, GuestPolicies.ListGuestPoliciesResponse response) { @@ -2110,7 +2144,8 @@ protected ListGuestPoliciesPage createPage( @Override public ApiFuture createPageAsync( PageContext< - GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, + GuestPolicies.ListGuestPoliciesResponse, GuestPolicies.GuestPolicy> context, ApiFuture futureResponse) { @@ -2120,8 +2155,11 @@ public ApiFuture createPageAsync( public static class ListGuestPoliciesFixedSizeCollection extends AbstractFixedSizeCollection< - GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, - GuestPolicies.GuestPolicy, ListGuestPoliciesPage, ListGuestPoliciesFixedSizeCollection> { + GuestPolicies.ListGuestPoliciesRequest, + GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.GuestPolicy, + ListGuestPoliciesPage, + ListGuestPoliciesFixedSizeCollection> { private ListGuestPoliciesFixedSizeCollection( List pages, int collectionSize) { diff --git a/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceSettings.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceSettings.java similarity index 94% rename from owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceSettings.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceSettings.java index 20c86110..6d712455 100644 --- a/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceSettings.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceSettings.java @@ -31,7 +31,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.osconfig.v1beta.stub.OsConfigServiceStubSettings; @@ -47,9 +46,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -97,7 +96,8 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchJobs. */ public PagedCallSettings< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings() { return ((OsConfigServiceStubSettings) getStubSettings()).listPatchJobsSettings(); @@ -106,7 +106,8 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchJobInstanceDetails. */ public PagedCallSettings< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, + ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings() { return ((OsConfigServiceStubSettings) getStubSettings()).listPatchJobInstanceDetailsSettings(); } @@ -128,7 +129,8 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchDeployments. */ public PagedCallSettings< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, + ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings() { return ((OsConfigServiceStubSettings) getStubSettings()).listPatchDeploymentsSettings(); } @@ -174,7 +176,8 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listGuestPolicies. */ public PagedCallSettings< - GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, + GuestPolicies.ListGuestPoliciesResponse, ListGuestPoliciesPagedResponse> listGuestPoliciesSettings() { return ((OsConfigServiceStubSettings) getStubSettings()).listGuestPoliciesSettings(); @@ -334,7 +337,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchJobs. */ public PagedCallSettings.Builder< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings() { return getStubSettingsBuilder().listPatchJobsSettings(); @@ -343,7 +347,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchJobInstanceDetails. */ public PagedCallSettings.Builder< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, + ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings() { return getStubSettingsBuilder().listPatchJobInstanceDetailsSettings(); } @@ -365,7 +370,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchDeployments. */ public PagedCallSettings.Builder< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, + ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings() { return getStubSettingsBuilder().listPatchDeploymentsSettings(); } @@ -412,7 +418,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listGuestPolicies. */ public PagedCallSettings.Builder< - GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, + GuestPolicies.ListGuestPoliciesResponse, ListGuestPoliciesPagedResponse> listGuestPoliciesSettings() { return getStubSettingsBuilder().listGuestPoliciesSettings(); diff --git a/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/gapic_metadata.json b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/gapic_metadata.json rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/gapic_metadata.json diff --git a/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/package-info.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/package-info.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/package-info.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/package-info.java diff --git a/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceCallableFactory.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceCallableFactory.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceCallableFactory.java diff --git a/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceStub.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceStub.java similarity index 99% rename from owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceStub.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceStub.java index 49a9ec95..df8f86c8 100644 --- a/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceStub.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/GrpcOsConfigServiceStub.java @@ -37,7 +37,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceCallableFactory.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceCallableFactory.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceCallableFactory.java diff --git a/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceStub.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceStub.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceStub.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/HttpJsonOsConfigServiceStub.java diff --git a/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStub.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStub.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStub.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStub.java diff --git a/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStubSettings.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStubSettings.java similarity index 93% rename from owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStubSettings.java rename to google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStubSettings.java index 5493a66c..75c7b861 100644 --- a/owl-bot-staging/v1beta/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStubSettings.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/OsConfigServiceStubSettings.java @@ -66,9 +66,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (osconfig.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -107,12 +107,14 @@ public class OsConfigServiceStubSettings extends StubSettings cancelPatchJobSettings; private final PagedCallSettings< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings; private final PagedCallSettings< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, + ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings; private final UnaryCallSettings< PatchDeployments.CreatePatchDeploymentRequest, PatchDeployments.PatchDeployment> @@ -122,7 +124,8 @@ public class OsConfigServiceStubSettings extends StubSettings + PatchDeployments.ListPatchDeploymentsResponse, + ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings; private final UnaryCallSettings deletePatchDeploymentSettings; @@ -140,7 +143,8 @@ public class OsConfigServiceStubSettings extends StubSettings getGuestPolicySettings; private final PagedCallSettings< - GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, + GuestPolicies.ListGuestPoliciesResponse, ListGuestPoliciesPagedResponse> listGuestPoliciesSettings; private final UnaryCallSettings @@ -155,7 +159,8 @@ public class OsConfigServiceStubSettings extends StubSettings LIST_PATCH_JOBS_PAGE_STR_DESC = new PagedListDescriptor< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob>() { @Override public String emptyToken() { @@ -197,11 +202,13 @@ public Iterable extractResources( private static final PagedListDescriptor< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails> + PatchJobs.ListPatchJobInstanceDetailsResponse, + PatchJobs.PatchJobInstanceDetails> LIST_PATCH_JOB_INSTANCE_DETAILS_PAGE_STR_DESC = new PagedListDescriptor< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails>() { + PatchJobs.ListPatchJobInstanceDetailsResponse, + PatchJobs.PatchJobInstanceDetails>() { @Override public String emptyToken() { return ""; @@ -244,11 +251,13 @@ public Iterable extractResources( private static final PagedListDescriptor< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment> + PatchDeployments.ListPatchDeploymentsResponse, + PatchDeployments.PatchDeployment> LIST_PATCH_DEPLOYMENTS_PAGE_STR_DESC = new PagedListDescriptor< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment>() { + PatchDeployments.ListPatchDeploymentsResponse, + PatchDeployments.PatchDeployment>() { @Override public String emptyToken() { return ""; @@ -290,11 +299,13 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, + GuestPolicies.ListGuestPoliciesResponse, GuestPolicies.GuestPolicy> LIST_GUEST_POLICIES_PAGE_STR_DESC = new PagedListDescriptor< - GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, + GuestPolicies.ListGuestPoliciesResponse, GuestPolicies.GuestPolicy>() { @Override public String emptyToken() { @@ -337,11 +348,13 @@ public Iterable extractResources( }; private static final PagedListResponseFactory< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> LIST_PATCH_JOBS_PAGE_STR_FACT = new PagedListResponseFactory< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -351,7 +364,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob> pageContext = PageContext.create(callable, LIST_PATCH_JOBS_PAGE_STR_DESC, request, context); @@ -361,7 +375,8 @@ public ApiFuture getFuturePagedResponse( private static final PagedListResponseFactory< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, + ListPatchJobInstanceDetailsPagedResponse> LIST_PATCH_JOB_INSTANCE_DETAILS_PAGE_STR_FACT = new PagedListResponseFactory< PatchJobs.ListPatchJobInstanceDetailsRequest, @@ -393,11 +408,13 @@ public ApiFuture getFuturePagedRespons private static final PagedListResponseFactory< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, + ListPatchDeploymentsPagedResponse> LIST_PATCH_DEPLOYMENTS_PAGE_STR_FACT = new PagedListResponseFactory< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse>() { + PatchDeployments.ListPatchDeploymentsResponse, + ListPatchDeploymentsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( UnaryCallable< @@ -419,11 +436,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, + GuestPolicies.ListGuestPoliciesResponse, ListGuestPoliciesPagedResponse> LIST_GUEST_POLICIES_PAGE_STR_FACT = new PagedListResponseFactory< - GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, + GuestPolicies.ListGuestPoliciesResponse, ListGuestPoliciesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -436,7 +455,8 @@ public ApiFuture getFuturePagedResponse( ApiFuture futureResponse) { PageContext< GuestPolicies.ListGuestPoliciesRequest, - GuestPolicies.ListGuestPoliciesResponse, GuestPolicies.GuestPolicy> + GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.GuestPolicy> pageContext = PageContext.create( callable, LIST_GUEST_POLICIES_PAGE_STR_DESC, request, context); @@ -463,7 +483,8 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchJobs. */ public PagedCallSettings< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings() { return listPatchJobsSettings; @@ -472,7 +493,8 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchJobInstanceDetails. */ public PagedCallSettings< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, + ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings() { return listPatchJobInstanceDetailsSettings; } @@ -494,7 +516,8 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listPatchDeployments. */ public PagedCallSettings< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, + ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings() { return listPatchDeploymentsSettings; } @@ -540,7 +563,8 @@ public UnaryCallSettings getPa /** Returns the object with the settings used for calls to listGuestPolicies. */ public PagedCallSettings< - GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, + GuestPolicies.ListGuestPoliciesResponse, ListGuestPoliciesPagedResponse> listGuestPoliciesSettings() { return listGuestPoliciesSettings; @@ -703,12 +727,14 @@ public static class Builder extends StubSettings.Builder cancelPatchJobSettings; private final PagedCallSettings.Builder< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings; private final PagedCallSettings.Builder< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, + ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings; private final UnaryCallSettings.Builder< PatchDeployments.CreatePatchDeploymentRequest, PatchDeployments.PatchDeployment> @@ -718,7 +744,8 @@ public static class Builder extends StubSettings.Builder + PatchDeployments.ListPatchDeploymentsResponse, + ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings; private final UnaryCallSettings.Builder deletePatchDeploymentSettings; @@ -738,7 +765,8 @@ public static class Builder extends StubSettings.Builder getGuestPolicySettings; private final PagedCallSettings.Builder< - GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, + GuestPolicies.ListGuestPoliciesResponse, ListGuestPoliciesPagedResponse> listGuestPoliciesSettings; private final UnaryCallSettings.Builder< @@ -1031,7 +1059,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchJobs. */ public PagedCallSettings.Builder< - PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, + PatchJobs.ListPatchJobsRequest, + PatchJobs.ListPatchJobsResponse, ListPatchJobsPagedResponse> listPatchJobsSettings() { return listPatchJobsSettings; @@ -1040,7 +1069,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchJobInstanceDetails. */ public PagedCallSettings.Builder< PatchJobs.ListPatchJobInstanceDetailsRequest, - PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse> + PatchJobs.ListPatchJobInstanceDetailsResponse, + ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings() { return listPatchJobInstanceDetailsSettings; } @@ -1062,7 +1092,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listPatchDeployments. */ public PagedCallSettings.Builder< PatchDeployments.ListPatchDeploymentsRequest, - PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse> + PatchDeployments.ListPatchDeploymentsResponse, + ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings() { return listPatchDeploymentsSettings; } @@ -1109,7 +1140,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listGuestPolicies. */ public PagedCallSettings.Builder< - GuestPolicies.ListGuestPoliciesRequest, GuestPolicies.ListGuestPoliciesResponse, + GuestPolicies.ListGuestPoliciesRequest, + GuestPolicies.ListGuestPoliciesResponse, ListGuestPoliciesPagedResponse> listGuestPoliciesSettings() { return listGuestPoliciesSettings; diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigService.java b/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigService.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigService.java rename to google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigService.java diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigServiceImpl.java b/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigServiceImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigServiceImpl.java rename to google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigServiceImpl.java diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalService.java b/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalService.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalService.java rename to google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalService.java diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalServiceImpl.java b/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalServiceImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalServiceImpl.java rename to google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/MockOsConfigZonalServiceImpl.java diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientHttpJsonTest.java b/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientHttpJsonTest.java rename to google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientTest.java b/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientTest.java rename to google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigServiceClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientHttpJsonTest.java b/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientHttpJsonTest.java rename to google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientTest.java b/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientTest.java rename to google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClientTest.java diff --git a/owl-bot-staging/v1alpha/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalService.java b/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalService.java similarity index 100% rename from owl-bot-staging/v1alpha/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalService.java rename to google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalService.java diff --git a/owl-bot-staging/v1alpha/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalServiceImpl.java b/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalServiceImpl.java similarity index 100% rename from owl-bot-staging/v1alpha/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalServiceImpl.java rename to google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/MockOsConfigZonalServiceImpl.java diff --git a/owl-bot-staging/v1alpha/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientHttpJsonTest.java b/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1alpha/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientHttpJsonTest.java rename to google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/v1alpha/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientTest.java b/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1alpha/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientTest.java rename to google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClientTest.java diff --git a/owl-bot-staging/v1beta/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigService.java b/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigService.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigService.java rename to google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigService.java diff --git a/owl-bot-staging/v1beta/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigServiceImpl.java b/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigServiceImpl.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigServiceImpl.java rename to google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/MockOsConfigServiceImpl.java diff --git a/owl-bot-staging/v1beta/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientHttpJsonTest.java b/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientHttpJsonTest.java rename to google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/v1beta/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientTest.java b/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientTest.java rename to google-cloud-os-config/src/test/java/com/google/cloud/osconfig/v1beta/OsConfigServiceClientTest.java diff --git a/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceGrpc.java b/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceGrpc.java new file mode 100644 index 00000000..2d4fac64 --- /dev/null +++ b/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceGrpc.java @@ -0,0 +1,1766 @@ +/* + * 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. + */ +package com.google.cloud.osconfig.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *

+ * OS Config API
+ * The OS Config service is a server-side component that you can use to
+ * manage package installations and patch jobs for virtual machine instances.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/osconfig/v1/osconfig_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class OsConfigServiceGrpc { + + private OsConfigServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.osconfig.v1.OsConfigService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob> + getExecutePatchJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExecutePatchJob", + requestType = com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob> + getExecutePatchJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob> + getExecutePatchJobMethod; + if ((getExecutePatchJobMethod = OsConfigServiceGrpc.getExecutePatchJobMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getExecutePatchJobMethod = OsConfigServiceGrpc.getExecutePatchJobMethod) == null) { + OsConfigServiceGrpc.getExecutePatchJobMethod = + getExecutePatchJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecutePatchJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("ExecutePatchJob")) + .build(); + } + } + } + return getExecutePatchJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob> + getGetPatchJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPatchJob", + requestType = com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob> + getGetPatchJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob> + getGetPatchJobMethod; + if ((getGetPatchJobMethod = OsConfigServiceGrpc.getGetPatchJobMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getGetPatchJobMethod = OsConfigServiceGrpc.getGetPatchJobMethod) == null) { + OsConfigServiceGrpc.getGetPatchJobMethod = + getGetPatchJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPatchJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("GetPatchJob")) + .build(); + } + } + } + return getGetPatchJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob> + getCancelPatchJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelPatchJob", + requestType = com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob> + getCancelPatchJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob> + getCancelPatchJobMethod; + if ((getCancelPatchJobMethod = OsConfigServiceGrpc.getCancelPatchJobMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getCancelPatchJobMethod = OsConfigServiceGrpc.getCancelPatchJobMethod) == null) { + OsConfigServiceGrpc.getCancelPatchJobMethod = + getCancelPatchJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelPatchJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("CancelPatchJob")) + .build(); + } + } + } + return getCancelPatchJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest, + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse> + getListPatchJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPatchJobs", + requestType = com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest, + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse> + getListPatchJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest, + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse> + getListPatchJobsMethod; + if ((getListPatchJobsMethod = OsConfigServiceGrpc.getListPatchJobsMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getListPatchJobsMethod = OsConfigServiceGrpc.getListPatchJobsMethod) == null) { + OsConfigServiceGrpc.getListPatchJobsMethod = + getListPatchJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPatchJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("ListPatchJobs")) + .build(); + } + } + } + return getListPatchJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest, + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse> + getListPatchJobInstanceDetailsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPatchJobInstanceDetails", + requestType = com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.class, + responseType = + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest, + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse> + getListPatchJobInstanceDetailsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest, + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse> + getListPatchJobInstanceDetailsMethod; + if ((getListPatchJobInstanceDetailsMethod = + OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod) + == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getListPatchJobInstanceDetailsMethod = + OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod) + == null) { + OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod = + getListPatchJobInstanceDetailsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListPatchJobInstanceDetails")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs + .ListPatchJobInstanceDetailsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchJobs + .ListPatchJobInstanceDetailsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier( + "ListPatchJobInstanceDetails")) + .build(); + } + } + } + return getListPatchJobInstanceDetailsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + getCreatePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreatePatchDeployment", + requestType = + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + getCreatePatchDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + getCreatePatchDeploymentMethod; + if ((getCreatePatchDeploymentMethod = OsConfigServiceGrpc.getCreatePatchDeploymentMethod) + == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getCreatePatchDeploymentMethod = OsConfigServiceGrpc.getCreatePatchDeploymentMethod) + == null) { + OsConfigServiceGrpc.getCreatePatchDeploymentMethod = + getCreatePatchDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreatePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments + .CreatePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("CreatePatchDeployment")) + .build(); + } + } + } + return getCreatePatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + getGetPatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPatchDeployment", + requestType = com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + getGetPatchDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + getGetPatchDeploymentMethod; + if ((getGetPatchDeploymentMethod = OsConfigServiceGrpc.getGetPatchDeploymentMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getGetPatchDeploymentMethod = OsConfigServiceGrpc.getGetPatchDeploymentMethod) + == null) { + OsConfigServiceGrpc.getGetPatchDeploymentMethod = + getGetPatchDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments + .GetPatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("GetPatchDeployment")) + .build(); + } + } + } + return getGetPatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest, + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse> + getListPatchDeploymentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPatchDeployments", + requestType = com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.class, + responseType = + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest, + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse> + getListPatchDeploymentsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest, + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse> + getListPatchDeploymentsMethod; + if ((getListPatchDeploymentsMethod = OsConfigServiceGrpc.getListPatchDeploymentsMethod) + == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getListPatchDeploymentsMethod = OsConfigServiceGrpc.getListPatchDeploymentsMethod) + == null) { + OsConfigServiceGrpc.getListPatchDeploymentsMethod = + getListPatchDeploymentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListPatchDeployments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments + .ListPatchDeploymentsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments + .ListPatchDeploymentsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("ListPatchDeployments")) + .build(); + } + } + } + return getListPatchDeploymentsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest, + com.google.protobuf.Empty> + getDeletePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePatchDeployment", + requestType = + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest, + com.google.protobuf.Empty> + getDeletePatchDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest, + com.google.protobuf.Empty> + getDeletePatchDeploymentMethod; + if ((getDeletePatchDeploymentMethod = OsConfigServiceGrpc.getDeletePatchDeploymentMethod) + == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getDeletePatchDeploymentMethod = OsConfigServiceGrpc.getDeletePatchDeploymentMethod) + == null) { + OsConfigServiceGrpc.getDeletePatchDeploymentMethod = + getDeletePatchDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeletePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments + .DeletePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("DeletePatchDeployment")) + .build(); + } + } + } + return getDeletePatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + getUpdatePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdatePatchDeployment", + requestType = + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + getUpdatePatchDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + getUpdatePatchDeploymentMethod; + if ((getUpdatePatchDeploymentMethod = OsConfigServiceGrpc.getUpdatePatchDeploymentMethod) + == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getUpdatePatchDeploymentMethod = OsConfigServiceGrpc.getUpdatePatchDeploymentMethod) + == null) { + OsConfigServiceGrpc.getUpdatePatchDeploymentMethod = + getUpdatePatchDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdatePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments + .UpdatePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("UpdatePatchDeployment")) + .build(); + } + } + } + return getUpdatePatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + getPausePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PausePatchDeployment", + requestType = com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + getPausePatchDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + getPausePatchDeploymentMethod; + if ((getPausePatchDeploymentMethod = OsConfigServiceGrpc.getPausePatchDeploymentMethod) + == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getPausePatchDeploymentMethod = OsConfigServiceGrpc.getPausePatchDeploymentMethod) + == null) { + OsConfigServiceGrpc.getPausePatchDeploymentMethod = + getPausePatchDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "PausePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments + .PausePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("PausePatchDeployment")) + .build(); + } + } + } + return getPausePatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + getResumePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ResumePatchDeployment", + requestType = + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + getResumePatchDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + getResumePatchDeploymentMethod; + if ((getResumePatchDeploymentMethod = OsConfigServiceGrpc.getResumePatchDeploymentMethod) + == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getResumePatchDeploymentMethod = OsConfigServiceGrpc.getResumePatchDeploymentMethod) + == null) { + OsConfigServiceGrpc.getResumePatchDeploymentMethod = + getResumePatchDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ResumePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments + .ResumePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("ResumePatchDeployment")) + .build(); + } + } + } + return getResumePatchDeploymentMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static OsConfigServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceStub(channel, callOptions); + } + }; + return OsConfigServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static OsConfigServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceBlockingStub(channel, callOptions); + } + }; + return OsConfigServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static OsConfigServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceFutureStub(channel, callOptions); + } + }; + return OsConfigServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * OS Config API
+   * The OS Config service is a server-side component that you can use to
+   * manage package installations and patch jobs for virtual machine instances.
+   * 
+ */ + public abstract static class OsConfigServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Patch VM instances by creating and running a patch job.
+     * 
+ */ + public void executePatchJob( + com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExecutePatchJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Get the patch job. This can be used to track the progress of an
+     * ongoing patch job or review the details of completed jobs.
+     * 
+ */ + public void getPatchJob( + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetPatchJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Cancel a patch job. The patch job must be active. Canceled patch jobs
+     * cannot be restarted.
+     * 
+ */ + public void cancelPatchJob( + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelPatchJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Get a list of patch jobs.
+     * 
+ */ + public void listPatchJobs( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPatchJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Get a list of instance details for a given patch job.
+     * 
+ */ + public void listPatchJobInstanceDetails( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPatchJobInstanceDetailsMethod(), responseObserver); + } + + /** + * + * + *
+     * Create an OS Config patch deployment.
+     * 
+ */ + public void createPatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreatePatchDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Get an OS Config patch deployment.
+     * 
+ */ + public void getPatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetPatchDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Get a page of OS Config patch deployments.
+     * 
+ */ + public void listPatchDeployments( + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPatchDeploymentsMethod(), responseObserver); + } + + /** + * + * + *
+     * Delete an OS Config patch deployment.
+     * 
+ */ + public void deletePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePatchDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Update an OS Config patch deployment.
+     * 
+ */ + public void updatePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdatePatchDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Change state of patch deployment to "PAUSED".
+     * Patch deployment in paused state doesn't generate patch jobs.
+     * 
+ */ + public void pausePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getPausePatchDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Change state of patch deployment back to "ACTIVE".
+     * Patch deployment in active state continues to generate patch jobs.
+     * 
+ */ + public void resumePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getResumePatchDeploymentMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getExecutePatchJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob>( + this, METHODID_EXECUTE_PATCH_JOB))) + .addMethod( + getGetPatchJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob>( + this, METHODID_GET_PATCH_JOB))) + .addMethod( + getCancelPatchJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob>( + this, METHODID_CANCEL_PATCH_JOB))) + .addMethod( + getListPatchJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest, + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse>( + this, METHODID_LIST_PATCH_JOBS))) + .addMethod( + getListPatchJobInstanceDetailsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest, + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse>( + this, METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS))) + .addMethod( + getCreatePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( + this, METHODID_CREATE_PATCH_DEPLOYMENT))) + .addMethod( + getGetPatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( + this, METHODID_GET_PATCH_DEPLOYMENT))) + .addMethod( + getListPatchDeploymentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest, + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse>( + this, METHODID_LIST_PATCH_DEPLOYMENTS))) + .addMethod( + getDeletePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_PATCH_DEPLOYMENT))) + .addMethod( + getUpdatePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( + this, METHODID_UPDATE_PATCH_DEPLOYMENT))) + .addMethod( + getPausePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( + this, METHODID_PAUSE_PATCH_DEPLOYMENT))) + .addMethod( + getResumePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( + this, METHODID_RESUME_PATCH_DEPLOYMENT))) + .build(); + } + } + + /** + * + * + *
+   * OS Config API
+   * The OS Config service is a server-side component that you can use to
+   * manage package installations and patch jobs for virtual machine instances.
+   * 
+ */ + public static final class OsConfigServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private OsConfigServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Patch VM instances by creating and running a patch job.
+     * 
+ */ + public void executePatchJob( + com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExecutePatchJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get the patch job. This can be used to track the progress of an
+     * ongoing patch job or review the details of completed jobs.
+     * 
+ */ + public void getPatchJob( + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPatchJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Cancel a patch job. The patch job must be active. Canceled patch jobs
+     * cannot be restarted.
+     * 
+ */ + public void cancelPatchJob( + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelPatchJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get a list of patch jobs.
+     * 
+ */ + public void listPatchJobs( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPatchJobsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get a list of instance details for a given patch job.
+     * 
+ */ + public void listPatchJobInstanceDetails( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPatchJobInstanceDetailsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Create an OS Config patch deployment.
+     * 
+ */ + public void createPatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePatchDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get an OS Config patch deployment.
+     * 
+ */ + public void getPatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPatchDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get a page of OS Config patch deployments.
+     * 
+ */ + public void listPatchDeployments( + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPatchDeploymentsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Delete an OS Config patch deployment.
+     * 
+ */ + public void deletePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePatchDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Update an OS Config patch deployment.
+     * 
+ */ + public void updatePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePatchDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Change state of patch deployment to "PAUSED".
+     * Patch deployment in paused state doesn't generate patch jobs.
+     * 
+ */ + public void pausePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPausePatchDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Change state of patch deployment back to "ACTIVE".
+     * Patch deployment in active state continues to generate patch jobs.
+     * 
+ */ + public void resumePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getResumePatchDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * OS Config API
+   * The OS Config service is a server-side component that you can use to
+   * manage package installations and patch jobs for virtual machine instances.
+   * 
+ */ + public static final class OsConfigServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private OsConfigServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Patch VM instances by creating and running a patch job.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchJobs.PatchJob executePatchJob( + com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExecutePatchJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get the patch job. This can be used to track the progress of an
+     * ongoing patch job or review the details of completed jobs.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchJobs.PatchJob getPatchJob( + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPatchJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Cancel a patch job. The patch job must be active. Canceled patch jobs
+     * cannot be restarted.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchJobs.PatchJob cancelPatchJob( + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelPatchJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get a list of patch jobs.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse listPatchJobs( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPatchJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get a list of instance details for a given patch job.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + listPatchJobInstanceDetails( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPatchJobInstanceDetailsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Create an OS Config patch deployment.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment createPatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePatchDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get an OS Config patch deployment.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPatchDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get a page of OS Config patch deployments.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + listPatchDeployments( + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPatchDeploymentsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Delete an OS Config patch deployment.
+     * 
+ */ + public com.google.protobuf.Empty deletePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePatchDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Update an OS Config patch deployment.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment updatePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePatchDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Change state of patch deployment to "PAUSED".
+     * Patch deployment in paused state doesn't generate patch jobs.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment pausePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPausePatchDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Change state of patch deployment back to "ACTIVE".
+     * Patch deployment in active state continues to generate patch jobs.
+     * 
+ */ + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment resumePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getResumePatchDeploymentMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * OS Config API
+   * The OS Config service is a server-side component that you can use to
+   * manage package installations and patch jobs for virtual machine instances.
+   * 
+ */ + public static final class OsConfigServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private OsConfigServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Patch VM instances by creating and running a patch job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.PatchJobs.PatchJob> + executePatchJob(com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExecutePatchJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get the patch job. This can be used to track the progress of an
+     * ongoing patch job or review the details of completed jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.PatchJobs.PatchJob> + getPatchJob(com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPatchJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Cancel a patch job. The patch job must be active. Canceled patch jobs
+     * cannot be restarted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.PatchJobs.PatchJob> + cancelPatchJob(com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelPatchJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get a list of patch jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse> + listPatchJobs(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPatchJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get a list of instance details for a given patch job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse> + listPatchJobInstanceDetails( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPatchJobInstanceDetailsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Create an OS Config patch deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + createPatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePatchDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get an OS Config patch deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + getPatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPatchDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get a page of OS Config patch deployments.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse> + listPatchDeployments( + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPatchDeploymentsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Delete an OS Config patch deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deletePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePatchDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Update an OS Config patch deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + updatePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdatePatchDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Change state of patch deployment to "PAUSED".
+     * Patch deployment in paused state doesn't generate patch jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + pausePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPausePatchDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Change state of patch deployment back to "ACTIVE".
+     * Patch deployment in active state continues to generate patch jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + resumePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getResumePatchDeploymentMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_EXECUTE_PATCH_JOB = 0; + private static final int METHODID_GET_PATCH_JOB = 1; + private static final int METHODID_CANCEL_PATCH_JOB = 2; + private static final int METHODID_LIST_PATCH_JOBS = 3; + private static final int METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS = 4; + private static final int METHODID_CREATE_PATCH_DEPLOYMENT = 5; + private static final int METHODID_GET_PATCH_DEPLOYMENT = 6; + private static final int METHODID_LIST_PATCH_DEPLOYMENTS = 7; + private static final int METHODID_DELETE_PATCH_DEPLOYMENT = 8; + private static final int METHODID_UPDATE_PATCH_DEPLOYMENT = 9; + private static final int METHODID_PAUSE_PATCH_DEPLOYMENT = 10; + private static final int METHODID_RESUME_PATCH_DEPLOYMENT = 11; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final OsConfigServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(OsConfigServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_EXECUTE_PATCH_JOB: + serviceImpl.executePatchJob( + (com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_PATCH_JOB: + serviceImpl.getPatchJob( + (com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CANCEL_PATCH_JOB: + serviceImpl.cancelPatchJob( + (com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_PATCH_JOBS: + serviceImpl.listPatchJobs( + (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse>) + responseObserver); + break; + case METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS: + serviceImpl.listPatchJobInstanceDetails( + (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse>) + responseObserver); + break; + case METHODID_CREATE_PATCH_DEPLOYMENT: + serviceImpl.createPatchDeployment( + (com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>) + responseObserver); + break; + case METHODID_GET_PATCH_DEPLOYMENT: + serviceImpl.getPatchDeployment( + (com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>) + responseObserver); + break; + case METHODID_LIST_PATCH_DEPLOYMENTS: + serviceImpl.listPatchDeployments( + (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse>) + responseObserver); + break; + case METHODID_DELETE_PATCH_DEPLOYMENT: + serviceImpl.deletePatchDeployment( + (com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_PATCH_DEPLOYMENT: + serviceImpl.updatePatchDeployment( + (com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>) + responseObserver); + break; + case METHODID_PAUSE_PATCH_DEPLOYMENT: + serviceImpl.pausePatchDeployment( + (com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>) + responseObserver); + break; + case METHODID_RESUME_PATCH_DEPLOYMENT: + serviceImpl.resumePatchDeployment( + (com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class OsConfigServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + OsConfigServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.osconfig.v1.OsConfigProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("OsConfigService"); + } + } + + private static final class OsConfigServiceFileDescriptorSupplier + extends OsConfigServiceBaseDescriptorSupplier { + OsConfigServiceFileDescriptorSupplier() {} + } + + private static final class OsConfigServiceMethodDescriptorSupplier + extends OsConfigServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + OsConfigServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (OsConfigServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new OsConfigServiceFileDescriptorSupplier()) + .addMethod(getExecutePatchJobMethod()) + .addMethod(getGetPatchJobMethod()) + .addMethod(getCancelPatchJobMethod()) + .addMethod(getListPatchJobsMethod()) + .addMethod(getListPatchJobInstanceDetailsMethod()) + .addMethod(getCreatePatchDeploymentMethod()) + .addMethod(getGetPatchDeploymentMethod()) + .addMethod(getListPatchDeploymentsMethod()) + .addMethod(getDeletePatchDeploymentMethod()) + .addMethod(getUpdatePatchDeploymentMethod()) + .addMethod(getPausePatchDeploymentMethod()) + .addMethod(getResumePatchDeploymentMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceGrpc.java b/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceGrpc.java new file mode 100644 index 00000000..7218bc62 --- /dev/null +++ b/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceGrpc.java @@ -0,0 +1,1860 @@ +/* + * 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. + */ +package com.google.cloud.osconfig.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Zonal OS Config API
+ * The OS Config service is the server-side component that allows users to
+ * manage package installations and patch jobs for Compute Engine VM instances.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/osconfig/v1/osconfig_zonal_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class OsConfigZonalServiceGrpc { + + private OsConfigZonalServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.osconfig.v1.OsConfigZonalService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest, + com.google.longrunning.Operation> + getCreateOSPolicyAssignmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateOSPolicyAssignment", + requestType = com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest, + com.google.longrunning.Operation> + getCreateOSPolicyAssignmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest, + com.google.longrunning.Operation> + getCreateOSPolicyAssignmentMethod; + if ((getCreateOSPolicyAssignmentMethod = + OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getCreateOSPolicyAssignmentMethod = + OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod) + == null) { + OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod = + getCreateOSPolicyAssignmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateOSPolicyAssignment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "CreateOSPolicyAssignment")) + .build(); + } + } + } + return getCreateOSPolicyAssignmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest, + com.google.longrunning.Operation> + getUpdateOSPolicyAssignmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateOSPolicyAssignment", + requestType = com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest, + com.google.longrunning.Operation> + getUpdateOSPolicyAssignmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest, + com.google.longrunning.Operation> + getUpdateOSPolicyAssignmentMethod; + if ((getUpdateOSPolicyAssignmentMethod = + OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getUpdateOSPolicyAssignmentMethod = + OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod) + == null) { + OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod = + getUpdateOSPolicyAssignmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateOSPolicyAssignment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "UpdateOSPolicyAssignment")) + .build(); + } + } + } + return getUpdateOSPolicyAssignmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest, + com.google.cloud.osconfig.v1.OSPolicyAssignment> + getGetOSPolicyAssignmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetOSPolicyAssignment", + requestType = com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.class, + responseType = com.google.cloud.osconfig.v1.OSPolicyAssignment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest, + com.google.cloud.osconfig.v1.OSPolicyAssignment> + getGetOSPolicyAssignmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest, + com.google.cloud.osconfig.v1.OSPolicyAssignment> + getGetOSPolicyAssignmentMethod; + if ((getGetOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getGetOSPolicyAssignmentMethod = + OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod) + == null) { + OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod = + getGetOSPolicyAssignmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetOSPolicyAssignment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier("GetOSPolicyAssignment")) + .build(); + } + } + } + return getGetOSPolicyAssignmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse> + getListOSPolicyAssignmentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignments", + requestType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.class, + responseType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse> + getListOSPolicyAssignmentsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse> + getListOSPolicyAssignmentsMethod; + if ((getListOSPolicyAssignmentsMethod = + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListOSPolicyAssignmentsMethod = + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod) + == null) { + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod = + getListOSPolicyAssignmentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "ListOSPolicyAssignments")) + .build(); + } + } + } + return getListOSPolicyAssignmentsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse> + getListOSPolicyAssignmentRevisionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignmentRevisions", + requestType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.class, + responseType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse> + getListOSPolicyAssignmentRevisionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse> + getListOSPolicyAssignmentRevisionsMethod; + if ((getListOSPolicyAssignmentRevisionsMethod = + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListOSPolicyAssignmentRevisionsMethod = + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod) + == null) { + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod = + getListOSPolicyAssignmentRevisionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignmentRevisions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "ListOSPolicyAssignmentRevisions")) + .build(); + } + } + } + return getListOSPolicyAssignmentRevisionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest, + com.google.longrunning.Operation> + getDeleteOSPolicyAssignmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteOSPolicyAssignment", + requestType = com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest, + com.google.longrunning.Operation> + getDeleteOSPolicyAssignmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest, + com.google.longrunning.Operation> + getDeleteOSPolicyAssignmentMethod; + if ((getDeleteOSPolicyAssignmentMethod = + OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getDeleteOSPolicyAssignmentMethod = + OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod) + == null) { + OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod = + getDeleteOSPolicyAssignmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteOSPolicyAssignment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "DeleteOSPolicyAssignment")) + .build(); + } + } + } + return getDeleteOSPolicyAssignmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport> + getGetOSPolicyAssignmentReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetOSPolicyAssignmentReport", + requestType = com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.class, + responseType = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport> + getGetOSPolicyAssignmentReportMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport> + getGetOSPolicyAssignmentReportMethod; + if ((getGetOSPolicyAssignmentReportMethod = + OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getGetOSPolicyAssignmentReportMethod = + OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod) + == null) { + OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod = + getGetOSPolicyAssignmentReportMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetOSPolicyAssignmentReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "GetOSPolicyAssignmentReport")) + .build(); + } + } + } + return getGetOSPolicyAssignmentReportMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse> + getListOSPolicyAssignmentReportsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignmentReports", + requestType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.class, + responseType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse> + getListOSPolicyAssignmentReportsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse> + getListOSPolicyAssignmentReportsMethod; + if ((getListOSPolicyAssignmentReportsMethod = + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListOSPolicyAssignmentReportsMethod = + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod) + == null) { + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod = + getListOSPolicyAssignmentReportsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignmentReports")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "ListOSPolicyAssignmentReports")) + .build(); + } + } + } + return getListOSPolicyAssignmentReportsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.GetInventoryRequest, com.google.cloud.osconfig.v1.Inventory> + getGetInventoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInventory", + requestType = com.google.cloud.osconfig.v1.GetInventoryRequest.class, + responseType = com.google.cloud.osconfig.v1.Inventory.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.GetInventoryRequest, com.google.cloud.osconfig.v1.Inventory> + getGetInventoryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.GetInventoryRequest, + com.google.cloud.osconfig.v1.Inventory> + getGetInventoryMethod; + if ((getGetInventoryMethod = OsConfigZonalServiceGrpc.getGetInventoryMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getGetInventoryMethod = OsConfigZonalServiceGrpc.getGetInventoryMethod) == null) { + OsConfigZonalServiceGrpc.getGetInventoryMethod = + getGetInventoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInventory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.GetInventoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.Inventory.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier("GetInventory")) + .build(); + } + } + } + return getGetInventoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.ListInventoriesRequest, + com.google.cloud.osconfig.v1.ListInventoriesResponse> + getListInventoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInventories", + requestType = com.google.cloud.osconfig.v1.ListInventoriesRequest.class, + responseType = com.google.cloud.osconfig.v1.ListInventoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.ListInventoriesRequest, + com.google.cloud.osconfig.v1.ListInventoriesResponse> + getListInventoriesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.ListInventoriesRequest, + com.google.cloud.osconfig.v1.ListInventoriesResponse> + getListInventoriesMethod; + if ((getListInventoriesMethod = OsConfigZonalServiceGrpc.getListInventoriesMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListInventoriesMethod = OsConfigZonalServiceGrpc.getListInventoriesMethod) + == null) { + OsConfigZonalServiceGrpc.getListInventoriesMethod = + getListInventoriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInventories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListInventoriesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListInventoriesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier("ListInventories")) + .build(); + } + } + } + return getListInventoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest, + com.google.cloud.osconfig.v1.VulnerabilityReport> + getGetVulnerabilityReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVulnerabilityReport", + requestType = com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.class, + responseType = com.google.cloud.osconfig.v1.VulnerabilityReport.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest, + com.google.cloud.osconfig.v1.VulnerabilityReport> + getGetVulnerabilityReportMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest, + com.google.cloud.osconfig.v1.VulnerabilityReport> + getGetVulnerabilityReportMethod; + if ((getGetVulnerabilityReportMethod = OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getGetVulnerabilityReportMethod = + OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod) + == null) { + OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod = + getGetVulnerabilityReportMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetVulnerabilityReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.VulnerabilityReport + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "GetVulnerabilityReport")) + .build(); + } + } + } + return getGetVulnerabilityReportMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest, + com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse> + getListVulnerabilityReportsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVulnerabilityReports", + requestType = com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.class, + responseType = com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest, + com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse> + getListVulnerabilityReportsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest, + com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse> + getListVulnerabilityReportsMethod; + if ((getListVulnerabilityReportsMethod = + OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListVulnerabilityReportsMethod = + OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod) + == null) { + OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod = + getListVulnerabilityReportsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListVulnerabilityReports")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "ListVulnerabilityReports")) + .build(); + } + } + } + return getListVulnerabilityReportsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static OsConfigZonalServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigZonalServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceStub(channel, callOptions); + } + }; + return OsConfigZonalServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static OsConfigZonalServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigZonalServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceBlockingStub(channel, callOptions); + } + }; + return OsConfigZonalServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static OsConfigZonalServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigZonalServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceFutureStub(channel, callOptions); + } + }; + return OsConfigZonalServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Zonal OS Config API
+   * The OS Config service is the server-side component that allows users to
+   * manage package installations and patch jobs for Compute Engine VM instances.
+   * 
+ */ + public abstract static class OsConfigZonalServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Create an OS policy assignment.
+     * This method also creates the first revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void createOSPolicyAssignment( + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateOSPolicyAssignmentMethod(), responseObserver); + } + + /** + * + * + *
+     * Update an existing OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void updateOSPolicyAssignment( + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateOSPolicyAssignmentMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieve an existing OS policy assignment.
+     * This method always returns the latest revision. In order to retrieve a
+     * previous revision of the assignment, also provide the revision ID in the
+     * `name` parameter.
+     * 
+ */ + public void getOSPolicyAssignment( + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetOSPolicyAssignmentMethod(), responseObserver); + } + + /** + * + * + *
+     * List the OS policy assignments under the parent resource.
+     * For each OS policy assignment, the latest revision is returned.
+     * 
+ */ + public void listOSPolicyAssignments( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListOSPolicyAssignmentsMethod(), responseObserver); + } + + /** + * + * + *
+     * List the OS policy assignment revisions for a given OS policy assignment.
+     * 
+ */ + public void listOSPolicyAssignmentRevisions( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListOSPolicyAssignmentRevisionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Delete the OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * If the LRO completes and is not cancelled, all revisions associated with
+     * the OS policy assignment are deleted.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void deleteOSPolicyAssignment( + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteOSPolicyAssignmentMethod(), responseObserver); + } + + /** + * + * + *
+     * Get the OS policy asssignment report for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + public void getOSPolicyAssignmentReport( + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetOSPolicyAssignmentReportMethod(), responseObserver); + } + + /** + * + * + *
+     * List OS policy asssignment reports for all Compute Engine VM instances in
+     * the specified zone.
+     * 
+ */ + public void listOSPolicyAssignmentReports( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListOSPolicyAssignmentReportsMethod(), responseObserver); + } + + /** + * + * + *
+     * Get inventory data for the specified VM instance. If the VM has no
+     * associated inventory, the message `NOT_FOUND` is returned.
+     * 
+ */ + public void getInventory( + com.google.cloud.osconfig.v1.GetInventoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetInventoryMethod(), responseObserver); + } + + /** + * + * + *
+     * List inventory data for all VM instances in the specified zone.
+     * 
+ */ + public void listInventories( + com.google.cloud.osconfig.v1.ListInventoriesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListInventoriesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the vulnerability report for the specified VM instance. Only VMs with
+     * inventory data have vulnerability reports associated with them.
+     * 
+ */ + public void getVulnerabilityReport( + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetVulnerabilityReportMethod(), responseObserver); + } + + /** + * + * + *
+     * List vulnerability reports for all VM instances in the specified zone.
+     * 
+ */ + public void listVulnerabilityReports( + com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListVulnerabilityReportsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateOSPolicyAssignmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_OSPOLICY_ASSIGNMENT))) + .addMethod( + getUpdateOSPolicyAssignmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_OSPOLICY_ASSIGNMENT))) + .addMethod( + getGetOSPolicyAssignmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest, + com.google.cloud.osconfig.v1.OSPolicyAssignment>( + this, METHODID_GET_OSPOLICY_ASSIGNMENT))) + .addMethod( + getListOSPolicyAssignmentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse>( + this, METHODID_LIST_OSPOLICY_ASSIGNMENTS))) + .addMethod( + getListOSPolicyAssignmentRevisionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse>( + this, METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS))) + .addMethod( + getDeleteOSPolicyAssignmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_OSPOLICY_ASSIGNMENT))) + .addMethod( + getGetOSPolicyAssignmentReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport>( + this, METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT))) + .addMethod( + getListOSPolicyAssignmentReportsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse>( + this, METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS))) + .addMethod( + getGetInventoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.GetInventoryRequest, + com.google.cloud.osconfig.v1.Inventory>(this, METHODID_GET_INVENTORY))) + .addMethod( + getListInventoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.ListInventoriesRequest, + com.google.cloud.osconfig.v1.ListInventoriesResponse>( + this, METHODID_LIST_INVENTORIES))) + .addMethod( + getGetVulnerabilityReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest, + com.google.cloud.osconfig.v1.VulnerabilityReport>( + this, METHODID_GET_VULNERABILITY_REPORT))) + .addMethod( + getListVulnerabilityReportsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest, + com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse>( + this, METHODID_LIST_VULNERABILITY_REPORTS))) + .build(); + } + } + + /** + * + * + *
+   * Zonal OS Config API
+   * The OS Config service is the server-side component that allows users to
+   * manage package installations and patch jobs for Compute Engine VM instances.
+   * 
+ */ + public static final class OsConfigZonalServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private OsConfigZonalServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigZonalServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Create an OS policy assignment.
+     * This method also creates the first revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void createOSPolicyAssignment( + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateOSPolicyAssignmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Update an existing OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void updateOSPolicyAssignment( + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateOSPolicyAssignmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieve an existing OS policy assignment.
+     * This method always returns the latest revision. In order to retrieve a
+     * previous revision of the assignment, also provide the revision ID in the
+     * `name` parameter.
+     * 
+ */ + public void getOSPolicyAssignment( + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetOSPolicyAssignmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * List the OS policy assignments under the parent resource.
+     * For each OS policy assignment, the latest revision is returned.
+     * 
+ */ + public void listOSPolicyAssignments( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * List the OS policy assignment revisions for a given OS policy assignment.
+     * 
+ */ + public void listOSPolicyAssignmentRevisions( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentRevisionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Delete the OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * If the LRO completes and is not cancelled, all revisions associated with
+     * the OS policy assignment are deleted.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void deleteOSPolicyAssignment( + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteOSPolicyAssignmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get the OS policy asssignment report for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + public void getOSPolicyAssignmentReport( + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetOSPolicyAssignmentReportMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * List OS policy asssignment reports for all Compute Engine VM instances in
+     * the specified zone.
+     * 
+ */ + public void listOSPolicyAssignmentReports( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentReportsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get inventory data for the specified VM instance. If the VM has no
+     * associated inventory, the message `NOT_FOUND` is returned.
+     * 
+ */ + public void getInventory( + com.google.cloud.osconfig.v1.GetInventoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInventoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * List inventory data for all VM instances in the specified zone.
+     * 
+ */ + public void listInventories( + com.google.cloud.osconfig.v1.ListInventoriesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInventoriesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the vulnerability report for the specified VM instance. Only VMs with
+     * inventory data have vulnerability reports associated with them.
+     * 
+ */ + public void getVulnerabilityReport( + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVulnerabilityReportMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * List vulnerability reports for all VM instances in the specified zone.
+     * 
+ */ + public void listVulnerabilityReports( + com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVulnerabilityReportsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Zonal OS Config API
+   * The OS Config service is the server-side component that allows users to
+   * manage package installations and patch jobs for Compute Engine VM instances.
+   * 
+ */ + public static final class OsConfigZonalServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private OsConfigZonalServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigZonalServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Create an OS policy assignment.
+     * This method also creates the first revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.longrunning.Operation createOSPolicyAssignment( + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateOSPolicyAssignmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Update an existing OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.longrunning.Operation updateOSPolicyAssignment( + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateOSPolicyAssignmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieve an existing OS policy assignment.
+     * This method always returns the latest revision. In order to retrieve a
+     * previous revision of the assignment, also provide the revision ID in the
+     * `name` parameter.
+     * 
+ */ + public com.google.cloud.osconfig.v1.OSPolicyAssignment getOSPolicyAssignment( + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetOSPolicyAssignmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List the OS policy assignments under the parent resource.
+     * For each OS policy assignment, the latest revision is returned.
+     * 
+ */ + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse listOSPolicyAssignments( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListOSPolicyAssignmentsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List the OS policy assignment revisions for a given OS policy assignment.
+     * 
+ */ + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse + listOSPolicyAssignmentRevisions( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListOSPolicyAssignmentRevisionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Delete the OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * If the LRO completes and is not cancelled, all revisions associated with
+     * the OS policy assignment are deleted.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.longrunning.Operation deleteOSPolicyAssignment( + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteOSPolicyAssignmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get the OS policy asssignment report for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getOSPolicyAssignmentReport( + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetOSPolicyAssignmentReportMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List OS policy asssignment reports for all Compute Engine VM instances in
+     * the specified zone.
+     * 
+ */ + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse + listOSPolicyAssignmentReports( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListOSPolicyAssignmentReportsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get inventory data for the specified VM instance. If the VM has no
+     * associated inventory, the message `NOT_FOUND` is returned.
+     * 
+ */ + public com.google.cloud.osconfig.v1.Inventory getInventory( + com.google.cloud.osconfig.v1.GetInventoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInventoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List inventory data for all VM instances in the specified zone.
+     * 
+ */ + public com.google.cloud.osconfig.v1.ListInventoriesResponse listInventories( + com.google.cloud.osconfig.v1.ListInventoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInventoriesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the vulnerability report for the specified VM instance. Only VMs with
+     * inventory data have vulnerability reports associated with them.
+     * 
+ */ + public com.google.cloud.osconfig.v1.VulnerabilityReport getVulnerabilityReport( + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVulnerabilityReportMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List vulnerability reports for all VM instances in the specified zone.
+     * 
+ */ + public com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse listVulnerabilityReports( + com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVulnerabilityReportsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Zonal OS Config API
+   * The OS Config service is the server-side component that allows users to
+   * manage package installations and patch jobs for Compute Engine VM instances.
+   * 
+ */ + public static final class OsConfigZonalServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private OsConfigZonalServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigZonalServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Create an OS policy assignment.
+     * This method also creates the first revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createOSPolicyAssignment( + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateOSPolicyAssignmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Update an existing OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateOSPolicyAssignment( + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateOSPolicyAssignmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieve an existing OS policy assignment.
+     * This method always returns the latest revision. In order to retrieve a
+     * previous revision of the assignment, also provide the revision ID in the
+     * `name` parameter.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.OSPolicyAssignment> + getOSPolicyAssignment(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetOSPolicyAssignmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List the OS policy assignments under the parent resource.
+     * For each OS policy assignment, the latest revision is returned.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse> + listOSPolicyAssignments( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List the OS policy assignment revisions for a given OS policy assignment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse> + listOSPolicyAssignmentRevisions( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentRevisionsMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Delete the OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * If the LRO completes and is not cancelled, all revisions associated with
+     * the OS policy assignment are deleted.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteOSPolicyAssignment( + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteOSPolicyAssignmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get the OS policy asssignment report for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport> + getOSPolicyAssignmentReport( + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetOSPolicyAssignmentReportMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List OS policy asssignment reports for all Compute Engine VM instances in
+     * the specified zone.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse> + listOSPolicyAssignmentReports( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentReportsMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Get inventory data for the specified VM instance. If the VM has no
+     * associated inventory, the message `NOT_FOUND` is returned.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.Inventory> + getInventory(com.google.cloud.osconfig.v1.GetInventoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInventoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List inventory data for all VM instances in the specified zone.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.ListInventoriesResponse> + listInventories(com.google.cloud.osconfig.v1.ListInventoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInventoriesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the vulnerability report for the specified VM instance. Only VMs with
+     * inventory data have vulnerability reports associated with them.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.VulnerabilityReport> + getVulnerabilityReport(com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVulnerabilityReportMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List vulnerability reports for all VM instances in the specified zone.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse> + listVulnerabilityReports( + com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVulnerabilityReportsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_OSPOLICY_ASSIGNMENT = 0; + private static final int METHODID_UPDATE_OSPOLICY_ASSIGNMENT = 1; + private static final int METHODID_GET_OSPOLICY_ASSIGNMENT = 2; + private static final int METHODID_LIST_OSPOLICY_ASSIGNMENTS = 3; + private static final int METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS = 4; + private static final int METHODID_DELETE_OSPOLICY_ASSIGNMENT = 5; + private static final int METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT = 6; + private static final int METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS = 7; + private static final int METHODID_GET_INVENTORY = 8; + private static final int METHODID_LIST_INVENTORIES = 9; + private static final int METHODID_GET_VULNERABILITY_REPORT = 10; + private static final int METHODID_LIST_VULNERABILITY_REPORTS = 11; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final OsConfigZonalServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(OsConfigZonalServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_OSPOLICY_ASSIGNMENT: + serviceImpl.createOSPolicyAssignment( + (com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_OSPOLICY_ASSIGNMENT: + serviceImpl.updateOSPolicyAssignment( + (com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_OSPOLICY_ASSIGNMENT: + serviceImpl.getOSPolicyAssignment( + (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_OSPOLICY_ASSIGNMENTS: + serviceImpl.listOSPolicyAssignments( + (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse>) + responseObserver); + break; + case METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS: + serviceImpl.listOSPolicyAssignmentRevisions( + (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse>) + responseObserver); + break; + case METHODID_DELETE_OSPOLICY_ASSIGNMENT: + serviceImpl.deleteOSPolicyAssignment( + (com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT: + serviceImpl.getOSPolicyAssignmentReport( + (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS: + serviceImpl.listOSPolicyAssignmentReports( + (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse>) + responseObserver); + break; + case METHODID_GET_INVENTORY: + serviceImpl.getInventory( + (com.google.cloud.osconfig.v1.GetInventoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_INVENTORIES: + serviceImpl.listInventories( + (com.google.cloud.osconfig.v1.ListInventoriesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_VULNERABILITY_REPORT: + serviceImpl.getVulnerabilityReport( + (com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_VULNERABILITY_REPORTS: + serviceImpl.listVulnerabilityReports( + (com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse>) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class OsConfigZonalServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + OsConfigZonalServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.osconfig.v1.OsConfigZonalServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("OsConfigZonalService"); + } + } + + private static final class OsConfigZonalServiceFileDescriptorSupplier + extends OsConfigZonalServiceBaseDescriptorSupplier { + OsConfigZonalServiceFileDescriptorSupplier() {} + } + + private static final class OsConfigZonalServiceMethodDescriptorSupplier + extends OsConfigZonalServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + OsConfigZonalServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new OsConfigZonalServiceFileDescriptorSupplier()) + .addMethod(getCreateOSPolicyAssignmentMethod()) + .addMethod(getUpdateOSPolicyAssignmentMethod()) + .addMethod(getGetOSPolicyAssignmentMethod()) + .addMethod(getListOSPolicyAssignmentsMethod()) + .addMethod(getListOSPolicyAssignmentRevisionsMethod()) + .addMethod(getDeleteOSPolicyAssignmentMethod()) + .addMethod(getGetOSPolicyAssignmentReportMethod()) + .addMethod(getListOSPolicyAssignmentReportsMethod()) + .addMethod(getGetInventoryMethod()) + .addMethod(getListInventoriesMethod()) + .addMethod(getGetVulnerabilityReportMethod()) + .addMethod(getListVulnerabilityReportsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceGrpc.java b/grpc-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceGrpc.java new file mode 100644 index 00000000..f0364e52 --- /dev/null +++ b/grpc-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceGrpc.java @@ -0,0 +1,2157 @@ +/* + * 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. + */ +package com.google.cloud.osconfig.v1alpha; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Zonal OS Config API
+ * The OS Config service is the server-side component that allows users to
+ * manage package installations and patch jobs for Compute Engine VM instances.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/osconfig/v1alpha/osconfig_zonal_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class OsConfigZonalServiceGrpc { + + private OsConfigZonalServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.osconfig.v1alpha.OsConfigZonalService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest, + com.google.longrunning.Operation> + getCreateOSPolicyAssignmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateOSPolicyAssignment", + requestType = com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest, + com.google.longrunning.Operation> + getCreateOSPolicyAssignmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest, + com.google.longrunning.Operation> + getCreateOSPolicyAssignmentMethod; + if ((getCreateOSPolicyAssignmentMethod = + OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getCreateOSPolicyAssignmentMethod = + OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod) + == null) { + OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod = + getCreateOSPolicyAssignmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateOSPolicyAssignment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "CreateOSPolicyAssignment")) + .build(); + } + } + } + return getCreateOSPolicyAssignmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest, + com.google.longrunning.Operation> + getUpdateOSPolicyAssignmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateOSPolicyAssignment", + requestType = com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest, + com.google.longrunning.Operation> + getUpdateOSPolicyAssignmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest, + com.google.longrunning.Operation> + getUpdateOSPolicyAssignmentMethod; + if ((getUpdateOSPolicyAssignmentMethod = + OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getUpdateOSPolicyAssignmentMethod = + OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod) + == null) { + OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod = + getUpdateOSPolicyAssignmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateOSPolicyAssignment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "UpdateOSPolicyAssignment")) + .build(); + } + } + } + return getUpdateOSPolicyAssignmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment> + getGetOSPolicyAssignmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetOSPolicyAssignment", + requestType = com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment> + getGetOSPolicyAssignmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment> + getGetOSPolicyAssignmentMethod; + if ((getGetOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getGetOSPolicyAssignmentMethod = + OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod) + == null) { + OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod = + getGetOSPolicyAssignmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetOSPolicyAssignment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier("GetOSPolicyAssignment")) + .build(); + } + } + } + return getGetOSPolicyAssignmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse> + getListOSPolicyAssignmentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignments", + requestType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse> + getListOSPolicyAssignmentsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse> + getListOSPolicyAssignmentsMethod; + if ((getListOSPolicyAssignmentsMethod = + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListOSPolicyAssignmentsMethod = + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod) + == null) { + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod = + getListOSPolicyAssignmentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "ListOSPolicyAssignments")) + .build(); + } + } + } + return getListOSPolicyAssignmentsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse> + getListOSPolicyAssignmentRevisionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignmentRevisions", + requestType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.class, + responseType = + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse> + getListOSPolicyAssignmentRevisionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse> + getListOSPolicyAssignmentRevisionsMethod; + if ((getListOSPolicyAssignmentRevisionsMethod = + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListOSPolicyAssignmentRevisionsMethod = + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod) + == null) { + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod = + getListOSPolicyAssignmentRevisionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignmentRevisions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha + .ListOSPolicyAssignmentRevisionsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha + .ListOSPolicyAssignmentRevisionsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "ListOSPolicyAssignmentRevisions")) + .build(); + } + } + } + return getListOSPolicyAssignmentRevisionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest, + com.google.longrunning.Operation> + getDeleteOSPolicyAssignmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteOSPolicyAssignment", + requestType = com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest, + com.google.longrunning.Operation> + getDeleteOSPolicyAssignmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest, + com.google.longrunning.Operation> + getDeleteOSPolicyAssignmentMethod; + if ((getDeleteOSPolicyAssignmentMethod = + OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getDeleteOSPolicyAssignmentMethod = + OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod) + == null) { + OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod = + getDeleteOSPolicyAssignmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteOSPolicyAssignment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "DeleteOSPolicyAssignment")) + .build(); + } + } + } + return getDeleteOSPolicyAssignmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance> + getGetInstanceOSPoliciesComplianceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInstanceOSPoliciesCompliance", + requestType = com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance> + getGetInstanceOSPoliciesComplianceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance> + getGetInstanceOSPoliciesComplianceMethod; + if ((getGetInstanceOSPoliciesComplianceMethod = + OsConfigZonalServiceGrpc.getGetInstanceOSPoliciesComplianceMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getGetInstanceOSPoliciesComplianceMethod = + OsConfigZonalServiceGrpc.getGetInstanceOSPoliciesComplianceMethod) + == null) { + OsConfigZonalServiceGrpc.getGetInstanceOSPoliciesComplianceMethod = + getGetInstanceOSPoliciesComplianceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetInstanceOSPoliciesCompliance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha + .GetInstanceOSPoliciesComplianceRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "GetInstanceOSPoliciesCompliance")) + .build(); + } + } + } + return getGetInstanceOSPoliciesComplianceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest, + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse> + getListInstanceOSPoliciesCompliancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInstanceOSPoliciesCompliances", + requestType = + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.class, + responseType = + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest, + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse> + getListInstanceOSPoliciesCompliancesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest, + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse> + getListInstanceOSPoliciesCompliancesMethod; + if ((getListInstanceOSPoliciesCompliancesMethod = + OsConfigZonalServiceGrpc.getListInstanceOSPoliciesCompliancesMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListInstanceOSPoliciesCompliancesMethod = + OsConfigZonalServiceGrpc.getListInstanceOSPoliciesCompliancesMethod) + == null) { + OsConfigZonalServiceGrpc.getListInstanceOSPoliciesCompliancesMethod = + getListInstanceOSPoliciesCompliancesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListInstanceOSPoliciesCompliances")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha + .ListInstanceOSPoliciesCompliancesRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha + .ListInstanceOSPoliciesCompliancesResponse.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "ListInstanceOSPoliciesCompliances")) + .build(); + } + } + } + return getListInstanceOSPoliciesCompliancesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport> + getGetOSPolicyAssignmentReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetOSPolicyAssignmentReport", + requestType = com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport> + getGetOSPolicyAssignmentReportMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport> + getGetOSPolicyAssignmentReportMethod; + if ((getGetOSPolicyAssignmentReportMethod = + OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getGetOSPolicyAssignmentReportMethod = + OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod) + == null) { + OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod = + getGetOSPolicyAssignmentReportMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetOSPolicyAssignmentReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "GetOSPolicyAssignmentReport")) + .build(); + } + } + } + return getGetOSPolicyAssignmentReportMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse> + getListOSPolicyAssignmentReportsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignmentReports", + requestType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse> + getListOSPolicyAssignmentReportsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse> + getListOSPolicyAssignmentReportsMethod; + if ((getListOSPolicyAssignmentReportsMethod = + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListOSPolicyAssignmentReportsMethod = + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod) + == null) { + OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod = + getListOSPolicyAssignmentReportsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignmentReports")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha + .ListOSPolicyAssignmentReportsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "ListOSPolicyAssignmentReports")) + .build(); + } + } + } + return getListOSPolicyAssignmentReportsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.GetInventoryRequest, + com.google.cloud.osconfig.v1alpha.Inventory> + getGetInventoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInventory", + requestType = com.google.cloud.osconfig.v1alpha.GetInventoryRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.Inventory.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.GetInventoryRequest, + com.google.cloud.osconfig.v1alpha.Inventory> + getGetInventoryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.GetInventoryRequest, + com.google.cloud.osconfig.v1alpha.Inventory> + getGetInventoryMethod; + if ((getGetInventoryMethod = OsConfigZonalServiceGrpc.getGetInventoryMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getGetInventoryMethod = OsConfigZonalServiceGrpc.getGetInventoryMethod) == null) { + OsConfigZonalServiceGrpc.getGetInventoryMethod = + getGetInventoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInventory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.GetInventoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.Inventory.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier("GetInventory")) + .build(); + } + } + } + return getGetInventoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.ListInventoriesRequest, + com.google.cloud.osconfig.v1alpha.ListInventoriesResponse> + getListInventoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInventories", + requestType = com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.ListInventoriesRequest, + com.google.cloud.osconfig.v1alpha.ListInventoriesResponse> + getListInventoriesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.ListInventoriesRequest, + com.google.cloud.osconfig.v1alpha.ListInventoriesResponse> + getListInventoriesMethod; + if ((getListInventoriesMethod = OsConfigZonalServiceGrpc.getListInventoriesMethod) == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListInventoriesMethod = OsConfigZonalServiceGrpc.getListInventoriesMethod) + == null) { + OsConfigZonalServiceGrpc.getListInventoriesMethod = + getListInventoriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInventories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.ListInventoriesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.ListInventoriesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier("ListInventories")) + .build(); + } + } + } + return getListInventoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport> + getGetVulnerabilityReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVulnerabilityReport", + requestType = com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.VulnerabilityReport.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport> + getGetVulnerabilityReportMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport> + getGetVulnerabilityReportMethod; + if ((getGetVulnerabilityReportMethod = OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getGetVulnerabilityReportMethod = + OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod) + == null) { + OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod = + getGetVulnerabilityReportMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetVulnerabilityReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "GetVulnerabilityReport")) + .build(); + } + } + } + return getGetVulnerabilityReportMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest, + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse> + getListVulnerabilityReportsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVulnerabilityReports", + requestType = com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.class, + responseType = com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest, + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse> + getListVulnerabilityReportsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest, + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse> + getListVulnerabilityReportsMethod; + if ((getListVulnerabilityReportsMethod = + OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod) + == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + if ((getListVulnerabilityReportsMethod = + OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod) + == null) { + OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod = + getListVulnerabilityReportsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListVulnerabilityReports")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigZonalServiceMethodDescriptorSupplier( + "ListVulnerabilityReports")) + .build(); + } + } + } + return getListVulnerabilityReportsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static OsConfigZonalServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigZonalServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceStub(channel, callOptions); + } + }; + return OsConfigZonalServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static OsConfigZonalServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigZonalServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceBlockingStub(channel, callOptions); + } + }; + return OsConfigZonalServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static OsConfigZonalServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigZonalServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceFutureStub(channel, callOptions); + } + }; + return OsConfigZonalServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Zonal OS Config API
+   * The OS Config service is the server-side component that allows users to
+   * manage package installations and patch jobs for Compute Engine VM instances.
+   * 
+ */ + public abstract static class OsConfigZonalServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Create an OS policy assignment.
+     * This method also creates the first revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void createOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateOSPolicyAssignmentMethod(), responseObserver); + } + + /** + * + * + *
+     * Update an existing OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void updateOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateOSPolicyAssignmentMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieve an existing OS policy assignment.
+     * This method always returns the latest revision. In order to retrieve a
+     * previous revision of the assignment, also provide the revision ID in the
+     * `name` parameter.
+     * 
+ */ + public void getOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetOSPolicyAssignmentMethod(), responseObserver); + } + + /** + * + * + *
+     * List the OS policy assignments under the parent resource.
+     * For each OS policy assignment, the latest revision is returned.
+     * 
+ */ + public void listOSPolicyAssignments( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListOSPolicyAssignmentsMethod(), responseObserver); + } + + /** + * + * + *
+     * List the OS policy assignment revisions for a given OS policy assignment.
+     * 
+ */ + public void listOSPolicyAssignmentRevisions( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListOSPolicyAssignmentRevisionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Delete the OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * If the LRO completes and is not cancelled, all revisions associated with
+     * the OS policy assignment are deleted.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void deleteOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteOSPolicyAssignmentMethod(), responseObserver); + } + + /** + * + * + *
+     * Get OS policies compliance data for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + @java.lang.Deprecated + public void getInstanceOSPoliciesCompliance( + com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetInstanceOSPoliciesComplianceMethod(), responseObserver); + } + + /** + * + * + *
+     * List OS policies compliance data for all Compute Engine VM instances in the
+     * specified zone.
+     * 
+ */ + @java.lang.Deprecated + public void listInstanceOSPoliciesCompliances( + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListInstanceOSPoliciesCompliancesMethod(), responseObserver); + } + + /** + * + * + *
+     * Get the OS policy asssignment report for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + public void getOSPolicyAssignmentReport( + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetOSPolicyAssignmentReportMethod(), responseObserver); + } + + /** + * + * + *
+     * List OS policy asssignment reports for all Compute Engine VM instances in
+     * the specified zone.
+     * 
+ */ + public void listOSPolicyAssignmentReports( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListOSPolicyAssignmentReportsMethod(), responseObserver); + } + + /** + * + * + *
+     * Get inventory data for the specified VM instance. If the VM has no
+     * associated inventory, the message `NOT_FOUND` is returned.
+     * 
+ */ + public void getInventory( + com.google.cloud.osconfig.v1alpha.GetInventoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetInventoryMethod(), responseObserver); + } + + /** + * + * + *
+     * List inventory data for all VM instances in the specified zone.
+     * 
+ */ + public void listInventories( + com.google.cloud.osconfig.v1alpha.ListInventoriesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListInventoriesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the vulnerability report for the specified VM instance. Only VMs with
+     * inventory data have vulnerability reports associated with them.
+     * 
+ */ + public void getVulnerabilityReport( + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetVulnerabilityReportMethod(), responseObserver); + } + + /** + * + * + *
+     * List vulnerability reports for all VM instances in the specified zone.
+     * 
+ */ + public void listVulnerabilityReports( + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListVulnerabilityReportsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateOSPolicyAssignmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_OSPOLICY_ASSIGNMENT))) + .addMethod( + getUpdateOSPolicyAssignmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_OSPOLICY_ASSIGNMENT))) + .addMethod( + getGetOSPolicyAssignmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment>( + this, METHODID_GET_OSPOLICY_ASSIGNMENT))) + .addMethod( + getListOSPolicyAssignmentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse>( + this, METHODID_LIST_OSPOLICY_ASSIGNMENTS))) + .addMethod( + getListOSPolicyAssignmentRevisionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse>( + this, METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS))) + .addMethod( + getDeleteOSPolicyAssignmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_OSPOLICY_ASSIGNMENT))) + .addMethod( + getGetInstanceOSPoliciesComplianceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance>( + this, METHODID_GET_INSTANCE_OSPOLICIES_COMPLIANCE))) + .addMethod( + getListInstanceOSPoliciesCompliancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest, + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse>( + this, METHODID_LIST_INSTANCE_OSPOLICIES_COMPLIANCES))) + .addMethod( + getGetOSPolicyAssignmentReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport>( + this, METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT))) + .addMethod( + getListOSPolicyAssignmentReportsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse>( + this, METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS))) + .addMethod( + getGetInventoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.GetInventoryRequest, + com.google.cloud.osconfig.v1alpha.Inventory>(this, METHODID_GET_INVENTORY))) + .addMethod( + getListInventoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.ListInventoriesRequest, + com.google.cloud.osconfig.v1alpha.ListInventoriesResponse>( + this, METHODID_LIST_INVENTORIES))) + .addMethod( + getGetVulnerabilityReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport>( + this, METHODID_GET_VULNERABILITY_REPORT))) + .addMethod( + getListVulnerabilityReportsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest, + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse>( + this, METHODID_LIST_VULNERABILITY_REPORTS))) + .build(); + } + } + + /** + * + * + *
+   * Zonal OS Config API
+   * The OS Config service is the server-side component that allows users to
+   * manage package installations and patch jobs for Compute Engine VM instances.
+   * 
+ */ + public static final class OsConfigZonalServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private OsConfigZonalServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigZonalServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Create an OS policy assignment.
+     * This method also creates the first revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void createOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateOSPolicyAssignmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Update an existing OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void updateOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateOSPolicyAssignmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieve an existing OS policy assignment.
+     * This method always returns the latest revision. In order to retrieve a
+     * previous revision of the assignment, also provide the revision ID in the
+     * `name` parameter.
+     * 
+ */ + public void getOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetOSPolicyAssignmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * List the OS policy assignments under the parent resource.
+     * For each OS policy assignment, the latest revision is returned.
+     * 
+ */ + public void listOSPolicyAssignments( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * List the OS policy assignment revisions for a given OS policy assignment.
+     * 
+ */ + public void listOSPolicyAssignmentRevisions( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentRevisionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Delete the OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * If the LRO completes and is not cancelled, all revisions associated with
+     * the OS policy assignment are deleted.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public void deleteOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteOSPolicyAssignmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get OS policies compliance data for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + @java.lang.Deprecated + public void getInstanceOSPoliciesCompliance( + com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInstanceOSPoliciesComplianceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * List OS policies compliance data for all Compute Engine VM instances in the
+     * specified zone.
+     * 
+ */ + @java.lang.Deprecated + public void listInstanceOSPoliciesCompliances( + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInstanceOSPoliciesCompliancesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get the OS policy asssignment report for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + public void getOSPolicyAssignmentReport( + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetOSPolicyAssignmentReportMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * List OS policy asssignment reports for all Compute Engine VM instances in
+     * the specified zone.
+     * 
+ */ + public void listOSPolicyAssignmentReports( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentReportsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get inventory data for the specified VM instance. If the VM has no
+     * associated inventory, the message `NOT_FOUND` is returned.
+     * 
+ */ + public void getInventory( + com.google.cloud.osconfig.v1alpha.GetInventoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInventoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * List inventory data for all VM instances in the specified zone.
+     * 
+ */ + public void listInventories( + com.google.cloud.osconfig.v1alpha.ListInventoriesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInventoriesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the vulnerability report for the specified VM instance. Only VMs with
+     * inventory data have vulnerability reports associated with them.
+     * 
+ */ + public void getVulnerabilityReport( + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVulnerabilityReportMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * List vulnerability reports for all VM instances in the specified zone.
+     * 
+ */ + public void listVulnerabilityReports( + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVulnerabilityReportsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Zonal OS Config API
+   * The OS Config service is the server-side component that allows users to
+   * manage package installations and patch jobs for Compute Engine VM instances.
+   * 
+ */ + public static final class OsConfigZonalServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private OsConfigZonalServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigZonalServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Create an OS policy assignment.
+     * This method also creates the first revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.longrunning.Operation createOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateOSPolicyAssignmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Update an existing OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.longrunning.Operation updateOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateOSPolicyAssignmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieve an existing OS policy assignment.
+     * This method always returns the latest revision. In order to retrieve a
+     * previous revision of the assignment, also provide the revision ID in the
+     * `name` parameter.
+     * 
+ */ + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetOSPolicyAssignmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List the OS policy assignments under the parent resource.
+     * For each OS policy assignment, the latest revision is returned.
+     * 
+ */ + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse + listOSPolicyAssignments( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListOSPolicyAssignmentsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List the OS policy assignment revisions for a given OS policy assignment.
+     * 
+ */ + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse + listOSPolicyAssignmentRevisions( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListOSPolicyAssignmentRevisionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Delete the OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * If the LRO completes and is not cancelled, all revisions associated with
+     * the OS policy assignment are deleted.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.longrunning.Operation deleteOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteOSPolicyAssignmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get OS policies compliance data for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + @java.lang.Deprecated + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance + getInstanceOSPoliciesCompliance( + com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInstanceOSPoliciesComplianceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List OS policies compliance data for all Compute Engine VM instances in the
+     * specified zone.
+     * 
+ */ + @java.lang.Deprecated + public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse + listInstanceOSPoliciesCompliances( + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInstanceOSPoliciesCompliancesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get the OS policy asssignment report for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getOSPolicyAssignmentReport( + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetOSPolicyAssignmentReportMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List OS policy asssignment reports for all Compute Engine VM instances in
+     * the specified zone.
+     * 
+ */ + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse + listOSPolicyAssignmentReports( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListOSPolicyAssignmentReportsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get inventory data for the specified VM instance. If the VM has no
+     * associated inventory, the message `NOT_FOUND` is returned.
+     * 
+ */ + public com.google.cloud.osconfig.v1alpha.Inventory getInventory( + com.google.cloud.osconfig.v1alpha.GetInventoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInventoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List inventory data for all VM instances in the specified zone.
+     * 
+ */ + public com.google.cloud.osconfig.v1alpha.ListInventoriesResponse listInventories( + com.google.cloud.osconfig.v1alpha.ListInventoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInventoriesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the vulnerability report for the specified VM instance. Only VMs with
+     * inventory data have vulnerability reports associated with them.
+     * 
+ */ + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport getVulnerabilityReport( + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVulnerabilityReportMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List vulnerability reports for all VM instances in the specified zone.
+     * 
+ */ + public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse + listVulnerabilityReports( + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVulnerabilityReportsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Zonal OS Config API
+   * The OS Config service is the server-side component that allows users to
+   * manage package installations and patch jobs for Compute Engine VM instances.
+   * 
+ */ + public static final class OsConfigZonalServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private OsConfigZonalServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigZonalServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigZonalServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Create an OS policy assignment.
+     * This method also creates the first revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateOSPolicyAssignmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Update an existing OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateOSPolicyAssignmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieve an existing OS policy assignment.
+     * This method always returns the latest revision. In order to retrieve a
+     * previous revision of the assignment, also provide the revision ID in the
+     * `name` parameter.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment> + getOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetOSPolicyAssignmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List the OS policy assignments under the parent resource.
+     * For each OS policy assignment, the latest revision is returned.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse> + listOSPolicyAssignments( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List the OS policy assignment revisions for a given OS policy assignment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse> + listOSPolicyAssignmentRevisions( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentRevisionsMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Delete the OS policy assignment.
+     * This method creates a new revision of the OS policy assignment.
+     * This method returns a long running operation (LRO) that contains the
+     * rollout details. The rollout can be cancelled by cancelling the LRO.
+     * If the LRO completes and is not cancelled, all revisions associated with
+     * the OS policy assignment are deleted.
+     * For more information, see [Method:
+     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteOSPolicyAssignment( + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteOSPolicyAssignmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get OS policies compliance data for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + @java.lang.Deprecated + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance> + getInstanceOSPoliciesCompliance( + com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInstanceOSPoliciesComplianceMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * List OS policies compliance data for all Compute Engine VM instances in the
+     * specified zone.
+     * 
+ */ + @java.lang.Deprecated + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse> + listInstanceOSPoliciesCompliances( + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInstanceOSPoliciesCompliancesMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Get the OS policy asssignment report for the specified Compute Engine VM
+     * instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport> + getOSPolicyAssignmentReport( + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetOSPolicyAssignmentReportMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List OS policy asssignment reports for all Compute Engine VM instances in
+     * the specified zone.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse> + listOSPolicyAssignmentReports( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListOSPolicyAssignmentReportsMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Get inventory data for the specified VM instance. If the VM has no
+     * associated inventory, the message `NOT_FOUND` is returned.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1alpha.Inventory> + getInventory(com.google.cloud.osconfig.v1alpha.GetInventoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInventoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List inventory data for all VM instances in the specified zone.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1alpha.ListInventoriesResponse> + listInventories(com.google.cloud.osconfig.v1alpha.ListInventoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInventoriesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the vulnerability report for the specified VM instance. Only VMs with
+     * inventory data have vulnerability reports associated with them.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport> + getVulnerabilityReport( + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVulnerabilityReportMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List vulnerability reports for all VM instances in the specified zone.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse> + listVulnerabilityReports( + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVulnerabilityReportsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_OSPOLICY_ASSIGNMENT = 0; + private static final int METHODID_UPDATE_OSPOLICY_ASSIGNMENT = 1; + private static final int METHODID_GET_OSPOLICY_ASSIGNMENT = 2; + private static final int METHODID_LIST_OSPOLICY_ASSIGNMENTS = 3; + private static final int METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS = 4; + private static final int METHODID_DELETE_OSPOLICY_ASSIGNMENT = 5; + private static final int METHODID_GET_INSTANCE_OSPOLICIES_COMPLIANCE = 6; + private static final int METHODID_LIST_INSTANCE_OSPOLICIES_COMPLIANCES = 7; + private static final int METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT = 8; + private static final int METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS = 9; + private static final int METHODID_GET_INVENTORY = 10; + private static final int METHODID_LIST_INVENTORIES = 11; + private static final int METHODID_GET_VULNERABILITY_REPORT = 12; + private static final int METHODID_LIST_VULNERABILITY_REPORTS = 13; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final OsConfigZonalServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(OsConfigZonalServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_OSPOLICY_ASSIGNMENT: + serviceImpl.createOSPolicyAssignment( + (com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_OSPOLICY_ASSIGNMENT: + serviceImpl.updateOSPolicyAssignment( + (com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_OSPOLICY_ASSIGNMENT: + serviceImpl.getOSPolicyAssignment( + (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_OSPOLICY_ASSIGNMENTS: + serviceImpl.listOSPolicyAssignments( + (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse>) + responseObserver); + break; + case METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS: + serviceImpl.listOSPolicyAssignmentRevisions( + (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse>) + responseObserver); + break; + case METHODID_DELETE_OSPOLICY_ASSIGNMENT: + serviceImpl.deleteOSPolicyAssignment( + (com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_INSTANCE_OSPOLICIES_COMPLIANCE: + serviceImpl.getInstanceOSPoliciesCompliance( + (com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance>) + responseObserver); + break; + case METHODID_LIST_INSTANCE_OSPOLICIES_COMPLIANCES: + serviceImpl.listInstanceOSPoliciesCompliances( + (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse>) + responseObserver); + break; + case METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT: + serviceImpl.getOSPolicyAssignmentReport( + (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport>) + responseObserver); + break; + case METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS: + serviceImpl.listOSPolicyAssignmentReports( + (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse>) + responseObserver); + break; + case METHODID_GET_INVENTORY: + serviceImpl.getInventory( + (com.google.cloud.osconfig.v1alpha.GetInventoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_INVENTORIES: + serviceImpl.listInventories( + (com.google.cloud.osconfig.v1alpha.ListInventoriesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1alpha.ListInventoriesResponse>) + responseObserver); + break; + case METHODID_GET_VULNERABILITY_REPORT: + serviceImpl.getVulnerabilityReport( + (com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_VULNERABILITY_REPORTS: + serviceImpl.listVulnerabilityReports( + (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse>) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class OsConfigZonalServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + OsConfigZonalServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("OsConfigZonalService"); + } + } + + private static final class OsConfigZonalServiceFileDescriptorSupplier + extends OsConfigZonalServiceBaseDescriptorSupplier { + OsConfigZonalServiceFileDescriptorSupplier() {} + } + + private static final class OsConfigZonalServiceMethodDescriptorSupplier + extends OsConfigZonalServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + OsConfigZonalServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (OsConfigZonalServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new OsConfigZonalServiceFileDescriptorSupplier()) + .addMethod(getCreateOSPolicyAssignmentMethod()) + .addMethod(getUpdateOSPolicyAssignmentMethod()) + .addMethod(getGetOSPolicyAssignmentMethod()) + .addMethod(getListOSPolicyAssignmentsMethod()) + .addMethod(getListOSPolicyAssignmentRevisionsMethod()) + .addMethod(getDeleteOSPolicyAssignmentMethod()) + .addMethod(getGetInstanceOSPoliciesComplianceMethod()) + .addMethod(getListInstanceOSPoliciesCompliancesMethod()) + .addMethod(getGetOSPolicyAssignmentReportMethod()) + .addMethod(getListOSPolicyAssignmentReportsMethod()) + .addMethod(getGetInventoryMethod()) + .addMethod(getListInventoriesMethod()) + .addMethod(getGetVulnerabilityReportMethod()) + .addMethod(getListVulnerabilityReportsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceGrpc.java b/grpc-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceGrpc.java new file mode 100644 index 00000000..130ffc76 --- /dev/null +++ b/grpc-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceGrpc.java @@ -0,0 +1,2562 @@ +/* + * 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. + */ +package com.google.cloud.osconfig.v1beta; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * OS Config API
+ * The OS Config service is a server-side component that you can use to
+ * manage package installations and patch jobs for virtual machine instances.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/osconfig/v1beta/osconfig_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class OsConfigServiceGrpc { + + private OsConfigServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.osconfig.v1beta.OsConfigService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> + getExecutePatchJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExecutePatchJob", + requestType = com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> + getExecutePatchJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> + getExecutePatchJobMethod; + if ((getExecutePatchJobMethod = OsConfigServiceGrpc.getExecutePatchJobMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getExecutePatchJobMethod = OsConfigServiceGrpc.getExecutePatchJobMethod) == null) { + OsConfigServiceGrpc.getExecutePatchJobMethod = + getExecutePatchJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecutePatchJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("ExecutePatchJob")) + .build(); + } + } + } + return getExecutePatchJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> + getGetPatchJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPatchJob", + requestType = com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> + getGetPatchJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> + getGetPatchJobMethod; + if ((getGetPatchJobMethod = OsConfigServiceGrpc.getGetPatchJobMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getGetPatchJobMethod = OsConfigServiceGrpc.getGetPatchJobMethod) == null) { + OsConfigServiceGrpc.getGetPatchJobMethod = + getGetPatchJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPatchJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("GetPatchJob")) + .build(); + } + } + } + return getGetPatchJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> + getCancelPatchJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelPatchJob", + requestType = com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> + getCancelPatchJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> + getCancelPatchJobMethod; + if ((getCancelPatchJobMethod = OsConfigServiceGrpc.getCancelPatchJobMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getCancelPatchJobMethod = OsConfigServiceGrpc.getCancelPatchJobMethod) == null) { + OsConfigServiceGrpc.getCancelPatchJobMethod = + getCancelPatchJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelPatchJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("CancelPatchJob")) + .build(); + } + } + } + return getCancelPatchJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse> + getListPatchJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPatchJobs", + requestType = com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse> + getListPatchJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse> + getListPatchJobsMethod; + if ((getListPatchJobsMethod = OsConfigServiceGrpc.getListPatchJobsMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getListPatchJobsMethod = OsConfigServiceGrpc.getListPatchJobsMethod) == null) { + OsConfigServiceGrpc.getListPatchJobsMethod = + getListPatchJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPatchJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("ListPatchJobs")) + .build(); + } + } + } + return getListPatchJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse> + getListPatchJobInstanceDetailsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPatchJobInstanceDetails", + requestType = + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.class, + responseType = + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse> + getListPatchJobInstanceDetailsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse> + getListPatchJobInstanceDetailsMethod; + if ((getListPatchJobInstanceDetailsMethod = + OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod) + == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getListPatchJobInstanceDetailsMethod = + OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod) + == null) { + OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod = + getListPatchJobInstanceDetailsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListPatchJobInstanceDetails")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs + .ListPatchJobInstanceDetailsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchJobs + .ListPatchJobInstanceDetailsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier( + "ListPatchJobInstanceDetails")) + .build(); + } + } + } + return getListPatchJobInstanceDetailsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + getCreatePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreatePatchDeployment", + requestType = + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + getCreatePatchDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + getCreatePatchDeploymentMethod; + if ((getCreatePatchDeploymentMethod = OsConfigServiceGrpc.getCreatePatchDeploymentMethod) + == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getCreatePatchDeploymentMethod = OsConfigServiceGrpc.getCreatePatchDeploymentMethod) + == null) { + OsConfigServiceGrpc.getCreatePatchDeploymentMethod = + getCreatePatchDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreatePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments + .CreatePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("CreatePatchDeployment")) + .build(); + } + } + } + return getCreatePatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + getGetPatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPatchDeployment", + requestType = + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + getGetPatchDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + getGetPatchDeploymentMethod; + if ((getGetPatchDeploymentMethod = OsConfigServiceGrpc.getGetPatchDeploymentMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getGetPatchDeploymentMethod = OsConfigServiceGrpc.getGetPatchDeploymentMethod) + == null) { + OsConfigServiceGrpc.getGetPatchDeploymentMethod = + getGetPatchDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments + .GetPatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("GetPatchDeployment")) + .build(); + } + } + } + return getGetPatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse> + getListPatchDeploymentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPatchDeployments", + requestType = + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.class, + responseType = + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse> + getListPatchDeploymentsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse> + getListPatchDeploymentsMethod; + if ((getListPatchDeploymentsMethod = OsConfigServiceGrpc.getListPatchDeploymentsMethod) + == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getListPatchDeploymentsMethod = OsConfigServiceGrpc.getListPatchDeploymentsMethod) + == null) { + OsConfigServiceGrpc.getListPatchDeploymentsMethod = + getListPatchDeploymentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListPatchDeployments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments + .ListPatchDeploymentsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments + .ListPatchDeploymentsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("ListPatchDeployments")) + .build(); + } + } + } + return getListPatchDeploymentsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest, + com.google.protobuf.Empty> + getDeletePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePatchDeployment", + requestType = + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest, + com.google.protobuf.Empty> + getDeletePatchDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest, + com.google.protobuf.Empty> + getDeletePatchDeploymentMethod; + if ((getDeletePatchDeploymentMethod = OsConfigServiceGrpc.getDeletePatchDeploymentMethod) + == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getDeletePatchDeploymentMethod = OsConfigServiceGrpc.getDeletePatchDeploymentMethod) + == null) { + OsConfigServiceGrpc.getDeletePatchDeploymentMethod = + getDeletePatchDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeletePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments + .DeletePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("DeletePatchDeployment")) + .build(); + } + } + } + return getDeletePatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + getUpdatePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdatePatchDeployment", + requestType = + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + getUpdatePatchDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + getUpdatePatchDeploymentMethod; + if ((getUpdatePatchDeploymentMethod = OsConfigServiceGrpc.getUpdatePatchDeploymentMethod) + == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getUpdatePatchDeploymentMethod = OsConfigServiceGrpc.getUpdatePatchDeploymentMethod) + == null) { + OsConfigServiceGrpc.getUpdatePatchDeploymentMethod = + getUpdatePatchDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdatePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments + .UpdatePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("UpdatePatchDeployment")) + .build(); + } + } + } + return getUpdatePatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + getPausePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PausePatchDeployment", + requestType = + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + getPausePatchDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + getPausePatchDeploymentMethod; + if ((getPausePatchDeploymentMethod = OsConfigServiceGrpc.getPausePatchDeploymentMethod) + == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getPausePatchDeploymentMethod = OsConfigServiceGrpc.getPausePatchDeploymentMethod) + == null) { + OsConfigServiceGrpc.getPausePatchDeploymentMethod = + getPausePatchDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "PausePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments + .PausePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("PausePatchDeployment")) + .build(); + } + } + } + return getPausePatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + getResumePatchDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ResumePatchDeployment", + requestType = + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.class, + responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + getResumePatchDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + getResumePatchDeploymentMethod; + if ((getResumePatchDeploymentMethod = OsConfigServiceGrpc.getResumePatchDeploymentMethod) + == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getResumePatchDeploymentMethod = OsConfigServiceGrpc.getResumePatchDeploymentMethod) + == null) { + OsConfigServiceGrpc.getResumePatchDeploymentMethod = + getResumePatchDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ResumePatchDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments + .ResumePatchDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("ResumePatchDeployment")) + .build(); + } + } + } + return getResumePatchDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> + getCreateGuestPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateGuestPolicy", + requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.class, + responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> + getCreateGuestPolicyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> + getCreateGuestPolicyMethod; + if ((getCreateGuestPolicyMethod = OsConfigServiceGrpc.getCreateGuestPolicyMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getCreateGuestPolicyMethod = OsConfigServiceGrpc.getCreateGuestPolicyMethod) == null) { + OsConfigServiceGrpc.getCreateGuestPolicyMethod = + getCreateGuestPolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateGuestPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies + .CreateGuestPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("CreateGuestPolicy")) + .build(); + } + } + } + return getCreateGuestPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> + getGetGuestPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetGuestPolicy", + requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.class, + responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> + getGetGuestPolicyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> + getGetGuestPolicyMethod; + if ((getGetGuestPolicyMethod = OsConfigServiceGrpc.getGetGuestPolicyMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getGetGuestPolicyMethod = OsConfigServiceGrpc.getGetGuestPolicyMethod) == null) { + OsConfigServiceGrpc.getGetGuestPolicyMethod = + getGetGuestPolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGuestPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("GetGuestPolicy")) + .build(); + } + } + } + return getGetGuestPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse> + getListGuestPoliciesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListGuestPolicies", + requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.class, + responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse> + getListGuestPoliciesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse> + getListGuestPoliciesMethod; + if ((getListGuestPoliciesMethod = OsConfigServiceGrpc.getListGuestPoliciesMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getListGuestPoliciesMethod = OsConfigServiceGrpc.getListGuestPoliciesMethod) == null) { + OsConfigServiceGrpc.getListGuestPoliciesMethod = + getListGuestPoliciesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGuestPolicies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies + .ListGuestPoliciesRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies + .ListGuestPoliciesResponse.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("ListGuestPolicies")) + .build(); + } + } + } + return getListGuestPoliciesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> + getUpdateGuestPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateGuestPolicy", + requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.class, + responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> + getUpdateGuestPolicyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> + getUpdateGuestPolicyMethod; + if ((getUpdateGuestPolicyMethod = OsConfigServiceGrpc.getUpdateGuestPolicyMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getUpdateGuestPolicyMethod = OsConfigServiceGrpc.getUpdateGuestPolicyMethod) == null) { + OsConfigServiceGrpc.getUpdateGuestPolicyMethod = + getUpdateGuestPolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGuestPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies + .UpdateGuestPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("UpdateGuestPolicy")) + .build(); + } + } + } + return getUpdateGuestPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest, + com.google.protobuf.Empty> + getDeleteGuestPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteGuestPolicy", + requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest, + com.google.protobuf.Empty> + getDeleteGuestPolicyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest, + com.google.protobuf.Empty> + getDeleteGuestPolicyMethod; + if ((getDeleteGuestPolicyMethod = OsConfigServiceGrpc.getDeleteGuestPolicyMethod) == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getDeleteGuestPolicyMethod = OsConfigServiceGrpc.getDeleteGuestPolicyMethod) == null) { + OsConfigServiceGrpc.getDeleteGuestPolicyMethod = + getDeleteGuestPolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteGuestPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies + .DeleteGuestPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("DeleteGuestPolicy")) + .build(); + } + } + } + return getDeleteGuestPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy> + getLookupEffectiveGuestPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "LookupEffectiveGuestPolicy", + requestType = + com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.class, + responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy> + getLookupEffectiveGuestPolicyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy> + getLookupEffectiveGuestPolicyMethod; + if ((getLookupEffectiveGuestPolicyMethod = + OsConfigServiceGrpc.getLookupEffectiveGuestPolicyMethod) + == null) { + synchronized (OsConfigServiceGrpc.class) { + if ((getLookupEffectiveGuestPolicyMethod = + OsConfigServiceGrpc.getLookupEffectiveGuestPolicyMethod) + == null) { + OsConfigServiceGrpc.getLookupEffectiveGuestPolicyMethod = + getLookupEffectiveGuestPolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "LookupEffectiveGuestPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies + .LookupEffectiveGuestPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .getDefaultInstance())) + .setSchemaDescriptor( + new OsConfigServiceMethodDescriptorSupplier("LookupEffectiveGuestPolicy")) + .build(); + } + } + } + return getLookupEffectiveGuestPolicyMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static OsConfigServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceStub(channel, callOptions); + } + }; + return OsConfigServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static OsConfigServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceBlockingStub(channel, callOptions); + } + }; + return OsConfigServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static OsConfigServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public OsConfigServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceFutureStub(channel, callOptions); + } + }; + return OsConfigServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * OS Config API
+   * The OS Config service is a server-side component that you can use to
+   * manage package installations and patch jobs for virtual machine instances.
+   * 
+ */ + public abstract static class OsConfigServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Patch VM instances by creating and running a patch job.
+     * 
+ */ + public void executePatchJob( + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExecutePatchJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Get the patch job. This can be used to track the progress of an
+     * ongoing patch job or review the details of completed jobs.
+     * 
+ */ + public void getPatchJob( + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetPatchJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Cancel a patch job. The patch job must be active. Canceled patch jobs
+     * cannot be restarted.
+     * 
+ */ + public void cancelPatchJob( + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelPatchJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Get a list of patch jobs.
+     * 
+ */ + public void listPatchJobs( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPatchJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Get a list of instance details for a given patch job.
+     * 
+ */ + public void listPatchJobInstanceDetails( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPatchJobInstanceDetailsMethod(), responseObserver); + } + + /** + * + * + *
+     * Create an OS Config patch deployment.
+     * 
+ */ + public void createPatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreatePatchDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Get an OS Config patch deployment.
+     * 
+ */ + public void getPatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetPatchDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Get a page of OS Config patch deployments.
+     * 
+ */ + public void listPatchDeployments( + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPatchDeploymentsMethod(), responseObserver); + } + + /** + * + * + *
+     * Delete an OS Config patch deployment.
+     * 
+ */ + public void deletePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePatchDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Update an OS Config patch deployment.
+     * 
+ */ + public void updatePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdatePatchDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Change state of patch deployment to "PAUSED".
+     * Patch deployment in paused state doesn't generate patch jobs.
+     * 
+ */ + public void pausePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getPausePatchDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Change state of patch deployment back to "ACTIVE".
+     * Patch deployment in active state continues to generate patch jobs.
+     * 
+ */ + public void resumePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getResumePatchDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Create an OS Config guest policy.
+     * 
+ */ + public void createGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateGuestPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Get an OS Config guest policy.
+     * 
+ */ + public void getGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetGuestPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Get a page of OS Config guest policies.
+     * 
+ */ + public void listGuestPolicies( + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListGuestPoliciesMethod(), responseObserver); + } + + /** + * + * + *
+     * Update an OS Config guest policy.
+     * 
+ */ + public void updateGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateGuestPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Delete an OS Config guest policy.
+     * 
+ */ + public void deleteGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteGuestPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup the effective guest policy that applies to a VM instance. This
+     * lookup merges all policies that are assigned to the instance ancestry.
+     * 
+ */ + public void lookupEffectiveGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getLookupEffectiveGuestPolicyMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getExecutePatchJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob>( + this, METHODID_EXECUTE_PATCH_JOB))) + .addMethod( + getGetPatchJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob>( + this, METHODID_GET_PATCH_JOB))) + .addMethod( + getCancelPatchJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob>( + this, METHODID_CANCEL_PATCH_JOB))) + .addMethod( + getListPatchJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest, + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse>( + this, METHODID_LIST_PATCH_JOBS))) + .addMethod( + getListPatchJobInstanceDetailsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest, + com.google.cloud.osconfig.v1beta.PatchJobs + .ListPatchJobInstanceDetailsResponse>( + this, METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS))) + .addMethod( + getCreatePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchDeployments + .CreatePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( + this, METHODID_CREATE_PATCH_DEPLOYMENT))) + .addMethod( + getGetPatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( + this, METHODID_GET_PATCH_DEPLOYMENT))) + .addMethod( + getListPatchDeploymentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments + .ListPatchDeploymentsResponse>(this, METHODID_LIST_PATCH_DEPLOYMENTS))) + .addMethod( + getDeletePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchDeployments + .DeletePatchDeploymentRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_PATCH_DEPLOYMENT))) + .addMethod( + getUpdatePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchDeployments + .UpdatePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( + this, METHODID_UPDATE_PATCH_DEPLOYMENT))) + .addMethod( + getPausePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( + this, METHODID_PAUSE_PATCH_DEPLOYMENT))) + .addMethod( + getResumePatchDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.PatchDeployments + .ResumePatchDeploymentRequest, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( + this, METHODID_RESUME_PATCH_DEPLOYMENT))) + .addMethod( + getCreateGuestPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>( + this, METHODID_CREATE_GUEST_POLICY))) + .addMethod( + getGetGuestPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>( + this, METHODID_GET_GUEST_POLICY))) + .addMethod( + getListGuestPoliciesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse>( + this, METHODID_LIST_GUEST_POLICIES))) + .addMethod( + getUpdateGuestPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>( + this, METHODID_UPDATE_GUEST_POLICY))) + .addMethod( + getDeleteGuestPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_GUEST_POLICY))) + .addMethod( + getLookupEffectiveGuestPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.osconfig.v1beta.GuestPolicies + .LookupEffectiveGuestPolicyRequest, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy>( + this, METHODID_LOOKUP_EFFECTIVE_GUEST_POLICY))) + .build(); + } + } + + /** + * + * + *
+   * OS Config API
+   * The OS Config service is a server-side component that you can use to
+   * manage package installations and patch jobs for virtual machine instances.
+   * 
+ */ + public static final class OsConfigServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private OsConfigServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Patch VM instances by creating and running a patch job.
+     * 
+ */ + public void executePatchJob( + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExecutePatchJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get the patch job. This can be used to track the progress of an
+     * ongoing patch job or review the details of completed jobs.
+     * 
+ */ + public void getPatchJob( + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPatchJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Cancel a patch job. The patch job must be active. Canceled patch jobs
+     * cannot be restarted.
+     * 
+ */ + public void cancelPatchJob( + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelPatchJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get a list of patch jobs.
+     * 
+ */ + public void listPatchJobs( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPatchJobsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get a list of instance details for a given patch job.
+     * 
+ */ + public void listPatchJobInstanceDetails( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPatchJobInstanceDetailsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Create an OS Config patch deployment.
+     * 
+ */ + public void createPatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePatchDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get an OS Config patch deployment.
+     * 
+ */ + public void getPatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPatchDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get a page of OS Config patch deployments.
+     * 
+ */ + public void listPatchDeployments( + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPatchDeploymentsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Delete an OS Config patch deployment.
+     * 
+ */ + public void deletePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePatchDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Update an OS Config patch deployment.
+     * 
+ */ + public void updatePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePatchDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Change state of patch deployment to "PAUSED".
+     * Patch deployment in paused state doesn't generate patch jobs.
+     * 
+ */ + public void pausePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPausePatchDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Change state of patch deployment back to "ACTIVE".
+     * Patch deployment in active state continues to generate patch jobs.
+     * 
+ */ + public void resumePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getResumePatchDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Create an OS Config guest policy.
+     * 
+ */ + public void createGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateGuestPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get an OS Config guest policy.
+     * 
+ */ + public void getGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetGuestPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get a page of OS Config guest policies.
+     * 
+ */ + public void listGuestPolicies( + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListGuestPoliciesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Update an OS Config guest policy.
+     * 
+ */ + public void updateGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateGuestPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Delete an OS Config guest policy.
+     * 
+ */ + public void deleteGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteGuestPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup the effective guest policy that applies to a VM instance. This
+     * lookup merges all policies that are assigned to the instance ancestry.
+     * 
+ */ + public void lookupEffectiveGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getLookupEffectiveGuestPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * OS Config API
+   * The OS Config service is a server-side component that you can use to
+   * manage package installations and patch jobs for virtual machine instances.
+   * 
+ */ + public static final class OsConfigServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private OsConfigServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Patch VM instances by creating and running a patch job.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob executePatchJob( + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExecutePatchJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get the patch job. This can be used to track the progress of an
+     * ongoing patch job or review the details of completed jobs.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob getPatchJob( + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPatchJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Cancel a patch job. The patch job must be active. Canceled patch jobs
+     * cannot be restarted.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob cancelPatchJob( + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelPatchJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get a list of patch jobs.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse listPatchJobs( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPatchJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get a list of instance details for a given patch job.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + listPatchJobInstanceDetails( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPatchJobInstanceDetailsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Create an OS Config patch deployment.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment createPatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePatchDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get an OS Config patch deployment.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPatchDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get a page of OS Config patch deployments.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + listPatchDeployments( + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPatchDeploymentsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Delete an OS Config patch deployment.
+     * 
+ */ + public com.google.protobuf.Empty deletePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePatchDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Update an OS Config patch deployment.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment updatePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePatchDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Change state of patch deployment to "PAUSED".
+     * Patch deployment in paused state doesn't generate patch jobs.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment pausePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPausePatchDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Change state of patch deployment back to "ACTIVE".
+     * Patch deployment in active state continues to generate patch jobs.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment resumePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getResumePatchDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Create an OS Config guest policy.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy createGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateGuestPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get an OS Config guest policy.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetGuestPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get a page of OS Config guest policies.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + listGuestPolicies( + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListGuestPoliciesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Update an OS Config guest policy.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy updateGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateGuestPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Delete an OS Config guest policy.
+     * 
+ */ + public com.google.protobuf.Empty deleteGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteGuestPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup the effective guest policy that applies to a VM instance. This
+     * lookup merges all policies that are assigned to the instance ancestry.
+     * 
+ */ + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + lookupEffectiveGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getLookupEffectiveGuestPolicyMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * OS Config API
+   * The OS Config service is a server-side component that you can use to
+   * manage package installations and patch jobs for virtual machine instances.
+   * 
+ */ + public static final class OsConfigServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private OsConfigServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected OsConfigServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new OsConfigServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Patch VM instances by creating and running a patch job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> + executePatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExecutePatchJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get the patch job. This can be used to track the progress of an
+     * ongoing patch job or review the details of completed jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> + getPatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPatchJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Cancel a patch job. The patch job must be active. Canceled patch jobs
+     * cannot be restarted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob> + cancelPatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelPatchJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get a list of patch jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse> + listPatchJobs(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPatchJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get a list of instance details for a given patch job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse> + listPatchJobInstanceDetails( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPatchJobInstanceDetailsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Create an OS Config patch deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + createPatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePatchDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get an OS Config patch deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + getPatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPatchDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get a page of OS Config patch deployments.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse> + listPatchDeployments( + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPatchDeploymentsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Delete an OS Config patch deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deletePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePatchDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Update an OS Config patch deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + updatePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdatePatchDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Change state of patch deployment to "PAUSED".
+     * Patch deployment in paused state doesn't generate patch jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + pausePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPausePatchDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Change state of patch deployment back to "ACTIVE".
+     * Patch deployment in active state continues to generate patch jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + resumePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getResumePatchDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Create an OS Config guest policy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> + createGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateGuestPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get an OS Config guest policy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> + getGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetGuestPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get a page of OS Config guest policies.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse> + listGuestPolicies( + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListGuestPoliciesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Update an OS Config guest policy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy> + updateGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateGuestPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Delete an OS Config guest policy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteGuestPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup the effective guest policy that applies to a VM instance. This
+     * lookup merges all policies that are assigned to the instance ancestry.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy> + lookupEffectiveGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getLookupEffectiveGuestPolicyMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_EXECUTE_PATCH_JOB = 0; + private static final int METHODID_GET_PATCH_JOB = 1; + private static final int METHODID_CANCEL_PATCH_JOB = 2; + private static final int METHODID_LIST_PATCH_JOBS = 3; + private static final int METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS = 4; + private static final int METHODID_CREATE_PATCH_DEPLOYMENT = 5; + private static final int METHODID_GET_PATCH_DEPLOYMENT = 6; + private static final int METHODID_LIST_PATCH_DEPLOYMENTS = 7; + private static final int METHODID_DELETE_PATCH_DEPLOYMENT = 8; + private static final int METHODID_UPDATE_PATCH_DEPLOYMENT = 9; + private static final int METHODID_PAUSE_PATCH_DEPLOYMENT = 10; + private static final int METHODID_RESUME_PATCH_DEPLOYMENT = 11; + private static final int METHODID_CREATE_GUEST_POLICY = 12; + private static final int METHODID_GET_GUEST_POLICY = 13; + private static final int METHODID_LIST_GUEST_POLICIES = 14; + private static final int METHODID_UPDATE_GUEST_POLICY = 15; + private static final int METHODID_DELETE_GUEST_POLICY = 16; + private static final int METHODID_LOOKUP_EFFECTIVE_GUEST_POLICY = 17; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final OsConfigServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(OsConfigServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_EXECUTE_PATCH_JOB: + serviceImpl.executePatchJob( + (com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_PATCH_JOB: + serviceImpl.getPatchJob( + (com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CANCEL_PATCH_JOB: + serviceImpl.cancelPatchJob( + (com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_PATCH_JOBS: + serviceImpl.listPatchJobs( + (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse>) + responseObserver); + break; + case METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS: + serviceImpl.listPatchJobInstanceDetails( + (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchJobs + .ListPatchJobInstanceDetailsResponse>) + responseObserver); + break; + case METHODID_CREATE_PATCH_DEPLOYMENT: + serviceImpl.createPatchDeployment( + (com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>) + responseObserver); + break; + case METHODID_GET_PATCH_DEPLOYMENT: + serviceImpl.getPatchDeployment( + (com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>) + responseObserver); + break; + case METHODID_LIST_PATCH_DEPLOYMENTS: + serviceImpl.listPatchDeployments( + (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchDeployments + .ListPatchDeploymentsResponse>) + responseObserver); + break; + case METHODID_DELETE_PATCH_DEPLOYMENT: + serviceImpl.deletePatchDeployment( + (com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest) + request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_PATCH_DEPLOYMENT: + serviceImpl.updatePatchDeployment( + (com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>) + responseObserver); + break; + case METHODID_PAUSE_PATCH_DEPLOYMENT: + serviceImpl.pausePatchDeployment( + (com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>) + responseObserver); + break; + case METHODID_RESUME_PATCH_DEPLOYMENT: + serviceImpl.resumePatchDeployment( + (com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>) + responseObserver); + break; + case METHODID_CREATE_GUEST_POLICY: + serviceImpl.createGuestPolicy( + (com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>) + responseObserver); + break; + case METHODID_GET_GUEST_POLICY: + serviceImpl.getGuestPolicy( + (com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>) + responseObserver); + break; + case METHODID_LIST_GUEST_POLICIES: + serviceImpl.listGuestPolicies( + (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse>) + responseObserver); + break; + case METHODID_UPDATE_GUEST_POLICY: + serviceImpl.updateGuestPolicy( + (com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>) + responseObserver); + break; + case METHODID_DELETE_GUEST_POLICY: + serviceImpl.deleteGuestPolicy( + (com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LOOKUP_EFFECTIVE_GUEST_POLICY: + serviceImpl.lookupEffectiveGuestPolicy( + (com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy>) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class OsConfigServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + OsConfigServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.osconfig.v1beta.OsConfigProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("OsConfigService"); + } + } + + private static final class OsConfigServiceFileDescriptorSupplier + extends OsConfigServiceBaseDescriptorSupplier { + OsConfigServiceFileDescriptorSupplier() {} + } + + private static final class OsConfigServiceMethodDescriptorSupplier + extends OsConfigServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + OsConfigServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (OsConfigServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new OsConfigServiceFileDescriptorSupplier()) + .addMethod(getExecutePatchJobMethod()) + .addMethod(getGetPatchJobMethod()) + .addMethod(getCancelPatchJobMethod()) + .addMethod(getListPatchJobsMethod()) + .addMethod(getListPatchJobInstanceDetailsMethod()) + .addMethod(getCreatePatchDeploymentMethod()) + .addMethod(getGetPatchDeploymentMethod()) + .addMethod(getListPatchDeploymentsMethod()) + .addMethod(getDeletePatchDeploymentMethod()) + .addMethod(getUpdatePatchDeploymentMethod()) + .addMethod(getPausePatchDeploymentMethod()) + .addMethod(getResumePatchDeploymentMethod()) + .addMethod(getCreateGuestPolicyMethod()) + .addMethod(getGetGuestPolicyMethod()) + .addMethod(getListGuestPoliciesMethod()) + .addMethod(getUpdateGuestPolicyMethod()) + .addMethod(getDeleteGuestPolicyMethod()) + .addMethod(getLookupEffectiveGuestPolicyMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceGrpc.java deleted file mode 100644 index 3e42781d..00000000 --- a/owl-bot-staging/v1/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigServiceGrpc.java +++ /dev/null @@ -1,1275 +0,0 @@ -package com.google.cloud.osconfig.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * OS Config API
- * The OS Config service is a server-side component that you can use to
- * manage package installations and patch jobs for virtual machine instances.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/osconfig/v1/osconfig_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class OsConfigServiceGrpc { - - private OsConfigServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.osconfig.v1.OsConfigService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getExecutePatchJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ExecutePatchJob", - requestType = com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getExecutePatchJobMethod() { - io.grpc.MethodDescriptor getExecutePatchJobMethod; - if ((getExecutePatchJobMethod = OsConfigServiceGrpc.getExecutePatchJobMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getExecutePatchJobMethod = OsConfigServiceGrpc.getExecutePatchJobMethod) == null) { - OsConfigServiceGrpc.getExecutePatchJobMethod = getExecutePatchJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecutePatchJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ExecutePatchJob")) - .build(); - } - } - } - return getExecutePatchJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPatchJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPatchJob", - requestType = com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPatchJobMethod() { - io.grpc.MethodDescriptor getGetPatchJobMethod; - if ((getGetPatchJobMethod = OsConfigServiceGrpc.getGetPatchJobMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getGetPatchJobMethod = OsConfigServiceGrpc.getGetPatchJobMethod) == null) { - OsConfigServiceGrpc.getGetPatchJobMethod = getGetPatchJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPatchJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("GetPatchJob")) - .build(); - } - } - } - return getGetPatchJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getCancelPatchJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelPatchJob", - requestType = com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCancelPatchJobMethod() { - io.grpc.MethodDescriptor getCancelPatchJobMethod; - if ((getCancelPatchJobMethod = OsConfigServiceGrpc.getCancelPatchJobMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getCancelPatchJobMethod = OsConfigServiceGrpc.getCancelPatchJobMethod) == null) { - OsConfigServiceGrpc.getCancelPatchJobMethod = getCancelPatchJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelPatchJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("CancelPatchJob")) - .build(); - } - } - } - return getCancelPatchJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPatchJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPatchJobs", - requestType = com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPatchJobsMethod() { - io.grpc.MethodDescriptor getListPatchJobsMethod; - if ((getListPatchJobsMethod = OsConfigServiceGrpc.getListPatchJobsMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getListPatchJobsMethod = OsConfigServiceGrpc.getListPatchJobsMethod) == null) { - OsConfigServiceGrpc.getListPatchJobsMethod = getListPatchJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPatchJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ListPatchJobs")) - .build(); - } - } - } - return getListPatchJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPatchJobInstanceDetailsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPatchJobInstanceDetails", - requestType = com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPatchJobInstanceDetailsMethod() { - io.grpc.MethodDescriptor getListPatchJobInstanceDetailsMethod; - if ((getListPatchJobInstanceDetailsMethod = OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getListPatchJobInstanceDetailsMethod = OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod) == null) { - OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod = getListPatchJobInstanceDetailsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPatchJobInstanceDetails")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ListPatchJobInstanceDetails")) - .build(); - } - } - } - return getListPatchJobInstanceDetailsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreatePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreatePatchDeployment", - requestType = com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreatePatchDeploymentMethod() { - io.grpc.MethodDescriptor getCreatePatchDeploymentMethod; - if ((getCreatePatchDeploymentMethod = OsConfigServiceGrpc.getCreatePatchDeploymentMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getCreatePatchDeploymentMethod = OsConfigServiceGrpc.getCreatePatchDeploymentMethod) == null) { - OsConfigServiceGrpc.getCreatePatchDeploymentMethod = getCreatePatchDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("CreatePatchDeployment")) - .build(); - } - } - } - return getCreatePatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPatchDeployment", - requestType = com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPatchDeploymentMethod() { - io.grpc.MethodDescriptor getGetPatchDeploymentMethod; - if ((getGetPatchDeploymentMethod = OsConfigServiceGrpc.getGetPatchDeploymentMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getGetPatchDeploymentMethod = OsConfigServiceGrpc.getGetPatchDeploymentMethod) == null) { - OsConfigServiceGrpc.getGetPatchDeploymentMethod = getGetPatchDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("GetPatchDeployment")) - .build(); - } - } - } - return getGetPatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPatchDeploymentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPatchDeployments", - requestType = com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPatchDeploymentsMethod() { - io.grpc.MethodDescriptor getListPatchDeploymentsMethod; - if ((getListPatchDeploymentsMethod = OsConfigServiceGrpc.getListPatchDeploymentsMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getListPatchDeploymentsMethod = OsConfigServiceGrpc.getListPatchDeploymentsMethod) == null) { - OsConfigServiceGrpc.getListPatchDeploymentsMethod = getListPatchDeploymentsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPatchDeployments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ListPatchDeployments")) - .build(); - } - } - } - return getListPatchDeploymentsMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeletePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePatchDeployment", - requestType = com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeletePatchDeploymentMethod() { - io.grpc.MethodDescriptor getDeletePatchDeploymentMethod; - if ((getDeletePatchDeploymentMethod = OsConfigServiceGrpc.getDeletePatchDeploymentMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getDeletePatchDeploymentMethod = OsConfigServiceGrpc.getDeletePatchDeploymentMethod) == null) { - OsConfigServiceGrpc.getDeletePatchDeploymentMethod = getDeletePatchDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("DeletePatchDeployment")) - .build(); - } - } - } - return getDeletePatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdatePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdatePatchDeployment", - requestType = com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdatePatchDeploymentMethod() { - io.grpc.MethodDescriptor getUpdatePatchDeploymentMethod; - if ((getUpdatePatchDeploymentMethod = OsConfigServiceGrpc.getUpdatePatchDeploymentMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getUpdatePatchDeploymentMethod = OsConfigServiceGrpc.getUpdatePatchDeploymentMethod) == null) { - OsConfigServiceGrpc.getUpdatePatchDeploymentMethod = getUpdatePatchDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("UpdatePatchDeployment")) - .build(); - } - } - } - return getUpdatePatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getPausePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PausePatchDeployment", - requestType = com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getPausePatchDeploymentMethod() { - io.grpc.MethodDescriptor getPausePatchDeploymentMethod; - if ((getPausePatchDeploymentMethod = OsConfigServiceGrpc.getPausePatchDeploymentMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getPausePatchDeploymentMethod = OsConfigServiceGrpc.getPausePatchDeploymentMethod) == null) { - OsConfigServiceGrpc.getPausePatchDeploymentMethod = getPausePatchDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PausePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("PausePatchDeployment")) - .build(); - } - } - } - return getPausePatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getResumePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ResumePatchDeployment", - requestType = com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getResumePatchDeploymentMethod() { - io.grpc.MethodDescriptor getResumePatchDeploymentMethod; - if ((getResumePatchDeploymentMethod = OsConfigServiceGrpc.getResumePatchDeploymentMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getResumePatchDeploymentMethod = OsConfigServiceGrpc.getResumePatchDeploymentMethod) == null) { - OsConfigServiceGrpc.getResumePatchDeploymentMethod = getResumePatchDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ResumePatchDeployment")) - .build(); - } - } - } - return getResumePatchDeploymentMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static OsConfigServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceStub(channel, callOptions); - } - }; - return OsConfigServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static OsConfigServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceBlockingStub(channel, callOptions); - } - }; - return OsConfigServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static OsConfigServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceFutureStub(channel, callOptions); - } - }; - return OsConfigServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * OS Config API
-   * The OS Config service is a server-side component that you can use to
-   * manage package installations and patch jobs for virtual machine instances.
-   * 
- */ - public static abstract class OsConfigServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Patch VM instances by creating and running a patch job.
-     * 
- */ - public void executePatchJob(com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecutePatchJobMethod(), responseObserver); - } - - /** - *
-     * Get the patch job. This can be used to track the progress of an
-     * ongoing patch job or review the details of completed jobs.
-     * 
- */ - public void getPatchJob(com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPatchJobMethod(), responseObserver); - } - - /** - *
-     * Cancel a patch job. The patch job must be active. Canceled patch jobs
-     * cannot be restarted.
-     * 
- */ - public void cancelPatchJob(com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelPatchJobMethod(), responseObserver); - } - - /** - *
-     * Get a list of patch jobs.
-     * 
- */ - public void listPatchJobs(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPatchJobsMethod(), responseObserver); - } - - /** - *
-     * Get a list of instance details for a given patch job.
-     * 
- */ - public void listPatchJobInstanceDetails(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPatchJobInstanceDetailsMethod(), responseObserver); - } - - /** - *
-     * Create an OS Config patch deployment.
-     * 
- */ - public void createPatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePatchDeploymentMethod(), responseObserver); - } - - /** - *
-     * Get an OS Config patch deployment.
-     * 
- */ - public void getPatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPatchDeploymentMethod(), responseObserver); - } - - /** - *
-     * Get a page of OS Config patch deployments.
-     * 
- */ - public void listPatchDeployments(com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPatchDeploymentsMethod(), responseObserver); - } - - /** - *
-     * Delete an OS Config patch deployment.
-     * 
- */ - public void deletePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePatchDeploymentMethod(), responseObserver); - } - - /** - *
-     * Update an OS Config patch deployment.
-     * 
- */ - public void updatePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePatchDeploymentMethod(), responseObserver); - } - - /** - *
-     * Change state of patch deployment to "PAUSED".
-     * Patch deployment in paused state doesn't generate patch jobs.
-     * 
- */ - public void pausePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPausePatchDeploymentMethod(), responseObserver); - } - - /** - *
-     * Change state of patch deployment back to "ACTIVE".
-     * Patch deployment in active state continues to generate patch jobs.
-     * 
- */ - public void resumePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumePatchDeploymentMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getExecutePatchJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob>( - this, METHODID_EXECUTE_PATCH_JOB))) - .addMethod( - getGetPatchJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob>( - this, METHODID_GET_PATCH_JOB))) - .addMethod( - getCancelPatchJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest, - com.google.cloud.osconfig.v1.PatchJobs.PatchJob>( - this, METHODID_CANCEL_PATCH_JOB))) - .addMethod( - getListPatchJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest, - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse>( - this, METHODID_LIST_PATCH_JOBS))) - .addMethod( - getListPatchJobInstanceDetailsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest, - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse>( - this, METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS))) - .addMethod( - getCreatePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( - this, METHODID_CREATE_PATCH_DEPLOYMENT))) - .addMethod( - getGetPatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( - this, METHODID_GET_PATCH_DEPLOYMENT))) - .addMethod( - getListPatchDeploymentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest, - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse>( - this, METHODID_LIST_PATCH_DEPLOYMENTS))) - .addMethod( - getDeletePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_PATCH_DEPLOYMENT))) - .addMethod( - getUpdatePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( - this, METHODID_UPDATE_PATCH_DEPLOYMENT))) - .addMethod( - getPausePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( - this, METHODID_PAUSE_PATCH_DEPLOYMENT))) - .addMethod( - getResumePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest, - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>( - this, METHODID_RESUME_PATCH_DEPLOYMENT))) - .build(); - } - } - - /** - *
-   * OS Config API
-   * The OS Config service is a server-side component that you can use to
-   * manage package installations and patch jobs for virtual machine instances.
-   * 
- */ - public static final class OsConfigServiceStub extends io.grpc.stub.AbstractAsyncStub { - private OsConfigServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceStub(channel, callOptions); - } - - /** - *
-     * Patch VM instances by creating and running a patch job.
-     * 
- */ - public void executePatchJob(com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExecutePatchJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get the patch job. This can be used to track the progress of an
-     * ongoing patch job or review the details of completed jobs.
-     * 
- */ - public void getPatchJob(com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPatchJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Cancel a patch job. The patch job must be active. Canceled patch jobs
-     * cannot be restarted.
-     * 
- */ - public void cancelPatchJob(com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelPatchJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get a list of patch jobs.
-     * 
- */ - public void listPatchJobs(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPatchJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get a list of instance details for a given patch job.
-     * 
- */ - public void listPatchJobInstanceDetails(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPatchJobInstanceDetailsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Create an OS Config patch deployment.
-     * 
- */ - public void createPatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePatchDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get an OS Config patch deployment.
-     * 
- */ - public void getPatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPatchDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get a page of OS Config patch deployments.
-     * 
- */ - public void listPatchDeployments(com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPatchDeploymentsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Delete an OS Config patch deployment.
-     * 
- */ - public void deletePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePatchDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Update an OS Config patch deployment.
-     * 
- */ - public void updatePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePatchDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Change state of patch deployment to "PAUSED".
-     * Patch deployment in paused state doesn't generate patch jobs.
-     * 
- */ - public void pausePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPausePatchDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Change state of patch deployment back to "ACTIVE".
-     * Patch deployment in active state continues to generate patch jobs.
-     * 
- */ - public void resumePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumePatchDeploymentMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * OS Config API
-   * The OS Config service is a server-side component that you can use to
-   * manage package installations and patch jobs for virtual machine instances.
-   * 
- */ - public static final class OsConfigServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private OsConfigServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Patch VM instances by creating and running a patch job.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJob executePatchJob(com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExecutePatchJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Get the patch job. This can be used to track the progress of an
-     * ongoing patch job or review the details of completed jobs.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJob getPatchJob(com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPatchJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Cancel a patch job. The patch job must be active. Canceled patch jobs
-     * cannot be restarted.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJob cancelPatchJob(com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelPatchJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Get a list of patch jobs.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse listPatchJobs(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPatchJobsMethod(), getCallOptions(), request); - } - - /** - *
-     * Get a list of instance details for a given patch job.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse listPatchJobInstanceDetails(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPatchJobInstanceDetailsMethod(), getCallOptions(), request); - } - - /** - *
-     * Create an OS Config patch deployment.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment createPatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePatchDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Get an OS Config patch deployment.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPatchDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Get a page of OS Config patch deployments.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse listPatchDeployments(com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPatchDeploymentsMethod(), getCallOptions(), request); - } - - /** - *
-     * Delete an OS Config patch deployment.
-     * 
- */ - public com.google.protobuf.Empty deletePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePatchDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Update an OS Config patch deployment.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment updatePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePatchDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Change state of patch deployment to "PAUSED".
-     * Patch deployment in paused state doesn't generate patch jobs.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment pausePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPausePatchDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Change state of patch deployment back to "ACTIVE".
-     * Patch deployment in active state continues to generate patch jobs.
-     * 
- */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment resumePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getResumePatchDeploymentMethod(), getCallOptions(), request); - } - } - - /** - *
-   * OS Config API
-   * The OS Config service is a server-side component that you can use to
-   * manage package installations and patch jobs for virtual machine instances.
-   * 
- */ - public static final class OsConfigServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private OsConfigServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Patch VM instances by creating and running a patch job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture executePatchJob( - com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getExecutePatchJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Get the patch job. This can be used to track the progress of an
-     * ongoing patch job or review the details of completed jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getPatchJob( - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPatchJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Cancel a patch job. The patch job must be active. Canceled patch jobs
-     * cannot be restarted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture cancelPatchJob( - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelPatchJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Get a list of patch jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listPatchJobs( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPatchJobsMethod(), getCallOptions()), request); - } - - /** - *
-     * Get a list of instance details for a given patch job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listPatchJobInstanceDetails( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPatchJobInstanceDetailsMethod(), getCallOptions()), request); - } - - /** - *
-     * Create an OS Config patch deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createPatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePatchDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Get an OS Config patch deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getPatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPatchDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Get a page of OS Config patch deployments.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listPatchDeployments( - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPatchDeploymentsMethod(), getCallOptions()), request); - } - - /** - *
-     * Delete an OS Config patch deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deletePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePatchDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Update an OS Config patch deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updatePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdatePatchDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Change state of patch deployment to "PAUSED".
-     * Patch deployment in paused state doesn't generate patch jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture pausePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPausePatchDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Change state of patch deployment back to "ACTIVE".
-     * Patch deployment in active state continues to generate patch jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture resumePatchDeployment( - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getResumePatchDeploymentMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_EXECUTE_PATCH_JOB = 0; - private static final int METHODID_GET_PATCH_JOB = 1; - private static final int METHODID_CANCEL_PATCH_JOB = 2; - private static final int METHODID_LIST_PATCH_JOBS = 3; - private static final int METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS = 4; - private static final int METHODID_CREATE_PATCH_DEPLOYMENT = 5; - private static final int METHODID_GET_PATCH_DEPLOYMENT = 6; - private static final int METHODID_LIST_PATCH_DEPLOYMENTS = 7; - private static final int METHODID_DELETE_PATCH_DEPLOYMENT = 8; - private static final int METHODID_UPDATE_PATCH_DEPLOYMENT = 9; - private static final int METHODID_PAUSE_PATCH_DEPLOYMENT = 10; - private static final int METHODID_RESUME_PATCH_DEPLOYMENT = 11; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final OsConfigServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(OsConfigServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_EXECUTE_PATCH_JOB: - serviceImpl.executePatchJob((com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PATCH_JOB: - serviceImpl.getPatchJob((com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_PATCH_JOB: - serviceImpl.cancelPatchJob((com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PATCH_JOBS: - serviceImpl.listPatchJobs((com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS: - serviceImpl.listPatchJobInstanceDetails((com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_PATCH_DEPLOYMENT: - serviceImpl.createPatchDeployment((com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PATCH_DEPLOYMENT: - serviceImpl.getPatchDeployment((com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PATCH_DEPLOYMENTS: - serviceImpl.listPatchDeployments((com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_PATCH_DEPLOYMENT: - serviceImpl.deletePatchDeployment((com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_PATCH_DEPLOYMENT: - serviceImpl.updatePatchDeployment((com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PAUSE_PATCH_DEPLOYMENT: - serviceImpl.pausePatchDeployment((com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESUME_PATCH_DEPLOYMENT: - serviceImpl.resumePatchDeployment((com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class OsConfigServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - OsConfigServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.osconfig.v1.OsConfigProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("OsConfigService"); - } - } - - private static final class OsConfigServiceFileDescriptorSupplier - extends OsConfigServiceBaseDescriptorSupplier { - OsConfigServiceFileDescriptorSupplier() {} - } - - private static final class OsConfigServiceMethodDescriptorSupplier - extends OsConfigServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - OsConfigServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (OsConfigServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new OsConfigServiceFileDescriptorSupplier()) - .addMethod(getExecutePatchJobMethod()) - .addMethod(getGetPatchJobMethod()) - .addMethod(getCancelPatchJobMethod()) - .addMethod(getListPatchJobsMethod()) - .addMethod(getListPatchJobInstanceDetailsMethod()) - .addMethod(getCreatePatchDeploymentMethod()) - .addMethod(getGetPatchDeploymentMethod()) - .addMethod(getListPatchDeploymentsMethod()) - .addMethod(getDeletePatchDeploymentMethod()) - .addMethod(getUpdatePatchDeploymentMethod()) - .addMethod(getPausePatchDeploymentMethod()) - .addMethod(getResumePatchDeploymentMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceGrpc.java deleted file mode 100644 index 71fdecd0..00000000 --- a/owl-bot-staging/v1/grpc-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceGrpc.java +++ /dev/null @@ -1,1359 +0,0 @@ -package com.google.cloud.osconfig.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Zonal OS Config API
- * The OS Config service is the server-side component that allows users to
- * manage package installations and patch jobs for Compute Engine VM instances.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/osconfig/v1/osconfig_zonal_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class OsConfigZonalServiceGrpc { - - private OsConfigZonalServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.osconfig.v1.OsConfigZonalService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateOSPolicyAssignmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateOSPolicyAssignment", - requestType = com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateOSPolicyAssignmentMethod() { - io.grpc.MethodDescriptor getCreateOSPolicyAssignmentMethod; - if ((getCreateOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getCreateOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod) == null) { - OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod = getCreateOSPolicyAssignmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateOSPolicyAssignment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("CreateOSPolicyAssignment")) - .build(); - } - } - } - return getCreateOSPolicyAssignmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateOSPolicyAssignmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateOSPolicyAssignment", - requestType = com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateOSPolicyAssignmentMethod() { - io.grpc.MethodDescriptor getUpdateOSPolicyAssignmentMethod; - if ((getUpdateOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getUpdateOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod) == null) { - OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod = getUpdateOSPolicyAssignmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateOSPolicyAssignment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("UpdateOSPolicyAssignment")) - .build(); - } - } - } - return getUpdateOSPolicyAssignmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetOSPolicyAssignmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetOSPolicyAssignment", - requestType = com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.class, - responseType = com.google.cloud.osconfig.v1.OSPolicyAssignment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetOSPolicyAssignmentMethod() { - io.grpc.MethodDescriptor getGetOSPolicyAssignmentMethod; - if ((getGetOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getGetOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod) == null) { - OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod = getGetOSPolicyAssignmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOSPolicyAssignment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("GetOSPolicyAssignment")) - .build(); - } - } - } - return getGetOSPolicyAssignmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getListOSPolicyAssignmentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignments", - requestType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.class, - responseType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListOSPolicyAssignmentsMethod() { - io.grpc.MethodDescriptor getListOSPolicyAssignmentsMethod; - if ((getListOSPolicyAssignmentsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListOSPolicyAssignmentsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod) == null) { - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod = getListOSPolicyAssignmentsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListOSPolicyAssignments")) - .build(); - } - } - } - return getListOSPolicyAssignmentsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListOSPolicyAssignmentRevisionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignmentRevisions", - requestType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.class, - responseType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListOSPolicyAssignmentRevisionsMethod() { - io.grpc.MethodDescriptor getListOSPolicyAssignmentRevisionsMethod; - if ((getListOSPolicyAssignmentRevisionsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListOSPolicyAssignmentRevisionsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod) == null) { - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod = getListOSPolicyAssignmentRevisionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignmentRevisions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListOSPolicyAssignmentRevisions")) - .build(); - } - } - } - return getListOSPolicyAssignmentRevisionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteOSPolicyAssignmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteOSPolicyAssignment", - requestType = com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteOSPolicyAssignmentMethod() { - io.grpc.MethodDescriptor getDeleteOSPolicyAssignmentMethod; - if ((getDeleteOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getDeleteOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod) == null) { - OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod = getDeleteOSPolicyAssignmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteOSPolicyAssignment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("DeleteOSPolicyAssignment")) - .build(); - } - } - } - return getDeleteOSPolicyAssignmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetOSPolicyAssignmentReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetOSPolicyAssignmentReport", - requestType = com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.class, - responseType = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetOSPolicyAssignmentReportMethod() { - io.grpc.MethodDescriptor getGetOSPolicyAssignmentReportMethod; - if ((getGetOSPolicyAssignmentReportMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getGetOSPolicyAssignmentReportMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod) == null) { - OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod = getGetOSPolicyAssignmentReportMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOSPolicyAssignmentReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("GetOSPolicyAssignmentReport")) - .build(); - } - } - } - return getGetOSPolicyAssignmentReportMethod; - } - - private static volatile io.grpc.MethodDescriptor getListOSPolicyAssignmentReportsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignmentReports", - requestType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.class, - responseType = com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListOSPolicyAssignmentReportsMethod() { - io.grpc.MethodDescriptor getListOSPolicyAssignmentReportsMethod; - if ((getListOSPolicyAssignmentReportsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListOSPolicyAssignmentReportsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod) == null) { - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod = getListOSPolicyAssignmentReportsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignmentReports")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListOSPolicyAssignmentReports")) - .build(); - } - } - } - return getListOSPolicyAssignmentReportsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetInventoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInventory", - requestType = com.google.cloud.osconfig.v1.GetInventoryRequest.class, - responseType = com.google.cloud.osconfig.v1.Inventory.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetInventoryMethod() { - io.grpc.MethodDescriptor getGetInventoryMethod; - if ((getGetInventoryMethod = OsConfigZonalServiceGrpc.getGetInventoryMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getGetInventoryMethod = OsConfigZonalServiceGrpc.getGetInventoryMethod) == null) { - OsConfigZonalServiceGrpc.getGetInventoryMethod = getGetInventoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInventory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.GetInventoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.Inventory.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("GetInventory")) - .build(); - } - } - } - return getGetInventoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getListInventoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInventories", - requestType = com.google.cloud.osconfig.v1.ListInventoriesRequest.class, - responseType = com.google.cloud.osconfig.v1.ListInventoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListInventoriesMethod() { - io.grpc.MethodDescriptor getListInventoriesMethod; - if ((getListInventoriesMethod = OsConfigZonalServiceGrpc.getListInventoriesMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListInventoriesMethod = OsConfigZonalServiceGrpc.getListInventoriesMethod) == null) { - OsConfigZonalServiceGrpc.getListInventoriesMethod = getListInventoriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInventories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListInventoriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListInventoriesResponse.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListInventories")) - .build(); - } - } - } - return getListInventoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetVulnerabilityReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVulnerabilityReport", - requestType = com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.class, - responseType = com.google.cloud.osconfig.v1.VulnerabilityReport.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetVulnerabilityReportMethod() { - io.grpc.MethodDescriptor getGetVulnerabilityReportMethod; - if ((getGetVulnerabilityReportMethod = OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getGetVulnerabilityReportMethod = OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod) == null) { - OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod = getGetVulnerabilityReportMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVulnerabilityReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.VulnerabilityReport.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("GetVulnerabilityReport")) - .build(); - } - } - } - return getGetVulnerabilityReportMethod; - } - - private static volatile io.grpc.MethodDescriptor getListVulnerabilityReportsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVulnerabilityReports", - requestType = com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.class, - responseType = com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListVulnerabilityReportsMethod() { - io.grpc.MethodDescriptor getListVulnerabilityReportsMethod; - if ((getListVulnerabilityReportsMethod = OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListVulnerabilityReportsMethod = OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod) == null) { - OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod = getListVulnerabilityReportsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVulnerabilityReports")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListVulnerabilityReports")) - .build(); - } - } - } - return getListVulnerabilityReportsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static OsConfigZonalServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigZonalServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceStub(channel, callOptions); - } - }; - return OsConfigZonalServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static OsConfigZonalServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigZonalServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceBlockingStub(channel, callOptions); - } - }; - return OsConfigZonalServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static OsConfigZonalServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigZonalServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceFutureStub(channel, callOptions); - } - }; - return OsConfigZonalServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * Zonal OS Config API
-   * The OS Config service is the server-side component that allows users to
-   * manage package installations and patch jobs for Compute Engine VM instances.
-   * 
- */ - public static abstract class OsConfigZonalServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Create an OS policy assignment.
-     * This method also creates the first revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void createOSPolicyAssignment(com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateOSPolicyAssignmentMethod(), responseObserver); - } - - /** - *
-     * Update an existing OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void updateOSPolicyAssignment(com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateOSPolicyAssignmentMethod(), responseObserver); - } - - /** - *
-     * Retrieve an existing OS policy assignment.
-     * This method always returns the latest revision. In order to retrieve a
-     * previous revision of the assignment, also provide the revision ID in the
-     * `name` parameter.
-     * 
- */ - public void getOSPolicyAssignment(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetOSPolicyAssignmentMethod(), responseObserver); - } - - /** - *
-     * List the OS policy assignments under the parent resource.
-     * For each OS policy assignment, the latest revision is returned.
-     * 
- */ - public void listOSPolicyAssignments(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOSPolicyAssignmentsMethod(), responseObserver); - } - - /** - *
-     * List the OS policy assignment revisions for a given OS policy assignment.
-     * 
- */ - public void listOSPolicyAssignmentRevisions(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOSPolicyAssignmentRevisionsMethod(), responseObserver); - } - - /** - *
-     * Delete the OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * If the LRO completes and is not cancelled, all revisions associated with
-     * the OS policy assignment are deleted.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void deleteOSPolicyAssignment(com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteOSPolicyAssignmentMethod(), responseObserver); - } - - /** - *
-     * Get the OS policy asssignment report for the specified Compute Engine VM
-     * instance.
-     * 
- */ - public void getOSPolicyAssignmentReport(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetOSPolicyAssignmentReportMethod(), responseObserver); - } - - /** - *
-     * List OS policy asssignment reports for all Compute Engine VM instances in
-     * the specified zone.
-     * 
- */ - public void listOSPolicyAssignmentReports(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOSPolicyAssignmentReportsMethod(), responseObserver); - } - - /** - *
-     * Get inventory data for the specified VM instance. If the VM has no
-     * associated inventory, the message `NOT_FOUND` is returned.
-     * 
- */ - public void getInventory(com.google.cloud.osconfig.v1.GetInventoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInventoryMethod(), responseObserver); - } - - /** - *
-     * List inventory data for all VM instances in the specified zone.
-     * 
- */ - public void listInventories(com.google.cloud.osconfig.v1.ListInventoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInventoriesMethod(), responseObserver); - } - - /** - *
-     * Gets the vulnerability report for the specified VM instance. Only VMs with
-     * inventory data have vulnerability reports associated with them.
-     * 
- */ - public void getVulnerabilityReport(com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVulnerabilityReportMethod(), responseObserver); - } - - /** - *
-     * List vulnerability reports for all VM instances in the specified zone.
-     * 
- */ - public void listVulnerabilityReports(com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVulnerabilityReportsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateOSPolicyAssignmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_OSPOLICY_ASSIGNMENT))) - .addMethod( - getUpdateOSPolicyAssignmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_OSPOLICY_ASSIGNMENT))) - .addMethod( - getGetOSPolicyAssignmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest, - com.google.cloud.osconfig.v1.OSPolicyAssignment>( - this, METHODID_GET_OSPOLICY_ASSIGNMENT))) - .addMethod( - getListOSPolicyAssignmentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse>( - this, METHODID_LIST_OSPOLICY_ASSIGNMENTS))) - .addMethod( - getListOSPolicyAssignmentRevisionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse>( - this, METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS))) - .addMethod( - getDeleteOSPolicyAssignmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_OSPOLICY_ASSIGNMENT))) - .addMethod( - getGetOSPolicyAssignmentReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest, - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport>( - this, METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT))) - .addMethod( - getListOSPolicyAssignmentReportsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest, - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse>( - this, METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS))) - .addMethod( - getGetInventoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.GetInventoryRequest, - com.google.cloud.osconfig.v1.Inventory>( - this, METHODID_GET_INVENTORY))) - .addMethod( - getListInventoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.ListInventoriesRequest, - com.google.cloud.osconfig.v1.ListInventoriesResponse>( - this, METHODID_LIST_INVENTORIES))) - .addMethod( - getGetVulnerabilityReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest, - com.google.cloud.osconfig.v1.VulnerabilityReport>( - this, METHODID_GET_VULNERABILITY_REPORT))) - .addMethod( - getListVulnerabilityReportsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest, - com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse>( - this, METHODID_LIST_VULNERABILITY_REPORTS))) - .build(); - } - } - - /** - *
-   * Zonal OS Config API
-   * The OS Config service is the server-side component that allows users to
-   * manage package installations and patch jobs for Compute Engine VM instances.
-   * 
- */ - public static final class OsConfigZonalServiceStub extends io.grpc.stub.AbstractAsyncStub { - private OsConfigZonalServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigZonalServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceStub(channel, callOptions); - } - - /** - *
-     * Create an OS policy assignment.
-     * This method also creates the first revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void createOSPolicyAssignment(com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateOSPolicyAssignmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Update an existing OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void updateOSPolicyAssignment(com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateOSPolicyAssignmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieve an existing OS policy assignment.
-     * This method always returns the latest revision. In order to retrieve a
-     * previous revision of the assignment, also provide the revision ID in the
-     * `name` parameter.
-     * 
- */ - public void getOSPolicyAssignment(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetOSPolicyAssignmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * List the OS policy assignments under the parent resource.
-     * For each OS policy assignment, the latest revision is returned.
-     * 
- */ - public void listOSPolicyAssignments(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * List the OS policy assignment revisions for a given OS policy assignment.
-     * 
- */ - public void listOSPolicyAssignmentRevisions(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentRevisionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Delete the OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * If the LRO completes and is not cancelled, all revisions associated with
-     * the OS policy assignment are deleted.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void deleteOSPolicyAssignment(com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteOSPolicyAssignmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get the OS policy asssignment report for the specified Compute Engine VM
-     * instance.
-     * 
- */ - public void getOSPolicyAssignmentReport(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetOSPolicyAssignmentReportMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * List OS policy asssignment reports for all Compute Engine VM instances in
-     * the specified zone.
-     * 
- */ - public void listOSPolicyAssignmentReports(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentReportsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get inventory data for the specified VM instance. If the VM has no
-     * associated inventory, the message `NOT_FOUND` is returned.
-     * 
- */ - public void getInventory(com.google.cloud.osconfig.v1.GetInventoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInventoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * List inventory data for all VM instances in the specified zone.
-     * 
- */ - public void listInventories(com.google.cloud.osconfig.v1.ListInventoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInventoriesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the vulnerability report for the specified VM instance. Only VMs with
-     * inventory data have vulnerability reports associated with them.
-     * 
- */ - public void getVulnerabilityReport(com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVulnerabilityReportMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * List vulnerability reports for all VM instances in the specified zone.
-     * 
- */ - public void listVulnerabilityReports(com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVulnerabilityReportsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * Zonal OS Config API
-   * The OS Config service is the server-side component that allows users to
-   * manage package installations and patch jobs for Compute Engine VM instances.
-   * 
- */ - public static final class OsConfigZonalServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private OsConfigZonalServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigZonalServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Create an OS policy assignment.
-     * This method also creates the first revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.longrunning.Operation createOSPolicyAssignment(com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateOSPolicyAssignmentMethod(), getCallOptions(), request); - } - - /** - *
-     * Update an existing OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.longrunning.Operation updateOSPolicyAssignment(com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateOSPolicyAssignmentMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieve an existing OS policy assignment.
-     * This method always returns the latest revision. In order to retrieve a
-     * previous revision of the assignment, also provide the revision ID in the
-     * `name` parameter.
-     * 
- */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment getOSPolicyAssignment(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetOSPolicyAssignmentMethod(), getCallOptions(), request); - } - - /** - *
-     * List the OS policy assignments under the parent resource.
-     * For each OS policy assignment, the latest revision is returned.
-     * 
- */ - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse listOSPolicyAssignments(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListOSPolicyAssignmentsMethod(), getCallOptions(), request); - } - - /** - *
-     * List the OS policy assignment revisions for a given OS policy assignment.
-     * 
- */ - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse listOSPolicyAssignmentRevisions(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListOSPolicyAssignmentRevisionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Delete the OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * If the LRO completes and is not cancelled, all revisions associated with
-     * the OS policy assignment are deleted.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.longrunning.Operation deleteOSPolicyAssignment(com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteOSPolicyAssignmentMethod(), getCallOptions(), request); - } - - /** - *
-     * Get the OS policy asssignment report for the specified Compute Engine VM
-     * instance.
-     * 
- */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getOSPolicyAssignmentReport(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetOSPolicyAssignmentReportMethod(), getCallOptions(), request); - } - - /** - *
-     * List OS policy asssignment reports for all Compute Engine VM instances in
-     * the specified zone.
-     * 
- */ - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse listOSPolicyAssignmentReports(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListOSPolicyAssignmentReportsMethod(), getCallOptions(), request); - } - - /** - *
-     * Get inventory data for the specified VM instance. If the VM has no
-     * associated inventory, the message `NOT_FOUND` is returned.
-     * 
- */ - public com.google.cloud.osconfig.v1.Inventory getInventory(com.google.cloud.osconfig.v1.GetInventoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInventoryMethod(), getCallOptions(), request); - } - - /** - *
-     * List inventory data for all VM instances in the specified zone.
-     * 
- */ - public com.google.cloud.osconfig.v1.ListInventoriesResponse listInventories(com.google.cloud.osconfig.v1.ListInventoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInventoriesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the vulnerability report for the specified VM instance. Only VMs with
-     * inventory data have vulnerability reports associated with them.
-     * 
- */ - public com.google.cloud.osconfig.v1.VulnerabilityReport getVulnerabilityReport(com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVulnerabilityReportMethod(), getCallOptions(), request); - } - - /** - *
-     * List vulnerability reports for all VM instances in the specified zone.
-     * 
- */ - public com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse listVulnerabilityReports(com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVulnerabilityReportsMethod(), getCallOptions(), request); - } - } - - /** - *
-   * Zonal OS Config API
-   * The OS Config service is the server-side component that allows users to
-   * manage package installations and patch jobs for Compute Engine VM instances.
-   * 
- */ - public static final class OsConfigZonalServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private OsConfigZonalServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigZonalServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Create an OS policy assignment.
-     * This method also creates the first revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createOSPolicyAssignment( - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateOSPolicyAssignmentMethod(), getCallOptions()), request); - } - - /** - *
-     * Update an existing OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateOSPolicyAssignment( - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateOSPolicyAssignmentMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieve an existing OS policy assignment.
-     * This method always returns the latest revision. In order to retrieve a
-     * previous revision of the assignment, also provide the revision ID in the
-     * `name` parameter.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getOSPolicyAssignment( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetOSPolicyAssignmentMethod(), getCallOptions()), request); - } - - /** - *
-     * List the OS policy assignments under the parent resource.
-     * For each OS policy assignment, the latest revision is returned.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listOSPolicyAssignments( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentsMethod(), getCallOptions()), request); - } - - /** - *
-     * List the OS policy assignment revisions for a given OS policy assignment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listOSPolicyAssignmentRevisions( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentRevisionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Delete the OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * If the LRO completes and is not cancelled, all revisions associated with
-     * the OS policy assignment are deleted.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteOSPolicyAssignment( - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteOSPolicyAssignmentMethod(), getCallOptions()), request); - } - - /** - *
-     * Get the OS policy asssignment report for the specified Compute Engine VM
-     * instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getOSPolicyAssignmentReport( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetOSPolicyAssignmentReportMethod(), getCallOptions()), request); - } - - /** - *
-     * List OS policy asssignment reports for all Compute Engine VM instances in
-     * the specified zone.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listOSPolicyAssignmentReports( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentReportsMethod(), getCallOptions()), request); - } - - /** - *
-     * Get inventory data for the specified VM instance. If the VM has no
-     * associated inventory, the message `NOT_FOUND` is returned.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getInventory( - com.google.cloud.osconfig.v1.GetInventoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInventoryMethod(), getCallOptions()), request); - } - - /** - *
-     * List inventory data for all VM instances in the specified zone.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listInventories( - com.google.cloud.osconfig.v1.ListInventoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInventoriesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the vulnerability report for the specified VM instance. Only VMs with
-     * inventory data have vulnerability reports associated with them.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getVulnerabilityReport( - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVulnerabilityReportMethod(), getCallOptions()), request); - } - - /** - *
-     * List vulnerability reports for all VM instances in the specified zone.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listVulnerabilityReports( - com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVulnerabilityReportsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_OSPOLICY_ASSIGNMENT = 0; - private static final int METHODID_UPDATE_OSPOLICY_ASSIGNMENT = 1; - private static final int METHODID_GET_OSPOLICY_ASSIGNMENT = 2; - private static final int METHODID_LIST_OSPOLICY_ASSIGNMENTS = 3; - private static final int METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS = 4; - private static final int METHODID_DELETE_OSPOLICY_ASSIGNMENT = 5; - private static final int METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT = 6; - private static final int METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS = 7; - private static final int METHODID_GET_INVENTORY = 8; - private static final int METHODID_LIST_INVENTORIES = 9; - private static final int METHODID_GET_VULNERABILITY_REPORT = 10; - private static final int METHODID_LIST_VULNERABILITY_REPORTS = 11; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final OsConfigZonalServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(OsConfigZonalServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_OSPOLICY_ASSIGNMENT: - serviceImpl.createOSPolicyAssignment((com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_OSPOLICY_ASSIGNMENT: - serviceImpl.updateOSPolicyAssignment((com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_OSPOLICY_ASSIGNMENT: - serviceImpl.getOSPolicyAssignment((com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_OSPOLICY_ASSIGNMENTS: - serviceImpl.listOSPolicyAssignments((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS: - serviceImpl.listOSPolicyAssignmentRevisions((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_OSPOLICY_ASSIGNMENT: - serviceImpl.deleteOSPolicyAssignment((com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT: - serviceImpl.getOSPolicyAssignmentReport((com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS: - serviceImpl.listOSPolicyAssignmentReports((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_INVENTORY: - serviceImpl.getInventory((com.google.cloud.osconfig.v1.GetInventoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_INVENTORIES: - serviceImpl.listInventories((com.google.cloud.osconfig.v1.ListInventoriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_VULNERABILITY_REPORT: - serviceImpl.getVulnerabilityReport((com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_VULNERABILITY_REPORTS: - serviceImpl.listVulnerabilityReports((com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class OsConfigZonalServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - OsConfigZonalServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.osconfig.v1.OsConfigZonalServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("OsConfigZonalService"); - } - } - - private static final class OsConfigZonalServiceFileDescriptorSupplier - extends OsConfigZonalServiceBaseDescriptorSupplier { - OsConfigZonalServiceFileDescriptorSupplier() {} - } - - private static final class OsConfigZonalServiceMethodDescriptorSupplier - extends OsConfigZonalServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - OsConfigZonalServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new OsConfigZonalServiceFileDescriptorSupplier()) - .addMethod(getCreateOSPolicyAssignmentMethod()) - .addMethod(getUpdateOSPolicyAssignmentMethod()) - .addMethod(getGetOSPolicyAssignmentMethod()) - .addMethod(getListOSPolicyAssignmentsMethod()) - .addMethod(getListOSPolicyAssignmentRevisionsMethod()) - .addMethod(getDeleteOSPolicyAssignmentMethod()) - .addMethod(getGetOSPolicyAssignmentReportMethod()) - .addMethod(getListOSPolicyAssignmentReportsMethod()) - .addMethod(getGetInventoryMethod()) - .addMethod(getListInventoriesMethod()) - .addMethod(getGetVulnerabilityReportMethod()) - .addMethod(getListVulnerabilityReportsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequestOrBuilder.java deleted file mode 100644 index 7e024db3..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/osconfig/v1/os_policy_assignments.proto - -package com.google.cloud.osconfig.v1; - -public interface DeleteOSPolicyAssignmentRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the OS policy assignment to be deleted
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the OS policy assignment to be deleted
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequestOrBuilder.java deleted file mode 100644 index 7ad8d6be..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/osconfig/v1/os_policy_assignments.proto - -package com.google.cloud.osconfig.v1; - -public interface GetOSPolicyAssignmentRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of OS policy assignment.
-   * Format:
-   * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of OS policy assignment.
-   * Format:
-   * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java deleted file mode 100644 index 4a32a033..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java +++ /dev/null @@ -1,295 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/osconfig/v1/inventory.proto - -package com.google.cloud.osconfig.v1; - -public final class Inventories { - private Inventories() {} - 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_osconfig_v1_Inventory_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_Item_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_GetInventoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n(google/cloud/osconfig/v1/inventory.pro" + - "to\022\030google.cloud.osconfig.v1\032\037google/api" + - "/field_behavior.proto\032\031google/api/resour" + - "ce.proto\032\037google/protobuf/timestamp.prot" + - "o\032\026google/type/date.proto\"\330\025\n\tInventory\022" + - "\021\n\004name\030\003 \001(\tB\003\340A\003\022;\n\007os_info\030\001 \001(\0132*.go" + - "ogle.cloud.osconfig.v1.Inventory.OsInfo\022" + - "=\n\005items\030\002 \003(\0132..google.cloud.osconfig.v" + - "1.Inventory.ItemsEntry\0224\n\013update_time\030\004 " + - "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\032\270\001\n" + - "\006OsInfo\022\020\n\010hostname\030\t \001(\t\022\021\n\tlong_name\030\002" + - " \001(\t\022\022\n\nshort_name\030\003 \001(\t\022\017\n\007version\030\004 \001(" + - "\t\022\024\n\014architecture\030\005 \001(\t\022\026\n\016kernel_versio" + - "n\030\006 \001(\t\022\026\n\016kernel_release\030\007 \001(\t\022\036\n\026oscon" + - "fig_agent_version\030\010 \001(\t\032\267\004\n\004Item\022\n\n\002id\030\001" + - " \001(\t\022H\n\013origin_type\030\002 \001(\01623.google.cloud" + - ".osconfig.v1.Inventory.Item.OriginType\022/" + - "\n\013create_time\030\010 \001(\0132\032.google.protobuf.Ti" + - "mestamp\022/\n\013update_time\030\t \001(\0132\032.google.pr" + - "otobuf.Timestamp\022;\n\004type\030\005 \001(\0162-.google." + - "cloud.osconfig.v1.Inventory.Item.Type\022P\n" + - "\021installed_package\030\006 \001(\01323.google.cloud." + - "osconfig.v1.Inventory.SoftwarePackageH\000\022" + - "P\n\021available_package\030\007 \001(\01323.google.clou" + - "d.osconfig.v1.Inventory.SoftwarePackageH" + - "\000\"?\n\nOriginType\022\033\n\027ORIGIN_TYPE_UNSPECIFI" + - "ED\020\000\022\024\n\020INVENTORY_REPORT\020\001\"J\n\004Type\022\024\n\020TY" + - "PE_UNSPECIFIED\020\000\022\025\n\021INSTALLED_PACKAGE\020\001\022" + - "\025\n\021AVAILABLE_PACKAGE\020\002B\t\n\007details\032\362\005\n\017So" + - "ftwarePackage\022K\n\013yum_package\030\001 \001(\01324.goo" + - "gle.cloud.osconfig.v1.Inventory.Versione" + - "dPackageH\000\022K\n\013apt_package\030\002 \001(\01324.google" + - ".cloud.osconfig.v1.Inventory.VersionedPa" + - "ckageH\000\022N\n\016zypper_package\030\003 \001(\01324.google" + - ".cloud.osconfig.v1.Inventory.VersionedPa" + - "ckageH\000\022N\n\016googet_package\030\004 \001(\01324.google" + - ".cloud.osconfig.v1.Inventory.VersionedPa" + - "ckageH\000\022G\n\014zypper_patch\030\005 \001(\0132/.google.c" + - "loud.osconfig.v1.Inventory.ZypperPatchH\000" + - "\022O\n\013wua_package\030\006 \001(\01328.google.cloud.osc" + - "onfig.v1.Inventory.WindowsUpdatePackageH" + - "\000\022\\\n\013qfe_package\030\007 \001(\0132E.google.cloud.os" + - "config.v1.Inventory.WindowsQuickFixEngin" + - "eeringPackageH\000\022K\n\013cos_package\030\010 \001(\01324.g" + - "oogle.cloud.osconfig.v1.Inventory.Versio" + - "nedPackageH\000\022U\n\023windows_application\030\t \001(" + - "\01326.google.cloud.osconfig.v1.Inventory.W" + - "indowsApplicationH\000B\t\n\007details\032O\n\020Versio" + - "nedPackage\022\024\n\014package_name\030\004 \001(\t\022\024\n\014arch" + - "itecture\030\002 \001(\t\022\017\n\007version\030\003 \001(\t\032V\n\013Zyppe" + - "rPatch\022\022\n\npatch_name\030\005 \001(\t\022\020\n\010category\030\002" + - " \001(\t\022\020\n\010severity\030\003 \001(\t\022\017\n\007summary\030\004 \001(\t\032" + - "\203\003\n\024WindowsUpdatePackage\022\r\n\005title\030\001 \001(\t\022" + - "\023\n\013description\030\002 \001(\t\022b\n\ncategories\030\003 \003(\013" + - "2N.google.cloud.osconfig.v1.Inventory.Wi" + - "ndowsUpdatePackage.WindowsUpdateCategory" + - "\022\026\n\016kb_article_ids\030\004 \003(\t\022\023\n\013support_url\030" + - "\013 \001(\t\022\026\n\016more_info_urls\030\005 \003(\t\022\021\n\tupdate_" + - "id\030\006 \001(\t\022\027\n\017revision_number\030\007 \001(\005\022?\n\033las" + - "t_deployment_change_time\030\n \001(\0132\032.google." + - "protobuf.Timestamp\0321\n\025WindowsUpdateCateg" + - "ory\022\n\n\002id\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\032\217\001\n!Window" + - "sQuickFixEngineeringPackage\022\017\n\007caption\030\001" + - " \001(\t\022\023\n\013description\030\002 \001(\t\022\022\n\nhot_fix_id\030" + - "\003 \001(\t\0220\n\014install_time\030\005 \001(\0132\032.google.pro" + - "tobuf.Timestamp\032\222\001\n\022WindowsApplication\022\024" + - "\n\014display_name\030\001 \001(\t\022\027\n\017display_version\030" + - "\002 \001(\t\022\021\n\tpublisher\030\003 \001(\t\022\'\n\014install_date" + - "\030\004 \001(\0132\021.google.type.Date\022\021\n\thelp_link\030\005" + - " \001(\t\032V\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\0227\n\005value" + - "\030\002 \001(\0132(.google.cloud.osconfig.v1.Invent" + - "ory.Item:\0028\001:n\352Ak\n!osconfig.googleapis.c" + - "om/Inventory\022Fprojects/{project}/locatio" + - "ns/{location}/instances/{instance}/inven" + - "tory\"\205\001\n\023GetInventoryRequest\0227\n\004name\030\001 \001" + - "(\tB)\340A\002\372A#\n!osconfig.googleapis.com/Inve" + - "ntory\0225\n\004view\030\002 \001(\0162\'.google.cloud.oscon" + - "fig.v1.InventoryView\"\277\001\n\026ListInventories" + - "Request\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037compute" + - ".googleapis.com/Instance\0225\n\004view\030\002 \001(\0162\'" + - ".google.cloud.osconfig.v1.InventoryView\022" + - "\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\016" + - "\n\006filter\030\005 \001(\t\"l\n\027ListInventoriesRespons" + - "e\0228\n\013inventories\030\001 \003(\0132#.google.cloud.os" + - "config.v1.Inventory\022\027\n\017next_page_token\030\002" + - " \001(\t*D\n\rInventoryView\022\036\n\032INVENTORY_VIEW_" + - "UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\303\001\n\034c" + - "om.google.cloud.osconfig.v1B\013Inventories" + - "P\001Z@google.golang.org/genproto/googleapi" + - "s/cloud/osconfig/v1;osconfig\252\002\030Google.Cl" + - "oud.OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\" + - "V1\352\002\033Google::Cloud::OsConfig::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.DateProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1_Inventory_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1_Inventory_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_descriptor, - new java.lang.String[] { "Name", "OsInfo", "Items", "UpdateTime", }); - internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor, - new java.lang.String[] { "Hostname", "LongName", "ShortName", "Version", "Architecture", "KernelVersion", "KernelRelease", "OsconfigAgentVersion", }); - internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1_Inventory_Item_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor, - new java.lang.String[] { "Id", "OriginType", "CreateTime", "UpdateTime", "Type", "InstalledPackage", "AvailablePackage", "Details", }); - internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor, - new java.lang.String[] { "YumPackage", "AptPackage", "ZypperPackage", "GoogetPackage", "ZypperPatch", "WuaPackage", "QfePackage", "CosPackage", "WindowsApplication", "Details", }); - internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor, - new java.lang.String[] { "PackageName", "Architecture", "Version", }); - internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor, - new java.lang.String[] { "PatchName", "Category", "Severity", "Summary", }); - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor, - new java.lang.String[] { "Title", "Description", "Categories", "KbArticleIds", "SupportUrl", "MoreInfoUrls", "UpdateId", "RevisionNumber", "LastDeploymentChangeTime", }); - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor, - new java.lang.String[] { "Id", "Name", }); - internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor, - new java.lang.String[] { "Caption", "Description", "HotFixId", "InstallTime", }); - internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(7); - internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor, - new java.lang.String[] { "DisplayName", "DisplayVersion", "Publisher", "InstallDate", "HelpLink", }); - internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_descriptor = - internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(8); - internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1_GetInventoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor, - new java.lang.String[] { "Parent", "View", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor, - new java.lang.String[] { "Inventories", "NextPageToken", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java deleted file mode 100644 index 211cebe4..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java +++ /dev/null @@ -1,208 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/osconfig/v1/os_policy_assignment_reports.proto - -package com.google.cloud.osconfig.v1; - -public final class OSPolicyAssignmentReportsProto { - private OSPolicyAssignmentReportsProto() {} - 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_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n;google/cloud/osconfig/v1/os_policy_ass" + - "ignment_reports.proto\022\030google.cloud.osco" + - "nfig.v1\032\037google/api/field_behavior.proto" + - "\032\031google/api/resource.proto\032\037google/prot" + - "obuf/timestamp.proto\"l\n\"GetOSPolicyAssig" + - "nmentReportRequest\022F\n\004name\030\001 \001(\tB8\340A\002\372A2" + - "\n0osconfig.googleapis.com/OSPolicyAssign" + - "mentReport\"\251\001\n$ListOSPolicyAssignmentRep" + - "ortsRequest\022J\n\006parent\030\001 \001(\tB:\340A\002\372A4\n2osc" + - "onfig.googleapis.com/InstanceOSPolicyAss" + - "ignment\022\021\n\tpage_size\030\002 \001(\005\022\016\n\006filter\030\003 \001" + - "(\t\022\022\n\npage_token\030\004 \001(\t\"\232\001\n%ListOSPolicyA" + - "ssignmentReportsResponse\022X\n\034os_policy_as" + - "signment_reports\030\001 \003(\01322.google.cloud.os" + - "config.v1.OSPolicyAssignmentReport\022\027\n\017ne" + - "xt_page_token\030\002 \001(\t\"\315\016\n\030OSPolicyAssignme" + - "ntReport\022\014\n\004name\030\001 \001(\t\022\020\n\010instance\030\002 \001(\t" + - "\022M\n\024os_policy_assignment\030\003 \001(\tB/\372A,\n*osc" + - "onfig.googleapis.com/OSPolicyAssignment\022" + - "d\n\025os_policy_compliances\030\004 \003(\0132E.google." + - "cloud.osconfig.v1.OSPolicyAssignmentRepo" + - "rt.OSPolicyCompliance\022/\n\013update_time\030\005 \001" + - "(\0132\032.google.protobuf.Timestamp\022\023\n\013last_r" + - "un_id\030\006 \001(\t\032\366\n\n\022OSPolicyCompliance\022\024\n\014os" + - "_policy_id\030\001 \001(\t\022o\n\020compliance_state\030\002 \001" + - "(\0162U.google.cloud.osconfig.v1.OSPolicyAs" + - "signmentReport.OSPolicyCompliance.Compli" + - "anceState\022\037\n\027compliance_state_reason\030\003 \001" + - "(\t\022\210\001\n\036os_policy_resource_compliances\030\004 " + - "\003(\0132`.google.cloud.osconfig.v1.OSPolicyA" + - "ssignmentReport.OSPolicyCompliance.OSPol" + - "icyResourceCompliance\032\352\007\n\032OSPolicyResour" + - "ceCompliance\022\035\n\025os_policy_resource_id\030\001 " + - "\001(\t\022\221\001\n\014config_steps\030\002 \003(\0132{.google.clou" + - "d.osconfig.v1.OSPolicyAssignmentReport.O" + - "SPolicyCompliance.OSPolicyResourceCompli" + - "ance.OSPolicyResourceConfigStep\022\212\001\n\020comp" + - "liance_state\030\003 \001(\0162p.google.cloud.osconf" + - "ig.v1.OSPolicyAssignmentReport.OSPolicyC" + - "ompliance.OSPolicyResourceCompliance.Com" + - "plianceState\022\037\n\027compliance_state_reason\030" + - "\004 \001(\t\022\223\001\n\024exec_resource_output\030\005 \001(\0132s.g" + - "oogle.cloud.osconfig.v1.OSPolicyAssignme" + - "ntReport.OSPolicyCompliance.OSPolicyReso" + - "urceCompliance.ExecResourceOutputH\000\032\326\002\n\032" + - "OSPolicyResourceConfigStep\022\217\001\n\004type\030\001 \001(" + - "\0162\200\001.google.cloud.osconfig.v1.OSPolicyAs" + - "signmentReport.OSPolicyCompliance.OSPoli" + - "cyResourceCompliance.OSPolicyResourceCon" + - "figStep.Type\022\025\n\rerror_message\030\002 \001(\t\"\216\001\n\004" + - "Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\016\n\nVALIDATION" + - "\020\001\022\027\n\023DESIRED_STATE_CHECK\020\002\022\035\n\031DESIRED_S" + - "TATE_ENFORCEMENT\020\003\022(\n$DESIRED_STATE_CHEC" + - "K_POST_ENFORCEMENT\020\004\0320\n\022ExecResourceOutp" + - "ut\022\032\n\022enforcement_output\030\002 \001(\014\"@\n\017Compli" + - "anceState\022\013\n\007UNKNOWN\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n" + - "\rNON_COMPLIANT\020\002B\010\n\006output\"@\n\017Compliance" + - "State\022\013\n\007UNKNOWN\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n\rNON" + - "_COMPLIANT\020\002:\234\001\352A\230\001\n0osconfig.googleapis" + - ".com/OSPolicyAssignmentReport\022dprojects/" + - "{project}/locations/{location}/instances" + - "/{instance}/osPolicyAssignments/{assignm" + - "ent}/reportB\355\002\n\034com.google.cloud.osconfi" + - "g.v1B\036OSPolicyAssignmentReportsProtoP\001Z@" + - "google.golang.org/genproto/googleapis/cl" + - "oud/osconfig/v1;osconfig\252\002\030Google.Cloud." + - "OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002" + - "\033Google::Cloud::OsConfig::V1\352A\223\001\n2osconf" + - "ig.googleapis.com/InstanceOSPolicyAssign" + - "ment\022]projects/{project}/locations/{loca" + - "tion}/instances/{instance}/osPolicyAssig" + - "nments/{assignment}b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "Filter", "PageToken", }); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor, - new java.lang.String[] { "OsPolicyAssignmentReports", "NextPageToken", }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor, - new java.lang.String[] { "Name", "Instance", "OsPolicyAssignment", "OsPolicyCompliances", "UpdateTime", "LastRunId", }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor, - new java.lang.String[] { "OsPolicyId", "ComplianceState", "ComplianceStateReason", "OsPolicyResourceCompliances", }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor, - new java.lang.String[] { "OsPolicyResourceId", "ConfigSteps", "ComplianceState", "ComplianceStateReason", "ExecResourceOutput", "Output", }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor, - new java.lang.String[] { "Type", "ErrorMessage", }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor, - new java.lang.String[] { "EnforcementOutput", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java deleted file mode 100644 index 144de840..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java +++ /dev/null @@ -1,130 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/osconfig/v1/osconfig_service.proto - -package com.google.cloud.osconfig.v1; - -public final class OsConfigProto { - private OsConfigProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n/google/cloud/osconfig/v1/osconfig_serv" + - "ice.proto\022\030google.cloud.osconfig.v1\032\027goo" + - "gle/api/client.proto\032\031google/api/resourc" + - "e.proto\0320google/cloud/osconfig/v1/patch_" + - "deployments.proto\032)google/cloud/osconfig" + - "/v1/patch_jobs.proto\032\033google/protobuf/em" + - "pty.proto\032\034google/api/annotations.proto2" + - "\254\022\n\017OsConfigService\022\235\001\n\017ExecutePatchJob\022" + - "0.google.cloud.osconfig.v1.ExecutePatchJ" + - "obRequest\032\".google.cloud.osconfig.v1.Pat" + - "chJob\"4\202\323\344\223\002.\")/v1/{parent=projects/*}/p" + - "atchJobs:execute:\001*\022\221\001\n\013GetPatchJob\022,.go" + - "ogle.cloud.osconfig.v1.GetPatchJobReques" + - "t\032\".google.cloud.osconfig.v1.PatchJob\"0\202" + - "\323\344\223\002#\022!/v1/{name=projects/*/patchJobs/*}" + - "\332A\004name\022\232\001\n\016CancelPatchJob\022/.google.clou" + - "d.osconfig.v1.CancelPatchJobRequest\032\".go" + - "ogle.cloud.osconfig.v1.PatchJob\"3\202\323\344\223\002-\"" + - "(/v1/{name=projects/*/patchJobs/*}:cance" + - "l:\001*\022\244\001\n\rListPatchJobs\022..google.cloud.os" + - "config.v1.ListPatchJobsRequest\032/.google." + - "cloud.osconfig.v1.ListPatchJobsResponse\"" + - "2\202\323\344\223\002#\022!/v1/{parent=projects/*}/patchJo" + - "bs\332A\006parent\022\340\001\n\033ListPatchJobInstanceDeta" + - "ils\022<.google.cloud.osconfig.v1.ListPatch" + - "JobInstanceDetailsRequest\032=.google.cloud" + - ".osconfig.v1.ListPatchJobInstanceDetails" + - "Response\"D\202\323\344\223\0025\0223/v1/{parent=projects/*" + - "/patchJobs/*}/instanceDetails\332A\006parent\022\354" + - "\001\n\025CreatePatchDeployment\0226.google.cloud." + - "osconfig.v1.CreatePatchDeploymentRequest" + - "\032).google.cloud.osconfig.v1.PatchDeploym" + - "ent\"p\202\323\344\223\002<\"(/v1/{parent=projects/*}/pat" + - "chDeployments:\020patch_deployment\332A+parent" + - ",patch_deployment,patch_deployment_id\022\255\001" + - "\n\022GetPatchDeployment\0223.google.cloud.osco" + - "nfig.v1.GetPatchDeploymentRequest\032).goog" + - "le.cloud.osconfig.v1.PatchDeployment\"7\202\323" + - "\344\223\002*\022(/v1/{name=projects/*/patchDeployme" + - "nts/*}\332A\004name\022\300\001\n\024ListPatchDeployments\0225" + - ".google.cloud.osconfig.v1.ListPatchDeplo" + - "ymentsRequest\0326.google.cloud.osconfig.v1" + - ".ListPatchDeploymentsResponse\"9\202\323\344\223\002*\022(/" + - "v1/{parent=projects/*}/patchDeployments\332" + - "A\006parent\022\240\001\n\025DeletePatchDeployment\0226.goo" + - "gle.cloud.osconfig.v1.DeletePatchDeploym" + - "entRequest\032\026.google.protobuf.Empty\"7\202\323\344\223" + - "\002**(/v1/{name=projects/*/patchDeployment" + - "s/*}\332A\004name\022\356\001\n\025UpdatePatchDeployment\0226." + - "google.cloud.osconfig.v1.UpdatePatchDepl" + - "oymentRequest\032).google.cloud.osconfig.v1" + - ".PatchDeployment\"r\202\323\344\223\002M29/v1/{patch_dep" + - "loyment.name=projects/*/patchDeployments" + - "/*}:\020patch_deployment\332A\034patch_deployment" + - ",update_mask\022\272\001\n\024PausePatchDeployment\0225." + - "google.cloud.osconfig.v1.PausePatchDeplo" + - "ymentRequest\032).google.cloud.osconfig.v1." + - "PatchDeployment\"@\202\323\344\223\0023\"./v1/{name=proje" + - "cts/*/patchDeployments/*}:pause:\001*\332A\004nam" + - "e\022\275\001\n\025ResumePatchDeployment\0226.google.clo" + - "ud.osconfig.v1.ResumePatchDeploymentRequ" + - "est\032).google.cloud.osconfig.v1.PatchDepl" + - "oyment\"A\202\323\344\223\0024\"//v1/{name=projects/*/pat" + - "chDeployments/*}:resume:\001*\332A\004name\032K\312A\027os" + - "config.googleapis.com\322A.https://www.goog" + - "leapis.com/auth/cloud-platformB\334\002\n\034com.g" + - "oogle.cloud.osconfig.v1B\rOsConfigProtoZ@" + - "google.golang.org/genproto/googleapis/cl" + - "oud/osconfig/v1;osconfig\252\002\030Google.Cloud." + - "OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002" + - "\033Google::Cloud::OsConfig::V1\352A\225\001\n\037comput" + - "e.googleapis.com/Instance\0224projects/{pro" + - "ject}/zones/{zone}/instances/{instance}\022" + - ".google.cloud.osconfig.v1.ListOSP" + - "olicyAssignmentReportsRequest\032?.google.c" + - "loud.osconfig.v1.ListOSPolicyAssignmentR" + - "eportsResponse\"^\202\323\344\223\002O\022M/v1/{parent=proj" + - "ects/*/locations/*/instances/*/osPolicyA" + - "ssignments/*}/reports\332A\006parent\022\252\001\n\014GetIn" + - "ventory\022-.google.cloud.osconfig.v1.GetIn" + - "ventoryRequest\032#.google.cloud.osconfig.v" + - "1.Inventory\"F\202\323\344\223\0029\0227/v1/{name=projects/" + - "*/locations/*/instances/*/inventory}\332A\004n" + - "ame\022\304\001\n\017ListInventories\0220.google.cloud.o" + - "sconfig.v1.ListInventoriesRequest\0321.goog" + - "le.cloud.osconfig.v1.ListInventoriesResp" + - "onse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/loc" + - "ations/*/instances/*}/inventories\332A\006pare" + - "nt\022\322\001\n\026GetVulnerabilityReport\0227.google.c" + - "loud.osconfig.v1.GetVulnerabilityReportR" + - "equest\032-.google.cloud.osconfig.v1.Vulner" + - "abilityReport\"P\202\323\344\223\002C\022A/v1/{name=project" + - "s/*/locations/*/instances/*/vulnerabilit" + - "yReport}\332A\004name\022\350\001\n\030ListVulnerabilityRep" + - "orts\0229.google.cloud.osconfig.v1.ListVuln" + - "erabilityReportsRequest\032:.google.cloud.o" + - "sconfig.v1.ListVulnerabilityReportsRespo" + - "nse\"U\202\323\344\223\002F\022D/v1/{parent=projects/*/loca" + - "tions/*/instances/*}/vulnerabilityReport" + - "s\332A\006parent\032K\312A\027osconfig.googleapis.com\322A" + - ".https://www.googleapis.com/auth/cloud-p" + - "latformB\321\001\n\034com.google.cloud.osconfig.v1" + - "B\031OsConfigZonalServiceProtoP\001Z@google.go" + - "lang.org/genproto/googleapis/cloud/oscon" + - "fig/v1;osconfig\252\002\030Google.Cloud.OsConfig." + - "V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002\033Google::" + - "Cloud::OsConfig::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.cloud.osconfig.v1.Inventories.getDescriptor(), - com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.getDescriptor(), - com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.getDescriptor(), - com.google.cloud.osconfig.v1.VulnerabilityProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.cloud.osconfig.v1.Inventories.getDescriptor(); - com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.getDescriptor(); - com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.getDescriptor(); - com.google.cloud.osconfig.v1.VulnerabilityProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyAssignmentsProto.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyAssignmentsProto.java deleted file mode 100644 index ada12e6b..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyAssignmentsProto.java +++ /dev/null @@ -1,314 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/osconfig/v1/os_policy_assignments.proto - -package com.google.cloud.osconfig.v1; - -public final class OsPolicyAssignmentsProto { - private OsPolicyAssignmentsProto() {} - 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_osconfig_v1_OSPolicyAssignment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/osconfig/v1/os_policy_ass" + - "ignments.proto\022\030google.cloud.osconfig.v1" + - "\032\037google/api/field_behavior.proto\032\031googl" + - "e/api/resource.proto\032(google/cloud/oscon" + - "fig/v1/os_policy.proto\032.google/cloud/osc" + - "onfig/v1/osconfig_common.proto\032\036google/p" + - "rotobuf/duration.proto\032 google/protobuf/" + - "field_mask.proto\032\037google/protobuf/timest" + - "amp.proto\"\243\013\n\022OSPolicyAssignment\022\014\n\004name" + - "\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022<\n\013os_polici" + - "es\030\003 \003(\0132\".google.cloud.osconfig.v1.OSPo" + - "licyB\003\340A\002\022Y\n\017instance_filter\030\004 \001(\0132;.goo" + - "gle.cloud.osconfig.v1.OSPolicyAssignment" + - ".InstanceFilterB\003\340A\002\022J\n\007rollout\030\005 \001(\01324." + - "google.cloud.osconfig.v1.OSPolicyAssignm" + - "ent.RolloutB\003\340A\002\022\030\n\013revision_id\030\006 \001(\tB\003\340" + - "A\003\022=\n\024revision_create_time\030\007 \001(\0132\032.googl" + - "e.protobuf.TimestampB\003\340A\003\022\014\n\004etag\030\010 \001(\t\022" + - "U\n\rrollout_state\030\t \001(\01629.google.cloud.os" + - "config.v1.OSPolicyAssignment.RolloutStat" + - "eB\003\340A\003\022\025\n\010baseline\030\n \001(\010B\003\340A\003\022\024\n\007deleted" + - "\030\013 \001(\010B\003\340A\003\022\030\n\013reconciling\030\014 \001(\010B\003\340A\003\022\020\n" + - "\003uid\030\r \001(\tB\003\340A\003\032\214\001\n\010LabelSet\022Q\n\006labels\030\001" + - " \003(\0132A.google.cloud.osconfig.v1.OSPolicy" + - "Assignment.LabelSet.LabelsEntry\032-\n\013Label" + - "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\330" + - "\002\n\016InstanceFilter\022\013\n\003all\030\001 \001(\010\022O\n\020inclus" + - "ion_labels\030\002 \003(\01325.google.cloud.osconfig" + - ".v1.OSPolicyAssignment.LabelSet\022O\n\020exclu" + - "sion_labels\030\003 \003(\01325.google.cloud.osconfi" + - "g.v1.OSPolicyAssignment.LabelSet\022Z\n\013inve" + - "ntories\030\004 \003(\0132E.google.cloud.osconfig.v1" + - ".OSPolicyAssignment.InstanceFilter.Inven" + - "tory\032;\n\tInventory\022\032\n\ros_short_name\030\001 \001(\t" + - "B\003\340A\002\022\022\n\nos_version\030\002 \001(\t\032\216\001\n\007Rollout\022H\n" + - "\021disruption_budget\030\001 \001(\0132(.google.cloud." + - "osconfig.v1.FixedOrPercentB\003\340A\002\0229\n\021min_w" + - "ait_duration\030\002 \001(\0132\031.google.protobuf.Dur" + - "ationB\003\340A\002\"l\n\014RolloutState\022\035\n\031ROLLOUT_ST" + - "ATE_UNSPECIFIED\020\000\022\017\n\013IN_PROGRESS\020\001\022\016\n\nCA" + - "NCELLING\020\002\022\r\n\tCANCELLED\020\003\022\r\n\tSUCCEEDED\020\004" + - ":\204\001\352A\200\001\n*osconfig.googleapis.com/OSPolic" + - "yAssignment\022Rprojects/{project}/location" + - "s/{location}/osPolicyAssignments/{os_pol" + - "icy_assignment}\"\340\004\n#OSPolicyAssignmentOp" + - "erationMetadata\022M\n\024os_policy_assignment\030" + - "\001 \001(\tB/\372A,\n*osconfig.googleapis.com/OSPo" + - "licyAssignment\022[\n\napi_method\030\002 \001(\0162G.goo" + - "gle.cloud.osconfig.v1.OSPolicyAssignment" + - "OperationMetadata.APIMethod\022a\n\rrollout_s" + - "tate\030\003 \001(\0162J.google.cloud.osconfig.v1.OS" + - "PolicyAssignmentOperationMetadata.Rollou" + - "tState\0226\n\022rollout_start_time\030\004 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\0227\n\023rollout_update" + - "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\"" + - "K\n\tAPIMethod\022\032\n\026API_METHOD_UNSPECIFIED\020\000" + - "\022\n\n\006CREATE\020\001\022\n\n\006UPDATE\020\002\022\n\n\006DELETE\020\003\"l\n\014" + - "RolloutState\022\035\n\031ROLLOUT_STATE_UNSPECIFIE" + - "D\020\000\022\017\n\013IN_PROGRESS\020\001\022\016\n\nCANCELLING\020\002\022\r\n\t" + - "CANCELLED\020\003\022\r\n\tSUCCEEDED\020\004\"\323\001\n\037CreateOSP" + - "olicyAssignmentRequest\0229\n\006parent\030\001 \001(\tB)" + - "\340A\002\372A#\n!locations.googleapis.com/Locatio" + - "n\022O\n\024os_policy_assignment\030\002 \001(\0132,.google" + - ".cloud.osconfig.v1.OSPolicyAssignmentB\003\340" + - "A\002\022$\n\027os_policy_assignment_id\030\003 \001(\tB\003\340A\002" + - "\"\250\001\n\037UpdateOSPolicyAssignmentRequest\022O\n\024" + - "os_policy_assignment\030\001 \001(\0132,.google.clou" + - "d.osconfig.v1.OSPolicyAssignmentB\003\340A\002\0224\n" + - "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + - "ldMaskB\003\340A\001\"`\n\034GetOSPolicyAssignmentRequ" + - "est\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*osconfig.goog" + - "leapis.com/OSPolicyAssignment\"\202\001\n\036ListOS" + - "PolicyAssignmentsRequest\0229\n\006parent\030\001 \001(\t" + - "B)\340A\002\372A#\n!locations.googleapis.com/Locat" + - "ion\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" + - "(\t\"\207\001\n\037ListOSPolicyAssignmentsResponse\022K" + - "\n\025os_policy_assignments\030\001 \003(\0132,.google.c" + - "loud.osconfig.v1.OSPolicyAssignment\022\027\n\017n" + - "ext_page_token\030\002 \001(\t\"\221\001\n&ListOSPolicyAss" + - "ignmentRevisionsRequest\022@\n\004name\030\001 \001(\tB2\340" + - "A\002\372A,\n*osconfig.googleapis.com/OSPolicyA" + - "ssignment\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + - "en\030\003 \001(\t\"\217\001\n\'ListOSPolicyAssignmentRevis" + - "ionsResponse\022K\n\025os_policy_assignments\030\001 " + - "\003(\0132,.google.cloud.osconfig.v1.OSPolicyA" + - "ssignment\022\027\n\017next_page_token\030\002 \001(\t\"c\n\037De" + - "leteOSPolicyAssignmentRequest\022@\n\004name\030\001 " + - "\001(\tB2\340A\002\372A,\n*osconfig.googleapis.com/OSP" + - "olicyAssignmentB\320\001\n\034com.google.cloud.osc" + - "onfig.v1B\030OsPolicyAssignmentsProtoP\001Z@go" + - "ogle.golang.org/genproto/googleapis/clou" + - "d/osconfig/v1;osconfig\252\002\030Google.Cloud.Os" + - "Config.V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002\033G" + - "oogle::Cloud::OsConfig::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.osconfig.v1.OsPolicyProto.getDescriptor(), - com.google.cloud.osconfig.v1.Common.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor, - new java.lang.String[] { "Name", "Description", "OsPolicies", "InstanceFilter", "Rollout", "RevisionId", "RevisionCreateTime", "Etag", "RolloutState", "Baseline", "Deleted", "Reconciling", "Uid", }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor, - new java.lang.String[] { "Labels", }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor, - new java.lang.String[] { "All", "InclusionLabels", "ExclusionLabels", "Inventories", }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor, - new java.lang.String[] { "OsShortName", "OsVersion", }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor, - new java.lang.String[] { "DisruptionBudget", "MinWaitDuration", }); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor, - new java.lang.String[] { "OsPolicyAssignment", "ApiMethod", "RolloutState", "RolloutStartTime", "RolloutUpdateTime", }); - internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor, - new java.lang.String[] { "Parent", "OsPolicyAssignment", "OsPolicyAssignmentId", }); - internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor, - new java.lang.String[] { "OsPolicyAssignment", "UpdateMask", }); - internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor, - new java.lang.String[] { "OsPolicyAssignments", "NextPageToken", }); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor, - new java.lang.String[] { "Name", "PageSize", "PageToken", }); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor, - new java.lang.String[] { "OsPolicyAssignments", "NextPageToken", }); - internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.osconfig.v1.OsPolicyProto.getDescriptor(); - com.google.cloud.osconfig.v1.Common.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyProto.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyProto.java deleted file mode 100644 index 80d5ad8b..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyProto.java +++ /dev/null @@ -1,407 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/osconfig/v1/os_policy.proto - -package com.google.cloud.osconfig.v1; - -public final class OsPolicyProto { - private OsPolicyProto() {} - 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_osconfig_v1_OSPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n(google/cloud/osconfig/v1/os_policy.pro" + - "to\022\030google.cloud.osconfig.v1\032\037google/api" + - "/field_behavior.proto\"\344 \n\010OSPolicy\022\017\n\002id" + - "\030\001 \001(\tB\003\340A\002\022\023\n\013description\030\002 \001(\t\022:\n\004mode" + - "\030\003 \001(\0162\'.google.cloud.osconfig.v1.OSPoli" + - "cy.ModeB\003\340A\002\022N\n\017resource_groups\030\004 \003(\01320." + - "google.cloud.osconfig.v1.OSPolicy.Resour" + - "ceGroupB\003\340A\002\022%\n\035allow_no_resource_group_" + - "match\030\005 \001(\010\032A\n\017InventoryFilter\022\032\n\ros_sho" + - "rt_name\030\001 \001(\tB\003\340A\002\022\022\n\nos_version\030\002 \001(\t\032\326" + - "\034\n\010Resource\022\017\n\002id\030\001 \001(\tB\003\340A\002\022J\n\003pkg\030\002 \001(" + - "\0132;.google.cloud.osconfig.v1.OSPolicy.Re" + - "source.PackageResourceH\000\022T\n\nrepository\030\003" + - " \001(\0132>.google.cloud.osconfig.v1.OSPolicy" + - ".Resource.RepositoryResourceH\000\022H\n\004exec\030\004" + - " \001(\01328.google.cloud.osconfig.v1.OSPolicy" + - ".Resource.ExecResourceH\000\022H\n\004file\030\005 \001(\01328" + - ".google.cloud.osconfig.v1.OSPolicy.Resou" + - "rce.FileResourceH\000\032\306\002\n\004File\022I\n\006remote\030\001 " + - "\001(\01327.google.cloud.osconfig.v1.OSPolicy." + - "Resource.File.RemoteH\000\022C\n\003gcs\030\002 \001(\01324.go" + - "ogle.cloud.osconfig.v1.OSPolicy.Resource" + - ".File.GcsH\000\022\024\n\nlocal_path\030\003 \001(\tH\000\022\026\n\016all" + - "ow_insecure\030\004 \001(\010\0323\n\006Remote\022\020\n\003uri\030\001 \001(\t" + - "B\003\340A\002\022\027\n\017sha256_checksum\030\002 \001(\t\032C\n\003Gcs\022\023\n" + - "\006bucket\030\001 \001(\tB\003\340A\002\022\023\n\006object\030\002 \001(\tB\003\340A\002\022" + - "\022\n\ngeneration\030\003 \001(\003B\006\n\004type\032\242\t\n\017PackageR" + - "esource\022d\n\rdesired_state\030\001 \001(\0162H.google." + - "cloud.osconfig.v1.OSPolicy.Resource.Pack" + - "ageResource.DesiredStateB\003\340A\002\022N\n\003apt\030\002 \001" + - "(\0132?.google.cloud.osconfig.v1.OSPolicy.R" + - "esource.PackageResource.APTH\000\022N\n\003deb\030\003 \001" + - "(\0132?.google.cloud.osconfig.v1.OSPolicy.R" + - "esource.PackageResource.DebH\000\022N\n\003yum\030\004 \001" + - "(\0132?.google.cloud.osconfig.v1.OSPolicy.R" + - "esource.PackageResource.YUMH\000\022T\n\006zypper\030" + - "\005 \001(\0132B.google.cloud.osconfig.v1.OSPolic" + - "y.Resource.PackageResource.ZypperH\000\022N\n\003r" + - "pm\030\006 \001(\0132?.google.cloud.osconfig.v1.OSPo" + - "licy.Resource.PackageResource.RPMH\000\022T\n\006g" + - "ooget\030\007 \001(\0132B.google.cloud.osconfig.v1.O" + - "SPolicy.Resource.PackageResource.GooGetH" + - "\000\022N\n\003msi\030\010 \001(\0132?.google.cloud.osconfig.v" + - "1.OSPolicy.Resource.PackageResource.MSIH" + - "\000\032_\n\003Deb\022E\n\006source\030\001 \001(\01320.google.cloud." + - "osconfig.v1.OSPolicy.Resource.FileB\003\340A\002\022" + - "\021\n\tpull_deps\030\002 \001(\010\032\030\n\003APT\022\021\n\004name\030\001 \001(\tB" + - "\003\340A\002\032_\n\003RPM\022E\n\006source\030\001 \001(\01320.google.clo" + - "ud.osconfig.v1.OSPolicy.Resource.FileB\003\340" + - "A\002\022\021\n\tpull_deps\030\002 \001(\010\032\030\n\003YUM\022\021\n\004name\030\001 \001" + - "(\tB\003\340A\002\032\033\n\006Zypper\022\021\n\004name\030\001 \001(\tB\003\340A\002\032\033\n\006" + - "GooGet\022\021\n\004name\030\001 \001(\tB\003\340A\002\032`\n\003MSI\022E\n\006sour" + - "ce\030\001 \001(\01320.google.cloud.osconfig.v1.OSPo" + - "licy.Resource.FileB\003\340A\002\022\022\n\nproperties\030\002 " + - "\003(\t\"I\n\014DesiredState\022\035\n\031DESIRED_STATE_UNS" + - "PECIFIED\020\000\022\r\n\tINSTALLED\020\001\022\013\n\007REMOVED\020\002B\020" + - "\n\016system_package\032\270\007\n\022RepositoryResource\022" + - "[\n\003apt\030\001 \001(\0132L.google.cloud.osconfig.v1." + - "OSPolicy.Resource.RepositoryResource.Apt" + - "RepositoryH\000\022[\n\003yum\030\002 \001(\0132L.google.cloud" + - ".osconfig.v1.OSPolicy.Resource.Repositor" + - "yResource.YumRepositoryH\000\022a\n\006zypper\030\003 \001(" + - "\0132O.google.cloud.osconfig.v1.OSPolicy.Re" + - "source.RepositoryResource.ZypperReposito" + - "ryH\000\022[\n\003goo\030\004 \001(\0132L.google.cloud.osconfi" + - "g.v1.OSPolicy.Resource.RepositoryResourc" + - "e.GooRepositoryH\000\032\236\002\n\rAptRepository\022s\n\014a" + - "rchive_type\030\001 \001(\0162X.google.cloud.osconfi" + - "g.v1.OSPolicy.Resource.RepositoryResourc" + - "e.AptRepository.ArchiveTypeB\003\340A\002\022\020\n\003uri\030" + - "\002 \001(\tB\003\340A\002\022\031\n\014distribution\030\003 \001(\tB\003\340A\002\022\027\n" + - "\ncomponents\030\004 \003(\tB\003\340A\002\022\017\n\007gpg_key\030\005 \001(\t\"" + - "A\n\013ArchiveType\022\034\n\030ARCHIVE_TYPE_UNSPECIFI" + - "ED\020\000\022\007\n\003DEB\020\001\022\013\n\007DEB_SRC\020\002\032_\n\rYumReposit" + - "ory\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014display_name\030\002 \001" + - "(\t\022\025\n\010base_url\030\003 \001(\tB\003\340A\002\022\020\n\010gpg_keys\030\004 " + - "\003(\t\032b\n\020ZypperRepository\022\017\n\002id\030\001 \001(\tB\003\340A\002" + - "\022\024\n\014display_name\030\002 \001(\t\022\025\n\010base_url\030\003 \001(\t" + - "B\003\340A\002\022\020\n\010gpg_keys\030\004 \003(\t\0324\n\rGooRepository" + - "\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003url\030\002 \001(\tB\003\340A\002B\014\n" + - "\nrepository\032\371\003\n\014ExecResource\022T\n\010validate" + - "\030\001 \001(\0132=.google.cloud.osconfig.v1.OSPoli" + - "cy.Resource.ExecResource.ExecB\003\340A\002\022N\n\007en" + - "force\030\002 \001(\0132=.google.cloud.osconfig.v1.O" + - "SPolicy.Resource.ExecResource.Exec\032\302\002\n\004E" + - "xec\022@\n\004file\030\001 \001(\01320.google.cloud.osconfi" + - "g.v1.OSPolicy.Resource.FileH\000\022\020\n\006script\030" + - "\002 \001(\tH\000\022\014\n\004args\030\003 \003(\t\022c\n\013interpreter\030\004 \001" + - "(\0162I.google.cloud.osconfig.v1.OSPolicy.R" + - "esource.ExecResource.Exec.InterpreterB\003\340" + - "A\002\022\030\n\020output_file_path\030\005 \001(\t\"O\n\013Interpre" + - "ter\022\033\n\027INTERPRETER_UNSPECIFIED\020\000\022\010\n\004NONE" + - "\020\001\022\t\n\005SHELL\020\002\022\016\n\nPOWERSHELL\020\003B\010\n\006source\032" + - "\314\002\n\014FileResource\022@\n\004file\030\001 \001(\01320.google." + - "cloud.osconfig.v1.OSPolicy.Resource.File" + - "H\000\022\021\n\007content\030\002 \001(\tH\000\022\021\n\004path\030\003 \001(\tB\003\340A\002" + - "\022Y\n\005state\030\004 \001(\0162E.google.cloud.osconfig." + - "v1.OSPolicy.Resource.FileResource.Desire" + - "dStateB\003\340A\002\022\023\n\013permissions\030\005 \001(\t\"Z\n\014Desi" + - "redState\022\035\n\031DESIRED_STATE_UNSPECIFIED\020\000\022" + - "\013\n\007PRESENT\020\001\022\n\n\006ABSENT\020\002\022\022\n\016CONTENTS_MAT" + - "CH\020\003B\010\n\006sourceB\017\n\rresource_type\032\243\001\n\rReso" + - "urceGroup\022M\n\021inventory_filters\030\001 \003(\01322.g" + - "oogle.cloud.osconfig.v1.OSPolicy.Invento" + - "ryFilter\022C\n\tresources\030\002 \003(\0132+.google.clo" + - "ud.osconfig.v1.OSPolicy.ResourceB\003\340A\002\"=\n" + - "\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\016\n\nVALIDATIO" + - "N\020\001\022\017\n\013ENFORCEMENT\020\002B\305\001\n\034com.google.clou" + - "d.osconfig.v1B\rOsPolicyProtoP\001Z@google.g" + - "olang.org/genproto/googleapis/cloud/osco" + - "nfig/v1;osconfig\252\002\030Google.Cloud.OsConfig" + - ".V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002\033Google:" + - ":Cloud::OsConfig::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1_OSPolicy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor, - new java.lang.String[] { "Id", "Description", "Mode", "ResourceGroups", "AllowNoResourceGroupMatch", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor, - new java.lang.String[] { "OsShortName", "OsVersion", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor, - new java.lang.String[] { "Id", "Pkg", "Repository", "Exec", "File", "ResourceType", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor, - new java.lang.String[] { "Remote", "Gcs", "LocalPath", "AllowInsecure", "Type", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor, - new java.lang.String[] { "Uri", "Sha256Checksum", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor, - new java.lang.String[] { "Bucket", "Object", "Generation", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor, - new java.lang.String[] { "DesiredState", "Apt", "Deb", "Yum", "Zypper", "Rpm", "Googet", "Msi", "SystemPackage", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor, - new java.lang.String[] { "Source", "PullDeps", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor, - new java.lang.String[] { "Source", "PullDeps", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor, - new java.lang.String[] { "Source", "Properties", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor, - new java.lang.String[] { "Apt", "Yum", "Zypper", "Goo", "Repository", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor, - new java.lang.String[] { "ArchiveType", "Uri", "Distribution", "Components", "GpgKey", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor, - new java.lang.String[] { "Id", "DisplayName", "BaseUrl", "GpgKeys", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor, - new java.lang.String[] { "Id", "DisplayName", "BaseUrl", "GpgKeys", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor, - new java.lang.String[] { "Name", "Url", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor, - new java.lang.String[] { "Validate", "Enforce", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor, - new java.lang.String[] { "File", "Script", "Args", "Interpreter", "OutputFilePath", "Source", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor, - new java.lang.String[] { "File", "Content", "Path", "State", "Permissions", "Source", }); - internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor = - internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor, - new java.lang.String[] { "InventoryFilters", "Resources", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityProto.java b/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityProto.java deleted file mode 100644 index d5443469..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityProto.java +++ /dev/null @@ -1,226 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/osconfig/v1/vulnerability.proto - -package com.google.cloud.osconfig.v1; - -public final class VulnerabilityProto { - private VulnerabilityProto() {} - 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_osconfig_v1_VulnerabilityReport_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1_CVSSv3_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n,google/cloud/osconfig/v1/vulnerability" + - ".proto\022\030google.cloud.osconfig.v1\032\037google" + - "/api/field_behavior.proto\032\031google/api/re" + - "source.proto\032\037google/protobuf/timestamp." + - "proto\"\303\010\n\023VulnerabilityReport\022\021\n\004name\030\001 " + - "\001(\tB\003\340A\003\022Y\n\017vulnerabilities\030\002 \003(\0132;.goog" + - "le.cloud.osconfig.v1.VulnerabilityReport" + - ".VulnerabilityB\003\340A\003\0224\n\013update_time\030\003 \001(\013" + - "2\032.google.protobuf.TimestampB\003\340A\003\032\202\006\n\rVu" + - "lnerability\022T\n\007details\030\001 \001(\0132C.google.cl" + - "oud.osconfig.v1.VulnerabilityReport.Vuln" + - "erability.Details\022(\n\034installed_inventory" + - "_item_ids\030\002 \003(\tB\002\030\001\022(\n\034available_invento" + - "ry_item_ids\030\003 \003(\tB\002\030\001\022/\n\013create_time\030\004 \001" + - "(\0132\032.google.protobuf.Timestamp\022/\n\013update" + - "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" + - "O\n\005items\030\006 \003(\0132@.google.cloud.osconfig.v" + - "1.VulnerabilityReport.Vulnerability.Item" + - "\032\224\002\n\007Details\022\013\n\003cve\030\001 \001(\t\022\025\n\rcvss_v2_sco" + - "re\030\002 \001(\002\0221\n\007cvss_v3\030\003 \001(\0132 .google.cloud" + - ".osconfig.v1.CVSSv3\022\020\n\010severity\030\004 \001(\t\022\023\n" + - "\013description\030\005 \001(\t\022a\n\nreferences\030\006 \003(\0132M" + - ".google.cloud.osconfig.v1.VulnerabilityR" + - "eport.Vulnerability.Details.Reference\032(\n" + - "\tReference\022\013\n\003url\030\001 \001(\t\022\016\n\006source\030\002 \001(\t\032" + - "}\n\004Item\022#\n\033installed_inventory_item_id\030\001" + - " \001(\t\022#\n\033available_inventory_item_id\030\002 \001(" + - "\t\022\025\n\rfixed_cpe_uri\030\003 \001(\t\022\024\n\014upstream_fix" + - "\030\004 \001(\t:\202\001\352A\177\n+osconfig.googleapis.com/Vu" + - "lnerabilityReport\022Pprojects/{project}/lo" + - "cations/{location}/instances/{instance}/" + - "vulnerabilityReport\"b\n\035GetVulnerabilityR" + - "eportRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+osco" + - "nfig.googleapis.com/VulnerabilityReport\"" + - "\221\001\n\037ListVulnerabilityReportsRequest\0227\n\006p" + - "arent\030\001 \001(\tB\'\340A\002\372A!\n\037compute.googleapis." + - "com/Instance\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + - "token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\211\001\n ListVuln" + - "erabilityReportsResponse\022L\n\025vulnerabilit" + - "y_reports\030\001 \003(\0132-.google.cloud.osconfig." + - "v1.VulnerabilityReport\022\027\n\017next_page_toke" + - "n\030\002 \001(\t\"\265\n\n\006CVSSv3\022\022\n\nbase_score\030\001 \001(\002\022\034" + - "\n\024exploitability_score\030\002 \001(\002\022\024\n\014impact_s" + - "core\030\003 \001(\002\022D\n\rattack_vector\030\005 \001(\0162-.goog" + - "le.cloud.osconfig.v1.CVSSv3.AttackVector" + - "\022L\n\021attack_complexity\030\006 \001(\01621.google.clo" + - "ud.osconfig.v1.CVSSv3.AttackComplexity\022P" + - "\n\023privileges_required\030\007 \001(\01623.google.clo" + - "ud.osconfig.v1.CVSSv3.PrivilegesRequired" + - "\022J\n\020user_interaction\030\010 \001(\01620.google.clou" + - "d.osconfig.v1.CVSSv3.UserInteraction\0225\n\005" + - "scope\030\t \001(\0162&.google.cloud.osconfig.v1.C" + - "VSSv3.Scope\022G\n\026confidentiality_impact\030\n " + - "\001(\0162\'.google.cloud.osconfig.v1.CVSSv3.Im" + - "pact\022A\n\020integrity_impact\030\013 \001(\0162\'.google." + - "cloud.osconfig.v1.CVSSv3.Impact\022D\n\023avail" + - "ability_impact\030\014 \001(\0162\'.google.cloud.osco" + - "nfig.v1.CVSSv3.Impact\"\231\001\n\014AttackVector\022\035" + - "\n\031ATTACK_VECTOR_UNSPECIFIED\020\000\022\031\n\025ATTACK_" + - "VECTOR_NETWORK\020\001\022\032\n\026ATTACK_VECTOR_ADJACE" + - "NT\020\002\022\027\n\023ATTACK_VECTOR_LOCAL\020\003\022\032\n\026ATTACK_" + - "VECTOR_PHYSICAL\020\004\"l\n\020AttackComplexity\022!\n" + - "\035ATTACK_COMPLEXITY_UNSPECIFIED\020\000\022\031\n\025ATTA" + - "CK_COMPLEXITY_LOW\020\001\022\032\n\026ATTACK_COMPLEXITY" + - "_HIGH\020\002\"\222\001\n\022PrivilegesRequired\022#\n\037PRIVIL" + - "EGES_REQUIRED_UNSPECIFIED\020\000\022\034\n\030PRIVILEGE" + - "S_REQUIRED_NONE\020\001\022\033\n\027PRIVILEGES_REQUIRED" + - "_LOW\020\002\022\034\n\030PRIVILEGES_REQUIRED_HIGH\020\003\"m\n\017" + - "UserInteraction\022 \n\034USER_INTERACTION_UNSP" + - "ECIFIED\020\000\022\031\n\025USER_INTERACTION_NONE\020\001\022\035\n\031" + - "USER_INTERACTION_REQUIRED\020\002\"F\n\005Scope\022\025\n\021" + - "SCOPE_UNSPECIFIED\020\000\022\023\n\017SCOPE_UNCHANGED\020\001" + - "\022\021\n\rSCOPE_CHANGED\020\002\"R\n\006Impact\022\026\n\022IMPACT_" + - "UNSPECIFIED\020\000\022\017\n\013IMPACT_HIGH\020\001\022\016\n\nIMPACT" + - "_LOW\020\002\022\017\n\013IMPACT_NONE\020\003B\312\001\n\034com.google.c" + - "loud.osconfig.v1B\022VulnerabilityProtoP\001Z@" + - "google.golang.org/genproto/googleapis/cl" + - "oud/osconfig/v1;osconfig\252\002\030Google.Cloud." + - "OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002" + - "\033Google::Cloud::OsConfig::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor, - new java.lang.String[] { "Name", "Vulnerabilities", "UpdateTime", }); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor = - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor, - new java.lang.String[] { "Details", "InstalledInventoryItemIds", "AvailableInventoryItemIds", "CreateTime", "UpdateTime", "Items", }); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor = - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor, - new java.lang.String[] { "Cve", "CvssV2Score", "CvssV3", "Severity", "Description", "References", }); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor = - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor, - new java.lang.String[] { "Url", "Source", }); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor = - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor, - new java.lang.String[] { "InstalledInventoryItemId", "AvailableInventoryItemId", "FixedCpeUri", "UpstreamFix", }); - internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor, - new java.lang.String[] { "VulnerabilityReports", "NextPageToken", }); - internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_osconfig_v1_CVSSv3_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor, - new java.lang.String[] { "BaseScore", "ExploitabilityScore", "ImpactScore", "AttackVector", "AttackComplexity", "PrivilegesRequired", "UserInteraction", "Scope", "ConfidentialityImpact", "IntegrityImpact", "AvailabilityImpact", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1alpha/grpc-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceGrpc.java b/owl-bot-staging/v1alpha/grpc-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceGrpc.java deleted file mode 100644 index b95bb84c..00000000 --- a/owl-bot-staging/v1alpha/grpc-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceGrpc.java +++ /dev/null @@ -1,1547 +0,0 @@ -package com.google.cloud.osconfig.v1alpha; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Zonal OS Config API
- * The OS Config service is the server-side component that allows users to
- * manage package installations and patch jobs for Compute Engine VM instances.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/osconfig/v1alpha/osconfig_zonal_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class OsConfigZonalServiceGrpc { - - private OsConfigZonalServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.osconfig.v1alpha.OsConfigZonalService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateOSPolicyAssignmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateOSPolicyAssignment", - requestType = com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateOSPolicyAssignmentMethod() { - io.grpc.MethodDescriptor getCreateOSPolicyAssignmentMethod; - if ((getCreateOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getCreateOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod) == null) { - OsConfigZonalServiceGrpc.getCreateOSPolicyAssignmentMethod = getCreateOSPolicyAssignmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateOSPolicyAssignment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("CreateOSPolicyAssignment")) - .build(); - } - } - } - return getCreateOSPolicyAssignmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateOSPolicyAssignmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateOSPolicyAssignment", - requestType = com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateOSPolicyAssignmentMethod() { - io.grpc.MethodDescriptor getUpdateOSPolicyAssignmentMethod; - if ((getUpdateOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getUpdateOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod) == null) { - OsConfigZonalServiceGrpc.getUpdateOSPolicyAssignmentMethod = getUpdateOSPolicyAssignmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateOSPolicyAssignment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("UpdateOSPolicyAssignment")) - .build(); - } - } - } - return getUpdateOSPolicyAssignmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetOSPolicyAssignmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetOSPolicyAssignment", - requestType = com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetOSPolicyAssignmentMethod() { - io.grpc.MethodDescriptor getGetOSPolicyAssignmentMethod; - if ((getGetOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getGetOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod) == null) { - OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentMethod = getGetOSPolicyAssignmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOSPolicyAssignment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("GetOSPolicyAssignment")) - .build(); - } - } - } - return getGetOSPolicyAssignmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getListOSPolicyAssignmentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignments", - requestType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListOSPolicyAssignmentsMethod() { - io.grpc.MethodDescriptor getListOSPolicyAssignmentsMethod; - if ((getListOSPolicyAssignmentsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListOSPolicyAssignmentsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod) == null) { - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentsMethod = getListOSPolicyAssignmentsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListOSPolicyAssignments")) - .build(); - } - } - } - return getListOSPolicyAssignmentsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListOSPolicyAssignmentRevisionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignmentRevisions", - requestType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListOSPolicyAssignmentRevisionsMethod() { - io.grpc.MethodDescriptor getListOSPolicyAssignmentRevisionsMethod; - if ((getListOSPolicyAssignmentRevisionsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListOSPolicyAssignmentRevisionsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod) == null) { - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentRevisionsMethod = getListOSPolicyAssignmentRevisionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignmentRevisions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListOSPolicyAssignmentRevisions")) - .build(); - } - } - } - return getListOSPolicyAssignmentRevisionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteOSPolicyAssignmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteOSPolicyAssignment", - requestType = com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteOSPolicyAssignmentMethod() { - io.grpc.MethodDescriptor getDeleteOSPolicyAssignmentMethod; - if ((getDeleteOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getDeleteOSPolicyAssignmentMethod = OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod) == null) { - OsConfigZonalServiceGrpc.getDeleteOSPolicyAssignmentMethod = getDeleteOSPolicyAssignmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteOSPolicyAssignment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("DeleteOSPolicyAssignment")) - .build(); - } - } - } - return getDeleteOSPolicyAssignmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetInstanceOSPoliciesComplianceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInstanceOSPoliciesCompliance", - requestType = com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetInstanceOSPoliciesComplianceMethod() { - io.grpc.MethodDescriptor getGetInstanceOSPoliciesComplianceMethod; - if ((getGetInstanceOSPoliciesComplianceMethod = OsConfigZonalServiceGrpc.getGetInstanceOSPoliciesComplianceMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getGetInstanceOSPoliciesComplianceMethod = OsConfigZonalServiceGrpc.getGetInstanceOSPoliciesComplianceMethod) == null) { - OsConfigZonalServiceGrpc.getGetInstanceOSPoliciesComplianceMethod = getGetInstanceOSPoliciesComplianceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstanceOSPoliciesCompliance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("GetInstanceOSPoliciesCompliance")) - .build(); - } - } - } - return getGetInstanceOSPoliciesComplianceMethod; - } - - private static volatile io.grpc.MethodDescriptor getListInstanceOSPoliciesCompliancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInstanceOSPoliciesCompliances", - requestType = com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListInstanceOSPoliciesCompliancesMethod() { - io.grpc.MethodDescriptor getListInstanceOSPoliciesCompliancesMethod; - if ((getListInstanceOSPoliciesCompliancesMethod = OsConfigZonalServiceGrpc.getListInstanceOSPoliciesCompliancesMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListInstanceOSPoliciesCompliancesMethod = OsConfigZonalServiceGrpc.getListInstanceOSPoliciesCompliancesMethod) == null) { - OsConfigZonalServiceGrpc.getListInstanceOSPoliciesCompliancesMethod = getListInstanceOSPoliciesCompliancesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstanceOSPoliciesCompliances")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListInstanceOSPoliciesCompliances")) - .build(); - } - } - } - return getListInstanceOSPoliciesCompliancesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetOSPolicyAssignmentReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetOSPolicyAssignmentReport", - requestType = com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetOSPolicyAssignmentReportMethod() { - io.grpc.MethodDescriptor getGetOSPolicyAssignmentReportMethod; - if ((getGetOSPolicyAssignmentReportMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getGetOSPolicyAssignmentReportMethod = OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod) == null) { - OsConfigZonalServiceGrpc.getGetOSPolicyAssignmentReportMethod = getGetOSPolicyAssignmentReportMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOSPolicyAssignmentReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("GetOSPolicyAssignmentReport")) - .build(); - } - } - } - return getGetOSPolicyAssignmentReportMethod; - } - - private static volatile io.grpc.MethodDescriptor getListOSPolicyAssignmentReportsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListOSPolicyAssignmentReports", - requestType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListOSPolicyAssignmentReportsMethod() { - io.grpc.MethodDescriptor getListOSPolicyAssignmentReportsMethod; - if ((getListOSPolicyAssignmentReportsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListOSPolicyAssignmentReportsMethod = OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod) == null) { - OsConfigZonalServiceGrpc.getListOSPolicyAssignmentReportsMethod = getListOSPolicyAssignmentReportsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOSPolicyAssignmentReports")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListOSPolicyAssignmentReports")) - .build(); - } - } - } - return getListOSPolicyAssignmentReportsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetInventoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInventory", - requestType = com.google.cloud.osconfig.v1alpha.GetInventoryRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.Inventory.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetInventoryMethod() { - io.grpc.MethodDescriptor getGetInventoryMethod; - if ((getGetInventoryMethod = OsConfigZonalServiceGrpc.getGetInventoryMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getGetInventoryMethod = OsConfigZonalServiceGrpc.getGetInventoryMethod) == null) { - OsConfigZonalServiceGrpc.getGetInventoryMethod = getGetInventoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInventory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.GetInventoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.Inventory.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("GetInventory")) - .build(); - } - } - } - return getGetInventoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getListInventoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInventories", - requestType = com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListInventoriesMethod() { - io.grpc.MethodDescriptor getListInventoriesMethod; - if ((getListInventoriesMethod = OsConfigZonalServiceGrpc.getListInventoriesMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListInventoriesMethod = OsConfigZonalServiceGrpc.getListInventoriesMethod) == null) { - OsConfigZonalServiceGrpc.getListInventoriesMethod = getListInventoriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInventories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListInventories")) - .build(); - } - } - } - return getListInventoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetVulnerabilityReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVulnerabilityReport", - requestType = com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.VulnerabilityReport.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetVulnerabilityReportMethod() { - io.grpc.MethodDescriptor getGetVulnerabilityReportMethod; - if ((getGetVulnerabilityReportMethod = OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getGetVulnerabilityReportMethod = OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod) == null) { - OsConfigZonalServiceGrpc.getGetVulnerabilityReportMethod = getGetVulnerabilityReportMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVulnerabilityReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("GetVulnerabilityReport")) - .build(); - } - } - } - return getGetVulnerabilityReportMethod; - } - - private static volatile io.grpc.MethodDescriptor getListVulnerabilityReportsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVulnerabilityReports", - requestType = com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.class, - responseType = com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListVulnerabilityReportsMethod() { - io.grpc.MethodDescriptor getListVulnerabilityReportsMethod; - if ((getListVulnerabilityReportsMethod = OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod) == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - if ((getListVulnerabilityReportsMethod = OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod) == null) { - OsConfigZonalServiceGrpc.getListVulnerabilityReportsMethod = getListVulnerabilityReportsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVulnerabilityReports")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigZonalServiceMethodDescriptorSupplier("ListVulnerabilityReports")) - .build(); - } - } - } - return getListVulnerabilityReportsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static OsConfigZonalServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigZonalServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceStub(channel, callOptions); - } - }; - return OsConfigZonalServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static OsConfigZonalServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigZonalServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceBlockingStub(channel, callOptions); - } - }; - return OsConfigZonalServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static OsConfigZonalServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigZonalServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceFutureStub(channel, callOptions); - } - }; - return OsConfigZonalServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * Zonal OS Config API
-   * The OS Config service is the server-side component that allows users to
-   * manage package installations and patch jobs for Compute Engine VM instances.
-   * 
- */ - public static abstract class OsConfigZonalServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Create an OS policy assignment.
-     * This method also creates the first revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void createOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateOSPolicyAssignmentMethod(), responseObserver); - } - - /** - *
-     * Update an existing OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void updateOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateOSPolicyAssignmentMethod(), responseObserver); - } - - /** - *
-     * Retrieve an existing OS policy assignment.
-     * This method always returns the latest revision. In order to retrieve a
-     * previous revision of the assignment, also provide the revision ID in the
-     * `name` parameter.
-     * 
- */ - public void getOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetOSPolicyAssignmentMethod(), responseObserver); - } - - /** - *
-     * List the OS policy assignments under the parent resource.
-     * For each OS policy assignment, the latest revision is returned.
-     * 
- */ - public void listOSPolicyAssignments(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOSPolicyAssignmentsMethod(), responseObserver); - } - - /** - *
-     * List the OS policy assignment revisions for a given OS policy assignment.
-     * 
- */ - public void listOSPolicyAssignmentRevisions(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOSPolicyAssignmentRevisionsMethod(), responseObserver); - } - - /** - *
-     * Delete the OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * If the LRO completes and is not cancelled, all revisions associated with
-     * the OS policy assignment are deleted.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void deleteOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteOSPolicyAssignmentMethod(), responseObserver); - } - - /** - *
-     * Get OS policies compliance data for the specified Compute Engine VM
-     * instance.
-     * 
- */ - @java.lang.Deprecated - public void getInstanceOSPoliciesCompliance(com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceOSPoliciesComplianceMethod(), responseObserver); - } - - /** - *
-     * List OS policies compliance data for all Compute Engine VM instances in the
-     * specified zone.
-     * 
- */ - @java.lang.Deprecated - public void listInstanceOSPoliciesCompliances(com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstanceOSPoliciesCompliancesMethod(), responseObserver); - } - - /** - *
-     * Get the OS policy asssignment report for the specified Compute Engine VM
-     * instance.
-     * 
- */ - public void getOSPolicyAssignmentReport(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetOSPolicyAssignmentReportMethod(), responseObserver); - } - - /** - *
-     * List OS policy asssignment reports for all Compute Engine VM instances in
-     * the specified zone.
-     * 
- */ - public void listOSPolicyAssignmentReports(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOSPolicyAssignmentReportsMethod(), responseObserver); - } - - /** - *
-     * Get inventory data for the specified VM instance. If the VM has no
-     * associated inventory, the message `NOT_FOUND` is returned.
-     * 
- */ - public void getInventory(com.google.cloud.osconfig.v1alpha.GetInventoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInventoryMethod(), responseObserver); - } - - /** - *
-     * List inventory data for all VM instances in the specified zone.
-     * 
- */ - public void listInventories(com.google.cloud.osconfig.v1alpha.ListInventoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInventoriesMethod(), responseObserver); - } - - /** - *
-     * Gets the vulnerability report for the specified VM instance. Only VMs with
-     * inventory data have vulnerability reports associated with them.
-     * 
- */ - public void getVulnerabilityReport(com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVulnerabilityReportMethod(), responseObserver); - } - - /** - *
-     * List vulnerability reports for all VM instances in the specified zone.
-     * 
- */ - public void listVulnerabilityReports(com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVulnerabilityReportsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateOSPolicyAssignmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_OSPOLICY_ASSIGNMENT))) - .addMethod( - getUpdateOSPolicyAssignmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_OSPOLICY_ASSIGNMENT))) - .addMethod( - getGetOSPolicyAssignmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment>( - this, METHODID_GET_OSPOLICY_ASSIGNMENT))) - .addMethod( - getListOSPolicyAssignmentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse>( - this, METHODID_LIST_OSPOLICY_ASSIGNMENTS))) - .addMethod( - getListOSPolicyAssignmentRevisionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse>( - this, METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS))) - .addMethod( - getDeleteOSPolicyAssignmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_OSPOLICY_ASSIGNMENT))) - .addMethod( - getGetInstanceOSPoliciesComplianceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest, - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance>( - this, METHODID_GET_INSTANCE_OSPOLICIES_COMPLIANCE))) - .addMethod( - getListInstanceOSPoliciesCompliancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest, - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse>( - this, METHODID_LIST_INSTANCE_OSPOLICIES_COMPLIANCES))) - .addMethod( - getGetOSPolicyAssignmentReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest, - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport>( - this, METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT))) - .addMethod( - getListOSPolicyAssignmentReportsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest, - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse>( - this, METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS))) - .addMethod( - getGetInventoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.GetInventoryRequest, - com.google.cloud.osconfig.v1alpha.Inventory>( - this, METHODID_GET_INVENTORY))) - .addMethod( - getListInventoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.ListInventoriesRequest, - com.google.cloud.osconfig.v1alpha.ListInventoriesResponse>( - this, METHODID_LIST_INVENTORIES))) - .addMethod( - getGetVulnerabilityReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest, - com.google.cloud.osconfig.v1alpha.VulnerabilityReport>( - this, METHODID_GET_VULNERABILITY_REPORT))) - .addMethod( - getListVulnerabilityReportsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest, - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse>( - this, METHODID_LIST_VULNERABILITY_REPORTS))) - .build(); - } - } - - /** - *
-   * Zonal OS Config API
-   * The OS Config service is the server-side component that allows users to
-   * manage package installations and patch jobs for Compute Engine VM instances.
-   * 
- */ - public static final class OsConfigZonalServiceStub extends io.grpc.stub.AbstractAsyncStub { - private OsConfigZonalServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigZonalServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceStub(channel, callOptions); - } - - /** - *
-     * Create an OS policy assignment.
-     * This method also creates the first revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void createOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateOSPolicyAssignmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Update an existing OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void updateOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateOSPolicyAssignmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieve an existing OS policy assignment.
-     * This method always returns the latest revision. In order to retrieve a
-     * previous revision of the assignment, also provide the revision ID in the
-     * `name` parameter.
-     * 
- */ - public void getOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetOSPolicyAssignmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * List the OS policy assignments under the parent resource.
-     * For each OS policy assignment, the latest revision is returned.
-     * 
- */ - public void listOSPolicyAssignments(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * List the OS policy assignment revisions for a given OS policy assignment.
-     * 
- */ - public void listOSPolicyAssignmentRevisions(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentRevisionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Delete the OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * If the LRO completes and is not cancelled, all revisions associated with
-     * the OS policy assignment are deleted.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public void deleteOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteOSPolicyAssignmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get OS policies compliance data for the specified Compute Engine VM
-     * instance.
-     * 
- */ - @java.lang.Deprecated - public void getInstanceOSPoliciesCompliance(com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceOSPoliciesComplianceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * List OS policies compliance data for all Compute Engine VM instances in the
-     * specified zone.
-     * 
- */ - @java.lang.Deprecated - public void listInstanceOSPoliciesCompliances(com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstanceOSPoliciesCompliancesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get the OS policy asssignment report for the specified Compute Engine VM
-     * instance.
-     * 
- */ - public void getOSPolicyAssignmentReport(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetOSPolicyAssignmentReportMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * List OS policy asssignment reports for all Compute Engine VM instances in
-     * the specified zone.
-     * 
- */ - public void listOSPolicyAssignmentReports(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentReportsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get inventory data for the specified VM instance. If the VM has no
-     * associated inventory, the message `NOT_FOUND` is returned.
-     * 
- */ - public void getInventory(com.google.cloud.osconfig.v1alpha.GetInventoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInventoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * List inventory data for all VM instances in the specified zone.
-     * 
- */ - public void listInventories(com.google.cloud.osconfig.v1alpha.ListInventoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInventoriesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the vulnerability report for the specified VM instance. Only VMs with
-     * inventory data have vulnerability reports associated with them.
-     * 
- */ - public void getVulnerabilityReport(com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVulnerabilityReportMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * List vulnerability reports for all VM instances in the specified zone.
-     * 
- */ - public void listVulnerabilityReports(com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVulnerabilityReportsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * Zonal OS Config API
-   * The OS Config service is the server-side component that allows users to
-   * manage package installations and patch jobs for Compute Engine VM instances.
-   * 
- */ - public static final class OsConfigZonalServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private OsConfigZonalServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigZonalServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Create an OS policy assignment.
-     * This method also creates the first revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.longrunning.Operation createOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateOSPolicyAssignmentMethod(), getCallOptions(), request); - } - - /** - *
-     * Update an existing OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.longrunning.Operation updateOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateOSPolicyAssignmentMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieve an existing OS policy assignment.
-     * This method always returns the latest revision. In order to retrieve a
-     * previous revision of the assignment, also provide the revision ID in the
-     * `name` parameter.
-     * 
- */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetOSPolicyAssignmentMethod(), getCallOptions(), request); - } - - /** - *
-     * List the OS policy assignments under the parent resource.
-     * For each OS policy assignment, the latest revision is returned.
-     * 
- */ - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse listOSPolicyAssignments(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListOSPolicyAssignmentsMethod(), getCallOptions(), request); - } - - /** - *
-     * List the OS policy assignment revisions for a given OS policy assignment.
-     * 
- */ - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse listOSPolicyAssignmentRevisions(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListOSPolicyAssignmentRevisionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Delete the OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * If the LRO completes and is not cancelled, all revisions associated with
-     * the OS policy assignment are deleted.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.longrunning.Operation deleteOSPolicyAssignment(com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteOSPolicyAssignmentMethod(), getCallOptions(), request); - } - - /** - *
-     * Get OS policies compliance data for the specified Compute Engine VM
-     * instance.
-     * 
- */ - @java.lang.Deprecated - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance getInstanceOSPoliciesCompliance(com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInstanceOSPoliciesComplianceMethod(), getCallOptions(), request); - } - - /** - *
-     * List OS policies compliance data for all Compute Engine VM instances in the
-     * specified zone.
-     * 
- */ - @java.lang.Deprecated - public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse listInstanceOSPoliciesCompliances(com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInstanceOSPoliciesCompliancesMethod(), getCallOptions(), request); - } - - /** - *
-     * Get the OS policy asssignment report for the specified Compute Engine VM
-     * instance.
-     * 
- */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getOSPolicyAssignmentReport(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetOSPolicyAssignmentReportMethod(), getCallOptions(), request); - } - - /** - *
-     * List OS policy asssignment reports for all Compute Engine VM instances in
-     * the specified zone.
-     * 
- */ - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse listOSPolicyAssignmentReports(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListOSPolicyAssignmentReportsMethod(), getCallOptions(), request); - } - - /** - *
-     * Get inventory data for the specified VM instance. If the VM has no
-     * associated inventory, the message `NOT_FOUND` is returned.
-     * 
- */ - public com.google.cloud.osconfig.v1alpha.Inventory getInventory(com.google.cloud.osconfig.v1alpha.GetInventoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInventoryMethod(), getCallOptions(), request); - } - - /** - *
-     * List inventory data for all VM instances in the specified zone.
-     * 
- */ - public com.google.cloud.osconfig.v1alpha.ListInventoriesResponse listInventories(com.google.cloud.osconfig.v1alpha.ListInventoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInventoriesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the vulnerability report for the specified VM instance. Only VMs with
-     * inventory data have vulnerability reports associated with them.
-     * 
- */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport getVulnerabilityReport(com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVulnerabilityReportMethod(), getCallOptions(), request); - } - - /** - *
-     * List vulnerability reports for all VM instances in the specified zone.
-     * 
- */ - public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse listVulnerabilityReports(com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVulnerabilityReportsMethod(), getCallOptions(), request); - } - } - - /** - *
-   * Zonal OS Config API
-   * The OS Config service is the server-side component that allows users to
-   * manage package installations and patch jobs for Compute Engine VM instances.
-   * 
- */ - public static final class OsConfigZonalServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private OsConfigZonalServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigZonalServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigZonalServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Create an OS policy assignment.
-     * This method also creates the first revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateOSPolicyAssignmentMethod(), getCallOptions()), request); - } - - /** - *
-     * Update an existing OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateOSPolicyAssignmentMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieve an existing OS policy assignment.
-     * This method always returns the latest revision. In order to retrieve a
-     * previous revision of the assignment, also provide the revision ID in the
-     * `name` parameter.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetOSPolicyAssignmentMethod(), getCallOptions()), request); - } - - /** - *
-     * List the OS policy assignments under the parent resource.
-     * For each OS policy assignment, the latest revision is returned.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listOSPolicyAssignments( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentsMethod(), getCallOptions()), request); - } - - /** - *
-     * List the OS policy assignment revisions for a given OS policy assignment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listOSPolicyAssignmentRevisions( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentRevisionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Delete the OS policy assignment.
-     * This method creates a new revision of the OS policy assignment.
-     * This method returns a long running operation (LRO) that contains the
-     * rollout details. The rollout can be cancelled by cancelling the LRO.
-     * If the LRO completes and is not cancelled, all revisions associated with
-     * the OS policy assignment are deleted.
-     * For more information, see [Method:
-     * projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteOSPolicyAssignment( - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteOSPolicyAssignmentMethod(), getCallOptions()), request); - } - - /** - *
-     * Get OS policies compliance data for the specified Compute Engine VM
-     * instance.
-     * 
- */ - @java.lang.Deprecated - public com.google.common.util.concurrent.ListenableFuture getInstanceOSPoliciesCompliance( - com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInstanceOSPoliciesComplianceMethod(), getCallOptions()), request); - } - - /** - *
-     * List OS policies compliance data for all Compute Engine VM instances in the
-     * specified zone.
-     * 
- */ - @java.lang.Deprecated - public com.google.common.util.concurrent.ListenableFuture listInstanceOSPoliciesCompliances( - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInstanceOSPoliciesCompliancesMethod(), getCallOptions()), request); - } - - /** - *
-     * Get the OS policy asssignment report for the specified Compute Engine VM
-     * instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getOSPolicyAssignmentReport( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetOSPolicyAssignmentReportMethod(), getCallOptions()), request); - } - - /** - *
-     * List OS policy asssignment reports for all Compute Engine VM instances in
-     * the specified zone.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listOSPolicyAssignmentReports( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListOSPolicyAssignmentReportsMethod(), getCallOptions()), request); - } - - /** - *
-     * Get inventory data for the specified VM instance. If the VM has no
-     * associated inventory, the message `NOT_FOUND` is returned.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getInventory( - com.google.cloud.osconfig.v1alpha.GetInventoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInventoryMethod(), getCallOptions()), request); - } - - /** - *
-     * List inventory data for all VM instances in the specified zone.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listInventories( - com.google.cloud.osconfig.v1alpha.ListInventoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInventoriesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the vulnerability report for the specified VM instance. Only VMs with
-     * inventory data have vulnerability reports associated with them.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getVulnerabilityReport( - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVulnerabilityReportMethod(), getCallOptions()), request); - } - - /** - *
-     * List vulnerability reports for all VM instances in the specified zone.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listVulnerabilityReports( - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVulnerabilityReportsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_OSPOLICY_ASSIGNMENT = 0; - private static final int METHODID_UPDATE_OSPOLICY_ASSIGNMENT = 1; - private static final int METHODID_GET_OSPOLICY_ASSIGNMENT = 2; - private static final int METHODID_LIST_OSPOLICY_ASSIGNMENTS = 3; - private static final int METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS = 4; - private static final int METHODID_DELETE_OSPOLICY_ASSIGNMENT = 5; - private static final int METHODID_GET_INSTANCE_OSPOLICIES_COMPLIANCE = 6; - private static final int METHODID_LIST_INSTANCE_OSPOLICIES_COMPLIANCES = 7; - private static final int METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT = 8; - private static final int METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS = 9; - private static final int METHODID_GET_INVENTORY = 10; - private static final int METHODID_LIST_INVENTORIES = 11; - private static final int METHODID_GET_VULNERABILITY_REPORT = 12; - private static final int METHODID_LIST_VULNERABILITY_REPORTS = 13; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final OsConfigZonalServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(OsConfigZonalServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_OSPOLICY_ASSIGNMENT: - serviceImpl.createOSPolicyAssignment((com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_OSPOLICY_ASSIGNMENT: - serviceImpl.updateOSPolicyAssignment((com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_OSPOLICY_ASSIGNMENT: - serviceImpl.getOSPolicyAssignment((com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_OSPOLICY_ASSIGNMENTS: - serviceImpl.listOSPolicyAssignments((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_OSPOLICY_ASSIGNMENT_REVISIONS: - serviceImpl.listOSPolicyAssignmentRevisions((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_OSPOLICY_ASSIGNMENT: - serviceImpl.deleteOSPolicyAssignment((com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_INSTANCE_OSPOLICIES_COMPLIANCE: - serviceImpl.getInstanceOSPoliciesCompliance((com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_INSTANCE_OSPOLICIES_COMPLIANCES: - serviceImpl.listInstanceOSPoliciesCompliances((com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_OSPOLICY_ASSIGNMENT_REPORT: - serviceImpl.getOSPolicyAssignmentReport((com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_OSPOLICY_ASSIGNMENT_REPORTS: - serviceImpl.listOSPolicyAssignmentReports((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_INVENTORY: - serviceImpl.getInventory((com.google.cloud.osconfig.v1alpha.GetInventoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_INVENTORIES: - serviceImpl.listInventories((com.google.cloud.osconfig.v1alpha.ListInventoriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_VULNERABILITY_REPORT: - serviceImpl.getVulnerabilityReport((com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_VULNERABILITY_REPORTS: - serviceImpl.listVulnerabilityReports((com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class OsConfigZonalServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - OsConfigZonalServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("OsConfigZonalService"); - } - } - - private static final class OsConfigZonalServiceFileDescriptorSupplier - extends OsConfigZonalServiceBaseDescriptorSupplier { - OsConfigZonalServiceFileDescriptorSupplier() {} - } - - private static final class OsConfigZonalServiceMethodDescriptorSupplier - extends OsConfigZonalServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - OsConfigZonalServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (OsConfigZonalServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new OsConfigZonalServiceFileDescriptorSupplier()) - .addMethod(getCreateOSPolicyAssignmentMethod()) - .addMethod(getUpdateOSPolicyAssignmentMethod()) - .addMethod(getGetOSPolicyAssignmentMethod()) - .addMethod(getListOSPolicyAssignmentsMethod()) - .addMethod(getListOSPolicyAssignmentRevisionsMethod()) - .addMethod(getDeleteOSPolicyAssignmentMethod()) - .addMethod(getGetInstanceOSPoliciesComplianceMethod()) - .addMethod(getListInstanceOSPoliciesCompliancesMethod()) - .addMethod(getGetOSPolicyAssignmentReportMethod()) - .addMethod(getListOSPolicyAssignmentReportsMethod()) - .addMethod(getGetInventoryMethod()) - .addMethod(getListInventoriesMethod()) - .addMethod(getGetVulnerabilityReportMethod()) - .addMethod(getListVulnerabilityReportsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java deleted file mode 100644 index a397aedb..00000000 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/osconfig/v1alpha/osconfig_common.proto - -package com.google.cloud.osconfig.v1alpha; - -public final class Common { - private Common() {} - 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_osconfig_v1alpha_FixedOrPercent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_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/osconfig/v1alpha/osconfig" + - "_common.proto\022\035google.cloud.osconfig.v1a" + - "lpha\032\034google/api/annotations.proto\"<\n\016Fi" + - "xedOrPercent\022\017\n\005fixed\030\001 \001(\005H\000\022\021\n\007percent" + - "\030\002 \001(\005H\000B\006\n\004modeB\327\001\n!com.google.cloud.os" + - "config.v1alphaB\006CommonP\001ZEgoogle.golang." + - "org/genproto/googleapis/cloud/osconfig/v" + - "1alpha;osconfig\252\002\035Google.Cloud.OsConfig." + - "V1Alpha\312\002\035Google\\Cloud\\OsConfig\\V1alpha\352" + - "\002 Google::Cloud::OsConfig::V1alphab\006prot" + - "o3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor, - new java.lang.String[] { "Fixed", "Percent", "Mode", }); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java deleted file mode 100644 index b4f7edf6..00000000 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java +++ /dev/null @@ -1,103 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/osconfig/v1alpha/config_common.proto - -package com.google.cloud.osconfig.v1alpha; - -public final class ConfigCommonProto { - private ConfigCommonProto() {} - 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_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/osconfig/v1alpha/config_c" + - "ommon.proto\022\035google.cloud.osconfig.v1alp" + - "ha\032\034google/api/annotations.proto\"\261\003\n\032OSP" + - "olicyResourceConfigStep\022L\n\004type\030\001 \001(\0162>." + - "google.cloud.osconfig.v1alpha.OSPolicyRe" + - "sourceConfigStep.Type\022R\n\007outcome\030\002 \001(\0162A" + - ".google.cloud.osconfig.v1alpha.OSPolicyR" + - "esourceConfigStep.Outcome\022\025\n\rerror_messa" + - "ge\030\003 \001(\t\"\222\001\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022" + - "\016\n\nVALIDATION\020\001\022\027\n\023DESIRED_STATE_CHECK\020\002" + - "\022\035\n\031DESIRED_STATE_ENFORCEMENT\020\003\022(\n$DESIR" + - "ED_STATE_CHECK_POST_ENFORCEMENT\020\004\032\002\030\001\"A\n" + - "\007Outcome\022\027\n\023OUTCOME_UNSPECIFIED\020\000\022\r\n\tSUC" + - "CEEDED\020\001\022\n\n\006FAILED\020\002\032\002\030\001:\002\030\001\"\205\003\n\032OSPolic" + - "yResourceCompliance\022\035\n\025os_policy_resourc" + - "e_id\030\001 \001(\t\022O\n\014config_steps\030\002 \003(\01329.googl" + - "e.cloud.osconfig.v1alpha.OSPolicyResourc" + - "eConfigStep\022E\n\005state\030\003 \001(\01626.google.clou" + - "d.osconfig.v1alpha.OSPolicyComplianceSta" + - "te\022l\n\024exec_resource_output\030\004 \001(\0132L.googl" + - "e.cloud.osconfig.v1alpha.OSPolicyResourc" + - "eCompliance.ExecResourceOutputH\000\0324\n\022Exec" + - "ResourceOutput\022\032\n\022enforcement_output\030\002 \001" + - "(\014:\002\030\001:\002\030\001B\010\n\006output*\227\001\n\027OSPolicyComplia" + - "nceState\022*\n&OS_POLICY_COMPLIANCE_STATE_U" + - "NSPECIFIED\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n\rNON_COMPL" + - "IANT\020\002\022\013\n\007UNKNOWN\020\003\022\035\n\031NO_OS_POLICIES_AP" + - "PLICABLE\020\004\032\002\030\001B\342\001\n!com.google.cloud.osco" + - "nfig.v1alphaB\021ConfigCommonProtoP\001ZEgoogl" + - "e.golang.org/genproto/googleapis/cloud/o" + - "sconfig/v1alpha;osconfig\252\002\035Google.Cloud." + - "OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsConfig" + - "\\V1alpha\352\002 Google::Cloud::OsConfig::V1al" + - "phab\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor, - new java.lang.String[] { "Type", "Outcome", "ErrorMessage", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor, - new java.lang.String[] { "OsPolicyResourceId", "ConfigSteps", "State", "ExecResourceOutput", "Output", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor, - new java.lang.String[] { "EnforcementOutput", }); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequestOrBuilder.java deleted file mode 100644 index 96227a87..00000000 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/osconfig/v1alpha/os_policy_assignments.proto - -package com.google.cloud.osconfig.v1alpha; - -public interface DeleteOSPolicyAssignmentRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the OS policy assignment to be deleted
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the OS policy assignment to be deleted
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequestOrBuilder.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequestOrBuilder.java deleted file mode 100644 index e168d509..00000000 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/osconfig/v1alpha/os_policy_assignments.proto - -package com.google.cloud.osconfig.v1alpha; - -public interface GetOSPolicyAssignmentRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of OS policy assignment.
-   * Format:
-   * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of OS policy assignment.
-   * Format:
-   * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java deleted file mode 100644 index cc264833..00000000 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java +++ /dev/null @@ -1,153 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto - -package com.google.cloud.osconfig.v1alpha; - -public final class InstanceOSPoliciesComplianceProto { - private InstanceOSPoliciesComplianceProto() {} - 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_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\nCgoogle/cloud/osconfig/v1alpha/instance" + - "_os_policies_compliance.proto\022\035google.cl" + - "oud.osconfig.v1alpha\032\034google/api/annotat" + - "ions.proto\032\037google/api/field_behavior.pr" + - "oto\032\031google/api/resource.proto\0321google/c" + - "loud/osconfig/v1alpha/config_common.prot" + - "o\032\037google/protobuf/timestamp.proto\"\356\006\n\034I" + - "nstanceOSPoliciesCompliance\022\021\n\004name\030\001 \001(" + - "\tB\003\340A\003\022\025\n\010instance\030\002 \001(\tB\003\340A\003\022J\n\005state\030\003" + - " \001(\01626.google.cloud.osconfig.v1alpha.OSP" + - "olicyComplianceStateB\003\340A\003\022\033\n\016detailed_st" + - "ate\030\004 \001(\tB\003\340A\003\022\"\n\025detailed_state_reason\030" + - "\005 \001(\tB\003\340A\003\022r\n\025os_policy_compliances\030\006 \003(" + - "\0132N.google.cloud.osconfig.v1alpha.Instan" + - "ceOSPoliciesCompliance.OSPolicyComplianc" + - "eB\003\340A\003\022C\n\032last_compliance_check_time\030\007 \001" + - "(\0132\032.google.protobuf.TimestampB\003\340A\003\022#\n\026l" + - "ast_compliance_run_id\030\010 \001(\tB\003\340A\003\032\247\002\n\022OSP" + - "olicyCompliance\022\024\n\014os_policy_id\030\001 \001(\t\022M\n" + - "\024os_policy_assignment\030\002 \001(\tB/\372A,\n*osconf" + - "ig.googleapis.com/OSPolicyAssignment\022E\n\005" + - "state\030\004 \001(\01626.google.cloud.osconfig.v1al" + - "pha.OSPolicyComplianceState\022a\n\036os_policy" + - "_resource_compliances\030\005 \003(\01329.google.clo" + - "ud.osconfig.v1alpha.OSPolicyResourceComp" + - "liance:\002\030\001:\216\001\030\001\352A\210\001\n4osconfig.googleapis" + - ".com/InstanceOSPoliciesCompliance\022Pproje" + - "cts/{project}/locations/{location}/insta" + - "nceOSPoliciesCompliances/{instance}\"x\n&G" + - "etInstanceOSPoliciesComplianceRequest\022J\n" + - "\004name\030\001 \001(\tB<\340A\002\372A6\n4osconfig.googleapis" + - ".com/InstanceOSPoliciesCompliance:\002\030\001\"\240\001" + - "\n(ListInstanceOSPoliciesCompliancesReque" + - "st\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.go" + - "ogleapis.com/Location\022\021\n\tpage_size\030\002 \001(\005" + - "\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t:\002\030\001" + - "\"\257\001\n)ListInstanceOSPoliciesCompliancesRe" + - "sponse\022e\n instance_os_policies_complianc" + - "es\030\001 \003(\0132;.google.cloud.osconfig.v1alpha" + - ".InstanceOSPoliciesCompliance\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t:\002\030\001B\362\001\n!com.google.cloud." + - "osconfig.v1alphaB!InstanceOSPoliciesComp" + - "lianceProtoP\001ZEgoogle.golang.org/genprot" + - "o/googleapis/cloud/osconfig/v1alpha;osco" + - "nfig\252\002\035Google.Cloud.OsConfig.V1Alpha\312\002\035G" + - "oogle\\Cloud\\OsConfig\\V1alpha\352\002 Google::C" + - "loud::OsConfig::V1alphab\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.osconfig.v1alpha.ConfigCommonProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor, - new java.lang.String[] { "Name", "Instance", "State", "DetailedState", "DetailedStateReason", "OsPolicyCompliances", "LastComplianceCheckTime", "LastComplianceRunId", }); - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor = - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor, - new java.lang.String[] { "OsPolicyId", "OsPolicyAssignment", "State", "OsPolicyResourceCompliances", }); - internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor, - new java.lang.String[] { "InstanceOsPoliciesCompliances", "NextPageToken", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.osconfig.v1alpha.ConfigCommonProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java deleted file mode 100644 index dd1f3138..00000000 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java +++ /dev/null @@ -1,302 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/osconfig/v1alpha/inventory.proto - -package com.google.cloud.osconfig.v1alpha; - -public final class Inventories { - private Inventories() {} - 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_osconfig_v1alpha_Inventory_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n-google/cloud/osconfig/v1alpha/inventor" + - "y.proto\022\035google.cloud.osconfig.v1alpha\032\034" + - "google/api/annotations.proto\032\037google/api" + - "/field_behavior.proto\032\031google/api/resour" + - "ce.proto\032\037google/protobuf/timestamp.prot" + - "o\032\026google/type/date.proto\"\267\026\n\tInventory\022" + - "\021\n\004name\030\003 \001(\tB\003\340A\003\022E\n\007os_info\030\001 \001(\0132/.go" + - "ogle.cloud.osconfig.v1alpha.Inventory.Os" + - "InfoB\003\340A\003\022G\n\005items\030\002 \003(\01323.google.cloud." + - "osconfig.v1alpha.Inventory.ItemsEntryB\003\340" + - "A\003\0224\n\013update_time\030\004 \001(\0132\032.google.protobu" + - "f.TimestampB\003\340A\003\032\270\001\n\006OsInfo\022\020\n\010hostname\030" + - "\t \001(\t\022\021\n\tlong_name\030\002 \001(\t\022\022\n\nshort_name\030\003" + - " \001(\t\022\017\n\007version\030\004 \001(\t\022\024\n\014architecture\030\005 " + - "\001(\t\022\026\n\016kernel_version\030\006 \001(\t\022\026\n\016kernel_re" + - "lease\030\007 \001(\t\022\036\n\026osconfig_agent_version\030\010 " + - "\001(\t\032\313\004\n\004Item\022\n\n\002id\030\001 \001(\t\022M\n\013origin_type\030" + - "\002 \001(\01628.google.cloud.osconfig.v1alpha.In" + - "ventory.Item.OriginType\022/\n\013create_time\030\010" + - " \001(\0132\032.google.protobuf.Timestamp\022/\n\013upda" + - "te_time\030\t \001(\0132\032.google.protobuf.Timestam" + - "p\022@\n\004type\030\005 \001(\01622.google.cloud.osconfig." + - "v1alpha.Inventory.Item.Type\022U\n\021installed" + - "_package\030\006 \001(\01328.google.cloud.osconfig.v" + - "1alpha.Inventory.SoftwarePackageH\000\022U\n\021av" + - "ailable_package\030\007 \001(\01328.google.cloud.osc" + - "onfig.v1alpha.Inventory.SoftwarePackageH" + - "\000\"?\n\nOriginType\022\033\n\027ORIGIN_TYPE_UNSPECIFI" + - "ED\020\000\022\024\n\020INVENTORY_REPORT\020\001\"J\n\004Type\022\024\n\020TY" + - "PE_UNSPECIFIED\020\000\022\025\n\021INSTALLED_PACKAGE\020\001\022" + - "\025\n\021AVAILABLE_PACKAGE\020\002B\t\n\007details\032\237\006\n\017So" + - "ftwarePackage\022P\n\013yum_package\030\001 \001(\01329.goo" + - "gle.cloud.osconfig.v1alpha.Inventory.Ver" + - "sionedPackageH\000\022P\n\013apt_package\030\002 \001(\01329.g" + - "oogle.cloud.osconfig.v1alpha.Inventory.V" + - "ersionedPackageH\000\022S\n\016zypper_package\030\003 \001(" + - "\01329.google.cloud.osconfig.v1alpha.Invent" + - "ory.VersionedPackageH\000\022S\n\016googet_package" + - "\030\004 \001(\01329.google.cloud.osconfig.v1alpha.I" + - "nventory.VersionedPackageH\000\022L\n\014zypper_pa" + - "tch\030\005 \001(\01324.google.cloud.osconfig.v1alph" + - "a.Inventory.ZypperPatchH\000\022T\n\013wua_package" + - "\030\006 \001(\0132=.google.cloud.osconfig.v1alpha.I" + - "nventory.WindowsUpdatePackageH\000\022a\n\013qfe_p" + - "ackage\030\007 \001(\0132J.google.cloud.osconfig.v1a" + - "lpha.Inventory.WindowsQuickFixEngineerin" + - "gPackageH\000\022P\n\013cos_package\030\010 \001(\01329.google" + - ".cloud.osconfig.v1alpha.Inventory.Versio" + - "nedPackageH\000\022Z\n\023windows_application\030\t \001(" + - "\0132;.google.cloud.osconfig.v1alpha.Invent" + - "ory.WindowsApplicationH\000B\t\n\007details\032O\n\020V" + - "ersionedPackage\022\024\n\014package_name\030\004 \001(\t\022\024\n" + - "\014architecture\030\002 \001(\t\022\017\n\007version\030\003 \001(\t\032V\n\013" + - "ZypperPatch\022\022\n\npatch_name\030\005 \001(\t\022\020\n\010categ" + - "ory\030\002 \001(\t\022\020\n\010severity\030\003 \001(\t\022\017\n\007summary\030\004" + - " \001(\t\032\210\003\n\024WindowsUpdatePackage\022\r\n\005title\030\001" + - " \001(\t\022\023\n\013description\030\002 \001(\t\022g\n\ncategories\030" + - "\003 \003(\0132S.google.cloud.osconfig.v1alpha.In" + - "ventory.WindowsUpdatePackage.WindowsUpda" + - "teCategory\022\026\n\016kb_article_ids\030\004 \003(\t\022\023\n\013su" + - "pport_url\030\013 \001(\t\022\026\n\016more_info_urls\030\005 \003(\t\022" + - "\021\n\tupdate_id\030\006 \001(\t\022\027\n\017revision_number\030\007 " + - "\001(\005\022?\n\033last_deployment_change_time\030\n \001(\013" + - "2\032.google.protobuf.Timestamp\0321\n\025WindowsU" + - "pdateCategory\022\n\n\002id\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\032" + - "\217\001\n!WindowsQuickFixEngineeringPackage\022\017\n" + - "\007caption\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\022\n\nh" + - "ot_fix_id\030\003 \001(\t\0220\n\014install_time\030\005 \001(\0132\032." + - "google.protobuf.Timestamp\032\222\001\n\022WindowsApp" + - "lication\022\024\n\014display_name\030\001 \001(\t\022\027\n\017displa" + - "y_version\030\002 \001(\t\022\021\n\tpublisher\030\003 \001(\t\022\'\n\014in" + - "stall_date\030\004 \001(\0132\021.google.type.Date\022\021\n\th" + - "elp_link\030\005 \001(\t\032[\n\nItemsEntry\022\013\n\003key\030\001 \001(" + - "\t\022<\n\005value\030\002 \001(\0132-.google.cloud.osconfig" + - ".v1alpha.Inventory.Item:\0028\001:n\352Ak\n!osconf" + - "ig.googleapis.com/Inventory\022Fprojects/{p" + - "roject}/locations/{location}/instances/{" + - "instance}/inventory\"\212\001\n\023GetInventoryRequ" + - "est\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!osconfig.goog" + - "leapis.com/Inventory\022:\n\004view\030\002 \001(\0162,.goo" + - "gle.cloud.osconfig.v1alpha.InventoryView" + - "\"\304\001\n\026ListInventoriesRequest\0227\n\006parent\030\001 " + - "\001(\tB\'\340A\002\372A!\n\037compute.googleapis.com/Inst" + - "ance\022:\n\004view\030\002 \001(\0162,.google.cloud.osconf" + - "ig.v1alpha.InventoryView\022\021\n\tpage_size\030\003 " + - "\001(\005\022\022\n\npage_token\030\004 \001(\t\022\016\n\006filter\030\005 \001(\t\"" + - "q\n\027ListInventoriesResponse\022=\n\013inventorie" + - "s\030\001 \003(\0132(.google.cloud.osconfig.v1alpha." + - "Inventory\022\027\n\017next_page_token\030\002 \001(\t*D\n\rIn" + - "ventoryView\022\036\n\032INVENTORY_VIEW_UNSPECIFIE" + - "D\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\334\001\n!com.google." + - "cloud.osconfig.v1alphaB\013InventoriesP\001ZEg" + - "oogle.golang.org/genproto/googleapis/clo" + - "ud/osconfig/v1alpha;osconfig\252\002\035Google.Cl" + - "oud.OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsCo" + - "nfig\\V1alpha\352\002 Google::Cloud::OsConfig::" + - "V1alphab\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.DateProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_Inventory_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor, - new java.lang.String[] { "Name", "OsInfo", "Items", "UpdateTime", }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor, - new java.lang.String[] { "Hostname", "LongName", "ShortName", "Version", "Architecture", "KernelVersion", "KernelRelease", "OsconfigAgentVersion", }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor, - new java.lang.String[] { "Id", "OriginType", "CreateTime", "UpdateTime", "Type", "InstalledPackage", "AvailablePackage", "Details", }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor, - new java.lang.String[] { "YumPackage", "AptPackage", "ZypperPackage", "GoogetPackage", "ZypperPatch", "WuaPackage", "QfePackage", "CosPackage", "WindowsApplication", "Details", }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor, - new java.lang.String[] { "PackageName", "Architecture", "Version", }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor, - new java.lang.String[] { "PatchName", "Category", "Severity", "Summary", }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor, - new java.lang.String[] { "Title", "Description", "Categories", "KbArticleIds", "SupportUrl", "MoreInfoUrls", "UpdateId", "RevisionNumber", "LastDeploymentChangeTime", }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor, - new java.lang.String[] { "Id", "Name", }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor, - new java.lang.String[] { "Caption", "Description", "HotFixId", "InstallTime", }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(7); - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor, - new java.lang.String[] { "DisplayName", "DisplayVersion", "Publisher", "InstallDate", "HelpLink", }); - internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_descriptor = - internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(8); - internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor, - new java.lang.String[] { "Parent", "View", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor, - new java.lang.String[] { "Inventories", "NextPageToken", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java deleted file mode 100644 index 561312ac..00000000 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java +++ /dev/null @@ -1,213 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/osconfig/v1alpha/os_policy_assignment_reports.proto - -package com.google.cloud.osconfig.v1alpha; - -public final class OSPolicyAssignmentReportsProto { - private OSPolicyAssignmentReportsProto() {} - 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_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n@google/cloud/osconfig/v1alpha/os_polic" + - "y_assignment_reports.proto\022\035google.cloud" + - ".osconfig.v1alpha\032\034google/api/annotation" + - "s.proto\032\037google/api/field_behavior.proto" + - "\032\031google/api/resource.proto\032\037google/prot" + - "obuf/timestamp.proto\"l\n\"GetOSPolicyAssig" + - "nmentReportRequest\022F\n\004name\030\001 \001(\tB8\340A\002\372A2" + - "\n0osconfig.googleapis.com/OSPolicyAssign" + - "mentReport\"\250\001\n$ListOSPolicyAssignmentRep" + - "ortsRequest\022I\n\006parent\030\001 \001(\tB9\340A\002\372A3\n1com" + - "pute.googleapis.com/InstanceOSPolicyAssi" + - "gnment\022\021\n\tpage_size\030\002 \001(\005\022\016\n\006filter\030\003 \001(" + - "\t\022\022\n\npage_token\030\004 \001(\t\"\237\001\n%ListOSPolicyAs" + - "signmentReportsResponse\022]\n\034os_policy_ass" + - "ignment_reports\030\001 \003(\01327.google.cloud.osc" + - "onfig.v1alpha.OSPolicyAssignmentReport\022\027" + - "\n\017next_page_token\030\002 \001(\t\"\361\016\n\030OSPolicyAssi" + - "gnmentReport\022\014\n\004name\030\001 \001(\t\022\020\n\010instance\030\002" + - " \001(\t\022M\n\024os_policy_assignment\030\003 \001(\tB/\372A,\n" + - "*osconfig.googleapis.com/OSPolicyAssignm" + - "ent\022i\n\025os_policy_compliances\030\004 \003(\0132J.goo" + - "gle.cloud.osconfig.v1alpha.OSPolicyAssig" + - "nmentReport.OSPolicyCompliance\022/\n\013update" + - "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" + - "\023\n\013last_run_id\030\006 \001(\t\032\225\013\n\022OSPolicyComplia" + - "nce\022\024\n\014os_policy_id\030\001 \001(\t\022t\n\020compliance_" + - "state\030\002 \001(\0162Z.google.cloud.osconfig.v1al" + - "pha.OSPolicyAssignmentReport.OSPolicyCom" + - "pliance.ComplianceState\022\037\n\027compliance_st" + - "ate_reason\030\003 \001(\t\022\215\001\n\036os_policy_resource_" + - "compliances\030\004 \003(\0132e.google.cloud.osconfi" + - "g.v1alpha.OSPolicyAssignmentReport.OSPol" + - "icyCompliance.OSPolicyResourceCompliance" + - "\032\377\007\n\032OSPolicyResourceCompliance\022\035\n\025os_po" + - "licy_resource_id\030\001 \001(\t\022\227\001\n\014config_steps\030" + - "\002 \003(\0132\200\001.google.cloud.osconfig.v1alpha.O" + - "SPolicyAssignmentReport.OSPolicyComplian" + - "ce.OSPolicyResourceCompliance.OSPolicyRe" + - "sourceConfigStep\022\217\001\n\020compliance_state\030\003 " + - "\001(\0162u.google.cloud.osconfig.v1alpha.OSPo" + - "licyAssignmentReport.OSPolicyCompliance." + - "OSPolicyResourceCompliance.ComplianceSta" + - "te\022\037\n\027compliance_state_reason\030\004 \001(\t\022\230\001\n\024" + - "exec_resource_output\030\005 \001(\0132x.google.clou" + - "d.osconfig.v1alpha.OSPolicyAssignmentRep" + - "ort.OSPolicyCompliance.OSPolicyResourceC" + - "ompliance.ExecResourceOutputH\000\032\333\002\n\032OSPol" + - "icyResourceConfigStep\022\224\001\n\004type\030\001 \001(\0162\205\001." + - "google.cloud.osconfig.v1alpha.OSPolicyAs" + - "signmentReport.OSPolicyCompliance.OSPoli" + - "cyResourceCompliance.OSPolicyResourceCon" + - "figStep.Type\022\025\n\rerror_message\030\002 \001(\t\"\216\001\n\004" + - "Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\016\n\nVALIDATION" + - "\020\001\022\027\n\023DESIRED_STATE_CHECK\020\002\022\035\n\031DESIRED_S" + - "TATE_ENFORCEMENT\020\003\022(\n$DESIRED_STATE_CHEC" + - "K_POST_ENFORCEMENT\020\004\0320\n\022ExecResourceOutp" + - "ut\022\032\n\022enforcement_output\030\002 \001(\014\"@\n\017Compli" + - "anceState\022\013\n\007UNKNOWN\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n" + - "\rNON_COMPLIANT\020\002B\010\n\006output\"@\n\017Compliance" + - "State\022\013\n\007UNKNOWN\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n\rNON" + - "_COMPLIANT\020\002:\234\001\352A\230\001\n0osconfig.googleapis" + - ".com/OSPolicyAssignmentReport\022dprojects/" + - "{project}/locations/{location}/instances" + - "/{instance}/osPolicyAssignments/{assignm" + - "ent}/reportB\205\003\n!com.google.cloud.osconfi" + - "g.v1alphaB\036OSPolicyAssignmentReportsProt" + - "oP\001ZEgoogle.golang.org/genproto/googleap" + - "is/cloud/osconfig/v1alpha;osconfig\252\002\035Goo" + - "gle.Cloud.OsConfig.V1Alpha\312\002\035Google\\Clou" + - "d\\OsConfig\\V1alpha\352\002 Google::Cloud::OsCo" + - "nfig::V1alpha\352A\222\001\n1compute.googleapis.co" + - "m/InstanceOSPolicyAssignment\022]projects/{" + - "project}/locations/{location}/instances/" + - "{instance}/osPolicyAssignments/{assignme" + - "nt}b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "Filter", "PageToken", }); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor, - new java.lang.String[] { "OsPolicyAssignmentReports", "NextPageToken", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor, - new java.lang.String[] { "Name", "Instance", "OsPolicyAssignment", "OsPolicyCompliances", "UpdateTime", "LastRunId", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor, - new java.lang.String[] { "OsPolicyId", "ComplianceState", "ComplianceStateReason", "OsPolicyResourceCompliances", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor, - new java.lang.String[] { "OsPolicyResourceId", "ConfigSteps", "ComplianceState", "ComplianceStateReason", "ExecResourceOutput", "Output", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor, - new java.lang.String[] { "Type", "ErrorMessage", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor, - new java.lang.String[] { "EnforcementOutput", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java deleted file mode 100644 index 71811eac..00000000 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java +++ /dev/null @@ -1,176 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/osconfig/v1alpha/osconfig_zonal_service.proto - -package com.google.cloud.osconfig.v1alpha; - -public final class OsConfigZonalServiceProto { - private OsConfigZonalServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n:google/cloud/osconfig/v1alpha/osconfig" + - "_zonal_service.proto\022\035google.cloud.oscon" + - "fig.v1alpha\032\034google/api/annotations.prot" + - "o\032\027google/api/client.proto\032\031google/api/r" + - "esource.proto\032Cgoogle/cloud/osconfig/v1a" + - "lpha/instance_os_policies_compliance.pro" + - "to\032-google/cloud/osconfig/v1alpha/invent" + - "ory.proto\032@google/cloud/osconfig/v1alpha" + - "/os_policy_assignment_reports.proto\0329goo" + - "gle/cloud/osconfig/v1alpha/os_policy_ass" + - "ignments.proto\0321google/cloud/osconfig/v1" + - "alpha/vulnerability.proto\032#google/longru" + - "nning/operations.proto2\350\034\n\024OsConfigZonal" + - "Service\022\310\002\n\030CreateOSPolicyAssignment\022>.g" + - "oogle.cloud.osconfig.v1alpha.CreateOSPol" + - "icyAssignmentRequest\032\035.google.longrunnin" + - "g.Operation\"\314\001\202\323\344\223\002T\".google.cloud.osconfig.v1alpha." + - "UpdateOSPolicyAssignmentRequest\032\035.google" + - ".longrunning.Operation\"\316\001\202\323\344\223\002i2Q/v1alph" + - "a/{os_policy_assignment.name=projects/*/" + - "locations/*/osPolicyAssignments/*}:\024os_p" + - "olicy_assignment\332A os_policy_assignment," + - "update_mask\312A9\n\022OSPolicyAssignment\022#OSPo" + - "licyAssignmentOperationMetadata\022\324\001\n\025GetO" + - "SPolicyAssignment\022;.google.cloud.osconfi" + - "g.v1alpha.GetOSPolicyAssignmentRequest\0321" + - ".google.cloud.osconfig.v1alpha.OSPolicyA" + - "ssignment\"K\202\323\344\223\002>\022.google.cloud.osconfi" + - "g.v1alpha.ListOSPolicyAssignmentsRespons" + - "e\"M\202\323\344\223\002>\022.google.cloud.oscon" + - "fig.v1alpha.DeleteOSPolicyAssignmentRequ" + - "est\032\035.google.longrunning.Operation\"\212\001\202\323\344" + - "\223\002>*\022.google.cloud.osconfig." + - "v1alpha.ListVulnerabilityReportsRequest\032" + - "?.google.cloud.osconfig.v1alpha.ListVuln" + - "erabilityReportsResponse\"Z\202\323\344\223\002K\022I/v1alp" + - "ha/{parent=projects/*/locations/*/instan" + - "ces/*}/vulnerabilityReports\332A\006parent\032K\312A" + - "\027osconfig.googleapis.com\322A.https://www.g" + - "oogleapis.com/auth/cloud-platformB\314\002\n!co" + - "m.google.cloud.osconfig.v1alphaB\031OsConfi" + - "gZonalServiceProtoP\001ZEgoogle.golang.org/" + - "genproto/googleapis/cloud/osconfig/v1alp" + - "ha;osconfig\252\002\035Google.Cloud.OsConfig.V1Al" + - "pha\312\002\035Google\\Cloud\\OsConfig\\V1alpha\352\002 Go" + - "ogle::Cloud::OsConfig::V1alpha\352A_\n\037compu" + - "te.googleapis.com/Instance\022.google.cloud.osconfig.v1alpha." + - "OSPolicyAssignment.RolloutStateB\003\340A\003\022\025\n\010" + - "baseline\030\n \001(\010B\003\340A\003\022\024\n\007deleted\030\013 \001(\010B\003\340A" + - "\003\022\030\n\013reconciling\030\014 \001(\010B\003\340A\003\022\020\n\003uid\030\r \001(\t" + - "B\003\340A\003\032\221\001\n\010LabelSet\022V\n\006labels\030\001 \003(\0132F.goo" + - "gle.cloud.osconfig.v1alpha.OSPolicyAssig" + - "nment.LabelSet.LabelsEntry\032-\n\013LabelsEntr" + - "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\203\003\n\016In" + - "stanceFilter\022\013\n\003all\030\001 \001(\010\022\032\n\016os_short_na" + - "mes\030\002 \003(\tB\002\030\001\022T\n\020inclusion_labels\030\003 \003(\0132" + - ":.google.cloud.osconfig.v1alpha.OSPolicy" + - "Assignment.LabelSet\022T\n\020exclusion_labels\030" + - "\004 \003(\0132:.google.cloud.osconfig.v1alpha.OS" + - "PolicyAssignment.LabelSet\022_\n\013inventories" + - "\030\005 \003(\0132J.google.cloud.osconfig.v1alpha.O" + - "SPolicyAssignment.InstanceFilter.Invento" + - "ry\032;\n\tInventory\022\032\n\ros_short_name\030\001 \001(\tB\003" + - "\340A\002\022\022\n\nos_version\030\002 \001(\t\032\223\001\n\007Rollout\022M\n\021d" + - "isruption_budget\030\001 \001(\0132-.google.cloud.os" + - "config.v1alpha.FixedOrPercentB\003\340A\002\0229\n\021mi" + - "n_wait_duration\030\002 \001(\0132\031.google.protobuf." + - "DurationB\003\340A\002\"l\n\014RolloutState\022\035\n\031ROLLOUT" + - "_STATE_UNSPECIFIED\020\000\022\017\n\013IN_PROGRESS\020\001\022\016\n" + - "\nCANCELLING\020\002\022\r\n\tCANCELLED\020\003\022\r\n\tSUCCEEDE" + - "D\020\004:\204\001\352A\200\001\n*osconfig.googleapis.com/OSPo" + - "licyAssignment\022Rprojects/{project}/locat" + - "ions/{location}/osPolicyAssignments/{os_" + - "policy_assignment}\"\352\004\n#OSPolicyAssignmen" + - "tOperationMetadata\022M\n\024os_policy_assignme" + - "nt\030\001 \001(\tB/\372A,\n*osconfig.googleapis.com/O" + - "SPolicyAssignment\022`\n\napi_method\030\002 \001(\0162L." + - "google.cloud.osconfig.v1alpha.OSPolicyAs" + - "signmentOperationMetadata.APIMethod\022f\n\rr" + - "ollout_state\030\003 \001(\0162O.google.cloud.osconf" + - "ig.v1alpha.OSPolicyAssignmentOperationMe" + - "tadata.RolloutState\0226\n\022rollout_start_tim" + - "e\030\004 \001(\0132\032.google.protobuf.Timestamp\0227\n\023r" + - "ollout_update_time\030\005 \001(\0132\032.google.protob" + - "uf.Timestamp\"K\n\tAPIMethod\022\032\n\026API_METHOD_" + - "UNSPECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006UPDATE\020\002\022\n\n" + - "\006DELETE\020\003\"l\n\014RolloutState\022\035\n\031ROLLOUT_STA" + - "TE_UNSPECIFIED\020\000\022\017\n\013IN_PROGRESS\020\001\022\016\n\nCAN" + - "CELLING\020\002\022\r\n\tCANCELLED\020\003\022\r\n\tSUCCEEDED\020\004\"" + - "\330\001\n\037CreateOSPolicyAssignmentRequest\0229\n\006p" + - "arent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapi" + - "s.com/Location\022T\n\024os_policy_assignment\030\002" + - " \001(\01321.google.cloud.osconfig.v1alpha.OSP" + - "olicyAssignmentB\003\340A\002\022$\n\027os_policy_assign" + - "ment_id\030\003 \001(\tB\003\340A\002\"\255\001\n\037UpdateOSPolicyAss" + - "ignmentRequest\022T\n\024os_policy_assignment\030\001" + - " \001(\01321.google.cloud.osconfig.v1alpha.OSP" + - "olicyAssignmentB\003\340A\002\0224\n\013update_mask\030\002 \001(" + - "\0132\032.google.protobuf.FieldMaskB\003\340A\001\"`\n\034Ge" + - "tOSPolicyAssignmentRequest\022@\n\004name\030\001 \001(\t" + - "B2\340A\002\372A,\n*osconfig.googleapis.com/OSPoli" + - "cyAssignment\"\202\001\n\036ListOSPolicyAssignments" + - "Request\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locatio" + - "ns.googleapis.com/Location\022\021\n\tpage_size\030" + - "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\214\001\n\037ListOSPoli" + - "cyAssignmentsResponse\022P\n\025os_policy_assig" + - "nments\030\001 \003(\01321.google.cloud.osconfig.v1a" + - "lpha.OSPolicyAssignment\022\027\n\017next_page_tok" + - "en\030\002 \001(\t\"\221\001\n&ListOSPolicyAssignmentRevis" + - "ionsRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*oscon" + - "fig.googleapis.com/OSPolicyAssignment\022\021\n" + - "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\224\001\n" + - "\'ListOSPolicyAssignmentRevisionsResponse" + - "\022P\n\025os_policy_assignments\030\001 \003(\01321.google" + - ".cloud.osconfig.v1alpha.OSPolicyAssignme" + - "nt\022\027\n\017next_page_token\030\002 \001(\t\"c\n\037DeleteOSP" + - "olicyAssignmentRequest\022@\n\004name\030\001 \001(\tB2\340A" + - "\002\372A,\n*osconfig.googleapis.com/OSPolicyAs" + - "signmentB\351\001\n!com.google.cloud.osconfig.v" + - "1alphaB\030OsPolicyAssignmentsProtoP\001ZEgoog" + - "le.golang.org/genproto/googleapis/cloud/" + - "osconfig/v1alpha;osconfig\252\002\035Google.Cloud" + - ".OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsConfi" + - "g\\V1alpha\352\002 Google::Cloud::OsConfig::V1a" + - "lphab\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.osconfig.v1alpha.OsPolicyProto.getDescriptor(), - com.google.cloud.osconfig.v1alpha.Common.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor, - new java.lang.String[] { "Name", "Description", "OsPolicies", "InstanceFilter", "Rollout", "RevisionId", "RevisionCreateTime", "Etag", "RolloutState", "Baseline", "Deleted", "Reconciling", "Uid", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor, - new java.lang.String[] { "Labels", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor, - new java.lang.String[] { "All", "OsShortNames", "InclusionLabels", "ExclusionLabels", "Inventories", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor, - new java.lang.String[] { "OsShortName", "OsVersion", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor, - new java.lang.String[] { "DisruptionBudget", "MinWaitDuration", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor, - new java.lang.String[] { "OsPolicyAssignment", "ApiMethod", "RolloutState", "RolloutStartTime", "RolloutUpdateTime", }); - internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor, - new java.lang.String[] { "Parent", "OsPolicyAssignment", "OsPolicyAssignmentId", }); - internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor, - new java.lang.String[] { "OsPolicyAssignment", "UpdateMask", }); - internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor, - new java.lang.String[] { "OsPolicyAssignments", "NextPageToken", }); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor, - new java.lang.String[] { "Name", "PageSize", "PageToken", }); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor, - new java.lang.String[] { "OsPolicyAssignments", "NextPageToken", }); - internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.osconfig.v1alpha.OsPolicyProto.getDescriptor(); - com.google.cloud.osconfig.v1alpha.Common.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyProto.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyProto.java deleted file mode 100644 index 386f91c0..00000000 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyProto.java +++ /dev/null @@ -1,429 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/osconfig/v1alpha/os_policy.proto - -package com.google.cloud.osconfig.v1alpha; - -public final class OsPolicyProto { - private OsPolicyProto() {} - 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_osconfig_v1alpha_OSPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n-google/cloud/osconfig/v1alpha/os_polic" + - "y.proto\022\035google.cloud.osconfig.v1alpha\032\034" + - "google/api/annotations.proto\032\037google/api" + - "/field_behavior.proto\"\204#\n\010OSPolicy\022\017\n\002id" + - "\030\001 \001(\tB\003\340A\002\022\023\n\013description\030\002 \001(\t\022?\n\004mode" + - "\030\003 \001(\0162,.google.cloud.osconfig.v1alpha.O" + - "SPolicy.ModeB\003\340A\002\022S\n\017resource_groups\030\004 \003" + - "(\01325.google.cloud.osconfig.v1alpha.OSPol" + - "icy.ResourceGroupB\003\340A\002\022%\n\035allow_no_resou" + - "rce_group_match\030\005 \001(\010\0325\n\010OSFilter\022\025\n\ros_" + - "short_name\030\001 \001(\t\022\022\n\nos_version\030\002 \001(\t\032A\n\017" + - "InventoryFilter\022\032\n\ros_short_name\030\001 \001(\tB\003" + - "\340A\002\022\022\n\nos_version\030\002 \001(\t\032\342\035\n\010Resource\022\017\n\002" + - "id\030\001 \001(\tB\003\340A\002\022O\n\003pkg\030\002 \001(\0132@.google.clou" + - "d.osconfig.v1alpha.OSPolicy.Resource.Pac" + - "kageResourceH\000\022Y\n\nrepository\030\003 \001(\0132C.goo" + - "gle.cloud.osconfig.v1alpha.OSPolicy.Reso" + - "urce.RepositoryResourceH\000\022M\n\004exec\030\004 \001(\0132" + - "=.google.cloud.osconfig.v1alpha.OSPolicy" + - ".Resource.ExecResourceH\000\022M\n\004file\030\005 \001(\0132=" + - ".google.cloud.osconfig.v1alpha.OSPolicy." + - "Resource.FileResourceH\000\032\320\002\n\004File\022N\n\006remo" + - "te\030\001 \001(\0132<.google.cloud.osconfig.v1alpha" + - ".OSPolicy.Resource.File.RemoteH\000\022H\n\003gcs\030" + - "\002 \001(\01329.google.cloud.osconfig.v1alpha.OS" + - "Policy.Resource.File.GcsH\000\022\024\n\nlocal_path" + - "\030\003 \001(\tH\000\022\026\n\016allow_insecure\030\004 \001(\010\0323\n\006Remo" + - "te\022\020\n\003uri\030\001 \001(\tB\003\340A\002\022\027\n\017sha256_checksum\030" + - "\002 \001(\t\032C\n\003Gcs\022\023\n\006bucket\030\001 \001(\tB\003\340A\002\022\023\n\006obj" + - "ect\030\002 \001(\tB\003\340A\002\022\022\n\ngeneration\030\003 \001(\003B\006\n\004ty" + - "pe\032\331\t\n\017PackageResource\022i\n\rdesired_state\030" + - "\001 \001(\0162M.google.cloud.osconfig.v1alpha.OS" + - "Policy.Resource.PackageResource.DesiredS" + - "tateB\003\340A\002\022S\n\003apt\030\002 \001(\0132D.google.cloud.os" + - "config.v1alpha.OSPolicy.Resource.Package" + - "Resource.APTH\000\022S\n\003deb\030\003 \001(\0132D.google.clo" + - "ud.osconfig.v1alpha.OSPolicy.Resource.Pa" + - "ckageResource.DebH\000\022S\n\003yum\030\004 \001(\0132D.googl" + - "e.cloud.osconfig.v1alpha.OSPolicy.Resour" + - "ce.PackageResource.YUMH\000\022Y\n\006zypper\030\005 \001(\013" + - "2G.google.cloud.osconfig.v1alpha.OSPolic" + - "y.Resource.PackageResource.ZypperH\000\022S\n\003r" + - "pm\030\006 \001(\0132D.google.cloud.osconfig.v1alpha" + - ".OSPolicy.Resource.PackageResource.RPMH\000" + - "\022Y\n\006googet\030\007 \001(\0132G.google.cloud.osconfig" + - ".v1alpha.OSPolicy.Resource.PackageResour" + - "ce.GooGetH\000\022S\n\003msi\030\010 \001(\0132D.google.cloud." + - "osconfig.v1alpha.OSPolicy.Resource.Packa" + - "geResource.MSIH\000\032d\n\003Deb\022J\n\006source\030\001 \001(\0132" + - "5.google.cloud.osconfig.v1alpha.OSPolicy" + - ".Resource.FileB\003\340A\002\022\021\n\tpull_deps\030\002 \001(\010\032\030" + - "\n\003APT\022\021\n\004name\030\001 \001(\tB\003\340A\002\032d\n\003RPM\022J\n\006sourc" + - "e\030\001 \001(\01325.google.cloud.osconfig.v1alpha." + - "OSPolicy.Resource.FileB\003\340A\002\022\021\n\tpull_deps" + - "\030\002 \001(\010\032\030\n\003YUM\022\021\n\004name\030\001 \001(\tB\003\340A\002\032\033\n\006Zypp" + - "er\022\021\n\004name\030\001 \001(\tB\003\340A\002\032\033\n\006GooGet\022\021\n\004name\030" + - "\001 \001(\tB\003\340A\002\032e\n\003MSI\022J\n\006source\030\001 \001(\01325.goog" + - "le.cloud.osconfig.v1alpha.OSPolicy.Resou" + - "rce.FileB\003\340A\002\022\022\n\nproperties\030\002 \003(\t\"I\n\014Des" + - "iredState\022\035\n\031DESIRED_STATE_UNSPECIFIED\020\000" + - "\022\r\n\tINSTALLED\020\001\022\013\n\007REMOVED\020\002B\020\n\016system_p" + - "ackage\032\321\007\n\022RepositoryResource\022`\n\003apt\030\001 \001" + - "(\0132Q.google.cloud.osconfig.v1alpha.OSPol" + - "icy.Resource.RepositoryResource.AptRepos" + - "itoryH\000\022`\n\003yum\030\002 \001(\0132Q.google.cloud.osco" + - "nfig.v1alpha.OSPolicy.Resource.Repositor" + - "yResource.YumRepositoryH\000\022f\n\006zypper\030\003 \001(" + - "\0132T.google.cloud.osconfig.v1alpha.OSPoli" + - "cy.Resource.RepositoryResource.ZypperRep" + - "ositoryH\000\022`\n\003goo\030\004 \001(\0132Q.google.cloud.os" + - "config.v1alpha.OSPolicy.Resource.Reposit" + - "oryResource.GooRepositoryH\000\032\243\002\n\rAptRepos" + - "itory\022x\n\014archive_type\030\001 \001(\0162].google.clo" + - "ud.osconfig.v1alpha.OSPolicy.Resource.Re" + - "positoryResource.AptRepository.ArchiveTy" + - "peB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\031\n\014distributio" + - "n\030\003 \001(\tB\003\340A\002\022\027\n\ncomponents\030\004 \003(\tB\003\340A\002\022\017\n" + - "\007gpg_key\030\005 \001(\t\"A\n\013ArchiveType\022\034\n\030ARCHIVE" + - "_TYPE_UNSPECIFIED\020\000\022\007\n\003DEB\020\001\022\013\n\007DEB_SRC\020" + - "\002\032_\n\rYumRepository\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014d" + - "isplay_name\030\002 \001(\t\022\025\n\010base_url\030\003 \001(\tB\003\340A\002" + - "\022\020\n\010gpg_keys\030\004 \003(\t\032b\n\020ZypperRepository\022\017" + - "\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014display_name\030\002 \001(\t\022\025\n" + - "\010base_url\030\003 \001(\tB\003\340A\002\022\020\n\010gpg_keys\030\004 \003(\t\0324" + - "\n\rGooRepository\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003ur" + - "l\030\002 \001(\tB\003\340A\002B\014\n\nrepository\032\215\004\n\014ExecResou" + - "rce\022Y\n\010validate\030\001 \001(\0132B.google.cloud.osc" + - "onfig.v1alpha.OSPolicy.Resource.ExecReso" + - "urce.ExecB\003\340A\002\022S\n\007enforce\030\002 \001(\0132B.google" + - ".cloud.osconfig.v1alpha.OSPolicy.Resourc" + - "e.ExecResource.Exec\032\314\002\n\004Exec\022E\n\004file\030\001 \001" + - "(\01325.google.cloud.osconfig.v1alpha.OSPol" + - "icy.Resource.FileH\000\022\020\n\006script\030\002 \001(\tH\000\022\014\n" + - "\004args\030\003 \003(\t\022h\n\013interpreter\030\004 \001(\0162N.googl" + - "e.cloud.osconfig.v1alpha.OSPolicy.Resour" + - "ce.ExecResource.Exec.InterpreterB\003\340A\002\022\030\n" + - "\020output_file_path\030\005 \001(\t\"O\n\013Interpreter\022\033" + - "\n\027INTERPRETER_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\t\n" + - "\005SHELL\020\002\022\016\n\nPOWERSHELL\020\003B\010\n\006source\032\326\002\n\014F" + - "ileResource\022E\n\004file\030\001 \001(\01325.google.cloud" + - ".osconfig.v1alpha.OSPolicy.Resource.File" + - "H\000\022\021\n\007content\030\002 \001(\tH\000\022\021\n\004path\030\003 \001(\tB\003\340A\002" + - "\022^\n\005state\030\004 \001(\0162J.google.cloud.osconfig." + - "v1alpha.OSPolicy.Resource.FileResource.D" + - "esiredStateB\003\340A\002\022\023\n\013permissions\030\005 \001(\t\"Z\n" + - "\014DesiredState\022\035\n\031DESIRED_STATE_UNSPECIFI" + - "ED\020\000\022\013\n\007PRESENT\020\001\022\n\n\006ABSENT\020\002\022\022\n\016CONTENT" + - "S_MATCH\020\003B\010\n\006sourceB\017\n\rresource_type\032\366\001\n" + - "\rResourceGroup\022G\n\tos_filter\030\001 \001(\01320.goog" + - "le.cloud.osconfig.v1alpha.OSPolicy.OSFil" + - "terB\002\030\001\022R\n\021inventory_filters\030\003 \003(\01327.goo" + - "gle.cloud.osconfig.v1alpha.OSPolicy.Inve" + - "ntoryFilter\022H\n\tresources\030\002 \003(\01320.google." + - "cloud.osconfig.v1alpha.OSPolicy.Resource" + - "B\003\340A\002\"=\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\016\n\nV" + - "ALIDATION\020\001\022\017\n\013ENFORCEMENT\020\002B\336\001\n!com.goo" + - "gle.cloud.osconfig.v1alphaB\rOsPolicyProt" + - "oP\001ZEgoogle.golang.org/genproto/googleap" + - "is/cloud/osconfig/v1alpha;osconfig\252\002\035Goo" + - "gle.Cloud.OsConfig.V1Alpha\312\002\035Google\\Clou" + - "d\\OsConfig\\V1alpha\352\002 Google::Cloud::OsCo" + - "nfig::V1alphab\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor, - new java.lang.String[] { "Id", "Description", "Mode", "ResourceGroups", "AllowNoResourceGroupMatch", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor, - new java.lang.String[] { "OsShortName", "OsVersion", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor, - new java.lang.String[] { "OsShortName", "OsVersion", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor, - new java.lang.String[] { "Id", "Pkg", "Repository", "Exec", "File", "ResourceType", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor, - new java.lang.String[] { "Remote", "Gcs", "LocalPath", "AllowInsecure", "Type", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor, - new java.lang.String[] { "Uri", "Sha256Checksum", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor, - new java.lang.String[] { "Bucket", "Object", "Generation", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor, - new java.lang.String[] { "DesiredState", "Apt", "Deb", "Yum", "Zypper", "Rpm", "Googet", "Msi", "SystemPackage", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor, - new java.lang.String[] { "Source", "PullDeps", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor, - new java.lang.String[] { "Source", "PullDeps", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor, - new java.lang.String[] { "Source", "Properties", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor, - new java.lang.String[] { "Apt", "Yum", "Zypper", "Goo", "Repository", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor, - new java.lang.String[] { "ArchiveType", "Uri", "Distribution", "Components", "GpgKey", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor, - new java.lang.String[] { "Id", "DisplayName", "BaseUrl", "GpgKeys", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor, - new java.lang.String[] { "Id", "DisplayName", "BaseUrl", "GpgKeys", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor, - new java.lang.String[] { "Name", "Url", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor, - new java.lang.String[] { "Validate", "Enforce", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor, - new java.lang.String[] { "File", "Script", "Args", "Interpreter", "OutputFilePath", "Source", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor, - new java.lang.String[] { "File", "Content", "Path", "State", "Permissions", "Source", }); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor = - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor, - new java.lang.String[] { "OsFilter", "InventoryFilters", "Resources", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityProto.java b/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityProto.java deleted file mode 100644 index 3a76f6cb..00000000 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityProto.java +++ /dev/null @@ -1,232 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/osconfig/v1alpha/vulnerability.proto - -package com.google.cloud.osconfig.v1alpha; - -public final class VulnerabilityProto { - private VulnerabilityProto() {} - 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_osconfig_v1alpha_VulnerabilityReport_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_osconfig_v1alpha_CVSSv3_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/osconfig/v1alpha/vulnerab" + - "ility.proto\022\035google.cloud.osconfig.v1alp" + - "ha\032\034google/api/annotations.proto\032\037google" + - "/api/field_behavior.proto\032\031google/api/re" + - "source.proto\032\037google/protobuf/timestamp." + - "proto\"\334\010\n\023VulnerabilityReport\022\021\n\004name\030\001 " + - "\001(\tB\003\340A\003\022^\n\017vulnerabilities\030\002 \003(\0132@.goog" + - "le.cloud.osconfig.v1alpha.VulnerabilityR" + - "eport.VulnerabilityB\003\340A\003\0224\n\013update_time\030" + - "\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\032\226" + - "\006\n\rVulnerability\022Y\n\007details\030\001 \001(\0132H.goog" + - "le.cloud.osconfig.v1alpha.VulnerabilityR" + - "eport.Vulnerability.Details\022(\n\034installed" + - "_inventory_item_ids\030\002 \003(\tB\002\030\001\022(\n\034availab" + - "le_inventory_item_ids\030\003 \003(\tB\002\030\001\022/\n\013creat" + - "e_time\030\004 \001(\0132\032.google.protobuf.Timestamp" + - "\022/\n\013update_time\030\005 \001(\0132\032.google.protobuf." + - "Timestamp\022T\n\005items\030\006 \003(\0132E.google.cloud." + - "osconfig.v1alpha.VulnerabilityReport.Vul" + - "nerability.Item\032\236\002\n\007Details\022\013\n\003cve\030\001 \001(\t" + - "\022\025\n\rcvss_v2_score\030\002 \001(\002\0226\n\007cvss_v3\030\003 \001(\013" + - "2%.google.cloud.osconfig.v1alpha.CVSSv3\022" + - "\020\n\010severity\030\004 \001(\t\022\023\n\013description\030\005 \001(\t\022f" + - "\n\nreferences\030\006 \003(\0132R.google.cloud.osconf" + - "ig.v1alpha.VulnerabilityReport.Vulnerabi" + - "lity.Details.Reference\032(\n\tReference\022\013\n\003u" + - "rl\030\001 \001(\t\022\016\n\006source\030\002 \001(\t\032}\n\004Item\022#\n\033inst" + - "alled_inventory_item_id\030\001 \001(\t\022#\n\033availab" + - "le_inventory_item_id\030\002 \001(\t\022\025\n\rfixed_cpe_" + - "uri\030\003 \001(\t\022\024\n\014upstream_fix\030\004 \001(\t:\202\001\352A\177\n+o" + - "sconfig.googleapis.com/VulnerabilityRepo" + - "rt\022Pprojects/{project}/locations/{locati" + - "on}/instances/{instance}/vulnerabilityRe" + - "port\"b\n\035GetVulnerabilityReportRequest\022A\n" + - "\004name\030\001 \001(\tB3\340A\002\372A-\n+osconfig.googleapis" + - ".com/VulnerabilityReport\"\221\001\n\037ListVulnera" + - "bilityReportsRequest\0227\n\006parent\030\001 \001(\tB\'\340A" + - "\002\372A!\n\037compute.googleapis.com/Instance\022\021\n" + - "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006" + - "filter\030\004 \001(\t\"\216\001\n ListVulnerabilityReport" + - "sResponse\022Q\n\025vulnerability_reports\030\001 \003(\013" + - "22.google.cloud.osconfig.v1alpha.Vulnera" + - "bilityReport\022\027\n\017next_page_token\030\002 \001(\t\"\335\n" + - "\n\006CVSSv3\022\022\n\nbase_score\030\001 \001(\002\022\034\n\024exploita" + - "bility_score\030\002 \001(\002\022\024\n\014impact_score\030\003 \001(\002" + - "\022I\n\rattack_vector\030\005 \001(\01622.google.cloud.o" + - "sconfig.v1alpha.CVSSv3.AttackVector\022Q\n\021a" + - "ttack_complexity\030\006 \001(\01626.google.cloud.os" + - "config.v1alpha.CVSSv3.AttackComplexity\022U" + - "\n\023privileges_required\030\007 \001(\01628.google.clo" + - "ud.osconfig.v1alpha.CVSSv3.PrivilegesReq" + - "uired\022O\n\020user_interaction\030\010 \001(\01625.google" + - ".cloud.osconfig.v1alpha.CVSSv3.UserInter" + - "action\022:\n\005scope\030\t \001(\0162+.google.cloud.osc" + - "onfig.v1alpha.CVSSv3.Scope\022L\n\026confidenti" + - "ality_impact\030\n \001(\0162,.google.cloud.osconf" + - "ig.v1alpha.CVSSv3.Impact\022F\n\020integrity_im" + - "pact\030\013 \001(\0162,.google.cloud.osconfig.v1alp" + - "ha.CVSSv3.Impact\022I\n\023availability_impact\030" + - "\014 \001(\0162,.google.cloud.osconfig.v1alpha.CV" + - "SSv3.Impact\"\231\001\n\014AttackVector\022\035\n\031ATTACK_V" + - "ECTOR_UNSPECIFIED\020\000\022\031\n\025ATTACK_VECTOR_NET" + - "WORK\020\001\022\032\n\026ATTACK_VECTOR_ADJACENT\020\002\022\027\n\023AT" + - "TACK_VECTOR_LOCAL\020\003\022\032\n\026ATTACK_VECTOR_PHY" + - "SICAL\020\004\"l\n\020AttackComplexity\022!\n\035ATTACK_CO" + - "MPLEXITY_UNSPECIFIED\020\000\022\031\n\025ATTACK_COMPLEX" + - "ITY_LOW\020\001\022\032\n\026ATTACK_COMPLEXITY_HIGH\020\002\"\222\001" + - "\n\022PrivilegesRequired\022#\n\037PRIVILEGES_REQUI" + - "RED_UNSPECIFIED\020\000\022\034\n\030PRIVILEGES_REQUIRED" + - "_NONE\020\001\022\033\n\027PRIVILEGES_REQUIRED_LOW\020\002\022\034\n\030" + - "PRIVILEGES_REQUIRED_HIGH\020\003\"m\n\017UserIntera" + - "ction\022 \n\034USER_INTERACTION_UNSPECIFIED\020\000\022" + - "\031\n\025USER_INTERACTION_NONE\020\001\022\035\n\031USER_INTER" + - "ACTION_REQUIRED\020\002\"F\n\005Scope\022\025\n\021SCOPE_UNSP" + - "ECIFIED\020\000\022\023\n\017SCOPE_UNCHANGED\020\001\022\021\n\rSCOPE_" + - "CHANGED\020\002\"R\n\006Impact\022\026\n\022IMPACT_UNSPECIFIE" + - "D\020\000\022\017\n\013IMPACT_HIGH\020\001\022\016\n\nIMPACT_LOW\020\002\022\017\n\013" + - "IMPACT_NONE\020\003B\343\001\n!com.google.cloud.oscon" + - "fig.v1alphaB\022VulnerabilityProtoP\001ZEgoogl" + - "e.golang.org/genproto/googleapis/cloud/o" + - "sconfig/v1alpha;osconfig\252\002\035Google.Cloud." + - "OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsConfig" + - "\\V1alpha\352\002 Google::Cloud::OsConfig::V1al" + - "phab\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor, - new java.lang.String[] { "Name", "Vulnerabilities", "UpdateTime", }); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor = - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor, - new java.lang.String[] { "Details", "InstalledInventoryItemIds", "AvailableInventoryItemIds", "CreateTime", "UpdateTime", "Items", }); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor = - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor, - new java.lang.String[] { "Cve", "CvssV2Score", "CvssV3", "Severity", "Description", "References", }); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor = - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor, - new java.lang.String[] { "Url", "Source", }); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor = - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor, - new java.lang.String[] { "InstalledInventoryItemId", "AvailableInventoryItemId", "FixedCpeUri", "UpstreamFix", }); - internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor, - new java.lang.String[] { "VulnerabilityReports", "NextPageToken", }); - internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_osconfig_v1alpha_CVSSv3_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor, - new java.lang.String[] { "BaseScore", "ExploitabilityScore", "ImpactScore", "AttackVector", "AttackComplexity", "PrivilegesRequired", "UserInteraction", "Scope", "ConfidentialityImpact", "IntegrityImpact", "AvailabilityImpact", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta/grpc-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceGrpc.java b/owl-bot-staging/v1beta/grpc-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceGrpc.java deleted file mode 100644 index 994389c4..00000000 --- a/owl-bot-staging/v1beta/grpc-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigServiceGrpc.java +++ /dev/null @@ -1,1795 +0,0 @@ -package com.google.cloud.osconfig.v1beta; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * OS Config API
- * The OS Config service is a server-side component that you can use to
- * manage package installations and patch jobs for virtual machine instances.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/osconfig/v1beta/osconfig_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class OsConfigServiceGrpc { - - private OsConfigServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.osconfig.v1beta.OsConfigService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getExecutePatchJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ExecutePatchJob", - requestType = com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getExecutePatchJobMethod() { - io.grpc.MethodDescriptor getExecutePatchJobMethod; - if ((getExecutePatchJobMethod = OsConfigServiceGrpc.getExecutePatchJobMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getExecutePatchJobMethod = OsConfigServiceGrpc.getExecutePatchJobMethod) == null) { - OsConfigServiceGrpc.getExecutePatchJobMethod = getExecutePatchJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecutePatchJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ExecutePatchJob")) - .build(); - } - } - } - return getExecutePatchJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPatchJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPatchJob", - requestType = com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPatchJobMethod() { - io.grpc.MethodDescriptor getGetPatchJobMethod; - if ((getGetPatchJobMethod = OsConfigServiceGrpc.getGetPatchJobMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getGetPatchJobMethod = OsConfigServiceGrpc.getGetPatchJobMethod) == null) { - OsConfigServiceGrpc.getGetPatchJobMethod = getGetPatchJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPatchJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("GetPatchJob")) - .build(); - } - } - } - return getGetPatchJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getCancelPatchJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelPatchJob", - requestType = com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCancelPatchJobMethod() { - io.grpc.MethodDescriptor getCancelPatchJobMethod; - if ((getCancelPatchJobMethod = OsConfigServiceGrpc.getCancelPatchJobMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getCancelPatchJobMethod = OsConfigServiceGrpc.getCancelPatchJobMethod) == null) { - OsConfigServiceGrpc.getCancelPatchJobMethod = getCancelPatchJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelPatchJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("CancelPatchJob")) - .build(); - } - } - } - return getCancelPatchJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPatchJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPatchJobs", - requestType = com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPatchJobsMethod() { - io.grpc.MethodDescriptor getListPatchJobsMethod; - if ((getListPatchJobsMethod = OsConfigServiceGrpc.getListPatchJobsMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getListPatchJobsMethod = OsConfigServiceGrpc.getListPatchJobsMethod) == null) { - OsConfigServiceGrpc.getListPatchJobsMethod = getListPatchJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPatchJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ListPatchJobs")) - .build(); - } - } - } - return getListPatchJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPatchJobInstanceDetailsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPatchJobInstanceDetails", - requestType = com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPatchJobInstanceDetailsMethod() { - io.grpc.MethodDescriptor getListPatchJobInstanceDetailsMethod; - if ((getListPatchJobInstanceDetailsMethod = OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getListPatchJobInstanceDetailsMethod = OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod) == null) { - OsConfigServiceGrpc.getListPatchJobInstanceDetailsMethod = getListPatchJobInstanceDetailsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPatchJobInstanceDetails")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ListPatchJobInstanceDetails")) - .build(); - } - } - } - return getListPatchJobInstanceDetailsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreatePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreatePatchDeployment", - requestType = com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreatePatchDeploymentMethod() { - io.grpc.MethodDescriptor getCreatePatchDeploymentMethod; - if ((getCreatePatchDeploymentMethod = OsConfigServiceGrpc.getCreatePatchDeploymentMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getCreatePatchDeploymentMethod = OsConfigServiceGrpc.getCreatePatchDeploymentMethod) == null) { - OsConfigServiceGrpc.getCreatePatchDeploymentMethod = getCreatePatchDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("CreatePatchDeployment")) - .build(); - } - } - } - return getCreatePatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPatchDeployment", - requestType = com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPatchDeploymentMethod() { - io.grpc.MethodDescriptor getGetPatchDeploymentMethod; - if ((getGetPatchDeploymentMethod = OsConfigServiceGrpc.getGetPatchDeploymentMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getGetPatchDeploymentMethod = OsConfigServiceGrpc.getGetPatchDeploymentMethod) == null) { - OsConfigServiceGrpc.getGetPatchDeploymentMethod = getGetPatchDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("GetPatchDeployment")) - .build(); - } - } - } - return getGetPatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPatchDeploymentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPatchDeployments", - requestType = com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPatchDeploymentsMethod() { - io.grpc.MethodDescriptor getListPatchDeploymentsMethod; - if ((getListPatchDeploymentsMethod = OsConfigServiceGrpc.getListPatchDeploymentsMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getListPatchDeploymentsMethod = OsConfigServiceGrpc.getListPatchDeploymentsMethod) == null) { - OsConfigServiceGrpc.getListPatchDeploymentsMethod = getListPatchDeploymentsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPatchDeployments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ListPatchDeployments")) - .build(); - } - } - } - return getListPatchDeploymentsMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeletePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePatchDeployment", - requestType = com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeletePatchDeploymentMethod() { - io.grpc.MethodDescriptor getDeletePatchDeploymentMethod; - if ((getDeletePatchDeploymentMethod = OsConfigServiceGrpc.getDeletePatchDeploymentMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getDeletePatchDeploymentMethod = OsConfigServiceGrpc.getDeletePatchDeploymentMethod) == null) { - OsConfigServiceGrpc.getDeletePatchDeploymentMethod = getDeletePatchDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("DeletePatchDeployment")) - .build(); - } - } - } - return getDeletePatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdatePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdatePatchDeployment", - requestType = com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdatePatchDeploymentMethod() { - io.grpc.MethodDescriptor getUpdatePatchDeploymentMethod; - if ((getUpdatePatchDeploymentMethod = OsConfigServiceGrpc.getUpdatePatchDeploymentMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getUpdatePatchDeploymentMethod = OsConfigServiceGrpc.getUpdatePatchDeploymentMethod) == null) { - OsConfigServiceGrpc.getUpdatePatchDeploymentMethod = getUpdatePatchDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("UpdatePatchDeployment")) - .build(); - } - } - } - return getUpdatePatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getPausePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PausePatchDeployment", - requestType = com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getPausePatchDeploymentMethod() { - io.grpc.MethodDescriptor getPausePatchDeploymentMethod; - if ((getPausePatchDeploymentMethod = OsConfigServiceGrpc.getPausePatchDeploymentMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getPausePatchDeploymentMethod = OsConfigServiceGrpc.getPausePatchDeploymentMethod) == null) { - OsConfigServiceGrpc.getPausePatchDeploymentMethod = getPausePatchDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PausePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("PausePatchDeployment")) - .build(); - } - } - } - return getPausePatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getResumePatchDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ResumePatchDeployment", - requestType = com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.class, - responseType = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getResumePatchDeploymentMethod() { - io.grpc.MethodDescriptor getResumePatchDeploymentMethod; - if ((getResumePatchDeploymentMethod = OsConfigServiceGrpc.getResumePatchDeploymentMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getResumePatchDeploymentMethod = OsConfigServiceGrpc.getResumePatchDeploymentMethod) == null) { - OsConfigServiceGrpc.getResumePatchDeploymentMethod = getResumePatchDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumePatchDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ResumePatchDeployment")) - .build(); - } - } - } - return getResumePatchDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateGuestPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateGuestPolicy", - requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.class, - responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateGuestPolicyMethod() { - io.grpc.MethodDescriptor getCreateGuestPolicyMethod; - if ((getCreateGuestPolicyMethod = OsConfigServiceGrpc.getCreateGuestPolicyMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getCreateGuestPolicyMethod = OsConfigServiceGrpc.getCreateGuestPolicyMethod) == null) { - OsConfigServiceGrpc.getCreateGuestPolicyMethod = getCreateGuestPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateGuestPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("CreateGuestPolicy")) - .build(); - } - } - } - return getCreateGuestPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetGuestPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetGuestPolicy", - requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.class, - responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetGuestPolicyMethod() { - io.grpc.MethodDescriptor getGetGuestPolicyMethod; - if ((getGetGuestPolicyMethod = OsConfigServiceGrpc.getGetGuestPolicyMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getGetGuestPolicyMethod = OsConfigServiceGrpc.getGetGuestPolicyMethod) == null) { - OsConfigServiceGrpc.getGetGuestPolicyMethod = getGetGuestPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGuestPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("GetGuestPolicy")) - .build(); - } - } - } - return getGetGuestPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getListGuestPoliciesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListGuestPolicies", - requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.class, - responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListGuestPoliciesMethod() { - io.grpc.MethodDescriptor getListGuestPoliciesMethod; - if ((getListGuestPoliciesMethod = OsConfigServiceGrpc.getListGuestPoliciesMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getListGuestPoliciesMethod = OsConfigServiceGrpc.getListGuestPoliciesMethod) == null) { - OsConfigServiceGrpc.getListGuestPoliciesMethod = getListGuestPoliciesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGuestPolicies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("ListGuestPolicies")) - .build(); - } - } - } - return getListGuestPoliciesMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateGuestPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateGuestPolicy", - requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.class, - responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateGuestPolicyMethod() { - io.grpc.MethodDescriptor getUpdateGuestPolicyMethod; - if ((getUpdateGuestPolicyMethod = OsConfigServiceGrpc.getUpdateGuestPolicyMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getUpdateGuestPolicyMethod = OsConfigServiceGrpc.getUpdateGuestPolicyMethod) == null) { - OsConfigServiceGrpc.getUpdateGuestPolicyMethod = getUpdateGuestPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGuestPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("UpdateGuestPolicy")) - .build(); - } - } - } - return getUpdateGuestPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteGuestPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteGuestPolicy", - requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteGuestPolicyMethod() { - io.grpc.MethodDescriptor getDeleteGuestPolicyMethod; - if ((getDeleteGuestPolicyMethod = OsConfigServiceGrpc.getDeleteGuestPolicyMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getDeleteGuestPolicyMethod = OsConfigServiceGrpc.getDeleteGuestPolicyMethod) == null) { - OsConfigServiceGrpc.getDeleteGuestPolicyMethod = getDeleteGuestPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteGuestPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("DeleteGuestPolicy")) - .build(); - } - } - } - return getDeleteGuestPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getLookupEffectiveGuestPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "LookupEffectiveGuestPolicy", - requestType = com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.class, - responseType = com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getLookupEffectiveGuestPolicyMethod() { - io.grpc.MethodDescriptor getLookupEffectiveGuestPolicyMethod; - if ((getLookupEffectiveGuestPolicyMethod = OsConfigServiceGrpc.getLookupEffectiveGuestPolicyMethod) == null) { - synchronized (OsConfigServiceGrpc.class) { - if ((getLookupEffectiveGuestPolicyMethod = OsConfigServiceGrpc.getLookupEffectiveGuestPolicyMethod) == null) { - OsConfigServiceGrpc.getLookupEffectiveGuestPolicyMethod = getLookupEffectiveGuestPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupEffectiveGuestPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.getDefaultInstance())) - .setSchemaDescriptor(new OsConfigServiceMethodDescriptorSupplier("LookupEffectiveGuestPolicy")) - .build(); - } - } - } - return getLookupEffectiveGuestPolicyMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static OsConfigServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceStub(channel, callOptions); - } - }; - return OsConfigServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static OsConfigServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceBlockingStub(channel, callOptions); - } - }; - return OsConfigServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static OsConfigServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public OsConfigServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceFutureStub(channel, callOptions); - } - }; - return OsConfigServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * OS Config API
-   * The OS Config service is a server-side component that you can use to
-   * manage package installations and patch jobs for virtual machine instances.
-   * 
- */ - public static abstract class OsConfigServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Patch VM instances by creating and running a patch job.
-     * 
- */ - public void executePatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecutePatchJobMethod(), responseObserver); - } - - /** - *
-     * Get the patch job. This can be used to track the progress of an
-     * ongoing patch job or review the details of completed jobs.
-     * 
- */ - public void getPatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPatchJobMethod(), responseObserver); - } - - /** - *
-     * Cancel a patch job. The patch job must be active. Canceled patch jobs
-     * cannot be restarted.
-     * 
- */ - public void cancelPatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelPatchJobMethod(), responseObserver); - } - - /** - *
-     * Get a list of patch jobs.
-     * 
- */ - public void listPatchJobs(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPatchJobsMethod(), responseObserver); - } - - /** - *
-     * Get a list of instance details for a given patch job.
-     * 
- */ - public void listPatchJobInstanceDetails(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPatchJobInstanceDetailsMethod(), responseObserver); - } - - /** - *
-     * Create an OS Config patch deployment.
-     * 
- */ - public void createPatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePatchDeploymentMethod(), responseObserver); - } - - /** - *
-     * Get an OS Config patch deployment.
-     * 
- */ - public void getPatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPatchDeploymentMethod(), responseObserver); - } - - /** - *
-     * Get a page of OS Config patch deployments.
-     * 
- */ - public void listPatchDeployments(com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPatchDeploymentsMethod(), responseObserver); - } - - /** - *
-     * Delete an OS Config patch deployment.
-     * 
- */ - public void deletePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePatchDeploymentMethod(), responseObserver); - } - - /** - *
-     * Update an OS Config patch deployment.
-     * 
- */ - public void updatePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePatchDeploymentMethod(), responseObserver); - } - - /** - *
-     * Change state of patch deployment to "PAUSED".
-     * Patch deployment in paused state doesn't generate patch jobs.
-     * 
- */ - public void pausePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPausePatchDeploymentMethod(), responseObserver); - } - - /** - *
-     * Change state of patch deployment back to "ACTIVE".
-     * Patch deployment in active state continues to generate patch jobs.
-     * 
- */ - public void resumePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumePatchDeploymentMethod(), responseObserver); - } - - /** - *
-     * Create an OS Config guest policy.
-     * 
- */ - public void createGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateGuestPolicyMethod(), responseObserver); - } - - /** - *
-     * Get an OS Config guest policy.
-     * 
- */ - public void getGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGuestPolicyMethod(), responseObserver); - } - - /** - *
-     * Get a page of OS Config guest policies.
-     * 
- */ - public void listGuestPolicies(com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListGuestPoliciesMethod(), responseObserver); - } - - /** - *
-     * Update an OS Config guest policy.
-     * 
- */ - public void updateGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateGuestPolicyMethod(), responseObserver); - } - - /** - *
-     * Delete an OS Config guest policy.
-     * 
- */ - public void deleteGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteGuestPolicyMethod(), responseObserver); - } - - /** - *
-     * Lookup the effective guest policy that applies to a VM instance. This
-     * lookup merges all policies that are assigned to the instance ancestry.
-     * 
- */ - public void lookupEffectiveGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLookupEffectiveGuestPolicyMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getExecutePatchJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob>( - this, METHODID_EXECUTE_PATCH_JOB))) - .addMethod( - getGetPatchJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob>( - this, METHODID_GET_PATCH_JOB))) - .addMethod( - getCancelPatchJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob>( - this, METHODID_CANCEL_PATCH_JOB))) - .addMethod( - getListPatchJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse>( - this, METHODID_LIST_PATCH_JOBS))) - .addMethod( - getListPatchJobInstanceDetailsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest, - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse>( - this, METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS))) - .addMethod( - getCreatePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( - this, METHODID_CREATE_PATCH_DEPLOYMENT))) - .addMethod( - getGetPatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( - this, METHODID_GET_PATCH_DEPLOYMENT))) - .addMethod( - getListPatchDeploymentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse>( - this, METHODID_LIST_PATCH_DEPLOYMENTS))) - .addMethod( - getDeletePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_PATCH_DEPLOYMENT))) - .addMethod( - getUpdatePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( - this, METHODID_UPDATE_PATCH_DEPLOYMENT))) - .addMethod( - getPausePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( - this, METHODID_PAUSE_PATCH_DEPLOYMENT))) - .addMethod( - getResumePatchDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest, - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( - this, METHODID_RESUME_PATCH_DEPLOYMENT))) - .addMethod( - getCreateGuestPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>( - this, METHODID_CREATE_GUEST_POLICY))) - .addMethod( - getGetGuestPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>( - this, METHODID_GET_GUEST_POLICY))) - .addMethod( - getListGuestPoliciesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse>( - this, METHODID_LIST_GUEST_POLICIES))) - .addMethod( - getUpdateGuestPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>( - this, METHODID_UPDATE_GUEST_POLICY))) - .addMethod( - getDeleteGuestPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_GUEST_POLICY))) - .addMethod( - getLookupEffectiveGuestPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest, - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy>( - this, METHODID_LOOKUP_EFFECTIVE_GUEST_POLICY))) - .build(); - } - } - - /** - *
-   * OS Config API
-   * The OS Config service is a server-side component that you can use to
-   * manage package installations and patch jobs for virtual machine instances.
-   * 
- */ - public static final class OsConfigServiceStub extends io.grpc.stub.AbstractAsyncStub { - private OsConfigServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceStub(channel, callOptions); - } - - /** - *
-     * Patch VM instances by creating and running a patch job.
-     * 
- */ - public void executePatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExecutePatchJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get the patch job. This can be used to track the progress of an
-     * ongoing patch job or review the details of completed jobs.
-     * 
- */ - public void getPatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPatchJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Cancel a patch job. The patch job must be active. Canceled patch jobs
-     * cannot be restarted.
-     * 
- */ - public void cancelPatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelPatchJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get a list of patch jobs.
-     * 
- */ - public void listPatchJobs(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPatchJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get a list of instance details for a given patch job.
-     * 
- */ - public void listPatchJobInstanceDetails(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPatchJobInstanceDetailsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Create an OS Config patch deployment.
-     * 
- */ - public void createPatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePatchDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get an OS Config patch deployment.
-     * 
- */ - public void getPatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPatchDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get a page of OS Config patch deployments.
-     * 
- */ - public void listPatchDeployments(com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPatchDeploymentsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Delete an OS Config patch deployment.
-     * 
- */ - public void deletePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePatchDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Update an OS Config patch deployment.
-     * 
- */ - public void updatePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePatchDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Change state of patch deployment to "PAUSED".
-     * Patch deployment in paused state doesn't generate patch jobs.
-     * 
- */ - public void pausePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPausePatchDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Change state of patch deployment back to "ACTIVE".
-     * Patch deployment in active state continues to generate patch jobs.
-     * 
- */ - public void resumePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumePatchDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Create an OS Config guest policy.
-     * 
- */ - public void createGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateGuestPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get an OS Config guest policy.
-     * 
- */ - public void getGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetGuestPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get a page of OS Config guest policies.
-     * 
- */ - public void listGuestPolicies(com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListGuestPoliciesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Update an OS Config guest policy.
-     * 
- */ - public void updateGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateGuestPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Delete an OS Config guest policy.
-     * 
- */ - public void deleteGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteGuestPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup the effective guest policy that applies to a VM instance. This
-     * lookup merges all policies that are assigned to the instance ancestry.
-     * 
- */ - public void lookupEffectiveGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getLookupEffectiveGuestPolicyMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * OS Config API
-   * The OS Config service is a server-side component that you can use to
-   * manage package installations and patch jobs for virtual machine instances.
-   * 
- */ - public static final class OsConfigServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private OsConfigServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Patch VM instances by creating and running a patch job.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob executePatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExecutePatchJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Get the patch job. This can be used to track the progress of an
-     * ongoing patch job or review the details of completed jobs.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob getPatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPatchJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Cancel a patch job. The patch job must be active. Canceled patch jobs
-     * cannot be restarted.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob cancelPatchJob(com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelPatchJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Get a list of patch jobs.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse listPatchJobs(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPatchJobsMethod(), getCallOptions(), request); - } - - /** - *
-     * Get a list of instance details for a given patch job.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse listPatchJobInstanceDetails(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPatchJobInstanceDetailsMethod(), getCallOptions(), request); - } - - /** - *
-     * Create an OS Config patch deployment.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment createPatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePatchDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Get an OS Config patch deployment.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPatchDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Get a page of OS Config patch deployments.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse listPatchDeployments(com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPatchDeploymentsMethod(), getCallOptions(), request); - } - - /** - *
-     * Delete an OS Config patch deployment.
-     * 
- */ - public com.google.protobuf.Empty deletePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePatchDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Update an OS Config patch deployment.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment updatePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePatchDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Change state of patch deployment to "PAUSED".
-     * Patch deployment in paused state doesn't generate patch jobs.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment pausePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPausePatchDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Change state of patch deployment back to "ACTIVE".
-     * Patch deployment in active state continues to generate patch jobs.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment resumePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getResumePatchDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Create an OS Config guest policy.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy createGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateGuestPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Get an OS Config guest policy.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetGuestPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Get a page of OS Config guest policies.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse listGuestPolicies(com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListGuestPoliciesMethod(), getCallOptions(), request); - } - - /** - *
-     * Update an OS Config guest policy.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy updateGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateGuestPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Delete an OS Config guest policy.
-     * 
- */ - public com.google.protobuf.Empty deleteGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteGuestPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup the effective guest policy that applies to a VM instance. This
-     * lookup merges all policies that are assigned to the instance ancestry.
-     * 
- */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy lookupEffectiveGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getLookupEffectiveGuestPolicyMethod(), getCallOptions(), request); - } - } - - /** - *
-   * OS Config API
-   * The OS Config service is a server-side component that you can use to
-   * manage package installations and patch jobs for virtual machine instances.
-   * 
- */ - public static final class OsConfigServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private OsConfigServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected OsConfigServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new OsConfigServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Patch VM instances by creating and running a patch job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture executePatchJob( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getExecutePatchJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Get the patch job. This can be used to track the progress of an
-     * ongoing patch job or review the details of completed jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getPatchJob( - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPatchJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Cancel a patch job. The patch job must be active. Canceled patch jobs
-     * cannot be restarted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture cancelPatchJob( - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelPatchJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Get a list of patch jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listPatchJobs( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPatchJobsMethod(), getCallOptions()), request); - } - - /** - *
-     * Get a list of instance details for a given patch job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listPatchJobInstanceDetails( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPatchJobInstanceDetailsMethod(), getCallOptions()), request); - } - - /** - *
-     * Create an OS Config patch deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createPatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePatchDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Get an OS Config patch deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getPatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPatchDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Get a page of OS Config patch deployments.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listPatchDeployments( - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPatchDeploymentsMethod(), getCallOptions()), request); - } - - /** - *
-     * Delete an OS Config patch deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deletePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePatchDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Update an OS Config patch deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updatePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdatePatchDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Change state of patch deployment to "PAUSED".
-     * Patch deployment in paused state doesn't generate patch jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture pausePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPausePatchDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Change state of patch deployment back to "ACTIVE".
-     * Patch deployment in active state continues to generate patch jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture resumePatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getResumePatchDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Create an OS Config guest policy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateGuestPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Get an OS Config guest policy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetGuestPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Get a page of OS Config guest policies.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listGuestPolicies( - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListGuestPoliciesMethod(), getCallOptions()), request); - } - - /** - *
-     * Update an OS Config guest policy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateGuestPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Delete an OS Config guest policy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteGuestPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup the effective guest policy that applies to a VM instance. This
-     * lookup merges all policies that are assigned to the instance ancestry.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture lookupEffectiveGuestPolicy( - com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getLookupEffectiveGuestPolicyMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_EXECUTE_PATCH_JOB = 0; - private static final int METHODID_GET_PATCH_JOB = 1; - private static final int METHODID_CANCEL_PATCH_JOB = 2; - private static final int METHODID_LIST_PATCH_JOBS = 3; - private static final int METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS = 4; - private static final int METHODID_CREATE_PATCH_DEPLOYMENT = 5; - private static final int METHODID_GET_PATCH_DEPLOYMENT = 6; - private static final int METHODID_LIST_PATCH_DEPLOYMENTS = 7; - private static final int METHODID_DELETE_PATCH_DEPLOYMENT = 8; - private static final int METHODID_UPDATE_PATCH_DEPLOYMENT = 9; - private static final int METHODID_PAUSE_PATCH_DEPLOYMENT = 10; - private static final int METHODID_RESUME_PATCH_DEPLOYMENT = 11; - private static final int METHODID_CREATE_GUEST_POLICY = 12; - private static final int METHODID_GET_GUEST_POLICY = 13; - private static final int METHODID_LIST_GUEST_POLICIES = 14; - private static final int METHODID_UPDATE_GUEST_POLICY = 15; - private static final int METHODID_DELETE_GUEST_POLICY = 16; - private static final int METHODID_LOOKUP_EFFECTIVE_GUEST_POLICY = 17; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final OsConfigServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(OsConfigServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_EXECUTE_PATCH_JOB: - serviceImpl.executePatchJob((com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PATCH_JOB: - serviceImpl.getPatchJob((com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_PATCH_JOB: - serviceImpl.cancelPatchJob((com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PATCH_JOBS: - serviceImpl.listPatchJobs((com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PATCH_JOB_INSTANCE_DETAILS: - serviceImpl.listPatchJobInstanceDetails((com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_PATCH_DEPLOYMENT: - serviceImpl.createPatchDeployment((com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PATCH_DEPLOYMENT: - serviceImpl.getPatchDeployment((com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PATCH_DEPLOYMENTS: - serviceImpl.listPatchDeployments((com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_PATCH_DEPLOYMENT: - serviceImpl.deletePatchDeployment((com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_PATCH_DEPLOYMENT: - serviceImpl.updatePatchDeployment((com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PAUSE_PATCH_DEPLOYMENT: - serviceImpl.pausePatchDeployment((com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESUME_PATCH_DEPLOYMENT: - serviceImpl.resumePatchDeployment((com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_GUEST_POLICY: - serviceImpl.createGuestPolicy((com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_GUEST_POLICY: - serviceImpl.getGuestPolicy((com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_GUEST_POLICIES: - serviceImpl.listGuestPolicies((com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_GUEST_POLICY: - serviceImpl.updateGuestPolicy((com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_GUEST_POLICY: - serviceImpl.deleteGuestPolicy((com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LOOKUP_EFFECTIVE_GUEST_POLICY: - serviceImpl.lookupEffectiveGuestPolicy((com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class OsConfigServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - OsConfigServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.osconfig.v1beta.OsConfigProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("OsConfigService"); - } - } - - private static final class OsConfigServiceFileDescriptorSupplier - extends OsConfigServiceBaseDescriptorSupplier { - OsConfigServiceFileDescriptorSupplier() {} - } - - private static final class OsConfigServiceMethodDescriptorSupplier - extends OsConfigServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - OsConfigServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (OsConfigServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new OsConfigServiceFileDescriptorSupplier()) - .addMethod(getExecutePatchJobMethod()) - .addMethod(getGetPatchJobMethod()) - .addMethod(getCancelPatchJobMethod()) - .addMethod(getListPatchJobsMethod()) - .addMethod(getListPatchJobInstanceDetailsMethod()) - .addMethod(getCreatePatchDeploymentMethod()) - .addMethod(getGetPatchDeploymentMethod()) - .addMethod(getListPatchDeploymentsMethod()) - .addMethod(getDeletePatchDeploymentMethod()) - .addMethod(getUpdatePatchDeploymentMethod()) - .addMethod(getPausePatchDeploymentMethod()) - .addMethod(getResumePatchDeploymentMethod()) - .addMethod(getCreateGuestPolicyMethod()) - .addMethod(getGetGuestPolicyMethod()) - .addMethod(getListGuestPoliciesMethod()) - .addMethod(getUpdateGuestPolicyMethod()) - .addMethod(getDeleteGuestPolicyMethod()) - .addMethod(getLookupEffectiveGuestPolicyMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigProto.java b/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigProto.java deleted file mode 100644 index 0ef37601..00000000 --- a/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigProto.java +++ /dev/null @@ -1,156 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/osconfig/v1beta/osconfig_service.proto - -package com.google.cloud.osconfig.v1beta; - -public final class OsConfigProto { - private OsConfigProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/osconfig/v1beta/osconfig_" + - "service.proto\022\034google.cloud.osconfig.v1b" + - "eta\032\034google/api/annotations.proto\032\027googl" + - "e/api/client.proto\0321google/cloud/osconfi" + - "g/v1beta/guest_policies.proto\0324google/cl" + - "oud/osconfig/v1beta/patch_deployments.pr" + - "oto\032-google/cloud/osconfig/v1beta/patch_" + - "jobs.proto\032\033google/protobuf/empty.proto2" + - "\223\034\n\017OsConfigService\022\251\001\n\017ExecutePatchJob\022" + - "4.google.cloud.osconfig.v1beta.ExecutePa" + - "tchJobRequest\032&.google.cloud.osconfig.v1" + - "beta.PatchJob\"8\202\323\344\223\0022\"-/v1beta/{parent=p" + - "rojects/*}/patchJobs:execute:\001*\022\226\001\n\013GetP" + - "atchJob\0220.google.cloud.osconfig.v1beta.G" + - "etPatchJobRequest\032&.google.cloud.osconfi" + - "g.v1beta.PatchJob\"-\202\323\344\223\002\'\022%/v1beta/{name" + - "=projects/*/patchJobs/*}\022\246\001\n\016CancelPatch" + - "Job\0223.google.cloud.osconfig.v1beta.Cance" + - "lPatchJobRequest\032&.google.cloud.osconfig" + - ".v1beta.PatchJob\"7\202\323\344\223\0021\",/v1beta/{name=" + - "projects/*/patchJobs/*}:cancel:\001*\022\247\001\n\rLi" + - "stPatchJobs\0222.google.cloud.osconfig.v1be" + - "ta.ListPatchJobsRequest\0323.google.cloud.o" + - "sconfig.v1beta.ListPatchJobsResponse\"-\202\323" + - "\344\223\002\'\022%/v1beta/{parent=projects/*}/patchJ" + - "obs\022\354\001\n\033ListPatchJobInstanceDetails\022@.go" + - "ogle.cloud.osconfig.v1beta.ListPatchJobI" + - "nstanceDetailsRequest\032A.google.cloud.osc" + - "onfig.v1beta.ListPatchJobInstanceDetails" + - "Response\"H\202\323\344\223\0029\0227/v1beta/{parent=projec" + - "ts/*/patchJobs/*}/instanceDetails\332A\006pare" + - "nt\022\312\001\n\025CreatePatchDeployment\022:.google.cl" + - "oud.osconfig.v1beta.CreatePatchDeploymen" + - "tRequest\032-.google.cloud.osconfig.v1beta." + - "PatchDeployment\"F\202\323\344\223\002@\",/v1beta/{parent" + - "=projects/*}/patchDeployments:\020patch_dep" + - "loyment\022\262\001\n\022GetPatchDeployment\0227.google." + - "cloud.osconfig.v1beta.GetPatchDeployment" + - "Request\032-.google.cloud.osconfig.v1beta.P" + - "atchDeployment\"4\202\323\344\223\002.\022,/v1beta/{name=pr" + - "ojects/*/patchDeployments/*}\022\303\001\n\024ListPat" + - "chDeployments\0229.google.cloud.osconfig.v1" + - "beta.ListPatchDeploymentsRequest\032:.googl" + - "e.cloud.osconfig.v1beta.ListPatchDeploym" + - "entsResponse\"4\202\323\344\223\002.\022,/v1beta/{parent=pr" + - "ojects/*}/patchDeployments\022\241\001\n\025DeletePat" + - "chDeployment\022:.google.cloud.osconfig.v1b" + - "eta.DeletePatchDeploymentRequest\032\026.googl" + - "e.protobuf.Empty\"4\202\323\344\223\002.*,/v1beta/{name=" + - "projects/*/patchDeployments/*}\022\372\001\n\025Updat" + - "ePatchDeployment\022:.google.cloud.osconfig" + - ".v1beta.UpdatePatchDeploymentRequest\032-.g" + - "oogle.cloud.osconfig.v1beta.PatchDeploym" + - "ent\"v\202\323\344\223\002Q2=/v1beta/{patch_deployment.n" + - "ame=projects/*/patchDeployments/*}:\020patc" + - "h_deployment\332A\034patch_deployment,update_m" + - "ask\022\306\001\n\024PausePatchDeployment\0229.google.cl" + - "oud.osconfig.v1beta.PausePatchDeployment" + - "Request\032-.google.cloud.osconfig.v1beta.P" + - "atchDeployment\"D\202\323\344\223\0027\"2/v1beta/{name=pr" + - "ojects/*/patchDeployments/*}:pause:\001*\332A\004" + - "name\022\311\001\n\025ResumePatchDeployment\022:.google." + - "cloud.osconfig.v1beta.ResumePatchDeploym" + - "entRequest\032-.google.cloud.osconfig.v1bet" + - "a.PatchDeployment\"E\202\323\344\223\0028\"3/v1beta/{name" + - "=projects/*/patchDeployments/*}:resume:\001" + - "*\332A\004name\022\316\001\n\021CreateGuestPolicy\0226.google." + - "cloud.osconfig.v1beta.CreateGuestPolicyR" + - "equest\032).google.cloud.osconfig.v1beta.Gu" + - "estPolicy\"V\202\323\344\223\0029\")/v1beta/{parent=proje" + - "cts/*}/guestPolicies:\014guest_policy\332A\024par" + - "ent, guest_policy\022\252\001\n\016GetGuestPolicy\0223.g" + - "oogle.cloud.osconfig.v1beta.GetGuestPoli" + - "cyRequest\032).google.cloud.osconfig.v1beta" + - ".GuestPolicy\"8\202\323\344\223\002+\022)/v1beta/{name=proj" + - "ects/*/guestPolicies/*}\332A\004name\022\300\001\n\021ListG" + - "uestPolicies\0226.google.cloud.osconfig.v1b" + - "eta.ListGuestPoliciesRequest\0327.google.cl" + - "oud.osconfig.v1beta.ListGuestPoliciesRes" + - "ponse\":\202\323\344\223\002+\022)/v1beta/{parent=projects/" + - "*}/guestPolicies\332A\006parent\022\337\001\n\021UpdateGues" + - "tPolicy\0226.google.cloud.osconfig.v1beta.U" + - "pdateGuestPolicyRequest\032).google.cloud.o" + - "sconfig.v1beta.GuestPolicy\"g\202\323\344\223\002F26/v1b" + - "eta/{guest_policy.name=projects/*/guestP" + - "olicies/*}:\014guest_policy\332A\030guest_policy," + - "update_mask\022\235\001\n\021DeleteGuestPolicy\0226.goog" + - "le.cloud.osconfig.v1beta.DeleteGuestPoli" + - "cyRequest\032\026.google.protobuf.Empty\"8\202\323\344\223\002" + - "+*)/v1beta/{name=projects/*/guestPolicie" + - "s/*}\332A\004name\022\352\001\n\032LookupEffectiveGuestPoli" + - "cy\022?.google.cloud.osconfig.v1beta.Lookup" + - "EffectiveGuestPolicyRequest\0322.google.clo" + - "ud.osconfig.v1beta.EffectiveGuestPolicy\"" + - "W\202\323\344\223\002Q\"L/v1beta/{instance=projects/*/zo" + - "nes/*/instances/*}:lookupEffectiveGuestP" + - "olicy:\001*\032K\312A\027osconfig.googleapis.com\322A.h" + - "ttps://www.googleapis.com/auth/cloud-pla" + - "tformBw\n com.google.cloud.osconfig.v1bet" + - "aB\rOsConfigProtoZDgoogle.golang.org/genp" + - "roto/googleapis/cloud/osconfig/v1beta;os" + - "configb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.cloud.osconfig.v1beta.GuestPolicies.getDescriptor(), - com.google.cloud.osconfig.v1beta.PatchDeployments.getDescriptor(), - com.google.cloud.osconfig.v1beta.PatchJobs.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.cloud.osconfig.v1beta.GuestPolicies.getDescriptor(); - com.google.cloud.osconfig.v1beta.PatchDeployments.getDescriptor(); - com.google.cloud.osconfig.v1beta.PatchJobs.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3.java index 7bffbb65..e5e4e53e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * Common Vulnerability Scoring System version 3.
  * For details, see https://www.first.org/cvss/specification-document
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.CVSSv3}
  */
-public final class CVSSv3 extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CVSSv3 extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.CVSSv3)
     CVSSv3OrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CVSSv3.newBuilder() to construct.
   private CVSSv3(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CVSSv3() {
     attackVector_ = 0;
     attackComplexity_ = 0;
@@ -33,16 +51,15 @@ private CVSSv3() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CVSSv3();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CVSSv3(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -61,76 +78,84 @@ private CVSSv3(
           case 0:
             done = true;
             break;
-          case 13: {
-
-            baseScore_ = input.readFloat();
-            break;
-          }
-          case 21: {
-
-            exploitabilityScore_ = input.readFloat();
-            break;
-          }
-          case 29: {
-
-            impactScore_ = input.readFloat();
-            break;
-          }
-          case 40: {
-            int rawValue = input.readEnum();
+          case 13:
+            {
+              baseScore_ = input.readFloat();
+              break;
+            }
+          case 21:
+            {
+              exploitabilityScore_ = input.readFloat();
+              break;
+            }
+          case 29:
+            {
+              impactScore_ = input.readFloat();
+              break;
+            }
+          case 40:
+            {
+              int rawValue = input.readEnum();
 
-            attackVector_ = rawValue;
-            break;
-          }
-          case 48: {
-            int rawValue = input.readEnum();
+              attackVector_ = rawValue;
+              break;
+            }
+          case 48:
+            {
+              int rawValue = input.readEnum();
 
-            attackComplexity_ = rawValue;
-            break;
-          }
-          case 56: {
-            int rawValue = input.readEnum();
+              attackComplexity_ = rawValue;
+              break;
+            }
+          case 56:
+            {
+              int rawValue = input.readEnum();
 
-            privilegesRequired_ = rawValue;
-            break;
-          }
-          case 64: {
-            int rawValue = input.readEnum();
+              privilegesRequired_ = rawValue;
+              break;
+            }
+          case 64:
+            {
+              int rawValue = input.readEnum();
 
-            userInteraction_ = rawValue;
-            break;
-          }
-          case 72: {
-            int rawValue = input.readEnum();
+              userInteraction_ = rawValue;
+              break;
+            }
+          case 72:
+            {
+              int rawValue = input.readEnum();
 
-            scope_ = rawValue;
-            break;
-          }
-          case 80: {
-            int rawValue = input.readEnum();
+              scope_ = rawValue;
+              break;
+            }
+          case 80:
+            {
+              int rawValue = input.readEnum();
 
-            confidentialityImpact_ = rawValue;
-            break;
-          }
-          case 88: {
-            int rawValue = input.readEnum();
+              confidentialityImpact_ = rawValue;
+              break;
+            }
+          case 88:
+            {
+              int rawValue = input.readEnum();
 
-            integrityImpact_ = rawValue;
-            break;
-          }
-          case 96: {
-            int rawValue = input.readEnum();
+              integrityImpact_ = rawValue;
+              break;
+            }
+          case 96:
+            {
+              int rawValue = input.readEnum();
 
-            availabilityImpact_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              availabilityImpact_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -138,27 +163,31 @@ private CVSSv3(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1.VulnerabilityProto
+        .internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_CVSSv3_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.VulnerabilityProto
+        .internal_static_google_cloud_osconfig_v1_CVSSv3_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.CVSSv3.class, com.google.cloud.osconfig.v1.CVSSv3.Builder.class);
+            com.google.cloud.osconfig.v1.CVSSv3.class,
+            com.google.cloud.osconfig.v1.CVSSv3.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
@@ -166,9 +195,10 @@ private CVSSv3(
    *
    * Protobuf enum {@code google.cloud.osconfig.v1.CVSSv3.AttackVector}
    */
-  public enum AttackVector
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -177,6 +207,8 @@ public enum AttackVector */ ATTACK_VECTOR_UNSPECIFIED(0), /** + * + * *
      * The vulnerable component is bound to the network stack and the set of
      * possible attackers extends beyond the other options listed below, up to
@@ -187,6 +219,8 @@ public enum AttackVector
      */
     ATTACK_VECTOR_NETWORK(1),
     /**
+     *
+     *
      * 
      * The vulnerable component is bound to the network stack, but the attack is
      * limited at the protocol level to a logically adjacent topology.
@@ -196,6 +230,8 @@ public enum AttackVector
      */
     ATTACK_VECTOR_ADJACENT(2),
     /**
+     *
+     *
      * 
      * The vulnerable component is not bound to the network stack and the
      * attacker's path is via read/write/execute capabilities.
@@ -205,6 +241,8 @@ public enum AttackVector
      */
     ATTACK_VECTOR_LOCAL(3),
     /**
+     *
+     *
      * 
      * The attack requires the attacker to physically touch or manipulate the
      * vulnerable component.
@@ -217,6 +255,8 @@ public enum AttackVector
     ;
 
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -225,6 +265,8 @@ public enum AttackVector */ public static final int ATTACK_VECTOR_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The vulnerable component is bound to the network stack and the set of
      * possible attackers extends beyond the other options listed below, up to
@@ -235,6 +277,8 @@ public enum AttackVector
      */
     public static final int ATTACK_VECTOR_NETWORK_VALUE = 1;
     /**
+     *
+     *
      * 
      * The vulnerable component is bound to the network stack, but the attack is
      * limited at the protocol level to a logically adjacent topology.
@@ -244,6 +288,8 @@ public enum AttackVector
      */
     public static final int ATTACK_VECTOR_ADJACENT_VALUE = 2;
     /**
+     *
+     *
      * 
      * The vulnerable component is not bound to the network stack and the
      * attacker's path is via read/write/execute capabilities.
@@ -253,6 +299,8 @@ public enum AttackVector
      */
     public static final int ATTACK_VECTOR_LOCAL_VALUE = 3;
     /**
+     *
+     *
      * 
      * The attack requires the attacker to physically touch or manipulate the
      * vulnerable component.
@@ -262,7 +310,6 @@ public enum AttackVector
      */
     public static final int ATTACK_VECTOR_PHYSICAL_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -287,51 +334,53 @@ public static AttackVector valueOf(int value) {
      */
     public static AttackVector forNumber(int value) {
       switch (value) {
-        case 0: return ATTACK_VECTOR_UNSPECIFIED;
-        case 1: return ATTACK_VECTOR_NETWORK;
-        case 2: return ATTACK_VECTOR_ADJACENT;
-        case 3: return ATTACK_VECTOR_LOCAL;
-        case 4: return ATTACK_VECTOR_PHYSICAL;
-        default: return null;
+        case 0:
+          return ATTACK_VECTOR_UNSPECIFIED;
+        case 1:
+          return ATTACK_VECTOR_NETWORK;
+        case 2:
+          return ATTACK_VECTOR_ADJACENT;
+        case 3:
+          return ATTACK_VECTOR_LOCAL;
+        case 4:
+          return ATTACK_VECTOR_PHYSICAL;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        AttackVector> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public AttackVector findValueByNumber(int number) {
-              return AttackVector.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public AttackVector findValueByNumber(int number) {
+            return AttackVector.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.osconfig.v1.CVSSv3.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final AttackVector[] VALUES = values();
 
-    public static AttackVector valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static AttackVector valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -349,6 +398,8 @@ private AttackVector(int value) {
   }
 
   /**
+   *
+   *
    * 
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
@@ -356,9 +407,10 @@ private AttackVector(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1.CVSSv3.AttackComplexity}
    */
-  public enum AttackComplexity
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -367,6 +419,8 @@ public enum AttackComplexity */ ATTACK_COMPLEXITY_UNSPECIFIED(0), /** + * + * *
      * Specialized access conditions or extenuating circumstances do not exist.
      * An attacker can expect repeatable success when attacking the vulnerable
@@ -377,6 +431,8 @@ public enum AttackComplexity
      */
     ATTACK_COMPLEXITY_LOW(1),
     /**
+     *
+     *
      * 
      * A successful attack depends on conditions beyond the attacker's control.
      * That is, a successful attack cannot be accomplished at will, but requires
@@ -392,6 +448,8 @@ public enum AttackComplexity
     ;
 
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -400,6 +458,8 @@ public enum AttackComplexity */ public static final int ATTACK_COMPLEXITY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Specialized access conditions or extenuating circumstances do not exist.
      * An attacker can expect repeatable success when attacking the vulnerable
@@ -410,6 +470,8 @@ public enum AttackComplexity
      */
     public static final int ATTACK_COMPLEXITY_LOW_VALUE = 1;
     /**
+     *
+     *
      * 
      * A successful attack depends on conditions beyond the attacker's control.
      * That is, a successful attack cannot be accomplished at will, but requires
@@ -422,7 +484,6 @@ public enum AttackComplexity
      */
     public static final int ATTACK_COMPLEXITY_HIGH_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -447,39 +508,42 @@ public static AttackComplexity valueOf(int value) {
      */
     public static AttackComplexity forNumber(int value) {
       switch (value) {
-        case 0: return ATTACK_COMPLEXITY_UNSPECIFIED;
-        case 1: return ATTACK_COMPLEXITY_LOW;
-        case 2: return ATTACK_COMPLEXITY_HIGH;
-        default: return null;
+        case 0:
+          return ATTACK_COMPLEXITY_UNSPECIFIED;
+        case 1:
+          return ATTACK_COMPLEXITY_LOW;
+        case 2:
+          return ATTACK_COMPLEXITY_HIGH;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        AttackComplexity> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public AttackComplexity findValueByNumber(int number) {
-              return AttackComplexity.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public AttackComplexity findValueByNumber(int number) {
+                return AttackComplexity.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.osconfig.v1.CVSSv3.getDescriptor().getEnumTypes().get(1);
     }
 
@@ -488,8 +552,7 @@ public AttackComplexity findValueByNumber(int number) {
     public static AttackComplexity valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -507,6 +570,8 @@ private AttackComplexity(int value) {
   }
 
   /**
+   *
+   *
    * 
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
@@ -514,9 +579,10 @@ private AttackComplexity(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired}
    */
-  public enum PrivilegesRequired
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -525,6 +591,8 @@ public enum PrivilegesRequired */ PRIVILEGES_REQUIRED_UNSPECIFIED(0), /** + * + * *
      * The attacker is unauthorized prior to attack, and therefore does not
      * require any access to settings or files of the vulnerable system to
@@ -535,6 +603,8 @@ public enum PrivilegesRequired
      */
     PRIVILEGES_REQUIRED_NONE(1),
     /**
+     *
+     *
      * 
      * The attacker requires privileges that provide basic user capabilities
      * that could normally affect only settings and files owned by a user.
@@ -546,6 +616,8 @@ public enum PrivilegesRequired
      */
     PRIVILEGES_REQUIRED_LOW(2),
     /**
+     *
+     *
      * 
      * The attacker requires privileges that provide significant (e.g.,
      * administrative) control over the vulnerable component allowing access to
@@ -559,6 +631,8 @@ public enum PrivilegesRequired
     ;
 
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -567,6 +641,8 @@ public enum PrivilegesRequired */ public static final int PRIVILEGES_REQUIRED_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The attacker is unauthorized prior to attack, and therefore does not
      * require any access to settings or files of the vulnerable system to
@@ -577,6 +653,8 @@ public enum PrivilegesRequired
      */
     public static final int PRIVILEGES_REQUIRED_NONE_VALUE = 1;
     /**
+     *
+     *
      * 
      * The attacker requires privileges that provide basic user capabilities
      * that could normally affect only settings and files owned by a user.
@@ -588,6 +666,8 @@ public enum PrivilegesRequired
      */
     public static final int PRIVILEGES_REQUIRED_LOW_VALUE = 2;
     /**
+     *
+     *
      * 
      * The attacker requires privileges that provide significant (e.g.,
      * administrative) control over the vulnerable component allowing access to
@@ -598,7 +678,6 @@ public enum PrivilegesRequired
      */
     public static final int PRIVILEGES_REQUIRED_HIGH_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -623,11 +702,16 @@ public static PrivilegesRequired valueOf(int value) {
      */
     public static PrivilegesRequired forNumber(int value) {
       switch (value) {
-        case 0: return PRIVILEGES_REQUIRED_UNSPECIFIED;
-        case 1: return PRIVILEGES_REQUIRED_NONE;
-        case 2: return PRIVILEGES_REQUIRED_LOW;
-        case 3: return PRIVILEGES_REQUIRED_HIGH;
-        default: return null;
+        case 0:
+          return PRIVILEGES_REQUIRED_UNSPECIFIED;
+        case 1:
+          return PRIVILEGES_REQUIRED_NONE;
+        case 2:
+          return PRIVILEGES_REQUIRED_LOW;
+        case 3:
+          return PRIVILEGES_REQUIRED_HIGH;
+        default:
+          return null;
       }
     }
 
@@ -635,28 +719,28 @@ public static PrivilegesRequired forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        PrivilegesRequired> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public PrivilegesRequired findValueByNumber(int number) {
-              return PrivilegesRequired.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public PrivilegesRequired findValueByNumber(int number) {
+                return PrivilegesRequired.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.osconfig.v1.CVSSv3.getDescriptor().getEnumTypes().get(2);
     }
 
@@ -665,8 +749,7 @@ public PrivilegesRequired findValueByNumber(int number) {
     public static PrivilegesRequired valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -684,6 +767,8 @@ private PrivilegesRequired(int value) {
   }
 
   /**
+   *
+   *
    * 
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -692,9 +777,10 @@ private PrivilegesRequired(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1.CVSSv3.UserInteraction}
    */
-  public enum UserInteraction
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -703,6 +789,8 @@ public enum UserInteraction */ USER_INTERACTION_UNSPECIFIED(0), /** + * + * *
      * The vulnerable system can be exploited without interaction from any user.
      * 
@@ -711,6 +799,8 @@ public enum UserInteraction */ USER_INTERACTION_NONE(1), /** + * + * *
      * Successful exploitation of this vulnerability requires a user to take
      * some action before the vulnerability can be exploited.
@@ -723,6 +813,8 @@ public enum UserInteraction
     ;
 
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -731,6 +823,8 @@ public enum UserInteraction */ public static final int USER_INTERACTION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The vulnerable system can be exploited without interaction from any user.
      * 
@@ -739,6 +833,8 @@ public enum UserInteraction */ public static final int USER_INTERACTION_NONE_VALUE = 1; /** + * + * *
      * Successful exploitation of this vulnerability requires a user to take
      * some action before the vulnerability can be exploited.
@@ -748,7 +844,6 @@ public enum UserInteraction
      */
     public static final int USER_INTERACTION_REQUIRED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -773,39 +868,42 @@ public static UserInteraction valueOf(int value) {
      */
     public static UserInteraction forNumber(int value) {
       switch (value) {
-        case 0: return USER_INTERACTION_UNSPECIFIED;
-        case 1: return USER_INTERACTION_NONE;
-        case 2: return USER_INTERACTION_REQUIRED;
-        default: return null;
+        case 0:
+          return USER_INTERACTION_UNSPECIFIED;
+        case 1:
+          return USER_INTERACTION_NONE;
+        case 2:
+          return USER_INTERACTION_REQUIRED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        UserInteraction> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public UserInteraction findValueByNumber(int number) {
-              return UserInteraction.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public UserInteraction findValueByNumber(int number) {
+                return UserInteraction.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.osconfig.v1.CVSSv3.getDescriptor().getEnumTypes().get(3);
     }
 
@@ -814,8 +912,7 @@ public UserInteraction findValueByNumber(int number) {
     public static UserInteraction valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -833,6 +930,8 @@ private UserInteraction(int value) {
   }
 
   /**
+   *
+   *
    * 
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
@@ -840,9 +939,10 @@ private UserInteraction(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1.CVSSv3.Scope}
    */
-  public enum Scope
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -851,6 +951,8 @@ public enum Scope */ SCOPE_UNSPECIFIED(0), /** + * + * *
      * An exploited vulnerability can only affect resources managed by the same
      * security authority.
@@ -860,6 +962,8 @@ public enum Scope
      */
     SCOPE_UNCHANGED(1),
     /**
+     *
+     *
      * 
      * An exploited vulnerability can affect resources beyond the security scope
      * managed by the security authority of the vulnerable component.
@@ -872,6 +976,8 @@ public enum Scope
     ;
 
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -880,6 +986,8 @@ public enum Scope */ public static final int SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * An exploited vulnerability can only affect resources managed by the same
      * security authority.
@@ -889,6 +997,8 @@ public enum Scope
      */
     public static final int SCOPE_UNCHANGED_VALUE = 1;
     /**
+     *
+     *
      * 
      * An exploited vulnerability can affect resources beyond the security scope
      * managed by the security authority of the vulnerable component.
@@ -898,7 +1008,6 @@ public enum Scope
      */
     public static final int SCOPE_CHANGED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -923,49 +1032,49 @@ public static Scope valueOf(int value) {
      */
     public static Scope forNumber(int value) {
       switch (value) {
-        case 0: return SCOPE_UNSPECIFIED;
-        case 1: return SCOPE_UNCHANGED;
-        case 2: return SCOPE_CHANGED;
-        default: return null;
+        case 0:
+          return SCOPE_UNSPECIFIED;
+        case 1:
+          return SCOPE_UNCHANGED;
+        case 2:
+          return SCOPE_CHANGED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Scope> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Scope findValueByNumber(int number) {
-              return Scope.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Scope findValueByNumber(int number) {
+            return Scope.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.osconfig.v1.CVSSv3.getDescriptor().getEnumTypes().get(4);
     }
 
     private static final Scope[] VALUES = values();
 
-    public static Scope valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Scope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -983,6 +1092,8 @@ private Scope(int value) {
   }
 
   /**
+   *
+   *
    * 
    * The Impact metrics capture the effects of a successfully exploited
    * vulnerability on the component that suffers the worst outcome that is most
@@ -991,9 +1102,10 @@ private Scope(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1.CVSSv3.Impact}
    */
-  public enum Impact
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Impact implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -1002,6 +1114,8 @@ public enum Impact */ IMPACT_UNSPECIFIED(0), /** + * + * *
      * High impact.
      * 
@@ -1010,6 +1124,8 @@ public enum Impact */ IMPACT_HIGH(1), /** + * + * *
      * Low impact.
      * 
@@ -1018,6 +1134,8 @@ public enum Impact */ IMPACT_LOW(2), /** + * + * *
      * No impact.
      * 
@@ -1029,6 +1147,8 @@ public enum Impact ; /** + * + * *
      * Invalid value.
      * 
@@ -1037,6 +1157,8 @@ public enum Impact */ public static final int IMPACT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * High impact.
      * 
@@ -1045,6 +1167,8 @@ public enum Impact */ public static final int IMPACT_HIGH_VALUE = 1; /** + * + * *
      * Low impact.
      * 
@@ -1053,6 +1177,8 @@ public enum Impact */ public static final int IMPACT_LOW_VALUE = 2; /** + * + * *
      * No impact.
      * 
@@ -1061,7 +1187,6 @@ public enum Impact */ public static final int IMPACT_NONE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1086,50 +1211,51 @@ public static Impact valueOf(int value) { */ public static Impact forNumber(int value) { switch (value) { - case 0: return IMPACT_UNSPECIFIED; - case 1: return IMPACT_HIGH; - case 2: return IMPACT_LOW; - case 3: return IMPACT_NONE; - default: return null; + case 0: + return IMPACT_UNSPECIFIED; + case 1: + return IMPACT_HIGH; + case 2: + return IMPACT_LOW; + case 3: + return IMPACT_NONE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Impact> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Impact findValueByNumber(int number) { - return Impact.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Impact findValueByNumber(int number) { + return Impact.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.osconfig.v1.CVSSv3.getDescriptor().getEnumTypes().get(5); } private static final Impact[] VALUES = values(); - public static Impact valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Impact valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -1149,12 +1275,15 @@ private Impact(int value) { public static final int BASE_SCORE_FIELD_NUMBER = 1; private float baseScore_; /** + * + * *
    * The base score is a function of the base metric scores.
    * https://www.first.org/cvss/specification-document#Base-Metrics
    * 
* * float base_score = 1; + * * @return The baseScore. */ @java.lang.Override @@ -1165,6 +1294,8 @@ public float getBaseScore() { public static final int EXPLOITABILITY_SCORE_FIELD_NUMBER = 2; private float exploitabilityScore_; /** + * + * *
    * The Exploitability sub-score equation is derived from the Base
    * Exploitability metrics.
@@ -1172,6 +1303,7 @@ public float getBaseScore() {
    * 
* * float exploitability_score = 2; + * * @return The exploitabilityScore. */ @java.lang.Override @@ -1182,11 +1314,14 @@ public float getExploitabilityScore() { public static final int IMPACT_SCORE_FIELD_NUMBER = 3; private float impactScore_; /** + * + * *
    * The Impact sub-score equation is derived from the Base Impact metrics.
    * 
* * float impact_score = 3; + * * @return The impactScore. */ @java.lang.Override @@ -1197,93 +1332,126 @@ public float getImpactScore() { public static final int ATTACK_VECTOR_FIELD_NUMBER = 5; private int attackVector_; /** + * + * *
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackVector attack_vector = 5; + * * @return The enum numeric value on the wire for attackVector. */ - @java.lang.Override public int getAttackVectorValue() { + @java.lang.Override + public int getAttackVectorValue() { return attackVector_; } /** + * + * *
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackVector attack_vector = 5; + * * @return The attackVector. */ - @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.AttackVector getAttackVector() { + @java.lang.Override + public com.google.cloud.osconfig.v1.CVSSv3.AttackVector getAttackVector() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.AttackVector result = com.google.cloud.osconfig.v1.CVSSv3.AttackVector.valueOf(attackVector_); + com.google.cloud.osconfig.v1.CVSSv3.AttackVector result = + com.google.cloud.osconfig.v1.CVSSv3.AttackVector.valueOf(attackVector_); return result == null ? com.google.cloud.osconfig.v1.CVSSv3.AttackVector.UNRECOGNIZED : result; } public static final int ATTACK_COMPLEXITY_FIELD_NUMBER = 6; private int attackComplexity_; /** + * + * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackComplexity attack_complexity = 6; + * * @return The enum numeric value on the wire for attackComplexity. */ - @java.lang.Override public int getAttackComplexityValue() { + @java.lang.Override + public int getAttackComplexityValue() { return attackComplexity_; } /** + * + * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackComplexity attack_complexity = 6; + * * @return The attackComplexity. */ - @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity getAttackComplexity() { + @java.lang.Override + public com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity getAttackComplexity() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity result = com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.valueOf(attackComplexity_); - return result == null ? com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity result = + com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.valueOf(attackComplexity_); + return result == null + ? com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.UNRECOGNIZED + : result; } public static final int PRIVILEGES_REQUIRED_FIELD_NUMBER = 7; private int privilegesRequired_; /** + * + * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired privileges_required = 7; + * * @return The enum numeric value on the wire for privilegesRequired. */ - @java.lang.Override public int getPrivilegesRequiredValue() { + @java.lang.Override + public int getPrivilegesRequiredValue() { return privilegesRequired_; } /** + * + * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired privileges_required = 7; + * * @return The privilegesRequired. */ - @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired getPrivilegesRequired() { + @java.lang.Override + public com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired getPrivilegesRequired() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired result = com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.valueOf(privilegesRequired_); - return result == null ? com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired result = + com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.valueOf(privilegesRequired_); + return result == null + ? com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.UNRECOGNIZED + : result; } public static final int USER_INTERACTION_FIELD_NUMBER = 8; private int userInteraction_; /** + * + * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -1291,12 +1459,16 @@ public float getImpactScore() {
    * 
* * .google.cloud.osconfig.v1.CVSSv3.UserInteraction user_interaction = 8; + * * @return The enum numeric value on the wire for userInteraction. */ - @java.lang.Override public int getUserInteractionValue() { + @java.lang.Override + public int getUserInteractionValue() { return userInteraction_; } /** + * + * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -1304,46 +1476,62 @@ public float getImpactScore() {
    * 
* * .google.cloud.osconfig.v1.CVSSv3.UserInteraction user_interaction = 8; + * * @return The userInteraction. */ - @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.UserInteraction getUserInteraction() { + @java.lang.Override + public com.google.cloud.osconfig.v1.CVSSv3.UserInteraction getUserInteraction() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.UserInteraction result = com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.valueOf(userInteraction_); - return result == null ? com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.CVSSv3.UserInteraction result = + com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.valueOf(userInteraction_); + return result == null + ? com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.UNRECOGNIZED + : result; } public static final int SCOPE_FIELD_NUMBER = 9; private int scope_; /** + * + * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Scope scope = 9; + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Scope scope = 9; + * * @return The scope. */ - @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.Scope getScope() { + @java.lang.Override + public com.google.cloud.osconfig.v1.CVSSv3.Scope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.Scope result = com.google.cloud.osconfig.v1.CVSSv3.Scope.valueOf(scope_); + com.google.cloud.osconfig.v1.CVSSv3.Scope result = + com.google.cloud.osconfig.v1.CVSSv3.Scope.valueOf(scope_); return result == null ? com.google.cloud.osconfig.v1.CVSSv3.Scope.UNRECOGNIZED : result; } public static final int CONFIDENTIALITY_IMPACT_FIELD_NUMBER = 10; private int confidentialityImpact_; /** + * + * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -1351,12 +1539,16 @@ public float getImpactScore() {
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact confidentiality_impact = 10; + * * @return The enum numeric value on the wire for confidentialityImpact. */ - @java.lang.Override public int getConfidentialityImpactValue() { + @java.lang.Override + public int getConfidentialityImpactValue() { return confidentialityImpact_; } /** + * + * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -1364,73 +1556,95 @@ public float getImpactScore() {
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact confidentiality_impact = 10; + * * @return The confidentialityImpact. */ - @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.Impact getConfidentialityImpact() { + @java.lang.Override + public com.google.cloud.osconfig.v1.CVSSv3.Impact getConfidentialityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.Impact result = com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(confidentialityImpact_); + com.google.cloud.osconfig.v1.CVSSv3.Impact result = + com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(confidentialityImpact_); return result == null ? com.google.cloud.osconfig.v1.CVSSv3.Impact.UNRECOGNIZED : result; } public static final int INTEGRITY_IMPACT_FIELD_NUMBER = 11; private int integrityImpact_; /** + * + * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact integrity_impact = 11; + * * @return The enum numeric value on the wire for integrityImpact. */ - @java.lang.Override public int getIntegrityImpactValue() { + @java.lang.Override + public int getIntegrityImpactValue() { return integrityImpact_; } /** + * + * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact integrity_impact = 11; + * * @return The integrityImpact. */ - @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.Impact getIntegrityImpact() { + @java.lang.Override + public com.google.cloud.osconfig.v1.CVSSv3.Impact getIntegrityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.Impact result = com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(integrityImpact_); + com.google.cloud.osconfig.v1.CVSSv3.Impact result = + com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(integrityImpact_); return result == null ? com.google.cloud.osconfig.v1.CVSSv3.Impact.UNRECOGNIZED : result; } public static final int AVAILABILITY_IMPACT_FIELD_NUMBER = 12; private int availabilityImpact_; /** + * + * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact availability_impact = 12; + * * @return The enum numeric value on the wire for availabilityImpact. */ - @java.lang.Override public int getAvailabilityImpactValue() { + @java.lang.Override + public int getAvailabilityImpactValue() { return availabilityImpact_; } /** + * + * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact availability_impact = 12; + * * @return The availabilityImpact. */ - @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.Impact getAvailabilityImpact() { + @java.lang.Override + public com.google.cloud.osconfig.v1.CVSSv3.Impact getAvailabilityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.Impact result = com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(availabilityImpact_); + com.google.cloud.osconfig.v1.CVSSv3.Impact result = + com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(availabilityImpact_); return result == null ? com.google.cloud.osconfig.v1.CVSSv3.Impact.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1442,8 +1656,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Float.floatToRawIntBits(baseScore_) != 0) { output.writeFloat(1, baseScore_); } @@ -1453,28 +1666,38 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (java.lang.Float.floatToRawIntBits(impactScore_) != 0) { output.writeFloat(3, impactScore_); } - if (attackVector_ != com.google.cloud.osconfig.v1.CVSSv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED.getNumber()) { + if (attackVector_ + != com.google.cloud.osconfig.v1.CVSSv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED.getNumber()) { output.writeEnum(5, attackVector_); } - if (attackComplexity_ != com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED.getNumber()) { + if (attackComplexity_ + != com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED + .getNumber()) { output.writeEnum(6, attackComplexity_); } - if (privilegesRequired_ != com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.PRIVILEGES_REQUIRED_UNSPECIFIED.getNumber()) { + if (privilegesRequired_ + != com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.PRIVILEGES_REQUIRED_UNSPECIFIED + .getNumber()) { output.writeEnum(7, privilegesRequired_); } - if (userInteraction_ != com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.USER_INTERACTION_UNSPECIFIED.getNumber()) { + if (userInteraction_ + != com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.USER_INTERACTION_UNSPECIFIED + .getNumber()) { output.writeEnum(8, userInteraction_); } if (scope_ != com.google.cloud.osconfig.v1.CVSSv3.Scope.SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(9, scope_); } - if (confidentialityImpact_ != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + if (confidentialityImpact_ + != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { output.writeEnum(10, confidentialityImpact_); } - if (integrityImpact_ != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + if (integrityImpact_ + != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { output.writeEnum(11, integrityImpact_); } - if (availabilityImpact_ != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + if (availabilityImpact_ + != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { output.writeEnum(12, availabilityImpact_); } unknownFields.writeTo(output); @@ -1487,48 +1710,47 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(baseScore_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, baseScore_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, baseScore_); } if (java.lang.Float.floatToRawIntBits(exploitabilityScore_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, exploitabilityScore_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, exploitabilityScore_); } if (java.lang.Float.floatToRawIntBits(impactScore_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(3, impactScore_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, impactScore_); } - if (attackVector_ != com.google.cloud.osconfig.v1.CVSSv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, attackVector_); + if (attackVector_ + != com.google.cloud.osconfig.v1.CVSSv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, attackVector_); } - if (attackComplexity_ != com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, attackComplexity_); + if (attackComplexity_ + != com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, attackComplexity_); } - if (privilegesRequired_ != com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.PRIVILEGES_REQUIRED_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, privilegesRequired_); + if (privilegesRequired_ + != com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.PRIVILEGES_REQUIRED_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, privilegesRequired_); } - if (userInteraction_ != com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.USER_INTERACTION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, userInteraction_); + if (userInteraction_ + != com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.USER_INTERACTION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, userInteraction_); } if (scope_ != com.google.cloud.osconfig.v1.CVSSv3.Scope.SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, scope_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, scope_); } - if (confidentialityImpact_ != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, confidentialityImpact_); + if (confidentialityImpact_ + != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, confidentialityImpact_); } - if (integrityImpact_ != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, integrityImpact_); + if (integrityImpact_ + != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, integrityImpact_); } - if (availabilityImpact_ != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(12, availabilityImpact_); + if (availabilityImpact_ + != com.google.cloud.osconfig.v1.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, availabilityImpact_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1538,7 +1760,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.CVSSv3)) { return super.equals(obj); @@ -1546,14 +1768,11 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.osconfig.v1.CVSSv3 other = (com.google.cloud.osconfig.v1.CVSSv3) obj; if (java.lang.Float.floatToIntBits(getBaseScore()) - != java.lang.Float.floatToIntBits( - other.getBaseScore())) return false; + != java.lang.Float.floatToIntBits(other.getBaseScore())) return false; if (java.lang.Float.floatToIntBits(getExploitabilityScore()) - != java.lang.Float.floatToIntBits( - other.getExploitabilityScore())) return false; + != java.lang.Float.floatToIntBits(other.getExploitabilityScore())) return false; if (java.lang.Float.floatToIntBits(getImpactScore()) - != java.lang.Float.floatToIntBits( - other.getImpactScore())) return false; + != java.lang.Float.floatToIntBits(other.getImpactScore())) return false; if (attackVector_ != other.attackVector_) return false; if (attackComplexity_ != other.attackComplexity_) return false; if (privilegesRequired_ != other.privilegesRequired_) return false; @@ -1574,14 +1793,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + BASE_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getBaseScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getBaseScore()); hash = (37 * hash) + EXPLOITABILITY_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getExploitabilityScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getExploitabilityScore()); hash = (37 * hash) + IMPACT_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getImpactScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getImpactScore()); hash = (37 * hash) + ATTACK_VECTOR_FIELD_NUMBER; hash = (53 * hash) + attackVector_; hash = (37 * hash) + ATTACK_COMPLEXITY_FIELD_NUMBER; @@ -1603,97 +1819,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.CVSSv3 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.osconfig.v1.CVSSv3 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.CVSSv3 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.CVSSv3 parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.CVSSv3 parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.CVSSv3 prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Common Vulnerability Scoring System version 3.
    * For details, see https://www.first.org/cvss/specification-document
@@ -1701,21 +1923,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1.CVSSv3}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.CVSSv3)
       com.google.cloud.osconfig.v1.CVSSv3OrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_CVSSv3_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1_CVSSv3_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.CVSSv3.class, com.google.cloud.osconfig.v1.CVSSv3.Builder.class);
+              com.google.cloud.osconfig.v1.CVSSv3.class,
+              com.google.cloud.osconfig.v1.CVSSv3.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1.CVSSv3.newBuilder()
@@ -1723,16 +1947,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1762,9 +1985,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor;
     }
 
     @java.lang.Override
@@ -1803,38 +2026,39 @@ public com.google.cloud.osconfig.v1.CVSSv3 buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.CVSSv3) {
-        return mergeFrom((com.google.cloud.osconfig.v1.CVSSv3)other);
+        return mergeFrom((com.google.cloud.osconfig.v1.CVSSv3) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1905,14 +2129,17 @@ public Builder mergeFrom(
       return this;
     }
 
-    private float baseScore_ ;
+    private float baseScore_;
     /**
+     *
+     *
      * 
      * The base score is a function of the base metric scores.
      * https://www.first.org/cvss/specification-document#Base-Metrics
      * 
* * float base_score = 1; + * * @return The baseScore. */ @java.lang.Override @@ -1920,39 +2147,47 @@ public float getBaseScore() { return baseScore_; } /** + * + * *
      * The base score is a function of the base metric scores.
      * https://www.first.org/cvss/specification-document#Base-Metrics
      * 
* * float base_score = 1; + * * @param value The baseScore to set. * @return This builder for chaining. */ public Builder setBaseScore(float value) { - + baseScore_ = value; onChanged(); return this; } /** + * + * *
      * The base score is a function of the base metric scores.
      * https://www.first.org/cvss/specification-document#Base-Metrics
      * 
* * float base_score = 1; + * * @return This builder for chaining. */ public Builder clearBaseScore() { - + baseScore_ = 0F; onChanged(); return this; } - private float exploitabilityScore_ ; + private float exploitabilityScore_; /** + * + * *
      * The Exploitability sub-score equation is derived from the Base
      * Exploitability metrics.
@@ -1960,6 +2195,7 @@ public Builder clearBaseScore() {
      * 
* * float exploitability_score = 2; + * * @return The exploitabilityScore. */ @java.lang.Override @@ -1967,6 +2203,8 @@ public float getExploitabilityScore() { return exploitabilityScore_; } /** + * + * *
      * The Exploitability sub-score equation is derived from the Base
      * Exploitability metrics.
@@ -1974,16 +2212,19 @@ public float getExploitabilityScore() {
      * 
* * float exploitability_score = 2; + * * @param value The exploitabilityScore to set. * @return This builder for chaining. */ public Builder setExploitabilityScore(float value) { - + exploitabilityScore_ = value; onChanged(); return this; } /** + * + * *
      * The Exploitability sub-score equation is derived from the Base
      * Exploitability metrics.
@@ -1991,22 +2232,26 @@ public Builder setExploitabilityScore(float value) {
      * 
* * float exploitability_score = 2; + * * @return This builder for chaining. */ public Builder clearExploitabilityScore() { - + exploitabilityScore_ = 0F; onChanged(); return this; } - private float impactScore_ ; + private float impactScore_; /** + * + * *
      * The Impact sub-score equation is derived from the Base Impact metrics.
      * 
* * float impact_score = 3; + * * @return The impactScore. */ @java.lang.Override @@ -2014,30 +2259,36 @@ public float getImpactScore() { return impactScore_; } /** + * + * *
      * The Impact sub-score equation is derived from the Base Impact metrics.
      * 
* * float impact_score = 3; + * * @param value The impactScore to set. * @return This builder for chaining. */ public Builder setImpactScore(float value) { - + impactScore_ = value; onChanged(); return this; } /** + * + * *
      * The Impact sub-score equation is derived from the Base Impact metrics.
      * 
* * float impact_score = 3; + * * @return This builder for chaining. */ public Builder clearImpactScore() { - + impactScore_ = 0F; onChanged(); return this; @@ -2045,55 +2296,71 @@ public Builder clearImpactScore() { private int attackVector_ = 0; /** + * + * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackVector attack_vector = 5; + * * @return The enum numeric value on the wire for attackVector. */ - @java.lang.Override public int getAttackVectorValue() { + @java.lang.Override + public int getAttackVectorValue() { return attackVector_; } /** + * + * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackVector attack_vector = 5; + * * @param value The enum numeric value on the wire for attackVector to set. * @return This builder for chaining. */ public Builder setAttackVectorValue(int value) { - + attackVector_ = value; onChanged(); return this; } /** + * + * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackVector attack_vector = 5; + * * @return The attackVector. */ @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.AttackVector getAttackVector() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.AttackVector result = com.google.cloud.osconfig.v1.CVSSv3.AttackVector.valueOf(attackVector_); - return result == null ? com.google.cloud.osconfig.v1.CVSSv3.AttackVector.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.CVSSv3.AttackVector result = + com.google.cloud.osconfig.v1.CVSSv3.AttackVector.valueOf(attackVector_); + return result == null + ? com.google.cloud.osconfig.v1.CVSSv3.AttackVector.UNRECOGNIZED + : result; } /** + * + * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackVector attack_vector = 5; + * * @param value The attackVector to set. * @return This builder for chaining. */ @@ -2101,22 +2368,25 @@ public Builder setAttackVector(com.google.cloud.osconfig.v1.CVSSv3.AttackVector if (value == null) { throw new NullPointerException(); } - + attackVector_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackVector attack_vector = 5; + * * @return This builder for chaining. */ public Builder clearAttackVector() { - + attackVector_ = 0; onChanged(); return this; @@ -2124,55 +2394,71 @@ public Builder clearAttackVector() { private int attackComplexity_ = 0; /** + * + * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackComplexity attack_complexity = 6; + * * @return The enum numeric value on the wire for attackComplexity. */ - @java.lang.Override public int getAttackComplexityValue() { + @java.lang.Override + public int getAttackComplexityValue() { return attackComplexity_; } /** + * + * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackComplexity attack_complexity = 6; + * * @param value The enum numeric value on the wire for attackComplexity to set. * @return This builder for chaining. */ public Builder setAttackComplexityValue(int value) { - + attackComplexity_ = value; onChanged(); return this; } /** + * + * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackComplexity attack_complexity = 6; + * * @return The attackComplexity. */ @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity getAttackComplexity() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity result = com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.valueOf(attackComplexity_); - return result == null ? com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity result = + com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.valueOf(attackComplexity_); + return result == null + ? com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity.UNRECOGNIZED + : result; } /** + * + * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackComplexity attack_complexity = 6; + * * @param value The attackComplexity to set. * @return This builder for chaining. */ @@ -2180,22 +2466,25 @@ public Builder setAttackComplexity(com.google.cloud.osconfig.v1.CVSSv3.AttackCom if (value == null) { throw new NullPointerException(); } - + attackComplexity_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackComplexity attack_complexity = 6; + * * @return This builder for chaining. */ public Builder clearAttackComplexity() { - + attackComplexity_ = 0; onChanged(); return this; @@ -2203,78 +2492,98 @@ public Builder clearAttackComplexity() { private int privilegesRequired_ = 0; /** + * + * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired privileges_required = 7; + * * @return The enum numeric value on the wire for privilegesRequired. */ - @java.lang.Override public int getPrivilegesRequiredValue() { + @java.lang.Override + public int getPrivilegesRequiredValue() { return privilegesRequired_; } /** + * + * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired privileges_required = 7; + * * @param value The enum numeric value on the wire for privilegesRequired to set. * @return This builder for chaining. */ public Builder setPrivilegesRequiredValue(int value) { - + privilegesRequired_ = value; onChanged(); return this; } /** + * + * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired privileges_required = 7; + * * @return The privilegesRequired. */ @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired getPrivilegesRequired() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired result = com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.valueOf(privilegesRequired_); - return result == null ? com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired result = + com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.valueOf(privilegesRequired_); + return result == null + ? com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired.UNRECOGNIZED + : result; } /** + * + * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired privileges_required = 7; + * * @param value The privilegesRequired to set. * @return This builder for chaining. */ - public Builder setPrivilegesRequired(com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired value) { + public Builder setPrivilegesRequired( + com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired value) { if (value == null) { throw new NullPointerException(); } - + privilegesRequired_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired privileges_required = 7; + * * @return This builder for chaining. */ public Builder clearPrivilegesRequired() { - + privilegesRequired_ = 0; onChanged(); return this; @@ -2282,6 +2591,8 @@ public Builder clearPrivilegesRequired() { private int userInteraction_ = 0; /** + * + * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2289,12 +2600,16 @@ public Builder clearPrivilegesRequired() {
      * 
* * .google.cloud.osconfig.v1.CVSSv3.UserInteraction user_interaction = 8; + * * @return The enum numeric value on the wire for userInteraction. */ - @java.lang.Override public int getUserInteractionValue() { + @java.lang.Override + public int getUserInteractionValue() { return userInteraction_; } /** + * + * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2302,16 +2617,19 @@ public Builder clearPrivilegesRequired() {
      * 
* * .google.cloud.osconfig.v1.CVSSv3.UserInteraction user_interaction = 8; + * * @param value The enum numeric value on the wire for userInteraction to set. * @return This builder for chaining. */ public Builder setUserInteractionValue(int value) { - + userInteraction_ = value; onChanged(); return this; } /** + * + * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2319,15 +2637,21 @@ public Builder setUserInteractionValue(int value) {
      * 
* * .google.cloud.osconfig.v1.CVSSv3.UserInteraction user_interaction = 8; + * * @return The userInteraction. */ @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.UserInteraction getUserInteraction() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.UserInteraction result = com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.valueOf(userInteraction_); - return result == null ? com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.CVSSv3.UserInteraction result = + com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.valueOf(userInteraction_); + return result == null + ? com.google.cloud.osconfig.v1.CVSSv3.UserInteraction.UNRECOGNIZED + : result; } /** + * + * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2335,6 +2659,7 @@ public com.google.cloud.osconfig.v1.CVSSv3.UserInteraction getUserInteraction()
      * 
* * .google.cloud.osconfig.v1.CVSSv3.UserInteraction user_interaction = 8; + * * @param value The userInteraction to set. * @return This builder for chaining. */ @@ -2342,12 +2667,14 @@ public Builder setUserInteraction(com.google.cloud.osconfig.v1.CVSSv3.UserIntera if (value == null) { throw new NullPointerException(); } - + userInteraction_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2355,10 +2682,11 @@ public Builder setUserInteraction(com.google.cloud.osconfig.v1.CVSSv3.UserIntera
      * 
* * .google.cloud.osconfig.v1.CVSSv3.UserInteraction user_interaction = 8; + * * @return This builder for chaining. */ public Builder clearUserInteraction() { - + userInteraction_ = 0; onChanged(); return this; @@ -2366,55 +2694,69 @@ public Builder clearUserInteraction() { private int scope_ = 0; /** + * + * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Scope scope = 9; + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Scope scope = 9; + * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); return this; } /** + * + * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Scope scope = 9; + * * @return The scope. */ @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.Scope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.Scope result = com.google.cloud.osconfig.v1.CVSSv3.Scope.valueOf(scope_); + com.google.cloud.osconfig.v1.CVSSv3.Scope result = + com.google.cloud.osconfig.v1.CVSSv3.Scope.valueOf(scope_); return result == null ? com.google.cloud.osconfig.v1.CVSSv3.Scope.UNRECOGNIZED : result; } /** + * + * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Scope scope = 9; + * * @param value The scope to set. * @return This builder for chaining. */ @@ -2422,22 +2764,25 @@ public Builder setScope(com.google.cloud.osconfig.v1.CVSSv3.Scope value) { if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Scope scope = 9; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = 0; onChanged(); return this; @@ -2445,6 +2790,8 @@ public Builder clearScope() { private int confidentialityImpact_ = 0; /** + * + * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2452,12 +2799,16 @@ public Builder clearScope() {
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact confidentiality_impact = 10; + * * @return The enum numeric value on the wire for confidentialityImpact. */ - @java.lang.Override public int getConfidentialityImpactValue() { + @java.lang.Override + public int getConfidentialityImpactValue() { return confidentialityImpact_; } /** + * + * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2465,16 +2816,19 @@ public Builder clearScope() {
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact confidentiality_impact = 10; + * * @param value The enum numeric value on the wire for confidentialityImpact to set. * @return This builder for chaining. */ public Builder setConfidentialityImpactValue(int value) { - + confidentialityImpact_ = value; onChanged(); return this; } /** + * + * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2482,15 +2836,19 @@ public Builder setConfidentialityImpactValue(int value) {
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact confidentiality_impact = 10; + * * @return The confidentialityImpact. */ @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.Impact getConfidentialityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.Impact result = com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(confidentialityImpact_); + com.google.cloud.osconfig.v1.CVSSv3.Impact result = + com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(confidentialityImpact_); return result == null ? com.google.cloud.osconfig.v1.CVSSv3.Impact.UNRECOGNIZED : result; } /** + * + * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2498,6 +2856,7 @@ public com.google.cloud.osconfig.v1.CVSSv3.Impact getConfidentialityImpact() {
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact confidentiality_impact = 10; + * * @param value The confidentialityImpact to set. * @return This builder for chaining. */ @@ -2505,12 +2864,14 @@ public Builder setConfidentialityImpact(com.google.cloud.osconfig.v1.CVSSv3.Impa if (value == null) { throw new NullPointerException(); } - + confidentialityImpact_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2518,10 +2879,11 @@ public Builder setConfidentialityImpact(com.google.cloud.osconfig.v1.CVSSv3.Impa
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact confidentiality_impact = 10; + * * @return This builder for chaining. */ public Builder clearConfidentialityImpact() { - + confidentialityImpact_ = 0; onChanged(); return this; @@ -2529,55 +2891,69 @@ public Builder clearConfidentialityImpact() { private int integrityImpact_ = 0; /** + * + * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact integrity_impact = 11; + * * @return The enum numeric value on the wire for integrityImpact. */ - @java.lang.Override public int getIntegrityImpactValue() { + @java.lang.Override + public int getIntegrityImpactValue() { return integrityImpact_; } /** + * + * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact integrity_impact = 11; + * * @param value The enum numeric value on the wire for integrityImpact to set. * @return This builder for chaining. */ public Builder setIntegrityImpactValue(int value) { - + integrityImpact_ = value; onChanged(); return this; } /** + * + * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact integrity_impact = 11; + * * @return The integrityImpact. */ @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.Impact getIntegrityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.Impact result = com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(integrityImpact_); + com.google.cloud.osconfig.v1.CVSSv3.Impact result = + com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(integrityImpact_); return result == null ? com.google.cloud.osconfig.v1.CVSSv3.Impact.UNRECOGNIZED : result; } /** + * + * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact integrity_impact = 11; + * * @param value The integrityImpact to set. * @return This builder for chaining. */ @@ -2585,22 +2961,25 @@ public Builder setIntegrityImpact(com.google.cloud.osconfig.v1.CVSSv3.Impact val if (value == null) { throw new NullPointerException(); } - + integrityImpact_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact integrity_impact = 11; + * * @return This builder for chaining. */ public Builder clearIntegrityImpact() { - + integrityImpact_ = 0; onChanged(); return this; @@ -2608,55 +2987,69 @@ public Builder clearIntegrityImpact() { private int availabilityImpact_ = 0; /** + * + * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact availability_impact = 12; + * * @return The enum numeric value on the wire for availabilityImpact. */ - @java.lang.Override public int getAvailabilityImpactValue() { + @java.lang.Override + public int getAvailabilityImpactValue() { return availabilityImpact_; } /** + * + * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact availability_impact = 12; + * * @param value The enum numeric value on the wire for availabilityImpact to set. * @return This builder for chaining. */ public Builder setAvailabilityImpactValue(int value) { - + availabilityImpact_ = value; onChanged(); return this; } /** + * + * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact availability_impact = 12; + * * @return The availabilityImpact. */ @java.lang.Override public com.google.cloud.osconfig.v1.CVSSv3.Impact getAvailabilityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.CVSSv3.Impact result = com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(availabilityImpact_); + com.google.cloud.osconfig.v1.CVSSv3.Impact result = + com.google.cloud.osconfig.v1.CVSSv3.Impact.valueOf(availabilityImpact_); return result == null ? com.google.cloud.osconfig.v1.CVSSv3.Impact.UNRECOGNIZED : result; } /** + * + * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact availability_impact = 12; + * * @param value The availabilityImpact to set. * @return This builder for chaining. */ @@ -2664,29 +3057,32 @@ public Builder setAvailabilityImpact(com.google.cloud.osconfig.v1.CVSSv3.Impact if (value == null) { throw new NullPointerException(); } - + availabilityImpact_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact availability_impact = 12; + * * @return This builder for chaining. */ public Builder clearAvailabilityImpact() { - + availabilityImpact_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2696,12 +3092,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.CVSSv3) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.CVSSv3) private static final com.google.cloud.osconfig.v1.CVSSv3 DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.CVSSv3(); } @@ -2710,16 +3106,16 @@ public static com.google.cloud.osconfig.v1.CVSSv3 getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CVSSv3 parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CVSSv3(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CVSSv3 parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CVSSv3(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2734,6 +3130,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.CVSSv3 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3OrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3OrBuilder.java similarity index 88% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3OrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3OrBuilder.java index b27303a3..e0fa86d1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3OrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CVSSv3OrBuilder.java @@ -1,24 +1,45 @@ +/* + * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; -public interface CVSSv3OrBuilder extends +public interface CVSSv3OrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.CVSSv3) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The base score is a function of the base metric scores.
    * https://www.first.org/cvss/specification-document#Base-Metrics
    * 
* * float base_score = 1; + * * @return The baseScore. */ float getBaseScore(); /** + * + * *
    * The Exploitability sub-score equation is derived from the Base
    * Exploitability metrics.
@@ -26,84 +47,108 @@ public interface CVSSv3OrBuilder extends
    * 
* * float exploitability_score = 2; + * * @return The exploitabilityScore. */ float getExploitabilityScore(); /** + * + * *
    * The Impact sub-score equation is derived from the Base Impact metrics.
    * 
* * float impact_score = 3; + * * @return The impactScore. */ float getImpactScore(); /** + * + * *
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackVector attack_vector = 5; + * * @return The enum numeric value on the wire for attackVector. */ int getAttackVectorValue(); /** + * + * *
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackVector attack_vector = 5; + * * @return The attackVector. */ com.google.cloud.osconfig.v1.CVSSv3.AttackVector getAttackVector(); /** + * + * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackComplexity attack_complexity = 6; + * * @return The enum numeric value on the wire for attackComplexity. */ int getAttackComplexityValue(); /** + * + * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.AttackComplexity attack_complexity = 6; + * * @return The attackComplexity. */ com.google.cloud.osconfig.v1.CVSSv3.AttackComplexity getAttackComplexity(); /** + * + * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired privileges_required = 7; + * * @return The enum numeric value on the wire for privilegesRequired. */ int getPrivilegesRequiredValue(); /** + * + * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired privileges_required = 7; + * * @return The privilegesRequired. */ com.google.cloud.osconfig.v1.CVSSv3.PrivilegesRequired getPrivilegesRequired(); /** + * + * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -111,10 +156,13 @@ public interface CVSSv3OrBuilder extends
    * 
* * .google.cloud.osconfig.v1.CVSSv3.UserInteraction user_interaction = 8; + * * @return The enum numeric value on the wire for userInteraction. */ int getUserInteractionValue(); /** + * + * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -122,32 +170,41 @@ public interface CVSSv3OrBuilder extends
    * 
* * .google.cloud.osconfig.v1.CVSSv3.UserInteraction user_interaction = 8; + * * @return The userInteraction. */ com.google.cloud.osconfig.v1.CVSSv3.UserInteraction getUserInteraction(); /** + * + * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Scope scope = 9; + * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** + * + * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Scope scope = 9; + * * @return The scope. */ com.google.cloud.osconfig.v1.CVSSv3.Scope getScope(); /** + * + * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -155,10 +212,13 @@ public interface CVSSv3OrBuilder extends
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact confidentiality_impact = 10; + * * @return The enum numeric value on the wire for confidentialityImpact. */ int getConfidentialityImpactValue(); /** + * + * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -166,48 +226,61 @@ public interface CVSSv3OrBuilder extends
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact confidentiality_impact = 10; + * * @return The confidentialityImpact. */ com.google.cloud.osconfig.v1.CVSSv3.Impact getConfidentialityImpact(); /** + * + * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact integrity_impact = 11; + * * @return The enum numeric value on the wire for integrityImpact. */ int getIntegrityImpactValue(); /** + * + * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact integrity_impact = 11; + * * @return The integrityImpact. */ com.google.cloud.osconfig.v1.CVSSv3.Impact getIntegrityImpact(); /** + * + * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact availability_impact = 12; + * * @return The enum numeric value on the wire for availabilityImpact. */ int getAvailabilityImpactValue(); /** + * + * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.osconfig.v1.CVSSv3.Impact availability_impact = 12; + * * @return The availabilityImpact. */ com.google.cloud.osconfig.v1.CVSSv3.Impact getAvailabilityImpact(); diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java index 206c4689..6864f2c9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java @@ -1,3 +1,18 @@ +/* + * 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/osconfig/v1/osconfig_common.proto @@ -5,55 +20,66 @@ public final class Common { private Common() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } - public interface FixedOrPercentOrBuilder extends + + public interface FixedOrPercentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.FixedOrPercent) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; + * * @return Whether the fixed field is set. */ boolean hasFixed(); /** + * + * *
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; + * * @return The fixed. */ int getFixed(); /** + * + * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; + * * @return Whether the percent field is set. */ boolean hasPercent(); /** + * + * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; + * * @return The percent. */ int getPercent(); @@ -61,6 +87,8 @@ public interface FixedOrPercentOrBuilder extends public com.google.cloud.osconfig.v1.Common.FixedOrPercent.ModeCase getModeCase(); } /** + * + * *
    * Message encapsulating a value that can be either absolute ("fixed") or
    * relative ("percent") to a value.
@@ -68,30 +96,29 @@ public interface FixedOrPercentOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1.FixedOrPercent}
    */
-  public static final class FixedOrPercent extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class FixedOrPercent extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.FixedOrPercent)
       FixedOrPercentOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use FixedOrPercent.newBuilder() to construct.
     private FixedOrPercent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private FixedOrPercent() {
-    }
+
+    private FixedOrPercent() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new FixedOrPercent();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private FixedOrPercent(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -110,23 +137,25 @@ private FixedOrPercent(
             case 0:
               done = true;
               break;
-            case 8: {
-              mode_ = input.readInt32();
-              modeCase_ = 1;
-              break;
-            }
-            case 16: {
-              mode_ = input.readInt32();
-              modeCase_ = 2;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 8:
+              {
+                mode_ = input.readInt32();
+                modeCase_ = 1;
+                break;
+              }
+            case 16:
+              {
+                mode_ = input.readInt32();
+                modeCase_ = 2;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -134,35 +163,40 @@ private FixedOrPercent(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.Common.internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.Common
+          .internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.Common.internal_static_google_cloud_osconfig_v1_FixedOrPercent_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.Common
+          .internal_static_google_cloud_osconfig_v1_FixedOrPercent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.Common.FixedOrPercent.class, com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder.class);
+              com.google.cloud.osconfig.v1.Common.FixedOrPercent.class,
+              com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder.class);
     }
 
     private int modeCase_ = 0;
     private java.lang.Object mode_;
+
     public enum ModeCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       FIXED(1),
       PERCENT(2),
       MODE_NOT_SET(0);
       private final int value;
+
       private ModeCase(int value) {
         this.value = value;
       }
@@ -178,30 +212,36 @@ public static ModeCase valueOf(int value) {
 
       public static ModeCase forNumber(int value) {
         switch (value) {
-          case 1: return FIXED;
-          case 2: return PERCENT;
-          case 0: return MODE_NOT_SET;
-          default: return null;
+          case 1:
+            return FIXED;
+          case 2:
+            return PERCENT;
+          case 0:
+            return MODE_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ModeCase
-    getModeCase() {
-      return ModeCase.forNumber(
-          modeCase_);
+    public ModeCase getModeCase() {
+      return ModeCase.forNumber(modeCase_);
     }
 
     public static final int FIXED_FIELD_NUMBER = 1;
     /**
+     *
+     *
      * 
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; + * * @return Whether the fixed field is set. */ @java.lang.Override @@ -209,11 +249,14 @@ public boolean hasFixed() { return modeCase_ == 1; } /** + * + * *
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; + * * @return The fixed. */ @java.lang.Override @@ -226,12 +269,15 @@ public int getFixed() { public static final int PERCENT_FIELD_NUMBER = 2; /** + * + * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; + * * @return Whether the percent field is set. */ @java.lang.Override @@ -239,12 +285,15 @@ public boolean hasPercent() { return modeCase_ == 2; } /** + * + * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; + * * @return The percent. */ @java.lang.Override @@ -256,6 +305,7 @@ public int getPercent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,15 +317,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (modeCase_ == 1) { - output.writeInt32( - 1, (int)((java.lang.Integer) mode_)); + output.writeInt32(1, (int) ((java.lang.Integer) mode_)); } if (modeCase_ == 2) { - output.writeInt32( - 2, (int)((java.lang.Integer) mode_)); + output.writeInt32(2, (int) ((java.lang.Integer) mode_)); } unknownFields.writeTo(output); } @@ -287,14 +334,14 @@ public int getSerializedSize() { size = 0; if (modeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size( - 1, (int)((java.lang.Integer) mode_)); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 1, (int) ((java.lang.Integer) mode_)); } if (modeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size( - 2, (int)((java.lang.Integer) mode_)); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 2, (int) ((java.lang.Integer) mode_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -304,22 +351,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.Common.FixedOrPercent)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Common.FixedOrPercent other = (com.google.cloud.osconfig.v1.Common.FixedOrPercent) obj; + com.google.cloud.osconfig.v1.Common.FixedOrPercent other = + (com.google.cloud.osconfig.v1.Common.FixedOrPercent) obj; if (!getModeCase().equals(other.getModeCase())) return false; switch (modeCase_) { case 1: - if (getFixed() - != other.getFixed()) return false; + if (getFixed() != other.getFixed()) return false; break; case 2: - if (getPercent() - != other.getPercent()) return false; + if (getPercent() != other.getPercent()) return false; break; case 0: default: @@ -353,87 +399,93 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Common.FixedOrPercent 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.osconfig.v1.Common.FixedOrPercent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Common.FixedOrPercent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.Common.FixedOrPercent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -443,6 +495,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Message encapsulating a value that can be either absolute ("fixed") or
      * relative ("percent") to a value.
@@ -450,21 +504,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.FixedOrPercent}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.FixedOrPercent)
         com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.Common.internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.Common
+            .internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.Common.internal_static_google_cloud_osconfig_v1_FixedOrPercent_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.Common
+            .internal_static_google_cloud_osconfig_v1_FixedOrPercent_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.Common.FixedOrPercent.class, com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder.class);
+                com.google.cloud.osconfig.v1.Common.FixedOrPercent.class,
+                com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.Common.FixedOrPercent.newBuilder()
@@ -472,16 +529,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -491,9 +547,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.Common.internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.Common
+            .internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor;
       }
 
       @java.lang.Override
@@ -512,7 +568,8 @@ public com.google.cloud.osconfig.v1.Common.FixedOrPercent build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.Common.FixedOrPercent buildPartial() {
-        com.google.cloud.osconfig.v1.Common.FixedOrPercent result = new com.google.cloud.osconfig.v1.Common.FixedOrPercent(this);
+        com.google.cloud.osconfig.v1.Common.FixedOrPercent result =
+            new com.google.cloud.osconfig.v1.Common.FixedOrPercent(this);
         if (modeCase_ == 1) {
           result.mode_ = mode_;
         }
@@ -528,38 +585,41 @@ public com.google.cloud.osconfig.v1.Common.FixedOrPercent buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.Common.FixedOrPercent) {
-          return mergeFrom((com.google.cloud.osconfig.v1.Common.FixedOrPercent)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.Common.FixedOrPercent) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -567,19 +627,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.Common.FixedOrPercent other) {
-        if (other == com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance())
+          return this;
         switch (other.getModeCase()) {
-          case FIXED: {
-            setFixed(other.getFixed());
-            break;
-          }
-          case PERCENT: {
-            setPercent(other.getPercent());
-            break;
-          }
-          case MODE_NOT_SET: {
-            break;
-          }
+          case FIXED:
+            {
+              setFixed(other.getFixed());
+              break;
+            }
+          case PERCENT:
+            {
+              setPercent(other.getPercent());
+              break;
+            }
+          case MODE_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -600,7 +664,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.Common.FixedOrPercent) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.Common.FixedOrPercent) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -609,12 +674,12 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int modeCase_ = 0;
       private java.lang.Object mode_;
-      public ModeCase
-          getModeCase() {
-        return ModeCase.forNumber(
-            modeCase_);
+
+      public ModeCase getModeCase() {
+        return ModeCase.forNumber(modeCase_);
       }
 
       public Builder clearMode() {
@@ -624,24 +689,29 @@ public Builder clearMode() {
         return this;
       }
 
-
       /**
+       *
+       *
        * 
        * Specifies a fixed value.
        * 
* * int32 fixed = 1; + * * @return Whether the fixed field is set. */ public boolean hasFixed() { return modeCase_ == 1; } /** + * + * *
        * Specifies a fixed value.
        * 
* * int32 fixed = 1; + * * @return The fixed. */ public int getFixed() { @@ -651,11 +721,14 @@ public int getFixed() { return 0; } /** + * + * *
        * Specifies a fixed value.
        * 
* * int32 fixed = 1; + * * @param value The fixed to set. * @return This builder for chaining. */ @@ -666,11 +739,14 @@ public Builder setFixed(int value) { return this; } /** + * + * *
        * Specifies a fixed value.
        * 
* * int32 fixed = 1; + * * @return This builder for chaining. */ public Builder clearFixed() { @@ -683,24 +759,30 @@ public Builder clearFixed() { } /** + * + * *
        * Specifies the relative value defined as a percentage, which will be
        * multiplied by a reference value.
        * 
* * int32 percent = 2; + * * @return Whether the percent field is set. */ public boolean hasPercent() { return modeCase_ == 2; } /** + * + * *
        * Specifies the relative value defined as a percentage, which will be
        * multiplied by a reference value.
        * 
* * int32 percent = 2; + * * @return The percent. */ public int getPercent() { @@ -710,12 +792,15 @@ public int getPercent() { return 0; } /** + * + * *
        * Specifies the relative value defined as a percentage, which will be
        * multiplied by a reference value.
        * 
* * int32 percent = 2; + * * @param value The percent to set. * @return This builder for chaining. */ @@ -726,12 +811,15 @@ public Builder setPercent(int value) { return this; } /** + * + * *
        * Specifies the relative value defined as a percentage, which will be
        * multiplied by a reference value.
        * 
* * int32 percent = 2; + * * @return This builder for chaining. */ public Builder clearPercent() { @@ -742,6 +830,7 @@ public Builder clearPercent() { } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -754,12 +843,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.FixedOrPercent) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.FixedOrPercent) private static final com.google.cloud.osconfig.v1.Common.FixedOrPercent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Common.FixedOrPercent(); } @@ -768,16 +857,16 @@ public static com.google.cloud.osconfig.v1.Common.FixedOrPercent getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FixedOrPercent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FixedOrPercent(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FixedOrPercent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FixedOrPercent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -792,43 +881,42 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.Common.FixedOrPercent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_FixedOrPercent_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { java.lang.String[] descriptorData = { - "\n.google/cloud/osconfig/v1/osconfig_comm" + - "on.proto\022\030google.cloud.osconfig.v1\"<\n\016Fi" + - "xedOrPercent\022\017\n\005fixed\030\001 \001(\005H\000\022\021\n\007percent" + - "\030\002 \001(\005H\000B\006\n\004modeB\274\001\n\034com.google.cloud.os" + - "config.v1B\006CommonZ@google.golang.org/gen" + - "proto/googleapis/cloud/osconfig/v1;oscon" + - "fig\252\002\030Google.Cloud.OsConfig.V1\312\002\030Google\\" + - "Cloud\\OsConfig\\V1\352\002\033Google::Cloud::OsCon" + - "fig::V1b\006proto3" + "\n.google/cloud/osconfig/v1/osconfig_comm" + + "on.proto\022\030google.cloud.osconfig.v1\"<\n\016Fi" + + "xedOrPercent\022\017\n\005fixed\030\001 \001(\005H\000\022\021\n\007percent" + + "\030\002 \001(\005H\000B\006\n\004modeB\274\001\n\034com.google.cloud.os" + + "config.v1B\006CommonZ@google.golang.org/gen" + + "proto/googleapis/cloud/osconfig/v1;oscon" + + "fig\252\002\030Google.Cloud.OsConfig.V1\312\002\030Google\\" + + "Cloud\\OsConfig\\V1\352\002\033Google::Cloud::OsCon" + + "fig::V1b\006proto3" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1_FixedOrPercent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor, - new java.lang.String[] { "Fixed", "Percent", "Mode", }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1_FixedOrPercent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_FixedOrPercent_descriptor, + new java.lang.String[] { + "Fixed", "Percent", "Mode", + }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequest.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequest.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequest.java index 10269b31..1835ca3f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequest.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequest.java @@ -1,24 +1,43 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * A request message to create an OS policy assignment
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest} */ -public final class CreateOSPolicyAssignmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateOSPolicyAssignmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) CreateOSPolicyAssignmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateOSPolicyAssignmentRequest.newBuilder() to construct. - private CreateOSPolicyAssignmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateOSPolicyAssignmentRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateOSPolicyAssignmentRequest() { parent_ = ""; osPolicyAssignmentId_ = ""; @@ -26,16 +45,15 @@ private CreateOSPolicyAssignmentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateOSPolicyAssignmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateOSPolicyAssignmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +72,43 @@ private CreateOSPolicyAssignmentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder subBuilder = null; - if (osPolicyAssignment_ != null) { - subBuilder = osPolicyAssignment_.toBuilder(); - } - osPolicyAssignment_ = input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(osPolicyAssignment_); - osPolicyAssignment_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder subBuilder = null; + if (osPolicyAssignment_ != null) { + subBuilder = osPolicyAssignment_.toBuilder(); + } + osPolicyAssignment_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicyAssignment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(osPolicyAssignment_); + osPolicyAssignment_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyAssignmentId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + osPolicyAssignmentId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,35 +116,42 @@ private CreateOSPolicyAssignmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.class, + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource name in the form:
    * projects/{project}/locations/{location}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -130,30 +160,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource name in the form:
    * projects/{project}/locations/{location}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -164,11 +196,16 @@ public java.lang.String getParent() { public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1.OSPolicyAssignment osPolicyAssignment_; /** + * + * *
    * Required. The OS policy assignment to be created.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the osPolicyAssignment field is set. */ @java.lang.Override @@ -176,23 +213,34 @@ public boolean hasOsPolicyAssignment() { return osPolicyAssignment_ != null; } /** + * + * *
    * Required. The OS policy assignment to be created.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The osPolicyAssignment. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignment() { - return osPolicyAssignment_ == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; + return osPolicyAssignment_ == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() + : osPolicyAssignment_; } /** + * + * *
    * Required. The OS policy assignment to be created.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder() { @@ -202,6 +250,8 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig public static final int OS_POLICY_ASSIGNMENT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object osPolicyAssignmentId_; /** + * + * *
    * Required. The logical name of the OS policy assignment in the project
    * with the following restrictions:
@@ -213,6 +263,7 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig
    * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The osPolicyAssignmentId. */ @java.lang.Override @@ -221,14 +272,15 @@ public java.lang.String getOsPolicyAssignmentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignmentId_ = s; return s; } } /** + * + * *
    * Required. The logical name of the OS policy assignment in the project
    * with the following restrictions:
@@ -240,16 +292,15 @@ public java.lang.String getOsPolicyAssignmentId() {
    * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for osPolicyAssignmentId. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsPolicyAssignmentIdBytes() { + public com.google.protobuf.ByteString getOsPolicyAssignmentIdBytes() { java.lang.Object ref = osPolicyAssignmentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyAssignmentId_ = b; return b; } else { @@ -258,6 +309,7 @@ public java.lang.String getOsPolicyAssignmentId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,8 +321,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -293,8 +344,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (osPolicyAssignment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOsPolicyAssignment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOsPolicyAssignment()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyAssignmentId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, osPolicyAssignmentId_); @@ -307,22 +357,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest other = (com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) obj; + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest other = + (com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasOsPolicyAssignment() != other.hasOsPolicyAssignment()) return false; if (hasOsPolicyAssignment()) { - if (!getOsPolicyAssignment() - .equals(other.getOsPolicyAssignment())) return false; + if (!getOsPolicyAssignment().equals(other.getOsPolicyAssignment())) return false; } - if (!getOsPolicyAssignmentId() - .equals(other.getOsPolicyAssignmentId())) return false; + if (!getOsPolicyAssignmentId().equals(other.getOsPolicyAssignmentId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -348,117 +396,127 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest 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.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message to create an OS policy assignment
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.class, + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.newBuilder() @@ -466,16 +524,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -493,13 +550,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.getDefaultInstance(); } @@ -514,7 +572,8 @@ public com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest buildPartial() { - com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest result = new com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest(this); + com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest result = + new com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest(this); result.parent_ = parent_; if (osPolicyAssignmentBuilder_ == null) { result.osPolicyAssignment_ = osPolicyAssignment_; @@ -530,38 +589,39 @@ public com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.CreateOSPolicyAssignmentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) other); } else { super.mergeFrom(other); return this; @@ -569,7 +629,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest other) { - if (other == com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -600,7 +662,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -612,19 +675,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -633,21 +700,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -655,57 +725,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -713,39 +796,58 @@ public Builder setParentBytes( private com.google.cloud.osconfig.v1.OSPolicyAssignment osPolicyAssignment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> osPolicyAssignmentBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignment, + com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> + osPolicyAssignmentBuilder_; /** + * + * *
      * Required. The OS policy assignment to be created.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the osPolicyAssignment field is set. */ public boolean hasOsPolicyAssignment() { return osPolicyAssignmentBuilder_ != null || osPolicyAssignment_ != null; } /** + * + * *
      * Required. The OS policy assignment to be created.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The osPolicyAssignment. */ public com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignment() { if (osPolicyAssignmentBuilder_ == null) { - return osPolicyAssignment_ == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; + return osPolicyAssignment_ == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() + : osPolicyAssignment_; } else { return osPolicyAssignmentBuilder_.getMessage(); } } /** + * + * *
      * Required. The OS policy assignment to be created.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOsPolicyAssignment(com.google.cloud.osconfig.v1.OSPolicyAssignment value) { if (osPolicyAssignmentBuilder_ == null) { @@ -761,11 +863,15 @@ public Builder setOsPolicyAssignment(com.google.cloud.osconfig.v1.OSPolicyAssign return this; } /** + * + * *
      * Required. The OS policy assignment to be created.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOsPolicyAssignment( com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder builderForValue) { @@ -779,17 +885,23 @@ public Builder setOsPolicyAssignment( return this; } /** + * + * *
      * Required. The OS policy assignment to be created.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeOsPolicyAssignment(com.google.cloud.osconfig.v1.OSPolicyAssignment value) { if (osPolicyAssignmentBuilder_ == null) { if (osPolicyAssignment_ != null) { osPolicyAssignment_ = - com.google.cloud.osconfig.v1.OSPolicyAssignment.newBuilder(osPolicyAssignment_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.OSPolicyAssignment.newBuilder(osPolicyAssignment_) + .mergeFrom(value) + .buildPartial(); } else { osPolicyAssignment_ = value; } @@ -801,11 +913,15 @@ public Builder mergeOsPolicyAssignment(com.google.cloud.osconfig.v1.OSPolicyAssi return this; } /** + * + * *
      * Required. The OS policy assignment to be created.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOsPolicyAssignment() { if (osPolicyAssignmentBuilder_ == null) { @@ -819,48 +935,65 @@ public Builder clearOsPolicyAssignment() { return this; } /** + * + * *
      * Required. The OS policy assignment to be created.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder getOsPolicyAssignmentBuilder() { - + onChanged(); return getOsPolicyAssignmentFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The OS policy assignment to be created.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder + getOsPolicyAssignmentOrBuilder() { if (osPolicyAssignmentBuilder_ != null) { return osPolicyAssignmentBuilder_.getMessageOrBuilder(); } else { - return osPolicyAssignment_ == null ? - com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; + return osPolicyAssignment_ == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() + : osPolicyAssignment_; } } /** + * + * *
      * Required. The OS policy assignment to be created.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignment, + com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentFieldBuilder() { if (osPolicyAssignmentBuilder_ == null) { - osPolicyAssignmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder>( - getOsPolicyAssignment(), - getParentForChildren(), - isClean()); + osPolicyAssignmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignment, + com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder>( + getOsPolicyAssignment(), getParentForChildren(), isClean()); osPolicyAssignment_ = null; } return osPolicyAssignmentBuilder_; @@ -868,6 +1001,8 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig private java.lang.Object osPolicyAssignmentId_ = ""; /** + * + * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -879,13 +1014,13 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The osPolicyAssignmentId. */ public java.lang.String getOsPolicyAssignmentId() { java.lang.Object ref = osPolicyAssignmentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignmentId_ = s; return s; @@ -894,6 +1029,8 @@ public java.lang.String getOsPolicyAssignmentId() { } } /** + * + * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -905,15 +1042,14 @@ public java.lang.String getOsPolicyAssignmentId() {
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for osPolicyAssignmentId. */ - public com.google.protobuf.ByteString - getOsPolicyAssignmentIdBytes() { + public com.google.protobuf.ByteString getOsPolicyAssignmentIdBytes() { java.lang.Object ref = osPolicyAssignmentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyAssignmentId_ = b; return b; } else { @@ -921,6 +1057,8 @@ public java.lang.String getOsPolicyAssignmentId() { } } /** + * + * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -932,20 +1070,22 @@ public java.lang.String getOsPolicyAssignmentId() {
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The osPolicyAssignmentId to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignmentId( - java.lang.String value) { + public Builder setOsPolicyAssignmentId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyAssignmentId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -957,15 +1097,18 @@ public Builder setOsPolicyAssignmentId(
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearOsPolicyAssignmentId() { - + osPolicyAssignmentId_ = getDefaultInstance().getOsPolicyAssignmentId(); onChanged(); return this; } /** + * + * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -977,23 +1120,23 @@ public Builder clearOsPolicyAssignmentId() {
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for osPolicyAssignmentId to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignmentIdBytes( - com.google.protobuf.ByteString value) { + public Builder setOsPolicyAssignmentIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyAssignmentId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1003,12 +1146,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) - private static final com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest(); } @@ -1017,16 +1161,16 @@ public static com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateOSPolicyAssignmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateOSPolicyAssignmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateOSPolicyAssignmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateOSPolicyAssignmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1041,6 +1185,4 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequestOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequestOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequestOrBuilder.java index f88cb58f..7c5210cc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/CreateOSPolicyAssignmentRequestOrBuilder.java @@ -1,62 +1,103 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; -public interface CreateOSPolicyAssignmentRequestOrBuilder extends +public interface CreateOSPolicyAssignmentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource name in the form:
    * projects/{project}/locations/{location}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource name in the form:
    * projects/{project}/locations/{location}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The OS policy assignment to be created.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the osPolicyAssignment field is set. */ boolean hasOsPolicyAssignment(); /** + * + * *
    * Required. The OS policy assignment to be created.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The osPolicyAssignment. */ com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignment(); /** + * + * *
    * Required. The OS policy assignment to be created.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder(); /** + * + * *
    * Required. The logical name of the OS policy assignment in the project
    * with the following restrictions:
@@ -68,10 +109,13 @@ public interface CreateOSPolicyAssignmentRequestOrBuilder extends
    * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The osPolicyAssignmentId. */ java.lang.String getOsPolicyAssignmentId(); /** + * + * *
    * Required. The logical name of the OS policy assignment in the project
    * with the following restrictions:
@@ -83,8 +127,8 @@ public interface CreateOSPolicyAssignmentRequestOrBuilder extends
    * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for osPolicyAssignmentId. */ - com.google.protobuf.ByteString - getOsPolicyAssignmentIdBytes(); + com.google.protobuf.ByteString getOsPolicyAssignmentIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequest.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequest.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequest.java index 46eb5e6e..9baea6aa 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequest.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequest.java @@ -1,40 +1,58 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * A request message for deleting a OS policy assignment.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest} */ -public final class DeleteOSPolicyAssignmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteOSPolicyAssignmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) DeleteOSPolicyAssignmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteOSPolicyAssignmentRequest.newBuilder() to construct. - private DeleteOSPolicyAssignmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteOSPolicyAssignmentRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteOSPolicyAssignmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteOSPolicyAssignmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteOSPolicyAssignmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private DeleteOSPolicyAssignmentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +92,41 @@ private DeleteOSPolicyAssignmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.class, + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the OS policy assignment to be deleted
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +135,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the OS policy assignment to be deleted
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +168,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -176,15 +204,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest other = (com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) obj; + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest other = + (com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +232,127 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest 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.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message for deleting a OS policy assignment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.class, + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.newBuilder() @@ -322,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +378,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.getDefaultInstance(); } @@ -362,7 +400,8 @@ public com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest buildPartial() { - com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest result = new com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest(this); + com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest result = + new com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +411,39 @@ public com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.DeleteOSPolicyAssignmentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +451,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest other) { - if (other == com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +477,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +490,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +514,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +538,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +615,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) - private static final com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest(); } @@ -566,16 +630,16 @@ public static com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteOSPolicyAssignmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteOSPolicyAssignmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteOSPolicyAssignmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteOSPolicyAssignmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +654,4 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequestOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequestOrBuilder.java new file mode 100644 index 00000000..1a6c87b4 --- /dev/null +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/DeleteOSPolicyAssignmentRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto + +package com.google.cloud.osconfig.v1; + +public interface DeleteOSPolicyAssignmentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the OS policy assignment to be deleted
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the OS policy assignment to be deleted
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequest.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequest.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequest.java index 9863fd10..22121b45 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequest.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequest.java @@ -1,24 +1,42 @@ +/* + * 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/osconfig/v1/inventory.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * A request message for getting inventory data for the specified VM.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetInventoryRequest} */ -public final class GetInventoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetInventoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.GetInventoryRequest) GetInventoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetInventoryRequest.newBuilder() to construct. private GetInventoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetInventoryRequest() { name_ = ""; view_ = 0; @@ -26,16 +44,15 @@ private GetInventoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetInventoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetInventoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetInventoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,29 +99,33 @@ private GetInventoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_GetInventoryRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_GetInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.GetInventoryRequest.class, com.google.cloud.osconfig.v1.GetInventoryRequest.Builder.class); + com.google.cloud.osconfig.v1.GetInventoryRequest.class, + com.google.cloud.osconfig.v1.GetInventoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. API resource name for inventory resource.
    * Format:
@@ -112,7 +135,10 @@ private GetInventoryRequest(
    * can be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -121,14 +147,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. API resource name for inventory resource.
    * Format:
@@ -138,17 +165,18 @@ public java.lang.String getName() {
    * can be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -159,33 +187,43 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; + * * @return The view. */ - @java.lang.Override public com.google.cloud.osconfig.v1.InventoryView getView() { + @java.lang.Override + public com.google.cloud.osconfig.v1.InventoryView getView() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.InventoryView result = com.google.cloud.osconfig.v1.InventoryView.valueOf(view_); + com.google.cloud.osconfig.v1.InventoryView result = + com.google.cloud.osconfig.v1.InventoryView.valueOf(view_); return result == null ? com.google.cloud.osconfig.v1.InventoryView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -197,12 +235,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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 (view_ != com.google.cloud.osconfig.v1.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.osconfig.v1.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -217,9 +255,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.cloud.osconfig.v1.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.cloud.osconfig.v1.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -229,15 +267,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.GetInventoryRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.GetInventoryRequest other = (com.google.cloud.osconfig.v1.GetInventoryRequest) obj; + com.google.cloud.osconfig.v1.GetInventoryRequest other = + (com.google.cloud.osconfig.v1.GetInventoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -259,118 +297,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.GetInventoryRequest 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.osconfig.v1.GetInventoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.GetInventoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.GetInventoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.GetInventoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.GetInventoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.GetInventoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message for getting inventory data for the specified VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetInventoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.GetInventoryRequest) com.google.cloud.osconfig.v1.GetInventoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_GetInventoryRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_GetInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.GetInventoryRequest.class, com.google.cloud.osconfig.v1.GetInventoryRequest.Builder.class); + com.google.cloud.osconfig.v1.GetInventoryRequest.class, + com.google.cloud.osconfig.v1.GetInventoryRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.GetInventoryRequest.newBuilder() @@ -378,16 +425,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -399,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor; } @java.lang.Override @@ -420,7 +466,8 @@ public com.google.cloud.osconfig.v1.GetInventoryRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.GetInventoryRequest buildPartial() { - com.google.cloud.osconfig.v1.GetInventoryRequest result = new com.google.cloud.osconfig.v1.GetInventoryRequest(this); + com.google.cloud.osconfig.v1.GetInventoryRequest result = + new com.google.cloud.osconfig.v1.GetInventoryRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -431,38 +478,39 @@ public com.google.cloud.osconfig.v1.GetInventoryRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.GetInventoryRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.GetInventoryRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1.GetInventoryRequest) other); } else { super.mergeFrom(other); return this; @@ -470,7 +518,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.GetInventoryRequest other) { - if (other == com.google.cloud.osconfig.v1.GetInventoryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1.GetInventoryRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -509,6 +558,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -518,14 +569,16 @@ public Builder mergeFrom(
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -534,6 +587,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -543,16 +598,17 @@ public java.lang.String getName() {
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -560,6 +616,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -569,21 +627,25 @@ public java.lang.String getName() {
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -593,16 +655,21 @@ public Builder setName(
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -612,17 +679,19 @@ public Builder clearName() {
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -630,55 +699,69 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; + * * @return The view. */ @java.lang.Override public com.google.cloud.osconfig.v1.InventoryView getView() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.InventoryView result = com.google.cloud.osconfig.v1.InventoryView.valueOf(view_); + com.google.cloud.osconfig.v1.InventoryView result = + com.google.cloud.osconfig.v1.InventoryView.valueOf(view_); return result == null ? com.google.cloud.osconfig.v1.InventoryView.UNRECOGNIZED : result; } /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; + * * @param value The view to set. * @return This builder for chaining. */ @@ -686,29 +769,32 @@ public Builder setView(com.google.cloud.osconfig.v1.InventoryView value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +804,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.GetInventoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.GetInventoryRequest) private static final com.google.cloud.osconfig.v1.GetInventoryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.GetInventoryRequest(); } @@ -732,16 +818,16 @@ public static com.google.cloud.osconfig.v1.GetInventoryRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInventoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInventoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInventoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetInventoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +842,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.GetInventoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequestOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequestOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequestOrBuilder.java index 42a11eeb..7fbdd652 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetInventoryRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/osconfig/v1/inventory.proto package com.google.cloud.osconfig.v1; -public interface GetInventoryRequestOrBuilder extends +public interface GetInventoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.GetInventoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. API resource name for inventory resource.
    * Format:
@@ -17,11 +35,16 @@ public interface GetInventoryRequestOrBuilder extends
    * can be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. API resource name for inventory resource.
    * Format:
@@ -31,29 +54,37 @@ public interface GetInventoryRequestOrBuilder extends
    * can be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; + * * @return The view. */ com.google.cloud.osconfig.v1.InventoryView getView(); diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequest.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequest.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequest.java index 86527511..e0e624a0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequest.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequest.java @@ -1,40 +1,58 @@ +/* + * 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/osconfig/v1/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * Get a report of the OS policy assignment for a VM instance.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest} */ -public final class GetOSPolicyAssignmentReportRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetOSPolicyAssignmentReportRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) GetOSPolicyAssignmentReportRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetOSPolicyAssignmentReportRequest.newBuilder() to construct. - private GetOSPolicyAssignmentReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetOSPolicyAssignmentReportRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetOSPolicyAssignmentReportRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetOSPolicyAssignmentReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetOSPolicyAssignmentReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private GetOSPolicyAssignmentReportRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +92,33 @@ private GetOSPolicyAssignmentReportRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.class, com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.Builder.class); + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.class, + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. API resource name for OS policy assignment report.
    * Format:
@@ -106,7 +129,10 @@ private GetOSPolicyAssignmentReportRequest(
    * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -115,14 +141,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. API resource name for OS policy assignment report.
    * Format:
@@ -133,17 +160,18 @@ public java.lang.String getName() {
    * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -152,6 +180,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,8 +192,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -188,15 +216,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest other = (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) obj; + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest other = + (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -216,117 +244,127 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest 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.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get a report of the OS policy assignment for a VM instance.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.class, com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.Builder.class); + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.class, + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.newBuilder() @@ -334,16 +372,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -353,13 +390,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.getDefaultInstance(); } @@ -374,7 +412,8 @@ public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest buildPartial() { - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest result = new com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest(this); + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest result = + new com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest(this); result.name_ = name_; onBuilt(); return result; @@ -384,46 +423,50 @@ public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.GetOSPolicyAssignmentReportRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest other) { - if (other == com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest other) { + if (other + == com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -447,7 +490,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -459,6 +504,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -469,14 +516,16 @@ public Builder mergeFrom(
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -485,6 +534,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -495,16 +546,17 @@ public java.lang.String getName() {
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -512,6 +564,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -522,21 +576,25 @@ public java.lang.String getName() {
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -547,16 +605,21 @@ public Builder setName(
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -567,24 +630,26 @@ public Builder clearName() {
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -594,30 +659,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) - private static final com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest(); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOSPolicyAssignmentReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetOSPolicyAssignmentReportRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOSPolicyAssignmentReportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetOSPolicyAssignmentReportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -629,9 +696,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequestOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequestOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequestOrBuilder.java index 4e7d22bc..f470cc83 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentReportRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/osconfig/v1/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1; -public interface GetOSPolicyAssignmentReportRequestOrBuilder extends +public interface GetOSPolicyAssignmentReportRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. API resource name for OS policy assignment report.
    * Format:
@@ -18,11 +36,16 @@ public interface GetOSPolicyAssignmentReportRequestOrBuilder extends
    * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. API resource name for OS policy assignment report.
    * Format:
@@ -33,9 +56,11 @@ public interface GetOSPolicyAssignmentReportRequestOrBuilder extends
    * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequest.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequest.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequest.java index 38e8edb3..729dfecf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequest.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequest.java @@ -1,40 +1,57 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * A request message to get an OS policy assignment
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest} */ -public final class GetOSPolicyAssignmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetOSPolicyAssignmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) GetOSPolicyAssignmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetOSPolicyAssignmentRequest.newBuilder() to construct. private GetOSPolicyAssignmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetOSPolicyAssignmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetOSPolicyAssignmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetOSPolicyAssignmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetOSPolicyAssignmentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,36 +91,43 @@ private GetOSPolicyAssignmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.class, + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of OS policy assignment.
    * Format:
    * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -111,31 +136,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of OS policy assignment.
    * Format:
    * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -144,6 +171,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -180,15 +207,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest other = (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) obj; + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest other = + (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,117 +235,127 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest 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.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message to get an OS policy assignment
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.class, + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.newBuilder() @@ -326,16 +363,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,9 +381,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor; } @java.lang.Override @@ -366,7 +402,8 @@ public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest buildPartial() { - com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest result = new com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest(this); + com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest result = + new com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -376,38 +413,39 @@ public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.GetOSPolicyAssignmentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) other); } else { super.mergeFrom(other); return this; @@ -415,7 +453,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest other) { - if (other == com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -439,7 +478,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,20 +491,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -473,22 +517,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -496,67 +543,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -566,12 +626,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) private static final com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest(); } @@ -580,16 +640,16 @@ public static com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOSPolicyAssignmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetOSPolicyAssignmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOSPolicyAssignmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetOSPolicyAssignmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -604,6 +664,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequestOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequestOrBuilder.java new file mode 100644 index 00000000..848a3412 --- /dev/null +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetOSPolicyAssignmentRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto + +package com.google.cloud.osconfig.v1; + +public interface GetOSPolicyAssignmentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of OS policy assignment.
+   * Format:
+   * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of OS policy assignment.
+   * Format:
+   * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequest.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequest.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequest.java index e6bcd94b..2d7631e0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequest.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequest.java @@ -1,40 +1,57 @@ +/* + * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * A request message for getting the vulnerability report for the specified VM.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetVulnerabilityReportRequest} */ -public final class GetVulnerabilityReportRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetVulnerabilityReportRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.GetVulnerabilityReportRequest) GetVulnerabilityReportRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetVulnerabilityReportRequest.newBuilder() to construct. private GetVulnerabilityReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetVulnerabilityReportRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetVulnerabilityReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetVulnerabilityReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetVulnerabilityReportRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private GetVulnerabilityReportRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.class, com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.Builder.class); + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.class, + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. API resource name for vulnerability resource.
    * Format:
@@ -105,7 +127,10 @@ private GetVulnerabilityReportRequest(
    * can be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -114,14 +139,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. API resource name for vulnerability resource.
    * Format:
@@ -131,17 +157,18 @@ public java.lang.String getName() {
    * can be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -150,6 +177,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,8 +189,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -186,15 +213,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest other = (com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest) obj; + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest other = + (com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -214,117 +241,127 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest 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.osconfig.v1.GetVulnerabilityReportRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message for getting the vulnerability report for the specified VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetVulnerabilityReportRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.GetVulnerabilityReportRequest) com.google.cloud.osconfig.v1.GetVulnerabilityReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.class, com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.Builder.class); + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.class, + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.newBuilder() @@ -332,16 +369,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,9 +387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor; } @java.lang.Override @@ -372,7 +408,8 @@ public com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest buildPartial() { - com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest result = new com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest(this); + com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest result = + new com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest(this); result.name_ = name_; onBuilt(); return result; @@ -382,38 +419,39 @@ public com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.GetVulnerabilityReportRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest) other); } else { super.mergeFrom(other); return this; @@ -421,7 +459,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest other) { - if (other == com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -445,7 +484,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -457,6 +497,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -466,14 +508,16 @@ public Builder mergeFrom(
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -482,6 +526,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -491,16 +537,17 @@ public java.lang.String getName() {
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -508,6 +555,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -517,21 +566,25 @@ public java.lang.String getName() {
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -541,16 +594,21 @@ public Builder setName(
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -560,24 +618,26 @@ public Builder clearName() {
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -587,12 +647,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.GetVulnerabilityReportRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.GetVulnerabilityReportRequest) private static final com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest(); } @@ -601,16 +661,16 @@ public static com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVulnerabilityReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVulnerabilityReportRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVulnerabilityReportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVulnerabilityReportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -625,6 +685,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.osconfig.v1.GetVulnerabilityReportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequestOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequestOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequestOrBuilder.java index f64faedc..4449d800 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/GetVulnerabilityReportRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; -public interface GetVulnerabilityReportRequestOrBuilder extends +public interface GetVulnerabilityReportRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.GetVulnerabilityReportRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. API resource name for vulnerability resource.
    * Format:
@@ -17,11 +35,16 @@ public interface GetVulnerabilityReportRequestOrBuilder extends
    * can be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. API resource name for vulnerability resource.
    * Format:
@@ -31,9 +54,11 @@ public interface GetVulnerabilityReportRequestOrBuilder extends
    * can be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InstanceName.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InstanceName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InstanceName.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InstanceName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InstanceOSPolicyAssignmentName.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InstanceOSPolicyAssignmentName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InstanceOSPolicyAssignmentName.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InstanceOSPolicyAssignmentName.java diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java new file mode 100644 index 00000000..df1ca18c --- /dev/null +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java @@ -0,0 +1,356 @@ +/* + * 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/osconfig/v1/inventory.proto + +package com.google.cloud.osconfig.v1; + +public final class Inventories { + private Inventories() {} + + 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_osconfig_v1_Inventory_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_Item_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_GetInventoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n(google/cloud/osconfig/v1/inventory.pro" + + "to\022\030google.cloud.osconfig.v1\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\037google/protobuf/timestamp.prot" + + "o\032\026google/type/date.proto\"\330\025\n\tInventory\022" + + "\021\n\004name\030\003 \001(\tB\003\340A\003\022;\n\007os_info\030\001 \001(\0132*.go" + + "ogle.cloud.osconfig.v1.Inventory.OsInfo\022" + + "=\n\005items\030\002 \003(\0132..google.cloud.osconfig.v" + + "1.Inventory.ItemsEntry\0224\n\013update_time\030\004 " + + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\032\270\001\n" + + "\006OsInfo\022\020\n\010hostname\030\t \001(\t\022\021\n\tlong_name\030\002" + + " \001(\t\022\022\n\nshort_name\030\003 \001(\t\022\017\n\007version\030\004 \001(" + + "\t\022\024\n\014architecture\030\005 \001(\t\022\026\n\016kernel_versio" + + "n\030\006 \001(\t\022\026\n\016kernel_release\030\007 \001(\t\022\036\n\026oscon" + + "fig_agent_version\030\010 \001(\t\032\267\004\n\004Item\022\n\n\002id\030\001" + + " \001(\t\022H\n\013origin_type\030\002 \001(\01623.google.cloud" + + ".osconfig.v1.Inventory.Item.OriginType\022/" + + "\n\013create_time\030\010 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022/\n\013update_time\030\t \001(\0132\032.google.pr" + + "otobuf.Timestamp\022;\n\004type\030\005 \001(\0162-.google." + + "cloud.osconfig.v1.Inventory.Item.Type\022P\n" + + "\021installed_package\030\006 \001(\01323.google.cloud." + + "osconfig.v1.Inventory.SoftwarePackageH\000\022" + + "P\n\021available_package\030\007 \001(\01323.google.clou" + + "d.osconfig.v1.Inventory.SoftwarePackageH" + + "\000\"?\n\nOriginType\022\033\n\027ORIGIN_TYPE_UNSPECIFI" + + "ED\020\000\022\024\n\020INVENTORY_REPORT\020\001\"J\n\004Type\022\024\n\020TY" + + "PE_UNSPECIFIED\020\000\022\025\n\021INSTALLED_PACKAGE\020\001\022" + + "\025\n\021AVAILABLE_PACKAGE\020\002B\t\n\007details\032\362\005\n\017So" + + "ftwarePackage\022K\n\013yum_package\030\001 \001(\01324.goo" + + "gle.cloud.osconfig.v1.Inventory.Versione" + + "dPackageH\000\022K\n\013apt_package\030\002 \001(\01324.google" + + ".cloud.osconfig.v1.Inventory.VersionedPa" + + "ckageH\000\022N\n\016zypper_package\030\003 \001(\01324.google" + + ".cloud.osconfig.v1.Inventory.VersionedPa" + + "ckageH\000\022N\n\016googet_package\030\004 \001(\01324.google" + + ".cloud.osconfig.v1.Inventory.VersionedPa" + + "ckageH\000\022G\n\014zypper_patch\030\005 \001(\0132/.google.c" + + "loud.osconfig.v1.Inventory.ZypperPatchH\000" + + "\022O\n\013wua_package\030\006 \001(\01328.google.cloud.osc" + + "onfig.v1.Inventory.WindowsUpdatePackageH" + + "\000\022\\\n\013qfe_package\030\007 \001(\0132E.google.cloud.os" + + "config.v1.Inventory.WindowsQuickFixEngin" + + "eeringPackageH\000\022K\n\013cos_package\030\010 \001(\01324.g" + + "oogle.cloud.osconfig.v1.Inventory.Versio" + + "nedPackageH\000\022U\n\023windows_application\030\t \001(" + + "\01326.google.cloud.osconfig.v1.Inventory.W" + + "indowsApplicationH\000B\t\n\007details\032O\n\020Versio" + + "nedPackage\022\024\n\014package_name\030\004 \001(\t\022\024\n\014arch" + + "itecture\030\002 \001(\t\022\017\n\007version\030\003 \001(\t\032V\n\013Zyppe" + + "rPatch\022\022\n\npatch_name\030\005 \001(\t\022\020\n\010category\030\002" + + " \001(\t\022\020\n\010severity\030\003 \001(\t\022\017\n\007summary\030\004 \001(\t\032" + + "\203\003\n\024WindowsUpdatePackage\022\r\n\005title\030\001 \001(\t\022" + + "\023\n\013description\030\002 \001(\t\022b\n\ncategories\030\003 \003(\013" + + "2N.google.cloud.osconfig.v1.Inventory.Wi" + + "ndowsUpdatePackage.WindowsUpdateCategory" + + "\022\026\n\016kb_article_ids\030\004 \003(\t\022\023\n\013support_url\030" + + "\013 \001(\t\022\026\n\016more_info_urls\030\005 \003(\t\022\021\n\tupdate_" + + "id\030\006 \001(\t\022\027\n\017revision_number\030\007 \001(\005\022?\n\033las" + + "t_deployment_change_time\030\n \001(\0132\032.google." + + "protobuf.Timestamp\0321\n\025WindowsUpdateCateg" + + "ory\022\n\n\002id\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\032\217\001\n!Window" + + "sQuickFixEngineeringPackage\022\017\n\007caption\030\001" + + " \001(\t\022\023\n\013description\030\002 \001(\t\022\022\n\nhot_fix_id\030" + + "\003 \001(\t\0220\n\014install_time\030\005 \001(\0132\032.google.pro" + + "tobuf.Timestamp\032\222\001\n\022WindowsApplication\022\024" + + "\n\014display_name\030\001 \001(\t\022\027\n\017display_version\030" + + "\002 \001(\t\022\021\n\tpublisher\030\003 \001(\t\022\'\n\014install_date" + + "\030\004 \001(\0132\021.google.type.Date\022\021\n\thelp_link\030\005" + + " \001(\t\032V\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\0227\n\005value" + + "\030\002 \001(\0132(.google.cloud.osconfig.v1.Invent" + + "ory.Item:\0028\001:n\352Ak\n!osconfig.googleapis.c" + + "om/Inventory\022Fprojects/{project}/locatio" + + "ns/{location}/instances/{instance}/inven" + + "tory\"\205\001\n\023GetInventoryRequest\0227\n\004name\030\001 \001" + + "(\tB)\340A\002\372A#\n!osconfig.googleapis.com/Inve" + + "ntory\0225\n\004view\030\002 \001(\0162\'.google.cloud.oscon" + + "fig.v1.InventoryView\"\277\001\n\026ListInventories" + + "Request\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037compute" + + ".googleapis.com/Instance\0225\n\004view\030\002 \001(\0162\'" + + ".google.cloud.osconfig.v1.InventoryView\022" + + "\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\016" + + "\n\006filter\030\005 \001(\t\"l\n\027ListInventoriesRespons" + + "e\0228\n\013inventories\030\001 \003(\0132#.google.cloud.os" + + "config.v1.Inventory\022\027\n\017next_page_token\030\002" + + " \001(\t*D\n\rInventoryView\022\036\n\032INVENTORY_VIEW_" + + "UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\303\001\n\034c" + + "om.google.cloud.osconfig.v1B\013Inventories" + + "P\001Z@google.golang.org/genproto/googleapi" + + "s/cloud/osconfig/v1;osconfig\252\002\030Google.Cl" + + "oud.OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\" + + "V1\352\002\033Google::Cloud::OsConfig::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.type.DateProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1_Inventory_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1_Inventory_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_descriptor, + new java.lang.String[] { + "Name", "OsInfo", "Items", "UpdateTime", + }); + internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor, + new java.lang.String[] { + "Hostname", + "LongName", + "ShortName", + "Version", + "Architecture", + "KernelVersion", + "KernelRelease", + "OsconfigAgentVersion", + }); + internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1_Inventory_Item_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor, + new java.lang.String[] { + "Id", + "OriginType", + "CreateTime", + "UpdateTime", + "Type", + "InstalledPackage", + "AvailablePackage", + "Details", + }); + internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor, + new java.lang.String[] { + "YumPackage", + "AptPackage", + "ZypperPackage", + "GoogetPackage", + "ZypperPatch", + "WuaPackage", + "QfePackage", + "CosPackage", + "WindowsApplication", + "Details", + }); + internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor, + new java.lang.String[] { + "PackageName", "Architecture", "Version", + }); + internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor, + new java.lang.String[] { + "PatchName", "Category", "Severity", "Summary", + }); + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor, + new java.lang.String[] { + "Title", + "Description", + "Categories", + "KbArticleIds", + "SupportUrl", + "MoreInfoUrls", + "UpdateId", + "RevisionNumber", + "LastDeploymentChangeTime", + }); + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor, + new java.lang.String[] { + "Id", "Name", + }); + internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor, + new java.lang.String[] { + "Caption", "Description", "HotFixId", "InstallTime", + }); + internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(7); + internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor, + new java.lang.String[] { + "DisplayName", "DisplayVersion", "Publisher", "InstallDate", "HelpLink", + }); + internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_descriptor = + internal_static_google_cloud_osconfig_v1_Inventory_descriptor.getNestedTypes().get(8); + internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1_GetInventoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_GetInventoryRequest_descriptor, + new java.lang.String[] { + "Name", "View", + }); + internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor, + new java.lang.String[] { + "Parent", "View", "PageSize", "PageToken", "Filter", + }); + internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor, + new java.lang.String[] { + "Inventories", "NextPageToken", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.type.DateProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventory.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventory.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventory.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventory.java index 8b8f0ba7..1b4655eb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventory.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventory.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1/inventory.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * This API resource represents the available inventory data for a
  * Compute Engine virtual machine (VM) instance at a given point in time.
@@ -14,31 +31,31 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.Inventory}
  */
-public final class Inventory extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Inventory extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory)
     InventoryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Inventory.newBuilder() to construct.
   private Inventory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Inventory() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Inventory();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Inventory(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,58 +75,67 @@ private Inventory(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder subBuilder = null;
-            if (osInfo_ != null) {
-              subBuilder = osInfo_.toBuilder();
+          case 10:
+            {
+              com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder subBuilder = null;
+              if (osInfo_ != null) {
+                subBuilder = osInfo_.toBuilder();
+              }
+              osInfo_ =
+                  input.readMessage(
+                      com.google.cloud.osconfig.v1.Inventory.OsInfo.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(osInfo_);
+                osInfo_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            osInfo_ = input.readMessage(com.google.cloud.osconfig.v1.Inventory.OsInfo.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(osInfo_);
-              osInfo_ = subBuilder.buildPartial();
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                items_ =
+                    com.google.protobuf.MapField.newMapField(ItemsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry<
+                      java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item>
+                  items__ =
+                      input.readMessage(
+                          ItemsDefaultEntryHolder.defaultEntry.getParserForType(),
+                          extensionRegistry);
+              items_.getMutableMap().put(items__.getKey(), items__.getValue());
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              items_ = com.google.protobuf.MapField.newMapField(
-                  ItemsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              name_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            items__ = input.readMessage(
-                ItemsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            items_.getMutableMap().put(
-                items__.getKey(), items__.getValue());
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 34:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
 
-            name_ = s;
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
-            }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -117,63 +143,72 @@ private Inventory(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1.Inventories
+        .internal_static_google_cloud_osconfig_v1_Inventory_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 2:
         return internalGetItems();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.Inventories
+        .internal_static_google_cloud_osconfig_v1_Inventory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.Inventory.class, com.google.cloud.osconfig.v1.Inventory.Builder.class);
+            com.google.cloud.osconfig.v1.Inventory.class,
+            com.google.cloud.osconfig.v1.Inventory.Builder.class);
   }
 
-  public interface OsInfoOrBuilder extends
+  public interface OsInfoOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory.OsInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The VM hostname.
      * 
* * string hostname = 9; + * * @return The hostname. */ java.lang.String getHostname(); /** + * + * *
      * The VM hostname.
      * 
* * string hostname = 9; + * * @return The bytes for hostname. */ - com.google.protobuf.ByteString - getHostnameBytes(); + com.google.protobuf.ByteString getHostnameBytes(); /** + * + * *
      * The operating system long name.
      * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -181,10 +216,13 @@ public interface OsInfoOrBuilder extends
      * 
* * string long_name = 2; + * * @return The longName. */ java.lang.String getLongName(); /** + * + * *
      * The operating system long name.
      * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -192,149 +230,182 @@ public interface OsInfoOrBuilder extends
      * 
* * string long_name = 2; + * * @return The bytes for longName. */ - com.google.protobuf.ByteString - getLongNameBytes(); + com.google.protobuf.ByteString getLongNameBytes(); /** + * + * *
      * The operating system short name.
      * For example, 'windows' or 'debian'.
      * 
* * string short_name = 3; + * * @return The shortName. */ java.lang.String getShortName(); /** + * + * *
      * The operating system short name.
      * For example, 'windows' or 'debian'.
      * 
* * string short_name = 3; + * * @return The bytes for shortName. */ - com.google.protobuf.ByteString - getShortNameBytes(); + com.google.protobuf.ByteString getShortNameBytes(); /** + * + * *
      * The version of the operating system.
      * 
* * string version = 4; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
      * The version of the operating system.
      * 
* * string version = 4; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
      * The system architecture of the operating system.
      * 
* * string architecture = 5; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
      * The system architecture of the operating system.
      * 
* * string architecture = 5; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); /** + * + * *
      * The kernel version of the operating system.
      * 
* * string kernel_version = 6; + * * @return The kernelVersion. */ java.lang.String getKernelVersion(); /** + * + * *
      * The kernel version of the operating system.
      * 
* * string kernel_version = 6; + * * @return The bytes for kernelVersion. */ - com.google.protobuf.ByteString - getKernelVersionBytes(); + com.google.protobuf.ByteString getKernelVersionBytes(); /** + * + * *
      * The kernel release of the operating system.
      * 
* * string kernel_release = 7; + * * @return The kernelRelease. */ java.lang.String getKernelRelease(); /** + * + * *
      * The kernel release of the operating system.
      * 
* * string kernel_release = 7; + * * @return The bytes for kernelRelease. */ - com.google.protobuf.ByteString - getKernelReleaseBytes(); + com.google.protobuf.ByteString getKernelReleaseBytes(); /** + * + * *
      * The current version of the OS Config agent running on the VM.
      * 
* * string osconfig_agent_version = 8; + * * @return The osconfigAgentVersion. */ java.lang.String getOsconfigAgentVersion(); /** + * + * *
      * The current version of the OS Config agent running on the VM.
      * 
* * string osconfig_agent_version = 8; + * * @return The bytes for osconfigAgentVersion. */ - com.google.protobuf.ByteString - getOsconfigAgentVersionBytes(); + com.google.protobuf.ByteString getOsconfigAgentVersionBytes(); } /** + * + * *
    * Operating system information for the VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.Inventory.OsInfo} */ - public static final class OsInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class OsInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory.OsInfo) OsInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OsInfo.newBuilder() to construct. private OsInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OsInfo() { hostname_ = ""; longName_ = ""; @@ -348,16 +419,15 @@ private OsInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OsInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OsInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -376,61 +446,69 @@ private OsInfo( case 0: done = true; break; - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - longName_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + longName_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - shortName_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + shortName_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + architecture_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - kernelVersion_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + kernelVersion_ = s; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - kernelRelease_ = s; - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + kernelRelease_ = s; + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - osconfigAgentVersion_ = s; - break; - } - case 74: { - java.lang.String s = input.readStringRequireUtf8(); + osconfigAgentVersion_ = s; + break; + } + case 74: + { + java.lang.String s = input.readStringRequireUtf8(); - hostname_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + hostname_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -438,34 +516,39 @@ private OsInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.OsInfo.class, com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder.class); + com.google.cloud.osconfig.v1.Inventory.OsInfo.class, + com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder.class); } public static final int HOSTNAME_FIELD_NUMBER = 9; private volatile java.lang.Object hostname_; /** + * + * *
      * The VM hostname.
      * 
* * string hostname = 9; + * * @return The hostname. */ @java.lang.Override @@ -474,29 +557,29 @@ public java.lang.String getHostname() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; } } /** + * + * *
      * The VM hostname.
      * 
* * string hostname = 9; + * * @return The bytes for hostname. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostnameBytes() { + public com.google.protobuf.ByteString getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hostname_ = b; return b; } else { @@ -507,6 +590,8 @@ public java.lang.String getHostname() { public static final int LONG_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object longName_; /** + * + * *
      * The operating system long name.
      * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -514,6 +599,7 @@ public java.lang.String getHostname() {
      * 
* * string long_name = 2; + * * @return The longName. */ @java.lang.Override @@ -522,14 +608,15 @@ public java.lang.String getLongName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); longName_ = s; return s; } } /** + * + * *
      * The operating system long name.
      * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -537,16 +624,15 @@ public java.lang.String getLongName() {
      * 
* * string long_name = 2; + * * @return The bytes for longName. */ @java.lang.Override - public com.google.protobuf.ByteString - getLongNameBytes() { + public com.google.protobuf.ByteString getLongNameBytes() { java.lang.Object ref = longName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); longName_ = b; return b; } else { @@ -557,12 +643,15 @@ public java.lang.String getLongName() { public static final int SHORT_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object shortName_; /** + * + * *
      * The operating system short name.
      * For example, 'windows' or 'debian'.
      * 
* * string short_name = 3; + * * @return The shortName. */ @java.lang.Override @@ -571,30 +660,30 @@ public java.lang.String getShortName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); shortName_ = s; return s; } } /** + * + * *
      * The operating system short name.
      * For example, 'windows' or 'debian'.
      * 
* * string short_name = 3; + * * @return The bytes for shortName. */ @java.lang.Override - public com.google.protobuf.ByteString - getShortNameBytes() { + public com.google.protobuf.ByteString getShortNameBytes() { java.lang.Object ref = shortName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); shortName_ = b; return b; } else { @@ -605,11 +694,14 @@ public java.lang.String getShortName() { public static final int VERSION_FIELD_NUMBER = 4; private volatile java.lang.Object version_; /** + * + * *
      * The version of the operating system.
      * 
* * string version = 4; + * * @return The version. */ @java.lang.Override @@ -618,29 +710,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
      * The version of the operating system.
      * 
* * string version = 4; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -651,11 +743,14 @@ public java.lang.String getVersion() { public static final int ARCHITECTURE_FIELD_NUMBER = 5; private volatile java.lang.Object architecture_; /** + * + * *
      * The system architecture of the operating system.
      * 
* * string architecture = 5; + * * @return The architecture. */ @java.lang.Override @@ -664,29 +759,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
      * The system architecture of the operating system.
      * 
* * string architecture = 5; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -697,11 +792,14 @@ public java.lang.String getArchitecture() { public static final int KERNEL_VERSION_FIELD_NUMBER = 6; private volatile java.lang.Object kernelVersion_; /** + * + * *
      * The kernel version of the operating system.
      * 
* * string kernel_version = 6; + * * @return The kernelVersion. */ @java.lang.Override @@ -710,29 +808,29 @@ public java.lang.String getKernelVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kernelVersion_ = s; return s; } } /** + * + * *
      * The kernel version of the operating system.
      * 
* * string kernel_version = 6; + * * @return The bytes for kernelVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getKernelVersionBytes() { + public com.google.protobuf.ByteString getKernelVersionBytes() { java.lang.Object ref = kernelVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kernelVersion_ = b; return b; } else { @@ -743,11 +841,14 @@ public java.lang.String getKernelVersion() { public static final int KERNEL_RELEASE_FIELD_NUMBER = 7; private volatile java.lang.Object kernelRelease_; /** + * + * *
      * The kernel release of the operating system.
      * 
* * string kernel_release = 7; + * * @return The kernelRelease. */ @java.lang.Override @@ -756,29 +857,29 @@ public java.lang.String getKernelRelease() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kernelRelease_ = s; return s; } } /** + * + * *
      * The kernel release of the operating system.
      * 
* * string kernel_release = 7; + * * @return The bytes for kernelRelease. */ @java.lang.Override - public com.google.protobuf.ByteString - getKernelReleaseBytes() { + public com.google.protobuf.ByteString getKernelReleaseBytes() { java.lang.Object ref = kernelRelease_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kernelRelease_ = b; return b; } else { @@ -789,11 +890,14 @@ public java.lang.String getKernelRelease() { public static final int OSCONFIG_AGENT_VERSION_FIELD_NUMBER = 8; private volatile java.lang.Object osconfigAgentVersion_; /** + * + * *
      * The current version of the OS Config agent running on the VM.
      * 
* * string osconfig_agent_version = 8; + * * @return The osconfigAgentVersion. */ @java.lang.Override @@ -802,29 +906,29 @@ public java.lang.String getOsconfigAgentVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osconfigAgentVersion_ = s; return s; } } /** + * + * *
      * The current version of the OS Config agent running on the VM.
      * 
* * string osconfig_agent_version = 8; + * * @return The bytes for osconfigAgentVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsconfigAgentVersionBytes() { + public com.google.protobuf.ByteString getOsconfigAgentVersionBytes() { java.lang.Object ref = osconfigAgentVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osconfigAgentVersion_ = b; return b; } else { @@ -833,6 +937,7 @@ public java.lang.String getOsconfigAgentVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -844,8 +949,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(longName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, longName_); } @@ -911,29 +1015,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory.OsInfo)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Inventory.OsInfo other = (com.google.cloud.osconfig.v1.Inventory.OsInfo) obj; - - if (!getHostname() - .equals(other.getHostname())) return false; - if (!getLongName() - .equals(other.getLongName())) return false; - if (!getShortName() - .equals(other.getShortName())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; - if (!getKernelVersion() - .equals(other.getKernelVersion())) return false; - if (!getKernelRelease() - .equals(other.getKernelRelease())) return false; - if (!getOsconfigAgentVersion() - .equals(other.getOsconfigAgentVersion())) return false; + com.google.cloud.osconfig.v1.Inventory.OsInfo other = + (com.google.cloud.osconfig.v1.Inventory.OsInfo) obj; + + if (!getHostname().equals(other.getHostname())) return false; + if (!getLongName().equals(other.getLongName())) return false; + if (!getShortName().equals(other.getShortName())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getKernelVersion().equals(other.getKernelVersion())) return false; + if (!getKernelRelease().equals(other.getKernelRelease())) return false; + if (!getOsconfigAgentVersion().equals(other.getOsconfigAgentVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -966,88 +1063,94 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.OsInfo 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.osconfig.v1.Inventory.OsInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.OsInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory.OsInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1057,27 +1160,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Operating system information for the VM.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.Inventory.OsInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory.OsInfo) com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.OsInfo.class, com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder.class); + com.google.cloud.osconfig.v1.Inventory.OsInfo.class, + com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder.class); } // Construct using com.google.cloud.osconfig.v1.Inventory.OsInfo.newBuilder() @@ -1085,16 +1193,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1118,9 +1225,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_OsInfo_descriptor; } @java.lang.Override @@ -1139,7 +1246,8 @@ public com.google.cloud.osconfig.v1.Inventory.OsInfo build() { @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.OsInfo buildPartial() { - com.google.cloud.osconfig.v1.Inventory.OsInfo result = new com.google.cloud.osconfig.v1.Inventory.OsInfo(this); + com.google.cloud.osconfig.v1.Inventory.OsInfo result = + new com.google.cloud.osconfig.v1.Inventory.OsInfo(this); result.hostname_ = hostname_; result.longName_ = longName_; result.shortName_ = shortName_; @@ -1156,38 +1264,41 @@ public com.google.cloud.osconfig.v1.Inventory.OsInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.Inventory.OsInfo) { - return mergeFrom((com.google.cloud.osconfig.v1.Inventory.OsInfo)other); + return mergeFrom((com.google.cloud.osconfig.v1.Inventory.OsInfo) other); } else { super.mergeFrom(other); return this; @@ -1195,7 +1306,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.OsInfo other) { - if (other == com.google.cloud.osconfig.v1.Inventory.OsInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1.Inventory.OsInfo.getDefaultInstance()) + return this; if (!other.getHostname().isEmpty()) { hostname_ = other.hostname_; onChanged(); @@ -1259,18 +1371,20 @@ public Builder mergeFrom( private java.lang.Object hostname_ = ""; /** + * + * *
        * The VM hostname.
        * 
* * string hostname = 9; + * * @return The hostname. */ public java.lang.String getHostname() { java.lang.Object ref = hostname_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; @@ -1279,20 +1393,21 @@ public java.lang.String getHostname() { } } /** + * + * *
        * The VM hostname.
        * 
* * string hostname = 9; + * * @return The bytes for hostname. */ - public com.google.protobuf.ByteString - getHostnameBytes() { + public com.google.protobuf.ByteString getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hostname_ = b; return b; } else { @@ -1300,54 +1415,61 @@ public java.lang.String getHostname() { } } /** + * + * *
        * The VM hostname.
        * 
* * string hostname = 9; + * * @param value The hostname to set. * @return This builder for chaining. */ - public Builder setHostname( - java.lang.String value) { + public Builder setHostname(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hostname_ = value; onChanged(); return this; } /** + * + * *
        * The VM hostname.
        * 
* * string hostname = 9; + * * @return This builder for chaining. */ public Builder clearHostname() { - + hostname_ = getDefaultInstance().getHostname(); onChanged(); return this; } /** + * + * *
        * The VM hostname.
        * 
* * string hostname = 9; + * * @param value The bytes for hostname to set. * @return This builder for chaining. */ - public Builder setHostnameBytes( - com.google.protobuf.ByteString value) { + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; onChanged(); return this; @@ -1355,6 +1477,8 @@ public Builder setHostnameBytes( private java.lang.Object longName_ = ""; /** + * + * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1362,13 +1486,13 @@ public Builder setHostnameBytes(
        * 
* * string long_name = 2; + * * @return The longName. */ public java.lang.String getLongName() { java.lang.Object ref = longName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); longName_ = s; return s; @@ -1377,6 +1501,8 @@ public java.lang.String getLongName() { } } /** + * + * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1384,15 +1510,14 @@ public java.lang.String getLongName() {
        * 
* * string long_name = 2; + * * @return The bytes for longName. */ - public com.google.protobuf.ByteString - getLongNameBytes() { + public com.google.protobuf.ByteString getLongNameBytes() { java.lang.Object ref = longName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); longName_ = b; return b; } else { @@ -1400,6 +1525,8 @@ public java.lang.String getLongName() { } } /** + * + * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1407,20 +1534,22 @@ public java.lang.String getLongName() {
        * 
* * string long_name = 2; + * * @param value The longName to set. * @return This builder for chaining. */ - public Builder setLongName( - java.lang.String value) { + public Builder setLongName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + longName_ = value; onChanged(); return this; } /** + * + * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1428,15 +1557,18 @@ public Builder setLongName(
        * 
* * string long_name = 2; + * * @return This builder for chaining. */ public Builder clearLongName() { - + longName_ = getDefaultInstance().getLongName(); onChanged(); return this; } /** + * + * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1444,16 +1576,16 @@ public Builder clearLongName() {
        * 
* * string long_name = 2; + * * @param value The bytes for longName to set. * @return This builder for chaining. */ - public Builder setLongNameBytes( - com.google.protobuf.ByteString value) { + public Builder setLongNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + longName_ = value; onChanged(); return this; @@ -1461,19 +1593,21 @@ public Builder setLongNameBytes( private java.lang.Object shortName_ = ""; /** + * + * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; + * * @return The shortName. */ public java.lang.String getShortName() { java.lang.Object ref = shortName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); shortName_ = s; return s; @@ -1482,21 +1616,22 @@ public java.lang.String getShortName() { } } /** + * + * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; + * * @return The bytes for shortName. */ - public com.google.protobuf.ByteString - getShortNameBytes() { + public com.google.protobuf.ByteString getShortNameBytes() { java.lang.Object ref = shortName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); shortName_ = b; return b; } else { @@ -1504,57 +1639,64 @@ public java.lang.String getShortName() { } } /** + * + * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; + * * @param value The shortName to set. * @return This builder for chaining. */ - public Builder setShortName( - java.lang.String value) { + public Builder setShortName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + shortName_ = value; onChanged(); return this; } /** + * + * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; + * * @return This builder for chaining. */ public Builder clearShortName() { - + shortName_ = getDefaultInstance().getShortName(); onChanged(); return this; } /** + * + * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; + * * @param value The bytes for shortName to set. * @return This builder for chaining. */ - public Builder setShortNameBytes( - com.google.protobuf.ByteString value) { + public Builder setShortNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + shortName_ = value; onChanged(); return this; @@ -1562,18 +1704,20 @@ public Builder setShortNameBytes( private java.lang.Object version_ = ""; /** + * + * *
        * The version of the operating system.
        * 
* * string version = 4; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1582,20 +1726,21 @@ public java.lang.String getVersion() { } } /** + * + * *
        * The version of the operating system.
        * 
* * string version = 4; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -1603,54 +1748,61 @@ public java.lang.String getVersion() { } } /** + * + * *
        * The version of the operating system.
        * 
* * string version = 4; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
        * The version of the operating system.
        * 
* * string version = 4; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
        * The version of the operating system.
        * 
* * string version = 4; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1658,18 +1810,20 @@ public Builder setVersionBytes( private java.lang.Object architecture_ = ""; /** + * + * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1678,20 +1832,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -1699,54 +1854,61 @@ public java.lang.String getArchitecture() { } } /** + * + * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1754,18 +1916,20 @@ public Builder setArchitectureBytes( private java.lang.Object kernelVersion_ = ""; /** + * + * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; + * * @return The kernelVersion. */ public java.lang.String getKernelVersion() { java.lang.Object ref = kernelVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kernelVersion_ = s; return s; @@ -1774,20 +1938,21 @@ public java.lang.String getKernelVersion() { } } /** + * + * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; + * * @return The bytes for kernelVersion. */ - public com.google.protobuf.ByteString - getKernelVersionBytes() { + public com.google.protobuf.ByteString getKernelVersionBytes() { java.lang.Object ref = kernelVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kernelVersion_ = b; return b; } else { @@ -1795,54 +1960,61 @@ public java.lang.String getKernelVersion() { } } /** + * + * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; + * * @param value The kernelVersion to set. * @return This builder for chaining. */ - public Builder setKernelVersion( - java.lang.String value) { + public Builder setKernelVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kernelVersion_ = value; onChanged(); return this; } /** + * + * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; + * * @return This builder for chaining. */ public Builder clearKernelVersion() { - + kernelVersion_ = getDefaultInstance().getKernelVersion(); onChanged(); return this; } /** + * + * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; + * * @param value The bytes for kernelVersion to set. * @return This builder for chaining. */ - public Builder setKernelVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setKernelVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kernelVersion_ = value; onChanged(); return this; @@ -1850,18 +2022,20 @@ public Builder setKernelVersionBytes( private java.lang.Object kernelRelease_ = ""; /** + * + * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; + * * @return The kernelRelease. */ public java.lang.String getKernelRelease() { java.lang.Object ref = kernelRelease_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kernelRelease_ = s; return s; @@ -1870,20 +2044,21 @@ public java.lang.String getKernelRelease() { } } /** + * + * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; + * * @return The bytes for kernelRelease. */ - public com.google.protobuf.ByteString - getKernelReleaseBytes() { + public com.google.protobuf.ByteString getKernelReleaseBytes() { java.lang.Object ref = kernelRelease_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kernelRelease_ = b; return b; } else { @@ -1891,54 +2066,61 @@ public java.lang.String getKernelRelease() { } } /** + * + * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; + * * @param value The kernelRelease to set. * @return This builder for chaining. */ - public Builder setKernelRelease( - java.lang.String value) { + public Builder setKernelRelease(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kernelRelease_ = value; onChanged(); return this; } /** + * + * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; + * * @return This builder for chaining. */ public Builder clearKernelRelease() { - + kernelRelease_ = getDefaultInstance().getKernelRelease(); onChanged(); return this; } /** + * + * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; + * * @param value The bytes for kernelRelease to set. * @return This builder for chaining. */ - public Builder setKernelReleaseBytes( - com.google.protobuf.ByteString value) { + public Builder setKernelReleaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kernelRelease_ = value; onChanged(); return this; @@ -1946,18 +2128,20 @@ public Builder setKernelReleaseBytes( private java.lang.Object osconfigAgentVersion_ = ""; /** + * + * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; + * * @return The osconfigAgentVersion. */ public java.lang.String getOsconfigAgentVersion() { java.lang.Object ref = osconfigAgentVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osconfigAgentVersion_ = s; return s; @@ -1966,20 +2150,21 @@ public java.lang.String getOsconfigAgentVersion() { } } /** + * + * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; + * * @return The bytes for osconfigAgentVersion. */ - public com.google.protobuf.ByteString - getOsconfigAgentVersionBytes() { + public com.google.protobuf.ByteString getOsconfigAgentVersionBytes() { java.lang.Object ref = osconfigAgentVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osconfigAgentVersion_ = b; return b; } else { @@ -1987,58 +2172,66 @@ public java.lang.String getOsconfigAgentVersion() { } } /** + * + * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; + * * @param value The osconfigAgentVersion to set. * @return This builder for chaining. */ - public Builder setOsconfigAgentVersion( - java.lang.String value) { + public Builder setOsconfigAgentVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osconfigAgentVersion_ = value; onChanged(); return this; } /** + * + * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; + * * @return This builder for chaining. */ public Builder clearOsconfigAgentVersion() { - + osconfigAgentVersion_ = getDefaultInstance().getOsconfigAgentVersion(); onChanged(); return this; } /** + * + * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; + * * @param value The bytes for osconfigAgentVersion to set. * @return This builder for chaining. */ - public Builder setOsconfigAgentVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setOsconfigAgentVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osconfigAgentVersion_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2051,12 +2244,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory.OsInfo) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory.OsInfo) private static final com.google.cloud.osconfig.v1.Inventory.OsInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory.OsInfo(); } @@ -2065,16 +2258,16 @@ public static com.google.cloud.osconfig.v1.Inventory.OsInfo getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OsInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OsInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OsInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OsInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2089,71 +2282,90 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.Inventory.OsInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ItemOrBuilder extends + public interface ItemOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory.Item) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Identifier for this item, unique across items for this VM.
      * 
* * string id = 1; + * * @return The id. */ java.lang.String getId(); /** + * + * *
      * Identifier for this item, unique across items for this VM.
      * 
* * string id = 1; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
      * The origin of this inventory item.
      * 
* * .google.cloud.osconfig.v1.Inventory.Item.OriginType origin_type = 2; + * * @return The enum numeric value on the wire for originType. */ int getOriginTypeValue(); /** + * + * *
      * The origin of this inventory item.
      * 
* * .google.cloud.osconfig.v1.Inventory.Item.OriginType origin_type = 2; + * * @return The originType. */ com.google.cloud.osconfig.v1.Inventory.Item.OriginType getOriginType(); /** + * + * *
      * When this inventory item was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 8; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
      * When this inventory item was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 8; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
      * When this inventory item was first detected.
      * 
@@ -2163,24 +2375,32 @@ public interface ItemOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
      * When this inventory item was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 9; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
      * When this inventory item was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 9; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
      * When this inventory item was last modified.
      * 
@@ -2190,43 +2410,57 @@ public interface ItemOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
      * The specific type of inventory, correlating to its specific details.
      * 
* * .google.cloud.osconfig.v1.Inventory.Item.Type type = 5; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * The specific type of inventory, correlating to its specific details.
      * 
* * .google.cloud.osconfig.v1.Inventory.Item.Type type = 5; + * * @return The type. */ com.google.cloud.osconfig.v1.Inventory.Item.Type getType(); /** + * + * *
      * Software package present on the VM instance.
      * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; + * * @return Whether the installedPackage field is set. */ boolean hasInstalledPackage(); /** + * + * *
      * Software package present on the VM instance.
      * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; + * * @return The installedPackage. */ com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getInstalledPackage(); /** + * + * *
      * Software package present on the VM instance.
      * 
@@ -2236,24 +2470,32 @@ public interface ItemOrBuilder extends com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder getInstalledPackageOrBuilder(); /** + * + * *
      * Software package available to be installed on the VM instance.
      * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; + * * @return Whether the availablePackage field is set. */ boolean hasAvailablePackage(); /** + * + * *
      * Software package available to be installed on the VM instance.
      * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; + * * @return The availablePackage. */ com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getAvailablePackage(); /** + * + * *
      * Software package available to be installed on the VM instance.
      * 
@@ -2265,21 +2507,24 @@ public interface ItemOrBuilder extends public com.google.cloud.osconfig.v1.Inventory.Item.DetailsCase getDetailsCase(); } /** + * + * *
    * A single piece of inventory on a VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.Inventory.Item} */ - public static final class Item extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Item extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory.Item) ItemOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Item.newBuilder() to construct. private Item(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Item() { id_ = ""; originType_ = 0; @@ -2288,16 +2533,15 @@ private Item() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Item(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Item( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2316,85 +2560,104 @@ private Item( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - id_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - originType_ = rawValue; - break; - } - case 40: { - int rawValue = input.readEnum(); - - type_ = rawValue; - break; - } - case 50: { - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder subBuilder = null; - if (detailsCase_ == 6) { - subBuilder = ((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_).toBuilder(); - } - details_ = - input.readMessage(com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_); - details_ = subBuilder.buildPartial(); + id_ = s; + break; } - detailsCase_ = 6; - break; - } - case 58: { - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder subBuilder = null; - if (detailsCase_ == 7) { - subBuilder = ((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_).toBuilder(); + case 16: + { + int rawValue = input.readEnum(); + + originType_ = rawValue; + break; } - details_ = - input.readMessage(com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_); - details_ = subBuilder.buildPartial(); + case 40: + { + int rawValue = input.readEnum(); + + type_ = rawValue; + break; } - detailsCase_ = 7; - break; - } - case 66: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 50: + { + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder subBuilder = null; + if (detailsCase_ == 6) { + subBuilder = + ((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 6; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 58: + { + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder subBuilder = null; + if (detailsCase_ == 7) { + subBuilder = + ((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 7; + break; } + case 66: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 74: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 74: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2402,36 +2665,41 @@ private Item( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_Item_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_Item_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.Item.class, com.google.cloud.osconfig.v1.Inventory.Item.Builder.class); + com.google.cloud.osconfig.v1.Inventory.Item.class, + com.google.cloud.osconfig.v1.Inventory.Item.Builder.class); } /** + * + * *
      * The origin of a specific inventory item.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1.Inventory.Item.OriginType} */ - public enum OriginType - implements com.google.protobuf.ProtocolMessageEnum { + public enum OriginType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Invalid. An origin type must be specified.
        * 
@@ -2440,6 +2708,8 @@ public enum OriginType */ ORIGIN_TYPE_UNSPECIFIED(0), /** + * + * *
        * This inventory item was discovered as the result of the agent
        * reporting inventory via the reporting API.
@@ -2452,6 +2722,8 @@ public enum OriginType
       ;
 
       /**
+       *
+       *
        * 
        * Invalid. An origin type must be specified.
        * 
@@ -2460,6 +2732,8 @@ public enum OriginType */ public static final int ORIGIN_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * This inventory item was discovered as the result of the agent
        * reporting inventory via the reporting API.
@@ -2469,7 +2743,6 @@ public enum OriginType
        */
       public static final int INVENTORY_REPORT_VALUE = 1;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -2494,48 +2767,47 @@ public static OriginType valueOf(int value) {
        */
       public static OriginType forNumber(int value) {
         switch (value) {
-          case 0: return ORIGIN_TYPE_UNSPECIFIED;
-          case 1: return INVENTORY_REPORT;
-          default: return null;
+          case 0:
+            return ORIGIN_TYPE_UNSPECIFIED;
+          case 1:
+            return INVENTORY_REPORT;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          OriginType> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public OriginType findValueByNumber(int number) {
-                return OriginType.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public OriginType findValueByNumber(int number) {
+              return OriginType.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
         return com.google.cloud.osconfig.v1.Inventory.Item.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final OriginType[] VALUES = values();
 
-      public static OriginType valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static OriginType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -2553,15 +2825,18 @@ private OriginType(int value) {
     }
 
     /**
+     *
+     *
      * 
      * The different types of inventory that are tracked on a VM.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1.Inventory.Item.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Invalid. An type must be specified.
        * 
@@ -2570,6 +2845,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
        * This represents a package that is installed on the VM.
        * 
@@ -2578,6 +2855,8 @@ public enum Type */ INSTALLED_PACKAGE(1), /** + * + * *
        * This represents an update that is available for a package.
        * 
@@ -2589,6 +2868,8 @@ public enum Type ; /** + * + * *
        * Invalid. An type must be specified.
        * 
@@ -2597,6 +2878,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * This represents a package that is installed on the VM.
        * 
@@ -2605,6 +2888,8 @@ public enum Type */ public static final int INSTALLED_PACKAGE_VALUE = 1; /** + * + * *
        * This represents an update that is available for a package.
        * 
@@ -2613,7 +2898,6 @@ public enum Type */ public static final int AVAILABLE_PACKAGE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2638,49 +2922,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return INSTALLED_PACKAGE; - case 2: return AVAILABLE_PACKAGE; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return INSTALLED_PACKAGE; + case 2: + return AVAILABLE_PACKAGE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.osconfig.v1.Inventory.Item.getDescriptor().getEnumTypes().get(1); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -2699,13 +2983,16 @@ private Type(int value) { private int detailsCase_ = 0; private java.lang.Object details_; + public enum DetailsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INSTALLED_PACKAGE(6), AVAILABLE_PACKAGE(7), DETAILS_NOT_SET(0); private final int value; + private DetailsCase(int value) { this.value = value; } @@ -2721,31 +3008,37 @@ public static DetailsCase valueOf(int value) { public static DetailsCase forNumber(int value) { switch (value) { - case 6: return INSTALLED_PACKAGE; - case 7: return AVAILABLE_PACKAGE; - case 0: return DETAILS_NOT_SET; - default: return null; + case 6: + return INSTALLED_PACKAGE; + case 7: + return AVAILABLE_PACKAGE; + case 0: + return DETAILS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DetailsCase - getDetailsCase() { - return DetailsCase.forNumber( - detailsCase_); + public DetailsCase getDetailsCase() { + return DetailsCase.forNumber(detailsCase_); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** + * + * *
      * Identifier for this item, unique across items for this VM.
      * 
* * string id = 1; + * * @return The id. */ @java.lang.Override @@ -2754,29 +3047,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
      * Identifier for this item, unique across items for this VM.
      * 
* * string id = 1; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -2787,38 +3080,52 @@ public java.lang.String getId() { public static final int ORIGIN_TYPE_FIELD_NUMBER = 2; private int originType_; /** + * + * *
      * The origin of this inventory item.
      * 
* * .google.cloud.osconfig.v1.Inventory.Item.OriginType origin_type = 2; + * * @return The enum numeric value on the wire for originType. */ - @java.lang.Override public int getOriginTypeValue() { + @java.lang.Override + public int getOriginTypeValue() { return originType_; } /** + * + * *
      * The origin of this inventory item.
      * 
* * .google.cloud.osconfig.v1.Inventory.Item.OriginType origin_type = 2; + * * @return The originType. */ - @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.Item.OriginType getOriginType() { + @java.lang.Override + public com.google.cloud.osconfig.v1.Inventory.Item.OriginType getOriginType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.Inventory.Item.OriginType result = com.google.cloud.osconfig.v1.Inventory.Item.OriginType.valueOf(originType_); - return result == null ? com.google.cloud.osconfig.v1.Inventory.Item.OriginType.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.Inventory.Item.OriginType result = + com.google.cloud.osconfig.v1.Inventory.Item.OriginType.valueOf(originType_); + return result == null + ? com.google.cloud.osconfig.v1.Inventory.Item.OriginType.UNRECOGNIZED + : result; } public static final int CREATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp createTime_; /** + * + * *
      * When this inventory item was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 8; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -2826,11 +3133,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
      * When this inventory item was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 8; + * * @return The createTime. */ @java.lang.Override @@ -2838,6 +3148,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
      * When this inventory item was first detected.
      * 
@@ -2852,11 +3164,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
      * When this inventory item was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 9; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -2864,11 +3179,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
      * When this inventory item was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 9; + * * @return The updateTime. */ @java.lang.Override @@ -2876,6 +3194,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
      * When this inventory item was last modified.
      * 
@@ -2890,37 +3210,51 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int TYPE_FIELD_NUMBER = 5; private int type_; /** + * + * *
      * The specific type of inventory, correlating to its specific details.
      * 
* * .google.cloud.osconfig.v1.Inventory.Item.Type type = 5; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The specific type of inventory, correlating to its specific details.
      * 
* * .google.cloud.osconfig.v1.Inventory.Item.Type type = 5; + * * @return The type. */ - @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.Item.Type getType() { + @java.lang.Override + public com.google.cloud.osconfig.v1.Inventory.Item.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.Inventory.Item.Type result = com.google.cloud.osconfig.v1.Inventory.Item.Type.valueOf(type_); - return result == null ? com.google.cloud.osconfig.v1.Inventory.Item.Type.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.Inventory.Item.Type result = + com.google.cloud.osconfig.v1.Inventory.Item.Type.valueOf(type_); + return result == null + ? com.google.cloud.osconfig.v1.Inventory.Item.Type.UNRECOGNIZED + : result; } public static final int INSTALLED_PACKAGE_FIELD_NUMBER = 6; /** + * + * *
      * Software package present on the VM instance.
      * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; + * * @return Whether the installedPackage field is set. */ @java.lang.Override @@ -2928,21 +3262,26 @@ public boolean hasInstalledPackage() { return detailsCase_ == 6; } /** + * + * *
      * Software package present on the VM instance.
      * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; + * * @return The installedPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getInstalledPackage() { if (detailsCase_ == 6) { - return (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_; } return com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance(); } /** + * + * *
      * Software package present on the VM instance.
      * 
@@ -2950,20 +3289,24 @@ public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getInstalledPackag * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder getInstalledPackageOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder + getInstalledPackageOrBuilder() { if (detailsCase_ == 6) { - return (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_; } return com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance(); } public static final int AVAILABLE_PACKAGE_FIELD_NUMBER = 7; /** + * + * *
      * Software package available to be installed on the VM instance.
      * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; + * * @return Whether the availablePackage field is set. */ @java.lang.Override @@ -2971,21 +3314,26 @@ public boolean hasAvailablePackage() { return detailsCase_ == 7; } /** + * + * *
      * Software package available to be installed on the VM instance.
      * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; + * * @return The availablePackage. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getAvailablePackage() { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_; } return com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance(); } /** + * + * *
      * Software package available to be installed on the VM instance.
      * 
@@ -2993,14 +3341,16 @@ public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getAvailablePackag * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder getAvailablePackageOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder + getAvailablePackageOrBuilder() { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_; } return com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3012,12 +3362,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } - if (originType_ != com.google.cloud.osconfig.v1.Inventory.Item.OriginType.ORIGIN_TYPE_UNSPECIFIED.getNumber()) { + if (originType_ + != com.google.cloud.osconfig.v1.Inventory.Item.OriginType.ORIGIN_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, originType_); } if (type_ != com.google.cloud.osconfig.v1.Inventory.Item.Type.TYPE_UNSPECIFIED.getNumber()) { @@ -3047,29 +3398,29 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } - if (originType_ != com.google.cloud.osconfig.v1.Inventory.Item.OriginType.ORIGIN_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, originType_); + if (originType_ + != com.google.cloud.osconfig.v1.Inventory.Item.OriginType.ORIGIN_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, originType_); } if (type_ != com.google.cloud.osconfig.v1.Inventory.Item.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_); } if (detailsCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_); } if (detailsCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3079,36 +3430,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory.Item)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Inventory.Item other = (com.google.cloud.osconfig.v1.Inventory.Item) obj; + com.google.cloud.osconfig.v1.Inventory.Item other = + (com.google.cloud.osconfig.v1.Inventory.Item) obj; - if (!getId() - .equals(other.getId())) return false; + if (!getId().equals(other.getId())) return false; if (originType_ != other.originType_) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (type_ != other.type_) return false; if (!getDetailsCase().equals(other.getDetailsCase())) return false; switch (detailsCase_) { case 6: - if (!getInstalledPackage() - .equals(other.getInstalledPackage())) return false; + if (!getInstalledPackage().equals(other.getInstalledPackage())) return false; break; case 7: - if (!getAvailablePackage() - .equals(other.getAvailablePackage())) return false; + if (!getAvailablePackage().equals(other.getAvailablePackage())) return false; break; case 0: default: @@ -3155,88 +3502,94 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.Inventory.Item parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1.Inventory.Item parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.Item parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory.Item parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.Item 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.osconfig.v1.Inventory.Item parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.Item parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory.Item parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.Item parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.Item parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Inventory.Item parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.Item parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory.Item parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.Item parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory.Item prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3246,27 +3599,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A single piece of inventory on a VM.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.Inventory.Item} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory.Item) com.google.cloud.osconfig.v1.Inventory.ItemOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_Item_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_Item_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.Item.class, com.google.cloud.osconfig.v1.Inventory.Item.Builder.class); + com.google.cloud.osconfig.v1.Inventory.Item.class, + com.google.cloud.osconfig.v1.Inventory.Item.Builder.class); } // Construct using com.google.cloud.osconfig.v1.Inventory.Item.newBuilder() @@ -3274,16 +3632,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3311,9 +3668,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_Item_descriptor; } @java.lang.Override @@ -3332,7 +3689,8 @@ public com.google.cloud.osconfig.v1.Inventory.Item build() { @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.Item buildPartial() { - com.google.cloud.osconfig.v1.Inventory.Item result = new com.google.cloud.osconfig.v1.Inventory.Item(this); + com.google.cloud.osconfig.v1.Inventory.Item result = + new com.google.cloud.osconfig.v1.Inventory.Item(this); result.id_ = id_; result.originType_ = originType_; if (createTimeBuilder_ == null) { @@ -3369,38 +3727,41 @@ public com.google.cloud.osconfig.v1.Inventory.Item buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.Inventory.Item) { - return mergeFrom((com.google.cloud.osconfig.v1.Inventory.Item)other); + return mergeFrom((com.google.cloud.osconfig.v1.Inventory.Item) other); } else { super.mergeFrom(other); return this; @@ -3426,17 +3787,20 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.Item other) { setTypeValue(other.getTypeValue()); } switch (other.getDetailsCase()) { - case INSTALLED_PACKAGE: { - mergeInstalledPackage(other.getInstalledPackage()); - break; - } - case AVAILABLE_PACKAGE: { - mergeAvailablePackage(other.getAvailablePackage()); - break; - } - case DETAILS_NOT_SET: { - break; - } + case INSTALLED_PACKAGE: + { + mergeInstalledPackage(other.getInstalledPackage()); + break; + } + case AVAILABLE_PACKAGE: + { + mergeAvailablePackage(other.getAvailablePackage()); + break; + } + case DETAILS_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -3466,12 +3830,12 @@ public Builder mergeFrom( } return this; } + private int detailsCase_ = 0; private java.lang.Object details_; - public DetailsCase - getDetailsCase() { - return DetailsCase.forNumber( - detailsCase_); + + public DetailsCase getDetailsCase() { + return DetailsCase.forNumber(detailsCase_); } public Builder clearDetails() { @@ -3481,21 +3845,22 @@ public Builder clearDetails() { return this; } - private java.lang.Object id_ = ""; /** + * + * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -3504,20 +3869,21 @@ public java.lang.String getId() { } } /** + * + * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -3525,54 +3891,61 @@ public java.lang.String getId() { } } /** + * + * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -3580,51 +3953,67 @@ public Builder setIdBytes( private int originType_ = 0; /** + * + * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.OriginType origin_type = 2; + * * @return The enum numeric value on the wire for originType. */ - @java.lang.Override public int getOriginTypeValue() { + @java.lang.Override + public int getOriginTypeValue() { return originType_; } /** + * + * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.OriginType origin_type = 2; + * * @param value The enum numeric value on the wire for originType to set. * @return This builder for chaining. */ public Builder setOriginTypeValue(int value) { - + originType_ = value; onChanged(); return this; } /** + * + * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.OriginType origin_type = 2; + * * @return The originType. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.Item.OriginType getOriginType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.Inventory.Item.OriginType result = com.google.cloud.osconfig.v1.Inventory.Item.OriginType.valueOf(originType_); - return result == null ? com.google.cloud.osconfig.v1.Inventory.Item.OriginType.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.Inventory.Item.OriginType result = + com.google.cloud.osconfig.v1.Inventory.Item.OriginType.valueOf(originType_); + return result == null + ? com.google.cloud.osconfig.v1.Inventory.Item.OriginType.UNRECOGNIZED + : result; } /** + * + * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.OriginType origin_type = 2; + * * @param value The originType to set. * @return This builder for chaining. */ @@ -3632,21 +4021,24 @@ public Builder setOriginType(com.google.cloud.osconfig.v1.Inventory.Item.OriginT if (value == null) { throw new NullPointerException(); } - + originType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.OriginType origin_type = 2; + * * @return This builder for chaining. */ public Builder clearOriginType() { - + originType_ = 0; onChanged(); return this; @@ -3654,35 +4046,48 @@ public Builder clearOriginType() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
        * When this inventory item was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 8; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
        * When this inventory item was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 8; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - *
+       *
+       *
+       * 
        * When this inventory item was first detected.
        * 
* @@ -3702,14 +4107,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * When this inventory item was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 8; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3720,6 +4126,8 @@ public Builder setCreateTime( return this; } /** + * + * *
        * When this inventory item was first detected.
        * 
@@ -3730,7 +4138,9 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_) + .mergeFrom(value) + .buildPartial(); } else { createTime_ = value; } @@ -3742,6 +4152,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * When this inventory item was first detected.
        * 
@@ -3760,6 +4172,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
        * When this inventory item was first detected.
        * 
@@ -3767,11 +4181,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 8; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * When this inventory item was first detected.
        * 
@@ -3782,11 +4198,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
        * When this inventory item was first detected.
        * 
@@ -3794,14 +4213,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3809,34 +4231,47 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
        * When this inventory item was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 9; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
        * When this inventory item was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 9; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
        * When this inventory item was last modified.
        * 
@@ -3857,14 +4292,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * When this inventory item was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 9; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3875,6 +4311,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
        * When this inventory item was last modified.
        * 
@@ -3885,7 +4323,9 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_) + .mergeFrom(value) + .buildPartial(); } else { updateTime_ = value; } @@ -3897,6 +4337,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * When this inventory item was last modified.
        * 
@@ -3915,6 +4357,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
        * When this inventory item was last modified.
        * 
@@ -3922,11 +4366,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 9; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * When this inventory item was last modified.
        * 
@@ -3937,11 +4383,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
        * When this inventory item was last modified.
        * 
@@ -3949,14 +4398,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -3964,51 +4416,67 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private int type_ = 0; /** + * + * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.Type type = 5; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.Type type = 5; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.Type type = 5; + * * @return The type. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.Item.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.Inventory.Item.Type result = com.google.cloud.osconfig.v1.Inventory.Item.Type.valueOf(type_); - return result == null ? com.google.cloud.osconfig.v1.Inventory.Item.Type.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.Inventory.Item.Type result = + com.google.cloud.osconfig.v1.Inventory.Item.Type.valueOf(type_); + return result == null + ? com.google.cloud.osconfig.v1.Inventory.Item.Type.UNRECOGNIZED + : result; } /** + * + * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.Type type = 5; + * * @param value The type to set. * @return This builder for chaining. */ @@ -4016,34 +4484,43 @@ public Builder setType(com.google.cloud.osconfig.v1.Inventory.Item.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1.Inventory.Item.Type type = 5; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder> installedPackageBuilder_; + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, + com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder> + installedPackageBuilder_; /** + * + * *
        * Software package present on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; + * * @return Whether the installedPackage field is set. */ @java.lang.Override @@ -4051,11 +4528,14 @@ public boolean hasInstalledPackage() { return detailsCase_ == 6; } /** + * + * *
        * Software package present on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; + * * @return The installedPackage. */ @java.lang.Override @@ -4073,13 +4553,16 @@ public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getInstalledPackag } } /** + * + * *
        * Software package present on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; */ - public Builder setInstalledPackage(com.google.cloud.osconfig.v1.Inventory.SoftwarePackage value) { + public Builder setInstalledPackage( + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage value) { if (installedPackageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4093,6 +4576,8 @@ public Builder setInstalledPackage(com.google.cloud.osconfig.v1.Inventory.Softwa return this; } /** + * + * *
        * Software package present on the VM instance.
        * 
@@ -4111,18 +4596,25 @@ public Builder setInstalledPackage( return this; } /** + * + * *
        * Software package present on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; */ - public Builder mergeInstalledPackage(com.google.cloud.osconfig.v1.Inventory.SoftwarePackage value) { + public Builder mergeInstalledPackage( + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage value) { if (installedPackageBuilder_ == null) { - if (detailsCase_ == 6 && - details_ != com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance()) { - details_ = com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.newBuilder((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 6 + && details_ + != com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance()) { + details_ = + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.newBuilder( + (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -4138,6 +4630,8 @@ public Builder mergeInstalledPackage(com.google.cloud.osconfig.v1.Inventory.Soft return this; } /** + * + * *
        * Software package present on the VM instance.
        * 
@@ -4161,16 +4655,21 @@ public Builder clearInstalledPackage() { return this; } /** + * + * *
        * Software package present on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; */ - public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder getInstalledPackageBuilder() { + public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder + getInstalledPackageBuilder() { return getInstalledPackageFieldBuilder().getBuilder(); } /** + * + * *
        * Software package present on the VM instance.
        * 
@@ -4178,7 +4677,8 @@ public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder getInstall * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder getInstalledPackageOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder + getInstalledPackageOrBuilder() { if ((detailsCase_ == 6) && (installedPackageBuilder_ != null)) { return installedPackageBuilder_.getMessageOrBuilder(); } else { @@ -4189,6 +4689,8 @@ public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder getInstal } } /** + * + * *
        * Software package present on the VM instance.
        * 
@@ -4196,32 +4698,44 @@ public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder getInstal * .google.cloud.osconfig.v1.Inventory.SoftwarePackage installed_package = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder> + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, + com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder> getInstalledPackageFieldBuilder() { if (installedPackageBuilder_ == null) { if (!(detailsCase_ == 6)) { details_ = com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance(); } - installedPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder>( + installedPackageBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, + com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder>( (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 6; - onChanged();; + onChanged(); + ; return installedPackageBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder> availablePackageBuilder_; + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, + com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder> + availablePackageBuilder_; /** + * + * *
        * Software package available to be installed on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; + * * @return Whether the availablePackage field is set. */ @java.lang.Override @@ -4229,11 +4743,14 @@ public boolean hasAvailablePackage() { return detailsCase_ == 7; } /** + * + * *
        * Software package available to be installed on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; + * * @return The availablePackage. */ @java.lang.Override @@ -4251,13 +4768,16 @@ public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getAvailablePackag } } /** + * + * *
        * Software package available to be installed on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; */ - public Builder setAvailablePackage(com.google.cloud.osconfig.v1.Inventory.SoftwarePackage value) { + public Builder setAvailablePackage( + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage value) { if (availablePackageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4271,6 +4791,8 @@ public Builder setAvailablePackage(com.google.cloud.osconfig.v1.Inventory.Softwa return this; } /** + * + * *
        * Software package available to be installed on the VM instance.
        * 
@@ -4289,18 +4811,25 @@ public Builder setAvailablePackage( return this; } /** + * + * *
        * Software package available to be installed on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; */ - public Builder mergeAvailablePackage(com.google.cloud.osconfig.v1.Inventory.SoftwarePackage value) { + public Builder mergeAvailablePackage( + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage value) { if (availablePackageBuilder_ == null) { - if (detailsCase_ == 7 && - details_ != com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance()) { - details_ = com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.newBuilder((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 7 + && details_ + != com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance()) { + details_ = + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.newBuilder( + (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -4316,6 +4845,8 @@ public Builder mergeAvailablePackage(com.google.cloud.osconfig.v1.Inventory.Soft return this; } /** + * + * *
        * Software package available to be installed on the VM instance.
        * 
@@ -4339,16 +4870,21 @@ public Builder clearAvailablePackage() { return this; } /** + * + * *
        * Software package available to be installed on the VM instance.
        * 
* * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; */ - public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder getAvailablePackageBuilder() { + public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder + getAvailablePackageBuilder() { return getAvailablePackageFieldBuilder().getBuilder(); } /** + * + * *
        * Software package available to be installed on the VM instance.
        * 
@@ -4356,7 +4892,8 @@ public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder getAvailab * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder getAvailablePackageOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder + getAvailablePackageOrBuilder() { if ((detailsCase_ == 7) && (availablePackageBuilder_ != null)) { return availablePackageBuilder_.getMessageOrBuilder(); } else { @@ -4367,6 +4904,8 @@ public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder getAvaila } } /** + * + * *
        * Software package available to be installed on the VM instance.
        * 
@@ -4374,23 +4913,30 @@ public com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder getAvaila * .google.cloud.osconfig.v1.Inventory.SoftwarePackage available_package = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder> + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, + com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder> getAvailablePackageFieldBuilder() { if (availablePackageBuilder_ == null) { if (!(detailsCase_ == 7)) { details_ = com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance(); } - availablePackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder>( + availablePackageBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage, + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder, + com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder>( (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 7; - onChanged();; + onChanged(); + ; return availablePackageBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4403,12 +4949,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory.Item) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory.Item) private static final com.google.cloud.osconfig.v1.Inventory.Item DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory.Item(); } @@ -4417,16 +4963,16 @@ public static com.google.cloud.osconfig.v1.Inventory.Item getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Item parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Item(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Item parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Item(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4441,14 +4987,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.Inventory.Item getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SoftwarePackageOrBuilder extends + public interface SoftwarePackageOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory.SoftwarePackage) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -4456,10 +5004,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1; + * * @return Whether the yumPackage field is set. */ boolean hasYumPackage(); /** + * + * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -4467,10 +5018,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1; + * * @return The yumPackage. */ com.google.cloud.osconfig.v1.Inventory.VersionedPackage getYumPackage(); /** + * + * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -4482,6 +5036,8 @@ public interface SoftwarePackageOrBuilder extends
     com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getYumPackageOrBuilder();
 
     /**
+     *
+     *
      * 
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -4489,10 +5045,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2; + * * @return Whether the aptPackage field is set. */ boolean hasAptPackage(); /** + * + * *
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -4500,10 +5059,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2; + * * @return The aptPackage. */ com.google.cloud.osconfig.v1.Inventory.VersionedPackage getAptPackage(); /** + * + * *
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -4515,6 +5077,8 @@ public interface SoftwarePackageOrBuilder extends
     com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getAptPackageOrBuilder();
 
     /**
+     *
+     *
      * 
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -4522,10 +5086,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3; + * * @return Whether the zypperPackage field is set. */ boolean hasZypperPackage(); /** + * + * *
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -4533,10 +5100,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3; + * * @return The zypperPackage. */ com.google.cloud.osconfig.v1.Inventory.VersionedPackage getZypperPackage(); /** + * + * *
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -4548,6 +5118,8 @@ public interface SoftwarePackageOrBuilder extends
     com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getZypperPackageOrBuilder();
 
     /**
+     *
+     *
      * 
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -4555,10 +5127,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4; + * * @return Whether the googetPackage field is set. */ boolean hasGoogetPackage(); /** + * + * *
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -4566,10 +5141,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4; + * * @return The googetPackage. */ com.google.cloud.osconfig.v1.Inventory.VersionedPackage getGoogetPackage(); /** + * + * *
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -4581,6 +5159,8 @@ public interface SoftwarePackageOrBuilder extends
     com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getGoogetPackageOrBuilder();
 
     /**
+     *
+     *
      * 
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -4588,10 +5168,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1.Inventory.ZypperPatch zypper_patch = 5; + * * @return Whether the zypperPatch field is set. */ boolean hasZypperPatch(); /** + * + * *
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -4599,10 +5182,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1.Inventory.ZypperPatch zypper_patch = 5; + * * @return The zypperPatch. */ com.google.cloud.osconfig.v1.Inventory.ZypperPatch getZypperPatch(); /** + * + * *
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -4614,6 +5200,8 @@ public interface SoftwarePackageOrBuilder extends
     com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder getZypperPatchOrBuilder();
 
     /**
+     *
+     *
      * 
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -4621,10 +5209,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6; + * * @return Whether the wuaPackage field is set. */ boolean hasWuaPackage(); /** + * + * *
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -4632,10 +5223,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6; + * * @return The wuaPackage. */ com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage getWuaPackage(); /** + * + * *
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -4647,6 +5241,8 @@ public interface SoftwarePackageOrBuilder extends
     com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder getWuaPackageOrBuilder();
 
     /**
+     *
+     *
      * 
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -4654,11 +5250,15 @@ public interface SoftwarePackageOrBuilder extends
      * for info in Windows Quick Fix Engineering.
      * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * * @return Whether the qfePackage field is set. */ boolean hasQfePackage(); /** + * + * *
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -4666,11 +5266,15 @@ public interface SoftwarePackageOrBuilder extends
      * for info in Windows Quick Fix Engineering.
      * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * * @return The qfePackage. */ com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage getQfePackage(); /** + * + * *
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -4678,29 +5282,39 @@ public interface SoftwarePackageOrBuilder extends
      * for info in Windows Quick Fix Engineering.
      * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * */ - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder getQfePackageOrBuilder(); + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder + getQfePackageOrBuilder(); /** + * + * *
      * Details of a COS package.
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; + * * @return Whether the cosPackage field is set. */ boolean hasCosPackage(); /** + * + * *
      * Details of a COS package.
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; + * * @return The cosPackage. */ com.google.cloud.osconfig.v1.Inventory.VersionedPackage getCosPackage(); /** + * + * *
      * Details of a COS package.
      * 
@@ -4710,65 +5324,75 @@ public interface SoftwarePackageOrBuilder extends com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getCosPackageOrBuilder(); /** + * + * *
      * Details of Windows Application.
      * 
* * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * * @return Whether the windowsApplication field is set. */ boolean hasWindowsApplication(); /** + * + * *
      * Details of Windows Application.
      * 
* * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * * @return The windowsApplication. */ com.google.cloud.osconfig.v1.Inventory.WindowsApplication getWindowsApplication(); /** + * + * *
      * Details of Windows Application.
      * 
* * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; */ - com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder getWindowsApplicationOrBuilder(); + com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder + getWindowsApplicationOrBuilder(); public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.DetailsCase getDetailsCase(); } /** + * + * *
    * Software package information of the operating system.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.Inventory.SoftwarePackage} */ - public static final class SoftwarePackage extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class SoftwarePackage extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory.SoftwarePackage) SoftwarePackageOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SoftwarePackage.newBuilder() to construct. private SoftwarePackage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SoftwarePackage() { - } + + private SoftwarePackage() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SoftwarePackage(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SoftwarePackage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4787,139 +5411,197 @@ private SoftwarePackage( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; - if (detailsCase_ == 1) { - subBuilder = ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_).toBuilder(); - } - details_ = - input.readMessage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 1; - break; - } - case 18: { - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; - if (detailsCase_ == 2) { - subBuilder = ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_).toBuilder(); - } - details_ = - input.readMessage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 2; - break; - } - case 26: { - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; - if (detailsCase_ == 3) { - subBuilder = ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_).toBuilder(); - } - details_ = - input.readMessage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 3; - break; - } - case 34: { - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; - if (detailsCase_ == 4) { - subBuilder = ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_).toBuilder(); + case 10: + { + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; + if (detailsCase_ == 1) { + subBuilder = + ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 1; + break; } - details_ = - input.readMessage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; + if (detailsCase_ == 2) { + subBuilder = + ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 2; + break; } - detailsCase_ = 4; - break; - } - case 42: { - com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder subBuilder = null; - if (detailsCase_ == 5) { - subBuilder = ((com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_).toBuilder(); + case 26: + { + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; + if (detailsCase_ == 3) { + subBuilder = + ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 3; + break; } - details_ = - input.readMessage(com.google.cloud.osconfig.v1.Inventory.ZypperPatch.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_); - details_ = subBuilder.buildPartial(); + case 34: + { + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; + if (detailsCase_ == 4) { + subBuilder = + ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 4; + break; } - detailsCase_ = 5; - break; - } - case 50: { - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder subBuilder = null; - if (detailsCase_ == 6) { - subBuilder = ((com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_).toBuilder(); + case 42: + { + com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder subBuilder = null; + if (detailsCase_ == 5) { + subBuilder = + ((com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_).toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1.Inventory.ZypperPatch.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 5; + break; } - details_ = - input.readMessage(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_); - details_ = subBuilder.buildPartial(); + case 50: + { + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder subBuilder = + null; + if (detailsCase_ == 6) { + subBuilder = + ((com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 6; + break; } - detailsCase_ = 6; - break; - } - case 58: { - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder subBuilder = null; - if (detailsCase_ == 7) { - subBuilder = ((com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_).toBuilder(); + case 58: + { + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder + subBuilder = null; + if (detailsCase_ == 7) { + subBuilder = + ((com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) + details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) + details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 7; + break; } - details_ = - input.readMessage(com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_); - details_ = subBuilder.buildPartial(); + case 66: + { + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; + if (detailsCase_ == 8) { + subBuilder = + ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 8; + break; } - detailsCase_ = 7; - break; - } - case 66: { - com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder subBuilder = null; - if (detailsCase_ == 8) { - subBuilder = ((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_).toBuilder(); + case 74: + { + com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder subBuilder = null; + if (detailsCase_ == 9) { + subBuilder = + ((com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1.Inventory.WindowsApplication.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 9; + break; } - details_ = - input.readMessage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - detailsCase_ = 8; - break; - } - case 74: { - com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder subBuilder = null; - if (detailsCase_ == 9) { - subBuilder = ((com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_).toBuilder(); - } - details_ = - input.readMessage(com.google.cloud.osconfig.v1.Inventory.WindowsApplication.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 9; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4927,30 +5609,34 @@ private SoftwarePackage( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.class, com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder.class); + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.class, + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder.class); } private int detailsCase_ = 0; private java.lang.Object details_; + public enum DetailsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { YUM_PACKAGE(1), APT_PACKAGE(2), @@ -4963,6 +5649,7 @@ public enum DetailsCase WINDOWS_APPLICATION(9), DETAILS_NOT_SET(0); private final int value; + private DetailsCase(int value) { this.value = value; } @@ -4978,32 +5665,44 @@ public static DetailsCase valueOf(int value) { public static DetailsCase forNumber(int value) { switch (value) { - case 1: return YUM_PACKAGE; - case 2: return APT_PACKAGE; - case 3: return ZYPPER_PACKAGE; - case 4: return GOOGET_PACKAGE; - case 5: return ZYPPER_PATCH; - case 6: return WUA_PACKAGE; - case 7: return QFE_PACKAGE; - case 8: return COS_PACKAGE; - case 9: return WINDOWS_APPLICATION; - case 0: return DETAILS_NOT_SET; - default: return null; + case 1: + return YUM_PACKAGE; + case 2: + return APT_PACKAGE; + case 3: + return ZYPPER_PACKAGE; + case 4: + return GOOGET_PACKAGE; + case 5: + return ZYPPER_PATCH; + case 6: + return WUA_PACKAGE; + case 7: + return QFE_PACKAGE; + case 8: + return COS_PACKAGE; + case 9: + return WINDOWS_APPLICATION; + case 0: + return DETAILS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DetailsCase - getDetailsCase() { - return DetailsCase.forNumber( - detailsCase_); + public DetailsCase getDetailsCase() { + return DetailsCase.forNumber(detailsCase_); } public static final int YUM_PACKAGE_FIELD_NUMBER = 1; /** + * + * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -5011,6 +5710,7 @@ public int getNumber() {
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1; + * * @return Whether the yumPackage field is set. */ @java.lang.Override @@ -5018,6 +5718,8 @@ public boolean hasYumPackage() { return detailsCase_ == 1; } /** + * + * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -5025,16 +5727,19 @@ public boolean hasYumPackage() {
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1; + * * @return The yumPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getYumPackage() { if (detailsCase_ == 1) { - return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance(); } /** + * + * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -5044,15 +5749,18 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getYumPackage() {
      * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getYumPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder
+        getYumPackageOrBuilder() {
       if (detailsCase_ == 1) {
-         return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_;
+        return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_;
       }
       return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance();
     }
 
     public static final int APT_PACKAGE_FIELD_NUMBER = 2;
     /**
+     *
+     *
      * 
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -5060,6 +5768,7 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getYumPa
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2; + * * @return Whether the aptPackage field is set. */ @java.lang.Override @@ -5067,6 +5776,8 @@ public boolean hasAptPackage() { return detailsCase_ == 2; } /** + * + * *
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -5074,16 +5785,19 @@ public boolean hasAptPackage() {
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2; + * * @return The aptPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getAptPackage() { if (detailsCase_ == 2) { - return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance(); } /** + * + * *
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -5093,15 +5807,18 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getAptPackage() {
      * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getAptPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder
+        getAptPackageOrBuilder() {
       if (detailsCase_ == 2) {
-         return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_;
+        return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_;
       }
       return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance();
     }
 
     public static final int ZYPPER_PACKAGE_FIELD_NUMBER = 3;
     /**
+     *
+     *
      * 
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -5109,6 +5826,7 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getAptPa
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3; + * * @return Whether the zypperPackage field is set. */ @java.lang.Override @@ -5116,6 +5834,8 @@ public boolean hasZypperPackage() { return detailsCase_ == 3; } /** + * + * *
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -5123,16 +5843,19 @@ public boolean hasZypperPackage() {
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3; + * * @return The zypperPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getZypperPackage() { if (detailsCase_ == 3) { - return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance(); } /** + * + * *
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -5142,15 +5865,18 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getZypperPackage(
      * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getZypperPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder
+        getZypperPackageOrBuilder() {
       if (detailsCase_ == 3) {
-         return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_;
+        return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_;
       }
       return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance();
     }
 
     public static final int GOOGET_PACKAGE_FIELD_NUMBER = 4;
     /**
+     *
+     *
      * 
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -5158,6 +5884,7 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getZyppe
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4; + * * @return Whether the googetPackage field is set. */ @java.lang.Override @@ -5165,6 +5892,8 @@ public boolean hasGoogetPackage() { return detailsCase_ == 4; } /** + * + * *
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -5172,16 +5901,19 @@ public boolean hasGoogetPackage() {
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4; + * * @return The googetPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getGoogetPackage() { if (detailsCase_ == 4) { - return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance(); } /** + * + * *
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -5191,15 +5923,18 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getGoogetPackage(
      * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getGoogetPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder
+        getGoogetPackageOrBuilder() {
       if (detailsCase_ == 4) {
-         return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_;
+        return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_;
       }
       return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance();
     }
 
     public static final int ZYPPER_PATCH_FIELD_NUMBER = 5;
     /**
+     *
+     *
      * 
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -5207,6 +5942,7 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getGooge
      * 
* * .google.cloud.osconfig.v1.Inventory.ZypperPatch zypper_patch = 5; + * * @return Whether the zypperPatch field is set. */ @java.lang.Override @@ -5214,6 +5950,8 @@ public boolean hasZypperPatch() { return detailsCase_ == 5; } /** + * + * *
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -5221,16 +5959,19 @@ public boolean hasZypperPatch() {
      * 
* * .google.cloud.osconfig.v1.Inventory.ZypperPatch zypper_patch = 5; + * * @return The zypperPatch. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.ZypperPatch getZypperPatch() { if (detailsCase_ == 5) { - return (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_; + return (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_; } return com.google.cloud.osconfig.v1.Inventory.ZypperPatch.getDefaultInstance(); } /** + * + * *
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -5242,13 +5983,15 @@ public com.google.cloud.osconfig.v1.Inventory.ZypperPatch getZypperPatch() {
     @java.lang.Override
     public com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder getZypperPatchOrBuilder() {
       if (detailsCase_ == 5) {
-         return (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_;
+        return (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_;
       }
       return com.google.cloud.osconfig.v1.Inventory.ZypperPatch.getDefaultInstance();
     }
 
     public static final int WUA_PACKAGE_FIELD_NUMBER = 6;
     /**
+     *
+     *
      * 
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -5256,6 +5999,7 @@ public com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder getZypperPatc
      * 
* * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6; + * * @return Whether the wuaPackage field is set. */ @java.lang.Override @@ -5263,6 +6007,8 @@ public boolean hasWuaPackage() { return detailsCase_ == 6; } /** + * + * *
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -5270,16 +6016,19 @@ public boolean hasWuaPackage() {
      * 
* * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6; + * * @return The wuaPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage getWuaPackage() { if (detailsCase_ == 6) { - return (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_; } return com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.getDefaultInstance(); } /** + * + * *
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -5289,15 +6038,18 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage getWuaPackage
      * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder getWuaPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder
+        getWuaPackageOrBuilder() {
       if (detailsCase_ == 6) {
-         return (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_;
+        return (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_;
       }
       return com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.getDefaultInstance();
     }
 
     public static final int QFE_PACKAGE_FIELD_NUMBER = 7;
     /**
+     *
+     *
      * 
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -5305,7 +6057,9 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder getW
      * for info in Windows Quick Fix Engineering.
      * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * * @return Whether the qfePackage field is set. */ @java.lang.Override @@ -5313,6 +6067,8 @@ public boolean hasQfePackage() { return detailsCase_ == 7; } /** + * + * *
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -5320,17 +6076,23 @@ public boolean hasQfePackage() {
      * for info in Windows Quick Fix Engineering.
      * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * * @return The qfePackage. */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage getQfePackage() { + public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + getQfePackage() { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_; } - return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); + return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + .getDefaultInstance(); } /** + * + * *
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -5338,23 +6100,29 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage
      * for info in Windows Quick Fix Engineering.
      * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder getQfePackageOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder + getQfePackageOrBuilder() { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_; } - return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); + return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + .getDefaultInstance(); } public static final int COS_PACKAGE_FIELD_NUMBER = 8; /** + * + * *
      * Details of a COS package.
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; + * * @return Whether the cosPackage field is set. */ @java.lang.Override @@ -5362,21 +6130,26 @@ public boolean hasCosPackage() { return detailsCase_ == 8; } /** + * + * *
      * Details of a COS package.
      * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; + * * @return The cosPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getCosPackage() { if (detailsCase_ == 8) { - return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance(); } /** + * + * *
      * Details of a COS package.
      * 
@@ -5384,20 +6157,24 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getCosPackage() { * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getCosPackageOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder + getCosPackageOrBuilder() { if (detailsCase_ == 8) { - return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance(); } public static final int WINDOWS_APPLICATION_FIELD_NUMBER = 9; /** + * + * *
      * Details of Windows Application.
      * 
* * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * * @return Whether the windowsApplication field is set. */ @java.lang.Override @@ -5405,21 +6182,26 @@ public boolean hasWindowsApplication() { return detailsCase_ == 9; } /** + * + * *
      * Details of Windows Application.
      * 
* * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * * @return The windowsApplication. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.WindowsApplication getWindowsApplication() { if (detailsCase_ == 9) { - return (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_; + return (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_; } return com.google.cloud.osconfig.v1.Inventory.WindowsApplication.getDefaultInstance(); } /** + * + * *
      * Details of Windows Application.
      * 
@@ -5427,14 +6209,16 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsApplication getWindowsAppli * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder getWindowsApplicationOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder + getWindowsApplicationOrBuilder() { if (detailsCase_ == 9) { - return (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_; + return (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_; } return com.google.cloud.osconfig.v1.Inventory.WindowsApplication.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5446,8 +6230,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (detailsCase_ == 1) { output.writeMessage(1, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); } @@ -5464,16 +6247,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(5, (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_); } if (detailsCase_ == 6) { - output.writeMessage(6, (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_); + output.writeMessage( + 6, (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_); } if (detailsCase_ == 7) { - output.writeMessage(7, (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_); + output.writeMessage( + 7, (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_); } if (detailsCase_ == 8) { output.writeMessage(8, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); } if (detailsCase_ == 9) { - output.writeMessage(9, (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_); + output.writeMessage( + 9, (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_); } unknownFields.writeTo(output); } @@ -5485,40 +6271,51 @@ public int getSerializedSize() { size = 0; if (detailsCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); } if (detailsCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); } if (detailsCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); } if (detailsCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); } if (detailsCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_); } if (detailsCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_); } if (detailsCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, + (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) + details_); } if (detailsCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_); } if (detailsCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5528,50 +6325,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory.SoftwarePackage)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage other = (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) obj; + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage other = + (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) obj; if (!getDetailsCase().equals(other.getDetailsCase())) return false; switch (detailsCase_) { case 1: - if (!getYumPackage() - .equals(other.getYumPackage())) return false; + if (!getYumPackage().equals(other.getYumPackage())) return false; break; case 2: - if (!getAptPackage() - .equals(other.getAptPackage())) return false; + if (!getAptPackage().equals(other.getAptPackage())) return false; break; case 3: - if (!getZypperPackage() - .equals(other.getZypperPackage())) return false; + if (!getZypperPackage().equals(other.getZypperPackage())) return false; break; case 4: - if (!getGoogetPackage() - .equals(other.getGoogetPackage())) return false; + if (!getGoogetPackage().equals(other.getGoogetPackage())) return false; break; case 5: - if (!getZypperPatch() - .equals(other.getZypperPatch())) return false; + if (!getZypperPatch().equals(other.getZypperPatch())) return false; break; case 6: - if (!getWuaPackage() - .equals(other.getWuaPackage())) return false; + if (!getWuaPackage().equals(other.getWuaPackage())) return false; break; case 7: - if (!getQfePackage() - .equals(other.getQfePackage())) return false; + if (!getQfePackage().equals(other.getQfePackage())) return false; break; case 8: - if (!getCosPackage() - .equals(other.getCosPackage())) return false; + if (!getCosPackage().equals(other.getCosPackage())) return false; break; case 9: - if (!getWindowsApplication() - .equals(other.getWindowsApplication())) return false; + if (!getWindowsApplication().equals(other.getWindowsApplication())) return false; break; case 0: default: @@ -5633,87 +6422,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage 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.osconfig.v1.Inventory.SoftwarePackage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory.SoftwarePackage prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5723,27 +6519,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Software package information of the operating system.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.Inventory.SoftwarePackage} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory.SoftwarePackage) com.google.cloud.osconfig.v1.Inventory.SoftwarePackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.class, com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder.class); + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.class, + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.Builder.class); } // Construct using com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.newBuilder() @@ -5751,16 +6552,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -5770,9 +6570,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_SoftwarePackage_descriptor; } @java.lang.Override @@ -5791,7 +6591,8 @@ public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage build() { @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage buildPartial() { - com.google.cloud.osconfig.v1.Inventory.SoftwarePackage result = new com.google.cloud.osconfig.v1.Inventory.SoftwarePackage(this); + com.google.cloud.osconfig.v1.Inventory.SoftwarePackage result = + new com.google.cloud.osconfig.v1.Inventory.SoftwarePackage(this); if (detailsCase_ == 1) { if (yumPackageBuilder_ == null) { result.details_ = details_; @@ -5864,38 +6665,41 @@ public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.Inventory.SoftwarePackage) { - return mergeFrom((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage)other); + return mergeFrom((com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) other); } else { super.mergeFrom(other); return this; @@ -5903,47 +6707,58 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.SoftwarePackage other) { - if (other == com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1.Inventory.SoftwarePackage.getDefaultInstance()) + return this; switch (other.getDetailsCase()) { - case YUM_PACKAGE: { - mergeYumPackage(other.getYumPackage()); - break; - } - case APT_PACKAGE: { - mergeAptPackage(other.getAptPackage()); - break; - } - case ZYPPER_PACKAGE: { - mergeZypperPackage(other.getZypperPackage()); - break; - } - case GOOGET_PACKAGE: { - mergeGoogetPackage(other.getGoogetPackage()); - break; - } - case ZYPPER_PATCH: { - mergeZypperPatch(other.getZypperPatch()); - break; - } - case WUA_PACKAGE: { - mergeWuaPackage(other.getWuaPackage()); - break; - } - case QFE_PACKAGE: { - mergeQfePackage(other.getQfePackage()); - break; - } - case COS_PACKAGE: { - mergeCosPackage(other.getCosPackage()); - break; - } - case WINDOWS_APPLICATION: { - mergeWindowsApplication(other.getWindowsApplication()); - break; - } - case DETAILS_NOT_SET: { - break; - } + case YUM_PACKAGE: + { + mergeYumPackage(other.getYumPackage()); + break; + } + case APT_PACKAGE: + { + mergeAptPackage(other.getAptPackage()); + break; + } + case ZYPPER_PACKAGE: + { + mergeZypperPackage(other.getZypperPackage()); + break; + } + case GOOGET_PACKAGE: + { + mergeGoogetPackage(other.getGoogetPackage()); + break; + } + case ZYPPER_PATCH: + { + mergeZypperPatch(other.getZypperPatch()); + break; + } + case WUA_PACKAGE: + { + mergeWuaPackage(other.getWuaPackage()); + break; + } + case QFE_PACKAGE: + { + mergeQfePackage(other.getQfePackage()); + break; + } + case COS_PACKAGE: + { + mergeCosPackage(other.getCosPackage()); + break; + } + case WINDOWS_APPLICATION: + { + mergeWindowsApplication(other.getWindowsApplication()); + break; + } + case DETAILS_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -5964,7 +6779,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.Inventory.SoftwarePackage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5973,12 +6789,12 @@ public Builder mergeFrom( } return this; } + private int detailsCase_ = 0; private java.lang.Object details_; - public DetailsCase - getDetailsCase() { - return DetailsCase.forNumber( - detailsCase_); + + public DetailsCase getDetailsCase() { + return DetailsCase.forNumber(detailsCase_); } public Builder clearDetails() { @@ -5988,10 +6804,14 @@ public Builder clearDetails() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> yumPackageBuilder_; + com.google.cloud.osconfig.v1.Inventory.VersionedPackage, + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, + com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> + yumPackageBuilder_; /** + * + * *
        * Yum package info.
        * For details about the yum package manager, see
@@ -5999,6 +6819,7 @@ public Builder clearDetails() {
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1; + * * @return Whether the yumPackage field is set. */ @java.lang.Override @@ -6006,6 +6827,8 @@ public boolean hasYumPackage() { return detailsCase_ == 1; } /** + * + * *
        * Yum package info.
        * For details about the yum package manager, see
@@ -6013,6 +6836,7 @@ public boolean hasYumPackage() {
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1; + * * @return The yumPackage. */ @java.lang.Override @@ -6030,6 +6854,8 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getYumPackage() { } } /** + * + * *
        * Yum package info.
        * For details about the yum package manager, see
@@ -6052,6 +6878,8 @@ public Builder setYumPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPac
         return this;
       }
       /**
+       *
+       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -6072,6 +6900,8 @@ public Builder setYumPackage(
         return this;
       }
       /**
+       *
+       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -6080,12 +6910,17 @@ public Builder setYumPackage(
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1;
        */
-      public Builder mergeYumPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
+      public Builder mergeYumPackage(
+          com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
         if (yumPackageBuilder_ == null) {
-          if (detailsCase_ == 1 &&
-              details_ != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) {
-            details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_)
-                .mergeFrom(value).buildPartial();
+          if (detailsCase_ == 1
+              && details_
+                  != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) {
+            details_ =
+                com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder(
+                        (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             details_ = value;
           }
@@ -6101,6 +6936,8 @@ public Builder mergeYumPackage(com.google.cloud.osconfig.v1.Inventory.VersionedP
         return this;
       }
       /**
+       *
+       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -6126,6 +6963,8 @@ public Builder clearYumPackage() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -6134,10 +6973,13 @@ public Builder clearYumPackage() {
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1;
        */
-      public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder getYumPackageBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder
+          getYumPackageBuilder() {
         return getYumPackageFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -6147,7 +6989,8 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder getYumPac
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getYumPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder
+          getYumPackageOrBuilder() {
         if ((detailsCase_ == 1) && (yumPackageBuilder_ != null)) {
           return yumPackageBuilder_.getMessageOrBuilder();
         } else {
@@ -6158,6 +7001,8 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getYumPa
         }
       }
       /**
+       *
+       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -6167,27 +7012,38 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getYumPa
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage yum_package = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> 
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>
           getYumPackageFieldBuilder() {
         if (yumPackageBuilder_ == null) {
           if (!(detailsCase_ == 1)) {
             details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance();
           }
-          yumPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>(
+          yumPackageBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
+                  com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
+                  com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>(
                   (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 1;
-        onChanged();;
+        onChanged();
+        ;
         return yumPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> aptPackageBuilder_;
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>
+          aptPackageBuilder_;
       /**
+       *
+       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -6195,6 +7051,7 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getYumPa
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2; + * * @return Whether the aptPackage field is set. */ @java.lang.Override @@ -6202,6 +7059,8 @@ public boolean hasAptPackage() { return detailsCase_ == 2; } /** + * + * *
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -6209,6 +7068,7 @@ public boolean hasAptPackage() {
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2; + * * @return The aptPackage. */ @java.lang.Override @@ -6226,6 +7086,8 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getAptPackage() { } } /** + * + * *
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -6248,6 +7110,8 @@ public Builder setAptPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPac
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -6268,6 +7132,8 @@ public Builder setAptPackage(
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -6276,12 +7142,17 @@ public Builder setAptPackage(
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2;
        */
-      public Builder mergeAptPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
+      public Builder mergeAptPackage(
+          com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
         if (aptPackageBuilder_ == null) {
-          if (detailsCase_ == 2 &&
-              details_ != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) {
-            details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_)
-                .mergeFrom(value).buildPartial();
+          if (detailsCase_ == 2
+              && details_
+                  != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) {
+            details_ =
+                com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder(
+                        (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             details_ = value;
           }
@@ -6297,6 +7168,8 @@ public Builder mergeAptPackage(com.google.cloud.osconfig.v1.Inventory.VersionedP
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -6322,6 +7195,8 @@ public Builder clearAptPackage() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -6330,10 +7205,13 @@ public Builder clearAptPackage() {
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2;
        */
-      public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder getAptPackageBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder
+          getAptPackageBuilder() {
         return getAptPackageFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -6343,7 +7221,8 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder getAptPac
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getAptPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder
+          getAptPackageOrBuilder() {
         if ((detailsCase_ == 2) && (aptPackageBuilder_ != null)) {
           return aptPackageBuilder_.getMessageOrBuilder();
         } else {
@@ -6354,6 +7233,8 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getAptPa
         }
       }
       /**
+       *
+       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -6363,27 +7244,38 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getAptPa
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> 
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>
           getAptPackageFieldBuilder() {
         if (aptPackageBuilder_ == null) {
           if (!(detailsCase_ == 2)) {
             details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance();
           }
-          aptPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>(
+          aptPackageBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
+                  com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
+                  com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>(
                   (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 2;
-        onChanged();;
+        onChanged();
+        ;
         return aptPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> zypperPackageBuilder_;
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>
+          zypperPackageBuilder_;
       /**
+       *
+       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -6391,6 +7283,7 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getAptPa
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3; + * * @return Whether the zypperPackage field is set. */ @java.lang.Override @@ -6398,6 +7291,8 @@ public boolean hasZypperPackage() { return detailsCase_ == 3; } /** + * + * *
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -6405,6 +7300,7 @@ public boolean hasZypperPackage() {
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3; + * * @return The zypperPackage. */ @java.lang.Override @@ -6422,6 +7318,8 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getZypperPackage( } } /** + * + * *
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -6430,7 +7328,8 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getZypperPackage(
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3;
        */
-      public Builder setZypperPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
+      public Builder setZypperPackage(
+          com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
         if (zypperPackageBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -6444,6 +7343,8 @@ public Builder setZypperPackage(com.google.cloud.osconfig.v1.Inventory.Versioned
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -6464,6 +7365,8 @@ public Builder setZypperPackage(
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -6472,12 +7375,17 @@ public Builder setZypperPackage(
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3;
        */
-      public Builder mergeZypperPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
+      public Builder mergeZypperPackage(
+          com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
         if (zypperPackageBuilder_ == null) {
-          if (detailsCase_ == 3 &&
-              details_ != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) {
-            details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_)
-                .mergeFrom(value).buildPartial();
+          if (detailsCase_ == 3
+              && details_
+                  != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) {
+            details_ =
+                com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder(
+                        (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             details_ = value;
           }
@@ -6493,6 +7401,8 @@ public Builder mergeZypperPackage(com.google.cloud.osconfig.v1.Inventory.Version
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -6518,6 +7428,8 @@ public Builder clearZypperPackage() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -6526,10 +7438,13 @@ public Builder clearZypperPackage() {
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3;
        */
-      public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder getZypperPackageBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder
+          getZypperPackageBuilder() {
         return getZypperPackageFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -6539,7 +7454,8 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder getZypper
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getZypperPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder
+          getZypperPackageOrBuilder() {
         if ((detailsCase_ == 3) && (zypperPackageBuilder_ != null)) {
           return zypperPackageBuilder_.getMessageOrBuilder();
         } else {
@@ -6550,6 +7466,8 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getZyppe
         }
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -6559,27 +7477,38 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getZyppe
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage zypper_package = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> 
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>
           getZypperPackageFieldBuilder() {
         if (zypperPackageBuilder_ == null) {
           if (!(detailsCase_ == 3)) {
             details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance();
           }
-          zypperPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>(
+          zypperPackageBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
+                  com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
+                  com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>(
                   (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 3;
-        onChanged();;
+        onChanged();
+        ;
         return zypperPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> googetPackageBuilder_;
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>
+          googetPackageBuilder_;
       /**
+       *
+       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -6587,6 +7516,7 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getZyppe
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4; + * * @return Whether the googetPackage field is set. */ @java.lang.Override @@ -6594,6 +7524,8 @@ public boolean hasGoogetPackage() { return detailsCase_ == 4; } /** + * + * *
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -6601,6 +7533,7 @@ public boolean hasGoogetPackage() {
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4; + * * @return The googetPackage. */ @java.lang.Override @@ -6618,6 +7551,8 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getGoogetPackage( } } /** + * + * *
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -6626,7 +7561,8 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getGoogetPackage(
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4;
        */
-      public Builder setGoogetPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
+      public Builder setGoogetPackage(
+          com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
         if (googetPackageBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -6640,6 +7576,8 @@ public Builder setGoogetPackage(com.google.cloud.osconfig.v1.Inventory.Versioned
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -6660,6 +7598,8 @@ public Builder setGoogetPackage(
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -6668,12 +7608,17 @@ public Builder setGoogetPackage(
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4;
        */
-      public Builder mergeGoogetPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
+      public Builder mergeGoogetPackage(
+          com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) {
         if (googetPackageBuilder_ == null) {
-          if (detailsCase_ == 4 &&
-              details_ != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) {
-            details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_)
-                .mergeFrom(value).buildPartial();
+          if (detailsCase_ == 4
+              && details_
+                  != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) {
+            details_ =
+                com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder(
+                        (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             details_ = value;
           }
@@ -6689,6 +7634,8 @@ public Builder mergeGoogetPackage(com.google.cloud.osconfig.v1.Inventory.Version
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -6714,6 +7661,8 @@ public Builder clearGoogetPackage() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -6722,10 +7671,13 @@ public Builder clearGoogetPackage() {
        *
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4;
        */
-      public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder getGoogetPackageBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder
+          getGoogetPackageBuilder() {
         return getGoogetPackageFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -6735,7 +7687,8 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder getGooget
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getGoogetPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder
+          getGoogetPackageOrBuilder() {
         if ((detailsCase_ == 4) && (googetPackageBuilder_ != null)) {
           return googetPackageBuilder_.getMessageOrBuilder();
         } else {
@@ -6746,6 +7699,8 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getGooge
         }
       }
       /**
+       *
+       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -6755,27 +7710,38 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getGooge
        * .google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> 
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>
           getGoogetPackageFieldBuilder() {
         if (googetPackageBuilder_ == null) {
           if (!(detailsCase_ == 4)) {
             details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance();
           }
-          googetPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>(
+          googetPackageBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1.Inventory.VersionedPackage,
+                  com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder,
+                  com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>(
                   (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 4;
-        onChanged();;
+        onChanged();
+        ;
         return googetPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.Inventory.ZypperPatch, com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder, com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder> zypperPatchBuilder_;
+              com.google.cloud.osconfig.v1.Inventory.ZypperPatch,
+              com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder,
+              com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder>
+          zypperPatchBuilder_;
       /**
+       *
+       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -6783,6 +7749,7 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getGooge
        * 
* * .google.cloud.osconfig.v1.Inventory.ZypperPatch zypper_patch = 5; + * * @return Whether the zypperPatch field is set. */ @java.lang.Override @@ -6790,6 +7757,8 @@ public boolean hasZypperPatch() { return detailsCase_ == 5; } /** + * + * *
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -6797,6 +7766,7 @@ public boolean hasZypperPatch() {
        * 
* * .google.cloud.osconfig.v1.Inventory.ZypperPatch zypper_patch = 5; + * * @return The zypperPatch. */ @java.lang.Override @@ -6814,6 +7784,8 @@ public com.google.cloud.osconfig.v1.Inventory.ZypperPatch getZypperPatch() { } } /** + * + * *
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -6836,6 +7808,8 @@ public Builder setZypperPatch(com.google.cloud.osconfig.v1.Inventory.ZypperPatch
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -6856,6 +7830,8 @@ public Builder setZypperPatch(
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -6866,10 +7842,14 @@ public Builder setZypperPatch(
        */
       public Builder mergeZypperPatch(com.google.cloud.osconfig.v1.Inventory.ZypperPatch value) {
         if (zypperPatchBuilder_ == null) {
-          if (detailsCase_ == 5 &&
-              details_ != com.google.cloud.osconfig.v1.Inventory.ZypperPatch.getDefaultInstance()) {
-            details_ = com.google.cloud.osconfig.v1.Inventory.ZypperPatch.newBuilder((com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_)
-                .mergeFrom(value).buildPartial();
+          if (detailsCase_ == 5
+              && details_
+                  != com.google.cloud.osconfig.v1.Inventory.ZypperPatch.getDefaultInstance()) {
+            details_ =
+                com.google.cloud.osconfig.v1.Inventory.ZypperPatch.newBuilder(
+                        (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             details_ = value;
           }
@@ -6885,6 +7865,8 @@ public Builder mergeZypperPatch(com.google.cloud.osconfig.v1.Inventory.ZypperPat
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -6910,6 +7892,8 @@ public Builder clearZypperPatch() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -6922,6 +7906,8 @@ public com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder getZypperPatch
         return getZypperPatchFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -6942,6 +7928,8 @@ public com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder getZypperPatc
         }
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -6951,27 +7939,38 @@ public com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder getZypperPatc
        * .google.cloud.osconfig.v1.Inventory.ZypperPatch zypper_patch = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.Inventory.ZypperPatch, com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder, com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder> 
+              com.google.cloud.osconfig.v1.Inventory.ZypperPatch,
+              com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder,
+              com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder>
           getZypperPatchFieldBuilder() {
         if (zypperPatchBuilder_ == null) {
           if (!(detailsCase_ == 5)) {
             details_ = com.google.cloud.osconfig.v1.Inventory.ZypperPatch.getDefaultInstance();
           }
-          zypperPatchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Inventory.ZypperPatch, com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder, com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder>(
+          zypperPatchBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1.Inventory.ZypperPatch,
+                  com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder,
+                  com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder>(
                   (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 5;
-        onChanged();;
+        onChanged();
+        ;
         return zypperPatchBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder> wuaPackageBuilder_;
+              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage,
+              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder,
+              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder>
+          wuaPackageBuilder_;
       /**
+       *
+       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -6979,6 +7978,7 @@ public com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder getZypperPatc
        * 
* * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6; + * * @return Whether the wuaPackage field is set. */ @java.lang.Override @@ -6986,6 +7986,8 @@ public boolean hasWuaPackage() { return detailsCase_ == 6; } /** + * + * *
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -6993,6 +7995,7 @@ public boolean hasWuaPackage() {
        * 
* * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6; + * * @return The wuaPackage. */ @java.lang.Override @@ -7010,6 +8013,8 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage getWuaPackage } } /** + * + * *
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -7018,7 +8023,8 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage getWuaPackage
        *
        * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6;
        */
-      public Builder setWuaPackage(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage value) {
+      public Builder setWuaPackage(
+          com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage value) {
         if (wuaPackageBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -7032,6 +8038,8 @@ public Builder setWuaPackage(com.google.cloud.osconfig.v1.Inventory.WindowsUpdat
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -7052,6 +8060,8 @@ public Builder setWuaPackage(
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -7060,12 +8070,18 @@ public Builder setWuaPackage(
        *
        * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6;
        */
-      public Builder mergeWuaPackage(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage value) {
+      public Builder mergeWuaPackage(
+          com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage value) {
         if (wuaPackageBuilder_ == null) {
-          if (detailsCase_ == 6 &&
-              details_ != com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.getDefaultInstance()) {
-            details_ = com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.newBuilder((com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_)
-                .mergeFrom(value).buildPartial();
+          if (detailsCase_ == 6
+              && details_
+                  != com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage
+                      .getDefaultInstance()) {
+            details_ =
+                com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.newBuilder(
+                        (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             details_ = value;
           }
@@ -7081,6 +8097,8 @@ public Builder mergeWuaPackage(com.google.cloud.osconfig.v1.Inventory.WindowsUpd
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -7106,6 +8124,8 @@ public Builder clearWuaPackage() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -7114,10 +8134,13 @@ public Builder clearWuaPackage() {
        *
        * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6;
        */
-      public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder getWuaPackageBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder
+          getWuaPackageBuilder() {
         return getWuaPackageFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -7127,7 +8150,8 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder getWu
        * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder getWuaPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder
+          getWuaPackageOrBuilder() {
         if ((detailsCase_ == 6) && (wuaPackageBuilder_ != null)) {
           return wuaPackageBuilder_.getMessageOrBuilder();
         } else {
@@ -7138,6 +8162,8 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder getW
         }
       }
       /**
+       *
+       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -7147,27 +8173,39 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder getW
        * .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage wua_package = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder> 
+              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage,
+              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder,
+              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder>
           getWuaPackageFieldBuilder() {
         if (wuaPackageBuilder_ == null) {
           if (!(detailsCase_ == 6)) {
-            details_ = com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.getDefaultInstance();
+            details_ =
+                com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.getDefaultInstance();
           }
-          wuaPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder>(
+          wuaPackageBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage,
+                  com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder,
+                  com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder>(
                   (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 6;
-        onChanged();;
+        onChanged();
+        ;
         return wuaPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage, com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder> qfePackageBuilder_;
+              com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage,
+              com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder,
+              com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder>
+          qfePackageBuilder_;
       /**
+       *
+       *
        * 
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -7175,7 +8213,10 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder getW
        * for info in Windows Quick Fix Engineering.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * * @return Whether the qfePackage field is set. */ @java.lang.Override @@ -7183,6 +8224,8 @@ public boolean hasQfePackage() { return detailsCase_ == 7; } /** + * + * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -7190,24 +8233,33 @@ public boolean hasQfePackage() {
        * for info in Windows Quick Fix Engineering.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * * @return The qfePackage. */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage getQfePackage() { + public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + getQfePackage() { if (qfePackageBuilder_ == null) { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) + details_; } - return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); + return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + .getDefaultInstance(); } else { if (detailsCase_ == 7) { return qfePackageBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); + return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + .getDefaultInstance(); } } /** + * + * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -7215,9 +8267,12 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage
        * for info in Windows Quick Fix Engineering.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * */ - public Builder setQfePackage(com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage value) { + public Builder setQfePackage( + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage value) { if (qfePackageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7231,6 +8286,8 @@ public Builder setQfePackage(com.google.cloud.osconfig.v1.Inventory.WindowsQuick return this; } /** + * + * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -7238,10 +8295,13 @@ public Builder setQfePackage(com.google.cloud.osconfig.v1.Inventory.WindowsQuick
        * for info in Windows Quick Fix Engineering.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * */ public Builder setQfePackage( - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder builderForValue) { + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder + builderForValue) { if (qfePackageBuilder_ == null) { details_ = builderForValue.build(); onChanged(); @@ -7252,6 +8312,8 @@ public Builder setQfePackage( return this; } /** + * + * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -7259,14 +8321,23 @@ public Builder setQfePackage(
        * for info in Windows Quick Fix Engineering.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * */ - public Builder mergeQfePackage(com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage value) { + public Builder mergeQfePackage( + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage value) { if (qfePackageBuilder_ == null) { - if (detailsCase_ == 7 && - details_ != com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance()) { - details_ = com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.newBuilder((com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 7 + && details_ + != com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + .getDefaultInstance()) { + details_ = + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.newBuilder( + (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) + details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -7282,6 +8353,8 @@ public Builder mergeQfePackage(com.google.cloud.osconfig.v1.Inventory.WindowsQui return this; } /** + * + * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -7289,7 +8362,9 @@ public Builder mergeQfePackage(com.google.cloud.osconfig.v1.Inventory.WindowsQui
        * for info in Windows Quick Fix Engineering.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * */ public Builder clearQfePackage() { if (qfePackageBuilder_ == null) { @@ -7308,6 +8383,8 @@ public Builder clearQfePackage() { return this; } /** + * + * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -7315,12 +8392,17 @@ public Builder clearQfePackage() {
        * for info in Windows Quick Fix Engineering.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * */ - public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder getQfePackageBuilder() { + public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder + getQfePackageBuilder() { return getQfePackageFieldBuilder().getBuilder(); } /** + * + * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -7328,20 +8410,27 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.
        * for info in Windows Quick Fix Engineering.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder getQfePackageOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder + getQfePackageOrBuilder() { if ((detailsCase_ == 7) && (qfePackageBuilder_ != null)) { return qfePackageBuilder_.getMessageOrBuilder(); } else { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_; + return (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) + details_; } - return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); + return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + .getDefaultInstance(); } } /** + * + * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -7349,35 +8438,53 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageO
        * for info in Windows Quick Fix Engineering.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage, com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder> + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage, + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder, + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder> getQfePackageFieldBuilder() { if (qfePackageBuilder_ == null) { if (!(detailsCase_ == 7)) { - details_ = com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); + details_ = + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + .getDefaultInstance(); } - qfePackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage, com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder>( - (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) details_, + qfePackageBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage, + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder, + com.google.cloud.osconfig.v1.Inventory + .WindowsQuickFixEngineeringPackageOrBuilder>( + (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) + details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 7; - onChanged();; + onChanged(); + ; return qfePackageBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> cosPackageBuilder_; + com.google.cloud.osconfig.v1.Inventory.VersionedPackage, + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, + com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> + cosPackageBuilder_; /** + * + * *
        * Details of a COS package.
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; + * * @return Whether the cosPackage field is set. */ @java.lang.Override @@ -7385,11 +8492,14 @@ public boolean hasCosPackage() { return detailsCase_ == 8; } /** + * + * *
        * Details of a COS package.
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; + * * @return The cosPackage. */ @java.lang.Override @@ -7407,6 +8517,8 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getCosPackage() { } } /** + * + * *
        * Details of a COS package.
        * 
@@ -7427,6 +8539,8 @@ public Builder setCosPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPac return this; } /** + * + * *
        * Details of a COS package.
        * 
@@ -7445,18 +8559,25 @@ public Builder setCosPackage( return this; } /** + * + * *
        * Details of a COS package.
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; */ - public Builder mergeCosPackage(com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) { + public Builder mergeCosPackage( + com.google.cloud.osconfig.v1.Inventory.VersionedPackage value) { if (cosPackageBuilder_ == null) { - if (detailsCase_ == 8 && - details_ != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) { - details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 8 + && details_ + != com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) { + details_ = + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder( + (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -7472,6 +8593,8 @@ public Builder mergeCosPackage(com.google.cloud.osconfig.v1.Inventory.VersionedP return this; } /** + * + * *
        * Details of a COS package.
        * 
@@ -7495,16 +8618,21 @@ public Builder clearCosPackage() { return this; } /** + * + * *
        * Details of a COS package.
        * 
* * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; */ - public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder getCosPackageBuilder() { + public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder + getCosPackageBuilder() { return getCosPackageFieldBuilder().getBuilder(); } /** + * + * *
        * Details of a COS package.
        * 
@@ -7512,7 +8640,8 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder getCosPac * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getCosPackageOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder + getCosPackageOrBuilder() { if ((detailsCase_ == 8) && (cosPackageBuilder_ != null)) { return cosPackageBuilder_.getMessageOrBuilder(); } else { @@ -7523,6 +8652,8 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getCosPa } } /** + * + * *
        * Details of a COS package.
        * 
@@ -7530,32 +8661,45 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder getCosPa * .google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> + com.google.cloud.osconfig.v1.Inventory.VersionedPackage, + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, + com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder> getCosPackageFieldBuilder() { if (cosPackageBuilder_ == null) { if (!(detailsCase_ == 8)) { details_ = com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance(); } - cosPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.VersionedPackage, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>( + cosPackageBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.Inventory.VersionedPackage, + com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder, + com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder>( (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 8; - onChanged();; + onChanged(); + ; return cosPackageBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.WindowsApplication, com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder> windowsApplicationBuilder_; + com.google.cloud.osconfig.v1.Inventory.WindowsApplication, + com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder, + com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder> + windowsApplicationBuilder_; /** + * + * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * + * * @return Whether the windowsApplication field is set. */ @java.lang.Override @@ -7563,11 +8707,15 @@ public boolean hasWindowsApplication() { return detailsCase_ == 9; } /** + * + * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * + * * @return The windowsApplication. */ @java.lang.Override @@ -7585,13 +8733,17 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsApplication getWindowsAppli } } /** + * + * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * */ - public Builder setWindowsApplication(com.google.cloud.osconfig.v1.Inventory.WindowsApplication value) { + public Builder setWindowsApplication( + com.google.cloud.osconfig.v1.Inventory.WindowsApplication value) { if (windowsApplicationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7605,11 +8757,14 @@ public Builder setWindowsApplication(com.google.cloud.osconfig.v1.Inventory.Wind return this; } /** + * + * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * */ public Builder setWindowsApplication( com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder builderForValue) { @@ -7623,18 +8778,27 @@ public Builder setWindowsApplication( return this; } /** + * + * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * */ - public Builder mergeWindowsApplication(com.google.cloud.osconfig.v1.Inventory.WindowsApplication value) { + public Builder mergeWindowsApplication( + com.google.cloud.osconfig.v1.Inventory.WindowsApplication value) { if (windowsApplicationBuilder_ == null) { - if (detailsCase_ == 9 && - details_ != com.google.cloud.osconfig.v1.Inventory.WindowsApplication.getDefaultInstance()) { - details_ = com.google.cloud.osconfig.v1.Inventory.WindowsApplication.newBuilder((com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 9 + && details_ + != com.google.cloud.osconfig.v1.Inventory.WindowsApplication + .getDefaultInstance()) { + details_ = + com.google.cloud.osconfig.v1.Inventory.WindowsApplication.newBuilder( + (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -7650,11 +8814,14 @@ public Builder mergeWindowsApplication(com.google.cloud.osconfig.v1.Inventory.Wi return this; } /** + * + * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * */ public Builder clearWindowsApplication() { if (windowsApplicationBuilder_ == null) { @@ -7673,24 +8840,32 @@ public Builder clearWindowsApplication() { return this; } /** + * + * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * */ - public com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder getWindowsApplicationBuilder() { + public com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder + getWindowsApplicationBuilder() { return getWindowsApplicationFieldBuilder().getBuilder(); } /** + * + * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder getWindowsApplicationOrBuilder() { + public com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder + getWindowsApplicationOrBuilder() { if ((detailsCase_ == 9) && (windowsApplicationBuilder_ != null)) { return windowsApplicationBuilder_.getMessageOrBuilder(); } else { @@ -7701,30 +8876,41 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder getWin } } /** + * + * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.WindowsApplication, com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder> + com.google.cloud.osconfig.v1.Inventory.WindowsApplication, + com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder, + com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder> getWindowsApplicationFieldBuilder() { if (windowsApplicationBuilder_ == null) { if (!(detailsCase_ == 9)) { - details_ = com.google.cloud.osconfig.v1.Inventory.WindowsApplication.getDefaultInstance(); + details_ = + com.google.cloud.osconfig.v1.Inventory.WindowsApplication.getDefaultInstance(); } - windowsApplicationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.WindowsApplication, com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder>( + windowsApplicationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.Inventory.WindowsApplication, + com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder, + com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder>( (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 9; - onChanged();; + onChanged(); + ; return windowsApplicationBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7737,12 +8923,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory.SoftwarePackage) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory.SoftwarePackage) private static final com.google.cloud.osconfig.v1.Inventory.SoftwarePackage DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory.SoftwarePackage(); } @@ -7751,16 +8937,16 @@ public static com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SoftwarePackage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SoftwarePackage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SoftwarePackage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SoftwarePackage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7775,74 +8961,91 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.Inventory.SoftwarePackage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface VersionedPackageOrBuilder extends + public interface VersionedPackageOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory.VersionedPackage) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The name of the package.
      * 
* * string package_name = 4; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
      * The name of the package.
      * 
* * string package_name = 4; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); /** + * + * *
      * The system architecture this package is intended for.
      * 
* * string architecture = 2; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
      * The system architecture this package is intended for.
      * 
* * string architecture = 2; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); /** + * + * *
      * The version of the package.
      * 
* * string version = 3; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
      * The version of the package.
      * 
* * string version = 3; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); } /** + * + * *
    * Information related to the a standard versioned package.  This includes
    * package info for APT, Yum, Zypper, and Googet package managers.
@@ -7850,15 +9053,16 @@ public interface VersionedPackageOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1.Inventory.VersionedPackage}
    */
-  public static final class VersionedPackage extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class VersionedPackage extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory.VersionedPackage)
       VersionedPackageOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use VersionedPackage.newBuilder() to construct.
     private VersionedPackage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private VersionedPackage() {
       packageName_ = "";
       architecture_ = "";
@@ -7867,16 +9071,15 @@ private VersionedPackage() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new VersionedPackage();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private VersionedPackage(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -7895,31 +9098,34 @@ private VersionedPackage(
             case 0:
               done = true;
               break;
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              architecture_ = s;
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
+                architecture_ = s;
+                break;
+              }
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
+                version_ = s;
+                break;
+              }
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              packageName_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                packageName_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -7927,34 +9133,39 @@ private VersionedPackage(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.Inventories
+          .internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.Inventories
+          .internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.class, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder.class);
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.class,
+              com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder.class);
     }
 
     public static final int PACKAGE_NAME_FIELD_NUMBER = 4;
     private volatile java.lang.Object packageName_;
     /**
+     *
+     *
      * 
      * The name of the package.
      * 
* * string package_name = 4; + * * @return The packageName. */ @java.lang.Override @@ -7963,29 +9174,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
      * The name of the package.
      * 
* * string package_name = 4; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -7996,11 +9207,14 @@ public java.lang.String getPackageName() { public static final int ARCHITECTURE_FIELD_NUMBER = 2; private volatile java.lang.Object architecture_; /** + * + * *
      * The system architecture this package is intended for.
      * 
* * string architecture = 2; + * * @return The architecture. */ @java.lang.Override @@ -8009,29 +9223,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
      * The system architecture this package is intended for.
      * 
* * string architecture = 2; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -8042,11 +9256,14 @@ public java.lang.String getArchitecture() { public static final int VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object version_; /** + * + * *
      * The version of the package.
      * 
* * string version = 3; + * * @return The version. */ @java.lang.Override @@ -8055,29 +9272,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
      * The version of the package.
      * 
* * string version = 3; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -8086,6 +9303,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8097,8 +9315,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, architecture_); } @@ -8134,19 +9351,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory.VersionedPackage)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Inventory.VersionedPackage other = (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) obj; + com.google.cloud.osconfig.v1.Inventory.VersionedPackage other = + (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) obj; - if (!getPackageName() - .equals(other.getPackageName())) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8170,87 +9385,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage 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.osconfig.v1.Inventory.VersionedPackage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory.VersionedPackage prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.Inventory.VersionedPackage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8260,6 +9482,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Information related to the a standard versioned package.  This includes
      * package info for APT, Yum, Zypper, and Googet package managers.
@@ -8267,21 +9491,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.Inventory.VersionedPackage}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory.VersionedPackage)
         com.google.cloud.osconfig.v1.Inventory.VersionedPackageOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.Inventories
+            .internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.Inventories
+            .internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.Inventory.VersionedPackage.class, com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder.class);
+                com.google.cloud.osconfig.v1.Inventory.VersionedPackage.class,
+                com.google.cloud.osconfig.v1.Inventory.VersionedPackage.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.Inventory.VersionedPackage.newBuilder()
@@ -8289,16 +9516,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -8312,9 +9538,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.Inventories
+            .internal_static_google_cloud_osconfig_v1_Inventory_VersionedPackage_descriptor;
       }
 
       @java.lang.Override
@@ -8333,7 +9559,8 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.Inventory.VersionedPackage buildPartial() {
-        com.google.cloud.osconfig.v1.Inventory.VersionedPackage result = new com.google.cloud.osconfig.v1.Inventory.VersionedPackage(this);
+        com.google.cloud.osconfig.v1.Inventory.VersionedPackage result =
+            new com.google.cloud.osconfig.v1.Inventory.VersionedPackage(this);
         result.packageName_ = packageName_;
         result.architecture_ = architecture_;
         result.version_ = version_;
@@ -8345,38 +9572,41 @@ public com.google.cloud.osconfig.v1.Inventory.VersionedPackage buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.Inventory.VersionedPackage) {
-          return mergeFrom((com.google.cloud.osconfig.v1.Inventory.VersionedPackage)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.Inventory.VersionedPackage) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -8384,7 +9614,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.VersionedPackage other) {
-        if (other == com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1.Inventory.VersionedPackage.getDefaultInstance())
+          return this;
         if (!other.getPackageName().isEmpty()) {
           packageName_ = other.packageName_;
           onChanged();
@@ -8416,7 +9647,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.Inventory.VersionedPackage) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -8428,18 +9660,20 @@ public Builder mergeFrom(
 
       private java.lang.Object packageName_ = "";
       /**
+       *
+       *
        * 
        * The name of the package.
        * 
* * string package_name = 4; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -8448,20 +9682,21 @@ public java.lang.String getPackageName() { } } /** + * + * *
        * The name of the package.
        * 
* * string package_name = 4; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -8469,54 +9704,61 @@ public java.lang.String getPackageName() { } } /** + * + * *
        * The name of the package.
        * 
* * string package_name = 4; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** + * + * *
        * The name of the package.
        * 
* * string package_name = 4; + * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** + * + * *
        * The name of the package.
        * 
* * string package_name = 4; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -8524,18 +9766,20 @@ public Builder setPackageNameBytes( private java.lang.Object architecture_ = ""; /** + * + * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -8544,20 +9788,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -8565,54 +9810,61 @@ public java.lang.String getArchitecture() { } } /** + * + * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -8620,18 +9872,20 @@ public Builder setArchitectureBytes( private java.lang.Object version_ = ""; /** + * + * *
        * The version of the package.
        * 
* * string version = 3; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -8640,20 +9894,21 @@ public java.lang.String getVersion() { } } /** + * + * *
        * The version of the package.
        * 
* * string version = 3; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -8661,58 +9916,66 @@ public java.lang.String getVersion() { } } /** + * + * *
        * The version of the package.
        * 
* * string version = 3; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
        * The version of the package.
        * 
* * string version = 3; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
        * The version of the package.
        * 
* * string version = 3; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8725,12 +9988,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory.VersionedPackage) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory.VersionedPackage) private static final com.google.cloud.osconfig.v1.Inventory.VersionedPackage DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory.VersionedPackage(); } @@ -8739,16 +10002,16 @@ public static com.google.cloud.osconfig.v1.Inventory.VersionedPackage getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VersionedPackage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VersionedPackage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VersionedPackage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VersionedPackage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8763,109 +10026,132 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.Inventory.VersionedPackage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ZypperPatchOrBuilder extends + public interface ZypperPatchOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory.ZypperPatch) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The name of the patch.
      * 
* * string patch_name = 5; + * * @return The patchName. */ java.lang.String getPatchName(); /** + * + * *
      * The name of the patch.
      * 
* * string patch_name = 5; + * * @return The bytes for patchName. */ - com.google.protobuf.ByteString - getPatchNameBytes(); + com.google.protobuf.ByteString getPatchNameBytes(); /** + * + * *
      * The category of the patch.
      * 
* * string category = 2; + * * @return The category. */ java.lang.String getCategory(); /** + * + * *
      * The category of the patch.
      * 
* * string category = 2; + * * @return The bytes for category. */ - com.google.protobuf.ByteString - getCategoryBytes(); + com.google.protobuf.ByteString getCategoryBytes(); /** + * + * *
      * The severity specified for this patch
      * 
* * string severity = 3; + * * @return The severity. */ java.lang.String getSeverity(); /** + * + * *
      * The severity specified for this patch
      * 
* * string severity = 3; + * * @return The bytes for severity. */ - com.google.protobuf.ByteString - getSeverityBytes(); + com.google.protobuf.ByteString getSeverityBytes(); /** + * + * *
      * Any summary information provided about this patch.
      * 
* * string summary = 4; + * * @return The summary. */ java.lang.String getSummary(); /** + * + * *
      * Any summary information provided about this patch.
      * 
* * string summary = 4; + * * @return The bytes for summary. */ - com.google.protobuf.ByteString - getSummaryBytes(); + com.google.protobuf.ByteString getSummaryBytes(); } /** + * + * *
    * Details related to a Zypper Patch.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.Inventory.ZypperPatch} */ - public static final class ZypperPatch extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ZypperPatch extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory.ZypperPatch) ZypperPatchOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ZypperPatch.newBuilder() to construct. private ZypperPatch(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ZypperPatch() { patchName_ = ""; category_ = ""; @@ -8875,16 +10161,15 @@ private ZypperPatch() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ZypperPatch(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ZypperPatch( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -8903,37 +10188,41 @@ private ZypperPatch( case 0: done = true; break; - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - category_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + category_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - severity_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + severity_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - summary_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + summary_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - patchName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + patchName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8941,34 +10230,39 @@ private ZypperPatch( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.ZypperPatch.class, com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder.class); + com.google.cloud.osconfig.v1.Inventory.ZypperPatch.class, + com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder.class); } public static final int PATCH_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object patchName_; /** + * + * *
      * The name of the patch.
      * 
* * string patch_name = 5; + * * @return The patchName. */ @java.lang.Override @@ -8977,29 +10271,29 @@ public java.lang.String getPatchName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchName_ = s; return s; } } /** + * + * *
      * The name of the patch.
      * 
* * string patch_name = 5; + * * @return The bytes for patchName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPatchNameBytes() { + public com.google.protobuf.ByteString getPatchNameBytes() { java.lang.Object ref = patchName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); patchName_ = b; return b; } else { @@ -9010,11 +10304,14 @@ public java.lang.String getPatchName() { public static final int CATEGORY_FIELD_NUMBER = 2; private volatile java.lang.Object category_; /** + * + * *
      * The category of the patch.
      * 
* * string category = 2; + * * @return The category. */ @java.lang.Override @@ -9023,29 +10320,29 @@ public java.lang.String getCategory() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); category_ = s; return s; } } /** + * + * *
      * The category of the patch.
      * 
* * string category = 2; + * * @return The bytes for category. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryBytes() { + public com.google.protobuf.ByteString getCategoryBytes() { java.lang.Object ref = category_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); category_ = b; return b; } else { @@ -9056,11 +10353,14 @@ public java.lang.String getCategory() { public static final int SEVERITY_FIELD_NUMBER = 3; private volatile java.lang.Object severity_; /** + * + * *
      * The severity specified for this patch
      * 
* * string severity = 3; + * * @return The severity. */ @java.lang.Override @@ -9069,29 +10369,29 @@ public java.lang.String getSeverity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; } } /** + * + * *
      * The severity specified for this patch
      * 
* * string severity = 3; + * * @return The bytes for severity. */ @java.lang.Override - public com.google.protobuf.ByteString - getSeverityBytes() { + public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); severity_ = b; return b; } else { @@ -9102,11 +10402,14 @@ public java.lang.String getSeverity() { public static final int SUMMARY_FIELD_NUMBER = 4; private volatile java.lang.Object summary_; /** + * + * *
      * Any summary information provided about this patch.
      * 
* * string summary = 4; + * * @return The summary. */ @java.lang.Override @@ -9115,29 +10418,29 @@ public java.lang.String getSummary() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); summary_ = s; return s; } } /** + * + * *
      * Any summary information provided about this patch.
      * 
* * string summary = 4; + * * @return The bytes for summary. */ @java.lang.Override - public com.google.protobuf.ByteString - getSummaryBytes() { + public com.google.protobuf.ByteString getSummaryBytes() { java.lang.Object ref = summary_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); summary_ = b; return b; } else { @@ -9146,6 +10449,7 @@ public java.lang.String getSummary() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9157,8 +10461,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(category_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, category_); } @@ -9200,21 +10503,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory.ZypperPatch)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Inventory.ZypperPatch other = (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) obj; + com.google.cloud.osconfig.v1.Inventory.ZypperPatch other = + (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) obj; - if (!getPatchName() - .equals(other.getPatchName())) return false; - if (!getCategory() - .equals(other.getCategory())) return false; - if (!getSeverity() - .equals(other.getSeverity())) return false; - if (!getSummary() - .equals(other.getSummary())) return false; + if (!getPatchName().equals(other.getPatchName())) return false; + if (!getCategory().equals(other.getCategory())) return false; + if (!getSeverity().equals(other.getSeverity())) return false; + if (!getSummary().equals(other.getSummary())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9240,87 +10540,93 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch 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.osconfig.v1.Inventory.ZypperPatch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory.ZypperPatch prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9330,27 +10636,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Details related to a Zypper Patch.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.Inventory.ZypperPatch} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory.ZypperPatch) com.google.cloud.osconfig.v1.Inventory.ZypperPatchOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.ZypperPatch.class, com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder.class); + com.google.cloud.osconfig.v1.Inventory.ZypperPatch.class, + com.google.cloud.osconfig.v1.Inventory.ZypperPatch.Builder.class); } // Construct using com.google.cloud.osconfig.v1.Inventory.ZypperPatch.newBuilder() @@ -9358,16 +10669,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -9383,9 +10693,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_ZypperPatch_descriptor; } @java.lang.Override @@ -9404,7 +10714,8 @@ public com.google.cloud.osconfig.v1.Inventory.ZypperPatch build() { @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.ZypperPatch buildPartial() { - com.google.cloud.osconfig.v1.Inventory.ZypperPatch result = new com.google.cloud.osconfig.v1.Inventory.ZypperPatch(this); + com.google.cloud.osconfig.v1.Inventory.ZypperPatch result = + new com.google.cloud.osconfig.v1.Inventory.ZypperPatch(this); result.patchName_ = patchName_; result.category_ = category_; result.severity_ = severity_; @@ -9417,38 +10728,41 @@ public com.google.cloud.osconfig.v1.Inventory.ZypperPatch buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.Inventory.ZypperPatch) { - return mergeFrom((com.google.cloud.osconfig.v1.Inventory.ZypperPatch)other); + return mergeFrom((com.google.cloud.osconfig.v1.Inventory.ZypperPatch) other); } else { super.mergeFrom(other); return this; @@ -9456,7 +10770,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.ZypperPatch other) { - if (other == com.google.cloud.osconfig.v1.Inventory.ZypperPatch.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1.Inventory.ZypperPatch.getDefaultInstance()) + return this; if (!other.getPatchName().isEmpty()) { patchName_ = other.patchName_; onChanged(); @@ -9492,7 +10807,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.Inventory.ZypperPatch) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9504,18 +10820,20 @@ public Builder mergeFrom( private java.lang.Object patchName_ = ""; /** + * + * *
        * The name of the patch.
        * 
* * string patch_name = 5; + * * @return The patchName. */ public java.lang.String getPatchName() { java.lang.Object ref = patchName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchName_ = s; return s; @@ -9524,20 +10842,21 @@ public java.lang.String getPatchName() { } } /** + * + * *
        * The name of the patch.
        * 
* * string patch_name = 5; + * * @return The bytes for patchName. */ - public com.google.protobuf.ByteString - getPatchNameBytes() { + public com.google.protobuf.ByteString getPatchNameBytes() { java.lang.Object ref = patchName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); patchName_ = b; return b; } else { @@ -9545,54 +10864,61 @@ public java.lang.String getPatchName() { } } /** + * + * *
        * The name of the patch.
        * 
* * string patch_name = 5; + * * @param value The patchName to set. * @return This builder for chaining. */ - public Builder setPatchName( - java.lang.String value) { + public Builder setPatchName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + patchName_ = value; onChanged(); return this; } /** + * + * *
        * The name of the patch.
        * 
* * string patch_name = 5; + * * @return This builder for chaining. */ public Builder clearPatchName() { - + patchName_ = getDefaultInstance().getPatchName(); onChanged(); return this; } /** + * + * *
        * The name of the patch.
        * 
* * string patch_name = 5; + * * @param value The bytes for patchName to set. * @return This builder for chaining. */ - public Builder setPatchNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPatchNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + patchName_ = value; onChanged(); return this; @@ -9600,18 +10926,20 @@ public Builder setPatchNameBytes( private java.lang.Object category_ = ""; /** + * + * *
        * The category of the patch.
        * 
* * string category = 2; + * * @return The category. */ public java.lang.String getCategory() { java.lang.Object ref = category_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); category_ = s; return s; @@ -9620,20 +10948,21 @@ public java.lang.String getCategory() { } } /** + * + * *
        * The category of the patch.
        * 
* * string category = 2; + * * @return The bytes for category. */ - public com.google.protobuf.ByteString - getCategoryBytes() { + public com.google.protobuf.ByteString getCategoryBytes() { java.lang.Object ref = category_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); category_ = b; return b; } else { @@ -9641,54 +10970,61 @@ public java.lang.String getCategory() { } } /** + * + * *
        * The category of the patch.
        * 
* * string category = 2; + * * @param value The category to set. * @return This builder for chaining. */ - public Builder setCategory( - java.lang.String value) { + public Builder setCategory(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + category_ = value; onChanged(); return this; } /** + * + * *
        * The category of the patch.
        * 
* * string category = 2; + * * @return This builder for chaining. */ public Builder clearCategory() { - + category_ = getDefaultInstance().getCategory(); onChanged(); return this; } /** + * + * *
        * The category of the patch.
        * 
* * string category = 2; + * * @param value The bytes for category to set. * @return This builder for chaining. */ - public Builder setCategoryBytes( - com.google.protobuf.ByteString value) { + public Builder setCategoryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + category_ = value; onChanged(); return this; @@ -9696,18 +11032,20 @@ public Builder setCategoryBytes( private java.lang.Object severity_ = ""; /** + * + * *
        * The severity specified for this patch
        * 
* * string severity = 3; + * * @return The severity. */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; @@ -9716,20 +11054,21 @@ public java.lang.String getSeverity() { } } /** + * + * *
        * The severity specified for this patch
        * 
* * string severity = 3; + * * @return The bytes for severity. */ - public com.google.protobuf.ByteString - getSeverityBytes() { + public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); severity_ = b; return b; } else { @@ -9737,54 +11076,61 @@ public java.lang.String getSeverity() { } } /** + * + * *
        * The severity specified for this patch
        * 
* * string severity = 3; + * * @param value The severity to set. * @return This builder for chaining. */ - public Builder setSeverity( - java.lang.String value) { + public Builder setSeverity(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + severity_ = value; onChanged(); return this; } /** + * + * *
        * The severity specified for this patch
        * 
* * string severity = 3; + * * @return This builder for chaining. */ public Builder clearSeverity() { - + severity_ = getDefaultInstance().getSeverity(); onChanged(); return this; } /** + * + * *
        * The severity specified for this patch
        * 
* * string severity = 3; + * * @param value The bytes for severity to set. * @return This builder for chaining. */ - public Builder setSeverityBytes( - com.google.protobuf.ByteString value) { + public Builder setSeverityBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + severity_ = value; onChanged(); return this; @@ -9792,18 +11138,20 @@ public Builder setSeverityBytes( private java.lang.Object summary_ = ""; /** + * + * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; + * * @return The summary. */ public java.lang.String getSummary() { java.lang.Object ref = summary_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); summary_ = s; return s; @@ -9812,20 +11160,21 @@ public java.lang.String getSummary() { } } /** + * + * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; + * * @return The bytes for summary. */ - public com.google.protobuf.ByteString - getSummaryBytes() { + public com.google.protobuf.ByteString getSummaryBytes() { java.lang.Object ref = summary_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); summary_ = b; return b; } else { @@ -9833,58 +11182,66 @@ public java.lang.String getSummary() { } } /** + * + * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; + * * @param value The summary to set. * @return This builder for chaining. */ - public Builder setSummary( - java.lang.String value) { + public Builder setSummary(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + summary_ = value; onChanged(); return this; } /** + * + * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; + * * @return This builder for chaining. */ public Builder clearSummary() { - + summary_ = getDefaultInstance().getSummary(); onChanged(); return this; } /** + * + * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; + * * @param value The bytes for summary to set. * @return This builder for chaining. */ - public Builder setSummaryBytes( - com.google.protobuf.ByteString value) { + public Builder setSummaryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + summary_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9897,12 +11254,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory.ZypperPatch) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory.ZypperPatch) private static final com.google.cloud.osconfig.v1.Inventory.ZypperPatch DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory.ZypperPatch(); } @@ -9911,16 +11268,16 @@ public static com.google.cloud.osconfig.v1.Inventory.ZypperPatch getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ZypperPatch parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ZypperPatch(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ZypperPatch parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ZypperPatch(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9935,258 +11292,334 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.Inventory.ZypperPatch getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface WindowsUpdatePackageOrBuilder extends + public interface WindowsUpdatePackageOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The localized title of the update package.
      * 
* * string title = 1; + * * @return The title. */ java.lang.String getTitle(); /** + * + * *
      * The localized title of the update package.
      * 
* * string title = 1; + * * @return The bytes for title. */ - com.google.protobuf.ByteString - getTitleBytes(); + com.google.protobuf.ByteString getTitleBytes(); /** + * + * *
      * The localized description of the update package.
      * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * The localized description of the update package.
      * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - java.util.List + java.util.List< + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory> getCategoriesList(); /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getCategories(int index); + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getCategories( + int index); /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ int getCategoriesCount(); /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategoryOrBuilder> getCategoriesOrBuilderList(); /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder getCategoriesOrBuilder( - int index); + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder + getCategoriesOrBuilder(int index); /** + * + * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; + * * @return A list containing the kbArticleIds. */ - java.util.List - getKbArticleIdsList(); + java.util.List getKbArticleIdsList(); /** + * + * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; + * * @return The count of kbArticleIds. */ int getKbArticleIdsCount(); /** + * + * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; + * * @param index The index of the element to return. * @return The kbArticleIds at the given index. */ java.lang.String getKbArticleIds(int index); /** + * + * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; + * * @param index The index of the value to return. * @return The bytes of the kbArticleIds at the given index. */ - com.google.protobuf.ByteString - getKbArticleIdsBytes(int index); + com.google.protobuf.ByteString getKbArticleIdsBytes(int index); /** + * + * *
      * A hyperlink to the language-specific support information for the update.
      * 
* * string support_url = 11; + * * @return The supportUrl. */ java.lang.String getSupportUrl(); /** + * + * *
      * A hyperlink to the language-specific support information for the update.
      * 
* * string support_url = 11; + * * @return The bytes for supportUrl. */ - com.google.protobuf.ByteString - getSupportUrlBytes(); + com.google.protobuf.ByteString getSupportUrlBytes(); /** + * + * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; + * * @return A list containing the moreInfoUrls. */ - java.util.List - getMoreInfoUrlsList(); + java.util.List getMoreInfoUrlsList(); /** + * + * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; + * * @return The count of moreInfoUrls. */ int getMoreInfoUrlsCount(); /** + * + * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; + * * @param index The index of the element to return. * @return The moreInfoUrls at the given index. */ java.lang.String getMoreInfoUrls(int index); /** + * + * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; + * * @param index The index of the value to return. * @return The bytes of the moreInfoUrls at the given index. */ - com.google.protobuf.ByteString - getMoreInfoUrlsBytes(int index); + com.google.protobuf.ByteString getMoreInfoUrlsBytes(int index); /** + * + * *
      * Gets the identifier of an update package.  Stays the same across
      * revisions.
      * 
* * string update_id = 6; + * * @return The updateId. */ java.lang.String getUpdateId(); /** + * + * *
      * Gets the identifier of an update package.  Stays the same across
      * revisions.
      * 
* * string update_id = 6; + * * @return The bytes for updateId. */ - com.google.protobuf.ByteString - getUpdateIdBytes(); + com.google.protobuf.ByteString getUpdateIdBytes(); /** + * + * *
      * The revision number of this update package.
      * 
* * int32 revision_number = 7; + * * @return The revisionNumber. */ int getRevisionNumber(); /** + * + * *
      * The last published date of the update, in (UTC) date and time.
      * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; + * * @return Whether the lastDeploymentChangeTime field is set. */ boolean hasLastDeploymentChangeTime(); /** + * + * *
      * The last published date of the update, in (UTC) date and time.
      * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; + * * @return The lastDeploymentChangeTime. */ com.google.protobuf.Timestamp getLastDeploymentChangeTime(); /** + * + * *
      * The last published date of the update, in (UTC) date and time.
      * 
@@ -10196,6 +11629,8 @@ com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategor com.google.protobuf.TimestampOrBuilder getLastDeploymentChangeTimeOrBuilder(); } /** + * + * *
    * Details related to a Windows Update package.
    * Field data and names are taken from Windows Update API IUpdate Interface:
@@ -10206,15 +11641,16 @@ com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategor
    *
    * Protobuf type {@code google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage}
    */
-  public static final class WindowsUpdatePackage extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class WindowsUpdatePackage extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage)
       WindowsUpdatePackageOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use WindowsUpdatePackage.newBuilder() to construct.
     private WindowsUpdatePackage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private WindowsUpdatePackage() {
       title_ = "";
       description_ = "";
@@ -10227,16 +11663,15 @@ private WindowsUpdatePackage() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new WindowsUpdatePackage();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private WindowsUpdatePackage(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -10256,82 +11691,97 @@ private WindowsUpdatePackage(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              title_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+                title_ = s;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
-            }
-            case 26: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                categories_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+                description_ = s;
+                break;
               }
-              categories_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.parser(), extensionRegistry));
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                kbArticleIds_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 26:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  categories_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage
+                              .WindowsUpdateCategory>();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                categories_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage
+                            .WindowsUpdateCategory.parser(),
+                        extensionRegistry));
+                break;
               }
-              kbArticleIds_.add(s);
-              break;
-            }
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                moreInfoUrls_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000004;
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  kbArticleIds_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                kbArticleIds_.add(s);
+                break;
               }
-              moreInfoUrls_.add(s);
-              break;
-            }
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              updateId_ = s;
-              break;
-            }
-            case 56: {
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                  moreInfoUrls_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000004;
+                }
+                moreInfoUrls_.add(s);
+                break;
+              }
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              revisionNumber_ = input.readInt32();
-              break;
-            }
-            case 82: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (lastDeploymentChangeTime_ != null) {
-                subBuilder = lastDeploymentChangeTime_.toBuilder();
+                updateId_ = s;
+                break;
               }
-              lastDeploymentChangeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(lastDeploymentChangeTime_);
-                lastDeploymentChangeTime_ = subBuilder.buildPartial();
+            case 56:
+              {
+                revisionNumber_ = input.readInt32();
+                break;
               }
+            case 82:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (lastDeploymentChangeTime_ != null) {
+                  subBuilder = lastDeploymentChangeTime_.toBuilder();
+                }
+                lastDeploymentChangeTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(lastDeploymentChangeTime_);
+                  lastDeploymentChangeTime_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 90: {
-              java.lang.String s = input.readStringRequireUtf8();
+                break;
+              }
+            case 90:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              supportUrl_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                supportUrl_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -10339,8 +11789,7 @@ private WindowsUpdatePackage(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           categories_ = java.util.Collections.unmodifiableList(categories_);
@@ -10355,79 +11804,97 @@ private WindowsUpdatePackage(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.Inventories
+          .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.Inventories
+          .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.class, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder.class);
+              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.class,
+              com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder.class);
     }
 
-    public interface WindowsUpdateCategoryOrBuilder extends
+    public interface WindowsUpdateCategoryOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * The identifier of the windows update category.
        * 
* * string id = 1; + * * @return The id. */ java.lang.String getId(); /** + * + * *
        * The identifier of the windows update category.
        * 
* * string id = 1; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
        * The name of the windows update category.
        * 
* * string name = 2; + * * @return The name. */ java.lang.String getName(); /** + * + * *
        * The name of the windows update category.
        * 
* * string name = 2; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
      * Categories specified by the Windows Update.
      * 
* - * Protobuf type {@code google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory} + * Protobuf type {@code + * google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory} */ - public static final class WindowsUpdateCategory extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class WindowsUpdateCategory extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) WindowsUpdateCategoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WindowsUpdateCategory.newBuilder() to construct. private WindowsUpdateCategory(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WindowsUpdateCategory() { id_ = ""; name_ = ""; @@ -10435,16 +11902,15 @@ private WindowsUpdateCategory() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WindowsUpdateCategory(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WindowsUpdateCategory( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10463,25 +11929,27 @@ private WindowsUpdateCategory( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + id_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10489,34 +11957,42 @@ private WindowsUpdateCategory( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.class, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder.class); + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .class, + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** + * + * *
        * The identifier of the windows update category.
        * 
* * string id = 1; + * * @return The id. */ @java.lang.Override @@ -10525,29 +12001,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
        * The identifier of the windows update category.
        * 
* * string id = 1; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -10558,11 +12034,14 @@ public java.lang.String getId() { public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** + * + * *
        * The name of the windows update category.
        * 
* * string name = 2; + * * @return The name. */ @java.lang.Override @@ -10571,29 +12050,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
        * The name of the windows update category.
        * 
* * string name = 2; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -10602,6 +12081,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10613,8 +12093,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -10644,17 +12123,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory other = (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) obj; + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory other = + (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) obj; - if (!getId() - .equals(other.getId())) return false; - if (!getName() - .equals(other.getName())) return false; + if (!getId().equals(other.getId())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -10675,88 +12155,116 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + 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.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + 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.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory 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.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + 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.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory 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.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + 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.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10766,44 +12274,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Categories specified by the Windows Update.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory} + * Protobuf type {@code + * google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.class, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder.class); + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .class, + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -10815,19 +12332,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.getDefaultInstance(); + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory build() { - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory result = buildPartial(); + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + build() { + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -10835,8 +12356,11 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdate } @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory buildPartial() { - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory result = new com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory(this); + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + buildPartial() { + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory result = + new com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory( + this); result.id_ = id_; result.name_ = name_; onBuilt(); @@ -10847,46 +12371,57 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdate public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) { - return mergeFrom((com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory)other); + if (other + instanceof + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) { + return mergeFrom( + (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory other) { - if (other == com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + other) { + if (other + == com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); @@ -10910,11 +12445,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parsedMessage = null; + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -10926,18 +12464,20 @@ public Builder mergeFrom( private java.lang.Object id_ = ""; /** + * + * *
          * The identifier of the windows update category.
          * 
* * string id = 1; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -10946,20 +12486,21 @@ public java.lang.String getId() { } } /** + * + * *
          * The identifier of the windows update category.
          * 
* * string id = 1; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -10967,54 +12508,61 @@ public java.lang.String getId() { } } /** + * + * *
          * The identifier of the windows update category.
          * 
* * string id = 1; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
          * The identifier of the windows update category.
          * 
* * string id = 1; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
          * The identifier of the windows update category.
          * 
* * string id = 1; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -11022,18 +12570,20 @@ public Builder setIdBytes( private java.lang.Object name_ = ""; /** + * + * *
          * The name of the windows update category.
          * 
* * string name = 2; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -11042,20 +12592,21 @@ public java.lang.String getName() { } } /** + * + * *
          * The name of the windows update category.
          * 
* * string name = 2; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -11063,58 +12614,66 @@ public java.lang.String getName() { } } /** + * + * *
          * The name of the windows update category.
          * 
* * string name = 2; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
          * The name of the windows update category.
          * 
* * string name = 2; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
          * The name of the windows update category.
          * 
* * string name = 2; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11127,30 +12686,35 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) - private static final com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory(); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getDefaultInstance() { + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsUpdateCategory parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsUpdateCategory(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsUpdateCategory parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsUpdateCategory(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11162,20 +12726,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int TITLE_FIELD_NUMBER = 1; private volatile java.lang.Object title_; /** + * + * *
      * The localized title of the update package.
      * 
* * string title = 1; + * * @return The title. */ @java.lang.Override @@ -11184,29 +12751,29 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** + * + * *
      * The localized title of the update package.
      * 
* * string title = 1; + * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -11217,11 +12784,14 @@ public java.lang.String getTitle() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
      * The localized description of the update package.
      * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -11230,29 +12800,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * The localized description of the update package.
      * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -11261,99 +12831,136 @@ public java.lang.String getDescription() { } public static final int CATEGORIES_FIELD_NUMBER = 3; - private java.util.List categories_; + private java.util.List< + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory> + categories_; /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ @java.lang.Override - public java.util.List getCategoriesList() { + public java.util.List< + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory> + getCategoriesList() { return categories_; } /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategoryOrBuilder> getCategoriesOrBuilderList() { return categories_; } /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ @java.lang.Override public int getCategoriesCount() { return categories_.size(); } /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getCategories(int index) { + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + getCategories(int index) { return categories_.get(index); } /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder getCategoriesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategoryOrBuilder + getCategoriesOrBuilder(int index) { return categories_.get(index); } public static final int KB_ARTICLE_IDS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList kbArticleIds_; /** + * + * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; + * * @return A list containing the kbArticleIds. */ - public com.google.protobuf.ProtocolStringList - getKbArticleIdsList() { + public com.google.protobuf.ProtocolStringList getKbArticleIdsList() { return kbArticleIds_; } /** + * + * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; + * * @return The count of kbArticleIds. */ public int getKbArticleIdsCount() { return kbArticleIds_.size(); } /** + * + * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; + * * @param index The index of the element to return. * @return The kbArticleIds at the given index. */ @@ -11361,28 +12968,33 @@ public java.lang.String getKbArticleIds(int index) { return kbArticleIds_.get(index); } /** + * + * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; + * * @param index The index of the value to return. * @return The bytes of the kbArticleIds at the given index. */ - public com.google.protobuf.ByteString - getKbArticleIdsBytes(int index) { + public com.google.protobuf.ByteString getKbArticleIdsBytes(int index) { return kbArticleIds_.getByteString(index); } public static final int SUPPORT_URL_FIELD_NUMBER = 11; private volatile java.lang.Object supportUrl_; /** + * + * *
      * A hyperlink to the language-specific support information for the update.
      * 
* * string support_url = 11; + * * @return The supportUrl. */ @java.lang.Override @@ -11391,29 +13003,29 @@ public java.lang.String getSupportUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); supportUrl_ = s; return s; } } /** + * + * *
      * A hyperlink to the language-specific support information for the update.
      * 
* * string support_url = 11; + * * @return The bytes for supportUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getSupportUrlBytes() { + public com.google.protobuf.ByteString getSupportUrlBytes() { java.lang.Object ref = supportUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); supportUrl_ = b; return b; } else { @@ -11424,37 +13036,45 @@ public java.lang.String getSupportUrl() { public static final int MORE_INFO_URLS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList moreInfoUrls_; /** + * + * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; + * * @return A list containing the moreInfoUrls. */ - public com.google.protobuf.ProtocolStringList - getMoreInfoUrlsList() { + public com.google.protobuf.ProtocolStringList getMoreInfoUrlsList() { return moreInfoUrls_; } /** + * + * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; + * * @return The count of moreInfoUrls. */ public int getMoreInfoUrlsCount() { return moreInfoUrls_.size(); } /** + * + * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; + * * @param index The index of the element to return. * @return The moreInfoUrls at the given index. */ @@ -11462,29 +13082,34 @@ public java.lang.String getMoreInfoUrls(int index) { return moreInfoUrls_.get(index); } /** + * + * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; + * * @param index The index of the value to return. * @return The bytes of the moreInfoUrls at the given index. */ - public com.google.protobuf.ByteString - getMoreInfoUrlsBytes(int index) { + public com.google.protobuf.ByteString getMoreInfoUrlsBytes(int index) { return moreInfoUrls_.getByteString(index); } public static final int UPDATE_ID_FIELD_NUMBER = 6; private volatile java.lang.Object updateId_; /** + * + * *
      * Gets the identifier of an update package.  Stays the same across
      * revisions.
      * 
* * string update_id = 6; + * * @return The updateId. */ @java.lang.Override @@ -11493,30 +13118,30 @@ public java.lang.String getUpdateId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); updateId_ = s; return s; } } /** + * + * *
      * Gets the identifier of an update package.  Stays the same across
      * revisions.
      * 
* * string update_id = 6; + * * @return The bytes for updateId. */ @java.lang.Override - public com.google.protobuf.ByteString - getUpdateIdBytes() { + public com.google.protobuf.ByteString getUpdateIdBytes() { java.lang.Object ref = updateId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); updateId_ = b; return b; } else { @@ -11527,11 +13152,14 @@ public java.lang.String getUpdateId() { public static final int REVISION_NUMBER_FIELD_NUMBER = 7; private int revisionNumber_; /** + * + * *
      * The revision number of this update package.
      * 
* * int32 revision_number = 7; + * * @return The revisionNumber. */ @java.lang.Override @@ -11542,11 +13170,14 @@ public int getRevisionNumber() { public static final int LAST_DEPLOYMENT_CHANGE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp lastDeploymentChangeTime_; /** + * + * *
      * The last published date of the update, in (UTC) date and time.
      * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; + * * @return Whether the lastDeploymentChangeTime field is set. */ @java.lang.Override @@ -11554,18 +13185,25 @@ public boolean hasLastDeploymentChangeTime() { return lastDeploymentChangeTime_ != null; } /** + * + * *
      * The last published date of the update, in (UTC) date and time.
      * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; + * * @return The lastDeploymentChangeTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastDeploymentChangeTime() { - return lastDeploymentChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastDeploymentChangeTime_; + return lastDeploymentChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastDeploymentChangeTime_; } /** + * + * *
      * The last published date of the update, in (UTC) date and time.
      * 
@@ -11578,6 +13216,7 @@ public com.google.protobuf.TimestampOrBuilder getLastDeploymentChangeTimeOrBuild } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11589,8 +13228,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, title_); } @@ -11634,8 +13272,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } for (int i = 0; i < categories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, categories_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, categories_.get(i)); } { int dataSize = 0; @@ -11657,12 +13294,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, updateId_); } if (revisionNumber_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, revisionNumber_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, revisionNumber_); } if (lastDeploymentChangeTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getLastDeploymentChangeTime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, getLastDeploymentChangeTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(supportUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, supportUrl_); @@ -11675,33 +13312,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage other = (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) obj; - - if (!getTitle() - .equals(other.getTitle())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getCategoriesList() - .equals(other.getCategoriesList())) return false; - if (!getKbArticleIdsList() - .equals(other.getKbArticleIdsList())) return false; - if (!getSupportUrl() - .equals(other.getSupportUrl())) return false; - if (!getMoreInfoUrlsList() - .equals(other.getMoreInfoUrlsList())) return false; - if (!getUpdateId() - .equals(other.getUpdateId())) return false; - if (getRevisionNumber() - != other.getRevisionNumber()) return false; + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage other = + (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) obj; + + if (!getTitle().equals(other.getTitle())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getCategoriesList().equals(other.getCategoriesList())) return false; + if (!getKbArticleIdsList().equals(other.getKbArticleIdsList())) return false; + if (!getSupportUrl().equals(other.getSupportUrl())) return false; + if (!getMoreInfoUrlsList().equals(other.getMoreInfoUrlsList())) return false; + if (!getUpdateId().equals(other.getUpdateId())) return false; + if (getRevisionNumber() != other.getRevisionNumber()) return false; if (hasLastDeploymentChangeTime() != other.hasLastDeploymentChangeTime()) return false; if (hasLastDeploymentChangeTime()) { - if (!getLastDeploymentChangeTime() - .equals(other.getLastDeploymentChangeTime())) return false; + if (!getLastDeploymentChangeTime().equals(other.getLastDeploymentChangeTime())) + return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -11746,87 +13376,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage 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.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11836,6 +13473,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Details related to a Windows Update package.
      * Field data and names are taken from Windows Update API IUpdate Interface:
@@ -11846,21 +13485,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage)
         com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackageOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.Inventories
+            .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.Inventories
+            .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.class, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder.class);
+                com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.class,
+                com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.newBuilder()
@@ -11868,17 +13510,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getCategoriesFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -11912,13 +13554,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.Inventories
+            .internal_static_google_cloud_osconfig_v1_Inventory_WindowsUpdatePackage_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage
+          getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.getDefaultInstance();
       }
 
@@ -11933,7 +13576,8 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage buildPartial() {
-        com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage result = new com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage(this);
+        com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage result =
+            new com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage(this);
         int from_bitField0_ = bitField0_;
         result.title_ = title_;
         result.description_ = description_;
@@ -11972,38 +13616,41 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage buildPartial(
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.Inventory.WindowsUpdatePackage) {
-          return mergeFrom((com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -12011,7 +13658,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage other) {
-        if (other == com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.getDefaultInstance()) return this;
+        if (other
+            == com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.getDefaultInstance())
+          return this;
         if (!other.getTitle().isEmpty()) {
           title_ = other.title_;
           onChanged();
@@ -12038,9 +13687,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePac
               categoriesBuilder_ = null;
               categories_ = other.categories_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              categoriesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getCategoriesFieldBuilder() : null;
+              categoriesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getCategoriesFieldBuilder()
+                      : null;
             } else {
               categoriesBuilder_.addAllMessages(other.categories_);
             }
@@ -12099,7 +13749,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -12108,22 +13760,25 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object title_ = "";
       /**
+       *
+       *
        * 
        * The localized title of the update package.
        * 
* * string title = 1; + * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -12132,20 +13787,21 @@ public java.lang.String getTitle() { } } /** + * + * *
        * The localized title of the update package.
        * 
* * string title = 1; + * * @return The bytes for title. */ - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -12153,54 +13809,61 @@ public java.lang.String getTitle() { } } /** + * + * *
        * The localized title of the update package.
        * 
* * string title = 1; + * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle( - java.lang.String value) { + public Builder setTitle(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** + * + * *
        * The localized title of the update package.
        * 
* * string title = 1; + * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** + * + * *
        * The localized title of the update package.
        * 
* * string title = 1; + * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes( - com.google.protobuf.ByteString value) { + public Builder setTitleBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -12208,18 +13871,20 @@ public Builder setTitleBytes( private java.lang.Object description_ = ""; /** + * + * *
        * The localized description of the update package.
        * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -12228,20 +13893,21 @@ public java.lang.String getDescription() { } } /** + * + * *
        * The localized description of the update package.
        * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -12249,79 +13915,102 @@ public java.lang.String getDescription() { } } /** + * + * *
        * The localized description of the update package.
        * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
        * The localized description of the update package.
        * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
        * The localized description of the update package.
        * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private java.util.List categories_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory> + categories_ = java.util.Collections.emptyList(); + private void ensureCategoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - categories_ = new java.util.ArrayList(categories_); + categories_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory>(categories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder> categoriesBuilder_; + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory, + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .Builder, + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategoryOrBuilder> + categoriesBuilder_; /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - public java.util.List getCategoriesList() { + public java.util.List< + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory> + getCategoriesList() { if (categoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(categories_); } else { @@ -12329,11 +14018,15 @@ public java.util.List * The categories that are associated with this update package. *
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ public int getCategoriesCount() { if (categoriesBuilder_ == null) { @@ -12343,13 +14036,18 @@ public int getCategoriesCount() { } } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getCategories(int index) { + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + getCategories(int index) { if (categoriesBuilder_ == null) { return categories_.get(index); } else { @@ -12357,14 +14055,19 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdate } } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ public Builder setCategories( - int index, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory value) { + int index, + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory value) { if (categoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12378,14 +14081,20 @@ public Builder setCategories( return this; } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ public Builder setCategories( - int index, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder + builderForValue) { if (categoriesBuilder_ == null) { ensureCategoriesIsMutable(); categories_.set(index, builderForValue.build()); @@ -12396,13 +14105,18 @@ public Builder setCategories( return this; } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - public Builder addCategories(com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory value) { + public Builder addCategories( + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory value) { if (categoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12416,14 +14130,19 @@ public Builder addCategories(com.google.cloud.osconfig.v1.Inventory.WindowsUpdat return this; } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ public Builder addCategories( - int index, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory value) { + int index, + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory value) { if (categoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12437,14 +14156,19 @@ public Builder addCategories( return this; } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ public Builder addCategories( - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue) { + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder + builderForValue) { if (categoriesBuilder_ == null) { ensureCategoriesIsMutable(); categories_.add(builderForValue.build()); @@ -12455,14 +14179,20 @@ public Builder addCategories( return this; } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ public Builder addCategories( - int index, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder + builderForValue) { if (categoriesBuilder_ == null) { ensureCategoriesIsMutable(); categories_.add(index, builderForValue.build()); @@ -12473,18 +14203,25 @@ public Builder addCategories( return this; } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ public Builder addAllCategories( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory> + values) { if (categoriesBuilder_ == null) { ensureCategoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, categories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categories_); onChanged(); } else { categoriesBuilder_.addAllMessages(values); @@ -12492,11 +14229,15 @@ public Builder addAllCategories( return this; } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ public Builder clearCategories() { if (categoriesBuilder_ == null) { @@ -12509,11 +14250,15 @@ public Builder clearCategories() { return this; } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ public Builder removeCategories(int index) { if (categoriesBuilder_ == null) { @@ -12526,39 +14271,57 @@ public Builder removeCategories(int index) { return this; } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder getCategoriesBuilder( - int index) { + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .Builder + getCategoriesBuilder(int index) { return getCategoriesFieldBuilder().getBuilder(index); } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder getCategoriesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategoryOrBuilder + getCategoriesOrBuilder(int index) { if (categoriesBuilder_ == null) { - return categories_.get(index); } else { + return categories_.get(index); + } else { return categoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - public java.util.List - getCategoriesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategoryOrBuilder> + getCategoriesOrBuilderList() { if (categoriesBuilder_ != null) { return categoriesBuilder_.getMessageOrBuilderList(); } else { @@ -12566,93 +14329,132 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdate } } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder addCategoriesBuilder() { - return getCategoriesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.getDefaultInstance()); + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .Builder + addCategoriesBuilder() { + return getCategoriesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .getDefaultInstance()); } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder addCategoriesBuilder( - int index) { - return getCategoriesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.getDefaultInstance()); + public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .Builder + addCategoriesBuilder(int index) { + return getCategoriesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .getDefaultInstance()); } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - public java.util.List - getCategoriesBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .Builder> + getCategoriesBuilderList() { return getCategoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder> + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory, + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .Builder, + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategoryOrBuilder> getCategoriesFieldBuilder() { if (categoriesBuilder_ == null) { - categoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder, com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder>( - categories_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + categoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory, + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .Builder, + com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + .WindowsUpdateCategoryOrBuilder>( + categories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); categories_ = null; } return categoriesBuilder_; } - private com.google.protobuf.LazyStringList kbArticleIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList kbArticleIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureKbArticleIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { kbArticleIds_ = new com.google.protobuf.LazyStringArrayList(kbArticleIds_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; + * * @return A list containing the kbArticleIds. */ - public com.google.protobuf.ProtocolStringList - getKbArticleIdsList() { + public com.google.protobuf.ProtocolStringList getKbArticleIdsList() { return kbArticleIds_.getUnmodifiableView(); } /** + * + * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; + * * @return The count of kbArticleIds. */ public int getKbArticleIdsCount() { return kbArticleIds_.size(); } /** + * + * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; + * * @param index The index of the element to return. * @return The kbArticleIds at the given index. */ @@ -12660,85 +14462,95 @@ public java.lang.String getKbArticleIds(int index) { return kbArticleIds_.get(index); } /** + * + * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; + * * @param index The index of the value to return. * @return The bytes of the kbArticleIds at the given index. */ - public com.google.protobuf.ByteString - getKbArticleIdsBytes(int index) { + public com.google.protobuf.ByteString getKbArticleIdsBytes(int index) { return kbArticleIds_.getByteString(index); } /** + * + * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; + * * @param index The index to set the value at. * @param value The kbArticleIds to set. * @return This builder for chaining. */ - public Builder setKbArticleIds( - int index, java.lang.String value) { + public Builder setKbArticleIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKbArticleIdsIsMutable(); + throw new NullPointerException(); + } + ensureKbArticleIdsIsMutable(); kbArticleIds_.set(index, value); onChanged(); return this; } /** + * + * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; + * * @param value The kbArticleIds to add. * @return This builder for chaining. */ - public Builder addKbArticleIds( - java.lang.String value) { + public Builder addKbArticleIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKbArticleIdsIsMutable(); + throw new NullPointerException(); + } + ensureKbArticleIdsIsMutable(); kbArticleIds_.add(value); onChanged(); return this; } /** + * + * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; + * * @param values The kbArticleIds to add. * @return This builder for chaining. */ - public Builder addAllKbArticleIds( - java.lang.Iterable values) { + public Builder addAllKbArticleIds(java.lang.Iterable values) { ensureKbArticleIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, kbArticleIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kbArticleIds_); onChanged(); return this; } /** + * + * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; + * * @return This builder for chaining. */ public Builder clearKbArticleIds() { @@ -12748,21 +14560,23 @@ public Builder clearKbArticleIds() { return this; } /** + * + * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; + * * @param value The bytes of the kbArticleIds to add. * @return This builder for chaining. */ - public Builder addKbArticleIdsBytes( - com.google.protobuf.ByteString value) { + public Builder addKbArticleIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureKbArticleIdsIsMutable(); kbArticleIds_.add(value); onChanged(); @@ -12771,18 +14585,20 @@ public Builder addKbArticleIdsBytes( private java.lang.Object supportUrl_ = ""; /** + * + * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; + * * @return The supportUrl. */ public java.lang.String getSupportUrl() { java.lang.Object ref = supportUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); supportUrl_ = s; return s; @@ -12791,20 +14607,21 @@ public java.lang.String getSupportUrl() { } } /** + * + * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; + * * @return The bytes for supportUrl. */ - public com.google.protobuf.ByteString - getSupportUrlBytes() { + public com.google.protobuf.ByteString getSupportUrlBytes() { java.lang.Object ref = supportUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); supportUrl_ = b; return b; } else { @@ -12812,98 +14629,115 @@ public java.lang.String getSupportUrl() { } } /** + * + * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; + * * @param value The supportUrl to set. * @return This builder for chaining. */ - public Builder setSupportUrl( - java.lang.String value) { + public Builder setSupportUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + supportUrl_ = value; onChanged(); return this; } /** + * + * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; + * * @return This builder for chaining. */ public Builder clearSupportUrl() { - + supportUrl_ = getDefaultInstance().getSupportUrl(); onChanged(); return this; } /** + * + * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; + * * @param value The bytes for supportUrl to set. * @return This builder for chaining. */ - public Builder setSupportUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setSupportUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + supportUrl_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList moreInfoUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList moreInfoUrls_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureMoreInfoUrlsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { moreInfoUrls_ = new com.google.protobuf.LazyStringArrayList(moreInfoUrls_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; + * * @return A list containing the moreInfoUrls. */ - public com.google.protobuf.ProtocolStringList - getMoreInfoUrlsList() { + public com.google.protobuf.ProtocolStringList getMoreInfoUrlsList() { return moreInfoUrls_.getUnmodifiableView(); } /** + * + * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; + * * @return The count of moreInfoUrls. */ public int getMoreInfoUrlsCount() { return moreInfoUrls_.size(); } /** + * + * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; + * * @param index The index of the element to return. * @return The moreInfoUrls at the given index. */ @@ -12911,85 +14745,95 @@ public java.lang.String getMoreInfoUrls(int index) { return moreInfoUrls_.get(index); } /** + * + * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; + * * @param index The index of the value to return. * @return The bytes of the moreInfoUrls at the given index. */ - public com.google.protobuf.ByteString - getMoreInfoUrlsBytes(int index) { + public com.google.protobuf.ByteString getMoreInfoUrlsBytes(int index) { return moreInfoUrls_.getByteString(index); } /** + * + * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; + * * @param index The index to set the value at. * @param value The moreInfoUrls to set. * @return This builder for chaining. */ - public Builder setMoreInfoUrls( - int index, java.lang.String value) { + public Builder setMoreInfoUrls(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMoreInfoUrlsIsMutable(); + throw new NullPointerException(); + } + ensureMoreInfoUrlsIsMutable(); moreInfoUrls_.set(index, value); onChanged(); return this; } /** + * + * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; + * * @param value The moreInfoUrls to add. * @return This builder for chaining. */ - public Builder addMoreInfoUrls( - java.lang.String value) { + public Builder addMoreInfoUrls(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMoreInfoUrlsIsMutable(); + throw new NullPointerException(); + } + ensureMoreInfoUrlsIsMutable(); moreInfoUrls_.add(value); onChanged(); return this; } /** + * + * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; + * * @param values The moreInfoUrls to add. * @return This builder for chaining. */ - public Builder addAllMoreInfoUrls( - java.lang.Iterable values) { + public Builder addAllMoreInfoUrls(java.lang.Iterable values) { ensureMoreInfoUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, moreInfoUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, moreInfoUrls_); onChanged(); return this; } /** + * + * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; + * * @return This builder for chaining. */ public Builder clearMoreInfoUrls() { @@ -12999,21 +14843,23 @@ public Builder clearMoreInfoUrls() { return this; } /** + * + * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; + * * @param value The bytes of the moreInfoUrls to add. * @return This builder for chaining. */ - public Builder addMoreInfoUrlsBytes( - com.google.protobuf.ByteString value) { + public Builder addMoreInfoUrlsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMoreInfoUrlsIsMutable(); moreInfoUrls_.add(value); onChanged(); @@ -13022,19 +14868,21 @@ public Builder addMoreInfoUrlsBytes( private java.lang.Object updateId_ = ""; /** + * + * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; + * * @return The updateId. */ public java.lang.String getUpdateId() { java.lang.Object ref = updateId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); updateId_ = s; return s; @@ -13043,21 +14891,22 @@ public java.lang.String getUpdateId() { } } /** + * + * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; + * * @return The bytes for updateId. */ - public com.google.protobuf.ByteString - getUpdateIdBytes() { + public com.google.protobuf.ByteString getUpdateIdBytes() { java.lang.Object ref = updateId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); updateId_ = b; return b; } else { @@ -13065,69 +14914,79 @@ public java.lang.String getUpdateId() { } } /** + * + * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; + * * @param value The updateId to set. * @return This builder for chaining. */ - public Builder setUpdateId( - java.lang.String value) { + public Builder setUpdateId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + updateId_ = value; onChanged(); return this; } /** + * + * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; + * * @return This builder for chaining. */ public Builder clearUpdateId() { - + updateId_ = getDefaultInstance().getUpdateId(); onChanged(); return this; } /** + * + * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; + * * @param value The bytes for updateId to set. * @return This builder for chaining. */ - public Builder setUpdateIdBytes( - com.google.protobuf.ByteString value) { + public Builder setUpdateIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + updateId_ = value; onChanged(); return this; } - private int revisionNumber_ ; + private int revisionNumber_; /** + * + * *
        * The revision number of this update package.
        * 
* * int32 revision_number = 7; + * * @return The revisionNumber. */ @java.lang.Override @@ -13135,30 +14994,36 @@ public int getRevisionNumber() { return revisionNumber_; } /** + * + * *
        * The revision number of this update package.
        * 
* * int32 revision_number = 7; + * * @param value The revisionNumber to set. * @return This builder for chaining. */ public Builder setRevisionNumber(int value) { - + revisionNumber_ = value; onChanged(); return this; } /** + * + * *
        * The revision number of this update package.
        * 
* * int32 revision_number = 7; + * * @return This builder for chaining. */ public Builder clearRevisionNumber() { - + revisionNumber_ = 0; onChanged(); return this; @@ -13166,34 +15031,47 @@ public Builder clearRevisionNumber() { private com.google.protobuf.Timestamp lastDeploymentChangeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastDeploymentChangeTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastDeploymentChangeTimeBuilder_; /** + * + * *
        * The last published date of the update, in (UTC) date and time.
        * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; + * * @return Whether the lastDeploymentChangeTime field is set. */ public boolean hasLastDeploymentChangeTime() { return lastDeploymentChangeTimeBuilder_ != null || lastDeploymentChangeTime_ != null; } /** + * + * *
        * The last published date of the update, in (UTC) date and time.
        * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; + * * @return The lastDeploymentChangeTime. */ public com.google.protobuf.Timestamp getLastDeploymentChangeTime() { if (lastDeploymentChangeTimeBuilder_ == null) { - return lastDeploymentChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastDeploymentChangeTime_; + return lastDeploymentChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastDeploymentChangeTime_; } else { return lastDeploymentChangeTimeBuilder_.getMessage(); } } /** + * + * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -13214,6 +15092,8 @@ public Builder setLastDeploymentChangeTime(com.google.protobuf.Timestamp value) return this; } /** + * + * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -13232,6 +15112,8 @@ public Builder setLastDeploymentChangeTime( return this; } /** + * + * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -13242,7 +15124,9 @@ public Builder mergeLastDeploymentChangeTime(com.google.protobuf.Timestamp value if (lastDeploymentChangeTimeBuilder_ == null) { if (lastDeploymentChangeTime_ != null) { lastDeploymentChangeTime_ = - com.google.protobuf.Timestamp.newBuilder(lastDeploymentChangeTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastDeploymentChangeTime_) + .mergeFrom(value) + .buildPartial(); } else { lastDeploymentChangeTime_ = value; } @@ -13254,6 +15138,8 @@ public Builder mergeLastDeploymentChangeTime(com.google.protobuf.Timestamp value return this; } /** + * + * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -13272,6 +15158,8 @@ public Builder clearLastDeploymentChangeTime() { return this; } /** + * + * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -13279,11 +15167,13 @@ public Builder clearLastDeploymentChangeTime() { * .google.protobuf.Timestamp last_deployment_change_time = 10; */ public com.google.protobuf.Timestamp.Builder getLastDeploymentChangeTimeBuilder() { - + onChanged(); return getLastDeploymentChangeTimeFieldBuilder().getBuilder(); } /** + * + * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -13294,11 +15184,14 @@ public com.google.protobuf.TimestampOrBuilder getLastDeploymentChangeTimeOrBuild if (lastDeploymentChangeTimeBuilder_ != null) { return lastDeploymentChangeTimeBuilder_.getMessageOrBuilder(); } else { - return lastDeploymentChangeTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : lastDeploymentChangeTime_; + return lastDeploymentChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastDeploymentChangeTime_; } } /** + * + * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -13306,18 +15199,22 @@ public com.google.protobuf.TimestampOrBuilder getLastDeploymentChangeTimeOrBuild * .google.protobuf.Timestamp last_deployment_change_time = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getLastDeploymentChangeTimeFieldBuilder() { if (lastDeploymentChangeTimeBuilder_ == null) { - lastDeploymentChangeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLastDeploymentChangeTime(), - getParentForChildren(), - isClean()); + lastDeploymentChangeTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastDeploymentChangeTime(), getParentForChildren(), isClean()); lastDeploymentChangeTime_ = null; } return lastDeploymentChangeTimeBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13330,12 +15227,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage) - private static final com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage(); } @@ -13344,16 +15242,16 @@ public static com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsUpdatePackage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsUpdatePackage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsUpdatePackage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsUpdatePackage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13368,92 +15266,115 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface WindowsQuickFixEngineeringPackageOrBuilder extends + public interface WindowsQuickFixEngineeringPackageOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A short textual description of the QFE update.
      * 
* * string caption = 1; + * * @return The caption. */ java.lang.String getCaption(); /** + * + * *
      * A short textual description of the QFE update.
      * 
* * string caption = 1; + * * @return The bytes for caption. */ - com.google.protobuf.ByteString - getCaptionBytes(); + com.google.protobuf.ByteString getCaptionBytes(); /** + * + * *
      * A textual description of the QFE update.
      * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * A textual description of the QFE update.
      * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * Unique identifier associated with a particular QFE update.
      * 
* * string hot_fix_id = 3; + * * @return The hotFixId. */ java.lang.String getHotFixId(); /** + * + * *
      * Unique identifier associated with a particular QFE update.
      * 
* * string hot_fix_id = 3; + * * @return The bytes for hotFixId. */ - com.google.protobuf.ByteString - getHotFixIdBytes(); + com.google.protobuf.ByteString getHotFixIdBytes(); /** + * + * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
* * .google.protobuf.Timestamp install_time = 5; + * * @return Whether the installTime field is set. */ boolean hasInstallTime(); /** + * + * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
* * .google.protobuf.Timestamp install_time = 5; + * * @return The installTime. */ com.google.protobuf.Timestamp getInstallTime(); /** + * + * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
@@ -13463,6 +15384,8 @@ public interface WindowsQuickFixEngineeringPackageOrBuilder extends com.google.protobuf.TimestampOrBuilder getInstallTimeOrBuilder(); } /** + * + * *
    * Information related to a Quick Fix Engineering package.
    * Fields are taken from Windows QuickFixEngineering Interface and match
@@ -13472,15 +15395,18 @@ public interface WindowsQuickFixEngineeringPackageOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage}
    */
-  public static final class WindowsQuickFixEngineeringPackage extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class WindowsQuickFixEngineeringPackage
+      extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage)
       WindowsQuickFixEngineeringPackageOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use WindowsQuickFixEngineeringPackage.newBuilder() to construct.
-    private WindowsQuickFixEngineeringPackage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+    private WindowsQuickFixEngineeringPackage(
+        com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private WindowsQuickFixEngineeringPackage() {
       caption_ = "";
       description_ = "";
@@ -13489,16 +15415,15 @@ private WindowsQuickFixEngineeringPackage() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new WindowsQuickFixEngineeringPackage();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private WindowsQuickFixEngineeringPackage(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -13517,44 +15442,49 @@ private WindowsQuickFixEngineeringPackage(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              caption_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
+                caption_ = s;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              hotFixId_ = s;
-              break;
-            }
-            case 42: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (installTime_ != null) {
-                subBuilder = installTime_.toBuilder();
+                description_ = s;
+                break;
               }
-              installTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(installTime_);
-                installTime_ = subBuilder.buildPartial();
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+
+                hotFixId_ = s;
+                break;
               }
+            case 42:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (installTime_ != null) {
+                  subBuilder = installTime_.toBuilder();
+                }
+                installTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(installTime_);
+                  installTime_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -13562,34 +15492,40 @@ private WindowsQuickFixEngineeringPackage(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.Inventories
+          .internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.Inventories
+          .internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.class, com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder.class);
+              com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.class,
+              com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder
+                  .class);
     }
 
     public static final int CAPTION_FIELD_NUMBER = 1;
     private volatile java.lang.Object caption_;
     /**
+     *
+     *
      * 
      * A short textual description of the QFE update.
      * 
* * string caption = 1; + * * @return The caption. */ @java.lang.Override @@ -13598,29 +15534,29 @@ public java.lang.String getCaption() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caption_ = s; return s; } } /** + * + * *
      * A short textual description of the QFE update.
      * 
* * string caption = 1; + * * @return The bytes for caption. */ @java.lang.Override - public com.google.protobuf.ByteString - getCaptionBytes() { + public com.google.protobuf.ByteString getCaptionBytes() { java.lang.Object ref = caption_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); caption_ = b; return b; } else { @@ -13631,11 +15567,14 @@ public java.lang.String getCaption() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
      * A textual description of the QFE update.
      * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -13644,29 +15583,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * A textual description of the QFE update.
      * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -13677,11 +15616,14 @@ public java.lang.String getDescription() { public static final int HOT_FIX_ID_FIELD_NUMBER = 3; private volatile java.lang.Object hotFixId_; /** + * + * *
      * Unique identifier associated with a particular QFE update.
      * 
* * string hot_fix_id = 3; + * * @return The hotFixId. */ @java.lang.Override @@ -13690,29 +15632,29 @@ public java.lang.String getHotFixId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hotFixId_ = s; return s; } } /** + * + * *
      * Unique identifier associated with a particular QFE update.
      * 
* * string hot_fix_id = 3; + * * @return The bytes for hotFixId. */ @java.lang.Override - public com.google.protobuf.ByteString - getHotFixIdBytes() { + public com.google.protobuf.ByteString getHotFixIdBytes() { java.lang.Object ref = hotFixId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hotFixId_ = b; return b; } else { @@ -13723,11 +15665,14 @@ public java.lang.String getHotFixId() { public static final int INSTALL_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp installTime_; /** + * + * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
* * .google.protobuf.Timestamp install_time = 5; + * * @return Whether the installTime field is set. */ @java.lang.Override @@ -13735,18 +15680,25 @@ public boolean hasInstallTime() { return installTime_ != null; } /** + * + * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
* * .google.protobuf.Timestamp install_time = 5; + * * @return The installTime. */ @java.lang.Override public com.google.protobuf.Timestamp getInstallTime() { - return installTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : installTime_; + return installTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : installTime_; } /** + * + * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
@@ -13759,6 +15711,7 @@ public com.google.protobuf.TimestampOrBuilder getInstallTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13770,8 +15723,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(caption_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, caption_); } @@ -13803,8 +15755,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, hotFixId_); } if (installTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getInstallTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getInstallTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -13814,23 +15765,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage other = (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) obj; + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage other = + (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) obj; - if (!getCaption() - .equals(other.getCaption())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getHotFixId() - .equals(other.getHotFixId())) return false; + if (!getCaption().equals(other.getCaption())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getHotFixId().equals(other.getHotFixId())) return false; if (hasInstallTime() != other.hasInstallTime()) return false; if (hasInstallTime()) { - if (!getInstallTime() - .equals(other.getInstallTime())) return false; + if (!getInstallTime().equals(other.getInstallTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -13858,88 +15807,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + 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.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + 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.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage 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.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + 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.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage 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.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + 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.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -13949,6 +15911,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Information related to a Quick Fix Engineering package.
      * Fields are taken from Windows QuickFixEngineering Interface and match
@@ -13958,38 +15922,42 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage)
         com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackageOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.Inventories
+            .internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.Inventories
+            .internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.class, com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder.class);
+                com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.class,
+                com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.newBuilder()
+      // Construct using
+      // com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -14009,19 +15977,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.Inventories
+            .internal_static_google_cloud_osconfig_v1_Inventory_WindowsQuickFixEngineeringPackage_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage getDefaultInstanceForType() {
-        return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance();
+      public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage
+          getDefaultInstanceForType() {
+        return com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage build() {
-        com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage result = buildPartial();
+        com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -14029,8 +16000,10 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage buildPartial() {
-        com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage result = new com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage(this);
+      public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage
+          buildPartial() {
+        com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage result =
+            new com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage(this);
         result.caption_ = caption_;
         result.description_ = description_;
         result.hotFixId_ = hotFixId_;
@@ -14047,46 +16020,54 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) {
-          return mergeFrom((com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage)other);
+        if (other
+            instanceof com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) {
+          return mergeFrom(
+              (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage other) {
-        if (other == com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage other) {
+        if (other
+            == com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage
+                .getDefaultInstance()) return this;
         if (!other.getCaption().isEmpty()) {
           caption_ = other.caption_;
           onChanged();
@@ -14117,11 +16098,14 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parsedMessage = null;
+        com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage parsedMessage =
+            null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -14133,18 +16117,20 @@ public Builder mergeFrom(
 
       private java.lang.Object caption_ = "";
       /**
+       *
+       *
        * 
        * A short textual description of the QFE update.
        * 
* * string caption = 1; + * * @return The caption. */ public java.lang.String getCaption() { java.lang.Object ref = caption_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caption_ = s; return s; @@ -14153,20 +16139,21 @@ public java.lang.String getCaption() { } } /** + * + * *
        * A short textual description of the QFE update.
        * 
* * string caption = 1; + * * @return The bytes for caption. */ - public com.google.protobuf.ByteString - getCaptionBytes() { + public com.google.protobuf.ByteString getCaptionBytes() { java.lang.Object ref = caption_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); caption_ = b; return b; } else { @@ -14174,54 +16161,61 @@ public java.lang.String getCaption() { } } /** + * + * *
        * A short textual description of the QFE update.
        * 
* * string caption = 1; + * * @param value The caption to set. * @return This builder for chaining. */ - public Builder setCaption( - java.lang.String value) { + public Builder setCaption(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + caption_ = value; onChanged(); return this; } /** + * + * *
        * A short textual description of the QFE update.
        * 
* * string caption = 1; + * * @return This builder for chaining. */ public Builder clearCaption() { - + caption_ = getDefaultInstance().getCaption(); onChanged(); return this; } /** + * + * *
        * A short textual description of the QFE update.
        * 
* * string caption = 1; + * * @param value The bytes for caption to set. * @return This builder for chaining. */ - public Builder setCaptionBytes( - com.google.protobuf.ByteString value) { + public Builder setCaptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + caption_ = value; onChanged(); return this; @@ -14229,18 +16223,20 @@ public Builder setCaptionBytes( private java.lang.Object description_ = ""; /** + * + * *
        * A textual description of the QFE update.
        * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -14249,20 +16245,21 @@ public java.lang.String getDescription() { } } /** + * + * *
        * A textual description of the QFE update.
        * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -14270,54 +16267,61 @@ public java.lang.String getDescription() { } } /** + * + * *
        * A textual description of the QFE update.
        * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
        * A textual description of the QFE update.
        * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
        * A textual description of the QFE update.
        * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -14325,18 +16329,20 @@ public Builder setDescriptionBytes( private java.lang.Object hotFixId_ = ""; /** + * + * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; + * * @return The hotFixId. */ public java.lang.String getHotFixId() { java.lang.Object ref = hotFixId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hotFixId_ = s; return s; @@ -14345,20 +16351,21 @@ public java.lang.String getHotFixId() { } } /** + * + * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; + * * @return The bytes for hotFixId. */ - public com.google.protobuf.ByteString - getHotFixIdBytes() { + public com.google.protobuf.ByteString getHotFixIdBytes() { java.lang.Object ref = hotFixId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hotFixId_ = b; return b; } else { @@ -14366,54 +16373,61 @@ public java.lang.String getHotFixId() { } } /** + * + * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; + * * @param value The hotFixId to set. * @return This builder for chaining. */ - public Builder setHotFixId( - java.lang.String value) { + public Builder setHotFixId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hotFixId_ = value; onChanged(); return this; } /** + * + * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; + * * @return This builder for chaining. */ public Builder clearHotFixId() { - + hotFixId_ = getDefaultInstance().getHotFixId(); onChanged(); return this; } /** + * + * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; + * * @param value The bytes for hotFixId to set. * @return This builder for chaining. */ - public Builder setHotFixIdBytes( - com.google.protobuf.ByteString value) { + public Builder setHotFixIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hotFixId_ = value; onChanged(); return this; @@ -14421,34 +16435,47 @@ public Builder setHotFixIdBytes( private com.google.protobuf.Timestamp installTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> installTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + installTimeBuilder_; /** + * + * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
* * .google.protobuf.Timestamp install_time = 5; + * * @return Whether the installTime field is set. */ public boolean hasInstallTime() { return installTimeBuilder_ != null || installTime_ != null; } /** + * + * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
* * .google.protobuf.Timestamp install_time = 5; + * * @return The installTime. */ public com.google.protobuf.Timestamp getInstallTime() { if (installTimeBuilder_ == null) { - return installTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : installTime_; + return installTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : installTime_; } else { return installTimeBuilder_.getMessage(); } } /** + * + * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -14469,14 +16496,15 @@ public Builder setInstallTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
* * .google.protobuf.Timestamp install_time = 5; */ - public Builder setInstallTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setInstallTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (installTimeBuilder_ == null) { installTime_ = builderForValue.build(); onChanged(); @@ -14487,6 +16515,8 @@ public Builder setInstallTime( return this; } /** + * + * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -14497,7 +16527,9 @@ public Builder mergeInstallTime(com.google.protobuf.Timestamp value) { if (installTimeBuilder_ == null) { if (installTime_ != null) { installTime_ = - com.google.protobuf.Timestamp.newBuilder(installTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(installTime_) + .mergeFrom(value) + .buildPartial(); } else { installTime_ = value; } @@ -14509,6 +16541,8 @@ public Builder mergeInstallTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -14527,6 +16561,8 @@ public Builder clearInstallTime() { return this; } /** + * + * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -14534,11 +16570,13 @@ public Builder clearInstallTime() { * .google.protobuf.Timestamp install_time = 5; */ public com.google.protobuf.Timestamp.Builder getInstallTimeBuilder() { - + onChanged(); return getInstallTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -14549,11 +16587,14 @@ public com.google.protobuf.TimestampOrBuilder getInstallTimeOrBuilder() { if (installTimeBuilder_ != null) { return installTimeBuilder_.getMessageOrBuilder(); } else { - return installTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : installTime_; + return installTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : installTime_; } } /** + * + * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -14561,18 +16602,22 @@ public com.google.protobuf.TimestampOrBuilder getInstallTimeOrBuilder() { * .google.protobuf.Timestamp install_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getInstallTimeFieldBuilder() { if (installTimeBuilder_ == null) { - installTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getInstallTime(), - getParentForChildren(), - isClean()); + installTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getInstallTime(), getParentForChildren(), isClean()); installTime_ = null; } return installTimeBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14585,30 +16630,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage) - private static final com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage(); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage getDefaultInstance() { + public static com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsQuickFixEngineeringPackage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsQuickFixEngineeringPackage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsQuickFixEngineeringPackage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsQuickFixEngineeringPackage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14620,77 +16668,95 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface WindowsApplicationOrBuilder extends + public interface WindowsApplicationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory.WindowsApplication) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The name of the application or product.
      * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
      * The name of the application or product.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
      * The version of the product or application in string format.
      * 
* * string display_version = 2; + * * @return The displayVersion. */ java.lang.String getDisplayVersion(); /** + * + * *
      * The version of the product or application in string format.
      * 
* * string display_version = 2; + * * @return The bytes for displayVersion. */ - com.google.protobuf.ByteString - getDisplayVersionBytes(); + com.google.protobuf.ByteString getDisplayVersionBytes(); /** + * + * *
      * The name of the manufacturer for the product or application.
      * 
* * string publisher = 3; + * * @return The publisher. */ java.lang.String getPublisher(); /** + * + * *
      * The name of the manufacturer for the product or application.
      * 
* * string publisher = 3; + * * @return The bytes for publisher. */ - com.google.protobuf.ByteString - getPublisherBytes(); + com.google.protobuf.ByteString getPublisherBytes(); /** + * + * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -14698,10 +16764,13 @@ public interface WindowsApplicationOrBuilder extends
      * 
* * .google.type.Date install_date = 4; + * * @return Whether the installDate field is set. */ boolean hasInstallDate(); /** + * + * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -14709,10 +16778,13 @@ public interface WindowsApplicationOrBuilder extends
      * 
* * .google.type.Date install_date = 4; + * * @return The installDate. */ com.google.type.Date getInstallDate(); /** + * + * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -14724,26 +16796,33 @@ public interface WindowsApplicationOrBuilder extends
     com.google.type.DateOrBuilder getInstallDateOrBuilder();
 
     /**
+     *
+     *
      * 
      * The internet address for technical support.
      * 
* * string help_link = 5; + * * @return The helpLink. */ java.lang.String getHelpLink(); /** + * + * *
      * The internet address for technical support.
      * 
* * string help_link = 5; + * * @return The bytes for helpLink. */ - com.google.protobuf.ByteString - getHelpLinkBytes(); + com.google.protobuf.ByteString getHelpLinkBytes(); } /** + * + * *
    * Contains information about a Windows application that is retrieved from the
    * Windows Registry. For more information about these fields, see:
@@ -14752,15 +16831,16 @@ public interface WindowsApplicationOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1.Inventory.WindowsApplication}
    */
-  public static final class WindowsApplication extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class WindowsApplication extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Inventory.WindowsApplication)
       WindowsApplicationOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use WindowsApplication.newBuilder() to construct.
     private WindowsApplication(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private WindowsApplication() {
       displayName_ = "";
       displayVersion_ = "";
@@ -14770,16 +16850,15 @@ private WindowsApplication() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new WindowsApplication();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private WindowsApplication(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -14798,50 +16877,55 @@ private WindowsApplication(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              displayName_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              displayVersion_ = s;
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
+                displayName_ = s;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              publisher_ = s;
-              break;
-            }
-            case 34: {
-              com.google.type.Date.Builder subBuilder = null;
-              if (installDate_ != null) {
-                subBuilder = installDate_.toBuilder();
+                displayVersion_ = s;
+                break;
               }
-              installDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(installDate_);
-                installDate_ = subBuilder.buildPartial();
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+
+                publisher_ = s;
+                break;
               }
+            case 34:
+              {
+                com.google.type.Date.Builder subBuilder = null;
+                if (installDate_ != null) {
+                  subBuilder = installDate_.toBuilder();
+                }
+                installDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(installDate_);
+                  installDate_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
+                break;
+              }
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              helpLink_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                helpLink_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -14849,34 +16933,39 @@ private WindowsApplication(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.Inventories
+          .internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.Inventories
+          .internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.Inventory.WindowsApplication.class, com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder.class);
+              com.google.cloud.osconfig.v1.Inventory.WindowsApplication.class,
+              com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder.class);
     }
 
     public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object displayName_;
     /**
+     *
+     *
      * 
      * The name of the application or product.
      * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -14885,29 +16974,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
      * The name of the application or product.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -14918,11 +17007,14 @@ public java.lang.String getDisplayName() { public static final int DISPLAY_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object displayVersion_; /** + * + * *
      * The version of the product or application in string format.
      * 
* * string display_version = 2; + * * @return The displayVersion. */ @java.lang.Override @@ -14931,29 +17023,29 @@ public java.lang.String getDisplayVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayVersion_ = s; return s; } } /** + * + * *
      * The version of the product or application in string format.
      * 
* * string display_version = 2; + * * @return The bytes for displayVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayVersionBytes() { + public com.google.protobuf.ByteString getDisplayVersionBytes() { java.lang.Object ref = displayVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayVersion_ = b; return b; } else { @@ -14964,11 +17056,14 @@ public java.lang.String getDisplayVersion() { public static final int PUBLISHER_FIELD_NUMBER = 3; private volatile java.lang.Object publisher_; /** + * + * *
      * The name of the manufacturer for the product or application.
      * 
* * string publisher = 3; + * * @return The publisher. */ @java.lang.Override @@ -14977,29 +17072,29 @@ public java.lang.String getPublisher() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publisher_ = s; return s; } } /** + * + * *
      * The name of the manufacturer for the product or application.
      * 
* * string publisher = 3; + * * @return The bytes for publisher. */ @java.lang.Override - public com.google.protobuf.ByteString - getPublisherBytes() { + public com.google.protobuf.ByteString getPublisherBytes() { java.lang.Object ref = publisher_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publisher_ = b; return b; } else { @@ -15010,6 +17105,8 @@ public java.lang.String getPublisher() { public static final int INSTALL_DATE_FIELD_NUMBER = 4; private com.google.type.Date installDate_; /** + * + * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -15017,6 +17114,7 @@ public java.lang.String getPublisher() {
      * 
* * .google.type.Date install_date = 4; + * * @return Whether the installDate field is set. */ @java.lang.Override @@ -15024,6 +17122,8 @@ public boolean hasInstallDate() { return installDate_ != null; } /** + * + * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -15031,6 +17131,7 @@ public boolean hasInstallDate() {
      * 
* * .google.type.Date install_date = 4; + * * @return The installDate. */ @java.lang.Override @@ -15038,6 +17139,8 @@ public com.google.type.Date getInstallDate() { return installDate_ == null ? com.google.type.Date.getDefaultInstance() : installDate_; } /** + * + * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -15054,11 +17157,14 @@ public com.google.type.DateOrBuilder getInstallDateOrBuilder() {
     public static final int HELP_LINK_FIELD_NUMBER = 5;
     private volatile java.lang.Object helpLink_;
     /**
+     *
+     *
      * 
      * The internet address for technical support.
      * 
* * string help_link = 5; + * * @return The helpLink. */ @java.lang.Override @@ -15067,29 +17173,29 @@ public java.lang.String getHelpLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); helpLink_ = s; return s; } } /** + * + * *
      * The internet address for technical support.
      * 
* * string help_link = 5; + * * @return The bytes for helpLink. */ @java.lang.Override - public com.google.protobuf.ByteString - getHelpLinkBytes() { + public com.google.protobuf.ByteString getHelpLinkBytes() { java.lang.Object ref = helpLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); helpLink_ = b; return b; } else { @@ -15098,6 +17204,7 @@ public java.lang.String getHelpLink() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15109,8 +17216,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -15145,8 +17251,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, publisher_); } if (installDate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getInstallDate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getInstallDate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(helpLink_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, helpLink_); @@ -15159,26 +17264,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory.WindowsApplication)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.Inventory.WindowsApplication other = (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) obj; + com.google.cloud.osconfig.v1.Inventory.WindowsApplication other = + (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDisplayVersion() - .equals(other.getDisplayVersion())) return false; - if (!getPublisher() - .equals(other.getPublisher())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDisplayVersion().equals(other.getDisplayVersion())) return false; + if (!getPublisher().equals(other.getPublisher())) return false; if (hasInstallDate() != other.hasInstallDate()) return false; if (hasInstallDate()) { - if (!getInstallDate() - .equals(other.getInstallDate())) return false; + if (!getInstallDate().equals(other.getInstallDate())) return false; } - if (!getHelpLink() - .equals(other.getHelpLink())) return false; + if (!getHelpLink().equals(other.getHelpLink())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -15208,87 +17309,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication 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.osconfig.v1.Inventory.WindowsApplication parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory.WindowsApplication prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.Inventory.WindowsApplication prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -15298,6 +17406,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Contains information about a Windows application that is retrieved from the
      * Windows Registry. For more information about these fields, see:
@@ -15306,21 +17416,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.Inventory.WindowsApplication}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory.WindowsApplication)
         com.google.cloud.osconfig.v1.Inventory.WindowsApplicationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.Inventories
+            .internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.Inventories
+            .internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.Inventory.WindowsApplication.class, com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder.class);
+                com.google.cloud.osconfig.v1.Inventory.WindowsApplication.class,
+                com.google.cloud.osconfig.v1.Inventory.WindowsApplication.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.Inventory.WindowsApplication.newBuilder()
@@ -15328,16 +17441,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -15359,9 +17471,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.Inventories
+            .internal_static_google_cloud_osconfig_v1_Inventory_WindowsApplication_descriptor;
       }
 
       @java.lang.Override
@@ -15380,7 +17492,8 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsApplication build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.Inventory.WindowsApplication buildPartial() {
-        com.google.cloud.osconfig.v1.Inventory.WindowsApplication result = new com.google.cloud.osconfig.v1.Inventory.WindowsApplication(this);
+        com.google.cloud.osconfig.v1.Inventory.WindowsApplication result =
+            new com.google.cloud.osconfig.v1.Inventory.WindowsApplication(this);
         result.displayName_ = displayName_;
         result.displayVersion_ = displayVersion_;
         result.publisher_ = publisher_;
@@ -15398,38 +17511,41 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsApplication buildPartial()
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.Inventory.WindowsApplication) {
-          return mergeFrom((com.google.cloud.osconfig.v1.Inventory.WindowsApplication)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.Inventory.WindowsApplication) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -15437,7 +17553,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory.WindowsApplication other) {
-        if (other == com.google.cloud.osconfig.v1.Inventory.WindowsApplication.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1.Inventory.WindowsApplication.getDefaultInstance())
+          return this;
         if (!other.getDisplayName().isEmpty()) {
           displayName_ = other.displayName_;
           onChanged();
@@ -15476,7 +17593,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.Inventory.WindowsApplication) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -15488,18 +17606,20 @@ public Builder mergeFrom(
 
       private java.lang.Object displayName_ = "";
       /**
+       *
+       *
        * 
        * The name of the application or product.
        * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -15508,20 +17628,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * The name of the application or product.
        * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -15529,54 +17650,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * The name of the application or product.
        * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
        * The name of the application or product.
        * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
        * The name of the application or product.
        * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -15584,18 +17712,20 @@ public Builder setDisplayNameBytes( private java.lang.Object displayVersion_ = ""; /** + * + * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; + * * @return The displayVersion. */ public java.lang.String getDisplayVersion() { java.lang.Object ref = displayVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayVersion_ = s; return s; @@ -15604,20 +17734,21 @@ public java.lang.String getDisplayVersion() { } } /** + * + * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; + * * @return The bytes for displayVersion. */ - public com.google.protobuf.ByteString - getDisplayVersionBytes() { + public com.google.protobuf.ByteString getDisplayVersionBytes() { java.lang.Object ref = displayVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayVersion_ = b; return b; } else { @@ -15625,54 +17756,61 @@ public java.lang.String getDisplayVersion() { } } /** + * + * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; + * * @param value The displayVersion to set. * @return This builder for chaining. */ - public Builder setDisplayVersion( - java.lang.String value) { + public Builder setDisplayVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayVersion_ = value; onChanged(); return this; } /** + * + * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; + * * @return This builder for chaining. */ public Builder clearDisplayVersion() { - + displayVersion_ = getDefaultInstance().getDisplayVersion(); onChanged(); return this; } /** + * + * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; + * * @param value The bytes for displayVersion to set. * @return This builder for chaining. */ - public Builder setDisplayVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayVersion_ = value; onChanged(); return this; @@ -15680,18 +17818,20 @@ public Builder setDisplayVersionBytes( private java.lang.Object publisher_ = ""; /** + * + * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; + * * @return The publisher. */ public java.lang.String getPublisher() { java.lang.Object ref = publisher_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publisher_ = s; return s; @@ -15700,20 +17840,21 @@ public java.lang.String getPublisher() { } } /** + * + * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; + * * @return The bytes for publisher. */ - public com.google.protobuf.ByteString - getPublisherBytes() { + public com.google.protobuf.ByteString getPublisherBytes() { java.lang.Object ref = publisher_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publisher_ = b; return b; } else { @@ -15721,54 +17862,61 @@ public java.lang.String getPublisher() { } } /** + * + * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; + * * @param value The publisher to set. * @return This builder for chaining. */ - public Builder setPublisher( - java.lang.String value) { + public Builder setPublisher(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + publisher_ = value; onChanged(); return this; } /** + * + * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; + * * @return This builder for chaining. */ public Builder clearPublisher() { - + publisher_ = getDefaultInstance().getPublisher(); onChanged(); return this; } /** + * + * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; + * * @param value The bytes for publisher to set. * @return This builder for chaining. */ - public Builder setPublisherBytes( - com.google.protobuf.ByteString value) { + public Builder setPublisherBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + publisher_ = value; onChanged(); return this; @@ -15776,8 +17924,11 @@ public Builder setPublisherBytes( private com.google.type.Date installDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> installDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + installDateBuilder_; /** + * + * *
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -15785,12 +17936,15 @@ public Builder setPublisherBytes(
        * 
* * .google.type.Date install_date = 4; + * * @return Whether the installDate field is set. */ public boolean hasInstallDate() { return installDateBuilder_ != null || installDate_ != null; } /** + * + * *
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -15798,6 +17952,7 @@ public boolean hasInstallDate() {
        * 
* * .google.type.Date install_date = 4; + * * @return The installDate. */ public com.google.type.Date getInstallDate() { @@ -15808,6 +17963,8 @@ public com.google.type.Date getInstallDate() { } } /** + * + * *
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -15830,6 +17987,8 @@ public Builder setInstallDate(com.google.type.Date value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -15838,8 +17997,7 @@ public Builder setInstallDate(com.google.type.Date value) {
        *
        * .google.type.Date install_date = 4;
        */
-      public Builder setInstallDate(
-          com.google.type.Date.Builder builderForValue) {
+      public Builder setInstallDate(com.google.type.Date.Builder builderForValue) {
         if (installDateBuilder_ == null) {
           installDate_ = builderForValue.build();
           onChanged();
@@ -15850,6 +18008,8 @@ public Builder setInstallDate(
         return this;
       }
       /**
+       *
+       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -15862,7 +18022,7 @@ public Builder mergeInstallDate(com.google.type.Date value) {
         if (installDateBuilder_ == null) {
           if (installDate_ != null) {
             installDate_ =
-              com.google.type.Date.newBuilder(installDate_).mergeFrom(value).buildPartial();
+                com.google.type.Date.newBuilder(installDate_).mergeFrom(value).buildPartial();
           } else {
             installDate_ = value;
           }
@@ -15874,6 +18034,8 @@ public Builder mergeInstallDate(com.google.type.Date value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -15894,6 +18056,8 @@ public Builder clearInstallDate() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -15903,11 +18067,13 @@ public Builder clearInstallDate() {
        * .google.type.Date install_date = 4;
        */
       public com.google.type.Date.Builder getInstallDateBuilder() {
-        
+
         onChanged();
         return getInstallDateFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -15920,11 +18086,12 @@ public com.google.type.DateOrBuilder getInstallDateOrBuilder() {
         if (installDateBuilder_ != null) {
           return installDateBuilder_.getMessageOrBuilder();
         } else {
-          return installDate_ == null ?
-              com.google.type.Date.getDefaultInstance() : installDate_;
+          return installDate_ == null ? com.google.type.Date.getDefaultInstance() : installDate_;
         }
       }
       /**
+       *
+       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -15934,14 +18101,15 @@ public com.google.type.DateOrBuilder getInstallDateOrBuilder() {
        * .google.type.Date install_date = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> 
+              com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
           getInstallDateFieldBuilder() {
         if (installDateBuilder_ == null) {
-          installDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
-                  getInstallDate(),
-                  getParentForChildren(),
-                  isClean());
+          installDateBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.type.Date,
+                  com.google.type.Date.Builder,
+                  com.google.type.DateOrBuilder>(
+                  getInstallDate(), getParentForChildren(), isClean());
           installDate_ = null;
         }
         return installDateBuilder_;
@@ -15949,18 +18117,20 @@ public com.google.type.DateOrBuilder getInstallDateOrBuilder() {
 
       private java.lang.Object helpLink_ = "";
       /**
+       *
+       *
        * 
        * The internet address for technical support.
        * 
* * string help_link = 5; + * * @return The helpLink. */ public java.lang.String getHelpLink() { java.lang.Object ref = helpLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); helpLink_ = s; return s; @@ -15969,20 +18139,21 @@ public java.lang.String getHelpLink() { } } /** + * + * *
        * The internet address for technical support.
        * 
* * string help_link = 5; + * * @return The bytes for helpLink. */ - public com.google.protobuf.ByteString - getHelpLinkBytes() { + public com.google.protobuf.ByteString getHelpLinkBytes() { java.lang.Object ref = helpLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); helpLink_ = b; return b; } else { @@ -15990,58 +18161,66 @@ public java.lang.String getHelpLink() { } } /** + * + * *
        * The internet address for technical support.
        * 
* * string help_link = 5; + * * @param value The helpLink to set. * @return This builder for chaining. */ - public Builder setHelpLink( - java.lang.String value) { + public Builder setHelpLink(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + helpLink_ = value; onChanged(); return this; } /** + * + * *
        * The internet address for technical support.
        * 
* * string help_link = 5; + * * @return This builder for chaining. */ public Builder clearHelpLink() { - + helpLink_ = getDefaultInstance().getHelpLink(); onChanged(); return this; } /** + * + * *
        * The internet address for technical support.
        * 
* * string help_link = 5; + * * @param value The bytes for helpLink to set. * @return This builder for chaining. */ - public Builder setHelpLinkBytes( - com.google.protobuf.ByteString value) { + public Builder setHelpLinkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + helpLink_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16054,12 +18233,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory.WindowsApplication) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory.WindowsApplication) private static final com.google.cloud.osconfig.v1.Inventory.WindowsApplication DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory.WindowsApplication(); } @@ -16068,16 +18247,16 @@ public static com.google.cloud.osconfig.v1.Inventory.WindowsApplication getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsApplication parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsApplication(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsApplication parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsApplication(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16092,12 +18271,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.Inventory.WindowsApplication getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The `Inventory` API resource name.
    * Format:
@@ -16105,6 +18285,7 @@ public com.google.cloud.osconfig.v1.Inventory.WindowsApplication getDefaultInsta
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -16113,14 +18294,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The `Inventory` API resource name.
    * Format:
@@ -16128,16 +18310,15 @@ public java.lang.String getName() {
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -16148,11 +18329,14 @@ public java.lang.String getName() { public static final int OS_INFO_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1.Inventory.OsInfo osInfo_; /** + * + * *
    * Base level operating system information for the VM.
    * 
* * .google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1; + * * @return Whether the osInfo field is set. */ @java.lang.Override @@ -16160,18 +18344,25 @@ public boolean hasOsInfo() { return osInfo_ != null; } /** + * + * *
    * Base level operating system information for the VM.
    * 
* * .google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1; + * * @return The osInfo. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory.OsInfo getOsInfo() { - return osInfo_ == null ? com.google.cloud.osconfig.v1.Inventory.OsInfo.getDefaultInstance() : osInfo_; + return osInfo_ == null + ? com.google.cloud.osconfig.v1.Inventory.OsInfo.getDefaultInstance() + : osInfo_; } /** + * + * *
    * Base level operating system information for the VM.
    * 
@@ -16184,24 +18375,30 @@ public com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder getOsInfoOrBuilder } public static final int ITEMS_FIELD_NUMBER = 2; + private static final class ItemsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item> defaultEntry = + java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.osconfig.v1.Inventory.Item.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.osconfig.v1.Inventories + .internal_static_google_cloud_osconfig_v1_Inventory_ItemsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.osconfig.v1.Inventory.Item.getDefaultInstance()); } + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item> + items_; + private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item> items_; - private com.google.protobuf.MapField - internalGetItems() { + java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item> + internalGetItems() { if (items_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ItemsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(ItemsDefaultEntryHolder.defaultEntry); } return items_; } @@ -16210,6 +18407,8 @@ public int getItemsCount() { return internalGetItems().getMap().size(); } /** + * + * *
    * Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item.  The identifier is unique to each distinct and
@@ -16219,22 +18418,22 @@ public int getItemsCount() {
    *
    * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
    */
-
   @java.lang.Override
-  public boolean containsItems(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsItems(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetItems().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getItemsMap()} instead.
-   */
+  /** Use {@link #getItemsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getItems() {
     return getItemsMap();
   }
   /**
+   *
+   *
    * 
    * Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item.  The identifier is unique to each distinct and
@@ -16245,11 +18444,13 @@ public java.util.Mapmap<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
    */
   @java.lang.Override
-
-  public java.util.Map getItemsMap() {
+  public java.util.Map
+      getItemsMap() {
     return internalGetItems().getMap();
   }
   /**
+   *
+   *
    * 
    * Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item.  The identifier is unique to each distinct and
@@ -16260,16 +18461,18 @@ public java.util.Mapmap<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
    */
   @java.lang.Override
-
   public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrDefault(
-      java.lang.String key,
-      com.google.cloud.osconfig.v1.Inventory.Item defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String key, com.google.cloud.osconfig.v1.Inventory.Item defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetItems().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item.  The identifier is unique to each distinct and
@@ -16280,10 +18483,10 @@ public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrDefault(
    * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
    */
   @java.lang.Override
-
-  public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetItems().getMap();
     if (!map.containsKey(key)) {
@@ -16295,11 +18498,15 @@ public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrThrow(
   public static final int UPDATE_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp updateTime_;
   /**
+   *
+   *
    * 
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -16307,11 +18514,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -16319,11 +18530,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -16331,6 +18545,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -16342,17 +18557,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (osInfo_ != null) { output.writeMessage(1, getOsInfo()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetItems(), - ItemsDefaultEntryHolder.defaultEntry, - 2); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetItems(), ItemsDefaultEntryHolder.defaultEntry, 2); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -16369,25 +18579,24 @@ public int getSerializedSize() { size = 0; if (osInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getOsInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOsInfo()); } - for (java.util.Map.Entry entry - : internalGetItems().getMap().entrySet()) { + for (java.util.Map.Entry entry : + internalGetItems().getMap().entrySet()) { com.google.protobuf.MapEntry - items__ = ItemsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, items__); + items__ = + ItemsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, items__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -16397,26 +18606,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.Inventory)) { return super.equals(obj); } com.google.cloud.osconfig.v1.Inventory other = (com.google.cloud.osconfig.v1.Inventory) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasOsInfo() != other.hasOsInfo()) return false; if (hasOsInfo()) { - if (!getOsInfo() - .equals(other.getOsInfo())) return false; + if (!getOsInfo().equals(other.getOsInfo())) return false; } - if (!internalGetItems().equals( - other.internalGetItems())) return false; + if (!internalGetItems().equals(other.internalGetItems())) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -16448,97 +18653,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.Inventory parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1.Inventory parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory 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.osconfig.v1.Inventory parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.Inventory parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.Inventory parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.Inventory parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.Inventory prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * This API resource represents the available inventory data for a
    * Compute Engine virtual machine (VM) instance at a given point in time.
@@ -16549,43 +18761,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1.Inventory}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Inventory)
       com.google.cloud.osconfig.v1.InventoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.Inventories
+          .internal_static_google_cloud_osconfig_v1_Inventory_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 2:
           return internalGetItems();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 2:
           return internalGetMutableItems();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.Inventories
+          .internal_static_google_cloud_osconfig_v1_Inventory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.Inventory.class, com.google.cloud.osconfig.v1.Inventory.Builder.class);
+              com.google.cloud.osconfig.v1.Inventory.class,
+              com.google.cloud.osconfig.v1.Inventory.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1.Inventory.newBuilder()
@@ -16593,16 +18805,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -16625,9 +18836,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_Inventory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.Inventories
+          .internal_static_google_cloud_osconfig_v1_Inventory_descriptor;
     }
 
     @java.lang.Override
@@ -16646,7 +18857,8 @@ public com.google.cloud.osconfig.v1.Inventory build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1.Inventory buildPartial() {
-      com.google.cloud.osconfig.v1.Inventory result = new com.google.cloud.osconfig.v1.Inventory(this);
+      com.google.cloud.osconfig.v1.Inventory result =
+          new com.google.cloud.osconfig.v1.Inventory(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (osInfoBuilder_ == null) {
@@ -16669,38 +18881,39 @@ public com.google.cloud.osconfig.v1.Inventory buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.Inventory) {
-        return mergeFrom((com.google.cloud.osconfig.v1.Inventory)other);
+        return mergeFrom((com.google.cloud.osconfig.v1.Inventory) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -16716,8 +18929,7 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.Inventory other) {
       if (other.hasOsInfo()) {
         mergeOsInfo(other.getOsInfo());
       }
-      internalGetMutableItems().mergeFrom(
-          other.internalGetItems());
+      internalGetMutableItems().mergeFrom(other.internalGetItems());
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
@@ -16749,10 +18961,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -16760,13 +18975,13 @@ public Builder mergeFrom(
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -16775,6 +18990,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -16782,15 +18999,14 @@ public java.lang.String getName() {
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -16798,6 +19014,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -16805,20 +19023,22 @@ public java.lang.String getName() {
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -16826,15 +19046,18 @@ public Builder setName(
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -16842,16 +19065,16 @@ public Builder clearName() {
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -16859,34 +19082,47 @@ public Builder setNameBytes( private com.google.cloud.osconfig.v1.Inventory.OsInfo osInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.OsInfo, com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder, com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder> osInfoBuilder_; + com.google.cloud.osconfig.v1.Inventory.OsInfo, + com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder, + com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder> + osInfoBuilder_; /** + * + * *
      * Base level operating system information for the VM.
      * 
* * .google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1; + * * @return Whether the osInfo field is set. */ public boolean hasOsInfo() { return osInfoBuilder_ != null || osInfo_ != null; } /** + * + * *
      * Base level operating system information for the VM.
      * 
* * .google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1; + * * @return The osInfo. */ public com.google.cloud.osconfig.v1.Inventory.OsInfo getOsInfo() { if (osInfoBuilder_ == null) { - return osInfo_ == null ? com.google.cloud.osconfig.v1.Inventory.OsInfo.getDefaultInstance() : osInfo_; + return osInfo_ == null + ? com.google.cloud.osconfig.v1.Inventory.OsInfo.getDefaultInstance() + : osInfo_; } else { return osInfoBuilder_.getMessage(); } } /** + * + * *
      * Base level operating system information for the VM.
      * 
@@ -16907,6 +19143,8 @@ public Builder setOsInfo(com.google.cloud.osconfig.v1.Inventory.OsInfo value) { return this; } /** + * + * *
      * Base level operating system information for the VM.
      * 
@@ -16925,6 +19163,8 @@ public Builder setOsInfo( return this; } /** + * + * *
      * Base level operating system information for the VM.
      * 
@@ -16935,7 +19175,9 @@ public Builder mergeOsInfo(com.google.cloud.osconfig.v1.Inventory.OsInfo value) if (osInfoBuilder_ == null) { if (osInfo_ != null) { osInfo_ = - com.google.cloud.osconfig.v1.Inventory.OsInfo.newBuilder(osInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.Inventory.OsInfo.newBuilder(osInfo_) + .mergeFrom(value) + .buildPartial(); } else { osInfo_ = value; } @@ -16947,6 +19189,8 @@ public Builder mergeOsInfo(com.google.cloud.osconfig.v1.Inventory.OsInfo value) return this; } /** + * + * *
      * Base level operating system information for the VM.
      * 
@@ -16965,6 +19209,8 @@ public Builder clearOsInfo() { return this; } /** + * + * *
      * Base level operating system information for the VM.
      * 
@@ -16972,11 +19218,13 @@ public Builder clearOsInfo() { * .google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1; */ public com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder getOsInfoBuilder() { - + onChanged(); return getOsInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Base level operating system information for the VM.
      * 
@@ -16987,11 +19235,14 @@ public com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder getOsInfoOrBuilder if (osInfoBuilder_ != null) { return osInfoBuilder_.getMessageOrBuilder(); } else { - return osInfo_ == null ? - com.google.cloud.osconfig.v1.Inventory.OsInfo.getDefaultInstance() : osInfo_; + return osInfo_ == null + ? com.google.cloud.osconfig.v1.Inventory.OsInfo.getDefaultInstance() + : osInfo_; } } /** + * + * *
      * Base level operating system information for the VM.
      * 
@@ -16999,35 +19250,42 @@ public com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder getOsInfoOrBuilder * .google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.OsInfo, com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder, com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder> + com.google.cloud.osconfig.v1.Inventory.OsInfo, + com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder, + com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder> getOsInfoFieldBuilder() { if (osInfoBuilder_ == null) { - osInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory.OsInfo, com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder, com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder>( - getOsInfo(), - getParentForChildren(), - isClean()); + osInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.Inventory.OsInfo, + com.google.cloud.osconfig.v1.Inventory.OsInfo.Builder, + com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder>( + getOsInfo(), getParentForChildren(), isClean()); osInfo_ = null; } return osInfoBuilder_; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item> items_; - private com.google.protobuf.MapField - internalGetItems() { + java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item> + items_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item> + internalGetItems() { if (items_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ItemsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(ItemsDefaultEntryHolder.defaultEntry); } return items_; } - private com.google.protobuf.MapField - internalGetMutableItems() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.osconfig.v1.Inventory.Item> + internalGetMutableItems() { + onChanged(); + ; if (items_ == null) { - items_ = com.google.protobuf.MapField.newMapField( - ItemsDefaultEntryHolder.defaultEntry); + items_ = com.google.protobuf.MapField.newMapField(ItemsDefaultEntryHolder.defaultEntry); } if (!items_.isMutable()) { items_ = items_.copy(); @@ -17039,6 +19297,8 @@ public int getItemsCount() { return internalGetItems().getMap().size(); } /** + * + * *
      * Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item.  The identifier is unique to each distinct and
@@ -17048,22 +19308,22 @@ public int getItemsCount() {
      *
      * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
      */
-
     @java.lang.Override
-    public boolean containsItems(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsItems(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetItems().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getItemsMap()} instead.
-     */
+    /** Use {@link #getItemsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getItems() {
       return getItemsMap();
     }
     /**
+     *
+     *
      * 
      * Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item.  The identifier is unique to each distinct and
@@ -17074,11 +19334,13 @@ public java.util.Mapmap<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
      */
     @java.lang.Override
-
-    public java.util.Map getItemsMap() {
+    public java.util.Map
+        getItemsMap() {
       return internalGetItems().getMap();
     }
     /**
+     *
+     *
      * 
      * Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item.  The identifier is unique to each distinct and
@@ -17089,16 +19351,18 @@ public java.util.Mapmap<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
      */
     @java.lang.Override
-
     public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrDefault(
-        java.lang.String key,
-        com.google.cloud.osconfig.v1.Inventory.Item defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, com.google.cloud.osconfig.v1.Inventory.Item defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetItems().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item.  The identifier is unique to each distinct and
@@ -17109,10 +19373,10 @@ public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrDefault(
      * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
      */
     @java.lang.Override
-
-    public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetItems().getMap();
       if (!map.containsKey(key)) {
@@ -17122,11 +19386,12 @@ public com.google.cloud.osconfig.v1.Inventory.Item getItemsOrThrow(
     }
 
     public Builder clearItems() {
-      internalGetMutableItems().getMutableMap()
-          .clear();
+      internalGetMutableItems().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item.  The identifier is unique to each distinct and
@@ -17136,23 +19401,22 @@ public Builder clearItems() {
      *
      * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
      */
-
-    public Builder removeItems(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableItems().getMutableMap()
-          .remove(key);
+    public Builder removeItems(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableItems().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
     public java.util.Map
-    getMutableItems() {
+        getMutableItems() {
       return internalGetMutableItems().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item.  The identifier is unique to each distinct and
@@ -17163,18 +19427,20 @@ public Builder removeItems(
      * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
      */
     public Builder putItems(
-        java.lang.String key,
-        com.google.cloud.osconfig.v1.Inventory.Item value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, com.google.cloud.osconfig.v1.Inventory.Item value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableItems().getMutableMap()
-          .put(key, value);
+      internalGetMutableItems().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item.  The identifier is unique to each distinct and
@@ -17184,49 +19450,66 @@ public Builder putItems(
      *
      * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
      */
-
     public Builder putAllItems(
         java.util.Map values) {
-      internalGetMutableItems().getMutableMap()
-          .putAll(values);
+      internalGetMutableItems().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.Timestamp updateTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        updateTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -17242,14 +19525,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -17260,17 +19546,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -17282,11 +19572,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -17300,55 +19594,71 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -17358,12 +19668,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Inventory) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Inventory) private static final com.google.cloud.osconfig.v1.Inventory DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.Inventory(); } @@ -17372,16 +19682,16 @@ public static com.google.cloud.osconfig.v1.Inventory getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Inventory parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Inventory(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Inventory parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Inventory(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -17396,6 +19706,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.Inventory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryName.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryName.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryOrBuilder.java index aa092ba8..7cd44ae7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/osconfig/v1/inventory.proto package com.google.cloud.osconfig.v1; -public interface InventoryOrBuilder extends +public interface InventoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Inventory) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The `Inventory` API resource name.
    * Format:
@@ -15,10 +33,13 @@ public interface InventoryOrBuilder extends
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The `Inventory` API resource name.
    * Format:
@@ -26,30 +47,38 @@ public interface InventoryOrBuilder extends
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Base level operating system information for the VM.
    * 
* * .google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1; + * * @return Whether the osInfo field is set. */ boolean hasOsInfo(); /** + * + * *
    * Base level operating system information for the VM.
    * 
* * .google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1; + * * @return The osInfo. */ com.google.cloud.osconfig.v1.Inventory.OsInfo getOsInfo(); /** + * + * *
    * Base level operating system information for the VM.
    * 
@@ -59,6 +88,8 @@ public interface InventoryOrBuilder extends com.google.cloud.osconfig.v1.Inventory.OsInfoOrBuilder getOsInfoOrBuilder(); /** + * + * *
    * Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item.  The identifier is unique to each distinct and
@@ -70,6 +101,8 @@ public interface InventoryOrBuilder extends
    */
   int getItemsCount();
   /**
+   *
+   *
    * 
    * Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item.  The identifier is unique to each distinct and
@@ -79,15 +112,13 @@ public interface InventoryOrBuilder extends
    *
    * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
    */
-  boolean containsItems(
-      java.lang.String key);
-  /**
-   * Use {@link #getItemsMap()} instead.
-   */
+  boolean containsItems(java.lang.String key);
+  /** Use {@link #getItemsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getItems();
+  java.util.Map getItems();
   /**
+   *
+   *
    * 
    * Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item.  The identifier is unique to each distinct and
@@ -97,9 +128,10 @@ boolean containsItems(
    *
    * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
    */
-  java.util.Map
-  getItemsMap();
+  java.util.Map getItemsMap();
   /**
+   *
+   *
    * 
    * Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item.  The identifier is unique to each distinct and
@@ -111,11 +143,13 @@ boolean containsItems(
    */
 
   /* nullable */
-com.google.cloud.osconfig.v1.Inventory.Item getItemsOrDefault(
+  com.google.cloud.osconfig.v1.Inventory.Item getItemsOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.cloud.osconfig.v1.Inventory.Item defaultValue);
+      com.google.cloud.osconfig.v1.Inventory.Item defaultValue);
   /**
+   *
+   *
    * 
    * Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item.  The identifier is unique to each distinct and
@@ -125,34 +159,43 @@ com.google.cloud.osconfig.v1.Inventory.Item getItemsOrDefault(
    *
    * map<string, .google.cloud.osconfig.v1.Inventory.Item> items = 2;
    */
-
-  com.google.cloud.osconfig.v1.Inventory.Item getItemsOrThrow(
-      java.lang.String key);
+  com.google.cloud.osconfig.v1.Inventory.Item getItemsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryView.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryView.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryView.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryView.java index 2f450cf7..05db91fb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryView.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/InventoryView.java @@ -1,18 +1,36 @@ +/* + * 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/osconfig/v1/inventory.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * The view for inventory objects.
  * 
* * Protobuf enum {@code google.cloud.osconfig.v1.InventoryView} */ -public enum InventoryView - implements com.google.protobuf.ProtocolMessageEnum { +public enum InventoryView implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The default value.
    * The API defaults to the BASIC view.
@@ -22,6 +40,8 @@ public enum InventoryView
    */
   INVENTORY_VIEW_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Returns the basic inventory information that includes `os_info`.
    * 
@@ -30,6 +50,8 @@ public enum InventoryView */ BASIC(1), /** + * + * *
    * Returns all fields.
    * 
@@ -41,6 +63,8 @@ public enum InventoryView ; /** + * + * *
    * The default value.
    * The API defaults to the BASIC view.
@@ -50,6 +74,8 @@ public enum InventoryView
    */
   public static final int INVENTORY_VIEW_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Returns the basic inventory information that includes `os_info`.
    * 
@@ -58,6 +84,8 @@ public enum InventoryView */ public static final int BASIC_VALUE = 1; /** + * + * *
    * Returns all fields.
    * 
@@ -66,7 +94,6 @@ public enum InventoryView */ public static final int FULL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -91,49 +118,49 @@ public static InventoryView valueOf(int value) { */ public static InventoryView forNumber(int value) { switch (value) { - case 0: return INVENTORY_VIEW_UNSPECIFIED; - case 1: return BASIC; - case 2: return FULL; - default: return null; + case 0: + return INVENTORY_VIEW_UNSPECIFIED; + case 1: + return BASIC; + case 2: + return FULL; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - InventoryView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public InventoryView findValueByNumber(int number) { - return InventoryView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public InventoryView findValueByNumber(int number) { + return InventoryView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.osconfig.v1.Inventories.getDescriptor().getEnumTypes().get(0); } private static final InventoryView[] VALUES = values(); - public static InventoryView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static InventoryView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -149,4 +176,3 @@ private InventoryView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1.InventoryView) } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequest.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequest.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequest.java index beb98daa..3a156692 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequest.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequest.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1/inventory.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * A request message for listing inventory data for all VMs in the specified
  * location.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.ListInventoriesRequest}
  */
-public final class ListInventoriesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListInventoriesRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListInventoriesRequest)
     ListInventoriesRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListInventoriesRequest.newBuilder() to construct.
   private ListInventoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListInventoriesRequest() {
     parent_ = "";
     view_ = 0;
@@ -29,16 +47,15 @@ private ListInventoriesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListInventoriesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListInventoriesRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,42 +74,46 @@ private ListInventoriesRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            parent_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            view_ = rawValue;
-            break;
-          }
-          case 24: {
+              parent_ = s;
+              break;
+            }
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            pageSize_ = input.readInt32();
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              view_ = rawValue;
+              break;
+            }
+          case 24:
+            {
+              pageSize_ = input.readInt32();
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            pageToken_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              pageToken_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            filter_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              filter_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,36 +121,43 @@ private ListInventoriesRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1.Inventories
+        .internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.Inventories
+        .internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.ListInventoriesRequest.class, com.google.cloud.osconfig.v1.ListInventoriesRequest.Builder.class);
+            com.google.cloud.osconfig.v1.ListInventoriesRequest.class,
+            com.google.cloud.osconfig.v1.ListInventoriesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -138,31 +166,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -173,40 +203,52 @@ public java.lang.String getParent() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; + * * @return The view. */ - @java.lang.Override public com.google.cloud.osconfig.v1.InventoryView getView() { + @java.lang.Override + public com.google.cloud.osconfig.v1.InventoryView getView() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.InventoryView result = com.google.cloud.osconfig.v1.InventoryView.valueOf(view_); + com.google.cloud.osconfig.v1.InventoryView result = + com.google.cloud.osconfig.v1.InventoryView.valueOf(view_); return result == null ? com.google.cloud.osconfig.v1.InventoryView.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -217,6 +259,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A pagination token returned from a previous call to
    * `ListInventories` that indicates where this listing
@@ -224,6 +268,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -232,14 +277,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A pagination token returned from a previous call to
    * `ListInventories` that indicates where this listing
@@ -247,16 +293,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -267,12 +312,15 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `Inventory` API resource to be included in the response.
    * 
* * string filter = 5; + * * @return The filter. */ @java.lang.Override @@ -281,30 +329,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `Inventory` API resource to be included in the response.
    * 
* * string filter = 5; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -313,6 +361,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -324,12 +373,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (view_ != com.google.cloud.osconfig.v1.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.osconfig.v1.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } if (pageSize_ != 0) { @@ -353,13 +402,12 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (view_ != com.google.cloud.osconfig.v1.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.cloud.osconfig.v1.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -375,22 +423,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListInventoriesRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListInventoriesRequest other = (com.google.cloud.osconfig.v1.ListInventoriesRequest) obj; + com.google.cloud.osconfig.v1.ListInventoriesRequest other = + (com.google.cloud.osconfig.v1.ListInventoriesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (view_ != other.view_) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -418,96 +463,103 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListInventoriesRequest 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.osconfig.v1.ListInventoriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListInventoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.ListInventoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message for listing inventory data for all VMs in the specified
    * location.
@@ -515,21 +567,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1.ListInventoriesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListInventoriesRequest)
       com.google.cloud.osconfig.v1.ListInventoriesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.Inventories
+          .internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.Inventories
+          .internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.ListInventoriesRequest.class, com.google.cloud.osconfig.v1.ListInventoriesRequest.Builder.class);
+              com.google.cloud.osconfig.v1.ListInventoriesRequest.class,
+              com.google.cloud.osconfig.v1.ListInventoriesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1.ListInventoriesRequest.newBuilder()
@@ -537,16 +591,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -564,9 +617,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.Inventories
+          .internal_static_google_cloud_osconfig_v1_ListInventoriesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -585,7 +638,8 @@ public com.google.cloud.osconfig.v1.ListInventoriesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1.ListInventoriesRequest buildPartial() {
-      com.google.cloud.osconfig.v1.ListInventoriesRequest result = new com.google.cloud.osconfig.v1.ListInventoriesRequest(this);
+      com.google.cloud.osconfig.v1.ListInventoriesRequest result =
+          new com.google.cloud.osconfig.v1.ListInventoriesRequest(this);
       result.parent_ = parent_;
       result.view_ = view_;
       result.pageSize_ = pageSize_;
@@ -599,38 +653,39 @@ public com.google.cloud.osconfig.v1.ListInventoriesRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.ListInventoriesRequest) {
-        return mergeFrom((com.google.cloud.osconfig.v1.ListInventoriesRequest)other);
+        return mergeFrom((com.google.cloud.osconfig.v1.ListInventoriesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -638,7 +693,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1.ListInventoriesRequest other) {
-      if (other == com.google.cloud.osconfig.v1.ListInventoriesRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.osconfig.v1.ListInventoriesRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -676,7 +732,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.osconfig.v1.ListInventoriesRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.osconfig.v1.ListInventoriesRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -688,20 +745,24 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -710,22 +771,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -733,60 +797,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -794,55 +871,69 @@ public Builder setParentBytes( private int view_ = 0; /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; + * * @return The view. */ @java.lang.Override public com.google.cloud.osconfig.v1.InventoryView getView() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.InventoryView result = com.google.cloud.osconfig.v1.InventoryView.valueOf(view_); + com.google.cloud.osconfig.v1.InventoryView result = + com.google.cloud.osconfig.v1.InventoryView.valueOf(view_); return result == null ? com.google.cloud.osconfig.v1.InventoryView.UNRECOGNIZED : result; } /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; + * * @param value The view to set. * @return This builder for chaining. */ @@ -850,34 +941,40 @@ public Builder setView(com.google.cloud.osconfig.v1.InventoryView value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -885,30 +982,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -916,6 +1019,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -923,13 +1028,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -938,6 +1043,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -945,15 +1052,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -961,6 +1067,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -968,20 +1076,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -989,15 +1099,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -1005,16 +1118,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1022,19 +1135,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1043,21 +1158,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -1065,64 +1181,71 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1132,12 +1255,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListInventoriesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListInventoriesRequest) private static final com.google.cloud.osconfig.v1.ListInventoriesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListInventoriesRequest(); } @@ -1146,16 +1269,16 @@ public static com.google.cloud.osconfig.v1.ListInventoriesRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInventoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInventoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInventoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInventoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1170,6 +1293,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.ListInventoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequestOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequestOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequestOrBuilder.java index f9dbd511..8d906785 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesRequestOrBuilder.java @@ -1,68 +1,104 @@ +/* + * 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/osconfig/v1/inventory.proto package com.google.cloud.osconfig.v1; -public interface ListInventoriesRequestOrBuilder extends +public interface ListInventoriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListInventoriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1.InventoryView view = 2; + * * @return The view. */ com.google.cloud.osconfig.v1.InventoryView getView(); /** + * + * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A pagination token returned from a previous call to
    * `ListInventories` that indicates where this listing
@@ -70,10 +106,13 @@ public interface ListInventoriesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A pagination token returned from a previous call to
    * `ListInventories` that indicates where this listing
@@ -81,30 +120,35 @@ public interface ListInventoriesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `Inventory` API resource to be included in the response.
    * 
* * string filter = 5; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `Inventory` API resource to be included in the response.
    * 
* * string filter = 5; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponse.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponse.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponse.java index d878c942..b50354e8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponse.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponse.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1/inventory.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * A response message for listing inventory data for all VMs in a specified
  * location.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.ListInventoriesResponse}
  */
-public final class ListInventoriesResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListInventoriesResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListInventoriesResponse)
     ListInventoriesResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListInventoriesResponse.newBuilder() to construct.
   private ListInventoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListInventoriesResponse() {
     inventories_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,16 +45,15 @@ private ListInventoriesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListInventoriesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListInventoriesResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,28 +73,31 @@ private ListInventoriesResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              inventories_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                inventories_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              inventories_.add(
+                  input.readMessage(
+                      com.google.cloud.osconfig.v1.Inventory.parser(), extensionRegistry));
+              break;
             }
-            inventories_.add(
-                input.readMessage(com.google.cloud.osconfig.v1.Inventory.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            nextPageToken_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              nextPageToken_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,8 +105,7 @@ private ListInventoriesResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         inventories_ = java.util.Collections.unmodifiableList(inventories_);
@@ -95,22 +114,27 @@ private ListInventoriesResponse(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1.Inventories
+        .internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.Inventories
+        .internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.ListInventoriesResponse.class, com.google.cloud.osconfig.v1.ListInventoriesResponse.Builder.class);
+            com.google.cloud.osconfig.v1.ListInventoriesResponse.class,
+            com.google.cloud.osconfig.v1.ListInventoriesResponse.Builder.class);
   }
 
   public static final int INVENTORIES_FIELD_NUMBER = 1;
   private java.util.List inventories_;
   /**
+   *
+   *
    * 
    * List of inventory objects.
    * 
@@ -122,6 +146,8 @@ public java.util.List getInventoriesList return inventories_; } /** + * + * *
    * List of inventory objects.
    * 
@@ -129,11 +155,13 @@ public java.util.List getInventoriesList * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInventoriesOrBuilderList() { return inventories_; } /** + * + * *
    * List of inventory objects.
    * 
@@ -145,6 +173,8 @@ public int getInventoriesCount() { return inventories_.size(); } /** + * + * *
    * List of inventory objects.
    * 
@@ -156,6 +186,8 @@ public com.google.cloud.osconfig.v1.Inventory getInventories(int index) { return inventories_.get(index); } /** + * + * *
    * List of inventory objects.
    * 
@@ -163,19 +195,21 @@ public com.google.cloud.osconfig.v1.Inventory getInventories(int index) { * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1.InventoryOrBuilder getInventoriesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.InventoryOrBuilder getInventoriesOrBuilder(int index) { return inventories_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The pagination token to retrieve the next page of inventory objects.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,29 +218,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * The pagination token to retrieve the next page of inventory objects.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -215,6 +249,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,8 +261,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < inventories_.size(); i++) { output.writeMessage(1, inventories_.get(i)); } @@ -244,8 +278,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < inventories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, inventories_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, inventories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -258,17 +291,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListInventoriesResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListInventoriesResponse other = (com.google.cloud.osconfig.v1.ListInventoriesResponse) obj; + com.google.cloud.osconfig.v1.ListInventoriesResponse other = + (com.google.cloud.osconfig.v1.ListInventoriesResponse) obj; - if (!getInventoriesList() - .equals(other.getInventoriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getInventoriesList().equals(other.getInventoriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -292,96 +324,103 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListInventoriesResponse 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.osconfig.v1.ListInventoriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListInventoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.ListInventoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response message for listing inventory data for all VMs in a specified
    * location.
@@ -389,21 +428,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1.ListInventoriesResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListInventoriesResponse)
       com.google.cloud.osconfig.v1.ListInventoriesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.Inventories
+          .internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.Inventories
+          .internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.ListInventoriesResponse.class, com.google.cloud.osconfig.v1.ListInventoriesResponse.Builder.class);
+              com.google.cloud.osconfig.v1.ListInventoriesResponse.class,
+              com.google.cloud.osconfig.v1.ListInventoriesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1.ListInventoriesResponse.newBuilder()
@@ -411,17 +452,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getInventoriesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -437,9 +478,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.Inventories.internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.Inventories
+          .internal_static_google_cloud_osconfig_v1_ListInventoriesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -458,7 +499,8 @@ public com.google.cloud.osconfig.v1.ListInventoriesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1.ListInventoriesResponse buildPartial() {
-      com.google.cloud.osconfig.v1.ListInventoriesResponse result = new com.google.cloud.osconfig.v1.ListInventoriesResponse(this);
+      com.google.cloud.osconfig.v1.ListInventoriesResponse result =
+          new com.google.cloud.osconfig.v1.ListInventoriesResponse(this);
       int from_bitField0_ = bitField0_;
       if (inventoriesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -478,38 +520,39 @@ public com.google.cloud.osconfig.v1.ListInventoriesResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.ListInventoriesResponse) {
-        return mergeFrom((com.google.cloud.osconfig.v1.ListInventoriesResponse)other);
+        return mergeFrom((com.google.cloud.osconfig.v1.ListInventoriesResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -517,7 +560,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1.ListInventoriesResponse other) {
-      if (other == com.google.cloud.osconfig.v1.ListInventoriesResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.osconfig.v1.ListInventoriesResponse.getDefaultInstance())
+        return this;
       if (inventoriesBuilder_ == null) {
         if (!other.inventories_.isEmpty()) {
           if (inventories_.isEmpty()) {
@@ -536,9 +580,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.ListInventoriesResponse ot
             inventoriesBuilder_ = null;
             inventories_ = other.inventories_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            inventoriesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getInventoriesFieldBuilder() : null;
+            inventoriesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getInventoriesFieldBuilder()
+                    : null;
           } else {
             inventoriesBuilder_.addAllMessages(other.inventories_);
           }
@@ -567,7 +612,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.osconfig.v1.ListInventoriesResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.osconfig.v1.ListInventoriesResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -576,21 +622,29 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List inventories_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureInventoriesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        inventories_ = new java.util.ArrayList(inventories_);
+        inventories_ =
+            new java.util.ArrayList(inventories_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.osconfig.v1.Inventory, com.google.cloud.osconfig.v1.Inventory.Builder, com.google.cloud.osconfig.v1.InventoryOrBuilder> inventoriesBuilder_;
+            com.google.cloud.osconfig.v1.Inventory,
+            com.google.cloud.osconfig.v1.Inventory.Builder,
+            com.google.cloud.osconfig.v1.InventoryOrBuilder>
+        inventoriesBuilder_;
 
     /**
+     *
+     *
      * 
      * List of inventory objects.
      * 
@@ -605,6 +659,8 @@ public java.util.List getInventoriesList } } /** + * + * *
      * List of inventory objects.
      * 
@@ -619,6 +675,8 @@ public int getInventoriesCount() { } } /** + * + * *
      * List of inventory objects.
      * 
@@ -633,14 +691,15 @@ public com.google.cloud.osconfig.v1.Inventory getInventories(int index) { } } /** + * + * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - public Builder setInventories( - int index, com.google.cloud.osconfig.v1.Inventory value) { + public Builder setInventories(int index, com.google.cloud.osconfig.v1.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +713,8 @@ public Builder setInventories( return this; } /** + * + * *
      * List of inventory objects.
      * 
@@ -672,6 +733,8 @@ public Builder setInventories( return this; } /** + * + * *
      * List of inventory objects.
      * 
@@ -692,14 +755,15 @@ public Builder addInventories(com.google.cloud.osconfig.v1.Inventory value) { return this; } /** + * + * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - public Builder addInventories( - int index, com.google.cloud.osconfig.v1.Inventory value) { + public Builder addInventories(int index, com.google.cloud.osconfig.v1.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,14 +777,15 @@ public Builder addInventories( return this; } /** + * + * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - public Builder addInventories( - com.google.cloud.osconfig.v1.Inventory.Builder builderForValue) { + public Builder addInventories(com.google.cloud.osconfig.v1.Inventory.Builder builderForValue) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); inventories_.add(builderForValue.build()); @@ -731,6 +796,8 @@ public Builder addInventories( return this; } /** + * + * *
      * List of inventory objects.
      * 
@@ -749,6 +816,8 @@ public Builder addInventories( return this; } /** + * + * *
      * List of inventory objects.
      * 
@@ -759,8 +828,7 @@ public Builder addAllInventories( java.lang.Iterable values) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, inventories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inventories_); onChanged(); } else { inventoriesBuilder_.addAllMessages(values); @@ -768,6 +836,8 @@ public Builder addAllInventories( return this; } /** + * + * *
      * List of inventory objects.
      * 
@@ -785,6 +855,8 @@ public Builder clearInventories() { return this; } /** + * + * *
      * List of inventory objects.
      * 
@@ -802,39 +874,44 @@ public Builder removeInventories(int index) { return this; } /** + * + * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - public com.google.cloud.osconfig.v1.Inventory.Builder getInventoriesBuilder( - int index) { + public com.google.cloud.osconfig.v1.Inventory.Builder getInventoriesBuilder(int index) { return getInventoriesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - public com.google.cloud.osconfig.v1.InventoryOrBuilder getInventoriesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.InventoryOrBuilder getInventoriesOrBuilder(int index) { if (inventoriesBuilder_ == null) { - return inventories_.get(index); } else { + return inventories_.get(index); + } else { return inventoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - public java.util.List - getInventoriesOrBuilderList() { + public java.util.List + getInventoriesOrBuilderList() { if (inventoriesBuilder_ != null) { return inventoriesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +919,8 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getInventoriesOrBuilder( } } /** + * + * *
      * List of inventory objects.
      * 
@@ -849,42 +928,48 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getInventoriesOrBuilder( * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ public com.google.cloud.osconfig.v1.Inventory.Builder addInventoriesBuilder() { - return getInventoriesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.Inventory.getDefaultInstance()); + return getInventoriesFieldBuilder() + .addBuilder(com.google.cloud.osconfig.v1.Inventory.getDefaultInstance()); } /** + * + * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - public com.google.cloud.osconfig.v1.Inventory.Builder addInventoriesBuilder( - int index) { - return getInventoriesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.Inventory.getDefaultInstance()); + public com.google.cloud.osconfig.v1.Inventory.Builder addInventoriesBuilder(int index) { + return getInventoriesFieldBuilder() + .addBuilder(index, com.google.cloud.osconfig.v1.Inventory.getDefaultInstance()); } /** + * + * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - public java.util.List - getInventoriesBuilderList() { + public java.util.List + getInventoriesBuilderList() { return getInventoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory, com.google.cloud.osconfig.v1.Inventory.Builder, com.google.cloud.osconfig.v1.InventoryOrBuilder> + com.google.cloud.osconfig.v1.Inventory, + com.google.cloud.osconfig.v1.Inventory.Builder, + com.google.cloud.osconfig.v1.InventoryOrBuilder> getInventoriesFieldBuilder() { if (inventoriesBuilder_ == null) { - inventoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.Inventory, com.google.cloud.osconfig.v1.Inventory.Builder, com.google.cloud.osconfig.v1.InventoryOrBuilder>( - inventories_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + inventoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.Inventory, + com.google.cloud.osconfig.v1.Inventory.Builder, + com.google.cloud.osconfig.v1.InventoryOrBuilder>( + inventories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); inventories_ = null; } return inventoriesBuilder_; @@ -892,18 +977,20 @@ public com.google.cloud.osconfig.v1.Inventory.Builder addInventoriesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -912,20 +999,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -933,61 +1021,68 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -997,12 +1092,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListInventoriesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListInventoriesResponse) private static final com.google.cloud.osconfig.v1.ListInventoriesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListInventoriesResponse(); } @@ -1011,16 +1106,16 @@ public static com.google.cloud.osconfig.v1.ListInventoriesResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInventoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInventoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInventoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInventoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,6 +1130,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.ListInventoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponseOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponseOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponseOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponseOrBuilder.java index 0ebfb641..29649bec 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponseOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListInventoriesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * 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/osconfig/v1/inventory.proto package com.google.cloud.osconfig.v1; -public interface ListInventoriesResponseOrBuilder extends +public interface ListInventoriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListInventoriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of inventory objects.
    * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - java.util.List - getInventoriesList(); + java.util.List getInventoriesList(); /** + * + * *
    * List of inventory objects.
    * 
@@ -25,6 +44,8 @@ public interface ListInventoriesResponseOrBuilder extends */ com.google.cloud.osconfig.v1.Inventory getInventories(int index); /** + * + * *
    * List of inventory objects.
    * 
@@ -33,41 +54,49 @@ public interface ListInventoriesResponseOrBuilder extends */ int getInventoriesCount(); /** + * + * *
    * List of inventory objects.
    * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - java.util.List + java.util.List getInventoriesOrBuilderList(); /** + * + * *
    * List of inventory objects.
    * 
* * repeated .google.cloud.osconfig.v1.Inventory inventories = 1; */ - com.google.cloud.osconfig.v1.InventoryOrBuilder getInventoriesOrBuilder( - int index); + com.google.cloud.osconfig.v1.InventoryOrBuilder getInventoriesOrBuilder(int index); /** + * + * *
    * The pagination token to retrieve the next page of inventory objects.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The pagination token to retrieve the next page of inventory objects.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequest.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequest.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequest.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequest.java index 7840759b..e6f5304f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequest.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequest.java @@ -1,24 +1,44 @@ +/* + * 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/osconfig/v1/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * List the OS policy assignment reports for VM instances.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest} */ -public final class ListOSPolicyAssignmentReportsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListOSPolicyAssignmentReportsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) ListOSPolicyAssignmentReportsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentReportsRequest.newBuilder() to construct. - private ListOSPolicyAssignmentReportsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentReportsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListOSPolicyAssignmentReportsRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +47,15 @@ private ListOSPolicyAssignmentReportsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentReportsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListOSPolicyAssignmentReportsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +74,39 @@ private ListOSPolicyAssignmentReportsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +114,33 @@ private ListOSPolicyAssignmentReportsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.class, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource name.
    * Format:
@@ -136,7 +162,10 @@ private ListOSPolicyAssignmentReportsRequest(
    *  returns all the reports for all assignments across all instances.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -145,14 +174,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource name.
    * Format:
@@ -174,17 +204,18 @@ public java.lang.String getParent() {
    *  returns all the reports for all assignments across all instances.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -195,11 +226,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -210,12 +244,15 @@ public int getPageSize() { public static final int FILTER_FIELD_NUMBER = 3; private volatile java.lang.Object filter_; /** + * + * *
    * If provided, this field specifies the criteria that must be met by the
    * `OSPolicyAssignmentReport` API resource that is included in the response.
    * 
* * string filter = 3; + * * @return The filter. */ @java.lang.Override @@ -224,30 +261,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * If provided, this field specifies the criteria that must be met by the
    * `OSPolicyAssignmentReport` API resource that is included in the response.
    * 
* * string filter = 3; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -258,6 +295,8 @@ public java.lang.String getFilter() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A pagination token returned from a previous call to the
    * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -265,6 +304,7 @@ public java.lang.String getFilter() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -273,14 +313,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A pagination token returned from a previous call to the
    * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -288,16 +329,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -306,6 +346,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -317,8 +358,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -344,8 +384,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); @@ -361,21 +400,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest other = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest other = + (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -401,134 +437,145 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest 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.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest 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.osconfig.v1.ListOSPolicyAssignmentReportsRequest + 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.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * List the OS policy assignment reports for VM instances.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.class, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.Builder.class); } - // Construct using com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -544,13 +591,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.getDefaultInstance(); } @@ -565,7 +613,8 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest build() @java.lang.Override public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest buildPartial() { - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest result = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest(this); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest result = + new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.filter_ = filter_; @@ -578,46 +627,50 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.ListOSPolicyAssignmentReportsRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest other) { - if (other == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest other) { + if (other + == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -652,7 +705,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -664,6 +719,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource name.
      * Format:
@@ -685,14 +742,16 @@ public Builder mergeFrom(
      *  returns all the reports for all assignments across all instances.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -701,6 +760,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name.
      * Format:
@@ -722,16 +783,17 @@ public java.lang.String getParent() {
      *  returns all the reports for all assignments across all instances.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -739,6 +801,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name.
      * Format:
@@ -760,21 +824,25 @@ public java.lang.String getParent() {
      *  returns all the reports for all assignments across all instances.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource name.
      * Format:
@@ -796,16 +864,21 @@ public Builder setParent(
      *  returns all the reports for all assignments across all instances.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource name.
      * Format:
@@ -827,29 +900,34 @@ public Builder clearParent() {
      *  returns all the reports for all assignments across all instances.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -857,30 +935,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -888,19 +972,21 @@ public Builder clearPageSize() { private java.lang.Object filter_ = ""; /** + * + * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -909,21 +995,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -931,57 +1018,64 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -989,6 +1083,8 @@ public Builder setFilterBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -996,13 +1092,13 @@ public Builder setFilterBytes(
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1011,6 +1107,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -1018,15 +1116,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1034,6 +1131,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -1041,20 +1140,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -1062,15 +1163,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -1078,23 +1182,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1104,30 +1208,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) - private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest(); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentReportsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentReportsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentReportsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentReportsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1139,9 +1245,8 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequestOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequestOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequestOrBuilder.java index de67bfb6..0146b0ff 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/osconfig/v1/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1; -public interface ListOSPolicyAssignmentReportsRequestOrBuilder extends +public interface ListOSPolicyAssignmentReportsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource name.
    * Format:
@@ -29,11 +47,16 @@ public interface ListOSPolicyAssignmentReportsRequestOrBuilder extends
    *  returns all the reports for all assignments across all instances.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource name.
    * Format:
@@ -55,45 +78,57 @@ public interface ListOSPolicyAssignmentReportsRequestOrBuilder extends
    *  returns all the reports for all assignments across all instances.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If provided, this field specifies the criteria that must be met by the
    * `OSPolicyAssignmentReport` API resource that is included in the response.
    * 
* * string filter = 3; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * If provided, this field specifies the criteria that must be met by the
    * `OSPolicyAssignmentReport` API resource that is included in the response.
    * 
* * string filter = 3; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * A pagination token returned from a previous call to the
    * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -101,10 +136,13 @@ public interface ListOSPolicyAssignmentReportsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A pagination token returned from a previous call to the
    * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -112,8 +150,8 @@ public interface ListOSPolicyAssignmentReportsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponse.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponse.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponse.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponse.java index c7b8631d..36280248 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponse.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponse.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * A response message for listing OS Policy assignment reports including the
  * page of results and page token.
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse}
  */
-public final class ListOSPolicyAssignmentReportsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListOSPolicyAssignmentReportsResponse
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse)
     ListOSPolicyAssignmentReportsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListOSPolicyAssignmentReportsResponse.newBuilder() to construct.
-  private ListOSPolicyAssignmentReportsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListOSPolicyAssignmentReportsResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListOSPolicyAssignmentReportsResponse() {
     osPolicyAssignmentReports_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,16 +47,15 @@ private ListOSPolicyAssignmentReportsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListOSPolicyAssignmentReportsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListOSPolicyAssignmentReportsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,28 +75,34 @@ private ListOSPolicyAssignmentReportsResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              osPolicyAssignmentReports_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                osPolicyAssignmentReports_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.osconfig.v1.OSPolicyAssignmentReport>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              osPolicyAssignmentReports_.add(
+                  input.readMessage(
+                      com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.parser(),
+                      extensionRegistry));
+              break;
             }
-            osPolicyAssignmentReports_.add(
-                input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            nextPageToken_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              nextPageToken_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,98 +110,127 @@ private ListOSPolicyAssignmentReportsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
-        osPolicyAssignmentReports_ = java.util.Collections.unmodifiableList(osPolicyAssignmentReports_);
+        osPolicyAssignmentReports_ =
+            java.util.Collections.unmodifiableList(osPolicyAssignmentReports_);
       }
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto
+        .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto
+        .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.Builder.class);
+            com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.class,
+            com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.Builder.class);
   }
 
   public static final int OS_POLICY_ASSIGNMENT_REPORTS_FIELD_NUMBER = 1;
-  private java.util.List osPolicyAssignmentReports_;
+  private java.util.List
+      osPolicyAssignmentReports_;
   /**
+   *
+   *
    * 
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ @java.lang.Override - public java.util.List getOsPolicyAssignmentReportsList() { + public java.util.List + getOsPolicyAssignmentReportsList() { return osPolicyAssignmentReports_; } /** + * + * *
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getOsPolicyAssignmentReportsOrBuilderList() { return osPolicyAssignmentReports_; } /** + * + * *
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ @java.lang.Override public int getOsPolicyAssignmentReportsCount() { return osPolicyAssignmentReports_.size(); } /** + * + * *
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getOsPolicyAssignmentReports(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getOsPolicyAssignmentReports( + int index) { return osPolicyAssignmentReports_.get(index); } /** + * + * *
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder getOsPolicyAssignmentReportsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder + getOsPolicyAssignmentReportsOrBuilder(int index) { return osPolicyAssignmentReports_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignment
    * report objects.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -185,30 +239,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignment
    * report objects.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -217,6 +271,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < osPolicyAssignmentReports_.size(); i++) { output.writeMessage(1, osPolicyAssignmentReports_.get(i)); } @@ -246,8 +300,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < osPolicyAssignmentReports_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, osPolicyAssignmentReports_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, osPolicyAssignmentReports_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -260,17 +315,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse other = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse) obj; + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse other = + (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse) obj; - if (!getOsPolicyAssignmentReportsList() - .equals(other.getOsPolicyAssignmentReportsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getOsPolicyAssignmentReportsList().equals(other.getOsPolicyAssignmentReportsList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -294,96 +349,105 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse 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.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse 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.osconfig.v1.ListOSPolicyAssignmentReportsResponse + 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.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response message for listing OS Policy assignment reports including the
    * page of results and page token.
@@ -391,39 +455,42 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse)
       com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto
+          .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto
+          .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.Builder.class);
+              com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.class,
+              com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.Builder.class);
     }
 
-    // Construct using com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.newBuilder()
+    // Construct using
+    // com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getOsPolicyAssignmentReportsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -439,14 +506,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto
+          .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse getDefaultInstanceForType() {
-      return com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.getDefaultInstance();
+    public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse
+        getDefaultInstanceForType() {
+      return com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -460,11 +529,13 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse build(
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse buildPartial() {
-      com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse result = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse(this);
+      com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse result =
+          new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse(this);
       int from_bitField0_ = bitField0_;
       if (osPolicyAssignmentReportsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
-          osPolicyAssignmentReports_ = java.util.Collections.unmodifiableList(osPolicyAssignmentReports_);
+          osPolicyAssignmentReports_ =
+              java.util.Collections.unmodifiableList(osPolicyAssignmentReports_);
           bitField0_ = (bitField0_ & ~0x00000001);
         }
         result.osPolicyAssignmentReports_ = osPolicyAssignmentReports_;
@@ -480,46 +551,51 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse buildP
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.ListOSPolicyAssignmentReportsResponse) {
-        return mergeFrom((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse)other);
+        return mergeFrom(
+            (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse other) {
-      if (other == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse other) {
+      if (other
+          == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse
+              .getDefaultInstance()) return this;
       if (osPolicyAssignmentReportsBuilder_ == null) {
         if (!other.osPolicyAssignmentReports_.isEmpty()) {
           if (osPolicyAssignmentReports_.isEmpty()) {
@@ -538,9 +614,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRepo
             osPolicyAssignmentReportsBuilder_ = null;
             osPolicyAssignmentReports_ = other.osPolicyAssignmentReports_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            osPolicyAssignmentReportsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getOsPolicyAssignmentReportsFieldBuilder() : null;
+            osPolicyAssignmentReportsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getOsPolicyAssignmentReportsFieldBuilder()
+                    : null;
           } else {
             osPolicyAssignmentReportsBuilder_.addAllMessages(other.osPolicyAssignmentReports_);
           }
@@ -569,7 +646,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -578,28 +657,40 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List osPolicyAssignmentReports_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        osPolicyAssignmentReports_ = java.util.Collections.emptyList();
+
     private void ensureOsPolicyAssignmentReportsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        osPolicyAssignmentReports_ = new java.util.ArrayList(osPolicyAssignmentReports_);
+        osPolicyAssignmentReports_ =
+            new java.util.ArrayList(
+                osPolicyAssignmentReports_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.osconfig.v1.OSPolicyAssignmentReport, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder> osPolicyAssignmentReportsBuilder_;
+            com.google.cloud.osconfig.v1.OSPolicyAssignmentReport,
+            com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder,
+            com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder>
+        osPolicyAssignmentReportsBuilder_;
 
     /**
+     *
+     *
      * 
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - public java.util.List getOsPolicyAssignmentReportsList() { + public java.util.List + getOsPolicyAssignmentReportsList() { if (osPolicyAssignmentReportsBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyAssignmentReports_); } else { @@ -607,11 +698,15 @@ public java.util.List get } } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ public int getOsPolicyAssignmentReportsCount() { if (osPolicyAssignmentReportsBuilder_ == null) { @@ -621,13 +716,18 @@ public int getOsPolicyAssignmentReportsCount() { } } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getOsPolicyAssignmentReports(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getOsPolicyAssignmentReports( + int index) { if (osPolicyAssignmentReportsBuilder_ == null) { return osPolicyAssignmentReports_.get(index); } else { @@ -635,11 +735,15 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getOsPolicyAssignme } } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ public Builder setOsPolicyAssignmentReports( int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport value) { @@ -656,11 +760,15 @@ public Builder setOsPolicyAssignmentReports( return this; } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ public Builder setOsPolicyAssignmentReports( int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder builderForValue) { @@ -674,13 +782,18 @@ public Builder setOsPolicyAssignmentReports( return this; } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - public Builder addOsPolicyAssignmentReports(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport value) { + public Builder addOsPolicyAssignmentReports( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport value) { if (osPolicyAssignmentReportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,11 +807,15 @@ public Builder addOsPolicyAssignmentReports(com.google.cloud.osconfig.v1.OSPolic return this; } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ public Builder addOsPolicyAssignmentReports( int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport value) { @@ -715,11 +832,15 @@ public Builder addOsPolicyAssignmentReports( return this; } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ public Builder addOsPolicyAssignmentReports( com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder builderForValue) { @@ -733,11 +854,15 @@ public Builder addOsPolicyAssignmentReports( return this; } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ public Builder addOsPolicyAssignmentReports( int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder builderForValue) { @@ -751,18 +876,22 @@ public Builder addOsPolicyAssignmentReports( return this; } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ public Builder addAllOsPolicyAssignmentReports( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (osPolicyAssignmentReportsBuilder_ == null) { ensureOsPolicyAssignmentReportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, osPolicyAssignmentReports_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicyAssignmentReports_); onChanged(); } else { osPolicyAssignmentReportsBuilder_.addAllMessages(values); @@ -770,11 +899,15 @@ public Builder addAllOsPolicyAssignmentReports( return this; } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ public Builder clearOsPolicyAssignmentReports() { if (osPolicyAssignmentReportsBuilder_ == null) { @@ -787,11 +920,15 @@ public Builder clearOsPolicyAssignmentReports() { return this; } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ public Builder removeOsPolicyAssignmentReports(int index) { if (osPolicyAssignmentReportsBuilder_ == null) { @@ -804,39 +941,52 @@ public Builder removeOsPolicyAssignmentReports(int index) { return this; } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder getOsPolicyAssignmentReportsBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder + getOsPolicyAssignmentReportsBuilder(int index) { return getOsPolicyAssignmentReportsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder getOsPolicyAssignmentReportsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder + getOsPolicyAssignmentReportsOrBuilder(int index) { if (osPolicyAssignmentReportsBuilder_ == null) { - return osPolicyAssignmentReports_.get(index); } else { + return osPolicyAssignmentReports_.get(index); + } else { return osPolicyAssignmentReportsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - public java.util.List - getOsPolicyAssignmentReportsOrBuilderList() { + public java.util.List + getOsPolicyAssignmentReportsOrBuilderList() { if (osPolicyAssignmentReportsBuilder_ != null) { return osPolicyAssignmentReportsBuilder_.getMessageOrBuilderList(); } else { @@ -844,45 +994,65 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder getOsPolic } } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder addOsPolicyAssignmentReportsBuilder() { - return getOsPolicyAssignmentReportsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder + addOsPolicyAssignmentReportsBuilder() { + return getOsPolicyAssignmentReportsFieldBuilder() + .addBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.getDefaultInstance()); } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder addOsPolicyAssignmentReportsBuilder( - int index) { - return getOsPolicyAssignmentReportsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder + addOsPolicyAssignmentReportsBuilder(int index) { + return getOsPolicyAssignmentReportsFieldBuilder() + .addBuilder( + index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.getDefaultInstance()); } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - public java.util.List - getOsPolicyAssignmentReportsBuilderList() { + public java.util.List + getOsPolicyAssignmentReportsBuilderList() { return getOsPolicyAssignmentReportsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder> getOsPolicyAssignmentReportsFieldBuilder() { if (osPolicyAssignmentReportsBuilder_ == null) { - osPolicyAssignmentReportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder>( + osPolicyAssignmentReportsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder>( osPolicyAssignmentReports_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -894,19 +1064,21 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder addOsPolicy private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -915,21 +1087,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -937,64 +1110,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1004,30 +1184,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse) - private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse(); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse getDefaultInstance() { + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentReportsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentReportsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentReportsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentReportsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1039,9 +1221,8 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponseOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponseOrBuilder.java similarity index 52% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponseOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponseOrBuilder.java index cd431d9e..f363fcff 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponseOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentReportsResponseOrBuilder.java @@ -1,75 +1,116 @@ +/* + * 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/osconfig/v1/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1; -public interface ListOSPolicyAssignmentReportsResponseOrBuilder extends +public interface ListOSPolicyAssignmentReportsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - java.util.List + java.util.List getOsPolicyAssignmentReportsList(); /** + * + * *
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getOsPolicyAssignmentReports(int index); /** + * + * *
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ int getOsPolicyAssignmentReportsCount(); /** + * + * *
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - java.util.List + java.util.List getOsPolicyAssignmentReportsOrBuilderList(); /** + * + * *
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder getOsPolicyAssignmentReportsOrBuilder( - int index); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder + getOsPolicyAssignmentReportsOrBuilder(int index); /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignment
    * report objects.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignment
    * report objects.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequest.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequest.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequest.java index 52574359..776f3685 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequest.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequest.java @@ -1,24 +1,44 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * A request message to list revisions for a OS policy assignment
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest} */ -public final class ListOSPolicyAssignmentRevisionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListOSPolicyAssignmentRevisionsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) ListOSPolicyAssignmentRevisionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentRevisionsRequest.newBuilder() to construct. - private ListOSPolicyAssignmentRevisionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentRevisionsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListOSPolicyAssignmentRevisionsRequest() { name_ = ""; pageToken_ = ""; @@ -26,16 +46,15 @@ private ListOSPolicyAssignmentRevisionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentRevisionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListOSPolicyAssignmentRevisionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +73,32 @@ private ListOSPolicyAssignmentRevisionsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +106,41 @@ private ListOSPolicyAssignmentRevisionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.class, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the OS policy assignment to list revisions for.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -121,29 +149,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the OS policy assignment to list revisions for.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -154,11 +184,14 @@ public java.lang.String getName() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of revisions to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,6 +202,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -176,6 +211,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -184,14 +220,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -199,16 +236,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -217,6 +253,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -252,8 +288,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -266,19 +301,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest other = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) obj; + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest other = + (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getName().equals(other.getName())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -302,134 +335,145 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest 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.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest 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.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest + 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.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message to list revisions for a OS policy assignment
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.class, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.Builder.class); } - // Construct using com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -443,14 +487,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest + .getDefaultInstance(); } @java.lang.Override @@ -464,7 +510,8 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest build @java.lang.Override public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest buildPartial() { - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest result = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest(this); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest result = + new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -476,46 +523,51 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest)other); + return mergeFrom( + (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest other) { - if (other == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest other) { + if (other + == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -546,7 +598,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -558,18 +612,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -578,20 +636,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -599,66 +660,82 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of revisions to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -666,30 +743,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of revisions to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of revisions to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -697,6 +780,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -704,13 +789,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -719,6 +804,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -726,15 +813,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -742,6 +828,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -749,20 +837,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -770,15 +860,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -786,23 +879,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -812,30 +905,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) - private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest(); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentRevisionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentRevisionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentRevisionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentRevisionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -847,9 +942,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java index 600f8a63..501aeea7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java @@ -1,43 +1,73 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; -public interface ListOSPolicyAssignmentRevisionsRequestOrBuilder extends +public interface ListOSPolicyAssignmentRevisionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the OS policy assignment to list revisions for.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the OS policy assignment to list revisions for.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The maximum number of revisions to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -45,10 +75,13 @@ public interface ListOSPolicyAssignmentRevisionsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -56,8 +89,8 @@ public interface ListOSPolicyAssignmentRevisionsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponse.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponse.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponse.java index d82da5f9..d4df2e78 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponse.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponse.java @@ -1,24 +1,44 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * A response message for listing all revisions for a OS policy assignment.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse} */ -public final class ListOSPolicyAssignmentRevisionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListOSPolicyAssignmentRevisionsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) ListOSPolicyAssignmentRevisionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentRevisionsResponse.newBuilder() to construct. - private ListOSPolicyAssignmentRevisionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentRevisionsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListOSPolicyAssignmentRevisionsResponse() { osPolicyAssignments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +46,15 @@ private ListOSPolicyAssignmentRevisionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentRevisionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListOSPolicyAssignmentRevisionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +74,32 @@ private ListOSPolicyAssignmentRevisionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyAssignments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + osPolicyAssignments_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + osPolicyAssignments_.add( + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicyAssignment.parser(), extensionRegistry)); + break; } - osPolicyAssignments_.add( - input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignment.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private ListOSPolicyAssignmentRevisionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { osPolicyAssignments_ = java.util.Collections.unmodifiableList(osPolicyAssignments_); @@ -94,22 +116,27 @@ private ListOSPolicyAssignmentRevisionsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.class, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.Builder.class); } public static final int OS_POLICY_ASSIGNMENTS_FIELD_NUMBER = 1; private java.util.List osPolicyAssignments_; /** + * + * *
    * The OS policy assignment revisions
    * 
@@ -117,10 +144,13 @@ private ListOSPolicyAssignmentRevisionsResponse( * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ @java.lang.Override - public java.util.List getOsPolicyAssignmentsList() { + public java.util.List + getOsPolicyAssignmentsList() { return osPolicyAssignments_; } /** + * + * *
    * The OS policy assignment revisions
    * 
@@ -128,11 +158,13 @@ public java.util.List getOsPoli * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ @java.lang.Override - public java.util.List + public java.util.List getOsPolicyAssignmentsOrBuilderList() { return osPolicyAssignments_; } /** + * + * *
    * The OS policy assignment revisions
    * 
@@ -144,6 +176,8 @@ public int getOsPolicyAssignmentsCount() { return osPolicyAssignments_.size(); } /** + * + * *
    * The OS policy assignment revisions
    * 
@@ -155,6 +189,8 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignments(in return osPolicyAssignments_.get(index); } /** + * + * *
    * The OS policy assignment revisions
    * 
@@ -170,12 +206,15 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignment
    * revisions.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +223,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignment
    * revisions.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +255,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +267,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < osPolicyAssignments_.size(); i++) { output.writeMessage(1, osPolicyAssignments_.get(i)); } @@ -245,8 +284,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < osPolicyAssignments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, osPolicyAssignments_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, osPolicyAssignments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +298,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse other = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) obj; + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse other = + (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) obj; - if (!getOsPolicyAssignmentsList() - .equals(other.getOsPolicyAssignmentsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getOsPolicyAssignmentsList().equals(other.getOsPolicyAssignmentsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +331,147 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse 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.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse 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.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse + 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.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response message for listing all revisions for a OS policy assignment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.class, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.Builder.class); } - // Construct using com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getOsPolicyAssignmentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,14 +487,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.getDefaultInstance(); + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse + .getDefaultInstance(); } @java.lang.Override @@ -458,7 +510,8 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse buil @java.lang.Override public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse buildPartial() { - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse result = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse(this); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse result = + new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse(this); int from_bitField0_ = bitField0_; if (osPolicyAssignmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +531,51 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) { - return mergeFrom((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse)other); + return mergeFrom( + (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse other) { - if (other == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse other) { + if (other + == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse + .getDefaultInstance()) return this; if (osPolicyAssignmentsBuilder_ == null) { if (!other.osPolicyAssignments_.isEmpty()) { if (osPolicyAssignments_.isEmpty()) { @@ -536,9 +594,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevi osPolicyAssignmentsBuilder_ = null; osPolicyAssignments_ = other.osPolicyAssignments_; bitField0_ = (bitField0_ & ~0x00000001); - osPolicyAssignmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOsPolicyAssignmentsFieldBuilder() : null; + osPolicyAssignmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOsPolicyAssignmentsFieldBuilder() + : null; } else { osPolicyAssignmentsBuilder_.addAllMessages(other.osPolicyAssignments_); } @@ -567,7 +626,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +637,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List osPolicyAssignments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureOsPolicyAssignmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyAssignments_ = new java.util.ArrayList(osPolicyAssignments_); + osPolicyAssignments_ = + new java.util.ArrayList( + osPolicyAssignments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> osPolicyAssignmentsBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignment, + com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> + osPolicyAssignmentsBuilder_; /** + * + * *
      * The OS policy assignment revisions
      * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - public java.util.List getOsPolicyAssignmentsList() { + public java.util.List + getOsPolicyAssignmentsList() { if (osPolicyAssignmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyAssignments_); } else { @@ -605,6 +676,8 @@ public java.util.List getOsPoli } } /** + * + * *
      * The OS policy assignment revisions
      * 
@@ -619,6 +692,8 @@ public int getOsPolicyAssignmentsCount() { } } /** + * + * *
      * The OS policy assignment revisions
      * 
@@ -633,6 +708,8 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignments(in } } /** + * + * *
      * The OS policy assignment revisions
      * 
@@ -654,6 +731,8 @@ public Builder setOsPolicyAssignments( return this; } /** + * + * *
      * The OS policy assignment revisions
      * 
@@ -672,6 +751,8 @@ public Builder setOsPolicyAssignments( return this; } /** + * + * *
      * The OS policy assignment revisions
      * 
@@ -692,6 +773,8 @@ public Builder addOsPolicyAssignments(com.google.cloud.osconfig.v1.OSPolicyAssig return this; } /** + * + * *
      * The OS policy assignment revisions
      * 
@@ -713,6 +796,8 @@ public Builder addOsPolicyAssignments( return this; } /** + * + * *
      * The OS policy assignment revisions
      * 
@@ -731,6 +816,8 @@ public Builder addOsPolicyAssignments( return this; } /** + * + * *
      * The OS policy assignment revisions
      * 
@@ -749,6 +836,8 @@ public Builder addOsPolicyAssignments( return this; } /** + * + * *
      * The OS policy assignment revisions
      * 
@@ -759,8 +848,7 @@ public Builder addAllOsPolicyAssignments( java.lang.Iterable values) { if (osPolicyAssignmentsBuilder_ == null) { ensureOsPolicyAssignmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, osPolicyAssignments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicyAssignments_); onChanged(); } else { osPolicyAssignmentsBuilder_.addAllMessages(values); @@ -768,6 +856,8 @@ public Builder addAllOsPolicyAssignments( return this; } /** + * + * *
      * The OS policy assignment revisions
      * 
@@ -785,6 +875,8 @@ public Builder clearOsPolicyAssignments() { return this; } /** + * + * *
      * The OS policy assignment revisions
      * 
@@ -802,6 +894,8 @@ public Builder removeOsPolicyAssignments(int index) { return this; } /** + * + * *
      * The OS policy assignment revisions
      * 
@@ -813,6 +907,8 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder getOsPolicyAssign return getOsPolicyAssignmentsFieldBuilder().getBuilder(index); } /** + * + * *
      * The OS policy assignment revisions
      * 
@@ -822,19 +918,22 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder getOsPolicyAssign public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder( int index) { if (osPolicyAssignmentsBuilder_ == null) { - return osPolicyAssignments_.get(index); } else { + return osPolicyAssignments_.get(index); + } else { return osPolicyAssignmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The OS policy assignment revisions
      * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - public java.util.List - getOsPolicyAssignmentsOrBuilderList() { + public java.util.List + getOsPolicyAssignmentsOrBuilderList() { if (osPolicyAssignmentsBuilder_ != null) { return osPolicyAssignmentsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +941,8 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig } } /** + * + * *
      * The OS policy assignment revisions
      * 
@@ -849,10 +950,12 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder() { - return getOsPolicyAssignmentsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance()); + return getOsPolicyAssignmentsFieldBuilder() + .addBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance()); } /** + * + * *
      * The OS policy assignment revisions
      * 
@@ -861,26 +964,34 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder addOsPolicyAssign */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder( int index) { - return getOsPolicyAssignmentsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance()); + return getOsPolicyAssignmentsFieldBuilder() + .addBuilder(index, com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance()); } /** + * + * *
      * The OS policy assignment revisions
      * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - public java.util.List - getOsPolicyAssignmentsBuilderList() { + public java.util.List + getOsPolicyAssignmentsBuilderList() { return getOsPolicyAssignmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignment, + com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentsFieldBuilder() { if (osPolicyAssignmentsBuilder_ == null) { - osPolicyAssignmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder>( + osPolicyAssignmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignment, + com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder>( osPolicyAssignments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -892,19 +1003,21 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder addOsPolicyAssign private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1026,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1049,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1123,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) - private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse(); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse getDefaultInstance() { + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentRevisionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentRevisionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentRevisionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentRevisionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1160,8 @@ public com.google.protobuf.Parser getPa } @java.lang.Override - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java index 443ea42b..4ad20852 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; -public interface ListOSPolicyAssignmentRevisionsResponseOrBuilder extends +public interface ListOSPolicyAssignmentRevisionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The OS policy assignment revisions
    * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - java.util.List - getOsPolicyAssignmentsList(); + java.util.List getOsPolicyAssignmentsList(); /** + * + * *
    * The OS policy assignment revisions
    * 
@@ -25,6 +44,8 @@ public interface ListOSPolicyAssignmentRevisionsResponseOrBuilder extends */ com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignments(int index); /** + * + * *
    * The OS policy assignment revisions
    * 
@@ -33,15 +54,19 @@ public interface ListOSPolicyAssignmentRevisionsResponseOrBuilder extends */ int getOsPolicyAssignmentsCount(); /** + * + * *
    * The OS policy assignment revisions
    * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - java.util.List + java.util.List getOsPolicyAssignmentsOrBuilderList(); /** + * + * *
    * The OS policy assignment revisions
    * 
@@ -52,24 +77,29 @@ com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsO int index); /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignment
    * revisions.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignment
    * revisions.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequest.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequest.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequest.java index 7fa6f2b7..28cad318 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequest.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequest.java @@ -1,24 +1,43 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * A request message to list OS policy assignments for a parent resource
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest} */ -public final class ListOSPolicyAssignmentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListOSPolicyAssignmentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) ListOSPolicyAssignmentsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentsRequest.newBuilder() to construct. - private ListOSPolicyAssignmentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListOSPolicyAssignmentsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +45,15 @@ private ListOSPolicyAssignmentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListOSPolicyAssignmentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +72,32 @@ private ListOSPolicyAssignmentsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +105,41 @@ private ListOSPolicyAssignmentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.class, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -121,29 +148,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -154,11 +183,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of assignments to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,6 +201,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -176,6 +210,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -184,14 +219,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -199,16 +235,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -217,6 +252,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +264,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -252,8 +287,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -266,19 +300,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest other = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) obj; + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest other = + (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -302,117 +334,127 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest 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.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message to list OS policy assignments for a parent resource
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.class, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.newBuilder() @@ -420,16 +462,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -443,9 +484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor; } @java.lang.Override @@ -464,7 +505,8 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest buildPartial() { - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest result = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest(this); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest result = + new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -476,38 +518,39 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.ListOSPolicyAssignmentsRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) other); } else { super.mergeFrom(other); return this; @@ -515,7 +558,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest other) { - if (other == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -546,7 +590,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -558,18 +603,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource name.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -578,20 +627,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -599,66 +651,82 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource name.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource name.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of assignments to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -666,30 +734,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of assignments to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of assignments to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -697,6 +771,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -704,13 +780,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -719,6 +795,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -726,15 +804,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -742,6 +819,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -749,20 +828,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -770,15 +851,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -786,23 +870,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -812,12 +896,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest(); } @@ -826,16 +910,16 @@ public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -850,6 +934,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequestOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequestOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequestOrBuilder.java index f66311a5..638efc5d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsRequestOrBuilder.java @@ -1,43 +1,73 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; -public interface ListOSPolicyAssignmentsRequestOrBuilder extends +public interface ListOSPolicyAssignmentsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of assignments to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -45,10 +75,13 @@ public interface ListOSPolicyAssignmentsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -56,8 +89,8 @@ public interface ListOSPolicyAssignmentsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponse.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponse.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponse.java index f900e4df..1d236073 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponse.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponse.java @@ -1,24 +1,43 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * A response message for listing all assignments under given parent.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse} */ -public final class ListOSPolicyAssignmentsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListOSPolicyAssignmentsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) ListOSPolicyAssignmentsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentsResponse.newBuilder() to construct. - private ListOSPolicyAssignmentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListOSPolicyAssignmentsResponse() { osPolicyAssignments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +45,15 @@ private ListOSPolicyAssignmentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListOSPolicyAssignmentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +73,32 @@ private ListOSPolicyAssignmentsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyAssignments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + osPolicyAssignments_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + osPolicyAssignments_.add( + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicyAssignment.parser(), extensionRegistry)); + break; } - osPolicyAssignments_.add( - input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignment.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListOSPolicyAssignmentsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { osPolicyAssignments_ = java.util.Collections.unmodifiableList(osPolicyAssignments_); @@ -94,22 +115,27 @@ private ListOSPolicyAssignmentsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.class, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.Builder.class); } public static final int OS_POLICY_ASSIGNMENTS_FIELD_NUMBER = 1; private java.util.List osPolicyAssignments_; /** + * + * *
    * The list of assignments
    * 
@@ -117,10 +143,13 @@ private ListOSPolicyAssignmentsResponse( * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ @java.lang.Override - public java.util.List getOsPolicyAssignmentsList() { + public java.util.List + getOsPolicyAssignmentsList() { return osPolicyAssignments_; } /** + * + * *
    * The list of assignments
    * 
@@ -128,11 +157,13 @@ public java.util.List getOsPoli * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ @java.lang.Override - public java.util.List + public java.util.List getOsPolicyAssignmentsOrBuilderList() { return osPolicyAssignments_; } /** + * + * *
    * The list of assignments
    * 
@@ -144,6 +175,8 @@ public int getOsPolicyAssignmentsCount() { return osPolicyAssignments_.size(); } /** + * + * *
    * The list of assignments
    * 
@@ -155,6 +188,8 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignments(in return osPolicyAssignments_.get(index); } /** + * + * *
    * The list of assignments
    * 
@@ -170,11 +205,14 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignments.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -183,29 +221,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignments.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -214,6 +252,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +264,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < osPolicyAssignments_.size(); i++) { output.writeMessage(1, osPolicyAssignments_.get(i)); } @@ -243,8 +281,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < osPolicyAssignments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, osPolicyAssignments_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, osPolicyAssignments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,17 +295,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse other = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) obj; + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse other = + (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) obj; - if (!getOsPolicyAssignmentsList() - .equals(other.getOsPolicyAssignmentsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getOsPolicyAssignmentsList().equals(other.getOsPolicyAssignmentsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,117 +328,127 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse 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.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response message for listing all assignments under given parent.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.class, com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.Builder.class); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.class, + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.Builder.class); } // Construct using com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.newBuilder() @@ -409,17 +456,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getOsPolicyAssignmentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,13 +482,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.getDefaultInstance(); } @@ -456,7 +504,8 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse build() { @java.lang.Override public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse buildPartial() { - com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse result = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse(this); + com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse result = + new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse(this); int from_bitField0_ = bitField0_; if (osPolicyAssignmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,38 +525,39 @@ public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.ListOSPolicyAssignmentsResponse) { - return mergeFrom((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse)other); + return mergeFrom((com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) other); } else { super.mergeFrom(other); return this; @@ -515,7 +565,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse other) { - if (other == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse.getDefaultInstance()) + return this; if (osPolicyAssignmentsBuilder_ == null) { if (!other.osPolicyAssignments_.isEmpty()) { if (osPolicyAssignments_.isEmpty()) { @@ -534,9 +586,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRes osPolicyAssignmentsBuilder_ = null; osPolicyAssignments_ = other.osPolicyAssignments_; bitField0_ = (bitField0_ & ~0x00000001); - osPolicyAssignmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOsPolicyAssignmentsFieldBuilder() : null; + osPolicyAssignmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOsPolicyAssignmentsFieldBuilder() + : null; } else { osPolicyAssignmentsBuilder_.addAllMessages(other.osPolicyAssignments_); } @@ -565,7 +618,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,28 +628,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List osPolicyAssignments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureOsPolicyAssignmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyAssignments_ = new java.util.ArrayList(osPolicyAssignments_); + osPolicyAssignments_ = + new java.util.ArrayList( + osPolicyAssignments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> osPolicyAssignmentsBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignment, + com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> + osPolicyAssignmentsBuilder_; /** + * + * *
      * The list of assignments
      * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - public java.util.List getOsPolicyAssignmentsList() { + public java.util.List + getOsPolicyAssignmentsList() { if (osPolicyAssignmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyAssignments_); } else { @@ -603,6 +667,8 @@ public java.util.List getOsPoli } } /** + * + * *
      * The list of assignments
      * 
@@ -617,6 +683,8 @@ public int getOsPolicyAssignmentsCount() { } } /** + * + * *
      * The list of assignments
      * 
@@ -631,6 +699,8 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignments(in } } /** + * + * *
      * The list of assignments
      * 
@@ -652,6 +722,8 @@ public Builder setOsPolicyAssignments( return this; } /** + * + * *
      * The list of assignments
      * 
@@ -670,6 +742,8 @@ public Builder setOsPolicyAssignments( return this; } /** + * + * *
      * The list of assignments
      * 
@@ -690,6 +764,8 @@ public Builder addOsPolicyAssignments(com.google.cloud.osconfig.v1.OSPolicyAssig return this; } /** + * + * *
      * The list of assignments
      * 
@@ -711,6 +787,8 @@ public Builder addOsPolicyAssignments( return this; } /** + * + * *
      * The list of assignments
      * 
@@ -729,6 +807,8 @@ public Builder addOsPolicyAssignments( return this; } /** + * + * *
      * The list of assignments
      * 
@@ -747,6 +827,8 @@ public Builder addOsPolicyAssignments( return this; } /** + * + * *
      * The list of assignments
      * 
@@ -757,8 +839,7 @@ public Builder addAllOsPolicyAssignments( java.lang.Iterable values) { if (osPolicyAssignmentsBuilder_ == null) { ensureOsPolicyAssignmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, osPolicyAssignments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicyAssignments_); onChanged(); } else { osPolicyAssignmentsBuilder_.addAllMessages(values); @@ -766,6 +847,8 @@ public Builder addAllOsPolicyAssignments( return this; } /** + * + * *
      * The list of assignments
      * 
@@ -783,6 +866,8 @@ public Builder clearOsPolicyAssignments() { return this; } /** + * + * *
      * The list of assignments
      * 
@@ -800,6 +885,8 @@ public Builder removeOsPolicyAssignments(int index) { return this; } /** + * + * *
      * The list of assignments
      * 
@@ -811,6 +898,8 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder getOsPolicyAssign return getOsPolicyAssignmentsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of assignments
      * 
@@ -820,19 +909,22 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder getOsPolicyAssign public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder( int index) { if (osPolicyAssignmentsBuilder_ == null) { - return osPolicyAssignments_.get(index); } else { + return osPolicyAssignments_.get(index); + } else { return osPolicyAssignmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of assignments
      * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - public java.util.List - getOsPolicyAssignmentsOrBuilderList() { + public java.util.List + getOsPolicyAssignmentsOrBuilderList() { if (osPolicyAssignmentsBuilder_ != null) { return osPolicyAssignmentsBuilder_.getMessageOrBuilderList(); } else { @@ -840,6 +932,8 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig } } /** + * + * *
      * The list of assignments
      * 
@@ -847,10 +941,12 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder() { - return getOsPolicyAssignmentsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance()); + return getOsPolicyAssignmentsFieldBuilder() + .addBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance()); } /** + * + * *
      * The list of assignments
      * 
@@ -859,26 +955,34 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder addOsPolicyAssign */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder( int index) { - return getOsPolicyAssignmentsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance()); + return getOsPolicyAssignmentsFieldBuilder() + .addBuilder(index, com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance()); } /** + * + * *
      * The list of assignments
      * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - public java.util.List - getOsPolicyAssignmentsBuilderList() { + public java.util.List + getOsPolicyAssignmentsBuilderList() { return getOsPolicyAssignmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignment, + com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentsFieldBuilder() { if (osPolicyAssignmentsBuilder_ == null) { - osPolicyAssignmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder>( + osPolicyAssignmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignment, + com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder>( osPolicyAssignments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -890,18 +994,20 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder addOsPolicyAssign private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -910,20 +1016,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -931,61 +1038,68 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -995,12 +1109,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) - private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse(); } @@ -1009,16 +1124,16 @@ public static com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1033,6 +1148,4 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponseOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponseOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponseOrBuilder.java index 3cdaeb0e..f9e07587 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponseOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListOSPolicyAssignmentsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; -public interface ListOSPolicyAssignmentsResponseOrBuilder extends +public interface ListOSPolicyAssignmentsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of assignments
    * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - java.util.List - getOsPolicyAssignmentsList(); + java.util.List getOsPolicyAssignmentsList(); /** + * + * *
    * The list of assignments
    * 
@@ -25,6 +44,8 @@ public interface ListOSPolicyAssignmentsResponseOrBuilder extends */ com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignments(int index); /** + * + * *
    * The list of assignments
    * 
@@ -33,15 +54,19 @@ public interface ListOSPolicyAssignmentsResponseOrBuilder extends */ int getOsPolicyAssignmentsCount(); /** + * + * *
    * The list of assignments
    * 
* * repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1; */ - java.util.List + java.util.List getOsPolicyAssignmentsOrBuilderList(); /** + * + * *
    * The list of assignments
    * 
@@ -52,22 +77,27 @@ com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsO int index); /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignments.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignments.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequest.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequest.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequest.java index 6a0523e5..67432616 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequest.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequest.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * A request message for listing vulnerability reports for all VM instances in
  * the specified location.
@@ -11,15 +28,17 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.ListVulnerabilityReportsRequest}
  */
-public final class ListVulnerabilityReportsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListVulnerabilityReportsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListVulnerabilityReportsRequest)
     ListVulnerabilityReportsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListVulnerabilityReportsRequest.newBuilder() to construct.
-  private ListVulnerabilityReportsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListVulnerabilityReportsRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListVulnerabilityReportsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -28,16 +47,15 @@ private ListVulnerabilityReportsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListVulnerabilityReportsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListVulnerabilityReportsRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,36 +74,39 @@ private ListVulnerabilityReportsRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            parent_ = s;
-            break;
-          }
-          case 16: {
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            pageSize_ = input.readInt32();
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              parent_ = s;
+              break;
+            }
+          case 16:
+            {
+              pageSize_ = input.readInt32();
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            pageToken_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              pageToken_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            filter_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              filter_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,36 +114,43 @@ private ListVulnerabilityReportsRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1.VulnerabilityProto
+        .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.VulnerabilityProto
+        .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.class, com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.Builder.class);
+            com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.class,
+            com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -131,31 +159,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -166,11 +196,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -181,6 +214,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A pagination token returned from a previous call to
    * `ListVulnerabilityReports` that indicates where this listing
@@ -188,6 +223,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -196,14 +232,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A pagination token returned from a previous call to
    * `ListVulnerabilityReports` that indicates where this listing
@@ -211,16 +248,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -231,12 +267,15 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `vulnerabilityReport` API resource to be included in the response.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -245,30 +284,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `vulnerabilityReport` API resource to be included in the response.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -277,6 +316,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -288,8 +328,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -315,8 +354,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -332,21 +370,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest other = (com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest other = + (com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -372,96 +407,104 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest 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.osconfig.v1.ListVulnerabilityReportsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message for listing vulnerability reports for all VM instances in
    * the specified location.
@@ -469,21 +512,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1.ListVulnerabilityReportsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListVulnerabilityReportsRequest)
       com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.class, com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.Builder.class);
+              com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.class,
+              com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.newBuilder()
@@ -491,16 +536,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -516,13 +560,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest getDefaultInstanceForType() {
+    public com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.getDefaultInstance();
     }
 
@@ -537,7 +582,8 @@ public com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest buildPartial() {
-      com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest result = new com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest(this);
+      com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest result =
+          new com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -550,38 +596,39 @@ public com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.ListVulnerabilityReportsRequest) {
-        return mergeFrom((com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest)other);
+        return mergeFrom((com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -589,7 +636,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest other) {
-      if (other == com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -624,7 +673,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -636,20 +686,24 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -658,22 +712,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -681,72 +738,88 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -754,30 +827,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -785,6 +864,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -792,13 +873,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -807,6 +888,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -814,15 +897,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -830,6 +912,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -837,20 +921,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -858,15 +944,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -874,16 +963,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -891,19 +980,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -912,21 +1003,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -934,64 +1026,71 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1001,12 +1100,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) - private static final com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest(); } @@ -1015,16 +1115,16 @@ public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVulnerabilityReportsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVulnerabilityReportsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVulnerabilityReportsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVulnerabilityReportsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1039,6 +1139,4 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequestOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequestOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequestOrBuilder.java index f2fee151..b6f41374 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsRequestOrBuilder.java @@ -1,47 +1,77 @@ +/* + * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; -public interface ListVulnerabilityReportsRequestOrBuilder extends +public interface ListVulnerabilityReportsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListVulnerabilityReportsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A pagination token returned from a previous call to
    * `ListVulnerabilityReports` that indicates where this listing
@@ -49,10 +79,13 @@ public interface ListVulnerabilityReportsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A pagination token returned from a previous call to
    * `ListVulnerabilityReports` that indicates where this listing
@@ -60,30 +93,35 @@ public interface ListVulnerabilityReportsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `vulnerabilityReport` API resource to be included in the response.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `vulnerabilityReport` API resource to be included in the response.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponse.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponse.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponse.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponse.java index 4f6f5148..699e2b2f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponse.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponse.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * A response message for listing vulnerability reports for all VM instances in
  * the specified location.
@@ -11,15 +28,17 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.ListVulnerabilityReportsResponse}
  */
-public final class ListVulnerabilityReportsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListVulnerabilityReportsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListVulnerabilityReportsResponse)
     ListVulnerabilityReportsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListVulnerabilityReportsResponse.newBuilder() to construct.
-  private ListVulnerabilityReportsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListVulnerabilityReportsResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListVulnerabilityReportsResponse() {
     vulnerabilityReports_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,16 +46,15 @@ private ListVulnerabilityReportsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListVulnerabilityReportsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListVulnerabilityReportsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,28 +74,33 @@ private ListVulnerabilityReportsResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              vulnerabilityReports_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                vulnerabilityReports_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              vulnerabilityReports_.add(
+                  input.readMessage(
+                      com.google.cloud.osconfig.v1.VulnerabilityReport.parser(),
+                      extensionRegistry));
+              break;
             }
-            vulnerabilityReports_.add(
-                input.readMessage(com.google.cloud.osconfig.v1.VulnerabilityReport.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            nextPageToken_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              nextPageToken_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,8 +108,7 @@ private ListVulnerabilityReportsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         vulnerabilityReports_ = java.util.Collections.unmodifiableList(vulnerabilityReports_);
@@ -95,22 +117,27 @@ private ListVulnerabilityReportsResponse(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1.VulnerabilityProto
+        .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.VulnerabilityProto
+        .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.class, com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.Builder.class);
+            com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.class,
+            com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.Builder.class);
   }
 
   public static final int VULNERABILITY_REPORTS_FIELD_NUMBER = 1;
   private java.util.List vulnerabilityReports_;
   /**
+   *
+   *
    * 
    * List of vulnerabilityReport objects.
    * 
@@ -118,10 +145,13 @@ private ListVulnerabilityReportsResponse( * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ @java.lang.Override - public java.util.List getVulnerabilityReportsList() { + public java.util.List + getVulnerabilityReportsList() { return vulnerabilityReports_; } /** + * + * *
    * List of vulnerabilityReport objects.
    * 
@@ -129,11 +159,13 @@ public java.util.List getVulne * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVulnerabilityReportsOrBuilderList() { return vulnerabilityReports_; } /** + * + * *
    * List of vulnerabilityReport objects.
    * 
@@ -145,6 +177,8 @@ public int getVulnerabilityReportsCount() { return vulnerabilityReports_.size(); } /** + * + * *
    * List of vulnerabilityReport objects.
    * 
@@ -156,6 +190,8 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport getVulnerabilityReports( return vulnerabilityReports_.get(index); } /** + * + * *
    * List of vulnerabilityReport objects.
    * 
@@ -171,12 +207,15 @@ public com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder getVulnerabilit public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The pagination token to retrieve the next page of vulnerabilityReports
    * object.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -185,30 +224,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * The pagination token to retrieve the next page of vulnerabilityReports
    * object.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -217,6 +256,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +268,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < vulnerabilityReports_.size(); i++) { output.writeMessage(1, vulnerabilityReports_.get(i)); } @@ -246,8 +285,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < vulnerabilityReports_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, vulnerabilityReports_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, vulnerabilityReports_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -260,17 +299,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse other = (com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse) obj; + com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse other = + (com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse) obj; - if (!getVulnerabilityReportsList() - .equals(other.getVulnerabilityReportsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getVulnerabilityReportsList().equals(other.getVulnerabilityReportsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -294,96 +332,104 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse 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.osconfig.v1.ListVulnerabilityReportsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response message for listing vulnerability reports for all VM instances in
    * the specified location.
@@ -391,21 +437,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1.ListVulnerabilityReportsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListVulnerabilityReportsResponse)
       com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.class, com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.Builder.class);
+              com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.class,
+              com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.newBuilder()
@@ -413,17 +461,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getVulnerabilityReportsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -439,13 +487,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse getDefaultInstanceForType() {
+    public com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse
+        getDefaultInstanceForType() {
       return com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.getDefaultInstance();
     }
 
@@ -460,7 +509,8 @@ public com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse buildPartial() {
-      com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse result = new com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse(this);
+      com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse result =
+          new com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse(this);
       int from_bitField0_ = bitField0_;
       if (vulnerabilityReportsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -480,38 +530,39 @@ public com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse buildPartia
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.ListVulnerabilityReportsResponse) {
-        return mergeFrom((com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse)other);
+        return mergeFrom((com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -519,7 +570,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse other) {
-      if (other == com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse.getDefaultInstance())
+        return this;
       if (vulnerabilityReportsBuilder_ == null) {
         if (!other.vulnerabilityReports_.isEmpty()) {
           if (vulnerabilityReports_.isEmpty()) {
@@ -538,9 +591,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.ListVulnerabilityReportsRe
             vulnerabilityReportsBuilder_ = null;
             vulnerabilityReports_ = other.vulnerabilityReports_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            vulnerabilityReportsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getVulnerabilityReportsFieldBuilder() : null;
+            vulnerabilityReportsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getVulnerabilityReportsFieldBuilder()
+                    : null;
           } else {
             vulnerabilityReportsBuilder_.addAllMessages(other.vulnerabilityReports_);
           }
@@ -569,7 +623,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -578,28 +634,39 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List vulnerabilityReports_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureVulnerabilityReportsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        vulnerabilityReports_ = new java.util.ArrayList(vulnerabilityReports_);
+        vulnerabilityReports_ =
+            new java.util.ArrayList(
+                vulnerabilityReports_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.osconfig.v1.VulnerabilityReport, com.google.cloud.osconfig.v1.VulnerabilityReport.Builder, com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder> vulnerabilityReportsBuilder_;
+            com.google.cloud.osconfig.v1.VulnerabilityReport,
+            com.google.cloud.osconfig.v1.VulnerabilityReport.Builder,
+            com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder>
+        vulnerabilityReportsBuilder_;
 
     /**
+     *
+     *
      * 
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * */ - public java.util.List getVulnerabilityReportsList() { + public java.util.List + getVulnerabilityReportsList() { if (vulnerabilityReportsBuilder_ == null) { return java.util.Collections.unmodifiableList(vulnerabilityReports_); } else { @@ -607,11 +674,14 @@ public java.util.List getVulne } } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * */ public int getVulnerabilityReportsCount() { if (vulnerabilityReportsBuilder_ == null) { @@ -621,11 +691,14 @@ public int getVulnerabilityReportsCount() { } } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * */ public com.google.cloud.osconfig.v1.VulnerabilityReport getVulnerabilityReports(int index) { if (vulnerabilityReportsBuilder_ == null) { @@ -635,11 +708,14 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport getVulnerabilityReports( } } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * */ public Builder setVulnerabilityReports( int index, com.google.cloud.osconfig.v1.VulnerabilityReport value) { @@ -656,11 +732,14 @@ public Builder setVulnerabilityReports( return this; } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * */ public Builder setVulnerabilityReports( int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Builder builderForValue) { @@ -674,11 +753,14 @@ public Builder setVulnerabilityReports( return this; } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * */ public Builder addVulnerabilityReports(com.google.cloud.osconfig.v1.VulnerabilityReport value) { if (vulnerabilityReportsBuilder_ == null) { @@ -694,11 +776,14 @@ public Builder addVulnerabilityReports(com.google.cloud.osconfig.v1.Vulnerabilit return this; } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * */ public Builder addVulnerabilityReports( int index, com.google.cloud.osconfig.v1.VulnerabilityReport value) { @@ -715,11 +800,14 @@ public Builder addVulnerabilityReports( return this; } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * */ public Builder addVulnerabilityReports( com.google.cloud.osconfig.v1.VulnerabilityReport.Builder builderForValue) { @@ -733,11 +821,14 @@ public Builder addVulnerabilityReports( return this; } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * */ public Builder addVulnerabilityReports( int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Builder builderForValue) { @@ -751,18 +842,20 @@ public Builder addVulnerabilityReports( return this; } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * */ public Builder addAllVulnerabilityReports( java.lang.Iterable values) { if (vulnerabilityReportsBuilder_ == null) { ensureVulnerabilityReportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, vulnerabilityReports_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vulnerabilityReports_); onChanged(); } else { vulnerabilityReportsBuilder_.addAllMessages(values); @@ -770,11 +863,14 @@ public Builder addAllVulnerabilityReports( return this; } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * */ public Builder clearVulnerabilityReports() { if (vulnerabilityReportsBuilder_ == null) { @@ -787,11 +883,14 @@ public Builder clearVulnerabilityReports() { return this; } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * */ public Builder removeVulnerabilityReports(int index) { if (vulnerabilityReportsBuilder_ == null) { @@ -804,39 +903,49 @@ public Builder removeVulnerabilityReports(int index) { return this; } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * */ public com.google.cloud.osconfig.v1.VulnerabilityReport.Builder getVulnerabilityReportsBuilder( int index) { return getVulnerabilityReportsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * */ - public com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder getVulnerabilityReportsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder + getVulnerabilityReportsOrBuilder(int index) { if (vulnerabilityReportsBuilder_ == null) { - return vulnerabilityReports_.get(index); } else { + return vulnerabilityReports_.get(index); + } else { return vulnerabilityReportsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * */ - public java.util.List - getVulnerabilityReportsOrBuilderList() { + public java.util.List + getVulnerabilityReportsOrBuilderList() { if (vulnerabilityReportsBuilder_ != null) { return vulnerabilityReportsBuilder_.getMessageOrBuilderList(); } else { @@ -844,45 +953,61 @@ public com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder getVulnerabilit } } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Builder addVulnerabilityReportsBuilder() { - return getVulnerabilityReportsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.VulnerabilityReport.getDefaultInstance()); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Builder + addVulnerabilityReportsBuilder() { + return getVulnerabilityReportsFieldBuilder() + .addBuilder(com.google.cloud.osconfig.v1.VulnerabilityReport.getDefaultInstance()); } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * */ public com.google.cloud.osconfig.v1.VulnerabilityReport.Builder addVulnerabilityReportsBuilder( int index) { - return getVulnerabilityReportsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.VulnerabilityReport.getDefaultInstance()); + return getVulnerabilityReportsFieldBuilder() + .addBuilder(index, com.google.cloud.osconfig.v1.VulnerabilityReport.getDefaultInstance()); } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; + * */ - public java.util.List - getVulnerabilityReportsBuilderList() { + public java.util.List + getVulnerabilityReportsBuilderList() { return getVulnerabilityReportsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport, com.google.cloud.osconfig.v1.VulnerabilityReport.Builder, com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder> + com.google.cloud.osconfig.v1.VulnerabilityReport, + com.google.cloud.osconfig.v1.VulnerabilityReport.Builder, + com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder> getVulnerabilityReportsFieldBuilder() { if (vulnerabilityReportsBuilder_ == null) { - vulnerabilityReportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport, com.google.cloud.osconfig.v1.VulnerabilityReport.Builder, com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder>( + vulnerabilityReportsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.VulnerabilityReport, + com.google.cloud.osconfig.v1.VulnerabilityReport.Builder, + com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder>( vulnerabilityReports_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -894,19 +1019,21 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Builder addVulnerability private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -915,21 +1042,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -937,64 +1065,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1004,12 +1139,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListVulnerabilityReportsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListVulnerabilityReportsResponse) - private static final com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse(); } @@ -1018,16 +1154,16 @@ public static com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVulnerabilityReportsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVulnerabilityReportsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVulnerabilityReportsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVulnerabilityReportsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1042,6 +1178,4 @@ public com.google.protobuf.Parser getParserFor public com.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponseOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponseOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponseOrBuilder.java index 9c9f443b..58c34c75 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponseOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ListVulnerabilityReportsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; -public interface ListVulnerabilityReportsResponseOrBuilder extends +public interface ListVulnerabilityReportsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListVulnerabilityReportsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of vulnerabilityReport objects.
    * 
* * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ - java.util.List - getVulnerabilityReportsList(); + java.util.List getVulnerabilityReportsList(); /** + * + * *
    * List of vulnerabilityReport objects.
    * 
@@ -25,6 +44,8 @@ public interface ListVulnerabilityReportsResponseOrBuilder extends */ com.google.cloud.osconfig.v1.VulnerabilityReport getVulnerabilityReports(int index); /** + * + * *
    * List of vulnerabilityReport objects.
    * 
@@ -33,15 +54,19 @@ public interface ListVulnerabilityReportsResponseOrBuilder extends */ int getVulnerabilityReportsCount(); /** + * + * *
    * List of vulnerabilityReport objects.
    * 
* * repeated .google.cloud.osconfig.v1.VulnerabilityReport vulnerability_reports = 1; */ - java.util.List + java.util.List getVulnerabilityReportsOrBuilderList(); /** + * + * *
    * List of vulnerabilityReport objects.
    * 
@@ -52,24 +77,29 @@ com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder getVulnerabilityReport int index); /** + * + * *
    * The pagination token to retrieve the next page of vulnerabilityReports
    * object.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The pagination token to retrieve the next page of vulnerabilityReports
    * object.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/LocationName.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/LocationName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/LocationName.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/LocationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicy.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicy.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicy.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicy.java index 6a804be9..ff19755c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicy.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicy.java @@ -1,24 +1,42 @@ +/* + * 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/osconfig/v1/os_policy.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * An OS policy defines the desired state configuration for a VM.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy} */ -public final class OSPolicy extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OSPolicy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy) OSPolicyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSPolicy.newBuilder() to construct. private OSPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OSPolicy() { id_ = ""; description_ = ""; @@ -28,16 +46,15 @@ private OSPolicy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OSPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OSPolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,45 +74,52 @@ private OSPolicy( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - id_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); + id_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - mode_ = rawValue; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - resourceGroups_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + description_ = s; + break; } - resourceGroups_.add( - input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.parser(), extensionRegistry)); - break; - } - case 40: { + case 24: + { + int rawValue = input.readEnum(); - allowNoResourceGroupMatch_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + mode_ = rawValue; + break; + } + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + resourceGroups_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + resourceGroups_.add( + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.parser(), + extensionRegistry)); + break; + } + case 40: + { + allowNoResourceGroupMatch_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,8 +127,7 @@ private OSPolicy( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { resourceGroups_ = java.util.Collections.unmodifiableList(resourceGroups_); @@ -113,29 +136,35 @@ private OSPolicy( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.class, com.google.cloud.osconfig.v1.OSPolicy.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.class, + com.google.cloud.osconfig.v1.OSPolicy.Builder.class); } /** + * + * *
    * Policy mode
    * 
* * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicy.Mode} */ - public enum Mode - implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Invalid mode
      * 
@@ -144,6 +173,8 @@ public enum Mode */ MODE_UNSPECIFIED(0), /** + * + * *
      * This mode checks if the configuration resources in the policy are in
      * their desired state. No actions are performed if they are not in the
@@ -154,6 +185,8 @@ public enum Mode
      */
     VALIDATION(1),
     /**
+     *
+     *
      * 
      * This mode checks if the configuration resources in the policy are in
      * their desired state, and if not, enforces the desired state.
@@ -166,6 +199,8 @@ public enum Mode
     ;
 
     /**
+     *
+     *
      * 
      * Invalid mode
      * 
@@ -174,6 +209,8 @@ public enum Mode */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * This mode checks if the configuration resources in the policy are in
      * their desired state. No actions are performed if they are not in the
@@ -184,6 +221,8 @@ public enum Mode
      */
     public static final int VALIDATION_VALUE = 1;
     /**
+     *
+     *
      * 
      * This mode checks if the configuration resources in the policy are in
      * their desired state, and if not, enforces the desired state.
@@ -193,7 +232,6 @@ public enum Mode
      */
     public static final int ENFORCEMENT_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -218,49 +256,49 @@ public static Mode valueOf(int value) {
      */
     public static Mode forNumber(int value) {
       switch (value) {
-        case 0: return MODE_UNSPECIFIED;
-        case 1: return VALIDATION;
-        case 2: return ENFORCEMENT;
-        default: return null;
+        case 0:
+          return MODE_UNSPECIFIED;
+        case 1:
+          return VALIDATION;
+        case 2:
+          return ENFORCEMENT;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Mode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Mode findValueByNumber(int number) {
-              return Mode.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Mode findValueByNumber(int number) {
+            return Mode.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.osconfig.v1.OSPolicy.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Mode[] VALUES = values();
 
-    public static Mode valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -277,31 +315,39 @@ private Mode(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1.OSPolicy.Mode)
   }
 
-  public interface InventoryFilterOrBuilder extends
+  public interface InventoryFilterOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.InventoryFilter)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. The OS short name
      * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The osShortName. */ java.lang.String getOsShortName(); /** + * + * *
      * Required. The OS short name
      * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for osShortName. */ - com.google.protobuf.ByteString - getOsShortNameBytes(); + com.google.protobuf.ByteString getOsShortNameBytes(); /** + * + * *
      * The OS version
      * Prefix matches are supported if asterisk(*) is provided as the
@@ -311,10 +357,13 @@ public interface InventoryFilterOrBuilder extends
      * 
* * string os_version = 2; + * * @return The osVersion. */ java.lang.String getOsVersion(); /** + * + * *
      * The OS version
      * Prefix matches are supported if asterisk(*) is provided as the
@@ -324,27 +373,30 @@ public interface InventoryFilterOrBuilder extends
      * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ - com.google.protobuf.ByteString - getOsVersionBytes(); + com.google.protobuf.ByteString getOsVersionBytes(); } /** + * + * *
    * Filtering criteria to select VMs based on inventory details.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.InventoryFilter} */ - public static final class InventoryFilter extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class InventoryFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.InventoryFilter) InventoryFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InventoryFilter.newBuilder() to construct. private InventoryFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InventoryFilter() { osShortName_ = ""; osVersion_ = ""; @@ -352,16 +404,15 @@ private InventoryFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InventoryFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InventoryFilter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -380,25 +431,27 @@ private InventoryFilter( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - osShortName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + osShortName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - osVersion_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + osVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -406,34 +459,39 @@ private InventoryFilter( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.class, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.class, + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder.class); } public static final int OS_SHORT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object osShortName_; /** + * + * *
      * Required. The OS short name
      * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The osShortName. */ @java.lang.Override @@ -442,29 +500,29 @@ public java.lang.String getOsShortName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; } } /** + * + * *
      * Required. The OS short name
      * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for osShortName. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsShortNameBytes() { + public com.google.protobuf.ByteString getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osShortName_ = b; return b; } else { @@ -475,6 +533,8 @@ public java.lang.String getOsShortName() { public static final int OS_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object osVersion_; /** + * + * *
      * The OS version
      * Prefix matches are supported if asterisk(*) is provided as the
@@ -484,6 +544,7 @@ public java.lang.String getOsShortName() {
      * 
* * string os_version = 2; + * * @return The osVersion. */ @java.lang.Override @@ -492,14 +553,15 @@ public java.lang.String getOsVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; } } /** + * + * *
      * The OS version
      * Prefix matches are supported if asterisk(*) is provided as the
@@ -509,16 +571,15 @@ public java.lang.String getOsVersion() {
      * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsVersionBytes() { + public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osVersion_ = b; return b; } else { @@ -527,6 +588,7 @@ public java.lang.String getOsVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -538,8 +600,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osShortName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osShortName_); } @@ -569,17 +630,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter other = (com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter) obj; + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter other = + (com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter) obj; - if (!getOsShortName() - .equals(other.getOsShortName())) return false; - if (!getOsVersion() - .equals(other.getOsVersion())) return false; + if (!getOsShortName().equals(other.getOsShortName())) return false; + if (!getOsVersion().equals(other.getOsVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -601,87 +661,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter 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.osconfig.v1.OSPolicy.InventoryFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -691,27 +758,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Filtering criteria to select VMs based on inventory details.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.InventoryFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.InventoryFilter) com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.class, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.class, + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder.class); } // Construct using com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.newBuilder() @@ -719,16 +791,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -740,9 +811,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor; } @java.lang.Override @@ -761,7 +832,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter build() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter result = new com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter(this); + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter result = + new com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter(this); result.osShortName_ = osShortName_; result.osVersion_ = osVersion_; onBuilt(); @@ -772,38 +844,41 @@ public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.InventoryFilter) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter)other); + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter) other); } else { super.mergeFrom(other); return this; @@ -811,7 +886,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter other) { - if (other == com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.getDefaultInstance()) + return this; if (!other.getOsShortName().isEmpty()) { osShortName_ = other.osShortName_; onChanged(); @@ -839,7 +915,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -851,18 +928,20 @@ public Builder mergeFrom( private java.lang.Object osShortName_ = ""; /** + * + * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The osShortName. */ public java.lang.String getOsShortName() { java.lang.Object ref = osShortName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; @@ -871,20 +950,21 @@ public java.lang.String getOsShortName() { } } /** + * + * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for osShortName. */ - public com.google.protobuf.ByteString - getOsShortNameBytes() { + public com.google.protobuf.ByteString getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osShortName_ = b; return b; } else { @@ -892,54 +972,61 @@ public java.lang.String getOsShortName() { } } /** + * + * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortName( - java.lang.String value) { + public Builder setOsShortName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osShortName_ = value; onChanged(); return this; } /** + * + * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearOsShortName() { - + osShortName_ = getDefaultInstance().getOsShortName(); onChanged(); return this; } /** + * + * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortNameBytes( - com.google.protobuf.ByteString value) { + public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osShortName_ = value; onChanged(); return this; @@ -947,6 +1034,8 @@ public Builder setOsShortNameBytes( private java.lang.Object osVersion_ = ""; /** + * + * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -956,13 +1045,13 @@ public Builder setOsShortNameBytes(
        * 
* * string os_version = 2; + * * @return The osVersion. */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; @@ -971,6 +1060,8 @@ public java.lang.String getOsVersion() { } } /** + * + * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -980,15 +1071,14 @@ public java.lang.String getOsVersion() {
        * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ - public com.google.protobuf.ByteString - getOsVersionBytes() { + public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osVersion_ = b; return b; } else { @@ -996,6 +1086,8 @@ public java.lang.String getOsVersion() { } } /** + * + * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1005,20 +1097,22 @@ public java.lang.String getOsVersion() {
        * 
* * string os_version = 2; + * * @param value The osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersion( - java.lang.String value) { + public Builder setOsVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osVersion_ = value; onChanged(); return this; } /** + * + * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1028,15 +1122,18 @@ public Builder setOsVersion(
        * 
* * string os_version = 2; + * * @return This builder for chaining. */ public Builder clearOsVersion() { - + osVersion_ = getDefaultInstance().getOsVersion(); onChanged(); return this; } /** + * + * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1046,20 +1143,21 @@ public Builder clearOsVersion() {
        * 
* * string os_version = 2; + * * @param value The bytes for osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setOsVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osVersion_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1072,12 +1170,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.InventoryFilter) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.InventoryFilter) private static final com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter(); } @@ -1086,16 +1184,16 @@ public static com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InventoryFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InventoryFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InventoryFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InventoryFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1110,14 +1208,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ResourceOrBuilder extends + public interface ResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The id of the resource with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -1128,10 +1228,13 @@ public interface ResourceOrBuilder extends
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
      * Required. The id of the resource with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -1142,30 +1245,38 @@ public interface ResourceOrBuilder extends
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
      * Package resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; + * * @return Whether the pkg field is set. */ boolean hasPkg(); /** + * + * *
      * Package resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; + * * @return The pkg. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource getPkg(); /** + * + * *
      * Package resource
      * 
@@ -1175,51 +1286,68 @@ public interface ResourceOrBuilder extends com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder getPkgOrBuilder(); /** + * + * *
      * Package repository resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
      * Package repository resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; + * * @return The repository. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource getRepository(); /** + * + * *
      * Package repository resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder getRepositoryOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder + getRepositoryOrBuilder(); /** + * + * *
      * Exec resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource exec = 4; + * * @return Whether the exec field is set. */ boolean hasExec(); /** + * + * *
      * Exec resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource exec = 4; + * * @return The exec. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource getExec(); /** + * + * *
      * Exec resource
      * 
@@ -1229,24 +1357,32 @@ public interface ResourceOrBuilder extends com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder getExecOrBuilder(); /** + * + * *
      * File resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource file = 5; + * * @return Whether the file field is set. */ boolean hasFile(); /** + * + * *
      * File resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource file = 5; + * * @return The file. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource getFile(); /** + * + * *
      * File resource
      * 
@@ -1258,6 +1394,8 @@ public interface ResourceOrBuilder extends public com.google.cloud.osconfig.v1.OSPolicy.Resource.ResourceTypeCase getResourceTypeCase(); } /** + * + * *
    * An OS policy resource is used to define the desired state configuration
    * and provides a specific functionality like installing/removing packages,
@@ -1268,31 +1406,31 @@ public interface ResourceOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource}
    */
-  public static final class Resource extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Resource extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource)
       ResourceOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Resource.newBuilder() to construct.
     private Resource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Resource() {
       id_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Resource();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private Resource(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1311,75 +1449,108 @@ private Resource(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              id_ = s;
-              break;
-            }
-            case 18: {
-              com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder subBuilder = null;
-              if (resourceTypeCase_ == 2) {
-                subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_).toBuilder();
-              }
-              resourceType_ =
-                  input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_);
-                resourceType_ = subBuilder.buildPartial();
-              }
-              resourceTypeCase_ = 2;
-              break;
-            }
-            case 26: {
-              com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder subBuilder = null;
-              if (resourceTypeCase_ == 3) {
-                subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_).toBuilder();
-              }
-              resourceType_ =
-                  input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_);
-                resourceType_ = subBuilder.buildPartial();
+                id_ = s;
+                break;
               }
-              resourceTypeCase_ = 3;
-              break;
-            }
-            case 34: {
-              com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder subBuilder = null;
-              if (resourceTypeCase_ == 4) {
-                subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_).toBuilder();
+            case 18:
+              {
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder subBuilder =
+                    null;
+                if (resourceTypeCase_ == 2) {
+                  subBuilder =
+                      ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource)
+                              resourceType_)
+                          .toBuilder();
+                }
+                resourceType_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource)
+                          resourceType_);
+                  resourceType_ = subBuilder.buildPartial();
+                }
+                resourceTypeCase_ = 2;
+                break;
               }
-              resourceType_ =
-                  input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_);
-                resourceType_ = subBuilder.buildPartial();
+            case 26:
+              {
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder
+                    subBuilder = null;
+                if (resourceTypeCase_ == 3) {
+                  subBuilder =
+                      ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource)
+                              resourceType_)
+                          .toBuilder();
+                }
+                resourceType_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource)
+                          resourceType_);
+                  resourceType_ = subBuilder.buildPartial();
+                }
+                resourceTypeCase_ = 3;
+                break;
               }
-              resourceTypeCase_ = 4;
-              break;
-            }
-            case 42: {
-              com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder subBuilder = null;
-              if (resourceTypeCase_ == 5) {
-                subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_).toBuilder();
+            case 34:
+              {
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder subBuilder =
+                    null;
+                if (resourceTypeCase_ == 4) {
+                  subBuilder =
+                      ((com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_)
+                          .toBuilder();
+                }
+                resourceType_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_);
+                  resourceType_ = subBuilder.buildPartial();
+                }
+                resourceTypeCase_ = 4;
+                break;
               }
-              resourceType_ =
-                  input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_);
-                resourceType_ = subBuilder.buildPartial();
+            case 42:
+              {
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder subBuilder =
+                    null;
+                if (resourceTypeCase_ == 5) {
+                  subBuilder =
+                      ((com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_)
+                          .toBuilder();
+                }
+                resourceType_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_);
+                  resourceType_ = subBuilder.buildPartial();
+                }
+                resourceTypeCase_ = 5;
+                break;
               }
-              resourceTypeCase_ = 5;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1387,49 +1558,60 @@ private Resource(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.OsPolicyProto
+          .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.OsPolicyProto
+          .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.OSPolicy.Resource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder.class);
+              com.google.cloud.osconfig.v1.OSPolicy.Resource.class,
+              com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder.class);
     }
 
-    public interface FileOrBuilder extends
+    public interface FileOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.File)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * A generic remote file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; + * * @return Whether the remote field is set. */ boolean hasRemote(); /** + * + * *
        * A generic remote file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; + * * @return The remote. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote getRemote(); /** + * + * *
        * A generic remote file.
        * 
@@ -1439,24 +1621,32 @@ public interface FileOrBuilder extends com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder getRemoteOrBuilder(); /** + * + * *
        * A Cloud Storage object.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs gcs = 2; + * * @return Whether the gcs field is set. */ boolean hasGcs(); /** + * + * *
        * A Cloud Storage object.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs gcs = 2; + * * @return The gcs. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs getGcs(); /** + * + * *
        * A Cloud Storage object.
        * 
@@ -1466,35 +1656,45 @@ public interface FileOrBuilder extends com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder getGcsOrBuilder(); /** + * + * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; + * * @return Whether the localPath field is set. */ boolean hasLocalPath(); /** + * + * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; + * * @return The localPath. */ java.lang.String getLocalPath(); /** + * + * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; + * * @return The bytes for localPath. */ - com.google.protobuf.ByteString - getLocalPathBytes(); + com.google.protobuf.ByteString getLocalPathBytes(); /** + * + * *
        * Defaults to false. When false, files are subject to validations
        * based on the file type:
@@ -1503,6 +1703,7 @@ public interface FileOrBuilder extends
        * 
* * bool allow_insecure = 4; + * * @return The allowInsecure. */ boolean getAllowInsecure(); @@ -1510,36 +1711,37 @@ public interface FileOrBuilder extends public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.TypeCase getTypeCase(); } /** + * + * *
      * A remote or local file.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.File} */ - public static final class File extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class File extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.File) FileOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private File() { - } + + private File() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1558,52 +1760,66 @@ private File( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder subBuilder = null; - if (typeCase_ == 1) { - subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_).toBuilder(); + case 10: + { + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder subBuilder = + null; + if (typeCase_ == 1) { + subBuilder = + ((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_) + .toBuilder(); + } + type_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 1; + break; } - type_ = - input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_); - type_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder subBuilder = null; + if (typeCase_ == 2) { + subBuilder = + ((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_) + .toBuilder(); + } + type_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 2; + break; } - typeCase_ = 1; - break; - } - case 18: { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder subBuilder = null; - if (typeCase_ == 2) { - subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_).toBuilder(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + typeCase_ = 3; + type_ = s; + break; } - type_ = - input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_); - type_ = subBuilder.buildPartial(); + case 32: + { + allowInsecure_ = input.readBool(); + break; } - typeCase_ = 2; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - typeCase_ = 3; - type_ = s; - break; - } - case 32: { - - allowInsecure_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1611,88 +1827,105 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder.class); } - public interface RemoteOrBuilder extends + public interface RemoteOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. URI from which to fetch the object. It should contain both
          * the protocol and path following the format `{protocol}://{location}`.
          * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
          * Required. URI from which to fetch the object. It should contain both
          * the protocol and path following the format `{protocol}://{location}`.
          * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
          * SHA256 checksum of the remote file.
          * 
* * string sha256_checksum = 2; + * * @return The sha256Checksum. */ java.lang.String getSha256Checksum(); /** + * + * *
          * SHA256 checksum of the remote file.
          * 
* * string sha256_checksum = 2; + * * @return The bytes for sha256Checksum. */ - com.google.protobuf.ByteString - getSha256ChecksumBytes(); + com.google.protobuf.ByteString getSha256ChecksumBytes(); } /** + * + * *
        * Specifies a file available via some URI.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote} */ - public static final class Remote extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Remote extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) RemoteOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Remote.newBuilder() to construct. private Remote(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Remote() { uri_ = ""; sha256Checksum_ = ""; @@ -1700,16 +1933,15 @@ private Remote() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Remote(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Remote( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1728,25 +1960,27 @@ private Remote( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + uri_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - sha256Checksum_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + sha256Checksum_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1754,35 +1988,41 @@ private Remote( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder.class); } public static final int URI_FIELD_NUMBER = 1; private volatile java.lang.Object uri_; /** + * + * *
          * Required. URI from which to fetch the object. It should contain both
          * the protocol and path following the format `{protocol}://{location}`.
          * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ @java.lang.Override @@ -1791,30 +2031,30 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
          * Required. URI from which to fetch the object. It should contain both
          * the protocol and path following the format `{protocol}://{location}`.
          * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -1825,11 +2065,14 @@ public java.lang.String getUri() { public static final int SHA256_CHECKSUM_FIELD_NUMBER = 2; private volatile java.lang.Object sha256Checksum_; /** + * + * *
          * SHA256 checksum of the remote file.
          * 
* * string sha256_checksum = 2; + * * @return The sha256Checksum. */ @java.lang.Override @@ -1838,29 +2081,29 @@ public java.lang.String getSha256Checksum() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sha256Checksum_ = s; return s; } } /** + * + * *
          * SHA256 checksum of the remote file.
          * 
* * string sha256_checksum = 2; + * * @return The bytes for sha256Checksum. */ @java.lang.Override - public com.google.protobuf.ByteString - getSha256ChecksumBytes() { + public com.google.protobuf.ByteString getSha256ChecksumBytes() { java.lang.Object ref = sha256Checksum_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sha256Checksum_ = b; return b; } else { @@ -1869,6 +2112,7 @@ public java.lang.String getSha256Checksum() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1881,7 +2125,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } @@ -1911,17 +2155,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote other = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) obj; - if (!getUri() - .equals(other.getUri())) return false; - if (!getSha256Checksum() - .equals(other.getSha256Checksum())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getSha256Checksum().equals(other.getSha256Checksum())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1943,87 +2186,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote 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.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2033,27 +2284,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Specifies a file available via some URI.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder.class); } // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.newBuilder() @@ -2061,16 +2317,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2082,13 +2337,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.getDefaultInstance(); } @@ -2103,7 +2359,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote build() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote result = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote(this); result.uri_ = uri_; result.sha256Checksum_ = sha256Checksum_; onBuilt(); @@ -2114,46 +2371,52 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.File.Remote) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote)other); + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote other) { - if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote other) { + if (other + == com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.getDefaultInstance()) + return this; if (!other.getUri().isEmpty()) { uri_ = other.uri_; onChanged(); @@ -2181,7 +2444,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2193,19 +2458,21 @@ public Builder mergeFrom( private java.lang.Object uri_ = ""; /** + * + * *
            * Required. URI from which to fetch the object. It should contain both
            * the protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -2214,21 +2481,22 @@ public java.lang.String getUri() { } } /** + * + * *
            * Required. URI from which to fetch the object. It should contain both
            * the protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -2236,57 +2504,64 @@ public java.lang.String getUri() { } } /** + * + * *
            * Required. URI from which to fetch the object. It should contain both
            * the protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { + public Builder setUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** + * + * *
            * Required. URI from which to fetch the object. It should contain both
            * the protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** + * + * *
            * Required. URI from which to fetch the object. It should contain both
            * the protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { + public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -2294,18 +2569,20 @@ public Builder setUriBytes( private java.lang.Object sha256Checksum_ = ""; /** + * + * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; + * * @return The sha256Checksum. */ public java.lang.String getSha256Checksum() { java.lang.Object ref = sha256Checksum_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sha256Checksum_ = s; return s; @@ -2314,20 +2591,21 @@ public java.lang.String getSha256Checksum() { } } /** + * + * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; + * * @return The bytes for sha256Checksum. */ - public com.google.protobuf.ByteString - getSha256ChecksumBytes() { + public com.google.protobuf.ByteString getSha256ChecksumBytes() { java.lang.Object ref = sha256Checksum_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sha256Checksum_ = b; return b; } else { @@ -2335,58 +2613,66 @@ public java.lang.String getSha256Checksum() { } } /** + * + * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; + * * @param value The sha256Checksum to set. * @return This builder for chaining. */ - public Builder setSha256Checksum( - java.lang.String value) { + public Builder setSha256Checksum(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sha256Checksum_ = value; onChanged(); return this; } /** + * + * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; + * * @return This builder for chaining. */ public Builder clearSha256Checksum() { - + sha256Checksum_ = getDefaultInstance().getSha256Checksum(); onChanged(); return this; } /** + * + * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; + * * @param value The bytes for sha256Checksum to set. * @return This builder for chaining. */ - public Builder setSha256ChecksumBytes( - com.google.protobuf.ByteString value) { + public Builder setSha256ChecksumBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sha256Checksum_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2399,30 +2685,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Remote parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Remote(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Remote parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Remote(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2434,82 +2722,99 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GcsOrBuilder extends + public interface GcsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. Bucket of the Cloud Storage object.
          * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucket. */ java.lang.String getBucket(); /** + * + * *
          * Required. Bucket of the Cloud Storage object.
          * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucket. */ - com.google.protobuf.ByteString - getBucketBytes(); + com.google.protobuf.ByteString getBucketBytes(); /** + * + * *
          * Required. Name of the Cloud Storage object.
          * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The object. */ java.lang.String getObject(); /** + * + * *
          * Required. Name of the Cloud Storage object.
          * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for object. */ - com.google.protobuf.ByteString - getObjectBytes(); + com.google.protobuf.ByteString getObjectBytes(); /** + * + * *
          * Generation number of the Cloud Storage object.
          * 
* * int64 generation = 3; + * * @return The generation. */ long getGeneration(); } /** + * + * *
        * Specifies a file available as a Cloud Storage Object.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs} */ - public static final class Gcs extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Gcs extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) GcsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Gcs.newBuilder() to construct. private Gcs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Gcs() { bucket_ = ""; object_ = ""; @@ -2517,16 +2822,15 @@ private Gcs() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Gcs(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Gcs( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2545,30 +2849,32 @@ private Gcs( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - bucket_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - object_ = s; - break; - } - case 24: { + bucket_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - generation_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + object_ = s; + break; + } + case 24: + { + generation_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2576,34 +2882,40 @@ private Gcs( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder.class); } public static final int BUCKET_FIELD_NUMBER = 1; private volatile java.lang.Object bucket_; /** + * + * *
          * Required. Bucket of the Cloud Storage object.
          * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucket. */ @java.lang.Override @@ -2612,29 +2924,29 @@ public java.lang.String getBucket() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; } } /** + * + * *
          * Required. Bucket of the Cloud Storage object.
          * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucket. */ @java.lang.Override - public com.google.protobuf.ByteString - getBucketBytes() { + public com.google.protobuf.ByteString getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bucket_ = b; return b; } else { @@ -2645,11 +2957,14 @@ public java.lang.String getBucket() { public static final int OBJECT_FIELD_NUMBER = 2; private volatile java.lang.Object object_; /** + * + * *
          * Required. Name of the Cloud Storage object.
          * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The object. */ @java.lang.Override @@ -2658,29 +2973,29 @@ public java.lang.String getObject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; } } /** + * + * *
          * Required. Name of the Cloud Storage object.
          * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for object. */ @java.lang.Override - public com.google.protobuf.ByteString - getObjectBytes() { + public com.google.protobuf.ByteString getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); object_ = b; return b; } else { @@ -2691,11 +3006,14 @@ public java.lang.String getObject() { public static final int GENERATION_FIELD_NUMBER = 3; private long generation_; /** + * + * *
          * Generation number of the Cloud Storage object.
          * 
* * int64 generation = 3; + * * @return The generation. */ @java.lang.Override @@ -2704,6 +3022,7 @@ public long getGeneration() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2716,7 +3035,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucket_); } @@ -2742,8 +3061,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, object_); } if (generation_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, generation_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, generation_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2753,19 +3071,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs other = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) obj; - if (!getBucket() - .equals(other.getBucket())) return false; - if (!getObject() - .equals(other.getObject())) return false; - if (getGeneration() - != other.getGeneration()) return false; + if (!getBucket().equals(other.getBucket())) return false; + if (!getObject().equals(other.getObject())) return false; + if (getGeneration() != other.getGeneration()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2782,95 +3098,102 @@ public int hashCode() { hash = (37 * hash) + OBJECT_FIELD_NUMBER; hash = (53 * hash) + getObject().hashCode(); hash = (37 * hash) + GENERATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getGeneration()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGeneration()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs 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.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2880,27 +3203,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Specifies a file available as a Cloud Storage Object.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder.class); } // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.newBuilder() @@ -2908,16 +3236,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2931,13 +3258,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.getDefaultInstance(); } @@ -2952,7 +3280,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs build() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs result = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs(this); result.bucket_ = bucket_; result.object_ = object_; result.generation_ = generation_; @@ -2964,38 +3293,41 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.File.Gcs) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs)other); + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) other); } else { super.mergeFrom(other); return this; @@ -3003,7 +3335,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs other) { - if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.getDefaultInstance()) return this; + if (other + == com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.getDefaultInstance()) + return this; if (!other.getBucket().isEmpty()) { bucket_ = other.bucket_; onChanged(); @@ -3034,7 +3368,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3046,18 +3382,20 @@ public Builder mergeFrom( private java.lang.Object bucket_ = ""; /** + * + * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucket. */ public java.lang.String getBucket() { java.lang.Object ref = bucket_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; @@ -3066,20 +3404,21 @@ public java.lang.String getBucket() { } } /** + * + * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucket. */ - public com.google.protobuf.ByteString - getBucketBytes() { + public com.google.protobuf.ByteString getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bucket_ = b; return b; } else { @@ -3087,54 +3426,61 @@ public java.lang.String getBucket() { } } /** + * + * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bucket to set. * @return This builder for chaining. */ - public Builder setBucket( - java.lang.String value) { + public Builder setBucket(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucket_ = value; onChanged(); return this; } /** + * + * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBucket() { - + bucket_ = getDefaultInstance().getBucket(); onChanged(); return this; } /** + * + * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for bucket to set. * @return This builder for chaining. */ - public Builder setBucketBytes( - com.google.protobuf.ByteString value) { + public Builder setBucketBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucket_ = value; onChanged(); return this; @@ -3142,18 +3488,20 @@ public Builder setBucketBytes( private java.lang.Object object_ = ""; /** + * + * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The object. */ public java.lang.String getObject() { java.lang.Object ref = object_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; @@ -3162,20 +3510,21 @@ public java.lang.String getObject() { } } /** + * + * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for object. */ - public com.google.protobuf.ByteString - getObjectBytes() { + public com.google.protobuf.ByteString getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); object_ = b; return b; } else { @@ -3183,66 +3532,76 @@ public java.lang.String getObject() { } } /** + * + * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The object to set. * @return This builder for chaining. */ - public Builder setObject( - java.lang.String value) { + public Builder setObject(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + object_ = value; onChanged(); return this; } /** + * + * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearObject() { - + object_ = getDefaultInstance().getObject(); onChanged(); return this; } /** + * + * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for object to set. * @return This builder for chaining. */ - public Builder setObjectBytes( - com.google.protobuf.ByteString value) { + public Builder setObjectBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + object_ = value; onChanged(); return this; } - private long generation_ ; + private long generation_; /** + * + * *
            * Generation number of the Cloud Storage object.
            * 
* * int64 generation = 3; + * * @return The generation. */ @java.lang.Override @@ -3250,34 +3609,41 @@ public long getGeneration() { return generation_; } /** + * + * *
            * Generation number of the Cloud Storage object.
            * 
* * int64 generation = 3; + * * @param value The generation to set. * @return This builder for chaining. */ public Builder setGeneration(long value) { - + generation_ = value; onChanged(); return this; } /** + * + * *
            * Generation number of the Cloud Storage object.
            * 
* * int64 generation = 3; + * * @return This builder for chaining. */ public Builder clearGeneration() { - + generation_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3290,12 +3656,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs(); } @@ -3304,16 +3671,16 @@ public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Gcs parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Gcs(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Gcs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Gcs(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3328,19 +3695,21 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int typeCase_ = 0; private java.lang.Object type_; + public enum TypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { REMOTE(1), GCS(2), LOCAL_PATH(3), TYPE_NOT_SET(0); private final int value; + private TypeCase(int value) { this.value = value; } @@ -3356,31 +3725,38 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 1: return REMOTE; - case 2: return GCS; - case 3: return LOCAL_PATH; - case 0: return TYPE_NOT_SET; - default: return null; + case 1: + return REMOTE; + case 2: + return GCS; + case 3: + return LOCAL_PATH; + case 0: + return TYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public static final int REMOTE_FIELD_NUMBER = 1; /** + * + * *
        * A generic remote file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; + * * @return Whether the remote field is set. */ @java.lang.Override @@ -3388,21 +3764,26 @@ public boolean hasRemote() { return typeCase_ == 1; } /** + * + * *
        * A generic remote file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; + * * @return The remote. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote getRemote() { if (typeCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.getDefaultInstance(); } /** + * + * *
        * A generic remote file.
        * 
@@ -3410,20 +3791,24 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote getRemote() { * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder getRemoteOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder + getRemoteOrBuilder() { if (typeCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.getDefaultInstance(); } public static final int GCS_FIELD_NUMBER = 2; /** + * + * *
        * A Cloud Storage object.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs gcs = 2; + * * @return Whether the gcs field is set. */ @java.lang.Override @@ -3431,21 +3816,26 @@ public boolean hasGcs() { return typeCase_ == 2; } /** + * + * *
        * A Cloud Storage object.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs gcs = 2; + * * @return The gcs. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs getGcs() { if (typeCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.getDefaultInstance(); } /** + * + * *
        * A Cloud Storage object.
        * 
@@ -3455,29 +3845,35 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs getGcs() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder getGcsOrBuilder() { if (typeCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.getDefaultInstance(); } public static final int LOCAL_PATH_FIELD_NUMBER = 3; /** + * + * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; + * * @return Whether the localPath field is set. */ public boolean hasLocalPath() { return typeCase_ == 3; } /** + * + * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; + * * @return The localPath. */ public java.lang.String getLocalPath() { @@ -3488,8 +3884,7 @@ public java.lang.String getLocalPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (typeCase_ == 3) { type_ = s; @@ -3498,23 +3893,24 @@ public java.lang.String getLocalPath() { } } /** + * + * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; + * * @return The bytes for localPath. */ - public com.google.protobuf.ByteString - getLocalPathBytes() { + public com.google.protobuf.ByteString getLocalPathBytes() { java.lang.Object ref = ""; if (typeCase_ == 3) { ref = type_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (typeCase_ == 3) { type_ = b; } @@ -3527,6 +3923,8 @@ public java.lang.String getLocalPath() { public static final int ALLOW_INSECURE_FIELD_NUMBER = 4; private boolean allowInsecure_; /** + * + * *
        * Defaults to false. When false, files are subject to validations
        * based on the file type:
@@ -3535,6 +3933,7 @@ public java.lang.String getLocalPath() {
        * 
* * bool allow_insecure = 4; + * * @return The allowInsecure. */ @java.lang.Override @@ -3543,6 +3942,7 @@ public boolean getAllowInsecure() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3554,10 +3954,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (typeCase_ == 1) { - output.writeMessage(1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_); + output.writeMessage( + 1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_); } if (typeCase_ == 2) { output.writeMessage(2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_); @@ -3578,19 +3978,20 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_); } if (typeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_); } if (typeCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); } if (allowInsecure_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, allowInsecure_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowInsecure_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3600,28 +4001,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.File)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.File other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File other = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) obj; - if (getAllowInsecure() - != other.getAllowInsecure()) return false; + if (getAllowInsecure() != other.getAllowInsecure()) return false; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (!getRemote() - .equals(other.getRemote())) return false; + if (!getRemote().equals(other.getRemote())) return false; break; case 2: - if (!getGcs() - .equals(other.getGcs())) return false; + if (!getGcs().equals(other.getGcs())) return false; break; case 3: - if (!getLocalPath() - .equals(other.getLocalPath())) return false; + if (!getLocalPath().equals(other.getLocalPath())) return false; break; case 0: default: @@ -3638,8 +4036,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_INSECURE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowInsecure()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowInsecure()); switch (typeCase_) { case 1: hash = (37 * hash) + REMOTE_FIELD_NUMBER; @@ -3662,87 +4059,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File 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.osconfig.v1.OSPolicy.Resource.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.File prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.Resource.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3752,27 +4156,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A remote or local file.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.File} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.File) com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder.class); } // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder() @@ -3780,16 +4189,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3801,9 +4209,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor; } @java.lang.Override @@ -3822,7 +4230,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File build() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.File(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File result = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.File(this); if (typeCase_ == 1) { if (remoteBuilder_ == null) { result.type_ = type_; @@ -3850,38 +4259,41 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.File) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File)other); + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File) other); } else { super.mergeFrom(other); return this; @@ -3889,28 +4301,33 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.File other) { - if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance()) + return this; if (other.getAllowInsecure() != false) { setAllowInsecure(other.getAllowInsecure()); } switch (other.getTypeCase()) { - case REMOTE: { - mergeRemote(other.getRemote()); - break; - } - case GCS: { - mergeGcs(other.getGcs()); - break; - } - case LOCAL_PATH: { - typeCase_ = 3; - type_ = other.type_; - onChanged(); - break; - } - case TYPE_NOT_SET: { - break; - } + case REMOTE: + { + mergeRemote(other.getRemote()); + break; + } + case GCS: + { + mergeGcs(other.getGcs()); + break; + } + case LOCAL_PATH: + { + typeCase_ = 3; + type_ = other.type_; + onChanged(); + break; + } + case TYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -3931,7 +4348,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3940,12 +4358,12 @@ public Builder mergeFrom( } return this; } + private int typeCase_ = 0; private java.lang.Object type_; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public Builder clearType() { @@ -3955,15 +4373,20 @@ public Builder clearType() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder> remoteBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder> + remoteBuilder_; /** + * + * *
          * A generic remote file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; + * * @return Whether the remote field is set. */ @java.lang.Override @@ -3971,11 +4394,14 @@ public boolean hasRemote() { return typeCase_ == 1; } /** + * + * *
          * A generic remote file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; + * * @return The remote. */ @java.lang.Override @@ -3993,6 +4419,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote getRemote() { } } /** + * + * *
          * A generic remote file.
          * 
@@ -4013,6 +4441,8 @@ public Builder setRemote(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Rem return this; } /** + * + * *
          * A generic remote file.
          * 
@@ -4031,18 +4461,26 @@ public Builder setRemote( return this; } /** + * + * *
          * A generic remote file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; */ - public Builder mergeRemote(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote value) { + public Builder mergeRemote( + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote value) { if (remoteBuilder_ == null) { - if (typeCase_ == 1 && - type_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.getDefaultInstance()) { - type_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 1 + && type_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote + .getDefaultInstance()) { + type_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.newBuilder( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -4058,6 +4496,8 @@ public Builder mergeRemote(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.R return this; } /** + * + * *
          * A generic remote file.
          * 
@@ -4081,16 +4521,21 @@ public Builder clearRemote() { return this; } /** + * + * *
          * A generic remote file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder getRemoteBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder + getRemoteBuilder() { return getRemoteFieldBuilder().getBuilder(); } /** + * + * *
          * A generic remote file.
          * 
@@ -4098,7 +4543,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder getRem * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder getRemoteOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder + getRemoteOrBuilder() { if ((typeCase_ == 1) && (remoteBuilder_ != null)) { return remoteBuilder_.getMessageOrBuilder(); } else { @@ -4109,6 +4555,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder getRe } } /** + * + * *
          * A generic remote file.
          * 
@@ -4116,32 +4564,45 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder getRe * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder> getRemoteFieldBuilder() { if (remoteBuilder_ == null) { if (!(typeCase_ == 1)) { - type_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.getDefaultInstance(); - } - remoteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder>( + type_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.getDefaultInstance(); + } + remoteBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteOrBuilder>( (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; - onChanged();; + onChanged(); + ; return remoteBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder> gcsBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder> + gcsBuilder_; /** + * + * *
          * A Cloud Storage object.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs gcs = 2; + * * @return Whether the gcs field is set. */ @java.lang.Override @@ -4149,11 +4610,14 @@ public boolean hasGcs() { return typeCase_ == 2; } /** + * + * *
          * A Cloud Storage object.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs gcs = 2; + * * @return The gcs. */ @java.lang.Override @@ -4171,6 +4635,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs getGcs() { } } /** + * + * *
          * A Cloud Storage object.
          * 
@@ -4191,6 +4657,8 @@ public Builder setGcs(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs va return this; } /** + * + * *
          * A Cloud Storage object.
          * 
@@ -4209,6 +4677,8 @@ public Builder setGcs( return this; } /** + * + * *
          * A Cloud Storage object.
          * 
@@ -4217,10 +4687,15 @@ public Builder setGcs( */ public Builder mergeGcs(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs value) { if (gcsBuilder_ == null) { - if (typeCase_ == 2 && - type_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.getDefaultInstance()) { - type_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 2 + && type_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs + .getDefaultInstance()) { + type_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.newBuilder( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -4236,6 +4711,8 @@ public Builder mergeGcs(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs return this; } /** + * + * *
          * A Cloud Storage object.
          * 
@@ -4259,6 +4736,8 @@ public Builder clearGcs() { return this; } /** + * + * *
          * A Cloud Storage object.
          * 
@@ -4269,6 +4748,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder getGcsBui return getGcsFieldBuilder().getBuilder(); } /** + * + * *
          * A Cloud Storage object.
          * 
@@ -4287,6 +4768,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder getGcsOr } } /** + * + * *
          * A Cloud Storage object.
          * 
@@ -4294,30 +4777,39 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder getGcsOr * .google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs gcs = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder> getGcsFieldBuilder() { if (gcsBuilder_ == null) { if (!(typeCase_ == 2)) { type_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.getDefaultInstance(); } - gcsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder>( + gcsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsOrBuilder>( (com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 2; - onChanged();; + onChanged(); + ; return gcsBuilder_; } /** + * + * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; + * * @return Whether the localPath field is set. */ @java.lang.Override @@ -4325,11 +4817,14 @@ public boolean hasLocalPath() { return typeCase_ == 3; } /** + * + * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; + * * @return The localPath. */ @java.lang.Override @@ -4339,8 +4834,7 @@ public java.lang.String getLocalPath() { ref = type_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (typeCase_ == 3) { type_ = s; @@ -4351,24 +4845,25 @@ public java.lang.String getLocalPath() { } } /** + * + * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; + * * @return The bytes for localPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocalPathBytes() { + public com.google.protobuf.ByteString getLocalPathBytes() { java.lang.Object ref = ""; if (typeCase_ == 3) { ref = type_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (typeCase_ == 3) { type_ = b; } @@ -4378,30 +4873,35 @@ public java.lang.String getLocalPath() { } } /** + * + * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; + * * @param value The localPath to set. * @return This builder for chaining. */ - public Builder setLocalPath( - java.lang.String value) { + public Builder setLocalPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - typeCase_ = 3; + throw new NullPointerException(); + } + typeCase_ = 3; type_ = value; onChanged(); return this; } /** + * + * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; + * * @return This builder for chaining. */ public Builder clearLocalPath() { @@ -4413,28 +4913,32 @@ public Builder clearLocalPath() { return this; } /** + * + * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; + * * @param value The bytes for localPath to set. * @return This builder for chaining. */ - public Builder setLocalPathBytes( - com.google.protobuf.ByteString value) { + public Builder setLocalPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); typeCase_ = 3; type_ = value; onChanged(); return this; } - private boolean allowInsecure_ ; + private boolean allowInsecure_; /** + * + * *
          * Defaults to false. When false, files are subject to validations
          * based on the file type:
@@ -4443,6 +4947,7 @@ public Builder setLocalPathBytes(
          * 
* * bool allow_insecure = 4; + * * @return The allowInsecure. */ @java.lang.Override @@ -4450,6 +4955,8 @@ public boolean getAllowInsecure() { return allowInsecure_; } /** + * + * *
          * Defaults to false. When false, files are subject to validations
          * based on the file type:
@@ -4458,16 +4965,19 @@ public boolean getAllowInsecure() {
          * 
* * bool allow_insecure = 4; + * * @param value The allowInsecure to set. * @return This builder for chaining. */ public Builder setAllowInsecure(boolean value) { - + allowInsecure_ = value; onChanged(); return this; } /** + * + * *
          * Defaults to false. When false, files are subject to validations
          * based on the file type:
@@ -4476,14 +4986,16 @@ public Builder setAllowInsecure(boolean value) {
          * 
* * bool allow_insecure = 4; + * * @return This builder for chaining. */ public Builder clearAllowInsecure() { - + allowInsecure_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4496,12 +5008,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.File) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.File) private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.File DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.File(); } @@ -4510,16 +5022,16 @@ public static com.google.cloud.osconfig.v1.OSPolicy.Resource.File getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4534,51 +5046,69 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PackageResourceOrBuilder extends + public interface PackageResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Required. The desired state the agent should maintain for this package.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for desiredState. */ int getDesiredStateValue(); /** + * + * *
        * Required. The desired state the agent should maintain for this package.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The desiredState. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState getDesiredState(); /** + * + * *
        * A package managed by Apt.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; + * * @return Whether the apt field is set. */ boolean hasApt(); /** + * + * *
        * A package managed by Apt.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; + * * @return The apt. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT getApt(); /** + * + * *
        * A package managed by Apt.
        * 
@@ -4588,24 +5118,32 @@ public interface PackageResourceOrBuilder extends com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder getAptOrBuilder(); /** + * + * *
        * A deb package file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; + * * @return Whether the deb field is set. */ boolean hasDeb(); /** + * + * *
        * A deb package file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; + * * @return The deb. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb getDeb(); /** + * + * *
        * A deb package file.
        * 
@@ -4615,24 +5153,32 @@ public interface PackageResourceOrBuilder extends com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder getDebOrBuilder(); /** + * + * *
        * A package managed by YUM.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; + * * @return Whether the yum field is set. */ boolean hasYum(); /** + * + * *
        * A package managed by YUM.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; + * * @return The yum. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM getYum(); /** + * + * *
        * A package managed by YUM.
        * 
@@ -4642,51 +5188,68 @@ public interface PackageResourceOrBuilder extends com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder getYumOrBuilder(); /** + * + * *
        * A package managed by Zypper.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * * @return Whether the zypper field is set. */ boolean hasZypper(); /** + * + * *
        * A package managed by Zypper.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * * @return The zypper. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper getZypper(); /** + * + * *
        * A package managed by Zypper.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder getZypperOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder + getZypperOrBuilder(); /** + * + * *
        * An rpm package file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * * @return Whether the rpm field is set. */ boolean hasRpm(); /** + * + * *
        * An rpm package file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * * @return The rpm. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM getRpm(); /** + * + * *
        * An rpm package file.
        * 
@@ -4696,51 +5259,68 @@ public interface PackageResourceOrBuilder extends com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder getRpmOrBuilder(); /** + * + * *
        * A package managed by GooGet.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * * @return Whether the googet field is set. */ boolean hasGooget(); /** + * + * *
        * A package managed by GooGet.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * * @return The googet. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet getGooget(); /** + * + * *
        * A package managed by GooGet.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder getGoogetOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder + getGoogetOrBuilder(); /** + * + * *
        * An MSI package.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; + * * @return Whether the msi field is set. */ boolean hasMsi(); /** + * + * *
        * An MSI package.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; + * * @return The msi. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI getMsi(); /** + * + * *
        * An MSI package.
        * 
@@ -4749,40 +5329,43 @@ public interface PackageResourceOrBuilder extends */ com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder getMsiOrBuilder(); - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.SystemPackageCase getSystemPackageCase(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.SystemPackageCase + getSystemPackageCase(); } /** + * + * *
      * A resource that manages a system package.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource} */ - public static final class PackageResource extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PackageResource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) PackageResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PackageResource.newBuilder() to construct. private PackageResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PackageResource() { desiredState_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PackageResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PackageResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4801,117 +5384,188 @@ private PackageResource( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - desiredState_ = rawValue; - break; - } - case 18: { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder subBuilder = null; - if (systemPackageCase_ == 2) { - subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_).toBuilder(); - } - systemPackage_ = - input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 2; - break; - } - case 26: { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder subBuilder = null; - if (systemPackageCase_ == 3) { - subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_).toBuilder(); - } - systemPackage_ = - input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 3; - break; - } - case 34: { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder subBuilder = null; - if (systemPackageCase_ == 4) { - subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_).toBuilder(); - } - systemPackage_ = - input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 4; - break; - } - case 42: { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder subBuilder = null; - if (systemPackageCase_ == 5) { - subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_).toBuilder(); + desiredState_ = rawValue; + break; } - systemPackage_ = - input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_); - systemPackage_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder + subBuilder = null; + if (systemPackageCase_ == 2) { + subBuilder = + ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) + systemPackage_) + .toBuilder(); + } + systemPackage_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) + systemPackage_); + systemPackage_ = subBuilder.buildPartial(); + } + systemPackageCase_ = 2; + break; } - systemPackageCase_ = 5; - break; - } - case 50: { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder subBuilder = null; - if (systemPackageCase_ == 6) { - subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_).toBuilder(); + case 26: + { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder + subBuilder = null; + if (systemPackageCase_ == 3) { + subBuilder = + ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) + systemPackage_) + .toBuilder(); + } + systemPackage_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) + systemPackage_); + systemPackage_ = subBuilder.buildPartial(); + } + systemPackageCase_ = 3; + break; } - systemPackage_ = - input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_); - systemPackage_ = subBuilder.buildPartial(); + case 34: + { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder + subBuilder = null; + if (systemPackageCase_ == 4) { + subBuilder = + ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) + systemPackage_) + .toBuilder(); + } + systemPackage_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) + systemPackage_); + systemPackage_ = subBuilder.buildPartial(); + } + systemPackageCase_ = 4; + break; } - systemPackageCase_ = 6; - break; - } - case 58: { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder subBuilder = null; - if (systemPackageCase_ == 7) { - subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_).toBuilder(); + case 42: + { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder + subBuilder = null; + if (systemPackageCase_ == 5) { + subBuilder = + ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) + systemPackage_) + .toBuilder(); + } + systemPackage_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) + systemPackage_); + systemPackage_ = subBuilder.buildPartial(); + } + systemPackageCase_ = 5; + break; } - systemPackage_ = - input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_); - systemPackage_ = subBuilder.buildPartial(); + case 50: + { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder + subBuilder = null; + if (systemPackageCase_ == 6) { + subBuilder = + ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) + systemPackage_) + .toBuilder(); + } + systemPackage_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) + systemPackage_); + systemPackage_ = subBuilder.buildPartial(); + } + systemPackageCase_ = 6; + break; } - systemPackageCase_ = 7; - break; - } - case 66: { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder subBuilder = null; - if (systemPackageCase_ == 8) { - subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_).toBuilder(); + case 58: + { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder + subBuilder = null; + if (systemPackageCase_ == 7) { + subBuilder = + ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) + systemPackage_) + .toBuilder(); + } + systemPackage_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) + systemPackage_); + systemPackage_ = subBuilder.buildPartial(); + } + systemPackageCase_ = 7; + break; } - systemPackage_ = - input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_); - systemPackage_ = subBuilder.buildPartial(); + case 66: + { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder + subBuilder = null; + if (systemPackageCase_ == 8) { + subBuilder = + ((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) + systemPackage_) + .toBuilder(); + } + systemPackage_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) + systemPackage_); + systemPackage_ = subBuilder.buildPartial(); + } + systemPackageCase_ = 8; + break; } - systemPackageCase_ = 8; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4919,36 +5573,43 @@ private PackageResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder.class); } /** + * + * *
        * The desired state that the OS Config agent maintains on the VM.
        * 
* - * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState} + * Protobuf enum {@code + * google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState} */ - public enum DesiredState - implements com.google.protobuf.ProtocolMessageEnum { + public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
          * Unspecified is invalid.
          * 
@@ -4957,6 +5618,8 @@ public enum DesiredState */ DESIRED_STATE_UNSPECIFIED(0), /** + * + * *
          * Ensure that the package is installed.
          * 
@@ -4965,6 +5628,8 @@ public enum DesiredState */ INSTALLED(1), /** + * + * *
          * The agent ensures that the package is not installed and
          * uninstalls it if detected.
@@ -4977,6 +5642,8 @@ public enum DesiredState
         ;
 
         /**
+         *
+         *
          * 
          * Unspecified is invalid.
          * 
@@ -4985,6 +5652,8 @@ public enum DesiredState */ public static final int DESIRED_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
          * Ensure that the package is installed.
          * 
@@ -4993,6 +5662,8 @@ public enum DesiredState */ public static final int INSTALLED_VALUE = 1; /** + * + * *
          * The agent ensures that the package is not installed and
          * uninstalls it if detected.
@@ -5002,7 +5673,6 @@ public enum DesiredState
          */
         public static final int REMOVED_VALUE = 2;
 
-
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -5027,40 +5697,45 @@ public static DesiredState valueOf(int value) {
          */
         public static DesiredState forNumber(int value) {
           switch (value) {
-            case 0: return DESIRED_STATE_UNSPECIFIED;
-            case 1: return INSTALLED;
-            case 2: return REMOVED;
-            default: return null;
+            case 0:
+              return DESIRED_STATE_UNSPECIFIED;
+            case 1:
+              return INSTALLED;
+            case 2:
+              return REMOVED;
+            default:
+              return null;
           }
         }
 
-        public static com.google.protobuf.Internal.EnumLiteMap
-            internalGetValueMap() {
+        public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
           return internalValueMap;
         }
-        private static final com.google.protobuf.Internal.EnumLiteMap<
-            DesiredState> internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public DesiredState findValueByNumber(int number) {
-                  return DesiredState.forNumber(number);
-                }
-              };
 
-        public final com.google.protobuf.Descriptors.EnumValueDescriptor
-            getValueDescriptor() {
+        private static final com.google.protobuf.Internal.EnumLiteMap
+            internalValueMap =
+                new com.google.protobuf.Internal.EnumLiteMap() {
+                  public DesiredState findValueByNumber(int number) {
+                    return DesiredState.forNumber(number);
+                  }
+                };
+
+        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalStateException(
                 "Can't get the descriptor of an unrecognized enum value.");
           }
           return getDescriptor().getValues().get(ordinal());
         }
-        public final com.google.protobuf.Descriptors.EnumDescriptor
-            getDescriptorForType() {
+
+        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
           return getDescriptor();
         }
-        public static final com.google.protobuf.Descriptors.EnumDescriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDescriptor().getEnumTypes().get(0);
+
+        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDescriptor()
+              .getEnumTypes()
+              .get(0);
         }
 
         private static final DesiredState[] VALUES = values();
@@ -5069,7 +5744,7 @@ public static DesiredState valueOf(
             com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
           if (desc.getType() != getDescriptor()) {
             throw new java.lang.IllegalArgumentException(
-              "EnumValueDescriptor is not for this type.");
+                "EnumValueDescriptor is not for this type.");
           }
           if (desc.getIndex() == -1) {
             return UNRECOGNIZED;
@@ -5086,38 +5761,55 @@ private DesiredState(int value) {
         // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState)
       }
 
-      public interface DebOrBuilder extends
+      public interface DebOrBuilder
+          extends
           // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb)
           com.google.protobuf.MessageOrBuilder {
 
         /**
+         *
+         *
          * 
          * Required. A deb package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ boolean hasSource(); /** + * + * *
          * Required. A deb package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.File getSource(); /** + * + * *
          * Required. A deb package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder(); /** + * + * *
          * Whether dependencies should also be installed.
          * - install when false: `dpkg -i package`
@@ -5126,41 +5818,43 @@ public interface DebOrBuilder extends
          * 
* * bool pull_deps = 2; + * * @return The pullDeps. */ boolean getPullDeps(); } /** + * + * *
        * A deb package file. dpkg packages only support INSTALLED state.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb} */ - public static final class Deb extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Deb extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) DebOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Deb.newBuilder() to construct. private Deb(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Deb() { - } + + private Deb() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Deb(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Deb( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5174,36 +5868,40 @@ private Deb( try { boolean done = false; while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; - if (source_ != null) { - subBuilder = source_.toBuilder(); - } - source_ = input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(source_); - source_ = subBuilder.buildPartial(); - } - - break; - } - case 16: { - - pullDeps_ = input.readBool(); + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: + { + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; + if (source_ != null) { + subBuilder = source_.toBuilder(); + } + source_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(source_); + source_ = subBuilder.buildPartial(); + } + + break; + } + case 16: + { + pullDeps_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5211,34 +5909,42 @@ private Deb( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder.class); } public static final int SOURCE_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1.OSPolicy.Resource.File source_; /** + * + * *
          * Required. A deb package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ @java.lang.Override @@ -5246,23 +5952,34 @@ public boolean hasSource() { return source_ != null; } /** + * + * *
          * Required. A deb package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getSource() { - return source_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() + : source_; } /** + * + * *
          * Required. A deb package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { @@ -5272,6 +5989,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrB public static final int PULL_DEPS_FIELD_NUMBER = 2; private boolean pullDeps_; /** + * + * *
          * Whether dependencies should also be installed.
          * - install when false: `dpkg -i package`
@@ -5280,6 +5999,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrB
          * 
* * bool pull_deps = 2; + * * @return The pullDeps. */ @java.lang.Override @@ -5288,6 +6008,7 @@ public boolean getPullDeps() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5300,7 +6021,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (source_ != null) { output.writeMessage(1, getSource()); } @@ -5317,12 +6038,10 @@ public int getSerializedSize() { size = 0; if (source_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSource()); } if (pullDeps_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, pullDeps_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, pullDeps_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5332,20 +6051,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb other = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) obj; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource() - .equals(other.getSource())) return false; + if (!getSource().equals(other.getSource())) return false; } - if (getPullDeps() - != other.getPullDeps()) return false; + if (getPullDeps() != other.getPullDeps()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5362,95 +6081,104 @@ public int hashCode() { hash = (53 * hash) + getSource().hashCode(); } hash = (37 * hash) + PULL_DEPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getPullDeps()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPullDeps()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb 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.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb 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.osconfig.v1.OSPolicy.Resource.PackageResource.Deb + 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.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5460,44 +6188,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * A deb package file. dpkg packages only support INSTALLED state.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -5513,19 +6247,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb build() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb result = buildPartial(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5534,7 +6271,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb build( @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb result = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb(this); if (sourceBuilder_ == null) { result.source_ = source_; } else { @@ -5549,46 +6287,54 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb)other); + if (other + instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) { + return mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb other) { - if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb other) { + if (other + == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb + .getDefaultInstance()) return this; if (other.hasSource()) { mergeSource(other.getSource()); } @@ -5614,7 +6360,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5626,39 +6374,58 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1.OSPolicy.Resource.File source_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> sourceBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> + sourceBuilder_; /** + * + * *
            * Required. A deb package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ public boolean hasSource() { return sourceBuilder_ != null || source_ != null; } /** + * + * *
            * Required. A deb package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getSource() { if (sourceBuilder_ == null) { - return source_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() + : source_; } else { return sourceBuilder_.getMessage(); } } /** + * + * *
            * Required. A deb package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { @@ -5674,11 +6441,15 @@ public Builder setSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File val return this; } /** + * + * *
            * Required. A deb package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSource( com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder builderForValue) { @@ -5692,17 +6463,23 @@ public Builder setSource( return this; } /** + * + * *
            * Required. A deb package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { if (source_ != null) { source_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder(source_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder(source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -5714,11 +6491,15 @@ public Builder mergeSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File v return this; } /** + * + * *
            * Required. A deb package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSource() { if (sourceBuilder_ == null) { @@ -5732,55 +6513,73 @@ public Builder clearSource() { return this; } /** + * + * *
            * Required. A deb package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder getSourceBuilder() { - + onChanged(); return getSourceFieldBuilder().getBuilder(); } /** + * + * *
            * Required. A deb package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null ? - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() + : source_; } } /** + * + * *
            * Required. A deb package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( - getSource(), - getParentForChildren(), - isClean()); + sourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( + getSource(), getParentForChildren(), isClean()); source_ = null; } return sourceBuilder_; } - private boolean pullDeps_ ; + private boolean pullDeps_; /** + * + * *
            * Whether dependencies should also be installed.
            * - install when false: `dpkg -i package`
@@ -5789,6 +6588,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrB
            * 
* * bool pull_deps = 2; + * * @return The pullDeps. */ @java.lang.Override @@ -5796,6 +6596,8 @@ public boolean getPullDeps() { return pullDeps_; } /** + * + * *
            * Whether dependencies should also be installed.
            * - install when false: `dpkg -i package`
@@ -5804,16 +6606,19 @@ public boolean getPullDeps() {
            * 
* * bool pull_deps = 2; + * * @param value The pullDeps to set. * @return This builder for chaining. */ public Builder setPullDeps(boolean value) { - + pullDeps_ = value; onChanged(); return this; } /** + * + * *
            * Whether dependencies should also be installed.
            * - install when false: `dpkg -i package`
@@ -5822,14 +6627,16 @@ public Builder setPullDeps(boolean value) {
            * 
* * bool pull_deps = 2; + * * @return This builder for chaining. */ public Builder clearPullDeps() { - + pullDeps_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5842,30 +6649,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Deb parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Deb(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Deb parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Deb(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5877,37 +6687,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface APTOrBuilder extends + public interface APTOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
        * A package managed by APT.
        * - install: `apt-get update && apt-get -y install [name]`
@@ -5916,31 +6734,31 @@ public interface APTOrBuilder extends
        *
        * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT}
        */
-      public static final class APT extends
-          com.google.protobuf.GeneratedMessageV3 implements
+      public static final class APT extends com.google.protobuf.GeneratedMessageV3
+          implements
           // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT)
           APTOrBuilder {
-      private static final long serialVersionUID = 0L;
+        private static final long serialVersionUID = 0L;
         // Use APT.newBuilder() to construct.
         private APT(com.google.protobuf.GeneratedMessageV3.Builder builder) {
           super(builder);
         }
+
         private APT() {
           name_ = "";
         }
 
         @java.lang.Override
         @SuppressWarnings({"unused"})
-        protected java.lang.Object newInstance(
-            UnusedPrivateParameter unused) {
+        protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
           return new APT();
         }
 
         @java.lang.Override
-        public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
+        public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
           return this.unknownFields;
         }
+
         private APT(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -5959,19 +6777,20 @@ private APT(
                 case 0:
                   done = true;
                   break;
-                case 10: {
-                  java.lang.String s = input.readStringRequireUtf8();
+                case 10:
+                  {
+                    java.lang.String s = input.readStringRequireUtf8();
 
-                  name_ = s;
-                  break;
-                }
-                default: {
-                  if (!parseUnknownField(
-                      input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
+                    name_ = s;
+                    break;
+                  }
+                default:
+                  {
+                    if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                      done = true;
+                    }
+                    break;
                   }
-                  break;
-                }
               }
             }
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5979,34 +6798,40 @@ private APT(
           } catch (com.google.protobuf.UninitializedMessageException e) {
             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(
-                e).setUnfinishedMessage(this);
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor;
+
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1.OsPolicyProto
+              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable
+          return com.google.cloud.osconfig.v1.OsPolicyProto
+              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder.class);
+                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.class,
+                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder.class);
         }
 
         public static final int NAME_FIELD_NUMBER = 1;
         private volatile java.lang.Object name_;
         /**
+         *
+         *
          * 
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -6015,29 +6840,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6046,6 +6871,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6058,7 +6884,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -6082,15 +6908,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT other = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6110,87 +6937,97 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT 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.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT 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.osconfig.v1.OSPolicy.Resource.PackageResource.APT + 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.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6200,6 +7037,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * A package managed by APT.
          * - install: `apt-get update && apt-get -y install [name]`
@@ -6208,38 +7047,43 @@ protected Builder newBuilderForType(
          *
          * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT}
          */
-        public static final class Builder extends
-            com.google.protobuf.GeneratedMessageV3.Builder implements
+        public static final class Builder
+            extends com.google.protobuf.GeneratedMessageV3.Builder
+            implements
             // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT)
             com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder {
-          public static final com.google.protobuf.Descriptors.Descriptor
-              getDescriptor() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor;
+          public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+            return com.google.cloud.osconfig.v1.OsPolicyProto
+                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor;
           }
 
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable
+            return com.google.cloud.osconfig.v1.OsPolicyProto
+                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
-                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder.class);
+                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.class,
+                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT
+                        .Builder
+                        .class);
           }
 
-          // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.newBuilder()
+          // Construct using
+          // com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.newBuilder()
           private Builder() {
             maybeForceBuilderInitialization();
           }
 
-          private Builder(
-              com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+          private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
             super(parent);
             maybeForceBuilderInitialization();
           }
+
           private void maybeForceBuilderInitialization() {
-            if (com.google.protobuf.GeneratedMessageV3
-                    .alwaysUseFieldBuilders) {
-            }
+            if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
           }
+
           @java.lang.Override
           public Builder clear() {
             super.clear();
@@ -6249,19 +7093,22 @@ public Builder clear() {
           }
 
           @java.lang.Override
-          public com.google.protobuf.Descriptors.Descriptor
-              getDescriptorForType() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor;
+          public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+            return com.google.cloud.osconfig.v1.OsPolicyProto
+                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor;
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT getDefaultInstanceForType() {
-            return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.getDefaultInstance();
+          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT
+              getDefaultInstanceForType() {
+            return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT
+                .getDefaultInstance();
           }
 
           @java.lang.Override
           public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT build() {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT result = buildPartial();
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT result =
+                buildPartial();
             if (!result.isInitialized()) {
               throw newUninitializedMessageException(result);
             }
@@ -6270,7 +7117,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT build(
 
           @java.lang.Override
           public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT buildPartial() {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT(this);
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT result =
+                new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT(this);
             result.name_ = name_;
             onBuilt();
             return result;
@@ -6280,46 +7128,54 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT buildP
           public Builder clone() {
             return super.clone();
           }
+
           @java.lang.Override
           public Builder setField(
-              com.google.protobuf.Descriptors.FieldDescriptor field,
-              java.lang.Object value) {
+              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) {
+          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) {
+          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) {
+              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) {
+              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.osconfig.v1.OSPolicy.Resource.PackageResource.APT) {
-              return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT)other);
+            if (other
+                instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) {
+              return mergeFrom(
+                  (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) other);
             } else {
               super.mergeFrom(other);
               return this;
             }
           }
 
-          public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT other) {
-            if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.getDefaultInstance()) return this;
+          public Builder mergeFrom(
+              com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT other) {
+            if (other
+                == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT
+                    .getDefaultInstance()) return this;
             if (!other.getName().isEmpty()) {
               name_ = other.name_;
               onChanged();
@@ -6343,7 +7199,9 @@ public Builder mergeFrom(
             try {
               parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) e.getUnfinishedMessage();
+              parsedMessage =
+                  (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT)
+                      e.getUnfinishedMessage();
               throw e.unwrapIOException();
             } finally {
               if (parsedMessage != null) {
@@ -6355,18 +7213,20 @@ public Builder mergeFrom(
 
           private java.lang.Object name_ = "";
           /**
+           *
+           *
            * 
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6375,20 +7235,21 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6396,58 +7257,66 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6460,30 +7329,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public APT parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new APT(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public APT parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new APT(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6495,44 +7367,61 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface RPMOrBuilder extends + public interface RPMOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. An rpm package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ boolean hasSource(); /** + * + * *
          * Required. An rpm package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.File getSource(); /** + * + * *
          * Required. An rpm package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder(); /** + * + * *
          * Whether dependencies should also be installed.
          * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -6541,41 +7430,43 @@ public interface RPMOrBuilder extends
          * 
* * bool pull_deps = 2; + * * @return The pullDeps. */ boolean getPullDeps(); } /** + * + * *
        * An RPM package file. RPM packages only support INSTALLED state.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM} */ - public static final class RPM extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class RPM extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) RPMOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RPM.newBuilder() to construct. private RPM(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RPM() { - } + + private RPM() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RPM(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RPM( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -6594,31 +7485,35 @@ private RPM( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; - if (source_ != null) { - subBuilder = source_.toBuilder(); + case 10: + { + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; + if (source_ != null) { + subBuilder = source_.toBuilder(); + } + source_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(source_); + source_ = subBuilder.buildPartial(); + } + + break; } - source_ = input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(source_); - source_ = subBuilder.buildPartial(); + case 16: + { + pullDeps_ = input.readBool(); + break; } - - break; - } - case 16: { - - pullDeps_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6626,34 +7521,42 @@ private RPM( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder.class); } public static final int SOURCE_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1.OSPolicy.Resource.File source_; /** + * + * *
          * Required. An rpm package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ @java.lang.Override @@ -6661,23 +7564,34 @@ public boolean hasSource() { return source_ != null; } /** + * + * *
          * Required. An rpm package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getSource() { - return source_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() + : source_; } /** + * + * *
          * Required. An rpm package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { @@ -6687,6 +7601,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrB public static final int PULL_DEPS_FIELD_NUMBER = 2; private boolean pullDeps_; /** + * + * *
          * Whether dependencies should also be installed.
          * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -6695,6 +7611,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrB
          * 
* * bool pull_deps = 2; + * * @return The pullDeps. */ @java.lang.Override @@ -6703,6 +7620,7 @@ public boolean getPullDeps() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6715,7 +7633,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (source_ != null) { output.writeMessage(1, getSource()); } @@ -6732,12 +7650,10 @@ public int getSerializedSize() { size = 0; if (source_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSource()); } if (pullDeps_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, pullDeps_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, pullDeps_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6747,20 +7663,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM other = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) obj; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource() - .equals(other.getSource())) return false; + if (!getSource().equals(other.getSource())) return false; } - if (getPullDeps() - != other.getPullDeps()) return false; + if (getPullDeps() != other.getPullDeps()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6777,95 +7693,104 @@ public int hashCode() { hash = (53 * hash) + getSource().hashCode(); } hash = (37 * hash) + PULL_DEPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getPullDeps()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPullDeps()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM 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.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM 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.osconfig.v1.OSPolicy.Resource.PackageResource.RPM + 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.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6875,44 +7800,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * An RPM package file. RPM packages only support INSTALLED state.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM + .Builder + .class); } - // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -6928,19 +7860,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM build() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM result = buildPartial(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -6949,7 +7884,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM build( @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM result = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM(this); if (sourceBuilder_ == null) { result.source_ = source_; } else { @@ -6964,46 +7900,54 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM)other); + if (other + instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) { + return mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM other) { - if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM other) { + if (other + == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM + .getDefaultInstance()) return this; if (other.hasSource()) { mergeSource(other.getSource()); } @@ -7029,7 +7973,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7041,39 +7987,58 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1.OSPolicy.Resource.File source_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> sourceBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> + sourceBuilder_; /** + * + * *
            * Required. An rpm package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ public boolean hasSource() { return sourceBuilder_ != null || source_ != null; } /** + * + * *
            * Required. An rpm package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getSource() { if (sourceBuilder_ == null) { - return source_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() + : source_; } else { return sourceBuilder_.getMessage(); } } /** + * + * *
            * Required. An rpm package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { @@ -7089,11 +8054,15 @@ public Builder setSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File val return this; } /** + * + * *
            * Required. An rpm package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSource( com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder builderForValue) { @@ -7107,17 +8076,23 @@ public Builder setSource( return this; } /** + * + * *
            * Required. An rpm package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { if (source_ != null) { source_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder(source_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder(source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -7129,11 +8104,15 @@ public Builder mergeSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File v return this; } /** + * + * *
            * Required. An rpm package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSource() { if (sourceBuilder_ == null) { @@ -7147,55 +8126,73 @@ public Builder clearSource() { return this; } /** + * + * *
            * Required. An rpm package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder getSourceBuilder() { - + onChanged(); return getSourceFieldBuilder().getBuilder(); } /** + * + * *
            * Required. An rpm package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null ? - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() + : source_; } } /** + * + * *
            * Required. An rpm package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( - getSource(), - getParentForChildren(), - isClean()); + sourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( + getSource(), getParentForChildren(), isClean()); source_ = null; } return sourceBuilder_; } - private boolean pullDeps_ ; + private boolean pullDeps_; /** + * + * *
            * Whether dependencies should also be installed.
            * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -7204,6 +8201,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrB
            * 
* * bool pull_deps = 2; + * * @return The pullDeps. */ @java.lang.Override @@ -7211,6 +8209,8 @@ public boolean getPullDeps() { return pullDeps_; } /** + * + * *
            * Whether dependencies should also be installed.
            * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -7219,16 +8219,19 @@ public boolean getPullDeps() {
            * 
* * bool pull_deps = 2; + * * @param value The pullDeps to set. * @return This builder for chaining. */ public Builder setPullDeps(boolean value) { - + pullDeps_ = value; onChanged(); return this; } /** + * + * *
            * Whether dependencies should also be installed.
            * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -7237,14 +8240,16 @@ public Builder setPullDeps(boolean value) {
            * 
* * bool pull_deps = 2; + * * @return This builder for chaining. */ public Builder clearPullDeps() { - + pullDeps_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7257,30 +8262,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RPM parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RPM(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RPM parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RPM(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7292,37 +8300,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface YUMOrBuilder extends + public interface YUMOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
        * A package managed by YUM.
        * - install: `yum -y install package`
@@ -7331,31 +8347,31 @@ public interface YUMOrBuilder extends
        *
        * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM}
        */
-      public static final class YUM extends
-          com.google.protobuf.GeneratedMessageV3 implements
+      public static final class YUM extends com.google.protobuf.GeneratedMessageV3
+          implements
           // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM)
           YUMOrBuilder {
-      private static final long serialVersionUID = 0L;
+        private static final long serialVersionUID = 0L;
         // Use YUM.newBuilder() to construct.
         private YUM(com.google.protobuf.GeneratedMessageV3.Builder builder) {
           super(builder);
         }
+
         private YUM() {
           name_ = "";
         }
 
         @java.lang.Override
         @SuppressWarnings({"unused"})
-        protected java.lang.Object newInstance(
-            UnusedPrivateParameter unused) {
+        protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
           return new YUM();
         }
 
         @java.lang.Override
-        public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
+        public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
           return this.unknownFields;
         }
+
         private YUM(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -7374,19 +8390,20 @@ private YUM(
                 case 0:
                   done = true;
                   break;
-                case 10: {
-                  java.lang.String s = input.readStringRequireUtf8();
+                case 10:
+                  {
+                    java.lang.String s = input.readStringRequireUtf8();
 
-                  name_ = s;
-                  break;
-                }
-                default: {
-                  if (!parseUnknownField(
-                      input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
+                    name_ = s;
+                    break;
+                  }
+                default:
+                  {
+                    if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                      done = true;
+                    }
+                    break;
                   }
-                  break;
-                }
               }
             }
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -7394,34 +8411,40 @@ private YUM(
           } catch (com.google.protobuf.UninitializedMessageException e) {
             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(
-                e).setUnfinishedMessage(this);
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor;
+
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1.OsPolicyProto
+              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable
+          return com.google.cloud.osconfig.v1.OsPolicyProto
+              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder.class);
+                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.class,
+                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder.class);
         }
 
         public static final int NAME_FIELD_NUMBER = 1;
         private volatile java.lang.Object name_;
         /**
+         *
+         *
          * 
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -7430,29 +8453,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -7461,6 +8484,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7473,7 +8497,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -7497,15 +8521,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM other = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7525,87 +8550,97 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM 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.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM 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.osconfig.v1.OSPolicy.Resource.PackageResource.YUM + 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.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7615,6 +8650,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * A package managed by YUM.
          * - install: `yum -y install package`
@@ -7623,38 +8660,43 @@ protected Builder newBuilderForType(
          *
          * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM}
          */
-        public static final class Builder extends
-            com.google.protobuf.GeneratedMessageV3.Builder implements
+        public static final class Builder
+            extends com.google.protobuf.GeneratedMessageV3.Builder
+            implements
             // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM)
             com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder {
-          public static final com.google.protobuf.Descriptors.Descriptor
-              getDescriptor() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor;
+          public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+            return com.google.cloud.osconfig.v1.OsPolicyProto
+                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor;
           }
 
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable
+            return com.google.cloud.osconfig.v1.OsPolicyProto
+                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
-                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder.class);
+                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.class,
+                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM
+                        .Builder
+                        .class);
           }
 
-          // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.newBuilder()
+          // Construct using
+          // com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.newBuilder()
           private Builder() {
             maybeForceBuilderInitialization();
           }
 
-          private Builder(
-              com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+          private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
             super(parent);
             maybeForceBuilderInitialization();
           }
+
           private void maybeForceBuilderInitialization() {
-            if (com.google.protobuf.GeneratedMessageV3
-                    .alwaysUseFieldBuilders) {
-            }
+            if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
           }
+
           @java.lang.Override
           public Builder clear() {
             super.clear();
@@ -7664,19 +8706,22 @@ public Builder clear() {
           }
 
           @java.lang.Override
-          public com.google.protobuf.Descriptors.Descriptor
-              getDescriptorForType() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor;
+          public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+            return com.google.cloud.osconfig.v1.OsPolicyProto
+                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor;
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM getDefaultInstanceForType() {
-            return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance();
+          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM
+              getDefaultInstanceForType() {
+            return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM
+                .getDefaultInstance();
           }
 
           @java.lang.Override
           public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM build() {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM result = buildPartial();
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM result =
+                buildPartial();
             if (!result.isInitialized()) {
               throw newUninitializedMessageException(result);
             }
@@ -7685,7 +8730,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM build(
 
           @java.lang.Override
           public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM buildPartial() {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM(this);
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM result =
+                new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM(this);
             result.name_ = name_;
             onBuilt();
             return result;
@@ -7695,46 +8741,54 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM buildP
           public Builder clone() {
             return super.clone();
           }
+
           @java.lang.Override
           public Builder setField(
-              com.google.protobuf.Descriptors.FieldDescriptor field,
-              java.lang.Object value) {
+              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) {
+          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) {
+          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) {
+              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) {
+              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.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) {
-              return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM)other);
+            if (other
+                instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) {
+              return mergeFrom(
+                  (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) other);
             } else {
               super.mergeFrom(other);
               return this;
             }
           }
 
-          public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM other) {
-            if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance()) return this;
+          public Builder mergeFrom(
+              com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM other) {
+            if (other
+                == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM
+                    .getDefaultInstance()) return this;
             if (!other.getName().isEmpty()) {
               name_ = other.name_;
               onChanged();
@@ -7758,7 +8812,9 @@ public Builder mergeFrom(
             try {
               parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) e.getUnfinishedMessage();
+              parsedMessage =
+                  (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM)
+                      e.getUnfinishedMessage();
               throw e.unwrapIOException();
             } finally {
               if (parsedMessage != null) {
@@ -7770,18 +8826,20 @@ public Builder mergeFrom(
 
           private java.lang.Object name_ = "";
           /**
+           *
+           *
            * 
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -7790,20 +8848,21 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -7811,58 +8870,66 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7875,30 +8942,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YUM parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YUM(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YUM parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YUM(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7910,37 +8980,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ZypperOrBuilder extends + public interface ZypperOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
        * A package managed by Zypper.
        * - install: `zypper -y install package`
@@ -7949,31 +9027,31 @@ public interface ZypperOrBuilder extends
        *
        * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper}
        */
-      public static final class Zypper extends
-          com.google.protobuf.GeneratedMessageV3 implements
+      public static final class Zypper extends com.google.protobuf.GeneratedMessageV3
+          implements
           // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper)
           ZypperOrBuilder {
-      private static final long serialVersionUID = 0L;
+        private static final long serialVersionUID = 0L;
         // Use Zypper.newBuilder() to construct.
         private Zypper(com.google.protobuf.GeneratedMessageV3.Builder builder) {
           super(builder);
         }
+
         private Zypper() {
           name_ = "";
         }
 
         @java.lang.Override
         @SuppressWarnings({"unused"})
-        protected java.lang.Object newInstance(
-            UnusedPrivateParameter unused) {
+        protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
           return new Zypper();
         }
 
         @java.lang.Override
-        public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
+        public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
           return this.unknownFields;
         }
+
         private Zypper(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -7992,19 +9070,20 @@ private Zypper(
                 case 0:
                   done = true;
                   break;
-                case 10: {
-                  java.lang.String s = input.readStringRequireUtf8();
+                case 10:
+                  {
+                    java.lang.String s = input.readStringRequireUtf8();
 
-                  name_ = s;
-                  break;
-                }
-                default: {
-                  if (!parseUnknownField(
-                      input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
+                    name_ = s;
+                    break;
+                  }
+                default:
+                  {
+                    if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                      done = true;
+                    }
+                    break;
                   }
-                  break;
-                }
               }
             }
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8012,34 +9091,41 @@ private Zypper(
           } catch (com.google.protobuf.UninitializedMessageException e) {
             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(
-                e).setUnfinishedMessage(this);
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor;
+
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1.OsPolicyProto
+              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable
+          return com.google.cloud.osconfig.v1.OsPolicyProto
+              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder.class);
+                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.class,
+                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder
+                      .class);
         }
 
         public static final int NAME_FIELD_NUMBER = 1;
         private volatile java.lang.Object name_;
         /**
+         *
+         *
          * 
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -8048,29 +9134,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -8079,6 +9165,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8091,7 +9178,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -8115,15 +9202,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper other = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8142,88 +9230,105 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + 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.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + 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.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper 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.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + 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.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper 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.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + 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.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8233,6 +9338,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * A package managed by Zypper.
          * - install: `zypper -y install package`
@@ -8241,38 +9348,42 @@ protected Builder newBuilderForType(
          *
          * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper}
          */
-        public static final class Builder extends
-            com.google.protobuf.GeneratedMessageV3.Builder implements
+        public static final class Builder
+            extends com.google.protobuf.GeneratedMessageV3.Builder
+            implements
             // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper)
             com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder {
-          public static final com.google.protobuf.Descriptors.Descriptor
-              getDescriptor() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor;
+          public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+            return com.google.cloud.osconfig.v1.OsPolicyProto
+                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor;
           }
 
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable
+            return com.google.cloud.osconfig.v1.OsPolicyProto
+                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
-                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder.class);
+                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.class,
+                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder
+                        .class);
           }
 
-          // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.newBuilder()
+          // Construct using
+          // com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.newBuilder()
           private Builder() {
             maybeForceBuilderInitialization();
           }
 
-          private Builder(
-              com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+          private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
             super(parent);
             maybeForceBuilderInitialization();
           }
+
           private void maybeForceBuilderInitialization() {
-            if (com.google.protobuf.GeneratedMessageV3
-                    .alwaysUseFieldBuilders) {
-            }
+            if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
           }
+
           @java.lang.Override
           public Builder clear() {
             super.clear();
@@ -8282,19 +9393,22 @@ public Builder clear() {
           }
 
           @java.lang.Override
-          public com.google.protobuf.Descriptors.Descriptor
-              getDescriptorForType() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor;
+          public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+            return com.google.cloud.osconfig.v1.OsPolicyProto
+                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor;
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper getDefaultInstanceForType() {
-            return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance();
+          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper
+              getDefaultInstanceForType() {
+            return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper
+                .getDefaultInstance();
           }
 
           @java.lang.Override
           public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper build() {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper result = buildPartial();
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper result =
+                buildPartial();
             if (!result.isInitialized()) {
               throw newUninitializedMessageException(result);
             }
@@ -8302,8 +9416,10 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper bui
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper buildPartial() {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper(this);
+          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper
+              buildPartial() {
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper result =
+                new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper(this);
             result.name_ = name_;
             onBuilt();
             return result;
@@ -8313,46 +9429,54 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper bui
           public Builder clone() {
             return super.clone();
           }
+
           @java.lang.Override
           public Builder setField(
-              com.google.protobuf.Descriptors.FieldDescriptor field,
-              java.lang.Object value) {
+              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) {
+          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) {
+          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) {
+              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) {
+              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.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) {
-              return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper)other);
+            if (other
+                instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) {
+              return mergeFrom(
+                  (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) other);
             } else {
               super.mergeFrom(other);
               return this;
             }
           }
 
-          public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper other) {
-            if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance()) return this;
+          public Builder mergeFrom(
+              com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper other) {
+            if (other
+                == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper
+                    .getDefaultInstance()) return this;
             if (!other.getName().isEmpty()) {
               name_ = other.name_;
               onChanged();
@@ -8372,11 +9496,14 @@ public Builder mergeFrom(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws java.io.IOException {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parsedMessage = null;
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper parsedMessage =
+                null;
             try {
               parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) e.getUnfinishedMessage();
+              parsedMessage =
+                  (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper)
+                      e.getUnfinishedMessage();
               throw e.unwrapIOException();
             } finally {
               if (parsedMessage != null) {
@@ -8388,18 +9515,20 @@ public Builder mergeFrom(
 
           private java.lang.Object name_ = "";
           /**
+           *
+           *
            * 
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -8408,20 +9537,21 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -8429,58 +9559,66 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8493,30 +9631,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Zypper parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Zypper(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Zypper parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Zypper(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8528,37 +9669,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GooGetOrBuilder extends + public interface GooGetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
        * A package managed by GooGet.
        * - install: `googet -noconfirm install package`
@@ -8567,31 +9716,31 @@ public interface GooGetOrBuilder extends
        *
        * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet}
        */
-      public static final class GooGet extends
-          com.google.protobuf.GeneratedMessageV3 implements
+      public static final class GooGet extends com.google.protobuf.GeneratedMessageV3
+          implements
           // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet)
           GooGetOrBuilder {
-      private static final long serialVersionUID = 0L;
+        private static final long serialVersionUID = 0L;
         // Use GooGet.newBuilder() to construct.
         private GooGet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
           super(builder);
         }
+
         private GooGet() {
           name_ = "";
         }
 
         @java.lang.Override
         @SuppressWarnings({"unused"})
-        protected java.lang.Object newInstance(
-            UnusedPrivateParameter unused) {
+        protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
           return new GooGet();
         }
 
         @java.lang.Override
-        public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
+        public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
           return this.unknownFields;
         }
+
         private GooGet(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8610,19 +9759,20 @@ private GooGet(
                 case 0:
                   done = true;
                   break;
-                case 10: {
-                  java.lang.String s = input.readStringRequireUtf8();
+                case 10:
+                  {
+                    java.lang.String s = input.readStringRequireUtf8();
 
-                  name_ = s;
-                  break;
-                }
-                default: {
-                  if (!parseUnknownField(
-                      input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
+                    name_ = s;
+                    break;
+                  }
+                default:
+                  {
+                    if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                      done = true;
+                    }
+                    break;
                   }
-                  break;
-                }
               }
             }
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8630,34 +9780,41 @@ private GooGet(
           } catch (com.google.protobuf.UninitializedMessageException e) {
             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(
-                e).setUnfinishedMessage(this);
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor;
+
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1.OsPolicyProto
+              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable
+          return com.google.cloud.osconfig.v1.OsPolicyProto
+              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder.class);
+                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.class,
+                  com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder
+                      .class);
         }
 
         public static final int NAME_FIELD_NUMBER = 1;
         private volatile java.lang.Object name_;
         /**
+         *
+         *
          * 
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -8666,29 +9823,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -8697,6 +9854,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8709,7 +9867,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -8733,15 +9891,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet other = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8760,88 +9919,105 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + 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.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + 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.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet 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.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + 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.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet 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.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + 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.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8851,6 +10027,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * A package managed by GooGet.
          * - install: `googet -noconfirm install package`
@@ -8859,38 +10037,42 @@ protected Builder newBuilderForType(
          *
          * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet}
          */
-        public static final class Builder extends
-            com.google.protobuf.GeneratedMessageV3.Builder implements
+        public static final class Builder
+            extends com.google.protobuf.GeneratedMessageV3.Builder
+            implements
             // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet)
             com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder {
-          public static final com.google.protobuf.Descriptors.Descriptor
-              getDescriptor() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor;
+          public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+            return com.google.cloud.osconfig.v1.OsPolicyProto
+                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor;
           }
 
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable
+            return com.google.cloud.osconfig.v1.OsPolicyProto
+                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
-                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder.class);
+                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.class,
+                    com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder
+                        .class);
           }
 
-          // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.newBuilder()
+          // Construct using
+          // com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.newBuilder()
           private Builder() {
             maybeForceBuilderInitialization();
           }
 
-          private Builder(
-              com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+          private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
             super(parent);
             maybeForceBuilderInitialization();
           }
+
           private void maybeForceBuilderInitialization() {
-            if (com.google.protobuf.GeneratedMessageV3
-                    .alwaysUseFieldBuilders) {
-            }
+            if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
           }
+
           @java.lang.Override
           public Builder clear() {
             super.clear();
@@ -8900,19 +10082,22 @@ public Builder clear() {
           }
 
           @java.lang.Override
-          public com.google.protobuf.Descriptors.Descriptor
-              getDescriptorForType() {
-            return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor;
+          public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+            return com.google.cloud.osconfig.v1.OsPolicyProto
+                .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor;
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet getDefaultInstanceForType() {
-            return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance();
+          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet
+              getDefaultInstanceForType() {
+            return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet
+                .getDefaultInstance();
           }
 
           @java.lang.Override
           public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet build() {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet result = buildPartial();
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet result =
+                buildPartial();
             if (!result.isInitialized()) {
               throw newUninitializedMessageException(result);
             }
@@ -8920,8 +10105,10 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet bui
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet buildPartial() {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet(this);
+          public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet
+              buildPartial() {
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet result =
+                new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet(this);
             result.name_ = name_;
             onBuilt();
             return result;
@@ -8931,46 +10118,54 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet bui
           public Builder clone() {
             return super.clone();
           }
+
           @java.lang.Override
           public Builder setField(
-              com.google.protobuf.Descriptors.FieldDescriptor field,
-              java.lang.Object value) {
+              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) {
+          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) {
+          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) {
+              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) {
+              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.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) {
-              return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet)other);
+            if (other
+                instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) {
+              return mergeFrom(
+                  (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) other);
             } else {
               super.mergeFrom(other);
               return this;
             }
           }
 
-          public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet other) {
-            if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance()) return this;
+          public Builder mergeFrom(
+              com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet other) {
+            if (other
+                == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet
+                    .getDefaultInstance()) return this;
             if (!other.getName().isEmpty()) {
               name_ = other.name_;
               onChanged();
@@ -8990,11 +10185,14 @@ public Builder mergeFrom(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws java.io.IOException {
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parsedMessage = null;
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet parsedMessage =
+                null;
             try {
               parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) e.getUnfinishedMessage();
+              parsedMessage =
+                  (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet)
+                      e.getUnfinishedMessage();
               throw e.unwrapIOException();
             } finally {
               if (parsedMessage != null) {
@@ -9006,18 +10204,20 @@ public Builder mergeFrom(
 
           private java.lang.Object name_ = "";
           /**
+           *
+           *
            * 
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -9026,20 +10226,21 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -9047,58 +10248,66 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9111,30 +10320,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GooGet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GooGet(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GooGet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GooGet(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9146,44 +10358,61 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface MSIOrBuilder extends + public interface MSIOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. The MSI package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ boolean hasSource(); /** + * + * *
          * Required. The MSI package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.File getSource(); /** + * + * *
          * Required. The MSI package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder(); /** + * + * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -9192,11 +10421,13 @@ public interface MSIOrBuilder extends
          * 
* * repeated string properties = 2; + * * @return A list containing the properties. */ - java.util.List - getPropertiesList(); + java.util.List getPropertiesList(); /** + * + * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -9205,10 +10436,13 @@ public interface MSIOrBuilder extends
          * 
* * repeated string properties = 2; + * * @return The count of properties. */ int getPropertiesCount(); /** + * + * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -9217,11 +10451,14 @@ public interface MSIOrBuilder extends
          * 
* * repeated string properties = 2; + * * @param index The index of the element to return. * @return The properties at the given index. */ java.lang.String getProperties(int index); /** + * + * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -9230,44 +10467,46 @@ public interface MSIOrBuilder extends
          * 
* * repeated string properties = 2; + * * @param index The index of the value to return. * @return The bytes of the properties at the given index. */ - com.google.protobuf.ByteString - getPropertiesBytes(int index); + com.google.protobuf.ByteString getPropertiesBytes(int index); } /** + * + * *
        * An MSI package. MSI packages only support INSTALLED state.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI} */ - public static final class MSI extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class MSI extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) MSIOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MSI.newBuilder() to construct. private MSI(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MSI() { properties_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MSI(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MSI( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -9287,35 +10526,40 @@ private MSI( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; - if (source_ != null) { - subBuilder = source_.toBuilder(); - } - source_ = input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(source_); - source_ = subBuilder.buildPartial(); + case 10: + { + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; + if (source_ != null) { + subBuilder = source_.toBuilder(); + } + source_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(source_); + source_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - properties_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + properties_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + properties_.add(s); + break; } - properties_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9323,8 +10567,8 @@ private MSI( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { properties_ = properties_.getUnmodifiableView(); @@ -9333,27 +10577,35 @@ private MSI( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder.class); } public static final int SOURCE_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1.OSPolicy.Resource.File source_; /** + * + * *
          * Required. The MSI package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ @java.lang.Override @@ -9361,23 +10613,34 @@ public boolean hasSource() { return source_ != null; } /** + * + * *
          * Required. The MSI package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getSource() { - return source_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() + : source_; } /** + * + * *
          * Required. The MSI package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { @@ -9387,6 +10650,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrB public static final int PROPERTIES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList properties_; /** + * + * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -9395,13 +10660,15 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrB
          * 
* * repeated string properties = 2; + * * @return A list containing the properties. */ - public com.google.protobuf.ProtocolStringList - getPropertiesList() { + public com.google.protobuf.ProtocolStringList getPropertiesList() { return properties_; } /** + * + * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -9410,12 +10677,15 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrB
          * 
* * repeated string properties = 2; + * * @return The count of properties. */ public int getPropertiesCount() { return properties_.size(); } /** + * + * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -9424,6 +10694,7 @@ public int getPropertiesCount() {
          * 
* * repeated string properties = 2; + * * @param index The index of the element to return. * @return The properties at the given index. */ @@ -9431,6 +10702,8 @@ public java.lang.String getProperties(int index) { return properties_.get(index); } /** + * + * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -9439,15 +10712,16 @@ public java.lang.String getProperties(int index) {
          * 
* * repeated string properties = 2; + * * @param index The index of the value to return. * @return The bytes of the properties at the given index. */ - public com.google.protobuf.ByteString - getPropertiesBytes(int index) { + public com.google.protobuf.ByteString getPropertiesBytes(int index) { return properties_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9460,7 +10734,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (source_ != null) { output.writeMessage(1, getSource()); } @@ -9477,8 +10751,7 @@ public int getSerializedSize() { size = 0; if (source_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSource()); } { int dataSize = 0; @@ -9496,20 +10769,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI other = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) obj; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource() - .equals(other.getSource())) return false; + if (!getSource().equals(other.getSource())) return false; } - if (!getPropertiesList() - .equals(other.getPropertiesList())) return false; + if (!getPropertiesList().equals(other.getPropertiesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9535,87 +10808,97 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI 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.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI 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.osconfig.v1.OSPolicy.Resource.PackageResource.MSI + 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.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9625,44 +10908,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * An MSI package. MSI packages only support INSTALLED state.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI + .Builder + .class); } - // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -9678,19 +10968,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI build() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI result = buildPartial(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -9699,7 +10992,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI build( @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI result = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI(this); int from_bitField0_ = bitField0_; if (sourceBuilder_ == null) { result.source_ = source_; @@ -9719,46 +11013,54 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI)other); + if (other + instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) { + return mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI other) { - if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI other) { + if (other + == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI + .getDefaultInstance()) return this; if (other.hasSource()) { mergeSource(other.getSource()); } @@ -9791,7 +11093,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9800,43 +11104,63 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.osconfig.v1.OSPolicy.Resource.File source_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> sourceBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> + sourceBuilder_; /** + * + * *
            * Required. The MSI package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ public boolean hasSource() { return sourceBuilder_ != null || source_ != null; } /** + * + * *
            * Required. The MSI package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getSource() { if (sourceBuilder_ == null) { - return source_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() + : source_; } else { return sourceBuilder_.getMessage(); } } /** + * + * *
            * Required. The MSI package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { @@ -9852,11 +11176,15 @@ public Builder setSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File val return this; } /** + * + * *
            * Required. The MSI package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSource( com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder builderForValue) { @@ -9870,17 +11198,23 @@ public Builder setSource( return this; } /** + * + * *
            * Required. The MSI package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { if (source_ != null) { source_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder(source_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder(source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -9892,11 +11226,15 @@ public Builder mergeSource(com.google.cloud.osconfig.v1.OSPolicy.Resource.File v return this; } /** + * + * *
            * Required. The MSI package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSource() { if (sourceBuilder_ == null) { @@ -9910,61 +11248,81 @@ public Builder clearSource() { return this; } /** + * + * *
            * Required. The MSI package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder getSourceBuilder() { - + onChanged(); return getSourceFieldBuilder().getBuilder(); } /** + * + * *
            * Required. The MSI package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null ? - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance() + : source_; } } /** + * + * *
            * Required. The MSI package.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( - getSource(), - getParentForChildren(), - isClean()); + sourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( + getSource(), getParentForChildren(), isClean()); source_ = null; } return sourceBuilder_; } - private com.google.protobuf.LazyStringList properties_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList properties_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePropertiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { properties_ = new com.google.protobuf.LazyStringArrayList(properties_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -9973,13 +11331,15 @@ private void ensurePropertiesIsMutable() {
            * 
* * repeated string properties = 2; + * * @return A list containing the properties. */ - public com.google.protobuf.ProtocolStringList - getPropertiesList() { + public com.google.protobuf.ProtocolStringList getPropertiesList() { return properties_.getUnmodifiableView(); } /** + * + * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -9988,12 +11348,15 @@ private void ensurePropertiesIsMutable() {
            * 
* * repeated string properties = 2; + * * @return The count of properties. */ public int getPropertiesCount() { return properties_.size(); } /** + * + * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -10002,6 +11365,7 @@ public int getPropertiesCount() {
            * 
* * repeated string properties = 2; + * * @param index The index of the element to return. * @return The properties at the given index. */ @@ -10009,6 +11373,8 @@ public java.lang.String getProperties(int index) { return properties_.get(index); } /** + * + * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -10017,14 +11383,16 @@ public java.lang.String getProperties(int index) {
            * 
* * repeated string properties = 2; + * * @param index The index of the value to return. * @return The bytes of the properties at the given index. */ - public com.google.protobuf.ByteString - getPropertiesBytes(int index) { + public com.google.protobuf.ByteString getPropertiesBytes(int index) { return properties_.getByteString(index); } /** + * + * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -10033,21 +11401,23 @@ public java.lang.String getProperties(int index) {
            * 
* * repeated string properties = 2; + * * @param index The index to set the value at. * @param value The properties to set. * @return This builder for chaining. */ - public Builder setProperties( - int index, java.lang.String value) { + public Builder setProperties(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePropertiesIsMutable(); + throw new NullPointerException(); + } + ensurePropertiesIsMutable(); properties_.set(index, value); onChanged(); return this; } /** + * + * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -10056,20 +11426,22 @@ public Builder setProperties(
            * 
* * repeated string properties = 2; + * * @param value The properties to add. * @return This builder for chaining. */ - public Builder addProperties( - java.lang.String value) { + public Builder addProperties(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePropertiesIsMutable(); + throw new NullPointerException(); + } + ensurePropertiesIsMutable(); properties_.add(value); onChanged(); return this; } /** + * + * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -10078,18 +11450,19 @@ public Builder addProperties(
            * 
* * repeated string properties = 2; + * * @param values The properties to add. * @return This builder for chaining. */ - public Builder addAllProperties( - java.lang.Iterable values) { + public Builder addAllProperties(java.lang.Iterable values) { ensurePropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, properties_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, properties_); onChanged(); return this; } /** + * + * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -10098,6 +11471,7 @@ public Builder addAllProperties(
            * 
* * repeated string properties = 2; + * * @return This builder for chaining. */ public Builder clearProperties() { @@ -10107,6 +11481,8 @@ public Builder clearProperties() { return this; } /** + * + * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -10115,20 +11491,21 @@ public Builder clearProperties() {
            * 
* * repeated string properties = 2; + * * @param value The bytes of the properties to add. * @return This builder for chaining. */ - public Builder addPropertiesBytes( - com.google.protobuf.ByteString value) { + public Builder addPropertiesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePropertiesIsMutable(); properties_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10141,30 +11518,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MSI parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MSI(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MSI parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MSI(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10176,16 +11556,18 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int systemPackageCase_ = 0; private java.lang.Object systemPackage_; + public enum SystemPackageCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { APT(2), DEB(3), @@ -10196,6 +11578,7 @@ public enum SystemPackageCase MSI(8), SYSTEMPACKAGE_NOT_SET(0); private final int value; + private SystemPackageCase(int value) { this.value = value; } @@ -10211,62 +11594,91 @@ public static SystemPackageCase valueOf(int value) { public static SystemPackageCase forNumber(int value) { switch (value) { - case 2: return APT; - case 3: return DEB; - case 4: return YUM; - case 5: return ZYPPER; - case 6: return RPM; - case 7: return GOOGET; - case 8: return MSI; - case 0: return SYSTEMPACKAGE_NOT_SET; - default: return null; + case 2: + return APT; + case 3: + return DEB; + case 4: + return YUM; + case 5: + return ZYPPER; + case 6: + return RPM; + case 7: + return GOOGET; + case 8: + return MSI; + case 0: + return SYSTEMPACKAGE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SystemPackageCase - getSystemPackageCase() { - return SystemPackageCase.forNumber( - systemPackageCase_); + public SystemPackageCase getSystemPackageCase() { + return SystemPackageCase.forNumber(systemPackageCase_); } public static final int DESIRED_STATE_FIELD_NUMBER = 1; private int desiredState_; /** + * + * *
        * Required. The desired state the agent should maintain for this package.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for desiredState. */ - @java.lang.Override public int getDesiredStateValue() { + @java.lang.Override + public int getDesiredStateValue() { return desiredState_; } /** + * + * *
        * Required. The desired state the agent should maintain for this package.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The desiredState. */ - @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState getDesiredState() { + @java.lang.Override + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState + getDesiredState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState result = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState.valueOf(desiredState_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState result = + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState.valueOf( + desiredState_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState + .UNRECOGNIZED + : result; } public static final int APT_FIELD_NUMBER = 2; /** + * + * *
        * A package managed by Apt.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; + * * @return Whether the apt field is set. */ @java.lang.Override @@ -10274,21 +11686,28 @@ public boolean hasApt() { return systemPackageCase_ == 2; } /** + * + * *
        * A package managed by Apt.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; + * * @return The apt. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT getApt() { if (systemPackageCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT + .getDefaultInstance(); } /** + * + * *
        * A package managed by Apt.
        * 
@@ -10296,20 +11715,26 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT getApt * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder getAptOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder + getAptOrBuilder() { if (systemPackageCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT + .getDefaultInstance(); } public static final int DEB_FIELD_NUMBER = 3; /** + * + * *
        * A deb package file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; + * * @return Whether the deb field is set. */ @java.lang.Override @@ -10317,21 +11742,28 @@ public boolean hasDeb() { return systemPackageCase_ == 3; } /** + * + * *
        * A deb package file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; + * * @return The deb. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb getDeb() { if (systemPackageCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb + .getDefaultInstance(); } /** + * + * *
        * A deb package file.
        * 
@@ -10339,20 +11771,26 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb getDeb * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder getDebOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder + getDebOrBuilder() { if (systemPackageCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb + .getDefaultInstance(); } public static final int YUM_FIELD_NUMBER = 4; /** + * + * *
        * A package managed by YUM.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; + * * @return Whether the yum field is set. */ @java.lang.Override @@ -10360,21 +11798,28 @@ public boolean hasYum() { return systemPackageCase_ == 4; } /** + * + * *
        * A package managed by YUM.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; + * * @return The yum. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM getYum() { if (systemPackageCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM + .getDefaultInstance(); } /** + * + * *
        * A package managed by YUM.
        * 
@@ -10382,20 +11827,26 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM getYum * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder getYumOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder + getYumOrBuilder() { if (systemPackageCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM + .getDefaultInstance(); } public static final int ZYPPER_FIELD_NUMBER = 5; /** + * + * *
        * A package managed by Zypper.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * * @return Whether the zypper field is set. */ @java.lang.Override @@ -10403,21 +11854,28 @@ public boolean hasZypper() { return systemPackageCase_ == 5; } /** + * + * *
        * A package managed by Zypper.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * * @return The zypper. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper getZypper() { if (systemPackageCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + .getDefaultInstance(); } /** + * + * *
        * A package managed by Zypper.
        * 
@@ -10425,20 +11883,26 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper get * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder getZypperOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder + getZypperOrBuilder() { if (systemPackageCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + .getDefaultInstance(); } public static final int RPM_FIELD_NUMBER = 6; /** + * + * *
        * An rpm package file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * * @return Whether the rpm field is set. */ @java.lang.Override @@ -10446,21 +11910,28 @@ public boolean hasRpm() { return systemPackageCase_ == 6; } /** + * + * *
        * An rpm package file.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * * @return The rpm. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM getRpm() { if (systemPackageCase_ == 6) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM + .getDefaultInstance(); } /** + * + * *
        * An rpm package file.
        * 
@@ -10468,20 +11939,26 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM getRpm * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder getRpmOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder + getRpmOrBuilder() { if (systemPackageCase_ == 6) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM + .getDefaultInstance(); } public static final int GOOGET_FIELD_NUMBER = 7; /** + * + * *
        * A package managed by GooGet.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * * @return Whether the googet field is set. */ @java.lang.Override @@ -10489,21 +11966,28 @@ public boolean hasGooget() { return systemPackageCase_ == 7; } /** + * + * *
        * A package managed by GooGet.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * * @return The googet. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet getGooget() { if (systemPackageCase_ == 7) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + .getDefaultInstance(); } /** + * + * *
        * A package managed by GooGet.
        * 
@@ -10511,20 +11995,26 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet get * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder getGoogetOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder + getGoogetOrBuilder() { if (systemPackageCase_ == 7) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + .getDefaultInstance(); } public static final int MSI_FIELD_NUMBER = 8; /** + * + * *
        * An MSI package.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; + * * @return Whether the msi field is set. */ @java.lang.Override @@ -10532,21 +12022,28 @@ public boolean hasMsi() { return systemPackageCase_ == 8; } /** + * + * *
        * An MSI package.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; + * * @return The msi. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI getMsi() { if (systemPackageCase_ == 8) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI + .getDefaultInstance(); } /** + * + * *
        * An MSI package.
        * 
@@ -10554,14 +12051,18 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI getMsi * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder getMsiOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder + getMsiOrBuilder() { if (systemPackageCase_ == 8) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10573,31 +12074,49 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (desiredState_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (desiredState_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState + .DESIRED_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, desiredState_); } if (systemPackageCase_ == 2) { - output.writeMessage(2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_); + output.writeMessage( + 2, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_); } if (systemPackageCase_ == 3) { - output.writeMessage(3, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_); + output.writeMessage( + 3, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_); } if (systemPackageCase_ == 4) { - output.writeMessage(4, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_); + output.writeMessage( + 4, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_); } if (systemPackageCase_ == 5) { - output.writeMessage(5, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_); + output.writeMessage( + 5, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) + systemPackage_); } if (systemPackageCase_ == 6) { - output.writeMessage(6, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_); + output.writeMessage( + 6, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_); } if (systemPackageCase_ == 7) { - output.writeMessage(7, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_); + output.writeMessage( + 7, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) + systemPackage_); } if (systemPackageCase_ == 8) { - output.writeMessage(8, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_); + output.writeMessage( + 8, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_); } unknownFields.writeTo(output); } @@ -10608,37 +12127,60 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (desiredState_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, desiredState_); + if (desiredState_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState + .DESIRED_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, desiredState_); } if (systemPackageCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) + systemPackage_); } if (systemPackageCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) + systemPackage_); } if (systemPackageCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) + systemPackage_); } if (systemPackageCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) + systemPackage_); } if (systemPackageCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) + systemPackage_); } if (systemPackageCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) + systemPackage_); } if (systemPackageCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) + systemPackage_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -10648,43 +12190,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource other = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) obj; if (desiredState_ != other.desiredState_) return false; if (!getSystemPackageCase().equals(other.getSystemPackageCase())) return false; switch (systemPackageCase_) { case 2: - if (!getApt() - .equals(other.getApt())) return false; + if (!getApt().equals(other.getApt())) return false; break; case 3: - if (!getDeb() - .equals(other.getDeb())) return false; + if (!getDeb().equals(other.getDeb())) return false; break; case 4: - if (!getYum() - .equals(other.getYum())) return false; + if (!getYum().equals(other.getYum())) return false; break; case 5: - if (!getZypper() - .equals(other.getZypper())) return false; + if (!getZypper().equals(other.getZypper())) return false; break; case 6: - if (!getRpm() - .equals(other.getRpm())) return false; + if (!getRpm().equals(other.getRpm())) return false; break; case 7: - if (!getGooget() - .equals(other.getGooget())) return false; + if (!getGooget().equals(other.getGooget())) return false; break; case 8: - if (!getMsi() - .equals(other.getMsi())) return false; + if (!getMsi().equals(other.getMsi())) return false; break; case 0: default: @@ -10740,87 +12276,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource 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.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource 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.osconfig.v1.OSPolicy.Resource.PackageResource + 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.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10830,44 +12375,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A resource that manages a system package.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder.class); } - // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -10879,14 +12429,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource + .getDefaultInstance(); } @java.lang.Override @@ -10900,7 +12452,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource build() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource result = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource(this); result.desiredState_ = desiredState_; if (systemPackageCase_ == 2) { if (aptBuilder_ == null) { @@ -10960,81 +12513,96 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.PackageResource) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource)other); + return mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource other) { - if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource other) { + if (other + == com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource + .getDefaultInstance()) return this; if (other.desiredState_ != 0) { setDesiredStateValue(other.getDesiredStateValue()); } switch (other.getSystemPackageCase()) { - case APT: { - mergeApt(other.getApt()); - break; - } - case DEB: { - mergeDeb(other.getDeb()); - break; - } - case YUM: { - mergeYum(other.getYum()); - break; - } - case ZYPPER: { - mergeZypper(other.getZypper()); - break; - } - case RPM: { - mergeRpm(other.getRpm()); - break; - } - case GOOGET: { - mergeGooget(other.getGooget()); - break; - } - case MSI: { - mergeMsi(other.getMsi()); - break; - } - case SYSTEMPACKAGE_NOT_SET: { - break; - } + case APT: + { + mergeApt(other.getApt()); + break; + } + case DEB: + { + mergeDeb(other.getDeb()); + break; + } + case YUM: + { + mergeYum(other.getYum()); + break; + } + case ZYPPER: + { + mergeZypper(other.getZypper()); + break; + } + case RPM: + { + mergeRpm(other.getRpm()); + break; + } + case GOOGET: + { + mergeGooget(other.getGooget()); + break; + } + case MSI: + { + mergeMsi(other.getMsi()); + break; + } + case SYSTEMPACKAGE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -11055,7 +12623,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -11064,12 +12634,12 @@ public Builder mergeFrom( } return this; } + private int systemPackageCase_ = 0; private java.lang.Object systemPackage_; - public SystemPackageCase - getSystemPackageCase() { - return SystemPackageCase.forNumber( - systemPackageCase_); + + public SystemPackageCase getSystemPackageCase() { + return SystemPackageCase.forNumber(systemPackageCase_); } public Builder clearSystemPackage() { @@ -11079,89 +12649,127 @@ public Builder clearSystemPackage() { return this; } - private int desiredState_ = 0; /** + * + * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for desiredState. */ - @java.lang.Override public int getDesiredStateValue() { + @java.lang.Override + public int getDesiredStateValue() { return desiredState_; } /** + * + * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for desiredState to set. * @return This builder for chaining. */ public Builder setDesiredStateValue(int value) { - + desiredState_ = value; onChanged(); return this; } /** + * + * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The desiredState. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState getDesiredState() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState + getDesiredState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState result = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState.valueOf(desiredState_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState result = + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState.valueOf( + desiredState_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState + .UNRECOGNIZED + : result; } /** + * + * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The desiredState to set. * @return This builder for chaining. */ - public Builder setDesiredState(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState value) { + public Builder setDesiredState( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState value) { if (value == null) { throw new NullPointerException(); } - + desiredState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearDesiredState() { - + desiredState_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder> aptBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder> + aptBuilder_; /** + * + * *
          * A package managed by Apt.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; + * * @return Whether the apt field is set. */ @java.lang.Override @@ -11169,35 +12777,44 @@ public boolean hasApt() { return systemPackageCase_ == 2; } /** + * + * *
          * A package managed by Apt.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; + * * @return The apt. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT getApt() { if (aptBuilder_ == null) { if (systemPackageCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT + .getDefaultInstance(); } else { if (systemPackageCase_ == 2) { return aptBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT + .getDefaultInstance(); } } /** + * + * *
          * A package managed by Apt.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; */ - public Builder setApt(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT value) { + public Builder setApt( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT value) { if (aptBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11211,6 +12828,8 @@ public Builder setApt(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageReso return this; } /** + * + * *
          * A package managed by Apt.
          * 
@@ -11218,7 +12837,8 @@ public Builder setApt(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageReso * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; */ public Builder setApt( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder + builderForValue) { if (aptBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -11229,18 +12849,28 @@ public Builder setApt( return this; } /** + * + * *
          * A package managed by Apt.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; */ - public Builder mergeApt(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT value) { + public Builder mergeApt( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT value) { if (aptBuilder_ == null) { - if (systemPackageCase_ == 2 && - systemPackage_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.getDefaultInstance()) { - systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_) - .mergeFrom(value).buildPartial(); + if (systemPackageCase_ == 2 + && systemPackage_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT + .getDefaultInstance()) { + systemPackage_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT + .newBuilder( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) + systemPackage_) + .mergeFrom(value) + .buildPartial(); } else { systemPackage_ = value; } @@ -11256,6 +12886,8 @@ public Builder mergeApt(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageRe return this; } /** + * + * *
          * A package managed by Apt.
          * 
@@ -11279,16 +12911,21 @@ public Builder clearApt() { return this; } /** + * + * *
          * A package managed by Apt.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder getAptBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder + getAptBuilder() { return getAptFieldBuilder().getBuilder(); } /** + * + * *
          * A package managed by Apt.
          * 
@@ -11296,17 +12933,22 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builde * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder getAptOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder + getAptOrBuilder() { if ((systemPackageCase_ == 2) && (aptBuilder_ != null)) { return aptBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT + .getDefaultInstance(); } } /** + * + * *
          * A package managed by Apt.
          * 
@@ -11314,32 +12956,47 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuild * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder> getAptFieldBuilder() { if (aptBuilder_ == null) { if (!(systemPackageCase_ == 2)) { - systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); - } - aptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) systemPackage_, + systemPackage_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT + .getDefaultInstance(); + } + aptBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT) + systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 2; - onChanged();; + onChanged(); + ; return aptBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder> debBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder> + debBuilder_; /** + * + * *
          * A deb package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; + * * @return Whether the deb field is set. */ @java.lang.Override @@ -11347,35 +13004,44 @@ public boolean hasDeb() { return systemPackageCase_ == 3; } /** + * + * *
          * A deb package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; + * * @return The deb. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb getDeb() { if (debBuilder_ == null) { if (systemPackageCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb + .getDefaultInstance(); } else { if (systemPackageCase_ == 3) { return debBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb + .getDefaultInstance(); } } /** + * + * *
          * A deb package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; */ - public Builder setDeb(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb value) { + public Builder setDeb( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb value) { if (debBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11389,6 +13055,8 @@ public Builder setDeb(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageReso return this; } /** + * + * *
          * A deb package file.
          * 
@@ -11396,7 +13064,8 @@ public Builder setDeb(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageReso * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; */ public Builder setDeb( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder + builderForValue) { if (debBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -11407,18 +13076,27 @@ public Builder setDeb( return this; } /** + * + * *
          * A deb package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; */ - public Builder mergeDeb(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb value) { + public Builder mergeDeb( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb value) { if (debBuilder_ == null) { - if (systemPackageCase_ == 3 && - systemPackage_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance()) { - systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_) - .mergeFrom(value).buildPartial(); + if (systemPackageCase_ == 3 + && systemPackage_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb + .getDefaultInstance()) { + systemPackage_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.newBuilder( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) + systemPackage_) + .mergeFrom(value) + .buildPartial(); } else { systemPackage_ = value; } @@ -11434,6 +13112,8 @@ public Builder mergeDeb(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageRe return this; } /** + * + * *
          * A deb package file.
          * 
@@ -11457,16 +13137,21 @@ public Builder clearDeb() { return this; } /** + * + * *
          * A deb package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder getDebBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder + getDebBuilder() { return getDebFieldBuilder().getBuilder(); } /** + * + * *
          * A deb package file.
          * 
@@ -11474,17 +13159,22 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builde * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder getDebOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder + getDebOrBuilder() { if ((systemPackageCase_ == 3) && (debBuilder_ != null)) { return debBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb + .getDefaultInstance(); } } /** + * + * *
          * A deb package file.
          * 
@@ -11492,32 +13182,47 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuild * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder> getDebFieldBuilder() { if (debBuilder_ == null) { if (!(systemPackageCase_ == 3)) { - systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); - } - debBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) systemPackage_, + systemPackage_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb + .getDefaultInstance(); + } + debBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb) + systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 3; - onChanged();; + onChanged(); + ; return debBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder> yumBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder> + yumBuilder_; /** + * + * *
          * A package managed by YUM.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; + * * @return Whether the yum field is set. */ @java.lang.Override @@ -11525,35 +13230,44 @@ public boolean hasYum() { return systemPackageCase_ == 4; } /** + * + * *
          * A package managed by YUM.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; + * * @return The yum. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM getYum() { if (yumBuilder_ == null) { if (systemPackageCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM + .getDefaultInstance(); } else { if (systemPackageCase_ == 4) { return yumBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM + .getDefaultInstance(); } } /** + * + * *
          * A package managed by YUM.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; */ - public Builder setYum(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM value) { + public Builder setYum( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM value) { if (yumBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11567,6 +13281,8 @@ public Builder setYum(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageReso return this; } /** + * + * *
          * A package managed by YUM.
          * 
@@ -11574,7 +13290,8 @@ public Builder setYum(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageReso * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; */ public Builder setYum( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder + builderForValue) { if (yumBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -11585,18 +13302,28 @@ public Builder setYum( return this; } /** + * + * *
          * A package managed by YUM.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; */ - public Builder mergeYum(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM value) { + public Builder mergeYum( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM value) { if (yumBuilder_ == null) { - if (systemPackageCase_ == 4 && - systemPackage_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance()) { - systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_) - .mergeFrom(value).buildPartial(); + if (systemPackageCase_ == 4 + && systemPackage_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM + .getDefaultInstance()) { + systemPackage_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM + .newBuilder( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) + systemPackage_) + .mergeFrom(value) + .buildPartial(); } else { systemPackage_ = value; } @@ -11612,6 +13339,8 @@ public Builder mergeYum(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageRe return this; } /** + * + * *
          * A package managed by YUM.
          * 
@@ -11635,16 +13364,21 @@ public Builder clearYum() { return this; } /** + * + * *
          * A package managed by YUM.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder getYumBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder + getYumBuilder() { return getYumFieldBuilder().getBuilder(); } /** + * + * *
          * A package managed by YUM.
          * 
@@ -11652,17 +13386,22 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builde * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder getYumOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder + getYumOrBuilder() { if ((systemPackageCase_ == 4) && (yumBuilder_ != null)) { return yumBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM + .getDefaultInstance(); } } /** + * + * *
          * A package managed by YUM.
          * 
@@ -11670,32 +13409,48 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuild * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM yum = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder> getYumFieldBuilder() { if (yumBuilder_ == null) { if (!(systemPackageCase_ == 4)) { - systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); - } - yumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) systemPackage_, + systemPackage_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM + .getDefaultInstance(); + } + yumBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM) + systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 4; - onChanged();; + onChanged(); + ; return yumBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder> zypperBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder> + zypperBuilder_; /** + * + * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * + * * @return Whether the zypper field is set. */ @java.lang.Override @@ -11703,35 +13458,46 @@ public boolean hasZypper() { return systemPackageCase_ == 5; } /** + * + * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * + * * @return The zypper. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper getZypper() { if (zypperBuilder_ == null) { if (systemPackageCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + .getDefaultInstance(); } else { if (systemPackageCase_ == 5) { return zypperBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + .getDefaultInstance(); } } /** + * + * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * */ - public Builder setZypper(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper value) { + public Builder setZypper( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper value) { if (zypperBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11745,14 +13511,18 @@ public Builder setZypper(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageR return this; } /** + * + * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * */ public Builder setZypper( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder + builderForValue) { if (zypperBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -11763,18 +13533,28 @@ public Builder setZypper( return this; } /** + * + * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * */ - public Builder mergeZypper(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper value) { + public Builder mergeZypper( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper value) { if (zypperBuilder_ == null) { - if (systemPackageCase_ == 5 && - systemPackage_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance()) { - systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_) - .mergeFrom(value).buildPartial(); + if (systemPackageCase_ == 5 + && systemPackage_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + .getDefaultInstance()) { + systemPackage_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.newBuilder( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) + systemPackage_) + .mergeFrom(value) + .buildPartial(); } else { systemPackage_ = value; } @@ -11790,11 +13570,14 @@ public Builder mergeZypper(com.google.cloud.osconfig.v1.OSPolicy.Resource.Packag return this; } /** + * + * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * */ public Builder clearZypper() { if (zypperBuilder_ == null) { @@ -11813,67 +13596,95 @@ public Builder clearZypper() { return this; } /** + * + * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder getZypperBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder + getZypperBuilder() { return getZypperFieldBuilder().getBuilder(); } /** + * + * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder getZypperOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder + getZypperOrBuilder() { if ((systemPackageCase_ == 5) && (zypperBuilder_ != null)) { return zypperBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + .getDefaultInstance(); } } /** + * + * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder> getZypperFieldBuilder() { if (zypperBuilder_ == null) { if (!(systemPackageCase_ == 5)) { - systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); - } - zypperBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) systemPackage_, + systemPackage_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper + .getDefaultInstance(); + } + zypperBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper) + systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 5; - onChanged();; + onChanged(); + ; return zypperBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder> rpmBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder> + rpmBuilder_; /** + * + * *
          * An rpm package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * * @return Whether the rpm field is set. */ @java.lang.Override @@ -11881,35 +13692,44 @@ public boolean hasRpm() { return systemPackageCase_ == 6; } /** + * + * *
          * An rpm package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * * @return The rpm. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM getRpm() { if (rpmBuilder_ == null) { if (systemPackageCase_ == 6) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM + .getDefaultInstance(); } else { if (systemPackageCase_ == 6) { return rpmBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM + .getDefaultInstance(); } } /** + * + * *
          * An rpm package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ - public Builder setRpm(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM value) { + public Builder setRpm( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM value) { if (rpmBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11923,6 +13743,8 @@ public Builder setRpm(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageReso return this; } /** + * + * *
          * An rpm package file.
          * 
@@ -11930,7 +13752,8 @@ public Builder setRpm(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageReso * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ public Builder setRpm( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder + builderForValue) { if (rpmBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -11941,18 +13764,28 @@ public Builder setRpm( return this; } /** + * + * *
          * An rpm package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ - public Builder mergeRpm(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM value) { + public Builder mergeRpm( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM value) { if (rpmBuilder_ == null) { - if (systemPackageCase_ == 6 && - systemPackage_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance()) { - systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_) - .mergeFrom(value).buildPartial(); + if (systemPackageCase_ == 6 + && systemPackage_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM + .getDefaultInstance()) { + systemPackage_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM + .newBuilder( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) + systemPackage_) + .mergeFrom(value) + .buildPartial(); } else { systemPackage_ = value; } @@ -11968,6 +13801,8 @@ public Builder mergeRpm(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageRe return this; } /** + * + * *
          * An rpm package file.
          * 
@@ -11991,16 +13826,21 @@ public Builder clearRpm() { return this; } /** + * + * *
          * An rpm package file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder getRpmBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder + getRpmBuilder() { return getRpmFieldBuilder().getBuilder(); } /** + * + * *
          * An rpm package file.
          * 
@@ -12008,17 +13848,22 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builde * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder getRpmOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder + getRpmOrBuilder() { if ((systemPackageCase_ == 6) && (rpmBuilder_ != null)) { return rpmBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 6) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM + .getDefaultInstance(); } } /** + * + * *
          * An rpm package file.
          * 
@@ -12026,32 +13871,48 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuild * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder> getRpmFieldBuilder() { if (rpmBuilder_ == null) { if (!(systemPackageCase_ == 6)) { - systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); - } - rpmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) systemPackage_, + systemPackage_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM + .getDefaultInstance(); + } + rpmBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM) + systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 6; - onChanged();; + onChanged(); + ; return rpmBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder> googetBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder> + googetBuilder_; /** + * + * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * + * * @return Whether the googet field is set. */ @java.lang.Override @@ -12059,35 +13920,46 @@ public boolean hasGooget() { return systemPackageCase_ == 7; } /** + * + * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * + * * @return The googet. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet getGooget() { if (googetBuilder_ == null) { if (systemPackageCase_ == 7) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + .getDefaultInstance(); } else { if (systemPackageCase_ == 7) { return googetBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + .getDefaultInstance(); } } /** + * + * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * */ - public Builder setGooget(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet value) { + public Builder setGooget( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet value) { if (googetBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12101,14 +13973,18 @@ public Builder setGooget(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageR return this; } /** + * + * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * */ public Builder setGooget( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder + builderForValue) { if (googetBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -12119,18 +13995,28 @@ public Builder setGooget( return this; } /** + * + * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * */ - public Builder mergeGooget(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet value) { + public Builder mergeGooget( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet value) { if (googetBuilder_ == null) { - if (systemPackageCase_ == 7 && - systemPackage_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance()) { - systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_) - .mergeFrom(value).buildPartial(); + if (systemPackageCase_ == 7 + && systemPackage_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + .getDefaultInstance()) { + systemPackage_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.newBuilder( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) + systemPackage_) + .mergeFrom(value) + .buildPartial(); } else { systemPackage_ = value; } @@ -12146,11 +14032,14 @@ public Builder mergeGooget(com.google.cloud.osconfig.v1.OSPolicy.Resource.Packag return this; } /** + * + * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * */ public Builder clearGooget() { if (googetBuilder_ == null) { @@ -12169,67 +14058,95 @@ public Builder clearGooget() { return this; } /** + * + * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder getGoogetBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder + getGoogetBuilder() { return getGoogetFieldBuilder().getBuilder(); } /** + * + * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder getGoogetOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder + getGoogetOrBuilder() { if ((systemPackageCase_ == 7) && (googetBuilder_ != null)) { return googetBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 7) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + .getDefaultInstance(); } } /** + * + * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder> getGoogetFieldBuilder() { if (googetBuilder_ == null) { if (!(systemPackageCase_ == 7)) { - systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); - } - googetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) systemPackage_, + systemPackage_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet + .getDefaultInstance(); + } + googetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet) + systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 7; - onChanged();; + onChanged(); + ; return googetBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder> msiBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder> + msiBuilder_; /** + * + * *
          * An MSI package.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; + * * @return Whether the msi field is set. */ @java.lang.Override @@ -12237,35 +14154,44 @@ public boolean hasMsi() { return systemPackageCase_ == 8; } /** + * + * *
          * An MSI package.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; + * * @return The msi. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI getMsi() { if (msiBuilder_ == null) { if (systemPackageCase_ == 8) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI + .getDefaultInstance(); } else { if (systemPackageCase_ == 8) { return msiBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI + .getDefaultInstance(); } } /** + * + * *
          * An MSI package.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; */ - public Builder setMsi(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI value) { + public Builder setMsi( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI value) { if (msiBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12279,6 +14205,8 @@ public Builder setMsi(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageReso return this; } /** + * + * *
          * An MSI package.
          * 
@@ -12286,7 +14214,8 @@ public Builder setMsi(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageReso * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; */ public Builder setMsi( - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder + builderForValue) { if (msiBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -12297,18 +14226,28 @@ public Builder setMsi( return this; } /** + * + * *
          * An MSI package.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; */ - public Builder mergeMsi(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI value) { + public Builder mergeMsi( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI value) { if (msiBuilder_ == null) { - if (systemPackageCase_ == 8 && - systemPackage_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance()) { - systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_) - .mergeFrom(value).buildPartial(); + if (systemPackageCase_ == 8 + && systemPackage_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI + .getDefaultInstance()) { + systemPackage_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI + .newBuilder( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) + systemPackage_) + .mergeFrom(value) + .buildPartial(); } else { systemPackage_ = value; } @@ -12324,6 +14263,8 @@ public Builder mergeMsi(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageRe return this; } /** + * + * *
          * An MSI package.
          * 
@@ -12347,16 +14288,21 @@ public Builder clearMsi() { return this; } /** + * + * *
          * An MSI package.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder getMsiBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder + getMsiBuilder() { return getMsiFieldBuilder().getBuilder(); } /** + * + * *
          * An MSI package.
          * 
@@ -12364,17 +14310,22 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builde * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder getMsiOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder + getMsiOrBuilder() { if ((systemPackageCase_ == 8) && (msiBuilder_ != null)) { return msiBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 8) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) + systemPackage_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI + .getDefaultInstance(); } } /** + * + * *
          * An MSI package.
          * 
@@ -12382,23 +14333,33 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuild * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI msi = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder> getMsiFieldBuilder() { if (msiBuilder_ == null) { if (!(systemPackageCase_ == 8)) { - systemPackage_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); - } - msiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) systemPackage_, + systemPackage_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI + .getDefaultInstance(); + } + msiBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI) + systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 8; - onChanged();; + onChanged(); + ; return msiBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12411,30 +14372,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PackageResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PackageResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PackageResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PackageResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12446,157 +14409,212 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface RepositoryResourceOrBuilder extends + public interface RepositoryResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * An Apt Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * * @return Whether the apt field is set. */ boolean hasApt(); /** + * + * *
        * An Apt Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * * @return The apt. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository getApt(); /** + * + * *
        * An Apt Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder getAptOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder + getAptOrBuilder(); /** + * + * *
        * A Yum Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * * @return Whether the yum field is set. */ boolean hasYum(); /** + * + * *
        * A Yum Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * * @return The yum. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository getYum(); /** + * + * *
        * A Yum Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder getYumOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder + getYumOrBuilder(); /** + * + * *
        * A Zypper Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * * @return Whether the zypper field is set. */ boolean hasZypper(); /** + * + * *
        * A Zypper Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * * @return The zypper. */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository getZypper(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + getZypper(); /** + * + * *
        * A Zypper Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder getZypperOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder + getZypperOrBuilder(); /** + * + * *
        * A Goo Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * * @return Whether the goo field is set. */ boolean hasGoo(); /** + * + * *
        * A Goo Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * * @return The goo. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository getGoo(); /** + * + * *
        * A Goo Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder getGooOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder + getGooOrBuilder(); - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.RepositoryCase getRepositoryCase(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.RepositoryCase + getRepositoryCase(); } /** + * + * *
      * A resource that manages a package repository.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource} */ - public static final class RepositoryResource extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class RepositoryResource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) RepositoryResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RepositoryResource.newBuilder() to construct. private RepositoryResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RepositoryResource() { - } + + private RepositoryResource() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RepositoryResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RepositoryResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -12615,69 +14633,121 @@ private RepositoryResource( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.Builder subBuilder = null; - if (repositoryCase_ == 1) { - subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_).toBuilder(); - } - repository_ = - input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_); - repository_ = subBuilder.buildPartial(); - } - repositoryCase_ = 1; - break; - } - case 18: { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.Builder subBuilder = null; - if (repositoryCase_ == 2) { - subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_).toBuilder(); - } - repository_ = - input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_); - repository_ = subBuilder.buildPartial(); - } - repositoryCase_ = 2; - break; - } - case 26: { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder subBuilder = null; - if (repositoryCase_ == 3) { - subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_).toBuilder(); + case 10: + { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .Builder + subBuilder = null; + if (repositoryCase_ == 1) { + subBuilder = + ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository) + repository_) + .toBuilder(); + } + repository_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository) + repository_); + repository_ = subBuilder.buildPartial(); + } + repositoryCase_ = 1; + break; } - repository_ = - input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_); - repository_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + .Builder + subBuilder = null; + if (repositoryCase_ == 2) { + subBuilder = + ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository) + repository_) + .toBuilder(); + } + repository_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository) + repository_); + repository_ = subBuilder.buildPartial(); + } + repositoryCase_ = 2; + break; } - repositoryCase_ = 3; - break; - } - case 34: { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.Builder subBuilder = null; - if (repositoryCase_ == 4) { - subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_).toBuilder(); + case 26: + { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + .Builder + subBuilder = null; + if (repositoryCase_ == 3) { + subBuilder = + ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + repository_) + .toBuilder(); + } + repository_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + repository_); + repository_ = subBuilder.buildPartial(); + } + repositoryCase_ = 3; + break; } - repository_ = - input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_); - repository_ = subBuilder.buildPartial(); + case 34: + { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + .Builder + subBuilder = null; + if (repositoryCase_ == 4) { + subBuilder = + ((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository) + repository_) + .toBuilder(); + } + repository_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository) + repository_); + repository_ = subBuilder.buildPartial(); + } + repositoryCase_ = 4; + break; } - repositoryCase_ = 4; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -12685,174 +14755,218 @@ private RepositoryResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder.class); } - public interface AptRepositoryOrBuilder extends + public interface AptRepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. Type of archive files in this repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for archiveType. */ int getArchiveTypeValue(); /** + * + * *
          * Required. Type of archive files in this repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The archiveType. */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType getArchiveType(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType + getArchiveType(); /** + * + * *
          * Required. URI for this repository.
          * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
          * Required. URI for this repository.
          * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
          * Required. Distribution of this repository.
          * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The distribution. */ java.lang.String getDistribution(); /** + * + * *
          * Required. Distribution of this repository.
          * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for distribution. */ - com.google.protobuf.ByteString - getDistributionBytes(); + com.google.protobuf.ByteString getDistributionBytes(); /** + * + * *
          * Required. List of components for this repository. Must contain at
          * least one item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the components. */ - java.util.List - getComponentsList(); + java.util.List getComponentsList(); /** + * + * *
          * Required. List of components for this repository. Must contain at
          * least one item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of components. */ int getComponentsCount(); /** + * + * *
          * Required. List of components for this repository. Must contain at
          * least one item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The components at the given index. */ java.lang.String getComponents(int index); /** + * + * *
          * Required. List of components for this repository. Must contain at
          * least one item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - com.google.protobuf.ByteString - getComponentsBytes(int index); + com.google.protobuf.ByteString getComponentsBytes(int index); /** + * + * *
          * URI of the key file for this repository. The agent maintains a
          * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
          * 
* * string gpg_key = 5; + * * @return The gpgKey. */ java.lang.String getGpgKey(); /** + * + * *
          * URI of the key file for this repository. The agent maintains a
          * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
          * 
* * string gpg_key = 5; + * * @return The bytes for gpgKey. */ - com.google.protobuf.ByteString - getGpgKeyBytes(); + com.google.protobuf.ByteString getGpgKeyBytes(); } /** + * + * *
        * Represents a single apt package repository. These will be added to
        * a repo file that will be managed at
        * `/etc/apt/sources.list.d/google_osconfig.list`.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository} + * Protobuf type {@code + * google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository} */ - public static final class AptRepository extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AptRepository extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) AptRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AptRepository.newBuilder() to construct. private AptRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AptRepository() { archiveType_ = 0; uri_ = ""; @@ -12863,16 +14977,15 @@ private AptRepository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AptRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AptRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -12892,46 +15005,51 @@ private AptRepository( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - archiveType_ = rawValue; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + archiveType_ = rawValue; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + uri_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - distribution_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - components_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + distribution_ = s; + break; } - components_.add(s); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + components_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + components_.add(s); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - gpgKey_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + gpgKey_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -12939,8 +15057,8 @@ private AptRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { components_ = components_.getUnmodifiableView(); @@ -12949,29 +15067,38 @@ private AptRepository( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .Builder.class); } /** + * + * *
          * Type of archive.
          * 
* - * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType} + * Protobuf enum {@code + * google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType} */ - public enum ArchiveType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
            * Unspecified is invalid.
            * 
@@ -12980,6 +15107,8 @@ public enum ArchiveType */ ARCHIVE_TYPE_UNSPECIFIED(0), /** + * + * *
            * Deb indicates that the archive contains binary files.
            * 
@@ -12988,6 +15117,8 @@ public enum ArchiveType */ DEB(1), /** + * + * *
            * Deb-src indicates that the archive contains source files.
            * 
@@ -12999,6 +15130,8 @@ public enum ArchiveType ; /** + * + * *
            * Unspecified is invalid.
            * 
@@ -13007,6 +15140,8 @@ public enum ArchiveType */ public static final int ARCHIVE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
            * Deb indicates that the archive contains binary files.
            * 
@@ -13015,6 +15150,8 @@ public enum ArchiveType */ public static final int DEB_VALUE = 1; /** + * + * *
            * Deb-src indicates that the archive contains source files.
            * 
@@ -13023,7 +15160,6 @@ public enum ArchiveType */ public static final int DEB_SRC_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -13048,10 +15184,14 @@ public static ArchiveType valueOf(int value) { */ public static ArchiveType forNumber(int value) { switch (value) { - case 0: return ARCHIVE_TYPE_UNSPECIFIED; - case 1: return DEB; - case 2: return DEB_SRC; - default: return null; + case 0: + return ARCHIVE_TYPE_UNSPECIFIED; + case 1: + return DEB; + case 2: + return DEB_SRC; + default: + return null; } } @@ -13059,29 +15199,32 @@ public static ArchiveType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ArchiveType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ArchiveType findValueByNumber(int number) { - return ArchiveType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ArchiveType findValueByNumber(int number) { + return ArchiveType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .getDescriptor() + .getEnumTypes() + .get(0); } private static final ArchiveType[] VALUES = values(); @@ -13090,7 +15233,7 @@ public static ArchiveType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -13110,38 +15253,62 @@ private ArchiveType(int value) { public static final int ARCHIVE_TYPE_FIELD_NUMBER = 1; private int archiveType_; /** + * + * *
          * Required. Type of archive files in this repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for archiveType. */ - @java.lang.Override public int getArchiveTypeValue() { + @java.lang.Override + public int getArchiveTypeValue() { return archiveType_; } /** + * + * *
          * Required. Type of archive files in this repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The archiveType. */ - @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType getArchiveType() { + @java.lang.Override + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .ArchiveType + getArchiveType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType result = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.valueOf(archiveType_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .ArchiveType + result = + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .ArchiveType.valueOf(archiveType_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .ArchiveType.UNRECOGNIZED + : result; } public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** + * + * *
          * Required. URI for this repository.
          * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ @java.lang.Override @@ -13150,29 +15317,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
          * Required. URI for this repository.
          * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -13183,11 +15350,14 @@ public java.lang.String getUri() { public static final int DISTRIBUTION_FIELD_NUMBER = 3; private volatile java.lang.Object distribution_; /** + * + * *
          * Required. Distribution of this repository.
          * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The distribution. */ @java.lang.Override @@ -13196,29 +15366,29 @@ public java.lang.String getDistribution() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; } } /** + * + * *
          * Required. Distribution of this repository.
          * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for distribution. */ @java.lang.Override - public com.google.protobuf.ByteString - getDistributionBytes() { + public com.google.protobuf.ByteString getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); distribution_ = b; return b; } else { @@ -13229,37 +15399,45 @@ public java.lang.String getDistribution() { public static final int COMPONENTS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList components_; /** + * + * *
          * Required. List of components for this repository. Must contain at
          * least one item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the components. */ - public com.google.protobuf.ProtocolStringList - getComponentsList() { + public com.google.protobuf.ProtocolStringList getComponentsList() { return components_; } /** + * + * *
          * Required. List of components for this repository. Must contain at
          * least one item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of components. */ public int getComponentsCount() { return components_.size(); } /** + * + * *
          * Required. List of components for this repository. Must contain at
          * least one item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The components at the given index. */ @@ -13267,29 +15445,34 @@ public java.lang.String getComponents(int index) { return components_.get(index); } /** + * + * *
          * Required. List of components for this repository. Must contain at
          * least one item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - public com.google.protobuf.ByteString - getComponentsBytes(int index) { + public com.google.protobuf.ByteString getComponentsBytes(int index) { return components_.getByteString(index); } public static final int GPG_KEY_FIELD_NUMBER = 5; private volatile java.lang.Object gpgKey_; /** + * + * *
          * URI of the key file for this repository. The agent maintains a
          * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
          * 
* * string gpg_key = 5; + * * @return The gpgKey. */ @java.lang.Override @@ -13298,30 +15481,30 @@ public java.lang.String getGpgKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpgKey_ = s; return s; } } /** + * + * *
          * URI of the key file for this repository. The agent maintains a
          * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
          * 
* * string gpg_key = 5; + * * @return The bytes for gpgKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getGpgKeyBytes() { + public com.google.protobuf.ByteString getGpgKeyBytes() { java.lang.Object ref = gpgKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gpgKey_ = b; return b; } else { @@ -13330,6 +15513,7 @@ public java.lang.String getGpgKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13342,8 +15526,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (archiveType_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED.getNumber()) { + throws java.io.IOException { + if (archiveType_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .ArchiveType.ARCHIVE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, archiveType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { @@ -13367,9 +15554,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (archiveType_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, archiveType_); + if (archiveType_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .ArchiveType.ARCHIVE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, archiveType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_); @@ -13396,22 +15585,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository other = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) obj; if (archiveType_ != other.archiveType_) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getDistribution() - .equals(other.getDistribution())) return false; - if (!getComponentsList() - .equals(other.getComponentsList())) return false; - if (!getGpgKey() - .equals(other.getGpgKey())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getDistribution().equals(other.getDistribution())) return false; + if (!getComponentsList().equals(other.getComponentsList())) return false; + if (!getGpgKey().equals(other.getGpgKey())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -13440,88 +15628,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -13531,46 +15749,55 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Represents a single apt package repository. These will be added to
          * a repo file that will be managed at
          * `/etc/apt/sources.list.d/google_osconfig.list`.
          * 
* - * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository} + * Protobuf type {@code + * google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepositoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -13588,19 +15815,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository build() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository result = buildPartial(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + build() { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -13608,8 +15839,11 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepo } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository(this); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + buildPartial() { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository result = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository( + this); int from_bitField0_ = bitField0_; result.archiveType_ = archiveType_; result.uri_ = uri_; @@ -13628,46 +15862,57 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository)other); + if (other + instanceof + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) { + return mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository other) { - if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + other) { + if (other + == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .getDefaultInstance()) return this; if (other.archiveType_ != 0) { setArchiveTypeValue(other.getArchiveTypeValue()); } @@ -13708,11 +15953,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository parsedMessage = null; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -13721,77 +15969,116 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private int archiveType_ = 0; /** + * + * *
            * Required. Type of archive files in this repository.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for archiveType. */ - @java.lang.Override public int getArchiveTypeValue() { + @java.lang.Override + public int getArchiveTypeValue() { return archiveType_; } /** + * + * *
            * Required. Type of archive files in this repository.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for archiveType to set. * @return This builder for chaining. */ public Builder setArchiveTypeValue(int value) { - + archiveType_ = value; onChanged(); return this; } /** + * + * *
            * Required. Type of archive files in this repository.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The archiveType. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType getArchiveType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .ArchiveType + getArchiveType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType result = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.valueOf(archiveType_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .ArchiveType + result = + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .ArchiveType.valueOf(archiveType_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .ArchiveType.UNRECOGNIZED + : result; } /** + * + * *
            * Required. Type of archive files in this repository.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The archiveType to set. * @return This builder for chaining. */ - public Builder setArchiveType(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType value) { + public Builder setArchiveType( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .ArchiveType + value) { if (value == null) { throw new NullPointerException(); } - + archiveType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
            * Required. Type of archive files in this repository.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearArchiveType() { - + archiveType_ = 0; onChanged(); return this; @@ -13799,18 +16086,20 @@ public Builder clearArchiveType() { private java.lang.Object uri_ = ""; /** + * + * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -13819,20 +16108,21 @@ public java.lang.String getUri() { } } /** + * + * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -13840,54 +16130,61 @@ public java.lang.String getUri() { } } /** + * + * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { + public Builder setUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** + * + * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** + * + * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { + public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -13895,18 +16192,20 @@ public Builder setUriBytes( private java.lang.Object distribution_ = ""; /** + * + * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The distribution. */ public java.lang.String getDistribution() { java.lang.Object ref = distribution_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; @@ -13915,20 +16214,21 @@ public java.lang.String getDistribution() { } } /** + * + * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for distribution. */ - public com.google.protobuf.ByteString - getDistributionBytes() { + public com.google.protobuf.ByteString getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); distribution_ = b; return b; } else { @@ -13936,98 +16236,115 @@ public java.lang.String getDistribution() { } } /** + * + * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The distribution to set. * @return This builder for chaining. */ - public Builder setDistribution( - java.lang.String value) { + public Builder setDistribution(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + distribution_ = value; onChanged(); return this; } /** + * + * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDistribution() { - + distribution_ = getDefaultInstance().getDistribution(); onChanged(); return this; } /** + * + * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for distribution to set. * @return This builder for chaining. */ - public Builder setDistributionBytes( - com.google.protobuf.ByteString value) { + public Builder setDistributionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + distribution_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList components_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList components_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureComponentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { components_ = new com.google.protobuf.LazyStringArrayList(components_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
            * Required. List of components for this repository. Must contain at
            * least one item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the components. */ - public com.google.protobuf.ProtocolStringList - getComponentsList() { + public com.google.protobuf.ProtocolStringList getComponentsList() { return components_.getUnmodifiableView(); } /** + * + * *
            * Required. List of components for this repository. Must contain at
            * least one item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of components. */ public int getComponentsCount() { return components_.size(); } /** + * + * *
            * Required. List of components for this repository. Must contain at
            * least one item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The components at the given index. */ @@ -14035,85 +16352,95 @@ public java.lang.String getComponents(int index) { return components_.get(index); } /** + * + * *
            * Required. List of components for this repository. Must contain at
            * least one item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - public com.google.protobuf.ByteString - getComponentsBytes(int index) { + public com.google.protobuf.ByteString getComponentsBytes(int index) { return components_.getByteString(index); } /** + * + * *
            * Required. List of components for this repository. Must contain at
            * least one item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The components to set. * @return This builder for chaining. */ - public Builder setComponents( - int index, java.lang.String value) { + public Builder setComponents(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureComponentsIsMutable(); + throw new NullPointerException(); + } + ensureComponentsIsMutable(); components_.set(index, value); onChanged(); return this; } /** + * + * *
            * Required. List of components for this repository. Must contain at
            * least one item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The components to add. * @return This builder for chaining. */ - public Builder addComponents( - java.lang.String value) { + public Builder addComponents(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureComponentsIsMutable(); + throw new NullPointerException(); + } + ensureComponentsIsMutable(); components_.add(value); onChanged(); return this; } /** + * + * *
            * Required. List of components for this repository. Must contain at
            * least one item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The components to add. * @return This builder for chaining. */ - public Builder addAllComponents( - java.lang.Iterable values) { + public Builder addAllComponents(java.lang.Iterable values) { ensureComponentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, components_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, components_); onChanged(); return this; } /** + * + * *
            * Required. List of components for this repository. Must contain at
            * least one item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearComponents() { @@ -14123,21 +16450,23 @@ public Builder clearComponents() { return this; } /** + * + * *
            * Required. List of components for this repository. Must contain at
            * least one item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the components to add. * @return This builder for chaining. */ - public Builder addComponentsBytes( - com.google.protobuf.ByteString value) { + public Builder addComponentsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureComponentsIsMutable(); components_.add(value); onChanged(); @@ -14146,19 +16475,21 @@ public Builder addComponentsBytes( private java.lang.Object gpgKey_ = ""; /** + * + * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; + * * @return The gpgKey. */ public java.lang.String getGpgKey() { java.lang.Object ref = gpgKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpgKey_ = s; return s; @@ -14167,21 +16498,22 @@ public java.lang.String getGpgKey() { } } /** + * + * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; + * * @return The bytes for gpgKey. */ - public com.google.protobuf.ByteString - getGpgKeyBytes() { + public com.google.protobuf.ByteString getGpgKeyBytes() { java.lang.Object ref = gpgKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gpgKey_ = b; return b; } else { @@ -14189,61 +16521,69 @@ public java.lang.String getGpgKey() { } } /** + * + * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; + * * @param value The gpgKey to set. * @return This builder for chaining. */ - public Builder setGpgKey( - java.lang.String value) { + public Builder setGpgKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gpgKey_ = value; onChanged(); return this; } /** + * + * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; + * * @return This builder for chaining. */ public Builder clearGpgKey() { - + gpgKey_ = getDefaultInstance().getGpgKey(); onChanged(); return this; } /** + * + * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; + * * @param value The bytes for gpgKey to set. * @return This builder for chaining. */ - public Builder setGpgKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setGpgKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gpgKey_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14256,30 +16596,35 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14291,17 +16636,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface YumRepositoryOrBuilder extends + public interface YumRepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. A one word, unique name for this repository. This is  the
          * `repo id` in the yum config file and also the `display_name` if
@@ -14310,10 +16658,13 @@ public interface YumRepositoryOrBuilder extends
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
          * Required. A one word, unique name for this repository. This is  the
          * `repo id` in the yum config file and also the `display_name` if
@@ -14322,110 +16673,134 @@ public interface YumRepositoryOrBuilder extends
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
          * The display name of the repository.
          * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
          * The display name of the repository.
          * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The baseUrl. */ java.lang.String getBaseUrl(); /** + * + * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for baseUrl. */ - com.google.protobuf.ByteString - getBaseUrlBytes(); + com.google.protobuf.ByteString getBaseUrlBytes(); /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @return A list containing the gpgKeys. */ - java.util.List - getGpgKeysList(); + java.util.List getGpgKeysList(); /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @return The count of gpgKeys. */ int getGpgKeysCount(); /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ java.lang.String getGpgKeys(int index); /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - com.google.protobuf.ByteString - getGpgKeysBytes(int index); + com.google.protobuf.ByteString getGpgKeysBytes(int index); } /** + * + * *
        * Represents a single yum package repository. These are added to a
        * repo file that is managed at
        * `/etc/yum.repos.d/google_osconfig.repo`.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository} + * Protobuf type {@code + * google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository} */ - public static final class YumRepository extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class YumRepository extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) YumRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use YumRepository.newBuilder() to construct. private YumRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private YumRepository() { id_ = ""; displayName_ = ""; @@ -14435,16 +16810,15 @@ private YumRepository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new YumRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private YumRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -14464,40 +16838,44 @@ private YumRepository( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + id_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - baseUrl_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - gpgKeys_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + baseUrl_ = s; + break; } - gpgKeys_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + gpgKeys_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + gpgKeys_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -14505,8 +16883,8 @@ private YumRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { gpgKeys_ = gpgKeys_.getUnmodifiableView(); @@ -14515,22 +16893,29 @@ private YumRepository( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + .class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + .Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** + * + * *
          * Required. A one word, unique name for this repository. This is  the
          * `repo id` in the yum config file and also the `display_name` if
@@ -14539,6 +16924,7 @@ private YumRepository(
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ @java.lang.Override @@ -14547,14 +16933,15 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
          * Required. A one word, unique name for this repository. This is  the
          * `repo id` in the yum config file and also the `display_name` if
@@ -14563,16 +16950,15 @@ public java.lang.String getId() {
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -14583,11 +16969,14 @@ public java.lang.String getId() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
          * The display name of the repository.
          * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -14596,29 +16985,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
          * The display name of the repository.
          * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -14629,11 +17018,14 @@ public java.lang.String getDisplayName() { public static final int BASE_URL_FIELD_NUMBER = 3; private volatile java.lang.Object baseUrl_; /** + * + * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The baseUrl. */ @java.lang.Override @@ -14642,29 +17034,29 @@ public java.lang.String getBaseUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; } } /** + * + * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for baseUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getBaseUrlBytes() { + public com.google.protobuf.ByteString getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -14675,34 +17067,42 @@ public java.lang.String getBaseUrl() { public static final int GPG_KEYS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList gpgKeys_; /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList - getGpgKeysList() { + public com.google.protobuf.ProtocolStringList getGpgKeysList() { return gpgKeys_; } /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -14710,20 +17110,23 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString - getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -14736,7 +17139,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -14783,21 +17186,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository other = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) obj; - if (!getId() - .equals(other.getId())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getBaseUrl() - .equals(other.getBaseUrl())) return false; - if (!getGpgKeysList() - .equals(other.getGpgKeysList())) return false; + if (!getId().equals(other.getId())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getBaseUrl().equals(other.getBaseUrl())) return false; + if (!getGpgKeysList().equals(other.getGpgKeysList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -14824,88 +17226,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -14915,46 +17347,55 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Represents a single yum package repository. These are added to a
          * repo file that is managed at
          * `/etc/yum.repos.d/google_osconfig.repo`.
          * 
* - * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository} + * Protobuf type {@code + * google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepositoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + .class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -14970,19 +17411,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository build() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository result = buildPartial(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + build() { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -14990,8 +17435,11 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepo } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository(this); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + buildPartial() { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository result = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository( + this); int from_bitField0_ = bitField0_; result.id_ = id_; result.displayName_ = displayName_; @@ -15009,46 +17457,57 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository)other); + if (other + instanceof + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) { + return mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository other) { - if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + other) { + if (other + == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + .getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); @@ -15086,11 +17545,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository parsedMessage = null; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -15099,10 +17561,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object id_ = ""; /** + * + * *
            * Required. A one word, unique name for this repository. This is  the
            * `repo id` in the yum config file and also the `display_name` if
@@ -15111,13 +17576,13 @@ public Builder mergeFrom(
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -15126,6 +17591,8 @@ public java.lang.String getId() { } } /** + * + * *
            * Required. A one word, unique name for this repository. This is  the
            * `repo id` in the yum config file and also the `display_name` if
@@ -15134,15 +17601,14 @@ public java.lang.String getId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -15150,6 +17616,8 @@ public java.lang.String getId() { } } /** + * + * *
            * Required. A one word, unique name for this repository. This is  the
            * `repo id` in the yum config file and also the `display_name` if
@@ -15158,20 +17626,22 @@ public java.lang.String getId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
            * Required. A one word, unique name for this repository. This is  the
            * `repo id` in the yum config file and also the `display_name` if
@@ -15180,15 +17650,18 @@ public Builder setId(
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
            * Required. A one word, unique name for this repository. This is  the
            * `repo id` in the yum config file and also the `display_name` if
@@ -15197,16 +17670,16 @@ public Builder clearId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -15214,18 +17687,20 @@ public Builder setIdBytes( private java.lang.Object displayName_ = ""; /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -15234,20 +17709,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -15255,54 +17731,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -15310,18 +17793,20 @@ public Builder setDisplayNameBytes( private java.lang.Object baseUrl_ = ""; /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The baseUrl. */ public java.lang.String getBaseUrl() { java.lang.Object ref = baseUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; @@ -15330,20 +17815,21 @@ public java.lang.String getBaseUrl() { } } /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for baseUrl. */ - public com.google.protobuf.ByteString - getBaseUrlBytes() { + public com.google.protobuf.ByteString getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -15351,95 +17837,112 @@ public java.lang.String getBaseUrl() { } } /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrl( - java.lang.String value) { + public Builder setBaseUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + baseUrl_ = value; onChanged(); return this; } /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBaseUrl() { - + baseUrl_ = getDefaultInstance().getBaseUrl(); onChanged(); return this; } /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setBaseUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + baseUrl_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList gpgKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList gpgKeys_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureGpgKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { gpgKeys_ = new com.google.protobuf.LazyStringArrayList(gpgKeys_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList - getGpgKeysList() { + public com.google.protobuf.ProtocolStringList getGpgKeysList() { return gpgKeys_.getUnmodifiableView(); } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -15447,80 +17950,90 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString - getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param index The index to set the value at. * @param value The gpgKeys to set. * @return This builder for chaining. */ - public Builder setGpgKeys( - int index, java.lang.String value) { + public Builder setGpgKeys(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.set(index, value); onChanged(); return this; } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param value The gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeys( - java.lang.String value) { + public Builder addGpgKeys(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param values The gpgKeys to add. * @return This builder for chaining. */ - public Builder addAllGpgKeys( - java.lang.Iterable values) { + public Builder addAllGpgKeys(java.lang.Iterable values) { ensureGpgKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, gpgKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, gpgKeys_); onChanged(); return this; } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @return This builder for chaining. */ public Builder clearGpgKeys() { @@ -15530,25 +18043,28 @@ public Builder clearGpgKeys() { return this; } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param value The bytes of the gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeysBytes( - com.google.protobuf.ByteString value) { + public Builder addGpgKeysBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -15561,30 +18077,35 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15596,17 +18117,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ZypperRepositoryOrBuilder extends + public interface ZypperRepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. A one word, unique name for this repository. This is the
          * `repo id` in the zypper config file and also the `display_name` if
@@ -15615,10 +18139,13 @@ public interface ZypperRepositoryOrBuilder extends
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
          * Required. A one word, unique name for this repository. This is the
          * `repo id` in the zypper config file and also the `display_name` if
@@ -15627,110 +18154,134 @@ public interface ZypperRepositoryOrBuilder extends
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
          * The display name of the repository.
          * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
          * The display name of the repository.
          * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The baseUrl. */ java.lang.String getBaseUrl(); /** + * + * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for baseUrl. */ - com.google.protobuf.ByteString - getBaseUrlBytes(); + com.google.protobuf.ByteString getBaseUrlBytes(); /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @return A list containing the gpgKeys. */ - java.util.List - getGpgKeysList(); + java.util.List getGpgKeysList(); /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @return The count of gpgKeys. */ int getGpgKeysCount(); /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ java.lang.String getGpgKeys(int index); /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - com.google.protobuf.ByteString - getGpgKeysBytes(int index); + com.google.protobuf.ByteString getGpgKeysBytes(int index); } /** + * + * *
        * Represents a single zypper package repository. These are added to a
        * repo file that is managed at
        * `/etc/zypp/repos.d/google_osconfig.repo`.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository} + * Protobuf type {@code + * google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository} */ - public static final class ZypperRepository extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ZypperRepository extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) ZypperRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ZypperRepository.newBuilder() to construct. private ZypperRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ZypperRepository() { id_ = ""; displayName_ = ""; @@ -15740,16 +18291,15 @@ private ZypperRepository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ZypperRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ZypperRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -15769,40 +18319,44 @@ private ZypperRepository( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + id_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - baseUrl_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - gpgKeys_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + baseUrl_ = s; + break; } - gpgKeys_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + gpgKeys_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + gpgKeys_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -15810,8 +18364,8 @@ private ZypperRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { gpgKeys_ = gpgKeys_.getUnmodifiableView(); @@ -15820,22 +18374,29 @@ private ZypperRepository( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + .class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + .Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** + * + * *
          * Required. A one word, unique name for this repository. This is the
          * `repo id` in the zypper config file and also the `display_name` if
@@ -15844,6 +18405,7 @@ private ZypperRepository(
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ @java.lang.Override @@ -15852,14 +18414,15 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
          * Required. A one word, unique name for this repository. This is the
          * `repo id` in the zypper config file and also the `display_name` if
@@ -15868,16 +18431,15 @@ public java.lang.String getId() {
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -15888,11 +18450,14 @@ public java.lang.String getId() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
          * The display name of the repository.
          * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -15901,29 +18466,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
          * The display name of the repository.
          * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -15934,11 +18499,14 @@ public java.lang.String getDisplayName() { public static final int BASE_URL_FIELD_NUMBER = 3; private volatile java.lang.Object baseUrl_; /** + * + * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The baseUrl. */ @java.lang.Override @@ -15947,29 +18515,29 @@ public java.lang.String getBaseUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; } } /** + * + * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for baseUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getBaseUrlBytes() { + public com.google.protobuf.ByteString getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -15980,34 +18548,42 @@ public java.lang.String getBaseUrl() { public static final int GPG_KEYS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList gpgKeys_; /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList - getGpgKeysList() { + public com.google.protobuf.ProtocolStringList getGpgKeysList() { return gpgKeys_; } /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -16015,20 +18591,23 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString - getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -16041,7 +18620,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -16088,21 +18667,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository other = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) + obj; - if (!getId() - .equals(other.getId())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getBaseUrl() - .equals(other.getBaseUrl())) return false; - if (!getGpgKeysList() - .equals(other.getGpgKeysList())) return false; + if (!getId().equals(other.getId())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getBaseUrl().equals(other.getBaseUrl())) return false; + if (!getGpgKeysList().equals(other.getGpgKeysList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -16129,88 +18708,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -16220,46 +18829,55 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Represents a single zypper package repository. These are added to a
          * repo file that is managed at
          * `/etc/zypp/repos.d/google_osconfig.repo`.
          * 
* - * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository} + * Protobuf type {@code + * google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepositoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository.Builder.class); } - // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -16275,19 +18893,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository build() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository result = buildPartial(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + build() { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -16295,8 +18917,12 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperR } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository(this); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + buildPartial() { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + result = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository(this); int from_bitField0_ = bitField0_; result.id_ = id_; result.displayName_ = displayName_; @@ -16314,46 +18940,59 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository)other); + if (other + instanceof + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository) { + return mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository other) { - if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + other) { + if (other + == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); @@ -16391,11 +19030,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository parsedMessage = null; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -16404,10 +19047,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object id_ = ""; /** + * + * *
            * Required. A one word, unique name for this repository. This is the
            * `repo id` in the zypper config file and also the `display_name` if
@@ -16416,13 +19062,13 @@ public Builder mergeFrom(
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -16431,6 +19077,8 @@ public java.lang.String getId() { } } /** + * + * *
            * Required. A one word, unique name for this repository. This is the
            * `repo id` in the zypper config file and also the `display_name` if
@@ -16439,15 +19087,14 @@ public java.lang.String getId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -16455,6 +19102,8 @@ public java.lang.String getId() { } } /** + * + * *
            * Required. A one word, unique name for this repository. This is the
            * `repo id` in the zypper config file and also the `display_name` if
@@ -16463,20 +19112,22 @@ public java.lang.String getId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
            * Required. A one word, unique name for this repository. This is the
            * `repo id` in the zypper config file and also the `display_name` if
@@ -16485,15 +19136,18 @@ public Builder setId(
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
            * Required. A one word, unique name for this repository. This is the
            * `repo id` in the zypper config file and also the `display_name` if
@@ -16502,16 +19156,16 @@ public Builder clearId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -16519,18 +19173,20 @@ public Builder setIdBytes( private java.lang.Object displayName_ = ""; /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -16539,20 +19195,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -16560,54 +19217,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -16615,18 +19279,20 @@ public Builder setDisplayNameBytes( private java.lang.Object baseUrl_ = ""; /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The baseUrl. */ public java.lang.String getBaseUrl() { java.lang.Object ref = baseUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; @@ -16635,20 +19301,21 @@ public java.lang.String getBaseUrl() { } } /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for baseUrl. */ - public com.google.protobuf.ByteString - getBaseUrlBytes() { + public com.google.protobuf.ByteString getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -16656,95 +19323,112 @@ public java.lang.String getBaseUrl() { } } /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrl( - java.lang.String value) { + public Builder setBaseUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + baseUrl_ = value; onChanged(); return this; } /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBaseUrl() { - + baseUrl_ = getDefaultInstance().getBaseUrl(); onChanged(); return this; } /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setBaseUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + baseUrl_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList gpgKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList gpgKeys_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureGpgKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { gpgKeys_ = new com.google.protobuf.LazyStringArrayList(gpgKeys_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList - getGpgKeysList() { + public com.google.protobuf.ProtocolStringList getGpgKeysList() { return gpgKeys_.getUnmodifiableView(); } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -16752,80 +19436,90 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString - getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param index The index to set the value at. * @param value The gpgKeys to set. * @return This builder for chaining. */ - public Builder setGpgKeys( - int index, java.lang.String value) { + public Builder setGpgKeys(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.set(index, value); onChanged(); return this; } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param value The gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeys( - java.lang.String value) { + public Builder addGpgKeys(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param values The gpgKeys to add. * @return This builder for chaining. */ - public Builder addAllGpgKeys( - java.lang.Iterable values) { + public Builder addAllGpgKeys(java.lang.Iterable values) { ensureGpgKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, gpgKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, gpgKeys_); onChanged(); return this; } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @return This builder for chaining. */ public Builder clearGpgKeys() { @@ -16835,25 +19529,28 @@ public Builder clearGpgKeys() { return this; } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param value The bytes of the gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeysBytes( - com.google.protobuf.ByteString value) { + public Builder addGpgKeysBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16866,30 +19563,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ZypperRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ZypperRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ZypperRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ZypperRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16901,74 +19604,89 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GooRepositoryOrBuilder extends + public interface GooRepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. The name of the repository.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
          * Required. The name of the repository.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
          * Required. The url of the repository.
          * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ java.lang.String getUrl(); /** + * + * *
          * Required. The url of the repository.
          * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ - com.google.protobuf.ByteString - getUrlBytes(); + com.google.protobuf.ByteString getUrlBytes(); } /** + * + * *
        * Represents a Goo package repository. These are added to a repo file
        * that is managed at
        * `C:/ProgramData/GooGet/repos/google_osconfig.repo`.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository} + * Protobuf type {@code + * google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository} */ - public static final class GooRepository extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GooRepository extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) GooRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GooRepository.newBuilder() to construct. private GooRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GooRepository() { name_ = ""; url_ = ""; @@ -16976,16 +19694,15 @@ private GooRepository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GooRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GooRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -17004,25 +19721,27 @@ private GooRepository( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - url_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + url_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -17030,34 +19749,42 @@ private GooRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + .class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + .Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
          * Required. The name of the repository.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -17066,29 +19793,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
          * Required. The name of the repository.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -17099,11 +19826,14 @@ public java.lang.String getName() { public static final int URL_FIELD_NUMBER = 2; private volatile java.lang.Object url_; /** + * + * *
          * Required. The url of the repository.
          * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ @java.lang.Override @@ -17112,29 +19842,29 @@ public java.lang.String getUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; } } /** + * + * *
          * Required. The url of the repository.
          * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); url_ = b; return b; } else { @@ -17143,6 +19873,7 @@ public java.lang.String getUrl() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -17155,7 +19886,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -17185,17 +19916,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository other = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getUrl() - .equals(other.getUrl())) return false; + if (!getName().equals(other.getName())) return false; + if (!getUrl().equals(other.getUrl())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -17216,88 +19948,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository 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.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -17307,46 +20069,55 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Represents a Goo package repository. These are added to a repo file
          * that is managed at
          * `C:/ProgramData/GooGet/repos/google_osconfig.repo`.
          * 
* - * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository} + * Protobuf type {@code + * google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepositoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + .class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -17358,19 +20129,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository build() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository result = buildPartial(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + build() { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -17378,8 +20153,11 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepo } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository(this); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + buildPartial() { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository result = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository( + this); result.name_ = name_; result.url_ = url_; onBuilt(); @@ -17390,46 +20168,57 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository)other); + if (other + instanceof + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) { + return mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository other) { - if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + other) { + if (other + == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -17453,11 +20242,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository parsedMessage = null; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -17469,18 +20261,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -17489,20 +20283,21 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -17510,54 +20305,61 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -17565,18 +20367,20 @@ public Builder setNameBytes( private java.lang.Object url_ = ""; /** + * + * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; @@ -17585,20 +20389,21 @@ public java.lang.String getUrl() { } } /** + * + * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); url_ = b; return b; } else { @@ -17606,58 +20411,66 @@ public java.lang.String getUrl() { } } /** + * + * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl( - java.lang.String value) { + public Builder setUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** + * + * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** + * + * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -17670,30 +20483,35 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GooRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GooRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GooRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GooRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -17705,16 +20523,18 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int repositoryCase_ = 0; private java.lang.Object repository_; + public enum RepositoryCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { APT(1), YUM(2), @@ -17722,6 +20542,7 @@ public enum RepositoryCase GOO(4), REPOSITORY_NOT_SET(0); private final int value; + private RepositoryCase(int value) { this.value = value; } @@ -17737,32 +20558,41 @@ public static RepositoryCase valueOf(int value) { public static RepositoryCase forNumber(int value) { switch (value) { - case 1: return APT; - case 2: return YUM; - case 3: return ZYPPER; - case 4: return GOO; - case 0: return REPOSITORY_NOT_SET; - default: return null; + case 1: + return APT; + case 2: + return YUM; + case 3: + return ZYPPER; + case 4: + return GOO; + case 0: + return REPOSITORY_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RepositoryCase - getRepositoryCase() { - return RepositoryCase.forNumber( - repositoryCase_); + public RepositoryCase getRepositoryCase() { + return RepositoryCase.forNumber(repositoryCase_); } public static final int APT_FIELD_NUMBER = 1; /** + * + * *
        * An Apt Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * * @return Whether the apt field is set. */ @java.lang.Override @@ -17770,42 +20600,60 @@ public boolean hasApt() { return repositoryCase_ == 1; } /** + * + * *
        * An Apt Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * * @return The apt. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository getApt() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + getApt() { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) + repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .getDefaultInstance(); } /** + * + * *
        * An Apt Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder getAptOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepositoryOrBuilder + getAptOrBuilder() { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) + repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .getDefaultInstance(); } public static final int YUM_FIELD_NUMBER = 2; /** + * + * *
        * A Yum Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * * @return Whether the yum field is set. */ @java.lang.Override @@ -17813,42 +20661,61 @@ public boolean hasYum() { return repositoryCase_ == 2; } /** + * + * *
        * A Yum Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * * @return The yum. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository getYum() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + getYum() { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) + repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + .getDefaultInstance(); } /** + * + * *
        * A Yum Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder getYumOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepositoryOrBuilder + getYumOrBuilder() { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) + repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + .getDefaultInstance(); } public static final int ZYPPER_FIELD_NUMBER = 3; /** + * + * *
        * A Zypper Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * * @return Whether the zypper field is set. */ @java.lang.Override @@ -17856,42 +20723,64 @@ public boolean hasZypper() { return repositoryCase_ == 3; } /** + * + * *
        * A Zypper Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * * @return The zypper. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository getZypper() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + getZypper() { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + .getDefaultInstance(); } /** + * + * *
        * A Zypper Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder getZypperOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepositoryOrBuilder + getZypperOrBuilder() { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + .getDefaultInstance(); } public static final int GOO_FIELD_NUMBER = 4; /** + * + * *
        * A Goo Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * * @return Whether the goo field is set. */ @java.lang.Override @@ -17899,36 +20788,51 @@ public boolean hasGoo() { return repositoryCase_ == 4; } /** + * + * *
        * A Goo Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * * @return The goo. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository getGoo() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + getGoo() { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) + repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + .getDefaultInstance(); } /** + * + * *
        * A Goo Repository.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder getGooOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepositoryOrBuilder + getGooOrBuilder() { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) + repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -17940,19 +20844,30 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (repositoryCase_ == 1) { - output.writeMessage(1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_); + output.writeMessage( + 1, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) + repository_); } if (repositoryCase_ == 2) { - output.writeMessage(2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_); + output.writeMessage( + 2, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) + repository_); } if (repositoryCase_ == 3) { - output.writeMessage(3, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_); + output.writeMessage( + 3, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) + repository_); } if (repositoryCase_ == 4) { - output.writeMessage(4, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_); + output.writeMessage( + 4, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) + repository_); } unknownFields.writeTo(output); } @@ -17964,20 +20879,33 @@ public int getSerializedSize() { size = 0; if (repositoryCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) + repository_); } if (repositoryCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) + repository_); } if (repositoryCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + repository_); } if (repositoryCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) + repository_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -17987,30 +20915,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource other = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) obj; if (!getRepositoryCase().equals(other.getRepositoryCase())) return false; switch (repositoryCase_) { case 1: - if (!getApt() - .equals(other.getApt())) return false; + if (!getApt().equals(other.getApt())) return false; break; case 2: - if (!getYum() - .equals(other.getYum())) return false; + if (!getYum().equals(other.getYum())) return false; break; case 3: - if (!getZypper() - .equals(other.getZypper())) return false; + if (!getZypper().equals(other.getZypper())) return false; break; case 4: - if (!getGoo() - .equals(other.getGoo())) return false; + if (!getGoo().equals(other.getGoo())) return false; break; case 0: default: @@ -18052,87 +20977,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource 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.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource 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.osconfig.v1.OSPolicy.Resource.RepositoryResource + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -18142,44 +21076,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A resource that manages a package repository.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder.class); } - // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -18189,14 +21128,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .getDefaultInstance(); } @java.lang.Override @@ -18210,7 +21151,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource build() @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource result = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource(this); if (repositoryCase_ == 1) { if (aptBuilder_ == null) { result.repository_ = repository_; @@ -18248,66 +21190,78 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.RepositoryResource) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource)other); + return mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource other) { - if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource other) { + if (other + == com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .getDefaultInstance()) return this; switch (other.getRepositoryCase()) { - case APT: { - mergeApt(other.getApt()); - break; - } - case YUM: { - mergeYum(other.getYum()); - break; - } - case ZYPPER: { - mergeZypper(other.getZypper()); - break; - } - case GOO: { - mergeGoo(other.getGoo()); - break; - } - case REPOSITORY_NOT_SET: { - break; - } + case APT: + { + mergeApt(other.getApt()); + break; + } + case YUM: + { + mergeYum(other.getYum()); + break; + } + case ZYPPER: + { + mergeZypper(other.getZypper()); + break; + } + case GOO: + { + mergeGoo(other.getGoo()); + break; + } + case REPOSITORY_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -18328,7 +21282,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -18337,12 +21293,12 @@ public Builder mergeFrom( } return this; } + private int repositoryCase_ = 0; private java.lang.Object repository_; - public RepositoryCase - getRepositoryCase() { - return RepositoryCase.forNumber( - repositoryCase_); + + public RepositoryCase getRepositoryCase() { + return RepositoryCase.forNumber(repositoryCase_); } public Builder clearRepository() { @@ -18352,15 +21308,24 @@ public Builder clearRepository() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder> aptBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepositoryOrBuilder> + aptBuilder_; /** + * + * *
          * An Apt Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * * @return Whether the apt field is set. */ @java.lang.Override @@ -18368,35 +21333,50 @@ public boolean hasApt() { return repositoryCase_ == 1; } /** + * + * *
          * An Apt Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * * @return The apt. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository getApt() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + getApt() { if (aptBuilder_ == null) { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository) + repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .getDefaultInstance(); } else { if (repositoryCase_ == 1) { return aptBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .getDefaultInstance(); } } /** + * + * *
          * An Apt Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * */ - public Builder setApt(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository value) { + public Builder setApt( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository value) { if (aptBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -18410,14 +21390,19 @@ public Builder setApt(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryR return this; } /** + * + * *
          * An Apt Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * */ public Builder setApt( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.Builder builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.Builder + builderForValue) { if (aptBuilder_ == null) { repository_ = builderForValue.build(); onChanged(); @@ -18428,18 +21413,31 @@ public Builder setApt( return this; } /** + * + * *
          * An Apt Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * */ - public Builder mergeApt(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository value) { + public Builder mergeApt( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository value) { if (aptBuilder_ == null) { - if (repositoryCase_ == 1 && - repository_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance()) { - repository_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_) - .mergeFrom(value).buildPartial(); + if (repositoryCase_ == 1 + && repository_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository.getDefaultInstance()) { + repository_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .newBuilder( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository) + repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -18455,11 +21453,15 @@ public Builder mergeApt(com.google.cloud.osconfig.v1.OSPolicy.Resource.Repositor return this; } /** + * + * *
          * An Apt Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * */ public Builder clearApt() { if (aptBuilder_ == null) { @@ -18478,67 +21480,110 @@ public Builder clearApt() { return this; } /** + * + * *
          * An Apt Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.Builder getAptBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .Builder + getAptBuilder() { return getAptFieldBuilder().getBuilder(); } /** + * + * *
          * An Apt Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder getAptOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepositoryOrBuilder + getAptOrBuilder() { if ((repositoryCase_ == 1) && (aptBuilder_ != null)) { return aptBuilder_.getMessageOrBuilder(); } else { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository) + repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .getDefaultInstance(); } } /** + * + * *
          * An Apt Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepositoryOrBuilder> getAptFieldBuilder() { if (aptBuilder_ == null) { if (!(repositoryCase_ == 1)) { - repository_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); - } - aptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository) repository_, + repository_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .getDefaultInstance(); + } + aptBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository + .Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepositoryOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .AptRepository) + repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 1; - onChanged();; + onChanged(); + ; return aptBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder> yumBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + .Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepositoryOrBuilder> + yumBuilder_; /** + * + * *
          * A Yum Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * * @return Whether the yum field is set. */ @java.lang.Override @@ -18546,35 +21591,50 @@ public boolean hasYum() { return repositoryCase_ == 2; } /** + * + * *
          * A Yum Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * * @return The yum. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository getYum() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + getYum() { if (yumBuilder_ == null) { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository) + repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + .getDefaultInstance(); } else { if (repositoryCase_ == 2) { return yumBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + .getDefaultInstance(); } } /** + * + * *
          * A Yum Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * */ - public Builder setYum(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository value) { + public Builder setYum( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository value) { if (yumBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -18588,14 +21648,19 @@ public Builder setYum(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryR return this; } /** + * + * *
          * A Yum Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * */ public Builder setYum( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.Builder builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.Builder + builderForValue) { if (yumBuilder_ == null) { repository_ = builderForValue.build(); onChanged(); @@ -18606,18 +21671,31 @@ public Builder setYum( return this; } /** + * + * *
          * A Yum Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * */ - public Builder mergeYum(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository value) { + public Builder mergeYum( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository value) { if (yumBuilder_ == null) { - if (repositoryCase_ == 2 && - repository_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance()) { - repository_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_) - .mergeFrom(value).buildPartial(); + if (repositoryCase_ == 2 + && repository_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository.getDefaultInstance()) { + repository_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + .newBuilder( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository) + repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -18633,11 +21711,15 @@ public Builder mergeYum(com.google.cloud.osconfig.v1.OSPolicy.Resource.Repositor return this; } /** + * + * *
          * A Yum Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * */ public Builder clearYum() { if (yumBuilder_ == null) { @@ -18656,67 +21738,110 @@ public Builder clearYum() { return this; } /** + * + * *
          * A Yum Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.Builder getYumBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + .Builder + getYumBuilder() { return getYumFieldBuilder().getBuilder(); } /** + * + * *
          * A Yum Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder getYumOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepositoryOrBuilder + getYumOrBuilder() { if ((repositoryCase_ == 2) && (yumBuilder_ != null)) { return yumBuilder_.getMessageOrBuilder(); } else { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository) + repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + .getDefaultInstance(); } } /** + * + * *
          * A Yum Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + .Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepositoryOrBuilder> getYumFieldBuilder() { if (yumBuilder_ == null) { if (!(repositoryCase_ == 2)) { - repository_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); - } - yumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository) repository_, + repository_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + .getDefaultInstance(); + } + yumBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository + .Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepositoryOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .YumRepository) + repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 2; - onChanged();; + onChanged(); + ; return yumBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder> zypperBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + .Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepositoryOrBuilder> + zypperBuilder_; /** + * + * *
          * A Zypper Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * * @return Whether the zypper field is set. */ @java.lang.Override @@ -18724,35 +21849,51 @@ public boolean hasZypper() { return repositoryCase_ == 3; } /** + * + * *
          * A Zypper Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * * @return The zypper. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository getZypper() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + getZypper() { if (zypperBuilder_ == null) { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository.getDefaultInstance(); } else { if (repositoryCase_ == 3) { return zypperBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository.getDefaultInstance(); } } /** + * + * *
          * A Zypper Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * */ - public Builder setZypper(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository value) { + public Builder setZypper( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + value) { if (zypperBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -18766,14 +21907,20 @@ public Builder setZypper(com.google.cloud.osconfig.v1.OSPolicy.Resource.Reposito return this; } /** + * + * *
          * A Zypper Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * */ public Builder setZypper( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + .Builder + builderForValue) { if (zypperBuilder_ == null) { repository_ = builderForValue.build(); onChanged(); @@ -18784,18 +21931,32 @@ public Builder setZypper( return this; } /** + * + * *
          * A Zypper Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * */ - public Builder mergeZypper(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository value) { + public Builder mergeZypper( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + value) { if (zypperBuilder_ == null) { - if (repositoryCase_ == 3 && - repository_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance()) { - repository_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_) - .mergeFrom(value).buildPartial(); + if (repositoryCase_ == 3 + && repository_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository.getDefaultInstance()) { + repository_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + .newBuilder( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -18811,11 +21972,15 @@ public Builder mergeZypper(com.google.cloud.osconfig.v1.OSPolicy.Resource.Reposi return this; } /** + * + * *
          * A Zypper Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * */ public Builder clearZypper() { if (zypperBuilder_ == null) { @@ -18834,67 +21999,111 @@ public Builder clearZypper() { return this; } /** + * + * *
          * A Zypper Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder getZypperBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + .Builder + getZypperBuilder() { return getZypperFieldBuilder().getBuilder(); } /** + * + * *
          * A Zypper Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder getZypperOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepositoryOrBuilder + getZypperOrBuilder() { if ((repositoryCase_ == 3) && (zypperBuilder_ != null)) { return zypperBuilder_.getMessageOrBuilder(); } else { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository.getDefaultInstance(); } } /** + * + * *
          * A Zypper Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + .Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepositoryOrBuilder> getZypperFieldBuilder() { if (zypperBuilder_ == null) { if (!(repositoryCase_ == 3)) { - repository_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); - } - zypperBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_, + repository_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository + .getDefaultInstance(); + } + zypperBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepositoryOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 3; - onChanged();; + onChanged(); + ; return zypperBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder> gooBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + .Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepositoryOrBuilder> + gooBuilder_; /** + * + * *
          * A Goo Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * * @return Whether the goo field is set. */ @java.lang.Override @@ -18902,35 +22111,50 @@ public boolean hasGoo() { return repositoryCase_ == 4; } /** + * + * *
          * A Goo Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * * @return The goo. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository getGoo() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + getGoo() { if (gooBuilder_ == null) { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository) + repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + .getDefaultInstance(); } else { if (repositoryCase_ == 4) { return gooBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + .getDefaultInstance(); } } /** + * + * *
          * A Goo Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * */ - public Builder setGoo(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository value) { + public Builder setGoo( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository value) { if (gooBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -18944,14 +22168,19 @@ public Builder setGoo(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryR return this; } /** + * + * *
          * A Goo Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * */ public Builder setGoo( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.Builder builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.Builder + builderForValue) { if (gooBuilder_ == null) { repository_ = builderForValue.build(); onChanged(); @@ -18962,18 +22191,31 @@ public Builder setGoo( return this; } /** + * + * *
          * A Goo Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * */ - public Builder mergeGoo(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository value) { + public Builder mergeGoo( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository value) { if (gooBuilder_ == null) { - if (repositoryCase_ == 4 && - repository_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance()) { - repository_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_) - .mergeFrom(value).buildPartial(); + if (repositoryCase_ == 4 + && repository_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository.getDefaultInstance()) { + repository_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + .newBuilder( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository) + repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -18989,11 +22231,15 @@ public Builder mergeGoo(com.google.cloud.osconfig.v1.OSPolicy.Resource.Repositor return this; } /** + * + * *
          * A Goo Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * */ public Builder clearGoo() { if (gooBuilder_ == null) { @@ -19012,58 +22258,92 @@ public Builder clearGoo() { return this; } /** + * + * *
          * A Goo Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.Builder getGooBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + .Builder + getGooBuilder() { return getGooFieldBuilder().getBuilder(); } /** + * + * *
          * A Goo Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder getGooOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepositoryOrBuilder + getGooOrBuilder() { if ((repositoryCase_ == 4) && (gooBuilder_ != null)) { return gooBuilder_.getMessageOrBuilder(); } else { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository) + repository_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + .getDefaultInstance(); } } /** + * + * *
          * A Goo Repository.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + .Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepositoryOrBuilder> getGooFieldBuilder() { if (gooBuilder_ == null) { if (!(repositoryCase_ == 4)) { - repository_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); - } - gooBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository) repository_, + repository_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + .getDefaultInstance(); + } + gooBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository + .Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepositoryOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .GooRepository) + repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 4; - onChanged();; + onChanged(); + ; return gooBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -19076,30 +22356,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RepositoryResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RepositoryResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RepositoryResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RepositoryResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -19111,17 +22393,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ExecResourceOrBuilder extends + public interface ExecResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Required. What to run to validate this resource is in the desired
        * state. An exit code of 100 indicates "in desired state", and exit code
@@ -19129,11 +22414,16 @@ public interface ExecResourceOrBuilder extends
        * a failure running validate.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the validate field is set. */ boolean hasValidate(); /** + * + * *
        * Required. What to run to validate this resource is in the desired
        * state. An exit code of 100 indicates "in desired state", and exit code
@@ -19141,11 +22431,16 @@ public interface ExecResourceOrBuilder extends
        * a failure running validate.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The validate. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getValidate(); /** + * + * *
        * Required. What to run to validate this resource is in the desired
        * state. An exit code of 100 indicates "in desired state", and exit code
@@ -19153,11 +22448,16 @@ public interface ExecResourceOrBuilder extends
        * a failure running validate.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder getValidateOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder + getValidateOrBuilder(); /** + * + * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
@@ -19165,10 +22465,13 @@ public interface ExecResourceOrBuilder extends
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * * @return Whether the enforce field is set. */ boolean hasEnforce(); /** + * + * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
@@ -19176,10 +22479,13 @@ public interface ExecResourceOrBuilder extends
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * * @return The enforce. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getEnforce(); /** + * + * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
@@ -19188,9 +22494,12 @@ public interface ExecResourceOrBuilder extends
        *
        * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2;
        */
-      com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder getEnforceOrBuilder();
+      com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder
+          getEnforceOrBuilder();
     }
     /**
+     *
+     *
      * 
      * A resource that allows executing scripts on the VM.
      * The `ExecResource` has 2 stages: `validate` and `enforce` and both stages
@@ -19218,30 +22527,29 @@ public interface ExecResourceOrBuilder extends
      *
      * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource}
      */
-    public static final class ExecResource extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class ExecResource extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource)
         ExecResourceOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use ExecResource.newBuilder() to construct.
       private ExecResource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private ExecResource() {
-      }
+
+      private ExecResource() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new ExecResource();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private ExecResource(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -19258,41 +22566,51 @@ private ExecResource(
             int tag = input.readTag();
             switch (tag) {
               case 0:
-                done = true;
-                break;
-              case 10: {
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder subBuilder = null;
-                if (validate_ != null) {
-                  subBuilder = validate_.toBuilder();
-                }
-                validate_ = input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(validate_);
-                  validate_ = subBuilder.buildPartial();
-                }
-
+                done = true;
                 break;
-              }
-              case 18: {
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder subBuilder = null;
-                if (enforce_ != null) {
-                  subBuilder = enforce_.toBuilder();
-                }
-                enforce_ = input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(enforce_);
-                  enforce_ = subBuilder.buildPartial();
+              case 10:
+                {
+                  com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder
+                      subBuilder = null;
+                  if (validate_ != null) {
+                    subBuilder = validate_.toBuilder();
+                  }
+                  validate_ =
+                      input.readMessage(
+                          com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.parser(),
+                          extensionRegistry);
+                  if (subBuilder != null) {
+                    subBuilder.mergeFrom(validate_);
+                    validate_ = subBuilder.buildPartial();
+                  }
+
+                  break;
                 }
+              case 18:
+                {
+                  com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder
+                      subBuilder = null;
+                  if (enforce_ != null) {
+                    subBuilder = enforce_.toBuilder();
+                  }
+                  enforce_ =
+                      input.readMessage(
+                          com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.parser(),
+                          extensionRegistry);
+                  if (subBuilder != null) {
+                    subBuilder.mergeFrom(enforce_);
+                    enforce_ = subBuilder.buildPartial();
+                  }
 
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+                  break;
+                }
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -19300,49 +22618,61 @@ private ExecResource(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.OsPolicyProto
+            .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.OsPolicyProto
+            .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder.class);
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.class,
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder.class);
       }
 
-      public interface ExecOrBuilder extends
+      public interface ExecOrBuilder
+          extends
           // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec)
           com.google.protobuf.MessageOrBuilder {
 
         /**
+         *
+         *
          * 
          * A remote or local file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; + * * @return Whether the file field is set. */ boolean hasFile(); /** + * + * *
          * A remote or local file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; + * * @return The file. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.File getFile(); /** + * + * *
          * A remote or local file.
          * 
@@ -19352,98 +22682,129 @@ public interface ExecOrBuilder extends com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getFileOrBuilder(); /** + * + * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; + * * @return Whether the script field is set. */ boolean hasScript(); /** + * + * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; + * * @return The script. */ java.lang.String getScript(); /** + * + * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; + * * @return The bytes for script. */ - com.google.protobuf.ByteString - getScriptBytes(); + com.google.protobuf.ByteString getScriptBytes(); /** + * + * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; + * * @return A list containing the args. */ - java.util.List - getArgsList(); + java.util.List getArgsList(); /** + * + * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; + * * @return The count of args. */ int getArgsCount(); /** + * + * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; + * * @param index The index of the element to return. * @return The args at the given index. */ java.lang.String getArgs(int index); /** + * + * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; + * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - com.google.protobuf.ByteString - getArgsBytes(int index); + com.google.protobuf.ByteString getArgsBytes(int index); /** + * + * *
          * Required. The script interpreter to use.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for interpreter. */ int getInterpreterValue(); /** + * + * *
          * Required. The script interpreter to use.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The interpreter. */ - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter getInterpreter(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter + getInterpreter(); /** + * + * *
          * Only recorded for enforce Exec.
          * Path to an output file (that is created by this Exec) whose
@@ -19454,10 +22815,13 @@ public interface ExecOrBuilder extends
          * 
* * string output_file_path = 5; + * * @return The outputFilePath. */ java.lang.String getOutputFilePath(); /** + * + * *
          * Only recorded for enforce Exec.
          * Path to an output file (that is created by this Exec) whose
@@ -19468,29 +22832,33 @@ public interface ExecOrBuilder extends
          * 
* * string output_file_path = 5; + * * @return The bytes for outputFilePath. */ - com.google.protobuf.ByteString - getOutputFilePathBytes(); + com.google.protobuf.ByteString getOutputFilePathBytes(); - public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.SourceCase getSourceCase(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.SourceCase + getSourceCase(); } /** + * + * *
        * A file or script to execute.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec} */ - public static final class Exec extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Exec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) ExecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Exec.newBuilder() to construct. private Exec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Exec() { args_ = com.google.protobuf.LazyStringArrayList.EMPTY; interpreter_ = 0; @@ -19499,16 +22867,15 @@ private Exec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Exec(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Exec( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -19528,54 +22895,64 @@ private Exec( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_).toBuilder(); + case 10: + { + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } - source_ = - input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); - source_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 2; + source_ = s; + break; } - sourceCase_ = 1; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - sourceCase_ = 2; - source_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - args_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + args_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + args_.add(s); + break; } - args_.add(s); - break; - } - case 32: { - int rawValue = input.readEnum(); + case 32: + { + int rawValue = input.readEnum(); - interpreter_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + interpreter_ = rawValue; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - outputFilePath_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + outputFilePath_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -19583,8 +22960,8 @@ private Exec( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); @@ -19593,29 +22970,36 @@ private Exec( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder.class); } /** + * + * *
          * The interpreter to use.
          * 
* - * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter} + * Protobuf enum {@code + * google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter} */ - public enum Interpreter - implements com.google.protobuf.ProtocolMessageEnum { + public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
            * Invalid value, the request will return validation error.
            * 
@@ -19624,6 +23008,8 @@ public enum Interpreter */ INTERPRETER_UNSPECIFIED(0), /** + * + * *
            * If an interpreter is not specified, the
            * source is executed directly. This execution, without an
@@ -19636,6 +23022,8 @@ public enum Interpreter
            */
           NONE(1),
           /**
+           *
+           *
            * 
            * Indicates that the script runs with `/bin/sh` on Linux and
            * `cmd.exe` on Windows.
@@ -19645,6 +23033,8 @@ public enum Interpreter
            */
           SHELL(2),
           /**
+           *
+           *
            * 
            * Indicates that the script runs with PowerShell.
            * 
@@ -19656,6 +23046,8 @@ public enum Interpreter ; /** + * + * *
            * Invalid value, the request will return validation error.
            * 
@@ -19664,6 +23056,8 @@ public enum Interpreter */ public static final int INTERPRETER_UNSPECIFIED_VALUE = 0; /** + * + * *
            * If an interpreter is not specified, the
            * source is executed directly. This execution, without an
@@ -19676,6 +23070,8 @@ public enum Interpreter
            */
           public static final int NONE_VALUE = 1;
           /**
+           *
+           *
            * 
            * Indicates that the script runs with `/bin/sh` on Linux and
            * `cmd.exe` on Windows.
@@ -19685,6 +23081,8 @@ public enum Interpreter
            */
           public static final int SHELL_VALUE = 2;
           /**
+           *
+           *
            * 
            * Indicates that the script runs with PowerShell.
            * 
@@ -19693,7 +23091,6 @@ public enum Interpreter */ public static final int POWERSHELL_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -19718,11 +23115,16 @@ public static Interpreter valueOf(int value) { */ public static Interpreter forNumber(int value) { switch (value) { - case 0: return INTERPRETER_UNSPECIFIED; - case 1: return NONE; - case 2: return SHELL; - case 3: return POWERSHELL; - default: return null; + case 0: + return INTERPRETER_UNSPECIFIED; + case 1: + return NONE; + case 2: + return SHELL; + case 3: + return POWERSHELL; + default: + return null; } } @@ -19730,29 +23132,31 @@ public static Interpreter forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Interpreter> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Interpreter findValueByNumber(int number) { - return Interpreter.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Interpreter findValueByNumber(int number) { + return Interpreter.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDescriptor() + .getEnumTypes() + .get(0); } private static final Interpreter[] VALUES = values(); @@ -19761,7 +23165,7 @@ public static Interpreter valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -19780,13 +23184,16 @@ private Interpreter(int value) { private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FILE(1), SCRIPT(2), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -19802,30 +23209,36 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return FILE; - case 2: return SCRIPT; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return FILE; + case 2: + return SCRIPT; + case 0: + return SOURCE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public static final int FILE_FIELD_NUMBER = 1; /** + * + * *
          * A remote or local file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; + * * @return Whether the file field is set. */ @java.lang.Override @@ -19833,21 +23246,26 @@ public boolean hasFile() { return sourceCase_ == 1; } /** + * + * *
          * A remote or local file.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; + * * @return The file. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getFile() { if (sourceCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance(); } /** + * + * *
          * A remote or local file.
          * 
@@ -19857,31 +23275,37 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getFile() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getFileOrBuilder() { if (sourceCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance(); } public static final int SCRIPT_FIELD_NUMBER = 2; /** + * + * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; + * * @return Whether the script field is set. */ public boolean hasScript() { return sourceCase_ == 2; } /** + * + * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; + * * @return The script. */ public java.lang.String getScript() { @@ -19892,8 +23316,7 @@ public java.lang.String getScript() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -19902,24 +23325,25 @@ public java.lang.String getScript() { } } /** + * + * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; + * * @return The bytes for script. */ - public com.google.protobuf.ByteString - getScriptBytes() { + public com.google.protobuf.ByteString getScriptBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -19932,34 +23356,42 @@ public java.lang.String getScript() { public static final int ARGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList args_; /** + * + * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; + * * @return A list containing the args. */ - public com.google.protobuf.ProtocolStringList - getArgsList() { + public com.google.protobuf.ProtocolStringList getArgsList() { return args_; } /** + * + * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; + * * @return The count of args. */ public int getArgsCount() { return args_.size(); } /** + * + * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; + * * @param index The index of the element to return. * @return The args at the given index. */ @@ -19967,49 +23399,71 @@ public java.lang.String getArgs(int index) { return args_.get(index); } /** + * + * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; + * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - public com.google.protobuf.ByteString - getArgsBytes(int index) { + public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); } public static final int INTERPRETER_FIELD_NUMBER = 4; private int interpreter_; /** + * + * *
          * Required. The script interpreter to use.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override public int getInterpreterValue() { + @java.lang.Override + public int getInterpreterValue() { return interpreter_; } /** + * + * *
          * Required. The script interpreter to use.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The interpreter. */ - @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter getInterpreter() { + @java.lang.Override + public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter + getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter result = com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter.valueOf(interpreter_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter result = + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter.valueOf( + interpreter_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter + .UNRECOGNIZED + : result; } public static final int OUTPUT_FILE_PATH_FIELD_NUMBER = 5; private volatile java.lang.Object outputFilePath_; /** + * + * *
          * Only recorded for enforce Exec.
          * Path to an output file (that is created by this Exec) whose
@@ -20020,6 +23474,7 @@ public java.lang.String getArgs(int index) {
          * 
* * string output_file_path = 5; + * * @return The outputFilePath. */ @java.lang.Override @@ -20028,14 +23483,15 @@ public java.lang.String getOutputFilePath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputFilePath_ = s; return s; } } /** + * + * *
          * Only recorded for enforce Exec.
          * Path to an output file (that is created by this Exec) whose
@@ -20046,16 +23502,15 @@ public java.lang.String getOutputFilePath() {
          * 
* * string output_file_path = 5; + * * @return The bytes for outputFilePath. */ @java.lang.Override - public com.google.protobuf.ByteString - getOutputFilePathBytes() { + public com.google.protobuf.ByteString getOutputFilePathBytes() { java.lang.Object ref = outputFilePath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputFilePath_ = b; return b; } else { @@ -20064,6 +23519,7 @@ public java.lang.String getOutputFilePath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -20076,7 +23532,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (sourceCase_ == 1) { output.writeMessage(1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); } @@ -20086,7 +23542,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < args_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, args_.getRaw(i)); } - if (interpreter_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { + if (interpreter_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter + .INTERPRETER_UNSPECIFIED + .getNumber()) { output.writeEnum(4, interpreter_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputFilePath_)) { @@ -20102,8 +23561,9 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); } if (sourceCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_); @@ -20116,9 +23576,11 @@ public int getSerializedSize() { size += dataSize; size += 1 * getArgsList().size(); } - if (interpreter_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, interpreter_); + if (interpreter_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter + .INTERPRETER_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, interpreter_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputFilePath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, outputFilePath_); @@ -20131,27 +23593,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec other = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) obj; - if (!getArgsList() - .equals(other.getArgsList())) return false; + if (!getArgsList().equals(other.getArgsList())) return false; if (interpreter_ != other.interpreter_) return false; - if (!getOutputFilePath() - .equals(other.getOutputFilePath())) return false; + if (!getOutputFilePath().equals(other.getOutputFilePath())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 1: - if (!getFile() - .equals(other.getFile())) return false; + if (!getFile().equals(other.getFile())) return false; break; case 2: - if (!getScript() - .equals(other.getScript())) return false; + if (!getScript().equals(other.getScript())) return false; break; case 0: default: @@ -20193,87 +23652,97 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec 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.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec 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.osconfig.v1.OSPolicy.Resource.ExecResource.Exec + 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.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -20283,44 +23752,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * A file or script to execute.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder.class); } - // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -20336,19 +23810,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec build() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec result = buildPartial(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -20357,7 +23834,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec build() @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec result = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec(this); int from_bitField0_ = bitField0_; if (sourceCase_ == 1) { if (fileBuilder_ == null) { @@ -20385,46 +23863,53 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec)other); + return mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec other) { - if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec other) { + if (other + == com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec + .getDefaultInstance()) return this; if (!other.args_.isEmpty()) { if (args_.isEmpty()) { args_ = other.args_; @@ -20443,19 +23928,22 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecReso onChanged(); } switch (other.getSourceCase()) { - case FILE: { - mergeFile(other.getFile()); - break; - } - case SCRIPT: { - sourceCase_ = 2; - source_ = other.source_; - onChanged(); - break; - } - case SOURCE_NOT_SET: { - break; - } + case FILE: + { + mergeFile(other.getFile()); + break; + } + case SCRIPT: + { + sourceCase_ = 2; + source_ = other.source_; + onChanged(); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -20476,7 +23964,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -20485,12 +23975,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -20503,13 +23993,19 @@ public Builder clearSource() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> fileBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> + fileBuilder_; /** + * + * *
            * A remote or local file.
            * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; + * * @return Whether the file field is set. */ @java.lang.Override @@ -20517,11 +24013,14 @@ public boolean hasFile() { return sourceCase_ == 1; } /** + * + * *
            * A remote or local file.
            * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; + * * @return The file. */ @java.lang.Override @@ -20539,6 +24038,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getFile() { } } /** + * + * *
            * A remote or local file.
            * 
@@ -20559,6 +24060,8 @@ public Builder setFile(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value return this; } /** + * + * *
            * A remote or local file.
            * 
@@ -20577,6 +24080,8 @@ public Builder setFile( return this; } /** + * + * *
            * A remote or local file.
            * 
@@ -20585,10 +24090,14 @@ public Builder setFile( */ public Builder mergeFile(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value) { if (fileBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance()) { - source_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance()) { + source_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -20604,6 +24113,8 @@ public Builder mergeFile(com.google.cloud.osconfig.v1.OSPolicy.Resource.File val return this; } /** + * + * *
            * A remote or local file.
            * 
@@ -20627,6 +24138,8 @@ public Builder clearFile() { return this; } /** + * + * *
            * A remote or local file.
            * 
@@ -20637,6 +24150,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder getFileBuilde return getFileFieldBuilder().getBuilder(); } /** + * + * *
            * A remote or local file.
            * 
@@ -20655,6 +24170,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getFileOrBui } } /** + * + * *
            * A remote or local file.
            * 
@@ -20662,31 +24179,40 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getFileOrBui * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> getFileFieldBuilder() { if (fileBuilder_ == null) { if (!(sourceCase_ == 1)) { source_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance(); } - fileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( + fileBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return fileBuilder_; } /** + * + * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; + * * @return Whether the script field is set. */ @java.lang.Override @@ -20694,12 +24220,15 @@ public boolean hasScript() { return sourceCase_ == 2; } /** + * + * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; + * * @return The script. */ @java.lang.Override @@ -20709,8 +24238,7 @@ public java.lang.String getScript() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -20721,25 +24249,26 @@ public java.lang.String getScript() { } } /** + * + * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; + * * @return The bytes for script. */ @java.lang.Override - public com.google.protobuf.ByteString - getScriptBytes() { + public com.google.protobuf.ByteString getScriptBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -20749,32 +24278,37 @@ public java.lang.String getScript() { } } /** + * + * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; + * * @param value The script to set. * @return This builder for chaining. */ - public Builder setScript( - java.lang.String value) { + public Builder setScript(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceCase_ = 2; + throw new NullPointerException(); + } + sourceCase_ = 2; source_ = value; onChanged(); return this; } /** + * + * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; + * * @return This builder for chaining. */ public Builder clearScript() { @@ -20786,63 +24320,75 @@ public Builder clearScript() { return this; } /** + * + * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; + * * @param value The bytes for script to set. * @return This builder for chaining. */ - public Builder setScriptBytes( - com.google.protobuf.ByteString value) { + public Builder setScriptBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); sourceCase_ = 2; source_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList args_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList args_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureArgsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(args_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; + * * @return A list containing the args. */ - public com.google.protobuf.ProtocolStringList - getArgsList() { + public com.google.protobuf.ProtocolStringList getArgsList() { return args_.getUnmodifiableView(); } /** + * + * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; + * * @return The count of args. */ public int getArgsCount() { return args_.size(); } /** + * + * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; + * * @param index The index of the element to return. * @return The args at the given index. */ @@ -20850,80 +24396,90 @@ public java.lang.String getArgs(int index) { return args_.get(index); } /** + * + * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; + * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - public com.google.protobuf.ByteString - getArgsBytes(int index) { + public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); } /** + * + * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; + * * @param index The index to set the value at. * @param value The args to set. * @return This builder for chaining. */ - public Builder setArgs( - int index, java.lang.String value) { + public Builder setArgs(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); + throw new NullPointerException(); + } + ensureArgsIsMutable(); args_.set(index, value); onChanged(); return this; } /** + * + * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; + * * @param value The args to add. * @return This builder for chaining. */ - public Builder addArgs( - java.lang.String value) { + public Builder addArgs(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); + throw new NullPointerException(); + } + ensureArgsIsMutable(); args_.add(value); onChanged(); return this; } /** + * + * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; + * * @param values The args to add. * @return This builder for chaining. */ - public Builder addAllArgs( - java.lang.Iterable values) { + public Builder addAllArgs(java.lang.Iterable values) { ensureArgsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, args_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, args_); onChanged(); return this; } /** + * + * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; + * * @return This builder for chaining. */ public Builder clearArgs() { @@ -20933,20 +24489,22 @@ public Builder clearArgs() { return this; } /** + * + * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; + * * @param value The bytes of the args to add. * @return This builder for chaining. */ - public Builder addArgsBytes( - com.google.protobuf.ByteString value) { + public Builder addArgsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureArgsIsMutable(); args_.add(value); onChanged(); @@ -20955,73 +24513,106 @@ public Builder addArgsBytes( private int interpreter_ = 0; /** + * + * *
            * Required. The script interpreter to use.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override public int getInterpreterValue() { + @java.lang.Override + public int getInterpreterValue() { return interpreter_; } /** + * + * *
            * Required. The script interpreter to use.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for interpreter to set. * @return This builder for chaining. */ public Builder setInterpreterValue(int value) { - + interpreter_ = value; onChanged(); return this; } /** + * + * *
            * Required. The script interpreter to use.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The interpreter. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter getInterpreter() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter + getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter result = com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter.valueOf(interpreter_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter result = + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter + .valueOf(interpreter_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter + .UNRECOGNIZED + : result; } /** + * + * *
            * Required. The script interpreter to use.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The interpreter to set. * @return This builder for chaining. */ - public Builder setInterpreter(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter value) { + public Builder setInterpreter( + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter value) { if (value == null) { throw new NullPointerException(); } - + interpreter_ = value.getNumber(); onChanged(); return this; } /** + * + * *
            * Required. The script interpreter to use.
            * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearInterpreter() { - + interpreter_ = 0; onChanged(); return this; @@ -21029,6 +24620,8 @@ public Builder clearInterpreter() { private java.lang.Object outputFilePath_ = ""; /** + * + * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -21039,13 +24632,13 @@ public Builder clearInterpreter() {
            * 
* * string output_file_path = 5; + * * @return The outputFilePath. */ public java.lang.String getOutputFilePath() { java.lang.Object ref = outputFilePath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputFilePath_ = s; return s; @@ -21054,6 +24647,8 @@ public java.lang.String getOutputFilePath() { } } /** + * + * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -21064,15 +24659,14 @@ public java.lang.String getOutputFilePath() {
            * 
* * string output_file_path = 5; + * * @return The bytes for outputFilePath. */ - public com.google.protobuf.ByteString - getOutputFilePathBytes() { + public com.google.protobuf.ByteString getOutputFilePathBytes() { java.lang.Object ref = outputFilePath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputFilePath_ = b; return b; } else { @@ -21080,6 +24674,8 @@ public java.lang.String getOutputFilePath() { } } /** + * + * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -21090,20 +24686,22 @@ public java.lang.String getOutputFilePath() {
            * 
* * string output_file_path = 5; + * * @param value The outputFilePath to set. * @return This builder for chaining. */ - public Builder setOutputFilePath( - java.lang.String value) { + public Builder setOutputFilePath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputFilePath_ = value; onChanged(); return this; } /** + * + * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -21114,15 +24712,18 @@ public Builder setOutputFilePath(
            * 
* * string output_file_path = 5; + * * @return This builder for chaining. */ public Builder clearOutputFilePath() { - + outputFilePath_ = getDefaultInstance().getOutputFilePath(); onChanged(); return this; } /** + * + * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -21133,20 +24734,21 @@ public Builder clearOutputFilePath() {
            * 
* * string output_file_path = 5; + * * @param value The bytes for outputFilePath to set. * @return This builder for chaining. */ - public Builder setOutputFilePathBytes( - com.google.protobuf.ByteString value) { + public Builder setOutputFilePathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputFilePath_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -21159,30 +24761,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Exec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Exec(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Exec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Exec(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -21194,15 +24798,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int VALIDATE_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate_; /** + * + * *
        * Required. What to run to validate this resource is in the desired
        * state. An exit code of 100 indicates "in desired state", and exit code
@@ -21210,7 +24816,10 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getDefau
        * a failure running validate.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the validate field is set. */ @java.lang.Override @@ -21218,6 +24827,8 @@ public boolean hasValidate() { return validate_ != null; } /** + * + * *
        * Required. What to run to validate this resource is in the desired
        * state. An exit code of 100 indicates "in desired state", and exit code
@@ -21225,14 +24836,21 @@ public boolean hasValidate() {
        * a failure running validate.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The validate. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getValidate() { - return validate_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : validate_; + return validate_ == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() + : validate_; } /** + * + * *
        * Required. What to run to validate this resource is in the desired
        * state. An exit code of 100 indicates "in desired state", and exit code
@@ -21240,16 +24858,21 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getValid
        * a failure running validate.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder getValidateOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder + getValidateOrBuilder() { return getValidate(); } public static final int ENFORCE_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce_; /** + * + * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
@@ -21257,6 +24880,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * * @return Whether the enforce field is set. */ @java.lang.Override @@ -21264,6 +24888,8 @@ public boolean hasEnforce() { return enforce_ != null; } /** + * + * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
@@ -21271,13 +24897,18 @@ public boolean hasEnforce() {
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * * @return The enforce. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getEnforce() { - return enforce_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : enforce_; + return enforce_ == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() + : enforce_; } /** + * + * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
@@ -21287,11 +24918,13 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getEnfor
        * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder getEnforceOrBuilder() {
+      public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder
+          getEnforceOrBuilder() {
         return getEnforce();
       }
 
       private byte memoizedIsInitialized = -1;
+
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -21303,8 +24936,7 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public void writeTo(com.google.protobuf.CodedOutputStream output)
-                          throws java.io.IOException {
+      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
         if (validate_ != null) {
           output.writeMessage(1, getValidate());
         }
@@ -21321,12 +24953,10 @@ public int getSerializedSize() {
 
         size = 0;
         if (validate_ != null) {
-          size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(1, getValidate());
+          size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getValidate());
         }
         if (enforce_ != null) {
-          size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(2, getEnforce());
+          size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEnforce());
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -21336,22 +24966,21 @@ public int getSerializedSize() {
       @java.lang.Override
       public boolean equals(final java.lang.Object obj) {
         if (obj == this) {
-         return true;
+          return true;
         }
         if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource)) {
           return super.equals(obj);
         }
-        com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) obj;
+        com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource other =
+            (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) obj;
 
         if (hasValidate() != other.hasValidate()) return false;
         if (hasValidate()) {
-          if (!getValidate()
-              .equals(other.getValidate())) return false;
+          if (!getValidate().equals(other.getValidate())) return false;
         }
         if (hasEnforce() != other.hasEnforce()) return false;
         if (hasEnforce()) {
-          if (!getEnforce()
-              .equals(other.getEnforce())) return false;
+          if (!getEnforce().equals(other.getEnforce())) return false;
         }
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
@@ -21378,87 +25007,94 @@ public int hashCode() {
       }
 
       public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(
-          java.nio.ByteBuffer data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+          java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
+
       public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(
-          java.nio.ByteBuffer data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
+
       public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
+
       public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource 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.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(byte[] data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(
+          byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
+
       public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(
-          byte[] data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-      public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+
+      public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(
+          java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
+
       public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(
-          java.io.InputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+            PARSER, input, extensionRegistry);
       }
-      public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseDelimitedFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseDelimitedWithIOException(PARSER, input);
+
+      public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseDelimitedFrom(
+          java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
       }
+
       public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseDelimitedFrom(
-          java.io.InputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+            PARSER, input, extensionRegistry);
       }
+
       public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(
-          com.google.protobuf.CodedInputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+          com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
+
       public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+            PARSER, input, extensionRegistry);
       }
 
       @java.lang.Override
-      public Builder newBuilderForType() { return newBuilder(); }
+      public Builder newBuilderForType() {
+        return newBuilder();
+      }
+
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
-      public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource prototype) {
+
+      public static Builder newBuilder(
+          com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
+
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE
-            ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -21468,6 +25104,8 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
+       *
+       *
        * 
        * A resource that allows executing scripts on the VM.
        * The `ExecResource` has 2 stages: `validate` and `enforce` and both stages
@@ -21495,21 +25133,24 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource)
           com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1.OsPolicyProto
+              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_fieldAccessorTable
+          return com.google.cloud.osconfig.v1.OsPolicyProto
+              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder.class);
+                  com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.class,
+                  com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder.class);
         }
 
         // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.newBuilder()
@@ -21517,16 +25158,15 @@ private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
-          }
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -21546,13 +25186,14 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.cloud.osconfig.v1.OsPolicyProto
+              .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource getDefaultInstanceForType() {
+        public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource
+            getDefaultInstanceForType() {
           return com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.getDefaultInstance();
         }
 
@@ -21567,7 +25208,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource build() {
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource buildPartial() {
-          com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource(this);
+          com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource result =
+              new com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource(this);
           if (validateBuilder_ == null) {
             result.validate_ = validate_;
           } else {
@@ -21586,46 +25228,52 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource buildPartial(
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1.OSPolicy.Resource.ExecResource) {
-            return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource)other);
+            return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource other) {
-          if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.getDefaultInstance()) return this;
+        public Builder mergeFrom(
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource other) {
+          if (other
+              == com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.getDefaultInstance())
+            return this;
           if (other.hasValidate()) {
             mergeValidate(other.getValidate());
           }
@@ -21651,7 +25299,9 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource)
+                    e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -21663,8 +25313,13 @@ public Builder mergeFrom(
 
         private com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate_;
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder> validateBuilder_;
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec,
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder,
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder>
+            validateBuilder_;
         /**
+         *
+         *
          * 
          * Required. What to run to validate this resource is in the desired
          * state. An exit code of 100 indicates "in desired state", and exit code
@@ -21672,13 +25327,18 @@ public Builder mergeFrom(
          * a failure running validate.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the validate field is set. */ public boolean hasValidate() { return validateBuilder_ != null || validate_ != null; } /** + * + * *
          * Required. What to run to validate this resource is in the desired
          * state. An exit code of 100 indicates "in desired state", and exit code
@@ -21686,17 +25346,25 @@ public boolean hasValidate() {
          * a failure running validate.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The validate. */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getValidate() { if (validateBuilder_ == null) { - return validate_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : validate_; + return validate_ == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec + .getDefaultInstance() + : validate_; } else { return validateBuilder_.getMessage(); } } /** + * + * *
          * Required. What to run to validate this resource is in the desired
          * state. An exit code of 100 indicates "in desired state", and exit code
@@ -21704,9 +25372,12 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getValid
          * a failure running validate.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setValidate(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec value) { + public Builder setValidate( + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec value) { if (validateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -21720,6 +25391,8 @@ public Builder setValidate(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecRe return this; } /** + * + * *
          * Required. What to run to validate this resource is in the desired
          * state. An exit code of 100 indicates "in desired state", and exit code
@@ -21727,10 +25400,13 @@ public Builder setValidate(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecRe
          * a failure running validate.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setValidate( - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder + builderForValue) { if (validateBuilder_ == null) { validate_ = builderForValue.build(); onChanged(); @@ -21741,6 +25417,8 @@ public Builder setValidate( return this; } /** + * + * *
          * Required. What to run to validate this resource is in the desired
          * state. An exit code of 100 indicates "in desired state", and exit code
@@ -21748,13 +25426,19 @@ public Builder setValidate(
          * a failure running validate.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeValidate(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec value) { + public Builder mergeValidate( + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec value) { if (validateBuilder_ == null) { if (validate_ != null) { validate_ = - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.newBuilder(validate_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.newBuilder( + validate_) + .mergeFrom(value) + .buildPartial(); } else { validate_ = value; } @@ -21766,6 +25450,8 @@ public Builder mergeValidate(com.google.cloud.osconfig.v1.OSPolicy.Resource.Exec return this; } /** + * + * *
          * Required. What to run to validate this resource is in the desired
          * state. An exit code of 100 indicates "in desired state", and exit code
@@ -21773,7 +25459,9 @@ public Builder mergeValidate(com.google.cloud.osconfig.v1.OSPolicy.Resource.Exec
          * a failure running validate.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearValidate() { if (validateBuilder_ == null) { @@ -21787,6 +25475,8 @@ public Builder clearValidate() { return this; } /** + * + * *
          * Required. What to run to validate this resource is in the desired
          * state. An exit code of 100 indicates "in desired state", and exit code
@@ -21794,14 +25484,19 @@ public Builder clearValidate() {
          * a failure running validate.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder getValidateBuilder() { - + public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder + getValidateBuilder() { + onChanged(); return getValidateFieldBuilder().getBuilder(); } /** + * + * *
          * Required. What to run to validate this resource is in the desired
          * state. An exit code of 100 indicates "in desired state", and exit code
@@ -21809,17 +25504,24 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder
          * a failure running validate.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder getValidateOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder + getValidateOrBuilder() { if (validateBuilder_ != null) { return validateBuilder_.getMessageOrBuilder(); } else { - return validate_ == null ? - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : validate_; + return validate_ == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec + .getDefaultInstance() + : validate_; } } /** + * + * *
          * Required. What to run to validate this resource is in the desired
          * state. An exit code of 100 indicates "in desired state", and exit code
@@ -21827,17 +25529,22 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder
          * a failure running validate.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec, + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder> getValidateFieldBuilder() { if (validateBuilder_ == null) { - validateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder>( - getValidate(), - getParentForChildren(), - isClean()); + validateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec, + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder>( + getValidate(), getParentForChildren(), isClean()); validate_ = null; } return validateBuilder_; @@ -21845,8 +25552,13 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder private com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder> enforceBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec, + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder> + enforceBuilder_; /** + * + * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
@@ -21854,12 +25566,15 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * * @return Whether the enforce field is set. */ public boolean hasEnforce() { return enforceBuilder_ != null || enforce_ != null; } /** + * + * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
@@ -21867,16 +25582,22 @@ public boolean hasEnforce() {
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * * @return The enforce. */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getEnforce() { if (enforceBuilder_ == null) { - return enforce_ == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : enforce_; + return enforce_ == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec + .getDefaultInstance() + : enforce_; } else { return enforceBuilder_.getMessage(); } } /** + * + * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
@@ -21885,7 +25606,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec getEnfor
          *
          * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2;
          */
-        public Builder setEnforce(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec value) {
+        public Builder setEnforce(
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec value) {
           if (enforceBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -21899,6 +25621,8 @@ public Builder setEnforce(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecRes
           return this;
         }
         /**
+         *
+         *
          * 
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
@@ -21908,7 +25632,8 @@ public Builder setEnforce(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecRes
          * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2;
          */
         public Builder setEnforce(
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder builderForValue) {
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder
+                builderForValue) {
           if (enforceBuilder_ == null) {
             enforce_ = builderForValue.build();
             onChanged();
@@ -21919,6 +25644,8 @@ public Builder setEnforce(
           return this;
         }
         /**
+         *
+         *
          * 
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
@@ -21927,11 +25654,15 @@ public Builder setEnforce(
          *
          * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2;
          */
-        public Builder mergeEnforce(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec value) {
+        public Builder mergeEnforce(
+            com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec value) {
           if (enforceBuilder_ == null) {
             if (enforce_ != null) {
               enforce_ =
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.newBuilder(enforce_).mergeFrom(value).buildPartial();
+                  com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.newBuilder(
+                          enforce_)
+                      .mergeFrom(value)
+                      .buildPartial();
             } else {
               enforce_ = value;
             }
@@ -21943,6 +25674,8 @@ public Builder mergeEnforce(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecR
           return this;
         }
         /**
+         *
+         *
          * 
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
@@ -21963,6 +25696,8 @@ public Builder clearEnforce() {
           return this;
         }
         /**
+         *
+         *
          * 
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
@@ -21971,12 +25706,15 @@ public Builder clearEnforce() {
          *
          * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2;
          */
-        public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder getEnforceBuilder() {
-          
+        public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder
+            getEnforceBuilder() {
+
           onChanged();
           return getEnforceFieldBuilder().getBuilder();
         }
         /**
+         *
+         *
          * 
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
@@ -21985,15 +25723,20 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder
          *
          * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2;
          */
-        public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder getEnforceOrBuilder() {
+        public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder
+            getEnforceOrBuilder() {
           if (enforceBuilder_ != null) {
             return enforceBuilder_.getMessageOrBuilder();
           } else {
-            return enforce_ == null ?
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : enforce_;
+            return enforce_ == null
+                ? com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec
+                    .getDefaultInstance()
+                : enforce_;
           }
         }
         /**
+         *
+         *
          * 
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
@@ -22003,18 +25746,22 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder
          * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder> 
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec,
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder,
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder>
             getEnforceFieldBuilder() {
           if (enforceBuilder_ == null) {
-            enforceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder>(
-                    getEnforce(),
-                    getParentForChildren(),
-                    isClean());
+            enforceBuilder_ =
+                new com.google.protobuf.SingleFieldBuilderV3<
+                    com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec,
+                    com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Builder,
+                    com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecOrBuilder>(
+                    getEnforce(), getParentForChildren(), isClean());
             enforce_ = null;
           }
           return enforceBuilder_;
         }
+
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -22027,30 +25774,32 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
-
         // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource)
       }
 
       // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource)
-      private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource DEFAULT_INSTANCE;
+      private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource
+          DEFAULT_INSTANCE;
+
       static {
         DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource();
       }
 
-      public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource getDefaultInstance() {
+      public static com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource
+          getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser
-          PARSER = new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ExecResource parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new ExecResource(input, extensionRegistry);
-        }
-      };
+      private static final com.google.protobuf.Parser PARSER =
+          new com.google.protobuf.AbstractParser() {
+            @java.lang.Override
+            public ExecResource parsePartialFrom(
+                com.google.protobuf.CodedInputStream input,
+                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return new ExecResource(input, extensionRegistry);
+            }
+          };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -22062,35 +25811,44 @@ public com.google.protobuf.Parser getParserForType() {
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource
+          getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
-
     }
 
-    public interface FileResourceOrBuilder extends
+    public interface FileResourceOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.Resource.FileResource)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * A remote or local source.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; + * * @return Whether the file field is set. */ boolean hasFile(); /** + * + * *
        * A remote or local source.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; + * * @return The file. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.File getFile(); /** + * + * *
        * A remote or local source.
        * 
@@ -22100,77 +25858,102 @@ public interface FileResourceOrBuilder extends com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getFileOrBuilder(); /** + * + * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; + * * @return Whether the content field is set. */ boolean hasContent(); /** + * + * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; + * * @return The content. */ java.lang.String getContent(); /** + * + * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; + * * @return The bytes for content. */ - com.google.protobuf.ByteString - getContentBytes(); + com.google.protobuf.ByteString getContentBytes(); /** + * + * *
        * Required. The absolute path of the file within the VM.
        * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
        * Required. The absolute path of the file within the VM.
        * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); /** + * + * *
        * Required. Desired state of the file.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
        * Required. Desired state of the file.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The state. */ com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState getState(); /** + * + * *
        * Consists of three octal digits which represent, in
        * order, the permissions of the owner, group, and other users for the
@@ -22187,10 +25970,13 @@ public interface FileResourceOrBuilder extends
        * 
* * string permissions = 5; + * * @return The permissions. */ java.lang.String getPermissions(); /** + * + * *
        * Consists of three octal digits which represent, in
        * order, the permissions of the owner, group, and other users for the
@@ -22207,29 +25993,32 @@ public interface FileResourceOrBuilder extends
        * 
* * string permissions = 5; + * * @return The bytes for permissions. */ - com.google.protobuf.ByteString - getPermissionsBytes(); + com.google.protobuf.ByteString getPermissionsBytes(); public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.SourceCase getSourceCase(); } /** + * + * *
      * A resource that manages the state of a file.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.FileResource} */ - public static final class FileResource extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class FileResource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) FileResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FileResource.newBuilder() to construct. private FileResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FileResource() { path_ = ""; state_ = 0; @@ -22238,16 +26027,15 @@ private FileResource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FileResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FileResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -22266,51 +26054,60 @@ private FileResource( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_).toBuilder(); + case 10: + { + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_).toBuilder(); + } + source_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } - source_ = - input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.File.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); - source_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 2; + source_ = s; + break; } - sourceCase_ = 1; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - sourceCase_ = 2; - source_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); + path_ = s; + break; + } + case 32: + { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + state_ = rawValue; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - permissions_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + permissions_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -22318,36 +26115,42 @@ private FileResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder.class); } /** + * + * *
        * Desired state of the file.
        * 
* * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState} */ - public enum DesiredState - implements com.google.protobuf.ProtocolMessageEnum { + public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
          * Unspecified is invalid.
          * 
@@ -22356,6 +26159,8 @@ public enum DesiredState */ DESIRED_STATE_UNSPECIFIED(0), /** + * + * *
          * Ensure file at path is present.
          * 
@@ -22364,6 +26169,8 @@ public enum DesiredState */ PRESENT(1), /** + * + * *
          * Ensure file at path is absent.
          * 
@@ -22372,6 +26179,8 @@ public enum DesiredState */ ABSENT(2), /** + * + * *
          * Ensure the contents of the file at path matches. If the file does
          * not exist it will be created.
@@ -22384,6 +26193,8 @@ public enum DesiredState
         ;
 
         /**
+         *
+         *
          * 
          * Unspecified is invalid.
          * 
@@ -22392,6 +26203,8 @@ public enum DesiredState */ public static final int DESIRED_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
          * Ensure file at path is present.
          * 
@@ -22400,6 +26213,8 @@ public enum DesiredState */ public static final int PRESENT_VALUE = 1; /** + * + * *
          * Ensure file at path is absent.
          * 
@@ -22408,6 +26223,8 @@ public enum DesiredState */ public static final int ABSENT_VALUE = 2; /** + * + * *
          * Ensure the contents of the file at path matches. If the file does
          * not exist it will be created.
@@ -22417,7 +26234,6 @@ public enum DesiredState
          */
         public static final int CONTENTS_MATCH_VALUE = 3;
 
-
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -22442,41 +26258,47 @@ public static DesiredState valueOf(int value) {
          */
         public static DesiredState forNumber(int value) {
           switch (value) {
-            case 0: return DESIRED_STATE_UNSPECIFIED;
-            case 1: return PRESENT;
-            case 2: return ABSENT;
-            case 3: return CONTENTS_MATCH;
-            default: return null;
+            case 0:
+              return DESIRED_STATE_UNSPECIFIED;
+            case 1:
+              return PRESENT;
+            case 2:
+              return ABSENT;
+            case 3:
+              return CONTENTS_MATCH;
+            default:
+              return null;
           }
         }
 
-        public static com.google.protobuf.Internal.EnumLiteMap
-            internalGetValueMap() {
+        public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
           return internalValueMap;
         }
-        private static final com.google.protobuf.Internal.EnumLiteMap<
-            DesiredState> internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public DesiredState findValueByNumber(int number) {
-                  return DesiredState.forNumber(number);
-                }
-              };
 
-        public final com.google.protobuf.Descriptors.EnumValueDescriptor
-            getValueDescriptor() {
+        private static final com.google.protobuf.Internal.EnumLiteMap
+            internalValueMap =
+                new com.google.protobuf.Internal.EnumLiteMap() {
+                  public DesiredState findValueByNumber(int number) {
+                    return DesiredState.forNumber(number);
+                  }
+                };
+
+        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalStateException(
                 "Can't get the descriptor of an unrecognized enum value.");
           }
           return getDescriptor().getValues().get(ordinal());
         }
-        public final com.google.protobuf.Descriptors.EnumDescriptor
-            getDescriptorForType() {
+
+        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
           return getDescriptor();
         }
-        public static final com.google.protobuf.Descriptors.EnumDescriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDescriptor().getEnumTypes().get(0);
+
+        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDescriptor()
+              .getEnumTypes()
+              .get(0);
         }
 
         private static final DesiredState[] VALUES = values();
@@ -22485,7 +26307,7 @@ public static DesiredState valueOf(
             com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
           if (desc.getType() != getDescriptor()) {
             throw new java.lang.IllegalArgumentException(
-              "EnumValueDescriptor is not for this type.");
+                "EnumValueDescriptor is not for this type.");
           }
           if (desc.getIndex() == -1) {
             return UNRECOGNIZED;
@@ -22504,13 +26326,16 @@ private DesiredState(int value) {
 
       private int sourceCase_ = 0;
       private java.lang.Object source_;
+
       public enum SourceCase
-          implements com.google.protobuf.Internal.EnumLite,
+          implements
+              com.google.protobuf.Internal.EnumLite,
               com.google.protobuf.AbstractMessage.InternalOneOfEnum {
         FILE(1),
         CONTENT(2),
         SOURCE_NOT_SET(0);
         private final int value;
+
         private SourceCase(int value) {
           this.value = value;
         }
@@ -22526,30 +26351,36 @@ public static SourceCase valueOf(int value) {
 
         public static SourceCase forNumber(int value) {
           switch (value) {
-            case 1: return FILE;
-            case 2: return CONTENT;
-            case 0: return SOURCE_NOT_SET;
-            default: return null;
+            case 1:
+              return FILE;
+            case 2:
+              return CONTENT;
+            case 0:
+              return SOURCE_NOT_SET;
+            default:
+              return null;
           }
         }
+
         public int getNumber() {
           return this.value;
         }
       };
 
-      public SourceCase
-      getSourceCase() {
-        return SourceCase.forNumber(
-            sourceCase_);
+      public SourceCase getSourceCase() {
+        return SourceCase.forNumber(sourceCase_);
       }
 
       public static final int FILE_FIELD_NUMBER = 1;
       /**
+       *
+       *
        * 
        * A remote or local source.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; + * * @return Whether the file field is set. */ @java.lang.Override @@ -22557,21 +26388,26 @@ public boolean hasFile() { return sourceCase_ == 1; } /** + * + * *
        * A remote or local source.
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; + * * @return The file. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getFile() { if (sourceCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance(); } /** + * + * *
        * A remote or local source.
        * 
@@ -22581,31 +26417,37 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getFile() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getFileOrBuilder() { if (sourceCase_ == 1) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance(); } public static final int CONTENT_FIELD_NUMBER = 2; /** + * + * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; + * * @return Whether the content field is set. */ public boolean hasContent() { return sourceCase_ == 2; } /** + * + * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; + * * @return The content. */ public java.lang.String getContent() { @@ -22616,8 +26458,7 @@ public java.lang.String getContent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -22626,24 +26467,25 @@ public java.lang.String getContent() { } } /** + * + * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; + * * @return The bytes for content. */ - public com.google.protobuf.ByteString - getContentBytes() { + public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -22656,11 +26498,14 @@ public java.lang.String getContent() { public static final int PATH_FIELD_NUMBER = 3; private volatile java.lang.Object path_; /** + * + * *
        * Required. The absolute path of the file within the VM.
        * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ @java.lang.Override @@ -22669,29 +26514,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
        * Required. The absolute path of the file within the VM.
        * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -22702,33 +26547,51 @@ public java.lang.String getPath() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** + * + * *
        * Required. Desired state of the file.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * Required. Desired state of the file.
        * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState getState() { + @java.lang.Override + public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState result = com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState result = + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState.valueOf( + state_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState.UNRECOGNIZED + : result; } public static final int PERMISSIONS_FIELD_NUMBER = 5; private volatile java.lang.Object permissions_; /** + * + * *
        * Consists of three octal digits which represent, in
        * order, the permissions of the owner, group, and other users for the
@@ -22745,6 +26608,7 @@ public java.lang.String getPath() {
        * 
* * string permissions = 5; + * * @return The permissions. */ @java.lang.Override @@ -22753,14 +26617,15 @@ public java.lang.String getPermissions() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); permissions_ = s; return s; } } /** + * + * *
        * Consists of three octal digits which represent, in
        * order, the permissions of the owner, group, and other users for the
@@ -22777,16 +26642,15 @@ public java.lang.String getPermissions() {
        * 
* * string permissions = 5; + * * @return The bytes for permissions. */ @java.lang.Override - public com.google.protobuf.ByteString - getPermissionsBytes() { + public com.google.protobuf.ByteString getPermissionsBytes() { java.lang.Object ref = permissions_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); permissions_ = b; return b; } else { @@ -22795,6 +26659,7 @@ public java.lang.String getPermissions() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -22806,8 +26671,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (sourceCase_ == 1) { output.writeMessage(1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); } @@ -22817,7 +26681,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, path_); } - if (state_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState + .DESIRED_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(permissions_)) { @@ -22833,8 +26700,9 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_); } if (sourceCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_); @@ -22842,9 +26710,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, path_); } - if (state_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, state_); + if (state_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState + .DESIRED_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(permissions_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, permissions_); @@ -22857,27 +26727,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource other = (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource other = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) obj; - if (!getPath() - .equals(other.getPath())) return false; + if (!getPath().equals(other.getPath())) return false; if (state_ != other.state_) return false; - if (!getPermissions() - .equals(other.getPermissions())) return false; + if (!getPermissions().equals(other.getPermissions())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 1: - if (!getFile() - .equals(other.getFile())) return false; + if (!getFile().equals(other.getFile())) return false; break; case 2: - if (!getContent() - .equals(other.getContent())) return false; + if (!getContent().equals(other.getContent())) return false; break; case 0: default: @@ -22917,87 +26784,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource 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.osconfig.v1.OSPolicy.Resource.FileResource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -23007,27 +26881,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A resource that manages the state of a file.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource.FileResource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.class, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder.class); } // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.newBuilder() @@ -23035,16 +26914,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -23060,13 +26938,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDefaultInstance(); } @@ -23081,7 +26960,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource build() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource result = new com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource(this); + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource result = + new com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource(this); if (sourceCase_ == 1) { if (fileBuilder_ == null) { result.source_ = source_; @@ -23104,46 +26984,52 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy.Resource.FileResource) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource)other); + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource other) { - if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource other) { + if (other + == com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDefaultInstance()) + return this; if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); @@ -23156,19 +27042,22 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource.FileReso onChanged(); } switch (other.getSourceCase()) { - case FILE: { - mergeFile(other.getFile()); - break; - } - case CONTENT: { - sourceCase_ = 2; - source_ = other.source_; - onChanged(); - break; - } - case SOURCE_NOT_SET: { - break; - } + case FILE: + { + mergeFile(other.getFile()); + break; + } + case CONTENT: + { + sourceCase_ = 2; + source_ = other.source_; + onChanged(); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -23189,7 +27078,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -23198,12 +27089,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -23213,15 +27104,20 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> fileBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> + fileBuilder_; /** + * + * *
          * A remote or local source.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; + * * @return Whether the file field is set. */ @java.lang.Override @@ -23229,11 +27125,14 @@ public boolean hasFile() { return sourceCase_ == 1; } /** + * + * *
          * A remote or local source.
          * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; + * * @return The file. */ @java.lang.Override @@ -23251,6 +27150,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File getFile() { } } /** + * + * *
          * A remote or local source.
          * 
@@ -23271,6 +27172,8 @@ public Builder setFile(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value return this; } /** + * + * *
          * A remote or local source.
          * 
@@ -23289,6 +27192,8 @@ public Builder setFile( return this; } /** + * + * *
          * A remote or local source.
          * 
@@ -23297,10 +27202,14 @@ public Builder setFile( */ public Builder mergeFile(com.google.cloud.osconfig.v1.OSPolicy.Resource.File value) { if (fileBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance()) { - source_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance()) { + source_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.newBuilder( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -23316,6 +27225,8 @@ public Builder mergeFile(com.google.cloud.osconfig.v1.OSPolicy.Resource.File val return this; } /** + * + * *
          * A remote or local source.
          * 
@@ -23339,6 +27250,8 @@ public Builder clearFile() { return this; } /** + * + * *
          * A remote or local source.
          * 
@@ -23349,6 +27262,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder getFileBuilde return getFileFieldBuilder().getBuilder(); } /** + * + * *
          * A remote or local source.
          * 
@@ -23367,6 +27282,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getFileOrBui } } /** + * + * *
          * A remote or local source.
          * 
@@ -23374,31 +27291,40 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder getFileOrBui * .google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder> getFileFieldBuilder() { if (fileBuilder_ == null) { if (!(sourceCase_ == 1)) { source_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.File.getDefaultInstance(); } - fileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.File, com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( + fileBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileOrBuilder>( (com.google.cloud.osconfig.v1.OSPolicy.Resource.File) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return fileBuilder_; } /** + * + * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; + * * @return Whether the content field is set. */ @java.lang.Override @@ -23406,12 +27332,15 @@ public boolean hasContent() { return sourceCase_ == 2; } /** + * + * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; + * * @return The content. */ @java.lang.Override @@ -23421,8 +27350,7 @@ public java.lang.String getContent() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -23433,25 +27361,26 @@ public java.lang.String getContent() { } } /** + * + * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; + * * @return The bytes for content. */ @java.lang.Override - public com.google.protobuf.ByteString - getContentBytes() { + public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -23461,32 +27390,37 @@ public java.lang.String getContent() { } } /** + * + * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; + * * @param value The content to set. * @return This builder for chaining. */ - public Builder setContent( - java.lang.String value) { + public Builder setContent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceCase_ = 2; + throw new NullPointerException(); + } + sourceCase_ = 2; source_ = value; onChanged(); return this; } /** + * + * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; + * * @return This builder for chaining. */ public Builder clearContent() { @@ -23498,21 +27432,23 @@ public Builder clearContent() { return this; } /** + * + * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; + * * @param value The bytes for content to set. * @return This builder for chaining. */ - public Builder setContentBytes( - com.google.protobuf.ByteString value) { + public Builder setContentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); sourceCase_ = 2; source_ = value; onChanged(); @@ -23521,18 +27457,20 @@ public Builder setContentBytes( private java.lang.Object path_ = ""; /** + * + * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -23541,20 +27479,21 @@ public java.lang.String getPath() { } } /** + * + * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -23562,54 +27501,61 @@ public java.lang.String getPath() { } } /** + * + * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -23617,73 +27563,105 @@ public Builder setPathBytes( private int state_ = 0; /** + * + * *
          * Required. Desired state of the file.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
          * Required. Desired state of the file.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
          * Required. Desired state of the file.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState result = com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState result = + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState.valueOf( + state_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState + .UNRECOGNIZED + : result; } /** + * + * *
          * Required. Desired state of the file.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState value) { + public Builder setState( + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
          * Required. Desired state of the file.
          * 
* - * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -23691,6 +27669,8 @@ public Builder clearState() { private java.lang.Object permissions_ = ""; /** + * + * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -23707,13 +27687,13 @@ public Builder clearState() {
          * 
* * string permissions = 5; + * * @return The permissions. */ public java.lang.String getPermissions() { java.lang.Object ref = permissions_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); permissions_ = s; return s; @@ -23722,6 +27702,8 @@ public java.lang.String getPermissions() { } } /** + * + * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -23738,15 +27720,14 @@ public java.lang.String getPermissions() {
          * 
* * string permissions = 5; + * * @return The bytes for permissions. */ - public com.google.protobuf.ByteString - getPermissionsBytes() { + public com.google.protobuf.ByteString getPermissionsBytes() { java.lang.Object ref = permissions_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); permissions_ = b; return b; } else { @@ -23754,6 +27735,8 @@ public java.lang.String getPermissions() { } } /** + * + * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -23770,20 +27753,22 @@ public java.lang.String getPermissions() {
          * 
* * string permissions = 5; + * * @param value The permissions to set. * @return This builder for chaining. */ - public Builder setPermissions( - java.lang.String value) { + public Builder setPermissions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + permissions_ = value; onChanged(); return this; } /** + * + * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -23800,15 +27785,18 @@ public Builder setPermissions(
          * 
* * string permissions = 5; + * * @return This builder for chaining. */ public Builder clearPermissions() { - + permissions_ = getDefaultInstance().getPermissions(); onChanged(); return this; } /** + * + * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -23825,20 +27813,21 @@ public Builder clearPermissions() {
          * 
* * string permissions = 5; + * * @param value The bytes for permissions to set. * @return This builder for chaining. */ - public Builder setPermissionsBytes( - com.google.protobuf.ByteString value) { + public Builder setPermissionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + permissions_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -23851,30 +27840,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) - private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource(); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FileResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FileResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FileResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FileResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -23886,16 +27877,18 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int resourceTypeCase_ = 0; private java.lang.Object resourceType_; + public enum ResourceTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PKG(2), REPOSITORY(3), @@ -23903,6 +27896,7 @@ public enum ResourceTypeCase FILE(5), RESOURCETYPE_NOT_SET(0); private final int value; + private ResourceTypeCase(int value) { this.value = value; } @@ -23918,28 +27912,35 @@ public static ResourceTypeCase valueOf(int value) { public static ResourceTypeCase forNumber(int value) { switch (value) { - case 2: return PKG; - case 3: return REPOSITORY; - case 4: return EXEC; - case 5: return FILE; - case 0: return RESOURCETYPE_NOT_SET; - default: return null; + case 2: + return PKG; + case 3: + return REPOSITORY; + case 4: + return EXEC; + case 5: + return FILE; + case 0: + return RESOURCETYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ResourceTypeCase - getResourceTypeCase() { - return ResourceTypeCase.forNumber( - resourceTypeCase_); + public ResourceTypeCase getResourceTypeCase() { + return ResourceTypeCase.forNumber(resourceTypeCase_); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** + * + * *
      * Required. The id of the resource with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -23950,6 +27951,7 @@ public int getNumber() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ @java.lang.Override @@ -23958,14 +27960,15 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
      * Required. The id of the resource with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -23976,16 +27979,15 @@ public java.lang.String getId() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -23995,11 +27997,14 @@ public java.lang.String getId() { public static final int PKG_FIELD_NUMBER = 2; /** + * + * *
      * Package resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; + * * @return Whether the pkg field is set. */ @java.lang.Override @@ -24007,21 +28012,26 @@ public boolean hasPkg() { return resourceTypeCase_ == 2; } /** + * + * *
      * Package resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; + * * @return The pkg. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource getPkg() { if (resourceTypeCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance(); } /** + * + * *
      * Package resource
      * 
@@ -24029,20 +28039,24 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource getPkg() { * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder getPkgOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder + getPkgOrBuilder() { if (resourceTypeCase_ == 2) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance(); } public static final int REPOSITORY_FIELD_NUMBER = 3; /** + * + * *
      * Package repository resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; + * * @return Whether the repository field is set. */ @java.lang.Override @@ -24050,21 +28064,26 @@ public boolean hasRepository() { return resourceTypeCase_ == 3; } /** + * + * *
      * Package repository resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; + * * @return The repository. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource getRepository() { if (resourceTypeCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); } /** + * + * *
      * Package repository resource
      * 
@@ -24072,20 +28091,24 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource getRepo * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder getRepositoryOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder + getRepositoryOrBuilder() { if (resourceTypeCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); } public static final int EXEC_FIELD_NUMBER = 4; /** + * + * *
      * Exec resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource exec = 4; + * * @return Whether the exec field is set. */ @java.lang.Override @@ -24093,21 +28116,26 @@ public boolean hasExec() { return resourceTypeCase_ == 4; } /** + * + * *
      * Exec resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource exec = 4; + * * @return The exec. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource getExec() { if (resourceTypeCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.getDefaultInstance(); } /** + * + * *
      * Exec resource
      * 
@@ -24117,18 +28145,21 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource getExec() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder getExecOrBuilder() { if (resourceTypeCase_ == 4) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.getDefaultInstance(); } public static final int FILE_FIELD_NUMBER = 5; /** + * + * *
      * File resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource file = 5; + * * @return Whether the file field is set. */ @java.lang.Override @@ -24136,21 +28167,26 @@ public boolean hasFile() { return resourceTypeCase_ == 5; } /** + * + * *
      * File resource
      * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource file = 5; + * * @return The file. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource getFile() { if (resourceTypeCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDefaultInstance(); } /** + * + * *
      * File resource
      * 
@@ -24160,12 +28196,13 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource getFile() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder getFileOrBuilder() { if (resourceTypeCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_; } return com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -24177,22 +28214,25 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (resourceTypeCase_ == 2) { - output.writeMessage(2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_); + output.writeMessage( + 2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_); } if (resourceTypeCase_ == 3) { - output.writeMessage(3, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_); + output.writeMessage( + 3, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_); } if (resourceTypeCase_ == 4) { - output.writeMessage(4, (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_); + output.writeMessage( + 4, (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_); } if (resourceTypeCase_ == 5) { - output.writeMessage(5, (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_); + output.writeMessage( + 5, (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_); } unknownFields.writeTo(output); } @@ -24207,20 +28247,25 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (resourceTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_); } if (resourceTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_); } if (resourceTypeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_); } if (resourceTypeCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -24230,32 +28275,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.Resource)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.Resource other = (com.google.cloud.osconfig.v1.OSPolicy.Resource) obj; + com.google.cloud.osconfig.v1.OSPolicy.Resource other = + (com.google.cloud.osconfig.v1.OSPolicy.Resource) obj; - if (!getId() - .equals(other.getId())) return false; + if (!getId().equals(other.getId())) return false; if (!getResourceTypeCase().equals(other.getResourceTypeCase())) return false; switch (resourceTypeCase_) { case 2: - if (!getPkg() - .equals(other.getPkg())) return false; + if (!getPkg().equals(other.getPkg())) return false; break; case 3: - if (!getRepository() - .equals(other.getRepository())) return false; + if (!getRepository().equals(other.getRepository())) return false; break; case 4: - if (!getExec() - .equals(other.getExec())) return false; + if (!getExec().equals(other.getExec())) return false; break; case 5: - if (!getFile() - .equals(other.getFile())) return false; + if (!getFile().equals(other.getFile())) return false; break; case 0: default: @@ -24298,88 +28339,94 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource 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.osconfig.v1.OSPolicy.Resource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.Resource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -24389,6 +28436,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An OS policy resource is used to define the desired state configuration
      * and provides a specific functionality like installing/removing packages,
@@ -24399,21 +28448,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.Resource}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.Resource)
         com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.OsPolicyProto
+            .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.OsPolicyProto
+            .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.OSPolicy.Resource.class, com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder.class);
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.class,
+                com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.OSPolicy.Resource.newBuilder()
@@ -24421,16 +28473,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -24442,9 +28493,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.OsPolicyProto
+            .internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor;
       }
 
       @java.lang.Override
@@ -24463,7 +28514,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.OSPolicy.Resource buildPartial() {
-        com.google.cloud.osconfig.v1.OSPolicy.Resource result = new com.google.cloud.osconfig.v1.OSPolicy.Resource(this);
+        com.google.cloud.osconfig.v1.OSPolicy.Resource result =
+            new com.google.cloud.osconfig.v1.OSPolicy.Resource(this);
         result.id_ = id_;
         if (resourceTypeCase_ == 2) {
           if (pkgBuilder_ == null) {
@@ -24502,38 +28554,41 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.OSPolicy.Resource) {
-          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.Resource) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -24541,31 +28596,37 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.Resource other) {
-        if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1.OSPolicy.Resource.getDefaultInstance())
+          return this;
         if (!other.getId().isEmpty()) {
           id_ = other.id_;
           onChanged();
         }
         switch (other.getResourceTypeCase()) {
-          case PKG: {
-            mergePkg(other.getPkg());
-            break;
-          }
-          case REPOSITORY: {
-            mergeRepository(other.getRepository());
-            break;
-          }
-          case EXEC: {
-            mergeExec(other.getExec());
-            break;
-          }
-          case FILE: {
-            mergeFile(other.getFile());
-            break;
-          }
-          case RESOURCETYPE_NOT_SET: {
-            break;
-          }
+          case PKG:
+            {
+              mergePkg(other.getPkg());
+              break;
+            }
+          case REPOSITORY:
+            {
+              mergeRepository(other.getRepository());
+              break;
+            }
+          case EXEC:
+            {
+              mergeExec(other.getExec());
+              break;
+            }
+          case FILE:
+            {
+              mergeFile(other.getFile());
+              break;
+            }
+          case RESOURCETYPE_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -24595,12 +28656,12 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int resourceTypeCase_ = 0;
       private java.lang.Object resourceType_;
-      public ResourceTypeCase
-          getResourceTypeCase() {
-        return ResourceTypeCase.forNumber(
-            resourceTypeCase_);
+
+      public ResourceTypeCase getResourceTypeCase() {
+        return ResourceTypeCase.forNumber(resourceTypeCase_);
       }
 
       public Builder clearResourceType() {
@@ -24610,9 +28671,10 @@ public Builder clearResourceType() {
         return this;
       }
 
-
       private java.lang.Object id_ = "";
       /**
+       *
+       *
        * 
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -24623,13 +28685,13 @@ public Builder clearResourceType() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -24638,6 +28700,8 @@ public java.lang.String getId() { } } /** + * + * *
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -24648,15 +28712,14 @@ public java.lang.String getId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -24664,6 +28727,8 @@ public java.lang.String getId() { } } /** + * + * *
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -24674,20 +28739,22 @@ public java.lang.String getId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -24698,15 +28765,18 @@ public Builder setId(
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -24717,29 +28787,35 @@ public Builder clearId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder> pkgBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder> + pkgBuilder_; /** + * + * *
        * Package resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; + * * @return Whether the pkg field is set. */ @java.lang.Override @@ -24747,11 +28823,14 @@ public boolean hasPkg() { return resourceTypeCase_ == 2; } /** + * + * *
        * Package resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; + * * @return The pkg. */ @java.lang.Override @@ -24760,15 +28839,19 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource getPkg() { if (resourceTypeCase_ == 2) { return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource + .getDefaultInstance(); } else { if (resourceTypeCase_ == 2) { return pkgBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource + .getDefaultInstance(); } } /** + * + * *
        * Package resource
        * 
@@ -24789,6 +28872,8 @@ public Builder setPkg(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageReso return this; } /** + * + * *
        * Package resource
        * 
@@ -24807,18 +28892,27 @@ public Builder setPkg( return this; } /** + * + * *
        * Package resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; */ - public Builder mergePkg(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource value) { + public Builder mergePkg( + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource value) { if (pkgBuilder_ == null) { - if (resourceTypeCase_ == 2 && - resourceType_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance()) { - resourceType_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_) - .mergeFrom(value).buildPartial(); + if (resourceTypeCase_ == 2 + && resourceType_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource + .getDefaultInstance()) { + resourceType_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.newBuilder( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) + resourceType_) + .mergeFrom(value) + .buildPartial(); } else { resourceType_ = value; } @@ -24834,6 +28928,8 @@ public Builder mergePkg(com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageRe return this; } /** + * + * *
        * Package resource
        * 
@@ -24857,16 +28953,21 @@ public Builder clearPkg() { return this; } /** + * + * *
        * Package resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder getPkgBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder + getPkgBuilder() { return getPkgFieldBuilder().getBuilder(); } /** + * + * *
        * Package resource
        * 
@@ -24874,17 +28975,21 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder ge * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder getPkgOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder + getPkgOrBuilder() { if ((resourceTypeCase_ == 2) && (pkgBuilder_ != null)) { return pkgBuilder_.getMessageOrBuilder(); } else { if (resourceTypeCase_ == 2) { return (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource + .getDefaultInstance(); } } /** + * + * *
        * Package resource
        * 
@@ -24892,32 +28997,45 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder g * .google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource pkg = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder> getPkgFieldBuilder() { if (pkgBuilder_ == null) { if (!(resourceTypeCase_ == 2)) { - resourceType_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance(); - } - pkgBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder>( + resourceType_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.getDefaultInstance(); + } + pkgBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceOrBuilder>( (com.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource) resourceType_, getParentForChildren(), isClean()); resourceType_ = null; } resourceTypeCase_ = 2; - onChanged();; + onChanged(); + ; return pkgBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder> repositoryBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder> + repositoryBuilder_; /** + * + * *
        * Package repository resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; + * * @return Whether the repository field is set. */ @java.lang.Override @@ -24925,35 +29043,44 @@ public boolean hasRepository() { return resourceTypeCase_ == 3; } /** + * + * *
        * Package repository resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; + * * @return The repository. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource getRepository() { if (repositoryBuilder_ == null) { if (resourceTypeCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) + resourceType_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .getDefaultInstance(); } else { if (resourceTypeCase_ == 3) { return repositoryBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .getDefaultInstance(); } } /** + * + * *
        * Package repository resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; */ - public Builder setRepository(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource value) { + public Builder setRepository( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource value) { if (repositoryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -24967,6 +29094,8 @@ public Builder setRepository(com.google.cloud.osconfig.v1.OSPolicy.Resource.Repo return this; } /** + * + * *
        * Package repository resource
        * 
@@ -24974,7 +29103,8 @@ public Builder setRepository(com.google.cloud.osconfig.v1.OSPolicy.Resource.Repo * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; */ public Builder setRepository( - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder builderForValue) { + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder + builderForValue) { if (repositoryBuilder_ == null) { resourceType_ = builderForValue.build(); onChanged(); @@ -24985,18 +29115,27 @@ public Builder setRepository( return this; } /** + * + * *
        * Package repository resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; */ - public Builder mergeRepository(com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource value) { + public Builder mergeRepository( + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource value) { if (repositoryBuilder_ == null) { - if (resourceTypeCase_ == 3 && - resourceType_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.getDefaultInstance()) { - resourceType_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_) - .mergeFrom(value).buildPartial(); + if (resourceTypeCase_ == 3 + && resourceType_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .getDefaultInstance()) { + resourceType_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.newBuilder( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) + resourceType_) + .mergeFrom(value) + .buildPartial(); } else { resourceType_ = value; } @@ -25012,6 +29151,8 @@ public Builder mergeRepository(com.google.cloud.osconfig.v1.OSPolicy.Resource.Re return this; } /** + * + * *
        * Package repository resource
        * 
@@ -25035,16 +29176,21 @@ public Builder clearRepository() { return this; } /** + * + * *
        * Package repository resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder getRepositoryBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder + getRepositoryBuilder() { return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
        * Package repository resource
        * 
@@ -25052,17 +29198,22 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder getRepositoryOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder + getRepositoryOrBuilder() { if ((resourceTypeCase_ == 3) && (repositoryBuilder_ != null)) { return repositoryBuilder_.getMessageOrBuilder(); } else { if (resourceTypeCase_ == 3) { - return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_; + return (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) + resourceType_; } - return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .getDefaultInstance(); } } /** + * + * *
        * Package repository resource
        * 
@@ -25070,32 +29221,46 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilde * .google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource repository = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { if (!(resourceTypeCase_ == 3)) { - resourceType_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); - } - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder>( + resourceType_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource + .getDefaultInstance(); + } + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceOrBuilder>( (com.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource) resourceType_, getParentForChildren(), isClean()); resourceType_ = null; } resourceTypeCase_ = 3; - onChanged();; + onChanged(); + ; return repositoryBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder> execBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource, + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder> + execBuilder_; /** + * + * *
        * Exec resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource exec = 4; + * * @return Whether the exec field is set. */ @java.lang.Override @@ -25103,11 +29268,14 @@ public boolean hasExec() { return resourceTypeCase_ == 4; } /** + * + * *
        * Exec resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource exec = 4; + * * @return The exec. */ @java.lang.Override @@ -25125,6 +29293,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource getExec() { } } /** + * + * *
        * Exec resource
        * 
@@ -25145,6 +29315,8 @@ public Builder setExec(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResour return this; } /** + * + * *
        * Exec resource
        * 
@@ -25163,6 +29335,8 @@ public Builder setExec( return this; } /** + * + * *
        * Exec resource
        * 
@@ -25171,10 +29345,15 @@ public Builder setExec( */ public Builder mergeExec(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource value) { if (execBuilder_ == null) { - if (resourceTypeCase_ == 4 && - resourceType_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.getDefaultInstance()) { - resourceType_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_) - .mergeFrom(value).buildPartial(); + if (resourceTypeCase_ == 4 + && resourceType_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource + .getDefaultInstance()) { + resourceType_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.newBuilder( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_) + .mergeFrom(value) + .buildPartial(); } else { resourceType_ = value; } @@ -25190,6 +29369,8 @@ public Builder mergeExec(com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecReso return this; } /** + * + * *
        * Exec resource
        * 
@@ -25213,6 +29394,8 @@ public Builder clearExec() { return this; } /** + * + * *
        * Exec resource
        * 
@@ -25223,6 +29406,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder getEx return getExecFieldBuilder().getBuilder(); } /** + * + * *
        * Exec resource
        * 
@@ -25230,7 +29415,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder getEx * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource exec = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder getExecOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder + getExecOrBuilder() { if ((resourceTypeCase_ == 4) && (execBuilder_ != null)) { return execBuilder_.getMessageOrBuilder(); } else { @@ -25241,6 +29427,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder getE } } /** + * + * *
        * Exec resource
        * 
@@ -25248,32 +29436,45 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder getE * .google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource exec = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource, + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder> getExecFieldBuilder() { if (execBuilder_ == null) { if (!(resourceTypeCase_ == 4)) { - resourceType_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.getDefaultInstance(); - } - execBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder>( + resourceType_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.getDefaultInstance(); + } + execBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource, + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceOrBuilder>( (com.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource) resourceType_, getParentForChildren(), isClean()); resourceType_ = null; } resourceTypeCase_ = 4; - onChanged();; + onChanged(); + ; return execBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder> fileBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder> + fileBuilder_; /** + * + * *
        * File resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource file = 5; + * * @return Whether the file field is set. */ @java.lang.Override @@ -25281,11 +29482,14 @@ public boolean hasFile() { return resourceTypeCase_ == 5; } /** + * + * *
        * File resource
        * 
* * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource file = 5; + * * @return The file. */ @java.lang.Override @@ -25303,6 +29507,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource getFile() { } } /** + * + * *
        * File resource
        * 
@@ -25323,6 +29529,8 @@ public Builder setFile(com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResour return this; } /** + * + * *
        * File resource
        * 
@@ -25341,6 +29549,8 @@ public Builder setFile( return this; } /** + * + * *
        * File resource
        * 
@@ -25349,10 +29559,15 @@ public Builder setFile( */ public Builder mergeFile(com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource value) { if (fileBuilder_ == null) { - if (resourceTypeCase_ == 5 && - resourceType_ != com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDefaultInstance()) { - resourceType_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.newBuilder((com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_) - .mergeFrom(value).buildPartial(); + if (resourceTypeCase_ == 5 + && resourceType_ + != com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource + .getDefaultInstance()) { + resourceType_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.newBuilder( + (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_) + .mergeFrom(value) + .buildPartial(); } else { resourceType_ = value; } @@ -25368,6 +29583,8 @@ public Builder mergeFile(com.google.cloud.osconfig.v1.OSPolicy.Resource.FileReso return this; } /** + * + * *
        * File resource
        * 
@@ -25391,6 +29608,8 @@ public Builder clearFile() { return this; } /** + * + * *
        * File resource
        * 
@@ -25401,6 +29620,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder getFi return getFileFieldBuilder().getBuilder(); } /** + * + * *
        * File resource
        * 
@@ -25408,7 +29629,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder getFi * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource file = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder getFileOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder + getFileOrBuilder() { if ((resourceTypeCase_ == 5) && (fileBuilder_ != null)) { return fileBuilder_.getMessageOrBuilder(); } else { @@ -25419,6 +29641,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder getF } } /** + * + * *
        * File resource
        * 
@@ -25426,23 +29650,31 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder getF * .google.cloud.osconfig.v1.OSPolicy.Resource.FileResource file = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder> getFileFieldBuilder() { if (fileBuilder_ == null) { if (!(resourceTypeCase_ == 5)) { - resourceType_ = com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDefaultInstance(); - } - fileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder, com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder>( + resourceType_ = + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.getDefaultInstance(); + } + fileBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.Builder, + com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceOrBuilder>( (com.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource) resourceType_, getParentForChildren(), isClean()); resourceType_ = null; } resourceTypeCase_ = 5; - onChanged();; + onChanged(); + ; return fileBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -25455,12 +29687,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.Resource) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.Resource) private static final com.google.cloud.osconfig.v1.OSPolicy.Resource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.Resource(); } @@ -25469,16 +29701,16 @@ public static com.google.cloud.osconfig.v1.OSPolicy.Resource getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Resource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Resource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Resource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Resource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -25493,14 +29725,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.OSPolicy.Resource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ResourceGroupOrBuilder extends + public interface ResourceGroupOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy.ResourceGroup) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -25514,11 +29748,13 @@ public interface ResourceGroupOrBuilder extends
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ - java.util.List - getInventoryFiltersList(); + java.util.List getInventoryFiltersList(); /** + * + * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -25532,10 +29768,13 @@ public interface ResourceGroupOrBuilder extends
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter getInventoryFilters(int index); /** + * + * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -25549,10 +29788,13 @@ public interface ResourceGroupOrBuilder extends
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ int getInventoryFiltersCount(); /** + * + * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -25566,11 +29808,14 @@ public interface ResourceGroupOrBuilder extends
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ - java.util.List + java.util.List getInventoryFiltersOrBuilderList(); /** + * + * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -25584,61 +29829,82 @@ public interface ResourceGroupOrBuilder extends
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder getInventoryFiltersOrBuilder( int index); /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getResourcesList(); + java.util.List getResourcesList(); /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1.OSPolicy.Resource getResources(int index); /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getResourcesCount(); /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getResourcesOrBuilderList(); /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder getResourcesOrBuilder( - int index); + com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder getResourcesOrBuilder(int index); } /** + * + * *
    * Resource groups provide a mechanism to group OS policy resources.
    * Resource groups enable OS policy authors to create a single OS policy
@@ -25650,15 +29916,16 @@ com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder getResourcesOrBuilder(
    *
    * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.ResourceGroup}
    */
-  public static final class ResourceGroup extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ResourceGroup extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicy.ResourceGroup)
       ResourceGroupOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ResourceGroup.newBuilder() to construct.
     private ResourceGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ResourceGroup() {
       inventoryFilters_ = java.util.Collections.emptyList();
       resources_ = java.util.Collections.emptyList();
@@ -25666,16 +29933,15 @@ private ResourceGroup() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ResourceGroup();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private ResourceGroup(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -25695,31 +29961,40 @@ private ResourceGroup(
             case 0:
               done = true;
               break;
-            case 10: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                inventoryFilters_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 10:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  inventoryFilters_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter>();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                inventoryFilters_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.parser(),
+                        extensionRegistry));
+                break;
               }
-              inventoryFilters_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.parser(), extensionRegistry));
-              break;
-            }
-            case 18: {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                resources_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 18:
+              {
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  resources_ =
+                      new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                resources_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.OSPolicy.Resource.parser(),
+                        extensionRegistry));
+                break;
               }
-              resources_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.Resource.parser(), extensionRegistry));
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -25727,8 +30002,7 @@ private ResourceGroup(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           inventoryFilters_ = java.util.Collections.unmodifiableList(inventoryFilters_);
@@ -25740,22 +30014,27 @@ private ResourceGroup(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.OsPolicyProto
+          .internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.OsPolicyProto
+          .internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.class, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder.class);
+              com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.class,
+              com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder.class);
     }
 
     public static final int INVENTORY_FILTERS_FIELD_NUMBER = 1;
     private java.util.List inventoryFilters_;
     /**
+     *
+     *
      * 
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -25769,13 +30048,17 @@ private ResourceGroup(
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ @java.lang.Override - public java.util.List getInventoryFiltersList() { + public java.util.List + getInventoryFiltersList() { return inventoryFilters_; } /** + * + * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -25789,14 +30072,17 @@ public java.util.List get
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getInventoryFiltersOrBuilderList() { return inventoryFilters_; } /** + * + * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -25810,13 +30096,16 @@ public java.util.List get
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ @java.lang.Override public int getInventoryFiltersCount() { return inventoryFilters_.size(); } /** + * + * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -25830,13 +30119,16 @@ public int getInventoryFiltersCount() {
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter getInventoryFilters(int index) { return inventoryFilters_.get(index); } /** + * + * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -25850,72 +30142,93 @@ public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter getInventoryFilters
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder getInventoryFiltersOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder + getInventoryFiltersOrBuilder(int index) { return inventoryFilters_.get(index); } public static final int RESOURCES_FIELD_NUMBER = 2; private java.util.List resources_; /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getResourcesList() { return resources_; } /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getResourcesOrBuilderList() { return resources_; } /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getResourcesCount() { return resources_.size(); } /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Resource getResources(int index) { return resources_.get(index); } /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder getResourcesOrBuilder( @@ -25924,6 +30237,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder getResourcesOrBui } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -25935,8 +30249,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < inventoryFilters_.size(); i++) { output.writeMessage(1, inventoryFilters_.get(i)); } @@ -25953,12 +30266,11 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < inventoryFilters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, inventoryFilters_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, inventoryFilters_.get(i)); } for (int i = 0; i < resources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, resources_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, resources_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -25968,17 +30280,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup other = (com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup) obj; + com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup other = + (com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup) obj; - if (!getInventoryFiltersList() - .equals(other.getInventoryFiltersList())) return false; - if (!getResourcesList() - .equals(other.getResourcesList())) return false; + if (!getInventoryFiltersList().equals(other.getInventoryFiltersList())) return false; + if (!getResourcesList().equals(other.getResourcesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -26004,87 +30315,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup 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.osconfig.v1.OSPolicy.ResourceGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -26094,6 +30412,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Resource groups provide a mechanism to group OS policy resources.
      * Resource groups enable OS policy authors to create a single OS policy
@@ -26105,21 +30425,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy.ResourceGroup}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy.ResourceGroup)
         com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.OsPolicyProto
+            .internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.OsPolicyProto
+            .internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.class, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder.class);
+                com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.class,
+                com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.newBuilder()
@@ -26127,18 +30450,18 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getInventoryFiltersFieldBuilder();
           getResourcesFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -26158,9 +30481,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.OsPolicyProto
+            .internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor;
       }
 
       @java.lang.Override
@@ -26179,7 +30502,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup buildPartial() {
-        com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup result = new com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup(this);
+        com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup result =
+            new com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup(this);
         int from_bitField0_ = bitField0_;
         if (inventoryFiltersBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -26207,38 +30531,41 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.OSPolicy.ResourceGroup) {
-          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -26246,7 +30573,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup other) {
-        if (other == com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.getDefaultInstance())
+          return this;
         if (inventoryFiltersBuilder_ == null) {
           if (!other.inventoryFilters_.isEmpty()) {
             if (inventoryFilters_.isEmpty()) {
@@ -26265,9 +30593,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup oth
               inventoryFiltersBuilder_ = null;
               inventoryFilters_ = other.inventoryFilters_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              inventoryFiltersBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getInventoryFiltersFieldBuilder() : null;
+              inventoryFiltersBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getInventoryFiltersFieldBuilder()
+                      : null;
             } else {
               inventoryFiltersBuilder_.addAllMessages(other.inventoryFilters_);
             }
@@ -26291,9 +30620,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup oth
               resourcesBuilder_ = null;
               resources_ = other.resources_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              resourcesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getResourcesFieldBuilder() : null;
+              resourcesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getResourcesFieldBuilder()
+                      : null;
             } else {
               resourcesBuilder_.addAllMessages(other.resources_);
             }
@@ -26318,7 +30648,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -26327,21 +30658,30 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private java.util.List inventoryFilters_ =
-        java.util.Collections.emptyList();
+      private java.util.List
+          inventoryFilters_ = java.util.Collections.emptyList();
+
       private void ensureInventoryFiltersIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          inventoryFilters_ = new java.util.ArrayList(inventoryFilters_);
+          inventoryFilters_ =
+              new java.util.ArrayList(
+                  inventoryFilters_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder> inventoryFiltersBuilder_;
+              com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter,
+              com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder,
+              com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder>
+          inventoryFiltersBuilder_;
 
       /**
+       *
+       *
        * 
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -26355,9 +30695,11 @@ private void ensureInventoryFiltersIsMutable() {
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ - public java.util.List getInventoryFiltersList() { + public java.util.List + getInventoryFiltersList() { if (inventoryFiltersBuilder_ == null) { return java.util.Collections.unmodifiableList(inventoryFilters_); } else { @@ -26365,6 +30707,8 @@ public java.util.List get } } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -26378,7 +30722,8 @@ public java.util.List get
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ public int getInventoryFiltersCount() { if (inventoryFiltersBuilder_ == null) { @@ -26388,6 +30733,8 @@ public int getInventoryFiltersCount() { } } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -26401,7 +30748,8 @@ public int getInventoryFiltersCount() {
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter getInventoryFilters(int index) { if (inventoryFiltersBuilder_ == null) { @@ -26411,6 +30759,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter getInventoryFilters } } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -26424,7 +30774,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter getInventoryFilters
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ public Builder setInventoryFilters( int index, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter value) { @@ -26441,6 +30792,8 @@ public Builder setInventoryFilters( return this; } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -26454,10 +30807,12 @@ public Builder setInventoryFilters(
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ public Builder setInventoryFilters( - int index, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder builderForValue) { if (inventoryFiltersBuilder_ == null) { ensureInventoryFiltersIsMutable(); inventoryFilters_.set(index, builderForValue.build()); @@ -26468,6 +30823,8 @@ public Builder setInventoryFilters( return this; } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -26481,9 +30838,11 @@ public Builder setInventoryFilters(
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ - public Builder addInventoryFilters(com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter value) { + public Builder addInventoryFilters( + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter value) { if (inventoryFiltersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -26497,6 +30856,8 @@ public Builder addInventoryFilters(com.google.cloud.osconfig.v1.OSPolicy.Invento return this; } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -26510,7 +30871,8 @@ public Builder addInventoryFilters(com.google.cloud.osconfig.v1.OSPolicy.Invento
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ public Builder addInventoryFilters( int index, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter value) { @@ -26527,6 +30889,8 @@ public Builder addInventoryFilters( return this; } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -26540,7 +30904,8 @@ public Builder addInventoryFilters(
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ public Builder addInventoryFilters( com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder builderForValue) { @@ -26554,6 +30919,8 @@ public Builder addInventoryFilters( return this; } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -26567,10 +30934,12 @@ public Builder addInventoryFilters(
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ public Builder addInventoryFilters( - int index, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder builderForValue) { if (inventoryFiltersBuilder_ == null) { ensureInventoryFiltersIsMutable(); inventoryFilters_.add(index, builderForValue.build()); @@ -26581,6 +30950,8 @@ public Builder addInventoryFilters( return this; } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -26594,14 +30965,15 @@ public Builder addInventoryFilters(
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ public Builder addAllInventoryFilters( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (inventoryFiltersBuilder_ == null) { ensureInventoryFiltersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, inventoryFilters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inventoryFilters_); onChanged(); } else { inventoryFiltersBuilder_.addAllMessages(values); @@ -26609,6 +30981,8 @@ public Builder addAllInventoryFilters( return this; } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -26622,7 +30996,8 @@ public Builder addAllInventoryFilters(
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ public Builder clearInventoryFilters() { if (inventoryFiltersBuilder_ == null) { @@ -26635,6 +31010,8 @@ public Builder clearInventoryFilters() { return this; } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -26648,7 +31025,8 @@ public Builder clearInventoryFilters() {
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ public Builder removeInventoryFilters(int index) { if (inventoryFiltersBuilder_ == null) { @@ -26661,6 +31039,8 @@ public Builder removeInventoryFilters(int index) { return this; } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -26674,13 +31054,16 @@ public Builder removeInventoryFilters(int index) {
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ - public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder getInventoryFiltersBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder + getInventoryFiltersBuilder(int index) { return getInventoryFiltersFieldBuilder().getBuilder(index); } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -26694,16 +31077,20 @@ public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder getInventor
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ - public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder getInventoryFiltersOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder + getInventoryFiltersOrBuilder(int index) { if (inventoryFiltersBuilder_ == null) { - return inventoryFilters_.get(index); } else { + return inventoryFilters_.get(index); + } else { return inventoryFiltersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -26717,10 +31104,12 @@ public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder getInvento
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ - public java.util.List - getInventoryFiltersOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder> + getInventoryFiltersOrBuilderList() { if (inventoryFiltersBuilder_ != null) { return inventoryFiltersBuilder_.getMessageOrBuilderList(); } else { @@ -26728,6 +31117,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder getInvento } } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -26741,13 +31132,17 @@ public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder getInvento
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ - public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder addInventoryFiltersBuilder() { - return getInventoryFiltersFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder + addInventoryFiltersBuilder() { + return getInventoryFiltersFieldBuilder() + .addBuilder(com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.getDefaultInstance()); } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -26761,14 +31156,18 @@ public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder addInventor
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ - public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder addInventoryFiltersBuilder( - int index) { - return getInventoryFiltersFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder + addInventoryFiltersBuilder(int index) { + return getInventoryFiltersFieldBuilder() + .addBuilder( + index, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.getDefaultInstance()); } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -26782,18 +31181,25 @@ public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder addInventor
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * repeated .google.cloud.osconfig.v1.OSPolicy.InventoryFilter inventory_filters = 1; + * */ - public java.util.List - getInventoryFiltersBuilderList() { + public java.util.List + getInventoryFiltersBuilderList() { return getInventoryFiltersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter, + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder, + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder> getInventoryFiltersFieldBuilder() { if (inventoryFiltersBuilder_ == null) { - inventoryFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder, com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder>( + inventoryFiltersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter, + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder, + com.google.cloud.osconfig.v1.OSPolicy.InventoryFilterOrBuilder>( inventoryFilters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -26804,24 +31210,33 @@ public com.google.cloud.osconfig.v1.OSPolicy.InventoryFilter.Builder addInventor } private java.util.List resources_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureResourcesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - resources_ = new java.util.ArrayList(resources_); + resources_ = + new java.util.ArrayList(resources_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource, com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder, com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder> resourcesBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.Resource, + com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder, + com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder> + resourcesBuilder_; /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getResourcesList() { if (resourcesBuilder_ == null) { @@ -26831,12 +31246,16 @@ public java.util.List getResourc } } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getResourcesCount() { if (resourcesBuilder_ == null) { @@ -26846,12 +31265,16 @@ public int getResourcesCount() { } } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicy.Resource getResources(int index) { if (resourcesBuilder_ == null) { @@ -26861,15 +31284,18 @@ public com.google.cloud.osconfig.v1.OSPolicy.Resource getResources(int index) { } } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setResources( - int index, com.google.cloud.osconfig.v1.OSPolicy.Resource value) { + public Builder setResources(int index, com.google.cloud.osconfig.v1.OSPolicy.Resource value) { if (resourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -26883,12 +31309,16 @@ public Builder setResources( return this; } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResources( int index, com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder builderForValue) { @@ -26902,12 +31332,16 @@ public Builder setResources( return this; } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addResources(com.google.cloud.osconfig.v1.OSPolicy.Resource value) { if (resourcesBuilder_ == null) { @@ -26923,15 +31357,18 @@ public Builder addResources(com.google.cloud.osconfig.v1.OSPolicy.Resource value return this; } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addResources( - int index, com.google.cloud.osconfig.v1.OSPolicy.Resource value) { + public Builder addResources(int index, com.google.cloud.osconfig.v1.OSPolicy.Resource value) { if (resourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -26945,12 +31382,16 @@ public Builder addResources( return this; } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addResources( com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder builderForValue) { @@ -26964,12 +31405,16 @@ public Builder addResources( return this; } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addResources( int index, com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder builderForValue) { @@ -26983,19 +31428,22 @@ public Builder addResources( return this; } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllResources( java.lang.Iterable values) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, resources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resources_); onChanged(); } else { resourcesBuilder_.addAllMessages(values); @@ -27003,12 +31451,16 @@ public Builder addAllResources( return this; } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearResources() { if (resourcesBuilder_ == null) { @@ -27021,12 +31473,16 @@ public Builder clearResources() { return this; } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeResources(int index) { if (resourcesBuilder_ == null) { @@ -27039,42 +31495,54 @@ public Builder removeResources(int index) { return this; } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder getResourcesBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder getResourcesBuilder(int index) { return getResourcesFieldBuilder().getBuilder(index); } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder getResourcesOrBuilder( int index) { if (resourcesBuilder_ == null) { - return resources_.get(index); } else { + return resources_.get(index); + } else { return resourcesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getResourcesOrBuilderList() { + public java.util.List + getResourcesOrBuilderList() { if (resourcesBuilder_ != null) { return resourcesBuilder_.getMessageOrBuilderList(); } else { @@ -27082,56 +31550,71 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder getResourcesOrBui } } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder addResourcesBuilder() { - return getResourcesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.OSPolicy.Resource.getDefaultInstance()); + return getResourcesFieldBuilder() + .addBuilder(com.google.cloud.osconfig.v1.OSPolicy.Resource.getDefaultInstance()); } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder addResourcesBuilder( - int index) { - return getResourcesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.OSPolicy.Resource.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder addResourcesBuilder(int index) { + return getResourcesFieldBuilder() + .addBuilder(index, com.google.cloud.osconfig.v1.OSPolicy.Resource.getDefaultInstance()); } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getResourcesBuilderList() { + public java.util.List + getResourcesBuilderList() { return getResourcesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource, com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder, com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.Resource, + com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder, + com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder> getResourcesFieldBuilder() { if (resourcesBuilder_ == null) { - resourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.Resource, com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder, com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder>( - resources_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + resourcesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.Resource, + com.google.cloud.osconfig.v1.OSPolicy.Resource.Builder, + com.google.cloud.osconfig.v1.OSPolicy.ResourceOrBuilder>( + resources_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); resources_ = null; } return resourcesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -27144,12 +31627,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy.ResourceGroup) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy.ResourceGroup) private static final com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup(); } @@ -27158,16 +31641,16 @@ public static com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceGroup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceGroup(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResourceGroup(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -27182,12 +31665,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** + * + * *
    * Required. The id of the OS policy with the following restrictions:
    * * Must contain only lowercase letters, numbers, and hyphens.
@@ -27198,6 +31682,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup getDefaultInstanceFor
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ @java.lang.Override @@ -27206,14 +31691,15 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
    * Required. The id of the OS policy with the following restrictions:
    * * Must contain only lowercase letters, numbers, and hyphens.
@@ -27224,16 +31710,15 @@ public java.lang.String getId() {
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -27244,12 +31729,15 @@ public java.lang.String getId() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * Policy description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -27258,30 +31746,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Policy description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -27292,33 +31780,48 @@ public java.lang.String getDescription() { public static final int MODE_FIELD_NUMBER = 3; private int mode_; /** + * + * *
    * Required. Policy mode
    * 
* - * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
    * Required. Policy mode
    * 
* - * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The mode. */ - @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Mode getMode() { + @java.lang.Override + public com.google.cloud.osconfig.v1.OSPolicy.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Mode result = com.google.cloud.osconfig.v1.OSPolicy.Mode.valueOf(mode_); + com.google.cloud.osconfig.v1.OSPolicy.Mode result = + com.google.cloud.osconfig.v1.OSPolicy.Mode.valueOf(mode_); return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Mode.UNRECOGNIZED : result; } public static final int RESOURCE_GROUPS_FIELD_NUMBER = 4; private java.util.List resourceGroups_; /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -27329,13 +31832,18 @@ public java.lang.String getDescription() {
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getResourceGroupsList() { + public java.util.List + getResourceGroupsList() { return resourceGroups_; } /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -27346,14 +31854,18 @@ public java.util.List getRe
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getResourceGroupsOrBuilderList() { return resourceGroups_; } /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -27364,13 +31876,17 @@ public java.util.List getRe
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getResourceGroupsCount() { return resourceGroups_.size(); } /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -27381,13 +31897,17 @@ public int getResourceGroupsCount() {
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup getResourceGroups(int index) { return resourceGroups_.get(index); } /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -27398,7 +31918,9 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup getResourceGroups(int
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder getResourceGroupsOrBuilder( @@ -27409,6 +31931,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder getResourceG public static final int ALLOW_NO_RESOURCE_GROUP_MATCH_FIELD_NUMBER = 5; private boolean allowNoResourceGroupMatch_; /** + * + * *
    * This flag determines the OS policy compliance status when none of the
    * resource groups within the policy are applicable for a VM. Set this value
@@ -27417,6 +31941,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder getResourceG
    * 
* * bool allow_no_resource_group_match = 5; + * * @return The allowNoResourceGroupMatch. */ @java.lang.Override @@ -27425,6 +31950,7 @@ public boolean getAllowNoResourceGroupMatch() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -27436,8 +31962,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -27469,16 +31994,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (mode_ != com.google.cloud.osconfig.v1.OSPolicy.Mode.MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, mode_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, mode_); } for (int i = 0; i < resourceGroups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, resourceGroups_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, resourceGroups_.get(i)); } if (allowNoResourceGroupMatch_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, allowNoResourceGroupMatch_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowNoResourceGroupMatch_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -27488,22 +32010,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicy)) { return super.equals(obj); } com.google.cloud.osconfig.v1.OSPolicy other = (com.google.cloud.osconfig.v1.OSPolicy) obj; - if (!getId() - .equals(other.getId())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getId().equals(other.getId())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (mode_ != other.mode_) return false; - if (!getResourceGroupsList() - .equals(other.getResourceGroupsList())) return false; - if (getAllowNoResourceGroupMatch() - != other.getAllowNoResourceGroupMatch()) return false; + if (!getResourceGroupsList().equals(other.getResourceGroupsList())) return false; + if (getAllowNoResourceGroupMatch() != other.getAllowNoResourceGroupMatch()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -27526,125 +32044,132 @@ public int hashCode() { hash = (53 * hash) + getResourceGroupsList().hashCode(); } hash = (37 * hash) + ALLOW_NO_RESOURCE_GROUP_MATCH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowNoResourceGroupMatch()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowNoResourceGroupMatch()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.osconfig.v1.OSPolicy parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1.OSPolicy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicy parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.osconfig.v1.OSPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy 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.osconfig.v1.OSPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An OS policy defines the desired state configuration for a VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicy) com.google.cloud.osconfig.v1.OSPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicy.class, com.google.cloud.osconfig.v1.OSPolicy.Builder.class); + com.google.cloud.osconfig.v1.OSPolicy.class, + com.google.cloud.osconfig.v1.OSPolicy.Builder.class); } // Construct using com.google.cloud.osconfig.v1.OSPolicy.newBuilder() @@ -27652,17 +32177,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getResourceGroupsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -27684,9 +32209,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyProto.internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyProto + .internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor; } @java.lang.Override @@ -27705,7 +32230,8 @@ public com.google.cloud.osconfig.v1.OSPolicy build() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy buildPartial() { - com.google.cloud.osconfig.v1.OSPolicy result = new com.google.cloud.osconfig.v1.OSPolicy(this); + com.google.cloud.osconfig.v1.OSPolicy result = + new com.google.cloud.osconfig.v1.OSPolicy(this); int from_bitField0_ = bitField0_; result.id_ = id_; result.description_ = description_; @@ -27728,38 +32254,39 @@ public com.google.cloud.osconfig.v1.OSPolicy buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicy) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy)other); + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicy) other); } else { super.mergeFrom(other); return this; @@ -27797,9 +32324,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicy other) { resourceGroupsBuilder_ = null; resourceGroups_ = other.resourceGroups_; bitField0_ = (bitField0_ & ~0x00000001); - resourceGroupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getResourceGroupsFieldBuilder() : null; + resourceGroupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getResourceGroupsFieldBuilder() + : null; } else { resourceGroupsBuilder_.addAllMessages(other.resourceGroups_); } @@ -27836,10 +32364,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object id_ = ""; /** + * + * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -27850,13 +32381,13 @@ public Builder mergeFrom(
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -27865,6 +32396,8 @@ public java.lang.String getId() { } } /** + * + * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -27875,15 +32408,14 @@ public java.lang.String getId() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -27891,6 +32423,8 @@ public java.lang.String getId() { } } /** + * + * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -27901,20 +32435,22 @@ public java.lang.String getId() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -27925,15 +32461,18 @@ public Builder setId(
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -27944,16 +32483,16 @@ public Builder clearId() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -27961,19 +32500,21 @@ public Builder setIdBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -27982,21 +32523,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -28004,57 +32546,64 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -28062,51 +32611,73 @@ public Builder setDescriptionBytes( private int mode_ = 0; /** + * + * *
      * Required. Policy mode
      * 
* - * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
      * Required. Policy mode
      * 
* - * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { - + mode_ = value; onChanged(); return this; } /** + * + * *
      * Required. Policy mode
      * 
* - * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The mode. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicy.Mode result = com.google.cloud.osconfig.v1.OSPolicy.Mode.valueOf(mode_); + com.google.cloud.osconfig.v1.OSPolicy.Mode result = + com.google.cloud.osconfig.v1.OSPolicy.Mode.valueOf(mode_); return result == null ? com.google.cloud.osconfig.v1.OSPolicy.Mode.UNRECOGNIZED : result; } /** + * + * *
      * Required. Policy mode
      * 
* - * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The mode to set. * @return This builder for chaining. */ @@ -28114,39 +32685,52 @@ public Builder setMode(com.google.cloud.osconfig.v1.OSPolicy.Mode value) { if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. Policy mode
      * 
* - * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = 0; onChanged(); return this; } private java.util.List resourceGroups_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureResourceGroupsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - resourceGroups_ = new java.util.ArrayList(resourceGroups_); + resourceGroups_ = + new java.util.ArrayList( + resourceGroups_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder> resourceGroupsBuilder_; + com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup, + com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder, + com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder> + resourceGroupsBuilder_; /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -28157,9 +32741,12 @@ private void ensureResourceGroupsIsMutable() {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getResourceGroupsList() { + public java.util.List + getResourceGroupsList() { if (resourceGroupsBuilder_ == null) { return java.util.Collections.unmodifiableList(resourceGroups_); } else { @@ -28167,6 +32754,8 @@ public java.util.List getRe } } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -28177,7 +32766,9 @@ public java.util.List getRe
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getResourceGroupsCount() { if (resourceGroupsBuilder_ == null) { @@ -28187,6 +32778,8 @@ public int getResourceGroupsCount() { } } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -28197,7 +32790,9 @@ public int getResourceGroupsCount() {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup getResourceGroups(int index) { if (resourceGroupsBuilder_ == null) { @@ -28207,6 +32802,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup getResourceGroups(int } } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -28217,7 +32814,9 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup getResourceGroups(int
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResourceGroups( int index, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup value) { @@ -28234,6 +32833,8 @@ public Builder setResourceGroups( return this; } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -28244,7 +32845,9 @@ public Builder setResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResourceGroups( int index, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder builderForValue) { @@ -28258,6 +32861,8 @@ public Builder setResourceGroups( return this; } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -28268,7 +32873,9 @@ public Builder setResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addResourceGroups(com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup value) { if (resourceGroupsBuilder_ == null) { @@ -28284,6 +32891,8 @@ public Builder addResourceGroups(com.google.cloud.osconfig.v1.OSPolicy.ResourceG return this; } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -28294,7 +32903,9 @@ public Builder addResourceGroups(com.google.cloud.osconfig.v1.OSPolicy.ResourceG
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addResourceGroups( int index, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup value) { @@ -28311,6 +32922,8 @@ public Builder addResourceGroups( return this; } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -28321,7 +32934,9 @@ public Builder addResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addResourceGroups( com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder builderForValue) { @@ -28335,6 +32950,8 @@ public Builder addResourceGroups( return this; } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -28345,7 +32962,9 @@ public Builder addResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addResourceGroups( int index, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder builderForValue) { @@ -28359,6 +32978,8 @@ public Builder addResourceGroups( return this; } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -28369,14 +32990,15 @@ public Builder addResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllResourceGroups( java.lang.Iterable values) { if (resourceGroupsBuilder_ == null) { ensureResourceGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, resourceGroups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceGroups_); onChanged(); } else { resourceGroupsBuilder_.addAllMessages(values); @@ -28384,6 +33006,8 @@ public Builder addAllResourceGroups( return this; } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -28394,7 +33018,9 @@ public Builder addAllResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearResourceGroups() { if (resourceGroupsBuilder_ == null) { @@ -28407,6 +33033,8 @@ public Builder clearResourceGroups() { return this; } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -28417,7 +33045,9 @@ public Builder clearResourceGroups() {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeResourceGroups(int index) { if (resourceGroupsBuilder_ == null) { @@ -28430,6 +33060,8 @@ public Builder removeResourceGroups(int index) { return this; } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -28440,13 +33072,17 @@ public Builder removeResourceGroups(int index) {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder getResourceGroupsBuilder( int index) { return getResourceGroupsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -28457,16 +33093,21 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder getResourceGr
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder getResourceGroupsOrBuilder( int index) { if (resourceGroupsBuilder_ == null) { - return resourceGroups_.get(index); } else { + return resourceGroups_.get(index); + } else { return resourceGroupsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -28477,10 +33118,12 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder getResourceG
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getResourceGroupsOrBuilderList() { + public java.util.List + getResourceGroupsOrBuilderList() { if (resourceGroupsBuilder_ != null) { return resourceGroupsBuilder_.getMessageOrBuilderList(); } else { @@ -28488,6 +33131,8 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder getResourceG } } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -28498,13 +33143,17 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder getResourceG
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder addResourceGroupsBuilder() { - return getResourceGroupsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.getDefaultInstance()); + return getResourceGroupsFieldBuilder() + .addBuilder(com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.getDefaultInstance()); } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -28515,14 +33164,19 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder addResourceGr
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder addResourceGroupsBuilder( int index) { - return getResourceGroupsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.getDefaultInstance()); + return getResourceGroupsFieldBuilder() + .addBuilder( + index, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.getDefaultInstance()); } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -28533,18 +33187,26 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder addResourceGr
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getResourceGroupsBuilderList() { + public java.util.List + getResourceGroupsBuilderList() { return getResourceGroupsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup, + com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder, + com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder> getResourceGroupsFieldBuilder() { if (resourceGroupsBuilder_ == null) { - resourceGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder, com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder>( + resourceGroupsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup, + com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder, + com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder>( resourceGroups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -28554,8 +33216,10 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder addResourceGr return resourceGroupsBuilder_; } - private boolean allowNoResourceGroupMatch_ ; + private boolean allowNoResourceGroupMatch_; /** + * + * *
      * This flag determines the OS policy compliance status when none of the
      * resource groups within the policy are applicable for a VM. Set this value
@@ -28564,6 +33228,7 @@ public com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup.Builder addResourceGr
      * 
* * bool allow_no_resource_group_match = 5; + * * @return The allowNoResourceGroupMatch. */ @java.lang.Override @@ -28571,6 +33236,8 @@ public boolean getAllowNoResourceGroupMatch() { return allowNoResourceGroupMatch_; } /** + * + * *
      * This flag determines the OS policy compliance status when none of the
      * resource groups within the policy are applicable for a VM. Set this value
@@ -28579,16 +33246,19 @@ public boolean getAllowNoResourceGroupMatch() {
      * 
* * bool allow_no_resource_group_match = 5; + * * @param value The allowNoResourceGroupMatch to set. * @return This builder for chaining. */ public Builder setAllowNoResourceGroupMatch(boolean value) { - + allowNoResourceGroupMatch_ = value; onChanged(); return this; } /** + * + * *
      * This flag determines the OS policy compliance status when none of the
      * resource groups within the policy are applicable for a VM. Set this value
@@ -28597,17 +33267,18 @@ public Builder setAllowNoResourceGroupMatch(boolean value) {
      * 
* * bool allow_no_resource_group_match = 5; + * * @return This builder for chaining. */ public Builder clearAllowNoResourceGroupMatch() { - + allowNoResourceGroupMatch_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -28617,12 +33288,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicy) private static final com.google.cloud.osconfig.v1.OSPolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicy(); } @@ -28631,16 +33302,16 @@ public static com.google.cloud.osconfig.v1.OSPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -28655,6 +33326,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.OSPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignment.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignment.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignment.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignment.java index 22c2e6af..6ce51ded 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignment.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignment.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * OS policy assignment is an API resource that is used to
  * apply a set of OS policies to a dynamically targeted group of Compute Engine
@@ -18,15 +35,16 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment}
  */
-public final class OSPolicyAssignment extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OSPolicyAssignment extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignment)
     OSPolicyAssignmentOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OSPolicyAssignment.newBuilder() to construct.
   private OSPolicyAssignment(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OSPolicyAssignment() {
     name_ = "";
     description_ = "";
@@ -39,16 +57,15 @@ private OSPolicyAssignment() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OSPolicyAssignment();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OSPolicyAssignment(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -68,112 +85,131 @@ private OSPolicyAssignment(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              osPolicies_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
-            }
-            osPolicies_.add(
-                input.readMessage(com.google.cloud.osconfig.v1.OSPolicy.parser(), extensionRegistry));
-            break;
-          }
-          case 34: {
-            com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder subBuilder = null;
-            if (instanceFilter_ != null) {
-              subBuilder = instanceFilter_.toBuilder();
-            }
-            instanceFilter_ = input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(instanceFilter_);
-              instanceFilter_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 42: {
-            com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder subBuilder = null;
-            if (rollout_ != null) {
-              subBuilder = rollout_.toBuilder();
+              description_ = s;
+              break;
             }
-            rollout_ = input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(rollout_);
-              rollout_ = subBuilder.buildPartial();
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                osPolicies_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              osPolicies_.add(
+                  input.readMessage(
+                      com.google.cloud.osconfig.v1.OSPolicy.parser(), extensionRegistry));
+              break;
             }
+          case 34:
+            {
+              com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder subBuilder =
+                  null;
+              if (instanceFilter_ != null) {
+                subBuilder = instanceFilter_.toBuilder();
+              }
+              instanceFilter_ =
+                  input.readMessage(
+                      com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(instanceFilter_);
+                instanceFilter_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            revisionId_ = s;
-            break;
-          }
-          case 58: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (revisionCreateTime_ != null) {
-              subBuilder = revisionCreateTime_.toBuilder();
-            }
-            revisionCreateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(revisionCreateTime_);
-              revisionCreateTime_ = subBuilder.buildPartial();
+              break;
             }
+          case 42:
+            {
+              com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder subBuilder = null;
+              if (rollout_ != null) {
+                subBuilder = rollout_.toBuilder();
+              }
+              rollout_ =
+                  input.readMessage(
+                      com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rollout_);
+                rollout_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 66: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            etag_ = s;
-            break;
-          }
-          case 72: {
-            int rawValue = input.readEnum();
+              break;
+            }
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            rolloutState_ = rawValue;
-            break;
-          }
-          case 80: {
+              revisionId_ = s;
+              break;
+            }
+          case 58:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (revisionCreateTime_ != null) {
+                subBuilder = revisionCreateTime_.toBuilder();
+              }
+              revisionCreateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(revisionCreateTime_);
+                revisionCreateTime_ = subBuilder.buildPartial();
+              }
 
-            baseline_ = input.readBool();
-            break;
-          }
-          case 88: {
+              break;
+            }
+          case 66:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            deleted_ = input.readBool();
-            break;
-          }
-          case 96: {
+              etag_ = s;
+              break;
+            }
+          case 72:
+            {
+              int rawValue = input.readEnum();
 
-            reconciling_ = input.readBool();
-            break;
-          }
-          case 106: {
-            java.lang.String s = input.readStringRequireUtf8();
+              rolloutState_ = rawValue;
+              break;
+            }
+          case 80:
+            {
+              baseline_ = input.readBool();
+              break;
+            }
+          case 88:
+            {
+              deleted_ = input.readBool();
+              break;
+            }
+          case 96:
+            {
+              reconciling_ = input.readBool();
+              break;
+            }
+          case 106:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            uid_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              uid_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -181,8 +217,7 @@ private OSPolicyAssignment(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         osPolicies_ = java.util.Collections.unmodifiableList(osPolicies_);
@@ -191,29 +226,35 @@ private OSPolicyAssignment(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+        .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+        .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.OSPolicyAssignment.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder.class);
+            com.google.cloud.osconfig.v1.OSPolicyAssignment.class,
+            com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * OS policy assignment rollout state
    * 
* * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState} */ - public enum RolloutState - implements com.google.protobuf.ProtocolMessageEnum { + public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Invalid value
      * 
@@ -222,6 +263,8 @@ public enum RolloutState */ ROLLOUT_STATE_UNSPECIFIED(0), /** + * + * *
      * The rollout is in progress.
      * 
@@ -230,6 +273,8 @@ public enum RolloutState */ IN_PROGRESS(1), /** + * + * *
      * The rollout is being cancelled.
      * 
@@ -238,6 +283,8 @@ public enum RolloutState */ CANCELLING(2), /** + * + * *
      * The rollout is cancelled.
      * 
@@ -246,6 +293,8 @@ public enum RolloutState */ CANCELLED(3), /** + * + * *
      * The rollout has completed successfully.
      * 
@@ -257,6 +306,8 @@ public enum RolloutState ; /** + * + * *
      * Invalid value
      * 
@@ -265,6 +316,8 @@ public enum RolloutState */ public static final int ROLLOUT_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The rollout is in progress.
      * 
@@ -273,6 +326,8 @@ public enum RolloutState */ public static final int IN_PROGRESS_VALUE = 1; /** + * + * *
      * The rollout is being cancelled.
      * 
@@ -281,6 +336,8 @@ public enum RolloutState */ public static final int CANCELLING_VALUE = 2; /** + * + * *
      * The rollout is cancelled.
      * 
@@ -289,6 +346,8 @@ public enum RolloutState */ public static final int CANCELLED_VALUE = 3; /** + * + * *
      * The rollout has completed successfully.
      * 
@@ -297,7 +356,6 @@ public enum RolloutState */ public static final int SUCCEEDED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -322,51 +380,53 @@ public static RolloutState valueOf(int value) { */ public static RolloutState forNumber(int value) { switch (value) { - case 0: return ROLLOUT_STATE_UNSPECIFIED; - case 1: return IN_PROGRESS; - case 2: return CANCELLING; - case 3: return CANCELLED; - case 4: return SUCCEEDED; - default: return null; + case 0: + return ROLLOUT_STATE_UNSPECIFIED; + case 1: + return IN_PROGRESS; + case 2: + return CANCELLING; + case 3: + return CANCELLED; + case 4: + return SUCCEEDED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - RolloutState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RolloutState findValueByNumber(int number) { - return RolloutState.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RolloutState findValueByNumber(int number) { + return RolloutState.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.osconfig.v1.OSPolicyAssignment.getDescriptor().getEnumTypes().get(0); } private static final RolloutState[] VALUES = values(); - public static RolloutState valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RolloutState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -383,11 +443,14 @@ private RolloutState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState) } - public interface LabelSetOrBuilder extends + public interface LabelSetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -398,6 +461,8 @@ public interface LabelSetOrBuilder extends
      */
     int getLabelsCount();
     /**
+     *
+     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -406,15 +471,13 @@ public interface LabelSetOrBuilder extends
      *
      * map<string, string> labels = 1;
      */
-    boolean containsLabels(
-        java.lang.String key);
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    boolean containsLabels(java.lang.String key);
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Deprecated
-    java.util.Map
-    getLabels();
+    java.util.Map getLabels();
     /**
+     *
+     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -423,9 +486,10 @@ boolean containsLabels(
      *
      * map<string, string> labels = 1;
      */
-    java.util.Map
-    getLabelsMap();
+    java.util.Map getLabelsMap();
     /**
+     *
+     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -436,11 +500,13 @@ boolean containsLabels(
      */
 
     /* nullable */
-java.lang.String getLabelsOrDefault(
+    java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue);
+        java.lang.String defaultValue);
     /**
+     *
+     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -449,11 +515,11 @@ java.lang.String getLabelsOrDefault(
      *
      * map<string, string> labels = 1;
      */
-
-    java.lang.String getLabelsOrThrow(
-        java.lang.String key);
+    java.lang.String getLabelsOrThrow(java.lang.String key);
   }
   /**
+   *
+   *
    * 
    * Message representing label set.
    * * A label is a key value pair set for a VM.
@@ -468,30 +534,29 @@ java.lang.String getLabelsOrThrow(
    *
    * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet}
    */
-  public static final class LabelSet extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class LabelSet extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet)
       LabelSetOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use LabelSet.newBuilder() to construct.
     private LabelSet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private LabelSet() {
-    }
+
+    private LabelSet() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new LabelSet();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private LabelSet(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -511,26 +576,28 @@ private LabelSet(
             case 0:
               done = true;
               break;
-            case 10: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                labels_ = com.google.protobuf.MapField.newMapField(
-                    LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
+            case 10:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  labels_ =
+                      com.google.protobuf.MapField.newMapField(
+                          LabelsDefaultEntryHolder.defaultEntry);
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
+                break;
               }
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -538,57 +605,57 @@ private LabelSet(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
     @java.lang.Override
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 1:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder.class);
+              com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.class,
+              com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder.class);
     }
 
     public static final int LABELS_FIELD_NUMBER = 1;
+
     private static final class LabelsDefaultEntryHolder {
-      static final com.google.protobuf.MapEntry<
-          java.lang.String, java.lang.String> defaultEntry =
-              com.google.protobuf.MapEntry
-              .newDefaultInstance(
-                  com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor, 
-                  com.google.protobuf.WireFormat.FieldType.STRING,
-                  "",
-                  com.google.protobuf.WireFormat.FieldType.STRING,
-                  "");
-    }
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> labels_;
-    private com.google.protobuf.MapField
-    internalGetLabels() {
+      static final com.google.protobuf.MapEntry defaultEntry =
+          com.google.protobuf.MapEntry.newDefaultInstance(
+              com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+                  .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor,
+              com.google.protobuf.WireFormat.FieldType.STRING,
+              "",
+              com.google.protobuf.WireFormat.FieldType.STRING,
+              "");
+    }
+
+    private com.google.protobuf.MapField labels_;
+
+    private com.google.protobuf.MapField internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
@@ -597,6 +664,8 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -605,22 +674,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 1;
      */
-
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -630,11 +699,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 1;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -644,16 +714,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 1;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -663,12 +734,11 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 1;
      */
     @java.lang.Override
-
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -676,6 +746,7 @@ public java.lang.String getLabelsOrThrow(
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -687,14 +758,9 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      com.google.protobuf.GeneratedMessageV3
-        .serializeStringMapTo(
-          output,
-          internalGetLabels(),
-          LabelsDefaultEntryHolder.defaultEntry,
-          1);
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+          output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 1);
       unknownFields.writeTo(output);
     }
 
@@ -704,15 +770,15 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      for (java.util.Map.Entry entry
-           : internalGetLabels().getMap().entrySet()) {
-        com.google.protobuf.MapEntry
-        labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
-            .setKey(entry.getKey())
-            .setValue(entry.getValue())
-            .build();
-        size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(1, labels__);
+      for (java.util.Map.Entry entry :
+          internalGetLabels().getMap().entrySet()) {
+        com.google.protobuf.MapEntry labels__ =
+            LabelsDefaultEntryHolder.defaultEntry
+                .newBuilderForType()
+                .setKey(entry.getKey())
+                .setValue(entry.getValue())
+                .build();
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, labels__);
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -722,15 +788,15 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet)) {
         return super.equals(obj);
       }
-      com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet other = (com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet) obj;
+      com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet other =
+          (com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet) obj;
 
-      if (!internalGetLabels().equals(
-          other.internalGetLabels())) return false;
+      if (!internalGetLabels().equals(other.internalGetLabels())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -752,87 +818,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet 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.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -842,6 +915,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Message representing label set.
      * * A label is a key value pair set for a VM.
@@ -856,43 +931,44 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet)
         com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+            .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor;
       }
 
       @SuppressWarnings({"rawtypes"})
-      protected com.google.protobuf.MapField internalGetMapField(
-          int number) {
+      protected com.google.protobuf.MapField internalGetMapField(int number) {
         switch (number) {
           case 1:
             return internalGetLabels();
           default:
-            throw new RuntimeException(
-                "Invalid map field number: " + number);
+            throw new RuntimeException("Invalid map field number: " + number);
         }
       }
+
       @SuppressWarnings({"rawtypes"})
-      protected com.google.protobuf.MapField internalGetMutableMapField(
-          int number) {
+      protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
         switch (number) {
           case 1:
             return internalGetMutableLabels();
           default:
-            throw new RuntimeException(
-                "Invalid map field number: " + number);
+            throw new RuntimeException("Invalid map field number: " + number);
         }
       }
+
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+            .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder.class);
+                com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.class,
+                com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.newBuilder()
@@ -900,16 +976,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -918,9 +993,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+            .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor;
       }
 
       @java.lang.Override
@@ -939,7 +1014,8 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet buildPartial() {
-        com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet result = new com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet(this);
+        com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet result =
+            new com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet(this);
         int from_bitField0_ = bitField0_;
         result.labels_ = internalGetLabels();
         result.labels_.makeImmutable();
@@ -951,38 +1027,41 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.OSPolicyAssignment.LabelSet) {
-          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -990,9 +1069,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet other) {
-        if (other == com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance()) return this;
-        internalGetMutableLabels().mergeFrom(
-            other.internalGetLabels());
+        if (other == com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance())
+          return this;
+        internalGetMutableLabels().mergeFrom(other.internalGetLabels());
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
         return this;
@@ -1012,7 +1091,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1021,24 +1101,24 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private com.google.protobuf.MapField<
-          java.lang.String, java.lang.String> labels_;
-      private com.google.protobuf.MapField
-      internalGetLabels() {
+      private com.google.protobuf.MapField labels_;
+
+      private com.google.protobuf.MapField internalGetLabels() {
         if (labels_ == null) {
-          return com.google.protobuf.MapField.emptyMapField(
-              LabelsDefaultEntryHolder.defaultEntry);
+          return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
         }
         return labels_;
       }
+
       private com.google.protobuf.MapField
-      internalGetMutableLabels() {
-        onChanged();;
+          internalGetMutableLabels() {
+        onChanged();
+        ;
         if (labels_ == null) {
-          labels_ = com.google.protobuf.MapField.newMapField(
-              LabelsDefaultEntryHolder.defaultEntry);
+          labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
         }
         if (!labels_.isMutable()) {
           labels_ = labels_.copy();
@@ -1050,6 +1130,8 @@ public int getLabelsCount() {
         return internalGetLabels().getMap().size();
       }
       /**
+       *
+       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1058,22 +1140,22 @@ public int getLabelsCount() {
        *
        * map<string, string> labels = 1;
        */
-
       @java.lang.Override
-      public boolean containsLabels(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public boolean containsLabels(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         return internalGetLabels().getMap().containsKey(key);
       }
-      /**
-       * Use {@link #getLabelsMap()} instead.
-       */
+      /** Use {@link #getLabelsMap()} instead. */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getLabels() {
         return getLabelsMap();
       }
       /**
+       *
+       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1083,11 +1165,12 @@ public java.util.Map getLabels() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-
       public java.util.Map getLabelsMap() {
         return internalGetLabels().getMap();
       }
       /**
+       *
+       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1097,16 +1180,17 @@ public java.util.Map getLabelsMap() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-
       public java.lang.String getLabelsOrDefault(
-          java.lang.String key,
-          java.lang.String defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetLabels().getMap();
+          java.lang.String key, java.lang.String defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetLabels().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1116,12 +1200,11 @@ public java.lang.String getLabelsOrDefault(
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-
-      public java.lang.String getLabelsOrThrow(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetLabels().getMap();
+      public java.lang.String getLabelsOrThrow(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetLabels().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
@@ -1129,11 +1212,12 @@ public java.lang.String getLabelsOrThrow(
       }
 
       public Builder clearLabels() {
-        internalGetMutableLabels().getMutableMap()
-            .clear();
+        internalGetMutableLabels().getMutableMap().clear();
         return this;
       }
       /**
+       *
+       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1142,23 +1226,21 @@ public Builder clearLabels() {
        *
        * map<string, string> labels = 1;
        */
-
-      public Builder removeLabels(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        internalGetMutableLabels().getMutableMap()
-            .remove(key);
+      public Builder removeLabels(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        internalGetMutableLabels().getMutableMap().remove(key);
         return this;
       }
-      /**
-       * Use alternate mutation accessors instead.
-       */
+      /** Use alternate mutation accessors instead. */
       @java.lang.Deprecated
-      public java.util.Map
-      getMutableLabels() {
+      public java.util.Map getMutableLabels() {
         return internalGetMutableLabels().getMutableMap();
       }
       /**
+       *
+       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1167,19 +1249,20 @@ public Builder removeLabels(
        *
        * map<string, string> labels = 1;
        */
-      public Builder putLabels(
-          java.lang.String key,
-          java.lang.String value) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public Builder putLabels(java.lang.String key, java.lang.String value) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         if (value == null) {
-  throw new NullPointerException("map value");
-}
+          throw new NullPointerException("map value");
+        }
 
-        internalGetMutableLabels().getMutableMap()
-            .put(key, value);
+        internalGetMutableLabels().getMutableMap().put(key, value);
         return this;
       }
       /**
+       *
+       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1188,13 +1271,11 @@ public Builder putLabels(
        *
        * map<string, string> labels = 1;
        */
-
-      public Builder putAllLabels(
-          java.util.Map values) {
-        internalGetMutableLabels().getMutableMap()
-            .putAll(values);
+      public Builder putAllLabels(java.util.Map values) {
+        internalGetMutableLabels().getMutableMap().putAll(values);
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1207,12 +1288,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet)
     private static final com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet();
     }
@@ -1221,16 +1302,16 @@ public static com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getDefaul
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public LabelSet parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new LabelSet(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public LabelSet parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new LabelSet(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1245,187 +1326,245 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface InstanceFilterOrBuilder extends
+  public interface InstanceFilterOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Target all VMs in the project. If true, no other criteria is
      * permitted.
      * 
* * bool all = 1; + * * @return The all. */ boolean getAll(); /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ - java.util.List + java.util.List getInclusionLabelsList(); /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getInclusionLabels(int index); /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ int getInclusionLabelsCount(); /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ - java.util.List + java.util.List getInclusionLabelsOrBuilderList(); /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder getInclusionLabelsOrBuilder( int index); /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ - java.util.List + java.util.List getExclusionLabelsList(); /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getExclusionLabels(int index); /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ int getExclusionLabelsCount(); /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ - java.util.List + java.util.List getExclusionLabelsOrBuilderList(); /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder getExclusionLabelsOrBuilder( int index); /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ - java.util.List + java.util.List getInventoriesList(); /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory getInventories(int index); + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory getInventories( + int index); /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ int getInventoriesCount(); /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> getInventoriesOrBuilderList(); /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder getInventoriesOrBuilder( - int index); + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder + getInventoriesOrBuilder(int index); } /** + * + * *
    * Filters to select target VMs for an assignment.
    * If more than one filter criteria is specified below, a VM will be selected
@@ -1434,15 +1573,16 @@ com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilde
    *
    * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter}
    */
-  public static final class InstanceFilter extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class InstanceFilter extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter)
       InstanceFilterOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use InstanceFilter.newBuilder() to construct.
     private InstanceFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private InstanceFilter() {
       inclusionLabels_ = java.util.Collections.emptyList();
       exclusionLabels_ = java.util.Collections.emptyList();
@@ -1451,16 +1591,15 @@ private InstanceFilter() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new InstanceFilter();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private InstanceFilter(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1480,45 +1619,62 @@ private InstanceFilter(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              all_ = input.readBool();
-              break;
-            }
-            case 18: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                inclusionLabels_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 8:
+              {
+                all_ = input.readBool();
+                break;
               }
-              inclusionLabels_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.parser(), extensionRegistry));
-              break;
-            }
-            case 26: {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                exclusionLabels_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 18:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  inclusionLabels_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet>();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                inclusionLabels_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.parser(),
+                        extensionRegistry));
+                break;
               }
-              exclusionLabels_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.parser(), extensionRegistry));
-              break;
-            }
-            case 34: {
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                inventories_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000004;
+            case 26:
+              {
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  exclusionLabels_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet>();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                exclusionLabels_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.parser(),
+                        extensionRegistry));
+                break;
               }
-              inventories_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.parser(), extensionRegistry));
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 34:
+              {
+                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                  inventories_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter
+                              .Inventory>();
+                  mutable_bitField0_ |= 0x00000004;
+                }
+                inventories_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory
+                            .parser(),
+                        extensionRegistry));
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1526,8 +1682,7 @@ private InstanceFilter(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           inclusionLabels_ = java.util.Collections.unmodifiableList(inclusionLabels_);
@@ -1542,44 +1697,55 @@ private InstanceFilter(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder.class);
+              com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.class,
+              com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder.class);
     }
 
-    public interface InventoryOrBuilder extends
+    public interface InventoryOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The osShortName. */ java.lang.String getOsShortName(); /** + * + * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for osShortName. */ - com.google.protobuf.ByteString - getOsShortNameBytes(); + com.google.protobuf.ByteString getOsShortNameBytes(); /** + * + * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1589,10 +1755,13 @@ public interface InventoryOrBuilder extends
        * 
* * string os_version = 2; + * * @return The osVersion. */ java.lang.String getOsVersion(); /** + * + * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1602,27 +1771,30 @@ public interface InventoryOrBuilder extends
        * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ - com.google.protobuf.ByteString - getOsVersionBytes(); + com.google.protobuf.ByteString getOsVersionBytes(); } /** + * + * *
      * VM inventory details.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory} */ - public static final class Inventory extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Inventory extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) InventoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Inventory.newBuilder() to construct. private Inventory(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Inventory() { osShortName_ = ""; osVersion_ = ""; @@ -1630,16 +1802,15 @@ private Inventory() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Inventory(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Inventory( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1658,25 +1829,27 @@ private Inventory( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - osShortName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + osShortName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - osVersion_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + osVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1684,34 +1857,41 @@ private Inventory( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.class, + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder + .class); } public static final int OS_SHORT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object osShortName_; /** + * + * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The osShortName. */ @java.lang.Override @@ -1720,29 +1900,29 @@ public java.lang.String getOsShortName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; } } /** + * + * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for osShortName. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsShortNameBytes() { + public com.google.protobuf.ByteString getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osShortName_ = b; return b; } else { @@ -1753,6 +1933,8 @@ public java.lang.String getOsShortName() { public static final int OS_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object osVersion_; /** + * + * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1762,6 +1944,7 @@ public java.lang.String getOsShortName() {
        * 
* * string os_version = 2; + * * @return The osVersion. */ @java.lang.Override @@ -1770,14 +1953,15 @@ public java.lang.String getOsVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; } } /** + * + * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1787,16 +1971,15 @@ public java.lang.String getOsVersion() {
        * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsVersionBytes() { + public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osVersion_ = b; return b; } else { @@ -1805,6 +1988,7 @@ public java.lang.String getOsVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1816,8 +2000,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osShortName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osShortName_); } @@ -1847,17 +2030,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory other = (com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) obj; + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory other = + (com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) obj; - if (!getOsShortName() - .equals(other.getOsShortName())) return false; - if (!getOsVersion() - .equals(other.getOsVersion())) return false; + if (!getOsShortName().equals(other.getOsShortName())) return false; + if (!getOsVersion().equals(other.getOsVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1878,88 +2061,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + 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.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + 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.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory 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.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + 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.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory 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.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + 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.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1969,44 +2167,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * VM inventory details.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.class, + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2018,19 +2222,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory build() { - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory result = buildPartial(); + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2038,8 +2245,10 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory buildPartial() { - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory result = new com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory(this); + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + buildPartial() { + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory result = + new com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory(this); result.osShortName_ = osShortName_; result.osVersion_ = osVersion_; onBuilt(); @@ -2050,46 +2259,54 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory)other); + if (other + instanceof com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) { + return mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory other) { - if (other == com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory other) { + if (other + == com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + .getDefaultInstance()) return this; if (!other.getOsShortName().isEmpty()) { osShortName_ = other.osShortName_; onChanged(); @@ -2113,11 +2330,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parsedMessage = null; + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2129,18 +2349,20 @@ public Builder mergeFrom( private java.lang.Object osShortName_ = ""; /** + * + * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The osShortName. */ public java.lang.String getOsShortName() { java.lang.Object ref = osShortName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; @@ -2149,20 +2371,21 @@ public java.lang.String getOsShortName() { } } /** + * + * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for osShortName. */ - public com.google.protobuf.ByteString - getOsShortNameBytes() { + public com.google.protobuf.ByteString getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osShortName_ = b; return b; } else { @@ -2170,54 +2393,61 @@ public java.lang.String getOsShortName() { } } /** + * + * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortName( - java.lang.String value) { + public Builder setOsShortName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osShortName_ = value; onChanged(); return this; } /** + * + * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearOsShortName() { - + osShortName_ = getDefaultInstance().getOsShortName(); onChanged(); return this; } /** + * + * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortNameBytes( - com.google.protobuf.ByteString value) { + public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osShortName_ = value; onChanged(); return this; @@ -2225,6 +2455,8 @@ public Builder setOsShortNameBytes( private java.lang.Object osVersion_ = ""; /** + * + * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2234,13 +2466,13 @@ public Builder setOsShortNameBytes(
          * 
* * string os_version = 2; + * * @return The osVersion. */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; @@ -2249,6 +2481,8 @@ public java.lang.String getOsVersion() { } } /** + * + * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2258,15 +2492,14 @@ public java.lang.String getOsVersion() {
          * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ - public com.google.protobuf.ByteString - getOsVersionBytes() { + public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osVersion_ = b; return b; } else { @@ -2274,6 +2507,8 @@ public java.lang.String getOsVersion() { } } /** + * + * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2283,20 +2518,22 @@ public java.lang.String getOsVersion() {
          * 
* * string os_version = 2; + * * @param value The osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersion( - java.lang.String value) { + public Builder setOsVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osVersion_ = value; onChanged(); return this; } /** + * + * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2306,15 +2543,18 @@ public Builder setOsVersion(
          * 
* * string os_version = 2; + * * @return This builder for chaining. */ public Builder clearOsVersion() { - + osVersion_ = getDefaultInstance().getOsVersion(); onChanged(); return this; } /** + * + * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2324,20 +2564,21 @@ public Builder clearOsVersion() {
          * 
* * string os_version = 2; + * * @param value The bytes for osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setOsVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osVersion_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2350,30 +2591,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory) - private static final com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory(); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Inventory parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Inventory(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Inventory parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Inventory(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2385,21 +2629,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int ALL_FIELD_NUMBER = 1; private boolean all_; /** + * + * *
      * Target all VMs in the project. If true, no other criteria is
      * permitted.
      * 
* * bool all = 1; + * * @return The all. */ @java.lang.Override @@ -2408,216 +2655,278 @@ public boolean getAll() { } public static final int INCLUSION_LABELS_FIELD_NUMBER = 2; - private java.util.List inclusionLabels_; + private java.util.List + inclusionLabels_; /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ @java.lang.Override - public java.util.List getInclusionLabelsList() { + public java.util.List + getInclusionLabelsList() { return inclusionLabels_; } /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> getInclusionLabelsOrBuilderList() { return inclusionLabels_; } /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ @java.lang.Override public int getInclusionLabelsCount() { return inclusionLabels_.size(); } /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getInclusionLabels(int index) { return inclusionLabels_.get(index); } /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder getInclusionLabelsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder + getInclusionLabelsOrBuilder(int index) { return inclusionLabels_.get(index); } public static final int EXCLUSION_LABELS_FIELD_NUMBER = 3; - private java.util.List exclusionLabels_; + private java.util.List + exclusionLabels_; /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ @java.lang.Override - public java.util.List getExclusionLabelsList() { + public java.util.List + getExclusionLabelsList() { return exclusionLabels_; } /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> getExclusionLabelsOrBuilderList() { return exclusionLabels_; } /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ @java.lang.Override public int getExclusionLabelsCount() { return exclusionLabels_.size(); } /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getExclusionLabels(int index) { return exclusionLabels_.get(index); } /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder getExclusionLabelsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder + getExclusionLabelsOrBuilder(int index) { return exclusionLabels_.get(index); } public static final int INVENTORIES_FIELD_NUMBER = 4; - private java.util.List inventories_; + private java.util.List + inventories_; /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ @java.lang.Override - public java.util.List getInventoriesList() { + public java.util.List + getInventoriesList() { return inventories_; } /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> getInventoriesOrBuilderList() { return inventories_; } /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ @java.lang.Override public int getInventoriesCount() { return inventories_.size(); } /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory getInventories(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory getInventories( + int index) { return inventories_.get(index); } /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder getInventoriesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder + getInventoriesOrBuilder(int index) { return inventories_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2629,8 +2938,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (all_ != false) { output.writeBool(1, all_); } @@ -2653,20 +2961,18 @@ public int getSerializedSize() { size = 0; if (all_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, all_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, all_); } for (int i = 0; i < inclusionLabels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, inclusionLabels_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, inclusionLabels_.get(i)); } for (int i = 0; i < exclusionLabels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, exclusionLabels_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, exclusionLabels_.get(i)); } for (int i = 0; i < inventories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, inventories_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, inventories_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2676,21 +2982,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter other = (com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter) obj; + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter other = + (com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter) obj; - if (getAll() - != other.getAll()) return false; - if (!getInclusionLabelsList() - .equals(other.getInclusionLabelsList())) return false; - if (!getExclusionLabelsList() - .equals(other.getExclusionLabelsList())) return false; - if (!getInventoriesList() - .equals(other.getInventoriesList())) return false; + if (getAll() != other.getAll()) return false; + if (!getInclusionLabelsList().equals(other.getInclusionLabelsList())) return false; + if (!getExclusionLabelsList().equals(other.getExclusionLabelsList())) return false; + if (!getInventoriesList().equals(other.getInventoriesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2703,8 +3006,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAll()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAll()); if (getInclusionLabelsCount() > 0) { hash = (37 * hash) + INCLUSION_LABELS_FIELD_NUMBER; hash = (53 * hash) + getInclusionLabelsList().hashCode(); @@ -2723,87 +3025,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter 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.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2813,6 +3122,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Filters to select target VMs for an assignment.
      * If more than one filter criteria is specified below, a VM will be selected
@@ -2821,21 +3132,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter)
         com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+            .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+            .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder.class);
+                com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.class,
+                com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.newBuilder()
@@ -2843,19 +3157,19 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getInclusionLabelsFieldBuilder();
           getExclusionLabelsFieldBuilder();
           getInventoriesFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2883,13 +3197,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+            .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter
+          getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.getDefaultInstance();
       }
 
@@ -2904,7 +3219,8 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter buildPartial() {
-        com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter result = new com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter(this);
+        com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter result =
+            new com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter(this);
         int from_bitField0_ = bitField0_;
         result.all_ = all_;
         if (inclusionLabelsBuilder_ == null) {
@@ -2942,46 +3258,52 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter buildParti
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.OSPolicyAssignment.InstanceFilter) {
-          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter other) {
-        if (other == com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter other) {
+        if (other
+            == com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.getDefaultInstance())
+          return this;
         if (other.getAll() != false) {
           setAll(other.getAll());
         }
@@ -3003,9 +3325,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignment.Instanc
               inclusionLabelsBuilder_ = null;
               inclusionLabels_ = other.inclusionLabels_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              inclusionLabelsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getInclusionLabelsFieldBuilder() : null;
+              inclusionLabelsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getInclusionLabelsFieldBuilder()
+                      : null;
             } else {
               inclusionLabelsBuilder_.addAllMessages(other.inclusionLabels_);
             }
@@ -3029,9 +3352,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignment.Instanc
               exclusionLabelsBuilder_ = null;
               exclusionLabels_ = other.exclusionLabels_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              exclusionLabelsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getExclusionLabelsFieldBuilder() : null;
+              exclusionLabelsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getExclusionLabelsFieldBuilder()
+                      : null;
             } else {
               exclusionLabelsBuilder_.addAllMessages(other.exclusionLabels_);
             }
@@ -3055,9 +3379,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignment.Instanc
               inventoriesBuilder_ = null;
               inventories_ = other.inventories_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              inventoriesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getInventoriesFieldBuilder() : null;
+              inventoriesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getInventoriesFieldBuilder()
+                      : null;
             } else {
               inventoriesBuilder_.addAllMessages(other.inventories_);
             }
@@ -3082,7 +3407,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -3091,16 +3418,20 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private boolean all_ ;
+      private boolean all_;
       /**
+       *
+       *
        * 
        * Target all VMs in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; + * * @return The all. */ @java.lang.Override @@ -3108,59 +3439,75 @@ public boolean getAll() { return all_; } /** + * + * *
        * Target all VMs in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; + * * @param value The all to set. * @return This builder for chaining. */ public Builder setAll(boolean value) { - + all_ = value; onChanged(); return this; } /** + * + * *
        * Target all VMs in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; + * * @return This builder for chaining. */ public Builder clearAll() { - + all_ = false; onChanged(); return this; } - private java.util.List inclusionLabels_ = - java.util.Collections.emptyList(); + private java.util.List + inclusionLabels_ = java.util.Collections.emptyList(); + private void ensureInclusionLabelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - inclusionLabels_ = new java.util.ArrayList(inclusionLabels_); + inclusionLabels_ = + new java.util.ArrayList( + inclusionLabels_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> inclusionLabelsBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> + inclusionLabelsBuilder_; /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ - public java.util.List getInclusionLabelsList() { + public java.util.List + getInclusionLabelsList() { if (inclusionLabelsBuilder_ == null) { return java.util.Collections.unmodifiableList(inclusionLabels_); } else { @@ -3168,13 +3515,16 @@ public java.util.List } } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ public int getInclusionLabelsCount() { if (inclusionLabelsBuilder_ == null) { @@ -3184,15 +3534,19 @@ public int getInclusionLabelsCount() { } } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getInclusionLabels(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getInclusionLabels( + int index) { if (inclusionLabelsBuilder_ == null) { return inclusionLabels_.get(index); } else { @@ -3200,13 +3554,16 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getInclusionLabe } } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ public Builder setInclusionLabels( int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet value) { @@ -3223,16 +3580,20 @@ public Builder setInclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ public Builder setInclusionLabels( - int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { if (inclusionLabelsBuilder_ == null) { ensureInclusionLabelsIsMutable(); inclusionLabels_.set(index, builderForValue.build()); @@ -3243,15 +3604,19 @@ public Builder setInclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ - public Builder addInclusionLabels(com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet value) { + public Builder addInclusionLabels( + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet value) { if (inclusionLabelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3265,13 +3630,16 @@ public Builder addInclusionLabels(com.google.cloud.osconfig.v1.OSPolicyAssignmen return this; } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ public Builder addInclusionLabels( int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet value) { @@ -3288,13 +3656,16 @@ public Builder addInclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ public Builder addInclusionLabels( com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { @@ -3308,16 +3679,20 @@ public Builder addInclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ public Builder addInclusionLabels( - int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { if (inclusionLabelsBuilder_ == null) { ensureInclusionLabelsIsMutable(); inclusionLabels_.add(index, builderForValue.build()); @@ -3328,20 +3703,23 @@ public Builder addInclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ public Builder addAllInclusionLabels( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (inclusionLabelsBuilder_ == null) { ensureInclusionLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, inclusionLabels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inclusionLabels_); onChanged(); } else { inclusionLabelsBuilder_.addAllMessages(values); @@ -3349,13 +3727,16 @@ public Builder addAllInclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ public Builder clearInclusionLabels() { if (inclusionLabelsBuilder_ == null) { @@ -3368,13 +3749,16 @@ public Builder clearInclusionLabels() { return this; } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ public Builder removeInclusionLabels(int index) { if (inclusionLabelsBuilder_ == null) { @@ -3387,45 +3771,56 @@ public Builder removeInclusionLabels(int index) { return this; } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder getInclusionLabelsBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder + getInclusionLabelsBuilder(int index) { return getInclusionLabelsFieldBuilder().getBuilder(index); } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder getInclusionLabelsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder + getInclusionLabelsOrBuilder(int index) { if (inclusionLabelsBuilder_ == null) { - return inclusionLabels_.get(index); } else { + return inclusionLabels_.get(index); + } else { return inclusionLabelsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ - public java.util.List - getInclusionLabelsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> + getInclusionLabelsOrBuilderList() { if (inclusionLabelsBuilder_ != null) { return inclusionLabelsBuilder_.getMessageOrBuilderList(); } else { @@ -3433,51 +3828,70 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder getIncl } } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder addInclusionLabelsBuilder() { - return getInclusionLabelsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder + addInclusionLabelsBuilder() { + return getInclusionLabelsFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance()); } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder addInclusionLabelsBuilder( - int index) { - return getInclusionLabelsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder + addInclusionLabelsBuilder(int index) { + return getInclusionLabelsFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance()); } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2; + * */ - public java.util.List - getInclusionLabelsBuilderList() { + public java.util.List + getInclusionLabelsBuilderList() { return getInclusionLabelsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> getInclusionLabelsFieldBuilder() { if (inclusionLabelsBuilder_ == null) { - inclusionLabelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder>( + inclusionLabelsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder>( inclusionLabels_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3487,28 +3901,38 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder addInclu return inclusionLabelsBuilder_; } - private java.util.List exclusionLabels_ = - java.util.Collections.emptyList(); + private java.util.List + exclusionLabels_ = java.util.Collections.emptyList(); + private void ensureExclusionLabelsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - exclusionLabels_ = new java.util.ArrayList(exclusionLabels_); + exclusionLabels_ = + new java.util.ArrayList( + exclusionLabels_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> exclusionLabelsBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> + exclusionLabelsBuilder_; /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ - public java.util.List getExclusionLabelsList() { + public java.util.List + getExclusionLabelsList() { if (exclusionLabelsBuilder_ == null) { return java.util.Collections.unmodifiableList(exclusionLabels_); } else { @@ -3516,13 +3940,16 @@ public java.util.List } } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ public int getExclusionLabelsCount() { if (exclusionLabelsBuilder_ == null) { @@ -3532,15 +3959,19 @@ public int getExclusionLabelsCount() { } } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getExclusionLabels(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getExclusionLabels( + int index) { if (exclusionLabelsBuilder_ == null) { return exclusionLabels_.get(index); } else { @@ -3548,13 +3979,16 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet getExclusionLabe } } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ public Builder setExclusionLabels( int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet value) { @@ -3571,16 +4005,20 @@ public Builder setExclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ public Builder setExclusionLabels( - int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { if (exclusionLabelsBuilder_ == null) { ensureExclusionLabelsIsMutable(); exclusionLabels_.set(index, builderForValue.build()); @@ -3591,15 +4029,19 @@ public Builder setExclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ - public Builder addExclusionLabels(com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet value) { + public Builder addExclusionLabels( + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet value) { if (exclusionLabelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3613,13 +4055,16 @@ public Builder addExclusionLabels(com.google.cloud.osconfig.v1.OSPolicyAssignmen return this; } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ public Builder addExclusionLabels( int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet value) { @@ -3636,13 +4081,16 @@ public Builder addExclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ public Builder addExclusionLabels( com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { @@ -3656,16 +4104,20 @@ public Builder addExclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ public Builder addExclusionLabels( - int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder builderForValue) { if (exclusionLabelsBuilder_ == null) { ensureExclusionLabelsIsMutable(); exclusionLabels_.add(index, builderForValue.build()); @@ -3676,20 +4128,23 @@ public Builder addExclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ public Builder addAllExclusionLabels( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (exclusionLabelsBuilder_ == null) { ensureExclusionLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, exclusionLabels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusionLabels_); onChanged(); } else { exclusionLabelsBuilder_.addAllMessages(values); @@ -3697,13 +4152,16 @@ public Builder addAllExclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ public Builder clearExclusionLabels() { if (exclusionLabelsBuilder_ == null) { @@ -3716,13 +4174,16 @@ public Builder clearExclusionLabels() { return this; } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ public Builder removeExclusionLabels(int index) { if (exclusionLabelsBuilder_ == null) { @@ -3735,45 +4196,56 @@ public Builder removeExclusionLabels(int index) { return this; } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder getExclusionLabelsBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder + getExclusionLabelsBuilder(int index) { return getExclusionLabelsFieldBuilder().getBuilder(index); } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder getExclusionLabelsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder + getExclusionLabelsOrBuilder(int index) { if (exclusionLabelsBuilder_ == null) { - return exclusionLabels_.get(index); } else { + return exclusionLabels_.get(index); + } else { return exclusionLabelsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ - public java.util.List - getExclusionLabelsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> + getExclusionLabelsOrBuilderList() { if (exclusionLabelsBuilder_ != null) { return exclusionLabelsBuilder_.getMessageOrBuilderList(); } else { @@ -3781,51 +4253,70 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder getExcl } } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder addExclusionLabelsBuilder() { - return getExclusionLabelsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder + addExclusionLabelsBuilder() { + return getExclusionLabelsFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance()); } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder addExclusionLabelsBuilder( - int index) { - return getExclusionLabelsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder + addExclusionLabelsBuilder(int index) { + return getExclusionLabelsFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.getDefaultInstance()); } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3; + * */ - public java.util.List - getExclusionLabelsBuilderList() { + public java.util.List + getExclusionLabelsBuilderList() { return getExclusionLabelsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder> getExclusionLabelsFieldBuilder() { if (exclusionLabelsBuilder_ == null) { - exclusionLabelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder>( + exclusionLabelsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet, + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSetOrBuilder>( exclusionLabels_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -3835,28 +4326,42 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.Builder addExclu return exclusionLabelsBuilder_; } - private java.util.List inventories_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory> + inventories_ = java.util.Collections.emptyList(); + private void ensureInventoriesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - inventories_ = new java.util.ArrayList(inventories_); + inventories_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory>( + inventories_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> inventoriesBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory, + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> + inventoriesBuilder_; /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ - public java.util.List getInventoriesList() { + public java.util.List< + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory> + getInventoriesList() { if (inventoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(inventories_); } else { @@ -3864,13 +4369,17 @@ public java.util.List * List of inventories to select VMs. * A VM is selected if its inventory data matches at least one of the * following inventories. *
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ public int getInventoriesCount() { if (inventoriesBuilder_ == null) { @@ -3880,15 +4389,20 @@ public int getInventoriesCount() { } } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory getInventories(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + getInventories(int index) { if (inventoriesBuilder_ == null) { return inventories_.get(index); } else { @@ -3896,16 +4410,21 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory } } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ public Builder setInventories( - int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory value) { + int index, + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3919,16 +4438,22 @@ public Builder setInventories( return this; } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ public Builder setInventories( - int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder + builderForValue) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); inventories_.set(index, builderForValue.build()); @@ -3939,15 +4464,20 @@ public Builder setInventories( return this; } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ - public Builder addInventories(com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory value) { + public Builder addInventories( + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3961,16 +4491,21 @@ public Builder addInventories(com.google.cloud.osconfig.v1.OSPolicyAssignment.In return this; } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ public Builder addInventories( - int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory value) { + int index, + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3984,16 +4519,21 @@ public Builder addInventories( return this; } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ public Builder addInventories( - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue) { + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder + builderForValue) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); inventories_.add(builderForValue.build()); @@ -4004,16 +4544,22 @@ public Builder addInventories( return this; } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ public Builder addInventories( - int index, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder + builderForValue) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); inventories_.add(index, builderForValue.build()); @@ -4024,20 +4570,26 @@ public Builder addInventories( return this; } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ public Builder addAllInventories( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory> + values) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, inventories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inventories_); onChanged(); } else { inventoriesBuilder_.addAllMessages(values); @@ -4045,13 +4597,17 @@ public Builder addAllInventories( return this; } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ public Builder clearInventories() { if (inventoriesBuilder_ == null) { @@ -4064,13 +4620,17 @@ public Builder clearInventories() { return this; } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ public Builder removeInventories(int index) { if (inventoriesBuilder_ == null) { @@ -4083,45 +4643,60 @@ public Builder removeInventories(int index) { return this; } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder getInventoriesBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder + getInventoriesBuilder(int index) { return getInventoriesFieldBuilder().getBuilder(index); } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder getInventoriesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder + getInventoriesOrBuilder(int index) { if (inventoriesBuilder_ == null) { - return inventories_.get(index); } else { + return inventories_.get(index); + } else { return inventoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ - public java.util.List - getInventoriesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> + getInventoriesOrBuilderList() { if (inventoriesBuilder_ != null) { return inventoriesBuilder_.getMessageOrBuilderList(); } else { @@ -4129,51 +4704,77 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryO } } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder addInventoriesBuilder() { - return getInventoriesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder + addInventoriesBuilder() { + return getInventoriesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + .getDefaultInstance()); } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder addInventoriesBuilder( - int index) { - return getInventoriesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder + addInventoriesBuilder(int index) { + return getInventoriesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory + .getDefaultInstance()); } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4; + * */ - public java.util.List - getInventoriesBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder> + getInventoriesBuilderList() { return getInventoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory, + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> getInventoriesFieldBuilder() { if (inventoriesBuilder_ == null) { - inventoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder>( + inventoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory, + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter + .InventoryOrBuilder>( inventories_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -4182,6 +4783,7 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory. } return inventoriesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4194,30 +4796,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter) - private static final com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter(); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstanceFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstanceFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstanceFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4229,47 +4833,64 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface RolloutOrBuilder extends + public interface RolloutOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignment.Rollout) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt
      * at any given moment.
      * 
* - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the disruptionBudget field is set. */ boolean hasDisruptionBudget(); /** + * + * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt
      * at any given moment.
      * 
* - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The disruptionBudget. */ com.google.cloud.osconfig.v1.Common.FixedOrPercent getDisruptionBudget(); /** + * + * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt
      * at any given moment.
      * 
* - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder(); /** + * + * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -4278,11 +4899,16 @@ public interface RolloutOrBuilder extends
      * applied.
      * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the minWaitDuration field is set. */ boolean hasMinWaitDuration(); /** + * + * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -4291,11 +4917,16 @@ public interface RolloutOrBuilder extends
      * applied.
      * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The minWaitDuration. */ com.google.protobuf.Duration getMinWaitDuration(); /** + * + * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -4304,11 +4935,15 @@ public interface RolloutOrBuilder extends
      * applied.
      * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder(); } /** + * + * *
    * Message to configure the rollout at the zonal level for the OS policy
    * assignment.
@@ -4316,30 +4951,29 @@ public interface RolloutOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment.Rollout}
    */
-  public static final class Rollout extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Rollout extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignment.Rollout)
       RolloutOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Rollout.newBuilder() to construct.
     private Rollout(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private Rollout() {
-    }
+
+    private Rollout() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Rollout();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private Rollout(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4358,39 +4992,45 @@ private Rollout(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder subBuilder = null;
-              if (disruptionBudget_ != null) {
-                subBuilder = disruptionBudget_.toBuilder();
-              }
-              disruptionBudget_ = input.readMessage(com.google.cloud.osconfig.v1.Common.FixedOrPercent.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(disruptionBudget_);
-                disruptionBudget_ = subBuilder.buildPartial();
-              }
+            case 10:
+              {
+                com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder subBuilder = null;
+                if (disruptionBudget_ != null) {
+                  subBuilder = disruptionBudget_.toBuilder();
+                }
+                disruptionBudget_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.Common.FixedOrPercent.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(disruptionBudget_);
+                  disruptionBudget_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 18: {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (minWaitDuration_ != null) {
-                subBuilder = minWaitDuration_.toBuilder();
-              }
-              minWaitDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(minWaitDuration_);
-                minWaitDuration_ = subBuilder.buildPartial();
+                break;
               }
+            case 18:
+              {
+                com.google.protobuf.Duration.Builder subBuilder = null;
+                if (minWaitDuration_ != null) {
+                  subBuilder = minWaitDuration_.toBuilder();
+                }
+                minWaitDuration_ =
+                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(minWaitDuration_);
+                  minWaitDuration_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4398,35 +5038,42 @@ private Rollout(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder.class);
+              com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.class,
+              com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder.class);
     }
 
     public static final int DISRUPTION_BUDGET_FIELD_NUMBER = 1;
     private com.google.cloud.osconfig.v1.Common.FixedOrPercent disruptionBudget_;
     /**
+     *
+     *
      * 
      * Required. The maximum number (or percentage) of VMs per zone to disrupt
      * at any given moment.
      * 
* - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the disruptionBudget field is set. */ @java.lang.Override @@ -4434,34 +5081,48 @@ public boolean hasDisruptionBudget() { return disruptionBudget_ != null; } /** + * + * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt
      * at any given moment.
      * 
* - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The disruptionBudget. */ @java.lang.Override public com.google.cloud.osconfig.v1.Common.FixedOrPercent getDisruptionBudget() { - return disruptionBudget_ == null ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() : disruptionBudget_; + return disruptionBudget_ == null + ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() + : disruptionBudget_; } /** + * + * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt
      * at any given moment.
      * 
* - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder() { + public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder + getDisruptionBudgetOrBuilder() { return getDisruptionBudget(); } public static final int MIN_WAIT_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration minWaitDuration_; /** + * + * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -4470,7 +5131,10 @@ public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder getDisruption
      * applied.
      * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the minWaitDuration field is set. */ @java.lang.Override @@ -4478,6 +5142,8 @@ public boolean hasMinWaitDuration() { return minWaitDuration_ != null; } /** + * + * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -4486,14 +5152,21 @@ public boolean hasMinWaitDuration() {
      * applied.
      * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The minWaitDuration. */ @java.lang.Override public com.google.protobuf.Duration getMinWaitDuration() { - return minWaitDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minWaitDuration_; + return minWaitDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minWaitDuration_; } /** + * + * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -4502,7 +5175,9 @@ public com.google.protobuf.Duration getMinWaitDuration() {
      * applied.
      * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder() { @@ -4510,6 +5185,7 @@ public com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4521,8 +5197,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (disruptionBudget_ != null) { output.writeMessage(1, getDisruptionBudget()); } @@ -4539,12 +5214,10 @@ public int getSerializedSize() { size = 0; if (disruptionBudget_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDisruptionBudget()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDisruptionBudget()); } if (minWaitDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMinWaitDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMinWaitDuration()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4554,22 +5227,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout other = (com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout) obj; + com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout other = + (com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout) obj; if (hasDisruptionBudget() != other.hasDisruptionBudget()) return false; if (hasDisruptionBudget()) { - if (!getDisruptionBudget() - .equals(other.getDisruptionBudget())) return false; + if (!getDisruptionBudget().equals(other.getDisruptionBudget())) return false; } if (hasMinWaitDuration() != other.hasMinWaitDuration()) return false; if (hasMinWaitDuration()) { - if (!getMinWaitDuration() - .equals(other.getMinWaitDuration())) return false; + if (!getMinWaitDuration().equals(other.getMinWaitDuration())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -4596,87 +5268,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout 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.osconfig.v1.OSPolicyAssignment.Rollout parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4686,6 +5365,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Message to configure the rollout at the zonal level for the OS policy
      * assignment.
@@ -4693,21 +5374,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment.Rollout}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignment.Rollout)
         com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+            .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+            .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder.class);
+                com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.class,
+                com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.newBuilder()
@@ -4715,16 +5399,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4744,9 +5427,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+            .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor;
       }
 
       @java.lang.Override
@@ -4765,7 +5448,8 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout buildPartial() {
-        com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout result = new com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout(this);
+        com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout result =
+            new com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout(this);
         if (disruptionBudgetBuilder_ == null) {
           result.disruptionBudget_ = disruptionBudget_;
         } else {
@@ -4784,38 +5468,41 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.OSPolicyAssignment.Rollout) {
-          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -4823,7 +5510,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout other) {
-        if (other == com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.getDefaultInstance())
+          return this;
         if (other.hasDisruptionBudget()) {
           mergeDisruptionBudget(other.getDisruptionBudget());
         }
@@ -4849,7 +5537,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -4861,42 +5550,61 @@ public Builder mergeFrom(
 
       private com.google.cloud.osconfig.v1.Common.FixedOrPercent disruptionBudget_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.Common.FixedOrPercent, com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder, com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder> disruptionBudgetBuilder_;
+              com.google.cloud.osconfig.v1.Common.FixedOrPercent,
+              com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder,
+              com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder>
+          disruptionBudgetBuilder_;
       /**
+       *
+       *
        * 
        * Required. The maximum number (or percentage) of VMs per zone to disrupt
        * at any given moment.
        * 
* - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the disruptionBudget field is set. */ public boolean hasDisruptionBudget() { return disruptionBudgetBuilder_ != null || disruptionBudget_ != null; } /** + * + * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt
        * at any given moment.
        * 
* - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The disruptionBudget. */ public com.google.cloud.osconfig.v1.Common.FixedOrPercent getDisruptionBudget() { if (disruptionBudgetBuilder_ == null) { - return disruptionBudget_ == null ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() : disruptionBudget_; + return disruptionBudget_ == null + ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() + : disruptionBudget_; } else { return disruptionBudgetBuilder_.getMessage(); } } /** + * + * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt
        * at any given moment.
        * 
* - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDisruptionBudget(com.google.cloud.osconfig.v1.Common.FixedOrPercent value) { if (disruptionBudgetBuilder_ == null) { @@ -4912,12 +5620,16 @@ public Builder setDisruptionBudget(com.google.cloud.osconfig.v1.Common.FixedOrPe return this; } /** + * + * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt
        * at any given moment.
        * 
* - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDisruptionBudget( com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder builderForValue) { @@ -4931,18 +5643,25 @@ public Builder setDisruptionBudget( return this; } /** + * + * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt
        * at any given moment.
        * 
* - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeDisruptionBudget(com.google.cloud.osconfig.v1.Common.FixedOrPercent value) { + public Builder mergeDisruptionBudget( + com.google.cloud.osconfig.v1.Common.FixedOrPercent value) { if (disruptionBudgetBuilder_ == null) { if (disruptionBudget_ != null) { disruptionBudget_ = - com.google.cloud.osconfig.v1.Common.FixedOrPercent.newBuilder(disruptionBudget_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.Common.FixedOrPercent.newBuilder(disruptionBudget_) + .mergeFrom(value) + .buildPartial(); } else { disruptionBudget_ = value; } @@ -4954,12 +5673,16 @@ public Builder mergeDisruptionBudget(com.google.cloud.osconfig.v1.Common.FixedOr return this; } /** + * + * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt
        * at any given moment.
        * 
* - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDisruptionBudget() { if (disruptionBudgetBuilder_ == null) { @@ -4973,51 +5696,69 @@ public Builder clearDisruptionBudget() { return this; } /** + * + * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt
        * at any given moment.
        * 
* - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder getDisruptionBudgetBuilder() { - + public com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder + getDisruptionBudgetBuilder() { + onChanged(); return getDisruptionBudgetFieldBuilder().getBuilder(); } /** + * + * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt
        * at any given moment.
        * 
* - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder() { + public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder + getDisruptionBudgetOrBuilder() { if (disruptionBudgetBuilder_ != null) { return disruptionBudgetBuilder_.getMessageOrBuilder(); } else { - return disruptionBudget_ == null ? - com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() : disruptionBudget_; + return disruptionBudget_ == null + ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() + : disruptionBudget_; } } /** + * + * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt
        * at any given moment.
        * 
* - * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Common.FixedOrPercent, com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder, com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder> + com.google.cloud.osconfig.v1.Common.FixedOrPercent, + com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder, + com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder> getDisruptionBudgetFieldBuilder() { if (disruptionBudgetBuilder_ == null) { - disruptionBudgetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Common.FixedOrPercent, com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder, com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder>( - getDisruptionBudget(), - getParentForChildren(), - isClean()); + disruptionBudgetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.Common.FixedOrPercent, + com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder, + com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder>( + getDisruptionBudget(), getParentForChildren(), isClean()); disruptionBudget_ = null; } return disruptionBudgetBuilder_; @@ -5025,8 +5766,13 @@ public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder getDisruption private com.google.protobuf.Duration minWaitDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minWaitDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + minWaitDurationBuilder_; /** + * + * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5035,13 +5781,18 @@ public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder getDisruption
        * applied.
        * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the minWaitDuration field is set. */ public boolean hasMinWaitDuration() { return minWaitDurationBuilder_ != null || minWaitDuration_ != null; } /** + * + * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5050,17 +5801,24 @@ public boolean hasMinWaitDuration() {
        * applied.
        * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The minWaitDuration. */ public com.google.protobuf.Duration getMinWaitDuration() { if (minWaitDurationBuilder_ == null) { - return minWaitDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minWaitDuration_; + return minWaitDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minWaitDuration_; } else { return minWaitDurationBuilder_.getMessage(); } } /** + * + * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5069,7 +5827,9 @@ public com.google.protobuf.Duration getMinWaitDuration() {
        * applied.
        * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMinWaitDuration(com.google.protobuf.Duration value) { if (minWaitDurationBuilder_ == null) { @@ -5085,6 +5845,8 @@ public Builder setMinWaitDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5093,10 +5855,11 @@ public Builder setMinWaitDuration(com.google.protobuf.Duration value) {
        * applied.
        * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setMinWaitDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setMinWaitDuration(com.google.protobuf.Duration.Builder builderForValue) { if (minWaitDurationBuilder_ == null) { minWaitDuration_ = builderForValue.build(); onChanged(); @@ -5107,6 +5870,8 @@ public Builder setMinWaitDuration( return this; } /** + * + * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5115,13 +5880,17 @@ public Builder setMinWaitDuration(
        * applied.
        * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeMinWaitDuration(com.google.protobuf.Duration value) { if (minWaitDurationBuilder_ == null) { if (minWaitDuration_ != null) { minWaitDuration_ = - com.google.protobuf.Duration.newBuilder(minWaitDuration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(minWaitDuration_) + .mergeFrom(value) + .buildPartial(); } else { minWaitDuration_ = value; } @@ -5133,6 +5902,8 @@ public Builder mergeMinWaitDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5141,7 +5912,9 @@ public Builder mergeMinWaitDuration(com.google.protobuf.Duration value) {
        * applied.
        * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearMinWaitDuration() { if (minWaitDurationBuilder_ == null) { @@ -5155,6 +5928,8 @@ public Builder clearMinWaitDuration() { return this; } /** + * + * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5163,14 +5938,18 @@ public Builder clearMinWaitDuration() {
        * applied.
        * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Duration.Builder getMinWaitDurationBuilder() { - + onChanged(); return getMinWaitDurationFieldBuilder().getBuilder(); } /** + * + * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5179,17 +5958,22 @@ public com.google.protobuf.Duration.Builder getMinWaitDurationBuilder() {
        * applied.
        * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder() { if (minWaitDurationBuilder_ != null) { return minWaitDurationBuilder_.getMessageOrBuilder(); } else { - return minWaitDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : minWaitDuration_; + return minWaitDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minWaitDuration_; } } /** + * + * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5198,21 +5982,27 @@ public com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder() {
        * applied.
        * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getMinWaitDurationFieldBuilder() { if (minWaitDurationBuilder_ == null) { - minWaitDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getMinWaitDuration(), - getParentForChildren(), - isClean()); + minWaitDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getMinWaitDuration(), getParentForChildren(), isClean()); minWaitDuration_ = null; } return minWaitDurationBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5225,12 +6015,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignment.Rollout) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignment.Rollout) private static final com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout(); } @@ -5239,16 +6029,16 @@ public static com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Rollout parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Rollout(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Rollout parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Rollout(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5263,12 +6053,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Resource name.
    * Format:
@@ -5277,6 +6068,7 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout getDefaultInstanc
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -5285,14 +6077,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Resource name.
    * Format:
@@ -5301,16 +6094,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -5321,12 +6113,15 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * OS policy assignment description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -5335,30 +6130,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * OS policy assignment description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -5369,71 +6164,95 @@ public java.lang.String getDescription() { public static final int OS_POLICIES_FIELD_NUMBER = 3; private java.util.List osPolicies_; /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getOsPoliciesList() { return osPolicies_; } /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getOsPoliciesOrBuilderList() { return osPolicies_; } /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getOsPoliciesCount() { return osPolicies_.size(); } /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicy getOsPolicies(int index) { return osPolicies_.get(index); } /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder(int index) { return osPolicies_.get(index); } public static final int INSTANCE_FILTER_FIELD_NUMBER = 4; private com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instanceFilter_; /** + * + * *
    * Required. Filter to select VMs.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceFilter field is set. */ @java.lang.Override @@ -5441,32 +6260,46 @@ public boolean hasInstanceFilter() { return instanceFilter_ != null; } /** + * + * *
    * Required. Filter to select VMs.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceFilter. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter getInstanceFilter() { - return instanceFilter_ == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.getDefaultInstance() + : instanceFilter_; } /** + * + * *
    * Required. Filter to select VMs.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder + getInstanceFilterOrBuilder() { return getInstanceFilter(); } public static final int ROLLOUT_FIELD_NUMBER = 5; private com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout_; /** + * + * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -5478,7 +6311,10 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder g
    * 3) OSPolicyAssignment is deleted.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the rollout field is set. */ @java.lang.Override @@ -5486,6 +6322,8 @@ public boolean hasRollout() { return rollout_ != null; } /** + * + * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -5497,14 +6335,21 @@ public boolean hasRollout() {
    * 3) OSPolicyAssignment is deleted.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rollout. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout getRollout() { - return rollout_ == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.getDefaultInstance() + : rollout_; } /** + * + * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -5516,7 +6361,9 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout getRollout() {
    * 3) OSPolicyAssignment is deleted.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder getRolloutOrBuilder() { @@ -5526,6 +6373,8 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder getRollo public static final int REVISION_ID_FIELD_NUMBER = 6; private volatile java.lang.Object revisionId_; /** + * + * *
    * Output only. The assignment revision ID
    * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -5533,6 +6382,7 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder getRollo
    * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The revisionId. */ @java.lang.Override @@ -5541,14 +6391,15 @@ public java.lang.String getRevisionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; } } /** + * + * *
    * Output only. The assignment revision ID
    * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -5556,16 +6407,15 @@ public java.lang.String getRevisionId() {
    * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for revisionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRevisionIdBytes() { + public com.google.protobuf.ByteString getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); revisionId_ = b; return b; } else { @@ -5576,11 +6426,16 @@ public java.lang.String getRevisionId() { public static final int REVISION_CREATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp revisionCreateTime_; /** + * + * *
    * Output only. The timestamp that the revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionCreateTime field is set. */ @java.lang.Override @@ -5588,23 +6443,34 @@ public boolean hasRevisionCreateTime() { return revisionCreateTime_ != null; } /** + * + * *
    * Output only. The timestamp that the revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRevisionCreateTime() { - return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; + return revisionCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionCreateTime_; } /** + * + * *
    * Output only. The timestamp that the revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { @@ -5614,12 +6480,15 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { public static final int ETAG_FIELD_NUMBER = 8; private volatile java.lang.Object etag_; /** + * + * *
    * The etag for this OS policy assignment.
    * If this is provided on update, it must match the server's etag.
    * 
* * string etag = 8; + * * @return The etag. */ @java.lang.Override @@ -5628,30 +6497,30 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * The etag for this OS policy assignment.
    * If this is provided on update, it must match the server's etag.
    * 
* * string etag = 8; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -5662,33 +6531,50 @@ public java.lang.String getEtag() { public static final int ROLLOUT_STATE_FIELD_NUMBER = 9; private int rolloutState_; /** + * + * *
    * Output only. OS policy assignment rollout state
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for rolloutState. */ - @java.lang.Override public int getRolloutStateValue() { + @java.lang.Override + public int getRolloutStateValue() { return rolloutState_; } /** + * + * *
    * Output only. OS policy assignment rollout state
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The rolloutState. */ - @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState getRolloutState() { + @java.lang.Override + public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState getRolloutState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState result = com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.valueOf(rolloutState_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState result = + com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.valueOf(rolloutState_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.UNRECOGNIZED + : result; } public static final int BASELINE_FIELD_NUMBER = 10; private boolean baseline_; /** + * + * *
    * Output only. Indicates that this revision has been successfully rolled out
    * in this zone and new VMs will be assigned OS policies from this revision.
@@ -5697,6 +6583,7 @@ public java.lang.String getEtag() {
    * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The baseline. */ @java.lang.Override @@ -5707,11 +6594,14 @@ public boolean getBaseline() { public static final int DELETED_FIELD_NUMBER = 11; private boolean deleted_; /** + * + * *
    * Output only. Indicates that this revision deletes the OS policy assignment.
    * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deleted. */ @java.lang.Override @@ -5722,6 +6612,8 @@ public boolean getDeleted() { public static final int RECONCILING_FIELD_NUMBER = 12; private boolean reconciling_; /** + * + * *
    * Output only. Indicates that reconciliation is in progress for the revision.
    * This value is `true` when the `rollout_state` is one of:
@@ -5730,6 +6622,7 @@ public boolean getDeleted() {
    * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -5740,12 +6633,15 @@ public boolean getReconciling() { public static final int UID_FIELD_NUMBER = 13; private volatile java.lang.Object uid_; /** + * + * *
    * Output only. Server generated unique id for the OS policy assignment
    * resource.
    * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -5754,30 +6650,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. Server generated unique id for the OS policy assignment
    * resource.
    * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -5786,6 +6682,7 @@ public java.lang.String getUid() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5797,8 +6694,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -5823,7 +6719,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, etag_); } - if (rolloutState_ != com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.ROLLOUT_STATE_UNSPECIFIED.getNumber()) { + if (rolloutState_ + != com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.ROLLOUT_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(9, rolloutState_); } if (baseline_ != false) { @@ -5854,42 +6752,36 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } for (int i = 0; i < osPolicies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, osPolicies_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, osPolicies_.get(i)); } if (instanceFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getInstanceFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getInstanceFilter()); } if (rollout_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getRollout()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRollout()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revisionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, revisionId_); } if (revisionCreateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getRevisionCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getRevisionCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, etag_); } - if (rolloutState_ != com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.ROLLOUT_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, rolloutState_); + if (rolloutState_ + != com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.ROLLOUT_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, rolloutState_); } if (baseline_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(10, baseline_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, baseline_); } if (deleted_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(11, deleted_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, deleted_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(12, reconciling_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, reconciling_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, uid_); @@ -5902,47 +6794,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignment)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignment other = (com.google.cloud.osconfig.v1.OSPolicyAssignment) obj; + com.google.cloud.osconfig.v1.OSPolicyAssignment other = + (com.google.cloud.osconfig.v1.OSPolicyAssignment) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getOsPoliciesList() - .equals(other.getOsPoliciesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getOsPoliciesList().equals(other.getOsPoliciesList())) return false; if (hasInstanceFilter() != other.hasInstanceFilter()) return false; if (hasInstanceFilter()) { - if (!getInstanceFilter() - .equals(other.getInstanceFilter())) return false; + if (!getInstanceFilter().equals(other.getInstanceFilter())) return false; } if (hasRollout() != other.hasRollout()) return false; if (hasRollout()) { - if (!getRollout() - .equals(other.getRollout())) return false; + if (!getRollout().equals(other.getRollout())) return false; } - if (!getRevisionId() - .equals(other.getRevisionId())) return false; + if (!getRevisionId().equals(other.getRevisionId())) return false; if (hasRevisionCreateTime() != other.hasRevisionCreateTime()) return false; if (hasRevisionCreateTime()) { - if (!getRevisionCreateTime() - .equals(other.getRevisionCreateTime())) return false; + if (!getRevisionCreateTime().equals(other.getRevisionCreateTime())) return false; } - if (!getEtag() - .equals(other.getEtag())) return false; + if (!getEtag().equals(other.getEtag())) return false; if (rolloutState_ != other.rolloutState_) return false; - if (getBaseline() - != other.getBaseline()) return false; - if (getDeleted() - != other.getDeleted()) return false; - if (getReconciling() - != other.getReconciling()) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (getBaseline() != other.getBaseline()) return false; + if (getDeleted() != other.getDeleted()) return false; + if (getReconciling() != other.getReconciling()) return false; + if (!getUid().equals(other.getUid())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5981,14 +6862,11 @@ public int hashCode() { hash = (37 * hash) + ROLLOUT_STATE_FIELD_NUMBER; hash = (53 * hash) + rolloutState_; hash = (37 * hash) + BASELINE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBaseline()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBaseline()); hash = (37 * hash) + DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeleted()); hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -5996,97 +6874,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment 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.osconfig.v1.OSPolicyAssignment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * OS policy assignment is an API resource that is used to
    * apply a set of OS policies to a dynamically targeted group of Compute Engine
@@ -6101,21 +6986,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignment}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignment)
       com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.OSPolicyAssignment.class, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder.class);
+              com.google.cloud.osconfig.v1.OSPolicyAssignment.class,
+              com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignment.newBuilder()
@@ -6123,17 +7010,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getOsPoliciesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6183,9 +7070,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor;
     }
 
     @java.lang.Override
@@ -6204,7 +7091,8 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1.OSPolicyAssignment buildPartial() {
-      com.google.cloud.osconfig.v1.OSPolicyAssignment result = new com.google.cloud.osconfig.v1.OSPolicyAssignment(this);
+      com.google.cloud.osconfig.v1.OSPolicyAssignment result =
+          new com.google.cloud.osconfig.v1.OSPolicyAssignment(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -6247,38 +7135,39 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.OSPolicyAssignment) {
-        return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignment)other);
+        return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignment) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6286,7 +7175,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignment other) {
-      if (other == com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance()) return this;
+      if (other == com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -6313,9 +7203,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignment other)
             osPoliciesBuilder_ = null;
             osPolicies_ = other.osPolicies_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            osPoliciesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getOsPoliciesFieldBuilder() : null;
+            osPoliciesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getOsPoliciesFieldBuilder()
+                    : null;
           } else {
             osPoliciesBuilder_.addAllMessages(other.osPolicies_);
           }
@@ -6382,10 +7273,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Resource name.
      * Format:
@@ -6394,13 +7288,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6409,6 +7303,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name.
      * Format:
@@ -6417,15 +7313,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6433,6 +7328,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name.
      * Format:
@@ -6441,20 +7338,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Resource name.
      * Format:
@@ -6463,15 +7362,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Resource name.
      * Format:
@@ -6480,16 +7382,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -6497,19 +7399,21 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -6518,21 +7422,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -6540,80 +7445,95 @@ public java.lang.String getDescription() { } } /** + * + * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private java.util.List osPolicies_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureOsPoliciesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { osPolicies_ = new java.util.ArrayList(osPolicies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy, com.google.cloud.osconfig.v1.OSPolicy.Builder, com.google.cloud.osconfig.v1.OSPolicyOrBuilder> osPoliciesBuilder_; + com.google.cloud.osconfig.v1.OSPolicy, + com.google.cloud.osconfig.v1.OSPolicy.Builder, + com.google.cloud.osconfig.v1.OSPolicyOrBuilder> + osPoliciesBuilder_; /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getOsPoliciesList() { if (osPoliciesBuilder_ == null) { @@ -6623,11 +7543,15 @@ public java.util.List getOsPoliciesList() } } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getOsPoliciesCount() { if (osPoliciesBuilder_ == null) { @@ -6637,11 +7561,15 @@ public int getOsPoliciesCount() { } } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicy getOsPolicies(int index) { if (osPoliciesBuilder_ == null) { @@ -6651,14 +7579,17 @@ public com.google.cloud.osconfig.v1.OSPolicy getOsPolicies(int index) { } } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setOsPolicies( - int index, com.google.cloud.osconfig.v1.OSPolicy value) { + public Builder setOsPolicies(int index, com.google.cloud.osconfig.v1.OSPolicy value) { if (osPoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6672,11 +7603,15 @@ public Builder setOsPolicies( return this; } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOsPolicies( int index, com.google.cloud.osconfig.v1.OSPolicy.Builder builderForValue) { @@ -6690,11 +7625,15 @@ public Builder setOsPolicies( return this; } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addOsPolicies(com.google.cloud.osconfig.v1.OSPolicy value) { if (osPoliciesBuilder_ == null) { @@ -6710,14 +7649,17 @@ public Builder addOsPolicies(com.google.cloud.osconfig.v1.OSPolicy value) { return this; } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addOsPolicies( - int index, com.google.cloud.osconfig.v1.OSPolicy value) { + public Builder addOsPolicies(int index, com.google.cloud.osconfig.v1.OSPolicy value) { if (osPoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6731,14 +7673,17 @@ public Builder addOsPolicies( return this; } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addOsPolicies( - com.google.cloud.osconfig.v1.OSPolicy.Builder builderForValue) { + public Builder addOsPolicies(com.google.cloud.osconfig.v1.OSPolicy.Builder builderForValue) { if (osPoliciesBuilder_ == null) { ensureOsPoliciesIsMutable(); osPolicies_.add(builderForValue.build()); @@ -6749,11 +7694,15 @@ public Builder addOsPolicies( return this; } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addOsPolicies( int index, com.google.cloud.osconfig.v1.OSPolicy.Builder builderForValue) { @@ -6767,18 +7716,21 @@ public Builder addOsPolicies( return this; } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllOsPolicies( java.lang.Iterable values) { if (osPoliciesBuilder_ == null) { ensureOsPoliciesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, osPolicies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicies_); onChanged(); } else { osPoliciesBuilder_.addAllMessages(values); @@ -6786,11 +7738,15 @@ public Builder addAllOsPolicies( return this; } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOsPolicies() { if (osPoliciesBuilder_ == null) { @@ -6803,11 +7759,15 @@ public Builder clearOsPolicies() { return this; } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeOsPolicies(int index) { if (osPoliciesBuilder_ == null) { @@ -6820,39 +7780,50 @@ public Builder removeOsPolicies(int index) { return this; } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.OSPolicy.Builder getOsPoliciesBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicy.Builder getOsPoliciesBuilder(int index) { return getOsPoliciesFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder(int index) { if (osPoliciesBuilder_ == null) { - return osPolicies_.get(index); } else { + return osPolicies_.get(index); + } else { return osPoliciesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getOsPoliciesOrBuilderList() { + public java.util.List + getOsPoliciesOrBuilderList() { if (osPoliciesBuilder_ != null) { return osPoliciesBuilder_.getMessageOrBuilderList(); } else { @@ -6860,49 +7831,63 @@ public com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder( } } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicy.Builder addOsPoliciesBuilder() { - return getOsPoliciesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.OSPolicy.getDefaultInstance()); + return getOsPoliciesFieldBuilder() + .addBuilder(com.google.cloud.osconfig.v1.OSPolicy.getDefaultInstance()); } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.OSPolicy.Builder addOsPoliciesBuilder( - int index) { - return getOsPoliciesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.OSPolicy.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicy.Builder addOsPoliciesBuilder(int index) { + return getOsPoliciesFieldBuilder() + .addBuilder(index, com.google.cloud.osconfig.v1.OSPolicy.getDefaultInstance()); } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getOsPoliciesBuilderList() { + public java.util.List + getOsPoliciesBuilderList() { return getOsPoliciesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy, com.google.cloud.osconfig.v1.OSPolicy.Builder, com.google.cloud.osconfig.v1.OSPolicyOrBuilder> + com.google.cloud.osconfig.v1.OSPolicy, + com.google.cloud.osconfig.v1.OSPolicy.Builder, + com.google.cloud.osconfig.v1.OSPolicyOrBuilder> getOsPoliciesFieldBuilder() { if (osPoliciesBuilder_ == null) { - osPoliciesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicy, com.google.cloud.osconfig.v1.OSPolicy.Builder, com.google.cloud.osconfig.v1.OSPolicyOrBuilder>( - osPolicies_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + osPoliciesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicy, + com.google.cloud.osconfig.v1.OSPolicy.Builder, + com.google.cloud.osconfig.v1.OSPolicyOrBuilder>( + osPolicies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); osPolicies_ = null; } return osPoliciesBuilder_; @@ -6910,41 +7895,61 @@ public com.google.cloud.osconfig.v1.OSPolicy.Builder addOsPoliciesBuilder( private com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instanceFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder> instanceFilterBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter, + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder> + instanceFilterBuilder_; /** + * + * *
      * Required. Filter to select VMs.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceFilter field is set. */ public boolean hasInstanceFilter() { return instanceFilterBuilder_ != null || instanceFilter_ != null; } /** + * + * *
      * Required. Filter to select VMs.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceFilter. */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter getInstanceFilter() { if (instanceFilterBuilder_ == null) { - return instanceFilter_ == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.getDefaultInstance() + : instanceFilter_; } else { return instanceFilterBuilder_.getMessage(); } } /** + * + * *
      * Required. Filter to select VMs.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInstanceFilter(com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter value) { + public Builder setInstanceFilter( + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter value) { if (instanceFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6958,11 +7963,15 @@ public Builder setInstanceFilter(com.google.cloud.osconfig.v1.OSPolicyAssignment return this; } /** + * + * *
      * Required. Filter to select VMs.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstanceFilter( com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder builderForValue) { @@ -6976,17 +7985,25 @@ public Builder setInstanceFilter( return this; } /** + * + * *
      * Required. Filter to select VMs.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter value) { + public Builder mergeInstanceFilter( + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter value) { if (instanceFilterBuilder_ == null) { if (instanceFilter_ != null) { instanceFilter_ = - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.newBuilder(instanceFilter_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.newBuilder( + instanceFilter_) + .mergeFrom(value) + .buildPartial(); } else { instanceFilter_ = value; } @@ -6998,11 +8015,15 @@ public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1.OSPolicyAssignme return this; } /** + * + * *
      * Required. Filter to select VMs.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstanceFilter() { if (instanceFilterBuilder_ == null) { @@ -7016,48 +8037,66 @@ public Builder clearInstanceFilter() { return this; } /** + * + * *
      * Required. Filter to select VMs.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder getInstanceFilterBuilder() { - + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder + getInstanceFilterBuilder() { + onChanged(); return getInstanceFilterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Filter to select VMs.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder + getInstanceFilterOrBuilder() { if (instanceFilterBuilder_ != null) { return instanceFilterBuilder_.getMessageOrBuilder(); } else { - return instanceFilter_ == null ? - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.getDefaultInstance() + : instanceFilter_; } } /** + * + * *
      * Required. Filter to select VMs.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter, + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder> getInstanceFilterFieldBuilder() { if (instanceFilterBuilder_ == null) { - instanceFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder>( - getInstanceFilter(), - getParentForChildren(), - isClean()); + instanceFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter, + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder>( + getInstanceFilter(), getParentForChildren(), isClean()); instanceFilter_ = null; } return instanceFilterBuilder_; @@ -7065,8 +8104,13 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder g private com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout, com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder> rolloutBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout, + com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder> + rolloutBuilder_; /** + * + * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -7078,13 +8122,18 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder g
      * 3) OSPolicyAssignment is deleted.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the rollout field is set. */ public boolean hasRollout() { return rolloutBuilder_ != null || rollout_ != null; } /** + * + * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -7096,17 +8145,24 @@ public boolean hasRollout() {
      * 3) OSPolicyAssignment is deleted.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rollout. */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout getRollout() { if (rolloutBuilder_ == null) { - return rollout_ == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.getDefaultInstance() + : rollout_; } else { return rolloutBuilder_.getMessage(); } } /** + * + * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -7118,7 +8174,9 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout getRollout() {
      * 3) OSPolicyAssignment is deleted.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRollout(com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout value) { if (rolloutBuilder_ == null) { @@ -7134,6 +8192,8 @@ public Builder setRollout(com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollou return this; } /** + * + * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -7145,7 +8205,9 @@ public Builder setRollout(com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollou
      * 3) OSPolicyAssignment is deleted.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRollout( com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder builderForValue) { @@ -7159,6 +8221,8 @@ public Builder setRollout( return this; } /** + * + * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -7170,13 +8234,17 @@ public Builder setRollout(
      * 3) OSPolicyAssignment is deleted.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRollout(com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout value) { if (rolloutBuilder_ == null) { if (rollout_ != null) { rollout_ = - com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.newBuilder(rollout_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.newBuilder(rollout_) + .mergeFrom(value) + .buildPartial(); } else { rollout_ = value; } @@ -7188,6 +8256,8 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1.OSPolicyAssignment.Roll return this; } /** + * + * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -7199,7 +8269,9 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1.OSPolicyAssignment.Roll
      * 3) OSPolicyAssignment is deleted.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRollout() { if (rolloutBuilder_ == null) { @@ -7213,6 +8285,8 @@ public Builder clearRollout() { return this; } /** + * + * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -7224,14 +8298,18 @@ public Builder clearRollout() {
      * 3) OSPolicyAssignment is deleted.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder getRolloutBuilder() { - + onChanged(); return getRolloutFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -7243,17 +8321,22 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder getRollou
      * 3) OSPolicyAssignment is deleted.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder getRolloutOrBuilder() { if (rolloutBuilder_ != null) { return rolloutBuilder_.getMessageOrBuilder(); } else { - return rollout_ == null ? - com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.getDefaultInstance() + : rollout_; } } /** + * + * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -7265,17 +8348,22 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder getRollo
      * 3) OSPolicyAssignment is deleted.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout, com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout, + com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder> getRolloutFieldBuilder() { if (rolloutBuilder_ == null) { - rolloutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout, com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder>( - getRollout(), - getParentForChildren(), - isClean()); + rolloutBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout, + com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder>( + getRollout(), getParentForChildren(), isClean()); rollout_ = null; } return rolloutBuilder_; @@ -7283,6 +8371,8 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder getRollo private java.lang.Object revisionId_ = ""; /** + * + * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -7290,13 +8380,13 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder getRollo
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The revisionId. */ public java.lang.String getRevisionId() { java.lang.Object ref = revisionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; @@ -7305,6 +8395,8 @@ public java.lang.String getRevisionId() { } } /** + * + * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -7312,15 +8404,14 @@ public java.lang.String getRevisionId() {
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for revisionId. */ - public com.google.protobuf.ByteString - getRevisionIdBytes() { + public com.google.protobuf.ByteString getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); revisionId_ = b; return b; } else { @@ -7328,6 +8419,8 @@ public java.lang.String getRevisionId() { } } /** + * + * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -7335,20 +8428,22 @@ public java.lang.String getRevisionId() {
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionId( - java.lang.String value) { + public Builder setRevisionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + revisionId_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -7356,15 +8451,18 @@ public Builder setRevisionId(
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRevisionId() { - + revisionId_ = getDefaultInstance().getRevisionId(); onChanged(); return this; } /** + * + * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -7372,16 +8470,16 @@ public Builder clearRevisionId() {
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + revisionId_ = value; onChanged(); return this; @@ -7389,39 +8487,58 @@ public Builder setRevisionIdBytes( private com.google.protobuf.Timestamp revisionCreateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> revisionCreateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + revisionCreateTimeBuilder_; /** + * + * *
      * Output only. The timestamp that the revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionCreateTime field is set. */ public boolean hasRevisionCreateTime() { return revisionCreateTimeBuilder_ != null || revisionCreateTime_ != null; } /** + * + * *
      * Output only. The timestamp that the revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionCreateTime. */ public com.google.protobuf.Timestamp getRevisionCreateTime() { if (revisionCreateTimeBuilder_ == null) { - return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; + return revisionCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionCreateTime_; } else { return revisionCreateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The timestamp that the revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { @@ -7437,14 +8554,17 @@ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp that the revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setRevisionCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (revisionCreateTimeBuilder_ == null) { revisionCreateTime_ = builderForValue.build(); onChanged(); @@ -7455,17 +8575,23 @@ public Builder setRevisionCreateTime( return this; } /** + * + * *
      * Output only. The timestamp that the revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { if (revisionCreateTime_ != null) { revisionCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_) + .mergeFrom(value) + .buildPartial(); } else { revisionCreateTime_ = value; } @@ -7477,11 +8603,15 @@ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp that the revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearRevisionCreateTime() { if (revisionCreateTimeBuilder_ == null) { @@ -7495,48 +8625,64 @@ public Builder clearRevisionCreateTime() { return this; } /** + * + * *
      * Output only. The timestamp that the revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder() { - + onChanged(); return getRevisionCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The timestamp that the revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { if (revisionCreateTimeBuilder_ != null) { return revisionCreateTimeBuilder_.getMessageOrBuilder(); } else { - return revisionCreateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; + return revisionCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionCreateTime_; } } /** + * + * *
      * Output only. The timestamp that the revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getRevisionCreateTimeFieldBuilder() { if (revisionCreateTimeBuilder_ == null) { - revisionCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getRevisionCreateTime(), - getParentForChildren(), - isClean()); + revisionCreateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getRevisionCreateTime(), getParentForChildren(), isClean()); revisionCreateTime_ = null; } return revisionCreateTimeBuilder_; @@ -7544,19 +8690,21 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** + * + * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -7565,21 +8713,22 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -7587,57 +8736,64 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { + public Builder setEtag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** + * + * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; + * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** + * + * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { + public Builder setEtagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; @@ -7645,80 +8801,112 @@ public Builder setEtagBytes( private int rolloutState_ = 0; /** + * + * *
      * Output only. OS policy assignment rollout state
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for rolloutState. */ - @java.lang.Override public int getRolloutStateValue() { + @java.lang.Override + public int getRolloutStateValue() { return rolloutState_; } /** + * + * *
      * Output only. OS policy assignment rollout state
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for rolloutState to set. * @return This builder for chaining. */ public Builder setRolloutStateValue(int value) { - + rolloutState_ = value; onChanged(); return this; } /** + * + * *
      * Output only. OS policy assignment rollout state
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The rolloutState. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState getRolloutState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState result = com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.valueOf(rolloutState_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState result = + com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.valueOf(rolloutState_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. OS policy assignment rollout state
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The rolloutState to set. * @return This builder for chaining. */ - public Builder setRolloutState(com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState value) { + public Builder setRolloutState( + com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState value) { if (value == null) { throw new NullPointerException(); } - + rolloutState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. OS policy assignment rollout state
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearRolloutState() { - + rolloutState_ = 0; onChanged(); return this; } - private boolean baseline_ ; + private boolean baseline_; /** + * + * *
      * Output only. Indicates that this revision has been successfully rolled out
      * in this zone and new VMs will be assigned OS policies from this revision.
@@ -7727,6 +8915,7 @@ public Builder clearRolloutState() {
      * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The baseline. */ @java.lang.Override @@ -7734,6 +8923,8 @@ public boolean getBaseline() { return baseline_; } /** + * + * *
      * Output only. Indicates that this revision has been successfully rolled out
      * in this zone and new VMs will be assigned OS policies from this revision.
@@ -7742,16 +8933,19 @@ public boolean getBaseline() {
      * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The baseline to set. * @return This builder for chaining. */ public Builder setBaseline(boolean value) { - + baseline_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Indicates that this revision has been successfully rolled out
      * in this zone and new VMs will be assigned OS policies from this revision.
@@ -7760,22 +8954,26 @@ public Builder setBaseline(boolean value) {
      * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearBaseline() { - + baseline_ = false; onChanged(); return this; } - private boolean deleted_ ; + private boolean deleted_; /** + * + * *
      * Output only. Indicates that this revision deletes the OS policy assignment.
      * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deleted. */ @java.lang.Override @@ -7783,37 +8981,45 @@ public boolean getDeleted() { return deleted_; } /** + * + * *
      * Output only. Indicates that this revision deletes the OS policy assignment.
      * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The deleted to set. * @return This builder for chaining. */ public Builder setDeleted(boolean value) { - + deleted_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Indicates that this revision deletes the OS policy assignment.
      * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDeleted() { - + deleted_ = false; onChanged(); return this; } - private boolean reconciling_ ; + private boolean reconciling_; /** + * + * *
      * Output only. Indicates that reconciliation is in progress for the revision.
      * This value is `true` when the `rollout_state` is one of:
@@ -7822,6 +9028,7 @@ public Builder clearDeleted() {
      * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -7829,6 +9036,8 @@ public boolean getReconciling() { return reconciling_; } /** + * + * *
      * Output only. Indicates that reconciliation is in progress for the revision.
      * This value is `true` when the `rollout_state` is one of:
@@ -7837,16 +9046,19 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The reconciling to set. * @return This builder for chaining. */ public Builder setReconciling(boolean value) { - + reconciling_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Indicates that reconciliation is in progress for the revision.
      * This value is `true` when the `rollout_state` is one of:
@@ -7855,10 +9067,11 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReconciling() { - + reconciling_ = false; onChanged(); return this; @@ -7866,19 +9079,21 @@ public Builder clearReconciling() { private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. Server generated unique id for the OS policy assignment
      * resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -7887,21 +9102,22 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. Server generated unique id for the OS policy assignment
      * resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -7909,64 +9125,71 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. Server generated unique id for the OS policy assignment
      * resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { + public Builder setUid(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Server generated unique id for the OS policy assignment
      * resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { - + uid_ = getDefaultInstance().getUid(); onChanged(); return this; } /** + * + * *
      * Output only. Server generated unique id for the OS policy assignment
      * resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { + public Builder setUidBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7976,12 +9199,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignment) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignment) private static final com.google.cloud.osconfig.v1.OSPolicyAssignment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignment(); } @@ -7990,16 +9213,16 @@ public static com.google.cloud.osconfig.v1.OSPolicyAssignment getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyAssignment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyAssignment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyAssignment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyAssignment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8014,6 +9237,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.OSPolicyAssignment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentName.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentName.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadata.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadata.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadata.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadata.java index 4c8c6e3c..4a9a9a2e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadata.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadata.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * OS policy assignment operation metadata provided by OS policy assignment API
  * methods that return long running operations.
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata}
  */
-public final class OSPolicyAssignmentOperationMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OSPolicyAssignmentOperationMetadata
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata)
     OSPolicyAssignmentOperationMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OSPolicyAssignmentOperationMetadata.newBuilder() to construct.
-  private OSPolicyAssignmentOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private OSPolicyAssignmentOperationMetadata(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OSPolicyAssignmentOperationMetadata() {
     osPolicyAssignment_ = "";
     apiMethod_ = 0;
@@ -28,16 +48,15 @@ private OSPolicyAssignmentOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OSPolicyAssignmentOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OSPolicyAssignmentOperationMetadata(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,57 +75,64 @@ private OSPolicyAssignmentOperationMetadata(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            osPolicyAssignment_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
-
-            apiMethod_ = rawValue;
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
-
-            rolloutState_ = rawValue;
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (rolloutStartTime_ != null) {
-              subBuilder = rolloutStartTime_.toBuilder();
+              osPolicyAssignment_ = s;
+              break;
             }
-            rolloutStartTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(rolloutStartTime_);
-              rolloutStartTime_ = subBuilder.buildPartial();
+          case 16:
+            {
+              int rawValue = input.readEnum();
+
+              apiMethod_ = rawValue;
+              break;
             }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (rolloutUpdateTime_ != null) {
-              subBuilder = rolloutUpdateTime_.toBuilder();
+              rolloutState_ = rawValue;
+              break;
             }
-            rolloutUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(rolloutUpdateTime_);
-              rolloutUpdateTime_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (rolloutStartTime_ != null) {
+                subBuilder = rolloutStartTime_.toBuilder();
+              }
+              rolloutStartTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rolloutStartTime_);
+                rolloutStartTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (rolloutUpdateTime_ != null) {
+                subBuilder = rolloutUpdateTime_.toBuilder();
+              }
+              rolloutUpdateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rolloutUpdateTime_);
+                rolloutUpdateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,36 +140,41 @@ private OSPolicyAssignmentOperationMetadata(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+        .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+        .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.Builder.class);
+            com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.class,
+            com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The OS policy assignment API method.
    * 
* * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod} */ - public enum APIMethod - implements com.google.protobuf.ProtocolMessageEnum { + public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Invalid value
      * 
@@ -152,6 +183,8 @@ public enum APIMethod */ API_METHOD_UNSPECIFIED(0), /** + * + * *
      * Create OS policy assignment API method
      * 
@@ -160,6 +193,8 @@ public enum APIMethod */ CREATE(1), /** + * + * *
      * Update OS policy assignment API method
      * 
@@ -168,6 +203,8 @@ public enum APIMethod */ UPDATE(2), /** + * + * *
      * Delete OS policy assignment API method
      * 
@@ -179,6 +216,8 @@ public enum APIMethod ; /** + * + * *
      * Invalid value
      * 
@@ -187,6 +226,8 @@ public enum APIMethod */ public static final int API_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Create OS policy assignment API method
      * 
@@ -195,6 +236,8 @@ public enum APIMethod */ public static final int CREATE_VALUE = 1; /** + * + * *
      * Update OS policy assignment API method
      * 
@@ -203,6 +246,8 @@ public enum APIMethod */ public static final int UPDATE_VALUE = 2; /** + * + * *
      * Delete OS policy assignment API method
      * 
@@ -211,7 +256,6 @@ public enum APIMethod */ public static final int DELETE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -236,50 +280,53 @@ public static APIMethod valueOf(int value) { */ public static APIMethod forNumber(int value) { switch (value) { - case 0: return API_METHOD_UNSPECIFIED; - case 1: return CREATE; - case 2: return UPDATE; - case 3: return DELETE; - default: return null; + case 0: + return API_METHOD_UNSPECIFIED; + case 1: + return CREATE; + case 2: + return UPDATE; + case 3: + return DELETE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - APIMethod> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public APIMethod findValueByNumber(int number) { - return APIMethod.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public APIMethod findValueByNumber(int number) { + return APIMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.getDescriptor() + .getEnumTypes() + .get(0); } private static final APIMethod[] VALUES = values(); - public static APIMethod valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static APIMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -297,15 +344,18 @@ private APIMethod(int value) { } /** + * + * *
    * State of the rollout
    * 
* * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState} */ - public enum RolloutState - implements com.google.protobuf.ProtocolMessageEnum { + public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Invalid value
      * 
@@ -314,6 +364,8 @@ public enum RolloutState */ ROLLOUT_STATE_UNSPECIFIED(0), /** + * + * *
      * The rollout is in progress.
      * 
@@ -322,6 +374,8 @@ public enum RolloutState */ IN_PROGRESS(1), /** + * + * *
      * The rollout is being cancelled.
      * 
@@ -330,6 +384,8 @@ public enum RolloutState */ CANCELLING(2), /** + * + * *
      * The rollout is cancelled.
      * 
@@ -338,6 +394,8 @@ public enum RolloutState */ CANCELLED(3), /** + * + * *
      * The rollout has completed successfully.
      * 
@@ -349,6 +407,8 @@ public enum RolloutState ; /** + * + * *
      * Invalid value
      * 
@@ -357,6 +417,8 @@ public enum RolloutState */ public static final int ROLLOUT_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The rollout is in progress.
      * 
@@ -365,6 +427,8 @@ public enum RolloutState */ public static final int IN_PROGRESS_VALUE = 1; /** + * + * *
      * The rollout is being cancelled.
      * 
@@ -373,6 +437,8 @@ public enum RolloutState */ public static final int CANCELLING_VALUE = 2; /** + * + * *
      * The rollout is cancelled.
      * 
@@ -381,6 +447,8 @@ public enum RolloutState */ public static final int CANCELLED_VALUE = 3; /** + * + * *
      * The rollout has completed successfully.
      * 
@@ -389,7 +457,6 @@ public enum RolloutState */ public static final int SUCCEEDED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -414,51 +481,55 @@ public static RolloutState valueOf(int value) { */ public static RolloutState forNumber(int value) { switch (value) { - case 0: return ROLLOUT_STATE_UNSPECIFIED; - case 1: return IN_PROGRESS; - case 2: return CANCELLING; - case 3: return CANCELLED; - case 4: return SUCCEEDED; - default: return null; + case 0: + return ROLLOUT_STATE_UNSPECIFIED; + case 1: + return IN_PROGRESS; + case 2: + return CANCELLING; + case 3: + return CANCELLED; + case 4: + return SUCCEEDED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - RolloutState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RolloutState findValueByNumber(int number) { - return RolloutState.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RolloutState findValueByNumber(int number) { + return RolloutState.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.getDescriptor() + .getEnumTypes() + .get(1); } private static final RolloutState[] VALUES = values(); - public static RolloutState valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RolloutState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -478,6 +549,8 @@ private RolloutState(int value) { public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER = 1; private volatile java.lang.Object osPolicyAssignment_; /** + * + * *
    * Reference to the `OSPolicyAssignment` API resource.
    * Format:
@@ -485,6 +558,7 @@ private RolloutState(int value) {
    * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } + * * @return The osPolicyAssignment. */ @java.lang.Override @@ -493,14 +567,15 @@ public java.lang.String getOsPolicyAssignment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; } } /** + * + * *
    * Reference to the `OSPolicyAssignment` API resource.
    * Format:
@@ -508,16 +583,15 @@ public java.lang.String getOsPolicyAssignment() {
    * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for osPolicyAssignment. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -528,65 +602,99 @@ public java.lang.String getOsPolicyAssignment() { public static final int API_METHOD_FIELD_NUMBER = 2; private int apiMethod_; /** + * + * *
    * The OS policy assignment API method.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * * @return The enum numeric value on the wire for apiMethod. */ - @java.lang.Override public int getApiMethodValue() { + @java.lang.Override + public int getApiMethodValue() { return apiMethod_; } /** + * + * *
    * The OS policy assignment API method.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * * @return The apiMethod. */ - @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod getApiMethod() { + @java.lang.Override + public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod getApiMethod() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod result = com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.valueOf(apiMethod_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod result = + com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.valueOf( + apiMethod_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.UNRECOGNIZED + : result; } public static final int ROLLOUT_STATE_FIELD_NUMBER = 3; private int rolloutState_; /** + * + * *
    * State of the rollout
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * * @return The enum numeric value on the wire for rolloutState. */ - @java.lang.Override public int getRolloutStateValue() { + @java.lang.Override + public int getRolloutStateValue() { return rolloutState_; } /** + * + * *
    * State of the rollout
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * * @return The rolloutState. */ - @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState getRolloutState() { + @java.lang.Override + public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState + getRolloutState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState result = com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState.valueOf(rolloutState_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState result = + com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState.valueOf( + rolloutState_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState.UNRECOGNIZED + : result; } public static final int ROLLOUT_START_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp rolloutStartTime_; /** + * + * *
    * Rollout start time
    * 
* * .google.protobuf.Timestamp rollout_start_time = 4; + * * @return Whether the rolloutStartTime field is set. */ @java.lang.Override @@ -594,18 +702,25 @@ public boolean hasRolloutStartTime() { return rolloutStartTime_ != null; } /** + * + * *
    * Rollout start time
    * 
* * .google.protobuf.Timestamp rollout_start_time = 4; + * * @return The rolloutStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRolloutStartTime() { - return rolloutStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rolloutStartTime_; + return rolloutStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : rolloutStartTime_; } /** + * + * *
    * Rollout start time
    * 
@@ -620,11 +735,14 @@ public com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder() { public static final int ROLLOUT_UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp rolloutUpdateTime_; /** + * + * *
    * Rollout update time
    * 
* * .google.protobuf.Timestamp rollout_update_time = 5; + * * @return Whether the rolloutUpdateTime field is set. */ @java.lang.Override @@ -632,18 +750,25 @@ public boolean hasRolloutUpdateTime() { return rolloutUpdateTime_ != null; } /** + * + * *
    * Rollout update time
    * 
* * .google.protobuf.Timestamp rollout_update_time = 5; + * * @return The rolloutUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRolloutUpdateTime() { - return rolloutUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rolloutUpdateTime_; + return rolloutUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : rolloutUpdateTime_; } /** + * + * *
    * Rollout update time
    * 
@@ -656,6 +781,7 @@ public com.google.protobuf.TimestampOrBuilder getRolloutUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -667,15 +793,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyAssignment_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osPolicyAssignment_); } - if (apiMethod_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.API_METHOD_UNSPECIFIED.getNumber()) { + if (apiMethod_ + != com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod + .API_METHOD_UNSPECIFIED + .getNumber()) { output.writeEnum(2, apiMethod_); } - if (rolloutState_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState.ROLLOUT_STATE_UNSPECIFIED.getNumber()) { + if (rolloutState_ + != com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState + .ROLLOUT_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, rolloutState_); } if (rolloutStartTime_ != null) { @@ -696,21 +827,23 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyAssignment_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, osPolicyAssignment_); } - if (apiMethod_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.API_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, apiMethod_); + if (apiMethod_ + != com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod + .API_METHOD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, apiMethod_); } - if (rolloutState_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState.ROLLOUT_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, rolloutState_); + if (rolloutState_ + != com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState + .ROLLOUT_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, rolloutState_); } if (rolloutStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getRolloutStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRolloutStartTime()); } if (rolloutUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getRolloutUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRolloutUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -720,26 +853,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata other = (com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata) obj; + com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata other = + (com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata) obj; - if (!getOsPolicyAssignment() - .equals(other.getOsPolicyAssignment())) return false; + if (!getOsPolicyAssignment().equals(other.getOsPolicyAssignment())) return false; if (apiMethod_ != other.apiMethod_) return false; if (rolloutState_ != other.rolloutState_) return false; if (hasRolloutStartTime() != other.hasRolloutStartTime()) return false; if (hasRolloutStartTime()) { - if (!getRolloutStartTime() - .equals(other.getRolloutStartTime())) return false; + if (!getRolloutStartTime().equals(other.getRolloutStartTime())) return false; } if (hasRolloutUpdateTime() != other.hasRolloutUpdateTime()) return false; if (hasRolloutUpdateTime()) { - if (!getRolloutUpdateTime() - .equals(other.getRolloutUpdateTime())) return false; + if (!getRolloutUpdateTime().equals(other.getRolloutUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -772,96 +903,104 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata 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.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * OS policy assignment operation metadata provided by OS policy assignment API
    * methods that return long running operations.
@@ -869,21 +1008,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata)
       com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.Builder.class);
+              com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.class,
+              com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.newBuilder()
@@ -891,16 +1032,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -926,13 +1066,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata getDefaultInstanceForType() {
+    public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata
+        getDefaultInstanceForType() {
       return com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.getDefaultInstance();
     }
 
@@ -947,7 +1088,8 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata build()
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata buildPartial() {
-      com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata result = new com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata(this);
+      com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata result =
+          new com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata(this);
       result.osPolicyAssignment_ = osPolicyAssignment_;
       result.apiMethod_ = apiMethod_;
       result.rolloutState_ = rolloutState_;
@@ -969,46 +1111,50 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata buildPar
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.OSPolicyAssignmentOperationMetadata) {
-        return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata)other);
+        return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata other) {
-      if (other == com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata other) {
+      if (other
+          == com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.getDefaultInstance())
+        return this;
       if (!other.getOsPolicyAssignment().isEmpty()) {
         osPolicyAssignment_ = other.osPolicyAssignment_;
         onChanged();
@@ -1044,7 +1190,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1056,6 +1204,8 @@ public Builder mergeFrom(
 
     private java.lang.Object osPolicyAssignment_ = "";
     /**
+     *
+     *
      * 
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1063,13 +1213,13 @@ public Builder mergeFrom(
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } + * * @return The osPolicyAssignment. */ public java.lang.String getOsPolicyAssignment() { java.lang.Object ref = osPolicyAssignment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; @@ -1078,6 +1228,8 @@ public java.lang.String getOsPolicyAssignment() { } } /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1085,15 +1237,14 @@ public java.lang.String getOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for osPolicyAssignment. */ - public com.google.protobuf.ByteString - getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -1101,6 +1252,8 @@ public java.lang.String getOsPolicyAssignment() { } } /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1108,20 +1261,22 @@ public java.lang.String getOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } + * * @param value The osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignment( - java.lang.String value) { + public Builder setOsPolicyAssignment(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyAssignment_ = value; onChanged(); return this; } /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1129,15 +1284,18 @@ public Builder setOsPolicyAssignment(
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearOsPolicyAssignment() { - + osPolicyAssignment_ = getDefaultInstance().getOsPolicyAssignment(); onChanged(); return this; } /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1145,16 +1303,16 @@ public Builder clearOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignmentBytes( - com.google.protobuf.ByteString value) { + public Builder setOsPolicyAssignmentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyAssignment_ = value; onChanged(); return this; @@ -1162,73 +1320,100 @@ public Builder setOsPolicyAssignmentBytes( private int apiMethod_ = 0; /** + * + * *
      * The OS policy assignment API method.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * * @return The enum numeric value on the wire for apiMethod. */ - @java.lang.Override public int getApiMethodValue() { + @java.lang.Override + public int getApiMethodValue() { return apiMethod_; } /** + * + * *
      * The OS policy assignment API method.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * * @param value The enum numeric value on the wire for apiMethod to set. * @return This builder for chaining. */ public Builder setApiMethodValue(int value) { - + apiMethod_ = value; onChanged(); return this; } /** + * + * *
      * The OS policy assignment API method.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * * @return The apiMethod. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod getApiMethod() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod + getApiMethod() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod result = com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.valueOf(apiMethod_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod result = + com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.valueOf( + apiMethod_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod.UNRECOGNIZED + : result; } /** + * + * *
      * The OS policy assignment API method.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * * @param value The apiMethod to set. * @return This builder for chaining. */ - public Builder setApiMethod(com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod value) { + public Builder setApiMethod( + com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod value) { if (value == null) { throw new NullPointerException(); } - + apiMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The OS policy assignment API method.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * * @return This builder for chaining. */ public Builder clearApiMethod() { - + apiMethod_ = 0; onChanged(); return this; @@ -1236,73 +1421,106 @@ public Builder clearApiMethod() { private int rolloutState_ = 0; /** + * + * *
      * State of the rollout
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * * @return The enum numeric value on the wire for rolloutState. */ - @java.lang.Override public int getRolloutStateValue() { + @java.lang.Override + public int getRolloutStateValue() { return rolloutState_; } /** + * + * *
      * State of the rollout
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * * @param value The enum numeric value on the wire for rolloutState to set. * @return This builder for chaining. */ public Builder setRolloutStateValue(int value) { - + rolloutState_ = value; onChanged(); return this; } /** + * + * *
      * State of the rollout
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * * @return The rolloutState. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState getRolloutState() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState + getRolloutState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState result = com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState.valueOf(rolloutState_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState result = + com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState.valueOf( + rolloutState_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState + .UNRECOGNIZED + : result; } /** + * + * *
      * State of the rollout
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * * @param value The rolloutState to set. * @return This builder for chaining. */ - public Builder setRolloutState(com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState value) { + public Builder setRolloutState( + com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState value) { if (value == null) { throw new NullPointerException(); } - + rolloutState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * State of the rollout
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * * @return This builder for chaining. */ public Builder clearRolloutState() { - + rolloutState_ = 0; onChanged(); return this; @@ -1310,34 +1528,47 @@ public Builder clearRolloutState() { private com.google.protobuf.Timestamp rolloutStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> rolloutStartTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + rolloutStartTimeBuilder_; /** + * + * *
      * Rollout start time
      * 
* * .google.protobuf.Timestamp rollout_start_time = 4; + * * @return Whether the rolloutStartTime field is set. */ public boolean hasRolloutStartTime() { return rolloutStartTimeBuilder_ != null || rolloutStartTime_ != null; } /** + * + * *
      * Rollout start time
      * 
* * .google.protobuf.Timestamp rollout_start_time = 4; + * * @return The rolloutStartTime. */ public com.google.protobuf.Timestamp getRolloutStartTime() { if (rolloutStartTimeBuilder_ == null) { - return rolloutStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rolloutStartTime_; + return rolloutStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : rolloutStartTime_; } else { return rolloutStartTimeBuilder_.getMessage(); } } /** + * + * *
      * Rollout start time
      * 
@@ -1358,14 +1589,15 @@ public Builder setRolloutStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Rollout start time
      * 
* * .google.protobuf.Timestamp rollout_start_time = 4; */ - public Builder setRolloutStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRolloutStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (rolloutStartTimeBuilder_ == null) { rolloutStartTime_ = builderForValue.build(); onChanged(); @@ -1376,6 +1608,8 @@ public Builder setRolloutStartTime( return this; } /** + * + * *
      * Rollout start time
      * 
@@ -1386,7 +1620,9 @@ public Builder mergeRolloutStartTime(com.google.protobuf.Timestamp value) { if (rolloutStartTimeBuilder_ == null) { if (rolloutStartTime_ != null) { rolloutStartTime_ = - com.google.protobuf.Timestamp.newBuilder(rolloutStartTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(rolloutStartTime_) + .mergeFrom(value) + .buildPartial(); } else { rolloutStartTime_ = value; } @@ -1398,6 +1634,8 @@ public Builder mergeRolloutStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Rollout start time
      * 
@@ -1416,6 +1654,8 @@ public Builder clearRolloutStartTime() { return this; } /** + * + * *
      * Rollout start time
      * 
@@ -1423,11 +1663,13 @@ public Builder clearRolloutStartTime() { * .google.protobuf.Timestamp rollout_start_time = 4; */ public com.google.protobuf.Timestamp.Builder getRolloutStartTimeBuilder() { - + onChanged(); return getRolloutStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Rollout start time
      * 
@@ -1438,11 +1680,14 @@ public com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder() { if (rolloutStartTimeBuilder_ != null) { return rolloutStartTimeBuilder_.getMessageOrBuilder(); } else { - return rolloutStartTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : rolloutStartTime_; + return rolloutStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : rolloutStartTime_; } } /** + * + * *
      * Rollout start time
      * 
@@ -1450,14 +1695,17 @@ public com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder() { * .google.protobuf.Timestamp rollout_start_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getRolloutStartTimeFieldBuilder() { if (rolloutStartTimeBuilder_ == null) { - rolloutStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getRolloutStartTime(), - getParentForChildren(), - isClean()); + rolloutStartTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getRolloutStartTime(), getParentForChildren(), isClean()); rolloutStartTime_ = null; } return rolloutStartTimeBuilder_; @@ -1465,34 +1713,47 @@ public com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder() { private com.google.protobuf.Timestamp rolloutUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> rolloutUpdateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + rolloutUpdateTimeBuilder_; /** + * + * *
      * Rollout update time
      * 
* * .google.protobuf.Timestamp rollout_update_time = 5; + * * @return Whether the rolloutUpdateTime field is set. */ public boolean hasRolloutUpdateTime() { return rolloutUpdateTimeBuilder_ != null || rolloutUpdateTime_ != null; } /** + * + * *
      * Rollout update time
      * 
* * .google.protobuf.Timestamp rollout_update_time = 5; + * * @return The rolloutUpdateTime. */ public com.google.protobuf.Timestamp getRolloutUpdateTime() { if (rolloutUpdateTimeBuilder_ == null) { - return rolloutUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rolloutUpdateTime_; + return rolloutUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : rolloutUpdateTime_; } else { return rolloutUpdateTimeBuilder_.getMessage(); } } /** + * + * *
      * Rollout update time
      * 
@@ -1513,14 +1774,15 @@ public Builder setRolloutUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Rollout update time
      * 
* * .google.protobuf.Timestamp rollout_update_time = 5; */ - public Builder setRolloutUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRolloutUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (rolloutUpdateTimeBuilder_ == null) { rolloutUpdateTime_ = builderForValue.build(); onChanged(); @@ -1531,6 +1793,8 @@ public Builder setRolloutUpdateTime( return this; } /** + * + * *
      * Rollout update time
      * 
@@ -1541,7 +1805,9 @@ public Builder mergeRolloutUpdateTime(com.google.protobuf.Timestamp value) { if (rolloutUpdateTimeBuilder_ == null) { if (rolloutUpdateTime_ != null) { rolloutUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(rolloutUpdateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(rolloutUpdateTime_) + .mergeFrom(value) + .buildPartial(); } else { rolloutUpdateTime_ = value; } @@ -1553,6 +1819,8 @@ public Builder mergeRolloutUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Rollout update time
      * 
@@ -1571,6 +1839,8 @@ public Builder clearRolloutUpdateTime() { return this; } /** + * + * *
      * Rollout update time
      * 
@@ -1578,11 +1848,13 @@ public Builder clearRolloutUpdateTime() { * .google.protobuf.Timestamp rollout_update_time = 5; */ public com.google.protobuf.Timestamp.Builder getRolloutUpdateTimeBuilder() { - + onChanged(); return getRolloutUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Rollout update time
      * 
@@ -1593,11 +1865,14 @@ public com.google.protobuf.TimestampOrBuilder getRolloutUpdateTimeOrBuilder() { if (rolloutUpdateTimeBuilder_ != null) { return rolloutUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return rolloutUpdateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : rolloutUpdateTime_; + return rolloutUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : rolloutUpdateTime_; } } /** + * + * *
      * Rollout update time
      * 
@@ -1605,21 +1880,24 @@ public com.google.protobuf.TimestampOrBuilder getRolloutUpdateTimeOrBuilder() { * .google.protobuf.Timestamp rollout_update_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getRolloutUpdateTimeFieldBuilder() { if (rolloutUpdateTimeBuilder_ == null) { - rolloutUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getRolloutUpdateTime(), - getParentForChildren(), - isClean()); + rolloutUpdateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getRolloutUpdateTime(), getParentForChildren(), isClean()); rolloutUpdateTime_ = null; } return rolloutUpdateTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1629,30 +1907,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata) - private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata(); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyAssignmentOperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyAssignmentOperationMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyAssignmentOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyAssignmentOperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1664,9 +1944,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadataOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadataOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadataOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadataOrBuilder.java index c4e95433..7eaf1c6f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadataOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOperationMetadataOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; -public interface OSPolicyAssignmentOperationMetadataOrBuilder extends +public interface OSPolicyAssignmentOperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Reference to the `OSPolicyAssignment` API resource.
    * Format:
@@ -15,10 +33,13 @@ public interface OSPolicyAssignmentOperationMetadataOrBuilder extends
    * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } + * * @return The osPolicyAssignment. */ java.lang.String getOsPolicyAssignment(); /** + * + * *
    * Reference to the `OSPolicyAssignment` API resource.
    * Format:
@@ -26,68 +47,94 @@ public interface OSPolicyAssignmentOperationMetadataOrBuilder extends
    * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for osPolicyAssignment. */ - com.google.protobuf.ByteString - getOsPolicyAssignmentBytes(); + com.google.protobuf.ByteString getOsPolicyAssignmentBytes(); /** + * + * *
    * The OS policy assignment API method.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * * @return The enum numeric value on the wire for apiMethod. */ int getApiMethodValue(); /** + * + * *
    * The OS policy assignment API method.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * * @return The apiMethod. */ com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod getApiMethod(); /** + * + * *
    * State of the rollout
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * * @return The enum numeric value on the wire for rolloutState. */ int getRolloutStateValue(); /** + * + * *
    * State of the rollout
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * * @return The rolloutState. */ com.google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState getRolloutState(); /** + * + * *
    * Rollout start time
    * 
* * .google.protobuf.Timestamp rollout_start_time = 4; + * * @return Whether the rolloutStartTime field is set. */ boolean hasRolloutStartTime(); /** + * + * *
    * Rollout start time
    * 
* * .google.protobuf.Timestamp rollout_start_time = 4; + * * @return The rolloutStartTime. */ com.google.protobuf.Timestamp getRolloutStartTime(); /** + * + * *
    * Rollout start time
    * 
@@ -97,24 +144,32 @@ public interface OSPolicyAssignmentOperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder(); /** + * + * *
    * Rollout update time
    * 
* * .google.protobuf.Timestamp rollout_update_time = 5; + * * @return Whether the rolloutUpdateTime field is set. */ boolean hasRolloutUpdateTime(); /** + * + * *
    * Rollout update time
    * 
* * .google.protobuf.Timestamp rollout_update_time = 5; + * * @return The rolloutUpdateTime. */ com.google.protobuf.Timestamp getRolloutUpdateTime(); /** + * + * *
    * Rollout update time
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOrBuilder.java index 8b4efdd9..0e5f5851 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; -public interface OSPolicyAssignmentOrBuilder extends +public interface OSPolicyAssignmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name.
    * Format:
@@ -16,10 +34,13 @@ public interface OSPolicyAssignmentOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource name.
    * Format:
@@ -28,105 +49,145 @@ public interface OSPolicyAssignmentOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * OS policy assignment description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * OS policy assignment description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getOsPoliciesList(); + java.util.List getOsPoliciesList(); /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1.OSPolicy getOsPolicies(int index); /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ int getOsPoliciesCount(); /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getOsPoliciesOrBuilderList(); /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder( - int index); + com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder(int index); /** + * + * *
    * Required. Filter to select VMs.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceFilter field is set. */ boolean hasInstanceFilter(); /** + * + * *
    * Required. Filter to select VMs.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceFilter. */ com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter getInstanceFilter(); /** + * + * *
    * Required. Filter to select VMs.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder getInstanceFilterOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilterOrBuilder + getInstanceFilterOrBuilder(); /** + * + * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -138,11 +199,16 @@ com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder(
    * 3) OSPolicyAssignment is deleted.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the rollout field is set. */ boolean hasRollout(); /** + * + * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -154,11 +220,16 @@ com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder(
    * 3) OSPolicyAssignment is deleted.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rollout. */ com.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout getRollout(); /** + * + * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -170,11 +241,15 @@ com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder(
    * 3) OSPolicyAssignment is deleted.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutOrBuilder getRolloutOrBuilder(); /** + * + * *
    * Output only. The assignment revision ID
    * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -182,10 +257,13 @@ com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder(
    * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The revisionId. */ java.lang.String getRevisionId(); /** + * + * *
    * Output only. The assignment revision ID
    * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -193,80 +271,111 @@ com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder(
    * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for revisionId. */ - com.google.protobuf.ByteString - getRevisionIdBytes(); + com.google.protobuf.ByteString getRevisionIdBytes(); /** + * + * *
    * Output only. The timestamp that the revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionCreateTime field is set. */ boolean hasRevisionCreateTime(); /** + * + * *
    * Output only. The timestamp that the revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionCreateTime. */ com.google.protobuf.Timestamp getRevisionCreateTime(); /** + * + * *
    * Output only. The timestamp that the revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder(); /** + * + * *
    * The etag for this OS policy assignment.
    * If this is provided on update, it must match the server's etag.
    * 
* * string etag = 8; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * The etag for this OS policy assignment.
    * If this is provided on update, it must match the server's etag.
    * 
* * string etag = 8; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Output only. OS policy assignment rollout state
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for rolloutState. */ int getRolloutStateValue(); /** + * + * *
    * Output only. OS policy assignment rollout state
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The rolloutState. */ com.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState getRolloutState(); /** + * + * *
    * Output only. Indicates that this revision has been successfully rolled out
    * in this zone and new VMs will be assigned OS policies from this revision.
@@ -275,21 +384,27 @@ com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder(
    * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The baseline. */ boolean getBaseline(); /** + * + * *
    * Output only. Indicates that this revision deletes the OS policy assignment.
    * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deleted. */ boolean getDeleted(); /** + * + * *
    * Output only. Indicates that reconciliation is in progress for the revision.
    * This value is `true` when the `rollout_state` is one of:
@@ -298,29 +413,35 @@ com.google.cloud.osconfig.v1.OSPolicyOrBuilder getOsPoliciesOrBuilder(
    * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ boolean getReconciling(); /** + * + * *
    * Output only. Server generated unique id for the OS policy assignment
    * resource.
    * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. Server generated unique id for the OS policy assignment
    * resource.
    * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReport.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReport.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReport.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReport.java index 46348244..f4dfb1f0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReport.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReport.java @@ -1,24 +1,42 @@ +/* + * 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/osconfig/v1/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * A report of the OS policy assignment status for a given instance.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport} */ -public final class OSPolicyAssignmentReport extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OSPolicyAssignmentReport extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport) OSPolicyAssignmentReportOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSPolicyAssignmentReport.newBuilder() to construct. private OSPolicyAssignmentReport(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OSPolicyAssignmentReport() { name_ = ""; instance_ = ""; @@ -29,16 +47,15 @@ private OSPolicyAssignmentReport() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OSPolicyAssignmentReport(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OSPolicyAssignmentReport( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,59 +75,71 @@ private OSPolicyAssignmentReport( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - instance_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyAssignment_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyCompliances_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + instance_ = s; + break; } - osPolicyCompliances_.add( - input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.parser(), extensionRegistry)); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + osPolicyAssignment_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + osPolicyCompliances_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance>(); + mutable_bitField0_ |= 0x00000001; + } + osPolicyCompliances_.add( + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .parser(), + extensionRegistry)); + break; } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - lastRunId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + lastRunId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,8 +147,7 @@ private OSPolicyAssignmentReport( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { osPolicyCompliances_ = java.util.Collections.unmodifiableList(osPolicyCompliances_); @@ -128,63 +156,85 @@ private OSPolicyAssignmentReport( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.class, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder.class); } - public interface OSPolicyComplianceOrBuilder extends + public interface OSPolicyComplianceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The OS policy id
      * 
* * string os_policy_id = 1; + * * @return The osPolicyId. */ java.lang.String getOsPolicyId(); /** + * + * *
      * The OS policy id
      * 
* * string os_policy_id = 1; + * * @return The bytes for osPolicyId. */ - com.google.protobuf.ByteString - getOsPolicyIdBytes(); + com.google.protobuf.ByteString getOsPolicyIdBytes(); /** + * + * *
      * The compliance state of the OS policy.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * * @return The enum numeric value on the wire for complianceState. */ int getComplianceStateValue(); /** + * + * *
      * The compliance state of the OS policy.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * * @return The complianceState. */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState getComplianceState(); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState + getComplianceState(); /** + * + * *
      * The reason for the OS policy to be in an unknown compliance state.
      * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -207,10 +257,13 @@ public interface OSPolicyComplianceOrBuilder extends
      * 
* * string compliance_state_reason = 3; + * * @return The complianceStateReason. */ java.lang.String getComplianceStateReason(); /** + * + * *
      * The reason for the OS policy to be in an unknown compliance state.
      * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -233,76 +286,107 @@ public interface OSPolicyComplianceOrBuilder extends
      * 
* * string compliance_state_reason = 3; + * * @return The bytes for complianceStateReason. */ - com.google.protobuf.ByteString - getComplianceStateReasonBytes(); + com.google.protobuf.ByteString getComplianceStateReasonBytes(); /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - java.util.List + java.util.List< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance> getOsPolicyResourceCompliancesList(); /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + getOsPolicyResourceCompliances(int index); /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ int getOsPolicyResourceCompliancesCount(); /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder> getOsPolicyResourceCompliancesOrBuilderList(); /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder( - int index); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder + getOsPolicyResourceCompliancesOrBuilder(int index); } /** + * + * *
    * Compliance data for an OS policy
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance} */ - public static final class OSPolicyCompliance extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class OSPolicyCompliance extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) OSPolicyComplianceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSPolicyCompliance.newBuilder() to construct. private OSPolicyCompliance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OSPolicyCompliance() { osPolicyId_ = ""; complianceState_ = 0; @@ -312,16 +396,15 @@ private OSPolicyCompliance() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OSPolicyCompliance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OSPolicyCompliance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -341,40 +424,50 @@ private OSPolicyCompliance( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyId_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + osPolicyId_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - complianceState_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + complianceState_ = rawValue; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - complianceStateReason_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + complianceStateReason_ = s; + break; } - osPolicyResourceCompliances_.add( - input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + osPolicyResourceCompliances_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance>(); + mutable_bitField0_ |= 0x00000001; + } + osPolicyResourceCompliances_.add( + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,39 +475,47 @@ private OSPolicyCompliance( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); + osPolicyResourceCompliances_ = + java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.class, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder + .class); } /** + * + * *
      * Possible compliance states for an os policy.
      * 
* - * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState} + * Protobuf enum {@code + * google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState} */ - public enum ComplianceState - implements com.google.protobuf.ProtocolMessageEnum { + public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The policy is in an unknown compliance state.
        * Refer to the field `compliance_state_reason` to learn the exact reason
@@ -425,6 +526,8 @@ public enum ComplianceState
        */
       UNKNOWN(0),
       /**
+       *
+       *
        * 
        * Policy is compliant.
        * The policy is compliant if all the underlying resources are also
@@ -435,6 +538,8 @@ public enum ComplianceState
        */
       COMPLIANT(1),
       /**
+       *
+       *
        * 
        * Policy is non-compliant.
        * The policy is non-compliant if one or more underlying resources are
@@ -448,6 +553,8 @@ public enum ComplianceState
       ;
 
       /**
+       *
+       *
        * 
        * The policy is in an unknown compliance state.
        * Refer to the field `compliance_state_reason` to learn the exact reason
@@ -458,6 +565,8 @@ public enum ComplianceState
        */
       public static final int UNKNOWN_VALUE = 0;
       /**
+       *
+       *
        * 
        * Policy is compliant.
        * The policy is compliant if all the underlying resources are also
@@ -468,6 +577,8 @@ public enum ComplianceState
        */
       public static final int COMPLIANT_VALUE = 1;
       /**
+       *
+       *
        * 
        * Policy is non-compliant.
        * The policy is non-compliant if one or more underlying resources are
@@ -478,7 +589,6 @@ public enum ComplianceState
        */
       public static final int NON_COMPLIANT_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -503,10 +613,14 @@ public static ComplianceState valueOf(int value) {
        */
       public static ComplianceState forNumber(int value) {
         switch (value) {
-          case 0: return UNKNOWN;
-          case 1: return COMPLIANT;
-          case 2: return NON_COMPLIANT;
-          default: return null;
+          case 0:
+            return UNKNOWN;
+          case 1:
+            return COMPLIANT;
+          case 2:
+            return NON_COMPLIANT;
+          default:
+            return null;
         }
       }
 
@@ -514,29 +628,32 @@ public static ComplianceState forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          ComplianceState> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public ComplianceState findValueByNumber(int number) {
-                return ComplianceState.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap
+          internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap() {
+                public ComplianceState findValueByNumber(int number) {
+                  return ComplianceState.forNumber(number);
+                }
+              };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance
+            .getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final ComplianceState[] VALUES = values();
@@ -544,8 +661,7 @@ public ComplianceState findValueByNumber(int number) {
       public static ComplianceState valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -562,99 +678,147 @@ private ComplianceState(int value) {
       // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState)
     }
 
-    public interface OSPolicyResourceComplianceOrBuilder extends
+    public interface OSPolicyResourceComplianceOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * The ID of the OS policy resource.
        * 
* * string os_policy_resource_id = 1; + * * @return The osPolicyResourceId. */ java.lang.String getOsPolicyResourceId(); /** + * + * *
        * The ID of the OS policy resource.
        * 
* * string os_policy_resource_id = 1; + * * @return The bytes for osPolicyResourceId. */ - com.google.protobuf.ByteString - getOsPolicyResourceIdBytes(); + com.google.protobuf.ByteString getOsPolicyResourceIdBytes(); /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - java.util.List + java.util.List< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> getConfigStepsList(); /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getConfigSteps(int index); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + getConfigSteps(int index); /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ int getConfigStepsCount(); /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> getConfigStepsOrBuilderList(); /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder( - int index); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder + getConfigStepsOrBuilder(int index); /** + * + * *
        * The compliance state of the resource.
        * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * * @return The enum numeric value on the wire for complianceState. */ int getComplianceStateValue(); /** + * + * *
        * The compliance state of the resource.
        * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * * @return The complianceState. */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState getComplianceState(); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState + getComplianceState(); /** + * + * *
        * A reason for the resource to be in the given compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -671,10 +835,13 @@ com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolic
        * 
* * string compliance_state_reason = 4; + * * @return The complianceStateReason. */ java.lang.String getComplianceStateReason(); /** + * + * *
        * A reason for the resource to be in the given compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -691,56 +858,82 @@ com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolic
        * 
* * string compliance_state_reason = 4; + * * @return The bytes for complianceStateReason. */ - com.google.protobuf.ByteString - getComplianceStateReasonBytes(); + com.google.protobuf.ByteString getComplianceStateReasonBytes(); /** + * + * *
        * ExecResource specific output.
        * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * * @return Whether the execResourceOutput field is set. */ boolean hasExecResourceOutput(); /** + * + * *
        * ExecResource specific output.
        * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * * @return The execResourceOutput. */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput(); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + getExecResourceOutput(); /** + * + * *
        * ExecResource specific output.
        * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder(); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder + getExecResourceOutputOrBuilder(); - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OutputCase getOutputCase(); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OutputCase + getOutputCase(); } /** + * + * *
      * Compliance data for an OS policy resource.
      * 
* - * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance} + * Protobuf type {@code + * google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance} */ - public static final class OSPolicyResourceCompliance extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class OSPolicyResourceCompliance + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) OSPolicyResourceComplianceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSPolicyResourceCompliance.newBuilder() to construct. - private OSPolicyResourceCompliance(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private OSPolicyResourceCompliance( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OSPolicyResourceCompliance() { osPolicyResourceId_ = ""; configSteps_ = java.util.Collections.emptyList(); @@ -750,16 +943,15 @@ private OSPolicyResourceCompliance() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OSPolicyResourceCompliance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OSPolicyResourceCompliance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -779,54 +971,77 @@ private OSPolicyResourceCompliance( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyResourceId_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - configSteps_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + osPolicyResourceId_ = s; + break; } - configSteps_.add( - input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.parser(), extensionRegistry)); - break; - } - case 24: { - int rawValue = input.readEnum(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + configSteps_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep>(); + mutable_bitField0_ |= 0x00000001; + } + configSteps_.add( + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.parser(), + extensionRegistry)); + break; + } + case 24: + { + int rawValue = input.readEnum(); - complianceState_ = rawValue; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + complianceState_ = rawValue; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - complianceStateReason_ = s; - break; - } - case 42: { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder subBuilder = null; - if (outputCase_ == 5) { - subBuilder = ((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_).toBuilder(); + complianceStateReason_ = s; + break; } - output_ = - input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_); - output_ = subBuilder.buildPartial(); + case 42: + { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.Builder + subBuilder = null; + if (outputCase_ == 5) { + subBuilder = + ((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + output_) + .toBuilder(); + } + output_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + output_); + output_ = subBuilder.buildPartial(); + } + outputCase_ = 5; + break; } - outputCase_ = 5; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -834,8 +1049,8 @@ private OSPolicyResourceCompliance( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { configSteps_ = java.util.Collections.unmodifiableList(configSteps_); @@ -844,29 +1059,38 @@ private OSPolicyResourceCompliance( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.class, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder.class); } /** + * + * *
        * Possible compliance states for a resource.
        * 
* - * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState} + * Protobuf enum {@code + * google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState} */ - public enum ComplianceState - implements com.google.protobuf.ProtocolMessageEnum { + public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
          * The resource is in an unknown compliance state.
          * To get more details about why the policy is in this state, review
@@ -877,6 +1101,8 @@ public enum ComplianceState
          */
         UNKNOWN(0),
         /**
+         *
+         *
          * 
          * Resource is compliant.
          * 
@@ -885,6 +1111,8 @@ public enum ComplianceState */ COMPLIANT(1), /** + * + * *
          * Resource is non-compliant.
          * 
@@ -896,6 +1124,8 @@ public enum ComplianceState ; /** + * + * *
          * The resource is in an unknown compliance state.
          * To get more details about why the policy is in this state, review
@@ -906,6 +1136,8 @@ public enum ComplianceState
          */
         public static final int UNKNOWN_VALUE = 0;
         /**
+         *
+         *
          * 
          * Resource is compliant.
          * 
@@ -914,6 +1146,8 @@ public enum ComplianceState */ public static final int COMPLIANT_VALUE = 1; /** + * + * *
          * Resource is non-compliant.
          * 
@@ -922,7 +1156,6 @@ public enum ComplianceState */ public static final int NON_COMPLIANT_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -947,10 +1180,14 @@ public static ComplianceState valueOf(int value) { */ public static ComplianceState forNumber(int value) { switch (value) { - case 0: return UNKNOWN; - case 1: return COMPLIANT; - case 2: return NON_COMPLIANT; - default: return null; + case 0: + return UNKNOWN; + case 1: + return COMPLIANT; + case 2: + return NON_COMPLIANT; + default: + return null; } } @@ -958,29 +1195,32 @@ public static ComplianceState forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ComplianceState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ComplianceState findValueByNumber(int number) { - return ComplianceState.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ComplianceState findValueByNumber(int number) { + return ComplianceState.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.getDescriptor() + .getEnumTypes() + .get(0); } private static final ComplianceState[] VALUES = values(); @@ -989,7 +1229,7 @@ public static ComplianceState valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -1006,68 +1246,92 @@ private ComplianceState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState) } - public interface OSPolicyResourceConfigStepOrBuilder extends + public interface OSPolicyResourceConfigStepOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Configuration step type.
          * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
          * Configuration step type.
          * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * * @return The type. */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type getType(); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type + getType(); /** + * + * *
          * An error message recorded during the execution of this step.
          * Only populated if errors were encountered during this step execution.
          * 
* * string error_message = 2; + * * @return The errorMessage. */ java.lang.String getErrorMessage(); /** + * + * *
          * An error message recorded during the execution of this step.
          * Only populated if errors were encountered during this step execution.
          * 
* * string error_message = 2; + * * @return The bytes for errorMessage. */ - com.google.protobuf.ByteString - getErrorMessageBytes(); + com.google.protobuf.ByteString getErrorMessageBytes(); } /** + * + * *
        * Step performed by the OS Config agent for configuring an
        * `OSPolicy` resource to its desired state.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep} + * Protobuf type {@code + * google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep} */ - public static final class OSPolicyResourceConfigStep extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class OSPolicyResourceConfigStep + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) OSPolicyResourceConfigStepOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSPolicyResourceConfigStep.newBuilder() to construct. - private OSPolicyResourceConfigStep(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private OSPolicyResourceConfigStep( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OSPolicyResourceConfigStep() { type_ = 0; errorMessage_ = ""; @@ -1075,16 +1339,15 @@ private OSPolicyResourceConfigStep() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OSPolicyResourceConfigStep(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OSPolicyResourceConfigStep( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1103,25 +1366,27 @@ private OSPolicyResourceConfigStep( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + type_ = rawValue; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - errorMessage_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + errorMessage_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1129,36 +1394,45 @@ private OSPolicyResourceConfigStep( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.class, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder.class); } /** + * + * *
          * Supported configuration step types
          * 
* - * Protobuf enum {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type} + * Protobuf enum {@code + * google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
            * Default value. This value is unused.
            * 
@@ -1167,6 +1441,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
            * Checks for resource conflicts such as schema errors.
            * 
@@ -1175,6 +1451,8 @@ public enum Type */ VALIDATION(1), /** + * + * *
            * Checks the current status of the desired state for a resource.
            * 
@@ -1183,6 +1461,8 @@ public enum Type */ DESIRED_STATE_CHECK(2), /** + * + * *
            * Enforces the desired state for a resource that is not in desired
            * state.
@@ -1192,6 +1472,8 @@ public enum Type
            */
           DESIRED_STATE_ENFORCEMENT(3),
           /**
+           *
+           *
            * 
            * Re-checks the status of the desired state. This check is done
            * for a resource after the enforcement of all OS policies.
@@ -1208,6 +1490,8 @@ public enum Type
           ;
 
           /**
+           *
+           *
            * 
            * Default value. This value is unused.
            * 
@@ -1216,6 +1500,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
            * Checks for resource conflicts such as schema errors.
            * 
@@ -1224,6 +1510,8 @@ public enum Type */ public static final int VALIDATION_VALUE = 1; /** + * + * *
            * Checks the current status of the desired state for a resource.
            * 
@@ -1232,6 +1520,8 @@ public enum Type */ public static final int DESIRED_STATE_CHECK_VALUE = 2; /** + * + * *
            * Enforces the desired state for a resource that is not in desired
            * state.
@@ -1241,6 +1531,8 @@ public enum Type
            */
           public static final int DESIRED_STATE_ENFORCEMENT_VALUE = 3;
           /**
+           *
+           *
            * 
            * Re-checks the status of the desired state. This check is done
            * for a resource after the enforcement of all OS policies.
@@ -1254,7 +1546,6 @@ public enum Type
            */
           public static final int DESIRED_STATE_CHECK_POST_ENFORCEMENT_VALUE = 4;
 
-
           public final int getNumber() {
             if (this == UNRECOGNIZED) {
               throw new java.lang.IllegalArgumentException(
@@ -1279,51 +1570,57 @@ public static Type valueOf(int value) {
            */
           public static Type forNumber(int value) {
             switch (value) {
-              case 0: return TYPE_UNSPECIFIED;
-              case 1: return VALIDATION;
-              case 2: return DESIRED_STATE_CHECK;
-              case 3: return DESIRED_STATE_ENFORCEMENT;
-              case 4: return DESIRED_STATE_CHECK_POST_ENFORCEMENT;
-              default: return null;
+              case 0:
+                return TYPE_UNSPECIFIED;
+              case 1:
+                return VALIDATION;
+              case 2:
+                return DESIRED_STATE_CHECK;
+              case 3:
+                return DESIRED_STATE_ENFORCEMENT;
+              case 4:
+                return DESIRED_STATE_CHECK_POST_ENFORCEMENT;
+              default:
+                return null;
             }
           }
 
-          public static com.google.protobuf.Internal.EnumLiteMap
-              internalGetValueMap() {
+          public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
             return internalValueMap;
           }
-          private static final com.google.protobuf.Internal.EnumLiteMap<
-              Type> internalValueMap =
-                new com.google.protobuf.Internal.EnumLiteMap() {
-                  public Type findValueByNumber(int number) {
-                    return Type.forNumber(number);
-                  }
-                };
 
-          public final com.google.protobuf.Descriptors.EnumValueDescriptor
-              getValueDescriptor() {
+          private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap() {
+                public Type findValueByNumber(int number) {
+                  return Type.forNumber(number);
+                }
+              };
+
+          public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
             if (this == UNRECOGNIZED) {
               throw new java.lang.IllegalStateException(
                   "Can't get the descriptor of an unrecognized enum value.");
             }
             return getDescriptor().getValues().get(ordinal());
           }
-          public final com.google.protobuf.Descriptors.EnumDescriptor
-              getDescriptorForType() {
+
+          public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
             return getDescriptor();
           }
-          public static final com.google.protobuf.Descriptors.EnumDescriptor
-              getDescriptor() {
-            return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDescriptor().getEnumTypes().get(0);
+
+          public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+            return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance
+                .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDescriptor()
+                .getEnumTypes()
+                .get(0);
           }
 
           private static final Type[] VALUES = values();
 
-          public static Type valueOf(
-              com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+          public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
             if (desc.getType() != getDescriptor()) {
               throw new java.lang.IllegalArgumentException(
-                "EnumValueDescriptor is not for this type.");
+                  "EnumValueDescriptor is not for this type.");
             }
             if (desc.getIndex() == -1) {
               return UNRECOGNIZED;
@@ -1343,39 +1640,63 @@ private Type(int value) {
         public static final int TYPE_FIELD_NUMBER = 1;
         private int type_;
         /**
+         *
+         *
          * 
          * Configuration step type.
          * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
          * Configuration step type.
          * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type getType() { + @java.lang.Override + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type + getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type result = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.valueOf(type_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type + result = + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.valueOf(type_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.UNRECOGNIZED + : result; } public static final int ERROR_MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object errorMessage_; /** + * + * *
          * An error message recorded during the execution of this step.
          * Only populated if errors were encountered during this step execution.
          * 
* * string error_message = 2; + * * @return The errorMessage. */ @java.lang.Override @@ -1384,30 +1705,30 @@ public java.lang.String getErrorMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } } /** + * + * *
          * An error message recorded during the execution of this step.
          * Only populated if errors were encountered during this step execution.
          * 
* * string error_message = 2; + * * @return The bytes for errorMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getErrorMessageBytes() { + public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -1416,6 +1737,7 @@ public java.lang.String getErrorMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1428,8 +1750,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED.getNumber()) { + throws java.io.IOException { + if (type_ + != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { @@ -1444,9 +1769,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMessage_); @@ -1459,16 +1786,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep other = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) obj; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + other = + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep) + obj; if (type_ != other.type_) return false; - if (!getErrorMessage() - .equals(other.getErrorMessage())) return false; + if (!getErrorMessage().equals(other.getErrorMessage())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1489,88 +1823,119 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1580,45 +1945,54 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Step performed by the OS Config agent for configuring an
          * `OSPolicy` resource to its desired state.
          * 
* - * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep} + * Protobuf type {@code + * google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.class, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder.class); } - // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1630,19 +2004,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep build() { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep result = buildPartial(); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + build() { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1650,8 +2031,14 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance. } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep buildPartial() { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep result = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep(this); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + buildPartial() { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + result = + new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep(this); result.type_ = type_; result.errorMessage_ = errorMessage_; onBuilt(); @@ -1662,46 +2049,61 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance. public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep)other); + if (other + instanceof + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep) { + return mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep other) { - if (other == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + other) { + if (other + == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()) + return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -1724,11 +2126,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parsedMessage = null; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1740,73 +2147,111 @@ public Builder mergeFrom( private int type_ = 0; /** + * + * *
            * Configuration step type.
            * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
            * Configuration step type.
            * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
            * Configuration step type.
            * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * * @return The type. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type getType() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type + getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type result = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.valueOf(type_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type + result = + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.valueOf(type_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.UNRECOGNIZED + : result; } /** + * + * *
            * Configuration step type.
            * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type value) { + public Builder setType( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type + value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
            * Configuration step type.
            * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1814,19 +2259,21 @@ public Builder clearType() { private java.lang.Object errorMessage_ = ""; /** + * + * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; + * * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; @@ -1835,21 +2282,22 @@ public java.lang.String getErrorMessage() { } } /** + * + * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; + * * @return The bytes for errorMessage. */ - public com.google.protobuf.ByteString - getErrorMessageBytes() { + public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -1857,61 +2305,69 @@ public java.lang.String getErrorMessage() { } } /** + * + * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; + * * @param value The errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessage( - java.lang.String value) { + public Builder setErrorMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorMessage_ = value; onChanged(); return this; } /** + * + * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; + * * @return This builder for chaining. */ public Builder clearErrorMessage() { - + errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** + * + * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; + * * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorMessage_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1924,30 +2380,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) - private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentReport + .OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep(); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyResourceConfigStep parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyResourceConfigStep(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyResourceConfigStep parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyResourceConfigStep(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1959,59 +2421,67 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ExecResourceOutputOrBuilder extends + public interface ExecResourceOutputOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Output from enforcement phase output file (if run).
          * Output size is limited to 100K bytes.
          * 
* * bytes enforcement_output = 2; + * * @return The enforcementOutput. */ com.google.protobuf.ByteString getEnforcementOutput(); } /** + * + * *
        * ExecResource specific output.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput} + * Protobuf type {@code + * google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput} */ - public static final class ExecResourceOutput extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ExecResourceOutput extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) ExecResourceOutputOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecResourceOutput.newBuilder() to construct. private ExecResourceOutput(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExecResourceOutput() { enforcementOutput_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExecResourceOutput(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExecResourceOutput( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2030,18 +2500,18 @@ private ExecResourceOutput( case 0: done = true; break; - case 18: { - - enforcementOutput_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + enforcementOutput_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2049,35 +2519,43 @@ private ExecResourceOutput( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.class, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); } public static final int ENFORCEMENT_OUTPUT_FIELD_NUMBER = 2; private com.google.protobuf.ByteString enforcementOutput_; /** + * + * *
          * Output from enforcement phase output file (if run).
          * Output size is limited to 100K bytes.
          * 
* * bytes enforcement_output = 2; + * * @return The enforcementOutput. */ @java.lang.Override @@ -2086,6 +2564,7 @@ public com.google.protobuf.ByteString getEnforcementOutput() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2098,7 +2577,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!enforcementOutput_.isEmpty()) { output.writeBytes(2, enforcementOutput_); } @@ -2112,8 +2591,7 @@ public int getSerializedSize() { size = 0; if (!enforcementOutput_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, enforcementOutput_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, enforcementOutput_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2123,15 +2601,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput other = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) obj; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + other = + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + obj; - if (!getEnforcementOutput() - .equals(other.getEnforcementOutput())) return false; + if (!getEnforcementOutput().equals(other.getEnforcementOutput())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2150,88 +2635,119 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2241,44 +2757,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * ExecResource specific output.
          * 
* - * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput} + * Protobuf type {@code + * google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.class, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); } - // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2288,19 +2813,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput build() { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput result = buildPartial(); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + build() { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2308,8 +2840,14 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance. } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput buildPartial() { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput result = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput(this); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + buildPartial() { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + result = + new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput(this); result.enforcementOutput_ = enforcementOutput_; onBuilt(); return result; @@ -2319,46 +2857,61 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance. public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput)other); + if (other + instanceof + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) { + return mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput other) { - if (other == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + other) { + if (other + == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) + return this; if (other.getEnforcementOutput() != com.google.protobuf.ByteString.EMPTY) { setEnforcementOutput(other.getEnforcementOutput()); } @@ -2377,11 +2930,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parsedMessage = null; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2391,14 +2949,18 @@ public Builder mergeFrom( return this; } - private com.google.protobuf.ByteString enforcementOutput_ = com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString enforcementOutput_ = + com.google.protobuf.ByteString.EMPTY; /** + * + * *
            * Output from enforcement phase output file (if run).
            * Output size is limited to 100K bytes.
            * 
* * bytes enforcement_output = 2; + * * @return The enforcementOutput. */ @java.lang.Override @@ -2406,39 +2968,46 @@ public com.google.protobuf.ByteString getEnforcementOutput() { return enforcementOutput_; } /** + * + * *
            * Output from enforcement phase output file (if run).
            * Output size is limited to 100K bytes.
            * 
* * bytes enforcement_output = 2; + * * @param value The enforcementOutput to set. * @return This builder for chaining. */ public Builder setEnforcementOutput(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + enforcementOutput_ = value; onChanged(); return this; } /** + * + * *
            * Output from enforcement phase output file (if run).
            * Output size is limited to 100K bytes.
            * 
* * bytes enforcement_output = 2; + * * @return This builder for chaining. */ public Builder clearEnforcementOutput() { - + enforcementOutput_ = getDefaultInstance().getEnforcementOutput(); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2451,30 +3020,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) - private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentReport + .OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput(); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecResourceOutput parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecResourceOutput(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecResourceOutput parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecResourceOutput(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2486,20 +3061,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int outputCase_ = 0; private java.lang.Object output_; + public enum OutputCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { EXEC_RESOURCE_OUTPUT(5), OUTPUT_NOT_SET(0); private final int value; + private OutputCase(int value) { this.value = value; } @@ -2515,30 +3094,35 @@ public static OutputCase valueOf(int value) { public static OutputCase forNumber(int value) { switch (value) { - case 5: return EXEC_RESOURCE_OUTPUT; - case 0: return OUTPUT_NOT_SET; - default: return null; + case 5: + return EXEC_RESOURCE_OUTPUT; + case 0: + return OUTPUT_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OutputCase - getOutputCase() { - return OutputCase.forNumber( - outputCase_); + public OutputCase getOutputCase() { + return OutputCase.forNumber(outputCase_); } public static final int OS_POLICY_RESOURCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object osPolicyResourceId_; /** + * + * *
        * The ID of the OS policy resource.
        * 
* * string os_policy_resource_id = 1; + * * @return The osPolicyResourceId. */ @java.lang.Override @@ -2547,29 +3131,29 @@ public java.lang.String getOsPolicyResourceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyResourceId_ = s; return s; } } /** + * + * *
        * The ID of the OS policy resource.
        * 
* * string os_policy_resource_id = 1; + * * @return The bytes for osPolicyResourceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsPolicyResourceIdBytes() { + public com.google.protobuf.ByteString getOsPolicyResourceIdBytes() { java.lang.Object ref = osPolicyResourceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyResourceId_ = b; return b; } else { @@ -2578,100 +3162,155 @@ public java.lang.String getOsPolicyResourceId() { } public static final int CONFIG_STEPS_FIELD_NUMBER = 2; - private java.util.List configSteps_; + private java.util.List< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> + configSteps_; /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ @java.lang.Override - public java.util.List getConfigStepsList() { + public java.util.List< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> + getConfigStepsList() { return configSteps_; } /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> getConfigStepsOrBuilderList() { return configSteps_; } /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ @java.lang.Override public int getConfigStepsCount() { return configSteps_.size(); } /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getConfigSteps(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + getConfigSteps(int index) { return configSteps_.get(index); } /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder + getConfigStepsOrBuilder(int index) { return configSteps_.get(index); } public static final int COMPLIANCE_STATE_FIELD_NUMBER = 3; private int complianceState_; /** + * + * *
        * The compliance state of the resource.
        * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * * @return The enum numeric value on the wire for complianceState. */ - @java.lang.Override public int getComplianceStateValue() { + @java.lang.Override + public int getComplianceStateValue() { return complianceState_; } /** + * + * *
        * The compliance state of the resource.
        * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * * @return The complianceState. */ - @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState getComplianceState() { + @java.lang.Override + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState + getComplianceState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState result = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.valueOf(complianceState_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState + result = + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState.valueOf(complianceState_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState.UNRECOGNIZED + : result; } public static final int COMPLIANCE_STATE_REASON_FIELD_NUMBER = 4; private volatile java.lang.Object complianceStateReason_; /** + * + * *
        * A reason for the resource to be in the given compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -2688,6 +3327,7 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.
        * 
* * string compliance_state_reason = 4; + * * @return The complianceStateReason. */ @java.lang.Override @@ -2696,14 +3336,15 @@ public java.lang.String getComplianceStateReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); complianceStateReason_ = s; return s; } } /** + * + * *
        * A reason for the resource to be in the given compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -2720,16 +3361,15 @@ public java.lang.String getComplianceStateReason() {
        * 
* * string compliance_state_reason = 4; + * * @return The bytes for complianceStateReason. */ @java.lang.Override - public com.google.protobuf.ByteString - getComplianceStateReasonBytes() { + public com.google.protobuf.ByteString getComplianceStateReasonBytes() { java.lang.Object ref = complianceStateReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); complianceStateReason_ = b; return b; } else { @@ -2739,11 +3379,16 @@ public java.lang.String getComplianceStateReason() { public static final int EXEC_RESOURCE_OUTPUT_FIELD_NUMBER = 5; /** + * + * *
        * ExecResource specific output.
        * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * * @return Whether the execResourceOutput field is set. */ @java.lang.Override @@ -2751,36 +3396,56 @@ public boolean hasExecResourceOutput() { return outputCase_ == 5; } /** + * + * *
        * ExecResource specific output.
        * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * * @return The execResourceOutput. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + getExecResourceOutput() { if (outputCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_; + return (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + output_; } - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } /** + * + * *
        * ExecResource specific output.
        * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder + getExecResourceOutputOrBuilder() { if (outputCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_; + return (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + output_; } - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2792,22 +3457,28 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyResourceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osPolicyResourceId_); } for (int i = 0; i < configSteps_.size(); i++) { output.writeMessage(2, configSteps_.get(i)); } - if (complianceState_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.UNKNOWN.getNumber()) { + if (complianceState_ + != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState.UNKNOWN + .getNumber()) { output.writeEnum(3, complianceState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(complianceStateReason_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, complianceStateReason_); } if (outputCase_ == 5) { - output.writeMessage(5, (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_); + output.writeMessage( + 5, + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + output_); } unknownFields.writeTo(output); } @@ -2822,19 +3493,25 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, osPolicyResourceId_); } for (int i = 0; i < configSteps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, configSteps_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, configSteps_.get(i)); } - if (complianceState_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, complianceState_); + if (complianceState_ + != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState.UNKNOWN + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, complianceState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(complianceStateReason_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, complianceStateReason_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(4, complianceStateReason_); } if (outputCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + output_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2844,25 +3521,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance other = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) obj; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + other = + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance) + obj; - if (!getOsPolicyResourceId() - .equals(other.getOsPolicyResourceId())) return false; - if (!getConfigStepsList() - .equals(other.getConfigStepsList())) return false; + if (!getOsPolicyResourceId().equals(other.getOsPolicyResourceId())) return false; + if (!getConfigStepsList().equals(other.getConfigStepsList())) return false; if (complianceState_ != other.complianceState_) return false; - if (!getComplianceStateReason() - .equals(other.getComplianceStateReason())) return false; + if (!getComplianceStateReason().equals(other.getComplianceStateReason())) return false; if (!getOutputCase().equals(other.getOutputCase())) return false; switch (outputCase_) { case 5: - if (!getExecResourceOutput() - .equals(other.getExecResourceOutput())) return false; + if (!getExecResourceOutput().equals(other.getExecResourceOutput())) return false; break; case 0: default: @@ -2901,88 +3582,117 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2992,45 +3702,55 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Compliance data for an OS policy resource.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance} + * Protobuf type {@code + * google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.class, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder.class); } - // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getConfigStepsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -3052,19 +3772,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance build() { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance result = buildPartial(); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + build() { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3072,8 +3799,14 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance. } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance buildPartial() { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance result = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance(this); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + buildPartial() { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + result = + new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance(this); int from_bitField0_ = bitField0_; result.osPolicyResourceId_ = osPolicyResourceId_; if (configStepsBuilder_ == null) { @@ -3103,46 +3836,60 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance. public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance)other); + if (other + instanceof + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance) { + return mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance other) { - if (other == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + other) { + if (other + == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.getDefaultInstance()) return this; if (!other.getOsPolicyResourceId().isEmpty()) { osPolicyResourceId_ = other.osPolicyResourceId_; onChanged(); @@ -3165,9 +3912,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.O configStepsBuilder_ = null; configSteps_ = other.configSteps_; bitField0_ = (bitField0_ & ~0x00000001); - configStepsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getConfigStepsFieldBuilder() : null; + configStepsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getConfigStepsFieldBuilder() + : null; } else { configStepsBuilder_.addAllMessages(other.configSteps_); } @@ -3181,13 +3929,15 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.O onChanged(); } switch (other.getOutputCase()) { - case EXEC_RESOURCE_OUTPUT: { - mergeExecResourceOutput(other.getExecResourceOutput()); - break; - } - case OUTPUT_NOT_SET: { - break; - } + case EXEC_RESOURCE_OUTPUT: + { + mergeExecResourceOutput(other.getExecResourceOutput()); + break; + } + case OUTPUT_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -3204,11 +3954,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parsedMessage = null; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3217,12 +3972,12 @@ public Builder mergeFrom( } return this; } + private int outputCase_ = 0; private java.lang.Object output_; - public OutputCase - getOutputCase() { - return OutputCase.forNumber( - outputCase_); + + public OutputCase getOutputCase() { + return OutputCase.forNumber(outputCase_); } public Builder clearOutput() { @@ -3236,18 +3991,20 @@ public Builder clearOutput() { private java.lang.Object osPolicyResourceId_ = ""; /** + * + * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; + * * @return The osPolicyResourceId. */ public java.lang.String getOsPolicyResourceId() { java.lang.Object ref = osPolicyResourceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyResourceId_ = s; return s; @@ -3256,20 +4013,21 @@ public java.lang.String getOsPolicyResourceId() { } } /** + * + * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; + * * @return The bytes for osPolicyResourceId. */ - public com.google.protobuf.ByteString - getOsPolicyResourceIdBytes() { + public com.google.protobuf.ByteString getOsPolicyResourceIdBytes() { java.lang.Object ref = osPolicyResourceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyResourceId_ = b; return b; } else { @@ -3277,80 +4035,106 @@ public java.lang.String getOsPolicyResourceId() { } } /** + * + * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; + * * @param value The osPolicyResourceId to set. * @return This builder for chaining. */ - public Builder setOsPolicyResourceId( - java.lang.String value) { + public Builder setOsPolicyResourceId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyResourceId_ = value; onChanged(); return this; } /** + * + * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; + * * @return This builder for chaining. */ public Builder clearOsPolicyResourceId() { - + osPolicyResourceId_ = getDefaultInstance().getOsPolicyResourceId(); onChanged(); return this; } /** + * + * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; + * * @param value The bytes for osPolicyResourceId to set. * @return This builder for chaining. */ - public Builder setOsPolicyResourceIdBytes( - com.google.protobuf.ByteString value) { + public Builder setOsPolicyResourceIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyResourceId_ = value; onChanged(); return this; } - private java.util.List configSteps_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> + configSteps_ = java.util.Collections.emptyList(); + private void ensureConfigStepsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - configSteps_ = new java.util.ArrayList(configSteps_); + configSteps_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep>(configSteps_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> configStepsBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> + configStepsBuilder_; /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - public java.util.List getConfigStepsList() { + public java.util.List< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> + getConfigStepsList() { if (configStepsBuilder_ == null) { return java.util.Collections.unmodifiableList(configSteps_); } else { @@ -3358,12 +4142,16 @@ public java.util.List * Ordered list of configuration completed by the agent for the OS policy * resource. *
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ public int getConfigStepsCount() { if (configStepsBuilder_ == null) { @@ -3373,14 +4161,20 @@ public int getConfigStepsCount() { } } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getConfigSteps(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + getConfigSteps(int index) { if (configStepsBuilder_ == null) { return configSteps_.get(index); } else { @@ -3388,15 +4182,22 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance. } } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder setConfigSteps( - int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep value) { + int index, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + value) { if (configStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3410,15 +4211,22 @@ public Builder setConfigSteps( return this; } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder setConfigSteps( - int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder + builderForValue) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); configSteps_.set(index, builderForValue.build()); @@ -3429,14 +4237,21 @@ public Builder setConfigSteps( return this; } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - public Builder addConfigSteps(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep value) { + public Builder addConfigSteps( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + value) { if (configStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3450,15 +4265,22 @@ public Builder addConfigSteps(com.google.cloud.osconfig.v1.OSPolicyAssignmentRep return this; } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder addConfigSteps( - int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep value) { + int index, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + value) { if (configStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3472,15 +4294,21 @@ public Builder addConfigSteps( return this; } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder addConfigSteps( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder builderForValue) { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder + builderForValue) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); configSteps_.add(builderForValue.build()); @@ -3491,15 +4319,22 @@ public Builder addConfigSteps( return this; } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder addConfigSteps( - int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder + builderForValue) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); configSteps_.add(index, builderForValue.build()); @@ -3510,19 +4345,26 @@ public Builder addConfigSteps( return this; } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder addAllConfigSteps( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> + values) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, configSteps_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, configSteps_); onChanged(); } else { configStepsBuilder_.addAllMessages(values); @@ -3530,12 +4372,16 @@ public Builder addAllConfigSteps( return this; } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder clearConfigSteps() { if (configStepsBuilder_ == null) { @@ -3548,12 +4394,16 @@ public Builder clearConfigSteps() { return this; } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder removeConfigSteps(int index) { if (configStepsBuilder_ == null) { @@ -3566,42 +4416,60 @@ public Builder removeConfigSteps(int index) { return this; } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder getConfigStepsBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder + getConfigStepsBuilder(int index) { return getConfigStepsFieldBuilder().getBuilder(index); } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder + getConfigStepsOrBuilder(int index) { if (configStepsBuilder_ == null) { - return configSteps_.get(index); } else { + return configSteps_.get(index); + } else { return configStepsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - public java.util.List - getConfigStepsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> + getConfigStepsOrBuilderList() { if (configStepsBuilder_ != null) { return configStepsBuilder_.getMessageOrBuilderList(); } else { @@ -3609,48 +4477,82 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance. } } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder addConfigStepsBuilder() { - return getConfigStepsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder + addConfigStepsBuilder() { + return getConfigStepsFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()); } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder addConfigStepsBuilder( - int index) { - return getConfigStepsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder + addConfigStepsBuilder(int index) { + return getConfigStepsFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()); } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - public java.util.List - getConfigStepsBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder> + getConfigStepsBuilderList() { return getConfigStepsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> getConfigStepsFieldBuilder() { if (configStepsBuilder_ == null) { - configStepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder>( + configStepsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder>( configSteps_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3662,73 +4564,111 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance. private int complianceState_ = 0; /** + * + * *
          * The compliance state of the resource.
          * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * * @return The enum numeric value on the wire for complianceState. */ - @java.lang.Override public int getComplianceStateValue() { + @java.lang.Override + public int getComplianceStateValue() { return complianceState_; } /** + * + * *
          * The compliance state of the resource.
          * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * * @param value The enum numeric value on the wire for complianceState to set. * @return This builder for chaining. */ public Builder setComplianceStateValue(int value) { - + complianceState_ = value; onChanged(); return this; } /** + * + * *
          * The compliance state of the resource.
          * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * * @return The complianceState. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState getComplianceState() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState + getComplianceState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState result = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.valueOf(complianceState_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState + result = + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState.valueOf(complianceState_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState.UNRECOGNIZED + : result; } /** + * + * *
          * The compliance state of the resource.
          * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * * @param value The complianceState to set. * @return This builder for chaining. */ - public Builder setComplianceState(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState value) { + public Builder setComplianceState( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState + value) { if (value == null) { throw new NullPointerException(); } - + complianceState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
          * The compliance state of the resource.
          * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * * @return This builder for chaining. */ public Builder clearComplianceState() { - + complianceState_ = 0; onChanged(); return this; @@ -3736,6 +4676,8 @@ public Builder clearComplianceState() { private java.lang.Object complianceStateReason_ = ""; /** + * + * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -3752,13 +4694,13 @@ public Builder clearComplianceState() {
          * 
* * string compliance_state_reason = 4; + * * @return The complianceStateReason. */ public java.lang.String getComplianceStateReason() { java.lang.Object ref = complianceStateReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); complianceStateReason_ = s; return s; @@ -3767,6 +4709,8 @@ public java.lang.String getComplianceStateReason() { } } /** + * + * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -3783,15 +4727,14 @@ public java.lang.String getComplianceStateReason() {
          * 
* * string compliance_state_reason = 4; + * * @return The bytes for complianceStateReason. */ - public com.google.protobuf.ByteString - getComplianceStateReasonBytes() { + public com.google.protobuf.ByteString getComplianceStateReasonBytes() { java.lang.Object ref = complianceStateReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); complianceStateReason_ = b; return b; } else { @@ -3799,6 +4742,8 @@ public java.lang.String getComplianceStateReason() { } } /** + * + * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -3815,20 +4760,22 @@ public java.lang.String getComplianceStateReason() {
          * 
* * string compliance_state_reason = 4; + * * @param value The complianceStateReason to set. * @return This builder for chaining. */ - public Builder setComplianceStateReason( - java.lang.String value) { + public Builder setComplianceStateReason(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + complianceStateReason_ = value; onChanged(); return this; } /** + * + * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -3845,15 +4792,18 @@ public Builder setComplianceStateReason(
          * 
* * string compliance_state_reason = 4; + * * @return This builder for chaining. */ public Builder clearComplianceStateReason() { - + complianceStateReason_ = getDefaultInstance().getComplianceStateReason(); onChanged(); return this; } /** + * + * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -3870,29 +4820,40 @@ public Builder clearComplianceStateReason() {
          * 
* * string compliance_state_reason = 4; + * * @param value The bytes for complianceStateReason to set. * @return This builder for chaining. */ - public Builder setComplianceStateReasonBytes( - com.google.protobuf.ByteString value) { + public Builder setComplianceStateReasonBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + complianceStateReason_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> execResourceOutputBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> + execResourceOutputBuilder_; /** + * + * *
          * ExecResource specific output.
          * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * * @return Whether the execResourceOutput field is set. */ @java.lang.Override @@ -3900,35 +4861,53 @@ public boolean hasExecResourceOutput() { return outputCase_ == 5; } /** + * + * *
          * ExecResource specific output.
          * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * * @return The execResourceOutput. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + getExecResourceOutput() { if (execResourceOutputBuilder_ == null) { if (outputCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_; + return (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + output_; } - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } else { if (outputCase_ == 5) { return execResourceOutputBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } } /** + * + * *
          * ExecResource specific output.
          * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * */ - public Builder setExecResourceOutput(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput value) { + public Builder setExecResourceOutput( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + value) { if (execResourceOutputBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3942,14 +4921,20 @@ public Builder setExecResourceOutput(com.google.cloud.osconfig.v1.OSPolicyAssign return this; } /** + * + * *
          * ExecResource specific output.
          * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * */ public Builder setExecResourceOutput( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder builderForValue) { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.Builder + builderForValue) { if (execResourceOutputBuilder_ == null) { output_ = builderForValue.build(); onChanged(); @@ -3960,18 +4945,33 @@ public Builder setExecResourceOutput( return this; } /** + * + * *
          * ExecResource specific output.
          * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * */ - public Builder mergeExecResourceOutput(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput value) { + public Builder mergeExecResourceOutput( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + value) { if (execResourceOutputBuilder_ == null) { - if (outputCase_ == 5 && - output_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) { - output_ = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.newBuilder((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_) - .mergeFrom(value).buildPartial(); + if (outputCase_ == 5 + && output_ + != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) { + output_ = + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.newBuilder( + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + output_) + .mergeFrom(value) + .buildPartial(); } else { output_ = value; } @@ -3987,11 +4987,15 @@ public Builder mergeExecResourceOutput(com.google.cloud.osconfig.v1.OSPolicyAssi return this; } /** + * + * *
          * ExecResource specific output.
          * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * */ public Builder clearExecResourceOutput() { if (execResourceOutputBuilder_ == null) { @@ -4010,58 +5014,94 @@ public Builder clearExecResourceOutput() { return this; } /** + * + * *
          * ExecResource specific output.
          * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder getExecResourceOutputBuilder() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.Builder + getExecResourceOutputBuilder() { return getExecResourceOutputFieldBuilder().getBuilder(); } /** + * + * *
          * ExecResource specific output.
          * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder + getExecResourceOutputOrBuilder() { if ((outputCase_ == 5) && (execResourceOutputBuilder_ != null)) { return execResourceOutputBuilder_.getMessageOrBuilder(); } else { if (outputCase_ == 5) { - return (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_; + return (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + output_; } - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } } /** + * + * *
          * ExecResource specific output.
          * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> getExecResourceOutputFieldBuilder() { if (execResourceOutputBuilder_ == null) { if (!(outputCase_ == 5)) { - output_ = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + output_ = + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } - execResourceOutputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder>( - (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_, + execResourceOutputBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder>( + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + output_, getParentForChildren(), isClean()); output_ = null; } outputCase_ = 5; - onChanged();; + onChanged(); + ; return execResourceOutputBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4074,30 +5114,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) - private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance(); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyResourceCompliance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyResourceCompliance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyResourceCompliance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyResourceCompliance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4109,20 +5155,24 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int OS_POLICY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object osPolicyId_; /** + * + * *
      * The OS policy id
      * 
* * string os_policy_id = 1; + * * @return The osPolicyId. */ @java.lang.Override @@ -4131,29 +5181,29 @@ public java.lang.String getOsPolicyId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyId_ = s; return s; } } /** + * + * *
      * The OS policy id
      * 
* * string os_policy_id = 1; + * * @return The bytes for osPolicyId. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsPolicyIdBytes() { + public com.google.protobuf.ByteString getOsPolicyIdBytes() { java.lang.Object ref = osPolicyId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyId_ = b; return b; } else { @@ -4164,33 +5214,54 @@ public java.lang.String getOsPolicyId() { public static final int COMPLIANCE_STATE_FIELD_NUMBER = 2; private int complianceState_; /** + * + * *
      * The compliance state of the OS policy.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * * @return The enum numeric value on the wire for complianceState. */ - @java.lang.Override public int getComplianceStateValue() { + @java.lang.Override + public int getComplianceStateValue() { return complianceState_; } /** + * + * *
      * The compliance state of the OS policy.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * * @return The complianceState. */ - @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState getComplianceState() { + @java.lang.Override + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState + getComplianceState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState result = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.valueOf(complianceState_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState + result = + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .ComplianceState.valueOf(complianceState_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState + .UNRECOGNIZED + : result; } public static final int COMPLIANCE_STATE_REASON_FIELD_NUMBER = 3; private volatile java.lang.Object complianceStateReason_; /** + * + * *
      * The reason for the OS policy to be in an unknown compliance state.
      * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4213,6 +5284,7 @@ public java.lang.String getOsPolicyId() {
      * 
* * string compliance_state_reason = 3; + * * @return The complianceStateReason. */ @java.lang.Override @@ -4221,14 +5293,15 @@ public java.lang.String getComplianceStateReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); complianceStateReason_ = s; return s; } } /** + * + * *
      * The reason for the OS policy to be in an unknown compliance state.
      * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4251,16 +5324,15 @@ public java.lang.String getComplianceStateReason() {
      * 
* * string compliance_state_reason = 3; + * * @return The bytes for complianceStateReason. */ @java.lang.Override - public com.google.protobuf.ByteString - getComplianceStateReasonBytes() { + public com.google.protobuf.ByteString getComplianceStateReasonBytes() { java.lang.Object ref = complianceStateReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); complianceStateReason_ = b; return b; } else { @@ -4269,71 +5341,104 @@ public java.lang.String getComplianceStateReason() { } public static final int OS_POLICY_RESOURCE_COMPLIANCES_FIELD_NUMBER = 4; - private java.util.List osPolicyResourceCompliances_; + private java.util.List< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance> + osPolicyResourceCompliances_; /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ @java.lang.Override - public java.util.List getOsPolicyResourceCompliancesList() { + public java.util.List< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance> + getOsPolicyResourceCompliancesList() { return osPolicyResourceCompliances_; } /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder> getOsPolicyResourceCompliancesOrBuilderList() { return osPolicyResourceCompliances_; } /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ @java.lang.Override public int getOsPolicyResourceCompliancesCount() { return osPolicyResourceCompliances_.size(); } /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + getOsPolicyResourceCompliances(int index) { return osPolicyResourceCompliances_.get(index); } /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder + getOsPolicyResourceCompliancesOrBuilder(int index) { return osPolicyResourceCompliances_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4345,12 +5450,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osPolicyId_); } - if (complianceState_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.UNKNOWN.getNumber()) { + if (complianceState_ + != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .ComplianceState.UNKNOWN + .getNumber()) { output.writeEnum(2, complianceState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(complianceStateReason_)) { @@ -4371,16 +5478,19 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, osPolicyId_); } - if (complianceState_ != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, complianceState_); + if (complianceState_ + != com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .ComplianceState.UNKNOWN + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, complianceState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(complianceStateReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, complianceStateReason_); } for (int i = 0; i < osPolicyResourceCompliances_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, osPolicyResourceCompliances_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, osPolicyResourceCompliances_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4390,20 +5500,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance other = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) obj; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance other = + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) obj; - if (!getOsPolicyId() - .equals(other.getOsPolicyId())) return false; + if (!getOsPolicyId().equals(other.getOsPolicyId())) return false; if (complianceState_ != other.complianceState_) return false; - if (!getComplianceStateReason() - .equals(other.getComplianceStateReason())) return false; - if (!getOsPolicyResourceCompliancesList() - .equals(other.getOsPolicyResourceCompliancesList())) return false; + if (!getComplianceStateReason().equals(other.getComplianceStateReason())) return false; + if (!getOsPolicyResourceCompliancesList().equals(other.getOsPolicyResourceCompliancesList())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4430,88 +5540,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4521,45 +5644,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Compliance data for an OS policy
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.class, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getOsPolicyResourceCompliancesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -4579,19 +5709,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.getDefaultInstance(); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance build() { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance result = buildPartial(); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4599,15 +5732,18 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance buildPartial() { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance result = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance(this); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + buildPartial() { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance result = + new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance(this); int from_bitField0_ = bitField0_; result.osPolicyId_ = osPolicyId_; result.complianceState_ = complianceState_; result.complianceStateReason_ = complianceStateReason_; if (osPolicyResourceCompliancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); + osPolicyResourceCompliances_ = + java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); bitField0_ = (bitField0_ & ~0x00000001); } result.osPolicyResourceCompliances_ = osPolicyResourceCompliances_; @@ -4622,46 +5758,54 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance)other); + if (other + instanceof com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) { + return mergeFrom( + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance other) { - if (other == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance other) { + if (other + == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .getDefaultInstance()) return this; if (!other.getOsPolicyId().isEmpty()) { osPolicyId_ = other.osPolicyId_; onChanged(); @@ -4691,11 +5835,13 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.O osPolicyResourceCompliancesBuilder_ = null; osPolicyResourceCompliances_ = other.osPolicyResourceCompliances_; bitField0_ = (bitField0_ & ~0x00000001); - osPolicyResourceCompliancesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOsPolicyResourceCompliancesFieldBuilder() : null; + osPolicyResourceCompliancesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOsPolicyResourceCompliancesFieldBuilder() + : null; } else { - osPolicyResourceCompliancesBuilder_.addAllMessages(other.osPolicyResourceCompliances_); + osPolicyResourceCompliancesBuilder_.addAllMessages( + other.osPolicyResourceCompliances_); } } } @@ -4714,11 +5860,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parsedMessage = null; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4727,22 +5876,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object osPolicyId_ = ""; /** + * + * *
        * The OS policy id
        * 
* * string os_policy_id = 1; + * * @return The osPolicyId. */ public java.lang.String getOsPolicyId() { java.lang.Object ref = osPolicyId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyId_ = s; return s; @@ -4751,20 +5903,21 @@ public java.lang.String getOsPolicyId() { } } /** + * + * *
        * The OS policy id
        * 
* * string os_policy_id = 1; + * * @return The bytes for osPolicyId. */ - public com.google.protobuf.ByteString - getOsPolicyIdBytes() { + public com.google.protobuf.ByteString getOsPolicyIdBytes() { java.lang.Object ref = osPolicyId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyId_ = b; return b; } else { @@ -4772,54 +5925,61 @@ public java.lang.String getOsPolicyId() { } } /** + * + * *
        * The OS policy id
        * 
* * string os_policy_id = 1; + * * @param value The osPolicyId to set. * @return This builder for chaining. */ - public Builder setOsPolicyId( - java.lang.String value) { + public Builder setOsPolicyId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyId_ = value; onChanged(); return this; } /** + * + * *
        * The OS policy id
        * 
* * string os_policy_id = 1; + * * @return This builder for chaining. */ public Builder clearOsPolicyId() { - + osPolicyId_ = getDefaultInstance().getOsPolicyId(); onChanged(); return this; } /** + * + * *
        * The OS policy id
        * 
* * string os_policy_id = 1; + * * @param value The bytes for osPolicyId to set. * @return This builder for chaining. */ - public Builder setOsPolicyIdBytes( - com.google.protobuf.ByteString value) { + public Builder setOsPolicyIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyId_ = value; onChanged(); return this; @@ -4827,73 +5987,109 @@ public Builder setOsPolicyIdBytes( private int complianceState_ = 0; /** + * + * *
        * The compliance state of the OS policy.
        * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * * @return The enum numeric value on the wire for complianceState. */ - @java.lang.Override public int getComplianceStateValue() { + @java.lang.Override + public int getComplianceStateValue() { return complianceState_; } /** + * + * *
        * The compliance state of the OS policy.
        * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * * @param value The enum numeric value on the wire for complianceState to set. * @return This builder for chaining. */ public Builder setComplianceStateValue(int value) { - + complianceState_ = value; onChanged(); return this; } /** + * + * *
        * The compliance state of the OS policy.
        * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * * @return The complianceState. */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState getComplianceState() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .ComplianceState + getComplianceState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState result = com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.valueOf(complianceState_); - return result == null ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState + result = + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .ComplianceState.valueOf(complianceState_); + return result == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .ComplianceState.UNRECOGNIZED + : result; } /** + * + * *
        * The compliance state of the OS policy.
        * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * * @param value The complianceState to set. * @return This builder for chaining. */ - public Builder setComplianceState(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState value) { + public Builder setComplianceState( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState + value) { if (value == null) { throw new NullPointerException(); } - + complianceState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The compliance state of the OS policy.
        * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * * @return This builder for chaining. */ public Builder clearComplianceState() { - + complianceState_ = 0; onChanged(); return this; @@ -4901,6 +6097,8 @@ public Builder clearComplianceState() { private java.lang.Object complianceStateReason_ = ""; /** + * + * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4923,13 +6121,13 @@ public Builder clearComplianceState() {
        * 
* * string compliance_state_reason = 3; + * * @return The complianceStateReason. */ public java.lang.String getComplianceStateReason() { java.lang.Object ref = complianceStateReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); complianceStateReason_ = s; return s; @@ -4938,6 +6136,8 @@ public java.lang.String getComplianceStateReason() { } } /** + * + * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4960,15 +6160,14 @@ public java.lang.String getComplianceStateReason() {
        * 
* * string compliance_state_reason = 3; + * * @return The bytes for complianceStateReason. */ - public com.google.protobuf.ByteString - getComplianceStateReasonBytes() { + public com.google.protobuf.ByteString getComplianceStateReasonBytes() { java.lang.Object ref = complianceStateReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); complianceStateReason_ = b; return b; } else { @@ -4976,6 +6175,8 @@ public java.lang.String getComplianceStateReason() { } } /** + * + * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4998,20 +6199,22 @@ public java.lang.String getComplianceStateReason() {
        * 
* * string compliance_state_reason = 3; + * * @param value The complianceStateReason to set. * @return This builder for chaining. */ - public Builder setComplianceStateReason( - java.lang.String value) { + public Builder setComplianceStateReason(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + complianceStateReason_ = value; onChanged(); return this; } /** + * + * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -5034,15 +6237,18 @@ public Builder setComplianceStateReason(
        * 
* * string compliance_state_reason = 3; + * * @return This builder for chaining. */ public Builder clearComplianceStateReason() { - + complianceStateReason_ = getDefaultInstance().getComplianceStateReason(); onChanged(); return this; } /** + * + * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -5065,42 +6271,61 @@ public Builder clearComplianceStateReason() {
        * 
* * string compliance_state_reason = 3; + * * @param value The bytes for complianceStateReason to set. * @return This builder for chaining. */ - public Builder setComplianceStateReasonBytes( - com.google.protobuf.ByteString value) { + public Builder setComplianceStateReasonBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + complianceStateReason_ = value; onChanged(); return this; } - private java.util.List osPolicyResourceCompliances_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance> + osPolicyResourceCompliances_ = java.util.Collections.emptyList(); + private void ensureOsPolicyResourceCompliancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = new java.util.ArrayList(osPolicyResourceCompliances_); + osPolicyResourceCompliances_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance>(osPolicyResourceCompliances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder> osPolicyResourceCompliancesBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder> + osPolicyResourceCompliancesBuilder_; /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - public java.util.List getOsPolicyResourceCompliancesList() { + public java.util.List< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance> + getOsPolicyResourceCompliancesList() { if (osPolicyResourceCompliancesBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); } else { @@ -5108,12 +6333,16 @@ public java.util.List * Compliance data for each resource within the policy that is applied to * the VM. *
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ public int getOsPolicyResourceCompliancesCount() { if (osPolicyResourceCompliancesBuilder_ == null) { @@ -5123,14 +6352,20 @@ public int getOsPolicyResourceCompliancesCount() { } } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + getOsPolicyResourceCompliances(int index) { if (osPolicyResourceCompliancesBuilder_ == null) { return osPolicyResourceCompliances_.get(index); } else { @@ -5138,15 +6373,22 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance. } } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ public Builder setOsPolicyResourceCompliances( - int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance value) { + int index, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + value) { if (osPolicyResourceCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5160,15 +6402,22 @@ public Builder setOsPolicyResourceCompliances( return this; } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ public Builder setOsPolicyResourceCompliances( - int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder + builderForValue) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); osPolicyResourceCompliances_.set(index, builderForValue.build()); @@ -5179,14 +6428,21 @@ public Builder setOsPolicyResourceCompliances( return this; } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - public Builder addOsPolicyResourceCompliances(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance value) { + public Builder addOsPolicyResourceCompliances( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + value) { if (osPolicyResourceCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5200,15 +6456,22 @@ public Builder addOsPolicyResourceCompliances(com.google.cloud.osconfig.v1.OSPol return this; } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ public Builder addOsPolicyResourceCompliances( - int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance value) { + int index, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + value) { if (osPolicyResourceCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5222,15 +6485,21 @@ public Builder addOsPolicyResourceCompliances( return this; } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ public Builder addOsPolicyResourceCompliances( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder builderForValue) { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder + builderForValue) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); osPolicyResourceCompliances_.add(builderForValue.build()); @@ -5241,15 +6510,22 @@ public Builder addOsPolicyResourceCompliances( return this; } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ public Builder addOsPolicyResourceCompliances( - int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder + builderForValue) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); osPolicyResourceCompliances_.add(index, builderForValue.build()); @@ -5260,15 +6536,23 @@ public Builder addOsPolicyResourceCompliances( return this; } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ public Builder addAllOsPolicyResourceCompliances( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance> + values) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -5280,12 +6564,16 @@ public Builder addAllOsPolicyResourceCompliances( return this; } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ public Builder clearOsPolicyResourceCompliances() { if (osPolicyResourceCompliancesBuilder_ == null) { @@ -5298,12 +6586,16 @@ public Builder clearOsPolicyResourceCompliances() { return this; } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ public Builder removeOsPolicyResourceCompliances(int index) { if (osPolicyResourceCompliancesBuilder_ == null) { @@ -5316,42 +6608,60 @@ public Builder removeOsPolicyResourceCompliances(int index) { return this; } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder getOsPolicyResourceCompliancesBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder + getOsPolicyResourceCompliancesBuilder(int index) { return getOsPolicyResourceCompliancesFieldBuilder().getBuilder(index); } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder + getOsPolicyResourceCompliancesOrBuilder(int index) { if (osPolicyResourceCompliancesBuilder_ == null) { - return osPolicyResourceCompliances_.get(index); } else { + return osPolicyResourceCompliances_.get(index); + } else { return osPolicyResourceCompliancesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - public java.util.List - getOsPolicyResourceCompliancesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder> + getOsPolicyResourceCompliancesOrBuilderList() { if (osPolicyResourceCompliancesBuilder_ != null) { return osPolicyResourceCompliancesBuilder_.getMessageOrBuilderList(); } else { @@ -5359,48 +6669,82 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance. } } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder addOsPolicyResourceCompliancesBuilder() { - return getOsPolicyResourceCompliancesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder + addOsPolicyResourceCompliancesBuilder() { + return getOsPolicyResourceCompliancesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.getDefaultInstance()); } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder addOsPolicyResourceCompliancesBuilder( - int index) { - return getOsPolicyResourceCompliancesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder + addOsPolicyResourceCompliancesBuilder(int index) { + return getOsPolicyResourceCompliancesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.getDefaultInstance()); } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - public java.util.List - getOsPolicyResourceCompliancesBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder> + getOsPolicyResourceCompliancesBuilderList() { return getOsPolicyResourceCompliancesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder> getOsPolicyResourceCompliancesFieldBuilder() { if (osPolicyResourceCompliancesBuilder_ == null) { - osPolicyResourceCompliancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder>( + osPolicyResourceCompliancesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder>( osPolicyResourceCompliances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -5409,6 +6753,7 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance. } return osPolicyResourceCompliancesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5421,30 +6766,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance) - private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance(); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance getDefaultInstance() { + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyCompliance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyCompliance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyCompliance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyCompliance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5456,15 +6804,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The `OSPolicyAssignmentReport` API resource name.
    * Format:
@@ -5472,6 +6822,7 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -5480,14 +6831,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The `OSPolicyAssignmentReport` API resource name.
    * Format:
@@ -5495,16 +6847,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -5515,11 +6866,14 @@ public java.lang.String getName() { public static final int INSTANCE_FIELD_NUMBER = 2; private volatile java.lang.Object instance_; /** + * + * *
    * The Compute Engine VM instance name.
    * 
* * string instance = 2; + * * @return The instance. */ @java.lang.Override @@ -5528,29 +6882,29 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** + * + * *
    * The Compute Engine VM instance name.
    * 
* * string instance = 2; + * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -5561,6 +6915,8 @@ public java.lang.String getInstance() { public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER = 3; private volatile java.lang.Object osPolicyAssignment_; /** + * + * *
    * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
    * belongs to.
@@ -5569,6 +6925,7 @@ public java.lang.String getInstance() {
    * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } + * * @return The osPolicyAssignment. */ @java.lang.Override @@ -5577,14 +6934,15 @@ public java.lang.String getOsPolicyAssignment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; } } /** + * + * *
    * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
    * belongs to.
@@ -5593,16 +6951,15 @@ public java.lang.String getOsPolicyAssignment() {
    * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } + * * @return The bytes for osPolicyAssignment. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -5611,73 +6968,101 @@ public java.lang.String getOsPolicyAssignment() { } public static final int OS_POLICY_COMPLIANCES_FIELD_NUMBER = 4; - private java.util.List osPolicyCompliances_; + private java.util.List + osPolicyCompliances_; /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ @java.lang.Override - public java.util.List getOsPolicyCompliancesList() { + public java.util.List + getOsPolicyCompliancesList() { return osPolicyCompliances_; } /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> getOsPolicyCompliancesOrBuilderList() { return osPolicyCompliances_; } /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ @java.lang.Override public int getOsPolicyCompliancesCount() { return osPolicyCompliances_.size(); } /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance getOsPolicyCompliances(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + getOsPolicyCompliances(int index) { return osPolicyCompliances_.get(index); } /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder + getOsPolicyCompliancesOrBuilder(int index) { return osPolicyCompliances_.get(index); } public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Timestamp for when the report was last generated.
    * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -5685,11 +7070,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Timestamp for when the report was last generated.
    * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return The updateTime. */ @java.lang.Override @@ -5697,6 +7085,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Timestamp for when the report was last generated.
    * 
@@ -5711,6 +7101,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int LAST_RUN_ID_FIELD_NUMBER = 6; private volatile java.lang.Object lastRunId_; /** + * + * *
    * Unique identifier of the last attempted run to apply the OS policies
    * associated with this assignment on the VM.
@@ -5721,6 +7113,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string last_run_id = 6; + * * @return The lastRunId. */ @java.lang.Override @@ -5729,14 +7122,15 @@ public java.lang.String getLastRunId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastRunId_ = s; return s; } } /** + * + * *
    * Unique identifier of the last attempted run to apply the OS policies
    * associated with this assignment on the VM.
@@ -5747,16 +7141,15 @@ public java.lang.String getLastRunId() {
    * 
* * string last_run_id = 6; + * * @return The bytes for lastRunId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLastRunIdBytes() { + public com.google.protobuf.ByteString getLastRunIdBytes() { java.lang.Object ref = lastRunId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lastRunId_ = b; return b; } else { @@ -5765,6 +7158,7 @@ public java.lang.String getLastRunId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5776,8 +7170,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -5815,12 +7208,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, osPolicyAssignment_); } for (int i = 0; i < osPolicyCompliances_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, osPolicyCompliances_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, osPolicyCompliances_.get(i)); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lastRunId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, lastRunId_); @@ -5833,28 +7225,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.OSPolicyAssignmentReport)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport other = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport) obj; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport other = + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getInstance() - .equals(other.getInstance())) return false; - if (!getOsPolicyAssignment() - .equals(other.getOsPolicyAssignment())) return false; - if (!getOsPolicyCompliancesList() - .equals(other.getOsPolicyCompliancesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getInstance().equals(other.getInstance())) return false; + if (!getOsPolicyAssignment().equals(other.getOsPolicyAssignment())) return false; + if (!getOsPolicyCompliancesList().equals(other.getOsPolicyCompliancesList())) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!getLastRunId() - .equals(other.getLastRunId())) return false; + if (!getLastRunId().equals(other.getLastRunId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5888,117 +7275,127 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport 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.osconfig.v1.OSPolicyAssignmentReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A report of the OS policy assignment status for a given instance.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.OSPolicyAssignmentReport} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OSPolicyAssignmentReport) com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_fieldAccessorTable + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.class, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder.class); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.class, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.Builder.class); } // Construct using com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.newBuilder() @@ -6006,17 +7403,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getOsPolicyCompliancesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -6044,9 +7441,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor; } @java.lang.Override @@ -6065,7 +7462,8 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport build() { @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport buildPartial() { - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport result = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport(this); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport result = + new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.instance_ = instance_; @@ -6093,38 +7491,39 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.OSPolicyAssignmentReport) { - return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport)other); + return mergeFrom((com.google.cloud.osconfig.v1.OSPolicyAssignmentReport) other); } else { super.mergeFrom(other); return this; @@ -6132,7 +7531,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport other) { - if (other == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -6163,9 +7563,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport o osPolicyCompliancesBuilder_ = null; osPolicyCompliances_ = other.osPolicyCompliances_; bitField0_ = (bitField0_ & ~0x00000001); - osPolicyCompliancesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOsPolicyCompliancesFieldBuilder() : null; + osPolicyCompliancesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOsPolicyCompliancesFieldBuilder() + : null; } else { osPolicyCompliancesBuilder_.addAllMessages(other.osPolicyCompliances_); } @@ -6197,7 +7598,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.OSPolicyAssignmentReport) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6206,10 +7608,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -6217,13 +7622,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6232,6 +7637,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -6239,15 +7646,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6255,6 +7661,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -6262,20 +7670,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -6283,15 +7693,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -6299,16 +7712,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -6316,18 +7729,20 @@ public Builder setNameBytes( private java.lang.Object instance_ = ""; /** + * + * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; + * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -6336,20 +7751,21 @@ public java.lang.String getInstance() { } } /** + * + * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; + * * @return The bytes for instance. */ - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -6357,54 +7773,61 @@ public java.lang.String getInstance() { } } /** + * + * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; + * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance( - java.lang.String value) { + public Builder setInstance(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** + * + * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; + * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** + * + * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; + * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -6412,6 +7835,8 @@ public Builder setInstanceBytes( private java.lang.Object osPolicyAssignment_ = ""; /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -6420,13 +7845,13 @@ public Builder setInstanceBytes(
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } + * * @return The osPolicyAssignment. */ public java.lang.String getOsPolicyAssignment() { java.lang.Object ref = osPolicyAssignment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; @@ -6435,6 +7860,8 @@ public java.lang.String getOsPolicyAssignment() { } } /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -6443,15 +7870,14 @@ public java.lang.String getOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } + * * @return The bytes for osPolicyAssignment. */ - public com.google.protobuf.ByteString - getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -6459,6 +7885,8 @@ public java.lang.String getOsPolicyAssignment() { } } /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -6467,20 +7895,22 @@ public java.lang.String getOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } + * * @param value The osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignment( - java.lang.String value) { + public Builder setOsPolicyAssignment(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyAssignment_ = value; onChanged(); return this; } /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -6489,15 +7919,18 @@ public Builder setOsPolicyAssignment(
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearOsPolicyAssignment() { - + osPolicyAssignment_ = getDefaultInstance().getOsPolicyAssignment(); onChanged(); return this; } /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -6506,41 +7939,53 @@ public Builder clearOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignmentBytes( - com.google.protobuf.ByteString value) { + public Builder setOsPolicyAssignmentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyAssignment_ = value; onChanged(); return this; } - private java.util.List osPolicyCompliances_ = - java.util.Collections.emptyList(); + private java.util.List + osPolicyCompliances_ = java.util.Collections.emptyList(); + private void ensureOsPolicyCompliancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyCompliances_ = new java.util.ArrayList(osPolicyCompliances_); + osPolicyCompliances_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance>( + osPolicyCompliances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> osPolicyCompliancesBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> + osPolicyCompliancesBuilder_; /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - public java.util.List getOsPolicyCompliancesList() { + public java.util.List + getOsPolicyCompliancesList() { if (osPolicyCompliancesBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyCompliances_); } else { @@ -6548,11 +7993,15 @@ public java.util.List * Compliance data for each `OSPolicy` that is applied to the VM. *
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ public int getOsPolicyCompliancesCount() { if (osPolicyCompliancesBuilder_ == null) { @@ -6562,13 +8011,18 @@ public int getOsPolicyCompliancesCount() { } } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance getOsPolicyCompliances(int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + getOsPolicyCompliances(int index) { if (osPolicyCompliancesBuilder_ == null) { return osPolicyCompliances_.get(index); } else { @@ -6576,11 +8030,15 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance } } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ public Builder setOsPolicyCompliances( int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance value) { @@ -6597,14 +8055,20 @@ public Builder setOsPolicyCompliances( return this; } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ public Builder setOsPolicyCompliances( - int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder + builderForValue) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); osPolicyCompliances_.set(index, builderForValue.build()); @@ -6615,13 +8079,18 @@ public Builder setOsPolicyCompliances( return this; } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - public Builder addOsPolicyCompliances(com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance value) { + public Builder addOsPolicyCompliances( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance value) { if (osPolicyCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6635,11 +8104,15 @@ public Builder addOsPolicyCompliances(com.google.cloud.osconfig.v1.OSPolicyAssig return this; } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ public Builder addOsPolicyCompliances( int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance value) { @@ -6656,14 +8129,19 @@ public Builder addOsPolicyCompliances( return this; } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ public Builder addOsPolicyCompliances( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue) { + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder + builderForValue) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); osPolicyCompliances_.add(builderForValue.build()); @@ -6674,14 +8152,20 @@ public Builder addOsPolicyCompliances( return this; } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ public Builder addOsPolicyCompliances( - int index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder + builderForValue) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); osPolicyCompliances_.add(index, builderForValue.build()); @@ -6692,18 +8176,23 @@ public Builder addOsPolicyCompliances( return this; } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ public Builder addAllOsPolicyCompliances( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance> + values) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, osPolicyCompliances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicyCompliances_); onChanged(); } else { osPolicyCompliancesBuilder_.addAllMessages(values); @@ -6711,11 +8200,15 @@ public Builder addAllOsPolicyCompliances( return this; } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ public Builder clearOsPolicyCompliances() { if (osPolicyCompliancesBuilder_ == null) { @@ -6728,11 +8221,15 @@ public Builder clearOsPolicyCompliances() { return this; } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ public Builder removeOsPolicyCompliances(int index) { if (osPolicyCompliancesBuilder_ == null) { @@ -6745,39 +8242,54 @@ public Builder removeOsPolicyCompliances(int index) { return this; } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder getOsPolicyCompliancesBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder + getOsPolicyCompliancesBuilder(int index) { return getOsPolicyCompliancesFieldBuilder().getBuilder(index); } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder + getOsPolicyCompliancesOrBuilder(int index) { if (osPolicyCompliancesBuilder_ == null) { - return osPolicyCompliances_.get(index); } else { + return osPolicyCompliances_.get(index); + } else { return osPolicyCompliancesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - public java.util.List - getOsPolicyCompliancesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> + getOsPolicyCompliancesOrBuilderList() { if (osPolicyCompliancesBuilder_ != null) { return osPolicyCompliancesBuilder_.getMessageOrBuilderList(); } else { @@ -6785,45 +8297,70 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceO } } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder addOsPolicyCompliancesBuilder() { - return getOsPolicyCompliancesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder + addOsPolicyCompliancesBuilder() { + return getOsPolicyCompliancesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .getDefaultInstance()); } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder addOsPolicyCompliancesBuilder( - int index) { - return getOsPolicyCompliancesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder + addOsPolicyCompliancesBuilder(int index) { + return getOsPolicyCompliancesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance + .getDefaultInstance()); } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - public java.util.List - getOsPolicyCompliancesBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder> + getOsPolicyCompliancesBuilderList() { return getOsPolicyCompliancesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> getOsPolicyCompliancesFieldBuilder() { if (osPolicyCompliancesBuilder_ == null) { - osPolicyCompliancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder>( + osPolicyCompliancesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder>( osPolicyCompliances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -6835,34 +8372,47 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance. private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Timestamp for when the report was last generated.
      * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Timestamp for when the report was last generated.
      * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Timestamp for when the report was last generated.
      * 
@@ -6883,14 +8433,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Timestamp for when the report was last generated.
      * 
* * .google.protobuf.Timestamp update_time = 5; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -6901,6 +8452,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Timestamp for when the report was last generated.
      * 
@@ -6911,7 +8464,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -6923,6 +8476,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Timestamp for when the report was last generated.
      * 
@@ -6941,6 +8496,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Timestamp for when the report was last generated.
      * 
@@ -6948,11 +8505,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 5; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Timestamp for when the report was last generated.
      * 
@@ -6963,11 +8522,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Timestamp for when the report was last generated.
      * 
@@ -6975,14 +8537,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -6990,6 +8555,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object lastRunId_ = ""; /** + * + * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -7000,13 +8567,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string last_run_id = 6; + * * @return The lastRunId. */ public java.lang.String getLastRunId() { java.lang.Object ref = lastRunId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastRunId_ = s; return s; @@ -7015,6 +8582,8 @@ public java.lang.String getLastRunId() { } } /** + * + * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -7025,15 +8594,14 @@ public java.lang.String getLastRunId() {
      * 
* * string last_run_id = 6; + * * @return The bytes for lastRunId. */ - public com.google.protobuf.ByteString - getLastRunIdBytes() { + public com.google.protobuf.ByteString getLastRunIdBytes() { java.lang.Object ref = lastRunId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lastRunId_ = b; return b; } else { @@ -7041,6 +8609,8 @@ public java.lang.String getLastRunId() { } } /** + * + * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -7051,20 +8621,22 @@ public java.lang.String getLastRunId() {
      * 
* * string last_run_id = 6; + * * @param value The lastRunId to set. * @return This builder for chaining. */ - public Builder setLastRunId( - java.lang.String value) { + public Builder setLastRunId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + lastRunId_ = value; onChanged(); return this; } /** + * + * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -7075,15 +8647,18 @@ public Builder setLastRunId(
      * 
* * string last_run_id = 6; + * * @return This builder for chaining. */ public Builder clearLastRunId() { - + lastRunId_ = getDefaultInstance().getLastRunId(); onChanged(); return this; } /** + * + * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -7094,23 +8669,23 @@ public Builder clearLastRunId() {
      * 
* * string last_run_id = 6; + * * @param value The bytes for lastRunId to set. * @return This builder for chaining. */ - public Builder setLastRunIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLastRunIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + lastRunId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7120,12 +8695,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OSPolicyAssignmentReport) private static final com.google.cloud.osconfig.v1.OSPolicyAssignmentReport DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.OSPolicyAssignmentReport(); } @@ -7134,16 +8709,16 @@ public static com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyAssignmentReport parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyAssignmentReport(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyAssignmentReport parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyAssignmentReport(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7158,6 +8733,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.OSPolicyAssignmentReport getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportName.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportName.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportOrBuilder.java index 3177c0d1..4eacb6bf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/osconfig/v1/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1; -public interface OSPolicyAssignmentReportOrBuilder extends +public interface OSPolicyAssignmentReportOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicyAssignmentReport) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The `OSPolicyAssignmentReport` API resource name.
    * Format:
@@ -15,10 +33,13 @@ public interface OSPolicyAssignmentReportOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The `OSPolicyAssignmentReport` API resource name.
    * Format:
@@ -26,32 +47,39 @@ public interface OSPolicyAssignmentReportOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The Compute Engine VM instance name.
    * 
* * string instance = 2; + * * @return The instance. */ java.lang.String getInstance(); /** + * + * *
    * The Compute Engine VM instance name.
    * 
* * string instance = 2; + * * @return The bytes for instance. */ - com.google.protobuf.ByteString - getInstanceBytes(); + com.google.protobuf.ByteString getInstanceBytes(); /** + * + * *
    * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
    * belongs to.
@@ -60,10 +88,13 @@ public interface OSPolicyAssignmentReportOrBuilder extends
    * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } + * * @return The osPolicyAssignment. */ java.lang.String getOsPolicyAssignment(); /** + * + * *
    * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
    * belongs to.
@@ -72,74 +103,105 @@ public interface OSPolicyAssignmentReportOrBuilder extends
    * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } + * * @return The bytes for osPolicyAssignment. */ - com.google.protobuf.ByteString - getOsPolicyAssignmentBytes(); + com.google.protobuf.ByteString getOsPolicyAssignmentBytes(); /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - java.util.List + java.util.List getOsPolicyCompliancesList(); /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance getOsPolicyCompliances(int index); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance getOsPolicyCompliances( + int index); /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ int getOsPolicyCompliancesCount(); /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> getOsPolicyCompliancesOrBuilderList(); /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder( - int index); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder + getOsPolicyCompliancesOrBuilder(int index); /** + * + * *
    * Timestamp for when the report was last generated.
    * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Timestamp for when the report was last generated.
    * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Timestamp for when the report was last generated.
    * 
@@ -149,6 +211,8 @@ com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilde com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Unique identifier of the last attempted run to apply the OS policies
    * associated with this assignment on the VM.
@@ -159,10 +223,13 @@ com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilde
    * 
* * string last_run_id = 6; + * * @return The lastRunId. */ java.lang.String getLastRunId(); /** + * + * *
    * Unique identifier of the last attempted run to apply the OS policies
    * associated with this assignment on the VM.
@@ -173,8 +240,8 @@ com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilde
    * 
* * string last_run_id = 6; + * * @return The bytes for lastRunId. */ - com.google.protobuf.ByteString - getLastRunIdBytes(); + com.google.protobuf.ByteString getLastRunIdBytes(); } diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java new file mode 100644 index 00000000..c49ae561 --- /dev/null +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java @@ -0,0 +1,251 @@ +/* + * 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/osconfig/v1/os_policy_assignment_reports.proto + +package com.google.cloud.osconfig.v1; + +public final class OSPolicyAssignmentReportsProto { + private OSPolicyAssignmentReportsProto() {} + + 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_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n;google/cloud/osconfig/v1/os_policy_ass" + + "ignment_reports.proto\022\030google.cloud.osco" + + "nfig.v1\032\037google/api/field_behavior.proto" + + "\032\031google/api/resource.proto\032\037google/prot" + + "obuf/timestamp.proto\"l\n\"GetOSPolicyAssig" + + "nmentReportRequest\022F\n\004name\030\001 \001(\tB8\340A\002\372A2" + + "\n0osconfig.googleapis.com/OSPolicyAssign" + + "mentReport\"\251\001\n$ListOSPolicyAssignmentRep" + + "ortsRequest\022J\n\006parent\030\001 \001(\tB:\340A\002\372A4\n2osc" + + "onfig.googleapis.com/InstanceOSPolicyAss" + + "ignment\022\021\n\tpage_size\030\002 \001(\005\022\016\n\006filter\030\003 \001" + + "(\t\022\022\n\npage_token\030\004 \001(\t\"\232\001\n%ListOSPolicyA" + + "ssignmentReportsResponse\022X\n\034os_policy_as" + + "signment_reports\030\001 \003(\01322.google.cloud.os" + + "config.v1.OSPolicyAssignmentReport\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"\315\016\n\030OSPolicyAssignme" + + "ntReport\022\014\n\004name\030\001 \001(\t\022\020\n\010instance\030\002 \001(\t" + + "\022M\n\024os_policy_assignment\030\003 \001(\tB/\372A,\n*osc" + + "onfig.googleapis.com/OSPolicyAssignment\022" + + "d\n\025os_policy_compliances\030\004 \003(\0132E.google." + + "cloud.osconfig.v1.OSPolicyAssignmentRepo" + + "rt.OSPolicyCompliance\022/\n\013update_time\030\005 \001" + + "(\0132\032.google.protobuf.Timestamp\022\023\n\013last_r" + + "un_id\030\006 \001(\t\032\366\n\n\022OSPolicyCompliance\022\024\n\014os" + + "_policy_id\030\001 \001(\t\022o\n\020compliance_state\030\002 \001" + + "(\0162U.google.cloud.osconfig.v1.OSPolicyAs" + + "signmentReport.OSPolicyCompliance.Compli" + + "anceState\022\037\n\027compliance_state_reason\030\003 \001" + + "(\t\022\210\001\n\036os_policy_resource_compliances\030\004 " + + "\003(\0132`.google.cloud.osconfig.v1.OSPolicyA" + + "ssignmentReport.OSPolicyCompliance.OSPol" + + "icyResourceCompliance\032\352\007\n\032OSPolicyResour" + + "ceCompliance\022\035\n\025os_policy_resource_id\030\001 " + + "\001(\t\022\221\001\n\014config_steps\030\002 \003(\0132{.google.clou" + + "d.osconfig.v1.OSPolicyAssignmentReport.O" + + "SPolicyCompliance.OSPolicyResourceCompli" + + "ance.OSPolicyResourceConfigStep\022\212\001\n\020comp" + + "liance_state\030\003 \001(\0162p.google.cloud.osconf" + + "ig.v1.OSPolicyAssignmentReport.OSPolicyC" + + "ompliance.OSPolicyResourceCompliance.Com" + + "plianceState\022\037\n\027compliance_state_reason\030" + + "\004 \001(\t\022\223\001\n\024exec_resource_output\030\005 \001(\0132s.g" + + "oogle.cloud.osconfig.v1.OSPolicyAssignme" + + "ntReport.OSPolicyCompliance.OSPolicyReso" + + "urceCompliance.ExecResourceOutputH\000\032\326\002\n\032" + + "OSPolicyResourceConfigStep\022\217\001\n\004type\030\001 \001(" + + "\0162\200\001.google.cloud.osconfig.v1.OSPolicyAs" + + "signmentReport.OSPolicyCompliance.OSPoli" + + "cyResourceCompliance.OSPolicyResourceCon" + + "figStep.Type\022\025\n\rerror_message\030\002 \001(\t\"\216\001\n\004" + + "Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\016\n\nVALIDATION" + + "\020\001\022\027\n\023DESIRED_STATE_CHECK\020\002\022\035\n\031DESIRED_S" + + "TATE_ENFORCEMENT\020\003\022(\n$DESIRED_STATE_CHEC" + + "K_POST_ENFORCEMENT\020\004\0320\n\022ExecResourceOutp" + + "ut\022\032\n\022enforcement_output\030\002 \001(\014\"@\n\017Compli" + + "anceState\022\013\n\007UNKNOWN\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n" + + "\rNON_COMPLIANT\020\002B\010\n\006output\"@\n\017Compliance" + + "State\022\013\n\007UNKNOWN\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n\rNON" + + "_COMPLIANT\020\002:\234\001\352A\230\001\n0osconfig.googleapis" + + ".com/OSPolicyAssignmentReport\022dprojects/" + + "{project}/locations/{location}/instances" + + "/{instance}/osPolicyAssignments/{assignm" + + "ent}/reportB\355\002\n\034com.google.cloud.osconfi" + + "g.v1B\036OSPolicyAssignmentReportsProtoP\001Z@" + + "google.golang.org/genproto/googleapis/cl" + + "oud/osconfig/v1;osconfig\252\002\030Google.Cloud." + + "OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002" + + "\033Google::Cloud::OsConfig::V1\352A\223\001\n2osconf" + + "ig.googleapis.com/InstanceOSPolicyAssign" + + "ment\022]projects/{project}/locations/{loca" + + "tion}/instances/{instance}/osPolicyAssig" + + "nments/{assignment}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentReportRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "Filter", "PageToken", + }); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentReportsResponse_descriptor, + new java.lang.String[] { + "OsPolicyAssignmentReports", "NextPageToken", + }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor, + new java.lang.String[] { + "Name", + "Instance", + "OsPolicyAssignment", + "OsPolicyCompliances", + "UpdateTime", + "LastRunId", + }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor, + new java.lang.String[] { + "OsPolicyId", + "ComplianceState", + "ComplianceStateReason", + "OsPolicyResourceCompliances", + }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor, + new java.lang.String[] { + "OsPolicyResourceId", + "ConfigSteps", + "ComplianceState", + "ComplianceStateReason", + "ExecResourceOutput", + "Output", + }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor, + new java.lang.String[] { + "Type", "ErrorMessage", + }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor, + new java.lang.String[] { + "EnforcementOutput", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyOrBuilder.java index 379a3e54..293a305d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/osconfig/v1/os_policy.proto package com.google.cloud.osconfig.v1; -public interface OSPolicyOrBuilder extends +public interface OSPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OSPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The id of the OS policy with the following restrictions:
    * * Must contain only lowercase letters, numbers, and hyphens.
@@ -18,10 +36,13 @@ public interface OSPolicyOrBuilder extends
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * Required. The id of the OS policy with the following restrictions:
    * * Must contain only lowercase letters, numbers, and hyphens.
@@ -32,53 +53,70 @@ public interface OSPolicyOrBuilder extends
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * Policy description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Policy description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. Policy mode
    * 
* - * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** + * + * *
    * Required. Policy mode
    * 
* - * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The mode. */ com.google.cloud.osconfig.v1.OSPolicy.Mode getMode(); /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -89,11 +127,14 @@ public interface OSPolicyOrBuilder extends
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getResourceGroupsList(); + java.util.List getResourceGroupsList(); /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -104,10 +145,14 @@ public interface OSPolicyOrBuilder extends
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1.OSPolicy.ResourceGroup getResourceGroups(int index); /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -118,10 +163,14 @@ public interface OSPolicyOrBuilder extends
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ int getResourceGroupsCount(); /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -132,11 +181,15 @@ public interface OSPolicyOrBuilder extends
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getResourceGroupsOrBuilderList(); /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -147,12 +200,16 @@ public interface OSPolicyOrBuilder extends
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder getResourceGroupsOrBuilder( int index); /** + * + * *
    * This flag determines the OS policy compliance status when none of the
    * resource groups within the policy are applicable for a VM. Set this value
@@ -161,6 +218,7 @@ com.google.cloud.osconfig.v1.OSPolicy.ResourceGroupOrBuilder getResourceGroupsOr
    * 
* * bool allow_no_resource_group_match = 5; + * * @return The allowNoResourceGroupMatch. */ boolean getAllowNoResourceGroupMatch(); diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java new file mode 100644 index 00000000..0ebbb374 --- /dev/null +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java @@ -0,0 +1,143 @@ +/* + * 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/osconfig/v1/osconfig_service.proto + +package com.google.cloud.osconfig.v1; + +public final class OsConfigProto { + private OsConfigProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n/google/cloud/osconfig/v1/osconfig_serv" + + "ice.proto\022\030google.cloud.osconfig.v1\032\027goo" + + "gle/api/client.proto\032\031google/api/resourc" + + "e.proto\0320google/cloud/osconfig/v1/patch_" + + "deployments.proto\032)google/cloud/osconfig" + + "/v1/patch_jobs.proto\032\033google/protobuf/em" + + "pty.proto\032\034google/api/annotations.proto2" + + "\254\022\n\017OsConfigService\022\235\001\n\017ExecutePatchJob\022" + + "0.google.cloud.osconfig.v1.ExecutePatchJ" + + "obRequest\032\".google.cloud.osconfig.v1.Pat" + + "chJob\"4\202\323\344\223\002.\")/v1/{parent=projects/*}/p" + + "atchJobs:execute:\001*\022\221\001\n\013GetPatchJob\022,.go" + + "ogle.cloud.osconfig.v1.GetPatchJobReques" + + "t\032\".google.cloud.osconfig.v1.PatchJob\"0\202" + + "\323\344\223\002#\022!/v1/{name=projects/*/patchJobs/*}" + + "\332A\004name\022\232\001\n\016CancelPatchJob\022/.google.clou" + + "d.osconfig.v1.CancelPatchJobRequest\032\".go" + + "ogle.cloud.osconfig.v1.PatchJob\"3\202\323\344\223\002-\"" + + "(/v1/{name=projects/*/patchJobs/*}:cance" + + "l:\001*\022\244\001\n\rListPatchJobs\022..google.cloud.os" + + "config.v1.ListPatchJobsRequest\032/.google." + + "cloud.osconfig.v1.ListPatchJobsResponse\"" + + "2\202\323\344\223\002#\022!/v1/{parent=projects/*}/patchJo" + + "bs\332A\006parent\022\340\001\n\033ListPatchJobInstanceDeta" + + "ils\022<.google.cloud.osconfig.v1.ListPatch" + + "JobInstanceDetailsRequest\032=.google.cloud" + + ".osconfig.v1.ListPatchJobInstanceDetails" + + "Response\"D\202\323\344\223\0025\0223/v1/{parent=projects/*" + + "/patchJobs/*}/instanceDetails\332A\006parent\022\354" + + "\001\n\025CreatePatchDeployment\0226.google.cloud." + + "osconfig.v1.CreatePatchDeploymentRequest" + + "\032).google.cloud.osconfig.v1.PatchDeploym" + + "ent\"p\202\323\344\223\002<\"(/v1/{parent=projects/*}/pat" + + "chDeployments:\020patch_deployment\332A+parent" + + ",patch_deployment,patch_deployment_id\022\255\001" + + "\n\022GetPatchDeployment\0223.google.cloud.osco" + + "nfig.v1.GetPatchDeploymentRequest\032).goog" + + "le.cloud.osconfig.v1.PatchDeployment\"7\202\323" + + "\344\223\002*\022(/v1/{name=projects/*/patchDeployme" + + "nts/*}\332A\004name\022\300\001\n\024ListPatchDeployments\0225" + + ".google.cloud.osconfig.v1.ListPatchDeplo" + + "ymentsRequest\0326.google.cloud.osconfig.v1" + + ".ListPatchDeploymentsResponse\"9\202\323\344\223\002*\022(/" + + "v1/{parent=projects/*}/patchDeployments\332" + + "A\006parent\022\240\001\n\025DeletePatchDeployment\0226.goo" + + "gle.cloud.osconfig.v1.DeletePatchDeploym" + + "entRequest\032\026.google.protobuf.Empty\"7\202\323\344\223" + + "\002**(/v1/{name=projects/*/patchDeployment" + + "s/*}\332A\004name\022\356\001\n\025UpdatePatchDeployment\0226." + + "google.cloud.osconfig.v1.UpdatePatchDepl" + + "oymentRequest\032).google.cloud.osconfig.v1" + + ".PatchDeployment\"r\202\323\344\223\002M29/v1/{patch_dep" + + "loyment.name=projects/*/patchDeployments" + + "/*}:\020patch_deployment\332A\034patch_deployment" + + ",update_mask\022\272\001\n\024PausePatchDeployment\0225." + + "google.cloud.osconfig.v1.PausePatchDeplo" + + "ymentRequest\032).google.cloud.osconfig.v1." + + "PatchDeployment\"@\202\323\344\223\0023\"./v1/{name=proje" + + "cts/*/patchDeployments/*}:pause:\001*\332A\004nam" + + "e\022\275\001\n\025ResumePatchDeployment\0226.google.clo" + + "ud.osconfig.v1.ResumePatchDeploymentRequ" + + "est\032).google.cloud.osconfig.v1.PatchDepl" + + "oyment\"A\202\323\344\223\0024\"//v1/{name=projects/*/pat" + + "chDeployments/*}:resume:\001*\332A\004name\032K\312A\027os" + + "config.googleapis.com\322A.https://www.goog" + + "leapis.com/auth/cloud-platformB\334\002\n\034com.g" + + "oogle.cloud.osconfig.v1B\rOsConfigProtoZ@" + + "google.golang.org/genproto/googleapis/cl" + + "oud/osconfig/v1;osconfig\252\002\030Google.Cloud." + + "OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002" + + "\033Google::Cloud::OsConfig::V1\352A\225\001\n\037comput" + + "e.googleapis.com/Instance\0224projects/{pro" + + "ject}/zones/{zone}/instances/{instance}\022" + + ".google.cloud.osconfig.v1.ListOSP" + + "olicyAssignmentReportsRequest\032?.google.c" + + "loud.osconfig.v1.ListOSPolicyAssignmentR" + + "eportsResponse\"^\202\323\344\223\002O\022M/v1/{parent=proj" + + "ects/*/locations/*/instances/*/osPolicyA" + + "ssignments/*}/reports\332A\006parent\022\252\001\n\014GetIn" + + "ventory\022-.google.cloud.osconfig.v1.GetIn" + + "ventoryRequest\032#.google.cloud.osconfig.v" + + "1.Inventory\"F\202\323\344\223\0029\0227/v1/{name=projects/" + + "*/locations/*/instances/*/inventory}\332A\004n" + + "ame\022\304\001\n\017ListInventories\0220.google.cloud.o" + + "sconfig.v1.ListInventoriesRequest\0321.goog" + + "le.cloud.osconfig.v1.ListInventoriesResp" + + "onse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/loc" + + "ations/*/instances/*}/inventories\332A\006pare" + + "nt\022\322\001\n\026GetVulnerabilityReport\0227.google.c" + + "loud.osconfig.v1.GetVulnerabilityReportR" + + "equest\032-.google.cloud.osconfig.v1.Vulner" + + "abilityReport\"P\202\323\344\223\002C\022A/v1/{name=project" + + "s/*/locations/*/instances/*/vulnerabilit" + + "yReport}\332A\004name\022\350\001\n\030ListVulnerabilityRep" + + "orts\0229.google.cloud.osconfig.v1.ListVuln" + + "erabilityReportsRequest\032:.google.cloud.o" + + "sconfig.v1.ListVulnerabilityReportsRespo" + + "nse\"U\202\323\344\223\002F\022D/v1/{parent=projects/*/loca" + + "tions/*/instances/*}/vulnerabilityReport" + + "s\332A\006parent\032K\312A\027osconfig.googleapis.com\322A" + + ".https://www.googleapis.com/auth/cloud-p" + + "latformB\321\001\n\034com.google.cloud.osconfig.v1" + + "B\031OsConfigZonalServiceProtoP\001Z@google.go" + + "lang.org/genproto/googleapis/cloud/oscon" + + "fig/v1;osconfig\252\002\030Google.Cloud.OsConfig." + + "V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002\033Google::" + + "Cloud::OsConfig::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.cloud.osconfig.v1.Inventories.getDescriptor(), + com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.getDescriptor(), + com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.getDescriptor(), + com.google.cloud.osconfig.v1.VulnerabilityProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.cloud.osconfig.v1.Inventories.getDescriptor(); + com.google.cloud.osconfig.v1.OSPolicyAssignmentReportsProto.getDescriptor(); + com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.getDescriptor(); + com.google.cloud.osconfig.v1.VulnerabilityProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyAssignmentsProto.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyAssignmentsProto.java new file mode 100644 index 00000000..3b82d47d --- /dev/null +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyAssignmentsProto.java @@ -0,0 +1,369 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto + +package com.google.cloud.osconfig.v1; + +public final class OsPolicyAssignmentsProto { + private OsPolicyAssignmentsProto() {} + + 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_osconfig_v1_OSPolicyAssignment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n4google/cloud/osconfig/v1/os_policy_ass" + + "ignments.proto\022\030google.cloud.osconfig.v1" + + "\032\037google/api/field_behavior.proto\032\031googl" + + "e/api/resource.proto\032(google/cloud/oscon" + + "fig/v1/os_policy.proto\032.google/cloud/osc" + + "onfig/v1/osconfig_common.proto\032\036google/p" + + "rotobuf/duration.proto\032 google/protobuf/" + + "field_mask.proto\032\037google/protobuf/timest" + + "amp.proto\"\243\013\n\022OSPolicyAssignment\022\014\n\004name" + + "\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022<\n\013os_polici" + + "es\030\003 \003(\0132\".google.cloud.osconfig.v1.OSPo" + + "licyB\003\340A\002\022Y\n\017instance_filter\030\004 \001(\0132;.goo" + + "gle.cloud.osconfig.v1.OSPolicyAssignment" + + ".InstanceFilterB\003\340A\002\022J\n\007rollout\030\005 \001(\01324." + + "google.cloud.osconfig.v1.OSPolicyAssignm" + + "ent.RolloutB\003\340A\002\022\030\n\013revision_id\030\006 \001(\tB\003\340" + + "A\003\022=\n\024revision_create_time\030\007 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\022\014\n\004etag\030\010 \001(\t\022" + + "U\n\rrollout_state\030\t \001(\01629.google.cloud.os" + + "config.v1.OSPolicyAssignment.RolloutStat" + + "eB\003\340A\003\022\025\n\010baseline\030\n \001(\010B\003\340A\003\022\024\n\007deleted" + + "\030\013 \001(\010B\003\340A\003\022\030\n\013reconciling\030\014 \001(\010B\003\340A\003\022\020\n" + + "\003uid\030\r \001(\tB\003\340A\003\032\214\001\n\010LabelSet\022Q\n\006labels\030\001" + + " \003(\0132A.google.cloud.osconfig.v1.OSPolicy" + + "Assignment.LabelSet.LabelsEntry\032-\n\013Label" + + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\330" + + "\002\n\016InstanceFilter\022\013\n\003all\030\001 \001(\010\022O\n\020inclus" + + "ion_labels\030\002 \003(\01325.google.cloud.osconfig" + + ".v1.OSPolicyAssignment.LabelSet\022O\n\020exclu" + + "sion_labels\030\003 \003(\01325.google.cloud.osconfi" + + "g.v1.OSPolicyAssignment.LabelSet\022Z\n\013inve" + + "ntories\030\004 \003(\0132E.google.cloud.osconfig.v1" + + ".OSPolicyAssignment.InstanceFilter.Inven" + + "tory\032;\n\tInventory\022\032\n\ros_short_name\030\001 \001(\t" + + "B\003\340A\002\022\022\n\nos_version\030\002 \001(\t\032\216\001\n\007Rollout\022H\n" + + "\021disruption_budget\030\001 \001(\0132(.google.cloud." + + "osconfig.v1.FixedOrPercentB\003\340A\002\0229\n\021min_w" + + "ait_duration\030\002 \001(\0132\031.google.protobuf.Dur" + + "ationB\003\340A\002\"l\n\014RolloutState\022\035\n\031ROLLOUT_ST" + + "ATE_UNSPECIFIED\020\000\022\017\n\013IN_PROGRESS\020\001\022\016\n\nCA" + + "NCELLING\020\002\022\r\n\tCANCELLED\020\003\022\r\n\tSUCCEEDED\020\004" + + ":\204\001\352A\200\001\n*osconfig.googleapis.com/OSPolic" + + "yAssignment\022Rprojects/{project}/location" + + "s/{location}/osPolicyAssignments/{os_pol" + + "icy_assignment}\"\340\004\n#OSPolicyAssignmentOp" + + "erationMetadata\022M\n\024os_policy_assignment\030" + + "\001 \001(\tB/\372A,\n*osconfig.googleapis.com/OSPo" + + "licyAssignment\022[\n\napi_method\030\002 \001(\0162G.goo" + + "gle.cloud.osconfig.v1.OSPolicyAssignment" + + "OperationMetadata.APIMethod\022a\n\rrollout_s" + + "tate\030\003 \001(\0162J.google.cloud.osconfig.v1.OS" + + "PolicyAssignmentOperationMetadata.Rollou" + + "tState\0226\n\022rollout_start_time\030\004 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\0227\n\023rollout_update" + + "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\"" + + "K\n\tAPIMethod\022\032\n\026API_METHOD_UNSPECIFIED\020\000" + + "\022\n\n\006CREATE\020\001\022\n\n\006UPDATE\020\002\022\n\n\006DELETE\020\003\"l\n\014" + + "RolloutState\022\035\n\031ROLLOUT_STATE_UNSPECIFIE" + + "D\020\000\022\017\n\013IN_PROGRESS\020\001\022\016\n\nCANCELLING\020\002\022\r\n\t" + + "CANCELLED\020\003\022\r\n\tSUCCEEDED\020\004\"\323\001\n\037CreateOSP" + + "olicyAssignmentRequest\0229\n\006parent\030\001 \001(\tB)" + + "\340A\002\372A#\n!locations.googleapis.com/Locatio" + + "n\022O\n\024os_policy_assignment\030\002 \001(\0132,.google" + + ".cloud.osconfig.v1.OSPolicyAssignmentB\003\340" + + "A\002\022$\n\027os_policy_assignment_id\030\003 \001(\tB\003\340A\002" + + "\"\250\001\n\037UpdateOSPolicyAssignmentRequest\022O\n\024" + + "os_policy_assignment\030\001 \001(\0132,.google.clou" + + "d.osconfig.v1.OSPolicyAssignmentB\003\340A\002\0224\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + + "ldMaskB\003\340A\001\"`\n\034GetOSPolicyAssignmentRequ" + + "est\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*osconfig.goog" + + "leapis.com/OSPolicyAssignment\"\202\001\n\036ListOS" + + "PolicyAssignmentsRequest\0229\n\006parent\030\001 \001(\t" + + "B)\340A\002\372A#\n!locations.googleapis.com/Locat" + + "ion\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" + + "(\t\"\207\001\n\037ListOSPolicyAssignmentsResponse\022K" + + "\n\025os_policy_assignments\030\001 \003(\0132,.google.c" + + "loud.osconfig.v1.OSPolicyAssignment\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\"\221\001\n&ListOSPolicyAss" + + "ignmentRevisionsRequest\022@\n\004name\030\001 \001(\tB2\340" + + "A\002\372A,\n*osconfig.googleapis.com/OSPolicyA" + + "ssignment\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + + "en\030\003 \001(\t\"\217\001\n\'ListOSPolicyAssignmentRevis" + + "ionsResponse\022K\n\025os_policy_assignments\030\001 " + + "\003(\0132,.google.cloud.osconfig.v1.OSPolicyA" + + "ssignment\022\027\n\017next_page_token\030\002 \001(\t\"c\n\037De" + + "leteOSPolicyAssignmentRequest\022@\n\004name\030\001 " + + "\001(\tB2\340A\002\372A,\n*osconfig.googleapis.com/OSP" + + "olicyAssignmentB\320\001\n\034com.google.cloud.osc" + + "onfig.v1B\030OsPolicyAssignmentsProtoP\001Z@go" + + "ogle.golang.org/genproto/googleapis/clou" + + "d/osconfig/v1;osconfig\252\002\030Google.Cloud.Os" + + "Config.V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002\033G" + + "oogle::Cloud::OsConfig::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.osconfig.v1.OsPolicyProto.getDescriptor(), + com.google.cloud.osconfig.v1.Common.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor, + new java.lang.String[] { + "Name", + "Description", + "OsPolicies", + "InstanceFilter", + "Rollout", + "RevisionId", + "RevisionCreateTime", + "Etag", + "RolloutState", + "Baseline", + "Deleted", + "Reconciling", + "Uid", + }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor, + new java.lang.String[] { + "Labels", + }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor, + new java.lang.String[] { + "All", "InclusionLabels", "ExclusionLabels", "Inventories", + }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_InstanceFilter_Inventory_descriptor, + new java.lang.String[] { + "OsShortName", "OsVersion", + }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignment_Rollout_descriptor, + new java.lang.String[] { + "DisruptionBudget", "MinWaitDuration", + }); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicyAssignmentOperationMetadata_descriptor, + new java.lang.String[] { + "OsPolicyAssignment", + "ApiMethod", + "RolloutState", + "RolloutStartTime", + "RolloutUpdateTime", + }); + internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_CreateOSPolicyAssignmentRequest_descriptor, + new java.lang.String[] { + "Parent", "OsPolicyAssignment", "OsPolicyAssignmentId", + }); + internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor, + new java.lang.String[] { + "OsPolicyAssignment", "UpdateMask", + }); + internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_GetOSPolicyAssignmentRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentsResponse_descriptor, + new java.lang.String[] { + "OsPolicyAssignments", "NextPageToken", + }); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsRequest_descriptor, + new java.lang.String[] { + "Name", "PageSize", "PageToken", + }); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListOSPolicyAssignmentRevisionsResponse_descriptor, + new java.lang.String[] { + "OsPolicyAssignments", "NextPageToken", + }); + internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_DeleteOSPolicyAssignmentRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.osconfig.v1.OsPolicyProto.getDescriptor(); + com.google.cloud.osconfig.v1.Common.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyProto.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyProto.java new file mode 100644 index 00000000..4970d8bb --- /dev/null +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsPolicyProto.java @@ -0,0 +1,490 @@ +/* + * 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/osconfig/v1/os_policy.proto + +package com.google.cloud.osconfig.v1; + +public final class OsPolicyProto { + private OsPolicyProto() {} + + 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_osconfig_v1_OSPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n(google/cloud/osconfig/v1/os_policy.pro" + + "to\022\030google.cloud.osconfig.v1\032\037google/api" + + "/field_behavior.proto\"\344 \n\010OSPolicy\022\017\n\002id" + + "\030\001 \001(\tB\003\340A\002\022\023\n\013description\030\002 \001(\t\022:\n\004mode" + + "\030\003 \001(\0162\'.google.cloud.osconfig.v1.OSPoli" + + "cy.ModeB\003\340A\002\022N\n\017resource_groups\030\004 \003(\01320." + + "google.cloud.osconfig.v1.OSPolicy.Resour" + + "ceGroupB\003\340A\002\022%\n\035allow_no_resource_group_" + + "match\030\005 \001(\010\032A\n\017InventoryFilter\022\032\n\ros_sho" + + "rt_name\030\001 \001(\tB\003\340A\002\022\022\n\nos_version\030\002 \001(\t\032\326" + + "\034\n\010Resource\022\017\n\002id\030\001 \001(\tB\003\340A\002\022J\n\003pkg\030\002 \001(" + + "\0132;.google.cloud.osconfig.v1.OSPolicy.Re" + + "source.PackageResourceH\000\022T\n\nrepository\030\003" + + " \001(\0132>.google.cloud.osconfig.v1.OSPolicy" + + ".Resource.RepositoryResourceH\000\022H\n\004exec\030\004" + + " \001(\01328.google.cloud.osconfig.v1.OSPolicy" + + ".Resource.ExecResourceH\000\022H\n\004file\030\005 \001(\01328" + + ".google.cloud.osconfig.v1.OSPolicy.Resou" + + "rce.FileResourceH\000\032\306\002\n\004File\022I\n\006remote\030\001 " + + "\001(\01327.google.cloud.osconfig.v1.OSPolicy." + + "Resource.File.RemoteH\000\022C\n\003gcs\030\002 \001(\01324.go" + + "ogle.cloud.osconfig.v1.OSPolicy.Resource" + + ".File.GcsH\000\022\024\n\nlocal_path\030\003 \001(\tH\000\022\026\n\016all" + + "ow_insecure\030\004 \001(\010\0323\n\006Remote\022\020\n\003uri\030\001 \001(\t" + + "B\003\340A\002\022\027\n\017sha256_checksum\030\002 \001(\t\032C\n\003Gcs\022\023\n" + + "\006bucket\030\001 \001(\tB\003\340A\002\022\023\n\006object\030\002 \001(\tB\003\340A\002\022" + + "\022\n\ngeneration\030\003 \001(\003B\006\n\004type\032\242\t\n\017PackageR" + + "esource\022d\n\rdesired_state\030\001 \001(\0162H.google." + + "cloud.osconfig.v1.OSPolicy.Resource.Pack" + + "ageResource.DesiredStateB\003\340A\002\022N\n\003apt\030\002 \001" + + "(\0132?.google.cloud.osconfig.v1.OSPolicy.R" + + "esource.PackageResource.APTH\000\022N\n\003deb\030\003 \001" + + "(\0132?.google.cloud.osconfig.v1.OSPolicy.R" + + "esource.PackageResource.DebH\000\022N\n\003yum\030\004 \001" + + "(\0132?.google.cloud.osconfig.v1.OSPolicy.R" + + "esource.PackageResource.YUMH\000\022T\n\006zypper\030" + + "\005 \001(\0132B.google.cloud.osconfig.v1.OSPolic" + + "y.Resource.PackageResource.ZypperH\000\022N\n\003r" + + "pm\030\006 \001(\0132?.google.cloud.osconfig.v1.OSPo" + + "licy.Resource.PackageResource.RPMH\000\022T\n\006g" + + "ooget\030\007 \001(\0132B.google.cloud.osconfig.v1.O" + + "SPolicy.Resource.PackageResource.GooGetH" + + "\000\022N\n\003msi\030\010 \001(\0132?.google.cloud.osconfig.v" + + "1.OSPolicy.Resource.PackageResource.MSIH" + + "\000\032_\n\003Deb\022E\n\006source\030\001 \001(\01320.google.cloud." + + "osconfig.v1.OSPolicy.Resource.FileB\003\340A\002\022" + + "\021\n\tpull_deps\030\002 \001(\010\032\030\n\003APT\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\002\032_\n\003RPM\022E\n\006source\030\001 \001(\01320.google.clo" + + "ud.osconfig.v1.OSPolicy.Resource.FileB\003\340" + + "A\002\022\021\n\tpull_deps\030\002 \001(\010\032\030\n\003YUM\022\021\n\004name\030\001 \001" + + "(\tB\003\340A\002\032\033\n\006Zypper\022\021\n\004name\030\001 \001(\tB\003\340A\002\032\033\n\006" + + "GooGet\022\021\n\004name\030\001 \001(\tB\003\340A\002\032`\n\003MSI\022E\n\006sour" + + "ce\030\001 \001(\01320.google.cloud.osconfig.v1.OSPo" + + "licy.Resource.FileB\003\340A\002\022\022\n\nproperties\030\002 " + + "\003(\t\"I\n\014DesiredState\022\035\n\031DESIRED_STATE_UNS" + + "PECIFIED\020\000\022\r\n\tINSTALLED\020\001\022\013\n\007REMOVED\020\002B\020" + + "\n\016system_package\032\270\007\n\022RepositoryResource\022" + + "[\n\003apt\030\001 \001(\0132L.google.cloud.osconfig.v1." + + "OSPolicy.Resource.RepositoryResource.Apt" + + "RepositoryH\000\022[\n\003yum\030\002 \001(\0132L.google.cloud" + + ".osconfig.v1.OSPolicy.Resource.Repositor" + + "yResource.YumRepositoryH\000\022a\n\006zypper\030\003 \001(" + + "\0132O.google.cloud.osconfig.v1.OSPolicy.Re" + + "source.RepositoryResource.ZypperReposito" + + "ryH\000\022[\n\003goo\030\004 \001(\0132L.google.cloud.osconfi" + + "g.v1.OSPolicy.Resource.RepositoryResourc" + + "e.GooRepositoryH\000\032\236\002\n\rAptRepository\022s\n\014a" + + "rchive_type\030\001 \001(\0162X.google.cloud.osconfi" + + "g.v1.OSPolicy.Resource.RepositoryResourc" + + "e.AptRepository.ArchiveTypeB\003\340A\002\022\020\n\003uri\030" + + "\002 \001(\tB\003\340A\002\022\031\n\014distribution\030\003 \001(\tB\003\340A\002\022\027\n" + + "\ncomponents\030\004 \003(\tB\003\340A\002\022\017\n\007gpg_key\030\005 \001(\t\"" + + "A\n\013ArchiveType\022\034\n\030ARCHIVE_TYPE_UNSPECIFI" + + "ED\020\000\022\007\n\003DEB\020\001\022\013\n\007DEB_SRC\020\002\032_\n\rYumReposit" + + "ory\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014display_name\030\002 \001" + + "(\t\022\025\n\010base_url\030\003 \001(\tB\003\340A\002\022\020\n\010gpg_keys\030\004 " + + "\003(\t\032b\n\020ZypperRepository\022\017\n\002id\030\001 \001(\tB\003\340A\002" + + "\022\024\n\014display_name\030\002 \001(\t\022\025\n\010base_url\030\003 \001(\t" + + "B\003\340A\002\022\020\n\010gpg_keys\030\004 \003(\t\0324\n\rGooRepository" + + "\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003url\030\002 \001(\tB\003\340A\002B\014\n" + + "\nrepository\032\371\003\n\014ExecResource\022T\n\010validate" + + "\030\001 \001(\0132=.google.cloud.osconfig.v1.OSPoli" + + "cy.Resource.ExecResource.ExecB\003\340A\002\022N\n\007en" + + "force\030\002 \001(\0132=.google.cloud.osconfig.v1.O" + + "SPolicy.Resource.ExecResource.Exec\032\302\002\n\004E" + + "xec\022@\n\004file\030\001 \001(\01320.google.cloud.osconfi" + + "g.v1.OSPolicy.Resource.FileH\000\022\020\n\006script\030" + + "\002 \001(\tH\000\022\014\n\004args\030\003 \003(\t\022c\n\013interpreter\030\004 \001" + + "(\0162I.google.cloud.osconfig.v1.OSPolicy.R" + + "esource.ExecResource.Exec.InterpreterB\003\340" + + "A\002\022\030\n\020output_file_path\030\005 \001(\t\"O\n\013Interpre" + + "ter\022\033\n\027INTERPRETER_UNSPECIFIED\020\000\022\010\n\004NONE" + + "\020\001\022\t\n\005SHELL\020\002\022\016\n\nPOWERSHELL\020\003B\010\n\006source\032" + + "\314\002\n\014FileResource\022@\n\004file\030\001 \001(\01320.google." + + "cloud.osconfig.v1.OSPolicy.Resource.File" + + "H\000\022\021\n\007content\030\002 \001(\tH\000\022\021\n\004path\030\003 \001(\tB\003\340A\002" + + "\022Y\n\005state\030\004 \001(\0162E.google.cloud.osconfig." + + "v1.OSPolicy.Resource.FileResource.Desire" + + "dStateB\003\340A\002\022\023\n\013permissions\030\005 \001(\t\"Z\n\014Desi" + + "redState\022\035\n\031DESIRED_STATE_UNSPECIFIED\020\000\022" + + "\013\n\007PRESENT\020\001\022\n\n\006ABSENT\020\002\022\022\n\016CONTENTS_MAT" + + "CH\020\003B\010\n\006sourceB\017\n\rresource_type\032\243\001\n\rReso" + + "urceGroup\022M\n\021inventory_filters\030\001 \003(\01322.g" + + "oogle.cloud.osconfig.v1.OSPolicy.Invento" + + "ryFilter\022C\n\tresources\030\002 \003(\0132+.google.clo" + + "ud.osconfig.v1.OSPolicy.ResourceB\003\340A\002\"=\n" + + "\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\016\n\nVALIDATIO" + + "N\020\001\022\017\n\013ENFORCEMENT\020\002B\305\001\n\034com.google.clou" + + "d.osconfig.v1B\rOsPolicyProtoP\001Z@google.g" + + "olang.org/genproto/googleapis/cloud/osco" + + "nfig/v1;osconfig\252\002\030Google.Cloud.OsConfig" + + ".V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002\033Google:" + + ":Cloud::OsConfig::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1_OSPolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor, + new java.lang.String[] { + "Id", "Description", "Mode", "ResourceGroups", "AllowNoResourceGroupMatch", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_InventoryFilter_descriptor, + new java.lang.String[] { + "OsShortName", "OsVersion", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor, + new java.lang.String[] { + "Id", "Pkg", "Repository", "Exec", "File", "ResourceType", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor, + new java.lang.String[] { + "Remote", "Gcs", "LocalPath", "AllowInsecure", "Type", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Remote_descriptor, + new java.lang.String[] { + "Uri", "Sha256Checksum", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_File_Gcs_descriptor, + new java.lang.String[] { + "Bucket", "Object", "Generation", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor, + new java.lang.String[] { + "DesiredState", + "Apt", + "Deb", + "Yum", + "Zypper", + "Rpm", + "Googet", + "Msi", + "SystemPackage", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Deb_descriptor, + new java.lang.String[] { + "Source", "PullDeps", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_APT_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_RPM_descriptor, + new java.lang.String[] { + "Source", "PullDeps", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_YUM_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor + .getNestedTypes() + .get(4); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_Zypper_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor + .getNestedTypes() + .get(5); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_GooGet_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_descriptor + .getNestedTypes() + .get(6); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_PackageResource_MSI_descriptor, + new java.lang.String[] { + "Source", "Properties", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor, + new java.lang.String[] { + "Apt", "Yum", "Zypper", "Goo", "Repository", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor, + new java.lang.String[] { + "ArchiveType", "Uri", "Distribution", "Components", "GpgKey", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor, + new java.lang.String[] { + "Id", "DisplayName", "BaseUrl", "GpgKeys", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor, + new java.lang.String[] { + "Id", "DisplayName", "BaseUrl", "GpgKeys", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor, + new java.lang.String[] { + "Name", "Url", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor, + new java.lang.String[] { + "Validate", "Enforce", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_ExecResource_Exec_descriptor, + new java.lang.String[] { + "File", "Script", "Args", "Interpreter", "OutputFilePath", "Source", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_descriptor + .getNestedTypes() + .get(4); + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_Resource_FileResource_descriptor, + new java.lang.String[] { + "File", "Content", "Path", "State", "Permissions", "Source", + }); + internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor = + internal_static_google_cloud_osconfig_v1_OSPolicy_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OSPolicy_ResourceGroup_descriptor, + new java.lang.String[] { + "InventoryFilters", "Resources", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeploymentName.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeploymentName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeploymentName.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeploymentName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeployments.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeployments.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeployments.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeployments.java index c7fd7437..bd4756f7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeployments.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeployments.java @@ -1,3 +1,18 @@ +/* + * 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/osconfig/v1/patch_deployments.proto @@ -5,20 +20,21 @@ public final class PatchDeployments { private PatchDeployments() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } - public interface PatchDeploymentOrBuilder extends + + public interface PatchDeploymentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.PatchDeployment) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Unique name for the patch deployment resource in a project. The patch
      * deployment name is in the form:
@@ -27,10 +43,13 @@ public interface PatchDeploymentOrBuilder extends
      * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Unique name for the patch deployment resource in a project. The patch
      * deployment name is in the form:
@@ -39,313 +58,457 @@ public interface PatchDeploymentOrBuilder extends
      * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * Optional. Description of the patch deployment. Length of the description is
      * limited to 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * Optional. Description of the patch deployment. Length of the description is
      * limited to 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * Required. VM instances to patch.
      * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceFilter field is set. */ boolean hasInstanceFilter(); /** + * + * *
      * Required. VM instances to patch.
      * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceFilter. */ com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFilter(); /** + * + * *
      * Required. VM instances to patch.
      * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder(); + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder + getInstanceFilterOrBuilder(); /** + * + * *
      * Optional. Patch configuration that is applied.
      * 
* - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the patchConfig field is set. */ boolean hasPatchConfig(); /** + * + * *
      * Optional. Patch configuration that is applied.
      * 
* - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The patchConfig. */ com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getPatchConfig(); /** + * + * *
      * Optional. Patch configuration that is applied.
      * 
* - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder(); /** + * + * *
      * Optional. Duration of the patch. After the duration ends, the patch times
      * out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the duration field is set. */ boolean hasDuration(); /** + * + * *
      * Optional. Duration of the patch. After the duration ends, the patch times
      * out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** + * + * *
      * Optional. Duration of the patch. After the duration ends, the patch times
      * out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); /** + * + * *
      * Required. Schedule a one-time execution.
      * 
* - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the oneTimeSchedule field is set. */ boolean hasOneTimeSchedule(); /** + * + * *
      * Required. Schedule a one-time execution.
      * 
* - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The oneTimeSchedule. */ com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule getOneTimeSchedule(); /** + * + * *
      * Required. Schedule a one-time execution.
      * 
* - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder getOneTimeScheduleOrBuilder(); + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder + getOneTimeScheduleOrBuilder(); /** + * + * *
      * Required. Schedule recurring executions.
      * 
* - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the recurringSchedule field is set. */ boolean hasRecurringSchedule(); /** + * + * *
      * Required. Schedule recurring executions.
      * 
* - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The recurringSchedule. */ com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule getRecurringSchedule(); /** + * + * *
      * Required. Schedule recurring executions.
      * 
* - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder getRecurringScheduleOrBuilder(); + com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder + getRecurringScheduleOrBuilder(); /** + * + * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastExecuteTime field is set. */ boolean hasLastExecuteTime(); /** + * + * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastExecuteTime. */ com.google.protobuf.Timestamp getLastExecuteTime(); /** + * + * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder(); /** + * + * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rollout field is set. */ boolean hasRollout(); /** + * + * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rollout. */ com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getRollout(); /** + * + * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder(); /** + * + * *
      * Output only. Current state of the patch deployment.
      * 
* - * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
      * Output only. Current state of the patch deployment.
      * 
* - * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State getState(); - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.ScheduleCase getScheduleCase(); + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.ScheduleCase + getScheduleCase(); } /** + * + * *
    * Patch deployments are configurations that individual patch jobs use to
    * complete a patch. These configurations include instance filter, package
@@ -356,15 +519,16 @@ public interface PatchDeploymentOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1.PatchDeployment}
    */
-  public static final class PatchDeployment extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PatchDeployment extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.PatchDeployment)
       PatchDeploymentOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PatchDeployment.newBuilder() to construct.
     private PatchDeployment(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PatchDeployment() {
       name_ = "";
       description_ = "";
@@ -373,16 +537,15 @@ private PatchDeployment() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PatchDeployment();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PatchDeployment(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -401,150 +564,188 @@ private PatchDeployment(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              name_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              description_ = s;
-              break;
-            }
-            case 26: {
-              com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder subBuilder = null;
-              if (instanceFilter_ != null) {
-                subBuilder = instanceFilter_.toBuilder();
-              }
-              instanceFilter_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(instanceFilter_);
-                instanceFilter_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-            case 34: {
-              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder subBuilder = null;
-              if (patchConfig_ != null) {
-                subBuilder = patchConfig_.toBuilder();
-              }
-              patchConfig_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(patchConfig_);
-                patchConfig_ = subBuilder.buildPartial();
-              }
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              break;
-            }
-            case 42: {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (duration_ != null) {
-                subBuilder = duration_.toBuilder();
-              }
-              duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(duration_);
-                duration_ = subBuilder.buildPartial();
+                name_ = s;
+                break;
               }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              break;
-            }
-            case 50: {
-              com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder subBuilder = null;
-              if (scheduleCase_ == 6) {
-                subBuilder = ((com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_).toBuilder();
+                description_ = s;
+                break;
               }
-              schedule_ =
-                  input.readMessage(com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_);
-                schedule_ = subBuilder.buildPartial();
+            case 26:
+              {
+                com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder subBuilder =
+                    null;
+                if (instanceFilter_ != null) {
+                  subBuilder = instanceFilter_.toBuilder();
+                }
+                instanceFilter_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(instanceFilter_);
+                  instanceFilter_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              scheduleCase_ = 6;
-              break;
-            }
-            case 58: {
-              com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder subBuilder = null;
-              if (scheduleCase_ == 7) {
-                subBuilder = ((com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_).toBuilder();
+            case 34:
+              {
+                com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder subBuilder = null;
+                if (patchConfig_ != null) {
+                  subBuilder = patchConfig_.toBuilder();
+                }
+                patchConfig_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(patchConfig_);
+                  patchConfig_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              schedule_ =
-                  input.readMessage(com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_);
-                schedule_ = subBuilder.buildPartial();
+            case 42:
+              {
+                com.google.protobuf.Duration.Builder subBuilder = null;
+                if (duration_ != null) {
+                  subBuilder = duration_.toBuilder();
+                }
+                duration_ =
+                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(duration_);
+                  duration_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              scheduleCase_ = 7;
-              break;
-            }
-            case 66: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
+            case 50:
+              {
+                com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder subBuilder =
+                    null;
+                if (scheduleCase_ == 6) {
+                  subBuilder =
+                      ((com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_)
+                          .toBuilder();
+                }
+                schedule_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_);
+                  schedule_ = subBuilder.buildPartial();
+                }
+                scheduleCase_ = 6;
+                break;
               }
-              createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
+            case 58:
+              {
+                com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder subBuilder =
+                    null;
+                if (scheduleCase_ == 7) {
+                  subBuilder =
+                      ((com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_)
+                          .toBuilder();
+                }
+                schedule_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_);
+                  schedule_ = subBuilder.buildPartial();
+                }
+                scheduleCase_ = 7;
+                break;
               }
-
-              break;
-            }
-            case 74: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
+            case 66:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (createTime_ != null) {
+                  subBuilder = createTime_.toBuilder();
+                }
+                createTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(createTime_);
+                  createTime_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
+            case 74:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (updateTime_ != null) {
+                  subBuilder = updateTime_.toBuilder();
+                }
+                updateTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(updateTime_);
+                  updateTime_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-
-              break;
-            }
-            case 82: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (lastExecuteTime_ != null) {
-                subBuilder = lastExecuteTime_.toBuilder();
+            case 82:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (lastExecuteTime_ != null) {
+                  subBuilder = lastExecuteTime_.toBuilder();
+                }
+                lastExecuteTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(lastExecuteTime_);
+                  lastExecuteTime_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              lastExecuteTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(lastExecuteTime_);
-                lastExecuteTime_ = subBuilder.buildPartial();
+            case 90:
+              {
+                com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder subBuilder = null;
+                if (rollout_ != null) {
+                  subBuilder = rollout_.toBuilder();
+                }
+                rollout_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(rollout_);
+                  rollout_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
+            case 96:
+              {
+                int rawValue = input.readEnum();
 
-              break;
-            }
-            case 90: {
-              com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder subBuilder = null;
-              if (rollout_ != null) {
-                subBuilder = rollout_.toBuilder();
-              }
-              rollout_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rollout_);
-                rollout_ = subBuilder.buildPartial();
+                state_ = rawValue;
+                break;
               }
-
-              break;
-            }
-            case 96: {
-              int rawValue = input.readEnum();
-
-              state_ = rawValue;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -552,36 +753,41 @@ private PatchDeployment(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchDeployments
+          .internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PatchDeployment_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchDeployments
+          .internal_static_google_cloud_osconfig_v1_PatchDeployment_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder.class);
+              com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class,
+              com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * Represents state of patch peployment.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1.PatchDeployment.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The default value. This value is used if the state is omitted.
        * 
@@ -590,6 +796,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
        * Active value means that patch deployment generates Patch Jobs.
        * 
@@ -598,6 +806,8 @@ public enum State */ ACTIVE(1), /** + * + * *
        * Paused value means that patch deployment does not generate
        * Patch jobs. Requires user action to move in and out from this state.
@@ -610,6 +820,8 @@ public enum State
       ;
 
       /**
+       *
+       *
        * 
        * The default value. This value is used if the state is omitted.
        * 
@@ -618,6 +830,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Active value means that patch deployment generates Patch Jobs.
        * 
@@ -626,6 +840,8 @@ public enum State */ public static final int ACTIVE_VALUE = 1; /** + * + * *
        * Paused value means that patch deployment does not generate
        * Patch jobs. Requires user action to move in and out from this state.
@@ -635,7 +851,6 @@ public enum State
        */
       public static final int PAUSED_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -660,49 +875,51 @@ public static State valueOf(int value) {
        */
       public static State forNumber(int value) {
         switch (value) {
-          case 0: return STATE_UNSPECIFIED;
-          case 1: return ACTIVE;
-          case 2: return PAUSED;
-          default: return null;
+          case 0:
+            return STATE_UNSPECIFIED;
+          case 1:
+            return ACTIVE;
+          case 2:
+            return PAUSED;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          State> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public State findValueByNumber(int number) {
-                return State.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final State[] VALUES = values();
 
-      public static State valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -721,13 +938,16 @@ private State(int value) {
 
     private int scheduleCase_ = 0;
     private java.lang.Object schedule_;
+
     public enum ScheduleCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       ONE_TIME_SCHEDULE(6),
       RECURRING_SCHEDULE(7),
       SCHEDULE_NOT_SET(0);
       private final int value;
+
       private ScheduleCase(int value) {
         this.value = value;
       }
@@ -743,26 +963,31 @@ public static ScheduleCase valueOf(int value) {
 
       public static ScheduleCase forNumber(int value) {
         switch (value) {
-          case 6: return ONE_TIME_SCHEDULE;
-          case 7: return RECURRING_SCHEDULE;
-          case 0: return SCHEDULE_NOT_SET;
-          default: return null;
+          case 6:
+            return ONE_TIME_SCHEDULE;
+          case 7:
+            return RECURRING_SCHEDULE;
+          case 0:
+            return SCHEDULE_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ScheduleCase
-    getScheduleCase() {
-      return ScheduleCase.forNumber(
-          scheduleCase_);
+    public ScheduleCase getScheduleCase() {
+      return ScheduleCase.forNumber(scheduleCase_);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object name_;
     /**
+     *
+     *
      * 
      * Unique name for the patch deployment resource in a project. The patch
      * deployment name is in the form:
@@ -771,6 +996,7 @@ public int getNumber() {
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -779,14 +1005,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Unique name for the patch deployment resource in a project. The patch
      * deployment name is in the form:
@@ -795,16 +1022,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -815,12 +1041,15 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
      * Optional. Description of the patch deployment. Length of the description is
      * limited to 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -829,30 +1058,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * Optional. Description of the patch deployment. Length of the description is
      * limited to 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -863,11 +1092,16 @@ public java.lang.String getDescription() { public static final int INSTANCE_FILTER_FIELD_NUMBER = 3; private com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter instanceFilter_; /** + * + * *
      * Required. VM instances to patch.
      * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceFilter field is set. */ @java.lang.Override @@ -875,37 +1109,54 @@ public boolean hasInstanceFilter() { return instanceFilter_ != null; } /** + * + * *
      * Required. VM instances to patch.
      * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceFilter. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFilter() { - return instanceFilter_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() + : instanceFilter_; } /** + * + * *
      * Required. VM instances to patch.
      * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder + getInstanceFilterOrBuilder() { return getInstanceFilter(); } public static final int PATCH_CONFIG_FIELD_NUMBER = 4; private com.google.cloud.osconfig.v1.PatchJobs.PatchConfig patchConfig_; /** + * + * *
      * Optional. Patch configuration that is applied.
      * 
* - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the patchConfig field is set. */ @java.lang.Override @@ -913,23 +1164,34 @@ public boolean hasPatchConfig() { return patchConfig_ != null; } /** + * + * *
      * Optional. Patch configuration that is applied.
      * 
* - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The patchConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getPatchConfig() { - return patchConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; + return patchConfig_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() + : patchConfig_; } /** + * + * *
      * Optional. Patch configuration that is applied.
      * 
* - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder() { @@ -939,12 +1201,16 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi public static final int DURATION_FIELD_NUMBER = 5; private com.google.protobuf.Duration duration_; /** + * + * *
      * Optional. Duration of the patch. After the duration ends, the patch times
      * out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the duration field is set. */ @java.lang.Override @@ -952,12 +1218,16 @@ public boolean hasDuration() { return duration_ != null; } /** + * + * *
      * Optional. Duration of the patch. After the duration ends, the patch times
      * out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The duration. */ @java.lang.Override @@ -965,12 +1235,15 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** + * + * *
      * Optional. Duration of the patch. After the duration ends, the patch times
      * out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { @@ -979,11 +1252,16 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { public static final int ONE_TIME_SCHEDULE_FIELD_NUMBER = 6; /** + * + * *
      * Required. Schedule a one-time execution.
      * 
* - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the oneTimeSchedule field is set. */ @java.lang.Override @@ -991,42 +1269,57 @@ public boolean hasOneTimeSchedule() { return scheduleCase_ == 6; } /** + * + * *
      * Required. Schedule a one-time execution.
      * 
* - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The oneTimeSchedule. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule getOneTimeSchedule() { if (scheduleCase_ == 6) { - return (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_; + return (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_; } return com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.getDefaultInstance(); } /** + * + * *
      * Required. Schedule a one-time execution.
      * 
* - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder getOneTimeScheduleOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder + getOneTimeScheduleOrBuilder() { if (scheduleCase_ == 6) { - return (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_; + return (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_; } return com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.getDefaultInstance(); } public static final int RECURRING_SCHEDULE_FIELD_NUMBER = 7; /** + * + * *
      * Required. Schedule recurring executions.
      * 
* - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the recurringSchedule field is set. */ @java.lang.Override @@ -1034,31 +1327,41 @@ public boolean hasRecurringSchedule() { return scheduleCase_ == 7; } /** + * + * *
      * Required. Schedule recurring executions.
      * 
* - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The recurringSchedule. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule getRecurringSchedule() { if (scheduleCase_ == 7) { - return (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_; + return (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_; } return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance(); } /** + * + * *
      * Required. Schedule recurring executions.
      * 
* - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder getRecurringScheduleOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder + getRecurringScheduleOrBuilder() { if (scheduleCase_ == 7) { - return (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_; + return (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_; } return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance(); } @@ -1066,12 +1369,17 @@ public com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder public static final int CREATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp createTime_; /** + * + * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1079,12 +1387,17 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -1092,12 +1405,16 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1107,12 +1424,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1120,12 +1442,17 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -1133,12 +1460,16 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1148,13 +1479,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int LAST_EXECUTE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp lastExecuteTime_; /** + * + * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastExecuteTime field is set. */ @java.lang.Override @@ -1162,27 +1498,38 @@ public boolean hasLastExecuteTime() { return lastExecuteTime_ != null; } /** + * + * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastExecuteTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastExecuteTime() { - return lastExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; + return lastExecuteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastExecuteTime_; } /** + * + * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { @@ -1192,11 +1539,16 @@ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { public static final int ROLLOUT_FIELD_NUMBER = 11; private com.google.cloud.osconfig.v1.PatchJobs.PatchRollout rollout_; /** + * + * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rollout field is set. */ @java.lang.Override @@ -1204,23 +1556,34 @@ public boolean hasRollout() { return rollout_ != null; } /** + * + * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rollout. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getRollout() { - return rollout_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() + : rollout_; } /** + * + * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder() { @@ -1230,31 +1593,47 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOr public static final int STATE_FIELD_NUMBER = 12; private int state_; /** + * + * *
      * Output only. Current state of the patch deployment.
      * 
* - * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. Current state of the patch deployment.
      * 
* - * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State getState() { + @java.lang.Override + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State result = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State result = + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.valueOf(state_); + return result == null + ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1266,8 +1645,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -1284,10 +1662,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(5, getDuration()); } if (scheduleCase_ == 6) { - output.writeMessage(6, (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_); + output.writeMessage( + 6, (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_); } if (scheduleCase_ == 7) { - output.writeMessage(7, (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_); + output.writeMessage( + 7, (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_); } if (createTime_ != null) { output.writeMessage(8, getCreateTime()); @@ -1301,7 +1681,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (rollout_ != null) { output.writeMessage(11, getRollout()); } - if (state_ != com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(12, state_); } unknownFields.writeTo(output); @@ -1320,44 +1702,40 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (instanceFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getInstanceFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstanceFilter()); } if (patchConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getPatchConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPatchConfig()); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDuration()); } if (scheduleCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_); } if (scheduleCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getUpdateTime()); } if (lastExecuteTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getLastExecuteTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getLastExecuteTime()); } if (rollout_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getRollout()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getRollout()); } - if (state_ != com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(12, state_); + if (state_ + != com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, state_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1367,62 +1745,52 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment other = (com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment) obj; + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment other = + (com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasInstanceFilter() != other.hasInstanceFilter()) return false; if (hasInstanceFilter()) { - if (!getInstanceFilter() - .equals(other.getInstanceFilter())) return false; + if (!getInstanceFilter().equals(other.getInstanceFilter())) return false; } if (hasPatchConfig() != other.hasPatchConfig()) return false; if (hasPatchConfig()) { - if (!getPatchConfig() - .equals(other.getPatchConfig())) return false; + if (!getPatchConfig().equals(other.getPatchConfig())) return false; } if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration() - .equals(other.getDuration())) return false; + if (!getDuration().equals(other.getDuration())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (hasLastExecuteTime() != other.hasLastExecuteTime()) return false; if (hasLastExecuteTime()) { - if (!getLastExecuteTime() - .equals(other.getLastExecuteTime())) return false; + if (!getLastExecuteTime().equals(other.getLastExecuteTime())) return false; } if (hasRollout() != other.hasRollout()) return false; if (hasRollout()) { - if (!getRollout() - .equals(other.getRollout())) return false; + if (!getRollout().equals(other.getRollout())) return false; } if (state_ != other.state_) return false; if (!getScheduleCase().equals(other.getScheduleCase())) return false; switch (scheduleCase_) { case 6: - if (!getOneTimeSchedule() - .equals(other.getOneTimeSchedule())) return false; + if (!getOneTimeSchedule().equals(other.getOneTimeSchedule())) return false; break; case 7: - if (!getRecurringSchedule() - .equals(other.getRecurringSchedule())) return false; + if (!getRecurringSchedule().equals(other.getRecurringSchedule())) return false; break; case 0: default: @@ -1490,87 +1858,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment 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.osconfig.v1.PatchDeployments.PatchDeployment parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1580,6 +1955,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Patch deployments are configurations that individual patch jobs use to
      * complete a patch. These configurations include instance filter, package
@@ -1590,21 +1967,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.PatchDeployment}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.PatchDeployment)
         com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchDeployments
+            .internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PatchDeployment_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchDeployments
+            .internal_static_google_cloud_osconfig_v1_PatchDeployment_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder.class);
+                com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.class,
+                com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.newBuilder()
@@ -1612,16 +1992,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1679,13 +2058,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchDeployments
+            .internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment
+          getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance();
       }
 
@@ -1700,7 +2080,8 @@ public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment buildPartial() {
-        com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment result = new com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment(this);
+        com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment result =
+            new com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment(this);
         result.name_ = name_;
         result.description_ = description_;
         if (instanceFilterBuilder_ == null) {
@@ -1762,46 +2143,52 @@ public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment buildPartia
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchDeployments.PatchDeployment) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment other) {
-        if (other == com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment other) {
+        if (other
+            == com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance())
+          return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -1835,17 +2222,20 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.PatchDepl
           setStateValue(other.getStateValue());
         }
         switch (other.getScheduleCase()) {
-          case ONE_TIME_SCHEDULE: {
-            mergeOneTimeSchedule(other.getOneTimeSchedule());
-            break;
-          }
-          case RECURRING_SCHEDULE: {
-            mergeRecurringSchedule(other.getRecurringSchedule());
-            break;
-          }
-          case SCHEDULE_NOT_SET: {
-            break;
-          }
+          case ONE_TIME_SCHEDULE:
+            {
+              mergeOneTimeSchedule(other.getOneTimeSchedule());
+              break;
+            }
+          case RECURRING_SCHEDULE:
+            {
+              mergeRecurringSchedule(other.getRecurringSchedule());
+              break;
+            }
+          case SCHEDULE_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -1866,7 +2256,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1875,12 +2267,12 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int scheduleCase_ = 0;
       private java.lang.Object schedule_;
-      public ScheduleCase
-          getScheduleCase() {
-        return ScheduleCase.forNumber(
-            scheduleCase_);
+
+      public ScheduleCase getScheduleCase() {
+        return ScheduleCase.forNumber(scheduleCase_);
       }
 
       public Builder clearSchedule() {
@@ -1890,9 +2282,10 @@ public Builder clearSchedule() {
         return this;
       }
 
-
       private java.lang.Object name_ = "";
       /**
+       *
+       *
        * 
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -1901,13 +2294,13 @@ public Builder clearSchedule() {
        * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1916,6 +2309,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -1924,15 +2319,14 @@ public java.lang.String getName() {
        * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1940,6 +2334,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -1948,20 +2344,22 @@ public java.lang.String getName() {
        * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -1970,15 +2368,18 @@ public Builder setName(
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -1987,16 +2388,16 @@ public Builder clearName() {
        * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2004,19 +2405,21 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
        * Optional. Description of the patch deployment. Length of the description is
        * limited to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2025,21 +2428,22 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Optional. Description of the patch deployment. Length of the description is
        * limited to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2047,57 +2451,64 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Optional. Description of the patch deployment. Length of the description is
        * limited to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
        * Optional. Description of the patch deployment. Length of the description is
        * limited to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
        * Optional. Description of the patch deployment. Length of the description is
        * limited to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2105,41 +2516,61 @@ public Builder setDescriptionBytes( private com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter instanceFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> instanceFilterBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> + instanceFilterBuilder_; /** + * + * *
        * Required. VM instances to patch.
        * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceFilter field is set. */ public boolean hasInstanceFilter() { return instanceFilterBuilder_ != null || instanceFilter_ != null; } /** + * + * *
        * Required. VM instances to patch.
        * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceFilter. */ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFilter() { if (instanceFilterBuilder_ == null) { - return instanceFilter_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() + : instanceFilter_; } else { return instanceFilterBuilder_.getMessage(); } } /** + * + * *
        * Required. VM instances to patch.
        * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInstanceFilter(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { + public Builder setInstanceFilter( + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2153,11 +2584,15 @@ public Builder setInstanceFilter(com.google.cloud.osconfig.v1.PatchJobs.PatchIns return this; } /** + * + * *
        * Required. VM instances to patch.
        * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstanceFilter( com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder builderForValue) { @@ -2171,17 +2606,25 @@ public Builder setInstanceFilter( return this; } /** + * + * *
        * Required. VM instances to patch.
        * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { + public Builder mergeInstanceFilter( + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (instanceFilter_ != null) { instanceFilter_ = - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.newBuilder(instanceFilter_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.newBuilder( + instanceFilter_) + .mergeFrom(value) + .buildPartial(); } else { instanceFilter_ = value; } @@ -2193,11 +2636,15 @@ public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1.PatchJobs.PatchI return this; } /** + * + * *
        * Required. VM instances to patch.
        * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstanceFilter() { if (instanceFilterBuilder_ == null) { @@ -2211,48 +2658,66 @@ public Builder clearInstanceFilter() { return this; } /** + * + * *
        * Required. VM instances to patch.
        * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder() { - + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder + getInstanceFilterBuilder() { + onChanged(); return getInstanceFilterFieldBuilder().getBuilder(); } /** + * + * *
        * Required. VM instances to patch.
        * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder + getInstanceFilterOrBuilder() { if (instanceFilterBuilder_ != null) { return instanceFilterBuilder_.getMessageOrBuilder(); } else { - return instanceFilter_ == null ? - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() + : instanceFilter_; } } /** + * + * *
        * Required. VM instances to patch.
        * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> getInstanceFilterFieldBuilder() { if (instanceFilterBuilder_ == null) { - instanceFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder>( - getInstanceFilter(), - getParentForChildren(), - isClean()); + instanceFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder>( + getInstanceFilter(), getParentForChildren(), isClean()); instanceFilter_ = null; } return instanceFilterBuilder_; @@ -2260,39 +2725,58 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getIn private com.google.cloud.osconfig.v1.PatchJobs.PatchConfig patchConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> patchConfigBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> + patchConfigBuilder_; /** + * + * *
        * Optional. Patch configuration that is applied.
        * 
* - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the patchConfig field is set. */ public boolean hasPatchConfig() { return patchConfigBuilder_ != null || patchConfig_ != null; } /** + * + * *
        * Optional. Patch configuration that is applied.
        * 
* - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The patchConfig. */ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getPatchConfig() { if (patchConfigBuilder_ == null) { - return patchConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; + return patchConfig_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() + : patchConfig_; } else { return patchConfigBuilder_.getMessage(); } } /** + * + * *
        * Optional. Patch configuration that is applied.
        * 
* - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig value) { if (patchConfigBuilder_ == null) { @@ -2308,11 +2792,15 @@ public Builder setPatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig return this; } /** + * + * *
        * Optional. Patch configuration that is applied.
        * 
* - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPatchConfig( com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder builderForValue) { @@ -2326,17 +2814,23 @@ public Builder setPatchConfig( return this; } /** + * + * *
        * Optional. Patch configuration that is applied.
        * 
* - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergePatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig value) { if (patchConfigBuilder_ == null) { if (patchConfig_ != null) { patchConfig_ = - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.newBuilder(patchConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.newBuilder(patchConfig_) + .mergeFrom(value) + .buildPartial(); } else { patchConfig_ = value; } @@ -2348,11 +2842,15 @@ public Builder mergePatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConf return this; } /** + * + * *
        * Optional. Patch configuration that is applied.
        * 
* - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearPatchConfig() { if (patchConfigBuilder_ == null) { @@ -2366,48 +2864,64 @@ public Builder clearPatchConfig() { return this; } /** + * + * *
        * Optional. Patch configuration that is applied.
        * 
* - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder getPatchConfigBuilder() { - + onChanged(); return getPatchConfigFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Patch configuration that is applied.
        * 
* - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder() { if (patchConfigBuilder_ != null) { return patchConfigBuilder_.getMessageOrBuilder(); } else { - return patchConfig_ == null ? - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; + return patchConfig_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() + : patchConfig_; } } /** + * + * *
        * Optional. Patch configuration that is applied.
        * 
* - * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> getPatchConfigFieldBuilder() { if (patchConfigBuilder_ == null) { - patchConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder>( - getPatchConfig(), - getParentForChildren(), - isClean()); + patchConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder>( + getPatchConfig(), getParentForChildren(), isClean()); patchConfig_ = null; } return patchConfigBuilder_; @@ -2415,26 +2929,37 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + durationBuilder_; /** + * + * *
        * Optional. Duration of the patch. After the duration ends, the patch times
        * out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** + * + * *
        * Optional. Duration of the patch. After the duration ends, the patch times
        * out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -2445,12 +2970,15 @@ public com.google.protobuf.Duration getDuration() { } } /** + * + * *
        * Optional. Duration of the patch. After the duration ends, the patch times
        * out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { @@ -2466,15 +2994,17 @@ public Builder setDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Optional. Duration of the patch. After the duration ends, the patch times
        * out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) { if (durationBuilder_ == null) { duration_ = builderForValue.build(); onChanged(); @@ -2485,18 +3015,21 @@ public Builder setDuration( return this; } /** + * + * *
        * Optional. Duration of the patch. After the duration ends, the patch times
        * out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { if (duration_ != null) { duration_ = - com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); } else { duration_ = value; } @@ -2508,12 +3041,15 @@ public Builder mergeDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Optional. Duration of the patch. After the duration ends, the patch times
        * out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearDuration() { if (durationBuilder_ == null) { @@ -2527,64 +3063,83 @@ public Builder clearDuration() { return this; } /** + * + * *
        * Optional. Duration of the patch. After the duration ends, the patch times
        * out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Duration.Builder getDurationBuilder() { - + onChanged(); return getDurationFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Duration of the patch. After the duration ends, the patch times
        * out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { if (durationBuilder_ != null) { return durationBuilder_.getMessageOrBuilder(); } else { - return duration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : duration_; + return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } } /** + * + * *
        * Optional. Duration of the patch. After the duration ends, the patch times
        * out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getDurationFieldBuilder() { if (durationBuilder_ == null) { - durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getDuration(), - getParentForChildren(), - isClean()); + durationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getDuration(), getParentForChildren(), isClean()); duration_ = null; } return durationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule, com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder> oneTimeScheduleBuilder_; + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule, + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder> + oneTimeScheduleBuilder_; /** + * + * *
        * Required. Schedule a one-time execution.
        * 
* - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the oneTimeSchedule field is set. */ @java.lang.Override @@ -2592,11 +3147,16 @@ public boolean hasOneTimeSchedule() { return scheduleCase_ == 6; } /** + * + * *
        * Required. Schedule a one-time execution.
        * 
* - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The oneTimeSchedule. */ @java.lang.Override @@ -2614,13 +3174,18 @@ public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule getOneTimeS } } /** + * + * *
        * Required. Schedule a one-time execution.
        * 
* - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setOneTimeSchedule(com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule value) { + public Builder setOneTimeSchedule( + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule value) { if (oneTimeScheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2634,11 +3199,15 @@ public Builder setOneTimeSchedule(com.google.cloud.osconfig.v1.PatchDeployments. return this; } /** + * + * *
        * Required. Schedule a one-time execution.
        * 
* - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOneTimeSchedule( com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder builderForValue) { @@ -2652,18 +3221,28 @@ public Builder setOneTimeSchedule( return this; } /** + * + * *
        * Required. Schedule a one-time execution.
        * 
* - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeOneTimeSchedule(com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule value) { + public Builder mergeOneTimeSchedule( + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule value) { if (oneTimeScheduleBuilder_ == null) { - if (scheduleCase_ == 6 && - schedule_ != com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.getDefaultInstance()) { - schedule_ = com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.newBuilder((com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_) - .mergeFrom(value).buildPartial(); + if (scheduleCase_ == 6 + && schedule_ + != com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule + .getDefaultInstance()) { + schedule_ = + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.newBuilder( + (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_) + .mergeFrom(value) + .buildPartial(); } else { schedule_ = value; } @@ -2679,11 +3258,15 @@ public Builder mergeOneTimeSchedule(com.google.cloud.osconfig.v1.PatchDeployment return this; } /** + * + * *
        * Required. Schedule a one-time execution.
        * 
* - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOneTimeSchedule() { if (oneTimeScheduleBuilder_ == null) { @@ -2702,24 +3285,34 @@ public Builder clearOneTimeSchedule() { return this; } /** + * + * *
        * Required. Schedule a one-time execution.
        * 
* - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder getOneTimeScheduleBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder + getOneTimeScheduleBuilder() { return getOneTimeScheduleFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Schedule a one-time execution.
        * 
* - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder getOneTimeScheduleOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder + getOneTimeScheduleOrBuilder() { if ((scheduleCase_ == 6) && (oneTimeScheduleBuilder_ != null)) { return oneTimeScheduleBuilder_.getMessageOrBuilder(); } else { @@ -2730,39 +3323,58 @@ public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder ge } } /** + * + * *
        * Required. Schedule a one-time execution.
        * 
* - * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule, com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder> + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule, + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder> getOneTimeScheduleFieldBuilder() { if (oneTimeScheduleBuilder_ == null) { if (!(scheduleCase_ == 6)) { - schedule_ = com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.getDefaultInstance(); + schedule_ = + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.getDefaultInstance(); } - oneTimeScheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule, com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder>( + oneTimeScheduleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule, + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder>( (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) schedule_, getParentForChildren(), isClean()); schedule_ = null; } scheduleCase_ = 6; - onChanged();; + onChanged(); + ; return oneTimeScheduleBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule, com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder> recurringScheduleBuilder_; + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule, + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder> + recurringScheduleBuilder_; /** + * + * *
        * Required. Schedule recurring executions.
        * 
* - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the recurringSchedule field is set. */ @java.lang.Override @@ -2770,35 +3382,48 @@ public boolean hasRecurringSchedule() { return scheduleCase_ == 7; } /** + * + * *
        * Required. Schedule recurring executions.
        * 
* - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The recurringSchedule. */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule getRecurringSchedule() { + public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule + getRecurringSchedule() { if (recurringScheduleBuilder_ == null) { if (scheduleCase_ == 7) { return (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_; } - return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance(); + return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule + .getDefaultInstance(); } else { if (scheduleCase_ == 7) { return recurringScheduleBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance(); + return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule + .getDefaultInstance(); } } /** + * + * *
        * Required. Schedule recurring executions.
        * 
* - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setRecurringSchedule(com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule value) { + public Builder setRecurringSchedule( + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule value) { if (recurringScheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2812,11 +3437,15 @@ public Builder setRecurringSchedule(com.google.cloud.osconfig.v1.PatchDeployment return this; } /** + * + * *
        * Required. Schedule recurring executions.
        * 
* - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRecurringSchedule( com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder builderForValue) { @@ -2830,18 +3459,28 @@ public Builder setRecurringSchedule( return this; } /** + * + * *
        * Required. Schedule recurring executions.
        * 
* - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeRecurringSchedule(com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule value) { + public Builder mergeRecurringSchedule( + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule value) { if (recurringScheduleBuilder_ == null) { - if (scheduleCase_ == 7 && - schedule_ != com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance()) { - schedule_ = com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.newBuilder((com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_) - .mergeFrom(value).buildPartial(); + if (scheduleCase_ == 7 + && schedule_ + != com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule + .getDefaultInstance()) { + schedule_ = + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.newBuilder( + (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_) + .mergeFrom(value) + .buildPartial(); } else { schedule_ = value; } @@ -2857,11 +3496,15 @@ public Builder mergeRecurringSchedule(com.google.cloud.osconfig.v1.PatchDeployme return this; } /** + * + * *
        * Required. Schedule recurring executions.
        * 
* - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRecurringSchedule() { if (recurringScheduleBuilder_ == null) { @@ -2880,97 +3523,139 @@ public Builder clearRecurringSchedule() { return this; } /** + * + * *
        * Required. Schedule recurring executions.
        * 
* - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder getRecurringScheduleBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder + getRecurringScheduleBuilder() { return getRecurringScheduleFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Schedule recurring executions.
        * 
* - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder getRecurringScheduleOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder + getRecurringScheduleOrBuilder() { if ((scheduleCase_ == 7) && (recurringScheduleBuilder_ != null)) { return recurringScheduleBuilder_.getMessageOrBuilder(); } else { if (scheduleCase_ == 7) { return (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_; } - return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance(); + return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule + .getDefaultInstance(); } } /** + * + * *
        * Required. Schedule recurring executions.
        * 
* - * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule, com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder> + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule, + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder> getRecurringScheduleFieldBuilder() { if (recurringScheduleBuilder_ == null) { if (!(scheduleCase_ == 7)) { - schedule_ = com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance(); + schedule_ = + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule + .getDefaultInstance(); } - recurringScheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule, com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder>( + recurringScheduleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule, + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder>( (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) schedule_, getParentForChildren(), isClean()); schedule_ = null; } scheduleCase_ = 7; - onChanged();; + onChanged(); + ; return recurringScheduleBuilder_; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2986,15 +3671,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3005,18 +3693,24 @@ public Builder setCreateTime( return this; } /** + * + * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_) + .mergeFrom(value) + .buildPartial(); } else { createTime_ = value; } @@ -3028,12 +3722,16 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -3047,51 +3745,67 @@ public Builder clearCreateTime() { return this; } /** + * + * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3099,42 +3813,61 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3150,15 +3883,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3169,18 +3905,24 @@ public Builder setUpdateTime( return this; } /** + * + * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_) + .mergeFrom(value) + .buildPartial(); } else { updateTime_ = value; } @@ -3192,12 +3934,16 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -3211,51 +3957,67 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -3263,45 +4025,64 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp lastExecuteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastExecuteTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastExecuteTimeBuilder_; /** + * + * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastExecuteTime field is set. */ public boolean hasLastExecuteTime() { return lastExecuteTimeBuilder_ != null || lastExecuteTime_ != null; } /** + * + * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastExecuteTime. */ public com.google.protobuf.Timestamp getLastExecuteTime() { if (lastExecuteTimeBuilder_ == null) { - return lastExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; + return lastExecuteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastExecuteTime_; } else { return lastExecuteTimeBuilder_.getMessage(); } } /** + * + * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setLastExecuteTime(com.google.protobuf.Timestamp value) { if (lastExecuteTimeBuilder_ == null) { @@ -3317,16 +4098,19 @@ public Builder setLastExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setLastExecuteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastExecuteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (lastExecuteTimeBuilder_ == null) { lastExecuteTime_ = builderForValue.build(); onChanged(); @@ -3337,19 +4121,25 @@ public Builder setLastExecuteTime( return this; } /** + * + * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeLastExecuteTime(com.google.protobuf.Timestamp value) { if (lastExecuteTimeBuilder_ == null) { if (lastExecuteTime_ != null) { lastExecuteTime_ = - com.google.protobuf.Timestamp.newBuilder(lastExecuteTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastExecuteTime_) + .mergeFrom(value) + .buildPartial(); } else { lastExecuteTime_ = value; } @@ -3361,13 +4151,17 @@ public Builder mergeLastExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearLastExecuteTime() { if (lastExecuteTimeBuilder_ == null) { @@ -3381,54 +4175,70 @@ public Builder clearLastExecuteTime() { return this; } /** + * + * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getLastExecuteTimeBuilder() { - + onChanged(); return getLastExecuteTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { if (lastExecuteTimeBuilder_ != null) { return lastExecuteTimeBuilder_.getMessageOrBuilder(); } else { - return lastExecuteTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; + return lastExecuteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastExecuteTime_; } } /** + * + * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getLastExecuteTimeFieldBuilder() { if (lastExecuteTimeBuilder_ == null) { - lastExecuteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLastExecuteTime(), - getParentForChildren(), - isClean()); + lastExecuteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastExecuteTime(), getParentForChildren(), isClean()); lastExecuteTime_ = null; } return lastExecuteTimeBuilder_; @@ -3436,39 +4246,58 @@ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { private com.google.cloud.osconfig.v1.PatchJobs.PatchRollout rollout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> rolloutBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> + rolloutBuilder_; /** + * + * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rollout field is set. */ public boolean hasRollout() { return rolloutBuilder_ != null || rollout_ != null; } /** + * + * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rollout. */ public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getRollout() { if (rolloutBuilder_ == null) { - return rollout_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() + : rollout_; } else { return rolloutBuilder_.getMessage(); } } /** + * + * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout value) { if (rolloutBuilder_ == null) { @@ -3484,11 +4313,15 @@ public Builder setRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout va return this; } /** + * + * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRollout( com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder builderForValue) { @@ -3502,17 +4335,23 @@ public Builder setRollout( return this; } /** + * + * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout value) { if (rolloutBuilder_ == null) { if (rollout_ != null) { rollout_ = - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.newBuilder(rollout_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.newBuilder(rollout_) + .mergeFrom(value) + .buildPartial(); } else { rollout_ = value; } @@ -3524,11 +4363,15 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout return this; } /** + * + * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRollout() { if (rolloutBuilder_ == null) { @@ -3542,48 +4385,64 @@ public Builder clearRollout() { return this; } /** + * + * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder getRolloutBuilder() { - + onChanged(); return getRolloutFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder() { if (rolloutBuilder_ != null) { return rolloutBuilder_.getMessageOrBuilder(); } else { - return rollout_ == null ? - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() + : rollout_; } } /** + * + * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> getRolloutFieldBuilder() { if (rolloutBuilder_ == null) { - rolloutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder>( - getRollout(), - getParentForChildren(), - isClean()); + rolloutBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder>( + getRollout(), getParentForChildren(), isClean()); rollout_ = null; } return rolloutBuilder_; @@ -3591,77 +4450,108 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOr private int state_ = 0; /** + * + * *
        * Output only. Current state of the patch deployment.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * Output only. Current state of the patch deployment.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
        * Output only. Current state of the patch deployment.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State result = com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State result = + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.valueOf(state_); + return result == null + ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State.UNRECOGNIZED + : result; } /** + * + * *
        * Output only. Current state of the patch deployment.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State value) { + public Builder setState( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Output only. Current state of the patch deployment.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3674,30 +4564,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.PatchDeployment) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.PatchDeployment) - private static final com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchDeployment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchDeployment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchDeployment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchDeployment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3709,44 +4601,58 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface OneTimeScheduleOrBuilder extends + public interface OneTimeScheduleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.OneTimeSchedule) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the executeTime field is set. */ boolean hasExecuteTime(); /** + * + * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The executeTime. */ com.google.protobuf.Timestamp getExecuteTime(); /** + * + * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getExecuteTimeOrBuilder(); } /** + * + * *
    * Sets the time for a one time patch deployment. Timestamp is in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
@@ -3754,30 +4660,29 @@ public interface OneTimeScheduleOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1.OneTimeSchedule}
    */
-  public static final class OneTimeSchedule extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class OneTimeSchedule extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.OneTimeSchedule)
       OneTimeScheduleOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use OneTimeSchedule.newBuilder() to construct.
     private OneTimeSchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private OneTimeSchedule() {
-    }
+
+    private OneTimeSchedule() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new OneTimeSchedule();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private OneTimeSchedule(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3796,26 +4701,28 @@ private OneTimeSchedule(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (executeTime_ != null) {
-                subBuilder = executeTime_.toBuilder();
-              }
-              executeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(executeTime_);
-                executeTime_ = subBuilder.buildPartial();
+            case 10:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (executeTime_ != null) {
+                  subBuilder = executeTime_.toBuilder();
+                }
+                executeTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(executeTime_);
+                  executeTime_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3823,34 +4730,40 @@ private OneTimeSchedule(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchDeployments
+          .internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_OneTimeSchedule_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchDeployments
+          .internal_static_google_cloud_osconfig_v1_OneTimeSchedule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.class, com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder.class);
+              com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.class,
+              com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder.class);
     }
 
     public static final int EXECUTE_TIME_FIELD_NUMBER = 1;
     private com.google.protobuf.Timestamp executeTime_;
     /**
+     *
+     *
      * 
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the executeTime field is set. */ @java.lang.Override @@ -3858,23 +4771,32 @@ public boolean hasExecuteTime() { return executeTime_ != null; } /** + * + * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The executeTime. */ @java.lang.Override public com.google.protobuf.Timestamp getExecuteTime() { - return executeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executeTime_; + return executeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : executeTime_; } /** + * + * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExecuteTimeOrBuilder() { @@ -3882,6 +4804,7 @@ public com.google.protobuf.TimestampOrBuilder getExecuteTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3893,8 +4816,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (executeTime_ != null) { output.writeMessage(1, getExecuteTime()); } @@ -3908,8 +4830,7 @@ public int getSerializedSize() { size = 0; if (executeTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getExecuteTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getExecuteTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3919,17 +4840,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule other = (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) obj; + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule other = + (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) obj; if (hasExecuteTime() != other.hasExecuteTime()) return false; if (hasExecuteTime()) { - if (!getExecuteTime() - .equals(other.getExecuteTime())) return false; + if (!getExecuteTime().equals(other.getExecuteTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3952,87 +4873,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule 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.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4042,6 +4970,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Sets the time for a one time patch deployment. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
@@ -4049,21 +4979,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.OneTimeSchedule}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.OneTimeSchedule)
         com.google.cloud.osconfig.v1.PatchDeployments.OneTimeScheduleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchDeployments
+            .internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_OneTimeSchedule_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchDeployments
+            .internal_static_google_cloud_osconfig_v1_OneTimeSchedule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.class, com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder.class);
+                com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.class,
+                com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.newBuilder()
@@ -4071,16 +5004,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4094,13 +5026,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchDeployments
+            .internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule
+          getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.getDefaultInstance();
       }
 
@@ -4115,7 +5048,8 @@ public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule buildPartial() {
-        com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule result = new com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule(this);
+        com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule result =
+            new com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule(this);
         if (executeTimeBuilder_ == null) {
           result.executeTime_ = executeTime_;
         } else {
@@ -4129,46 +5063,52 @@ public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule buildPartia
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchDeployments.OneTimeSchedule) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule other) {
-        if (other == com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule other) {
+        if (other
+            == com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule.getDefaultInstance())
+          return this;
         if (other.hasExecuteTime()) {
           mergeExecuteTime(other.getExecuteTime());
         }
@@ -4191,7 +5131,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -4203,39 +5145,58 @@ public Builder mergeFrom(
 
       private com.google.protobuf.Timestamp executeTime_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> executeTimeBuilder_;
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
+          executeTimeBuilder_;
       /**
+       *
+       *
        * 
        * Required. The desired patch job execution time.
        * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the executeTime field is set. */ public boolean hasExecuteTime() { return executeTimeBuilder_ != null || executeTime_ != null; } /** + * + * *
        * Required. The desired patch job execution time.
        * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The executeTime. */ public com.google.protobuf.Timestamp getExecuteTime() { if (executeTimeBuilder_ == null) { - return executeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executeTime_; + return executeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : executeTime_; } else { return executeTimeBuilder_.getMessage(); } } /** + * + * *
        * Required. The desired patch job execution time.
        * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setExecuteTime(com.google.protobuf.Timestamp value) { if (executeTimeBuilder_ == null) { @@ -4251,14 +5212,17 @@ public Builder setExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Required. The desired patch job execution time.
        * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setExecuteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExecuteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (executeTimeBuilder_ == null) { executeTime_ = builderForValue.build(); onChanged(); @@ -4269,17 +5233,23 @@ public Builder setExecuteTime( return this; } /** + * + * *
        * Required. The desired patch job execution time.
        * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeExecuteTime(com.google.protobuf.Timestamp value) { if (executeTimeBuilder_ == null) { if (executeTime_ != null) { executeTime_ = - com.google.protobuf.Timestamp.newBuilder(executeTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(executeTime_) + .mergeFrom(value) + .buildPartial(); } else { executeTime_ = value; } @@ -4291,11 +5261,15 @@ public Builder mergeExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Required. The desired patch job execution time.
        * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearExecuteTime() { if (executeTimeBuilder_ == null) { @@ -4309,52 +5283,69 @@ public Builder clearExecuteTime() { return this; } /** + * + * *
        * Required. The desired patch job execution time.
        * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getExecuteTimeBuilder() { - + onChanged(); return getExecuteTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Required. The desired patch job execution time.
        * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getExecuteTimeOrBuilder() { if (executeTimeBuilder_ != null) { return executeTimeBuilder_.getMessageOrBuilder(); } else { - return executeTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : executeTime_; + return executeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : executeTime_; } } /** + * + * *
        * Required. The desired patch job execution time.
        * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getExecuteTimeFieldBuilder() { if (executeTimeBuilder_ == null) { - executeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExecuteTime(), - getParentForChildren(), - isClean()); + executeTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExecuteTime(), getParentForChildren(), isClean()); executeTime_ = null; } return executeTimeBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4367,30 +5358,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.OneTimeSchedule) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.OneTimeSchedule) - private static final com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OneTimeSchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OneTimeSchedule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OneTimeSchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OneTimeSchedule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4402,37 +5395,46 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.OneTimeSchedule + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface RecurringScheduleOrBuilder extends + public interface RecurringScheduleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.RecurringSchedule) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
      * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the timeZone field is set. */ boolean hasTimeZone(); /** + * + * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
      * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The timeZone. */ com.google.type.TimeZone getTimeZone(); /** + * + * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
@@ -4443,253 +5445,355 @@ public interface RecurringScheduleOrBuilder extends
     com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder();
 
     /**
+     *
+     *
      * 
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
      * Optional. The end time at which a recurring patch deployment schedule is no
      * longer active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
      * Optional. The end time at which a recurring patch deployment schedule is no
      * longer active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
      * Optional. The end time at which a recurring patch deployment schedule is no
      * longer active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the timeOfDay field is set. */ boolean hasTimeOfDay(); /** + * + * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The timeOfDay. */ com.google.type.TimeOfDay getTimeOfDay(); /** + * + * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder(); /** + * + * *
      * Required. The frequency unit of this recurring schedule.
      * 
* - * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for frequency. */ int getFrequencyValue(); /** + * + * *
      * Required. The frequency unit of this recurring schedule.
      * 
* - * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The frequency. */ com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency getFrequency(); /** + * + * *
      * Required. Schedule with weekly executions.
      * 
* - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the weekly field is set. */ boolean hasWeekly(); /** + * + * *
      * Required. Schedule with weekly executions.
      * 
* - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The weekly. */ com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule getWeekly(); /** + * + * *
      * Required. Schedule with weekly executions.
      * 
* - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder getWeeklyOrBuilder(); /** + * + * *
      * Required. Schedule with monthly executions.
      * 
* - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the monthly field is set. */ boolean hasMonthly(); /** + * + * *
      * Required. Schedule with monthly executions.
      * 
* - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The monthly. */ com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule getMonthly(); /** + * + * *
      * Required. Schedule with monthly executions.
      * 
* - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder getMonthlyOrBuilder(); /** + * + * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastExecuteTime field is set. */ boolean hasLastExecuteTime(); /** + * + * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastExecuteTime. */ com.google.protobuf.Timestamp getLastExecuteTime(); /** + * + * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder(); /** + * + * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the nextExecuteTime field is set. */ boolean hasNextExecuteTime(); /** + * + * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The nextExecuteTime. */ com.google.protobuf.Timestamp getNextExecuteTime(); /** + * + * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getNextExecuteTimeOrBuilder(); - public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.ScheduleConfigCase getScheduleConfigCase(); + public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.ScheduleConfigCase + getScheduleConfigCase(); } /** + * + * *
    * Sets the time for recurring patch deployments.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.RecurringSchedule} */ - public static final class RecurringSchedule extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class RecurringSchedule extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.RecurringSchedule) RecurringScheduleOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RecurringSchedule.newBuilder() to construct. private RecurringSchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RecurringSchedule() { frequency_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RecurringSchedule(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RecurringSchedule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4708,125 +5812,155 @@ private RecurringSchedule( case 0: done = true; break; - case 10: { - com.google.type.TimeZone.Builder subBuilder = null; - if (timeZone_ != null) { - subBuilder = timeZone_.toBuilder(); - } - timeZone_ = input.readMessage(com.google.type.TimeZone.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeZone_); - timeZone_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); + case 10: + { + com.google.type.TimeZone.Builder subBuilder = null; + if (timeZone_ != null) { + subBuilder = timeZone_.toBuilder(); + } + timeZone_ = input.readMessage(com.google.type.TimeZone.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeZone_); + timeZone_ = subBuilder.buildPartial(); + } + + break; } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 34: { - com.google.type.TimeOfDay.Builder subBuilder = null; - if (timeOfDay_ != null) { - subBuilder = timeOfDay_.toBuilder(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } + + break; } - timeOfDay_ = input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOfDay_); - timeOfDay_ = subBuilder.buildPartial(); + case 34: + { + com.google.type.TimeOfDay.Builder subBuilder = null; + if (timeOfDay_ != null) { + subBuilder = timeOfDay_.toBuilder(); + } + timeOfDay_ = + input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOfDay_); + timeOfDay_ = subBuilder.buildPartial(); + } + + break; } + case 40: + { + int rawValue = input.readEnum(); - break; - } - case 40: { - int rawValue = input.readEnum(); - - frequency_ = rawValue; - break; - } - case 50: { - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder subBuilder = null; - if (scheduleConfigCase_ == 6) { - subBuilder = ((com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_).toBuilder(); - } - scheduleConfig_ = - input.readMessage(com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_); - scheduleConfig_ = subBuilder.buildPartial(); - } - scheduleConfigCase_ = 6; - break; - } - case 58: { - com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder subBuilder = null; - if (scheduleConfigCase_ == 7) { - subBuilder = ((com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_).toBuilder(); + frequency_ = rawValue; + break; } - scheduleConfig_ = - input.readMessage(com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_); - scheduleConfig_ = subBuilder.buildPartial(); + case 50: + { + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder subBuilder = + null; + if (scheduleConfigCase_ == 6) { + subBuilder = + ((com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) + scheduleConfig_) + .toBuilder(); + } + scheduleConfig_ = + input.readMessage( + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) + scheduleConfig_); + scheduleConfig_ = subBuilder.buildPartial(); + } + scheduleConfigCase_ = 6; + break; } - scheduleConfigCase_ = 7; - break; - } - case 74: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (lastExecuteTime_ != null) { - subBuilder = lastExecuteTime_.toBuilder(); + case 58: + { + com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder subBuilder = + null; + if (scheduleConfigCase_ == 7) { + subBuilder = + ((com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) + scheduleConfig_) + .toBuilder(); + } + scheduleConfig_ = + input.readMessage( + com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) + scheduleConfig_); + scheduleConfig_ = subBuilder.buildPartial(); + } + scheduleConfigCase_ = 7; + break; } - lastExecuteTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastExecuteTime_); - lastExecuteTime_ = subBuilder.buildPartial(); - } - - break; - } - case 82: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (nextExecuteTime_ != null) { - subBuilder = nextExecuteTime_.toBuilder(); + case 74: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (lastExecuteTime_ != null) { + subBuilder = lastExecuteTime_.toBuilder(); + } + lastExecuteTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastExecuteTime_); + lastExecuteTime_ = subBuilder.buildPartial(); + } + + break; } - nextExecuteTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(nextExecuteTime_); - nextExecuteTime_ = subBuilder.buildPartial(); + case 82: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (nextExecuteTime_ != null) { + subBuilder = nextExecuteTime_.toBuilder(); + } + nextExecuteTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(nextExecuteTime_); + nextExecuteTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4834,36 +5968,41 @@ private RecurringSchedule( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_RecurringSchedule_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_RecurringSchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.class, com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.class, + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder.class); } /** + * + * *
      * Specifies the frequency of the recurring patch deployments.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1.RecurringSchedule.Frequency} */ - public enum Frequency - implements com.google.protobuf.ProtocolMessageEnum { + public enum Frequency implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Invalid. A frequency must be specified.
        * 
@@ -4872,6 +6011,8 @@ public enum Frequency */ FREQUENCY_UNSPECIFIED(0), /** + * + * *
        * Indicates that the frequency of recurrence should be expressed in terms
        * of weeks.
@@ -4881,6 +6022,8 @@ public enum Frequency
        */
       WEEKLY(1),
       /**
+       *
+       *
        * 
        * Indicates that the frequency of recurrence should be expressed in terms
        * of months.
@@ -4890,6 +6033,8 @@ public enum Frequency
        */
       MONTHLY(2),
       /**
+       *
+       *
        * 
        * Indicates that the frequency of recurrence should be expressed in terms
        * of days.
@@ -4902,6 +6047,8 @@ public enum Frequency
       ;
 
       /**
+       *
+       *
        * 
        * Invalid. A frequency must be specified.
        * 
@@ -4910,6 +6057,8 @@ public enum Frequency */ public static final int FREQUENCY_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Indicates that the frequency of recurrence should be expressed in terms
        * of weeks.
@@ -4919,6 +6068,8 @@ public enum Frequency
        */
       public static final int WEEKLY_VALUE = 1;
       /**
+       *
+       *
        * 
        * Indicates that the frequency of recurrence should be expressed in terms
        * of months.
@@ -4928,6 +6079,8 @@ public enum Frequency
        */
       public static final int MONTHLY_VALUE = 2;
       /**
+       *
+       *
        * 
        * Indicates that the frequency of recurrence should be expressed in terms
        * of days.
@@ -4937,7 +6090,6 @@ public enum Frequency
        */
       public static final int DAILY_VALUE = 3;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -4962,50 +6114,53 @@ public static Frequency valueOf(int value) {
        */
       public static Frequency forNumber(int value) {
         switch (value) {
-          case 0: return FREQUENCY_UNSPECIFIED;
-          case 1: return WEEKLY;
-          case 2: return MONTHLY;
-          case 3: return DAILY;
-          default: return null;
+          case 0:
+            return FREQUENCY_UNSPECIFIED;
+          case 1:
+            return WEEKLY;
+          case 2:
+            return MONTHLY;
+          case 3:
+            return DAILY;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          Frequency> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public Frequency findValueByNumber(int number) {
-                return Frequency.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Frequency findValueByNumber(int number) {
+              return Frequency.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final Frequency[] VALUES = values();
 
-      public static Frequency valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Frequency valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -5024,13 +6179,16 @@ private Frequency(int value) {
 
     private int scheduleConfigCase_ = 0;
     private java.lang.Object scheduleConfig_;
+
     public enum ScheduleConfigCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       WEEKLY(6),
       MONTHLY(7),
       SCHEDULECONFIG_NOT_SET(0);
       private final int value;
+
       private ScheduleConfigCase(int value) {
         this.value = value;
       }
@@ -5046,32 +6204,38 @@ public static ScheduleConfigCase valueOf(int value) {
 
       public static ScheduleConfigCase forNumber(int value) {
         switch (value) {
-          case 6: return WEEKLY;
-          case 7: return MONTHLY;
-          case 0: return SCHEDULECONFIG_NOT_SET;
-          default: return null;
+          case 6:
+            return WEEKLY;
+          case 7:
+            return MONTHLY;
+          case 0:
+            return SCHEDULECONFIG_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ScheduleConfigCase
-    getScheduleConfigCase() {
-      return ScheduleConfigCase.forNumber(
-          scheduleConfigCase_);
+    public ScheduleConfigCase getScheduleConfigCase() {
+      return ScheduleConfigCase.forNumber(scheduleConfigCase_);
     }
 
     public static final int TIME_ZONE_FIELD_NUMBER = 1;
     private com.google.type.TimeZone timeZone_;
     /**
+     *
+     *
      * 
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
      * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the timeZone field is set. */ @java.lang.Override @@ -5079,12 +6243,15 @@ public boolean hasTimeZone() { return timeZone_ != null; } /** + * + * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
      * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The timeZone. */ @java.lang.Override @@ -5092,6 +6259,8 @@ public com.google.type.TimeZone getTimeZone() { return timeZone_ == null ? com.google.type.TimeZone.getDefaultInstance() : timeZone_; } /** + * + * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
@@ -5107,12 +6276,16 @@ public com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder() {
     public static final int START_TIME_FIELD_NUMBER = 2;
     private com.google.protobuf.Timestamp startTime_;
     /**
+     *
+     *
      * 
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -5120,12 +6293,16 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The startTime. */ @java.lang.Override @@ -5133,12 +6310,15 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -5148,12 +6328,16 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** + * + * *
      * Optional. The end time at which a recurring patch deployment schedule is no
      * longer active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -5161,12 +6345,16 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
      * Optional. The end time at which a recurring patch deployment schedule is no
      * longer active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The endTime. */ @java.lang.Override @@ -5174,12 +6362,15 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
      * Optional. The end time at which a recurring patch deployment schedule is no
      * longer active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -5189,11 +6380,15 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TIME_OF_DAY_FIELD_NUMBER = 4; private com.google.type.TimeOfDay timeOfDay_; /** + * + * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the timeOfDay field is set. */ @java.lang.Override @@ -5201,11 +6396,15 @@ public boolean hasTimeOfDay() { return timeOfDay_ != null; } /** + * + * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The timeOfDay. */ @java.lang.Override @@ -5213,11 +6412,14 @@ public com.google.type.TimeOfDay getTimeOfDay() { return timeOfDay_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : timeOfDay_; } /** + * + * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder() { @@ -5227,37 +6429,59 @@ public com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder() { public static final int FREQUENCY_FIELD_NUMBER = 5; private int frequency_; /** + * + * *
      * Required. The frequency unit of this recurring schedule.
      * 
* - * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for frequency. */ - @java.lang.Override public int getFrequencyValue() { + @java.lang.Override + public int getFrequencyValue() { return frequency_; } /** + * + * *
      * Required. The frequency unit of this recurring schedule.
      * 
* - * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The frequency. */ - @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency getFrequency() { + @java.lang.Override + public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency + getFrequency() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency result = com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.valueOf(frequency_); - return result == null ? com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency result = + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.valueOf( + frequency_); + return result == null + ? com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.UNRECOGNIZED + : result; } public static final int WEEKLY_FIELD_NUMBER = 6; /** + * + * *
      * Required. Schedule with weekly executions.
      * 
* - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the weekly field is set. */ @java.lang.Override @@ -5265,42 +6489,57 @@ public boolean hasWeekly() { return scheduleConfigCase_ == 6; } /** + * + * *
      * Required. Schedule with weekly executions.
      * 
* - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The weekly. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule getWeekly() { if (scheduleConfigCase_ == 6) { - return (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_; } return com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.getDefaultInstance(); } /** + * + * *
      * Required. Schedule with weekly executions.
      * 
* - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder getWeeklyOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder + getWeeklyOrBuilder() { if (scheduleConfigCase_ == 6) { - return (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_; } return com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.getDefaultInstance(); } public static final int MONTHLY_FIELD_NUMBER = 7; /** + * + * *
      * Required. Schedule with monthly executions.
      * 
* - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the monthly field is set. */ @java.lang.Override @@ -5308,31 +6547,41 @@ public boolean hasMonthly() { return scheduleConfigCase_ == 7; } /** + * + * *
      * Required. Schedule with monthly executions.
      * 
* - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The monthly. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule getMonthly() { if (scheduleConfigCase_ == 7) { - return (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_; } return com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.getDefaultInstance(); } /** + * + * *
      * Required. Schedule with monthly executions.
      * 
* - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder getMonthlyOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder + getMonthlyOrBuilder() { if (scheduleConfigCase_ == 7) { - return (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_; } return com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.getDefaultInstance(); } @@ -5340,11 +6589,16 @@ public com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder ge public static final int LAST_EXECUTE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp lastExecuteTime_; /** + * + * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastExecuteTime field is set. */ @java.lang.Override @@ -5352,23 +6606,34 @@ public boolean hasLastExecuteTime() { return lastExecuteTime_ != null; } /** + * + * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastExecuteTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastExecuteTime() { - return lastExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; + return lastExecuteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastExecuteTime_; } /** + * + * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { @@ -5378,11 +6643,16 @@ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { public static final int NEXT_EXECUTE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp nextExecuteTime_; /** + * + * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the nextExecuteTime field is set. */ @java.lang.Override @@ -5390,23 +6660,34 @@ public boolean hasNextExecuteTime() { return nextExecuteTime_ != null; } /** + * + * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The nextExecuteTime. */ @java.lang.Override public com.google.protobuf.Timestamp getNextExecuteTime() { - return nextExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextExecuteTime_; + return nextExecuteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : nextExecuteTime_; } /** + * + * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getNextExecuteTimeOrBuilder() { @@ -5414,6 +6695,7 @@ public com.google.protobuf.TimestampOrBuilder getNextExecuteTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5425,8 +6707,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (timeZone_ != null) { output.writeMessage(1, getTimeZone()); } @@ -5439,14 +6720,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (timeOfDay_ != null) { output.writeMessage(4, getTimeOfDay()); } - if (frequency_ != com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.FREQUENCY_UNSPECIFIED.getNumber()) { + if (frequency_ + != com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency + .FREQUENCY_UNSPECIFIED + .getNumber()) { output.writeEnum(5, frequency_); } if (scheduleConfigCase_ == 6) { - output.writeMessage(6, (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_); + output.writeMessage( + 6, (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_); } if (scheduleConfigCase_ == 7) { - output.writeMessage(7, (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_); + output.writeMessage( + 7, (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_); } if (lastExecuteTime_ != null) { output.writeMessage(9, getLastExecuteTime()); @@ -5464,40 +6750,38 @@ public int getSerializedSize() { size = 0; if (timeZone_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTimeZone()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeZone()); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); } if (timeOfDay_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getTimeOfDay()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTimeOfDay()); } - if (frequency_ != com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.FREQUENCY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, frequency_); + if (frequency_ + != com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency + .FREQUENCY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, frequency_); } if (scheduleConfigCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_); } if (scheduleConfigCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_); } if (lastExecuteTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getLastExecuteTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getLastExecuteTime()); } if (nextExecuteTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getNextExecuteTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getNextExecuteTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5507,53 +6791,46 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule other = (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) obj; + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule other = + (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) obj; if (hasTimeZone() != other.hasTimeZone()) return false; if (hasTimeZone()) { - if (!getTimeZone() - .equals(other.getTimeZone())) return false; + if (!getTimeZone().equals(other.getTimeZone())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (hasTimeOfDay() != other.hasTimeOfDay()) return false; if (hasTimeOfDay()) { - if (!getTimeOfDay() - .equals(other.getTimeOfDay())) return false; + if (!getTimeOfDay().equals(other.getTimeOfDay())) return false; } if (frequency_ != other.frequency_) return false; if (hasLastExecuteTime() != other.hasLastExecuteTime()) return false; if (hasLastExecuteTime()) { - if (!getLastExecuteTime() - .equals(other.getLastExecuteTime())) return false; + if (!getLastExecuteTime().equals(other.getLastExecuteTime())) return false; } if (hasNextExecuteTime() != other.hasNextExecuteTime()) return false; if (hasNextExecuteTime()) { - if (!getNextExecuteTime() - .equals(other.getNextExecuteTime())) return false; + if (!getNextExecuteTime().equals(other.getNextExecuteTime())) return false; } if (!getScheduleConfigCase().equals(other.getScheduleConfigCase())) return false; switch (scheduleConfigCase_) { case 6: - if (!getWeekly() - .equals(other.getWeekly())) return false; + if (!getWeekly().equals(other.getWeekly())) return false; break; case 7: - if (!getMonthly() - .equals(other.getMonthly())) return false; + if (!getMonthly().equals(other.getMonthly())) return false; break; case 0: default: @@ -5613,87 +6890,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule 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.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule 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.osconfig.v1.PatchDeployments.RecurringSchedule + 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.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5703,44 +6988,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Sets the time for recurring patch deployments.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.RecurringSchedule} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.RecurringSchedule) com.google.cloud.osconfig.v1.PatchDeployments.RecurringScheduleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_RecurringSchedule_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_RecurringSchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.class, com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.class, + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Builder.class); } - // Construct using com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -5788,13 +7078,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance(); } @@ -5809,7 +7100,8 @@ public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule result = new com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule(this); + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule result = + new com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule(this); if (timeZoneBuilder_ == null) { result.timeZone_ = timeZone_; } else { @@ -5864,46 +7156,52 @@ public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.RecurringSchedule) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule)other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule other) { - if (other == com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule other) { + if (other + == com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.getDefaultInstance()) + return this; if (other.hasTimeZone()) { mergeTimeZone(other.getTimeZone()); } @@ -5926,17 +7224,20 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.Recurring mergeNextExecuteTime(other.getNextExecuteTime()); } switch (other.getScheduleConfigCase()) { - case WEEKLY: { - mergeWeekly(other.getWeekly()); - break; - } - case MONTHLY: { - mergeMonthly(other.getMonthly()); - break; - } - case SCHEDULECONFIG_NOT_SET: { - break; - } + case WEEKLY: + { + mergeWeekly(other.getWeekly()); + break; + } + case MONTHLY: + { + mergeMonthly(other.getMonthly()); + break; + } + case SCHEDULECONFIG_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -5957,7 +7258,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5966,12 +7269,12 @@ public Builder mergeFrom( } return this; } + private int scheduleConfigCase_ = 0; private java.lang.Object scheduleConfig_; - public ScheduleConfigCase - getScheduleConfigCase() { - return ScheduleConfigCase.forNumber( - scheduleConfigCase_); + + public ScheduleConfigCase getScheduleConfigCase() { + return ScheduleConfigCase.forNumber(scheduleConfigCase_); } public Builder clearScheduleConfig() { @@ -5981,29 +7284,37 @@ public Builder clearScheduleConfig() { return this; } - private com.google.type.TimeZone timeZone_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeZone, com.google.type.TimeZone.Builder, com.google.type.TimeZoneOrBuilder> timeZoneBuilder_; + com.google.type.TimeZone, + com.google.type.TimeZone.Builder, + com.google.type.TimeZoneOrBuilder> + timeZoneBuilder_; /** + * + * *
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
        * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the timeZone field is set. */ public boolean hasTimeZone() { return timeZoneBuilder_ != null || timeZone_ != null; } /** + * + * *
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
        * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The timeZone. */ public com.google.type.TimeZone getTimeZone() { @@ -6014,6 +7325,8 @@ public com.google.type.TimeZone getTimeZone() { } } /** + * + * *
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -6035,6 +7348,8 @@ public Builder setTimeZone(com.google.type.TimeZone value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -6042,8 +7357,7 @@ public Builder setTimeZone(com.google.type.TimeZone value) {
        *
        * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
        */
-      public Builder setTimeZone(
-          com.google.type.TimeZone.Builder builderForValue) {
+      public Builder setTimeZone(com.google.type.TimeZone.Builder builderForValue) {
         if (timeZoneBuilder_ == null) {
           timeZone_ = builderForValue.build();
           onChanged();
@@ -6054,6 +7368,8 @@ public Builder setTimeZone(
         return this;
       }
       /**
+       *
+       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -6065,7 +7381,7 @@ public Builder mergeTimeZone(com.google.type.TimeZone value) {
         if (timeZoneBuilder_ == null) {
           if (timeZone_ != null) {
             timeZone_ =
-              com.google.type.TimeZone.newBuilder(timeZone_).mergeFrom(value).buildPartial();
+                com.google.type.TimeZone.newBuilder(timeZone_).mergeFrom(value).buildPartial();
           } else {
             timeZone_ = value;
           }
@@ -6077,6 +7393,8 @@ public Builder mergeTimeZone(com.google.type.TimeZone value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -6096,6 +7414,8 @@ public Builder clearTimeZone() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -6104,11 +7424,13 @@ public Builder clearTimeZone() {
        * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
        */
       public com.google.type.TimeZone.Builder getTimeZoneBuilder() {
-        
+
         onChanged();
         return getTimeZoneFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -6120,11 +7442,12 @@ public com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder() {
         if (timeZoneBuilder_ != null) {
           return timeZoneBuilder_.getMessageOrBuilder();
         } else {
-          return timeZone_ == null ?
-              com.google.type.TimeZone.getDefaultInstance() : timeZone_;
+          return timeZone_ == null ? com.google.type.TimeZone.getDefaultInstance() : timeZone_;
         }
       }
       /**
+       *
+       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -6133,14 +7456,17 @@ public com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder() {
        * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.TimeZone, com.google.type.TimeZone.Builder, com.google.type.TimeZoneOrBuilder> 
+              com.google.type.TimeZone,
+              com.google.type.TimeZone.Builder,
+              com.google.type.TimeZoneOrBuilder>
           getTimeZoneFieldBuilder() {
         if (timeZoneBuilder_ == null) {
-          timeZoneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.TimeZone, com.google.type.TimeZone.Builder, com.google.type.TimeZoneOrBuilder>(
-                  getTimeZone(),
-                  getParentForChildren(),
-                  isClean());
+          timeZoneBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.type.TimeZone,
+                  com.google.type.TimeZone.Builder,
+                  com.google.type.TimeZoneOrBuilder>(
+                  getTimeZone(), getParentForChildren(), isClean());
           timeZone_ = null;
         }
         return timeZoneBuilder_;
@@ -6148,42 +7474,58 @@ public com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder() {
 
       private com.google.protobuf.Timestamp startTime_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
+          startTimeBuilder_;
       /**
+       *
+       *
        * 
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** + * + * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -6199,15 +7541,17 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -6218,18 +7562,23 @@ public Builder setStartTime( return this; } /** + * + * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_) + .mergeFrom(value) + .buildPartial(); } else { startTime_ = value; } @@ -6241,12 +7590,15 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { @@ -6260,51 +7612,64 @@ public Builder clearStartTime() { return this; } /** + * + * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : startTime_; } } /** + * + * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -6312,26 +7677,37 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
        * Optional. The end time at which a recurring patch deployment schedule is no
        * longer active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
        * Optional. The end time at which a recurring patch deployment schedule is no
        * longer active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -6342,12 +7718,15 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
        * Optional. The end time at which a recurring patch deployment schedule is no
        * longer active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -6363,15 +7742,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Optional. The end time at which a recurring patch deployment schedule is no
        * longer active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -6382,18 +7763,21 @@ public Builder setEndTime( return this; } /** + * + * *
        * Optional. The end time at which a recurring patch deployment schedule is no
        * longer active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -6405,12 +7789,15 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Optional. The end time at which a recurring patch deployment schedule is no
        * longer active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -6424,51 +7811,62 @@ public Builder clearEndTime() { return this; } /** + * + * *
        * Optional. The end time at which a recurring patch deployment schedule is no
        * longer active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. The end time at which a recurring patch deployment schedule is no
        * longer active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
        * Optional. The end time at which a recurring patch deployment schedule is no
        * longer active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -6476,24 +7874,35 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.type.TimeOfDay timeOfDay_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> timeOfDayBuilder_; + com.google.type.TimeOfDay, + com.google.type.TimeOfDay.Builder, + com.google.type.TimeOfDayOrBuilder> + timeOfDayBuilder_; /** + * + * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the timeOfDay field is set. */ public boolean hasTimeOfDay() { return timeOfDayBuilder_ != null || timeOfDay_ != null; } /** + * + * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The timeOfDay. */ public com.google.type.TimeOfDay getTimeOfDay() { @@ -6504,11 +7913,14 @@ public com.google.type.TimeOfDay getTimeOfDay() { } } /** + * + * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTimeOfDay(com.google.type.TimeOfDay value) { if (timeOfDayBuilder_ == null) { @@ -6524,14 +7936,16 @@ public Builder setTimeOfDay(com.google.type.TimeOfDay value) { return this; } /** + * + * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTimeOfDay( - com.google.type.TimeOfDay.Builder builderForValue) { + public Builder setTimeOfDay(com.google.type.TimeOfDay.Builder builderForValue) { if (timeOfDayBuilder_ == null) { timeOfDay_ = builderForValue.build(); onChanged(); @@ -6542,17 +7956,20 @@ public Builder setTimeOfDay( return this; } /** + * + * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTimeOfDay(com.google.type.TimeOfDay value) { if (timeOfDayBuilder_ == null) { if (timeOfDay_ != null) { timeOfDay_ = - com.google.type.TimeOfDay.newBuilder(timeOfDay_).mergeFrom(value).buildPartial(); + com.google.type.TimeOfDay.newBuilder(timeOfDay_).mergeFrom(value).buildPartial(); } else { timeOfDay_ = value; } @@ -6564,11 +7981,14 @@ public Builder mergeTimeOfDay(com.google.type.TimeOfDay value) { return this; } /** + * + * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTimeOfDay() { if (timeOfDayBuilder_ == null) { @@ -6582,48 +8002,59 @@ public Builder clearTimeOfDay() { return this; } /** + * + * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.TimeOfDay.Builder getTimeOfDayBuilder() { - + onChanged(); return getTimeOfDayFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder() { if (timeOfDayBuilder_ != null) { return timeOfDayBuilder_.getMessageOrBuilder(); } else { - return timeOfDay_ == null ? - com.google.type.TimeOfDay.getDefaultInstance() : timeOfDay_; + return timeOfDay_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : timeOfDay_; } } /** + * + * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> + com.google.type.TimeOfDay, + com.google.type.TimeOfDay.Builder, + com.google.type.TimeOfDayOrBuilder> getTimeOfDayFieldBuilder() { if (timeOfDayBuilder_ == null) { - timeOfDayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>( - getTimeOfDay(), - getParentForChildren(), - isClean()); + timeOfDayBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.TimeOfDay, + com.google.type.TimeOfDay.Builder, + com.google.type.TimeOfDayOrBuilder>( + getTimeOfDay(), getParentForChildren(), isClean()); timeOfDay_ = null; } return timeOfDayBuilder_; @@ -6631,86 +8062,126 @@ public com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder() { private int frequency_ = 0; /** + * + * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for frequency. */ - @java.lang.Override public int getFrequencyValue() { + @java.lang.Override + public int getFrequencyValue() { return frequency_; } /** + * + * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for frequency to set. * @return This builder for chaining. */ public Builder setFrequencyValue(int value) { - + frequency_ = value; onChanged(); return this; } /** + * + * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The frequency. */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency getFrequency() { + public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency + getFrequency() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency result = com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.valueOf(frequency_); - return result == null ? com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency result = + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.valueOf( + frequency_); + return result == null + ? com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency.UNRECOGNIZED + : result; } /** + * + * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The frequency to set. * @return This builder for chaining. */ - public Builder setFrequency(com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency value) { + public Builder setFrequency( + com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule.Frequency value) { if (value == null) { throw new NullPointerException(); } - + frequency_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearFrequency() { - + frequency_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule, com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder> weeklyBuilder_; + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule, + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder> + weeklyBuilder_; /** + * + * *
        * Required. Schedule with weekly executions.
        * 
* - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the weekly field is set. */ @java.lang.Override @@ -6718,11 +8189,16 @@ public boolean hasWeekly() { return scheduleConfigCase_ == 6; } /** + * + * *
        * Required. Schedule with weekly executions.
        * 
* - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The weekly. */ @java.lang.Override @@ -6740,11 +8216,15 @@ public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule getWeekly() } } /** + * + * *
        * Required. Schedule with weekly executions.
        * 
* - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWeekly(com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule value) { if (weeklyBuilder_ == null) { @@ -6760,11 +8240,15 @@ public Builder setWeekly(com.google.cloud.osconfig.v1.PatchDeployments.WeeklySch return this; } /** + * + * *
        * Required. Schedule with weekly executions.
        * 
* - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWeekly( com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder builderForValue) { @@ -6778,18 +8262,29 @@ public Builder setWeekly( return this; } /** + * + * *
        * Required. Schedule with weekly executions.
        * 
* - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeWeekly(com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule value) { + public Builder mergeWeekly( + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule value) { if (weeklyBuilder_ == null) { - if (scheduleConfigCase_ == 6 && - scheduleConfig_ != com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.getDefaultInstance()) { - scheduleConfig_ = com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.newBuilder((com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_) - .mergeFrom(value).buildPartial(); + if (scheduleConfigCase_ == 6 + && scheduleConfig_ + != com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule + .getDefaultInstance()) { + scheduleConfig_ = + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.newBuilder( + (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) + scheduleConfig_) + .mergeFrom(value) + .buildPartial(); } else { scheduleConfig_ = value; } @@ -6805,11 +8300,15 @@ public Builder mergeWeekly(com.google.cloud.osconfig.v1.PatchDeployments.WeeklyS return this; } /** + * + * *
        * Required. Schedule with weekly executions.
        * 
* - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearWeekly() { if (weeklyBuilder_ == null) { @@ -6828,24 +8327,34 @@ public Builder clearWeekly() { return this; } /** + * + * *
        * Required. Schedule with weekly executions.
        * 
* - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder getWeeklyBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder + getWeeklyBuilder() { return getWeeklyFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Schedule with weekly executions.
        * 
* - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder getWeeklyOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder + getWeeklyOrBuilder() { if ((scheduleConfigCase_ == 6) && (weeklyBuilder_ != null)) { return weeklyBuilder_.getMessageOrBuilder(); } else { @@ -6856,39 +8365,58 @@ public com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder get } } /** + * + * *
        * Required. Schedule with weekly executions.
        * 
* - * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule, com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder> + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule, + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder> getWeeklyFieldBuilder() { if (weeklyBuilder_ == null) { if (!(scheduleConfigCase_ == 6)) { - scheduleConfig_ = com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.getDefaultInstance(); + scheduleConfig_ = + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.getDefaultInstance(); } - weeklyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule, com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder>( + weeklyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule, + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder>( (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) scheduleConfig_, getParentForChildren(), isClean()); scheduleConfig_ = null; } scheduleConfigCase_ = 6; - onChanged();; + onChanged(); + ; return weeklyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule, com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder> monthlyBuilder_; + com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule, + com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder> + monthlyBuilder_; /** + * + * *
        * Required. Schedule with monthly executions.
        * 
* - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the monthly field is set. */ @java.lang.Override @@ -6896,11 +8424,16 @@ public boolean hasMonthly() { return scheduleConfigCase_ == 7; } /** + * + * *
        * Required. Schedule with monthly executions.
        * 
* - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The monthly. */ @java.lang.Override @@ -6918,13 +8451,18 @@ public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule getMonthly( } } /** + * + * *
        * Required. Schedule with monthly executions.
        * 
* - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setMonthly(com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule value) { + public Builder setMonthly( + com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule value) { if (monthlyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6938,11 +8476,15 @@ public Builder setMonthly(com.google.cloud.osconfig.v1.PatchDeployments.MonthlyS return this; } /** + * + * *
        * Required. Schedule with monthly executions.
        * 
* - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMonthly( com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder builderForValue) { @@ -6956,18 +8498,29 @@ public Builder setMonthly( return this; } /** + * + * *
        * Required. Schedule with monthly executions.
        * 
* - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeMonthly(com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule value) { + public Builder mergeMonthly( + com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule value) { if (monthlyBuilder_ == null) { - if (scheduleConfigCase_ == 7 && - scheduleConfig_ != com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.getDefaultInstance()) { - scheduleConfig_ = com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.newBuilder((com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_) - .mergeFrom(value).buildPartial(); + if (scheduleConfigCase_ == 7 + && scheduleConfig_ + != com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule + .getDefaultInstance()) { + scheduleConfig_ = + com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.newBuilder( + (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) + scheduleConfig_) + .mergeFrom(value) + .buildPartial(); } else { scheduleConfig_ = value; } @@ -6983,11 +8536,15 @@ public Builder mergeMonthly(com.google.cloud.osconfig.v1.PatchDeployments.Monthl return this; } /** + * + * *
        * Required. Schedule with monthly executions.
        * 
* - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearMonthly() { if (monthlyBuilder_ == null) { @@ -7006,24 +8563,34 @@ public Builder clearMonthly() { return this; } /** + * + * *
        * Required. Schedule with monthly executions.
        * 
* - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder getMonthlyBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder + getMonthlyBuilder() { return getMonthlyFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Schedule with monthly executions.
        * 
* - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder getMonthlyOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder + getMonthlyOrBuilder() { if ((scheduleConfigCase_ == 7) && (monthlyBuilder_ != null)) { return monthlyBuilder_.getMessageOrBuilder(); } else { @@ -7034,66 +8601,96 @@ public com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder ge } } /** + * + * *
        * Required. Schedule with monthly executions.
        * 
* - * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule, com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder> + com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule, + com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder> getMonthlyFieldBuilder() { if (monthlyBuilder_ == null) { if (!(scheduleConfigCase_ == 7)) { - scheduleConfig_ = com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.getDefaultInstance(); + scheduleConfig_ = + com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.getDefaultInstance(); } - monthlyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule, com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder, com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder>( + monthlyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule, + com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder>( (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) scheduleConfig_, getParentForChildren(), isClean()); scheduleConfig_ = null; } scheduleConfigCase_ = 7; - onChanged();; + onChanged(); + ; return monthlyBuilder_; } private com.google.protobuf.Timestamp lastExecuteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastExecuteTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastExecuteTimeBuilder_; /** + * + * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastExecuteTime field is set. */ public boolean hasLastExecuteTime() { return lastExecuteTimeBuilder_ != null || lastExecuteTime_ != null; } /** + * + * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastExecuteTime. */ public com.google.protobuf.Timestamp getLastExecuteTime() { if (lastExecuteTimeBuilder_ == null) { - return lastExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; + return lastExecuteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastExecuteTime_; } else { return lastExecuteTimeBuilder_.getMessage(); } } /** + * + * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setLastExecuteTime(com.google.protobuf.Timestamp value) { if (lastExecuteTimeBuilder_ == null) { @@ -7109,14 +8706,17 @@ public Builder setLastExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setLastExecuteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastExecuteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (lastExecuteTimeBuilder_ == null) { lastExecuteTime_ = builderForValue.build(); onChanged(); @@ -7127,17 +8727,23 @@ public Builder setLastExecuteTime( return this; } /** + * + * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeLastExecuteTime(com.google.protobuf.Timestamp value) { if (lastExecuteTimeBuilder_ == null) { if (lastExecuteTime_ != null) { lastExecuteTime_ = - com.google.protobuf.Timestamp.newBuilder(lastExecuteTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastExecuteTime_) + .mergeFrom(value) + .buildPartial(); } else { lastExecuteTime_ = value; } @@ -7149,11 +8755,15 @@ public Builder mergeLastExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearLastExecuteTime() { if (lastExecuteTimeBuilder_ == null) { @@ -7167,48 +8777,64 @@ public Builder clearLastExecuteTime() { return this; } /** + * + * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getLastExecuteTimeBuilder() { - + onChanged(); return getLastExecuteTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { if (lastExecuteTimeBuilder_ != null) { return lastExecuteTimeBuilder_.getMessageOrBuilder(); } else { - return lastExecuteTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; + return lastExecuteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastExecuteTime_; } } /** + * + * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getLastExecuteTimeFieldBuilder() { if (lastExecuteTimeBuilder_ == null) { - lastExecuteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLastExecuteTime(), - getParentForChildren(), - isClean()); + lastExecuteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastExecuteTime(), getParentForChildren(), isClean()); lastExecuteTime_ = null; } return lastExecuteTimeBuilder_; @@ -7216,39 +8842,58 @@ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { private com.google.protobuf.Timestamp nextExecuteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> nextExecuteTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + nextExecuteTimeBuilder_; /** + * + * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the nextExecuteTime field is set. */ public boolean hasNextExecuteTime() { return nextExecuteTimeBuilder_ != null || nextExecuteTime_ != null; } /** + * + * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The nextExecuteTime. */ public com.google.protobuf.Timestamp getNextExecuteTime() { if (nextExecuteTimeBuilder_ == null) { - return nextExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextExecuteTime_; + return nextExecuteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : nextExecuteTime_; } else { return nextExecuteTimeBuilder_.getMessage(); } } /** + * + * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setNextExecuteTime(com.google.protobuf.Timestamp value) { if (nextExecuteTimeBuilder_ == null) { @@ -7264,14 +8909,17 @@ public Builder setNextExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setNextExecuteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setNextExecuteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (nextExecuteTimeBuilder_ == null) { nextExecuteTime_ = builderForValue.build(); onChanged(); @@ -7282,17 +8930,23 @@ public Builder setNextExecuteTime( return this; } /** + * + * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeNextExecuteTime(com.google.protobuf.Timestamp value) { if (nextExecuteTimeBuilder_ == null) { if (nextExecuteTime_ != null) { nextExecuteTime_ = - com.google.protobuf.Timestamp.newBuilder(nextExecuteTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(nextExecuteTime_) + .mergeFrom(value) + .buildPartial(); } else { nextExecuteTime_ = value; } @@ -7304,11 +8958,15 @@ public Builder mergeNextExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearNextExecuteTime() { if (nextExecuteTimeBuilder_ == null) { @@ -7322,52 +8980,69 @@ public Builder clearNextExecuteTime() { return this; } /** + * + * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getNextExecuteTimeBuilder() { - + onChanged(); return getNextExecuteTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getNextExecuteTimeOrBuilder() { if (nextExecuteTimeBuilder_ != null) { return nextExecuteTimeBuilder_.getMessageOrBuilder(); } else { - return nextExecuteTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : nextExecuteTime_; + return nextExecuteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : nextExecuteTime_; } } /** + * + * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getNextExecuteTimeFieldBuilder() { if (nextExecuteTimeBuilder_ == null) { - nextExecuteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getNextExecuteTime(), - getParentForChildren(), - isClean()); + nextExecuteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getNextExecuteTime(), getParentForChildren(), isClean()); nextExecuteTime_ = null; } return nextExecuteTimeBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7380,30 +9055,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.RecurringSchedule) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.RecurringSchedule) - private static final com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RecurringSchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RecurringSchedule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecurringSchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RecurringSchedule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7415,67 +9092,78 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.RecurringSchedule + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface WeeklyScheduleOrBuilder extends + public interface WeeklyScheduleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.WeeklySchedule) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dayOfWeek. */ int getDayOfWeekValue(); /** + * + * *
      * Required. Day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dayOfWeek. */ com.google.type.DayOfWeek getDayOfWeek(); } /** + * + * *
    * Represents a weekly schedule.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.WeeklySchedule} */ - public static final class WeeklySchedule extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class WeeklySchedule extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.WeeklySchedule) WeeklyScheduleOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WeeklySchedule.newBuilder() to construct. private WeeklySchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WeeklySchedule() { dayOfWeek_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WeeklySchedule(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WeeklySchedule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7494,19 +9182,20 @@ private WeeklySchedule( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - dayOfWeek_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + dayOfWeek_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7514,54 +9203,67 @@ private WeeklySchedule( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeeklySchedule_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_WeeklySchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.class, com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.class, + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder.class); } public static final int DAY_OF_WEEK_FIELD_NUMBER = 1; private int dayOfWeek_; /** + * + * *
      * Required. Day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override public int getDayOfWeekValue() { + @java.lang.Override + public int getDayOfWeekValue() { return dayOfWeek_; } /** + * + * *
      * Required. Day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dayOfWeek. */ - @java.lang.Override public com.google.type.DayOfWeek getDayOfWeek() { + @java.lang.Override + public com.google.type.DayOfWeek getDayOfWeek() { @SuppressWarnings("deprecation") com.google.type.DayOfWeek result = com.google.type.DayOfWeek.valueOf(dayOfWeek_); return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7573,8 +9275,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dayOfWeek_ != com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED.getNumber()) { output.writeEnum(1, dayOfWeek_); } @@ -7588,8 +9289,7 @@ public int getSerializedSize() { size = 0; if (dayOfWeek_ != com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, dayOfWeek_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, dayOfWeek_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7599,12 +9299,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule other = (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) obj; + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule other = + (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) obj; if (dayOfWeek_ != other.dayOfWeek_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -7626,87 +9327,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule 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.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7716,27 +9424,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents a weekly schedule.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.WeeklySchedule} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.WeeklySchedule) com.google.cloud.osconfig.v1.PatchDeployments.WeeklyScheduleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeeklySchedule_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_WeeklySchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.class, com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.class, + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.newBuilder() @@ -7744,16 +9457,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -7763,13 +9475,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.getDefaultInstance(); } @@ -7784,7 +9497,8 @@ public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule result = new com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule(this); + com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule result = + new com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule(this); result.dayOfWeek_ = dayOfWeek_; onBuilt(); return result; @@ -7794,38 +9508,41 @@ public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.WeeklySchedule) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule)other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) other); } else { super.mergeFrom(other); return this; @@ -7833,7 +9550,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule other) { - if (other == com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.getDefaultInstance()) return this; + if (other + == com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule.getDefaultInstance()) + return this; if (other.dayOfWeek_ != 0) { setDayOfWeekValue(other.getDayOfWeekValue()); } @@ -7856,7 +9575,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7868,37 +9589,50 @@ public Builder mergeFrom( private int dayOfWeek_ = 0; /** + * + * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override public int getDayOfWeekValue() { + @java.lang.Override + public int getDayOfWeekValue() { return dayOfWeek_; } /** + * + * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for dayOfWeek to set. * @return This builder for chaining. */ public Builder setDayOfWeekValue(int value) { - + dayOfWeek_ = value; onChanged(); return this; } /** + * + * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dayOfWeek. */ @java.lang.Override @@ -7908,11 +9642,15 @@ public com.google.type.DayOfWeek getDayOfWeek() { return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; } /** + * + * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The dayOfWeek to set. * @return This builder for chaining. */ @@ -7920,25 +9658,30 @@ public Builder setDayOfWeek(com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } - + dayOfWeek_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearDayOfWeek() { - + dayOfWeek_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7951,30 +9694,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.WeeklySchedule) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.WeeklySchedule) - private static final com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WeeklySchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WeeklySchedule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WeeklySchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WeeklySchedule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7986,44 +9731,62 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeeklySchedule + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface MonthlyScheduleOrBuilder extends + public interface MonthlyScheduleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.MonthlySchedule) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Week day in a month.
      * 
* - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the weekDayOfMonth field is set. */ boolean hasWeekDayOfMonth(); /** + * + * *
      * Required. Week day in a month.
      * 
* - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The weekDayOfMonth. */ com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth getWeekDayOfMonth(); /** + * + * *
      * Required. Week day in a month.
      * 
* - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder getWeekDayOfMonthOrBuilder(); + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder + getWeekDayOfMonthOrBuilder(); /** + * + * *
      * Required. One day of the month. 1-31 indicates the 1st to the 31st day.
      * -1 indicates the last day of the month. Months without the target day
@@ -8032,10 +9795,13 @@ public interface MonthlyScheduleOrBuilder extends
      * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the monthDay field is set. */ boolean hasMonthDay(); /** + * + * *
      * Required. One day of the month. 1-31 indicates the 1st to the 31st day.
      * -1 indicates the last day of the month. Months without the target day
@@ -8044,13 +9810,17 @@ public interface MonthlyScheduleOrBuilder extends
      * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The monthDay. */ int getMonthDay(); - public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.DayOfMonthCase getDayOfMonthCase(); + public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.DayOfMonthCase + getDayOfMonthCase(); } /** + * + * *
    * Represents a monthly schedule. An example of a valid monthly schedule is
    * "on the third Tuesday of the month" or "on the 15th of the month".
@@ -8058,30 +9828,29 @@ public interface MonthlyScheduleOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1.MonthlySchedule}
    */
-  public static final class MonthlySchedule extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class MonthlySchedule extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.MonthlySchedule)
       MonthlyScheduleOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use MonthlySchedule.newBuilder() to construct.
     private MonthlySchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private MonthlySchedule() {
-    }
+
+    private MonthlySchedule() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new MonthlySchedule();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private MonthlySchedule(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8100,32 +9869,40 @@ private MonthlySchedule(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder subBuilder = null;
-              if (dayOfMonthCase_ == 1) {
-                subBuilder = ((com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_).toBuilder();
+            case 10:
+              {
+                com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder subBuilder =
+                    null;
+                if (dayOfMonthCase_ == 1) {
+                  subBuilder =
+                      ((com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_)
+                          .toBuilder();
+                }
+                dayOfMonth_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_);
+                  dayOfMonth_ = subBuilder.buildPartial();
+                }
+                dayOfMonthCase_ = 1;
+                break;
               }
-              dayOfMonth_ =
-                  input.readMessage(com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_);
-                dayOfMonth_ = subBuilder.buildPartial();
+            case 16:
+              {
+                dayOfMonth_ = input.readInt32();
+                dayOfMonthCase_ = 2;
+                break;
               }
-              dayOfMonthCase_ = 1;
-              break;
-            }
-            case 16: {
-              dayOfMonth_ = input.readInt32();
-              dayOfMonthCase_ = 2;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8133,35 +9910,40 @@ private MonthlySchedule(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchDeployments
+          .internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_MonthlySchedule_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchDeployments
+          .internal_static_google_cloud_osconfig_v1_MonthlySchedule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.class, com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder.class);
+              com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.class,
+              com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder.class);
     }
 
     private int dayOfMonthCase_ = 0;
     private java.lang.Object dayOfMonth_;
+
     public enum DayOfMonthCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       WEEK_DAY_OF_MONTH(1),
       MONTH_DAY(2),
       DAYOFMONTH_NOT_SET(0);
       private final int value;
+
       private DayOfMonthCase(int value) {
         this.value = value;
       }
@@ -8177,30 +9959,38 @@ public static DayOfMonthCase valueOf(int value) {
 
       public static DayOfMonthCase forNumber(int value) {
         switch (value) {
-          case 1: return WEEK_DAY_OF_MONTH;
-          case 2: return MONTH_DAY;
-          case 0: return DAYOFMONTH_NOT_SET;
-          default: return null;
+          case 1:
+            return WEEK_DAY_OF_MONTH;
+          case 2:
+            return MONTH_DAY;
+          case 0:
+            return DAYOFMONTH_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public DayOfMonthCase
-    getDayOfMonthCase() {
-      return DayOfMonthCase.forNumber(
-          dayOfMonthCase_);
+    public DayOfMonthCase getDayOfMonthCase() {
+      return DayOfMonthCase.forNumber(dayOfMonthCase_);
     }
 
     public static final int WEEK_DAY_OF_MONTH_FIELD_NUMBER = 1;
     /**
+     *
+     *
      * 
      * Required. Week day in a month.
      * 
* - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the weekDayOfMonth field is set. */ @java.lang.Override @@ -8208,37 +9998,49 @@ public boolean hasWeekDayOfMonth() { return dayOfMonthCase_ == 1; } /** + * + * *
      * Required. Week day in a month.
      * 
* - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The weekDayOfMonth. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth getWeekDayOfMonth() { if (dayOfMonthCase_ == 1) { - return (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_; + return (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_; } return com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); } /** + * + * *
      * Required. Week day in a month.
      * 
* - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder getWeekDayOfMonthOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder + getWeekDayOfMonthOrBuilder() { if (dayOfMonthCase_ == 1) { - return (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_; + return (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_; } return com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); } public static final int MONTH_DAY_FIELD_NUMBER = 2; /** + * + * *
      * Required. One day of the month. 1-31 indicates the 1st to the 31st day.
      * -1 indicates the last day of the month. Months without the target day
@@ -8247,6 +10049,7 @@ public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder get
      * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the monthDay field is set. */ @java.lang.Override @@ -8254,6 +10057,8 @@ public boolean hasMonthDay() { return dayOfMonthCase_ == 2; } /** + * + * *
      * Required. One day of the month. 1-31 indicates the 1st to the 31st day.
      * -1 indicates the last day of the month. Months without the target day
@@ -8262,6 +10067,7 @@ public boolean hasMonthDay() {
      * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The monthDay. */ @java.lang.Override @@ -8273,6 +10079,7 @@ public int getMonthDay() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8284,14 +10091,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dayOfMonthCase_ == 1) { - output.writeMessage(1, (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_); + output.writeMessage( + 1, (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_); } if (dayOfMonthCase_ == 2) { - output.writeInt32( - 2, (int)((java.lang.Integer) dayOfMonth_)); + output.writeInt32(2, (int) ((java.lang.Integer) dayOfMonth_)); } unknownFields.writeTo(output); } @@ -8303,13 +10109,14 @@ public int getSerializedSize() { size = 0; if (dayOfMonthCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_); } if (dayOfMonthCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size( - 2, (int)((java.lang.Integer) dayOfMonth_)); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 2, (int) ((java.lang.Integer) dayOfMonth_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8319,22 +10126,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule other = (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) obj; + com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule other = + (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) obj; if (!getDayOfMonthCase().equals(other.getDayOfMonthCase())) return false; switch (dayOfMonthCase_) { case 1: - if (!getWeekDayOfMonth() - .equals(other.getWeekDayOfMonth())) return false; + if (!getWeekDayOfMonth().equals(other.getWeekDayOfMonth())) return false; break; case 2: - if (getMonthDay() - != other.getMonthDay()) return false; + if (getMonthDay() != other.getMonthDay()) return false; break; case 0: default: @@ -8368,87 +10174,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule 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.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8458,6 +10271,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents a monthly schedule. An example of a valid monthly schedule is
      * "on the third Tuesday of the month" or "on the 15th of the month".
@@ -8465,21 +10280,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.MonthlySchedule}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.MonthlySchedule)
         com.google.cloud.osconfig.v1.PatchDeployments.MonthlyScheduleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchDeployments
+            .internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_MonthlySchedule_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchDeployments
+            .internal_static_google_cloud_osconfig_v1_MonthlySchedule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.class, com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder.class);
+                com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.class,
+                com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.newBuilder()
@@ -8487,16 +10305,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -8506,13 +10323,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchDeployments
+            .internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule
+          getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.getDefaultInstance();
       }
 
@@ -8527,7 +10345,8 @@ public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule buildPartial() {
-        com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule result = new com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule(this);
+        com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule result =
+            new com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule(this);
         if (dayOfMonthCase_ == 1) {
           if (weekDayOfMonthBuilder_ == null) {
             result.dayOfMonth_ = dayOfMonth_;
@@ -8547,58 +10366,67 @@ public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule buildPartia
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchDeployments.MonthlySchedule) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule other) {
-        if (other == com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule other) {
+        if (other
+            == com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule.getDefaultInstance())
+          return this;
         switch (other.getDayOfMonthCase()) {
-          case WEEK_DAY_OF_MONTH: {
-            mergeWeekDayOfMonth(other.getWeekDayOfMonth());
-            break;
-          }
-          case MONTH_DAY: {
-            setMonthDay(other.getMonthDay());
-            break;
-          }
-          case DAYOFMONTH_NOT_SET: {
-            break;
-          }
+          case WEEK_DAY_OF_MONTH:
+            {
+              mergeWeekDayOfMonth(other.getWeekDayOfMonth());
+              break;
+            }
+          case MONTH_DAY:
+            {
+              setMonthDay(other.getMonthDay());
+              break;
+            }
+          case DAYOFMONTH_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -8619,7 +10447,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -8628,12 +10458,12 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int dayOfMonthCase_ = 0;
       private java.lang.Object dayOfMonth_;
-      public DayOfMonthCase
-          getDayOfMonthCase() {
-        return DayOfMonthCase.forNumber(
-            dayOfMonthCase_);
+
+      public DayOfMonthCase getDayOfMonthCase() {
+        return DayOfMonthCase.forNumber(dayOfMonthCase_);
       }
 
       public Builder clearDayOfMonth() {
@@ -8643,15 +10473,22 @@ public Builder clearDayOfMonth() {
         return this;
       }
 
-
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth, com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder, com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder> weekDayOfMonthBuilder_;
+              com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth,
+              com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder,
+              com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder>
+          weekDayOfMonthBuilder_;
       /**
+       *
+       *
        * 
        * Required. Week day in a month.
        * 
* - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the weekDayOfMonth field is set. */ @java.lang.Override @@ -8659,11 +10496,16 @@ public boolean hasWeekDayOfMonth() { return dayOfMonthCase_ == 1; } /** + * + * *
        * Required. Week day in a month.
        * 
* - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The weekDayOfMonth. */ @java.lang.Override @@ -8681,13 +10523,18 @@ public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth getWeekDayOf } } /** + * + * *
        * Required. Week day in a month.
        * 
* - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setWeekDayOfMonth(com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth value) { + public Builder setWeekDayOfMonth( + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth value) { if (weekDayOfMonthBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8701,11 +10548,15 @@ public Builder setWeekDayOfMonth(com.google.cloud.osconfig.v1.PatchDeployments.W return this; } /** + * + * *
        * Required. Week day in a month.
        * 
* - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWeekDayOfMonth( com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder builderForValue) { @@ -8719,18 +10570,28 @@ public Builder setWeekDayOfMonth( return this; } /** + * + * *
        * Required. Week day in a month.
        * 
* - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeWeekDayOfMonth(com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth value) { + public Builder mergeWeekDayOfMonth( + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth value) { if (weekDayOfMonthBuilder_ == null) { - if (dayOfMonthCase_ == 1 && - dayOfMonth_ != com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.getDefaultInstance()) { - dayOfMonth_ = com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.newBuilder((com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_) - .mergeFrom(value).buildPartial(); + if (dayOfMonthCase_ == 1 + && dayOfMonth_ + != com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth + .getDefaultInstance()) { + dayOfMonth_ = + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.newBuilder( + (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_) + .mergeFrom(value) + .buildPartial(); } else { dayOfMonth_ = value; } @@ -8746,11 +10607,15 @@ public Builder mergeWeekDayOfMonth(com.google.cloud.osconfig.v1.PatchDeployments return this; } /** + * + * *
        * Required. Week day in a month.
        * 
* - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearWeekDayOfMonth() { if (weekDayOfMonthBuilder_ == null) { @@ -8769,24 +10634,34 @@ public Builder clearWeekDayOfMonth() { return this; } /** + * + * *
        * Required. Week day in a month.
        * 
* - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder getWeekDayOfMonthBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder + getWeekDayOfMonthBuilder() { return getWeekDayOfMonthFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Week day in a month.
        * 
* - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder getWeekDayOfMonthOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder + getWeekDayOfMonthOrBuilder() { if ((dayOfMonthCase_ == 1) && (weekDayOfMonthBuilder_ != null)) { return weekDayOfMonthBuilder_.getMessageOrBuilder(); } else { @@ -8797,32 +10672,45 @@ public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder get } } /** + * + * *
        * Required. Week day in a month.
        * 
* - * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth, com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder, com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder> + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth, + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder> getWeekDayOfMonthFieldBuilder() { if (weekDayOfMonthBuilder_ == null) { if (!(dayOfMonthCase_ == 1)) { - dayOfMonth_ = com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); + dayOfMonth_ = + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); } - weekDayOfMonthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth, com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder, com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder>( + weekDayOfMonthBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth, + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder>( (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) dayOfMonth_, getParentForChildren(), isClean()); dayOfMonth_ = null; } dayOfMonthCase_ = 1; - onChanged();; + onChanged(); + ; return weekDayOfMonthBuilder_; } /** + * + * *
        * Required. One day of the month. 1-31 indicates the 1st to the 31st day.
        * -1 indicates the last day of the month. Months without the target day
@@ -8831,12 +10719,15 @@ public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder get
        * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the monthDay field is set. */ public boolean hasMonthDay() { return dayOfMonthCase_ == 2; } /** + * + * *
        * Required. One day of the month. 1-31 indicates the 1st to the 31st day.
        * -1 indicates the last day of the month. Months without the target day
@@ -8845,6 +10736,7 @@ public boolean hasMonthDay() {
        * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The monthDay. */ public int getMonthDay() { @@ -8854,6 +10746,8 @@ public int getMonthDay() { return 0; } /** + * + * *
        * Required. One day of the month. 1-31 indicates the 1st to the 31st day.
        * -1 indicates the last day of the month. Months without the target day
@@ -8862,6 +10756,7 @@ public int getMonthDay() {
        * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The monthDay to set. * @return This builder for chaining. */ @@ -8872,6 +10767,8 @@ public Builder setMonthDay(int value) { return this; } /** + * + * *
        * Required. One day of the month. 1-31 indicates the 1st to the 31st day.
        * -1 indicates the last day of the month. Months without the target day
@@ -8880,6 +10777,7 @@ public Builder setMonthDay(int value) {
        * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearMonthDay() { @@ -8890,6 +10788,7 @@ public Builder clearMonthDay() { } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8902,30 +10801,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.MonthlySchedule) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.MonthlySchedule) - private static final com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MonthlySchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MonthlySchedule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MonthlySchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MonthlySchedule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8937,47 +10838,61 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.MonthlySchedule + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface WeekDayOfMonthOrBuilder extends + public interface WeekDayOfMonthOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.WeekDayOfMonth) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the
      * month. -1 indicates the last week of the month.
      * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The weekOrdinal. */ int getWeekOrdinal(); /** + * + * *
      * Required. A day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dayOfWeek. */ int getDayOfWeekValue(); /** + * + * *
      * Required. A day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dayOfWeek. */ com.google.type.DayOfWeek getDayOfWeek(); /** + * + * *
      * Optional. Represents the number of days before or after the given week day
      * of month that the patch deployment is scheduled for. For example if
@@ -8989,42 +10904,45 @@ public interface WeekDayOfMonthOrBuilder extends
      * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The dayOffset. */ int getDayOffset(); } /** + * + * *
    * Represents one week day in a month. An example is "the 4th Sunday".
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.WeekDayOfMonth} */ - public static final class WeekDayOfMonth extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class WeekDayOfMonth extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.WeekDayOfMonth) WeekDayOfMonthOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WeekDayOfMonth.newBuilder() to construct. private WeekDayOfMonth(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WeekDayOfMonth() { dayOfWeek_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WeekDayOfMonth(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WeekDayOfMonth( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -9043,29 +10961,30 @@ private WeekDayOfMonth( case 0: done = true; break; - case 8: { - - weekOrdinal_ = input.readInt32(); - break; - } - case 16: { - int rawValue = input.readEnum(); - - dayOfWeek_ = rawValue; - break; - } - case 24: { + case 8: + { + weekOrdinal_ = input.readInt32(); + break; + } + case 16: + { + int rawValue = input.readEnum(); - dayOffset_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + dayOfWeek_ = rawValue; + break; + } + case 24: + { + dayOffset_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9073,35 +10992,40 @@ private WeekDayOfMonth( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.class, com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.class, + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder.class); } public static final int WEEK_ORDINAL_FIELD_NUMBER = 1; private int weekOrdinal_; /** + * + * *
      * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the
      * month. -1 indicates the last week of the month.
      * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The weekOrdinal. */ @java.lang.Override @@ -9112,25 +11036,35 @@ public int getWeekOrdinal() { public static final int DAY_OF_WEEK_FIELD_NUMBER = 2; private int dayOfWeek_; /** + * + * *
      * Required. A day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override public int getDayOfWeekValue() { + @java.lang.Override + public int getDayOfWeekValue() { return dayOfWeek_; } /** + * + * *
      * Required. A day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dayOfWeek. */ - @java.lang.Override public com.google.type.DayOfWeek getDayOfWeek() { + @java.lang.Override + public com.google.type.DayOfWeek getDayOfWeek() { @SuppressWarnings("deprecation") com.google.type.DayOfWeek result = com.google.type.DayOfWeek.valueOf(dayOfWeek_); return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; @@ -9139,6 +11073,8 @@ public int getWeekOrdinal() { public static final int DAY_OFFSET_FIELD_NUMBER = 3; private int dayOffset_; /** + * + * *
      * Optional. Represents the number of days before or after the given week day
      * of month that the patch deployment is scheduled for. For example if
@@ -9150,6 +11086,7 @@ public int getWeekOrdinal() {
      * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The dayOffset. */ @java.lang.Override @@ -9158,6 +11095,7 @@ public int getDayOffset() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9169,8 +11107,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (weekOrdinal_ != 0) { output.writeInt32(1, weekOrdinal_); } @@ -9190,16 +11127,13 @@ public int getSerializedSize() { size = 0; if (weekOrdinal_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, weekOrdinal_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, weekOrdinal_); } if (dayOfWeek_ != com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, dayOfWeek_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, dayOfWeek_); } if (dayOffset_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, dayOffset_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, dayOffset_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -9209,18 +11143,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth other = (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) obj; + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth other = + (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) obj; - if (getWeekOrdinal() - != other.getWeekOrdinal()) return false; + if (getWeekOrdinal() != other.getWeekOrdinal()) return false; if (dayOfWeek_ != other.dayOfWeek_) return false; - if (getDayOffset() - != other.getDayOffset()) return false; + if (getDayOffset() != other.getDayOffset()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9244,87 +11177,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth 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.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9334,27 +11274,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents one week day in a month. An example is "the 4th Sunday".
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.WeekDayOfMonth} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.WeekDayOfMonth) com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.class, com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.class, + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.newBuilder() @@ -9362,16 +11307,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -9385,13 +11329,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); } @@ -9406,7 +11351,8 @@ public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth result = new com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth(this); + com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth result = + new com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth(this); result.weekOrdinal_ = weekOrdinal_; result.dayOfWeek_ = dayOfWeek_; result.dayOffset_ = dayOffset_; @@ -9418,38 +11364,41 @@ public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.WeekDayOfMonth) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth)other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) other); } else { super.mergeFrom(other); return this; @@ -9457,7 +11406,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth other) { - if (other == com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.getDefaultInstance()) return this; + if (other + == com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth.getDefaultInstance()) + return this; if (other.getWeekOrdinal() != 0) { setWeekOrdinal(other.getWeekOrdinal()); } @@ -9486,7 +11437,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9496,14 +11449,17 @@ public Builder mergeFrom( return this; } - private int weekOrdinal_ ; + private int weekOrdinal_; /** + * + * *
        * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the
        * month. -1 indicates the last week of the month.
        * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The weekOrdinal. */ @java.lang.Override @@ -9511,32 +11467,38 @@ public int getWeekOrdinal() { return weekOrdinal_; } /** + * + * *
        * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the
        * month. -1 indicates the last week of the month.
        * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The weekOrdinal to set. * @return This builder for chaining. */ public Builder setWeekOrdinal(int value) { - + weekOrdinal_ = value; onChanged(); return this; } /** + * + * *
        * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the
        * month. -1 indicates the last week of the month.
        * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearWeekOrdinal() { - + weekOrdinal_ = 0; onChanged(); return this; @@ -9544,37 +11506,50 @@ public Builder clearWeekOrdinal() { private int dayOfWeek_ = 0; /** + * + * *
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override public int getDayOfWeekValue() { + @java.lang.Override + public int getDayOfWeekValue() { return dayOfWeek_; } /** + * + * *
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for dayOfWeek to set. * @return This builder for chaining. */ public Builder setDayOfWeekValue(int value) { - + dayOfWeek_ = value; onChanged(); return this; } /** + * + * *
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dayOfWeek. */ @java.lang.Override @@ -9584,11 +11559,15 @@ public com.google.type.DayOfWeek getDayOfWeek() { return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; } /** + * + * *
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The dayOfWeek to set. * @return This builder for chaining. */ @@ -9596,28 +11575,34 @@ public Builder setDayOfWeek(com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } - + dayOfWeek_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearDayOfWeek() { - + dayOfWeek_ = 0; onChanged(); return this; } - private int dayOffset_ ; + private int dayOffset_; /** + * + * *
        * Optional. Represents the number of days before or after the given week day
        * of month that the patch deployment is scheduled for. For example if
@@ -9629,6 +11614,7 @@ public Builder clearDayOfWeek() {
        * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The dayOffset. */ @java.lang.Override @@ -9636,6 +11622,8 @@ public int getDayOffset() { return dayOffset_; } /** + * + * *
        * Optional. Represents the number of days before or after the given week day
        * of month that the patch deployment is scheduled for. For example if
@@ -9647,16 +11635,19 @@ public int getDayOffset() {
        * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The dayOffset to set. * @return This builder for chaining. */ public Builder setDayOffset(int value) { - + dayOffset_ = value; onChanged(); return this; } /** + * + * *
        * Optional. Represents the number of days before or after the given week day
        * of month that the patch deployment is scheduled for. For example if
@@ -9668,14 +11659,16 @@ public Builder setDayOffset(int value) {
        * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDayOffset() { - + dayOffset_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9688,30 +11681,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.WeekDayOfMonth) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.WeekDayOfMonth) - private static final com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WeekDayOfMonth parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WeekDayOfMonth(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WeekDayOfMonth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WeekDayOfMonth(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9723,39 +11718,51 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface CreatePatchDeploymentRequestOrBuilder extends + public interface CreatePatchDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.CreatePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The project to apply this patch deployment to in the form
      * `projects/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
      * Required. The project to apply this patch deployment to in the form
      * `projects/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
      * Required. A name for the patch deployment in the project. When creating a
      * name the following rules apply:
@@ -9767,10 +11774,13 @@ public interface CreatePatchDeploymentRequestOrBuilder extends
      * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The patchDeploymentId. */ java.lang.String getPatchDeploymentId(); /** + * + * *
      * Required. A name for the patch deployment in the project. When creating a
      * name the following rules apply:
@@ -9782,54 +11792,74 @@ public interface CreatePatchDeploymentRequestOrBuilder extends
      * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for patchDeploymentId. */ - com.google.protobuf.ByteString - getPatchDeploymentIdBytes(); + com.google.protobuf.ByteString getPatchDeploymentIdBytes(); /** + * + * *
      * Required. The patch deployment to create.
      * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the patchDeployment field is set. */ boolean hasPatchDeployment(); /** + * + * *
      * Required. The patch deployment to create.
      * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The patchDeployment. */ com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployment(); /** + * + * *
      * Required. The patch deployment to create.
      * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder(); + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder + getPatchDeploymentOrBuilder(); } /** + * + * *
    * A request message for creating a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.CreatePatchDeploymentRequest} */ - public static final class CreatePatchDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CreatePatchDeploymentRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.CreatePatchDeploymentRequest) CreatePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreatePatchDeploymentRequest.newBuilder() to construct. - private CreatePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreatePatchDeploymentRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreatePatchDeploymentRequest() { parent_ = ""; patchDeploymentId_ = ""; @@ -9837,16 +11867,15 @@ private CreatePatchDeploymentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreatePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreatePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -9865,38 +11894,45 @@ private CreatePatchDeploymentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - patchDeploymentId_ = s; - break; - } - case 26: { - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder subBuilder = null; - if (patchDeployment_ != null) { - subBuilder = patchDeployment_.toBuilder(); + patchDeploymentId_ = s; + break; } - patchDeployment_ = input.readMessage(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(patchDeployment_); - patchDeployment_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder subBuilder = + null; + if (patchDeployment_ != null) { + subBuilder = patchDeployment_.toBuilder(); + } + patchDeployment_ = + input.readMessage( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(patchDeployment_); + patchDeployment_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9904,35 +11940,43 @@ private CreatePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.class, + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
      * Required. The project to apply this patch deployment to in the form
      * `projects/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -9941,30 +11985,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
      * Required. The project to apply this patch deployment to in the form
      * `projects/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -9975,6 +12021,8 @@ public java.lang.String getParent() { public static final int PATCH_DEPLOYMENT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object patchDeploymentId_; /** + * + * *
      * Required. A name for the patch deployment in the project. When creating a
      * name the following rules apply:
@@ -9986,6 +12034,7 @@ public java.lang.String getParent() {
      * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The patchDeploymentId. */ @java.lang.Override @@ -9994,14 +12043,15 @@ public java.lang.String getPatchDeploymentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchDeploymentId_ = s; return s; } } /** + * + * *
      * Required. A name for the patch deployment in the project. When creating a
      * name the following rules apply:
@@ -10013,16 +12063,15 @@ public java.lang.String getPatchDeploymentId() {
      * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for patchDeploymentId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPatchDeploymentIdBytes() { + public com.google.protobuf.ByteString getPatchDeploymentIdBytes() { java.lang.Object ref = patchDeploymentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); patchDeploymentId_ = b; return b; } else { @@ -10033,11 +12082,16 @@ public java.lang.String getPatchDeploymentId() { public static final int PATCH_DEPLOYMENT_FIELD_NUMBER = 3; private com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment patchDeployment_; /** + * + * *
      * Required. The patch deployment to create.
      * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the patchDeployment field is set. */ @java.lang.Override @@ -10045,30 +12099,43 @@ public boolean hasPatchDeployment() { return patchDeployment_ != null; } /** + * + * *
      * Required. The patch deployment to create.
      * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The patchDeployment. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployment() { - return patchDeployment_ == null ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; + return patchDeployment_ == null + ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() + : patchDeployment_; } /** + * + * *
      * Required. The patch deployment to create.
      * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder + getPatchDeploymentOrBuilder() { return getPatchDeployment(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10080,8 +12147,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -10107,8 +12173,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, patchDeploymentId_); } if (patchDeployment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPatchDeployment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPatchDeployment()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -10118,21 +12183,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest other = (com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest other = + (com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getPatchDeploymentId() - .equals(other.getPatchDeploymentId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getPatchDeploymentId().equals(other.getPatchDeploymentId())) return false; if (hasPatchDeployment() != other.hasPatchDeployment()) return false; if (hasPatchDeployment()) { - if (!getPatchDeployment() - .equals(other.getPatchDeployment())) return false; + if (!getPatchDeployment().equals(other.getPatchDeployment())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -10158,88 +12222,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10249,44 +12326,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for creating a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.CreatePatchDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.CreatePatchDeploymentRequest) com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.class, + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -10304,19 +12387,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest build() { - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest result = buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -10324,8 +12410,10 @@ public com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentReques } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest result = new com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest + buildPartial() { + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest result = + new com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest(this); result.parent_ = parent_; result.patchDeploymentId_ = patchDeploymentId_; if (patchDeploymentBuilder_ == null) { @@ -10341,46 +12429,54 @@ public com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest)other); + if (other + instanceof com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest other) { - if (other == com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest other) { + if (other + == com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -10407,11 +12503,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parsedMessage = null; + com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -10423,19 +12522,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
        * Required. The project to apply this patch deployment to in the form
        * `projects/*`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -10444,21 +12547,24 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The project to apply this patch deployment to in the form
        * `projects/*`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -10466,57 +12572,70 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The project to apply this patch deployment to in the form
        * `projects/*`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
        * Required. The project to apply this patch deployment to in the form
        * `projects/*`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
        * Required. The project to apply this patch deployment to in the form
        * `projects/*`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -10524,6 +12643,8 @@ public Builder setParentBytes( private java.lang.Object patchDeploymentId_ = ""; /** + * + * *
        * Required. A name for the patch deployment in the project. When creating a
        * name the following rules apply:
@@ -10535,13 +12656,13 @@ public Builder setParentBytes(
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The patchDeploymentId. */ public java.lang.String getPatchDeploymentId() { java.lang.Object ref = patchDeploymentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchDeploymentId_ = s; return s; @@ -10550,6 +12671,8 @@ public java.lang.String getPatchDeploymentId() { } } /** + * + * *
        * Required. A name for the patch deployment in the project. When creating a
        * name the following rules apply:
@@ -10561,15 +12684,14 @@ public java.lang.String getPatchDeploymentId() {
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for patchDeploymentId. */ - public com.google.protobuf.ByteString - getPatchDeploymentIdBytes() { + public com.google.protobuf.ByteString getPatchDeploymentIdBytes() { java.lang.Object ref = patchDeploymentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); patchDeploymentId_ = b; return b; } else { @@ -10577,6 +12699,8 @@ public java.lang.String getPatchDeploymentId() { } } /** + * + * *
        * Required. A name for the patch deployment in the project. When creating a
        * name the following rules apply:
@@ -10588,20 +12712,22 @@ public java.lang.String getPatchDeploymentId() {
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The patchDeploymentId to set. * @return This builder for chaining. */ - public Builder setPatchDeploymentId( - java.lang.String value) { + public Builder setPatchDeploymentId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + patchDeploymentId_ = value; onChanged(); return this; } /** + * + * *
        * Required. A name for the patch deployment in the project. When creating a
        * name the following rules apply:
@@ -10613,15 +12739,18 @@ public Builder setPatchDeploymentId(
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPatchDeploymentId() { - + patchDeploymentId_ = getDefaultInstance().getPatchDeploymentId(); onChanged(); return this; } /** + * + * *
        * Required. A name for the patch deployment in the project. When creating a
        * name the following rules apply:
@@ -10633,16 +12762,16 @@ public Builder clearPatchDeploymentId() {
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for patchDeploymentId to set. * @return This builder for chaining. */ - public Builder setPatchDeploymentIdBytes( - com.google.protobuf.ByteString value) { + public Builder setPatchDeploymentIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + patchDeploymentId_ = value; onChanged(); return this; @@ -10650,41 +12779,61 @@ public Builder setPatchDeploymentIdBytes( private com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment patchDeployment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> patchDeploymentBuilder_; + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> + patchDeploymentBuilder_; /** + * + * *
        * Required. The patch deployment to create.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the patchDeployment field is set. */ public boolean hasPatchDeployment() { return patchDeploymentBuilder_ != null || patchDeployment_ != null; } /** + * + * *
        * Required. The patch deployment to create.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The patchDeployment. */ public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployment() { if (patchDeploymentBuilder_ == null) { - return patchDeployment_ == null ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; + return patchDeployment_ == null + ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() + : patchDeployment_; } else { return patchDeploymentBuilder_.getMessage(); } } /** + * + * *
        * Required. The patch deployment to create.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setPatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { + public Builder setPatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { if (patchDeploymentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10698,11 +12847,15 @@ public Builder setPatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments. return this; } /** + * + * *
        * Required. The patch deployment to create.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPatchDeployment( com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder builderForValue) { @@ -10716,17 +12869,25 @@ public Builder setPatchDeployment( return this; } /** + * + * *
        * Required. The patch deployment to create.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { + public Builder mergePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { if (patchDeploymentBuilder_ == null) { if (patchDeployment_ != null) { patchDeployment_ = - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.newBuilder(patchDeployment_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.newBuilder( + patchDeployment_) + .mergeFrom(value) + .buildPartial(); } else { patchDeployment_ = value; } @@ -10738,11 +12899,15 @@ public Builder mergePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployment return this; } /** + * + * *
        * Required. The patch deployment to create.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPatchDeployment() { if (patchDeploymentBuilder_ == null) { @@ -10756,52 +12921,71 @@ public Builder clearPatchDeployment() { return this; } /** + * + * *
        * Required. The patch deployment to create.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder getPatchDeploymentBuilder() { - + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder + getPatchDeploymentBuilder() { + onChanged(); return getPatchDeploymentFieldBuilder().getBuilder(); } /** + * + * *
        * Required. The patch deployment to create.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder + getPatchDeploymentOrBuilder() { if (patchDeploymentBuilder_ != null) { return patchDeploymentBuilder_.getMessageOrBuilder(); } else { - return patchDeployment_ == null ? - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; + return patchDeployment_ == null + ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() + : patchDeployment_; } } /** + * + * *
        * Required. The patch deployment to create.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> getPatchDeploymentFieldBuilder() { if (patchDeploymentBuilder_ == null) { - patchDeploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder>( - getPatchDeployment(), - getParentForChildren(), - isClean()); + patchDeploymentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder>( + getPatchDeployment(), getParentForChildren(), isClean()); patchDeployment_ = null; } return patchDeploymentBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10814,30 +12998,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.CreatePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.CreatePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreatePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreatePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10849,70 +13036,82 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.CreatePatchDeploymentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GetPatchDeploymentRequestOrBuilder extends + public interface GetPatchDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.GetPatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
    * A request message for retrieving a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetPatchDeploymentRequest} */ - public static final class GetPatchDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GetPatchDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.GetPatchDeploymentRequest) GetPatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPatchDeploymentRequest.newBuilder() to construct. private GetPatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPatchDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetPatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10931,19 +13130,20 @@ private GetPatchDeploymentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10951,35 +13151,43 @@ private GetPatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.class, + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -10988,30 +13196,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -11020,6 +13230,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11031,8 +13242,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -11056,15 +13266,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest other = (com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest other = + (com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11084,87 +13295,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest 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.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest 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.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11174,44 +13393,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for retrieving a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetPatchDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.GetPatchDeploymentRequest) com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.class, + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -11221,19 +13446,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest build() { - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest result = buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -11241,8 +13469,10 @@ public com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest b } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest result = new com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest + buildPartial() { + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest result = + new com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -11252,46 +13482,54 @@ public com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest)other); + if (other + instanceof com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest other) { - if (other == com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest other) { + if (other + == com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -11311,11 +13549,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parsedMessage = null; + com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -11327,19 +13568,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -11348,21 +13593,24 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -11370,61 +13618,75 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11437,30 +13699,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.GetPatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.GetPatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11472,48 +13737,63 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.GetPatchDeploymentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListPatchDeploymentsRequestOrBuilder extends + public interface ListPatchDeploymentsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListPatchDeploymentsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The resource name of the parent in the form `projects/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
      * Required. The resource name of the parent in the form `projects/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
      * Optional. The maximum number of patch deployments to return. Default is
      * 100.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
      * Optional. A pagination token returned from a previous call to
      * ListPatchDeployments that indicates where this listing should continue
@@ -11521,10 +13801,13 @@ public interface ListPatchDeploymentsRequestOrBuilder extends
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
      * Optional. A pagination token returned from a previous call to
      * ListPatchDeployments that indicates where this listing should continue
@@ -11532,27 +13815,31 @@ public interface ListPatchDeploymentsRequestOrBuilder extends
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } /** + * + * *
    * A request message for listing patch deployments.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchDeploymentsRequest} */ - public static final class ListPatchDeploymentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListPatchDeploymentsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListPatchDeploymentsRequest) ListPatchDeploymentsRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchDeploymentsRequest.newBuilder() to construct. private ListPatchDeploymentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPatchDeploymentsRequest() { parent_ = ""; pageToken_ = ""; @@ -11560,16 +13847,15 @@ private ListPatchDeploymentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPatchDeploymentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPatchDeploymentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -11588,30 +13874,32 @@ private ListPatchDeploymentsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -11619,34 +13907,42 @@ private ListPatchDeploymentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.class, + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
      * Required. The resource name of the parent in the form `projects/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -11655,29 +13951,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
      * Required. The resource name of the parent in the form `projects/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -11688,12 +13986,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
      * Optional. The maximum number of patch deployments to return. Default is
      * 100.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -11704,6 +14005,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
      * Optional. A pagination token returned from a previous call to
      * ListPatchDeployments that indicates where this listing should continue
@@ -11711,6 +14014,7 @@ public int getPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -11719,14 +14023,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
      * Optional. A pagination token returned from a previous call to
      * ListPatchDeployments that indicates where this listing should continue
@@ -11734,16 +14039,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -11752,6 +14056,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11763,8 +14068,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -11787,8 +14091,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -11801,19 +14104,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest other = (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest) obj; + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest other = + (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11836,88 +14138,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest + 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest + 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest + 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest + 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11927,44 +14242,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for listing patch deployments.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchDeploymentsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListPatchDeploymentsRequest) com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.class, + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -11978,19 +14299,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest build() { - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest result = buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -11998,8 +14322,10 @@ public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest result = new com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest(this); + public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest + buildPartial() { + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest result = + new com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -12011,46 +14337,54 @@ public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest)other); + if (other + instanceof com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest other) { - if (other == com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest other) { + if (other + == com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -12077,11 +14411,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parsedMessage = null; + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12093,18 +14430,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -12113,20 +14454,23 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -12134,67 +14478,83 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
        * Optional. The maximum number of patch deployments to return. Default is
        * 100.
        * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -12202,32 +14562,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
        * Optional. The maximum number of patch deployments to return. Default is
        * 100.
        * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
        * Optional. The maximum number of patch deployments to return. Default is
        * 100.
        * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -12235,6 +14601,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
        * Optional. A pagination token returned from a previous call to
        * ListPatchDeployments that indicates where this listing should continue
@@ -12242,13 +14610,13 @@ public Builder clearPageSize() {
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -12257,6 +14625,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * Optional. A pagination token returned from a previous call to
        * ListPatchDeployments that indicates where this listing should continue
@@ -12264,15 +14634,14 @@ public java.lang.String getPageToken() {
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -12280,6 +14649,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * Optional. A pagination token returned from a previous call to
        * ListPatchDeployments that indicates where this listing should continue
@@ -12287,20 +14658,22 @@ public java.lang.String getPageToken() {
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
        * Optional. A pagination token returned from a previous call to
        * ListPatchDeployments that indicates where this listing should continue
@@ -12308,15 +14681,18 @@ public Builder setPageToken(
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
        * Optional. A pagination token returned from a previous call to
        * ListPatchDeployments that indicates where this listing should continue
@@ -12324,20 +14700,21 @@ public Builder clearPageToken() {
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12350,30 +14727,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListPatchDeploymentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListPatchDeploymentsRequest) - private static final com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchDeploymentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchDeploymentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchDeploymentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchDeploymentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12385,26 +14765,31 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListPatchDeploymentsResponseOrBuilder extends + public interface ListPatchDeploymentsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListPatchDeploymentsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The list of patch deployments.
      * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - java.util.List + java.util.List getPatchDeploymentsList(); /** + * + * *
      * The list of patch deployments.
      * 
@@ -12413,6 +14798,8 @@ public interface ListPatchDeploymentsResponseOrBuilder extends */ com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployments(int index); /** + * + * *
      * The list of patch deployments.
      * 
@@ -12421,62 +14808,76 @@ public interface ListPatchDeploymentsResponseOrBuilder extends */ int getPatchDeploymentsCount(); /** + * + * *
      * The list of patch deployments.
      * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - java.util.List + java.util.List getPatchDeploymentsOrBuilderList(); /** + * + * *
      * The list of patch deployments.
      * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentsOrBuilder( - int index); + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder + getPatchDeploymentsOrBuilder(int index); /** + * + * *
      * A pagination token that can be used to get the next page of patch
      * deployments.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
      * A pagination token that can be used to get the next page of patch
      * deployments.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } /** + * + * *
    * A response message for listing patch deployments.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchDeploymentsResponse} */ - public static final class ListPatchDeploymentsResponse extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListPatchDeploymentsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListPatchDeploymentsResponse) ListPatchDeploymentsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchDeploymentsResponse.newBuilder() to construct. - private ListPatchDeploymentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListPatchDeploymentsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPatchDeploymentsResponse() { patchDeployments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -12484,16 +14885,15 @@ private ListPatchDeploymentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPatchDeploymentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPatchDeploymentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -12513,28 +14913,34 @@ private ListPatchDeploymentsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - patchDeployments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + patchDeployments_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>(); + mutable_bitField0_ |= 0x00000001; + } + patchDeployments_.add( + input.readMessage( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.parser(), + extensionRegistry)); + break; } - patchDeployments_.add( - input.readMessage(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -12542,8 +14948,7 @@ private ListPatchDeploymentsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { patchDeployments_ = java.util.Collections.unmodifiableList(patchDeployments_); @@ -12552,22 +14957,29 @@ private ListPatchDeploymentsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.class, com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.class, + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.Builder + .class); } public static final int PATCH_DEPLOYMENTS_FIELD_NUMBER = 1; - private java.util.List patchDeployments_; + private java.util.List + patchDeployments_; /** + * + * *
      * The list of patch deployments.
      * 
@@ -12575,10 +14987,13 @@ private ListPatchDeploymentsResponse( * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ @java.lang.Override - public java.util.List getPatchDeploymentsList() { + public java.util.List + getPatchDeploymentsList() { return patchDeployments_; } /** + * + * *
      * The list of patch deployments.
      * 
@@ -12586,11 +15001,14 @@ public java.util.Listrepeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> getPatchDeploymentsOrBuilderList() { return patchDeployments_; } /** + * + * *
      * The list of patch deployments.
      * 
@@ -12602,6 +15020,8 @@ public int getPatchDeploymentsCount() { return patchDeployments_.size(); } /** + * + * *
      * The list of patch deployments.
      * 
@@ -12609,10 +15029,13 @@ public int getPatchDeploymentsCount() { * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployments(int index) { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployments( + int index) { return patchDeployments_.get(index); } /** + * + * *
      * The list of patch deployments.
      * 
@@ -12620,20 +15043,23 @@ public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDep * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder + getPatchDeploymentsOrBuilder(int index) { return patchDeployments_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
      * A pagination token that can be used to get the next page of patch
      * deployments.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -12642,30 +15068,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
      * A pagination token that can be used to get the next page of patch
      * deployments.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -12674,6 +15100,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12685,8 +15112,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < patchDeployments_.size(); i++) { output.writeMessage(1, patchDeployments_.get(i)); } @@ -12703,8 +15129,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < patchDeployments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, patchDeployments_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, patchDeployments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -12717,17 +15143,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse other = (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse) obj; + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse other = + (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse) obj; - if (!getPatchDeploymentsList() - .equals(other.getPatchDeploymentsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPatchDeploymentsList().equals(other.getPatchDeploymentsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -12750,88 +15176,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -12841,45 +15280,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A response message for listing patch deployments.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchDeploymentsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListPatchDeploymentsResponse) com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.class, com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.class, + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPatchDeploymentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -12895,19 +15341,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse build() { - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse result = buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -12915,8 +15364,10 @@ public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRespons } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse result = new com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse(this); + public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + buildPartial() { + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse result = + new com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse(this); int from_bitField0_ = bitField0_; if (patchDeploymentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -12936,46 +15387,54 @@ public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsRespons public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse)other); + if (other + instanceof com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse) { + return mergeFrom( + (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse other) { - if (other == com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse other) { + if (other + == com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + .getDefaultInstance()) return this; if (patchDeploymentsBuilder_ == null) { if (!other.patchDeployments_.isEmpty()) { if (patchDeployments_.isEmpty()) { @@ -12994,9 +15453,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.ListPatch patchDeploymentsBuilder_ = null; patchDeployments_ = other.patchDeployments_; bitField0_ = (bitField0_ & ~0x00000001); - patchDeploymentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPatchDeploymentsFieldBuilder() : null; + patchDeploymentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPatchDeploymentsFieldBuilder() + : null; } else { patchDeploymentsBuilder_.addAllMessages(other.patchDeployments_); } @@ -13021,11 +15481,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parsedMessage = null; + com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -13034,28 +15497,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List patchDeployments_ = - java.util.Collections.emptyList(); + private java.util.List + patchDeployments_ = java.util.Collections.emptyList(); + private void ensurePatchDeploymentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - patchDeployments_ = new java.util.ArrayList(patchDeployments_); + patchDeployments_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment>(patchDeployments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> patchDeploymentsBuilder_; + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> + patchDeploymentsBuilder_; /** + * + * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - public java.util.List getPatchDeploymentsList() { + public java.util.List + getPatchDeploymentsList() { if (patchDeploymentsBuilder_ == null) { return java.util.Collections.unmodifiableList(patchDeployments_); } else { @@ -13063,6 +15536,8 @@ public java.util.List * The list of patch deployments. *
@@ -13077,13 +15552,16 @@ public int getPatchDeploymentsCount() { } } /** + * + * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployments(int index) { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployments( + int index) { if (patchDeploymentsBuilder_ == null) { return patchDeployments_.get(index); } else { @@ -13091,6 +15569,8 @@ public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDep } } /** + * + * *
        * The list of patch deployments.
        * 
@@ -13112,6 +15592,8 @@ public Builder setPatchDeployments( return this; } /** + * + * *
        * The list of patch deployments.
        * 
@@ -13119,7 +15601,8 @@ public Builder setPatchDeployments( * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ public Builder setPatchDeployments( - int index, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder builderForValue) { if (patchDeploymentsBuilder_ == null) { ensurePatchDeploymentsIsMutable(); patchDeployments_.set(index, builderForValue.build()); @@ -13130,13 +15613,16 @@ public Builder setPatchDeployments( return this; } /** + * + * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - public Builder addPatchDeployments(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { + public Builder addPatchDeployments( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { if (patchDeploymentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13150,6 +15636,8 @@ public Builder addPatchDeployments(com.google.cloud.osconfig.v1.PatchDeployments return this; } /** + * + * *
        * The list of patch deployments.
        * 
@@ -13171,6 +15659,8 @@ public Builder addPatchDeployments( return this; } /** + * + * *
        * The list of patch deployments.
        * 
@@ -13189,6 +15679,8 @@ public Builder addPatchDeployments( return this; } /** + * + * *
        * The list of patch deployments.
        * 
@@ -13196,7 +15688,8 @@ public Builder addPatchDeployments( * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ public Builder addPatchDeployments( - int index, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder builderForValue) { if (patchDeploymentsBuilder_ == null) { ensurePatchDeploymentsIsMutable(); patchDeployments_.add(index, builderForValue.build()); @@ -13207,6 +15700,8 @@ public Builder addPatchDeployments( return this; } /** + * + * *
        * The list of patch deployments.
        * 
@@ -13214,11 +15709,12 @@ public Builder addPatchDeployments( * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ public Builder addAllPatchDeployments( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment> + values) { if (patchDeploymentsBuilder_ == null) { ensurePatchDeploymentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, patchDeployments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, patchDeployments_); onChanged(); } else { patchDeploymentsBuilder_.addAllMessages(values); @@ -13226,6 +15722,8 @@ public Builder addAllPatchDeployments( return this; } /** + * + * *
        * The list of patch deployments.
        * 
@@ -13243,6 +15741,8 @@ public Builder clearPatchDeployments() { return this; } /** + * + * *
        * The list of patch deployments.
        * 
@@ -13260,39 +15760,47 @@ public Builder removePatchDeployments(int index) { return this; } /** + * + * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder getPatchDeploymentsBuilder( - int index) { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder + getPatchDeploymentsBuilder(int index) { return getPatchDeploymentsFieldBuilder().getBuilder(index); } /** + * + * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder + getPatchDeploymentsOrBuilder(int index) { if (patchDeploymentsBuilder_ == null) { - return patchDeployments_.get(index); } else { + return patchDeployments_.get(index); + } else { return patchDeploymentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - public java.util.List - getPatchDeploymentsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> + getPatchDeploymentsOrBuilderList() { if (patchDeploymentsBuilder_ != null) { return patchDeploymentsBuilder_.getMessageOrBuilderList(); } else { @@ -13300,45 +15808,61 @@ public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder ge } } /** + * + * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder addPatchDeploymentsBuilder() { - return getPatchDeploymentsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance()); + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder + addPatchDeploymentsBuilder() { + return getPatchDeploymentsFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance()); } /** + * + * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder addPatchDeploymentsBuilder( - int index) { - return getPatchDeploymentsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance()); + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder + addPatchDeploymentsBuilder(int index) { + return getPatchDeploymentsFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance()); } /** + * + * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1; */ - public java.util.List - getPatchDeploymentsBuilderList() { + public java.util.List + getPatchDeploymentsBuilderList() { return getPatchDeploymentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> getPatchDeploymentsFieldBuilder() { if (patchDeploymentsBuilder_ == null) { - patchDeploymentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder>( + patchDeploymentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder>( patchDeployments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -13350,19 +15874,21 @@ public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder add private java.lang.Object nextPageToken_ = ""; /** + * + * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -13371,21 +15897,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -13393,61 +15920,69 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13460,30 +15995,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListPatchDeploymentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListPatchDeploymentsResponse) - private static final com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchDeploymentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchDeploymentsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchDeploymentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchDeploymentsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13495,70 +16033,84 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.ListPatchDeploymentsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DeletePatchDeploymentRequestOrBuilder extends + public interface DeletePatchDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.DeletePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
    * A request message for deleting a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.DeletePatchDeploymentRequest} */ - public static final class DeletePatchDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DeletePatchDeploymentRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.DeletePatchDeploymentRequest) DeletePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeletePatchDeploymentRequest.newBuilder() to construct. - private DeletePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeletePatchDeploymentRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeletePatchDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeletePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeletePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -13577,19 +16129,20 @@ private DeletePatchDeploymentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -13597,35 +16150,43 @@ private DeletePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.class, + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -13634,30 +16195,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -13666,6 +16229,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13677,8 +16241,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -13702,15 +16265,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest other = (com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest other = + (com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -13729,88 +16293,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -13820,44 +16397,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for deleting a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.DeletePatchDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.DeletePatchDeploymentRequest) com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.class, + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -13867,19 +16450,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest build() { - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest result = buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -13887,8 +16473,10 @@ public com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentReques } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest result = new com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest + buildPartial() { + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest result = + new com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -13898,46 +16486,54 @@ public com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest)other); + if (other + instanceof com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest other) { - if (other == com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest other) { + if (other + == com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -13957,11 +16553,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parsedMessage = null; + com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -13973,19 +16572,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -13994,21 +16597,24 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -14016,61 +16622,75 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14083,30 +16703,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.DeletePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.DeletePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14118,104 +16741,134 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.DeletePatchDeploymentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface UpdatePatchDeploymentRequestOrBuilder extends + public interface UpdatePatchDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.UpdatePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The patch deployment to Update.
      * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the patchDeployment field is set. */ boolean hasPatchDeployment(); /** + * + * *
      * Required. The patch deployment to Update.
      * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The patchDeployment. */ com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployment(); /** + * + * *
      * Required. The patch deployment to Update.
      * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder(); + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder + getPatchDeploymentOrBuilder(); /** + * + * *
      * Optional. Field mask that controls which fields of the patch deployment
      * should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
      * Optional. Field mask that controls which fields of the patch deployment
      * should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
      * Optional. Field mask that controls which fields of the patch deployment
      * should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } /** + * + * *
    * A request message for updating a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.UpdatePatchDeploymentRequest} */ - public static final class UpdatePatchDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class UpdatePatchDeploymentRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.UpdatePatchDeploymentRequest) UpdatePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdatePatchDeploymentRequest.newBuilder() to construct. - private UpdatePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdatePatchDeploymentRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdatePatchDeploymentRequest() { - } + + private UpdatePatchDeploymentRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdatePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdatePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -14234,39 +16887,46 @@ private UpdatePatchDeploymentRequest( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder subBuilder = null; - if (patchDeployment_ != null) { - subBuilder = patchDeployment_.toBuilder(); - } - patchDeployment_ = input.readMessage(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(patchDeployment_); - patchDeployment_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); + case 10: + { + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder subBuilder = + null; + if (patchDeployment_ != null) { + subBuilder = patchDeployment_.toBuilder(); + } + patchDeployment_ = + input.readMessage( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(patchDeployment_); + patchDeployment_ = subBuilder.buildPartial(); + } + + break; } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -14274,34 +16934,42 @@ private UpdatePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.class, + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.Builder + .class); } public static final int PATCH_DEPLOYMENT_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment patchDeployment_; /** + * + * *
      * Required. The patch deployment to Update.
      * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the patchDeployment field is set. */ @java.lang.Override @@ -14309,38 +16977,54 @@ public boolean hasPatchDeployment() { return patchDeployment_ != null; } /** + * + * *
      * Required. The patch deployment to Update.
      * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The patchDeployment. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployment() { - return patchDeployment_ == null ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; + return patchDeployment_ == null + ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() + : patchDeployment_; } /** + * + * *
      * Required. The patch deployment to Update.
      * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder + getPatchDeploymentOrBuilder() { return getPatchDeployment(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
      * Optional. Field mask that controls which fields of the patch deployment
      * should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -14348,12 +17032,16 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
      * Optional. Field mask that controls which fields of the patch deployment
      * should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -14361,12 +17049,15 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
      * Optional. Field mask that controls which fields of the patch deployment
      * should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -14374,6 +17065,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -14385,8 +17077,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (patchDeployment_ != null) { output.writeMessage(1, getPatchDeployment()); } @@ -14403,12 +17094,10 @@ public int getSerializedSize() { size = 0; if (patchDeployment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getPatchDeployment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPatchDeployment()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -14418,22 +17107,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest other = (com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest other = + (com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest) obj; if (hasPatchDeployment() != other.hasPatchDeployment()) return false; if (hasPatchDeployment()) { - if (!getPatchDeployment() - .equals(other.getPatchDeployment())) return false; + if (!getPatchDeployment().equals(other.getPatchDeployment())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -14459,88 +17148,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -14550,44 +17252,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for updating a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.UpdatePatchDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.UpdatePatchDeploymentRequest) com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.class, + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -14607,19 +17315,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest build() { - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest result = buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -14627,8 +17338,10 @@ public com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentReques } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest result = new com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest + buildPartial() { + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest result = + new com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest(this); if (patchDeploymentBuilder_ == null) { result.patchDeployment_ = patchDeployment_; } else { @@ -14647,46 +17360,54 @@ public com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest)other); + if (other + instanceof com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest other) { - if (other == com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest other) { + if (other + == com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest + .getDefaultInstance()) return this; if (other.hasPatchDeployment()) { mergePatchDeployment(other.getPatchDeployment()); } @@ -14708,11 +17429,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parsedMessage = null; + com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -14724,41 +17448,61 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment patchDeployment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> patchDeploymentBuilder_; + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> + patchDeploymentBuilder_; /** + * + * *
        * Required. The patch deployment to Update.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the patchDeployment field is set. */ public boolean hasPatchDeployment() { return patchDeploymentBuilder_ != null || patchDeployment_ != null; } /** + * + * *
        * Required. The patch deployment to Update.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The patchDeployment. */ public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment getPatchDeployment() { if (patchDeploymentBuilder_ == null) { - return patchDeployment_ == null ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; + return patchDeployment_ == null + ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() + : patchDeployment_; } else { return patchDeploymentBuilder_.getMessage(); } } /** + * + * *
        * Required. The patch deployment to Update.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setPatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { + public Builder setPatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { if (patchDeploymentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14772,11 +17516,15 @@ public Builder setPatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments. return this; } /** + * + * *
        * Required. The patch deployment to Update.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPatchDeployment( com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder builderForValue) { @@ -14790,17 +17538,25 @@ public Builder setPatchDeployment( return this; } /** + * + * *
        * Required. The patch deployment to Update.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { + public Builder mergePatchDeployment( + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment value) { if (patchDeploymentBuilder_ == null) { if (patchDeployment_ != null) { patchDeployment_ = - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.newBuilder(patchDeployment_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.newBuilder( + patchDeployment_) + .mergeFrom(value) + .buildPartial(); } else { patchDeployment_ = value; } @@ -14812,11 +17568,15 @@ public Builder mergePatchDeployment(com.google.cloud.osconfig.v1.PatchDeployment return this; } /** + * + * *
        * Required. The patch deployment to Update.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPatchDeployment() { if (patchDeploymentBuilder_ == null) { @@ -14830,48 +17590,66 @@ public Builder clearPatchDeployment() { return this; } /** + * + * *
        * Required. The patch deployment to Update.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder getPatchDeploymentBuilder() { - + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder + getPatchDeploymentBuilder() { + onChanged(); return getPatchDeploymentFieldBuilder().getBuilder(); } /** + * + * *
        * Required. The patch deployment to Update.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder() { + public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder + getPatchDeploymentOrBuilder() { if (patchDeploymentBuilder_ != null) { return patchDeploymentBuilder_.getMessageOrBuilder(); } else { - return patchDeployment_ == null ? - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; + return patchDeployment_ == null + ? com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.getDefaultInstance() + : patchDeployment_; } } /** + * + * *
        * Required. The patch deployment to Update.
        * 
* - * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder> getPatchDeploymentFieldBuilder() { if (patchDeploymentBuilder_ == null) { - patchDeploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder>( - getPatchDeployment(), - getParentForChildren(), - isClean()); + patchDeploymentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeployment.Builder, + com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder>( + getPatchDeployment(), getParentForChildren(), isClean()); patchDeployment_ = null; } return patchDeploymentBuilder_; @@ -14879,42 +17657,58 @@ public com.google.cloud.osconfig.v1.PatchDeployments.PatchDeploymentOrBuilder ge private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
        * Optional. Field mask that controls which fields of the patch deployment
        * should be updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
        * Optional. Field mask that controls which fields of the patch deployment
        * should be updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
        * Optional. Field mask that controls which fields of the patch deployment
        * should be updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -14930,15 +17724,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
        * Optional. Field mask that controls which fields of the patch deployment
        * should be updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -14949,18 +17745,23 @@ public Builder setUpdateMask( return this; } /** + * + * *
        * Optional. Field mask that controls which fields of the patch deployment
        * should be updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_) + .mergeFrom(value) + .buildPartial(); } else { updateMask_ = value; } @@ -14972,12 +17773,15 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
        * Optional. Field mask that controls which fields of the patch deployment
        * should be updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -14991,55 +17795,69 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
        * Optional. Field mask that controls which fields of the patch deployment
        * should be updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Field mask that controls which fields of the patch deployment
        * should be updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
        * Optional. Field mask that controls which fields of the patch deployment
        * should be updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -15052,30 +17870,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.UpdatePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.UpdatePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdatePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdatePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15087,70 +17908,83 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.UpdatePatchDeploymentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PausePatchDeploymentRequestOrBuilder extends + public interface PausePatchDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.PausePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
    * A request message for pausing a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.PausePatchDeploymentRequest} */ - public static final class PausePatchDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PausePatchDeploymentRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.PausePatchDeploymentRequest) PausePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PausePatchDeploymentRequest.newBuilder() to construct. private PausePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PausePatchDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PausePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PausePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -15169,19 +18003,20 @@ private PausePatchDeploymentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -15189,35 +18024,43 @@ private PausePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.class, + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -15226,30 +18069,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -15258,6 +18103,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15269,8 +18115,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -15294,15 +18139,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest other = (com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest other = + (com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -15321,88 +18167,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -15412,44 +18271,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for pausing a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.PausePatchDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.PausePatchDeploymentRequest) com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.class, + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -15459,19 +18324,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest build() { - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest result = buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -15479,8 +18347,10 @@ public com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest result = new com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest + buildPartial() { + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest result = + new com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -15490,46 +18360,54 @@ public com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest)other); + if (other + instanceof com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest other) { - if (other == com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest other) { + if (other + == com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -15549,11 +18427,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parsedMessage = null; + com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -15565,19 +18446,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -15586,21 +18471,24 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -15608,61 +18496,75 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -15675,30 +18577,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.PausePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.PausePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PausePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PausePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PausePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PausePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15710,70 +18615,84 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.PausePatchDeploymentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ResumePatchDeploymentRequestOrBuilder extends + public interface ResumePatchDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ResumePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
    * A request message for resuming a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ResumePatchDeploymentRequest} */ - public static final class ResumePatchDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ResumePatchDeploymentRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ResumePatchDeploymentRequest) ResumePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResumePatchDeploymentRequest.newBuilder() to construct. - private ResumePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ResumePatchDeploymentRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResumePatchDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResumePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResumePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -15792,19 +18711,20 @@ private ResumePatchDeploymentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -15812,35 +18732,43 @@ private ResumePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.class, + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -15849,30 +18777,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -15881,6 +18811,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15892,8 +18823,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -15917,15 +18847,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest other = (com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest other = + (com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -15944,88 +18875,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest 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.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest + 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.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -16035,44 +18979,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for resuming a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.ResumePatchDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ResumePatchDeploymentRequest) com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.class, com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.class, + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -16082,19 +19032,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchDeployments + .internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest build() { - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest result = buildPartial(); + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -16102,8 +19055,10 @@ public com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentReques } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest buildPartial() { - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest result = new com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest + buildPartial() { + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest result = + new com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -16113,46 +19068,54 @@ public com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest)other); + if (other + instanceof com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest other) { - if (other == com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest other) { + if (other + == com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -16172,11 +19135,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parsedMessage = null; + com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -16188,19 +19154,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -16209,21 +19179,24 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -16231,61 +19204,75 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16298,30 +19285,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ResumePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ResumePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16333,285 +19323,321 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchDeployments.ResumePatchDeploymentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_PatchDeployment_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_OneTimeSchedule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_RecurringSchedule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_WeeklySchedule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_MonthlySchedule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { java.lang.String[] descriptorData = { - "\n0google/cloud/osconfig/v1/patch_deploym" + - "ents.proto\022\030google.cloud.osconfig.v1\032\037go" + - "ogle/api/field_behavior.proto\032\031google/ap" + - "i/resource.proto\032)google/cloud/osconfig/" + - "v1/patch_jobs.proto\032\036google/protobuf/dur" + - "ation.proto\032 google/protobuf/field_mask." + - "proto\032\037google/protobuf/timestamp.proto\032\032" + - "google/type/datetime.proto\032\033google/type/" + - "dayofweek.proto\032\033google/type/timeofday.p" + - "roto\"\354\006\n\017PatchDeployment\022\014\n\004name\030\001 \001(\t\022\030" + - "\n\013description\030\002 \001(\tB\003\340A\001\022K\n\017instance_fil" + - "ter\030\003 \001(\0132-.google.cloud.osconfig.v1.Pat" + - "chInstanceFilterB\003\340A\002\022@\n\014patch_config\030\004 " + - "\001(\0132%.google.cloud.osconfig.v1.PatchConf" + - "igB\003\340A\001\0220\n\010duration\030\005 \001(\0132\031.google.proto" + - "buf.DurationB\003\340A\001\022K\n\021one_time_schedule\030\006" + - " \001(\0132).google.cloud.osconfig.v1.OneTimeS" + - "cheduleB\003\340A\002H\000\022N\n\022recurring_schedule\030\007 \001" + - "(\0132+.google.cloud.osconfig.v1.RecurringS" + - "cheduleB\003\340A\002H\000\0224\n\013create_time\030\010 \001(\0132\032.go" + - "ogle.protobuf.TimestampB\003\340A\003\0224\n\013update_t" + - "ime\030\t \001(\0132\032.google.protobuf.TimestampB\003\340" + - "A\003\022:\n\021last_execute_time\030\n \001(\0132\032.google.p" + - "rotobuf.TimestampB\003\340A\003\022<\n\007rollout\030\013 \001(\0132" + - "&.google.cloud.osconfig.v1.PatchRolloutB" + - "\003\340A\001\022C\n\005state\030\014 \001(\0162/.google.cloud.oscon" + - "fig.v1.PatchDeployment.StateB\003\340A\003\"6\n\005Sta" + - "te\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\n\n" + - "\006PAUSED\020\002:d\352Aa\n\'osconfig.googleapis.com/" + - "PatchDeployment\0226projects/{project}/patc" + - "hDeployments/{patch_deployment}B\n\n\010sched" + - "ule\"H\n\017OneTimeSchedule\0225\n\014execute_time\030\001" + - " \001(\0132\032.google.protobuf.TimestampB\003\340A\002\"\206\005" + - "\n\021RecurringSchedule\022-\n\ttime_zone\030\001 \001(\0132\025" + - ".google.type.TimeZoneB\003\340A\002\0223\n\nstart_time" + - "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\001\022" + - "1\n\010end_time\030\003 \001(\0132\032.google.protobuf.Time" + - "stampB\003\340A\001\0220\n\013time_of_day\030\004 \001(\0132\026.google" + - ".type.TimeOfDayB\003\340A\002\022M\n\tfrequency\030\005 \001(\0162" + - "5.google.cloud.osconfig.v1.RecurringSche" + - "dule.FrequencyB\003\340A\002\022?\n\006weekly\030\006 \001(\0132(.go" + - "ogle.cloud.osconfig.v1.WeeklyScheduleB\003\340" + - "A\002H\000\022A\n\007monthly\030\007 \001(\0132).google.cloud.osc" + - "onfig.v1.MonthlyScheduleB\003\340A\002H\000\022:\n\021last_" + - "execute_time\030\t \001(\0132\032.google.protobuf.Tim" + - "estampB\003\340A\003\022:\n\021next_execute_time\030\n \001(\0132\032" + - ".google.protobuf.TimestampB\003\340A\003\"J\n\tFrequ" + - "ency\022\031\n\025FREQUENCY_UNSPECIFIED\020\000\022\n\n\006WEEKL" + - "Y\020\001\022\013\n\007MONTHLY\020\002\022\t\n\005DAILY\020\003B\021\n\017schedule_" + - "config\"B\n\016WeeklySchedule\0220\n\013day_of_week\030" + - "\001 \001(\0162\026.google.type.DayOfWeekB\003\340A\002\"\207\001\n\017M" + - "onthlySchedule\022J\n\021week_day_of_month\030\001 \001(" + - "\0132(.google.cloud.osconfig.v1.WeekDayOfMo" + - "nthB\003\340A\002H\000\022\030\n\tmonth_day\030\002 \001(\005B\003\340A\002H\000B\016\n\014" + - "day_of_month\"v\n\016WeekDayOfMonth\022\031\n\014week_o" + - "rdinal\030\001 \001(\005B\003\340A\002\0220\n\013day_of_week\030\002 \001(\0162\026" + - ".google.type.DayOfWeekB\003\340A\002\022\027\n\nday_offse" + - "t\030\003 \001(\005B\003\340A\001\"\317\001\n\034CreatePatchDeploymentRe" + - "quest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudreso" + - "urcemanager.googleapis.com/Project\022 \n\023pa" + - "tch_deployment_id\030\002 \001(\tB\003\340A\002\022H\n\020patch_de" + - "ployment\030\003 \001(\0132).google.cloud.osconfig.v" + - "1.PatchDeploymentB\003\340A\002\"Z\n\031GetPatchDeploy" + - "mentRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'oscon" + - "fig.googleapis.com/PatchDeployment\"\223\001\n\033L" + - "istPatchDeploymentsRequest\022C\n\006parent\030\001 \001" + - "(\tB3\340A\002\372A-\n+cloudresourcemanager.googlea" + - "pis.com/Project\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022" + - "\027\n\npage_token\030\003 \001(\tB\003\340A\001\"}\n\034ListPatchDep" + - "loymentsResponse\022D\n\021patch_deployments\030\001 " + - "\003(\0132).google.cloud.osconfig.v1.PatchDepl" + - "oyment\022\027\n\017next_page_token\030\002 \001(\t\"]\n\034Delet" + - "ePatchDeploymentRequest\022=\n\004name\030\001 \001(\tB/\340" + - "A\002\372A)\n\'osconfig.googleapis.com/PatchDepl" + - "oyment\"\236\001\n\034UpdatePatchDeploymentRequest\022" + - "H\n\020patch_deployment\030\001 \001(\0132).google.cloud" + - ".osconfig.v1.PatchDeploymentB\003\340A\002\0224\n\013upd" + - "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" + - "skB\003\340A\001\"\\\n\033PausePatchDeploymentRequest\022=" + - "\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'osconfig.googleapi" + - "s.com/PatchDeployment\"]\n\034ResumePatchDepl" + - "oymentRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'osc" + - "onfig.googleapis.com/PatchDeploymentB\306\001\n" + - "\034com.google.cloud.osconfig.v1B\020PatchDepl" + - "oymentsZ@google.golang.org/genproto/goog" + - "leapis/cloud/osconfig/v1;osconfig\252\002\030Goog" + - "le.Cloud.OsConfig.V1\312\002\030Google\\Cloud\\OsCo" + - "nfig\\V1\352\002\033Google::Cloud::OsConfig::V1b\006p" + - "roto3" + "\n0google/cloud/osconfig/v1/patch_deploym" + + "ents.proto\022\030google.cloud.osconfig.v1\032\037go" + + "ogle/api/field_behavior.proto\032\031google/ap" + + "i/resource.proto\032)google/cloud/osconfig/" + + "v1/patch_jobs.proto\032\036google/protobuf/dur" + + "ation.proto\032 google/protobuf/field_mask." + + "proto\032\037google/protobuf/timestamp.proto\032\032" + + "google/type/datetime.proto\032\033google/type/" + + "dayofweek.proto\032\033google/type/timeofday.p" + + "roto\"\354\006\n\017PatchDeployment\022\014\n\004name\030\001 \001(\t\022\030" + + "\n\013description\030\002 \001(\tB\003\340A\001\022K\n\017instance_fil" + + "ter\030\003 \001(\0132-.google.cloud.osconfig.v1.Pat" + + "chInstanceFilterB\003\340A\002\022@\n\014patch_config\030\004 " + + "\001(\0132%.google.cloud.osconfig.v1.PatchConf" + + "igB\003\340A\001\0220\n\010duration\030\005 \001(\0132\031.google.proto" + + "buf.DurationB\003\340A\001\022K\n\021one_time_schedule\030\006" + + " \001(\0132).google.cloud.osconfig.v1.OneTimeS" + + "cheduleB\003\340A\002H\000\022N\n\022recurring_schedule\030\007 \001" + + "(\0132+.google.cloud.osconfig.v1.RecurringS" + + "cheduleB\003\340A\002H\000\0224\n\013create_time\030\010 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\003\340A\003\0224\n\013update_t" + + "ime\030\t \001(\0132\032.google.protobuf.TimestampB\003\340" + + "A\003\022:\n\021last_execute_time\030\n \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\022<\n\007rollout\030\013 \001(\0132" + + "&.google.cloud.osconfig.v1.PatchRolloutB" + + "\003\340A\001\022C\n\005state\030\014 \001(\0162/.google.cloud.oscon" + + "fig.v1.PatchDeployment.StateB\003\340A\003\"6\n\005Sta" + + "te\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\n\n" + + "\006PAUSED\020\002:d\352Aa\n\'osconfig.googleapis.com/" + + "PatchDeployment\0226projects/{project}/patc" + + "hDeployments/{patch_deployment}B\n\n\010sched" + + "ule\"H\n\017OneTimeSchedule\0225\n\014execute_time\030\001" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\002\"\206\005" + + "\n\021RecurringSchedule\022-\n\ttime_zone\030\001 \001(\0132\025" + + ".google.type.TimeZoneB\003\340A\002\0223\n\nstart_time" + + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\001\022" + + "1\n\010end_time\030\003 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\001\0220\n\013time_of_day\030\004 \001(\0132\026.google" + + ".type.TimeOfDayB\003\340A\002\022M\n\tfrequency\030\005 \001(\0162" + + "5.google.cloud.osconfig.v1.RecurringSche" + + "dule.FrequencyB\003\340A\002\022?\n\006weekly\030\006 \001(\0132(.go" + + "ogle.cloud.osconfig.v1.WeeklyScheduleB\003\340" + + "A\002H\000\022A\n\007monthly\030\007 \001(\0132).google.cloud.osc" + + "onfig.v1.MonthlyScheduleB\003\340A\002H\000\022:\n\021last_" + + "execute_time\030\t \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\022:\n\021next_execute_time\030\n \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\003\"J\n\tFrequ" + + "ency\022\031\n\025FREQUENCY_UNSPECIFIED\020\000\022\n\n\006WEEKL" + + "Y\020\001\022\013\n\007MONTHLY\020\002\022\t\n\005DAILY\020\003B\021\n\017schedule_" + + "config\"B\n\016WeeklySchedule\0220\n\013day_of_week\030" + + "\001 \001(\0162\026.google.type.DayOfWeekB\003\340A\002\"\207\001\n\017M" + + "onthlySchedule\022J\n\021week_day_of_month\030\001 \001(" + + "\0132(.google.cloud.osconfig.v1.WeekDayOfMo" + + "nthB\003\340A\002H\000\022\030\n\tmonth_day\030\002 \001(\005B\003\340A\002H\000B\016\n\014" + + "day_of_month\"v\n\016WeekDayOfMonth\022\031\n\014week_o" + + "rdinal\030\001 \001(\005B\003\340A\002\0220\n\013day_of_week\030\002 \001(\0162\026" + + ".google.type.DayOfWeekB\003\340A\002\022\027\n\nday_offse" + + "t\030\003 \001(\005B\003\340A\001\"\317\001\n\034CreatePatchDeploymentRe" + + "quest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudreso" + + "urcemanager.googleapis.com/Project\022 \n\023pa" + + "tch_deployment_id\030\002 \001(\tB\003\340A\002\022H\n\020patch_de" + + "ployment\030\003 \001(\0132).google.cloud.osconfig.v" + + "1.PatchDeploymentB\003\340A\002\"Z\n\031GetPatchDeploy" + + "mentRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'oscon" + + "fig.googleapis.com/PatchDeployment\"\223\001\n\033L" + + "istPatchDeploymentsRequest\022C\n\006parent\030\001 \001" + + "(\tB3\340A\002\372A-\n+cloudresourcemanager.googlea" + + "pis.com/Project\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022" + + "\027\n\npage_token\030\003 \001(\tB\003\340A\001\"}\n\034ListPatchDep" + + "loymentsResponse\022D\n\021patch_deployments\030\001 " + + "\003(\0132).google.cloud.osconfig.v1.PatchDepl" + + "oyment\022\027\n\017next_page_token\030\002 \001(\t\"]\n\034Delet" + + "ePatchDeploymentRequest\022=\n\004name\030\001 \001(\tB/\340" + + "A\002\372A)\n\'osconfig.googleapis.com/PatchDepl" + + "oyment\"\236\001\n\034UpdatePatchDeploymentRequest\022" + + "H\n\020patch_deployment\030\001 \001(\0132).google.cloud" + + ".osconfig.v1.PatchDeploymentB\003\340A\002\0224\n\013upd" + + "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" + + "skB\003\340A\001\"\\\n\033PausePatchDeploymentRequest\022=" + + "\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'osconfig.googleapi" + + "s.com/PatchDeployment\"]\n\034ResumePatchDepl" + + "oymentRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'osc" + + "onfig.googleapis.com/PatchDeploymentB\306\001\n" + + "\034com.google.cloud.osconfig.v1B\020PatchDepl" + + "oymentsZ@google.golang.org/genproto/goog" + + "leapis/cloud/osconfig/v1;osconfig\252\002\030Goog" + + "le.Cloud.OsConfig.V1\312\002\030Google\\Cloud\\OsCo" + + "nfig\\V1\352\002\033Google::Cloud::OsConfig::V1b\006p" + + "roto3" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.osconfig.v1.PatchJobs.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.DateTimeProto.getDescriptor(), - com.google.type.DayOfWeekProto.getDescriptor(), - com.google.type.TimeOfDayProto.getDescriptor(), - }); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.osconfig.v1.PatchJobs.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.type.DateTimeProto.getDescriptor(), + com.google.type.DayOfWeekProto.getDescriptor(), + com.google.type.TimeOfDayProto.getDescriptor(), + }); internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1_PatchDeployment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor, - new java.lang.String[] { "Name", "Description", "InstanceFilter", "PatchConfig", "Duration", "OneTimeSchedule", "RecurringSchedule", "CreateTime", "UpdateTime", "LastExecuteTime", "Rollout", "State", "Schedule", }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1_PatchDeployment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_PatchDeployment_descriptor, + new java.lang.String[] { + "Name", + "Description", + "InstanceFilter", + "PatchConfig", + "Duration", + "OneTimeSchedule", + "RecurringSchedule", + "CreateTime", + "UpdateTime", + "LastExecuteTime", + "Rollout", + "State", + "Schedule", + }); internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1_OneTimeSchedule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor, - new java.lang.String[] { "ExecuteTime", }); + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1_OneTimeSchedule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_OneTimeSchedule_descriptor, + new java.lang.String[] { + "ExecuteTime", + }); internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1_RecurringSchedule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor, - new java.lang.String[] { "TimeZone", "StartTime", "EndTime", "TimeOfDay", "Frequency", "Weekly", "Monthly", "LastExecuteTime", "NextExecuteTime", "ScheduleConfig", }); + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1_RecurringSchedule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_RecurringSchedule_descriptor, + new java.lang.String[] { + "TimeZone", + "StartTime", + "EndTime", + "TimeOfDay", + "Frequency", + "Weekly", + "Monthly", + "LastExecuteTime", + "NextExecuteTime", + "ScheduleConfig", + }); internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1_WeeklySchedule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor, - new java.lang.String[] { "DayOfWeek", }); + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1_WeeklySchedule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_WeeklySchedule_descriptor, + new java.lang.String[] { + "DayOfWeek", + }); internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_osconfig_v1_MonthlySchedule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor, - new java.lang.String[] { "WeekDayOfMonth", "MonthDay", "DayOfMonth", }); + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_osconfig_v1_MonthlySchedule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_MonthlySchedule_descriptor, + new java.lang.String[] { + "WeekDayOfMonth", "MonthDay", "DayOfMonth", + }); internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor, - new java.lang.String[] { "WeekOrdinal", "DayOfWeek", "DayOffset", }); + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_WeekDayOfMonth_descriptor, + new java.lang.String[] { + "WeekOrdinal", "DayOfWeek", "DayOffset", + }); internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor, - new java.lang.String[] { "Parent", "PatchDeploymentId", "PatchDeployment", }); + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_CreatePatchDeploymentRequest_descriptor, + new java.lang.String[] { + "Parent", "PatchDeploymentId", "PatchDeployment", + }); internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor, - new java.lang.String[] { "Name", }); + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_GetPatchDeploymentRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor, - new java.lang.String[] { "PatchDeployments", "NextPageToken", }); + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListPatchDeploymentsResponse_descriptor, + new java.lang.String[] { + "PatchDeployments", "NextPageToken", + }); internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor, - new java.lang.String[] { "Name", }); + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_DeletePatchDeploymentRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor, - new java.lang.String[] { "PatchDeployment", "UpdateMask", }); + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_UpdatePatchDeploymentRequest_descriptor, + new java.lang.String[] { + "PatchDeployment", "UpdateMask", + }); internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor, - new java.lang.String[] { "Name", }); + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_PausePatchDeploymentRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor, - new java.lang.String[] { "Name", }); + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ResumePatchDeploymentRequest_descriptor, + new java.lang.String[] { + "Name", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.ResourceProto.resource); registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.osconfig.v1.PatchJobs.getDescriptor(); diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobName.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobName.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobs.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobs.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobs.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobs.java index 956f90c8..cd4e4ca6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobs.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobs.java @@ -1,3 +1,18 @@ +/* + * 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/osconfig/v1/patch_jobs.proto @@ -5,112 +20,148 @@ public final class PatchJobs { private PatchJobs() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } - public interface ExecutePatchJobRequestOrBuilder extends + + public interface ExecutePatchJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ExecutePatchJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The project in which to run this patch in the form `projects/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
      * Required. The project in which to run this patch in the form `projects/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * Required. Instances to patch, either explicitly or filtered by some
      * criteria such as zone or labels.
      * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceFilter field is set. */ boolean hasInstanceFilter(); /** + * + * *
      * Required. Instances to patch, either explicitly or filtered by some
      * criteria such as zone or labels.
      * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceFilter. */ com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFilter(); /** + * + * *
      * Required. Instances to patch, either explicitly or filtered by some
      * criteria such as zone or labels.
      * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder(); + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder + getInstanceFilterOrBuilder(); /** + * + * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
      * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 4; + * * @return Whether the patchConfig field is set. */ boolean hasPatchConfig(); /** + * + * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
      * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 4; + * * @return The patchConfig. */ com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getPatchConfig(); /** + * + * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
@@ -121,26 +172,34 @@ public interface ExecutePatchJobRequestOrBuilder extends
     com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder();
 
     /**
+     *
+     *
      * 
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
      * 
* * .google.protobuf.Duration duration = 5; + * * @return Whether the duration field is set. */ boolean hasDuration(); /** + * + * *
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
      * 
* * .google.protobuf.Duration duration = 5; + * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** + * + * *
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
@@ -151,55 +210,71 @@ public interface ExecutePatchJobRequestOrBuilder extends
     com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
     /**
+     *
+     *
      * 
      * If this patch is a dry-run only, instances are contacted but
      * will do nothing.
      * 
* * bool dry_run = 6; + * * @return The dryRun. */ boolean getDryRun(); /** + * + * *
      * Display name for this patch job. This does not have to be unique.
      * 
* * string display_name = 8; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
      * Display name for this patch job. This does not have to be unique.
      * 
* * string display_name = 8; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
      * Rollout strategy of the patch job.
      * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 9; + * * @return Whether the rollout field is set. */ boolean hasRollout(); /** + * + * *
      * Rollout strategy of the patch job.
      * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 9; + * * @return The rollout. */ com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getRollout(); /** + * + * *
      * Rollout strategy of the patch job.
      * 
@@ -209,6 +284,8 @@ public interface ExecutePatchJobRequestOrBuilder extends com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder(); } /** + * + * *
    * A request message to initiate patching across Compute Engine
    * instances.
@@ -216,15 +293,16 @@ public interface ExecutePatchJobRequestOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1.ExecutePatchJobRequest}
    */
-  public static final class ExecutePatchJobRequest extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ExecutePatchJobRequest extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ExecutePatchJobRequest)
       ExecutePatchJobRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ExecutePatchJobRequest.newBuilder() to construct.
     private ExecutePatchJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ExecutePatchJobRequest() {
       parent_ = "";
       description_ = "";
@@ -233,16 +311,15 @@ private ExecutePatchJobRequest() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ExecutePatchJobRequest();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private ExecutePatchJobRequest(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -261,88 +338,106 @@ private ExecutePatchJobRequest(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              parent_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
-            }
-            case 34: {
-              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder subBuilder = null;
-              if (patchConfig_ != null) {
-                subBuilder = patchConfig_.toBuilder();
-              }
-              patchConfig_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(patchConfig_);
-                patchConfig_ = subBuilder.buildPartial();
+                parent_ = s;
+                break;
               }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              break;
-            }
-            case 42: {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (duration_ != null) {
-                subBuilder = duration_.toBuilder();
-              }
-              duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(duration_);
-                duration_ = subBuilder.buildPartial();
+                description_ = s;
+                break;
               }
+            case 34:
+              {
+                com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder subBuilder = null;
+                if (patchConfig_ != null) {
+                  subBuilder = patchConfig_.toBuilder();
+                }
+                patchConfig_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(patchConfig_);
+                  patchConfig_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 48: {
+                break;
+              }
+            case 42:
+              {
+                com.google.protobuf.Duration.Builder subBuilder = null;
+                if (duration_ != null) {
+                  subBuilder = duration_.toBuilder();
+                }
+                duration_ =
+                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(duration_);
+                  duration_ = subBuilder.buildPartial();
+                }
 
-              dryRun_ = input.readBool();
-              break;
-            }
-            case 58: {
-              com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder subBuilder = null;
-              if (instanceFilter_ != null) {
-                subBuilder = instanceFilter_.toBuilder();
+                break;
               }
-              instanceFilter_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(instanceFilter_);
-                instanceFilter_ = subBuilder.buildPartial();
+            case 48:
+              {
+                dryRun_ = input.readBool();
+                break;
               }
+            case 58:
+              {
+                com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder subBuilder =
+                    null;
+                if (instanceFilter_ != null) {
+                  subBuilder = instanceFilter_.toBuilder();
+                }
+                instanceFilter_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(instanceFilter_);
+                  instanceFilter_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 66: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              displayName_ = s;
-              break;
-            }
-            case 74: {
-              com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder subBuilder = null;
-              if (rollout_ != null) {
-                subBuilder = rollout_.toBuilder();
+                break;
               }
-              rollout_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rollout_);
-                rollout_ = subBuilder.buildPartial();
+            case 66:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+
+                displayName_ = s;
+                break;
               }
+            case 74:
+              {
+                com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder subBuilder = null;
+                if (rollout_ != null) {
+                  subBuilder = rollout_.toBuilder();
+                }
+                rollout_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(rollout_);
+                  rollout_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -350,34 +445,41 @@ private ExecutePatchJobRequest(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchJobs
+          .internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchJobs
+          .internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.class, com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.Builder.class);
+              com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.class,
+              com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.Builder.class);
     }
 
     public static final int PARENT_FIELD_NUMBER = 1;
     private volatile java.lang.Object parent_;
     /**
+     *
+     *
      * 
      * Required. The project in which to run this patch in the form `projects/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -386,29 +488,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
      * Required. The project in which to run this patch in the form `projects/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -419,12 +523,15 @@ public java.lang.String getParent() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -433,30 +540,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -467,12 +574,17 @@ public java.lang.String getDescription() { public static final int INSTANCE_FILTER_FIELD_NUMBER = 7; private com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter instanceFilter_; /** + * + * *
      * Required. Instances to patch, either explicitly or filtered by some
      * criteria such as zone or labels.
      * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceFilter field is set. */ @java.lang.Override @@ -480,40 +592,55 @@ public boolean hasInstanceFilter() { return instanceFilter_ != null; } /** + * + * *
      * Required. Instances to patch, either explicitly or filtered by some
      * criteria such as zone or labels.
      * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceFilter. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFilter() { - return instanceFilter_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() + : instanceFilter_; } /** + * + * *
      * Required. Instances to patch, either explicitly or filtered by some
      * criteria such as zone or labels.
      * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder + getInstanceFilterOrBuilder() { return getInstanceFilter(); } public static final int PATCH_CONFIG_FIELD_NUMBER = 4; private com.google.cloud.osconfig.v1.PatchJobs.PatchConfig patchConfig_; /** + * + * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
      * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 4; + * * @return Whether the patchConfig field is set. */ @java.lang.Override @@ -521,19 +648,26 @@ public boolean hasPatchConfig() { return patchConfig_ != null; } /** + * + * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
      * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 4; + * * @return The patchConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getPatchConfig() { - return patchConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; + return patchConfig_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() + : patchConfig_; } /** + * + * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
@@ -549,12 +683,15 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi
     public static final int DURATION_FIELD_NUMBER = 5;
     private com.google.protobuf.Duration duration_;
     /**
+     *
+     *
      * 
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
      * 
* * .google.protobuf.Duration duration = 5; + * * @return Whether the duration field is set. */ @java.lang.Override @@ -562,12 +699,15 @@ public boolean hasDuration() { return duration_ != null; } /** + * + * *
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
      * 
* * .google.protobuf.Duration duration = 5; + * * @return The duration. */ @java.lang.Override @@ -575,6 +715,8 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** + * + * *
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
@@ -590,12 +732,15 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
     public static final int DRY_RUN_FIELD_NUMBER = 6;
     private boolean dryRun_;
     /**
+     *
+     *
      * 
      * If this patch is a dry-run only, instances are contacted but
      * will do nothing.
      * 
* * bool dry_run = 6; + * * @return The dryRun. */ @java.lang.Override @@ -606,11 +751,14 @@ public boolean getDryRun() { public static final int DISPLAY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object displayName_; /** + * + * *
      * Display name for this patch job. This does not have to be unique.
      * 
* * string display_name = 8; + * * @return The displayName. */ @java.lang.Override @@ -619,29 +767,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
      * Display name for this patch job. This does not have to be unique.
      * 
* * string display_name = 8; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -652,11 +800,14 @@ public java.lang.String getDisplayName() { public static final int ROLLOUT_FIELD_NUMBER = 9; private com.google.cloud.osconfig.v1.PatchJobs.PatchRollout rollout_; /** + * + * *
      * Rollout strategy of the patch job.
      * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 9; + * * @return Whether the rollout field is set. */ @java.lang.Override @@ -664,18 +815,25 @@ public boolean hasRollout() { return rollout_ != null; } /** + * + * *
      * Rollout strategy of the patch job.
      * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 9; + * * @return The rollout. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getRollout() { - return rollout_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() + : rollout_; } /** + * + * *
      * Rollout strategy of the patch job.
      * 
@@ -688,6 +846,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -699,8 +858,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -741,27 +899,22 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (patchConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getPatchConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPatchConfig()); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDuration()); } if (dryRun_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, dryRun_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, dryRun_); } if (instanceFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getInstanceFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getInstanceFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, displayName_); } if (rollout_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getRollout()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getRollout()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -771,40 +924,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest other = (com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest) obj; + com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest other = + (com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasInstanceFilter() != other.hasInstanceFilter()) return false; if (hasInstanceFilter()) { - if (!getInstanceFilter() - .equals(other.getInstanceFilter())) return false; + if (!getInstanceFilter().equals(other.getInstanceFilter())) return false; } if (hasPatchConfig() != other.hasPatchConfig()) return false; if (hasPatchConfig()) { - if (!getPatchConfig() - .equals(other.getPatchConfig())) return false; + if (!getPatchConfig().equals(other.getPatchConfig())) return false; } if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration() - .equals(other.getDuration())) return false; + if (!getDuration().equals(other.getDuration())) return false; } - if (getDryRun() - != other.getDryRun()) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (getDryRun() != other.getDryRun()) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (hasRollout() != other.hasRollout()) return false; if (hasRollout()) { - if (!getRollout() - .equals(other.getRollout())) return false; + if (!getRollout().equals(other.getRollout())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -834,8 +980,7 @@ public int hashCode() { hash = (53 * hash) + getDuration().hashCode(); } hash = (37 * hash) + DRY_RUN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDryRun()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDryRun()); hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; hash = (53 * hash) + getDisplayName().hashCode(); if (hasRollout()) { @@ -848,87 +993,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest 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.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -938,6 +1090,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message to initiate patching across Compute Engine
      * instances.
@@ -945,21 +1099,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.ExecutePatchJobRequest}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ExecutePatchJobRequest)
         com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequestOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.class, com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.class,
+                com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.newBuilder()
@@ -967,16 +1124,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1016,13 +1172,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest
+          getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.getDefaultInstance();
       }
 
@@ -1037,7 +1194,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest buildPartial() {
-        com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest result = new com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest(this);
+        com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest result =
+            new com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest(this);
         result.parent_ = parent_;
         result.description_ = description_;
         if (instanceFilterBuilder_ == null) {
@@ -1070,46 +1228,52 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest buildPartia
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchJobs.ExecutePatchJobRequest) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest other) {
-        if (other == com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest other) {
+        if (other
+            == com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest.getDefaultInstance())
+          return this;
         if (!other.getParent().isEmpty()) {
           parent_ = other.parent_;
           onChanged();
@@ -1156,7 +1320,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1168,18 +1334,22 @@ public Builder mergeFrom(
 
       private java.lang.Object parent_ = "";
       /**
+       *
+       *
        * 
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1188,20 +1358,23 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1209,54 +1382,67 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1264,19 +1450,21 @@ public Builder setParentBytes( private java.lang.Object description_ = ""; /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1285,21 +1473,22 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1307,102 +1496,129 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - description_ = value; - onChanged(); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + description_ = value; + onChanged(); return this; } private com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter instanceFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> instanceFilterBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> + instanceFilterBuilder_; /** + * + * *
        * Required. Instances to patch, either explicitly or filtered by some
        * criteria such as zone or labels.
        * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceFilter field is set. */ public boolean hasInstanceFilter() { return instanceFilterBuilder_ != null || instanceFilter_ != null; } /** + * + * *
        * Required. Instances to patch, either explicitly or filtered by some
        * criteria such as zone or labels.
        * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceFilter. */ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFilter() { if (instanceFilterBuilder_ == null) { - return instanceFilter_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() + : instanceFilter_; } else { return instanceFilterBuilder_.getMessage(); } } /** + * + * *
        * Required. Instances to patch, either explicitly or filtered by some
        * criteria such as zone or labels.
        * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInstanceFilter(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { + public Builder setInstanceFilter( + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1416,12 +1632,16 @@ public Builder setInstanceFilter(com.google.cloud.osconfig.v1.PatchJobs.PatchIns return this; } /** + * + * *
        * Required. Instances to patch, either explicitly or filtered by some
        * criteria such as zone or labels.
        * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstanceFilter( com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder builderForValue) { @@ -1435,18 +1655,26 @@ public Builder setInstanceFilter( return this; } /** + * + * *
        * Required. Instances to patch, either explicitly or filtered by some
        * criteria such as zone or labels.
        * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { + public Builder mergeInstanceFilter( + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (instanceFilter_ != null) { instanceFilter_ = - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.newBuilder(instanceFilter_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.newBuilder( + instanceFilter_) + .mergeFrom(value) + .buildPartial(); } else { instanceFilter_ = value; } @@ -1458,12 +1686,16 @@ public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1.PatchJobs.PatchI return this; } /** + * + * *
        * Required. Instances to patch, either explicitly or filtered by some
        * criteria such as zone or labels.
        * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstanceFilter() { if (instanceFilterBuilder_ == null) { @@ -1477,51 +1709,69 @@ public Builder clearInstanceFilter() { return this; } /** + * + * *
        * Required. Instances to patch, either explicitly or filtered by some
        * criteria such as zone or labels.
        * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder() { - + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder + getInstanceFilterBuilder() { + onChanged(); return getInstanceFilterFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Instances to patch, either explicitly or filtered by some
        * criteria such as zone or labels.
        * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder + getInstanceFilterOrBuilder() { if (instanceFilterBuilder_ != null) { return instanceFilterBuilder_.getMessageOrBuilder(); } else { - return instanceFilter_ == null ? - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() + : instanceFilter_; } } /** + * + * *
        * Required. Instances to patch, either explicitly or filtered by some
        * criteria such as zone or labels.
        * 
* - * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> getInstanceFilterFieldBuilder() { if (instanceFilterBuilder_ == null) { - instanceFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder>( - getInstanceFilter(), - getParentForChildren(), - isClean()); + instanceFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder>( + getInstanceFilter(), getParentForChildren(), isClean()); instanceFilter_ = null; } return instanceFilterBuilder_; @@ -1529,36 +1779,49 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getIn private com.google.cloud.osconfig.v1.PatchJobs.PatchConfig patchConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> patchConfigBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> + patchConfigBuilder_; /** + * + * *
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
        * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 4; + * * @return Whether the patchConfig field is set. */ public boolean hasPatchConfig() { return patchConfigBuilder_ != null || patchConfig_ != null; } /** + * + * *
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
        * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 4; + * * @return The patchConfig. */ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getPatchConfig() { if (patchConfigBuilder_ == null) { - return patchConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; + return patchConfig_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() + : patchConfig_; } else { return patchConfigBuilder_.getMessage(); } } /** + * + * *
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1580,6 +1843,8 @@ public Builder setPatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig
         return this;
       }
       /**
+       *
+       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1599,6 +1864,8 @@ public Builder setPatchConfig(
         return this;
       }
       /**
+       *
+       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1610,7 +1877,9 @@ public Builder mergePatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConf
         if (patchConfigBuilder_ == null) {
           if (patchConfig_ != null) {
             patchConfig_ =
-              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.newBuilder(patchConfig_).mergeFrom(value).buildPartial();
+                com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.newBuilder(patchConfig_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             patchConfig_ = value;
           }
@@ -1622,6 +1891,8 @@ public Builder mergePatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConf
         return this;
       }
       /**
+       *
+       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1641,6 +1912,8 @@ public Builder clearPatchConfig() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1649,11 +1922,13 @@ public Builder clearPatchConfig() {
        * .google.cloud.osconfig.v1.PatchConfig patch_config = 4;
        */
       public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder getPatchConfigBuilder() {
-        
+
         onChanged();
         return getPatchConfigFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1665,11 +1940,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi
         if (patchConfigBuilder_ != null) {
           return patchConfigBuilder_.getMessageOrBuilder();
         } else {
-          return patchConfig_ == null ?
-              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_;
+          return patchConfig_ == null
+              ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance()
+              : patchConfig_;
         }
       }
       /**
+       *
+       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1678,14 +1956,17 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi
        * .google.cloud.osconfig.v1.PatchConfig patch_config = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> 
+              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig,
+              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder,
+              com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder>
           getPatchConfigFieldBuilder() {
         if (patchConfigBuilder_ == null) {
-          patchConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder>(
-                  getPatchConfig(),
-                  getParentForChildren(),
-                  isClean());
+          patchConfigBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1.PatchJobs.PatchConfig,
+                  com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder,
+                  com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder>(
+                  getPatchConfig(), getParentForChildren(), isClean());
           patchConfig_ = null;
         }
         return patchConfigBuilder_;
@@ -1693,26 +1974,35 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi
 
       private com.google.protobuf.Duration duration_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_;
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
+          durationBuilder_;
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
        * 
* * .google.protobuf.Duration duration = 5; + * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** + * + * *
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
        * 
* * .google.protobuf.Duration duration = 5; + * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -1723,6 +2013,8 @@ public com.google.protobuf.Duration getDuration() { } } /** + * + * *
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -1744,6 +2036,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -1751,8 +2045,7 @@ public Builder setDuration(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration duration = 5;
        */
-      public Builder setDuration(
-          com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
         if (durationBuilder_ == null) {
           duration_ = builderForValue.build();
           onChanged();
@@ -1763,6 +2056,8 @@ public Builder setDuration(
         return this;
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -1774,7 +2069,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
         if (durationBuilder_ == null) {
           if (duration_ != null) {
             duration_ =
-              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
           } else {
             duration_ = value;
           }
@@ -1786,6 +2081,8 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -1805,6 +2102,8 @@ public Builder clearDuration() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -1813,11 +2112,13 @@ public Builder clearDuration() {
        * .google.protobuf.Duration duration = 5;
        */
       public com.google.protobuf.Duration.Builder getDurationBuilder() {
-        
+
         onChanged();
         return getDurationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -1829,11 +2130,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
         if (durationBuilder_ != null) {
           return durationBuilder_.getMessageOrBuilder();
         } else {
-          return duration_ == null ?
-              com.google.protobuf.Duration.getDefaultInstance() : duration_;
+          return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
         }
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -1842,27 +2144,33 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
        * .google.protobuf.Duration duration = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
           getDurationFieldBuilder() {
         if (durationBuilder_ == null) {
-          durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                  getDuration(),
-                  getParentForChildren(),
-                  isClean());
+          durationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
+                  getDuration(), getParentForChildren(), isClean());
           duration_ = null;
         }
         return durationBuilder_;
       }
 
-      private boolean dryRun_ ;
+      private boolean dryRun_;
       /**
+       *
+       *
        * 
        * If this patch is a dry-run only, instances are contacted but
        * will do nothing.
        * 
* * bool dry_run = 6; + * * @return The dryRun. */ @java.lang.Override @@ -1870,32 +2178,38 @@ public boolean getDryRun() { return dryRun_; } /** + * + * *
        * If this patch is a dry-run only, instances are contacted but
        * will do nothing.
        * 
* * bool dry_run = 6; + * * @param value The dryRun to set. * @return This builder for chaining. */ public Builder setDryRun(boolean value) { - + dryRun_ = value; onChanged(); return this; } /** + * + * *
        * If this patch is a dry-run only, instances are contacted but
        * will do nothing.
        * 
* * bool dry_run = 6; + * * @return This builder for chaining. */ public Builder clearDryRun() { - + dryRun_ = false; onChanged(); return this; @@ -1903,18 +2217,20 @@ public Builder clearDryRun() { private java.lang.Object displayName_ = ""; /** + * + * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1923,20 +2239,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1944,54 +2261,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1999,34 +2323,47 @@ public Builder setDisplayNameBytes( private com.google.cloud.osconfig.v1.PatchJobs.PatchRollout rollout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> rolloutBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> + rolloutBuilder_; /** + * + * *
        * Rollout strategy of the patch job.
        * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 9; + * * @return Whether the rollout field is set. */ public boolean hasRollout() { return rolloutBuilder_ != null || rollout_ != null; } /** + * + * *
        * Rollout strategy of the patch job.
        * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 9; + * * @return The rollout. */ public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getRollout() { if (rolloutBuilder_ == null) { - return rollout_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() + : rollout_; } else { return rolloutBuilder_.getMessage(); } } /** + * + * *
        * Rollout strategy of the patch job.
        * 
@@ -2047,6 +2384,8 @@ public Builder setRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout va return this; } /** + * + * *
        * Rollout strategy of the patch job.
        * 
@@ -2065,6 +2404,8 @@ public Builder setRollout( return this; } /** + * + * *
        * Rollout strategy of the patch job.
        * 
@@ -2075,7 +2416,9 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout if (rolloutBuilder_ == null) { if (rollout_ != null) { rollout_ = - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.newBuilder(rollout_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.newBuilder(rollout_) + .mergeFrom(value) + .buildPartial(); } else { rollout_ = value; } @@ -2087,6 +2430,8 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout return this; } /** + * + * *
        * Rollout strategy of the patch job.
        * 
@@ -2105,6 +2450,8 @@ public Builder clearRollout() { return this; } /** + * + * *
        * Rollout strategy of the patch job.
        * 
@@ -2112,11 +2459,13 @@ public Builder clearRollout() { * .google.cloud.osconfig.v1.PatchRollout rollout = 9; */ public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder getRolloutBuilder() { - + onChanged(); return getRolloutFieldBuilder().getBuilder(); } /** + * + * *
        * Rollout strategy of the patch job.
        * 
@@ -2127,11 +2476,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOr if (rolloutBuilder_ != null) { return rolloutBuilder_.getMessageOrBuilder(); } else { - return rollout_ == null ? - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() + : rollout_; } } /** + * + * *
        * Rollout strategy of the patch job.
        * 
@@ -2139,18 +2491,22 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOr * .google.cloud.osconfig.v1.PatchRollout rollout = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> getRolloutFieldBuilder() { if (rolloutBuilder_ == null) { - rolloutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder>( - getRollout(), - getParentForChildren(), - isClean()); + rolloutBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder>( + getRollout(), getParentForChildren(), isClean()); rollout_ = null; } return rolloutBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2163,30 +2519,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ExecutePatchJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ExecutePatchJobRequest) - private static final com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest(); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutePatchJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutePatchJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutePatchJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecutePatchJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2198,68 +2556,80 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.ExecutePatchJobRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GetPatchJobRequestOrBuilder extends + public interface GetPatchJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.GetPatchJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
    * Request to get an active or completed patch job.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetPatchJobRequest} */ - public static final class GetPatchJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GetPatchJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.GetPatchJobRequest) GetPatchJobRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPatchJobRequest.newBuilder() to construct. private GetPatchJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPatchJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPatchJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetPatchJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2278,19 +2648,20 @@ private GetPatchJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2298,34 +2669,41 @@ private GetPatchJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.class, com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.class, + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -2334,29 +2712,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2365,6 +2745,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2376,8 +2757,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -2401,15 +2781,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest other = (com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest) obj; + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest other = + (com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2429,87 +2809,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest 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.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2519,27 +2906,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request to get an active or completed patch job.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.GetPatchJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.GetPatchJobRequest) com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.class, com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.class, + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.newBuilder() @@ -2547,16 +2939,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2566,9 +2957,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor; } @java.lang.Override @@ -2587,7 +2978,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest result = new com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest(this); + com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest result = + new com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -2597,38 +2989,41 @@ public com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.GetPatchJobRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest) other); } else { super.mergeFrom(other); return this; @@ -2636,7 +3031,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest other) { - if (other == com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2660,7 +3056,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2672,18 +3069,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2692,20 +3093,23 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2713,58 +3117,72 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2777,12 +3195,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.GetPatchJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.GetPatchJobRequest) private static final com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest(); } @@ -2791,16 +3209,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPatchJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPatchJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPatchJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPatchJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2815,68 +3233,87 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.GetPatchJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListPatchJobInstanceDetailsRequestOrBuilder extends + public interface ListPatchJobInstanceDetailsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The parent for the instances are in the form of
      * `projects/*/patchJobs/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
      * Required. The parent for the instances are in the form of
      * `projects/*/patchJobs/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
      * The maximum number of instance details records to return.  Default is 100.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
      * A filter expression that filters results listed in the response. This
      * field supports filtering results by instance zone, name, state, or
@@ -2884,10 +3321,13 @@ public interface ListPatchJobInstanceDetailsRequestOrBuilder extends
      * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
      * A filter expression that filters results listed in the response. This
      * field supports filtering results by instance zone, name, state, or
@@ -2895,27 +3335,32 @@ public interface ListPatchJobInstanceDetailsRequestOrBuilder extends
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } /** + * + * *
    * Request to list details for all instances that are part of a patch job.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchJobInstanceDetailsRequest} */ - public static final class ListPatchJobInstanceDetailsRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListPatchJobInstanceDetailsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsRequest) ListPatchJobInstanceDetailsRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchJobInstanceDetailsRequest.newBuilder() to construct. - private ListPatchJobInstanceDetailsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListPatchJobInstanceDetailsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPatchJobInstanceDetailsRequest() { parent_ = ""; pageToken_ = ""; @@ -2924,16 +3369,15 @@ private ListPatchJobInstanceDetailsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPatchJobInstanceDetailsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPatchJobInstanceDetailsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2952,36 +3396,39 @@ private ListPatchJobInstanceDetailsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2989,35 +3436,43 @@ private ListPatchJobInstanceDetailsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.class, com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.class, + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
      * Required. The parent for the instances are in the form of
      * `projects/*/patchJobs/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -3026,30 +3481,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
      * Required. The parent for the instances are in the form of
      * `projects/*/patchJobs/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -3060,11 +3517,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
      * The maximum number of instance details records to return.  Default is 100.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -3075,12 +3535,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -3089,30 +3552,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -3123,6 +3586,8 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
      * A filter expression that filters results listed in the response. This
      * field supports filtering results by instance zone, name, state, or
@@ -3130,6 +3595,7 @@ public java.lang.String getPageToken() {
      * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -3138,14 +3604,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
      * A filter expression that filters results listed in the response. This
      * field supports filtering results by instance zone, name, state, or
@@ -3153,16 +3620,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -3171,6 +3637,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3182,8 +3649,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -3209,8 +3675,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -3226,21 +3691,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest other = (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest) obj; + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest other = + (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3265,88 +3728,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest + 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest + 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest + 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest + 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3356,44 +3832,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request to list details for all instances that are part of a patch job.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchJobInstanceDetailsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsRequest) com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.class, com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.class, + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3409,19 +3891,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest build() { - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest result = buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3429,8 +3914,10 @@ public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest result = new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest(this); + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest + buildPartial() { + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest result = + new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -3443,46 +3930,54 @@ public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest)other); + if (other + instanceof com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest other) { - if (other == com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest other) { + if (other + == com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -3513,11 +4008,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parsedMessage = null; + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3529,19 +4027,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
        * Required. The parent for the instances are in the form of
        * `projects/*/patchJobs/*`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -3550,21 +4052,24 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The parent for the instances are in the form of
        * `projects/*/patchJobs/*`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -3572,69 +4077,85 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The parent for the instances are in the form of
        * `projects/*/patchJobs/*`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
        * Required. The parent for the instances are in the form of
        * `projects/*/patchJobs/*`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
        * Required. The parent for the instances are in the form of
        * `projects/*/patchJobs/*`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
        * The maximum number of instance details records to return.  Default is 100.
        * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -3642,30 +4163,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
        * The maximum number of instance details records to return.  Default is 100.
        * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
        * The maximum number of instance details records to return.  Default is 100.
        * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -3673,19 +4200,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -3694,21 +4223,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -3716,57 +4246,64 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -3774,6 +4311,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -3781,13 +4320,13 @@ public Builder setPageTokenBytes(
        * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -3796,6 +4335,8 @@ public java.lang.String getFilter() { } } /** + * + * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -3803,15 +4344,14 @@ public java.lang.String getFilter() {
        * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -3819,6 +4359,8 @@ public java.lang.String getFilter() { } } /** + * + * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -3826,20 +4368,22 @@ public java.lang.String getFilter() {
        * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -3847,15 +4391,18 @@ public Builder setFilter(
        * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -3863,20 +4410,21 @@ public Builder clearFilter() {
        * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3889,30 +4437,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsRequest) - private static final com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest(); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchJobInstanceDetailsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchJobInstanceDetailsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchJobInstanceDetailsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchJobInstanceDetailsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3924,96 +4475,129 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListPatchJobInstanceDetailsResponseOrBuilder extends + public interface ListPatchJobInstanceDetailsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - java.util.List + java.util.List getPatchJobInstanceDetailsList(); /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails getPatchJobInstanceDetails(int index); + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails getPatchJobInstanceDetails( + int index); /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ int getPatchJobInstanceDetailsCount(); /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder> getPatchJobInstanceDetailsOrBuilderList(); /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder getPatchJobInstanceDetailsOrBuilder( - int index); + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder + getPatchJobInstanceDetailsOrBuilder(int index); /** + * + * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } /** + * + * *
    * A response message for listing the instances details for a patch job.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse} */ - public static final class ListPatchJobInstanceDetailsResponse extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListPatchJobInstanceDetailsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse) ListPatchJobInstanceDetailsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchJobInstanceDetailsResponse.newBuilder() to construct. - private ListPatchJobInstanceDetailsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListPatchJobInstanceDetailsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPatchJobInstanceDetailsResponse() { patchJobInstanceDetails_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -4021,16 +4605,15 @@ private ListPatchJobInstanceDetailsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPatchJobInstanceDetailsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPatchJobInstanceDetailsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4050,28 +4633,34 @@ private ListPatchJobInstanceDetailsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - patchJobInstanceDetails_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + patchJobInstanceDetails_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails>(); + mutable_bitField0_ |= 0x00000001; + } + patchJobInstanceDetails_.add( + input.readMessage( + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.parser(), + extensionRegistry)); + break; } - patchJobInstanceDetails_.add( - input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4079,97 +4668,128 @@ private ListPatchJobInstanceDetailsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - patchJobInstanceDetails_ = java.util.Collections.unmodifiableList(patchJobInstanceDetails_); + patchJobInstanceDetails_ = + java.util.Collections.unmodifiableList(patchJobInstanceDetails_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.class, com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.class, + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.Builder + .class); } public static final int PATCH_JOB_INSTANCE_DETAILS_FIELD_NUMBER = 1; - private java.util.List patchJobInstanceDetails_; + private java.util.List + patchJobInstanceDetails_; /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ @java.lang.Override - public java.util.List getPatchJobInstanceDetailsList() { + public java.util.List + getPatchJobInstanceDetailsList() { return patchJobInstanceDetails_; } /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder> getPatchJobInstanceDetailsOrBuilderList() { return patchJobInstanceDetails_; } /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ @java.lang.Override public int getPatchJobInstanceDetailsCount() { return patchJobInstanceDetails_.size(); } /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails getPatchJobInstanceDetails(int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails + getPatchJobInstanceDetails(int index) { return patchJobInstanceDetails_.get(index); } /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder getPatchJobInstanceDetailsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder + getPatchJobInstanceDetailsOrBuilder(int index) { return patchJobInstanceDetails_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -4178,29 +4798,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -4209,6 +4829,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4220,8 +4841,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < patchJobInstanceDetails_.size(); i++) { output.writeMessage(1, patchJobInstanceDetails_.get(i)); } @@ -4238,8 +4858,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < patchJobInstanceDetails_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, patchJobInstanceDetails_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, patchJobInstanceDetails_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -4252,17 +4873,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse other = (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse) obj; + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse other = + (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse) obj; - if (!getPatchJobInstanceDetailsList() - .equals(other.getPatchJobInstanceDetailsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPatchJobInstanceDetailsList().equals(other.getPatchJobInstanceDetailsList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4285,88 +4907,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4376,45 +5011,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A response message for listing the instances details for a patch job.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse) com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.class, com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.class, + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPatchJobInstanceDetailsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -4430,19 +5072,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.getDefaultInstance(); + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse build() { - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse result = buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4450,12 +5095,15 @@ public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRespons } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse result = new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse(this); + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + buildPartial() { + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse result = + new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse(this); int from_bitField0_ = bitField0_; if (patchJobInstanceDetailsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - patchJobInstanceDetails_ = java.util.Collections.unmodifiableList(patchJobInstanceDetails_); + patchJobInstanceDetails_ = + java.util.Collections.unmodifiableList(patchJobInstanceDetails_); bitField0_ = (bitField0_ & ~0x00000001); } result.patchJobInstanceDetails_ = patchJobInstanceDetails_; @@ -4471,46 +5119,54 @@ public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsRespons public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse)other); + if (other + instanceof com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse) { + return mergeFrom( + (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse other) { - if (other == com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse other) { + if (other + == com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + .getDefaultInstance()) return this; if (patchJobInstanceDetailsBuilder_ == null) { if (!other.patchJobInstanceDetails_.isEmpty()) { if (patchJobInstanceDetails_.isEmpty()) { @@ -4529,9 +5185,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInst patchJobInstanceDetailsBuilder_ = null; patchJobInstanceDetails_ = other.patchJobInstanceDetails_; bitField0_ = (bitField0_ & ~0x00000001); - patchJobInstanceDetailsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPatchJobInstanceDetailsFieldBuilder() : null; + patchJobInstanceDetailsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPatchJobInstanceDetailsFieldBuilder() + : null; } else { patchJobInstanceDetailsBuilder_.addAllMessages(other.patchJobInstanceDetails_); } @@ -4556,11 +5213,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parsedMessage = null; + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4569,28 +5229,41 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List patchJobInstanceDetails_ = - java.util.Collections.emptyList(); + private java.util.List + patchJobInstanceDetails_ = java.util.Collections.emptyList(); + private void ensurePatchJobInstanceDetailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - patchJobInstanceDetails_ = new java.util.ArrayList(patchJobInstanceDetails_); + patchJobInstanceDetails_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails>( + patchJobInstanceDetails_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder> patchJobInstanceDetailsBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails, + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder> + patchJobInstanceDetailsBuilder_; /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - public java.util.List getPatchJobInstanceDetailsList() { + public java.util.List + getPatchJobInstanceDetailsList() { if (patchJobInstanceDetailsBuilder_ == null) { return java.util.Collections.unmodifiableList(patchJobInstanceDetails_); } else { @@ -4598,11 +5271,15 @@ public java.util.List * A list of instance status. *
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ public int getPatchJobInstanceDetailsCount() { if (patchJobInstanceDetailsBuilder_ == null) { @@ -4612,13 +5289,18 @@ public int getPatchJobInstanceDetailsCount() { } } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails getPatchJobInstanceDetails(int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails + getPatchJobInstanceDetails(int index) { if (patchJobInstanceDetailsBuilder_ == null) { return patchJobInstanceDetails_.get(index); } else { @@ -4626,11 +5308,15 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails getPatchJo } } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ public Builder setPatchJobInstanceDetails( int index, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails value) { @@ -4647,14 +5333,19 @@ public Builder setPatchJobInstanceDetails( return this; } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ public Builder setPatchJobInstanceDetails( - int index, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder builderForValue) { if (patchJobInstanceDetailsBuilder_ == null) { ensurePatchJobInstanceDetailsIsMutable(); patchJobInstanceDetails_.set(index, builderForValue.build()); @@ -4665,13 +5356,18 @@ public Builder setPatchJobInstanceDetails( return this; } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - public Builder addPatchJobInstanceDetails(com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails value) { + public Builder addPatchJobInstanceDetails( + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails value) { if (patchJobInstanceDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4685,11 +5381,15 @@ public Builder addPatchJobInstanceDetails(com.google.cloud.osconfig.v1.PatchJobs return this; } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ public Builder addPatchJobInstanceDetails( int index, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails value) { @@ -4706,11 +5406,15 @@ public Builder addPatchJobInstanceDetails( return this; } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ public Builder addPatchJobInstanceDetails( com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder builderForValue) { @@ -4724,14 +5428,19 @@ public Builder addPatchJobInstanceDetails( return this; } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ public Builder addPatchJobInstanceDetails( - int index, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder builderForValue) { if (patchJobInstanceDetailsBuilder_ == null) { ensurePatchJobInstanceDetailsIsMutable(); patchJobInstanceDetails_.add(index, builderForValue.build()); @@ -4742,18 +5451,23 @@ public Builder addPatchJobInstanceDetails( return this; } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ public Builder addAllPatchJobInstanceDetails( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails> + values) { if (patchJobInstanceDetailsBuilder_ == null) { ensurePatchJobInstanceDetailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, patchJobInstanceDetails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, patchJobInstanceDetails_); onChanged(); } else { patchJobInstanceDetailsBuilder_.addAllMessages(values); @@ -4761,11 +5475,15 @@ public Builder addAllPatchJobInstanceDetails( return this; } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ public Builder clearPatchJobInstanceDetails() { if (patchJobInstanceDetailsBuilder_ == null) { @@ -4778,11 +5496,15 @@ public Builder clearPatchJobInstanceDetails() { return this; } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ public Builder removePatchJobInstanceDetails(int index) { if (patchJobInstanceDetailsBuilder_ == null) { @@ -4795,39 +5517,53 @@ public Builder removePatchJobInstanceDetails(int index) { return this; } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder getPatchJobInstanceDetailsBuilder( - int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder + getPatchJobInstanceDetailsBuilder(int index) { return getPatchJobInstanceDetailsFieldBuilder().getBuilder(index); } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder getPatchJobInstanceDetailsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder + getPatchJobInstanceDetailsOrBuilder(int index) { if (patchJobInstanceDetailsBuilder_ == null) { - return patchJobInstanceDetails_.get(index); } else { + return patchJobInstanceDetails_.get(index); + } else { return patchJobInstanceDetailsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - public java.util.List - getPatchJobInstanceDetailsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder> + getPatchJobInstanceDetailsOrBuilderList() { if (patchJobInstanceDetailsBuilder_ != null) { return patchJobInstanceDetailsBuilder_.getMessageOrBuilderList(); } else { @@ -4835,45 +5571,69 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder g } } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder addPatchJobInstanceDetailsBuilder() { - return getPatchJobInstanceDetailsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.getDefaultInstance()); + public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder + addPatchJobInstanceDetailsBuilder() { + return getPatchJobInstanceDetailsFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails + .getDefaultInstance()); } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder addPatchJobInstanceDetailsBuilder( - int index) { - return getPatchJobInstanceDetailsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.getDefaultInstance()); + public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder + addPatchJobInstanceDetailsBuilder(int index) { + return getPatchJobInstanceDetailsFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails + .getDefaultInstance()); } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - public java.util.List - getPatchJobInstanceDetailsBuilderList() { + public java.util.List + getPatchJobInstanceDetailsBuilderList() { return getPatchJobInstanceDetailsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails, + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder> getPatchJobInstanceDetailsFieldBuilder() { if (patchJobInstanceDetailsBuilder_ == null) { - patchJobInstanceDetailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder>( + patchJobInstanceDetailsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails, + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder>( patchJobInstanceDetails_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -4885,18 +5645,20 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder ad private java.lang.Object nextPageToken_ = ""; /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -4905,20 +5667,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -4926,58 +5689,66 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4990,30 +5761,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse) - private static final com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse(); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchJobInstanceDetailsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchJobInstanceDetailsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchJobInstanceDetailsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchJobInstanceDetailsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5025,108 +5799,135 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobInstanceDetailsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PatchJobInstanceDetailsOrBuilder extends + public interface PatchJobInstanceDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.PatchJobInstanceDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The instance name in the form `projects/*/zones/*/instances/*`
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * The instance name in the form `projects/*/zones/*/instances/*`
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * The unique identifier for the instance. This identifier is
      * defined by the server.
      * 
* * string instance_system_id = 2; + * * @return The instanceSystemId. */ java.lang.String getInstanceSystemId(); /** + * + * *
      * The unique identifier for the instance. This identifier is
      * defined by the server.
      * 
* * string instance_system_id = 2; + * * @return The bytes for instanceSystemId. */ - com.google.protobuf.ByteString - getInstanceSystemIdBytes(); + com.google.protobuf.ByteString getInstanceSystemIdBytes(); /** + * + * *
      * Current state of instance patch.
      * 
* * .google.cloud.osconfig.v1.Instance.PatchState state = 3; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
      * Current state of instance patch.
      * 
* * .google.cloud.osconfig.v1.Instance.PatchState state = 3; + * * @return The state. */ com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState getState(); /** + * + * *
      * If the patch fails, this field provides the reason.
      * 
* * string failure_reason = 4; + * * @return The failureReason. */ java.lang.String getFailureReason(); /** + * + * *
      * If the patch fails, this field provides the reason.
      * 
* * string failure_reason = 4; + * * @return The bytes for failureReason. */ - com.google.protobuf.ByteString - getFailureReasonBytes(); + com.google.protobuf.ByteString getFailureReasonBytes(); /** + * + * *
      * The number of times the agent that the agent attempts to apply the patch.
      * 
* * int64 attempt_count = 5; + * * @return The attemptCount. */ long getAttemptCount(); } /** + * + * *
    * Patch details for a VM instance. For more information about reviewing VM
    * instance details, see
@@ -5136,15 +5937,16 @@ public interface PatchJobInstanceDetailsOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1.PatchJobInstanceDetails}
    */
-  public static final class PatchJobInstanceDetails extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PatchJobInstanceDetails extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.PatchJobInstanceDetails)
       PatchJobInstanceDetailsOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PatchJobInstanceDetails.newBuilder() to construct.
     private PatchJobInstanceDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PatchJobInstanceDetails() {
       name_ = "";
       instanceSystemId_ = "";
@@ -5154,16 +5956,15 @@ private PatchJobInstanceDetails() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PatchJobInstanceDetails();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PatchJobInstanceDetails(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -5182,42 +5983,46 @@ private PatchJobInstanceDetails(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              name_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              instanceSystemId_ = s;
-              break;
-            }
-            case 24: {
-              int rawValue = input.readEnum();
+                name_ = s;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              state_ = rawValue;
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
+                instanceSystemId_ = s;
+                break;
+              }
+            case 24:
+              {
+                int rawValue = input.readEnum();
 
-              failureReason_ = s;
-              break;
-            }
-            case 40: {
+                state_ = rawValue;
+                break;
+              }
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              attemptCount_ = input.readInt64();
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                failureReason_ = s;
+                break;
+              }
+            case 40:
+              {
+                attemptCount_ = input.readInt64();
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5225,34 +6030,39 @@ private PatchJobInstanceDetails(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchJobs
+          .internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchJobs
+          .internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.class, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder.class);
+              com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.class,
+              com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder.class);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object name_;
     /**
+     *
+     *
      * 
      * The instance name in the form `projects/*/zones/*/instances/*`
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The name. */ @java.lang.Override @@ -5261,29 +6071,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * The instance name in the form `projects/*/zones/*/instances/*`
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -5294,12 +6104,15 @@ public java.lang.String getName() { public static final int INSTANCE_SYSTEM_ID_FIELD_NUMBER = 2; private volatile java.lang.Object instanceSystemId_; /** + * + * *
      * The unique identifier for the instance. This identifier is
      * defined by the server.
      * 
* * string instance_system_id = 2; + * * @return The instanceSystemId. */ @java.lang.Override @@ -5308,30 +6121,30 @@ public java.lang.String getInstanceSystemId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceSystemId_ = s; return s; } } /** + * + * *
      * The unique identifier for the instance. This identifier is
      * defined by the server.
      * 
* * string instance_system_id = 2; + * * @return The bytes for instanceSystemId. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceSystemIdBytes() { + public com.google.protobuf.ByteString getInstanceSystemIdBytes() { java.lang.Object ref = instanceSystemId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceSystemId_ = b; return b; } else { @@ -5342,38 +6155,52 @@ public java.lang.String getInstanceSystemId() { public static final int STATE_FIELD_NUMBER = 3; private int state_; /** + * + * *
      * Current state of instance patch.
      * 
* * .google.cloud.osconfig.v1.Instance.PatchState state = 3; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Current state of instance patch.
      * 
* * .google.cloud.osconfig.v1.Instance.PatchState state = 3; + * * @return The state. */ - @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState getState() { + @java.lang.Override + public com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState result = com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState result = + com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.valueOf(state_); + return result == null + ? com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.UNRECOGNIZED + : result; } public static final int FAILURE_REASON_FIELD_NUMBER = 4; private volatile java.lang.Object failureReason_; /** + * + * *
      * If the patch fails, this field provides the reason.
      * 
* * string failure_reason = 4; + * * @return The failureReason. */ @java.lang.Override @@ -5382,29 +6209,29 @@ public java.lang.String getFailureReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failureReason_ = s; return s; } } /** + * + * *
      * If the patch fails, this field provides the reason.
      * 
* * string failure_reason = 4; + * * @return The bytes for failureReason. */ @java.lang.Override - public com.google.protobuf.ByteString - getFailureReasonBytes() { + public com.google.protobuf.ByteString getFailureReasonBytes() { java.lang.Object ref = failureReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); failureReason_ = b; return b; } else { @@ -5415,11 +6242,14 @@ public java.lang.String getFailureReason() { public static final int ATTEMPT_COUNT_FIELD_NUMBER = 5; private long attemptCount_; /** + * + * *
      * The number of times the agent that the agent attempts to apply the patch.
      * 
* * int64 attempt_count = 5; + * * @return The attemptCount. */ @java.lang.Override @@ -5428,6 +6258,7 @@ public long getAttemptCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5439,15 +6270,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceSystemId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, instanceSystemId_); } - if (state_ != com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.PATCH_STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.PATCH_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { @@ -5471,16 +6303,16 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceSystemId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceSystemId_); } - if (state_ != com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.PATCH_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, state_); + if (state_ + != com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.PATCH_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, failureReason_); } if (attemptCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, attemptCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, attemptCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5490,22 +6322,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails other = (com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails) obj; + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails other = + (com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getInstanceSystemId() - .equals(other.getInstanceSystemId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getInstanceSystemId().equals(other.getInstanceSystemId())) return false; if (state_ != other.state_) return false; - if (!getFailureReason() - .equals(other.getFailureReason())) return false; - if (getAttemptCount() - != other.getAttemptCount()) return false; + if (!getFailureReason().equals(other.getFailureReason())) return false; + if (getAttemptCount() != other.getAttemptCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5526,95 +6355,101 @@ public int hashCode() { hash = (37 * hash) + FAILURE_REASON_FIELD_NUMBER; hash = (53 * hash) + getFailureReason().hashCode(); hash = (37 * hash) + ATTEMPT_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getAttemptCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAttemptCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails 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.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5624,6 +6459,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Patch details for a VM instance. For more information about reviewing VM
      * instance details, see
@@ -5633,21 +6470,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.PatchJobInstanceDetails}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.PatchJobInstanceDetails)
         com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.class, com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.class,
+                com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.newBuilder()
@@ -5655,16 +6495,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5682,13 +6521,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails
+          getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.getDefaultInstance();
       }
 
@@ -5703,7 +6543,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails buildPartial() {
-        com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails result = new com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails(this);
+        com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails result =
+            new com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails(this);
         result.name_ = name_;
         result.instanceSystemId_ = instanceSystemId_;
         result.state_ = state_;
@@ -5717,46 +6558,52 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails buildParti
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchJobs.PatchJobInstanceDetails) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails other) {
-        if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails other) {
+        if (other
+            == com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails.getDefaultInstance())
+          return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -5794,7 +6641,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -5806,18 +6655,20 @@ public Builder mergeFrom(
 
       private java.lang.Object name_ = "";
       /**
+       *
+       *
        * 
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -5826,20 +6677,21 @@ public java.lang.String getName() { } } /** + * + * *
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -5847,54 +6699,61 @@ public java.lang.String getName() { } } /** + * + * *
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -5902,19 +6761,21 @@ public Builder setNameBytes( private java.lang.Object instanceSystemId_ = ""; /** + * + * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; + * * @return The instanceSystemId. */ public java.lang.String getInstanceSystemId() { java.lang.Object ref = instanceSystemId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceSystemId_ = s; return s; @@ -5923,21 +6784,22 @@ public java.lang.String getInstanceSystemId() { } } /** + * + * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; + * * @return The bytes for instanceSystemId. */ - public com.google.protobuf.ByteString - getInstanceSystemIdBytes() { + public com.google.protobuf.ByteString getInstanceSystemIdBytes() { java.lang.Object ref = instanceSystemId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceSystemId_ = b; return b; } else { @@ -5945,57 +6807,64 @@ public java.lang.String getInstanceSystemId() { } } /** + * + * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; + * * @param value The instanceSystemId to set. * @return This builder for chaining. */ - public Builder setInstanceSystemId( - java.lang.String value) { + public Builder setInstanceSystemId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceSystemId_ = value; onChanged(); return this; } /** + * + * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; + * * @return This builder for chaining. */ public Builder clearInstanceSystemId() { - + instanceSystemId_ = getDefaultInstance().getInstanceSystemId(); onChanged(); return this; } /** + * + * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; + * * @param value The bytes for instanceSystemId to set. * @return This builder for chaining. */ - public Builder setInstanceSystemIdBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceSystemIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceSystemId_ = value; onChanged(); return this; @@ -6003,51 +6872,67 @@ public Builder setInstanceSystemIdBytes( private int state_ = 0; /** + * + * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1.Instance.PatchState state = 3; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1.Instance.PatchState state = 3; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1.Instance.PatchState state = 3; + * * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState result = com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState result = + com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.valueOf(state_); + return result == null + ? com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchState.UNRECOGNIZED + : result; } /** + * + * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1.Instance.PatchState state = 3; + * * @param value The state to set. * @return This builder for chaining. */ @@ -6055,21 +6940,24 @@ public Builder setState(com.google.cloud.osconfig.v1.PatchJobs.Instance.PatchSta if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1.Instance.PatchState state = 3; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -6077,18 +6965,20 @@ public Builder clearState() { private java.lang.Object failureReason_ = ""; /** + * + * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; + * * @return The failureReason. */ public java.lang.String getFailureReason() { java.lang.Object ref = failureReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failureReason_ = s; return s; @@ -6097,20 +6987,21 @@ public java.lang.String getFailureReason() { } } /** + * + * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; + * * @return The bytes for failureReason. */ - public com.google.protobuf.ByteString - getFailureReasonBytes() { + public com.google.protobuf.ByteString getFailureReasonBytes() { java.lang.Object ref = failureReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); failureReason_ = b; return b; } else { @@ -6118,66 +7009,76 @@ public java.lang.String getFailureReason() { } } /** + * + * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; + * * @param value The failureReason to set. * @return This builder for chaining. */ - public Builder setFailureReason( - java.lang.String value) { + public Builder setFailureReason(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + failureReason_ = value; onChanged(); return this; } /** + * + * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; + * * @return This builder for chaining. */ public Builder clearFailureReason() { - + failureReason_ = getDefaultInstance().getFailureReason(); onChanged(); return this; } /** + * + * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; + * * @param value The bytes for failureReason to set. * @return This builder for chaining. */ - public Builder setFailureReasonBytes( - com.google.protobuf.ByteString value) { + public Builder setFailureReasonBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + failureReason_ = value; onChanged(); return this; } - private long attemptCount_ ; + private long attemptCount_; /** + * + * *
        * The number of times the agent that the agent attempts to apply the patch.
        * 
* * int64 attempt_count = 5; + * * @return The attemptCount. */ @java.lang.Override @@ -6185,34 +7086,41 @@ public long getAttemptCount() { return attemptCount_; } /** + * + * *
        * The number of times the agent that the agent attempts to apply the patch.
        * 
* * int64 attempt_count = 5; + * * @param value The attemptCount to set. * @return This builder for chaining. */ public Builder setAttemptCount(long value) { - + attemptCount_ = value; onChanged(); return this; } /** + * + * *
        * The number of times the agent that the agent attempts to apply the patch.
        * 
* * int64 attempt_count = 5; + * * @return This builder for chaining. */ public Builder clearAttemptCount() { - + attemptCount_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6225,30 +7133,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.PatchJobInstanceDetails) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.PatchJobInstanceDetails) - private static final com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails(); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchJobInstanceDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchJobInstanceDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchJobInstanceDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchJobInstanceDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6260,69 +7170,89 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListPatchJobsRequestOrBuilder extends + public interface ListPatchJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListPatchJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. In the form of `projects/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
      * Required. In the form of `projects/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
      * The maximum number of instance status to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
      * If provided, this field specifies the criteria that must be met by patch
      * jobs to be included in the response.
@@ -6330,10 +7260,13 @@ public interface ListPatchJobsRequestOrBuilder extends
      * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
      * If provided, this field specifies the criteria that must be met by patch
      * jobs to be included in the response.
@@ -6341,27 +7274,30 @@ public interface ListPatchJobsRequestOrBuilder extends
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } /** + * + * *
    * A request message for listing patch jobs.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchJobsRequest} */ - public static final class ListPatchJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListPatchJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListPatchJobsRequest) ListPatchJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchJobsRequest.newBuilder() to construct. private ListPatchJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPatchJobsRequest() { parent_ = ""; pageToken_ = ""; @@ -6370,16 +7306,15 @@ private ListPatchJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPatchJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPatchJobsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -6398,36 +7333,39 @@ private ListPatchJobsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6435,34 +7373,41 @@ private ListPatchJobsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.class, com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.class, + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
      * Required. In the form of `projects/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -6471,29 +7416,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
      * Required. In the form of `projects/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -6504,11 +7451,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
      * The maximum number of instance status to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -6519,12 +7469,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -6533,30 +7486,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -6567,6 +7520,8 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
      * If provided, this field specifies the criteria that must be met by patch
      * jobs to be included in the response.
@@ -6574,6 +7529,7 @@ public java.lang.String getPageToken() {
      * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -6582,14 +7538,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by patch
      * jobs to be included in the response.
@@ -6597,16 +7554,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -6615,6 +7571,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6626,8 +7583,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -6653,8 +7609,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -6670,21 +7625,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest other = (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest) obj; + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest other = + (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6710,87 +7662,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest 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.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6800,27 +7759,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for listing patch jobs.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListPatchJobsRequest) com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.class, com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.class, + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.newBuilder() @@ -6828,16 +7792,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -6853,13 +7816,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.getDefaultInstance(); } @@ -6874,7 +7838,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest result = new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest(this); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest result = + new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -6887,38 +7852,41 @@ public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.ListPatchJobsRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -6926,7 +7894,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest other) { - if (other == com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -6961,7 +7931,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6973,18 +7945,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
        * Required. In the form of `projects/*`
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -6993,20 +7969,23 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. In the form of `projects/*`
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -7014,66 +7993,82 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. In the form of `projects/*`
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
        * Required. In the form of `projects/*`
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
        * Required. In the form of `projects/*`
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
        * The maximum number of instance status to return.
        * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -7081,30 +8076,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
        * The maximum number of instance status to return.
        * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
        * The maximum number of instance status to return.
        * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -7112,19 +8113,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -7133,21 +8136,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -7155,57 +8159,64 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -7213,6 +8224,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -7220,13 +8233,13 @@ public Builder setPageTokenBytes(
        * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -7235,6 +8248,8 @@ public java.lang.String getFilter() { } } /** + * + * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -7242,15 +8257,14 @@ public java.lang.String getFilter() {
        * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -7258,6 +8272,8 @@ public java.lang.String getFilter() { } } /** + * + * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -7265,20 +8281,22 @@ public java.lang.String getFilter() {
        * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -7286,15 +8304,18 @@ public Builder setFilter(
        * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -7302,20 +8323,21 @@ public Builder clearFilter() {
        * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7328,12 +8350,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListPatchJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListPatchJobsRequest) - private static final com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest(); } @@ -7342,16 +8365,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchJobsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchJobsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7366,23 +8389,26 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListPatchJobsResponseOrBuilder extends + public interface ListPatchJobsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ListPatchJobsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The list of patch jobs.
      * 
* * repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1; */ - java.util.List - getPatchJobsList(); + java.util.List getPatchJobsList(); /** + * + * *
      * The list of patch jobs.
      * 
@@ -7391,6 +8417,8 @@ public interface ListPatchJobsResponseOrBuilder extends */ com.google.cloud.osconfig.v1.PatchJobs.PatchJob getPatchJobs(int index); /** + * + * *
      * The list of patch jobs.
      * 
@@ -7399,60 +8427,71 @@ public interface ListPatchJobsResponseOrBuilder extends */ int getPatchJobsCount(); /** + * + * *
      * The list of patch jobs.
      * 
* * repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1; */ - java.util.List + java.util.List getPatchJobsOrBuilderList(); /** + * + * *
      * The list of patch jobs.
      * 
* * repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1; */ - com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder getPatchJobsOrBuilder( - int index); + com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder getPatchJobsOrBuilder(int index); /** + * + * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } /** + * + * *
    * A response message for listing patch jobs.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchJobsResponse} */ - public static final class ListPatchJobsResponse extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListPatchJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ListPatchJobsResponse) ListPatchJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchJobsResponse.newBuilder() to construct. private ListPatchJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPatchJobsResponse() { patchJobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -7460,16 +8499,15 @@ private ListPatchJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPatchJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPatchJobsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7489,28 +8527,33 @@ private ListPatchJobsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - patchJobs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + patchJobs_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + patchJobs_.add( + input.readMessage( + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.parser(), + extensionRegistry)); + break; } - patchJobs_.add( - input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchJob.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7518,8 +8561,7 @@ private ListPatchJobsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { patchJobs_ = java.util.Collections.unmodifiableList(patchJobs_); @@ -7528,22 +8570,27 @@ private ListPatchJobsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.class, com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.class, + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.Builder.class); } public static final int PATCH_JOBS_FIELD_NUMBER = 1; private java.util.List patchJobs_; /** + * + * *
      * The list of patch jobs.
      * 
@@ -7555,6 +8602,8 @@ public java.util.List getPatchJ return patchJobs_; } /** + * + * *
      * The list of patch jobs.
      * 
@@ -7562,11 +8611,13 @@ public java.util.List getPatchJ * repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPatchJobsOrBuilderList() { return patchJobs_; } /** + * + * *
      * The list of patch jobs.
      * 
@@ -7578,6 +8629,8 @@ public int getPatchJobsCount() { return patchJobs_.size(); } /** + * + * *
      * The list of patch jobs.
      * 
@@ -7589,6 +8642,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob getPatchJobs(int index) { return patchJobs_.get(index); } /** + * + * *
      * The list of patch jobs.
      * 
@@ -7604,11 +8659,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder getPatchJobsOrBu public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -7617,29 +8675,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -7648,6 +8706,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7659,8 +8718,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < patchJobs_.size(); i++) { output.writeMessage(1, patchJobs_.get(i)); } @@ -7677,8 +8735,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < patchJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, patchJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, patchJobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -7691,17 +8748,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse other = (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse) obj; + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse other = + (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse) obj; - if (!getPatchJobsList() - .equals(other.getPatchJobsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPatchJobsList().equals(other.getPatchJobsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7725,87 +8781,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse 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.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7815,27 +8878,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A response message for listing patch jobs.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.ListPatchJobsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ListPatchJobsResponse) com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.class, com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.class, + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.newBuilder() @@ -7843,17 +8911,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPatchJobsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -7869,13 +8937,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.getDefaultInstance(); } @@ -7890,7 +8959,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse result = new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse(this); + com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse result = + new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse(this); int from_bitField0_ = bitField0_; if (patchJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -7910,38 +8980,41 @@ public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.ListPatchJobsResponse) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse)other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse) other); } else { super.mergeFrom(other); return this; @@ -7949,7 +9022,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse other) { - if (other == com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse.getDefaultInstance()) + return this; if (patchJobsBuilder_ == null) { if (!other.patchJobs_.isEmpty()) { if (patchJobs_.isEmpty()) { @@ -7968,9 +9043,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsRes patchJobsBuilder_ = null; patchJobs_ = other.patchJobs_; bitField0_ = (bitField0_ & ~0x00000001); - patchJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPatchJobsFieldBuilder() : null; + patchJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPatchJobsFieldBuilder() + : null; } else { patchJobsBuilder_.addAllMessages(other.patchJobs_); } @@ -7999,7 +9075,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -8008,21 +9086,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List patchJobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePatchJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - patchJobs_ = new java.util.ArrayList(patchJobs_); + patchJobs_ = + new java.util.ArrayList(patchJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchJob, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder> patchJobsBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchJob, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder> + patchJobsBuilder_; /** + * + * *
        * The list of patch jobs.
        * 
@@ -8037,6 +9123,8 @@ public java.util.List getPatchJ } } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8051,6 +9139,8 @@ public int getPatchJobsCount() { } } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8065,6 +9155,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob getPatchJobs(int index) { } } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8086,6 +9178,8 @@ public Builder setPatchJobs( return this; } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8104,6 +9198,8 @@ public Builder setPatchJobs( return this; } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8124,6 +9220,8 @@ public Builder addPatchJobs(com.google.cloud.osconfig.v1.PatchJobs.PatchJob valu return this; } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8145,7 +9243,9 @@ public Builder addPatchJobs( return this; } /** - *
+       *
+       *
+       * 
        * The list of patch jobs.
        * 
* @@ -8163,6 +9263,8 @@ public Builder addPatchJobs( return this; } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8181,6 +9283,8 @@ public Builder addPatchJobs( return this; } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8191,8 +9295,7 @@ public Builder addAllPatchJobs( java.lang.Iterable values) { if (patchJobsBuilder_ == null) { ensurePatchJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, patchJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, patchJobs_); onChanged(); } else { patchJobsBuilder_.addAllMessages(values); @@ -8200,6 +9303,8 @@ public Builder addAllPatchJobs( return this; } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8217,6 +9322,8 @@ public Builder clearPatchJobs() { return this; } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8234,6 +9341,8 @@ public Builder removePatchJobs(int index) { return this; } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8245,6 +9354,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder getPatchJobsBuild return getPatchJobsFieldBuilder().getBuilder(index); } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8254,19 +9365,22 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder getPatchJobsBuild public com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder getPatchJobsOrBuilder( int index) { if (patchJobsBuilder_ == null) { - return patchJobs_.get(index); } else { + return patchJobs_.get(index); + } else { return patchJobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * The list of patch jobs.
        * 
* * repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1; */ - public java.util.List - getPatchJobsOrBuilderList() { + public java.util.List + getPatchJobsOrBuilderList() { if (patchJobsBuilder_ != null) { return patchJobsBuilder_.getMessageOrBuilderList(); } else { @@ -8274,6 +9388,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder getPatchJobsOrBu } } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8281,10 +9397,12 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder getPatchJobsOrBu * repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1; */ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder addPatchJobsBuilder() { - return getPatchJobsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance()); + return getPatchJobsFieldBuilder() + .addBuilder(com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance()); } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8293,30 +9411,36 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder addPatchJobsBuild */ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder addPatchJobsBuilder( int index) { - return getPatchJobsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance()); + return getPatchJobsFieldBuilder() + .addBuilder( + index, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance()); } /** + * + * *
        * The list of patch jobs.
        * 
* * repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1; */ - public java.util.List - getPatchJobsBuilderList() { + public java.util.List + getPatchJobsBuilderList() { return getPatchJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchJob, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchJob, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder> getPatchJobsFieldBuilder() { if (patchJobsBuilder_ == null) { - patchJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchJob, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder>( - patchJobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + patchJobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchJob, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder>( + patchJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); patchJobs_ = null; } return patchJobsBuilder_; @@ -8324,18 +9448,20 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder addPatchJobsBuild private java.lang.Object nextPageToken_ = ""; /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -8344,20 +9470,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -8365,58 +9492,66 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8429,30 +9564,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ListPatchJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ListPatchJobsResponse) - private static final com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse(); } - public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchJobsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchJobsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8464,99 +9601,123 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.ListPatchJobsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PatchJobOrBuilder extends + public interface PatchJobOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.PatchJob) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Unique identifier for this patch job in the form
      * `projects/*/patchJobs/*`
      * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Unique identifier for this patch job in the form
      * `projects/*/patchJobs/*`
      * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * Display name for this patch job. This is not a unique identifier.
      * 
* * string display_name = 14; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
      * Display name for this patch job. This is not a unique identifier.
      * 
* * string display_name = 14; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * Time this patch job was created.
      * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
      * Time this patch job was created.
      * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
      * Time this patch job was created.
      * 
@@ -8566,24 +9727,32 @@ public interface PatchJobOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
      * Last time this patch job was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
      * Last time this patch job was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
      * Last time this patch job was updated.
      * 
@@ -8593,70 +9762,93 @@ public interface PatchJobOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
      * The current state of the PatchJob.
      * 
* * .google.cloud.osconfig.v1.PatchJob.State state = 5; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
      * The current state of the PatchJob.
      * 
* * .google.cloud.osconfig.v1.PatchJob.State state = 5; + * * @return The state. */ com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State getState(); /** + * + * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; + * * @return Whether the instanceFilter field is set. */ boolean hasInstanceFilter(); /** + * + * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; + * * @return The instanceFilter. */ com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFilter(); /** + * + * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; */ - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder(); + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder + getInstanceFilterOrBuilder(); /** + * + * *
      * Patch configuration being applied.
      * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 7; + * * @return Whether the patchConfig field is set. */ boolean hasPatchConfig(); /** + * + * *
      * Patch configuration being applied.
      * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 7; + * * @return The patchConfig. */ com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getPatchConfig(); /** + * + * *
      * Patch configuration being applied.
      * 
@@ -8666,26 +9858,34 @@ public interface PatchJobOrBuilder extends com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder(); /** + * + * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
      * 
* * .google.protobuf.Duration duration = 8; + * * @return Whether the duration field is set. */ boolean hasDuration(); /** + * + * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
      * 
* * .google.protobuf.Duration duration = 8; + * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** + * + * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
@@ -8696,115 +9896,156 @@ public interface PatchJobOrBuilder extends
     com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
     /**
+     *
+     *
      * 
      * Summary of instance details.
      * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * * @return Whether the instanceDetailsSummary field is set. */ boolean hasInstanceDetailsSummary(); /** + * + * *
      * Summary of instance details.
      * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * * @return The instanceDetailsSummary. */ - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary getInstanceDetailsSummary(); + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + getInstanceDetailsSummary(); /** + * + * *
      * Summary of instance details.
      * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * */ - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder getInstanceDetailsSummaryOrBuilder(); + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder + getInstanceDetailsSummaryOrBuilder(); /** + * + * *
      * If this patch job is a dry run, the agent reports that it has
      * finished without running any updates on the VM instance.
      * 
* * bool dry_run = 10; + * * @return The dryRun. */ boolean getDryRun(); /** + * + * *
      * If this patch job failed, this message provides information about the
      * failure.
      * 
* * string error_message = 11; + * * @return The errorMessage. */ java.lang.String getErrorMessage(); /** + * + * *
      * If this patch job failed, this message provides information about the
      * failure.
      * 
* * string error_message = 11; + * * @return The bytes for errorMessage. */ - com.google.protobuf.ByteString - getErrorMessageBytes(); + com.google.protobuf.ByteString getErrorMessageBytes(); /** + * + * *
      * Reflects the overall progress of the patch job in the range of
      * 0.0 being no progress to 100.0 being complete.
      * 
* * double percent_complete = 12; + * * @return The percentComplete. */ double getPercentComplete(); /** + * + * *
      * Output only. Name of the patch deployment that created this patch job.
      * 
* - * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The patchDeployment. */ java.lang.String getPatchDeployment(); /** + * + * *
      * Output only. Name of the patch deployment that created this patch job.
      * 
* - * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for patchDeployment. */ - com.google.protobuf.ByteString - getPatchDeploymentBytes(); + com.google.protobuf.ByteString getPatchDeploymentBytes(); /** + * + * *
      * Rollout strategy being applied.
      * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 16; + * * @return Whether the rollout field is set. */ boolean hasRollout(); /** + * + * *
      * Rollout strategy being applied.
      * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 16; + * * @return The rollout. */ com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getRollout(); /** + * + * *
      * Rollout strategy being applied.
      * 
@@ -8814,6 +10055,8 @@ public interface PatchJobOrBuilder extends com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder(); } /** + * + * *
    * A high level representation of a patch job that is either in progress
    * or has completed.
@@ -8826,15 +10069,16 @@ public interface PatchJobOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1.PatchJob}
    */
-  public static final class PatchJob extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PatchJob extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.PatchJob)
       PatchJobOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PatchJob.newBuilder() to construct.
     private PatchJob(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PatchJob() {
       name_ = "";
       displayName_ = "";
@@ -8846,16 +10090,15 @@ private PatchJob() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PatchJob();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PatchJob(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8874,150 +10117,181 @@ private PatchJob(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              description_ = s;
-              break;
-            }
-            case 26: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
+                name_ = s;
+                break;
               }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              break;
-            }
-            case 34: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
+                description_ = s;
+                break;
               }
+            case 26:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (createTime_ != null) {
+                  subBuilder = createTime_.toBuilder();
+                }
+                createTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(createTime_);
+                  createTime_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 40: {
-              int rawValue = input.readEnum();
+                break;
+              }
+            case 34:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (updateTime_ != null) {
+                  subBuilder = updateTime_.toBuilder();
+                }
+                updateTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(updateTime_);
+                  updateTime_ = subBuilder.buildPartial();
+                }
 
-              state_ = rawValue;
-              break;
-            }
-            case 58: {
-              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder subBuilder = null;
-              if (patchConfig_ != null) {
-                subBuilder = patchConfig_.toBuilder();
+                break;
               }
-              patchConfig_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(patchConfig_);
-                patchConfig_ = subBuilder.buildPartial();
+            case 40:
+              {
+                int rawValue = input.readEnum();
+
+                state_ = rawValue;
+                break;
               }
+            case 58:
+              {
+                com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder subBuilder = null;
+                if (patchConfig_ != null) {
+                  subBuilder = patchConfig_.toBuilder();
+                }
+                patchConfig_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(patchConfig_);
+                  patchConfig_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 66: {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (duration_ != null) {
-                subBuilder = duration_.toBuilder();
+                break;
               }
-              duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(duration_);
-                duration_ = subBuilder.buildPartial();
+            case 66:
+              {
+                com.google.protobuf.Duration.Builder subBuilder = null;
+                if (duration_ != null) {
+                  subBuilder = duration_.toBuilder();
+                }
+                duration_ =
+                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(duration_);
+                  duration_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
+            case 74:
+              {
+                com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder
+                    subBuilder = null;
+                if (instanceDetailsSummary_ != null) {
+                  subBuilder = instanceDetailsSummary_.toBuilder();
+                }
+                instanceDetailsSummary_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary
+                            .parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(instanceDetailsSummary_);
+                  instanceDetailsSummary_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 74: {
-              com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder subBuilder = null;
-              if (instanceDetailsSummary_ != null) {
-                subBuilder = instanceDetailsSummary_.toBuilder();
+                break;
               }
-              instanceDetailsSummary_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(instanceDetailsSummary_);
-                instanceDetailsSummary_ = subBuilder.buildPartial();
+            case 80:
+              {
+                dryRun_ = input.readBool();
+                break;
               }
+            case 90:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              break;
-            }
-            case 80: {
-
-              dryRun_ = input.readBool();
-              break;
-            }
-            case 90: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              errorMessage_ = s;
-              break;
-            }
-            case 97: {
-
-              percentComplete_ = input.readDouble();
-              break;
-            }
-            case 106: {
-              com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder subBuilder = null;
-              if (instanceFilter_ != null) {
-                subBuilder = instanceFilter_.toBuilder();
+                errorMessage_ = s;
+                break;
               }
-              instanceFilter_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(instanceFilter_);
-                instanceFilter_ = subBuilder.buildPartial();
+            case 97:
+              {
+                percentComplete_ = input.readDouble();
+                break;
               }
+            case 106:
+              {
+                com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder subBuilder =
+                    null;
+                if (instanceFilter_ != null) {
+                  subBuilder = instanceFilter_.toBuilder();
+                }
+                instanceFilter_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(instanceFilter_);
+                  instanceFilter_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 114: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              displayName_ = s;
-              break;
-            }
-            case 122: {
-              java.lang.String s = input.readStringRequireUtf8();
+                break;
+              }
+            case 114:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              patchDeployment_ = s;
-              break;
-            }
-            case 130: {
-              com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder subBuilder = null;
-              if (rollout_ != null) {
-                subBuilder = rollout_.toBuilder();
+                displayName_ = s;
+                break;
               }
-              rollout_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rollout_);
-                rollout_ = subBuilder.buildPartial();
+            case 122:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+
+                patchDeployment_ = s;
+                break;
               }
+            case 130:
+              {
+                com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder subBuilder = null;
+                if (rollout_ != null) {
+                  subBuilder = rollout_.toBuilder();
+                }
+                rollout_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(rollout_);
+                  rollout_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9025,27 +10299,31 @@ private PatchJob(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchJobs
+          .internal_static_google_cloud_osconfig_v1_PatchJob_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchJobs
+          .internal_static_google_cloud_osconfig_v1_PatchJob_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder.class);
+              com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class,
+              com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * Enumeration of the various states a patch job passes through as it
      * executes.
@@ -9053,9 +10331,10 @@ private PatchJob(
      *
      * Protobuf enum {@code google.cloud.osconfig.v1.PatchJob.State}
      */
-    public enum State
-        implements com.google.protobuf.ProtocolMessageEnum {
+    public enum State implements com.google.protobuf.ProtocolMessageEnum {
       /**
+       *
+       *
        * 
        * State must be specified.
        * 
@@ -9064,6 +10343,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
        * The patch job was successfully initiated.
        * 
@@ -9072,6 +10353,8 @@ public enum State */ STARTED(1), /** + * + * *
        * The patch job is looking up instances to run the patch on.
        * 
@@ -9080,6 +10363,8 @@ public enum State */ INSTANCE_LOOKUP(2), /** + * + * *
        * Instances are being patched.
        * 
@@ -9088,6 +10373,8 @@ public enum State */ PATCHING(3), /** + * + * *
        * Patch job completed successfully.
        * 
@@ -9096,6 +10383,8 @@ public enum State */ SUCCEEDED(4), /** + * + * *
        * Patch job completed but there were errors.
        * 
@@ -9104,6 +10393,8 @@ public enum State */ COMPLETED_WITH_ERRORS(5), /** + * + * *
        * The patch job was canceled.
        * 
@@ -9112,6 +10403,8 @@ public enum State */ CANCELED(6), /** + * + * *
        * The patch job timed out.
        * 
@@ -9123,6 +10416,8 @@ public enum State ; /** + * + * *
        * State must be specified.
        * 
@@ -9131,6 +10426,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The patch job was successfully initiated.
        * 
@@ -9139,6 +10436,8 @@ public enum State */ public static final int STARTED_VALUE = 1; /** + * + * *
        * The patch job is looking up instances to run the patch on.
        * 
@@ -9147,6 +10446,8 @@ public enum State */ public static final int INSTANCE_LOOKUP_VALUE = 2; /** + * + * *
        * Instances are being patched.
        * 
@@ -9155,6 +10456,8 @@ public enum State */ public static final int PATCHING_VALUE = 3; /** + * + * *
        * Patch job completed successfully.
        * 
@@ -9163,6 +10466,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 4; /** + * + * *
        * Patch job completed but there were errors.
        * 
@@ -9171,6 +10476,8 @@ public enum State */ public static final int COMPLETED_WITH_ERRORS_VALUE = 5; /** + * + * *
        * The patch job was canceled.
        * 
@@ -9179,6 +10486,8 @@ public enum State */ public static final int CANCELED_VALUE = 6; /** + * + * *
        * The patch job timed out.
        * 
@@ -9187,7 +10496,6 @@ public enum State */ public static final int TIMED_OUT_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -9212,54 +10520,61 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return STARTED; - case 2: return INSTANCE_LOOKUP; - case 3: return PATCHING; - case 4: return SUCCEEDED; - case 5: return COMPLETED_WITH_ERRORS; - case 6: return CANCELED; - case 7: return TIMED_OUT; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return STARTED; + case 2: + return INSTANCE_LOOKUP; + case 3: + return PATCHING; + case 4: + return SUCCEEDED; + case 5: + return COMPLETED_WITH_ERRORS; + case 6: + return CANCELED; + case 7: + return TIMED_OUT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDescriptor() + .getEnumTypes() + .get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -9276,151 +10591,196 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1.PatchJob.State) } - public interface InstanceDetailsSummaryOrBuilder extends + public interface InstanceDetailsSummaryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Number of instances pending patch job.
        * 
* * int64 pending_instance_count = 1; + * * @return The pendingInstanceCount. */ long getPendingInstanceCount(); /** + * + * *
        * Number of instances that are inactive.
        * 
* * int64 inactive_instance_count = 2; + * * @return The inactiveInstanceCount. */ long getInactiveInstanceCount(); /** + * + * *
        * Number of instances notified about patch job.
        * 
* * int64 notified_instance_count = 3; + * * @return The notifiedInstanceCount. */ long getNotifiedInstanceCount(); /** + * + * *
        * Number of instances that have started.
        * 
* * int64 started_instance_count = 4; + * * @return The startedInstanceCount. */ long getStartedInstanceCount(); /** + * + * *
        * Number of instances that are downloading patches.
        * 
* * int64 downloading_patches_instance_count = 5; + * * @return The downloadingPatchesInstanceCount. */ long getDownloadingPatchesInstanceCount(); /** + * + * *
        * Number of instances that are applying patches.
        * 
* * int64 applying_patches_instance_count = 6; + * * @return The applyingPatchesInstanceCount. */ long getApplyingPatchesInstanceCount(); /** + * + * *
        * Number of instances rebooting.
        * 
* * int64 rebooting_instance_count = 7; + * * @return The rebootingInstanceCount. */ long getRebootingInstanceCount(); /** + * + * *
        * Number of instances that have completed successfully.
        * 
* * int64 succeeded_instance_count = 8; + * * @return The succeededInstanceCount. */ long getSucceededInstanceCount(); /** + * + * *
        * Number of instances that require reboot.
        * 
* * int64 succeeded_reboot_required_instance_count = 9; + * * @return The succeededRebootRequiredInstanceCount. */ long getSucceededRebootRequiredInstanceCount(); /** + * + * *
        * Number of instances that failed.
        * 
* * int64 failed_instance_count = 10; + * * @return The failedInstanceCount. */ long getFailedInstanceCount(); /** + * + * *
        * Number of instances that have acked and will start shortly.
        * 
* * int64 acked_instance_count = 11; + * * @return The ackedInstanceCount. */ long getAckedInstanceCount(); /** + * + * *
        * Number of instances that exceeded the time out while applying the patch.
        * 
* * int64 timed_out_instance_count = 12; + * * @return The timedOutInstanceCount. */ long getTimedOutInstanceCount(); /** + * + * *
        * Number of instances that are running the pre-patch step.
        * 
* * int64 pre_patch_step_instance_count = 13; + * * @return The prePatchStepInstanceCount. */ long getPrePatchStepInstanceCount(); /** + * + * *
        * Number of instances that are running the post-patch step.
        * 
* * int64 post_patch_step_instance_count = 14; + * * @return The postPatchStepInstanceCount. */ long getPostPatchStepInstanceCount(); /** + * + * *
        * Number of instances that do not appear to be running the agent. Check to
        * ensure that the agent is installed, running, and able to communicate with
@@ -9428,11 +10788,14 @@ public interface InstanceDetailsSummaryOrBuilder extends
        * 
* * int64 no_agent_detected_instance_count = 15; + * * @return The noAgentDetectedInstanceCount. */ long getNoAgentDetectedInstanceCount(); } /** + * + * *
      * A summary of the current patch state across all instances that this patch
      * job affects. Contains counts of instances in different states. These states
@@ -9442,30 +10805,29 @@ public interface InstanceDetailsSummaryOrBuilder extends
      *
      * Protobuf type {@code google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary}
      */
-    public static final class InstanceDetailsSummary extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class InstanceDetailsSummary extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary)
         InstanceDetailsSummaryOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use InstanceDetailsSummary.newBuilder() to construct.
       private InstanceDetailsSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private InstanceDetailsSummary() {
-      }
+
+      private InstanceDetailsSummary() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new InstanceDetailsSummary();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private InstanceDetailsSummary(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -9484,88 +10846,88 @@ private InstanceDetailsSummary(
               case 0:
                 done = true;
                 break;
-              case 8: {
-
-                pendingInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 16: {
-
-                inactiveInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 24: {
-
-                notifiedInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 32: {
-
-                startedInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 40: {
-
-                downloadingPatchesInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 48: {
-
-                applyingPatchesInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 56: {
-
-                rebootingInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 64: {
-
-                succeededInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 72: {
-
-                succeededRebootRequiredInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 80: {
-
-                failedInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 88: {
-
-                ackedInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 96: {
-
-                timedOutInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 104: {
-
-                prePatchStepInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 112: {
-
-                postPatchStepInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 120: {
-
-                noAgentDetectedInstanceCount_ = input.readInt64();
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+              case 8:
+                {
+                  pendingInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 16:
+                {
+                  inactiveInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 24:
+                {
+                  notifiedInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 32:
+                {
+                  startedInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 40:
+                {
+                  downloadingPatchesInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 48:
+                {
+                  applyingPatchesInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 56:
+                {
+                  rebootingInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 64:
+                {
+                  succeededInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 72:
+                {
+                  succeededRebootRequiredInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 80:
+                {
+                  failedInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 88:
+                {
+                  ackedInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 96:
+                {
+                  timedOutInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 104:
+                {
+                  prePatchStepInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 112:
+                {
+                  postPatchStepInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 120:
+                {
+                  noAgentDetectedInstanceCount_ = input.readInt64();
+                  break;
+                }
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9573,34 +10935,41 @@ private InstanceDetailsSummary(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.class, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.class,
+                com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder
+                    .class);
       }
 
       public static final int PENDING_INSTANCE_COUNT_FIELD_NUMBER = 1;
       private long pendingInstanceCount_;
       /**
+       *
+       *
        * 
        * Number of instances pending patch job.
        * 
* * int64 pending_instance_count = 1; + * * @return The pendingInstanceCount. */ @java.lang.Override @@ -9611,11 +10980,14 @@ public long getPendingInstanceCount() { public static final int INACTIVE_INSTANCE_COUNT_FIELD_NUMBER = 2; private long inactiveInstanceCount_; /** + * + * *
        * Number of instances that are inactive.
        * 
* * int64 inactive_instance_count = 2; + * * @return The inactiveInstanceCount. */ @java.lang.Override @@ -9626,11 +10998,14 @@ public long getInactiveInstanceCount() { public static final int NOTIFIED_INSTANCE_COUNT_FIELD_NUMBER = 3; private long notifiedInstanceCount_; /** + * + * *
        * Number of instances notified about patch job.
        * 
* * int64 notified_instance_count = 3; + * * @return The notifiedInstanceCount. */ @java.lang.Override @@ -9641,11 +11016,14 @@ public long getNotifiedInstanceCount() { public static final int STARTED_INSTANCE_COUNT_FIELD_NUMBER = 4; private long startedInstanceCount_; /** + * + * *
        * Number of instances that have started.
        * 
* * int64 started_instance_count = 4; + * * @return The startedInstanceCount. */ @java.lang.Override @@ -9656,11 +11034,14 @@ public long getStartedInstanceCount() { public static final int DOWNLOADING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER = 5; private long downloadingPatchesInstanceCount_; /** + * + * *
        * Number of instances that are downloading patches.
        * 
* * int64 downloading_patches_instance_count = 5; + * * @return The downloadingPatchesInstanceCount. */ @java.lang.Override @@ -9671,11 +11052,14 @@ public long getDownloadingPatchesInstanceCount() { public static final int APPLYING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER = 6; private long applyingPatchesInstanceCount_; /** + * + * *
        * Number of instances that are applying patches.
        * 
* * int64 applying_patches_instance_count = 6; + * * @return The applyingPatchesInstanceCount. */ @java.lang.Override @@ -9686,11 +11070,14 @@ public long getApplyingPatchesInstanceCount() { public static final int REBOOTING_INSTANCE_COUNT_FIELD_NUMBER = 7; private long rebootingInstanceCount_; /** + * + * *
        * Number of instances rebooting.
        * 
* * int64 rebooting_instance_count = 7; + * * @return The rebootingInstanceCount. */ @java.lang.Override @@ -9701,11 +11088,14 @@ public long getRebootingInstanceCount() { public static final int SUCCEEDED_INSTANCE_COUNT_FIELD_NUMBER = 8; private long succeededInstanceCount_; /** + * + * *
        * Number of instances that have completed successfully.
        * 
* * int64 succeeded_instance_count = 8; + * * @return The succeededInstanceCount. */ @java.lang.Override @@ -9716,11 +11106,14 @@ public long getSucceededInstanceCount() { public static final int SUCCEEDED_REBOOT_REQUIRED_INSTANCE_COUNT_FIELD_NUMBER = 9; private long succeededRebootRequiredInstanceCount_; /** + * + * *
        * Number of instances that require reboot.
        * 
* * int64 succeeded_reboot_required_instance_count = 9; + * * @return The succeededRebootRequiredInstanceCount. */ @java.lang.Override @@ -9731,11 +11124,14 @@ public long getSucceededRebootRequiredInstanceCount() { public static final int FAILED_INSTANCE_COUNT_FIELD_NUMBER = 10; private long failedInstanceCount_; /** + * + * *
        * Number of instances that failed.
        * 
* * int64 failed_instance_count = 10; + * * @return The failedInstanceCount. */ @java.lang.Override @@ -9746,11 +11142,14 @@ public long getFailedInstanceCount() { public static final int ACKED_INSTANCE_COUNT_FIELD_NUMBER = 11; private long ackedInstanceCount_; /** + * + * *
        * Number of instances that have acked and will start shortly.
        * 
* * int64 acked_instance_count = 11; + * * @return The ackedInstanceCount. */ @java.lang.Override @@ -9761,11 +11160,14 @@ public long getAckedInstanceCount() { public static final int TIMED_OUT_INSTANCE_COUNT_FIELD_NUMBER = 12; private long timedOutInstanceCount_; /** + * + * *
        * Number of instances that exceeded the time out while applying the patch.
        * 
* * int64 timed_out_instance_count = 12; + * * @return The timedOutInstanceCount. */ @java.lang.Override @@ -9776,11 +11178,14 @@ public long getTimedOutInstanceCount() { public static final int PRE_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER = 13; private long prePatchStepInstanceCount_; /** + * + * *
        * Number of instances that are running the pre-patch step.
        * 
* * int64 pre_patch_step_instance_count = 13; + * * @return The prePatchStepInstanceCount. */ @java.lang.Override @@ -9791,11 +11196,14 @@ public long getPrePatchStepInstanceCount() { public static final int POST_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER = 14; private long postPatchStepInstanceCount_; /** + * + * *
        * Number of instances that are running the post-patch step.
        * 
* * int64 post_patch_step_instance_count = 14; + * * @return The postPatchStepInstanceCount. */ @java.lang.Override @@ -9806,6 +11214,8 @@ public long getPostPatchStepInstanceCount() { public static final int NO_AGENT_DETECTED_INSTANCE_COUNT_FIELD_NUMBER = 15; private long noAgentDetectedInstanceCount_; /** + * + * *
        * Number of instances that do not appear to be running the agent. Check to
        * ensure that the agent is installed, running, and able to communicate with
@@ -9813,6 +11223,7 @@ public long getPostPatchStepInstanceCount() {
        * 
* * int64 no_agent_detected_instance_count = 15; + * * @return The noAgentDetectedInstanceCount. */ @java.lang.Override @@ -9821,6 +11232,7 @@ public long getNoAgentDetectedInstanceCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9832,8 +11244,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (pendingInstanceCount_ != 0L) { output.writeInt64(1, pendingInstanceCount_); } @@ -9889,64 +11300,64 @@ public int getSerializedSize() { size = 0; if (pendingInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, pendingInstanceCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, pendingInstanceCount_); } if (inactiveInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, inactiveInstanceCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, inactiveInstanceCount_); } if (notifiedInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, notifiedInstanceCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, notifiedInstanceCount_); } if (startedInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, startedInstanceCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, startedInstanceCount_); } if (downloadingPatchesInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, downloadingPatchesInstanceCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 5, downloadingPatchesInstanceCount_); } if (applyingPatchesInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(6, applyingPatchesInstanceCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 6, applyingPatchesInstanceCount_); } if (rebootingInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(7, rebootingInstanceCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(7, rebootingInstanceCount_); } if (succeededInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(8, succeededInstanceCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(8, succeededInstanceCount_); } if (succeededRebootRequiredInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(9, succeededRebootRequiredInstanceCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 9, succeededRebootRequiredInstanceCount_); } if (failedInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(10, failedInstanceCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(10, failedInstanceCount_); } if (ackedInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(11, ackedInstanceCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, ackedInstanceCount_); } if (timedOutInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(12, timedOutInstanceCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(12, timedOutInstanceCount_); } if (prePatchStepInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(13, prePatchStepInstanceCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 13, prePatchStepInstanceCount_); } if (postPatchStepInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(14, postPatchStepInstanceCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 14, postPatchStepInstanceCount_); } if (noAgentDetectedInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(15, noAgentDetectedInstanceCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 15, noAgentDetectedInstanceCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -9956,43 +11367,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary other = (com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary) obj; - - if (getPendingInstanceCount() - != other.getPendingInstanceCount()) return false; - if (getInactiveInstanceCount() - != other.getInactiveInstanceCount()) return false; - if (getNotifiedInstanceCount() - != other.getNotifiedInstanceCount()) return false; - if (getStartedInstanceCount() - != other.getStartedInstanceCount()) return false; - if (getDownloadingPatchesInstanceCount() - != other.getDownloadingPatchesInstanceCount()) return false; - if (getApplyingPatchesInstanceCount() - != other.getApplyingPatchesInstanceCount()) return false; - if (getRebootingInstanceCount() - != other.getRebootingInstanceCount()) return false; - if (getSucceededInstanceCount() - != other.getSucceededInstanceCount()) return false; + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary other = + (com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary) obj; + + if (getPendingInstanceCount() != other.getPendingInstanceCount()) return false; + if (getInactiveInstanceCount() != other.getInactiveInstanceCount()) return false; + if (getNotifiedInstanceCount() != other.getNotifiedInstanceCount()) return false; + if (getStartedInstanceCount() != other.getStartedInstanceCount()) return false; + if (getDownloadingPatchesInstanceCount() != other.getDownloadingPatchesInstanceCount()) + return false; + if (getApplyingPatchesInstanceCount() != other.getApplyingPatchesInstanceCount()) + return false; + if (getRebootingInstanceCount() != other.getRebootingInstanceCount()) return false; + if (getSucceededInstanceCount() != other.getSucceededInstanceCount()) return false; if (getSucceededRebootRequiredInstanceCount() != other.getSucceededRebootRequiredInstanceCount()) return false; - if (getFailedInstanceCount() - != other.getFailedInstanceCount()) return false; - if (getAckedInstanceCount() - != other.getAckedInstanceCount()) return false; - if (getTimedOutInstanceCount() - != other.getTimedOutInstanceCount()) return false; - if (getPrePatchStepInstanceCount() - != other.getPrePatchStepInstanceCount()) return false; - if (getPostPatchStepInstanceCount() - != other.getPostPatchStepInstanceCount()) return false; - if (getNoAgentDetectedInstanceCount() - != other.getNoAgentDetectedInstanceCount()) return false; + if (getFailedInstanceCount() != other.getFailedInstanceCount()) return false; + if (getAckedInstanceCount() != other.getAckedInstanceCount()) return false; + if (getTimedOutInstanceCount() != other.getTimedOutInstanceCount()) return false; + if (getPrePatchStepInstanceCount() != other.getPrePatchStepInstanceCount()) return false; + if (getPostPatchStepInstanceCount() != other.getPostPatchStepInstanceCount()) return false; + if (getNoAgentDetectedInstanceCount() != other.getNoAgentDetectedInstanceCount()) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -10005,137 +11407,143 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PENDING_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getPendingInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPendingInstanceCount()); hash = (37 * hash) + INACTIVE_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getInactiveInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInactiveInstanceCount()); hash = (37 * hash) + NOTIFIED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getNotifiedInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNotifiedInstanceCount()); hash = (37 * hash) + STARTED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getStartedInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getStartedInstanceCount()); hash = (37 * hash) + DOWNLOADING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getDownloadingPatchesInstanceCount()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(getDownloadingPatchesInstanceCount()); hash = (37 * hash) + APPLYING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getApplyingPatchesInstanceCount()); + hash = + (53 * hash) + com.google.protobuf.Internal.hashLong(getApplyingPatchesInstanceCount()); hash = (37 * hash) + REBOOTING_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRebootingInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRebootingInstanceCount()); hash = (37 * hash) + SUCCEEDED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSucceededInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSucceededInstanceCount()); hash = (37 * hash) + SUCCEEDED_REBOOT_REQUIRED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSucceededRebootRequiredInstanceCount()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(getSucceededRebootRequiredInstanceCount()); hash = (37 * hash) + FAILED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getFailedInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFailedInstanceCount()); hash = (37 * hash) + ACKED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getAckedInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAckedInstanceCount()); hash = (37 * hash) + TIMED_OUT_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTimedOutInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTimedOutInstanceCount()); hash = (37 * hash) + PRE_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getPrePatchStepInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPrePatchStepInstanceCount()); hash = (37 * hash) + POST_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getPostPatchStepInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPostPatchStepInstanceCount()); hash = (37 * hash) + NO_AGENT_DETECTED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getNoAgentDetectedInstanceCount()); + hash = + (53 * hash) + com.google.protobuf.Internal.hashLong(getNoAgentDetectedInstanceCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + 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.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + 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.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary 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.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + 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.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary 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.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + 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.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10145,6 +11553,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A summary of the current patch state across all instances that this patch
        * job affects. Contains counts of instances in different states. These states
@@ -10154,38 +11564,42 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary)
           com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1.PatchJobs
+              .internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_fieldAccessorTable
+          return com.google.cloud.osconfig.v1.PatchJobs
+              .internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.class, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder.class);
+                  com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.class,
+                  com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder
+                      .class);
         }
 
-        // Construct using com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.newBuilder()
+        // Construct using
+        // com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
-          }
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -10223,19 +11637,22 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.cloud.osconfig.v1.PatchJobs
+              .internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstanceForType() {
-          return com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance();
+        public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary
+            getDefaultInstanceForType() {
+          return com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary
+              .getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary build() {
-          com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary result = buildPartial();
+          com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary result =
+              buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -10243,8 +11660,10 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary bu
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary buildPartial() {
-          com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary result = new com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary(this);
+        public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary
+            buildPartial() {
+          com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary result =
+              new com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary(this);
           result.pendingInstanceCount_ = pendingInstanceCount_;
           result.inactiveInstanceCount_ = inactiveInstanceCount_;
           result.notifiedInstanceCount_ = notifiedInstanceCount_;
@@ -10268,46 +11687,54 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary bu
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary) {
-            return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary)other);
+          if (other
+              instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary) {
+            return mergeFrom(
+                (com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary other) {
-          if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance()) return this;
+        public Builder mergeFrom(
+            com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary other) {
+          if (other
+              == com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary
+                  .getDefaultInstance()) return this;
           if (other.getPendingInstanceCount() != 0L) {
             setPendingInstanceCount(other.getPendingInstanceCount());
           }
@@ -10333,7 +11760,8 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Instanc
             setSucceededInstanceCount(other.getSucceededInstanceCount());
           }
           if (other.getSucceededRebootRequiredInstanceCount() != 0L) {
-            setSucceededRebootRequiredInstanceCount(other.getSucceededRebootRequiredInstanceCount());
+            setSucceededRebootRequiredInstanceCount(
+                other.getSucceededRebootRequiredInstanceCount());
           }
           if (other.getFailedInstanceCount() != 0L) {
             setFailedInstanceCount(other.getFailedInstanceCount());
@@ -10368,11 +11796,14 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
-          com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parsedMessage = null;
+          com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary parsedMessage =
+              null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary)
+                    e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -10382,13 +11813,16 @@ public Builder mergeFrom(
           return this;
         }
 
-        private long pendingInstanceCount_ ;
+        private long pendingInstanceCount_;
         /**
+         *
+         *
          * 
          * Number of instances pending patch job.
          * 
* * int64 pending_instance_count = 1; + * * @return The pendingInstanceCount. */ @java.lang.Override @@ -10396,42 +11830,51 @@ public long getPendingInstanceCount() { return pendingInstanceCount_; } /** + * + * *
          * Number of instances pending patch job.
          * 
* * int64 pending_instance_count = 1; + * * @param value The pendingInstanceCount to set. * @return This builder for chaining. */ public Builder setPendingInstanceCount(long value) { - + pendingInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances pending patch job.
          * 
* * int64 pending_instance_count = 1; + * * @return This builder for chaining. */ public Builder clearPendingInstanceCount() { - + pendingInstanceCount_ = 0L; onChanged(); return this; } - private long inactiveInstanceCount_ ; + private long inactiveInstanceCount_; /** + * + * *
          * Number of instances that are inactive.
          * 
* * int64 inactive_instance_count = 2; + * * @return The inactiveInstanceCount. */ @java.lang.Override @@ -10439,42 +11882,51 @@ public long getInactiveInstanceCount() { return inactiveInstanceCount_; } /** + * + * *
          * Number of instances that are inactive.
          * 
* * int64 inactive_instance_count = 2; + * * @param value The inactiveInstanceCount to set. * @return This builder for chaining. */ public Builder setInactiveInstanceCount(long value) { - + inactiveInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that are inactive.
          * 
* * int64 inactive_instance_count = 2; + * * @return This builder for chaining. */ public Builder clearInactiveInstanceCount() { - + inactiveInstanceCount_ = 0L; onChanged(); return this; } - private long notifiedInstanceCount_ ; + private long notifiedInstanceCount_; /** + * + * *
          * Number of instances notified about patch job.
          * 
* * int64 notified_instance_count = 3; + * * @return The notifiedInstanceCount. */ @java.lang.Override @@ -10482,42 +11934,51 @@ public long getNotifiedInstanceCount() { return notifiedInstanceCount_; } /** + * + * *
          * Number of instances notified about patch job.
          * 
* * int64 notified_instance_count = 3; + * * @param value The notifiedInstanceCount to set. * @return This builder for chaining. */ public Builder setNotifiedInstanceCount(long value) { - + notifiedInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances notified about patch job.
          * 
* * int64 notified_instance_count = 3; + * * @return This builder for chaining. */ public Builder clearNotifiedInstanceCount() { - + notifiedInstanceCount_ = 0L; onChanged(); return this; } - private long startedInstanceCount_ ; + private long startedInstanceCount_; /** + * + * *
          * Number of instances that have started.
          * 
* * int64 started_instance_count = 4; + * * @return The startedInstanceCount. */ @java.lang.Override @@ -10525,42 +11986,51 @@ public long getStartedInstanceCount() { return startedInstanceCount_; } /** + * + * *
          * Number of instances that have started.
          * 
* * int64 started_instance_count = 4; + * * @param value The startedInstanceCount to set. * @return This builder for chaining. */ public Builder setStartedInstanceCount(long value) { - + startedInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that have started.
          * 
* * int64 started_instance_count = 4; + * * @return This builder for chaining. */ public Builder clearStartedInstanceCount() { - + startedInstanceCount_ = 0L; onChanged(); return this; } - private long downloadingPatchesInstanceCount_ ; + private long downloadingPatchesInstanceCount_; /** + * + * *
          * Number of instances that are downloading patches.
          * 
* * int64 downloading_patches_instance_count = 5; + * * @return The downloadingPatchesInstanceCount. */ @java.lang.Override @@ -10568,42 +12038,51 @@ public long getDownloadingPatchesInstanceCount() { return downloadingPatchesInstanceCount_; } /** + * + * *
          * Number of instances that are downloading patches.
          * 
* * int64 downloading_patches_instance_count = 5; + * * @param value The downloadingPatchesInstanceCount to set. * @return This builder for chaining. */ public Builder setDownloadingPatchesInstanceCount(long value) { - + downloadingPatchesInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that are downloading patches.
          * 
* * int64 downloading_patches_instance_count = 5; + * * @return This builder for chaining. */ public Builder clearDownloadingPatchesInstanceCount() { - + downloadingPatchesInstanceCount_ = 0L; onChanged(); return this; } - private long applyingPatchesInstanceCount_ ; + private long applyingPatchesInstanceCount_; /** + * + * *
          * Number of instances that are applying patches.
          * 
* * int64 applying_patches_instance_count = 6; + * * @return The applyingPatchesInstanceCount. */ @java.lang.Override @@ -10611,42 +12090,51 @@ public long getApplyingPatchesInstanceCount() { return applyingPatchesInstanceCount_; } /** + * + * *
          * Number of instances that are applying patches.
          * 
* * int64 applying_patches_instance_count = 6; + * * @param value The applyingPatchesInstanceCount to set. * @return This builder for chaining. */ public Builder setApplyingPatchesInstanceCount(long value) { - + applyingPatchesInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that are applying patches.
          * 
* * int64 applying_patches_instance_count = 6; + * * @return This builder for chaining. */ public Builder clearApplyingPatchesInstanceCount() { - + applyingPatchesInstanceCount_ = 0L; onChanged(); return this; } - private long rebootingInstanceCount_ ; + private long rebootingInstanceCount_; /** + * + * *
          * Number of instances rebooting.
          * 
* * int64 rebooting_instance_count = 7; + * * @return The rebootingInstanceCount. */ @java.lang.Override @@ -10654,42 +12142,51 @@ public long getRebootingInstanceCount() { return rebootingInstanceCount_; } /** + * + * *
          * Number of instances rebooting.
          * 
* * int64 rebooting_instance_count = 7; + * * @param value The rebootingInstanceCount to set. * @return This builder for chaining. */ public Builder setRebootingInstanceCount(long value) { - + rebootingInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances rebooting.
          * 
* * int64 rebooting_instance_count = 7; + * * @return This builder for chaining. */ public Builder clearRebootingInstanceCount() { - + rebootingInstanceCount_ = 0L; onChanged(); return this; } - private long succeededInstanceCount_ ; + private long succeededInstanceCount_; /** + * + * *
          * Number of instances that have completed successfully.
          * 
* * int64 succeeded_instance_count = 8; + * * @return The succeededInstanceCount. */ @java.lang.Override @@ -10697,42 +12194,51 @@ public long getSucceededInstanceCount() { return succeededInstanceCount_; } /** + * + * *
          * Number of instances that have completed successfully.
          * 
* * int64 succeeded_instance_count = 8; + * * @param value The succeededInstanceCount to set. * @return This builder for chaining. */ public Builder setSucceededInstanceCount(long value) { - + succeededInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that have completed successfully.
          * 
* * int64 succeeded_instance_count = 8; + * * @return This builder for chaining. */ public Builder clearSucceededInstanceCount() { - + succeededInstanceCount_ = 0L; onChanged(); return this; } - private long succeededRebootRequiredInstanceCount_ ; + private long succeededRebootRequiredInstanceCount_; /** + * + * *
          * Number of instances that require reboot.
          * 
* * int64 succeeded_reboot_required_instance_count = 9; + * * @return The succeededRebootRequiredInstanceCount. */ @java.lang.Override @@ -10740,42 +12246,51 @@ public long getSucceededRebootRequiredInstanceCount() { return succeededRebootRequiredInstanceCount_; } /** + * + * *
          * Number of instances that require reboot.
          * 
* * int64 succeeded_reboot_required_instance_count = 9; + * * @param value The succeededRebootRequiredInstanceCount to set. * @return This builder for chaining. */ public Builder setSucceededRebootRequiredInstanceCount(long value) { - + succeededRebootRequiredInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that require reboot.
          * 
* * int64 succeeded_reboot_required_instance_count = 9; + * * @return This builder for chaining. */ public Builder clearSucceededRebootRequiredInstanceCount() { - + succeededRebootRequiredInstanceCount_ = 0L; onChanged(); return this; } - private long failedInstanceCount_ ; + private long failedInstanceCount_; /** + * + * *
          * Number of instances that failed.
          * 
* * int64 failed_instance_count = 10; + * * @return The failedInstanceCount. */ @java.lang.Override @@ -10783,42 +12298,51 @@ public long getFailedInstanceCount() { return failedInstanceCount_; } /** + * + * *
          * Number of instances that failed.
          * 
* * int64 failed_instance_count = 10; + * * @param value The failedInstanceCount to set. * @return This builder for chaining. */ public Builder setFailedInstanceCount(long value) { - + failedInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that failed.
          * 
* * int64 failed_instance_count = 10; + * * @return This builder for chaining. */ public Builder clearFailedInstanceCount() { - + failedInstanceCount_ = 0L; onChanged(); return this; } - private long ackedInstanceCount_ ; + private long ackedInstanceCount_; /** + * + * *
          * Number of instances that have acked and will start shortly.
          * 
* * int64 acked_instance_count = 11; + * * @return The ackedInstanceCount. */ @java.lang.Override @@ -10826,42 +12350,51 @@ public long getAckedInstanceCount() { return ackedInstanceCount_; } /** + * + * *
          * Number of instances that have acked and will start shortly.
          * 
* * int64 acked_instance_count = 11; + * * @param value The ackedInstanceCount to set. * @return This builder for chaining. */ public Builder setAckedInstanceCount(long value) { - + ackedInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that have acked and will start shortly.
          * 
* * int64 acked_instance_count = 11; + * * @return This builder for chaining. */ public Builder clearAckedInstanceCount() { - + ackedInstanceCount_ = 0L; onChanged(); return this; } - private long timedOutInstanceCount_ ; + private long timedOutInstanceCount_; /** + * + * *
          * Number of instances that exceeded the time out while applying the patch.
          * 
* * int64 timed_out_instance_count = 12; + * * @return The timedOutInstanceCount. */ @java.lang.Override @@ -10869,42 +12402,51 @@ public long getTimedOutInstanceCount() { return timedOutInstanceCount_; } /** + * + * *
          * Number of instances that exceeded the time out while applying the patch.
          * 
* * int64 timed_out_instance_count = 12; + * * @param value The timedOutInstanceCount to set. * @return This builder for chaining. */ public Builder setTimedOutInstanceCount(long value) { - + timedOutInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that exceeded the time out while applying the patch.
          * 
* * int64 timed_out_instance_count = 12; + * * @return This builder for chaining. */ public Builder clearTimedOutInstanceCount() { - + timedOutInstanceCount_ = 0L; onChanged(); return this; } - private long prePatchStepInstanceCount_ ; + private long prePatchStepInstanceCount_; /** + * + * *
          * Number of instances that are running the pre-patch step.
          * 
* * int64 pre_patch_step_instance_count = 13; + * * @return The prePatchStepInstanceCount. */ @java.lang.Override @@ -10912,42 +12454,51 @@ public long getPrePatchStepInstanceCount() { return prePatchStepInstanceCount_; } /** + * + * *
          * Number of instances that are running the pre-patch step.
          * 
* * int64 pre_patch_step_instance_count = 13; + * * @param value The prePatchStepInstanceCount to set. * @return This builder for chaining. */ public Builder setPrePatchStepInstanceCount(long value) { - + prePatchStepInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that are running the pre-patch step.
          * 
* * int64 pre_patch_step_instance_count = 13; + * * @return This builder for chaining. */ public Builder clearPrePatchStepInstanceCount() { - + prePatchStepInstanceCount_ = 0L; onChanged(); return this; } - private long postPatchStepInstanceCount_ ; + private long postPatchStepInstanceCount_; /** + * + * *
          * Number of instances that are running the post-patch step.
          * 
* * int64 post_patch_step_instance_count = 14; + * * @return The postPatchStepInstanceCount. */ @java.lang.Override @@ -10955,37 +12506,45 @@ public long getPostPatchStepInstanceCount() { return postPatchStepInstanceCount_; } /** + * + * *
          * Number of instances that are running the post-patch step.
          * 
* * int64 post_patch_step_instance_count = 14; + * * @param value The postPatchStepInstanceCount to set. * @return This builder for chaining. */ public Builder setPostPatchStepInstanceCount(long value) { - + postPatchStepInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that are running the post-patch step.
          * 
* * int64 post_patch_step_instance_count = 14; + * * @return This builder for chaining. */ public Builder clearPostPatchStepInstanceCount() { - + postPatchStepInstanceCount_ = 0L; onChanged(); return this; } - private long noAgentDetectedInstanceCount_ ; + private long noAgentDetectedInstanceCount_; /** + * + * *
          * Number of instances that do not appear to be running the agent. Check to
          * ensure that the agent is installed, running, and able to communicate with
@@ -10993,6 +12552,7 @@ public Builder clearPostPatchStepInstanceCount() {
          * 
* * int64 no_agent_detected_instance_count = 15; + * * @return The noAgentDetectedInstanceCount. */ @java.lang.Override @@ -11000,6 +12560,8 @@ public long getNoAgentDetectedInstanceCount() { return noAgentDetectedInstanceCount_; } /** + * + * *
          * Number of instances that do not appear to be running the agent. Check to
          * ensure that the agent is installed, running, and able to communicate with
@@ -11007,16 +12569,19 @@ public long getNoAgentDetectedInstanceCount() {
          * 
* * int64 no_agent_detected_instance_count = 15; + * * @param value The noAgentDetectedInstanceCount to set. * @return This builder for chaining. */ public Builder setNoAgentDetectedInstanceCount(long value) { - + noAgentDetectedInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that do not appear to be running the agent. Check to
          * ensure that the agent is installed, running, and able to communicate with
@@ -11024,14 +12589,16 @@ public Builder setNoAgentDetectedInstanceCount(long value) {
          * 
* * int64 no_agent_detected_instance_count = 15; + * * @return This builder for chaining. */ public Builder clearNoAgentDetectedInstanceCount() { - + noAgentDetectedInstanceCount_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11044,30 +12611,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary) - private static final com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary(); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstanceDetailsSummary parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstanceDetailsSummary(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceDetailsSummary parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstanceDetailsSummary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11079,21 +12649,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Unique identifier for this patch job in the form
      * `projects/*/patchJobs/*`
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -11102,30 +12675,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Unique identifier for this patch job in the form
      * `projects/*/patchJobs/*`
      * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -11136,11 +12709,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 14; private volatile java.lang.Object displayName_; /** + * + * *
      * Display name for this patch job. This is not a unique identifier.
      * 
* * string display_name = 14; + * * @return The displayName. */ @java.lang.Override @@ -11149,29 +12725,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
      * Display name for this patch job. This is not a unique identifier.
      * 
* * string display_name = 14; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -11182,12 +12758,15 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -11196,30 +12775,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -11230,11 +12809,14 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
      * Time this patch job was created.
      * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -11242,11 +12824,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
      * Time this patch job was created.
      * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return The createTime. */ @java.lang.Override @@ -11254,6 +12839,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
      * Time this patch job was created.
      * 
@@ -11268,11 +12855,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
      * Last time this patch job was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -11280,11 +12870,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
      * Last time this patch job was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ @java.lang.Override @@ -11292,6 +12885,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
      * Last time this patch job was updated.
      * 
@@ -11306,38 +12901,52 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 5; private int state_; /** + * + * *
      * The current state of the PatchJob.
      * 
* * .google.cloud.osconfig.v1.PatchJob.State state = 5; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The current state of the PatchJob.
      * 
* * .google.cloud.osconfig.v1.PatchJob.State state = 5; + * * @return The state. */ - @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State getState() { + @java.lang.Override + public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State result = com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State result = + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.valueOf(state_); + return result == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.UNRECOGNIZED + : result; } public static final int INSTANCE_FILTER_FIELD_NUMBER = 13; private com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter instanceFilter_; /** + * + * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; + * * @return Whether the instanceFilter field is set. */ @java.lang.Override @@ -11345,18 +12954,25 @@ public boolean hasInstanceFilter() { return instanceFilter_ != null; } /** + * + * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; + * * @return The instanceFilter. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFilter() { - return instanceFilter_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() + : instanceFilter_; } /** + * + * *
      * Instances to patch.
      * 
@@ -11364,18 +12980,22 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFil * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder + getInstanceFilterOrBuilder() { return getInstanceFilter(); } public static final int PATCH_CONFIG_FIELD_NUMBER = 7; private com.google.cloud.osconfig.v1.PatchJobs.PatchConfig patchConfig_; /** + * + * *
      * Patch configuration being applied.
      * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 7; + * * @return Whether the patchConfig field is set. */ @java.lang.Override @@ -11383,18 +13003,25 @@ public boolean hasPatchConfig() { return patchConfig_ != null; } /** + * + * *
      * Patch configuration being applied.
      * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 7; + * * @return The patchConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getPatchConfig() { - return patchConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; + return patchConfig_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() + : patchConfig_; } /** + * + * *
      * Patch configuration being applied.
      * 
@@ -11409,12 +13036,15 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi public static final int DURATION_FIELD_NUMBER = 8; private com.google.protobuf.Duration duration_; /** + * + * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
      * 
* * .google.protobuf.Duration duration = 8; + * * @return Whether the duration field is set. */ @java.lang.Override @@ -11422,12 +13052,15 @@ public boolean hasDuration() { return duration_ != null; } /** + * + * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
      * 
* * .google.protobuf.Duration duration = 8; + * * @return The duration. */ @java.lang.Override @@ -11435,6 +13068,8 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** + * + * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
@@ -11448,13 +13083,18 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
     }
 
     public static final int INSTANCE_DETAILS_SUMMARY_FIELD_NUMBER = 9;
-    private com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary instanceDetailsSummary_;
+    private com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary
+        instanceDetailsSummary_;
     /**
+     *
+     *
      * 
      * Summary of instance details.
      * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * * @return Whether the instanceDetailsSummary field is set. */ @java.lang.Override @@ -11462,38 +13102,53 @@ public boolean hasInstanceDetailsSummary() { return instanceDetailsSummary_ != null; } /** + * + * *
      * Summary of instance details.
      * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * * @return The instanceDetailsSummary. */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary getInstanceDetailsSummary() { - return instanceDetailsSummary_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance() : instanceDetailsSummary_; + public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + getInstanceDetailsSummary() { + return instanceDetailsSummary_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + .getDefaultInstance() + : instanceDetailsSummary_; } /** + * + * *
      * Summary of instance details.
      * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder getInstanceDetailsSummaryOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder + getInstanceDetailsSummaryOrBuilder() { return getInstanceDetailsSummary(); } public static final int DRY_RUN_FIELD_NUMBER = 10; private boolean dryRun_; /** + * + * *
      * If this patch job is a dry run, the agent reports that it has
      * finished without running any updates on the VM instance.
      * 
* * bool dry_run = 10; + * * @return The dryRun. */ @java.lang.Override @@ -11504,12 +13159,15 @@ public boolean getDryRun() { public static final int ERROR_MESSAGE_FIELD_NUMBER = 11; private volatile java.lang.Object errorMessage_; /** + * + * *
      * If this patch job failed, this message provides information about the
      * failure.
      * 
* * string error_message = 11; + * * @return The errorMessage. */ @java.lang.Override @@ -11518,30 +13176,30 @@ public java.lang.String getErrorMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } } /** + * + * *
      * If this patch job failed, this message provides information about the
      * failure.
      * 
* * string error_message = 11; + * * @return The bytes for errorMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getErrorMessageBytes() { + public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -11552,12 +13210,15 @@ public java.lang.String getErrorMessage() { public static final int PERCENT_COMPLETE_FIELD_NUMBER = 12; private double percentComplete_; /** + * + * *
      * Reflects the overall progress of the patch job in the range of
      * 0.0 being no progress to 100.0 being complete.
      * 
* * double percent_complete = 12; + * * @return The percentComplete. */ @java.lang.Override @@ -11568,11 +13229,16 @@ public double getPercentComplete() { public static final int PATCH_DEPLOYMENT_FIELD_NUMBER = 15; private volatile java.lang.Object patchDeployment_; /** + * + * *
      * Output only. Name of the patch deployment that created this patch job.
      * 
* - * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The patchDeployment. */ @java.lang.Override @@ -11581,29 +13247,31 @@ public java.lang.String getPatchDeployment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchDeployment_ = s; return s; } } /** + * + * *
      * Output only. Name of the patch deployment that created this patch job.
      * 
* - * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for patchDeployment. */ @java.lang.Override - public com.google.protobuf.ByteString - getPatchDeploymentBytes() { + public com.google.protobuf.ByteString getPatchDeploymentBytes() { java.lang.Object ref = patchDeployment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); patchDeployment_ = b; return b; } else { @@ -11614,11 +13282,14 @@ public java.lang.String getPatchDeployment() { public static final int ROLLOUT_FIELD_NUMBER = 16; private com.google.cloud.osconfig.v1.PatchJobs.PatchRollout rollout_; /** + * + * *
      * Rollout strategy being applied.
      * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 16; + * * @return Whether the rollout field is set. */ @java.lang.Override @@ -11626,18 +13297,25 @@ public boolean hasRollout() { return rollout_ != null; } /** + * + * *
      * Rollout strategy being applied.
      * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 16; + * * @return The rollout. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getRollout() { - return rollout_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() + : rollout_; } /** + * + * *
      * Rollout strategy being applied.
      * 
@@ -11650,6 +13328,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11661,8 +13340,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -11675,7 +13353,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (updateTime_ != null) { output.writeMessage(4, getUpdateTime()); } - if (state_ != com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(5, state_); } if (patchConfig_ != null) { @@ -11724,43 +13403,37 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } - if (state_ != com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, state_); + if (state_ + != com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); } if (patchConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getPatchConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getPatchConfig()); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getDuration()); } if (instanceDetailsSummary_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getInstanceDetailsSummary()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, getInstanceDetailsSummary()); } if (dryRun_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(10, dryRun_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, dryRun_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, errorMessage_); } if (java.lang.Double.doubleToRawLongBits(percentComplete_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(12, percentComplete_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(12, percentComplete_); } if (instanceFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getInstanceFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getInstanceFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, displayName_); @@ -11769,8 +13442,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, patchDeployment_); } if (rollout_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getRollout()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getRollout()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -11780,63 +13452,50 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchJob)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.PatchJob other = (com.google.cloud.osconfig.v1.PatchJobs.PatchJob) obj; + com.google.cloud.osconfig.v1.PatchJobs.PatchJob other = + (com.google.cloud.osconfig.v1.PatchJobs.PatchJob) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (state_ != other.state_) return false; if (hasInstanceFilter() != other.hasInstanceFilter()) return false; if (hasInstanceFilter()) { - if (!getInstanceFilter() - .equals(other.getInstanceFilter())) return false; + if (!getInstanceFilter().equals(other.getInstanceFilter())) return false; } if (hasPatchConfig() != other.hasPatchConfig()) return false; if (hasPatchConfig()) { - if (!getPatchConfig() - .equals(other.getPatchConfig())) return false; + if (!getPatchConfig().equals(other.getPatchConfig())) return false; } if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration() - .equals(other.getDuration())) return false; + if (!getDuration().equals(other.getDuration())) return false; } if (hasInstanceDetailsSummary() != other.hasInstanceDetailsSummary()) return false; if (hasInstanceDetailsSummary()) { - if (!getInstanceDetailsSummary() - .equals(other.getInstanceDetailsSummary())) return false; + if (!getInstanceDetailsSummary().equals(other.getInstanceDetailsSummary())) return false; } - if (getDryRun() - != other.getDryRun()) return false; - if (!getErrorMessage() - .equals(other.getErrorMessage())) return false; + if (getDryRun() != other.getDryRun()) return false; + if (!getErrorMessage().equals(other.getErrorMessage())) return false; if (java.lang.Double.doubleToLongBits(getPercentComplete()) - != java.lang.Double.doubleToLongBits( - other.getPercentComplete())) return false; - if (!getPatchDeployment() - .equals(other.getPatchDeployment())) return false; + != java.lang.Double.doubleToLongBits(other.getPercentComplete())) return false; + if (!getPatchDeployment().equals(other.getPatchDeployment())) return false; if (hasRollout() != other.hasRollout()) return false; if (hasRollout()) { - if (!getRollout() - .equals(other.getRollout())) return false; + if (!getRollout().equals(other.getRollout())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -11882,13 +13541,14 @@ public int hashCode() { hash = (53 * hash) + getInstanceDetailsSummary().hashCode(); } hash = (37 * hash) + DRY_RUN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDryRun()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDryRun()); hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getErrorMessage().hashCode(); hash = (37 * hash) + PERCENT_COMPLETE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getPercentComplete())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getPercentComplete())); hash = (37 * hash) + PATCH_DEPLOYMENT_FIELD_NUMBER; hash = (53 * hash) + getPatchDeployment().hashCode(); if (hasRollout()) { @@ -11901,87 +13561,93 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob 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.osconfig.v1.PatchJobs.PatchJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.PatchJob prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11991,6 +13657,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A high level representation of a patch job that is either in progress
      * or has completed.
@@ -12003,21 +13671,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.PatchJob}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.PatchJob)
         com.google.cloud.osconfig.v1.PatchJobs.PatchJobOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_PatchJob_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_PatchJob_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.PatchJob.class,
+                com.google.cloud.osconfig.v1.PatchJobs.PatchJob.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchJobs.PatchJob.newBuilder()
@@ -12025,16 +13696,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -12100,9 +13770,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchJob_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_PatchJob_descriptor;
       }
 
       @java.lang.Override
@@ -12121,7 +13791,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchJobs.PatchJob buildPartial() {
-        com.google.cloud.osconfig.v1.PatchJobs.PatchJob result = new com.google.cloud.osconfig.v1.PatchJobs.PatchJob(this);
+        com.google.cloud.osconfig.v1.PatchJobs.PatchJob result =
+            new com.google.cloud.osconfig.v1.PatchJobs.PatchJob(this);
         result.name_ = name_;
         result.displayName_ = displayName_;
         result.description_ = description_;
@@ -12173,38 +13844,41 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchJob buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchJobs.PatchJob) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchJob)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchJob) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -12212,7 +13886,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.PatchJob other) {
-        if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchJob.getDefaultInstance())
+          return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -12282,7 +13957,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.PatchJob) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.PatchJobs.PatchJob) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -12294,19 +13970,21 @@ public Builder mergeFrom(
 
       private java.lang.Object name_ = "";
       /**
+       *
+       *
        * 
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -12315,21 +13993,22 @@ public java.lang.String getName() { } } /** + * + * *
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -12337,57 +14016,64 @@ public java.lang.String getName() { } } /** + * + * *
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -12395,18 +14081,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -12415,20 +14103,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -12436,54 +14125,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -12491,19 +14187,21 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -12512,21 +14210,22 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -12534,57 +14233,64 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -12592,34 +14298,47 @@ public Builder setDescriptionBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
        * Time this patch job was created.
        * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
        * Time this patch job was created.
        * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
        * Time this patch job was created.
        * 
@@ -12640,14 +14359,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Time this patch job was created.
        * 
* * .google.protobuf.Timestamp create_time = 3; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -12658,6 +14378,8 @@ public Builder setCreateTime( return this; } /** + * + * *
        * Time this patch job was created.
        * 
@@ -12668,7 +14390,9 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_) + .mergeFrom(value) + .buildPartial(); } else { createTime_ = value; } @@ -12680,6 +14404,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Time this patch job was created.
        * 
@@ -12698,6 +14424,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
        * Time this patch job was created.
        * 
@@ -12705,11 +14433,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 3; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Time this patch job was created.
        * 
@@ -12720,11 +14450,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
        * Time this patch job was created.
        * 
@@ -12732,14 +14465,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -12747,34 +14483,47 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
        * Last time this patch job was updated.
        * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
        * Last time this patch job was updated.
        * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
        * Last time this patch job was updated.
        * 
@@ -12795,14 +14544,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Last time this patch job was updated.
        * 
* * .google.protobuf.Timestamp update_time = 4; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -12813,6 +14563,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
        * Last time this patch job was updated.
        * 
@@ -12823,7 +14575,9 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_) + .mergeFrom(value) + .buildPartial(); } else { updateTime_ = value; } @@ -12835,6 +14589,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Last time this patch job was updated.
        * 
@@ -12853,6 +14609,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
        * Last time this patch job was updated.
        * 
@@ -12860,11 +14618,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 4; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Last time this patch job was updated.
        * 
@@ -12875,11 +14635,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
        * Last time this patch job was updated.
        * 
@@ -12887,14 +14650,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -12902,51 +14668,67 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private int state_ = 0; /** + * + * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1.PatchJob.State state = 5; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1.PatchJob.State state = 5; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1.PatchJob.State state = 5; + * * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State result = com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State result = + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.valueOf(state_); + return result == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.UNRECOGNIZED + : result; } /** + * + * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1.PatchJob.State state = 5; + * * @param value The state to set. * @return This builder for chaining. */ @@ -12954,21 +14736,24 @@ public Builder setState(com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State va if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1.PatchJob.State state = 5; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -12976,41 +14761,55 @@ public Builder clearState() { private com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter instanceFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> instanceFilterBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> + instanceFilterBuilder_; /** + * + * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; + * * @return Whether the instanceFilter field is set. */ public boolean hasInstanceFilter() { return instanceFilterBuilder_ != null || instanceFilter_ != null; } /** + * + * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; + * * @return The instanceFilter. */ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getInstanceFilter() { if (instanceFilterBuilder_ == null) { - return instanceFilter_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() + : instanceFilter_; } else { return instanceFilterBuilder_.getMessage(); } } /** + * + * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; */ - public Builder setInstanceFilter(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { + public Builder setInstanceFilter( + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13024,6 +14823,8 @@ public Builder setInstanceFilter(com.google.cloud.osconfig.v1.PatchJobs.PatchIns return this; } /** + * + * *
        * Instances to patch.
        * 
@@ -13042,17 +14843,23 @@ public Builder setInstanceFilter( return this; } /** + * + * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; */ - public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { + public Builder mergeInstanceFilter( + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (instanceFilter_ != null) { instanceFilter_ = - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.newBuilder(instanceFilter_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.newBuilder( + instanceFilter_) + .mergeFrom(value) + .buildPartial(); } else { instanceFilter_ = value; } @@ -13064,6 +14871,8 @@ public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1.PatchJobs.PatchI return this; } /** + * + * *
        * Instances to patch.
        * 
@@ -13082,33 +14891,42 @@ public Builder clearInstanceFilter() { return this; } /** + * + * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder() { - + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder + getInstanceFilterBuilder() { + onChanged(); return getInstanceFilterFieldBuilder().getBuilder(); } /** + * + * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder + getInstanceFilterOrBuilder() { if (instanceFilterBuilder_ != null) { return instanceFilterBuilder_.getMessageOrBuilder(); } else { - return instanceFilter_ == null ? - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance() + : instanceFilter_; } } /** + * + * *
        * Instances to patch.
        * 
@@ -13116,14 +14934,17 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getIn * .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder> getInstanceFilterFieldBuilder() { if (instanceFilterBuilder_ == null) { - instanceFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder>( - getInstanceFilter(), - getParentForChildren(), - isClean()); + instanceFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder>( + getInstanceFilter(), getParentForChildren(), isClean()); instanceFilter_ = null; } return instanceFilterBuilder_; @@ -13131,34 +14952,47 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder getIn private com.google.cloud.osconfig.v1.PatchJobs.PatchConfig patchConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> patchConfigBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> + patchConfigBuilder_; /** + * + * *
        * Patch configuration being applied.
        * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 7; + * * @return Whether the patchConfig field is set. */ public boolean hasPatchConfig() { return patchConfigBuilder_ != null || patchConfig_ != null; } /** + * + * *
        * Patch configuration being applied.
        * 
* * .google.cloud.osconfig.v1.PatchConfig patch_config = 7; + * * @return The patchConfig. */ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getPatchConfig() { if (patchConfigBuilder_ == null) { - return patchConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; + return patchConfig_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() + : patchConfig_; } else { return patchConfigBuilder_.getMessage(); } } /** + * + * *
        * Patch configuration being applied.
        * 
@@ -13179,6 +15013,8 @@ public Builder setPatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig return this; } /** + * + * *
        * Patch configuration being applied.
        * 
@@ -13197,6 +15033,8 @@ public Builder setPatchConfig( return this; } /** + * + * *
        * Patch configuration being applied.
        * 
@@ -13207,7 +15045,9 @@ public Builder mergePatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConf if (patchConfigBuilder_ == null) { if (patchConfig_ != null) { patchConfig_ = - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.newBuilder(patchConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.newBuilder(patchConfig_) + .mergeFrom(value) + .buildPartial(); } else { patchConfig_ = value; } @@ -13219,6 +15059,8 @@ public Builder mergePatchConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConf return this; } /** + * + * *
        * Patch configuration being applied.
        * 
@@ -13237,6 +15079,8 @@ public Builder clearPatchConfig() { return this; } /** + * + * *
        * Patch configuration being applied.
        * 
@@ -13244,11 +15088,13 @@ public Builder clearPatchConfig() { * .google.cloud.osconfig.v1.PatchConfig patch_config = 7; */ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder getPatchConfigBuilder() { - + onChanged(); return getPatchConfigFieldBuilder().getBuilder(); } /** + * + * *
        * Patch configuration being applied.
        * 
@@ -13259,11 +15105,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi if (patchConfigBuilder_ != null) { return patchConfigBuilder_.getMessageOrBuilder(); } else { - return patchConfig_ == null ? - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; + return patchConfig_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance() + : patchConfig_; } } /** + * + * *
        * Patch configuration being applied.
        * 
@@ -13271,14 +15120,17 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi * .google.cloud.osconfig.v1.PatchConfig patch_config = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder> getPatchConfigFieldBuilder() { if (patchConfigBuilder_ == null) { - patchConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder>( - getPatchConfig(), - getParentForChildren(), - isClean()); + patchConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig, + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder>( + getPatchConfig(), getParentForChildren(), isClean()); patchConfig_ = null; } return patchConfigBuilder_; @@ -13286,26 +15138,35 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder getPatchConfi private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + durationBuilder_; /** + * + * *
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
        * 
* * .google.protobuf.Duration duration = 8; + * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** + * + * *
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
        * 
* * .google.protobuf.Duration duration = 8; + * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -13316,6 +15177,8 @@ public com.google.protobuf.Duration getDuration() { } } /** + * + * *
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -13337,6 +15200,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -13344,8 +15209,7 @@ public Builder setDuration(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration duration = 8;
        */
-      public Builder setDuration(
-          com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
         if (durationBuilder_ == null) {
           duration_ = builderForValue.build();
           onChanged();
@@ -13356,6 +15220,8 @@ public Builder setDuration(
         return this;
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -13367,7 +15233,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
         if (durationBuilder_ == null) {
           if (duration_ != null) {
             duration_ =
-              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
           } else {
             duration_ = value;
           }
@@ -13379,6 +15245,8 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -13398,6 +15266,8 @@ public Builder clearDuration() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -13406,11 +15276,13 @@ public Builder clearDuration() {
        * .google.protobuf.Duration duration = 8;
        */
       public com.google.protobuf.Duration.Builder getDurationBuilder() {
-        
+
         onChanged();
         return getDurationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -13422,11 +15294,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
         if (durationBuilder_ != null) {
           return durationBuilder_.getMessageOrBuilder();
         } else {
-          return duration_ == null ?
-              com.google.protobuf.Duration.getDefaultInstance() : duration_;
+          return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
         }
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -13435,56 +15308,82 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
        * .google.protobuf.Duration duration = 8;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
           getDurationFieldBuilder() {
         if (durationBuilder_ == null) {
-          durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                  getDuration(),
-                  getParentForChildren(),
-                  isClean());
+          durationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
+                  getDuration(), getParentForChildren(), isClean());
           duration_ = null;
         }
         return durationBuilder_;
       }
 
-      private com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary instanceDetailsSummary_;
+      private com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary
+          instanceDetailsSummary_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder> instanceDetailsSummaryBuilder_;
+              com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary,
+              com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder,
+              com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder>
+          instanceDetailsSummaryBuilder_;
       /**
+       *
+       *
        * 
        * Summary of instance details.
        * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * * @return Whether the instanceDetailsSummary field is set. */ public boolean hasInstanceDetailsSummary() { return instanceDetailsSummaryBuilder_ != null || instanceDetailsSummary_ != null; } /** + * + * *
        * Summary of instance details.
        * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * * @return The instanceDetailsSummary. */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary getInstanceDetailsSummary() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + getInstanceDetailsSummary() { if (instanceDetailsSummaryBuilder_ == null) { - return instanceDetailsSummary_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance() : instanceDetailsSummary_; + return instanceDetailsSummary_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + .getDefaultInstance() + : instanceDetailsSummary_; } else { return instanceDetailsSummaryBuilder_.getMessage(); } } /** + * + * *
        * Summary of instance details.
        * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * */ - public Builder setInstanceDetailsSummary(com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary value) { + public Builder setInstanceDetailsSummary( + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary value) { if (instanceDetailsSummaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13498,14 +15397,19 @@ public Builder setInstanceDetailsSummary(com.google.cloud.osconfig.v1.PatchJobs. return this; } /** + * + * *
        * Summary of instance details.
        * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * */ public Builder setInstanceDetailsSummary( - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder builderForValue) { + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder + builderForValue) { if (instanceDetailsSummaryBuilder_ == null) { instanceDetailsSummary_ = builderForValue.build(); onChanged(); @@ -13516,17 +15420,25 @@ public Builder setInstanceDetailsSummary( return this; } /** + * + * *
        * Summary of instance details.
        * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * */ - public Builder mergeInstanceDetailsSummary(com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary value) { + public Builder mergeInstanceDetailsSummary( + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary value) { if (instanceDetailsSummaryBuilder_ == null) { if (instanceDetailsSummary_ != null) { instanceDetailsSummary_ = - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.newBuilder(instanceDetailsSummary_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.newBuilder( + instanceDetailsSummary_) + .mergeFrom(value) + .buildPartial(); } else { instanceDetailsSummary_ = value; } @@ -13538,11 +15450,15 @@ public Builder mergeInstanceDetailsSummary(com.google.cloud.osconfig.v1.PatchJob return this; } /** + * + * *
        * Summary of instance details.
        * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * */ public Builder clearInstanceDetailsSummary() { if (instanceDetailsSummaryBuilder_ == null) { @@ -13556,61 +15472,83 @@ public Builder clearInstanceDetailsSummary() { return this; } /** + * + * *
        * Summary of instance details.
        * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder getInstanceDetailsSummaryBuilder() { - + public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder + getInstanceDetailsSummaryBuilder() { + onChanged(); return getInstanceDetailsSummaryFieldBuilder().getBuilder(); } /** + * + * *
        * Summary of instance details.
        * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder getInstanceDetailsSummaryOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder + getInstanceDetailsSummaryOrBuilder() { if (instanceDetailsSummaryBuilder_ != null) { return instanceDetailsSummaryBuilder_.getMessageOrBuilder(); } else { - return instanceDetailsSummary_ == null ? - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance() : instanceDetailsSummary_; + return instanceDetailsSummary_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary + .getDefaultInstance() + : instanceDetailsSummary_; } } /** + * + * *
        * Summary of instance details.
        * 
* - * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder> getInstanceDetailsSummaryFieldBuilder() { if (instanceDetailsSummaryBuilder_ == null) { - instanceDetailsSummaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder>( - getInstanceDetailsSummary(), - getParentForChildren(), - isClean()); + instanceDetailsSummaryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummary.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder>( + getInstanceDetailsSummary(), getParentForChildren(), isClean()); instanceDetailsSummary_ = null; } return instanceDetailsSummaryBuilder_; } - private boolean dryRun_ ; + private boolean dryRun_; /** + * + * *
        * If this patch job is a dry run, the agent reports that it has
        * finished without running any updates on the VM instance.
        * 
* * bool dry_run = 10; + * * @return The dryRun. */ @java.lang.Override @@ -13618,32 +15556,38 @@ public boolean getDryRun() { return dryRun_; } /** + * + * *
        * If this patch job is a dry run, the agent reports that it has
        * finished without running any updates on the VM instance.
        * 
* * bool dry_run = 10; + * * @param value The dryRun to set. * @return This builder for chaining. */ public Builder setDryRun(boolean value) { - + dryRun_ = value; onChanged(); return this; } /** + * + * *
        * If this patch job is a dry run, the agent reports that it has
        * finished without running any updates on the VM instance.
        * 
* * bool dry_run = 10; + * * @return This builder for chaining. */ public Builder clearDryRun() { - + dryRun_ = false; onChanged(); return this; @@ -13651,19 +15595,21 @@ public Builder clearDryRun() { private java.lang.Object errorMessage_ = ""; /** + * + * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; + * * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; @@ -13672,21 +15618,22 @@ public java.lang.String getErrorMessage() { } } /** + * + * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; + * * @return The bytes for errorMessage. */ - public com.google.protobuf.ByteString - getErrorMessageBytes() { + public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -13694,70 +15641,80 @@ public java.lang.String getErrorMessage() { } } /** + * + * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; + * * @param value The errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessage( - java.lang.String value) { + public Builder setErrorMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorMessage_ = value; onChanged(); return this; } /** + * + * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; + * * @return This builder for chaining. */ public Builder clearErrorMessage() { - + errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** + * + * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; + * * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorMessage_ = value; onChanged(); return this; } - private double percentComplete_ ; + private double percentComplete_; /** + * + * *
        * Reflects the overall progress of the patch job in the range of
        * 0.0 being no progress to 100.0 being complete.
        * 
* * double percent_complete = 12; + * * @return The percentComplete. */ @java.lang.Override @@ -13765,32 +15722,38 @@ public double getPercentComplete() { return percentComplete_; } /** + * + * *
        * Reflects the overall progress of the patch job in the range of
        * 0.0 being no progress to 100.0 being complete.
        * 
* * double percent_complete = 12; + * * @param value The percentComplete to set. * @return This builder for chaining. */ public Builder setPercentComplete(double value) { - + percentComplete_ = value; onChanged(); return this; } /** + * + * *
        * Reflects the overall progress of the patch job in the range of
        * 0.0 being no progress to 100.0 being complete.
        * 
* * double percent_complete = 12; + * * @return This builder for chaining. */ public Builder clearPercentComplete() { - + percentComplete_ = 0D; onChanged(); return this; @@ -13798,18 +15761,22 @@ public Builder clearPercentComplete() { private java.lang.Object patchDeployment_ = ""; /** + * + * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* - * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The patchDeployment. */ public java.lang.String getPatchDeployment() { java.lang.Object ref = patchDeployment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchDeployment_ = s; return s; @@ -13818,20 +15785,23 @@ public java.lang.String getPatchDeployment() { } } /** + * + * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* - * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for patchDeployment. */ - public com.google.protobuf.ByteString - getPatchDeploymentBytes() { + public com.google.protobuf.ByteString getPatchDeploymentBytes() { java.lang.Object ref = patchDeployment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); patchDeployment_ = b; return b; } else { @@ -13839,54 +15809,67 @@ public java.lang.String getPatchDeployment() { } } /** + * + * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* - * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The patchDeployment to set. * @return This builder for chaining. */ - public Builder setPatchDeployment( - java.lang.String value) { + public Builder setPatchDeployment(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + patchDeployment_ = value; onChanged(); return this; } /** + * + * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* - * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearPatchDeployment() { - + patchDeployment_ = getDefaultInstance().getPatchDeployment(); onChanged(); return this; } /** + * + * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* - * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for patchDeployment to set. * @return This builder for chaining. */ - public Builder setPatchDeploymentBytes( - com.google.protobuf.ByteString value) { + public Builder setPatchDeploymentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + patchDeployment_ = value; onChanged(); return this; @@ -13894,34 +15877,47 @@ public Builder setPatchDeploymentBytes( private com.google.cloud.osconfig.v1.PatchJobs.PatchRollout rollout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> rolloutBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> + rolloutBuilder_; /** + * + * *
        * Rollout strategy being applied.
        * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 16; + * * @return Whether the rollout field is set. */ public boolean hasRollout() { return rolloutBuilder_ != null || rollout_ != null; } /** + * + * *
        * Rollout strategy being applied.
        * 
* * .google.cloud.osconfig.v1.PatchRollout rollout = 16; + * * @return The rollout. */ public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getRollout() { if (rolloutBuilder_ == null) { - return rollout_ == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() + : rollout_; } else { return rolloutBuilder_.getMessage(); } } /** + * + * *
        * Rollout strategy being applied.
        * 
@@ -13942,6 +15938,8 @@ public Builder setRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout va return this; } /** + * + * *
        * Rollout strategy being applied.
        * 
@@ -13960,6 +15958,8 @@ public Builder setRollout( return this; } /** + * + * *
        * Rollout strategy being applied.
        * 
@@ -13970,7 +15970,9 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout if (rolloutBuilder_ == null) { if (rollout_ != null) { rollout_ = - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.newBuilder(rollout_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.newBuilder(rollout_) + .mergeFrom(value) + .buildPartial(); } else { rollout_ = value; } @@ -13982,6 +15984,8 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout return this; } /** + * + * *
        * Rollout strategy being applied.
        * 
@@ -14000,6 +16004,8 @@ public Builder clearRollout() { return this; } /** + * + * *
        * Rollout strategy being applied.
        * 
@@ -14007,11 +16013,13 @@ public Builder clearRollout() { * .google.cloud.osconfig.v1.PatchRollout rollout = 16; */ public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder getRolloutBuilder() { - + onChanged(); return getRolloutFieldBuilder().getBuilder(); } /** + * + * *
        * Rollout strategy being applied.
        * 
@@ -14022,11 +16030,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOr if (rolloutBuilder_ != null) { return rolloutBuilder_.getMessageOrBuilder(); } else { - return rollout_ == null ? - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance() + : rollout_; } } /** + * + * *
        * Rollout strategy being applied.
        * 
@@ -14034,18 +16045,22 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder getRolloutOr * .google.cloud.osconfig.v1.PatchRollout rollout = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder> getRolloutFieldBuilder() { if (rolloutBuilder_ == null) { - rolloutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder>( - getRollout(), - getParentForChildren(), - isClean()); + rolloutBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout, + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder>( + getRollout(), getParentForChildren(), isClean()); rollout_ = null; } return rolloutBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14058,12 +16073,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.PatchJob) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.PatchJob) private static final com.google.cloud.osconfig.v1.PatchJobs.PatchJob DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.PatchJob(); } @@ -14072,16 +16087,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.PatchJob getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchJob(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchJob(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14096,53 +16111,67 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.PatchJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PatchConfigOrBuilder extends + public interface PatchConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.PatchConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Post-patch reboot settings.
      * 
* * .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1; + * * @return The enum numeric value on the wire for rebootConfig. */ int getRebootConfigValue(); /** + * + * *
      * Post-patch reboot settings.
      * 
* * .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1; + * * @return The rebootConfig. */ com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig getRebootConfig(); /** + * + * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.AptSettings apt = 3; + * * @return Whether the apt field is set. */ boolean hasApt(); /** + * + * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.AptSettings apt = 3; + * * @return The apt. */ com.google.cloud.osconfig.v1.PatchJobs.AptSettings getApt(); /** + * + * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
@@ -14153,26 +16182,34 @@ public interface PatchConfigOrBuilder extends
     com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder getAptOrBuilder();
 
     /**
+     *
+     *
      * 
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.YumSettings yum = 4; + * * @return Whether the yum field is set. */ boolean hasYum(); /** + * + * *
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.YumSettings yum = 4; + * * @return The yum. */ com.google.cloud.osconfig.v1.PatchJobs.YumSettings getYum(); /** + * + * *
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
@@ -14183,26 +16220,34 @@ public interface PatchConfigOrBuilder extends
     com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder getYumOrBuilder();
 
     /**
+     *
+     *
      * 
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.GooSettings goo = 5; + * * @return Whether the goo field is set. */ boolean hasGoo(); /** + * + * *
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.GooSettings goo = 5; + * * @return The goo. */ com.google.cloud.osconfig.v1.PatchJobs.GooSettings getGoo(); /** + * + * *
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
@@ -14213,26 +16258,34 @@ public interface PatchConfigOrBuilder extends
     com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder getGooOrBuilder();
 
     /**
+     *
+     *
      * 
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
      * 
* * .google.cloud.osconfig.v1.ZypperSettings zypper = 6; + * * @return Whether the zypper field is set. */ boolean hasZypper(); /** + * + * *
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
      * 
* * .google.cloud.osconfig.v1.ZypperSettings zypper = 6; + * * @return The zypper. */ com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings getZypper(); /** + * + * *
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
@@ -14243,51 +16296,68 @@ public interface PatchConfigOrBuilder extends
     com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder getZypperOrBuilder();
 
     /**
+     *
+     *
      * 
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; + * * @return Whether the windowsUpdate field is set. */ boolean hasWindowsUpdate(); /** + * + * *
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; + * * @return The windowsUpdate. */ com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings getWindowsUpdate(); /** + * + * *
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; */ - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder getWindowsUpdateOrBuilder(); + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder + getWindowsUpdateOrBuilder(); /** + * + * *
      * The `ExecStep` to run before the patch update.
      * 
* * .google.cloud.osconfig.v1.ExecStep pre_step = 8; + * * @return Whether the preStep field is set. */ boolean hasPreStep(); /** + * + * *
      * The `ExecStep` to run before the patch update.
      * 
* * .google.cloud.osconfig.v1.ExecStep pre_step = 8; + * * @return The preStep. */ com.google.cloud.osconfig.v1.PatchJobs.ExecStep getPreStep(); /** + * + * *
      * The `ExecStep` to run before the patch update.
      * 
@@ -14297,24 +16367,32 @@ public interface PatchConfigOrBuilder extends com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder getPreStepOrBuilder(); /** + * + * *
      * The `ExecStep` to run after the patch update.
      * 
* * .google.cloud.osconfig.v1.ExecStep post_step = 9; + * * @return Whether the postStep field is set. */ boolean hasPostStep(); /** + * + * *
      * The `ExecStep` to run after the patch update.
      * 
* * .google.cloud.osconfig.v1.ExecStep post_step = 9; + * * @return The postStep. */ com.google.cloud.osconfig.v1.PatchJobs.ExecStep getPostStep(); /** + * + * *
      * The `ExecStep` to run after the patch update.
      * 
@@ -14324,16 +16402,21 @@ public interface PatchConfigOrBuilder extends com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder getPostStepOrBuilder(); /** + * + * *
      * Allows the patch job to run on Managed instance groups (MIGs).
      * 
* * bool mig_instances_allowed = 10; + * * @return The migInstancesAllowed. */ boolean getMigInstancesAllowed(); } /** + * + * *
    * Patch configuration specifications. Contains details on how to apply the
    * patch(es) to a VM instance.
@@ -14341,31 +16424,31 @@ public interface PatchConfigOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1.PatchConfig}
    */
-  public static final class PatchConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PatchConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.PatchConfig)
       PatchConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PatchConfig.newBuilder() to construct.
     private PatchConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PatchConfig() {
       rebootConfig_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PatchConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PatchConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -14384,115 +16467,145 @@ private PatchConfig(
             case 0:
               done = true;
               break;
-            case 8: {
-              int rawValue = input.readEnum();
+            case 8:
+              {
+                int rawValue = input.readEnum();
 
-              rebootConfig_ = rawValue;
-              break;
-            }
-            case 26: {
-              com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder subBuilder = null;
-              if (apt_ != null) {
-                subBuilder = apt_.toBuilder();
-              }
-              apt_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.AptSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(apt_);
-                apt_ = subBuilder.buildPartial();
+                rebootConfig_ = rawValue;
+                break;
               }
+            case 26:
+              {
+                com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder subBuilder = null;
+                if (apt_ != null) {
+                  subBuilder = apt_.toBuilder();
+                }
+                apt_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchJobs.AptSettings.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(apt_);
+                  apt_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 34: {
-              com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder subBuilder = null;
-              if (yum_ != null) {
-                subBuilder = yum_.toBuilder();
-              }
-              yum_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.YumSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(yum_);
-                yum_ = subBuilder.buildPartial();
+                break;
               }
+            case 34:
+              {
+                com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder subBuilder = null;
+                if (yum_ != null) {
+                  subBuilder = yum_.toBuilder();
+                }
+                yum_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchJobs.YumSettings.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(yum_);
+                  yum_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 42: {
-              com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder subBuilder = null;
-              if (goo_ != null) {
-                subBuilder = goo_.toBuilder();
-              }
-              goo_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.GooSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(goo_);
-                goo_ = subBuilder.buildPartial();
+                break;
               }
+            case 42:
+              {
+                com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder subBuilder = null;
+                if (goo_ != null) {
+                  subBuilder = goo_.toBuilder();
+                }
+                goo_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchJobs.GooSettings.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(goo_);
+                  goo_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 50: {
-              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder subBuilder = null;
-              if (zypper_ != null) {
-                subBuilder = zypper_.toBuilder();
-              }
-              zypper_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(zypper_);
-                zypper_ = subBuilder.buildPartial();
+                break;
               }
+            case 50:
+              {
+                com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder subBuilder = null;
+                if (zypper_ != null) {
+                  subBuilder = zypper_.toBuilder();
+                }
+                zypper_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(zypper_);
+                  zypper_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 58: {
-              com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder subBuilder = null;
-              if (windowsUpdate_ != null) {
-                subBuilder = windowsUpdate_.toBuilder();
-              }
-              windowsUpdate_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(windowsUpdate_);
-                windowsUpdate_ = subBuilder.buildPartial();
+                break;
               }
+            case 58:
+              {
+                com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder subBuilder =
+                    null;
+                if (windowsUpdate_ != null) {
+                  subBuilder = windowsUpdate_.toBuilder();
+                }
+                windowsUpdate_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(windowsUpdate_);
+                  windowsUpdate_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 66: {
-              com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder subBuilder = null;
-              if (preStep_ != null) {
-                subBuilder = preStep_.toBuilder();
+                break;
               }
-              preStep_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.ExecStep.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(preStep_);
-                preStep_ = subBuilder.buildPartial();
+            case 66:
+              {
+                com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder subBuilder = null;
+                if (preStep_ != null) {
+                  subBuilder = preStep_.toBuilder();
+                }
+                preStep_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchJobs.ExecStep.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(preStep_);
+                  preStep_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
+            case 74:
+              {
+                com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder subBuilder = null;
+                if (postStep_ != null) {
+                  subBuilder = postStep_.toBuilder();
+                }
+                postStep_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchJobs.ExecStep.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(postStep_);
+                  postStep_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 74: {
-              com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder subBuilder = null;
-              if (postStep_ != null) {
-                subBuilder = postStep_.toBuilder();
+                break;
               }
-              postStep_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.ExecStep.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(postStep_);
-                postStep_ = subBuilder.buildPartial();
+            case 80:
+              {
+                migInstancesAllowed_ = input.readBool();
+                break;
               }
-
-              break;
-            }
-            case 80: {
-
-              migInstancesAllowed_ = input.readBool();
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -14500,36 +16613,41 @@ private PatchConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchJobs
+          .internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchConfig_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchJobs
+          .internal_static_google_cloud_osconfig_v1_PatchConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.class, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder.class);
+              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.class,
+              com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * Post-patch reboot settings.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1.PatchConfig.RebootConfig} */ - public enum RebootConfig - implements com.google.protobuf.ProtocolMessageEnum { + public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The default behavior is DEFAULT.
        * 
@@ -14538,6 +16656,8 @@ public enum RebootConfig */ REBOOT_CONFIG_UNSPECIFIED(0), /** + * + * *
        * The agent decides if a reboot is necessary by checking signals such as
        * registry keys on Windows or `/var/run/reboot-required` on APT based
@@ -14549,6 +16669,8 @@ public enum RebootConfig
        */
       DEFAULT(1),
       /**
+       *
+       *
        * 
        * Always reboot the machine after the update completes.
        * 
@@ -14557,6 +16679,8 @@ public enum RebootConfig */ ALWAYS(2), /** + * + * *
        * Never reboot the machine after the update completes.
        * 
@@ -14568,6 +16692,8 @@ public enum RebootConfig ; /** + * + * *
        * The default behavior is DEFAULT.
        * 
@@ -14576,6 +16702,8 @@ public enum RebootConfig */ public static final int REBOOT_CONFIG_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The agent decides if a reboot is necessary by checking signals such as
        * registry keys on Windows or `/var/run/reboot-required` on APT based
@@ -14587,6 +16715,8 @@ public enum RebootConfig
        */
       public static final int DEFAULT_VALUE = 1;
       /**
+       *
+       *
        * 
        * Always reboot the machine after the update completes.
        * 
@@ -14595,6 +16725,8 @@ public enum RebootConfig */ public static final int ALWAYS_VALUE = 2; /** + * + * *
        * Never reboot the machine after the update completes.
        * 
@@ -14603,7 +16735,6 @@ public enum RebootConfig */ public static final int NEVER_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -14628,50 +16759,53 @@ public static RebootConfig valueOf(int value) { */ public static RebootConfig forNumber(int value) { switch (value) { - case 0: return REBOOT_CONFIG_UNSPECIFIED; - case 1: return DEFAULT; - case 2: return ALWAYS; - case 3: return NEVER; - default: return null; + case 0: + return REBOOT_CONFIG_UNSPECIFIED; + case 1: + return DEFAULT; + case 2: + return ALWAYS; + case 3: + return NEVER; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - RebootConfig> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RebootConfig findValueByNumber(int number) { - return RebootConfig.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RebootConfig findValueByNumber(int number) { + return RebootConfig.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDescriptor() + .getEnumTypes() + .get(0); } private static final RebootConfig[] VALUES = values(); - public static RebootConfig valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RebootConfig valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -14691,39 +16825,53 @@ private RebootConfig(int value) { public static final int REBOOT_CONFIG_FIELD_NUMBER = 1; private int rebootConfig_; /** + * + * *
      * Post-patch reboot settings.
      * 
* * .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1; + * * @return The enum numeric value on the wire for rebootConfig. */ - @java.lang.Override public int getRebootConfigValue() { + @java.lang.Override + public int getRebootConfigValue() { return rebootConfig_; } /** + * + * *
      * Post-patch reboot settings.
      * 
* * .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1; + * * @return The rebootConfig. */ - @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig getRebootConfig() { + @java.lang.Override + public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig getRebootConfig() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig result = com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.valueOf(rebootConfig_); - return result == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig result = + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.valueOf(rebootConfig_); + return result == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.UNRECOGNIZED + : result; } public static final int APT_FIELD_NUMBER = 3; private com.google.cloud.osconfig.v1.PatchJobs.AptSettings apt_; /** + * + * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.AptSettings apt = 3; + * * @return Whether the apt field is set. */ @java.lang.Override @@ -14731,19 +16879,26 @@ public boolean hasApt() { return apt_ != null; } /** + * + * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.AptSettings apt = 3; + * * @return The apt. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.AptSettings getApt() { - return apt_ == null ? com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDefaultInstance() : apt_; + return apt_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDefaultInstance() + : apt_; } /** + * + * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
@@ -14759,12 +16914,15 @@ public com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder getAptOrBuild
     public static final int YUM_FIELD_NUMBER = 4;
     private com.google.cloud.osconfig.v1.PatchJobs.YumSettings yum_;
     /**
+     *
+     *
      * 
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.YumSettings yum = 4; + * * @return Whether the yum field is set. */ @java.lang.Override @@ -14772,19 +16930,26 @@ public boolean hasYum() { return yum_ != null; } /** + * + * *
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.YumSettings yum = 4; + * * @return The yum. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.YumSettings getYum() { - return yum_ == null ? com.google.cloud.osconfig.v1.PatchJobs.YumSettings.getDefaultInstance() : yum_; + return yum_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.YumSettings.getDefaultInstance() + : yum_; } /** + * + * *
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
@@ -14800,12 +16965,15 @@ public com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder getYumOrBuild
     public static final int GOO_FIELD_NUMBER = 5;
     private com.google.cloud.osconfig.v1.PatchJobs.GooSettings goo_;
     /**
+     *
+     *
      * 
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.GooSettings goo = 5; + * * @return Whether the goo field is set. */ @java.lang.Override @@ -14813,19 +16981,26 @@ public boolean hasGoo() { return goo_ != null; } /** + * + * *
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1.GooSettings goo = 5; + * * @return The goo. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.GooSettings getGoo() { - return goo_ == null ? com.google.cloud.osconfig.v1.PatchJobs.GooSettings.getDefaultInstance() : goo_; + return goo_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.GooSettings.getDefaultInstance() + : goo_; } /** + * + * *
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
@@ -14841,12 +17016,15 @@ public com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder getGooOrBuild
     public static final int ZYPPER_FIELD_NUMBER = 6;
     private com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings zypper_;
     /**
+     *
+     *
      * 
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
      * 
* * .google.cloud.osconfig.v1.ZypperSettings zypper = 6; + * * @return Whether the zypper field is set. */ @java.lang.Override @@ -14854,19 +17032,26 @@ public boolean hasZypper() { return zypper_ != null; } /** + * + * *
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
      * 
* * .google.cloud.osconfig.v1.ZypperSettings zypper = 6; + * * @return The zypper. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings getZypper() { - return zypper_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.getDefaultInstance() : zypper_; + return zypper_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.getDefaultInstance() + : zypper_; } /** + * + * *
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
@@ -14882,11 +17067,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder getZypperO
     public static final int WINDOWS_UPDATE_FIELD_NUMBER = 7;
     private com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings windowsUpdate_;
     /**
+     *
+     *
      * 
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; + * * @return Whether the windowsUpdate field is set. */ @java.lang.Override @@ -14894,18 +17082,25 @@ public boolean hasWindowsUpdate() { return windowsUpdate_ != null; } /** + * + * *
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; + * * @return The windowsUpdate. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings getWindowsUpdate() { - return windowsUpdate_ == null ? com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDefaultInstance() : windowsUpdate_; + return windowsUpdate_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDefaultInstance() + : windowsUpdate_; } /** + * + * *
      * Windows update settings. Use this override the default windows patch rules.
      * 
@@ -14913,18 +17108,22 @@ public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings getWindowsUp * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder getWindowsUpdateOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder + getWindowsUpdateOrBuilder() { return getWindowsUpdate(); } public static final int PRE_STEP_FIELD_NUMBER = 8; private com.google.cloud.osconfig.v1.PatchJobs.ExecStep preStep_; /** + * + * *
      * The `ExecStep` to run before the patch update.
      * 
* * .google.cloud.osconfig.v1.ExecStep pre_step = 8; + * * @return Whether the preStep field is set. */ @java.lang.Override @@ -14932,18 +17131,25 @@ public boolean hasPreStep() { return preStep_ != null; } /** + * + * *
      * The `ExecStep` to run before the patch update.
      * 
* * .google.cloud.osconfig.v1.ExecStep pre_step = 8; + * * @return The preStep. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ExecStep getPreStep() { - return preStep_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() : preStep_; + return preStep_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() + : preStep_; } /** + * + * *
      * The `ExecStep` to run before the patch update.
      * 
@@ -14958,11 +17164,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder getPreStepOrBuil public static final int POST_STEP_FIELD_NUMBER = 9; private com.google.cloud.osconfig.v1.PatchJobs.ExecStep postStep_; /** + * + * *
      * The `ExecStep` to run after the patch update.
      * 
* * .google.cloud.osconfig.v1.ExecStep post_step = 9; + * * @return Whether the postStep field is set. */ @java.lang.Override @@ -14970,18 +17179,25 @@ public boolean hasPostStep() { return postStep_ != null; } /** + * + * *
      * The `ExecStep` to run after the patch update.
      * 
* * .google.cloud.osconfig.v1.ExecStep post_step = 9; + * * @return The postStep. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ExecStep getPostStep() { - return postStep_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() : postStep_; + return postStep_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() + : postStep_; } /** + * + * *
      * The `ExecStep` to run after the patch update.
      * 
@@ -14996,11 +17212,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder getPostStepOrBui public static final int MIG_INSTANCES_ALLOWED_FIELD_NUMBER = 10; private boolean migInstancesAllowed_; /** + * + * *
      * Allows the patch job to run on Managed instance groups (MIGs).
      * 
* * bool mig_instances_allowed = 10; + * * @return The migInstancesAllowed. */ @java.lang.Override @@ -15009,6 +17228,7 @@ public boolean getMigInstancesAllowed() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15020,9 +17240,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (rebootConfig_ != com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.REBOOT_CONFIG_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (rebootConfig_ + != com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig + .REBOOT_CONFIG_UNSPECIFIED + .getNumber()) { output.writeEnum(1, rebootConfig_); } if (apt_ != null) { @@ -15058,41 +17280,35 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (rebootConfig_ != com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.REBOOT_CONFIG_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, rebootConfig_); + if (rebootConfig_ + != com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig + .REBOOT_CONFIG_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, rebootConfig_); } if (apt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getApt()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getApt()); } if (yum_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getYum()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getYum()); } if (goo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getGoo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getGoo()); } if (zypper_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getZypper()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getZypper()); } if (windowsUpdate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getWindowsUpdate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getWindowsUpdate()); } if (preStep_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getPreStep()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPreStep()); } if (postStep_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getPostStep()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getPostStep()); } if (migInstancesAllowed_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(10, migInstancesAllowed_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, migInstancesAllowed_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -15102,51 +17318,44 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchConfig)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig other = (com.google.cloud.osconfig.v1.PatchJobs.PatchConfig) obj; + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig other = + (com.google.cloud.osconfig.v1.PatchJobs.PatchConfig) obj; if (rebootConfig_ != other.rebootConfig_) return false; if (hasApt() != other.hasApt()) return false; if (hasApt()) { - if (!getApt() - .equals(other.getApt())) return false; + if (!getApt().equals(other.getApt())) return false; } if (hasYum() != other.hasYum()) return false; if (hasYum()) { - if (!getYum() - .equals(other.getYum())) return false; + if (!getYum().equals(other.getYum())) return false; } if (hasGoo() != other.hasGoo()) return false; if (hasGoo()) { - if (!getGoo() - .equals(other.getGoo())) return false; + if (!getGoo().equals(other.getGoo())) return false; } if (hasZypper() != other.hasZypper()) return false; if (hasZypper()) { - if (!getZypper() - .equals(other.getZypper())) return false; + if (!getZypper().equals(other.getZypper())) return false; } if (hasWindowsUpdate() != other.hasWindowsUpdate()) return false; if (hasWindowsUpdate()) { - if (!getWindowsUpdate() - .equals(other.getWindowsUpdate())) return false; + if (!getWindowsUpdate().equals(other.getWindowsUpdate())) return false; } if (hasPreStep() != other.hasPreStep()) return false; if (hasPreStep()) { - if (!getPreStep() - .equals(other.getPreStep())) return false; + if (!getPreStep().equals(other.getPreStep())) return false; } if (hasPostStep() != other.hasPostStep()) return false; if (hasPostStep()) { - if (!getPostStep() - .equals(other.getPostStep())) return false; + if (!getPostStep().equals(other.getPostStep())) return false; } - if (getMigInstancesAllowed() - != other.getMigInstancesAllowed()) return false; + if (getMigInstancesAllowed() != other.getMigInstancesAllowed()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -15189,95 +17398,100 @@ public int hashCode() { hash = (53 * hash) + getPostStep().hashCode(); } hash = (37 * hash) + MIG_INSTANCES_ALLOWED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getMigInstancesAllowed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getMigInstancesAllowed()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig 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.osconfig.v1.PatchJobs.PatchConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -15287,6 +17501,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Patch configuration specifications. Contains details on how to apply the
      * patch(es) to a VM instance.
@@ -15294,21 +17510,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.PatchConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.PatchConfig)
         com.google.cloud.osconfig.v1.PatchJobs.PatchConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchConfig_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_PatchConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.class, com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.class,
+                com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.newBuilder()
@@ -15316,16 +17535,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -15379,9 +17597,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor;
       }
 
       @java.lang.Override
@@ -15400,7 +17618,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig buildPartial() {
-        com.google.cloud.osconfig.v1.PatchJobs.PatchConfig result = new com.google.cloud.osconfig.v1.PatchJobs.PatchConfig(this);
+        com.google.cloud.osconfig.v1.PatchJobs.PatchConfig result =
+            new com.google.cloud.osconfig.v1.PatchJobs.PatchConfig(this);
         result.rebootConfig_ = rebootConfig_;
         if (aptBuilder_ == null) {
           result.apt_ = apt_;
@@ -15446,38 +17665,41 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchJobs.PatchConfig) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchConfig)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -15485,7 +17707,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig other) {
-        if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.getDefaultInstance())
+          return this;
         if (other.rebootConfig_ != 0) {
           setRebootConfigValue(other.getRebootConfigValue());
         }
@@ -15532,7 +17755,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.PatchConfig) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.PatchJobs.PatchConfig) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -15544,73 +17768,93 @@ public Builder mergeFrom(
 
       private int rebootConfig_ = 0;
       /**
+       *
+       *
        * 
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1; + * * @return The enum numeric value on the wire for rebootConfig. */ - @java.lang.Override public int getRebootConfigValue() { + @java.lang.Override + public int getRebootConfigValue() { return rebootConfig_; } /** + * + * *
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1; + * * @param value The enum numeric value on the wire for rebootConfig to set. * @return This builder for chaining. */ public Builder setRebootConfigValue(int value) { - + rebootConfig_ = value; onChanged(); return this; } /** + * + * *
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1; + * * @return The rebootConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig getRebootConfig() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig result = com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.valueOf(rebootConfig_); - return result == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig result = + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.valueOf(rebootConfig_); + return result == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig.UNRECOGNIZED + : result; } /** + * + * *
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1; + * * @param value The rebootConfig to set. * @return This builder for chaining. */ - public Builder setRebootConfig(com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig value) { + public Builder setRebootConfig( + com.google.cloud.osconfig.v1.PatchJobs.PatchConfig.RebootConfig value) { if (value == null) { throw new NullPointerException(); } - + rebootConfig_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1; + * * @return This builder for chaining. */ public Builder clearRebootConfig() { - + rebootConfig_ = 0; onChanged(); return this; @@ -15618,36 +17862,49 @@ public Builder clearRebootConfig() { private com.google.cloud.osconfig.v1.PatchJobs.AptSettings apt_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.AptSettings, com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder> aptBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.AptSettings, + com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder, + com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder> + aptBuilder_; /** + * + * *
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1.AptSettings apt = 3; + * * @return Whether the apt field is set. */ public boolean hasApt() { return aptBuilder_ != null || apt_ != null; } /** + * + * *
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1.AptSettings apt = 3; + * * @return The apt. */ public com.google.cloud.osconfig.v1.PatchJobs.AptSettings getApt() { if (aptBuilder_ == null) { - return apt_ == null ? com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDefaultInstance() : apt_; + return apt_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDefaultInstance() + : apt_; } else { return aptBuilder_.getMessage(); } } /** + * + * *
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -15669,6 +17926,8 @@ public Builder setApt(com.google.cloud.osconfig.v1.PatchJobs.AptSettings value)
         return this;
       }
       /**
+       *
+       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -15688,6 +17947,8 @@ public Builder setApt(
         return this;
       }
       /**
+       *
+       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -15699,7 +17960,9 @@ public Builder mergeApt(com.google.cloud.osconfig.v1.PatchJobs.AptSettings value
         if (aptBuilder_ == null) {
           if (apt_ != null) {
             apt_ =
-              com.google.cloud.osconfig.v1.PatchJobs.AptSettings.newBuilder(apt_).mergeFrom(value).buildPartial();
+                com.google.cloud.osconfig.v1.PatchJobs.AptSettings.newBuilder(apt_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             apt_ = value;
           }
@@ -15711,6 +17974,8 @@ public Builder mergeApt(com.google.cloud.osconfig.v1.PatchJobs.AptSettings value
         return this;
       }
       /**
+       *
+       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -15730,6 +17995,8 @@ public Builder clearApt() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -15738,11 +18005,13 @@ public Builder clearApt() {
        * .google.cloud.osconfig.v1.AptSettings apt = 3;
        */
       public com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder getAptBuilder() {
-        
+
         onChanged();
         return getAptFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -15754,11 +18023,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder getAptOrBuild
         if (aptBuilder_ != null) {
           return aptBuilder_.getMessageOrBuilder();
         } else {
-          return apt_ == null ?
-              com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDefaultInstance() : apt_;
+          return apt_ == null
+              ? com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDefaultInstance()
+              : apt_;
         }
       }
       /**
+       *
+       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -15767,14 +18039,17 @@ public com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder getAptOrBuild
        * .google.cloud.osconfig.v1.AptSettings apt = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.PatchJobs.AptSettings, com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder> 
+              com.google.cloud.osconfig.v1.PatchJobs.AptSettings,
+              com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder,
+              com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder>
           getAptFieldBuilder() {
         if (aptBuilder_ == null) {
-          aptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.PatchJobs.AptSettings, com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder>(
-                  getApt(),
-                  getParentForChildren(),
-                  isClean());
+          aptBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1.PatchJobs.AptSettings,
+                  com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder,
+                  com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder>(
+                  getApt(), getParentForChildren(), isClean());
           apt_ = null;
         }
         return aptBuilder_;
@@ -15782,36 +18057,49 @@ public com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder getAptOrBuild
 
       private com.google.cloud.osconfig.v1.PatchJobs.YumSettings yum_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.PatchJobs.YumSettings, com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder> yumBuilder_;
+              com.google.cloud.osconfig.v1.PatchJobs.YumSettings,
+              com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder,
+              com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder>
+          yumBuilder_;
       /**
+       *
+       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1.YumSettings yum = 4; + * * @return Whether the yum field is set. */ public boolean hasYum() { return yumBuilder_ != null || yum_ != null; } /** + * + * *
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1.YumSettings yum = 4; + * * @return The yum. */ public com.google.cloud.osconfig.v1.PatchJobs.YumSettings getYum() { if (yumBuilder_ == null) { - return yum_ == null ? com.google.cloud.osconfig.v1.PatchJobs.YumSettings.getDefaultInstance() : yum_; + return yum_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.YumSettings.getDefaultInstance() + : yum_; } else { return yumBuilder_.getMessage(); } } /** + * + * *
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -15833,6 +18121,8 @@ public Builder setYum(com.google.cloud.osconfig.v1.PatchJobs.YumSettings value)
         return this;
       }
       /**
+       *
+       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -15852,6 +18142,8 @@ public Builder setYum(
         return this;
       }
       /**
+       *
+       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -15863,7 +18155,9 @@ public Builder mergeYum(com.google.cloud.osconfig.v1.PatchJobs.YumSettings value
         if (yumBuilder_ == null) {
           if (yum_ != null) {
             yum_ =
-              com.google.cloud.osconfig.v1.PatchJobs.YumSettings.newBuilder(yum_).mergeFrom(value).buildPartial();
+                com.google.cloud.osconfig.v1.PatchJobs.YumSettings.newBuilder(yum_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             yum_ = value;
           }
@@ -15875,6 +18169,8 @@ public Builder mergeYum(com.google.cloud.osconfig.v1.PatchJobs.YumSettings value
         return this;
       }
       /**
+       *
+       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -15894,6 +18190,8 @@ public Builder clearYum() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -15902,11 +18200,13 @@ public Builder clearYum() {
        * .google.cloud.osconfig.v1.YumSettings yum = 4;
        */
       public com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder getYumBuilder() {
-        
+
         onChanged();
         return getYumFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -15918,11 +18218,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder getYumOrBuild
         if (yumBuilder_ != null) {
           return yumBuilder_.getMessageOrBuilder();
         } else {
-          return yum_ == null ?
-              com.google.cloud.osconfig.v1.PatchJobs.YumSettings.getDefaultInstance() : yum_;
+          return yum_ == null
+              ? com.google.cloud.osconfig.v1.PatchJobs.YumSettings.getDefaultInstance()
+              : yum_;
         }
       }
       /**
+       *
+       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -15931,14 +18234,17 @@ public com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder getYumOrBuild
        * .google.cloud.osconfig.v1.YumSettings yum = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.PatchJobs.YumSettings, com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder> 
+              com.google.cloud.osconfig.v1.PatchJobs.YumSettings,
+              com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder,
+              com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder>
           getYumFieldBuilder() {
         if (yumBuilder_ == null) {
-          yumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.PatchJobs.YumSettings, com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder>(
-                  getYum(),
-                  getParentForChildren(),
-                  isClean());
+          yumBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1.PatchJobs.YumSettings,
+                  com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder,
+                  com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder>(
+                  getYum(), getParentForChildren(), isClean());
           yum_ = null;
         }
         return yumBuilder_;
@@ -15946,36 +18252,49 @@ public com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder getYumOrBuild
 
       private com.google.cloud.osconfig.v1.PatchJobs.GooSettings goo_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.PatchJobs.GooSettings, com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder> gooBuilder_;
+              com.google.cloud.osconfig.v1.PatchJobs.GooSettings,
+              com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder,
+              com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder>
+          gooBuilder_;
       /**
+       *
+       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1.GooSettings goo = 5; + * * @return Whether the goo field is set. */ public boolean hasGoo() { return gooBuilder_ != null || goo_ != null; } /** + * + * *
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1.GooSettings goo = 5; + * * @return The goo. */ public com.google.cloud.osconfig.v1.PatchJobs.GooSettings getGoo() { if (gooBuilder_ == null) { - return goo_ == null ? com.google.cloud.osconfig.v1.PatchJobs.GooSettings.getDefaultInstance() : goo_; + return goo_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.GooSettings.getDefaultInstance() + : goo_; } else { return gooBuilder_.getMessage(); } } /** + * + * *
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -15997,6 +18316,8 @@ public Builder setGoo(com.google.cloud.osconfig.v1.PatchJobs.GooSettings value)
         return this;
       }
       /**
+       *
+       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -16016,6 +18337,8 @@ public Builder setGoo(
         return this;
       }
       /**
+       *
+       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -16027,7 +18350,9 @@ public Builder mergeGoo(com.google.cloud.osconfig.v1.PatchJobs.GooSettings value
         if (gooBuilder_ == null) {
           if (goo_ != null) {
             goo_ =
-              com.google.cloud.osconfig.v1.PatchJobs.GooSettings.newBuilder(goo_).mergeFrom(value).buildPartial();
+                com.google.cloud.osconfig.v1.PatchJobs.GooSettings.newBuilder(goo_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             goo_ = value;
           }
@@ -16039,6 +18364,8 @@ public Builder mergeGoo(com.google.cloud.osconfig.v1.PatchJobs.GooSettings value
         return this;
       }
       /**
+       *
+       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -16058,6 +18385,8 @@ public Builder clearGoo() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -16066,11 +18395,13 @@ public Builder clearGoo() {
        * .google.cloud.osconfig.v1.GooSettings goo = 5;
        */
       public com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder getGooBuilder() {
-        
+
         onChanged();
         return getGooFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -16082,11 +18413,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder getGooOrBuild
         if (gooBuilder_ != null) {
           return gooBuilder_.getMessageOrBuilder();
         } else {
-          return goo_ == null ?
-              com.google.cloud.osconfig.v1.PatchJobs.GooSettings.getDefaultInstance() : goo_;
+          return goo_ == null
+              ? com.google.cloud.osconfig.v1.PatchJobs.GooSettings.getDefaultInstance()
+              : goo_;
         }
       }
       /**
+       *
+       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -16095,14 +18429,17 @@ public com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder getGooOrBuild
        * .google.cloud.osconfig.v1.GooSettings goo = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.PatchJobs.GooSettings, com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder> 
+              com.google.cloud.osconfig.v1.PatchJobs.GooSettings,
+              com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder,
+              com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder>
           getGooFieldBuilder() {
         if (gooBuilder_ == null) {
-          gooBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.PatchJobs.GooSettings, com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder>(
-                  getGoo(),
-                  getParentForChildren(),
-                  isClean());
+          gooBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1.PatchJobs.GooSettings,
+                  com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder,
+                  com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder>(
+                  getGoo(), getParentForChildren(), isClean());
           goo_ = null;
         }
         return gooBuilder_;
@@ -16110,36 +18447,49 @@ public com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder getGooOrBuild
 
       private com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings zypper_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings, com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder> zypperBuilder_;
+              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings,
+              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder,
+              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder>
+          zypperBuilder_;
       /**
+       *
+       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
        * 
* * .google.cloud.osconfig.v1.ZypperSettings zypper = 6; + * * @return Whether the zypper field is set. */ public boolean hasZypper() { return zypperBuilder_ != null || zypper_ != null; } /** + * + * *
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
        * 
* * .google.cloud.osconfig.v1.ZypperSettings zypper = 6; + * * @return The zypper. */ public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings getZypper() { if (zypperBuilder_ == null) { - return zypper_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.getDefaultInstance() : zypper_; + return zypper_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.getDefaultInstance() + : zypper_; } else { return zypperBuilder_.getMessage(); } } /** + * + * *
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -16161,6 +18511,8 @@ public Builder setZypper(com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings v
         return this;
       }
       /**
+       *
+       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -16180,6 +18532,8 @@ public Builder setZypper(
         return this;
       }
       /**
+       *
+       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -16191,7 +18545,9 @@ public Builder mergeZypper(com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings
         if (zypperBuilder_ == null) {
           if (zypper_ != null) {
             zypper_ =
-              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.newBuilder(zypper_).mergeFrom(value).buildPartial();
+                com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.newBuilder(zypper_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             zypper_ = value;
           }
@@ -16203,6 +18559,8 @@ public Builder mergeZypper(com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings
         return this;
       }
       /**
+       *
+       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -16222,6 +18580,8 @@ public Builder clearZypper() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -16230,11 +18590,13 @@ public Builder clearZypper() {
        * .google.cloud.osconfig.v1.ZypperSettings zypper = 6;
        */
       public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder getZypperBuilder() {
-        
+
         onChanged();
         return getZypperFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -16246,11 +18608,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder getZypperO
         if (zypperBuilder_ != null) {
           return zypperBuilder_.getMessageOrBuilder();
         } else {
-          return zypper_ == null ?
-              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.getDefaultInstance() : zypper_;
+          return zypper_ == null
+              ? com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.getDefaultInstance()
+              : zypper_;
         }
       }
       /**
+       *
+       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -16259,14 +18624,17 @@ public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder getZypperO
        * .google.cloud.osconfig.v1.ZypperSettings zypper = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings, com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder> 
+              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings,
+              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder,
+              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder>
           getZypperFieldBuilder() {
         if (zypperBuilder_ == null) {
-          zypperBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings, com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder>(
-                  getZypper(),
-                  getParentForChildren(),
-                  isClean());
+          zypperBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings,
+                  com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder,
+                  com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder>(
+                  getZypper(), getParentForChildren(), isClean());
           zypper_ = null;
         }
         return zypperBuilder_;
@@ -16274,41 +18642,55 @@ public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder getZypperO
 
       private com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings windowsUpdate_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder> windowsUpdateBuilder_;
+              com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings,
+              com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder,
+              com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder>
+          windowsUpdateBuilder_;
       /**
+       *
+       *
        * 
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; + * * @return Whether the windowsUpdate field is set. */ public boolean hasWindowsUpdate() { return windowsUpdateBuilder_ != null || windowsUpdate_ != null; } /** + * + * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; + * * @return The windowsUpdate. */ public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings getWindowsUpdate() { if (windowsUpdateBuilder_ == null) { - return windowsUpdate_ == null ? com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDefaultInstance() : windowsUpdate_; + return windowsUpdate_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDefaultInstance() + : windowsUpdate_; } else { return windowsUpdateBuilder_.getMessage(); } } /** + * + * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; */ - public Builder setWindowsUpdate(com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings value) { + public Builder setWindowsUpdate( + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings value) { if (windowsUpdateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -16322,6 +18704,8 @@ public Builder setWindowsUpdate(com.google.cloud.osconfig.v1.PatchJobs.WindowsUp return this; } /** + * + * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
@@ -16340,17 +18724,23 @@ public Builder setWindowsUpdate( return this; } /** + * + * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; */ - public Builder mergeWindowsUpdate(com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings value) { + public Builder mergeWindowsUpdate( + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings value) { if (windowsUpdateBuilder_ == null) { if (windowsUpdate_ != null) { windowsUpdate_ = - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.newBuilder(windowsUpdate_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.newBuilder( + windowsUpdate_) + .mergeFrom(value) + .buildPartial(); } else { windowsUpdate_ = value; } @@ -16362,6 +18752,8 @@ public Builder mergeWindowsUpdate(com.google.cloud.osconfig.v1.PatchJobs.Windows return this; } /** + * + * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
@@ -16380,33 +18772,42 @@ public Builder clearWindowsUpdate() { return this; } /** + * + * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; */ - public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder getWindowsUpdateBuilder() { - + public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder + getWindowsUpdateBuilder() { + onChanged(); return getWindowsUpdateFieldBuilder().getBuilder(); } /** + * + * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; */ - public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder getWindowsUpdateOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder + getWindowsUpdateOrBuilder() { if (windowsUpdateBuilder_ != null) { return windowsUpdateBuilder_.getMessageOrBuilder(); } else { - return windowsUpdate_ == null ? - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDefaultInstance() : windowsUpdate_; + return windowsUpdate_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDefaultInstance() + : windowsUpdate_; } } /** + * + * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
@@ -16414,14 +18815,17 @@ public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder get * .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings, + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder, + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder> getWindowsUpdateFieldBuilder() { if (windowsUpdateBuilder_ == null) { - windowsUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder>( - getWindowsUpdate(), - getParentForChildren(), - isClean()); + windowsUpdateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings, + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder, + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder>( + getWindowsUpdate(), getParentForChildren(), isClean()); windowsUpdate_ = null; } return windowsUpdateBuilder_; @@ -16429,34 +18833,47 @@ public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder get private com.google.cloud.osconfig.v1.PatchJobs.ExecStep preStep_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStep, com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder> preStepBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.ExecStep, + com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder> + preStepBuilder_; /** + * + * *
        * The `ExecStep` to run before the patch update.
        * 
* * .google.cloud.osconfig.v1.ExecStep pre_step = 8; + * * @return Whether the preStep field is set. */ public boolean hasPreStep() { return preStepBuilder_ != null || preStep_ != null; } /** + * + * *
        * The `ExecStep` to run before the patch update.
        * 
* * .google.cloud.osconfig.v1.ExecStep pre_step = 8; + * * @return The preStep. */ public com.google.cloud.osconfig.v1.PatchJobs.ExecStep getPreStep() { if (preStepBuilder_ == null) { - return preStep_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() : preStep_; + return preStep_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() + : preStep_; } else { return preStepBuilder_.getMessage(); } } /** + * + * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -16477,6 +18894,8 @@ public Builder setPreStep(com.google.cloud.osconfig.v1.PatchJobs.ExecStep value) return this; } /** + * + * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -16495,6 +18914,8 @@ public Builder setPreStep( return this; } /** + * + * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -16505,7 +18926,9 @@ public Builder mergePreStep(com.google.cloud.osconfig.v1.PatchJobs.ExecStep valu if (preStepBuilder_ == null) { if (preStep_ != null) { preStep_ = - com.google.cloud.osconfig.v1.PatchJobs.ExecStep.newBuilder(preStep_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.ExecStep.newBuilder(preStep_) + .mergeFrom(value) + .buildPartial(); } else { preStep_ = value; } @@ -16517,6 +18940,8 @@ public Builder mergePreStep(com.google.cloud.osconfig.v1.PatchJobs.ExecStep valu return this; } /** + * + * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -16535,6 +18960,8 @@ public Builder clearPreStep() { return this; } /** + * + * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -16542,11 +18969,13 @@ public Builder clearPreStep() { * .google.cloud.osconfig.v1.ExecStep pre_step = 8; */ public com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder getPreStepBuilder() { - + onChanged(); return getPreStepFieldBuilder().getBuilder(); } /** + * + * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -16557,11 +18986,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder getPreStepOrBuil if (preStepBuilder_ != null) { return preStepBuilder_.getMessageOrBuilder(); } else { - return preStep_ == null ? - com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() : preStep_; + return preStep_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() + : preStep_; } } /** + * + * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -16569,14 +19001,17 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder getPreStepOrBuil * .google.cloud.osconfig.v1.ExecStep pre_step = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStep, com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.ExecStep, + com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder> getPreStepFieldBuilder() { if (preStepBuilder_ == null) { - preStepBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStep, com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder>( - getPreStep(), - getParentForChildren(), - isClean()); + preStepBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.ExecStep, + com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder>( + getPreStep(), getParentForChildren(), isClean()); preStep_ = null; } return preStepBuilder_; @@ -16584,34 +19019,47 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder getPreStepOrBuil private com.google.cloud.osconfig.v1.PatchJobs.ExecStep postStep_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStep, com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder> postStepBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.ExecStep, + com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder> + postStepBuilder_; /** + * + * *
        * The `ExecStep` to run after the patch update.
        * 
* * .google.cloud.osconfig.v1.ExecStep post_step = 9; + * * @return Whether the postStep field is set. */ public boolean hasPostStep() { return postStepBuilder_ != null || postStep_ != null; } /** + * + * *
        * The `ExecStep` to run after the patch update.
        * 
* * .google.cloud.osconfig.v1.ExecStep post_step = 9; + * * @return The postStep. */ public com.google.cloud.osconfig.v1.PatchJobs.ExecStep getPostStep() { if (postStepBuilder_ == null) { - return postStep_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() : postStep_; + return postStep_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() + : postStep_; } else { return postStepBuilder_.getMessage(); } } /** + * + * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -16632,6 +19080,8 @@ public Builder setPostStep(com.google.cloud.osconfig.v1.PatchJobs.ExecStep value return this; } /** + * + * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -16650,6 +19100,8 @@ public Builder setPostStep( return this; } /** + * + * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -16660,7 +19112,9 @@ public Builder mergePostStep(com.google.cloud.osconfig.v1.PatchJobs.ExecStep val if (postStepBuilder_ == null) { if (postStep_ != null) { postStep_ = - com.google.cloud.osconfig.v1.PatchJobs.ExecStep.newBuilder(postStep_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.ExecStep.newBuilder(postStep_) + .mergeFrom(value) + .buildPartial(); } else { postStep_ = value; } @@ -16672,6 +19126,8 @@ public Builder mergePostStep(com.google.cloud.osconfig.v1.PatchJobs.ExecStep val return this; } /** + * + * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -16690,6 +19146,8 @@ public Builder clearPostStep() { return this; } /** + * + * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -16697,11 +19155,13 @@ public Builder clearPostStep() { * .google.cloud.osconfig.v1.ExecStep post_step = 9; */ public com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder getPostStepBuilder() { - + onChanged(); return getPostStepFieldBuilder().getBuilder(); } /** + * + * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -16712,11 +19172,14 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder getPostStepOrBui if (postStepBuilder_ != null) { return postStepBuilder_.getMessageOrBuilder(); } else { - return postStep_ == null ? - com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() : postStep_; + return postStep_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance() + : postStep_; } } /** + * + * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -16724,26 +19187,32 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder getPostStepOrBui * .google.cloud.osconfig.v1.ExecStep post_step = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStep, com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.ExecStep, + com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder> getPostStepFieldBuilder() { if (postStepBuilder_ == null) { - postStepBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStep, com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder>( - getPostStep(), - getParentForChildren(), - isClean()); + postStepBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.ExecStep, + com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder>( + getPostStep(), getParentForChildren(), isClean()); postStep_ = null; } return postStepBuilder_; } - private boolean migInstancesAllowed_ ; + private boolean migInstancesAllowed_; /** + * + * *
        * Allows the patch job to run on Managed instance groups (MIGs).
        * 
* * bool mig_instances_allowed = 10; + * * @return The migInstancesAllowed. */ @java.lang.Override @@ -16751,34 +19220,41 @@ public boolean getMigInstancesAllowed() { return migInstancesAllowed_; } /** + * + * *
        * Allows the patch job to run on Managed instance groups (MIGs).
        * 
* * bool mig_instances_allowed = 10; + * * @param value The migInstancesAllowed to set. * @return This builder for chaining. */ public Builder setMigInstancesAllowed(boolean value) { - + migInstancesAllowed_ = value; onChanged(); return this; } /** + * + * *
        * Allows the patch job to run on Managed instance groups (MIGs).
        * 
* * bool mig_instances_allowed = 10; + * * @return This builder for chaining. */ public Builder clearMigInstancesAllowed() { - + migInstancesAllowed_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16791,12 +19267,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.PatchConfig) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.PatchConfig) private static final com.google.cloud.osconfig.v1.PatchJobs.PatchConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.PatchConfig(); } @@ -16805,16 +19281,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16829,44 +19305,44 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.PatchConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface InstanceOrBuilder extends + public interface InstanceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.Instance) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * Namespace for instance state enums.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.Instance} */ - public static final class Instance extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Instance extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.Instance) InstanceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Instance.newBuilder() to construct. private Instance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Instance() { - } + + private Instance() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Instance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Instance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -16885,13 +19361,13 @@ private Instance( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -16899,36 +19375,41 @@ private Instance( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_Instance_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_Instance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_Instance_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.Instance.class, com.google.cloud.osconfig.v1.PatchJobs.Instance.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.Instance.class, + com.google.cloud.osconfig.v1.PatchJobs.Instance.Builder.class); } /** + * + * *
      * Patch state of an instance.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1.Instance.PatchState} */ - public enum PatchState - implements com.google.protobuf.ProtocolMessageEnum { + public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified.
        * 
@@ -16937,6 +19418,8 @@ public enum PatchState */ PATCH_STATE_UNSPECIFIED(0), /** + * + * *
        * The instance is not yet notified.
        * 
@@ -16945,6 +19428,8 @@ public enum PatchState */ PENDING(1), /** + * + * *
        * Instance is inactive and cannot be patched.
        * 
@@ -16953,6 +19438,8 @@ public enum PatchState */ INACTIVE(2), /** + * + * *
        * The instance is notified that it should be patched.
        * 
@@ -16961,6 +19448,8 @@ public enum PatchState */ NOTIFIED(3), /** + * + * *
        * The instance has started the patching process.
        * 
@@ -16969,6 +19458,8 @@ public enum PatchState */ STARTED(4), /** + * + * *
        * The instance is downloading patches.
        * 
@@ -16977,6 +19468,8 @@ public enum PatchState */ DOWNLOADING_PATCHES(5), /** + * + * *
        * The instance is applying patches.
        * 
@@ -16985,6 +19478,8 @@ public enum PatchState */ APPLYING_PATCHES(6), /** + * + * *
        * The instance is rebooting.
        * 
@@ -16993,6 +19488,8 @@ public enum PatchState */ REBOOTING(7), /** + * + * *
        * The instance has completed applying patches.
        * 
@@ -17001,6 +19498,8 @@ public enum PatchState */ SUCCEEDED(8), /** + * + * *
        * The instance has completed applying patches but a reboot is required.
        * 
@@ -17009,6 +19508,8 @@ public enum PatchState */ SUCCEEDED_REBOOT_REQUIRED(9), /** + * + * *
        * The instance has failed to apply the patch.
        * 
@@ -17017,6 +19518,8 @@ public enum PatchState */ FAILED(10), /** + * + * *
        * The instance acked the notification and will start shortly.
        * 
@@ -17025,6 +19528,8 @@ public enum PatchState */ ACKED(11), /** + * + * *
        * The instance exceeded the time out while applying the patch.
        * 
@@ -17033,6 +19538,8 @@ public enum PatchState */ TIMED_OUT(12), /** + * + * *
        * The instance is running the pre-patch step.
        * 
@@ -17041,6 +19548,8 @@ public enum PatchState */ RUNNING_PRE_PATCH_STEP(13), /** + * + * *
        * The instance is running the post-patch step.
        * 
@@ -17049,6 +19558,8 @@ public enum PatchState */ RUNNING_POST_PATCH_STEP(14), /** + * + * *
        * The service could not detect the presence of the agent. Check to ensure
        * that the agent is installed, running, and able to communicate with the
@@ -17062,6 +19573,8 @@ public enum PatchState
       ;
 
       /**
+       *
+       *
        * 
        * Unspecified.
        * 
@@ -17070,6 +19583,8 @@ public enum PatchState */ public static final int PATCH_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The instance is not yet notified.
        * 
@@ -17078,6 +19593,8 @@ public enum PatchState */ public static final int PENDING_VALUE = 1; /** + * + * *
        * Instance is inactive and cannot be patched.
        * 
@@ -17086,6 +19603,8 @@ public enum PatchState */ public static final int INACTIVE_VALUE = 2; /** + * + * *
        * The instance is notified that it should be patched.
        * 
@@ -17094,6 +19613,8 @@ public enum PatchState */ public static final int NOTIFIED_VALUE = 3; /** + * + * *
        * The instance has started the patching process.
        * 
@@ -17102,6 +19623,8 @@ public enum PatchState */ public static final int STARTED_VALUE = 4; /** + * + * *
        * The instance is downloading patches.
        * 
@@ -17110,6 +19633,8 @@ public enum PatchState */ public static final int DOWNLOADING_PATCHES_VALUE = 5; /** + * + * *
        * The instance is applying patches.
        * 
@@ -17118,6 +19643,8 @@ public enum PatchState */ public static final int APPLYING_PATCHES_VALUE = 6; /** + * + * *
        * The instance is rebooting.
        * 
@@ -17126,6 +19653,8 @@ public enum PatchState */ public static final int REBOOTING_VALUE = 7; /** + * + * *
        * The instance has completed applying patches.
        * 
@@ -17134,6 +19663,8 @@ public enum PatchState */ public static final int SUCCEEDED_VALUE = 8; /** + * + * *
        * The instance has completed applying patches but a reboot is required.
        * 
@@ -17142,6 +19673,8 @@ public enum PatchState */ public static final int SUCCEEDED_REBOOT_REQUIRED_VALUE = 9; /** + * + * *
        * The instance has failed to apply the patch.
        * 
@@ -17150,6 +19683,8 @@ public enum PatchState */ public static final int FAILED_VALUE = 10; /** + * + * *
        * The instance acked the notification and will start shortly.
        * 
@@ -17158,6 +19693,8 @@ public enum PatchState */ public static final int ACKED_VALUE = 11; /** + * + * *
        * The instance exceeded the time out while applying the patch.
        * 
@@ -17166,6 +19703,8 @@ public enum PatchState */ public static final int TIMED_OUT_VALUE = 12; /** + * + * *
        * The instance is running the pre-patch step.
        * 
@@ -17174,6 +19713,8 @@ public enum PatchState */ public static final int RUNNING_PRE_PATCH_STEP_VALUE = 13; /** + * + * *
        * The instance is running the post-patch step.
        * 
@@ -17182,6 +19723,8 @@ public enum PatchState */ public static final int RUNNING_POST_PATCH_STEP_VALUE = 14; /** + * + * *
        * The service could not detect the presence of the agent. Check to ensure
        * that the agent is installed, running, and able to communicate with the
@@ -17192,7 +19735,6 @@ public enum PatchState
        */
       public static final int NO_AGENT_DETECTED_VALUE = 15;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -17217,62 +19759,77 @@ public static PatchState valueOf(int value) {
        */
       public static PatchState forNumber(int value) {
         switch (value) {
-          case 0: return PATCH_STATE_UNSPECIFIED;
-          case 1: return PENDING;
-          case 2: return INACTIVE;
-          case 3: return NOTIFIED;
-          case 4: return STARTED;
-          case 5: return DOWNLOADING_PATCHES;
-          case 6: return APPLYING_PATCHES;
-          case 7: return REBOOTING;
-          case 8: return SUCCEEDED;
-          case 9: return SUCCEEDED_REBOOT_REQUIRED;
-          case 10: return FAILED;
-          case 11: return ACKED;
-          case 12: return TIMED_OUT;
-          case 13: return RUNNING_PRE_PATCH_STEP;
-          case 14: return RUNNING_POST_PATCH_STEP;
-          case 15: return NO_AGENT_DETECTED;
-          default: return null;
-        }
-      }
-
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+          case 0:
+            return PATCH_STATE_UNSPECIFIED;
+          case 1:
+            return PENDING;
+          case 2:
+            return INACTIVE;
+          case 3:
+            return NOTIFIED;
+          case 4:
+            return STARTED;
+          case 5:
+            return DOWNLOADING_PATCHES;
+          case 6:
+            return APPLYING_PATCHES;
+          case 7:
+            return REBOOTING;
+          case 8:
+            return SUCCEEDED;
+          case 9:
+            return SUCCEEDED_REBOOT_REQUIRED;
+          case 10:
+            return FAILED;
+          case 11:
+            return ACKED;
+          case 12:
+            return TIMED_OUT;
+          case 13:
+            return RUNNING_PRE_PATCH_STEP;
+          case 14:
+            return RUNNING_POST_PATCH_STEP;
+          case 15:
+            return NO_AGENT_DETECTED;
+          default:
+            return null;
+        }
+      }
+
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          PatchState> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public PatchState findValueByNumber(int number) {
-                return PatchState.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public PatchState findValueByNumber(int number) {
+              return PatchState.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs.Instance.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs.Instance.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final PatchState[] VALUES = values();
 
-      public static PatchState valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static PatchState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -17290,6 +19847,7 @@ private PatchState(int value) {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -17301,8 +19859,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       unknownFields.writeTo(output);
     }
 
@@ -17320,12 +19877,13 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.Instance)) {
         return super.equals(obj);
       }
-      com.google.cloud.osconfig.v1.PatchJobs.Instance other = (com.google.cloud.osconfig.v1.PatchJobs.Instance) obj;
+      com.google.cloud.osconfig.v1.PatchJobs.Instance other =
+          (com.google.cloud.osconfig.v1.PatchJobs.Instance) obj;
 
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -17344,87 +19902,93 @@ public int hashCode() {
     }
 
     public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1.PatchJobs.Instance 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.osconfig.v1.PatchJobs.Instance parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1.PatchJobs.Instance parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
+
     public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.Instance prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -17434,27 +19998,32 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Namespace for instance state enums.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.Instance} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.Instance) com.google.cloud.osconfig.v1.PatchJobs.InstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_Instance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_Instance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_Instance_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.Instance.class, com.google.cloud.osconfig.v1.PatchJobs.Instance.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.Instance.class, + com.google.cloud.osconfig.v1.PatchJobs.Instance.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.Instance.newBuilder() @@ -17462,16 +20031,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -17479,9 +20047,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_Instance_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_Instance_descriptor; } @java.lang.Override @@ -17500,7 +20068,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.Instance build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.Instance buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.Instance result = new com.google.cloud.osconfig.v1.PatchJobs.Instance(this); + com.google.cloud.osconfig.v1.PatchJobs.Instance result = + new com.google.cloud.osconfig.v1.PatchJobs.Instance(this); onBuilt(); return result; } @@ -17509,38 +20078,41 @@ public com.google.cloud.osconfig.v1.PatchJobs.Instance buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.Instance) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.Instance)other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.Instance) other); } else { super.mergeFrom(other); return this; @@ -17548,7 +20120,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.Instance other) { - if (other == com.google.cloud.osconfig.v1.PatchJobs.Instance.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1.PatchJobs.Instance.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -17568,7 +20141,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.Instance) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchJobs.Instance) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -17577,6 +20151,7 @@ public Builder mergeFrom( } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -17589,12 +20164,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.Instance) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.Instance) private static final com.google.cloud.osconfig.v1.PatchJobs.Instance DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.Instance(); } @@ -17603,16 +20178,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.Instance getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Instance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Instance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Instance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Instance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -17627,65 +20202,76 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface CancelPatchJobRequestOrBuilder extends + public interface CancelPatchJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.CancelPatchJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
    * Message for canceling a patch job.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.CancelPatchJobRequest} */ - public static final class CancelPatchJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CancelPatchJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.CancelPatchJobRequest) CancelPatchJobRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CancelPatchJobRequest.newBuilder() to construct. private CancelPatchJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CancelPatchJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CancelPatchJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CancelPatchJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -17704,19 +20290,20 @@ private CancelPatchJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -17724,34 +20311,41 @@ private CancelPatchJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.class, com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.class, + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -17760,29 +20354,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -17791,6 +20387,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -17802,8 +20399,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -17827,15 +20423,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest other = (com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest) obj; + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest other = + (com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -17855,87 +20451,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest 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.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -17945,27 +20548,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Message for canceling a patch job.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.CancelPatchJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.CancelPatchJobRequest) com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.class, com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.class, + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.newBuilder() @@ -17973,16 +20581,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -17992,13 +20599,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.getDefaultInstance(); } @@ -18013,7 +20621,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest result = new com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest(this); + com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest result = + new com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -18023,38 +20632,41 @@ public com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.CancelPatchJobRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest) other); } else { super.mergeFrom(other); return this; @@ -18062,7 +20674,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest other) { - if (other == com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -18086,7 +20700,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -18098,18 +20714,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -18118,20 +20738,23 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -18139,58 +20762,72 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -18203,30 +20840,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.CancelPatchJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.CancelPatchJobRequest) - private static final com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest(); } - public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelPatchJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelPatchJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelPatchJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelPatchJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -18238,79 +20877,98 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.CancelPatchJobRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AptSettingsOrBuilder extends + public interface AptSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.AptSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * By changing the type to DIST, the patching is performed
      * using `apt-get dist-upgrade` instead.
      * 
* * .google.cloud.osconfig.v1.AptSettings.Type type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * By changing the type to DIST, the patching is performed
      * using `apt-get dist-upgrade` instead.
      * 
* * .google.cloud.osconfig.v1.AptSettings.Type type = 1; + * * @return The type. */ com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type getType(); /** + * + * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; + * * @return A list containing the excludes. */ - java.util.List - getExcludesList(); + java.util.List getExcludesList(); /** + * + * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; + * * @return The count of excludes. */ int getExcludesCount(); /** + * + * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; + * * @param index The index of the element to return. * @return The excludes at the given index. */ java.lang.String getExcludes(int index); /** + * + * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - com.google.protobuf.ByteString - getExcludesBytes(int index); + com.google.protobuf.ByteString getExcludesBytes(int index); /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -18319,11 +20977,13 @@ public interface AptSettingsOrBuilder extends
      * 
* * repeated string exclusive_packages = 3; + * * @return A list containing the exclusivePackages. */ - java.util.List - getExclusivePackagesList(); + java.util.List getExclusivePackagesList(); /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -18332,10 +20992,13 @@ public interface AptSettingsOrBuilder extends
      * 
* * repeated string exclusive_packages = 3; + * * @return The count of exclusivePackages. */ int getExclusivePackagesCount(); /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -18344,11 +21007,14 @@ public interface AptSettingsOrBuilder extends
      * 
* * repeated string exclusive_packages = 3; + * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ java.lang.String getExclusivePackages(int index); /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -18357,13 +21023,15 @@ public interface AptSettingsOrBuilder extends
      * 
* * repeated string exclusive_packages = 3; + * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - com.google.protobuf.ByteString - getExclusivePackagesBytes(int index); + com.google.protobuf.ByteString getExclusivePackagesBytes(int index); } /** + * + * *
    * Apt patching is completed by executing `apt-get update && apt-get
    * upgrade`. Additional options can be set to control how this is executed.
@@ -18371,15 +21039,16 @@ public interface AptSettingsOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1.AptSettings}
    */
-  public static final class AptSettings extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class AptSettings extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.AptSettings)
       AptSettingsOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use AptSettings.newBuilder() to construct.
     private AptSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private AptSettings() {
       type_ = 0;
       excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -18388,16 +21057,15 @@ private AptSettings() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new AptSettings();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private AptSettings(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -18417,37 +21085,40 @@ private AptSettings(
             case 0:
               done = true;
               break;
-            case 8: {
-              int rawValue = input.readEnum();
+            case 8:
+              {
+                int rawValue = input.readEnum();
 
-              type_ = rawValue;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                excludes_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
+                type_ = rawValue;
+                break;
               }
-              excludes_.add(s);
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                exclusivePackages_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  excludes_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                excludes_.add(s);
+                break;
               }
-              exclusivePackages_.add(s);
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  exclusivePackages_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                exclusivePackages_.add(s);
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -18455,8 +21126,7 @@ private AptSettings(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           excludes_ = excludes_.getUnmodifiableView();
@@ -18468,29 +21138,35 @@ private AptSettings(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_AptSettings_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchJobs
+          .internal_static_google_cloud_osconfig_v1_AptSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_AptSettings_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchJobs
+          .internal_static_google_cloud_osconfig_v1_AptSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchJobs.AptSettings.class, com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder.class);
+              com.google.cloud.osconfig.v1.PatchJobs.AptSettings.class,
+              com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * Apt patch type.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1.AptSettings.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * By default, upgrade will be performed.
        * 
@@ -18499,6 +21175,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
        * Runs `apt-get dist-upgrade`.
        * 
@@ -18507,6 +21185,8 @@ public enum Type */ DIST(1), /** + * + * *
        * Runs `apt-get upgrade`.
        * 
@@ -18518,6 +21198,8 @@ public enum Type ; /** + * + * *
        * By default, upgrade will be performed.
        * 
@@ -18526,6 +21208,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Runs `apt-get dist-upgrade`.
        * 
@@ -18534,6 +21218,8 @@ public enum Type */ public static final int DIST_VALUE = 1; /** + * + * *
        * Runs `apt-get upgrade`.
        * 
@@ -18542,7 +21228,6 @@ public enum Type */ public static final int UPGRADE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -18567,49 +21252,51 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return DIST; - case 2: return UPGRADE; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return DIST; + case 2: + return UPGRADE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDescriptor() + .getEnumTypes() + .get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -18629,63 +21316,82 @@ private Type(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** + * + * *
      * By changing the type to DIST, the patching is performed
      * using `apt-get dist-upgrade` instead.
      * 
* * .google.cloud.osconfig.v1.AptSettings.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * By changing the type to DIST, the patching is performed
      * using `apt-get dist-upgrade` instead.
      * 
* * .google.cloud.osconfig.v1.AptSettings.Type type = 1; + * * @return The type. */ - @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type getType() { + @java.lang.Override + public com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type result = com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.valueOf(type_); - return result == null ? com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type result = + com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.valueOf(type_); + return result == null + ? com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.UNRECOGNIZED + : result; } public static final int EXCLUDES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList excludes_; /** + * + * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; + * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList - getExcludesList() { + public com.google.protobuf.ProtocolStringList getExcludesList() { return excludes_; } /** + * + * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; + * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** + * + * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; + * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -18693,22 +21399,26 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** + * + * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString - getExcludesBytes(int index) { + public com.google.protobuf.ByteString getExcludesBytes(int index) { return excludes_.getByteString(index); } public static final int EXCLUSIVE_PACKAGES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList exclusivePackages_; /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -18717,13 +21427,15 @@ public java.lang.String getExcludes(int index) {
      * 
* * repeated string exclusive_packages = 3; + * * @return A list containing the exclusivePackages. */ - public com.google.protobuf.ProtocolStringList - getExclusivePackagesList() { + public com.google.protobuf.ProtocolStringList getExclusivePackagesList() { return exclusivePackages_; } /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -18732,12 +21444,15 @@ public java.lang.String getExcludes(int index) {
      * 
* * repeated string exclusive_packages = 3; + * * @return The count of exclusivePackages. */ public int getExclusivePackagesCount() { return exclusivePackages_.size(); } /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -18746,6 +21461,7 @@ public int getExclusivePackagesCount() {
      * 
* * repeated string exclusive_packages = 3; + * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ @@ -18753,6 +21469,8 @@ public java.lang.String getExclusivePackages(int index) { return exclusivePackages_.get(index); } /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -18761,15 +21479,16 @@ public java.lang.String getExclusivePackages(int index) {
      * 
* * repeated string exclusive_packages = 3; + * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - public com.google.protobuf.ByteString - getExclusivePackagesBytes(int index) { + public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) { return exclusivePackages_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -18781,9 +21500,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } for (int i = 0; i < excludes_.size(); i++) { @@ -18801,9 +21520,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } { int dataSize = 0; @@ -18829,18 +21548,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.AptSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.AptSettings other = (com.google.cloud.osconfig.v1.PatchJobs.AptSettings) obj; + com.google.cloud.osconfig.v1.PatchJobs.AptSettings other = + (com.google.cloud.osconfig.v1.PatchJobs.AptSettings) obj; if (type_ != other.type_) return false; - if (!getExcludesList() - .equals(other.getExcludesList())) return false; - if (!getExclusivePackagesList() - .equals(other.getExclusivePackagesList())) return false; + if (!getExcludesList().equals(other.getExcludesList())) return false; + if (!getExclusivePackagesList().equals(other.getExclusivePackagesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -18868,87 +21586,93 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings 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.osconfig.v1.PatchJobs.AptSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.AptSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -18958,6 +21682,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Apt patching is completed by executing `apt-get update && apt-get
      * upgrade`. Additional options can be set to control how this is executed.
@@ -18965,21 +21691,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.AptSettings}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.AptSettings)
         com.google.cloud.osconfig.v1.PatchJobs.AptSettingsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_AptSettings_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_AptSettings_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_AptSettings_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_AptSettings_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.AptSettings.class, com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.AptSettings.class,
+                com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchJobs.AptSettings.newBuilder()
@@ -18987,16 +21716,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -19010,9 +21738,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_AptSettings_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_AptSettings_descriptor;
       }
 
       @java.lang.Override
@@ -19031,7 +21759,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.AptSettings build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchJobs.AptSettings buildPartial() {
-        com.google.cloud.osconfig.v1.PatchJobs.AptSettings result = new com.google.cloud.osconfig.v1.PatchJobs.AptSettings(this);
+        com.google.cloud.osconfig.v1.PatchJobs.AptSettings result =
+            new com.google.cloud.osconfig.v1.PatchJobs.AptSettings(this);
         int from_bitField0_ = bitField0_;
         result.type_ = type_;
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -19052,38 +21781,41 @@ public com.google.cloud.osconfig.v1.PatchJobs.AptSettings buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchJobs.AptSettings) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.AptSettings)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.AptSettings) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -19091,7 +21823,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.AptSettings other) {
-        if (other == com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1.PatchJobs.AptSettings.getDefaultInstance())
+          return this;
         if (other.type_ != 0) {
           setTypeValue(other.getTypeValue());
         }
@@ -19134,7 +21867,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.AptSettings) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.PatchJobs.AptSettings) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -19143,59 +21877,76 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private int type_ = 0;
       /**
+       *
+       *
        * 
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1.AptSettings.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1.AptSettings.Type type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1.AptSettings.Type type = 1; + * * @return The type. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type result = com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.valueOf(type_); - return result == null ? com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type result = + com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.valueOf(type_); + return result == null + ? com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type.UNRECOGNIZED + : result; } /** + * + * *
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1.AptSettings.Type type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -19203,63 +21954,76 @@ public Builder setType(com.google.cloud.osconfig.v1.PatchJobs.AptSettings.Type v if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1.AptSettings.Type type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList excludes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExcludesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { excludes_ = new com.google.protobuf.LazyStringArrayList(excludes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; + * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList - getExcludesList() { + public com.google.protobuf.ProtocolStringList getExcludesList() { return excludes_.getUnmodifiableView(); } /** + * + * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; + * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** + * + * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; + * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -19267,80 +22031,90 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** + * + * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString - getExcludesBytes(int index) { + public com.google.protobuf.ByteString getExcludesBytes(int index) { return excludes_.getByteString(index); } /** + * + * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; + * * @param index The index to set the value at. * @param value The excludes to set. * @return This builder for chaining. */ - public Builder setExcludes( - int index, java.lang.String value) { + public Builder setExcludes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.set(index, value); onChanged(); return this; } /** + * + * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; + * * @param value The excludes to add. * @return This builder for chaining. */ - public Builder addExcludes( - java.lang.String value) { + public Builder addExcludes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } /** + * + * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; + * * @param values The excludes to add. * @return This builder for chaining. */ - public Builder addAllExcludes( - java.lang.Iterable values) { + public Builder addAllExcludes(java.lang.Iterable values) { ensureExcludesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, excludes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludes_); onChanged(); return this; } /** + * + * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; + * * @return This builder for chaining. */ public Builder clearExcludes() { @@ -19350,34 +22124,40 @@ public Builder clearExcludes() { return this; } /** + * + * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; + * * @param value The bytes of the excludes to add. * @return This builder for chaining. */ - public Builder addExcludesBytes( - com.google.protobuf.ByteString value) { + public Builder addExcludesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList exclusivePackages_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList exclusivePackages_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExclusivePackagesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { exclusivePackages_ = new com.google.protobuf.LazyStringArrayList(exclusivePackages_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -19386,13 +22166,15 @@ private void ensureExclusivePackagesIsMutable() {
        * 
* * repeated string exclusive_packages = 3; + * * @return A list containing the exclusivePackages. */ - public com.google.protobuf.ProtocolStringList - getExclusivePackagesList() { + public com.google.protobuf.ProtocolStringList getExclusivePackagesList() { return exclusivePackages_.getUnmodifiableView(); } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -19401,12 +22183,15 @@ private void ensureExclusivePackagesIsMutable() {
        * 
* * repeated string exclusive_packages = 3; + * * @return The count of exclusivePackages. */ public int getExclusivePackagesCount() { return exclusivePackages_.size(); } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -19415,6 +22200,7 @@ public int getExclusivePackagesCount() {
        * 
* * repeated string exclusive_packages = 3; + * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ @@ -19422,6 +22208,8 @@ public java.lang.String getExclusivePackages(int index) { return exclusivePackages_.get(index); } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -19430,14 +22218,16 @@ public java.lang.String getExclusivePackages(int index) {
        * 
* * repeated string exclusive_packages = 3; + * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - public com.google.protobuf.ByteString - getExclusivePackagesBytes(int index) { + public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) { return exclusivePackages_.getByteString(index); } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -19446,21 +22236,23 @@ public java.lang.String getExclusivePackages(int index) {
        * 
* * repeated string exclusive_packages = 3; + * * @param index The index to set the value at. * @param value The exclusivePackages to set. * @return This builder for chaining. */ - public Builder setExclusivePackages( - int index, java.lang.String value) { + public Builder setExclusivePackages(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePackagesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePackagesIsMutable(); exclusivePackages_.set(index, value); onChanged(); return this; } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -19469,20 +22261,22 @@ public Builder setExclusivePackages(
        * 
* * repeated string exclusive_packages = 3; + * * @param value The exclusivePackages to add. * @return This builder for chaining. */ - public Builder addExclusivePackages( - java.lang.String value) { + public Builder addExclusivePackages(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePackagesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePackagesIsMutable(); exclusivePackages_.add(value); onChanged(); return this; } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -19491,18 +22285,19 @@ public Builder addExclusivePackages(
        * 
* * repeated string exclusive_packages = 3; + * * @param values The exclusivePackages to add. * @return This builder for chaining. */ - public Builder addAllExclusivePackages( - java.lang.Iterable values) { + public Builder addAllExclusivePackages(java.lang.Iterable values) { ensureExclusivePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, exclusivePackages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusivePackages_); onChanged(); return this; } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -19511,6 +22306,7 @@ public Builder addAllExclusivePackages(
        * 
* * repeated string exclusive_packages = 3; + * * @return This builder for chaining. */ public Builder clearExclusivePackages() { @@ -19520,6 +22316,8 @@ public Builder clearExclusivePackages() { return this; } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -19528,20 +22326,21 @@ public Builder clearExclusivePackages() {
        * 
* * repeated string exclusive_packages = 3; + * * @param value The bytes of the exclusivePackages to add. * @return This builder for chaining. */ - public Builder addExclusivePackagesBytes( - com.google.protobuf.ByteString value) { + public Builder addExclusivePackagesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExclusivePackagesIsMutable(); exclusivePackages_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -19554,12 +22353,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.AptSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.AptSettings) private static final com.google.cloud.osconfig.v1.PatchJobs.AptSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.AptSettings(); } @@ -19568,16 +22367,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.AptSettings getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -19592,80 +22391,98 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.AptSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface YumSettingsOrBuilder extends + public interface YumSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.YumSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Adds the `--security` flag to `yum update`. Not supported on
      * all platforms.
      * 
* * bool security = 1; + * * @return The security. */ boolean getSecurity(); /** + * + * *
      * Will cause patch to run `yum update-minimal` instead.
      * 
* * bool minimal = 2; + * * @return The minimal. */ boolean getMinimal(); /** + * + * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; + * * @return A list containing the excludes. */ - java.util.List - getExcludesList(); + java.util.List getExcludesList(); /** + * + * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; + * * @return The count of excludes. */ int getExcludesCount(); /** + * + * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; + * * @param index The index of the element to return. * @return The excludes at the given index. */ java.lang.String getExcludes(int index); /** + * + * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - com.google.protobuf.ByteString - getExcludesBytes(int index); + com.google.protobuf.ByteString getExcludesBytes(int index); /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -19674,11 +22491,13 @@ public interface YumSettingsOrBuilder extends
      * 
* * repeated string exclusive_packages = 4; + * * @return A list containing the exclusivePackages. */ - java.util.List - getExclusivePackagesList(); + java.util.List getExclusivePackagesList(); /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -19687,10 +22506,13 @@ public interface YumSettingsOrBuilder extends
      * 
* * repeated string exclusive_packages = 4; + * * @return The count of exclusivePackages. */ int getExclusivePackagesCount(); /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -19699,11 +22521,14 @@ public interface YumSettingsOrBuilder extends
      * 
* * repeated string exclusive_packages = 4; + * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ java.lang.String getExclusivePackages(int index); /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -19712,13 +22537,15 @@ public interface YumSettingsOrBuilder extends
      * 
* * repeated string exclusive_packages = 4; + * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - com.google.protobuf.ByteString - getExclusivePackagesBytes(int index); + com.google.protobuf.ByteString getExclusivePackagesBytes(int index); } /** + * + * *
    * Yum patching is performed by executing `yum update`. Additional options
    * can be set to control how this is executed.
@@ -19727,15 +22554,16 @@ public interface YumSettingsOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1.YumSettings}
    */
-  public static final class YumSettings extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class YumSettings extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.YumSettings)
       YumSettingsOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use YumSettings.newBuilder() to construct.
     private YumSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private YumSettings() {
       excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       exclusivePackages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -19743,16 +22571,15 @@ private YumSettings() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new YumSettings();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private YumSettings(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -19772,41 +22599,43 @@ private YumSettings(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              security_ = input.readBool();
-              break;
-            }
-            case 16: {
-
-              minimal_ = input.readBool();
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                excludes_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 8:
+              {
+                security_ = input.readBool();
+                break;
               }
-              excludes_.add(s);
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                exclusivePackages_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 16:
+              {
+                minimal_ = input.readBool();
+                break;
               }
-              exclusivePackages_.add(s);
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  excludes_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                excludes_.add(s);
+                break;
+              }
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  exclusivePackages_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                exclusivePackages_.add(s);
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -19814,8 +22643,7 @@ private YumSettings(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           excludes_ = excludes_.getUnmodifiableView();
@@ -19827,28 +22655,34 @@ private YumSettings(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_YumSettings_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchJobs
+          .internal_static_google_cloud_osconfig_v1_YumSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_YumSettings_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchJobs
+          .internal_static_google_cloud_osconfig_v1_YumSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchJobs.YumSettings.class, com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder.class);
+              com.google.cloud.osconfig.v1.PatchJobs.YumSettings.class,
+              com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder.class);
     }
 
     public static final int SECURITY_FIELD_NUMBER = 1;
     private boolean security_;
     /**
+     *
+     *
      * 
      * Adds the `--security` flag to `yum update`. Not supported on
      * all platforms.
      * 
* * bool security = 1; + * * @return The security. */ @java.lang.Override @@ -19859,11 +22693,14 @@ public boolean getSecurity() { public static final int MINIMAL_FIELD_NUMBER = 2; private boolean minimal_; /** + * + * *
      * Will cause patch to run `yum update-minimal` instead.
      * 
* * bool minimal = 2; + * * @return The minimal. */ @java.lang.Override @@ -19874,37 +22711,45 @@ public boolean getMinimal() { public static final int EXCLUDES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList excludes_; /** + * + * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; + * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList - getExcludesList() { + public com.google.protobuf.ProtocolStringList getExcludesList() { return excludes_; } /** + * + * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; + * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** + * + * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; + * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -19912,23 +22757,27 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** + * + * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString - getExcludesBytes(int index) { + public com.google.protobuf.ByteString getExcludesBytes(int index) { return excludes_.getByteString(index); } public static final int EXCLUSIVE_PACKAGES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList exclusivePackages_; /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -19937,13 +22786,15 @@ public java.lang.String getExcludes(int index) {
      * 
* * repeated string exclusive_packages = 4; + * * @return A list containing the exclusivePackages. */ - public com.google.protobuf.ProtocolStringList - getExclusivePackagesList() { + public com.google.protobuf.ProtocolStringList getExclusivePackagesList() { return exclusivePackages_; } /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -19952,12 +22803,15 @@ public java.lang.String getExcludes(int index) {
      * 
* * repeated string exclusive_packages = 4; + * * @return The count of exclusivePackages. */ public int getExclusivePackagesCount() { return exclusivePackages_.size(); } /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -19966,6 +22820,7 @@ public int getExclusivePackagesCount() {
      * 
* * repeated string exclusive_packages = 4; + * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ @@ -19973,6 +22828,8 @@ public java.lang.String getExclusivePackages(int index) { return exclusivePackages_.get(index); } /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -19981,15 +22838,16 @@ public java.lang.String getExclusivePackages(int index) {
      * 
* * repeated string exclusive_packages = 4; + * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - public com.google.protobuf.ByteString - getExclusivePackagesBytes(int index) { + public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) { return exclusivePackages_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -20001,8 +22859,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (security_ != false) { output.writeBool(1, security_); } @@ -20025,12 +22882,10 @@ public int getSerializedSize() { size = 0; if (security_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, security_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, security_); } if (minimal_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, minimal_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, minimal_); } { int dataSize = 0; @@ -20056,21 +22911,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.YumSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.YumSettings other = (com.google.cloud.osconfig.v1.PatchJobs.YumSettings) obj; + com.google.cloud.osconfig.v1.PatchJobs.YumSettings other = + (com.google.cloud.osconfig.v1.PatchJobs.YumSettings) obj; - if (getSecurity() - != other.getSecurity()) return false; - if (getMinimal() - != other.getMinimal()) return false; - if (!getExcludesList() - .equals(other.getExcludesList())) return false; - if (!getExclusivePackagesList() - .equals(other.getExclusivePackagesList())) return false; + if (getSecurity() != other.getSecurity()) return false; + if (getMinimal() != other.getMinimal()) return false; + if (!getExcludesList().equals(other.getExcludesList())) return false; + if (!getExclusivePackagesList().equals(other.getExclusivePackagesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -20083,11 +22935,9 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SECURITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSecurity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSecurity()); hash = (37 * hash) + MINIMAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getMinimal()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getMinimal()); if (getExcludesCount() > 0) { hash = (37 * hash) + EXCLUDES_FIELD_NUMBER; hash = (53 * hash) + getExcludesList().hashCode(); @@ -20102,87 +22952,93 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings 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.osconfig.v1.PatchJobs.YumSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.YumSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -20192,6 +23048,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Yum patching is performed by executing `yum update`. Additional options
      * can be set to control how this is executed.
@@ -20200,21 +23058,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.YumSettings}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.YumSettings)
         com.google.cloud.osconfig.v1.PatchJobs.YumSettingsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_YumSettings_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_YumSettings_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_YumSettings_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_YumSettings_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.YumSettings.class, com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.YumSettings.class,
+                com.google.cloud.osconfig.v1.PatchJobs.YumSettings.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchJobs.YumSettings.newBuilder()
@@ -20222,16 +23083,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -20247,9 +23107,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_YumSettings_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_YumSettings_descriptor;
       }
 
       @java.lang.Override
@@ -20268,7 +23128,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.YumSettings build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchJobs.YumSettings buildPartial() {
-        com.google.cloud.osconfig.v1.PatchJobs.YumSettings result = new com.google.cloud.osconfig.v1.PatchJobs.YumSettings(this);
+        com.google.cloud.osconfig.v1.PatchJobs.YumSettings result =
+            new com.google.cloud.osconfig.v1.PatchJobs.YumSettings(this);
         int from_bitField0_ = bitField0_;
         result.security_ = security_;
         result.minimal_ = minimal_;
@@ -20290,38 +23151,41 @@ public com.google.cloud.osconfig.v1.PatchJobs.YumSettings buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchJobs.YumSettings) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.YumSettings)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.YumSettings) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -20329,7 +23193,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.YumSettings other) {
-        if (other == com.google.cloud.osconfig.v1.PatchJobs.YumSettings.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1.PatchJobs.YumSettings.getDefaultInstance())
+          return this;
         if (other.getSecurity() != false) {
           setSecurity(other.getSecurity());
         }
@@ -20375,7 +23240,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.YumSettings) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.PatchJobs.YumSettings) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -20384,16 +23250,20 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private boolean security_ ;
+      private boolean security_;
       /**
+       *
+       *
        * 
        * Adds the `--security` flag to `yum update`. Not supported on
        * all platforms.
        * 
* * bool security = 1; + * * @return The security. */ @java.lang.Override @@ -20401,44 +23271,53 @@ public boolean getSecurity() { return security_; } /** + * + * *
        * Adds the `--security` flag to `yum update`. Not supported on
        * all platforms.
        * 
* * bool security = 1; + * * @param value The security to set. * @return This builder for chaining. */ public Builder setSecurity(boolean value) { - + security_ = value; onChanged(); return this; } /** + * + * *
        * Adds the `--security` flag to `yum update`. Not supported on
        * all platforms.
        * 
* * bool security = 1; + * * @return This builder for chaining. */ public Builder clearSecurity() { - + security_ = false; onChanged(); return this; } - private boolean minimal_ ; + private boolean minimal_; /** + * + * *
        * Will cause patch to run `yum update-minimal` instead.
        * 
* * bool minimal = 2; + * * @return The minimal. */ @java.lang.Override @@ -20446,74 +23325,90 @@ public boolean getMinimal() { return minimal_; } /** + * + * *
        * Will cause patch to run `yum update-minimal` instead.
        * 
* * bool minimal = 2; + * * @param value The minimal to set. * @return This builder for chaining. */ public Builder setMinimal(boolean value) { - + minimal_ = value; onChanged(); return this; } /** + * + * *
        * Will cause patch to run `yum update-minimal` instead.
        * 
* * bool minimal = 2; + * * @return This builder for chaining. */ public Builder clearMinimal() { - + minimal_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList excludes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExcludesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { excludes_ = new com.google.protobuf.LazyStringArrayList(excludes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; + * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList - getExcludesList() { + public com.google.protobuf.ProtocolStringList getExcludesList() { return excludes_.getUnmodifiableView(); } /** + * + * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; + * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** + * + * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; + * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -20521,85 +23416,95 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** + * + * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString - getExcludesBytes(int index) { + public com.google.protobuf.ByteString getExcludesBytes(int index) { return excludes_.getByteString(index); } /** + * + * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; + * * @param index The index to set the value at. * @param value The excludes to set. * @return This builder for chaining. */ - public Builder setExcludes( - int index, java.lang.String value) { + public Builder setExcludes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.set(index, value); onChanged(); return this; } /** + * + * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; + * * @param value The excludes to add. * @return This builder for chaining. */ - public Builder addExcludes( - java.lang.String value) { + public Builder addExcludes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } /** + * + * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; + * * @param values The excludes to add. * @return This builder for chaining. */ - public Builder addAllExcludes( - java.lang.Iterable values) { + public Builder addAllExcludes(java.lang.Iterable values) { ensureExcludesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, excludes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludes_); onChanged(); return this; } /** + * + * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; + * * @return This builder for chaining. */ public Builder clearExcludes() { @@ -20609,35 +23514,41 @@ public Builder clearExcludes() { return this; } /** + * + * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; + * * @param value The bytes of the excludes to add. * @return This builder for chaining. */ - public Builder addExcludesBytes( - com.google.protobuf.ByteString value) { + public Builder addExcludesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList exclusivePackages_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList exclusivePackages_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExclusivePackagesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { exclusivePackages_ = new com.google.protobuf.LazyStringArrayList(exclusivePackages_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -20646,13 +23557,15 @@ private void ensureExclusivePackagesIsMutable() {
        * 
* * repeated string exclusive_packages = 4; + * * @return A list containing the exclusivePackages. */ - public com.google.protobuf.ProtocolStringList - getExclusivePackagesList() { + public com.google.protobuf.ProtocolStringList getExclusivePackagesList() { return exclusivePackages_.getUnmodifiableView(); } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -20661,12 +23574,15 @@ private void ensureExclusivePackagesIsMutable() {
        * 
* * repeated string exclusive_packages = 4; + * * @return The count of exclusivePackages. */ public int getExclusivePackagesCount() { return exclusivePackages_.size(); } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -20675,6 +23591,7 @@ public int getExclusivePackagesCount() {
        * 
* * repeated string exclusive_packages = 4; + * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ @@ -20682,6 +23599,8 @@ public java.lang.String getExclusivePackages(int index) { return exclusivePackages_.get(index); } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -20690,14 +23609,16 @@ public java.lang.String getExclusivePackages(int index) {
        * 
* * repeated string exclusive_packages = 4; + * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - public com.google.protobuf.ByteString - getExclusivePackagesBytes(int index) { + public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) { return exclusivePackages_.getByteString(index); } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -20706,21 +23627,23 @@ public java.lang.String getExclusivePackages(int index) {
        * 
* * repeated string exclusive_packages = 4; + * * @param index The index to set the value at. * @param value The exclusivePackages to set. * @return This builder for chaining. */ - public Builder setExclusivePackages( - int index, java.lang.String value) { + public Builder setExclusivePackages(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePackagesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePackagesIsMutable(); exclusivePackages_.set(index, value); onChanged(); return this; } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -20729,20 +23652,22 @@ public Builder setExclusivePackages(
        * 
* * repeated string exclusive_packages = 4; + * * @param value The exclusivePackages to add. * @return This builder for chaining. */ - public Builder addExclusivePackages( - java.lang.String value) { + public Builder addExclusivePackages(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePackagesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePackagesIsMutable(); exclusivePackages_.add(value); onChanged(); return this; } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -20751,18 +23676,19 @@ public Builder addExclusivePackages(
        * 
* * repeated string exclusive_packages = 4; + * * @param values The exclusivePackages to add. * @return This builder for chaining. */ - public Builder addAllExclusivePackages( - java.lang.Iterable values) { + public Builder addAllExclusivePackages(java.lang.Iterable values) { ensureExclusivePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, exclusivePackages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusivePackages_); onChanged(); return this; } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -20771,6 +23697,7 @@ public Builder addAllExclusivePackages(
        * 
* * repeated string exclusive_packages = 4; + * * @return This builder for chaining. */ public Builder clearExclusivePackages() { @@ -20780,6 +23707,8 @@ public Builder clearExclusivePackages() { return this; } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -20788,20 +23717,21 @@ public Builder clearExclusivePackages() {
        * 
* * repeated string exclusive_packages = 4; + * * @param value The bytes of the exclusivePackages to add. * @return This builder for chaining. */ - public Builder addExclusivePackagesBytes( - com.google.protobuf.ByteString value) { + public Builder addExclusivePackagesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExclusivePackagesIsMutable(); exclusivePackages_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -20814,12 +23744,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.YumSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.YumSettings) private static final com.google.cloud.osconfig.v1.PatchJobs.YumSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.YumSettings(); } @@ -20828,16 +23758,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.YumSettings getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -20852,44 +23782,44 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.YumSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GooSettingsOrBuilder extends + public interface GooSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.GooSettings) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * Googet patching is performed by running `googet update`.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.GooSettings} */ - public static final class GooSettings extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GooSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.GooSettings) GooSettingsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GooSettings.newBuilder() to construct. private GooSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GooSettings() { - } + + private GooSettings() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GooSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GooSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -20908,13 +23838,13 @@ private GooSettings( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -20922,27 +23852,30 @@ private GooSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GooSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_GooSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GooSettings_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_GooSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.GooSettings.class, com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.GooSettings.class, + com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -20954,8 +23887,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -20973,12 +23905,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.GooSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.GooSettings other = (com.google.cloud.osconfig.v1.PatchJobs.GooSettings) obj; + com.google.cloud.osconfig.v1.PatchJobs.GooSettings other = + (com.google.cloud.osconfig.v1.PatchJobs.GooSettings) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -20997,87 +23930,93 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings 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.osconfig.v1.PatchJobs.GooSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.GooSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -21087,27 +24026,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Googet patching is performed by running `googet update`.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.GooSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.GooSettings) com.google.cloud.osconfig.v1.PatchJobs.GooSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GooSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_GooSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GooSettings_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_GooSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.GooSettings.class, com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.GooSettings.class, + com.google.cloud.osconfig.v1.PatchJobs.GooSettings.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.GooSettings.newBuilder() @@ -21115,16 +24059,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -21132,9 +24075,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GooSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_GooSettings_descriptor; } @java.lang.Override @@ -21153,7 +24096,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.GooSettings build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.GooSettings buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.GooSettings result = new com.google.cloud.osconfig.v1.PatchJobs.GooSettings(this); + com.google.cloud.osconfig.v1.PatchJobs.GooSettings result = + new com.google.cloud.osconfig.v1.PatchJobs.GooSettings(this); onBuilt(); return result; } @@ -21162,38 +24106,41 @@ public com.google.cloud.osconfig.v1.PatchJobs.GooSettings buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.GooSettings) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.GooSettings)other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.GooSettings) other); } else { super.mergeFrom(other); return this; @@ -21201,7 +24148,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.GooSettings other) { - if (other == com.google.cloud.osconfig.v1.PatchJobs.GooSettings.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1.PatchJobs.GooSettings.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -21221,7 +24169,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.GooSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchJobs.GooSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -21230,6 +24179,7 @@ public Builder mergeFrom( } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -21242,12 +24192,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.GooSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.GooSettings) private static final com.google.cloud.osconfig.v1.PatchJobs.GooSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.GooSettings(); } @@ -21256,16 +24206,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.GooSettings getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GooSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GooSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GooSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GooSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -21280,165 +24230,203 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.GooSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ZypperSettingsOrBuilder extends + public interface ZypperSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ZypperSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Adds the `--with-optional` flag to `zypper patch`.
      * 
* * bool with_optional = 1; + * * @return The withOptional. */ boolean getWithOptional(); /** + * + * *
      * Adds the `--with-update` flag, to `zypper patch`.
      * 
* * bool with_update = 2; + * * @return The withUpdate. */ boolean getWithUpdate(); /** + * + * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; + * * @return A list containing the categories. */ - java.util.List - getCategoriesList(); + java.util.List getCategoriesList(); /** + * + * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; + * * @return The count of categories. */ int getCategoriesCount(); /** + * + * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; + * * @param index The index of the element to return. * @return The categories at the given index. */ java.lang.String getCategories(int index); /** + * + * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; + * * @param index The index of the value to return. * @return The bytes of the categories at the given index. */ - com.google.protobuf.ByteString - getCategoriesBytes(int index); + com.google.protobuf.ByteString getCategoriesBytes(int index); /** + * + * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; + * * @return A list containing the severities. */ - java.util.List - getSeveritiesList(); + java.util.List getSeveritiesList(); /** + * + * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; + * * @return The count of severities. */ int getSeveritiesCount(); /** + * + * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; + * * @param index The index of the element to return. * @return The severities at the given index. */ java.lang.String getSeverities(int index); /** + * + * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; + * * @param index The index of the value to return. * @return The bytes of the severities at the given index. */ - com.google.protobuf.ByteString - getSeveritiesBytes(int index); + com.google.protobuf.ByteString getSeveritiesBytes(int index); /** + * + * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; + * * @return A list containing the excludes. */ - java.util.List - getExcludesList(); + java.util.List getExcludesList(); /** + * + * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; + * * @return The count of excludes. */ int getExcludesCount(); /** + * + * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; + * * @param index The index of the element to return. * @return The excludes at the given index. */ java.lang.String getExcludes(int index); /** + * + * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - com.google.protobuf.ByteString - getExcludesBytes(int index); + com.google.protobuf.ByteString getExcludesBytes(int index); /** + * + * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -21446,11 +24434,13 @@ public interface ZypperSettingsOrBuilder extends
      * 
* * repeated string exclusive_patches = 6; + * * @return A list containing the exclusivePatches. */ - java.util.List - getExclusivePatchesList(); + java.util.List getExclusivePatchesList(); /** + * + * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -21458,10 +24448,13 @@ public interface ZypperSettingsOrBuilder extends
      * 
* * repeated string exclusive_patches = 6; + * * @return The count of exclusivePatches. */ int getExclusivePatchesCount(); /** + * + * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -21469,11 +24462,14 @@ public interface ZypperSettingsOrBuilder extends
      * 
* * repeated string exclusive_patches = 6; + * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ java.lang.String getExclusivePatches(int index); /** + * + * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -21481,13 +24477,15 @@ public interface ZypperSettingsOrBuilder extends
      * 
* * repeated string exclusive_patches = 6; + * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - com.google.protobuf.ByteString - getExclusivePatchesBytes(int index); + com.google.protobuf.ByteString getExclusivePatchesBytes(int index); } /** + * + * *
    * Zypper patching is performed by running `zypper patch`.
    * See also https://en.opensuse.org/SDB:Zypper_manual.
@@ -21495,15 +24493,16 @@ public interface ZypperSettingsOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1.ZypperSettings}
    */
-  public static final class ZypperSettings extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ZypperSettings extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ZypperSettings)
       ZypperSettingsOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ZypperSettings.newBuilder() to construct.
     private ZypperSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ZypperSettings() {
       categories_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       severities_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -21513,16 +24512,15 @@ private ZypperSettings() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ZypperSettings();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private ZypperSettings(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -21542,59 +24540,63 @@ private ZypperSettings(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              withOptional_ = input.readBool();
-              break;
-            }
-            case 16: {
-
-              withUpdate_ = input.readBool();
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                categories_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 8:
+              {
+                withOptional_ = input.readBool();
+                break;
               }
-              categories_.add(s);
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                severities_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 16:
+              {
+                withUpdate_ = input.readBool();
+                break;
               }
-              severities_.add(s);
-              break;
-            }
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                excludes_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000004;
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  categories_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                categories_.add(s);
+                break;
               }
-              excludes_.add(s);
-              break;
-            }
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-                exclusivePatches_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000008;
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  severities_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                severities_.add(s);
+                break;
               }
-              exclusivePatches_.add(s);
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                  excludes_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000004;
+                }
+                excludes_.add(s);
+                break;
+              }
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+                  exclusivePatches_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000008;
+                }
+                exclusivePatches_.add(s);
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -21602,8 +24604,7 @@ private ZypperSettings(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           categories_ = categories_.getUnmodifiableView();
@@ -21621,27 +24622,33 @@ private ZypperSettings(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchJobs
+          .internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ZypperSettings_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchJobs
+          .internal_static_google_cloud_osconfig_v1_ZypperSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.class, com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder.class);
+              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.class,
+              com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder.class);
     }
 
     public static final int WITH_OPTIONAL_FIELD_NUMBER = 1;
     private boolean withOptional_;
     /**
+     *
+     *
      * 
      * Adds the `--with-optional` flag to `zypper patch`.
      * 
* * bool with_optional = 1; + * * @return The withOptional. */ @java.lang.Override @@ -21652,11 +24659,14 @@ public boolean getWithOptional() { public static final int WITH_UPDATE_FIELD_NUMBER = 2; private boolean withUpdate_; /** + * + * *
      * Adds the `--with-update` flag, to `zypper patch`.
      * 
* * bool with_update = 2; + * * @return The withUpdate. */ @java.lang.Override @@ -21667,37 +24677,45 @@ public boolean getWithUpdate() { public static final int CATEGORIES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList categories_; /** + * + * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; + * * @return A list containing the categories. */ - public com.google.protobuf.ProtocolStringList - getCategoriesList() { + public com.google.protobuf.ProtocolStringList getCategoriesList() { return categories_; } /** + * + * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; + * * @return The count of categories. */ public int getCategoriesCount() { return categories_.size(); } /** + * + * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; + * * @param index The index of the element to return. * @return The categories at the given index. */ @@ -21705,54 +24723,64 @@ public java.lang.String getCategories(int index) { return categories_.get(index); } /** + * + * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; + * * @param index The index of the value to return. * @return The bytes of the categories at the given index. */ - public com.google.protobuf.ByteString - getCategoriesBytes(int index) { + public com.google.protobuf.ByteString getCategoriesBytes(int index) { return categories_.getByteString(index); } public static final int SEVERITIES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList severities_; /** + * + * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; + * * @return A list containing the severities. */ - public com.google.protobuf.ProtocolStringList - getSeveritiesList() { + public com.google.protobuf.ProtocolStringList getSeveritiesList() { return severities_; } /** + * + * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; + * * @return The count of severities. */ public int getSeveritiesCount() { return severities_.size(); } /** + * + * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; + * * @param index The index of the element to return. * @return The severities at the given index. */ @@ -21760,51 +24788,61 @@ public java.lang.String getSeverities(int index) { return severities_.get(index); } /** + * + * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; + * * @param index The index of the value to return. * @return The bytes of the severities at the given index. */ - public com.google.protobuf.ByteString - getSeveritiesBytes(int index) { + public com.google.protobuf.ByteString getSeveritiesBytes(int index) { return severities_.getByteString(index); } public static final int EXCLUDES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList excludes_; /** + * + * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; + * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList - getExcludesList() { + public com.google.protobuf.ProtocolStringList getExcludesList() { return excludes_; } /** + * + * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; + * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** + * + * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; + * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -21812,22 +24850,26 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** + * + * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString - getExcludesBytes(int index) { + public com.google.protobuf.ByteString getExcludesBytes(int index) { return excludes_.getByteString(index); } public static final int EXCLUSIVE_PATCHES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList exclusivePatches_; /** + * + * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -21835,13 +24877,15 @@ public java.lang.String getExcludes(int index) {
      * 
* * repeated string exclusive_patches = 6; + * * @return A list containing the exclusivePatches. */ - public com.google.protobuf.ProtocolStringList - getExclusivePatchesList() { + public com.google.protobuf.ProtocolStringList getExclusivePatchesList() { return exclusivePatches_; } /** + * + * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -21849,12 +24893,15 @@ public java.lang.String getExcludes(int index) {
      * 
* * repeated string exclusive_patches = 6; + * * @return The count of exclusivePatches. */ public int getExclusivePatchesCount() { return exclusivePatches_.size(); } /** + * + * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -21862,6 +24909,7 @@ public int getExclusivePatchesCount() {
      * 
* * repeated string exclusive_patches = 6; + * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ @@ -21869,6 +24917,8 @@ public java.lang.String getExclusivePatches(int index) { return exclusivePatches_.get(index); } /** + * + * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -21876,15 +24926,16 @@ public java.lang.String getExclusivePatches(int index) {
      * 
* * repeated string exclusive_patches = 6; + * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - public com.google.protobuf.ByteString - getExclusivePatchesBytes(int index) { + public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) { return exclusivePatches_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -21896,8 +24947,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (withOptional_ != false) { output.writeBool(1, withOptional_); } @@ -21926,12 +24976,10 @@ public int getSerializedSize() { size = 0; if (withOptional_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, withOptional_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, withOptional_); } if (withUpdate_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, withUpdate_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, withUpdate_); } { int dataSize = 0; @@ -21973,25 +25021,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings other = (com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings) obj; - - if (getWithOptional() - != other.getWithOptional()) return false; - if (getWithUpdate() - != other.getWithUpdate()) return false; - if (!getCategoriesList() - .equals(other.getCategoriesList())) return false; - if (!getSeveritiesList() - .equals(other.getSeveritiesList())) return false; - if (!getExcludesList() - .equals(other.getExcludesList())) return false; - if (!getExclusivePatchesList() - .equals(other.getExclusivePatchesList())) return false; + com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings other = + (com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings) obj; + + if (getWithOptional() != other.getWithOptional()) return false; + if (getWithUpdate() != other.getWithUpdate()) return false; + if (!getCategoriesList().equals(other.getCategoriesList())) return false; + if (!getSeveritiesList().equals(other.getSeveritiesList())) return false; + if (!getExcludesList().equals(other.getExcludesList())) return false; + if (!getExclusivePatchesList().equals(other.getExclusivePatchesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -22004,11 +25047,9 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + WITH_OPTIONAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getWithOptional()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getWithOptional()); hash = (37 * hash) + WITH_UPDATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getWithUpdate()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getWithUpdate()); if (getCategoriesCount() > 0) { hash = (37 * hash) + CATEGORIES_FIELD_NUMBER; hash = (53 * hash) + getCategoriesList().hashCode(); @@ -22031,87 +25072,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings 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.osconfig.v1.PatchJobs.ZypperSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -22121,6 +25169,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Zypper patching is performed by running `zypper patch`.
      * See also https://en.opensuse.org/SDB:Zypper_manual.
@@ -22128,21 +25178,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.ZypperSettings}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ZypperSettings)
         com.google.cloud.osconfig.v1.PatchJobs.ZypperSettingsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ZypperSettings_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_ZypperSettings_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.class, com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.class,
+                com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.newBuilder()
@@ -22150,16 +25203,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -22179,9 +25231,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor;
       }
 
       @java.lang.Override
@@ -22200,7 +25252,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings buildPartial() {
-        com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings result = new com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings(this);
+        com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings result =
+            new com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings(this);
         int from_bitField0_ = bitField0_;
         result.withOptional_ = withOptional_;
         result.withUpdate_ = withUpdate_;
@@ -22232,38 +25285,41 @@ public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchJobs.ZypperSettings) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -22271,7 +25327,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings other) {
-        if (other == com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings.getDefaultInstance())
+          return this;
         if (other.getWithOptional() != false) {
           setWithOptional(other.getWithOptional());
         }
@@ -22337,7 +25394,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -22346,15 +25404,19 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private boolean withOptional_ ;
+      private boolean withOptional_;
       /**
+       *
+       *
        * 
        * Adds the `--with-optional` flag to `zypper patch`.
        * 
* * bool with_optional = 1; + * * @return The withOptional. */ @java.lang.Override @@ -22362,42 +25424,51 @@ public boolean getWithOptional() { return withOptional_; } /** + * + * *
        * Adds the `--with-optional` flag to `zypper patch`.
        * 
* * bool with_optional = 1; + * * @param value The withOptional to set. * @return This builder for chaining. */ public Builder setWithOptional(boolean value) { - + withOptional_ = value; onChanged(); return this; } /** + * + * *
        * Adds the `--with-optional` flag to `zypper patch`.
        * 
* * bool with_optional = 1; + * * @return This builder for chaining. */ public Builder clearWithOptional() { - + withOptional_ = false; onChanged(); return this; } - private boolean withUpdate_ ; + private boolean withUpdate_; /** + * + * *
        * Adds the `--with-update` flag, to `zypper patch`.
        * 
* * bool with_update = 2; + * * @return The withUpdate. */ @java.lang.Override @@ -22405,74 +25476,90 @@ public boolean getWithUpdate() { return withUpdate_; } /** + * + * *
        * Adds the `--with-update` flag, to `zypper patch`.
        * 
* * bool with_update = 2; + * * @param value The withUpdate to set. * @return This builder for chaining. */ public Builder setWithUpdate(boolean value) { - + withUpdate_ = value; onChanged(); return this; } /** + * + * *
        * Adds the `--with-update` flag, to `zypper patch`.
        * 
* * bool with_update = 2; + * * @return This builder for chaining. */ public Builder clearWithUpdate() { - + withUpdate_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList categories_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList categories_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCategoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { categories_ = new com.google.protobuf.LazyStringArrayList(categories_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; + * * @return A list containing the categories. */ - public com.google.protobuf.ProtocolStringList - getCategoriesList() { + public com.google.protobuf.ProtocolStringList getCategoriesList() { return categories_.getUnmodifiableView(); } /** + * + * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; + * * @return The count of categories. */ public int getCategoriesCount() { return categories_.size(); } /** + * + * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; + * * @param index The index of the element to return. * @return The categories at the given index. */ @@ -22480,85 +25567,95 @@ public java.lang.String getCategories(int index) { return categories_.get(index); } /** + * + * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; + * * @param index The index of the value to return. * @return The bytes of the categories at the given index. */ - public com.google.protobuf.ByteString - getCategoriesBytes(int index) { + public com.google.protobuf.ByteString getCategoriesBytes(int index) { return categories_.getByteString(index); } /** + * + * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; + * * @param index The index to set the value at. * @param value The categories to set. * @return This builder for chaining. */ - public Builder setCategories( - int index, java.lang.String value) { + public Builder setCategories(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCategoriesIsMutable(); + throw new NullPointerException(); + } + ensureCategoriesIsMutable(); categories_.set(index, value); onChanged(); return this; } /** + * + * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; + * * @param value The categories to add. * @return This builder for chaining. */ - public Builder addCategories( - java.lang.String value) { + public Builder addCategories(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCategoriesIsMutable(); + throw new NullPointerException(); + } + ensureCategoriesIsMutable(); categories_.add(value); onChanged(); return this; } /** + * + * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; + * * @param values The categories to add. * @return This builder for chaining. */ - public Builder addAllCategories( - java.lang.Iterable values) { + public Builder addAllCategories(java.lang.Iterable values) { ensureCategoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, categories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categories_); onChanged(); return this; } /** + * + * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; + * * @return This builder for chaining. */ public Builder clearCategories() { @@ -22568,66 +25665,78 @@ public Builder clearCategories() { return this; } /** + * + * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; + * * @param value The bytes of the categories to add. * @return This builder for chaining. */ - public Builder addCategoriesBytes( - com.google.protobuf.ByteString value) { + public Builder addCategoriesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCategoriesIsMutable(); categories_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList severities_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList severities_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureSeveritiesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { severities_ = new com.google.protobuf.LazyStringArrayList(severities_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; + * * @return A list containing the severities. */ - public com.google.protobuf.ProtocolStringList - getSeveritiesList() { + public com.google.protobuf.ProtocolStringList getSeveritiesList() { return severities_.getUnmodifiableView(); } /** + * + * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; + * * @return The count of severities. */ public int getSeveritiesCount() { return severities_.size(); } /** + * + * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; + * * @param index The index of the element to return. * @return The severities at the given index. */ @@ -22635,85 +25744,95 @@ public java.lang.String getSeverities(int index) { return severities_.get(index); } /** + * + * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; + * * @param index The index of the value to return. * @return The bytes of the severities at the given index. */ - public com.google.protobuf.ByteString - getSeveritiesBytes(int index) { + public com.google.protobuf.ByteString getSeveritiesBytes(int index) { return severities_.getByteString(index); } /** + * + * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; + * * @param index The index to set the value at. * @param value The severities to set. * @return This builder for chaining. */ - public Builder setSeverities( - int index, java.lang.String value) { + public Builder setSeverities(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSeveritiesIsMutable(); + throw new NullPointerException(); + } + ensureSeveritiesIsMutable(); severities_.set(index, value); onChanged(); return this; } /** + * + * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; + * * @param value The severities to add. * @return This builder for chaining. */ - public Builder addSeverities( - java.lang.String value) { + public Builder addSeverities(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSeveritiesIsMutable(); + throw new NullPointerException(); + } + ensureSeveritiesIsMutable(); severities_.add(value); onChanged(); return this; } /** + * + * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; + * * @param values The severities to add. * @return This builder for chaining. */ - public Builder addAllSeverities( - java.lang.Iterable values) { + public Builder addAllSeverities(java.lang.Iterable values) { ensureSeveritiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, severities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, severities_); onChanged(); return this; } /** + * + * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; + * * @return This builder for chaining. */ public Builder clearSeverities() { @@ -22723,63 +25842,75 @@ public Builder clearSeverities() { return this; } /** + * + * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; + * * @param value The bytes of the severities to add. * @return This builder for chaining. */ - public Builder addSeveritiesBytes( - com.google.protobuf.ByteString value) { + public Builder addSeveritiesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSeveritiesIsMutable(); severities_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList excludes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExcludesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { excludes_ = new com.google.protobuf.LazyStringArrayList(excludes_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; + * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList - getExcludesList() { + public com.google.protobuf.ProtocolStringList getExcludesList() { return excludes_.getUnmodifiableView(); } /** + * + * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; + * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** + * + * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; + * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -22787,80 +25918,90 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** + * + * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString - getExcludesBytes(int index) { + public com.google.protobuf.ByteString getExcludesBytes(int index) { return excludes_.getByteString(index); } /** + * + * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; + * * @param index The index to set the value at. * @param value The excludes to set. * @return This builder for chaining. */ - public Builder setExcludes( - int index, java.lang.String value) { + public Builder setExcludes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.set(index, value); onChanged(); return this; } /** + * + * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; + * * @param value The excludes to add. * @return This builder for chaining. */ - public Builder addExcludes( - java.lang.String value) { + public Builder addExcludes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } /** + * + * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; + * * @param values The excludes to add. * @return This builder for chaining. */ - public Builder addAllExcludes( - java.lang.Iterable values) { + public Builder addAllExcludes(java.lang.Iterable values) { ensureExcludesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, excludes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludes_); onChanged(); return this; } /** + * + * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; + * * @return This builder for chaining. */ public Builder clearExcludes() { @@ -22870,34 +26011,40 @@ public Builder clearExcludes() { return this; } /** + * + * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; + * * @param value The bytes of the excludes to add. * @return This builder for chaining. */ - public Builder addExcludesBytes( - com.google.protobuf.ByteString value) { + public Builder addExcludesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList exclusivePatches_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList exclusivePatches_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExclusivePatchesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { exclusivePatches_ = new com.google.protobuf.LazyStringArrayList(exclusivePatches_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -22905,13 +26052,15 @@ private void ensureExclusivePatchesIsMutable() {
        * 
* * repeated string exclusive_patches = 6; + * * @return A list containing the exclusivePatches. */ - public com.google.protobuf.ProtocolStringList - getExclusivePatchesList() { + public com.google.protobuf.ProtocolStringList getExclusivePatchesList() { return exclusivePatches_.getUnmodifiableView(); } /** + * + * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -22919,12 +26068,15 @@ private void ensureExclusivePatchesIsMutable() {
        * 
* * repeated string exclusive_patches = 6; + * * @return The count of exclusivePatches. */ public int getExclusivePatchesCount() { return exclusivePatches_.size(); } /** + * + * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -22932,6 +26084,7 @@ public int getExclusivePatchesCount() {
        * 
* * repeated string exclusive_patches = 6; + * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ @@ -22939,6 +26092,8 @@ public java.lang.String getExclusivePatches(int index) { return exclusivePatches_.get(index); } /** + * + * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -22946,14 +26101,16 @@ public java.lang.String getExclusivePatches(int index) {
        * 
* * repeated string exclusive_patches = 6; + * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - public com.google.protobuf.ByteString - getExclusivePatchesBytes(int index) { + public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) { return exclusivePatches_.getByteString(index); } /** + * + * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -22961,21 +26118,23 @@ public java.lang.String getExclusivePatches(int index) {
        * 
* * repeated string exclusive_patches = 6; + * * @param index The index to set the value at. * @param value The exclusivePatches to set. * @return This builder for chaining. */ - public Builder setExclusivePatches( - int index, java.lang.String value) { + public Builder setExclusivePatches(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePatchesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePatchesIsMutable(); exclusivePatches_.set(index, value); onChanged(); return this; } /** + * + * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -22983,20 +26142,22 @@ public Builder setExclusivePatches(
        * 
* * repeated string exclusive_patches = 6; + * * @param value The exclusivePatches to add. * @return This builder for chaining. */ - public Builder addExclusivePatches( - java.lang.String value) { + public Builder addExclusivePatches(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePatchesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePatchesIsMutable(); exclusivePatches_.add(value); onChanged(); return this; } /** + * + * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -23004,18 +26165,19 @@ public Builder addExclusivePatches(
        * 
* * repeated string exclusive_patches = 6; + * * @param values The exclusivePatches to add. * @return This builder for chaining. */ - public Builder addAllExclusivePatches( - java.lang.Iterable values) { + public Builder addAllExclusivePatches(java.lang.Iterable values) { ensureExclusivePatchesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, exclusivePatches_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusivePatches_); onChanged(); return this; } /** + * + * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -23023,6 +26185,7 @@ public Builder addAllExclusivePatches(
        * 
* * repeated string exclusive_patches = 6; + * * @return This builder for chaining. */ public Builder clearExclusivePatches() { @@ -23032,6 +26195,8 @@ public Builder clearExclusivePatches() { return this; } /** + * + * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -23039,20 +26204,21 @@ public Builder clearExclusivePatches() {
        * 
* * repeated string exclusive_patches = 6; + * * @param value The bytes of the exclusivePatches to add. * @return This builder for chaining. */ - public Builder addExclusivePatchesBytes( - com.google.protobuf.ByteString value) { + public Builder addExclusivePatchesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExclusivePatchesIsMutable(); exclusivePatches_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -23065,12 +26231,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ZypperSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ZypperSettings) private static final com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings(); } @@ -23079,16 +26245,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ZypperSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ZypperSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ZypperSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ZypperSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -23103,109 +26269,147 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.ZypperSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface WindowsUpdateSettingsOrBuilder extends + public interface WindowsUpdateSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.WindowsUpdateSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return A list containing the classifications. */ - java.util.List getClassificationsList(); + java.util.List + getClassificationsList(); /** + * + * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return The count of classifications. */ int getClassificationsCount(); /** + * + * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param index The index of the element to return. * @return The classifications at the given index. */ - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification getClassifications(int index); + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification getClassifications( + int index); /** + * + * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return A list containing the enum numeric values on the wire for classifications. */ - java.util.List - getClassificationsValueList(); + java.util.List getClassificationsValueList(); /** + * + * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of classifications at the given index. */ int getClassificationsValue(int index); /** + * + * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; + * * @return A list containing the excludes. */ - java.util.List - getExcludesList(); + java.util.List getExcludesList(); /** + * + * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; + * * @return The count of excludes. */ int getExcludesCount(); /** + * + * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; + * * @param index The index of the element to return. * @return The excludes at the given index. */ java.lang.String getExcludes(int index); /** + * + * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - com.google.protobuf.ByteString - getExcludesBytes(int index); + com.google.protobuf.ByteString getExcludesBytes(int index); /** + * + * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -23213,11 +26417,13 @@ public interface WindowsUpdateSettingsOrBuilder extends
      * 
* * repeated string exclusive_patches = 3; + * * @return A list containing the exclusivePatches. */ - java.util.List - getExclusivePatchesList(); + java.util.List getExclusivePatchesList(); /** + * + * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -23225,10 +26431,13 @@ public interface WindowsUpdateSettingsOrBuilder extends
      * 
* * repeated string exclusive_patches = 3; + * * @return The count of exclusivePatches. */ int getExclusivePatchesCount(); /** + * + * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -23236,11 +26445,14 @@ public interface WindowsUpdateSettingsOrBuilder extends
      * 
* * repeated string exclusive_patches = 3; + * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ java.lang.String getExclusivePatches(int index); /** + * + * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -23248,28 +26460,31 @@ public interface WindowsUpdateSettingsOrBuilder extends
      * 
* * repeated string exclusive_patches = 3; + * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - com.google.protobuf.ByteString - getExclusivePatchesBytes(int index); + com.google.protobuf.ByteString getExclusivePatchesBytes(int index); } /** + * + * *
    * Windows patching is performed using the Windows Update Agent.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.WindowsUpdateSettings} */ - public static final class WindowsUpdateSettings extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class WindowsUpdateSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.WindowsUpdateSettings) WindowsUpdateSettingsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WindowsUpdateSettings.newBuilder() to construct. private WindowsUpdateSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WindowsUpdateSettings() { classifications_ = java.util.Collections.emptyList(); excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -23278,16 +26493,15 @@ private WindowsUpdateSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WindowsUpdateSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WindowsUpdateSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -23307,54 +26521,58 @@ private WindowsUpdateSettings( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - classifications_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - classifications_.add(rawValue); - break; - } - case 10: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 8: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { classifications_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } classifications_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - excludes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + case 10: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + classifications_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + classifications_.add(rawValue); + } + input.popLimit(oldLimit); + break; } - excludes_.add(s); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - exclusivePatches_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + excludes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + excludes_.add(s); + break; } - exclusivePatches_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + exclusivePatches_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; + } + exclusivePatches_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -23362,8 +26580,7 @@ private WindowsUpdateSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { classifications_ = java.util.Collections.unmodifiableList(classifications_); @@ -23378,20 +26595,25 @@ private WindowsUpdateSettings( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.class, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.class, + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder.class); } /** + * + * *
      * Microsoft Windows update classifications as defined in
      * [1]
@@ -23400,9 +26622,10 @@ private WindowsUpdateSettings(
      *
      * Protobuf enum {@code google.cloud.osconfig.v1.WindowsUpdateSettings.Classification}
      */
-    public enum Classification
-        implements com.google.protobuf.ProtocolMessageEnum {
+    public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
       /**
+       *
+       *
        * 
        * Invalid. If classifications are included, they must be specified.
        * 
@@ -23411,6 +26634,8 @@ public enum Classification */ CLASSIFICATION_UNSPECIFIED(0), /** + * + * *
        * "A widely released fix for a specific problem that addresses a critical,
        * non-security-related bug." [1]
@@ -23420,6 +26645,8 @@ public enum Classification
        */
       CRITICAL(1),
       /**
+       *
+       *
        * 
        * "A widely released fix for a product-specific, security-related
        * vulnerability. Security vulnerabilities are rated by their severity. The
@@ -23431,6 +26658,8 @@ public enum Classification
        */
       SECURITY(2),
       /**
+       *
+       *
        * 
        * "A widely released and frequent software update that contains additions
        * to a product's definition database. Definition databases are often used
@@ -23442,6 +26671,8 @@ public enum Classification
        */
       DEFINITION(3),
       /**
+       *
+       *
        * 
        * "Software that controls the input and output of a device." [1]
        * 
@@ -23450,6 +26681,8 @@ public enum Classification */ DRIVER(4), /** + * + * *
        * "New product functionality that is first distributed outside the context
        * of a product release and that is typically included in the next full
@@ -23460,6 +26693,8 @@ public enum Classification
        */
       FEATURE_PACK(5),
       /**
+       *
+       *
        * 
        * "A tested, cumulative set of all hotfixes, security updates, critical
        * updates, and updates. Additionally, service packs may contain additional
@@ -23472,6 +26707,8 @@ public enum Classification
        */
       SERVICE_PACK(6),
       /**
+       *
+       *
        * 
        * "A utility or feature that helps complete a task or set of tasks." [1]
        * 
@@ -23480,6 +26717,8 @@ public enum Classification */ TOOL(7), /** + * + * *
        * "A tested, cumulative set of hotfixes, security updates, critical
        * updates, and updates that are packaged together for easy deployment. A
@@ -23491,6 +26730,8 @@ public enum Classification
        */
       UPDATE_ROLLUP(8),
       /**
+       *
+       *
        * 
        * "A widely released fix for a specific problem. An update addresses a
        * noncritical, non-security-related bug." [1]
@@ -23503,6 +26744,8 @@ public enum Classification
       ;
 
       /**
+       *
+       *
        * 
        * Invalid. If classifications are included, they must be specified.
        * 
@@ -23511,6 +26754,8 @@ public enum Classification */ public static final int CLASSIFICATION_UNSPECIFIED_VALUE = 0; /** + * + * *
        * "A widely released fix for a specific problem that addresses a critical,
        * non-security-related bug." [1]
@@ -23520,6 +26765,8 @@ public enum Classification
        */
       public static final int CRITICAL_VALUE = 1;
       /**
+       *
+       *
        * 
        * "A widely released fix for a product-specific, security-related
        * vulnerability. Security vulnerabilities are rated by their severity. The
@@ -23531,6 +26778,8 @@ public enum Classification
        */
       public static final int SECURITY_VALUE = 2;
       /**
+       *
+       *
        * 
        * "A widely released and frequent software update that contains additions
        * to a product's definition database. Definition databases are often used
@@ -23542,6 +26791,8 @@ public enum Classification
        */
       public static final int DEFINITION_VALUE = 3;
       /**
+       *
+       *
        * 
        * "Software that controls the input and output of a device." [1]
        * 
@@ -23550,6 +26801,8 @@ public enum Classification */ public static final int DRIVER_VALUE = 4; /** + * + * *
        * "New product functionality that is first distributed outside the context
        * of a product release and that is typically included in the next full
@@ -23560,6 +26813,8 @@ public enum Classification
        */
       public static final int FEATURE_PACK_VALUE = 5;
       /**
+       *
+       *
        * 
        * "A tested, cumulative set of all hotfixes, security updates, critical
        * updates, and updates. Additionally, service packs may contain additional
@@ -23572,6 +26827,8 @@ public enum Classification
        */
       public static final int SERVICE_PACK_VALUE = 6;
       /**
+       *
+       *
        * 
        * "A utility or feature that helps complete a task or set of tasks." [1]
        * 
@@ -23580,6 +26837,8 @@ public enum Classification */ public static final int TOOL_VALUE = 7; /** + * + * *
        * "A tested, cumulative set of hotfixes, security updates, critical
        * updates, and updates that are packaged together for easy deployment. A
@@ -23591,6 +26850,8 @@ public enum Classification
        */
       public static final int UPDATE_ROLLUP_VALUE = 8;
       /**
+       *
+       *
        * 
        * "A widely released fix for a specific problem. An update addresses a
        * noncritical, non-security-related bug." [1]
@@ -23600,7 +26861,6 @@ public enum Classification
        */
       public static final int UPDATE_VALUE = 9;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -23625,47 +26885,59 @@ public static Classification valueOf(int value) {
        */
       public static Classification forNumber(int value) {
         switch (value) {
-          case 0: return CLASSIFICATION_UNSPECIFIED;
-          case 1: return CRITICAL;
-          case 2: return SECURITY;
-          case 3: return DEFINITION;
-          case 4: return DRIVER;
-          case 5: return FEATURE_PACK;
-          case 6: return SERVICE_PACK;
-          case 7: return TOOL;
-          case 8: return UPDATE_ROLLUP;
-          case 9: return UPDATE;
-          default: return null;
-        }
-      }
-
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+          case 0:
+            return CLASSIFICATION_UNSPECIFIED;
+          case 1:
+            return CRITICAL;
+          case 2:
+            return SECURITY;
+          case 3:
+            return DEFINITION;
+          case 4:
+            return DRIVER;
+          case 5:
+            return FEATURE_PACK;
+          case 6:
+            return SERVICE_PACK;
+          case 7:
+            return TOOL;
+          case 8:
+            return UPDATE_ROLLUP;
+          case 9:
+            return UPDATE;
+          default:
+            return null;
+        }
+      }
+
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          Classification> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public Classification findValueByNumber(int number) {
-                return Classification.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap
+          internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap() {
+                public Classification findValueByNumber(int number) {
+                  return Classification.forNumber(number);
+                }
+              };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final Classification[] VALUES = values();
@@ -23673,8 +26945,7 @@ public Classification findValueByNumber(int number) {
       public static Classification valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -23694,36 +26965,59 @@ private Classification(int value) {
     public static final int CLASSIFICATIONS_FIELD_NUMBER = 1;
     private java.util.List classifications_;
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-        java.lang.Integer, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification> classifications_converter_ =
+            java.lang.Integer,
+            com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification>
+        classifications_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
-                java.lang.Integer, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification>() {
-              public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification convert(java.lang.Integer from) {
+                java.lang.Integer,
+                com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification>() {
+              public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification
+                  convert(java.lang.Integer from) {
                 @SuppressWarnings("deprecation")
-                com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification result = com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification.valueOf(from);
-                return result == null ? com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification.UNRECOGNIZED : result;
+                com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification result =
+                    com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification
+                        .valueOf(from);
+                return result == null
+                    ? com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification
+                        .UNRECOGNIZED
+                    : result;
               }
             };
     /**
+     *
+     *
      * 
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return A list containing the classifications. */ @java.lang.Override - public java.util.List getClassificationsList() { + public java.util.List< + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification> + getClassificationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification>(classifications_, classifications_converter_); + java.lang.Integer, + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification>( + classifications_, classifications_converter_); } /** + * + * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return The count of classifications. */ @java.lang.Override @@ -23731,40 +27025,55 @@ public int getClassificationsCount() { return classifications_.size(); } /** + * + * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param index The index of the element to return. * @return The classifications at the given index. */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification getClassifications(int index) { + public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification + getClassifications(int index) { return classifications_converter_.convert(classifications_.get(index)); } /** + * + * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return A list containing the enum numeric values on the wire for classifications. */ @java.lang.Override - public java.util.List - getClassificationsValueList() { + public java.util.List getClassificationsValueList() { return classifications_; } /** + * + * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of classifications at the given index. */ @@ -23772,39 +27081,48 @@ public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classificati public int getClassificationsValue(int index) { return classifications_.get(index); } + private int classificationsMemoizedSerializedSize; public static final int EXCLUDES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList excludes_; /** + * + * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; + * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList - getExcludesList() { + public com.google.protobuf.ProtocolStringList getExcludesList() { return excludes_; } /** + * + * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; + * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** + * + * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; + * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -23812,22 +27130,26 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** + * + * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString - getExcludesBytes(int index) { + public com.google.protobuf.ByteString getExcludesBytes(int index) { return excludes_.getByteString(index); } public static final int EXCLUSIVE_PATCHES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList exclusivePatches_; /** + * + * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -23835,13 +27157,15 @@ public java.lang.String getExcludes(int index) {
      * 
* * repeated string exclusive_patches = 3; + * * @return A list containing the exclusivePatches. */ - public com.google.protobuf.ProtocolStringList - getExclusivePatchesList() { + public com.google.protobuf.ProtocolStringList getExclusivePatchesList() { return exclusivePatches_; } /** + * + * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -23849,12 +27173,15 @@ public java.lang.String getExcludes(int index) {
      * 
* * repeated string exclusive_patches = 3; + * * @return The count of exclusivePatches. */ public int getExclusivePatchesCount() { return exclusivePatches_.size(); } /** + * + * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -23862,6 +27189,7 @@ public int getExclusivePatchesCount() {
      * 
* * repeated string exclusive_patches = 3; + * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ @@ -23869,6 +27197,8 @@ public java.lang.String getExclusivePatches(int index) { return exclusivePatches_.get(index); } /** + * + * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -23876,15 +27206,16 @@ public java.lang.String getExclusivePatches(int index) {
      * 
* * repeated string exclusive_patches = 3; + * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - public com.google.protobuf.ByteString - getExclusivePatchesBytes(int index) { + public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) { return exclusivePatches_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -23896,8 +27227,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getClassificationsList().size() > 0) { output.writeUInt32NoTag(10); @@ -23924,14 +27254,15 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < classifications_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(classifications_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(classifications_.get(i)); } size += dataSize; - if (!getClassificationsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }classificationsMemoizedSerializedSize = dataSize; + if (!getClassificationsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + classificationsMemoizedSerializedSize = dataSize; } { int dataSize = 0; @@ -23957,18 +27288,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings other = (com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings) obj; + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings other = + (com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings) obj; if (!classifications_.equals(other.classifications_)) return false; - if (!getExcludesList() - .equals(other.getExcludesList())) return false; - if (!getExclusivePatchesList() - .equals(other.getExclusivePatchesList())) return false; + if (!getExcludesList().equals(other.getExcludesList())) return false; + if (!getExclusivePatchesList().equals(other.getExclusivePatchesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -23998,87 +27328,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings 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.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -24088,27 +27425,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Windows patching is performed using the Windows Update Agent.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.WindowsUpdateSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.WindowsUpdateSettings) com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.class, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.class, + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.newBuilder() @@ -24116,16 +27458,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -24139,13 +27480,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDefaultInstance(); } @@ -24160,7 +27502,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings result = new com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings(this); + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings result = + new com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { classifications_ = java.util.Collections.unmodifiableList(classifications_); @@ -24185,38 +27528,41 @@ public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.WindowsUpdateSettings) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings)other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings) other); } else { super.mergeFrom(other); return this; @@ -24224,7 +27570,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings other) { - if (other == com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDefaultInstance()) return this; + if (other + == com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.getDefaultInstance()) + return this; if (!other.classifications_.isEmpty()) { if (classifications_.isEmpty()) { classifications_ = other.classifications_; @@ -24274,7 +27622,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -24283,10 +27633,12 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List classifications_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureClassificationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { classifications_ = new java.util.ArrayList(classifications_); @@ -24294,56 +27646,82 @@ private void ensureClassificationsIsMutable() { } } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return A list containing the classifications. */ - public java.util.List getClassificationsList() { + public java.util.List< + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification> + getClassificationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification>(classifications_, classifications_converter_); + java.lang.Integer, + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification>( + classifications_, classifications_converter_); } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return The count of classifications. */ public int getClassificationsCount() { return classifications_.size(); } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param index The index of the element to return. * @return The classifications at the given index. */ - public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification getClassifications(int index) { + public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification + getClassifications(int index) { return classifications_converter_.convert(classifications_.get(index)); } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param index The index to set the value at. * @param value The classifications to set. * @return This builder for chaining. */ public Builder setClassifications( - int index, com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification value) { + int index, + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification value) { if (value == null) { throw new NullPointerException(); } @@ -24353,16 +27731,22 @@ public Builder setClassifications( return this; } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param value The classifications to add. * @return This builder for chaining. */ - public Builder addClassifications(com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification value) { + public Builder addClassifications( + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification value) { if (value == null) { throw new NullPointerException(); } @@ -24372,31 +27756,45 @@ public Builder addClassifications(com.google.cloud.osconfig.v1.PatchJobs.Windows return this; } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param values The classifications to add. * @return This builder for chaining. */ public Builder addAllClassifications( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification> + values) { ensureClassificationsIsMutable(); - for (com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification value : values) { + for (com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification value : + values) { classifications_.add(value.getNumber()); } onChanged(); return this; } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return This builder for chaining. */ public Builder clearClassifications() { @@ -24406,25 +27804,34 @@ public Builder clearClassifications() { return this; } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return A list containing the enum numeric values on the wire for classifications. */ - public java.util.List - getClassificationsValueList() { + public java.util.List getClassificationsValueList() { return java.util.Collections.unmodifiableList(classifications_); } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of classifications at the given index. */ @@ -24432,30 +27839,39 @@ public int getClassificationsValue(int index) { return classifications_.get(index); } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of classifications at the given index. * @return This builder for chaining. */ - public Builder setClassificationsValue( - int index, int value) { + public Builder setClassificationsValue(int index, int value) { ensureClassificationsIsMutable(); classifications_.set(index, value); onChanged(); return this; } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param value The enum numeric value on the wire for classifications to add. * @return This builder for chaining. */ @@ -24466,17 +27882,21 @@ public Builder addClassificationsValue(int value) { return this; } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param values The enum numeric values on the wire for classifications to add. * @return This builder for chaining. */ - public Builder addAllClassificationsValue( - java.lang.Iterable values) { + public Builder addAllClassificationsValue(java.lang.Iterable values) { ensureClassificationsIsMutable(); for (int value : values) { classifications_.add(value); @@ -24485,42 +27905,52 @@ public Builder addAllClassificationsValue( return this; } - private com.google.protobuf.LazyStringList excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList excludes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExcludesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { excludes_ = new com.google.protobuf.LazyStringArrayList(excludes_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; + * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList - getExcludesList() { + public com.google.protobuf.ProtocolStringList getExcludesList() { return excludes_.getUnmodifiableView(); } /** + * + * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; + * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** + * + * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; + * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -24528,80 +27958,90 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** + * + * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString - getExcludesBytes(int index) { + public com.google.protobuf.ByteString getExcludesBytes(int index) { return excludes_.getByteString(index); } /** + * + * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; + * * @param index The index to set the value at. * @param value The excludes to set. * @return This builder for chaining. */ - public Builder setExcludes( - int index, java.lang.String value) { + public Builder setExcludes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.set(index, value); onChanged(); return this; } /** + * + * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; + * * @param value The excludes to add. * @return This builder for chaining. */ - public Builder addExcludes( - java.lang.String value) { + public Builder addExcludes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } /** + * + * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; + * * @param values The excludes to add. * @return This builder for chaining. */ - public Builder addAllExcludes( - java.lang.Iterable values) { + public Builder addAllExcludes(java.lang.Iterable values) { ensureExcludesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, excludes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludes_); onChanged(); return this; } /** + * + * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; + * * @return This builder for chaining. */ public Builder clearExcludes() { @@ -24611,34 +28051,40 @@ public Builder clearExcludes() { return this; } /** + * + * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; + * * @param value The bytes of the excludes to add. * @return This builder for chaining. */ - public Builder addExcludesBytes( - com.google.protobuf.ByteString value) { + public Builder addExcludesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList exclusivePatches_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList exclusivePatches_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExclusivePatchesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { exclusivePatches_ = new com.google.protobuf.LazyStringArrayList(exclusivePatches_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -24646,13 +28092,15 @@ private void ensureExclusivePatchesIsMutable() {
        * 
* * repeated string exclusive_patches = 3; + * * @return A list containing the exclusivePatches. */ - public com.google.protobuf.ProtocolStringList - getExclusivePatchesList() { + public com.google.protobuf.ProtocolStringList getExclusivePatchesList() { return exclusivePatches_.getUnmodifiableView(); } /** + * + * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -24660,12 +28108,15 @@ private void ensureExclusivePatchesIsMutable() {
        * 
* * repeated string exclusive_patches = 3; + * * @return The count of exclusivePatches. */ public int getExclusivePatchesCount() { return exclusivePatches_.size(); } /** + * + * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -24673,6 +28124,7 @@ public int getExclusivePatchesCount() {
        * 
* * repeated string exclusive_patches = 3; + * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ @@ -24680,6 +28132,8 @@ public java.lang.String getExclusivePatches(int index) { return exclusivePatches_.get(index); } /** + * + * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -24687,14 +28141,16 @@ public java.lang.String getExclusivePatches(int index) {
        * 
* * repeated string exclusive_patches = 3; + * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - public com.google.protobuf.ByteString - getExclusivePatchesBytes(int index) { + public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) { return exclusivePatches_.getByteString(index); } /** + * + * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -24702,21 +28158,23 @@ public java.lang.String getExclusivePatches(int index) {
        * 
* * repeated string exclusive_patches = 3; + * * @param index The index to set the value at. * @param value The exclusivePatches to set. * @return This builder for chaining. */ - public Builder setExclusivePatches( - int index, java.lang.String value) { + public Builder setExclusivePatches(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePatchesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePatchesIsMutable(); exclusivePatches_.set(index, value); onChanged(); return this; } /** + * + * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -24724,20 +28182,22 @@ public Builder setExclusivePatches(
        * 
* * repeated string exclusive_patches = 3; + * * @param value The exclusivePatches to add. * @return This builder for chaining. */ - public Builder addExclusivePatches( - java.lang.String value) { + public Builder addExclusivePatches(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePatchesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePatchesIsMutable(); exclusivePatches_.add(value); onChanged(); return this; } /** + * + * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -24745,18 +28205,19 @@ public Builder addExclusivePatches(
        * 
* * repeated string exclusive_patches = 3; + * * @param values The exclusivePatches to add. * @return This builder for chaining. */ - public Builder addAllExclusivePatches( - java.lang.Iterable values) { + public Builder addAllExclusivePatches(java.lang.Iterable values) { ensureExclusivePatchesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, exclusivePatches_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusivePatches_); onChanged(); return this; } /** + * + * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -24764,6 +28225,7 @@ public Builder addAllExclusivePatches(
        * 
* * repeated string exclusive_patches = 3; + * * @return This builder for chaining. */ public Builder clearExclusivePatches() { @@ -24773,6 +28235,8 @@ public Builder clearExclusivePatches() { return this; } /** + * + * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -24780,20 +28244,21 @@ public Builder clearExclusivePatches() {
        * 
* * repeated string exclusive_patches = 3; + * * @param value The bytes of the exclusivePatches to add. * @return This builder for chaining. */ - public Builder addExclusivePatchesBytes( - com.google.protobuf.ByteString value) { + public Builder addExclusivePatchesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExclusivePatchesIsMutable(); exclusivePatches_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -24806,30 +28271,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.WindowsUpdateSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.WindowsUpdateSettings) - private static final com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings(); } - public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings getDefaultInstance() { + public static com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsUpdateSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsUpdateSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsUpdateSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsUpdateSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -24841,101 +28308,121 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ExecStepOrBuilder extends + public interface ExecStepOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ExecStep) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; + * * @return Whether the linuxExecStepConfig field is set. */ boolean hasLinuxExecStepConfig(); /** + * + * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; + * * @return The linuxExecStepConfig. */ com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getLinuxExecStepConfig(); /** + * + * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; */ - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder getLinuxExecStepConfigOrBuilder(); + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder + getLinuxExecStepConfigOrBuilder(); /** + * + * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; + * * @return Whether the windowsExecStepConfig field is set. */ boolean hasWindowsExecStepConfig(); /** + * + * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; + * * @return The windowsExecStepConfig. */ com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getWindowsExecStepConfig(); /** + * + * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; */ - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder getWindowsExecStepConfigOrBuilder(); + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder + getWindowsExecStepConfigOrBuilder(); } /** + * + * *
    * A step that runs an executable for a PatchJob.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ExecStep} */ - public static final class ExecStep extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ExecStep extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ExecStep) ExecStepOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecStep.newBuilder() to construct. private ExecStep(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExecStep() { - } + + private ExecStep() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExecStep(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExecStep( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -24954,39 +28441,47 @@ private ExecStep( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder subBuilder = null; - if (linuxExecStepConfig_ != null) { - subBuilder = linuxExecStepConfig_.toBuilder(); - } - linuxExecStepConfig_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(linuxExecStepConfig_); - linuxExecStepConfig_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder subBuilder = null; + if (linuxExecStepConfig_ != null) { + subBuilder = linuxExecStepConfig_.toBuilder(); + } + linuxExecStepConfig_ = + input.readMessage( + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(linuxExecStepConfig_); + linuxExecStepConfig_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder subBuilder = null; - if (windowsExecStepConfig_ != null) { - subBuilder = windowsExecStepConfig_.toBuilder(); - } - windowsExecStepConfig_ = input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(windowsExecStepConfig_); - windowsExecStepConfig_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder subBuilder = null; + if (windowsExecStepConfig_ != null) { + subBuilder = windowsExecStepConfig_.toBuilder(); + } + windowsExecStepConfig_ = + input.readMessage( + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(windowsExecStepConfig_); + windowsExecStepConfig_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -24994,34 +28489,39 @@ private ExecStep( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStep_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ExecStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStep_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ExecStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ExecStep.class, com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ExecStep.class, + com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder.class); } public static final int LINUX_EXEC_STEP_CONFIG_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig linuxExecStepConfig_; /** + * + * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; + * * @return Whether the linuxExecStepConfig field is set. */ @java.lang.Override @@ -25029,18 +28529,25 @@ public boolean hasLinuxExecStepConfig() { return linuxExecStepConfig_ != null; } /** + * + * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; + * * @return The linuxExecStepConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getLinuxExecStepConfig() { - return linuxExecStepConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() : linuxExecStepConfig_; + return linuxExecStepConfig_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() + : linuxExecStepConfig_; } /** + * + * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
@@ -25048,18 +28555,22 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getLinuxExecStepCon * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder getLinuxExecStepConfigOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder + getLinuxExecStepConfigOrBuilder() { return getLinuxExecStepConfig(); } public static final int WINDOWS_EXEC_STEP_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig windowsExecStepConfig_; /** + * + * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; + * * @return Whether the windowsExecStepConfig field is set. */ @java.lang.Override @@ -25067,18 +28578,25 @@ public boolean hasWindowsExecStepConfig() { return windowsExecStepConfig_ != null; } /** + * + * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; + * * @return The windowsExecStepConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getWindowsExecStepConfig() { - return windowsExecStepConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() : windowsExecStepConfig_; + return windowsExecStepConfig_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() + : windowsExecStepConfig_; } /** + * + * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
@@ -25086,11 +28604,13 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getWindowsExecStepC * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder getWindowsExecStepConfigOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder + getWindowsExecStepConfigOrBuilder() { return getWindowsExecStepConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -25102,8 +28622,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (linuxExecStepConfig_ != null) { output.writeMessage(1, getLinuxExecStepConfig()); } @@ -25120,12 +28639,12 @@ public int getSerializedSize() { size = 0; if (linuxExecStepConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getLinuxExecStepConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLinuxExecStepConfig()); } if (windowsExecStepConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getWindowsExecStepConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWindowsExecStepConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -25135,22 +28654,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.ExecStep)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.ExecStep other = (com.google.cloud.osconfig.v1.PatchJobs.ExecStep) obj; + com.google.cloud.osconfig.v1.PatchJobs.ExecStep other = + (com.google.cloud.osconfig.v1.PatchJobs.ExecStep) obj; if (hasLinuxExecStepConfig() != other.hasLinuxExecStepConfig()) return false; if (hasLinuxExecStepConfig()) { - if (!getLinuxExecStepConfig() - .equals(other.getLinuxExecStepConfig())) return false; + if (!getLinuxExecStepConfig().equals(other.getLinuxExecStepConfig())) return false; } if (hasWindowsExecStepConfig() != other.hasWindowsExecStepConfig()) return false; if (hasWindowsExecStepConfig()) { - if (!getWindowsExecStepConfig() - .equals(other.getWindowsExecStepConfig())) return false; + if (!getWindowsExecStepConfig().equals(other.getWindowsExecStepConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -25177,87 +28695,93 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep 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.osconfig.v1.PatchJobs.ExecStep parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.ExecStep prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -25267,27 +28791,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A step that runs an executable for a PatchJob.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.ExecStep} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ExecStep) com.google.cloud.osconfig.v1.PatchJobs.ExecStepOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStep_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ExecStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStep_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ExecStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ExecStep.class, com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ExecStep.class, + com.google.cloud.osconfig.v1.PatchJobs.ExecStep.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.ExecStep.newBuilder() @@ -25295,16 +28824,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -25324,9 +28852,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStep_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ExecStep_descriptor; } @java.lang.Override @@ -25345,7 +28873,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStep build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ExecStep buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.ExecStep result = new com.google.cloud.osconfig.v1.PatchJobs.ExecStep(this); + com.google.cloud.osconfig.v1.PatchJobs.ExecStep result = + new com.google.cloud.osconfig.v1.PatchJobs.ExecStep(this); if (linuxExecStepConfigBuilder_ == null) { result.linuxExecStepConfig_ = linuxExecStepConfig_; } else { @@ -25364,38 +28893,41 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStep buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.ExecStep) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ExecStep)other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ExecStep) other); } else { super.mergeFrom(other); return this; @@ -25403,7 +28935,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ExecStep other) { - if (other == com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1.PatchJobs.ExecStep.getDefaultInstance()) + return this; if (other.hasLinuxExecStepConfig()) { mergeLinuxExecStepConfig(other.getLinuxExecStepConfig()); } @@ -25429,7 +28962,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.ExecStep) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchJobs.ExecStep) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -25441,41 +28975,55 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig linuxExecStepConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder> linuxExecStepConfigBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder> + linuxExecStepConfigBuilder_; /** + * + * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; + * * @return Whether the linuxExecStepConfig field is set. */ public boolean hasLinuxExecStepConfig() { return linuxExecStepConfigBuilder_ != null || linuxExecStepConfig_ != null; } /** + * + * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; + * * @return The linuxExecStepConfig. */ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getLinuxExecStepConfig() { if (linuxExecStepConfigBuilder_ == null) { - return linuxExecStepConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() : linuxExecStepConfig_; + return linuxExecStepConfig_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() + : linuxExecStepConfig_; } else { return linuxExecStepConfigBuilder_.getMessage(); } } /** + * + * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; */ - public Builder setLinuxExecStepConfig(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig value) { + public Builder setLinuxExecStepConfig( + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig value) { if (linuxExecStepConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -25489,6 +29037,8 @@ public Builder setLinuxExecStepConfig(com.google.cloud.osconfig.v1.PatchJobs.Exe return this; } /** + * + * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
@@ -25507,17 +29057,23 @@ public Builder setLinuxExecStepConfig( return this; } /** + * + * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; */ - public Builder mergeLinuxExecStepConfig(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig value) { + public Builder mergeLinuxExecStepConfig( + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig value) { if (linuxExecStepConfigBuilder_ == null) { if (linuxExecStepConfig_ != null) { linuxExecStepConfig_ = - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.newBuilder(linuxExecStepConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.newBuilder( + linuxExecStepConfig_) + .mergeFrom(value) + .buildPartial(); } else { linuxExecStepConfig_ = value; } @@ -25529,6 +29085,8 @@ public Builder mergeLinuxExecStepConfig(com.google.cloud.osconfig.v1.PatchJobs.E return this; } /** + * + * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
@@ -25547,33 +29105,42 @@ public Builder clearLinuxExecStepConfig() { return this; } /** + * + * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; */ - public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder getLinuxExecStepConfigBuilder() { - + public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder + getLinuxExecStepConfigBuilder() { + onChanged(); return getLinuxExecStepConfigFieldBuilder().getBuilder(); } /** + * + * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; */ - public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder getLinuxExecStepConfigOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder + getLinuxExecStepConfigOrBuilder() { if (linuxExecStepConfigBuilder_ != null) { return linuxExecStepConfigBuilder_.getMessageOrBuilder(); } else { - return linuxExecStepConfig_ == null ? - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() : linuxExecStepConfig_; + return linuxExecStepConfig_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() + : linuxExecStepConfig_; } } /** + * + * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
@@ -25581,14 +29148,17 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder getLinuxEx * .google.cloud.osconfig.v1.ExecStepConfig linux_exec_step_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder> getLinuxExecStepConfigFieldBuilder() { if (linuxExecStepConfigBuilder_ == null) { - linuxExecStepConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder>( - getLinuxExecStepConfig(), - getParentForChildren(), - isClean()); + linuxExecStepConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder>( + getLinuxExecStepConfig(), getParentForChildren(), isClean()); linuxExecStepConfig_ = null; } return linuxExecStepConfigBuilder_; @@ -25596,41 +29166,55 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder getLinuxEx private com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig windowsExecStepConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder> windowsExecStepConfigBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder> + windowsExecStepConfigBuilder_; /** + * + * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; + * * @return Whether the windowsExecStepConfig field is set. */ public boolean hasWindowsExecStepConfig() { return windowsExecStepConfigBuilder_ != null || windowsExecStepConfig_ != null; } /** + * + * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; + * * @return The windowsExecStepConfig. */ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getWindowsExecStepConfig() { if (windowsExecStepConfigBuilder_ == null) { - return windowsExecStepConfig_ == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() : windowsExecStepConfig_; + return windowsExecStepConfig_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() + : windowsExecStepConfig_; } else { return windowsExecStepConfigBuilder_.getMessage(); } } /** + * + * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; */ - public Builder setWindowsExecStepConfig(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig value) { + public Builder setWindowsExecStepConfig( + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig value) { if (windowsExecStepConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -25644,6 +29228,8 @@ public Builder setWindowsExecStepConfig(com.google.cloud.osconfig.v1.PatchJobs.E return this; } /** + * + * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
@@ -25662,17 +29248,23 @@ public Builder setWindowsExecStepConfig( return this; } /** + * + * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; */ - public Builder mergeWindowsExecStepConfig(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig value) { + public Builder mergeWindowsExecStepConfig( + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig value) { if (windowsExecStepConfigBuilder_ == null) { if (windowsExecStepConfig_ != null) { windowsExecStepConfig_ = - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.newBuilder(windowsExecStepConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.newBuilder( + windowsExecStepConfig_) + .mergeFrom(value) + .buildPartial(); } else { windowsExecStepConfig_ = value; } @@ -25684,6 +29276,8 @@ public Builder mergeWindowsExecStepConfig(com.google.cloud.osconfig.v1.PatchJobs return this; } /** + * + * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
@@ -25702,33 +29296,42 @@ public Builder clearWindowsExecStepConfig() { return this; } /** + * + * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; */ - public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder getWindowsExecStepConfigBuilder() { - + public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder + getWindowsExecStepConfigBuilder() { + onChanged(); return getWindowsExecStepConfigFieldBuilder().getBuilder(); } /** + * + * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; */ - public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder getWindowsExecStepConfigOrBuilder() { + public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder + getWindowsExecStepConfigOrBuilder() { if (windowsExecStepConfigBuilder_ != null) { return windowsExecStepConfigBuilder_.getMessageOrBuilder(); } else { - return windowsExecStepConfig_ == null ? - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() : windowsExecStepConfig_; + return windowsExecStepConfig_ == null + ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance() + : windowsExecStepConfig_; } } /** + * + * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
@@ -25736,18 +29339,22 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder getWindows * .google.cloud.osconfig.v1.ExecStepConfig windows_exec_step_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder> getWindowsExecStepConfigFieldBuilder() { if (windowsExecStepConfigBuilder_ == null) { - windowsExecStepConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder>( - getWindowsExecStepConfig(), - getParentForChildren(), - isClean()); + windowsExecStepConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder>( + getWindowsExecStepConfig(), getParentForChildren(), isClean()); windowsExecStepConfig_ = null; } return windowsExecStepConfigBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -25760,12 +29367,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ExecStep) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ExecStep) private static final com.google.cloud.osconfig.v1.PatchJobs.ExecStep DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.ExecStep(); } @@ -25774,16 +29381,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.ExecStep getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecStep parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecStep(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecStep parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecStep(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -25798,61 +29405,77 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.ExecStep getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ExecStepConfigOrBuilder extends + public interface ExecStepConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ExecStepConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; + * * @return Whether the localPath field is set. */ boolean hasLocalPath(); /** + * + * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; + * * @return The localPath. */ java.lang.String getLocalPath(); /** + * + * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; + * * @return The bytes for localPath. */ - com.google.protobuf.ByteString - getLocalPathBytes(); + com.google.protobuf.ByteString getLocalPathBytes(); /** + * + * *
      * A Cloud Storage object containing the executable.
      * 
* * .google.cloud.osconfig.v1.GcsObject gcs_object = 2; + * * @return Whether the gcsObject field is set. */ boolean hasGcsObject(); /** + * + * *
      * A Cloud Storage object containing the executable.
      * 
* * .google.cloud.osconfig.v1.GcsObject gcs_object = 2; + * * @return The gcsObject. */ com.google.cloud.osconfig.v1.PatchJobs.GcsObject getGcsObject(); /** + * + * *
      * A Cloud Storage object containing the executable.
      * 
@@ -25862,38 +29485,49 @@ public interface ExecStepConfigOrBuilder extends com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder getGcsObjectOrBuilder(); /** + * + * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; + * * @return A list containing the allowedSuccessCodes. */ java.util.List getAllowedSuccessCodesList(); /** + * + * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; + * * @return The count of allowedSuccessCodes. */ int getAllowedSuccessCodesCount(); /** + * + * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; + * * @param index The index of the element to return. * @return The allowedSuccessCodes at the given index. */ int getAllowedSuccessCodes(int index); /** + * + * *
      * The script interpreter to use to run the script. If no interpreter is
      * specified the script will be executed directly, which will likely
@@ -25902,10 +29536,13 @@ public interface ExecStepConfigOrBuilder extends
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4; + * * @return The enum numeric value on the wire for interpreter. */ int getInterpreterValue(); /** + * + * *
      * The script interpreter to use to run the script. If no interpreter is
      * specified the script will be executed directly, which will likely
@@ -25914,6 +29551,7 @@ public interface ExecStepConfigOrBuilder extends
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4; + * * @return The interpreter. */ com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter getInterpreter(); @@ -25921,21 +29559,24 @@ public interface ExecStepConfigOrBuilder extends public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.ExecutableCase getExecutableCase(); } /** + * + * *
    * Common configurations for an ExecStep.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.ExecStepConfig} */ - public static final class ExecStepConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ExecStepConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.ExecStepConfig) ExecStepConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecStepConfig.newBuilder() to construct. private ExecStepConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExecStepConfig() { allowedSuccessCodes_ = emptyIntList(); interpreter_ = 0; @@ -25943,16 +29584,15 @@ private ExecStepConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExecStepConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExecStepConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -25972,60 +29612,69 @@ private ExecStepConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - executableCase_ = 1; - executable_ = s; - break; - } - case 18: { - com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder subBuilder = null; - if (executableCase_ == 2) { - subBuilder = ((com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_).toBuilder(); - } - executable_ = - input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.GcsObject.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_); - executable_ = subBuilder.buildPartial(); - } - executableCase_ = 2; - break; - } - case 24: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - allowedSuccessCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + executableCase_ = 1; + executable_ = s; + break; } - allowedSuccessCodes_.addInt(input.readInt32()); - break; - } - case 26: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { - allowedSuccessCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000001; + case 18: + { + com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder subBuilder = null; + if (executableCase_ == 2) { + subBuilder = + ((com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_).toBuilder(); + } + executable_ = + input.readMessage( + com.google.cloud.osconfig.v1.PatchJobs.GcsObject.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_); + executable_ = subBuilder.buildPartial(); + } + executableCase_ = 2; + break; } - while (input.getBytesUntilLimit() > 0) { + case 24: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + allowedSuccessCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } allowedSuccessCodes_.addInt(input.readInt32()); + break; } - input.popLimit(limit); - break; - } - case 32: { - int rawValue = input.readEnum(); + case 26: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + allowedSuccessCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } + while (input.getBytesUntilLimit() > 0) { + allowedSuccessCodes_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 32: + { + int rawValue = input.readEnum(); - interpreter_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + interpreter_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -26033,8 +29682,7 @@ private ExecStepConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { allowedSuccessCodes_.makeImmutable(); // C @@ -26043,29 +29691,35 @@ private ExecStepConfig( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStepConfig_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ExecStepConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.class, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.class, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder.class); } /** + * + * *
      * The interpreter used to execute the a file.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1.ExecStepConfig.Interpreter} */ - public enum Interpreter - implements com.google.protobuf.ProtocolMessageEnum { + public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Invalid for a Windows ExecStepConfig. For a Linux ExecStepConfig, the
        * interpreter will be parsed from the shebang line of the script if
@@ -26076,6 +29730,8 @@ public enum Interpreter
        */
       INTERPRETER_UNSPECIFIED(0),
       /**
+       *
+       *
        * 
        * Indicates that the script is run with `/bin/sh` on Linux and `cmd`
        * on Windows.
@@ -26085,6 +29741,8 @@ public enum Interpreter
        */
       SHELL(1),
       /**
+       *
+       *
        * 
        * Indicates that the file is run with PowerShell flags
        * `-NonInteractive`, `-NoProfile`, and `-ExecutionPolicy Bypass`.
@@ -26097,6 +29755,8 @@ public enum Interpreter
       ;
 
       /**
+       *
+       *
        * 
        * Invalid for a Windows ExecStepConfig. For a Linux ExecStepConfig, the
        * interpreter will be parsed from the shebang line of the script if
@@ -26107,6 +29767,8 @@ public enum Interpreter
        */
       public static final int INTERPRETER_UNSPECIFIED_VALUE = 0;
       /**
+       *
+       *
        * 
        * Indicates that the script is run with `/bin/sh` on Linux and `cmd`
        * on Windows.
@@ -26116,6 +29778,8 @@ public enum Interpreter
        */
       public static final int SHELL_VALUE = 1;
       /**
+       *
+       *
        * 
        * Indicates that the file is run with PowerShell flags
        * `-NonInteractive`, `-NoProfile`, and `-ExecutionPolicy Bypass`.
@@ -26125,7 +29789,6 @@ public enum Interpreter
        */
       public static final int POWERSHELL_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -26150,49 +29813,51 @@ public static Interpreter valueOf(int value) {
        */
       public static Interpreter forNumber(int value) {
         switch (value) {
-          case 0: return INTERPRETER_UNSPECIFIED;
-          case 1: return SHELL;
-          case 2: return POWERSHELL;
-          default: return null;
+          case 0:
+            return INTERPRETER_UNSPECIFIED;
+          case 1:
+            return SHELL;
+          case 2:
+            return POWERSHELL;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          Interpreter> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public Interpreter findValueByNumber(int number) {
-                return Interpreter.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Interpreter findValueByNumber(int number) {
+              return Interpreter.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final Interpreter[] VALUES = values();
 
-      public static Interpreter valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Interpreter valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -26211,13 +29876,16 @@ private Interpreter(int value) {
 
     private int executableCase_ = 0;
     private java.lang.Object executable_;
+
     public enum ExecutableCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       LOCAL_PATH(1),
       GCS_OBJECT(2),
       EXECUTABLE_NOT_SET(0);
       private final int value;
+
       private ExecutableCase(int value) {
         this.value = value;
       }
@@ -26233,41 +29901,50 @@ public static ExecutableCase valueOf(int value) {
 
       public static ExecutableCase forNumber(int value) {
         switch (value) {
-          case 1: return LOCAL_PATH;
-          case 2: return GCS_OBJECT;
-          case 0: return EXECUTABLE_NOT_SET;
-          default: return null;
+          case 1:
+            return LOCAL_PATH;
+          case 2:
+            return GCS_OBJECT;
+          case 0:
+            return EXECUTABLE_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ExecutableCase
-    getExecutableCase() {
-      return ExecutableCase.forNumber(
-          executableCase_);
+    public ExecutableCase getExecutableCase() {
+      return ExecutableCase.forNumber(executableCase_);
     }
 
     public static final int LOCAL_PATH_FIELD_NUMBER = 1;
     /**
+     *
+     *
      * 
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; + * * @return Whether the localPath field is set. */ public boolean hasLocalPath() { return executableCase_ == 1; } /** + * + * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; + * * @return The localPath. */ public java.lang.String getLocalPath() { @@ -26278,8 +29955,7 @@ public java.lang.String getLocalPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (executableCase_ == 1) { executable_ = s; @@ -26288,23 +29964,24 @@ public java.lang.String getLocalPath() { } } /** + * + * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; + * * @return The bytes for localPath. */ - public com.google.protobuf.ByteString - getLocalPathBytes() { + public com.google.protobuf.ByteString getLocalPathBytes() { java.lang.Object ref = ""; if (executableCase_ == 1) { ref = executable_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (executableCase_ == 1) { executable_ = b; } @@ -26316,11 +29993,14 @@ public java.lang.String getLocalPath() { public static final int GCS_OBJECT_FIELD_NUMBER = 2; /** + * + * *
      * A Cloud Storage object containing the executable.
      * 
* * .google.cloud.osconfig.v1.GcsObject gcs_object = 2; + * * @return Whether the gcsObject field is set. */ @java.lang.Override @@ -26328,21 +30008,26 @@ public boolean hasGcsObject() { return executableCase_ == 2; } /** + * + * *
      * A Cloud Storage object containing the executable.
      * 
* * .google.cloud.osconfig.v1.GcsObject gcs_object = 2; + * * @return The gcsObject. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.GcsObject getGcsObject() { if (executableCase_ == 2) { - return (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_; + return (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_; } return com.google.cloud.osconfig.v1.PatchJobs.GcsObject.getDefaultInstance(); } /** + * + * *
      * A Cloud Storage object containing the executable.
      * 
@@ -26352,7 +30037,7 @@ public com.google.cloud.osconfig.v1.PatchJobs.GcsObject getGcsObject() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder getGcsObjectOrBuilder() { if (executableCase_ == 2) { - return (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_; + return (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_; } return com.google.cloud.osconfig.v1.PatchJobs.GcsObject.getDefaultInstance(); } @@ -26360,49 +30045,60 @@ public com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder getGcsObjectOrB public static final int ALLOWED_SUCCESS_CODES_FIELD_NUMBER = 3; private com.google.protobuf.Internal.IntList allowedSuccessCodes_; /** + * + * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; + * * @return A list containing the allowedSuccessCodes. */ @java.lang.Override - public java.util.List - getAllowedSuccessCodesList() { + public java.util.List getAllowedSuccessCodesList() { return allowedSuccessCodes_; } /** + * + * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; + * * @return The count of allowedSuccessCodes. */ public int getAllowedSuccessCodesCount() { return allowedSuccessCodes_.size(); } /** + * + * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; + * * @param index The index of the element to return. * @return The allowedSuccessCodes at the given index. */ public int getAllowedSuccessCodes(int index) { return allowedSuccessCodes_.getInt(index); } + private int allowedSuccessCodesMemoizedSerializedSize = -1; public static final int INTERPRETER_FIELD_NUMBER = 4; private int interpreter_; /** + * + * *
      * The script interpreter to use to run the script. If no interpreter is
      * specified the script will be executed directly, which will likely
@@ -26411,12 +30107,16 @@ public int getAllowedSuccessCodes(int index) {
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4; + * * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override public int getInterpreterValue() { + @java.lang.Override + public int getInterpreterValue() { return interpreter_; } /** + * + * *
      * The script interpreter to use to run the script. If no interpreter is
      * specified the script will be executed directly, which will likely
@@ -26425,15 +30125,21 @@ public int getAllowedSuccessCodes(int index) {
      * 
* * .google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4; + * * @return The interpreter. */ - @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter getInterpreter() { + @java.lang.Override + public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter result = com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.valueOf(interpreter_); - return result == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter result = + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.valueOf(interpreter_); + return result == null + ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -26445,8 +30151,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (executableCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, executable_); @@ -26461,7 +30166,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < allowedSuccessCodes_.size(); i++) { output.writeInt32NoTag(allowedSuccessCodes_.getInt(i)); } - if (interpreter_ != com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { + if (interpreter_ + != com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter + .INTERPRETER_UNSPECIFIED + .getNumber()) { output.writeEnum(4, interpreter_); } unknownFields.writeTo(output); @@ -26477,26 +30185,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, executable_); } if (executableCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_); } { int dataSize = 0; for (int i = 0; i < allowedSuccessCodes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(allowedSuccessCodes_.getInt(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag( + allowedSuccessCodes_.getInt(i)); } size += dataSize; if (!getAllowedSuccessCodesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } allowedSuccessCodesMemoizedSerializedSize = dataSize; } - if (interpreter_ != com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, interpreter_); + if (interpreter_ + != com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter + .INTERPRETER_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, interpreter_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -26506,25 +30217,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig other = (com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig) obj; + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig other = + (com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig) obj; - if (!getAllowedSuccessCodesList() - .equals(other.getAllowedSuccessCodesList())) return false; + if (!getAllowedSuccessCodesList().equals(other.getAllowedSuccessCodesList())) return false; if (interpreter_ != other.interpreter_) return false; if (!getExecutableCase().equals(other.getExecutableCase())) return false; switch (executableCase_) { case 1: - if (!getLocalPath() - .equals(other.getLocalPath())) return false; + if (!getLocalPath().equals(other.getLocalPath())) return false; break; case 2: - if (!getGcsObject() - .equals(other.getGcsObject())) return false; + if (!getGcsObject().equals(other.getGcsObject())) return false; break; case 0: default: @@ -26564,87 +30273,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig 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.osconfig.v1.PatchJobs.ExecStepConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -26654,27 +30370,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Common configurations for an ExecStep.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.ExecStepConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.ExecStepConfig) com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStepConfig_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ExecStepConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.class, com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.class, + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.newBuilder() @@ -26682,16 +30403,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -26705,9 +30425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor; } @java.lang.Override @@ -26726,7 +30446,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig result = new com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig(this); + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig result = + new com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig(this); int from_bitField0_ = bitField0_; if (executableCase_ == 1) { result.executable_ = executable_; @@ -26753,38 +30474,41 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.ExecStepConfig) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig)other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig) other); } else { super.mergeFrom(other); return this; @@ -26792,7 +30516,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig other) { - if (other == com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.getDefaultInstance()) + return this; if (!other.allowedSuccessCodes_.isEmpty()) { if (allowedSuccessCodes_.isEmpty()) { allowedSuccessCodes_ = other.allowedSuccessCodes_; @@ -26807,19 +30532,22 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig o setInterpreterValue(other.getInterpreterValue()); } switch (other.getExecutableCase()) { - case LOCAL_PATH: { - executableCase_ = 1; - executable_ = other.executable_; - onChanged(); - break; - } - case GCS_OBJECT: { - mergeGcsObject(other.getGcsObject()); - break; - } - case EXECUTABLE_NOT_SET: { - break; - } + case LOCAL_PATH: + { + executableCase_ = 1; + executable_ = other.executable_; + onChanged(); + break; + } + case GCS_OBJECT: + { + mergeGcsObject(other.getGcsObject()); + break; + } + case EXECUTABLE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -26840,7 +30568,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -26849,12 +30578,12 @@ public Builder mergeFrom( } return this; } + private int executableCase_ = 0; private java.lang.Object executable_; - public ExecutableCase - getExecutableCase() { - return ExecutableCase.forNumber( - executableCase_); + + public ExecutableCase getExecutableCase() { + return ExecutableCase.forNumber(executableCase_); } public Builder clearExecutable() { @@ -26867,11 +30596,14 @@ public Builder clearExecutable() { private int bitField0_; /** + * + * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; + * * @return Whether the localPath field is set. */ @java.lang.Override @@ -26879,11 +30611,14 @@ public boolean hasLocalPath() { return executableCase_ == 1; } /** + * + * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; + * * @return The localPath. */ @java.lang.Override @@ -26893,8 +30628,7 @@ public java.lang.String getLocalPath() { ref = executable_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (executableCase_ == 1) { executable_ = s; @@ -26905,24 +30639,25 @@ public java.lang.String getLocalPath() { } } /** + * + * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; + * * @return The bytes for localPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocalPathBytes() { + public com.google.protobuf.ByteString getLocalPathBytes() { java.lang.Object ref = ""; if (executableCase_ == 1) { ref = executable_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (executableCase_ == 1) { executable_ = b; } @@ -26932,30 +30667,35 @@ public java.lang.String getLocalPath() { } } /** + * + * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; + * * @param value The localPath to set. * @return This builder for chaining. */ - public Builder setLocalPath( - java.lang.String value) { + public Builder setLocalPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - executableCase_ = 1; + throw new NullPointerException(); + } + executableCase_ = 1; executable_ = value; onChanged(); return this; } /** + * + * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; + * * @return This builder for chaining. */ public Builder clearLocalPath() { @@ -26967,20 +30707,22 @@ public Builder clearLocalPath() { return this; } /** + * + * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; + * * @param value The bytes for localPath to set. * @return This builder for chaining. */ - public Builder setLocalPathBytes( - com.google.protobuf.ByteString value) { + public Builder setLocalPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); executableCase_ = 1; executable_ = value; onChanged(); @@ -26988,13 +30730,19 @@ public Builder setLocalPathBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.GcsObject, com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder, com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder> gcsObjectBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.GcsObject, + com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder, + com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder> + gcsObjectBuilder_; /** + * + * *
        * A Cloud Storage object containing the executable.
        * 
* * .google.cloud.osconfig.v1.GcsObject gcs_object = 2; + * * @return Whether the gcsObject field is set. */ @java.lang.Override @@ -27002,11 +30750,14 @@ public boolean hasGcsObject() { return executableCase_ == 2; } /** + * + * *
        * A Cloud Storage object containing the executable.
        * 
* * .google.cloud.osconfig.v1.GcsObject gcs_object = 2; + * * @return The gcsObject. */ @java.lang.Override @@ -27024,6 +30775,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.GcsObject getGcsObject() { } } /** + * + * *
        * A Cloud Storage object containing the executable.
        * 
@@ -27044,6 +30797,8 @@ public Builder setGcsObject(com.google.cloud.osconfig.v1.PatchJobs.GcsObject val return this; } /** + * + * *
        * A Cloud Storage object containing the executable.
        * 
@@ -27062,6 +30817,8 @@ public Builder setGcsObject( return this; } /** + * + * *
        * A Cloud Storage object containing the executable.
        * 
@@ -27070,10 +30827,14 @@ public Builder setGcsObject( */ public Builder mergeGcsObject(com.google.cloud.osconfig.v1.PatchJobs.GcsObject value) { if (gcsObjectBuilder_ == null) { - if (executableCase_ == 2 && - executable_ != com.google.cloud.osconfig.v1.PatchJobs.GcsObject.getDefaultInstance()) { - executable_ = com.google.cloud.osconfig.v1.PatchJobs.GcsObject.newBuilder((com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_) - .mergeFrom(value).buildPartial(); + if (executableCase_ == 2 + && executable_ + != com.google.cloud.osconfig.v1.PatchJobs.GcsObject.getDefaultInstance()) { + executable_ = + com.google.cloud.osconfig.v1.PatchJobs.GcsObject.newBuilder( + (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_) + .mergeFrom(value) + .buildPartial(); } else { executable_ = value; } @@ -27089,6 +30850,8 @@ public Builder mergeGcsObject(com.google.cloud.osconfig.v1.PatchJobs.GcsObject v return this; } /** + * + * *
        * A Cloud Storage object containing the executable.
        * 
@@ -27112,6 +30875,8 @@ public Builder clearGcsObject() { return this; } /** + * + * *
        * A Cloud Storage object containing the executable.
        * 
@@ -27122,6 +30887,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder getGcsObjectBuil return getGcsObjectFieldBuilder().getBuilder(); } /** + * + * *
        * A Cloud Storage object containing the executable.
        * 
@@ -27140,6 +30907,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder getGcsObjectOrB } } /** + * + * *
        * A Cloud Storage object containing the executable.
        * 
@@ -27147,64 +30916,80 @@ public com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder getGcsObjectOrB * .google.cloud.osconfig.v1.GcsObject gcs_object = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.GcsObject, com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder, com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.GcsObject, + com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder, + com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder> getGcsObjectFieldBuilder() { if (gcsObjectBuilder_ == null) { if (!(executableCase_ == 2)) { executable_ = com.google.cloud.osconfig.v1.PatchJobs.GcsObject.getDefaultInstance(); } - gcsObjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.GcsObject, com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder, com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder>( + gcsObjectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.GcsObject, + com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder, + com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder>( (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) executable_, getParentForChildren(), isClean()); executable_ = null; } executableCase_ = 2; - onChanged();; + onChanged(); + ; return gcsObjectBuilder_; } private com.google.protobuf.Internal.IntList allowedSuccessCodes_ = emptyIntList(); + private void ensureAllowedSuccessCodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { allowedSuccessCodes_ = mutableCopy(allowedSuccessCodes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; + * * @return A list containing the allowedSuccessCodes. */ - public java.util.List - getAllowedSuccessCodesList() { - return ((bitField0_ & 0x00000001) != 0) ? - java.util.Collections.unmodifiableList(allowedSuccessCodes_) : allowedSuccessCodes_; + public java.util.List getAllowedSuccessCodesList() { + return ((bitField0_ & 0x00000001) != 0) + ? java.util.Collections.unmodifiableList(allowedSuccessCodes_) + : allowedSuccessCodes_; } /** + * + * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; + * * @return The count of allowedSuccessCodes. */ public int getAllowedSuccessCodesCount() { return allowedSuccessCodes_.size(); } /** + * + * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; + * * @param index The index of the element to return. * @return The allowedSuccessCodes at the given index. */ @@ -27212,30 +30997,35 @@ public int getAllowedSuccessCodes(int index) { return allowedSuccessCodes_.getInt(index); } /** + * + * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; + * * @param index The index to set the value at. * @param value The allowedSuccessCodes to set. * @return This builder for chaining. */ - public Builder setAllowedSuccessCodes( - int index, int value) { + public Builder setAllowedSuccessCodes(int index, int value) { ensureAllowedSuccessCodesIsMutable(); allowedSuccessCodes_.setInt(index, value); onChanged(); return this; } /** + * + * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; + * * @param value The allowedSuccessCodes to add. * @return This builder for chaining. */ @@ -27246,30 +31036,35 @@ public Builder addAllowedSuccessCodes(int value) { return this; } /** + * + * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; + * * @param values The allowedSuccessCodes to add. * @return This builder for chaining. */ public Builder addAllAllowedSuccessCodes( java.lang.Iterable values) { ensureAllowedSuccessCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, allowedSuccessCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedSuccessCodes_); onChanged(); return this; } /** + * + * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; + * * @return This builder for chaining. */ public Builder clearAllowedSuccessCodes() { @@ -27281,6 +31076,8 @@ public Builder clearAllowedSuccessCodes() { private int interpreter_ = 0; /** + * + * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -27289,12 +31086,16 @@ public Builder clearAllowedSuccessCodes() {
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4; + * * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override public int getInterpreterValue() { + @java.lang.Override + public int getInterpreterValue() { return interpreter_; } /** + * + * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -27303,16 +31104,19 @@ public Builder clearAllowedSuccessCodes() {
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4; + * * @param value The enum numeric value on the wire for interpreter to set. * @return This builder for chaining. */ public Builder setInterpreterValue(int value) { - + interpreter_ = value; onChanged(); return this; } /** + * + * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -27321,15 +31125,21 @@ public Builder setInterpreterValue(int value) {
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4; + * * @return The interpreter. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter result = com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.valueOf(interpreter_); - return result == null ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter result = + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.valueOf(interpreter_); + return result == null + ? com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter.UNRECOGNIZED + : result; } /** + * + * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -27338,19 +31148,23 @@ public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter getInte
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4; + * * @param value The interpreter to set. * @return This builder for chaining. */ - public Builder setInterpreter(com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter value) { + public Builder setInterpreter( + com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig.Interpreter value) { if (value == null) { throw new NullPointerException(); } - + interpreter_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -27359,14 +31173,16 @@ public Builder setInterpreter(com.google.cloud.osconfig.v1.PatchJobs.ExecStepCon
        * 
* * .google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4; + * * @return This builder for chaining. */ public Builder clearInterpreter() { - + interpreter_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -27379,12 +31195,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.ExecStepConfig) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.ExecStepConfig) private static final com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig(); } @@ -27393,16 +31209,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecStepConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecStepConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecStepConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecStepConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -27417,80 +31233,96 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.ExecStepConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GcsObjectOrBuilder extends + public interface GcsObjectOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.GcsObject) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Bucket of the Cloud Storage object.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucket. */ java.lang.String getBucket(); /** + * + * *
      * Required. Bucket of the Cloud Storage object.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucket. */ - com.google.protobuf.ByteString - getBucketBytes(); + com.google.protobuf.ByteString getBucketBytes(); /** + * + * *
      * Required. Name of the Cloud Storage object.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The object. */ java.lang.String getObject(); /** + * + * *
      * Required. Name of the Cloud Storage object.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for object. */ - com.google.protobuf.ByteString - getObjectBytes(); + com.google.protobuf.ByteString getObjectBytes(); /** + * + * *
      * Required. Generation number of the Cloud Storage object. This is used to
      * ensure that the ExecStep specified by this PatchJob does not change.
      * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The generationNumber. */ long getGenerationNumber(); } /** + * + * *
    * Cloud Storage object representation.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.GcsObject} */ - public static final class GcsObject extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GcsObject extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.GcsObject) GcsObjectOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsObject.newBuilder() to construct. private GcsObject(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GcsObject() { bucket_ = ""; object_ = ""; @@ -27498,16 +31330,15 @@ private GcsObject() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcsObject(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GcsObject( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -27526,30 +31357,32 @@ private GcsObject( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - bucket_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - object_ = s; - break; - } - case 24: { + bucket_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - generationNumber_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + object_ = s; + break; + } + case 24: + { + generationNumber_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -27557,34 +31390,39 @@ private GcsObject( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GcsObject_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_GcsObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GcsObject_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_GcsObject_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.GcsObject.class, com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.GcsObject.class, + com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder.class); } public static final int BUCKET_FIELD_NUMBER = 1; private volatile java.lang.Object bucket_; /** + * + * *
      * Required. Bucket of the Cloud Storage object.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucket. */ @java.lang.Override @@ -27593,29 +31431,29 @@ public java.lang.String getBucket() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; } } /** + * + * *
      * Required. Bucket of the Cloud Storage object.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucket. */ @java.lang.Override - public com.google.protobuf.ByteString - getBucketBytes() { + public com.google.protobuf.ByteString getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bucket_ = b; return b; } else { @@ -27626,11 +31464,14 @@ public java.lang.String getBucket() { public static final int OBJECT_FIELD_NUMBER = 2; private volatile java.lang.Object object_; /** + * + * *
      * Required. Name of the Cloud Storage object.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The object. */ @java.lang.Override @@ -27639,29 +31480,29 @@ public java.lang.String getObject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; } } /** + * + * *
      * Required. Name of the Cloud Storage object.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for object. */ @java.lang.Override - public com.google.protobuf.ByteString - getObjectBytes() { + public com.google.protobuf.ByteString getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); object_ = b; return b; } else { @@ -27672,12 +31513,15 @@ public java.lang.String getObject() { public static final int GENERATION_NUMBER_FIELD_NUMBER = 3; private long generationNumber_; /** + * + * *
      * Required. Generation number of the Cloud Storage object. This is used to
      * ensure that the ExecStep specified by this PatchJob does not change.
      * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The generationNumber. */ @java.lang.Override @@ -27686,6 +31530,7 @@ public long getGenerationNumber() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -27697,8 +31542,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucket_); } @@ -27724,8 +31568,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, object_); } if (generationNumber_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, generationNumber_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, generationNumber_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -27735,19 +31578,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.GcsObject)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.GcsObject other = (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) obj; + com.google.cloud.osconfig.v1.PatchJobs.GcsObject other = + (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) obj; - if (!getBucket() - .equals(other.getBucket())) return false; - if (!getObject() - .equals(other.getObject())) return false; - if (getGenerationNumber() - != other.getGenerationNumber()) return false; + if (!getBucket().equals(other.getBucket())) return false; + if (!getObject().equals(other.getObject())) return false; + if (getGenerationNumber() != other.getGenerationNumber()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -27764,95 +31605,100 @@ public int hashCode() { hash = (37 * hash) + OBJECT_FIELD_NUMBER; hash = (53 * hash) + getObject().hashCode(); hash = (37 * hash) + GENERATION_NUMBER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getGenerationNumber()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGenerationNumber()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject 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.osconfig.v1.PatchJobs.GcsObject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.GcsObject prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -27862,27 +31708,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Cloud Storage object representation.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.GcsObject} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.GcsObject) com.google.cloud.osconfig.v1.PatchJobs.GcsObjectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GcsObject_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_GcsObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GcsObject_fieldAccessorTable + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_GcsObject_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.PatchJobs.GcsObject.class, com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder.class); + com.google.cloud.osconfig.v1.PatchJobs.GcsObject.class, + com.google.cloud.osconfig.v1.PatchJobs.GcsObject.Builder.class); } // Construct using com.google.cloud.osconfig.v1.PatchJobs.GcsObject.newBuilder() @@ -27890,16 +31741,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -27913,9 +31763,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_GcsObject_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.PatchJobs + .internal_static_google_cloud_osconfig_v1_GcsObject_descriptor; } @java.lang.Override @@ -27934,7 +31784,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.GcsObject build() { @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.GcsObject buildPartial() { - com.google.cloud.osconfig.v1.PatchJobs.GcsObject result = new com.google.cloud.osconfig.v1.PatchJobs.GcsObject(this); + com.google.cloud.osconfig.v1.PatchJobs.GcsObject result = + new com.google.cloud.osconfig.v1.PatchJobs.GcsObject(this); result.bucket_ = bucket_; result.object_ = object_; result.generationNumber_ = generationNumber_; @@ -27946,38 +31797,41 @@ public com.google.cloud.osconfig.v1.PatchJobs.GcsObject buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.PatchJobs.GcsObject) { - return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.GcsObject)other); + return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.GcsObject) other); } else { super.mergeFrom(other); return this; @@ -27985,7 +31839,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.GcsObject other) { - if (other == com.google.cloud.osconfig.v1.PatchJobs.GcsObject.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1.PatchJobs.GcsObject.getDefaultInstance()) + return this; if (!other.getBucket().isEmpty()) { bucket_ = other.bucket_; onChanged(); @@ -28016,7 +31871,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.PatchJobs.GcsObject) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -28028,18 +31884,20 @@ public Builder mergeFrom( private java.lang.Object bucket_ = ""; /** + * + * *
        * Required. Bucket of the Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucket. */ public java.lang.String getBucket() { java.lang.Object ref = bucket_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; @@ -28048,20 +31906,21 @@ public java.lang.String getBucket() { } } /** + * + * *
        * Required. Bucket of the Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucket. */ - public com.google.protobuf.ByteString - getBucketBytes() { + public com.google.protobuf.ByteString getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bucket_ = b; return b; } else { @@ -28069,54 +31928,61 @@ public java.lang.String getBucket() { } } /** + * + * *
        * Required. Bucket of the Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bucket to set. * @return This builder for chaining. */ - public Builder setBucket( - java.lang.String value) { + public Builder setBucket(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucket_ = value; onChanged(); return this; } /** + * + * *
        * Required. Bucket of the Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBucket() { - + bucket_ = getDefaultInstance().getBucket(); onChanged(); return this; } /** + * + * *
        * Required. Bucket of the Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for bucket to set. * @return This builder for chaining. */ - public Builder setBucketBytes( - com.google.protobuf.ByteString value) { + public Builder setBucketBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucket_ = value; onChanged(); return this; @@ -28124,18 +31990,20 @@ public Builder setBucketBytes( private java.lang.Object object_ = ""; /** + * + * *
        * Required. Name of the Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The object. */ public java.lang.String getObject() { java.lang.Object ref = object_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; @@ -28144,20 +32012,21 @@ public java.lang.String getObject() { } } /** + * + * *
        * Required. Name of the Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for object. */ - public com.google.protobuf.ByteString - getObjectBytes() { + public com.google.protobuf.ByteString getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); object_ = b; return b; } else { @@ -28165,67 +32034,77 @@ public java.lang.String getObject() { } } /** + * + * *
        * Required. Name of the Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The object to set. * @return This builder for chaining. */ - public Builder setObject( - java.lang.String value) { + public Builder setObject(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + object_ = value; onChanged(); return this; } /** + * + * *
        * Required. Name of the Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearObject() { - + object_ = getDefaultInstance().getObject(); onChanged(); return this; } /** + * + * *
        * Required. Name of the Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for object to set. * @return This builder for chaining. */ - public Builder setObjectBytes( - com.google.protobuf.ByteString value) { + public Builder setObjectBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + object_ = value; onChanged(); return this; } - private long generationNumber_ ; + private long generationNumber_; /** + * + * *
        * Required. Generation number of the Cloud Storage object. This is used to
        * ensure that the ExecStep specified by this PatchJob does not change.
        * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The generationNumber. */ @java.lang.Override @@ -28233,36 +32112,43 @@ public long getGenerationNumber() { return generationNumber_; } /** + * + * *
        * Required. Generation number of the Cloud Storage object. This is used to
        * ensure that the ExecStep specified by this PatchJob does not change.
        * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The generationNumber to set. * @return This builder for chaining. */ public Builder setGenerationNumber(long value) { - + generationNumber_ = value; onChanged(); return this; } /** + * + * *
        * Required. Generation number of the Cloud Storage object. This is used to
        * ensure that the ExecStep specified by this PatchJob does not change.
        * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearGenerationNumber() { - + generationNumber_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -28275,12 +32161,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.GcsObject) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.GcsObject) private static final com.google.cloud.osconfig.v1.PatchJobs.GcsObject DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.GcsObject(); } @@ -28289,16 +32175,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.GcsObject getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsObject parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsObject(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsObject parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsObject(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -28313,119 +32199,151 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.GcsObject getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PatchInstanceFilterOrBuilder extends + public interface PatchInstanceFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.PatchInstanceFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Target all VM instances in the project. If true, no other criteria is
      * permitted.
      * 
* * bool all = 1; + * * @return The all. */ boolean getAll(); /** + * + * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - java.util.List + java.util.List getGroupLabelsList(); /** + * + * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels(int index); /** + * + * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ int getGroupLabelsCount(); /** + * + * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> getGroupLabelsOrBuilderList(); /** + * + * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder getGroupLabelsOrBuilder( - int index); + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder + getGroupLabelsOrBuilder(int index); /** + * + * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; + * * @return A list containing the zones. */ - java.util.List - getZonesList(); + java.util.List getZonesList(); /** + * + * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; + * * @return The count of zones. */ int getZonesCount(); /** + * + * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; + * * @param index The index of the element to return. * @return The zones at the given index. */ java.lang.String getZones(int index); /** + * + * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; + * * @param index The index of the value to return. * @return The bytes of the zones at the given index. */ - com.google.protobuf.ByteString - getZonesBytes(int index); + com.google.protobuf.ByteString getZonesBytes(int index); /** + * + * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -28434,11 +32352,13 @@ com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder g
      * 
* * repeated string instances = 4; + * * @return A list containing the instances. */ - java.util.List - getInstancesList(); + java.util.List getInstancesList(); /** + * + * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -28447,10 +32367,13 @@ com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder g
      * 
* * repeated string instances = 4; + * * @return The count of instances. */ int getInstancesCount(); /** + * + * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -28459,11 +32382,14 @@ com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder g
      * 
* * repeated string instances = 4; + * * @param index The index of the element to return. * @return The instances at the given index. */ java.lang.String getInstances(int index); /** + * + * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -28472,13 +32398,15 @@ com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder g
      * 
* * repeated string instances = 4; + * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - com.google.protobuf.ByteString - getInstancesBytes(int index); + com.google.protobuf.ByteString getInstancesBytes(int index); /** + * + * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -28486,11 +32414,13 @@ com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder g
      * 
* * repeated string instance_name_prefixes = 5; + * * @return A list containing the instanceNamePrefixes. */ - java.util.List - getInstanceNamePrefixesList(); + java.util.List getInstanceNamePrefixesList(); /** + * + * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -28498,10 +32428,13 @@ com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder g
      * 
* * repeated string instance_name_prefixes = 5; + * * @return The count of instanceNamePrefixes. */ int getInstanceNamePrefixesCount(); /** + * + * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -28509,11 +32442,14 @@ com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder g
      * 
* * repeated string instance_name_prefixes = 5; + * * @param index The index of the element to return. * @return The instanceNamePrefixes at the given index. */ java.lang.String getInstanceNamePrefixes(int index); /** + * + * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -28521,13 +32457,15 @@ com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder g
      * 
* * repeated string instance_name_prefixes = 5; + * * @param index The index of the value to return. * @return The bytes of the instanceNamePrefixes at the given index. */ - com.google.protobuf.ByteString - getInstanceNamePrefixesBytes(int index); + com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index); } /** + * + * *
    * A filter to target VM instances for patching. The targeted
    * VMs must meet all criteria specified. So if both labels and zones are
@@ -28537,15 +32475,16 @@ com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder g
    *
    * Protobuf type {@code google.cloud.osconfig.v1.PatchInstanceFilter}
    */
-  public static final class PatchInstanceFilter extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PatchInstanceFilter extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.PatchInstanceFilter)
       PatchInstanceFilterOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PatchInstanceFilter.newBuilder() to construct.
     private PatchInstanceFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PatchInstanceFilter() {
       groupLabels_ = java.util.Collections.emptyList();
       zones_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -28555,16 +32494,15 @@ private PatchInstanceFilter() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PatchInstanceFilter();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PatchInstanceFilter(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -28584,54 +32522,63 @@ private PatchInstanceFilter(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              all_ = input.readBool();
-              break;
-            }
-            case 18: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                groupLabels_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 8:
+              {
+                all_ = input.readBool();
+                break;
               }
-              groupLabels_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.parser(), extensionRegistry));
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                zones_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 18:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  groupLabels_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel>();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                groupLabels_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
+                            .parser(),
+                        extensionRegistry));
+                break;
               }
-              zones_.add(s);
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                instances_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000004;
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  zones_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                zones_.add(s);
+                break;
               }
-              instances_.add(s);
-              break;
-            }
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-                instanceNamePrefixes_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000008;
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                  instances_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000004;
+                }
+                instances_.add(s);
+                break;
               }
-              instanceNamePrefixes_.add(s);
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+                  instanceNamePrefixes_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000008;
+                }
+                instanceNamePrefixes_.add(s);
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -28639,8 +32586,7 @@ private PatchInstanceFilter(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           groupLabels_ = java.util.Collections.unmodifiableList(groupLabels_);
@@ -28658,24 +32604,30 @@ private PatchInstanceFilter(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchJobs
+          .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchJobs
+          .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.class, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder.class);
+              com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.class,
+              com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder.class);
     }
 
-    public interface GroupLabelOrBuilder extends
+    public interface GroupLabelOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Compute Engine instance labels that must be present for a VM
        * instance to be targeted by this filter.
@@ -28685,6 +32637,8 @@ public interface GroupLabelOrBuilder extends
        */
       int getLabelsCount();
       /**
+       *
+       *
        * 
        * Compute Engine instance labels that must be present for a VM
        * instance to be targeted by this filter.
@@ -28692,15 +32646,13 @@ public interface GroupLabelOrBuilder extends
        *
        * map<string, string> labels = 1;
        */
-      boolean containsLabels(
-          java.lang.String key);
-      /**
-       * Use {@link #getLabelsMap()} instead.
-       */
+      boolean containsLabels(java.lang.String key);
+      /** Use {@link #getLabelsMap()} instead. */
       @java.lang.Deprecated
-      java.util.Map
-      getLabels();
+      java.util.Map getLabels();
       /**
+       *
+       *
        * 
        * Compute Engine instance labels that must be present for a VM
        * instance to be targeted by this filter.
@@ -28708,9 +32660,10 @@ boolean containsLabels(
        *
        * map<string, string> labels = 1;
        */
-      java.util.Map
-      getLabelsMap();
+      java.util.Map getLabelsMap();
       /**
+       *
+       *
        * 
        * Compute Engine instance labels that must be present for a VM
        * instance to be targeted by this filter.
@@ -28720,11 +32673,13 @@ boolean containsLabels(
        */
 
       /* nullable */
-java.lang.String getLabelsOrDefault(
+      java.lang.String getLabelsOrDefault(
           java.lang.String key,
           /* nullable */
-java.lang.String defaultValue);
+          java.lang.String defaultValue);
       /**
+       *
+       *
        * 
        * Compute Engine instance labels that must be present for a VM
        * instance to be targeted by this filter.
@@ -28732,11 +32687,11 @@ java.lang.String getLabelsOrDefault(
        *
        * map<string, string> labels = 1;
        */
-
-      java.lang.String getLabelsOrThrow(
-          java.lang.String key);
+      java.lang.String getLabelsOrThrow(java.lang.String key);
     }
     /**
+     *
+     *
      * 
      * Targets a group of VM instances by using their [assigned
      * labels](https://cloud.google.com/compute/docs/labeling-resources). Labels
@@ -28749,30 +32704,29 @@ java.lang.String getLabelsOrThrow(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel}
      */
-    public static final class GroupLabel extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class GroupLabel extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel)
         GroupLabelOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use GroupLabel.newBuilder() to construct.
       private GroupLabel(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private GroupLabel() {
-      }
+
+      private GroupLabel() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new GroupLabel();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private GroupLabel(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -28792,26 +32746,28 @@ private GroupLabel(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  labels_ = com.google.protobuf.MapField.newMapField(
-                      LabelsDefaultEntryHolder.defaultEntry);
-                  mutable_bitField0_ |= 0x00000001;
+              case 10:
+                {
+                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                    labels_ =
+                        com.google.protobuf.MapField.newMapField(
+                            LabelsDefaultEntryHolder.defaultEntry);
+                    mutable_bitField0_ |= 0x00000001;
+                  }
+                  com.google.protobuf.MapEntry labels__ =
+                      input.readMessage(
+                          LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                          extensionRegistry);
+                  labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
+                  break;
                 }
-                com.google.protobuf.MapEntry
-                labels__ = input.readMessage(
-                    LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-                labels_.getMutableMap().put(
-                    labels__.getKey(), labels__.getValue());
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -28819,57 +32775,59 @@ private GroupLabel(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor;
       }
 
       @SuppressWarnings({"rawtypes"})
       @java.lang.Override
-      protected com.google.protobuf.MapField internalGetMapField(
-          int number) {
+      protected com.google.protobuf.MapField internalGetMapField(int number) {
         switch (number) {
           case 1:
             return internalGetLabels();
           default:
-            throw new RuntimeException(
-                "Invalid map field number: " + number);
+            throw new RuntimeException("Invalid map field number: " + number);
         }
       }
+
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.class, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.class,
+                com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder
+                    .class);
       }
 
       public static final int LABELS_FIELD_NUMBER = 1;
+
       private static final class LabelsDefaultEntryHolder {
-        static final com.google.protobuf.MapEntry<
-            java.lang.String, java.lang.String> defaultEntry =
-                com.google.protobuf.MapEntry
-                .newDefaultInstance(
-                    com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor, 
-                    com.google.protobuf.WireFormat.FieldType.STRING,
-                    "",
-                    com.google.protobuf.WireFormat.FieldType.STRING,
-                    "");
-      }
-      private com.google.protobuf.MapField<
-          java.lang.String, java.lang.String> labels_;
-      private com.google.protobuf.MapField
-      internalGetLabels() {
+        static final com.google.protobuf.MapEntry defaultEntry =
+            com.google.protobuf.MapEntry.newDefaultInstance(
+                com.google.cloud.osconfig.v1.PatchJobs
+                    .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor,
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
+      }
+
+      private com.google.protobuf.MapField labels_;
+
+      private com.google.protobuf.MapField internalGetLabels() {
         if (labels_ == null) {
-          return com.google.protobuf.MapField.emptyMapField(
-              LabelsDefaultEntryHolder.defaultEntry);
+          return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
         }
         return labels_;
       }
@@ -28878,6 +32836,8 @@ public int getLabelsCount() {
         return internalGetLabels().getMap().size();
       }
       /**
+       *
+       *
        * 
        * Compute Engine instance labels that must be present for a VM
        * instance to be targeted by this filter.
@@ -28885,22 +32845,22 @@ public int getLabelsCount() {
        *
        * map<string, string> labels = 1;
        */
-
       @java.lang.Override
-      public boolean containsLabels(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public boolean containsLabels(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         return internalGetLabels().getMap().containsKey(key);
       }
-      /**
-       * Use {@link #getLabelsMap()} instead.
-       */
+      /** Use {@link #getLabelsMap()} instead. */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getLabels() {
         return getLabelsMap();
       }
       /**
+       *
+       *
        * 
        * Compute Engine instance labels that must be present for a VM
        * instance to be targeted by this filter.
@@ -28909,11 +32869,12 @@ public java.util.Map getLabels() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-
       public java.util.Map getLabelsMap() {
         return internalGetLabels().getMap();
       }
       /**
+       *
+       *
        * 
        * Compute Engine instance labels that must be present for a VM
        * instance to be targeted by this filter.
@@ -28922,16 +32883,17 @@ public java.util.Map getLabelsMap() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-
       public java.lang.String getLabelsOrDefault(
-          java.lang.String key,
-          java.lang.String defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetLabels().getMap();
+          java.lang.String key, java.lang.String defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetLabels().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * Compute Engine instance labels that must be present for a VM
        * instance to be targeted by this filter.
@@ -28940,12 +32902,11 @@ public java.lang.String getLabelsOrDefault(
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-
-      public java.lang.String getLabelsOrThrow(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetLabels().getMap();
+      public java.lang.String getLabelsOrThrow(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetLabels().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
@@ -28953,6 +32914,7 @@ public java.lang.String getLabelsOrThrow(
       }
 
       private byte memoizedIsInitialized = -1;
+
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -28964,14 +32926,9 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public void writeTo(com.google.protobuf.CodedOutputStream output)
-                          throws java.io.IOException {
-        com.google.protobuf.GeneratedMessageV3
-          .serializeStringMapTo(
-            output,
-            internalGetLabels(),
-            LabelsDefaultEntryHolder.defaultEntry,
-            1);
+      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+        com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+            output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 1);
         unknownFields.writeTo(output);
       }
 
@@ -28981,15 +32938,15 @@ public int getSerializedSize() {
         if (size != -1) return size;
 
         size = 0;
-        for (java.util.Map.Entry entry
-             : internalGetLabels().getMap().entrySet()) {
-          com.google.protobuf.MapEntry
-          labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-          size += com.google.protobuf.CodedOutputStream
-              .computeMessageSize(1, labels__);
+        for (java.util.Map.Entry entry :
+            internalGetLabels().getMap().entrySet()) {
+          com.google.protobuf.MapEntry labels__ =
+              LabelsDefaultEntryHolder.defaultEntry
+                  .newBuilderForType()
+                  .setKey(entry.getKey())
+                  .setValue(entry.getValue())
+                  .build();
+          size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, labels__);
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -28999,15 +32956,16 @@ public int getSerializedSize() {
       @java.lang.Override
       public boolean equals(final java.lang.Object obj) {
         if (obj == this) {
-         return true;
+          return true;
         }
-        if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel)) {
+        if (!(obj
+            instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel)) {
           return super.equals(obj);
         }
-        com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel other = (com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel) obj;
+        com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel other =
+            (com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel) obj;
 
-        if (!internalGetLabels().equals(
-            other.internalGetLabels())) return false;
+        if (!internalGetLabels().equals(other.internalGetLabels())) return false;
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
       }
@@ -29029,87 +32987,96 @@ public int hashCode() {
       }
 
       public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
-          java.nio.ByteBuffer data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+          java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
+
       public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
-          java.nio.ByteBuffer data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
+
       public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
+
       public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel 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.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(byte[] data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
+          byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
+
       public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
-          byte[] data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-      public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+
+      public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
+          java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
+
       public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
-          java.io.InputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+            PARSER, input, extensionRegistry);
       }
-      public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseDelimitedFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseDelimitedWithIOException(PARSER, input);
+
+      public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
+          parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
       }
-      public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel 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.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
+          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.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
-          com.google.protobuf.CodedInputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+          com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
+
       public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+            PARSER, input, extensionRegistry);
       }
 
       @java.lang.Override
-      public Builder newBuilderForType() { return newBuilder(); }
+      public Builder newBuilderForType() {
+        return newBuilder();
+      }
+
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
-      public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel prototype) {
+
+      public static Builder newBuilder(
+          com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
+
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE
-            ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -29119,6 +33086,8 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
+       *
+       *
        * 
        * Targets a group of VM instances by using their [assigned
        * labels](https://cloud.google.com/compute/docs/labeling-resources). Labels
@@ -29131,60 +33100,62 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel)
           com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1.PatchJobs
+              .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor;
         }
 
         @SuppressWarnings({"rawtypes"})
-        protected com.google.protobuf.MapField internalGetMapField(
-            int number) {
+        protected com.google.protobuf.MapField internalGetMapField(int number) {
           switch (number) {
             case 1:
               return internalGetLabels();
             default:
-              throw new RuntimeException(
-                  "Invalid map field number: " + number);
+              throw new RuntimeException("Invalid map field number: " + number);
           }
         }
+
         @SuppressWarnings({"rawtypes"})
-        protected com.google.protobuf.MapField internalGetMutableMapField(
-            int number) {
+        protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
           switch (number) {
             case 1:
               return internalGetMutableLabels();
             default:
-              throw new RuntimeException(
-                  "Invalid map field number: " + number);
+              throw new RuntimeException("Invalid map field number: " + number);
           }
         }
+
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_fieldAccessorTable
+          return com.google.cloud.osconfig.v1.PatchJobs
+              .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.class, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder.class);
+                  com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.class,
+                  com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder
+                      .class);
         }
 
-        // Construct using com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.newBuilder()
+        // Construct using
+        // com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
-          }
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -29193,19 +33164,22 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.cloud.osconfig.v1.PatchJobs
+              .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel getDefaultInstanceForType() {
-          return com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.getDefaultInstance();
+        public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
+            getDefaultInstanceForType() {
+          return com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
+              .getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel build() {
-          com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel result = buildPartial();
+          com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel result =
+              buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -29213,8 +33187,10 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel bui
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel buildPartial() {
-          com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel result = new com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel(this);
+        public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
+            buildPartial() {
+          com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel result =
+              new com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel(this);
           int from_bitField0_ = bitField0_;
           result.labels_ = internalGetLabels();
           result.labels_.makeImmutable();
@@ -29226,48 +33202,55 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel bui
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel) {
-            return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel)other);
+          if (other
+              instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel) {
+            return mergeFrom(
+                (com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel other) {
-          if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.getDefaultInstance()) return this;
-          internalGetMutableLabels().mergeFrom(
-              other.internalGetLabels());
+        public Builder mergeFrom(
+            com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel other) {
+          if (other
+              == com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
+                  .getDefaultInstance()) return this;
+          internalGetMutableLabels().mergeFrom(other.internalGetLabels());
           this.mergeUnknownFields(other.unknownFields);
           onChanged();
           return this;
@@ -29283,11 +33266,14 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
-          com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parsedMessage = null;
+          com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel parsedMessage =
+              null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel)
+                    e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -29296,24 +33282,27 @@ public Builder mergeFrom(
           }
           return this;
         }
+
         private int bitField0_;
 
-        private com.google.protobuf.MapField<
-            java.lang.String, java.lang.String> labels_;
+        private com.google.protobuf.MapField labels_;
+
         private com.google.protobuf.MapField
-        internalGetLabels() {
+            internalGetLabels() {
           if (labels_ == null) {
             return com.google.protobuf.MapField.emptyMapField(
                 LabelsDefaultEntryHolder.defaultEntry);
           }
           return labels_;
         }
+
         private com.google.protobuf.MapField
-        internalGetMutableLabels() {
-          onChanged();;
+            internalGetMutableLabels() {
+          onChanged();
+          ;
           if (labels_ == null) {
-            labels_ = com.google.protobuf.MapField.newMapField(
-                LabelsDefaultEntryHolder.defaultEntry);
+            labels_ =
+                com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
           }
           if (!labels_.isMutable()) {
             labels_ = labels_.copy();
@@ -29325,6 +33314,8 @@ public int getLabelsCount() {
           return internalGetLabels().getMap().size();
         }
         /**
+         *
+         *
          * 
          * Compute Engine instance labels that must be present for a VM
          * instance to be targeted by this filter.
@@ -29332,22 +33323,22 @@ public int getLabelsCount() {
          *
          * map<string, string> labels = 1;
          */
-
         @java.lang.Override
-        public boolean containsLabels(
-            java.lang.String key) {
-          if (key == null) { throw new NullPointerException("map key"); }
+        public boolean containsLabels(java.lang.String key) {
+          if (key == null) {
+            throw new NullPointerException("map key");
+          }
           return internalGetLabels().getMap().containsKey(key);
         }
-        /**
-         * Use {@link #getLabelsMap()} instead.
-         */
+        /** Use {@link #getLabelsMap()} instead. */
         @java.lang.Override
         @java.lang.Deprecated
         public java.util.Map getLabels() {
           return getLabelsMap();
         }
         /**
+         *
+         *
          * 
          * Compute Engine instance labels that must be present for a VM
          * instance to be targeted by this filter.
@@ -29356,11 +33347,12 @@ public java.util.Map getLabels() {
          * map<string, string> labels = 1;
          */
         @java.lang.Override
-
         public java.util.Map getLabelsMap() {
           return internalGetLabels().getMap();
         }
         /**
+         *
+         *
          * 
          * Compute Engine instance labels that must be present for a VM
          * instance to be targeted by this filter.
@@ -29369,16 +33361,17 @@ public java.util.Map getLabelsMap() {
          * map<string, string> labels = 1;
          */
         @java.lang.Override
-
         public java.lang.String getLabelsOrDefault(
-            java.lang.String key,
-            java.lang.String defaultValue) {
-          if (key == null) { throw new NullPointerException("map key"); }
-          java.util.Map map =
-              internalGetLabels().getMap();
+            java.lang.String key, java.lang.String defaultValue) {
+          if (key == null) {
+            throw new NullPointerException("map key");
+          }
+          java.util.Map map = internalGetLabels().getMap();
           return map.containsKey(key) ? map.get(key) : defaultValue;
         }
         /**
+         *
+         *
          * 
          * Compute Engine instance labels that must be present for a VM
          * instance to be targeted by this filter.
@@ -29387,12 +33380,11 @@ public java.lang.String getLabelsOrDefault(
          * map<string, string> labels = 1;
          */
         @java.lang.Override
-
-        public java.lang.String getLabelsOrThrow(
-            java.lang.String key) {
-          if (key == null) { throw new NullPointerException("map key"); }
-          java.util.Map map =
-              internalGetLabels().getMap();
+        public java.lang.String getLabelsOrThrow(java.lang.String key) {
+          if (key == null) {
+            throw new NullPointerException("map key");
+          }
+          java.util.Map map = internalGetLabels().getMap();
           if (!map.containsKey(key)) {
             throw new java.lang.IllegalArgumentException();
           }
@@ -29400,11 +33392,12 @@ public java.lang.String getLabelsOrThrow(
         }
 
         public Builder clearLabels() {
-          internalGetMutableLabels().getMutableMap()
-              .clear();
+          internalGetMutableLabels().getMutableMap().clear();
           return this;
         }
         /**
+         *
+         *
          * 
          * Compute Engine instance labels that must be present for a VM
          * instance to be targeted by this filter.
@@ -29412,23 +33405,21 @@ public Builder clearLabels() {
          *
          * map<string, string> labels = 1;
          */
-
-        public Builder removeLabels(
-            java.lang.String key) {
-          if (key == null) { throw new NullPointerException("map key"); }
-          internalGetMutableLabels().getMutableMap()
-              .remove(key);
+        public Builder removeLabels(java.lang.String key) {
+          if (key == null) {
+            throw new NullPointerException("map key");
+          }
+          internalGetMutableLabels().getMutableMap().remove(key);
           return this;
         }
-        /**
-         * Use alternate mutation accessors instead.
-         */
+        /** Use alternate mutation accessors instead. */
         @java.lang.Deprecated
-        public java.util.Map
-        getMutableLabels() {
+        public java.util.Map getMutableLabels() {
           return internalGetMutableLabels().getMutableMap();
         }
         /**
+         *
+         *
          * 
          * Compute Engine instance labels that must be present for a VM
          * instance to be targeted by this filter.
@@ -29436,19 +33427,20 @@ public Builder removeLabels(
          *
          * map<string, string> labels = 1;
          */
-        public Builder putLabels(
-            java.lang.String key,
-            java.lang.String value) {
-          if (key == null) { throw new NullPointerException("map key"); }
+        public Builder putLabels(java.lang.String key, java.lang.String value) {
+          if (key == null) {
+            throw new NullPointerException("map key");
+          }
           if (value == null) {
-  throw new NullPointerException("map value");
-}
+            throw new NullPointerException("map value");
+          }
 
-          internalGetMutableLabels().getMutableMap()
-              .put(key, value);
+          internalGetMutableLabels().getMutableMap().put(key, value);
           return this;
         }
         /**
+         *
+         *
          * 
          * Compute Engine instance labels that must be present for a VM
          * instance to be targeted by this filter.
@@ -29456,13 +33448,11 @@ public Builder putLabels(
          *
          * map<string, string> labels = 1;
          */
-
-        public Builder putAllLabels(
-            java.util.Map values) {
-          internalGetMutableLabels().getMutableMap()
-              .putAll(values);
+        public Builder putAllLabels(java.util.Map values) {
+          internalGetMutableLabels().getMutableMap().putAll(values);
           return this;
         }
+
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -29475,30 +33465,33 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
-
         // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel)
       }
 
       // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel)
-      private static final com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel DEFAULT_INSTANCE;
+      private static final com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
+          DEFAULT_INSTANCE;
+
       static {
-        DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel();
+        DEFAULT_INSTANCE =
+            new com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel();
       }
 
-      public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel getDefaultInstance() {
+      public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
+          getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser
-          PARSER = new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public GroupLabel parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new GroupLabel(input, extensionRegistry);
-        }
-      };
+      private static final com.google.protobuf.Parser PARSER =
+          new com.google.protobuf.AbstractParser() {
+            @java.lang.Override
+            public GroupLabel parsePartialFrom(
+                com.google.protobuf.CodedInputStream input,
+                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return new GroupLabel(input, extensionRegistry);
+            }
+          };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -29510,21 +33503,24 @@ public com.google.protobuf.Parser getParserForType() {
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel
+          getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
-
     }
 
     public static final int ALL_FIELD_NUMBER = 1;
     private boolean all_;
     /**
+     *
+     *
      * 
      * Target all VM instances in the project. If true, no other criteria is
      * permitted.
      * 
* * bool all = 1; + * * @return The all. */ @java.lang.Override @@ -29533,104 +33529,132 @@ public boolean getAll() { } public static final int GROUP_LABELS_FIELD_NUMBER = 2; - private java.util.List groupLabels_; + private java.util.List + groupLabels_; /** + * + * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ @java.lang.Override - public java.util.List getGroupLabelsList() { + public java.util.List + getGroupLabelsList() { return groupLabels_; } /** + * + * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> getGroupLabelsOrBuilderList() { return groupLabels_; } /** + * + * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ @java.lang.Override public int getGroupLabelsCount() { return groupLabels_.size(); } /** + * + * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels(int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels( + int index) { return groupLabels_.get(index); } /** + * + * *
      * Targets VM instances matching ANY of these GroupLabels. This allows
      * targeting of disparate groups of VM instances.
      * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder getGroupLabelsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder + getGroupLabelsOrBuilder(int index) { return groupLabels_.get(index); } public static final int ZONES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList zones_; /** + * + * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; + * * @return A list containing the zones. */ - public com.google.protobuf.ProtocolStringList - getZonesList() { + public com.google.protobuf.ProtocolStringList getZonesList() { return zones_; } /** + * + * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; + * * @return The count of zones. */ public int getZonesCount() { return zones_.size(); } /** + * + * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; + * * @param index The index of the element to return. * @return The zones at the given index. */ @@ -29638,23 +33662,27 @@ public java.lang.String getZones(int index) { return zones_.get(index); } /** + * + * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; + * * @param index The index of the value to return. * @return The bytes of the zones at the given index. */ - public com.google.protobuf.ByteString - getZonesBytes(int index) { + public com.google.protobuf.ByteString getZonesBytes(int index) { return zones_.getByteString(index); } public static final int INSTANCES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList instances_; /** + * + * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -29663,13 +33691,15 @@ public java.lang.String getZones(int index) {
      * 
* * repeated string instances = 4; + * * @return A list containing the instances. */ - public com.google.protobuf.ProtocolStringList - getInstancesList() { + public com.google.protobuf.ProtocolStringList getInstancesList() { return instances_; } /** + * + * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -29678,12 +33708,15 @@ public java.lang.String getZones(int index) {
      * 
* * repeated string instances = 4; + * * @return The count of instances. */ public int getInstancesCount() { return instances_.size(); } /** + * + * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -29692,6 +33725,7 @@ public int getInstancesCount() {
      * 
* * repeated string instances = 4; + * * @param index The index of the element to return. * @return The instances at the given index. */ @@ -29699,6 +33733,8 @@ public java.lang.String getInstances(int index) { return instances_.get(index); } /** + * + * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -29707,17 +33743,19 @@ public java.lang.String getInstances(int index) {
      * 
* * repeated string instances = 4; + * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - public com.google.protobuf.ByteString - getInstancesBytes(int index) { + public com.google.protobuf.ByteString getInstancesBytes(int index) { return instances_.getByteString(index); } public static final int INSTANCE_NAME_PREFIXES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList instanceNamePrefixes_; /** + * + * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -29725,13 +33763,15 @@ public java.lang.String getInstances(int index) {
      * 
* * repeated string instance_name_prefixes = 5; + * * @return A list containing the instanceNamePrefixes. */ - public com.google.protobuf.ProtocolStringList - getInstanceNamePrefixesList() { + public com.google.protobuf.ProtocolStringList getInstanceNamePrefixesList() { return instanceNamePrefixes_; } /** + * + * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -29739,12 +33779,15 @@ public java.lang.String getInstances(int index) {
      * 
* * repeated string instance_name_prefixes = 5; + * * @return The count of instanceNamePrefixes. */ public int getInstanceNamePrefixesCount() { return instanceNamePrefixes_.size(); } /** + * + * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -29752,6 +33795,7 @@ public int getInstanceNamePrefixesCount() {
      * 
* * repeated string instance_name_prefixes = 5; + * * @param index The index of the element to return. * @return The instanceNamePrefixes at the given index. */ @@ -29759,6 +33803,8 @@ public java.lang.String getInstanceNamePrefixes(int index) { return instanceNamePrefixes_.get(index); } /** + * + * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -29766,15 +33812,16 @@ public java.lang.String getInstanceNamePrefixes(int index) {
      * 
* * repeated string instance_name_prefixes = 5; + * * @param index The index of the value to return. * @return The bytes of the instanceNamePrefixes at the given index. */ - public com.google.protobuf.ByteString - getInstanceNamePrefixesBytes(int index) { + public com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index) { return instanceNamePrefixes_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -29786,8 +33833,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (all_ != false) { output.writeBool(1, all_); } @@ -29801,7 +33847,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 4, instances_.getRaw(i)); } for (int i = 0; i < instanceNamePrefixes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, instanceNamePrefixes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 5, instanceNamePrefixes_.getRaw(i)); } unknownFields.writeTo(output); } @@ -29813,12 +33860,10 @@ public int getSerializedSize() { size = 0; if (all_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, all_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, all_); } for (int i = 0; i < groupLabels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, groupLabels_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, groupLabels_.get(i)); } { int dataSize = 0; @@ -29852,23 +33897,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter other = (com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter) obj; - - if (getAll() - != other.getAll()) return false; - if (!getGroupLabelsList() - .equals(other.getGroupLabelsList())) return false; - if (!getZonesList() - .equals(other.getZonesList())) return false; - if (!getInstancesList() - .equals(other.getInstancesList())) return false; - if (!getInstanceNamePrefixesList() - .equals(other.getInstanceNamePrefixesList())) return false; + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter other = + (com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter) obj; + + if (getAll() != other.getAll()) return false; + if (!getGroupLabelsList().equals(other.getGroupLabelsList())) return false; + if (!getZonesList().equals(other.getZonesList())) return false; + if (!getInstancesList().equals(other.getInstancesList())) return false; + if (!getInstanceNamePrefixesList().equals(other.getInstanceNamePrefixesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -29881,8 +33922,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAll()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAll()); if (getGroupLabelsCount() > 0) { hash = (37 * hash) + GROUP_LABELS_FIELD_NUMBER; hash = (53 * hash) + getGroupLabelsList().hashCode(); @@ -29905,87 +33945,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter 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.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -29995,6 +34042,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A filter to target VM instances for patching. The targeted
      * VMs must meet all criteria specified. So if both labels and zones are
@@ -30004,21 +34053,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.PatchInstanceFilter}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.PatchInstanceFilter)
         com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilterOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.class, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.class,
+                com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.newBuilder()
@@ -30026,17 +34078,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getGroupLabelsFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -30058,13 +34110,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter
+          getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance();
       }
 
@@ -30079,7 +34132,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter buildPartial() {
-        com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter result = new com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter(this);
+        com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter result =
+            new com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter(this);
         int from_bitField0_ = bitField0_;
         result.all_ = all_;
         if (groupLabelsBuilder_ == null) {
@@ -30114,38 +34168,41 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter buildPartial()
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchJobs.PatchInstanceFilter) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -30153,7 +34210,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter other) {
-        if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance()) return this;
+        if (other
+            == com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.getDefaultInstance())
+          return this;
         if (other.getAll() != false) {
           setAll(other.getAll());
         }
@@ -30175,9 +34234,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFil
               groupLabelsBuilder_ = null;
               groupLabels_ = other.groupLabels_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              groupLabelsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getGroupLabelsFieldBuilder() : null;
+              groupLabelsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getGroupLabelsFieldBuilder()
+                      : null;
             } else {
               groupLabelsBuilder_.addAllMessages(other.groupLabels_);
             }
@@ -30232,7 +34292,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -30241,16 +34302,20 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private boolean all_ ;
+      private boolean all_;
       /**
+       *
+       *
        * 
        * Target all VM instances in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; + * * @return The all. */ @java.lang.Override @@ -30258,58 +34323,75 @@ public boolean getAll() { return all_; } /** + * + * *
        * Target all VM instances in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; + * * @param value The all to set. * @return This builder for chaining. */ public Builder setAll(boolean value) { - + all_ = value; onChanged(); return this; } /** + * + * *
        * Target all VM instances in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; + * * @return This builder for chaining. */ public Builder clearAll() { - + all_ = false; onChanged(); return this; } - private java.util.List groupLabels_ = - java.util.Collections.emptyList(); + private java.util.List + groupLabels_ = java.util.Collections.emptyList(); + private void ensureGroupLabelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - groupLabels_ = new java.util.ArrayList(groupLabels_); + groupLabels_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel>( + groupLabels_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> groupLabelsBuilder_; + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> + groupLabelsBuilder_; /** + * + * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - public java.util.List getGroupLabelsList() { + public java.util.List + getGroupLabelsList() { if (groupLabelsBuilder_ == null) { return java.util.Collections.unmodifiableList(groupLabels_); } else { @@ -30317,12 +34399,15 @@ public java.util.List * Targets VM instances matching ANY of these GroupLabels. This allows * targeting of disparate groups of VM instances. *
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ public int getGroupLabelsCount() { if (groupLabelsBuilder_ == null) { @@ -30332,14 +34417,18 @@ public int getGroupLabelsCount() { } } /** + * + * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels(int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels( + int index) { if (groupLabelsBuilder_ == null) { return groupLabels_.get(index); } else { @@ -30347,12 +34436,15 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel get } } /** + * + * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ public Builder setGroupLabels( int index, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel value) { @@ -30369,15 +34461,20 @@ public Builder setGroupLabels( return this; } /** + * + * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ public Builder setGroupLabels( - int index, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder + builderForValue) { if (groupLabelsBuilder_ == null) { ensureGroupLabelsIsMutable(); groupLabels_.set(index, builderForValue.build()); @@ -30388,14 +34485,18 @@ public Builder setGroupLabels( return this; } /** + * + * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - public Builder addGroupLabels(com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel value) { + public Builder addGroupLabels( + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel value) { if (groupLabelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -30409,12 +34510,15 @@ public Builder addGroupLabels(com.google.cloud.osconfig.v1.PatchJobs.PatchInstan return this; } /** + * + * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ public Builder addGroupLabels( int index, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel value) { @@ -30431,15 +34535,19 @@ public Builder addGroupLabels( return this; } /** + * + * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ public Builder addGroupLabels( - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder builderForValue) { + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder + builderForValue) { if (groupLabelsBuilder_ == null) { ensureGroupLabelsIsMutable(); groupLabels_.add(builderForValue.build()); @@ -30450,15 +34558,20 @@ public Builder addGroupLabels( return this; } /** + * + * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ public Builder addGroupLabels( - int index, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder + builderForValue) { if (groupLabelsBuilder_ == null) { ensureGroupLabelsIsMutable(); groupLabels_.add(index, builderForValue.build()); @@ -30469,19 +34582,23 @@ public Builder addGroupLabels( return this; } /** + * + * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ public Builder addAllGroupLabels( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel> + values) { if (groupLabelsBuilder_ == null) { ensureGroupLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, groupLabels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupLabels_); onChanged(); } else { groupLabelsBuilder_.addAllMessages(values); @@ -30489,12 +34606,15 @@ public Builder addAllGroupLabels( return this; } /** + * + * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ public Builder clearGroupLabels() { if (groupLabelsBuilder_ == null) { @@ -30507,12 +34627,15 @@ public Builder clearGroupLabels() { return this; } /** + * + * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ public Builder removeGroupLabels(int index) { if (groupLabelsBuilder_ == null) { @@ -30525,42 +34648,54 @@ public Builder removeGroupLabels(int index) { return this; } /** + * + * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder getGroupLabelsBuilder( - int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder + getGroupLabelsBuilder(int index) { return getGroupLabelsFieldBuilder().getBuilder(index); } /** + * + * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder getGroupLabelsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder + getGroupLabelsOrBuilder(int index) { if (groupLabelsBuilder_ == null) { - return groupLabels_.get(index); } else { + return groupLabels_.get(index); + } else { return groupLabelsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - public java.util.List - getGroupLabelsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> + getGroupLabelsOrBuilderList() { if (groupLabelsBuilder_ != null) { return groupLabelsBuilder_.getMessageOrBuilderList(); } else { @@ -30568,48 +34703,70 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBu } } /** + * + * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder addGroupLabelsBuilder() { - return getGroupLabelsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.getDefaultInstance()); + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder + addGroupLabelsBuilder() { + return getGroupLabelsFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel + .getDefaultInstance()); } /** + * + * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder addGroupLabelsBuilder( - int index) { - return getGroupLabelsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.getDefaultInstance()); + public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder + addGroupLabelsBuilder(int index) { + return getGroupLabelsFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel + .getDefaultInstance()); } /** + * + * *
        * Targets VM instances matching ANY of these GroupLabels. This allows
        * targeting of disparate groups of VM instances.
        * 
* - * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - public java.util.List - getGroupLabelsBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder> + getGroupLabelsBuilderList() { return getGroupLabelsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> getGroupLabelsFieldBuilder() { if (groupLabelsBuilder_ == null) { - groupLabelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder>( + groupLabelsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, + com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder>( groupLabels_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -30619,45 +34776,55 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabel.Bui return groupLabelsBuilder_; } - private com.google.protobuf.LazyStringList zones_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList zones_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureZonesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { zones_ = new com.google.protobuf.LazyStringArrayList(zones_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; + * * @return A list containing the zones. */ - public com.google.protobuf.ProtocolStringList - getZonesList() { + public com.google.protobuf.ProtocolStringList getZonesList() { return zones_.getUnmodifiableView(); } /** + * + * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; + * * @return The count of zones. */ public int getZonesCount() { return zones_.size(); } /** + * + * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; + * * @param index The index of the element to return. * @return The zones at the given index. */ @@ -30665,85 +34832,95 @@ public java.lang.String getZones(int index) { return zones_.get(index); } /** + * + * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; + * * @param index The index of the value to return. * @return The bytes of the zones at the given index. */ - public com.google.protobuf.ByteString - getZonesBytes(int index) { + public com.google.protobuf.ByteString getZonesBytes(int index) { return zones_.getByteString(index); } /** + * + * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; + * * @param index The index to set the value at. * @param value The zones to set. * @return This builder for chaining. */ - public Builder setZones( - int index, java.lang.String value) { + public Builder setZones(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureZonesIsMutable(); + throw new NullPointerException(); + } + ensureZonesIsMutable(); zones_.set(index, value); onChanged(); return this; } /** + * + * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; + * * @param value The zones to add. * @return This builder for chaining. */ - public Builder addZones( - java.lang.String value) { + public Builder addZones(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureZonesIsMutable(); + throw new NullPointerException(); + } + ensureZonesIsMutable(); zones_.add(value); onChanged(); return this; } /** + * + * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; + * * @param values The zones to add. * @return This builder for chaining. */ - public Builder addAllZones( - java.lang.Iterable values) { + public Builder addAllZones(java.lang.Iterable values) { ensureZonesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, zones_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, zones_); onChanged(); return this; } /** + * + * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; + * * @return This builder for chaining. */ public Builder clearZones() { @@ -30753,35 +34930,41 @@ public Builder clearZones() { return this; } /** + * + * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; + * * @param value The bytes of the zones to add. * @return This builder for chaining. */ - public Builder addZonesBytes( - com.google.protobuf.ByteString value) { + public Builder addZonesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureZonesIsMutable(); zones_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList instances_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList instances_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { instances_ = new com.google.protobuf.LazyStringArrayList(instances_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -30790,13 +34973,15 @@ private void ensureInstancesIsMutable() {
        * 
* * repeated string instances = 4; + * * @return A list containing the instances. */ - public com.google.protobuf.ProtocolStringList - getInstancesList() { + public com.google.protobuf.ProtocolStringList getInstancesList() { return instances_.getUnmodifiableView(); } /** + * + * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -30805,12 +34990,15 @@ private void ensureInstancesIsMutable() {
        * 
* * repeated string instances = 4; + * * @return The count of instances. */ public int getInstancesCount() { return instances_.size(); } /** + * + * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -30819,6 +35007,7 @@ public int getInstancesCount() {
        * 
* * repeated string instances = 4; + * * @param index The index of the element to return. * @return The instances at the given index. */ @@ -30826,6 +35015,8 @@ public java.lang.String getInstances(int index) { return instances_.get(index); } /** + * + * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -30834,14 +35025,16 @@ public java.lang.String getInstances(int index) {
        * 
* * repeated string instances = 4; + * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - public com.google.protobuf.ByteString - getInstancesBytes(int index) { + public com.google.protobuf.ByteString getInstancesBytes(int index) { return instances_.getByteString(index); } /** + * + * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -30850,21 +35043,23 @@ public java.lang.String getInstances(int index) {
        * 
* * repeated string instances = 4; + * * @param index The index to set the value at. * @param value The instances to set. * @return This builder for chaining. */ - public Builder setInstances( - int index, java.lang.String value) { + public Builder setInstances(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstancesIsMutable(); + throw new NullPointerException(); + } + ensureInstancesIsMutable(); instances_.set(index, value); onChanged(); return this; } /** + * + * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -30873,20 +35068,22 @@ public Builder setInstances(
        * 
* * repeated string instances = 4; + * * @param value The instances to add. * @return This builder for chaining. */ - public Builder addInstances( - java.lang.String value) { + public Builder addInstances(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstancesIsMutable(); + throw new NullPointerException(); + } + ensureInstancesIsMutable(); instances_.add(value); onChanged(); return this; } /** + * + * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -30895,18 +35092,19 @@ public Builder addInstances(
        * 
* * repeated string instances = 4; + * * @param values The instances to add. * @return This builder for chaining. */ - public Builder addAllInstances( - java.lang.Iterable values) { + public Builder addAllInstances(java.lang.Iterable values) { ensureInstancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_); onChanged(); return this; } /** + * + * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -30915,6 +35113,7 @@ public Builder addAllInstances(
        * 
* * repeated string instances = 4; + * * @return This builder for chaining. */ public Builder clearInstances() { @@ -30924,6 +35123,8 @@ public Builder clearInstances() { return this; } /** + * + * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -30932,29 +35133,34 @@ public Builder clearInstances() {
        * 
* * repeated string instances = 4; + * * @param value The bytes of the instances to add. * @return This builder for chaining. */ - public Builder addInstancesBytes( - com.google.protobuf.ByteString value) { + public Builder addInstancesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstancesIsMutable(); instances_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList instanceNamePrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList instanceNamePrefixes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureInstanceNamePrefixesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - instanceNamePrefixes_ = new com.google.protobuf.LazyStringArrayList(instanceNamePrefixes_); + instanceNamePrefixes_ = + new com.google.protobuf.LazyStringArrayList(instanceNamePrefixes_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -30962,13 +35168,15 @@ private void ensureInstanceNamePrefixesIsMutable() {
        * 
* * repeated string instance_name_prefixes = 5; + * * @return A list containing the instanceNamePrefixes. */ - public com.google.protobuf.ProtocolStringList - getInstanceNamePrefixesList() { + public com.google.protobuf.ProtocolStringList getInstanceNamePrefixesList() { return instanceNamePrefixes_.getUnmodifiableView(); } /** + * + * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -30976,12 +35184,15 @@ private void ensureInstanceNamePrefixesIsMutable() {
        * 
* * repeated string instance_name_prefixes = 5; + * * @return The count of instanceNamePrefixes. */ public int getInstanceNamePrefixesCount() { return instanceNamePrefixes_.size(); } /** + * + * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -30989,6 +35200,7 @@ public int getInstanceNamePrefixesCount() {
        * 
* * repeated string instance_name_prefixes = 5; + * * @param index The index of the element to return. * @return The instanceNamePrefixes at the given index. */ @@ -30996,6 +35208,8 @@ public java.lang.String getInstanceNamePrefixes(int index) { return instanceNamePrefixes_.get(index); } /** + * + * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -31003,14 +35217,16 @@ public java.lang.String getInstanceNamePrefixes(int index) {
        * 
* * repeated string instance_name_prefixes = 5; + * * @param index The index of the value to return. * @return The bytes of the instanceNamePrefixes at the given index. */ - public com.google.protobuf.ByteString - getInstanceNamePrefixesBytes(int index) { + public com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index) { return instanceNamePrefixes_.getByteString(index); } /** + * + * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -31018,21 +35234,23 @@ public java.lang.String getInstanceNamePrefixes(int index) {
        * 
* * repeated string instance_name_prefixes = 5; + * * @param index The index to set the value at. * @param value The instanceNamePrefixes to set. * @return This builder for chaining. */ - public Builder setInstanceNamePrefixes( - int index, java.lang.String value) { + public Builder setInstanceNamePrefixes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceNamePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureInstanceNamePrefixesIsMutable(); instanceNamePrefixes_.set(index, value); onChanged(); return this; } /** + * + * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -31040,20 +35258,22 @@ public Builder setInstanceNamePrefixes(
        * 
* * repeated string instance_name_prefixes = 5; + * * @param value The instanceNamePrefixes to add. * @return This builder for chaining. */ - public Builder addInstanceNamePrefixes( - java.lang.String value) { + public Builder addInstanceNamePrefixes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceNamePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureInstanceNamePrefixesIsMutable(); instanceNamePrefixes_.add(value); onChanged(); return this; } /** + * + * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -31061,18 +35281,19 @@ public Builder addInstanceNamePrefixes(
        * 
* * repeated string instance_name_prefixes = 5; + * * @param values The instanceNamePrefixes to add. * @return This builder for chaining. */ - public Builder addAllInstanceNamePrefixes( - java.lang.Iterable values) { + public Builder addAllInstanceNamePrefixes(java.lang.Iterable values) { ensureInstanceNamePrefixesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instanceNamePrefixes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceNamePrefixes_); onChanged(); return this; } /** + * + * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -31080,6 +35301,7 @@ public Builder addAllInstanceNamePrefixes(
        * 
* * repeated string instance_name_prefixes = 5; + * * @return This builder for chaining. */ public Builder clearInstanceNamePrefixes() { @@ -31089,6 +35311,8 @@ public Builder clearInstanceNamePrefixes() { return this; } /** + * + * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -31096,20 +35320,21 @@ public Builder clearInstanceNamePrefixes() {
        * 
* * repeated string instance_name_prefixes = 5; + * * @param value The bytes of the instanceNamePrefixes to add. * @return This builder for chaining. */ - public Builder addInstanceNamePrefixesBytes( - com.google.protobuf.ByteString value) { + public Builder addInstanceNamePrefixesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstanceNamePrefixesIsMutable(); instanceNamePrefixes_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -31122,12 +35347,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.PatchInstanceFilter) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.PatchInstanceFilter) - private static final com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter(); } @@ -31136,16 +35362,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchInstanceFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchInstanceFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchInstanceFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchInstanceFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -31160,33 +35386,41 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PatchRolloutOrBuilder extends + public interface PatchRolloutOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.PatchRollout) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Mode of the patch rollout.
      * 
* * .google.cloud.osconfig.v1.PatchRollout.Mode mode = 1; + * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** + * + * *
      * Mode of the patch rollout.
      * 
* * .google.cloud.osconfig.v1.PatchRollout.Mode mode = 1; + * * @return The mode. */ com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode getMode(); /** + * + * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -31210,10 +35444,13 @@ public interface PatchRolloutOrBuilder extends
      * 
* * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2; + * * @return Whether the disruptionBudget field is set. */ boolean hasDisruptionBudget(); /** + * + * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -31237,10 +35474,13 @@ public interface PatchRolloutOrBuilder extends
      * 
* * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2; + * * @return The disruptionBudget. */ com.google.cloud.osconfig.v1.Common.FixedOrPercent getDisruptionBudget(); /** + * + * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -31268,6 +35508,8 @@ public interface PatchRolloutOrBuilder extends
     com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Patch rollout configuration specifications. Contains details on the
    * concurrency control when applying patch(es) to all targeted VMs.
@@ -31275,31 +35517,31 @@ public interface PatchRolloutOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1.PatchRollout}
    */
-  public static final class PatchRollout extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PatchRollout extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.PatchRollout)
       PatchRolloutOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PatchRollout.newBuilder() to construct.
     private PatchRollout(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PatchRollout() {
       mode_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PatchRollout();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PatchRollout(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -31318,32 +35560,37 @@ private PatchRollout(
             case 0:
               done = true;
               break;
-            case 8: {
-              int rawValue = input.readEnum();
+            case 8:
+              {
+                int rawValue = input.readEnum();
 
-              mode_ = rawValue;
-              break;
-            }
-            case 18: {
-              com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder subBuilder = null;
-              if (disruptionBudget_ != null) {
-                subBuilder = disruptionBudget_.toBuilder();
-              }
-              disruptionBudget_ = input.readMessage(com.google.cloud.osconfig.v1.Common.FixedOrPercent.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(disruptionBudget_);
-                disruptionBudget_ = subBuilder.buildPartial();
+                mode_ = rawValue;
+                break;
               }
+            case 18:
+              {
+                com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder subBuilder = null;
+                if (disruptionBudget_ != null) {
+                  subBuilder = disruptionBudget_.toBuilder();
+                }
+                disruptionBudget_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1.Common.FixedOrPercent.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(disruptionBudget_);
+                  disruptionBudget_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -31351,36 +35598,41 @@ private PatchRollout(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.PatchJobs
+          .internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchRollout_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.PatchJobs
+          .internal_static_google_cloud_osconfig_v1_PatchRollout_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.class, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder.class);
+              com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.class,
+              com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * Type of the rollout.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1.PatchRollout.Mode} */ - public enum Mode - implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Mode must be specified.
        * 
@@ -31389,6 +35641,8 @@ public enum Mode */ MODE_UNSPECIFIED(0), /** + * + * *
        * Patches are applied one zone at a time. The patch job begins in the
        * region with the lowest number of targeted VMs. Within the region,
@@ -31402,6 +35656,8 @@ public enum Mode
        */
       ZONE_BY_ZONE(1),
       /**
+       *
+       *
        * 
        * Patches are applied to VMs in all zones at the same time.
        * 
@@ -31413,6 +35669,8 @@ public enum Mode ; /** + * + * *
        * Mode must be specified.
        * 
@@ -31421,6 +35679,8 @@ public enum Mode */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Patches are applied one zone at a time. The patch job begins in the
        * region with the lowest number of targeted VMs. Within the region,
@@ -31434,6 +35694,8 @@ public enum Mode
        */
       public static final int ZONE_BY_ZONE_VALUE = 1;
       /**
+       *
+       *
        * 
        * Patches are applied to VMs in all zones at the same time.
        * 
@@ -31442,7 +35704,6 @@ public enum Mode */ public static final int CONCURRENT_ZONES_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -31467,49 +35728,51 @@ public static Mode valueOf(int value) { */ public static Mode forNumber(int value) { switch (value) { - case 0: return MODE_UNSPECIFIED; - case 1: return ZONE_BY_ZONE; - case 2: return CONCURRENT_ZONES; - default: return null; + case 0: + return MODE_UNSPECIFIED; + case 1: + return ZONE_BY_ZONE; + case 2: + return CONCURRENT_ZONES; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Mode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Mode findValueByNumber(int number) { - return Mode.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Mode findValueByNumber(int number) { + return Mode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDescriptor() + .getEnumTypes() + .get(0); } private static final Mode[] VALUES = values(); - public static Mode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -31529,33 +35792,46 @@ private Mode(int value) { public static final int MODE_FIELD_NUMBER = 1; private int mode_; /** + * + * *
      * Mode of the patch rollout.
      * 
* * .google.cloud.osconfig.v1.PatchRollout.Mode mode = 1; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
      * Mode of the patch rollout.
      * 
* * .google.cloud.osconfig.v1.PatchRollout.Mode mode = 1; + * * @return The mode. */ - @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode getMode() { + @java.lang.Override + public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode result = com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.valueOf(mode_); - return result == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode result = + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.valueOf(mode_); + return result == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.UNRECOGNIZED + : result; } public static final int DISRUPTION_BUDGET_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1.Common.FixedOrPercent disruptionBudget_; /** + * + * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -31579,6 +35855,7 @@ private Mode(int value) {
      * 
* * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2; + * * @return Whether the disruptionBudget field is set. */ @java.lang.Override @@ -31586,6 +35863,8 @@ public boolean hasDisruptionBudget() { return disruptionBudget_ != null; } /** + * + * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -31609,13 +35888,18 @@ public boolean hasDisruptionBudget() {
      * 
* * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2; + * * @return The disruptionBudget. */ @java.lang.Override public com.google.cloud.osconfig.v1.Common.FixedOrPercent getDisruptionBudget() { - return disruptionBudget_ == null ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() : disruptionBudget_; + return disruptionBudget_ == null + ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() + : disruptionBudget_; } /** + * + * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -31641,11 +35925,13 @@ public com.google.cloud.osconfig.v1.Common.FixedOrPercent getDisruptionBudget()
      * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder() {
+    public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder
+        getDisruptionBudgetOrBuilder() {
       return getDisruptionBudget();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -31657,9 +35943,10 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      if (mode_ != com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.MODE_UNSPECIFIED.getNumber()) {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+      if (mode_
+          != com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.MODE_UNSPECIFIED
+              .getNumber()) {
         output.writeEnum(1, mode_);
       }
       if (disruptionBudget_ != null) {
@@ -31674,13 +35961,13 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (mode_ != com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.MODE_UNSPECIFIED.getNumber()) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(1, mode_);
+      if (mode_
+          != com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.MODE_UNSPECIFIED
+              .getNumber()) {
+        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, mode_);
       }
       if (disruptionBudget_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getDisruptionBudget());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDisruptionBudget());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -31690,18 +35977,18 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.osconfig.v1.PatchJobs.PatchRollout)) {
         return super.equals(obj);
       }
-      com.google.cloud.osconfig.v1.PatchJobs.PatchRollout other = (com.google.cloud.osconfig.v1.PatchJobs.PatchRollout) obj;
+      com.google.cloud.osconfig.v1.PatchJobs.PatchRollout other =
+          (com.google.cloud.osconfig.v1.PatchJobs.PatchRollout) obj;
 
       if (mode_ != other.mode_) return false;
       if (hasDisruptionBudget() != other.hasDisruptionBudget()) return false;
       if (hasDisruptionBudget()) {
-        if (!getDisruptionBudget()
-            .equals(other.getDisruptionBudget())) return false;
+        if (!getDisruptionBudget().equals(other.getDisruptionBudget())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -31726,87 +36013,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout 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.osconfig.v1.PatchJobs.PatchRollout parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.osconfig.v1.PatchJobs.PatchRollout prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -31816,6 +36110,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Patch rollout configuration specifications. Contains details on the
      * concurrency control when applying patch(es) to all targeted VMs.
@@ -31823,21 +36119,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1.PatchRollout}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.PatchRollout)
         com.google.cloud.osconfig.v1.PatchJobs.PatchRolloutOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchRollout_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_PatchRollout_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.class, com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder.class);
+                com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.class,
+                com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.newBuilder()
@@ -31845,16 +36144,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -31870,9 +36168,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1.PatchJobs.internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1.PatchJobs
+            .internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor;
       }
 
       @java.lang.Override
@@ -31891,7 +36189,8 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout buildPartial() {
-        com.google.cloud.osconfig.v1.PatchJobs.PatchRollout result = new com.google.cloud.osconfig.v1.PatchJobs.PatchRollout(this);
+        com.google.cloud.osconfig.v1.PatchJobs.PatchRollout result =
+            new com.google.cloud.osconfig.v1.PatchJobs.PatchRollout(this);
         result.mode_ = mode_;
         if (disruptionBudgetBuilder_ == null) {
           result.disruptionBudget_ = disruptionBudget_;
@@ -31906,38 +36205,41 @@ public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1.PatchJobs.PatchRollout) {
-          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchRollout)other);
+          return mergeFrom((com.google.cloud.osconfig.v1.PatchJobs.PatchRollout) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -31945,7 +36247,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout other) {
-        if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.getDefaultInstance())
+          return this;
         if (other.mode_ != 0) {
           setModeValue(other.getModeValue());
         }
@@ -31971,7 +36274,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1.PatchJobs.PatchRollout) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1.PatchJobs.PatchRollout) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -31983,51 +36287,67 @@ public Builder mergeFrom(
 
       private int mode_ = 0;
       /**
+       *
+       *
        * 
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1.PatchRollout.Mode mode = 1; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1.PatchRollout.Mode mode = 1; + * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { - + mode_ = value; onChanged(); return this; } /** + * + * *
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1.PatchRollout.Mode mode = 1; + * * @return The mode. */ @java.lang.Override public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode result = com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.valueOf(mode_); - return result == null ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode result = + com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.valueOf(mode_); + return result == null + ? com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode.UNRECOGNIZED + : result; } /** + * + * *
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1.PatchRollout.Mode mode = 1; + * * @param value The mode to set. * @return This builder for chaining. */ @@ -32035,21 +36355,24 @@ public Builder setMode(com.google.cloud.osconfig.v1.PatchJobs.PatchRollout.Mode if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1.PatchRollout.Mode mode = 1; + * * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = 0; onChanged(); return this; @@ -32057,8 +36380,13 @@ public Builder clearMode() { private com.google.cloud.osconfig.v1.Common.FixedOrPercent disruptionBudget_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.Common.FixedOrPercent, com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder, com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder> disruptionBudgetBuilder_; + com.google.cloud.osconfig.v1.Common.FixedOrPercent, + com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder, + com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder> + disruptionBudgetBuilder_; /** + * + * *
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -32082,12 +36410,15 @@ public Builder clearMode() {
        * 
* * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2; + * * @return Whether the disruptionBudget field is set. */ public boolean hasDisruptionBudget() { return disruptionBudgetBuilder_ != null || disruptionBudget_ != null; } /** + * + * *
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -32111,16 +36442,21 @@ public boolean hasDisruptionBudget() {
        * 
* * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2; + * * @return The disruptionBudget. */ public com.google.cloud.osconfig.v1.Common.FixedOrPercent getDisruptionBudget() { if (disruptionBudgetBuilder_ == null) { - return disruptionBudget_ == null ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() : disruptionBudget_; + return disruptionBudget_ == null + ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() + : disruptionBudget_; } else { return disruptionBudgetBuilder_.getMessage(); } } /** + * + * *
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -32159,6 +36495,8 @@ public Builder setDisruptionBudget(com.google.cloud.osconfig.v1.Common.FixedOrPe
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -32195,6 +36533,8 @@ public Builder setDisruptionBudget(
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -32219,11 +36559,14 @@ public Builder setDisruptionBudget(
        *
        * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2;
        */
-      public Builder mergeDisruptionBudget(com.google.cloud.osconfig.v1.Common.FixedOrPercent value) {
+      public Builder mergeDisruptionBudget(
+          com.google.cloud.osconfig.v1.Common.FixedOrPercent value) {
         if (disruptionBudgetBuilder_ == null) {
           if (disruptionBudget_ != null) {
             disruptionBudget_ =
-              com.google.cloud.osconfig.v1.Common.FixedOrPercent.newBuilder(disruptionBudget_).mergeFrom(value).buildPartial();
+                com.google.cloud.osconfig.v1.Common.FixedOrPercent.newBuilder(disruptionBudget_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             disruptionBudget_ = value;
           }
@@ -32235,6 +36578,8 @@ public Builder mergeDisruptionBudget(com.google.cloud.osconfig.v1.Common.FixedOr
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -32271,6 +36616,8 @@ public Builder clearDisruptionBudget() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -32295,12 +36642,15 @@ public Builder clearDisruptionBudget() {
        *
        * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2;
        */
-      public com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder getDisruptionBudgetBuilder() {
-        
+      public com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder
+          getDisruptionBudgetBuilder() {
+
         onChanged();
         return getDisruptionBudgetFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -32325,15 +36675,19 @@ public com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder getDisruptionB
        *
        * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2;
        */
-      public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder() {
+      public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder
+          getDisruptionBudgetOrBuilder() {
         if (disruptionBudgetBuilder_ != null) {
           return disruptionBudgetBuilder_.getMessageOrBuilder();
         } else {
-          return disruptionBudget_ == null ?
-              com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance() : disruptionBudget_;
+          return disruptionBudget_ == null
+              ? com.google.cloud.osconfig.v1.Common.FixedOrPercent.getDefaultInstance()
+              : disruptionBudget_;
         }
       }
       /**
+       *
+       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -32359,18 +36713,22 @@ public com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder getDisruption
        * .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1.Common.FixedOrPercent, com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder, com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder> 
+              com.google.cloud.osconfig.v1.Common.FixedOrPercent,
+              com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder,
+              com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder>
           getDisruptionBudgetFieldBuilder() {
         if (disruptionBudgetBuilder_ == null) {
-          disruptionBudgetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1.Common.FixedOrPercent, com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder, com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder>(
-                  getDisruptionBudget(),
-                  getParentForChildren(),
-                  isClean());
+          disruptionBudgetBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1.Common.FixedOrPercent,
+                  com.google.cloud.osconfig.v1.Common.FixedOrPercent.Builder,
+                  com.google.cloud.osconfig.v1.Common.FixedOrPercentOrBuilder>(
+                  getDisruptionBudget(), getParentForChildren(), isClean());
           disruptionBudget_ = null;
         }
         return disruptionBudgetBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -32383,12 +36741,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.PatchRollout)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.PatchRollout)
     private static final com.google.cloud.osconfig.v1.PatchJobs.PatchRollout DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.PatchJobs.PatchRollout();
     }
@@ -32397,16 +36755,16 @@ public static com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getDefaultInst
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public PatchRollout parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new PatchRollout(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public PatchRollout parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new PatchRollout(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -32421,451 +36779,523 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.osconfig.v1.PatchJobs.PatchRollout getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_PatchJob_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_PatchJob_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_PatchJob_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_PatchConfig_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_Instance_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_Instance_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_Instance_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_AptSettings_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_AptSettings_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_AptSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_YumSettings_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_YumSettings_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_YumSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_GooSettings_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_GooSettings_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_GooSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_ZypperSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_ExecStep_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_ExecStep_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_ExecStep_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_ExecStepConfig_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_GcsObject_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_GcsObject_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_GcsObject_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1_PatchRollout_fieldAccessorTable;
 
-  public static com.google.protobuf.Descriptors.FileDescriptor
-      getDescriptor() {
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
     return descriptor;
   }
-  private static  com.google.protobuf.Descriptors.FileDescriptor
-      descriptor;
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
   static {
     java.lang.String[] descriptorData = {
-      "\n)google/cloud/osconfig/v1/patch_jobs.pr" +
-      "oto\022\030google.cloud.osconfig.v1\032\037google/ap" +
-      "i/field_behavior.proto\032\031google/api/resou" +
-      "rce.proto\032.google/cloud/osconfig/v1/osco" +
-      "nfig_common.proto\032\036google/protobuf/durat" +
-      "ion.proto\032\037google/protobuf/timestamp.pro" +
-      "to\"\211\003\n\026ExecutePatchJobRequest\022C\n\006parent\030" +
-      "\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goog" +
-      "leapis.com/Project\022\023\n\013description\030\002 \001(\t\022" +
-      "K\n\017instance_filter\030\007 \001(\0132-.google.cloud." +
-      "osconfig.v1.PatchInstanceFilterB\003\340A\002\022;\n\014" +
-      "patch_config\030\004 \001(\0132%.google.cloud.osconf" +
-      "ig.v1.PatchConfig\022+\n\010duration\030\005 \001(\0132\031.go" +
-      "ogle.protobuf.Duration\022\017\n\007dry_run\030\006 \001(\010\022" +
-      "\024\n\014display_name\030\010 \001(\t\0227\n\007rollout\030\t \001(\0132&" +
-      ".google.cloud.osconfig.v1.PatchRollout\"L" +
-      "\n\022GetPatchJobRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372" +
-      "A\"\n osconfig.googleapis.com/PatchJob\"\225\001\n" +
-      "\"ListPatchJobInstanceDetailsRequest\0228\n\006p" +
-      "arent\030\001 \001(\tB(\340A\002\372A\"\n osconfig.googleapis" +
-      ".com/PatchJob\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" +
-      "_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\225\001\n#ListPat" +
-      "chJobInstanceDetailsResponse\022U\n\032patch_jo" +
-      "b_instance_details\030\001 \003(\01321.google.cloud." +
-      "osconfig.v1.PatchJobInstanceDetails\022\027\n\017n" +
-      "ext_page_token\030\002 \001(\t\"\326\001\n\027PatchJobInstanc" +
-      "eDetails\0222\n\004name\030\001 \001(\tB$\372A!\n\037compute.goo" +
-      "gleapis.com/Instance\022\032\n\022instance_system_" +
-      "id\030\002 \001(\t\022<\n\005state\030\003 \001(\0162-.google.cloud.o" +
-      "sconfig.v1.Instance.PatchState\022\026\n\016failur" +
-      "e_reason\030\004 \001(\t\022\025\n\rattempt_count\030\005 \001(\003\"\222\001" +
-      "\n\024ListPatchJobsRequest\022C\n\006parent\030\001 \001(\tB3" +
-      "\340A\002\372A-\n+cloudresourcemanager.googleapis." +
-      "com/Project\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" +
-      "oken\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"h\n\025ListPatchJ" +
-      "obsResponse\0226\n\npatch_jobs\030\001 \003(\0132\".google" +
-      ".cloud.osconfig.v1.PatchJob\022\027\n\017next_page" +
-      "_token\030\002 \001(\t\"\334\013\n\010PatchJob\022\014\n\004name\030\001 \001(\t\022" +
-      "\024\n\014display_name\030\016 \001(\t\022\023\n\013description\030\002 \001" +
-      "(\t\022/\n\013create_time\030\003 \001(\0132\032.google.protobu" +
-      "f.Timestamp\022/\n\013update_time\030\004 \001(\0132\032.googl" +
-      "e.protobuf.Timestamp\0227\n\005state\030\005 \001(\0162(.go" +
-      "ogle.cloud.osconfig.v1.PatchJob.State\022F\n" +
-      "\017instance_filter\030\r \001(\0132-.google.cloud.os" +
-      "config.v1.PatchInstanceFilter\022;\n\014patch_c" +
-      "onfig\030\007 \001(\0132%.google.cloud.osconfig.v1.P" +
-      "atchConfig\022+\n\010duration\030\010 \001(\0132\031.google.pr" +
-      "otobuf.Duration\022[\n\030instance_details_summ" +
-      "ary\030\t \001(\01329.google.cloud.osconfig.v1.Pat" +
-      "chJob.InstanceDetailsSummary\022\017\n\007dry_run\030" +
-      "\n \001(\010\022\025\n\rerror_message\030\013 \001(\t\022\030\n\020percent_" +
-      "complete\030\014 \001(\001\022I\n\020patch_deployment\030\017 \001(\t" +
-      "B/\340A\003\372A)\n\'osconfig.googleapis.com/PatchD" +
-      "eployment\0227\n\007rollout\030\020 \001(\0132&.google.clou" +
-      "d.osconfig.v1.PatchRollout\032\275\004\n\026InstanceD" +
-      "etailsSummary\022\036\n\026pending_instance_count\030" +
-      "\001 \001(\003\022\037\n\027inactive_instance_count\030\002 \001(\003\022\037" +
-      "\n\027notified_instance_count\030\003 \001(\003\022\036\n\026start" +
-      "ed_instance_count\030\004 \001(\003\022*\n\"downloading_p" +
-      "atches_instance_count\030\005 \001(\003\022\'\n\037applying_" +
-      "patches_instance_count\030\006 \001(\003\022 \n\030rebootin" +
-      "g_instance_count\030\007 \001(\003\022 \n\030succeeded_inst" +
-      "ance_count\030\010 \001(\003\0220\n(succeeded_reboot_req" +
-      "uired_instance_count\030\t \001(\003\022\035\n\025failed_ins" +
-      "tance_count\030\n \001(\003\022\034\n\024acked_instance_coun" +
-      "t\030\013 \001(\003\022 \n\030timed_out_instance_count\030\014 \001(" +
-      "\003\022%\n\035pre_patch_step_instance_count\030\r \001(\003" +
-      "\022&\n\036post_patch_step_instance_count\030\016 \001(\003" +
-      "\022(\n no_agent_detected_instance_count\030\017 \001" +
-      "(\003\"\225\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007S" +
-      "TARTED\020\001\022\023\n\017INSTANCE_LOOKUP\020\002\022\014\n\010PATCHIN" +
-      "G\020\003\022\r\n\tSUCCEEDED\020\004\022\031\n\025COMPLETED_WITH_ERR" +
-      "ORS\020\005\022\014\n\010CANCELED\020\006\022\r\n\tTIMED_OUT\020\007:O\352AL\n" +
-      " osconfig.googleapis.com/PatchJob\022(proje" +
-      "cts/{project}/patchJobs/{patch_job}\"\326\004\n\013" +
-      "PatchConfig\022I\n\rreboot_config\030\001 \001(\01622.goo" +
-      "gle.cloud.osconfig.v1.PatchConfig.Reboot" +
-      "Config\0222\n\003apt\030\003 \001(\0132%.google.cloud.oscon" +
-      "fig.v1.AptSettings\0222\n\003yum\030\004 \001(\0132%.google" +
-      ".cloud.osconfig.v1.YumSettings\0222\n\003goo\030\005 " +
-      "\001(\0132%.google.cloud.osconfig.v1.GooSettin" +
-      "gs\0228\n\006zypper\030\006 \001(\0132(.google.cloud.osconf" +
-      "ig.v1.ZypperSettings\022G\n\016windows_update\030\007" +
-      " \001(\0132/.google.cloud.osconfig.v1.WindowsU" +
-      "pdateSettings\0224\n\010pre_step\030\010 \001(\0132\".google" +
-      ".cloud.osconfig.v1.ExecStep\0225\n\tpost_step" +
-      "\030\t \001(\0132\".google.cloud.osconfig.v1.ExecSt" +
-      "ep\022\035\n\025mig_instances_allowed\030\n \001(\010\"Q\n\014Reb" +
-      "ootConfig\022\035\n\031REBOOT_CONFIG_UNSPECIFIED\020\000" +
-      "\022\013\n\007DEFAULT\020\001\022\n\n\006ALWAYS\020\002\022\t\n\005NEVER\020\003\"\316\002\n" +
-      "\010Instance\"\301\002\n\nPatchState\022\033\n\027PATCH_STATE_" +
-      "UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\014\n\010INACTIVE\020\002" +
-      "\022\014\n\010NOTIFIED\020\003\022\013\n\007STARTED\020\004\022\027\n\023DOWNLOADI" +
-      "NG_PATCHES\020\005\022\024\n\020APPLYING_PATCHES\020\006\022\r\n\tRE" +
-      "BOOTING\020\007\022\r\n\tSUCCEEDED\020\010\022\035\n\031SUCCEEDED_RE" +
-      "BOOT_REQUIRED\020\t\022\n\n\006FAILED\020\n\022\t\n\005ACKED\020\013\022\r" +
-      "\n\tTIMED_OUT\020\014\022\032\n\026RUNNING_PRE_PATCH_STEP\020" +
-      "\r\022\033\n\027RUNNING_POST_PATCH_STEP\020\016\022\025\n\021NO_AGE" +
-      "NT_DETECTED\020\017\"O\n\025CancelPatchJobRequest\0226" +
-      "\n\004name\030\001 \001(\tB(\340A\002\372A\"\n osconfig.googleapi" +
-      "s.com/PatchJob\"\252\001\n\013AptSettings\0228\n\004type\030\001" +
-      " \001(\0162*.google.cloud.osconfig.v1.AptSetti" +
-      "ngs.Type\022\020\n\010excludes\030\002 \003(\t\022\032\n\022exclusive_" +
-      "packages\030\003 \003(\t\"3\n\004Type\022\024\n\020TYPE_UNSPECIFI" +
-      "ED\020\000\022\010\n\004DIST\020\001\022\013\n\007UPGRADE\020\002\"^\n\013YumSettin" +
-      "gs\022\020\n\010security\030\001 \001(\010\022\017\n\007minimal\030\002 \001(\010\022\020\n" +
-      "\010excludes\030\003 \003(\t\022\032\n\022exclusive_packages\030\004 " +
-      "\003(\t\"\r\n\013GooSettings\"\221\001\n\016ZypperSettings\022\025\n" +
-      "\rwith_optional\030\001 \001(\010\022\023\n\013with_update\030\002 \001(" +
-      "\010\022\022\n\ncategories\030\003 \003(\t\022\022\n\nseverities\030\004 \003(" +
-      "\t\022\020\n\010excludes\030\005 \003(\t\022\031\n\021exclusive_patches" +
-      "\030\006 \003(\t\"\325\002\n\025WindowsUpdateSettings\022W\n\017clas" +
-      "sifications\030\001 \003(\0162>.google.cloud.osconfi" +
-      "g.v1.WindowsUpdateSettings.Classificatio" +
-      "n\022\020\n\010excludes\030\002 \003(\t\022\031\n\021exclusive_patches" +
-      "\030\003 \003(\t\"\265\001\n\016Classification\022\036\n\032CLASSIFICAT" +
-      "ION_UNSPECIFIED\020\000\022\014\n\010CRITICAL\020\001\022\014\n\010SECUR" +
-      "ITY\020\002\022\016\n\nDEFINITION\020\003\022\n\n\006DRIVER\020\004\022\020\n\014FEA" +
-      "TURE_PACK\020\005\022\020\n\014SERVICE_PACK\020\006\022\010\n\004TOOL\020\007\022" +
-      "\021\n\rUPDATE_ROLLUP\020\010\022\n\n\006UPDATE\020\t\"\240\001\n\010ExecS" +
-      "tep\022H\n\026linux_exec_step_config\030\001 \001(\0132(.go" +
-      "ogle.cloud.osconfig.v1.ExecStepConfig\022J\n" +
-      "\030windows_exec_step_config\030\002 \001(\0132(.google" +
-      ".cloud.osconfig.v1.ExecStepConfig\"\240\002\n\016Ex" +
-      "ecStepConfig\022\024\n\nlocal_path\030\001 \001(\tH\000\0229\n\ngc" +
-      "s_object\030\002 \001(\0132#.google.cloud.osconfig.v" +
-      "1.GcsObjectH\000\022\035\n\025allowed_success_codes\030\003" +
-      " \003(\005\022I\n\013interpreter\030\004 \001(\01624.google.cloud" +
-      ".osconfig.v1.ExecStepConfig.Interpreter\"" +
-      "E\n\013Interpreter\022\033\n\027INTERPRETER_UNSPECIFIE" +
-      "D\020\000\022\t\n\005SHELL\020\001\022\016\n\nPOWERSHELL\020\002B\014\n\nexecut" +
-      "able\"U\n\tGcsObject\022\023\n\006bucket\030\001 \001(\tB\003\340A\002\022\023" +
-      "\n\006object\030\002 \001(\tB\003\340A\002\022\036\n\021generation_number" +
-      "\030\003 \001(\003B\003\340A\002\"\310\002\n\023PatchInstanceFilter\022\013\n\003a" +
-      "ll\030\001 \001(\010\022N\n\014group_labels\030\002 \003(\01328.google." +
-      "cloud.osconfig.v1.PatchInstanceFilter.Gr" +
-      "oupLabel\022\r\n\005zones\030\003 \003(\t\022\021\n\tinstances\030\004 \003" +
-      "(\t\022\036\n\026instance_name_prefixes\030\005 \003(\t\032\221\001\n\nG" +
-      "roupLabel\022T\n\006labels\030\001 \003(\0132D.google.cloud" +
-      ".osconfig.v1.PatchInstanceFilter.GroupLa" +
-      "bel.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 " +
-      "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\324\001\n\014PatchRollout\022" +
-      "9\n\004mode\030\001 \001(\0162+.google.cloud.osconfig.v1" +
-      ".PatchRollout.Mode\022C\n\021disruption_budget\030" +
-      "\002 \001(\0132(.google.cloud.osconfig.v1.FixedOr" +
-      "Percent\"D\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\020\n" +
-      "\014ZONE_BY_ZONE\020\001\022\024\n\020CONCURRENT_ZONES\020\002B\277\001" +
-      "\n\034com.google.cloud.osconfig.v1B\tPatchJob" +
-      "sZ@google.golang.org/genproto/googleapis" +
-      "/cloud/osconfig/v1;osconfig\252\002\030Google.Clo" +
-      "ud.OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\V" +
-      "1\352\002\033Google::Cloud::OsConfig::V1b\006proto3"
+      "\n)google/cloud/osconfig/v1/patch_jobs.pr"
+          + "oto\022\030google.cloud.osconfig.v1\032\037google/ap"
+          + "i/field_behavior.proto\032\031google/api/resou"
+          + "rce.proto\032.google/cloud/osconfig/v1/osco"
+          + "nfig_common.proto\032\036google/protobuf/durat"
+          + "ion.proto\032\037google/protobuf/timestamp.pro"
+          + "to\"\211\003\n\026ExecutePatchJobRequest\022C\n\006parent\030"
+          + "\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goog"
+          + "leapis.com/Project\022\023\n\013description\030\002 \001(\t\022"
+          + "K\n\017instance_filter\030\007 \001(\0132-.google.cloud."
+          + "osconfig.v1.PatchInstanceFilterB\003\340A\002\022;\n\014"
+          + "patch_config\030\004 \001(\0132%.google.cloud.osconf"
+          + "ig.v1.PatchConfig\022+\n\010duration\030\005 \001(\0132\031.go"
+          + "ogle.protobuf.Duration\022\017\n\007dry_run\030\006 \001(\010\022"
+          + "\024\n\014display_name\030\010 \001(\t\0227\n\007rollout\030\t \001(\0132&"
+          + ".google.cloud.osconfig.v1.PatchRollout\"L"
+          + "\n\022GetPatchJobRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372"
+          + "A\"\n osconfig.googleapis.com/PatchJob\"\225\001\n"
+          + "\"ListPatchJobInstanceDetailsRequest\0228\n\006p"
+          + "arent\030\001 \001(\tB(\340A\002\372A\"\n osconfig.googleapis"
+          + ".com/PatchJob\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage"
+          + "_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\225\001\n#ListPat"
+          + "chJobInstanceDetailsResponse\022U\n\032patch_jo"
+          + "b_instance_details\030\001 \003(\01321.google.cloud."
+          + "osconfig.v1.PatchJobInstanceDetails\022\027\n\017n"
+          + "ext_page_token\030\002 \001(\t\"\326\001\n\027PatchJobInstanc"
+          + "eDetails\0222\n\004name\030\001 \001(\tB$\372A!\n\037compute.goo"
+          + "gleapis.com/Instance\022\032\n\022instance_system_"
+          + "id\030\002 \001(\t\022<\n\005state\030\003 \001(\0162-.google.cloud.o"
+          + "sconfig.v1.Instance.PatchState\022\026\n\016failur"
+          + "e_reason\030\004 \001(\t\022\025\n\rattempt_count\030\005 \001(\003\"\222\001"
+          + "\n\024ListPatchJobsRequest\022C\n\006parent\030\001 \001(\tB3"
+          + "\340A\002\372A-\n+cloudresourcemanager.googleapis."
+          + "com/Project\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t"
+          + "oken\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"h\n\025ListPatchJ"
+          + "obsResponse\0226\n\npatch_jobs\030\001 \003(\0132\".google"
+          + ".cloud.osconfig.v1.PatchJob\022\027\n\017next_page"
+          + "_token\030\002 \001(\t\"\334\013\n\010PatchJob\022\014\n\004name\030\001 \001(\t\022"
+          + "\024\n\014display_name\030\016 \001(\t\022\023\n\013description\030\002 \001"
+          + "(\t\022/\n\013create_time\030\003 \001(\0132\032.google.protobu"
+          + "f.Timestamp\022/\n\013update_time\030\004 \001(\0132\032.googl"
+          + "e.protobuf.Timestamp\0227\n\005state\030\005 \001(\0162(.go"
+          + "ogle.cloud.osconfig.v1.PatchJob.State\022F\n"
+          + "\017instance_filter\030\r \001(\0132-.google.cloud.os"
+          + "config.v1.PatchInstanceFilter\022;\n\014patch_c"
+          + "onfig\030\007 \001(\0132%.google.cloud.osconfig.v1.P"
+          + "atchConfig\022+\n\010duration\030\010 \001(\0132\031.google.pr"
+          + "otobuf.Duration\022[\n\030instance_details_summ"
+          + "ary\030\t \001(\01329.google.cloud.osconfig.v1.Pat"
+          + "chJob.InstanceDetailsSummary\022\017\n\007dry_run\030"
+          + "\n \001(\010\022\025\n\rerror_message\030\013 \001(\t\022\030\n\020percent_"
+          + "complete\030\014 \001(\001\022I\n\020patch_deployment\030\017 \001(\t"
+          + "B/\340A\003\372A)\n\'osconfig.googleapis.com/PatchD"
+          + "eployment\0227\n\007rollout\030\020 \001(\0132&.google.clou"
+          + "d.osconfig.v1.PatchRollout\032\275\004\n\026InstanceD"
+          + "etailsSummary\022\036\n\026pending_instance_count\030"
+          + "\001 \001(\003\022\037\n\027inactive_instance_count\030\002 \001(\003\022\037"
+          + "\n\027notified_instance_count\030\003 \001(\003\022\036\n\026start"
+          + "ed_instance_count\030\004 \001(\003\022*\n\"downloading_p"
+          + "atches_instance_count\030\005 \001(\003\022\'\n\037applying_"
+          + "patches_instance_count\030\006 \001(\003\022 \n\030rebootin"
+          + "g_instance_count\030\007 \001(\003\022 \n\030succeeded_inst"
+          + "ance_count\030\010 \001(\003\0220\n(succeeded_reboot_req"
+          + "uired_instance_count\030\t \001(\003\022\035\n\025failed_ins"
+          + "tance_count\030\n \001(\003\022\034\n\024acked_instance_coun"
+          + "t\030\013 \001(\003\022 \n\030timed_out_instance_count\030\014 \001("
+          + "\003\022%\n\035pre_patch_step_instance_count\030\r \001(\003"
+          + "\022&\n\036post_patch_step_instance_count\030\016 \001(\003"
+          + "\022(\n no_agent_detected_instance_count\030\017 \001"
+          + "(\003\"\225\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007S"
+          + "TARTED\020\001\022\023\n\017INSTANCE_LOOKUP\020\002\022\014\n\010PATCHIN"
+          + "G\020\003\022\r\n\tSUCCEEDED\020\004\022\031\n\025COMPLETED_WITH_ERR"
+          + "ORS\020\005\022\014\n\010CANCELED\020\006\022\r\n\tTIMED_OUT\020\007:O\352AL\n"
+          + " osconfig.googleapis.com/PatchJob\022(proje"
+          + "cts/{project}/patchJobs/{patch_job}\"\326\004\n\013"
+          + "PatchConfig\022I\n\rreboot_config\030\001 \001(\01622.goo"
+          + "gle.cloud.osconfig.v1.PatchConfig.Reboot"
+          + "Config\0222\n\003apt\030\003 \001(\0132%.google.cloud.oscon"
+          + "fig.v1.AptSettings\0222\n\003yum\030\004 \001(\0132%.google"
+          + ".cloud.osconfig.v1.YumSettings\0222\n\003goo\030\005 "
+          + "\001(\0132%.google.cloud.osconfig.v1.GooSettin"
+          + "gs\0228\n\006zypper\030\006 \001(\0132(.google.cloud.osconf"
+          + "ig.v1.ZypperSettings\022G\n\016windows_update\030\007"
+          + " \001(\0132/.google.cloud.osconfig.v1.WindowsU"
+          + "pdateSettings\0224\n\010pre_step\030\010 \001(\0132\".google"
+          + ".cloud.osconfig.v1.ExecStep\0225\n\tpost_step"
+          + "\030\t \001(\0132\".google.cloud.osconfig.v1.ExecSt"
+          + "ep\022\035\n\025mig_instances_allowed\030\n \001(\010\"Q\n\014Reb"
+          + "ootConfig\022\035\n\031REBOOT_CONFIG_UNSPECIFIED\020\000"
+          + "\022\013\n\007DEFAULT\020\001\022\n\n\006ALWAYS\020\002\022\t\n\005NEVER\020\003\"\316\002\n"
+          + "\010Instance\"\301\002\n\nPatchState\022\033\n\027PATCH_STATE_"
+          + "UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\014\n\010INACTIVE\020\002"
+          + "\022\014\n\010NOTIFIED\020\003\022\013\n\007STARTED\020\004\022\027\n\023DOWNLOADI"
+          + "NG_PATCHES\020\005\022\024\n\020APPLYING_PATCHES\020\006\022\r\n\tRE"
+          + "BOOTING\020\007\022\r\n\tSUCCEEDED\020\010\022\035\n\031SUCCEEDED_RE"
+          + "BOOT_REQUIRED\020\t\022\n\n\006FAILED\020\n\022\t\n\005ACKED\020\013\022\r"
+          + "\n\tTIMED_OUT\020\014\022\032\n\026RUNNING_PRE_PATCH_STEP\020"
+          + "\r\022\033\n\027RUNNING_POST_PATCH_STEP\020\016\022\025\n\021NO_AGE"
+          + "NT_DETECTED\020\017\"O\n\025CancelPatchJobRequest\0226"
+          + "\n\004name\030\001 \001(\tB(\340A\002\372A\"\n osconfig.googleapi"
+          + "s.com/PatchJob\"\252\001\n\013AptSettings\0228\n\004type\030\001"
+          + " \001(\0162*.google.cloud.osconfig.v1.AptSetti"
+          + "ngs.Type\022\020\n\010excludes\030\002 \003(\t\022\032\n\022exclusive_"
+          + "packages\030\003 \003(\t\"3\n\004Type\022\024\n\020TYPE_UNSPECIFI"
+          + "ED\020\000\022\010\n\004DIST\020\001\022\013\n\007UPGRADE\020\002\"^\n\013YumSettin"
+          + "gs\022\020\n\010security\030\001 \001(\010\022\017\n\007minimal\030\002 \001(\010\022\020\n"
+          + "\010excludes\030\003 \003(\t\022\032\n\022exclusive_packages\030\004 "
+          + "\003(\t\"\r\n\013GooSettings\"\221\001\n\016ZypperSettings\022\025\n"
+          + "\rwith_optional\030\001 \001(\010\022\023\n\013with_update\030\002 \001("
+          + "\010\022\022\n\ncategories\030\003 \003(\t\022\022\n\nseverities\030\004 \003("
+          + "\t\022\020\n\010excludes\030\005 \003(\t\022\031\n\021exclusive_patches"
+          + "\030\006 \003(\t\"\325\002\n\025WindowsUpdateSettings\022W\n\017clas"
+          + "sifications\030\001 \003(\0162>.google.cloud.osconfi"
+          + "g.v1.WindowsUpdateSettings.Classificatio"
+          + "n\022\020\n\010excludes\030\002 \003(\t\022\031\n\021exclusive_patches"
+          + "\030\003 \003(\t\"\265\001\n\016Classification\022\036\n\032CLASSIFICAT"
+          + "ION_UNSPECIFIED\020\000\022\014\n\010CRITICAL\020\001\022\014\n\010SECUR"
+          + "ITY\020\002\022\016\n\nDEFINITION\020\003\022\n\n\006DRIVER\020\004\022\020\n\014FEA"
+          + "TURE_PACK\020\005\022\020\n\014SERVICE_PACK\020\006\022\010\n\004TOOL\020\007\022"
+          + "\021\n\rUPDATE_ROLLUP\020\010\022\n\n\006UPDATE\020\t\"\240\001\n\010ExecS"
+          + "tep\022H\n\026linux_exec_step_config\030\001 \001(\0132(.go"
+          + "ogle.cloud.osconfig.v1.ExecStepConfig\022J\n"
+          + "\030windows_exec_step_config\030\002 \001(\0132(.google"
+          + ".cloud.osconfig.v1.ExecStepConfig\"\240\002\n\016Ex"
+          + "ecStepConfig\022\024\n\nlocal_path\030\001 \001(\tH\000\0229\n\ngc"
+          + "s_object\030\002 \001(\0132#.google.cloud.osconfig.v"
+          + "1.GcsObjectH\000\022\035\n\025allowed_success_codes\030\003"
+          + " \003(\005\022I\n\013interpreter\030\004 \001(\01624.google.cloud"
+          + ".osconfig.v1.ExecStepConfig.Interpreter\""
+          + "E\n\013Interpreter\022\033\n\027INTERPRETER_UNSPECIFIE"
+          + "D\020\000\022\t\n\005SHELL\020\001\022\016\n\nPOWERSHELL\020\002B\014\n\nexecut"
+          + "able\"U\n\tGcsObject\022\023\n\006bucket\030\001 \001(\tB\003\340A\002\022\023"
+          + "\n\006object\030\002 \001(\tB\003\340A\002\022\036\n\021generation_number"
+          + "\030\003 \001(\003B\003\340A\002\"\310\002\n\023PatchInstanceFilter\022\013\n\003a"
+          + "ll\030\001 \001(\010\022N\n\014group_labels\030\002 \003(\01328.google."
+          + "cloud.osconfig.v1.PatchInstanceFilter.Gr"
+          + "oupLabel\022\r\n\005zones\030\003 \003(\t\022\021\n\tinstances\030\004 \003"
+          + "(\t\022\036\n\026instance_name_prefixes\030\005 \003(\t\032\221\001\n\nG"
+          + "roupLabel\022T\n\006labels\030\001 \003(\0132D.google.cloud"
+          + ".osconfig.v1.PatchInstanceFilter.GroupLa"
+          + "bel.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 "
+          + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\324\001\n\014PatchRollout\022"
+          + "9\n\004mode\030\001 \001(\0162+.google.cloud.osconfig.v1"
+          + ".PatchRollout.Mode\022C\n\021disruption_budget\030"
+          + "\002 \001(\0132(.google.cloud.osconfig.v1.FixedOr"
+          + "Percent\"D\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\020\n"
+          + "\014ZONE_BY_ZONE\020\001\022\024\n\020CONCURRENT_ZONES\020\002B\277\001"
+          + "\n\034com.google.cloud.osconfig.v1B\tPatchJob"
+          + "sZ@google.golang.org/genproto/googleapis"
+          + "/cloud/osconfig/v1;osconfig\252\002\030Google.Clo"
+          + "ud.OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\V"
+          + "1\352\002\033Google::Cloud::OsConfig::V1b\006proto3"
     };
-    descriptor = com.google.protobuf.Descriptors.FileDescriptor
-      .internalBuildGeneratedFileFrom(descriptorData,
-        new com.google.protobuf.Descriptors.FileDescriptor[] {
-          com.google.api.FieldBehaviorProto.getDescriptor(),
-          com.google.api.ResourceProto.getDescriptor(),
-          com.google.cloud.osconfig.v1.Common.getDescriptor(),
-          com.google.protobuf.DurationProto.getDescriptor(),
-          com.google.protobuf.TimestampProto.getDescriptor(),
-        });
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.cloud.osconfig.v1.Common.getDescriptor(),
+              com.google.protobuf.DurationProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
     internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor =
-      getDescriptor().getMessageTypes().get(0);
-    internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor,
-        new java.lang.String[] { "Parent", "Description", "InstanceFilter", "PatchConfig", "Duration", "DryRun", "DisplayName", "Rollout", });
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_ExecutePatchJobRequest_descriptor,
+            new java.lang.String[] {
+              "Parent",
+              "Description",
+              "InstanceFilter",
+              "PatchConfig",
+              "Duration",
+              "DryRun",
+              "DisplayName",
+              "Rollout",
+            });
     internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor =
-      getDescriptor().getMessageTypes().get(1);
-    internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor,
-        new java.lang.String[] { "Name", });
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_GetPatchJobRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
     internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor =
-      getDescriptor().getMessageTypes().get(2);
-    internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor,
-        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", });
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "Filter",
+            });
     internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor =
-      getDescriptor().getMessageTypes().get(3);
-    internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor,
-        new java.lang.String[] { "PatchJobInstanceDetails", "NextPageToken", });
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_ListPatchJobInstanceDetailsResponse_descriptor,
+            new java.lang.String[] {
+              "PatchJobInstanceDetails", "NextPageToken",
+            });
     internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor =
-      getDescriptor().getMessageTypes().get(4);
-    internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor,
-        new java.lang.String[] { "Name", "InstanceSystemId", "State", "FailureReason", "AttemptCount", });
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_PatchJobInstanceDetails_descriptor,
+            new java.lang.String[] {
+              "Name", "InstanceSystemId", "State", "FailureReason", "AttemptCount",
+            });
     internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor =
-      getDescriptor().getMessageTypes().get(5);
-    internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor,
-        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", });
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_ListPatchJobsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "Filter",
+            });
     internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor =
-      getDescriptor().getMessageTypes().get(6);
-    internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor,
-        new java.lang.String[] { "PatchJobs", "NextPageToken", });
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_ListPatchJobsResponse_descriptor,
+            new java.lang.String[] {
+              "PatchJobs", "NextPageToken",
+            });
     internal_static_google_cloud_osconfig_v1_PatchJob_descriptor =
-      getDescriptor().getMessageTypes().get(7);
-    internal_static_google_cloud_osconfig_v1_PatchJob_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_PatchJob_descriptor,
-        new java.lang.String[] { "Name", "DisplayName", "Description", "CreateTime", "UpdateTime", "State", "InstanceFilter", "PatchConfig", "Duration", "InstanceDetailsSummary", "DryRun", "ErrorMessage", "PercentComplete", "PatchDeployment", "Rollout", });
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_osconfig_v1_PatchJob_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_PatchJob_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "DisplayName",
+              "Description",
+              "CreateTime",
+              "UpdateTime",
+              "State",
+              "InstanceFilter",
+              "PatchConfig",
+              "Duration",
+              "InstanceDetailsSummary",
+              "DryRun",
+              "ErrorMessage",
+              "PercentComplete",
+              "PatchDeployment",
+              "Rollout",
+            });
     internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor =
-      internal_static_google_cloud_osconfig_v1_PatchJob_descriptor.getNestedTypes().get(0);
-    internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor,
-        new java.lang.String[] { "PendingInstanceCount", "InactiveInstanceCount", "NotifiedInstanceCount", "StartedInstanceCount", "DownloadingPatchesInstanceCount", "ApplyingPatchesInstanceCount", "RebootingInstanceCount", "SucceededInstanceCount", "SucceededRebootRequiredInstanceCount", "FailedInstanceCount", "AckedInstanceCount", "TimedOutInstanceCount", "PrePatchStepInstanceCount", "PostPatchStepInstanceCount", "NoAgentDetectedInstanceCount", });
+        internal_static_google_cloud_osconfig_v1_PatchJob_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_PatchJob_InstanceDetailsSummary_descriptor,
+            new java.lang.String[] {
+              "PendingInstanceCount",
+              "InactiveInstanceCount",
+              "NotifiedInstanceCount",
+              "StartedInstanceCount",
+              "DownloadingPatchesInstanceCount",
+              "ApplyingPatchesInstanceCount",
+              "RebootingInstanceCount",
+              "SucceededInstanceCount",
+              "SucceededRebootRequiredInstanceCount",
+              "FailedInstanceCount",
+              "AckedInstanceCount",
+              "TimedOutInstanceCount",
+              "PrePatchStepInstanceCount",
+              "PostPatchStepInstanceCount",
+              "NoAgentDetectedInstanceCount",
+            });
     internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor =
-      getDescriptor().getMessageTypes().get(8);
-    internal_static_google_cloud_osconfig_v1_PatchConfig_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor,
-        new java.lang.String[] { "RebootConfig", "Apt", "Yum", "Goo", "Zypper", "WindowsUpdate", "PreStep", "PostStep", "MigInstancesAllowed", });
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_osconfig_v1_PatchConfig_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_PatchConfig_descriptor,
+            new java.lang.String[] {
+              "RebootConfig",
+              "Apt",
+              "Yum",
+              "Goo",
+              "Zypper",
+              "WindowsUpdate",
+              "PreStep",
+              "PostStep",
+              "MigInstancesAllowed",
+            });
     internal_static_google_cloud_osconfig_v1_Instance_descriptor =
-      getDescriptor().getMessageTypes().get(9);
-    internal_static_google_cloud_osconfig_v1_Instance_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_Instance_descriptor,
-        new java.lang.String[] { });
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_osconfig_v1_Instance_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_Instance_descriptor,
+            new java.lang.String[] {});
     internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor =
-      getDescriptor().getMessageTypes().get(10);
-    internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor,
-        new java.lang.String[] { "Name", });
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_CancelPatchJobRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
     internal_static_google_cloud_osconfig_v1_AptSettings_descriptor =
-      getDescriptor().getMessageTypes().get(11);
-    internal_static_google_cloud_osconfig_v1_AptSettings_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_AptSettings_descriptor,
-        new java.lang.String[] { "Type", "Excludes", "ExclusivePackages", });
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_osconfig_v1_AptSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_AptSettings_descriptor,
+            new java.lang.String[] {
+              "Type", "Excludes", "ExclusivePackages",
+            });
     internal_static_google_cloud_osconfig_v1_YumSettings_descriptor =
-      getDescriptor().getMessageTypes().get(12);
-    internal_static_google_cloud_osconfig_v1_YumSettings_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_YumSettings_descriptor,
-        new java.lang.String[] { "Security", "Minimal", "Excludes", "ExclusivePackages", });
+        getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_osconfig_v1_YumSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_YumSettings_descriptor,
+            new java.lang.String[] {
+              "Security", "Minimal", "Excludes", "ExclusivePackages",
+            });
     internal_static_google_cloud_osconfig_v1_GooSettings_descriptor =
-      getDescriptor().getMessageTypes().get(13);
-    internal_static_google_cloud_osconfig_v1_GooSettings_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_GooSettings_descriptor,
-        new java.lang.String[] { });
+        getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_osconfig_v1_GooSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_GooSettings_descriptor,
+            new java.lang.String[] {});
     internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor =
-      getDescriptor().getMessageTypes().get(14);
-    internal_static_google_cloud_osconfig_v1_ZypperSettings_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor,
-        new java.lang.String[] { "WithOptional", "WithUpdate", "Categories", "Severities", "Excludes", "ExclusivePatches", });
+        getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_osconfig_v1_ZypperSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_ZypperSettings_descriptor,
+            new java.lang.String[] {
+              "WithOptional",
+              "WithUpdate",
+              "Categories",
+              "Severities",
+              "Excludes",
+              "ExclusivePatches",
+            });
     internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor =
-      getDescriptor().getMessageTypes().get(15);
-    internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor,
-        new java.lang.String[] { "Classifications", "Excludes", "ExclusivePatches", });
+        getDescriptor().getMessageTypes().get(15);
+    internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_WindowsUpdateSettings_descriptor,
+            new java.lang.String[] {
+              "Classifications", "Excludes", "ExclusivePatches",
+            });
     internal_static_google_cloud_osconfig_v1_ExecStep_descriptor =
-      getDescriptor().getMessageTypes().get(16);
-    internal_static_google_cloud_osconfig_v1_ExecStep_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_ExecStep_descriptor,
-        new java.lang.String[] { "LinuxExecStepConfig", "WindowsExecStepConfig", });
+        getDescriptor().getMessageTypes().get(16);
+    internal_static_google_cloud_osconfig_v1_ExecStep_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_ExecStep_descriptor,
+            new java.lang.String[] {
+              "LinuxExecStepConfig", "WindowsExecStepConfig",
+            });
     internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor =
-      getDescriptor().getMessageTypes().get(17);
-    internal_static_google_cloud_osconfig_v1_ExecStepConfig_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor,
-        new java.lang.String[] { "LocalPath", "GcsObject", "AllowedSuccessCodes", "Interpreter", "Executable", });
+        getDescriptor().getMessageTypes().get(17);
+    internal_static_google_cloud_osconfig_v1_ExecStepConfig_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_ExecStepConfig_descriptor,
+            new java.lang.String[] {
+              "LocalPath", "GcsObject", "AllowedSuccessCodes", "Interpreter", "Executable",
+            });
     internal_static_google_cloud_osconfig_v1_GcsObject_descriptor =
-      getDescriptor().getMessageTypes().get(18);
-    internal_static_google_cloud_osconfig_v1_GcsObject_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_GcsObject_descriptor,
-        new java.lang.String[] { "Bucket", "Object", "GenerationNumber", });
+        getDescriptor().getMessageTypes().get(18);
+    internal_static_google_cloud_osconfig_v1_GcsObject_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_GcsObject_descriptor,
+            new java.lang.String[] {
+              "Bucket", "Object", "GenerationNumber",
+            });
     internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor =
-      getDescriptor().getMessageTypes().get(19);
-    internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor,
-        new java.lang.String[] { "All", "GroupLabels", "Zones", "Instances", "InstanceNamePrefixes", });
+        getDescriptor().getMessageTypes().get(19);
+    internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor,
+            new java.lang.String[] {
+              "All", "GroupLabels", "Zones", "Instances", "InstanceNamePrefixes",
+            });
     internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor =
-      internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor.getNestedTypes().get(0);
-    internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor,
-        new java.lang.String[] { "Labels", });
+        internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor,
+            new java.lang.String[] {
+              "Labels",
+            });
     internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor =
-      internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor.getNestedTypes().get(0);
-    internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor,
-        new java.lang.String[] { "Key", "Value", });
+        internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
     internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor =
-      getDescriptor().getMessageTypes().get(20);
-    internal_static_google_cloud_osconfig_v1_PatchRollout_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor,
-        new java.lang.String[] { "Mode", "DisruptionBudget", });
+        getDescriptor().getMessageTypes().get(20);
+    internal_static_google_cloud_osconfig_v1_PatchRollout_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1_PatchRollout_descriptor,
+            new java.lang.String[] {
+              "Mode", "DisruptionBudget",
+            });
     com.google.protobuf.ExtensionRegistry registry =
         com.google.protobuf.ExtensionRegistry.newInstance();
     registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
     registry.add(com.google.api.ResourceProto.resource);
     registry.add(com.google.api.ResourceProto.resourceReference);
-    com.google.protobuf.Descriptors.FileDescriptor
-        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
     com.google.api.FieldBehaviorProto.getDescriptor();
     com.google.api.ResourceProto.getDescriptor();
     com.google.cloud.osconfig.v1.Common.getDescriptor();
diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ProjectName.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ProjectName.java
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ProjectName.java
rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/ProjectName.java
diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequest.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequest.java
similarity index 64%
rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequest.java
rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequest.java
index 472a464a..d85d4fa9 100644
--- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequest.java
+++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequest.java
@@ -1,39 +1,56 @@
+/*
+ * 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/osconfig/v1/os_policy_assignments.proto
 
 package com.google.cloud.osconfig.v1;
 
 /**
+ *
+ *
  * 
  * A request message to update an OS policy assignment
  * 
* * Protobuf type {@code google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest} */ -public final class UpdateOSPolicyAssignmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateOSPolicyAssignmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) UpdateOSPolicyAssignmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateOSPolicyAssignmentRequest.newBuilder() to construct. - private UpdateOSPolicyAssignmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateOSPolicyAssignmentRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateOSPolicyAssignmentRequest() { - } + + private UpdateOSPolicyAssignmentRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateOSPolicyAssignmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateOSPolicyAssignmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +69,44 @@ private UpdateOSPolicyAssignmentRequest( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder subBuilder = null; - if (osPolicyAssignment_ != null) { - subBuilder = osPolicyAssignment_.toBuilder(); - } - osPolicyAssignment_ = input.readMessage(com.google.cloud.osconfig.v1.OSPolicyAssignment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(osPolicyAssignment_); - osPolicyAssignment_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder subBuilder = null; + if (osPolicyAssignment_ != null) { + subBuilder = osPolicyAssignment_.toBuilder(); + } + osPolicyAssignment_ = + input.readMessage( + com.google.cloud.osconfig.v1.OSPolicyAssignment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(osPolicyAssignment_); + osPolicyAssignment_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,41 @@ private UpdateOSPolicyAssignmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.class, + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.Builder.class); } public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1.OSPolicyAssignment osPolicyAssignment_; /** + * + * *
    * Required. The updated OS policy assignment.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the osPolicyAssignment field is set. */ @java.lang.Override @@ -127,23 +156,34 @@ public boolean hasOsPolicyAssignment() { return osPolicyAssignment_ != null; } /** + * + * *
    * Required. The updated OS policy assignment.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The osPolicyAssignment. */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignment() { - return osPolicyAssignment_ == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; + return osPolicyAssignment_ == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() + : osPolicyAssignment_; } /** + * + * *
    * Required. The updated OS policy assignment.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder() { @@ -153,12 +193,16 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. Field mask that controls which fields of the assignment should be
    * updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -166,12 +210,16 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. Field mask that controls which fields of the assignment should be
    * updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -179,12 +227,15 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. Field mask that controls which fields of the assignment should be
    * updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -192,6 +243,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,8 +255,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (osPolicyAssignment_ != null) { output.writeMessage(1, getOsPolicyAssignment()); } @@ -221,12 +272,10 @@ public int getSerializedSize() { size = 0; if (osPolicyAssignment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getOsPolicyAssignment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOsPolicyAssignment()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,22 +285,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest other = (com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) obj; + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest other = + (com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) obj; if (hasOsPolicyAssignment() != other.hasOsPolicyAssignment()) return false; if (hasOsPolicyAssignment()) { - if (!getOsPolicyAssignment() - .equals(other.getOsPolicyAssignment())) return false; + if (!getOsPolicyAssignment().equals(other.getOsPolicyAssignment())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -278,117 +326,127 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest 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.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message to update an OS policy assignment
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.class, + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.newBuilder() @@ -396,16 +454,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,13 +482,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1_UpdateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.getDefaultInstance(); } @@ -446,7 +504,8 @@ public com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest buildPartial() { - com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest result = new com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest(this); + com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest result = + new com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest(this); if (osPolicyAssignmentBuilder_ == null) { result.osPolicyAssignment_ = osPolicyAssignment_; } else { @@ -465,38 +524,39 @@ public com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.UpdateOSPolicyAssignmentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) other); } else { super.mergeFrom(other); return this; @@ -504,7 +564,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest other) { - if (other == com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest.getDefaultInstance()) + return this; if (other.hasOsPolicyAssignment()) { mergeOsPolicyAssignment(other.getOsPolicyAssignment()); } @@ -530,7 +592,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -542,39 +605,58 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1.OSPolicyAssignment osPolicyAssignment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> osPolicyAssignmentBuilder_; + com.google.cloud.osconfig.v1.OSPolicyAssignment, + com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> + osPolicyAssignmentBuilder_; /** + * + * *
      * Required. The updated OS policy assignment.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the osPolicyAssignment field is set. */ public boolean hasOsPolicyAssignment() { return osPolicyAssignmentBuilder_ != null || osPolicyAssignment_ != null; } /** + * + * *
      * Required. The updated OS policy assignment.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The osPolicyAssignment. */ public com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignment() { if (osPolicyAssignmentBuilder_ == null) { - return osPolicyAssignment_ == null ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; + return osPolicyAssignment_ == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() + : osPolicyAssignment_; } else { return osPolicyAssignmentBuilder_.getMessage(); } } /** + * + * *
      * Required. The updated OS policy assignment.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOsPolicyAssignment(com.google.cloud.osconfig.v1.OSPolicyAssignment value) { if (osPolicyAssignmentBuilder_ == null) { @@ -590,11 +672,15 @@ public Builder setOsPolicyAssignment(com.google.cloud.osconfig.v1.OSPolicyAssign return this; } /** + * + * *
      * Required. The updated OS policy assignment.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOsPolicyAssignment( com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder builderForValue) { @@ -608,17 +694,23 @@ public Builder setOsPolicyAssignment( return this; } /** + * + * *
      * Required. The updated OS policy assignment.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeOsPolicyAssignment(com.google.cloud.osconfig.v1.OSPolicyAssignment value) { if (osPolicyAssignmentBuilder_ == null) { if (osPolicyAssignment_ != null) { osPolicyAssignment_ = - com.google.cloud.osconfig.v1.OSPolicyAssignment.newBuilder(osPolicyAssignment_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.OSPolicyAssignment.newBuilder(osPolicyAssignment_) + .mergeFrom(value) + .buildPartial(); } else { osPolicyAssignment_ = value; } @@ -630,11 +722,15 @@ public Builder mergeOsPolicyAssignment(com.google.cloud.osconfig.v1.OSPolicyAssi return this; } /** + * + * *
      * Required. The updated OS policy assignment.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOsPolicyAssignment() { if (osPolicyAssignmentBuilder_ == null) { @@ -648,48 +744,65 @@ public Builder clearOsPolicyAssignment() { return this; } /** + * + * *
      * Required. The updated OS policy assignment.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder getOsPolicyAssignmentBuilder() { - + onChanged(); return getOsPolicyAssignmentFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The updated OS policy assignment.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder() { + public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder + getOsPolicyAssignmentOrBuilder() { if (osPolicyAssignmentBuilder_ != null) { return osPolicyAssignmentBuilder_.getMessageOrBuilder(); } else { - return osPolicyAssignment_ == null ? - com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; + return osPolicyAssignment_ == null + ? com.google.cloud.osconfig.v1.OSPolicyAssignment.getDefaultInstance() + : osPolicyAssignment_; } } /** + * + * *
      * Required. The updated OS policy assignment.
      * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> + com.google.cloud.osconfig.v1.OSPolicyAssignment, + com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentFieldBuilder() { if (osPolicyAssignmentBuilder_ == null) { - osPolicyAssignmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.OSPolicyAssignment, com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder>( - getOsPolicyAssignment(), - getParentForChildren(), - isClean()); + osPolicyAssignmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.OSPolicyAssignment, + com.google.cloud.osconfig.v1.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder>( + getOsPolicyAssignment(), getParentForChildren(), isClean()); osPolicyAssignment_ = null; } return osPolicyAssignmentBuilder_; @@ -697,42 +810,58 @@ public com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssig private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Optional. Field mask that controls which fields of the assignment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Optional. Field mask that controls which fields of the assignment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Optional. Field mask that controls which fields of the assignment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -748,15 +877,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask that controls which fields of the assignment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -767,18 +898,21 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. Field mask that controls which fields of the assignment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -790,12 +924,15 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask that controls which fields of the assignment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -809,58 +946,71 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. Field mask that controls which fields of the assignment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Field mask that controls which fields of the assignment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Optional. Field mask that controls which fields of the assignment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -870,12 +1020,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) - private static final com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest(); } @@ -884,16 +1035,16 @@ public static com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateOSPolicyAssignmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateOSPolicyAssignmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateOSPolicyAssignmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateOSPolicyAssignmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -908,6 +1059,4 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequestOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequestOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequestOrBuilder.java index 6e7fc3b9..3fac4ae8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/UpdateOSPolicyAssignmentRequestOrBuilder.java @@ -1,66 +1,107 @@ +/* + * 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/osconfig/v1/os_policy_assignments.proto package com.google.cloud.osconfig.v1; -public interface UpdateOSPolicyAssignmentRequestOrBuilder extends +public interface UpdateOSPolicyAssignmentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The updated OS policy assignment.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the osPolicyAssignment field is set. */ boolean hasOsPolicyAssignment(); /** + * + * *
    * Required. The updated OS policy assignment.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The osPolicyAssignment. */ com.google.cloud.osconfig.v1.OSPolicyAssignment getOsPolicyAssignment(); /** + * + * *
    * Required. The updated OS policy assignment.
    * 
* - * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder(); /** + * + * *
    * Optional. Field mask that controls which fields of the assignment should be
    * updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. Field mask that controls which fields of the assignment should be
    * updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. Field mask that controls which fields of the assignment should be
    * updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityProto.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityProto.java new file mode 100644 index 00000000..1f503042 --- /dev/null +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityProto.java @@ -0,0 +1,272 @@ +/* + * 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/osconfig/v1/vulnerability.proto + +package com.google.cloud.osconfig.v1; + +public final class VulnerabilityProto { + private VulnerabilityProto() {} + + 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_osconfig_v1_VulnerabilityReport_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1_CVSSv3_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n,google/cloud/osconfig/v1/vulnerability" + + ".proto\022\030google.cloud.osconfig.v1\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\032\037google/protobuf/timestamp." + + "proto\"\303\010\n\023VulnerabilityReport\022\021\n\004name\030\001 " + + "\001(\tB\003\340A\003\022Y\n\017vulnerabilities\030\002 \003(\0132;.goog" + + "le.cloud.osconfig.v1.VulnerabilityReport" + + ".VulnerabilityB\003\340A\003\0224\n\013update_time\030\003 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\032\202\006\n\rVu" + + "lnerability\022T\n\007details\030\001 \001(\0132C.google.cl" + + "oud.osconfig.v1.VulnerabilityReport.Vuln" + + "erability.Details\022(\n\034installed_inventory" + + "_item_ids\030\002 \003(\tB\002\030\001\022(\n\034available_invento" + + "ry_item_ids\030\003 \003(\tB\002\030\001\022/\n\013create_time\030\004 \001" + + "(\0132\032.google.protobuf.Timestamp\022/\n\013update" + + "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" + + "O\n\005items\030\006 \003(\0132@.google.cloud.osconfig.v" + + "1.VulnerabilityReport.Vulnerability.Item" + + "\032\224\002\n\007Details\022\013\n\003cve\030\001 \001(\t\022\025\n\rcvss_v2_sco" + + "re\030\002 \001(\002\0221\n\007cvss_v3\030\003 \001(\0132 .google.cloud" + + ".osconfig.v1.CVSSv3\022\020\n\010severity\030\004 \001(\t\022\023\n" + + "\013description\030\005 \001(\t\022a\n\nreferences\030\006 \003(\0132M" + + ".google.cloud.osconfig.v1.VulnerabilityR" + + "eport.Vulnerability.Details.Reference\032(\n" + + "\tReference\022\013\n\003url\030\001 \001(\t\022\016\n\006source\030\002 \001(\t\032" + + "}\n\004Item\022#\n\033installed_inventory_item_id\030\001" + + " \001(\t\022#\n\033available_inventory_item_id\030\002 \001(" + + "\t\022\025\n\rfixed_cpe_uri\030\003 \001(\t\022\024\n\014upstream_fix" + + "\030\004 \001(\t:\202\001\352A\177\n+osconfig.googleapis.com/Vu" + + "lnerabilityReport\022Pprojects/{project}/lo" + + "cations/{location}/instances/{instance}/" + + "vulnerabilityReport\"b\n\035GetVulnerabilityR" + + "eportRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+osco" + + "nfig.googleapis.com/VulnerabilityReport\"" + + "\221\001\n\037ListVulnerabilityReportsRequest\0227\n\006p" + + "arent\030\001 \001(\tB\'\340A\002\372A!\n\037compute.googleapis." + + "com/Instance\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + + "token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\211\001\n ListVuln" + + "erabilityReportsResponse\022L\n\025vulnerabilit" + + "y_reports\030\001 \003(\0132-.google.cloud.osconfig." + + "v1.VulnerabilityReport\022\027\n\017next_page_toke" + + "n\030\002 \001(\t\"\265\n\n\006CVSSv3\022\022\n\nbase_score\030\001 \001(\002\022\034" + + "\n\024exploitability_score\030\002 \001(\002\022\024\n\014impact_s" + + "core\030\003 \001(\002\022D\n\rattack_vector\030\005 \001(\0162-.goog" + + "le.cloud.osconfig.v1.CVSSv3.AttackVector" + + "\022L\n\021attack_complexity\030\006 \001(\01621.google.clo" + + "ud.osconfig.v1.CVSSv3.AttackComplexity\022P" + + "\n\023privileges_required\030\007 \001(\01623.google.clo" + + "ud.osconfig.v1.CVSSv3.PrivilegesRequired" + + "\022J\n\020user_interaction\030\010 \001(\01620.google.clou" + + "d.osconfig.v1.CVSSv3.UserInteraction\0225\n\005" + + "scope\030\t \001(\0162&.google.cloud.osconfig.v1.C" + + "VSSv3.Scope\022G\n\026confidentiality_impact\030\n " + + "\001(\0162\'.google.cloud.osconfig.v1.CVSSv3.Im" + + "pact\022A\n\020integrity_impact\030\013 \001(\0162\'.google." + + "cloud.osconfig.v1.CVSSv3.Impact\022D\n\023avail" + + "ability_impact\030\014 \001(\0162\'.google.cloud.osco" + + "nfig.v1.CVSSv3.Impact\"\231\001\n\014AttackVector\022\035" + + "\n\031ATTACK_VECTOR_UNSPECIFIED\020\000\022\031\n\025ATTACK_" + + "VECTOR_NETWORK\020\001\022\032\n\026ATTACK_VECTOR_ADJACE" + + "NT\020\002\022\027\n\023ATTACK_VECTOR_LOCAL\020\003\022\032\n\026ATTACK_" + + "VECTOR_PHYSICAL\020\004\"l\n\020AttackComplexity\022!\n" + + "\035ATTACK_COMPLEXITY_UNSPECIFIED\020\000\022\031\n\025ATTA" + + "CK_COMPLEXITY_LOW\020\001\022\032\n\026ATTACK_COMPLEXITY" + + "_HIGH\020\002\"\222\001\n\022PrivilegesRequired\022#\n\037PRIVIL" + + "EGES_REQUIRED_UNSPECIFIED\020\000\022\034\n\030PRIVILEGE" + + "S_REQUIRED_NONE\020\001\022\033\n\027PRIVILEGES_REQUIRED" + + "_LOW\020\002\022\034\n\030PRIVILEGES_REQUIRED_HIGH\020\003\"m\n\017" + + "UserInteraction\022 \n\034USER_INTERACTION_UNSP" + + "ECIFIED\020\000\022\031\n\025USER_INTERACTION_NONE\020\001\022\035\n\031" + + "USER_INTERACTION_REQUIRED\020\002\"F\n\005Scope\022\025\n\021" + + "SCOPE_UNSPECIFIED\020\000\022\023\n\017SCOPE_UNCHANGED\020\001" + + "\022\021\n\rSCOPE_CHANGED\020\002\"R\n\006Impact\022\026\n\022IMPACT_" + + "UNSPECIFIED\020\000\022\017\n\013IMPACT_HIGH\020\001\022\016\n\nIMPACT" + + "_LOW\020\002\022\017\n\013IMPACT_NONE\020\003B\312\001\n\034com.google.c" + + "loud.osconfig.v1B\022VulnerabilityProtoP\001Z@" + + "google.golang.org/genproto/googleapis/cl" + + "oud/osconfig/v1;osconfig\252\002\030Google.Cloud." + + "OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002" + + "\033Google::Cloud::OsConfig::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor, + new java.lang.String[] { + "Name", "Vulnerabilities", "UpdateTime", + }); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor = + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor, + new java.lang.String[] { + "Details", + "InstalledInventoryItemIds", + "AvailableInventoryItemIds", + "CreateTime", + "UpdateTime", + "Items", + }); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor = + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor, + new java.lang.String[] { + "Cve", "CvssV2Score", "CvssV3", "Severity", "Description", "References", + }); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor = + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor, + new java.lang.String[] { + "Url", "Source", + }); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor = + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor, + new java.lang.String[] { + "InstalledInventoryItemId", "AvailableInventoryItemId", "FixedCpeUri", "UpstreamFix", + }); + internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_GetVulnerabilityReportRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", + }); + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_ListVulnerabilityReportsResponse_descriptor, + new java.lang.String[] { + "VulnerabilityReports", "NextPageToken", + }); + internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_osconfig_v1_CVSSv3_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1_CVSSv3_descriptor, + new java.lang.String[] { + "BaseScore", + "ExploitabilityScore", + "ImpactScore", + "AttackVector", + "AttackComplexity", + "PrivilegesRequired", + "UserInteraction", + "Scope", + "ConfidentialityImpact", + "IntegrityImpact", + "AvailabilityImpact", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReport.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReport.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReport.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReport.java index e7ff43c5..e0d03104 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReport.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReport.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; /** + * + * *
  * This API resource represents the vulnerability report for a specified
  * Compute Engine virtual machine (VM) instance at a given point in time.
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport}
  */
-public final class VulnerabilityReport extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class VulnerabilityReport extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.VulnerabilityReport)
     VulnerabilityReportOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use VulnerabilityReport.newBuilder() to construct.
   private VulnerabilityReport(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private VulnerabilityReport() {
     name_ = "";
     vulnerabilities_ = java.util.Collections.emptyList();
@@ -29,16 +47,15 @@ private VulnerabilityReport() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new VulnerabilityReport();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private VulnerabilityReport(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,41 +75,49 @@ private VulnerabilityReport(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              vulnerabilities_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
-            }
-            vulnerabilities_.add(
-                input.readMessage(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.parser(), extensionRegistry));
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              name_ = s;
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                vulnerabilities_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              vulnerabilities_.add(
+                  input.readMessage(
+                      com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.parser(),
+                      extensionRegistry));
+              break;
             }
+          case 26:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,8 +125,7 @@ private VulnerabilityReport(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         vulnerabilities_ = java.util.Collections.unmodifiableList(vulnerabilities_);
@@ -110,44 +134,56 @@ private VulnerabilityReport(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1.VulnerabilityProto
+        .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_fieldAccessorTable
+    return com.google.cloud.osconfig.v1.VulnerabilityProto
+        .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1.VulnerabilityReport.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Builder.class);
+            com.google.cloud.osconfig.v1.VulnerabilityReport.class,
+            com.google.cloud.osconfig.v1.VulnerabilityReport.Builder.class);
   }
 
-  public interface VulnerabilityOrBuilder extends
+  public interface VulnerabilityOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * * @return Whether the details field is set. */ boolean hasDetails(); /** + * + * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * * @return The details. */ com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details getDetails(); /** + * + * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
@@ -155,9 +191,12 @@ public interface VulnerabilityOrBuilder extends
      *
      * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1;
      */
-    com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder getDetailsOrBuilder();
+    com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder
+        getDetailsOrBuilder();
 
     /**
+     *
+     *
      * 
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -167,13 +206,17 @@ public interface VulnerabilityOrBuilder extends
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @return A list containing the installedInventoryItemIds. */ - @java.lang.Deprecated java.util.List - getInstalledInventoryItemIdsList(); + @java.lang.Deprecated + java.util.List getInstalledInventoryItemIdsList(); /** + * + * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -183,12 +226,17 @@ public interface VulnerabilityOrBuilder extends
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @return The count of installedInventoryItemIds. */ - @java.lang.Deprecated int getInstalledInventoryItemIdsCount(); + @java.lang.Deprecated + int getInstalledInventoryItemIdsCount(); /** + * + * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -198,13 +246,18 @@ public interface VulnerabilityOrBuilder extends
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param index The index of the element to return. * @return The installedInventoryItemIds at the given index. */ - @java.lang.Deprecated java.lang.String getInstalledInventoryItemIds(int index); + @java.lang.Deprecated + java.lang.String getInstalledInventoryItemIds(int index); /** + * + * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -214,15 +267,19 @@ public interface VulnerabilityOrBuilder extends
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param index The index of the value to return. * @return The bytes of the installedInventoryItemIds at the given index. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getInstalledInventoryItemIdsBytes(int index); + @java.lang.Deprecated + com.google.protobuf.ByteString getInstalledInventoryItemIdsBytes(int index); /** + * + * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -233,13 +290,17 @@ public interface VulnerabilityOrBuilder extends
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @return A list containing the availableInventoryItemIds. */ - @java.lang.Deprecated java.util.List - getAvailableInventoryItemIdsList(); + @java.lang.Deprecated + java.util.List getAvailableInventoryItemIdsList(); /** + * + * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -250,12 +311,17 @@ public interface VulnerabilityOrBuilder extends
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @return The count of availableInventoryItemIds. */ - @java.lang.Deprecated int getAvailableInventoryItemIdsCount(); + @java.lang.Deprecated + int getAvailableInventoryItemIdsCount(); /** + * + * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -266,13 +332,18 @@ public interface VulnerabilityOrBuilder extends
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param index The index of the element to return. * @return The availableInventoryItemIds at the given index. */ - @java.lang.Deprecated java.lang.String getAvailableInventoryItemIds(int index); + @java.lang.Deprecated + java.lang.String getAvailableInventoryItemIds(int index); /** + * + * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -283,33 +354,43 @@ public interface VulnerabilityOrBuilder extends
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param index The index of the value to return. * @return The bytes of the availableInventoryItemIds at the given index. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getAvailableInventoryItemIdsBytes(int index); + @java.lang.Deprecated + com.google.protobuf.ByteString getAvailableInventoryItemIdsBytes(int index); /** + * + * *
      * The timestamp for when the vulnerability was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
      * The timestamp for when the vulnerability was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
      * The timestamp for when the vulnerability was first detected.
      * 
@@ -319,24 +400,32 @@ public interface VulnerabilityOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
      * The timestamp for when the vulnerability was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
      * The timestamp for when the vulnerability was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
      * The timestamp for when the vulnerability was last modified.
      * 
@@ -346,65 +435,84 @@ public interface VulnerabilityOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - java.util.List + java.util.List getItemsList(); /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item getItems(int index); /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ int getItemsCount(); /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder> getItemsOrBuilderList(); /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder getItemsOrBuilder( int index); } /** + * + * *
    * A vulnerability affecting the VM instance.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability} */ - public static final class Vulnerability extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Vulnerability extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability) VulnerabilityOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Vulnerability.newBuilder() to construct. private Vulnerability(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Vulnerability() { installedInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; availableInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -413,16 +521,15 @@ private Vulnerability() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Vulnerability(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Vulnerability( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -442,79 +549,97 @@ private Vulnerability( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder subBuilder = null; - if (details_ != null) { - subBuilder = details_.toBuilder(); - } - details_ = input.readMessage(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(details_); - details_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder + subBuilder = null; + if (details_ != null) { + subBuilder = details_.toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(details_); + details_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - installedInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - installedInventoryItemIds_.add(s); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - availableInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + break; } - availableInventoryItemIds_.add(s); - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + installedInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + installedInventoryItemIds_.add(s); + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + availableInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + availableInventoryItemIds_.add(s); + break; } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - items_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + break; } - items_.add( - input.readMessage(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 50: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + items_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item>(); + mutable_bitField0_ |= 0x00000004; + } + items_.add( + input.readMessage( + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item + .parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -522,8 +647,7 @@ private Vulnerability( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { installedInventoryItemIds_ = installedInventoryItemIds_.getUnmodifiableView(); @@ -538,24 +662,30 @@ private Vulnerability( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_fieldAccessorTable + return com.google.cloud.osconfig.v1.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder.class); + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.class, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder.class); } - public interface DetailsOrBuilder extends + public interface DetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * The CVE of the vulnerability. CVE cannot be
        * empty and the combination of <cve, classification> should be unique
@@ -563,10 +693,13 @@ public interface DetailsOrBuilder extends
        * 
* * string cve = 1; + * * @return The cve. */ java.lang.String getCve(); /** + * + * *
        * The CVE of the vulnerability. CVE cannot be
        * empty and the combination of <cve, classification> should be unique
@@ -574,41 +707,52 @@ public interface DetailsOrBuilder extends
        * 
* * string cve = 1; + * * @return The bytes for cve. */ - com.google.protobuf.ByteString - getCveBytes(); + com.google.protobuf.ByteString getCveBytes(); /** + * + * *
        * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
        * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
        * 
* * float cvss_v2_score = 2; + * * @return The cvssV2Score. */ float getCvssV2Score(); /** + * + * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
* * .google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3; + * * @return Whether the cvssV3 field is set. */ boolean hasCvssV3(); /** + * + * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
* * .google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3; + * * @return The cvssV3. */ com.google.cloud.osconfig.v1.CVSSv3 getCvssV3(); /** + * + * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
@@ -618,90 +762,127 @@ public interface DetailsOrBuilder extends com.google.cloud.osconfig.v1.CVSSv3OrBuilder getCvssV3OrBuilder(); /** + * + * *
        * Assigned severity/impact ranking from the distro.
        * 
* * string severity = 4; + * * @return The severity. */ java.lang.String getSeverity(); /** + * + * *
        * Assigned severity/impact ranking from the distro.
        * 
* * string severity = 4; + * * @return The bytes for severity. */ - com.google.protobuf.ByteString - getSeverityBytes(); + com.google.protobuf.ByteString getSeverityBytes(); /** + * + * *
        * The note or description describing the vulnerability from the distro.
        * 
* * string description = 5; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
        * The note or description describing the vulnerability from the distro.
        * 
* * string description = 5; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - java.util.List + java.util.List< + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference> getReferencesList(); /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference getReferences(int index); + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + getReferences(int index); /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ int getReferencesCount(); /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .ReferenceOrBuilder> getReferencesOrBuilderList(); /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder getReferencesOrBuilder( - int index); + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder + getReferencesOrBuilder(int index); } /** + * + * *
      * Contains metadata information for the vulnerability. This information is
      * collected from the upstream feed of the operating system.
@@ -709,15 +890,16 @@ com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference
      *
      * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details}
      */
-    public static final class Details extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class Details extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details)
         DetailsOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use Details.newBuilder() to construct.
       private Details(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
+
       private Details() {
         cve_ = "";
         severity_ = "";
@@ -727,16 +909,15 @@ private Details() {
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new Details();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private Details(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -756,58 +937,71 @@ private Details(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                java.lang.String s = input.readStringRequireUtf8();
-
-                cve_ = s;
-                break;
-              }
-              case 21: {
+              case 10:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                cvssV2Score_ = input.readFloat();
-                break;
-              }
-              case 26: {
-                com.google.cloud.osconfig.v1.CVSSv3.Builder subBuilder = null;
-                if (cvssV3_ != null) {
-                  subBuilder = cvssV3_.toBuilder();
+                  cve_ = s;
+                  break;
                 }
-                cvssV3_ = input.readMessage(com.google.cloud.osconfig.v1.CVSSv3.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(cvssV3_);
-                  cvssV3_ = subBuilder.buildPartial();
+              case 21:
+                {
+                  cvssV2Score_ = input.readFloat();
+                  break;
                 }
+              case 26:
+                {
+                  com.google.cloud.osconfig.v1.CVSSv3.Builder subBuilder = null;
+                  if (cvssV3_ != null) {
+                    subBuilder = cvssV3_.toBuilder();
+                  }
+                  cvssV3_ =
+                      input.readMessage(
+                          com.google.cloud.osconfig.v1.CVSSv3.parser(), extensionRegistry);
+                  if (subBuilder != null) {
+                    subBuilder.mergeFrom(cvssV3_);
+                    cvssV3_ = subBuilder.buildPartial();
+                  }
 
-                break;
-              }
-              case 34: {
-                java.lang.String s = input.readStringRequireUtf8();
+                  break;
+                }
+              case 34:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                severity_ = s;
-                break;
-              }
-              case 42: {
-                java.lang.String s = input.readStringRequireUtf8();
+                  severity_ = s;
+                  break;
+                }
+              case 42:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                description_ = s;
-                break;
-              }
-              case 50: {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  references_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000001;
+                  description_ = s;
+                  break;
                 }
-                references_.add(
-                    input.readMessage(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.parser(), extensionRegistry));
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+              case 50:
+                {
+                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                    references_ =
+                        new java.util.ArrayList<
+                            com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details
+                                .Reference>();
+                    mutable_bitField0_ |= 0x00000001;
+                  }
+                  references_.add(
+                      input.readMessage(
+                          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details
+                              .Reference.parser(),
+                          extensionRegistry));
+                  break;
+                }
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -815,8 +1009,8 @@ private Details(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           if (((mutable_bitField0_ & 0x00000001) != 0)) {
             references_ = java.util.Collections.unmodifiableList(references_);
@@ -825,79 +1019,98 @@ private Details(
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.VulnerabilityProto
+            .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.VulnerabilityProto
+            .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder.class);
+                com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.class,
+                com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder
+                    .class);
       }
 
-      public interface ReferenceOrBuilder extends
+      public interface ReferenceOrBuilder
+          extends
           // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference)
           com.google.protobuf.MessageOrBuilder {
 
         /**
+         *
+         *
          * 
          * The url of the reference.
          * 
* * string url = 1; + * * @return The url. */ java.lang.String getUrl(); /** + * + * *
          * The url of the reference.
          * 
* * string url = 1; + * * @return The bytes for url. */ - com.google.protobuf.ByteString - getUrlBytes(); + com.google.protobuf.ByteString getUrlBytes(); /** + * + * *
          * The source of the reference e.g. NVD.
          * 
* * string source = 2; + * * @return The source. */ java.lang.String getSource(); /** + * + * *
          * The source of the reference e.g. NVD.
          * 
* * string source = 2; + * * @return The bytes for source. */ - com.google.protobuf.ByteString - getSourceBytes(); + com.google.protobuf.ByteString getSourceBytes(); } /** + * + * *
        * A reference for this vulnerability.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference} + * Protobuf type {@code + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference} */ - public static final class Reference extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Reference extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) ReferenceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Reference.newBuilder() to construct. private Reference(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Reference() { url_ = ""; source_ = ""; @@ -905,16 +1118,15 @@ private Reference() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Reference(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Reference( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -933,25 +1145,27 @@ private Reference( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - url_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + url_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - source_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + source_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -959,34 +1173,42 @@ private Reference( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable + return com.google.cloud.osconfig.v1.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder.class); + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + .class, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + .Builder.class); } public static final int URL_FIELD_NUMBER = 1; private volatile java.lang.Object url_; /** + * + * *
          * The url of the reference.
          * 
* * string url = 1; + * * @return The url. */ @java.lang.Override @@ -995,29 +1217,29 @@ public java.lang.String getUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; } } /** + * + * *
          * The url of the reference.
          * 
* * string url = 1; + * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); url_ = b; return b; } else { @@ -1028,11 +1250,14 @@ public java.lang.String getUrl() { public static final int SOURCE_FIELD_NUMBER = 2; private volatile java.lang.Object source_; /** + * + * *
          * The source of the reference e.g. NVD.
          * 
* * string source = 2; + * * @return The source. */ @java.lang.Override @@ -1041,29 +1266,29 @@ public java.lang.String getSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; } } /** + * + * *
          * The source of the reference e.g. NVD.
          * 
* * string source = 2; + * * @return The bytes for source. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); source_ = b; return b; } else { @@ -1072,6 +1297,7 @@ public java.lang.String getSource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1084,7 +1310,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_); } @@ -1114,17 +1340,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference other = (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) obj; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference other = + (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) + obj; - if (!getUrl() - .equals(other.getUrl())) return false; - if (!getSource() - .equals(other.getSource())) return false; + if (!getUrl().equals(other.getUrl())) return false; + if (!getSource().equals(other.getSource())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1145,88 +1373,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .Reference + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .Reference + 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .Reference + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .Reference + 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .Reference + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .Reference + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .Reference + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .Reference + 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .Reference + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .Reference + 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .Reference + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .Reference + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1236,44 +1494,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * A reference for this vulnerability.
          * 
* - * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference} + * Protobuf type {@code + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .ReferenceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable + return com.google.cloud.osconfig.v1.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder.class); + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + .class, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1285,19 +1552,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.getDefaultInstance(); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference build() { - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference result = buildPartial(); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + build() { + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1305,8 +1576,12 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Re } @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference buildPartial() { - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference result = new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference(this); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + buildPartial() { + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + result = + new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .Reference(this); result.url_ = url_; result.source_ = source_; onBuilt(); @@ -1317,46 +1592,57 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) { - return mergeFrom((com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference)other); + if (other + instanceof + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) { + return mergeFrom( + (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference other) { - if (other == com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + other) { + if (other + == com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + .getDefaultInstance()) return this; if (!other.getUrl().isEmpty()) { url_ = other.url_; onChanged(); @@ -1380,11 +1666,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference parsedMessage = null; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1396,18 +1685,20 @@ public Builder mergeFrom( private java.lang.Object url_ = ""; /** + * + * *
            * The url of the reference.
            * 
* * string url = 1; + * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; @@ -1416,20 +1707,21 @@ public java.lang.String getUrl() { } } /** + * + * *
            * The url of the reference.
            * 
* * string url = 1; + * * @return The bytes for url. */ - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); url_ = b; return b; } else { @@ -1437,54 +1729,61 @@ public java.lang.String getUrl() { } } /** + * + * *
            * The url of the reference.
            * 
* * string url = 1; + * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl( - java.lang.String value) { + public Builder setUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** + * + * *
            * The url of the reference.
            * 
* * string url = 1; + * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** + * + * *
            * The url of the reference.
            * 
* * string url = 1; + * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1492,18 +1791,20 @@ public Builder setUrlBytes( private java.lang.Object source_ = ""; /** + * + * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; + * * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; @@ -1512,20 +1813,21 @@ public java.lang.String getSource() { } } /** + * + * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; + * * @return The bytes for source. */ - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); source_ = b; return b; } else { @@ -1533,58 +1835,66 @@ public java.lang.String getSource() { } } /** + * + * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; + * * @param value The source to set. * @return This builder for chaining. */ - public Builder setSource( - java.lang.String value) { + public Builder setSource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** + * + * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; + * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** + * + * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; + * * @param value The bytes for source to set. * @return This builder for chaining. */ - public Builder setSourceBytes( - com.google.protobuf.ByteString value) { + public Builder setSourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1597,30 +1907,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference) - private static final com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .Reference + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .Reference(); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference getDefaultInstance() { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .Reference + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Reference parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Reference(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Reference parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Reference(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1632,15 +1948,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int CVE_FIELD_NUMBER = 1; private volatile java.lang.Object cve_; /** + * + * *
        * The CVE of the vulnerability. CVE cannot be
        * empty and the combination of <cve, classification> should be unique
@@ -1648,6 +1966,7 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Re
        * 
* * string cve = 1; + * * @return The cve. */ @java.lang.Override @@ -1656,14 +1975,15 @@ public java.lang.String getCve() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cve_ = s; return s; } } /** + * + * *
        * The CVE of the vulnerability. CVE cannot be
        * empty and the combination of <cve, classification> should be unique
@@ -1671,16 +1991,15 @@ public java.lang.String getCve() {
        * 
* * string cve = 1; + * * @return The bytes for cve. */ @java.lang.Override - public com.google.protobuf.ByteString - getCveBytes() { + public com.google.protobuf.ByteString getCveBytes() { java.lang.Object ref = cve_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cve_ = b; return b; } else { @@ -1691,12 +2010,15 @@ public java.lang.String getCve() { public static final int CVSS_V2_SCORE_FIELD_NUMBER = 2; private float cvssV2Score_; /** + * + * *
        * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
        * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
        * 
* * float cvss_v2_score = 2; + * * @return The cvssV2Score. */ @java.lang.Override @@ -1707,11 +2029,14 @@ public float getCvssV2Score() { public static final int CVSS_V3_FIELD_NUMBER = 3; private com.google.cloud.osconfig.v1.CVSSv3 cvssV3_; /** + * + * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
* * .google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3; + * * @return Whether the cvssV3 field is set. */ @java.lang.Override @@ -1719,11 +2044,14 @@ public boolean hasCvssV3() { return cvssV3_ != null; } /** + * + * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
* * .google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3; + * * @return The cvssV3. */ @java.lang.Override @@ -1731,6 +2059,8 @@ public com.google.cloud.osconfig.v1.CVSSv3 getCvssV3() { return cvssV3_ == null ? com.google.cloud.osconfig.v1.CVSSv3.getDefaultInstance() : cvssV3_; } /** + * + * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
@@ -1745,11 +2075,14 @@ public com.google.cloud.osconfig.v1.CVSSv3OrBuilder getCvssV3OrBuilder() { public static final int SEVERITY_FIELD_NUMBER = 4; private volatile java.lang.Object severity_; /** + * + * *
        * Assigned severity/impact ranking from the distro.
        * 
* * string severity = 4; + * * @return The severity. */ @java.lang.Override @@ -1758,29 +2091,29 @@ public java.lang.String getSeverity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; } } /** + * + * *
        * Assigned severity/impact ranking from the distro.
        * 
* * string severity = 4; + * * @return The bytes for severity. */ @java.lang.Override - public com.google.protobuf.ByteString - getSeverityBytes() { + public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); severity_ = b; return b; } else { @@ -1791,11 +2124,14 @@ public java.lang.String getSeverity() { public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** + * + * *
        * The note or description describing the vulnerability from the distro.
        * 
* * string description = 5; + * * @return The description. */ @java.lang.Override @@ -1804,29 +2140,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
        * The note or description describing the vulnerability from the distro.
        * 
* * string description = 5; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1835,66 +2171,96 @@ public java.lang.String getDescription() { } public static final int REFERENCES_FIELD_NUMBER = 6; - private java.util.List references_; + private java.util.List< + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference> + references_; /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ @java.lang.Override - public java.util.List getReferencesList() { + public java.util.List< + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference> + getReferencesList() { return references_; } /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .ReferenceOrBuilder> getReferencesOrBuilderList() { return references_; } /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ @java.lang.Override public int getReferencesCount() { return references_.size(); } /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference getReferences(int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + getReferences(int index) { return references_.get(index); } /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder getReferencesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .ReferenceOrBuilder + getReferencesOrBuilder(int index) { return references_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1906,8 +2272,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cve_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cve_); } @@ -1939,12 +2304,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cve_); } if (java.lang.Float.floatToRawIntBits(cvssV2Score_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, cvssV2Score_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, cvssV2Score_); } if (cvssV3_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCvssV3()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCvssV3()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(severity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, severity_); @@ -1953,8 +2316,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); } for (int i = 0; i < references_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, references_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, references_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1964,29 +2326,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details other = (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details) obj; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details other = + (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details) obj; - if (!getCve() - .equals(other.getCve())) return false; + if (!getCve().equals(other.getCve())) return false; if (java.lang.Float.floatToIntBits(getCvssV2Score()) - != java.lang.Float.floatToIntBits( - other.getCvssV2Score())) return false; + != java.lang.Float.floatToIntBits(other.getCvssV2Score())) return false; if (hasCvssV3() != other.hasCvssV3()) return false; if (hasCvssV3()) { - if (!getCvssV3() - .equals(other.getCvssV3())) return false; - } - if (!getSeverity() - .equals(other.getSeverity())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getReferencesList() - .equals(other.getReferencesList())) return false; + if (!getCvssV3().equals(other.getCvssV3())) return false; + } + if (!getSeverity().equals(other.getSeverity())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getReferencesList().equals(other.getReferencesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2001,8 +2359,7 @@ public int hashCode() { hash = (37 * hash) + CVE_FIELD_NUMBER; hash = (53 * hash) + getCve().hashCode(); hash = (37 * hash) + CVSS_V2_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getCvssV2Score()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getCvssV2Score()); if (hasCvssV3()) { hash = (37 * hash) + CVSS_V3_FIELD_NUMBER; hash = (53 * hash) + getCvssV3().hashCode(); @@ -2020,88 +2377,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details + 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details + 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.osconfig.v1.VulnerabilityReport.Vulnerability.Details parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2111,6 +2483,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Contains metadata information for the vulnerability. This information is
        * collected from the upstream feed of the operating system.
@@ -2118,39 +2492,44 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details)
           com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1.VulnerabilityProto
+              .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable
+          return com.google.cloud.osconfig.v1.VulnerabilityProto
+              .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder.class);
+                  com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.class,
+                  com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder
+                      .class);
         }
 
-        // Construct using com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.newBuilder()
+        // Construct using
+        // com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
             getReferencesFieldBuilder();
           }
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -2178,19 +2557,22 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.cloud.osconfig.v1.VulnerabilityProto
+              .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Details_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details getDefaultInstanceForType() {
-          return com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.getDefaultInstance();
+        public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details
+            getDefaultInstanceForType() {
+          return com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details
+              .getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details build() {
-          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details result = buildPartial();
+          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details result =
+              buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -2198,8 +2580,10 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details bu
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details buildPartial() {
-          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details result = new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details(this);
+        public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details
+            buildPartial() {
+          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details result =
+              new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details(this);
           int from_bitField0_ = bitField0_;
           result.cve_ = cve_;
           result.cvssV2Score_ = cvssV2Score_;
@@ -2227,46 +2611,54 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details bu
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1.VulnerabilityReport.Vulnerability.Details) {
-            return mergeFrom((com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details)other);
+          if (other
+              instanceof com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details) {
+            return mergeFrom(
+                (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details other) {
-          if (other == com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.getDefaultInstance()) return this;
+        public Builder mergeFrom(
+            com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details other) {
+          if (other
+              == com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details
+                  .getDefaultInstance()) return this;
           if (!other.getCve().isEmpty()) {
             cve_ = other.cve_;
             onChanged();
@@ -2303,9 +2695,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulner
                 referencesBuilder_ = null;
                 references_ = other.references_;
                 bitField0_ = (bitField0_ & ~0x00000001);
-                referencesBuilder_ = 
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                     getReferencesFieldBuilder() : null;
+                referencesBuilder_ =
+                    com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                        ? getReferencesFieldBuilder()
+                        : null;
               } else {
                 referencesBuilder_.addAllMessages(other.references_);
               }
@@ -2326,11 +2719,14 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
-          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details parsedMessage = null;
+          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details parsedMessage =
+              null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details)
+                    e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -2339,10 +2735,13 @@ public Builder mergeFrom(
           }
           return this;
         }
+
         private int bitField0_;
 
         private java.lang.Object cve_ = "";
         /**
+         *
+         *
          * 
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2350,13 +2749,13 @@ public Builder mergeFrom(
          * 
* * string cve = 1; + * * @return The cve. */ public java.lang.String getCve() { java.lang.Object ref = cve_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cve_ = s; return s; @@ -2365,6 +2764,8 @@ public java.lang.String getCve() { } } /** + * + * *
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2372,15 +2773,14 @@ public java.lang.String getCve() {
          * 
* * string cve = 1; + * * @return The bytes for cve. */ - public com.google.protobuf.ByteString - getCveBytes() { + public com.google.protobuf.ByteString getCveBytes() { java.lang.Object ref = cve_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cve_ = b; return b; } else { @@ -2388,6 +2788,8 @@ public java.lang.String getCve() { } } /** + * + * *
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2395,20 +2797,22 @@ public java.lang.String getCve() {
          * 
* * string cve = 1; + * * @param value The cve to set. * @return This builder for chaining. */ - public Builder setCve( - java.lang.String value) { + public Builder setCve(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cve_ = value; onChanged(); return this; } /** + * + * *
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2416,15 +2820,18 @@ public Builder setCve(
          * 
* * string cve = 1; + * * @return This builder for chaining. */ public Builder clearCve() { - + cve_ = getDefaultInstance().getCve(); onChanged(); return this; } /** + * + * *
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2432,29 +2839,32 @@ public Builder clearCve() {
          * 
* * string cve = 1; + * * @param value The bytes for cve to set. * @return This builder for chaining. */ - public Builder setCveBytes( - com.google.protobuf.ByteString value) { + public Builder setCveBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cve_ = value; onChanged(); return this; } - private float cvssV2Score_ ; + private float cvssV2Score_; /** + * + * *
          * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
          * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
          * 
* * float cvss_v2_score = 2; + * * @return The cvssV2Score. */ @java.lang.Override @@ -2462,32 +2872,38 @@ public float getCvssV2Score() { return cvssV2Score_; } /** + * + * *
          * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
          * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
          * 
* * float cvss_v2_score = 2; + * * @param value The cvssV2Score to set. * @return This builder for chaining. */ public Builder setCvssV2Score(float value) { - + cvssV2Score_ = value; onChanged(); return this; } /** + * + * *
          * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
          * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
          * 
* * float cvss_v2_score = 2; + * * @return This builder for chaining. */ public Builder clearCvssV2Score() { - + cvssV2Score_ = 0F; onChanged(); return this; @@ -2495,34 +2911,47 @@ public Builder clearCvssV2Score() { private com.google.cloud.osconfig.v1.CVSSv3 cvssV3_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.CVSSv3, com.google.cloud.osconfig.v1.CVSSv3.Builder, com.google.cloud.osconfig.v1.CVSSv3OrBuilder> cvssV3Builder_; + com.google.cloud.osconfig.v1.CVSSv3, + com.google.cloud.osconfig.v1.CVSSv3.Builder, + com.google.cloud.osconfig.v1.CVSSv3OrBuilder> + cvssV3Builder_; /** + * + * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
* * .google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3; + * * @return Whether the cvssV3 field is set. */ public boolean hasCvssV3() { return cvssV3Builder_ != null || cvssV3_ != null; } /** + * + * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
* * .google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3; + * * @return The cvssV3. */ public com.google.cloud.osconfig.v1.CVSSv3 getCvssV3() { if (cvssV3Builder_ == null) { - return cvssV3_ == null ? com.google.cloud.osconfig.v1.CVSSv3.getDefaultInstance() : cvssV3_; + return cvssV3_ == null + ? com.google.cloud.osconfig.v1.CVSSv3.getDefaultInstance() + : cvssV3_; } else { return cvssV3Builder_.getMessage(); } } /** + * + * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -2543,14 +2972,15 @@ public Builder setCvssV3(com.google.cloud.osconfig.v1.CVSSv3 value) { return this; } /** + * + * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
* * .google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3; */ - public Builder setCvssV3( - com.google.cloud.osconfig.v1.CVSSv3.Builder builderForValue) { + public Builder setCvssV3(com.google.cloud.osconfig.v1.CVSSv3.Builder builderForValue) { if (cvssV3Builder_ == null) { cvssV3_ = builderForValue.build(); onChanged(); @@ -2561,6 +2991,8 @@ public Builder setCvssV3( return this; } /** + * + * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -2571,7 +3003,9 @@ public Builder mergeCvssV3(com.google.cloud.osconfig.v1.CVSSv3 value) { if (cvssV3Builder_ == null) { if (cvssV3_ != null) { cvssV3_ = - com.google.cloud.osconfig.v1.CVSSv3.newBuilder(cvssV3_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.CVSSv3.newBuilder(cvssV3_) + .mergeFrom(value) + .buildPartial(); } else { cvssV3_ = value; } @@ -2583,6 +3017,8 @@ public Builder mergeCvssV3(com.google.cloud.osconfig.v1.CVSSv3 value) { return this; } /** + * + * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -2601,6 +3037,8 @@ public Builder clearCvssV3() { return this; } /** + * + * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -2608,11 +3046,13 @@ public Builder clearCvssV3() { * .google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3; */ public com.google.cloud.osconfig.v1.CVSSv3.Builder getCvssV3Builder() { - + onChanged(); return getCvssV3FieldBuilder().getBuilder(); } /** + * + * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -2623,11 +3063,14 @@ public com.google.cloud.osconfig.v1.CVSSv3OrBuilder getCvssV3OrBuilder() { if (cvssV3Builder_ != null) { return cvssV3Builder_.getMessageOrBuilder(); } else { - return cvssV3_ == null ? - com.google.cloud.osconfig.v1.CVSSv3.getDefaultInstance() : cvssV3_; + return cvssV3_ == null + ? com.google.cloud.osconfig.v1.CVSSv3.getDefaultInstance() + : cvssV3_; } } /** + * + * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -2635,14 +3078,17 @@ public com.google.cloud.osconfig.v1.CVSSv3OrBuilder getCvssV3OrBuilder() { * .google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.CVSSv3, com.google.cloud.osconfig.v1.CVSSv3.Builder, com.google.cloud.osconfig.v1.CVSSv3OrBuilder> + com.google.cloud.osconfig.v1.CVSSv3, + com.google.cloud.osconfig.v1.CVSSv3.Builder, + com.google.cloud.osconfig.v1.CVSSv3OrBuilder> getCvssV3FieldBuilder() { if (cvssV3Builder_ == null) { - cvssV3Builder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.CVSSv3, com.google.cloud.osconfig.v1.CVSSv3.Builder, com.google.cloud.osconfig.v1.CVSSv3OrBuilder>( - getCvssV3(), - getParentForChildren(), - isClean()); + cvssV3Builder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.CVSSv3, + com.google.cloud.osconfig.v1.CVSSv3.Builder, + com.google.cloud.osconfig.v1.CVSSv3OrBuilder>( + getCvssV3(), getParentForChildren(), isClean()); cvssV3_ = null; } return cvssV3Builder_; @@ -2650,18 +3096,20 @@ public com.google.cloud.osconfig.v1.CVSSv3OrBuilder getCvssV3OrBuilder() { private java.lang.Object severity_ = ""; /** + * + * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; + * * @return The severity. */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; @@ -2670,20 +3118,21 @@ public java.lang.String getSeverity() { } } /** + * + * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; + * * @return The bytes for severity. */ - public com.google.protobuf.ByteString - getSeverityBytes() { + public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); severity_ = b; return b; } else { @@ -2691,54 +3140,61 @@ public java.lang.String getSeverity() { } } /** + * + * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; + * * @param value The severity to set. * @return This builder for chaining. */ - public Builder setSeverity( - java.lang.String value) { + public Builder setSeverity(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + severity_ = value; onChanged(); return this; } /** + * + * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; + * * @return This builder for chaining. */ public Builder clearSeverity() { - + severity_ = getDefaultInstance().getSeverity(); onChanged(); return this; } /** + * + * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; + * * @param value The bytes for severity to set. * @return This builder for chaining. */ - public Builder setSeverityBytes( - com.google.protobuf.ByteString value) { + public Builder setSeverityBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + severity_ = value; onChanged(); return this; @@ -2746,18 +3202,20 @@ public Builder setSeverityBytes( private java.lang.Object description_ = ""; /** + * + * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2766,20 +3224,21 @@ public java.lang.String getDescription() { } } /** + * + * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2787,79 +3246,102 @@ public java.lang.String getDescription() { } } /** + * + * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private java.util.List references_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference> + references_ = java.util.Collections.emptyList(); + private void ensureReferencesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - references_ = new java.util.ArrayList(references_); + references_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .Reference>(references_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder> referencesBuilder_; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + .Builder, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .ReferenceOrBuilder> + referencesBuilder_; /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - public java.util.List getReferencesList() { + public java.util.List< + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference> + getReferencesList() { if (referencesBuilder_ == null) { return java.util.Collections.unmodifiableList(references_); } else { @@ -2867,11 +3349,15 @@ public java.util.List * Corresponds to the references attached to the `VulnerabilityDetails`. *
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ public int getReferencesCount() { if (referencesBuilder_ == null) { @@ -2881,13 +3367,18 @@ public int getReferencesCount() { } } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference getReferences(int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + getReferences(int index) { if (referencesBuilder_ == null) { return references_.get(index); } else { @@ -2895,14 +3386,20 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Re } } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ public Builder setReferences( - int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference value) { + int index, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + value) { if (referencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2916,14 +3413,20 @@ public Builder setReferences( return this; } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ public Builder setReferences( - int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder + builderForValue) { if (referencesBuilder_ == null) { ensureReferencesIsMutable(); references_.set(index, builderForValue.build()); @@ -2934,13 +3437,19 @@ public Builder setReferences( return this; } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - public Builder addReferences(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference value) { + public Builder addReferences( + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + value) { if (referencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2954,14 +3463,20 @@ public Builder addReferences(com.google.cloud.osconfig.v1.VulnerabilityReport.Vu return this; } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ public Builder addReferences( - int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference value) { + int index, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + value) { if (referencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2975,14 +3490,19 @@ public Builder addReferences( return this; } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ public Builder addReferences( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder builderForValue) { + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder + builderForValue) { if (referencesBuilder_ == null) { ensureReferencesIsMutable(); references_.add(builderForValue.build()); @@ -2993,14 +3513,20 @@ public Builder addReferences( return this; } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ public Builder addReferences( - int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder + builderForValue) { if (referencesBuilder_ == null) { ensureReferencesIsMutable(); references_.add(index, builderForValue.build()); @@ -3011,18 +3537,25 @@ public Builder addReferences( return this; } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ public Builder addAllReferences( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .Reference> + values) { if (referencesBuilder_ == null) { ensureReferencesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, references_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, references_); onChanged(); } else { referencesBuilder_.addAllMessages(values); @@ -3030,11 +3563,15 @@ public Builder addAllReferences( return this; } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ public Builder clearReferences() { if (referencesBuilder_ == null) { @@ -3047,11 +3584,15 @@ public Builder clearReferences() { return this; } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ public Builder removeReferences(int index) { if (referencesBuilder_ == null) { @@ -3064,39 +3605,57 @@ public Builder removeReferences(int index) { return this; } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder getReferencesBuilder( - int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + .Builder + getReferencesBuilder(int index) { return getReferencesFieldBuilder().getBuilder(index); } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder getReferencesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .ReferenceOrBuilder + getReferencesOrBuilder(int index) { if (referencesBuilder_ == null) { - return references_.get(index); } else { + return references_.get(index); + } else { return referencesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - public java.util.List - getReferencesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .ReferenceOrBuilder> + getReferencesOrBuilderList() { if (referencesBuilder_ != null) { return referencesBuilder_.getMessageOrBuilderList(); } else { @@ -3104,45 +3663,78 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Re } } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder addReferencesBuilder() { - return getReferencesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.getDefaultInstance()); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + .Builder + addReferencesBuilder() { + return getReferencesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + .getDefaultInstance()); } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder addReferencesBuilder( - int index) { - return getReferencesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.getDefaultInstance()); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + .Builder + addReferencesBuilder(int index) { + return getReferencesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + .getDefaultInstance()); } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - public java.util.List - getReferencesBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + .Builder> + getReferencesBuilderList() { return getReferencesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder> + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + .Builder, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .ReferenceOrBuilder> getReferencesFieldBuilder() { if (referencesBuilder_ == null) { - referencesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder>( + referencesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .Reference, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference + .Builder, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .ReferenceOrBuilder>( references_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3151,6 +3743,7 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Re } return referencesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3163,30 +3756,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details) - private static final com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details(); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details getDefaultInstance() { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser
() { - @java.lang.Override - public Details parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Details(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser
PARSER = + new com.google.protobuf.AbstractParser
() { + @java.lang.Override + public Details parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Details(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser
parser() { return PARSER; @@ -3198,17 +3794,20 @@ public com.google.protobuf.Parser
getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ItemOrBuilder extends + public interface ItemOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -3218,10 +3817,13 @@ public interface ItemOrBuilder extends
        * 
* * string installed_inventory_item_id = 1; + * * @return The installedInventoryItemId. */ java.lang.String getInstalledInventoryItemId(); /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -3231,12 +3833,14 @@ public interface ItemOrBuilder extends
        * 
* * string installed_inventory_item_id = 1; + * * @return The bytes for installedInventoryItemId. */ - com.google.protobuf.ByteString - getInstalledInventoryItemIdBytes(); + com.google.protobuf.ByteString getInstalledInventoryItemIdBytes(); /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -3247,10 +3851,13 @@ public interface ItemOrBuilder extends
        * 
* * string available_inventory_item_id = 2; + * * @return The availableInventoryItemId. */ java.lang.String getAvailableInventoryItemId(); /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -3261,54 +3868,66 @@ public interface ItemOrBuilder extends
        * 
* * string available_inventory_item_id = 2; + * * @return The bytes for availableInventoryItemId. */ - com.google.protobuf.ByteString - getAvailableInventoryItemIdBytes(); + com.google.protobuf.ByteString getAvailableInventoryItemIdBytes(); /** + * + * *
        * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
        * that contains a fix for this vulnerability.
        * 
* * string fixed_cpe_uri = 3; + * * @return The fixedCpeUri. */ java.lang.String getFixedCpeUri(); /** + * + * *
        * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
        * that contains a fix for this vulnerability.
        * 
* * string fixed_cpe_uri = 3; + * * @return The bytes for fixedCpeUri. */ - com.google.protobuf.ByteString - getFixedCpeUriBytes(); + com.google.protobuf.ByteString getFixedCpeUriBytes(); /** + * + * *
        * The upstream OS patch, packages or KB that fixes the vulnerability.
        * 
* * string upstream_fix = 4; + * * @return The upstreamFix. */ java.lang.String getUpstreamFix(); /** + * + * *
        * The upstream OS patch, packages or KB that fixes the vulnerability.
        * 
* * string upstream_fix = 4; + * * @return The bytes for upstreamFix. */ - com.google.protobuf.ByteString - getUpstreamFixBytes(); + com.google.protobuf.ByteString getUpstreamFixBytes(); } /** + * + * *
      * OS inventory item that is affected by a vulnerability or fixed as a
      * result of a vulnerability.
@@ -3316,15 +3935,16 @@ public interface ItemOrBuilder extends
      *
      * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item}
      */
-    public static final class Item extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class Item extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item)
         ItemOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use Item.newBuilder() to construct.
       private Item(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
+
       private Item() {
         installedInventoryItemId_ = "";
         availableInventoryItemId_ = "";
@@ -3334,16 +3954,15 @@ private Item() {
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new Item();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private Item(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3362,37 +3981,41 @@ private Item(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                java.lang.String s = input.readStringRequireUtf8();
+              case 10:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                installedInventoryItemId_ = s;
-                break;
-              }
-              case 18: {
-                java.lang.String s = input.readStringRequireUtf8();
+                  installedInventoryItemId_ = s;
+                  break;
+                }
+              case 18:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                availableInventoryItemId_ = s;
-                break;
-              }
-              case 26: {
-                java.lang.String s = input.readStringRequireUtf8();
+                  availableInventoryItemId_ = s;
+                  break;
+                }
+              case 26:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                fixedCpeUri_ = s;
-                break;
-              }
-              case 34: {
-                java.lang.String s = input.readStringRequireUtf8();
+                  fixedCpeUri_ = s;
+                  break;
+                }
+              case 34:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                upstreamFix_ = s;
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+                  upstreamFix_ = s;
+                  break;
+                }
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3400,29 +4023,34 @@ private Item(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1.VulnerabilityProto
+            .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable
+        return com.google.cloud.osconfig.v1.VulnerabilityProto
+            .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder.class);
+                com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.class,
+                com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder.class);
       }
 
       public static final int INSTALLED_INVENTORY_ITEM_ID_FIELD_NUMBER = 1;
       private volatile java.lang.Object installedInventoryItemId_;
       /**
+       *
+       *
        * 
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -3432,6 +4060,7 @@ private Item(
        * 
* * string installed_inventory_item_id = 1; + * * @return The installedInventoryItemId. */ @java.lang.Override @@ -3440,14 +4069,15 @@ public java.lang.String getInstalledInventoryItemId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); installedInventoryItemId_ = s; return s; } } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -3457,16 +4087,15 @@ public java.lang.String getInstalledInventoryItemId() {
        * 
* * string installed_inventory_item_id = 1; + * * @return The bytes for installedInventoryItemId. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstalledInventoryItemIdBytes() { + public com.google.protobuf.ByteString getInstalledInventoryItemIdBytes() { java.lang.Object ref = installedInventoryItemId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); installedInventoryItemId_ = b; return b; } else { @@ -3477,6 +4106,8 @@ public java.lang.String getInstalledInventoryItemId() { public static final int AVAILABLE_INVENTORY_ITEM_ID_FIELD_NUMBER = 2; private volatile java.lang.Object availableInventoryItemId_; /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -3487,6 +4118,7 @@ public java.lang.String getInstalledInventoryItemId() {
        * 
* * string available_inventory_item_id = 2; + * * @return The availableInventoryItemId. */ @java.lang.Override @@ -3495,14 +4127,15 @@ public java.lang.String getAvailableInventoryItemId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availableInventoryItemId_ = s; return s; } } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -3513,16 +4146,15 @@ public java.lang.String getAvailableInventoryItemId() {
        * 
* * string available_inventory_item_id = 2; + * * @return The bytes for availableInventoryItemId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAvailableInventoryItemIdBytes() { + public com.google.protobuf.ByteString getAvailableInventoryItemIdBytes() { java.lang.Object ref = availableInventoryItemId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); availableInventoryItemId_ = b; return b; } else { @@ -3533,12 +4165,15 @@ public java.lang.String getAvailableInventoryItemId() { public static final int FIXED_CPE_URI_FIELD_NUMBER = 3; private volatile java.lang.Object fixedCpeUri_; /** + * + * *
        * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
        * that contains a fix for this vulnerability.
        * 
* * string fixed_cpe_uri = 3; + * * @return The fixedCpeUri. */ @java.lang.Override @@ -3547,30 +4182,30 @@ public java.lang.String getFixedCpeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fixedCpeUri_ = s; return s; } } /** + * + * *
        * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
        * that contains a fix for this vulnerability.
        * 
* * string fixed_cpe_uri = 3; + * * @return The bytes for fixedCpeUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getFixedCpeUriBytes() { + public com.google.protobuf.ByteString getFixedCpeUriBytes() { java.lang.Object ref = fixedCpeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fixedCpeUri_ = b; return b; } else { @@ -3581,11 +4216,14 @@ public java.lang.String getFixedCpeUri() { public static final int UPSTREAM_FIX_FIELD_NUMBER = 4; private volatile java.lang.Object upstreamFix_; /** + * + * *
        * The upstream OS patch, packages or KB that fixes the vulnerability.
        * 
* * string upstream_fix = 4; + * * @return The upstreamFix. */ @java.lang.Override @@ -3594,29 +4232,29 @@ public java.lang.String getUpstreamFix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); upstreamFix_ = s; return s; } } /** + * + * *
        * The upstream OS patch, packages or KB that fixes the vulnerability.
        * 
* * string upstream_fix = 4; + * * @return The bytes for upstreamFix. */ @java.lang.Override - public com.google.protobuf.ByteString - getUpstreamFixBytes() { + public com.google.protobuf.ByteString getUpstreamFixBytes() { java.lang.Object ref = upstreamFix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); upstreamFix_ = b; return b; } else { @@ -3625,6 +4263,7 @@ public java.lang.String getUpstreamFix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3636,8 +4275,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(installedInventoryItemId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, installedInventoryItemId_); } @@ -3660,10 +4298,14 @@ public int getSerializedSize() { size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(installedInventoryItemId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, installedInventoryItemId_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 1, installedInventoryItemId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(availableInventoryItemId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, availableInventoryItemId_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 2, availableInventoryItemId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fixedCpeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fixedCpeUri_); @@ -3679,21 +4321,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item other = (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item) obj; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item other = + (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item) obj; - if (!getInstalledInventoryItemId() - .equals(other.getInstalledInventoryItemId())) return false; - if (!getAvailableInventoryItemId() - .equals(other.getAvailableInventoryItemId())) return false; - if (!getFixedCpeUri() - .equals(other.getFixedCpeUri())) return false; - if (!getUpstreamFix() - .equals(other.getUpstreamFix())) return false; + if (!getInstalledInventoryItemId().equals(other.getInstalledInventoryItemId())) + return false; + if (!getAvailableInventoryItemId().equals(other.getAvailableInventoryItemId())) + return false; + if (!getFixedCpeUri().equals(other.getFixedCpeUri())) return false; + if (!getUpstreamFix().equals(other.getUpstreamFix())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3719,87 +4360,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item 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.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item 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.osconfig.v1.VulnerabilityReport.Vulnerability.Item + 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.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3809,6 +4459,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * OS inventory item that is affected by a vulnerability or fixed as a
        * result of a vulnerability.
@@ -3816,38 +4468,42 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item)
           com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1.VulnerabilityProto
+              .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable
+          return com.google.cloud.osconfig.v1.VulnerabilityProto
+              .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder.class);
+                  com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.class,
+                  com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder
+                      .class);
         }
 
-        // Construct using com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.newBuilder()
+        // Construct using
+        // com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
-          }
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -3863,19 +4519,22 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.cloud.osconfig.v1.VulnerabilityProto
+              .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_Item_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item getDefaultInstanceForType() {
-          return com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.getDefaultInstance();
+        public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item
+            getDefaultInstanceForType() {
+          return com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item
+              .getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item build() {
-          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item result = buildPartial();
+          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item result =
+              buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -3884,7 +4543,8 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item build
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item buildPartial() {
-          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item result = new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item(this);
+          com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item result =
+              new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item(this);
           result.installedInventoryItemId_ = installedInventoryItemId_;
           result.availableInventoryItemId_ = availableInventoryItemId_;
           result.fixedCpeUri_ = fixedCpeUri_;
@@ -3897,46 +4557,54 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item build
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1.VulnerabilityReport.Vulnerability.Item) {
-            return mergeFrom((com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item)other);
+          if (other
+              instanceof com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item) {
+            return mergeFrom(
+                (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item other) {
-          if (other == com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.getDefaultInstance()) return this;
+        public Builder mergeFrom(
+            com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item other) {
+          if (other
+              == com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item
+                  .getDefaultInstance()) return this;
           if (!other.getInstalledInventoryItemId().isEmpty()) {
             installedInventoryItemId_ = other.installedInventoryItemId_;
             onChanged();
@@ -3972,7 +4640,9 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item)
+                    e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -3984,6 +4654,8 @@ public Builder mergeFrom(
 
         private java.lang.Object installedInventoryItemId_ = "";
         /**
+         *
+         *
          * 
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -3993,13 +4665,13 @@ public Builder mergeFrom(
          * 
* * string installed_inventory_item_id = 1; + * * @return The installedInventoryItemId. */ public java.lang.String getInstalledInventoryItemId() { java.lang.Object ref = installedInventoryItemId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); installedInventoryItemId_ = s; return s; @@ -4008,6 +4680,8 @@ public java.lang.String getInstalledInventoryItemId() { } } /** + * + * *
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -4017,15 +4691,14 @@ public java.lang.String getInstalledInventoryItemId() {
          * 
* * string installed_inventory_item_id = 1; + * * @return The bytes for installedInventoryItemId. */ - public com.google.protobuf.ByteString - getInstalledInventoryItemIdBytes() { + public com.google.protobuf.ByteString getInstalledInventoryItemIdBytes() { java.lang.Object ref = installedInventoryItemId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); installedInventoryItemId_ = b; return b; } else { @@ -4033,6 +4706,8 @@ public java.lang.String getInstalledInventoryItemId() { } } /** + * + * *
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -4042,20 +4717,22 @@ public java.lang.String getInstalledInventoryItemId() {
          * 
* * string installed_inventory_item_id = 1; + * * @param value The installedInventoryItemId to set. * @return This builder for chaining. */ - public Builder setInstalledInventoryItemId( - java.lang.String value) { + public Builder setInstalledInventoryItemId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + installedInventoryItemId_ = value; onChanged(); return this; } /** + * + * *
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -4065,15 +4742,18 @@ public Builder setInstalledInventoryItemId(
          * 
* * string installed_inventory_item_id = 1; + * * @return This builder for chaining. */ public Builder clearInstalledInventoryItemId() { - + installedInventoryItemId_ = getDefaultInstance().getInstalledInventoryItemId(); onChanged(); return this; } /** + * + * *
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -4083,16 +4763,16 @@ public Builder clearInstalledInventoryItemId() {
          * 
* * string installed_inventory_item_id = 1; + * * @param value The bytes for installedInventoryItemId to set. * @return This builder for chaining. */ - public Builder setInstalledInventoryItemIdBytes( - com.google.protobuf.ByteString value) { + public Builder setInstalledInventoryItemIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + installedInventoryItemId_ = value; onChanged(); return this; @@ -4100,6 +4780,8 @@ public Builder setInstalledInventoryItemIdBytes( private java.lang.Object availableInventoryItemId_ = ""; /** + * + * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4110,13 +4792,13 @@ public Builder setInstalledInventoryItemIdBytes(
          * 
* * string available_inventory_item_id = 2; + * * @return The availableInventoryItemId. */ public java.lang.String getAvailableInventoryItemId() { java.lang.Object ref = availableInventoryItemId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availableInventoryItemId_ = s; return s; @@ -4125,6 +4807,8 @@ public java.lang.String getAvailableInventoryItemId() { } } /** + * + * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4135,15 +4819,14 @@ public java.lang.String getAvailableInventoryItemId() {
          * 
* * string available_inventory_item_id = 2; + * * @return The bytes for availableInventoryItemId. */ - public com.google.protobuf.ByteString - getAvailableInventoryItemIdBytes() { + public com.google.protobuf.ByteString getAvailableInventoryItemIdBytes() { java.lang.Object ref = availableInventoryItemId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); availableInventoryItemId_ = b; return b; } else { @@ -4151,6 +4834,8 @@ public java.lang.String getAvailableInventoryItemId() { } } /** + * + * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4161,20 +4846,22 @@ public java.lang.String getAvailableInventoryItemId() {
          * 
* * string available_inventory_item_id = 2; + * * @param value The availableInventoryItemId to set. * @return This builder for chaining. */ - public Builder setAvailableInventoryItemId( - java.lang.String value) { + public Builder setAvailableInventoryItemId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + availableInventoryItemId_ = value; onChanged(); return this; } /** + * + * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4185,15 +4872,18 @@ public Builder setAvailableInventoryItemId(
          * 
* * string available_inventory_item_id = 2; + * * @return This builder for chaining. */ public Builder clearAvailableInventoryItemId() { - + availableInventoryItemId_ = getDefaultInstance().getAvailableInventoryItemId(); onChanged(); return this; } /** + * + * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4204,16 +4894,16 @@ public Builder clearAvailableInventoryItemId() {
          * 
* * string available_inventory_item_id = 2; + * * @param value The bytes for availableInventoryItemId to set. * @return This builder for chaining. */ - public Builder setAvailableInventoryItemIdBytes( - com.google.protobuf.ByteString value) { + public Builder setAvailableInventoryItemIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + availableInventoryItemId_ = value; onChanged(); return this; @@ -4221,19 +4911,21 @@ public Builder setAvailableInventoryItemIdBytes( private java.lang.Object fixedCpeUri_ = ""; /** + * + * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; + * * @return The fixedCpeUri. */ public java.lang.String getFixedCpeUri() { java.lang.Object ref = fixedCpeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fixedCpeUri_ = s; return s; @@ -4242,21 +4934,22 @@ public java.lang.String getFixedCpeUri() { } } /** + * + * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; + * * @return The bytes for fixedCpeUri. */ - public com.google.protobuf.ByteString - getFixedCpeUriBytes() { + public com.google.protobuf.ByteString getFixedCpeUriBytes() { java.lang.Object ref = fixedCpeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fixedCpeUri_ = b; return b; } else { @@ -4264,57 +4957,64 @@ public java.lang.String getFixedCpeUri() { } } /** + * + * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; + * * @param value The fixedCpeUri to set. * @return This builder for chaining. */ - public Builder setFixedCpeUri( - java.lang.String value) { + public Builder setFixedCpeUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fixedCpeUri_ = value; onChanged(); return this; } /** + * + * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; + * * @return This builder for chaining. */ public Builder clearFixedCpeUri() { - + fixedCpeUri_ = getDefaultInstance().getFixedCpeUri(); onChanged(); return this; } /** + * + * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; + * * @param value The bytes for fixedCpeUri to set. * @return This builder for chaining. */ - public Builder setFixedCpeUriBytes( - com.google.protobuf.ByteString value) { + public Builder setFixedCpeUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fixedCpeUri_ = value; onChanged(); return this; @@ -4322,18 +5022,20 @@ public Builder setFixedCpeUriBytes( private java.lang.Object upstreamFix_ = ""; /** + * + * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; + * * @return The upstreamFix. */ public java.lang.String getUpstreamFix() { java.lang.Object ref = upstreamFix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); upstreamFix_ = s; return s; @@ -4342,20 +5044,21 @@ public java.lang.String getUpstreamFix() { } } /** + * + * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; + * * @return The bytes for upstreamFix. */ - public com.google.protobuf.ByteString - getUpstreamFixBytes() { + public com.google.protobuf.ByteString getUpstreamFixBytes() { java.lang.Object ref = upstreamFix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); upstreamFix_ = b; return b; } else { @@ -4363,58 +5066,66 @@ public java.lang.String getUpstreamFix() { } } /** + * + * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; + * * @param value The upstreamFix to set. * @return This builder for chaining. */ - public Builder setUpstreamFix( - java.lang.String value) { + public Builder setUpstreamFix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + upstreamFix_ = value; onChanged(); return this; } /** + * + * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; + * * @return This builder for chaining. */ public Builder clearUpstreamFix() { - + upstreamFix_ = getDefaultInstance().getUpstreamFix(); onChanged(); return this; } /** + * + * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; + * * @param value The bytes for upstreamFix to set. * @return This builder for chaining. */ - public Builder setUpstreamFixBytes( - com.google.protobuf.ByteString value) { + public Builder setUpstreamFixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + upstreamFix_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4427,30 +5138,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item) - private static final com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item(); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item getDefaultInstance() { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Item parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Item(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Item parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Item(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4462,21 +5176,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int DETAILS_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details_; /** + * + * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * * @return Whether the details field is set. */ @java.lang.Override @@ -4484,19 +5201,27 @@ public boolean hasDetails() { return details_ != null; } /** + * + * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * * @return The details. */ @java.lang.Override public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details getDetails() { - return details_ == null ? com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.getDefaultInstance() : details_; + return details_ == null + ? com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .getDefaultInstance() + : details_; } /** + * + * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
@@ -4505,13 +5230,16 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details ge
      * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder getDetailsOrBuilder() {
+    public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder
+        getDetailsOrBuilder() {
       return getDetails();
     }
 
     public static final int INSTALLED_INVENTORY_ITEM_IDS_FIELD_NUMBER = 2;
     private com.google.protobuf.LazyStringList installedInventoryItemIds_;
     /**
+     *
+     *
      * 
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -4521,15 +5249,19 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrB
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @return A list containing the installedInventoryItemIds. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getInstalledInventoryItemIdsList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getInstalledInventoryItemIdsList() { return installedInventoryItemIds_; } /** + * + * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -4539,14 +5271,19 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrB
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @return The count of installedInventoryItemIds. */ - @java.lang.Deprecated public int getInstalledInventoryItemIdsCount() { + @java.lang.Deprecated + public int getInstalledInventoryItemIdsCount() { return installedInventoryItemIds_.size(); } /** + * + * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -4556,15 +5293,20 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrB
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param index The index of the element to return. * @return The installedInventoryItemIds at the given index. */ - @java.lang.Deprecated public java.lang.String getInstalledInventoryItemIds(int index) { + @java.lang.Deprecated + public java.lang.String getInstalledInventoryItemIds(int index) { return installedInventoryItemIds_.get(index); } /** + * + * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -4574,19 +5316,23 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrB
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param index The index of the value to return. * @return The bytes of the installedInventoryItemIds at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getInstalledInventoryItemIdsBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getInstalledInventoryItemIdsBytes(int index) { return installedInventoryItemIds_.getByteString(index); } public static final int AVAILABLE_INVENTORY_ITEM_IDS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList availableInventoryItemIds_; /** + * + * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -4597,15 +5343,19 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrB
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @return A list containing the availableInventoryItemIds. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getAvailableInventoryItemIdsList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getAvailableInventoryItemIdsList() { return availableInventoryItemIds_; } /** + * + * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -4616,14 +5366,19 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrB
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @return The count of availableInventoryItemIds. */ - @java.lang.Deprecated public int getAvailableInventoryItemIdsCount() { + @java.lang.Deprecated + public int getAvailableInventoryItemIdsCount() { return availableInventoryItemIds_.size(); } /** + * + * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -4634,15 +5389,20 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrB
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param index The index of the element to return. * @return The availableInventoryItemIds at the given index. */ - @java.lang.Deprecated public java.lang.String getAvailableInventoryItemIds(int index) { + @java.lang.Deprecated + public java.lang.String getAvailableInventoryItemIds(int index) { return availableInventoryItemIds_.get(index); } /** + * + * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -4653,24 +5413,29 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrB
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param index The index of the value to return. * @return The bytes of the availableInventoryItemIds at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getAvailableInventoryItemIdsBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getAvailableInventoryItemIdsBytes(int index) { return availableInventoryItemIds_.getByteString(index); } public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
      * The timestamp for when the vulnerability was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -4678,11 +5443,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
      * The timestamp for when the vulnerability was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return The createTime. */ @java.lang.Override @@ -4690,6 +5458,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
      * The timestamp for when the vulnerability was first detected.
      * 
@@ -4704,11 +5474,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
      * The timestamp for when the vulnerability was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -4716,11 +5489,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
      * The timestamp for when the vulnerability was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return The updateTime. */ @java.lang.Override @@ -4728,6 +5504,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
      * The timestamp for when the vulnerability was last modified.
      * 
@@ -4740,66 +5518,85 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ITEMS_FIELD_NUMBER = 6; - private java.util.List items_; + private java.util.List + items_; /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ @java.lang.Override - public java.util.List getItemsList() { + public java.util.List + getItemsList() { return items_; } /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder> getItemsOrBuilderList() { return items_; } /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ @java.lang.Override public int getItemsCount() { return items_.size(); } /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ @java.lang.Override public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item getItems(int index) { return items_.get(index); } /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder getItemsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder + getItemsOrBuilder(int index) { return items_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4811,16 +5608,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (details_ != null) { output.writeMessage(1, getDetails()); } for (int i = 0; i < installedInventoryItemIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, installedInventoryItemIds_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 2, installedInventoryItemIds_.getRaw(i)); } for (int i = 0; i < availableInventoryItemIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, availableInventoryItemIds_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, availableInventoryItemIds_.getRaw(i)); } if (createTime_ != null) { output.writeMessage(4, getCreateTime()); @@ -4841,8 +5639,7 @@ public int getSerializedSize() { size = 0; if (details_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDetails()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDetails()); } { int dataSize = 0; @@ -4861,16 +5658,13 @@ public int getSerializedSize() { size += 1 * getAvailableInventoryItemIdsList().size(); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } for (int i = 0; i < items_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, items_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, items_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4880,34 +5674,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability other = (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability) obj; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability other = + (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability) obj; if (hasDetails() != other.hasDetails()) return false; if (hasDetails()) { - if (!getDetails() - .equals(other.getDetails())) return false; + if (!getDetails().equals(other.getDetails())) return false; } - if (!getInstalledInventoryItemIdsList() - .equals(other.getInstalledInventoryItemIdsList())) return false; - if (!getAvailableInventoryItemIdsList() - .equals(other.getAvailableInventoryItemIdsList())) return false; + if (!getInstalledInventoryItemIdsList().equals(other.getInstalledInventoryItemIdsList())) + return false; + if (!getAvailableInventoryItemIdsList().equals(other.getAvailableInventoryItemIdsList())) + return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!getItemsList() - .equals(other.getItemsList())) return false; + if (!getItemsList().equals(other.getItemsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4949,87 +5740,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability 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.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5039,27 +5837,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A vulnerability affecting the VM instance.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability) com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_fieldAccessorTable + return com.google.cloud.osconfig.v1.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder.class); + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.class, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder.class); } // Construct using com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.newBuilder() @@ -5067,17 +5870,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getItemsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -5113,13 +5916,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_Vulnerability_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.getDefaultInstance(); } @@ -5134,7 +5938,8 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability build() { @java.lang.Override public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability buildPartial() { - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability result = new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability(this); + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability result = + new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability(this); int from_bitField0_ = bitField0_; if (detailsBuilder_ == null) { result.details_ = details_; @@ -5178,46 +5983,52 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1.VulnerabilityReport.Vulnerability) { - return mergeFrom((com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability)other); + return mergeFrom((com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability other) { - if (other == com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability other) { + if (other + == com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.getDefaultInstance()) + return this; if (other.hasDetails()) { mergeDetails(other.getDetails()); } @@ -5265,9 +6076,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulner itemsBuilder_ = null; items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000004); - itemsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getItemsFieldBuilder() : null; + itemsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getItemsFieldBuilder() + : null; } else { itemsBuilder_.addAllMessages(other.items_); } @@ -5292,7 +6104,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5301,48 +6115,67 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder> detailsBuilder_; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder> + detailsBuilder_; /** + * + * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * + * * @return Whether the details field is set. */ public boolean hasDetails() { return detailsBuilder_ != null || details_ != null; } /** + * + * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * + * * @return The details. */ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details getDetails() { if (detailsBuilder_ == null) { - return details_ == null ? com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.getDefaultInstance() : details_; + return details_ == null + ? com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .getDefaultInstance() + : details_; } else { return detailsBuilder_.getMessage(); } } /** + * + * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * */ - public Builder setDetails(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details value) { + public Builder setDetails( + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details value) { if (detailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5356,15 +6189,19 @@ public Builder setDetails(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulne return this; } /** + * + * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * */ public Builder setDetails( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder builderForValue) { + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder + builderForValue) { if (detailsBuilder_ == null) { details_ = builderForValue.build(); onChanged(); @@ -5375,18 +6212,25 @@ public Builder setDetails( return this; } /** + * + * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * */ - public Builder mergeDetails(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details value) { + public Builder mergeDetails( + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details value) { if (detailsBuilder_ == null) { if (details_ != null) { details_ = - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.newBuilder(details_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.newBuilder( + details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -5398,12 +6242,15 @@ public Builder mergeDetails(com.google.cloud.osconfig.v1.VulnerabilityReport.Vul return this; } /** + * + * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * */ public Builder clearDetails() { if (detailsBuilder_ == null) { @@ -5417,64 +6264,85 @@ public Builder clearDetails() { return this; } /** + * + * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder getDetailsBuilder() { - + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder + getDetailsBuilder() { + onChanged(); return getDetailsFieldBuilder().getBuilder(); } /** + * + * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder getDetailsOrBuilder() { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder + getDetailsOrBuilder() { if (detailsBuilder_ != null) { return detailsBuilder_.getMessageOrBuilder(); } else { - return details_ == null ? - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.getDefaultInstance() : details_; + return details_ == null + ? com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details + .getDefaultInstance() + : details_; } } /** + * + * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder> + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder> getDetailsFieldBuilder() { if (detailsBuilder_ == null) { - detailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder>( - getDetails(), - getParentForChildren(), - isClean()); + detailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Builder, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.DetailsOrBuilder>( + getDetails(), getParentForChildren(), isClean()); details_ = null; } return detailsBuilder_; } - private com.google.protobuf.LazyStringList installedInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList installedInventoryItemIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureInstalledInventoryItemIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - installedInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(installedInventoryItemIds_); + installedInventoryItemIds_ = + new com.google.protobuf.LazyStringArrayList(installedInventoryItemIds_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -5484,15 +6352,19 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @return A list containing the installedInventoryItemIds. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getInstalledInventoryItemIdsList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getInstalledInventoryItemIdsList() { return installedInventoryItemIds_.getUnmodifiableView(); } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -5502,14 +6374,19 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @return The count of installedInventoryItemIds. */ - @java.lang.Deprecated public int getInstalledInventoryItemIdsCount() { + @java.lang.Deprecated + public int getInstalledInventoryItemIdsCount() { return installedInventoryItemIds_.size(); } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -5519,15 +6396,20 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param index The index of the element to return. * @return The installedInventoryItemIds at the given index. */ - @java.lang.Deprecated public java.lang.String getInstalledInventoryItemIds(int index) { + @java.lang.Deprecated + public java.lang.String getInstalledInventoryItemIds(int index) { return installedInventoryItemIds_.get(index); } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -5537,16 +6419,20 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param index The index of the value to return. * @return The bytes of the installedInventoryItemIds at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getInstalledInventoryItemIdsBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getInstalledInventoryItemIdsBytes(int index) { return installedInventoryItemIds_.getByteString(index); } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -5556,23 +6442,27 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param index The index to set the value at. * @param value The installedInventoryItemIds to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setInstalledInventoryItemIds( - int index, java.lang.String value) { + @java.lang.Deprecated + public Builder setInstalledInventoryItemIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstalledInventoryItemIdsIsMutable(); + throw new NullPointerException(); + } + ensureInstalledInventoryItemIdsIsMutable(); installedInventoryItemIds_.set(index, value); onChanged(); return this; } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -5582,22 +6472,26 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param value The installedInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addInstalledInventoryItemIds( - java.lang.String value) { + @java.lang.Deprecated + public Builder addInstalledInventoryItemIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstalledInventoryItemIdsIsMutable(); + throw new NullPointerException(); + } + ensureInstalledInventoryItemIdsIsMutable(); installedInventoryItemIds_.add(value); onChanged(); return this; } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -5607,20 +6501,23 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param values The installedInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAllInstalledInventoryItemIds( - java.lang.Iterable values) { + @java.lang.Deprecated + public Builder addAllInstalledInventoryItemIds(java.lang.Iterable values) { ensureInstalledInventoryItemIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, installedInventoryItemIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, installedInventoryItemIds_); onChanged(); return this; } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -5630,17 +6527,22 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearInstalledInventoryItemIds() { + @java.lang.Deprecated + public Builder clearInstalledInventoryItemIds() { installedInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -5650,31 +6552,38 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=112 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112 * @param value The bytes of the installedInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addInstalledInventoryItemIdsBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder addInstalledInventoryItemIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstalledInventoryItemIdsIsMutable(); installedInventoryItemIds_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList availableInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList availableInventoryItemIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAvailableInventoryItemIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - availableInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(availableInventoryItemIds_); + availableInventoryItemIds_ = + new com.google.protobuf.LazyStringArrayList(availableInventoryItemIds_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -5685,15 +6594,19 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @return A list containing the availableInventoryItemIds. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getAvailableInventoryItemIdsList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getAvailableInventoryItemIdsList() { return availableInventoryItemIds_.getUnmodifiableView(); } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -5704,14 +6617,19 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @return The count of availableInventoryItemIds. */ - @java.lang.Deprecated public int getAvailableInventoryItemIdsCount() { + @java.lang.Deprecated + public int getAvailableInventoryItemIdsCount() { return availableInventoryItemIds_.size(); } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -5722,15 +6640,20 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param index The index of the element to return. * @return The availableInventoryItemIds at the given index. */ - @java.lang.Deprecated public java.lang.String getAvailableInventoryItemIds(int index) { + @java.lang.Deprecated + public java.lang.String getAvailableInventoryItemIds(int index) { return availableInventoryItemIds_.get(index); } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -5741,16 +6664,20 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param index The index of the value to return. * @return The bytes of the availableInventoryItemIds at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getAvailableInventoryItemIdsBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getAvailableInventoryItemIdsBytes(int index) { return availableInventoryItemIds_.getByteString(index); } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -5761,23 +6688,27 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param index The index to set the value at. * @param value The availableInventoryItemIds to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setAvailableInventoryItemIds( - int index, java.lang.String value) { + @java.lang.Deprecated + public Builder setAvailableInventoryItemIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAvailableInventoryItemIdsIsMutable(); + throw new NullPointerException(); + } + ensureAvailableInventoryItemIdsIsMutable(); availableInventoryItemIds_.set(index, value); onChanged(); return this; } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -5788,22 +6719,26 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param value The availableInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAvailableInventoryItemIds( - java.lang.String value) { + @java.lang.Deprecated + public Builder addAvailableInventoryItemIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAvailableInventoryItemIdsIsMutable(); + throw new NullPointerException(); + } + ensureAvailableInventoryItemIdsIsMutable(); availableInventoryItemIds_.add(value); onChanged(); return this; } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -5814,20 +6749,23 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param values The availableInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAllAvailableInventoryItemIds( - java.lang.Iterable values) { + @java.lang.Deprecated + public Builder addAllAvailableInventoryItemIds(java.lang.Iterable values) { ensureAvailableInventoryItemIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, availableInventoryItemIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, availableInventoryItemIds_); onChanged(); return this; } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -5838,17 +6776,22 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearAvailableInventoryItemIds() { + @java.lang.Deprecated + public Builder clearAvailableInventoryItemIds() { availableInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -5859,17 +6802,19 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1/vulnerability.proto;l=120 + * + * @deprecated + * google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120 * @param value The bytes of the availableInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAvailableInventoryItemIdsBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder addAvailableInventoryItemIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAvailableInventoryItemIdsIsMutable(); availableInventoryItemIds_.add(value); onChanged(); @@ -5878,34 +6823,47 @@ private void ensureAvailableInventoryItemIdsIsMutable() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
        * The timestamp for when the vulnerability was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
        * The timestamp for when the vulnerability was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -5926,14 +6884,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The timestamp for when the vulnerability was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 4; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -5944,6 +6903,8 @@ public Builder setCreateTime( return this; } /** + * + * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -5954,7 +6915,9 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_) + .mergeFrom(value) + .buildPartial(); } else { createTime_ = value; } @@ -5966,6 +6929,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -5984,6 +6949,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -5991,11 +6958,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 4; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -6006,11 +6975,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -6018,14 +6990,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -6033,34 +7008,47 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
        * The timestamp for when the vulnerability was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
        * The timestamp for when the vulnerability was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -6081,14 +7069,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The timestamp for when the vulnerability was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 5; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -6099,6 +7088,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -6109,7 +7100,9 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_) + .mergeFrom(value) + .buildPartial(); } else { updateTime_ = value; } @@ -6121,6 +7114,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -6139,6 +7134,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -6146,11 +7143,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 5; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -6161,11 +7160,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -6173,39 +7175,52 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } - private java.util.List items_ = - java.util.Collections.emptyList(); + private java.util.List + items_ = java.util.Collections.emptyList(); + private void ensureItemsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - items_ = new java.util.ArrayList(items_); + items_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item>(items_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder> itemsBuilder_; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder> + itemsBuilder_; /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - public java.util.List getItemsList() { + public java.util.List + getItemsList() { if (itemsBuilder_ == null) { return java.util.Collections.unmodifiableList(items_); } else { @@ -6213,11 +7228,14 @@ public java.util.List * List of items affected by the vulnerability. *
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ public int getItemsCount() { if (itemsBuilder_ == null) { @@ -6227,13 +7245,17 @@ public int getItemsCount() { } } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item getItems(int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item getItems( + int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { @@ -6241,11 +7263,14 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item getIt } } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ public Builder setItems( int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item value) { @@ -6262,14 +7287,19 @@ public Builder setItems( return this; } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ public Builder setItems( - int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder + builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.set(index, builderForValue.build()); @@ -6280,13 +7310,17 @@ public Builder setItems( return this; } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - public Builder addItems(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item value) { + public Builder addItems( + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6300,11 +7334,14 @@ public Builder addItems(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnera return this; } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ public Builder addItems( int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item value) { @@ -6321,14 +7358,18 @@ public Builder addItems( return this; } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ public Builder addItems( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder builderForValue) { + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder + builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(builderForValue.build()); @@ -6339,14 +7380,19 @@ public Builder addItems( return this; } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ public Builder addItems( - int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder + builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(index, builderForValue.build()); @@ -6357,18 +7403,22 @@ public Builder addItems( return this; } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ public Builder addAllItems( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item> + values) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, items_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, items_); onChanged(); } else { itemsBuilder_.addAllMessages(values); @@ -6376,11 +7426,14 @@ public Builder addAllItems( return this; } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ public Builder clearItems() { if (itemsBuilder_ == null) { @@ -6393,11 +7446,14 @@ public Builder clearItems() { return this; } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ public Builder removeItems(int index) { if (itemsBuilder_ == null) { @@ -6410,39 +7466,51 @@ public Builder removeItems(int index) { return this; } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder getItemsBuilder( - int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder + getItemsBuilder(int index) { return getItemsFieldBuilder().getBuilder(index); } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder getItemsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder + getItemsOrBuilder(int index) { if (itemsBuilder_ == null) { - return items_.get(index); } else { + return items_.get(index); + } else { return itemsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - public java.util.List - getItemsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder> + getItemsOrBuilderList() { if (itemsBuilder_ != null) { return itemsBuilder_.getMessageOrBuilderList(); } else { @@ -6450,53 +7518,73 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuil } } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder addItemsBuilder() { - return getItemsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.getDefaultInstance()); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder + addItemsBuilder() { + return getItemsFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item + .getDefaultInstance()); } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder addItemsBuilder( - int index) { - return getItemsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.getDefaultInstance()); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder + addItemsBuilder(int index) { + return getItemsFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item + .getDefaultInstance()); } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - public java.util.List - getItemsBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder> + getItemsBuilderList() { return getItemsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder> + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder> getItemsFieldBuilder() { if (itemsBuilder_ == null) { - itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder>( - items_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + itemsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder>( + items_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); items_ = null; } return itemsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6509,30 +7597,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability) - private static final com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability(); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getDefaultInstance() { + public static com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Vulnerability parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Vulnerability(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Vulnerability parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Vulnerability(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6544,15 +7634,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The `vulnerabilityReport` API resource name.
    * Format:
@@ -6560,6 +7652,7 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getDefault
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -6568,14 +7661,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The `vulnerabilityReport` API resource name.
    * Format:
@@ -6583,16 +7677,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6601,74 +7694,102 @@ public java.lang.String getName() { } public static final int VULNERABILITIES_FIELD_NUMBER = 2; - private java.util.List vulnerabilities_; + private java.util.List + vulnerabilities_; /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getVulnerabilitiesList() { + public java.util.List + getVulnerabilitiesList() { return vulnerabilities_; } /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder> getVulnerabilitiesOrBuilderList() { return vulnerabilities_; } /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getVulnerabilitiesCount() { return vulnerabilities_.size(); } /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getVulnerabilities(int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getVulnerabilities( + int index) { return vulnerabilities_.get(index); } /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder getVulnerabilitiesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder + getVulnerabilitiesOrBuilder(int index) { return vulnerabilities_.get(index); } public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -6676,12 +7797,16 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -6689,12 +7814,15 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -6702,6 +7830,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6713,8 +7842,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -6737,12 +7865,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < vulnerabilities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, vulnerabilities_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, vulnerabilities_.get(i)); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6752,21 +7878,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1.VulnerabilityReport)) { return super.equals(obj); } - com.google.cloud.osconfig.v1.VulnerabilityReport other = (com.google.cloud.osconfig.v1.VulnerabilityReport) obj; + com.google.cloud.osconfig.v1.VulnerabilityReport other = + (com.google.cloud.osconfig.v1.VulnerabilityReport) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getVulnerabilitiesList() - .equals(other.getVulnerabilitiesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getVulnerabilitiesList().equals(other.getVulnerabilitiesList())) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -6794,97 +7918,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport 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.osconfig.v1.VulnerabilityReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1.VulnerabilityReport parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1.VulnerabilityReport parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1.VulnerabilityReport parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1.VulnerabilityReport prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * This API resource represents the vulnerability report for a specified
    * Compute Engine virtual machine (VM) instance at a given point in time.
@@ -6894,21 +8025,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1.VulnerabilityReport}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1.VulnerabilityReport)
       com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_fieldAccessorTable
+      return com.google.cloud.osconfig.v1.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1.VulnerabilityReport.class, com.google.cloud.osconfig.v1.VulnerabilityReport.Builder.class);
+              com.google.cloud.osconfig.v1.VulnerabilityReport.class,
+              com.google.cloud.osconfig.v1.VulnerabilityReport.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1.VulnerabilityReport.newBuilder()
@@ -6916,17 +8049,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getVulnerabilitiesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6948,9 +8081,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1.VulnerabilityProto.internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1_VulnerabilityReport_descriptor;
     }
 
     @java.lang.Override
@@ -6969,7 +8102,8 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1.VulnerabilityReport buildPartial() {
-      com.google.cloud.osconfig.v1.VulnerabilityReport result = new com.google.cloud.osconfig.v1.VulnerabilityReport(this);
+      com.google.cloud.osconfig.v1.VulnerabilityReport result =
+          new com.google.cloud.osconfig.v1.VulnerabilityReport(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (vulnerabilitiesBuilder_ == null) {
@@ -6994,38 +8128,39 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1.VulnerabilityReport) {
-        return mergeFrom((com.google.cloud.osconfig.v1.VulnerabilityReport)other);
+        return mergeFrom((com.google.cloud.osconfig.v1.VulnerabilityReport) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -7033,7 +8168,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1.VulnerabilityReport other) {
-      if (other == com.google.cloud.osconfig.v1.VulnerabilityReport.getDefaultInstance()) return this;
+      if (other == com.google.cloud.osconfig.v1.VulnerabilityReport.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -7056,9 +8192,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1.VulnerabilityReport other)
             vulnerabilitiesBuilder_ = null;
             vulnerabilities_ = other.vulnerabilities_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            vulnerabilitiesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getVulnerabilitiesFieldBuilder() : null;
+            vulnerabilitiesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getVulnerabilitiesFieldBuilder()
+                    : null;
           } else {
             vulnerabilitiesBuilder_.addAllMessages(other.vulnerabilities_);
           }
@@ -7095,10 +8232,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -7106,13 +8246,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -7121,6 +8261,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -7128,15 +8270,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -7144,6 +8285,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -7151,20 +8294,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -7172,15 +8317,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -7188,41 +8336,52 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private java.util.List vulnerabilities_ = - java.util.Collections.emptyList(); + private java.util.List + vulnerabilities_ = java.util.Collections.emptyList(); + private void ensureVulnerabilitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - vulnerabilities_ = new java.util.ArrayList(vulnerabilities_); + vulnerabilities_ = + new java.util.ArrayList( + vulnerabilities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder> vulnerabilitiesBuilder_; + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder, + com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder> + vulnerabilitiesBuilder_; /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getVulnerabilitiesList() { + public java.util.List + getVulnerabilitiesList() { if (vulnerabilitiesBuilder_ == null) { return java.util.Collections.unmodifiableList(vulnerabilities_); } else { @@ -7230,11 +8389,15 @@ public java.util.List * Output only. List of vulnerabilities affecting the VM. *
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getVulnerabilitiesCount() { if (vulnerabilitiesBuilder_ == null) { @@ -7244,13 +8407,18 @@ public int getVulnerabilitiesCount() { } } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getVulnerabilities(int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getVulnerabilities( + int index) { if (vulnerabilitiesBuilder_ == null) { return vulnerabilities_.get(index); } else { @@ -7258,11 +8426,15 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getVulnera } } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setVulnerabilities( int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability value) { @@ -7279,14 +8451,19 @@ public Builder setVulnerabilities( return this; } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setVulnerabilities( - int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder builderForValue) { if (vulnerabilitiesBuilder_ == null) { ensureVulnerabilitiesIsMutable(); vulnerabilities_.set(index, builderForValue.build()); @@ -7297,13 +8474,18 @@ public Builder setVulnerabilities( return this; } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addVulnerabilities(com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability value) { + public Builder addVulnerabilities( + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability value) { if (vulnerabilitiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7317,11 +8499,15 @@ public Builder addVulnerabilities(com.google.cloud.osconfig.v1.VulnerabilityRepo return this; } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addVulnerabilities( int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability value) { @@ -7338,11 +8524,15 @@ public Builder addVulnerabilities( return this; } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addVulnerabilities( com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder builderForValue) { @@ -7356,14 +8546,19 @@ public Builder addVulnerabilities( return this; } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addVulnerabilities( - int index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder builderForValue) { if (vulnerabilitiesBuilder_ == null) { ensureVulnerabilitiesIsMutable(); vulnerabilities_.add(index, builderForValue.build()); @@ -7374,18 +8569,22 @@ public Builder addVulnerabilities( return this; } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllVulnerabilities( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (vulnerabilitiesBuilder_ == null) { ensureVulnerabilitiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, vulnerabilities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vulnerabilities_); onChanged(); } else { vulnerabilitiesBuilder_.addAllMessages(values); @@ -7393,11 +8592,15 @@ public Builder addAllVulnerabilities( return this; } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearVulnerabilities() { if (vulnerabilitiesBuilder_ == null) { @@ -7410,11 +8613,15 @@ public Builder clearVulnerabilities() { return this; } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeVulnerabilities(int index) { if (vulnerabilitiesBuilder_ == null) { @@ -7427,39 +8634,53 @@ public Builder removeVulnerabilities(int index) { return this; } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder getVulnerabilitiesBuilder( - int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder + getVulnerabilitiesBuilder(int index) { return getVulnerabilitiesFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder getVulnerabilitiesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder + getVulnerabilitiesOrBuilder(int index) { if (vulnerabilitiesBuilder_ == null) { - return vulnerabilities_.get(index); } else { + return vulnerabilities_.get(index); + } else { return vulnerabilitiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getVulnerabilitiesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder> + getVulnerabilitiesOrBuilderList() { if (vulnerabilitiesBuilder_ != null) { return vulnerabilitiesBuilder_.getMessageOrBuilderList(); } else { @@ -7467,45 +8688,67 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder g } } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder addVulnerabilitiesBuilder() { - return getVulnerabilitiesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.getDefaultInstance()); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder + addVulnerabilitiesBuilder() { + return getVulnerabilitiesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.getDefaultInstance()); } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder addVulnerabilitiesBuilder( - int index) { - return getVulnerabilitiesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.getDefaultInstance()); + public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder + addVulnerabilitiesBuilder(int index) { + return getVulnerabilitiesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.getDefaultInstance()); } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getVulnerabilitiesBuilderList() { + public java.util.List + getVulnerabilitiesBuilderList() { return getVulnerabilitiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder> + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder, + com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder> getVulnerabilitiesFieldBuilder() { if (vulnerabilitiesBuilder_ == null) { - vulnerabilitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability, com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder, com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder>( + vulnerabilitiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability, + com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder, + com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder>( vulnerabilities_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -7517,42 +8760,61 @@ public com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder ad private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -7568,15 +8830,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -7587,18 +8852,22 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -7610,12 +8879,16 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -7629,58 +8902,74 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7690,12 +8979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1.VulnerabilityReport) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1.VulnerabilityReport) private static final com.google.cloud.osconfig.v1.VulnerabilityReport DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1.VulnerabilityReport(); } @@ -7704,16 +8993,16 @@ public static com.google.cloud.osconfig.v1.VulnerabilityReport getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VulnerabilityReport parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VulnerabilityReport(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VulnerabilityReport parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VulnerabilityReport(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7728,6 +9017,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1.VulnerabilityReport getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportName.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportName.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportOrBuilder.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportOrBuilder.java similarity index 58% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportOrBuilder.java rename to proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportOrBuilder.java index 61b9bb8f..24a26a35 100644 --- a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportOrBuilder.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/VulnerabilityReportOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/osconfig/v1/vulnerability.proto package com.google.cloud.osconfig.v1; -public interface VulnerabilityReportOrBuilder extends +public interface VulnerabilityReportOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.VulnerabilityReport) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The `vulnerabilityReport` API resource name.
    * Format:
@@ -15,10 +33,13 @@ public interface VulnerabilityReportOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The `vulnerabilityReport` API resource name.
    * Format:
@@ -26,82 +47,113 @@ public interface VulnerabilityReportOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getVulnerabilitiesList(); /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getVulnerabilities(int index); /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getVulnerabilitiesCount(); /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getVulnerabilitiesOrBuilderList(); /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder getVulnerabilitiesOrBuilder( - int index); + com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder + getVulnerabilitiesOrBuilder(int index); /** + * + * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/inventory.proto b/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/inventory.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/inventory.proto rename to proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/inventory.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy.proto b/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy.proto rename to proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy_assignment_reports.proto b/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy_assignment_reports.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy_assignment_reports.proto rename to proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy_assignment_reports.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy_assignments.proto b/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy_assignments.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy_assignments.proto rename to proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/os_policy_assignments.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_common.proto b/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_common.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_common.proto rename to proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_common.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_service.proto b/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_service.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_service.proto rename to proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_service.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_zonal_service.proto b/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_zonal_service.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_zonal_service.proto rename to proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/osconfig_zonal_service.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/patch_deployments.proto b/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/patch_deployments.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/patch_deployments.proto rename to proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/patch_deployments.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/patch_jobs.proto b/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/patch_jobs.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/patch_jobs.proto rename to proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/patch_jobs.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/vulnerability.proto b/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/vulnerability.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/vulnerability.proto rename to proto-google-cloud-os-config-v1/src/main/proto/google/cloud/osconfig/v1/vulnerability.proto diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3.java similarity index 76% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3.java index d0afe37c..577a409d 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * Common Vulnerability Scoring System version 3.
  * For details, see https://www.first.org/cvss/specification-document
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.CVSSv3}
  */
-public final class CVSSv3 extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CVSSv3 extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.CVSSv3)
     CVSSv3OrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CVSSv3.newBuilder() to construct.
   private CVSSv3(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CVSSv3() {
     attackVector_ = 0;
     attackComplexity_ = 0;
@@ -33,16 +51,15 @@ private CVSSv3() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CVSSv3();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CVSSv3(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -61,76 +78,84 @@ private CVSSv3(
           case 0:
             done = true;
             break;
-          case 13: {
-
-            baseScore_ = input.readFloat();
-            break;
-          }
-          case 21: {
-
-            exploitabilityScore_ = input.readFloat();
-            break;
-          }
-          case 29: {
-
-            impactScore_ = input.readFloat();
-            break;
-          }
-          case 40: {
-            int rawValue = input.readEnum();
+          case 13:
+            {
+              baseScore_ = input.readFloat();
+              break;
+            }
+          case 21:
+            {
+              exploitabilityScore_ = input.readFloat();
+              break;
+            }
+          case 29:
+            {
+              impactScore_ = input.readFloat();
+              break;
+            }
+          case 40:
+            {
+              int rawValue = input.readEnum();
 
-            attackVector_ = rawValue;
-            break;
-          }
-          case 48: {
-            int rawValue = input.readEnum();
+              attackVector_ = rawValue;
+              break;
+            }
+          case 48:
+            {
+              int rawValue = input.readEnum();
 
-            attackComplexity_ = rawValue;
-            break;
-          }
-          case 56: {
-            int rawValue = input.readEnum();
+              attackComplexity_ = rawValue;
+              break;
+            }
+          case 56:
+            {
+              int rawValue = input.readEnum();
 
-            privilegesRequired_ = rawValue;
-            break;
-          }
-          case 64: {
-            int rawValue = input.readEnum();
+              privilegesRequired_ = rawValue;
+              break;
+            }
+          case 64:
+            {
+              int rawValue = input.readEnum();
 
-            userInteraction_ = rawValue;
-            break;
-          }
-          case 72: {
-            int rawValue = input.readEnum();
+              userInteraction_ = rawValue;
+              break;
+            }
+          case 72:
+            {
+              int rawValue = input.readEnum();
 
-            scope_ = rawValue;
-            break;
-          }
-          case 80: {
-            int rawValue = input.readEnum();
+              scope_ = rawValue;
+              break;
+            }
+          case 80:
+            {
+              int rawValue = input.readEnum();
 
-            confidentialityImpact_ = rawValue;
-            break;
-          }
-          case 88: {
-            int rawValue = input.readEnum();
+              confidentialityImpact_ = rawValue;
+              break;
+            }
+          case 88:
+            {
+              int rawValue = input.readEnum();
 
-            integrityImpact_ = rawValue;
-            break;
-          }
-          case 96: {
-            int rawValue = input.readEnum();
+              integrityImpact_ = rawValue;
+              break;
+            }
+          case 96:
+            {
+              int rawValue = input.readEnum();
 
-            availabilityImpact_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              availabilityImpact_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -138,27 +163,31 @@ private CVSSv3(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+        .internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_CVSSv3_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+        .internal_static_google_cloud_osconfig_v1alpha_CVSSv3_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.CVSSv3.class, com.google.cloud.osconfig.v1alpha.CVSSv3.Builder.class);
+            com.google.cloud.osconfig.v1alpha.CVSSv3.class,
+            com.google.cloud.osconfig.v1alpha.CVSSv3.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
@@ -166,9 +195,10 @@ private CVSSv3(
    *
    * Protobuf enum {@code google.cloud.osconfig.v1alpha.CVSSv3.AttackVector}
    */
-  public enum AttackVector
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -177,6 +207,8 @@ public enum AttackVector */ ATTACK_VECTOR_UNSPECIFIED(0), /** + * + * *
      * The vulnerable component is bound to the network stack and the set of
      * possible attackers extends beyond the other options listed below, up to
@@ -187,6 +219,8 @@ public enum AttackVector
      */
     ATTACK_VECTOR_NETWORK(1),
     /**
+     *
+     *
      * 
      * The vulnerable component is bound to the network stack, but the attack is
      * limited at the protocol level to a logically adjacent topology.
@@ -196,6 +230,8 @@ public enum AttackVector
      */
     ATTACK_VECTOR_ADJACENT(2),
     /**
+     *
+     *
      * 
      * The vulnerable component is not bound to the network stack and the
      * attacker's path is via read/write/execute capabilities.
@@ -205,6 +241,8 @@ public enum AttackVector
      */
     ATTACK_VECTOR_LOCAL(3),
     /**
+     *
+     *
      * 
      * The attack requires the attacker to physically touch or manipulate the
      * vulnerable component.
@@ -217,6 +255,8 @@ public enum AttackVector
     ;
 
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -225,6 +265,8 @@ public enum AttackVector */ public static final int ATTACK_VECTOR_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The vulnerable component is bound to the network stack and the set of
      * possible attackers extends beyond the other options listed below, up to
@@ -235,6 +277,8 @@ public enum AttackVector
      */
     public static final int ATTACK_VECTOR_NETWORK_VALUE = 1;
     /**
+     *
+     *
      * 
      * The vulnerable component is bound to the network stack, but the attack is
      * limited at the protocol level to a logically adjacent topology.
@@ -244,6 +288,8 @@ public enum AttackVector
      */
     public static final int ATTACK_VECTOR_ADJACENT_VALUE = 2;
     /**
+     *
+     *
      * 
      * The vulnerable component is not bound to the network stack and the
      * attacker's path is via read/write/execute capabilities.
@@ -253,6 +299,8 @@ public enum AttackVector
      */
     public static final int ATTACK_VECTOR_LOCAL_VALUE = 3;
     /**
+     *
+     *
      * 
      * The attack requires the attacker to physically touch or manipulate the
      * vulnerable component.
@@ -262,7 +310,6 @@ public enum AttackVector
      */
     public static final int ATTACK_VECTOR_PHYSICAL_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -287,51 +334,53 @@ public static AttackVector valueOf(int value) {
      */
     public static AttackVector forNumber(int value) {
       switch (value) {
-        case 0: return ATTACK_VECTOR_UNSPECIFIED;
-        case 1: return ATTACK_VECTOR_NETWORK;
-        case 2: return ATTACK_VECTOR_ADJACENT;
-        case 3: return ATTACK_VECTOR_LOCAL;
-        case 4: return ATTACK_VECTOR_PHYSICAL;
-        default: return null;
+        case 0:
+          return ATTACK_VECTOR_UNSPECIFIED;
+        case 1:
+          return ATTACK_VECTOR_NETWORK;
+        case 2:
+          return ATTACK_VECTOR_ADJACENT;
+        case 3:
+          return ATTACK_VECTOR_LOCAL;
+        case 4:
+          return ATTACK_VECTOR_PHYSICAL;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        AttackVector> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public AttackVector findValueByNumber(int number) {
-              return AttackVector.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public AttackVector findValueByNumber(int number) {
+            return AttackVector.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.osconfig.v1alpha.CVSSv3.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final AttackVector[] VALUES = values();
 
-    public static AttackVector valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static AttackVector valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -349,6 +398,8 @@ private AttackVector(int value) {
   }
 
   /**
+   *
+   *
    * 
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
@@ -356,9 +407,10 @@ private AttackVector(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity}
    */
-  public enum AttackComplexity
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -367,6 +419,8 @@ public enum AttackComplexity */ ATTACK_COMPLEXITY_UNSPECIFIED(0), /** + * + * *
      * Specialized access conditions or extenuating circumstances do not exist.
      * An attacker can expect repeatable success when attacking the vulnerable
@@ -377,6 +431,8 @@ public enum AttackComplexity
      */
     ATTACK_COMPLEXITY_LOW(1),
     /**
+     *
+     *
      * 
      * A successful attack depends on conditions beyond the attacker's control.
      * That is, a successful attack cannot be accomplished at will, but requires
@@ -392,6 +448,8 @@ public enum AttackComplexity
     ;
 
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -400,6 +458,8 @@ public enum AttackComplexity */ public static final int ATTACK_COMPLEXITY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Specialized access conditions or extenuating circumstances do not exist.
      * An attacker can expect repeatable success when attacking the vulnerable
@@ -410,6 +470,8 @@ public enum AttackComplexity
      */
     public static final int ATTACK_COMPLEXITY_LOW_VALUE = 1;
     /**
+     *
+     *
      * 
      * A successful attack depends on conditions beyond the attacker's control.
      * That is, a successful attack cannot be accomplished at will, but requires
@@ -422,7 +484,6 @@ public enum AttackComplexity
      */
     public static final int ATTACK_COMPLEXITY_HIGH_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -447,39 +508,42 @@ public static AttackComplexity valueOf(int value) {
      */
     public static AttackComplexity forNumber(int value) {
       switch (value) {
-        case 0: return ATTACK_COMPLEXITY_UNSPECIFIED;
-        case 1: return ATTACK_COMPLEXITY_LOW;
-        case 2: return ATTACK_COMPLEXITY_HIGH;
-        default: return null;
+        case 0:
+          return ATTACK_COMPLEXITY_UNSPECIFIED;
+        case 1:
+          return ATTACK_COMPLEXITY_LOW;
+        case 2:
+          return ATTACK_COMPLEXITY_HIGH;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        AttackComplexity> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public AttackComplexity findValueByNumber(int number) {
-              return AttackComplexity.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public AttackComplexity findValueByNumber(int number) {
+                return AttackComplexity.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.osconfig.v1alpha.CVSSv3.getDescriptor().getEnumTypes().get(1);
     }
 
@@ -488,8 +552,7 @@ public AttackComplexity findValueByNumber(int number) {
     public static AttackComplexity valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -507,6 +570,8 @@ private AttackComplexity(int value) {
   }
 
   /**
+   *
+   *
    * 
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
@@ -514,9 +579,10 @@ private AttackComplexity(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired}
    */
-  public enum PrivilegesRequired
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -525,6 +591,8 @@ public enum PrivilegesRequired */ PRIVILEGES_REQUIRED_UNSPECIFIED(0), /** + * + * *
      * The attacker is unauthorized prior to attack, and therefore does not
      * require any access to settings or files of the vulnerable system to
@@ -535,6 +603,8 @@ public enum PrivilegesRequired
      */
     PRIVILEGES_REQUIRED_NONE(1),
     /**
+     *
+     *
      * 
      * The attacker requires privileges that provide basic user capabilities
      * that could normally affect only settings and files owned by a user.
@@ -546,6 +616,8 @@ public enum PrivilegesRequired
      */
     PRIVILEGES_REQUIRED_LOW(2),
     /**
+     *
+     *
      * 
      * The attacker requires privileges that provide significant (e.g.,
      * administrative) control over the vulnerable component allowing access to
@@ -559,6 +631,8 @@ public enum PrivilegesRequired
     ;
 
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -567,6 +641,8 @@ public enum PrivilegesRequired */ public static final int PRIVILEGES_REQUIRED_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The attacker is unauthorized prior to attack, and therefore does not
      * require any access to settings or files of the vulnerable system to
@@ -577,6 +653,8 @@ public enum PrivilegesRequired
      */
     public static final int PRIVILEGES_REQUIRED_NONE_VALUE = 1;
     /**
+     *
+     *
      * 
      * The attacker requires privileges that provide basic user capabilities
      * that could normally affect only settings and files owned by a user.
@@ -588,6 +666,8 @@ public enum PrivilegesRequired
      */
     public static final int PRIVILEGES_REQUIRED_LOW_VALUE = 2;
     /**
+     *
+     *
      * 
      * The attacker requires privileges that provide significant (e.g.,
      * administrative) control over the vulnerable component allowing access to
@@ -598,7 +678,6 @@ public enum PrivilegesRequired
      */
     public static final int PRIVILEGES_REQUIRED_HIGH_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -623,11 +702,16 @@ public static PrivilegesRequired valueOf(int value) {
      */
     public static PrivilegesRequired forNumber(int value) {
       switch (value) {
-        case 0: return PRIVILEGES_REQUIRED_UNSPECIFIED;
-        case 1: return PRIVILEGES_REQUIRED_NONE;
-        case 2: return PRIVILEGES_REQUIRED_LOW;
-        case 3: return PRIVILEGES_REQUIRED_HIGH;
-        default: return null;
+        case 0:
+          return PRIVILEGES_REQUIRED_UNSPECIFIED;
+        case 1:
+          return PRIVILEGES_REQUIRED_NONE;
+        case 2:
+          return PRIVILEGES_REQUIRED_LOW;
+        case 3:
+          return PRIVILEGES_REQUIRED_HIGH;
+        default:
+          return null;
       }
     }
 
@@ -635,28 +719,28 @@ public static PrivilegesRequired forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        PrivilegesRequired> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public PrivilegesRequired findValueByNumber(int number) {
-              return PrivilegesRequired.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public PrivilegesRequired findValueByNumber(int number) {
+                return PrivilegesRequired.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.osconfig.v1alpha.CVSSv3.getDescriptor().getEnumTypes().get(2);
     }
 
@@ -665,8 +749,7 @@ public PrivilegesRequired findValueByNumber(int number) {
     public static PrivilegesRequired valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -684,6 +767,8 @@ private PrivilegesRequired(int value) {
   }
 
   /**
+   *
+   *
    * 
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -692,9 +777,10 @@ private PrivilegesRequired(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction}
    */
-  public enum UserInteraction
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -703,6 +789,8 @@ public enum UserInteraction */ USER_INTERACTION_UNSPECIFIED(0), /** + * + * *
      * The vulnerable system can be exploited without interaction from any user.
      * 
@@ -711,6 +799,8 @@ public enum UserInteraction */ USER_INTERACTION_NONE(1), /** + * + * *
      * Successful exploitation of this vulnerability requires a user to take
      * some action before the vulnerability can be exploited.
@@ -723,6 +813,8 @@ public enum UserInteraction
     ;
 
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -731,6 +823,8 @@ public enum UserInteraction */ public static final int USER_INTERACTION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The vulnerable system can be exploited without interaction from any user.
      * 
@@ -739,6 +833,8 @@ public enum UserInteraction */ public static final int USER_INTERACTION_NONE_VALUE = 1; /** + * + * *
      * Successful exploitation of this vulnerability requires a user to take
      * some action before the vulnerability can be exploited.
@@ -748,7 +844,6 @@ public enum UserInteraction
      */
     public static final int USER_INTERACTION_REQUIRED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -773,39 +868,42 @@ public static UserInteraction valueOf(int value) {
      */
     public static UserInteraction forNumber(int value) {
       switch (value) {
-        case 0: return USER_INTERACTION_UNSPECIFIED;
-        case 1: return USER_INTERACTION_NONE;
-        case 2: return USER_INTERACTION_REQUIRED;
-        default: return null;
+        case 0:
+          return USER_INTERACTION_UNSPECIFIED;
+        case 1:
+          return USER_INTERACTION_NONE;
+        case 2:
+          return USER_INTERACTION_REQUIRED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        UserInteraction> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public UserInteraction findValueByNumber(int number) {
-              return UserInteraction.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public UserInteraction findValueByNumber(int number) {
+                return UserInteraction.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.osconfig.v1alpha.CVSSv3.getDescriptor().getEnumTypes().get(3);
     }
 
@@ -814,8 +912,7 @@ public UserInteraction findValueByNumber(int number) {
     public static UserInteraction valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -833,6 +930,8 @@ private UserInteraction(int value) {
   }
 
   /**
+   *
+   *
    * 
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
@@ -840,9 +939,10 @@ private UserInteraction(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1alpha.CVSSv3.Scope}
    */
-  public enum Scope
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -851,6 +951,8 @@ public enum Scope */ SCOPE_UNSPECIFIED(0), /** + * + * *
      * An exploited vulnerability can only affect resources managed by the same
      * security authority.
@@ -860,6 +962,8 @@ public enum Scope
      */
     SCOPE_UNCHANGED(1),
     /**
+     *
+     *
      * 
      * An exploited vulnerability can affect resources beyond the security scope
      * managed by the security authority of the vulnerable component.
@@ -872,6 +976,8 @@ public enum Scope
     ;
 
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -880,6 +986,8 @@ public enum Scope */ public static final int SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * An exploited vulnerability can only affect resources managed by the same
      * security authority.
@@ -889,6 +997,8 @@ public enum Scope
      */
     public static final int SCOPE_UNCHANGED_VALUE = 1;
     /**
+     *
+     *
      * 
      * An exploited vulnerability can affect resources beyond the security scope
      * managed by the security authority of the vulnerable component.
@@ -898,7 +1008,6 @@ public enum Scope
      */
     public static final int SCOPE_CHANGED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -923,49 +1032,49 @@ public static Scope valueOf(int value) {
      */
     public static Scope forNumber(int value) {
       switch (value) {
-        case 0: return SCOPE_UNSPECIFIED;
-        case 1: return SCOPE_UNCHANGED;
-        case 2: return SCOPE_CHANGED;
-        default: return null;
+        case 0:
+          return SCOPE_UNSPECIFIED;
+        case 1:
+          return SCOPE_UNCHANGED;
+        case 2:
+          return SCOPE_CHANGED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Scope> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Scope findValueByNumber(int number) {
-              return Scope.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Scope findValueByNumber(int number) {
+            return Scope.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.osconfig.v1alpha.CVSSv3.getDescriptor().getEnumTypes().get(4);
     }
 
     private static final Scope[] VALUES = values();
 
-    public static Scope valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Scope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -983,6 +1092,8 @@ private Scope(int value) {
   }
 
   /**
+   *
+   *
    * 
    * The Impact metrics capture the effects of a successfully exploited
    * vulnerability on the component that suffers the worst outcome that is most
@@ -991,9 +1102,10 @@ private Scope(int value) {
    *
    * Protobuf enum {@code google.cloud.osconfig.v1alpha.CVSSv3.Impact}
    */
-  public enum Impact
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Impact implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Invalid value.
      * 
@@ -1002,6 +1114,8 @@ public enum Impact */ IMPACT_UNSPECIFIED(0), /** + * + * *
      * High impact.
      * 
@@ -1010,6 +1124,8 @@ public enum Impact */ IMPACT_HIGH(1), /** + * + * *
      * Low impact.
      * 
@@ -1018,6 +1134,8 @@ public enum Impact */ IMPACT_LOW(2), /** + * + * *
      * No impact.
      * 
@@ -1029,6 +1147,8 @@ public enum Impact ; /** + * + * *
      * Invalid value.
      * 
@@ -1037,6 +1157,8 @@ public enum Impact */ public static final int IMPACT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * High impact.
      * 
@@ -1045,6 +1167,8 @@ public enum Impact */ public static final int IMPACT_HIGH_VALUE = 1; /** + * + * *
      * Low impact.
      * 
@@ -1053,6 +1177,8 @@ public enum Impact */ public static final int IMPACT_LOW_VALUE = 2; /** + * + * *
      * No impact.
      * 
@@ -1061,7 +1187,6 @@ public enum Impact */ public static final int IMPACT_NONE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1086,50 +1211,51 @@ public static Impact valueOf(int value) { */ public static Impact forNumber(int value) { switch (value) { - case 0: return IMPACT_UNSPECIFIED; - case 1: return IMPACT_HIGH; - case 2: return IMPACT_LOW; - case 3: return IMPACT_NONE; - default: return null; + case 0: + return IMPACT_UNSPECIFIED; + case 1: + return IMPACT_HIGH; + case 2: + return IMPACT_LOW; + case 3: + return IMPACT_NONE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Impact> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Impact findValueByNumber(int number) { - return Impact.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Impact findValueByNumber(int number) { + return Impact.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.osconfig.v1alpha.CVSSv3.getDescriptor().getEnumTypes().get(5); } private static final Impact[] VALUES = values(); - public static Impact valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Impact valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -1149,12 +1275,15 @@ private Impact(int value) { public static final int BASE_SCORE_FIELD_NUMBER = 1; private float baseScore_; /** + * + * *
    * The base score is a function of the base metric scores.
    * https://www.first.org/cvss/specification-document#Base-Metrics
    * 
* * float base_score = 1; + * * @return The baseScore. */ @java.lang.Override @@ -1165,6 +1294,8 @@ public float getBaseScore() { public static final int EXPLOITABILITY_SCORE_FIELD_NUMBER = 2; private float exploitabilityScore_; /** + * + * *
    * The Exploitability sub-score equation is derived from the Base
    * Exploitability metrics.
@@ -1172,6 +1303,7 @@ public float getBaseScore() {
    * 
* * float exploitability_score = 2; + * * @return The exploitabilityScore. */ @java.lang.Override @@ -1182,11 +1314,14 @@ public float getExploitabilityScore() { public static final int IMPACT_SCORE_FIELD_NUMBER = 3; private float impactScore_; /** + * + * *
    * The Impact sub-score equation is derived from the Base Impact metrics.
    * 
* * float impact_score = 3; + * * @return The impactScore. */ @java.lang.Override @@ -1197,93 +1332,128 @@ public float getImpactScore() { public static final int ATTACK_VECTOR_FIELD_NUMBER = 5; private int attackVector_; /** + * + * *
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5; + * * @return The enum numeric value on the wire for attackVector. */ - @java.lang.Override public int getAttackVectorValue() { + @java.lang.Override + public int getAttackVectorValue() { return attackVector_; } /** + * + * *
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5; + * * @return The attackVector. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector getAttackVector() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector getAttackVector() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector result = com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.valueOf(attackVector_); - return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector result = + com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.valueOf(attackVector_); + return result == null + ? com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.UNRECOGNIZED + : result; } public static final int ATTACK_COMPLEXITY_FIELD_NUMBER = 6; private int attackComplexity_; /** + * + * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6; + * * @return The enum numeric value on the wire for attackComplexity. */ - @java.lang.Override public int getAttackComplexityValue() { + @java.lang.Override + public int getAttackComplexityValue() { return attackComplexity_; } /** + * + * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6; + * * @return The attackComplexity. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity getAttackComplexity() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity getAttackComplexity() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity result = com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.valueOf(attackComplexity_); - return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity result = + com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.valueOf(attackComplexity_); + return result == null + ? com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.UNRECOGNIZED + : result; } public static final int PRIVILEGES_REQUIRED_FIELD_NUMBER = 7; private int privilegesRequired_; /** + * + * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; + * * @return The enum numeric value on the wire for privilegesRequired. */ - @java.lang.Override public int getPrivilegesRequiredValue() { + @java.lang.Override + public int getPrivilegesRequiredValue() { return privilegesRequired_; } /** + * + * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; + * * @return The privilegesRequired. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired getPrivilegesRequired() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired getPrivilegesRequired() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired result = com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.valueOf(privilegesRequired_); - return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired result = + com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.valueOf(privilegesRequired_); + return result == null + ? com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.UNRECOGNIZED + : result; } public static final int USER_INTERACTION_FIELD_NUMBER = 8; private int userInteraction_; /** + * + * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -1291,12 +1461,16 @@ public float getImpactScore() {
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8; + * * @return The enum numeric value on the wire for userInteraction. */ - @java.lang.Override public int getUserInteractionValue() { + @java.lang.Override + public int getUserInteractionValue() { return userInteraction_; } /** + * + * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -1304,46 +1478,62 @@ public float getImpactScore() {
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8; + * * @return The userInteraction. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction getUserInteraction() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction getUserInteraction() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction result = com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.valueOf(userInteraction_); - return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction result = + com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.valueOf(userInteraction_); + return result == null + ? com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.UNRECOGNIZED + : result; } public static final int SCOPE_FIELD_NUMBER = 9; private int scope_; /** + * + * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9; + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9; + * * @return The scope. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.Scope getScope() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.CVSSv3.Scope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.Scope result = com.google.cloud.osconfig.v1alpha.CVSSv3.Scope.valueOf(scope_); + com.google.cloud.osconfig.v1alpha.CVSSv3.Scope result = + com.google.cloud.osconfig.v1alpha.CVSSv3.Scope.valueOf(scope_); return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.Scope.UNRECOGNIZED : result; } public static final int CONFIDENTIALITY_IMPACT_FIELD_NUMBER = 10; private int confidentialityImpact_; /** + * + * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -1351,12 +1541,16 @@ public float getImpactScore() {
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10; + * * @return The enum numeric value on the wire for confidentialityImpact. */ - @java.lang.Override public int getConfidentialityImpactValue() { + @java.lang.Override + public int getConfidentialityImpactValue() { return confidentialityImpact_; } /** + * + * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -1364,73 +1558,95 @@ public float getImpactScore() {
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10; + * * @return The confidentialityImpact. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getConfidentialityImpact() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getConfidentialityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(confidentialityImpact_); + com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = + com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(confidentialityImpact_); return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.UNRECOGNIZED : result; } public static final int INTEGRITY_IMPACT_FIELD_NUMBER = 11; private int integrityImpact_; /** + * + * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11; + * * @return The enum numeric value on the wire for integrityImpact. */ - @java.lang.Override public int getIntegrityImpactValue() { + @java.lang.Override + public int getIntegrityImpactValue() { return integrityImpact_; } /** + * + * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11; + * * @return The integrityImpact. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getIntegrityImpact() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getIntegrityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(integrityImpact_); + com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = + com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(integrityImpact_); return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.UNRECOGNIZED : result; } public static final int AVAILABILITY_IMPACT_FIELD_NUMBER = 12; private int availabilityImpact_; /** + * + * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12; + * * @return The enum numeric value on the wire for availabilityImpact. */ - @java.lang.Override public int getAvailabilityImpactValue() { + @java.lang.Override + public int getAvailabilityImpactValue() { return availabilityImpact_; } /** + * + * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12; + * * @return The availabilityImpact. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getAvailabilityImpact() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getAvailabilityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(availabilityImpact_); + com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = + com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(availabilityImpact_); return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1442,8 +1658,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Float.floatToRawIntBits(baseScore_) != 0) { output.writeFloat(1, baseScore_); } @@ -1453,28 +1668,40 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (java.lang.Float.floatToRawIntBits(impactScore_) != 0) { output.writeFloat(3, impactScore_); } - if (attackVector_ != com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED.getNumber()) { + if (attackVector_ + != com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED + .getNumber()) { output.writeEnum(5, attackVector_); } - if (attackComplexity_ != com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED.getNumber()) { + if (attackComplexity_ + != com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED + .getNumber()) { output.writeEnum(6, attackComplexity_); } - if (privilegesRequired_ != com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.PRIVILEGES_REQUIRED_UNSPECIFIED.getNumber()) { + if (privilegesRequired_ + != com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired + .PRIVILEGES_REQUIRED_UNSPECIFIED + .getNumber()) { output.writeEnum(7, privilegesRequired_); } - if (userInteraction_ != com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.USER_INTERACTION_UNSPECIFIED.getNumber()) { + if (userInteraction_ + != com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.USER_INTERACTION_UNSPECIFIED + .getNumber()) { output.writeEnum(8, userInteraction_); } if (scope_ != com.google.cloud.osconfig.v1alpha.CVSSv3.Scope.SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(9, scope_); } - if (confidentialityImpact_ != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + if (confidentialityImpact_ + != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { output.writeEnum(10, confidentialityImpact_); } - if (integrityImpact_ != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + if (integrityImpact_ + != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { output.writeEnum(11, integrityImpact_); } - if (availabilityImpact_ != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + if (availabilityImpact_ + != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { output.writeEnum(12, availabilityImpact_); } unknownFields.writeTo(output); @@ -1487,48 +1714,49 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(baseScore_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, baseScore_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, baseScore_); } if (java.lang.Float.floatToRawIntBits(exploitabilityScore_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, exploitabilityScore_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, exploitabilityScore_); } if (java.lang.Float.floatToRawIntBits(impactScore_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(3, impactScore_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, impactScore_); } - if (attackVector_ != com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, attackVector_); + if (attackVector_ + != com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, attackVector_); } - if (attackComplexity_ != com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, attackComplexity_); + if (attackComplexity_ + != com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, attackComplexity_); } - if (privilegesRequired_ != com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.PRIVILEGES_REQUIRED_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, privilegesRequired_); + if (privilegesRequired_ + != com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired + .PRIVILEGES_REQUIRED_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, privilegesRequired_); } - if (userInteraction_ != com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.USER_INTERACTION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, userInteraction_); + if (userInteraction_ + != com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.USER_INTERACTION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, userInteraction_); } if (scope_ != com.google.cloud.osconfig.v1alpha.CVSSv3.Scope.SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, scope_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, scope_); } - if (confidentialityImpact_ != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, confidentialityImpact_); + if (confidentialityImpact_ + != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, confidentialityImpact_); } - if (integrityImpact_ != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, integrityImpact_); + if (integrityImpact_ + != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, integrityImpact_); } - if (availabilityImpact_ != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(12, availabilityImpact_); + if (availabilityImpact_ + != com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, availabilityImpact_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1538,7 +1766,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.CVSSv3)) { return super.equals(obj); @@ -1546,14 +1774,11 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.osconfig.v1alpha.CVSSv3 other = (com.google.cloud.osconfig.v1alpha.CVSSv3) obj; if (java.lang.Float.floatToIntBits(getBaseScore()) - != java.lang.Float.floatToIntBits( - other.getBaseScore())) return false; + != java.lang.Float.floatToIntBits(other.getBaseScore())) return false; if (java.lang.Float.floatToIntBits(getExploitabilityScore()) - != java.lang.Float.floatToIntBits( - other.getExploitabilityScore())) return false; + != java.lang.Float.floatToIntBits(other.getExploitabilityScore())) return false; if (java.lang.Float.floatToIntBits(getImpactScore()) - != java.lang.Float.floatToIntBits( - other.getImpactScore())) return false; + != java.lang.Float.floatToIntBits(other.getImpactScore())) return false; if (attackVector_ != other.attackVector_) return false; if (attackComplexity_ != other.attackComplexity_) return false; if (privilegesRequired_ != other.privilegesRequired_) return false; @@ -1574,14 +1799,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + BASE_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getBaseScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getBaseScore()); hash = (37 * hash) + EXPLOITABILITY_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getExploitabilityScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getExploitabilityScore()); hash = (37 * hash) + IMPACT_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getImpactScore()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getImpactScore()); hash = (37 * hash) + ATTACK_VECTOR_FIELD_NUMBER; hash = (53 * hash) + attackVector_; hash = (37 * hash) + ATTACK_COMPLEXITY_FIELD_NUMBER; @@ -1603,97 +1825,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.CVSSv3 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.osconfig.v1alpha.CVSSv3 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.CVSSv3 parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.CVSSv3 prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Common Vulnerability Scoring System version 3.
    * For details, see https://www.first.org/cvss/specification-document
@@ -1701,21 +1930,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.CVSSv3}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.CVSSv3)
       com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_CVSSv3_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1alpha_CVSSv3_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.CVSSv3.class, com.google.cloud.osconfig.v1alpha.CVSSv3.Builder.class);
+              com.google.cloud.osconfig.v1alpha.CVSSv3.class,
+              com.google.cloud.osconfig.v1alpha.CVSSv3.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1alpha.CVSSv3.newBuilder()
@@ -1723,16 +1954,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1762,9 +1992,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor;
     }
 
     @java.lang.Override
@@ -1783,7 +2013,8 @@ public com.google.cloud.osconfig.v1alpha.CVSSv3 build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.CVSSv3 buildPartial() {
-      com.google.cloud.osconfig.v1alpha.CVSSv3 result = new com.google.cloud.osconfig.v1alpha.CVSSv3(this);
+      com.google.cloud.osconfig.v1alpha.CVSSv3 result =
+          new com.google.cloud.osconfig.v1alpha.CVSSv3(this);
       result.baseScore_ = baseScore_;
       result.exploitabilityScore_ = exploitabilityScore_;
       result.impactScore_ = impactScore_;
@@ -1803,38 +2034,39 @@ public com.google.cloud.osconfig.v1alpha.CVSSv3 buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.CVSSv3) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.CVSSv3)other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.CVSSv3) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1905,14 +2137,17 @@ public Builder mergeFrom(
       return this;
     }
 
-    private float baseScore_ ;
+    private float baseScore_;
     /**
+     *
+     *
      * 
      * The base score is a function of the base metric scores.
      * https://www.first.org/cvss/specification-document#Base-Metrics
      * 
* * float base_score = 1; + * * @return The baseScore. */ @java.lang.Override @@ -1920,39 +2155,47 @@ public float getBaseScore() { return baseScore_; } /** + * + * *
      * The base score is a function of the base metric scores.
      * https://www.first.org/cvss/specification-document#Base-Metrics
      * 
* * float base_score = 1; + * * @param value The baseScore to set. * @return This builder for chaining. */ public Builder setBaseScore(float value) { - + baseScore_ = value; onChanged(); return this; } /** + * + * *
      * The base score is a function of the base metric scores.
      * https://www.first.org/cvss/specification-document#Base-Metrics
      * 
* * float base_score = 1; + * * @return This builder for chaining. */ public Builder clearBaseScore() { - + baseScore_ = 0F; onChanged(); return this; } - private float exploitabilityScore_ ; + private float exploitabilityScore_; /** + * + * *
      * The Exploitability sub-score equation is derived from the Base
      * Exploitability metrics.
@@ -1960,6 +2203,7 @@ public Builder clearBaseScore() {
      * 
* * float exploitability_score = 2; + * * @return The exploitabilityScore. */ @java.lang.Override @@ -1967,6 +2211,8 @@ public float getExploitabilityScore() { return exploitabilityScore_; } /** + * + * *
      * The Exploitability sub-score equation is derived from the Base
      * Exploitability metrics.
@@ -1974,16 +2220,19 @@ public float getExploitabilityScore() {
      * 
* * float exploitability_score = 2; + * * @param value The exploitabilityScore to set. * @return This builder for chaining. */ public Builder setExploitabilityScore(float value) { - + exploitabilityScore_ = value; onChanged(); return this; } /** + * + * *
      * The Exploitability sub-score equation is derived from the Base
      * Exploitability metrics.
@@ -1991,22 +2240,26 @@ public Builder setExploitabilityScore(float value) {
      * 
* * float exploitability_score = 2; + * * @return This builder for chaining. */ public Builder clearExploitabilityScore() { - + exploitabilityScore_ = 0F; onChanged(); return this; } - private float impactScore_ ; + private float impactScore_; /** + * + * *
      * The Impact sub-score equation is derived from the Base Impact metrics.
      * 
* * float impact_score = 3; + * * @return The impactScore. */ @java.lang.Override @@ -2014,30 +2267,36 @@ public float getImpactScore() { return impactScore_; } /** + * + * *
      * The Impact sub-score equation is derived from the Base Impact metrics.
      * 
* * float impact_score = 3; + * * @param value The impactScore to set. * @return This builder for chaining. */ public Builder setImpactScore(float value) { - + impactScore_ = value; onChanged(); return this; } /** + * + * *
      * The Impact sub-score equation is derived from the Base Impact metrics.
      * 
* * float impact_score = 3; + * * @return This builder for chaining. */ public Builder clearImpactScore() { - + impactScore_ = 0F; onChanged(); return this; @@ -2045,55 +2304,71 @@ public Builder clearImpactScore() { private int attackVector_ = 0; /** + * + * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5; + * * @return The enum numeric value on the wire for attackVector. */ - @java.lang.Override public int getAttackVectorValue() { + @java.lang.Override + public int getAttackVectorValue() { return attackVector_; } /** + * + * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5; + * * @param value The enum numeric value on the wire for attackVector to set. * @return This builder for chaining. */ public Builder setAttackVectorValue(int value) { - + attackVector_ = value; onChanged(); return this; } /** + * + * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5; + * * @return The attackVector. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector getAttackVector() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector result = com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.valueOf(attackVector_); - return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector result = + com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.valueOf(attackVector_); + return result == null + ? com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector.UNRECOGNIZED + : result; } /** + * + * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5; + * * @param value The attackVector to set. * @return This builder for chaining. */ @@ -2101,22 +2376,25 @@ public Builder setAttackVector(com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVe if (value == null) { throw new NullPointerException(); } - + attackVector_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * This metric reflects the context by which vulnerability exploitation is
      * possible.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5; + * * @return This builder for chaining. */ public Builder clearAttackVector() { - + attackVector_ = 0; onChanged(); return this; @@ -2124,78 +2402,98 @@ public Builder clearAttackVector() { private int attackComplexity_ = 0; /** + * + * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6; + * * @return The enum numeric value on the wire for attackComplexity. */ - @java.lang.Override public int getAttackComplexityValue() { + @java.lang.Override + public int getAttackComplexityValue() { return attackComplexity_; } /** + * + * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6; + * * @param value The enum numeric value on the wire for attackComplexity to set. * @return This builder for chaining. */ public Builder setAttackComplexityValue(int value) { - + attackComplexity_ = value; onChanged(); return this; } /** + * + * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6; + * * @return The attackComplexity. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity getAttackComplexity() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity result = com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.valueOf(attackComplexity_); - return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity result = + com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.valueOf(attackComplexity_); + return result == null + ? com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity.UNRECOGNIZED + : result; } /** + * + * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6; + * * @param value The attackComplexity to set. * @return This builder for chaining. */ - public Builder setAttackComplexity(com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity value) { + public Builder setAttackComplexity( + com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity value) { if (value == null) { throw new NullPointerException(); } - + attackComplexity_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6; + * * @return This builder for chaining. */ public Builder clearAttackComplexity() { - + attackComplexity_ = 0; onChanged(); return this; @@ -2203,78 +2501,103 @@ public Builder clearAttackComplexity() { private int privilegesRequired_ = 0; /** + * + * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* - * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; + * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; + * + * * @return The enum numeric value on the wire for privilegesRequired. */ - @java.lang.Override public int getPrivilegesRequiredValue() { + @java.lang.Override + public int getPrivilegesRequiredValue() { return privilegesRequired_; } /** + * + * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* - * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; + * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; + * + * * @param value The enum numeric value on the wire for privilegesRequired to set. * @return This builder for chaining. */ public Builder setPrivilegesRequiredValue(int value) { - + privilegesRequired_ = value; onChanged(); return this; } /** + * + * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* - * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; + * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; + * + * * @return The privilegesRequired. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired getPrivilegesRequired() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired result = com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.valueOf(privilegesRequired_); - return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired result = + com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.valueOf(privilegesRequired_); + return result == null + ? com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired.UNRECOGNIZED + : result; } /** + * + * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* - * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; + * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; + * + * * @param value The privilegesRequired to set. * @return This builder for chaining. */ - public Builder setPrivilegesRequired(com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired value) { + public Builder setPrivilegesRequired( + com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired value) { if (value == null) { throw new NullPointerException(); } - + privilegesRequired_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* - * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; + * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; + * + * * @return This builder for chaining. */ public Builder clearPrivilegesRequired() { - + privilegesRequired_ = 0; onChanged(); return this; @@ -2282,6 +2605,8 @@ public Builder clearPrivilegesRequired() { private int userInteraction_ = 0; /** + * + * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2289,12 +2614,16 @@ public Builder clearPrivilegesRequired() {
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8; + * * @return The enum numeric value on the wire for userInteraction. */ - @java.lang.Override public int getUserInteractionValue() { + @java.lang.Override + public int getUserInteractionValue() { return userInteraction_; } /** + * + * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2302,16 +2631,19 @@ public Builder clearPrivilegesRequired() {
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8; + * * @param value The enum numeric value on the wire for userInteraction to set. * @return This builder for chaining. */ public Builder setUserInteractionValue(int value) { - + userInteraction_ = value; onChanged(); return this; } /** + * + * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2319,15 +2651,21 @@ public Builder setUserInteractionValue(int value) {
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8; + * * @return The userInteraction. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction getUserInteraction() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction result = com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.valueOf(userInteraction_); - return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction result = + com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.valueOf(userInteraction_); + return result == null + ? com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction.UNRECOGNIZED + : result; } /** + * + * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2335,19 +2673,23 @@ public com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction getUserInteracti
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8; + * * @param value The userInteraction to set. * @return This builder for chaining. */ - public Builder setUserInteraction(com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction value) { + public Builder setUserInteraction( + com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction value) { if (value == null) { throw new NullPointerException(); } - + userInteraction_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2355,10 +2697,11 @@ public Builder setUserInteraction(com.google.cloud.osconfig.v1alpha.CVSSv3.UserI
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8; + * * @return This builder for chaining. */ public Builder clearUserInteraction() { - + userInteraction_ = 0; onChanged(); return this; @@ -2366,55 +2709,69 @@ public Builder clearUserInteraction() { private int scope_ = 0; /** + * + * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9; + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9; + * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); return this; } /** + * + * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9; + * * @return The scope. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.Scope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.Scope result = com.google.cloud.osconfig.v1alpha.CVSSv3.Scope.valueOf(scope_); + com.google.cloud.osconfig.v1alpha.CVSSv3.Scope result = + com.google.cloud.osconfig.v1alpha.CVSSv3.Scope.valueOf(scope_); return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.Scope.UNRECOGNIZED : result; } /** + * + * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9; + * * @param value The scope to set. * @return This builder for chaining. */ @@ -2422,22 +2779,25 @@ public Builder setScope(com.google.cloud.osconfig.v1alpha.CVSSv3.Scope value) { if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = 0; onChanged(); return this; @@ -2445,6 +2805,8 @@ public Builder clearScope() { private int confidentialityImpact_ = 0; /** + * + * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2452,12 +2814,16 @@ public Builder clearScope() {
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10; + * * @return The enum numeric value on the wire for confidentialityImpact. */ - @java.lang.Override public int getConfidentialityImpactValue() { + @java.lang.Override + public int getConfidentialityImpactValue() { return confidentialityImpact_; } /** + * + * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2465,16 +2831,19 @@ public Builder clearScope() {
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10; + * * @param value The enum numeric value on the wire for confidentialityImpact to set. * @return This builder for chaining. */ public Builder setConfidentialityImpactValue(int value) { - + confidentialityImpact_ = value; onChanged(); return this; } /** + * + * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2482,15 +2851,19 @@ public Builder setConfidentialityImpactValue(int value) {
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10; + * * @return The confidentialityImpact. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getConfidentialityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(confidentialityImpact_); + com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = + com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(confidentialityImpact_); return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.UNRECOGNIZED : result; } /** + * + * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2498,6 +2871,7 @@ public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getConfidentialityImpact(
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10; + * * @param value The confidentialityImpact to set. * @return This builder for chaining. */ @@ -2505,12 +2879,14 @@ public Builder setConfidentialityImpact(com.google.cloud.osconfig.v1alpha.CVSSv3 if (value == null) { throw new NullPointerException(); } - + confidentialityImpact_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2518,10 +2894,11 @@ public Builder setConfidentialityImpact(com.google.cloud.osconfig.v1alpha.CVSSv3
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10; + * * @return This builder for chaining. */ public Builder clearConfidentialityImpact() { - + confidentialityImpact_ = 0; onChanged(); return this; @@ -2529,55 +2906,69 @@ public Builder clearConfidentialityImpact() { private int integrityImpact_ = 0; /** + * + * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11; + * * @return The enum numeric value on the wire for integrityImpact. */ - @java.lang.Override public int getIntegrityImpactValue() { + @java.lang.Override + public int getIntegrityImpactValue() { return integrityImpact_; } /** + * + * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11; + * * @param value The enum numeric value on the wire for integrityImpact to set. * @return This builder for chaining. */ public Builder setIntegrityImpactValue(int value) { - + integrityImpact_ = value; onChanged(); return this; } /** + * + * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11; + * * @return The integrityImpact. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getIntegrityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(integrityImpact_); + com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = + com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(integrityImpact_); return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.UNRECOGNIZED : result; } /** + * + * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11; + * * @param value The integrityImpact to set. * @return This builder for chaining. */ @@ -2585,22 +2976,25 @@ public Builder setIntegrityImpact(com.google.cloud.osconfig.v1alpha.CVSSv3.Impac if (value == null) { throw new NullPointerException(); } - + integrityImpact_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11; + * * @return This builder for chaining. */ public Builder clearIntegrityImpact() { - + integrityImpact_ = 0; onChanged(); return this; @@ -2608,55 +3002,69 @@ public Builder clearIntegrityImpact() { private int availabilityImpact_ = 0; /** + * + * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12; + * * @return The enum numeric value on the wire for availabilityImpact. */ - @java.lang.Override public int getAvailabilityImpactValue() { + @java.lang.Override + public int getAvailabilityImpactValue() { return availabilityImpact_; } /** + * + * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12; + * * @param value The enum numeric value on the wire for availabilityImpact to set. * @return This builder for chaining. */ public Builder setAvailabilityImpactValue(int value) { - + availabilityImpact_ = value; onChanged(); return this; } /** + * + * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12; + * * @return The availabilityImpact. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getAvailabilityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(availabilityImpact_); + com.google.cloud.osconfig.v1alpha.CVSSv3.Impact result = + com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.valueOf(availabilityImpact_); return result == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.Impact.UNRECOGNIZED : result; } /** + * + * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12; + * * @param value The availabilityImpact to set. * @return This builder for chaining. */ @@ -2664,29 +3072,32 @@ public Builder setAvailabilityImpact(com.google.cloud.osconfig.v1alpha.CVSSv3.Im if (value == null) { throw new NullPointerException(); } - + availabilityImpact_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12; + * * @return This builder for chaining. */ public Builder clearAvailabilityImpact() { - + availabilityImpact_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2696,12 +3107,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.CVSSv3) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.CVSSv3) private static final com.google.cloud.osconfig.v1alpha.CVSSv3 DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.CVSSv3(); } @@ -2710,16 +3121,16 @@ public static com.google.cloud.osconfig.v1alpha.CVSSv3 getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CVSSv3 parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CVSSv3(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CVSSv3 parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CVSSv3(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2734,6 +3145,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.CVSSv3 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3OrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3OrBuilder.java similarity index 88% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3OrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3OrBuilder.java index 6a879678..fa2deb07 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3OrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CVSSv3OrBuilder.java @@ -1,24 +1,45 @@ +/* + * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; -public interface CVSSv3OrBuilder extends +public interface CVSSv3OrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.CVSSv3) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The base score is a function of the base metric scores.
    * https://www.first.org/cvss/specification-document#Base-Metrics
    * 
* * float base_score = 1; + * * @return The baseScore. */ float getBaseScore(); /** + * + * *
    * The Exploitability sub-score equation is derived from the Base
    * Exploitability metrics.
@@ -26,84 +47,108 @@ public interface CVSSv3OrBuilder extends
    * 
* * float exploitability_score = 2; + * * @return The exploitabilityScore. */ float getExploitabilityScore(); /** + * + * *
    * The Impact sub-score equation is derived from the Base Impact metrics.
    * 
* * float impact_score = 3; + * * @return The impactScore. */ float getImpactScore(); /** + * + * *
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5; + * * @return The enum numeric value on the wire for attackVector. */ int getAttackVectorValue(); /** + * + * *
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5; + * * @return The attackVector. */ com.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector getAttackVector(); /** + * + * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6; + * * @return The enum numeric value on the wire for attackComplexity. */ int getAttackComplexityValue(); /** + * + * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6; + * * @return The attackComplexity. */ com.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity getAttackComplexity(); /** + * + * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; + * * @return The enum numeric value on the wire for privilegesRequired. */ int getPrivilegesRequiredValue(); /** + * + * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7; + * * @return The privilegesRequired. */ com.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired getPrivilegesRequired(); /** + * + * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -111,10 +156,13 @@ public interface CVSSv3OrBuilder extends
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8; + * * @return The enum numeric value on the wire for userInteraction. */ int getUserInteractionValue(); /** + * + * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -122,32 +170,41 @@ public interface CVSSv3OrBuilder extends
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8; + * * @return The userInteraction. */ com.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction getUserInteraction(); /** + * + * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9; + * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** + * + * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9; + * * @return The scope. */ com.google.cloud.osconfig.v1alpha.CVSSv3.Scope getScope(); /** + * + * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -155,10 +212,13 @@ public interface CVSSv3OrBuilder extends
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10; + * * @return The enum numeric value on the wire for confidentialityImpact. */ int getConfidentialityImpactValue(); /** + * + * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -166,48 +226,61 @@ public interface CVSSv3OrBuilder extends
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10; + * * @return The confidentialityImpact. */ com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getConfidentialityImpact(); /** + * + * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11; + * * @return The enum numeric value on the wire for integrityImpact. */ int getIntegrityImpactValue(); /** + * + * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11; + * * @return The integrityImpact. */ com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getIntegrityImpact(); /** + * + * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12; + * * @return The enum numeric value on the wire for availabilityImpact. */ int getAvailabilityImpactValue(); /** + * + * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12; + * * @return The availabilityImpact. */ com.google.cloud.osconfig.v1alpha.CVSSv3.Impact getAvailabilityImpact(); diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java new file mode 100644 index 00000000..fdca3fec --- /dev/null +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java @@ -0,0 +1,73 @@ +/* + * 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/osconfig/v1alpha/osconfig_common.proto + +package com.google.cloud.osconfig.v1alpha; + +public final class Common { + private Common() {} + + 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_osconfig_v1alpha_FixedOrPercent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_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/osconfig/v1alpha/osconfig" + + "_common.proto\022\035google.cloud.osconfig.v1a" + + "lpha\032\034google/api/annotations.proto\"<\n\016Fi" + + "xedOrPercent\022\017\n\005fixed\030\001 \001(\005H\000\022\021\n\007percent" + + "\030\002 \001(\005H\000B\006\n\004modeB\327\001\n!com.google.cloud.os" + + "config.v1alphaB\006CommonP\001ZEgoogle.golang." + + "org/genproto/googleapis/cloud/osconfig/v" + + "1alpha;osconfig\252\002\035Google.Cloud.OsConfig." + + "V1Alpha\312\002\035Google\\Cloud\\OsConfig\\V1alpha\352" + + "\002 Google::Cloud::OsConfig::V1alphab\006prot" + + "o3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor, + new java.lang.String[] { + "Fixed", "Percent", "Mode", + }); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java new file mode 100644 index 00000000..91c74e79 --- /dev/null +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java @@ -0,0 +1,122 @@ +/* + * 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/osconfig/v1alpha/config_common.proto + +package com.google.cloud.osconfig.v1alpha; + +public final class ConfigCommonProto { + private ConfigCommonProto() {} + + 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_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/osconfig/v1alpha/config_c" + + "ommon.proto\022\035google.cloud.osconfig.v1alp" + + "ha\032\034google/api/annotations.proto\"\261\003\n\032OSP" + + "olicyResourceConfigStep\022L\n\004type\030\001 \001(\0162>." + + "google.cloud.osconfig.v1alpha.OSPolicyRe" + + "sourceConfigStep.Type\022R\n\007outcome\030\002 \001(\0162A" + + ".google.cloud.osconfig.v1alpha.OSPolicyR" + + "esourceConfigStep.Outcome\022\025\n\rerror_messa" + + "ge\030\003 \001(\t\"\222\001\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022" + + "\016\n\nVALIDATION\020\001\022\027\n\023DESIRED_STATE_CHECK\020\002" + + "\022\035\n\031DESIRED_STATE_ENFORCEMENT\020\003\022(\n$DESIR" + + "ED_STATE_CHECK_POST_ENFORCEMENT\020\004\032\002\030\001\"A\n" + + "\007Outcome\022\027\n\023OUTCOME_UNSPECIFIED\020\000\022\r\n\tSUC" + + "CEEDED\020\001\022\n\n\006FAILED\020\002\032\002\030\001:\002\030\001\"\205\003\n\032OSPolic" + + "yResourceCompliance\022\035\n\025os_policy_resourc" + + "e_id\030\001 \001(\t\022O\n\014config_steps\030\002 \003(\01329.googl" + + "e.cloud.osconfig.v1alpha.OSPolicyResourc" + + "eConfigStep\022E\n\005state\030\003 \001(\01626.google.clou" + + "d.osconfig.v1alpha.OSPolicyComplianceSta" + + "te\022l\n\024exec_resource_output\030\004 \001(\0132L.googl" + + "e.cloud.osconfig.v1alpha.OSPolicyResourc" + + "eCompliance.ExecResourceOutputH\000\0324\n\022Exec" + + "ResourceOutput\022\032\n\022enforcement_output\030\002 \001" + + "(\014:\002\030\001:\002\030\001B\010\n\006output*\227\001\n\027OSPolicyComplia" + + "nceState\022*\n&OS_POLICY_COMPLIANCE_STATE_U" + + "NSPECIFIED\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n\rNON_COMPL" + + "IANT\020\002\022\013\n\007UNKNOWN\020\003\022\035\n\031NO_OS_POLICIES_AP" + + "PLICABLE\020\004\032\002\030\001B\342\001\n!com.google.cloud.osco" + + "nfig.v1alphaB\021ConfigCommonProtoP\001ZEgoogl" + + "e.golang.org/genproto/googleapis/cloud/o" + + "sconfig/v1alpha;osconfig\252\002\035Google.Cloud." + + "OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsConfig" + + "\\V1alpha\352\002 Google::Cloud::OsConfig::V1al" + + "phab\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor, + new java.lang.String[] { + "Type", "Outcome", "ErrorMessage", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor, + new java.lang.String[] { + "OsPolicyResourceId", "ConfigSteps", "State", "ExecResourceOutput", "Output", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor, + new java.lang.String[] { + "EnforcementOutput", + }); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequest.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequest.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequest.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequest.java index b6e787cb..5ab234d9 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequest.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequest.java @@ -1,24 +1,43 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * A request message to create an OS policy assignment
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest} */ -public final class CreateOSPolicyAssignmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateOSPolicyAssignmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) CreateOSPolicyAssignmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateOSPolicyAssignmentRequest.newBuilder() to construct. - private CreateOSPolicyAssignmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateOSPolicyAssignmentRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateOSPolicyAssignmentRequest() { parent_ = ""; osPolicyAssignmentId_ = ""; @@ -26,16 +45,15 @@ private CreateOSPolicyAssignmentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateOSPolicyAssignmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateOSPolicyAssignmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +72,44 @@ private CreateOSPolicyAssignmentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder subBuilder = null; - if (osPolicyAssignment_ != null) { - subBuilder = osPolicyAssignment_.toBuilder(); - } - osPolicyAssignment_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(osPolicyAssignment_); - osPolicyAssignment_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder subBuilder = null; + if (osPolicyAssignment_ != null) { + subBuilder = osPolicyAssignment_.toBuilder(); + } + osPolicyAssignment_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(osPolicyAssignment_); + osPolicyAssignment_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyAssignmentId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + osPolicyAssignmentId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,35 +117,42 @@ private CreateOSPolicyAssignmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.class, + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource name in the form:
    * projects/{project}/locations/{location}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -130,30 +161,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource name in the form:
    * projects/{project}/locations/{location}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -164,11 +197,16 @@ public java.lang.String getParent() { public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1alpha.OSPolicyAssignment osPolicyAssignment_; /** + * + * *
    * Required. The OS policy assignment to be created.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the osPolicyAssignment field is set. */ @java.lang.Override @@ -176,32 +214,46 @@ public boolean hasOsPolicyAssignment() { return osPolicyAssignment_ != null; } /** + * + * *
    * Required. The OS policy assignment to be created.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The osPolicyAssignment. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignment() { - return osPolicyAssignment_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; + return osPolicyAssignment_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() + : osPolicyAssignment_; } /** + * + * *
    * Required. The OS policy assignment to be created.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder + getOsPolicyAssignmentOrBuilder() { return getOsPolicyAssignment(); } public static final int OS_POLICY_ASSIGNMENT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object osPolicyAssignmentId_; /** + * + * *
    * Required. The logical name of the OS policy assignment in the project
    * with the following restrictions:
@@ -213,6 +265,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicy
    * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The osPolicyAssignmentId. */ @java.lang.Override @@ -221,14 +274,15 @@ public java.lang.String getOsPolicyAssignmentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignmentId_ = s; return s; } } /** + * + * *
    * Required. The logical name of the OS policy assignment in the project
    * with the following restrictions:
@@ -240,16 +294,15 @@ public java.lang.String getOsPolicyAssignmentId() {
    * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for osPolicyAssignmentId. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsPolicyAssignmentIdBytes() { + public com.google.protobuf.ByteString getOsPolicyAssignmentIdBytes() { java.lang.Object ref = osPolicyAssignmentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyAssignmentId_ = b; return b; } else { @@ -258,6 +311,7 @@ public java.lang.String getOsPolicyAssignmentId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,8 +323,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -293,8 +346,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (osPolicyAssignment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOsPolicyAssignment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOsPolicyAssignment()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyAssignmentId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, osPolicyAssignmentId_); @@ -307,22 +359,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest other = (com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) obj; + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest other = + (com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasOsPolicyAssignment() != other.hasOsPolicyAssignment()) return false; if (hasOsPolicyAssignment()) { - if (!getOsPolicyAssignment() - .equals(other.getOsPolicyAssignment())) return false; + if (!getOsPolicyAssignment().equals(other.getOsPolicyAssignment())) return false; } - if (!getOsPolicyAssignmentId() - .equals(other.getOsPolicyAssignmentId())) return false; + if (!getOsPolicyAssignmentId().equals(other.getOsPolicyAssignmentId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -348,134 +398,145 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest 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.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest 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.osconfig.v1alpha.CreateOSPolicyAssignmentRequest + 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.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message to create an OS policy assignment
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.class, + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -493,13 +554,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.getDefaultInstance(); } @@ -514,7 +576,8 @@ public com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest build() @java.lang.Override public com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest result = new com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest(this); + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest result = + new com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest(this); result.parent_ = parent_; if (osPolicyAssignmentBuilder_ == null) { result.osPolicyAssignment_ = osPolicyAssignment_; @@ -530,46 +593,50 @@ public com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest other) { - if (other == com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest other) { + if (other + == com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -600,7 +667,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -612,19 +681,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -633,21 +706,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -655,57 +731,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource name in the form:
      * projects/{project}/locations/{location}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -713,41 +802,61 @@ public Builder setParentBytes( private com.google.cloud.osconfig.v1alpha.OSPolicyAssignment osPolicyAssignment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> osPolicyAssignmentBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> + osPolicyAssignmentBuilder_; /** + * + * *
      * Required. The OS policy assignment to be created.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the osPolicyAssignment field is set. */ public boolean hasOsPolicyAssignment() { return osPolicyAssignmentBuilder_ != null || osPolicyAssignment_ != null; } /** + * + * *
      * Required. The OS policy assignment to be created.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The osPolicyAssignment. */ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignment() { if (osPolicyAssignmentBuilder_ == null) { - return osPolicyAssignment_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; + return osPolicyAssignment_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() + : osPolicyAssignment_; } else { return osPolicyAssignmentBuilder_.getMessage(); } } /** + * + * *
      * Required. The OS policy assignment to be created.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setOsPolicyAssignment(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { + public Builder setOsPolicyAssignment( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { if (osPolicyAssignmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -761,11 +870,15 @@ public Builder setOsPolicyAssignment(com.google.cloud.osconfig.v1alpha.OSPolicyA return this; } /** + * + * *
      * Required. The OS policy assignment to be created.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOsPolicyAssignment( com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder builderForValue) { @@ -779,17 +892,24 @@ public Builder setOsPolicyAssignment( return this; } /** + * + * *
      * Required. The OS policy assignment to be created.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeOsPolicyAssignment(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { + public Builder mergeOsPolicyAssignment( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { if (osPolicyAssignmentBuilder_ == null) { if (osPolicyAssignment_ != null) { osPolicyAssignment_ = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.newBuilder(osPolicyAssignment_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.newBuilder(osPolicyAssignment_) + .mergeFrom(value) + .buildPartial(); } else { osPolicyAssignment_ = value; } @@ -801,11 +921,15 @@ public Builder mergeOsPolicyAssignment(com.google.cloud.osconfig.v1alpha.OSPolic return this; } /** + * + * *
      * Required. The OS policy assignment to be created.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOsPolicyAssignment() { if (osPolicyAssignmentBuilder_ == null) { @@ -819,48 +943,66 @@ public Builder clearOsPolicyAssignment() { return this; } /** + * + * *
      * Required. The OS policy assignment to be created.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder getOsPolicyAssignmentBuilder() { - + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder + getOsPolicyAssignmentBuilder() { + onChanged(); return getOsPolicyAssignmentFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The OS policy assignment to be created.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder + getOsPolicyAssignmentOrBuilder() { if (osPolicyAssignmentBuilder_ != null) { return osPolicyAssignmentBuilder_.getMessageOrBuilder(); } else { - return osPolicyAssignment_ == null ? - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; + return osPolicyAssignment_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() + : osPolicyAssignment_; } } /** + * + * *
      * Required. The OS policy assignment to be created.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentFieldBuilder() { if (osPolicyAssignmentBuilder_ == null) { - osPolicyAssignmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder>( - getOsPolicyAssignment(), - getParentForChildren(), - isClean()); + osPolicyAssignmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder>( + getOsPolicyAssignment(), getParentForChildren(), isClean()); osPolicyAssignment_ = null; } return osPolicyAssignmentBuilder_; @@ -868,6 +1010,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicy private java.lang.Object osPolicyAssignmentId_ = ""; /** + * + * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -879,13 +1023,13 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicy
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The osPolicyAssignmentId. */ public java.lang.String getOsPolicyAssignmentId() { java.lang.Object ref = osPolicyAssignmentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignmentId_ = s; return s; @@ -894,6 +1038,8 @@ public java.lang.String getOsPolicyAssignmentId() { } } /** + * + * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -905,15 +1051,14 @@ public java.lang.String getOsPolicyAssignmentId() {
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for osPolicyAssignmentId. */ - public com.google.protobuf.ByteString - getOsPolicyAssignmentIdBytes() { + public com.google.protobuf.ByteString getOsPolicyAssignmentIdBytes() { java.lang.Object ref = osPolicyAssignmentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyAssignmentId_ = b; return b; } else { @@ -921,6 +1066,8 @@ public java.lang.String getOsPolicyAssignmentId() { } } /** + * + * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -932,20 +1079,22 @@ public java.lang.String getOsPolicyAssignmentId() {
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The osPolicyAssignmentId to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignmentId( - java.lang.String value) { + public Builder setOsPolicyAssignmentId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyAssignmentId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -957,15 +1106,18 @@ public Builder setOsPolicyAssignmentId(
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearOsPolicyAssignmentId() { - + osPolicyAssignmentId_ = getDefaultInstance().getOsPolicyAssignmentId(); onChanged(); return this; } /** + * + * *
      * Required. The logical name of the OS policy assignment in the project
      * with the following restrictions:
@@ -977,23 +1129,23 @@ public Builder clearOsPolicyAssignmentId() {
      * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for osPolicyAssignmentId to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignmentIdBytes( - com.google.protobuf.ByteString value) { + public Builder setOsPolicyAssignmentIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyAssignmentId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1003,30 +1155,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) - private static final com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest(); } - public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateOSPolicyAssignmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateOSPolicyAssignmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateOSPolicyAssignmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateOSPolicyAssignmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1038,9 +1192,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequestOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequestOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequestOrBuilder.java index 18adbda6..03986287 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/CreateOSPolicyAssignmentRequestOrBuilder.java @@ -1,62 +1,103 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; -public interface CreateOSPolicyAssignmentRequestOrBuilder extends +public interface CreateOSPolicyAssignmentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource name in the form:
    * projects/{project}/locations/{location}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource name in the form:
    * projects/{project}/locations/{location}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The OS policy assignment to be created.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the osPolicyAssignment field is set. */ boolean hasOsPolicyAssignment(); /** + * + * *
    * Required. The OS policy assignment to be created.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The osPolicyAssignment. */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignment(); /** + * + * *
    * Required. The OS policy assignment to be created.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder(); /** + * + * *
    * Required. The logical name of the OS policy assignment in the project
    * with the following restrictions:
@@ -68,10 +109,13 @@ public interface CreateOSPolicyAssignmentRequestOrBuilder extends
    * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The osPolicyAssignmentId. */ java.lang.String getOsPolicyAssignmentId(); /** + * + * *
    * Required. The logical name of the OS policy assignment in the project
    * with the following restrictions:
@@ -83,8 +127,8 @@ public interface CreateOSPolicyAssignmentRequestOrBuilder extends
    * 
* * string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for osPolicyAssignmentId. */ - com.google.protobuf.ByteString - getOsPolicyAssignmentIdBytes(); + com.google.protobuf.ByteString getOsPolicyAssignmentIdBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequest.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequest.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequest.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequest.java index e7b6cad1..bb8a81c9 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequest.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequest.java @@ -1,40 +1,58 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * A request message for deleting a OS policy assignment.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest} */ -public final class DeleteOSPolicyAssignmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteOSPolicyAssignmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) DeleteOSPolicyAssignmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteOSPolicyAssignmentRequest.newBuilder() to construct. - private DeleteOSPolicyAssignmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteOSPolicyAssignmentRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteOSPolicyAssignmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteOSPolicyAssignmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteOSPolicyAssignmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private DeleteOSPolicyAssignmentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +92,41 @@ private DeleteOSPolicyAssignmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.class, + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the OS policy assignment to be deleted
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +135,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the OS policy assignment to be deleted
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +168,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -176,15 +204,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest other = (com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) obj; + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest other = + (com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +232,145 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest 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.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest 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.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest + 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.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message for deleting a OS policy assignment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.class, + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +380,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.getDefaultInstance(); } @@ -362,7 +402,8 @@ public com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest build() @java.lang.Override public com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest result = new com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest(this); + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest result = + new com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +413,50 @@ public com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest other) { - if (other == com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest other) { + if (other + == com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +480,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +494,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +518,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +542,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the OS policy assignment to be deleted
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +619,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) - private static final com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest(); } - public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteOSPolicyAssignmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteOSPolicyAssignmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteOSPolicyAssignmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteOSPolicyAssignmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +656,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequestOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequestOrBuilder.java new file mode 100644 index 00000000..100e14bd --- /dev/null +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/DeleteOSPolicyAssignmentRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto + +package com.google.cloud.osconfig.v1alpha; + +public interface DeleteOSPolicyAssignmentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the OS policy assignment to be deleted
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the OS policy assignment to be deleted
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercent.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercent.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercent.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercent.java index 67afb4c9..70a9b0a0 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercent.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercent.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1alpha/osconfig_common.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * Message encapsulating a value that can be either absolute ("fixed") or
  * relative ("percent") to a value.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.FixedOrPercent}
  */
-public final class FixedOrPercent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class FixedOrPercent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.FixedOrPercent)
     FixedOrPercentOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use FixedOrPercent.newBuilder() to construct.
   private FixedOrPercent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private FixedOrPercent() {
-  }
+
+  private FixedOrPercent() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new FixedOrPercent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private FixedOrPercent(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,23 +69,25 @@ private FixedOrPercent(
           case 0:
             done = true;
             break;
-          case 8: {
-            mode_ = input.readInt32();
-            modeCase_ = 1;
-            break;
-          }
-          case 16: {
-            mode_ = input.readInt32();
-            modeCase_ = 2;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 8:
+            {
+              mode_ = input.readInt32();
+              modeCase_ = 1;
+              break;
+            }
+          case 16:
+            {
+              mode_ = input.readInt32();
+              modeCase_ = 2;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -77,35 +95,40 @@ private FixedOrPercent(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.Common.internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.Common
+        .internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.Common.internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.Common
+        .internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.FixedOrPercent.class, com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder.class);
+            com.google.cloud.osconfig.v1alpha.FixedOrPercent.class,
+            com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder.class);
   }
 
   private int modeCase_ = 0;
   private java.lang.Object mode_;
+
   public enum ModeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     FIXED(1),
     PERCENT(2),
     MODE_NOT_SET(0);
     private final int value;
+
     private ModeCase(int value) {
       this.value = value;
     }
@@ -121,30 +144,36 @@ public static ModeCase valueOf(int value) {
 
     public static ModeCase forNumber(int value) {
       switch (value) {
-        case 1: return FIXED;
-        case 2: return PERCENT;
-        case 0: return MODE_NOT_SET;
-        default: return null;
+        case 1:
+          return FIXED;
+        case 2:
+          return PERCENT;
+        case 0:
+          return MODE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ModeCase
-  getModeCase() {
-    return ModeCase.forNumber(
-        modeCase_);
+  public ModeCase getModeCase() {
+    return ModeCase.forNumber(modeCase_);
   }
 
   public static final int FIXED_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * Specifies a fixed value.
    * 
* * int32 fixed = 1; + * * @return Whether the fixed field is set. */ @java.lang.Override @@ -152,11 +181,14 @@ public boolean hasFixed() { return modeCase_ == 1; } /** + * + * *
    * Specifies a fixed value.
    * 
* * int32 fixed = 1; + * * @return The fixed. */ @java.lang.Override @@ -169,12 +201,15 @@ public int getFixed() { public static final int PERCENT_FIELD_NUMBER = 2; /** + * + * *
    * Specifies the relative value defined as a percentage, which will be
    * multiplied by a reference value.
    * 
* * int32 percent = 2; + * * @return Whether the percent field is set. */ @java.lang.Override @@ -182,12 +217,15 @@ public boolean hasPercent() { return modeCase_ == 2; } /** + * + * *
    * Specifies the relative value defined as a percentage, which will be
    * multiplied by a reference value.
    * 
* * int32 percent = 2; + * * @return The percent. */ @java.lang.Override @@ -199,6 +237,7 @@ public int getPercent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,15 +249,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (modeCase_ == 1) { - output.writeInt32( - 1, (int)((java.lang.Integer) mode_)); + output.writeInt32(1, (int) ((java.lang.Integer) mode_)); } if (modeCase_ == 2) { - output.writeInt32( - 2, (int)((java.lang.Integer) mode_)); + output.writeInt32(2, (int) ((java.lang.Integer) mode_)); } unknownFields.writeTo(output); } @@ -230,14 +266,14 @@ public int getSerializedSize() { size = 0; if (modeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size( - 1, (int)((java.lang.Integer) mode_)); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 1, (int) ((java.lang.Integer) mode_)); } if (modeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size( - 2, (int)((java.lang.Integer) mode_)); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 2, (int) ((java.lang.Integer) mode_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -247,22 +283,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.FixedOrPercent)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.FixedOrPercent other = (com.google.cloud.osconfig.v1alpha.FixedOrPercent) obj; + com.google.cloud.osconfig.v1alpha.FixedOrPercent other = + (com.google.cloud.osconfig.v1alpha.FixedOrPercent) obj; if (!getModeCase().equals(other.getModeCase())) return false; switch (modeCase_) { case 1: - if (getFixed() - != other.getFixed()) return false; + if (getFixed() != other.getFixed()) return false; break; case 2: - if (getPercent() - != other.getPercent()) return false; + if (getPercent() != other.getPercent()) return false; break; case 0: default: @@ -295,97 +330,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.FixedOrPercent 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.osconfig.v1alpha.FixedOrPercent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.FixedOrPercent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.FixedOrPercent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message encapsulating a value that can be either absolute ("fixed") or
    * relative ("percent") to a value.
@@ -393,21 +435,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.FixedOrPercent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.FixedOrPercent)
       com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.Common.internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.Common
+          .internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.Common.internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.Common
+          .internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.FixedOrPercent.class, com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder.class);
+              com.google.cloud.osconfig.v1alpha.FixedOrPercent.class,
+              com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1alpha.FixedOrPercent.newBuilder()
@@ -415,16 +459,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -434,9 +477,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.Common.internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.Common
+          .internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor;
     }
 
     @java.lang.Override
@@ -455,7 +498,8 @@ public com.google.cloud.osconfig.v1alpha.FixedOrPercent build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.FixedOrPercent buildPartial() {
-      com.google.cloud.osconfig.v1alpha.FixedOrPercent result = new com.google.cloud.osconfig.v1alpha.FixedOrPercent(this);
+      com.google.cloud.osconfig.v1alpha.FixedOrPercent result =
+          new com.google.cloud.osconfig.v1alpha.FixedOrPercent(this);
       if (modeCase_ == 1) {
         result.mode_ = mode_;
       }
@@ -471,38 +515,39 @@ public com.google.cloud.osconfig.v1alpha.FixedOrPercent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.FixedOrPercent) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.FixedOrPercent)other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.FixedOrPercent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -510,19 +555,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.FixedOrPercent other) {
-      if (other == com.google.cloud.osconfig.v1alpha.FixedOrPercent.getDefaultInstance()) return this;
+      if (other == com.google.cloud.osconfig.v1alpha.FixedOrPercent.getDefaultInstance())
+        return this;
       switch (other.getModeCase()) {
-        case FIXED: {
-          setFixed(other.getFixed());
-          break;
-        }
-        case PERCENT: {
-          setPercent(other.getPercent());
-          break;
-        }
-        case MODE_NOT_SET: {
-          break;
-        }
+        case FIXED:
+          {
+            setFixed(other.getFixed());
+            break;
+          }
+        case PERCENT:
+          {
+            setPercent(other.getPercent());
+            break;
+          }
+        case MODE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -552,12 +601,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int modeCase_ = 0;
     private java.lang.Object mode_;
-    public ModeCase
-        getModeCase() {
-      return ModeCase.forNumber(
-          modeCase_);
+
+    public ModeCase getModeCase() {
+      return ModeCase.forNumber(modeCase_);
     }
 
     public Builder clearMode() {
@@ -567,24 +616,29 @@ public Builder clearMode() {
       return this;
     }
 
-
     /**
+     *
+     *
      * 
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; + * * @return Whether the fixed field is set. */ public boolean hasFixed() { return modeCase_ == 1; } /** + * + * *
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; + * * @return The fixed. */ public int getFixed() { @@ -594,11 +648,14 @@ public int getFixed() { return 0; } /** + * + * *
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; + * * @param value The fixed to set. * @return This builder for chaining. */ @@ -609,11 +666,14 @@ public Builder setFixed(int value) { return this; } /** + * + * *
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; + * * @return This builder for chaining. */ public Builder clearFixed() { @@ -626,24 +686,30 @@ public Builder clearFixed() { } /** + * + * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; + * * @return Whether the percent field is set. */ public boolean hasPercent() { return modeCase_ == 2; } /** + * + * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; + * * @return The percent. */ public int getPercent() { @@ -653,12 +719,15 @@ public int getPercent() { return 0; } /** + * + * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; + * * @param value The percent to set. * @return This builder for chaining. */ @@ -669,12 +738,15 @@ public Builder setPercent(int value) { return this; } /** + * + * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; + * * @return This builder for chaining. */ public Builder clearPercent() { @@ -685,9 +757,9 @@ public Builder clearPercent() { } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -697,12 +769,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.FixedOrPercent) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.FixedOrPercent) private static final com.google.cloud.osconfig.v1alpha.FixedOrPercent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.FixedOrPercent(); } @@ -711,16 +783,16 @@ public static com.google.cloud.osconfig.v1alpha.FixedOrPercent getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FixedOrPercent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FixedOrPercent(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FixedOrPercent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FixedOrPercent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -735,6 +807,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.FixedOrPercent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercentOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercentOrBuilder.java similarity index 63% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercentOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercentOrBuilder.java index 1d8722db..cd31653d 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercentOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/FixedOrPercentOrBuilder.java @@ -1,48 +1,76 @@ +/* + * 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/osconfig/v1alpha/osconfig_common.proto package com.google.cloud.osconfig.v1alpha; -public interface FixedOrPercentOrBuilder extends +public interface FixedOrPercentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.FixedOrPercent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Specifies a fixed value.
    * 
* * int32 fixed = 1; + * * @return Whether the fixed field is set. */ boolean hasFixed(); /** + * + * *
    * Specifies a fixed value.
    * 
* * int32 fixed = 1; + * * @return The fixed. */ int getFixed(); /** + * + * *
    * Specifies the relative value defined as a percentage, which will be
    * multiplied by a reference value.
    * 
* * int32 percent = 2; + * * @return Whether the percent field is set. */ boolean hasPercent(); /** + * + * *
    * Specifies the relative value defined as a percentage, which will be
    * multiplied by a reference value.
    * 
* * int32 percent = 2; + * * @return The percent. */ int getPercent(); diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequest.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequest.java similarity index 63% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequest.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequest.java index 133c2706..2903114d 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequest.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequest.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1alpha/instance_os_policies_compliance.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * A request message for getting OS policies compliance data for the given
  * Compute Engine VM instance.
@@ -11,31 +28,34 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest}
  */
-@java.lang.Deprecated public final class GetInstanceOSPoliciesComplianceRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+@java.lang.Deprecated
+public final class GetInstanceOSPoliciesComplianceRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest)
     GetInstanceOSPoliciesComplianceRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetInstanceOSPoliciesComplianceRequest.newBuilder() to construct.
-  private GetInstanceOSPoliciesComplianceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GetInstanceOSPoliciesComplianceRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetInstanceOSPoliciesComplianceRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetInstanceOSPoliciesComplianceRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private GetInstanceOSPoliciesComplianceRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +74,20 @@ private GetInstanceOSPoliciesComplianceRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,29 +95,33 @@ private GetInstanceOSPoliciesComplianceRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+        .internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+        .internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.class, com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.Builder.class);
+            com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.class,
+            com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. API resource name for instance OS policies compliance resource.
    * Format:
@@ -107,7 +132,10 @@ private GetInstanceOSPoliciesComplianceRequest(
    * be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -116,14 +144,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. API resource name for instance OS policies compliance resource.
    * Format:
@@ -134,17 +163,18 @@ public java.lang.String getName() {
    * be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -153,6 +183,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -164,8 +195,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -189,15 +219,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest other = (com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) obj; + com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest other = + (com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -217,96 +248,105 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest 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.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest 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.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest + 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.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message for getting OS policies compliance data for the given
    * Compute Engine VM instance.
@@ -314,38 +354,41 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest)
       com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+          .internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+          .internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.class, com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.Builder.class);
+              com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.class,
+              com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.Builder
+                  .class);
     }
 
-    // Construct using com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.newBuilder()
+    // Construct using
+    // com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -355,19 +398,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+          .internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest getDefaultInstanceForType() {
-      return com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.getDefaultInstance();
+    public com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest build() {
-      com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest result = buildPartial();
+      com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -376,7 +422,8 @@ public com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest buildPartial() {
-      com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest result = new com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest(this);
+      com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest result =
+          new com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -386,46 +433,52 @@ public com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest)other);
+      if (other
+          instanceof com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) {
+        return mergeFrom(
+            (com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest other) {
-      if (other == com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest other) {
+      if (other
+          == com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest
+              .getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -449,7 +502,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -461,6 +516,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. API resource name for instance OS policies compliance resource.
      * Format:
@@ -471,14 +528,16 @@ public Builder mergeFrom(
      * be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -487,6 +546,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. API resource name for instance OS policies compliance resource.
      * Format:
@@ -497,16 +558,17 @@ public java.lang.String getName() {
      * be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -514,6 +576,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. API resource name for instance OS policies compliance resource.
      * Format:
@@ -524,21 +588,25 @@ public java.lang.String getName() {
      * be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. API resource name for instance OS policies compliance resource.
      * Format:
@@ -549,16 +617,21 @@ public Builder setName(
      * be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. API resource name for instance OS policies compliance resource.
      * Format:
@@ -569,24 +642,26 @@ public Builder clearName() {
      * be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -596,30 +671,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) - private static final com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest(); } - public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInstanceOSPoliciesComplianceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInstanceOSPoliciesComplianceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstanceOSPoliciesComplianceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetInstanceOSPoliciesComplianceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -631,9 +709,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequestOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequestOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequestOrBuilder.java index 9d28e60e..1cc46c5a 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInstanceOSPoliciesComplianceRequestOrBuilder.java @@ -1,13 +1,32 @@ +/* + * 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/osconfig/v1alpha/instance_os_policies_compliance.proto package com.google.cloud.osconfig.v1alpha; -@java.lang.Deprecated public interface GetInstanceOSPoliciesComplianceRequestOrBuilder extends +@java.lang.Deprecated +public interface GetInstanceOSPoliciesComplianceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. API resource name for instance OS policies compliance resource.
    * Format:
@@ -18,11 +37,16 @@
    * be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. API resource name for instance OS policies compliance resource.
    * Format:
@@ -33,9 +57,11 @@
    * be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequest.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequest.java similarity index 69% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequest.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequest.java index a952b0e7..3a2af246 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequest.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequest.java @@ -1,24 +1,42 @@ +/* + * 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/osconfig/v1alpha/inventory.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * A request message for getting inventory data for the specified VM.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.GetInventoryRequest} */ -public final class GetInventoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetInventoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.GetInventoryRequest) GetInventoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetInventoryRequest.newBuilder() to construct. private GetInventoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetInventoryRequest() { name_ = ""; view_ = 0; @@ -26,16 +44,15 @@ private GetInventoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetInventoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetInventoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetInventoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,29 +99,33 @@ private GetInventoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.GetInventoryRequest.class, com.google.cloud.osconfig.v1alpha.GetInventoryRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.GetInventoryRequest.class, + com.google.cloud.osconfig.v1alpha.GetInventoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. API resource name for inventory resource.
    * Format:
@@ -112,7 +135,10 @@ private GetInventoryRequest(
    * can be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -121,14 +147,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. API resource name for inventory resource.
    * Format:
@@ -138,17 +165,18 @@ public java.lang.String getName() {
    * can be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -159,33 +187,43 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; + * * @return The view. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.InventoryView getView() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.InventoryView getView() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.InventoryView result = com.google.cloud.osconfig.v1alpha.InventoryView.valueOf(view_); + com.google.cloud.osconfig.v1alpha.InventoryView result = + com.google.cloud.osconfig.v1alpha.InventoryView.valueOf(view_); return result == null ? com.google.cloud.osconfig.v1alpha.InventoryView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -197,12 +235,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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 (view_ != com.google.cloud.osconfig.v1alpha.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.osconfig.v1alpha.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -217,9 +255,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.cloud.osconfig.v1alpha.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.cloud.osconfig.v1alpha.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -229,15 +267,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.GetInventoryRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.GetInventoryRequest other = (com.google.cloud.osconfig.v1alpha.GetInventoryRequest) obj; + com.google.cloud.osconfig.v1alpha.GetInventoryRequest other = + (com.google.cloud.osconfig.v1alpha.GetInventoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -260,117 +298,127 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest 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.osconfig.v1alpha.GetInventoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.GetInventoryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.GetInventoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message for getting inventory data for the specified VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.GetInventoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.GetInventoryRequest) com.google.cloud.osconfig.v1alpha.GetInventoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.GetInventoryRequest.class, com.google.cloud.osconfig.v1alpha.GetInventoryRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.GetInventoryRequest.class, + com.google.cloud.osconfig.v1alpha.GetInventoryRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.GetInventoryRequest.newBuilder() @@ -378,16 +426,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -399,9 +446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor; } @java.lang.Override @@ -420,7 +467,8 @@ public com.google.cloud.osconfig.v1alpha.GetInventoryRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.GetInventoryRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.GetInventoryRequest result = new com.google.cloud.osconfig.v1alpha.GetInventoryRequest(this); + com.google.cloud.osconfig.v1alpha.GetInventoryRequest result = + new com.google.cloud.osconfig.v1alpha.GetInventoryRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -431,38 +479,39 @@ public com.google.cloud.osconfig.v1alpha.GetInventoryRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.GetInventoryRequest) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.GetInventoryRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.GetInventoryRequest) other); } else { super.mergeFrom(other); return this; @@ -470,7 +519,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.GetInventoryRequest other) { - if (other == com.google.cloud.osconfig.v1alpha.GetInventoryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1alpha.GetInventoryRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -497,7 +547,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.GetInventoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.GetInventoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -509,6 +560,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -518,14 +571,16 @@ public Builder mergeFrom(
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -534,6 +589,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -543,16 +600,17 @@ public java.lang.String getName() {
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -560,6 +618,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -569,21 +629,25 @@ public java.lang.String getName() {
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -593,16 +657,21 @@ public Builder setName(
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. API resource name for inventory resource.
      * Format:
@@ -612,17 +681,19 @@ public Builder clearName() {
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -630,55 +701,69 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; + * * @return The view. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.InventoryView getView() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.InventoryView result = com.google.cloud.osconfig.v1alpha.InventoryView.valueOf(view_); + com.google.cloud.osconfig.v1alpha.InventoryView result = + com.google.cloud.osconfig.v1alpha.InventoryView.valueOf(view_); return result == null ? com.google.cloud.osconfig.v1alpha.InventoryView.UNRECOGNIZED : result; } /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; + * * @param value The view to set. * @return This builder for chaining. */ @@ -686,29 +771,32 @@ public Builder setView(com.google.cloud.osconfig.v1alpha.InventoryView value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +806,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.GetInventoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.GetInventoryRequest) private static final com.google.cloud.osconfig.v1alpha.GetInventoryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.GetInventoryRequest(); } @@ -732,16 +820,16 @@ public static com.google.cloud.osconfig.v1alpha.GetInventoryRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInventoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInventoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInventoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetInventoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +844,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.GetInventoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequestOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequestOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequestOrBuilder.java index e69231a1..bae7a205 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetInventoryRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/osconfig/v1alpha/inventory.proto package com.google.cloud.osconfig.v1alpha; -public interface GetInventoryRequestOrBuilder extends +public interface GetInventoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.GetInventoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. API resource name for inventory resource.
    * Format:
@@ -17,11 +35,16 @@ public interface GetInventoryRequestOrBuilder extends
    * can be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. API resource name for inventory resource.
    * Format:
@@ -31,29 +54,37 @@ public interface GetInventoryRequestOrBuilder extends
    * can be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; + * * @return The view. */ com.google.cloud.osconfig.v1alpha.InventoryView getView(); diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequest.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequest.java similarity index 65% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequest.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequest.java index 30ab9e3b..33395f3d 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequest.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequest.java @@ -1,40 +1,58 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * Get a report of the OS policy assignment for a VM instance.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest} */ -public final class GetOSPolicyAssignmentReportRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetOSPolicyAssignmentReportRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) GetOSPolicyAssignmentReportRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetOSPolicyAssignmentReportRequest.newBuilder() to construct. - private GetOSPolicyAssignmentReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetOSPolicyAssignmentReportRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetOSPolicyAssignmentReportRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetOSPolicyAssignmentReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetOSPolicyAssignmentReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private GetOSPolicyAssignmentReportRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +92,33 @@ private GetOSPolicyAssignmentReportRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.class, com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.class, + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. API resource name for OS policy assignment report.
    * Format:
@@ -106,7 +129,10 @@ private GetOSPolicyAssignmentReportRequest(
    * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -115,14 +141,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. API resource name for OS policy assignment report.
    * Format:
@@ -133,17 +160,18 @@ public java.lang.String getName() {
    * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -152,6 +180,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,8 +192,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -188,15 +216,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest other = (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) obj; + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest other = + (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -216,134 +244,145 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest 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.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest 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.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest + 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.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get a report of the OS policy assignment for a VM instance.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.class, com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.class, + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -353,14 +392,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest + .getDefaultInstance(); } @java.lang.Override @@ -374,7 +415,8 @@ public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest buil @java.lang.Override public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest result = new com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest(this); + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest result = + new com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest(this); result.name_ = name_; onBuilt(); return result; @@ -384,46 +426,51 @@ public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest)other); + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest other) { - if (other == com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest other) { + if (other + == com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -447,7 +494,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -459,6 +508,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -469,14 +520,16 @@ public Builder mergeFrom(
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -485,6 +538,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -495,16 +550,17 @@ public java.lang.String getName() {
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -512,6 +568,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -522,21 +580,25 @@ public java.lang.String getName() {
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -547,16 +609,21 @@ public Builder setName(
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. API resource name for OS policy assignment report.
      * Format:
@@ -567,24 +634,26 @@ public Builder clearName() {
      * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -594,30 +663,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) - private static final com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest(); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOSPolicyAssignmentReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetOSPolicyAssignmentReportRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOSPolicyAssignmentReportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetOSPolicyAssignmentReportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -629,9 +700,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequestOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequestOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequestOrBuilder.java index 70680fbf..d37c705e 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentReportRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1alpha; -public interface GetOSPolicyAssignmentReportRequestOrBuilder extends +public interface GetOSPolicyAssignmentReportRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentReportRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. API resource name for OS policy assignment report.
    * Format:
@@ -18,11 +36,16 @@ public interface GetOSPolicyAssignmentReportRequestOrBuilder extends
    * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. API resource name for OS policy assignment report.
    * Format:
@@ -33,9 +56,11 @@ public interface GetOSPolicyAssignmentReportRequestOrBuilder extends
    * For `{assignment_id}`, the OSPolicyAssignment id must be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequest.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequest.java similarity index 65% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequest.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequest.java index 18bcca99..e4da7dfd 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequest.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequest.java @@ -1,40 +1,57 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * A request message to get an OS policy assignment
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest} */ -public final class GetOSPolicyAssignmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetOSPolicyAssignmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) GetOSPolicyAssignmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetOSPolicyAssignmentRequest.newBuilder() to construct. private GetOSPolicyAssignmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetOSPolicyAssignmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetOSPolicyAssignmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetOSPolicyAssignmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetOSPolicyAssignmentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,36 +91,43 @@ private GetOSPolicyAssignmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.class, + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of OS policy assignment.
    * Format:
    * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -111,31 +136,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of OS policy assignment.
    * Format:
    * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -144,6 +171,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -180,15 +207,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest other = (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) obj; + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest other = + (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,117 +235,127 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest 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.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message to get an OS policy assignment
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.class, + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.newBuilder() @@ -326,16 +363,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,13 +381,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.getDefaultInstance(); } @@ -366,7 +403,8 @@ public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest result = new com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest(this); + com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest result = + new com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -376,38 +414,39 @@ public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.GetOSPolicyAssignmentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) other); } else { super.mergeFrom(other); return this; @@ -415,7 +454,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest other) { - if (other == com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -439,7 +480,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,20 +494,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -473,22 +520,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -496,67 +546,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of OS policy assignment.
      * Format:
      * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -566,30 +629,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) - private static final com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest(); } - public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOSPolicyAssignmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetOSPolicyAssignmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOSPolicyAssignmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetOSPolicyAssignmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -601,9 +666,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequestOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequestOrBuilder.java new file mode 100644 index 00000000..90deef8c --- /dev/null +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetOSPolicyAssignmentRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto + +package com.google.cloud.osconfig.v1alpha; + +public interface GetOSPolicyAssignmentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of OS policy assignment.
+   * Format:
+   * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of OS policy assignment.
+   * Format:
+   * `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequest.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequest.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequest.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequest.java index 1c29b2a2..c5ca09d7 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequest.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequest.java @@ -1,40 +1,57 @@ +/* + * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * A request message for getting the vulnerability report for the specified VM.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest} */ -public final class GetVulnerabilityReportRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetVulnerabilityReportRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) GetVulnerabilityReportRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetVulnerabilityReportRequest.newBuilder() to construct. private GetVulnerabilityReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetVulnerabilityReportRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetVulnerabilityReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetVulnerabilityReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetVulnerabilityReportRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private GetVulnerabilityReportRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.class, com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.class, + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. API resource name for vulnerability resource.
    * Format:
@@ -105,7 +127,10 @@ private GetVulnerabilityReportRequest(
    * can be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -114,14 +139,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. API resource name for vulnerability resource.
    * Format:
@@ -131,17 +157,18 @@ public java.lang.String getName() {
    * can be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -150,6 +177,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,8 +189,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -186,15 +213,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest other = (com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) obj; + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest other = + (com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -214,117 +241,127 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest 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.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message for getting the vulnerability report for the specified VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.class, com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.class, + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.newBuilder() @@ -332,16 +369,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,13 +387,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.getDefaultInstance(); } @@ -372,7 +409,8 @@ public com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest result = new com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest(this); + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest result = + new com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest(this); result.name_ = name_; onBuilt(); return result; @@ -382,46 +420,50 @@ public com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.GetVulnerabilityReportRequest) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest other) { - if (other == com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest other) { + if (other + == com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -445,7 +487,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -457,6 +501,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -466,14 +512,16 @@ public Builder mergeFrom(
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -482,6 +530,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -491,16 +541,17 @@ public java.lang.String getName() {
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -508,6 +559,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -517,21 +570,25 @@ public java.lang.String getName() {
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -541,16 +598,21 @@ public Builder setName(
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. API resource name for vulnerability resource.
      * Format:
@@ -560,24 +622,26 @@ public Builder clearName() {
      * can be provided.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -587,30 +651,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) - private static final com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest(); } - public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVulnerabilityReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVulnerabilityReportRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVulnerabilityReportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVulnerabilityReportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -622,9 +688,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequestOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequestOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequestOrBuilder.java index ceda0dd6..81b1bfc8 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/GetVulnerabilityReportRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; -public interface GetVulnerabilityReportRequestOrBuilder extends +public interface GetVulnerabilityReportRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. API resource name for vulnerability resource.
    * Format:
@@ -17,11 +35,16 @@ public interface GetVulnerabilityReportRequestOrBuilder extends
    * can be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. API resource name for vulnerability resource.
    * Format:
@@ -31,9 +54,11 @@ public interface GetVulnerabilityReportRequestOrBuilder extends
    * can be provided.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceName.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceName.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceName.java diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesCompliance.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesCompliance.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesCompliance.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesCompliance.java index e8de9ba9..809c335c 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesCompliance.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesCompliance.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1alpha/instance_os_policies_compliance.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * This API resource represents the OS policies compliance data for a Compute
  * Engine virtual machine (VM) instance at a given point in time.
@@ -18,15 +35,17 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance}
  */
-@java.lang.Deprecated public final class InstanceOSPoliciesCompliance extends
-    com.google.protobuf.GeneratedMessageV3 implements
+@java.lang.Deprecated
+public final class InstanceOSPoliciesCompliance extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance)
     InstanceOSPoliciesComplianceOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use InstanceOSPoliciesCompliance.newBuilder() to construct.
   private InstanceOSPoliciesCompliance(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private InstanceOSPoliciesCompliance() {
     name_ = "";
     instance_ = "";
@@ -39,16 +58,15 @@ private InstanceOSPoliciesCompliance() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new InstanceOSPoliciesCompliance();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private InstanceOSPoliciesCompliance(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -68,71 +86,86 @@ private InstanceOSPoliciesCompliance(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            instance_ = s;
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            state_ = rawValue;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              instance_ = s;
+              break;
+            }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            detailedState_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              state_ = rawValue;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            detailedStateReason_ = s;
-            break;
-          }
-          case 50: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              osPolicyCompliances_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              detailedState_ = s;
+              break;
             }
-            osPolicyCompliances_.add(
-                input.readMessage(com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.parser(), extensionRegistry));
-            break;
-          }
-          case 58: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (lastComplianceCheckTime_ != null) {
-              subBuilder = lastComplianceCheckTime_.toBuilder();
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              detailedStateReason_ = s;
+              break;
             }
-            lastComplianceCheckTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(lastComplianceCheckTime_);
-              lastComplianceCheckTime_ = subBuilder.buildPartial();
+          case 50:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                osPolicyCompliances_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance
+                            .OSPolicyCompliance>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              osPolicyCompliances_.add(
+                  input.readMessage(
+                      com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance
+                          .OSPolicyCompliance.parser(),
+                      extensionRegistry));
+              break;
             }
+          case 58:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (lastComplianceCheckTime_ != null) {
+                subBuilder = lastComplianceCheckTime_.toBuilder();
+              }
+              lastComplianceCheckTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(lastComplianceCheckTime_);
+                lastComplianceCheckTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 66: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 66:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            lastComplianceRunId_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              lastComplianceRunId_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -140,8 +173,7 @@ private InstanceOSPoliciesCompliance(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         osPolicyCompliances_ = java.util.Collections.unmodifiableList(osPolicyCompliances_);
@@ -150,44 +182,56 @@ private InstanceOSPoliciesCompliance(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+        .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+        .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.class, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder.class);
+            com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.class,
+            com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder.class);
   }
 
-  @java.lang.Deprecated public interface OSPolicyComplianceOrBuilder extends
+  @java.lang.Deprecated
+  public interface OSPolicyComplianceOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The OS policy id
      * 
* * string os_policy_id = 1; + * * @return The osPolicyId. */ java.lang.String getOsPolicyId(); /** + * + * *
      * The OS policy id
      * 
* * string os_policy_id = 1; + * * @return The bytes for osPolicyId. */ - com.google.protobuf.ByteString - getOsPolicyIdBytes(); + com.google.protobuf.ByteString getOsPolicyIdBytes(); /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -196,10 +240,13 @@ private InstanceOSPoliciesCompliance(
      * 
* * string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... } + * * @return The osPolicyAssignment. */ java.lang.String getOsPolicyAssignment(); /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -208,95 +255,127 @@ private InstanceOSPoliciesCompliance(
      * 
* * string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for osPolicyAssignment. */ - com.google.protobuf.ByteString - getOsPolicyAssignmentBytes(); + com.google.protobuf.ByteString getOsPolicyAssignmentBytes(); /** + * + * *
      * Compliance state of the OS policy.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
      * Compliance state of the OS policy.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4; + * * @return The state. */ com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState(); /** + * + * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ - java.util.List + java.util.List getOsPolicyResourceCompliancesList(); /** + * + * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index); + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance getOsPolicyResourceCompliances( + int index); /** + * + * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ int getOsPolicyResourceCompliancesCount(); /** + * + * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ - java.util.List + java.util.List getOsPolicyResourceCompliancesOrBuilderList(); /** + * + * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder( - int index); + com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder + getOsPolicyResourceCompliancesOrBuilder(int index); } /** + * + * *
    * Compliance data for an OS policy
    * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance} */ - @java.lang.Deprecated public static final class OSPolicyCompliance extends - com.google.protobuf.GeneratedMessageV3 implements + @java.lang.Deprecated + public static final class OSPolicyCompliance extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) OSPolicyComplianceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSPolicyCompliance.newBuilder() to construct. private OSPolicyCompliance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OSPolicyCompliance() { osPolicyId_ = ""; osPolicyAssignment_ = ""; @@ -306,16 +385,15 @@ private OSPolicyCompliance() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OSPolicyCompliance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OSPolicyCompliance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -335,40 +413,48 @@ private OSPolicyCompliance( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + osPolicyId_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyAssignment_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); + osPolicyAssignment_ = s; + break; + } + case 32: + { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + state_ = rawValue; + break; } - osPolicyResourceCompliances_.add( - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 42: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + osPolicyResourceCompliances_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance>(); + mutable_bitField0_ |= 0x00000001; + } + osPolicyResourceCompliances_.add( + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -376,37 +462,45 @@ private OSPolicyCompliance( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); + osPolicyResourceCompliances_ = + java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto + .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto + .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.class, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder.class); + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + .class, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + .Builder.class); } public static final int OS_POLICY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object osPolicyId_; /** + * + * *
      * The OS policy id
      * 
* * string os_policy_id = 1; + * * @return The osPolicyId. */ @java.lang.Override @@ -415,29 +509,29 @@ public java.lang.String getOsPolicyId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyId_ = s; return s; } } /** + * + * *
      * The OS policy id
      * 
* * string os_policy_id = 1; + * * @return The bytes for osPolicyId. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsPolicyIdBytes() { + public com.google.protobuf.ByteString getOsPolicyIdBytes() { java.lang.Object ref = osPolicyId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyId_ = b; return b; } else { @@ -448,6 +542,8 @@ public java.lang.String getOsPolicyId() { public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER = 2; private volatile java.lang.Object osPolicyAssignment_; /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -456,6 +552,7 @@ public java.lang.String getOsPolicyId() {
      * 
* * string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... } + * * @return The osPolicyAssignment. */ @java.lang.Override @@ -464,14 +561,15 @@ public java.lang.String getOsPolicyAssignment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; } } /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -480,16 +578,15 @@ public java.lang.String getOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for osPolicyAssignment. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -500,96 +597,132 @@ public java.lang.String getOsPolicyAssignment() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** + * + * *
      * Compliance state of the OS policy.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Compliance state of the OS policy.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4; + * * @return The state. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = + com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED + : result; } public static final int OS_POLICY_RESOURCE_COMPLIANCES_FIELD_NUMBER = 5; - private java.util.List osPolicyResourceCompliances_; + private java.util.List + osPolicyResourceCompliances_; /** + * + * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ @java.lang.Override - public java.util.List getOsPolicyResourceCompliancesList() { + public java.util.List + getOsPolicyResourceCompliancesList() { return osPolicyResourceCompliances_; } /** + * + * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder> getOsPolicyResourceCompliancesOrBuilderList() { return osPolicyResourceCompliances_; } /** + * + * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ @java.lang.Override public int getOsPolicyResourceCompliancesCount() { return osPolicyResourceCompliances_.size(); } /** + * + * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance + getOsPolicyResourceCompliances(int index) { return osPolicyResourceCompliances_.get(index); } /** + * + * *
      * Compliance data for each `OSPolicyResource` that is applied to the
      * VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder + getOsPolicyResourceCompliancesOrBuilder(int index) { return osPolicyResourceCompliances_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -601,15 +734,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osPolicyId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyAssignment_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, osPolicyAssignment_); } - if (state_ != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState + .OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, state_); } for (int i = 0; i < osPolicyResourceCompliances_.size(); i++) { @@ -630,13 +765,16 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyAssignment_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, osPolicyAssignment_); } - if (state_ != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, state_); + if (state_ + != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState + .OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); } for (int i = 0; i < osPolicyResourceCompliances_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, osPolicyResourceCompliances_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, osPolicyResourceCompliances_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -646,20 +784,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance other = (com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) obj; + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance other = + (com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) obj; - if (!getOsPolicyId() - .equals(other.getOsPolicyId())) return false; - if (!getOsPolicyAssignment() - .equals(other.getOsPolicyAssignment())) return false; + if (!getOsPolicyId().equals(other.getOsPolicyId())) return false; + if (!getOsPolicyAssignment().equals(other.getOsPolicyAssignment())) return false; if (state_ != other.state_) return false; - if (!getOsPolicyResourceCompliancesList() - .equals(other.getOsPolicyResourceCompliancesList())) return false; + if (!getOsPolicyResourceCompliancesList().equals(other.getOsPolicyResourceCompliancesList())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -686,88 +825,102 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + 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.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + 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.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance 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.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + 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.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance 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.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + 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.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -777,45 +930,54 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Compliance data for an OS policy
      * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto + .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto + .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.class, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder.class); + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + .class, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getOsPolicyResourceCompliancesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -835,19 +997,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto + .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance build() { - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + build() { + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -855,15 +1021,19 @@ public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCo } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance buildPartial() { - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance result = new com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance(this); + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + buildPartial() { + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance result = + new com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance( + this); int from_bitField0_ = bitField0_; result.osPolicyId_ = osPolicyId_; result.osPolicyAssignment_ = osPolicyAssignment_; result.state_ = state_; if (osPolicyResourceCompliancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); + osPolicyResourceCompliances_ = + java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); bitField0_ = (bitField0_ & ~0x00000001); } result.osPolicyResourceCompliances_ = osPolicyResourceCompliances_; @@ -878,46 +1048,56 @@ public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance other) { - if (other == com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance other) { + if (other + == com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + .getDefaultInstance()) return this; if (!other.getOsPolicyId().isEmpty()) { osPolicyId_ = other.osPolicyId_; onChanged(); @@ -947,11 +1127,13 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCom osPolicyResourceCompliancesBuilder_ = null; osPolicyResourceCompliances_ = other.osPolicyResourceCompliances_; bitField0_ = (bitField0_ & ~0x00000001); - osPolicyResourceCompliancesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOsPolicyResourceCompliancesFieldBuilder() : null; + osPolicyResourceCompliancesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOsPolicyResourceCompliancesFieldBuilder() + : null; } else { - osPolicyResourceCompliancesBuilder_.addAllMessages(other.osPolicyResourceCompliances_); + osPolicyResourceCompliancesBuilder_.addAllMessages( + other.osPolicyResourceCompliances_); } } } @@ -970,11 +1152,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance parsedMessage = null; + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -983,22 +1168,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object osPolicyId_ = ""; /** + * + * *
        * The OS policy id
        * 
* * string os_policy_id = 1; + * * @return The osPolicyId. */ public java.lang.String getOsPolicyId() { java.lang.Object ref = osPolicyId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyId_ = s; return s; @@ -1007,20 +1195,21 @@ public java.lang.String getOsPolicyId() { } } /** + * + * *
        * The OS policy id
        * 
* * string os_policy_id = 1; + * * @return The bytes for osPolicyId. */ - public com.google.protobuf.ByteString - getOsPolicyIdBytes() { + public com.google.protobuf.ByteString getOsPolicyIdBytes() { java.lang.Object ref = osPolicyId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyId_ = b; return b; } else { @@ -1028,54 +1217,61 @@ public java.lang.String getOsPolicyId() { } } /** + * + * *
        * The OS policy id
        * 
* * string os_policy_id = 1; + * * @param value The osPolicyId to set. * @return This builder for chaining. */ - public Builder setOsPolicyId( - java.lang.String value) { + public Builder setOsPolicyId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyId_ = value; onChanged(); return this; } /** + * + * *
        * The OS policy id
        * 
* * string os_policy_id = 1; + * * @return This builder for chaining. */ public Builder clearOsPolicyId() { - + osPolicyId_ = getDefaultInstance().getOsPolicyId(); onChanged(); return this; } /** + * + * *
        * The OS policy id
        * 
* * string os_policy_id = 1; + * * @param value The bytes for osPolicyId to set. * @return This builder for chaining. */ - public Builder setOsPolicyIdBytes( - com.google.protobuf.ByteString value) { + public Builder setOsPolicyIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyId_ = value; onChanged(); return this; @@ -1083,6 +1279,8 @@ public Builder setOsPolicyIdBytes( private java.lang.Object osPolicyAssignment_ = ""; /** + * + * *
        * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
        * belongs to.
@@ -1091,13 +1289,13 @@ public Builder setOsPolicyIdBytes(
        * 
* * string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... } + * * @return The osPolicyAssignment. */ public java.lang.String getOsPolicyAssignment() { java.lang.Object ref = osPolicyAssignment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; @@ -1106,6 +1304,8 @@ public java.lang.String getOsPolicyAssignment() { } } /** + * + * *
        * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
        * belongs to.
@@ -1114,15 +1314,14 @@ public java.lang.String getOsPolicyAssignment() {
        * 
* * string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for osPolicyAssignment. */ - public com.google.protobuf.ByteString - getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -1130,6 +1329,8 @@ public java.lang.String getOsPolicyAssignment() { } } /** + * + * *
        * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
        * belongs to.
@@ -1138,20 +1339,22 @@ public java.lang.String getOsPolicyAssignment() {
        * 
* * string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... } + * * @param value The osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignment( - java.lang.String value) { + public Builder setOsPolicyAssignment(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyAssignment_ = value; onChanged(); return this; } /** + * + * *
        * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
        * belongs to.
@@ -1160,15 +1363,18 @@ public Builder setOsPolicyAssignment(
        * 
* * string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearOsPolicyAssignment() { - + osPolicyAssignment_ = getDefaultInstance().getOsPolicyAssignment(); onChanged(); return this; } /** + * + * *
        * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
        * belongs to.
@@ -1177,16 +1383,16 @@ public Builder clearOsPolicyAssignment() {
        * 
* * string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignmentBytes( - com.google.protobuf.ByteString value) { + public Builder setOsPolicyAssignmentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyAssignment_ = value; onChanged(); return this; @@ -1194,51 +1400,67 @@ public Builder setOsPolicyAssignmentBytes( private int state_ = 0; /** + * + * *
        * Compliance state of the OS policy.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * Compliance state of the OS policy.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
        * Compliance state of the OS policy.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4; + * * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = + com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED + : result; } /** + * + * *
        * Compliance state of the OS policy.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4; + * * @param value The state to set. * @return This builder for chaining. */ @@ -1246,47 +1468,61 @@ public Builder setState(com.google.cloud.osconfig.v1alpha.OSPolicyComplianceStat if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Compliance state of the OS policy.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } - private java.util.List osPolicyResourceCompliances_ = - java.util.Collections.emptyList(); + private java.util.List + osPolicyResourceCompliances_ = java.util.Collections.emptyList(); + private void ensureOsPolicyResourceCompliancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = new java.util.ArrayList(osPolicyResourceCompliances_); + osPolicyResourceCompliances_ = + new java.util.ArrayList( + osPolicyResourceCompliances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder> osPolicyResourceCompliancesBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder> + osPolicyResourceCompliancesBuilder_; /** + * + * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ - public java.util.List getOsPolicyResourceCompliancesList() { + public java.util.List + getOsPolicyResourceCompliancesList() { if (osPolicyResourceCompliancesBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); } else { @@ -1294,12 +1530,16 @@ public java.util.List * Compliance data for each `OSPolicyResource` that is applied to the * VM. *
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ public int getOsPolicyResourceCompliancesCount() { if (osPolicyResourceCompliancesBuilder_ == null) { @@ -1309,14 +1549,19 @@ public int getOsPolicyResourceCompliancesCount() { } } /** + * + * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance + getOsPolicyResourceCompliances(int index) { if (osPolicyResourceCompliancesBuilder_ == null) { return osPolicyResourceCompliances_.get(index); } else { @@ -1324,12 +1569,16 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance getOsPolicyR } } /** + * + * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ public Builder setOsPolicyResourceCompliances( int index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance value) { @@ -1346,15 +1595,20 @@ public Builder setOsPolicyResourceCompliances( return this; } /** + * + * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ public Builder setOsPolicyResourceCompliances( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder builderForValue) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); osPolicyResourceCompliances_.set(index, builderForValue.build()); @@ -1365,14 +1619,19 @@ public Builder setOsPolicyResourceCompliances( return this; } /** + * + * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ - public Builder addOsPolicyResourceCompliances(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance value) { + public Builder addOsPolicyResourceCompliances( + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance value) { if (osPolicyResourceCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1386,12 +1645,16 @@ public Builder addOsPolicyResourceCompliances(com.google.cloud.osconfig.v1alpha. return this; } /** + * + * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ public Builder addOsPolicyResourceCompliances( int index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance value) { @@ -1408,12 +1671,16 @@ public Builder addOsPolicyResourceCompliances( return this; } /** + * + * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ public Builder addOsPolicyResourceCompliances( com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder builderForValue) { @@ -1427,15 +1694,20 @@ public Builder addOsPolicyResourceCompliances( return this; } /** + * + * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ public Builder addOsPolicyResourceCompliances( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder builderForValue) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); osPolicyResourceCompliances_.add(index, builderForValue.build()); @@ -1446,15 +1718,20 @@ public Builder addOsPolicyResourceCompliances( return this; } /** + * + * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ public Builder addAllOsPolicyResourceCompliances( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -1466,12 +1743,16 @@ public Builder addAllOsPolicyResourceCompliances( return this; } /** + * + * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ public Builder clearOsPolicyResourceCompliances() { if (osPolicyResourceCompliancesBuilder_ == null) { @@ -1484,12 +1765,16 @@ public Builder clearOsPolicyResourceCompliances() { return this; } /** + * + * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ public Builder removeOsPolicyResourceCompliances(int index) { if (osPolicyResourceCompliancesBuilder_ == null) { @@ -1502,42 +1787,56 @@ public Builder removeOsPolicyResourceCompliances(int index) { return this; } /** + * + * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder getOsPolicyResourceCompliancesBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder + getOsPolicyResourceCompliancesBuilder(int index) { return getOsPolicyResourceCompliancesFieldBuilder().getBuilder(index); } /** + * + * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder + getOsPolicyResourceCompliancesOrBuilder(int index) { if (osPolicyResourceCompliancesBuilder_ == null) { - return osPolicyResourceCompliances_.get(index); } else { + return osPolicyResourceCompliances_.get(index); + } else { return osPolicyResourceCompliancesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ - public java.util.List - getOsPolicyResourceCompliancesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder> + getOsPolicyResourceCompliancesOrBuilderList() { if (osPolicyResourceCompliancesBuilder_ != null) { return osPolicyResourceCompliancesBuilder_.getMessageOrBuilderList(); } else { @@ -1545,48 +1844,70 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder get } } /** + * + * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder addOsPolicyResourceCompliancesBuilder() { - return getOsPolicyResourceCompliancesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder + addOsPolicyResourceCompliancesBuilder() { + return getOsPolicyResourceCompliancesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.getDefaultInstance()); } /** + * + * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder addOsPolicyResourceCompliancesBuilder( - int index) { - return getOsPolicyResourceCompliancesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder + addOsPolicyResourceCompliancesBuilder(int index) { + return getOsPolicyResourceCompliancesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.getDefaultInstance()); } /** + * + * *
        * Compliance data for each `OSPolicyResource` that is applied to the
        * VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; + * */ - public java.util.List - getOsPolicyResourceCompliancesBuilderList() { + public java.util.List + getOsPolicyResourceCompliancesBuilderList() { return getOsPolicyResourceCompliancesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder> getOsPolicyResourceCompliancesFieldBuilder() { if (osPolicyResourceCompliancesBuilder_ == null) { - osPolicyResourceCompliancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder>( + osPolicyResourceCompliancesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder>( osPolicyResourceCompliances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1595,6 +1916,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder addO } return osPolicyResourceCompliancesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1607,30 +1929,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance) - private static final com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance + .OSPolicyCompliance + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance(); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyCompliance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyCompliance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyCompliance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyCompliance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1642,15 +1968,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The `InstanceOSPoliciesCompliance` API resource name.
    * Format:
@@ -1658,6 +1986,7 @@ public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCo
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -1666,14 +1995,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The `InstanceOSPoliciesCompliance` API resource name.
    * Format:
@@ -1681,16 +2011,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1701,11 +2030,14 @@ public java.lang.String getName() { public static final int INSTANCE_FIELD_NUMBER = 2; private volatile java.lang.Object instance_; /** + * + * *
    * Output only. The Compute Engine VM instance name.
    * 
* * string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The instance. */ @java.lang.Override @@ -1714,29 +2046,29 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** + * + * *
    * Output only. The Compute Engine VM instance name.
    * 
* * string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -1747,33 +2079,50 @@ public java.lang.String getInstance() { public static final int STATE_FIELD_NUMBER = 3; private int state_; /** + * + * *
    * Output only. Compliance state of the VM.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. Compliance state of the VM.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = + com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED + : result; } public static final int DETAILED_STATE_FIELD_NUMBER = 4; private volatile java.lang.Object detailedState_; /** + * + * *
    * Output only. Detailed compliance state of the VM.
    * This field is populated only when compliance state is `UNKNOWN`.
@@ -1790,6 +2139,7 @@ public java.lang.String getInstance() {
    * 
* * string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The detailedState. */ @java.lang.Override @@ -1798,14 +2148,15 @@ public java.lang.String getDetailedState() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detailedState_ = s; return s; } } /** + * + * *
    * Output only. Detailed compliance state of the VM.
    * This field is populated only when compliance state is `UNKNOWN`.
@@ -1822,16 +2173,15 @@ public java.lang.String getDetailedState() {
    * 
* * string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for detailedState. */ @java.lang.Override - public com.google.protobuf.ByteString - getDetailedStateBytes() { + public com.google.protobuf.ByteString getDetailedStateBytes() { java.lang.Object ref = detailedState_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); detailedState_ = b; return b; } else { @@ -1842,11 +2192,14 @@ public java.lang.String getDetailedState() { public static final int DETAILED_STATE_REASON_FIELD_NUMBER = 5; private volatile java.lang.Object detailedStateReason_; /** + * + * *
    * Output only. The reason for the `detailed_state` of the VM (if any).
    * 
* * string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The detailedStateReason. */ @java.lang.Override @@ -1855,29 +2208,29 @@ public java.lang.String getDetailedStateReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detailedStateReason_ = s; return s; } } /** + * + * *
    * Output only. The reason for the `detailed_state` of the VM (if any).
    * 
* * string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for detailedStateReason. */ @java.lang.Override - public com.google.protobuf.ByteString - getDetailedStateReasonBytes() { + public com.google.protobuf.ByteString getDetailedStateReasonBytes() { java.lang.Object ref = detailedStateReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); detailedStateReason_ = b; return b; } else { @@ -1886,73 +2239,106 @@ public java.lang.String getDetailedStateReason() { } public static final int OS_POLICY_COMPLIANCES_FIELD_NUMBER = 6; - private java.util.List osPolicyCompliances_; + private java.util.List< + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance> + osPolicyCompliances_; /** + * + * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getOsPolicyCompliancesList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance> + getOsPolicyCompliancesList() { return osPolicyCompliances_; } /** + * + * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance + .OSPolicyComplianceOrBuilder> getOsPolicyCompliancesOrBuilderList() { return osPolicyCompliances_; } /** + * + * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getOsPolicyCompliancesCount() { return osPolicyCompliances_.size(); } /** + * + * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance getOsPolicyCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + getOsPolicyCompliances(int index) { return osPolicyCompliances_.get(index); } /** + * + * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder + getOsPolicyCompliancesOrBuilder(int index) { return osPolicyCompliances_.get(index); } public static final int LAST_COMPLIANCE_CHECK_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp lastComplianceCheckTime_; /** + * + * *
    * Output only. Timestamp of the last compliance check for the VM.
    * 
* - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastComplianceCheckTime field is set. */ @java.lang.Override @@ -1960,23 +2346,34 @@ public boolean hasLastComplianceCheckTime() { return lastComplianceCheckTime_ != null; } /** + * + * *
    * Output only. Timestamp of the last compliance check for the VM.
    * 
* - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastComplianceCheckTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastComplianceCheckTime() { - return lastComplianceCheckTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastComplianceCheckTime_; + return lastComplianceCheckTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastComplianceCheckTime_; } /** + * + * *
    * Output only. Timestamp of the last compliance check for the VM.
    * 
* - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastComplianceCheckTimeOrBuilder() { @@ -1986,6 +2383,8 @@ public com.google.protobuf.TimestampOrBuilder getLastComplianceCheckTimeOrBuilde public static final int LAST_COMPLIANCE_RUN_ID_FIELD_NUMBER = 8; private volatile java.lang.Object lastComplianceRunId_; /** + * + * *
    * Output only. Unique identifier for the last compliance run.
    * This id will be logged by the OS config agent during a compliance run and
@@ -1993,6 +2392,7 @@ public com.google.protobuf.TimestampOrBuilder getLastComplianceCheckTimeOrBuilde
    * 
* * string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The lastComplianceRunId. */ @java.lang.Override @@ -2001,14 +2401,15 @@ public java.lang.String getLastComplianceRunId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastComplianceRunId_ = s; return s; } } /** + * + * *
    * Output only. Unique identifier for the last compliance run.
    * This id will be logged by the OS config agent during a compliance run and
@@ -2016,16 +2417,15 @@ public java.lang.String getLastComplianceRunId() {
    * 
* * string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for lastComplianceRunId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLastComplianceRunIdBytes() { + public com.google.protobuf.ByteString getLastComplianceRunIdBytes() { java.lang.Object ref = lastComplianceRunId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lastComplianceRunId_ = b; return b; } else { @@ -2034,6 +2434,7 @@ public java.lang.String getLastComplianceRunId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2045,15 +2446,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instance_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, instance_); } - if (state_ != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState + .OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(detailedState_)) { @@ -2086,9 +2489,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instance_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instance_); } - if (state_ != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, state_); + if (state_ + != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState + .OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(detailedState_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, detailedState_); @@ -2097,12 +2502,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, detailedStateReason_); } for (int i = 0; i < osPolicyCompliances_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, osPolicyCompliances_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(6, osPolicyCompliances_.get(i)); } if (lastComplianceCheckTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getLastComplianceCheckTime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(7, getLastComplianceCheckTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lastComplianceRunId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, lastComplianceRunId_); @@ -2115,31 +2520,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance other = (com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance) obj; + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance other = + (com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getInstance() - .equals(other.getInstance())) return false; + if (!getName().equals(other.getName())) return false; + if (!getInstance().equals(other.getInstance())) return false; if (state_ != other.state_) return false; - if (!getDetailedState() - .equals(other.getDetailedState())) return false; - if (!getDetailedStateReason() - .equals(other.getDetailedStateReason())) return false; - if (!getOsPolicyCompliancesList() - .equals(other.getOsPolicyCompliancesList())) return false; + if (!getDetailedState().equals(other.getDetailedState())) return false; + if (!getDetailedStateReason().equals(other.getDetailedStateReason())) return false; + if (!getOsPolicyCompliancesList().equals(other.getOsPolicyCompliancesList())) return false; if (hasLastComplianceCheckTime() != other.hasLastComplianceCheckTime()) return false; if (hasLastComplianceCheckTime()) { - if (!getLastComplianceCheckTime() - .equals(other.getLastComplianceCheckTime())) return false; + if (!getLastComplianceCheckTime().equals(other.getLastComplianceCheckTime())) return false; } - if (!getLastComplianceRunId() - .equals(other.getLastComplianceRunId())) return false; + if (!getLastComplianceRunId().equals(other.getLastComplianceRunId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2177,96 +2576,104 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance 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.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * This API resource represents the OS policies compliance data for a Compute
    * Engine virtual machine (VM) instance at a given point in time.
@@ -2281,21 +2688,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance)
       com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+          .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+          .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.class, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder.class);
+              com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.class,
+              com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.newBuilder()
@@ -2303,17 +2712,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getOsPolicyCompliancesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2345,13 +2754,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+          .internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance getDefaultInstanceForType() {
+    public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance
+        getDefaultInstanceForType() {
       return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.getDefaultInstance();
     }
 
@@ -2366,7 +2776,8 @@ public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance buildPartial() {
-      com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance result = new com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance(this);
+      com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance result =
+          new com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.instance_ = instance_;
@@ -2396,38 +2807,39 @@ public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance buildParti
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.InstanceOSPoliciesCompliance) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance)other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2435,7 +2847,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance other) {
-      if (other == com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -2473,9 +2887,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCom
             osPolicyCompliancesBuilder_ = null;
             osPolicyCompliances_ = other.osPolicyCompliances_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            osPolicyCompliancesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getOsPolicyCompliancesFieldBuilder() : null;
+            osPolicyCompliancesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getOsPolicyCompliancesFieldBuilder()
+                    : null;
           } else {
             osPolicyCompliancesBuilder_.addAllMessages(other.osPolicyCompliances_);
           }
@@ -2507,7 +2922,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -2516,10 +2933,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The `InstanceOSPoliciesCompliance` API resource name.
      * Format:
@@ -2527,13 +2947,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2542,6 +2962,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The `InstanceOSPoliciesCompliance` API resource name.
      * Format:
@@ -2549,15 +2971,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2565,6 +2986,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The `InstanceOSPoliciesCompliance` API resource name.
      * Format:
@@ -2572,20 +2995,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The `InstanceOSPoliciesCompliance` API resource name.
      * Format:
@@ -2593,15 +3018,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The `InstanceOSPoliciesCompliance` API resource name.
      * Format:
@@ -2609,16 +3037,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2626,18 +3054,20 @@ public Builder setNameBytes( private java.lang.Object instance_ = ""; /** + * + * *
      * Output only. The Compute Engine VM instance name.
      * 
* * string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -2646,20 +3076,21 @@ public java.lang.String getInstance() { } } /** + * + * *
      * Output only. The Compute Engine VM instance name.
      * 
* * string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for instance. */ - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -2667,54 +3098,61 @@ public java.lang.String getInstance() { } } /** + * + * *
      * Output only. The Compute Engine VM instance name.
      * 
* * string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance( - java.lang.String value) { + public Builder setInstance(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Compute Engine VM instance name.
      * 
* * string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** + * + * *
      * Output only. The Compute Engine VM instance name.
      * 
* * string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -2722,51 +3160,75 @@ public Builder setInstanceBytes( private int state_ = 0; /** + * + * *
      * Output only. Compliance state of the VM.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. Compliance state of the VM.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Compliance state of the VM.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = + com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. Compliance state of the VM.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2774,21 +3236,26 @@ public Builder setState(com.google.cloud.osconfig.v1alpha.OSPolicyComplianceStat if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. Compliance state of the VM.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2796,6 +3263,8 @@ public Builder clearState() { private java.lang.Object detailedState_ = ""; /** + * + * *
      * Output only. Detailed compliance state of the VM.
      * This field is populated only when compliance state is `UNKNOWN`.
@@ -2812,13 +3281,13 @@ public Builder clearState() {
      * 
* * string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The detailedState. */ public java.lang.String getDetailedState() { java.lang.Object ref = detailedState_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detailedState_ = s; return s; @@ -2827,6 +3296,8 @@ public java.lang.String getDetailedState() { } } /** + * + * *
      * Output only. Detailed compliance state of the VM.
      * This field is populated only when compliance state is `UNKNOWN`.
@@ -2843,15 +3314,14 @@ public java.lang.String getDetailedState() {
      * 
* * string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for detailedState. */ - public com.google.protobuf.ByteString - getDetailedStateBytes() { + public com.google.protobuf.ByteString getDetailedStateBytes() { java.lang.Object ref = detailedState_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); detailedState_ = b; return b; } else { @@ -2859,6 +3329,8 @@ public java.lang.String getDetailedState() { } } /** + * + * *
      * Output only. Detailed compliance state of the VM.
      * This field is populated only when compliance state is `UNKNOWN`.
@@ -2875,20 +3347,22 @@ public java.lang.String getDetailedState() {
      * 
* * string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The detailedState to set. * @return This builder for chaining. */ - public Builder setDetailedState( - java.lang.String value) { + public Builder setDetailedState(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + detailedState_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Detailed compliance state of the VM.
      * This field is populated only when compliance state is `UNKNOWN`.
@@ -2905,15 +3379,18 @@ public Builder setDetailedState(
      * 
* * string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDetailedState() { - + detailedState_ = getDefaultInstance().getDetailedState(); onChanged(); return this; } /** + * + * *
      * Output only. Detailed compliance state of the VM.
      * This field is populated only when compliance state is `UNKNOWN`.
@@ -2930,16 +3407,16 @@ public Builder clearDetailedState() {
      * 
* * string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for detailedState to set. * @return This builder for chaining. */ - public Builder setDetailedStateBytes( - com.google.protobuf.ByteString value) { + public Builder setDetailedStateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + detailedState_ = value; onChanged(); return this; @@ -2947,18 +3424,20 @@ public Builder setDetailedStateBytes( private java.lang.Object detailedStateReason_ = ""; /** + * + * *
      * Output only. The reason for the `detailed_state` of the VM (if any).
      * 
* * string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The detailedStateReason. */ public java.lang.String getDetailedStateReason() { java.lang.Object ref = detailedStateReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detailedStateReason_ = s; return s; @@ -2967,20 +3446,21 @@ public java.lang.String getDetailedStateReason() { } } /** + * + * *
      * Output only. The reason for the `detailed_state` of the VM (if any).
      * 
* * string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for detailedStateReason. */ - public com.google.protobuf.ByteString - getDetailedStateReasonBytes() { + public com.google.protobuf.ByteString getDetailedStateReasonBytes() { java.lang.Object ref = detailedStateReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); detailedStateReason_ = b; return b; } else { @@ -2988,79 +3468,102 @@ public java.lang.String getDetailedStateReason() { } } /** + * + * *
      * Output only. The reason for the `detailed_state` of the VM (if any).
      * 
* * string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The detailedStateReason to set. * @return This builder for chaining. */ - public Builder setDetailedStateReason( - java.lang.String value) { + public Builder setDetailedStateReason(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + detailedStateReason_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The reason for the `detailed_state` of the VM (if any).
      * 
* * string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDetailedStateReason() { - + detailedStateReason_ = getDefaultInstance().getDetailedStateReason(); onChanged(); return this; } /** + * + * *
      * Output only. The reason for the `detailed_state` of the VM (if any).
      * 
* * string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for detailedStateReason to set. * @return This builder for chaining. */ - public Builder setDetailedStateReasonBytes( - com.google.protobuf.ByteString value) { + public Builder setDetailedStateReasonBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + detailedStateReason_ = value; onChanged(); return this; } - private java.util.List osPolicyCompliances_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance> + osPolicyCompliances_ = java.util.Collections.emptyList(); + private void ensureOsPolicyCompliancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyCompliances_ = new java.util.ArrayList(osPolicyCompliances_); + osPolicyCompliances_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance>( + osPolicyCompliances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder> osPolicyCompliancesBuilder_; + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + .Builder, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance + .OSPolicyComplianceOrBuilder> + osPolicyCompliancesBuilder_; /** + * + * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getOsPolicyCompliancesList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance> + getOsPolicyCompliancesList() { if (osPolicyCompliancesBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyCompliances_); } else { @@ -3068,11 +3571,15 @@ public java.util.List * Output only. Compliance data for each `OSPolicy` that is applied to the VM. *
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getOsPolicyCompliancesCount() { if (osPolicyCompliancesBuilder_ == null) { @@ -3082,13 +3589,18 @@ public int getOsPolicyCompliancesCount() { } } /** + * + * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance getOsPolicyCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + getOsPolicyCompliances(int index) { if (osPolicyCompliancesBuilder_ == null) { return osPolicyCompliances_.get(index); } else { @@ -3096,14 +3608,19 @@ public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCo } } /** + * + * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOsPolicyCompliances( - int index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance value) { + int index, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance value) { if (osPolicyCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3117,14 +3634,20 @@ public Builder setOsPolicyCompliances( return this; } /** + * + * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOsPolicyCompliances( - int index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder + builderForValue) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); osPolicyCompliances_.set(index, builderForValue.build()); @@ -3135,13 +3658,18 @@ public Builder setOsPolicyCompliances( return this; } /** + * + * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addOsPolicyCompliances(com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance value) { + public Builder addOsPolicyCompliances( + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance value) { if (osPolicyCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3155,14 +3683,19 @@ public Builder addOsPolicyCompliances(com.google.cloud.osconfig.v1alpha.Instance return this; } /** + * + * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addOsPolicyCompliances( - int index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance value) { + int index, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance value) { if (osPolicyCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3176,14 +3709,19 @@ public Builder addOsPolicyCompliances( return this; } /** + * + * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addOsPolicyCompliances( - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder + builderForValue) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); osPolicyCompliances_.add(builderForValue.build()); @@ -3194,14 +3732,20 @@ public Builder addOsPolicyCompliances( return this; } /** + * + * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addOsPolicyCompliances( - int index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder + builderForValue) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); osPolicyCompliances_.add(index, builderForValue.build()); @@ -3212,18 +3756,25 @@ public Builder addOsPolicyCompliances( return this; } /** + * + * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllOsPolicyCompliances( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance + .OSPolicyCompliance> + values) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, osPolicyCompliances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicyCompliances_); onChanged(); } else { osPolicyCompliancesBuilder_.addAllMessages(values); @@ -3231,11 +3782,15 @@ public Builder addAllOsPolicyCompliances( return this; } /** + * + * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearOsPolicyCompliances() { if (osPolicyCompliancesBuilder_ == null) { @@ -3248,11 +3803,15 @@ public Builder clearOsPolicyCompliances() { return this; } /** + * + * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeOsPolicyCompliances(int index) { if (osPolicyCompliancesBuilder_ == null) { @@ -3265,39 +3824,56 @@ public Builder removeOsPolicyCompliances(int index) { return this; } /** + * + * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder getOsPolicyCompliancesBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder + getOsPolicyCompliancesBuilder(int index) { return getOsPolicyCompliancesFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance + .OSPolicyComplianceOrBuilder + getOsPolicyCompliancesOrBuilder(int index) { if (osPolicyCompliancesBuilder_ == null) { - return osPolicyCompliances_.get(index); } else { + return osPolicyCompliances_.get(index); + } else { return osPolicyCompliancesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getOsPolicyCompliancesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance + .OSPolicyComplianceOrBuilder> + getOsPolicyCompliancesOrBuilderList() { if (osPolicyCompliancesBuilder_ != null) { return osPolicyCompliancesBuilder_.getMessageOrBuilderList(); } else { @@ -3305,45 +3881,75 @@ public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCo } } /** + * + * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder addOsPolicyCompliancesBuilder() { - return getOsPolicyCompliancesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder + addOsPolicyCompliancesBuilder() { + return getOsPolicyCompliancesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + .getDefaultInstance()); } /** + * + * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder addOsPolicyCompliancesBuilder( - int index) { - return getOsPolicyCompliancesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder + addOsPolicyCompliancesBuilder(int index) { + return getOsPolicyCompliancesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + .getDefaultInstance()); } /** + * + * *
      * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getOsPolicyCompliancesBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + .Builder> + getOsPolicyCompliancesBuilderList() { return getOsPolicyCompliancesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder> + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + .Builder, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance + .OSPolicyComplianceOrBuilder> getOsPolicyCompliancesFieldBuilder() { if (osPolicyCompliancesBuilder_ == null) { - osPolicyCompliancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder>( + osPolicyCompliancesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + .Builder, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance + .OSPolicyComplianceOrBuilder>( osPolicyCompliances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3355,39 +3961,58 @@ public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCo private com.google.protobuf.Timestamp lastComplianceCheckTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastComplianceCheckTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastComplianceCheckTimeBuilder_; /** + * + * *
      * Output only. Timestamp of the last compliance check for the VM.
      * 
* - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastComplianceCheckTime field is set. */ public boolean hasLastComplianceCheckTime() { return lastComplianceCheckTimeBuilder_ != null || lastComplianceCheckTime_ != null; } /** + * + * *
      * Output only. Timestamp of the last compliance check for the VM.
      * 
* - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastComplianceCheckTime. */ public com.google.protobuf.Timestamp getLastComplianceCheckTime() { if (lastComplianceCheckTimeBuilder_ == null) { - return lastComplianceCheckTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastComplianceCheckTime_; + return lastComplianceCheckTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastComplianceCheckTime_; } else { return lastComplianceCheckTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Timestamp of the last compliance check for the VM.
      * 
* - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setLastComplianceCheckTime(com.google.protobuf.Timestamp value) { if (lastComplianceCheckTimeBuilder_ == null) { @@ -3403,11 +4028,15 @@ public Builder setLastComplianceCheckTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Timestamp of the last compliance check for the VM.
      * 
* - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setLastComplianceCheckTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -3421,17 +4050,23 @@ public Builder setLastComplianceCheckTime( return this; } /** + * + * *
      * Output only. Timestamp of the last compliance check for the VM.
      * 
* - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeLastComplianceCheckTime(com.google.protobuf.Timestamp value) { if (lastComplianceCheckTimeBuilder_ == null) { if (lastComplianceCheckTime_ != null) { lastComplianceCheckTime_ = - com.google.protobuf.Timestamp.newBuilder(lastComplianceCheckTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastComplianceCheckTime_) + .mergeFrom(value) + .buildPartial(); } else { lastComplianceCheckTime_ = value; } @@ -3443,11 +4078,15 @@ public Builder mergeLastComplianceCheckTime(com.google.protobuf.Timestamp value) return this; } /** + * + * *
      * Output only. Timestamp of the last compliance check for the VM.
      * 
* - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearLastComplianceCheckTime() { if (lastComplianceCheckTimeBuilder_ == null) { @@ -3461,48 +4100,64 @@ public Builder clearLastComplianceCheckTime() { return this; } /** + * + * *
      * Output only. Timestamp of the last compliance check for the VM.
      * 
* - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getLastComplianceCheckTimeBuilder() { - + onChanged(); return getLastComplianceCheckTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Timestamp of the last compliance check for the VM.
      * 
* - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getLastComplianceCheckTimeOrBuilder() { if (lastComplianceCheckTimeBuilder_ != null) { return lastComplianceCheckTimeBuilder_.getMessageOrBuilder(); } else { - return lastComplianceCheckTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : lastComplianceCheckTime_; + return lastComplianceCheckTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastComplianceCheckTime_; } } /** + * + * *
      * Output only. Timestamp of the last compliance check for the VM.
      * 
* - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getLastComplianceCheckTimeFieldBuilder() { if (lastComplianceCheckTimeBuilder_ == null) { - lastComplianceCheckTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLastComplianceCheckTime(), - getParentForChildren(), - isClean()); + lastComplianceCheckTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastComplianceCheckTime(), getParentForChildren(), isClean()); lastComplianceCheckTime_ = null; } return lastComplianceCheckTimeBuilder_; @@ -3510,6 +4165,8 @@ public com.google.protobuf.TimestampOrBuilder getLastComplianceCheckTimeOrBuilde private java.lang.Object lastComplianceRunId_ = ""; /** + * + * *
      * Output only. Unique identifier for the last compliance run.
      * This id will be logged by the OS config agent during a compliance run and
@@ -3517,13 +4174,13 @@ public com.google.protobuf.TimestampOrBuilder getLastComplianceCheckTimeOrBuilde
      * 
* * string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The lastComplianceRunId. */ public java.lang.String getLastComplianceRunId() { java.lang.Object ref = lastComplianceRunId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastComplianceRunId_ = s; return s; @@ -3532,6 +4189,8 @@ public java.lang.String getLastComplianceRunId() { } } /** + * + * *
      * Output only. Unique identifier for the last compliance run.
      * This id will be logged by the OS config agent during a compliance run and
@@ -3539,15 +4198,14 @@ public java.lang.String getLastComplianceRunId() {
      * 
* * string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for lastComplianceRunId. */ - public com.google.protobuf.ByteString - getLastComplianceRunIdBytes() { + public com.google.protobuf.ByteString getLastComplianceRunIdBytes() { java.lang.Object ref = lastComplianceRunId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lastComplianceRunId_ = b; return b; } else { @@ -3555,6 +4213,8 @@ public java.lang.String getLastComplianceRunId() { } } /** + * + * *
      * Output only. Unique identifier for the last compliance run.
      * This id will be logged by the OS config agent during a compliance run and
@@ -3562,20 +4222,22 @@ public java.lang.String getLastComplianceRunId() {
      * 
* * string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The lastComplianceRunId to set. * @return This builder for chaining. */ - public Builder setLastComplianceRunId( - java.lang.String value) { + public Builder setLastComplianceRunId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + lastComplianceRunId_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Unique identifier for the last compliance run.
      * This id will be logged by the OS config agent during a compliance run and
@@ -3583,15 +4245,18 @@ public Builder setLastComplianceRunId(
      * 
* * string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearLastComplianceRunId() { - + lastComplianceRunId_ = getDefaultInstance().getLastComplianceRunId(); onChanged(); return this; } /** + * + * *
      * Output only. Unique identifier for the last compliance run.
      * This id will be logged by the OS config agent during a compliance run and
@@ -3599,23 +4264,23 @@ public Builder clearLastComplianceRunId() {
      * 
* * string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for lastComplianceRunId to set. * @return This builder for chaining. */ - public Builder setLastComplianceRunIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLastComplianceRunIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + lastComplianceRunId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3625,30 +4290,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance) - private static final com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance(); } - public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstanceOSPoliciesCompliance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstanceOSPoliciesCompliance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceOSPoliciesCompliance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstanceOSPoliciesCompliance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3660,9 +4327,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceName.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceName.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceName.java diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceOrBuilder.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceOrBuilder.java index 35c96724..73a89111 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceOrBuilder.java @@ -1,13 +1,32 @@ +/* + * 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/osconfig/v1alpha/instance_os_policies_compliance.proto package com.google.cloud.osconfig.v1alpha; -@java.lang.Deprecated public interface InstanceOSPoliciesComplianceOrBuilder extends +@java.lang.Deprecated +public interface InstanceOSPoliciesComplianceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The `InstanceOSPoliciesCompliance` API resource name.
    * Format:
@@ -15,10 +34,13 @@
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The `InstanceOSPoliciesCompliance` API resource name.
    * Format:
@@ -26,51 +48,68 @@
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The Compute Engine VM instance name.
    * 
* * string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The instance. */ java.lang.String getInstance(); /** + * + * *
    * Output only. The Compute Engine VM instance name.
    * 
* * string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for instance. */ - com.google.protobuf.ByteString - getInstanceBytes(); + com.google.protobuf.ByteString getInstanceBytes(); /** + * + * *
    * Output only. Compliance state of the VM.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Compliance state of the VM.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState(); /** + * + * *
    * Output only. Detailed compliance state of the VM.
    * This field is populated only when compliance state is `UNKNOWN`.
@@ -87,10 +126,13 @@
    * 
* * string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The detailedState. */ java.lang.String getDetailedState(); /** + * + * *
    * Output only. Detailed compliance state of the VM.
    * This field is populated only when compliance state is `UNKNOWN`.
@@ -107,103 +149,148 @@
    * 
* * string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for detailedState. */ - com.google.protobuf.ByteString - getDetailedStateBytes(); + com.google.protobuf.ByteString getDetailedStateBytes(); /** + * + * *
    * Output only. The reason for the `detailed_state` of the VM (if any).
    * 
* * string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The detailedStateReason. */ java.lang.String getDetailedStateReason(); /** + * + * *
    * Output only. The reason for the `detailed_state` of the VM (if any).
    * 
* * string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for detailedStateReason. */ - com.google.protobuf.ByteString - getDetailedStateReasonBytes(); + com.google.protobuf.ByteString getDetailedStateReasonBytes(); /** + * + * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getOsPolicyCompliancesList(); /** + * + * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance getOsPolicyCompliances(int index); + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance + getOsPolicyCompliances(int index); /** + * + * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getOsPolicyCompliancesCount(); /** + * + * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance + .OSPolicyComplianceOrBuilder> getOsPolicyCompliancesOrBuilderList(); /** + * + * *
    * Output only. Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder( - int index); + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder + getOsPolicyCompliancesOrBuilder(int index); /** + * + * *
    * Output only. Timestamp of the last compliance check for the VM.
    * 
* - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastComplianceCheckTime field is set. */ boolean hasLastComplianceCheckTime(); /** + * + * *
    * Output only. Timestamp of the last compliance check for the VM.
    * 
* - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastComplianceCheckTime. */ com.google.protobuf.Timestamp getLastComplianceCheckTime(); /** + * + * *
    * Output only. Timestamp of the last compliance check for the VM.
    * 
* - * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getLastComplianceCheckTimeOrBuilder(); /** + * + * *
    * Output only. Unique identifier for the last compliance run.
    * This id will be logged by the OS config agent during a compliance run and
@@ -211,10 +298,13 @@ com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianc
    * 
* * string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The lastComplianceRunId. */ java.lang.String getLastComplianceRunId(); /** + * + * *
    * Output only. Unique identifier for the last compliance run.
    * This id will be logged by the OS config agent during a compliance run and
@@ -222,8 +312,8 @@ com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianc
    * 
* * string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for lastComplianceRunId. */ - com.google.protobuf.ByteString - getLastComplianceRunIdBytes(); + com.google.protobuf.ByteString getLastComplianceRunIdBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java new file mode 100644 index 00000000..15674d9c --- /dev/null +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java @@ -0,0 +1,181 @@ +/* + * 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/osconfig/v1alpha/instance_os_policies_compliance.proto + +package com.google.cloud.osconfig.v1alpha; + +public final class InstanceOSPoliciesComplianceProto { + private InstanceOSPoliciesComplianceProto() {} + + 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_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\nCgoogle/cloud/osconfig/v1alpha/instance" + + "_os_policies_compliance.proto\022\035google.cl" + + "oud.osconfig.v1alpha\032\034google/api/annotat" + + "ions.proto\032\037google/api/field_behavior.pr" + + "oto\032\031google/api/resource.proto\0321google/c" + + "loud/osconfig/v1alpha/config_common.prot" + + "o\032\037google/protobuf/timestamp.proto\"\356\006\n\034I" + + "nstanceOSPoliciesCompliance\022\021\n\004name\030\001 \001(" + + "\tB\003\340A\003\022\025\n\010instance\030\002 \001(\tB\003\340A\003\022J\n\005state\030\003" + + " \001(\01626.google.cloud.osconfig.v1alpha.OSP" + + "olicyComplianceStateB\003\340A\003\022\033\n\016detailed_st" + + "ate\030\004 \001(\tB\003\340A\003\022\"\n\025detailed_state_reason\030" + + "\005 \001(\tB\003\340A\003\022r\n\025os_policy_compliances\030\006 \003(" + + "\0132N.google.cloud.osconfig.v1alpha.Instan" + + "ceOSPoliciesCompliance.OSPolicyComplianc" + + "eB\003\340A\003\022C\n\032last_compliance_check_time\030\007 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022#\n\026l" + + "ast_compliance_run_id\030\010 \001(\tB\003\340A\003\032\247\002\n\022OSP" + + "olicyCompliance\022\024\n\014os_policy_id\030\001 \001(\t\022M\n" + + "\024os_policy_assignment\030\002 \001(\tB/\372A,\n*osconf" + + "ig.googleapis.com/OSPolicyAssignment\022E\n\005" + + "state\030\004 \001(\01626.google.cloud.osconfig.v1al" + + "pha.OSPolicyComplianceState\022a\n\036os_policy" + + "_resource_compliances\030\005 \003(\01329.google.clo" + + "ud.osconfig.v1alpha.OSPolicyResourceComp" + + "liance:\002\030\001:\216\001\030\001\352A\210\001\n4osconfig.googleapis" + + ".com/InstanceOSPoliciesCompliance\022Pproje" + + "cts/{project}/locations/{location}/insta" + + "nceOSPoliciesCompliances/{instance}\"x\n&G" + + "etInstanceOSPoliciesComplianceRequest\022J\n" + + "\004name\030\001 \001(\tB<\340A\002\372A6\n4osconfig.googleapis" + + ".com/InstanceOSPoliciesCompliance:\002\030\001\"\240\001" + + "\n(ListInstanceOSPoliciesCompliancesReque" + + "st\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.go" + + "ogleapis.com/Location\022\021\n\tpage_size\030\002 \001(\005" + + "\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t:\002\030\001" + + "\"\257\001\n)ListInstanceOSPoliciesCompliancesRe" + + "sponse\022e\n instance_os_policies_complianc" + + "es\030\001 \003(\0132;.google.cloud.osconfig.v1alpha" + + ".InstanceOSPoliciesCompliance\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t:\002\030\001B\362\001\n!com.google.cloud." + + "osconfig.v1alphaB!InstanceOSPoliciesComp" + + "lianceProtoP\001ZEgoogle.golang.org/genprot" + + "o/googleapis/cloud/osconfig/v1alpha;osco" + + "nfig\252\002\035Google.Cloud.OsConfig.V1Alpha\312\002\035G" + + "oogle\\Cloud\\OsConfig\\V1alpha\352\002 Google::C" + + "loud::OsConfig::V1alphab\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.osconfig.v1alpha.ConfigCommonProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor, + new java.lang.String[] { + "Name", + "Instance", + "State", + "DetailedState", + "DetailedStateReason", + "OsPolicyCompliances", + "LastComplianceCheckTime", + "LastComplianceRunId", + }); + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor = + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_InstanceOSPoliciesCompliance_OSPolicyCompliance_descriptor, + new java.lang.String[] { + "OsPolicyId", "OsPolicyAssignment", "State", "OsPolicyResourceCompliances", + }); + internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_GetInstanceOSPoliciesComplianceRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", + }); + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor, + new java.lang.String[] { + "InstanceOsPoliciesCompliances", "NextPageToken", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.osconfig.v1alpha.ConfigCommonProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPolicyAssignmentName.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPolicyAssignmentName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPolicyAssignmentName.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPolicyAssignmentName.java diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java new file mode 100644 index 00000000..79399bf8 --- /dev/null +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java @@ -0,0 +1,363 @@ +/* + * 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/osconfig/v1alpha/inventory.proto + +package com.google.cloud.osconfig.v1alpha; + +public final class Inventories { + private Inventories() {} + + 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_osconfig_v1alpha_Inventory_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n-google/cloud/osconfig/v1alpha/inventor" + + "y.proto\022\035google.cloud.osconfig.v1alpha\032\034" + + "google/api/annotations.proto\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\037google/protobuf/timestamp.prot" + + "o\032\026google/type/date.proto\"\267\026\n\tInventory\022" + + "\021\n\004name\030\003 \001(\tB\003\340A\003\022E\n\007os_info\030\001 \001(\0132/.go" + + "ogle.cloud.osconfig.v1alpha.Inventory.Os" + + "InfoB\003\340A\003\022G\n\005items\030\002 \003(\01323.google.cloud." + + "osconfig.v1alpha.Inventory.ItemsEntryB\003\340" + + "A\003\0224\n\013update_time\030\004 \001(\0132\032.google.protobu" + + "f.TimestampB\003\340A\003\032\270\001\n\006OsInfo\022\020\n\010hostname\030" + + "\t \001(\t\022\021\n\tlong_name\030\002 \001(\t\022\022\n\nshort_name\030\003" + + " \001(\t\022\017\n\007version\030\004 \001(\t\022\024\n\014architecture\030\005 " + + "\001(\t\022\026\n\016kernel_version\030\006 \001(\t\022\026\n\016kernel_re" + + "lease\030\007 \001(\t\022\036\n\026osconfig_agent_version\030\010 " + + "\001(\t\032\313\004\n\004Item\022\n\n\002id\030\001 \001(\t\022M\n\013origin_type\030" + + "\002 \001(\01628.google.cloud.osconfig.v1alpha.In" + + "ventory.Item.OriginType\022/\n\013create_time\030\010" + + " \001(\0132\032.google.protobuf.Timestamp\022/\n\013upda" + + "te_time\030\t \001(\0132\032.google.protobuf.Timestam" + + "p\022@\n\004type\030\005 \001(\01622.google.cloud.osconfig." + + "v1alpha.Inventory.Item.Type\022U\n\021installed" + + "_package\030\006 \001(\01328.google.cloud.osconfig.v" + + "1alpha.Inventory.SoftwarePackageH\000\022U\n\021av" + + "ailable_package\030\007 \001(\01328.google.cloud.osc" + + "onfig.v1alpha.Inventory.SoftwarePackageH" + + "\000\"?\n\nOriginType\022\033\n\027ORIGIN_TYPE_UNSPECIFI" + + "ED\020\000\022\024\n\020INVENTORY_REPORT\020\001\"J\n\004Type\022\024\n\020TY" + + "PE_UNSPECIFIED\020\000\022\025\n\021INSTALLED_PACKAGE\020\001\022" + + "\025\n\021AVAILABLE_PACKAGE\020\002B\t\n\007details\032\237\006\n\017So" + + "ftwarePackage\022P\n\013yum_package\030\001 \001(\01329.goo" + + "gle.cloud.osconfig.v1alpha.Inventory.Ver" + + "sionedPackageH\000\022P\n\013apt_package\030\002 \001(\01329.g" + + "oogle.cloud.osconfig.v1alpha.Inventory.V" + + "ersionedPackageH\000\022S\n\016zypper_package\030\003 \001(" + + "\01329.google.cloud.osconfig.v1alpha.Invent" + + "ory.VersionedPackageH\000\022S\n\016googet_package" + + "\030\004 \001(\01329.google.cloud.osconfig.v1alpha.I" + + "nventory.VersionedPackageH\000\022L\n\014zypper_pa" + + "tch\030\005 \001(\01324.google.cloud.osconfig.v1alph" + + "a.Inventory.ZypperPatchH\000\022T\n\013wua_package" + + "\030\006 \001(\0132=.google.cloud.osconfig.v1alpha.I" + + "nventory.WindowsUpdatePackageH\000\022a\n\013qfe_p" + + "ackage\030\007 \001(\0132J.google.cloud.osconfig.v1a" + + "lpha.Inventory.WindowsQuickFixEngineerin" + + "gPackageH\000\022P\n\013cos_package\030\010 \001(\01329.google" + + ".cloud.osconfig.v1alpha.Inventory.Versio" + + "nedPackageH\000\022Z\n\023windows_application\030\t \001(" + + "\0132;.google.cloud.osconfig.v1alpha.Invent" + + "ory.WindowsApplicationH\000B\t\n\007details\032O\n\020V" + + "ersionedPackage\022\024\n\014package_name\030\004 \001(\t\022\024\n" + + "\014architecture\030\002 \001(\t\022\017\n\007version\030\003 \001(\t\032V\n\013" + + "ZypperPatch\022\022\n\npatch_name\030\005 \001(\t\022\020\n\010categ" + + "ory\030\002 \001(\t\022\020\n\010severity\030\003 \001(\t\022\017\n\007summary\030\004" + + " \001(\t\032\210\003\n\024WindowsUpdatePackage\022\r\n\005title\030\001" + + " \001(\t\022\023\n\013description\030\002 \001(\t\022g\n\ncategories\030" + + "\003 \003(\0132S.google.cloud.osconfig.v1alpha.In" + + "ventory.WindowsUpdatePackage.WindowsUpda" + + "teCategory\022\026\n\016kb_article_ids\030\004 \003(\t\022\023\n\013su" + + "pport_url\030\013 \001(\t\022\026\n\016more_info_urls\030\005 \003(\t\022" + + "\021\n\tupdate_id\030\006 \001(\t\022\027\n\017revision_number\030\007 " + + "\001(\005\022?\n\033last_deployment_change_time\030\n \001(\013" + + "2\032.google.protobuf.Timestamp\0321\n\025WindowsU" + + "pdateCategory\022\n\n\002id\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\032" + + "\217\001\n!WindowsQuickFixEngineeringPackage\022\017\n" + + "\007caption\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\022\n\nh" + + "ot_fix_id\030\003 \001(\t\0220\n\014install_time\030\005 \001(\0132\032." + + "google.protobuf.Timestamp\032\222\001\n\022WindowsApp" + + "lication\022\024\n\014display_name\030\001 \001(\t\022\027\n\017displa" + + "y_version\030\002 \001(\t\022\021\n\tpublisher\030\003 \001(\t\022\'\n\014in" + + "stall_date\030\004 \001(\0132\021.google.type.Date\022\021\n\th" + + "elp_link\030\005 \001(\t\032[\n\nItemsEntry\022\013\n\003key\030\001 \001(" + + "\t\022<\n\005value\030\002 \001(\0132-.google.cloud.osconfig" + + ".v1alpha.Inventory.Item:\0028\001:n\352Ak\n!osconf" + + "ig.googleapis.com/Inventory\022Fprojects/{p" + + "roject}/locations/{location}/instances/{" + + "instance}/inventory\"\212\001\n\023GetInventoryRequ" + + "est\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!osconfig.goog" + + "leapis.com/Inventory\022:\n\004view\030\002 \001(\0162,.goo" + + "gle.cloud.osconfig.v1alpha.InventoryView" + + "\"\304\001\n\026ListInventoriesRequest\0227\n\006parent\030\001 " + + "\001(\tB\'\340A\002\372A!\n\037compute.googleapis.com/Inst" + + "ance\022:\n\004view\030\002 \001(\0162,.google.cloud.osconf" + + "ig.v1alpha.InventoryView\022\021\n\tpage_size\030\003 " + + "\001(\005\022\022\n\npage_token\030\004 \001(\t\022\016\n\006filter\030\005 \001(\t\"" + + "q\n\027ListInventoriesResponse\022=\n\013inventorie" + + "s\030\001 \003(\0132(.google.cloud.osconfig.v1alpha." + + "Inventory\022\027\n\017next_page_token\030\002 \001(\t*D\n\rIn" + + "ventoryView\022\036\n\032INVENTORY_VIEW_UNSPECIFIE" + + "D\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\334\001\n!com.google." + + "cloud.osconfig.v1alphaB\013InventoriesP\001ZEg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/osconfig/v1alpha;osconfig\252\002\035Google.Cl" + + "oud.OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsCo" + + "nfig\\V1alpha\352\002 Google::Cloud::OsConfig::" + + "V1alphab\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.type.DateProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_Inventory_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor, + new java.lang.String[] { + "Name", "OsInfo", "Items", "UpdateTime", + }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor, + new java.lang.String[] { + "Hostname", + "LongName", + "ShortName", + "Version", + "Architecture", + "KernelVersion", + "KernelRelease", + "OsconfigAgentVersion", + }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor, + new java.lang.String[] { + "Id", + "OriginType", + "CreateTime", + "UpdateTime", + "Type", + "InstalledPackage", + "AvailablePackage", + "Details", + }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor, + new java.lang.String[] { + "YumPackage", + "AptPackage", + "ZypperPackage", + "GoogetPackage", + "ZypperPatch", + "WuaPackage", + "QfePackage", + "CosPackage", + "WindowsApplication", + "Details", + }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor, + new java.lang.String[] { + "PackageName", "Architecture", "Version", + }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor, + new java.lang.String[] { + "PatchName", "Category", "Severity", "Summary", + }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor, + new java.lang.String[] { + "Title", + "Description", + "Categories", + "KbArticleIds", + "SupportUrl", + "MoreInfoUrls", + "UpdateId", + "RevisionNumber", + "LastDeploymentChangeTime", + }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor, + new java.lang.String[] { + "Id", "Name", + }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor, + new java.lang.String[] { + "Caption", "Description", "HotFixId", "InstallTime", + }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(7); + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor, + new java.lang.String[] { + "DisplayName", "DisplayVersion", "Publisher", "InstallDate", "HelpLink", + }); + internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_descriptor = + internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor.getNestedTypes().get(8); + internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_GetInventoryRequest_descriptor, + new java.lang.String[] { + "Name", "View", + }); + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor, + new java.lang.String[] { + "Parent", "View", "PageSize", "PageToken", "Filter", + }); + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor, + new java.lang.String[] { + "Inventories", "NextPageToken", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.type.DateProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventory.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventory.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventory.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventory.java index 5f57c76c..07ce412a 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventory.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventory.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1alpha/inventory.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * This API resource represents the available inventory data for a
  * Compute Engine virtual machine (VM) instance at a given point in time.
@@ -14,31 +31,31 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory}
  */
-public final class Inventory extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Inventory extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory)
     InventoryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Inventory.newBuilder() to construct.
   private Inventory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Inventory() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Inventory();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Inventory(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,58 +75,68 @@ private Inventory(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder subBuilder = null;
-            if (osInfo_ != null) {
-              subBuilder = osInfo_.toBuilder();
+          case 10:
+            {
+              com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder subBuilder = null;
+              if (osInfo_ != null) {
+                subBuilder = osInfo_.toBuilder();
+              }
+              osInfo_ =
+                  input.readMessage(
+                      com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(osInfo_);
+                osInfo_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            osInfo_ = input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(osInfo_);
-              osInfo_ = subBuilder.buildPartial();
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                items_ =
+                    com.google.protobuf.MapField.newMapField(ItemsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry<
+                      java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item>
+                  items__ =
+                      input.readMessage(
+                          ItemsDefaultEntryHolder.defaultEntry.getParserForType(),
+                          extensionRegistry);
+              items_.getMutableMap().put(items__.getKey(), items__.getValue());
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              items_ = com.google.protobuf.MapField.newMapField(
-                  ItemsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              name_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            items__ = input.readMessage(
-                ItemsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            items_.getMutableMap().put(
-                items__.getKey(), items__.getValue());
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 34:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
 
-            name_ = s;
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
-            }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -117,63 +144,72 @@ private Inventory(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.Inventories
+        .internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 2:
         return internalGetItems();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.Inventories
+        .internal_static_google_cloud_osconfig_v1alpha_Inventory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.Inventory.class, com.google.cloud.osconfig.v1alpha.Inventory.Builder.class);
+            com.google.cloud.osconfig.v1alpha.Inventory.class,
+            com.google.cloud.osconfig.v1alpha.Inventory.Builder.class);
   }
 
-  public interface OsInfoOrBuilder extends
+  public interface OsInfoOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory.OsInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The VM hostname.
      * 
* * string hostname = 9; + * * @return The hostname. */ java.lang.String getHostname(); /** + * + * *
      * The VM hostname.
      * 
* * string hostname = 9; + * * @return The bytes for hostname. */ - com.google.protobuf.ByteString - getHostnameBytes(); + com.google.protobuf.ByteString getHostnameBytes(); /** + * + * *
      * The operating system long name.
      * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -181,10 +217,13 @@ public interface OsInfoOrBuilder extends
      * 
* * string long_name = 2; + * * @return The longName. */ java.lang.String getLongName(); /** + * + * *
      * The operating system long name.
      * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -192,149 +231,182 @@ public interface OsInfoOrBuilder extends
      * 
* * string long_name = 2; + * * @return The bytes for longName. */ - com.google.protobuf.ByteString - getLongNameBytes(); + com.google.protobuf.ByteString getLongNameBytes(); /** + * + * *
      * The operating system short name.
      * For example, 'windows' or 'debian'.
      * 
* * string short_name = 3; + * * @return The shortName. */ java.lang.String getShortName(); /** + * + * *
      * The operating system short name.
      * For example, 'windows' or 'debian'.
      * 
* * string short_name = 3; + * * @return The bytes for shortName. */ - com.google.protobuf.ByteString - getShortNameBytes(); + com.google.protobuf.ByteString getShortNameBytes(); /** + * + * *
      * The version of the operating system.
      * 
* * string version = 4; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
      * The version of the operating system.
      * 
* * string version = 4; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
      * The system architecture of the operating system.
      * 
* * string architecture = 5; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
      * The system architecture of the operating system.
      * 
* * string architecture = 5; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); /** + * + * *
      * The kernel version of the operating system.
      * 
* * string kernel_version = 6; + * * @return The kernelVersion. */ java.lang.String getKernelVersion(); /** + * + * *
      * The kernel version of the operating system.
      * 
* * string kernel_version = 6; + * * @return The bytes for kernelVersion. */ - com.google.protobuf.ByteString - getKernelVersionBytes(); + com.google.protobuf.ByteString getKernelVersionBytes(); /** + * + * *
      * The kernel release of the operating system.
      * 
* * string kernel_release = 7; + * * @return The kernelRelease. */ java.lang.String getKernelRelease(); /** + * + * *
      * The kernel release of the operating system.
      * 
* * string kernel_release = 7; + * * @return The bytes for kernelRelease. */ - com.google.protobuf.ByteString - getKernelReleaseBytes(); + com.google.protobuf.ByteString getKernelReleaseBytes(); /** + * + * *
      * The current version of the OS Config agent running on the VM.
      * 
* * string osconfig_agent_version = 8; + * * @return The osconfigAgentVersion. */ java.lang.String getOsconfigAgentVersion(); /** + * + * *
      * The current version of the OS Config agent running on the VM.
      * 
* * string osconfig_agent_version = 8; + * * @return The bytes for osconfigAgentVersion. */ - com.google.protobuf.ByteString - getOsconfigAgentVersionBytes(); + com.google.protobuf.ByteString getOsconfigAgentVersionBytes(); } /** + * + * *
    * Operating system information for the VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.OsInfo} */ - public static final class OsInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class OsInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory.OsInfo) OsInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OsInfo.newBuilder() to construct. private OsInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OsInfo() { hostname_ = ""; longName_ = ""; @@ -348,16 +420,15 @@ private OsInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OsInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OsInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -376,61 +447,69 @@ private OsInfo( case 0: done = true; break; - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - longName_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + longName_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - shortName_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + shortName_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + architecture_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - kernelVersion_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + kernelVersion_ = s; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - kernelRelease_ = s; - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + kernelRelease_ = s; + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - osconfigAgentVersion_ = s; - break; - } - case 74: { - java.lang.String s = input.readStringRequireUtf8(); + osconfigAgentVersion_ = s; + break; + } + case 74: + { + java.lang.String s = input.readStringRequireUtf8(); - hostname_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + hostname_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -438,34 +517,39 @@ private OsInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.class, com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.class, + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder.class); } public static final int HOSTNAME_FIELD_NUMBER = 9; private volatile java.lang.Object hostname_; /** + * + * *
      * The VM hostname.
      * 
* * string hostname = 9; + * * @return The hostname. */ @java.lang.Override @@ -474,29 +558,29 @@ public java.lang.String getHostname() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; } } /** + * + * *
      * The VM hostname.
      * 
* * string hostname = 9; + * * @return The bytes for hostname. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostnameBytes() { + public com.google.protobuf.ByteString getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hostname_ = b; return b; } else { @@ -507,6 +591,8 @@ public java.lang.String getHostname() { public static final int LONG_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object longName_; /** + * + * *
      * The operating system long name.
      * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -514,6 +600,7 @@ public java.lang.String getHostname() {
      * 
* * string long_name = 2; + * * @return The longName. */ @java.lang.Override @@ -522,14 +609,15 @@ public java.lang.String getLongName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); longName_ = s; return s; } } /** + * + * *
      * The operating system long name.
      * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -537,16 +625,15 @@ public java.lang.String getLongName() {
      * 
* * string long_name = 2; + * * @return The bytes for longName. */ @java.lang.Override - public com.google.protobuf.ByteString - getLongNameBytes() { + public com.google.protobuf.ByteString getLongNameBytes() { java.lang.Object ref = longName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); longName_ = b; return b; } else { @@ -557,12 +644,15 @@ public java.lang.String getLongName() { public static final int SHORT_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object shortName_; /** + * + * *
      * The operating system short name.
      * For example, 'windows' or 'debian'.
      * 
* * string short_name = 3; + * * @return The shortName. */ @java.lang.Override @@ -571,30 +661,30 @@ public java.lang.String getShortName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); shortName_ = s; return s; } } /** + * + * *
      * The operating system short name.
      * For example, 'windows' or 'debian'.
      * 
* * string short_name = 3; + * * @return The bytes for shortName. */ @java.lang.Override - public com.google.protobuf.ByteString - getShortNameBytes() { + public com.google.protobuf.ByteString getShortNameBytes() { java.lang.Object ref = shortName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); shortName_ = b; return b; } else { @@ -605,11 +695,14 @@ public java.lang.String getShortName() { public static final int VERSION_FIELD_NUMBER = 4; private volatile java.lang.Object version_; /** + * + * *
      * The version of the operating system.
      * 
* * string version = 4; + * * @return The version. */ @java.lang.Override @@ -618,29 +711,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
      * The version of the operating system.
      * 
* * string version = 4; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -651,11 +744,14 @@ public java.lang.String getVersion() { public static final int ARCHITECTURE_FIELD_NUMBER = 5; private volatile java.lang.Object architecture_; /** + * + * *
      * The system architecture of the operating system.
      * 
* * string architecture = 5; + * * @return The architecture. */ @java.lang.Override @@ -664,29 +760,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
      * The system architecture of the operating system.
      * 
* * string architecture = 5; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -697,11 +793,14 @@ public java.lang.String getArchitecture() { public static final int KERNEL_VERSION_FIELD_NUMBER = 6; private volatile java.lang.Object kernelVersion_; /** + * + * *
      * The kernel version of the operating system.
      * 
* * string kernel_version = 6; + * * @return The kernelVersion. */ @java.lang.Override @@ -710,29 +809,29 @@ public java.lang.String getKernelVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kernelVersion_ = s; return s; } } /** + * + * *
      * The kernel version of the operating system.
      * 
* * string kernel_version = 6; + * * @return The bytes for kernelVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getKernelVersionBytes() { + public com.google.protobuf.ByteString getKernelVersionBytes() { java.lang.Object ref = kernelVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kernelVersion_ = b; return b; } else { @@ -743,11 +842,14 @@ public java.lang.String getKernelVersion() { public static final int KERNEL_RELEASE_FIELD_NUMBER = 7; private volatile java.lang.Object kernelRelease_; /** + * + * *
      * The kernel release of the operating system.
      * 
* * string kernel_release = 7; + * * @return The kernelRelease. */ @java.lang.Override @@ -756,29 +858,29 @@ public java.lang.String getKernelRelease() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kernelRelease_ = s; return s; } } /** + * + * *
      * The kernel release of the operating system.
      * 
* * string kernel_release = 7; + * * @return The bytes for kernelRelease. */ @java.lang.Override - public com.google.protobuf.ByteString - getKernelReleaseBytes() { + public com.google.protobuf.ByteString getKernelReleaseBytes() { java.lang.Object ref = kernelRelease_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kernelRelease_ = b; return b; } else { @@ -789,11 +891,14 @@ public java.lang.String getKernelRelease() { public static final int OSCONFIG_AGENT_VERSION_FIELD_NUMBER = 8; private volatile java.lang.Object osconfigAgentVersion_; /** + * + * *
      * The current version of the OS Config agent running on the VM.
      * 
* * string osconfig_agent_version = 8; + * * @return The osconfigAgentVersion. */ @java.lang.Override @@ -802,29 +907,29 @@ public java.lang.String getOsconfigAgentVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osconfigAgentVersion_ = s; return s; } } /** + * + * *
      * The current version of the OS Config agent running on the VM.
      * 
* * string osconfig_agent_version = 8; + * * @return The bytes for osconfigAgentVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsconfigAgentVersionBytes() { + public com.google.protobuf.ByteString getOsconfigAgentVersionBytes() { java.lang.Object ref = osconfigAgentVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osconfigAgentVersion_ = b; return b; } else { @@ -833,6 +938,7 @@ public java.lang.String getOsconfigAgentVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -844,8 +950,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(longName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, longName_); } @@ -911,29 +1016,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory.OsInfo)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo other = (com.google.cloud.osconfig.v1alpha.Inventory.OsInfo) obj; - - if (!getHostname() - .equals(other.getHostname())) return false; - if (!getLongName() - .equals(other.getLongName())) return false; - if (!getShortName() - .equals(other.getShortName())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; - if (!getKernelVersion() - .equals(other.getKernelVersion())) return false; - if (!getKernelRelease() - .equals(other.getKernelRelease())) return false; - if (!getOsconfigAgentVersion() - .equals(other.getOsconfigAgentVersion())) return false; + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo other = + (com.google.cloud.osconfig.v1alpha.Inventory.OsInfo) obj; + + if (!getHostname().equals(other.getHostname())) return false; + if (!getLongName().equals(other.getLongName())) return false; + if (!getShortName().equals(other.getShortName())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getKernelVersion().equals(other.getKernelVersion())) return false; + if (!getKernelRelease().equals(other.getKernelRelease())) return false; + if (!getOsconfigAgentVersion().equals(other.getOsconfigAgentVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -967,87 +1065,93 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo 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.osconfig.v1alpha.Inventory.OsInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory.OsInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1057,27 +1161,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Operating system information for the VM.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.OsInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory.OsInfo) com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.class, com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.class, + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.newBuilder() @@ -1085,16 +1194,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1118,9 +1226,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_OsInfo_descriptor; } @java.lang.Override @@ -1139,7 +1247,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.OsInfo build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.OsInfo buildPartial() { - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo result = new com.google.cloud.osconfig.v1alpha.Inventory.OsInfo(this); + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo result = + new com.google.cloud.osconfig.v1alpha.Inventory.OsInfo(this); result.hostname_ = hostname_; result.longName_ = longName_; result.shortName_ = shortName_; @@ -1156,38 +1265,41 @@ public com.google.cloud.osconfig.v1alpha.Inventory.OsInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.Inventory.OsInfo) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.OsInfo)other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.OsInfo) other); } else { super.mergeFrom(other); return this; @@ -1195,7 +1307,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.OsInfo other) { - if (other == com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.getDefaultInstance()) + return this; if (!other.getHostname().isEmpty()) { hostname_ = other.hostname_; onChanged(); @@ -1247,7 +1360,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.Inventory.OsInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.Inventory.OsInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1259,18 +1373,20 @@ public Builder mergeFrom( private java.lang.Object hostname_ = ""; /** + * + * *
        * The VM hostname.
        * 
* * string hostname = 9; + * * @return The hostname. */ public java.lang.String getHostname() { java.lang.Object ref = hostname_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; @@ -1279,20 +1395,21 @@ public java.lang.String getHostname() { } } /** + * + * *
        * The VM hostname.
        * 
* * string hostname = 9; + * * @return The bytes for hostname. */ - public com.google.protobuf.ByteString - getHostnameBytes() { + public com.google.protobuf.ByteString getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hostname_ = b; return b; } else { @@ -1300,54 +1417,61 @@ public java.lang.String getHostname() { } } /** + * + * *
        * The VM hostname.
        * 
* * string hostname = 9; + * * @param value The hostname to set. * @return This builder for chaining. */ - public Builder setHostname( - java.lang.String value) { + public Builder setHostname(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hostname_ = value; onChanged(); return this; } /** + * + * *
        * The VM hostname.
        * 
* * string hostname = 9; + * * @return This builder for chaining. */ public Builder clearHostname() { - + hostname_ = getDefaultInstance().getHostname(); onChanged(); return this; } /** + * + * *
        * The VM hostname.
        * 
* * string hostname = 9; + * * @param value The bytes for hostname to set. * @return This builder for chaining. */ - public Builder setHostnameBytes( - com.google.protobuf.ByteString value) { + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; onChanged(); return this; @@ -1355,6 +1479,8 @@ public Builder setHostnameBytes( private java.lang.Object longName_ = ""; /** + * + * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1362,13 +1488,13 @@ public Builder setHostnameBytes(
        * 
* * string long_name = 2; + * * @return The longName. */ public java.lang.String getLongName() { java.lang.Object ref = longName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); longName_ = s; return s; @@ -1377,6 +1503,8 @@ public java.lang.String getLongName() { } } /** + * + * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1384,15 +1512,14 @@ public java.lang.String getLongName() {
        * 
* * string long_name = 2; + * * @return The bytes for longName. */ - public com.google.protobuf.ByteString - getLongNameBytes() { + public com.google.protobuf.ByteString getLongNameBytes() { java.lang.Object ref = longName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); longName_ = b; return b; } else { @@ -1400,6 +1527,8 @@ public java.lang.String getLongName() { } } /** + * + * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1407,20 +1536,22 @@ public java.lang.String getLongName() {
        * 
* * string long_name = 2; + * * @param value The longName to set. * @return This builder for chaining. */ - public Builder setLongName( - java.lang.String value) { + public Builder setLongName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + longName_ = value; onChanged(); return this; } /** + * + * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1428,15 +1559,18 @@ public Builder setLongName(
        * 
* * string long_name = 2; + * * @return This builder for chaining. */ public Builder clearLongName() { - + longName_ = getDefaultInstance().getLongName(); onChanged(); return this; } /** + * + * *
        * The operating system long name.
        * For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
@@ -1444,16 +1578,16 @@ public Builder clearLongName() {
        * 
* * string long_name = 2; + * * @param value The bytes for longName to set. * @return This builder for chaining. */ - public Builder setLongNameBytes( - com.google.protobuf.ByteString value) { + public Builder setLongNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + longName_ = value; onChanged(); return this; @@ -1461,19 +1595,21 @@ public Builder setLongNameBytes( private java.lang.Object shortName_ = ""; /** + * + * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; + * * @return The shortName. */ public java.lang.String getShortName() { java.lang.Object ref = shortName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); shortName_ = s; return s; @@ -1482,21 +1618,22 @@ public java.lang.String getShortName() { } } /** + * + * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; + * * @return The bytes for shortName. */ - public com.google.protobuf.ByteString - getShortNameBytes() { + public com.google.protobuf.ByteString getShortNameBytes() { java.lang.Object ref = shortName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); shortName_ = b; return b; } else { @@ -1504,57 +1641,64 @@ public java.lang.String getShortName() { } } /** + * + * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; + * * @param value The shortName to set. * @return This builder for chaining. */ - public Builder setShortName( - java.lang.String value) { + public Builder setShortName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + shortName_ = value; onChanged(); return this; } /** + * + * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; + * * @return This builder for chaining. */ public Builder clearShortName() { - + shortName_ = getDefaultInstance().getShortName(); onChanged(); return this; } /** + * + * *
        * The operating system short name.
        * For example, 'windows' or 'debian'.
        * 
* * string short_name = 3; + * * @param value The bytes for shortName to set. * @return This builder for chaining. */ - public Builder setShortNameBytes( - com.google.protobuf.ByteString value) { + public Builder setShortNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + shortName_ = value; onChanged(); return this; @@ -1562,18 +1706,20 @@ public Builder setShortNameBytes( private java.lang.Object version_ = ""; /** + * + * *
        * The version of the operating system.
        * 
* * string version = 4; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1582,20 +1728,21 @@ public java.lang.String getVersion() { } } /** + * + * *
        * The version of the operating system.
        * 
* * string version = 4; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -1603,54 +1750,61 @@ public java.lang.String getVersion() { } } /** + * + * *
        * The version of the operating system.
        * 
* * string version = 4; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
        * The version of the operating system.
        * 
* * string version = 4; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
        * The version of the operating system.
        * 
* * string version = 4; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1658,18 +1812,20 @@ public Builder setVersionBytes( private java.lang.Object architecture_ = ""; /** + * + * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1678,20 +1834,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -1699,54 +1856,61 @@ public java.lang.String getArchitecture() { } } /** + * + * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
        * The system architecture of the operating system.
        * 
* * string architecture = 5; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1754,18 +1918,20 @@ public Builder setArchitectureBytes( private java.lang.Object kernelVersion_ = ""; /** + * + * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; + * * @return The kernelVersion. */ public java.lang.String getKernelVersion() { java.lang.Object ref = kernelVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kernelVersion_ = s; return s; @@ -1774,20 +1940,21 @@ public java.lang.String getKernelVersion() { } } /** + * + * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; + * * @return The bytes for kernelVersion. */ - public com.google.protobuf.ByteString - getKernelVersionBytes() { + public com.google.protobuf.ByteString getKernelVersionBytes() { java.lang.Object ref = kernelVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kernelVersion_ = b; return b; } else { @@ -1795,54 +1962,61 @@ public java.lang.String getKernelVersion() { } } /** + * + * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; + * * @param value The kernelVersion to set. * @return This builder for chaining. */ - public Builder setKernelVersion( - java.lang.String value) { + public Builder setKernelVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kernelVersion_ = value; onChanged(); return this; } /** + * + * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; + * * @return This builder for chaining. */ public Builder clearKernelVersion() { - + kernelVersion_ = getDefaultInstance().getKernelVersion(); onChanged(); return this; } /** + * + * *
        * The kernel version of the operating system.
        * 
* * string kernel_version = 6; + * * @param value The bytes for kernelVersion to set. * @return This builder for chaining. */ - public Builder setKernelVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setKernelVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kernelVersion_ = value; onChanged(); return this; @@ -1850,18 +2024,20 @@ public Builder setKernelVersionBytes( private java.lang.Object kernelRelease_ = ""; /** + * + * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; + * * @return The kernelRelease. */ public java.lang.String getKernelRelease() { java.lang.Object ref = kernelRelease_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kernelRelease_ = s; return s; @@ -1870,20 +2046,21 @@ public java.lang.String getKernelRelease() { } } /** + * + * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; + * * @return The bytes for kernelRelease. */ - public com.google.protobuf.ByteString - getKernelReleaseBytes() { + public com.google.protobuf.ByteString getKernelReleaseBytes() { java.lang.Object ref = kernelRelease_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kernelRelease_ = b; return b; } else { @@ -1891,54 +2068,61 @@ public java.lang.String getKernelRelease() { } } /** + * + * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; + * * @param value The kernelRelease to set. * @return This builder for chaining. */ - public Builder setKernelRelease( - java.lang.String value) { + public Builder setKernelRelease(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kernelRelease_ = value; onChanged(); return this; } /** + * + * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; + * * @return This builder for chaining. */ public Builder clearKernelRelease() { - + kernelRelease_ = getDefaultInstance().getKernelRelease(); onChanged(); return this; } /** + * + * *
        * The kernel release of the operating system.
        * 
* * string kernel_release = 7; + * * @param value The bytes for kernelRelease to set. * @return This builder for chaining. */ - public Builder setKernelReleaseBytes( - com.google.protobuf.ByteString value) { + public Builder setKernelReleaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kernelRelease_ = value; onChanged(); return this; @@ -1946,18 +2130,20 @@ public Builder setKernelReleaseBytes( private java.lang.Object osconfigAgentVersion_ = ""; /** + * + * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; + * * @return The osconfigAgentVersion. */ public java.lang.String getOsconfigAgentVersion() { java.lang.Object ref = osconfigAgentVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osconfigAgentVersion_ = s; return s; @@ -1966,20 +2152,21 @@ public java.lang.String getOsconfigAgentVersion() { } } /** + * + * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; + * * @return The bytes for osconfigAgentVersion. */ - public com.google.protobuf.ByteString - getOsconfigAgentVersionBytes() { + public com.google.protobuf.ByteString getOsconfigAgentVersionBytes() { java.lang.Object ref = osconfigAgentVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osconfigAgentVersion_ = b; return b; } else { @@ -1987,58 +2174,66 @@ public java.lang.String getOsconfigAgentVersion() { } } /** + * + * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; + * * @param value The osconfigAgentVersion to set. * @return This builder for chaining. */ - public Builder setOsconfigAgentVersion( - java.lang.String value) { + public Builder setOsconfigAgentVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osconfigAgentVersion_ = value; onChanged(); return this; } /** + * + * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; + * * @return This builder for chaining. */ public Builder clearOsconfigAgentVersion() { - + osconfigAgentVersion_ = getDefaultInstance().getOsconfigAgentVersion(); onChanged(); return this; } /** + * + * *
        * The current version of the OS Config agent running on the VM.
        * 
* * string osconfig_agent_version = 8; + * * @param value The bytes for osconfigAgentVersion to set. * @return This builder for chaining. */ - public Builder setOsconfigAgentVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setOsconfigAgentVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osconfigAgentVersion_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2051,12 +2246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory.OsInfo) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory.OsInfo) private static final com.google.cloud.osconfig.v1alpha.Inventory.OsInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory.OsInfo(); } @@ -2065,16 +2260,16 @@ public static com.google.cloud.osconfig.v1alpha.Inventory.OsInfo getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OsInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OsInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OsInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OsInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2089,71 +2284,90 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.Inventory.OsInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ItemOrBuilder extends + public interface ItemOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory.Item) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Identifier for this item, unique across items for this VM.
      * 
* * string id = 1; + * * @return The id. */ java.lang.String getId(); /** + * + * *
      * Identifier for this item, unique across items for this VM.
      * 
* * string id = 1; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
      * The origin of this inventory item.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2; + * * @return The enum numeric value on the wire for originType. */ int getOriginTypeValue(); /** + * + * *
      * The origin of this inventory item.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2; + * * @return The originType. */ com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType getOriginType(); /** + * + * *
      * When this inventory item was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 8; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
      * When this inventory item was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 8; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
      * When this inventory item was first detected.
      * 
@@ -2163,24 +2377,32 @@ public interface ItemOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
      * When this inventory item was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 9; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
      * When this inventory item was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 9; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
      * When this inventory item was last modified.
      * 
@@ -2190,96 +2412,123 @@ public interface ItemOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
      * The specific type of inventory, correlating to its specific details.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * The specific type of inventory, correlating to its specific details.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5; + * * @return The type. */ com.google.cloud.osconfig.v1alpha.Inventory.Item.Type getType(); /** + * + * *
      * Software package present on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * * @return Whether the installedPackage field is set. */ boolean hasInstalledPackage(); /** + * + * *
      * Software package present on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * * @return The installedPackage. */ com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getInstalledPackage(); /** + * + * *
      * Software package present on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; */ - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder getInstalledPackageOrBuilder(); + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder + getInstalledPackageOrBuilder(); /** + * + * *
      * Software package available to be installed on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * * @return Whether the availablePackage field is set. */ boolean hasAvailablePackage(); /** + * + * *
      * Software package available to be installed on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * * @return The availablePackage. */ com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getAvailablePackage(); /** + * + * *
      * Software package available to be installed on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; */ - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder getAvailablePackageOrBuilder(); + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder + getAvailablePackageOrBuilder(); public com.google.cloud.osconfig.v1alpha.Inventory.Item.DetailsCase getDetailsCase(); } /** + * + * *
    * A single piece of inventory on a VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.Item} */ - public static final class Item extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Item extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory.Item) ItemOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Item.newBuilder() to construct. private Item(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Item() { id_ = ""; originType_ = 0; @@ -2288,16 +2537,15 @@ private Item() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Item(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Item( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2316,85 +2564,106 @@ private Item( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - originType_ = rawValue; - break; - } - case 40: { - int rawValue = input.readEnum(); - - type_ = rawValue; - break; - } - case 50: { - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder subBuilder = null; - if (detailsCase_ == 6) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_).toBuilder(); - } - details_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); - details_ = subBuilder.buildPartial(); + id_ = s; + break; } - detailsCase_ = 6; - break; - } - case 58: { - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder subBuilder = null; - if (detailsCase_ == 7) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_).toBuilder(); + case 16: + { + int rawValue = input.readEnum(); + + originType_ = rawValue; + break; } - details_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); - details_ = subBuilder.buildPartial(); + case 40: + { + int rawValue = input.readEnum(); + + type_ = rawValue; + break; } - detailsCase_ = 7; - break; - } - case 66: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 50: + { + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder subBuilder = + null; + if (detailsCase_ == 6) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 6; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 58: + { + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder subBuilder = + null; + if (detailsCase_ == 7) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 7; + break; } + case 66: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 74: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 74: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2402,36 +2671,41 @@ private Item( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.Item.class, com.google.cloud.osconfig.v1alpha.Inventory.Item.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.Item.class, + com.google.cloud.osconfig.v1alpha.Inventory.Item.Builder.class); } /** + * + * *
      * The origin of a specific inventory item.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1alpha.Inventory.Item.OriginType} */ - public enum OriginType - implements com.google.protobuf.ProtocolMessageEnum { + public enum OriginType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Invalid. An origin type must be specified.
        * 
@@ -2440,6 +2714,8 @@ public enum OriginType */ ORIGIN_TYPE_UNSPECIFIED(0), /** + * + * *
        * This inventory item was discovered as the result of the agent
        * reporting inventory via the reporting API.
@@ -2452,6 +2728,8 @@ public enum OriginType
       ;
 
       /**
+       *
+       *
        * 
        * Invalid. An origin type must be specified.
        * 
@@ -2460,6 +2738,8 @@ public enum OriginType */ public static final int ORIGIN_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * This inventory item was discovered as the result of the agent
        * reporting inventory via the reporting API.
@@ -2469,7 +2749,6 @@ public enum OriginType
        */
       public static final int INVENTORY_REPORT_VALUE = 1;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -2494,48 +2773,49 @@ public static OriginType valueOf(int value) {
        */
       public static OriginType forNumber(int value) {
         switch (value) {
-          case 0: return ORIGIN_TYPE_UNSPECIFIED;
-          case 1: return INVENTORY_REPORT;
-          default: return null;
+          case 0:
+            return ORIGIN_TYPE_UNSPECIFIED;
+          case 1:
+            return INVENTORY_REPORT;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          OriginType> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public OriginType findValueByNumber(int number) {
-                return OriginType.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public OriginType findValueByNumber(int number) {
+              return OriginType.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.Inventory.Item.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.Inventory.Item.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final OriginType[] VALUES = values();
 
-      public static OriginType valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static OriginType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -2553,15 +2833,18 @@ private OriginType(int value) {
     }
 
     /**
+     *
+     *
      * 
      * The different types of inventory that are tracked on a VM.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1alpha.Inventory.Item.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Invalid. An type must be specified.
        * 
@@ -2570,6 +2853,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
        * This represents a package that is installed on the VM.
        * 
@@ -2578,6 +2863,8 @@ public enum Type */ INSTALLED_PACKAGE(1), /** + * + * *
        * This represents an update that is available for a package.
        * 
@@ -2589,6 +2876,8 @@ public enum Type ; /** + * + * *
        * Invalid. An type must be specified.
        * 
@@ -2597,6 +2886,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * This represents a package that is installed on the VM.
        * 
@@ -2605,6 +2896,8 @@ public enum Type */ public static final int INSTALLED_PACKAGE_VALUE = 1; /** + * + * *
        * This represents an update that is available for a package.
        * 
@@ -2613,7 +2906,6 @@ public enum Type */ public static final int AVAILABLE_PACKAGE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2638,49 +2930,51 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return INSTALLED_PACKAGE; - case 2: return AVAILABLE_PACKAGE; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return INSTALLED_PACKAGE; + case 2: + return AVAILABLE_PACKAGE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventory.Item.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventory.Item.getDescriptor() + .getEnumTypes() + .get(1); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -2699,13 +2993,16 @@ private Type(int value) { private int detailsCase_ = 0; private java.lang.Object details_; + public enum DetailsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INSTALLED_PACKAGE(6), AVAILABLE_PACKAGE(7), DETAILS_NOT_SET(0); private final int value; + private DetailsCase(int value) { this.value = value; } @@ -2721,31 +3018,37 @@ public static DetailsCase valueOf(int value) { public static DetailsCase forNumber(int value) { switch (value) { - case 6: return INSTALLED_PACKAGE; - case 7: return AVAILABLE_PACKAGE; - case 0: return DETAILS_NOT_SET; - default: return null; + case 6: + return INSTALLED_PACKAGE; + case 7: + return AVAILABLE_PACKAGE; + case 0: + return DETAILS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DetailsCase - getDetailsCase() { - return DetailsCase.forNumber( - detailsCase_); + public DetailsCase getDetailsCase() { + return DetailsCase.forNumber(detailsCase_); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** + * + * *
      * Identifier for this item, unique across items for this VM.
      * 
* * string id = 1; + * * @return The id. */ @java.lang.Override @@ -2754,29 +3057,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
      * Identifier for this item, unique across items for this VM.
      * 
* * string id = 1; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -2787,38 +3090,52 @@ public java.lang.String getId() { public static final int ORIGIN_TYPE_FIELD_NUMBER = 2; private int originType_; /** + * + * *
      * The origin of this inventory item.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2; + * * @return The enum numeric value on the wire for originType. */ - @java.lang.Override public int getOriginTypeValue() { + @java.lang.Override + public int getOriginTypeValue() { return originType_; } /** + * + * *
      * The origin of this inventory item.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2; + * * @return The originType. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType getOriginType() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType getOriginType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType result = com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.valueOf(originType_); - return result == null ? com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType result = + com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.valueOf(originType_); + return result == null + ? com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.UNRECOGNIZED + : result; } public static final int CREATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp createTime_; /** + * + * *
      * When this inventory item was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 8; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -2826,11 +3143,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
      * When this inventory item was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 8; + * * @return The createTime. */ @java.lang.Override @@ -2838,6 +3158,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
      * When this inventory item was first detected.
      * 
@@ -2852,11 +3174,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
      * When this inventory item was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 9; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -2864,11 +3189,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
      * When this inventory item was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 9; + * * @return The updateTime. */ @java.lang.Override @@ -2876,6 +3204,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
      * When this inventory item was last modified.
      * 
@@ -2890,37 +3220,51 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int TYPE_FIELD_NUMBER = 5; private int type_; /** + * + * *
      * The specific type of inventory, correlating to its specific details.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The specific type of inventory, correlating to its specific details.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5; + * * @return The type. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.Item.Type getType() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.Inventory.Item.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.Inventory.Item.Type result = com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.valueOf(type_); - return result == null ? com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.Inventory.Item.Type result = + com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.valueOf(type_); + return result == null + ? com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.UNRECOGNIZED + : result; } public static final int INSTALLED_PACKAGE_FIELD_NUMBER = 6; /** + * + * *
      * Software package present on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * * @return Whether the installedPackage field is set. */ @java.lang.Override @@ -2928,21 +3272,26 @@ public boolean hasInstalledPackage() { return detailsCase_ == 6; } /** + * + * *
      * Software package present on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * * @return The installedPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getInstalledPackage() { if (detailsCase_ == 6) { - return (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance(); } /** + * + * *
      * Software package present on the VM instance.
      * 
@@ -2950,20 +3299,24 @@ public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getInstalledP * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder getInstalledPackageOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder + getInstalledPackageOrBuilder() { if (detailsCase_ == 6) { - return (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance(); } public static final int AVAILABLE_PACKAGE_FIELD_NUMBER = 7; /** + * + * *
      * Software package available to be installed on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * * @return Whether the availablePackage field is set. */ @java.lang.Override @@ -2971,21 +3324,26 @@ public boolean hasAvailablePackage() { return detailsCase_ == 7; } /** + * + * *
      * Software package available to be installed on the VM instance.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * * @return The availablePackage. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getAvailablePackage() { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance(); } /** + * + * *
      * Software package available to be installed on the VM instance.
      * 
@@ -2993,14 +3351,16 @@ public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getAvailableP * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder getAvailablePackageOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder + getAvailablePackageOrBuilder() { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3012,22 +3372,26 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } - if (originType_ != com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.ORIGIN_TYPE_UNSPECIFIED.getNumber()) { + if (originType_ + != com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.ORIGIN_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, originType_); } - if (type_ != com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, type_); } if (detailsCase_ == 6) { - output.writeMessage(6, (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); + output.writeMessage( + 6, (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); } if (detailsCase_ == 7) { - output.writeMessage(7, (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); + output.writeMessage( + 7, (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); } if (createTime_ != null) { output.writeMessage(8, getCreateTime()); @@ -3047,29 +3411,30 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } - if (originType_ != com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.ORIGIN_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, originType_); + if (originType_ + != com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.ORIGIN_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, originType_); } - if (type_ != com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, type_); + if (type_ + != com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_); } if (detailsCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); } if (detailsCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3079,36 +3444,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory.Item)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory.Item other = (com.google.cloud.osconfig.v1alpha.Inventory.Item) obj; + com.google.cloud.osconfig.v1alpha.Inventory.Item other = + (com.google.cloud.osconfig.v1alpha.Inventory.Item) obj; - if (!getId() - .equals(other.getId())) return false; + if (!getId().equals(other.getId())) return false; if (originType_ != other.originType_) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (type_ != other.type_) return false; if (!getDetailsCase().equals(other.getDetailsCase())) return false; switch (detailsCase_) { case 6: - if (!getInstalledPackage() - .equals(other.getInstalledPackage())) return false; + if (!getInstalledPackage().equals(other.getInstalledPackage())) return false; break; case 7: - if (!getAvailablePackage() - .equals(other.getAvailablePackage())) return false; + if (!getAvailablePackage().equals(other.getAvailablePackage())) return false; break; case 0: default: @@ -3156,87 +3517,93 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.Item 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.osconfig.v1alpha.Inventory.Item parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.Item parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory.Item prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3246,27 +3613,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A single piece of inventory on a VM.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.Item} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory.Item) com.google.cloud.osconfig.v1alpha.Inventory.ItemOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.Item.class, com.google.cloud.osconfig.v1alpha.Inventory.Item.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.Item.class, + com.google.cloud.osconfig.v1alpha.Inventory.Item.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.Inventory.Item.newBuilder() @@ -3274,16 +3646,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3311,9 +3682,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_Item_descriptor; } @java.lang.Override @@ -3332,7 +3703,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.Item build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.Item buildPartial() { - com.google.cloud.osconfig.v1alpha.Inventory.Item result = new com.google.cloud.osconfig.v1alpha.Inventory.Item(this); + com.google.cloud.osconfig.v1alpha.Inventory.Item result = + new com.google.cloud.osconfig.v1alpha.Inventory.Item(this); result.id_ = id_; result.originType_ = originType_; if (createTimeBuilder_ == null) { @@ -3369,38 +3741,41 @@ public com.google.cloud.osconfig.v1alpha.Inventory.Item buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.Inventory.Item) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.Item)other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.Item) other); } else { super.mergeFrom(other); return this; @@ -3408,7 +3783,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.Item other) { - if (other == com.google.cloud.osconfig.v1alpha.Inventory.Item.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1alpha.Inventory.Item.getDefaultInstance()) + return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); @@ -3426,17 +3802,20 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.Item other) setTypeValue(other.getTypeValue()); } switch (other.getDetailsCase()) { - case INSTALLED_PACKAGE: { - mergeInstalledPackage(other.getInstalledPackage()); - break; - } - case AVAILABLE_PACKAGE: { - mergeAvailablePackage(other.getAvailablePackage()); - break; - } - case DETAILS_NOT_SET: { - break; - } + case INSTALLED_PACKAGE: + { + mergeInstalledPackage(other.getInstalledPackage()); + break; + } + case AVAILABLE_PACKAGE: + { + mergeAvailablePackage(other.getAvailablePackage()); + break; + } + case DETAILS_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -3457,7 +3836,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.Inventory.Item) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.Inventory.Item) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3466,12 +3846,12 @@ public Builder mergeFrom( } return this; } + private int detailsCase_ = 0; private java.lang.Object details_; - public DetailsCase - getDetailsCase() { - return DetailsCase.forNumber( - detailsCase_); + + public DetailsCase getDetailsCase() { + return DetailsCase.forNumber(detailsCase_); } public Builder clearDetails() { @@ -3481,21 +3861,22 @@ public Builder clearDetails() { return this; } - private java.lang.Object id_ = ""; /** + * + * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -3504,20 +3885,21 @@ public java.lang.String getId() { } } /** + * + * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -3525,54 +3907,61 @@ public java.lang.String getId() { } } /** + * + * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
        * Identifier for this item, unique across items for this VM.
        * 
* * string id = 1; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -3580,73 +3969,93 @@ public Builder setIdBytes( private int originType_ = 0; /** + * + * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2; + * * @return The enum numeric value on the wire for originType. */ - @java.lang.Override public int getOriginTypeValue() { + @java.lang.Override + public int getOriginTypeValue() { return originType_; } /** + * + * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2; + * * @param value The enum numeric value on the wire for originType to set. * @return This builder for chaining. */ public Builder setOriginTypeValue(int value) { - + originType_ = value; onChanged(); return this; } /** + * + * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2; + * * @return The originType. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType getOriginType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType result = com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.valueOf(originType_); - return result == null ? com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType result = + com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.valueOf(originType_); + return result == null + ? com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType.UNRECOGNIZED + : result; } /** + * + * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2; + * * @param value The originType to set. * @return This builder for chaining. */ - public Builder setOriginType(com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType value) { + public Builder setOriginType( + com.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType value) { if (value == null) { throw new NullPointerException(); } - + originType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The origin of this inventory item.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2; + * * @return This builder for chaining. */ public Builder clearOriginType() { - + originType_ = 0; onChanged(); return this; @@ -3654,34 +4063,47 @@ public Builder clearOriginType() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
        * When this inventory item was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 8; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
        * When this inventory item was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 8; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
        * When this inventory item was first detected.
        * 
@@ -3702,14 +4124,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * When this inventory item was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 8; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3720,6 +4143,8 @@ public Builder setCreateTime( return this; } /** + * + * *
        * When this inventory item was first detected.
        * 
@@ -3730,7 +4155,9 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_) + .mergeFrom(value) + .buildPartial(); } else { createTime_ = value; } @@ -3742,6 +4169,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * When this inventory item was first detected.
        * 
@@ -3760,6 +4189,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
        * When this inventory item was first detected.
        * 
@@ -3767,11 +4198,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 8; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * When this inventory item was first detected.
        * 
@@ -3782,11 +4215,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
        * When this inventory item was first detected.
        * 
@@ -3794,14 +4230,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3809,34 +4248,47 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
        * When this inventory item was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 9; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
        * When this inventory item was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 9; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
        * When this inventory item was last modified.
        * 
@@ -3857,14 +4309,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * When this inventory item was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 9; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3875,6 +4328,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
        * When this inventory item was last modified.
        * 
@@ -3885,7 +4340,9 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_) + .mergeFrom(value) + .buildPartial(); } else { updateTime_ = value; } @@ -3897,6 +4354,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * When this inventory item was last modified.
        * 
@@ -3915,6 +4374,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
        * When this inventory item was last modified.
        * 
@@ -3922,11 +4383,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 9; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * When this inventory item was last modified.
        * 
@@ -3937,11 +4400,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
        * When this inventory item was last modified.
        * 
@@ -3949,14 +4415,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -3964,51 +4433,67 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private int type_ = 0; /** + * + * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5; + * * @return The type. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.Item.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.Inventory.Item.Type result = com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.valueOf(type_); - return result == null ? com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.Inventory.Item.Type result = + com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.valueOf(type_); + return result == null + ? com.google.cloud.osconfig.v1alpha.Inventory.Item.Type.UNRECOGNIZED + : result; } /** + * + * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5; + * * @param value The type to set. * @return This builder for chaining. */ @@ -4016,34 +4501,44 @@ public Builder setType(com.google.cloud.osconfig.v1alpha.Inventory.Item.Type val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The specific type of inventory, correlating to its specific details.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder> installedPackageBuilder_; + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder> + installedPackageBuilder_; /** + * + * *
        * Software package present on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * + * * @return Whether the installedPackage field is set. */ @java.lang.Override @@ -4051,11 +4546,15 @@ public boolean hasInstalledPackage() { return detailsCase_ == 6; } /** + * + * *
        * Software package present on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * + * * @return The installedPackage. */ @java.lang.Override @@ -4073,13 +4572,17 @@ public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getInstalledP } } /** + * + * *
        * Software package present on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * */ - public Builder setInstalledPackage(com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage value) { + public Builder setInstalledPackage( + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage value) { if (installedPackageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4093,11 +4596,14 @@ public Builder setInstalledPackage(com.google.cloud.osconfig.v1alpha.Inventory.S return this; } /** + * + * *
        * Software package present on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * */ public Builder setInstalledPackage( com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder builderForValue) { @@ -4111,18 +4617,27 @@ public Builder setInstalledPackage( return this; } /** + * + * *
        * Software package present on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * */ - public Builder mergeInstalledPackage(com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage value) { + public Builder mergeInstalledPackage( + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage value) { if (installedPackageBuilder_ == null) { - if (detailsCase_ == 6 && - details_ != com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance()) { - details_ = com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 6 + && details_ + != com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage + .getDefaultInstance()) { + details_ = + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.newBuilder( + (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -4138,11 +4653,14 @@ public Builder mergeInstalledPackage(com.google.cloud.osconfig.v1alpha.Inventory return this; } /** + * + * *
        * Software package present on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * */ public Builder clearInstalledPackage() { if (installedPackageBuilder_ == null) { @@ -4161,24 +4679,32 @@ public Builder clearInstalledPackage() { return this; } /** + * + * *
        * Software package present on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * */ - public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder getInstalledPackageBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder + getInstalledPackageBuilder() { return getInstalledPackageFieldBuilder().getBuilder(); } /** + * + * *
        * Software package present on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder getInstalledPackageOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder + getInstalledPackageOrBuilder() { if ((detailsCase_ == 6) && (installedPackageBuilder_ != null)) { return installedPackageBuilder_.getMessageOrBuilder(); } else { @@ -4189,39 +4715,56 @@ public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder getI } } /** + * + * *
        * Software package present on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder> + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder> getInstalledPackageFieldBuilder() { if (installedPackageBuilder_ == null) { if (!(detailsCase_ == 6)) { - details_ = com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance(); + details_ = + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance(); } - installedPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder>( + installedPackageBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder>( (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 6; - onChanged();; + onChanged(); + ; return installedPackageBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder> availablePackageBuilder_; + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder> + availablePackageBuilder_; /** + * + * *
        * Software package available to be installed on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * + * * @return Whether the availablePackage field is set. */ @java.lang.Override @@ -4229,11 +4772,15 @@ public boolean hasAvailablePackage() { return detailsCase_ == 7; } /** + * + * *
        * Software package available to be installed on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * + * * @return The availablePackage. */ @java.lang.Override @@ -4251,13 +4798,17 @@ public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getAvailableP } } /** + * + * *
        * Software package available to be installed on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * */ - public Builder setAvailablePackage(com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage value) { + public Builder setAvailablePackage( + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage value) { if (availablePackageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4271,11 +4822,14 @@ public Builder setAvailablePackage(com.google.cloud.osconfig.v1alpha.Inventory.S return this; } /** + * + * *
        * Software package available to be installed on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * */ public Builder setAvailablePackage( com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder builderForValue) { @@ -4289,18 +4843,27 @@ public Builder setAvailablePackage( return this; } /** + * + * *
        * Software package available to be installed on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * */ - public Builder mergeAvailablePackage(com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage value) { + public Builder mergeAvailablePackage( + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage value) { if (availablePackageBuilder_ == null) { - if (detailsCase_ == 7 && - details_ != com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance()) { - details_ = com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 7 + && details_ + != com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage + .getDefaultInstance()) { + details_ = + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.newBuilder( + (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -4316,11 +4879,14 @@ public Builder mergeAvailablePackage(com.google.cloud.osconfig.v1alpha.Inventory return this; } /** + * + * *
        * Software package available to be installed on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * */ public Builder clearAvailablePackage() { if (availablePackageBuilder_ == null) { @@ -4339,24 +4905,32 @@ public Builder clearAvailablePackage() { return this; } /** + * + * *
        * Software package available to be installed on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * */ - public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder getAvailablePackageBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder + getAvailablePackageBuilder() { return getAvailablePackageFieldBuilder().getBuilder(); } /** + * + * *
        * Software package available to be installed on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder getAvailablePackageOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder + getAvailablePackageOrBuilder() { if ((detailsCase_ == 7) && (availablePackageBuilder_ != null)) { return availablePackageBuilder_.getMessageOrBuilder(); } else { @@ -4367,30 +4941,41 @@ public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder getA } } /** + * + * *
        * Software package available to be installed on the VM instance.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * .google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder> + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder> getAvailablePackageFieldBuilder() { if (availablePackageBuilder_ == null) { if (!(detailsCase_ == 7)) { - details_ = com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance(); + details_ = + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance(); } - availablePackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder>( + availablePackageBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage, + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder, + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder>( (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 7; - onChanged();; + onChanged(); + ; return availablePackageBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4403,12 +4988,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory.Item) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory.Item) private static final com.google.cloud.osconfig.v1alpha.Inventory.Item DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory.Item(); } @@ -4417,16 +5002,16 @@ public static com.google.cloud.osconfig.v1alpha.Inventory.Item getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Item parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Item(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Item parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Item(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4441,14 +5026,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.Inventory.Item getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SoftwarePackageOrBuilder extends + public interface SoftwarePackageOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -4456,10 +5043,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1; + * * @return Whether the yumPackage field is set. */ boolean hasYumPackage(); /** + * + * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -4467,10 +5057,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1; + * * @return The yumPackage. */ com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getYumPackage(); /** + * + * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -4482,6 +5075,8 @@ public interface SoftwarePackageOrBuilder extends
     com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getYumPackageOrBuilder();
 
     /**
+     *
+     *
      * 
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -4489,10 +5084,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2; + * * @return Whether the aptPackage field is set. */ boolean hasAptPackage(); /** + * + * *
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -4500,10 +5098,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2; + * * @return The aptPackage. */ com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getAptPackage(); /** + * + * *
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -4515,6 +5116,8 @@ public interface SoftwarePackageOrBuilder extends
     com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getAptPackageOrBuilder();
 
     /**
+     *
+     *
      * 
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -4522,10 +5125,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3; + * * @return Whether the zypperPackage field is set. */ boolean hasZypperPackage(); /** + * + * *
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -4533,10 +5139,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3; + * * @return The zypperPackage. */ com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getZypperPackage(); /** + * + * *
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -4545,9 +5154,12 @@ public interface SoftwarePackageOrBuilder extends
      *
      * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3;
      */
-    com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getZypperPackageOrBuilder();
+    com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
+        getZypperPackageOrBuilder();
 
     /**
+     *
+     *
      * 
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -4555,10 +5167,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4; + * * @return Whether the googetPackage field is set. */ boolean hasGoogetPackage(); /** + * + * *
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -4566,10 +5181,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4; + * * @return The googetPackage. */ com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getGoogetPackage(); /** + * + * *
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -4578,9 +5196,12 @@ public interface SoftwarePackageOrBuilder extends
      *
      * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4;
      */
-    com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getGoogetPackageOrBuilder();
+    com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
+        getGoogetPackageOrBuilder();
 
     /**
+     *
+     *
      * 
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -4588,10 +5209,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5; + * * @return Whether the zypperPatch field is set. */ boolean hasZypperPatch(); /** + * + * *
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -4599,10 +5223,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5; + * * @return The zypperPatch. */ com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch getZypperPatch(); /** + * + * *
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -4614,6 +5241,8 @@ public interface SoftwarePackageOrBuilder extends
     com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder getZypperPatchOrBuilder();
 
     /**
+     *
+     *
      * 
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -4621,10 +5250,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6; + * * @return Whether the wuaPackage field is set. */ boolean hasWuaPackage(); /** + * + * *
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -4632,10 +5264,13 @@ public interface SoftwarePackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6; + * * @return The wuaPackage. */ com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage getWuaPackage(); /** + * + * *
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -4644,9 +5279,12 @@ public interface SoftwarePackageOrBuilder extends
      *
      * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6;
      */
-    com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder getWuaPackageOrBuilder();
+    com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder
+        getWuaPackageOrBuilder();
 
     /**
+     *
+     *
      * 
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -4654,11 +5292,16 @@ public interface SoftwarePackageOrBuilder extends
      * for info in Windows Quick Fix Engineering.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * * @return Whether the qfePackage field is set. */ boolean hasQfePackage(); /** + * + * *
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -4666,11 +5309,16 @@ public interface SoftwarePackageOrBuilder extends
      * for info in Windows Quick Fix Engineering.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * * @return The qfePackage. */ com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage getQfePackage(); /** + * + * *
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -4678,29 +5326,40 @@ public interface SoftwarePackageOrBuilder extends
      * for info in Windows Quick Fix Engineering.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * */ - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder getQfePackageOrBuilder(); + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder + getQfePackageOrBuilder(); /** + * + * *
      * Details of a COS package.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; + * * @return Whether the cosPackage field is set. */ boolean hasCosPackage(); /** + * + * *
      * Details of a COS package.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; + * * @return The cosPackage. */ com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getCosPackage(); /** + * + * *
      * Details of a COS package.
      * 
@@ -4710,65 +5369,78 @@ public interface SoftwarePackageOrBuilder extends com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getCosPackageOrBuilder(); /** + * + * *
      * Details of Windows Application.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * + * * @return Whether the windowsApplication field is set. */ boolean hasWindowsApplication(); /** + * + * *
      * Details of Windows Application.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * + * * @return The windowsApplication. */ com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication getWindowsApplication(); /** + * + * *
      * Details of Windows Application.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * */ - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder getWindowsApplicationOrBuilder(); + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder + getWindowsApplicationOrBuilder(); public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.DetailsCase getDetailsCase(); } /** + * + * *
    * Software package information of the operating system.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage} */ - public static final class SoftwarePackage extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class SoftwarePackage extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) SoftwarePackageOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SoftwarePackage.newBuilder() to construct. private SoftwarePackage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SoftwarePackage() { - } + + private SoftwarePackage() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SoftwarePackage(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SoftwarePackage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4787,139 +5459,207 @@ private SoftwarePackage( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = null; - if (detailsCase_ == 1) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_).toBuilder(); - } - details_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 1; - break; - } - case 18: { - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = null; - if (detailsCase_ == 2) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_).toBuilder(); - } - details_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 2; - break; - } - case 26: { - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = null; - if (detailsCase_ == 3) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_).toBuilder(); - } - details_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); + case 10: + { + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = + null; + if (detailsCase_ == 1) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 1; + break; } - detailsCase_ = 3; - break; - } - case 34: { - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = null; - if (detailsCase_ == 4) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_).toBuilder(); + case 18: + { + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = + null; + if (detailsCase_ == 2) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 2; + break; } - details_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = + null; + if (detailsCase_ == 3) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 3; + break; } - detailsCase_ = 4; - break; - } - case 42: { - com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder subBuilder = null; - if (detailsCase_ == 5) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_).toBuilder(); + case 34: + { + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = + null; + if (detailsCase_ == 4) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 4; + break; } - details_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_); - details_ = subBuilder.buildPartial(); + case 42: + { + com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder subBuilder = null; + if (detailsCase_ == 5) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 5; + break; } - detailsCase_ = 5; - break; - } - case 50: { - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder subBuilder = null; - if (detailsCase_ == 6) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_).toBuilder(); + case 50: + { + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder + subBuilder = null; + if (detailsCase_ == 6) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 6; + break; } - details_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_); - details_ = subBuilder.buildPartial(); + case 58: + { + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + .Builder + subBuilder = null; + if (detailsCase_ == 7) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.Inventory + .WindowsQuickFixEngineeringPackage) + details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.Inventory + .WindowsQuickFixEngineeringPackage.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.Inventory + .WindowsQuickFixEngineeringPackage) + details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 7; + break; } - detailsCase_ = 6; - break; - } - case 58: { - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder subBuilder = null; - if (detailsCase_ == 7) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_).toBuilder(); + case 66: + { + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = + null; + if (detailsCase_ == 8) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 8; + break; } - details_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_); - details_ = subBuilder.buildPartial(); + case 74: + { + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder subBuilder = + null; + if (detailsCase_ == 9) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_) + .toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 9; + break; } - detailsCase_ = 7; - break; - } - case 66: { - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder subBuilder = null; - if (detailsCase_ == 8) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_).toBuilder(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - details_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 8; - break; - } - case 74: { - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder subBuilder = null; - if (detailsCase_ == 9) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_).toBuilder(); - } - details_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 9; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4927,30 +5667,34 @@ private SoftwarePackage( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.class, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.class, + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder.class); } private int detailsCase_ = 0; private java.lang.Object details_; + public enum DetailsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { YUM_PACKAGE(1), APT_PACKAGE(2), @@ -4963,6 +5707,7 @@ public enum DetailsCase WINDOWS_APPLICATION(9), DETAILS_NOT_SET(0); private final int value; + private DetailsCase(int value) { this.value = value; } @@ -4978,32 +5723,44 @@ public static DetailsCase valueOf(int value) { public static DetailsCase forNumber(int value) { switch (value) { - case 1: return YUM_PACKAGE; - case 2: return APT_PACKAGE; - case 3: return ZYPPER_PACKAGE; - case 4: return GOOGET_PACKAGE; - case 5: return ZYPPER_PATCH; - case 6: return WUA_PACKAGE; - case 7: return QFE_PACKAGE; - case 8: return COS_PACKAGE; - case 9: return WINDOWS_APPLICATION; - case 0: return DETAILS_NOT_SET; - default: return null; + case 1: + return YUM_PACKAGE; + case 2: + return APT_PACKAGE; + case 3: + return ZYPPER_PACKAGE; + case 4: + return GOOGET_PACKAGE; + case 5: + return ZYPPER_PATCH; + case 6: + return WUA_PACKAGE; + case 7: + return QFE_PACKAGE; + case 8: + return COS_PACKAGE; + case 9: + return WINDOWS_APPLICATION; + case 0: + return DETAILS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DetailsCase - getDetailsCase() { - return DetailsCase.forNumber( - detailsCase_); + public DetailsCase getDetailsCase() { + return DetailsCase.forNumber(detailsCase_); } public static final int YUM_PACKAGE_FIELD_NUMBER = 1; /** + * + * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -5011,6 +5768,7 @@ public int getNumber() {
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1; + * * @return Whether the yumPackage field is set. */ @java.lang.Override @@ -5018,6 +5776,8 @@ public boolean hasYumPackage() { return detailsCase_ == 1; } /** + * + * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -5025,16 +5785,19 @@ public boolean hasYumPackage() {
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1; + * * @return The yumPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getYumPackage() { if (detailsCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance(); } /** + * + * *
      * Yum package info.
      * For details about the yum package manager, see
@@ -5044,15 +5807,18 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getYumPackag
      * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getYumPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
+        getYumPackageOrBuilder() {
       if (detailsCase_ == 1) {
-         return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_;
+        return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_;
       }
       return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
     }
 
     public static final int APT_PACKAGE_FIELD_NUMBER = 2;
     /**
+     *
+     *
      * 
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -5060,6 +5826,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder get
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2; + * * @return Whether the aptPackage field is set. */ @java.lang.Override @@ -5067,6 +5834,8 @@ public boolean hasAptPackage() { return detailsCase_ == 2; } /** + * + * *
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -5074,16 +5843,19 @@ public boolean hasAptPackage() {
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2; + * * @return The aptPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getAptPackage() { if (detailsCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance(); } /** + * + * *
      * Details of an APT package.
      * For details about the apt package manager, see
@@ -5093,15 +5865,18 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getAptPackag
      * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getAptPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
+        getAptPackageOrBuilder() {
       if (detailsCase_ == 2) {
-         return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_;
+        return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_;
       }
       return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
     }
 
     public static final int ZYPPER_PACKAGE_FIELD_NUMBER = 3;
     /**
+     *
+     *
      * 
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -5109,6 +5884,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder get
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3; + * * @return Whether the zypperPackage field is set. */ @java.lang.Override @@ -5116,6 +5892,8 @@ public boolean hasZypperPackage() { return detailsCase_ == 3; } /** + * + * *
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -5123,16 +5901,19 @@ public boolean hasZypperPackage() {
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3; + * * @return The zypperPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getZypperPackage() { if (detailsCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance(); } /** + * + * *
      * Details of a Zypper package.
      * For details about the Zypper package manager, see
@@ -5142,15 +5923,18 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getZypperPac
      * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getZypperPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
+        getZypperPackageOrBuilder() {
       if (detailsCase_ == 3) {
-         return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_;
+        return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_;
       }
       return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
     }
 
     public static final int GOOGET_PACKAGE_FIELD_NUMBER = 4;
     /**
+     *
+     *
      * 
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -5158,6 +5942,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder get
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4; + * * @return Whether the googetPackage field is set. */ @java.lang.Override @@ -5165,6 +5950,8 @@ public boolean hasGoogetPackage() { return detailsCase_ == 4; } /** + * + * *
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -5172,16 +5959,19 @@ public boolean hasGoogetPackage() {
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4; + * * @return The googetPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getGoogetPackage() { if (detailsCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance(); } /** + * + * *
      * Details of a Googet package.
      *  For details about the googet package manager, see
@@ -5191,15 +5981,18 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getGoogetPac
      * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getGoogetPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
+        getGoogetPackageOrBuilder() {
       if (detailsCase_ == 4) {
-         return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_;
+        return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_;
       }
       return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
     }
 
     public static final int ZYPPER_PATCH_FIELD_NUMBER = 5;
     /**
+     *
+     *
      * 
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -5207,6 +6000,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder get
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5; + * * @return Whether the zypperPatch field is set. */ @java.lang.Override @@ -5214,6 +6008,8 @@ public boolean hasZypperPatch() { return detailsCase_ == 5; } /** + * + * *
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -5221,16 +6017,19 @@ public boolean hasZypperPatch() {
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5; + * * @return The zypperPatch. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch getZypperPatch() { if (detailsCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.getDefaultInstance(); } /** + * + * *
      * Details of a Zypper patch.
      * For details about the Zypper package manager, see
@@ -5240,15 +6039,18 @@ public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch getZypperPatch()
      * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder getZypperPatchOrBuilder() {
+    public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder
+        getZypperPatchOrBuilder() {
       if (detailsCase_ == 5) {
-         return (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_;
+        return (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_;
       }
       return com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.getDefaultInstance();
     }
 
     public static final int WUA_PACKAGE_FIELD_NUMBER = 6;
     /**
+     *
+     *
      * 
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -5256,6 +6058,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder getZyppe
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6; + * * @return Whether the wuaPackage field is set. */ @java.lang.Override @@ -5263,6 +6066,8 @@ public boolean hasWuaPackage() { return detailsCase_ == 6; } /** + * + * *
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -5270,16 +6075,19 @@ public boolean hasWuaPackage() {
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6; + * * @return The wuaPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage getWuaPackage() { if (detailsCase_ == 6) { - return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.getDefaultInstance(); } /** + * + * *
      * Details of a Windows Update package.
      * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -5289,15 +6097,18 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage getWuaPa
      * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder getWuaPackageOrBuilder() {
+    public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder
+        getWuaPackageOrBuilder() {
       if (detailsCase_ == 6) {
-         return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_;
+        return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_;
       }
       return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.getDefaultInstance();
     }
 
     public static final int QFE_PACKAGE_FIELD_NUMBER = 7;
     /**
+     *
+     *
      * 
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -5305,7 +6116,10 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder
      * for info in Windows Quick Fix Engineering.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * * @return Whether the qfePackage field is set. */ @java.lang.Override @@ -5313,6 +6127,8 @@ public boolean hasQfePackage() { return detailsCase_ == 7; } /** + * + * *
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -5320,17 +6136,25 @@ public boolean hasQfePackage() {
      * for info in Windows Quick Fix Engineering.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * * @return The qfePackage. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage getQfePackage() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + getQfePackage() { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) + details_; } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + .getDefaultInstance(); } /** + * + * *
      * Details of a Windows Quick Fix engineering package.
      * See
@@ -5338,23 +6162,31 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPac
      * for info in Windows Quick Fix Engineering.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder getQfePackageOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder + getQfePackageOrBuilder() { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) + details_; } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + .getDefaultInstance(); } public static final int COS_PACKAGE_FIELD_NUMBER = 8; /** + * + * *
      * Details of a COS package.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; + * * @return Whether the cosPackage field is set. */ @java.lang.Override @@ -5362,21 +6194,26 @@ public boolean hasCosPackage() { return detailsCase_ == 8; } /** + * + * *
      * Details of a COS package.
      * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; + * * @return The cosPackage. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getCosPackage() { if (detailsCase_ == 8) { - return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance(); } /** + * + * *
      * Details of a COS package.
      * 
@@ -5384,20 +6221,25 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getCosPackag * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getCosPackageOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder + getCosPackageOrBuilder() { if (detailsCase_ == 8) { - return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance(); } public static final int WINDOWS_APPLICATION_FIELD_NUMBER = 9; /** + * + * *
      * Details of Windows Application.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * + * * @return Whether the windowsApplication field is set. */ @java.lang.Override @@ -5405,36 +6247,45 @@ public boolean hasWindowsApplication() { return detailsCase_ == 9; } /** + * + * *
      * Details of Windows Application.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * + * * @return The windowsApplication. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication getWindowsApplication() { if (detailsCase_ == 9) { - return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance(); } /** + * + * *
      * Details of Windows Application.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder getWindowsApplicationOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder + getWindowsApplicationOrBuilder() { if (detailsCase_ == 9) { - return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_; } return com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5446,34 +6297,43 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (detailsCase_ == 1) { - output.writeMessage(1, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + output.writeMessage( + 1, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 2) { - output.writeMessage(2, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + output.writeMessage( + 2, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 3) { - output.writeMessage(3, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + output.writeMessage( + 3, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 4) { - output.writeMessage(4, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + output.writeMessage( + 4, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 5) { output.writeMessage(5, (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_); } if (detailsCase_ == 6) { - output.writeMessage(6, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_); + output.writeMessage( + 6, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_); } if (detailsCase_ == 7) { - output.writeMessage(7, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_); + output.writeMessage( + 7, + (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) + details_); } if (detailsCase_ == 8) { - output.writeMessage(8, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + output.writeMessage( + 8, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 9) { - output.writeMessage(9, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_); + output.writeMessage( + 9, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_); } unknownFields.writeTo(output); } @@ -5485,40 +6345,51 @@ public int getSerializedSize() { size = 0; if (detailsCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_); } if (detailsCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_); } if (detailsCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, + (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) + details_); } if (detailsCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_); } if (detailsCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5528,50 +6399,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage other = (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) obj; + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage other = + (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) obj; if (!getDetailsCase().equals(other.getDetailsCase())) return false; switch (detailsCase_) { case 1: - if (!getYumPackage() - .equals(other.getYumPackage())) return false; + if (!getYumPackage().equals(other.getYumPackage())) return false; break; case 2: - if (!getAptPackage() - .equals(other.getAptPackage())) return false; + if (!getAptPackage().equals(other.getAptPackage())) return false; break; case 3: - if (!getZypperPackage() - .equals(other.getZypperPackage())) return false; + if (!getZypperPackage().equals(other.getZypperPackage())) return false; break; case 4: - if (!getGoogetPackage() - .equals(other.getGoogetPackage())) return false; + if (!getGoogetPackage().equals(other.getGoogetPackage())) return false; break; case 5: - if (!getZypperPatch() - .equals(other.getZypperPatch())) return false; + if (!getZypperPatch().equals(other.getZypperPatch())) return false; break; case 6: - if (!getWuaPackage() - .equals(other.getWuaPackage())) return false; + if (!getWuaPackage().equals(other.getWuaPackage())) return false; break; case 7: - if (!getQfePackage() - .equals(other.getQfePackage())) return false; + if (!getQfePackage().equals(other.getQfePackage())) return false; break; case 8: - if (!getCosPackage() - .equals(other.getCosPackage())) return false; + if (!getCosPackage().equals(other.getCosPackage())) return false; break; case 9: - if (!getWindowsApplication() - .equals(other.getWindowsApplication())) return false; + if (!getWindowsApplication().equals(other.getWindowsApplication())) return false; break; case 0: default: @@ -5633,87 +6496,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage 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.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5723,27 +6593,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Software package information of the operating system.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.class, com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.class, + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.newBuilder() @@ -5751,16 +6626,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -5770,13 +6644,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_SoftwarePackage_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance(); } @@ -5791,7 +6666,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage buildPartial() { - com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage result = new com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage(this); + com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage result = + new com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage(this); if (detailsCase_ == 1) { if (yumPackageBuilder_ == null) { result.details_ = details_; @@ -5864,38 +6740,41 @@ public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.Inventory.SoftwarePackage) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage)other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) other); } else { super.mergeFrom(other); return this; @@ -5903,47 +6782,59 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage other) { - if (other == com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance()) return this; + if (other + == com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage.getDefaultInstance()) + return this; switch (other.getDetailsCase()) { - case YUM_PACKAGE: { - mergeYumPackage(other.getYumPackage()); - break; - } - case APT_PACKAGE: { - mergeAptPackage(other.getAptPackage()); - break; - } - case ZYPPER_PACKAGE: { - mergeZypperPackage(other.getZypperPackage()); - break; - } - case GOOGET_PACKAGE: { - mergeGoogetPackage(other.getGoogetPackage()); - break; - } - case ZYPPER_PATCH: { - mergeZypperPatch(other.getZypperPatch()); - break; - } - case WUA_PACKAGE: { - mergeWuaPackage(other.getWuaPackage()); - break; - } - case QFE_PACKAGE: { - mergeQfePackage(other.getQfePackage()); - break; - } - case COS_PACKAGE: { - mergeCosPackage(other.getCosPackage()); - break; - } - case WINDOWS_APPLICATION: { - mergeWindowsApplication(other.getWindowsApplication()); - break; - } - case DETAILS_NOT_SET: { - break; - } + case YUM_PACKAGE: + { + mergeYumPackage(other.getYumPackage()); + break; + } + case APT_PACKAGE: + { + mergeAptPackage(other.getAptPackage()); + break; + } + case ZYPPER_PACKAGE: + { + mergeZypperPackage(other.getZypperPackage()); + break; + } + case GOOGET_PACKAGE: + { + mergeGoogetPackage(other.getGoogetPackage()); + break; + } + case ZYPPER_PATCH: + { + mergeZypperPatch(other.getZypperPatch()); + break; + } + case WUA_PACKAGE: + { + mergeWuaPackage(other.getWuaPackage()); + break; + } + case QFE_PACKAGE: + { + mergeQfePackage(other.getQfePackage()); + break; + } + case COS_PACKAGE: + { + mergeCosPackage(other.getCosPackage()); + break; + } + case WINDOWS_APPLICATION: + { + mergeWindowsApplication(other.getWindowsApplication()); + break; + } + case DETAILS_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -5964,7 +6855,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5973,12 +6866,12 @@ public Builder mergeFrom( } return this; } + private int detailsCase_ = 0; private java.lang.Object details_; - public DetailsCase - getDetailsCase() { - return DetailsCase.forNumber( - detailsCase_); + + public DetailsCase getDetailsCase() { + return DetailsCase.forNumber(detailsCase_); } public Builder clearDetails() { @@ -5988,10 +6881,14 @@ public Builder clearDetails() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> yumPackageBuilder_; + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> + yumPackageBuilder_; /** + * + * *
        * Yum package info.
        * For details about the yum package manager, see
@@ -5999,6 +6896,7 @@ public Builder clearDetails() {
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1; + * * @return Whether the yumPackage field is set. */ @java.lang.Override @@ -6006,6 +6904,8 @@ public boolean hasYumPackage() { return detailsCase_ == 1; } /** + * + * *
        * Yum package info.
        * For details about the yum package manager, see
@@ -6013,6 +6913,7 @@ public boolean hasYumPackage() {
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1; + * * @return The yumPackage. */ @java.lang.Override @@ -6030,6 +6931,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getYumPackag } } /** + * + * *
        * Yum package info.
        * For details about the yum package manager, see
@@ -6038,7 +6941,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getYumPackag
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1;
        */
-      public Builder setYumPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
+      public Builder setYumPackage(
+          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
         if (yumPackageBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -6052,6 +6956,8 @@ public Builder setYumPackage(com.google.cloud.osconfig.v1alpha.Inventory.Version
         return this;
       }
       /**
+       *
+       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -6072,6 +6978,8 @@ public Builder setYumPackage(
         return this;
       }
       /**
+       *
+       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -6080,12 +6988,18 @@ public Builder setYumPackage(
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1;
        */
-      public Builder mergeYumPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
+      public Builder mergeYumPackage(
+          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
         if (yumPackageBuilder_ == null) {
-          if (detailsCase_ == 1 &&
-              details_ != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance()) {
-            details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_)
-                .mergeFrom(value).buildPartial();
+          if (detailsCase_ == 1
+              && details_
+                  != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage
+                      .getDefaultInstance()) {
+            details_ =
+                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder(
+                        (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             details_ = value;
           }
@@ -6101,6 +7015,8 @@ public Builder mergeYumPackage(com.google.cloud.osconfig.v1alpha.Inventory.Versi
         return this;
       }
       /**
+       *
+       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -6126,6 +7042,8 @@ public Builder clearYumPackage() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -6134,10 +7052,13 @@ public Builder clearYumPackage() {
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1;
        */
-      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder getYumPackageBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder
+          getYumPackageBuilder() {
         return getYumPackageFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -6147,7 +7068,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder getY
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getYumPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
+          getYumPackageOrBuilder() {
         if ((detailsCase_ == 1) && (yumPackageBuilder_ != null)) {
           return yumPackageBuilder_.getMessageOrBuilder();
         } else {
@@ -6158,6 +7080,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder get
         }
       }
       /**
+       *
+       *
        * 
        * Yum package info.
        * For details about the yum package manager, see
@@ -6167,27 +7091,39 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder get
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> 
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>
           getYumPackageFieldBuilder() {
         if (yumPackageBuilder_ == null) {
           if (!(detailsCase_ == 1)) {
-            details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
+            details_ =
+                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
           }
-          yumPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>(
+          yumPackageBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
+                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
+                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>(
                   (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 1;
-        onChanged();;
+        onChanged();
+        ;
         return yumPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> aptPackageBuilder_;
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>
+          aptPackageBuilder_;
       /**
+       *
+       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -6195,6 +7131,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder get
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2; + * * @return Whether the aptPackage field is set. */ @java.lang.Override @@ -6202,6 +7139,8 @@ public boolean hasAptPackage() { return detailsCase_ == 2; } /** + * + * *
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -6209,6 +7148,7 @@ public boolean hasAptPackage() {
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2; + * * @return The aptPackage. */ @java.lang.Override @@ -6226,6 +7166,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getAptPackag } } /** + * + * *
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -6234,7 +7176,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getAptPackag
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2;
        */
-      public Builder setAptPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
+      public Builder setAptPackage(
+          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
         if (aptPackageBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -6248,6 +7191,8 @@ public Builder setAptPackage(com.google.cloud.osconfig.v1alpha.Inventory.Version
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -6268,6 +7213,8 @@ public Builder setAptPackage(
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -6276,12 +7223,18 @@ public Builder setAptPackage(
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2;
        */
-      public Builder mergeAptPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
+      public Builder mergeAptPackage(
+          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
         if (aptPackageBuilder_ == null) {
-          if (detailsCase_ == 2 &&
-              details_ != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance()) {
-            details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_)
-                .mergeFrom(value).buildPartial();
+          if (detailsCase_ == 2
+              && details_
+                  != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage
+                      .getDefaultInstance()) {
+            details_ =
+                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder(
+                        (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             details_ = value;
           }
@@ -6297,6 +7250,8 @@ public Builder mergeAptPackage(com.google.cloud.osconfig.v1alpha.Inventory.Versi
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -6322,6 +7277,8 @@ public Builder clearAptPackage() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -6330,10 +7287,13 @@ public Builder clearAptPackage() {
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2;
        */
-      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder getAptPackageBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder
+          getAptPackageBuilder() {
         return getAptPackageFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -6343,7 +7303,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder getA
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getAptPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
+          getAptPackageOrBuilder() {
         if ((detailsCase_ == 2) && (aptPackageBuilder_ != null)) {
           return aptPackageBuilder_.getMessageOrBuilder();
         } else {
@@ -6354,6 +7315,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder get
         }
       }
       /**
+       *
+       *
        * 
        * Details of an APT package.
        * For details about the apt package manager, see
@@ -6363,27 +7326,39 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder get
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> 
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>
           getAptPackageFieldBuilder() {
         if (aptPackageBuilder_ == null) {
           if (!(detailsCase_ == 2)) {
-            details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
+            details_ =
+                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
           }
-          aptPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>(
+          aptPackageBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
+                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
+                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>(
                   (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 2;
-        onChanged();;
+        onChanged();
+        ;
         return aptPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> zypperPackageBuilder_;
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>
+          zypperPackageBuilder_;
       /**
+       *
+       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -6391,6 +7366,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder get
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3; + * * @return Whether the zypperPackage field is set. */ @java.lang.Override @@ -6398,6 +7374,8 @@ public boolean hasZypperPackage() { return detailsCase_ == 3; } /** + * + * *
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -6405,6 +7383,7 @@ public boolean hasZypperPackage() {
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3; + * * @return The zypperPackage. */ @java.lang.Override @@ -6422,6 +7401,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getZypperPac } } /** + * + * *
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -6430,7 +7411,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getZypperPac
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3;
        */
-      public Builder setZypperPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
+      public Builder setZypperPackage(
+          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
         if (zypperPackageBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -6444,6 +7426,8 @@ public Builder setZypperPackage(com.google.cloud.osconfig.v1alpha.Inventory.Vers
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -6464,6 +7448,8 @@ public Builder setZypperPackage(
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -6472,12 +7458,18 @@ public Builder setZypperPackage(
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3;
        */
-      public Builder mergeZypperPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
+      public Builder mergeZypperPackage(
+          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
         if (zypperPackageBuilder_ == null) {
-          if (detailsCase_ == 3 &&
-              details_ != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance()) {
-            details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_)
-                .mergeFrom(value).buildPartial();
+          if (detailsCase_ == 3
+              && details_
+                  != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage
+                      .getDefaultInstance()) {
+            details_ =
+                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder(
+                        (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             details_ = value;
           }
@@ -6493,6 +7485,8 @@ public Builder mergeZypperPackage(com.google.cloud.osconfig.v1alpha.Inventory.Ve
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -6518,6 +7512,8 @@ public Builder clearZypperPackage() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -6526,10 +7522,13 @@ public Builder clearZypperPackage() {
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3;
        */
-      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder getZypperPackageBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder
+          getZypperPackageBuilder() {
         return getZypperPackageFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -6539,7 +7538,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder getZ
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getZypperPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
+          getZypperPackageOrBuilder() {
         if ((detailsCase_ == 3) && (zypperPackageBuilder_ != null)) {
           return zypperPackageBuilder_.getMessageOrBuilder();
         } else {
@@ -6550,6 +7550,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder get
         }
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper package.
        * For details about the Zypper package manager, see
@@ -6559,27 +7561,39 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder get
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> 
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>
           getZypperPackageFieldBuilder() {
         if (zypperPackageBuilder_ == null) {
           if (!(detailsCase_ == 3)) {
-            details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
+            details_ =
+                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
           }
-          zypperPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>(
+          zypperPackageBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
+                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
+                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>(
                   (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 3;
-        onChanged();;
+        onChanged();
+        ;
         return zypperPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> googetPackageBuilder_;
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>
+          googetPackageBuilder_;
       /**
+       *
+       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -6587,6 +7601,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder get
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4; + * * @return Whether the googetPackage field is set. */ @java.lang.Override @@ -6594,6 +7609,8 @@ public boolean hasGoogetPackage() { return detailsCase_ == 4; } /** + * + * *
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -6601,6 +7618,7 @@ public boolean hasGoogetPackage() {
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4; + * * @return The googetPackage. */ @java.lang.Override @@ -6618,6 +7636,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getGoogetPac } } /** + * + * *
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -6626,7 +7646,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getGoogetPac
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4;
        */
-      public Builder setGoogetPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
+      public Builder setGoogetPackage(
+          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
         if (googetPackageBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -6640,6 +7661,8 @@ public Builder setGoogetPackage(com.google.cloud.osconfig.v1alpha.Inventory.Vers
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -6660,7 +7683,9 @@ public Builder setGoogetPackage(
         return this;
       }
       /**
-       * 
+       *
+       *
+       * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
        *  https://github.com/google/googet.
@@ -6668,12 +7693,18 @@ public Builder setGoogetPackage(
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4;
        */
-      public Builder mergeGoogetPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
+      public Builder mergeGoogetPackage(
+          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) {
         if (googetPackageBuilder_ == null) {
-          if (detailsCase_ == 4 &&
-              details_ != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance()) {
-            details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_)
-                .mergeFrom(value).buildPartial();
+          if (detailsCase_ == 4
+              && details_
+                  != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage
+                      .getDefaultInstance()) {
+            details_ =
+                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder(
+                        (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             details_ = value;
           }
@@ -6689,6 +7720,8 @@ public Builder mergeGoogetPackage(com.google.cloud.osconfig.v1alpha.Inventory.Ve
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -6714,6 +7747,8 @@ public Builder clearGoogetPackage() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -6722,10 +7757,13 @@ public Builder clearGoogetPackage() {
        *
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4;
        */
-      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder getGoogetPackageBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder
+          getGoogetPackageBuilder() {
         return getGoogetPackageFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -6735,7 +7773,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder getG
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getGoogetPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder
+          getGoogetPackageOrBuilder() {
         if ((detailsCase_ == 4) && (googetPackageBuilder_ != null)) {
           return googetPackageBuilder_.getMessageOrBuilder();
         } else {
@@ -6746,6 +7785,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder get
         }
       }
       /**
+       *
+       *
        * 
        * Details of a Googet package.
        *  For details about the googet package manager, see
@@ -6755,27 +7796,39 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder get
        * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> 
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>
           getGoogetPackageFieldBuilder() {
         if (googetPackageBuilder_ == null) {
           if (!(detailsCase_ == 4)) {
-            details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
+            details_ =
+                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
           }
-          googetPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>(
+          googetPackageBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage,
+                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder,
+                  com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>(
                   (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 4;
-        onChanged();;
+        onChanged();
+        ;
         return googetPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch, com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder, com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder> zypperPatchBuilder_;
+              com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch,
+              com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder,
+              com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder>
+          zypperPatchBuilder_;
       /**
+       *
+       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -6783,6 +7836,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder get
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5; + * * @return Whether the zypperPatch field is set. */ @java.lang.Override @@ -6790,6 +7844,8 @@ public boolean hasZypperPatch() { return detailsCase_ == 5; } /** + * + * *
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -6797,6 +7853,7 @@ public boolean hasZypperPatch() {
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5; + * * @return The zypperPatch. */ @java.lang.Override @@ -6814,6 +7871,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch getZypperPatch() } } /** + * + * *
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -6836,6 +7895,8 @@ public Builder setZypperPatch(com.google.cloud.osconfig.v1alpha.Inventory.Zypper
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -6856,6 +7917,8 @@ public Builder setZypperPatch(
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -6864,12 +7927,17 @@ public Builder setZypperPatch(
        *
        * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5;
        */
-      public Builder mergeZypperPatch(com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch value) {
+      public Builder mergeZypperPatch(
+          com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch value) {
         if (zypperPatchBuilder_ == null) {
-          if (detailsCase_ == 5 &&
-              details_ != com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.getDefaultInstance()) {
-            details_ = com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_)
-                .mergeFrom(value).buildPartial();
+          if (detailsCase_ == 5
+              && details_
+                  != com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.getDefaultInstance()) {
+            details_ =
+                com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.newBuilder(
+                        (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             details_ = value;
           }
@@ -6885,6 +7953,8 @@ public Builder mergeZypperPatch(com.google.cloud.osconfig.v1alpha.Inventory.Zypp
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -6910,6 +7980,8 @@ public Builder clearZypperPatch() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -6918,10 +7990,13 @@ public Builder clearZypperPatch() {
        *
        * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5;
        */
-      public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder getZypperPatchBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder
+          getZypperPatchBuilder() {
         return getZypperPatchFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -6931,7 +8006,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder getZypper
        * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder getZypperPatchOrBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder
+          getZypperPatchOrBuilder() {
         if ((detailsCase_ == 5) && (zypperPatchBuilder_ != null)) {
           return zypperPatchBuilder_.getMessageOrBuilder();
         } else {
@@ -6942,6 +8018,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder getZyppe
         }
       }
       /**
+       *
+       *
        * 
        * Details of a Zypper patch.
        * For details about the Zypper package manager, see
@@ -6951,27 +8029,38 @@ public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder getZyppe
        * .google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch, com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder, com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder> 
+              com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch,
+              com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder,
+              com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder>
           getZypperPatchFieldBuilder() {
         if (zypperPatchBuilder_ == null) {
           if (!(detailsCase_ == 5)) {
             details_ = com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.getDefaultInstance();
           }
-          zypperPatchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch, com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder, com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder>(
+          zypperPatchBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch,
+                  com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder,
+                  com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder>(
                   (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 5;
-        onChanged();;
+        onChanged();
+        ;
         return zypperPatchBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder> wuaPackageBuilder_;
+              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage,
+              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder,
+              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder>
+          wuaPackageBuilder_;
       /**
+       *
+       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -6979,6 +8068,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder getZyppe
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6; + * * @return Whether the wuaPackage field is set. */ @java.lang.Override @@ -6986,6 +8076,8 @@ public boolean hasWuaPackage() { return detailsCase_ == 6; } /** + * + * *
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -6993,6 +8085,7 @@ public boolean hasWuaPackage() {
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6; + * * @return The wuaPackage. */ @java.lang.Override @@ -7001,15 +8094,19 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage getWuaPa if (detailsCase_ == 6) { return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_; } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .getDefaultInstance(); } else { if (detailsCase_ == 6) { return wuaPackageBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .getDefaultInstance(); } } /** + * + * *
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -7018,7 +8115,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage getWuaPa
        *
        * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6;
        */
-      public Builder setWuaPackage(com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage value) {
+      public Builder setWuaPackage(
+          com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage value) {
         if (wuaPackageBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -7032,6 +8130,8 @@ public Builder setWuaPackage(com.google.cloud.osconfig.v1alpha.Inventory.Windows
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -7041,7 +8141,8 @@ public Builder setWuaPackage(com.google.cloud.osconfig.v1alpha.Inventory.Windows
        * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6;
        */
       public Builder setWuaPackage(
-          com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder builderForValue) {
+          com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder
+              builderForValue) {
         if (wuaPackageBuilder_ == null) {
           details_ = builderForValue.build();
           onChanged();
@@ -7052,6 +8153,8 @@ public Builder setWuaPackage(
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -7060,12 +8163,18 @@ public Builder setWuaPackage(
        *
        * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6;
        */
-      public Builder mergeWuaPackage(com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage value) {
+      public Builder mergeWuaPackage(
+          com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage value) {
         if (wuaPackageBuilder_ == null) {
-          if (detailsCase_ == 6 &&
-              details_ != com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.getDefaultInstance()) {
-            details_ = com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_)
-                .mergeFrom(value).buildPartial();
+          if (detailsCase_ == 6
+              && details_
+                  != com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage
+                      .getDefaultInstance()) {
+            details_ =
+                com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.newBuilder(
+                        (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             details_ = value;
           }
@@ -7081,6 +8190,8 @@ public Builder mergeWuaPackage(com.google.cloud.osconfig.v1alpha.Inventory.Windo
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -7106,6 +8217,8 @@ public Builder clearWuaPackage() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -7114,10 +8227,13 @@ public Builder clearWuaPackage() {
        *
        * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6;
        */
-      public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder getWuaPackageBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder
+          getWuaPackageBuilder() {
         return getWuaPackageFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -7127,17 +8243,21 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder
        * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6;
        */
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder getWuaPackageOrBuilder() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder
+          getWuaPackageOrBuilder() {
         if ((detailsCase_ == 6) && (wuaPackageBuilder_ != null)) {
           return wuaPackageBuilder_.getMessageOrBuilder();
         } else {
           if (detailsCase_ == 6) {
             return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_;
           }
-          return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.getDefaultInstance();
+          return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage
+              .getDefaultInstance();
         }
       }
       /**
+       *
+       *
        * 
        * Details of a Windows Update package.
        * See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
@@ -7147,27 +8267,41 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder
        * .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder> 
+              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage,
+              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder,
+              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder>
           getWuaPackageFieldBuilder() {
         if (wuaPackageBuilder_ == null) {
           if (!(detailsCase_ == 6)) {
-            details_ = com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.getDefaultInstance();
+            details_ =
+                com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage
+                    .getDefaultInstance();
           }
-          wuaPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder>(
+          wuaPackageBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage,
+                  com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder,
+                  com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder>(
                   (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) details_,
                   getParentForChildren(),
                   isClean());
           details_ = null;
         }
         detailsCase_ = 6;
-        onChanged();;
+        onChanged();
+        ;
         return wuaPackageBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage, com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder> qfePackageBuilder_;
+              com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage,
+              com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder,
+              com.google.cloud.osconfig.v1alpha.Inventory
+                  .WindowsQuickFixEngineeringPackageOrBuilder>
+          qfePackageBuilder_;
       /**
+       *
+       *
        * 
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -7175,7 +8309,10 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder
        * for info in Windows Quick Fix Engineering.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * * @return Whether the qfePackage field is set. */ @java.lang.Override @@ -7183,6 +8320,8 @@ public boolean hasQfePackage() { return detailsCase_ == 7; } /** + * + * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -7190,24 +8329,33 @@ public boolean hasQfePackage() {
        * for info in Windows Quick Fix Engineering.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * * @return The qfePackage. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage getQfePackage() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + getQfePackage() { if (qfePackageBuilder_ == null) { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) + details_; } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + .getDefaultInstance(); } else { if (detailsCase_ == 7) { return qfePackageBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + .getDefaultInstance(); } } /** + * + * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -7215,9 +8363,12 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPac
        * for info in Windows Quick Fix Engineering.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * */ - public Builder setQfePackage(com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage value) { + public Builder setQfePackage( + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage value) { if (qfePackageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7231,6 +8382,8 @@ public Builder setQfePackage(com.google.cloud.osconfig.v1alpha.Inventory.Windows return this; } /** + * + * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -7238,10 +8391,13 @@ public Builder setQfePackage(com.google.cloud.osconfig.v1alpha.Inventory.Windows
        * for info in Windows Quick Fix Engineering.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * */ public Builder setQfePackage( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder + builderForValue) { if (qfePackageBuilder_ == null) { details_ = builderForValue.build(); onChanged(); @@ -7252,6 +8408,8 @@ public Builder setQfePackage( return this; } /** + * + * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -7259,14 +8417,25 @@ public Builder setQfePackage(
        * for info in Windows Quick Fix Engineering.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * */ - public Builder mergeQfePackage(com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage value) { + public Builder mergeQfePackage( + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage value) { if (qfePackageBuilder_ == null) { - if (detailsCase_ == 7 && - details_ != com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance()) { - details_ = com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 7 + && details_ + != com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + .getDefaultInstance()) { + details_ = + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + .newBuilder( + (com.google.cloud.osconfig.v1alpha.Inventory + .WindowsQuickFixEngineeringPackage) + details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -7282,6 +8451,8 @@ public Builder mergeQfePackage(com.google.cloud.osconfig.v1alpha.Inventory.Windo return this; } /** + * + * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -7289,7 +8460,9 @@ public Builder mergeQfePackage(com.google.cloud.osconfig.v1alpha.Inventory.Windo
        * for info in Windows Quick Fix Engineering.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * */ public Builder clearQfePackage() { if (qfePackageBuilder_ == null) { @@ -7308,6 +8481,8 @@ public Builder clearQfePackage() { return this; } /** + * + * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -7315,12 +8490,17 @@ public Builder clearQfePackage() {
        * for info in Windows Quick Fix Engineering.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * */ - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder getQfePackageBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder + getQfePackageBuilder() { return getQfePackageFieldBuilder().getBuilder(); } /** + * + * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -7328,20 +8508,27 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPac
        * for info in Windows Quick Fix Engineering.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder getQfePackageOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder + getQfePackageOrBuilder() { if ((detailsCase_ == 7) && (qfePackageBuilder_ != null)) { return qfePackageBuilder_.getMessageOrBuilder(); } else { if (detailsCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_; + return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) + details_; } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + .getDefaultInstance(); } } /** + * + * *
        * Details of a Windows Quick Fix engineering package.
        * See
@@ -7349,35 +8536,55 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPac
        * for info in Windows Quick Fix Engineering.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * + * .google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage, com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder> + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder, + com.google.cloud.osconfig.v1alpha.Inventory + .WindowsQuickFixEngineeringPackageOrBuilder> getQfePackageFieldBuilder() { if (qfePackageBuilder_ == null) { if (!(detailsCase_ == 7)) { - details_ = com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); + details_ = + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + .getDefaultInstance(); } - qfePackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage, com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder>( - (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) details_, + qfePackageBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + .Builder, + com.google.cloud.osconfig.v1alpha.Inventory + .WindowsQuickFixEngineeringPackageOrBuilder>( + (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) + details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 7; - onChanged();; + onChanged(); + ; return qfePackageBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> cosPackageBuilder_; + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> + cosPackageBuilder_; /** + * + * *
        * Details of a COS package.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; + * * @return Whether the cosPackage field is set. */ @java.lang.Override @@ -7385,11 +8592,14 @@ public boolean hasCosPackage() { return detailsCase_ == 8; } /** + * + * *
        * Details of a COS package.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; + * * @return The cosPackage. */ @java.lang.Override @@ -7407,13 +8617,16 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getCosPackag } } /** + * + * *
        * Details of a COS package.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; */ - public Builder setCosPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) { + public Builder setCosPackage( + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) { if (cosPackageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7427,6 +8640,8 @@ public Builder setCosPackage(com.google.cloud.osconfig.v1alpha.Inventory.Version return this; } /** + * + * *
        * Details of a COS package.
        * 
@@ -7445,18 +8660,26 @@ public Builder setCosPackage( return this; } /** + * + * *
        * Details of a COS package.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; */ - public Builder mergeCosPackage(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) { + public Builder mergeCosPackage( + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage value) { if (cosPackageBuilder_ == null) { - if (detailsCase_ == 8 && - details_ != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance()) { - details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 8 + && details_ + != com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage + .getDefaultInstance()) { + details_ = + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder( + (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -7472,6 +8695,8 @@ public Builder mergeCosPackage(com.google.cloud.osconfig.v1alpha.Inventory.Versi return this; } /** + * + * *
        * Details of a COS package.
        * 
@@ -7495,16 +8720,21 @@ public Builder clearCosPackage() { return this; } /** + * + * *
        * Details of a COS package.
        * 
* * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; */ - public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder getCosPackageBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder + getCosPackageBuilder() { return getCosPackageFieldBuilder().getBuilder(); } /** + * + * *
        * Details of a COS package.
        * 
@@ -7512,7 +8742,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder getC * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder getCosPackageOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder + getCosPackageOrBuilder() { if ((detailsCase_ == 8) && (cosPackageBuilder_ != null)) { return cosPackageBuilder_.getMessageOrBuilder(); } else { @@ -7523,6 +8754,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder get } } /** + * + * *
        * Details of a COS package.
        * 
@@ -7530,32 +8763,46 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder get * .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder> getCosPackageFieldBuilder() { if (cosPackageBuilder_ == null) { if (!(detailsCase_ == 8)) { - details_ = com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance(); + details_ = + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance(); } - cosPackageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>( + cosPackageBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage, + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder, + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder>( (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 8; - onChanged();; + onChanged(); + ; return cosPackageBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication, com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder> windowsApplicationBuilder_; + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder> + windowsApplicationBuilder_; /** + * + * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * + * * @return Whether the windowsApplication field is set. */ @java.lang.Override @@ -7563,35 +8810,46 @@ public boolean hasWindowsApplication() { return detailsCase_ == 9; } /** + * + * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * + * * @return The windowsApplication. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication getWindowsApplication() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication + getWindowsApplication() { if (windowsApplicationBuilder_ == null) { if (detailsCase_ == 9) { return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_; } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication + .getDefaultInstance(); } else { if (detailsCase_ == 9) { return windowsApplicationBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication + .getDefaultInstance(); } } /** + * + * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * */ - public Builder setWindowsApplication(com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication value) { + public Builder setWindowsApplication( + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication value) { if (windowsApplicationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7605,11 +8863,14 @@ public Builder setWindowsApplication(com.google.cloud.osconfig.v1alpha.Inventory return this; } /** + * + * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * */ public Builder setWindowsApplication( com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder builderForValue) { @@ -7623,18 +8884,27 @@ public Builder setWindowsApplication( return this; } /** + * + * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * */ - public Builder mergeWindowsApplication(com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication value) { + public Builder mergeWindowsApplication( + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication value) { if (windowsApplicationBuilder_ == null) { - if (detailsCase_ == 9 && - details_ != com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance()) { - details_ = com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.newBuilder((com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 9 + && details_ + != com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication + .getDefaultInstance()) { + details_ = + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.newBuilder( + (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -7650,11 +8920,14 @@ public Builder mergeWindowsApplication(com.google.cloud.osconfig.v1alpha.Invento return this; } /** + * + * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * */ public Builder clearWindowsApplication() { if (windowsApplicationBuilder_ == null) { @@ -7673,58 +8946,78 @@ public Builder clearWindowsApplication() { return this; } /** + * + * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * */ - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder getWindowsApplicationBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder + getWindowsApplicationBuilder() { return getWindowsApplicationFieldBuilder().getBuilder(); } /** + * + * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder getWindowsApplicationOrBuilder() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder + getWindowsApplicationOrBuilder() { if ((detailsCase_ == 9) && (windowsApplicationBuilder_ != null)) { return windowsApplicationBuilder_.getMessageOrBuilder(); } else { if (detailsCase_ == 9) { return (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_; } - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication + .getDefaultInstance(); } } /** + * + * *
        * Details of Windows Application.
        * 
* - * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication, com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder> + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder> getWindowsApplicationFieldBuilder() { if (windowsApplicationBuilder_ == null) { if (!(detailsCase_ == 9)) { - details_ = com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance(); + details_ = + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance(); } - windowsApplicationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication, com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder>( + windowsApplicationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder>( (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 9; - onChanged();; + onChanged(); + ; return windowsApplicationBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7737,12 +9030,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage) - private static final com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage(); } @@ -7751,16 +9045,16 @@ public static com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SoftwarePackage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SoftwarePackage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SoftwarePackage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SoftwarePackage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7775,74 +9069,91 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface VersionedPackageOrBuilder extends + public interface VersionedPackageOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The name of the package.
      * 
* * string package_name = 4; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
      * The name of the package.
      * 
* * string package_name = 4; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); /** + * + * *
      * The system architecture this package is intended for.
      * 
* * string architecture = 2; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
      * The system architecture this package is intended for.
      * 
* * string architecture = 2; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); /** + * + * *
      * The version of the package.
      * 
* * string version = 3; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
      * The version of the package.
      * 
* * string version = 3; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); } /** + * + * *
    * Information related to the a standard versioned package.  This includes
    * package info for APT, Yum, Zypper, and Googet package managers.
@@ -7850,15 +9161,16 @@ public interface VersionedPackageOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.VersionedPackage}
    */
-  public static final class VersionedPackage extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class VersionedPackage extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory.VersionedPackage)
       VersionedPackageOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use VersionedPackage.newBuilder() to construct.
     private VersionedPackage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private VersionedPackage() {
       packageName_ = "";
       architecture_ = "";
@@ -7867,16 +9179,15 @@ private VersionedPackage() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new VersionedPackage();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private VersionedPackage(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -7895,31 +9206,34 @@ private VersionedPackage(
             case 0:
               done = true;
               break;
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              architecture_ = s;
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
+                architecture_ = s;
+                break;
+              }
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
+                version_ = s;
+                break;
+              }
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              packageName_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                packageName_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -7927,34 +9241,39 @@ private VersionedPackage(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.Inventories
+          .internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.Inventories
+          .internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.class, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder.class);
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.class,
+              com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder.class);
     }
 
     public static final int PACKAGE_NAME_FIELD_NUMBER = 4;
     private volatile java.lang.Object packageName_;
     /**
+     *
+     *
      * 
      * The name of the package.
      * 
* * string package_name = 4; + * * @return The packageName. */ @java.lang.Override @@ -7963,29 +9282,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
      * The name of the package.
      * 
* * string package_name = 4; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -7996,11 +9315,14 @@ public java.lang.String getPackageName() { public static final int ARCHITECTURE_FIELD_NUMBER = 2; private volatile java.lang.Object architecture_; /** + * + * *
      * The system architecture this package is intended for.
      * 
* * string architecture = 2; + * * @return The architecture. */ @java.lang.Override @@ -8009,29 +9331,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
      * The system architecture this package is intended for.
      * 
* * string architecture = 2; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -8042,11 +9364,14 @@ public java.lang.String getArchitecture() { public static final int VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object version_; /** + * + * *
      * The version of the package.
      * 
* * string version = 3; + * * @return The version. */ @java.lang.Override @@ -8055,29 +9380,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
      * The version of the package.
      * 
* * string version = 3; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -8086,6 +9411,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8097,8 +9423,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, architecture_); } @@ -8134,19 +9459,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage other = (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) obj; + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage other = + (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) obj; - if (!getPackageName() - .equals(other.getPackageName())) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8170,87 +9493,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage 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.osconfig.v1alpha.Inventory.VersionedPackage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8260,6 +9590,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Information related to the a standard versioned package.  This includes
      * package info for APT, Yum, Zypper, and Googet package managers.
@@ -8267,21 +9599,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.VersionedPackage}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory.VersionedPackage)
         com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackageOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.Inventories
+            .internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.Inventories
+            .internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.class, com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder.class);
+                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.class,
+                com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.newBuilder()
@@ -8289,16 +9624,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -8312,13 +9646,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1alpha.Inventories
+            .internal_static_google_cloud_osconfig_v1alpha_Inventory_VersionedPackage_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage
+          getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance();
       }
 
@@ -8333,7 +9668,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage buildPartial() {
-        com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage result = new com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage(this);
+        com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage result =
+            new com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage(this);
         result.packageName_ = packageName_;
         result.architecture_ = architecture_;
         result.version_ = version_;
@@ -8345,38 +9681,41 @@ public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage buildPartial
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1alpha.Inventory.VersionedPackage) {
-          return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage)other);
+          return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -8384,7 +9723,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage other) {
-        if (other == com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance()) return this;
+        if (other
+            == com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage.getDefaultInstance())
+          return this;
         if (!other.getPackageName().isEmpty()) {
           packageName_ = other.packageName_;
           onChanged();
@@ -8416,7 +9757,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -8428,18 +9771,20 @@ public Builder mergeFrom(
 
       private java.lang.Object packageName_ = "";
       /**
+       *
+       *
        * 
        * The name of the package.
        * 
* * string package_name = 4; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -8448,20 +9793,21 @@ public java.lang.String getPackageName() { } } /** + * + * *
        * The name of the package.
        * 
* * string package_name = 4; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -8469,54 +9815,61 @@ public java.lang.String getPackageName() { } } /** + * + * *
        * The name of the package.
        * 
* * string package_name = 4; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** + * + * *
        * The name of the package.
        * 
* * string package_name = 4; + * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** + * + * *
        * The name of the package.
        * 
* * string package_name = 4; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -8524,18 +9877,20 @@ public Builder setPackageNameBytes( private java.lang.Object architecture_ = ""; /** + * + * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -8544,20 +9899,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -8565,54 +9921,61 @@ public java.lang.String getArchitecture() { } } /** + * + * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
        * The system architecture this package is intended for.
        * 
* * string architecture = 2; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -8620,18 +9983,20 @@ public Builder setArchitectureBytes( private java.lang.Object version_ = ""; /** + * + * *
        * The version of the package.
        * 
* * string version = 3; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -8640,20 +10005,21 @@ public java.lang.String getVersion() { } } /** + * + * *
        * The version of the package.
        * 
* * string version = 3; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -8661,58 +10027,66 @@ public java.lang.String getVersion() { } } /** + * + * *
        * The version of the package.
        * 
* * string version = 3; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
        * The version of the package.
        * 
* * string version = 3; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
        * The version of the package.
        * 
* * string version = 3; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8725,30 +10099,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory.VersionedPackage) - private static final com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage(); } - public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VersionedPackage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VersionedPackage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VersionedPackage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VersionedPackage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8760,112 +10136,136 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ZypperPatchOrBuilder extends + public interface ZypperPatchOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The name of the patch.
      * 
* * string patch_name = 5; + * * @return The patchName. */ java.lang.String getPatchName(); /** + * + * *
      * The name of the patch.
      * 
* * string patch_name = 5; + * * @return The bytes for patchName. */ - com.google.protobuf.ByteString - getPatchNameBytes(); + com.google.protobuf.ByteString getPatchNameBytes(); /** + * + * *
      * The category of the patch.
      * 
* * string category = 2; + * * @return The category. */ java.lang.String getCategory(); /** + * + * *
      * The category of the patch.
      * 
* * string category = 2; + * * @return The bytes for category. */ - com.google.protobuf.ByteString - getCategoryBytes(); + com.google.protobuf.ByteString getCategoryBytes(); /** + * + * *
      * The severity specified for this patch
      * 
* * string severity = 3; + * * @return The severity. */ java.lang.String getSeverity(); /** + * + * *
      * The severity specified for this patch
      * 
* * string severity = 3; + * * @return The bytes for severity. */ - com.google.protobuf.ByteString - getSeverityBytes(); + com.google.protobuf.ByteString getSeverityBytes(); /** + * + * *
      * Any summary information provided about this patch.
      * 
* * string summary = 4; + * * @return The summary. */ java.lang.String getSummary(); /** + * + * *
      * Any summary information provided about this patch.
      * 
* * string summary = 4; + * * @return The bytes for summary. */ - com.google.protobuf.ByteString - getSummaryBytes(); + com.google.protobuf.ByteString getSummaryBytes(); } /** + * + * *
    * Details related to a Zypper Patch.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.ZypperPatch} */ - public static final class ZypperPatch extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ZypperPatch extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) ZypperPatchOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ZypperPatch.newBuilder() to construct. private ZypperPatch(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ZypperPatch() { patchName_ = ""; category_ = ""; @@ -8875,16 +10275,15 @@ private ZypperPatch() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ZypperPatch(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ZypperPatch( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -8903,37 +10302,41 @@ private ZypperPatch( case 0: done = true; break; - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - category_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + category_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - severity_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + severity_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - summary_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + summary_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - patchName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + patchName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8941,34 +10344,39 @@ private ZypperPatch( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.class, com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.class, + com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder.class); } public static final int PATCH_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object patchName_; /** + * + * *
      * The name of the patch.
      * 
* * string patch_name = 5; + * * @return The patchName. */ @java.lang.Override @@ -8977,29 +10385,29 @@ public java.lang.String getPatchName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchName_ = s; return s; } } /** + * + * *
      * The name of the patch.
      * 
* * string patch_name = 5; + * * @return The bytes for patchName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPatchNameBytes() { + public com.google.protobuf.ByteString getPatchNameBytes() { java.lang.Object ref = patchName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); patchName_ = b; return b; } else { @@ -9010,11 +10418,14 @@ public java.lang.String getPatchName() { public static final int CATEGORY_FIELD_NUMBER = 2; private volatile java.lang.Object category_; /** + * + * *
      * The category of the patch.
      * 
* * string category = 2; + * * @return The category. */ @java.lang.Override @@ -9023,29 +10434,29 @@ public java.lang.String getCategory() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); category_ = s; return s; } } /** + * + * *
      * The category of the patch.
      * 
* * string category = 2; + * * @return The bytes for category. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryBytes() { + public com.google.protobuf.ByteString getCategoryBytes() { java.lang.Object ref = category_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); category_ = b; return b; } else { @@ -9056,11 +10467,14 @@ public java.lang.String getCategory() { public static final int SEVERITY_FIELD_NUMBER = 3; private volatile java.lang.Object severity_; /** + * + * *
      * The severity specified for this patch
      * 
* * string severity = 3; + * * @return The severity. */ @java.lang.Override @@ -9069,29 +10483,29 @@ public java.lang.String getSeverity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; } } /** + * + * *
      * The severity specified for this patch
      * 
* * string severity = 3; + * * @return The bytes for severity. */ @java.lang.Override - public com.google.protobuf.ByteString - getSeverityBytes() { + public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); severity_ = b; return b; } else { @@ -9102,11 +10516,14 @@ public java.lang.String getSeverity() { public static final int SUMMARY_FIELD_NUMBER = 4; private volatile java.lang.Object summary_; /** + * + * *
      * Any summary information provided about this patch.
      * 
* * string summary = 4; + * * @return The summary. */ @java.lang.Override @@ -9115,29 +10532,29 @@ public java.lang.String getSummary() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); summary_ = s; return s; } } /** + * + * *
      * Any summary information provided about this patch.
      * 
* * string summary = 4; + * * @return The bytes for summary. */ @java.lang.Override - public com.google.protobuf.ByteString - getSummaryBytes() { + public com.google.protobuf.ByteString getSummaryBytes() { java.lang.Object ref = summary_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); summary_ = b; return b; } else { @@ -9146,6 +10563,7 @@ public java.lang.String getSummary() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9157,8 +10575,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(category_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, category_); } @@ -9200,21 +10617,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch other = (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) obj; + com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch other = + (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) obj; - if (!getPatchName() - .equals(other.getPatchName())) return false; - if (!getCategory() - .equals(other.getCategory())) return false; - if (!getSeverity() - .equals(other.getSeverity())) return false; - if (!getSummary() - .equals(other.getSummary())) return false; + if (!getPatchName().equals(other.getPatchName())) return false; + if (!getCategory().equals(other.getCategory())) return false; + if (!getSeverity().equals(other.getSeverity())) return false; + if (!getSummary().equals(other.getSummary())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9240,87 +10654,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch 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.osconfig.v1alpha.Inventory.ZypperPatch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9330,27 +10751,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Details related to a Zypper Patch.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.ZypperPatch} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatchOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.class, com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.class, + com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.newBuilder() @@ -9358,16 +10784,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -9383,9 +10808,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_ZypperPatch_descriptor; } @java.lang.Override @@ -9404,7 +10829,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch buildPartial() { - com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch result = new com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch(this); + com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch result = + new com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch(this); result.patchName_ = patchName_; result.category_ = category_; result.severity_ = severity_; @@ -9417,38 +10843,41 @@ public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.Inventory.ZypperPatch) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch)other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) other); } else { super.mergeFrom(other); return this; @@ -9456,7 +10885,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch other) { - if (other == com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.getDefaultInstance()) + return this; if (!other.getPatchName().isEmpty()) { patchName_ = other.patchName_; onChanged(); @@ -9492,7 +10922,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9504,18 +10935,20 @@ public Builder mergeFrom( private java.lang.Object patchName_ = ""; /** + * + * *
        * The name of the patch.
        * 
* * string patch_name = 5; + * * @return The patchName. */ public java.lang.String getPatchName() { java.lang.Object ref = patchName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchName_ = s; return s; @@ -9524,20 +10957,21 @@ public java.lang.String getPatchName() { } } /** + * + * *
        * The name of the patch.
        * 
* * string patch_name = 5; + * * @return The bytes for patchName. */ - public com.google.protobuf.ByteString - getPatchNameBytes() { + public com.google.protobuf.ByteString getPatchNameBytes() { java.lang.Object ref = patchName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); patchName_ = b; return b; } else { @@ -9545,54 +10979,61 @@ public java.lang.String getPatchName() { } } /** + * + * *
        * The name of the patch.
        * 
* * string patch_name = 5; + * * @param value The patchName to set. * @return This builder for chaining. */ - public Builder setPatchName( - java.lang.String value) { + public Builder setPatchName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + patchName_ = value; onChanged(); return this; } /** + * + * *
        * The name of the patch.
        * 
* * string patch_name = 5; + * * @return This builder for chaining. */ public Builder clearPatchName() { - + patchName_ = getDefaultInstance().getPatchName(); onChanged(); return this; } /** + * + * *
        * The name of the patch.
        * 
* * string patch_name = 5; + * * @param value The bytes for patchName to set. * @return This builder for chaining. */ - public Builder setPatchNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPatchNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + patchName_ = value; onChanged(); return this; @@ -9600,18 +11041,20 @@ public Builder setPatchNameBytes( private java.lang.Object category_ = ""; /** + * + * *
        * The category of the patch.
        * 
* * string category = 2; + * * @return The category. */ public java.lang.String getCategory() { java.lang.Object ref = category_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); category_ = s; return s; @@ -9620,20 +11063,21 @@ public java.lang.String getCategory() { } } /** + * + * *
        * The category of the patch.
        * 
* * string category = 2; + * * @return The bytes for category. */ - public com.google.protobuf.ByteString - getCategoryBytes() { + public com.google.protobuf.ByteString getCategoryBytes() { java.lang.Object ref = category_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); category_ = b; return b; } else { @@ -9641,54 +11085,61 @@ public java.lang.String getCategory() { } } /** + * + * *
        * The category of the patch.
        * 
* * string category = 2; + * * @param value The category to set. * @return This builder for chaining. */ - public Builder setCategory( - java.lang.String value) { + public Builder setCategory(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + category_ = value; onChanged(); return this; } /** + * + * *
        * The category of the patch.
        * 
* * string category = 2; + * * @return This builder for chaining. */ public Builder clearCategory() { - + category_ = getDefaultInstance().getCategory(); onChanged(); return this; } /** + * + * *
        * The category of the patch.
        * 
* * string category = 2; + * * @param value The bytes for category to set. * @return This builder for chaining. */ - public Builder setCategoryBytes( - com.google.protobuf.ByteString value) { + public Builder setCategoryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + category_ = value; onChanged(); return this; @@ -9696,18 +11147,20 @@ public Builder setCategoryBytes( private java.lang.Object severity_ = ""; /** + * + * *
        * The severity specified for this patch
        * 
* * string severity = 3; + * * @return The severity. */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; @@ -9716,20 +11169,21 @@ public java.lang.String getSeverity() { } } /** + * + * *
        * The severity specified for this patch
        * 
* * string severity = 3; + * * @return The bytes for severity. */ - public com.google.protobuf.ByteString - getSeverityBytes() { + public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); severity_ = b; return b; } else { @@ -9737,54 +11191,61 @@ public java.lang.String getSeverity() { } } /** + * + * *
        * The severity specified for this patch
        * 
* * string severity = 3; + * * @param value The severity to set. * @return This builder for chaining. */ - public Builder setSeverity( - java.lang.String value) { + public Builder setSeverity(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + severity_ = value; onChanged(); return this; } /** + * + * *
        * The severity specified for this patch
        * 
* * string severity = 3; + * * @return This builder for chaining. */ public Builder clearSeverity() { - + severity_ = getDefaultInstance().getSeverity(); onChanged(); return this; } /** + * + * *
        * The severity specified for this patch
        * 
* * string severity = 3; + * * @param value The bytes for severity to set. * @return This builder for chaining. */ - public Builder setSeverityBytes( - com.google.protobuf.ByteString value) { + public Builder setSeverityBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + severity_ = value; onChanged(); return this; @@ -9792,18 +11253,20 @@ public Builder setSeverityBytes( private java.lang.Object summary_ = ""; /** + * + * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; + * * @return The summary. */ public java.lang.String getSummary() { java.lang.Object ref = summary_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); summary_ = s; return s; @@ -9812,20 +11275,21 @@ public java.lang.String getSummary() { } } /** + * + * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; + * * @return The bytes for summary. */ - public com.google.protobuf.ByteString - getSummaryBytes() { + public com.google.protobuf.ByteString getSummaryBytes() { java.lang.Object ref = summary_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); summary_ = b; return b; } else { @@ -9833,58 +11297,66 @@ public java.lang.String getSummary() { } } /** + * + * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; + * * @param value The summary to set. * @return This builder for chaining. */ - public Builder setSummary( - java.lang.String value) { + public Builder setSummary(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + summary_ = value; onChanged(); return this; } /** + * + * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; + * * @return This builder for chaining. */ public Builder clearSummary() { - + summary_ = getDefaultInstance().getSummary(); onChanged(); return this; } /** + * + * *
        * Any summary information provided about this patch.
        * 
* * string summary = 4; + * * @param value The bytes for summary to set. * @return This builder for chaining. */ - public Builder setSummaryBytes( - com.google.protobuf.ByteString value) { + public Builder setSummaryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + summary_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9897,12 +11369,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory.ZypperPatch) private static final com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch(); } @@ -9911,16 +11383,16 @@ public static com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ZypperPatch parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ZypperPatch(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ZypperPatch parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ZypperPatch(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9935,258 +11407,334 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface WindowsUpdatePackageOrBuilder extends + public interface WindowsUpdatePackageOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The localized title of the update package.
      * 
* * string title = 1; + * * @return The title. */ java.lang.String getTitle(); /** + * + * *
      * The localized title of the update package.
      * 
* * string title = 1; + * * @return The bytes for title. */ - com.google.protobuf.ByteString - getTitleBytes(); + com.google.protobuf.ByteString getTitleBytes(); /** + * + * *
      * The localized description of the update package.
      * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * The localized description of the update package.
      * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - java.util.List + java.util.List< + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory> getCategoriesList(); /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getCategories(int index); + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + getCategories(int index); /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ int getCategoriesCount(); /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategoryOrBuilder> getCategoriesOrBuilderList(); /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder getCategoriesOrBuilder( - int index); + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder + getCategoriesOrBuilder(int index); /** + * + * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; + * * @return A list containing the kbArticleIds. */ - java.util.List - getKbArticleIdsList(); + java.util.List getKbArticleIdsList(); /** + * + * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; + * * @return The count of kbArticleIds. */ int getKbArticleIdsCount(); /** + * + * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; + * * @param index The index of the element to return. * @return The kbArticleIds at the given index. */ java.lang.String getKbArticleIds(int index); /** + * + * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; + * * @param index The index of the value to return. * @return The bytes of the kbArticleIds at the given index. */ - com.google.protobuf.ByteString - getKbArticleIdsBytes(int index); + com.google.protobuf.ByteString getKbArticleIdsBytes(int index); /** + * + * *
      * A hyperlink to the language-specific support information for the update.
      * 
* * string support_url = 11; + * * @return The supportUrl. */ java.lang.String getSupportUrl(); /** + * + * *
      * A hyperlink to the language-specific support information for the update.
      * 
* * string support_url = 11; + * * @return The bytes for supportUrl. */ - com.google.protobuf.ByteString - getSupportUrlBytes(); + com.google.protobuf.ByteString getSupportUrlBytes(); /** + * + * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; + * * @return A list containing the moreInfoUrls. */ - java.util.List - getMoreInfoUrlsList(); + java.util.List getMoreInfoUrlsList(); /** + * + * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; + * * @return The count of moreInfoUrls. */ int getMoreInfoUrlsCount(); /** + * + * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; + * * @param index The index of the element to return. * @return The moreInfoUrls at the given index. */ java.lang.String getMoreInfoUrls(int index); /** + * + * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; + * * @param index The index of the value to return. * @return The bytes of the moreInfoUrls at the given index. */ - com.google.protobuf.ByteString - getMoreInfoUrlsBytes(int index); + com.google.protobuf.ByteString getMoreInfoUrlsBytes(int index); /** + * + * *
      * Gets the identifier of an update package.  Stays the same across
      * revisions.
      * 
* * string update_id = 6; + * * @return The updateId. */ java.lang.String getUpdateId(); /** + * + * *
      * Gets the identifier of an update package.  Stays the same across
      * revisions.
      * 
* * string update_id = 6; + * * @return The bytes for updateId. */ - com.google.protobuf.ByteString - getUpdateIdBytes(); + com.google.protobuf.ByteString getUpdateIdBytes(); /** + * + * *
      * The revision number of this update package.
      * 
* * int32 revision_number = 7; + * * @return The revisionNumber. */ int getRevisionNumber(); /** + * + * *
      * The last published date of the update, in (UTC) date and time.
      * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; + * * @return Whether the lastDeploymentChangeTime field is set. */ boolean hasLastDeploymentChangeTime(); /** + * + * *
      * The last published date of the update, in (UTC) date and time.
      * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; + * * @return The lastDeploymentChangeTime. */ com.google.protobuf.Timestamp getLastDeploymentChangeTime(); /** + * + * *
      * The last published date of the update, in (UTC) date and time.
      * 
@@ -10196,6 +11744,8 @@ com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCa com.google.protobuf.TimestampOrBuilder getLastDeploymentChangeTimeOrBuilder(); } /** + * + * *
    * Details related to a Windows Update package.
    * Field data and names are taken from Windows Update API IUpdate Interface:
@@ -10206,15 +11756,16 @@ com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCa
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage}
    */
-  public static final class WindowsUpdatePackage extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class WindowsUpdatePackage extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage)
       WindowsUpdatePackageOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use WindowsUpdatePackage.newBuilder() to construct.
     private WindowsUpdatePackage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private WindowsUpdatePackage() {
       title_ = "";
       description_ = "";
@@ -10227,16 +11778,15 @@ private WindowsUpdatePackage() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new WindowsUpdatePackage();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private WindowsUpdatePackage(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -10256,82 +11806,97 @@ private WindowsUpdatePackage(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              title_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+                title_ = s;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
-            }
-            case 26: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                categories_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+                description_ = s;
+                break;
               }
-              categories_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.parser(), extensionRegistry));
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                kbArticleIds_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 26:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  categories_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage
+                              .WindowsUpdateCategory>();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                categories_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage
+                            .WindowsUpdateCategory.parser(),
+                        extensionRegistry));
+                break;
               }
-              kbArticleIds_.add(s);
-              break;
-            }
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                moreInfoUrls_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000004;
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  kbArticleIds_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                kbArticleIds_.add(s);
+                break;
               }
-              moreInfoUrls_.add(s);
-              break;
-            }
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              updateId_ = s;
-              break;
-            }
-            case 56: {
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                  moreInfoUrls_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000004;
+                }
+                moreInfoUrls_.add(s);
+                break;
+              }
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              revisionNumber_ = input.readInt32();
-              break;
-            }
-            case 82: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (lastDeploymentChangeTime_ != null) {
-                subBuilder = lastDeploymentChangeTime_.toBuilder();
+                updateId_ = s;
+                break;
               }
-              lastDeploymentChangeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(lastDeploymentChangeTime_);
-                lastDeploymentChangeTime_ = subBuilder.buildPartial();
+            case 56:
+              {
+                revisionNumber_ = input.readInt32();
+                break;
               }
+            case 82:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (lastDeploymentChangeTime_ != null) {
+                  subBuilder = lastDeploymentChangeTime_.toBuilder();
+                }
+                lastDeploymentChangeTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(lastDeploymentChangeTime_);
+                  lastDeploymentChangeTime_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 90: {
-              java.lang.String s = input.readStringRequireUtf8();
+                break;
+              }
+            case 90:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              supportUrl_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                supportUrl_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -10339,8 +11904,7 @@ private WindowsUpdatePackage(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           categories_ = java.util.Collections.unmodifiableList(categories_);
@@ -10355,79 +11919,97 @@ private WindowsUpdatePackage(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.Inventories
+          .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.Inventories
+          .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.class, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder.class);
+              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.class,
+              com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder.class);
     }
 
-    public interface WindowsUpdateCategoryOrBuilder extends
+    public interface WindowsUpdateCategoryOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * The identifier of the windows update category.
        * 
* * string id = 1; + * * @return The id. */ java.lang.String getId(); /** + * + * *
        * The identifier of the windows update category.
        * 
* * string id = 1; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
        * The name of the windows update category.
        * 
* * string name = 2; + * * @return The name. */ java.lang.String getName(); /** + * + * *
        * The name of the windows update category.
        * 
* * string name = 2; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
      * Categories specified by the Windows Update.
      * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory} */ - public static final class WindowsUpdateCategory extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class WindowsUpdateCategory extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) WindowsUpdateCategoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WindowsUpdateCategory.newBuilder() to construct. private WindowsUpdateCategory(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WindowsUpdateCategory() { id_ = ""; name_ = ""; @@ -10435,16 +12017,15 @@ private WindowsUpdateCategory() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WindowsUpdateCategory(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WindowsUpdateCategory( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10463,25 +12044,27 @@ private WindowsUpdateCategory( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + id_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10489,34 +12072,42 @@ private WindowsUpdateCategory( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.class, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory.class, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** + * + * *
        * The identifier of the windows update category.
        * 
* * string id = 1; + * * @return The id. */ @java.lang.Override @@ -10525,29 +12116,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
        * The identifier of the windows update category.
        * 
* * string id = 1; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -10558,11 +12149,14 @@ public java.lang.String getId() { public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** + * + * *
        * The name of the windows update category.
        * 
* * string name = 2; + * * @return The name. */ @java.lang.Override @@ -10571,29 +12165,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
        * The name of the windows update category.
        * 
* * string name = 2; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -10602,6 +12196,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10613,8 +12208,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -10644,17 +12238,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory other = (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) obj; + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + other = + (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory) + obj; - if (!getId() - .equals(other.getId())) return false; - if (!getName() - .equals(other.getName())) return false; + if (!getId().equals(other.getId())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -10675,88 +12274,116 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10766,44 +12393,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Categories specified by the Windows Update.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.class, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory.class, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory.Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -10815,19 +12451,25 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_WindowsUpdateCategory_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory build() { - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + build() { + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -10835,8 +12477,13 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsU } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory buildPartial() { - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory result = new com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory(this); + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + buildPartial() { + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + result = + new com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory(this); result.id_ = id_; result.name_ = name_; onBuilt(); @@ -10847,46 +12494,59 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsU public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory other) { - if (other == com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + other) { + if (other + == com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); @@ -10910,11 +12570,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory parsedMessage = null; + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -10926,18 +12590,20 @@ public Builder mergeFrom( private java.lang.Object id_ = ""; /** + * + * *
          * The identifier of the windows update category.
          * 
* * string id = 1; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -10946,20 +12612,21 @@ public java.lang.String getId() { } } /** + * + * *
          * The identifier of the windows update category.
          * 
* * string id = 1; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -10967,54 +12634,61 @@ public java.lang.String getId() { } } /** + * + * *
          * The identifier of the windows update category.
          * 
* * string id = 1; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
          * The identifier of the windows update category.
          * 
* * string id = 1; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
          * The identifier of the windows update category.
          * 
* * string id = 1; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -11022,18 +12696,20 @@ public Builder setIdBytes( private java.lang.Object name_ = ""; /** + * + * *
          * The name of the windows update category.
          * 
* * string name = 2; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -11042,20 +12718,21 @@ public java.lang.String getName() { } } /** + * + * *
          * The name of the windows update category.
          * 
* * string name = 2; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -11063,58 +12740,66 @@ public java.lang.String getName() { } } /** + * + * *
          * The name of the windows update category.
          * 
* * string name = 2; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
          * The name of the windows update category.
          * 
* * string name = 2; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
          * The name of the windows update category.
          * 
* * string name = 2; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11127,30 +12812,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory) - private static final com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory(); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsUpdateCategory parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsUpdateCategory(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsUpdateCategory parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsUpdateCategory(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11162,20 +12853,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int TITLE_FIELD_NUMBER = 1; private volatile java.lang.Object title_; /** + * + * *
      * The localized title of the update package.
      * 
* * string title = 1; + * * @return The title. */ @java.lang.Override @@ -11184,29 +12878,29 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** + * + * *
      * The localized title of the update package.
      * 
* * string title = 1; + * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -11217,11 +12911,14 @@ public java.lang.String getTitle() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
      * The localized description of the update package.
      * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -11230,29 +12927,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * The localized description of the update package.
      * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -11261,99 +12958,136 @@ public java.lang.String getDescription() { } public static final int CATEGORIES_FIELD_NUMBER = 3; - private java.util.List categories_; + private java.util.List< + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory> + categories_; /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ @java.lang.Override - public java.util.List getCategoriesList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory> + getCategoriesList() { return categories_; } /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategoryOrBuilder> getCategoriesOrBuilderList() { return categories_; } /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ @java.lang.Override public int getCategoriesCount() { return categories_.size(); } /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getCategories(int index) { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + getCategories(int index) { return categories_.get(index); } /** + * + * *
      * The categories that are associated with this update package.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder getCategoriesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategoryOrBuilder + getCategoriesOrBuilder(int index) { return categories_.get(index); } public static final int KB_ARTICLE_IDS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList kbArticleIds_; /** + * + * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; + * * @return A list containing the kbArticleIds. */ - public com.google.protobuf.ProtocolStringList - getKbArticleIdsList() { + public com.google.protobuf.ProtocolStringList getKbArticleIdsList() { return kbArticleIds_; } /** + * + * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; + * * @return The count of kbArticleIds. */ public int getKbArticleIdsCount() { return kbArticleIds_.size(); } /** + * + * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; + * * @param index The index of the element to return. * @return The kbArticleIds at the given index. */ @@ -11361,28 +13095,33 @@ public java.lang.String getKbArticleIds(int index) { return kbArticleIds_.get(index); } /** + * + * *
      * A collection of Microsoft Knowledge Base article IDs that are associated
      * with the update package.
      * 
* * repeated string kb_article_ids = 4; + * * @param index The index of the value to return. * @return The bytes of the kbArticleIds at the given index. */ - public com.google.protobuf.ByteString - getKbArticleIdsBytes(int index) { + public com.google.protobuf.ByteString getKbArticleIdsBytes(int index) { return kbArticleIds_.getByteString(index); } public static final int SUPPORT_URL_FIELD_NUMBER = 11; private volatile java.lang.Object supportUrl_; /** + * + * *
      * A hyperlink to the language-specific support information for the update.
      * 
* * string support_url = 11; + * * @return The supportUrl. */ @java.lang.Override @@ -11391,29 +13130,29 @@ public java.lang.String getSupportUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); supportUrl_ = s; return s; } } /** + * + * *
      * A hyperlink to the language-specific support information for the update.
      * 
* * string support_url = 11; + * * @return The bytes for supportUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getSupportUrlBytes() { + public com.google.protobuf.ByteString getSupportUrlBytes() { java.lang.Object ref = supportUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); supportUrl_ = b; return b; } else { @@ -11424,37 +13163,45 @@ public java.lang.String getSupportUrl() { public static final int MORE_INFO_URLS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList moreInfoUrls_; /** + * + * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; + * * @return A list containing the moreInfoUrls. */ - public com.google.protobuf.ProtocolStringList - getMoreInfoUrlsList() { + public com.google.protobuf.ProtocolStringList getMoreInfoUrlsList() { return moreInfoUrls_; } /** + * + * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; + * * @return The count of moreInfoUrls. */ public int getMoreInfoUrlsCount() { return moreInfoUrls_.size(); } /** + * + * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; + * * @param index The index of the element to return. * @return The moreInfoUrls at the given index. */ @@ -11462,29 +13209,34 @@ public java.lang.String getMoreInfoUrls(int index) { return moreInfoUrls_.get(index); } /** + * + * *
      * A collection of URLs that provide more information about the update
      * package.
      * 
* * repeated string more_info_urls = 5; + * * @param index The index of the value to return. * @return The bytes of the moreInfoUrls at the given index. */ - public com.google.protobuf.ByteString - getMoreInfoUrlsBytes(int index) { + public com.google.protobuf.ByteString getMoreInfoUrlsBytes(int index) { return moreInfoUrls_.getByteString(index); } public static final int UPDATE_ID_FIELD_NUMBER = 6; private volatile java.lang.Object updateId_; /** + * + * *
      * Gets the identifier of an update package.  Stays the same across
      * revisions.
      * 
* * string update_id = 6; + * * @return The updateId. */ @java.lang.Override @@ -11493,30 +13245,30 @@ public java.lang.String getUpdateId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); updateId_ = s; return s; } } /** + * + * *
      * Gets the identifier of an update package.  Stays the same across
      * revisions.
      * 
* * string update_id = 6; + * * @return The bytes for updateId. */ @java.lang.Override - public com.google.protobuf.ByteString - getUpdateIdBytes() { + public com.google.protobuf.ByteString getUpdateIdBytes() { java.lang.Object ref = updateId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); updateId_ = b; return b; } else { @@ -11527,11 +13279,14 @@ public java.lang.String getUpdateId() { public static final int REVISION_NUMBER_FIELD_NUMBER = 7; private int revisionNumber_; /** + * + * *
      * The revision number of this update package.
      * 
* * int32 revision_number = 7; + * * @return The revisionNumber. */ @java.lang.Override @@ -11542,11 +13297,14 @@ public int getRevisionNumber() { public static final int LAST_DEPLOYMENT_CHANGE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp lastDeploymentChangeTime_; /** + * + * *
      * The last published date of the update, in (UTC) date and time.
      * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; + * * @return Whether the lastDeploymentChangeTime field is set. */ @java.lang.Override @@ -11554,18 +13312,25 @@ public boolean hasLastDeploymentChangeTime() { return lastDeploymentChangeTime_ != null; } /** + * + * *
      * The last published date of the update, in (UTC) date and time.
      * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; + * * @return The lastDeploymentChangeTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastDeploymentChangeTime() { - return lastDeploymentChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastDeploymentChangeTime_; + return lastDeploymentChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastDeploymentChangeTime_; } /** + * + * *
      * The last published date of the update, in (UTC) date and time.
      * 
@@ -11578,6 +13343,7 @@ public com.google.protobuf.TimestampOrBuilder getLastDeploymentChangeTimeOrBuild } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11589,8 +13355,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, title_); } @@ -11634,8 +13399,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } for (int i = 0; i < categories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, categories_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, categories_.get(i)); } { int dataSize = 0; @@ -11657,12 +13421,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, updateId_); } if (revisionNumber_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, revisionNumber_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, revisionNumber_); } if (lastDeploymentChangeTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getLastDeploymentChangeTime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, getLastDeploymentChangeTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(supportUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, supportUrl_); @@ -11675,33 +13439,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage other = (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) obj; - - if (!getTitle() - .equals(other.getTitle())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getCategoriesList() - .equals(other.getCategoriesList())) return false; - if (!getKbArticleIdsList() - .equals(other.getKbArticleIdsList())) return false; - if (!getSupportUrl() - .equals(other.getSupportUrl())) return false; - if (!getMoreInfoUrlsList() - .equals(other.getMoreInfoUrlsList())) return false; - if (!getUpdateId() - .equals(other.getUpdateId())) return false; - if (getRevisionNumber() - != other.getRevisionNumber()) return false; + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage other = + (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) obj; + + if (!getTitle().equals(other.getTitle())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getCategoriesList().equals(other.getCategoriesList())) return false; + if (!getKbArticleIdsList().equals(other.getKbArticleIdsList())) return false; + if (!getSupportUrl().equals(other.getSupportUrl())) return false; + if (!getMoreInfoUrlsList().equals(other.getMoreInfoUrlsList())) return false; + if (!getUpdateId().equals(other.getUpdateId())) return false; + if (getRevisionNumber() != other.getRevisionNumber()) return false; if (hasLastDeploymentChangeTime() != other.hasLastDeploymentChangeTime()) return false; if (hasLastDeploymentChangeTime()) { - if (!getLastDeploymentChangeTime() - .equals(other.getLastDeploymentChangeTime())) return false; + if (!getLastDeploymentChangeTime().equals(other.getLastDeploymentChangeTime())) + return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -11746,87 +13503,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage + 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.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11836,6 +13601,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Details related to a Windows Update package.
      * Field data and names are taken from Windows Update API IUpdate Interface:
@@ -11846,39 +13613,43 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage)
         com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackageOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.Inventories
+            .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.Inventories
+            .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.class, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder.class);
+                com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.class,
+                com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.Builder.class);
       }
 
-      // Construct using com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.newBuilder()
+      // Construct using
+      // com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getCategoriesFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -11912,14 +13683,16 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1alpha.Inventories
+            .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsUpdatePackage_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage getDefaultInstanceForType() {
-        return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.getDefaultInstance();
+      public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage
+          getDefaultInstanceForType() {
+        return com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -11933,7 +13706,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage build()
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage buildPartial() {
-        com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage result = new com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage(this);
+        com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage result =
+            new com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage(this);
         int from_bitField0_ = bitField0_;
         result.title_ = title_;
         result.description_ = description_;
@@ -11972,46 +13746,53 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage buildPar
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1alpha.Inventory.WindowsUpdatePackage) {
-          return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage)other);
+          return mergeFrom(
+              (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage other) {
-        if (other == com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage other) {
+        if (other
+            == com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage
+                .getDefaultInstance()) return this;
         if (!other.getTitle().isEmpty()) {
           title_ = other.title_;
           onChanged();
@@ -12038,9 +13819,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpda
               categoriesBuilder_ = null;
               categories_ = other.categories_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              categoriesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getCategoriesFieldBuilder() : null;
+              categoriesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getCategoriesFieldBuilder()
+                      : null;
             } else {
               categoriesBuilder_.addAllMessages(other.categories_);
             }
@@ -12099,7 +13881,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -12108,22 +13892,25 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object title_ = "";
       /**
+       *
+       *
        * 
        * The localized title of the update package.
        * 
* * string title = 1; + * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -12132,20 +13919,21 @@ public java.lang.String getTitle() { } } /** + * + * *
        * The localized title of the update package.
        * 
* * string title = 1; + * * @return The bytes for title. */ - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -12153,54 +13941,61 @@ public java.lang.String getTitle() { } } /** + * + * *
        * The localized title of the update package.
        * 
* * string title = 1; + * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle( - java.lang.String value) { + public Builder setTitle(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** + * + * *
        * The localized title of the update package.
        * 
* * string title = 1; + * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** + * + * *
        * The localized title of the update package.
        * 
* * string title = 1; + * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes( - com.google.protobuf.ByteString value) { + public Builder setTitleBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -12208,18 +14003,20 @@ public Builder setTitleBytes( private java.lang.Object description_ = ""; /** + * + * *
        * The localized description of the update package.
        * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -12228,20 +14025,21 @@ public java.lang.String getDescription() { } } /** + * + * *
        * The localized description of the update package.
        * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -12249,79 +14047,105 @@ public java.lang.String getDescription() { } } /** + * + * *
        * The localized description of the update package.
        * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
        * The localized description of the update package.
        * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
        * The localized description of the update package.
        * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private java.util.List categories_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory> + categories_ = java.util.Collections.emptyList(); + private void ensureCategoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - categories_ = new java.util.ArrayList(categories_); + categories_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory>(categories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder> categoriesBuilder_; + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .Builder, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategoryOrBuilder> + categoriesBuilder_; /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - public java.util.List getCategoriesList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory> + getCategoriesList() { if (categoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(categories_); } else { @@ -12329,11 +14153,15 @@ public java.util.List * The categories that are associated with this update package. *
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ public int getCategoriesCount() { if (categoriesBuilder_ == null) { @@ -12343,13 +14171,18 @@ public int getCategoriesCount() { } } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory getCategories(int index) { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + getCategories(int index) { if (categoriesBuilder_ == null) { return categories_.get(index); } else { @@ -12357,14 +14190,20 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsU } } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ public Builder setCategories( - int index, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory value) { + int index, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + value) { if (categoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12378,14 +14217,21 @@ public Builder setCategories( return this; } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ public Builder setCategories( - int index, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .Builder + builderForValue) { if (categoriesBuilder_ == null) { ensureCategoriesIsMutable(); categories_.set(index, builderForValue.build()); @@ -12396,13 +14242,19 @@ public Builder setCategories( return this; } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - public Builder addCategories(com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory value) { + public Builder addCategories( + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + value) { if (categoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12416,14 +14268,20 @@ public Builder addCategories(com.google.cloud.osconfig.v1alpha.Inventory.Windows return this; } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ public Builder addCategories( - int index, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory value) { + int index, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + value) { if (categoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12437,14 +14295,20 @@ public Builder addCategories( return this; } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ public Builder addCategories( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .Builder + builderForValue) { if (categoriesBuilder_ == null) { ensureCategoriesIsMutable(); categories_.add(builderForValue.build()); @@ -12455,14 +14319,21 @@ public Builder addCategories( return this; } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ public Builder addCategories( - int index, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .Builder + builderForValue) { if (categoriesBuilder_ == null) { ensureCategoriesIsMutable(); categories_.add(index, builderForValue.build()); @@ -12473,18 +14344,25 @@ public Builder addCategories( return this; } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ public Builder addAllCategories( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory> + values) { if (categoriesBuilder_ == null) { ensureCategoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, categories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categories_); onChanged(); } else { categoriesBuilder_.addAllMessages(values); @@ -12492,11 +14370,15 @@ public Builder addAllCategories( return this; } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ public Builder clearCategories() { if (categoriesBuilder_ == null) { @@ -12509,11 +14391,15 @@ public Builder clearCategories() { return this; } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ public Builder removeCategories(int index) { if (categoriesBuilder_ == null) { @@ -12526,39 +14412,57 @@ public Builder removeCategories(int index) { return this; } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder getCategoriesBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .Builder + getCategoriesBuilder(int index) { return getCategoriesFieldBuilder().getBuilder(index); } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder getCategoriesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategoryOrBuilder + getCategoriesOrBuilder(int index) { if (categoriesBuilder_ == null) { - return categories_.get(index); } else { + return categories_.get(index); + } else { return categoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - public java.util.List - getCategoriesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategoryOrBuilder> + getCategoriesOrBuilderList() { if (categoriesBuilder_ != null) { return categoriesBuilder_.getMessageOrBuilderList(); } else { @@ -12566,93 +14470,134 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsU } } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder addCategoriesBuilder() { - return getCategoriesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .Builder + addCategoriesBuilder() { + return getCategoriesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory.getDefaultInstance()); } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder addCategoriesBuilder( - int index) { - return getCategoriesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .Builder + addCategoriesBuilder(int index) { + return getCategoriesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory.getDefaultInstance()); } /** + * + * *
        * The categories that are associated with this update package.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * + * repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3; + * */ - public java.util.List - getCategoriesBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .Builder> + getCategoriesBuilderList() { return getCategoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder> + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory + .Builder, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategoryOrBuilder> getCategoriesFieldBuilder() { if (categoriesBuilder_ == null) { - categoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder, com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder>( - categories_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + categoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategory.Builder, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + .WindowsUpdateCategoryOrBuilder>( + categories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); categories_ = null; } return categoriesBuilder_; } - private com.google.protobuf.LazyStringList kbArticleIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList kbArticleIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureKbArticleIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { kbArticleIds_ = new com.google.protobuf.LazyStringArrayList(kbArticleIds_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; + * * @return A list containing the kbArticleIds. */ - public com.google.protobuf.ProtocolStringList - getKbArticleIdsList() { + public com.google.protobuf.ProtocolStringList getKbArticleIdsList() { return kbArticleIds_.getUnmodifiableView(); } /** + * + * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; + * * @return The count of kbArticleIds. */ public int getKbArticleIdsCount() { return kbArticleIds_.size(); } /** + * + * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; + * * @param index The index of the element to return. * @return The kbArticleIds at the given index. */ @@ -12660,85 +14605,95 @@ public java.lang.String getKbArticleIds(int index) { return kbArticleIds_.get(index); } /** + * + * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; + * * @param index The index of the value to return. * @return The bytes of the kbArticleIds at the given index. */ - public com.google.protobuf.ByteString - getKbArticleIdsBytes(int index) { + public com.google.protobuf.ByteString getKbArticleIdsBytes(int index) { return kbArticleIds_.getByteString(index); } /** + * + * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; + * * @param index The index to set the value at. * @param value The kbArticleIds to set. * @return This builder for chaining. */ - public Builder setKbArticleIds( - int index, java.lang.String value) { + public Builder setKbArticleIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKbArticleIdsIsMutable(); + throw new NullPointerException(); + } + ensureKbArticleIdsIsMutable(); kbArticleIds_.set(index, value); onChanged(); return this; } /** + * + * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; + * * @param value The kbArticleIds to add. * @return This builder for chaining. */ - public Builder addKbArticleIds( - java.lang.String value) { + public Builder addKbArticleIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKbArticleIdsIsMutable(); + throw new NullPointerException(); + } + ensureKbArticleIdsIsMutable(); kbArticleIds_.add(value); onChanged(); return this; } /** + * + * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; + * * @param values The kbArticleIds to add. * @return This builder for chaining. */ - public Builder addAllKbArticleIds( - java.lang.Iterable values) { + public Builder addAllKbArticleIds(java.lang.Iterable values) { ensureKbArticleIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, kbArticleIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kbArticleIds_); onChanged(); return this; } /** + * + * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; + * * @return This builder for chaining. */ public Builder clearKbArticleIds() { @@ -12748,21 +14703,23 @@ public Builder clearKbArticleIds() { return this; } /** + * + * *
        * A collection of Microsoft Knowledge Base article IDs that are associated
        * with the update package.
        * 
* * repeated string kb_article_ids = 4; + * * @param value The bytes of the kbArticleIds to add. * @return This builder for chaining. */ - public Builder addKbArticleIdsBytes( - com.google.protobuf.ByteString value) { + public Builder addKbArticleIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureKbArticleIdsIsMutable(); kbArticleIds_.add(value); onChanged(); @@ -12771,18 +14728,20 @@ public Builder addKbArticleIdsBytes( private java.lang.Object supportUrl_ = ""; /** + * + * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; + * * @return The supportUrl. */ public java.lang.String getSupportUrl() { java.lang.Object ref = supportUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); supportUrl_ = s; return s; @@ -12791,20 +14750,21 @@ public java.lang.String getSupportUrl() { } } /** + * + * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; + * * @return The bytes for supportUrl. */ - public com.google.protobuf.ByteString - getSupportUrlBytes() { + public com.google.protobuf.ByteString getSupportUrlBytes() { java.lang.Object ref = supportUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); supportUrl_ = b; return b; } else { @@ -12812,98 +14772,115 @@ public java.lang.String getSupportUrl() { } } /** + * + * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; + * * @param value The supportUrl to set. * @return This builder for chaining. */ - public Builder setSupportUrl( - java.lang.String value) { + public Builder setSupportUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + supportUrl_ = value; onChanged(); return this; } /** + * + * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; + * * @return This builder for chaining. */ public Builder clearSupportUrl() { - + supportUrl_ = getDefaultInstance().getSupportUrl(); onChanged(); return this; } /** + * + * *
        * A hyperlink to the language-specific support information for the update.
        * 
* * string support_url = 11; + * * @param value The bytes for supportUrl to set. * @return This builder for chaining. */ - public Builder setSupportUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setSupportUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + supportUrl_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList moreInfoUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList moreInfoUrls_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureMoreInfoUrlsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { moreInfoUrls_ = new com.google.protobuf.LazyStringArrayList(moreInfoUrls_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; + * * @return A list containing the moreInfoUrls. */ - public com.google.protobuf.ProtocolStringList - getMoreInfoUrlsList() { + public com.google.protobuf.ProtocolStringList getMoreInfoUrlsList() { return moreInfoUrls_.getUnmodifiableView(); } /** + * + * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; + * * @return The count of moreInfoUrls. */ public int getMoreInfoUrlsCount() { return moreInfoUrls_.size(); } /** + * + * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; + * * @param index The index of the element to return. * @return The moreInfoUrls at the given index. */ @@ -12911,85 +14888,95 @@ public java.lang.String getMoreInfoUrls(int index) { return moreInfoUrls_.get(index); } /** + * + * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; + * * @param index The index of the value to return. * @return The bytes of the moreInfoUrls at the given index. */ - public com.google.protobuf.ByteString - getMoreInfoUrlsBytes(int index) { + public com.google.protobuf.ByteString getMoreInfoUrlsBytes(int index) { return moreInfoUrls_.getByteString(index); } /** + * + * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; + * * @param index The index to set the value at. * @param value The moreInfoUrls to set. * @return This builder for chaining. */ - public Builder setMoreInfoUrls( - int index, java.lang.String value) { + public Builder setMoreInfoUrls(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMoreInfoUrlsIsMutable(); + throw new NullPointerException(); + } + ensureMoreInfoUrlsIsMutable(); moreInfoUrls_.set(index, value); onChanged(); return this; } /** + * + * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; + * * @param value The moreInfoUrls to add. * @return This builder for chaining. */ - public Builder addMoreInfoUrls( - java.lang.String value) { + public Builder addMoreInfoUrls(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMoreInfoUrlsIsMutable(); + throw new NullPointerException(); + } + ensureMoreInfoUrlsIsMutable(); moreInfoUrls_.add(value); onChanged(); return this; } /** + * + * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; + * * @param values The moreInfoUrls to add. * @return This builder for chaining. */ - public Builder addAllMoreInfoUrls( - java.lang.Iterable values) { + public Builder addAllMoreInfoUrls(java.lang.Iterable values) { ensureMoreInfoUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, moreInfoUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, moreInfoUrls_); onChanged(); return this; } /** + * + * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; + * * @return This builder for chaining. */ public Builder clearMoreInfoUrls() { @@ -12999,21 +14986,23 @@ public Builder clearMoreInfoUrls() { return this; } /** + * + * *
        * A collection of URLs that provide more information about the update
        * package.
        * 
* * repeated string more_info_urls = 5; + * * @param value The bytes of the moreInfoUrls to add. * @return This builder for chaining. */ - public Builder addMoreInfoUrlsBytes( - com.google.protobuf.ByteString value) { + public Builder addMoreInfoUrlsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMoreInfoUrlsIsMutable(); moreInfoUrls_.add(value); onChanged(); @@ -13022,19 +15011,21 @@ public Builder addMoreInfoUrlsBytes( private java.lang.Object updateId_ = ""; /** + * + * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; + * * @return The updateId. */ public java.lang.String getUpdateId() { java.lang.Object ref = updateId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); updateId_ = s; return s; @@ -13043,21 +15034,22 @@ public java.lang.String getUpdateId() { } } /** + * + * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; + * * @return The bytes for updateId. */ - public com.google.protobuf.ByteString - getUpdateIdBytes() { + public com.google.protobuf.ByteString getUpdateIdBytes() { java.lang.Object ref = updateId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); updateId_ = b; return b; } else { @@ -13065,69 +15057,79 @@ public java.lang.String getUpdateId() { } } /** + * + * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; + * * @param value The updateId to set. * @return This builder for chaining. */ - public Builder setUpdateId( - java.lang.String value) { + public Builder setUpdateId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + updateId_ = value; onChanged(); return this; } /** + * + * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; + * * @return This builder for chaining. */ public Builder clearUpdateId() { - + updateId_ = getDefaultInstance().getUpdateId(); onChanged(); return this; } /** + * + * *
        * Gets the identifier of an update package.  Stays the same across
        * revisions.
        * 
* * string update_id = 6; + * * @param value The bytes for updateId to set. * @return This builder for chaining. */ - public Builder setUpdateIdBytes( - com.google.protobuf.ByteString value) { + public Builder setUpdateIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + updateId_ = value; onChanged(); return this; } - private int revisionNumber_ ; + private int revisionNumber_; /** + * + * *
        * The revision number of this update package.
        * 
* * int32 revision_number = 7; + * * @return The revisionNumber. */ @java.lang.Override @@ -13135,30 +15137,36 @@ public int getRevisionNumber() { return revisionNumber_; } /** + * + * *
        * The revision number of this update package.
        * 
* * int32 revision_number = 7; + * * @param value The revisionNumber to set. * @return This builder for chaining. */ public Builder setRevisionNumber(int value) { - + revisionNumber_ = value; onChanged(); return this; } /** + * + * *
        * The revision number of this update package.
        * 
* * int32 revision_number = 7; + * * @return This builder for chaining. */ public Builder clearRevisionNumber() { - + revisionNumber_ = 0; onChanged(); return this; @@ -13166,34 +15174,47 @@ public Builder clearRevisionNumber() { private com.google.protobuf.Timestamp lastDeploymentChangeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastDeploymentChangeTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastDeploymentChangeTimeBuilder_; /** + * + * *
        * The last published date of the update, in (UTC) date and time.
        * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; + * * @return Whether the lastDeploymentChangeTime field is set. */ public boolean hasLastDeploymentChangeTime() { return lastDeploymentChangeTimeBuilder_ != null || lastDeploymentChangeTime_ != null; } /** + * + * *
        * The last published date of the update, in (UTC) date and time.
        * 
* * .google.protobuf.Timestamp last_deployment_change_time = 10; + * * @return The lastDeploymentChangeTime. */ public com.google.protobuf.Timestamp getLastDeploymentChangeTime() { if (lastDeploymentChangeTimeBuilder_ == null) { - return lastDeploymentChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastDeploymentChangeTime_; + return lastDeploymentChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastDeploymentChangeTime_; } else { return lastDeploymentChangeTimeBuilder_.getMessage(); } } /** + * + * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -13214,6 +15235,8 @@ public Builder setLastDeploymentChangeTime(com.google.protobuf.Timestamp value) return this; } /** + * + * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -13232,6 +15255,8 @@ public Builder setLastDeploymentChangeTime( return this; } /** + * + * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -13242,7 +15267,9 @@ public Builder mergeLastDeploymentChangeTime(com.google.protobuf.Timestamp value if (lastDeploymentChangeTimeBuilder_ == null) { if (lastDeploymentChangeTime_ != null) { lastDeploymentChangeTime_ = - com.google.protobuf.Timestamp.newBuilder(lastDeploymentChangeTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastDeploymentChangeTime_) + .mergeFrom(value) + .buildPartial(); } else { lastDeploymentChangeTime_ = value; } @@ -13254,6 +15281,8 @@ public Builder mergeLastDeploymentChangeTime(com.google.protobuf.Timestamp value return this; } /** + * + * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -13272,6 +15301,8 @@ public Builder clearLastDeploymentChangeTime() { return this; } /** + * + * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -13279,11 +15310,13 @@ public Builder clearLastDeploymentChangeTime() { * .google.protobuf.Timestamp last_deployment_change_time = 10; */ public com.google.protobuf.Timestamp.Builder getLastDeploymentChangeTimeBuilder() { - + onChanged(); return getLastDeploymentChangeTimeFieldBuilder().getBuilder(); } /** + * + * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -13294,11 +15327,14 @@ public com.google.protobuf.TimestampOrBuilder getLastDeploymentChangeTimeOrBuild if (lastDeploymentChangeTimeBuilder_ != null) { return lastDeploymentChangeTimeBuilder_.getMessageOrBuilder(); } else { - return lastDeploymentChangeTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : lastDeploymentChangeTime_; + return lastDeploymentChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastDeploymentChangeTime_; } } /** + * + * *
        * The last published date of the update, in (UTC) date and time.
        * 
@@ -13306,18 +15342,22 @@ public com.google.protobuf.TimestampOrBuilder getLastDeploymentChangeTimeOrBuild * .google.protobuf.Timestamp last_deployment_change_time = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getLastDeploymentChangeTimeFieldBuilder() { if (lastDeploymentChangeTimeBuilder_ == null) { - lastDeploymentChangeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLastDeploymentChangeTime(), - getParentForChildren(), - isClean()); + lastDeploymentChangeTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastDeploymentChangeTime(), getParentForChildren(), isClean()); lastDeploymentChangeTime_ = null; } return lastDeploymentChangeTimeBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13330,30 +15370,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage) - private static final com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage(); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsUpdatePackage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsUpdatePackage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsUpdatePackage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsUpdatePackage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13365,95 +15407,119 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface WindowsQuickFixEngineeringPackageOrBuilder extends + public interface WindowsQuickFixEngineeringPackageOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A short textual description of the QFE update.
      * 
* * string caption = 1; + * * @return The caption. */ java.lang.String getCaption(); /** + * + * *
      * A short textual description of the QFE update.
      * 
* * string caption = 1; + * * @return The bytes for caption. */ - com.google.protobuf.ByteString - getCaptionBytes(); + com.google.protobuf.ByteString getCaptionBytes(); /** + * + * *
      * A textual description of the QFE update.
      * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * A textual description of the QFE update.
      * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * Unique identifier associated with a particular QFE update.
      * 
* * string hot_fix_id = 3; + * * @return The hotFixId. */ java.lang.String getHotFixId(); /** + * + * *
      * Unique identifier associated with a particular QFE update.
      * 
* * string hot_fix_id = 3; + * * @return The bytes for hotFixId. */ - com.google.protobuf.ByteString - getHotFixIdBytes(); + com.google.protobuf.ByteString getHotFixIdBytes(); /** + * + * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
* * .google.protobuf.Timestamp install_time = 5; + * * @return Whether the installTime field is set. */ boolean hasInstallTime(); /** + * + * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
* * .google.protobuf.Timestamp install_time = 5; + * * @return The installTime. */ com.google.protobuf.Timestamp getInstallTime(); /** + * + * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
@@ -13463,6 +15529,8 @@ public interface WindowsQuickFixEngineeringPackageOrBuilder extends com.google.protobuf.TimestampOrBuilder getInstallTimeOrBuilder(); } /** + * + * *
    * Information related to a Quick Fix Engineering package.
    * Fields are taken from Windows QuickFixEngineering Interface and match
@@ -13472,15 +15540,18 @@ public interface WindowsQuickFixEngineeringPackageOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage}
    */
-  public static final class WindowsQuickFixEngineeringPackage extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class WindowsQuickFixEngineeringPackage
+      extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage)
       WindowsQuickFixEngineeringPackageOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use WindowsQuickFixEngineeringPackage.newBuilder() to construct.
-    private WindowsQuickFixEngineeringPackage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+    private WindowsQuickFixEngineeringPackage(
+        com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private WindowsQuickFixEngineeringPackage() {
       caption_ = "";
       description_ = "";
@@ -13489,16 +15560,15 @@ private WindowsQuickFixEngineeringPackage() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new WindowsQuickFixEngineeringPackage();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private WindowsQuickFixEngineeringPackage(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -13517,44 +15587,49 @@ private WindowsQuickFixEngineeringPackage(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              caption_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
+                caption_ = s;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              hotFixId_ = s;
-              break;
-            }
-            case 42: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (installTime_ != null) {
-                subBuilder = installTime_.toBuilder();
+                description_ = s;
+                break;
               }
-              installTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(installTime_);
-                installTime_ = subBuilder.buildPartial();
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+
+                hotFixId_ = s;
+                break;
               }
+            case 42:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (installTime_ != null) {
+                  subBuilder = installTime_.toBuilder();
+                }
+                installTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(installTime_);
+                  installTime_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -13562,34 +15637,40 @@ private WindowsQuickFixEngineeringPackage(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.Inventories
+          .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.Inventories
+          .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.class, com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder.class);
+              com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.class,
+              com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder
+                  .class);
     }
 
     public static final int CAPTION_FIELD_NUMBER = 1;
     private volatile java.lang.Object caption_;
     /**
+     *
+     *
      * 
      * A short textual description of the QFE update.
      * 
* * string caption = 1; + * * @return The caption. */ @java.lang.Override @@ -13598,29 +15679,29 @@ public java.lang.String getCaption() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caption_ = s; return s; } } /** + * + * *
      * A short textual description of the QFE update.
      * 
* * string caption = 1; + * * @return The bytes for caption. */ @java.lang.Override - public com.google.protobuf.ByteString - getCaptionBytes() { + public com.google.protobuf.ByteString getCaptionBytes() { java.lang.Object ref = caption_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); caption_ = b; return b; } else { @@ -13631,11 +15712,14 @@ public java.lang.String getCaption() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
      * A textual description of the QFE update.
      * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -13644,29 +15728,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * A textual description of the QFE update.
      * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -13677,11 +15761,14 @@ public java.lang.String getDescription() { public static final int HOT_FIX_ID_FIELD_NUMBER = 3; private volatile java.lang.Object hotFixId_; /** + * + * *
      * Unique identifier associated with a particular QFE update.
      * 
* * string hot_fix_id = 3; + * * @return The hotFixId. */ @java.lang.Override @@ -13690,29 +15777,29 @@ public java.lang.String getHotFixId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hotFixId_ = s; return s; } } /** + * + * *
      * Unique identifier associated with a particular QFE update.
      * 
* * string hot_fix_id = 3; + * * @return The bytes for hotFixId. */ @java.lang.Override - public com.google.protobuf.ByteString - getHotFixIdBytes() { + public com.google.protobuf.ByteString getHotFixIdBytes() { java.lang.Object ref = hotFixId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hotFixId_ = b; return b; } else { @@ -13723,11 +15810,14 @@ public java.lang.String getHotFixId() { public static final int INSTALL_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp installTime_; /** + * + * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
* * .google.protobuf.Timestamp install_time = 5; + * * @return Whether the installTime field is set. */ @java.lang.Override @@ -13735,18 +15825,25 @@ public boolean hasInstallTime() { return installTime_ != null; } /** + * + * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
* * .google.protobuf.Timestamp install_time = 5; + * * @return The installTime. */ @java.lang.Override public com.google.protobuf.Timestamp getInstallTime() { - return installTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : installTime_; + return installTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : installTime_; } /** + * + * *
      * Date that the QFE update was installed.  Mapped from installed_on field.
      * 
@@ -13759,6 +15856,7 @@ public com.google.protobuf.TimestampOrBuilder getInstallTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13770,8 +15868,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(caption_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, caption_); } @@ -13803,8 +15900,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, hotFixId_); } if (installTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getInstallTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getInstallTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -13814,23 +15910,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage other = (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) obj; + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage other = + (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) obj; - if (!getCaption() - .equals(other.getCaption())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getHotFixId() - .equals(other.getHotFixId())) return false; + if (!getCaption().equals(other.getCaption())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getHotFixId().equals(other.getHotFixId())) return false; if (hasInstallTime() != other.hasInstallTime()) return false; if (hasInstallTime()) { - if (!getInstallTime() - .equals(other.getInstallTime())) return false; + if (!getInstallTime().equals(other.getInstallTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -13858,88 +15953,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + 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.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + 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.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage 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.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + 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.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage 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.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + 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.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -13949,6 +16057,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Information related to a Quick Fix Engineering package.
      * Fields are taken from Windows QuickFixEngineering Interface and match
@@ -13956,40 +16066,45 @@ protected Builder newBuilderForType(
      * https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering
      * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.class, com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.Builder.class); + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.class, + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -14009,19 +16124,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsQuickFixEngineeringPackage_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage build() { - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage result = buildPartial(); + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -14029,8 +16147,10 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPac } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage buildPartial() { - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage result = new com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage(this); + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + buildPartial() { + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage result = + new com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage(this); result.caption_ = caption_; result.description_ = description_; result.hotFixId_ = hotFixId_; @@ -14047,46 +16167,56 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPac public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage other) { - if (other == com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage other) { + if (other + == com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + .getDefaultInstance()) return this; if (!other.getCaption().isEmpty()) { caption_ = other.caption_; onChanged(); @@ -14117,11 +16247,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage parsedMessage = null; + com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -14133,18 +16266,20 @@ public Builder mergeFrom( private java.lang.Object caption_ = ""; /** + * + * *
        * A short textual description of the QFE update.
        * 
* * string caption = 1; + * * @return The caption. */ public java.lang.String getCaption() { java.lang.Object ref = caption_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caption_ = s; return s; @@ -14153,20 +16288,21 @@ public java.lang.String getCaption() { } } /** + * + * *
        * A short textual description of the QFE update.
        * 
* * string caption = 1; + * * @return The bytes for caption. */ - public com.google.protobuf.ByteString - getCaptionBytes() { + public com.google.protobuf.ByteString getCaptionBytes() { java.lang.Object ref = caption_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); caption_ = b; return b; } else { @@ -14174,54 +16310,61 @@ public java.lang.String getCaption() { } } /** + * + * *
        * A short textual description of the QFE update.
        * 
* * string caption = 1; + * * @param value The caption to set. * @return This builder for chaining. */ - public Builder setCaption( - java.lang.String value) { + public Builder setCaption(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + caption_ = value; onChanged(); return this; } /** + * + * *
        * A short textual description of the QFE update.
        * 
* * string caption = 1; + * * @return This builder for chaining. */ public Builder clearCaption() { - + caption_ = getDefaultInstance().getCaption(); onChanged(); return this; } /** + * + * *
        * A short textual description of the QFE update.
        * 
* * string caption = 1; + * * @param value The bytes for caption to set. * @return This builder for chaining. */ - public Builder setCaptionBytes( - com.google.protobuf.ByteString value) { + public Builder setCaptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + caption_ = value; onChanged(); return this; @@ -14229,18 +16372,20 @@ public Builder setCaptionBytes( private java.lang.Object description_ = ""; /** + * + * *
        * A textual description of the QFE update.
        * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -14249,20 +16394,21 @@ public java.lang.String getDescription() { } } /** + * + * *
        * A textual description of the QFE update.
        * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -14270,54 +16416,61 @@ public java.lang.String getDescription() { } } /** + * + * *
        * A textual description of the QFE update.
        * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
        * A textual description of the QFE update.
        * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
        * A textual description of the QFE update.
        * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -14325,18 +16478,20 @@ public Builder setDescriptionBytes( private java.lang.Object hotFixId_ = ""; /** + * + * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; + * * @return The hotFixId. */ public java.lang.String getHotFixId() { java.lang.Object ref = hotFixId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hotFixId_ = s; return s; @@ -14345,20 +16500,21 @@ public java.lang.String getHotFixId() { } } /** + * + * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; + * * @return The bytes for hotFixId. */ - public com.google.protobuf.ByteString - getHotFixIdBytes() { + public com.google.protobuf.ByteString getHotFixIdBytes() { java.lang.Object ref = hotFixId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hotFixId_ = b; return b; } else { @@ -14366,54 +16522,61 @@ public java.lang.String getHotFixId() { } } /** + * + * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; + * * @param value The hotFixId to set. * @return This builder for chaining. */ - public Builder setHotFixId( - java.lang.String value) { + public Builder setHotFixId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hotFixId_ = value; onChanged(); return this; } /** + * + * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; + * * @return This builder for chaining. */ public Builder clearHotFixId() { - + hotFixId_ = getDefaultInstance().getHotFixId(); onChanged(); return this; } /** + * + * *
        * Unique identifier associated with a particular QFE update.
        * 
* * string hot_fix_id = 3; + * * @param value The bytes for hotFixId to set. * @return This builder for chaining. */ - public Builder setHotFixIdBytes( - com.google.protobuf.ByteString value) { + public Builder setHotFixIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hotFixId_ = value; onChanged(); return this; @@ -14421,34 +16584,47 @@ public Builder setHotFixIdBytes( private com.google.protobuf.Timestamp installTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> installTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + installTimeBuilder_; /** + * + * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
* * .google.protobuf.Timestamp install_time = 5; + * * @return Whether the installTime field is set. */ public boolean hasInstallTime() { return installTimeBuilder_ != null || installTime_ != null; } /** + * + * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
* * .google.protobuf.Timestamp install_time = 5; + * * @return The installTime. */ public com.google.protobuf.Timestamp getInstallTime() { if (installTimeBuilder_ == null) { - return installTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : installTime_; + return installTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : installTime_; } else { return installTimeBuilder_.getMessage(); } } /** + * + * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -14469,14 +16645,15 @@ public Builder setInstallTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
* * .google.protobuf.Timestamp install_time = 5; */ - public Builder setInstallTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setInstallTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (installTimeBuilder_ == null) { installTime_ = builderForValue.build(); onChanged(); @@ -14487,6 +16664,8 @@ public Builder setInstallTime( return this; } /** + * + * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -14497,7 +16676,9 @@ public Builder mergeInstallTime(com.google.protobuf.Timestamp value) { if (installTimeBuilder_ == null) { if (installTime_ != null) { installTime_ = - com.google.protobuf.Timestamp.newBuilder(installTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(installTime_) + .mergeFrom(value) + .buildPartial(); } else { installTime_ = value; } @@ -14509,6 +16690,8 @@ public Builder mergeInstallTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -14527,6 +16710,8 @@ public Builder clearInstallTime() { return this; } /** + * + * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -14534,11 +16719,13 @@ public Builder clearInstallTime() { * .google.protobuf.Timestamp install_time = 5; */ public com.google.protobuf.Timestamp.Builder getInstallTimeBuilder() { - + onChanged(); return getInstallTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -14549,11 +16736,14 @@ public com.google.protobuf.TimestampOrBuilder getInstallTimeOrBuilder() { if (installTimeBuilder_ != null) { return installTimeBuilder_.getMessageOrBuilder(); } else { - return installTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : installTime_; + return installTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : installTime_; } } /** + * + * *
        * Date that the QFE update was installed.  Mapped from installed_on field.
        * 
@@ -14561,18 +16751,22 @@ public com.google.protobuf.TimestampOrBuilder getInstallTimeOrBuilder() { * .google.protobuf.Timestamp install_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getInstallTimeFieldBuilder() { if (installTimeBuilder_ == null) { - installTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getInstallTime(), - getParentForChildren(), - isClean()); + installTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getInstallTime(), getParentForChildren(), isClean()); installTime_ = null; } return installTimeBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14585,30 +16779,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage) - private static final com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.Inventory + .WindowsQuickFixEngineeringPackage + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage(); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsQuickFixEngineeringPackage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsQuickFixEngineeringPackage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsQuickFixEngineeringPackage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsQuickFixEngineeringPackage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14620,77 +16818,95 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface WindowsApplicationOrBuilder extends + public interface WindowsApplicationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The name of the application or product.
      * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
      * The name of the application or product.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
      * The version of the product or application in string format.
      * 
* * string display_version = 2; + * * @return The displayVersion. */ java.lang.String getDisplayVersion(); /** + * + * *
      * The version of the product or application in string format.
      * 
* * string display_version = 2; + * * @return The bytes for displayVersion. */ - com.google.protobuf.ByteString - getDisplayVersionBytes(); + com.google.protobuf.ByteString getDisplayVersionBytes(); /** + * + * *
      * The name of the manufacturer for the product or application.
      * 
* * string publisher = 3; + * * @return The publisher. */ java.lang.String getPublisher(); /** + * + * *
      * The name of the manufacturer for the product or application.
      * 
* * string publisher = 3; + * * @return The bytes for publisher. */ - com.google.protobuf.ByteString - getPublisherBytes(); + com.google.protobuf.ByteString getPublisherBytes(); /** + * + * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -14698,10 +16914,13 @@ public interface WindowsApplicationOrBuilder extends
      * 
* * .google.type.Date install_date = 4; + * * @return Whether the installDate field is set. */ boolean hasInstallDate(); /** + * + * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -14709,10 +16928,13 @@ public interface WindowsApplicationOrBuilder extends
      * 
* * .google.type.Date install_date = 4; + * * @return The installDate. */ com.google.type.Date getInstallDate(); /** + * + * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -14724,26 +16946,33 @@ public interface WindowsApplicationOrBuilder extends
     com.google.type.DateOrBuilder getInstallDateOrBuilder();
 
     /**
+     *
+     *
      * 
      * The internet address for technical support.
      * 
* * string help_link = 5; + * * @return The helpLink. */ java.lang.String getHelpLink(); /** + * + * *
      * The internet address for technical support.
      * 
* * string help_link = 5; + * * @return The bytes for helpLink. */ - com.google.protobuf.ByteString - getHelpLinkBytes(); + com.google.protobuf.ByteString getHelpLinkBytes(); } /** + * + * *
    * Contains information about a Windows application that is retrieved from the
    * Windows Registry. For more information about these fields, see:
@@ -14752,15 +16981,16 @@ public interface WindowsApplicationOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.WindowsApplication}
    */
-  public static final class WindowsApplication extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class WindowsApplication extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.Inventory.WindowsApplication)
       WindowsApplicationOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use WindowsApplication.newBuilder() to construct.
     private WindowsApplication(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private WindowsApplication() {
       displayName_ = "";
       displayVersion_ = "";
@@ -14770,16 +17000,15 @@ private WindowsApplication() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new WindowsApplication();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private WindowsApplication(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -14798,50 +17027,55 @@ private WindowsApplication(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              displayName_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              displayVersion_ = s;
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
+                displayName_ = s;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              publisher_ = s;
-              break;
-            }
-            case 34: {
-              com.google.type.Date.Builder subBuilder = null;
-              if (installDate_ != null) {
-                subBuilder = installDate_.toBuilder();
+                displayVersion_ = s;
+                break;
               }
-              installDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(installDate_);
-                installDate_ = subBuilder.buildPartial();
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+
+                publisher_ = s;
+                break;
               }
+            case 34:
+              {
+                com.google.type.Date.Builder subBuilder = null;
+                if (installDate_ != null) {
+                  subBuilder = installDate_.toBuilder();
+                }
+                installDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(installDate_);
+                  installDate_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
+                break;
+              }
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              helpLink_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                helpLink_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -14849,34 +17083,39 @@ private WindowsApplication(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.Inventories
+          .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.Inventories
+          .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.class, com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder.class);
+              com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.class,
+              com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder.class);
     }
 
     public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object displayName_;
     /**
+     *
+     *
      * 
      * The name of the application or product.
      * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -14885,29 +17124,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
      * The name of the application or product.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -14918,11 +17157,14 @@ public java.lang.String getDisplayName() { public static final int DISPLAY_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object displayVersion_; /** + * + * *
      * The version of the product or application in string format.
      * 
* * string display_version = 2; + * * @return The displayVersion. */ @java.lang.Override @@ -14931,29 +17173,29 @@ public java.lang.String getDisplayVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayVersion_ = s; return s; } } /** + * + * *
      * The version of the product or application in string format.
      * 
* * string display_version = 2; + * * @return The bytes for displayVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayVersionBytes() { + public com.google.protobuf.ByteString getDisplayVersionBytes() { java.lang.Object ref = displayVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayVersion_ = b; return b; } else { @@ -14964,11 +17206,14 @@ public java.lang.String getDisplayVersion() { public static final int PUBLISHER_FIELD_NUMBER = 3; private volatile java.lang.Object publisher_; /** + * + * *
      * The name of the manufacturer for the product or application.
      * 
* * string publisher = 3; + * * @return The publisher. */ @java.lang.Override @@ -14977,29 +17222,29 @@ public java.lang.String getPublisher() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publisher_ = s; return s; } } /** + * + * *
      * The name of the manufacturer for the product or application.
      * 
* * string publisher = 3; + * * @return The bytes for publisher. */ @java.lang.Override - public com.google.protobuf.ByteString - getPublisherBytes() { + public com.google.protobuf.ByteString getPublisherBytes() { java.lang.Object ref = publisher_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publisher_ = b; return b; } else { @@ -15010,6 +17255,8 @@ public java.lang.String getPublisher() { public static final int INSTALL_DATE_FIELD_NUMBER = 4; private com.google.type.Date installDate_; /** + * + * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -15017,6 +17264,7 @@ public java.lang.String getPublisher() {
      * 
* * .google.type.Date install_date = 4; + * * @return Whether the installDate field is set. */ @java.lang.Override @@ -15024,6 +17272,8 @@ public boolean hasInstallDate() { return installDate_ != null; } /** + * + * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -15031,6 +17281,7 @@ public boolean hasInstallDate() {
      * 
* * .google.type.Date install_date = 4; + * * @return The installDate. */ @java.lang.Override @@ -15038,6 +17289,8 @@ public com.google.type.Date getInstallDate() { return installDate_ == null ? com.google.type.Date.getDefaultInstance() : installDate_; } /** + * + * *
      * The last time this product received service. The value of this property
      * is replaced each time a patch is applied or removed from the product or
@@ -15054,11 +17307,14 @@ public com.google.type.DateOrBuilder getInstallDateOrBuilder() {
     public static final int HELP_LINK_FIELD_NUMBER = 5;
     private volatile java.lang.Object helpLink_;
     /**
+     *
+     *
      * 
      * The internet address for technical support.
      * 
* * string help_link = 5; + * * @return The helpLink. */ @java.lang.Override @@ -15067,29 +17323,29 @@ public java.lang.String getHelpLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); helpLink_ = s; return s; } } /** + * + * *
      * The internet address for technical support.
      * 
* * string help_link = 5; + * * @return The bytes for helpLink. */ @java.lang.Override - public com.google.protobuf.ByteString - getHelpLinkBytes() { + public com.google.protobuf.ByteString getHelpLinkBytes() { java.lang.Object ref = helpLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); helpLink_ = b; return b; } else { @@ -15098,6 +17354,7 @@ public java.lang.String getHelpLink() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15109,8 +17366,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -15145,8 +17401,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, publisher_); } if (installDate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getInstallDate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getInstallDate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(helpLink_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, helpLink_); @@ -15159,26 +17414,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication other = (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) obj; + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication other = + (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDisplayVersion() - .equals(other.getDisplayVersion())) return false; - if (!getPublisher() - .equals(other.getPublisher())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDisplayVersion().equals(other.getDisplayVersion())) return false; + if (!getPublisher().equals(other.getPublisher())) return false; if (hasInstallDate() != other.hasInstallDate()) return false; if (hasInstallDate()) { - if (!getInstallDate() - .equals(other.getInstallDate())) return false; + if (!getInstallDate().equals(other.getInstallDate())) return false; } - if (!getHelpLink() - .equals(other.getHelpLink())) return false; + if (!getHelpLink().equals(other.getHelpLink())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -15208,87 +17459,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication 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.osconfig.v1alpha.Inventory.WindowsApplication parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -15298,6 +17556,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Contains information about a Windows application that is retrieved from the
      * Windows Registry. For more information about these fields, see:
@@ -15306,21 +17566,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory.WindowsApplication}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory.WindowsApplication)
         com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplicationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.Inventories
+            .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.Inventories
+            .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.class, com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder.class);
+                com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.class,
+                com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.newBuilder()
@@ -15328,16 +17591,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -15359,13 +17621,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1alpha.Inventories
+            .internal_static_google_cloud_osconfig_v1alpha_Inventory_WindowsApplication_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication
+          getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance();
       }
 
@@ -15380,7 +17643,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication buildPartial() {
-        com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication result = new com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication(this);
+        com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication result =
+            new com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication(this);
         result.displayName_ = displayName_;
         result.displayVersion_ = displayVersion_;
         result.publisher_ = publisher_;
@@ -15398,46 +17662,52 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication buildParti
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1alpha.Inventory.WindowsApplication) {
-          return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication)other);
+          return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication other) {
-        if (other == com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication other) {
+        if (other
+            == com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.getDefaultInstance())
+          return this;
         if (!other.getDisplayName().isEmpty()) {
           displayName_ = other.displayName_;
           onChanged();
@@ -15476,7 +17746,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -15488,18 +17760,20 @@ public Builder mergeFrom(
 
       private java.lang.Object displayName_ = "";
       /**
+       *
+       *
        * 
        * The name of the application or product.
        * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -15508,20 +17782,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * The name of the application or product.
        * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -15529,54 +17804,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * The name of the application or product.
        * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
        * The name of the application or product.
        * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
        * The name of the application or product.
        * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -15584,18 +17866,20 @@ public Builder setDisplayNameBytes( private java.lang.Object displayVersion_ = ""; /** + * + * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; + * * @return The displayVersion. */ public java.lang.String getDisplayVersion() { java.lang.Object ref = displayVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayVersion_ = s; return s; @@ -15604,20 +17888,21 @@ public java.lang.String getDisplayVersion() { } } /** + * + * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; + * * @return The bytes for displayVersion. */ - public com.google.protobuf.ByteString - getDisplayVersionBytes() { + public com.google.protobuf.ByteString getDisplayVersionBytes() { java.lang.Object ref = displayVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayVersion_ = b; return b; } else { @@ -15625,54 +17910,61 @@ public java.lang.String getDisplayVersion() { } } /** + * + * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; + * * @param value The displayVersion to set. * @return This builder for chaining. */ - public Builder setDisplayVersion( - java.lang.String value) { + public Builder setDisplayVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayVersion_ = value; onChanged(); return this; } /** + * + * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; + * * @return This builder for chaining. */ public Builder clearDisplayVersion() { - + displayVersion_ = getDefaultInstance().getDisplayVersion(); onChanged(); return this; } /** + * + * *
        * The version of the product or application in string format.
        * 
* * string display_version = 2; + * * @param value The bytes for displayVersion to set. * @return This builder for chaining. */ - public Builder setDisplayVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayVersion_ = value; onChanged(); return this; @@ -15680,18 +17972,20 @@ public Builder setDisplayVersionBytes( private java.lang.Object publisher_ = ""; /** + * + * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; + * * @return The publisher. */ public java.lang.String getPublisher() { java.lang.Object ref = publisher_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publisher_ = s; return s; @@ -15700,20 +17994,21 @@ public java.lang.String getPublisher() { } } /** + * + * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; + * * @return The bytes for publisher. */ - public com.google.protobuf.ByteString - getPublisherBytes() { + public com.google.protobuf.ByteString getPublisherBytes() { java.lang.Object ref = publisher_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publisher_ = b; return b; } else { @@ -15721,54 +18016,61 @@ public java.lang.String getPublisher() { } } /** + * + * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; + * * @param value The publisher to set. * @return This builder for chaining. */ - public Builder setPublisher( - java.lang.String value) { + public Builder setPublisher(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + publisher_ = value; onChanged(); return this; } /** + * + * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; + * * @return This builder for chaining. */ public Builder clearPublisher() { - + publisher_ = getDefaultInstance().getPublisher(); onChanged(); return this; } /** + * + * *
        * The name of the manufacturer for the product or application.
        * 
* * string publisher = 3; + * * @param value The bytes for publisher to set. * @return This builder for chaining. */ - public Builder setPublisherBytes( - com.google.protobuf.ByteString value) { + public Builder setPublisherBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + publisher_ = value; onChanged(); return this; @@ -15776,8 +18078,11 @@ public Builder setPublisherBytes( private com.google.type.Date installDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> installDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + installDateBuilder_; /** + * + * *
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -15785,12 +18090,15 @@ public Builder setPublisherBytes(
        * 
* * .google.type.Date install_date = 4; + * * @return Whether the installDate field is set. */ public boolean hasInstallDate() { return installDateBuilder_ != null || installDate_ != null; } /** + * + * *
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -15798,6 +18106,7 @@ public boolean hasInstallDate() {
        * 
* * .google.type.Date install_date = 4; + * * @return The installDate. */ public com.google.type.Date getInstallDate() { @@ -15808,6 +18117,8 @@ public com.google.type.Date getInstallDate() { } } /** + * + * *
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -15830,6 +18141,8 @@ public Builder setInstallDate(com.google.type.Date value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -15838,8 +18151,7 @@ public Builder setInstallDate(com.google.type.Date value) {
        *
        * .google.type.Date install_date = 4;
        */
-      public Builder setInstallDate(
-          com.google.type.Date.Builder builderForValue) {
+      public Builder setInstallDate(com.google.type.Date.Builder builderForValue) {
         if (installDateBuilder_ == null) {
           installDate_ = builderForValue.build();
           onChanged();
@@ -15850,6 +18162,8 @@ public Builder setInstallDate(
         return this;
       }
       /**
+       *
+       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -15862,7 +18176,7 @@ public Builder mergeInstallDate(com.google.type.Date value) {
         if (installDateBuilder_ == null) {
           if (installDate_ != null) {
             installDate_ =
-              com.google.type.Date.newBuilder(installDate_).mergeFrom(value).buildPartial();
+                com.google.type.Date.newBuilder(installDate_).mergeFrom(value).buildPartial();
           } else {
             installDate_ = value;
           }
@@ -15874,6 +18188,8 @@ public Builder mergeInstallDate(com.google.type.Date value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -15894,6 +18210,8 @@ public Builder clearInstallDate() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -15903,11 +18221,13 @@ public Builder clearInstallDate() {
        * .google.type.Date install_date = 4;
        */
       public com.google.type.Date.Builder getInstallDateBuilder() {
-        
+
         onChanged();
         return getInstallDateFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -15920,11 +18240,12 @@ public com.google.type.DateOrBuilder getInstallDateOrBuilder() {
         if (installDateBuilder_ != null) {
           return installDateBuilder_.getMessageOrBuilder();
         } else {
-          return installDate_ == null ?
-              com.google.type.Date.getDefaultInstance() : installDate_;
+          return installDate_ == null ? com.google.type.Date.getDefaultInstance() : installDate_;
         }
       }
       /**
+       *
+       *
        * 
        * The last time this product received service. The value of this property
        * is replaced each time a patch is applied or removed from the product or
@@ -15934,14 +18255,15 @@ public com.google.type.DateOrBuilder getInstallDateOrBuilder() {
        * .google.type.Date install_date = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> 
+              com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
           getInstallDateFieldBuilder() {
         if (installDateBuilder_ == null) {
-          installDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
-                  getInstallDate(),
-                  getParentForChildren(),
-                  isClean());
+          installDateBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.type.Date,
+                  com.google.type.Date.Builder,
+                  com.google.type.DateOrBuilder>(
+                  getInstallDate(), getParentForChildren(), isClean());
           installDate_ = null;
         }
         return installDateBuilder_;
@@ -15949,18 +18271,20 @@ public com.google.type.DateOrBuilder getInstallDateOrBuilder() {
 
       private java.lang.Object helpLink_ = "";
       /**
+       *
+       *
        * 
        * The internet address for technical support.
        * 
* * string help_link = 5; + * * @return The helpLink. */ public java.lang.String getHelpLink() { java.lang.Object ref = helpLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); helpLink_ = s; return s; @@ -15969,20 +18293,21 @@ public java.lang.String getHelpLink() { } } /** + * + * *
        * The internet address for technical support.
        * 
* * string help_link = 5; + * * @return The bytes for helpLink. */ - public com.google.protobuf.ByteString - getHelpLinkBytes() { + public com.google.protobuf.ByteString getHelpLinkBytes() { java.lang.Object ref = helpLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); helpLink_ = b; return b; } else { @@ -15990,58 +18315,66 @@ public java.lang.String getHelpLink() { } } /** + * + * *
        * The internet address for technical support.
        * 
* * string help_link = 5; + * * @param value The helpLink to set. * @return This builder for chaining. */ - public Builder setHelpLink( - java.lang.String value) { + public Builder setHelpLink(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + helpLink_ = value; onChanged(); return this; } /** + * + * *
        * The internet address for technical support.
        * 
* * string help_link = 5; + * * @return This builder for chaining. */ public Builder clearHelpLink() { - + helpLink_ = getDefaultInstance().getHelpLink(); onChanged(); return this; } /** + * + * *
        * The internet address for technical support.
        * 
* * string help_link = 5; + * * @param value The bytes for helpLink to set. * @return This builder for chaining. */ - public Builder setHelpLinkBytes( - com.google.protobuf.ByteString value) { + public Builder setHelpLinkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + helpLink_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16054,30 +18387,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory.WindowsApplication) - private static final com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication(); } - public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsApplication parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsApplication(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsApplication parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsApplication(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16089,15 +18424,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The `Inventory` API resource name.
    * Format:
@@ -16105,6 +18442,7 @@ public com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication getDefault
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -16113,14 +18451,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The `Inventory` API resource name.
    * Format:
@@ -16128,16 +18467,15 @@ public java.lang.String getName() {
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -16148,11 +18486,16 @@ public java.lang.String getName() { public static final int OS_INFO_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1alpha.Inventory.OsInfo osInfo_; /** + * + * *
    * Output only. Base level operating system information for the VM.
    * 
* - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the osInfo field is set. */ @java.lang.Override @@ -16160,23 +18503,34 @@ public boolean hasOsInfo() { return osInfo_ != null; } /** + * + * *
    * Output only. Base level operating system information for the VM.
    * 
* - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The osInfo. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.OsInfo getOsInfo() { - return osInfo_ == null ? com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.getDefaultInstance() : osInfo_; + return osInfo_ == null + ? com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.getDefaultInstance() + : osInfo_; } /** + * + * *
    * Output only. Base level operating system information for the VM.
    * 
* - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder getOsInfoOrBuilder() { @@ -16184,24 +18538,31 @@ public com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder getOsInfoOrBu } public static final int ITEMS_FIELD_NUMBER = 2; + private static final class ItemsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> defaultEntry = + java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.osconfig.v1alpha.Inventory.Item.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.osconfig.v1alpha.Inventories + .internal_static_google_cloud_osconfig_v1alpha_Inventory_ItemsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.osconfig.v1alpha.Inventory.Item.getDefaultInstance()); } + private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> items_; - private com.google.protobuf.MapField - internalGetItems() { + java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> + items_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> + internalGetItems() { if (items_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ItemsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(ItemsDefaultEntryHolder.defaultEntry); } return items_; } @@ -16210,6 +18571,8 @@ public int getItemsCount() { return internalGetItems().getMap().size(); } /** + * + * *
    * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item. The identifier is unique to each distinct and
@@ -16217,24 +18580,27 @@ public int getItemsCount() {
    * version.
    * 
* - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - @java.lang.Override - public boolean containsItems( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsItems(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetItems().getMap().containsKey(key); } - /** - * Use {@link #getItemsMap()} instead. - */ + /** Use {@link #getItemsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getItems() { + public java.util.Map + getItems() { return getItemsMap(); } /** + * + * *
    * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item. The identifier is unique to each distinct and
@@ -16242,14 +18608,18 @@ public java.util.Map
    *
-   * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+   * 
+   * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+   * 
    */
   @java.lang.Override
-
-  public java.util.Map getItemsMap() {
+  public java.util.Map
+      getItemsMap() {
     return internalGetItems().getMap();
   }
   /**
+   *
+   *
    * 
    * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item. The identifier is unique to each distinct and
@@ -16257,19 +18627,23 @@ public java.util.Map
    *
-   * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+   * 
+   * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+   * 
    */
   @java.lang.Override
-
   public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrDefault(
-      java.lang.String key,
-      com.google.cloud.osconfig.v1alpha.Inventory.Item defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String key, com.google.cloud.osconfig.v1alpha.Inventory.Item defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetItems().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item. The identifier is unique to each distinct and
@@ -16277,13 +18651,15 @@ public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrDefault(
    * version.
    * 
* - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - - public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetItems().getMap(); if (!map.containsKey(key)) { @@ -16295,11 +18671,15 @@ public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrThrow( public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -16307,11 +18687,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -16319,11 +18703,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -16331,6 +18718,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -16342,17 +18730,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (osInfo_ != null) { output.writeMessage(1, getOsInfo()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetItems(), - ItemsDefaultEntryHolder.defaultEntry, - 2); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetItems(), ItemsDefaultEntryHolder.defaultEntry, 2); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -16369,25 +18752,25 @@ public int getSerializedSize() { size = 0; if (osInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getOsInfo()); - } - for (java.util.Map.Entry entry - : internalGetItems().getMap().entrySet()) { - com.google.protobuf.MapEntry - items__ = ItemsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, items__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOsInfo()); + } + for (java.util.Map.Entry + entry : internalGetItems().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> + items__ = + ItemsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, items__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -16397,26 +18780,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.Inventory)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.Inventory other = (com.google.cloud.osconfig.v1alpha.Inventory) obj; + com.google.cloud.osconfig.v1alpha.Inventory other = + (com.google.cloud.osconfig.v1alpha.Inventory) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasOsInfo() != other.hasOsInfo()) return false; if (hasOsInfo()) { - if (!getOsInfo() - .equals(other.getOsInfo())) return false; + if (!getOsInfo().equals(other.getOsInfo())) return false; } - if (!internalGetItems().equals( - other.internalGetItems())) return false; + if (!internalGetItems().equals(other.internalGetItems())) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -16448,97 +18828,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.Inventory parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1alpha.Inventory parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.Inventory parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory 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.osconfig.v1alpha.Inventory parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.Inventory parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.Inventory parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.Inventory parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.Inventory parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.Inventory parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.Inventory parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.Inventory prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * This API resource represents the available inventory data for a
    * Compute Engine virtual machine (VM) instance at a given point in time.
@@ -16549,43 +18936,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.Inventory}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.Inventory)
       com.google.cloud.osconfig.v1alpha.InventoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.Inventories
+          .internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 2:
           return internalGetItems();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 2:
           return internalGetMutableItems();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.Inventories
+          .internal_static_google_cloud_osconfig_v1alpha_Inventory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.Inventory.class, com.google.cloud.osconfig.v1alpha.Inventory.Builder.class);
+              com.google.cloud.osconfig.v1alpha.Inventory.class,
+              com.google.cloud.osconfig.v1alpha.Inventory.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1alpha.Inventory.newBuilder()
@@ -16593,16 +18980,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -16625,9 +19011,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.Inventories
+          .internal_static_google_cloud_osconfig_v1alpha_Inventory_descriptor;
     }
 
     @java.lang.Override
@@ -16646,7 +19032,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.Inventory buildPartial() {
-      com.google.cloud.osconfig.v1alpha.Inventory result = new com.google.cloud.osconfig.v1alpha.Inventory(this);
+      com.google.cloud.osconfig.v1alpha.Inventory result =
+          new com.google.cloud.osconfig.v1alpha.Inventory(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (osInfoBuilder_ == null) {
@@ -16669,38 +19056,39 @@ public com.google.cloud.osconfig.v1alpha.Inventory buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.Inventory) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory)other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.Inventory) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -16716,8 +19104,7 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.Inventory other) {
       if (other.hasOsInfo()) {
         mergeOsInfo(other.getOsInfo());
       }
-      internalGetMutableItems().mergeFrom(
-          other.internalGetItems());
+      internalGetMutableItems().mergeFrom(other.internalGetItems());
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
@@ -16749,10 +19136,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -16760,13 +19150,13 @@ public Builder mergeFrom(
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -16775,6 +19165,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -16782,15 +19174,14 @@ public java.lang.String getName() {
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -16798,6 +19189,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -16805,20 +19198,22 @@ public java.lang.String getName() {
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -16826,15 +19221,18 @@ public Builder setName(
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The `Inventory` API resource name.
      * Format:
@@ -16842,16 +19240,16 @@ public Builder clearName() {
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -16859,39 +19257,58 @@ public Builder setNameBytes( private com.google.cloud.osconfig.v1alpha.Inventory.OsInfo osInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo, com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder, com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder> osInfoBuilder_; + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo, + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder, + com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder> + osInfoBuilder_; /** + * + * *
      * Output only. Base level operating system information for the VM.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the osInfo field is set. */ public boolean hasOsInfo() { return osInfoBuilder_ != null || osInfo_ != null; } /** + * + * *
      * Output only. Base level operating system information for the VM.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The osInfo. */ public com.google.cloud.osconfig.v1alpha.Inventory.OsInfo getOsInfo() { if (osInfoBuilder_ == null) { - return osInfo_ == null ? com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.getDefaultInstance() : osInfo_; + return osInfo_ == null + ? com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.getDefaultInstance() + : osInfo_; } else { return osInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. Base level operating system information for the VM.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOsInfo(com.google.cloud.osconfig.v1alpha.Inventory.OsInfo value) { if (osInfoBuilder_ == null) { @@ -16907,11 +19324,15 @@ public Builder setOsInfo(com.google.cloud.osconfig.v1alpha.Inventory.OsInfo valu return this; } /** + * + * *
      * Output only. Base level operating system information for the VM.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOsInfo( com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder builderForValue) { @@ -16925,17 +19346,23 @@ public Builder setOsInfo( return this; } /** + * + * *
      * Output only. Base level operating system information for the VM.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeOsInfo(com.google.cloud.osconfig.v1alpha.Inventory.OsInfo value) { if (osInfoBuilder_ == null) { if (osInfo_ != null) { osInfo_ = - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.newBuilder(osInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.newBuilder(osInfo_) + .mergeFrom(value) + .buildPartial(); } else { osInfo_ = value; } @@ -16947,11 +19374,15 @@ public Builder mergeOsInfo(com.google.cloud.osconfig.v1alpha.Inventory.OsInfo va return this; } /** + * + * *
      * Output only. Base level operating system information for the VM.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearOsInfo() { if (osInfoBuilder_ == null) { @@ -16965,69 +19396,89 @@ public Builder clearOsInfo() { return this; } /** + * + * *
      * Output only. Base level operating system information for the VM.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder getOsInfoBuilder() { - + onChanged(); return getOsInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Base level operating system information for the VM.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder getOsInfoOrBuilder() { if (osInfoBuilder_ != null) { return osInfoBuilder_.getMessageOrBuilder(); } else { - return osInfo_ == null ? - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.getDefaultInstance() : osInfo_; + return osInfo_ == null + ? com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.getDefaultInstance() + : osInfo_; } } /** + * + * *
      * Output only. Base level operating system information for the VM.
      * 
* - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo, com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder, com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder> + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo, + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder, + com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder> getOsInfoFieldBuilder() { if (osInfoBuilder_ == null) { - osInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory.OsInfo, com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder, com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder>( - getOsInfo(), - getParentForChildren(), - isClean()); + osInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo, + com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder, + com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder>( + getOsInfo(), getParentForChildren(), isClean()); osInfo_ = null; } return osInfoBuilder_; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> items_; - private com.google.protobuf.MapField - internalGetItems() { + java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> + items_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> + internalGetItems() { if (items_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ItemsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(ItemsDefaultEntryHolder.defaultEntry); } return items_; } - private com.google.protobuf.MapField - internalGetMutableItems() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.osconfig.v1alpha.Inventory.Item> + internalGetMutableItems() { + onChanged(); + ; if (items_ == null) { - items_ = com.google.protobuf.MapField.newMapField( - ItemsDefaultEntryHolder.defaultEntry); + items_ = com.google.protobuf.MapField.newMapField(ItemsDefaultEntryHolder.defaultEntry); } if (!items_.isMutable()) { items_ = items_.copy(); @@ -17039,6 +19490,8 @@ public int getItemsCount() { return internalGetItems().getMap().size(); } /** + * + * *
      * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item. The identifier is unique to each distinct and
@@ -17046,24 +19499,27 @@ public int getItemsCount() {
      * version.
      * 
* - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - @java.lang.Override - public boolean containsItems( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsItems(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetItems().getMap().containsKey(key); } - /** - * Use {@link #getItemsMap()} instead. - */ + /** Use {@link #getItemsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getItems() { + public java.util.Map + getItems() { return getItemsMap(); } /** + * + * *
      * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item. The identifier is unique to each distinct and
@@ -17071,14 +19527,18 @@ public java.util.Map
      *
-     * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+     * 
+     * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+     * 
      */
     @java.lang.Override
-
-    public java.util.Map getItemsMap() {
+    public java.util.Map
+        getItemsMap() {
       return internalGetItems().getMap();
     }
     /**
+     *
+     *
      * 
      * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item. The identifier is unique to each distinct and
@@ -17086,19 +19546,23 @@ public java.util.Map
      *
-     * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+     * 
+     * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+     * 
      */
     @java.lang.Override
-
     public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrDefault(
-        java.lang.String key,
-        com.google.cloud.osconfig.v1alpha.Inventory.Item defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, com.google.cloud.osconfig.v1alpha.Inventory.Item defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetItems().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item. The identifier is unique to each distinct and
@@ -17106,13 +19570,15 @@ public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrDefault(
      * version.
      * 
* - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - - public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetItems().getMap(); if (!map.containsKey(key)) { @@ -17122,11 +19588,12 @@ public com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrThrow( } public Builder clearItems() { - internalGetMutableItems().getMutableMap() - .clear(); + internalGetMutableItems().getMutableMap().clear(); return this; } /** + * + * *
      * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item. The identifier is unique to each distinct and
@@ -17134,25 +19601,26 @@ public Builder clearItems() {
      * version.
      * 
* - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - - public Builder removeItems( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableItems().getMutableMap() - .remove(key); + public Builder removeItems(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableItems().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map - getMutableItems() { + getMutableItems() { return internalGetMutableItems().getMutableMap(); } /** + * + * *
      * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item. The identifier is unique to each distinct and
@@ -17160,21 +19628,25 @@ public Builder removeItems(
      * version.
      * 
* - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder putItems( - java.lang.String key, - com.google.cloud.osconfig.v1alpha.Inventory.Item value) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String key, com.google.cloud.osconfig.v1alpha.Inventory.Item value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableItems().getMutableMap() - .put(key, value); + internalGetMutableItems().getMutableMap().put(key, value); return this; } /** + * + * *
      * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
      * each inventory item. The identifier is unique to each distinct and
@@ -17182,51 +19654,70 @@ public Builder putItems(
      * version.
      * 
* - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder putAllItems( java.util.Map values) { - internalGetMutableItems().getMutableMap() - .putAll(values); + internalGetMutableItems().getMutableMap().putAll(values); return this; } private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -17242,14 +19733,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -17260,17 +19754,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -17282,11 +19780,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -17300,55 +19802,71 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. Timestamp of the last reported inventory for the VM.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -17358,12 +19876,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.Inventory) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.Inventory) private static final com.google.cloud.osconfig.v1alpha.Inventory DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.Inventory(); } @@ -17372,16 +19890,16 @@ public static com.google.cloud.osconfig.v1alpha.Inventory getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Inventory parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Inventory(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Inventory parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Inventory(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -17396,6 +19914,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.Inventory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryName.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryName.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryName.java diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryOrBuilder.java similarity index 61% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryOrBuilder.java index 969e4685..cde9157b 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/osconfig/v1alpha/inventory.proto package com.google.cloud.osconfig.v1alpha; -public interface InventoryOrBuilder extends +public interface InventoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.Inventory) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The `Inventory` API resource name.
    * Format:
@@ -15,10 +33,13 @@ public interface InventoryOrBuilder extends
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The `Inventory` API resource name.
    * Format:
@@ -26,39 +47,55 @@ public interface InventoryOrBuilder extends
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Base level operating system information for the VM.
    * 
* - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the osInfo field is set. */ boolean hasOsInfo(); /** + * + * *
    * Output only. Base level operating system information for the VM.
    * 
* - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The osInfo. */ com.google.cloud.osconfig.v1alpha.Inventory.OsInfo getOsInfo(); /** + * + * *
    * Output only. Base level operating system information for the VM.
    * 
* - * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.osconfig.v1alpha.Inventory.OsInfoOrBuilder getOsInfoOrBuilder(); /** + * + * *
    * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item. The identifier is unique to each distinct and
@@ -66,10 +103,14 @@ public interface InventoryOrBuilder extends
    * version.
    * 
* - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getItemsCount(); /** + * + * *
    * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item. The identifier is unique to each distinct and
@@ -77,17 +118,17 @@ public interface InventoryOrBuilder extends
    * version.
    * 
* - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - boolean containsItems( - java.lang.String key); - /** - * Use {@link #getItemsMap()} instead. + * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ + boolean containsItems(java.lang.String key); + /** Use {@link #getItemsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getItems(); + java.util.Map getItems(); /** + * + * *
    * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item. The identifier is unique to each distinct and
@@ -95,11 +136,14 @@ boolean containsItems(
    * version.
    * 
* - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.Map - getItemsMap(); + java.util.Map getItemsMap(); /** + * + * *
    * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item. The identifier is unique to each distinct and
@@ -107,15 +151,19 @@ boolean containsItems(
    * version.
    * 
* - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ /* nullable */ -com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrDefault( + com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.osconfig.v1alpha.Inventory.Item defaultValue); + com.google.cloud.osconfig.v1alpha.Inventory.Item defaultValue); /** + * + * *
    * Output only. Inventory items related to the VM keyed by an opaque unique identifier for
    * each inventory item. The identifier is unique to each distinct and
@@ -123,36 +171,47 @@ com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrDefault(
    * version.
    * 
* - * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - - com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrThrow( - java.lang.String key); + com.google.cloud.osconfig.v1alpha.Inventory.Item getItemsOrThrow(java.lang.String key); /** + * + * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Timestamp of the last reported inventory for the VM.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryView.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryView.java similarity index 67% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryView.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryView.java index 9e57d55e..426868f8 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryView.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InventoryView.java @@ -1,18 +1,36 @@ +/* + * 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/osconfig/v1alpha/inventory.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * The view for inventory objects.
  * 
* * Protobuf enum {@code google.cloud.osconfig.v1alpha.InventoryView} */ -public enum InventoryView - implements com.google.protobuf.ProtocolMessageEnum { +public enum InventoryView implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The default value.
    * The API defaults to the BASIC view.
@@ -22,6 +40,8 @@ public enum InventoryView
    */
   INVENTORY_VIEW_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Returns the basic inventory information that includes `os_info`.
    * 
@@ -30,6 +50,8 @@ public enum InventoryView */ BASIC(1), /** + * + * *
    * Returns all fields.
    * 
@@ -41,6 +63,8 @@ public enum InventoryView ; /** + * + * *
    * The default value.
    * The API defaults to the BASIC view.
@@ -50,6 +74,8 @@ public enum InventoryView
    */
   public static final int INVENTORY_VIEW_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Returns the basic inventory information that includes `os_info`.
    * 
@@ -58,6 +84,8 @@ public enum InventoryView */ public static final int BASIC_VALUE = 1; /** + * + * *
    * Returns all fields.
    * 
@@ -66,7 +94,6 @@ public enum InventoryView */ public static final int FULL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -91,49 +118,49 @@ public static InventoryView valueOf(int value) { */ public static InventoryView forNumber(int value) { switch (value) { - case 0: return INVENTORY_VIEW_UNSPECIFIED; - case 1: return BASIC; - case 2: return FULL; - default: return null; + case 0: + return INVENTORY_VIEW_UNSPECIFIED; + case 1: + return BASIC; + case 2: + return FULL; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - InventoryView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public InventoryView findValueByNumber(int number) { - return InventoryView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public InventoryView findValueByNumber(int number) { + return InventoryView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.osconfig.v1alpha.Inventories.getDescriptor().getEnumTypes().get(0); } private static final InventoryView[] VALUES = values(); - public static InventoryView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static InventoryView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -149,4 +176,3 @@ private InventoryView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1alpha.InventoryView) } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequest.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequest.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequest.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequest.java index 722872ed..a6596847 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequest.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequest.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1alpha/instance_os_policies_compliance.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * A request message for listing OS policies compliance data for all Compute
  * Engine VMs in the given location.
@@ -11,15 +28,19 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest}
  */
-@java.lang.Deprecated public final class ListInstanceOSPoliciesCompliancesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+@java.lang.Deprecated
+public final class ListInstanceOSPoliciesCompliancesRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest)
     ListInstanceOSPoliciesCompliancesRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListInstanceOSPoliciesCompliancesRequest.newBuilder() to construct.
-  private ListInstanceOSPoliciesCompliancesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListInstanceOSPoliciesCompliancesRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListInstanceOSPoliciesCompliancesRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -28,16 +49,15 @@ private ListInstanceOSPoliciesCompliancesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListInstanceOSPoliciesCompliancesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListInstanceOSPoliciesCompliancesRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,36 +76,39 @@ private ListInstanceOSPoliciesCompliancesRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            parent_ = s;
-            break;
-          }
-          case 16: {
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            pageSize_ = input.readInt32();
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              parent_ = s;
+              break;
+            }
+          case 16:
+            {
+              pageSize_ = input.readInt32();
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            pageToken_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              pageToken_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            filter_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              filter_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,29 +116,34 @@ private ListInstanceOSPoliciesCompliancesRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+        .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+        .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.class, com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.Builder.class);
+            com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.class,
+            com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.Builder
+                .class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}`
@@ -123,7 +151,10 @@ private ListInstanceOSPoliciesCompliancesRequest(
    * provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -132,14 +163,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}`
@@ -147,17 +179,18 @@ public java.lang.String getParent() {
    * provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -168,11 +201,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -183,6 +219,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A pagination token returned from a previous call to
    * `ListInstanceOSPoliciesCompliances` that indicates where this listing
@@ -190,6 +228,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -198,14 +237,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A pagination token returned from a previous call to
    * `ListInstanceOSPoliciesCompliances` that indicates where this listing
@@ -213,16 +253,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -233,12 +272,15 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `InstanceOSPoliciesCompliance` API resource to be included in the response.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -247,30 +289,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `InstanceOSPoliciesCompliance` API resource to be included in the response.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -279,6 +321,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -290,8 +333,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -317,8 +359,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -334,21 +375,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest other = (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest other = + (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -373,97 +412,111 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest + 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest + 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest + 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest + 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message for listing OS policies compliance data for all Compute
    * Engine VMs in the given location.
@@ -471,38 +524,41 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest)
       com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+          .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+          .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.class, com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.Builder.class);
+              com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.class,
+              com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.Builder
+                  .class);
     }
 
-    // Construct using com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.newBuilder()
+    // Construct using
+    // com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -518,19 +574,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+          .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest getDefaultInstanceForType() {
-      return com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.getDefaultInstance();
+    public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest build() {
-      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest result = buildPartial();
+      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -538,8 +597,10 @@ public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesReques
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest buildPartial() {
-      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest result = new com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest(this);
+    public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest
+        buildPartial() {
+      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest result =
+          new com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -552,46 +613,52 @@ public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesReques
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest)other);
+      if (other
+          instanceof com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) {
+        return mergeFrom(
+            (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest other) {
-      if (other == com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest other) {
+      if (other
+          == com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest
+              .getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -622,11 +689,14 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parsedMessage = null;
+      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest parsedMessage =
+          null;
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -638,6 +708,8 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}`
@@ -645,14 +717,16 @@ public Builder mergeFrom(
      * provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -661,6 +735,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}`
@@ -668,16 +744,17 @@ public java.lang.String getParent() {
      * provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -685,6 +762,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}`
@@ -692,21 +771,25 @@ public java.lang.String getParent() {
      * provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}`
@@ -714,16 +797,21 @@ public Builder setParent(
      * provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}`
@@ -731,29 +819,34 @@ public Builder clearParent() {
      * provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -761,30 +854,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -792,6 +891,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A pagination token returned from a previous call to
      * `ListInstanceOSPoliciesCompliances` that indicates where this listing
@@ -799,13 +900,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -814,6 +915,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListInstanceOSPoliciesCompliances` that indicates where this listing
@@ -821,15 +924,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -837,6 +939,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListInstanceOSPoliciesCompliances` that indicates where this listing
@@ -844,20 +948,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListInstanceOSPoliciesCompliances` that indicates where this listing
@@ -865,15 +971,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListInstanceOSPoliciesCompliances` that indicates where this listing
@@ -881,16 +990,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -898,19 +1007,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `InstanceOSPoliciesCompliance` API resource to be included in the response.
      * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -919,21 +1030,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `InstanceOSPoliciesCompliance` API resource to be included in the response.
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -941,64 +1053,71 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `InstanceOSPoliciesCompliance` API resource to be included in the response.
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `InstanceOSPoliciesCompliance` API resource to be included in the response.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `InstanceOSPoliciesCompliance` API resource to be included in the response.
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1008,30 +1127,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) - private static final com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest(); } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstanceOSPoliciesCompliancesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstanceOSPoliciesCompliancesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstanceOSPoliciesCompliancesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInstanceOSPoliciesCompliancesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1043,9 +1165,8 @@ public com.google.protobuf.Parser getP } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequestOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequestOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequestOrBuilder.java index 73131292..a03e34a3 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesRequestOrBuilder.java @@ -1,13 +1,32 @@ +/* + * 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/osconfig/v1alpha/instance_os_policies_compliance.proto package com.google.cloud.osconfig.v1alpha; -@java.lang.Deprecated public interface ListInstanceOSPoliciesCompliancesRequestOrBuilder extends +@java.lang.Deprecated +public interface ListInstanceOSPoliciesCompliancesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}`
@@ -15,11 +34,16 @@
    * provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}`
@@ -27,23 +51,30 @@
    * provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A pagination token returned from a previous call to
    * `ListInstanceOSPoliciesCompliances` that indicates where this listing
@@ -51,10 +82,13 @@
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A pagination token returned from a previous call to
    * `ListInstanceOSPoliciesCompliances` that indicates where this listing
@@ -62,30 +96,35 @@
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `InstanceOSPoliciesCompliance` API resource to be included in the response.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `InstanceOSPoliciesCompliance` API resource to be included in the response.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponse.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponse.java similarity index 60% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponse.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponse.java index dcad5014..a1132db7 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponse.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponse.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1alpha/instance_os_policies_compliance.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * A response message for listing OS policies compliance data for all Compute
  * Engine VMs in the given location.
@@ -11,15 +28,19 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse}
  */
-@java.lang.Deprecated public final class ListInstanceOSPoliciesCompliancesResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+@java.lang.Deprecated
+public final class ListInstanceOSPoliciesCompliancesResponse
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse)
     ListInstanceOSPoliciesCompliancesResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListInstanceOSPoliciesCompliancesResponse.newBuilder() to construct.
-  private ListInstanceOSPoliciesCompliancesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListInstanceOSPoliciesCompliancesResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListInstanceOSPoliciesCompliancesResponse() {
     instanceOsPoliciesCompliances_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,16 +48,15 @@ private ListInstanceOSPoliciesCompliancesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListInstanceOSPoliciesCompliancesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListInstanceOSPoliciesCompliancesResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,28 +76,34 @@ private ListInstanceOSPoliciesCompliancesResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              instanceOsPoliciesCompliances_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                instanceOsPoliciesCompliances_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              instanceOsPoliciesCompliances_.add(
+                  input.readMessage(
+                      com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.parser(),
+                      extensionRegistry));
+              break;
             }
-            instanceOsPoliciesCompliances_.add(
-                input.readMessage(com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            nextPageToken_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              nextPageToken_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,98 +111,129 @@ private ListInstanceOSPoliciesCompliancesResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
-        instanceOsPoliciesCompliances_ = java.util.Collections.unmodifiableList(instanceOsPoliciesCompliances_);
+        instanceOsPoliciesCompliances_ =
+            java.util.Collections.unmodifiableList(instanceOsPoliciesCompliances_);
       }
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+        .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+        .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.class, com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.Builder.class);
+            com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.class,
+            com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.Builder
+                .class);
   }
 
   public static final int INSTANCE_OS_POLICIES_COMPLIANCES_FIELD_NUMBER = 1;
-  private java.util.List instanceOsPoliciesCompliances_;
+  private java.util.List
+      instanceOsPoliciesCompliances_;
   /**
+   *
+   *
    * 
    * List of instance OS policies compliance objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ @java.lang.Override - public java.util.List getInstanceOsPoliciesCompliancesList() { + public java.util.List + getInstanceOsPoliciesCompliancesList() { return instanceOsPoliciesCompliances_; } /** + * + * *
    * List of instance OS policies compliance objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder> getInstanceOsPoliciesCompliancesOrBuilderList() { return instanceOsPoliciesCompliances_; } /** + * + * *
    * List of instance OS policies compliance objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ @java.lang.Override public int getInstanceOsPoliciesCompliancesCount() { return instanceOsPoliciesCompliances_.size(); } /** + * + * *
    * List of instance OS policies compliance objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance getInstanceOsPoliciesCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance + getInstanceOsPoliciesCompliances(int index) { return instanceOsPoliciesCompliances_.get(index); } /** + * + * *
    * List of instance OS policies compliance objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder getInstanceOsPoliciesCompliancesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder + getInstanceOsPoliciesCompliancesOrBuilder(int index) { return instanceOsPoliciesCompliances_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The pagination token to retrieve the next page of instance OS policies
    * compliance objects.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -185,30 +242,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * The pagination token to retrieve the next page of instance OS policies
    * compliance objects.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -217,6 +274,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +286,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < instanceOsPoliciesCompliances_.size(); i++) { output.writeMessage(1, instanceOsPoliciesCompliances_.get(i)); } @@ -246,8 +303,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < instanceOsPoliciesCompliances_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, instanceOsPoliciesCompliances_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, instanceOsPoliciesCompliances_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -260,17 +318,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse other = (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse) obj; + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse other = + (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse) obj; if (!getInstanceOsPoliciesCompliancesList() .equals(other.getInstanceOsPoliciesCompliancesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,97 +352,111 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse + 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse + 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse + 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse + 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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response message for listing OS policies compliance data for all Compute
    * Engine VMs in the given location.
@@ -391,39 +464,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse)
       com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+          .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+          .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.class, com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.Builder.class);
+              com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.class,
+              com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.Builder
+                  .class);
     }
 
-    // Construct using com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.newBuilder()
+    // Construct using
+    // com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getInstanceOsPoliciesCompliancesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -439,19 +516,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto.internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceProto
+          .internal_static_google_cloud_osconfig_v1alpha_ListInstanceOSPoliciesCompliancesResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse getDefaultInstanceForType() {
-      return com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.getDefaultInstance();
+    public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse
+        getDefaultInstanceForType() {
+      return com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse build() {
-      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse result = buildPartial();
+      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -459,12 +539,15 @@ public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRespon
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse buildPartial() {
-      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse result = new com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse(this);
+    public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse
+        buildPartial() {
+      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse result =
+          new com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse(this);
       int from_bitField0_ = bitField0_;
       if (instanceOsPoliciesCompliancesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
-          instanceOsPoliciesCompliances_ = java.util.Collections.unmodifiableList(instanceOsPoliciesCompliances_);
+          instanceOsPoliciesCompliances_ =
+              java.util.Collections.unmodifiableList(instanceOsPoliciesCompliances_);
           bitField0_ = (bitField0_ & ~0x00000001);
         }
         result.instanceOsPoliciesCompliances_ = instanceOsPoliciesCompliances_;
@@ -480,46 +563,52 @@ public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRespon
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse)other);
+      if (other
+          instanceof com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse) {
+        return mergeFrom(
+            (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse other) {
-      if (other == com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse other) {
+      if (other
+          == com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse
+              .getDefaultInstance()) return this;
       if (instanceOsPoliciesCompliancesBuilder_ == null) {
         if (!other.instanceOsPoliciesCompliances_.isEmpty()) {
           if (instanceOsPoliciesCompliances_.isEmpty()) {
@@ -538,11 +627,13 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListInstanceOSPolicie
             instanceOsPoliciesCompliancesBuilder_ = null;
             instanceOsPoliciesCompliances_ = other.instanceOsPoliciesCompliances_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            instanceOsPoliciesCompliancesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getInstanceOsPoliciesCompliancesFieldBuilder() : null;
+            instanceOsPoliciesCompliancesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getInstanceOsPoliciesCompliancesFieldBuilder()
+                    : null;
           } else {
-            instanceOsPoliciesCompliancesBuilder_.addAllMessages(other.instanceOsPoliciesCompliances_);
+            instanceOsPoliciesCompliancesBuilder_.addAllMessages(
+                other.instanceOsPoliciesCompliances_);
           }
         }
       }
@@ -565,11 +656,14 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parsedMessage = null;
+      com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse parsedMessage =
+          null;
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -578,28 +672,40 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List instanceOsPoliciesCompliances_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        instanceOsPoliciesCompliances_ = java.util.Collections.emptyList();
+
     private void ensureInstanceOsPoliciesCompliancesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        instanceOsPoliciesCompliances_ = new java.util.ArrayList(instanceOsPoliciesCompliances_);
+        instanceOsPoliciesCompliances_ =
+            new java.util.ArrayList(
+                instanceOsPoliciesCompliances_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder> instanceOsPoliciesCompliancesBuilder_;
+            com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance,
+            com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder,
+            com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder>
+        instanceOsPoliciesCompliancesBuilder_;
 
     /**
+     *
+     *
      * 
      * List of instance OS policies compliance objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ - public java.util.List getInstanceOsPoliciesCompliancesList() { + public java.util.List + getInstanceOsPoliciesCompliancesList() { if (instanceOsPoliciesCompliancesBuilder_ == null) { return java.util.Collections.unmodifiableList(instanceOsPoliciesCompliances_); } else { @@ -607,11 +713,15 @@ public java.util.List * List of instance OS policies compliance objects. *
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ public int getInstanceOsPoliciesCompliancesCount() { if (instanceOsPoliciesCompliancesBuilder_ == null) { @@ -621,13 +731,18 @@ public int getInstanceOsPoliciesCompliancesCount() { } } /** + * + * *
      * List of instance OS policies compliance objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance getInstanceOsPoliciesCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance + getInstanceOsPoliciesCompliances(int index) { if (instanceOsPoliciesCompliancesBuilder_ == null) { return instanceOsPoliciesCompliances_.get(index); } else { @@ -635,11 +750,15 @@ public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance getInstanc } } /** + * + * *
      * List of instance OS policies compliance objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ public Builder setInstanceOsPoliciesCompliances( int index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance value) { @@ -656,14 +775,19 @@ public Builder setInstanceOsPoliciesCompliances( return this; } /** + * + * *
      * List of instance OS policies compliance objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ public Builder setInstanceOsPoliciesCompliances( - int index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder builderForValue) { if (instanceOsPoliciesCompliancesBuilder_ == null) { ensureInstanceOsPoliciesCompliancesIsMutable(); instanceOsPoliciesCompliances_.set(index, builderForValue.build()); @@ -674,13 +798,18 @@ public Builder setInstanceOsPoliciesCompliances( return this; } /** + * + * *
      * List of instance OS policies compliance objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ - public Builder addInstanceOsPoliciesCompliances(com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance value) { + public Builder addInstanceOsPoliciesCompliances( + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance value) { if (instanceOsPoliciesCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,11 +823,15 @@ public Builder addInstanceOsPoliciesCompliances(com.google.cloud.osconfig.v1alph return this; } /** + * + * *
      * List of instance OS policies compliance objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ public Builder addInstanceOsPoliciesCompliances( int index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance value) { @@ -715,11 +848,15 @@ public Builder addInstanceOsPoliciesCompliances( return this; } /** + * + * *
      * List of instance OS policies compliance objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ public Builder addInstanceOsPoliciesCompliances( com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder builderForValue) { @@ -733,14 +870,19 @@ public Builder addInstanceOsPoliciesCompliances( return this; } /** + * + * *
      * List of instance OS policies compliance objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ public Builder addInstanceOsPoliciesCompliances( - int index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder builderForValue) { if (instanceOsPoliciesCompliancesBuilder_ == null) { ensureInstanceOsPoliciesCompliancesIsMutable(); instanceOsPoliciesCompliances_.add(index, builderForValue.build()); @@ -751,14 +893,19 @@ public Builder addInstanceOsPoliciesCompliances( return this; } /** + * + * *
      * List of instance OS policies compliance objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ public Builder addAllInstanceOsPoliciesCompliances( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (instanceOsPoliciesCompliancesBuilder_ == null) { ensureInstanceOsPoliciesCompliancesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -770,11 +917,15 @@ public Builder addAllInstanceOsPoliciesCompliances( return this; } /** + * + * *
      * List of instance OS policies compliance objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ public Builder clearInstanceOsPoliciesCompliances() { if (instanceOsPoliciesCompliancesBuilder_ == null) { @@ -787,11 +938,15 @@ public Builder clearInstanceOsPoliciesCompliances() { return this; } /** + * + * *
      * List of instance OS policies compliance objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ public Builder removeInstanceOsPoliciesCompliances(int index) { if (instanceOsPoliciesCompliancesBuilder_ == null) { @@ -804,39 +959,53 @@ public Builder removeInstanceOsPoliciesCompliances(int index) { return this; } /** + * + * *
      * List of instance OS policies compliance objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder getInstanceOsPoliciesCompliancesBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder + getInstanceOsPoliciesCompliancesBuilder(int index) { return getInstanceOsPoliciesCompliancesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of instance OS policies compliance objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder getInstanceOsPoliciesCompliancesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder + getInstanceOsPoliciesCompliancesOrBuilder(int index) { if (instanceOsPoliciesCompliancesBuilder_ == null) { - return instanceOsPoliciesCompliances_.get(index); } else { + return instanceOsPoliciesCompliances_.get(index); + } else { return instanceOsPoliciesCompliancesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of instance OS policies compliance objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ - public java.util.List - getInstanceOsPoliciesCompliancesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder> + getInstanceOsPoliciesCompliancesOrBuilderList() { if (instanceOsPoliciesCompliancesBuilder_ != null) { return instanceOsPoliciesCompliancesBuilder_.getMessageOrBuilderList(); } else { @@ -844,45 +1013,67 @@ public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder g } } /** + * + * *
      * List of instance OS policies compliance objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder addInstanceOsPoliciesCompliancesBuilder() { - return getInstanceOsPoliciesCompliancesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder + addInstanceOsPoliciesCompliancesBuilder() { + return getInstanceOsPoliciesCompliancesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.getDefaultInstance()); } /** + * + * *
      * List of instance OS policies compliance objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ - public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder addInstanceOsPoliciesCompliancesBuilder( - int index) { - return getInstanceOsPoliciesCompliancesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder + addInstanceOsPoliciesCompliancesBuilder(int index) { + return getInstanceOsPoliciesCompliancesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.getDefaultInstance()); } /** + * + * *
      * List of instance OS policies compliance objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ - public java.util.List - getInstanceOsPoliciesCompliancesBuilderList() { + public java.util.List + getInstanceOsPoliciesCompliancesBuilderList() { return getInstanceOsPoliciesCompliancesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder> + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder> getInstanceOsPoliciesCompliancesFieldBuilder() { if (instanceOsPoliciesCompliancesBuilder_ == null) { - instanceOsPoliciesCompliancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder, com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder>( + instanceOsPoliciesCompliancesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder, + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder>( instanceOsPoliciesCompliances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -894,19 +1085,21 @@ public com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.Builder ad private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The pagination token to retrieve the next page of instance OS policies
      * compliance objects.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -915,21 +1108,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of instance OS policies
      * compliance objects.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -937,64 +1131,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of instance OS policies
      * compliance objects.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of instance OS policies
      * compliance objects.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of instance OS policies
      * compliance objects.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1004,30 +1205,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse) - private static final com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse(); } - public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstanceOSPoliciesCompliancesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInstanceOSPoliciesCompliancesResponse(input, extensionRegistry); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstanceOSPoliciesCompliancesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInstanceOSPoliciesCompliancesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1039,9 +1244,8 @@ public com.google.protobuf.Parser get } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponseOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponseOrBuilder.java similarity index 50% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponseOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponseOrBuilder.java index dd6cc44c..6e5c13ad 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponseOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInstanceOSPoliciesCompliancesResponseOrBuilder.java @@ -1,75 +1,118 @@ +/* + * 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/osconfig/v1alpha/instance_os_policies_compliance.proto package com.google.cloud.osconfig.v1alpha; -@java.lang.Deprecated public interface ListInstanceOSPoliciesCompliancesResponseOrBuilder extends +@java.lang.Deprecated +public interface ListInstanceOSPoliciesCompliancesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of instance OS policies compliance objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ - java.util.List + java.util.List getInstanceOsPoliciesCompliancesList(); /** + * + * *
    * List of instance OS policies compliance objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance getInstanceOsPoliciesCompliances(int index); + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance getInstanceOsPoliciesCompliances( + int index); /** + * + * *
    * List of instance OS policies compliance objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ int getInstanceOsPoliciesCompliancesCount(); /** + * + * *
    * List of instance OS policies compliance objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ - java.util.List + java.util.List getInstanceOsPoliciesCompliancesOrBuilderList(); /** + * + * *
    * List of instance OS policies compliance objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * + * repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1; + * */ - com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder getInstanceOsPoliciesCompliancesOrBuilder( - int index); + com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder + getInstanceOsPoliciesCompliancesOrBuilder(int index); /** + * + * *
    * The pagination token to retrieve the next page of instance OS policies
    * compliance objects.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The pagination token to retrieve the next page of instance OS policies
    * compliance objects.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequest.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequest.java similarity index 71% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequest.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequest.java index 2b01be79..9aa0d61b 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequest.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequest.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1alpha/inventory.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * A request message for listing inventory data for all VMs in the specified
  * location.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.ListInventoriesRequest}
  */
-public final class ListInventoriesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListInventoriesRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListInventoriesRequest)
     ListInventoriesRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListInventoriesRequest.newBuilder() to construct.
   private ListInventoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListInventoriesRequest() {
     parent_ = "";
     view_ = 0;
@@ -29,16 +47,15 @@ private ListInventoriesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListInventoriesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListInventoriesRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,42 +74,46 @@ private ListInventoriesRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            parent_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            view_ = rawValue;
-            break;
-          }
-          case 24: {
+              parent_ = s;
+              break;
+            }
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            pageSize_ = input.readInt32();
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              view_ = rawValue;
+              break;
+            }
+          case 24:
+            {
+              pageSize_ = input.readInt32();
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            pageToken_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              pageToken_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            filter_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              filter_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,36 +121,43 @@ private ListInventoriesRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.Inventories
+        .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.Inventories
+        .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.class, com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.Builder.class);
+            com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.class,
+            com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -138,31 +166,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -173,40 +203,52 @@ public java.lang.String getParent() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; + * * @return The view. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.InventoryView getView() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.InventoryView getView() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.InventoryView result = com.google.cloud.osconfig.v1alpha.InventoryView.valueOf(view_); + com.google.cloud.osconfig.v1alpha.InventoryView result = + com.google.cloud.osconfig.v1alpha.InventoryView.valueOf(view_); return result == null ? com.google.cloud.osconfig.v1alpha.InventoryView.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -217,6 +259,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A pagination token returned from a previous call to
    * `ListInventories` that indicates where this listing
@@ -224,6 +268,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -232,14 +277,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A pagination token returned from a previous call to
    * `ListInventories` that indicates where this listing
@@ -247,16 +293,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -267,12 +312,15 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `Inventory` API resource to be included in the response.
    * 
* * string filter = 5; + * * @return The filter. */ @java.lang.Override @@ -281,30 +329,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `Inventory` API resource to be included in the response.
    * 
* * string filter = 5; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -313,6 +361,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -324,12 +373,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (view_ != com.google.cloud.osconfig.v1alpha.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.osconfig.v1alpha.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } if (pageSize_ != 0) { @@ -353,13 +402,12 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (view_ != com.google.cloud.osconfig.v1alpha.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.cloud.osconfig.v1alpha.InventoryView.INVENTORY_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -375,22 +423,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListInventoriesRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListInventoriesRequest other = (com.google.cloud.osconfig.v1alpha.ListInventoriesRequest) obj; + com.google.cloud.osconfig.v1alpha.ListInventoriesRequest other = + (com.google.cloud.osconfig.v1alpha.ListInventoriesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (view_ != other.view_) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -418,96 +463,104 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest 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.osconfig.v1alpha.ListInventoriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListInventoriesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.ListInventoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message for listing inventory data for all VMs in the specified
    * location.
@@ -515,21 +568,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.ListInventoriesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListInventoriesRequest)
       com.google.cloud.osconfig.v1alpha.ListInventoriesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.Inventories
+          .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.Inventories
+          .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.class, com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.Builder.class);
+              com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.class,
+              com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.newBuilder()
@@ -537,16 +592,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -564,9 +618,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.Inventories
+          .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -585,7 +639,8 @@ public com.google.cloud.osconfig.v1alpha.ListInventoriesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.ListInventoriesRequest buildPartial() {
-      com.google.cloud.osconfig.v1alpha.ListInventoriesRequest result = new com.google.cloud.osconfig.v1alpha.ListInventoriesRequest(this);
+      com.google.cloud.osconfig.v1alpha.ListInventoriesRequest result =
+          new com.google.cloud.osconfig.v1alpha.ListInventoriesRequest(this);
       result.parent_ = parent_;
       result.view_ = view_;
       result.pageSize_ = pageSize_;
@@ -599,38 +654,39 @@ public com.google.cloud.osconfig.v1alpha.ListInventoriesRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.ListInventoriesRequest) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListInventoriesRequest)other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListInventoriesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -638,7 +694,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListInventoriesRequest other) {
-      if (other == com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.osconfig.v1alpha.ListInventoriesRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -676,7 +733,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.osconfig.v1alpha.ListInventoriesRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.osconfig.v1alpha.ListInventoriesRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -688,20 +746,24 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -710,22 +772,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -733,60 +798,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -794,55 +872,69 @@ public Builder setParentBytes( private int view_ = 0; /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; + * * @return The view. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.InventoryView getView() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.InventoryView result = com.google.cloud.osconfig.v1alpha.InventoryView.valueOf(view_); + com.google.cloud.osconfig.v1alpha.InventoryView result = + com.google.cloud.osconfig.v1alpha.InventoryView.valueOf(view_); return result == null ? com.google.cloud.osconfig.v1alpha.InventoryView.UNRECOGNIZED : result; } /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; + * * @param value The view to set. * @return This builder for chaining. */ @@ -850,34 +942,40 @@ public Builder setView(com.google.cloud.osconfig.v1alpha.InventoryView value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Inventory view indicating what information should be included in the
      * inventory resource. If unspecified, the default view is BASIC.
      * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -885,30 +983,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -916,6 +1020,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -923,13 +1029,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -938,6 +1044,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -945,15 +1053,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -961,6 +1068,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -968,20 +1077,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -989,15 +1100,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListInventories` that indicates where this listing
@@ -1005,16 +1119,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1022,19 +1136,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1043,21 +1159,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -1065,64 +1182,71 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `Inventory` API resource to be included in the response.
      * 
* * string filter = 5; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1132,12 +1256,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListInventoriesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListInventoriesRequest) private static final com.google.cloud.osconfig.v1alpha.ListInventoriesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListInventoriesRequest(); } @@ -1146,16 +1270,16 @@ public static com.google.cloud.osconfig.v1alpha.ListInventoriesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInventoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInventoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInventoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInventoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1170,6 +1294,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.ListInventoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequestOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequestOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequestOrBuilder.java index 0d5b04ae..3227bf7e 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesRequestOrBuilder.java @@ -1,68 +1,104 @@ +/* + * 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/osconfig/v1alpha/inventory.proto package com.google.cloud.osconfig.v1alpha; -public interface ListInventoriesRequestOrBuilder extends +public interface ListInventoriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListInventoriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Inventory view indicating what information should be included in the
    * inventory resource. If unspecified, the default view is BASIC.
    * 
* * .google.cloud.osconfig.v1alpha.InventoryView view = 2; + * * @return The view. */ com.google.cloud.osconfig.v1alpha.InventoryView getView(); /** + * + * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A pagination token returned from a previous call to
    * `ListInventories` that indicates where this listing
@@ -70,10 +106,13 @@ public interface ListInventoriesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A pagination token returned from a previous call to
    * `ListInventories` that indicates where this listing
@@ -81,30 +120,35 @@ public interface ListInventoriesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `Inventory` API resource to be included in the response.
    * 
* * string filter = 5; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `Inventory` API resource to be included in the response.
    * 
* * string filter = 5; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponse.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponse.java similarity index 73% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponse.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponse.java index 225d863b..934cee38 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponse.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponse.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1alpha/inventory.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * A response message for listing inventory data for all VMs in a specified
  * location.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.ListInventoriesResponse}
  */
-public final class ListInventoriesResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListInventoriesResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListInventoriesResponse)
     ListInventoriesResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListInventoriesResponse.newBuilder() to construct.
   private ListInventoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListInventoriesResponse() {
     inventories_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,16 +45,15 @@ private ListInventoriesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListInventoriesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListInventoriesResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,28 +73,32 @@ private ListInventoriesResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              inventories_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                inventories_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              inventories_.add(
+                  input.readMessage(
+                      com.google.cloud.osconfig.v1alpha.Inventory.parser(), extensionRegistry));
+              break;
             }
-            inventories_.add(
-                input.readMessage(com.google.cloud.osconfig.v1alpha.Inventory.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            nextPageToken_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              nextPageToken_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,8 +106,7 @@ private ListInventoriesResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         inventories_ = java.util.Collections.unmodifiableList(inventories_);
@@ -95,22 +115,27 @@ private ListInventoriesResponse(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.Inventories
+        .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.Inventories
+        .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.class, com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.Builder.class);
+            com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.class,
+            com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.Builder.class);
   }
 
   public static final int INVENTORIES_FIELD_NUMBER = 1;
   private java.util.List inventories_;
   /**
+   *
+   *
    * 
    * List of inventory objects.
    * 
@@ -122,6 +147,8 @@ public java.util.List getInventorie return inventories_; } /** + * + * *
    * List of inventory objects.
    * 
@@ -129,11 +156,13 @@ public java.util.List getInventorie * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInventoriesOrBuilderList() { return inventories_; } /** + * + * *
    * List of inventory objects.
    * 
@@ -145,6 +174,8 @@ public int getInventoriesCount() { return inventories_.size(); } /** + * + * *
    * List of inventory objects.
    * 
@@ -156,6 +187,8 @@ public com.google.cloud.osconfig.v1alpha.Inventory getInventories(int index) { return inventories_.get(index); } /** + * + * *
    * List of inventory objects.
    * 
@@ -163,19 +196,21 @@ public com.google.cloud.osconfig.v1alpha.Inventory getInventories(int index) { * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.InventoryOrBuilder getInventoriesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.InventoryOrBuilder getInventoriesOrBuilder(int index) { return inventories_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The pagination token to retrieve the next page of inventory objects.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,29 +219,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * The pagination token to retrieve the next page of inventory objects.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -215,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,8 +262,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < inventories_.size(); i++) { output.writeMessage(1, inventories_.get(i)); } @@ -244,8 +279,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < inventories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, inventories_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, inventories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -258,17 +292,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListInventoriesResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListInventoriesResponse other = (com.google.cloud.osconfig.v1alpha.ListInventoriesResponse) obj; + com.google.cloud.osconfig.v1alpha.ListInventoriesResponse other = + (com.google.cloud.osconfig.v1alpha.ListInventoriesResponse) obj; - if (!getInventoriesList() - .equals(other.getInventoriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getInventoriesList().equals(other.getInventoriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -292,96 +325,104 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse 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.osconfig.v1alpha.ListInventoriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListInventoriesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.ListInventoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response message for listing inventory data for all VMs in a specified
    * location.
@@ -389,21 +430,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.ListInventoriesResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListInventoriesResponse)
       com.google.cloud.osconfig.v1alpha.ListInventoriesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.Inventories
+          .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.Inventories
+          .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.class, com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.Builder.class);
+              com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.class,
+              com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.newBuilder()
@@ -411,17 +454,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getInventoriesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -437,9 +480,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.Inventories.internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.Inventories
+          .internal_static_google_cloud_osconfig_v1alpha_ListInventoriesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -458,7 +501,8 @@ public com.google.cloud.osconfig.v1alpha.ListInventoriesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.ListInventoriesResponse buildPartial() {
-      com.google.cloud.osconfig.v1alpha.ListInventoriesResponse result = new com.google.cloud.osconfig.v1alpha.ListInventoriesResponse(this);
+      com.google.cloud.osconfig.v1alpha.ListInventoriesResponse result =
+          new com.google.cloud.osconfig.v1alpha.ListInventoriesResponse(this);
       int from_bitField0_ = bitField0_;
       if (inventoriesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -478,38 +522,39 @@ public com.google.cloud.osconfig.v1alpha.ListInventoriesResponse buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.ListInventoriesResponse) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListInventoriesResponse)other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListInventoriesResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -517,7 +562,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListInventoriesResponse other) {
-      if (other == com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.osconfig.v1alpha.ListInventoriesResponse.getDefaultInstance())
+        return this;
       if (inventoriesBuilder_ == null) {
         if (!other.inventories_.isEmpty()) {
           if (inventories_.isEmpty()) {
@@ -536,9 +582,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListInventoriesRespon
             inventoriesBuilder_ = null;
             inventories_ = other.inventories_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            inventoriesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getInventoriesFieldBuilder() : null;
+            inventoriesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getInventoriesFieldBuilder()
+                    : null;
           } else {
             inventoriesBuilder_.addAllMessages(other.inventories_);
           }
@@ -567,7 +614,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.osconfig.v1alpha.ListInventoriesResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.osconfig.v1alpha.ListInventoriesResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -576,21 +624,29 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List inventories_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureInventoriesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        inventories_ = new java.util.ArrayList(inventories_);
+        inventories_ =
+            new java.util.ArrayList(inventories_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.osconfig.v1alpha.Inventory, com.google.cloud.osconfig.v1alpha.Inventory.Builder, com.google.cloud.osconfig.v1alpha.InventoryOrBuilder> inventoriesBuilder_;
+            com.google.cloud.osconfig.v1alpha.Inventory,
+            com.google.cloud.osconfig.v1alpha.Inventory.Builder,
+            com.google.cloud.osconfig.v1alpha.InventoryOrBuilder>
+        inventoriesBuilder_;
 
     /**
+     *
+     *
      * 
      * List of inventory objects.
      * 
@@ -605,6 +661,8 @@ public java.util.List getInventorie } } /** + * + * *
      * List of inventory objects.
      * 
@@ -619,6 +677,8 @@ public int getInventoriesCount() { } } /** + * + * *
      * List of inventory objects.
      * 
@@ -633,14 +693,15 @@ public com.google.cloud.osconfig.v1alpha.Inventory getInventories(int index) { } } /** + * + * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - public Builder setInventories( - int index, com.google.cloud.osconfig.v1alpha.Inventory value) { + public Builder setInventories(int index, com.google.cloud.osconfig.v1alpha.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +715,8 @@ public Builder setInventories( return this; } /** + * + * *
      * List of inventory objects.
      * 
@@ -672,6 +735,8 @@ public Builder setInventories( return this; } /** + * + * *
      * List of inventory objects.
      * 
@@ -692,14 +757,15 @@ public Builder addInventories(com.google.cloud.osconfig.v1alpha.Inventory value) return this; } /** + * + * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - public Builder addInventories( - int index, com.google.cloud.osconfig.v1alpha.Inventory value) { + public Builder addInventories(int index, com.google.cloud.osconfig.v1alpha.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +779,8 @@ public Builder addInventories( return this; } /** + * + * *
      * List of inventory objects.
      * 
@@ -731,6 +799,8 @@ public Builder addInventories( return this; } /** + * + * *
      * List of inventory objects.
      * 
@@ -749,6 +819,8 @@ public Builder addInventories( return this; } /** + * + * *
      * List of inventory objects.
      * 
@@ -759,8 +831,7 @@ public Builder addAllInventories( java.lang.Iterable values) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, inventories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inventories_); onChanged(); } else { inventoriesBuilder_.addAllMessages(values); @@ -768,6 +839,8 @@ public Builder addAllInventories( return this; } /** + * + * *
      * List of inventory objects.
      * 
@@ -785,6 +858,8 @@ public Builder clearInventories() { return this; } /** + * + * *
      * List of inventory objects.
      * 
@@ -802,39 +877,44 @@ public Builder removeInventories(int index) { return this; } /** + * + * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - public com.google.cloud.osconfig.v1alpha.Inventory.Builder getInventoriesBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.Inventory.Builder getInventoriesBuilder(int index) { return getInventoriesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - public com.google.cloud.osconfig.v1alpha.InventoryOrBuilder getInventoriesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.InventoryOrBuilder getInventoriesOrBuilder(int index) { if (inventoriesBuilder_ == null) { - return inventories_.get(index); } else { + return inventories_.get(index); + } else { return inventoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - public java.util.List - getInventoriesOrBuilderList() { + public java.util.List + getInventoriesOrBuilderList() { if (inventoriesBuilder_ != null) { return inventoriesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +922,8 @@ public com.google.cloud.osconfig.v1alpha.InventoryOrBuilder getInventoriesOrBuil } } /** + * + * *
      * List of inventory objects.
      * 
@@ -849,42 +931,48 @@ public com.google.cloud.osconfig.v1alpha.InventoryOrBuilder getInventoriesOrBuil * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ public com.google.cloud.osconfig.v1alpha.Inventory.Builder addInventoriesBuilder() { - return getInventoriesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.Inventory.getDefaultInstance()); + return getInventoriesFieldBuilder() + .addBuilder(com.google.cloud.osconfig.v1alpha.Inventory.getDefaultInstance()); } /** + * + * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - public com.google.cloud.osconfig.v1alpha.Inventory.Builder addInventoriesBuilder( - int index) { - return getInventoriesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.Inventory.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.Inventory.Builder addInventoriesBuilder(int index) { + return getInventoriesFieldBuilder() + .addBuilder(index, com.google.cloud.osconfig.v1alpha.Inventory.getDefaultInstance()); } /** + * + * *
      * List of inventory objects.
      * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - public java.util.List - getInventoriesBuilderList() { + public java.util.List + getInventoriesBuilderList() { return getInventoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory, com.google.cloud.osconfig.v1alpha.Inventory.Builder, com.google.cloud.osconfig.v1alpha.InventoryOrBuilder> + com.google.cloud.osconfig.v1alpha.Inventory, + com.google.cloud.osconfig.v1alpha.Inventory.Builder, + com.google.cloud.osconfig.v1alpha.InventoryOrBuilder> getInventoriesFieldBuilder() { if (inventoriesBuilder_ == null) { - inventoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.Inventory, com.google.cloud.osconfig.v1alpha.Inventory.Builder, com.google.cloud.osconfig.v1alpha.InventoryOrBuilder>( - inventories_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + inventoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.Inventory, + com.google.cloud.osconfig.v1alpha.Inventory.Builder, + com.google.cloud.osconfig.v1alpha.InventoryOrBuilder>( + inventories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); inventories_ = null; } return inventoriesBuilder_; @@ -892,18 +980,20 @@ public com.google.cloud.osconfig.v1alpha.Inventory.Builder addInventoriesBuilder private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -912,20 +1002,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -933,61 +1024,68 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of inventory objects.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -997,12 +1095,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListInventoriesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListInventoriesResponse) private static final com.google.cloud.osconfig.v1alpha.ListInventoriesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListInventoriesResponse(); } @@ -1011,16 +1109,16 @@ public static com.google.cloud.osconfig.v1alpha.ListInventoriesResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInventoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInventoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInventoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInventoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,6 +1133,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.ListInventoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponseOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponseOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponseOrBuilder.java index 445fa30e..1b440a2c 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponseOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListInventoriesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * 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/osconfig/v1alpha/inventory.proto package com.google.cloud.osconfig.v1alpha; -public interface ListInventoriesResponseOrBuilder extends +public interface ListInventoriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListInventoriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of inventory objects.
    * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - java.util.List - getInventoriesList(); + java.util.List getInventoriesList(); /** + * + * *
    * List of inventory objects.
    * 
@@ -25,6 +44,8 @@ public interface ListInventoriesResponseOrBuilder extends */ com.google.cloud.osconfig.v1alpha.Inventory getInventories(int index); /** + * + * *
    * List of inventory objects.
    * 
@@ -33,41 +54,49 @@ public interface ListInventoriesResponseOrBuilder extends */ int getInventoriesCount(); /** + * + * *
    * List of inventory objects.
    * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - java.util.List + java.util.List getInventoriesOrBuilderList(); /** + * + * *
    * List of inventory objects.
    * 
* * repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1; */ - com.google.cloud.osconfig.v1alpha.InventoryOrBuilder getInventoriesOrBuilder( - int index); + com.google.cloud.osconfig.v1alpha.InventoryOrBuilder getInventoriesOrBuilder(int index); /** + * + * *
    * The pagination token to retrieve the next page of inventory objects.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The pagination token to retrieve the next page of inventory objects.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequest.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequest.java similarity index 73% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequest.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequest.java index 842bebb2..d0a05d15 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequest.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequest.java @@ -1,24 +1,44 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * List the OS policy assignment reports for VM instances.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest} */ -public final class ListOSPolicyAssignmentReportsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListOSPolicyAssignmentReportsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) ListOSPolicyAssignmentReportsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentReportsRequest.newBuilder() to construct. - private ListOSPolicyAssignmentReportsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentReportsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListOSPolicyAssignmentReportsRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +47,15 @@ private ListOSPolicyAssignmentReportsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentReportsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListOSPolicyAssignmentReportsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +74,39 @@ private ListOSPolicyAssignmentReportsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +114,33 @@ private ListOSPolicyAssignmentReportsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.class, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource name.
    * Format:
@@ -136,7 +162,10 @@ private ListOSPolicyAssignmentReportsRequest(
    *  returns all the reports for all assignments across all instances.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -145,14 +174,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource name.
    * Format:
@@ -174,17 +204,18 @@ public java.lang.String getParent() {
    *  returns all the reports for all assignments across all instances.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -195,11 +226,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -210,12 +244,15 @@ public int getPageSize() { public static final int FILTER_FIELD_NUMBER = 3; private volatile java.lang.Object filter_; /** + * + * *
    * If provided, this field specifies the criteria that must be met by the
    * `OSPolicyAssignmentReport` API resource that is included in the response.
    * 
* * string filter = 3; + * * @return The filter. */ @java.lang.Override @@ -224,30 +261,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * If provided, this field specifies the criteria that must be met by the
    * `OSPolicyAssignmentReport` API resource that is included in the response.
    * 
* * string filter = 3; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -258,6 +295,8 @@ public java.lang.String getFilter() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A pagination token returned from a previous call to the
    * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -265,6 +304,7 @@ public java.lang.String getFilter() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -273,14 +313,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A pagination token returned from a previous call to the
    * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -288,16 +329,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -306,6 +346,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -317,8 +358,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -344,8 +384,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); @@ -361,21 +400,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest other = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest other = + (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -401,134 +437,145 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest 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.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest 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.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest + 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.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * List the OS policy assignment reports for VM instances.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.class, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -544,19 +591,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest build() { - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest result = buildPartial(); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -565,7 +615,8 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest bu @java.lang.Override public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest result = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest(this); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest result = + new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.filter_ = filter_; @@ -578,46 +629,51 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest)other); + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest other) { - if (other == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest other) { + if (other + == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -652,7 +708,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -664,6 +722,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource name.
      * Format:
@@ -685,14 +745,16 @@ public Builder mergeFrom(
      *  returns all the reports for all assignments across all instances.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -701,6 +763,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name.
      * Format:
@@ -722,16 +786,17 @@ public java.lang.String getParent() {
      *  returns all the reports for all assignments across all instances.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -739,6 +804,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name.
      * Format:
@@ -760,21 +827,25 @@ public java.lang.String getParent() {
      *  returns all the reports for all assignments across all instances.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource name.
      * Format:
@@ -796,16 +867,21 @@ public Builder setParent(
      *  returns all the reports for all assignments across all instances.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource name.
      * Format:
@@ -827,29 +903,34 @@ public Builder clearParent() {
      *  returns all the reports for all assignments across all instances.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -857,30 +938,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -888,19 +975,21 @@ public Builder clearPageSize() { private java.lang.Object filter_ = ""; /** + * + * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -909,21 +998,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -931,57 +1021,64 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * If provided, this field specifies the criteria that must be met by the
      * `OSPolicyAssignmentReport` API resource that is included in the response.
      * 
* * string filter = 3; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -989,6 +1086,8 @@ public Builder setFilterBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -996,13 +1095,13 @@ public Builder setFilterBytes(
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1011,6 +1110,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -1018,15 +1119,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1034,6 +1134,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -1041,20 +1143,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -1062,15 +1166,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to the
      * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -1078,23 +1185,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1104,30 +1211,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) - private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest(); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentReportsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentReportsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentReportsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentReportsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1139,9 +1248,8 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequestOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequestOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequestOrBuilder.java index 4757deca..4448d307 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1alpha; -public interface ListOSPolicyAssignmentReportsRequestOrBuilder extends +public interface ListOSPolicyAssignmentReportsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource name.
    * Format:
@@ -29,11 +47,16 @@ public interface ListOSPolicyAssignmentReportsRequestOrBuilder extends
    *  returns all the reports for all assignments across all instances.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource name.
    * Format:
@@ -55,45 +78,57 @@ public interface ListOSPolicyAssignmentReportsRequestOrBuilder extends
    *  returns all the reports for all assignments across all instances.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If provided, this field specifies the criteria that must be met by the
    * `OSPolicyAssignmentReport` API resource that is included in the response.
    * 
* * string filter = 3; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * If provided, this field specifies the criteria that must be met by the
    * `OSPolicyAssignmentReport` API resource that is included in the response.
    * 
* * string filter = 3; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * A pagination token returned from a previous call to the
    * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -101,10 +136,13 @@ public interface ListOSPolicyAssignmentReportsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A pagination token returned from a previous call to the
    * `ListOSPolicyAssignmentReports` method that indicates where this listing
@@ -112,8 +150,8 @@ public interface ListOSPolicyAssignmentReportsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponse.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponse.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponse.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponse.java index d8a9123f..115da118 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponse.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponse.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * A response message for listing OS Policy assignment reports including the
  * page of results and page token.
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse}
  */
-public final class ListOSPolicyAssignmentReportsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListOSPolicyAssignmentReportsResponse
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse)
     ListOSPolicyAssignmentReportsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListOSPolicyAssignmentReportsResponse.newBuilder() to construct.
-  private ListOSPolicyAssignmentReportsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListOSPolicyAssignmentReportsResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListOSPolicyAssignmentReportsResponse() {
     osPolicyAssignmentReports_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,16 +47,15 @@ private ListOSPolicyAssignmentReportsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListOSPolicyAssignmentReportsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListOSPolicyAssignmentReportsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,28 +75,34 @@ private ListOSPolicyAssignmentReportsResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              osPolicyAssignmentReports_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                osPolicyAssignmentReports_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              osPolicyAssignmentReports_.add(
+                  input.readMessage(
+                      com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.parser(),
+                      extensionRegistry));
+              break;
             }
-            osPolicyAssignmentReports_.add(
-                input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            nextPageToken_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              nextPageToken_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,98 +110,128 @@ private ListOSPolicyAssignmentReportsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
-        osPolicyAssignmentReports_ = java.util.Collections.unmodifiableList(osPolicyAssignmentReports_);
+        osPolicyAssignmentReports_ =
+            java.util.Collections.unmodifiableList(osPolicyAssignmentReports_);
       }
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto
+        .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto
+        .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.Builder.class);
+            com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.class,
+            com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.Builder.class);
   }
 
   public static final int OS_POLICY_ASSIGNMENT_REPORTS_FIELD_NUMBER = 1;
-  private java.util.List osPolicyAssignmentReports_;
+  private java.util.List
+      osPolicyAssignmentReports_;
   /**
+   *
+   *
    * 
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ @java.lang.Override - public java.util.List getOsPolicyAssignmentReportsList() { + public java.util.List + getOsPolicyAssignmentReportsList() { return osPolicyAssignmentReports_; } /** + * + * *
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder> getOsPolicyAssignmentReportsOrBuilderList() { return osPolicyAssignmentReports_; } /** + * + * *
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ @java.lang.Override public int getOsPolicyAssignmentReportsCount() { return osPolicyAssignmentReports_.size(); } /** + * + * *
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getOsPolicyAssignmentReports(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getOsPolicyAssignmentReports( + int index) { return osPolicyAssignmentReports_.get(index); } /** + * + * *
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder getOsPolicyAssignmentReportsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder + getOsPolicyAssignmentReportsOrBuilder(int index) { return osPolicyAssignmentReports_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignment
    * report objects.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -185,30 +240,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignment
    * report objects.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -217,6 +272,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +284,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < osPolicyAssignmentReports_.size(); i++) { output.writeMessage(1, osPolicyAssignmentReports_.get(i)); } @@ -246,8 +301,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < osPolicyAssignmentReports_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, osPolicyAssignmentReports_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, osPolicyAssignmentReports_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -260,17 +316,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse other = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse) obj; + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse other = + (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse) obj; - if (!getOsPolicyAssignmentReportsList() - .equals(other.getOsPolicyAssignmentReportsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getOsPolicyAssignmentReportsList().equals(other.getOsPolicyAssignmentReportsList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -294,96 +350,105 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse 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.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse 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.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse + 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.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response message for listing OS Policy assignment reports including the
    * page of results and page token.
@@ -391,39 +456,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse)
       com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto
+          .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto
+          .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.Builder.class);
+              com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.class,
+              com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.Builder
+                  .class);
     }
 
-    // Construct using com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.newBuilder()
+    // Construct using
+    // com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getOsPolicyAssignmentReportsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -439,19 +508,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto
+          .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse getDefaultInstanceForType() {
-      return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.getDefaultInstance();
+    public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse
+        getDefaultInstanceForType() {
+      return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse build() {
-      com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse result = buildPartial();
+      com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -460,11 +532,13 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse b
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse buildPartial() {
-      com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse result = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse(this);
+      com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse result =
+          new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse(this);
       int from_bitField0_ = bitField0_;
       if (osPolicyAssignmentReportsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
-          osPolicyAssignmentReports_ = java.util.Collections.unmodifiableList(osPolicyAssignmentReports_);
+          osPolicyAssignmentReports_ =
+              java.util.Collections.unmodifiableList(osPolicyAssignmentReports_);
           bitField0_ = (bitField0_ & ~0x00000001);
         }
         result.osPolicyAssignmentReports_ = osPolicyAssignmentReports_;
@@ -480,46 +554,52 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse b
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse)other);
+      if (other
+          instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse) {
+        return mergeFrom(
+            (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse other) {
-      if (other == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse other) {
+      if (other
+          == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse
+              .getDefaultInstance()) return this;
       if (osPolicyAssignmentReportsBuilder_ == null) {
         if (!other.osPolicyAssignmentReports_.isEmpty()) {
           if (osPolicyAssignmentReports_.isEmpty()) {
@@ -538,9 +618,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmen
             osPolicyAssignmentReportsBuilder_ = null;
             osPolicyAssignmentReports_ = other.osPolicyAssignmentReports_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            osPolicyAssignmentReportsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getOsPolicyAssignmentReportsFieldBuilder() : null;
+            osPolicyAssignmentReportsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getOsPolicyAssignmentReportsFieldBuilder()
+                    : null;
           } else {
             osPolicyAssignmentReportsBuilder_.addAllMessages(other.osPolicyAssignmentReports_);
           }
@@ -569,7 +650,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -578,28 +661,40 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List osPolicyAssignmentReports_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        osPolicyAssignmentReports_ = java.util.Collections.emptyList();
+
     private void ensureOsPolicyAssignmentReportsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        osPolicyAssignmentReports_ = new java.util.ArrayList(osPolicyAssignmentReports_);
+        osPolicyAssignmentReports_ =
+            new java.util.ArrayList(
+                osPolicyAssignmentReports_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder> osPolicyAssignmentReportsBuilder_;
+            com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport,
+            com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder,
+            com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder>
+        osPolicyAssignmentReportsBuilder_;
 
     /**
+     *
+     *
      * 
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - public java.util.List getOsPolicyAssignmentReportsList() { + public java.util.List + getOsPolicyAssignmentReportsList() { if (osPolicyAssignmentReportsBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyAssignmentReports_); } else { @@ -607,11 +702,15 @@ public java.util.List * List of OS policy assignment reports. *
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ public int getOsPolicyAssignmentReportsCount() { if (osPolicyAssignmentReportsBuilder_ == null) { @@ -621,13 +720,18 @@ public int getOsPolicyAssignmentReportsCount() { } } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getOsPolicyAssignmentReports(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getOsPolicyAssignmentReports( + int index) { if (osPolicyAssignmentReportsBuilder_ == null) { return osPolicyAssignmentReports_.get(index); } else { @@ -635,11 +739,15 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getOsPolicyAss } } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ public Builder setOsPolicyAssignmentReports( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport value) { @@ -656,14 +764,19 @@ public Builder setOsPolicyAssignmentReports( return this; } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ public Builder setOsPolicyAssignmentReports( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder builderForValue) { if (osPolicyAssignmentReportsBuilder_ == null) { ensureOsPolicyAssignmentReportsIsMutable(); osPolicyAssignmentReports_.set(index, builderForValue.build()); @@ -674,13 +787,18 @@ public Builder setOsPolicyAssignmentReports( return this; } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - public Builder addOsPolicyAssignmentReports(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport value) { + public Builder addOsPolicyAssignmentReports( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport value) { if (osPolicyAssignmentReportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,11 +812,15 @@ public Builder addOsPolicyAssignmentReports(com.google.cloud.osconfig.v1alpha.OS return this; } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ public Builder addOsPolicyAssignmentReports( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport value) { @@ -715,11 +837,15 @@ public Builder addOsPolicyAssignmentReports( return this; } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ public Builder addOsPolicyAssignmentReports( com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder builderForValue) { @@ -733,14 +859,19 @@ public Builder addOsPolicyAssignmentReports( return this; } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ public Builder addOsPolicyAssignmentReports( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder builderForValue) { if (osPolicyAssignmentReportsBuilder_ == null) { ensureOsPolicyAssignmentReportsIsMutable(); osPolicyAssignmentReports_.add(index, builderForValue.build()); @@ -751,18 +882,22 @@ public Builder addOsPolicyAssignmentReports( return this; } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ public Builder addAllOsPolicyAssignmentReports( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (osPolicyAssignmentReportsBuilder_ == null) { ensureOsPolicyAssignmentReportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, osPolicyAssignmentReports_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicyAssignmentReports_); onChanged(); } else { osPolicyAssignmentReportsBuilder_.addAllMessages(values); @@ -770,11 +905,15 @@ public Builder addAllOsPolicyAssignmentReports( return this; } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ public Builder clearOsPolicyAssignmentReports() { if (osPolicyAssignmentReportsBuilder_ == null) { @@ -787,11 +926,15 @@ public Builder clearOsPolicyAssignmentReports() { return this; } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ public Builder removeOsPolicyAssignmentReports(int index) { if (osPolicyAssignmentReportsBuilder_ == null) { @@ -804,39 +947,53 @@ public Builder removeOsPolicyAssignmentReports(int index) { return this; } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder getOsPolicyAssignmentReportsBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder + getOsPolicyAssignmentReportsBuilder(int index) { return getOsPolicyAssignmentReportsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder getOsPolicyAssignmentReportsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder + getOsPolicyAssignmentReportsOrBuilder(int index) { if (osPolicyAssignmentReportsBuilder_ == null) { - return osPolicyAssignmentReports_.get(index); } else { + return osPolicyAssignmentReports_.get(index); + } else { return osPolicyAssignmentReportsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - public java.util.List - getOsPolicyAssignmentReportsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder> + getOsPolicyAssignmentReportsOrBuilderList() { if (osPolicyAssignmentReportsBuilder_ != null) { return osPolicyAssignmentReportsBuilder_.getMessageOrBuilderList(); } else { @@ -844,45 +1001,67 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder getOs } } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder addOsPolicyAssignmentReportsBuilder() { - return getOsPolicyAssignmentReportsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder + addOsPolicyAssignmentReportsBuilder() { + return getOsPolicyAssignmentReportsFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.getDefaultInstance()); } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder addOsPolicyAssignmentReportsBuilder( - int index) { - return getOsPolicyAssignmentReportsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder + addOsPolicyAssignmentReportsBuilder(int index) { + return getOsPolicyAssignmentReportsFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.getDefaultInstance()); } /** + * + * *
      * List of OS policy assignment reports.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - public java.util.List - getOsPolicyAssignmentReportsBuilderList() { + public java.util.List + getOsPolicyAssignmentReportsBuilderList() { return getOsPolicyAssignmentReportsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder> getOsPolicyAssignmentReportsFieldBuilder() { if (osPolicyAssignmentReportsBuilder_ == null) { - osPolicyAssignmentReportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder>( + osPolicyAssignmentReportsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder>( osPolicyAssignmentReports_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -894,19 +1073,21 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder addOsP private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -915,21 +1096,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -937,64 +1119,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * report objects.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1004,30 +1193,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse) - private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse(); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentReportsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentReportsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentReportsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentReportsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1039,9 +1231,8 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponseOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponseOrBuilder.java similarity index 50% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponseOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponseOrBuilder.java index 7f975446..e5555186 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponseOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentReportsResponseOrBuilder.java @@ -1,75 +1,117 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1alpha; -public interface ListOSPolicyAssignmentReportsResponseOrBuilder extends +public interface ListOSPolicyAssignmentReportsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - java.util.List + java.util.List getOsPolicyAssignmentReportsList(); /** + * + * *
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getOsPolicyAssignmentReports(int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getOsPolicyAssignmentReports( + int index); /** + * + * *
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ int getOsPolicyAssignmentReportsCount(); /** + * + * *
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - java.util.List + java.util.List getOsPolicyAssignmentReportsOrBuilderList(); /** + * + * *
    * List of OS policy assignment reports.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport os_policy_assignment_reports = 1; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder getOsPolicyAssignmentReportsOrBuilder( - int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder + getOsPolicyAssignmentReportsOrBuilder(int index); /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignment
    * report objects.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignment
    * report objects.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequest.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequest.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequest.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequest.java index 80501c30..13ee8c4e 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequest.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequest.java @@ -1,24 +1,44 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * A request message to list revisions for a OS policy assignment
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest} */ -public final class ListOSPolicyAssignmentRevisionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListOSPolicyAssignmentRevisionsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) ListOSPolicyAssignmentRevisionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentRevisionsRequest.newBuilder() to construct. - private ListOSPolicyAssignmentRevisionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentRevisionsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListOSPolicyAssignmentRevisionsRequest() { name_ = ""; pageToken_ = ""; @@ -26,16 +46,15 @@ private ListOSPolicyAssignmentRevisionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentRevisionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListOSPolicyAssignmentRevisionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +73,32 @@ private ListOSPolicyAssignmentRevisionsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +106,41 @@ private ListOSPolicyAssignmentRevisionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.class, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the OS policy assignment to list revisions for.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -121,29 +149,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the OS policy assignment to list revisions for.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -154,11 +184,14 @@ public java.lang.String getName() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of revisions to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,6 +202,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -176,6 +211,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -184,14 +220,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -199,16 +236,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -217,6 +253,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -252,8 +288,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -266,19 +301,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest other = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) obj; + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest other = + (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getName().equals(other.getName())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -302,134 +336,146 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest 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.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest 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.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest + 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.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message to list revisions for a OS policy assignment
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.class, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -443,19 +489,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest build() { - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest result = buildPartial(); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -464,7 +513,8 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest @java.lang.Override public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest result = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest(this); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest result = + new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -476,46 +526,52 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest)other); + if (other + instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest other) { - if (other == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest other) { + if (other + == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -546,7 +602,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -558,18 +616,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -578,20 +640,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -599,66 +664,82 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the OS policy assignment to list revisions for.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of revisions to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -666,30 +747,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of revisions to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of revisions to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -697,6 +784,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -704,13 +793,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -719,6 +808,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -726,15 +817,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -742,6 +832,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -749,20 +841,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -770,15 +864,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -786,23 +883,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -812,30 +909,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) - private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest(); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentRevisionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentRevisionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentRevisionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentRevisionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -847,9 +947,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java index 78754eb7..ad5f77e3 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsRequestOrBuilder.java @@ -1,43 +1,73 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; -public interface ListOSPolicyAssignmentRevisionsRequestOrBuilder extends +public interface ListOSPolicyAssignmentRevisionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the OS policy assignment to list revisions for.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the OS policy assignment to list revisions for.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The maximum number of revisions to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -45,10 +75,13 @@ public interface ListOSPolicyAssignmentRevisionsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignmentRevisions` that indicates where this listing should
@@ -56,8 +89,8 @@ public interface ListOSPolicyAssignmentRevisionsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponse.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponse.java similarity index 67% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponse.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponse.java index 3c140ed6..78f20eec 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponse.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponse.java @@ -1,24 +1,44 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * A response message for listing all revisions for a OS policy assignment.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse} */ -public final class ListOSPolicyAssignmentRevisionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListOSPolicyAssignmentRevisionsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) ListOSPolicyAssignmentRevisionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentRevisionsResponse.newBuilder() to construct. - private ListOSPolicyAssignmentRevisionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentRevisionsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListOSPolicyAssignmentRevisionsResponse() { osPolicyAssignments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +46,15 @@ private ListOSPolicyAssignmentRevisionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentRevisionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListOSPolicyAssignmentRevisionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +74,33 @@ private ListOSPolicyAssignmentRevisionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyAssignments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + osPolicyAssignments_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + osPolicyAssignments_.add( + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.parser(), + extensionRegistry)); + break; } - osPolicyAssignments_.add( - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +108,7 @@ private ListOSPolicyAssignmentRevisionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { osPolicyAssignments_ = java.util.Collections.unmodifiableList(osPolicyAssignments_); @@ -94,88 +117,111 @@ private ListOSPolicyAssignmentRevisionsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.Builder.class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.class, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.Builder + .class); } public static final int OS_POLICY_ASSIGNMENTS_FIELD_NUMBER = 1; private java.util.List osPolicyAssignments_; /** + * + * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ @java.lang.Override - public java.util.List getOsPolicyAssignmentsList() { + public java.util.List + getOsPolicyAssignmentsList() { return osPolicyAssignments_; } /** + * + * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getOsPolicyAssignmentsOrBuilderList() { return osPolicyAssignments_; } /** + * + * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ @java.lang.Override public int getOsPolicyAssignmentsCount() { return osPolicyAssignments_.size(); } /** + * + * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignments(int index) { return osPolicyAssignments_.get(index); } /** + * + * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder + getOsPolicyAssignmentsOrBuilder(int index) { return osPolicyAssignments_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignment
    * revisions.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +230,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignment
    * revisions.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +262,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +274,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < osPolicyAssignments_.size(); i++) { output.writeMessage(1, osPolicyAssignments_.get(i)); } @@ -245,8 +291,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < osPolicyAssignments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, osPolicyAssignments_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, osPolicyAssignments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +305,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse other = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) obj; + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse other = + (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) obj; - if (!getOsPolicyAssignmentsList() - .equals(other.getOsPolicyAssignmentsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getOsPolicyAssignmentsList().equals(other.getOsPolicyAssignmentsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +339,148 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse 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.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse 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.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse + 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.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response message for listing all revisions for a OS policy assignment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.Builder.class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.class, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getOsPolicyAssignmentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,19 +496,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse build() { - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse result = buildPartial(); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -457,8 +519,10 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse buildPartial() { - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse result = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse(this); + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse + buildPartial() { + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse result = + new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse(this); int from_bitField0_ = bitField0_; if (osPolicyAssignmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +542,52 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse)other); + if (other + instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse other) { - if (other == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse other) { + if (other + == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse + .getDefaultInstance()) return this; if (osPolicyAssignmentsBuilder_ == null) { if (!other.osPolicyAssignments_.isEmpty()) { if (osPolicyAssignments_.isEmpty()) { @@ -536,9 +606,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmen osPolicyAssignmentsBuilder_ = null; osPolicyAssignments_ = other.osPolicyAssignments_; bitField0_ = (bitField0_ & ~0x00000001); - osPolicyAssignmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOsPolicyAssignmentsFieldBuilder() : null; + osPolicyAssignmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOsPolicyAssignmentsFieldBuilder() + : null; } else { osPolicyAssignmentsBuilder_.addAllMessages(other.osPolicyAssignments_); } @@ -563,11 +634,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parsedMessage = null; + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +650,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List osPolicyAssignments_ = - java.util.Collections.emptyList(); + private java.util.List + osPolicyAssignments_ = java.util.Collections.emptyList(); + private void ensureOsPolicyAssignmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyAssignments_ = new java.util.ArrayList(osPolicyAssignments_); + osPolicyAssignments_ = + new java.util.ArrayList( + osPolicyAssignments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> osPolicyAssignmentsBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> + osPolicyAssignmentsBuilder_; /** + * + * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - public java.util.List getOsPolicyAssignmentsList() { + public java.util.List + getOsPolicyAssignmentsList() { if (osPolicyAssignmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyAssignments_); } else { @@ -605,11 +690,14 @@ public java.util.List getO } } /** + * + * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public int getOsPolicyAssignmentsCount() { if (osPolicyAssignmentsBuilder_ == null) { @@ -619,11 +707,14 @@ public int getOsPolicyAssignmentsCount() { } } /** + * + * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignments(int index) { if (osPolicyAssignmentsBuilder_ == null) { @@ -633,11 +724,14 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignmen } } /** + * + * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public Builder setOsPolicyAssignments( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { @@ -654,11 +748,14 @@ public Builder setOsPolicyAssignments( return this; } /** + * + * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public Builder setOsPolicyAssignments( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder builderForValue) { @@ -672,13 +769,17 @@ public Builder setOsPolicyAssignments( return this; } /** + * + * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - public Builder addOsPolicyAssignments(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { + public Builder addOsPolicyAssignments( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { if (osPolicyAssignmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,11 +793,14 @@ public Builder addOsPolicyAssignments(com.google.cloud.osconfig.v1alpha.OSPolicy return this; } /** + * + * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public Builder addOsPolicyAssignments( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { @@ -713,11 +817,14 @@ public Builder addOsPolicyAssignments( return this; } /** + * + * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public Builder addOsPolicyAssignments( com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder builderForValue) { @@ -731,11 +838,14 @@ public Builder addOsPolicyAssignments( return this; } /** + * + * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public Builder addOsPolicyAssignments( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder builderForValue) { @@ -749,18 +859,20 @@ public Builder addOsPolicyAssignments( return this; } /** + * + * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public Builder addAllOsPolicyAssignments( java.lang.Iterable values) { if (osPolicyAssignmentsBuilder_ == null) { ensureOsPolicyAssignmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, osPolicyAssignments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicyAssignments_); onChanged(); } else { osPolicyAssignmentsBuilder_.addAllMessages(values); @@ -768,11 +880,14 @@ public Builder addAllOsPolicyAssignments( return this; } /** + * + * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public Builder clearOsPolicyAssignments() { if (osPolicyAssignmentsBuilder_ == null) { @@ -785,11 +900,14 @@ public Builder clearOsPolicyAssignments() { return this; } /** + * + * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public Builder removeOsPolicyAssignments(int index) { if (osPolicyAssignmentsBuilder_ == null) { @@ -802,39 +920,49 @@ public Builder removeOsPolicyAssignments(int index) { return this; } /** + * + * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder getOsPolicyAssignmentsBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder + getOsPolicyAssignmentsBuilder(int index) { return getOsPolicyAssignmentsFieldBuilder().getBuilder(index); } /** + * + * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder + getOsPolicyAssignmentsOrBuilder(int index) { if (osPolicyAssignmentsBuilder_ == null) { - return osPolicyAssignments_.get(index); } else { + return osPolicyAssignments_.get(index); + } else { return osPolicyAssignmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - public java.util.List - getOsPolicyAssignmentsOrBuilderList() { + public java.util.List + getOsPolicyAssignmentsOrBuilderList() { if (osPolicyAssignmentsBuilder_ != null) { return osPolicyAssignmentsBuilder_.getMessageOrBuilderList(); } else { @@ -842,45 +970,62 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicy } } /** + * + * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder() { - return getOsPolicyAssignmentsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder + addOsPolicyAssignmentsBuilder() { + return getOsPolicyAssignmentsFieldBuilder() + .addBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance()); } /** + * + * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder( - int index) { - return getOsPolicyAssignmentsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder + addOsPolicyAssignmentsBuilder(int index) { + return getOsPolicyAssignmentsFieldBuilder() + .addBuilder( + index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance()); } /** + * + * *
      * The OS policy assignment revisions
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - public java.util.List - getOsPolicyAssignmentsBuilderList() { + public java.util.List + getOsPolicyAssignmentsBuilderList() { return getOsPolicyAssignmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentsFieldBuilder() { if (osPolicyAssignmentsBuilder_ == null) { - osPolicyAssignmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder>( + osPolicyAssignmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder>( osPolicyAssignments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -892,19 +1037,21 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder addOsPolicyA private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1060,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1083,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignment
      * revisions.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1157,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) - private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse(); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentRevisionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentRevisionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentRevisionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentRevisionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1195,8 @@ public com.google.protobuf.Parser getPa } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java similarity index 65% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java index 6f9c5d5a..718d1f58 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentRevisionsResponseOrBuilder.java @@ -1,75 +1,110 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; -public interface ListOSPolicyAssignmentRevisionsResponseOrBuilder extends +public interface ListOSPolicyAssignmentRevisionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - java.util.List - getOsPolicyAssignmentsList(); + java.util.List getOsPolicyAssignmentsList(); /** + * + * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignments(int index); /** + * + * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ int getOsPolicyAssignmentsCount(); /** + * + * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - java.util.List + java.util.List getOsPolicyAssignmentsOrBuilderList(); /** + * + * *
    * The OS policy assignment revisions
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder( int index); /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignment
    * revisions.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignment
    * revisions.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequest.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequest.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequest.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequest.java index f3051528..01deebc8 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequest.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequest.java @@ -1,24 +1,43 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * A request message to list OS policy assignments for a parent resource
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest} */ -public final class ListOSPolicyAssignmentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListOSPolicyAssignmentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) ListOSPolicyAssignmentsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentsRequest.newBuilder() to construct. - private ListOSPolicyAssignmentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListOSPolicyAssignmentsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +45,15 @@ private ListOSPolicyAssignmentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListOSPolicyAssignmentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +72,32 @@ private ListOSPolicyAssignmentsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +105,41 @@ private ListOSPolicyAssignmentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.class, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -121,29 +148,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -154,11 +183,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of assignments to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,6 +201,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -176,6 +210,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -184,14 +219,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -199,16 +235,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -217,6 +252,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +264,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -252,8 +287,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -266,19 +300,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest other = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) obj; + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest other = + (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -302,117 +334,127 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest 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.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message to list OS policy assignments for a parent resource
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.class, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.newBuilder() @@ -420,16 +462,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -443,13 +484,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.getDefaultInstance(); } @@ -464,7 +506,8 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest build() @java.lang.Override public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest result = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest(this); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest result = + new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -476,46 +519,50 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest other) { - if (other == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest other) { + if (other + == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -546,7 +593,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -558,18 +607,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource name.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -578,20 +631,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -599,66 +655,82 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource name.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource name.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of assignments to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -666,30 +738,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of assignments to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of assignments to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -697,6 +775,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -704,13 +784,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -719,6 +799,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -726,15 +808,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -742,6 +823,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -749,20 +832,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -770,15 +855,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -786,23 +874,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -812,30 +900,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) - private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest(); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -847,9 +937,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequestOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequestOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequestOrBuilder.java index 8b986339..7ba3f5e3 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsRequestOrBuilder.java @@ -1,43 +1,73 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; -public interface ListOSPolicyAssignmentsRequestOrBuilder extends +public interface ListOSPolicyAssignmentsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource name.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of assignments to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -45,10 +75,13 @@ public interface ListOSPolicyAssignmentsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A pagination token returned from a previous call to
    * `ListOSPolicyAssignments` that indicates where this listing should continue
@@ -56,8 +89,8 @@ public interface ListOSPolicyAssignmentsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponse.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponse.java similarity index 69% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponse.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponse.java index e23acbf9..7bdd74fd 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponse.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponse.java @@ -1,24 +1,43 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * A response message for listing all assignments under given parent.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse} */ -public final class ListOSPolicyAssignmentsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListOSPolicyAssignmentsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) ListOSPolicyAssignmentsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListOSPolicyAssignmentsResponse.newBuilder() to construct. - private ListOSPolicyAssignmentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOSPolicyAssignmentsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListOSPolicyAssignmentsResponse() { osPolicyAssignments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +45,15 @@ private ListOSPolicyAssignmentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListOSPolicyAssignmentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListOSPolicyAssignmentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +73,33 @@ private ListOSPolicyAssignmentsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyAssignments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + osPolicyAssignments_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + osPolicyAssignments_.add( + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.parser(), + extensionRegistry)); + break; } - osPolicyAssignments_.add( - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private ListOSPolicyAssignmentsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { osPolicyAssignments_ = java.util.Collections.unmodifiableList(osPolicyAssignments_); @@ -94,87 +116,109 @@ private ListOSPolicyAssignmentsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.Builder.class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.class, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.Builder.class); } public static final int OS_POLICY_ASSIGNMENTS_FIELD_NUMBER = 1; private java.util.List osPolicyAssignments_; /** + * + * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ @java.lang.Override - public java.util.List getOsPolicyAssignmentsList() { + public java.util.List + getOsPolicyAssignmentsList() { return osPolicyAssignments_; } /** + * + * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getOsPolicyAssignmentsOrBuilderList() { return osPolicyAssignments_; } /** + * + * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ @java.lang.Override public int getOsPolicyAssignmentsCount() { return osPolicyAssignments_.size(); } /** + * + * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignments(int index) { return osPolicyAssignments_.get(index); } /** + * + * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder + getOsPolicyAssignmentsOrBuilder(int index) { return osPolicyAssignments_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignments.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -183,29 +227,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignments.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -214,6 +258,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < osPolicyAssignments_.size(); i++) { output.writeMessage(1, osPolicyAssignments_.get(i)); } @@ -243,8 +287,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < osPolicyAssignments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, osPolicyAssignments_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, osPolicyAssignments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,17 +301,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse other = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) obj; + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse other = + (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) obj; - if (!getOsPolicyAssignmentsList() - .equals(other.getOsPolicyAssignmentsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getOsPolicyAssignmentsList().equals(other.getOsPolicyAssignmentsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,135 +334,147 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse 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.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse 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.osconfig.v1alpha.ListOSPolicyAssignmentsResponse + 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.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response message for listing all assignments under given parent.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.class, com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.Builder.class); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.class, + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getOsPolicyAssignmentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,13 +490,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.getDefaultInstance(); } @@ -456,7 +512,8 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse build() @java.lang.Override public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse buildPartial() { - com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse result = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse(this); + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse result = + new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse(this); int from_bitField0_ = bitField0_; if (osPolicyAssignmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,46 +533,50 @@ public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse)other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse other) { - if (other == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse other) { + if (other + == com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse.getDefaultInstance()) + return this; if (osPolicyAssignmentsBuilder_ == null) { if (!other.osPolicyAssignments_.isEmpty()) { if (osPolicyAssignments_.isEmpty()) { @@ -534,9 +595,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmen osPolicyAssignmentsBuilder_ = null; osPolicyAssignments_ = other.osPolicyAssignments_; bitField0_ = (bitField0_ & ~0x00000001); - osPolicyAssignmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOsPolicyAssignmentsFieldBuilder() : null; + osPolicyAssignmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOsPolicyAssignmentsFieldBuilder() + : null; } else { osPolicyAssignmentsBuilder_.addAllMessages(other.osPolicyAssignments_); } @@ -565,7 +627,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,28 +638,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List osPolicyAssignments_ = - java.util.Collections.emptyList(); + private java.util.List + osPolicyAssignments_ = java.util.Collections.emptyList(); + private void ensureOsPolicyAssignmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyAssignments_ = new java.util.ArrayList(osPolicyAssignments_); + osPolicyAssignments_ = + new java.util.ArrayList( + osPolicyAssignments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> osPolicyAssignmentsBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> + osPolicyAssignmentsBuilder_; /** + * + * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - public java.util.List getOsPolicyAssignmentsList() { + public java.util.List + getOsPolicyAssignmentsList() { if (osPolicyAssignmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyAssignments_); } else { @@ -603,11 +678,14 @@ public java.util.List getO } } /** + * + * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public int getOsPolicyAssignmentsCount() { if (osPolicyAssignmentsBuilder_ == null) { @@ -617,11 +695,14 @@ public int getOsPolicyAssignmentsCount() { } } /** + * + * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignments(int index) { if (osPolicyAssignmentsBuilder_ == null) { @@ -631,11 +712,14 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignmen } } /** + * + * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public Builder setOsPolicyAssignments( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { @@ -652,11 +736,14 @@ public Builder setOsPolicyAssignments( return this; } /** + * + * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public Builder setOsPolicyAssignments( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder builderForValue) { @@ -670,13 +757,17 @@ public Builder setOsPolicyAssignments( return this; } /** + * + * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - public Builder addOsPolicyAssignments(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { + public Builder addOsPolicyAssignments( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { if (osPolicyAssignmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -690,11 +781,14 @@ public Builder addOsPolicyAssignments(com.google.cloud.osconfig.v1alpha.OSPolicy return this; } /** + * + * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public Builder addOsPolicyAssignments( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { @@ -711,11 +805,14 @@ public Builder addOsPolicyAssignments( return this; } /** + * + * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public Builder addOsPolicyAssignments( com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder builderForValue) { @@ -729,11 +826,14 @@ public Builder addOsPolicyAssignments( return this; } /** + * + * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public Builder addOsPolicyAssignments( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder builderForValue) { @@ -747,18 +847,20 @@ public Builder addOsPolicyAssignments( return this; } /** + * + * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public Builder addAllOsPolicyAssignments( java.lang.Iterable values) { if (osPolicyAssignmentsBuilder_ == null) { ensureOsPolicyAssignmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, osPolicyAssignments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicyAssignments_); onChanged(); } else { osPolicyAssignmentsBuilder_.addAllMessages(values); @@ -766,11 +868,14 @@ public Builder addAllOsPolicyAssignments( return this; } /** + * + * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public Builder clearOsPolicyAssignments() { if (osPolicyAssignmentsBuilder_ == null) { @@ -783,11 +888,14 @@ public Builder clearOsPolicyAssignments() { return this; } /** + * + * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ public Builder removeOsPolicyAssignments(int index) { if (osPolicyAssignmentsBuilder_ == null) { @@ -800,39 +908,49 @@ public Builder removeOsPolicyAssignments(int index) { return this; } /** + * + * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder getOsPolicyAssignmentsBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder + getOsPolicyAssignmentsBuilder(int index) { return getOsPolicyAssignmentsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder + getOsPolicyAssignmentsOrBuilder(int index) { if (osPolicyAssignmentsBuilder_ == null) { - return osPolicyAssignments_.get(index); } else { + return osPolicyAssignments_.get(index); + } else { return osPolicyAssignmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - public java.util.List - getOsPolicyAssignmentsOrBuilderList() { + public java.util.List + getOsPolicyAssignmentsOrBuilderList() { if (osPolicyAssignmentsBuilder_ != null) { return osPolicyAssignmentsBuilder_.getMessageOrBuilderList(); } else { @@ -840,45 +958,62 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicy } } /** + * + * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder() { - return getOsPolicyAssignmentsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder + addOsPolicyAssignmentsBuilder() { + return getOsPolicyAssignmentsFieldBuilder() + .addBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance()); } /** + * + * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder( - int index) { - return getOsPolicyAssignmentsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder + addOsPolicyAssignmentsBuilder(int index) { + return getOsPolicyAssignmentsFieldBuilder() + .addBuilder( + index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance()); } /** + * + * *
      * The list of assignments
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - public java.util.List - getOsPolicyAssignmentsBuilderList() { + public java.util.List + getOsPolicyAssignmentsBuilderList() { return getOsPolicyAssignmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentsFieldBuilder() { if (osPolicyAssignmentsBuilder_ == null) { - osPolicyAssignmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder>( + osPolicyAssignmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder>( osPolicyAssignments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -890,18 +1025,20 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder addOsPolicyA private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -910,20 +1047,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -931,61 +1069,68 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of OS policy assignments.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -995,30 +1140,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) - private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse(); } - public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOSPolicyAssignmentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOSPolicyAssignmentsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOSPolicyAssignmentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOSPolicyAssignmentsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,9 +1177,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponseOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponseOrBuilder.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponseOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponseOrBuilder.java index 23faf884..faf4743f 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponseOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListOSPolicyAssignmentsResponseOrBuilder.java @@ -1,73 +1,108 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; -public interface ListOSPolicyAssignmentsResponseOrBuilder extends +public interface ListOSPolicyAssignmentsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - java.util.List - getOsPolicyAssignmentsList(); + java.util.List getOsPolicyAssignmentsList(); /** + * + * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignments(int index); /** + * + * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ int getOsPolicyAssignmentsCount(); /** + * + * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ - java.util.List + java.util.List getOsPolicyAssignmentsOrBuilderList(); /** + * + * *
    * The list of assignments
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1; + * */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder( int index); /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignments.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The pagination token to retrieve the next page of OS policy assignments.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequest.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequest.java similarity index 68% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequest.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequest.java index b5f19921..a3da8187 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequest.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequest.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * A request message for listing vulnerability reports for all VM instances in
  * the specified location.
@@ -11,15 +28,17 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest}
  */
-public final class ListVulnerabilityReportsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListVulnerabilityReportsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest)
     ListVulnerabilityReportsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListVulnerabilityReportsRequest.newBuilder() to construct.
-  private ListVulnerabilityReportsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListVulnerabilityReportsRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListVulnerabilityReportsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -28,16 +47,15 @@ private ListVulnerabilityReportsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListVulnerabilityReportsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListVulnerabilityReportsRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,36 +74,39 @@ private ListVulnerabilityReportsRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            parent_ = s;
-            break;
-          }
-          case 16: {
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            pageSize_ = input.readInt32();
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              parent_ = s;
+              break;
+            }
+          case 16:
+            {
+              pageSize_ = input.readInt32();
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            pageToken_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              pageToken_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            filter_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              filter_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,36 +114,43 @@ private ListVulnerabilityReportsRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+        .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+        .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.class, com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.Builder.class);
+            com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.class,
+            com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -131,31 +159,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -166,11 +196,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -181,6 +214,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A pagination token returned from a previous call to
    * `ListVulnerabilityReports` that indicates where this listing
@@ -188,6 +223,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -196,14 +232,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A pagination token returned from a previous call to
    * `ListVulnerabilityReports` that indicates where this listing
@@ -211,16 +248,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -231,12 +267,15 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `vulnerabilityReport` API resource to be included in the response.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -245,30 +284,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `vulnerabilityReport` API resource to be included in the response.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -277,6 +316,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -288,8 +328,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -315,8 +354,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -332,21 +370,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest other = (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest other = + (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -372,96 +407,105 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest 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.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest 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.osconfig.v1alpha.ListVulnerabilityReportsRequest + 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.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message for listing vulnerability reports for all VM instances in
    * the specified location.
@@ -469,38 +513,40 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest)
       com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.class, com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.Builder.class);
+              com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.class,
+              com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.newBuilder()
+    // Construct using
+    // com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -516,13 +562,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest getDefaultInstanceForType() {
+    public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.getDefaultInstance();
     }
 
@@ -537,7 +584,8 @@ public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest build()
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest buildPartial() {
-      com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest result = new com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest(this);
+      com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest result =
+          new com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -550,46 +598,50 @@ public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest buildPa
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.ListVulnerabilityReportsRequest) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest)other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest other) {
-      if (other == com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest other) {
+      if (other
+          == com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -624,7 +676,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -636,20 +690,24 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -658,22 +716,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -681,72 +742,88 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource name.
      * Format: `projects/{project}/locations/{location}/instances/-`
      * For `{project}`, either `project-number` or `project-id` can be provided.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -754,30 +831,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -785,6 +868,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -792,13 +877,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -807,6 +892,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -814,15 +901,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -830,6 +916,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -837,20 +925,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -858,15 +948,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A pagination token returned from a previous call to
      * `ListVulnerabilityReports` that indicates where this listing
@@ -874,16 +967,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -891,19 +984,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -912,21 +1007,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -934,64 +1030,71 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * If provided, this field specifies the criteria that must be met by a
      * `vulnerabilityReport` API resource to be included in the response.
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1001,30 +1104,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest) - private static final com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest(); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVulnerabilityReportsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVulnerabilityReportsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVulnerabilityReportsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVulnerabilityReportsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1036,9 +1141,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequestOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequestOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequestOrBuilder.java index 885b2bdc..80ab8cd3 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsRequestOrBuilder.java @@ -1,47 +1,77 @@ +/* + * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; -public interface ListVulnerabilityReportsRequestOrBuilder extends +public interface ListVulnerabilityReportsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource name.
    * Format: `projects/{project}/locations/{location}/instances/-`
    * For `{project}`, either `project-number` or `project-id` can be provided.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A pagination token returned from a previous call to
    * `ListVulnerabilityReports` that indicates where this listing
@@ -49,10 +79,13 @@ public interface ListVulnerabilityReportsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A pagination token returned from a previous call to
    * `ListVulnerabilityReports` that indicates where this listing
@@ -60,30 +93,35 @@ public interface ListVulnerabilityReportsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `vulnerabilityReport` API resource to be included in the response.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * If provided, this field specifies the criteria that must be met by a
    * `vulnerabilityReport` API resource to be included in the response.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponse.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponse.java similarity index 68% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponse.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponse.java index 12f88a22..e570e0eb 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponse.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponse.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * A response message for listing vulnerability reports for all VM instances in
  * the specified location.
@@ -11,15 +28,17 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse}
  */
-public final class ListVulnerabilityReportsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListVulnerabilityReportsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse)
     ListVulnerabilityReportsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListVulnerabilityReportsResponse.newBuilder() to construct.
-  private ListVulnerabilityReportsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListVulnerabilityReportsResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListVulnerabilityReportsResponse() {
     vulnerabilityReports_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,16 +46,15 @@ private ListVulnerabilityReportsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListVulnerabilityReportsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListVulnerabilityReportsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,28 +74,34 @@ private ListVulnerabilityReportsResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              vulnerabilityReports_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                vulnerabilityReports_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.osconfig.v1alpha.VulnerabilityReport>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              vulnerabilityReports_.add(
+                  input.readMessage(
+                      com.google.cloud.osconfig.v1alpha.VulnerabilityReport.parser(),
+                      extensionRegistry));
+              break;
             }
-            vulnerabilityReports_.add(
-                input.readMessage(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            nextPageToken_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              nextPageToken_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,8 +109,7 @@ private ListVulnerabilityReportsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         vulnerabilityReports_ = java.util.Collections.unmodifiableList(vulnerabilityReports_);
@@ -95,88 +118,111 @@ private ListVulnerabilityReportsResponse(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+        .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+        .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.class, com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.Builder.class);
+            com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.class,
+            com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.Builder.class);
   }
 
   public static final int VULNERABILITY_REPORTS_FIELD_NUMBER = 1;
-  private java.util.List vulnerabilityReports_;
+  private java.util.List
+      vulnerabilityReports_;
   /**
+   *
+   *
    * 
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ @java.lang.Override - public java.util.List getVulnerabilityReportsList() { + public java.util.List + getVulnerabilityReportsList() { return vulnerabilityReports_; } /** + * + * *
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getVulnerabilityReportsOrBuilderList() { return vulnerabilityReports_; } /** + * + * *
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ @java.lang.Override public int getVulnerabilityReportsCount() { return vulnerabilityReports_.size(); } /** + * + * *
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.VulnerabilityReport getVulnerabilityReports(int index) { return vulnerabilityReports_.get(index); } /** + * + * *
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder getVulnerabilityReportsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder + getVulnerabilityReportsOrBuilder(int index) { return vulnerabilityReports_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The pagination token to retrieve the next page of vulnerabilityReports
    * object.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -185,30 +231,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * The pagination token to retrieve the next page of vulnerabilityReports
    * object.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -217,6 +263,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +275,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < vulnerabilityReports_.size(); i++) { output.writeMessage(1, vulnerabilityReports_.get(i)); } @@ -246,8 +292,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < vulnerabilityReports_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, vulnerabilityReports_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, vulnerabilityReports_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -260,17 +306,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse other = (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse) obj; + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse other = + (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse) obj; - if (!getVulnerabilityReportsList() - .equals(other.getVulnerabilityReportsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getVulnerabilityReportsList().equals(other.getVulnerabilityReportsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -294,96 +339,105 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse 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.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse 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.osconfig.v1alpha.ListVulnerabilityReportsResponse + 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.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response message for listing vulnerability reports for all VM instances in
    * the specified location.
@@ -391,39 +445,42 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse)
       com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.class, com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.Builder.class);
+              com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.class,
+              com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.Builder.class);
     }
 
-    // Construct using com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.newBuilder()
+    // Construct using
+    // com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getVulnerabilityReportsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -439,14 +496,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse getDefaultInstanceForType() {
-      return com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.getDefaultInstance();
+    public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse
+        getDefaultInstanceForType() {
+      return com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -460,7 +519,8 @@ public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse build(
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse buildPartial() {
-      com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse result = new com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse(this);
+      com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse result =
+          new com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse(this);
       int from_bitField0_ = bitField0_;
       if (vulnerabilityReportsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -480,46 +540,51 @@ public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse buildP
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.ListVulnerabilityReportsResponse) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse)other);
+        return mergeFrom(
+            (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse other) {
-      if (other == com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse other) {
+      if (other
+          == com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse
+              .getDefaultInstance()) return this;
       if (vulnerabilityReportsBuilder_ == null) {
         if (!other.vulnerabilityReports_.isEmpty()) {
           if (vulnerabilityReports_.isEmpty()) {
@@ -538,9 +603,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.ListVulnerabilityRepo
             vulnerabilityReportsBuilder_ = null;
             vulnerabilityReports_ = other.vulnerabilityReports_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            vulnerabilityReportsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getVulnerabilityReportsFieldBuilder() : null;
+            vulnerabilityReportsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getVulnerabilityReportsFieldBuilder()
+                    : null;
           } else {
             vulnerabilityReportsBuilder_.addAllMessages(other.vulnerabilityReports_);
           }
@@ -569,7 +635,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -578,28 +646,39 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List vulnerabilityReports_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        vulnerabilityReports_ = java.util.Collections.emptyList();
+
     private void ensureVulnerabilityReportsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        vulnerabilityReports_ = new java.util.ArrayList(vulnerabilityReports_);
+        vulnerabilityReports_ =
+            new java.util.ArrayList(
+                vulnerabilityReports_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.osconfig.v1alpha.VulnerabilityReport, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder> vulnerabilityReportsBuilder_;
+            com.google.cloud.osconfig.v1alpha.VulnerabilityReport,
+            com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder,
+            com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder>
+        vulnerabilityReportsBuilder_;
 
     /**
+     *
+     *
      * 
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ - public java.util.List getVulnerabilityReportsList() { + public java.util.List + getVulnerabilityReportsList() { if (vulnerabilityReportsBuilder_ == null) { return java.util.Collections.unmodifiableList(vulnerabilityReports_); } else { @@ -607,11 +686,14 @@ public java.util.List get } } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ public int getVulnerabilityReportsCount() { if (vulnerabilityReportsBuilder_ == null) { @@ -621,13 +703,17 @@ public int getVulnerabilityReportsCount() { } } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport getVulnerabilityReports(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport getVulnerabilityReports( + int index) { if (vulnerabilityReportsBuilder_ == null) { return vulnerabilityReports_.get(index); } else { @@ -635,11 +721,14 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport getVulnerabilityRep } } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ public Builder setVulnerabilityReports( int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport value) { @@ -656,11 +745,14 @@ public Builder setVulnerabilityReports( return this; } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ public Builder setVulnerabilityReports( int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder builderForValue) { @@ -674,13 +766,17 @@ public Builder setVulnerabilityReports( return this; } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ - public Builder addVulnerabilityReports(com.google.cloud.osconfig.v1alpha.VulnerabilityReport value) { + public Builder addVulnerabilityReports( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport value) { if (vulnerabilityReportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,11 +790,14 @@ public Builder addVulnerabilityReports(com.google.cloud.osconfig.v1alpha.Vulnera return this; } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ public Builder addVulnerabilityReports( int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport value) { @@ -715,11 +814,14 @@ public Builder addVulnerabilityReports( return this; } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ public Builder addVulnerabilityReports( com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder builderForValue) { @@ -733,11 +835,14 @@ public Builder addVulnerabilityReports( return this; } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ public Builder addVulnerabilityReports( int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder builderForValue) { @@ -751,18 +856,21 @@ public Builder addVulnerabilityReports( return this; } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ public Builder addAllVulnerabilityReports( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (vulnerabilityReportsBuilder_ == null) { ensureVulnerabilityReportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, vulnerabilityReports_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vulnerabilityReports_); onChanged(); } else { vulnerabilityReportsBuilder_.addAllMessages(values); @@ -770,11 +878,14 @@ public Builder addAllVulnerabilityReports( return this; } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ public Builder clearVulnerabilityReports() { if (vulnerabilityReportsBuilder_ == null) { @@ -787,11 +898,14 @@ public Builder clearVulnerabilityReports() { return this; } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ public Builder removeVulnerabilityReports(int index) { if (vulnerabilityReportsBuilder_ == null) { @@ -804,39 +918,49 @@ public Builder removeVulnerabilityReports(int index) { return this; } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder getVulnerabilityReportsBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder + getVulnerabilityReportsBuilder(int index) { return getVulnerabilityReportsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder getVulnerabilityReportsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder + getVulnerabilityReportsOrBuilder(int index) { if (vulnerabilityReportsBuilder_ == null) { - return vulnerabilityReports_.get(index); } else { + return vulnerabilityReports_.get(index); + } else { return vulnerabilityReportsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ - public java.util.List - getVulnerabilityReportsOrBuilderList() { + public java.util.List + getVulnerabilityReportsOrBuilderList() { if (vulnerabilityReportsBuilder_ != null) { return vulnerabilityReportsBuilder_.getMessageOrBuilderList(); } else { @@ -844,45 +968,62 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder getVulnera } } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder addVulnerabilityReportsBuilder() { - return getVulnerabilityReportsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder + addVulnerabilityReportsBuilder() { + return getVulnerabilityReportsFieldBuilder() + .addBuilder(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.getDefaultInstance()); } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder addVulnerabilityReportsBuilder( - int index) { - return getVulnerabilityReportsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder + addVulnerabilityReportsBuilder(int index) { + return getVulnerabilityReportsFieldBuilder() + .addBuilder( + index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.getDefaultInstance()); } /** + * + * *
      * List of vulnerabilityReport objects.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ - public java.util.List - getVulnerabilityReportsBuilderList() { + public java.util.List + getVulnerabilityReportsBuilderList() { return getVulnerabilityReportsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder> + com.google.cloud.osconfig.v1alpha.VulnerabilityReport, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder, + com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder> getVulnerabilityReportsFieldBuilder() { if (vulnerabilityReportsBuilder_ == null) { - vulnerabilityReportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder>( + vulnerabilityReportsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder, + com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder>( vulnerabilityReports_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -894,19 +1035,21 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder addVulnerab private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -915,21 +1058,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -937,64 +1081,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page of vulnerabilityReports
      * object.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1004,30 +1155,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse) - private static final com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse(); } - public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVulnerabilityReportsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVulnerabilityReportsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVulnerabilityReportsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVulnerabilityReportsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1039,9 +1192,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponseOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponseOrBuilder.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponseOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponseOrBuilder.java index 37ac5886..b1c5f534 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponseOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ListVulnerabilityReportsResponseOrBuilder.java @@ -1,75 +1,111 @@ +/* + * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; -public interface ListVulnerabilityReportsResponseOrBuilder extends +public interface ListVulnerabilityReportsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ - java.util.List + java.util.List getVulnerabilityReportsList(); /** + * + * *
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ com.google.cloud.osconfig.v1alpha.VulnerabilityReport getVulnerabilityReports(int index); /** + * + * *
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ int getVulnerabilityReportsCount(); /** + * + * *
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ - java.util.List + java.util.List getVulnerabilityReportsOrBuilderList(); /** + * + * *
    * List of vulnerabilityReport objects.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1; + * */ com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder getVulnerabilityReportsOrBuilder( int index); /** + * + * *
    * The pagination token to retrieve the next page of vulnerabilityReports
    * object.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The pagination token to retrieve the next page of vulnerabilityReports
    * object.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/LocationName.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/LocationName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/LocationName.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/LocationName.java diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicy.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicy.java similarity index 67% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicy.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicy.java index 535b7d30..3c1f327e 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicy.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicy.java @@ -1,24 +1,42 @@ +/* + * 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/osconfig/v1alpha/os_policy.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * An OS policy defines the desired state configuration for a VM.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy} */ -public final class OSPolicy extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OSPolicy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy) OSPolicyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSPolicy.newBuilder() to construct. private OSPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OSPolicy() { id_ = ""; description_ = ""; @@ -28,16 +46,15 @@ private OSPolicy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OSPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OSPolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,45 +74,53 @@ private OSPolicy( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - id_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); + id_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - mode_ = rawValue; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - resourceGroups_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + description_ = s; + break; } - resourceGroups_.add( - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.parser(), extensionRegistry)); - break; - } - case 40: { + case 24: + { + int rawValue = input.readEnum(); - allowNoResourceGroupMatch_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + mode_ = rawValue; + break; + } + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + resourceGroups_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup>(); + mutable_bitField0_ |= 0x00000001; + } + resourceGroups_.add( + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.parser(), + extensionRegistry)); + break; + } + case 40: + { + allowNoResourceGroupMatch_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,8 +128,7 @@ private OSPolicy( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { resourceGroups_ = java.util.Collections.unmodifiableList(resourceGroups_); @@ -113,29 +137,35 @@ private OSPolicy( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Builder.class); } /** + * + * *
    * Policy mode
    * 
* * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicy.Mode} */ - public enum Mode - implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Invalid mode
      * 
@@ -144,6 +174,8 @@ public enum Mode */ MODE_UNSPECIFIED(0), /** + * + * *
      * This mode checks if the configuration resources in the policy are in
      * their desired state. No actions are performed if they are not in the
@@ -154,6 +186,8 @@ public enum Mode
      */
     VALIDATION(1),
     /**
+     *
+     *
      * 
      * This mode checks if the configuration resources in the policy are in
      * their desired state, and if not, enforces the desired state.
@@ -166,6 +200,8 @@ public enum Mode
     ;
 
     /**
+     *
+     *
      * 
      * Invalid mode
      * 
@@ -174,6 +210,8 @@ public enum Mode */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * This mode checks if the configuration resources in the policy are in
      * their desired state. No actions are performed if they are not in the
@@ -184,6 +222,8 @@ public enum Mode
      */
     public static final int VALIDATION_VALUE = 1;
     /**
+     *
+     *
      * 
      * This mode checks if the configuration resources in the policy are in
      * their desired state, and if not, enforces the desired state.
@@ -193,7 +233,6 @@ public enum Mode
      */
     public static final int ENFORCEMENT_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -218,49 +257,49 @@ public static Mode valueOf(int value) {
      */
     public static Mode forNumber(int value) {
       switch (value) {
-        case 0: return MODE_UNSPECIFIED;
-        case 1: return VALIDATION;
-        case 2: return ENFORCEMENT;
-        default: return null;
+        case 0:
+          return MODE_UNSPECIFIED;
+        case 1:
+          return VALIDATION;
+        case 2:
+          return ENFORCEMENT;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Mode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Mode findValueByNumber(int number) {
-              return Mode.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Mode findValueByNumber(int number) {
+            return Mode.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.osconfig.v1alpha.OSPolicy.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Mode[] VALUES = values();
 
-    public static Mode valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -277,33 +316,41 @@ private Mode(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1alpha.OSPolicy.Mode)
   }
 
-  public interface OSFilterOrBuilder extends
+  public interface OSFilterOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.OSFilter)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * This should match OS short name emitted by the OS inventory agent.
      * An empty value matches any OS.
      * 
* * string os_short_name = 1; + * * @return The osShortName. */ java.lang.String getOsShortName(); /** + * + * *
      * This should match OS short name emitted by the OS inventory agent.
      * An empty value matches any OS.
      * 
* * string os_short_name = 1; + * * @return The bytes for osShortName. */ - com.google.protobuf.ByteString - getOsShortNameBytes(); + com.google.protobuf.ByteString getOsShortNameBytes(); /** + * + * *
      * This value should match the version emitted by the OS inventory
      * agent.
@@ -313,10 +360,13 @@ public interface OSFilterOrBuilder extends
      * 
* * string os_version = 2; + * * @return The osVersion. */ java.lang.String getOsVersion(); /** + * + * *
      * This value should match the version emitted by the OS inventory
      * agent.
@@ -326,27 +376,30 @@ public interface OSFilterOrBuilder extends
      * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ - com.google.protobuf.ByteString - getOsVersionBytes(); + com.google.protobuf.ByteString getOsVersionBytes(); } /** + * + * *
    * Filtering criteria to select VMs based on OS details.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.OSFilter} */ - public static final class OSFilter extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class OSFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.OSFilter) OSFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSFilter.newBuilder() to construct. private OSFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OSFilter() { osShortName_ = ""; osVersion_ = ""; @@ -354,16 +407,15 @@ private OSFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OSFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OSFilter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -382,25 +434,27 @@ private OSFilter( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - osShortName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + osShortName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - osVersion_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + osVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -408,35 +462,40 @@ private OSFilter( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.class, com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder.class); } public static final int OS_SHORT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object osShortName_; /** + * + * *
      * This should match OS short name emitted by the OS inventory agent.
      * An empty value matches any OS.
      * 
* * string os_short_name = 1; + * * @return The osShortName. */ @java.lang.Override @@ -445,30 +504,30 @@ public java.lang.String getOsShortName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; } } /** + * + * *
      * This should match OS short name emitted by the OS inventory agent.
      * An empty value matches any OS.
      * 
* * string os_short_name = 1; + * * @return The bytes for osShortName. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsShortNameBytes() { + public com.google.protobuf.ByteString getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osShortName_ = b; return b; } else { @@ -479,6 +538,8 @@ public java.lang.String getOsShortName() { public static final int OS_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object osVersion_; /** + * + * *
      * This value should match the version emitted by the OS inventory
      * agent.
@@ -488,6 +549,7 @@ public java.lang.String getOsShortName() {
      * 
* * string os_version = 2; + * * @return The osVersion. */ @java.lang.Override @@ -496,14 +558,15 @@ public java.lang.String getOsVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; } } /** + * + * *
      * This value should match the version emitted by the OS inventory
      * agent.
@@ -513,16 +576,15 @@ public java.lang.String getOsVersion() {
      * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsVersionBytes() { + public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osVersion_ = b; return b; } else { @@ -531,6 +593,7 @@ public java.lang.String getOsVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -542,8 +605,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osShortName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osShortName_); } @@ -573,17 +635,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter other = (com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter) obj; - if (!getOsShortName() - .equals(other.getOsShortName())) return false; - if (!getOsVersion() - .equals(other.getOsVersion())) return false; + if (!getOsShortName().equals(other.getOsShortName())) return false; + if (!getOsVersion().equals(other.getOsVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -605,87 +666,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter 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.osconfig.v1alpha.OSPolicy.OSFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -695,27 +763,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Filtering criteria to select VMs based on OS details.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.OSFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.OSFilter) com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.class, com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.newBuilder() @@ -723,16 +796,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -744,9 +816,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor; } @java.lang.Override @@ -765,7 +837,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter result = new com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter(this); + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter result = + new com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter(this); result.osShortName_ = osShortName_; result.osVersion_ = osVersion_; onBuilt(); @@ -776,38 +849,41 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.OSFilter) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter)other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter) other); } else { super.mergeFrom(other); return this; @@ -815,7 +891,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.getDefaultInstance()) + return this; if (!other.getOsShortName().isEmpty()) { osShortName_ = other.osShortName_; onChanged(); @@ -843,7 +920,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -855,19 +933,21 @@ public Builder mergeFrom( private java.lang.Object osShortName_ = ""; /** + * + * *
        * This should match OS short name emitted by the OS inventory agent.
        * An empty value matches any OS.
        * 
* * string os_short_name = 1; + * * @return The osShortName. */ public java.lang.String getOsShortName() { java.lang.Object ref = osShortName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; @@ -876,21 +956,22 @@ public java.lang.String getOsShortName() { } } /** + * + * *
        * This should match OS short name emitted by the OS inventory agent.
        * An empty value matches any OS.
        * 
* * string os_short_name = 1; + * * @return The bytes for osShortName. */ - public com.google.protobuf.ByteString - getOsShortNameBytes() { + public com.google.protobuf.ByteString getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osShortName_ = b; return b; } else { @@ -898,57 +979,64 @@ public java.lang.String getOsShortName() { } } /** + * + * *
        * This should match OS short name emitted by the OS inventory agent.
        * An empty value matches any OS.
        * 
* * string os_short_name = 1; + * * @param value The osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortName( - java.lang.String value) { + public Builder setOsShortName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osShortName_ = value; onChanged(); return this; } /** + * + * *
        * This should match OS short name emitted by the OS inventory agent.
        * An empty value matches any OS.
        * 
* * string os_short_name = 1; + * * @return This builder for chaining. */ public Builder clearOsShortName() { - + osShortName_ = getDefaultInstance().getOsShortName(); onChanged(); return this; } /** + * + * *
        * This should match OS short name emitted by the OS inventory agent.
        * An empty value matches any OS.
        * 
* * string os_short_name = 1; + * * @param value The bytes for osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortNameBytes( - com.google.protobuf.ByteString value) { + public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osShortName_ = value; onChanged(); return this; @@ -956,6 +1044,8 @@ public Builder setOsShortNameBytes( private java.lang.Object osVersion_ = ""; /** + * + * *
        * This value should match the version emitted by the OS inventory
        * agent.
@@ -965,13 +1055,13 @@ public Builder setOsShortNameBytes(
        * 
* * string os_version = 2; + * * @return The osVersion. */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; @@ -980,6 +1070,8 @@ public java.lang.String getOsVersion() { } } /** + * + * *
        * This value should match the version emitted by the OS inventory
        * agent.
@@ -989,15 +1081,14 @@ public java.lang.String getOsVersion() {
        * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ - public com.google.protobuf.ByteString - getOsVersionBytes() { + public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osVersion_ = b; return b; } else { @@ -1005,6 +1096,8 @@ public java.lang.String getOsVersion() { } } /** + * + * *
        * This value should match the version emitted by the OS inventory
        * agent.
@@ -1014,20 +1107,22 @@ public java.lang.String getOsVersion() {
        * 
* * string os_version = 2; + * * @param value The osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersion( - java.lang.String value) { + public Builder setOsVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osVersion_ = value; onChanged(); return this; } /** + * + * *
        * This value should match the version emitted by the OS inventory
        * agent.
@@ -1037,15 +1132,18 @@ public Builder setOsVersion(
        * 
* * string os_version = 2; + * * @return This builder for chaining. */ public Builder clearOsVersion() { - + osVersion_ = getDefaultInstance().getOsVersion(); onChanged(); return this; } /** + * + * *
        * This value should match the version emitted by the OS inventory
        * agent.
@@ -1055,20 +1153,21 @@ public Builder clearOsVersion() {
        * 
* * string os_version = 2; + * * @param value The bytes for osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setOsVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osVersion_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1081,12 +1180,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.OSFilter) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.OSFilter) private static final com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter(); } @@ -1095,16 +1194,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1119,34 +1218,41 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface InventoryFilterOrBuilder extends + public interface InventoryFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The OS short name
      * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The osShortName. */ java.lang.String getOsShortName(); /** + * + * *
      * Required. The OS short name
      * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for osShortName. */ - com.google.protobuf.ByteString - getOsShortNameBytes(); + com.google.protobuf.ByteString getOsShortNameBytes(); /** + * + * *
      * The OS version
      * Prefix matches are supported if asterisk(*) is provided as the
@@ -1156,10 +1262,13 @@ public interface InventoryFilterOrBuilder extends
      * 
* * string os_version = 2; + * * @return The osVersion. */ java.lang.String getOsVersion(); /** + * + * *
      * The OS version
      * Prefix matches are supported if asterisk(*) is provided as the
@@ -1169,27 +1278,30 @@ public interface InventoryFilterOrBuilder extends
      * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ - com.google.protobuf.ByteString - getOsVersionBytes(); + com.google.protobuf.ByteString getOsVersionBytes(); } /** + * + * *
    * Filtering criteria to select VMs based on inventory details.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter} */ - public static final class InventoryFilter extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class InventoryFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) InventoryFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InventoryFilter.newBuilder() to construct. private InventoryFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InventoryFilter() { osShortName_ = ""; osVersion_ = ""; @@ -1197,16 +1309,15 @@ private InventoryFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InventoryFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InventoryFilter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1225,25 +1336,27 @@ private InventoryFilter( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - osShortName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + osShortName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - osVersion_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + osVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1251,34 +1364,39 @@ private InventoryFilter( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.class, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder.class); } public static final int OS_SHORT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object osShortName_; /** + * + * *
      * Required. The OS short name
      * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The osShortName. */ @java.lang.Override @@ -1287,29 +1405,29 @@ public java.lang.String getOsShortName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; } } /** + * + * *
      * Required. The OS short name
      * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for osShortName. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsShortNameBytes() { + public com.google.protobuf.ByteString getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osShortName_ = b; return b; } else { @@ -1320,6 +1438,8 @@ public java.lang.String getOsShortName() { public static final int OS_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object osVersion_; /** + * + * *
      * The OS version
      * Prefix matches are supported if asterisk(*) is provided as the
@@ -1329,6 +1449,7 @@ public java.lang.String getOsShortName() {
      * 
* * string os_version = 2; + * * @return The osVersion. */ @java.lang.Override @@ -1337,14 +1458,15 @@ public java.lang.String getOsVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; } } /** + * + * *
      * The OS version
      * Prefix matches are supported if asterisk(*) is provided as the
@@ -1354,16 +1476,15 @@ public java.lang.String getOsVersion() {
      * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsVersionBytes() { + public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osVersion_ = b; return b; } else { @@ -1372,6 +1493,7 @@ public java.lang.String getOsVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1383,8 +1505,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osShortName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osShortName_); } @@ -1414,17 +1535,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter other = (com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) obj; - if (!getOsShortName() - .equals(other.getOsShortName())) return false; - if (!getOsVersion() - .equals(other.getOsVersion())) return false; + if (!getOsShortName().equals(other.getOsShortName())) return false; + if (!getOsVersion().equals(other.getOsVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1446,87 +1566,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter 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.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1536,27 +1663,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Filtering criteria to select VMs based on inventory details.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.class, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.newBuilder() @@ -1564,16 +1696,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1585,13 +1716,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.getDefaultInstance(); } @@ -1606,7 +1738,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter result = new com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter(this); + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter result = + new com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter(this); result.osShortName_ = osShortName_; result.osVersion_ = osVersion_; onBuilt(); @@ -1617,38 +1750,41 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.InventoryFilter) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter)other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) other); } else { super.mergeFrom(other); return this; @@ -1656,7 +1792,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.getDefaultInstance()) return this; + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.getDefaultInstance()) + return this; if (!other.getOsShortName().isEmpty()) { osShortName_ = other.osShortName_; onChanged(); @@ -1684,7 +1822,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1696,18 +1835,20 @@ public Builder mergeFrom( private java.lang.Object osShortName_ = ""; /** + * + * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The osShortName. */ public java.lang.String getOsShortName() { java.lang.Object ref = osShortName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; @@ -1716,20 +1857,21 @@ public java.lang.String getOsShortName() { } } /** + * + * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for osShortName. */ - public com.google.protobuf.ByteString - getOsShortNameBytes() { + public com.google.protobuf.ByteString getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osShortName_ = b; return b; } else { @@ -1737,54 +1879,61 @@ public java.lang.String getOsShortName() { } } /** + * + * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortName( - java.lang.String value) { + public Builder setOsShortName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osShortName_ = value; onChanged(); return this; } /** + * + * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearOsShortName() { - + osShortName_ = getDefaultInstance().getOsShortName(); onChanged(); return this; } /** + * + * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortNameBytes( - com.google.protobuf.ByteString value) { + public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osShortName_ = value; onChanged(); return this; @@ -1792,6 +1941,8 @@ public Builder setOsShortNameBytes( private java.lang.Object osVersion_ = ""; /** + * + * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1801,13 +1952,13 @@ public Builder setOsShortNameBytes(
        * 
* * string os_version = 2; + * * @return The osVersion. */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; @@ -1816,6 +1967,8 @@ public java.lang.String getOsVersion() { } } /** + * + * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1825,15 +1978,14 @@ public java.lang.String getOsVersion() {
        * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ - public com.google.protobuf.ByteString - getOsVersionBytes() { + public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osVersion_ = b; return b; } else { @@ -1841,6 +1993,8 @@ public java.lang.String getOsVersion() { } } /** + * + * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1850,20 +2004,22 @@ public java.lang.String getOsVersion() {
        * 
* * string os_version = 2; + * * @param value The osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersion( - java.lang.String value) { + public Builder setOsVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osVersion_ = value; onChanged(); return this; } /** + * + * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1873,15 +2029,18 @@ public Builder setOsVersion(
        * 
* * string os_version = 2; + * * @return This builder for chaining. */ public Builder clearOsVersion() { - + osVersion_ = getDefaultInstance().getOsVersion(); onChanged(); return this; } /** + * + * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1891,20 +2050,21 @@ public Builder clearOsVersion() {
        * 
* * string os_version = 2; + * * @param value The bytes for osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setOsVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osVersion_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1917,12 +2077,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter(); } @@ -1931,16 +2092,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InventoryFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InventoryFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InventoryFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InventoryFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1955,14 +2116,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ResourceOrBuilder extends + public interface ResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The id of the resource with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -1973,10 +2136,13 @@ public interface ResourceOrBuilder extends
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
      * Required. The id of the resource with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -1987,30 +2153,38 @@ public interface ResourceOrBuilder extends
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
      * Package resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; + * * @return Whether the pkg field is set. */ boolean hasPkg(); /** + * + * *
      * Package resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; + * * @return The pkg. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource getPkg(); /** + * + * *
      * Package resource
      * 
@@ -2020,51 +2194,71 @@ public interface ResourceOrBuilder extends com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder getPkgOrBuilder(); /** + * + * *
      * Package repository resource
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
      * Package repository resource
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * + * * @return The repository. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource getRepository(); /** + * + * *
      * Package repository resource
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder getRepositoryOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder + getRepositoryOrBuilder(); /** + * + * *
      * Exec resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; + * * @return Whether the exec field is set. */ boolean hasExec(); /** + * + * *
      * Exec resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; + * * @return The exec. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource getExec(); /** + * + * *
      * Exec resource
      * 
@@ -2074,24 +2268,32 @@ public interface ResourceOrBuilder extends com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder getExecOrBuilder(); /** + * + * *
      * File resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; + * * @return Whether the file field is set. */ boolean hasFile(); /** + * + * *
      * File resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; + * * @return The file. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource getFile(); /** + * + * *
      * File resource
      * 
@@ -2100,9 +2302,12 @@ public interface ResourceOrBuilder extends */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder getFileOrBuilder(); - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ResourceTypeCase getResourceTypeCase(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ResourceTypeCase + getResourceTypeCase(); } /** + * + * *
    * An OS policy resource is used to define the desired state configuration
    * and provides a specific functionality like installing/removing packages,
@@ -2113,31 +2318,31 @@ public interface ResourceOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource}
    */
-  public static final class Resource extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Resource extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource)
       ResourceOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Resource.newBuilder() to construct.
     private Resource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Resource() {
       id_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Resource();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private Resource(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -2156,75 +2361,114 @@ private Resource(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              id_ = s;
-              break;
-            }
-            case 18: {
-              com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder subBuilder = null;
-              if (resourceTypeCase_ == 2) {
-                subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_).toBuilder();
-              }
-              resourceType_ =
-                  input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_);
-                resourceType_ = subBuilder.buildPartial();
-              }
-              resourceTypeCase_ = 2;
-              break;
-            }
-            case 26: {
-              com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder subBuilder = null;
-              if (resourceTypeCase_ == 3) {
-                subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_).toBuilder();
-              }
-              resourceType_ =
-                  input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_);
-                resourceType_ = subBuilder.buildPartial();
+                id_ = s;
+                break;
               }
-              resourceTypeCase_ = 3;
-              break;
-            }
-            case 34: {
-              com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder subBuilder = null;
-              if (resourceTypeCase_ == 4) {
-                subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_).toBuilder();
+            case 18:
+              {
+                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder
+                    subBuilder = null;
+                if (resourceTypeCase_ == 2) {
+                  subBuilder =
+                      ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource)
+                              resourceType_)
+                          .toBuilder();
+                }
+                resourceType_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource
+                            .parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource)
+                          resourceType_);
+                  resourceType_ = subBuilder.buildPartial();
+                }
+                resourceTypeCase_ = 2;
+                break;
               }
-              resourceType_ =
-                  input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_);
-                resourceType_ = subBuilder.buildPartial();
+            case 26:
+              {
+                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder
+                    subBuilder = null;
+                if (resourceTypeCase_ == 3) {
+                  subBuilder =
+                      ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource)
+                              resourceType_)
+                          .toBuilder();
+                }
+                resourceType_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource
+                            .parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource)
+                          resourceType_);
+                  resourceType_ = subBuilder.buildPartial();
+                }
+                resourceTypeCase_ = 3;
+                break;
               }
-              resourceTypeCase_ = 4;
-              break;
-            }
-            case 42: {
-              com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder subBuilder = null;
-              if (resourceTypeCase_ == 5) {
-                subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_).toBuilder();
+            case 34:
+              {
+                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder
+                    subBuilder = null;
+                if (resourceTypeCase_ == 4) {
+                  subBuilder =
+                      ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource)
+                              resourceType_)
+                          .toBuilder();
+                }
+                resourceType_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource)
+                          resourceType_);
+                  resourceType_ = subBuilder.buildPartial();
+                }
+                resourceTypeCase_ = 4;
+                break;
               }
-              resourceType_ =
-                  input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_);
-                resourceType_ = subBuilder.buildPartial();
+            case 42:
+              {
+                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder
+                    subBuilder = null;
+                if (resourceTypeCase_ == 5) {
+                  subBuilder =
+                      ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource)
+                              resourceType_)
+                          .toBuilder();
+                }
+                resourceType_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource)
+                          resourceType_);
+                  resourceType_ = subBuilder.buildPartial();
+                }
+                resourceTypeCase_ = 5;
+                break;
               }
-              resourceTypeCase_ = 5;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2232,49 +2476,60 @@ private Resource(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+          .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+          .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder.class);
+              com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.class,
+              com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder.class);
     }
 
-    public interface FileOrBuilder extends
+    public interface FileOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * A generic remote file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; + * * @return Whether the remote field is set. */ boolean hasRemote(); /** + * + * *
        * A generic remote file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; + * * @return The remote. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote getRemote(); /** + * + * *
        * A generic remote file.
        * 
@@ -2284,24 +2539,32 @@ public interface FileOrBuilder extends com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder getRemoteOrBuilder(); /** + * + * *
        * A Cloud Storage object.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; + * * @return Whether the gcs field is set. */ boolean hasGcs(); /** + * + * *
        * A Cloud Storage object.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; + * * @return The gcs. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs getGcs(); /** + * + * *
        * A Cloud Storage object.
        * 
@@ -2311,35 +2574,45 @@ public interface FileOrBuilder extends com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder getGcsOrBuilder(); /** + * + * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; + * * @return Whether the localPath field is set. */ boolean hasLocalPath(); /** + * + * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; + * * @return The localPath. */ java.lang.String getLocalPath(); /** + * + * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; + * * @return The bytes for localPath. */ - com.google.protobuf.ByteString - getLocalPathBytes(); + com.google.protobuf.ByteString getLocalPathBytes(); /** + * + * *
        * Defaults to false. When false, files are subject to validations
        * based on the file type:
@@ -2348,6 +2621,7 @@ public interface FileOrBuilder extends
        * 
* * bool allow_insecure = 4; + * * @return The allowInsecure. */ boolean getAllowInsecure(); @@ -2355,36 +2629,37 @@ public interface FileOrBuilder extends public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.TypeCase getTypeCase(); } /** + * + * *
      * A remote or local file.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.File} */ - public static final class File extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class File extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) FileOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private File() { - } + + private File() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2403,52 +2678,67 @@ private File( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder subBuilder = null; - if (typeCase_ == 1) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_).toBuilder(); + case 10: + { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder + subBuilder = null; + if (typeCase_ == 1) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_) + .toBuilder(); + } + type_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 1; + break; } - type_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_); - type_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder subBuilder = + null; + if (typeCase_ == 2) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_) + .toBuilder(); + } + type_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 2; + break; } - typeCase_ = 1; - break; - } - case 18: { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder subBuilder = null; - if (typeCase_ == 2) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_).toBuilder(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + typeCase_ = 3; + type_ = s; + break; } - type_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_); - type_ = subBuilder.buildPartial(); + case 32: + { + allowInsecure_ = input.readBool(); + break; } - typeCase_ = 2; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - typeCase_ = 3; - type_ = s; - break; - } - case 32: { - - allowInsecure_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2456,88 +2746,105 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder.class); } - public interface RemoteOrBuilder extends + public interface RemoteOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. URI from which to fetch the object. It should contain both the
          * protocol and path following the format `{protocol}://{location}`.
          * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
          * Required. URI from which to fetch the object. It should contain both the
          * protocol and path following the format `{protocol}://{location}`.
          * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
          * SHA256 checksum of the remote file.
          * 
* * string sha256_checksum = 2; + * * @return The sha256Checksum. */ java.lang.String getSha256Checksum(); /** + * + * *
          * SHA256 checksum of the remote file.
          * 
* * string sha256_checksum = 2; + * * @return The bytes for sha256Checksum. */ - com.google.protobuf.ByteString - getSha256ChecksumBytes(); + com.google.protobuf.ByteString getSha256ChecksumBytes(); } /** + * + * *
        * Specifies a file available via some URI.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote} */ - public static final class Remote extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Remote extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) RemoteOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Remote.newBuilder() to construct. private Remote(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Remote() { uri_ = ""; sha256Checksum_ = ""; @@ -2545,16 +2852,15 @@ private Remote() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Remote(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Remote( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2573,25 +2879,27 @@ private Remote( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + uri_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - sha256Checksum_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + sha256Checksum_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2599,35 +2907,41 @@ private Remote( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder.class); } public static final int URI_FIELD_NUMBER = 1; private volatile java.lang.Object uri_; /** + * + * *
          * Required. URI from which to fetch the object. It should contain both the
          * protocol and path following the format `{protocol}://{location}`.
          * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ @java.lang.Override @@ -2636,30 +2950,30 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
          * Required. URI from which to fetch the object. It should contain both the
          * protocol and path following the format `{protocol}://{location}`.
          * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -2670,11 +2984,14 @@ public java.lang.String getUri() { public static final int SHA256_CHECKSUM_FIELD_NUMBER = 2; private volatile java.lang.Object sha256Checksum_; /** + * + * *
          * SHA256 checksum of the remote file.
          * 
* * string sha256_checksum = 2; + * * @return The sha256Checksum. */ @java.lang.Override @@ -2683,29 +3000,29 @@ public java.lang.String getSha256Checksum() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sha256Checksum_ = s; return s; } } /** + * + * *
          * SHA256 checksum of the remote file.
          * 
* * string sha256_checksum = 2; + * * @return The bytes for sha256Checksum. */ @java.lang.Override - public com.google.protobuf.ByteString - getSha256ChecksumBytes() { + public com.google.protobuf.ByteString getSha256ChecksumBytes() { java.lang.Object ref = sha256Checksum_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sha256Checksum_ = b; return b; } else { @@ -2714,6 +3031,7 @@ public java.lang.String getSha256Checksum() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2726,7 +3044,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } @@ -2756,17 +3074,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) obj; - if (!getUri() - .equals(other.getUri())) return false; - if (!getSha256Checksum() - .equals(other.getSha256Checksum())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getSha256Checksum().equals(other.getSha256Checksum())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2788,87 +3105,97 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote 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.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote 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.osconfig.v1alpha.OSPolicy.Resource.File.Remote + 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.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2878,44 +3205,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Specifies a file available via some URI.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2927,14 +3259,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote + .getDefaultInstance(); } @java.lang.Override @@ -2948,7 +3282,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote(this); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote result = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote(this); result.uri_ = uri_; result.sha256Checksum_ = sha256Checksum_; onBuilt(); @@ -2959,46 +3294,53 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.File.Remote) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote)other); + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote + .getDefaultInstance()) return this; if (!other.getUri().isEmpty()) { uri_ = other.uri_; onChanged(); @@ -3026,7 +3368,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3038,19 +3382,21 @@ public Builder mergeFrom( private java.lang.Object uri_ = ""; /** + * + * *
            * Required. URI from which to fetch the object. It should contain both the
            * protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -3059,21 +3405,22 @@ public java.lang.String getUri() { } } /** + * + * *
            * Required. URI from which to fetch the object. It should contain both the
            * protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -3081,57 +3428,64 @@ public java.lang.String getUri() { } } /** + * + * *
            * Required. URI from which to fetch the object. It should contain both the
            * protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { + public Builder setUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** + * + * *
            * Required. URI from which to fetch the object. It should contain both the
            * protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** + * + * *
            * Required. URI from which to fetch the object. It should contain both the
            * protocol and path following the format `{protocol}://{location}`.
            * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { + public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -3139,18 +3493,20 @@ public Builder setUriBytes( private java.lang.Object sha256Checksum_ = ""; /** + * + * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; + * * @return The sha256Checksum. */ public java.lang.String getSha256Checksum() { java.lang.Object ref = sha256Checksum_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sha256Checksum_ = s; return s; @@ -3159,20 +3515,21 @@ public java.lang.String getSha256Checksum() { } } /** + * + * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; + * * @return The bytes for sha256Checksum. */ - public com.google.protobuf.ByteString - getSha256ChecksumBytes() { + public com.google.protobuf.ByteString getSha256ChecksumBytes() { java.lang.Object ref = sha256Checksum_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sha256Checksum_ = b; return b; } else { @@ -3180,58 +3537,66 @@ public java.lang.String getSha256Checksum() { } } /** + * + * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; + * * @param value The sha256Checksum to set. * @return This builder for chaining. */ - public Builder setSha256Checksum( - java.lang.String value) { + public Builder setSha256Checksum(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sha256Checksum_ = value; onChanged(); return this; } /** + * + * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; + * * @return This builder for chaining. */ public Builder clearSha256Checksum() { - + sha256Checksum_ = getDefaultInstance().getSha256Checksum(); onChanged(); return this; } /** + * + * *
            * SHA256 checksum of the remote file.
            * 
* * string sha256_checksum = 2; + * * @param value The bytes for sha256Checksum to set. * @return This builder for chaining. */ - public Builder setSha256ChecksumBytes( - com.google.protobuf.ByteString value) { + public Builder setSha256ChecksumBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sha256Checksum_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3244,30 +3609,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Remote parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Remote(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Remote parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Remote(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3279,82 +3646,99 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GcsOrBuilder extends + public interface GcsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. Bucket of the Cloud Storage object.
          * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucket. */ java.lang.String getBucket(); /** + * + * *
          * Required. Bucket of the Cloud Storage object.
          * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucket. */ - com.google.protobuf.ByteString - getBucketBytes(); + com.google.protobuf.ByteString getBucketBytes(); /** + * + * *
          * Required. Name of the Cloud Storage object.
          * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The object. */ java.lang.String getObject(); /** + * + * *
          * Required. Name of the Cloud Storage object.
          * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for object. */ - com.google.protobuf.ByteString - getObjectBytes(); + com.google.protobuf.ByteString getObjectBytes(); /** + * + * *
          * Generation number of the Cloud Storage object.
          * 
* * int64 generation = 3; + * * @return The generation. */ long getGeneration(); } /** + * + * *
        * Specifies a file available as a Cloud Storage Object.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs} */ - public static final class Gcs extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Gcs extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) GcsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Gcs.newBuilder() to construct. private Gcs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Gcs() { bucket_ = ""; object_ = ""; @@ -3362,16 +3746,15 @@ private Gcs() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Gcs(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Gcs( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3390,30 +3773,32 @@ private Gcs( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - bucket_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - object_ = s; - break; - } - case 24: { + bucket_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - generation_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + object_ = s; + break; + } + case 24: + { + generation_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3421,34 +3806,40 @@ private Gcs( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder.class); } public static final int BUCKET_FIELD_NUMBER = 1; private volatile java.lang.Object bucket_; /** + * + * *
          * Required. Bucket of the Cloud Storage object.
          * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucket. */ @java.lang.Override @@ -3457,29 +3848,29 @@ public java.lang.String getBucket() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; } } /** + * + * *
          * Required. Bucket of the Cloud Storage object.
          * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucket. */ @java.lang.Override - public com.google.protobuf.ByteString - getBucketBytes() { + public com.google.protobuf.ByteString getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bucket_ = b; return b; } else { @@ -3490,11 +3881,14 @@ public java.lang.String getBucket() { public static final int OBJECT_FIELD_NUMBER = 2; private volatile java.lang.Object object_; /** + * + * *
          * Required. Name of the Cloud Storage object.
          * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The object. */ @java.lang.Override @@ -3503,29 +3897,29 @@ public java.lang.String getObject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; } } /** + * + * *
          * Required. Name of the Cloud Storage object.
          * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for object. */ @java.lang.Override - public com.google.protobuf.ByteString - getObjectBytes() { + public com.google.protobuf.ByteString getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); object_ = b; return b; } else { @@ -3536,11 +3930,14 @@ public java.lang.String getObject() { public static final int GENERATION_FIELD_NUMBER = 3; private long generation_; /** + * + * *
          * Generation number of the Cloud Storage object.
          * 
* * int64 generation = 3; + * * @return The generation. */ @java.lang.Override @@ -3549,6 +3946,7 @@ public long getGeneration() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3561,7 +3959,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucket_); } @@ -3587,8 +3985,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, object_); } if (generation_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, generation_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, generation_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3598,19 +3995,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) obj; - if (!getBucket() - .equals(other.getBucket())) return false; - if (!getObject() - .equals(other.getObject())) return false; - if (getGeneration() - != other.getGeneration()) return false; + if (!getBucket().equals(other.getBucket())) return false; + if (!getObject().equals(other.getObject())) return false; + if (getGeneration() != other.getGeneration()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3627,95 +4022,104 @@ public int hashCode() { hash = (37 * hash) + OBJECT_FIELD_NUMBER; hash = (53 * hash) + getObject().hashCode(); hash = (37 * hash) + GENERATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getGeneration()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGeneration()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs 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.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs 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.osconfig.v1alpha.OSPolicy.Resource.File.Gcs + 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.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3725,44 +4129,49 @@ protected Builder newBuilderForType( return builder; } /** - *
+         *
+         *
+         * 
          * Specifies a file available as a Cloud Storage Object.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3776,14 +4185,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs + .getDefaultInstance(); } @java.lang.Override @@ -3797,7 +4208,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs(this); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs result = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs(this); result.bucket_ = bucket_; result.object_ = object_; result.generation_ = generation_; @@ -3809,46 +4221,53 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs)other); + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs + .getDefaultInstance()) return this; if (!other.getBucket().isEmpty()) { bucket_ = other.bucket_; onChanged(); @@ -3879,7 +4298,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3891,18 +4312,20 @@ public Builder mergeFrom( private java.lang.Object bucket_ = ""; /** + * + * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucket. */ public java.lang.String getBucket() { java.lang.Object ref = bucket_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; @@ -3911,20 +4334,21 @@ public java.lang.String getBucket() { } } /** + * + * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucket. */ - public com.google.protobuf.ByteString - getBucketBytes() { + public com.google.protobuf.ByteString getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bucket_ = b; return b; } else { @@ -3932,54 +4356,61 @@ public java.lang.String getBucket() { } } /** + * + * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bucket to set. * @return This builder for chaining. */ - public Builder setBucket( - java.lang.String value) { + public Builder setBucket(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucket_ = value; onChanged(); return this; } /** + * + * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBucket() { - + bucket_ = getDefaultInstance().getBucket(); onChanged(); return this; } /** + * + * *
            * Required. Bucket of the Cloud Storage object.
            * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for bucket to set. * @return This builder for chaining. */ - public Builder setBucketBytes( - com.google.protobuf.ByteString value) { + public Builder setBucketBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucket_ = value; onChanged(); return this; @@ -3987,18 +4418,20 @@ public Builder setBucketBytes( private java.lang.Object object_ = ""; /** + * + * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The object. */ public java.lang.String getObject() { java.lang.Object ref = object_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; @@ -4007,20 +4440,21 @@ public java.lang.String getObject() { } } /** + * + * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for object. */ - public com.google.protobuf.ByteString - getObjectBytes() { + public com.google.protobuf.ByteString getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); object_ = b; return b; } else { @@ -4028,66 +4462,76 @@ public java.lang.String getObject() { } } /** + * + * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The object to set. * @return This builder for chaining. */ - public Builder setObject( - java.lang.String value) { + public Builder setObject(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + object_ = value; onChanged(); return this; } /** + * + * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearObject() { - + object_ = getDefaultInstance().getObject(); onChanged(); return this; } /** + * + * *
            * Required. Name of the Cloud Storage object.
            * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for object to set. * @return This builder for chaining. */ - public Builder setObjectBytes( - com.google.protobuf.ByteString value) { + public Builder setObjectBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + object_ = value; onChanged(); return this; } - private long generation_ ; + private long generation_; /** + * + * *
            * Generation number of the Cloud Storage object.
            * 
* * int64 generation = 3; + * * @return The generation. */ @java.lang.Override @@ -4095,34 +4539,41 @@ public long getGeneration() { return generation_; } /** + * + * *
            * Generation number of the Cloud Storage object.
            * 
* * int64 generation = 3; + * * @param value The generation to set. * @return This builder for chaining. */ public Builder setGeneration(long value) { - + generation_ = value; onChanged(); return this; } /** + * + * *
            * Generation number of the Cloud Storage object.
            * 
* * int64 generation = 3; + * * @return This builder for chaining. */ public Builder clearGeneration() { - + generation_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4135,30 +4586,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Gcs parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Gcs(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Gcs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Gcs(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4170,22 +4623,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int typeCase_ = 0; private java.lang.Object type_; + public enum TypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { REMOTE(1), GCS(2), LOCAL_PATH(3), TYPE_NOT_SET(0); private final int value; + private TypeCase(int value) { this.value = value; } @@ -4201,31 +4657,38 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 1: return REMOTE; - case 2: return GCS; - case 3: return LOCAL_PATH; - case 0: return TYPE_NOT_SET; - default: return null; + case 1: + return REMOTE; + case 2: + return GCS; + case 3: + return LOCAL_PATH; + case 0: + return TYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public static final int REMOTE_FIELD_NUMBER = 1; /** + * + * *
        * A generic remote file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; + * * @return Whether the remote field is set. */ @java.lang.Override @@ -4233,21 +4696,26 @@ public boolean hasRemote() { return typeCase_ == 1; } /** + * + * *
        * A generic remote file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; + * * @return The remote. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote getRemote() { if (typeCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.getDefaultInstance(); } /** + * + * *
        * A generic remote file.
        * 
@@ -4255,20 +4723,24 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote getRemote * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder getRemoteOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder + getRemoteOrBuilder() { if (typeCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.getDefaultInstance(); } public static final int GCS_FIELD_NUMBER = 2; /** + * + * *
        * A Cloud Storage object.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; + * * @return Whether the gcs field is set. */ @java.lang.Override @@ -4276,21 +4748,26 @@ public boolean hasGcs() { return typeCase_ == 2; } /** + * + * *
        * A Cloud Storage object.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; + * * @return The gcs. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs getGcs() { if (typeCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance(); } /** + * + * *
        * A Cloud Storage object.
        * 
@@ -4298,31 +4775,38 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs getGcs() { * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder getGcsOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder + getGcsOrBuilder() { if (typeCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance(); } public static final int LOCAL_PATH_FIELD_NUMBER = 3; /** + * + * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; + * * @return Whether the localPath field is set. */ public boolean hasLocalPath() { return typeCase_ == 3; } /** + * + * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; + * * @return The localPath. */ public java.lang.String getLocalPath() { @@ -4333,8 +4817,7 @@ public java.lang.String getLocalPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (typeCase_ == 3) { type_ = s; @@ -4343,23 +4826,24 @@ public java.lang.String getLocalPath() { } } /** + * + * *
        * A local path within the VM to use.
        * 
* * string local_path = 3; + * * @return The bytes for localPath. */ - public com.google.protobuf.ByteString - getLocalPathBytes() { + public com.google.protobuf.ByteString getLocalPathBytes() { java.lang.Object ref = ""; if (typeCase_ == 3) { ref = type_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (typeCase_ == 3) { type_ = b; } @@ -4372,6 +4856,8 @@ public java.lang.String getLocalPath() { public static final int ALLOW_INSECURE_FIELD_NUMBER = 4; private boolean allowInsecure_; /** + * + * *
        * Defaults to false. When false, files are subject to validations
        * based on the file type:
@@ -4380,6 +4866,7 @@ public java.lang.String getLocalPath() {
        * 
* * bool allow_insecure = 4; + * * @return The allowInsecure. */ @java.lang.Override @@ -4388,6 +4875,7 @@ public boolean getAllowInsecure() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4399,13 +4887,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (typeCase_ == 1) { - output.writeMessage(1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_); + output.writeMessage( + 1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_); } if (typeCase_ == 2) { - output.writeMessage(2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_); + output.writeMessage( + 2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_); } if (typeCase_ == 3) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_); @@ -4423,19 +4912,20 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_); } if (typeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_); } if (typeCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); } if (allowInsecure_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, allowInsecure_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowInsecure_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4445,28 +4935,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) obj; - if (getAllowInsecure() - != other.getAllowInsecure()) return false; + if (getAllowInsecure() != other.getAllowInsecure()) return false; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (!getRemote() - .equals(other.getRemote())) return false; + if (!getRemote().equals(other.getRemote())) return false; break; case 2: - if (!getGcs() - .equals(other.getGcs())) return false; + if (!getGcs().equals(other.getGcs())) return false; break; case 3: - if (!getLocalPath() - .equals(other.getLocalPath())) return false; + if (!getLocalPath().equals(other.getLocalPath())) return false; break; case 0: default: @@ -4483,8 +4970,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_INSECURE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowInsecure()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowInsecure()); switch (typeCase_) { case 1: hash = (37 * hash) + REMOTE_FIELD_NUMBER; @@ -4507,87 +4993,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File 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.osconfig.v1alpha.OSPolicy.Resource.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4597,27 +5090,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A remote or local file.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.File} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder() @@ -4625,16 +5123,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -4646,13 +5143,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance(); } @@ -4667,7 +5165,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File(this); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File result = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File(this); if (typeCase_ == 1) { if (remoteBuilder_ == null) { result.type_ = type_; @@ -4695,38 +5194,41 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.File) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File)other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) other); } else { super.mergeFrom(other); return this; @@ -4734,28 +5236,34 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance()) return this; + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance()) + return this; if (other.getAllowInsecure() != false) { setAllowInsecure(other.getAllowInsecure()); } switch (other.getTypeCase()) { - case REMOTE: { - mergeRemote(other.getRemote()); - break; - } - case GCS: { - mergeGcs(other.getGcs()); - break; - } - case LOCAL_PATH: { - typeCase_ = 3; - type_ = other.type_; - onChanged(); - break; - } - case TYPE_NOT_SET: { - break; - } + case REMOTE: + { + mergeRemote(other.getRemote()); + break; + } + case GCS: + { + mergeGcs(other.getGcs()); + break; + } + case LOCAL_PATH: + { + typeCase_ = 3; + type_ = other.type_; + onChanged(); + break; + } + case TYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -4776,7 +5284,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4785,12 +5294,12 @@ public Builder mergeFrom( } return this; } + private int typeCase_ = 0; private java.lang.Object type_; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public Builder clearType() { @@ -4800,15 +5309,20 @@ public Builder clearType() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder> remoteBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder> + remoteBuilder_; /** + * + * *
          * A generic remote file.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; + * * @return Whether the remote field is set. */ @java.lang.Override @@ -4816,11 +5330,14 @@ public boolean hasRemote() { return typeCase_ == 1; } /** + * + * *
          * A generic remote file.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; + * * @return The remote. */ @java.lang.Override @@ -4829,22 +5346,27 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote getRemote if (typeCase_ == 1) { return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote + .getDefaultInstance(); } else { if (typeCase_ == 1) { return remoteBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote + .getDefaultInstance(); } } /** + * + * *
          * A generic remote file.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; */ - public Builder setRemote(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote value) { + public Builder setRemote( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote value) { if (remoteBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4858,6 +5380,8 @@ public Builder setRemote(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Fil return this; } /** + * + * *
          * A generic remote file.
          * 
@@ -4865,7 +5389,8 @@ public Builder setRemote(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Fil * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; */ public Builder setRemote( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder + builderForValue) { if (remoteBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -4876,18 +5401,26 @@ public Builder setRemote( return this; } /** + * + * *
          * A generic remote file.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; */ - public Builder mergeRemote(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote value) { + public Builder mergeRemote( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote value) { if (remoteBuilder_ == null) { - if (typeCase_ == 1 && - type_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.getDefaultInstance()) { - type_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 1 + && type_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote + .getDefaultInstance()) { + type_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -4903,6 +5436,8 @@ public Builder mergeRemote(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.F return this; } /** + * + * *
          * A generic remote file.
          * 
@@ -4926,16 +5461,21 @@ public Builder clearRemote() { return this; } /** + * + * *
          * A generic remote file.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder getRemoteBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder + getRemoteBuilder() { return getRemoteFieldBuilder().getBuilder(); } /** + * + * *
          * A generic remote file.
          * 
@@ -4943,17 +5483,21 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder g * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder getRemoteOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder + getRemoteOrBuilder() { if ((typeCase_ == 1) && (remoteBuilder_ != null)) { return remoteBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 1) { return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote + .getDefaultInstance(); } } /** + * + * *
          * A generic remote file.
          * 
@@ -4961,32 +5505,46 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder> getRemoteFieldBuilder() { if (remoteBuilder_ == null) { if (!(typeCase_ == 1)) { - type_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.getDefaultInstance(); - } - remoteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder>( + type_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote + .getDefaultInstance(); + } + remoteBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.RemoteOrBuilder>( (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; - onChanged();; + onChanged(); + ; return remoteBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder> gcsBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder> + gcsBuilder_; /** + * + * *
          * A Cloud Storage object.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; + * * @return Whether the gcs field is set. */ @java.lang.Override @@ -4994,11 +5552,14 @@ public boolean hasGcs() { return typeCase_ == 2; } /** + * + * *
          * A Cloud Storage object.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; + * * @return The gcs. */ @java.lang.Override @@ -5007,15 +5568,19 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs getGcs() { if (typeCase_ == 2) { return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs + .getDefaultInstance(); } else { if (typeCase_ == 2) { return gcsBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs + .getDefaultInstance(); } } /** + * + * *
          * A Cloud Storage object.
          * 
@@ -5036,6 +5601,8 @@ public Builder setGcs(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.G return this; } /** + * + * *
          * A Cloud Storage object.
          * 
@@ -5054,18 +5621,26 @@ public Builder setGcs( return this; } /** + * + * *
          * A Cloud Storage object.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; */ - public Builder mergeGcs(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs value) { + public Builder mergeGcs( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs value) { if (gcsBuilder_ == null) { - if (typeCase_ == 2 && - type_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance()) { - type_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 2 + && type_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs + .getDefaultInstance()) { + type_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -5081,6 +5656,8 @@ public Builder mergeGcs(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File return this; } /** + * + * *
          * A Cloud Storage object.
          * 
@@ -5104,16 +5681,21 @@ public Builder clearGcs() { return this; } /** + * + * *
          * A Cloud Storage object.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder getGcsBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder + getGcsBuilder() { return getGcsFieldBuilder().getBuilder(); } /** + * + * *
          * A Cloud Storage object.
          * 
@@ -5121,17 +5703,21 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder getG * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder getGcsOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder + getGcsOrBuilder() { if ((typeCase_ == 2) && (gcsBuilder_ != null)) { return gcsBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 2) { return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs + .getDefaultInstance(); } } /** + * + * *
          * A Cloud Storage object.
          * 
@@ -5139,30 +5725,40 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder get * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder> getGcsFieldBuilder() { if (gcsBuilder_ == null) { if (!(typeCase_ == 2)) { - type_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance(); - } - gcsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder>( + type_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.getDefaultInstance(); + } + gcsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.GcsOrBuilder>( (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 2; - onChanged();; + onChanged(); + ; return gcsBuilder_; } /** + * + * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; + * * @return Whether the localPath field is set. */ @java.lang.Override @@ -5170,11 +5766,14 @@ public boolean hasLocalPath() { return typeCase_ == 3; } /** + * + * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; + * * @return The localPath. */ @java.lang.Override @@ -5184,8 +5783,7 @@ public java.lang.String getLocalPath() { ref = type_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (typeCase_ == 3) { type_ = s; @@ -5196,24 +5794,25 @@ public java.lang.String getLocalPath() { } } /** + * + * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; + * * @return The bytes for localPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocalPathBytes() { + public com.google.protobuf.ByteString getLocalPathBytes() { java.lang.Object ref = ""; if (typeCase_ == 3) { ref = type_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (typeCase_ == 3) { type_ = b; } @@ -5223,30 +5822,35 @@ public java.lang.String getLocalPath() { } } /** + * + * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; + * * @param value The localPath to set. * @return This builder for chaining. */ - public Builder setLocalPath( - java.lang.String value) { + public Builder setLocalPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - typeCase_ = 3; + throw new NullPointerException(); + } + typeCase_ = 3; type_ = value; onChanged(); return this; } /** + * + * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; + * * @return This builder for chaining. */ public Builder clearLocalPath() { @@ -5258,28 +5862,32 @@ public Builder clearLocalPath() { return this; } /** + * + * *
          * A local path within the VM to use.
          * 
* * string local_path = 3; + * * @param value The bytes for localPath to set. * @return This builder for chaining. */ - public Builder setLocalPathBytes( - com.google.protobuf.ByteString value) { + public Builder setLocalPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); typeCase_ = 3; type_ = value; onChanged(); return this; } - private boolean allowInsecure_ ; + private boolean allowInsecure_; /** + * + * *
          * Defaults to false. When false, files are subject to validations
          * based on the file type:
@@ -5288,6 +5896,7 @@ public Builder setLocalPathBytes(
          * 
* * bool allow_insecure = 4; + * * @return The allowInsecure. */ @java.lang.Override @@ -5295,6 +5904,8 @@ public boolean getAllowInsecure() { return allowInsecure_; } /** + * + * *
          * Defaults to false. When false, files are subject to validations
          * based on the file type:
@@ -5303,16 +5914,19 @@ public boolean getAllowInsecure() {
          * 
* * bool allow_insecure = 4; + * * @param value The allowInsecure to set. * @return This builder for chaining. */ public Builder setAllowInsecure(boolean value) { - + allowInsecure_ = value; onChanged(); return this; } /** + * + * *
          * Defaults to false. When false, files are subject to validations
          * based on the file type:
@@ -5321,14 +5935,16 @@ public Builder setAllowInsecure(boolean value) {
          * 
* * bool allow_insecure = 4; + * * @return This builder for chaining. */ public Builder clearAllowInsecure() { - + allowInsecure_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5341,12 +5957,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File(); } @@ -5355,16 +5972,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5379,255 +5996,338 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PackageResourceOrBuilder extends + public interface PackageResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Required. The desired state the agent should maintain for this package.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for desiredState. */ int getDesiredStateValue(); /** + * + * *
        * Required. The desired state the agent should maintain for this package.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The desiredState. */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState getDesiredState(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState + getDesiredState(); /** + * + * *
        * A package managed by Apt.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * * @return Whether the apt field is set. */ boolean hasApt(); /** + * + * *
        * A package managed by Apt.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * * @return The apt. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT getApt(); /** + * + * *
        * A package managed by Apt.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder getAptOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder + getAptOrBuilder(); /** + * + * *
        * A deb package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * * @return Whether the deb field is set. */ boolean hasDeb(); /** + * + * *
        * A deb package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * * @return The deb. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb getDeb(); /** + * + * *
        * A deb package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder getDebOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder + getDebOrBuilder(); /** + * + * *
        * A package managed by YUM.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * * @return Whether the yum field is set. */ boolean hasYum(); /** + * + * *
        * A package managed by YUM.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * * @return The yum. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM getYum(); /** + * + * *
        * A package managed by YUM.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder getYumOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder + getYumOrBuilder(); /** + * + * *
        * A package managed by Zypper.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * + * * @return Whether the zypper field is set. */ boolean hasZypper(); /** + * + * *
        * A package managed by Zypper.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * + * * @return The zypper. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper getZypper(); /** + * + * *
        * A package managed by Zypper.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder getZypperOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder + getZypperOrBuilder(); /** + * + * *
        * An rpm package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * * @return Whether the rpm field is set. */ boolean hasRpm(); /** + * + * *
        * An rpm package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * * @return The rpm. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM getRpm(); /** + * + * *
        * An rpm package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder getRpmOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder + getRpmOrBuilder(); /** + * + * *
        * A package managed by GooGet.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * + * * @return Whether the googet field is set. */ boolean hasGooget(); /** + * + * *
        * A package managed by GooGet.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * + * * @return The googet. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet getGooget(); /** + * + * *
        * A package managed by GooGet.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder getGoogetOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder + getGoogetOrBuilder(); /** + * + * *
        * An MSI package.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * * @return Whether the msi field is set. */ boolean hasMsi(); /** + * + * *
        * An MSI package.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * * @return The msi. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI getMsi(); /** + * + * *
        * An MSI package.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder getMsiOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder + getMsiOrBuilder(); - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.SystemPackageCase getSystemPackageCase(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.SystemPackageCase + getSystemPackageCase(); } /** + * + * *
      * A resource that manages a system package.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource} */ - public static final class PackageResource extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PackageResource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) PackageResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PackageResource.newBuilder() to construct. private PackageResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PackageResource() { desiredState_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PackageResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PackageResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5646,117 +6346,190 @@ private PackageResource( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - desiredState_ = rawValue; - break; - } - case 18: { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder subBuilder = null; - if (systemPackageCase_ == 2) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_).toBuilder(); - } - systemPackage_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 2; - break; - } - case 26: { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder subBuilder = null; - if (systemPackageCase_ == 3) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_).toBuilder(); - } - systemPackage_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 3; - break; - } - case 34: { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder subBuilder = null; - if (systemPackageCase_ == 4) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_).toBuilder(); - } - systemPackage_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_); - systemPackage_ = subBuilder.buildPartial(); - } - systemPackageCase_ = 4; - break; - } - case 42: { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder subBuilder = null; - if (systemPackageCase_ == 5) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_).toBuilder(); + desiredState_ = rawValue; + break; } - systemPackage_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_); - systemPackage_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder + subBuilder = null; + if (systemPackageCase_ == 2) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) + systemPackage_) + .toBuilder(); + } + systemPackage_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) + systemPackage_); + systemPackage_ = subBuilder.buildPartial(); + } + systemPackageCase_ = 2; + break; } - systemPackageCase_ = 5; - break; - } - case 50: { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder subBuilder = null; - if (systemPackageCase_ == 6) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_).toBuilder(); + case 26: + { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder + subBuilder = null; + if (systemPackageCase_ == 3) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) + systemPackage_) + .toBuilder(); + } + systemPackage_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) + systemPackage_); + systemPackage_ = subBuilder.buildPartial(); + } + systemPackageCase_ = 3; + break; } - systemPackage_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_); - systemPackage_ = subBuilder.buildPartial(); + case 34: + { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder + subBuilder = null; + if (systemPackageCase_ == 4) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) + systemPackage_) + .toBuilder(); + } + systemPackage_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) + systemPackage_); + systemPackage_ = subBuilder.buildPartial(); + } + systemPackageCase_ = 4; + break; } - systemPackageCase_ = 6; - break; - } - case 58: { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder subBuilder = null; - if (systemPackageCase_ == 7) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_).toBuilder(); + case 42: + { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder + subBuilder = null; + if (systemPackageCase_ == 5) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .Zypper) + systemPackage_) + .toBuilder(); + } + systemPackage_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) + systemPackage_); + systemPackage_ = subBuilder.buildPartial(); + } + systemPackageCase_ = 5; + break; } - systemPackage_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_); - systemPackage_ = subBuilder.buildPartial(); + case 50: + { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder + subBuilder = null; + if (systemPackageCase_ == 6) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) + systemPackage_) + .toBuilder(); + } + systemPackage_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) + systemPackage_); + systemPackage_ = subBuilder.buildPartial(); + } + systemPackageCase_ = 6; + break; } - systemPackageCase_ = 7; - break; - } - case 66: { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder subBuilder = null; - if (systemPackageCase_ == 8) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_).toBuilder(); + case 58: + { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder + subBuilder = null; + if (systemPackageCase_ == 7) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .GooGet) + systemPackage_) + .toBuilder(); + } + systemPackage_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) + systemPackage_); + systemPackage_ = subBuilder.buildPartial(); + } + systemPackageCase_ = 7; + break; } - systemPackage_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_); - systemPackage_ = subBuilder.buildPartial(); + case 66: + { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder + subBuilder = null; + if (systemPackageCase_ == 8) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) + systemPackage_) + .toBuilder(); + } + systemPackage_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) + systemPackage_); + systemPackage_ = subBuilder.buildPartial(); + } + systemPackageCase_ = 8; + break; } - systemPackageCase_ = 8; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5764,36 +6537,43 @@ private PackageResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder.class); } /** + * + * *
        * The desired state that the OS Config agent maintains on the VM.
        * 
* - * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState} + * Protobuf enum {@code + * google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState} */ - public enum DesiredState - implements com.google.protobuf.ProtocolMessageEnum { + public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
          * Unspecified is invalid.
          * 
@@ -5802,6 +6582,8 @@ public enum DesiredState */ DESIRED_STATE_UNSPECIFIED(0), /** + * + * *
          * Ensure that the package is installed.
          * 
@@ -5810,6 +6592,8 @@ public enum DesiredState */ INSTALLED(1), /** + * + * *
          * The agent ensures that the package is not installed and
          * uninstalls it if detected.
@@ -5822,6 +6606,8 @@ public enum DesiredState
         ;
 
         /**
+         *
+         *
          * 
          * Unspecified is invalid.
          * 
@@ -5830,6 +6616,8 @@ public enum DesiredState */ public static final int DESIRED_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
          * Ensure that the package is installed.
          * 
@@ -5838,6 +6626,8 @@ public enum DesiredState */ public static final int INSTALLED_VALUE = 1; /** + * + * *
          * The agent ensures that the package is not installed and
          * uninstalls it if detected.
@@ -5847,7 +6637,6 @@ public enum DesiredState
          */
         public static final int REMOVED_VALUE = 2;
 
-
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -5872,40 +6661,45 @@ public static DesiredState valueOf(int value) {
          */
         public static DesiredState forNumber(int value) {
           switch (value) {
-            case 0: return DESIRED_STATE_UNSPECIFIED;
-            case 1: return INSTALLED;
-            case 2: return REMOVED;
-            default: return null;
+            case 0:
+              return DESIRED_STATE_UNSPECIFIED;
+            case 1:
+              return INSTALLED;
+            case 2:
+              return REMOVED;
+            default:
+              return null;
           }
         }
 
-        public static com.google.protobuf.Internal.EnumLiteMap
-            internalGetValueMap() {
+        public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
           return internalValueMap;
         }
-        private static final com.google.protobuf.Internal.EnumLiteMap<
-            DesiredState> internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public DesiredState findValueByNumber(int number) {
-                  return DesiredState.forNumber(number);
-                }
-              };
 
-        public final com.google.protobuf.Descriptors.EnumValueDescriptor
-            getValueDescriptor() {
+        private static final com.google.protobuf.Internal.EnumLiteMap
+            internalValueMap =
+                new com.google.protobuf.Internal.EnumLiteMap() {
+                  public DesiredState findValueByNumber(int number) {
+                    return DesiredState.forNumber(number);
+                  }
+                };
+
+        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalStateException(
                 "Can't get the descriptor of an unrecognized enum value.");
           }
           return getDescriptor().getValues().get(ordinal());
         }
-        public final com.google.protobuf.Descriptors.EnumDescriptor
-            getDescriptorForType() {
+
+        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
           return getDescriptor();
         }
-        public static final com.google.protobuf.Descriptors.EnumDescriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDescriptor().getEnumTypes().get(0);
+
+        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDescriptor()
+              .getEnumTypes()
+              .get(0);
         }
 
         private static final DesiredState[] VALUES = values();
@@ -5914,7 +6708,7 @@ public static DesiredState valueOf(
             com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
           if (desc.getType() != getDescriptor()) {
             throw new java.lang.IllegalArgumentException(
-              "EnumValueDescriptor is not for this type.");
+                "EnumValueDescriptor is not for this type.");
           }
           if (desc.getIndex() == -1) {
             return UNRECOGNIZED;
@@ -5931,38 +6725,55 @@ private DesiredState(int value) {
         // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState)
       }
 
-      public interface DebOrBuilder extends
+      public interface DebOrBuilder
+          extends
           // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb)
           com.google.protobuf.MessageOrBuilder {
 
         /**
+         *
+         *
          * 
          * Required. A deb package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ boolean hasSource(); /** + * + * *
          * Required. A deb package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource(); /** + * + * *
          * Required. A deb package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder(); /** + * + * *
          * Whether dependencies should also be installed.
          * - install when false: `dpkg -i package`
@@ -5971,41 +6782,43 @@ public interface DebOrBuilder extends
          * 
* * bool pull_deps = 2; + * * @return The pullDeps. */ boolean getPullDeps(); } /** + * + * *
        * A deb package file. dpkg packages only support INSTALLED state.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb} */ - public static final class Deb extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Deb extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) DebOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Deb.newBuilder() to construct. private Deb(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Deb() { - } + + private Deb() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Deb(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Deb( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -6024,31 +6837,36 @@ private Deb( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = null; - if (source_ != null) { - subBuilder = source_.toBuilder(); + case 10: + { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = + null; + if (source_ != null) { + subBuilder = source_.toBuilder(); + } + source_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(source_); + source_ = subBuilder.buildPartial(); + } + + break; } - source_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(source_); - source_ = subBuilder.buildPartial(); + case 16: + { + pullDeps_ = input.readBool(); + break; } - - break; - } - case 16: { - - pullDeps_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6056,34 +6874,43 @@ private Deb( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder + .class); } public static final int SOURCE_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source_; /** + * + * *
          * Required. A deb package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ @java.lang.Override @@ -6091,32 +6918,46 @@ public boolean hasSource() { return source_ != null; } /** + * + * *
          * Required. A deb package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource() { - return source_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() + : source_; } /** + * + * *
          * Required. A deb package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder + getSourceOrBuilder() { return getSource(); } public static final int PULL_DEPS_FIELD_NUMBER = 2; private boolean pullDeps_; /** + * + * *
          * Whether dependencies should also be installed.
          * - install when false: `dpkg -i package`
@@ -6125,6 +6966,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSour
          * 
* * bool pull_deps = 2; + * * @return The pullDeps. */ @java.lang.Override @@ -6133,6 +6975,7 @@ public boolean getPullDeps() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6145,7 +6988,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (source_ != null) { output.writeMessage(1, getSource()); } @@ -6162,12 +7005,10 @@ public int getSerializedSize() { size = 0; if (source_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSource()); } if (pullDeps_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, pullDeps_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, pullDeps_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6177,20 +7018,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) obj; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource() - .equals(other.getSource())) return false; + if (!getSource().equals(other.getSource())) return false; } - if (getPullDeps() - != other.getPullDeps()) return false; + if (getPullDeps() != other.getPullDeps()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6207,95 +7048,111 @@ public int hashCode() { hash = (53 * hash) + getSource().hashCode(); } hash = (37 * hash) + PULL_DEPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getPullDeps()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPullDeps()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6305,44 +7162,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * A deb package file. dpkg packages only support INSTALLED state.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -6358,19 +7221,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb result = buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -6378,8 +7244,10 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb b } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb result = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb(this); if (sourceBuilder_ == null) { result.source_ = source_; } else { @@ -6394,46 +7262,55 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + .getDefaultInstance()) return this; if (other.hasSource()) { mergeSource(other.getSource()); } @@ -6455,11 +7332,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6471,39 +7351,58 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> sourceBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> + sourceBuilder_; /** + * + * *
            * Required. A deb package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ public boolean hasSource() { return sourceBuilder_ != null || source_ != null; } /** + * + * *
            * Required. A deb package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource() { if (sourceBuilder_ == null) { - return source_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() + : source_; } else { return sourceBuilder_.getMessage(); } } /** + * + * *
            * Required. A deb package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { @@ -6519,11 +7418,15 @@ public Builder setSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Fil return this; } /** + * + * *
            * Required. A deb package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSource( com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder builderForValue) { @@ -6537,17 +7440,24 @@ public Builder setSource( return this; } /** + * + * *
            * Required. A deb package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { + public Builder mergeSource( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { if (source_ != null) { source_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder(source_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder(source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -6559,11 +7469,15 @@ public Builder mergeSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.F return this; } /** + * + * *
            * Required. A deb package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSource() { if (sourceBuilder_ == null) { @@ -6577,55 +7491,75 @@ public Builder clearSource() { return this; } /** + * + * *
            * Required. A deb package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder getSourceBuilder() { - + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder + getSourceBuilder() { + onChanged(); return getSourceFieldBuilder().getBuilder(); } /** + * + * *
            * Required. A deb package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder + getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null ? - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() + : source_; } } /** + * + * *
            * Required. A deb package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( - getSource(), - getParentForChildren(), - isClean()); + sourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( + getSource(), getParentForChildren(), isClean()); source_ = null; } return sourceBuilder_; } - private boolean pullDeps_ ; + private boolean pullDeps_; /** + * + * *
            * Whether dependencies should also be installed.
            * - install when false: `dpkg -i package`
@@ -6634,6 +7568,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSour
            * 
* * bool pull_deps = 2; + * * @return The pullDeps. */ @java.lang.Override @@ -6641,6 +7576,8 @@ public boolean getPullDeps() { return pullDeps_; } /** + * + * *
            * Whether dependencies should also be installed.
            * - install when false: `dpkg -i package`
@@ -6649,16 +7586,19 @@ public boolean getPullDeps() {
            * 
* * bool pull_deps = 2; + * * @param value The pullDeps to set. * @return This builder for chaining. */ public Builder setPullDeps(boolean value) { - + pullDeps_ = value; onChanged(); return this; } /** + * + * *
            * Whether dependencies should also be installed.
            * - install when false: `dpkg -i package`
@@ -6667,14 +7607,16 @@ public Builder setPullDeps(boolean value) {
            * 
* * bool pull_deps = 2; + * * @return This builder for chaining. */ public Builder clearPullDeps() { - + pullDeps_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6687,30 +7629,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Deb parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Deb(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Deb parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Deb(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6722,37 +7667,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface APTOrBuilder extends + public interface APTOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
        * A package managed by APT.
        * - install: `apt-get update && apt-get -y install [name]`
@@ -6761,31 +7714,31 @@ public interface APTOrBuilder extends
        *
        * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT}
        */
-      public static final class APT extends
-          com.google.protobuf.GeneratedMessageV3 implements
+      public static final class APT extends com.google.protobuf.GeneratedMessageV3
+          implements
           // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT)
           APTOrBuilder {
-      private static final long serialVersionUID = 0L;
+        private static final long serialVersionUID = 0L;
         // Use APT.newBuilder() to construct.
         private APT(com.google.protobuf.GeneratedMessageV3.Builder builder) {
           super(builder);
         }
+
         private APT() {
           name_ = "";
         }
 
         @java.lang.Override
         @SuppressWarnings({"unused"})
-        protected java.lang.Object newInstance(
-            UnusedPrivateParameter unused) {
+        protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
           return new APT();
         }
 
         @java.lang.Override
-        public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
+        public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
           return this.unknownFields;
         }
+
         private APT(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -6804,19 +7757,20 @@ private APT(
                 case 0:
                   done = true;
                   break;
-                case 10: {
-                  java.lang.String s = input.readStringRequireUtf8();
+                case 10:
+                  {
+                    java.lang.String s = input.readStringRequireUtf8();
 
-                  name_ = s;
-                  break;
-                }
-                default: {
-                  if (!parseUnknownField(
-                      input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
+                    name_ = s;
+                    break;
+                  }
+                default:
+                  {
+                    if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                      done = true;
+                    }
+                    break;
                   }
-                  break;
-                }
               }
             }
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6824,34 +7778,42 @@ private APT(
           } catch (com.google.protobuf.UninitializedMessageException e) {
             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(
-                e).setUnfinishedMessage(this);
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor;
+
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+              .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable
+          return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+              .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder.class);
+                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.class,
+                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT
+                      .Builder
+                      .class);
         }
 
         public static final int NAME_FIELD_NUMBER = 1;
         private volatile java.lang.Object name_;
         /**
+         *
+         *
          * 
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -6860,29 +7822,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6891,6 +7853,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6903,7 +7866,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -6927,15 +7890,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6954,88 +7918,105 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7045,6 +8026,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * A package managed by APT.
          * - install: `apt-get update && apt-get -y install [name]`
@@ -7053,38 +8036,43 @@ protected Builder newBuilderForType(
          *
          * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT}
          */
-        public static final class Builder extends
-            com.google.protobuf.GeneratedMessageV3.Builder implements
+        public static final class Builder
+            extends com.google.protobuf.GeneratedMessageV3.Builder
+            implements
             // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT)
             com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder {
-          public static final com.google.protobuf.Descriptors.Descriptor
-              getDescriptor() {
-            return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor;
+          public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+            return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+                .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor;
           }
 
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
-            return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable
+            return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+                .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
-                    com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder.class);
+                    com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.class,
+                    com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT
+                        .Builder
+                        .class);
           }
 
-          // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.newBuilder()
+          // Construct using
+          // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.newBuilder()
           private Builder() {
             maybeForceBuilderInitialization();
           }
 
-          private Builder(
-              com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+          private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
             super(parent);
             maybeForceBuilderInitialization();
           }
+
           private void maybeForceBuilderInitialization() {
-            if (com.google.protobuf.GeneratedMessageV3
-                    .alwaysUseFieldBuilders) {
-            }
+            if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
           }
+
           @java.lang.Override
           public Builder clear() {
             super.clear();
@@ -7094,19 +8082,22 @@ public Builder clear() {
           }
 
           @java.lang.Override
-          public com.google.protobuf.Descriptors.Descriptor
-              getDescriptorForType() {
-            return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor;
+          public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+            return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+                .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor;
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT getDefaultInstanceForType() {
-            return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.getDefaultInstance();
+          public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT
+              getDefaultInstanceForType() {
+            return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT
+                .getDefaultInstance();
           }
 
           @java.lang.Override
           public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT build() {
-            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT result = buildPartial();
+            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT result =
+                buildPartial();
             if (!result.isInitialized()) {
               throw newUninitializedMessageException(result);
             }
@@ -7114,8 +8105,10 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT b
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT buildPartial() {
-            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT(this);
+          public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT
+              buildPartial() {
+            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT result =
+                new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT(this);
             result.name_ = name_;
             onBuilt();
             return result;
@@ -7125,46 +8118,55 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT b
           public Builder clone() {
             return super.clone();
           }
+
           @java.lang.Override
           public Builder setField(
-              com.google.protobuf.Descriptors.FieldDescriptor field,
-              java.lang.Object value) {
+              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) {
+          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) {
+          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) {
+              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) {
+              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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) {
-              return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT)other);
+            if (other
+                instanceof
+                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) {
+              return mergeFrom(
+                  (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) other);
             } else {
               super.mergeFrom(other);
               return this;
             }
           }
 
-          public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT other) {
-            if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.getDefaultInstance()) return this;
+          public Builder mergeFrom(
+              com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT other) {
+            if (other
+                == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT
+                    .getDefaultInstance()) return this;
             if (!other.getName().isEmpty()) {
               name_ = other.name_;
               onChanged();
@@ -7184,11 +8186,14 @@ public Builder mergeFrom(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws java.io.IOException {
-            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parsedMessage = null;
+            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT parsedMessage =
+                null;
             try {
               parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) e.getUnfinishedMessage();
+              parsedMessage =
+                  (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT)
+                      e.getUnfinishedMessage();
               throw e.unwrapIOException();
             } finally {
               if (parsedMessage != null) {
@@ -7200,18 +8205,20 @@ public Builder mergeFrom(
 
           private java.lang.Object name_ = "";
           /**
+           *
+           *
            * 
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -7220,20 +8227,21 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -7241,58 +8249,66 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7305,30 +8321,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public APT parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new APT(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public APT parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new APT(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7340,44 +8359,61 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface RPMOrBuilder extends + public interface RPMOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. An rpm package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ boolean hasSource(); /** + * + * *
          * Required. An rpm package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource(); /** + * + * *
          * Required. An rpm package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder(); /** + * + * *
          * Whether dependencies should also be installed.
          * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -7386,41 +8422,43 @@ public interface RPMOrBuilder extends
          * 
* * bool pull_deps = 2; + * * @return The pullDeps. */ boolean getPullDeps(); } /** + * + * *
        * An RPM package file. RPM packages only support INSTALLED state.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM} */ - public static final class RPM extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class RPM extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) RPMOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RPM.newBuilder() to construct. private RPM(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RPM() { - } + + private RPM() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RPM(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RPM( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7439,31 +8477,36 @@ private RPM( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = null; - if (source_ != null) { - subBuilder = source_.toBuilder(); + case 10: + { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = + null; + if (source_ != null) { + subBuilder = source_.toBuilder(); + } + source_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(source_); + source_ = subBuilder.buildPartial(); + } + + break; } - source_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(source_); - source_ = subBuilder.buildPartial(); + case 16: + { + pullDeps_ = input.readBool(); + break; } - - break; - } - case 16: { - - pullDeps_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7471,34 +8514,44 @@ private RPM( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + .Builder + .class); } public static final int SOURCE_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source_; /** + * + * *
          * Required. An rpm package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ @java.lang.Override @@ -7506,32 +8559,46 @@ public boolean hasSource() { return source_ != null; } /** + * + * *
          * Required. An rpm package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource() { - return source_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() + : source_; } /** + * + * *
          * Required. An rpm package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder + getSourceOrBuilder() { return getSource(); } public static final int PULL_DEPS_FIELD_NUMBER = 2; private boolean pullDeps_; /** + * + * *
          * Whether dependencies should also be installed.
          * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -7540,6 +8607,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSour
          * 
* * bool pull_deps = 2; + * * @return The pullDeps. */ @java.lang.Override @@ -7548,6 +8616,7 @@ public boolean getPullDeps() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7560,7 +8629,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (source_ != null) { output.writeMessage(1, getSource()); } @@ -7577,12 +8646,10 @@ public int getSerializedSize() { size = 0; if (source_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSource()); } if (pullDeps_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, pullDeps_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, pullDeps_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7592,20 +8659,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) obj; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource() - .equals(other.getSource())) return false; + if (!getSource().equals(other.getSource())) return false; } - if (getPullDeps() - != other.getPullDeps()) return false; + if (getPullDeps() != other.getPullDeps()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7622,95 +8689,111 @@ public int hashCode() { hash = (53 * hash) + getSource().hashCode(); } hash = (37 * hash) + PULL_DEPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getPullDeps()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPullDeps()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7720,44 +8803,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * An RPM package file. RPM packages only support INSTALLED state.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + .Builder + .class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -7773,19 +8863,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM result = buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -7793,8 +8886,10 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM b } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM result = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM(this); if (sourceBuilder_ == null) { result.source_ = source_; } else { @@ -7809,46 +8904,55 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + .getDefaultInstance()) return this; if (other.hasSource()) { mergeSource(other.getSource()); } @@ -7870,11 +8974,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7886,39 +8993,58 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> sourceBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> + sourceBuilder_; /** + * + * *
            * Required. An rpm package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ public boolean hasSource() { return sourceBuilder_ != null || source_ != null; } /** + * + * *
            * Required. An rpm package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource() { if (sourceBuilder_ == null) { - return source_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() + : source_; } else { return sourceBuilder_.getMessage(); } } /** + * + * *
            * Required. An rpm package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { @@ -7934,11 +9060,15 @@ public Builder setSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Fil return this; } /** + * + * *
            * Required. An rpm package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSource( com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder builderForValue) { @@ -7952,17 +9082,24 @@ public Builder setSource( return this; } /** + * + * *
            * Required. An rpm package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { + public Builder mergeSource( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { if (source_ != null) { source_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder(source_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder(source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -7974,11 +9111,15 @@ public Builder mergeSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.F return this; } /** + * + * *
            * Required. An rpm package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSource() { if (sourceBuilder_ == null) { @@ -7992,55 +9133,75 @@ public Builder clearSource() { return this; } /** + * + * *
            * Required. An rpm package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder getSourceBuilder() { - + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder + getSourceBuilder() { + onChanged(); return getSourceFieldBuilder().getBuilder(); } /** + * + * *
            * Required. An rpm package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder + getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null ? - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() + : source_; } } /** + * + * *
            * Required. An rpm package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( - getSource(), - getParentForChildren(), - isClean()); + sourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( + getSource(), getParentForChildren(), isClean()); source_ = null; } return sourceBuilder_; } - private boolean pullDeps_ ; + private boolean pullDeps_; /** + * + * *
            * Whether dependencies should also be installed.
            * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -8049,6 +9210,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSour
            * 
* * bool pull_deps = 2; + * * @return The pullDeps. */ @java.lang.Override @@ -8056,6 +9218,8 @@ public boolean getPullDeps() { return pullDeps_; } /** + * + * *
            * Whether dependencies should also be installed.
            * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -8064,16 +9228,19 @@ public boolean getPullDeps() {
            * 
* * bool pull_deps = 2; + * * @param value The pullDeps to set. * @return This builder for chaining. */ public Builder setPullDeps(boolean value) { - + pullDeps_ = value; onChanged(); return this; } /** + * + * *
            * Whether dependencies should also be installed.
            * - install when false: `rpm --upgrade --replacepkgs package.rpm`
@@ -8082,14 +9249,16 @@ public Builder setPullDeps(boolean value) {
            * 
* * bool pull_deps = 2; + * * @return This builder for chaining. */ public Builder clearPullDeps() { - + pullDeps_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8102,30 +9271,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RPM parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RPM(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RPM parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RPM(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8137,37 +9309,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface YUMOrBuilder extends + public interface YUMOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
        * A package managed by YUM.
        * - install: `yum -y install package`
@@ -8176,31 +9356,31 @@ public interface YUMOrBuilder extends
        *
        * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM}
        */
-      public static final class YUM extends
-          com.google.protobuf.GeneratedMessageV3 implements
+      public static final class YUM extends com.google.protobuf.GeneratedMessageV3
+          implements
           // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM)
           YUMOrBuilder {
-      private static final long serialVersionUID = 0L;
+        private static final long serialVersionUID = 0L;
         // Use YUM.newBuilder() to construct.
         private YUM(com.google.protobuf.GeneratedMessageV3.Builder builder) {
           super(builder);
         }
+
         private YUM() {
           name_ = "";
         }
 
         @java.lang.Override
         @SuppressWarnings({"unused"})
-        protected java.lang.Object newInstance(
-            UnusedPrivateParameter unused) {
+        protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
           return new YUM();
         }
 
         @java.lang.Override
-        public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
+        public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
           return this.unknownFields;
         }
+
         private YUM(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8219,19 +9399,20 @@ private YUM(
                 case 0:
                   done = true;
                   break;
-                case 10: {
-                  java.lang.String s = input.readStringRequireUtf8();
+                case 10:
+                  {
+                    java.lang.String s = input.readStringRequireUtf8();
 
-                  name_ = s;
-                  break;
-                }
-                default: {
-                  if (!parseUnknownField(
-                      input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
+                    name_ = s;
+                    break;
+                  }
+                default:
+                  {
+                    if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                      done = true;
+                    }
+                    break;
                   }
-                  break;
-                }
               }
             }
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8239,34 +9420,42 @@ private YUM(
           } catch (com.google.protobuf.UninitializedMessageException e) {
             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(
-                e).setUnfinishedMessage(this);
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor;
+
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+              .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable
+          return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+              .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder.class);
+                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.class,
+                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM
+                      .Builder
+                      .class);
         }
 
         public static final int NAME_FIELD_NUMBER = 1;
         private volatile java.lang.Object name_;
         /**
+         *
+         *
          * 
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -8275,29 +9464,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -8306,6 +9495,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8318,7 +9508,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -8342,15 +9532,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8369,88 +9560,105 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8460,6 +9668,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * A package managed by YUM.
          * - install: `yum -y install package`
@@ -8468,38 +9678,43 @@ protected Builder newBuilderForType(
          *
          * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM}
          */
-        public static final class Builder extends
-            com.google.protobuf.GeneratedMessageV3.Builder implements
+        public static final class Builder
+            extends com.google.protobuf.GeneratedMessageV3.Builder
+            implements
             // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM)
             com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder {
-          public static final com.google.protobuf.Descriptors.Descriptor
-              getDescriptor() {
-            return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor;
+          public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+            return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+                .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor;
           }
 
           @java.lang.Override
           protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
               internalGetFieldAccessorTable() {
-            return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable
+            return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+                .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable
                 .ensureFieldAccessorsInitialized(
-                    com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder.class);
+                    com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.class,
+                    com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM
+                        .Builder
+                        .class);
           }
 
-          // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.newBuilder()
+          // Construct using
+          // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.newBuilder()
           private Builder() {
             maybeForceBuilderInitialization();
           }
 
-          private Builder(
-              com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+          private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
             super(parent);
             maybeForceBuilderInitialization();
           }
+
           private void maybeForceBuilderInitialization() {
-            if (com.google.protobuf.GeneratedMessageV3
-                    .alwaysUseFieldBuilders) {
-            }
+            if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
           }
+
           @java.lang.Override
           public Builder clear() {
             super.clear();
@@ -8509,19 +9724,22 @@ public Builder clear() {
           }
 
           @java.lang.Override
-          public com.google.protobuf.Descriptors.Descriptor
-              getDescriptorForType() {
-            return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor;
+          public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+            return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+                .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor;
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM getDefaultInstanceForType() {
-            return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance();
+          public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM
+              getDefaultInstanceForType() {
+            return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM
+                .getDefaultInstance();
           }
 
           @java.lang.Override
           public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM build() {
-            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM result = buildPartial();
+            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM result =
+                buildPartial();
             if (!result.isInitialized()) {
               throw newUninitializedMessageException(result);
             }
@@ -8529,8 +9747,10 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM b
           }
 
           @java.lang.Override
-          public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM buildPartial() {
-            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM(this);
+          public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM
+              buildPartial() {
+            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM result =
+                new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM(this);
             result.name_ = name_;
             onBuilt();
             return result;
@@ -8540,46 +9760,55 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM b
           public Builder clone() {
             return super.clone();
           }
+
           @java.lang.Override
           public Builder setField(
-              com.google.protobuf.Descriptors.FieldDescriptor field,
-              java.lang.Object value) {
+              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) {
+          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) {
+          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) {
+              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) {
+              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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) {
-              return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM)other);
+            if (other
+                instanceof
+                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) {
+              return mergeFrom(
+                  (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) other);
             } else {
               super.mergeFrom(other);
               return this;
             }
           }
 
-          public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM other) {
-            if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance()) return this;
+          public Builder mergeFrom(
+              com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM other) {
+            if (other
+                == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM
+                    .getDefaultInstance()) return this;
             if (!other.getName().isEmpty()) {
               name_ = other.name_;
               onChanged();
@@ -8599,11 +9828,14 @@ public Builder mergeFrom(
               com.google.protobuf.CodedInputStream input,
               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
               throws java.io.IOException {
-            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parsedMessage = null;
+            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM parsedMessage =
+                null;
             try {
               parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
             } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) e.getUnfinishedMessage();
+              parsedMessage =
+                  (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM)
+                      e.getUnfinishedMessage();
               throw e.unwrapIOException();
             } finally {
               if (parsedMessage != null) {
@@ -8615,18 +9847,20 @@ public Builder mergeFrom(
 
           private java.lang.Object name_ = "";
           /**
+           *
+           *
            * 
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -8635,20 +9869,21 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -8656,58 +9891,66 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8720,30 +9963,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YUM parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YUM(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YUM parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YUM(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8755,70 +10001,79 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ZypperOrBuilder extends + public interface ZypperOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
        * A package managed by Zypper.
        * - install: `zypper -y install package`
        * - remove: `zypper -y rm package`
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper} */ - public static final class Zypper extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Zypper extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) ZypperOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Zypper.newBuilder() to construct. private Zypper(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Zypper() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Zypper(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Zypper( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -8837,19 +10092,20 @@ private Zypper( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8857,34 +10113,41 @@ private Zypper( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -8893,29 +10156,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -8924,6 +10187,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8936,7 +10200,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -8960,15 +10224,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8987,88 +10253,105 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9078,46 +10361,54 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * A package managed by Zypper.
          * - install: `zypper -y install package`
          * - remove: `zypper -y rm package`
          * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + .class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -9127,19 +10418,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + build() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -9147,8 +10442,11 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zyppe } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper result = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper( + this); result.name_ = name_; onBuilt(); return result; @@ -9158,46 +10456,56 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zyppe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -9217,11 +10525,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9233,18 +10544,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -9253,20 +10566,21 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -9274,58 +10588,66 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9338,30 +10660,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .Zypper + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Zypper parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Zypper(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Zypper parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Zypper(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9373,70 +10699,79 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GooGetOrBuilder extends + public interface GooGetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
        * A package managed by GooGet.
        * - install: `googet -noconfirm install package`
        * - remove: `googet -noconfirm remove package`
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet} */ - public static final class GooGet extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GooGet extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) GooGetOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GooGet.newBuilder() to construct. private GooGet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GooGet() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GooGet(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GooGet( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -9455,19 +10790,20 @@ private GooGet( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9475,34 +10811,41 @@ private GooGet( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -9511,29 +10854,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
          * Required. Package name.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -9542,6 +10885,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9554,7 +10898,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -9578,15 +10922,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9605,88 +10951,105 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9696,46 +11059,54 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * A package managed by GooGet.
          * - install: `googet -noconfirm install package`
          * - remove: `googet -noconfirm remove package`
          * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + .class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -9745,19 +11116,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + build() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -9765,8 +11140,11 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGe } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet result = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet( + this); result.name_ = name_; onBuilt(); return result; @@ -9776,46 +11154,56 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -9835,11 +11223,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9851,18 +11242,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -9871,20 +11264,21 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -9892,58 +11286,66 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
            * Required. Package name.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9956,30 +11358,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .GooGet + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GooGet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GooGet(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GooGet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GooGet(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9991,44 +11397,61 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface MSIOrBuilder extends + public interface MSIOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. The MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ boolean hasSource(); /** + * + * *
          * Required. The MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource(); /** + * + * *
          * Required. The MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder(); /** + * + * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -10037,11 +11460,13 @@ public interface MSIOrBuilder extends
          * 
* * repeated string properties = 2; + * * @return A list containing the properties. */ - java.util.List - getPropertiesList(); + java.util.List getPropertiesList(); /** + * + * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -10050,10 +11475,13 @@ public interface MSIOrBuilder extends
          * 
* * repeated string properties = 2; + * * @return The count of properties. */ int getPropertiesCount(); /** + * + * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -10062,11 +11490,14 @@ public interface MSIOrBuilder extends
          * 
* * repeated string properties = 2; + * * @param index The index of the element to return. * @return The properties at the given index. */ java.lang.String getProperties(int index); /** + * + * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -10075,44 +11506,46 @@ public interface MSIOrBuilder extends
          * 
* * repeated string properties = 2; + * * @param index The index of the value to return. * @return The bytes of the properties at the given index. */ - com.google.protobuf.ByteString - getPropertiesBytes(int index); + com.google.protobuf.ByteString getPropertiesBytes(int index); } /** + * + * *
        * An MSI package. MSI packages only support INSTALLED state.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI} */ - public static final class MSI extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class MSI extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) MSIOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MSI.newBuilder() to construct. private MSI(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MSI() { properties_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MSI(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MSI( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10132,35 +11565,41 @@ private MSI( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = null; - if (source_ != null) { - subBuilder = source_.toBuilder(); + case 10: + { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = + null; + if (source_ != null) { + subBuilder = source_.toBuilder(); + } + source_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(source_); + source_ = subBuilder.buildPartial(); + } + + break; } - source_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(source_); - source_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - properties_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + properties_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + properties_.add(s); + break; } - properties_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10168,8 +11607,8 @@ private MSI( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { properties_ = properties_.getUnmodifiableView(); @@ -10178,27 +11617,37 @@ private MSI( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + .Builder + .class); } public static final int SOURCE_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source_; /** + * + * *
          * Required. The MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ @java.lang.Override @@ -10206,32 +11655,46 @@ public boolean hasSource() { return source_ != null; } /** + * + * *
          * Required. The MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource() { - return source_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() + : source_; } /** + * + * *
          * Required. The MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder + getSourceOrBuilder() { return getSource(); } public static final int PROPERTIES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList properties_; /** + * + * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -10240,13 +11703,15 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSour
          * 
* * repeated string properties = 2; + * * @return A list containing the properties. */ - public com.google.protobuf.ProtocolStringList - getPropertiesList() { + public com.google.protobuf.ProtocolStringList getPropertiesList() { return properties_; } /** + * + * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -10255,12 +11720,15 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSour
          * 
* * repeated string properties = 2; + * * @return The count of properties. */ public int getPropertiesCount() { return properties_.size(); } /** + * + * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -10269,6 +11737,7 @@ public int getPropertiesCount() {
          * 
* * repeated string properties = 2; + * * @param index The index of the element to return. * @return The properties at the given index. */ @@ -10276,6 +11745,8 @@ public java.lang.String getProperties(int index) { return properties_.get(index); } /** + * + * *
          * Additional properties to use during installation.
          * This should be in the format of Property=Setting.
@@ -10284,15 +11755,16 @@ public java.lang.String getProperties(int index) {
          * 
* * repeated string properties = 2; + * * @param index The index of the value to return. * @return The bytes of the properties at the given index. */ - public com.google.protobuf.ByteString - getPropertiesBytes(int index) { + public com.google.protobuf.ByteString getPropertiesBytes(int index) { return properties_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10305,7 +11777,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (source_ != null) { output.writeMessage(1, getSource()); } @@ -10322,8 +11794,7 @@ public int getSerializedSize() { size = 0; if (source_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSource()); } { int dataSize = 0; @@ -10341,20 +11812,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) obj; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource() - .equals(other.getSource())) return false; + if (!getSource().equals(other.getSource())) return false; } - if (!getPropertiesList() - .equals(other.getPropertiesList())) return false; + if (!getPropertiesList().equals(other.getPropertiesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -10379,88 +11850,105 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10470,44 +11958,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * An MSI package. MSI packages only support INSTALLED state.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + .Builder + .class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -10523,19 +12018,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI result = buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -10543,8 +12041,10 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI b } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI result = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI(this); int from_bitField0_ = bitField0_; if (sourceBuilder_ == null) { result.source_ = source_; @@ -10564,46 +12064,55 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + .getDefaultInstance()) return this; if (other.hasSource()) { mergeSource(other.getSource()); } @@ -10632,11 +12141,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -10645,43 +12157,63 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> sourceBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> + sourceBuilder_; /** + * + * *
            * Required. The MSI package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ public boolean hasSource() { return sourceBuilder_ != null || source_ != null; } /** + * + * *
            * Required. The MSI package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getSource() { if (sourceBuilder_ == null) { - return source_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() + : source_; } else { return sourceBuilder_.getMessage(); } } /** + * + * *
            * Required. The MSI package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { @@ -10697,11 +12229,15 @@ public Builder setSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Fil return this; } /** + * + * *
            * Required. The MSI package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSource( com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder builderForValue) { @@ -10715,17 +12251,24 @@ public Builder setSource( return this; } /** + * + * *
            * Required. The MSI package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { + public Builder mergeSource( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { if (sourceBuilder_ == null) { if (source_ != null) { source_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder(source_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder(source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -10737,11 +12280,15 @@ public Builder mergeSource(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.F return this; } /** + * + * *
            * Required. The MSI package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSource() { if (sourceBuilder_ == null) { @@ -10755,61 +12302,83 @@ public Builder clearSource() { return this; } /** + * + * *
            * Required. The MSI package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder getSourceBuilder() { - + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder + getSourceBuilder() { + onChanged(); return getSourceFieldBuilder().getBuilder(); } /** + * + * *
            * Required. The MSI package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getSourceOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder + getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null ? - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance() + : source_; } } /** + * + * *
            * Required. The MSI package.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( - getSource(), - getParentForChildren(), - isClean()); + sourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( + getSource(), getParentForChildren(), isClean()); source_ = null; } return sourceBuilder_; } - private com.google.protobuf.LazyStringList properties_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList properties_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePropertiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { properties_ = new com.google.protobuf.LazyStringArrayList(properties_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -10818,13 +12387,15 @@ private void ensurePropertiesIsMutable() {
            * 
* * repeated string properties = 2; + * * @return A list containing the properties. */ - public com.google.protobuf.ProtocolStringList - getPropertiesList() { + public com.google.protobuf.ProtocolStringList getPropertiesList() { return properties_.getUnmodifiableView(); } /** + * + * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -10833,12 +12404,15 @@ private void ensurePropertiesIsMutable() {
            * 
* * repeated string properties = 2; + * * @return The count of properties. */ public int getPropertiesCount() { return properties_.size(); } /** + * + * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -10847,6 +12421,7 @@ public int getPropertiesCount() {
            * 
* * repeated string properties = 2; + * * @param index The index of the element to return. * @return The properties at the given index. */ @@ -10854,6 +12429,8 @@ public java.lang.String getProperties(int index) { return properties_.get(index); } /** + * + * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -10862,14 +12439,16 @@ public java.lang.String getProperties(int index) {
            * 
* * repeated string properties = 2; + * * @param index The index of the value to return. * @return The bytes of the properties at the given index. */ - public com.google.protobuf.ByteString - getPropertiesBytes(int index) { + public com.google.protobuf.ByteString getPropertiesBytes(int index) { return properties_.getByteString(index); } /** + * + * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -10878,21 +12457,23 @@ public java.lang.String getProperties(int index) {
            * 
* * repeated string properties = 2; + * * @param index The index to set the value at. * @param value The properties to set. * @return This builder for chaining. */ - public Builder setProperties( - int index, java.lang.String value) { + public Builder setProperties(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePropertiesIsMutable(); + throw new NullPointerException(); + } + ensurePropertiesIsMutable(); properties_.set(index, value); onChanged(); return this; } /** + * + * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -10901,20 +12482,22 @@ public Builder setProperties(
            * 
* * repeated string properties = 2; + * * @param value The properties to add. * @return This builder for chaining. */ - public Builder addProperties( - java.lang.String value) { + public Builder addProperties(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePropertiesIsMutable(); + throw new NullPointerException(); + } + ensurePropertiesIsMutable(); properties_.add(value); onChanged(); return this; } /** + * + * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -10923,18 +12506,19 @@ public Builder addProperties(
            * 
* * repeated string properties = 2; + * * @param values The properties to add. * @return This builder for chaining. */ - public Builder addAllProperties( - java.lang.Iterable values) { + public Builder addAllProperties(java.lang.Iterable values) { ensurePropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, properties_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, properties_); onChanged(); return this; } /** + * + * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -10943,6 +12527,7 @@ public Builder addAllProperties(
            * 
* * repeated string properties = 2; + * * @return This builder for chaining. */ public Builder clearProperties() { @@ -10952,6 +12537,8 @@ public Builder clearProperties() { return this; } /** + * + * *
            * Additional properties to use during installation.
            * This should be in the format of Property=Setting.
@@ -10960,20 +12547,21 @@ public Builder clearProperties() {
            * 
* * repeated string properties = 2; + * * @param value The bytes of the properties to add. * @return This builder for chaining. */ - public Builder addPropertiesBytes( - com.google.protobuf.ByteString value) { + public Builder addPropertiesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePropertiesIsMutable(); properties_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10986,30 +12574,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MSI parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MSI(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MSI parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MSI(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11021,16 +12612,18 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int systemPackageCase_ = 0; private java.lang.Object systemPackage_; + public enum SystemPackageCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { APT(2), DEB(3), @@ -11041,6 +12634,7 @@ public enum SystemPackageCase MSI(8), SYSTEMPACKAGE_NOT_SET(0); private final int value; + private SystemPackageCase(int value) { this.value = value; } @@ -11056,62 +12650,91 @@ public static SystemPackageCase valueOf(int value) { public static SystemPackageCase forNumber(int value) { switch (value) { - case 2: return APT; - case 3: return DEB; - case 4: return YUM; - case 5: return ZYPPER; - case 6: return RPM; - case 7: return GOOGET; - case 8: return MSI; - case 0: return SYSTEMPACKAGE_NOT_SET; - default: return null; + case 2: + return APT; + case 3: + return DEB; + case 4: + return YUM; + case 5: + return ZYPPER; + case 6: + return RPM; + case 7: + return GOOGET; + case 8: + return MSI; + case 0: + return SYSTEMPACKAGE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SystemPackageCase - getSystemPackageCase() { - return SystemPackageCase.forNumber( - systemPackageCase_); + public SystemPackageCase getSystemPackageCase() { + return SystemPackageCase.forNumber(systemPackageCase_); } public static final int DESIRED_STATE_FIELD_NUMBER = 1; private int desiredState_; /** + * + * *
        * Required. The desired state the agent should maintain for this package.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for desiredState. */ - @java.lang.Override public int getDesiredStateValue() { + @java.lang.Override + public int getDesiredStateValue() { return desiredState_; } /** + * + * *
        * Required. The desired state the agent should maintain for this package.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The desiredState. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState getDesiredState() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState + getDesiredState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState result = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState.valueOf(desiredState_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState result = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState + .valueOf(desiredState_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState + .UNRECOGNIZED + : result; } public static final int APT_FIELD_NUMBER = 2; /** + * + * *
        * A package managed by Apt.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * * @return Whether the apt field is set. */ @java.lang.Override @@ -11119,21 +12742,28 @@ public boolean hasApt() { return systemPackageCase_ == 2; } /** + * + * *
        * A package managed by Apt.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * * @return The apt. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT getApt() { if (systemPackageCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + .getDefaultInstance(); } /** + * + * *
        * A package managed by Apt.
        * 
@@ -11141,20 +12771,26 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT g * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder getAptOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder + getAptOrBuilder() { if (systemPackageCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + .getDefaultInstance(); } public static final int DEB_FIELD_NUMBER = 3; /** + * + * *
        * A deb package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * * @return Whether the deb field is set. */ @java.lang.Override @@ -11162,21 +12798,28 @@ public boolean hasDeb() { return systemPackageCase_ == 3; } /** + * + * *
        * A deb package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * * @return The deb. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb getDeb() { if (systemPackageCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + .getDefaultInstance(); } /** + * + * *
        * A deb package file.
        * 
@@ -11184,20 +12827,26 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb g * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder getDebOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder + getDebOrBuilder() { if (systemPackageCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + .getDefaultInstance(); } public static final int YUM_FIELD_NUMBER = 4; /** + * + * *
        * A package managed by YUM.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * * @return Whether the yum field is set. */ @java.lang.Override @@ -11205,21 +12854,28 @@ public boolean hasYum() { return systemPackageCase_ == 4; } /** + * + * *
        * A package managed by YUM.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * * @return The yum. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM getYum() { if (systemPackageCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + .getDefaultInstance(); } /** + * + * *
        * A package managed by YUM.
        * 
@@ -11227,20 +12883,27 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM g * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder getYumOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder + getYumOrBuilder() { if (systemPackageCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + .getDefaultInstance(); } public static final int ZYPPER_FIELD_NUMBER = 5; /** + * + * *
        * A package managed by Zypper.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * + * * @return Whether the zypper field is set. */ @java.lang.Override @@ -11248,42 +12911,58 @@ public boolean hasZypper() { return systemPackageCase_ == 5; } /** + * + * *
        * A package managed by Zypper.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * + * * @return The zypper. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper getZypper() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + getZypper() { if (systemPackageCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + .getDefaultInstance(); } /** + * + * *
        * A package managed by Zypper.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder getZypperOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder + getZypperOrBuilder() { if (systemPackageCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + .getDefaultInstance(); } public static final int RPM_FIELD_NUMBER = 6; /** + * + * *
        * An rpm package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * * @return Whether the rpm field is set. */ @java.lang.Override @@ -11291,21 +12970,28 @@ public boolean hasRpm() { return systemPackageCase_ == 6; } /** + * + * *
        * An rpm package file.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * * @return The rpm. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM getRpm() { if (systemPackageCase_ == 6) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + .getDefaultInstance(); } /** + * + * *
        * An rpm package file.
        * 
@@ -11313,20 +12999,27 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM g * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder getRpmOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder + getRpmOrBuilder() { if (systemPackageCase_ == 6) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + .getDefaultInstance(); } public static final int GOOGET_FIELD_NUMBER = 7; /** + * + * *
        * A package managed by GooGet.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * + * * @return Whether the googet field is set. */ @java.lang.Override @@ -11334,42 +13027,58 @@ public boolean hasGooget() { return systemPackageCase_ == 7; } /** + * + * *
        * A package managed by GooGet.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * + * * @return The googet. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet getGooget() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + getGooget() { if (systemPackageCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + .getDefaultInstance(); } /** + * + * *
        * A package managed by GooGet.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder getGoogetOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder + getGoogetOrBuilder() { if (systemPackageCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + .getDefaultInstance(); } public static final int MSI_FIELD_NUMBER = 8; /** + * + * *
        * An MSI package.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * * @return Whether the msi field is set. */ @java.lang.Override @@ -11377,21 +13086,28 @@ public boolean hasMsi() { return systemPackageCase_ == 8; } /** + * + * *
        * An MSI package.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * * @return The msi. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI getMsi() { if (systemPackageCase_ == 8) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + .getDefaultInstance(); } /** + * + * *
        * An MSI package.
        * 
@@ -11399,14 +13115,18 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI g * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder getMsiOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder + getMsiOrBuilder() { if (systemPackageCase_ == 8) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11418,31 +13138,54 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (desiredState_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (desiredState_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState + .DESIRED_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, desiredState_); } if (systemPackageCase_ == 2) { - output.writeMessage(2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_); + output.writeMessage( + 2, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) + systemPackage_); } if (systemPackageCase_ == 3) { - output.writeMessage(3, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_); + output.writeMessage( + 3, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) + systemPackage_); } if (systemPackageCase_ == 4) { - output.writeMessage(4, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_); + output.writeMessage( + 4, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) + systemPackage_); } if (systemPackageCase_ == 5) { - output.writeMessage(5, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_); + output.writeMessage( + 5, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) + systemPackage_); } if (systemPackageCase_ == 6) { - output.writeMessage(6, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_); + output.writeMessage( + 6, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) + systemPackage_); } if (systemPackageCase_ == 7) { - output.writeMessage(7, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_); + output.writeMessage( + 7, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) + systemPackage_); } if (systemPackageCase_ == 8) { - output.writeMessage(8, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_); + output.writeMessage( + 8, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) + systemPackage_); } unknownFields.writeTo(output); } @@ -11453,37 +13196,60 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (desiredState_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, desiredState_); + if (desiredState_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState + .DESIRED_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, desiredState_); } if (systemPackageCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) + systemPackage_); } if (systemPackageCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) + systemPackage_); } if (systemPackageCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) + systemPackage_); } if (systemPackageCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) + systemPackage_); } if (systemPackageCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) + systemPackage_); } if (systemPackageCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) + systemPackage_); } if (systemPackageCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) + systemPackage_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -11493,43 +13259,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) obj; if (desiredState_ != other.desiredState_) return false; if (!getSystemPackageCase().equals(other.getSystemPackageCase())) return false; switch (systemPackageCase_) { case 2: - if (!getApt() - .equals(other.getApt())) return false; + if (!getApt().equals(other.getApt())) return false; break; case 3: - if (!getDeb() - .equals(other.getDeb())) return false; + if (!getDeb().equals(other.getDeb())) return false; break; case 4: - if (!getYum() - .equals(other.getYum())) return false; + if (!getYum().equals(other.getYum())) return false; break; case 5: - if (!getZypper() - .equals(other.getZypper())) return false; + if (!getZypper().equals(other.getZypper())) return false; break; case 6: - if (!getRpm() - .equals(other.getRpm())) return false; + if (!getRpm().equals(other.getRpm())) return false; break; case 7: - if (!getGooget() - .equals(other.getGooget())) return false; + if (!getGooget().equals(other.getGooget())) return false; break; case 8: - if (!getMsi() - .equals(other.getMsi())) return false; + if (!getMsi().equals(other.getMsi())) return false; break; case 0: default: @@ -11585,87 +13345,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11675,44 +13444,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A resource that manages a system package.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -11724,19 +13499,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource result = buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -11745,7 +13523,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource build @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource(this); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource result = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource(this); result.desiredState_ = desiredState_; if (systemPackageCase_ == 2) { if (aptBuilder_ == null) { @@ -11805,81 +13584,97 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.PackageResource) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource)other); + if (other + instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .getDefaultInstance()) return this; if (other.desiredState_ != 0) { setDesiredStateValue(other.getDesiredStateValue()); } switch (other.getSystemPackageCase()) { - case APT: { - mergeApt(other.getApt()); - break; - } - case DEB: { - mergeDeb(other.getDeb()); - break; - } - case YUM: { - mergeYum(other.getYum()); - break; - } - case ZYPPER: { - mergeZypper(other.getZypper()); - break; - } - case RPM: { - mergeRpm(other.getRpm()); - break; - } - case GOOGET: { - mergeGooget(other.getGooget()); - break; - } - case MSI: { - mergeMsi(other.getMsi()); - break; - } - case SYSTEMPACKAGE_NOT_SET: { - break; - } + case APT: + { + mergeApt(other.getApt()); + break; + } + case DEB: + { + mergeDeb(other.getDeb()); + break; + } + case YUM: + { + mergeYum(other.getYum()); + break; + } + case ZYPPER: + { + mergeZypper(other.getZypper()); + break; + } + case RPM: + { + mergeRpm(other.getRpm()); + break; + } + case GOOGET: + { + mergeGooget(other.getGooget()); + break; + } + case MSI: + { + mergeMsi(other.getMsi()); + break; + } + case SYSTEMPACKAGE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -11900,7 +13695,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -11909,12 +13706,12 @@ public Builder mergeFrom( } return this; } + private int systemPackageCase_ = 0; private java.lang.Object systemPackage_; - public SystemPackageCase - getSystemPackageCase() { - return SystemPackageCase.forNumber( - systemPackageCase_); + + public SystemPackageCase getSystemPackageCase() { + return SystemPackageCase.forNumber(systemPackageCase_); } public Builder clearSystemPackage() { @@ -11924,89 +13721,129 @@ public Builder clearSystemPackage() { return this; } - private int desiredState_ = 0; /** + * + * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for desiredState. */ - @java.lang.Override public int getDesiredStateValue() { + @java.lang.Override + public int getDesiredStateValue() { return desiredState_; } /** + * + * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for desiredState to set. * @return This builder for chaining. */ public Builder setDesiredStateValue(int value) { - + desiredState_ = value; onChanged(); return this; } /** + * + * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The desiredState. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState getDesiredState() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState + getDesiredState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState result = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState.valueOf(desiredState_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState result = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState + .valueOf(desiredState_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState + .UNRECOGNIZED + : result; } /** + * + * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The desiredState to set. * @return This builder for chaining. */ - public Builder setDesiredState(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState value) { + public Builder setDesiredState( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState + value) { if (value == null) { throw new NullPointerException(); } - + desiredState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
          * Required. The desired state the agent should maintain for this package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearDesiredState() { - + desiredState_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder> aptBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder> + aptBuilder_; /** + * + * *
          * A package managed by Apt.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * + * * @return Whether the apt field is set. */ @java.lang.Override @@ -12014,35 +13851,46 @@ public boolean hasApt() { return systemPackageCase_ == 2; } /** + * + * *
          * A package managed by Apt.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * + * * @return The apt. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT getApt() { if (aptBuilder_ == null) { if (systemPackageCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + .getDefaultInstance(); } else { if (systemPackageCase_ == 2) { return aptBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + .getDefaultInstance(); } } /** + * + * *
          * A package managed by Apt.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * */ - public Builder setApt(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT value) { + public Builder setApt( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT value) { if (aptBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12056,14 +13904,18 @@ public Builder setApt(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Packag return this; } /** + * + * *
          * A package managed by Apt.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * */ public Builder setApt( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder + builderForValue) { if (aptBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -12074,18 +13926,29 @@ public Builder setApt( return this; } /** + * + * *
          * A package managed by Apt.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * */ - public Builder mergeApt(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT value) { + public Builder mergeApt( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT value) { if (aptBuilder_ == null) { - if (systemPackageCase_ == 2 && - systemPackage_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.getDefaultInstance()) { - systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_) - .mergeFrom(value).buildPartial(); + if (systemPackageCase_ == 2 + && systemPackage_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + .getDefaultInstance()) { + systemPackage_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + .newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) + systemPackage_) + .mergeFrom(value) + .buildPartial(); } else { systemPackage_ = value; } @@ -12101,11 +13964,14 @@ public Builder mergeApt(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Pack return this; } /** + * + * *
          * A package managed by Apt.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * */ public Builder clearApt() { if (aptBuilder_ == null) { @@ -12124,67 +13990,97 @@ public Builder clearApt() { return this; } /** + * + * *
          * A package managed by Apt.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder getAptBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder + getAptBuilder() { return getAptFieldBuilder().getBuilder(); } /** + * + * *
          * A package managed by Apt.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder getAptOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder + getAptOrBuilder() { if ((systemPackageCase_ == 2) && (aptBuilder_ != null)) { return aptBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + .getDefaultInstance(); } } /** + * + * *
          * A package managed by Apt.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder> getAptFieldBuilder() { if (aptBuilder_ == null) { if (!(systemPackageCase_ == 2)) { - systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.getDefaultInstance(); - } - aptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APTOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) systemPackage_, + systemPackage_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT + .getDefaultInstance(); + } + aptBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .APTOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT) + systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 2; - onChanged();; + onChanged(); + ; return aptBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder> debBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder> + debBuilder_; /** + * + * *
          * A deb package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * + * * @return Whether the deb field is set. */ @java.lang.Override @@ -12192,35 +14088,46 @@ public boolean hasDeb() { return systemPackageCase_ == 3; } /** + * + * *
          * A deb package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * + * * @return The deb. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb getDeb() { if (debBuilder_ == null) { if (systemPackageCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + .getDefaultInstance(); } else { if (systemPackageCase_ == 3) { return debBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + .getDefaultInstance(); } } /** + * + * *
          * A deb package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * */ - public Builder setDeb(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb value) { + public Builder setDeb( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb value) { if (debBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12234,14 +14141,18 @@ public Builder setDeb(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Packag return this; } /** + * + * *
          * A deb package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * */ public Builder setDeb( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder + builderForValue) { if (debBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -12252,18 +14163,29 @@ public Builder setDeb( return this; } /** + * + * *
          * A deb package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * */ - public Builder mergeDeb(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb value) { + public Builder mergeDeb( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb value) { if (debBuilder_ == null) { - if (systemPackageCase_ == 3 && - systemPackage_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance()) { - systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_) - .mergeFrom(value).buildPartial(); + if (systemPackageCase_ == 3 + && systemPackage_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + .getDefaultInstance()) { + systemPackage_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + .newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) + systemPackage_) + .mergeFrom(value) + .buildPartial(); } else { systemPackage_ = value; } @@ -12279,11 +14201,14 @@ public Builder mergeDeb(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Pack return this; } /** + * + * *
          * A deb package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * */ public Builder clearDeb() { if (debBuilder_ == null) { @@ -12302,67 +14227,97 @@ public Builder clearDeb() { return this; } /** + * + * *
          * A deb package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder getDebBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder + getDebBuilder() { return getDebFieldBuilder().getBuilder(); } /** + * + * *
          * A deb package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder getDebOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder + getDebOrBuilder() { if ((systemPackageCase_ == 3) && (debBuilder_ != null)) { return debBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + .getDefaultInstance(); } } /** + * + * *
          * A deb package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder> getDebFieldBuilder() { if (debBuilder_ == null) { if (!(systemPackageCase_ == 3)) { - systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.getDefaultInstance(); - } - debBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DebOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) systemPackage_, + systemPackage_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb + .getDefaultInstance(); + } + debBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .DebOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb) + systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 3; - onChanged();; + onChanged(); + ; return debBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder> yumBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder> + yumBuilder_; /** + * + * *
          * A package managed by YUM.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * + * * @return Whether the yum field is set. */ @java.lang.Override @@ -12370,35 +14325,46 @@ public boolean hasYum() { return systemPackageCase_ == 4; } /** + * + * *
          * A package managed by YUM.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * + * * @return The yum. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM getYum() { if (yumBuilder_ == null) { if (systemPackageCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + .getDefaultInstance(); } else { if (systemPackageCase_ == 4) { return yumBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + .getDefaultInstance(); } } /** + * + * *
          * A package managed by YUM.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * */ - public Builder setYum(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM value) { + public Builder setYum( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM value) { if (yumBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12412,14 +14378,18 @@ public Builder setYum(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Packag return this; } /** + * + * *
          * A package managed by YUM.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * */ public Builder setYum( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder + builderForValue) { if (yumBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -12430,18 +14400,29 @@ public Builder setYum( return this; } /** + * + * *
          * A package managed by YUM.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * */ - public Builder mergeYum(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM value) { + public Builder mergeYum( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM value) { if (yumBuilder_ == null) { - if (systemPackageCase_ == 4 && - systemPackage_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance()) { - systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_) - .mergeFrom(value).buildPartial(); + if (systemPackageCase_ == 4 + && systemPackage_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + .getDefaultInstance()) { + systemPackage_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + .newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) + systemPackage_) + .mergeFrom(value) + .buildPartial(); } else { systemPackage_ = value; } @@ -12457,11 +14438,14 @@ public Builder mergeYum(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Pack return this; } /** + * + * *
          * A package managed by YUM.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * */ public Builder clearYum() { if (yumBuilder_ == null) { @@ -12480,67 +14464,97 @@ public Builder clearYum() { return this; } /** + * + * *
          * A package managed by YUM.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder getYumBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder + getYumBuilder() { return getYumFieldBuilder().getBuilder(); } /** + * + * *
          * A package managed by YUM.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder getYumOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder + getYumOrBuilder() { if ((systemPackageCase_ == 4) && (yumBuilder_ != null)) { return yumBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + .getDefaultInstance(); } } /** + * + * *
          * A package managed by YUM.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder> getYumFieldBuilder() { if (yumBuilder_ == null) { if (!(systemPackageCase_ == 4)) { - systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.getDefaultInstance(); - } - yumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUMOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) systemPackage_, + systemPackage_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM + .getDefaultInstance(); + } + yumBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .YUMOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM) + systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 4; - onChanged();; + onChanged(); + ; return yumBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder> zypperBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder> + zypperBuilder_; /** + * + * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * + * * @return Whether the zypper field is set. */ @java.lang.Override @@ -12548,35 +14562,47 @@ public boolean hasZypper() { return systemPackageCase_ == 5; } /** + * + * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * + * * @return The zypper. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper getZypper() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + getZypper() { if (zypperBuilder_ == null) { if (systemPackageCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + .getDefaultInstance(); } else { if (systemPackageCase_ == 5) { return zypperBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + .getDefaultInstance(); } } /** + * + * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * */ - public Builder setZypper(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper value) { + public Builder setZypper( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper value) { if (zypperBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12590,14 +14616,18 @@ public Builder setZypper(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Pac return this; } /** + * + * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * */ public Builder setZypper( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder + builderForValue) { if (zypperBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -12608,18 +14638,30 @@ public Builder setZypper( return this; } /** + * + * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * */ - public Builder mergeZypper(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper value) { + public Builder mergeZypper( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper value) { if (zypperBuilder_ == null) { - if (systemPackageCase_ == 5 && - systemPackage_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance()) { - systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_) - .mergeFrom(value).buildPartial(); + if (systemPackageCase_ == 5 + && systemPackage_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + .getDefaultInstance()) { + systemPackage_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + .newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .Zypper) + systemPackage_) + .mergeFrom(value) + .buildPartial(); } else { systemPackage_ = value; } @@ -12635,11 +14677,14 @@ public Builder mergeZypper(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.P return this; } /** + * + * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * */ public Builder clearZypper() { if (zypperBuilder_ == null) { @@ -12658,67 +14703,98 @@ public Builder clearZypper() { return this; } /** + * + * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder getZypperBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder + getZypperBuilder() { return getZypperFieldBuilder().getBuilder(); } /** + * + * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder getZypperOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder + getZypperOrBuilder() { if ((systemPackageCase_ == 5) && (zypperBuilder_ != null)) { return zypperBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + .getDefaultInstance(); } } /** + * + * *
          * A package managed by Zypper.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder> getZypperFieldBuilder() { if (zypperBuilder_ == null) { if (!(systemPackageCase_ == 5)) { - systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.getDefaultInstance(); - } - zypperBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.ZypperOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) systemPackage_, + systemPackage_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + .getDefaultInstance(); + } + zypperBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper + .Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .ZypperOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper) + systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 5; - onChanged();; + onChanged(); + ; return zypperBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder> rpmBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder> + rpmBuilder_; /** + * + * *
          * An rpm package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * + * * @return Whether the rpm field is set. */ @java.lang.Override @@ -12726,35 +14802,46 @@ public boolean hasRpm() { return systemPackageCase_ == 6; } /** + * + * *
          * An rpm package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * + * * @return The rpm. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM getRpm() { if (rpmBuilder_ == null) { if (systemPackageCase_ == 6) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + .getDefaultInstance(); } else { if (systemPackageCase_ == 6) { return rpmBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + .getDefaultInstance(); } } /** + * + * *
          * An rpm package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * */ - public Builder setRpm(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM value) { + public Builder setRpm( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM value) { if (rpmBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12768,14 +14855,18 @@ public Builder setRpm(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Packag return this; } /** + * + * *
          * An rpm package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * */ public Builder setRpm( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder + builderForValue) { if (rpmBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -12786,18 +14877,29 @@ public Builder setRpm( return this; } /** + * + * *
          * An rpm package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * */ - public Builder mergeRpm(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM value) { + public Builder mergeRpm( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM value) { if (rpmBuilder_ == null) { - if (systemPackageCase_ == 6 && - systemPackage_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance()) { - systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_) - .mergeFrom(value).buildPartial(); + if (systemPackageCase_ == 6 + && systemPackage_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + .getDefaultInstance()) { + systemPackage_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + .newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) + systemPackage_) + .mergeFrom(value) + .buildPartial(); } else { systemPackage_ = value; } @@ -12813,11 +14915,14 @@ public Builder mergeRpm(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Pack return this; } /** + * + * *
          * An rpm package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * */ public Builder clearRpm() { if (rpmBuilder_ == null) { @@ -12836,67 +14941,97 @@ public Builder clearRpm() { return this; } /** + * + * *
          * An rpm package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder getRpmBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder + getRpmBuilder() { return getRpmFieldBuilder().getBuilder(); } /** + * + * *
          * An rpm package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder getRpmOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder + getRpmOrBuilder() { if ((systemPackageCase_ == 6) && (rpmBuilder_ != null)) { return rpmBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 6) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + .getDefaultInstance(); } } /** + * + * *
          * An rpm package file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder> getRpmFieldBuilder() { if (rpmBuilder_ == null) { if (!(systemPackageCase_ == 6)) { - systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.getDefaultInstance(); - } - rpmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPMOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) systemPackage_, + systemPackage_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM + .getDefaultInstance(); + } + rpmBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .RPMOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM) + systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 6; - onChanged();; + onChanged(); + ; return rpmBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder> googetBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder> + googetBuilder_; /** + * + * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * + * * @return Whether the googet field is set. */ @java.lang.Override @@ -12904,35 +15039,47 @@ public boolean hasGooget() { return systemPackageCase_ == 7; } /** + * + * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * + * * @return The googet. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet getGooget() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + getGooget() { if (googetBuilder_ == null) { if (systemPackageCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + .getDefaultInstance(); } else { if (systemPackageCase_ == 7) { return googetBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + .getDefaultInstance(); } } /** + * + * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * */ - public Builder setGooget(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet value) { + public Builder setGooget( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet value) { if (googetBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12946,14 +15093,18 @@ public Builder setGooget(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Pac return this; } /** + * + * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * */ public Builder setGooget( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder + builderForValue) { if (googetBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -12964,18 +15115,30 @@ public Builder setGooget( return this; } /** + * + * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * */ - public Builder mergeGooget(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet value) { + public Builder mergeGooget( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet value) { if (googetBuilder_ == null) { - if (systemPackageCase_ == 7 && - systemPackage_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance()) { - systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_) - .mergeFrom(value).buildPartial(); + if (systemPackageCase_ == 7 + && systemPackage_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + .getDefaultInstance()) { + systemPackage_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + .newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .GooGet) + systemPackage_) + .mergeFrom(value) + .buildPartial(); } else { systemPackage_ = value; } @@ -12991,11 +15154,14 @@ public Builder mergeGooget(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.P return this; } /** + * + * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * */ public Builder clearGooget() { if (googetBuilder_ == null) { @@ -13014,67 +15180,98 @@ public Builder clearGooget() { return this; } /** + * + * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder getGoogetBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder + getGoogetBuilder() { return getGoogetFieldBuilder().getBuilder(); } /** + * + * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder getGoogetOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder + getGoogetOrBuilder() { if ((systemPackageCase_ == 7) && (googetBuilder_ != null)) { return googetBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 7) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + .getDefaultInstance(); } } /** + * + * *
          * A package managed by GooGet.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder> getGoogetFieldBuilder() { if (googetBuilder_ == null) { if (!(systemPackageCase_ == 7)) { - systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.getDefaultInstance(); - } - googetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGetOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) systemPackage_, + systemPackage_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + .getDefaultInstance(); + } + googetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet + .Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .GooGetOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet) + systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 7; - onChanged();; + onChanged(); + ; return googetBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder> msiBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder> + msiBuilder_; /** + * + * *
          * An MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * + * * @return Whether the msi field is set. */ @java.lang.Override @@ -13082,35 +15279,46 @@ public boolean hasMsi() { return systemPackageCase_ == 8; } /** + * + * *
          * An MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * + * * @return The msi. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI getMsi() { if (msiBuilder_ == null) { if (systemPackageCase_ == 8) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + .getDefaultInstance(); } else { if (systemPackageCase_ == 8) { return msiBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + .getDefaultInstance(); } } /** + * + * *
          * An MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * */ - public Builder setMsi(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI value) { + public Builder setMsi( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI value) { if (msiBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13124,14 +15332,18 @@ public Builder setMsi(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Packag return this; } /** + * + * *
          * An MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * */ public Builder setMsi( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder + builderForValue) { if (msiBuilder_ == null) { systemPackage_ = builderForValue.build(); onChanged(); @@ -13142,18 +15354,29 @@ public Builder setMsi( return this; } /** + * + * *
          * An MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * */ - public Builder mergeMsi(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI value) { + public Builder mergeMsi( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI value) { if (msiBuilder_ == null) { - if (systemPackageCase_ == 8 && - systemPackage_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance()) { - systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_) - .mergeFrom(value).buildPartial(); + if (systemPackageCase_ == 8 + && systemPackage_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + .getDefaultInstance()) { + systemPackage_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + .newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) + systemPackage_) + .mergeFrom(value) + .buildPartial(); } else { systemPackage_ = value; } @@ -13169,11 +15392,14 @@ public Builder mergeMsi(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Pack return this; } /** + * + * *
          * An MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * */ public Builder clearMsi() { if (msiBuilder_ == null) { @@ -13192,58 +15418,82 @@ public Builder clearMsi() { return this; } /** + * + * *
          * An MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder getMsiBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder + getMsiBuilder() { return getMsiFieldBuilder().getBuilder(); } /** + * + * *
          * An MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder getMsiOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder + getMsiOrBuilder() { if ((systemPackageCase_ == 8) && (msiBuilder_ != null)) { return msiBuilder_.getMessageOrBuilder(); } else { if (systemPackageCase_ == 8) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) + systemPackage_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + .getDefaultInstance(); } } /** + * + * *
          * An MSI package.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder> getMsiFieldBuilder() { if (msiBuilder_ == null) { if (!(systemPackageCase_ == 8)) { - systemPackage_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.getDefaultInstance(); - } - msiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSIOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) systemPackage_, + systemPackage_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI + .getDefaultInstance(); + } + msiBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .MSIOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI) + systemPackage_, getParentForChildren(), isClean()); systemPackage_ = null; } systemPackageCase_ = 8; - onChanged();; + onChanged(); + ; return msiBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13256,30 +15506,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PackageResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PackageResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PackageResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PackageResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13291,157 +15544,222 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface RepositoryResourceOrBuilder extends + public interface RepositoryResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * An Apt Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * * @return Whether the apt field is set. */ boolean hasApt(); /** + * + * *
        * An Apt Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * * @return The apt. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository getApt(); /** + * + * *
        * An Apt Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder getAptOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder + getAptOrBuilder(); /** + * + * *
        * A Yum Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * * @return Whether the yum field is set. */ boolean hasYum(); /** + * + * *
        * A Yum Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * * @return The yum. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository getYum(); /** + * + * *
        * A Yum Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder getYumOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder + getYumOrBuilder(); /** + * + * *
        * A Zypper Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * * @return Whether the zypper field is set. */ boolean hasZypper(); /** + * + * *
        * A Zypper Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * * @return The zypper. */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository getZypper(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository + getZypper(); /** + * + * *
        * A Zypper Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder getZypperOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepositoryOrBuilder + getZypperOrBuilder(); /** + * + * *
        * A Goo Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * * @return Whether the goo field is set. */ boolean hasGoo(); /** + * + * *
        * A Goo Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * * @return The goo. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository getGoo(); /** + * + * *
        * A Goo Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder getGooOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder + getGooOrBuilder(); - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.RepositoryCase getRepositoryCase(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.RepositoryCase + getRepositoryCase(); } /** + * + * *
      * A resource that manages a package repository.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource} */ - public static final class RepositoryResource extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class RepositoryResource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) RepositoryResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RepositoryResource.newBuilder() to construct. private RepositoryResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RepositoryResource() { - } + + private RepositoryResource() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RepositoryResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RepositoryResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -13460,69 +15778,121 @@ private RepositoryResource( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.Builder subBuilder = null; - if (repositoryCase_ == 1) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_).toBuilder(); - } - repository_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_); - repository_ = subBuilder.buildPartial(); - } - repositoryCase_ = 1; - break; - } - case 18: { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.Builder subBuilder = null; - if (repositoryCase_ == 2) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_).toBuilder(); - } - repository_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_); - repository_ = subBuilder.buildPartial(); - } - repositoryCase_ = 2; - break; - } - case 26: { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder subBuilder = null; - if (repositoryCase_ == 3) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_).toBuilder(); + case 10: + { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.Builder + subBuilder = null; + if (repositoryCase_ == 1) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository) + repository_) + .toBuilder(); + } + repository_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository) + repository_); + repository_ = subBuilder.buildPartial(); + } + repositoryCase_ = 1; + break; } - repository_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_); - repository_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository.Builder + subBuilder = null; + if (repositoryCase_ == 2) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository) + repository_) + .toBuilder(); + } + repository_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository) + repository_); + repository_ = subBuilder.buildPartial(); + } + repositoryCase_ = 2; + break; } - repositoryCase_ = 3; - break; - } - case 34: { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.Builder subBuilder = null; - if (repositoryCase_ == 4) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_).toBuilder(); + case 26: + { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.Builder + subBuilder = null; + if (repositoryCase_ == 3) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + repository_) + .toBuilder(); + } + repository_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + repository_); + repository_ = subBuilder.buildPartial(); + } + repositoryCase_ = 3; + break; } - repository_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_); - repository_ = subBuilder.buildPartial(); + case 34: + { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository.Builder + subBuilder = null; + if (repositoryCase_ == 4) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository) + repository_) + .toBuilder(); + } + repository_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository) + repository_); + repository_ = subBuilder.buildPartial(); + } + repositoryCase_ = 4; + break; } - repositoryCase_ = 4; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -13530,174 +15900,220 @@ private RepositoryResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder + .class); } - public interface AptRepositoryOrBuilder extends + public interface AptRepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. Type of archive files in this repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for archiveType. */ int getArchiveTypeValue(); /** + * + * *
          * Required. Type of archive files in this repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The archiveType. */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType getArchiveType(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + .ArchiveType + getArchiveType(); /** + * + * *
          * Required. URI for this repository.
          * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
          * Required. URI for this repository.
          * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
          * Required. Distribution of this repository.
          * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The distribution. */ java.lang.String getDistribution(); /** + * + * *
          * Required. Distribution of this repository.
          * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for distribution. */ - com.google.protobuf.ByteString - getDistributionBytes(); + com.google.protobuf.ByteString getDistributionBytes(); /** + * + * *
          * Required. List of components for this repository. Must contain at least one
          * item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the components. */ - java.util.List - getComponentsList(); + java.util.List getComponentsList(); /** + * + * *
          * Required. List of components for this repository. Must contain at least one
          * item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of components. */ int getComponentsCount(); /** + * + * *
          * Required. List of components for this repository. Must contain at least one
          * item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The components at the given index. */ java.lang.String getComponents(int index); /** + * + * *
          * Required. List of components for this repository. Must contain at least one
          * item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - com.google.protobuf.ByteString - getComponentsBytes(int index); + com.google.protobuf.ByteString getComponentsBytes(int index); /** + * + * *
          * URI of the key file for this repository. The agent maintains a
          * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
          * 
* * string gpg_key = 5; + * * @return The gpgKey. */ java.lang.String getGpgKey(); /** + * + * *
          * URI of the key file for this repository. The agent maintains a
          * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
          * 
* * string gpg_key = 5; + * * @return The bytes for gpgKey. */ - com.google.protobuf.ByteString - getGpgKeyBytes(); + com.google.protobuf.ByteString getGpgKeyBytes(); } /** + * + * *
        * Represents a single apt package repository. These will be added to
        * a repo file that will be managed at
        * `/etc/apt/sources.list.d/google_osconfig.list`.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository} */ - public static final class AptRepository extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AptRepository extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) AptRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AptRepository.newBuilder() to construct. private AptRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AptRepository() { archiveType_ = 0; uri_ = ""; @@ -13708,16 +16124,15 @@ private AptRepository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AptRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AptRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -13737,46 +16152,51 @@ private AptRepository( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - archiveType_ = rawValue; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + archiveType_ = rawValue; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + uri_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - distribution_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - components_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + distribution_ = s; + break; } - components_.add(s); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + components_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + components_.add(s); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - gpgKey_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + gpgKey_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -13784,8 +16204,8 @@ private AptRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { components_ = components_.getUnmodifiableView(); @@ -13794,29 +16214,38 @@ private AptRepository( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.Builder.class); } /** + * + * *
          * Type of archive.
          * 
* - * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType} + * Protobuf enum {@code + * google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType} */ - public enum ArchiveType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
            * Unspecified is invalid.
            * 
@@ -13825,6 +16254,8 @@ public enum ArchiveType */ ARCHIVE_TYPE_UNSPECIFIED(0), /** + * + * *
            * Deb indicates that the archive contains binary files.
            * 
@@ -13833,6 +16264,8 @@ public enum ArchiveType */ DEB(1), /** + * + * *
            * Deb-src indicates that the archive contains source files.
            * 
@@ -13844,6 +16277,8 @@ public enum ArchiveType ; /** + * + * *
            * Unspecified is invalid.
            * 
@@ -13852,6 +16287,8 @@ public enum ArchiveType */ public static final int ARCHIVE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
            * Deb indicates that the archive contains binary files.
            * 
@@ -13860,6 +16297,8 @@ public enum ArchiveType */ public static final int DEB_VALUE = 1; /** + * + * *
            * Deb-src indicates that the archive contains source files.
            * 
@@ -13868,7 +16307,6 @@ public enum ArchiveType */ public static final int DEB_SRC_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -13893,10 +16331,14 @@ public static ArchiveType valueOf(int value) { */ public static ArchiveType forNumber(int value) { switch (value) { - case 0: return ARCHIVE_TYPE_UNSPECIFIED; - case 1: return DEB; - case 2: return DEB_SRC; - default: return null; + case 0: + return ARCHIVE_TYPE_UNSPECIFIED; + case 1: + return DEB; + case 2: + return DEB_SRC; + default: + return null; } } @@ -13904,29 +16346,32 @@ public static ArchiveType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ArchiveType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ArchiveType findValueByNumber(int number) { - return ArchiveType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ArchiveType findValueByNumber(int number) { + return ArchiveType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.getDescriptor() + .getEnumTypes() + .get(0); } private static final ArchiveType[] VALUES = values(); @@ -13935,7 +16380,7 @@ public static ArchiveType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -13955,38 +16400,62 @@ private ArchiveType(int value) { public static final int ARCHIVE_TYPE_FIELD_NUMBER = 1; private int archiveType_; /** + * + * *
          * Required. Type of archive files in this repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for archiveType. */ - @java.lang.Override public int getArchiveTypeValue() { + @java.lang.Override + public int getArchiveTypeValue() { return archiveType_; } /** + * + * *
          * Required. Type of archive files in this repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The archiveType. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType getArchiveType() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + .ArchiveType + getArchiveType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType result = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.valueOf(archiveType_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + .ArchiveType + result = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.ArchiveType.valueOf(archiveType_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + .ArchiveType.UNRECOGNIZED + : result; } public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** + * + * *
          * Required. URI for this repository.
          * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ @java.lang.Override @@ -13995,29 +16464,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
          * Required. URI for this repository.
          * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -14028,11 +16497,14 @@ public java.lang.String getUri() { public static final int DISTRIBUTION_FIELD_NUMBER = 3; private volatile java.lang.Object distribution_; /** + * + * *
          * Required. Distribution of this repository.
          * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The distribution. */ @java.lang.Override @@ -14041,29 +16513,29 @@ public java.lang.String getDistribution() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; } } /** + * + * *
          * Required. Distribution of this repository.
          * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for distribution. */ @java.lang.Override - public com.google.protobuf.ByteString - getDistributionBytes() { + public com.google.protobuf.ByteString getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); distribution_ = b; return b; } else { @@ -14074,37 +16546,45 @@ public java.lang.String getDistribution() { public static final int COMPONENTS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList components_; /** + * + * *
          * Required. List of components for this repository. Must contain at least one
          * item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the components. */ - public com.google.protobuf.ProtocolStringList - getComponentsList() { + public com.google.protobuf.ProtocolStringList getComponentsList() { return components_; } /** + * + * *
          * Required. List of components for this repository. Must contain at least one
          * item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of components. */ public int getComponentsCount() { return components_.size(); } /** + * + * *
          * Required. List of components for this repository. Must contain at least one
          * item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The components at the given index. */ @@ -14112,29 +16592,34 @@ public java.lang.String getComponents(int index) { return components_.get(index); } /** + * + * *
          * Required. List of components for this repository. Must contain at least one
          * item.
          * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - public com.google.protobuf.ByteString - getComponentsBytes(int index) { + public com.google.protobuf.ByteString getComponentsBytes(int index) { return components_.getByteString(index); } public static final int GPG_KEY_FIELD_NUMBER = 5; private volatile java.lang.Object gpgKey_; /** + * + * *
          * URI of the key file for this repository. The agent maintains a
          * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
          * 
* * string gpg_key = 5; + * * @return The gpgKey. */ @java.lang.Override @@ -14143,30 +16628,30 @@ public java.lang.String getGpgKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpgKey_ = s; return s; } } /** + * + * *
          * URI of the key file for this repository. The agent maintains a
          * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
          * 
* * string gpg_key = 5; + * * @return The bytes for gpgKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getGpgKeyBytes() { + public com.google.protobuf.ByteString getGpgKeyBytes() { java.lang.Object ref = gpgKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gpgKey_ = b; return b; } else { @@ -14175,6 +16660,7 @@ public java.lang.String getGpgKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -14187,8 +16673,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (archiveType_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED.getNumber()) { + throws java.io.IOException { + if (archiveType_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, archiveType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { @@ -14212,9 +16701,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (archiveType_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, archiveType_); + if (archiveType_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, archiveType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_); @@ -14241,22 +16732,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository) + obj; if (archiveType_ != other.archiveType_) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getDistribution() - .equals(other.getDistribution())) return false; - if (!getComponentsList() - .equals(other.getComponentsList())) return false; - if (!getGpgKey() - .equals(other.getGpgKey())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getDistribution().equals(other.getDistribution())) return false; + if (!getComponentsList().equals(other.getComponentsList())) return false; + if (!getGpgKey().equals(other.getGpgKey())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -14285,88 +16779,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -14376,46 +16900,55 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Represents a single apt package repository. These will be added to
          * a repo file that will be managed at
          * `/etc/apt/sources.list.d/google_osconfig.list`.
          * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepositoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -14433,19 +16966,25 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository + build() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -14453,8 +16992,13 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Ap } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository + buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + result = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository(this); int from_bitField0_ = bitField0_; result.archiveType_ = archiveType_; result.uri_ = uri_; @@ -14473,46 +17017,59 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Ap public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.getDefaultInstance()) return this; if (other.archiveType_ != 0) { setArchiveTypeValue(other.getArchiveTypeValue()); } @@ -14553,11 +17110,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -14566,77 +17127,116 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private int archiveType_ = 0; /** + * + * *
            * Required. Type of archive files in this repository.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for archiveType. */ - @java.lang.Override public int getArchiveTypeValue() { + @java.lang.Override + public int getArchiveTypeValue() { return archiveType_; } /** + * + * *
            * Required. Type of archive files in this repository.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for archiveType to set. * @return This builder for chaining. */ public Builder setArchiveTypeValue(int value) { - + archiveType_ = value; onChanged(); return this; } /** + * + * *
            * Required. Type of archive files in this repository.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The archiveType. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType getArchiveType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.ArchiveType + getArchiveType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType result = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.valueOf(archiveType_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + .ArchiveType + result = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.ArchiveType.valueOf(archiveType_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.ArchiveType.UNRECOGNIZED + : result; } /** + * + * *
            * Required. Type of archive files in this repository.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The archiveType to set. * @return This builder for chaining. */ - public Builder setArchiveType(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType value) { + public Builder setArchiveType( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + .ArchiveType + value) { if (value == null) { throw new NullPointerException(); } - + archiveType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
            * Required. Type of archive files in this repository.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearArchiveType() { - + archiveType_ = 0; onChanged(); return this; @@ -14644,18 +17244,20 @@ public Builder clearArchiveType() { private java.lang.Object uri_ = ""; /** + * + * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -14664,20 +17266,21 @@ public java.lang.String getUri() { } } /** + * + * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -14685,54 +17288,61 @@ public java.lang.String getUri() { } } /** + * + * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { + public Builder setUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** + * + * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** + * + * *
            * Required. URI for this repository.
            * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { + public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -14740,18 +17350,20 @@ public Builder setUriBytes( private java.lang.Object distribution_ = ""; /** + * + * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The distribution. */ public java.lang.String getDistribution() { java.lang.Object ref = distribution_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; @@ -14760,20 +17372,21 @@ public java.lang.String getDistribution() { } } /** + * + * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for distribution. */ - public com.google.protobuf.ByteString - getDistributionBytes() { + public com.google.protobuf.ByteString getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); distribution_ = b; return b; } else { @@ -14781,98 +17394,115 @@ public java.lang.String getDistribution() { } } /** + * + * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The distribution to set. * @return This builder for chaining. */ - public Builder setDistribution( - java.lang.String value) { + public Builder setDistribution(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + distribution_ = value; onChanged(); return this; } /** + * + * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDistribution() { - + distribution_ = getDefaultInstance().getDistribution(); onChanged(); return this; } /** + * + * *
            * Required. Distribution of this repository.
            * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for distribution to set. * @return This builder for chaining. */ - public Builder setDistributionBytes( - com.google.protobuf.ByteString value) { + public Builder setDistributionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + distribution_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList components_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList components_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureComponentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { components_ = new com.google.protobuf.LazyStringArrayList(components_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
            * Required. List of components for this repository. Must contain at least one
            * item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the components. */ - public com.google.protobuf.ProtocolStringList - getComponentsList() { + public com.google.protobuf.ProtocolStringList getComponentsList() { return components_.getUnmodifiableView(); } /** + * + * *
            * Required. List of components for this repository. Must contain at least one
            * item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of components. */ public int getComponentsCount() { return components_.size(); } /** + * + * *
            * Required. List of components for this repository. Must contain at least one
            * item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The components at the given index. */ @@ -14880,85 +17510,95 @@ public java.lang.String getComponents(int index) { return components_.get(index); } /** + * + * *
            * Required. List of components for this repository. Must contain at least one
            * item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - public com.google.protobuf.ByteString - getComponentsBytes(int index) { + public com.google.protobuf.ByteString getComponentsBytes(int index) { return components_.getByteString(index); } /** + * + * *
            * Required. List of components for this repository. Must contain at least one
            * item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The components to set. * @return This builder for chaining. */ - public Builder setComponents( - int index, java.lang.String value) { + public Builder setComponents(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureComponentsIsMutable(); + throw new NullPointerException(); + } + ensureComponentsIsMutable(); components_.set(index, value); onChanged(); return this; } /** + * + * *
            * Required. List of components for this repository. Must contain at least one
            * item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The components to add. * @return This builder for chaining. */ - public Builder addComponents( - java.lang.String value) { + public Builder addComponents(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureComponentsIsMutable(); + throw new NullPointerException(); + } + ensureComponentsIsMutable(); components_.add(value); onChanged(); return this; } /** + * + * *
            * Required. List of components for this repository. Must contain at least one
            * item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The components to add. * @return This builder for chaining. */ - public Builder addAllComponents( - java.lang.Iterable values) { + public Builder addAllComponents(java.lang.Iterable values) { ensureComponentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, components_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, components_); onChanged(); return this; } /** + * + * *
            * Required. List of components for this repository. Must contain at least one
            * item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearComponents() { @@ -14968,21 +17608,23 @@ public Builder clearComponents() { return this; } /** + * + * *
            * Required. List of components for this repository. Must contain at least one
            * item.
            * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the components to add. * @return This builder for chaining. */ - public Builder addComponentsBytes( - com.google.protobuf.ByteString value) { + public Builder addComponentsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureComponentsIsMutable(); components_.add(value); onChanged(); @@ -14991,19 +17633,21 @@ public Builder addComponentsBytes( private java.lang.Object gpgKey_ = ""; /** + * + * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; + * * @return The gpgKey. */ public java.lang.String getGpgKey() { java.lang.Object ref = gpgKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpgKey_ = s; return s; @@ -15012,21 +17656,22 @@ public java.lang.String getGpgKey() { } } /** + * + * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; + * * @return The bytes for gpgKey. */ - public com.google.protobuf.ByteString - getGpgKeyBytes() { + public com.google.protobuf.ByteString getGpgKeyBytes() { java.lang.Object ref = gpgKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gpgKey_ = b; return b; } else { @@ -15034,61 +17679,69 @@ public java.lang.String getGpgKey() { } } /** + * + * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; + * * @param value The gpgKey to set. * @return This builder for chaining. */ - public Builder setGpgKey( - java.lang.String value) { + public Builder setGpgKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gpgKey_ = value; onChanged(); return this; } /** + * + * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; + * * @return This builder for chaining. */ public Builder clearGpgKey() { - + gpgKey_ = getDefaultInstance().getGpgKey(); onChanged(); return this; } /** + * + * *
            * URI of the key file for this repository. The agent maintains a
            * keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
            * 
* * string gpg_key = 5; + * * @param value The bytes for gpgKey to set. * @return This builder for chaining. */ - public Builder setGpgKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setGpgKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gpgKey_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -15101,30 +17754,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15136,17 +17795,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface YumRepositoryOrBuilder extends + public interface YumRepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. A one word, unique name for this repository. This is  the `repo
          * id` in the yum config file and also the `display_name` if
@@ -15155,10 +17817,13 @@ public interface YumRepositoryOrBuilder extends
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
          * Required. A one word, unique name for this repository. This is  the `repo
          * id` in the yum config file and also the `display_name` if
@@ -15167,110 +17832,134 @@ public interface YumRepositoryOrBuilder extends
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
          * The display name of the repository.
          * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
          * The display name of the repository.
          * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The baseUrl. */ java.lang.String getBaseUrl(); /** + * + * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for baseUrl. */ - com.google.protobuf.ByteString - getBaseUrlBytes(); + com.google.protobuf.ByteString getBaseUrlBytes(); /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @return A list containing the gpgKeys. */ - java.util.List - getGpgKeysList(); + java.util.List getGpgKeysList(); /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @return The count of gpgKeys. */ int getGpgKeysCount(); /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ java.lang.String getGpgKeys(int index); /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - com.google.protobuf.ByteString - getGpgKeysBytes(int index); + com.google.protobuf.ByteString getGpgKeysBytes(int index); } /** + * + * *
        * Represents a single yum package repository. These are added to a
        * repo file that is managed at
        * `/etc/yum.repos.d/google_osconfig.repo`.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository} */ - public static final class YumRepository extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class YumRepository extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) YumRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use YumRepository.newBuilder() to construct. private YumRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private YumRepository() { id_ = ""; displayName_ = ""; @@ -15280,16 +17969,15 @@ private YumRepository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new YumRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private YumRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -15309,40 +17997,44 @@ private YumRepository( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + id_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - baseUrl_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - gpgKeys_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + baseUrl_ = s; + break; } - gpgKeys_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + gpgKeys_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + gpgKeys_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -15350,8 +18042,8 @@ private YumRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { gpgKeys_ = gpgKeys_.getUnmodifiableView(); @@ -15360,22 +18052,29 @@ private YumRepository( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** + * + * *
          * Required. A one word, unique name for this repository. This is  the `repo
          * id` in the yum config file and also the `display_name` if
@@ -15384,6 +18083,7 @@ private YumRepository(
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ @java.lang.Override @@ -15392,14 +18092,15 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
          * Required. A one word, unique name for this repository. This is  the `repo
          * id` in the yum config file and also the `display_name` if
@@ -15408,16 +18109,15 @@ public java.lang.String getId() {
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -15428,11 +18128,14 @@ public java.lang.String getId() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
          * The display name of the repository.
          * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -15441,29 +18144,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
          * The display name of the repository.
          * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -15474,11 +18177,14 @@ public java.lang.String getDisplayName() { public static final int BASE_URL_FIELD_NUMBER = 3; private volatile java.lang.Object baseUrl_; /** + * + * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The baseUrl. */ @java.lang.Override @@ -15487,29 +18193,29 @@ public java.lang.String getBaseUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; } } /** + * + * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for baseUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getBaseUrlBytes() { + public com.google.protobuf.ByteString getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -15520,34 +18226,42 @@ public java.lang.String getBaseUrl() { public static final int GPG_KEYS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList gpgKeys_; /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList - getGpgKeysList() { + public com.google.protobuf.ProtocolStringList getGpgKeysList() { return gpgKeys_; } /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -15555,20 +18269,23 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString - getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15581,7 +18298,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -15628,21 +18345,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository + other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository) + obj; - if (!getId() - .equals(other.getId())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getBaseUrl() - .equals(other.getBaseUrl())) return false; - if (!getGpgKeysList() - .equals(other.getGpgKeysList())) return false; + if (!getId().equals(other.getId())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getBaseUrl().equals(other.getBaseUrl())) return false; + if (!getGpgKeysList().equals(other.getGpgKeysList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -15669,88 +18389,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -15760,46 +18510,55 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Represents a single yum package repository. These are added to a
          * repo file that is managed at
          * `/etc/yum.repos.d/google_osconfig.repo`.
          * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepositoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository.Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -15815,19 +18574,25 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository + build() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -15835,8 +18600,13 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Yu } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository + buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository + result = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository(this); int from_bitField0_ = bitField0_; result.id_ = id_; result.displayName_ = displayName_; @@ -15854,46 +18624,59 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Yu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository + other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); @@ -15931,11 +18714,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -15944,10 +18731,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object id_ = ""; /** + * + * *
            * Required. A one word, unique name for this repository. This is  the `repo
            * id` in the yum config file and also the `display_name` if
@@ -15956,13 +18746,13 @@ public Builder mergeFrom(
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -15971,6 +18761,8 @@ public java.lang.String getId() { } } /** + * + * *
            * Required. A one word, unique name for this repository. This is  the `repo
            * id` in the yum config file and also the `display_name` if
@@ -15979,15 +18771,14 @@ public java.lang.String getId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -15995,6 +18786,8 @@ public java.lang.String getId() { } } /** + * + * *
            * Required. A one word, unique name for this repository. This is  the `repo
            * id` in the yum config file and also the `display_name` if
@@ -16003,20 +18796,22 @@ public java.lang.String getId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
            * Required. A one word, unique name for this repository. This is  the `repo
            * id` in the yum config file and also the `display_name` if
@@ -16025,15 +18820,18 @@ public Builder setId(
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
            * Required. A one word, unique name for this repository. This is  the `repo
            * id` in the yum config file and also the `display_name` if
@@ -16042,16 +18840,16 @@ public Builder clearId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -16059,18 +18857,20 @@ public Builder setIdBytes( private java.lang.Object displayName_ = ""; /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -16079,20 +18879,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -16100,54 +18901,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -16155,18 +18963,20 @@ public Builder setDisplayNameBytes( private java.lang.Object baseUrl_ = ""; /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The baseUrl. */ public java.lang.String getBaseUrl() { java.lang.Object ref = baseUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; @@ -16175,20 +18985,21 @@ public java.lang.String getBaseUrl() { } } /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for baseUrl. */ - public com.google.protobuf.ByteString - getBaseUrlBytes() { + public com.google.protobuf.ByteString getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -16196,95 +19007,112 @@ public java.lang.String getBaseUrl() { } } /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrl( - java.lang.String value) { + public Builder setBaseUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + baseUrl_ = value; onChanged(); return this; } /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBaseUrl() { - + baseUrl_ = getDefaultInstance().getBaseUrl(); onChanged(); return this; } /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setBaseUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + baseUrl_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList gpgKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList gpgKeys_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureGpgKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { gpgKeys_ = new com.google.protobuf.LazyStringArrayList(gpgKeys_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList - getGpgKeysList() { + public com.google.protobuf.ProtocolStringList getGpgKeysList() { return gpgKeys_.getUnmodifiableView(); } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -16292,80 +19120,90 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString - getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param index The index to set the value at. * @param value The gpgKeys to set. * @return This builder for chaining. */ - public Builder setGpgKeys( - int index, java.lang.String value) { + public Builder setGpgKeys(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.set(index, value); onChanged(); return this; } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param value The gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeys( - java.lang.String value) { + public Builder addGpgKeys(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param values The gpgKeys to add. * @return This builder for chaining. */ - public Builder addAllGpgKeys( - java.lang.Iterable values) { + public Builder addAllGpgKeys(java.lang.Iterable values) { ensureGpgKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, gpgKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, gpgKeys_); onChanged(); return this; } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @return This builder for chaining. */ public Builder clearGpgKeys() { @@ -16375,25 +19213,28 @@ public Builder clearGpgKeys() { return this; } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param value The bytes of the gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeysBytes( - com.google.protobuf.ByteString value) { + public Builder addGpgKeysBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16406,30 +19247,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16441,17 +19288,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ZypperRepositoryOrBuilder extends + public interface ZypperRepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. A one word, unique name for this repository. This is the `repo
          * id` in the zypper config file and also the `display_name` if
@@ -16460,10 +19310,13 @@ public interface ZypperRepositoryOrBuilder extends
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
          * Required. A one word, unique name for this repository. This is the `repo
          * id` in the zypper config file and also the `display_name` if
@@ -16472,110 +19325,134 @@ public interface ZypperRepositoryOrBuilder extends
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
          * The display name of the repository.
          * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
          * The display name of the repository.
          * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The baseUrl. */ java.lang.String getBaseUrl(); /** + * + * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for baseUrl. */ - com.google.protobuf.ByteString - getBaseUrlBytes(); + com.google.protobuf.ByteString getBaseUrlBytes(); /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @return A list containing the gpgKeys. */ - java.util.List - getGpgKeysList(); + java.util.List getGpgKeysList(); /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @return The count of gpgKeys. */ int getGpgKeysCount(); /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ java.lang.String getGpgKeys(int index); /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - com.google.protobuf.ByteString - getGpgKeysBytes(int index); + com.google.protobuf.ByteString getGpgKeysBytes(int index); } /** + * + * *
        * Represents a single zypper package repository. These are added to a
        * repo file that is managed at
        * `/etc/zypp/repos.d/google_osconfig.repo`.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository} */ - public static final class ZypperRepository extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ZypperRepository extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) ZypperRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ZypperRepository.newBuilder() to construct. private ZypperRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ZypperRepository() { id_ = ""; displayName_ = ""; @@ -16585,16 +19462,15 @@ private ZypperRepository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ZypperRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ZypperRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -16614,40 +19490,44 @@ private ZypperRepository( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + id_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - baseUrl_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - gpgKeys_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + baseUrl_ = s; + break; } - gpgKeys_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + gpgKeys_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + gpgKeys_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -16655,8 +19535,8 @@ private ZypperRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { gpgKeys_ = gpgKeys_.getUnmodifiableView(); @@ -16665,22 +19545,29 @@ private ZypperRepository( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** + * + * *
          * Required. A one word, unique name for this repository. This is the `repo
          * id` in the zypper config file and also the `display_name` if
@@ -16689,6 +19576,7 @@ private ZypperRepository(
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ @java.lang.Override @@ -16697,14 +19585,15 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
          * Required. A one word, unique name for this repository. This is the `repo
          * id` in the zypper config file and also the `display_name` if
@@ -16713,16 +19602,15 @@ public java.lang.String getId() {
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -16733,11 +19621,14 @@ public java.lang.String getId() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
          * The display name of the repository.
          * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -16746,29 +19637,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
          * The display name of the repository.
          * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -16779,11 +19670,14 @@ public java.lang.String getDisplayName() { public static final int BASE_URL_FIELD_NUMBER = 3; private volatile java.lang.Object baseUrl_; /** + * + * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The baseUrl. */ @java.lang.Override @@ -16792,29 +19686,29 @@ public java.lang.String getBaseUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; } } /** + * + * *
          * Required. The location of the repository directory.
          * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for baseUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getBaseUrlBytes() { + public com.google.protobuf.ByteString getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -16825,34 +19719,42 @@ public java.lang.String getBaseUrl() { public static final int GPG_KEYS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList gpgKeys_; /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList - getGpgKeysList() { + public com.google.protobuf.ProtocolStringList getGpgKeysList() { return gpgKeys_; } /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -16860,20 +19762,23 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** + * + * *
          * URIs of GPG keys.
          * 
* * repeated string gpg_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString - getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -16886,7 +19791,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -16933,21 +19838,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository + other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + obj; - if (!getId() - .equals(other.getId())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getBaseUrl() - .equals(other.getBaseUrl())) return false; - if (!getGpgKeysList() - .equals(other.getGpgKeysList())) return false; + if (!getId().equals(other.getId())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getBaseUrl().equals(other.getBaseUrl())) return false; + if (!getGpgKeysList().equals(other.getGpgKeysList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -16974,88 +19882,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -17065,46 +20003,55 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Represents a single zypper package repository. These are added to a
          * repo file that is managed at
          * `/etc/zypp/repos.d/google_osconfig.repo`.
          * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepositoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -17120,19 +20067,25 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + build() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -17140,8 +20093,13 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Zy } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository + result = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository(this); int from_bitField0_ = bitField0_; result.id_ = id_; result.displayName_ = displayName_; @@ -17159,46 +20117,60 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Zy public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); @@ -17236,11 +20208,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -17249,10 +20225,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object id_ = ""; /** + * + * *
            * Required. A one word, unique name for this repository. This is the `repo
            * id` in the zypper config file and also the `display_name` if
@@ -17261,13 +20240,13 @@ public Builder mergeFrom(
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -17276,6 +20255,8 @@ public java.lang.String getId() { } } /** + * + * *
            * Required. A one word, unique name for this repository. This is the `repo
            * id` in the zypper config file and also the `display_name` if
@@ -17284,15 +20265,14 @@ public java.lang.String getId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -17300,6 +20280,8 @@ public java.lang.String getId() { } } /** + * + * *
            * Required. A one word, unique name for this repository. This is the `repo
            * id` in the zypper config file and also the `display_name` if
@@ -17308,20 +20290,22 @@ public java.lang.String getId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
            * Required. A one word, unique name for this repository. This is the `repo
            * id` in the zypper config file and also the `display_name` if
@@ -17330,15 +20314,18 @@ public Builder setId(
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
            * Required. A one word, unique name for this repository. This is the `repo
            * id` in the zypper config file and also the `display_name` if
@@ -17347,16 +20334,16 @@ public Builder clearId() {
            * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -17364,18 +20351,20 @@ public Builder setIdBytes( private java.lang.Object displayName_ = ""; /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -17384,20 +20373,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -17405,54 +20395,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
            * The display name of the repository.
            * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -17460,18 +20457,20 @@ public Builder setDisplayNameBytes( private java.lang.Object baseUrl_ = ""; /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The baseUrl. */ public java.lang.String getBaseUrl() { java.lang.Object ref = baseUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; @@ -17480,20 +20479,21 @@ public java.lang.String getBaseUrl() { } } /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for baseUrl. */ - public com.google.protobuf.ByteString - getBaseUrlBytes() { + public com.google.protobuf.ByteString getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -17501,95 +20501,112 @@ public java.lang.String getBaseUrl() { } } /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrl( - java.lang.String value) { + public Builder setBaseUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + baseUrl_ = value; onChanged(); return this; } /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBaseUrl() { - + baseUrl_ = getDefaultInstance().getBaseUrl(); onChanged(); return this; } /** + * + * *
            * Required. The location of the repository directory.
            * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setBaseUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + baseUrl_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList gpgKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList gpgKeys_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureGpgKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { gpgKeys_ = new com.google.protobuf.LazyStringArrayList(gpgKeys_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList - getGpgKeysList() { + public com.google.protobuf.ProtocolStringList getGpgKeysList() { return gpgKeys_.getUnmodifiableView(); } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -17597,80 +20614,90 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString - getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param index The index to set the value at. * @param value The gpgKeys to set. * @return This builder for chaining. */ - public Builder setGpgKeys( - int index, java.lang.String value) { + public Builder setGpgKeys(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.set(index, value); onChanged(); return this; } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param value The gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeys( - java.lang.String value) { + public Builder addGpgKeys(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param values The gpgKeys to add. * @return This builder for chaining. */ - public Builder addAllGpgKeys( - java.lang.Iterable values) { + public Builder addAllGpgKeys(java.lang.Iterable values) { ensureGpgKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, gpgKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, gpgKeys_); onChanged(); return this; } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @return This builder for chaining. */ public Builder clearGpgKeys() { @@ -17680,25 +20707,28 @@ public Builder clearGpgKeys() { return this; } /** + * + * *
            * URIs of GPG keys.
            * 
* * repeated string gpg_keys = 4; + * * @param value The bytes of the gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeysBytes( - com.google.protobuf.ByteString value) { + public Builder addGpgKeysBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -17711,30 +20741,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ZypperRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ZypperRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ZypperRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ZypperRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -17746,74 +20782,90 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GooRepositoryOrBuilder extends + public interface GooRepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. The name of the repository.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
          * Required. The name of the repository.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
          * Required. The url of the repository.
          * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ java.lang.String getUrl(); /** + * + * *
          * Required. The url of the repository.
          * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ - com.google.protobuf.ByteString - getUrlBytes(); + com.google.protobuf.ByteString getUrlBytes(); } /** + * + * *
        * Represents a Goo package repository. These are added to a repo file
        * that is managed at
        * `C:/ProgramData/GooGet/repos/google_osconfig.repo`.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository} */ - public static final class GooRepository extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GooRepository extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) GooRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GooRepository.newBuilder() to construct. private GooRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GooRepository() { name_ = ""; url_ = ""; @@ -17821,16 +20873,15 @@ private GooRepository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GooRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GooRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -17849,25 +20900,27 @@ private GooRepository( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - url_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + url_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -17875,34 +20928,42 @@ private GooRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
          * Required. The name of the repository.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -17911,29 +20972,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
          * Required. The name of the repository.
          * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -17944,11 +21005,14 @@ public java.lang.String getName() { public static final int URL_FIELD_NUMBER = 2; private volatile java.lang.Object url_; /** + * + * *
          * Required. The url of the repository.
          * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ @java.lang.Override @@ -17957,29 +21021,29 @@ public java.lang.String getUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; } } /** + * + * *
          * Required. The url of the repository.
          * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); url_ = b; return b; } else { @@ -17988,6 +21052,7 @@ public java.lang.String getUrl() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -18000,7 +21065,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -18030,17 +21095,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository + other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository) + obj; - if (!getName() - .equals(other.getName())) return false; - if (!getUrl() - .equals(other.getUrl())) return false; + if (!getName().equals(other.getName())) return false; + if (!getUrl().equals(other.getUrl())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -18061,88 +21131,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -18152,46 +21252,55 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Represents a Goo package repository. These are added to a repo file
          * that is managed at
          * `C:/ProgramData/GooGet/repos/google_osconfig.repo`.
          * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepositoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository.Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -18203,19 +21312,25 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository + build() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -18223,8 +21338,13 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Go } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository + buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository + result = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository(this); result.name_ = name_; result.url_ = url_; onBuilt(); @@ -18235,46 +21355,59 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Go public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository + other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -18298,11 +21431,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -18314,18 +21451,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -18334,20 +21473,21 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -18355,54 +21495,61 @@ public java.lang.String getName() { } } /** + * + * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
            * Required. The name of the repository.
            * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -18410,18 +21557,20 @@ public Builder setNameBytes( private java.lang.Object url_ = ""; /** + * + * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; @@ -18430,20 +21579,21 @@ public java.lang.String getUrl() { } } /** + * + * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); url_ = b; return b; } else { @@ -18451,58 +21601,66 @@ public java.lang.String getUrl() { } } /** + * + * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl( - java.lang.String value) { + public Builder setUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** + * + * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** + * + * *
            * Required. The url of the repository.
            * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -18515,30 +21673,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GooRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GooRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GooRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GooRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -18550,16 +21714,18 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int repositoryCase_ = 0; private java.lang.Object repository_; + public enum RepositoryCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { APT(1), YUM(2), @@ -18567,6 +21733,7 @@ public enum RepositoryCase GOO(4), REPOSITORY_NOT_SET(0); private final int value; + private RepositoryCase(int value) { this.value = value; } @@ -18582,32 +21749,42 @@ public static RepositoryCase valueOf(int value) { public static RepositoryCase forNumber(int value) { switch (value) { - case 1: return APT; - case 2: return YUM; - case 3: return ZYPPER; - case 4: return GOO; - case 0: return REPOSITORY_NOT_SET; - default: return null; + case 1: + return APT; + case 2: + return YUM; + case 3: + return ZYPPER; + case 4: + return GOO; + case 0: + return REPOSITORY_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RepositoryCase - getRepositoryCase() { - return RepositoryCase.forNumber( - repositoryCase_); + public RepositoryCase getRepositoryCase() { + return RepositoryCase.forNumber(repositoryCase_); } public static final int APT_FIELD_NUMBER = 1; /** + * + * *
        * An Apt Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * * @return Whether the apt field is set. */ @java.lang.Override @@ -18615,42 +21792,65 @@ public boolean hasApt() { return repositoryCase_ == 1; } /** + * + * *
        * An Apt Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * * @return The apt. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository getApt() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + getApt() { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository) + repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + .getDefaultInstance(); } /** + * + * *
        * An Apt Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder getAptOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepositoryOrBuilder + getAptOrBuilder() { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository) + repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + .getDefaultInstance(); } public static final int YUM_FIELD_NUMBER = 2; /** + * + * *
        * A Yum Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * * @return Whether the yum field is set. */ @java.lang.Override @@ -18658,42 +21858,65 @@ public boolean hasYum() { return repositoryCase_ == 2; } /** + * + * *
        * A Yum Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * * @return The yum. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository getYum() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository + getYum() { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository) + repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository + .getDefaultInstance(); } /** + * + * *
        * A Yum Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder getYumOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepositoryOrBuilder + getYumOrBuilder() { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository) + repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository + .getDefaultInstance(); } public static final int ZYPPER_FIELD_NUMBER = 3; /** + * + * *
        * A Zypper Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * * @return Whether the zypper field is set. */ @java.lang.Override @@ -18701,42 +21924,65 @@ public boolean hasZypper() { return repositoryCase_ == 3; } /** + * + * *
        * A Zypper Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * * @return The zypper. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository getZypper() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository + getZypper() { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.getDefaultInstance(); } /** + * + * *
        * A Zypper Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder getZypperOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepositoryOrBuilder + getZypperOrBuilder() { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.getDefaultInstance(); } public static final int GOO_FIELD_NUMBER = 4; /** + * + * *
        * A Goo Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * * @return Whether the goo field is set. */ @java.lang.Override @@ -18744,36 +21990,55 @@ public boolean hasGoo() { return repositoryCase_ == 4; } /** + * + * *
        * A Goo Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * * @return The goo. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository getGoo() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository + getGoo() { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository) + repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository + .getDefaultInstance(); } /** + * + * *
        * A Goo Repository.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder getGooOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepositoryOrBuilder + getGooOrBuilder() { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository) + repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -18785,19 +22050,31 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (repositoryCase_ == 1) { - output.writeMessage(1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_); + output.writeMessage( + 1, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) + repository_); } if (repositoryCase_ == 2) { - output.writeMessage(2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_); + output.writeMessage( + 2, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) + repository_); } if (repositoryCase_ == 3) { - output.writeMessage(3, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_); + output.writeMessage( + 3, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + repository_); } if (repositoryCase_ == 4) { - output.writeMessage(4, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_); + output.writeMessage( + 4, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) + repository_); } unknownFields.writeTo(output); } @@ -18809,20 +22086,36 @@ public int getSerializedSize() { size = 0; if (repositoryCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository) + repository_); } if (repositoryCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository) + repository_); } if (repositoryCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + repository_); } if (repositoryCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository) + repository_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -18832,30 +22125,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) obj; if (!getRepositoryCase().equals(other.getRepositoryCase())) return false; switch (repositoryCase_) { case 1: - if (!getApt() - .equals(other.getApt())) return false; + if (!getApt().equals(other.getApt())) return false; break; case 2: - if (!getYum() - .equals(other.getYum())) return false; + if (!getYum().equals(other.getYum())) return false; break; case 3: - if (!getZypper() - .equals(other.getZypper())) return false; + if (!getZypper().equals(other.getZypper())) return false; break; case 4: - if (!getGoo() - .equals(other.getGoo())) return false; + if (!getGoo().equals(other.getGoo())) return false; break; case 0: default: @@ -18896,88 +22187,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -18987,44 +22293,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A resource that manages a package repository.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -19034,19 +22346,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource result = buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -19054,8 +22369,10 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource bu } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource result = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource(this); if (repositoryCase_ == 1) { if (aptBuilder_ == null) { result.repository_ = repository_; @@ -19093,66 +22410,79 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource)other); + if (other + instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .getDefaultInstance()) return this; switch (other.getRepositoryCase()) { - case APT: { - mergeApt(other.getApt()); - break; - } - case YUM: { - mergeYum(other.getYum()); - break; - } - case ZYPPER: { - mergeZypper(other.getZypper()); - break; - } - case GOO: { - mergeGoo(other.getGoo()); - break; - } - case REPOSITORY_NOT_SET: { - break; - } + case APT: + { + mergeApt(other.getApt()); + break; + } + case YUM: + { + mergeYum(other.getYum()); + break; + } + case ZYPPER: + { + mergeZypper(other.getZypper()); + break; + } + case GOO: + { + mergeGoo(other.getGoo()); + break; + } + case REPOSITORY_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -19169,11 +22499,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -19182,12 +22515,12 @@ public Builder mergeFrom( } return this; } + private int repositoryCase_ = 0; private java.lang.Object repository_; - public RepositoryCase - getRepositoryCase() { - return RepositoryCase.forNumber( - repositoryCase_); + + public RepositoryCase getRepositoryCase() { + return RepositoryCase.forNumber(repositoryCase_); } public Builder clearRepository() { @@ -19197,15 +22530,25 @@ public Builder clearRepository() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder> aptBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + .Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepositoryOrBuilder> + aptBuilder_; /** + * + * *
          * An Apt Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * * @return Whether the apt field is set. */ @java.lang.Override @@ -19213,35 +22556,51 @@ public boolean hasApt() { return repositoryCase_ == 1; } /** + * + * *
          * An Apt Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * * @return The apt. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository getApt() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + getApt() { if (aptBuilder_ == null) { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository) + repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.getDefaultInstance(); } else { if (repositoryCase_ == 1) { return aptBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.getDefaultInstance(); } } /** + * + * *
          * An Apt Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * */ - public Builder setApt(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository value) { + public Builder setApt( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + value) { if (aptBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -19255,14 +22614,20 @@ public Builder setApt(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Reposi return this; } /** + * + * *
          * An Apt Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * */ public Builder setApt( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + .Builder + builderForValue) { if (aptBuilder_ == null) { repository_ = builderForValue.build(); onChanged(); @@ -19273,18 +22638,32 @@ public Builder setApt( return this; } /** + * + * *
          * An Apt Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * */ - public Builder mergeApt(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository value) { + public Builder mergeApt( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + value) { if (aptBuilder_ == null) { - if (repositoryCase_ == 1 && - repository_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance()) { - repository_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_) - .mergeFrom(value).buildPartial(); + if (repositoryCase_ == 1 + && repository_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.getDefaultInstance()) { + repository_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository) + repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -19300,11 +22679,15 @@ public Builder mergeApt(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Repo return this; } /** + * + * *
          * An Apt Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * */ public Builder clearApt() { if (aptBuilder_ == null) { @@ -19323,67 +22706,113 @@ public Builder clearApt() { return this; } /** + * + * *
          * An Apt Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.Builder getAptBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + .Builder + getAptBuilder() { return getAptFieldBuilder().getBuilder(); } /** + * + * *
          * An Apt Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder getAptOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepositoryOrBuilder + getAptOrBuilder() { if ((repositoryCase_ == 1) && (aptBuilder_ != null)) { return aptBuilder_.getMessageOrBuilder(); } else { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository) + repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.getDefaultInstance(); } } /** + * + * *
          * An Apt Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository + .Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepositoryOrBuilder> getAptFieldBuilder() { if (aptBuilder_ == null) { if (!(repositoryCase_ == 1)) { - repository_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.getDefaultInstance(); - } - aptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository) repository_, + repository_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.getDefaultInstance(); + } + aptBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepositoryOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .AptRepository) + repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 1; - onChanged();; + onChanged(); + ; return aptBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder> yumBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository + .Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepositoryOrBuilder> + yumBuilder_; /** + * + * *
          * A Yum Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * * @return Whether the yum field is set. */ @java.lang.Override @@ -19391,35 +22820,51 @@ public boolean hasYum() { return repositoryCase_ == 2; } /** + * + * *
          * A Yum Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * * @return The yum. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository getYum() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository + getYum() { if (yumBuilder_ == null) { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository) + repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository.getDefaultInstance(); } else { if (repositoryCase_ == 2) { return yumBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository.getDefaultInstance(); } } /** + * + * *
          * A Yum Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * */ - public Builder setYum(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository value) { + public Builder setYum( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository + value) { if (yumBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -19433,14 +22878,20 @@ public Builder setYum(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Reposi return this; } /** + * + * *
          * A Yum Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * */ public Builder setYum( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository + .Builder + builderForValue) { if (yumBuilder_ == null) { repository_ = builderForValue.build(); onChanged(); @@ -19451,18 +22902,32 @@ public Builder setYum( return this; } /** + * + * *
          * A Yum Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * */ - public Builder mergeYum(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository value) { + public Builder mergeYum( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository + value) { if (yumBuilder_ == null) { - if (repositoryCase_ == 2 && - repository_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance()) { - repository_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_) - .mergeFrom(value).buildPartial(); + if (repositoryCase_ == 2 + && repository_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository.getDefaultInstance()) { + repository_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository.newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository) + repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -19478,11 +22943,15 @@ public Builder mergeYum(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Repo return this; } /** + * + * *
          * A Yum Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * */ public Builder clearYum() { if (yumBuilder_ == null) { @@ -19501,67 +22970,113 @@ public Builder clearYum() { return this; } /** + * + * *
          * A Yum Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.Builder getYumBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository + .Builder + getYumBuilder() { return getYumFieldBuilder().getBuilder(); } /** + * + * *
          * A Yum Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder getYumOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepositoryOrBuilder + getYumOrBuilder() { if ((repositoryCase_ == 2) && (yumBuilder_ != null)) { return yumBuilder_.getMessageOrBuilder(); } else { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository) + repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository.getDefaultInstance(); } } /** + * + * *
          * A Yum Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository + .Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepositoryOrBuilder> getYumFieldBuilder() { if (yumBuilder_ == null) { if (!(repositoryCase_ == 2)) { - repository_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.getDefaultInstance(); - } - yumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository) repository_, + repository_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository.getDefaultInstance(); + } + yumBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepositoryOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .YumRepository) + repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 2; - onChanged();; + onChanged(); + ; return yumBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder> zypperBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepositoryOrBuilder> + zypperBuilder_; /** + * + * *
          * A Zypper Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * * @return Whether the zypper field is set. */ @java.lang.Override @@ -19569,35 +23084,52 @@ public boolean hasZypper() { return repositoryCase_ == 3; } /** + * + * *
          * A Zypper Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * * @return The zypper. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository getZypper() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository + getZypper() { if (zypperBuilder_ == null) { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.getDefaultInstance(); } else { if (repositoryCase_ == 3) { return zypperBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.getDefaultInstance(); } } /** + * + * *
          * A Zypper Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * */ - public Builder setZypper(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository value) { + public Builder setZypper( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository + value) { if (zypperBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -19611,14 +23143,20 @@ public Builder setZypper(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Rep return this; } /** + * + * *
          * A Zypper Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * */ public Builder setZypper( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository + .Builder + builderForValue) { if (zypperBuilder_ == null) { repository_ = builderForValue.build(); onChanged(); @@ -19629,18 +23167,32 @@ public Builder setZypper( return this; } /** + * + * *
          * A Zypper Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * */ - public Builder mergeZypper(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository value) { + public Builder mergeZypper( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository + value) { if (zypperBuilder_ == null) { - if (repositoryCase_ == 3 && - repository_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance()) { - repository_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_) - .mergeFrom(value).buildPartial(); + if (repositoryCase_ == 3 + && repository_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.getDefaultInstance()) { + repository_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -19656,11 +23208,15 @@ public Builder mergeZypper(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.R return this; } /** + * + * *
          * A Zypper Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * */ public Builder clearZypper() { if (zypperBuilder_ == null) { @@ -19679,67 +23235,113 @@ public Builder clearZypper() { return this; } /** + * + * *
          * A Zypper Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder getZypperBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.Builder + getZypperBuilder() { return getZypperFieldBuilder().getBuilder(); } /** + * + * *
          * A Zypper Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder getZypperOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepositoryOrBuilder + getZypperOrBuilder() { if ((repositoryCase_ == 3) && (zypperBuilder_ != null)) { return zypperBuilder_.getMessageOrBuilder(); } else { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.getDefaultInstance(); } } /** + * + * *
          * A Zypper Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepositoryOrBuilder> getZypperFieldBuilder() { if (zypperBuilder_ == null) { if (!(repositoryCase_ == 3)) { - repository_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.getDefaultInstance(); - } - zypperBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository) repository_, + repository_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.getDefaultInstance(); + } + zypperBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepositoryOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .ZypperRepository) + repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 3; - onChanged();; + onChanged(); + ; return zypperBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder> gooBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository + .Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepositoryOrBuilder> + gooBuilder_; /** + * + * *
          * A Goo Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * * @return Whether the goo field is set. */ @java.lang.Override @@ -19747,35 +23349,51 @@ public boolean hasGoo() { return repositoryCase_ == 4; } /** + * + * *
          * A Goo Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * * @return The goo. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository getGoo() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository + getGoo() { if (gooBuilder_ == null) { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository) + repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository.getDefaultInstance(); } else { if (repositoryCase_ == 4) { return gooBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository.getDefaultInstance(); } } /** + * + * *
          * A Goo Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * */ - public Builder setGoo(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository value) { + public Builder setGoo( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository + value) { if (gooBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -19789,14 +23407,20 @@ public Builder setGoo(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Reposi return this; } /** + * + * *
          * A Goo Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * */ public Builder setGoo( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository + .Builder + builderForValue) { if (gooBuilder_ == null) { repository_ = builderForValue.build(); onChanged(); @@ -19807,18 +23431,32 @@ public Builder setGoo( return this; } /** + * + * *
          * A Goo Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * */ - public Builder mergeGoo(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository value) { + public Builder mergeGoo( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository + value) { if (gooBuilder_ == null) { - if (repositoryCase_ == 4 && - repository_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance()) { - repository_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_) - .mergeFrom(value).buildPartial(); + if (repositoryCase_ == 4 + && repository_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository.getDefaultInstance()) { + repository_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository.newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository) + repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -19834,11 +23472,15 @@ public Builder mergeGoo(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Repo return this; } /** + * + * *
          * A Goo Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * */ public Builder clearGoo() { if (gooBuilder_ == null) { @@ -19857,58 +23499,94 @@ public Builder clearGoo() { return this; } /** + * + * *
          * A Goo Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.Builder getGooBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository + .Builder + getGooBuilder() { return getGooFieldBuilder().getBuilder(); } /** + * + * *
          * A Goo Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder getGooOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepositoryOrBuilder + getGooOrBuilder() { if ((repositoryCase_ == 4) && (gooBuilder_ != null)) { return gooBuilder_.getMessageOrBuilder(); } else { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository) + repository_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository.getDefaultInstance(); } } /** + * + * *
          * A Goo Repository.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository + .Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepositoryOrBuilder> getGooFieldBuilder() { if (gooBuilder_ == null) { if (!(repositoryCase_ == 4)) { - repository_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.getDefaultInstance(); - } - gooBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository) repository_, + repository_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository.getDefaultInstance(); + } + gooBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepositoryOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .GooRepository) + repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 4; - onChanged();; + onChanged(); + ; return gooBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -19921,30 +23599,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RepositoryResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RepositoryResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RepositoryResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RepositoryResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -19956,17 +23637,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ExecResourceOrBuilder extends + public interface ExecResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Required. What to run to validate this resource is in the desired state.
        * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -19974,11 +23658,16 @@ public interface ExecResourceOrBuilder extends
        * failure running validate.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the validate field is set. */ boolean hasValidate(); /** + * + * *
        * Required. What to run to validate this resource is in the desired state.
        * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -19986,11 +23675,16 @@ public interface ExecResourceOrBuilder extends
        * failure running validate.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The validate. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec getValidate(); /** + * + * *
        * Required. What to run to validate this resource is in the desired state.
        * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -19998,44 +23692,61 @@ public interface ExecResourceOrBuilder extends
        * failure running validate.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder getValidateOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder + getValidateOrBuilder(); /** + * + * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
        * a failure running enforce.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * + * * @return Whether the enforce field is set. */ boolean hasEnforce(); /** + * + * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
        * a failure running enforce.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * + * * @return The enforce. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec getEnforce(); /** + * + * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
        * a failure running enforce.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder getEnforceOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder + getEnforceOrBuilder(); } /** + * + * *
      * A resource that allows executing scripts on the VM.
      * The `ExecResource` has 2 stages: `validate` and `enforce` and both stages
@@ -20063,30 +23774,29 @@ public interface ExecResourceOrBuilder extends
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource}
      */
-    public static final class ExecResource extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class ExecResource extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource)
         ExecResourceOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use ExecResource.newBuilder() to construct.
       private ExecResource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private ExecResource() {
-      }
+
+      private ExecResource() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new ExecResource();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private ExecResource(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -20105,39 +23815,51 @@ private ExecResource(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder subBuilder = null;
-                if (validate_ != null) {
-                  subBuilder = validate_.toBuilder();
-                }
-                validate_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(validate_);
-                  validate_ = subBuilder.buildPartial();
-                }
+              case 10:
+                {
+                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder
+                      subBuilder = null;
+                  if (validate_ != null) {
+                    subBuilder = validate_.toBuilder();
+                  }
+                  validate_ =
+                      input.readMessage(
+                          com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec
+                              .parser(),
+                          extensionRegistry);
+                  if (subBuilder != null) {
+                    subBuilder.mergeFrom(validate_);
+                    validate_ = subBuilder.buildPartial();
+                  }
 
-                break;
-              }
-              case 18: {
-                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder subBuilder = null;
-                if (enforce_ != null) {
-                  subBuilder = enforce_.toBuilder();
-                }
-                enforce_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(enforce_);
-                  enforce_ = subBuilder.buildPartial();
+                  break;
                 }
+              case 18:
+                {
+                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder
+                      subBuilder = null;
+                  if (enforce_ != null) {
+                    subBuilder = enforce_.toBuilder();
+                  }
+                  enforce_ =
+                      input.readMessage(
+                          com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec
+                              .parser(),
+                          extensionRegistry);
+                  if (subBuilder != null) {
+                    subBuilder.mergeFrom(enforce_);
+                    enforce_ = subBuilder.buildPartial();
+                  }
 
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+                  break;
+                }
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -20145,49 +23867,61 @@ private ExecResource(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+            .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+            .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder.class);
+                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.class,
+                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder.class);
       }
 
-      public interface ExecOrBuilder extends
+      public interface ExecOrBuilder
+          extends
           // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec)
           com.google.protobuf.MessageOrBuilder {
 
         /**
+         *
+         *
          * 
          * A remote or local file.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; + * * @return Whether the file field is set. */ boolean hasFile(); /** + * + * *
          * A remote or local file.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; + * * @return The file. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getFile(); /** + * + * *
          * A remote or local file.
          * 
@@ -20197,98 +23931,129 @@ public interface ExecOrBuilder extends com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getFileOrBuilder(); /** + * + * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; + * * @return Whether the script field is set. */ boolean hasScript(); /** + * + * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; + * * @return The script. */ java.lang.String getScript(); /** + * + * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; + * * @return The bytes for script. */ - com.google.protobuf.ByteString - getScriptBytes(); + com.google.protobuf.ByteString getScriptBytes(); /** + * + * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; + * * @return A list containing the args. */ - java.util.List - getArgsList(); + java.util.List getArgsList(); /** + * + * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; + * * @return The count of args. */ int getArgsCount(); /** + * + * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; + * * @param index The index of the element to return. * @return The args at the given index. */ java.lang.String getArgs(int index); /** + * + * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; + * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - com.google.protobuf.ByteString - getArgsBytes(int index); + com.google.protobuf.ByteString getArgsBytes(int index); /** + * + * *
          * Required. The script interpreter to use.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for interpreter. */ int getInterpreterValue(); /** + * + * *
          * Required. The script interpreter to use.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The interpreter. */ - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter getInterpreter(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter + getInterpreter(); /** + * + * *
          * Only recorded for enforce Exec.
          * Path to an output file (that is created by this Exec) whose
@@ -20299,10 +24064,13 @@ public interface ExecOrBuilder extends
          * 
* * string output_file_path = 5; + * * @return The outputFilePath. */ java.lang.String getOutputFilePath(); /** + * + * *
          * Only recorded for enforce Exec.
          * Path to an output file (that is created by this Exec) whose
@@ -20313,29 +24081,33 @@ public interface ExecOrBuilder extends
          * 
* * string output_file_path = 5; + * * @return The bytes for outputFilePath. */ - com.google.protobuf.ByteString - getOutputFilePathBytes(); + com.google.protobuf.ByteString getOutputFilePathBytes(); - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.SourceCase getSourceCase(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.SourceCase + getSourceCase(); } /** + * + * *
        * A file or script to execute.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec} */ - public static final class Exec extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Exec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) ExecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Exec.newBuilder() to construct. private Exec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Exec() { args_ = com.google.protobuf.LazyStringArrayList.EMPTY; interpreter_ = 0; @@ -20344,16 +24116,15 @@ private Exec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Exec(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Exec( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -20373,54 +24144,65 @@ private Exec( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_).toBuilder(); - } - source_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - sourceCase_ = 2; - source_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - args_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = + null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } - args_.add(s); - break; - } - case 32: { - int rawValue = input.readEnum(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 2; + source_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + args_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + args_.add(s); + break; + } + case 32: + { + int rawValue = input.readEnum(); - interpreter_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + interpreter_ = rawValue; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - outputFilePath_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + outputFilePath_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -20428,8 +24210,8 @@ private Exec( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); @@ -20438,29 +24220,37 @@ private Exec( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder + .class); } /** + * + * *
          * The interpreter to use.
          * 
* - * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter} + * Protobuf enum {@code + * google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter} */ - public enum Interpreter - implements com.google.protobuf.ProtocolMessageEnum { + public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
            * Invalid value, the request will return validation error.
            * 
@@ -20469,6 +24259,8 @@ public enum Interpreter */ INTERPRETER_UNSPECIFIED(0), /** + * + * *
            * If an interpreter is not specified, the
            * source is executed directly. This execution, without an
@@ -20481,6 +24273,8 @@ public enum Interpreter
            */
           NONE(1),
           /**
+           *
+           *
            * 
            * Indicates that the script runs with `/bin/sh` on Linux and
            * `cmd.exe` on Windows.
@@ -20490,6 +24284,8 @@ public enum Interpreter
            */
           SHELL(2),
           /**
+           *
+           *
            * 
            * Indicates that the script runs with PowerShell.
            * 
@@ -20501,6 +24297,8 @@ public enum Interpreter ; /** + * + * *
            * Invalid value, the request will return validation error.
            * 
@@ -20509,6 +24307,8 @@ public enum Interpreter */ public static final int INTERPRETER_UNSPECIFIED_VALUE = 0; /** + * + * *
            * If an interpreter is not specified, the
            * source is executed directly. This execution, without an
@@ -20521,6 +24321,8 @@ public enum Interpreter
            */
           public static final int NONE_VALUE = 1;
           /**
+           *
+           *
            * 
            * Indicates that the script runs with `/bin/sh` on Linux and
            * `cmd.exe` on Windows.
@@ -20530,6 +24332,8 @@ public enum Interpreter
            */
           public static final int SHELL_VALUE = 2;
           /**
+           *
+           *
            * 
            * Indicates that the script runs with PowerShell.
            * 
@@ -20538,7 +24342,6 @@ public enum Interpreter */ public static final int POWERSHELL_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -20563,11 +24366,16 @@ public static Interpreter valueOf(int value) { */ public static Interpreter forNumber(int value) { switch (value) { - case 0: return INTERPRETER_UNSPECIFIED; - case 1: return NONE; - case 2: return SHELL; - case 3: return POWERSHELL; - default: return null; + case 0: + return INTERPRETER_UNSPECIFIED; + case 1: + return NONE; + case 2: + return SHELL; + case 3: + return POWERSHELL; + default: + return null; } } @@ -20575,29 +24383,32 @@ public static Interpreter forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Interpreter> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Interpreter findValueByNumber(int number) { - return Interpreter.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Interpreter findValueByNumber(int number) { + return Interpreter.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + .getDescriptor() + .getEnumTypes() + .get(0); } private static final Interpreter[] VALUES = values(); @@ -20606,7 +24417,7 @@ public static Interpreter valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -20625,13 +24436,16 @@ private Interpreter(int value) { private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FILE(1), SCRIPT(2), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -20647,30 +24461,36 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return FILE; - case 2: return SCRIPT; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return FILE; + case 2: + return SCRIPT; + case 0: + return SOURCE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public static final int FILE_FIELD_NUMBER = 1; /** + * + * *
          * A remote or local file.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; + * * @return Whether the file field is set. */ @java.lang.Override @@ -20678,21 +24498,26 @@ public boolean hasFile() { return sourceCase_ == 1; } /** + * + * *
          * A remote or local file.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; + * * @return The file. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getFile() { if (sourceCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance(); } /** + * + * *
          * A remote or local file.
          * 
@@ -20700,33 +24525,40 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getFile() { * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getFileOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder + getFileOrBuilder() { if (sourceCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance(); } public static final int SCRIPT_FIELD_NUMBER = 2; /** + * + * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; + * * @return Whether the script field is set. */ public boolean hasScript() { return sourceCase_ == 2; } /** + * + * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; + * * @return The script. */ public java.lang.String getScript() { @@ -20737,8 +24569,7 @@ public java.lang.String getScript() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -20747,24 +24578,25 @@ public java.lang.String getScript() { } } /** + * + * *
          * An inline script.
          * The size of the script is limited to 1024 characters.
          * 
* * string script = 2; + * * @return The bytes for script. */ - public com.google.protobuf.ByteString - getScriptBytes() { + public com.google.protobuf.ByteString getScriptBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -20777,34 +24609,42 @@ public java.lang.String getScript() { public static final int ARGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList args_; /** + * + * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; + * * @return A list containing the args. */ - public com.google.protobuf.ProtocolStringList - getArgsList() { + public com.google.protobuf.ProtocolStringList getArgsList() { return args_; } /** + * + * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; + * * @return The count of args. */ public int getArgsCount() { return args_.size(); } /** + * + * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; + * * @param index The index of the element to return. * @return The args at the given index. */ @@ -20812,49 +24652,71 @@ public java.lang.String getArgs(int index) { return args_.get(index); } /** + * + * *
          * Optional arguments to pass to the source during execution.
          * 
* * repeated string args = 3; + * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - public com.google.protobuf.ByteString - getArgsBytes(int index) { + public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); } public static final int INTERPRETER_FIELD_NUMBER = 4; private int interpreter_; /** + * + * *
          * Required. The script interpreter to use.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override public int getInterpreterValue() { + @java.lang.Override + public int getInterpreterValue() { return interpreter_; } /** + * + * *
          * Required. The script interpreter to use.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The interpreter. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter getInterpreter() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter + getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter result = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter.valueOf(interpreter_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter result = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter + .valueOf(interpreter_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter + .UNRECOGNIZED + : result; } public static final int OUTPUT_FILE_PATH_FIELD_NUMBER = 5; private volatile java.lang.Object outputFilePath_; /** + * + * *
          * Only recorded for enforce Exec.
          * Path to an output file (that is created by this Exec) whose
@@ -20865,6 +24727,7 @@ public java.lang.String getArgs(int index) {
          * 
* * string output_file_path = 5; + * * @return The outputFilePath. */ @java.lang.Override @@ -20873,14 +24736,15 @@ public java.lang.String getOutputFilePath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputFilePath_ = s; return s; } } /** + * + * *
          * Only recorded for enforce Exec.
          * Path to an output file (that is created by this Exec) whose
@@ -20891,16 +24755,15 @@ public java.lang.String getOutputFilePath() {
          * 
* * string output_file_path = 5; + * * @return The bytes for outputFilePath. */ @java.lang.Override - public com.google.protobuf.ByteString - getOutputFilePathBytes() { + public com.google.protobuf.ByteString getOutputFilePathBytes() { java.lang.Object ref = outputFilePath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputFilePath_ = b; return b; } else { @@ -20909,6 +24772,7 @@ public java.lang.String getOutputFilePath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -20921,9 +24785,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (sourceCase_ == 1) { - output.writeMessage(1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); + output.writeMessage( + 1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); } if (sourceCase_ == 2) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, source_); @@ -20931,7 +24796,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < args_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, args_.getRaw(i)); } - if (interpreter_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { + if (interpreter_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter + .INTERPRETER_UNSPECIFIED + .getNumber()) { output.writeEnum(4, interpreter_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputFilePath_)) { @@ -20947,8 +24815,9 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); } if (sourceCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_); @@ -20961,9 +24830,11 @@ public int getSerializedSize() { size += dataSize; size += 1 * getArgsList().size(); } - if (interpreter_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, interpreter_); + if (interpreter_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter + .INTERPRETER_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, interpreter_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputFilePath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, outputFilePath_); @@ -20976,27 +24847,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) obj; - if (!getArgsList() - .equals(other.getArgsList())) return false; + if (!getArgsList().equals(other.getArgsList())) return false; if (interpreter_ != other.interpreter_) return false; - if (!getOutputFilePath() - .equals(other.getOutputFilePath())) return false; + if (!getOutputFilePath().equals(other.getOutputFilePath())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 1: - if (!getFile() - .equals(other.getFile())) return false; + if (!getFile().equals(other.getFile())) return false; break; case 2: - if (!getScript() - .equals(other.getScript())) return false; + if (!getScript().equals(other.getScript())) return false; break; case 0: default: @@ -21037,88 +24906,105 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -21128,44 +25014,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * A file or script to execute.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -21181,19 +25073,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec build() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec result = buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -21201,8 +25096,10 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec bui } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec(this); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec result = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec(this); int from_bitField0_ = bitField0_; if (sourceCase_ == 1) { if (fileBuilder_ == null) { @@ -21230,46 +25127,54 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec)other); + if (other + instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + .getDefaultInstance()) return this; if (!other.args_.isEmpty()) { if (args_.isEmpty()) { args_ = other.args_; @@ -21288,19 +25193,22 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Exe onChanged(); } switch (other.getSourceCase()) { - case FILE: { - mergeFile(other.getFile()); - break; - } - case SCRIPT: { - sourceCase_ = 2; - source_ = other.source_; - onChanged(); - break; - } - case SOURCE_NOT_SET: { - break; - } + case FILE: + { + mergeFile(other.getFile()); + break; + } + case SCRIPT: + { + sourceCase_ = 2; + source_ = other.source_; + onChanged(); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -21317,11 +25225,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -21330,12 +25241,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -21348,13 +25259,19 @@ public Builder clearSource() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> fileBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> + fileBuilder_; /** + * + * *
            * A remote or local file.
            * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; + * * @return Whether the file field is set. */ @java.lang.Override @@ -21362,11 +25279,14 @@ public boolean hasFile() { return sourceCase_ == 1; } /** + * + * *
            * A remote or local file.
            * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; + * * @return The file. */ @java.lang.Override @@ -21384,6 +25304,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getFile() { } } /** + * + * *
            * A remote or local file.
            * 
@@ -21404,6 +25326,8 @@ public Builder setFile(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File return this; } /** + * + * *
            * A remote or local file.
            * 
@@ -21422,6 +25346,8 @@ public Builder setFile( return this; } /** + * + * *
            * A remote or local file.
            * 
@@ -21430,10 +25356,15 @@ public Builder setFile( */ public Builder mergeFile(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { if (fileBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance()) { - source_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File + .getDefaultInstance()) { + source_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -21449,6 +25380,8 @@ public Builder mergeFile(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Fil return this; } /** + * + * *
            * A remote or local file.
            * 
@@ -21472,6 +25405,8 @@ public Builder clearFile() { return this; } /** + * + * *
            * A remote or local file.
            * 
@@ -21482,6 +25417,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder getFileB return getFileFieldBuilder().getBuilder(); } /** + * + * *
            * A remote or local file.
            * 
@@ -21489,7 +25426,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder getFileB * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getFileOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder + getFileOrBuilder() { if ((sourceCase_ == 1) && (fileBuilder_ != null)) { return fileBuilder_.getMessageOrBuilder(); } else { @@ -21500,6 +25438,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getFile } } /** + * + * *
            * A remote or local file.
            * 
@@ -21507,31 +25447,41 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getFile * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> getFileFieldBuilder() { if (fileBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance(); + source_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance(); } - fileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( + fileBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return fileBuilder_; } /** + * + * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; + * * @return Whether the script field is set. */ @java.lang.Override @@ -21539,12 +25489,15 @@ public boolean hasScript() { return sourceCase_ == 2; } /** + * + * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; + * * @return The script. */ @java.lang.Override @@ -21554,8 +25507,7 @@ public java.lang.String getScript() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -21566,25 +25518,26 @@ public java.lang.String getScript() { } } /** + * + * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; + * * @return The bytes for script. */ @java.lang.Override - public com.google.protobuf.ByteString - getScriptBytes() { + public com.google.protobuf.ByteString getScriptBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -21594,32 +25547,37 @@ public java.lang.String getScript() { } } /** + * + * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; + * * @param value The script to set. * @return This builder for chaining. */ - public Builder setScript( - java.lang.String value) { + public Builder setScript(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceCase_ = 2; + throw new NullPointerException(); + } + sourceCase_ = 2; source_ = value; onChanged(); return this; } /** + * + * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; + * * @return This builder for chaining. */ public Builder clearScript() { @@ -21631,63 +25589,75 @@ public Builder clearScript() { return this; } /** + * + * *
            * An inline script.
            * The size of the script is limited to 1024 characters.
            * 
* * string script = 2; + * * @param value The bytes for script to set. * @return This builder for chaining. */ - public Builder setScriptBytes( - com.google.protobuf.ByteString value) { + public Builder setScriptBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); sourceCase_ = 2; source_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList args_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList args_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureArgsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(args_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; + * * @return A list containing the args. */ - public com.google.protobuf.ProtocolStringList - getArgsList() { + public com.google.protobuf.ProtocolStringList getArgsList() { return args_.getUnmodifiableView(); } /** + * + * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; + * * @return The count of args. */ public int getArgsCount() { return args_.size(); } /** + * + * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; + * * @param index The index of the element to return. * @return The args at the given index. */ @@ -21695,80 +25665,90 @@ public java.lang.String getArgs(int index) { return args_.get(index); } /** + * + * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; + * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - public com.google.protobuf.ByteString - getArgsBytes(int index) { + public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); } /** + * + * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; + * * @param index The index to set the value at. * @param value The args to set. * @return This builder for chaining. */ - public Builder setArgs( - int index, java.lang.String value) { + public Builder setArgs(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); + throw new NullPointerException(); + } + ensureArgsIsMutable(); args_.set(index, value); onChanged(); return this; } /** + * + * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; + * * @param value The args to add. * @return This builder for chaining. */ - public Builder addArgs( - java.lang.String value) { + public Builder addArgs(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); + throw new NullPointerException(); + } + ensureArgsIsMutable(); args_.add(value); onChanged(); return this; } /** + * + * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; + * * @param values The args to add. * @return This builder for chaining. */ - public Builder addAllArgs( - java.lang.Iterable values) { + public Builder addAllArgs(java.lang.Iterable values) { ensureArgsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, args_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, args_); onChanged(); return this; } /** + * + * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; + * * @return This builder for chaining. */ public Builder clearArgs() { @@ -21778,20 +25758,22 @@ public Builder clearArgs() { return this; } /** + * + * *
            * Optional arguments to pass to the source during execution.
            * 
* * repeated string args = 3; + * * @param value The bytes of the args to add. * @return This builder for chaining. */ - public Builder addArgsBytes( - com.google.protobuf.ByteString value) { + public Builder addArgsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureArgsIsMutable(); args_.add(value); onChanged(); @@ -21800,73 +25782,108 @@ public Builder addArgsBytes( private int interpreter_ = 0; /** + * + * *
            * Required. The script interpreter to use.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override public int getInterpreterValue() { + @java.lang.Override + public int getInterpreterValue() { return interpreter_; } /** + * + * *
            * Required. The script interpreter to use.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for interpreter to set. * @return This builder for chaining. */ public Builder setInterpreterValue(int value) { - + interpreter_ = value; onChanged(); return this; } /** + * + * *
            * Required. The script interpreter to use.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The interpreter. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter getInterpreter() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter + getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter result = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter.valueOf(interpreter_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter + result = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + .Interpreter.valueOf(interpreter_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter + .UNRECOGNIZED + : result; } /** + * + * *
            * Required. The script interpreter to use.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The interpreter to set. * @return This builder for chaining. */ - public Builder setInterpreter(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter value) { + public Builder setInterpreter( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter + value) { if (value == null) { throw new NullPointerException(); } - + interpreter_ = value.getNumber(); onChanged(); return this; } /** + * + * *
            * Required. The script interpreter to use.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearInterpreter() { - + interpreter_ = 0; onChanged(); return this; @@ -21874,6 +25891,8 @@ public Builder clearInterpreter() { private java.lang.Object outputFilePath_ = ""; /** + * + * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -21884,13 +25903,13 @@ public Builder clearInterpreter() {
            * 
* * string output_file_path = 5; + * * @return The outputFilePath. */ public java.lang.String getOutputFilePath() { java.lang.Object ref = outputFilePath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputFilePath_ = s; return s; @@ -21899,6 +25918,8 @@ public java.lang.String getOutputFilePath() { } } /** + * + * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -21909,15 +25930,14 @@ public java.lang.String getOutputFilePath() {
            * 
* * string output_file_path = 5; + * * @return The bytes for outputFilePath. */ - public com.google.protobuf.ByteString - getOutputFilePathBytes() { + public com.google.protobuf.ByteString getOutputFilePathBytes() { java.lang.Object ref = outputFilePath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputFilePath_ = b; return b; } else { @@ -21925,6 +25945,8 @@ public java.lang.String getOutputFilePath() { } } /** + * + * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -21935,20 +25957,22 @@ public java.lang.String getOutputFilePath() {
            * 
* * string output_file_path = 5; + * * @param value The outputFilePath to set. * @return This builder for chaining. */ - public Builder setOutputFilePath( - java.lang.String value) { + public Builder setOutputFilePath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputFilePath_ = value; onChanged(); return this; } /** + * + * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -21959,15 +25983,18 @@ public Builder setOutputFilePath(
            * 
* * string output_file_path = 5; + * * @return This builder for chaining. */ public Builder clearOutputFilePath() { - + outputFilePath_ = getDefaultInstance().getOutputFilePath(); onChanged(); return this; } /** + * + * *
            * Only recorded for enforce Exec.
            * Path to an output file (that is created by this Exec) whose
@@ -21978,20 +26005,21 @@ public Builder clearOutputFilePath() {
            * 
* * string output_file_path = 5; + * * @param value The bytes for outputFilePath to set. * @return This builder for chaining. */ - public Builder setOutputFilePathBytes( - com.google.protobuf.ByteString value) { + public Builder setOutputFilePathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputFilePath_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -22004,30 +26032,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Exec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Exec(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Exec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Exec(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -22039,15 +26070,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int VALIDATE_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate_; /** + * + * *
        * Required. What to run to validate this resource is in the desired state.
        * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -22055,7 +26088,10 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec get
        * failure running validate.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the validate field is set. */ @java.lang.Override @@ -22063,6 +26099,8 @@ public boolean hasValidate() { return validate_ != null; } /** + * + * *
        * Required. What to run to validate this resource is in the desired state.
        * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -22070,14 +26108,22 @@ public boolean hasValidate() {
        * failure running validate.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The validate. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec getValidate() { - return validate_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : validate_; + return validate_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + .getDefaultInstance() + : validate_; } /** + * + * *
        * Required. What to run to validate this resource is in the desired state.
        * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -22085,23 +26131,30 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec get
        * failure running validate.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder getValidateOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder + getValidateOrBuilder() { return getValidate(); } public static final int ENFORCE_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce_; /** + * + * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
        * a failure running enforce.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * + * * @return Whether the enforce field is set. */ @java.lang.Override @@ -22109,34 +26162,46 @@ public boolean hasEnforce() { return enforce_ != null; } /** + * + * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
        * a failure running enforce.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * + * * @return The enforce. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec getEnforce() { - return enforce_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : enforce_; + return enforce_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + .getDefaultInstance() + : enforce_; } /** + * + * *
        * What to run to bring this resource into the desired state.
        * An exit code of 100 indicates "success", any other exit code indicates
        * a failure running enforce.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder getEnforceOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder + getEnforceOrBuilder() { return getEnforce(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -22148,8 +26213,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (validate_ != null) { output.writeMessage(1, getValidate()); } @@ -22166,12 +26230,10 @@ public int getSerializedSize() { size = 0; if (validate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getValidate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getValidate()); } if (enforce_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEnforce()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEnforce()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -22181,22 +26243,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) obj; if (hasValidate() != other.hasValidate()) return false; if (hasValidate()) { - if (!getValidate() - .equals(other.getValidate())) return false; + if (!getValidate().equals(other.getValidate())) return false; } if (hasEnforce() != other.hasEnforce()) return false; if (hasEnforce()) { - if (!getEnforce() - .equals(other.getEnforce())) return false; + if (!getEnforce().equals(other.getEnforce())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -22223,87 +26284,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource + 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.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -22313,6 +26383,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A resource that allows executing scripts on the VM.
        * The `ExecResource` has 2 stages: `validate` and `enforce` and both stages
@@ -22340,38 +26412,41 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource)
           com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+              .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_fieldAccessorTable
+          return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+              .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder.class);
+                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.class,
+                  com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder.class);
         }
 
-        // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.newBuilder()
+        // Construct using
+        // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
-          }
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -22391,14 +26466,16 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+              .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource getDefaultInstanceForType() {
-          return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.getDefaultInstance();
+        public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource
+            getDefaultInstanceForType() {
+          return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource
+              .getDefaultInstance();
         }
 
         @java.lang.Override
@@ -22412,7 +26489,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource build()
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource buildPartial() {
-          com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource(this);
+          com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource result =
+              new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource(this);
           if (validateBuilder_ == null) {
             result.validate_ = validate_;
           } else {
@@ -22431,46 +26509,53 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource buildPar
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1alpha.OSPolicy.Resource.ExecResource) {
-            return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource)other);
+            return mergeFrom(
+                (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource other) {
-          if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.getDefaultInstance()) return this;
+        public Builder mergeFrom(
+            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource other) {
+          if (other
+              == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource
+                  .getDefaultInstance()) return this;
           if (other.hasValidate()) {
             mergeValidate(other.getValidate());
           }
@@ -22496,7 +26581,9 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource)
+                    e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -22508,8 +26595,13 @@ public Builder mergeFrom(
 
         private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate_;
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder> validateBuilder_;
+                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec,
+                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder,
+                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder>
+            validateBuilder_;
         /**
+         *
+         *
          * 
          * Required. What to run to validate this resource is in the desired state.
          * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -22517,13 +26609,18 @@ public Builder mergeFrom(
          * failure running validate.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the validate field is set. */ public boolean hasValidate() { return validateBuilder_ != null || validate_ != null; } /** + * + * *
          * Required. What to run to validate this resource is in the desired state.
          * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -22531,17 +26628,25 @@ public boolean hasValidate() {
          * failure running validate.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The validate. */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec getValidate() { if (validateBuilder_ == null) { - return validate_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : validate_; + return validate_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + .getDefaultInstance() + : validate_; } else { return validateBuilder_.getMessage(); } } /** + * + * *
          * Required. What to run to validate this resource is in the desired state.
          * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -22549,9 +26654,12 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec get
          * failure running validate.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setValidate(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec value) { + public Builder setValidate( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec value) { if (validateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -22565,6 +26673,8 @@ public Builder setValidate(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.E return this; } /** + * + * *
          * Required. What to run to validate this resource is in the desired state.
          * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -22572,10 +26682,13 @@ public Builder setValidate(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.E
          * failure running validate.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setValidate( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder + builderForValue) { if (validateBuilder_ == null) { validate_ = builderForValue.build(); onChanged(); @@ -22586,6 +26699,8 @@ public Builder setValidate( return this; } /** + * + * *
          * Required. What to run to validate this resource is in the desired state.
          * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -22593,13 +26708,19 @@ public Builder setValidate(
          * failure running validate.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeValidate(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec value) { + public Builder mergeValidate( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec value) { if (validateBuilder_ == null) { if (validate_ != null) { validate_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.newBuilder(validate_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.newBuilder( + validate_) + .mergeFrom(value) + .buildPartial(); } else { validate_ = value; } @@ -22611,6 +26732,8 @@ public Builder mergeValidate(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource return this; } /** + * + * *
          * Required. What to run to validate this resource is in the desired state.
          * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -22618,7 +26741,9 @@ public Builder mergeValidate(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource
          * failure running validate.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearValidate() { if (validateBuilder_ == null) { @@ -22632,6 +26757,8 @@ public Builder clearValidate() { return this; } /** + * + * *
          * Required. What to run to validate this resource is in the desired state.
          * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -22639,14 +26766,19 @@ public Builder clearValidate() {
          * failure running validate.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder getValidateBuilder() { - + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder + getValidateBuilder() { + onChanged(); return getValidateFieldBuilder().getBuilder(); } /** + * + * *
          * Required. What to run to validate this resource is in the desired state.
          * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -22654,17 +26786,24 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Bui
          * failure running validate.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder getValidateOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder + getValidateOrBuilder() { if (validateBuilder_ != null) { return validateBuilder_.getMessageOrBuilder(); } else { - return validate_ == null ? - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : validate_; + return validate_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + .getDefaultInstance() + : validate_; } } /** + * + * *
          * Required. What to run to validate this resource is in the desired state.
          * An exit code of 100 indicates "in desired state", and exit code of 101
@@ -22672,17 +26811,22 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBu
          * failure running validate.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder> getValidateFieldBuilder() { if (validateBuilder_ == null) { - validateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder>( - getValidate(), - getParentForChildren(), - isClean()); + validateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder>( + getValidate(), getParentForChildren(), isClean()); validate_ = null; } return validateBuilder_; @@ -22690,47 +26834,65 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBu private com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder> enforceBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder> + enforceBuilder_; /** + * + * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
          * a failure running enforce.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * + * * @return Whether the enforce field is set. */ public boolean hasEnforce() { return enforceBuilder_ != null || enforce_ != null; } /** + * + * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
          * a failure running enforce.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * + * * @return The enforce. */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec getEnforce() { if (enforceBuilder_ == null) { - return enforce_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : enforce_; + return enforce_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + .getDefaultInstance() + : enforce_; } else { return enforceBuilder_.getMessage(); } } /** + * + * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
          * a failure running enforce.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * */ - public Builder setEnforce(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec value) { + public Builder setEnforce( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec value) { if (enforceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -22744,16 +26906,20 @@ public Builder setEnforce(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Ex return this; } /** + * + * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
          * a failure running enforce.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * */ public Builder setEnforce( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder + builderForValue) { if (enforceBuilder_ == null) { enforce_ = builderForValue.build(); onChanged(); @@ -22764,19 +26930,26 @@ public Builder setEnforce( return this; } /** + * + * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
          * a failure running enforce.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * */ - public Builder mergeEnforce(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec value) { + public Builder mergeEnforce( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec value) { if (enforceBuilder_ == null) { if (enforce_ != null) { enforce_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.newBuilder(enforce_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.newBuilder( + enforce_) + .mergeFrom(value) + .buildPartial(); } else { enforce_ = value; } @@ -22788,13 +26961,16 @@ public Builder mergeEnforce(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource. return this; } /** + * + * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
          * a failure running enforce.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * */ public Builder clearEnforce() { if (enforceBuilder_ == null) { @@ -22808,58 +26984,75 @@ public Builder clearEnforce() { return this; } /** + * + * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
          * a failure running enforce.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder getEnforceBuilder() { - + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder + getEnforceBuilder() { + onChanged(); return getEnforceFieldBuilder().getBuilder(); } /** + * + * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
          * a failure running enforce.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder getEnforceOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder + getEnforceOrBuilder() { if (enforceBuilder_ != null) { return enforceBuilder_.getMessageOrBuilder(); } else { - return enforce_ == null ? - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.getDefaultInstance() : enforce_; + return enforce_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec + .getDefaultInstance() + : enforce_; } } /** + * + * *
          * What to run to bring this resource into the desired state.
          * An exit code of 100 indicates "success", any other exit code indicates
          * a failure running enforce.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder> getEnforceFieldBuilder() { if (enforceBuilder_ == null) { - enforceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder>( - getEnforce(), - getParentForChildren(), - isClean()); + enforceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.ExecOrBuilder>( + getEnforce(), getParentForChildren(), isClean()); enforce_ = null; } return enforceBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -22872,30 +27065,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -22907,35 +27102,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface FileResourceOrBuilder extends + public interface FileResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * A remote or local source.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; + * * @return Whether the file field is set. */ boolean hasFile(); /** + * + * *
        * A remote or local source.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; + * * @return The file. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getFile(); /** + * + * *
        * A remote or local source.
        * 
@@ -22945,77 +27149,102 @@ public interface FileResourceOrBuilder extends com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getFileOrBuilder(); /** + * + * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; + * * @return Whether the content field is set. */ boolean hasContent(); /** + * + * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; + * * @return The content. */ java.lang.String getContent(); /** + * + * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; + * * @return The bytes for content. */ - com.google.protobuf.ByteString - getContentBytes(); + com.google.protobuf.ByteString getContentBytes(); /** + * + * *
        * Required. The absolute path of the file within the VM.
        * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
        * Required. The absolute path of the file within the VM.
        * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); /** + * + * *
        * Required. Desired state of the file.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
        * Required. Desired state of the file.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The state. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState getState(); /** + * + * *
        * Consists of three octal digits which represent, in
        * order, the permissions of the owner, group, and other users for the
@@ -23032,10 +27261,13 @@ public interface FileResourceOrBuilder extends
        * 
* * string permissions = 5; + * * @return The permissions. */ java.lang.String getPermissions(); /** + * + * *
        * Consists of three octal digits which represent, in
        * order, the permissions of the owner, group, and other users for the
@@ -23052,29 +27284,33 @@ public interface FileResourceOrBuilder extends
        * 
* * string permissions = 5; + * * @return The bytes for permissions. */ - com.google.protobuf.ByteString - getPermissionsBytes(); + com.google.protobuf.ByteString getPermissionsBytes(); - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.SourceCase getSourceCase(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.SourceCase + getSourceCase(); } /** + * + * *
      * A resource that manages the state of a file.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource} */ - public static final class FileResource extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class FileResource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) FileResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FileResource.newBuilder() to construct. private FileResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FileResource() { path_ = ""; state_ = 0; @@ -23083,16 +27319,15 @@ private FileResource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FileResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FileResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -23111,51 +27346,62 @@ private FileResource( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_).toBuilder(); + case 10: + { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder subBuilder = + null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } - source_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); - source_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 2; + source_ = s; + break; } - sourceCase_ = 1; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - sourceCase_ = 2; - source_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); + path_ = s; + break; + } + case 32: + { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + state_ = rawValue; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - permissions_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + permissions_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -23163,36 +27409,43 @@ private FileResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder.class); } /** + * + * *
        * Desired state of the file.
        * 
* - * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState} + * Protobuf enum {@code + * google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState} */ - public enum DesiredState - implements com.google.protobuf.ProtocolMessageEnum { + public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
          * Unspecified is invalid.
          * 
@@ -23201,6 +27454,8 @@ public enum DesiredState */ DESIRED_STATE_UNSPECIFIED(0), /** + * + * *
          * Ensure file at path is present.
          * 
@@ -23209,6 +27464,8 @@ public enum DesiredState */ PRESENT(1), /** + * + * *
          * Ensure file at path is absent.
          * 
@@ -23217,6 +27474,8 @@ public enum DesiredState */ ABSENT(2), /** + * + * *
          * Ensure the contents of the file at path matches. If the file does
          * not exist it will be created.
@@ -23229,6 +27488,8 @@ public enum DesiredState
         ;
 
         /**
+         *
+         *
          * 
          * Unspecified is invalid.
          * 
@@ -23237,6 +27498,8 @@ public enum DesiredState */ public static final int DESIRED_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
          * Ensure file at path is present.
          * 
@@ -23245,6 +27508,8 @@ public enum DesiredState */ public static final int PRESENT_VALUE = 1; /** + * + * *
          * Ensure file at path is absent.
          * 
@@ -23253,6 +27518,8 @@ public enum DesiredState */ public static final int ABSENT_VALUE = 2; /** + * + * *
          * Ensure the contents of the file at path matches. If the file does
          * not exist it will be created.
@@ -23262,7 +27529,6 @@ public enum DesiredState
          */
         public static final int CONTENTS_MATCH_VALUE = 3;
 
-
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -23287,41 +27553,47 @@ public static DesiredState valueOf(int value) {
          */
         public static DesiredState forNumber(int value) {
           switch (value) {
-            case 0: return DESIRED_STATE_UNSPECIFIED;
-            case 1: return PRESENT;
-            case 2: return ABSENT;
-            case 3: return CONTENTS_MATCH;
-            default: return null;
+            case 0:
+              return DESIRED_STATE_UNSPECIFIED;
+            case 1:
+              return PRESENT;
+            case 2:
+              return ABSENT;
+            case 3:
+              return CONTENTS_MATCH;
+            default:
+              return null;
           }
         }
 
-        public static com.google.protobuf.Internal.EnumLiteMap
-            internalGetValueMap() {
+        public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
           return internalValueMap;
         }
-        private static final com.google.protobuf.Internal.EnumLiteMap<
-            DesiredState> internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public DesiredState findValueByNumber(int number) {
-                  return DesiredState.forNumber(number);
-                }
-              };
 
-        public final com.google.protobuf.Descriptors.EnumValueDescriptor
-            getValueDescriptor() {
+        private static final com.google.protobuf.Internal.EnumLiteMap
+            internalValueMap =
+                new com.google.protobuf.Internal.EnumLiteMap() {
+                  public DesiredState findValueByNumber(int number) {
+                    return DesiredState.forNumber(number);
+                  }
+                };
+
+        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalStateException(
                 "Can't get the descriptor of an unrecognized enum value.");
           }
           return getDescriptor().getValues().get(ordinal());
         }
-        public final com.google.protobuf.Descriptors.EnumDescriptor
-            getDescriptorForType() {
+
+        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
           return getDescriptor();
         }
-        public static final com.google.protobuf.Descriptors.EnumDescriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDescriptor().getEnumTypes().get(0);
+
+        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDescriptor()
+              .getEnumTypes()
+              .get(0);
         }
 
         private static final DesiredState[] VALUES = values();
@@ -23330,7 +27602,7 @@ public static DesiredState valueOf(
             com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
           if (desc.getType() != getDescriptor()) {
             throw new java.lang.IllegalArgumentException(
-              "EnumValueDescriptor is not for this type.");
+                "EnumValueDescriptor is not for this type.");
           }
           if (desc.getIndex() == -1) {
             return UNRECOGNIZED;
@@ -23349,13 +27621,16 @@ private DesiredState(int value) {
 
       private int sourceCase_ = 0;
       private java.lang.Object source_;
+
       public enum SourceCase
-          implements com.google.protobuf.Internal.EnumLite,
+          implements
+              com.google.protobuf.Internal.EnumLite,
               com.google.protobuf.AbstractMessage.InternalOneOfEnum {
         FILE(1),
         CONTENT(2),
         SOURCE_NOT_SET(0);
         private final int value;
+
         private SourceCase(int value) {
           this.value = value;
         }
@@ -23371,30 +27646,36 @@ public static SourceCase valueOf(int value) {
 
         public static SourceCase forNumber(int value) {
           switch (value) {
-            case 1: return FILE;
-            case 2: return CONTENT;
-            case 0: return SOURCE_NOT_SET;
-            default: return null;
+            case 1:
+              return FILE;
+            case 2:
+              return CONTENT;
+            case 0:
+              return SOURCE_NOT_SET;
+            default:
+              return null;
           }
         }
+
         public int getNumber() {
           return this.value;
         }
       };
 
-      public SourceCase
-      getSourceCase() {
-        return SourceCase.forNumber(
-            sourceCase_);
+      public SourceCase getSourceCase() {
+        return SourceCase.forNumber(sourceCase_);
       }
 
       public static final int FILE_FIELD_NUMBER = 1;
       /**
+       *
+       *
        * 
        * A remote or local source.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; + * * @return Whether the file field is set. */ @java.lang.Override @@ -23402,21 +27683,26 @@ public boolean hasFile() { return sourceCase_ == 1; } /** + * + * *
        * A remote or local source.
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; + * * @return The file. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getFile() { if (sourceCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance(); } /** + * + * *
        * A remote or local source.
        * 
@@ -23426,31 +27712,37 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getFile() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getFileOrBuilder() { if (sourceCase_ == 1) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance(); } public static final int CONTENT_FIELD_NUMBER = 2; /** + * + * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; + * * @return Whether the content field is set. */ public boolean hasContent() { return sourceCase_ == 2; } /** + * + * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; + * * @return The content. */ public java.lang.String getContent() { @@ -23461,8 +27753,7 @@ public java.lang.String getContent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -23471,24 +27762,25 @@ public java.lang.String getContent() { } } /** + * + * *
        * A a file with this content.
        * The size of the content is limited to 1024 characters.
        * 
* * string content = 2; + * * @return The bytes for content. */ - public com.google.protobuf.ByteString - getContentBytes() { + public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -23501,11 +27793,14 @@ public java.lang.String getContent() { public static final int PATH_FIELD_NUMBER = 3; private volatile java.lang.Object path_; /** + * + * *
        * Required. The absolute path of the file within the VM.
        * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ @java.lang.Override @@ -23514,29 +27809,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
        * Required. The absolute path of the file within the VM.
        * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -23547,33 +27842,53 @@ public java.lang.String getPath() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** + * + * *
        * Required. Desired state of the file.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * Required. Desired state of the file.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState getState() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState + getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState result = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState result = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState.valueOf( + state_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState + .UNRECOGNIZED + : result; } public static final int PERMISSIONS_FIELD_NUMBER = 5; private volatile java.lang.Object permissions_; /** + * + * *
        * Consists of three octal digits which represent, in
        * order, the permissions of the owner, group, and other users for the
@@ -23590,6 +27905,7 @@ public java.lang.String getPath() {
        * 
* * string permissions = 5; + * * @return The permissions. */ @java.lang.Override @@ -23598,14 +27914,15 @@ public java.lang.String getPermissions() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); permissions_ = s; return s; } } /** + * + * *
        * Consists of three octal digits which represent, in
        * order, the permissions of the owner, group, and other users for the
@@ -23622,16 +27939,15 @@ public java.lang.String getPermissions() {
        * 
* * string permissions = 5; + * * @return The bytes for permissions. */ @java.lang.Override - public com.google.protobuf.ByteString - getPermissionsBytes() { + public com.google.protobuf.ByteString getPermissionsBytes() { java.lang.Object ref = permissions_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); permissions_ = b; return b; } else { @@ -23640,6 +27956,7 @@ public java.lang.String getPermissions() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -23651,10 +27968,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (sourceCase_ == 1) { - output.writeMessage(1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); + output.writeMessage( + 1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); } if (sourceCase_ == 2) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, source_); @@ -23662,7 +27979,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, path_); } - if (state_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState + .DESIRED_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(permissions_)) { @@ -23678,8 +27998,9 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_); } if (sourceCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_); @@ -23687,9 +28008,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, path_); } - if (state_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, state_); + if (state_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState + .DESIRED_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(permissions_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, permissions_); @@ -23702,27 +28025,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) obj; - if (!getPath() - .equals(other.getPath())) return false; + if (!getPath().equals(other.getPath())) return false; if (state_ != other.state_) return false; - if (!getPermissions() - .equals(other.getPermissions())) return false; + if (!getPermissions().equals(other.getPermissions())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 1: - if (!getFile() - .equals(other.getFile())) return false; + if (!getFile().equals(other.getFile())) return false; break; case 2: - if (!getContent() - .equals(other.getContent())) return false; + if (!getContent().equals(other.getContent())) return false; break; case 0: default: @@ -23762,87 +28082,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource 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.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource 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.osconfig.v1alpha.OSPolicy.Resource.FileResource + 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.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -23852,44 +28181,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A resource that manages the state of a file.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -23905,14 +28239,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource + .getDefaultInstance(); } @java.lang.Override @@ -23926,7 +28262,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource build() @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource(this); + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource result = + new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource(this); if (sourceCase_ == 1) { if (fileBuilder_ == null) { result.source_ = source_; @@ -23949,46 +28286,53 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy.Resource.FileResource) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource)other); + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource + .getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); @@ -24001,19 +28345,22 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Fil onChanged(); } switch (other.getSourceCase()) { - case FILE: { - mergeFile(other.getFile()); - break; - } - case CONTENT: { - sourceCase_ = 2; - source_ = other.source_; - onChanged(); - break; - } - case SOURCE_NOT_SET: { - break; - } + case FILE: + { + mergeFile(other.getFile()); + break; + } + case CONTENT: + { + sourceCase_ = 2; + source_ = other.source_; + onChanged(); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -24034,7 +28381,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -24043,12 +28392,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -24058,15 +28407,20 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> fileBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> + fileBuilder_; /** + * + * *
          * A remote or local source.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; + * * @return Whether the file field is set. */ @java.lang.Override @@ -24074,11 +28428,14 @@ public boolean hasFile() { return sourceCase_ == 1; } /** + * + * *
          * A remote or local source.
          * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; + * * @return The file. */ @java.lang.Override @@ -24096,6 +28453,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File getFile() { } } /** + * + * *
          * A remote or local source.
          * 
@@ -24116,6 +28475,8 @@ public Builder setFile(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File return this; } /** + * + * *
          * A remote or local source.
          * 
@@ -24134,6 +28495,8 @@ public Builder setFile( return this; } /** + * + * *
          * A remote or local source.
          * 
@@ -24142,10 +28505,15 @@ public Builder setFile( */ public Builder mergeFile(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File value) { if (fileBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance()) { - source_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File + .getDefaultInstance()) { + source_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -24161,6 +28529,8 @@ public Builder mergeFile(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Fil return this; } /** + * + * *
          * A remote or local source.
          * 
@@ -24184,6 +28554,8 @@ public Builder clearFile() { return this; } /** + * + * *
          * A remote or local source.
          * 
@@ -24194,6 +28566,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder getFileB return getFileFieldBuilder().getBuilder(); } /** + * + * *
          * A remote or local source.
          * 
@@ -24201,7 +28575,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder getFileB * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getFileOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder + getFileOrBuilder() { if ((sourceCase_ == 1) && (fileBuilder_ != null)) { return fileBuilder_.getMessageOrBuilder(); } else { @@ -24212,6 +28587,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getFile } } /** + * + * *
          * A remote or local source.
          * 
@@ -24219,31 +28596,41 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder getFile * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File file = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder> getFileFieldBuilder() { if (fileBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance(); - } - fileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( + source_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.getDefaultInstance(); + } + fileBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileOrBuilder>( (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return fileBuilder_; } /** + * + * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; + * * @return Whether the content field is set. */ @java.lang.Override @@ -24251,12 +28638,15 @@ public boolean hasContent() { return sourceCase_ == 2; } /** + * + * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; + * * @return The content. */ @java.lang.Override @@ -24266,8 +28656,7 @@ public java.lang.String getContent() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -24278,25 +28667,26 @@ public java.lang.String getContent() { } } /** + * + * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; + * * @return The bytes for content. */ @java.lang.Override - public com.google.protobuf.ByteString - getContentBytes() { + public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -24306,32 +28696,37 @@ public java.lang.String getContent() { } } /** + * + * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; + * * @param value The content to set. * @return This builder for chaining. */ - public Builder setContent( - java.lang.String value) { + public Builder setContent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceCase_ = 2; + throw new NullPointerException(); + } + sourceCase_ = 2; source_ = value; onChanged(); return this; } /** + * + * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; + * * @return This builder for chaining. */ public Builder clearContent() { @@ -24343,21 +28738,23 @@ public Builder clearContent() { return this; } /** + * + * *
          * A a file with this content.
          * The size of the content is limited to 1024 characters.
          * 
* * string content = 2; + * * @param value The bytes for content to set. * @return This builder for chaining. */ - public Builder setContentBytes( - com.google.protobuf.ByteString value) { + public Builder setContentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); sourceCase_ = 2; source_ = value; onChanged(); @@ -24366,18 +28763,20 @@ public Builder setContentBytes( private java.lang.Object path_ = ""; /** + * + * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -24386,20 +28785,21 @@ public java.lang.String getPath() { } } /** + * + * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -24407,54 +28807,61 @@ public java.lang.String getPath() { } } /** + * + * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
          * Required. The absolute path of the file within the VM.
          * 
* * string path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -24462,73 +28869,106 @@ public Builder setPathBytes( private int state_ = 0; /** + * + * *
          * Required. Desired state of the file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
          * Required. Desired state of the file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
          * Required. Desired state of the file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The state. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState getState() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState + getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState result = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState result = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState.valueOf( + state_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState + .UNRECOGNIZED + : result; } /** + * + * *
          * Required. Desired state of the file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState value) { + public Builder setState( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
          * Required. Desired state of the file.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState state = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -24536,6 +28976,8 @@ public Builder clearState() { private java.lang.Object permissions_ = ""; /** + * + * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -24552,13 +28994,13 @@ public Builder clearState() {
          * 
* * string permissions = 5; + * * @return The permissions. */ public java.lang.String getPermissions() { java.lang.Object ref = permissions_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); permissions_ = s; return s; @@ -24567,6 +29009,8 @@ public java.lang.String getPermissions() { } } /** + * + * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -24583,15 +29027,14 @@ public java.lang.String getPermissions() {
          * 
* * string permissions = 5; + * * @return The bytes for permissions. */ - public com.google.protobuf.ByteString - getPermissionsBytes() { + public com.google.protobuf.ByteString getPermissionsBytes() { java.lang.Object ref = permissions_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); permissions_ = b; return b; } else { @@ -24599,6 +29042,8 @@ public java.lang.String getPermissions() { } } /** + * + * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -24615,20 +29060,22 @@ public java.lang.String getPermissions() {
          * 
* * string permissions = 5; + * * @param value The permissions to set. * @return This builder for chaining. */ - public Builder setPermissions( - java.lang.String value) { + public Builder setPermissions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + permissions_ = value; onChanged(); return this; } /** + * + * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -24645,15 +29092,18 @@ public Builder setPermissions(
          * 
* * string permissions = 5; + * * @return This builder for chaining. */ public Builder clearPermissions() { - + permissions_ = getDefaultInstance().getPermissions(); onChanged(); return this; } /** + * + * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -24670,20 +29120,21 @@ public Builder clearPermissions() {
          * 
* * string permissions = 5; + * * @param value The bytes for permissions to set. * @return This builder for chaining. */ - public Builder setPermissionsBytes( - com.google.protobuf.ByteString value) { + public Builder setPermissionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + permissions_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -24696,30 +29147,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) - private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FileResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FileResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FileResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FileResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -24731,16 +29184,18 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int resourceTypeCase_ = 0; private java.lang.Object resourceType_; + public enum ResourceTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PKG(2), REPOSITORY(3), @@ -24748,6 +29203,7 @@ public enum ResourceTypeCase FILE(5), RESOURCETYPE_NOT_SET(0); private final int value; + private ResourceTypeCase(int value) { this.value = value; } @@ -24763,28 +29219,35 @@ public static ResourceTypeCase valueOf(int value) { public static ResourceTypeCase forNumber(int value) { switch (value) { - case 2: return PKG; - case 3: return REPOSITORY; - case 4: return EXEC; - case 5: return FILE; - case 0: return RESOURCETYPE_NOT_SET; - default: return null; + case 2: + return PKG; + case 3: + return REPOSITORY; + case 4: + return EXEC; + case 5: + return FILE; + case 0: + return RESOURCETYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ResourceTypeCase - getResourceTypeCase() { - return ResourceTypeCase.forNumber( - resourceTypeCase_); + public ResourceTypeCase getResourceTypeCase() { + return ResourceTypeCase.forNumber(resourceTypeCase_); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** + * + * *
      * Required. The id of the resource with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -24795,6 +29258,7 @@ public int getNumber() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ @java.lang.Override @@ -24803,14 +29267,15 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
      * Required. The id of the resource with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -24821,16 +29286,15 @@ public java.lang.String getId() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -24840,11 +29304,14 @@ public java.lang.String getId() { public static final int PKG_FIELD_NUMBER = 2; /** + * + * *
      * Package resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; + * * @return Whether the pkg field is set. */ @java.lang.Override @@ -24852,21 +29319,27 @@ public boolean hasPkg() { return resourceTypeCase_ == 2; } /** + * + * *
      * Package resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; + * * @return The pkg. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource getPkg() { if (resourceTypeCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .getDefaultInstance(); } /** + * + * *
      * Package resource
      * 
@@ -24874,20 +29347,26 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource getPk * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder getPkgOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder + getPkgOrBuilder() { if (resourceTypeCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .getDefaultInstance(); } public static final int REPOSITORY_FIELD_NUMBER = 3; /** + * + * *
      * Package repository resource
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * + * * @return Whether the repository field is set. */ @java.lang.Override @@ -24895,42 +29374,57 @@ public boolean hasRepository() { return resourceTypeCase_ == 3; } /** + * + * *
      * Package repository resource
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * + * * @return The repository. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource getRepository() { if (resourceTypeCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) + resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .getDefaultInstance(); } /** + * + * *
      * Package repository resource
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder getRepositoryOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder + getRepositoryOrBuilder() { if (resourceTypeCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) + resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .getDefaultInstance(); } public static final int EXEC_FIELD_NUMBER = 4; /** + * + * *
      * Exec resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; + * * @return Whether the exec field is set. */ @java.lang.Override @@ -24938,21 +29432,26 @@ public boolean hasExec() { return resourceTypeCase_ == 4; } /** + * + * *
      * Exec resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; + * * @return The exec. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource getExec() { if (resourceTypeCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.getDefaultInstance(); } /** + * + * *
      * Exec resource
      * 
@@ -24960,20 +29459,24 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource getExec( * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder getExecOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder + getExecOrBuilder() { if (resourceTypeCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.getDefaultInstance(); } public static final int FILE_FIELD_NUMBER = 5; /** + * + * *
      * File resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; + * * @return Whether the file field is set. */ @java.lang.Override @@ -24981,21 +29484,26 @@ public boolean hasFile() { return resourceTypeCase_ == 5; } /** + * + * *
      * File resource
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; + * * @return The file. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource getFile() { if (resourceTypeCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDefaultInstance(); } /** + * + * *
      * File resource
      * 
@@ -25003,14 +29511,16 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource getFile( * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder getFileOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder + getFileOrBuilder() { if (resourceTypeCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_; } return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -25022,22 +29532,26 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (resourceTypeCase_ == 2) { - output.writeMessage(2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_); + output.writeMessage( + 2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_); } if (resourceTypeCase_ == 3) { - output.writeMessage(3, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_); + output.writeMessage( + 3, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_); } if (resourceTypeCase_ == 4) { - output.writeMessage(4, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_); + output.writeMessage( + 4, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_); } if (resourceTypeCase_ == 5) { - output.writeMessage(5, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_); + output.writeMessage( + 5, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_); } unknownFields.writeTo(output); } @@ -25052,20 +29566,30 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (resourceTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) + resourceType_); } if (resourceTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) + resourceType_); } if (resourceTypeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_); } if (resourceTypeCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -25075,32 +29599,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.Resource)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource other = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource) obj; - if (!getId() - .equals(other.getId())) return false; + if (!getId().equals(other.getId())) return false; if (!getResourceTypeCase().equals(other.getResourceTypeCase())) return false; switch (resourceTypeCase_) { case 2: - if (!getPkg() - .equals(other.getPkg())) return false; + if (!getPkg().equals(other.getPkg())) return false; break; case 3: - if (!getRepository() - .equals(other.getRepository())) return false; + if (!getRepository().equals(other.getRepository())) return false; break; case 4: - if (!getExec() - .equals(other.getExec())) return false; + if (!getExec().equals(other.getExec())) return false; break; case 5: - if (!getFile() - .equals(other.getFile())) return false; + if (!getFile().equals(other.getFile())) return false; break; case 0: default: @@ -25144,87 +29664,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource 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.osconfig.v1alpha.OSPolicy.Resource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -25234,6 +29761,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An OS policy resource is used to define the desired state configuration
      * and provides a specific functionality like installing/removing packages,
@@ -25244,21 +29773,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.Resource}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.Resource)
         com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+            .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+            .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder.class);
+                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.class,
+                com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.newBuilder()
@@ -25266,16 +29798,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -25287,9 +29818,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+            .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor;
       }
 
       @java.lang.Override
@@ -25308,7 +29839,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource buildPartial() {
-        com.google.cloud.osconfig.v1alpha.OSPolicy.Resource result = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource(this);
+        com.google.cloud.osconfig.v1alpha.OSPolicy.Resource result =
+            new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource(this);
         result.id_ = id_;
         if (resourceTypeCase_ == 2) {
           if (pkgBuilder_ == null) {
@@ -25347,38 +29879,41 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1alpha.OSPolicy.Resource) {
-          return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource)other);
+          return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -25386,31 +29921,37 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource other) {
-        if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.getDefaultInstance())
+          return this;
         if (!other.getId().isEmpty()) {
           id_ = other.id_;
           onChanged();
         }
         switch (other.getResourceTypeCase()) {
-          case PKG: {
-            mergePkg(other.getPkg());
-            break;
-          }
-          case REPOSITORY: {
-            mergeRepository(other.getRepository());
-            break;
-          }
-          case EXEC: {
-            mergeExec(other.getExec());
-            break;
-          }
-          case FILE: {
-            mergeFile(other.getFile());
-            break;
-          }
-          case RESOURCETYPE_NOT_SET: {
-            break;
-          }
+          case PKG:
+            {
+              mergePkg(other.getPkg());
+              break;
+            }
+          case REPOSITORY:
+            {
+              mergeRepository(other.getRepository());
+              break;
+            }
+          case EXEC:
+            {
+              mergeExec(other.getExec());
+              break;
+            }
+          case FILE:
+            {
+              mergeFile(other.getFile());
+              break;
+            }
+          case RESOURCETYPE_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -25431,7 +29972,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -25440,12 +29982,12 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int resourceTypeCase_ = 0;
       private java.lang.Object resourceType_;
-      public ResourceTypeCase
-          getResourceTypeCase() {
-        return ResourceTypeCase.forNumber(
-            resourceTypeCase_);
+
+      public ResourceTypeCase getResourceTypeCase() {
+        return ResourceTypeCase.forNumber(resourceTypeCase_);
       }
 
       public Builder clearResourceType() {
@@ -25455,9 +29997,10 @@ public Builder clearResourceType() {
         return this;
       }
 
-
       private java.lang.Object id_ = "";
       /**
+       *
+       *
        * 
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -25468,13 +30011,13 @@ public Builder clearResourceType() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -25483,6 +30026,8 @@ public java.lang.String getId() { } } /** + * + * *
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -25493,15 +30038,14 @@ public java.lang.String getId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -25509,6 +30053,8 @@ public java.lang.String getId() { } } /** + * + * *
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -25519,20 +30065,22 @@ public java.lang.String getId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -25543,15 +30091,18 @@ public Builder setId(
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
        * Required. The id of the resource with the following restrictions:
        * * Must contain only lowercase letters, numbers, and hyphens.
@@ -25562,29 +30113,35 @@ public Builder clearId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder> pkgBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder> + pkgBuilder_; /** + * + * *
        * Package resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; + * * @return Whether the pkg field is set. */ @java.lang.Override @@ -25592,35 +30149,44 @@ public boolean hasPkg() { return resourceTypeCase_ == 2; } /** + * + * *
        * Package resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; + * * @return The pkg. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource getPkg() { if (pkgBuilder_ == null) { if (resourceTypeCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) + resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .getDefaultInstance(); } else { if (resourceTypeCase_ == 2) { return pkgBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .getDefaultInstance(); } } /** + * + * *
        * Package resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; */ - public Builder setPkg(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource value) { + public Builder setPkg( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource value) { if (pkgBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -25634,6 +30200,8 @@ public Builder setPkg(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Packag return this; } /** + * + * *
        * Package resource
        * 
@@ -25641,7 +30209,8 @@ public Builder setPkg(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Packag * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; */ public Builder setPkg( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder + builderForValue) { if (pkgBuilder_ == null) { resourceType_ = builderForValue.build(); onChanged(); @@ -25652,18 +30221,27 @@ public Builder setPkg( return this; } /** + * + * *
        * Package resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; */ - public Builder mergePkg(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource value) { + public Builder mergePkg( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource value) { if (pkgBuilder_ == null) { - if (resourceTypeCase_ == 2 && - resourceType_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDefaultInstance()) { - resourceType_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_) - .mergeFrom(value).buildPartial(); + if (resourceTypeCase_ == 2 + && resourceType_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .getDefaultInstance()) { + resourceType_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) + resourceType_) + .mergeFrom(value) + .buildPartial(); } else { resourceType_ = value; } @@ -25679,6 +30257,8 @@ public Builder mergePkg(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Pack return this; } /** + * + * *
        * Package resource
        * 
@@ -25702,16 +30282,21 @@ public Builder clearPkg() { return this; } /** + * + * *
        * Package resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder getPkgBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder + getPkgBuilder() { return getPkgFieldBuilder().getBuilder(); } /** + * + * *
        * Package resource
        * 
@@ -25719,17 +30304,22 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Build * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder getPkgOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder + getPkgOrBuilder() { if ((resourceTypeCase_ == 2) && (pkgBuilder_ != null)) { return pkgBuilder_.getMessageOrBuilder(); } else { if (resourceTypeCase_ == 2) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) + resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .getDefaultInstance(); } } /** + * + * *
        * Package resource
        * 
@@ -25737,32 +30327,48 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuil * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource pkg = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder> getPkgFieldBuilder() { if (pkgBuilder_ == null) { if (!(resourceTypeCase_ == 2)) { - resourceType_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.getDefaultInstance(); - } - pkgBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) resourceType_, + resourceType_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource + .getDefaultInstance(); + } + pkgBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResourceOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource) + resourceType_, getParentForChildren(), isClean()); resourceType_ = null; } resourceTypeCase_ = 2; - onChanged();; + onChanged(); + ; return pkgBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder> repositoryBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder> + repositoryBuilder_; /** + * + * *
        * Package repository resource
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * + * * @return Whether the repository field is set. */ @java.lang.Override @@ -25770,35 +30376,47 @@ public boolean hasRepository() { return resourceTypeCase_ == 3; } /** + * + * *
        * Package repository resource
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * + * * @return The repository. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource getRepository() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + getRepository() { if (repositoryBuilder_ == null) { if (resourceTypeCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) + resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .getDefaultInstance(); } else { if (resourceTypeCase_ == 3) { return repositoryBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .getDefaultInstance(); } } /** + * + * *
        * Package repository resource
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * */ - public Builder setRepository(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource value) { + public Builder setRepository( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource value) { if (repositoryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -25812,14 +30430,18 @@ public Builder setRepository(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource return this; } /** + * + * *
        * Package repository resource
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * */ public Builder setRepository( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder + builderForValue) { if (repositoryBuilder_ == null) { resourceType_ = builderForValue.build(); onChanged(); @@ -25830,18 +30452,28 @@ public Builder setRepository( return this; } /** + * + * *
        * Package repository resource
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * */ - public Builder mergeRepository(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource value) { + public Builder mergeRepository( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource value) { if (repositoryBuilder_ == null) { - if (resourceTypeCase_ == 3 && - resourceType_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.getDefaultInstance()) { - resourceType_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_) - .mergeFrom(value).buildPartial(); + if (resourceTypeCase_ == 3 + && resourceType_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .getDefaultInstance()) { + resourceType_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) + resourceType_) + .mergeFrom(value) + .buildPartial(); } else { resourceType_ = value; } @@ -25857,11 +30489,14 @@ public Builder mergeRepository(com.google.cloud.osconfig.v1alpha.OSPolicy.Resour return this; } /** + * + * *
        * Package repository resource
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * */ public Builder clearRepository() { if (repositoryBuilder_ == null) { @@ -25880,67 +30515,95 @@ public Builder clearRepository() { return this; } /** + * + * *
        * Package repository resource
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder getRepositoryBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder + getRepositoryBuilder() { return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
        * Package repository resource
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder getRepositoryOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder + getRepositoryOrBuilder() { if ((resourceTypeCase_ == 3) && (repositoryBuilder_ != null)) { return repositoryBuilder_.getMessageOrBuilder(); } else { if (resourceTypeCase_ == 3) { - return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_; + return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) + resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .getDefaultInstance(); } } /** + * + * *
        * Package repository resource
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource repository = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { if (!(resourceTypeCase_ == 3)) { - resourceType_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.getDefaultInstance(); - } - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) resourceType_, + resourceType_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource + .getDefaultInstance(); + } + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResourceOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource) + resourceType_, getParentForChildren(), isClean()); resourceType_ = null; } resourceTypeCase_ = 3; - onChanged();; + onChanged(); + ; return repositoryBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder> execBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder> + execBuilder_; /** + * + * *
        * Exec resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; + * * @return Whether the exec field is set. */ @java.lang.Override @@ -25948,11 +30611,14 @@ public boolean hasExec() { return resourceTypeCase_ == 4; } /** + * + * *
        * Exec resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; + * * @return The exec. */ @java.lang.Override @@ -25961,22 +30627,27 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource getExec( if (resourceTypeCase_ == 4) { return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource + .getDefaultInstance(); } else { if (resourceTypeCase_ == 4) { return execBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource + .getDefaultInstance(); } } /** + * + * *
        * Exec resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; */ - public Builder setExec(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource value) { + public Builder setExec( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource value) { if (execBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -25990,6 +30661,8 @@ public Builder setExec(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecR return this; } /** + * + * *
        * Exec resource
        * 
@@ -25997,7 +30670,8 @@ public Builder setExec(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecR * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; */ public Builder setExec( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder + builderForValue) { if (execBuilder_ == null) { resourceType_ = builderForValue.build(); onChanged(); @@ -26008,18 +30682,27 @@ public Builder setExec( return this; } /** + * + * *
        * Exec resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; */ - public Builder mergeExec(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource value) { + public Builder mergeExec( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource value) { if (execBuilder_ == null) { - if (resourceTypeCase_ == 4 && - resourceType_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.getDefaultInstance()) { - resourceType_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_) - .mergeFrom(value).buildPartial(); + if (resourceTypeCase_ == 4 + && resourceType_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource + .getDefaultInstance()) { + resourceType_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) + resourceType_) + .mergeFrom(value) + .buildPartial(); } else { resourceType_ = value; } @@ -26035,6 +30718,8 @@ public Builder mergeExec(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Exe return this; } /** + * + * *
        * Exec resource
        * 
@@ -26058,16 +30743,21 @@ public Builder clearExec() { return this; } /** + * + * *
        * Exec resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder getExecBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder + getExecBuilder() { return getExecFieldBuilder().getBuilder(); } /** + * + * *
        * Exec resource
        * 
@@ -26075,17 +30765,21 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder getExecOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder + getExecOrBuilder() { if ((resourceTypeCase_ == 4) && (execBuilder_ != null)) { return execBuilder_.getMessageOrBuilder(); } else { if (resourceTypeCase_ == 4) { return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource + .getDefaultInstance(); } } /** + * + * *
        * Exec resource
        * 
@@ -26093,32 +30787,46 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource exec = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder> getExecFieldBuilder() { if (execBuilder_ == null) { if (!(resourceTypeCase_ == 4)) { - resourceType_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.getDefaultInstance(); - } - execBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder>( + resourceType_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource + .getDefaultInstance(); + } + execBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResourceOrBuilder>( (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource) resourceType_, getParentForChildren(), isClean()); resourceType_ = null; } resourceTypeCase_ = 4; - onChanged();; + onChanged(); + ; return execBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder> fileBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder> + fileBuilder_; /** + * + * *
        * File resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; + * * @return Whether the file field is set. */ @java.lang.Override @@ -26126,11 +30834,14 @@ public boolean hasFile() { return resourceTypeCase_ == 5; } /** + * + * *
        * File resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; + * * @return The file. */ @java.lang.Override @@ -26139,22 +30850,27 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource getFile( if (resourceTypeCase_ == 5) { return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource + .getDefaultInstance(); } else { if (resourceTypeCase_ == 5) { return fileBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource + .getDefaultInstance(); } } /** + * + * *
        * File resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; */ - public Builder setFile(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource value) { + public Builder setFile( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource value) { if (fileBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -26168,6 +30884,8 @@ public Builder setFile(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileR return this; } /** + * + * *
        * File resource
        * 
@@ -26175,7 +30893,8 @@ public Builder setFile(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileR * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; */ public Builder setFile( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder + builderForValue) { if (fileBuilder_ == null) { resourceType_ = builderForValue.build(); onChanged(); @@ -26186,18 +30905,27 @@ public Builder setFile( return this; } /** + * + * *
        * File resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; */ - public Builder mergeFile(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource value) { + public Builder mergeFile( + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource value) { if (fileBuilder_ == null) { - if (resourceTypeCase_ == 5 && - resourceType_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDefaultInstance()) { - resourceType_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_) - .mergeFrom(value).buildPartial(); + if (resourceTypeCase_ == 5 + && resourceType_ + != com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource + .getDefaultInstance()) { + resourceType_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) + resourceType_) + .mergeFrom(value) + .buildPartial(); } else { resourceType_ = value; } @@ -26213,6 +30941,8 @@ public Builder mergeFile(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Fil return this; } /** + * + * *
        * File resource
        * 
@@ -26236,16 +30966,21 @@ public Builder clearFile() { return this; } /** + * + * *
        * File resource
        * 
* * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder getFileBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder + getFileBuilder() { return getFileFieldBuilder().getBuilder(); } /** + * + * *
        * File resource
        * 
@@ -26253,17 +30988,21 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder getFileOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder + getFileOrBuilder() { if ((resourceTypeCase_ == 5) && (fileBuilder_ != null)) { return fileBuilder_.getMessageOrBuilder(); } else { if (resourceTypeCase_ == 5) { return (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_; } - return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource + .getDefaultInstance(); } } /** + * + * *
        * File resource
        * 
@@ -26271,23 +31010,32 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder * .google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource file = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder> getFileFieldBuilder() { if (fileBuilder_ == null) { if (!(resourceTypeCase_ == 5)) { - resourceType_ = com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.getDefaultInstance(); - } - fileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder>( + resourceType_ = + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource + .getDefaultInstance(); + } + fileBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResourceOrBuilder>( (com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource) resourceType_, getParentForChildren(), isClean()); resourceType_ = null; } resourceTypeCase_ = 5; - onChanged();; + onChanged(); + ; return fileBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -26300,12 +31048,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.Resource) private static final com.google.cloud.osconfig.v1alpha.OSPolicy.Resource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.Resource(); } @@ -26314,16 +31062,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicy.Resource getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Resource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Resource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Resource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Resource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -26338,48 +31086,64 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ResourceGroupOrBuilder extends + public interface ResourceGroupOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Deprecated. Use the `inventory_filters` field instead.
      * Used to specify the OS filter for a resource group
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy.proto;l=512 + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. See + * google/cloud/osconfig/v1alpha/os_policy.proto;l=512 * @return Whether the osFilter field is set. */ - @java.lang.Deprecated boolean hasOsFilter(); + @java.lang.Deprecated + boolean hasOsFilter(); /** + * + * *
      * Deprecated. Use the `inventory_filters` field instead.
      * Used to specify the OS filter for a resource group
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy.proto;l=512 + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. See + * google/cloud/osconfig/v1alpha/os_policy.proto;l=512 * @return The osFilter. */ - @java.lang.Deprecated com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter getOsFilter(); + @java.lang.Deprecated + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter getOsFilter(); /** + * + * *
      * Deprecated. Use the `inventory_filters` field instead.
      * Used to specify the OS filter for a resource group
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * */ - @java.lang.Deprecated com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder getOsFilterOrBuilder(); + @java.lang.Deprecated + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder getOsFilterOrBuilder(); /** + * + * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -26393,11 +31157,14 @@ public interface ResourceGroupOrBuilder extends
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ - java.util.List + java.util.List getInventoryFiltersList(); /** + * + * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -26411,10 +31178,13 @@ public interface ResourceGroupOrBuilder extends
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getInventoryFilters(int index); /** + * + * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -26428,10 +31198,13 @@ public interface ResourceGroupOrBuilder extends
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ int getInventoryFiltersCount(); /** + * + * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -26445,11 +31218,14 @@ public interface ResourceGroupOrBuilder extends
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ - java.util.List + java.util.List getInventoryFiltersOrBuilderList(); /** + * + * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -26463,61 +31239,82 @@ public interface ResourceGroupOrBuilder extends
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder getInventoryFiltersOrBuilder( - int index); + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder + getInventoryFiltersOrBuilder(int index); /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getResourcesList(); + java.util.List getResourcesList(); /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1alpha.OSPolicy.Resource getResources(int index); /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getResourcesCount(); /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getResourcesOrBuilderList(); /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder getResourcesOrBuilder( - int index); + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder getResourcesOrBuilder(int index); } /** + * + * *
    * Resource groups provide a mechanism to group OS policy resources.
    * Resource groups enable OS policy authors to create a single OS policy
@@ -26529,15 +31326,16 @@ com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder getResourcesOrBuild
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup}
    */
-  public static final class ResourceGroup extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ResourceGroup extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup)
       ResourceGroupOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ResourceGroup.newBuilder() to construct.
     private ResourceGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ResourceGroup() {
       inventoryFilters_ = java.util.Collections.emptyList();
       resources_ = java.util.Collections.emptyList();
@@ -26545,16 +31343,15 @@ private ResourceGroup() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ResourceGroup();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private ResourceGroup(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -26574,44 +31371,58 @@ private ResourceGroup(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder subBuilder = null;
-              if (osFilter_ != null) {
-                subBuilder = osFilter_.toBuilder();
-              }
-              osFilter_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(osFilter_);
-                osFilter_ = subBuilder.buildPartial();
-              }
+            case 10:
+              {
+                com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder subBuilder = null;
+                if (osFilter_ != null) {
+                  subBuilder = osFilter_.toBuilder();
+                }
+                osFilter_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(osFilter_);
+                  osFilter_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 18: {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                resources_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
+                break;
               }
-              resources_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.parser(), extensionRegistry));
-              break;
-            }
-            case 26: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                inventoryFilters_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 18:
+              {
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  resources_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1alpha.OSPolicy.Resource>();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                resources_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.parser(),
+                        extensionRegistry));
+                break;
               }
-              inventoryFilters_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.parser(), extensionRegistry));
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 26:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  inventoryFilters_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter>();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                inventoryFilters_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.parser(),
+                        extensionRegistry));
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -26619,8 +31430,7 @@ private ResourceGroup(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000002) != 0)) {
           resources_ = java.util.Collections.unmodifiableList(resources_);
@@ -26632,67 +31442,89 @@ private ResourceGroup(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+          .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+          .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.class, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder.class);
+              com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.class,
+              com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder.class);
     }
 
     public static final int OS_FILTER_FIELD_NUMBER = 1;
     private com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter osFilter_;
     /**
+     *
+     *
      * 
      * Deprecated. Use the `inventory_filters` field instead.
      * Used to specify the OS filter for a resource group
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy.proto;l=512 + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. See + * google/cloud/osconfig/v1alpha/os_policy.proto;l=512 * @return Whether the osFilter field is set. */ @java.lang.Override - @java.lang.Deprecated public boolean hasOsFilter() { + @java.lang.Deprecated + public boolean hasOsFilter() { return osFilter_ != null; } /** + * + * *
      * Deprecated. Use the `inventory_filters` field instead.
      * Used to specify the OS filter for a resource group
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy.proto;l=512 + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. See + * google/cloud/osconfig/v1alpha/os_policy.proto;l=512 * @return The osFilter. */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter getOsFilter() { - return osFilter_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.getDefaultInstance() : osFilter_; + @java.lang.Deprecated + public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter getOsFilter() { + return osFilter_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.getDefaultInstance() + : osFilter_; } /** + * + * *
      * Deprecated. Use the `inventory_filters` field instead.
      * Used to specify the OS filter for a resource group
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder getOsFilterOrBuilder() { + @java.lang.Deprecated + public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder getOsFilterOrBuilder() { return getOsFilter(); } public static final int INVENTORY_FILTERS_FIELD_NUMBER = 3; - private java.util.List inventoryFilters_; + private java.util.List + inventoryFilters_; /** + * + * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -26706,13 +31538,17 @@ private ResourceGroup(
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ @java.lang.Override - public java.util.List getInventoryFiltersList() { + public java.util.List + getInventoryFiltersList() { return inventoryFilters_; } /** + * + * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -26726,14 +31562,18 @@ public java.util.List
      *
-     * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3;
+     * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3;
+     * 
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder>
         getInventoryFiltersOrBuilderList() {
       return inventoryFilters_;
     }
     /**
+     *
+     *
      * 
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -26747,13 +31587,16 @@ public java.util.List
      *
-     * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3;
+     * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3;
+     * 
      */
     @java.lang.Override
     public int getInventoryFiltersCount() {
       return inventoryFilters_.size();
     }
     /**
+     *
+     *
      * 
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -26767,13 +31610,17 @@ public int getInventoryFiltersCount() {
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getInventoryFilters(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getInventoryFilters( + int index) { return inventoryFilters_.get(index); } /** + * + * *
      * List of inventory filters for the resource group.
      * The resources in this resource group are applied to the target VM if it
@@ -26787,72 +31634,93 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getInventoryFi
      * VM unconditionally.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder getInventoryFiltersOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder + getInventoryFiltersOrBuilder(int index) { return inventoryFilters_.get(index); } public static final int RESOURCES_FIELD_NUMBER = 2; private java.util.List resources_; /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getResourcesList() { return resources_; } /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getResourcesOrBuilderList() { return resources_; } /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getResourcesCount() { return resources_.size(); } /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource getResources(int index) { return resources_.get(index); } /** + * + * *
      * Required. List of resources configured for this resource group.
      * The resources are executed in the exact order specified here.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder getResourcesOrBuilder( @@ -26861,6 +31729,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder getResources } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -26872,8 +31741,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (osFilter_ != null) { output.writeMessage(1, getOsFilter()); } @@ -26893,16 +31761,14 @@ public int getSerializedSize() { size = 0; if (osFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getOsFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOsFilter()); } for (int i = 0; i < resources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, resources_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, resources_.get(i)); } for (int i = 0; i < inventoryFilters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, inventoryFilters_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, inventoryFilters_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -26912,22 +31778,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup other = (com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup other = + (com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup) obj; if (hasOsFilter() != other.hasOsFilter()) return false; if (hasOsFilter()) { - if (!getOsFilter() - .equals(other.getOsFilter())) return false; + if (!getOsFilter().equals(other.getOsFilter())) return false; } - if (!getInventoryFiltersList() - .equals(other.getInventoryFiltersList())) return false; - if (!getResourcesList() - .equals(other.getResourcesList())) return false; + if (!getInventoryFiltersList().equals(other.getInventoryFiltersList())) return false; + if (!getResourcesList().equals(other.getResourcesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -26957,87 +31821,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup 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.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -27047,6 +31918,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Resource groups provide a mechanism to group OS policy resources.
      * Resource groups enable OS policy authors to create a single OS policy
@@ -27058,21 +31931,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup)
         com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+            .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+            .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.class, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder.class);
+                com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.class,
+                com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.newBuilder()
@@ -27080,18 +31956,18 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getInventoryFiltersFieldBuilder();
           getResourcesFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -27117,9 +31993,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyProto
+            .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor;
       }
 
       @java.lang.Override
@@ -27138,7 +32014,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup buildPartial() {
-        com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup result = new com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup(this);
+        com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup result =
+            new com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup(this);
         int from_bitField0_ = bitField0_;
         if (osFilterBuilder_ == null) {
           result.osFilter_ = osFilter_;
@@ -27171,38 +32048,41 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1alpha.OSPolicy.ResourceGroup) {
-          return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup)other);
+          return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -27210,7 +32090,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup other) {
-        if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.getDefaultInstance())
+          return this;
         if (other.hasOsFilter()) {
           mergeOsFilter(other.getOsFilter());
         }
@@ -27232,9 +32113,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGrou
               inventoryFiltersBuilder_ = null;
               inventoryFilters_ = other.inventoryFilters_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              inventoryFiltersBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getInventoryFiltersFieldBuilder() : null;
+              inventoryFiltersBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getInventoryFiltersFieldBuilder()
+                      : null;
             } else {
               inventoryFiltersBuilder_.addAllMessages(other.inventoryFilters_);
             }
@@ -27258,9 +32140,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGrou
               resourcesBuilder_ = null;
               resources_ = other.resources_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              resourcesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getResourcesFieldBuilder() : null;
+              resourcesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getResourcesFieldBuilder()
+                      : null;
             } else {
               resourcesBuilder_.addAllMessages(other.resources_);
             }
@@ -27285,7 +32168,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -27294,52 +32178,72 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter osFilter_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter, com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder> osFilterBuilder_;
+              com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter,
+              com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder,
+              com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder>
+          osFilterBuilder_;
       /**
+       *
+       *
        * 
        * Deprecated. Use the `inventory_filters` field instead.
        * Used to specify the OS filter for a resource group
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * + * * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. * See google/cloud/osconfig/v1alpha/os_policy.proto;l=512 * @return Whether the osFilter field is set. */ - @java.lang.Deprecated public boolean hasOsFilter() { + @java.lang.Deprecated + public boolean hasOsFilter() { return osFilterBuilder_ != null || osFilter_ != null; } /** + * + * *
        * Deprecated. Use the `inventory_filters` field instead.
        * Used to specify the OS filter for a resource group
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * + * * @deprecated google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter is deprecated. * See google/cloud/osconfig/v1alpha/os_policy.proto;l=512 * @return The osFilter. */ - @java.lang.Deprecated public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter getOsFilter() { + @java.lang.Deprecated + public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter getOsFilter() { if (osFilterBuilder_ == null) { - return osFilter_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.getDefaultInstance() : osFilter_; + return osFilter_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.getDefaultInstance() + : osFilter_; } else { return osFilterBuilder_.getMessage(); } } /** + * + * *
        * Deprecated. Use the `inventory_filters` field instead.
        * Used to specify the OS filter for a resource group
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setOsFilter(com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter value) { + @java.lang.Deprecated + public Builder setOsFilter(com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter value) { if (osFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -27353,14 +32257,18 @@ public Builder mergeFrom( return this; } /** + * + * *
        * Deprecated. Use the `inventory_filters` field instead.
        * Used to specify the OS filter for a resource group
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setOsFilter( + @java.lang.Deprecated + public Builder setOsFilter( com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder builderForValue) { if (osFilterBuilder_ == null) { osFilter_ = builderForValue.build(); @@ -27372,18 +32280,24 @@ public Builder mergeFrom( return this; } /** + * + * *
        * Deprecated. Use the `inventory_filters` field instead.
        * Used to specify the OS filter for a resource group
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder mergeOsFilter(com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter value) { + @java.lang.Deprecated + public Builder mergeOsFilter(com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter value) { if (osFilterBuilder_ == null) { if (osFilter_ != null) { osFilter_ = - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.newBuilder(osFilter_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.newBuilder(osFilter_) + .mergeFrom(value) + .buildPartial(); } else { osFilter_ = value; } @@ -27395,14 +32309,18 @@ public Builder mergeFrom( return this; } /** + * + * *
        * Deprecated. Use the `inventory_filters` field instead.
        * Used to specify the OS filter for a resource group
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder clearOsFilter() { + @java.lang.Deprecated + public Builder clearOsFilter() { if (osFilterBuilder_ == null) { osFilter_ = null; onChanged(); @@ -27414,69 +32332,92 @@ public Builder mergeFrom( return this; } /** + * + * *
        * Deprecated. Use the `inventory_filters` field instead.
        * Used to specify the OS filter for a resource group
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder getOsFilterBuilder() { - + @java.lang.Deprecated + public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder getOsFilterBuilder() { + onChanged(); return getOsFilterFieldBuilder().getBuilder(); } /** + * + * *
        * Deprecated. Use the `inventory_filters` field instead.
        * Used to specify the OS filter for a resource group
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder getOsFilterOrBuilder() { + @java.lang.Deprecated + public com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder getOsFilterOrBuilder() { if (osFilterBuilder_ != null) { return osFilterBuilder_.getMessageOrBuilder(); } else { - return osFilter_ == null ? - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.getDefaultInstance() : osFilter_; + return osFilter_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.getDefaultInstance() + : osFilter_; } } /** + * + * *
        * Deprecated. Use the `inventory_filters` field instead.
        * Used to specify the OS filter for a resource group
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * .google.cloud.osconfig.v1alpha.OSPolicy.OSFilter os_filter = 1 [deprecated = true]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter, com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter, + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder> getOsFilterFieldBuilder() { if (osFilterBuilder_ == null) { - osFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter, com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder>( - getOsFilter(), - getParentForChildren(), - isClean()); + osFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter, + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilter.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.OSFilterOrBuilder>( + getOsFilter(), getParentForChildren(), isClean()); osFilter_ = null; } return osFilterBuilder_; } - private java.util.List inventoryFilters_ = - java.util.Collections.emptyList(); + private java.util.List + inventoryFilters_ = java.util.Collections.emptyList(); + private void ensureInventoryFiltersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - inventoryFilters_ = new java.util.ArrayList(inventoryFilters_); + inventoryFilters_ = + new java.util.ArrayList( + inventoryFilters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder> inventoryFiltersBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter, + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder> + inventoryFiltersBuilder_; /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -27490,9 +32431,12 @@ private void ensureInventoryFiltersIsMutable() {
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ - public java.util.List getInventoryFiltersList() { + public java.util.List + getInventoryFiltersList() { if (inventoryFiltersBuilder_ == null) { return java.util.Collections.unmodifiableList(inventoryFilters_); } else { @@ -27500,6 +32444,8 @@ public java.util.List * List of inventory filters for the resource group. * The resources in this resource group are applied to the target VM if it @@ -27513,7 +32459,9 @@ public java.util.List * - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ public int getInventoryFiltersCount() { if (inventoryFiltersBuilder_ == null) { @@ -27523,6 +32471,8 @@ public int getInventoryFiltersCount() { } } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -27536,9 +32486,12 @@ public int getInventoryFiltersCount() {
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getInventoryFilters(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getInventoryFilters( + int index) { if (inventoryFiltersBuilder_ == null) { return inventoryFilters_.get(index); } else { @@ -27546,6 +32499,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getInventoryFi } } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -27559,7 +32514,9 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter getInventoryFi
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ public Builder setInventoryFilters( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter value) { @@ -27576,6 +32533,8 @@ public Builder setInventoryFilters( return this; } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -27589,10 +32548,13 @@ public Builder setInventoryFilters(
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ public Builder setInventoryFilters( - int index, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder builderForValue) { if (inventoryFiltersBuilder_ == null) { ensureInventoryFiltersIsMutable(); inventoryFilters_.set(index, builderForValue.build()); @@ -27603,6 +32565,8 @@ public Builder setInventoryFilters( return this; } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -27616,9 +32580,12 @@ public Builder setInventoryFilters(
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ - public Builder addInventoryFilters(com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter value) { + public Builder addInventoryFilters( + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter value) { if (inventoryFiltersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -27632,6 +32599,8 @@ public Builder addInventoryFilters(com.google.cloud.osconfig.v1alpha.OSPolicy.In return this; } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -27645,7 +32614,9 @@ public Builder addInventoryFilters(com.google.cloud.osconfig.v1alpha.OSPolicy.In
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ public Builder addInventoryFilters( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter value) { @@ -27662,6 +32633,8 @@ public Builder addInventoryFilters( return this; } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -27675,7 +32648,9 @@ public Builder addInventoryFilters(
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ public Builder addInventoryFilters( com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder builderForValue) { @@ -27689,6 +32664,8 @@ public Builder addInventoryFilters( return this; } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -27702,10 +32679,13 @@ public Builder addInventoryFilters(
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ public Builder addInventoryFilters( - int index, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder builderForValue) { if (inventoryFiltersBuilder_ == null) { ensureInventoryFiltersIsMutable(); inventoryFilters_.add(index, builderForValue.build()); @@ -27716,6 +32696,8 @@ public Builder addInventoryFilters( return this; } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -27729,14 +32711,16 @@ public Builder addInventoryFilters(
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ public Builder addAllInventoryFilters( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (inventoryFiltersBuilder_ == null) { ensureInventoryFiltersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, inventoryFilters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inventoryFilters_); onChanged(); } else { inventoryFiltersBuilder_.addAllMessages(values); @@ -27744,6 +32728,8 @@ public Builder addAllInventoryFilters( return this; } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -27757,7 +32743,9 @@ public Builder addAllInventoryFilters(
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ public Builder clearInventoryFilters() { if (inventoryFiltersBuilder_ == null) { @@ -27770,6 +32758,8 @@ public Builder clearInventoryFilters() { return this; } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -27783,7 +32773,9 @@ public Builder clearInventoryFilters() {
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ public Builder removeInventoryFilters(int index) { if (inventoryFiltersBuilder_ == null) { @@ -27796,6 +32788,8 @@ public Builder removeInventoryFilters(int index) { return this; } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -27809,13 +32803,17 @@ public Builder removeInventoryFilters(int index) {
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder getInventoryFiltersBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder + getInventoryFiltersBuilder(int index) { return getInventoryFiltersFieldBuilder().getBuilder(index); } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -27829,16 +32827,21 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder getInv
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder getInventoryFiltersOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder + getInventoryFiltersOrBuilder(int index) { if (inventoryFiltersBuilder_ == null) { - return inventoryFilters_.get(index); } else { + return inventoryFilters_.get(index); + } else { return inventoryFiltersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -27852,10 +32855,13 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder getIn
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ - public java.util.List - getInventoryFiltersOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder> + getInventoryFiltersOrBuilderList() { if (inventoryFiltersBuilder_ != null) { return inventoryFiltersBuilder_.getMessageOrBuilderList(); } else { @@ -27863,6 +32869,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder getIn } } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -27876,13 +32884,19 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder getIn
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder addInventoryFiltersBuilder() { - return getInventoryFiltersFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder + addInventoryFiltersBuilder() { + return getInventoryFiltersFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.getDefaultInstance()); } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -27896,14 +32910,20 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder addInv
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder addInventoryFiltersBuilder( - int index) { - return getInventoryFiltersFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder + addInventoryFiltersBuilder(int index) { + return getInventoryFiltersFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.getDefaultInstance()); } /** + * + * *
        * List of inventory filters for the resource group.
        * The resources in this resource group are applied to the target VM if it
@@ -27917,18 +32937,26 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder addInv
        * VM unconditionally.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter inventory_filters = 3; + * */ - public java.util.List - getInventoryFiltersBuilderList() { + public java.util.List + getInventoryFiltersBuilderList() { return getInventoryFiltersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter, + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder> getInventoryFiltersFieldBuilder() { if (inventoryFiltersBuilder_ == null) { - inventoryFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder>( + inventoryFiltersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter, + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilterOrBuilder>( inventoryFilters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -27939,26 +32967,37 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter.Builder addInv } private java.util.List resources_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureResourcesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - resources_ = new java.util.ArrayList(resources_); + resources_ = + new java.util.ArrayList( + resources_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder> resourcesBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder> + resourcesBuilder_; /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getResourcesList() { + public java.util.List + getResourcesList() { if (resourcesBuilder_ == null) { return java.util.Collections.unmodifiableList(resources_); } else { @@ -27966,12 +33005,16 @@ public java.util.List getRe } } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getResourcesCount() { if (resourcesBuilder_ == null) { @@ -27981,12 +33024,16 @@ public int getResourcesCount() { } } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource getResources(int index) { if (resourcesBuilder_ == null) { @@ -27996,12 +33043,16 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource getResources(int inde } } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResources( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource value) { @@ -28018,12 +33069,16 @@ public Builder setResources( return this; } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResources( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder builderForValue) { @@ -28037,12 +33092,16 @@ public Builder setResources( return this; } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addResources(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource value) { if (resourcesBuilder_ == null) { @@ -28058,12 +33117,16 @@ public Builder addResources(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource return this; } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addResources( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource value) { @@ -28080,12 +33143,16 @@ public Builder addResources( return this; } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addResources( com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder builderForValue) { @@ -28099,12 +33166,16 @@ public Builder addResources( return this; } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addResources( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder builderForValue) { @@ -28118,19 +33189,23 @@ public Builder addResources( return this; } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllResources( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, resources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resources_); onChanged(); } else { resourcesBuilder_.addAllMessages(values); @@ -28138,12 +33213,16 @@ public Builder addAllResources( return this; } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearResources() { if (resourcesBuilder_ == null) { @@ -28156,12 +33235,16 @@ public Builder clearResources() { return this; } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeResources(int index) { if (resourcesBuilder_ == null) { @@ -28174,42 +33257,55 @@ public Builder removeResources(int index) { return this; } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder getResourcesBuilder( int index) { return getResourcesFieldBuilder().getBuilder(index); } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder getResourcesOrBuilder( int index) { if (resourcesBuilder_ == null) { - return resources_.get(index); } else { + return resources_.get(index); + } else { return resourcesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getResourcesOrBuilderList() { + public java.util.List + getResourcesOrBuilderList() { if (resourcesBuilder_ != null) { return resourcesBuilder_.getMessageOrBuilderList(); } else { @@ -28217,56 +33313,73 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder getResources } } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder addResourcesBuilder() { - return getResourcesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.getDefaultInstance()); + return getResourcesFieldBuilder() + .addBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.getDefaultInstance()); } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder addResourcesBuilder( int index) { - return getResourcesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.getDefaultInstance()); + return getResourcesFieldBuilder() + .addBuilder( + index, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.getDefaultInstance()); } /** + * + * *
        * Required. List of resources configured for this resource group.
        * The resources are executed in the exact order specified here.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.Resource resources = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getResourcesBuilderList() { + public java.util.List + getResourcesBuilderList() { return getResourcesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder> getResourcesFieldBuilder() { if (resourcesBuilder_ == null) { - resourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.Resource, com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder>( - resources_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + resourcesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource, + com.google.cloud.osconfig.v1alpha.OSPolicy.Resource.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceOrBuilder>( + resources_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); resources_ = null; } return resourcesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -28279,12 +33392,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup) private static final com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup(); } @@ -28293,16 +33406,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceGroup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceGroup(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResourceGroup(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -28317,12 +33430,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** + * + * *
    * Required. The id of the OS policy with the following restrictions:
    * * Must contain only lowercase letters, numbers, and hyphens.
@@ -28333,6 +33447,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup getDefaultInstan
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ @java.lang.Override @@ -28341,14 +33456,15 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
    * Required. The id of the OS policy with the following restrictions:
    * * Must contain only lowercase letters, numbers, and hyphens.
@@ -28359,16 +33475,15 @@ public java.lang.String getId() {
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -28379,12 +33494,15 @@ public java.lang.String getId() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * Policy description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -28393,30 +33511,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Policy description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -28427,33 +33545,48 @@ public java.lang.String getDescription() { public static final int MODE_FIELD_NUMBER = 3; private int mode_; /** + * + * *
    * Required. Policy mode
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
    * Required. Policy mode
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The mode. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Mode getMode() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.OSPolicy.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Mode result = com.google.cloud.osconfig.v1alpha.OSPolicy.Mode.valueOf(mode_); + com.google.cloud.osconfig.v1alpha.OSPolicy.Mode result = + com.google.cloud.osconfig.v1alpha.OSPolicy.Mode.valueOf(mode_); return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Mode.UNRECOGNIZED : result; } public static final int RESOURCE_GROUPS_FIELD_NUMBER = 4; private java.util.List resourceGroups_; /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -28464,13 +33597,18 @@ public java.lang.String getDescription() {
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getResourceGroupsList() { + public java.util.List + getResourceGroupsList() { return resourceGroups_; } /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -28481,14 +33619,18 @@ public java.util.List
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getResourceGroupsOrBuilderList() { return resourceGroups_; } /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -28499,13 +33641,17 @@ public java.util.List
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getResourceGroupsCount() { return resourceGroups_.size(); } /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -28516,13 +33662,17 @@ public int getResourceGroupsCount() {
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup getResourceGroups(int index) { return resourceGroups_.get(index); } /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -28533,17 +33683,21 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup getResourceGroup
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder getResourceGroupsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder + getResourceGroupsOrBuilder(int index) { return resourceGroups_.get(index); } public static final int ALLOW_NO_RESOURCE_GROUP_MATCH_FIELD_NUMBER = 5; private boolean allowNoResourceGroupMatch_; /** + * + * *
    * This flag determines the OS policy compliance status when none of the
    * resource groups within the policy are applicable for a VM. Set this value
@@ -28552,6 +33706,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder getReso
    * 
* * bool allow_no_resource_group_match = 5; + * * @return The allowNoResourceGroupMatch. */ @java.lang.Override @@ -28560,6 +33715,7 @@ public boolean getAllowNoResourceGroupMatch() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -28571,8 +33727,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -28604,16 +33759,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (mode_ != com.google.cloud.osconfig.v1alpha.OSPolicy.Mode.MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, mode_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, mode_); } for (int i = 0; i < resourceGroups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, resourceGroups_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, resourceGroups_.get(i)); } if (allowNoResourceGroupMatch_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, allowNoResourceGroupMatch_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowNoResourceGroupMatch_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -28623,22 +33775,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicy)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicy other = (com.google.cloud.osconfig.v1alpha.OSPolicy) obj; + com.google.cloud.osconfig.v1alpha.OSPolicy other = + (com.google.cloud.osconfig.v1alpha.OSPolicy) obj; - if (!getId() - .equals(other.getId())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getId().equals(other.getId())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (mode_ != other.mode_) return false; - if (!getResourceGroupsList() - .equals(other.getResourceGroupsList())) return false; - if (getAllowNoResourceGroupMatch() - != other.getAllowNoResourceGroupMatch()) return false; + if (!getResourceGroupsList().equals(other.getResourceGroupsList())) return false; + if (getAllowNoResourceGroupMatch() != other.getAllowNoResourceGroupMatch()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -28661,125 +33810,133 @@ public int hashCode() { hash = (53 * hash) + getResourceGroupsList().hashCode(); } hash = (37 * hash) + ALLOW_NO_RESOURCE_GROUP_MATCH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowNoResourceGroupMatch()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowNoResourceGroupMatch()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicy parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.osconfig.v1alpha.OSPolicy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy 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.osconfig.v1alpha.OSPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An OS policy defines the desired state configuration for a VM.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicy) com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicy.class, com.google.cloud.osconfig.v1alpha.OSPolicy.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicy.class, + com.google.cloud.osconfig.v1alpha.OSPolicy.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.OSPolicy.newBuilder() @@ -28787,17 +33944,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getResourceGroupsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -28819,9 +33976,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor; } @java.lang.Override @@ -28840,7 +33997,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicy result = new com.google.cloud.osconfig.v1alpha.OSPolicy(this); + com.google.cloud.osconfig.v1alpha.OSPolicy result = + new com.google.cloud.osconfig.v1alpha.OSPolicy(this); int from_bitField0_ = bitField0_; result.id_ = id_; result.description_ = description_; @@ -28863,38 +34021,39 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicy) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy)other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicy) other); } else { super.mergeFrom(other); return this; @@ -28932,9 +34091,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicy other) { resourceGroupsBuilder_ = null; resourceGroups_ = other.resourceGroups_; bitField0_ = (bitField0_ & ~0x00000001); - resourceGroupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getResourceGroupsFieldBuilder() : null; + resourceGroupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getResourceGroupsFieldBuilder() + : null; } else { resourceGroupsBuilder_.addAllMessages(other.resourceGroups_); } @@ -28971,10 +34131,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object id_ = ""; /** + * + * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -28985,13 +34148,13 @@ public Builder mergeFrom(
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -29000,6 +34163,8 @@ public java.lang.String getId() { } } /** + * + * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -29010,15 +34175,14 @@ public java.lang.String getId() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -29026,6 +34190,8 @@ public java.lang.String getId() { } } /** + * + * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -29036,20 +34202,22 @@ public java.lang.String getId() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -29060,15 +34228,18 @@ public Builder setId(
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
      * Required. The id of the OS policy with the following restrictions:
      * * Must contain only lowercase letters, numbers, and hyphens.
@@ -29079,16 +34250,16 @@ public Builder clearId() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -29096,19 +34267,21 @@ public Builder setIdBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -29117,21 +34290,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -29139,57 +34313,64 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Policy description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -29197,51 +34378,73 @@ public Builder setDescriptionBytes( private int mode_ = 0; /** + * + * *
      * Required. Policy mode
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
      * Required. Policy mode
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { - + mode_ = value; onChanged(); return this; } /** + * + * *
      * Required. Policy mode
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The mode. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicy.Mode result = com.google.cloud.osconfig.v1alpha.OSPolicy.Mode.valueOf(mode_); + com.google.cloud.osconfig.v1alpha.OSPolicy.Mode result = + com.google.cloud.osconfig.v1alpha.OSPolicy.Mode.valueOf(mode_); return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicy.Mode.UNRECOGNIZED : result; } /** + * + * *
      * Required. Policy mode
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The mode to set. * @return This builder for chaining. */ @@ -29249,39 +34452,52 @@ public Builder setMode(com.google.cloud.osconfig.v1alpha.OSPolicy.Mode value) { if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. Policy mode
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = 0; onChanged(); return this; } - private java.util.List resourceGroups_ = - java.util.Collections.emptyList(); + private java.util.List + resourceGroups_ = java.util.Collections.emptyList(); + private void ensureResourceGroupsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - resourceGroups_ = new java.util.ArrayList(resourceGroups_); + resourceGroups_ = + new java.util.ArrayList( + resourceGroups_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder> resourceGroupsBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup, + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder> + resourceGroupsBuilder_; /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -29292,9 +34508,12 @@ private void ensureResourceGroupsIsMutable() {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getResourceGroupsList() { + public java.util.List + getResourceGroupsList() { if (resourceGroupsBuilder_ == null) { return java.util.Collections.unmodifiableList(resourceGroups_); } else { @@ -29302,6 +34521,8 @@ public java.util.List } } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -29312,7 +34533,9 @@ public java.util.List
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getResourceGroupsCount() { if (resourceGroupsBuilder_ == null) { @@ -29322,6 +34545,8 @@ public int getResourceGroupsCount() { } } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -29332,7 +34557,9 @@ public int getResourceGroupsCount() {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup getResourceGroups(int index) { if (resourceGroupsBuilder_ == null) { @@ -29342,6 +34569,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup getResourceGroup } } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -29352,7 +34581,9 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup getResourceGroup
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResourceGroups( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup value) { @@ -29369,6 +34600,8 @@ public Builder setResourceGroups( return this; } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -29379,10 +34612,13 @@ public Builder setResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setResourceGroups( - int index, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder builderForValue) { if (resourceGroupsBuilder_ == null) { ensureResourceGroupsIsMutable(); resourceGroups_.set(index, builderForValue.build()); @@ -29393,6 +34629,8 @@ public Builder setResourceGroups( return this; } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -29403,9 +34641,12 @@ public Builder setResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addResourceGroups(com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup value) { + public Builder addResourceGroups( + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup value) { if (resourceGroupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -29419,6 +34660,8 @@ public Builder addResourceGroups(com.google.cloud.osconfig.v1alpha.OSPolicy.Reso return this; } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -29429,7 +34672,9 @@ public Builder addResourceGroups(com.google.cloud.osconfig.v1alpha.OSPolicy.Reso
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addResourceGroups( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup value) { @@ -29446,6 +34691,8 @@ public Builder addResourceGroups( return this; } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -29456,7 +34703,9 @@ public Builder addResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addResourceGroups( com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder builderForValue) { @@ -29470,6 +34719,8 @@ public Builder addResourceGroups( return this; } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -29480,10 +34731,13 @@ public Builder addResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addResourceGroups( - int index, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder builderForValue) { if (resourceGroupsBuilder_ == null) { ensureResourceGroupsIsMutable(); resourceGroups_.add(index, builderForValue.build()); @@ -29494,6 +34748,8 @@ public Builder addResourceGroups( return this; } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -29504,14 +34760,16 @@ public Builder addResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllResourceGroups( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (resourceGroupsBuilder_ == null) { ensureResourceGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, resourceGroups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceGroups_); onChanged(); } else { resourceGroupsBuilder_.addAllMessages(values); @@ -29519,6 +34777,8 @@ public Builder addAllResourceGroups( return this; } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -29529,7 +34789,9 @@ public Builder addAllResourceGroups(
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearResourceGroups() { if (resourceGroupsBuilder_ == null) { @@ -29542,6 +34804,8 @@ public Builder clearResourceGroups() { return this; } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -29552,7 +34816,9 @@ public Builder clearResourceGroups() {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeResourceGroups(int index) { if (resourceGroupsBuilder_ == null) { @@ -29565,6 +34831,8 @@ public Builder removeResourceGroups(int index) { return this; } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -29575,13 +34843,17 @@ public Builder removeResourceGroups(int index) {
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder getResourceGroupsBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder + getResourceGroupsBuilder(int index) { return getResourceGroupsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -29592,16 +34864,21 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder getResou
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder getResourceGroupsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder + getResourceGroupsOrBuilder(int index) { if (resourceGroupsBuilder_ == null) { - return resourceGroups_.get(index); } else { + return resourceGroups_.get(index); + } else { return resourceGroupsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -29612,10 +34889,13 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder getReso
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getResourceGroupsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder> + getResourceGroupsOrBuilderList() { if (resourceGroupsBuilder_ != null) { return resourceGroupsBuilder_.getMessageOrBuilderList(); } else { @@ -29623,6 +34903,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder getReso } } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -29633,13 +34915,19 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder getReso
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder addResourceGroupsBuilder() { - return getResourceGroupsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder + addResourceGroupsBuilder() { + return getResourceGroupsFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.getDefaultInstance()); } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -29650,14 +34938,19 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder addResou
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder addResourceGroupsBuilder( - int index) { - return getResourceGroupsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder + addResourceGroupsBuilder(int index) { + return getResourceGroupsFieldBuilder() + .addBuilder( + index, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.getDefaultInstance()); } /** + * + * *
      * Required. List of resource groups for the policy.
      * For a particular VM, resource groups are evaluated in the order specified
@@ -29668,18 +34961,26 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder addResou
      * toggled by the flag `allow_no_resource_group_match`
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getResourceGroupsBuilderList() { + public java.util.List + getResourceGroupsBuilderList() { return getResourceGroupsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup, + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder> getResourceGroupsFieldBuilder() { if (resourceGroupsBuilder_ == null) { - resourceGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder, com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder>( + resourceGroupsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup, + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder>( resourceGroups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -29689,8 +34990,10 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder addResou return resourceGroupsBuilder_; } - private boolean allowNoResourceGroupMatch_ ; + private boolean allowNoResourceGroupMatch_; /** + * + * *
      * This flag determines the OS policy compliance status when none of the
      * resource groups within the policy are applicable for a VM. Set this value
@@ -29699,6 +35002,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.Builder addResou
      * 
* * bool allow_no_resource_group_match = 5; + * * @return The allowNoResourceGroupMatch. */ @java.lang.Override @@ -29706,6 +35010,8 @@ public boolean getAllowNoResourceGroupMatch() { return allowNoResourceGroupMatch_; } /** + * + * *
      * This flag determines the OS policy compliance status when none of the
      * resource groups within the policy are applicable for a VM. Set this value
@@ -29714,16 +35020,19 @@ public boolean getAllowNoResourceGroupMatch() {
      * 
* * bool allow_no_resource_group_match = 5; + * * @param value The allowNoResourceGroupMatch to set. * @return This builder for chaining. */ public Builder setAllowNoResourceGroupMatch(boolean value) { - + allowNoResourceGroupMatch_ = value; onChanged(); return this; } /** + * + * *
      * This flag determines the OS policy compliance status when none of the
      * resource groups within the policy are applicable for a VM. Set this value
@@ -29732,17 +35041,18 @@ public Builder setAllowNoResourceGroupMatch(boolean value) {
      * 
* * bool allow_no_resource_group_match = 5; + * * @return This builder for chaining. */ public Builder clearAllowNoResourceGroupMatch() { - + allowNoResourceGroupMatch_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -29752,12 +35062,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicy) private static final com.google.cloud.osconfig.v1alpha.OSPolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicy(); } @@ -29766,16 +35076,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -29790,6 +35100,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.OSPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignment.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignment.java similarity index 67% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignment.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignment.java index 13a11579..47c92e2b 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignment.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignment.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * OS policy assignment is an API resource that is used to
  * apply a set of OS policies to a dynamically targeted group of Compute Engine
@@ -18,15 +35,16 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment}
  */
-public final class OSPolicyAssignment extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OSPolicyAssignment extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment)
     OSPolicyAssignmentOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OSPolicyAssignment.newBuilder() to construct.
   private OSPolicyAssignment(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OSPolicyAssignment() {
     name_ = "";
     description_ = "";
@@ -39,16 +57,15 @@ private OSPolicyAssignment() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OSPolicyAssignment();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OSPolicyAssignment(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -68,112 +85,132 @@ private OSPolicyAssignment(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            description_ = s;
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              osPolicies_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
-            }
-            osPolicies_.add(
-                input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicy.parser(), extensionRegistry));
-            break;
-          }
-          case 34: {
-            com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder subBuilder = null;
-            if (instanceFilter_ != null) {
-              subBuilder = instanceFilter_.toBuilder();
-            }
-            instanceFilter_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(instanceFilter_);
-              instanceFilter_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 42: {
-            com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder subBuilder = null;
-            if (rollout_ != null) {
-              subBuilder = rollout_.toBuilder();
+              description_ = s;
+              break;
             }
-            rollout_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(rollout_);
-              rollout_ = subBuilder.buildPartial();
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                osPolicies_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              osPolicies_.add(
+                  input.readMessage(
+                      com.google.cloud.osconfig.v1alpha.OSPolicy.parser(), extensionRegistry));
+              break;
             }
+          case 34:
+            {
+              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder
+                  subBuilder = null;
+              if (instanceFilter_ != null) {
+                subBuilder = instanceFilter_.toBuilder();
+              }
+              instanceFilter_ =
+                  input.readMessage(
+                      com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(instanceFilter_);
+                instanceFilter_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            revisionId_ = s;
-            break;
-          }
-          case 58: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (revisionCreateTime_ != null) {
-              subBuilder = revisionCreateTime_.toBuilder();
-            }
-            revisionCreateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(revisionCreateTime_);
-              revisionCreateTime_ = subBuilder.buildPartial();
+              break;
             }
+          case 42:
+            {
+              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder subBuilder =
+                  null;
+              if (rollout_ != null) {
+                subBuilder = rollout_.toBuilder();
+              }
+              rollout_ =
+                  input.readMessage(
+                      com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rollout_);
+                rollout_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 66: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            etag_ = s;
-            break;
-          }
-          case 72: {
-            int rawValue = input.readEnum();
+              break;
+            }
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            rolloutState_ = rawValue;
-            break;
-          }
-          case 80: {
+              revisionId_ = s;
+              break;
+            }
+          case 58:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (revisionCreateTime_ != null) {
+                subBuilder = revisionCreateTime_.toBuilder();
+              }
+              revisionCreateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(revisionCreateTime_);
+                revisionCreateTime_ = subBuilder.buildPartial();
+              }
 
-            baseline_ = input.readBool();
-            break;
-          }
-          case 88: {
+              break;
+            }
+          case 66:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            deleted_ = input.readBool();
-            break;
-          }
-          case 96: {
+              etag_ = s;
+              break;
+            }
+          case 72:
+            {
+              int rawValue = input.readEnum();
 
-            reconciling_ = input.readBool();
-            break;
-          }
-          case 106: {
-            java.lang.String s = input.readStringRequireUtf8();
+              rolloutState_ = rawValue;
+              break;
+            }
+          case 80:
+            {
+              baseline_ = input.readBool();
+              break;
+            }
+          case 88:
+            {
+              deleted_ = input.readBool();
+              break;
+            }
+          case 96:
+            {
+              reconciling_ = input.readBool();
+              break;
+            }
+          case 106:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            uid_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              uid_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -181,8 +218,7 @@ private OSPolicyAssignment(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         osPolicies_ = java.util.Collections.unmodifiableList(osPolicies_);
@@ -191,29 +227,35 @@ private OSPolicyAssignment(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+        .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+        .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder.class);
+            com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.class,
+            com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * OS policy assignment rollout state
    * 
* * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState} */ - public enum RolloutState - implements com.google.protobuf.ProtocolMessageEnum { + public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Invalid value
      * 
@@ -222,6 +264,8 @@ public enum RolloutState */ ROLLOUT_STATE_UNSPECIFIED(0), /** + * + * *
      * The rollout is in progress.
      * 
@@ -230,6 +274,8 @@ public enum RolloutState */ IN_PROGRESS(1), /** + * + * *
      * The rollout is being cancelled.
      * 
@@ -238,6 +284,8 @@ public enum RolloutState */ CANCELLING(2), /** + * + * *
      * The rollout is cancelled.
      * 
@@ -246,6 +294,8 @@ public enum RolloutState */ CANCELLED(3), /** + * + * *
      * The rollout has completed successfully.
      * 
@@ -257,6 +307,8 @@ public enum RolloutState ; /** + * + * *
      * Invalid value
      * 
@@ -265,6 +317,8 @@ public enum RolloutState */ public static final int ROLLOUT_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The rollout is in progress.
      * 
@@ -273,6 +327,8 @@ public enum RolloutState */ public static final int IN_PROGRESS_VALUE = 1; /** + * + * *
      * The rollout is being cancelled.
      * 
@@ -281,6 +337,8 @@ public enum RolloutState */ public static final int CANCELLING_VALUE = 2; /** + * + * *
      * The rollout is cancelled.
      * 
@@ -289,6 +347,8 @@ public enum RolloutState */ public static final int CANCELLED_VALUE = 3; /** + * + * *
      * The rollout has completed successfully.
      * 
@@ -297,7 +357,6 @@ public enum RolloutState */ public static final int SUCCEEDED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -322,51 +381,55 @@ public static RolloutState valueOf(int value) { */ public static RolloutState forNumber(int value) { switch (value) { - case 0: return ROLLOUT_STATE_UNSPECIFIED; - case 1: return IN_PROGRESS; - case 2: return CANCELLING; - case 3: return CANCELLED; - case 4: return SUCCEEDED; - default: return null; + case 0: + return ROLLOUT_STATE_UNSPECIFIED; + case 1: + return IN_PROGRESS; + case 2: + return CANCELLING; + case 3: + return CANCELLED; + case 4: + return SUCCEEDED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - RolloutState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RolloutState findValueByNumber(int number) { - return RolloutState.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RolloutState findValueByNumber(int number) { + return RolloutState.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDescriptor() + .getEnumTypes() + .get(0); } private static final RolloutState[] VALUES = values(); - public static RolloutState valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RolloutState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -383,11 +446,14 @@ private RolloutState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState) } - public interface LabelSetOrBuilder extends + public interface LabelSetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -398,6 +464,8 @@ public interface LabelSetOrBuilder extends
      */
     int getLabelsCount();
     /**
+     *
+     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -406,15 +474,13 @@ public interface LabelSetOrBuilder extends
      *
      * map<string, string> labels = 1;
      */
-    boolean containsLabels(
-        java.lang.String key);
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    boolean containsLabels(java.lang.String key);
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Deprecated
-    java.util.Map
-    getLabels();
+    java.util.Map getLabels();
     /**
+     *
+     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -423,9 +489,10 @@ boolean containsLabels(
      *
      * map<string, string> labels = 1;
      */
-    java.util.Map
-    getLabelsMap();
+    java.util.Map getLabelsMap();
     /**
+     *
+     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -436,11 +503,13 @@ boolean containsLabels(
      */
 
     /* nullable */
-java.lang.String getLabelsOrDefault(
+    java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue);
+        java.lang.String defaultValue);
     /**
+     *
+     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -449,11 +518,11 @@ java.lang.String getLabelsOrDefault(
      *
      * map<string, string> labels = 1;
      */
-
-    java.lang.String getLabelsOrThrow(
-        java.lang.String key);
+    java.lang.String getLabelsOrThrow(java.lang.String key);
   }
   /**
+   *
+   *
    * 
    * Message representing label set.
    * * A label is a key value pair set for a VM.
@@ -468,30 +537,29 @@ java.lang.String getLabelsOrThrow(
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet}
    */
-  public static final class LabelSet extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class LabelSet extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet)
       LabelSetOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use LabelSet.newBuilder() to construct.
     private LabelSet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private LabelSet() {
-    }
+
+    private LabelSet() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new LabelSet();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private LabelSet(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -511,26 +579,28 @@ private LabelSet(
             case 0:
               done = true;
               break;
-            case 10: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                labels_ = com.google.protobuf.MapField.newMapField(
-                    LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
+            case 10:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  labels_ =
+                      com.google.protobuf.MapField.newMapField(
+                          LabelsDefaultEntryHolder.defaultEntry);
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
+                break;
               }
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -538,57 +608,57 @@ private LabelSet(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
     @java.lang.Override
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 1:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder.class);
+              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.class,
+              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder.class);
     }
 
     public static final int LABELS_FIELD_NUMBER = 1;
+
     private static final class LabelsDefaultEntryHolder {
-      static final com.google.protobuf.MapEntry<
-          java.lang.String, java.lang.String> defaultEntry =
-              com.google.protobuf.MapEntry
-              .newDefaultInstance(
-                  com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor, 
-                  com.google.protobuf.WireFormat.FieldType.STRING,
-                  "",
-                  com.google.protobuf.WireFormat.FieldType.STRING,
-                  "");
-    }
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> labels_;
-    private com.google.protobuf.MapField
-    internalGetLabels() {
+      static final com.google.protobuf.MapEntry defaultEntry =
+          com.google.protobuf.MapEntry.newDefaultInstance(
+              com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+                  .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor,
+              com.google.protobuf.WireFormat.FieldType.STRING,
+              "",
+              com.google.protobuf.WireFormat.FieldType.STRING,
+              "");
+    }
+
+    private com.google.protobuf.MapField labels_;
+
+    private com.google.protobuf.MapField internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
@@ -597,6 +667,8 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -605,22 +677,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 1;
      */
-
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -630,11 +702,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 1;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -644,16 +717,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 1;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Labels are identified by key/value pairs in this map.
      * A VM should contain all the key/value pairs specified in this
@@ -663,12 +737,11 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 1;
      */
     @java.lang.Override
-
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -676,6 +749,7 @@ public java.lang.String getLabelsOrThrow(
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -687,14 +761,9 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      com.google.protobuf.GeneratedMessageV3
-        .serializeStringMapTo(
-          output,
-          internalGetLabels(),
-          LabelsDefaultEntryHolder.defaultEntry,
-          1);
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+          output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 1);
       unknownFields.writeTo(output);
     }
 
@@ -704,15 +773,15 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      for (java.util.Map.Entry entry
-           : internalGetLabels().getMap().entrySet()) {
-        com.google.protobuf.MapEntry
-        labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
-            .setKey(entry.getKey())
-            .setValue(entry.getValue())
-            .build();
-        size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(1, labels__);
+      for (java.util.Map.Entry entry :
+          internalGetLabels().getMap().entrySet()) {
+        com.google.protobuf.MapEntry labels__ =
+            LabelsDefaultEntryHolder.defaultEntry
+                .newBuilderForType()
+                .setKey(entry.getKey())
+                .setValue(entry.getValue())
+                .build();
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, labels__);
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -722,15 +791,15 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet)) {
         return super.equals(obj);
       }
-      com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet) obj;
+      com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet other =
+          (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet) obj;
 
-      if (!internalGetLabels().equals(
-          other.internalGetLabels())) return false;
+      if (!internalGetLabels().equals(other.internalGetLabels())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -752,87 +821,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet 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.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -842,6 +918,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Message representing label set.
      * * A label is a key value pair set for a VM.
@@ -856,43 +934,44 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet)
         com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+            .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor;
       }
 
       @SuppressWarnings({"rawtypes"})
-      protected com.google.protobuf.MapField internalGetMapField(
-          int number) {
+      protected com.google.protobuf.MapField internalGetMapField(int number) {
         switch (number) {
           case 1:
             return internalGetLabels();
           default:
-            throw new RuntimeException(
-                "Invalid map field number: " + number);
+            throw new RuntimeException("Invalid map field number: " + number);
         }
       }
+
       @SuppressWarnings({"rawtypes"})
-      protected com.google.protobuf.MapField internalGetMutableMapField(
-          int number) {
+      protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
         switch (number) {
           case 1:
             return internalGetMutableLabels();
           default:
-            throw new RuntimeException(
-                "Invalid map field number: " + number);
+            throw new RuntimeException("Invalid map field number: " + number);
         }
       }
+
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+            .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder.class);
+                com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.class,
+                com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.newBuilder()
@@ -900,16 +979,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -918,13 +996,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+            .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet
+          getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance();
       }
 
@@ -939,7 +1018,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet buildPartial() {
-        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet(this);
+        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet result =
+            new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet(this);
         int from_bitField0_ = bitField0_;
         result.labels_ = internalGetLabels();
         result.labels_.makeImmutable();
@@ -951,48 +1031,53 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet buildPartia
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1alpha.OSPolicyAssignment.LabelSet) {
-          return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet)other);
+          return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet other) {
-        if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance()) return this;
-        internalGetMutableLabels().mergeFrom(
-            other.internalGetLabels());
+      public Builder mergeFrom(
+          com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet other) {
+        if (other
+            == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance())
+          return this;
+        internalGetMutableLabels().mergeFrom(other.internalGetLabels());
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
         return this;
@@ -1012,7 +1097,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1021,24 +1108,24 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private com.google.protobuf.MapField<
-          java.lang.String, java.lang.String> labels_;
-      private com.google.protobuf.MapField
-      internalGetLabels() {
+      private com.google.protobuf.MapField labels_;
+
+      private com.google.protobuf.MapField internalGetLabels() {
         if (labels_ == null) {
-          return com.google.protobuf.MapField.emptyMapField(
-              LabelsDefaultEntryHolder.defaultEntry);
+          return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
         }
         return labels_;
       }
+
       private com.google.protobuf.MapField
-      internalGetMutableLabels() {
-        onChanged();;
+          internalGetMutableLabels() {
+        onChanged();
+        ;
         if (labels_ == null) {
-          labels_ = com.google.protobuf.MapField.newMapField(
-              LabelsDefaultEntryHolder.defaultEntry);
+          labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
         }
         if (!labels_.isMutable()) {
           labels_ = labels_.copy();
@@ -1050,6 +1137,8 @@ public int getLabelsCount() {
         return internalGetLabels().getMap().size();
       }
       /**
+       *
+       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1058,22 +1147,22 @@ public int getLabelsCount() {
        *
        * map<string, string> labels = 1;
        */
-
       @java.lang.Override
-      public boolean containsLabels(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public boolean containsLabels(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         return internalGetLabels().getMap().containsKey(key);
       }
-      /**
-       * Use {@link #getLabelsMap()} instead.
-       */
+      /** Use {@link #getLabelsMap()} instead. */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getLabels() {
         return getLabelsMap();
       }
       /**
+       *
+       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1083,11 +1172,12 @@ public java.util.Map getLabels() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-
       public java.util.Map getLabelsMap() {
         return internalGetLabels().getMap();
       }
       /**
+       *
+       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1097,16 +1187,17 @@ public java.util.Map getLabelsMap() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-
       public java.lang.String getLabelsOrDefault(
-          java.lang.String key,
-          java.lang.String defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetLabels().getMap();
+          java.lang.String key, java.lang.String defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetLabels().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1116,12 +1207,11 @@ public java.lang.String getLabelsOrDefault(
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-
-      public java.lang.String getLabelsOrThrow(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetLabels().getMap();
+      public java.lang.String getLabelsOrThrow(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetLabels().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
@@ -1129,11 +1219,12 @@ public java.lang.String getLabelsOrThrow(
       }
 
       public Builder clearLabels() {
-        internalGetMutableLabels().getMutableMap()
-            .clear();
+        internalGetMutableLabels().getMutableMap().clear();
         return this;
       }
       /**
+       *
+       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1142,23 +1233,21 @@ public Builder clearLabels() {
        *
        * map<string, string> labels = 1;
        */
-
-      public Builder removeLabels(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        internalGetMutableLabels().getMutableMap()
-            .remove(key);
+      public Builder removeLabels(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        internalGetMutableLabels().getMutableMap().remove(key);
         return this;
       }
-      /**
-       * Use alternate mutation accessors instead.
-       */
+      /** Use alternate mutation accessors instead. */
       @java.lang.Deprecated
-      public java.util.Map
-      getMutableLabels() {
+      public java.util.Map getMutableLabels() {
         return internalGetMutableLabels().getMutableMap();
       }
       /**
+       *
+       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1167,19 +1256,20 @@ public Builder removeLabels(
        *
        * map<string, string> labels = 1;
        */
-      public Builder putLabels(
-          java.lang.String key,
-          java.lang.String value) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public Builder putLabels(java.lang.String key, java.lang.String value) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         if (value == null) {
-  throw new NullPointerException("map value");
-}
+          throw new NullPointerException("map value");
+        }
 
-        internalGetMutableLabels().getMutableMap()
-            .put(key, value);
+        internalGetMutableLabels().getMutableMap().put(key, value);
         return this;
       }
       /**
+       *
+       *
        * 
        * Labels are identified by key/value pairs in this map.
        * A VM should contain all the key/value pairs specified in this
@@ -1188,13 +1278,11 @@ public Builder putLabels(
        *
        * map<string, string> labels = 1;
        */
-
-      public Builder putAllLabels(
-          java.util.Map values) {
-        internalGetMutableLabels().getMutableMap()
-            .putAll(values);
+      public Builder putAllLabels(java.util.Map values) {
+        internalGetMutableLabels().getMutableMap().putAll(values);
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1207,30 +1295,32 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet)
-    private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet DEFAULT_INSTANCE;
+    private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet();
     }
 
-    public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getDefaultInstance() {
+    public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public LabelSet parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new LabelSet(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public LabelSet parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new LabelSet(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1242,28 +1332,34 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getDefaultInstanceForType() {
+    public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface InstanceFilterOrBuilder extends
+  public interface InstanceFilterOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Target all VMs in the project. If true, no other criteria is
      * permitted.
      * 
* * bool all = 1; + * * @return The all. */ boolean getAll(); /** + * + * *
      * Deprecated. Use the `inventories` field instead.
      * A VM is selected if it's OS short name matches with any of the
@@ -1271,13 +1367,16 @@ public interface InstanceFilterOrBuilder extends
      * 
* * repeated string os_short_names = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is + * deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @return A list containing the osShortNames. */ - @java.lang.Deprecated java.util.List - getOsShortNamesList(); + @java.lang.Deprecated + java.util.List getOsShortNamesList(); /** + * + * *
      * Deprecated. Use the `inventories` field instead.
      * A VM is selected if it's OS short name matches with any of the
@@ -1285,12 +1384,16 @@ public interface InstanceFilterOrBuilder extends
      * 
* * repeated string os_short_names = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is + * deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @return The count of osShortNames. */ - @java.lang.Deprecated int getOsShortNamesCount(); + @java.lang.Deprecated + int getOsShortNamesCount(); /** + * + * *
      * Deprecated. Use the `inventories` field instead.
      * A VM is selected if it's OS short name matches with any of the
@@ -1298,13 +1401,17 @@ public interface InstanceFilterOrBuilder extends
      * 
* * repeated string os_short_names = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is + * deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param index The index of the element to return. * @return The osShortNames at the given index. */ - @java.lang.Deprecated java.lang.String getOsShortNames(int index); + @java.lang.Deprecated + java.lang.String getOsShortNames(int index); /** + * + * *
      * Deprecated. Use the `inventories` field instead.
      * A VM is selected if it's OS short name matches with any of the
@@ -1312,177 +1419,244 @@ public interface InstanceFilterOrBuilder extends
      * 
* * repeated string os_short_names = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is + * deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param index The index of the value to return. * @return The bytes of the osShortNames at the given index. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getOsShortNamesBytes(int index); + @java.lang.Deprecated + com.google.protobuf.ByteString getOsShortNamesBytes(int index); /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ - java.util.List + java.util.List getInclusionLabelsList(); /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getInclusionLabels(int index); /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ int getInclusionLabelsCount(); /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ - java.util.List + java.util.List getInclusionLabelsOrBuilderList(); /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder getInclusionLabelsOrBuilder( - int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder + getInclusionLabelsOrBuilder(int index); /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ - java.util.List + java.util.List getExclusionLabelsList(); /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getExclusionLabels(int index); /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ int getExclusionLabelsCount(); /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ - java.util.List + java.util.List getExclusionLabelsOrBuilderList(); /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder getExclusionLabelsOrBuilder( - int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder + getExclusionLabelsOrBuilder(int index); /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ - java.util.List + java.util.List getInventoriesList(); /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory getInventories(int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory getInventories( + int index); /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ int getInventoriesCount(); /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter + .InventoryOrBuilder> getInventoriesOrBuilderList(); /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder getInventoriesOrBuilder( - int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder + getInventoriesOrBuilder(int index); } /** + * + * *
    * Filters to select target VMs for an assignment.
    * If more than one filter criteria is specified below, a VM will be selected
@@ -1491,15 +1665,16 @@ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrB
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter}
    */
-  public static final class InstanceFilter extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class InstanceFilter extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter)
       InstanceFilterOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use InstanceFilter.newBuilder() to construct.
     private InstanceFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private InstanceFilter() {
       osShortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       inclusionLabels_ = java.util.Collections.emptyList();
@@ -1509,16 +1684,15 @@ private InstanceFilter() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new InstanceFilter();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private InstanceFilter(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1538,54 +1712,72 @@ private InstanceFilter(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              all_ = input.readBool();
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                osShortNames_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 8:
+              {
+                all_ = input.readBool();
+                break;
               }
-              osShortNames_.add(s);
-              break;
-            }
-            case 26: {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                inclusionLabels_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  osShortNames_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                osShortNames_.add(s);
+                break;
               }
-              inclusionLabels_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.parser(), extensionRegistry));
-              break;
-            }
-            case 34: {
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                exclusionLabels_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000004;
+            case 26:
+              {
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  inclusionLabels_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet>();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                inclusionLabels_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.parser(),
+                        extensionRegistry));
+                break;
               }
-              exclusionLabels_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.parser(), extensionRegistry));
-              break;
-            }
-            case 42: {
-              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-                inventories_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000008;
+            case 34:
+              {
+                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                  exclusionLabels_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet>();
+                  mutable_bitField0_ |= 0x00000004;
+                }
+                exclusionLabels_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.parser(),
+                        extensionRegistry));
+                break;
               }
-              inventories_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.parser(), extensionRegistry));
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 42:
+              {
+                if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+                  inventories_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter
+                              .Inventory>();
+                  mutable_bitField0_ |= 0x00000008;
+                }
+                inventories_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter
+                            .Inventory.parser(),
+                        extensionRegistry));
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1593,8 +1785,7 @@ private InstanceFilter(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           osShortNames_ = osShortNames_.getUnmodifiableView();
@@ -1612,44 +1803,55 @@ private InstanceFilter(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder.class);
+              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.class,
+              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder.class);
     }
 
-    public interface InventoryOrBuilder extends
+    public interface InventoryOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The osShortName. */ java.lang.String getOsShortName(); /** + * + * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for osShortName. */ - com.google.protobuf.ByteString - getOsShortNameBytes(); + com.google.protobuf.ByteString getOsShortNameBytes(); /** + * + * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1659,10 +1861,13 @@ public interface InventoryOrBuilder extends
        * 
* * string os_version = 2; + * * @return The osVersion. */ java.lang.String getOsVersion(); /** + * + * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1672,27 +1877,31 @@ public interface InventoryOrBuilder extends
        * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ - com.google.protobuf.ByteString - getOsVersionBytes(); + com.google.protobuf.ByteString getOsVersionBytes(); } /** + * + * *
      * VM inventory details.
      * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory} */ - public static final class Inventory extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Inventory extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) InventoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Inventory.newBuilder() to construct. private Inventory(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Inventory() { osShortName_ = ""; osVersion_ = ""; @@ -1700,16 +1909,15 @@ private Inventory() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Inventory(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Inventory( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1728,25 +1936,27 @@ private Inventory( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - osShortName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + osShortName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - osVersion_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + osVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1754,34 +1964,41 @@ private Inventory( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.class, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + .Builder.class); } public static final int OS_SHORT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object osShortName_; /** + * + * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The osShortName. */ @java.lang.Override @@ -1790,29 +2007,29 @@ public java.lang.String getOsShortName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; } } /** + * + * *
        * Required. The OS short name
        * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for osShortName. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsShortNameBytes() { + public com.google.protobuf.ByteString getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osShortName_ = b; return b; } else { @@ -1823,6 +2040,8 @@ public java.lang.String getOsShortName() { public static final int OS_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object osVersion_; /** + * + * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1832,6 +2051,7 @@ public java.lang.String getOsShortName() {
        * 
* * string os_version = 2; + * * @return The osVersion. */ @java.lang.Override @@ -1840,14 +2060,15 @@ public java.lang.String getOsVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; } } /** + * + * *
        * The OS version
        * Prefix matches are supported if asterisk(*) is provided as the
@@ -1857,16 +2078,15 @@ public java.lang.String getOsVersion() {
        * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsVersionBytes() { + public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osVersion_ = b; return b; } else { @@ -1875,6 +2095,7 @@ public java.lang.String getOsVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1886,8 +2107,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osShortName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osShortName_); } @@ -1917,17 +2137,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory other = + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) obj; - if (!getOsShortName() - .equals(other.getOsShortName())) return false; - if (!getOsVersion() - .equals(other.getOsVersion())) return false; + if (!getOsShortName().equals(other.getOsShortName())) return false; + if (!getOsVersion().equals(other.getOsVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1948,88 +2169,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2039,44 +2275,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * VM inventory details.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + .class, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2088,19 +2332,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory build() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + build() { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2108,8 +2356,11 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inven } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory(this); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory result = + new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory( + this); result.osShortName_ = osShortName_; result.osVersion_ = osVersion_; onBuilt(); @@ -2120,46 +2371,56 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inven public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + .getDefaultInstance()) return this; if (!other.getOsShortName().isEmpty()) { osShortName_ = other.osShortName_; onChanged(); @@ -2183,11 +2444,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2199,18 +2463,20 @@ public Builder mergeFrom( private java.lang.Object osShortName_ = ""; /** + * + * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The osShortName. */ public java.lang.String getOsShortName() { java.lang.Object ref = osShortName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; @@ -2219,20 +2485,21 @@ public java.lang.String getOsShortName() { } } /** + * + * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for osShortName. */ - public com.google.protobuf.ByteString - getOsShortNameBytes() { + public com.google.protobuf.ByteString getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osShortName_ = b; return b; } else { @@ -2240,54 +2507,61 @@ public java.lang.String getOsShortName() { } } /** + * + * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortName( - java.lang.String value) { + public Builder setOsShortName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osShortName_ = value; onChanged(); return this; } /** + * + * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearOsShortName() { - + osShortName_ = getDefaultInstance().getOsShortName(); onChanged(); return this; } /** + * + * *
          * Required. The OS short name
          * 
* * string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortNameBytes( - com.google.protobuf.ByteString value) { + public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osShortName_ = value; onChanged(); return this; @@ -2295,6 +2569,8 @@ public Builder setOsShortNameBytes( private java.lang.Object osVersion_ = ""; /** + * + * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2304,13 +2580,13 @@ public Builder setOsShortNameBytes(
          * 
* * string os_version = 2; + * * @return The osVersion. */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; @@ -2319,6 +2595,8 @@ public java.lang.String getOsVersion() { } } /** + * + * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2328,15 +2606,14 @@ public java.lang.String getOsVersion() {
          * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ - public com.google.protobuf.ByteString - getOsVersionBytes() { + public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osVersion_ = b; return b; } else { @@ -2344,6 +2621,8 @@ public java.lang.String getOsVersion() { } } /** + * + * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2353,20 +2632,22 @@ public java.lang.String getOsVersion() {
          * 
* * string os_version = 2; + * * @param value The osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersion( - java.lang.String value) { + public Builder setOsVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osVersion_ = value; onChanged(); return this; } /** + * + * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2376,15 +2657,18 @@ public Builder setOsVersion(
          * 
* * string os_version = 2; + * * @return This builder for chaining. */ public Builder clearOsVersion() { - + osVersion_ = getDefaultInstance().getOsVersion(); onChanged(); return this; } /** + * + * *
          * The OS version
          * Prefix matches are supported if asterisk(*) is provided as the
@@ -2394,20 +2678,21 @@ public Builder clearOsVersion() {
          * 
* * string os_version = 2; + * * @param value The bytes for osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setOsVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osVersion_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2420,30 +2705,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter + .Inventory + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Inventory parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Inventory(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Inventory parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Inventory(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2455,21 +2744,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int ALL_FIELD_NUMBER = 1; private boolean all_; /** + * + * *
      * Target all VMs in the project. If true, no other criteria is
      * permitted.
      * 
* * bool all = 1; + * * @return The all. */ @java.lang.Override @@ -2480,6 +2772,8 @@ public boolean getAll() { public static final int OS_SHORT_NAMES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList osShortNames_; /** + * + * *
      * Deprecated. Use the `inventories` field instead.
      * A VM is selected if it's OS short name matches with any of the
@@ -2487,15 +2781,18 @@ public boolean getAll() {
      * 
* * repeated string os_short_names = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is + * deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @return A list containing the osShortNames. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getOsShortNamesList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getOsShortNamesList() { return osShortNames_; } /** + * + * *
      * Deprecated. Use the `inventories` field instead.
      * A VM is selected if it's OS short name matches with any of the
@@ -2503,14 +2800,18 @@ public boolean getAll() {
      * 
* * repeated string os_short_names = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is + * deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @return The count of osShortNames. */ - @java.lang.Deprecated public int getOsShortNamesCount() { + @java.lang.Deprecated + public int getOsShortNamesCount() { return osShortNames_.size(); } /** + * + * *
      * Deprecated. Use the `inventories` field instead.
      * A VM is selected if it's OS short name matches with any of the
@@ -2518,15 +2819,19 @@ public boolean getAll() {
      * 
* * repeated string os_short_names = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is + * deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param index The index of the element to return. * @return The osShortNames at the given index. */ - @java.lang.Deprecated public java.lang.String getOsShortNames(int index) { + @java.lang.Deprecated + public java.lang.String getOsShortNames(int index) { return osShortNames_.get(index); } /** + * + * *
      * Deprecated. Use the `inventories` field instead.
      * A VM is selected if it's OS short name matches with any of the
@@ -2534,227 +2839,305 @@ public boolean getAll() {
      * 
* * repeated string os_short_names = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is + * deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param index The index of the value to return. * @return The bytes of the osShortNames at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getOsShortNamesBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getOsShortNamesBytes(int index) { return osShortNames_.getByteString(index); } public static final int INCLUSION_LABELS_FIELD_NUMBER = 3; - private java.util.List inclusionLabels_; + private java.util.List + inclusionLabels_; /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ @java.lang.Override - public java.util.List getInclusionLabelsList() { + public java.util.List + getInclusionLabelsList() { return inclusionLabels_; } /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> getInclusionLabelsOrBuilderList() { return inclusionLabels_; } /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ @java.lang.Override public int getInclusionLabelsCount() { return inclusionLabels_.size(); } /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getInclusionLabels(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getInclusionLabels( + int index) { return inclusionLabels_.get(index); } /** + * + * *
      * List of label sets used for VM inclusion.
      * If the list has more than one `LabelSet`, the VM is included if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder getInclusionLabelsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder + getInclusionLabelsOrBuilder(int index) { return inclusionLabels_.get(index); } public static final int EXCLUSION_LABELS_FIELD_NUMBER = 4; - private java.util.List exclusionLabels_; + private java.util.List + exclusionLabels_; /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ @java.lang.Override - public java.util.List getExclusionLabelsList() { + public java.util.List + getExclusionLabelsList() { return exclusionLabels_; } /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> getExclusionLabelsOrBuilderList() { return exclusionLabels_; } /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ @java.lang.Override public int getExclusionLabelsCount() { return exclusionLabels_.size(); } /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getExclusionLabels(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getExclusionLabels( + int index) { return exclusionLabels_.get(index); } /** + * + * *
      * List of label sets used for VM exclusion.
      * If the list has more than one label set, the VM is excluded if any
      * of the label sets are applicable for the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder getExclusionLabelsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder + getExclusionLabelsOrBuilder(int index) { return exclusionLabels_.get(index); } public static final int INVENTORIES_FIELD_NUMBER = 5; - private java.util.List inventories_; + private java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory> + inventories_; /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ @java.lang.Override - public java.util.List getInventoriesList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory> + getInventoriesList() { return inventories_; } /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter + .InventoryOrBuilder> getInventoriesOrBuilderList() { return inventories_; } /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ @java.lang.Override public int getInventoriesCount() { return inventories_.size(); } /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory getInventories(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + getInventories(int index) { return inventories_.get(index); } /** + * + * *
      * List of inventories to select VMs.
      * A VM is selected if its inventory data matches at least one of the
      * following inventories.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder getInventoriesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder + getInventoriesOrBuilder(int index) { return inventories_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2766,8 +3149,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (all_ != false) { output.writeBool(1, all_); } @@ -2793,8 +3175,7 @@ public int getSerializedSize() { size = 0; if (all_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, all_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, all_); } { int dataSize = 0; @@ -2805,16 +3186,15 @@ public int getSerializedSize() { size += 1 * getOsShortNamesList().size(); } for (int i = 0; i < inclusionLabels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, inclusionLabels_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, inclusionLabels_.get(i)); } for (int i = 0; i < exclusionLabels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, exclusionLabels_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, exclusionLabels_.get(i)); } for (int i = 0; i < inventories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, inventories_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, inventories_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2824,23 +3204,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter) obj; - - if (getAll() - != other.getAll()) return false; - if (!getOsShortNamesList() - .equals(other.getOsShortNamesList())) return false; - if (!getInclusionLabelsList() - .equals(other.getInclusionLabelsList())) return false; - if (!getExclusionLabelsList() - .equals(other.getExclusionLabelsList())) return false; - if (!getInventoriesList() - .equals(other.getInventoriesList())) return false; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter other = + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter) obj; + + if (getAll() != other.getAll()) return false; + if (!getOsShortNamesList().equals(other.getOsShortNamesList())) return false; + if (!getInclusionLabelsList().equals(other.getInclusionLabelsList())) return false; + if (!getExclusionLabelsList().equals(other.getExclusionLabelsList())) return false; + if (!getInventoriesList().equals(other.getInventoriesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2853,8 +3229,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAll()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAll()); if (getOsShortNamesCount() > 0) { hash = (37 * hash) + OS_SHORT_NAMES_FIELD_NUMBER; hash = (53 * hash) + getOsShortNamesList().hashCode(); @@ -2877,87 +3252,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter + 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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2967,6 +3350,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Filters to select target VMs for an assignment.
      * If more than one filter criteria is specified below, a VM will be selected
@@ -2975,41 +3360,45 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter)
         com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+            .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+            .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder.class);
+                com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.class,
+                com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder.class);
       }
 
-      // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.newBuilder()
+      // Construct using
+      // com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getInclusionLabelsFieldBuilder();
           getExclusionLabelsFieldBuilder();
           getInventoriesFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3039,14 +3428,16 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+            .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter getDefaultInstanceForType() {
-        return com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.getDefaultInstance();
+      public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter
+          getDefaultInstanceForType() {
+        return com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -3060,7 +3451,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter build
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter buildPartial() {
-        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter(this);
+        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter result =
+            new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter(this);
         int from_bitField0_ = bitField0_;
         result.all_ = all_;
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -3103,46 +3495,53 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter build
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter) {
-          return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter)other);
+          return mergeFrom(
+              (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter other) {
-        if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter other) {
+        if (other
+            == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter
+                .getDefaultInstance()) return this;
         if (other.getAll() != false) {
           setAll(other.getAll());
         }
@@ -3174,9 +3573,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.In
               inclusionLabelsBuilder_ = null;
               inclusionLabels_ = other.inclusionLabels_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              inclusionLabelsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getInclusionLabelsFieldBuilder() : null;
+              inclusionLabelsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getInclusionLabelsFieldBuilder()
+                      : null;
             } else {
               inclusionLabelsBuilder_.addAllMessages(other.inclusionLabels_);
             }
@@ -3200,9 +3600,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.In
               exclusionLabelsBuilder_ = null;
               exclusionLabels_ = other.exclusionLabels_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              exclusionLabelsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getExclusionLabelsFieldBuilder() : null;
+              exclusionLabelsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getExclusionLabelsFieldBuilder()
+                      : null;
             } else {
               exclusionLabelsBuilder_.addAllMessages(other.exclusionLabels_);
             }
@@ -3226,9 +3627,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.In
               inventoriesBuilder_ = null;
               inventories_ = other.inventories_;
               bitField0_ = (bitField0_ & ~0x00000008);
-              inventoriesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getInventoriesFieldBuilder() : null;
+              inventoriesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getInventoriesFieldBuilder()
+                      : null;
             } else {
               inventoriesBuilder_.addAllMessages(other.inventories_);
             }
@@ -3253,7 +3655,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -3262,16 +3666,20 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private boolean all_ ;
+      private boolean all_;
       /**
+       *
+       *
        * 
        * Target all VMs in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; + * * @return The all. */ @java.lang.Override @@ -3279,45 +3687,55 @@ public boolean getAll() { return all_; } /** + * + * *
        * Target all VMs in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; + * * @param value The all to set. * @return This builder for chaining. */ public Builder setAll(boolean value) { - + all_ = value; onChanged(); return this; } /** + * + * *
        * Target all VMs in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; + * * @return This builder for chaining. */ public Builder clearAll() { - + all_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList osShortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList osShortNames_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureOsShortNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { osShortNames_ = new com.google.protobuf.LazyStringArrayList(osShortNames_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * Deprecated. Use the `inventories` field instead.
        * A VM is selected if it's OS short name matches with any of the
@@ -3325,15 +3743,18 @@ private void ensureOsShortNamesIsMutable() {
        * 
* * repeated string os_short_names = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names + * is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @return A list containing the osShortNames. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getOsShortNamesList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getOsShortNamesList() { return osShortNames_.getUnmodifiableView(); } /** + * + * *
        * Deprecated. Use the `inventories` field instead.
        * A VM is selected if it's OS short name matches with any of the
@@ -3341,14 +3762,18 @@ private void ensureOsShortNamesIsMutable() {
        * 
* * repeated string os_short_names = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names + * is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @return The count of osShortNames. */ - @java.lang.Deprecated public int getOsShortNamesCount() { + @java.lang.Deprecated + public int getOsShortNamesCount() { return osShortNames_.size(); } /** + * + * *
        * Deprecated. Use the `inventories` field instead.
        * A VM is selected if it's OS short name matches with any of the
@@ -3356,15 +3781,19 @@ private void ensureOsShortNamesIsMutable() {
        * 
* * repeated string os_short_names = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names + * is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param index The index of the element to return. * @return The osShortNames at the given index. */ - @java.lang.Deprecated public java.lang.String getOsShortNames(int index) { + @java.lang.Deprecated + public java.lang.String getOsShortNames(int index) { return osShortNames_.get(index); } /** + * + * *
        * Deprecated. Use the `inventories` field instead.
        * A VM is selected if it's OS short name matches with any of the
@@ -3372,16 +3801,19 @@ private void ensureOsShortNamesIsMutable() {
        * 
* * repeated string os_short_names = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names + * is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param index The index of the value to return. * @return The bytes of the osShortNames at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getOsShortNamesBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getOsShortNamesBytes(int index) { return osShortNames_.getByteString(index); } /** + * + * *
        * Deprecated. Use the `inventories` field instead.
        * A VM is selected if it's OS short name matches with any of the
@@ -3389,23 +3821,26 @@ private void ensureOsShortNamesIsMutable() {
        * 
* * repeated string os_short_names = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names + * is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param index The index to set the value at. * @param value The osShortNames to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setOsShortNames( - int index, java.lang.String value) { + @java.lang.Deprecated + public Builder setOsShortNames(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOsShortNamesIsMutable(); + throw new NullPointerException(); + } + ensureOsShortNamesIsMutable(); osShortNames_.set(index, value); onChanged(); return this; } /** + * + * *
        * Deprecated. Use the `inventories` field instead.
        * A VM is selected if it's OS short name matches with any of the
@@ -3413,22 +3848,25 @@ private void ensureOsShortNamesIsMutable() {
        * 
* * repeated string os_short_names = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names + * is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param value The osShortNames to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addOsShortNames( - java.lang.String value) { + @java.lang.Deprecated + public Builder addOsShortNames(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOsShortNamesIsMutable(); + throw new NullPointerException(); + } + ensureOsShortNamesIsMutable(); osShortNames_.add(value); onChanged(); return this; } /** + * + * *
        * Deprecated. Use the `inventories` field instead.
        * A VM is selected if it's OS short name matches with any of the
@@ -3436,20 +3874,22 @@ private void ensureOsShortNamesIsMutable() {
        * 
* * repeated string os_short_names = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names + * is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param values The osShortNames to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAllOsShortNames( - java.lang.Iterable values) { + @java.lang.Deprecated + public Builder addAllOsShortNames(java.lang.Iterable values) { ensureOsShortNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, osShortNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osShortNames_); onChanged(); return this; } /** + * + * *
        * Deprecated. Use the `inventories` field instead.
        * A VM is selected if it's OS short name matches with any of the
@@ -3457,17 +3897,21 @@ private void ensureOsShortNamesIsMutable() {
        * 
* * repeated string os_short_names = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names + * is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearOsShortNames() { + @java.lang.Deprecated + public Builder clearOsShortNames() { osShortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** + * + * *
        * Deprecated. Use the `inventories` field instead.
        * A VM is selected if it's OS short name matches with any of the
@@ -3475,45 +3919,57 @@ private void ensureOsShortNamesIsMutable() {
        * 
* * repeated string os_short_names = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. - * See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 + * + * @deprecated google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names + * is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=95 * @param value The bytes of the osShortNames to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addOsShortNamesBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder addOsShortNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureOsShortNamesIsMutable(); osShortNames_.add(value); onChanged(); return this; } - private java.util.List inclusionLabels_ = - java.util.Collections.emptyList(); + private java.util.List + inclusionLabels_ = java.util.Collections.emptyList(); + private void ensureInclusionLabelsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - inclusionLabels_ = new java.util.ArrayList(inclusionLabels_); + inclusionLabels_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet>(inclusionLabels_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> inclusionLabelsBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> + inclusionLabelsBuilder_; /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ - public java.util.List getInclusionLabelsList() { + public java.util.List + getInclusionLabelsList() { if (inclusionLabelsBuilder_ == null) { return java.util.Collections.unmodifiableList(inclusionLabels_); } else { @@ -3521,13 +3977,17 @@ public java.util.List * List of label sets used for VM inclusion. * If the list has more than one `LabelSet`, the VM is included if any * of the label sets are applicable for the VM. *
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ public int getInclusionLabelsCount() { if (inclusionLabelsBuilder_ == null) { @@ -3537,15 +3997,20 @@ public int getInclusionLabelsCount() { } } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getInclusionLabels(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getInclusionLabels( + int index) { if (inclusionLabelsBuilder_ == null) { return inclusionLabels_.get(index); } else { @@ -3553,13 +4018,17 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getInclusio } } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ public Builder setInclusionLabels( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet value) { @@ -3576,16 +4045,21 @@ public Builder setInclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ public Builder setInclusionLabels( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { if (inclusionLabelsBuilder_ == null) { ensureInclusionLabelsIsMutable(); inclusionLabels_.set(index, builderForValue.build()); @@ -3596,15 +4070,20 @@ public Builder setInclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ - public Builder addInclusionLabels(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet value) { + public Builder addInclusionLabels( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet value) { if (inclusionLabelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3618,13 +4097,17 @@ public Builder addInclusionLabels(com.google.cloud.osconfig.v1alpha.OSPolicyAssi return this; } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ public Builder addInclusionLabels( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet value) { @@ -3641,13 +4124,17 @@ public Builder addInclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ public Builder addInclusionLabels( com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { @@ -3661,16 +4148,21 @@ public Builder addInclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ public Builder addInclusionLabels( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { if (inclusionLabelsBuilder_ == null) { ensureInclusionLabelsIsMutable(); inclusionLabels_.add(index, builderForValue.build()); @@ -3681,20 +4173,25 @@ public Builder addInclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ public Builder addAllInclusionLabels( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet> + values) { if (inclusionLabelsBuilder_ == null) { ensureInclusionLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, inclusionLabels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inclusionLabels_); onChanged(); } else { inclusionLabelsBuilder_.addAllMessages(values); @@ -3702,13 +4199,17 @@ public Builder addAllInclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ public Builder clearInclusionLabels() { if (inclusionLabelsBuilder_ == null) { @@ -3721,13 +4222,17 @@ public Builder clearInclusionLabels() { return this; } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ public Builder removeInclusionLabels(int index) { if (inclusionLabelsBuilder_ == null) { @@ -3740,45 +4245,59 @@ public Builder removeInclusionLabels(int index) { return this; } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder getInclusionLabelsBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder + getInclusionLabelsBuilder(int index) { return getInclusionLabelsFieldBuilder().getBuilder(index); } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder getInclusionLabelsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder + getInclusionLabelsOrBuilder(int index) { if (inclusionLabelsBuilder_ == null) { - return inclusionLabels_.get(index); } else { + return inclusionLabels_.get(index); + } else { return inclusionLabelsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ - public java.util.List - getInclusionLabelsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> + getInclusionLabelsOrBuilderList() { if (inclusionLabelsBuilder_ != null) { return inclusionLabelsBuilder_.getMessageOrBuilderList(); } else { @@ -3786,51 +4305,73 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder ge } } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder addInclusionLabelsBuilder() { - return getInclusionLabelsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder + addInclusionLabelsBuilder() { + return getInclusionLabelsFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance()); } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder addInclusionLabelsBuilder( - int index) { - return getInclusionLabelsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder + addInclusionLabelsBuilder(int index) { + return getInclusionLabelsFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance()); } /** + * + * *
        * List of label sets used for VM inclusion.
        * If the list has more than one `LabelSet`, the VM is included if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; + * */ - public java.util.List - getInclusionLabelsBuilderList() { + public java.util.List + getInclusionLabelsBuilderList() { return getInclusionLabelsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> getInclusionLabelsFieldBuilder() { if (inclusionLabelsBuilder_ == null) { - inclusionLabelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder>( + inclusionLabelsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder>( inclusionLabels_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -3840,28 +4381,39 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder add return inclusionLabelsBuilder_; } - private java.util.List exclusionLabels_ = - java.util.Collections.emptyList(); + private java.util.List + exclusionLabels_ = java.util.Collections.emptyList(); + private void ensureExclusionLabelsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - exclusionLabels_ = new java.util.ArrayList(exclusionLabels_); + exclusionLabels_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet>(exclusionLabels_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> exclusionLabelsBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> + exclusionLabelsBuilder_; /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ - public java.util.List getExclusionLabelsList() { + public java.util.List + getExclusionLabelsList() { if (exclusionLabelsBuilder_ == null) { return java.util.Collections.unmodifiableList(exclusionLabels_); } else { @@ -3869,13 +4421,17 @@ public java.util.List * List of label sets used for VM exclusion. * If the list has more than one label set, the VM is excluded if any * of the label sets are applicable for the VM. *
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ public int getExclusionLabelsCount() { if (exclusionLabelsBuilder_ == null) { @@ -3885,15 +4441,20 @@ public int getExclusionLabelsCount() { } } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getExclusionLabels(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getExclusionLabels( + int index) { if (exclusionLabelsBuilder_ == null) { return exclusionLabels_.get(index); } else { @@ -3901,13 +4462,17 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet getExclusio } } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ public Builder setExclusionLabels( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet value) { @@ -3924,16 +4489,21 @@ public Builder setExclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ public Builder setExclusionLabels( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { if (exclusionLabelsBuilder_ == null) { ensureExclusionLabelsIsMutable(); exclusionLabels_.set(index, builderForValue.build()); @@ -3944,15 +4514,20 @@ public Builder setExclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ - public Builder addExclusionLabels(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet value) { + public Builder addExclusionLabels( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet value) { if (exclusionLabelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3966,13 +4541,17 @@ public Builder addExclusionLabels(com.google.cloud.osconfig.v1alpha.OSPolicyAssi return this; } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ public Builder addExclusionLabels( int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet value) { @@ -3989,13 +4568,17 @@ public Builder addExclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ public Builder addExclusionLabels( com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { @@ -4009,16 +4592,21 @@ public Builder addExclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ public Builder addExclusionLabels( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder builderForValue) { if (exclusionLabelsBuilder_ == null) { ensureExclusionLabelsIsMutable(); exclusionLabels_.add(index, builderForValue.build()); @@ -4029,20 +4617,25 @@ public Builder addExclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ public Builder addAllExclusionLabels( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet> + values) { if (exclusionLabelsBuilder_ == null) { ensureExclusionLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, exclusionLabels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusionLabels_); onChanged(); } else { exclusionLabelsBuilder_.addAllMessages(values); @@ -4050,13 +4643,17 @@ public Builder addAllExclusionLabels( return this; } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ public Builder clearExclusionLabels() { if (exclusionLabelsBuilder_ == null) { @@ -4069,13 +4666,17 @@ public Builder clearExclusionLabels() { return this; } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ public Builder removeExclusionLabels(int index) { if (exclusionLabelsBuilder_ == null) { @@ -4088,45 +4689,59 @@ public Builder removeExclusionLabels(int index) { return this; } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder getExclusionLabelsBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder + getExclusionLabelsBuilder(int index) { return getExclusionLabelsFieldBuilder().getBuilder(index); } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder getExclusionLabelsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder + getExclusionLabelsOrBuilder(int index) { if (exclusionLabelsBuilder_ == null) { - return exclusionLabels_.get(index); } else { + return exclusionLabels_.get(index); + } else { return exclusionLabelsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ - public java.util.List - getExclusionLabelsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> + getExclusionLabelsOrBuilderList() { if (exclusionLabelsBuilder_ != null) { return exclusionLabelsBuilder_.getMessageOrBuilderList(); } else { @@ -4134,51 +4749,73 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder ge } } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder addExclusionLabelsBuilder() { - return getExclusionLabelsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder + addExclusionLabelsBuilder() { + return getExclusionLabelsFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance()); } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder addExclusionLabelsBuilder( - int index) { - return getExclusionLabelsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder + addExclusionLabelsBuilder(int index) { + return getExclusionLabelsFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.getDefaultInstance()); } /** + * + * *
        * List of label sets used for VM exclusion.
        * If the list has more than one label set, the VM is excluded if any
        * of the label sets are applicable for the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; + * */ - public java.util.List - getExclusionLabelsBuilderList() { + public java.util.List + getExclusionLabelsBuilderList() { return getExclusionLabelsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder> getExclusionLabelsFieldBuilder() { if (exclusionLabelsBuilder_ == null) { - exclusionLabelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder>( + exclusionLabelsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSetOrBuilder>( exclusionLabels_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -4188,28 +4825,43 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.Builder add return exclusionLabelsBuilder_; } - private java.util.List inventories_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory> + inventories_ = java.util.Collections.emptyList(); + private void ensureInventoriesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - inventories_ = new java.util.ArrayList(inventories_); + inventories_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory>( + inventories_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> inventoriesBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter + .InventoryOrBuilder> + inventoriesBuilder_; /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ - public java.util.List getInventoriesList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory> + getInventoriesList() { if (inventoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(inventories_); } else { @@ -4217,13 +4869,17 @@ public java.util.List * List of inventories to select VMs. * A VM is selected if its inventory data matches at least one of the * following inventories. *
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ public int getInventoriesCount() { if (inventoriesBuilder_ == null) { @@ -4233,15 +4889,20 @@ public int getInventoriesCount() { } } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory getInventories(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + getInventories(int index) { if (inventoriesBuilder_ == null) { return inventories_.get(index); } else { @@ -4249,16 +4910,21 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inven } } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ public Builder setInventories( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory value) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4272,16 +4938,22 @@ public Builder setInventories( return this; } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ public Builder setInventories( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder + builderForValue) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); inventories_.set(index, builderForValue.build()); @@ -4292,15 +4964,20 @@ public Builder setInventories( return this; } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ - public Builder addInventories(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory value) { + public Builder addInventories( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4314,16 +4991,21 @@ public Builder addInventories(com.google.cloud.osconfig.v1alpha.OSPolicyAssignme return this; } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ public Builder addInventories( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory value) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory value) { if (inventoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4337,16 +5019,21 @@ public Builder addInventories( return this; } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ public Builder addInventories( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder + builderForValue) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); inventories_.add(builderForValue.build()); @@ -4357,16 +5044,22 @@ public Builder addInventories( return this; } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ public Builder addInventories( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder + builderForValue) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); inventories_.add(index, builderForValue.build()); @@ -4377,20 +5070,26 @@ public Builder addInventories( return this; } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ public Builder addAllInventories( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory> + values) { if (inventoriesBuilder_ == null) { ensureInventoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, inventories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inventories_); onChanged(); } else { inventoriesBuilder_.addAllMessages(values); @@ -4398,13 +5097,17 @@ public Builder addAllInventories( return this; } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ public Builder clearInventories() { if (inventoriesBuilder_ == null) { @@ -4417,13 +5120,17 @@ public Builder clearInventories() { return this; } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ public Builder removeInventories(int index) { if (inventoriesBuilder_ == null) { @@ -4436,45 +5143,61 @@ public Builder removeInventories(int index) { return this; } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder getInventoriesBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder + getInventoriesBuilder(int index) { return getInventoriesFieldBuilder().getBuilder(index); } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder getInventoriesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder + getInventoriesOrBuilder(int index) { if (inventoriesBuilder_ == null) { - return inventories_.get(index); } else { + return inventories_.get(index); + } else { return inventoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ - public java.util.List - getInventoriesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter + .InventoryOrBuilder> + getInventoriesOrBuilderList() { if (inventoriesBuilder_ != null) { return inventoriesBuilder_.getMessageOrBuilderList(); } else { @@ -4482,51 +5205,79 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inven } } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder addInventoriesBuilder() { - return getInventoriesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder + addInventoriesBuilder() { + return getInventoriesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + .getDefaultInstance()); } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder addInventoriesBuilder( - int index) { - return getInventoriesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder + addInventoriesBuilder(int index) { + return getInventoriesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + .getDefaultInstance()); } /** + * + * *
        * List of inventories to select VMs.
        * A VM is selected if its inventory data matches at least one of the
        * following inventories.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; + * */ - public java.util.List - getInventoriesBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder> + getInventoriesBuilderList() { return getInventoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter + .InventoryOrBuilder> getInventoriesFieldBuilder() { if (inventoriesBuilder_ == null) { - inventoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.InventoryOrBuilder>( + inventoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory + .Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter + .InventoryOrBuilder>( inventories_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -4535,6 +5286,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inven } return inventoriesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4547,30 +5299,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstanceFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstanceFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstanceFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4582,47 +5336,64 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface RolloutOrBuilder extends + public interface RolloutOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt at
      * any given moment.
      * 
* - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the disruptionBudget field is set. */ boolean hasDisruptionBudget(); /** + * + * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt at
      * any given moment.
      * 
* - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The disruptionBudget. */ com.google.cloud.osconfig.v1alpha.FixedOrPercent getDisruptionBudget(); /** + * + * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt at
      * any given moment.
      * 
* - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder(); /** + * + * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -4631,11 +5402,16 @@ public interface RolloutOrBuilder extends
      * applied.
      * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the minWaitDuration field is set. */ boolean hasMinWaitDuration(); /** + * + * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -4644,11 +5420,16 @@ public interface RolloutOrBuilder extends
      * applied.
      * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The minWaitDuration. */ com.google.protobuf.Duration getMinWaitDuration(); /** + * + * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -4657,11 +5438,15 @@ public interface RolloutOrBuilder extends
      * applied.
      * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder(); } /** + * + * *
    * Message to configure the rollout at the zonal level for the OS policy
    * assignment.
@@ -4669,30 +5454,29 @@ public interface RolloutOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout}
    */
-  public static final class Rollout extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Rollout extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout)
       RolloutOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Rollout.newBuilder() to construct.
     private Rollout(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private Rollout() {
-    }
+
+    private Rollout() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Rollout();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private Rollout(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4711,39 +5495,45 @@ private Rollout(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder subBuilder = null;
-              if (disruptionBudget_ != null) {
-                subBuilder = disruptionBudget_.toBuilder();
-              }
-              disruptionBudget_ = input.readMessage(com.google.cloud.osconfig.v1alpha.FixedOrPercent.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(disruptionBudget_);
-                disruptionBudget_ = subBuilder.buildPartial();
-              }
+            case 10:
+              {
+                com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder subBuilder = null;
+                if (disruptionBudget_ != null) {
+                  subBuilder = disruptionBudget_.toBuilder();
+                }
+                disruptionBudget_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1alpha.FixedOrPercent.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(disruptionBudget_);
+                  disruptionBudget_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 18: {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (minWaitDuration_ != null) {
-                subBuilder = minWaitDuration_.toBuilder();
-              }
-              minWaitDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(minWaitDuration_);
-                minWaitDuration_ = subBuilder.buildPartial();
+                break;
               }
+            case 18:
+              {
+                com.google.protobuf.Duration.Builder subBuilder = null;
+                if (minWaitDuration_ != null) {
+                  subBuilder = minWaitDuration_.toBuilder();
+                }
+                minWaitDuration_ =
+                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(minWaitDuration_);
+                  minWaitDuration_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4751,35 +5541,42 @@ private Rollout(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder.class);
+              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.class,
+              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder.class);
     }
 
     public static final int DISRUPTION_BUDGET_FIELD_NUMBER = 1;
     private com.google.cloud.osconfig.v1alpha.FixedOrPercent disruptionBudget_;
     /**
+     *
+     *
      * 
      * Required. The maximum number (or percentage) of VMs per zone to disrupt at
      * any given moment.
      * 
* - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the disruptionBudget field is set. */ @java.lang.Override @@ -4787,34 +5584,48 @@ public boolean hasDisruptionBudget() { return disruptionBudget_ != null; } /** + * + * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt at
      * any given moment.
      * 
* - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The disruptionBudget. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.FixedOrPercent getDisruptionBudget() { - return disruptionBudget_ == null ? com.google.cloud.osconfig.v1alpha.FixedOrPercent.getDefaultInstance() : disruptionBudget_; + return disruptionBudget_ == null + ? com.google.cloud.osconfig.v1alpha.FixedOrPercent.getDefaultInstance() + : disruptionBudget_; } /** + * + * *
      * Required. The maximum number (or percentage) of VMs per zone to disrupt at
      * any given moment.
      * 
* - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder() { + public com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder + getDisruptionBudgetOrBuilder() { return getDisruptionBudget(); } public static final int MIN_WAIT_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration minWaitDuration_; /** + * + * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -4823,7 +5634,10 @@ public com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder getDisruptionBu
      * applied.
      * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the minWaitDuration field is set. */ @java.lang.Override @@ -4831,6 +5645,8 @@ public boolean hasMinWaitDuration() { return minWaitDuration_ != null; } /** + * + * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -4839,14 +5655,21 @@ public boolean hasMinWaitDuration() {
      * applied.
      * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The minWaitDuration. */ @java.lang.Override public com.google.protobuf.Duration getMinWaitDuration() { - return minWaitDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minWaitDuration_; + return minWaitDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minWaitDuration_; } /** + * + * *
      * Required. This determines the minimum duration of time to wait after the
      * configuration changes are applied through the current rollout. A
@@ -4855,7 +5678,9 @@ public com.google.protobuf.Duration getMinWaitDuration() {
      * applied.
      * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder() { @@ -4863,6 +5688,7 @@ public com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4874,8 +5700,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (disruptionBudget_ != null) { output.writeMessage(1, getDisruptionBudget()); } @@ -4892,12 +5717,10 @@ public int getSerializedSize() { size = 0; if (disruptionBudget_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDisruptionBudget()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDisruptionBudget()); } if (minWaitDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMinWaitDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMinWaitDuration()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4907,22 +5730,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout other = + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout) obj; if (hasDisruptionBudget() != other.hasDisruptionBudget()) return false; if (hasDisruptionBudget()) { - if (!getDisruptionBudget() - .equals(other.getDisruptionBudget())) return false; + if (!getDisruptionBudget().equals(other.getDisruptionBudget())) return false; } if (hasMinWaitDuration() != other.hasMinWaitDuration()) return false; if (hasMinWaitDuration()) { - if (!getMinWaitDuration() - .equals(other.getMinWaitDuration())) return false; + if (!getMinWaitDuration().equals(other.getMinWaitDuration())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -4949,87 +5771,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout 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.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5039,6 +5868,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Message to configure the rollout at the zonal level for the OS policy
      * assignment.
@@ -5046,21 +5877,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout)
         com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+            .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+            .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder.class);
+                com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.class,
+                com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.newBuilder()
@@ -5068,16 +5902,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5097,13 +5930,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+            .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout
+          getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.getDefaultInstance();
       }
 
@@ -5118,7 +5952,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout buildPartial() {
-        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout(this);
+        com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout result =
+            new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout(this);
         if (disruptionBudgetBuilder_ == null) {
           result.disruptionBudget_ = disruptionBudget_;
         } else {
@@ -5137,38 +5972,41 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout buildPartial
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1alpha.OSPolicyAssignment.Rollout) {
-          return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout)other);
+          return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -5176,7 +6014,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout other) {
-        if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.getDefaultInstance()) return this;
+        if (other
+            == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.getDefaultInstance())
+          return this;
         if (other.hasDisruptionBudget()) {
           mergeDisruptionBudget(other.getDisruptionBudget());
         }
@@ -5202,7 +6042,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -5214,42 +6056,61 @@ public Builder mergeFrom(
 
       private com.google.cloud.osconfig.v1alpha.FixedOrPercent disruptionBudget_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1alpha.FixedOrPercent, com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder, com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder> disruptionBudgetBuilder_;
+              com.google.cloud.osconfig.v1alpha.FixedOrPercent,
+              com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder,
+              com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder>
+          disruptionBudgetBuilder_;
       /**
+       *
+       *
        * 
        * Required. The maximum number (or percentage) of VMs per zone to disrupt at
        * any given moment.
        * 
* - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the disruptionBudget field is set. */ public boolean hasDisruptionBudget() { return disruptionBudgetBuilder_ != null || disruptionBudget_ != null; } /** + * + * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt at
        * any given moment.
        * 
* - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The disruptionBudget. */ public com.google.cloud.osconfig.v1alpha.FixedOrPercent getDisruptionBudget() { if (disruptionBudgetBuilder_ == null) { - return disruptionBudget_ == null ? com.google.cloud.osconfig.v1alpha.FixedOrPercent.getDefaultInstance() : disruptionBudget_; + return disruptionBudget_ == null + ? com.google.cloud.osconfig.v1alpha.FixedOrPercent.getDefaultInstance() + : disruptionBudget_; } else { return disruptionBudgetBuilder_.getMessage(); } } /** + * + * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt at
        * any given moment.
        * 
* - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDisruptionBudget(com.google.cloud.osconfig.v1alpha.FixedOrPercent value) { if (disruptionBudgetBuilder_ == null) { @@ -5265,12 +6126,16 @@ public Builder setDisruptionBudget(com.google.cloud.osconfig.v1alpha.FixedOrPerc return this; } /** + * + * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt at
        * any given moment.
        * 
* - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDisruptionBudget( com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder builderForValue) { @@ -5284,18 +6149,24 @@ public Builder setDisruptionBudget( return this; } /** + * + * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt at
        * any given moment.
        * 
* - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDisruptionBudget(com.google.cloud.osconfig.v1alpha.FixedOrPercent value) { if (disruptionBudgetBuilder_ == null) { if (disruptionBudget_ != null) { disruptionBudget_ = - com.google.cloud.osconfig.v1alpha.FixedOrPercent.newBuilder(disruptionBudget_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1alpha.FixedOrPercent.newBuilder(disruptionBudget_) + .mergeFrom(value) + .buildPartial(); } else { disruptionBudget_ = value; } @@ -5307,12 +6178,16 @@ public Builder mergeDisruptionBudget(com.google.cloud.osconfig.v1alpha.FixedOrPe return this; } /** + * + * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt at
        * any given moment.
        * 
* - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDisruptionBudget() { if (disruptionBudgetBuilder_ == null) { @@ -5326,51 +6201,68 @@ public Builder clearDisruptionBudget() { return this; } /** + * + * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt at
        * any given moment.
        * 
* - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder getDisruptionBudgetBuilder() { - + onChanged(); return getDisruptionBudgetFieldBuilder().getBuilder(); } /** + * + * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt at
        * any given moment.
        * 
* - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder() { + public com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder + getDisruptionBudgetOrBuilder() { if (disruptionBudgetBuilder_ != null) { return disruptionBudgetBuilder_.getMessageOrBuilder(); } else { - return disruptionBudget_ == null ? - com.google.cloud.osconfig.v1alpha.FixedOrPercent.getDefaultInstance() : disruptionBudget_; + return disruptionBudget_ == null + ? com.google.cloud.osconfig.v1alpha.FixedOrPercent.getDefaultInstance() + : disruptionBudget_; } } /** + * + * *
        * Required. The maximum number (or percentage) of VMs per zone to disrupt at
        * any given moment.
        * 
* - * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.FixedOrPercent, com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder, com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder> + com.google.cloud.osconfig.v1alpha.FixedOrPercent, + com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder, + com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder> getDisruptionBudgetFieldBuilder() { if (disruptionBudgetBuilder_ == null) { - disruptionBudgetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.FixedOrPercent, com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder, com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder>( - getDisruptionBudget(), - getParentForChildren(), - isClean()); + disruptionBudgetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.FixedOrPercent, + com.google.cloud.osconfig.v1alpha.FixedOrPercent.Builder, + com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder>( + getDisruptionBudget(), getParentForChildren(), isClean()); disruptionBudget_ = null; } return disruptionBudgetBuilder_; @@ -5378,8 +6270,13 @@ public com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder getDisruptionBu private com.google.protobuf.Duration minWaitDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minWaitDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + minWaitDurationBuilder_; /** + * + * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5388,13 +6285,18 @@ public com.google.cloud.osconfig.v1alpha.FixedOrPercentOrBuilder getDisruptionBu
        * applied.
        * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the minWaitDuration field is set. */ public boolean hasMinWaitDuration() { return minWaitDurationBuilder_ != null || minWaitDuration_ != null; } /** + * + * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5403,17 +6305,24 @@ public boolean hasMinWaitDuration() {
        * applied.
        * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The minWaitDuration. */ public com.google.protobuf.Duration getMinWaitDuration() { if (minWaitDurationBuilder_ == null) { - return minWaitDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minWaitDuration_; + return minWaitDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minWaitDuration_; } else { return minWaitDurationBuilder_.getMessage(); } } /** + * + * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5422,7 +6331,9 @@ public com.google.protobuf.Duration getMinWaitDuration() {
        * applied.
        * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMinWaitDuration(com.google.protobuf.Duration value) { if (minWaitDurationBuilder_ == null) { @@ -5438,6 +6349,8 @@ public Builder setMinWaitDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5446,10 +6359,11 @@ public Builder setMinWaitDuration(com.google.protobuf.Duration value) {
        * applied.
        * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setMinWaitDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setMinWaitDuration(com.google.protobuf.Duration.Builder builderForValue) { if (minWaitDurationBuilder_ == null) { minWaitDuration_ = builderForValue.build(); onChanged(); @@ -5460,6 +6374,8 @@ public Builder setMinWaitDuration( return this; } /** + * + * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5468,13 +6384,17 @@ public Builder setMinWaitDuration(
        * applied.
        * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeMinWaitDuration(com.google.protobuf.Duration value) { if (minWaitDurationBuilder_ == null) { if (minWaitDuration_ != null) { minWaitDuration_ = - com.google.protobuf.Duration.newBuilder(minWaitDuration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(minWaitDuration_) + .mergeFrom(value) + .buildPartial(); } else { minWaitDuration_ = value; } @@ -5486,6 +6406,8 @@ public Builder mergeMinWaitDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5494,7 +6416,9 @@ public Builder mergeMinWaitDuration(com.google.protobuf.Duration value) {
        * applied.
        * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearMinWaitDuration() { if (minWaitDurationBuilder_ == null) { @@ -5508,6 +6432,8 @@ public Builder clearMinWaitDuration() { return this; } /** + * + * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5516,14 +6442,18 @@ public Builder clearMinWaitDuration() {
        * applied.
        * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Duration.Builder getMinWaitDurationBuilder() { - + onChanged(); return getMinWaitDurationFieldBuilder().getBuilder(); } /** + * + * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5532,17 +6462,22 @@ public com.google.protobuf.Duration.Builder getMinWaitDurationBuilder() {
        * applied.
        * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder() { if (minWaitDurationBuilder_ != null) { return minWaitDurationBuilder_.getMessageOrBuilder(); } else { - return minWaitDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : minWaitDuration_; + return minWaitDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minWaitDuration_; } } /** + * + * *
        * Required. This determines the minimum duration of time to wait after the
        * configuration changes are applied through the current rollout. A
@@ -5551,21 +6486,27 @@ public com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder() {
        * applied.
        * 
* - * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getMinWaitDurationFieldBuilder() { if (minWaitDurationBuilder_ == null) { - minWaitDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getMinWaitDuration(), - getParentForChildren(), - isClean()); + minWaitDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getMinWaitDuration(), getParentForChildren(), isClean()); minWaitDuration_ = null; } return minWaitDurationBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5578,30 +6519,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Rollout parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Rollout(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Rollout parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Rollout(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5613,15 +6556,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Resource name.
    * Format:
@@ -5630,6 +6575,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout getDefaultIn
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -5638,14 +6584,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Resource name.
    * Format:
@@ -5654,16 +6601,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -5674,12 +6620,15 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * OS policy assignment description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -5688,30 +6637,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * OS policy assignment description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -5722,71 +6671,95 @@ public java.lang.String getDescription() { public static final int OS_POLICIES_FIELD_NUMBER = 3; private java.util.List osPolicies_; /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getOsPoliciesList() { return osPolicies_; } /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getOsPoliciesOrBuilderList() { return osPolicies_; } /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getOsPoliciesCount() { return osPolicies_.size(); } /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicy getOsPolicies(int index) { return osPolicies_.get(index); } /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilder(int index) { return osPolicies_.get(index); } public static final int INSTANCE_FILTER_FIELD_NUMBER = 4; private com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instanceFilter_; /** + * + * *
    * Required. Filter to select VMs.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceFilter field is set. */ @java.lang.Override @@ -5794,32 +6767,46 @@ public boolean hasInstanceFilter() { return instanceFilter_ != null; } /** + * + * *
    * Required. Filter to select VMs.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceFilter. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter getInstanceFilter() { - return instanceFilter_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.getDefaultInstance() + : instanceFilter_; } /** + * + * *
    * Required. Filter to select VMs.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder + getInstanceFilterOrBuilder() { return getInstanceFilter(); } public static final int ROLLOUT_FIELD_NUMBER = 5; private com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout_; /** + * + * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -5831,7 +6818,10 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuil
    * 3) OSPolicyAssignment is deleted.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the rollout field is set. */ @java.lang.Override @@ -5839,6 +6829,8 @@ public boolean hasRollout() { return rollout_ != null; } /** + * + * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -5850,14 +6842,21 @@ public boolean hasRollout() {
    * 3) OSPolicyAssignment is deleted.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rollout. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout getRollout() { - return rollout_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.getDefaultInstance() + : rollout_; } /** + * + * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -5869,16 +6868,21 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout getRollout()
    * 3) OSPolicyAssignment is deleted.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder getRolloutOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder + getRolloutOrBuilder() { return getRollout(); } public static final int REVISION_ID_FIELD_NUMBER = 6; private volatile java.lang.Object revisionId_; /** + * + * *
    * Output only. The assignment revision ID
    * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -5886,6 +6890,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder get
    * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The revisionId. */ @java.lang.Override @@ -5894,14 +6899,15 @@ public java.lang.String getRevisionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; } } /** + * + * *
    * Output only. The assignment revision ID
    * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -5909,16 +6915,15 @@ public java.lang.String getRevisionId() {
    * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for revisionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRevisionIdBytes() { + public com.google.protobuf.ByteString getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); revisionId_ = b; return b; } else { @@ -5929,11 +6934,16 @@ public java.lang.String getRevisionId() { public static final int REVISION_CREATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp revisionCreateTime_; /** + * + * *
    * Output only. The timestamp that the revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionCreateTime field is set. */ @java.lang.Override @@ -5941,23 +6951,34 @@ public boolean hasRevisionCreateTime() { return revisionCreateTime_ != null; } /** + * + * *
    * Output only. The timestamp that the revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRevisionCreateTime() { - return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; + return revisionCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionCreateTime_; } /** + * + * *
    * Output only. The timestamp that the revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { @@ -5967,12 +6988,15 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { public static final int ETAG_FIELD_NUMBER = 8; private volatile java.lang.Object etag_; /** + * + * *
    * The etag for this OS policy assignment.
    * If this is provided on update, it must match the server's etag.
    * 
* * string etag = 8; + * * @return The etag. */ @java.lang.Override @@ -5981,30 +7005,30 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * The etag for this OS policy assignment.
    * If this is provided on update, it must match the server's etag.
    * 
* * string etag = 8; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -6015,33 +7039,50 @@ public java.lang.String getEtag() { public static final int ROLLOUT_STATE_FIELD_NUMBER = 9; private int rolloutState_; /** + * + * *
    * Output only. OS policy assignment rollout state
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for rolloutState. */ - @java.lang.Override public int getRolloutStateValue() { + @java.lang.Override + public int getRolloutStateValue() { return rolloutState_; } /** + * + * *
    * Output only. OS policy assignment rollout state
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The rolloutState. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState getRolloutState() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState getRolloutState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.valueOf(rolloutState_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState result = + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.valueOf(rolloutState_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.UNRECOGNIZED + : result; } public static final int BASELINE_FIELD_NUMBER = 10; private boolean baseline_; /** + * + * *
    * Output only. Indicates that this revision has been successfully rolled out in this zone
    * and new VMs will be assigned OS policies from this revision.
@@ -6050,6 +7091,7 @@ public java.lang.String getEtag() {
    * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The baseline. */ @java.lang.Override @@ -6060,11 +7102,14 @@ public boolean getBaseline() { public static final int DELETED_FIELD_NUMBER = 11; private boolean deleted_; /** + * + * *
    * Output only. Indicates that this revision deletes the OS policy assignment.
    * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deleted. */ @java.lang.Override @@ -6075,6 +7120,8 @@ public boolean getDeleted() { public static final int RECONCILING_FIELD_NUMBER = 12; private boolean reconciling_; /** + * + * *
    * Output only. Indicates that reconciliation is in progress for the revision.
    * This value is `true` when the `rollout_state` is one of:
@@ -6083,6 +7130,7 @@ public boolean getDeleted() {
    * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -6093,11 +7141,14 @@ public boolean getReconciling() { public static final int UID_FIELD_NUMBER = 13; private volatile java.lang.Object uid_; /** + * + * *
    * Output only. Server generated unique id for the OS policy assignment resource.
    * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -6106,29 +7157,29 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. Server generated unique id for the OS policy assignment resource.
    * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -6137,6 +7188,7 @@ public java.lang.String getUid() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6148,8 +7200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -6174,7 +7225,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, etag_); } - if (rolloutState_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.ROLLOUT_STATE_UNSPECIFIED.getNumber()) { + if (rolloutState_ + != com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState + .ROLLOUT_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(9, rolloutState_); } if (baseline_ != false) { @@ -6205,42 +7259,37 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } for (int i = 0; i < osPolicies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, osPolicies_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, osPolicies_.get(i)); } if (instanceFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getInstanceFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getInstanceFilter()); } if (rollout_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getRollout()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRollout()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revisionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, revisionId_); } if (revisionCreateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getRevisionCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getRevisionCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, etag_); } - if (rolloutState_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.ROLLOUT_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, rolloutState_); + if (rolloutState_ + != com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState + .ROLLOUT_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, rolloutState_); } if (baseline_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(10, baseline_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, baseline_); } if (deleted_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(11, deleted_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, deleted_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(12, reconciling_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, reconciling_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, uid_); @@ -6253,47 +7302,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignment)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment other = + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getOsPoliciesList() - .equals(other.getOsPoliciesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getOsPoliciesList().equals(other.getOsPoliciesList())) return false; if (hasInstanceFilter() != other.hasInstanceFilter()) return false; if (hasInstanceFilter()) { - if (!getInstanceFilter() - .equals(other.getInstanceFilter())) return false; + if (!getInstanceFilter().equals(other.getInstanceFilter())) return false; } if (hasRollout() != other.hasRollout()) return false; if (hasRollout()) { - if (!getRollout() - .equals(other.getRollout())) return false; + if (!getRollout().equals(other.getRollout())) return false; } - if (!getRevisionId() - .equals(other.getRevisionId())) return false; + if (!getRevisionId().equals(other.getRevisionId())) return false; if (hasRevisionCreateTime() != other.hasRevisionCreateTime()) return false; if (hasRevisionCreateTime()) { - if (!getRevisionCreateTime() - .equals(other.getRevisionCreateTime())) return false; + if (!getRevisionCreateTime().equals(other.getRevisionCreateTime())) return false; } - if (!getEtag() - .equals(other.getEtag())) return false; + if (!getEtag().equals(other.getEtag())) return false; if (rolloutState_ != other.rolloutState_) return false; - if (getBaseline() - != other.getBaseline()) return false; - if (getDeleted() - != other.getDeleted()) return false; - if (getReconciling() - != other.getReconciling()) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (getBaseline() != other.getBaseline()) return false; + if (getDeleted() != other.getDeleted()) return false; + if (getReconciling() != other.getReconciling()) return false; + if (!getUid().equals(other.getUid())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6332,14 +7370,11 @@ public int hashCode() { hash = (37 * hash) + ROLLOUT_STATE_FIELD_NUMBER; hash = (53 * hash) + rolloutState_; hash = (37 * hash) + BASELINE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBaseline()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBaseline()); hash = (37 * hash) + DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeleted()); hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -6348,96 +7383,103 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment 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.osconfig.v1alpha.OSPolicyAssignment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * OS policy assignment is an API resource that is used to
    * apply a set of OS policies to a dynamically targeted group of Compute Engine
@@ -6452,21 +7494,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignment}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignment)
       com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder.class);
+              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.class,
+              com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.newBuilder()
@@ -6474,17 +7518,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getOsPoliciesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6534,9 +7578,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor;
     }
 
     @java.lang.Override
@@ -6555,7 +7599,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment buildPartial() {
-      com.google.cloud.osconfig.v1alpha.OSPolicyAssignment result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment(this);
+      com.google.cloud.osconfig.v1alpha.OSPolicyAssignment result =
+          new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -6598,38 +7643,39 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.OSPolicyAssignment) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignment)other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignment) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6637,7 +7683,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment other) {
-      if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance()) return this;
+      if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -6664,9 +7711,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment ot
             osPoliciesBuilder_ = null;
             osPolicies_ = other.osPolicies_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            osPoliciesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getOsPoliciesFieldBuilder() : null;
+            osPoliciesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getOsPoliciesFieldBuilder()
+                    : null;
           } else {
             osPoliciesBuilder_.addAllMessages(other.osPolicies_);
           }
@@ -6724,7 +7772,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.osconfig.v1alpha.OSPolicyAssignment) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -6733,10 +7782,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Resource name.
      * Format:
@@ -6745,13 +7797,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6760,6 +7812,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name.
      * Format:
@@ -6768,15 +7822,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6784,6 +7837,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name.
      * Format:
@@ -6792,20 +7847,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Resource name.
      * Format:
@@ -6814,15 +7871,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Resource name.
      * Format:
@@ -6831,16 +7891,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -6848,19 +7908,21 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -6869,21 +7931,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -6891,80 +7954,96 @@ public java.lang.String getDescription() { } } /** + * + * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * OS policy assignment description.
      * Length of the description is limited to 1024 characters.
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private java.util.List osPolicies_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureOsPoliciesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicies_ = new java.util.ArrayList(osPolicies_); + osPolicies_ = + new java.util.ArrayList(osPolicies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy, com.google.cloud.osconfig.v1alpha.OSPolicy.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder> osPoliciesBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicy, + com.google.cloud.osconfig.v1alpha.OSPolicy.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder> + osPoliciesBuilder_; /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getOsPoliciesList() { if (osPoliciesBuilder_ == null) { @@ -6974,11 +8053,15 @@ public java.util.List getOsPoliciesL } } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getOsPoliciesCount() { if (osPoliciesBuilder_ == null) { @@ -6988,11 +8071,15 @@ public int getOsPoliciesCount() { } } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1alpha.OSPolicy getOsPolicies(int index) { if (osPoliciesBuilder_ == null) { @@ -7002,14 +8089,17 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy getOsPolicies(int index) { } } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setOsPolicies( - int index, com.google.cloud.osconfig.v1alpha.OSPolicy value) { + public Builder setOsPolicies(int index, com.google.cloud.osconfig.v1alpha.OSPolicy value) { if (osPoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7023,11 +8113,15 @@ public Builder setOsPolicies( return this; } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOsPolicies( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.Builder builderForValue) { @@ -7041,11 +8135,15 @@ public Builder setOsPolicies( return this; } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addOsPolicies(com.google.cloud.osconfig.v1alpha.OSPolicy value) { if (osPoliciesBuilder_ == null) { @@ -7061,14 +8159,17 @@ public Builder addOsPolicies(com.google.cloud.osconfig.v1alpha.OSPolicy value) { return this; } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addOsPolicies( - int index, com.google.cloud.osconfig.v1alpha.OSPolicy value) { + public Builder addOsPolicies(int index, com.google.cloud.osconfig.v1alpha.OSPolicy value) { if (osPoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7082,11 +8183,15 @@ public Builder addOsPolicies( return this; } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addOsPolicies( com.google.cloud.osconfig.v1alpha.OSPolicy.Builder builderForValue) { @@ -7100,11 +8205,15 @@ public Builder addOsPolicies( return this; } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addOsPolicies( int index, com.google.cloud.osconfig.v1alpha.OSPolicy.Builder builderForValue) { @@ -7118,18 +8227,21 @@ public Builder addOsPolicies( return this; } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllOsPolicies( java.lang.Iterable values) { if (osPoliciesBuilder_ == null) { ensureOsPoliciesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, osPolicies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicies_); onChanged(); } else { osPoliciesBuilder_.addAllMessages(values); @@ -7137,11 +8249,15 @@ public Builder addAllOsPolicies( return this; } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOsPolicies() { if (osPoliciesBuilder_ == null) { @@ -7154,11 +8270,15 @@ public Builder clearOsPolicies() { return this; } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeOsPolicies(int index) { if (osPoliciesBuilder_ == null) { @@ -7171,39 +8291,50 @@ public Builder removeOsPolicies(int index) { return this; } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Builder getOsPoliciesBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicy.Builder getOsPoliciesBuilder(int index) { return getOsPoliciesFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilder(int index) { if (osPoliciesBuilder_ == null) { - return osPolicies_.get(index); } else { + return osPolicies_.get(index); + } else { return osPoliciesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getOsPoliciesOrBuilderList() { + public java.util.List + getOsPoliciesOrBuilderList() { if (osPoliciesBuilder_ != null) { return osPoliciesBuilder_.getMessageOrBuilderList(); } else { @@ -7211,49 +8342,63 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilde } } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.osconfig.v1alpha.OSPolicy.Builder addOsPoliciesBuilder() { - return getOsPoliciesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicy.getDefaultInstance()); + return getOsPoliciesFieldBuilder() + .addBuilder(com.google.cloud.osconfig.v1alpha.OSPolicy.getDefaultInstance()); } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicy.Builder addOsPoliciesBuilder( - int index) { - return getOsPoliciesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.OSPolicy.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicy.Builder addOsPoliciesBuilder(int index) { + return getOsPoliciesFieldBuilder() + .addBuilder(index, com.google.cloud.osconfig.v1alpha.OSPolicy.getDefaultInstance()); } /** + * + * *
      * Required. List of OS policies to be applied to the VMs.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getOsPoliciesBuilderList() { + public java.util.List + getOsPoliciesBuilderList() { return getOsPoliciesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy, com.google.cloud.osconfig.v1alpha.OSPolicy.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicy, + com.google.cloud.osconfig.v1alpha.OSPolicy.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder> getOsPoliciesFieldBuilder() { if (osPoliciesBuilder_ == null) { - osPoliciesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicy, com.google.cloud.osconfig.v1alpha.OSPolicy.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder>( - osPolicies_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + osPoliciesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicy, + com.google.cloud.osconfig.v1alpha.OSPolicy.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder>( + osPolicies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); osPolicies_ = null; } return osPoliciesBuilder_; @@ -7261,41 +8406,62 @@ public com.google.cloud.osconfig.v1alpha.OSPolicy.Builder addOsPoliciesBuilder( private com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instanceFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder> instanceFilterBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder> + instanceFilterBuilder_; /** + * + * *
      * Required. Filter to select VMs.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceFilter field is set. */ public boolean hasInstanceFilter() { return instanceFilterBuilder_ != null || instanceFilter_ != null; } /** + * + * *
      * Required. Filter to select VMs.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceFilter. */ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter getInstanceFilter() { if (instanceFilterBuilder_ == null) { - return instanceFilter_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter + .getDefaultInstance() + : instanceFilter_; } else { return instanceFilterBuilder_.getMessage(); } } /** + * + * *
      * Required. Filter to select VMs.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInstanceFilter(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter value) { + public Builder setInstanceFilter( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter value) { if (instanceFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7309,14 +8475,19 @@ public Builder setInstanceFilter(com.google.cloud.osconfig.v1alpha.OSPolicyAssig return this; } /** + * + * *
      * Required. Filter to select VMs.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstanceFilter( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder + builderForValue) { if (instanceFilterBuilder_ == null) { instanceFilter_ = builderForValue.build(); onChanged(); @@ -7327,17 +8498,25 @@ public Builder setInstanceFilter( return this; } /** + * + * *
      * Required. Filter to select VMs.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter value) { + public Builder mergeInstanceFilter( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter value) { if (instanceFilterBuilder_ == null) { if (instanceFilter_ != null) { instanceFilter_ = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.newBuilder(instanceFilter_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.newBuilder( + instanceFilter_) + .mergeFrom(value) + .buildPartial(); } else { instanceFilter_ = value; } @@ -7349,11 +8528,15 @@ public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1alpha.OSPolicyAss return this; } /** + * + * *
      * Required. Filter to select VMs.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstanceFilter() { if (instanceFilterBuilder_ == null) { @@ -7367,48 +8550,67 @@ public Builder clearInstanceFilter() { return this; } /** + * + * *
      * Required. Filter to select VMs.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder getInstanceFilterBuilder() { - + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder + getInstanceFilterBuilder() { + onChanged(); return getInstanceFilterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Filter to select VMs.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder + getInstanceFilterOrBuilder() { if (instanceFilterBuilder_ != null) { return instanceFilterBuilder_.getMessageOrBuilder(); } else { - return instanceFilter_ == null ? - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter + .getDefaultInstance() + : instanceFilter_; } } /** + * + * *
      * Required. Filter to select VMs.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder> getInstanceFilterFieldBuilder() { if (instanceFilterBuilder_ == null) { - instanceFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder>( - getInstanceFilter(), - getParentForChildren(), - isClean()); + instanceFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder>( + getInstanceFilter(), getParentForChildren(), isClean()); instanceFilter_ = null; } return instanceFilterBuilder_; @@ -7416,8 +8618,13 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuil private com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder> rolloutBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder> + rolloutBuilder_; /** + * + * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -7429,13 +8636,18 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuil
      * 3) OSPolicyAssignment is deleted.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the rollout field is set. */ public boolean hasRollout() { return rolloutBuilder_ != null || rollout_ != null; } /** + * + * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -7447,17 +8659,24 @@ public boolean hasRollout() {
      * 3) OSPolicyAssignment is deleted.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rollout. */ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout getRollout() { if (rolloutBuilder_ == null) { - return rollout_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.getDefaultInstance() + : rollout_; } else { return rolloutBuilder_.getMessage(); } } /** + * + * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -7469,7 +8688,9 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout getRollout()
      * 3) OSPolicyAssignment is deleted.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRollout(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout value) { if (rolloutBuilder_ == null) { @@ -7485,6 +8706,8 @@ public Builder setRollout(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.R return this; } /** + * + * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -7496,7 +8719,9 @@ public Builder setRollout(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.R
      * 3) OSPolicyAssignment is deleted.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRollout( com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder builderForValue) { @@ -7510,6 +8735,8 @@ public Builder setRollout( return this; } /** + * + * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -7521,13 +8748,18 @@ public Builder setRollout(
      * 3) OSPolicyAssignment is deleted.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeRollout(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout value) { + public Builder mergeRollout( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout value) { if (rolloutBuilder_ == null) { if (rollout_ != null) { rollout_ = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.newBuilder(rollout_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.newBuilder(rollout_) + .mergeFrom(value) + .buildPartial(); } else { rollout_ = value; } @@ -7539,6 +8771,8 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment return this; } /** + * + * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -7550,7 +8784,9 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment
      * 3) OSPolicyAssignment is deleted.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRollout() { if (rolloutBuilder_ == null) { @@ -7564,6 +8800,8 @@ public Builder clearRollout() { return this; } /** + * + * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -7575,14 +8813,19 @@ public Builder clearRollout() {
      * 3) OSPolicyAssignment is deleted.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder getRolloutBuilder() { - + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder + getRolloutBuilder() { + onChanged(); return getRolloutFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -7594,17 +8837,23 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder getR
      * 3) OSPolicyAssignment is deleted.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder getRolloutOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder + getRolloutOrBuilder() { if (rolloutBuilder_ != null) { return rolloutBuilder_.getMessageOrBuilder(); } else { - return rollout_ == null ? - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.getDefaultInstance() + : rollout_; } } /** + * + * *
      * Required. Rollout to deploy the OS policy assignment.
      * A rollout is triggered in the following situations:
@@ -7616,17 +8865,22 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder get
      * 3) OSPolicyAssignment is deleted.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder> getRolloutFieldBuilder() { if (rolloutBuilder_ == null) { - rolloutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder>( - getRollout(), - getParentForChildren(), - isClean()); + rolloutBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder>( + getRollout(), getParentForChildren(), isClean()); rollout_ = null; } return rolloutBuilder_; @@ -7634,6 +8888,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder get private java.lang.Object revisionId_ = ""; /** + * + * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -7641,13 +8897,13 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder get
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The revisionId. */ public java.lang.String getRevisionId() { java.lang.Object ref = revisionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; @@ -7656,6 +8912,8 @@ public java.lang.String getRevisionId() { } } /** + * + * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -7663,15 +8921,14 @@ public java.lang.String getRevisionId() {
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for revisionId. */ - public com.google.protobuf.ByteString - getRevisionIdBytes() { + public com.google.protobuf.ByteString getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); revisionId_ = b; return b; } else { @@ -7679,6 +8936,8 @@ public java.lang.String getRevisionId() { } } /** + * + * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -7686,20 +8945,22 @@ public java.lang.String getRevisionId() {
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionId( - java.lang.String value) { + public Builder setRevisionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + revisionId_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -7707,15 +8968,18 @@ public Builder setRevisionId(
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRevisionId() { - + revisionId_ = getDefaultInstance().getRevisionId(); onChanged(); return this; } /** + * + * *
      * Output only. The assignment revision ID
      * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -7723,16 +8987,16 @@ public Builder clearRevisionId() {
      * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + revisionId_ = value; onChanged(); return this; @@ -7740,39 +9004,58 @@ public Builder setRevisionIdBytes( private com.google.protobuf.Timestamp revisionCreateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> revisionCreateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + revisionCreateTimeBuilder_; /** + * + * *
      * Output only. The timestamp that the revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionCreateTime field is set. */ public boolean hasRevisionCreateTime() { return revisionCreateTimeBuilder_ != null || revisionCreateTime_ != null; } /** + * + * *
      * Output only. The timestamp that the revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionCreateTime. */ public com.google.protobuf.Timestamp getRevisionCreateTime() { if (revisionCreateTimeBuilder_ == null) { - return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; + return revisionCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionCreateTime_; } else { return revisionCreateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The timestamp that the revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { @@ -7788,14 +9071,17 @@ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp that the revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setRevisionCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (revisionCreateTimeBuilder_ == null) { revisionCreateTime_ = builderForValue.build(); onChanged(); @@ -7806,17 +9092,23 @@ public Builder setRevisionCreateTime( return this; } /** + * + * *
      * Output only. The timestamp that the revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { if (revisionCreateTime_ != null) { revisionCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_) + .mergeFrom(value) + .buildPartial(); } else { revisionCreateTime_ = value; } @@ -7828,11 +9120,15 @@ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp that the revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearRevisionCreateTime() { if (revisionCreateTimeBuilder_ == null) { @@ -7846,48 +9142,64 @@ public Builder clearRevisionCreateTime() { return this; } /** + * + * *
      * Output only. The timestamp that the revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder() { - + onChanged(); return getRevisionCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The timestamp that the revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { if (revisionCreateTimeBuilder_ != null) { return revisionCreateTimeBuilder_.getMessageOrBuilder(); } else { - return revisionCreateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; + return revisionCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionCreateTime_; } } /** + * + * *
      * Output only. The timestamp that the revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getRevisionCreateTimeFieldBuilder() { if (revisionCreateTimeBuilder_ == null) { - revisionCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getRevisionCreateTime(), - getParentForChildren(), - isClean()); + revisionCreateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getRevisionCreateTime(), getParentForChildren(), isClean()); revisionCreateTime_ = null; } return revisionCreateTimeBuilder_; @@ -7895,19 +9207,21 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** + * + * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -7916,21 +9230,22 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -7938,57 +9253,64 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { + public Builder setEtag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** + * + * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; + * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** + * + * *
      * The etag for this OS policy assignment.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 8; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { + public Builder setEtagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; @@ -7996,80 +9318,112 @@ public Builder setEtagBytes( private int rolloutState_ = 0; /** + * + * *
      * Output only. OS policy assignment rollout state
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for rolloutState. */ - @java.lang.Override public int getRolloutStateValue() { + @java.lang.Override + public int getRolloutStateValue() { return rolloutState_; } /** + * + * *
      * Output only. OS policy assignment rollout state
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for rolloutState to set. * @return This builder for chaining. */ public Builder setRolloutStateValue(int value) { - + rolloutState_ = value; onChanged(); return this; } /** + * + * *
      * Output only. OS policy assignment rollout state
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The rolloutState. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState getRolloutState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.valueOf(rolloutState_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState result = + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.valueOf(rolloutState_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. OS policy assignment rollout state
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The rolloutState to set. * @return This builder for chaining. */ - public Builder setRolloutState(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState value) { + public Builder setRolloutState( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState value) { if (value == null) { throw new NullPointerException(); } - + rolloutState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. OS policy assignment rollout state
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearRolloutState() { - + rolloutState_ = 0; onChanged(); return this; } - private boolean baseline_ ; + private boolean baseline_; /** + * + * *
      * Output only. Indicates that this revision has been successfully rolled out in this zone
      * and new VMs will be assigned OS policies from this revision.
@@ -8078,6 +9432,7 @@ public Builder clearRolloutState() {
      * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The baseline. */ @java.lang.Override @@ -8085,6 +9440,8 @@ public boolean getBaseline() { return baseline_; } /** + * + * *
      * Output only. Indicates that this revision has been successfully rolled out in this zone
      * and new VMs will be assigned OS policies from this revision.
@@ -8093,16 +9450,19 @@ public boolean getBaseline() {
      * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The baseline to set. * @return This builder for chaining. */ public Builder setBaseline(boolean value) { - + baseline_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Indicates that this revision has been successfully rolled out in this zone
      * and new VMs will be assigned OS policies from this revision.
@@ -8111,22 +9471,26 @@ public Builder setBaseline(boolean value) {
      * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearBaseline() { - + baseline_ = false; onChanged(); return this; } - private boolean deleted_ ; + private boolean deleted_; /** + * + * *
      * Output only. Indicates that this revision deletes the OS policy assignment.
      * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deleted. */ @java.lang.Override @@ -8134,37 +9498,45 @@ public boolean getDeleted() { return deleted_; } /** + * + * *
      * Output only. Indicates that this revision deletes the OS policy assignment.
      * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The deleted to set. * @return This builder for chaining. */ public Builder setDeleted(boolean value) { - + deleted_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Indicates that this revision deletes the OS policy assignment.
      * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDeleted() { - + deleted_ = false; onChanged(); return this; } - private boolean reconciling_ ; + private boolean reconciling_; /** + * + * *
      * Output only. Indicates that reconciliation is in progress for the revision.
      * This value is `true` when the `rollout_state` is one of:
@@ -8173,6 +9545,7 @@ public Builder clearDeleted() {
      * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -8180,6 +9553,8 @@ public boolean getReconciling() { return reconciling_; } /** + * + * *
      * Output only. Indicates that reconciliation is in progress for the revision.
      * This value is `true` when the `rollout_state` is one of:
@@ -8188,16 +9563,19 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The reconciling to set. * @return This builder for chaining. */ public Builder setReconciling(boolean value) { - + reconciling_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Indicates that reconciliation is in progress for the revision.
      * This value is `true` when the `rollout_state` is one of:
@@ -8206,10 +9584,11 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReconciling() { - + reconciling_ = false; onChanged(); return this; @@ -8217,18 +9596,20 @@ public Builder clearReconciling() { private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. Server generated unique id for the OS policy assignment resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -8237,20 +9618,21 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. Server generated unique id for the OS policy assignment resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -8258,61 +9640,68 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. Server generated unique id for the OS policy assignment resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { + public Builder setUid(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Server generated unique id for the OS policy assignment resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { - + uid_ = getDefaultInstance().getUid(); onChanged(); return this; } /** + * + * *
      * Output only. Server generated unique id for the OS policy assignment resource.
      * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { + public Builder setUidBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8322,12 +9711,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignment) private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignment(); } @@ -8336,16 +9725,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyAssignment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyAssignment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyAssignment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyAssignment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8360,6 +9749,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentName.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentName.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentName.java diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadata.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadata.java similarity index 65% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadata.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadata.java index 08eb6eee..b69ae32e 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadata.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadata.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * OS policy assignment operation metadata provided by OS policy assignment API
  * methods that return long running operations.
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata}
  */
-public final class OSPolicyAssignmentOperationMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OSPolicyAssignmentOperationMetadata
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata)
     OSPolicyAssignmentOperationMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OSPolicyAssignmentOperationMetadata.newBuilder() to construct.
-  private OSPolicyAssignmentOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private OSPolicyAssignmentOperationMetadata(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OSPolicyAssignmentOperationMetadata() {
     osPolicyAssignment_ = "";
     apiMethod_ = 0;
@@ -28,16 +48,15 @@ private OSPolicyAssignmentOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OSPolicyAssignmentOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OSPolicyAssignmentOperationMetadata(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,57 +75,64 @@ private OSPolicyAssignmentOperationMetadata(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            osPolicyAssignment_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
-
-            apiMethod_ = rawValue;
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
-
-            rolloutState_ = rawValue;
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (rolloutStartTime_ != null) {
-              subBuilder = rolloutStartTime_.toBuilder();
+              osPolicyAssignment_ = s;
+              break;
             }
-            rolloutStartTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(rolloutStartTime_);
-              rolloutStartTime_ = subBuilder.buildPartial();
+          case 16:
+            {
+              int rawValue = input.readEnum();
+
+              apiMethod_ = rawValue;
+              break;
             }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (rolloutUpdateTime_ != null) {
-              subBuilder = rolloutUpdateTime_.toBuilder();
+              rolloutState_ = rawValue;
+              break;
             }
-            rolloutUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(rolloutUpdateTime_);
-              rolloutUpdateTime_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (rolloutStartTime_ != null) {
+                subBuilder = rolloutStartTime_.toBuilder();
+              }
+              rolloutStartTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rolloutStartTime_);
+                rolloutStartTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (rolloutUpdateTime_ != null) {
+                subBuilder = rolloutUpdateTime_.toBuilder();
+              }
+              rolloutUpdateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rolloutUpdateTime_);
+                rolloutUpdateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,36 +140,42 @@ private OSPolicyAssignmentOperationMetadata(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+        .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+        .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.Builder.class);
+            com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.class,
+            com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The OS policy assignment API method.
    * 
* - * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod} + * Protobuf enum {@code + * google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod} */ - public enum APIMethod - implements com.google.protobuf.ProtocolMessageEnum { + public enum APIMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Invalid value
      * 
@@ -152,6 +184,8 @@ public enum APIMethod */ API_METHOD_UNSPECIFIED(0), /** + * + * *
      * Create OS policy assignment API method
      * 
@@ -160,6 +194,8 @@ public enum APIMethod */ CREATE(1), /** + * + * *
      * Update OS policy assignment API method
      * 
@@ -168,6 +204,8 @@ public enum APIMethod */ UPDATE(2), /** + * + * *
      * Delete OS policy assignment API method
      * 
@@ -179,6 +217,8 @@ public enum APIMethod ; /** + * + * *
      * Invalid value
      * 
@@ -187,6 +227,8 @@ public enum APIMethod */ public static final int API_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Create OS policy assignment API method
      * 
@@ -195,6 +237,8 @@ public enum APIMethod */ public static final int CREATE_VALUE = 1; /** + * + * *
      * Update OS policy assignment API method
      * 
@@ -203,6 +247,8 @@ public enum APIMethod */ public static final int UPDATE_VALUE = 2; /** + * + * *
      * Delete OS policy assignment API method
      * 
@@ -211,7 +257,6 @@ public enum APIMethod */ public static final int DELETE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -236,50 +281,53 @@ public static APIMethod valueOf(int value) { */ public static APIMethod forNumber(int value) { switch (value) { - case 0: return API_METHOD_UNSPECIFIED; - case 1: return CREATE; - case 2: return UPDATE; - case 3: return DELETE; - default: return null; + case 0: + return API_METHOD_UNSPECIFIED; + case 1: + return CREATE; + case 2: + return UPDATE; + case 3: + return DELETE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - APIMethod> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public APIMethod findValueByNumber(int number) { - return APIMethod.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public APIMethod findValueByNumber(int number) { + return APIMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.getDescriptor() + .getEnumTypes() + .get(0); } private static final APIMethod[] VALUES = values(); - public static APIMethod valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static APIMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -297,15 +345,19 @@ private APIMethod(int value) { } /** + * + * *
    * State of the rollout
    * 
* - * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState} + * Protobuf enum {@code + * google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState} */ - public enum RolloutState - implements com.google.protobuf.ProtocolMessageEnum { + public enum RolloutState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Invalid value
      * 
@@ -314,6 +366,8 @@ public enum RolloutState */ ROLLOUT_STATE_UNSPECIFIED(0), /** + * + * *
      * The rollout is in progress.
      * 
@@ -322,6 +376,8 @@ public enum RolloutState */ IN_PROGRESS(1), /** + * + * *
      * The rollout is being cancelled.
      * 
@@ -330,6 +386,8 @@ public enum RolloutState */ CANCELLING(2), /** + * + * *
      * The rollout is cancelled.
      * 
@@ -338,6 +396,8 @@ public enum RolloutState */ CANCELLED(3), /** + * + * *
      * The rollout has completed successfully.
      * 
@@ -349,6 +409,8 @@ public enum RolloutState ; /** + * + * *
      * Invalid value
      * 
@@ -357,6 +419,8 @@ public enum RolloutState */ public static final int ROLLOUT_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The rollout is in progress.
      * 
@@ -365,6 +429,8 @@ public enum RolloutState */ public static final int IN_PROGRESS_VALUE = 1; /** + * + * *
      * The rollout is being cancelled.
      * 
@@ -373,6 +439,8 @@ public enum RolloutState */ public static final int CANCELLING_VALUE = 2; /** + * + * *
      * The rollout is cancelled.
      * 
@@ -381,6 +449,8 @@ public enum RolloutState */ public static final int CANCELLED_VALUE = 3; /** + * + * *
      * The rollout has completed successfully.
      * 
@@ -389,7 +459,6 @@ public enum RolloutState */ public static final int SUCCEEDED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -414,51 +483,55 @@ public static RolloutState valueOf(int value) { */ public static RolloutState forNumber(int value) { switch (value) { - case 0: return ROLLOUT_STATE_UNSPECIFIED; - case 1: return IN_PROGRESS; - case 2: return CANCELLING; - case 3: return CANCELLED; - case 4: return SUCCEEDED; - default: return null; + case 0: + return ROLLOUT_STATE_UNSPECIFIED; + case 1: + return IN_PROGRESS; + case 2: + return CANCELLING; + case 3: + return CANCELLED; + case 4: + return SUCCEEDED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - RolloutState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RolloutState findValueByNumber(int number) { - return RolloutState.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RolloutState findValueByNumber(int number) { + return RolloutState.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.getDescriptor() + .getEnumTypes() + .get(1); } private static final RolloutState[] VALUES = values(); - public static RolloutState valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RolloutState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -478,6 +551,8 @@ private RolloutState(int value) { public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER = 1; private volatile java.lang.Object osPolicyAssignment_; /** + * + * *
    * Reference to the `OSPolicyAssignment` API resource.
    * Format:
@@ -485,6 +560,7 @@ private RolloutState(int value) {
    * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } + * * @return The osPolicyAssignment. */ @java.lang.Override @@ -493,14 +569,15 @@ public java.lang.String getOsPolicyAssignment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; } } /** + * + * *
    * Reference to the `OSPolicyAssignment` API resource.
    * Format:
@@ -508,16 +585,15 @@ public java.lang.String getOsPolicyAssignment() {
    * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for osPolicyAssignment. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -528,65 +604,104 @@ public java.lang.String getOsPolicyAssignment() { public static final int API_METHOD_FIELD_NUMBER = 2; private int apiMethod_; /** + * + * *
    * The OS policy assignment API method.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * * @return The enum numeric value on the wire for apiMethod. */ - @java.lang.Override public int getApiMethodValue() { + @java.lang.Override + public int getApiMethodValue() { return apiMethod_; } /** + * + * *
    * The OS policy assignment API method.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * * @return The apiMethod. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod getApiMethod() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod + getApiMethod() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod.valueOf(apiMethod_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod result = + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod.valueOf( + apiMethod_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod + .UNRECOGNIZED + : result; } public static final int ROLLOUT_STATE_FIELD_NUMBER = 3; private int rolloutState_; /** + * + * *
    * State of the rollout
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * * @return The enum numeric value on the wire for rolloutState. */ - @java.lang.Override public int getRolloutStateValue() { + @java.lang.Override + public int getRolloutStateValue() { return rolloutState_; } /** + * + * *
    * State of the rollout
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * * @return The rolloutState. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState getRolloutState() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState + getRolloutState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState.valueOf(rolloutState_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState result = + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState.valueOf( + rolloutState_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState + .UNRECOGNIZED + : result; } public static final int ROLLOUT_START_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp rolloutStartTime_; /** + * + * *
    * Rollout start time
    * 
* * .google.protobuf.Timestamp rollout_start_time = 4; + * * @return Whether the rolloutStartTime field is set. */ @java.lang.Override @@ -594,18 +709,25 @@ public boolean hasRolloutStartTime() { return rolloutStartTime_ != null; } /** + * + * *
    * Rollout start time
    * 
* * .google.protobuf.Timestamp rollout_start_time = 4; + * * @return The rolloutStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRolloutStartTime() { - return rolloutStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rolloutStartTime_; + return rolloutStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : rolloutStartTime_; } /** + * + * *
    * Rollout start time
    * 
@@ -620,11 +742,14 @@ public com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder() { public static final int ROLLOUT_UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp rolloutUpdateTime_; /** + * + * *
    * Rollout update time
    * 
* * .google.protobuf.Timestamp rollout_update_time = 5; + * * @return Whether the rolloutUpdateTime field is set. */ @java.lang.Override @@ -632,18 +757,25 @@ public boolean hasRolloutUpdateTime() { return rolloutUpdateTime_ != null; } /** + * + * *
    * Rollout update time
    * 
* * .google.protobuf.Timestamp rollout_update_time = 5; + * * @return The rolloutUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRolloutUpdateTime() { - return rolloutUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rolloutUpdateTime_; + return rolloutUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : rolloutUpdateTime_; } /** + * + * *
    * Rollout update time
    * 
@@ -656,6 +788,7 @@ public com.google.protobuf.TimestampOrBuilder getRolloutUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -667,15 +800,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyAssignment_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osPolicyAssignment_); } - if (apiMethod_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod.API_METHOD_UNSPECIFIED.getNumber()) { + if (apiMethod_ + != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod + .API_METHOD_UNSPECIFIED + .getNumber()) { output.writeEnum(2, apiMethod_); } - if (rolloutState_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState.ROLLOUT_STATE_UNSPECIFIED.getNumber()) { + if (rolloutState_ + != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState + .ROLLOUT_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, rolloutState_); } if (rolloutStartTime_ != null) { @@ -696,21 +834,23 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyAssignment_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, osPolicyAssignment_); } - if (apiMethod_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod.API_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, apiMethod_); + if (apiMethod_ + != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod + .API_METHOD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, apiMethod_); } - if (rolloutState_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState.ROLLOUT_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, rolloutState_); + if (rolloutState_ + != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState + .ROLLOUT_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, rolloutState_); } if (rolloutStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getRolloutStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRolloutStartTime()); } if (rolloutUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getRolloutUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRolloutUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -720,26 +860,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata other = + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata) obj; - if (!getOsPolicyAssignment() - .equals(other.getOsPolicyAssignment())) return false; + if (!getOsPolicyAssignment().equals(other.getOsPolicyAssignment())) return false; if (apiMethod_ != other.apiMethod_) return false; if (rolloutState_ != other.rolloutState_) return false; if (hasRolloutStartTime() != other.hasRolloutStartTime()) return false; if (hasRolloutStartTime()) { - if (!getRolloutStartTime() - .equals(other.getRolloutStartTime())) return false; + if (!getRolloutStartTime().equals(other.getRolloutStartTime())) return false; } if (hasRolloutUpdateTime() != other.hasRolloutUpdateTime()) return false; if (hasRolloutUpdateTime()) { - if (!getRolloutUpdateTime() - .equals(other.getRolloutUpdateTime())) return false; + if (!getRolloutUpdateTime().equals(other.getRolloutUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -772,96 +910,105 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata 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.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata 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.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata + 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.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * OS policy assignment operation metadata provided by OS policy assignment API
    * methods that return long running operations.
@@ -869,38 +1016,40 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata)
       com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.Builder.class);
+              com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.class,
+              com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.Builder.class);
     }
 
-    // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.newBuilder()
+    // Construct using
+    // com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -926,14 +1075,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto
+          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata getDefaultInstanceForType() {
-      return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.getDefaultInstance();
+    public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata
+        getDefaultInstanceForType() {
+      return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -947,7 +1098,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata bui
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata buildPartial() {
-      com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata(this);
+      com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata result =
+          new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata(this);
       result.osPolicyAssignment_ = osPolicyAssignment_;
       result.apiMethod_ = apiMethod_;
       result.rolloutState_ = rolloutState_;
@@ -969,46 +1121,51 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata bui
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata)other);
+        return mergeFrom(
+            (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata other) {
-      if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata other) {
+      if (other
+          == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata
+              .getDefaultInstance()) return this;
       if (!other.getOsPolicyAssignment().isEmpty()) {
         osPolicyAssignment_ = other.osPolicyAssignment_;
         onChanged();
@@ -1044,7 +1201,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1056,6 +1215,8 @@ public Builder mergeFrom(
 
     private java.lang.Object osPolicyAssignment_ = "";
     /**
+     *
+     *
      * 
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1063,13 +1224,13 @@ public Builder mergeFrom(
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } + * * @return The osPolicyAssignment. */ public java.lang.String getOsPolicyAssignment() { java.lang.Object ref = osPolicyAssignment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; @@ -1078,6 +1239,8 @@ public java.lang.String getOsPolicyAssignment() { } } /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1085,15 +1248,14 @@ public java.lang.String getOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for osPolicyAssignment. */ - public com.google.protobuf.ByteString - getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -1101,6 +1263,8 @@ public java.lang.String getOsPolicyAssignment() { } } /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1108,20 +1272,22 @@ public java.lang.String getOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } + * * @param value The osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignment( - java.lang.String value) { + public Builder setOsPolicyAssignment(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyAssignment_ = value; onChanged(); return this; } /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1129,15 +1295,18 @@ public Builder setOsPolicyAssignment(
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearOsPolicyAssignment() { - + osPolicyAssignment_ = getDefaultInstance().getOsPolicyAssignment(); onChanged(); return this; } /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource.
      * Format:
@@ -1145,16 +1314,16 @@ public Builder clearOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignmentBytes( - com.google.protobuf.ByteString value) { + public Builder setOsPolicyAssignmentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyAssignment_ = value; onChanged(); return this; @@ -1162,73 +1331,106 @@ public Builder setOsPolicyAssignmentBytes( private int apiMethod_ = 0; /** + * + * *
      * The OS policy assignment API method.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * * @return The enum numeric value on the wire for apiMethod. */ - @java.lang.Override public int getApiMethodValue() { + @java.lang.Override + public int getApiMethodValue() { return apiMethod_; } /** + * + * *
      * The OS policy assignment API method.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * * @param value The enum numeric value on the wire for apiMethod to set. * @return This builder for chaining. */ public Builder setApiMethodValue(int value) { - + apiMethod_ = value; onChanged(); return this; } /** + * + * *
      * The OS policy assignment API method.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * * @return The apiMethod. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod getApiMethod() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod + getApiMethod() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod.valueOf(apiMethod_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod result = + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod.valueOf( + apiMethod_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod + .UNRECOGNIZED + : result; } /** + * + * *
      * The OS policy assignment API method.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * * @param value The apiMethod to set. * @return This builder for chaining. */ - public Builder setApiMethod(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod value) { + public Builder setApiMethod( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod value) { if (value == null) { throw new NullPointerException(); } - + apiMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The OS policy assignment API method.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * * @return This builder for chaining. */ public Builder clearApiMethod() { - + apiMethod_ = 0; onChanged(); return this; @@ -1236,73 +1438,106 @@ public Builder clearApiMethod() { private int rolloutState_ = 0; /** + * + * *
      * State of the rollout
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * * @return The enum numeric value on the wire for rolloutState. */ - @java.lang.Override public int getRolloutStateValue() { + @java.lang.Override + public int getRolloutStateValue() { return rolloutState_; } /** + * + * *
      * State of the rollout
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * * @param value The enum numeric value on the wire for rolloutState to set. * @return This builder for chaining. */ public Builder setRolloutStateValue(int value) { - + rolloutState_ = value; onChanged(); return this; } /** + * + * *
      * State of the rollout
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * * @return The rolloutState. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState getRolloutState() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState + getRolloutState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState.valueOf(rolloutState_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState result = + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState + .valueOf(rolloutState_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState + .UNRECOGNIZED + : result; } /** + * + * *
      * State of the rollout
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * * @param value The rolloutState to set. * @return This builder for chaining. */ - public Builder setRolloutState(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState value) { + public Builder setRolloutState( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState value) { if (value == null) { throw new NullPointerException(); } - + rolloutState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * State of the rollout
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * * @return This builder for chaining. */ public Builder clearRolloutState() { - + rolloutState_ = 0; onChanged(); return this; @@ -1310,34 +1545,47 @@ public Builder clearRolloutState() { private com.google.protobuf.Timestamp rolloutStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> rolloutStartTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + rolloutStartTimeBuilder_; /** + * + * *
      * Rollout start time
      * 
* * .google.protobuf.Timestamp rollout_start_time = 4; + * * @return Whether the rolloutStartTime field is set. */ public boolean hasRolloutStartTime() { return rolloutStartTimeBuilder_ != null || rolloutStartTime_ != null; } /** + * + * *
      * Rollout start time
      * 
* * .google.protobuf.Timestamp rollout_start_time = 4; + * * @return The rolloutStartTime. */ public com.google.protobuf.Timestamp getRolloutStartTime() { if (rolloutStartTimeBuilder_ == null) { - return rolloutStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rolloutStartTime_; + return rolloutStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : rolloutStartTime_; } else { return rolloutStartTimeBuilder_.getMessage(); } } /** + * + * *
      * Rollout start time
      * 
@@ -1358,14 +1606,15 @@ public Builder setRolloutStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Rollout start time
      * 
* * .google.protobuf.Timestamp rollout_start_time = 4; */ - public Builder setRolloutStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRolloutStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (rolloutStartTimeBuilder_ == null) { rolloutStartTime_ = builderForValue.build(); onChanged(); @@ -1376,6 +1625,8 @@ public Builder setRolloutStartTime( return this; } /** + * + * *
      * Rollout start time
      * 
@@ -1386,7 +1637,9 @@ public Builder mergeRolloutStartTime(com.google.protobuf.Timestamp value) { if (rolloutStartTimeBuilder_ == null) { if (rolloutStartTime_ != null) { rolloutStartTime_ = - com.google.protobuf.Timestamp.newBuilder(rolloutStartTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(rolloutStartTime_) + .mergeFrom(value) + .buildPartial(); } else { rolloutStartTime_ = value; } @@ -1398,6 +1651,8 @@ public Builder mergeRolloutStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Rollout start time
      * 
@@ -1416,6 +1671,8 @@ public Builder clearRolloutStartTime() { return this; } /** + * + * *
      * Rollout start time
      * 
@@ -1423,11 +1680,13 @@ public Builder clearRolloutStartTime() { * .google.protobuf.Timestamp rollout_start_time = 4; */ public com.google.protobuf.Timestamp.Builder getRolloutStartTimeBuilder() { - + onChanged(); return getRolloutStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Rollout start time
      * 
@@ -1438,11 +1697,14 @@ public com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder() { if (rolloutStartTimeBuilder_ != null) { return rolloutStartTimeBuilder_.getMessageOrBuilder(); } else { - return rolloutStartTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : rolloutStartTime_; + return rolloutStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : rolloutStartTime_; } } /** + * + * *
      * Rollout start time
      * 
@@ -1450,14 +1712,17 @@ public com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder() { * .google.protobuf.Timestamp rollout_start_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getRolloutStartTimeFieldBuilder() { if (rolloutStartTimeBuilder_ == null) { - rolloutStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getRolloutStartTime(), - getParentForChildren(), - isClean()); + rolloutStartTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getRolloutStartTime(), getParentForChildren(), isClean()); rolloutStartTime_ = null; } return rolloutStartTimeBuilder_; @@ -1465,34 +1730,47 @@ public com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder() { private com.google.protobuf.Timestamp rolloutUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> rolloutUpdateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + rolloutUpdateTimeBuilder_; /** + * + * *
      * Rollout update time
      * 
* * .google.protobuf.Timestamp rollout_update_time = 5; + * * @return Whether the rolloutUpdateTime field is set. */ public boolean hasRolloutUpdateTime() { return rolloutUpdateTimeBuilder_ != null || rolloutUpdateTime_ != null; } /** + * + * *
      * Rollout update time
      * 
* * .google.protobuf.Timestamp rollout_update_time = 5; + * * @return The rolloutUpdateTime. */ public com.google.protobuf.Timestamp getRolloutUpdateTime() { if (rolloutUpdateTimeBuilder_ == null) { - return rolloutUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rolloutUpdateTime_; + return rolloutUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : rolloutUpdateTime_; } else { return rolloutUpdateTimeBuilder_.getMessage(); } } /** + * + * *
      * Rollout update time
      * 
@@ -1513,14 +1791,15 @@ public Builder setRolloutUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Rollout update time
      * 
* * .google.protobuf.Timestamp rollout_update_time = 5; */ - public Builder setRolloutUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRolloutUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (rolloutUpdateTimeBuilder_ == null) { rolloutUpdateTime_ = builderForValue.build(); onChanged(); @@ -1531,6 +1810,8 @@ public Builder setRolloutUpdateTime( return this; } /** + * + * *
      * Rollout update time
      * 
@@ -1541,7 +1822,9 @@ public Builder mergeRolloutUpdateTime(com.google.protobuf.Timestamp value) { if (rolloutUpdateTimeBuilder_ == null) { if (rolloutUpdateTime_ != null) { rolloutUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(rolloutUpdateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(rolloutUpdateTime_) + .mergeFrom(value) + .buildPartial(); } else { rolloutUpdateTime_ = value; } @@ -1553,6 +1836,8 @@ public Builder mergeRolloutUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Rollout update time
      * 
@@ -1571,6 +1856,8 @@ public Builder clearRolloutUpdateTime() { return this; } /** + * + * *
      * Rollout update time
      * 
@@ -1578,11 +1865,13 @@ public Builder clearRolloutUpdateTime() { * .google.protobuf.Timestamp rollout_update_time = 5; */ public com.google.protobuf.Timestamp.Builder getRolloutUpdateTimeBuilder() { - + onChanged(); return getRolloutUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Rollout update time
      * 
@@ -1593,11 +1882,14 @@ public com.google.protobuf.TimestampOrBuilder getRolloutUpdateTimeOrBuilder() { if (rolloutUpdateTimeBuilder_ != null) { return rolloutUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return rolloutUpdateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : rolloutUpdateTime_; + return rolloutUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : rolloutUpdateTime_; } } /** + * + * *
      * Rollout update time
      * 
@@ -1605,21 +1897,24 @@ public com.google.protobuf.TimestampOrBuilder getRolloutUpdateTimeOrBuilder() { * .google.protobuf.Timestamp rollout_update_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getRolloutUpdateTimeFieldBuilder() { if (rolloutUpdateTimeBuilder_ == null) { - rolloutUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getRolloutUpdateTime(), - getParentForChildren(), - isClean()); + rolloutUpdateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getRolloutUpdateTime(), getParentForChildren(), isClean()); rolloutUpdateTime_ = null; } return rolloutUpdateTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1629,30 +1924,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyAssignmentOperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyAssignmentOperationMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyAssignmentOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyAssignmentOperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1664,9 +1961,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadataOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadataOrBuilder.java similarity index 68% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadataOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadataOrBuilder.java index b9978eb4..6b6e7536 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadataOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOperationMetadataOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; -public interface OSPolicyAssignmentOperationMetadataOrBuilder extends +public interface OSPolicyAssignmentOperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Reference to the `OSPolicyAssignment` API resource.
    * Format:
@@ -15,10 +33,13 @@ public interface OSPolicyAssignmentOperationMetadataOrBuilder extends
    * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } + * * @return The osPolicyAssignment. */ java.lang.String getOsPolicyAssignment(); /** + * + * *
    * Reference to the `OSPolicyAssignment` API resource.
    * Format:
@@ -26,68 +47,97 @@ public interface OSPolicyAssignmentOperationMetadataOrBuilder extends
    * 
* * string os_policy_assignment = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for osPolicyAssignment. */ - com.google.protobuf.ByteString - getOsPolicyAssignmentBytes(); + com.google.protobuf.ByteString getOsPolicyAssignmentBytes(); /** + * + * *
    * The OS policy assignment API method.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * * @return The enum numeric value on the wire for apiMethod. */ int getApiMethodValue(); /** + * + * *
    * The OS policy assignment API method.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2; + * + * * @return The apiMethod. */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod getApiMethod(); /** + * + * *
    * State of the rollout
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * * @return The enum numeric value on the wire for rolloutState. */ int getRolloutStateValue(); /** + * + * *
    * State of the rollout
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3; + * + * * @return The rolloutState. */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState getRolloutState(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState + getRolloutState(); /** + * + * *
    * Rollout start time
    * 
* * .google.protobuf.Timestamp rollout_start_time = 4; + * * @return Whether the rolloutStartTime field is set. */ boolean hasRolloutStartTime(); /** + * + * *
    * Rollout start time
    * 
* * .google.protobuf.Timestamp rollout_start_time = 4; + * * @return The rolloutStartTime. */ com.google.protobuf.Timestamp getRolloutStartTime(); /** + * + * *
    * Rollout start time
    * 
@@ -97,24 +147,32 @@ public interface OSPolicyAssignmentOperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getRolloutStartTimeOrBuilder(); /** + * + * *
    * Rollout update time
    * 
* * .google.protobuf.Timestamp rollout_update_time = 5; + * * @return Whether the rolloutUpdateTime field is set. */ boolean hasRolloutUpdateTime(); /** + * + * *
    * Rollout update time
    * 
* * .google.protobuf.Timestamp rollout_update_time = 5; + * * @return The rolloutUpdateTime. */ com.google.protobuf.Timestamp getRolloutUpdateTime(); /** + * + * *
    * Rollout update time
    * 
diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOrBuilder.java similarity index 67% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOrBuilder.java index 9b5fdb5e..9ceb0d21 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; -public interface OSPolicyAssignmentOrBuilder extends +public interface OSPolicyAssignmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name.
    * Format:
@@ -16,10 +34,13 @@ public interface OSPolicyAssignmentOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource name.
    * Format:
@@ -28,105 +49,145 @@ public interface OSPolicyAssignmentOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * OS policy assignment description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * OS policy assignment description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getOsPoliciesList(); + java.util.List getOsPoliciesList(); /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1alpha.OSPolicy getOsPolicies(int index); /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ int getOsPoliciesCount(); /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getOsPoliciesOrBuilderList(); /** + * + * *
    * Required. List of OS policies to be applied to the VMs.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilder( - int index); + com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilder(int index); /** + * + * *
    * Required. Filter to select VMs.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceFilter field is set. */ boolean hasInstanceFilter(); /** + * + * *
    * Required. Filter to select VMs.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceFilter. */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter getInstanceFilter(); /** + * + * *
    * Required. Filter to select VMs.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder getInstanceFilterOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterOrBuilder + getInstanceFilterOrBuilder(); /** + * + * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -138,11 +199,16 @@ com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilder(
    * 3) OSPolicyAssignment is deleted.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the rollout field is set. */ boolean hasRollout(); /** + * + * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -154,11 +220,16 @@ com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilder(
    * 3) OSPolicyAssignment is deleted.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rollout. */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout getRollout(); /** + * + * *
    * Required. Rollout to deploy the OS policy assignment.
    * A rollout is triggered in the following situations:
@@ -170,11 +241,15 @@ com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilder(
    * 3) OSPolicyAssignment is deleted.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutOrBuilder getRolloutOrBuilder(); /** + * + * *
    * Output only. The assignment revision ID
    * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -182,10 +257,13 @@ com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilder(
    * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The revisionId. */ java.lang.String getRevisionId(); /** + * + * *
    * Output only. The assignment revision ID
    * A new revision is committed whenever a rollout is triggered for a OS policy
@@ -193,80 +271,111 @@ com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilder(
    * 
* * string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for revisionId. */ - com.google.protobuf.ByteString - getRevisionIdBytes(); + com.google.protobuf.ByteString getRevisionIdBytes(); /** + * + * *
    * Output only. The timestamp that the revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionCreateTime field is set. */ boolean hasRevisionCreateTime(); /** + * + * *
    * Output only. The timestamp that the revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionCreateTime. */ com.google.protobuf.Timestamp getRevisionCreateTime(); /** + * + * *
    * Output only. The timestamp that the revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder(); /** + * + * *
    * The etag for this OS policy assignment.
    * If this is provided on update, it must match the server's etag.
    * 
* * string etag = 8; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * The etag for this OS policy assignment.
    * If this is provided on update, it must match the server's etag.
    * 
* * string etag = 8; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Output only. OS policy assignment rollout state
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for rolloutState. */ int getRolloutStateValue(); /** + * + * *
    * Output only. OS policy assignment rollout state
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The rolloutState. */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState getRolloutState(); /** + * + * *
    * Output only. Indicates that this revision has been successfully rolled out in this zone
    * and new VMs will be assigned OS policies from this revision.
@@ -275,21 +384,27 @@ com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilder(
    * 
* * bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The baseline. */ boolean getBaseline(); /** + * + * *
    * Output only. Indicates that this revision deletes the OS policy assignment.
    * 
* * bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deleted. */ boolean getDeleted(); /** + * + * *
    * Output only. Indicates that reconciliation is in progress for the revision.
    * This value is `true` when the `rollout_state` is one of:
@@ -298,27 +413,33 @@ com.google.cloud.osconfig.v1alpha.OSPolicyOrBuilder getOsPoliciesOrBuilder(
    * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ boolean getReconciling(); /** + * + * *
    * Output only. Server generated unique id for the OS policy assignment resource.
    * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. Server generated unique id for the OS policy assignment resource.
    * 
* * string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReport.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReport.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReport.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReport.java index c3ff8044..d547850d 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReport.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReport.java @@ -1,24 +1,42 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * A report of the OS policy assignment status for a given instance.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport} */ -public final class OSPolicyAssignmentReport extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OSPolicyAssignmentReport extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) OSPolicyAssignmentReportOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSPolicyAssignmentReport.newBuilder() to construct. private OSPolicyAssignmentReport(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OSPolicyAssignmentReport() { name_ = ""; instance_ = ""; @@ -29,16 +47,15 @@ private OSPolicyAssignmentReport() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OSPolicyAssignmentReport(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OSPolicyAssignmentReport( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,59 +75,72 @@ private OSPolicyAssignmentReport( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - instance_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyAssignment_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyCompliances_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + instance_ = s; + break; } - osPolicyCompliances_.add( - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.parser(), extensionRegistry)); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + osPolicyAssignment_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + osPolicyCompliances_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyCompliance>(); + mutable_bitField0_ |= 0x00000001; + } + osPolicyCompliances_.add( + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .parser(), + extensionRegistry)); + break; } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - lastRunId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + lastRunId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,8 +148,7 @@ private OSPolicyAssignmentReport( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { osPolicyCompliances_ = java.util.Collections.unmodifiableList(osPolicyCompliances_); @@ -128,63 +157,85 @@ private OSPolicyAssignmentReport( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.class, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder.class); } - public interface OSPolicyComplianceOrBuilder extends + public interface OSPolicyComplianceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The OS policy id
      * 
* * string os_policy_id = 1; + * * @return The osPolicyId. */ java.lang.String getOsPolicyId(); /** + * + * *
      * The OS policy id
      * 
* * string os_policy_id = 1; + * * @return The bytes for osPolicyId. */ - com.google.protobuf.ByteString - getOsPolicyIdBytes(); + com.google.protobuf.ByteString getOsPolicyIdBytes(); /** + * + * *
      * The compliance state of the OS policy.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * * @return The enum numeric value on the wire for complianceState. */ int getComplianceStateValue(); /** + * + * *
      * The compliance state of the OS policy.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * * @return The complianceState. */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState getComplianceState(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState + getComplianceState(); /** + * + * *
      * The reason for the OS policy to be in an unknown compliance state.
      * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -207,10 +258,13 @@ public interface OSPolicyComplianceOrBuilder extends
      * 
* * string compliance_state_reason = 3; + * * @return The complianceStateReason. */ java.lang.String getComplianceStateReason(); /** + * + * *
      * The reason for the OS policy to be in an unknown compliance state.
      * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -233,76 +287,107 @@ public interface OSPolicyComplianceOrBuilder extends
      * 
* * string compliance_state_reason = 3; + * * @return The bytes for complianceStateReason. */ - com.google.protobuf.ByteString - getComplianceStateReasonBytes(); + com.google.protobuf.ByteString getComplianceStateReasonBytes(); /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - java.util.List + java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance> getOsPolicyResourceCompliancesList(); /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + getOsPolicyResourceCompliances(int index); /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ int getOsPolicyResourceCompliancesCount(); /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder> getOsPolicyResourceCompliancesOrBuilderList(); /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder( - int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder + getOsPolicyResourceCompliancesOrBuilder(int index); } /** + * + * *
    * Compliance data for an OS policy
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance} */ - public static final class OSPolicyCompliance extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class OSPolicyCompliance extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) OSPolicyComplianceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSPolicyCompliance.newBuilder() to construct. private OSPolicyCompliance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OSPolicyCompliance() { osPolicyId_ = ""; complianceState_ = 0; @@ -312,16 +397,15 @@ private OSPolicyCompliance() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OSPolicyCompliance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OSPolicyCompliance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -341,40 +425,50 @@ private OSPolicyCompliance( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyId_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + osPolicyId_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - complianceState_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + complianceState_ = rawValue; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - complianceStateReason_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + complianceStateReason_ = s; + break; } - osPolicyResourceCompliances_.add( - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + osPolicyResourceCompliances_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyCompliance.OSPolicyResourceCompliance>(); + mutable_bitField0_ |= 0x00000001; + } + osPolicyResourceCompliances_.add( + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyCompliance.OSPolicyResourceCompliance.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,39 +476,47 @@ private OSPolicyCompliance( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); + osPolicyResourceCompliances_ = + java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.class, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder + .class); } /** + * + * *
      * Possible compliance states for an os policy.
      * 
* - * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState} + * Protobuf enum {@code + * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState} */ - public enum ComplianceState - implements com.google.protobuf.ProtocolMessageEnum { + public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The policy is in an unknown compliance state.
        * Refer to the field `compliance_state_reason` to learn the exact reason
@@ -425,6 +527,8 @@ public enum ComplianceState
        */
       UNKNOWN(0),
       /**
+       *
+       *
        * 
        * Policy is compliant.
        * The policy is compliant if all the underlying resources are also
@@ -435,6 +539,8 @@ public enum ComplianceState
        */
       COMPLIANT(1),
       /**
+       *
+       *
        * 
        * Policy is non-compliant.
        * The policy is non-compliant if one or more underlying resources are
@@ -448,6 +554,8 @@ public enum ComplianceState
       ;
 
       /**
+       *
+       *
        * 
        * The policy is in an unknown compliance state.
        * Refer to the field `compliance_state_reason` to learn the exact reason
@@ -458,6 +566,8 @@ public enum ComplianceState
        */
       public static final int UNKNOWN_VALUE = 0;
       /**
+       *
+       *
        * 
        * Policy is compliant.
        * The policy is compliant if all the underlying resources are also
@@ -468,6 +578,8 @@ public enum ComplianceState
        */
       public static final int COMPLIANT_VALUE = 1;
       /**
+       *
+       *
        * 
        * Policy is non-compliant.
        * The policy is non-compliant if one or more underlying resources are
@@ -478,7 +590,6 @@ public enum ComplianceState
        */
       public static final int NON_COMPLIANT_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -503,10 +614,14 @@ public static ComplianceState valueOf(int value) {
        */
       public static ComplianceState forNumber(int value) {
         switch (value) {
-          case 0: return UNKNOWN;
-          case 1: return COMPLIANT;
-          case 2: return NON_COMPLIANT;
-          default: return null;
+          case 0:
+            return UNKNOWN;
+          case 1:
+            return COMPLIANT;
+          case 2:
+            return NON_COMPLIANT;
+          default:
+            return null;
         }
       }
 
@@ -514,29 +629,32 @@ public static ComplianceState forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          ComplianceState> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public ComplianceState findValueByNumber(int number) {
-                return ComplianceState.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap
+          internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap() {
+                public ComplianceState findValueByNumber(int number) {
+                  return ComplianceState.forNumber(number);
+                }
+              };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance
+            .getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final ComplianceState[] VALUES = values();
@@ -544,8 +662,7 @@ public ComplianceState findValueByNumber(int number) {
       public static ComplianceState valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -562,99 +679,147 @@ private ComplianceState(int value) {
       // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState)
     }
 
-    public interface OSPolicyResourceComplianceOrBuilder extends
+    public interface OSPolicyResourceComplianceOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * The ID of the OS policy resource.
        * 
* * string os_policy_resource_id = 1; + * * @return The osPolicyResourceId. */ java.lang.String getOsPolicyResourceId(); /** + * + * *
        * The ID of the OS policy resource.
        * 
* * string os_policy_resource_id = 1; + * * @return The bytes for osPolicyResourceId. */ - com.google.protobuf.ByteString - getOsPolicyResourceIdBytes(); + com.google.protobuf.ByteString getOsPolicyResourceIdBytes(); /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - java.util.List + java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> getConfigStepsList(); /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getConfigSteps(int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + getConfigSteps(int index); /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ int getConfigStepsCount(); /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> getConfigStepsOrBuilderList(); /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder( - int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder + getConfigStepsOrBuilder(int index); /** + * + * *
        * The compliance state of the resource.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * * @return The enum numeric value on the wire for complianceState. */ int getComplianceStateValue(); /** + * + * *
        * The compliance state of the resource.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * * @return The complianceState. */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState getComplianceState(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState + getComplianceState(); /** + * + * *
        * A reason for the resource to be in the given compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -671,10 +836,13 @@ com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OS
        * 
* * string compliance_state_reason = 4; + * * @return The complianceStateReason. */ java.lang.String getComplianceStateReason(); /** + * + * *
        * A reason for the resource to be in the given compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -691,56 +859,82 @@ com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OS
        * 
* * string compliance_state_reason = 4; + * * @return The bytes for complianceStateReason. */ - com.google.protobuf.ByteString - getComplianceStateReasonBytes(); + com.google.protobuf.ByteString getComplianceStateReasonBytes(); /** + * + * *
        * ExecResource specific output.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * * @return Whether the execResourceOutput field is set. */ boolean hasExecResourceOutput(); /** + * + * *
        * ExecResource specific output.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * * @return The execResourceOutput. */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + getExecResourceOutput(); /** + * + * *
        * ExecResource specific output.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder + getExecResourceOutputOrBuilder(); - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OutputCase getOutputCase(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OutputCase + getOutputCase(); } /** + * + * *
      * Compliance data for an OS policy resource.
      * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance} */ - public static final class OSPolicyResourceCompliance extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class OSPolicyResourceCompliance + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) OSPolicyResourceComplianceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSPolicyResourceCompliance.newBuilder() to construct. - private OSPolicyResourceCompliance(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private OSPolicyResourceCompliance( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OSPolicyResourceCompliance() { osPolicyResourceId_ = ""; configSteps_ = java.util.Collections.emptyList(); @@ -750,16 +944,15 @@ private OSPolicyResourceCompliance() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OSPolicyResourceCompliance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OSPolicyResourceCompliance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -779,54 +972,81 @@ private OSPolicyResourceCompliance( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyResourceId_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - configSteps_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + osPolicyResourceId_ = s; + break; } - configSteps_.add( - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.parser(), extensionRegistry)); - break; - } - case 24: { - int rawValue = input.readEnum(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + configSteps_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyCompliance.OSPolicyResourceCompliance + .OSPolicyResourceConfigStep>(); + mutable_bitField0_ |= 0x00000001; + } + configSteps_.add( + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyCompliance.OSPolicyResourceCompliance + .OSPolicyResourceConfigStep.parser(), + extensionRegistry)); + break; + } + case 24: + { + int rawValue = input.readEnum(); - complianceState_ = rawValue; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + complianceState_ = rawValue; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - complianceStateReason_ = s; - break; - } - case 42: { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder subBuilder = null; - if (outputCase_ == 5) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_).toBuilder(); + complianceStateReason_ = s; + break; } - output_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_); - output_ = subBuilder.buildPartial(); + case 42: + { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.Builder + subBuilder = null; + if (outputCase_ == 5) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyCompliance.OSPolicyResourceCompliance + .ExecResourceOutput) + output_) + .toBuilder(); + } + output_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) + output_); + output_ = subBuilder.buildPartial(); + } + outputCase_ = 5; + break; } - outputCase_ = 5; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -834,8 +1054,8 @@ private OSPolicyResourceCompliance( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { configSteps_ = java.util.Collections.unmodifiableList(configSteps_); @@ -844,29 +1064,38 @@ private OSPolicyResourceCompliance( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.class, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder.class); } /** + * + * *
        * Possible compliance states for a resource.
        * 
* - * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState} + * Protobuf enum {@code + * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState} */ - public enum ComplianceState - implements com.google.protobuf.ProtocolMessageEnum { + public enum ComplianceState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
          * The resource is in an unknown compliance state.
          * To get more details about why the policy is in this state, review
@@ -877,6 +1106,8 @@ public enum ComplianceState
          */
         UNKNOWN(0),
         /**
+         *
+         *
          * 
          * Resource is compliant.
          * 
@@ -885,6 +1116,8 @@ public enum ComplianceState */ COMPLIANT(1), /** + * + * *
          * Resource is non-compliant.
          * 
@@ -896,6 +1129,8 @@ public enum ComplianceState ; /** + * + * *
          * The resource is in an unknown compliance state.
          * To get more details about why the policy is in this state, review
@@ -906,6 +1141,8 @@ public enum ComplianceState
          */
         public static final int UNKNOWN_VALUE = 0;
         /**
+         *
+         *
          * 
          * Resource is compliant.
          * 
@@ -914,6 +1151,8 @@ public enum ComplianceState */ public static final int COMPLIANT_VALUE = 1; /** + * + * *
          * Resource is non-compliant.
          * 
@@ -922,7 +1161,6 @@ public enum ComplianceState */ public static final int NON_COMPLIANT_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -947,10 +1185,14 @@ public static ComplianceState valueOf(int value) { */ public static ComplianceState forNumber(int value) { switch (value) { - case 0: return UNKNOWN; - case 1: return COMPLIANT; - case 2: return NON_COMPLIANT; - default: return null; + case 0: + return UNKNOWN; + case 1: + return COMPLIANT; + case 2: + return NON_COMPLIANT; + default: + return null; } } @@ -958,29 +1200,32 @@ public static ComplianceState forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ComplianceState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ComplianceState findValueByNumber(int number) { - return ComplianceState.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ComplianceState findValueByNumber(int number) { + return ComplianceState.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.getDescriptor() + .getEnumTypes() + .get(0); } private static final ComplianceState[] VALUES = values(); @@ -989,7 +1234,7 @@ public static ComplianceState valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -1006,68 +1251,92 @@ private ComplianceState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState) } - public interface OSPolicyResourceConfigStepOrBuilder extends + public interface OSPolicyResourceConfigStepOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Configuration step type.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
          * Configuration step type.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * * @return The type. */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type getType(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type + getType(); /** + * + * *
          * An error message recorded during the execution of this step.
          * Only populated if errors were encountered during this step execution.
          * 
* * string error_message = 2; + * * @return The errorMessage. */ java.lang.String getErrorMessage(); /** + * + * *
          * An error message recorded during the execution of this step.
          * Only populated if errors were encountered during this step execution.
          * 
* * string error_message = 2; + * * @return The bytes for errorMessage. */ - com.google.protobuf.ByteString - getErrorMessageBytes(); + com.google.protobuf.ByteString getErrorMessageBytes(); } /** + * + * *
        * Step performed by the OS Config agent for configuring an
        * `OSPolicy` resource to its desired state.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep} */ - public static final class OSPolicyResourceConfigStep extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class OSPolicyResourceConfigStep + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) OSPolicyResourceConfigStepOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSPolicyResourceConfigStep.newBuilder() to construct. - private OSPolicyResourceConfigStep(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private OSPolicyResourceConfigStep( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OSPolicyResourceConfigStep() { type_ = 0; errorMessage_ = ""; @@ -1075,16 +1344,15 @@ private OSPolicyResourceConfigStep() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OSPolicyResourceConfigStep(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OSPolicyResourceConfigStep( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1103,25 +1371,27 @@ private OSPolicyResourceConfigStep( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + type_ = rawValue; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - errorMessage_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + errorMessage_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1129,36 +1399,45 @@ private OSPolicyResourceConfigStep( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.class, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder.class); } /** + * + * *
          * Supported configuration step types
          * 
* - * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type} + * Protobuf enum {@code + * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
            * Default value. This value is unused.
            * 
@@ -1167,6 +1446,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
            * Checks for resource conflicts such as schema errors.
            * 
@@ -1175,6 +1456,8 @@ public enum Type */ VALIDATION(1), /** + * + * *
            * Checks the current status of the desired state for a resource.
            * 
@@ -1183,6 +1466,8 @@ public enum Type */ DESIRED_STATE_CHECK(2), /** + * + * *
            * Enforces the desired state for a resource that is not in desired
            * state.
@@ -1192,6 +1477,8 @@ public enum Type
            */
           DESIRED_STATE_ENFORCEMENT(3),
           /**
+           *
+           *
            * 
            * Re-checks the status of the desired state. This check is done
            * for a resource after the enforcement of all OS policies.
@@ -1208,6 +1495,8 @@ public enum Type
           ;
 
           /**
+           *
+           *
            * 
            * Default value. This value is unused.
            * 
@@ -1216,6 +1505,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
            * Checks for resource conflicts such as schema errors.
            * 
@@ -1224,6 +1515,8 @@ public enum Type */ public static final int VALIDATION_VALUE = 1; /** + * + * *
            * Checks the current status of the desired state for a resource.
            * 
@@ -1232,6 +1525,8 @@ public enum Type */ public static final int DESIRED_STATE_CHECK_VALUE = 2; /** + * + * *
            * Enforces the desired state for a resource that is not in desired
            * state.
@@ -1241,6 +1536,8 @@ public enum Type
            */
           public static final int DESIRED_STATE_ENFORCEMENT_VALUE = 3;
           /**
+           *
+           *
            * 
            * Re-checks the status of the desired state. This check is done
            * for a resource after the enforcement of all OS policies.
@@ -1254,7 +1551,6 @@ public enum Type
            */
           public static final int DESIRED_STATE_CHECK_POST_ENFORCEMENT_VALUE = 4;
 
-
           public final int getNumber() {
             if (this == UNRECOGNIZED) {
               throw new java.lang.IllegalArgumentException(
@@ -1279,51 +1575,57 @@ public static Type valueOf(int value) {
            */
           public static Type forNumber(int value) {
             switch (value) {
-              case 0: return TYPE_UNSPECIFIED;
-              case 1: return VALIDATION;
-              case 2: return DESIRED_STATE_CHECK;
-              case 3: return DESIRED_STATE_ENFORCEMENT;
-              case 4: return DESIRED_STATE_CHECK_POST_ENFORCEMENT;
-              default: return null;
+              case 0:
+                return TYPE_UNSPECIFIED;
+              case 1:
+                return VALIDATION;
+              case 2:
+                return DESIRED_STATE_CHECK;
+              case 3:
+                return DESIRED_STATE_ENFORCEMENT;
+              case 4:
+                return DESIRED_STATE_CHECK_POST_ENFORCEMENT;
+              default:
+                return null;
             }
           }
 
-          public static com.google.protobuf.Internal.EnumLiteMap
-              internalGetValueMap() {
+          public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
             return internalValueMap;
           }
-          private static final com.google.protobuf.Internal.EnumLiteMap<
-              Type> internalValueMap =
-                new com.google.protobuf.Internal.EnumLiteMap() {
-                  public Type findValueByNumber(int number) {
-                    return Type.forNumber(number);
-                  }
-                };
 
-          public final com.google.protobuf.Descriptors.EnumValueDescriptor
-              getValueDescriptor() {
+          private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap() {
+                public Type findValueByNumber(int number) {
+                  return Type.forNumber(number);
+                }
+              };
+
+          public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
             if (this == UNRECOGNIZED) {
               throw new java.lang.IllegalStateException(
                   "Can't get the descriptor of an unrecognized enum value.");
             }
             return getDescriptor().getValues().get(ordinal());
           }
-          public final com.google.protobuf.Descriptors.EnumDescriptor
-              getDescriptorForType() {
+
+          public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
             return getDescriptor();
           }
-          public static final com.google.protobuf.Descriptors.EnumDescriptor
-              getDescriptor() {
-            return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDescriptor().getEnumTypes().get(0);
+
+          public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+            return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance
+                .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDescriptor()
+                .getEnumTypes()
+                .get(0);
           }
 
           private static final Type[] VALUES = values();
 
-          public static Type valueOf(
-              com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+          public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
             if (desc.getType() != getDescriptor()) {
               throw new java.lang.IllegalArgumentException(
-                "EnumValueDescriptor is not for this type.");
+                  "EnumValueDescriptor is not for this type.");
             }
             if (desc.getIndex() == -1) {
               return UNRECOGNIZED;
@@ -1343,39 +1645,63 @@ private Type(int value) {
         public static final int TYPE_FIELD_NUMBER = 1;
         private int type_;
         /**
+         *
+         *
          * 
          * Configuration step type.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
          * Configuration step type.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type getType() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type + getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.valueOf(type_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type + result = + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.valueOf(type_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.UNRECOGNIZED + : result; } public static final int ERROR_MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object errorMessage_; /** + * + * *
          * An error message recorded during the execution of this step.
          * Only populated if errors were encountered during this step execution.
          * 
* * string error_message = 2; + * * @return The errorMessage. */ @java.lang.Override @@ -1384,30 +1710,30 @@ public java.lang.String getErrorMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } } /** + * + * *
          * An error message recorded during the execution of this step.
          * Only populated if errors were encountered during this step execution.
          * 
* * string error_message = 2; + * * @return The bytes for errorMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getErrorMessageBytes() { + public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -1416,6 +1742,7 @@ public java.lang.String getErrorMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1428,8 +1755,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED.getNumber()) { + throws java.io.IOException { + if (type_ + != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { @@ -1444,9 +1774,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMessage_); @@ -1459,16 +1791,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + other = + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep) + obj; if (type_ != other.type_) return false; - if (!getErrorMessage() - .equals(other.getErrorMessage())) return false; + if (!getErrorMessage().equals(other.getErrorMessage())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1489,88 +1828,119 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1580,45 +1950,54 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Step performed by the OS Config agent for configuring an
          * `OSPolicy` resource to its desired state.
          * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.class, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1630,19 +2009,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep build() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + build() { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1650,8 +2036,15 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep(this); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + result = + new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep( + this); result.type_ = type_; result.errorMessage_ = errorMessage_; onBuilt(); @@ -1662,46 +2055,61 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()) + return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -1724,11 +2132,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1740,73 +2153,111 @@ public Builder mergeFrom( private int type_ = 0; /** + * + * *
            * Configuration step type.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
            * Configuration step type.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
            * Configuration step type.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * * @return The type. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type getType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type + getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.valueOf(type_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type + result = + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.valueOf(type_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type.UNRECOGNIZED + : result; } /** + * + * *
            * Configuration step type.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type value) { + public Builder setType( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type + value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
            * Configuration step type.
            * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type type = 1; + * + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1814,19 +2265,21 @@ public Builder clearType() { private java.lang.Object errorMessage_ = ""; /** + * + * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; + * * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; @@ -1835,21 +2288,22 @@ public java.lang.String getErrorMessage() { } } /** + * + * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; + * * @return The bytes for errorMessage. */ - public com.google.protobuf.ByteString - getErrorMessageBytes() { + public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -1857,61 +2311,69 @@ public java.lang.String getErrorMessage() { } } /** + * + * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; + * * @param value The errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessage( - java.lang.String value) { + public Builder setErrorMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorMessage_ = value; onChanged(); return this; } /** + * + * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; + * * @return This builder for chaining. */ public Builder clearErrorMessage() { - + errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** + * + * *
            * An error message recorded during the execution of this step.
            * Only populated if errors were encountered during this step execution.
            * 
* * string error_message = 2; + * * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorMessage_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1924,30 +2386,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyResourceConfigStep parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyResourceConfigStep(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyResourceConfigStep parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyResourceConfigStep(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1959,59 +2427,67 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ExecResourceOutputOrBuilder extends + public interface ExecResourceOutputOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Output from enforcement phase output file (if run).
          * Output size is limited to 100K bytes.
          * 
* * bytes enforcement_output = 2; + * * @return The enforcementOutput. */ com.google.protobuf.ByteString getEnforcementOutput(); } /** + * + * *
        * ExecResource specific output.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput} */ - public static final class ExecResourceOutput extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ExecResourceOutput extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) ExecResourceOutputOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecResourceOutput.newBuilder() to construct. private ExecResourceOutput(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExecResourceOutput() { enforcementOutput_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExecResourceOutput(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExecResourceOutput( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2030,18 +2506,18 @@ private ExecResourceOutput( case 0: done = true; break; - case 18: { - - enforcementOutput_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + enforcementOutput_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2049,35 +2525,43 @@ private ExecResourceOutput( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.class, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); } public static final int ENFORCEMENT_OUTPUT_FIELD_NUMBER = 2; private com.google.protobuf.ByteString enforcementOutput_; /** + * + * *
          * Output from enforcement phase output file (if run).
          * Output size is limited to 100K bytes.
          * 
* * bytes enforcement_output = 2; + * * @return The enforcementOutput. */ @java.lang.Override @@ -2086,6 +2570,7 @@ public com.google.protobuf.ByteString getEnforcementOutput() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2098,7 +2583,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!enforcementOutput_.isEmpty()) { output.writeBytes(2, enforcementOutput_); } @@ -2112,8 +2597,7 @@ public int getSerializedSize() { size = 0; if (!enforcementOutput_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, enforcementOutput_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, enforcementOutput_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2123,15 +2607,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + other = + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + obj; - if (!getEnforcementOutput() - .equals(other.getEnforcementOutput())) return false; + if (!getEnforcementOutput().equals(other.getEnforcementOutput())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2150,88 +2641,119 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2241,44 +2763,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * ExecResource specific output.
          * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.class, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2288,19 +2819,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput build() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + build() { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2308,8 +2846,14 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput(this); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + result = + new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput(this); result.enforcementOutput_ = enforcementOutput_; onBuilt(); return result; @@ -2319,46 +2863,61 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) + return this; if (other.getEnforcementOutput() != com.google.protobuf.ByteString.EMPTY) { setEnforcementOutput(other.getEnforcementOutput()); } @@ -2377,11 +2936,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2391,14 +2955,18 @@ public Builder mergeFrom( return this; } - private com.google.protobuf.ByteString enforcementOutput_ = com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString enforcementOutput_ = + com.google.protobuf.ByteString.EMPTY; /** + * + * *
            * Output from enforcement phase output file (if run).
            * Output size is limited to 100K bytes.
            * 
* * bytes enforcement_output = 2; + * * @return The enforcementOutput. */ @java.lang.Override @@ -2406,39 +2974,46 @@ public com.google.protobuf.ByteString getEnforcementOutput() { return enforcementOutput_; } /** + * + * *
            * Output from enforcement phase output file (if run).
            * Output size is limited to 100K bytes.
            * 
* * bytes enforcement_output = 2; + * * @param value The enforcementOutput to set. * @return This builder for chaining. */ public Builder setEnforcementOutput(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + enforcementOutput_ = value; onChanged(); return this; } /** + * + * *
            * Output from enforcement phase output file (if run).
            * Output size is limited to 100K bytes.
            * 
* * bytes enforcement_output = 2; + * * @return This builder for chaining. */ public Builder clearEnforcementOutput() { - + enforcementOutput_ = getDefaultInstance().getEnforcementOutput(); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2451,30 +3026,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecResourceOutput parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecResourceOutput(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecResourceOutput parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecResourceOutput(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2486,20 +3067,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int outputCase_ = 0; private java.lang.Object output_; + public enum OutputCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { EXEC_RESOURCE_OUTPUT(5), OUTPUT_NOT_SET(0); private final int value; + private OutputCase(int value) { this.value = value; } @@ -2515,30 +3100,35 @@ public static OutputCase valueOf(int value) { public static OutputCase forNumber(int value) { switch (value) { - case 5: return EXEC_RESOURCE_OUTPUT; - case 0: return OUTPUT_NOT_SET; - default: return null; + case 5: + return EXEC_RESOURCE_OUTPUT; + case 0: + return OUTPUT_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OutputCase - getOutputCase() { - return OutputCase.forNumber( - outputCase_); + public OutputCase getOutputCase() { + return OutputCase.forNumber(outputCase_); } public static final int OS_POLICY_RESOURCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object osPolicyResourceId_; /** + * + * *
        * The ID of the OS policy resource.
        * 
* * string os_policy_resource_id = 1; + * * @return The osPolicyResourceId. */ @java.lang.Override @@ -2547,29 +3137,29 @@ public java.lang.String getOsPolicyResourceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyResourceId_ = s; return s; } } /** + * + * *
        * The ID of the OS policy resource.
        * 
* * string os_policy_resource_id = 1; + * * @return The bytes for osPolicyResourceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsPolicyResourceIdBytes() { + public com.google.protobuf.ByteString getOsPolicyResourceIdBytes() { java.lang.Object ref = osPolicyResourceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyResourceId_ = b; return b; } else { @@ -2578,100 +3168,155 @@ public java.lang.String getOsPolicyResourceId() { } public static final int CONFIG_STEPS_FIELD_NUMBER = 2; - private java.util.List configSteps_; + private java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> + configSteps_; /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ @java.lang.Override - public java.util.List getConfigStepsList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> + getConfigStepsList() { return configSteps_; } /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> getConfigStepsOrBuilderList() { return configSteps_; } /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ @java.lang.Override public int getConfigStepsCount() { return configSteps_.size(); } /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getConfigSteps(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + getConfigSteps(int index) { return configSteps_.get(index); } /** + * + * *
        * Ordered list of configuration completed by the agent for the OS policy
        * resource.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder + getConfigStepsOrBuilder(int index) { return configSteps_.get(index); } public static final int COMPLIANCE_STATE_FIELD_NUMBER = 3; private int complianceState_; /** + * + * *
        * The compliance state of the resource.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * * @return The enum numeric value on the wire for complianceState. */ - @java.lang.Override public int getComplianceStateValue() { + @java.lang.Override + public int getComplianceStateValue() { return complianceState_; } /** + * + * *
        * The compliance state of the resource.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * * @return The complianceState. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState getComplianceState() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState + getComplianceState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.valueOf(complianceState_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState + result = + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState.valueOf(complianceState_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState.UNRECOGNIZED + : result; } public static final int COMPLIANCE_STATE_REASON_FIELD_NUMBER = 4; private volatile java.lang.Object complianceStateReason_; /** + * + * *
        * A reason for the resource to be in the given compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -2688,6 +3333,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli
        * 
* * string compliance_state_reason = 4; + * * @return The complianceStateReason. */ @java.lang.Override @@ -2696,14 +3342,15 @@ public java.lang.String getComplianceStateReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); complianceStateReason_ = s; return s; } } /** + * + * *
        * A reason for the resource to be in the given compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -2720,16 +3367,15 @@ public java.lang.String getComplianceStateReason() {
        * 
* * string compliance_state_reason = 4; + * * @return The bytes for complianceStateReason. */ @java.lang.Override - public com.google.protobuf.ByteString - getComplianceStateReasonBytes() { + public com.google.protobuf.ByteString getComplianceStateReasonBytes() { java.lang.Object ref = complianceStateReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); complianceStateReason_ = b; return b; } else { @@ -2739,11 +3385,16 @@ public java.lang.String getComplianceStateReason() { public static final int EXEC_RESOURCE_OUTPUT_FIELD_NUMBER = 5; /** + * + * *
        * ExecResource specific output.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * * @return Whether the execResourceOutput field is set. */ @java.lang.Override @@ -2751,36 +3402,56 @@ public boolean hasExecResourceOutput() { return outputCase_ == 5; } /** + * + * *
        * ExecResource specific output.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * * @return The execResourceOutput. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + getExecResourceOutput() { if (outputCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_; + return (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + output_; } - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } /** + * + * *
        * ExecResource specific output.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder + getExecResourceOutputOrBuilder() { if (outputCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_; + return (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + output_; } - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2792,22 +3463,28 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyResourceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osPolicyResourceId_); } for (int i = 0; i < configSteps_.size(); i++) { output.writeMessage(2, configSteps_.get(i)); } - if (complianceState_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.UNKNOWN.getNumber()) { + if (complianceState_ + != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState.UNKNOWN + .getNumber()) { output.writeEnum(3, complianceState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(complianceStateReason_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, complianceStateReason_); } if (outputCase_ == 5) { - output.writeMessage(5, (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_); + output.writeMessage( + 5, + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + output_); } unknownFields.writeTo(output); } @@ -2822,19 +3499,25 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, osPolicyResourceId_); } for (int i = 0; i < configSteps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, configSteps_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, configSteps_.get(i)); } - if (complianceState_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, complianceState_); + if (complianceState_ + != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState.UNKNOWN + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, complianceState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(complianceStateReason_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, complianceStateReason_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(4, complianceStateReason_); } if (outputCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + output_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2844,25 +3527,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + other = + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance) + obj; - if (!getOsPolicyResourceId() - .equals(other.getOsPolicyResourceId())) return false; - if (!getConfigStepsList() - .equals(other.getConfigStepsList())) return false; + if (!getOsPolicyResourceId().equals(other.getOsPolicyResourceId())) return false; + if (!getConfigStepsList().equals(other.getConfigStepsList())) return false; if (complianceState_ != other.complianceState_) return false; - if (!getComplianceStateReason() - .equals(other.getComplianceStateReason())) return false; + if (!getComplianceStateReason().equals(other.getComplianceStateReason())) return false; if (!getOutputCase().equals(other.getOutputCase())) return false; switch (outputCase_) { case 5: - if (!getExecResourceOutput() - .equals(other.getExecResourceOutput())) return false; + if (!getExecResourceOutput().equals(other.getExecResourceOutput())) return false; break; case 0: default: @@ -2901,88 +3588,117 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2992,45 +3708,55 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Compliance data for an OS policy resource.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.class, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getConfigStepsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -3052,19 +3778,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance build() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + build() { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3072,8 +3805,14 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance(this); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + result = + new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance(this); int from_bitField0_ = bitField0_; result.osPolicyResourceId_ = osPolicyResourceId_; if (configStepsBuilder_ == null) { @@ -3103,46 +3842,60 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.getDefaultInstance()) return this; if (!other.getOsPolicyResourceId().isEmpty()) { osPolicyResourceId_ = other.osPolicyResourceId_; onChanged(); @@ -3165,9 +3918,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentRep configStepsBuilder_ = null; configSteps_ = other.configSteps_; bitField0_ = (bitField0_ & ~0x00000001); - configStepsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getConfigStepsFieldBuilder() : null; + configStepsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getConfigStepsFieldBuilder() + : null; } else { configStepsBuilder_.addAllMessages(other.configSteps_); } @@ -3181,13 +3935,15 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentRep onChanged(); } switch (other.getOutputCase()) { - case EXEC_RESOURCE_OUTPUT: { - mergeExecResourceOutput(other.getExecResourceOutput()); - break; - } - case OUTPUT_NOT_SET: { - break; - } + case EXEC_RESOURCE_OUTPUT: + { + mergeExecResourceOutput(other.getExecResourceOutput()); + break; + } + case OUTPUT_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -3204,11 +3960,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3217,12 +3978,12 @@ public Builder mergeFrom( } return this; } + private int outputCase_ = 0; private java.lang.Object output_; - public OutputCase - getOutputCase() { - return OutputCase.forNumber( - outputCase_); + + public OutputCase getOutputCase() { + return OutputCase.forNumber(outputCase_); } public Builder clearOutput() { @@ -3236,18 +3997,20 @@ public Builder clearOutput() { private java.lang.Object osPolicyResourceId_ = ""; /** + * + * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; + * * @return The osPolicyResourceId. */ public java.lang.String getOsPolicyResourceId() { java.lang.Object ref = osPolicyResourceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyResourceId_ = s; return s; @@ -3256,20 +4019,21 @@ public java.lang.String getOsPolicyResourceId() { } } /** + * + * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; + * * @return The bytes for osPolicyResourceId. */ - public com.google.protobuf.ByteString - getOsPolicyResourceIdBytes() { + public com.google.protobuf.ByteString getOsPolicyResourceIdBytes() { java.lang.Object ref = osPolicyResourceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyResourceId_ = b; return b; } else { @@ -3277,80 +4041,106 @@ public java.lang.String getOsPolicyResourceId() { } } /** + * + * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; + * * @param value The osPolicyResourceId to set. * @return This builder for chaining. */ - public Builder setOsPolicyResourceId( - java.lang.String value) { + public Builder setOsPolicyResourceId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyResourceId_ = value; onChanged(); return this; } /** + * + * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; + * * @return This builder for chaining. */ public Builder clearOsPolicyResourceId() { - + osPolicyResourceId_ = getDefaultInstance().getOsPolicyResourceId(); onChanged(); return this; } /** + * + * *
          * The ID of the OS policy resource.
          * 
* * string os_policy_resource_id = 1; + * * @param value The bytes for osPolicyResourceId to set. * @return This builder for chaining. */ - public Builder setOsPolicyResourceIdBytes( - com.google.protobuf.ByteString value) { + public Builder setOsPolicyResourceIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyResourceId_ = value; onChanged(); return this; } - private java.util.List configSteps_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> + configSteps_ = java.util.Collections.emptyList(); + private void ensureConfigStepsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - configSteps_ = new java.util.ArrayList(configSteps_); + configSteps_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep>(configSteps_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> configStepsBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> + configStepsBuilder_; /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - public java.util.List getConfigStepsList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep> + getConfigStepsList() { if (configStepsBuilder_ == null) { return java.util.Collections.unmodifiableList(configSteps_); } else { @@ -3358,12 +4148,16 @@ public java.util.List * Ordered list of configuration completed by the agent for the OS policy * resource. *
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ public int getConfigStepsCount() { if (configStepsBuilder_ == null) { @@ -3373,14 +4167,20 @@ public int getConfigStepsCount() { } } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getConfigSteps(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + getConfigSteps(int index) { if (configStepsBuilder_ == null) { return configSteps_.get(index); } else { @@ -3388,15 +4188,22 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli } } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder setConfigSteps( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep value) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + value) { if (configStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3410,15 +4217,22 @@ public Builder setConfigSteps( return this; } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder setConfigSteps( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder + builderForValue) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); configSteps_.set(index, builderForValue.build()); @@ -3429,14 +4243,21 @@ public Builder setConfigSteps( return this; } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - public Builder addConfigSteps(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep value) { + public Builder addConfigSteps( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + value) { if (configStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3450,15 +4271,22 @@ public Builder addConfigSteps(com.google.cloud.osconfig.v1alpha.OSPolicyAssignme return this; } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder addConfigSteps( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep value) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep + value) { if (configStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3472,15 +4300,21 @@ public Builder addConfigSteps( return this; } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder addConfigSteps( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder + builderForValue) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); configSteps_.add(builderForValue.build()); @@ -3491,15 +4325,22 @@ public Builder addConfigSteps( return this; } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder addConfigSteps( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder + builderForValue) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); configSteps_.add(index, builderForValue.build()); @@ -3510,19 +4351,27 @@ public Builder addConfigSteps( return this; } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder addAllConfigSteps( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyCompliance.OSPolicyResourceCompliance + .OSPolicyResourceConfigStep> + values) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, configSteps_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, configSteps_); onChanged(); } else { configStepsBuilder_.addAllMessages(values); @@ -3530,12 +4379,16 @@ public Builder addAllConfigSteps( return this; } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder clearConfigSteps() { if (configStepsBuilder_ == null) { @@ -3548,12 +4401,16 @@ public Builder clearConfigSteps() { return this; } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder removeConfigSteps(int index) { if (configStepsBuilder_ == null) { @@ -3566,42 +4423,60 @@ public Builder removeConfigSteps(int index) { return this; } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder getConfigStepsBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder + getConfigStepsBuilder(int index) { return getConfigStepsFieldBuilder().getBuilder(index); } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder + getConfigStepsOrBuilder(int index) { if (configStepsBuilder_ == null) { - return configSteps_.get(index); } else { + return configSteps_.get(index); + } else { return configStepsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - public java.util.List - getConfigStepsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> + getConfigStepsOrBuilderList() { if (configStepsBuilder_ != null) { return configStepsBuilder_.getMessageOrBuilderList(); } else { @@ -3609,48 +4484,82 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli } } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder addConfigStepsBuilder() { - return getConfigStepsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder + addConfigStepsBuilder() { + return getConfigStepsFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()); } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder addConfigStepsBuilder( - int index) { - return getConfigStepsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder + addConfigStepsBuilder(int index) { + return getConfigStepsFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.getDefaultInstance()); } /** + * + * *
          * Ordered list of configuration completed by the agent for the OS policy
          * resource.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2; + * */ - public java.util.List - getConfigStepsBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder> + getConfigStepsBuilderList() { return getConfigStepsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> getConfigStepsFieldBuilder() { if (configStepsBuilder_ == null) { - configStepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder>( + configStepsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder>( configSteps_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3662,73 +4571,111 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli private int complianceState_ = 0; /** + * + * *
          * The compliance state of the resource.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * * @return The enum numeric value on the wire for complianceState. */ - @java.lang.Override public int getComplianceStateValue() { + @java.lang.Override + public int getComplianceStateValue() { return complianceState_; } /** + * + * *
          * The compliance state of the resource.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * * @param value The enum numeric value on the wire for complianceState to set. * @return This builder for chaining. */ public Builder setComplianceStateValue(int value) { - + complianceState_ = value; onChanged(); return this; } /** + * + * *
          * The compliance state of the resource.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * * @return The complianceState. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState getComplianceState() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState + getComplianceState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.valueOf(complianceState_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState + result = + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState.valueOf(complianceState_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState.UNRECOGNIZED + : result; } /** + * + * *
          * The compliance state of the resource.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * * @param value The complianceState to set. * @return This builder for chaining. */ - public Builder setComplianceState(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState value) { + public Builder setComplianceState( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ComplianceState + value) { if (value == null) { throw new NullPointerException(); } - + complianceState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
          * The compliance state of the resource.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3; + * + * * @return This builder for chaining. */ public Builder clearComplianceState() { - + complianceState_ = 0; onChanged(); return this; @@ -3736,6 +4683,8 @@ public Builder clearComplianceState() { private java.lang.Object complianceStateReason_ = ""; /** + * + * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -3752,13 +4701,13 @@ public Builder clearComplianceState() {
          * 
* * string compliance_state_reason = 4; + * * @return The complianceStateReason. */ public java.lang.String getComplianceStateReason() { java.lang.Object ref = complianceStateReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); complianceStateReason_ = s; return s; @@ -3767,6 +4716,8 @@ public java.lang.String getComplianceStateReason() { } } /** + * + * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -3783,15 +4734,14 @@ public java.lang.String getComplianceStateReason() {
          * 
* * string compliance_state_reason = 4; + * * @return The bytes for complianceStateReason. */ - public com.google.protobuf.ByteString - getComplianceStateReasonBytes() { + public com.google.protobuf.ByteString getComplianceStateReasonBytes() { java.lang.Object ref = complianceStateReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); complianceStateReason_ = b; return b; } else { @@ -3799,6 +4749,8 @@ public java.lang.String getComplianceStateReason() { } } /** + * + * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -3815,20 +4767,22 @@ public java.lang.String getComplianceStateReason() {
          * 
* * string compliance_state_reason = 4; + * * @param value The complianceStateReason to set. * @return This builder for chaining. */ - public Builder setComplianceStateReason( - java.lang.String value) { + public Builder setComplianceStateReason(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + complianceStateReason_ = value; onChanged(); return this; } /** + * + * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -3845,15 +4799,18 @@ public Builder setComplianceStateReason(
          * 
* * string compliance_state_reason = 4; + * * @return This builder for chaining. */ public Builder clearComplianceStateReason() { - + complianceStateReason_ = getDefaultInstance().getComplianceStateReason(); onChanged(); return this; } /** + * + * *
          * A reason for the resource to be in the given compliance state.
          * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -3870,29 +4827,40 @@ public Builder clearComplianceStateReason() {
          * 
* * string compliance_state_reason = 4; + * * @param value The bytes for complianceStateReason to set. * @return This builder for chaining. */ - public Builder setComplianceStateReasonBytes( - com.google.protobuf.ByteString value) { + public Builder setComplianceStateReasonBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + complianceStateReason_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> execResourceOutputBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> + execResourceOutputBuilder_; /** + * + * *
          * ExecResource specific output.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * * @return Whether the execResourceOutput field is set. */ @java.lang.Override @@ -3900,35 +4868,53 @@ public boolean hasExecResourceOutput() { return outputCase_ == 5; } /** + * + * *
          * ExecResource specific output.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * * @return The execResourceOutput. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + getExecResourceOutput() { if (execResourceOutputBuilder_ == null) { if (outputCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_; + return (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + output_; } - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } else { if (outputCase_ == 5) { return execResourceOutputBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } } /** + * + * *
          * ExecResource specific output.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * */ - public Builder setExecResourceOutput(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput value) { + public Builder setExecResourceOutput( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + value) { if (execResourceOutputBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3942,14 +4928,20 @@ public Builder setExecResourceOutput(com.google.cloud.osconfig.v1alpha.OSPolicyA return this; } /** + * + * *
          * ExecResource specific output.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * */ public Builder setExecResourceOutput( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.Builder + builderForValue) { if (execResourceOutputBuilder_ == null) { output_ = builderForValue.build(); onChanged(); @@ -3960,18 +4952,33 @@ public Builder setExecResourceOutput( return this; } /** + * + * *
          * ExecResource specific output.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * */ - public Builder mergeExecResourceOutput(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput value) { + public Builder mergeExecResourceOutput( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput + value) { if (execResourceOutputBuilder_ == null) { - if (outputCase_ == 5 && - output_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) { - output_ = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_) - .mergeFrom(value).buildPartial(); + if (outputCase_ == 5 + && output_ + != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) { + output_ = + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) + output_) + .mergeFrom(value) + .buildPartial(); } else { output_ = value; } @@ -3987,11 +4994,15 @@ public Builder mergeExecResourceOutput(com.google.cloud.osconfig.v1alpha.OSPolic return this; } /** + * + * *
          * ExecResource specific output.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * */ public Builder clearExecResourceOutput() { if (execResourceOutputBuilder_ == null) { @@ -4010,58 +5021,94 @@ public Builder clearExecResourceOutput() { return this; } /** + * + * *
          * ExecResource specific output.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder getExecResourceOutputBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.Builder + getExecResourceOutputBuilder() { return getExecResourceOutputFieldBuilder().getBuilder(); } /** + * + * *
          * ExecResource specific output.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder + getExecResourceOutputOrBuilder() { if ((outputCase_ == 5) && (execResourceOutputBuilder_ != null)) { return execResourceOutputBuilder_.getMessageOrBuilder(); } else { if (outputCase_ == 5) { - return (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_; + return (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + output_; } - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } } /** + * + * *
          * ExecResource specific output.
          * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> getExecResourceOutputFieldBuilder() { if (execResourceOutputBuilder_ == null) { if (!(outputCase_ == 5)) { - output_ = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + output_ = + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); } - execResourceOutputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput) output_, + execResourceOutputBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutputOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.ExecResourceOutput) + output_, getParentForChildren(), isClean()); output_ = null; } outputCase_ = 5; - onChanged();; + onChanged(); + ; return execResourceOutputBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4074,30 +5121,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyCompliance.OSPolicyResourceCompliance + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyResourceCompliance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyResourceCompliance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyResourceCompliance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyResourceCompliance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4109,20 +5162,24 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int OS_POLICY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object osPolicyId_; /** + * + * *
      * The OS policy id
      * 
* * string os_policy_id = 1; + * * @return The osPolicyId. */ @java.lang.Override @@ -4131,29 +5188,29 @@ public java.lang.String getOsPolicyId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyId_ = s; return s; } } /** + * + * *
      * The OS policy id
      * 
* * string os_policy_id = 1; + * * @return The bytes for osPolicyId. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsPolicyIdBytes() { + public com.google.protobuf.ByteString getOsPolicyIdBytes() { java.lang.Object ref = osPolicyId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyId_ = b; return b; } else { @@ -4164,33 +5221,55 @@ public java.lang.String getOsPolicyId() { public static final int COMPLIANCE_STATE_FIELD_NUMBER = 2; private int complianceState_; /** + * + * *
      * The compliance state of the OS policy.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * * @return The enum numeric value on the wire for complianceState. */ - @java.lang.Override public int getComplianceStateValue() { + @java.lang.Override + public int getComplianceStateValue() { return complianceState_; } /** + * + * *
      * The compliance state of the OS policy.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * * @return The complianceState. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState getComplianceState() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .ComplianceState + getComplianceState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.valueOf(complianceState_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState + result = + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .ComplianceState.valueOf(complianceState_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .ComplianceState.UNRECOGNIZED + : result; } public static final int COMPLIANCE_STATE_REASON_FIELD_NUMBER = 3; private volatile java.lang.Object complianceStateReason_; /** + * + * *
      * The reason for the OS policy to be in an unknown compliance state.
      * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4213,6 +5292,7 @@ public java.lang.String getOsPolicyId() {
      * 
* * string compliance_state_reason = 3; + * * @return The complianceStateReason. */ @java.lang.Override @@ -4221,14 +5301,15 @@ public java.lang.String getComplianceStateReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); complianceStateReason_ = s; return s; } } /** + * + * *
      * The reason for the OS policy to be in an unknown compliance state.
      * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4251,16 +5332,15 @@ public java.lang.String getComplianceStateReason() {
      * 
* * string compliance_state_reason = 3; + * * @return The bytes for complianceStateReason. */ @java.lang.Override - public com.google.protobuf.ByteString - getComplianceStateReasonBytes() { + public com.google.protobuf.ByteString getComplianceStateReasonBytes() { java.lang.Object ref = complianceStateReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); complianceStateReason_ = b; return b; } else { @@ -4269,71 +5349,104 @@ public java.lang.String getComplianceStateReason() { } public static final int OS_POLICY_RESOURCE_COMPLIANCES_FIELD_NUMBER = 4; - private java.util.List osPolicyResourceCompliances_; + private java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance> + osPolicyResourceCompliances_; /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ @java.lang.Override - public java.util.List getOsPolicyResourceCompliancesList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance> + getOsPolicyResourceCompliancesList() { return osPolicyResourceCompliances_; } /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder> getOsPolicyResourceCompliancesOrBuilderList() { return osPolicyResourceCompliances_; } /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ @java.lang.Override public int getOsPolicyResourceCompliancesCount() { return osPolicyResourceCompliances_.size(); } /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + getOsPolicyResourceCompliances(int index) { return osPolicyResourceCompliances_.get(index); } /** + * + * *
      * Compliance data for each resource within the policy that is applied to
      * the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder + getOsPolicyResourceCompliancesOrBuilder(int index) { return osPolicyResourceCompliances_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4345,12 +5458,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osPolicyId_); } - if (complianceState_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.UNKNOWN.getNumber()) { + if (complianceState_ + != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .ComplianceState.UNKNOWN + .getNumber()) { output.writeEnum(2, complianceState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(complianceStateReason_)) { @@ -4371,16 +5486,19 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, osPolicyId_); } - if (complianceState_ != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, complianceState_); + if (complianceState_ + != com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .ComplianceState.UNKNOWN + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, complianceState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(complianceStateReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, complianceStateReason_); } for (int i = 0; i < osPolicyResourceCompliances_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, osPolicyResourceCompliances_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, osPolicyResourceCompliances_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4390,20 +5508,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance other = + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) obj; - if (!getOsPolicyId() - .equals(other.getOsPolicyId())) return false; + if (!getOsPolicyId().equals(other.getOsPolicyId())) return false; if (complianceState_ != other.complianceState_) return false; - if (!getComplianceStateReason() - .equals(other.getComplianceStateReason())) return false; - if (!getOsPolicyResourceCompliancesList() - .equals(other.getOsPolicyResourceCompliancesList())) return false; + if (!getComplianceStateReason().equals(other.getComplianceStateReason())) return false; + if (!getOsPolicyResourceCompliancesList().equals(other.getOsPolicyResourceCompliancesList())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4430,88 +5549,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4521,45 +5653,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Compliance data for an OS policy
      * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.class, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getOsPolicyResourceCompliancesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -4579,19 +5719,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance build() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance result = buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4599,15 +5742,18 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance(this); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance result = + new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance(this); int from_bitField0_ = bitField0_; result.osPolicyId_ = osPolicyId_; result.complianceState_ = complianceState_; result.complianceStateReason_ = complianceStateReason_; if (osPolicyResourceCompliancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); + osPolicyResourceCompliances_ = + java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); bitField0_ = (bitField0_ & ~0x00000001); } result.osPolicyResourceCompliances_ = osPolicyResourceCompliances_; @@ -4622,46 +5768,56 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .getDefaultInstance()) return this; if (!other.getOsPolicyId().isEmpty()) { osPolicyId_ = other.osPolicyId_; onChanged(); @@ -4691,11 +5847,13 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentRep osPolicyResourceCompliancesBuilder_ = null; osPolicyResourceCompliances_ = other.osPolicyResourceCompliances_; bitField0_ = (bitField0_ & ~0x00000001); - osPolicyResourceCompliancesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOsPolicyResourceCompliancesFieldBuilder() : null; + osPolicyResourceCompliancesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOsPolicyResourceCompliancesFieldBuilder() + : null; } else { - osPolicyResourceCompliancesBuilder_.addAllMessages(other.osPolicyResourceCompliances_); + osPolicyResourceCompliancesBuilder_.addAllMessages( + other.osPolicyResourceCompliances_); } } } @@ -4714,11 +5872,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4727,22 +5888,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object osPolicyId_ = ""; /** + * + * *
        * The OS policy id
        * 
* * string os_policy_id = 1; + * * @return The osPolicyId. */ public java.lang.String getOsPolicyId() { java.lang.Object ref = osPolicyId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyId_ = s; return s; @@ -4751,20 +5915,21 @@ public java.lang.String getOsPolicyId() { } } /** + * + * *
        * The OS policy id
        * 
* * string os_policy_id = 1; + * * @return The bytes for osPolicyId. */ - public com.google.protobuf.ByteString - getOsPolicyIdBytes() { + public com.google.protobuf.ByteString getOsPolicyIdBytes() { java.lang.Object ref = osPolicyId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyId_ = b; return b; } else { @@ -4772,54 +5937,61 @@ public java.lang.String getOsPolicyId() { } } /** + * + * *
        * The OS policy id
        * 
* * string os_policy_id = 1; + * * @param value The osPolicyId to set. * @return This builder for chaining. */ - public Builder setOsPolicyId( - java.lang.String value) { + public Builder setOsPolicyId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyId_ = value; onChanged(); return this; } /** + * + * *
        * The OS policy id
        * 
* * string os_policy_id = 1; + * * @return This builder for chaining. */ public Builder clearOsPolicyId() { - + osPolicyId_ = getDefaultInstance().getOsPolicyId(); onChanged(); return this; } /** + * + * *
        * The OS policy id
        * 
* * string os_policy_id = 1; + * * @param value The bytes for osPolicyId to set. * @return This builder for chaining. */ - public Builder setOsPolicyIdBytes( - com.google.protobuf.ByteString value) { + public Builder setOsPolicyIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyId_ = value; onChanged(); return this; @@ -4827,73 +5999,111 @@ public Builder setOsPolicyIdBytes( private int complianceState_ = 0; /** + * + * *
        * The compliance state of the OS policy.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * * @return The enum numeric value on the wire for complianceState. */ - @java.lang.Override public int getComplianceStateValue() { + @java.lang.Override + public int getComplianceStateValue() { return complianceState_; } /** + * + * *
        * The compliance state of the OS policy.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * * @param value The enum numeric value on the wire for complianceState to set. * @return This builder for chaining. */ public Builder setComplianceStateValue(int value) { - + complianceState_ = value; onChanged(); return this; } /** + * + * *
        * The compliance state of the OS policy.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * * @return The complianceState. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState getComplianceState() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .ComplianceState + getComplianceState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.valueOf(complianceState_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .ComplianceState + result = + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .ComplianceState.valueOf(complianceState_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .ComplianceState.UNRECOGNIZED + : result; } /** + * + * *
        * The compliance state of the OS policy.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * * @param value The complianceState to set. * @return This builder for chaining. */ - public Builder setComplianceState(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState value) { + public Builder setComplianceState( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .ComplianceState + value) { if (value == null) { throw new NullPointerException(); } - + complianceState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The compliance state of the OS policy.
        * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState compliance_state = 2; + * + * * @return This builder for chaining. */ public Builder clearComplianceState() { - + complianceState_ = 0; onChanged(); return this; @@ -4901,6 +6111,8 @@ public Builder clearComplianceState() { private java.lang.Object complianceStateReason_ = ""; /** + * + * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4923,13 +6135,13 @@ public Builder clearComplianceState() {
        * 
* * string compliance_state_reason = 3; + * * @return The complianceStateReason. */ public java.lang.String getComplianceStateReason() { java.lang.Object ref = complianceStateReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); complianceStateReason_ = s; return s; @@ -4938,6 +6150,8 @@ public java.lang.String getComplianceStateReason() { } } /** + * + * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4960,15 +6174,14 @@ public java.lang.String getComplianceStateReason() {
        * 
* * string compliance_state_reason = 3; + * * @return The bytes for complianceStateReason. */ - public com.google.protobuf.ByteString - getComplianceStateReasonBytes() { + public com.google.protobuf.ByteString getComplianceStateReasonBytes() { java.lang.Object ref = complianceStateReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); complianceStateReason_ = b; return b; } else { @@ -4976,6 +6189,8 @@ public java.lang.String getComplianceStateReason() { } } /** + * + * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -4998,20 +6213,22 @@ public java.lang.String getComplianceStateReason() {
        * 
* * string compliance_state_reason = 3; + * * @param value The complianceStateReason to set. * @return This builder for chaining. */ - public Builder setComplianceStateReason( - java.lang.String value) { + public Builder setComplianceStateReason(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + complianceStateReason_ = value; onChanged(); return this; } /** + * + * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -5034,15 +6251,18 @@ public Builder setComplianceStateReason(
        * 
* * string compliance_state_reason = 3; + * * @return This builder for chaining. */ public Builder clearComplianceStateReason() { - + complianceStateReason_ = getDefaultInstance().getComplianceStateReason(); onChanged(); return this; } /** + * + * *
        * The reason for the OS policy to be in an unknown compliance state.
        * This field is always populated when `compliance_state` is `UNKNOWN`.
@@ -5065,42 +6285,61 @@ public Builder clearComplianceStateReason() {
        * 
* * string compliance_state_reason = 3; + * * @param value The bytes for complianceStateReason to set. * @return This builder for chaining. */ - public Builder setComplianceStateReasonBytes( - com.google.protobuf.ByteString value) { + public Builder setComplianceStateReasonBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + complianceStateReason_ = value; onChanged(); return this; } - private java.util.List osPolicyResourceCompliances_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance> + osPolicyResourceCompliances_ = java.util.Collections.emptyList(); + private void ensureOsPolicyResourceCompliancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyResourceCompliances_ = new java.util.ArrayList(osPolicyResourceCompliances_); + osPolicyResourceCompliances_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance>(osPolicyResourceCompliances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder> osPolicyResourceCompliancesBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder> + osPolicyResourceCompliancesBuilder_; /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - public java.util.List getOsPolicyResourceCompliancesList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance> + getOsPolicyResourceCompliancesList() { if (osPolicyResourceCompliancesBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyResourceCompliances_); } else { @@ -5108,12 +6347,16 @@ public java.util.List * Compliance data for each resource within the policy that is applied to * the VM. *
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ public int getOsPolicyResourceCompliancesCount() { if (osPolicyResourceCompliancesBuilder_ == null) { @@ -5123,14 +6366,20 @@ public int getOsPolicyResourceCompliancesCount() { } } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + getOsPolicyResourceCompliances(int index) { if (osPolicyResourceCompliancesBuilder_ == null) { return osPolicyResourceCompliances_.get(index); } else { @@ -5138,15 +6387,22 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli } } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ public Builder setOsPolicyResourceCompliances( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance value) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + value) { if (osPolicyResourceCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5160,15 +6416,22 @@ public Builder setOsPolicyResourceCompliances( return this; } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ public Builder setOsPolicyResourceCompliances( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder + builderForValue) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); osPolicyResourceCompliances_.set(index, builderForValue.build()); @@ -5179,14 +6442,21 @@ public Builder setOsPolicyResourceCompliances( return this; } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - public Builder addOsPolicyResourceCompliances(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance value) { + public Builder addOsPolicyResourceCompliances( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + value) { if (osPolicyResourceCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5200,15 +6470,22 @@ public Builder addOsPolicyResourceCompliances(com.google.cloud.osconfig.v1alpha. return this; } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ public Builder addOsPolicyResourceCompliances( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance value) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance + value) { if (osPolicyResourceCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5222,15 +6499,21 @@ public Builder addOsPolicyResourceCompliances( return this; } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ public Builder addOsPolicyResourceCompliances( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder + builderForValue) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); osPolicyResourceCompliances_.add(builderForValue.build()); @@ -5241,15 +6524,22 @@ public Builder addOsPolicyResourceCompliances( return this; } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ public Builder addOsPolicyResourceCompliances( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder + builderForValue) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); osPolicyResourceCompliances_.add(index, builderForValue.build()); @@ -5260,15 +6550,23 @@ public Builder addOsPolicyResourceCompliances( return this; } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ public Builder addAllOsPolicyResourceCompliances( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance> + values) { if (osPolicyResourceCompliancesBuilder_ == null) { ensureOsPolicyResourceCompliancesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -5280,12 +6578,16 @@ public Builder addAllOsPolicyResourceCompliances( return this; } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ public Builder clearOsPolicyResourceCompliances() { if (osPolicyResourceCompliancesBuilder_ == null) { @@ -5298,12 +6600,16 @@ public Builder clearOsPolicyResourceCompliances() { return this; } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ public Builder removeOsPolicyResourceCompliances(int index) { if (osPolicyResourceCompliancesBuilder_ == null) { @@ -5316,42 +6622,60 @@ public Builder removeOsPolicyResourceCompliances(int index) { return this; } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder getOsPolicyResourceCompliancesBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder + getOsPolicyResourceCompliancesBuilder(int index) { return getOsPolicyResourceCompliancesFieldBuilder().getBuilder(index); } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder + getOsPolicyResourceCompliancesOrBuilder(int index) { if (osPolicyResourceCompliancesBuilder_ == null) { - return osPolicyResourceCompliances_.get(index); } else { + return osPolicyResourceCompliances_.get(index); + } else { return osPolicyResourceCompliancesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - public java.util.List - getOsPolicyResourceCompliancesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder> + getOsPolicyResourceCompliancesOrBuilderList() { if (osPolicyResourceCompliancesBuilder_ != null) { return osPolicyResourceCompliancesBuilder_.getMessageOrBuilderList(); } else { @@ -5359,48 +6683,82 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli } } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder addOsPolicyResourceCompliancesBuilder() { - return getOsPolicyResourceCompliancesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder + addOsPolicyResourceCompliancesBuilder() { + return getOsPolicyResourceCompliancesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.getDefaultInstance()); } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder addOsPolicyResourceCompliancesBuilder( - int index) { - return getOsPolicyResourceCompliancesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder + addOsPolicyResourceCompliancesBuilder(int index) { + return getOsPolicyResourceCompliancesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.getDefaultInstance()); } /** + * + * *
        * Compliance data for each resource within the policy that is applied to
        * the VM.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance os_policy_resource_compliances = 4; + * */ - public java.util.List - getOsPolicyResourceCompliancesBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder> + getOsPolicyResourceCompliancesBuilderList() { return getOsPolicyResourceCompliancesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder> getOsPolicyResourceCompliancesFieldBuilder() { if (osPolicyResourceCompliancesBuilder_ == null) { - osPolicyResourceCompliancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder>( + osPolicyResourceCompliancesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceCompliance.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .OSPolicyResourceComplianceOrBuilder>( osPolicyResourceCompliances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -5409,6 +6767,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli } return osPolicyResourceCompliancesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5421,30 +6780,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyCompliance + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyCompliance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyCompliance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyCompliance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyCompliance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5456,15 +6819,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The `OSPolicyAssignmentReport` API resource name.
    * Format:
@@ -5472,6 +6837,7 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -5480,14 +6846,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The `OSPolicyAssignmentReport` API resource name.
    * Format:
@@ -5495,16 +6862,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -5515,11 +6881,14 @@ public java.lang.String getName() { public static final int INSTANCE_FIELD_NUMBER = 2; private volatile java.lang.Object instance_; /** + * + * *
    * The Compute Engine VM instance name.
    * 
* * string instance = 2; + * * @return The instance. */ @java.lang.Override @@ -5528,29 +6897,29 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** + * + * *
    * The Compute Engine VM instance name.
    * 
* * string instance = 2; + * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -5561,6 +6930,8 @@ public java.lang.String getInstance() { public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER = 3; private volatile java.lang.Object osPolicyAssignment_; /** + * + * *
    * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
    * belongs to.
@@ -5569,6 +6940,7 @@ public java.lang.String getInstance() {
    * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } + * * @return The osPolicyAssignment. */ @java.lang.Override @@ -5577,14 +6949,15 @@ public java.lang.String getOsPolicyAssignment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; } } /** + * + * *
    * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
    * belongs to.
@@ -5593,16 +6966,15 @@ public java.lang.String getOsPolicyAssignment() {
    * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } + * * @return The bytes for osPolicyAssignment. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -5611,73 +6983,104 @@ public java.lang.String getOsPolicyAssignment() { } public static final int OS_POLICY_COMPLIANCES_FIELD_NUMBER = 4; - private java.util.List osPolicyCompliances_; + private java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance> + osPolicyCompliances_; /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ @java.lang.Override - public java.util.List getOsPolicyCompliancesList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance> + getOsPolicyCompliancesList() { return osPolicyCompliances_; } /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyComplianceOrBuilder> getOsPolicyCompliancesOrBuilderList() { return osPolicyCompliances_; } /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ @java.lang.Override public int getOsPolicyCompliancesCount() { return osPolicyCompliances_.size(); } /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance getOsPolicyCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + getOsPolicyCompliances(int index) { return osPolicyCompliances_.get(index); } /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder + getOsPolicyCompliancesOrBuilder(int index) { return osPolicyCompliances_.get(index); } public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Timestamp for when the report was last generated.
    * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -5685,11 +7088,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Timestamp for when the report was last generated.
    * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return The updateTime. */ @java.lang.Override @@ -5697,6 +7103,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Timestamp for when the report was last generated.
    * 
@@ -5711,6 +7119,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int LAST_RUN_ID_FIELD_NUMBER = 6; private volatile java.lang.Object lastRunId_; /** + * + * *
    * Unique identifier of the last attempted run to apply the OS policies
    * associated with this assignment on the VM.
@@ -5721,6 +7131,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string last_run_id = 6; + * * @return The lastRunId. */ @java.lang.Override @@ -5729,14 +7140,15 @@ public java.lang.String getLastRunId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastRunId_ = s; return s; } } /** + * + * *
    * Unique identifier of the last attempted run to apply the OS policies
    * associated with this assignment on the VM.
@@ -5747,16 +7159,15 @@ public java.lang.String getLastRunId() {
    * 
* * string last_run_id = 6; + * * @return The bytes for lastRunId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLastRunIdBytes() { + public com.google.protobuf.ByteString getLastRunIdBytes() { java.lang.Object ref = lastRunId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lastRunId_ = b; return b; } else { @@ -5765,6 +7176,7 @@ public java.lang.String getLastRunId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5776,8 +7188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -5815,12 +7226,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, osPolicyAssignment_); } for (int i = 0; i < osPolicyCompliances_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, osPolicyCompliances_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, osPolicyCompliances_.get(i)); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lastRunId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, lastRunId_); @@ -5833,28 +7243,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport other = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport other = + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getInstance() - .equals(other.getInstance())) return false; - if (!getOsPolicyAssignment() - .equals(other.getOsPolicyAssignment())) return false; - if (!getOsPolicyCompliancesList() - .equals(other.getOsPolicyCompliancesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getInstance().equals(other.getInstance())) return false; + if (!getOsPolicyAssignment().equals(other.getOsPolicyAssignment())) return false; + if (!getOsPolicyCompliancesList().equals(other.getOsPolicyCompliancesList())) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!getLastRunId() - .equals(other.getLastRunId())) return false; + if (!getLastRunId().equals(other.getLastRunId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5888,117 +7293,127 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport 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.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A report of the OS policy assignment status for a given instance.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.class, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.class, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.newBuilder() @@ -6006,17 +7421,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getOsPolicyCompliancesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -6044,9 +7459,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportsProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor; } @java.lang.Override @@ -6065,7 +7480,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport result = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport(this); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport result = + new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.instance_ = instance_; @@ -6093,38 +7509,39 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicyAssignmentReport) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport)other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) other); } else { super.mergeFrom(other); return this; @@ -6132,7 +7549,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -6163,9 +7581,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentRep osPolicyCompliancesBuilder_ = null; osPolicyCompliances_ = other.osPolicyCompliances_; bitField0_ = (bitField0_ & ~0x00000001); - osPolicyCompliancesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOsPolicyCompliancesFieldBuilder() : null; + osPolicyCompliancesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOsPolicyCompliancesFieldBuilder() + : null; } else { osPolicyCompliancesBuilder_.addAllMessages(other.osPolicyCompliances_); } @@ -6197,7 +7616,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6206,10 +7626,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -6217,13 +7640,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6232,6 +7655,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -6239,15 +7664,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6255,6 +7679,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -6262,20 +7688,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -6283,15 +7711,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The `OSPolicyAssignmentReport` API resource name.
      * Format:
@@ -6299,16 +7730,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -6316,18 +7747,20 @@ public Builder setNameBytes( private java.lang.Object instance_ = ""; /** + * + * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; + * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -6336,20 +7769,21 @@ public java.lang.String getInstance() { } } /** + * + * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; + * * @return The bytes for instance. */ - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -6357,54 +7791,61 @@ public java.lang.String getInstance() { } } /** + * + * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; + * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance( - java.lang.String value) { + public Builder setInstance(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** + * + * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; + * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** + * + * *
      * The Compute Engine VM instance name.
      * 
* * string instance = 2; + * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -6412,6 +7853,8 @@ public Builder setInstanceBytes( private java.lang.Object osPolicyAssignment_ = ""; /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -6420,13 +7863,13 @@ public Builder setInstanceBytes(
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } + * * @return The osPolicyAssignment. */ public java.lang.String getOsPolicyAssignment() { java.lang.Object ref = osPolicyAssignment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyAssignment_ = s; return s; @@ -6435,6 +7878,8 @@ public java.lang.String getOsPolicyAssignment() { } } /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -6443,15 +7888,14 @@ public java.lang.String getOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } + * * @return The bytes for osPolicyAssignment. */ - public com.google.protobuf.ByteString - getOsPolicyAssignmentBytes() { + public com.google.protobuf.ByteString getOsPolicyAssignmentBytes() { java.lang.Object ref = osPolicyAssignment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyAssignment_ = b; return b; } else { @@ -6459,6 +7903,8 @@ public java.lang.String getOsPolicyAssignment() { } } /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -6467,20 +7913,22 @@ public java.lang.String getOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } + * * @param value The osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignment( - java.lang.String value) { + public Builder setOsPolicyAssignment(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyAssignment_ = value; onChanged(); return this; } /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -6489,15 +7937,18 @@ public Builder setOsPolicyAssignment(
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearOsPolicyAssignment() { - + osPolicyAssignment_ = getDefaultInstance().getOsPolicyAssignment(); onChanged(); return this; } /** + * + * *
      * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
      * belongs to.
@@ -6506,41 +7957,55 @@ public Builder clearOsPolicyAssignment() {
      * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for osPolicyAssignment to set. * @return This builder for chaining. */ - public Builder setOsPolicyAssignmentBytes( - com.google.protobuf.ByteString value) { + public Builder setOsPolicyAssignmentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyAssignment_ = value; onChanged(); return this; } - private java.util.List osPolicyCompliances_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance> + osPolicyCompliances_ = java.util.Collections.emptyList(); + private void ensureOsPolicyCompliancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - osPolicyCompliances_ = new java.util.ArrayList(osPolicyCompliances_); + osPolicyCompliances_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance>( + osPolicyCompliances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> osPolicyCompliancesBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> + osPolicyCompliancesBuilder_; /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - public java.util.List getOsPolicyCompliancesList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance> + getOsPolicyCompliancesList() { if (osPolicyCompliancesBuilder_ == null) { return java.util.Collections.unmodifiableList(osPolicyCompliances_); } else { @@ -6548,11 +8013,15 @@ public java.util.List * Compliance data for each `OSPolicy` that is applied to the VM. *
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ public int getOsPolicyCompliancesCount() { if (osPolicyCompliancesBuilder_ == null) { @@ -6562,13 +8031,18 @@ public int getOsPolicyCompliancesCount() { } } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance getOsPolicyCompliances(int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + getOsPolicyCompliances(int index) { if (osPolicyCompliancesBuilder_ == null) { return osPolicyCompliances_.get(index); } else { @@ -6576,14 +8050,19 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli } } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ public Builder setOsPolicyCompliances( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance value) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance value) { if (osPolicyCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6597,14 +8076,20 @@ public Builder setOsPolicyCompliances( return this; } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ public Builder setOsPolicyCompliances( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder + builderForValue) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); osPolicyCompliances_.set(index, builderForValue.build()); @@ -6615,13 +8100,18 @@ public Builder setOsPolicyCompliances( return this; } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - public Builder addOsPolicyCompliances(com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance value) { + public Builder addOsPolicyCompliances( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance value) { if (osPolicyCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6635,14 +8125,19 @@ public Builder addOsPolicyCompliances(com.google.cloud.osconfig.v1alpha.OSPolicy return this; } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ public Builder addOsPolicyCompliances( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance value) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance value) { if (osPolicyCompliancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6656,14 +8151,19 @@ public Builder addOsPolicyCompliances( return this; } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ public Builder addOsPolicyCompliances( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder + builderForValue) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); osPolicyCompliances_.add(builderForValue.build()); @@ -6674,14 +8174,20 @@ public Builder addOsPolicyCompliances( return this; } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ public Builder addOsPolicyCompliances( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder + builderForValue) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); osPolicyCompliances_.add(index, builderForValue.build()); @@ -6692,18 +8198,24 @@ public Builder addOsPolicyCompliances( return this; } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ public Builder addAllOsPolicyCompliances( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance> + values) { if (osPolicyCompliancesBuilder_ == null) { ensureOsPolicyCompliancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, osPolicyCompliances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osPolicyCompliances_); onChanged(); } else { osPolicyCompliancesBuilder_.addAllMessages(values); @@ -6711,11 +8223,15 @@ public Builder addAllOsPolicyCompliances( return this; } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ public Builder clearOsPolicyCompliances() { if (osPolicyCompliancesBuilder_ == null) { @@ -6728,11 +8244,15 @@ public Builder clearOsPolicyCompliances() { return this; } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ public Builder removeOsPolicyCompliances(int index) { if (osPolicyCompliancesBuilder_ == null) { @@ -6745,39 +8265,55 @@ public Builder removeOsPolicyCompliances(int index) { return this; } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder getOsPolicyCompliancesBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder + getOsPolicyCompliancesBuilder(int index) { return getOsPolicyCompliancesFieldBuilder().getBuilder(index); } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder + getOsPolicyCompliancesOrBuilder(int index) { if (osPolicyCompliancesBuilder_ == null) { - return osPolicyCompliances_.get(index); } else { + return osPolicyCompliances_.get(index); + } else { return osPolicyCompliancesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - public java.util.List - getOsPolicyCompliancesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyComplianceOrBuilder> + getOsPolicyCompliancesOrBuilderList() { if (osPolicyCompliancesBuilder_ != null) { return osPolicyCompliancesBuilder_.getMessageOrBuilderList(); } else { @@ -6785,45 +8321,72 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli } } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder addOsPolicyCompliancesBuilder() { - return getOsPolicyCompliancesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder + addOsPolicyCompliancesBuilder() { + return getOsPolicyCompliancesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .getDefaultInstance()); } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder addOsPolicyCompliancesBuilder( - int index) { - return getOsPolicyCompliancesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder + addOsPolicyCompliancesBuilder(int index) { + return getOsPolicyCompliancesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .getDefaultInstance()); } /** + * + * *
      * Compliance data for each `OSPolicy` that is applied to the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - public java.util.List - getOsPolicyCompliancesBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder> + getOsPolicyCompliancesBuilderList() { return getOsPolicyCompliancesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> getOsPolicyCompliancesFieldBuilder() { if (osPolicyCompliancesBuilder_ == null) { - osPolicyCompliancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder>( + osPolicyCompliancesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + .Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyComplianceOrBuilder>( osPolicyCompliances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -6835,34 +8398,47 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompli private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Timestamp for when the report was last generated.
      * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Timestamp for when the report was last generated.
      * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Timestamp for when the report was last generated.
      * 
@@ -6883,14 +8459,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Timestamp for when the report was last generated.
      * 
* * .google.protobuf.Timestamp update_time = 5; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -6901,6 +8478,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Timestamp for when the report was last generated.
      * 
@@ -6911,7 +8490,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -6923,6 +8502,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Timestamp for when the report was last generated.
      * 
@@ -6941,6 +8522,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Timestamp for when the report was last generated.
      * 
@@ -6948,11 +8531,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 5; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Timestamp for when the report was last generated.
      * 
@@ -6963,11 +8548,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Timestamp for when the report was last generated.
      * 
@@ -6975,14 +8563,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -6990,6 +8581,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object lastRunId_ = ""; /** + * + * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -7000,13 +8593,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string last_run_id = 6; + * * @return The lastRunId. */ public java.lang.String getLastRunId() { java.lang.Object ref = lastRunId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastRunId_ = s; return s; @@ -7015,6 +8608,8 @@ public java.lang.String getLastRunId() { } } /** + * + * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -7025,15 +8620,14 @@ public java.lang.String getLastRunId() {
      * 
* * string last_run_id = 6; + * * @return The bytes for lastRunId. */ - public com.google.protobuf.ByteString - getLastRunIdBytes() { + public com.google.protobuf.ByteString getLastRunIdBytes() { java.lang.Object ref = lastRunId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lastRunId_ = b; return b; } else { @@ -7041,6 +8635,8 @@ public java.lang.String getLastRunId() { } } /** + * + * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -7051,20 +8647,22 @@ public java.lang.String getLastRunId() {
      * 
* * string last_run_id = 6; + * * @param value The lastRunId to set. * @return This builder for chaining. */ - public Builder setLastRunId( - java.lang.String value) { + public Builder setLastRunId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + lastRunId_ = value; onChanged(); return this; } /** + * + * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -7075,15 +8673,18 @@ public Builder setLastRunId(
      * 
* * string last_run_id = 6; + * * @return This builder for chaining. */ public Builder clearLastRunId() { - + lastRunId_ = getDefaultInstance().getLastRunId(); onChanged(); return this; } /** + * + * *
      * Unique identifier of the last attempted run to apply the OS policies
      * associated with this assignment on the VM.
@@ -7094,23 +8695,23 @@ public Builder clearLastRunId() {
      * 
* * string last_run_id = 6; + * * @param value The bytes for lastRunId to set. * @return This builder for chaining. */ - public Builder setLastRunIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLastRunIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + lastRunId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7120,12 +8721,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) private static final com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport(); } @@ -7134,16 +8735,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyAssignmentReport parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyAssignmentReport(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyAssignmentReport parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyAssignmentReport(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7158,6 +8759,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportName.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportName.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportName.java diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportOrBuilder.java similarity index 69% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportOrBuilder.java index 1e4f4c1e..93602867 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignment_reports.proto package com.google.cloud.osconfig.v1alpha; -public interface OSPolicyAssignmentReportOrBuilder extends +public interface OSPolicyAssignmentReportOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The `OSPolicyAssignmentReport` API resource name.
    * Format:
@@ -15,10 +33,13 @@ public interface OSPolicyAssignmentReportOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The `OSPolicyAssignmentReport` API resource name.
    * Format:
@@ -26,32 +47,39 @@ public interface OSPolicyAssignmentReportOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The Compute Engine VM instance name.
    * 
* * string instance = 2; + * * @return The instance. */ java.lang.String getInstance(); /** + * + * *
    * The Compute Engine VM instance name.
    * 
* * string instance = 2; + * * @return The bytes for instance. */ - com.google.protobuf.ByteString - getInstanceBytes(); + com.google.protobuf.ByteString getInstanceBytes(); /** + * + * *
    * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
    * belongs to.
@@ -60,10 +88,13 @@ public interface OSPolicyAssignmentReportOrBuilder extends
    * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } + * * @return The osPolicyAssignment. */ java.lang.String getOsPolicyAssignment(); /** + * + * *
    * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
    * belongs to.
@@ -72,74 +103,106 @@ public interface OSPolicyAssignmentReportOrBuilder extends
    * 
* * string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... } + * * @return The bytes for osPolicyAssignment. */ - com.google.protobuf.ByteString - getOsPolicyAssignmentBytes(); + com.google.protobuf.ByteString getOsPolicyAssignmentBytes(); /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - java.util.List + java.util.List getOsPolicyCompliancesList(); /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance getOsPolicyCompliances(int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance + getOsPolicyCompliances(int index); /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ int getOsPolicyCompliancesCount(); /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport + .OSPolicyComplianceOrBuilder> getOsPolicyCompliancesOrBuilderList(); /** + * + * *
    * Compliance data for each `OSPolicy` that is applied to the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder( - int index); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder + getOsPolicyCompliancesOrBuilder(int index); /** + * + * *
    * Timestamp for when the report was last generated.
    * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Timestamp for when the report was last generated.
    * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Timestamp for when the report was last generated.
    * 
@@ -149,6 +212,8 @@ com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrB com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Unique identifier of the last attempted run to apply the OS policies
    * associated with this assignment on the VM.
@@ -159,10 +224,13 @@ com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrB
    * 
* * string last_run_id = 6; + * * @return The lastRunId. */ java.lang.String getLastRunId(); /** + * + * *
    * Unique identifier of the last attempted run to apply the OS policies
    * associated with this assignment on the VM.
@@ -173,8 +241,8 @@ com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrB
    * 
* * string last_run_id = 6; + * * @return The bytes for lastRunId. */ - com.google.protobuf.ByteString - getLastRunIdBytes(); + com.google.protobuf.ByteString getLastRunIdBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java new file mode 100644 index 00000000..301da0a5 --- /dev/null +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java @@ -0,0 +1,256 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignment_reports.proto + +package com.google.cloud.osconfig.v1alpha; + +public final class OSPolicyAssignmentReportsProto { + private OSPolicyAssignmentReportsProto() {} + + 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_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n@google/cloud/osconfig/v1alpha/os_polic" + + "y_assignment_reports.proto\022\035google.cloud" + + ".osconfig.v1alpha\032\034google/api/annotation" + + "s.proto\032\037google/api/field_behavior.proto" + + "\032\031google/api/resource.proto\032\037google/prot" + + "obuf/timestamp.proto\"l\n\"GetOSPolicyAssig" + + "nmentReportRequest\022F\n\004name\030\001 \001(\tB8\340A\002\372A2" + + "\n0osconfig.googleapis.com/OSPolicyAssign" + + "mentReport\"\250\001\n$ListOSPolicyAssignmentRep" + + "ortsRequest\022I\n\006parent\030\001 \001(\tB9\340A\002\372A3\n1com" + + "pute.googleapis.com/InstanceOSPolicyAssi" + + "gnment\022\021\n\tpage_size\030\002 \001(\005\022\016\n\006filter\030\003 \001(" + + "\t\022\022\n\npage_token\030\004 \001(\t\"\237\001\n%ListOSPolicyAs" + + "signmentReportsResponse\022]\n\034os_policy_ass" + + "ignment_reports\030\001 \003(\01327.google.cloud.osc" + + "onfig.v1alpha.OSPolicyAssignmentReport\022\027" + + "\n\017next_page_token\030\002 \001(\t\"\361\016\n\030OSPolicyAssi" + + "gnmentReport\022\014\n\004name\030\001 \001(\t\022\020\n\010instance\030\002" + + " \001(\t\022M\n\024os_policy_assignment\030\003 \001(\tB/\372A,\n" + + "*osconfig.googleapis.com/OSPolicyAssignm" + + "ent\022i\n\025os_policy_compliances\030\004 \003(\0132J.goo" + + "gle.cloud.osconfig.v1alpha.OSPolicyAssig" + + "nmentReport.OSPolicyCompliance\022/\n\013update" + + "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" + + "\023\n\013last_run_id\030\006 \001(\t\032\225\013\n\022OSPolicyComplia" + + "nce\022\024\n\014os_policy_id\030\001 \001(\t\022t\n\020compliance_" + + "state\030\002 \001(\0162Z.google.cloud.osconfig.v1al" + + "pha.OSPolicyAssignmentReport.OSPolicyCom" + + "pliance.ComplianceState\022\037\n\027compliance_st" + + "ate_reason\030\003 \001(\t\022\215\001\n\036os_policy_resource_" + + "compliances\030\004 \003(\0132e.google.cloud.osconfi" + + "g.v1alpha.OSPolicyAssignmentReport.OSPol" + + "icyCompliance.OSPolicyResourceCompliance" + + "\032\377\007\n\032OSPolicyResourceCompliance\022\035\n\025os_po" + + "licy_resource_id\030\001 \001(\t\022\227\001\n\014config_steps\030" + + "\002 \003(\0132\200\001.google.cloud.osconfig.v1alpha.O" + + "SPolicyAssignmentReport.OSPolicyComplian" + + "ce.OSPolicyResourceCompliance.OSPolicyRe" + + "sourceConfigStep\022\217\001\n\020compliance_state\030\003 " + + "\001(\0162u.google.cloud.osconfig.v1alpha.OSPo" + + "licyAssignmentReport.OSPolicyCompliance." + + "OSPolicyResourceCompliance.ComplianceSta" + + "te\022\037\n\027compliance_state_reason\030\004 \001(\t\022\230\001\n\024" + + "exec_resource_output\030\005 \001(\0132x.google.clou" + + "d.osconfig.v1alpha.OSPolicyAssignmentRep" + + "ort.OSPolicyCompliance.OSPolicyResourceC" + + "ompliance.ExecResourceOutputH\000\032\333\002\n\032OSPol" + + "icyResourceConfigStep\022\224\001\n\004type\030\001 \001(\0162\205\001." + + "google.cloud.osconfig.v1alpha.OSPolicyAs" + + "signmentReport.OSPolicyCompliance.OSPoli" + + "cyResourceCompliance.OSPolicyResourceCon" + + "figStep.Type\022\025\n\rerror_message\030\002 \001(\t\"\216\001\n\004" + + "Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\016\n\nVALIDATION" + + "\020\001\022\027\n\023DESIRED_STATE_CHECK\020\002\022\035\n\031DESIRED_S" + + "TATE_ENFORCEMENT\020\003\022(\n$DESIRED_STATE_CHEC" + + "K_POST_ENFORCEMENT\020\004\0320\n\022ExecResourceOutp" + + "ut\022\032\n\022enforcement_output\030\002 \001(\014\"@\n\017Compli" + + "anceState\022\013\n\007UNKNOWN\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n" + + "\rNON_COMPLIANT\020\002B\010\n\006output\"@\n\017Compliance" + + "State\022\013\n\007UNKNOWN\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n\rNON" + + "_COMPLIANT\020\002:\234\001\352A\230\001\n0osconfig.googleapis" + + ".com/OSPolicyAssignmentReport\022dprojects/" + + "{project}/locations/{location}/instances" + + "/{instance}/osPolicyAssignments/{assignm" + + "ent}/reportB\205\003\n!com.google.cloud.osconfi" + + "g.v1alphaB\036OSPolicyAssignmentReportsProt" + + "oP\001ZEgoogle.golang.org/genproto/googleap" + + "is/cloud/osconfig/v1alpha;osconfig\252\002\035Goo" + + "gle.Cloud.OsConfig.V1Alpha\312\002\035Google\\Clou" + + "d\\OsConfig\\V1alpha\352\002 Google::Cloud::OsCo" + + "nfig::V1alpha\352A\222\001\n1compute.googleapis.co" + + "m/InstanceOSPolicyAssignment\022]projects/{" + + "project}/locations/{location}/instances/" + + "{instance}/osPolicyAssignments/{assignme" + + "nt}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentReportRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "Filter", "PageToken", + }); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentReportsResponse_descriptor, + new java.lang.String[] { + "OsPolicyAssignmentReports", "NextPageToken", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor, + new java.lang.String[] { + "Name", + "Instance", + "OsPolicyAssignment", + "OsPolicyCompliances", + "UpdateTime", + "LastRunId", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor, + new java.lang.String[] { + "OsPolicyId", + "ComplianceState", + "ComplianceStateReason", + "OsPolicyResourceCompliances", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor, + new java.lang.String[] { + "OsPolicyResourceId", + "ConfigSteps", + "ComplianceState", + "ComplianceStateReason", + "ExecResourceOutput", + "Output", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_descriptor, + new java.lang.String[] { + "Type", "ErrorMessage", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_descriptor, + new java.lang.String[] { + "EnforcementOutput", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyComplianceState.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyComplianceState.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyComplianceState.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyComplianceState.java index 34d8a14f..4753cd62 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyComplianceState.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyComplianceState.java @@ -1,18 +1,37 @@ +/* + * 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/osconfig/v1alpha/config_common.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * Supported OSPolicy compliance states.
  * 
* * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicyComplianceState} */ -@java.lang.Deprecated public enum OSPolicyComplianceState - implements com.google.protobuf.ProtocolMessageEnum { +@java.lang.Deprecated +public enum OSPolicyComplianceState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default value. This value is unused.
    * 
@@ -21,6 +40,8 @@ */ OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED(0), /** + * + * *
    * Compliant state.
    * 
@@ -29,6 +50,8 @@ */ COMPLIANT(1), /** + * + * *
    * Non-compliant state
    * 
@@ -37,6 +60,8 @@ */ NON_COMPLIANT(2), /** + * + * *
    * Unknown compliance state.
    * 
@@ -45,6 +70,8 @@ */ UNKNOWN(3), /** + * + * *
    * No applicable OS policies were found for the instance.
    * This state is only applicable to the instance.
@@ -57,6 +84,8 @@
   ;
 
   /**
+   *
+   *
    * 
    * Default value. This value is unused.
    * 
@@ -65,6 +94,8 @@ */ public static final int OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Compliant state.
    * 
@@ -73,6 +104,8 @@ */ public static final int COMPLIANT_VALUE = 1; /** + * + * *
    * Non-compliant state
    * 
@@ -81,6 +114,8 @@ */ public static final int NON_COMPLIANT_VALUE = 2; /** + * + * *
    * Unknown compliance state.
    * 
@@ -89,6 +124,8 @@ */ public static final int UNKNOWN_VALUE = 3; /** + * + * *
    * No applicable OS policies were found for the instance.
    * This state is only applicable to the instance.
@@ -98,7 +135,6 @@
    */
   public static final int NO_OS_POLICIES_APPLICABLE_VALUE = 4;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -123,12 +159,18 @@ public static OSPolicyComplianceState valueOf(int value) {
    */
   public static OSPolicyComplianceState forNumber(int value) {
     switch (value) {
-      case 0: return OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED;
-      case 1: return COMPLIANT;
-      case 2: return NON_COMPLIANT;
-      case 3: return UNKNOWN;
-      case 4: return NO_OS_POLICIES_APPLICABLE;
-      default: return null;
+      case 0:
+        return OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED;
+      case 1:
+        return COMPLIANT;
+      case 2:
+        return NON_COMPLIANT;
+      case 3:
+        return UNKNOWN;
+      case 4:
+        return NO_OS_POLICIES_APPLICABLE;
+      default:
+        return null;
     }
   }
 
@@ -136,29 +178,31 @@ public static OSPolicyComplianceState forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      OSPolicyComplianceState> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public OSPolicyComplianceState findValueByNumber(int number) {
-            return OSPolicyComplianceState.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap
+      internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public OSPolicyComplianceState findValueByNumber(int number) {
+              return OSPolicyComplianceState.forNumber(number);
+            }
+          };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.getDescriptor().getEnumTypes().get(0);
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.getDescriptor()
+        .getEnumTypes()
+        .get(0);
   }
 
   private static final OSPolicyComplianceState[] VALUES = values();
@@ -166,8 +210,7 @@ public OSPolicyComplianceState findValueByNumber(int number) {
   public static OSPolicyComplianceState valueOf(
       com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -183,4 +226,3 @@ private OSPolicyComplianceState(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1alpha.OSPolicyComplianceState)
 }
-
diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyOrBuilder.java
similarity index 72%
rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyOrBuilder.java
rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyOrBuilder.java
index f0097b52..58be6077 100644
--- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyOrBuilder.java
+++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * 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/osconfig/v1alpha/os_policy.proto
 
 package com.google.cloud.osconfig.v1alpha;
 
-public interface OSPolicyOrBuilder extends
+public interface OSPolicyOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicy)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The id of the OS policy with the following restrictions:
    * * Must contain only lowercase letters, numbers, and hyphens.
@@ -18,10 +36,13 @@ public interface OSPolicyOrBuilder extends
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * Required. The id of the OS policy with the following restrictions:
    * * Must contain only lowercase letters, numbers, and hyphens.
@@ -32,53 +53,70 @@ public interface OSPolicyOrBuilder extends
    * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * Policy description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Policy description.
    * Length of the description is limited to 1024 characters.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. Policy mode
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** + * + * *
    * Required. Policy mode
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The mode. */ com.google.cloud.osconfig.v1alpha.OSPolicy.Mode getMode(); /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -89,11 +127,14 @@ public interface OSPolicyOrBuilder extends
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getResourceGroupsList(); + java.util.List getResourceGroupsList(); /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -104,10 +145,14 @@ public interface OSPolicyOrBuilder extends
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup getResourceGroups(int index); /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -118,10 +163,14 @@ public interface OSPolicyOrBuilder extends
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ int getResourceGroupsCount(); /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -132,11 +181,15 @@ public interface OSPolicyOrBuilder extends
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getResourceGroupsOrBuilderList(); /** + * + * *
    * Required. List of resource groups for the policy.
    * For a particular VM, resource groups are evaluated in the order specified
@@ -147,12 +200,16 @@ public interface OSPolicyOrBuilder extends
    * toggled by the flag `allow_no_resource_group_match`
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder getResourceGroupsOrBuilder( int index); /** + * + * *
    * This flag determines the OS policy compliance status when none of the
    * resource groups within the policy are applicable for a VM. Set this value
@@ -161,6 +218,7 @@ com.google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroupOrBuilder getResourceGro
    * 
* * bool allow_no_resource_group_match = 5; + * * @return The allowNoResourceGroupMatch. */ boolean getAllowNoResourceGroupMatch(); diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceCompliance.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceCompliance.java similarity index 64% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceCompliance.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceCompliance.java index c9da4d39..55e1bd01 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceCompliance.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceCompliance.java @@ -1,24 +1,43 @@ +/* + * 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/osconfig/v1alpha/config_common.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * Compliance data for an OS policy resource.
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance} */ -@java.lang.Deprecated public final class OSPolicyResourceCompliance extends - com.google.protobuf.GeneratedMessageV3 implements +@java.lang.Deprecated +public final class OSPolicyResourceCompliance extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) OSPolicyResourceComplianceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OSPolicyResourceCompliance.newBuilder() to construct. private OSPolicyResourceCompliance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OSPolicyResourceCompliance() { osPolicyResourceId_ = ""; configSteps_ = java.util.Collections.emptyList(); @@ -27,16 +46,15 @@ private OSPolicyResourceCompliance() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OSPolicyResourceCompliance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OSPolicyResourceCompliance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,48 +74,68 @@ private OSPolicyResourceCompliance( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - osPolicyResourceId_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - configSteps_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + osPolicyResourceId_ = s; + break; } - configSteps_.add( - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.parser(), extensionRegistry)); - break; - } - case 24: { - int rawValue = input.readEnum(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + configSteps_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep>(); + mutable_bitField0_ |= 0x00000001; + } + configSteps_.add( + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.parser(), + extensionRegistry)); + break; + } + case 24: + { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 34: { - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder subBuilder = null; - if (outputCase_ == 4) { - subBuilder = ((com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_).toBuilder(); + state_ = rawValue; + break; } - output_ = - input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_); - output_ = subBuilder.buildPartial(); + case 34: + { + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + .Builder + subBuilder = null; + if (outputCase_ == 4) { + subBuilder = + ((com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance + .ExecResourceOutput) + output_) + .toBuilder(); + } + output_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance + .ExecResourceOutput.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance + .ExecResourceOutput) + output_); + output_ = subBuilder.buildPartial(); + } + outputCase_ = 4; + break; } - outputCase_ = 4; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,8 +143,7 @@ private OSPolicyResourceCompliance( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { configSteps_ = java.util.Collections.unmodifiableList(configSteps_); @@ -115,66 +152,78 @@ private OSPolicyResourceCompliance( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.class, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.class, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder.class); } - @java.lang.Deprecated public interface ExecResourceOutputOrBuilder extends + @java.lang.Deprecated + public interface ExecResourceOutputOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output from Enforcement phase output file (if run).
      * Output size is limited to 100K bytes.
      * 
* * bytes enforcement_output = 2; + * * @return The enforcementOutput. */ com.google.protobuf.ByteString getEnforcementOutput(); } /** + * + * *
    * ExecResource specific output.
    * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput} */ - @java.lang.Deprecated public static final class ExecResourceOutput extends - com.google.protobuf.GeneratedMessageV3 implements + @java.lang.Deprecated + public static final class ExecResourceOutput extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) ExecResourceOutputOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecResourceOutput.newBuilder() to construct. private ExecResourceOutput(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExecResourceOutput() { enforcementOutput_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExecResourceOutput(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExecResourceOutput( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -193,18 +242,18 @@ private ExecResourceOutput( case 0: done = true; break; - case 18: { - - enforcementOutput_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + enforcementOutput_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -212,35 +261,41 @@ private ExecResourceOutput( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.class, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.class, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + .Builder.class); } public static final int ENFORCEMENT_OUTPUT_FIELD_NUMBER = 2; private com.google.protobuf.ByteString enforcementOutput_; /** + * + * *
      * Output from Enforcement phase output file (if run).
      * Output size is limited to 100K bytes.
      * 
* * bytes enforcement_output = 2; + * * @return The enforcementOutput. */ @java.lang.Override @@ -249,6 +304,7 @@ public com.google.protobuf.ByteString getEnforcementOutput() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,8 +316,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!enforcementOutput_.isEmpty()) { output.writeBytes(2, enforcementOutput_); } @@ -275,8 +330,7 @@ public int getSerializedSize() { size = 0; if (!enforcementOutput_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, enforcementOutput_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, enforcementOutput_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -286,15 +340,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput other = (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput other = + (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) obj; - if (!getEnforcementOutput() - .equals(other.getEnforcementOutput())) return false; + if (!getEnforcementOutput().equals(other.getEnforcementOutput())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -313,88 +369,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + 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.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + 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.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput 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.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + 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.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput 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.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + 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.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -404,44 +473,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * ExecResource specific output.
      * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.class, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + .class, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -451,19 +528,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_ExecResourceOutput_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput build() { - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + build() { + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -471,8 +552,11 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResource } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput result = new com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput(this); + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + buildPartial() { + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput result = + new com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput( + this); result.enforcementOutput_ = enforcementOutput_; onBuilt(); return result; @@ -482,46 +566,56 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResource public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput other) { + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + .getDefaultInstance()) return this; if (other.getEnforcementOutput() != com.google.protobuf.ByteString.EMPTY) { setEnforcementOutput(other.getEnforcementOutput()); } @@ -540,11 +634,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput parsedMessage = null; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,14 +651,18 @@ public Builder mergeFrom( return this; } - private com.google.protobuf.ByteString enforcementOutput_ = com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString enforcementOutput_ = + com.google.protobuf.ByteString.EMPTY; /** + * + * *
        * Output from Enforcement phase output file (if run).
        * Output size is limited to 100K bytes.
        * 
* * bytes enforcement_output = 2; + * * @return The enforcementOutput. */ @java.lang.Override @@ -569,39 +670,46 @@ public com.google.protobuf.ByteString getEnforcementOutput() { return enforcementOutput_; } /** + * + * *
        * Output from Enforcement phase output file (if run).
        * Output size is limited to 100K bytes.
        * 
* * bytes enforcement_output = 2; + * * @param value The enforcementOutput to set. * @return This builder for chaining. */ public Builder setEnforcementOutput(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + enforcementOutput_ = value; onChanged(); return this; } /** + * + * *
        * Output from Enforcement phase output file (if run).
        * Output size is limited to 100K bytes.
        * 
* * bytes enforcement_output = 2; + * * @return This builder for chaining. */ public Builder clearEnforcementOutput() { - + enforcementOutput_ = getDefaultInstance().getEnforcementOutput(); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -614,30 +722,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance + .ExecResourceOutput + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput(); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecResourceOutput parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecResourceOutput(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecResourceOutput parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecResourceOutput(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -649,20 +761,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int outputCase_ = 0; private java.lang.Object output_; + public enum OutputCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { EXEC_RESOURCE_OUTPUT(4), OUTPUT_NOT_SET(0); private final int value; + private OutputCase(int value) { this.value = value; } @@ -678,30 +793,35 @@ public static OutputCase valueOf(int value) { public static OutputCase forNumber(int value) { switch (value) { - case 4: return EXEC_RESOURCE_OUTPUT; - case 0: return OUTPUT_NOT_SET; - default: return null; + case 4: + return EXEC_RESOURCE_OUTPUT; + case 0: + return OUTPUT_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OutputCase - getOutputCase() { - return OutputCase.forNumber( - outputCase_); + public OutputCase getOutputCase() { + return OutputCase.forNumber(outputCase_); } public static final int OS_POLICY_RESOURCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object osPolicyResourceId_; /** + * + * *
    * The id of the OS policy resource.
    * 
* * string os_policy_resource_id = 1; + * * @return The osPolicyResourceId. */ @java.lang.Override @@ -710,29 +830,29 @@ public java.lang.String getOsPolicyResourceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyResourceId_ = s; return s; } } /** + * + * *
    * The id of the OS policy resource.
    * 
* * string os_policy_resource_id = 1; + * * @return The bytes for osPolicyResourceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsPolicyResourceIdBytes() { + public com.google.protobuf.ByteString getOsPolicyResourceIdBytes() { java.lang.Object ref = osPolicyResourceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyResourceId_ = b; return b; } else { @@ -743,102 +863,135 @@ public java.lang.String getOsPolicyResourceId() { public static final int CONFIG_STEPS_FIELD_NUMBER = 2; private java.util.List configSteps_; /** + * + * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ @java.lang.Override - public java.util.List getConfigStepsList() { + public java.util.List + getConfigStepsList() { return configSteps_; } /** + * + * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder> getConfigStepsOrBuilderList() { return configSteps_; } /** + * + * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ @java.lang.Override public int getConfigStepsCount() { return configSteps_.size(); } /** + * + * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep getConfigSteps(int index) { return configSteps_.get(index); } /** + * + * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder + getConfigStepsOrBuilder(int index) { return configSteps_.get(index); } public static final int STATE_FIELD_NUMBER = 3; private int state_; /** + * + * *
    * Compliance state of the OS policy resource.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Compliance state of the OS policy resource.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3; + * * @return The state. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = + com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED + : result; } public static final int EXEC_RESOURCE_OUTPUT_FIELD_NUMBER = 4; /** + * + * *
    * ExecResource specific output.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * * @return Whether the execResourceOutput field is set. */ @java.lang.Override @@ -846,36 +999,52 @@ public boolean hasExecResourceOutput() { return outputCase_ == 4; } /** + * + * *
    * ExecResource specific output.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * * @return The execResourceOutput. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput() { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + getExecResourceOutput() { if (outputCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_; + return (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) + output_; } - return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + .getDefaultInstance(); } /** + * + * *
    * ExecResource specific output.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder + getExecResourceOutputOrBuilder() { if (outputCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_; + return (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) + output_; } - return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -887,19 +1056,24 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osPolicyResourceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osPolicyResourceId_); } for (int i = 0; i < configSteps_.size(); i++) { output.writeMessage(2, configSteps_.get(i)); } - if (state_ != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState + .OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, state_); } if (outputCase_ == 4) { - output.writeMessage(4, (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_); + output.writeMessage( + 4, + (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) + output_); } unknownFields.writeTo(output); } @@ -914,16 +1088,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, osPolicyResourceId_); } for (int i = 0; i < configSteps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, configSteps_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, configSteps_.get(i)); } - if (state_ != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, state_); + if (state_ + != com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState + .OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); } if (outputCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) + output_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -933,23 +1111,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance other = (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance other = + (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) obj; - if (!getOsPolicyResourceId() - .equals(other.getOsPolicyResourceId())) return false; - if (!getConfigStepsList() - .equals(other.getConfigStepsList())) return false; + if (!getOsPolicyResourceId().equals(other.getOsPolicyResourceId())) return false; + if (!getConfigStepsList().equals(other.getConfigStepsList())) return false; if (state_ != other.state_) return false; if (!getOutputCase().equals(other.getOutputCase())) return false; switch (outputCase_) { case 4: - if (!getExecResourceOutput() - .equals(other.getExecResourceOutput())) return false; + if (!getExecResourceOutput().equals(other.getExecResourceOutput())) return false; break; case 0: default: @@ -987,117 +1163,127 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance 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.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Compliance data for an OS policy resource.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.class, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder.class); + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.class, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder.class); } // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.newBuilder() @@ -1105,17 +1291,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getConfigStepsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1135,13 +1321,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.ConfigCommonProto + .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceCompliance_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.getDefaultInstance(); } @@ -1156,7 +1343,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance build() { @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance buildPartial() { - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance result = new com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance(this); + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance result = + new com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance(this); int from_bitField0_ = bitField0_; result.osPolicyResourceId_ = osPolicyResourceId_; if (configStepsBuilder_ == null) { @@ -1185,38 +1373,39 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.OSPolicyResourceCompliance) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance)other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) other); } else { super.mergeFrom(other); return this; @@ -1224,7 +1413,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance other) { - if (other == com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.getDefaultInstance()) return this; + if (other + == com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.getDefaultInstance()) + return this; if (!other.getOsPolicyResourceId().isEmpty()) { osPolicyResourceId_ = other.osPolicyResourceId_; onChanged(); @@ -1247,9 +1438,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompl configStepsBuilder_ = null; configSteps_ = other.configSteps_; bitField0_ = (bitField0_ & ~0x00000001); - configStepsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getConfigStepsFieldBuilder() : null; + configStepsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getConfigStepsFieldBuilder() + : null; } else { configStepsBuilder_.addAllMessages(other.configSteps_); } @@ -1259,13 +1451,15 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompl setStateValue(other.getStateValue()); } switch (other.getOutputCase()) { - case EXEC_RESOURCE_OUTPUT: { - mergeExecResourceOutput(other.getExecResourceOutput()); - break; - } - case OUTPUT_NOT_SET: { - break; - } + case EXEC_RESOURCE_OUTPUT: + { + mergeExecResourceOutput(other.getExecResourceOutput()); + break; + } + case OUTPUT_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1286,7 +1480,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1295,12 +1490,12 @@ public Builder mergeFrom( } return this; } + private int outputCase_ = 0; private java.lang.Object output_; - public OutputCase - getOutputCase() { - return OutputCase.forNumber( - outputCase_); + + public OutputCase getOutputCase() { + return OutputCase.forNumber(outputCase_); } public Builder clearOutput() { @@ -1314,18 +1509,20 @@ public Builder clearOutput() { private java.lang.Object osPolicyResourceId_ = ""; /** + * + * *
      * The id of the OS policy resource.
      * 
* * string os_policy_resource_id = 1; + * * @return The osPolicyResourceId. */ public java.lang.String getOsPolicyResourceId() { java.lang.Object ref = osPolicyResourceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osPolicyResourceId_ = s; return s; @@ -1334,20 +1531,21 @@ public java.lang.String getOsPolicyResourceId() { } } /** + * + * *
      * The id of the OS policy resource.
      * 
* * string os_policy_resource_id = 1; + * * @return The bytes for osPolicyResourceId. */ - public com.google.protobuf.ByteString - getOsPolicyResourceIdBytes() { + public com.google.protobuf.ByteString getOsPolicyResourceIdBytes() { java.lang.Object ref = osPolicyResourceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osPolicyResourceId_ = b; return b; } else { @@ -1355,80 +1553,97 @@ public java.lang.String getOsPolicyResourceId() { } } /** + * + * *
      * The id of the OS policy resource.
      * 
* * string os_policy_resource_id = 1; + * * @param value The osPolicyResourceId to set. * @return This builder for chaining. */ - public Builder setOsPolicyResourceId( - java.lang.String value) { + public Builder setOsPolicyResourceId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osPolicyResourceId_ = value; onChanged(); return this; } /** + * + * *
      * The id of the OS policy resource.
      * 
* * string os_policy_resource_id = 1; + * * @return This builder for chaining. */ public Builder clearOsPolicyResourceId() { - + osPolicyResourceId_ = getDefaultInstance().getOsPolicyResourceId(); onChanged(); return this; } /** + * + * *
      * The id of the OS policy resource.
      * 
* * string os_policy_resource_id = 1; + * * @param value The bytes for osPolicyResourceId to set. * @return This builder for chaining. */ - public Builder setOsPolicyResourceIdBytes( - com.google.protobuf.ByteString value) { + public Builder setOsPolicyResourceIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osPolicyResourceId_ = value; onChanged(); return this; } - private java.util.List configSteps_ = - java.util.Collections.emptyList(); + private java.util.List + configSteps_ = java.util.Collections.emptyList(); + private void ensureConfigStepsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - configSteps_ = new java.util.ArrayList(configSteps_); + configSteps_ = + new java.util.ArrayList( + configSteps_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder> configStepsBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder> + configStepsBuilder_; /** + * + * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ - public java.util.List getConfigStepsList() { + public java.util.List + getConfigStepsList() { if (configStepsBuilder_ == null) { return java.util.Collections.unmodifiableList(configSteps_); } else { @@ -1436,12 +1651,15 @@ public java.util.List * Ordered list of configuration steps taken by the agent for the OS policy * resource. *
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ public int getConfigStepsCount() { if (configStepsBuilder_ == null) { @@ -1451,12 +1669,15 @@ public int getConfigStepsCount() { } } /** + * + * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep getConfigSteps(int index) { if (configStepsBuilder_ == null) { @@ -1466,12 +1687,15 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep getConfigSte } } /** + * + * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder setConfigSteps( int index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep value) { @@ -1488,15 +1712,19 @@ public Builder setConfigSteps( return this; } /** + * + * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder setConfigSteps( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder builderForValue) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); configSteps_.set(index, builderForValue.build()); @@ -1507,14 +1735,18 @@ public Builder setConfigSteps( return this; } /** + * + * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ - public Builder addConfigSteps(com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep value) { + public Builder addConfigSteps( + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep value) { if (configStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1528,12 +1760,15 @@ public Builder addConfigSteps(com.google.cloud.osconfig.v1alpha.OSPolicyResource return this; } /** + * + * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder addConfigSteps( int index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep value) { @@ -1550,12 +1785,15 @@ public Builder addConfigSteps( return this; } /** + * + * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder addConfigSteps( com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder builderForValue) { @@ -1569,15 +1807,19 @@ public Builder addConfigSteps( return this; } /** + * + * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder addConfigSteps( - int index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder builderForValue) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); configSteps_.add(index, builderForValue.build()); @@ -1588,19 +1830,22 @@ public Builder addConfigSteps( return this; } /** + * + * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder addAllConfigSteps( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (configStepsBuilder_ == null) { ensureConfigStepsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, configSteps_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, configSteps_); onChanged(); } else { configStepsBuilder_.addAllMessages(values); @@ -1608,12 +1853,15 @@ public Builder addAllConfigSteps( return this; } /** + * + * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder clearConfigSteps() { if (configStepsBuilder_ == null) { @@ -1626,12 +1874,15 @@ public Builder clearConfigSteps() { return this; } /** + * + * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ public Builder removeConfigSteps(int index) { if (configStepsBuilder_ == null) { @@ -1644,42 +1895,53 @@ public Builder removeConfigSteps(int index) { return this; } /** + * + * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder getConfigStepsBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder + getConfigStepsBuilder(int index) { return getConfigStepsFieldBuilder().getBuilder(index); } /** + * + * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder + getConfigStepsOrBuilder(int index) { if (configStepsBuilder_ == null) { - return configSteps_.get(index); } else { + return configSteps_.get(index); + } else { return configStepsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ - public java.util.List - getConfigStepsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder> + getConfigStepsOrBuilderList() { if (configStepsBuilder_ != null) { return configStepsBuilder_.getMessageOrBuilderList(); } else { @@ -1687,52 +1949,68 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder get } } /** + * + * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder addConfigStepsBuilder() { - return getConfigStepsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder + addConfigStepsBuilder() { + return getConfigStepsFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDefaultInstance()); } /** + * + * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder addConfigStepsBuilder( - int index) { - return getConfigStepsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder + addConfigStepsBuilder(int index) { + return getConfigStepsFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDefaultInstance()); } /** + * + * *
      * Ordered list of configuration steps taken by the agent for the OS policy
      * resource.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ - public java.util.List - getConfigStepsBuilderList() { + public java.util.List + getConfigStepsBuilderList() { return getConfigStepsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder> getConfigStepsFieldBuilder() { if (configStepsBuilder_ == null) { - configStepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder>( - configSteps_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + configStepsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder>( + configSteps_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); configSteps_ = null; } return configStepsBuilder_; @@ -1740,51 +2018,67 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder addC private int state_ = 0; /** + * + * *
      * Compliance state of the OS policy resource.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Compliance state of the OS policy resource.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Compliance state of the OS policy resource.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3; + * * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState result = + com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.valueOf(state_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState.UNRECOGNIZED + : result; } /** + * + * *
      * Compliance state of the OS policy resource.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3; + * * @param value The state to set. * @return This builder for chaining. */ @@ -1792,34 +2086,46 @@ public Builder setState(com.google.cloud.osconfig.v1alpha.OSPolicyComplianceStat if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Compliance state of the OS policy resource.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> execResourceOutputBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance + .ExecResourceOutputOrBuilder> + execResourceOutputBuilder_; /** + * + * *
      * ExecResource specific output.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * * @return Whether the execResourceOutput field is set. */ @java.lang.Override @@ -1827,35 +2133,49 @@ public boolean hasExecResourceOutput() { return outputCase_ == 4; } /** + * + * *
      * ExecResource specific output.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * * @return The execResourceOutput. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput() { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + getExecResourceOutput() { if (execResourceOutputBuilder_ == null) { if (outputCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_; + return (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) + output_; } - return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + .getDefaultInstance(); } else { if (outputCase_ == 4) { return execResourceOutputBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + .getDefaultInstance(); } } /** + * + * *
      * ExecResource specific output.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * */ - public Builder setExecResourceOutput(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput value) { + public Builder setExecResourceOutput( + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput value) { if (execResourceOutputBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1869,14 +2189,19 @@ public Builder setExecResourceOutput(com.google.cloud.osconfig.v1alpha.OSPolicyR return this; } /** + * + * *
      * ExecResource specific output.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * */ public Builder setExecResourceOutput( - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder + builderForValue) { if (execResourceOutputBuilder_ == null) { output_ = builderForValue.build(); onChanged(); @@ -1887,18 +2212,31 @@ public Builder setExecResourceOutput( return this; } /** + * + * *
      * ExecResource specific output.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * */ - public Builder mergeExecResourceOutput(com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput value) { + public Builder mergeExecResourceOutput( + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput value) { if (execResourceOutputBuilder_ == null) { - if (outputCase_ == 4 && - output_ != com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance()) { - output_ = com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.newBuilder((com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_) - .mergeFrom(value).buildPartial(); + if (outputCase_ == 4 + && output_ + != com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + .getDefaultInstance()) { + output_ = + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + .newBuilder( + (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance + .ExecResourceOutput) + output_) + .mergeFrom(value) + .buildPartial(); } else { output_ = value; } @@ -1914,11 +2252,15 @@ public Builder mergeExecResourceOutput(com.google.cloud.osconfig.v1alpha.OSPolic return this; } /** + * + * *
      * ExecResource specific output.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * */ public Builder clearExecResourceOutput() { if (execResourceOutputBuilder_ == null) { @@ -1937,61 +2279,89 @@ public Builder clearExecResourceOutput() { return this; } /** + * + * *
      * ExecResource specific output.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder getExecResourceOutputBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder + getExecResourceOutputBuilder() { return getExecResourceOutputFieldBuilder().getBuilder(); } /** + * + * *
      * ExecResource specific output.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder + getExecResourceOutputOrBuilder() { if ((outputCase_ == 4) && (execResourceOutputBuilder_ != null)) { return execResourceOutputBuilder_.getMessageOrBuilder(); } else { if (outputCase_ == 4) { - return (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_; + return (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) + output_; } - return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + return com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + .getDefaultInstance(); } } /** + * + * *
      * ExecResource specific output.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance + .ExecResourceOutputOrBuilder> getExecResourceOutputFieldBuilder() { if (execResourceOutputBuilder_ == null) { if (!(outputCase_ == 4)) { - output_ = com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.getDefaultInstance(); + output_ = + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + .getDefaultInstance(); } - execResourceOutputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder>( - (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) output_, + execResourceOutputBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + .Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance + .ExecResourceOutputOrBuilder>( + (com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput) + output_, getParentForChildren(), isClean()); output_ = null; } outputCase_ = 4; - onChanged();; + onChanged(); + ; return execResourceOutputBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2001,12 +2371,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance(); } @@ -2015,16 +2386,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyResourceCompliance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyResourceCompliance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyResourceCompliance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyResourceCompliance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2039,6 +2410,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceComplianceOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceComplianceOrBuilder.java similarity index 65% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceComplianceOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceComplianceOrBuilder.java index ebc40447..baf97d88 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceComplianceOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceComplianceOrBuilder.java @@ -1,126 +1,184 @@ +/* + * 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/osconfig/v1alpha/config_common.proto package com.google.cloud.osconfig.v1alpha; -@java.lang.Deprecated public interface OSPolicyResourceComplianceOrBuilder extends +@java.lang.Deprecated +public interface OSPolicyResourceComplianceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The id of the OS policy resource.
    * 
* * string os_policy_resource_id = 1; + * * @return The osPolicyResourceId. */ java.lang.String getOsPolicyResourceId(); /** + * + * *
    * The id of the OS policy resource.
    * 
* * string os_policy_resource_id = 1; + * * @return The bytes for osPolicyResourceId. */ - com.google.protobuf.ByteString - getOsPolicyResourceIdBytes(); + com.google.protobuf.ByteString getOsPolicyResourceIdBytes(); /** + * + * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ - java.util.List - getConfigStepsList(); + java.util.List getConfigStepsList(); /** + * + * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep getConfigSteps(int index); /** + * + * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ int getConfigStepsCount(); /** + * + * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ - java.util.List + java.util.List getConfigStepsOrBuilderList(); /** + * + * *
    * Ordered list of configuration steps taken by the agent for the OS policy
    * resource.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; + * */ com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder( int index); /** + * + * *
    * Compliance state of the OS policy resource.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Compliance state of the OS policy resource.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3; + * * @return The state. */ com.google.cloud.osconfig.v1alpha.OSPolicyComplianceState getState(); /** + * + * *
    * ExecResource specific output.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * * @return Whether the execResourceOutput field is set. */ boolean hasExecResourceOutput(); /** + * + * *
    * ExecResource specific output.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * * @return The execResourceOutput. */ - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput(); + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput + getExecResourceOutput(); /** + * + * *
    * ExecResource specific output.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * + * .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; + * */ - com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder(); + com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder + getExecResourceOutputOrBuilder(); public com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.OutputCase getOutputCase(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStep.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStep.java similarity index 70% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStep.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStep.java index 83daccef..e52961ca 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStep.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStep.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1alpha/config_common.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * Step performed by the OS Config agent for configuring an `OSPolicyResource`
  * to its desired state.
@@ -11,15 +28,17 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep}
  */
-@java.lang.Deprecated public final class OSPolicyResourceConfigStep extends
-    com.google.protobuf.GeneratedMessageV3 implements
+@java.lang.Deprecated
+public final class OSPolicyResourceConfigStep extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep)
     OSPolicyResourceConfigStepOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OSPolicyResourceConfigStep.newBuilder() to construct.
   private OSPolicyResourceConfigStep(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OSPolicyResourceConfigStep() {
     type_ = 0;
     outcome_ = 0;
@@ -28,16 +47,15 @@ private OSPolicyResourceConfigStep() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OSPolicyResourceConfigStep();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OSPolicyResourceConfigStep(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,31 +74,34 @@ private OSPolicyResourceConfigStep(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            type_ = rawValue;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+              type_ = rawValue;
+              break;
+            }
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            outcome_ = rawValue;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              outcome_ = rawValue;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            errorMessage_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              errorMessage_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,36 +109,42 @@ private OSPolicyResourceConfigStep(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.ConfigCommonProto
+        .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.ConfigCommonProto
+        .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.class, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder.class);
+            com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.class,
+            com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Supported configuration step types
    * 
* * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type} */ - @java.lang.Deprecated public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + @java.lang.Deprecated + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This value is unused.
      * 
@@ -126,6 +153,8 @@ private OSPolicyResourceConfigStep( */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Validation to detect resource conflicts, schema errors, etc.
      * 
@@ -134,6 +163,8 @@ private OSPolicyResourceConfigStep( */ VALIDATION(1), /** + * + * *
      * Check the current desired state status of the resource.
      * 
@@ -142,6 +173,8 @@ private OSPolicyResourceConfigStep( */ DESIRED_STATE_CHECK(2), /** + * + * *
      * Enforce the desired state for a resource that is not in desired state.
      * 
@@ -150,6 +183,8 @@ private OSPolicyResourceConfigStep( */ DESIRED_STATE_ENFORCEMENT(3), /** + * + * *
      * Re-check desired state status for a resource after enforcement of all
      * resources in the current configuration run.
@@ -166,6 +201,8 @@ private OSPolicyResourceConfigStep(
     ;
 
     /**
+     *
+     *
      * 
      * Default value. This value is unused.
      * 
@@ -174,6 +211,8 @@ private OSPolicyResourceConfigStep( */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Validation to detect resource conflicts, schema errors, etc.
      * 
@@ -182,6 +221,8 @@ private OSPolicyResourceConfigStep( */ public static final int VALIDATION_VALUE = 1; /** + * + * *
      * Check the current desired state status of the resource.
      * 
@@ -190,6 +231,8 @@ private OSPolicyResourceConfigStep( */ public static final int DESIRED_STATE_CHECK_VALUE = 2; /** + * + * *
      * Enforce the desired state for a resource that is not in desired state.
      * 
@@ -198,6 +241,8 @@ private OSPolicyResourceConfigStep( */ public static final int DESIRED_STATE_ENFORCEMENT_VALUE = 3; /** + * + * *
      * Re-check desired state status for a resource after enforcement of all
      * resources in the current configuration run.
@@ -211,7 +256,6 @@ private OSPolicyResourceConfigStep(
      */
     public static final int DESIRED_STATE_CHECK_POST_ENFORCEMENT_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -236,51 +280,55 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0: return TYPE_UNSPECIFIED;
-        case 1: return VALIDATION;
-        case 2: return DESIRED_STATE_CHECK;
-        case 3: return DESIRED_STATE_ENFORCEMENT;
-        case 4: return DESIRED_STATE_CHECK_POST_ENFORCEMENT;
-        default: return null;
+        case 0:
+          return TYPE_UNSPECIFIED;
+        case 1:
+          return VALIDATION;
+        case 2:
+          return DESIRED_STATE_CHECK;
+        case 3:
+          return DESIRED_STATE_ENFORCEMENT;
+        case 4:
+          return DESIRED_STATE_CHECK_POST_ENFORCEMENT;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Type> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Type findValueByNumber(int number) {
-              return Type.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Type findValueByNumber(int number) {
+            return Type.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -298,15 +346,19 @@ private Type(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Supported outcomes for a configuration step.
    * 
* * Protobuf enum {@code google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome} */ - @java.lang.Deprecated public enum Outcome - implements com.google.protobuf.ProtocolMessageEnum { + @java.lang.Deprecated + public enum Outcome implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This value is unused.
      * 
@@ -315,6 +367,8 @@ private Type(int value) { */ OUTCOME_UNSPECIFIED(0), /** + * + * *
      * The step succeeded.
      * 
@@ -323,6 +377,8 @@ private Type(int value) { */ SUCCEEDED(1), /** + * + * *
      * The step failed.
      * 
@@ -334,6 +390,8 @@ private Type(int value) { ; /** + * + * *
      * Default value. This value is unused.
      * 
@@ -342,6 +400,8 @@ private Type(int value) { */ public static final int OUTCOME_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The step succeeded.
      * 
@@ -350,6 +410,8 @@ private Type(int value) { */ public static final int SUCCEEDED_VALUE = 1; /** + * + * *
      * The step failed.
      * 
@@ -358,7 +420,6 @@ private Type(int value) { */ public static final int FAILED_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -383,49 +444,51 @@ public static Outcome valueOf(int value) { */ public static Outcome forNumber(int value) { switch (value) { - case 0: return OUTCOME_UNSPECIFIED; - case 1: return SUCCEEDED; - case 2: return FAILED; - default: return null; + case 0: + return OUTCOME_UNSPECIFIED; + case 1: + return SUCCEEDED; + case 2: + return FAILED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Outcome> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Outcome findValueByNumber(int number) { - return Outcome.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Outcome findValueByNumber(int number) { + return Outcome.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDescriptor() + .getEnumTypes() + .get(1); } private static final Outcome[] VALUES = values(); - public static Outcome valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Outcome valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -445,66 +508,91 @@ private Outcome(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** + * + * *
    * Configuration step type.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Configuration step type.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1; + * * @return The type. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type getType() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type result = com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.valueOf(type_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type result = + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.valueOf(type_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.UNRECOGNIZED + : result; } public static final int OUTCOME_FIELD_NUMBER = 2; private int outcome_; /** + * + * *
    * Outcome of the configuration step.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2; + * * @return The enum numeric value on the wire for outcome. */ - @java.lang.Override public int getOutcomeValue() { + @java.lang.Override + public int getOutcomeValue() { return outcome_; } /** + * + * *
    * Outcome of the configuration step.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2; + * * @return The outcome. */ - @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome getOutcome() { + @java.lang.Override + public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome getOutcome() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome result = com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.valueOf(outcome_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome result = + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.valueOf(outcome_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.UNRECOGNIZED + : result; } public static final int ERROR_MESSAGE_FIELD_NUMBER = 3; private volatile java.lang.Object errorMessage_; /** + * + * *
    * An error message recorded during the execution of this step.
    * Only populated when outcome is FAILED.
    * 
* * string error_message = 3; + * * @return The errorMessage. */ @java.lang.Override @@ -513,30 +601,30 @@ public java.lang.String getErrorMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } } /** + * + * *
    * An error message recorded during the execution of this step.
    * Only populated when outcome is FAILED.
    * 
* * string error_message = 3; + * * @return The bytes for errorMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getErrorMessageBytes() { + public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -545,6 +633,7 @@ public java.lang.String getErrorMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -556,12 +645,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } - if (outcome_ != com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.OUTCOME_UNSPECIFIED.getNumber()) { + if (outcome_ + != com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.OUTCOME_UNSPECIFIED + .getNumber()) { output.writeEnum(2, outcome_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { @@ -576,13 +668,15 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } - if (outcome_ != com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.OUTCOME_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, outcome_); + if (outcome_ + != com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.OUTCOME_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, outcome_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, errorMessage_); @@ -595,17 +689,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep other = (com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep) obj; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep other = + (com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep) obj; if (type_ != other.type_) return false; if (outcome_ != other.outcome_) return false; - if (!getErrorMessage() - .equals(other.getErrorMessage())) return false; + if (!getErrorMessage().equals(other.getErrorMessage())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -629,96 +723,104 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep 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.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Step performed by the OS Config agent for configuring an `OSPolicyResource`
    * to its desired state.
@@ -726,21 +828,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep)
       com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.ConfigCommonProto
+          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.ConfigCommonProto
+          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.class, com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder.class);
+              com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.class,
+              com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.newBuilder()
@@ -748,16 +852,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -771,13 +874,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.ConfigCommonProto.internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.ConfigCommonProto
+          .internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep getDefaultInstanceForType() {
+    public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep
+        getDefaultInstanceForType() {
       return com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDefaultInstance();
     }
 
@@ -792,7 +896,8 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep buildPartial() {
-      com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep result = new com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep(this);
+      com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep result =
+          new com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep(this);
       result.type_ = type_;
       result.outcome_ = outcome_;
       result.errorMessage_ = errorMessage_;
@@ -804,38 +909,39 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep buildPartial
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.OSPolicyResourceConfigStep) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep)other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -843,7 +949,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep other) {
-      if (other == com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.getDefaultInstance())
+        return this;
       if (other.type_ != 0) {
         setTypeValue(other.getTypeValue());
       }
@@ -873,7 +981,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -885,73 +994,93 @@ public Builder mergeFrom(
 
     private int type_ = 0;
     /**
+     *
+     *
      * 
      * Configuration step type.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Configuration step type.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * Configuration step type.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1; + * * @return The type. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type result = com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.valueOf(type_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type result = + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.valueOf(type_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type.UNRECOGNIZED + : result; } /** + * + * *
      * Configuration step type.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type value) { + public Builder setType( + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Configuration step type.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -959,73 +1088,93 @@ public Builder clearType() { private int outcome_ = 0; /** + * + * *
      * Outcome of the configuration step.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2; + * * @return The enum numeric value on the wire for outcome. */ - @java.lang.Override public int getOutcomeValue() { + @java.lang.Override + public int getOutcomeValue() { return outcome_; } /** + * + * *
      * Outcome of the configuration step.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2; + * * @param value The enum numeric value on the wire for outcome to set. * @return This builder for chaining. */ public Builder setOutcomeValue(int value) { - + outcome_ = value; onChanged(); return this; } /** + * + * *
      * Outcome of the configuration step.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2; + * * @return The outcome. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome getOutcome() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome result = com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.valueOf(outcome_); - return result == null ? com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome result = + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.valueOf(outcome_); + return result == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome.UNRECOGNIZED + : result; } /** + * + * *
      * Outcome of the configuration step.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2; + * * @param value The outcome to set. * @return This builder for chaining. */ - public Builder setOutcome(com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome value) { + public Builder setOutcome( + com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome value) { if (value == null) { throw new NullPointerException(); } - + outcome_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Outcome of the configuration step.
      * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2; + * * @return This builder for chaining. */ public Builder clearOutcome() { - + outcome_ = 0; onChanged(); return this; @@ -1033,19 +1182,21 @@ public Builder clearOutcome() { private java.lang.Object errorMessage_ = ""; /** + * + * *
      * An error message recorded during the execution of this step.
      * Only populated when outcome is FAILED.
      * 
* * string error_message = 3; + * * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; @@ -1054,21 +1205,22 @@ public java.lang.String getErrorMessage() { } } /** + * + * *
      * An error message recorded during the execution of this step.
      * Only populated when outcome is FAILED.
      * 
* * string error_message = 3; + * * @return The bytes for errorMessage. */ - public com.google.protobuf.ByteString - getErrorMessageBytes() { + public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -1076,64 +1228,71 @@ public java.lang.String getErrorMessage() { } } /** + * + * *
      * An error message recorded during the execution of this step.
      * Only populated when outcome is FAILED.
      * 
* * string error_message = 3; + * * @param value The errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessage( - java.lang.String value) { + public Builder setErrorMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorMessage_ = value; onChanged(); return this; } /** + * + * *
      * An error message recorded during the execution of this step.
      * Only populated when outcome is FAILED.
      * 
* * string error_message = 3; + * * @return This builder for chaining. */ public Builder clearErrorMessage() { - + errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** + * + * *
      * An error message recorded during the execution of this step.
      * Only populated when outcome is FAILED.
      * 
* * string error_message = 3; + * * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorMessage_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1143,12 +1302,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep) - private static final com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep(); } @@ -1157,16 +1317,16 @@ public static com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OSPolicyResourceConfigStep parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OSPolicyResourceConfigStep(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OSPolicyResourceConfigStep parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OSPolicyResourceConfigStep(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1181,6 +1341,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStepOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStepOrBuilder.java similarity index 69% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStepOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStepOrBuilder.java index 0eddc5af..b3eca981 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStepOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyResourceConfigStepOrBuilder.java @@ -1,69 +1,103 @@ +/* + * 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/osconfig/v1alpha/config_common.proto package com.google.cloud.osconfig.v1alpha; -@java.lang.Deprecated public interface OSPolicyResourceConfigStepOrBuilder extends +@java.lang.Deprecated +public interface OSPolicyResourceConfigStepOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Configuration step type.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Configuration step type.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1; + * * @return The type. */ com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type getType(); /** + * + * *
    * Outcome of the configuration step.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2; + * * @return The enum numeric value on the wire for outcome. */ int getOutcomeValue(); /** + * + * *
    * Outcome of the configuration step.
    * 
* * .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2; + * * @return The outcome. */ com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome getOutcome(); /** + * + * *
    * An error message recorded during the execution of this step.
    * Only populated when outcome is FAILED.
    * 
* * string error_message = 3; + * * @return The errorMessage. */ java.lang.String getErrorMessage(); /** + * + * *
    * An error message recorded during the execution of this step.
    * Only populated when outcome is FAILED.
    * 
* * string error_message = 3; + * * @return The bytes for errorMessage. */ - com.google.protobuf.ByteString - getErrorMessageBytes(); + com.google.protobuf.ByteString getErrorMessageBytes(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java new file mode 100644 index 00000000..39edb95e --- /dev/null +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java @@ -0,0 +1,189 @@ +/* + * 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/osconfig/v1alpha/osconfig_zonal_service.proto + +package com.google.cloud.osconfig.v1alpha; + +public final class OsConfigZonalServiceProto { + private OsConfigZonalServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n:google/cloud/osconfig/v1alpha/osconfig" + + "_zonal_service.proto\022\035google.cloud.oscon" + + "fig.v1alpha\032\034google/api/annotations.prot" + + "o\032\027google/api/client.proto\032\031google/api/r" + + "esource.proto\032Cgoogle/cloud/osconfig/v1a" + + "lpha/instance_os_policies_compliance.pro" + + "to\032-google/cloud/osconfig/v1alpha/invent" + + "ory.proto\032@google/cloud/osconfig/v1alpha" + + "/os_policy_assignment_reports.proto\0329goo" + + "gle/cloud/osconfig/v1alpha/os_policy_ass" + + "ignments.proto\0321google/cloud/osconfig/v1" + + "alpha/vulnerability.proto\032#google/longru" + + "nning/operations.proto2\350\034\n\024OsConfigZonal" + + "Service\022\310\002\n\030CreateOSPolicyAssignment\022>.g" + + "oogle.cloud.osconfig.v1alpha.CreateOSPol" + + "icyAssignmentRequest\032\035.google.longrunnin" + + "g.Operation\"\314\001\202\323\344\223\002T\".google.cloud.osconfig.v1alpha." + + "UpdateOSPolicyAssignmentRequest\032\035.google" + + ".longrunning.Operation\"\316\001\202\323\344\223\002i2Q/v1alph" + + "a/{os_policy_assignment.name=projects/*/" + + "locations/*/osPolicyAssignments/*}:\024os_p" + + "olicy_assignment\332A os_policy_assignment," + + "update_mask\312A9\n\022OSPolicyAssignment\022#OSPo" + + "licyAssignmentOperationMetadata\022\324\001\n\025GetO" + + "SPolicyAssignment\022;.google.cloud.osconfi" + + "g.v1alpha.GetOSPolicyAssignmentRequest\0321" + + ".google.cloud.osconfig.v1alpha.OSPolicyA" + + "ssignment\"K\202\323\344\223\002>\022.google.cloud.osconfi" + + "g.v1alpha.ListOSPolicyAssignmentsRespons" + + "e\"M\202\323\344\223\002>\022.google.cloud.oscon" + + "fig.v1alpha.DeleteOSPolicyAssignmentRequ" + + "est\032\035.google.longrunning.Operation\"\212\001\202\323\344" + + "\223\002>*\022.google.cloud.osconfig." + + "v1alpha.ListVulnerabilityReportsRequest\032" + + "?.google.cloud.osconfig.v1alpha.ListVuln" + + "erabilityReportsResponse\"Z\202\323\344\223\002K\022I/v1alp" + + "ha/{parent=projects/*/locations/*/instan" + + "ces/*}/vulnerabilityReports\332A\006parent\032K\312A" + + "\027osconfig.googleapis.com\322A.https://www.g" + + "oogleapis.com/auth/cloud-platformB\314\002\n!co" + + "m.google.cloud.osconfig.v1alphaB\031OsConfi" + + "gZonalServiceProtoP\001ZEgoogle.golang.org/" + + "genproto/googleapis/cloud/osconfig/v1alp" + + "ha;osconfig\252\002\035Google.Cloud.OsConfig.V1Al" + + "pha\312\002\035Google\\Cloud\\OsConfig\\V1alpha\352\002 Go" + + "ogle::Cloud::OsConfig::V1alpha\352A_\n\037compu" + + "te.googleapis.com/Instance\022.google.cloud.osconfig.v1alpha." + + "OSPolicyAssignment.RolloutStateB\003\340A\003\022\025\n\010" + + "baseline\030\n \001(\010B\003\340A\003\022\024\n\007deleted\030\013 \001(\010B\003\340A" + + "\003\022\030\n\013reconciling\030\014 \001(\010B\003\340A\003\022\020\n\003uid\030\r \001(\t" + + "B\003\340A\003\032\221\001\n\010LabelSet\022V\n\006labels\030\001 \003(\0132F.goo" + + "gle.cloud.osconfig.v1alpha.OSPolicyAssig" + + "nment.LabelSet.LabelsEntry\032-\n\013LabelsEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\203\003\n\016In" + + "stanceFilter\022\013\n\003all\030\001 \001(\010\022\032\n\016os_short_na" + + "mes\030\002 \003(\tB\002\030\001\022T\n\020inclusion_labels\030\003 \003(\0132" + + ":.google.cloud.osconfig.v1alpha.OSPolicy" + + "Assignment.LabelSet\022T\n\020exclusion_labels\030" + + "\004 \003(\0132:.google.cloud.osconfig.v1alpha.OS" + + "PolicyAssignment.LabelSet\022_\n\013inventories" + + "\030\005 \003(\0132J.google.cloud.osconfig.v1alpha.O" + + "SPolicyAssignment.InstanceFilter.Invento" + + "ry\032;\n\tInventory\022\032\n\ros_short_name\030\001 \001(\tB\003" + + "\340A\002\022\022\n\nos_version\030\002 \001(\t\032\223\001\n\007Rollout\022M\n\021d" + + "isruption_budget\030\001 \001(\0132-.google.cloud.os" + + "config.v1alpha.FixedOrPercentB\003\340A\002\0229\n\021mi" + + "n_wait_duration\030\002 \001(\0132\031.google.protobuf." + + "DurationB\003\340A\002\"l\n\014RolloutState\022\035\n\031ROLLOUT" + + "_STATE_UNSPECIFIED\020\000\022\017\n\013IN_PROGRESS\020\001\022\016\n" + + "\nCANCELLING\020\002\022\r\n\tCANCELLED\020\003\022\r\n\tSUCCEEDE" + + "D\020\004:\204\001\352A\200\001\n*osconfig.googleapis.com/OSPo" + + "licyAssignment\022Rprojects/{project}/locat" + + "ions/{location}/osPolicyAssignments/{os_" + + "policy_assignment}\"\352\004\n#OSPolicyAssignmen" + + "tOperationMetadata\022M\n\024os_policy_assignme" + + "nt\030\001 \001(\tB/\372A,\n*osconfig.googleapis.com/O" + + "SPolicyAssignment\022`\n\napi_method\030\002 \001(\0162L." + + "google.cloud.osconfig.v1alpha.OSPolicyAs" + + "signmentOperationMetadata.APIMethod\022f\n\rr" + + "ollout_state\030\003 \001(\0162O.google.cloud.osconf" + + "ig.v1alpha.OSPolicyAssignmentOperationMe" + + "tadata.RolloutState\0226\n\022rollout_start_tim" + + "e\030\004 \001(\0132\032.google.protobuf.Timestamp\0227\n\023r" + + "ollout_update_time\030\005 \001(\0132\032.google.protob" + + "uf.Timestamp\"K\n\tAPIMethod\022\032\n\026API_METHOD_" + + "UNSPECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006UPDATE\020\002\022\n\n" + + "\006DELETE\020\003\"l\n\014RolloutState\022\035\n\031ROLLOUT_STA" + + "TE_UNSPECIFIED\020\000\022\017\n\013IN_PROGRESS\020\001\022\016\n\nCAN" + + "CELLING\020\002\022\r\n\tCANCELLED\020\003\022\r\n\tSUCCEEDED\020\004\"" + + "\330\001\n\037CreateOSPolicyAssignmentRequest\0229\n\006p" + + "arent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapi" + + "s.com/Location\022T\n\024os_policy_assignment\030\002" + + " \001(\01321.google.cloud.osconfig.v1alpha.OSP" + + "olicyAssignmentB\003\340A\002\022$\n\027os_policy_assign" + + "ment_id\030\003 \001(\tB\003\340A\002\"\255\001\n\037UpdateOSPolicyAss" + + "ignmentRequest\022T\n\024os_policy_assignment\030\001" + + " \001(\01321.google.cloud.osconfig.v1alpha.OSP" + + "olicyAssignmentB\003\340A\002\0224\n\013update_mask\030\002 \001(" + + "\0132\032.google.protobuf.FieldMaskB\003\340A\001\"`\n\034Ge" + + "tOSPolicyAssignmentRequest\022@\n\004name\030\001 \001(\t" + + "B2\340A\002\372A,\n*osconfig.googleapis.com/OSPoli" + + "cyAssignment\"\202\001\n\036ListOSPolicyAssignments" + + "Request\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locatio" + + "ns.googleapis.com/Location\022\021\n\tpage_size\030" + + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\214\001\n\037ListOSPoli" + + "cyAssignmentsResponse\022P\n\025os_policy_assig" + + "nments\030\001 \003(\01321.google.cloud.osconfig.v1a" + + "lpha.OSPolicyAssignment\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"\221\001\n&ListOSPolicyAssignmentRevis" + + "ionsRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*oscon" + + "fig.googleapis.com/OSPolicyAssignment\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\224\001\n" + + "\'ListOSPolicyAssignmentRevisionsResponse" + + "\022P\n\025os_policy_assignments\030\001 \003(\01321.google" + + ".cloud.osconfig.v1alpha.OSPolicyAssignme" + + "nt\022\027\n\017next_page_token\030\002 \001(\t\"c\n\037DeleteOSP" + + "olicyAssignmentRequest\022@\n\004name\030\001 \001(\tB2\340A" + + "\002\372A,\n*osconfig.googleapis.com/OSPolicyAs" + + "signmentB\351\001\n!com.google.cloud.osconfig.v" + + "1alphaB\030OsPolicyAssignmentsProtoP\001ZEgoog" + + "le.golang.org/genproto/googleapis/cloud/" + + "osconfig/v1alpha;osconfig\252\002\035Google.Cloud" + + ".OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsConfi" + + "g\\V1alpha\352\002 Google::Cloud::OsConfig::V1a" + + "lphab\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.osconfig.v1alpha.OsPolicyProto.getDescriptor(), + com.google.cloud.osconfig.v1alpha.Common.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor, + new java.lang.String[] { + "Name", + "Description", + "OsPolicies", + "InstanceFilter", + "Rollout", + "RevisionId", + "RevisionCreateTime", + "Etag", + "RolloutState", + "Baseline", + "Deleted", + "Reconciling", + "Uid", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor, + new java.lang.String[] { + "Labels", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_LabelSet_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor, + new java.lang.String[] { + "All", "OsShortNames", "InclusionLabels", "ExclusionLabels", "Inventories", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_InstanceFilter_Inventory_descriptor, + new java.lang.String[] { + "OsShortName", "OsVersion", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignment_Rollout_descriptor, + new java.lang.String[] { + "DisruptionBudget", "MinWaitDuration", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicyAssignmentOperationMetadata_descriptor, + new java.lang.String[] { + "OsPolicyAssignment", + "ApiMethod", + "RolloutState", + "RolloutStartTime", + "RolloutUpdateTime", + }); + internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_CreateOSPolicyAssignmentRequest_descriptor, + new java.lang.String[] { + "Parent", "OsPolicyAssignment", "OsPolicyAssignmentId", + }); + internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor, + new java.lang.String[] { + "OsPolicyAssignment", "UpdateMask", + }); + internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_GetOSPolicyAssignmentRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentsResponse_descriptor, + new java.lang.String[] { + "OsPolicyAssignments", "NextPageToken", + }); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsRequest_descriptor, + new java.lang.String[] { + "Name", "PageSize", "PageToken", + }); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListOSPolicyAssignmentRevisionsResponse_descriptor, + new java.lang.String[] { + "OsPolicyAssignments", "NextPageToken", + }); + internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_DeleteOSPolicyAssignmentRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.osconfig.v1alpha.OsPolicyProto.getDescriptor(); + com.google.cloud.osconfig.v1alpha.Common.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyProto.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyProto.java new file mode 100644 index 00000000..115a5e73 --- /dev/null +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsPolicyProto.java @@ -0,0 +1,513 @@ +/* + * 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/osconfig/v1alpha/os_policy.proto + +package com.google.cloud.osconfig.v1alpha; + +public final class OsPolicyProto { + private OsPolicyProto() {} + + 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_osconfig_v1alpha_OSPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n-google/cloud/osconfig/v1alpha/os_polic" + + "y.proto\022\035google.cloud.osconfig.v1alpha\032\034" + + "google/api/annotations.proto\032\037google/api" + + "/field_behavior.proto\"\204#\n\010OSPolicy\022\017\n\002id" + + "\030\001 \001(\tB\003\340A\002\022\023\n\013description\030\002 \001(\t\022?\n\004mode" + + "\030\003 \001(\0162,.google.cloud.osconfig.v1alpha.O" + + "SPolicy.ModeB\003\340A\002\022S\n\017resource_groups\030\004 \003" + + "(\01325.google.cloud.osconfig.v1alpha.OSPol" + + "icy.ResourceGroupB\003\340A\002\022%\n\035allow_no_resou" + + "rce_group_match\030\005 \001(\010\0325\n\010OSFilter\022\025\n\ros_" + + "short_name\030\001 \001(\t\022\022\n\nos_version\030\002 \001(\t\032A\n\017" + + "InventoryFilter\022\032\n\ros_short_name\030\001 \001(\tB\003" + + "\340A\002\022\022\n\nos_version\030\002 \001(\t\032\342\035\n\010Resource\022\017\n\002" + + "id\030\001 \001(\tB\003\340A\002\022O\n\003pkg\030\002 \001(\0132@.google.clou" + + "d.osconfig.v1alpha.OSPolicy.Resource.Pac" + + "kageResourceH\000\022Y\n\nrepository\030\003 \001(\0132C.goo" + + "gle.cloud.osconfig.v1alpha.OSPolicy.Reso" + + "urce.RepositoryResourceH\000\022M\n\004exec\030\004 \001(\0132" + + "=.google.cloud.osconfig.v1alpha.OSPolicy" + + ".Resource.ExecResourceH\000\022M\n\004file\030\005 \001(\0132=" + + ".google.cloud.osconfig.v1alpha.OSPolicy." + + "Resource.FileResourceH\000\032\320\002\n\004File\022N\n\006remo" + + "te\030\001 \001(\0132<.google.cloud.osconfig.v1alpha" + + ".OSPolicy.Resource.File.RemoteH\000\022H\n\003gcs\030" + + "\002 \001(\01329.google.cloud.osconfig.v1alpha.OS" + + "Policy.Resource.File.GcsH\000\022\024\n\nlocal_path" + + "\030\003 \001(\tH\000\022\026\n\016allow_insecure\030\004 \001(\010\0323\n\006Remo" + + "te\022\020\n\003uri\030\001 \001(\tB\003\340A\002\022\027\n\017sha256_checksum\030" + + "\002 \001(\t\032C\n\003Gcs\022\023\n\006bucket\030\001 \001(\tB\003\340A\002\022\023\n\006obj" + + "ect\030\002 \001(\tB\003\340A\002\022\022\n\ngeneration\030\003 \001(\003B\006\n\004ty" + + "pe\032\331\t\n\017PackageResource\022i\n\rdesired_state\030" + + "\001 \001(\0162M.google.cloud.osconfig.v1alpha.OS" + + "Policy.Resource.PackageResource.DesiredS" + + "tateB\003\340A\002\022S\n\003apt\030\002 \001(\0132D.google.cloud.os" + + "config.v1alpha.OSPolicy.Resource.Package" + + "Resource.APTH\000\022S\n\003deb\030\003 \001(\0132D.google.clo" + + "ud.osconfig.v1alpha.OSPolicy.Resource.Pa" + + "ckageResource.DebH\000\022S\n\003yum\030\004 \001(\0132D.googl" + + "e.cloud.osconfig.v1alpha.OSPolicy.Resour" + + "ce.PackageResource.YUMH\000\022Y\n\006zypper\030\005 \001(\013" + + "2G.google.cloud.osconfig.v1alpha.OSPolic" + + "y.Resource.PackageResource.ZypperH\000\022S\n\003r" + + "pm\030\006 \001(\0132D.google.cloud.osconfig.v1alpha" + + ".OSPolicy.Resource.PackageResource.RPMH\000" + + "\022Y\n\006googet\030\007 \001(\0132G.google.cloud.osconfig" + + ".v1alpha.OSPolicy.Resource.PackageResour" + + "ce.GooGetH\000\022S\n\003msi\030\010 \001(\0132D.google.cloud." + + "osconfig.v1alpha.OSPolicy.Resource.Packa" + + "geResource.MSIH\000\032d\n\003Deb\022J\n\006source\030\001 \001(\0132" + + "5.google.cloud.osconfig.v1alpha.OSPolicy" + + ".Resource.FileB\003\340A\002\022\021\n\tpull_deps\030\002 \001(\010\032\030" + + "\n\003APT\022\021\n\004name\030\001 \001(\tB\003\340A\002\032d\n\003RPM\022J\n\006sourc" + + "e\030\001 \001(\01325.google.cloud.osconfig.v1alpha." + + "OSPolicy.Resource.FileB\003\340A\002\022\021\n\tpull_deps" + + "\030\002 \001(\010\032\030\n\003YUM\022\021\n\004name\030\001 \001(\tB\003\340A\002\032\033\n\006Zypp" + + "er\022\021\n\004name\030\001 \001(\tB\003\340A\002\032\033\n\006GooGet\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\002\032e\n\003MSI\022J\n\006source\030\001 \001(\01325.goog" + + "le.cloud.osconfig.v1alpha.OSPolicy.Resou" + + "rce.FileB\003\340A\002\022\022\n\nproperties\030\002 \003(\t\"I\n\014Des" + + "iredState\022\035\n\031DESIRED_STATE_UNSPECIFIED\020\000" + + "\022\r\n\tINSTALLED\020\001\022\013\n\007REMOVED\020\002B\020\n\016system_p" + + "ackage\032\321\007\n\022RepositoryResource\022`\n\003apt\030\001 \001" + + "(\0132Q.google.cloud.osconfig.v1alpha.OSPol" + + "icy.Resource.RepositoryResource.AptRepos" + + "itoryH\000\022`\n\003yum\030\002 \001(\0132Q.google.cloud.osco" + + "nfig.v1alpha.OSPolicy.Resource.Repositor" + + "yResource.YumRepositoryH\000\022f\n\006zypper\030\003 \001(" + + "\0132T.google.cloud.osconfig.v1alpha.OSPoli" + + "cy.Resource.RepositoryResource.ZypperRep" + + "ositoryH\000\022`\n\003goo\030\004 \001(\0132Q.google.cloud.os" + + "config.v1alpha.OSPolicy.Resource.Reposit" + + "oryResource.GooRepositoryH\000\032\243\002\n\rAptRepos" + + "itory\022x\n\014archive_type\030\001 \001(\0162].google.clo" + + "ud.osconfig.v1alpha.OSPolicy.Resource.Re" + + "positoryResource.AptRepository.ArchiveTy" + + "peB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\031\n\014distributio" + + "n\030\003 \001(\tB\003\340A\002\022\027\n\ncomponents\030\004 \003(\tB\003\340A\002\022\017\n" + + "\007gpg_key\030\005 \001(\t\"A\n\013ArchiveType\022\034\n\030ARCHIVE" + + "_TYPE_UNSPECIFIED\020\000\022\007\n\003DEB\020\001\022\013\n\007DEB_SRC\020" + + "\002\032_\n\rYumRepository\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014d" + + "isplay_name\030\002 \001(\t\022\025\n\010base_url\030\003 \001(\tB\003\340A\002" + + "\022\020\n\010gpg_keys\030\004 \003(\t\032b\n\020ZypperRepository\022\017" + + "\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014display_name\030\002 \001(\t\022\025\n" + + "\010base_url\030\003 \001(\tB\003\340A\002\022\020\n\010gpg_keys\030\004 \003(\t\0324" + + "\n\rGooRepository\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003ur" + + "l\030\002 \001(\tB\003\340A\002B\014\n\nrepository\032\215\004\n\014ExecResou" + + "rce\022Y\n\010validate\030\001 \001(\0132B.google.cloud.osc" + + "onfig.v1alpha.OSPolicy.Resource.ExecReso" + + "urce.ExecB\003\340A\002\022S\n\007enforce\030\002 \001(\0132B.google" + + ".cloud.osconfig.v1alpha.OSPolicy.Resourc" + + "e.ExecResource.Exec\032\314\002\n\004Exec\022E\n\004file\030\001 \001" + + "(\01325.google.cloud.osconfig.v1alpha.OSPol" + + "icy.Resource.FileH\000\022\020\n\006script\030\002 \001(\tH\000\022\014\n" + + "\004args\030\003 \003(\t\022h\n\013interpreter\030\004 \001(\0162N.googl" + + "e.cloud.osconfig.v1alpha.OSPolicy.Resour" + + "ce.ExecResource.Exec.InterpreterB\003\340A\002\022\030\n" + + "\020output_file_path\030\005 \001(\t\"O\n\013Interpreter\022\033" + + "\n\027INTERPRETER_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\t\n" + + "\005SHELL\020\002\022\016\n\nPOWERSHELL\020\003B\010\n\006source\032\326\002\n\014F" + + "ileResource\022E\n\004file\030\001 \001(\01325.google.cloud" + + ".osconfig.v1alpha.OSPolicy.Resource.File" + + "H\000\022\021\n\007content\030\002 \001(\tH\000\022\021\n\004path\030\003 \001(\tB\003\340A\002" + + "\022^\n\005state\030\004 \001(\0162J.google.cloud.osconfig." + + "v1alpha.OSPolicy.Resource.FileResource.D" + + "esiredStateB\003\340A\002\022\023\n\013permissions\030\005 \001(\t\"Z\n" + + "\014DesiredState\022\035\n\031DESIRED_STATE_UNSPECIFI" + + "ED\020\000\022\013\n\007PRESENT\020\001\022\n\n\006ABSENT\020\002\022\022\n\016CONTENT" + + "S_MATCH\020\003B\010\n\006sourceB\017\n\rresource_type\032\366\001\n" + + "\rResourceGroup\022G\n\tos_filter\030\001 \001(\01320.goog" + + "le.cloud.osconfig.v1alpha.OSPolicy.OSFil" + + "terB\002\030\001\022R\n\021inventory_filters\030\003 \003(\01327.goo" + + "gle.cloud.osconfig.v1alpha.OSPolicy.Inve" + + "ntoryFilter\022H\n\tresources\030\002 \003(\01320.google." + + "cloud.osconfig.v1alpha.OSPolicy.Resource" + + "B\003\340A\002\"=\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\016\n\nV" + + "ALIDATION\020\001\022\017\n\013ENFORCEMENT\020\002B\336\001\n!com.goo" + + "gle.cloud.osconfig.v1alphaB\rOsPolicyProt" + + "oP\001ZEgoogle.golang.org/genproto/googleap" + + "is/cloud/osconfig/v1alpha;osconfig\252\002\035Goo" + + "gle.Cloud.OsConfig.V1Alpha\312\002\035Google\\Clou" + + "d\\OsConfig\\V1alpha\352\002 Google::Cloud::OsCo" + + "nfig::V1alphab\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor, + new java.lang.String[] { + "Id", "Description", "Mode", "ResourceGroups", "AllowNoResourceGroupMatch", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_OSFilter_descriptor, + new java.lang.String[] { + "OsShortName", "OsVersion", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_InventoryFilter_descriptor, + new java.lang.String[] { + "OsShortName", "OsVersion", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor, + new java.lang.String[] { + "Id", "Pkg", "Repository", "Exec", "File", "ResourceType", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor, + new java.lang.String[] { + "Remote", "Gcs", "LocalPath", "AllowInsecure", "Type", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Remote_descriptor, + new java.lang.String[] { + "Uri", "Sha256Checksum", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_File_Gcs_descriptor, + new java.lang.String[] { + "Bucket", "Object", "Generation", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor, + new java.lang.String[] { + "DesiredState", + "Apt", + "Deb", + "Yum", + "Zypper", + "Rpm", + "Googet", + "Msi", + "SystemPackage", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Deb_descriptor, + new java.lang.String[] { + "Source", "PullDeps", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_APT_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_RPM_descriptor, + new java.lang.String[] { + "Source", "PullDeps", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_YUM_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor + .getNestedTypes() + .get(4); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_Zypper_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor + .getNestedTypes() + .get(5); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_GooGet_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_descriptor + .getNestedTypes() + .get(6); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_PackageResource_MSI_descriptor, + new java.lang.String[] { + "Source", "Properties", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor, + new java.lang.String[] { + "Apt", "Yum", "Zypper", "Goo", "Repository", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_AptRepository_descriptor, + new java.lang.String[] { + "ArchiveType", "Uri", "Distribution", "Components", "GpgKey", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_YumRepository_descriptor, + new java.lang.String[] { + "Id", "DisplayName", "BaseUrl", "GpgKeys", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_ZypperRepository_descriptor, + new java.lang.String[] { + "Id", "DisplayName", "BaseUrl", "GpgKeys", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_RepositoryResource_GooRepository_descriptor, + new java.lang.String[] { + "Name", "Url", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor, + new java.lang.String[] { + "Validate", "Enforce", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_ExecResource_Exec_descriptor, + new java.lang.String[] { + "File", "Script", "Args", "Interpreter", "OutputFilePath", "Source", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_descriptor + .getNestedTypes() + .get(4); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_Resource_FileResource_descriptor, + new java.lang.String[] { + "File", "Content", "Path", "State", "Permissions", "Source", + }); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor = + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_OSPolicy_ResourceGroup_descriptor, + new java.lang.String[] { + "OsFilter", "InventoryFilters", "Resources", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequest.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequest.java similarity index 62% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequest.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequest.java index 4616a274..f38d188a 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequest.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequest.java @@ -1,39 +1,56 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * A request message to update an OS policy assignment
  * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest} */ -public final class UpdateOSPolicyAssignmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateOSPolicyAssignmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) UpdateOSPolicyAssignmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateOSPolicyAssignmentRequest.newBuilder() to construct. - private UpdateOSPolicyAssignmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateOSPolicyAssignmentRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateOSPolicyAssignmentRequest() { - } + + private UpdateOSPolicyAssignmentRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateOSPolicyAssignmentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateOSPolicyAssignmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +69,45 @@ private UpdateOSPolicyAssignmentRequest( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder subBuilder = null; - if (osPolicyAssignment_ != null) { - subBuilder = osPolicyAssignment_.toBuilder(); - } - osPolicyAssignment_ = input.readMessage(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(osPolicyAssignment_); - osPolicyAssignment_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder subBuilder = null; + if (osPolicyAssignment_ != null) { + subBuilder = osPolicyAssignment_.toBuilder(); + } + osPolicyAssignment_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(osPolicyAssignment_); + osPolicyAssignment_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +115,41 @@ private UpdateOSPolicyAssignmentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.class, + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.Builder.class); } public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1alpha.OSPolicyAssignment osPolicyAssignment_; /** + * + * *
    * Required. The updated OS policy assignment.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the osPolicyAssignment field is set. */ @java.lang.Override @@ -127,37 +157,53 @@ public boolean hasOsPolicyAssignment() { return osPolicyAssignment_ != null; } /** + * + * *
    * Required. The updated OS policy assignment.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The osPolicyAssignment. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignment() { - return osPolicyAssignment_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; + return osPolicyAssignment_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() + : osPolicyAssignment_; } /** + * + * *
    * Required. The updated OS policy assignment.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder + getOsPolicyAssignmentOrBuilder() { return getOsPolicyAssignment(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. Field mask that controls which fields of the assignment should be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -165,11 +211,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. Field mask that controls which fields of the assignment should be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -177,11 +227,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. Field mask that controls which fields of the assignment should be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -189,6 +242,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +254,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (osPolicyAssignment_ != null) { output.writeMessage(1, getOsPolicyAssignment()); } @@ -218,12 +271,10 @@ public int getSerializedSize() { size = 0; if (osPolicyAssignment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getOsPolicyAssignment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOsPolicyAssignment()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +284,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest other = (com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) obj; + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest other = + (com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) obj; if (hasOsPolicyAssignment() != other.hasOsPolicyAssignment()) return false; if (hasOsPolicyAssignment()) { - if (!getOsPolicyAssignment() - .equals(other.getOsPolicyAssignment())) return false; + if (!getOsPolicyAssignment().equals(other.getOsPolicyAssignment())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,134 +325,145 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest 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.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest 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.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest + 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.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message to update an OS policy assignment
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.class, com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.Builder.class); + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.class, + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,13 +483,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto.internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.OsPolicyAssignmentsProto + .internal_static_google_cloud_osconfig_v1alpha_UpdateOSPolicyAssignmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.getDefaultInstance(); } @@ -443,7 +505,8 @@ public com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest build() @java.lang.Override public com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest buildPartial() { - com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest result = new com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest(this); + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest result = + new com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest(this); if (osPolicyAssignmentBuilder_ == null) { result.osPolicyAssignment_ = osPolicyAssignment_; } else { @@ -462,46 +525,50 @@ public com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest other) { - if (other == com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest other) { + if (other + == com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest.getDefaultInstance()) + return this; if (other.hasOsPolicyAssignment()) { mergeOsPolicyAssignment(other.getOsPolicyAssignment()); } @@ -527,7 +594,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,41 +608,61 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1alpha.OSPolicyAssignment osPolicyAssignment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> osPolicyAssignmentBuilder_; + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> + osPolicyAssignmentBuilder_; /** + * + * *
      * Required. The updated OS policy assignment.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the osPolicyAssignment field is set. */ public boolean hasOsPolicyAssignment() { return osPolicyAssignmentBuilder_ != null || osPolicyAssignment_ != null; } /** + * + * *
      * Required. The updated OS policy assignment.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The osPolicyAssignment. */ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignment() { if (osPolicyAssignmentBuilder_ == null) { - return osPolicyAssignment_ == null ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; + return osPolicyAssignment_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() + : osPolicyAssignment_; } else { return osPolicyAssignmentBuilder_.getMessage(); } } /** + * + * *
      * Required. The updated OS policy assignment.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setOsPolicyAssignment(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { + public Builder setOsPolicyAssignment( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { if (osPolicyAssignmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -587,11 +676,15 @@ public Builder setOsPolicyAssignment(com.google.cloud.osconfig.v1alpha.OSPolicyA return this; } /** + * + * *
      * Required. The updated OS policy assignment.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOsPolicyAssignment( com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder builderForValue) { @@ -605,17 +698,24 @@ public Builder setOsPolicyAssignment( return this; } /** + * + * *
      * Required. The updated OS policy assignment.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeOsPolicyAssignment(com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { + public Builder mergeOsPolicyAssignment( + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment value) { if (osPolicyAssignmentBuilder_ == null) { if (osPolicyAssignment_ != null) { osPolicyAssignment_ = - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.newBuilder(osPolicyAssignment_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.newBuilder(osPolicyAssignment_) + .mergeFrom(value) + .buildPartial(); } else { osPolicyAssignment_ = value; } @@ -627,11 +727,15 @@ public Builder mergeOsPolicyAssignment(com.google.cloud.osconfig.v1alpha.OSPolic return this; } /** + * + * *
      * Required. The updated OS policy assignment.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOsPolicyAssignment() { if (osPolicyAssignmentBuilder_ == null) { @@ -645,48 +749,66 @@ public Builder clearOsPolicyAssignment() { return this; } /** + * + * *
      * Required. The updated OS policy assignment.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder getOsPolicyAssignmentBuilder() { - + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder + getOsPolicyAssignmentBuilder() { + onChanged(); return getOsPolicyAssignmentFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The updated OS policy assignment.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder() { + public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder + getOsPolicyAssignmentOrBuilder() { if (osPolicyAssignmentBuilder_ != null) { return osPolicyAssignmentBuilder_.getMessageOrBuilder(); } else { - return osPolicyAssignment_ == null ? - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() : osPolicyAssignment_; + return osPolicyAssignment_ == null + ? com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.getDefaultInstance() + : osPolicyAssignment_; } } /** + * + * *
      * Required. The updated OS policy assignment.
      * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentFieldBuilder() { if (osPolicyAssignmentBuilder_ == null) { - osPolicyAssignmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder>( - getOsPolicyAssignment(), - getParentForChildren(), - isClean()); + osPolicyAssignmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder, + com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder>( + getOsPolicyAssignment(), getParentForChildren(), isClean()); osPolicyAssignment_ = null; } return osPolicyAssignmentBuilder_; @@ -694,39 +816,55 @@ public com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicy private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Optional. Field mask that controls which fields of the assignment should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Optional. Field mask that controls which fields of the assignment should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Optional. Field mask that controls which fields of the assignment should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -742,14 +880,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask that controls which fields of the assignment should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -760,17 +900,20 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. Field mask that controls which fields of the assignment should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,11 +925,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask that controls which fields of the assignment should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -800,55 +946,68 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. Field mask that controls which fields of the assignment should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Field mask that controls which fields of the assignment should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Optional. Field mask that controls which fields of the assignment should be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -858,30 +1017,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) - private static final com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest(); } - public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateOSPolicyAssignmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateOSPolicyAssignmentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateOSPolicyAssignmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateOSPolicyAssignmentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,9 +1054,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequestOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequestOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequestOrBuilder.java index bdf08f5f..59881fbc 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequestOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/UpdateOSPolicyAssignmentRequestOrBuilder.java @@ -1,63 +1,104 @@ +/* + * 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/osconfig/v1alpha/os_policy_assignments.proto package com.google.cloud.osconfig.v1alpha; -public interface UpdateOSPolicyAssignmentRequestOrBuilder extends +public interface UpdateOSPolicyAssignmentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The updated OS policy assignment.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the osPolicyAssignment field is set. */ boolean hasOsPolicyAssignment(); /** + * + * *
    * Required. The updated OS policy assignment.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The osPolicyAssignment. */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignment getOsPolicyAssignment(); /** + * + * *
    * Required. The updated OS policy assignment.
    * 
* - * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder(); /** + * + * *
    * Optional. Field mask that controls which fields of the assignment should be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. Field mask that controls which fields of the assignment should be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. Field mask that controls which fields of the assignment should be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityProto.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityProto.java new file mode 100644 index 00000000..23f5546f --- /dev/null +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityProto.java @@ -0,0 +1,278 @@ +/* + * 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/osconfig/v1alpha/vulnerability.proto + +package com.google.cloud.osconfig.v1alpha; + +public final class VulnerabilityProto { + private VulnerabilityProto() {} + + 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_osconfig_v1alpha_VulnerabilityReport_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1alpha_CVSSv3_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/osconfig/v1alpha/vulnerab" + + "ility.proto\022\035google.cloud.osconfig.v1alp" + + "ha\032\034google/api/annotations.proto\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\032\037google/protobuf/timestamp." + + "proto\"\334\010\n\023VulnerabilityReport\022\021\n\004name\030\001 " + + "\001(\tB\003\340A\003\022^\n\017vulnerabilities\030\002 \003(\0132@.goog" + + "le.cloud.osconfig.v1alpha.VulnerabilityR" + + "eport.VulnerabilityB\003\340A\003\0224\n\013update_time\030" + + "\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\032\226" + + "\006\n\rVulnerability\022Y\n\007details\030\001 \001(\0132H.goog" + + "le.cloud.osconfig.v1alpha.VulnerabilityR" + + "eport.Vulnerability.Details\022(\n\034installed" + + "_inventory_item_ids\030\002 \003(\tB\002\030\001\022(\n\034availab" + + "le_inventory_item_ids\030\003 \003(\tB\002\030\001\022/\n\013creat" + + "e_time\030\004 \001(\0132\032.google.protobuf.Timestamp" + + "\022/\n\013update_time\030\005 \001(\0132\032.google.protobuf." + + "Timestamp\022T\n\005items\030\006 \003(\0132E.google.cloud." + + "osconfig.v1alpha.VulnerabilityReport.Vul" + + "nerability.Item\032\236\002\n\007Details\022\013\n\003cve\030\001 \001(\t" + + "\022\025\n\rcvss_v2_score\030\002 \001(\002\0226\n\007cvss_v3\030\003 \001(\013" + + "2%.google.cloud.osconfig.v1alpha.CVSSv3\022" + + "\020\n\010severity\030\004 \001(\t\022\023\n\013description\030\005 \001(\t\022f" + + "\n\nreferences\030\006 \003(\0132R.google.cloud.osconf" + + "ig.v1alpha.VulnerabilityReport.Vulnerabi" + + "lity.Details.Reference\032(\n\tReference\022\013\n\003u" + + "rl\030\001 \001(\t\022\016\n\006source\030\002 \001(\t\032}\n\004Item\022#\n\033inst" + + "alled_inventory_item_id\030\001 \001(\t\022#\n\033availab" + + "le_inventory_item_id\030\002 \001(\t\022\025\n\rfixed_cpe_" + + "uri\030\003 \001(\t\022\024\n\014upstream_fix\030\004 \001(\t:\202\001\352A\177\n+o" + + "sconfig.googleapis.com/VulnerabilityRepo" + + "rt\022Pprojects/{project}/locations/{locati" + + "on}/instances/{instance}/vulnerabilityRe" + + "port\"b\n\035GetVulnerabilityReportRequest\022A\n" + + "\004name\030\001 \001(\tB3\340A\002\372A-\n+osconfig.googleapis" + + ".com/VulnerabilityReport\"\221\001\n\037ListVulnera" + + "bilityReportsRequest\0227\n\006parent\030\001 \001(\tB\'\340A" + + "\002\372A!\n\037compute.googleapis.com/Instance\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006" + + "filter\030\004 \001(\t\"\216\001\n ListVulnerabilityReport" + + "sResponse\022Q\n\025vulnerability_reports\030\001 \003(\013" + + "22.google.cloud.osconfig.v1alpha.Vulnera" + + "bilityReport\022\027\n\017next_page_token\030\002 \001(\t\"\335\n" + + "\n\006CVSSv3\022\022\n\nbase_score\030\001 \001(\002\022\034\n\024exploita" + + "bility_score\030\002 \001(\002\022\024\n\014impact_score\030\003 \001(\002" + + "\022I\n\rattack_vector\030\005 \001(\01622.google.cloud.o" + + "sconfig.v1alpha.CVSSv3.AttackVector\022Q\n\021a" + + "ttack_complexity\030\006 \001(\01626.google.cloud.os" + + "config.v1alpha.CVSSv3.AttackComplexity\022U" + + "\n\023privileges_required\030\007 \001(\01628.google.clo" + + "ud.osconfig.v1alpha.CVSSv3.PrivilegesReq" + + "uired\022O\n\020user_interaction\030\010 \001(\01625.google" + + ".cloud.osconfig.v1alpha.CVSSv3.UserInter" + + "action\022:\n\005scope\030\t \001(\0162+.google.cloud.osc" + + "onfig.v1alpha.CVSSv3.Scope\022L\n\026confidenti" + + "ality_impact\030\n \001(\0162,.google.cloud.osconf" + + "ig.v1alpha.CVSSv3.Impact\022F\n\020integrity_im" + + "pact\030\013 \001(\0162,.google.cloud.osconfig.v1alp" + + "ha.CVSSv3.Impact\022I\n\023availability_impact\030" + + "\014 \001(\0162,.google.cloud.osconfig.v1alpha.CV" + + "SSv3.Impact\"\231\001\n\014AttackVector\022\035\n\031ATTACK_V" + + "ECTOR_UNSPECIFIED\020\000\022\031\n\025ATTACK_VECTOR_NET" + + "WORK\020\001\022\032\n\026ATTACK_VECTOR_ADJACENT\020\002\022\027\n\023AT" + + "TACK_VECTOR_LOCAL\020\003\022\032\n\026ATTACK_VECTOR_PHY" + + "SICAL\020\004\"l\n\020AttackComplexity\022!\n\035ATTACK_CO" + + "MPLEXITY_UNSPECIFIED\020\000\022\031\n\025ATTACK_COMPLEX" + + "ITY_LOW\020\001\022\032\n\026ATTACK_COMPLEXITY_HIGH\020\002\"\222\001" + + "\n\022PrivilegesRequired\022#\n\037PRIVILEGES_REQUI" + + "RED_UNSPECIFIED\020\000\022\034\n\030PRIVILEGES_REQUIRED" + + "_NONE\020\001\022\033\n\027PRIVILEGES_REQUIRED_LOW\020\002\022\034\n\030" + + "PRIVILEGES_REQUIRED_HIGH\020\003\"m\n\017UserIntera" + + "ction\022 \n\034USER_INTERACTION_UNSPECIFIED\020\000\022" + + "\031\n\025USER_INTERACTION_NONE\020\001\022\035\n\031USER_INTER" + + "ACTION_REQUIRED\020\002\"F\n\005Scope\022\025\n\021SCOPE_UNSP" + + "ECIFIED\020\000\022\023\n\017SCOPE_UNCHANGED\020\001\022\021\n\rSCOPE_" + + "CHANGED\020\002\"R\n\006Impact\022\026\n\022IMPACT_UNSPECIFIE" + + "D\020\000\022\017\n\013IMPACT_HIGH\020\001\022\016\n\nIMPACT_LOW\020\002\022\017\n\013" + + "IMPACT_NONE\020\003B\343\001\n!com.google.cloud.oscon" + + "fig.v1alphaB\022VulnerabilityProtoP\001ZEgoogl" + + "e.golang.org/genproto/googleapis/cloud/o" + + "sconfig/v1alpha;osconfig\252\002\035Google.Cloud." + + "OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsConfig" + + "\\V1alpha\352\002 Google::Cloud::OsConfig::V1al" + + "phab\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor, + new java.lang.String[] { + "Name", "Vulnerabilities", "UpdateTime", + }); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor = + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor, + new java.lang.String[] { + "Details", + "InstalledInventoryItemIds", + "AvailableInventoryItemIds", + "CreateTime", + "UpdateTime", + "Items", + }); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor = + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor, + new java.lang.String[] { + "Cve", "CvssV2Score", "CvssV3", "Severity", "Description", "References", + }); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor = + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor, + new java.lang.String[] { + "Url", "Source", + }); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor = + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor, + new java.lang.String[] { + "InstalledInventoryItemId", "AvailableInventoryItemId", "FixedCpeUri", "UpstreamFix", + }); + internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_GetVulnerabilityReportRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", + }); + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_ListVulnerabilityReportsResponse_descriptor, + new java.lang.String[] { + "VulnerabilityReports", "NextPageToken", + }); + internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_osconfig_v1alpha_CVSSv3_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1alpha_CVSSv3_descriptor, + new java.lang.String[] { + "BaseScore", + "ExploitabilityScore", + "ImpactScore", + "AttackVector", + "AttackComplexity", + "PrivilegesRequired", + "UserInteraction", + "Scope", + "ConfidentialityImpact", + "IntegrityImpact", + "AvailabilityImpact", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReport.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReport.java similarity index 66% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReport.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReport.java index e2d302e1..03b7d5e4 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReport.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReport.java @@ -1,9 +1,26 @@ +/* + * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; /** + * + * *
  * This API resource represents the vulnerability report for a specified
  * Compute Engine virtual machine (VM) instance at a given point in time.
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport}
  */
-public final class VulnerabilityReport extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class VulnerabilityReport extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport)
     VulnerabilityReportOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use VulnerabilityReport.newBuilder() to construct.
   private VulnerabilityReport(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private VulnerabilityReport() {
     name_ = "";
     vulnerabilities_ = java.util.Collections.emptyList();
@@ -29,16 +47,15 @@ private VulnerabilityReport() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new VulnerabilityReport();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private VulnerabilityReport(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,41 +75,49 @@ private VulnerabilityReport(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              vulnerabilities_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
-            }
-            vulnerabilities_.add(
-                input.readMessage(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.parser(), extensionRegistry));
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              name_ = s;
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                vulnerabilities_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              vulnerabilities_.add(
+                  input.readMessage(
+                      com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.parser(),
+                      extensionRegistry));
+              break;
             }
+          case 26:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,8 +125,7 @@ private VulnerabilityReport(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         vulnerabilities_ = java.util.Collections.unmodifiableList(vulnerabilities_);
@@ -110,54 +134,72 @@ private VulnerabilityReport(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+        .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_fieldAccessorTable
+    return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+        .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.osconfig.v1alpha.VulnerabilityReport.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder.class);
+            com.google.cloud.osconfig.v1alpha.VulnerabilityReport.class,
+            com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder.class);
   }
 
-  public interface VulnerabilityOrBuilder extends
+  public interface VulnerabilityOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * + * * @return Whether the details field is set. */ boolean hasDetails(); /** + * + * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * + * * @return The details. */ com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details getDetails(); /** + * + * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * */ - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder getDetailsOrBuilder(); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder + getDetailsOrBuilder(); /** + * + * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -167,13 +209,17 @@ public interface VulnerabilityOrBuilder extends
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @return A list containing the installedInventoryItemIds. */ - @java.lang.Deprecated java.util.List - getInstalledInventoryItemIdsList(); + @java.lang.Deprecated + java.util.List getInstalledInventoryItemIdsList(); /** + * + * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -183,12 +229,17 @@ public interface VulnerabilityOrBuilder extends
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @return The count of installedInventoryItemIds. */ - @java.lang.Deprecated int getInstalledInventoryItemIdsCount(); + @java.lang.Deprecated + int getInstalledInventoryItemIdsCount(); /** + * + * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -198,13 +249,18 @@ public interface VulnerabilityOrBuilder extends
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param index The index of the element to return. * @return The installedInventoryItemIds at the given index. */ - @java.lang.Deprecated java.lang.String getInstalledInventoryItemIds(int index); + @java.lang.Deprecated + java.lang.String getInstalledInventoryItemIds(int index); /** + * + * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -214,15 +270,19 @@ public interface VulnerabilityOrBuilder extends
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param index The index of the value to return. * @return The bytes of the installedInventoryItemIds at the given index. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getInstalledInventoryItemIdsBytes(int index); + @java.lang.Deprecated + com.google.protobuf.ByteString getInstalledInventoryItemIdsBytes(int index); /** + * + * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -233,13 +293,17 @@ public interface VulnerabilityOrBuilder extends
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @return A list containing the availableInventoryItemIds. */ - @java.lang.Deprecated java.util.List - getAvailableInventoryItemIdsList(); + @java.lang.Deprecated + java.util.List getAvailableInventoryItemIdsList(); /** + * + * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -250,12 +314,17 @@ public interface VulnerabilityOrBuilder extends
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @return The count of availableInventoryItemIds. */ - @java.lang.Deprecated int getAvailableInventoryItemIdsCount(); + @java.lang.Deprecated + int getAvailableInventoryItemIdsCount(); /** + * + * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -266,13 +335,18 @@ public interface VulnerabilityOrBuilder extends
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param index The index of the element to return. * @return The availableInventoryItemIds at the given index. */ - @java.lang.Deprecated java.lang.String getAvailableInventoryItemIds(int index); + @java.lang.Deprecated + java.lang.String getAvailableInventoryItemIds(int index); /** + * + * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -283,33 +357,43 @@ public interface VulnerabilityOrBuilder extends
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param index The index of the value to return. * @return The bytes of the availableInventoryItemIds at the given index. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getAvailableInventoryItemIdsBytes(int index); + @java.lang.Deprecated + com.google.protobuf.ByteString getAvailableInventoryItemIdsBytes(int index); /** + * + * *
      * The timestamp for when the vulnerability was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
      * The timestamp for when the vulnerability was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
      * The timestamp for when the vulnerability was first detected.
      * 
@@ -319,24 +403,32 @@ public interface VulnerabilityOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
      * The timestamp for when the vulnerability was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
      * The timestamp for when the vulnerability was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
      * The timestamp for when the vulnerability was last modified.
      * 
@@ -346,65 +438,90 @@ public interface VulnerabilityOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - java.util.List + java.util.List getItemsList(); /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item getItems(int index); /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ int getItemsCount(); /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder> getItemsOrBuilderList(); /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder getItemsOrBuilder( - int index); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder + getItemsOrBuilder(int index); } /** + * + * *
    * A vulnerability affecting the VM instance.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability} */ - public static final class Vulnerability extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Vulnerability extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability) VulnerabilityOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Vulnerability.newBuilder() to construct. private Vulnerability(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Vulnerability() { installedInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; availableInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -413,16 +530,15 @@ private Vulnerability() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Vulnerability(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Vulnerability( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -442,79 +558,98 @@ private Vulnerability( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder subBuilder = null; - if (details_ != null) { - subBuilder = details_.toBuilder(); - } - details_ = input.readMessage(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(details_); - details_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder + subBuilder = null; + if (details_ != null) { + subBuilder = details_.toBuilder(); + } + details_ = + input.readMessage( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(details_); + details_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - installedInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - installedInventoryItemIds_.add(s); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - availableInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + break; } - availableInventoryItemIds_.add(s); - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + installedInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + installedInventoryItemIds_.add(s); + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + availableInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + availableInventoryItemIds_.add(s); + break; } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - items_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + break; } - items_.add( - input.readMessage(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 50: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + items_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability + .Item>(); + mutable_bitField0_ |= 0x00000004; + } + items_.add( + input.readMessage( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item + .parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -522,8 +657,7 @@ private Vulnerability( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { installedInventoryItemIds_ = installedInventoryItemIds_.getUnmodifiableView(); @@ -538,24 +672,30 @@ private Vulnerability( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder.class); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.class, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder.class); } - public interface DetailsOrBuilder extends + public interface DetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * The CVE of the vulnerability. CVE cannot be
        * empty and the combination of <cve, classification> should be unique
@@ -563,10 +703,13 @@ public interface DetailsOrBuilder extends
        * 
* * string cve = 1; + * * @return The cve. */ java.lang.String getCve(); /** + * + * *
        * The CVE of the vulnerability. CVE cannot be
        * empty and the combination of <cve, classification> should be unique
@@ -574,41 +717,52 @@ public interface DetailsOrBuilder extends
        * 
* * string cve = 1; + * * @return The bytes for cve. */ - com.google.protobuf.ByteString - getCveBytes(); + com.google.protobuf.ByteString getCveBytes(); /** + * + * *
        * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
        * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
        * 
* * float cvss_v2_score = 2; + * * @return The cvssV2Score. */ float getCvssV2Score(); /** + * + * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
* * .google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3; + * * @return Whether the cvssV3 field is set. */ boolean hasCvssV3(); /** + * + * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
* * .google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3; + * * @return The cvssV3. */ com.google.cloud.osconfig.v1alpha.CVSSv3 getCvssV3(); /** + * + * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
@@ -618,90 +772,127 @@ public interface DetailsOrBuilder extends com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder getCvssV3OrBuilder(); /** + * + * *
        * Assigned severity/impact ranking from the distro.
        * 
* * string severity = 4; + * * @return The severity. */ java.lang.String getSeverity(); /** + * + * *
        * Assigned severity/impact ranking from the distro.
        * 
* * string severity = 4; + * * @return The bytes for severity. */ - com.google.protobuf.ByteString - getSeverityBytes(); + com.google.protobuf.ByteString getSeverityBytes(); /** + * + * *
        * The note or description describing the vulnerability from the distro.
        * 
* * string description = 5; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
        * The note or description describing the vulnerability from the distro.
        * 
* * string description = 5; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - java.util.List + java.util.List< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference> getReferencesList(); /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference getReferences(int index); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference + getReferences(int index); /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ int getReferencesCount(); /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .ReferenceOrBuilder> getReferencesOrBuilderList(); /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder getReferencesOrBuilder( - int index); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder + getReferencesOrBuilder(int index); } /** + * + * *
      * Contains metadata information for the vulnerability. This information is
      * collected from the upstream feed of the operating system.
@@ -709,15 +900,16 @@ com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Refe
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details}
      */
-    public static final class Details extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class Details extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details)
         DetailsOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use Details.newBuilder() to construct.
       private Details(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
+
       private Details() {
         cve_ = "";
         severity_ = "";
@@ -727,16 +919,15 @@ private Details() {
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new Details();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private Details(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -756,58 +947,71 @@ private Details(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                java.lang.String s = input.readStringRequireUtf8();
-
-                cve_ = s;
-                break;
-              }
-              case 21: {
+              case 10:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                cvssV2Score_ = input.readFloat();
-                break;
-              }
-              case 26: {
-                com.google.cloud.osconfig.v1alpha.CVSSv3.Builder subBuilder = null;
-                if (cvssV3_ != null) {
-                  subBuilder = cvssV3_.toBuilder();
+                  cve_ = s;
+                  break;
                 }
-                cvssV3_ = input.readMessage(com.google.cloud.osconfig.v1alpha.CVSSv3.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(cvssV3_);
-                  cvssV3_ = subBuilder.buildPartial();
+              case 21:
+                {
+                  cvssV2Score_ = input.readFloat();
+                  break;
                 }
+              case 26:
+                {
+                  com.google.cloud.osconfig.v1alpha.CVSSv3.Builder subBuilder = null;
+                  if (cvssV3_ != null) {
+                    subBuilder = cvssV3_.toBuilder();
+                  }
+                  cvssV3_ =
+                      input.readMessage(
+                          com.google.cloud.osconfig.v1alpha.CVSSv3.parser(), extensionRegistry);
+                  if (subBuilder != null) {
+                    subBuilder.mergeFrom(cvssV3_);
+                    cvssV3_ = subBuilder.buildPartial();
+                  }
 
-                break;
-              }
-              case 34: {
-                java.lang.String s = input.readStringRequireUtf8();
+                  break;
+                }
+              case 34:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                severity_ = s;
-                break;
-              }
-              case 42: {
-                java.lang.String s = input.readStringRequireUtf8();
+                  severity_ = s;
+                  break;
+                }
+              case 42:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                description_ = s;
-                break;
-              }
-              case 50: {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  references_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000001;
+                  description_ = s;
+                  break;
                 }
-                references_.add(
-                    input.readMessage(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.parser(), extensionRegistry));
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+              case 50:
+                {
+                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                    references_ =
+                        new java.util.ArrayList<
+                            com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability
+                                .Details.Reference>();
+                    mutable_bitField0_ |= 0x00000001;
+                  }
+                  references_.add(
+                      input.readMessage(
+                          com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability
+                              .Details.Reference.parser(),
+                          extensionRegistry));
+                  break;
+                }
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -815,8 +1019,8 @@ private Details(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           if (((mutable_bitField0_ & 0x00000001) != 0)) {
             references_ = java.util.Collections.unmodifiableList(references_);
@@ -825,79 +1029,98 @@ private Details(
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+            .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+            .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder.class);
+                com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.class,
+                com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder
+                    .class);
       }
 
-      public interface ReferenceOrBuilder extends
+      public interface ReferenceOrBuilder
+          extends
           // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference)
           com.google.protobuf.MessageOrBuilder {
 
         /**
+         *
+         *
          * 
          * The url of the reference.
          * 
* * string url = 1; + * * @return The url. */ java.lang.String getUrl(); /** + * + * *
          * The url of the reference.
          * 
* * string url = 1; + * * @return The bytes for url. */ - com.google.protobuf.ByteString - getUrlBytes(); + com.google.protobuf.ByteString getUrlBytes(); /** + * + * *
          * The source of the reference e.g. NVD.
          * 
* * string source = 2; + * * @return The source. */ java.lang.String getSource(); /** + * + * *
          * The source of the reference e.g. NVD.
          * 
* * string source = 2; + * * @return The bytes for source. */ - com.google.protobuf.ByteString - getSourceBytes(); + com.google.protobuf.ByteString getSourceBytes(); } /** + * + * *
        * A reference for this vulnerability.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference} */ - public static final class Reference extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Reference extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference) ReferenceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Reference.newBuilder() to construct. private Reference(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Reference() { url_ = ""; source_ = ""; @@ -905,16 +1128,15 @@ private Reference() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Reference(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Reference( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -933,25 +1155,27 @@ private Reference( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - url_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + url_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - source_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + source_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -959,34 +1183,42 @@ private Reference( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder.class); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference.class, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference.Builder.class); } public static final int URL_FIELD_NUMBER = 1; private volatile java.lang.Object url_; /** + * + * *
          * The url of the reference.
          * 
* * string url = 1; + * * @return The url. */ @java.lang.Override @@ -995,29 +1227,29 @@ public java.lang.String getUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; } } /** + * + * *
          * The url of the reference.
          * 
* * string url = 1; + * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); url_ = b; return b; } else { @@ -1028,11 +1260,14 @@ public java.lang.String getUrl() { public static final int SOURCE_FIELD_NUMBER = 2; private volatile java.lang.Object source_; /** + * + * *
          * The source of the reference e.g. NVD.
          * 
* * string source = 2; + * * @return The source. */ @java.lang.Override @@ -1041,29 +1276,29 @@ public java.lang.String getSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; } } /** + * + * *
          * The source of the reference e.g. NVD.
          * 
* * string source = 2; + * * @return The bytes for source. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); source_ = b; return b; } else { @@ -1072,6 +1307,7 @@ public java.lang.String getSource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1084,7 +1320,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_); } @@ -1114,17 +1350,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference other = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference) obj; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference + other = + (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference) + obj; - if (!getUrl() - .equals(other.getUrl())) return false; - if (!getSource() - .equals(other.getSource())) return false; + if (!getUrl().equals(other.getUrl())) return false; + if (!getSource().equals(other.getSource())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1145,88 +1386,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference + 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference + 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference + 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference + 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1236,44 +1507,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * A reference for this vulnerability.
          * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference) - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .ReferenceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder.class); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference.class, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference.Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1285,19 +1565,25 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_Reference_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference build() { - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference result = buildPartial(); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference + build() { + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1305,8 +1591,13 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Detai } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference buildPartial() { - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference result = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference(this); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference + buildPartial() { + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference + result = + new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference(this); result.url_ = url_; result.source_ = source_; onBuilt(); @@ -1317,46 +1608,59 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Detai public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference other) { - if (other == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference + other) { + if (other + == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference.getDefaultInstance()) return this; if (!other.getUrl().isEmpty()) { url_ = other.url_; onChanged(); @@ -1380,11 +1684,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference parsedMessage = null; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1396,18 +1704,20 @@ public Builder mergeFrom( private java.lang.Object url_ = ""; /** + * + * *
            * The url of the reference.
            * 
* * string url = 1; + * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; @@ -1416,20 +1726,21 @@ public java.lang.String getUrl() { } } /** + * + * *
            * The url of the reference.
            * 
* * string url = 1; + * * @return The bytes for url. */ - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); url_ = b; return b; } else { @@ -1437,54 +1748,61 @@ public java.lang.String getUrl() { } } /** + * + * *
            * The url of the reference.
            * 
* * string url = 1; + * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl( - java.lang.String value) { + public Builder setUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** + * + * *
            * The url of the reference.
            * 
* * string url = 1; + * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** + * + * *
            * The url of the reference.
            * 
* * string url = 1; + * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1492,18 +1810,20 @@ public Builder setUrlBytes( private java.lang.Object source_ = ""; /** + * + * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; + * * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; @@ -1512,20 +1832,21 @@ public java.lang.String getSource() { } } /** + * + * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; + * * @return The bytes for source. */ - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); source_ = b; return b; } else { @@ -1533,58 +1854,66 @@ public java.lang.String getSource() { } } /** + * + * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; + * * @param value The source to set. * @return This builder for chaining. */ - public Builder setSource( - java.lang.String value) { + public Builder setSource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** + * + * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; + * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** + * + * *
            * The source of the reference e.g. NVD.
            * 
* * string source = 2; + * * @param value The bytes for source to set. * @return This builder for chaining. */ - public Builder setSourceBytes( - com.google.protobuf.ByteString value) { + public Builder setSourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1597,31 +1926,37 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference) - private static final com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference(); - } + private static final com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability + .Details.Reference + DEFAULT_INSTANCE; - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference getDefaultInstance() { - return DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference(); } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Reference parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Reference(input, extensionRegistry); - } - }; - + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Reference parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Reference(input, extensionRegistry); + } + }; + public static com.google.protobuf.Parser parser() { return PARSER; } @@ -1632,15 +1967,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int CVE_FIELD_NUMBER = 1; private volatile java.lang.Object cve_; /** + * + * *
        * The CVE of the vulnerability. CVE cannot be
        * empty and the combination of <cve, classification> should be unique
@@ -1648,6 +1985,7 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Detai
        * 
* * string cve = 1; + * * @return The cve. */ @java.lang.Override @@ -1656,14 +1994,15 @@ public java.lang.String getCve() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cve_ = s; return s; } } /** + * + * *
        * The CVE of the vulnerability. CVE cannot be
        * empty and the combination of <cve, classification> should be unique
@@ -1671,16 +2010,15 @@ public java.lang.String getCve() {
        * 
* * string cve = 1; + * * @return The bytes for cve. */ @java.lang.Override - public com.google.protobuf.ByteString - getCveBytes() { + public com.google.protobuf.ByteString getCveBytes() { java.lang.Object ref = cve_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cve_ = b; return b; } else { @@ -1691,12 +2029,15 @@ public java.lang.String getCve() { public static final int CVSS_V2_SCORE_FIELD_NUMBER = 2; private float cvssV2Score_; /** + * + * *
        * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
        * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
        * 
* * float cvss_v2_score = 2; + * * @return The cvssV2Score. */ @java.lang.Override @@ -1707,11 +2048,14 @@ public float getCvssV2Score() { public static final int CVSS_V3_FIELD_NUMBER = 3; private com.google.cloud.osconfig.v1alpha.CVSSv3 cvssV3_; /** + * + * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
* * .google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3; + * * @return Whether the cvssV3 field is set. */ @java.lang.Override @@ -1719,18 +2063,25 @@ public boolean hasCvssV3() { return cvssV3_ != null; } /** + * + * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
* * .google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3; + * * @return The cvssV3. */ @java.lang.Override public com.google.cloud.osconfig.v1alpha.CVSSv3 getCvssV3() { - return cvssV3_ == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.getDefaultInstance() : cvssV3_; + return cvssV3_ == null + ? com.google.cloud.osconfig.v1alpha.CVSSv3.getDefaultInstance() + : cvssV3_; } /** + * + * *
        * The full description of the CVSSv3 for this vulnerability from NVD.
        * 
@@ -1745,11 +2096,14 @@ public com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder getCvssV3OrBuilder() { public static final int SEVERITY_FIELD_NUMBER = 4; private volatile java.lang.Object severity_; /** + * + * *
        * Assigned severity/impact ranking from the distro.
        * 
* * string severity = 4; + * * @return The severity. */ @java.lang.Override @@ -1758,29 +2112,29 @@ public java.lang.String getSeverity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; } } /** + * + * *
        * Assigned severity/impact ranking from the distro.
        * 
* * string severity = 4; + * * @return The bytes for severity. */ @java.lang.Override - public com.google.protobuf.ByteString - getSeverityBytes() { + public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); severity_ = b; return b; } else { @@ -1791,11 +2145,14 @@ public java.lang.String getSeverity() { public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** + * + * *
        * The note or description describing the vulnerability from the distro.
        * 
* * string description = 5; + * * @return The description. */ @java.lang.Override @@ -1804,29 +2161,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
        * The note or description describing the vulnerability from the distro.
        * 
* * string description = 5; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1835,66 +2192,96 @@ public java.lang.String getDescription() { } public static final int REFERENCES_FIELD_NUMBER = 6; - private java.util.List references_; + private java.util.List< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference> + references_; /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ @java.lang.Override - public java.util.List getReferencesList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference> + getReferencesList() { return references_; } /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .ReferenceOrBuilder> getReferencesOrBuilderList() { return references_; } /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ @java.lang.Override public int getReferencesCount() { return references_.size(); } /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference getReferences(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference + getReferences(int index) { return references_.get(index); } /** + * + * *
        * Corresponds to the references attached to the `VulnerabilityDetails`.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder getReferencesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .ReferenceOrBuilder + getReferencesOrBuilder(int index) { return references_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1906,8 +2293,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cve_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cve_); } @@ -1939,12 +2325,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cve_); } if (java.lang.Float.floatToRawIntBits(cvssV2Score_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, cvssV2Score_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, cvssV2Score_); } if (cvssV3_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCvssV3()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCvssV3()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(severity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, severity_); @@ -1953,8 +2337,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); } for (int i = 0; i < references_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, references_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, references_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1964,29 +2347,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details other = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) obj; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details other = + (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) obj; - if (!getCve() - .equals(other.getCve())) return false; + if (!getCve().equals(other.getCve())) return false; if (java.lang.Float.floatToIntBits(getCvssV2Score()) - != java.lang.Float.floatToIntBits( - other.getCvssV2Score())) return false; + != java.lang.Float.floatToIntBits(other.getCvssV2Score())) return false; if (hasCvssV3() != other.hasCvssV3()) return false; if (hasCvssV3()) { - if (!getCvssV3() - .equals(other.getCvssV3())) return false; - } - if (!getSeverity() - .equals(other.getSeverity())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getReferencesList() - .equals(other.getReferencesList())) return false; + if (!getCvssV3().equals(other.getCvssV3())) return false; + } + if (!getSeverity().equals(other.getSeverity())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getReferencesList().equals(other.getReferencesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2001,8 +2381,7 @@ public int hashCode() { hash = (37 * hash) + CVE_FIELD_NUMBER; hash = (53 * hash) + getCve().hashCode(); hash = (37 * hash) + CVSS_V2_SCORE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getCvssV2Score()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getCvssV2Score()); if (hasCvssV3()) { hash = (37 * hash) + CVSS_V3_FIELD_NUMBER; hash = (53 * hash) + getCvssV3().hashCode(); @@ -2020,88 +2399,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2111,46 +2505,54 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Contains metadata information for the vulnerability. This information is
        * collected from the upstream feed of the operating system.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details} + * Protobuf type {@code + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder.class); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.class, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getReferencesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -2178,19 +2580,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Details_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details build() { - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details result = buildPartial(); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2198,8 +2603,10 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Detai } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details buildPartial() { - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details result = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details(this); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + buildPartial() { + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details result = + new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details(this); int from_bitField0_ = bitField0_; result.cve_ = cve_; result.cvssV2Score_ = cvssV2Score_; @@ -2227,46 +2634,56 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Detai public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details)other); + if (other + instanceof + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) { + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details other) { - if (other == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details other) { + if (other + == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .getDefaultInstance()) return this; if (!other.getCve().isEmpty()) { cve_ = other.cve_; onChanged(); @@ -2303,9 +2720,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.V referencesBuilder_ = null; references_ = other.references_; bitField0_ = (bitField0_ & ~0x00000001); - referencesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getReferencesFieldBuilder() : null; + referencesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getReferencesFieldBuilder() + : null; } else { referencesBuilder_.addAllMessages(other.references_); } @@ -2326,11 +2744,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details parsedMessage = null; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2339,10 +2760,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object cve_ = ""; /** + * + * *
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2350,13 +2774,13 @@ public Builder mergeFrom(
          * 
* * string cve = 1; + * * @return The cve. */ public java.lang.String getCve() { java.lang.Object ref = cve_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cve_ = s; return s; @@ -2365,6 +2789,8 @@ public java.lang.String getCve() { } } /** + * + * *
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2372,15 +2798,14 @@ public java.lang.String getCve() {
          * 
* * string cve = 1; + * * @return The bytes for cve. */ - public com.google.protobuf.ByteString - getCveBytes() { + public com.google.protobuf.ByteString getCveBytes() { java.lang.Object ref = cve_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cve_ = b; return b; } else { @@ -2388,6 +2813,8 @@ public java.lang.String getCve() { } } /** + * + * *
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2395,20 +2822,22 @@ public java.lang.String getCve() {
          * 
* * string cve = 1; + * * @param value The cve to set. * @return This builder for chaining. */ - public Builder setCve( - java.lang.String value) { + public Builder setCve(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cve_ = value; onChanged(); return this; } /** + * + * *
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2416,15 +2845,18 @@ public Builder setCve(
          * 
* * string cve = 1; + * * @return This builder for chaining. */ public Builder clearCve() { - + cve_ = getDefaultInstance().getCve(); onChanged(); return this; } /** + * + * *
          * The CVE of the vulnerability. CVE cannot be
          * empty and the combination of <cve, classification> should be unique
@@ -2432,29 +2864,32 @@ public Builder clearCve() {
          * 
* * string cve = 1; + * * @param value The bytes for cve to set. * @return This builder for chaining. */ - public Builder setCveBytes( - com.google.protobuf.ByteString value) { + public Builder setCveBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cve_ = value; onChanged(); return this; } - private float cvssV2Score_ ; + private float cvssV2Score_; /** + * + * *
          * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
          * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
          * 
* * float cvss_v2_score = 2; + * * @return The cvssV2Score. */ @java.lang.Override @@ -2462,32 +2897,38 @@ public float getCvssV2Score() { return cvssV2Score_; } /** + * + * *
          * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
          * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
          * 
* * float cvss_v2_score = 2; + * * @param value The cvssV2Score to set. * @return This builder for chaining. */ public Builder setCvssV2Score(float value) { - + cvssV2Score_ = value; onChanged(); return this; } /** + * + * *
          * The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
          * 0 - 10 where 0 indicates low severity and 10 indicates high severity.
          * 
* * float cvss_v2_score = 2; + * * @return This builder for chaining. */ public Builder clearCvssV2Score() { - + cvssV2Score_ = 0F; onChanged(); return this; @@ -2495,34 +2936,47 @@ public Builder clearCvssV2Score() { private com.google.cloud.osconfig.v1alpha.CVSSv3 cvssV3_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.CVSSv3, com.google.cloud.osconfig.v1alpha.CVSSv3.Builder, com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder> cvssV3Builder_; + com.google.cloud.osconfig.v1alpha.CVSSv3, + com.google.cloud.osconfig.v1alpha.CVSSv3.Builder, + com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder> + cvssV3Builder_; /** + * + * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
* * .google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3; + * * @return Whether the cvssV3 field is set. */ public boolean hasCvssV3() { return cvssV3Builder_ != null || cvssV3_ != null; } /** + * + * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
* * .google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3; + * * @return The cvssV3. */ public com.google.cloud.osconfig.v1alpha.CVSSv3 getCvssV3() { if (cvssV3Builder_ == null) { - return cvssV3_ == null ? com.google.cloud.osconfig.v1alpha.CVSSv3.getDefaultInstance() : cvssV3_; + return cvssV3_ == null + ? com.google.cloud.osconfig.v1alpha.CVSSv3.getDefaultInstance() + : cvssV3_; } else { return cvssV3Builder_.getMessage(); } } /** + * + * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -2543,14 +2997,15 @@ public Builder setCvssV3(com.google.cloud.osconfig.v1alpha.CVSSv3 value) { return this; } /** + * + * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
* * .google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3; */ - public Builder setCvssV3( - com.google.cloud.osconfig.v1alpha.CVSSv3.Builder builderForValue) { + public Builder setCvssV3(com.google.cloud.osconfig.v1alpha.CVSSv3.Builder builderForValue) { if (cvssV3Builder_ == null) { cvssV3_ = builderForValue.build(); onChanged(); @@ -2561,6 +3016,8 @@ public Builder setCvssV3( return this; } /** + * + * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -2571,7 +3028,9 @@ public Builder mergeCvssV3(com.google.cloud.osconfig.v1alpha.CVSSv3 value) { if (cvssV3Builder_ == null) { if (cvssV3_ != null) { cvssV3_ = - com.google.cloud.osconfig.v1alpha.CVSSv3.newBuilder(cvssV3_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1alpha.CVSSv3.newBuilder(cvssV3_) + .mergeFrom(value) + .buildPartial(); } else { cvssV3_ = value; } @@ -2583,6 +3042,8 @@ public Builder mergeCvssV3(com.google.cloud.osconfig.v1alpha.CVSSv3 value) { return this; } /** + * + * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -2601,6 +3062,8 @@ public Builder clearCvssV3() { return this; } /** + * + * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -2608,11 +3071,13 @@ public Builder clearCvssV3() { * .google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3; */ public com.google.cloud.osconfig.v1alpha.CVSSv3.Builder getCvssV3Builder() { - + onChanged(); return getCvssV3FieldBuilder().getBuilder(); } /** + * + * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -2623,11 +3088,14 @@ public com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder getCvssV3OrBuilder() { if (cvssV3Builder_ != null) { return cvssV3Builder_.getMessageOrBuilder(); } else { - return cvssV3_ == null ? - com.google.cloud.osconfig.v1alpha.CVSSv3.getDefaultInstance() : cvssV3_; + return cvssV3_ == null + ? com.google.cloud.osconfig.v1alpha.CVSSv3.getDefaultInstance() + : cvssV3_; } } /** + * + * *
          * The full description of the CVSSv3 for this vulnerability from NVD.
          * 
@@ -2635,14 +3103,17 @@ public com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder getCvssV3OrBuilder() { * .google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.CVSSv3, com.google.cloud.osconfig.v1alpha.CVSSv3.Builder, com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder> + com.google.cloud.osconfig.v1alpha.CVSSv3, + com.google.cloud.osconfig.v1alpha.CVSSv3.Builder, + com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder> getCvssV3FieldBuilder() { if (cvssV3Builder_ == null) { - cvssV3Builder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.CVSSv3, com.google.cloud.osconfig.v1alpha.CVSSv3.Builder, com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder>( - getCvssV3(), - getParentForChildren(), - isClean()); + cvssV3Builder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.CVSSv3, + com.google.cloud.osconfig.v1alpha.CVSSv3.Builder, + com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder>( + getCvssV3(), getParentForChildren(), isClean()); cvssV3_ = null; } return cvssV3Builder_; @@ -2650,18 +3121,20 @@ public com.google.cloud.osconfig.v1alpha.CVSSv3OrBuilder getCvssV3OrBuilder() { private java.lang.Object severity_ = ""; /** + * + * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; + * * @return The severity. */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; @@ -2670,20 +3143,21 @@ public java.lang.String getSeverity() { } } /** + * + * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; + * * @return The bytes for severity. */ - public com.google.protobuf.ByteString - getSeverityBytes() { + public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); severity_ = b; return b; } else { @@ -2691,54 +3165,61 @@ public java.lang.String getSeverity() { } } /** + * + * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; + * * @param value The severity to set. * @return This builder for chaining. */ - public Builder setSeverity( - java.lang.String value) { + public Builder setSeverity(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + severity_ = value; onChanged(); return this; } /** + * + * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; + * * @return This builder for chaining. */ public Builder clearSeverity() { - + severity_ = getDefaultInstance().getSeverity(); onChanged(); return this; } /** + * + * *
          * Assigned severity/impact ranking from the distro.
          * 
* * string severity = 4; + * * @param value The bytes for severity to set. * @return This builder for chaining. */ - public Builder setSeverityBytes( - com.google.protobuf.ByteString value) { + public Builder setSeverityBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + severity_ = value; onChanged(); return this; @@ -2746,18 +3227,20 @@ public Builder setSeverityBytes( private java.lang.Object description_ = ""; /** + * + * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2766,20 +3249,21 @@ public java.lang.String getDescription() { } } /** + * + * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2787,79 +3271,105 @@ public java.lang.String getDescription() { } } /** + * + * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
          * The note or description describing the vulnerability from the distro.
          * 
* * string description = 5; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private java.util.List references_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference> + references_ = java.util.Collections.emptyList(); + private void ensureReferencesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - references_ = new java.util.ArrayList(references_); + references_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference>(references_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder> referencesBuilder_; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference.Builder, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .ReferenceOrBuilder> + referencesBuilder_; /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - public java.util.List getReferencesList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference> + getReferencesList() { if (referencesBuilder_ == null) { return java.util.Collections.unmodifiableList(references_); } else { @@ -2867,11 +3377,15 @@ public java.util.List * Corresponds to the references attached to the `VulnerabilityDetails`. *
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ public int getReferencesCount() { if (referencesBuilder_ == null) { @@ -2881,13 +3395,18 @@ public int getReferencesCount() { } } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference getReferences(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference + getReferences(int index) { if (referencesBuilder_ == null) { return references_.get(index); } else { @@ -2895,14 +3414,20 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Detai } } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ public Builder setReferences( - int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference value) { + int index, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference + value) { if (referencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2916,14 +3441,21 @@ public Builder setReferences( return this; } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ public Builder setReferences( - int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference + .Builder + builderForValue) { if (referencesBuilder_ == null) { ensureReferencesIsMutable(); references_.set(index, builderForValue.build()); @@ -2934,13 +3466,19 @@ public Builder setReferences( return this; } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - public Builder addReferences(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference value) { + public Builder addReferences( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference + value) { if (referencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2954,14 +3492,20 @@ public Builder addReferences(com.google.cloud.osconfig.v1alpha.VulnerabilityRepo return this; } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ public Builder addReferences( - int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference value) { + int index, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference + value) { if (referencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2975,14 +3519,20 @@ public Builder addReferences( return this; } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ public Builder addReferences( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference + .Builder + builderForValue) { if (referencesBuilder_ == null) { ensureReferencesIsMutable(); references_.add(builderForValue.build()); @@ -2993,14 +3543,21 @@ public Builder addReferences( return this; } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ public Builder addReferences( - int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference + .Builder + builderForValue) { if (referencesBuilder_ == null) { ensureReferencesIsMutable(); references_.add(index, builderForValue.build()); @@ -3011,18 +3568,25 @@ public Builder addReferences( return this; } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ public Builder addAllReferences( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference> + values) { if (referencesBuilder_ == null) { ensureReferencesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, references_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, references_); onChanged(); } else { referencesBuilder_.addAllMessages(values); @@ -3030,11 +3594,15 @@ public Builder addAllReferences( return this; } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ public Builder clearReferences() { if (referencesBuilder_ == null) { @@ -3047,11 +3615,15 @@ public Builder clearReferences() { return this; } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ public Builder removeReferences(int index) { if (referencesBuilder_ == null) { @@ -3064,39 +3636,57 @@ public Builder removeReferences(int index) { return this; } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder getReferencesBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference + .Builder + getReferencesBuilder(int index) { return getReferencesFieldBuilder().getBuilder(index); } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder getReferencesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .ReferenceOrBuilder + getReferencesOrBuilder(int index) { if (referencesBuilder_ == null) { - return references_.get(index); } else { + return references_.get(index); + } else { return referencesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - public java.util.List - getReferencesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .ReferenceOrBuilder> + getReferencesOrBuilderList() { if (referencesBuilder_ != null) { return referencesBuilder_.getMessageOrBuilderList(); } else { @@ -3104,45 +3694,79 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Detai } } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder addReferencesBuilder() { - return getReferencesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference + .Builder + addReferencesBuilder() { + return getReferencesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference.getDefaultInstance()); } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder addReferencesBuilder( - int index) { - return getReferencesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference + .Builder + addReferencesBuilder(int index) { + return getReferencesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference.getDefaultInstance()); } /** + * + * *
          * Corresponds to the references attached to the `VulnerabilityDetails`.
          * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6; + * */ - public java.util.List - getReferencesBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference.Builder> + getReferencesBuilderList() { return getReferencesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder> + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference.Builder, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .ReferenceOrBuilder> getReferencesFieldBuilder() { if (referencesBuilder_ == null) { - referencesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder>( + referencesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Reference.Builder, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .ReferenceOrBuilder>( references_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3151,6 +3775,7 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Detai } return referencesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3163,30 +3788,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details) - private static final com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability + .Details + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details(); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser
() { - @java.lang.Override - public Details parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Details(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser
PARSER = + new com.google.protobuf.AbstractParser
() { + @java.lang.Override + public Details parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Details(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser
parser() { return PARSER; @@ -3198,17 +3827,20 @@ public com.google.protobuf.Parser
getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ItemOrBuilder extends + public interface ItemOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -3218,10 +3850,13 @@ public interface ItemOrBuilder extends
        * 
* * string installed_inventory_item_id = 1; + * * @return The installedInventoryItemId. */ java.lang.String getInstalledInventoryItemId(); /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -3231,12 +3866,14 @@ public interface ItemOrBuilder extends
        * 
* * string installed_inventory_item_id = 1; + * * @return The bytes for installedInventoryItemId. */ - com.google.protobuf.ByteString - getInstalledInventoryItemIdBytes(); + com.google.protobuf.ByteString getInstalledInventoryItemIdBytes(); /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -3247,10 +3884,13 @@ public interface ItemOrBuilder extends
        * 
* * string available_inventory_item_id = 2; + * * @return The availableInventoryItemId. */ java.lang.String getAvailableInventoryItemId(); /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -3261,54 +3901,66 @@ public interface ItemOrBuilder extends
        * 
* * string available_inventory_item_id = 2; + * * @return The bytes for availableInventoryItemId. */ - com.google.protobuf.ByteString - getAvailableInventoryItemIdBytes(); + com.google.protobuf.ByteString getAvailableInventoryItemIdBytes(); /** + * + * *
        * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
        * that contains a fix for this vulnerability.
        * 
* * string fixed_cpe_uri = 3; + * * @return The fixedCpeUri. */ java.lang.String getFixedCpeUri(); /** + * + * *
        * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
        * that contains a fix for this vulnerability.
        * 
* * string fixed_cpe_uri = 3; + * * @return The bytes for fixedCpeUri. */ - com.google.protobuf.ByteString - getFixedCpeUriBytes(); + com.google.protobuf.ByteString getFixedCpeUriBytes(); /** + * + * *
        * The upstream OS patch, packages or KB that fixes the vulnerability.
        * 
* * string upstream_fix = 4; + * * @return The upstreamFix. */ java.lang.String getUpstreamFix(); /** + * + * *
        * The upstream OS patch, packages or KB that fixes the vulnerability.
        * 
* * string upstream_fix = 4; + * * @return The bytes for upstreamFix. */ - com.google.protobuf.ByteString - getUpstreamFixBytes(); + com.google.protobuf.ByteString getUpstreamFixBytes(); } /** + * + * *
      * OS inventory item that is affected by a vulnerability or fixed as a
      * result of a vulnerability.
@@ -3316,15 +3968,16 @@ public interface ItemOrBuilder extends
      *
      * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item}
      */
-    public static final class Item extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class Item extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item)
         ItemOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use Item.newBuilder() to construct.
       private Item(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
+
       private Item() {
         installedInventoryItemId_ = "";
         availableInventoryItemId_ = "";
@@ -3334,16 +3987,15 @@ private Item() {
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new Item();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private Item(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3362,37 +4014,41 @@ private Item(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                java.lang.String s = input.readStringRequireUtf8();
+              case 10:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                installedInventoryItemId_ = s;
-                break;
-              }
-              case 18: {
-                java.lang.String s = input.readStringRequireUtf8();
+                  installedInventoryItemId_ = s;
+                  break;
+                }
+              case 18:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                availableInventoryItemId_ = s;
-                break;
-              }
-              case 26: {
-                java.lang.String s = input.readStringRequireUtf8();
+                  availableInventoryItemId_ = s;
+                  break;
+                }
+              case 26:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                fixedCpeUri_ = s;
-                break;
-              }
-              case 34: {
-                java.lang.String s = input.readStringRequireUtf8();
+                  fixedCpeUri_ = s;
+                  break;
+                }
+              case 34:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                upstreamFix_ = s;
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+                  upstreamFix_ = s;
+                  break;
+                }
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3400,29 +4056,35 @@ private Item(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+            .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable
+        return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+            .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder.class);
+                com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.class,
+                com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder
+                    .class);
       }
 
       public static final int INSTALLED_INVENTORY_ITEM_ID_FIELD_NUMBER = 1;
       private volatile java.lang.Object installedInventoryItemId_;
       /**
+       *
+       *
        * 
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -3432,6 +4094,7 @@ private Item(
        * 
* * string installed_inventory_item_id = 1; + * * @return The installedInventoryItemId. */ @java.lang.Override @@ -3440,14 +4103,15 @@ public java.lang.String getInstalledInventoryItemId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); installedInventoryItemId_ = s; return s; } } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -3457,16 +4121,15 @@ public java.lang.String getInstalledInventoryItemId() {
        * 
* * string installed_inventory_item_id = 1; + * * @return The bytes for installedInventoryItemId. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstalledInventoryItemIdBytes() { + public com.google.protobuf.ByteString getInstalledInventoryItemIdBytes() { java.lang.Object ref = installedInventoryItemId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); installedInventoryItemId_ = b; return b; } else { @@ -3477,6 +4140,8 @@ public java.lang.String getInstalledInventoryItemId() { public static final int AVAILABLE_INVENTORY_ITEM_ID_FIELD_NUMBER = 2; private volatile java.lang.Object availableInventoryItemId_; /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -3487,6 +4152,7 @@ public java.lang.String getInstalledInventoryItemId() {
        * 
* * string available_inventory_item_id = 2; + * * @return The availableInventoryItemId. */ @java.lang.Override @@ -3495,14 +4161,15 @@ public java.lang.String getAvailableInventoryItemId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availableInventoryItemId_ = s; return s; } } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -3513,16 +4180,15 @@ public java.lang.String getAvailableInventoryItemId() {
        * 
* * string available_inventory_item_id = 2; + * * @return The bytes for availableInventoryItemId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAvailableInventoryItemIdBytes() { + public com.google.protobuf.ByteString getAvailableInventoryItemIdBytes() { java.lang.Object ref = availableInventoryItemId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); availableInventoryItemId_ = b; return b; } else { @@ -3533,12 +4199,15 @@ public java.lang.String getAvailableInventoryItemId() { public static final int FIXED_CPE_URI_FIELD_NUMBER = 3; private volatile java.lang.Object fixedCpeUri_; /** + * + * *
        * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
        * that contains a fix for this vulnerability.
        * 
* * string fixed_cpe_uri = 3; + * * @return The fixedCpeUri. */ @java.lang.Override @@ -3547,30 +4216,30 @@ public java.lang.String getFixedCpeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fixedCpeUri_ = s; return s; } } /** + * + * *
        * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
        * that contains a fix for this vulnerability.
        * 
* * string fixed_cpe_uri = 3; + * * @return The bytes for fixedCpeUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getFixedCpeUriBytes() { + public com.google.protobuf.ByteString getFixedCpeUriBytes() { java.lang.Object ref = fixedCpeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fixedCpeUri_ = b; return b; } else { @@ -3581,11 +4250,14 @@ public java.lang.String getFixedCpeUri() { public static final int UPSTREAM_FIX_FIELD_NUMBER = 4; private volatile java.lang.Object upstreamFix_; /** + * + * *
        * The upstream OS patch, packages or KB that fixes the vulnerability.
        * 
* * string upstream_fix = 4; + * * @return The upstreamFix. */ @java.lang.Override @@ -3594,29 +4266,29 @@ public java.lang.String getUpstreamFix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); upstreamFix_ = s; return s; } } /** + * + * *
        * The upstream OS patch, packages or KB that fixes the vulnerability.
        * 
* * string upstream_fix = 4; + * * @return The bytes for upstreamFix. */ @java.lang.Override - public com.google.protobuf.ByteString - getUpstreamFixBytes() { + public com.google.protobuf.ByteString getUpstreamFixBytes() { java.lang.Object ref = upstreamFix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); upstreamFix_ = b; return b; } else { @@ -3625,6 +4297,7 @@ public java.lang.String getUpstreamFix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3636,8 +4309,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(installedInventoryItemId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, installedInventoryItemId_); } @@ -3660,10 +4332,14 @@ public int getSerializedSize() { size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(installedInventoryItemId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, installedInventoryItemId_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 1, installedInventoryItemId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(availableInventoryItemId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, availableInventoryItemId_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 2, availableInventoryItemId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fixedCpeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fixedCpeUri_); @@ -3679,21 +4355,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item other = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item) obj; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item other = + (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item) obj; - if (!getInstalledInventoryItemId() - .equals(other.getInstalledInventoryItemId())) return false; - if (!getAvailableInventoryItemId() - .equals(other.getAvailableInventoryItemId())) return false; - if (!getFixedCpeUri() - .equals(other.getFixedCpeUri())) return false; - if (!getUpstreamFix() - .equals(other.getUpstreamFix())) return false; + if (!getInstalledInventoryItemId().equals(other.getInstalledInventoryItemId())) + return false; + if (!getAvailableInventoryItemId().equals(other.getAvailableInventoryItemId())) + return false; + if (!getFixedCpeUri().equals(other.getFixedCpeUri())) return false; + if (!getUpstreamFix().equals(other.getUpstreamFix())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3718,88 +4394,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item + 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item + 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item + 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item + 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3809,6 +4500,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * OS inventory item that is affected by a vulnerability or fixed as a
        * result of a vulnerability.
@@ -3816,38 +4509,42 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item)
           com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+              .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable
+          return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+              .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder.class);
+                  com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.class,
+                  com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder
+                      .class);
         }
 
-        // Construct using com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.newBuilder()
+        // Construct using
+        // com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
-          }
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -3863,19 +4560,22 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+              .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_Item_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item getDefaultInstanceForType() {
-          return com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.getDefaultInstance();
+        public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item
+            getDefaultInstanceForType() {
+          return com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item
+              .getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item build() {
-          com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item result = buildPartial();
+          com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item result =
+              buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -3883,8 +4583,10 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item buildPartial() {
-          com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item result = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item(this);
+        public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item
+            buildPartial() {
+          com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item result =
+              new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item(this);
           result.installedInventoryItemId_ = installedInventoryItemId_;
           result.availableInventoryItemId_ = availableInventoryItemId_;
           result.fixedCpeUri_ = fixedCpeUri_;
@@ -3897,46 +4599,54 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item) {
-            return mergeFrom((com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item)other);
+          if (other
+              instanceof com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item) {
+            return mergeFrom(
+                (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item other) {
-          if (other == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.getDefaultInstance()) return this;
+        public Builder mergeFrom(
+            com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item other) {
+          if (other
+              == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item
+                  .getDefaultInstance()) return this;
           if (!other.getInstalledInventoryItemId().isEmpty()) {
             installedInventoryItemId_ = other.installedInventoryItemId_;
             onChanged();
@@ -3968,11 +4678,14 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
-          com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parsedMessage = null;
+          com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item parsedMessage =
+              null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item)
+                    e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -3984,6 +4697,8 @@ public Builder mergeFrom(
 
         private java.lang.Object installedInventoryItemId_ = "";
         /**
+         *
+         *
          * 
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -3993,13 +4708,13 @@ public Builder mergeFrom(
          * 
* * string installed_inventory_item_id = 1; + * * @return The installedInventoryItemId. */ public java.lang.String getInstalledInventoryItemId() { java.lang.Object ref = installedInventoryItemId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); installedInventoryItemId_ = s; return s; @@ -4008,6 +4723,8 @@ public java.lang.String getInstalledInventoryItemId() { } } /** + * + * *
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -4017,15 +4734,14 @@ public java.lang.String getInstalledInventoryItemId() {
          * 
* * string installed_inventory_item_id = 1; + * * @return The bytes for installedInventoryItemId. */ - public com.google.protobuf.ByteString - getInstalledInventoryItemIdBytes() { + public com.google.protobuf.ByteString getInstalledInventoryItemIdBytes() { java.lang.Object ref = installedInventoryItemId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); installedInventoryItemId_ = b; return b; } else { @@ -4033,6 +4749,8 @@ public java.lang.String getInstalledInventoryItemId() { } } /** + * + * *
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -4042,20 +4760,22 @@ public java.lang.String getInstalledInventoryItemId() {
          * 
* * string installed_inventory_item_id = 1; + * * @param value The installedInventoryItemId to set. * @return This builder for chaining. */ - public Builder setInstalledInventoryItemId( - java.lang.String value) { + public Builder setInstalledInventoryItemId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + installedInventoryItemId_ = value; onChanged(); return this; } /** + * + * *
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -4065,15 +4785,18 @@ public Builder setInstalledInventoryItemId(
          * 
* * string installed_inventory_item_id = 1; + * * @return This builder for chaining. */ public Builder clearInstalledInventoryItemId() { - + installedInventoryItemId_ = getDefaultInstance().getInstalledInventoryItemId(); onChanged(); return this; } /** + * + * *
          * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
          * This field displays the inventory items affected by this vulnerability.
@@ -4083,16 +4806,16 @@ public Builder clearInstalledInventoryItemId() {
          * 
* * string installed_inventory_item_id = 1; + * * @param value The bytes for installedInventoryItemId to set. * @return This builder for chaining. */ - public Builder setInstalledInventoryItemIdBytes( - com.google.protobuf.ByteString value) { + public Builder setInstalledInventoryItemIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + installedInventoryItemId_ = value; onChanged(); return this; @@ -4100,6 +4823,8 @@ public Builder setInstalledInventoryItemIdBytes( private java.lang.Object availableInventoryItemId_ = ""; /** + * + * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4110,13 +4835,13 @@ public Builder setInstalledInventoryItemIdBytes(
          * 
* * string available_inventory_item_id = 2; + * * @return The availableInventoryItemId. */ public java.lang.String getAvailableInventoryItemId() { java.lang.Object ref = availableInventoryItemId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availableInventoryItemId_ = s; return s; @@ -4125,6 +4850,8 @@ public java.lang.String getAvailableInventoryItemId() { } } /** + * + * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4135,15 +4862,14 @@ public java.lang.String getAvailableInventoryItemId() {
          * 
* * string available_inventory_item_id = 2; + * * @return The bytes for availableInventoryItemId. */ - public com.google.protobuf.ByteString - getAvailableInventoryItemIdBytes() { + public com.google.protobuf.ByteString getAvailableInventoryItemIdBytes() { java.lang.Object ref = availableInventoryItemId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); availableInventoryItemId_ = b; return b; } else { @@ -4151,6 +4877,8 @@ public java.lang.String getAvailableInventoryItemId() { } } /** + * + * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4161,20 +4889,22 @@ public java.lang.String getAvailableInventoryItemId() {
          * 
* * string available_inventory_item_id = 2; + * * @param value The availableInventoryItemId to set. * @return This builder for chaining. */ - public Builder setAvailableInventoryItemId( - java.lang.String value) { + public Builder setAvailableInventoryItemId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + availableInventoryItemId_ = value; onChanged(); return this; } /** + * + * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4185,15 +4915,18 @@ public Builder setAvailableInventoryItemId(
          * 
* * string available_inventory_item_id = 2; + * * @return This builder for chaining. */ public Builder clearAvailableInventoryItemId() { - + availableInventoryItemId_ = getDefaultInstance().getAvailableInventoryItemId(); onChanged(); return this; } /** + * + * *
          * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
          * If the vulnerability report was not updated after the VM inventory
@@ -4204,16 +4937,16 @@ public Builder clearAvailableInventoryItemId() {
          * 
* * string available_inventory_item_id = 2; + * * @param value The bytes for availableInventoryItemId to set. * @return This builder for chaining. */ - public Builder setAvailableInventoryItemIdBytes( - com.google.protobuf.ByteString value) { + public Builder setAvailableInventoryItemIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + availableInventoryItemId_ = value; onChanged(); return this; @@ -4221,19 +4954,21 @@ public Builder setAvailableInventoryItemIdBytes( private java.lang.Object fixedCpeUri_ = ""; /** + * + * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; + * * @return The fixedCpeUri. */ public java.lang.String getFixedCpeUri() { java.lang.Object ref = fixedCpeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fixedCpeUri_ = s; return s; @@ -4242,21 +4977,22 @@ public java.lang.String getFixedCpeUri() { } } /** + * + * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; + * * @return The bytes for fixedCpeUri. */ - public com.google.protobuf.ByteString - getFixedCpeUriBytes() { + public com.google.protobuf.ByteString getFixedCpeUriBytes() { java.lang.Object ref = fixedCpeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fixedCpeUri_ = b; return b; } else { @@ -4264,57 +5000,64 @@ public java.lang.String getFixedCpeUri() { } } /** + * + * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; + * * @param value The fixedCpeUri to set. * @return This builder for chaining. */ - public Builder setFixedCpeUri( - java.lang.String value) { + public Builder setFixedCpeUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fixedCpeUri_ = value; onChanged(); return this; } /** + * + * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; + * * @return This builder for chaining. */ public Builder clearFixedCpeUri() { - + fixedCpeUri_ = getDefaultInstance().getFixedCpeUri(); onChanged(); return this; } /** + * + * *
          * The recommended [CPE URI](https://cpe.mitre.org/specification/) update
          * that contains a fix for this vulnerability.
          * 
* * string fixed_cpe_uri = 3; + * * @param value The bytes for fixedCpeUri to set. * @return This builder for chaining. */ - public Builder setFixedCpeUriBytes( - com.google.protobuf.ByteString value) { + public Builder setFixedCpeUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fixedCpeUri_ = value; onChanged(); return this; @@ -4322,18 +5065,20 @@ public Builder setFixedCpeUriBytes( private java.lang.Object upstreamFix_ = ""; /** + * + * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; + * * @return The upstreamFix. */ public java.lang.String getUpstreamFix() { java.lang.Object ref = upstreamFix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); upstreamFix_ = s; return s; @@ -4342,20 +5087,21 @@ public java.lang.String getUpstreamFix() { } } /** + * + * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; + * * @return The bytes for upstreamFix. */ - public com.google.protobuf.ByteString - getUpstreamFixBytes() { + public com.google.protobuf.ByteString getUpstreamFixBytes() { java.lang.Object ref = upstreamFix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); upstreamFix_ = b; return b; } else { @@ -4363,58 +5109,66 @@ public java.lang.String getUpstreamFix() { } } /** + * + * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; + * * @param value The upstreamFix to set. * @return This builder for chaining. */ - public Builder setUpstreamFix( - java.lang.String value) { + public Builder setUpstreamFix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + upstreamFix_ = value; onChanged(); return this; } /** + * + * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; + * * @return This builder for chaining. */ public Builder clearUpstreamFix() { - + upstreamFix_ = getDefaultInstance().getUpstreamFix(); onChanged(); return this; } /** + * + * *
          * The upstream OS patch, packages or KB that fixes the vulnerability.
          * 
* * string upstream_fix = 4; + * * @param value The bytes for upstreamFix to set. * @return This builder for chaining. */ - public Builder setUpstreamFixBytes( - com.google.protobuf.ByteString value) { + public Builder setUpstreamFixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + upstreamFix_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4427,30 +5181,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item) - private static final com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item(); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Item parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Item(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Item parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Item(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4462,21 +5219,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int DETAILS_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details_; /** + * + * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * + * * @return Whether the details field is set. */ @java.lang.Override @@ -4484,34 +5245,48 @@ public boolean hasDetails() { return details_ != null; } /** + * + * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * + * * @return The details. */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details getDetails() { - return details_ == null ? com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.getDefaultInstance() : details_; + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + getDetails() { + return details_ == null + ? com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .getDefaultInstance() + : details_; } /** + * + * *
      * Contains metadata as per the upstream feed of the operating system and
      * NVD.
      * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder getDetailsOrBuilder() { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder + getDetailsOrBuilder() { return getDetails(); } public static final int INSTALLED_INVENTORY_ITEM_IDS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList installedInventoryItemIds_; /** + * + * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -4521,15 +5296,19 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Detai
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @return A list containing the installedInventoryItemIds. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getInstalledInventoryItemIdsList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getInstalledInventoryItemIdsList() { return installedInventoryItemIds_; } /** + * + * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -4539,14 +5318,19 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Detai
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @return The count of installedInventoryItemIds. */ - @java.lang.Deprecated public int getInstalledInventoryItemIdsCount() { + @java.lang.Deprecated + public int getInstalledInventoryItemIdsCount() { return installedInventoryItemIds_.size(); } /** + * + * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -4556,15 +5340,20 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Detai
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param index The index of the element to return. * @return The installedInventoryItemIds at the given index. */ - @java.lang.Deprecated public java.lang.String getInstalledInventoryItemIds(int index) { + @java.lang.Deprecated + public java.lang.String getInstalledInventoryItemIds(int index) { return installedInventoryItemIds_.get(index); } /** + * + * *
      * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
      * This field displays the inventory items affected by this vulnerability.
@@ -4574,19 +5363,23 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Detai
      * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param index The index of the value to return. * @return The bytes of the installedInventoryItemIds at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getInstalledInventoryItemIdsBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getInstalledInventoryItemIdsBytes(int index) { return installedInventoryItemIds_.getByteString(index); } public static final int AVAILABLE_INVENTORY_ITEM_IDS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList availableInventoryItemIds_; /** + * + * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -4597,15 +5390,19 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Detai
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @return A list containing the availableInventoryItemIds. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getAvailableInventoryItemIdsList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getAvailableInventoryItemIdsList() { return availableInventoryItemIds_; } /** + * + * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -4616,14 +5413,19 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Detai
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @return The count of availableInventoryItemIds. */ - @java.lang.Deprecated public int getAvailableInventoryItemIdsCount() { + @java.lang.Deprecated + public int getAvailableInventoryItemIdsCount() { return availableInventoryItemIds_.size(); } /** + * + * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -4634,15 +5436,20 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Detai
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param index The index of the element to return. * @return The availableInventoryItemIds at the given index. */ - @java.lang.Deprecated public java.lang.String getAvailableInventoryItemIds(int index) { + @java.lang.Deprecated + public java.lang.String getAvailableInventoryItemIds(int index) { return availableInventoryItemIds_.get(index); } /** + * + * *
      * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
      * If the vulnerability report was not updated after the VM inventory
@@ -4653,24 +5460,29 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Detai
      * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param index The index of the value to return. * @return The bytes of the availableInventoryItemIds at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getAvailableInventoryItemIdsBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getAvailableInventoryItemIdsBytes(int index) { return availableInventoryItemIds_.getByteString(index); } public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
      * The timestamp for when the vulnerability was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -4678,11 +5490,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
      * The timestamp for when the vulnerability was first detected.
      * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return The createTime. */ @java.lang.Override @@ -4690,6 +5505,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
      * The timestamp for when the vulnerability was first detected.
      * 
@@ -4704,11 +5521,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
      * The timestamp for when the vulnerability was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -4716,11 +5536,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
      * The timestamp for when the vulnerability was last modified.
      * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return The updateTime. */ @java.lang.Override @@ -4728,6 +5551,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
      * The timestamp for when the vulnerability was last modified.
      * 
@@ -4740,66 +5565,92 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ITEMS_FIELD_NUMBER = 6; - private java.util.List items_; + private java.util.List + items_; /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ @java.lang.Override - public java.util.List getItemsList() { + public java.util.List + getItemsList() { return items_; } /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder> getItemsOrBuilderList() { return items_; } /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ @java.lang.Override public int getItemsCount() { return items_.size(); } /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item getItems(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item getItems( + int index) { return items_.get(index); } /** + * + * *
      * List of items affected by the vulnerability.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder getItemsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder + getItemsOrBuilder(int index) { return items_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4811,16 +5662,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (details_ != null) { output.writeMessage(1, getDetails()); } for (int i = 0; i < installedInventoryItemIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, installedInventoryItemIds_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 2, installedInventoryItemIds_.getRaw(i)); } for (int i = 0; i < availableInventoryItemIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, availableInventoryItemIds_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, availableInventoryItemIds_.getRaw(i)); } if (createTime_ != null) { output.writeMessage(4, getCreateTime()); @@ -4841,8 +5693,7 @@ public int getSerializedSize() { size = 0; if (details_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDetails()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDetails()); } { int dataSize = 0; @@ -4861,16 +5712,13 @@ public int getSerializedSize() { size += 1 * getAvailableInventoryItemIdsList().size(); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } for (int i = 0; i < items_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, items_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, items_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4880,34 +5728,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability other = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability) obj; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability other = + (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability) obj; if (hasDetails() != other.hasDetails()) return false; if (hasDetails()) { - if (!getDetails() - .equals(other.getDetails())) return false; + if (!getDetails().equals(other.getDetails())) return false; } - if (!getInstalledInventoryItemIdsList() - .equals(other.getInstalledInventoryItemIdsList())) return false; - if (!getAvailableInventoryItemIdsList() - .equals(other.getAvailableInventoryItemIdsList())) return false; + if (!getInstalledInventoryItemIdsList().equals(other.getInstalledInventoryItemIdsList())) + return false; + if (!getAvailableInventoryItemIdsList().equals(other.getAvailableInventoryItemIdsList())) + return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!getItemsList() - .equals(other.getItemsList())) return false; + if (!getItemsList().equals(other.getItemsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4949,87 +5794,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability + 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5039,45 +5892,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A vulnerability affecting the VM instance.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability) com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_fieldAccessorTable + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder.class); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.class, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder.class); } - // Construct using com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getItemsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -5113,14 +5972,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityProto + .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_Vulnerability_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.getDefaultInstance(); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability + .getDefaultInstance(); } @java.lang.Override @@ -5134,7 +5995,8 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability build @java.lang.Override public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability buildPartial() { - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability result = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability(this); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability result = + new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability(this); int from_bitField0_ = bitField0_; if (detailsBuilder_ == null) { result.details_ = details_; @@ -5178,46 +6040,53 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1alpha.VulnerabilityReport.Vulnerability) { - return mergeFrom((com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability)other); + return mergeFrom( + (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability other) { - if (other == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability other) { + if (other + == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability + .getDefaultInstance()) return this; if (other.hasDetails()) { mergeDetails(other.getDetails()); } @@ -5265,9 +6134,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.V itemsBuilder_ = null; items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000004); - itemsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getItemsFieldBuilder() : null; + itemsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getItemsFieldBuilder() + : null; } else { itemsBuilder_.addAllMessages(other.items_); } @@ -5292,7 +6162,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5301,48 +6173,68 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder> detailsBuilder_; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder> + detailsBuilder_; /** + * + * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * + * * @return Whether the details field is set. */ public boolean hasDetails() { return detailsBuilder_ != null || details_ != null; } /** + * + * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * + * * @return The details. */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details getDetails() { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + getDetails() { if (detailsBuilder_ == null) { - return details_ == null ? com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.getDefaultInstance() : details_; + return details_ == null + ? com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .getDefaultInstance() + : details_; } else { return detailsBuilder_.getMessage(); } } /** + * + * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * */ - public Builder setDetails(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details value) { + public Builder setDetails( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details value) { if (detailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5356,15 +6248,19 @@ public Builder setDetails(com.google.cloud.osconfig.v1alpha.VulnerabilityReport. return this; } /** + * + * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * */ public Builder setDetails( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder + builderForValue) { if (detailsBuilder_ == null) { details_ = builderForValue.build(); onChanged(); @@ -5375,18 +6271,25 @@ public Builder setDetails( return this; } /** + * + * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * */ - public Builder mergeDetails(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details value) { + public Builder mergeDetails( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details value) { if (detailsBuilder_ == null) { if (details_ != null) { details_ = - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.newBuilder(details_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .newBuilder(details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -5398,12 +6301,15 @@ public Builder mergeDetails(com.google.cloud.osconfig.v1alpha.VulnerabilityRepor return this; } /** + * + * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * */ public Builder clearDetails() { if (detailsBuilder_ == null) { @@ -5417,64 +6323,86 @@ public Builder clearDetails() { return this; } /** + * + * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder getDetailsBuilder() { - + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder + getDetailsBuilder() { + onChanged(); return getDetailsFieldBuilder().getBuilder(); } /** + * + * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder getDetailsOrBuilder() { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder + getDetailsOrBuilder() { if (detailsBuilder_ != null) { return detailsBuilder_.getMessageOrBuilder(); } else { - return details_ == null ? - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.getDefaultInstance() : details_; + return details_ == null + ? com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .getDefaultInstance() + : details_; } } /** + * + * *
        * Contains metadata as per the upstream feed of the operating system and
        * NVD.
        * 
* - * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder> + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder> getDetailsFieldBuilder() { if (detailsBuilder_ == null) { - detailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.DetailsOrBuilder>( - getDetails(), - getParentForChildren(), - isClean()); + detailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details + .Builder, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability + .DetailsOrBuilder>(getDetails(), getParentForChildren(), isClean()); details_ = null; } return detailsBuilder_; } - private com.google.protobuf.LazyStringList installedInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList installedInventoryItemIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureInstalledInventoryItemIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - installedInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(installedInventoryItemIds_); + installedInventoryItemIds_ = + new com.google.protobuf.LazyStringArrayList(installedInventoryItemIds_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -5484,15 +6412,19 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @return A list containing the installedInventoryItemIds. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getInstalledInventoryItemIdsList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getInstalledInventoryItemIdsList() { return installedInventoryItemIds_.getUnmodifiableView(); } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -5502,14 +6434,19 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @return The count of installedInventoryItemIds. */ - @java.lang.Deprecated public int getInstalledInventoryItemIdsCount() { + @java.lang.Deprecated + public int getInstalledInventoryItemIdsCount() { return installedInventoryItemIds_.size(); } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -5519,15 +6456,20 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param index The index of the element to return. * @return The installedInventoryItemIds at the given index. */ - @java.lang.Deprecated public java.lang.String getInstalledInventoryItemIds(int index) { + @java.lang.Deprecated + public java.lang.String getInstalledInventoryItemIds(int index) { return installedInventoryItemIds_.get(index); } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -5537,16 +6479,20 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param index The index of the value to return. * @return The bytes of the installedInventoryItemIds at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getInstalledInventoryItemIdsBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getInstalledInventoryItemIdsBytes(int index) { return installedInventoryItemIds_.getByteString(index); } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -5556,23 +6502,27 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param index The index to set the value at. * @param value The installedInventoryItemIds to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setInstalledInventoryItemIds( - int index, java.lang.String value) { + @java.lang.Deprecated + public Builder setInstalledInventoryItemIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstalledInventoryItemIdsIsMutable(); + throw new NullPointerException(); + } + ensureInstalledInventoryItemIdsIsMutable(); installedInventoryItemIds_.set(index, value); onChanged(); return this; } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -5582,22 +6532,26 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param value The installedInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addInstalledInventoryItemIds( - java.lang.String value) { + @java.lang.Deprecated + public Builder addInstalledInventoryItemIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstalledInventoryItemIdsIsMutable(); + throw new NullPointerException(); + } + ensureInstalledInventoryItemIdsIsMutable(); installedInventoryItemIds_.add(value); onChanged(); return this; } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -5607,20 +6561,23 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param values The installedInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAllInstalledInventoryItemIds( - java.lang.Iterable values) { + @java.lang.Deprecated + public Builder addAllInstalledInventoryItemIds(java.lang.Iterable values) { ensureInstalledInventoryItemIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, installedInventoryItemIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, installedInventoryItemIds_); onChanged(); return this; } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -5630,17 +6587,22 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearInstalledInventoryItemIds() { + @java.lang.Deprecated + public Builder clearInstalledInventoryItemIds() { installedInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** + * + * *
        * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
        * This field displays the inventory items affected by this vulnerability.
@@ -5650,31 +6612,38 @@ private void ensureInstalledInventoryItemIdsIsMutable() {
        * 
* * repeated string installed_inventory_item_ids = 2 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=113 * @param value The bytes of the installedInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addInstalledInventoryItemIdsBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder addInstalledInventoryItemIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstalledInventoryItemIdsIsMutable(); installedInventoryItemIds_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList availableInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList availableInventoryItemIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAvailableInventoryItemIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - availableInventoryItemIds_ = new com.google.protobuf.LazyStringArrayList(availableInventoryItemIds_); + availableInventoryItemIds_ = + new com.google.protobuf.LazyStringArrayList(availableInventoryItemIds_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -5685,15 +6654,19 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @return A list containing the availableInventoryItemIds. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getAvailableInventoryItemIdsList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getAvailableInventoryItemIdsList() { return availableInventoryItemIds_.getUnmodifiableView(); } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -5704,14 +6677,19 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @return The count of availableInventoryItemIds. */ - @java.lang.Deprecated public int getAvailableInventoryItemIdsCount() { + @java.lang.Deprecated + public int getAvailableInventoryItemIdsCount() { return availableInventoryItemIds_.size(); } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -5722,15 +6700,20 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param index The index of the element to return. * @return The availableInventoryItemIds at the given index. */ - @java.lang.Deprecated public java.lang.String getAvailableInventoryItemIds(int index) { + @java.lang.Deprecated + public java.lang.String getAvailableInventoryItemIds(int index) { return availableInventoryItemIds_.get(index); } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -5741,16 +6724,20 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param index The index of the value to return. * @return The bytes of the availableInventoryItemIds at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getAvailableInventoryItemIdsBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getAvailableInventoryItemIdsBytes(int index) { return availableInventoryItemIds_.getByteString(index); } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -5761,23 +6748,27 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param index The index to set the value at. * @param value The availableInventoryItemIds to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setAvailableInventoryItemIds( - int index, java.lang.String value) { + @java.lang.Deprecated + public Builder setAvailableInventoryItemIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAvailableInventoryItemIdsIsMutable(); + throw new NullPointerException(); + } + ensureAvailableInventoryItemIdsIsMutable(); availableInventoryItemIds_.set(index, value); onChanged(); return this; } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -5788,22 +6779,26 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param value The availableInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAvailableInventoryItemIds( - java.lang.String value) { + @java.lang.Deprecated + public Builder addAvailableInventoryItemIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAvailableInventoryItemIdsIsMutable(); + throw new NullPointerException(); + } + ensureAvailableInventoryItemIdsIsMutable(); availableInventoryItemIds_.add(value); onChanged(); return this; } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -5814,20 +6809,23 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param values The availableInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAllAvailableInventoryItemIds( - java.lang.Iterable values) { + @java.lang.Deprecated + public Builder addAllAvailableInventoryItemIds(java.lang.Iterable values) { ensureAvailableInventoryItemIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, availableInventoryItemIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, availableInventoryItemIds_); onChanged(); return this; } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -5838,17 +6836,22 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearAvailableInventoryItemIds() { + @java.lang.Deprecated + public Builder clearAvailableInventoryItemIds() { availableInventoryItemIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** + * + * *
        * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
        * If the vulnerability report was not updated after the VM inventory
@@ -5859,17 +6862,19 @@ private void ensureAvailableInventoryItemIdsIsMutable() {
        * 
* * repeated string available_inventory_item_ids = 3 [deprecated = true]; - * @deprecated google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. - * See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 + * + * @deprecated + * google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids + * is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=121 * @param value The bytes of the availableInventoryItemIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAvailableInventoryItemIdsBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder addAvailableInventoryItemIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAvailableInventoryItemIdsIsMutable(); availableInventoryItemIds_.add(value); onChanged(); @@ -5878,34 +6883,47 @@ private void ensureAvailableInventoryItemIdsIsMutable() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
        * The timestamp for when the vulnerability was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
        * The timestamp for when the vulnerability was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -5926,14 +6944,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The timestamp for when the vulnerability was first detected.
        * 
* * .google.protobuf.Timestamp create_time = 4; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -5944,6 +6963,8 @@ public Builder setCreateTime( return this; } /** + * + * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -5954,7 +6975,9 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_) + .mergeFrom(value) + .buildPartial(); } else { createTime_ = value; } @@ -5966,6 +6989,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -5984,6 +7009,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -5991,11 +7018,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 4; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -6006,11 +7035,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
        * The timestamp for when the vulnerability was first detected.
        * 
@@ -6018,14 +7050,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -6033,34 +7068,47 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
        * The timestamp for when the vulnerability was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
        * The timestamp for when the vulnerability was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -6081,14 +7129,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The timestamp for when the vulnerability was last modified.
        * 
* * .google.protobuf.Timestamp update_time = 5; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -6099,6 +7148,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -6109,7 +7160,9 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_) + .mergeFrom(value) + .buildPartial(); } else { updateTime_ = value; } @@ -6121,6 +7174,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -6139,6 +7194,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -6146,11 +7203,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 5; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -6161,11 +7220,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
        * The timestamp for when the vulnerability was last modified.
        * 
@@ -6173,39 +7235,55 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } - private java.util.List items_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item> + items_ = java.util.Collections.emptyList(); + private void ensureItemsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - items_ = new java.util.ArrayList(items_); + items_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item>(items_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder> itemsBuilder_; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder> + itemsBuilder_; /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - public java.util.List getItemsList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item> + getItemsList() { if (itemsBuilder_ == null) { return java.util.Collections.unmodifiableList(items_); } else { @@ -6213,11 +7291,15 @@ public java.util.List * List of items affected by the vulnerability. *
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ public int getItemsCount() { if (itemsBuilder_ == null) { @@ -6227,13 +7309,18 @@ public int getItemsCount() { } } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item getItems(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item getItems( + int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { @@ -6241,14 +7328,19 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item } } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ public Builder setItems( - int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item value) { + int index, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6262,14 +7354,20 @@ public Builder setItems( return this; } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ public Builder setItems( - int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder + builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.set(index, builderForValue.build()); @@ -6280,13 +7378,18 @@ public Builder setItems( return this; } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - public Builder addItems(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item value) { + public Builder addItems( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6300,14 +7403,19 @@ public Builder addItems(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vu return this; } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ public Builder addItems( - int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item value) { + int index, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6321,14 +7429,19 @@ public Builder addItems( return this; } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ public Builder addItems( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder + builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(builderForValue.build()); @@ -6339,14 +7452,20 @@ public Builder addItems( return this; } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ public Builder addItems( - int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder + builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(index, builderForValue.build()); @@ -6357,18 +7476,24 @@ public Builder addItems( return this; } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ public Builder addAllItems( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item> + values) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, items_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, items_); onChanged(); } else { itemsBuilder_.addAllMessages(values); @@ -6376,11 +7501,15 @@ public Builder addAllItems( return this; } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ public Builder clearItems() { if (itemsBuilder_ == null) { @@ -6393,11 +7522,15 @@ public Builder clearItems() { return this; } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ public Builder removeItems(int index) { if (itemsBuilder_ == null) { @@ -6410,39 +7543,54 @@ public Builder removeItems(int index) { return this; } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder getItemsBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder + getItemsBuilder(int index) { return getItemsFieldBuilder().getBuilder(index); } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder getItemsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder + getItemsOrBuilder(int index) { if (itemsBuilder_ == null) { - return items_.get(index); } else { + return items_.get(index); + } else { return itemsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - public java.util.List - getItemsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder> + getItemsOrBuilderList() { if (itemsBuilder_ != null) { return itemsBuilder_.getMessageOrBuilderList(); } else { @@ -6450,53 +7598,77 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemO } } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder addItemsBuilder() { - return getItemsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder + addItemsBuilder() { + return getItemsFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item + .getDefaultInstance()); } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder addItemsBuilder( - int index) { - return getItemsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder + addItemsBuilder(int index) { + return getItemsFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item + .getDefaultInstance()); } /** + * + * *
        * List of items affected by the vulnerability.
        * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6; + * */ - public java.util.List - getItemsBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder> + getItemsBuilderList() { return getItemsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder> + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder> getItemsFieldBuilder() { if (itemsBuilder_ == null) { - itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder>( - items_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + itemsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item.Builder, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability + .ItemOrBuilder>( + items_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); items_ = null; } return itemsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6509,30 +7681,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability) - private static final com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability(); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability getDefaultInstance() { + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Vulnerability parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Vulnerability(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Vulnerability parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Vulnerability(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6544,15 +7718,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The `vulnerabilityReport` API resource name.
    * Format:
@@ -6560,6 +7736,7 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability getDe
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -6568,14 +7745,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The `vulnerabilityReport` API resource name.
    * Format:
@@ -6583,16 +7761,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6601,74 +7778,102 @@ public java.lang.String getName() { } public static final int VULNERABILITIES_FIELD_NUMBER = 2; - private java.util.List vulnerabilities_; + private java.util.List + vulnerabilities_; /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getVulnerabilitiesList() { + public java.util.List + getVulnerabilitiesList() { return vulnerabilities_; } /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder> getVulnerabilitiesOrBuilderList() { return vulnerabilities_; } /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getVulnerabilitiesCount() { return vulnerabilities_.size(); } /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability getVulnerabilities(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability getVulnerabilities( + int index) { return vulnerabilities_.get(index); } /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder getVulnerabilitiesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder + getVulnerabilitiesOrBuilder(int index) { return vulnerabilities_.get(index); } public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -6676,12 +7881,16 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -6689,12 +7898,15 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -6702,6 +7914,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6713,8 +7926,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -6737,12 +7949,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < vulnerabilities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, vulnerabilities_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, vulnerabilities_.get(i)); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6752,21 +7962,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1alpha.VulnerabilityReport)) { return super.equals(obj); } - com.google.cloud.osconfig.v1alpha.VulnerabilityReport other = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport) obj; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport other = + (com.google.cloud.osconfig.v1alpha.VulnerabilityReport) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getVulnerabilitiesList() - .equals(other.getVulnerabilitiesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getVulnerabilitiesList().equals(other.getVulnerabilitiesList())) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -6795,96 +8003,104 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport 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.osconfig.v1alpha.VulnerabilityReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1alpha.VulnerabilityReport prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * This API resource represents the vulnerability report for a specified
    * Compute Engine virtual machine (VM) instance at a given point in time.
@@ -6894,21 +8110,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.osconfig.v1alpha.VulnerabilityReport}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1alpha.VulnerabilityReport)
       com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_fieldAccessorTable
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1alpha.VulnerabilityReport.class, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder.class);
+              com.google.cloud.osconfig.v1alpha.VulnerabilityReport.class,
+              com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Builder.class);
     }
 
     // Construct using com.google.cloud.osconfig.v1alpha.VulnerabilityReport.newBuilder()
@@ -6916,17 +8134,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getVulnerabilitiesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6948,9 +8166,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto.internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.osconfig.v1alpha.VulnerabilityProto
+          .internal_static_google_cloud_osconfig_v1alpha_VulnerabilityReport_descriptor;
     }
 
     @java.lang.Override
@@ -6969,7 +8187,8 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport build() {
 
     @java.lang.Override
     public com.google.cloud.osconfig.v1alpha.VulnerabilityReport buildPartial() {
-      com.google.cloud.osconfig.v1alpha.VulnerabilityReport result = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport(this);
+      com.google.cloud.osconfig.v1alpha.VulnerabilityReport result =
+          new com.google.cloud.osconfig.v1alpha.VulnerabilityReport(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (vulnerabilitiesBuilder_ == null) {
@@ -6994,38 +8213,39 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.osconfig.v1alpha.VulnerabilityReport) {
-        return mergeFrom((com.google.cloud.osconfig.v1alpha.VulnerabilityReport)other);
+        return mergeFrom((com.google.cloud.osconfig.v1alpha.VulnerabilityReport) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -7033,7 +8253,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.VulnerabilityReport other) {
-      if (other == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.getDefaultInstance()) return this;
+      if (other == com.google.cloud.osconfig.v1alpha.VulnerabilityReport.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -7056,9 +8277,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1alpha.VulnerabilityReport o
             vulnerabilitiesBuilder_ = null;
             vulnerabilities_ = other.vulnerabilities_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            vulnerabilitiesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getVulnerabilitiesFieldBuilder() : null;
+            vulnerabilitiesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getVulnerabilitiesFieldBuilder()
+                    : null;
           } else {
             vulnerabilitiesBuilder_.addAllMessages(other.vulnerabilities_);
           }
@@ -7086,7 +8308,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.osconfig.v1alpha.VulnerabilityReport) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.osconfig.v1alpha.VulnerabilityReport) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -7095,10 +8318,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -7106,13 +8332,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -7121,6 +8347,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -7128,15 +8356,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -7144,6 +8371,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -7151,20 +8380,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -7172,15 +8403,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The `vulnerabilityReport` API resource name.
      * Format:
@@ -7188,41 +8422,53 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private java.util.List vulnerabilities_ = - java.util.Collections.emptyList(); + private java.util.List + vulnerabilities_ = java.util.Collections.emptyList(); + private void ensureVulnerabilitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - vulnerabilities_ = new java.util.ArrayList(vulnerabilities_); + vulnerabilities_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability>( + vulnerabilities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder> vulnerabilitiesBuilder_; + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder> + vulnerabilitiesBuilder_; /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getVulnerabilitiesList() { + public java.util.List + getVulnerabilitiesList() { if (vulnerabilitiesBuilder_ == null) { return java.util.Collections.unmodifiableList(vulnerabilities_); } else { @@ -7230,11 +8476,15 @@ public java.util.List * Output only. List of vulnerabilities affecting the VM. *
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getVulnerabilitiesCount() { if (vulnerabilitiesBuilder_ == null) { @@ -7244,13 +8494,18 @@ public int getVulnerabilitiesCount() { } } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability getVulnerabilities(int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability getVulnerabilities( + int index) { if (vulnerabilitiesBuilder_ == null) { return vulnerabilities_.get(index); } else { @@ -7258,11 +8513,15 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability getVu } } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setVulnerabilities( int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability value) { @@ -7279,14 +8538,20 @@ public Builder setVulnerabilities( return this; } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setVulnerabilities( - int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder + builderForValue) { if (vulnerabilitiesBuilder_ == null) { ensureVulnerabilitiesIsMutable(); vulnerabilities_.set(index, builderForValue.build()); @@ -7297,13 +8562,18 @@ public Builder setVulnerabilities( return this; } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addVulnerabilities(com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability value) { + public Builder addVulnerabilities( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability value) { if (vulnerabilitiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7317,11 +8587,15 @@ public Builder addVulnerabilities(com.google.cloud.osconfig.v1alpha.Vulnerabilit return this; } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addVulnerabilities( int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability value) { @@ -7338,14 +8612,19 @@ public Builder addVulnerabilities( return this; } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addVulnerabilities( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder builderForValue) { + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder + builderForValue) { if (vulnerabilitiesBuilder_ == null) { ensureVulnerabilitiesIsMutable(); vulnerabilities_.add(builderForValue.build()); @@ -7356,14 +8635,20 @@ public Builder addVulnerabilities( return this; } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addVulnerabilities( - int index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder + builderForValue) { if (vulnerabilitiesBuilder_ == null) { ensureVulnerabilitiesIsMutable(); vulnerabilities_.add(index, builderForValue.build()); @@ -7374,18 +8659,23 @@ public Builder addVulnerabilities( return this; } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllVulnerabilities( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability> + values) { if (vulnerabilitiesBuilder_ == null) { ensureVulnerabilitiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, vulnerabilities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vulnerabilities_); onChanged(); } else { vulnerabilitiesBuilder_.addAllMessages(values); @@ -7393,11 +8683,15 @@ public Builder addAllVulnerabilities( return this; } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearVulnerabilities() { if (vulnerabilitiesBuilder_ == null) { @@ -7410,11 +8704,15 @@ public Builder clearVulnerabilities() { return this; } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeVulnerabilities(int index) { if (vulnerabilitiesBuilder_ == null) { @@ -7427,39 +8725,53 @@ public Builder removeVulnerabilities(int index) { return this; } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder getVulnerabilitiesBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder + getVulnerabilitiesBuilder(int index) { return getVulnerabilitiesFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder getVulnerabilitiesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder + getVulnerabilitiesOrBuilder(int index) { if (vulnerabilitiesBuilder_ == null) { - return vulnerabilities_.get(index); } else { + return vulnerabilities_.get(index); + } else { return vulnerabilitiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getVulnerabilitiesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder> + getVulnerabilitiesOrBuilderList() { if (vulnerabilitiesBuilder_ != null) { return vulnerabilitiesBuilder_.getMessageOrBuilderList(); } else { @@ -7467,45 +8779,70 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuil } } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder addVulnerabilitiesBuilder() { - return getVulnerabilitiesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder + addVulnerabilitiesBuilder() { + return getVulnerabilitiesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability + .getDefaultInstance()); } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder addVulnerabilitiesBuilder( - int index) { - return getVulnerabilitiesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.getDefaultInstance()); + public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder + addVulnerabilitiesBuilder(int index) { + return getVulnerabilitiesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability + .getDefaultInstance()); } /** + * + * *
      * Output only. List of vulnerabilities affecting the VM.
      * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getVulnerabilitiesBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder> + getVulnerabilitiesBuilderList() { return getVulnerabilitiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder> + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder> getVulnerabilitiesFieldBuilder() { if (vulnerabilitiesBuilder_ == null) { - vulnerabilitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder, com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder>( + vulnerabilitiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Builder, + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder>( vulnerabilities_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -7517,42 +8854,61 @@ public com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Build private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -7568,15 +8924,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -7587,18 +8946,22 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -7610,12 +8973,16 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -7629,58 +8996,74 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The timestamp for when the last vulnerability report was generated for the
      * VM.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7690,12 +9073,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1alpha.VulnerabilityReport) private static final com.google.cloud.osconfig.v1alpha.VulnerabilityReport DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1alpha.VulnerabilityReport(); } @@ -7704,16 +9087,16 @@ public static com.google.cloud.osconfig.v1alpha.VulnerabilityReport getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VulnerabilityReport parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VulnerabilityReport(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VulnerabilityReport parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VulnerabilityReport(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7728,6 +9111,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1alpha.VulnerabilityReport getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportName.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportName.java similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportName.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportName.java diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportOrBuilder.java b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportOrBuilder.java similarity index 56% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportOrBuilder.java rename to proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportOrBuilder.java index 4aae9438..76d1bcf0 100644 --- a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportOrBuilder.java +++ b/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/VulnerabilityReportOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/osconfig/v1alpha/vulnerability.proto package com.google.cloud.osconfig.v1alpha; -public interface VulnerabilityReportOrBuilder extends +public interface VulnerabilityReportOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.VulnerabilityReport) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The `vulnerabilityReport` API resource name.
    * Format:
@@ -15,10 +33,13 @@ public interface VulnerabilityReportOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The `vulnerabilityReport` API resource name.
    * Format:
@@ -26,82 +47,114 @@ public interface VulnerabilityReportOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getVulnerabilitiesList(); /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability getVulnerabilities(int index); /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getVulnerabilitiesCount(); /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder> getVulnerabilitiesOrBuilderList(); /** + * + * *
    * Output only. List of vulnerabilities affecting the VM.
    * 
* - * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder getVulnerabilitiesOrBuilder( - int index); + com.google.cloud.osconfig.v1alpha.VulnerabilityReport.VulnerabilityOrBuilder + getVulnerabilitiesOrBuilder(int index); /** + * + * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The timestamp for when the last vulnerability report was generated for the
    * VM.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/config_common.proto b/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/config_common.proto similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/config_common.proto rename to proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/config_common.proto diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto b/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto rename to proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/inventory.proto b/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/inventory.proto similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/inventory.proto rename to proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/inventory.proto diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy.proto b/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy.proto similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy.proto rename to proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy.proto diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignment_reports.proto b/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignment_reports.proto similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignment_reports.proto rename to proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignment_reports.proto diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignments.proto b/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignments.proto similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignments.proto rename to proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/os_policy_assignments.proto diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_common.proto b/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_common.proto similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_common.proto rename to proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_common.proto diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_zonal_service.proto b/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_zonal_service.proto similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_zonal_service.proto rename to proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/osconfig_zonal_service.proto diff --git a/owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/vulnerability.proto b/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/vulnerability.proto similarity index 100% rename from owl-bot-staging/v1alpha/proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/vulnerability.proto rename to proto-google-cloud-os-config-v1alpha/src/main/proto/google/cloud/osconfig/v1alpha/vulnerability.proto diff --git a/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/Common.java b/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/Common.java similarity index 69% rename from owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/Common.java rename to proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/Common.java index 1ef768b3..eae8722d 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/Common.java +++ b/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/Common.java @@ -1,3 +1,18 @@ +/* + * 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/osconfig/v1beta/osconfig_common.proto @@ -5,55 +20,66 @@ public final class Common { private Common() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } - public interface FixedOrPercentOrBuilder extends + + public interface FixedOrPercentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.FixedOrPercent) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; + * * @return Whether the fixed field is set. */ boolean hasFixed(); /** + * + * *
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; + * * @return The fixed. */ int getFixed(); /** + * + * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; + * * @return Whether the percent field is set. */ boolean hasPercent(); /** + * + * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; + * * @return The percent. */ int getPercent(); @@ -61,6 +87,8 @@ public interface FixedOrPercentOrBuilder extends public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.ModeCase getModeCase(); } /** + * + * *
    * Message encapsulating a value that can be either absolute ("fixed") or
    * relative ("percent") to a value.
@@ -68,30 +96,29 @@ public interface FixedOrPercentOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.FixedOrPercent}
    */
-  public static final class FixedOrPercent extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class FixedOrPercent extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.FixedOrPercent)
       FixedOrPercentOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use FixedOrPercent.newBuilder() to construct.
     private FixedOrPercent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private FixedOrPercent() {
-    }
+
+    private FixedOrPercent() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new FixedOrPercent();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private FixedOrPercent(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -110,23 +137,25 @@ private FixedOrPercent(
             case 0:
               done = true;
               break;
-            case 8: {
-              mode_ = input.readInt32();
-              modeCase_ = 1;
-              break;
-            }
-            case 16: {
-              mode_ = input.readInt32();
-              modeCase_ = 2;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 8:
+              {
+                mode_ = input.readInt32();
+                modeCase_ = 1;
+                break;
+              }
+            case 16:
+              {
+                mode_ = input.readInt32();
+                modeCase_ = 2;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -134,35 +163,40 @@ private FixedOrPercent(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.Common.internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.Common
+          .internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.Common.internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.Common
+          .internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.class, com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder.class);
+              com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.class,
+              com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder.class);
     }
 
     private int modeCase_ = 0;
     private java.lang.Object mode_;
+
     public enum ModeCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       FIXED(1),
       PERCENT(2),
       MODE_NOT_SET(0);
       private final int value;
+
       private ModeCase(int value) {
         this.value = value;
       }
@@ -178,30 +212,36 @@ public static ModeCase valueOf(int value) {
 
       public static ModeCase forNumber(int value) {
         switch (value) {
-          case 1: return FIXED;
-          case 2: return PERCENT;
-          case 0: return MODE_NOT_SET;
-          default: return null;
+          case 1:
+            return FIXED;
+          case 2:
+            return PERCENT;
+          case 0:
+            return MODE_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ModeCase
-    getModeCase() {
-      return ModeCase.forNumber(
-          modeCase_);
+    public ModeCase getModeCase() {
+      return ModeCase.forNumber(modeCase_);
     }
 
     public static final int FIXED_FIELD_NUMBER = 1;
     /**
+     *
+     *
      * 
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; + * * @return Whether the fixed field is set. */ @java.lang.Override @@ -209,11 +249,14 @@ public boolean hasFixed() { return modeCase_ == 1; } /** + * + * *
      * Specifies a fixed value.
      * 
* * int32 fixed = 1; + * * @return The fixed. */ @java.lang.Override @@ -226,12 +269,15 @@ public int getFixed() { public static final int PERCENT_FIELD_NUMBER = 2; /** + * + * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; + * * @return Whether the percent field is set. */ @java.lang.Override @@ -239,12 +285,15 @@ public boolean hasPercent() { return modeCase_ == 2; } /** + * + * *
      * Specifies the relative value defined as a percentage, which will be
      * multiplied by a reference value.
      * 
* * int32 percent = 2; + * * @return The percent. */ @java.lang.Override @@ -256,6 +305,7 @@ public int getPercent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,15 +317,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (modeCase_ == 1) { - output.writeInt32( - 1, (int)((java.lang.Integer) mode_)); + output.writeInt32(1, (int) ((java.lang.Integer) mode_)); } if (modeCase_ == 2) { - output.writeInt32( - 2, (int)((java.lang.Integer) mode_)); + output.writeInt32(2, (int) ((java.lang.Integer) mode_)); } unknownFields.writeTo(output); } @@ -287,14 +334,14 @@ public int getSerializedSize() { size = 0; if (modeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size( - 1, (int)((java.lang.Integer) mode_)); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 1, (int) ((java.lang.Integer) mode_)); } if (modeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size( - 2, (int)((java.lang.Integer) mode_)); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 2, (int) ((java.lang.Integer) mode_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -304,22 +351,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.Common.FixedOrPercent)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.Common.FixedOrPercent other = (com.google.cloud.osconfig.v1beta.Common.FixedOrPercent) obj; + com.google.cloud.osconfig.v1beta.Common.FixedOrPercent other = + (com.google.cloud.osconfig.v1beta.Common.FixedOrPercent) obj; if (!getModeCase().equals(other.getModeCase())) return false; switch (modeCase_) { case 1: - if (getFixed() - != other.getFixed()) return false; + if (getFixed() != other.getFixed()) return false; break; case 2: - if (getPercent() - != other.getPercent()) return false; + if (getPercent() != other.getPercent()) return false; break; case 0: default: @@ -353,87 +399,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent 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.osconfig.v1beta.Common.FixedOrPercent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.Common.FixedOrPercent prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.Common.FixedOrPercent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -443,6 +496,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Message encapsulating a value that can be either absolute ("fixed") or
      * relative ("percent") to a value.
@@ -450,21 +505,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.FixedOrPercent}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.FixedOrPercent)
         com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.Common.internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.Common
+            .internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.Common.internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.Common
+            .internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.class, com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder.class);
+                com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.class,
+                com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.newBuilder()
@@ -472,16 +530,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -491,9 +548,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.Common.internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.Common
+            .internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor;
       }
 
       @java.lang.Override
@@ -512,7 +569,8 @@ public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent buildPartial() {
-        com.google.cloud.osconfig.v1beta.Common.FixedOrPercent result = new com.google.cloud.osconfig.v1beta.Common.FixedOrPercent(this);
+        com.google.cloud.osconfig.v1beta.Common.FixedOrPercent result =
+            new com.google.cloud.osconfig.v1beta.Common.FixedOrPercent(this);
         if (modeCase_ == 1) {
           result.mode_ = mode_;
         }
@@ -528,38 +586,41 @@ public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.Common.FixedOrPercent) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.Common.FixedOrPercent)other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.Common.FixedOrPercent) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -567,19 +628,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.Common.FixedOrPercent other) {
-        if (other == com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.getDefaultInstance())
+          return this;
         switch (other.getModeCase()) {
-          case FIXED: {
-            setFixed(other.getFixed());
-            break;
-          }
-          case PERCENT: {
-            setPercent(other.getPercent());
-            break;
-          }
-          case MODE_NOT_SET: {
-            break;
-          }
+          case FIXED:
+            {
+              setFixed(other.getFixed());
+              break;
+            }
+          case PERCENT:
+            {
+              setPercent(other.getPercent());
+              break;
+            }
+          case MODE_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -600,7 +665,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.Common.FixedOrPercent) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.Common.FixedOrPercent) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -609,12 +675,12 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int modeCase_ = 0;
       private java.lang.Object mode_;
-      public ModeCase
-          getModeCase() {
-        return ModeCase.forNumber(
-            modeCase_);
+
+      public ModeCase getModeCase() {
+        return ModeCase.forNumber(modeCase_);
       }
 
       public Builder clearMode() {
@@ -624,24 +690,29 @@ public Builder clearMode() {
         return this;
       }
 
-
       /**
+       *
+       *
        * 
        * Specifies a fixed value.
        * 
* * int32 fixed = 1; + * * @return Whether the fixed field is set. */ public boolean hasFixed() { return modeCase_ == 1; } /** + * + * *
        * Specifies a fixed value.
        * 
* * int32 fixed = 1; + * * @return The fixed. */ public int getFixed() { @@ -651,11 +722,14 @@ public int getFixed() { return 0; } /** + * + * *
        * Specifies a fixed value.
        * 
* * int32 fixed = 1; + * * @param value The fixed to set. * @return This builder for chaining. */ @@ -666,11 +740,14 @@ public Builder setFixed(int value) { return this; } /** + * + * *
        * Specifies a fixed value.
        * 
* * int32 fixed = 1; + * * @return This builder for chaining. */ public Builder clearFixed() { @@ -683,24 +760,30 @@ public Builder clearFixed() { } /** + * + * *
        * Specifies the relative value defined as a percentage, which will be
        * multiplied by a reference value.
        * 
* * int32 percent = 2; + * * @return Whether the percent field is set. */ public boolean hasPercent() { return modeCase_ == 2; } /** + * + * *
        * Specifies the relative value defined as a percentage, which will be
        * multiplied by a reference value.
        * 
* * int32 percent = 2; + * * @return The percent. */ public int getPercent() { @@ -710,12 +793,15 @@ public int getPercent() { return 0; } /** + * + * *
        * Specifies the relative value defined as a percentage, which will be
        * multiplied by a reference value.
        * 
* * int32 percent = 2; + * * @param value The percent to set. * @return This builder for chaining. */ @@ -726,12 +812,15 @@ public Builder setPercent(int value) { return this; } /** + * + * *
        * Specifies the relative value defined as a percentage, which will be
        * multiplied by a reference value.
        * 
* * int32 percent = 2; + * * @return This builder for chaining. */ public Builder clearPercent() { @@ -742,6 +831,7 @@ public Builder clearPercent() { } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -754,12 +844,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.FixedOrPercent) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.FixedOrPercent) private static final com.google.cloud.osconfig.v1beta.Common.FixedOrPercent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.Common.FixedOrPercent(); } @@ -768,16 +858,16 @@ public static com.google.cloud.osconfig.v1beta.Common.FixedOrPercent getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FixedOrPercent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FixedOrPercent(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FixedOrPercent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FixedOrPercent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -792,43 +882,44 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { java.lang.String[] descriptorData = { - "\n2google/cloud/osconfig/v1beta/osconfig_" + - "common.proto\022\034google.cloud.osconfig.v1be" + - "ta\032\034google/api/annotations.proto\"<\n\016Fixe" + - "dOrPercent\022\017\n\005fixed\030\001 \001(\005H\000\022\021\n\007percent\030\002" + - " \001(\005H\000B\006\n\004modeBp\n com.google.cloud.oscon" + - "fig.v1betaB\006CommonZDgoogle.golang.org/ge" + - "nproto/googleapis/cloud/osconfig/v1beta;" + - "osconfigb\006proto3" + "\n2google/cloud/osconfig/v1beta/osconfig_" + + "common.proto\022\034google.cloud.osconfig.v1be" + + "ta\032\034google/api/annotations.proto\"<\n\016Fixe" + + "dOrPercent\022\017\n\005fixed\030\001 \001(\005H\000\022\021\n\007percent\030\002" + + " \001(\005H\000B\006\n\004modeBp\n com.google.cloud.oscon" + + "fig.v1betaB\006CommonZDgoogle.golang.org/ge" + + "nproto/googleapis/cloud/osconfig/v1beta;" + + "osconfigb\006proto3" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor, - new java.lang.String[] { "Fixed", "Percent", "Mode", }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_FixedOrPercent_descriptor, + new java.lang.String[] { + "Fixed", "Percent", "Mode", + }); com.google.api.AnnotationsProto.getDescriptor(); } diff --git a/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicies.java b/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicies.java similarity index 68% rename from owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicies.java rename to proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicies.java index 76202e57..6b686cec 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicies.java +++ b/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicies.java @@ -1,3 +1,18 @@ +/* + * 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/osconfig/v1beta/guest_policies.proto @@ -5,25 +20,25 @@ public final class GuestPolicies { private GuestPolicies() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } /** + * + * *
    * The desired state that the OS Config agent maintains on the VM instance.
    * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.DesiredState} */ - public enum DesiredState - implements com.google.protobuf.ProtocolMessageEnum { + public enum DesiredState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The default is to ensure the package is installed.
      * 
@@ -32,6 +47,8 @@ public enum DesiredState */ DESIRED_STATE_UNSPECIFIED(0), /** + * + * *
      * The agent ensures that the package is installed.
      * 
@@ -40,6 +57,8 @@ public enum DesiredState */ INSTALLED(1), /** + * + * *
      * The agent ensures that the package is installed and
      * periodically checks for and install any updates.
@@ -49,6 +68,8 @@ public enum DesiredState
      */
     UPDATED(2),
     /**
+     *
+     *
      * 
      * The agent ensures that the package is not installed and uninstall it
      * if detected.
@@ -61,6 +82,8 @@ public enum DesiredState
     ;
 
     /**
+     *
+     *
      * 
      * The default is to ensure the package is installed.
      * 
@@ -69,6 +92,8 @@ public enum DesiredState */ public static final int DESIRED_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The agent ensures that the package is installed.
      * 
@@ -77,6 +102,8 @@ public enum DesiredState */ public static final int INSTALLED_VALUE = 1; /** + * + * *
      * The agent ensures that the package is installed and
      * periodically checks for and install any updates.
@@ -86,6 +113,8 @@ public enum DesiredState
      */
     public static final int UPDATED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The agent ensures that the package is not installed and uninstall it
      * if detected.
@@ -95,7 +124,6 @@ public enum DesiredState
      */
     public static final int REMOVED_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -120,50 +148,51 @@ public static DesiredState valueOf(int value) {
      */
     public static DesiredState forNumber(int value) {
       switch (value) {
-        case 0: return DESIRED_STATE_UNSPECIFIED;
-        case 1: return INSTALLED;
-        case 2: return UPDATED;
-        case 3: return REMOVED;
-        default: return null;
+        case 0:
+          return DESIRED_STATE_UNSPECIFIED;
+        case 1:
+          return INSTALLED;
+        case 2:
+          return UPDATED;
+        case 3:
+          return REMOVED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        DesiredState> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public DesiredState findValueByNumber(int number) {
-              return DesiredState.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public DesiredState findValueByNumber(int number) {
+            return DesiredState.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.osconfig.v1beta.GuestPolicies.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final DesiredState[] VALUES = values();
 
-    public static DesiredState valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static DesiredState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -180,11 +209,14 @@ private DesiredState(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1beta.DesiredState)
   }
 
-  public interface GuestPolicyOrBuilder extends
+  public interface GuestPolicyOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.GuestPolicy)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. Unique name of the resource in this project using one of the following
      * forms:
@@ -192,10 +224,13 @@ public interface GuestPolicyOrBuilder extends
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. Unique name of the resource in this project using one of the following
      * forms:
@@ -203,88 +238,123 @@ public interface GuestPolicyOrBuilder extends
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * Description of the guest policy. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * Description of the guest policy. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * Output only. Time this guest policy was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
      * Output only. Time this guest policy was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
      * Output only. Time this guest policy was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
      * Output only. Last time this guest policy was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
      * Output only. Last time this guest policy was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
      * Output only. Last time this guest policy was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
      * Required. Specifies the VM instances that are assigned to this policy. This allows
      * you to target sets or groups of VM instances by different parameters such
@@ -296,11 +366,16 @@ public interface GuestPolicyOrBuilder extends
      * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
      * 
* - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the assignment field is set. */ boolean hasAssignment(); /** + * + * *
      * Required. Specifies the VM instances that are assigned to this policy. This allows
      * you to target sets or groups of VM instances by different parameters such
@@ -312,11 +387,16 @@ public interface GuestPolicyOrBuilder extends
      * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
      * 
* - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The assignment. */ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment getAssignment(); /** + * + * *
      * Required. Specifies the VM instances that are assigned to this policy. This allows
      * you to target sets or groups of VM instances by different parameters such
@@ -328,20 +408,25 @@ public interface GuestPolicyOrBuilder extends
      * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
      * 
* - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder getAssignmentOrBuilder(); /** + * + * *
      * The software packages to be managed by this policy.
      * 
* * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ - java.util.List - getPackagesList(); + java.util.List getPackagesList(); /** + * + * *
      * The software packages to be managed by this policy.
      * 
@@ -350,6 +435,8 @@ public interface GuestPolicyOrBuilder extends */ com.google.cloud.osconfig.v1beta.GuestPolicies.Package getPackages(int index); /** + * + * *
      * The software packages to be managed by this policy.
      * 
@@ -358,25 +445,30 @@ public interface GuestPolicyOrBuilder extends */ int getPackagesCount(); /** + * + * *
      * The software packages to be managed by this policy.
      * 
* * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ - java.util.List + java.util.List getPackagesOrBuilderList(); /** + * + * *
      * The software packages to be managed by this policy.
      * 
* * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackagesOrBuilder( - int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackagesOrBuilder(int index); /** + * + * *
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -384,11 +476,14 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackagesOrBui
      * manager(s) are available.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ - java.util.List + java.util.List getPackageRepositoriesList(); /** + * + * *
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -396,10 +491,14 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackagesOrBui
      * manager(s) are available.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepositories(int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepositories( + int index); /** + * + * *
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -407,10 +506,13 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackagesOrBui
      * manager(s) are available.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ int getPackageRepositoriesCount(); /** + * + * *
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -418,11 +520,15 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackagesOrBui
      * manager(s) are available.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> getPackageRepositoriesOrBuilderList(); /** + * + * *
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -430,21 +536,25 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackagesOrBui
      * manager(s) are available.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder getPackageRepositoriesOrBuilder( - int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder + getPackageRepositoriesOrBuilder(int index); /** + * + * *
      * A list of Recipes to install on the VM instance.
      * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - java.util.List - getRecipesList(); + java.util.List getRecipesList(); /** + * + * *
      * A list of Recipes to install on the VM instance.
      * 
@@ -453,6 +563,8 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder getPac */ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getRecipes(int index); /** + * + * *
      * A list of Recipes to install on the VM instance.
      * 
@@ -461,15 +573,19 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder getPac */ int getRecipesCount(); /** + * + * *
      * A list of Recipes to install on the VM instance.
      * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - java.util.List + java.util.List getRecipesOrBuilderList(); /** + * + * *
      * A list of Recipes to install on the VM instance.
      * 
@@ -480,28 +596,35 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder getRecipe int index); /** + * + * *
      * The etag for this guest policy.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 10; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
      * The etag for this guest policy.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 10; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } /** + * + * *
    * An OS Config resource representing a guest configuration policy. These
    * policies represent the desired state for VM instance guest environments
@@ -511,15 +634,16 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder getRecipe
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.GuestPolicy}
    */
-  public static final class GuestPolicy extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class GuestPolicy extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.GuestPolicy)
       GuestPolicyOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use GuestPolicy.newBuilder() to construct.
     private GuestPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private GuestPolicy() {
       name_ = "";
       description_ = "";
@@ -531,16 +655,15 @@ private GuestPolicy() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new GuestPolicy();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private GuestPolicy(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -560,97 +683,123 @@ private GuestPolicy(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              name_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
-            }
-            case 26: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
+                name_ = s;
+                break;
               }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              break;
-            }
-            case 34: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
+                description_ = s;
+                break;
               }
+            case 26:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (createTime_ != null) {
+                  subBuilder = createTime_.toBuilder();
+                }
+                createTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(createTime_);
+                  createTime_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 50: {
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder subBuilder = null;
-              if (assignment_ != null) {
-                subBuilder = assignment_.toBuilder();
+                break;
               }
-              assignment_ = input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(assignment_);
-                assignment_ = subBuilder.buildPartial();
+            case 34:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (updateTime_ != null) {
+                  subBuilder = updateTime_.toBuilder();
+                }
+                updateTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(updateTime_);
+                  updateTime_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
+            case 50:
+              {
+                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder subBuilder = null;
+                if (assignment_ != null) {
+                  subBuilder = assignment_.toBuilder();
+                }
+                assignment_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(assignment_);
+                  assignment_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 58: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                packages_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+                break;
               }
-              packages_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.Package.parser(), extensionRegistry));
-              break;
-            }
-            case 66: {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                packageRepositories_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 58:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  packages_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1beta.GuestPolicies.Package>();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                packages_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.GuestPolicies.Package.parser(),
+                        extensionRegistry));
+                break;
               }
-              packageRepositories_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.parser(), extensionRegistry));
-              break;
-            }
-            case 74: {
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                recipes_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000004;
+            case 66:
+              {
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  packageRepositories_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository>();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                packageRepositories_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.parser(),
+                        extensionRegistry));
+                break;
               }
-              recipes_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.parser(), extensionRegistry));
-              break;
-            }
-            case 82: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 74:
+              {
+                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                  recipes_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe>();
+                  mutable_bitField0_ |= 0x00000004;
+                }
+                recipes_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.parser(),
+                        extensionRegistry));
+                break;
+              }
+            case 82:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              etag_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                etag_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -658,8 +807,7 @@ private GuestPolicy(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           packages_ = java.util.Collections.unmodifiableList(packages_);
@@ -674,22 +822,27 @@ private GuestPolicy(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.GuestPolicies
+          .internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GuestPolicy_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.GuestPolicies
+          .internal_static_google_cloud_osconfig_v1beta_GuestPolicy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder.class);
+              com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder.class);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object name_;
     /**
+     *
+     *
      * 
      * Required. Unique name of the resource in this project using one of the following
      * forms:
@@ -697,6 +850,7 @@ private GuestPolicy(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -705,14 +859,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. Unique name of the resource in this project using one of the following
      * forms:
@@ -720,16 +875,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -740,12 +894,15 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
      * Description of the guest policy. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -754,30 +911,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * Description of the guest policy. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -788,11 +945,16 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
      * Output only. Time this guest policy was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -800,11 +962,16 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
      * Output only. Time this guest policy was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -812,11 +979,15 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
      * Output only. Time this guest policy was created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -826,11 +997,16 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
      * Output only. Last time this guest policy was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -838,11 +1014,16 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
      * Output only. Last time this guest policy was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -850,11 +1031,15 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
      * Output only. Last time this guest policy was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -864,6 +1049,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int ASSIGNMENT_FIELD_NUMBER = 6; private com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment assignment_; /** + * + * *
      * Required. Specifies the VM instances that are assigned to this policy. This allows
      * you to target sets or groups of VM instances by different parameters such
@@ -875,7 +1062,10 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
      * 
* - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the assignment field is set. */ @java.lang.Override @@ -883,6 +1073,8 @@ public boolean hasAssignment() { return assignment_ != null; } /** + * + * *
      * Required. Specifies the VM instances that are assigned to this policy. This allows
      * you to target sets or groups of VM instances by different parameters such
@@ -894,14 +1086,21 @@ public boolean hasAssignment() {
      * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
      * 
* - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The assignment. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment getAssignment() { - return assignment_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.getDefaultInstance() : assignment_; + return assignment_ == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.getDefaultInstance() + : assignment_; } /** + * + * *
      * Required. Specifies the VM instances that are assigned to this policy. This allows
      * you to target sets or groups of VM instances by different parameters such
@@ -913,16 +1112,21 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment getAssignment()
      * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
      * 
* - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder getAssignmentOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder + getAssignmentOrBuilder() { return getAssignment(); } public static final int PACKAGES_FIELD_NUMBER = 7; private java.util.List packages_; /** + * + * *
      * The software packages to be managed by this policy.
      * 
@@ -930,10 +1134,13 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder getAss * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ @java.lang.Override - public java.util.List getPackagesList() { + public java.util.List + getPackagesList() { return packages_; } /** + * + * *
      * The software packages to be managed by this policy.
      * 
@@ -941,11 +1148,13 @@ public java.util.List ge * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ @java.lang.Override - public java.util.List + public java.util.List getPackagesOrBuilderList() { return packages_; } /** + * + * *
      * The software packages to be managed by this policy.
      * 
@@ -957,6 +1166,8 @@ public int getPackagesCount() { return packages_.size(); } /** + * + * *
      * The software packages to be managed by this policy.
      * 
@@ -968,6 +1179,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package getPackages(int in return packages_.get(index); } /** + * + * *
      * The software packages to be managed by this policy.
      * 
@@ -981,8 +1194,11 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackag } public static final int PACKAGE_REPOSITORIES_FIELD_NUMBER = 8; - private java.util.List packageRepositories_; + private java.util.List + packageRepositories_; /** + * + * *
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -990,13 +1206,17 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackag
      * manager(s) are available.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ @java.lang.Override - public java.util.List getPackageRepositoriesList() { + public java.util.List + getPackageRepositoriesList() { return packageRepositories_; } /** + * + * *
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -1004,14 +1224,18 @@ public java.util.List
      *
-     * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8;
+     * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8;
+     * 
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder>
         getPackageRepositoriesOrBuilderList() {
       return packageRepositories_;
     }
     /**
+     *
+     *
      * 
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -1019,13 +1243,16 @@ public java.util.List
      *
-     * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8;
+     * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8;
+     * 
      */
     @java.lang.Override
     public int getPackageRepositoriesCount() {
       return packageRepositories_.size();
     }
     /**
+     *
+     *
      * 
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -1033,13 +1260,17 @@ public int getPackageRepositoriesCount() {
      * manager(s) are available.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepositories(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepositories( + int index) { return packageRepositories_.get(index); } /** + * + * *
      * A list of package repositories to configure on the VM instance. This is
      * done before any other configs are applied so they can use these repos.
@@ -1047,17 +1278,20 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPacka
      * manager(s) are available.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder getPackageRepositoriesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder + getPackageRepositoriesOrBuilder(int index) { return packageRepositories_.get(index); } public static final int RECIPES_FIELD_NUMBER = 9; private java.util.List recipes_; /** + * + * *
      * A list of Recipes to install on the VM instance.
      * 
@@ -1065,10 +1299,13 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ @java.lang.Override - public java.util.List getRecipesList() { + public java.util.List + getRecipesList() { return recipes_; } /** + * + * *
      * A list of Recipes to install on the VM instance.
      * 
@@ -1076,11 +1313,14 @@ public java.util.Listrepeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> getRecipesOrBuilderList() { return recipes_; } /** + * + * *
      * A list of Recipes to install on the VM instance.
      * 
@@ -1092,6 +1332,8 @@ public int getRecipesCount() { return recipes_.size(); } /** + * + * *
      * A list of Recipes to install on the VM instance.
      * 
@@ -1103,6 +1345,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getRecipes( return recipes_.get(index); } /** + * + * *
      * A list of Recipes to install on the VM instance.
      * 
@@ -1110,20 +1354,23 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getRecipes( * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder getRecipesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder + getRecipesOrBuilder(int index) { return recipes_.get(index); } public static final int ETAG_FIELD_NUMBER = 10; private volatile java.lang.Object etag_; /** + * + * *
      * The etag for this guest policy.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 10; + * * @return The etag. */ @java.lang.Override @@ -1132,30 +1379,30 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
      * The etag for this guest policy.
      * If this is provided on update, it must match the server's etag.
      * 
* * string etag = 10; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -1164,6 +1411,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1175,8 +1423,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -1220,28 +1467,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } if (assignment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getAssignment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getAssignment()); } for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, packages_.get(i)); } for (int i = 0; i < packageRepositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, packageRepositories_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, packageRepositories_.get(i)); } for (int i = 0; i < recipes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, recipes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, recipes_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, etag_); @@ -1254,40 +1497,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy other = (com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (hasAssignment() != other.hasAssignment()) return false; if (hasAssignment()) { - if (!getAssignment() - .equals(other.getAssignment())) return false; - } - if (!getPackagesList() - .equals(other.getPackagesList())) return false; - if (!getPackageRepositoriesList() - .equals(other.getPackageRepositoriesList())) return false; - if (!getRecipesList() - .equals(other.getRecipesList())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + if (!getAssignment().equals(other.getAssignment())) return false; + } + if (!getPackagesList().equals(other.getPackagesList())) return false; + if (!getPackageRepositoriesList().equals(other.getPackageRepositoriesList())) return false; + if (!getRecipesList().equals(other.getRecipesList())) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1335,87 +1570,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy 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.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1425,6 +1667,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An OS Config resource representing a guest configuration policy. These
      * policies represent the desired state for VM instance guest environments
@@ -1434,21 +1678,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.GuestPolicy}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.GuestPolicy)
         com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GuestPolicy_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_GuestPolicy_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.class,
+                com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.newBuilder()
@@ -1456,19 +1703,19 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getPackagesFieldBuilder();
           getPackageRepositoriesFieldBuilder();
           getRecipesFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1518,13 +1765,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy
+          getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance();
       }
 
@@ -1539,7 +1787,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy buildPartial() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy result = new com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy(this);
+        com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy result =
+            new com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy(this);
         int from_bitField0_ = bitField0_;
         result.name_ = name_;
         result.description_ = description_;
@@ -1594,38 +1843,41 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy buildPartial()
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.GuestPolicies.GuestPolicy) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy)other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1633,7 +1885,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy other) {
-        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance()) return this;
+        if (other
+            == com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance())
+          return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -1669,9 +1923,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPol
               packagesBuilder_ = null;
               packages_ = other.packages_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              packagesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getPackagesFieldBuilder() : null;
+              packagesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getPackagesFieldBuilder()
+                      : null;
             } else {
               packagesBuilder_.addAllMessages(other.packages_);
             }
@@ -1695,9 +1950,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPol
               packageRepositoriesBuilder_ = null;
               packageRepositories_ = other.packageRepositories_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              packageRepositoriesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getPackageRepositoriesFieldBuilder() : null;
+              packageRepositoriesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getPackageRepositoriesFieldBuilder()
+                      : null;
             } else {
               packageRepositoriesBuilder_.addAllMessages(other.packageRepositories_);
             }
@@ -1721,9 +1977,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPol
               recipesBuilder_ = null;
               recipes_ = other.recipes_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              recipesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getRecipesFieldBuilder() : null;
+              recipesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getRecipesFieldBuilder()
+                      : null;
             } else {
               recipesBuilder_.addAllMessages(other.recipes_);
             }
@@ -1752,7 +2009,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1761,10 +2019,13 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object name_ = "";
       /**
+       *
+       *
        * 
        * Required. Unique name of the resource in this project using one of the following
        * forms:
@@ -1772,13 +2033,13 @@ public Builder mergeFrom(
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1787,6 +2048,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Unique name of the resource in this project using one of the following
        * forms:
@@ -1794,15 +2057,14 @@ public java.lang.String getName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1810,6 +2072,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Unique name of the resource in this project using one of the following
        * forms:
@@ -1817,20 +2081,22 @@ public java.lang.String getName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. Unique name of the resource in this project using one of the following
        * forms:
@@ -1838,15 +2104,18 @@ public Builder setName(
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. Unique name of the resource in this project using one of the following
        * forms:
@@ -1854,16 +2123,16 @@ public Builder clearName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1871,19 +2140,21 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
        * Description of the guest policy. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1892,21 +2163,22 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Description of the guest policy. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1914,57 +2186,64 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Description of the guest policy. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
        * Description of the guest policy. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
        * Description of the guest policy. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1972,39 +2251,58 @@ public Builder setDescriptionBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
        * Output only. Time this guest policy was created.
        * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
        * Output only. Time this guest policy was created.
        * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
        * Output only. Time this guest policy was created.
        * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2020,14 +2318,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. Time this guest policy was created.
        * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2038,17 +2339,23 @@ public Builder setCreateTime( return this; } /** + * + * *
        * Output only. Time this guest policy was created.
        * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_) + .mergeFrom(value) + .buildPartial(); } else { createTime_ = value; } @@ -2060,11 +2367,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. Time this guest policy was created.
        * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2078,48 +2389,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
        * Output only. Time this guest policy was created.
        * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. Time this guest policy was created.
        * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
        * Output only. Time this guest policy was created.
        * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2127,39 +2454,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
        * Output only. Last time this guest policy was updated.
        * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
        * Output only. Last time this guest policy was updated.
        * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
        * Output only. Last time this guest policy was updated.
        * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2175,14 +2521,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. Last time this guest policy was updated.
        * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -2193,17 +2542,23 @@ public Builder setUpdateTime( return this; } /** + * + * *
        * Output only. Last time this guest policy was updated.
        * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_) + .mergeFrom(value) + .buildPartial(); } else { updateTime_ = value; } @@ -2215,11 +2570,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. Last time this guest policy was updated.
        * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2233,48 +2592,64 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
        * Output only. Last time this guest policy was updated.
        * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. Last time this guest policy was updated.
        * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
        * Output only. Last time this guest policy was updated.
        * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2282,8 +2657,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment assignment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder> assignmentBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment, + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder> + assignmentBuilder_; /** + * + * *
        * Required. Specifies the VM instances that are assigned to this policy. This allows
        * you to target sets or groups of VM instances by different parameters such
@@ -2295,13 +2675,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
        * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
        * 
* - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the assignment field is set. */ public boolean hasAssignment() { return assignmentBuilder_ != null || assignment_ != null; } /** + * + * *
        * Required. Specifies the VM instances that are assigned to this policy. This allows
        * you to target sets or groups of VM instances by different parameters such
@@ -2313,17 +2698,24 @@ public boolean hasAssignment() {
        * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
        * 
* - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The assignment. */ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment getAssignment() { if (assignmentBuilder_ == null) { - return assignment_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.getDefaultInstance() : assignment_; + return assignment_ == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.getDefaultInstance() + : assignment_; } else { return assignmentBuilder_.getMessage(); } } /** + * + * *
        * Required. Specifies the VM instances that are assigned to this policy. This allows
        * you to target sets or groups of VM instances by different parameters such
@@ -2335,9 +2727,12 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment getAssignment()
        * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
        * 
* - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAssignment(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment value) { + public Builder setAssignment( + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment value) { if (assignmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2351,6 +2746,8 @@ public Builder setAssignment(com.google.cloud.osconfig.v1beta.GuestPolicies.Assi return this; } /** + * + * *
        * Required. Specifies the VM instances that are assigned to this policy. This allows
        * you to target sets or groups of VM instances by different parameters such
@@ -2362,7 +2759,9 @@ public Builder setAssignment(com.google.cloud.osconfig.v1beta.GuestPolicies.Assi
        * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
        * 
* - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAssignment( com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder builderForValue) { @@ -2376,6 +2775,8 @@ public Builder setAssignment( return this; } /** + * + * *
        * Required. Specifies the VM instances that are assigned to this policy. This allows
        * you to target sets or groups of VM instances by different parameters such
@@ -2387,13 +2788,18 @@ public Builder setAssignment(
        * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
        * 
* - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeAssignment(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment value) { + public Builder mergeAssignment( + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment value) { if (assignmentBuilder_ == null) { if (assignment_ != null) { assignment_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.newBuilder(assignment_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.newBuilder(assignment_) + .mergeFrom(value) + .buildPartial(); } else { assignment_ = value; } @@ -2405,6 +2811,8 @@ public Builder mergeAssignment(com.google.cloud.osconfig.v1beta.GuestPolicies.As return this; } /** + * + * *
        * Required. Specifies the VM instances that are assigned to this policy. This allows
        * you to target sets or groups of VM instances by different parameters such
@@ -2416,7 +2824,9 @@ public Builder mergeAssignment(com.google.cloud.osconfig.v1beta.GuestPolicies.As
        * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
        * 
* - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAssignment() { if (assignmentBuilder_ == null) { @@ -2430,6 +2840,8 @@ public Builder clearAssignment() { return this; } /** + * + * *
        * Required. Specifies the VM instances that are assigned to this policy. This allows
        * you to target sets or groups of VM instances by different parameters such
@@ -2441,14 +2853,19 @@ public Builder clearAssignment() {
        * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
        * 
* - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder getAssignmentBuilder() { - + public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder + getAssignmentBuilder() { + onChanged(); return getAssignmentFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Specifies the VM instances that are assigned to this policy. This allows
        * you to target sets or groups of VM instances by different parameters such
@@ -2460,17 +2877,23 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder getAssi
        * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
        * 
* - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder getAssignmentOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder + getAssignmentOrBuilder() { if (assignmentBuilder_ != null) { return assignmentBuilder_.getMessageOrBuilder(); } else { - return assignment_ == null ? - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.getDefaultInstance() : assignment_; + return assignment_ == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.getDefaultInstance() + : assignment_; } } /** + * + * *
        * Required. Specifies the VM instances that are assigned to this policy. This allows
        * you to target sets or groups of VM instances by different parameters such
@@ -2482,42 +2905,56 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder getAss
        * conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
        * 
* - * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.Assignment assignment = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment, + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder> getAssignmentFieldBuilder() { if (assignmentBuilder_ == null) { - assignmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder>( - getAssignment(), - getParentForChildren(), - isClean()); + assignmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment, + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder>( + getAssignment(), getParentForChildren(), isClean()); assignment_ = null; } return assignmentBuilder_; } private java.util.List packages_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = new java.util.ArrayList(packages_); + packages_ = + new java.util.ArrayList( + packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Package, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder> packagesBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.Package, + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder> + packagesBuilder_; /** + * + * *
        * The software packages to be managed by this policy.
        * 
* * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ - public java.util.List getPackagesList() { + public java.util.List + getPackagesList() { if (packagesBuilder_ == null) { return java.util.Collections.unmodifiableList(packages_); } else { @@ -2525,6 +2962,8 @@ public java.util.List ge } } /** + * + * *
        * The software packages to be managed by this policy.
        * 
@@ -2539,6 +2978,8 @@ public int getPackagesCount() { } } /** + * + * *
        * The software packages to be managed by this policy.
        * 
@@ -2553,6 +2994,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package getPackages(int in } } /** + * + * *
        * The software packages to be managed by this policy.
        * 
@@ -2574,6 +3017,8 @@ public Builder setPackages( return this; } /** + * + * *
        * The software packages to be managed by this policy.
        * 
@@ -2581,7 +3026,8 @@ public Builder setPackages( * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ public Builder setPackages( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder builderForValue) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); packages_.set(index, builderForValue.build()); @@ -2592,6 +3038,8 @@ public Builder setPackages( return this; } /** + * + * *
        * The software packages to be managed by this policy.
        * 
@@ -2612,6 +3060,8 @@ public Builder addPackages(com.google.cloud.osconfig.v1beta.GuestPolicies.Packag return this; } /** + * + * *
        * The software packages to be managed by this policy.
        * 
@@ -2633,6 +3083,8 @@ public Builder addPackages( return this; } /** + * + * *
        * The software packages to be managed by this policy.
        * 
@@ -2651,6 +3103,8 @@ public Builder addPackages( return this; } /** + * + * *
        * The software packages to be managed by this policy.
        * 
@@ -2658,7 +3112,8 @@ public Builder addPackages( * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ public Builder addPackages( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder builderForValue) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); packages_.add(index, builderForValue.build()); @@ -2669,6 +3124,8 @@ public Builder addPackages( return this; } /** + * + * *
        * The software packages to be managed by this policy.
        * 
@@ -2676,11 +3133,11 @@ public Builder addPackages( * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ public Builder addAllPackages( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -2688,6 +3145,8 @@ public Builder addAllPackages( return this; } /** + * + * *
        * The software packages to be managed by this policy.
        * 
@@ -2705,6 +3164,8 @@ public Builder clearPackages() { return this; } /** + * + * *
        * The software packages to be managed by this policy.
        * 
@@ -2722,6 +3183,8 @@ public Builder removePackages(int index) { return this; } /** + * + * *
        * The software packages to be managed by this policy.
        * 
@@ -2733,6 +3196,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder getPackage return getPackagesFieldBuilder().getBuilder(index); } /** + * + * *
        * The software packages to be managed by this policy.
        * 
@@ -2742,19 +3207,23 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder getPackage public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackagesOrBuilder( int index) { if (packagesBuilder_ == null) { - return packages_.get(index); } else { + return packages_.get(index); + } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * The software packages to be managed by this policy.
        * 
* * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ - public java.util.List - getPackagesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder> + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -2762,6 +3231,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackag } } /** + * + * *
        * The software packages to be managed by this policy.
        * 
@@ -2769,10 +3240,13 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackag * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder addPackagesBuilder() { - return getPackagesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance()); + return getPackagesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance()); } /** + * + * *
        * The software packages to be managed by this policy.
        * 
@@ -2781,48 +3255,63 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder addPackage */ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder addPackagesBuilder( int index) { - return getPackagesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance()); + return getPackagesFieldBuilder() + .addBuilder( + index, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance()); } /** + * + * *
        * The software packages to be managed by this policy.
        * 
* * repeated .google.cloud.osconfig.v1beta.Package packages = 7; */ - public java.util.List - getPackagesBuilderList() { + public java.util.List + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Package, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.Package, + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Package, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder>( - packages_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + packagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.Package, + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder>( + packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); packages_ = null; } return packagesBuilder_; } - private java.util.List packageRepositories_ = - java.util.Collections.emptyList(); + private java.util.List + packageRepositories_ = java.util.Collections.emptyList(); + private void ensurePackageRepositoriesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - packageRepositories_ = new java.util.ArrayList(packageRepositories_); + packageRepositories_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository>( + packageRepositories_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> packageRepositoriesBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> + packageRepositoriesBuilder_; /** + * + * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -2830,9 +3319,11 @@ private void ensurePackageRepositoriesIsMutable() {
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ - public java.util.List getPackageRepositoriesList() { + public java.util.List + getPackageRepositoriesList() { if (packageRepositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(packageRepositories_); } else { @@ -2840,6 +3331,8 @@ public java.util.List * A list of package repositories to configure on the VM instance. This is * done before any other configs are applied so they can use these repos. @@ -2847,7 +3340,8 @@ public java.util.List * - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ public int getPackageRepositoriesCount() { if (packageRepositoriesBuilder_ == null) { @@ -2857,6 +3351,8 @@ public int getPackageRepositoriesCount() { } } /** + * + * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -2864,9 +3360,11 @@ public int getPackageRepositoriesCount() {
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepositories(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository + getPackageRepositories(int index) { if (packageRepositoriesBuilder_ == null) { return packageRepositories_.get(index); } else { @@ -2874,6 +3372,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPacka } } /** + * + * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -2881,7 +3381,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPacka
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ public Builder setPackageRepositories( int index, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository value) { @@ -2898,6 +3399,8 @@ public Builder setPackageRepositories( return this; } /** + * + * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -2905,10 +3408,13 @@ public Builder setPackageRepositories(
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ public Builder setPackageRepositories( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder + builderForValue) { if (packageRepositoriesBuilder_ == null) { ensurePackageRepositoriesIsMutable(); packageRepositories_.set(index, builderForValue.build()); @@ -2919,6 +3425,8 @@ public Builder setPackageRepositories( return this; } /** + * + * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -2926,9 +3434,11 @@ public Builder setPackageRepositories(
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ - public Builder addPackageRepositories(com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository value) { + public Builder addPackageRepositories( + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository value) { if (packageRepositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2942,6 +3452,8 @@ public Builder addPackageRepositories(com.google.cloud.osconfig.v1beta.GuestPoli return this; } /** + * + * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -2949,7 +3461,8 @@ public Builder addPackageRepositories(com.google.cloud.osconfig.v1beta.GuestPoli
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ public Builder addPackageRepositories( int index, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository value) { @@ -2966,6 +3479,8 @@ public Builder addPackageRepositories( return this; } /** + * + * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -2973,10 +3488,12 @@ public Builder addPackageRepositories(
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ public Builder addPackageRepositories( - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder + builderForValue) { if (packageRepositoriesBuilder_ == null) { ensurePackageRepositoriesIsMutable(); packageRepositories_.add(builderForValue.build()); @@ -2987,6 +3504,8 @@ public Builder addPackageRepositories( return this; } /** + * + * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -2994,10 +3513,13 @@ public Builder addPackageRepositories(
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ public Builder addPackageRepositories( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder + builderForValue) { if (packageRepositoriesBuilder_ == null) { ensurePackageRepositoriesIsMutable(); packageRepositories_.add(index, builderForValue.build()); @@ -3008,6 +3530,8 @@ public Builder addPackageRepositories( return this; } /** + * + * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3015,14 +3539,16 @@ public Builder addPackageRepositories(
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ public Builder addAllPackageRepositories( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository> + values) { if (packageRepositoriesBuilder_ == null) { ensurePackageRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, packageRepositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packageRepositories_); onChanged(); } else { packageRepositoriesBuilder_.addAllMessages(values); @@ -3030,6 +3556,8 @@ public Builder addAllPackageRepositories( return this; } /** + * + * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3037,7 +3565,8 @@ public Builder addAllPackageRepositories(
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ public Builder clearPackageRepositories() { if (packageRepositoriesBuilder_ == null) { @@ -3050,6 +3579,8 @@ public Builder clearPackageRepositories() { return this; } /** + * + * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3057,7 +3588,8 @@ public Builder clearPackageRepositories() {
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ public Builder removePackageRepositories(int index) { if (packageRepositoriesBuilder_ == null) { @@ -3070,6 +3602,8 @@ public Builder removePackageRepositories(int index) { return this; } /** + * + * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3077,13 +3611,16 @@ public Builder removePackageRepositories(int index) {
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder getPackageRepositoriesBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder + getPackageRepositoriesBuilder(int index) { return getPackageRepositoriesFieldBuilder().getBuilder(index); } /** + * + * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3091,16 +3628,20 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder getPackageRepositoriesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder + getPackageRepositoriesOrBuilder(int index) { if (packageRepositoriesBuilder_ == null) { - return packageRepositories_.get(index); } else { + return packageRepositories_.get(index); + } else { return packageRepositoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3108,10 +3649,12 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ - public java.util.List - getPackageRepositoriesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> + getPackageRepositoriesOrBuilderList() { if (packageRepositoriesBuilder_ != null) { return packageRepositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -3119,6 +3662,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder } } /** + * + * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3126,13 +3671,19 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder addPackageRepositoriesBuilder() { - return getPackageRepositoriesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder + addPackageRepositoriesBuilder() { + return getPackageRepositoriesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository + .getDefaultInstance()); } /** + * + * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3140,14 +3691,20 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder addPackageRepositoriesBuilder( - int index) { - return getPackageRepositoriesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder + addPackageRepositoriesBuilder(int index) { + return getPackageRepositoriesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository + .getDefaultInstance()); } /** + * + * *
        * A list of package repositories to configure on the VM instance. This is
        * done before any other configs are applied so they can use these repos.
@@ -3155,18 +3712,26 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder
        * manager(s) are available.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * repeated .google.cloud.osconfig.v1beta.PackageRepository package_repositories = 8; + * */ - public java.util.List - getPackageRepositoriesBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder> + getPackageRepositoriesBuilderList() { return getPackageRepositoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> getPackageRepositoriesFieldBuilder() { if (packageRepositoriesBuilder_ == null) { - packageRepositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder>( + packageRepositoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder>( packageRepositories_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -3176,26 +3741,35 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder return packageRepositoriesBuilder_; } - private java.util.List recipes_ = - java.util.Collections.emptyList(); + private java.util.List + recipes_ = java.util.Collections.emptyList(); + private void ensureRecipesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - recipes_ = new java.util.ArrayList(recipes_); + recipes_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe>(recipes_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> recipesBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> + recipesBuilder_; /** + * + * *
        * A list of Recipes to install on the VM instance.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - public java.util.List getRecipesList() { + public java.util.List + getRecipesList() { if (recipesBuilder_ == null) { return java.util.Collections.unmodifiableList(recipes_); } else { @@ -3203,6 +3777,8 @@ public java.util.List * A list of Recipes to install on the VM instance. *
@@ -3217,6 +3793,8 @@ public int getRecipesCount() { } } /** + * + * *
        * A list of Recipes to install on the VM instance.
        * 
@@ -3231,6 +3809,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getRecipes( } } /** + * + * *
        * A list of Recipes to install on the VM instance.
        * 
@@ -3252,6 +3832,8 @@ public Builder setRecipes( return this; } /** + * + * *
        * A list of Recipes to install on the VM instance.
        * 
@@ -3259,7 +3841,8 @@ public Builder setRecipes( * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ public Builder setRecipes( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder builderForValue) { if (recipesBuilder_ == null) { ensureRecipesIsMutable(); recipes_.set(index, builderForValue.build()); @@ -3270,13 +3853,16 @@ public Builder setRecipes( return this; } /** + * + * *
        * A list of Recipes to install on the VM instance.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - public Builder addRecipes(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe value) { + public Builder addRecipes( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe value) { if (recipesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3290,6 +3876,8 @@ public Builder addRecipes(com.google.cloud.osconfig.v1beta.GuestPolicies.Softwar return this; } /** + * + * *
        * A list of Recipes to install on the VM instance.
        * 
@@ -3311,6 +3899,8 @@ public Builder addRecipes( return this; } /** + * + * *
        * A list of Recipes to install on the VM instance.
        * 
@@ -3329,6 +3919,8 @@ public Builder addRecipes( return this; } /** + * + * *
        * A list of Recipes to install on the VM instance.
        * 
@@ -3336,7 +3928,8 @@ public Builder addRecipes( * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ public Builder addRecipes( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder builderForValue) { if (recipesBuilder_ == null) { ensureRecipesIsMutable(); recipes_.add(index, builderForValue.build()); @@ -3347,6 +3940,8 @@ public Builder addRecipes( return this; } /** + * + * *
        * A list of Recipes to install on the VM instance.
        * 
@@ -3354,11 +3949,12 @@ public Builder addRecipes( * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ public Builder addAllRecipes( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe> + values) { if (recipesBuilder_ == null) { ensureRecipesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, recipes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, recipes_); onChanged(); } else { recipesBuilder_.addAllMessages(values); @@ -3366,6 +3962,8 @@ public Builder addAllRecipes( return this; } /** + * + * *
        * A list of Recipes to install on the VM instance.
        * 
@@ -3383,6 +3981,8 @@ public Builder clearRecipes() { return this; } /** + * + * *
        * A list of Recipes to install on the VM instance.
        * 
@@ -3400,39 +4000,47 @@ public Builder removeRecipes(int index) { return this; } /** + * + * *
        * A list of Recipes to install on the VM instance.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder getRecipesBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder + getRecipesBuilder(int index) { return getRecipesFieldBuilder().getBuilder(index); } /** + * + * *
        * A list of Recipes to install on the VM instance.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder getRecipesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder + getRecipesOrBuilder(int index) { if (recipesBuilder_ == null) { - return recipes_.get(index); } else { + return recipes_.get(index); + } else { return recipesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A list of Recipes to install on the VM instance.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - public java.util.List - getRecipesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> + getRecipesOrBuilderList() { if (recipesBuilder_ != null) { return recipesBuilder_.getMessageOrBuilderList(); } else { @@ -3440,49 +4048,62 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder ge } } /** + * + * *
        * A list of Recipes to install on the VM instance.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder addRecipesBuilder() { - return getRecipesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder + addRecipesBuilder() { + return getRecipesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance()); } /** + * + * *
        * A list of Recipes to install on the VM instance.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder addRecipesBuilder( - int index) { - return getRecipesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder + addRecipesBuilder(int index) { + return getRecipesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance()); } /** + * + * *
        * A list of Recipes to install on the VM instance.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe recipes = 9; */ - public java.util.List - getRecipesBuilderList() { + public java.util.List + getRecipesBuilderList() { return getRecipesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> getRecipesFieldBuilder() { if (recipesBuilder_ == null) { - recipesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder>( - recipes_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + recipesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder>( + recipes_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); recipes_ = null; } return recipesBuilder_; @@ -3490,19 +4111,21 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder add private java.lang.Object etag_ = ""; /** + * + * *
        * The etag for this guest policy.
        * If this is provided on update, it must match the server's etag.
        * 
* * string etag = 10; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -3511,21 +4134,22 @@ public java.lang.String getEtag() { } } /** + * + * *
        * The etag for this guest policy.
        * If this is provided on update, it must match the server's etag.
        * 
* * string etag = 10; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -3533,61 +4157,69 @@ public java.lang.String getEtag() { } } /** + * + * *
        * The etag for this guest policy.
        * If this is provided on update, it must match the server's etag.
        * 
* * string etag = 10; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { + public Builder setEtag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** + * + * *
        * The etag for this guest policy.
        * If this is provided on update, it must match the server's etag.
        * 
* * string etag = 10; + * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** + * + * *
        * The etag for this guest policy.
        * If this is provided on update, it must match the server's etag.
        * 
* * string etag = 10; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { + public Builder setEtagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3600,12 +4232,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.GuestPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.GuestPolicy) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy(); } @@ -3614,16 +4247,16 @@ public static com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GuestPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GuestPolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GuestPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GuestPolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3638,14 +4271,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AssignmentOrBuilder extends + public interface AssignmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.Assignment) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -3654,9 +4289,11 @@ public interface AssignmentOrBuilder extends
      *
      * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
      */
-    java.util.List 
+    java.util.List
         getGroupLabelsList();
     /**
+     *
+     *
      * 
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -3667,6 +4304,8 @@ public interface AssignmentOrBuilder extends
      */
     com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getGroupLabels(int index);
     /**
+     *
+     *
      * 
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -3677,6 +4316,8 @@ public interface AssignmentOrBuilder extends
      */
     int getGroupLabelsCount();
     /**
+     *
+     *
      * 
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -3685,9 +4326,12 @@ public interface AssignmentOrBuilder extends
      *
      * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
      */
-    java.util.List 
+    java.util.List<
+            ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder>
         getGroupLabelsOrBuilderList();
     /**
+     *
+     *
      * 
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -3696,10 +4340,12 @@ public interface AssignmentOrBuilder extends
      *
      * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
      */
-    com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder getGroupLabelsOrBuilder(
-        int index);
+    com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder
+        getGroupLabelsOrBuilder(int index);
 
     /**
+     *
+     *
      * 
      * Targets instances in any of these zones. Leave empty to target instances
      * in any zone.
@@ -3708,11 +4354,13 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder ge
      * 
* * repeated string zones = 2; + * * @return A list containing the zones. */ - java.util.List - getZonesList(); + java.util.List getZonesList(); /** + * + * *
      * Targets instances in any of these zones. Leave empty to target instances
      * in any zone.
@@ -3721,10 +4369,13 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder ge
      * 
* * repeated string zones = 2; + * * @return The count of zones. */ int getZonesCount(); /** + * + * *
      * Targets instances in any of these zones. Leave empty to target instances
      * in any zone.
@@ -3733,11 +4384,14 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder ge
      * 
* * repeated string zones = 2; + * * @param index The index of the element to return. * @return The zones at the given index. */ java.lang.String getZones(int index); /** + * + * *
      * Targets instances in any of these zones. Leave empty to target instances
      * in any zone.
@@ -3746,13 +4400,15 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder ge
      * 
* * repeated string zones = 2; + * * @param index The index of the value to return. * @return The bytes of the zones at the given index. */ - com.google.protobuf.ByteString - getZonesBytes(int index); + com.google.protobuf.ByteString getZonesBytes(int index); /** + * + * *
      * Targets any of the instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -3764,11 +4420,13 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder ge
      * 
* * repeated string instances = 3; + * * @return A list containing the instances. */ - java.util.List - getInstancesList(); + java.util.List getInstancesList(); /** + * + * *
      * Targets any of the instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -3780,10 +4438,13 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder ge
      * 
* * repeated string instances = 3; + * * @return The count of instances. */ int getInstancesCount(); /** + * + * *
      * Targets any of the instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -3795,11 +4456,14 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder ge
      * 
* * repeated string instances = 3; + * * @param index The index of the element to return. * @return The instances at the given index. */ java.lang.String getInstances(int index); /** + * + * *
      * Targets any of the instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -3811,13 +4475,15 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder ge
      * 
* * repeated string instances = 3; + * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - com.google.protobuf.ByteString - getInstancesBytes(int index); + com.google.protobuf.ByteString getInstancesBytes(int index); /** + * + * *
      * Targets VM instances whose name starts with one of these prefixes.
      * Like labels, this is another way to group VM instances when targeting
@@ -3826,11 +4492,13 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder ge
      * 
* * repeated string instance_name_prefixes = 4; + * * @return A list containing the instanceNamePrefixes. */ - java.util.List - getInstanceNamePrefixesList(); + java.util.List getInstanceNamePrefixesList(); /** + * + * *
      * Targets VM instances whose name starts with one of these prefixes.
      * Like labels, this is another way to group VM instances when targeting
@@ -3839,10 +4507,13 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder ge
      * 
* * repeated string instance_name_prefixes = 4; + * * @return The count of instanceNamePrefixes. */ int getInstanceNamePrefixesCount(); /** + * + * *
      * Targets VM instances whose name starts with one of these prefixes.
      * Like labels, this is another way to group VM instances when targeting
@@ -3851,11 +4522,14 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder ge
      * 
* * repeated string instance_name_prefixes = 4; + * * @param index The index of the element to return. * @return The instanceNamePrefixes at the given index. */ java.lang.String getInstanceNamePrefixes(int index); /** + * + * *
      * Targets VM instances whose name starts with one of these prefixes.
      * Like labels, this is another way to group VM instances when targeting
@@ -3864,13 +4538,15 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder ge
      * 
* * repeated string instance_name_prefixes = 4; + * * @param index The index of the value to return. * @return The bytes of the instanceNamePrefixes at the given index. */ - com.google.protobuf.ByteString - getInstanceNamePrefixesBytes(int index); + com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index); /** + * + * *
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -3879,9 +4555,11 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder ge
      *
      * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
      */
-    java.util.List 
+    java.util.List
         getOsTypesList();
     /**
+     *
+     *
      * 
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -3892,6 +4570,8 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder ge
      */
     com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType getOsTypes(int index);
     /**
+     *
+     *
      * 
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -3902,6 +4582,8 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder ge
      */
     int getOsTypesCount();
     /**
+     *
+     *
      * 
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -3910,9 +4592,12 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder ge
      *
      * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
      */
-    java.util.List 
+    java.util.List<
+            ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder>
         getOsTypesOrBuilderList();
     /**
+     *
+     *
      * 
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -3925,6 +4610,8 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder getOsT
         int index);
   }
   /**
+   *
+   *
    * 
    * An assignment represents the group or groups of VM instances that the policy
    * applies to.
@@ -3936,15 +4623,16 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder getOsT
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.Assignment}
    */
-  public static final class Assignment extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Assignment extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.Assignment)
       AssignmentOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Assignment.newBuilder() to construct.
     private Assignment(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Assignment() {
       groupLabels_ = java.util.Collections.emptyList();
       zones_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -3955,16 +4643,15 @@ private Assignment() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Assignment();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private Assignment(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3984,58 +4671,72 @@ private Assignment(
             case 0:
               done = true;
               break;
-            case 10: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                groupLabels_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 10:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  groupLabels_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel>();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                groupLabels_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
+                            .parser(),
+                        extensionRegistry));
+                break;
               }
-              groupLabels_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.parser(), extensionRegistry));
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                zones_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  zones_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                zones_.add(s);
+                break;
               }
-              zones_.add(s);
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                instances_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000004;
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                  instances_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000004;
+                }
+                instances_.add(s);
+                break;
               }
-              instances_.add(s);
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-                instanceNamePrefixes_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000008;
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+                  instanceNamePrefixes_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000008;
+                }
+                instanceNamePrefixes_.add(s);
+                break;
               }
-              instanceNamePrefixes_.add(s);
-              break;
-            }
-            case 42: {
-              if (!((mutable_bitField0_ & 0x00000010) != 0)) {
-                osTypes_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000010;
+            case 42:
+              {
+                if (!((mutable_bitField0_ & 0x00000010) != 0)) {
+                  osTypes_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType>();
+                  mutable_bitField0_ |= 0x00000010;
+                }
+                osTypes_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.parser(),
+                        extensionRegistry));
+                break;
               }
-              osTypes_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.parser(), extensionRegistry));
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4043,8 +4744,7 @@ private Assignment(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           groupLabels_ = java.util.Collections.unmodifiableList(groupLabels_);
@@ -4065,24 +4765,30 @@ private Assignment(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.GuestPolicies
+          .internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.GuestPolicies
+          .internal_static_google_cloud_osconfig_v1beta_Assignment_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.class, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder.class);
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.class,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder.class);
     }
 
-    public interface GroupLabelOrBuilder extends
+    public interface GroupLabelOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.Assignment.GroupLabel)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Google Compute Engine instance labels that must be present for an
        * instance to be included in this assignment group.
@@ -4092,6 +4798,8 @@ public interface GroupLabelOrBuilder extends
        */
       int getLabelsCount();
       /**
+       *
+       *
        * 
        * Google Compute Engine instance labels that must be present for an
        * instance to be included in this assignment group.
@@ -4099,15 +4807,13 @@ public interface GroupLabelOrBuilder extends
        *
        * map<string, string> labels = 1;
        */
-      boolean containsLabels(
-          java.lang.String key);
-      /**
-       * Use {@link #getLabelsMap()} instead.
-       */
+      boolean containsLabels(java.lang.String key);
+      /** Use {@link #getLabelsMap()} instead. */
       @java.lang.Deprecated
-      java.util.Map
-      getLabels();
+      java.util.Map getLabels();
       /**
+       *
+       *
        * 
        * Google Compute Engine instance labels that must be present for an
        * instance to be included in this assignment group.
@@ -4115,9 +4821,10 @@ boolean containsLabels(
        *
        * map<string, string> labels = 1;
        */
-      java.util.Map
-      getLabelsMap();
+      java.util.Map getLabelsMap();
       /**
+       *
+       *
        * 
        * Google Compute Engine instance labels that must be present for an
        * instance to be included in this assignment group.
@@ -4127,11 +4834,13 @@ boolean containsLabels(
        */
 
       /* nullable */
-java.lang.String getLabelsOrDefault(
+      java.lang.String getLabelsOrDefault(
           java.lang.String key,
           /* nullable */
-java.lang.String defaultValue);
+          java.lang.String defaultValue);
       /**
+       *
+       *
        * 
        * Google Compute Engine instance labels that must be present for an
        * instance to be included in this assignment group.
@@ -4139,11 +4848,11 @@ java.lang.String getLabelsOrDefault(
        *
        * map<string, string> labels = 1;
        */
-
-      java.lang.String getLabelsOrThrow(
-          java.lang.String key);
+      java.lang.String getLabelsOrThrow(java.lang.String key);
     }
     /**
+     *
+     *
      * 
      * Represents a group of VM intances that can be identified as having all
      * these labels, for example "env=prod and app=web".
@@ -4151,30 +4860,29 @@ java.lang.String getLabelsOrThrow(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.Assignment.GroupLabel}
      */
-    public static final class GroupLabel extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class GroupLabel extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.Assignment.GroupLabel)
         GroupLabelOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use GroupLabel.newBuilder() to construct.
       private GroupLabel(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private GroupLabel() {
-      }
+
+      private GroupLabel() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new GroupLabel();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private GroupLabel(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4194,26 +4902,28 @@ private GroupLabel(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  labels_ = com.google.protobuf.MapField.newMapField(
-                      LabelsDefaultEntryHolder.defaultEntry);
-                  mutable_bitField0_ |= 0x00000001;
+              case 10:
+                {
+                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                    labels_ =
+                        com.google.protobuf.MapField.newMapField(
+                            LabelsDefaultEntryHolder.defaultEntry);
+                    mutable_bitField0_ |= 0x00000001;
+                  }
+                  com.google.protobuf.MapEntry labels__ =
+                      input.readMessage(
+                          LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                          extensionRegistry);
+                  labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
+                  break;
                 }
-                com.google.protobuf.MapEntry
-                labels__ = input.readMessage(
-                    LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-                labels_.getMutableMap().put(
-                    labels__.getKey(), labels__.getValue());
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4221,57 +4931,58 @@ private GroupLabel(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor;
       }
 
       @SuppressWarnings({"rawtypes"})
       @java.lang.Override
-      protected com.google.protobuf.MapField internalGetMapField(
-          int number) {
+      protected com.google.protobuf.MapField internalGetMapField(int number) {
         switch (number) {
           case 1:
             return internalGetLabels();
           default:
-            throw new RuntimeException(
-                "Invalid map field number: " + number);
+            throw new RuntimeException("Invalid map field number: " + number);
         }
       }
+
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.class, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.class,
+                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder.class);
       }
 
       public static final int LABELS_FIELD_NUMBER = 1;
+
       private static final class LabelsDefaultEntryHolder {
-        static final com.google.protobuf.MapEntry<
-            java.lang.String, java.lang.String> defaultEntry =
-                com.google.protobuf.MapEntry
-                .newDefaultInstance(
-                    com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_descriptor, 
-                    com.google.protobuf.WireFormat.FieldType.STRING,
-                    "",
-                    com.google.protobuf.WireFormat.FieldType.STRING,
-                    "");
-      }
-      private com.google.protobuf.MapField<
-          java.lang.String, java.lang.String> labels_;
-      private com.google.protobuf.MapField
-      internalGetLabels() {
+        static final com.google.protobuf.MapEntry defaultEntry =
+            com.google.protobuf.MapEntry.newDefaultInstance(
+                com.google.cloud.osconfig.v1beta.GuestPolicies
+                    .internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_descriptor,
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
+      }
+
+      private com.google.protobuf.MapField labels_;
+
+      private com.google.protobuf.MapField internalGetLabels() {
         if (labels_ == null) {
-          return com.google.protobuf.MapField.emptyMapField(
-              LabelsDefaultEntryHolder.defaultEntry);
+          return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
         }
         return labels_;
       }
@@ -4280,6 +4991,8 @@ public int getLabelsCount() {
         return internalGetLabels().getMap().size();
       }
       /**
+       *
+       *
        * 
        * Google Compute Engine instance labels that must be present for an
        * instance to be included in this assignment group.
@@ -4287,22 +5000,22 @@ public int getLabelsCount() {
        *
        * map<string, string> labels = 1;
        */
-
       @java.lang.Override
-      public boolean containsLabels(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public boolean containsLabels(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         return internalGetLabels().getMap().containsKey(key);
       }
-      /**
-       * Use {@link #getLabelsMap()} instead.
-       */
+      /** Use {@link #getLabelsMap()} instead. */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getLabels() {
         return getLabelsMap();
       }
       /**
+       *
+       *
        * 
        * Google Compute Engine instance labels that must be present for an
        * instance to be included in this assignment group.
@@ -4311,11 +5024,12 @@ public java.util.Map getLabels() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-
       public java.util.Map getLabelsMap() {
         return internalGetLabels().getMap();
       }
       /**
+       *
+       *
        * 
        * Google Compute Engine instance labels that must be present for an
        * instance to be included in this assignment group.
@@ -4324,16 +5038,17 @@ public java.util.Map getLabelsMap() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-
       public java.lang.String getLabelsOrDefault(
-          java.lang.String key,
-          java.lang.String defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetLabels().getMap();
+          java.lang.String key, java.lang.String defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetLabels().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * Google Compute Engine instance labels that must be present for an
        * instance to be included in this assignment group.
@@ -4342,12 +5057,11 @@ public java.lang.String getLabelsOrDefault(
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-
-      public java.lang.String getLabelsOrThrow(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetLabels().getMap();
+      public java.lang.String getLabelsOrThrow(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetLabels().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
@@ -4355,6 +5069,7 @@ public java.lang.String getLabelsOrThrow(
       }
 
       private byte memoizedIsInitialized = -1;
+
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -4366,14 +5081,9 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public void writeTo(com.google.protobuf.CodedOutputStream output)
-                          throws java.io.IOException {
-        com.google.protobuf.GeneratedMessageV3
-          .serializeStringMapTo(
-            output,
-            internalGetLabels(),
-            LabelsDefaultEntryHolder.defaultEntry,
-            1);
+      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+        com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+            output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 1);
         unknownFields.writeTo(output);
       }
 
@@ -4383,15 +5093,15 @@ public int getSerializedSize() {
         if (size != -1) return size;
 
         size = 0;
-        for (java.util.Map.Entry entry
-             : internalGetLabels().getMap().entrySet()) {
-          com.google.protobuf.MapEntry
-          labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-          size += com.google.protobuf.CodedOutputStream
-              .computeMessageSize(1, labels__);
+        for (java.util.Map.Entry entry :
+            internalGetLabels().getMap().entrySet()) {
+          com.google.protobuf.MapEntry labels__ =
+              LabelsDefaultEntryHolder.defaultEntry
+                  .newBuilderForType()
+                  .setKey(entry.getKey())
+                  .setValue(entry.getValue())
+                  .build();
+          size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, labels__);
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -4401,15 +5111,16 @@ public int getSerializedSize() {
       @java.lang.Override
       public boolean equals(final java.lang.Object obj) {
         if (obj == this) {
-         return true;
+          return true;
         }
-        if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel)) {
+        if (!(obj
+            instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel)) {
           return super.equals(obj);
         }
-        com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel other = (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel) obj;
+        com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel other =
+            (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel) obj;
 
-        if (!internalGetLabels().equals(
-            other.internalGetLabels())) return false;
+        if (!internalGetLabels().equals(other.internalGetLabels())) return false;
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
       }
@@ -4431,87 +5142,96 @@ public int hashCode() {
       }
 
       public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(
-          java.nio.ByteBuffer data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+          java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
+
       public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(
-          java.nio.ByteBuffer data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
+
       public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
+
       public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel 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.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(byte[] data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(
+          byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
+
       public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(
-          byte[] data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-      public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+
+      public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(
+          java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
+
       public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(
-          java.io.InputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+            PARSER, input, extensionRegistry);
       }
-      public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseDelimitedFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseDelimitedWithIOException(PARSER, input);
+
+      public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
+          parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
       }
-      public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel 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.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
+          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.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(
-          com.google.protobuf.CodedInputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+          com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
+
       public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+            PARSER, input, extensionRegistry);
       }
 
       @java.lang.Override
-      public Builder newBuilderForType() { return newBuilder(); }
+      public Builder newBuilderForType() {
+        return newBuilder();
+      }
+
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
-      public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel prototype) {
+
+      public static Builder newBuilder(
+          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
+
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE
-            ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -4521,6 +5241,8 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
+       *
+       *
        * 
        * Represents a group of VM intances that can be identified as having all
        * these labels, for example "env=prod and app=web".
@@ -4528,60 +5250,62 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1beta.Assignment.GroupLabel}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.Assignment.GroupLabel)
           com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1beta.GuestPolicies
+              .internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor;
         }
 
         @SuppressWarnings({"rawtypes"})
-        protected com.google.protobuf.MapField internalGetMapField(
-            int number) {
+        protected com.google.protobuf.MapField internalGetMapField(int number) {
           switch (number) {
             case 1:
               return internalGetLabels();
             default:
-              throw new RuntimeException(
-                  "Invalid map field number: " + number);
+              throw new RuntimeException("Invalid map field number: " + number);
           }
         }
+
         @SuppressWarnings({"rawtypes"})
-        protected com.google.protobuf.MapField internalGetMutableMapField(
-            int number) {
+        protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
           switch (number) {
             case 1:
               return internalGetMutableLabels();
             default:
-              throw new RuntimeException(
-                  "Invalid map field number: " + number);
+              throw new RuntimeException("Invalid map field number: " + number);
           }
         }
+
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_fieldAccessorTable
+          return com.google.cloud.osconfig.v1beta.GuestPolicies
+              .internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.class, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder.class);
+                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.class,
+                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder
+                      .class);
         }
 
-        // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.newBuilder()
+        // Construct using
+        // com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
-          }
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -4590,19 +5314,22 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.cloud.osconfig.v1beta.GuestPolicies
+              .internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getDefaultInstanceForType() {
-          return com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.getDefaultInstance();
+        public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
+            getDefaultInstanceForType() {
+          return com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
+              .getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel build() {
-          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel result = buildPartial();
+          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel result =
+              buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -4611,7 +5338,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel buil
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel buildPartial() {
-          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel result = new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel(this);
+          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel result =
+              new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel(this);
           int from_bitField0_ = bitField0_;
           result.labels_ = internalGetLabels();
           result.labels_.makeImmutable();
@@ -4623,48 +5351,55 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel buil
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel) {
-            return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel)other);
+          if (other
+              instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel) {
+            return mergeFrom(
+                (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel other) {
-          if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.getDefaultInstance()) return this;
-          internalGetMutableLabels().mergeFrom(
-              other.internalGetLabels());
+        public Builder mergeFrom(
+            com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel other) {
+          if (other
+              == com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
+                  .getDefaultInstance()) return this;
+          internalGetMutableLabels().mergeFrom(other.internalGetLabels());
           this.mergeUnknownFields(other.unknownFields);
           onChanged();
           return this;
@@ -4684,7 +5419,9 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel)
+                    e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -4693,24 +5430,27 @@ public Builder mergeFrom(
           }
           return this;
         }
+
         private int bitField0_;
 
-        private com.google.protobuf.MapField<
-            java.lang.String, java.lang.String> labels_;
+        private com.google.protobuf.MapField labels_;
+
         private com.google.protobuf.MapField
-        internalGetLabels() {
+            internalGetLabels() {
           if (labels_ == null) {
             return com.google.protobuf.MapField.emptyMapField(
                 LabelsDefaultEntryHolder.defaultEntry);
           }
           return labels_;
         }
+
         private com.google.protobuf.MapField
-        internalGetMutableLabels() {
-          onChanged();;
+            internalGetMutableLabels() {
+          onChanged();
+          ;
           if (labels_ == null) {
-            labels_ = com.google.protobuf.MapField.newMapField(
-                LabelsDefaultEntryHolder.defaultEntry);
+            labels_ =
+                com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
           }
           if (!labels_.isMutable()) {
             labels_ = labels_.copy();
@@ -4722,6 +5462,8 @@ public int getLabelsCount() {
           return internalGetLabels().getMap().size();
         }
         /**
+         *
+         *
          * 
          * Google Compute Engine instance labels that must be present for an
          * instance to be included in this assignment group.
@@ -4729,22 +5471,22 @@ public int getLabelsCount() {
          *
          * map<string, string> labels = 1;
          */
-
         @java.lang.Override
-        public boolean containsLabels(
-            java.lang.String key) {
-          if (key == null) { throw new NullPointerException("map key"); }
+        public boolean containsLabels(java.lang.String key) {
+          if (key == null) {
+            throw new NullPointerException("map key");
+          }
           return internalGetLabels().getMap().containsKey(key);
         }
-        /**
-         * Use {@link #getLabelsMap()} instead.
-         */
+        /** Use {@link #getLabelsMap()} instead. */
         @java.lang.Override
         @java.lang.Deprecated
         public java.util.Map getLabels() {
           return getLabelsMap();
         }
         /**
+         *
+         *
          * 
          * Google Compute Engine instance labels that must be present for an
          * instance to be included in this assignment group.
@@ -4753,11 +5495,12 @@ public java.util.Map getLabels() {
          * map<string, string> labels = 1;
          */
         @java.lang.Override
-
         public java.util.Map getLabelsMap() {
           return internalGetLabels().getMap();
         }
         /**
+         *
+         *
          * 
          * Google Compute Engine instance labels that must be present for an
          * instance to be included in this assignment group.
@@ -4766,16 +5509,17 @@ public java.util.Map getLabelsMap() {
          * map<string, string> labels = 1;
          */
         @java.lang.Override
-
         public java.lang.String getLabelsOrDefault(
-            java.lang.String key,
-            java.lang.String defaultValue) {
-          if (key == null) { throw new NullPointerException("map key"); }
-          java.util.Map map =
-              internalGetLabels().getMap();
+            java.lang.String key, java.lang.String defaultValue) {
+          if (key == null) {
+            throw new NullPointerException("map key");
+          }
+          java.util.Map map = internalGetLabels().getMap();
           return map.containsKey(key) ? map.get(key) : defaultValue;
         }
         /**
+         *
+         *
          * 
          * Google Compute Engine instance labels that must be present for an
          * instance to be included in this assignment group.
@@ -4784,12 +5528,11 @@ public java.lang.String getLabelsOrDefault(
          * map<string, string> labels = 1;
          */
         @java.lang.Override
-
-        public java.lang.String getLabelsOrThrow(
-            java.lang.String key) {
-          if (key == null) { throw new NullPointerException("map key"); }
-          java.util.Map map =
-              internalGetLabels().getMap();
+        public java.lang.String getLabelsOrThrow(java.lang.String key) {
+          if (key == null) {
+            throw new NullPointerException("map key");
+          }
+          java.util.Map map = internalGetLabels().getMap();
           if (!map.containsKey(key)) {
             throw new java.lang.IllegalArgumentException();
           }
@@ -4797,11 +5540,12 @@ public java.lang.String getLabelsOrThrow(
         }
 
         public Builder clearLabels() {
-          internalGetMutableLabels().getMutableMap()
-              .clear();
+          internalGetMutableLabels().getMutableMap().clear();
           return this;
         }
         /**
+         *
+         *
          * 
          * Google Compute Engine instance labels that must be present for an
          * instance to be included in this assignment group.
@@ -4809,23 +5553,21 @@ public Builder clearLabels() {
          *
          * map<string, string> labels = 1;
          */
-
-        public Builder removeLabels(
-            java.lang.String key) {
-          if (key == null) { throw new NullPointerException("map key"); }
-          internalGetMutableLabels().getMutableMap()
-              .remove(key);
+        public Builder removeLabels(java.lang.String key) {
+          if (key == null) {
+            throw new NullPointerException("map key");
+          }
+          internalGetMutableLabels().getMutableMap().remove(key);
           return this;
         }
-        /**
-         * Use alternate mutation accessors instead.
-         */
+        /** Use alternate mutation accessors instead. */
         @java.lang.Deprecated
-        public java.util.Map
-        getMutableLabels() {
+        public java.util.Map getMutableLabels() {
           return internalGetMutableLabels().getMutableMap();
         }
         /**
+         *
+         *
          * 
          * Google Compute Engine instance labels that must be present for an
          * instance to be included in this assignment group.
@@ -4833,19 +5575,20 @@ public Builder removeLabels(
          *
          * map<string, string> labels = 1;
          */
-        public Builder putLabels(
-            java.lang.String key,
-            java.lang.String value) {
-          if (key == null) { throw new NullPointerException("map key"); }
+        public Builder putLabels(java.lang.String key, java.lang.String value) {
+          if (key == null) {
+            throw new NullPointerException("map key");
+          }
           if (value == null) {
-  throw new NullPointerException("map value");
-}
+            throw new NullPointerException("map value");
+          }
 
-          internalGetMutableLabels().getMutableMap()
-              .put(key, value);
+          internalGetMutableLabels().getMutableMap().put(key, value);
           return this;
         }
         /**
+         *
+         *
          * 
          * Google Compute Engine instance labels that must be present for an
          * instance to be included in this assignment group.
@@ -4853,13 +5596,11 @@ public Builder putLabels(
          *
          * map<string, string> labels = 1;
          */
-
-        public Builder putAllLabels(
-            java.util.Map values) {
-          internalGetMutableLabels().getMutableMap()
-              .putAll(values);
+        public Builder putAllLabels(java.util.Map values) {
+          internalGetMutableLabels().getMutableMap().putAll(values);
           return this;
         }
+
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -4872,30 +5613,33 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
-
         // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.Assignment.GroupLabel)
       }
 
       // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.Assignment.GroupLabel)
-      private static final com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel DEFAULT_INSTANCE;
+      private static final com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
+          DEFAULT_INSTANCE;
+
       static {
-        DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel();
+        DEFAULT_INSTANCE =
+            new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel();
       }
 
-      public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getDefaultInstance() {
+      public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
+          getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser
-          PARSER = new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public GroupLabel parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new GroupLabel(input, extensionRegistry);
-        }
-      };
+      private static final com.google.protobuf.Parser PARSER =
+          new com.google.protobuf.AbstractParser() {
+            @java.lang.Override
+            public GroupLabel parsePartialFrom(
+                com.google.protobuf.CodedInputStream input,
+                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return new GroupLabel(input, extensionRegistry);
+            }
+          };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -4907,98 +5651,117 @@ public com.google.protobuf.Parser getParserForType() {
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
+          getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
-
     }
 
-    public interface OsTypeOrBuilder extends
+    public interface OsTypeOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.Assignment.OsType)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Targets VM instances with OS Inventory enabled and having the following
        * OS short name, for example "debian" or "windows".
        * 
* * string os_short_name = 1; + * * @return The osShortName. */ java.lang.String getOsShortName(); /** + * + * *
        * Targets VM instances with OS Inventory enabled and having the following
        * OS short name, for example "debian" or "windows".
        * 
* * string os_short_name = 1; + * * @return The bytes for osShortName. */ - com.google.protobuf.ByteString - getOsShortNameBytes(); + com.google.protobuf.ByteString getOsShortNameBytes(); /** + * + * *
        * Targets VM instances with OS Inventory enabled and having the following
        * following OS version.
        * 
* * string os_version = 2; + * * @return The osVersion. */ java.lang.String getOsVersion(); /** + * + * *
        * Targets VM instances with OS Inventory enabled and having the following
        * following OS version.
        * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ - com.google.protobuf.ByteString - getOsVersionBytes(); + com.google.protobuf.ByteString getOsVersionBytes(); /** + * + * *
        * Targets VM instances with OS Inventory enabled and having the following
        * OS architecture.
        * 
* * string os_architecture = 3; + * * @return The osArchitecture. */ java.lang.String getOsArchitecture(); /** + * + * *
        * Targets VM instances with OS Inventory enabled and having the following
        * OS architecture.
        * 
* * string os_architecture = 3; + * * @return The bytes for osArchitecture. */ - com.google.protobuf.ByteString - getOsArchitectureBytes(); + com.google.protobuf.ByteString getOsArchitectureBytes(); } /** + * + * *
      * Defines the criteria for selecting VM Instances by OS type.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.Assignment.OsType} */ - public static final class OsType extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class OsType extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.Assignment.OsType) OsTypeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OsType.newBuilder() to construct. private OsType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OsType() { osShortName_ = ""; osVersion_ = ""; @@ -5007,16 +5770,15 @@ private OsType() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OsType(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OsType( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5035,31 +5797,34 @@ private OsType( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - osShortName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + osShortName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - osVersion_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + osVersion_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - osArchitecture_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + osArchitecture_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5067,35 +5832,41 @@ private OsType( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.class, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder.class); } public static final int OS_SHORT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object osShortName_; /** + * + * *
        * Targets VM instances with OS Inventory enabled and having the following
        * OS short name, for example "debian" or "windows".
        * 
* * string os_short_name = 1; + * * @return The osShortName. */ @java.lang.Override @@ -5104,30 +5875,30 @@ public java.lang.String getOsShortName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; } } /** + * + * *
        * Targets VM instances with OS Inventory enabled and having the following
        * OS short name, for example "debian" or "windows".
        * 
* * string os_short_name = 1; + * * @return The bytes for osShortName. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsShortNameBytes() { + public com.google.protobuf.ByteString getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osShortName_ = b; return b; } else { @@ -5138,12 +5909,15 @@ public java.lang.String getOsShortName() { public static final int OS_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object osVersion_; /** + * + * *
        * Targets VM instances with OS Inventory enabled and having the following
        * following OS version.
        * 
* * string os_version = 2; + * * @return The osVersion. */ @java.lang.Override @@ -5152,30 +5926,30 @@ public java.lang.String getOsVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; } } /** + * + * *
        * Targets VM instances with OS Inventory enabled and having the following
        * following OS version.
        * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsVersionBytes() { + public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osVersion_ = b; return b; } else { @@ -5186,12 +5960,15 @@ public java.lang.String getOsVersion() { public static final int OS_ARCHITECTURE_FIELD_NUMBER = 3; private volatile java.lang.Object osArchitecture_; /** + * + * *
        * Targets VM instances with OS Inventory enabled and having the following
        * OS architecture.
        * 
* * string os_architecture = 3; + * * @return The osArchitecture. */ @java.lang.Override @@ -5200,30 +5977,30 @@ public java.lang.String getOsArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osArchitecture_ = s; return s; } } /** + * + * *
        * Targets VM instances with OS Inventory enabled and having the following
        * OS architecture.
        * 
* * string os_architecture = 3; + * * @return The bytes for osArchitecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsArchitectureBytes() { + public com.google.protobuf.ByteString getOsArchitectureBytes() { java.lang.Object ref = osArchitecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osArchitecture_ = b; return b; } else { @@ -5232,6 +6009,7 @@ public java.lang.String getOsArchitecture() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5243,8 +6021,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osShortName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, osShortName_); } @@ -5280,19 +6057,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType other = (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType) obj; - if (!getOsShortName() - .equals(other.getOsShortName())) return false; - if (!getOsVersion() - .equals(other.getOsVersion())) return false; - if (!getOsArchitecture() - .equals(other.getOsArchitecture())) return false; + if (!getOsShortName().equals(other.getOsShortName())) return false; + if (!getOsVersion().equals(other.getOsVersion())) return false; + if (!getOsArchitecture().equals(other.getOsArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5316,87 +6091,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType 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.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType 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.osconfig.v1beta.GuestPolicies.Assignment.OsType + 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.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5406,44 +6190,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Defines the criteria for selecting VM Instances by OS type.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.Assignment.OsType} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.Assignment.OsType) com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.class, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -5457,14 +6246,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType + .getDefaultInstance(); } @java.lang.Override @@ -5478,7 +6269,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType build() @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType result = new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType(this); + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType(this); result.osShortName_ = osShortName_; result.osVersion_ = osVersion_; result.osArchitecture_ = osArchitecture_; @@ -5490,46 +6282,53 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.Assignment.OsType) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType)other); + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType + .getDefaultInstance()) return this; if (!other.getOsShortName().isEmpty()) { osShortName_ = other.osShortName_; onChanged(); @@ -5561,7 +6360,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5573,19 +6374,21 @@ public Builder mergeFrom( private java.lang.Object osShortName_ = ""; /** + * + * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS short name, for example "debian" or "windows".
          * 
* * string os_short_name = 1; + * * @return The osShortName. */ public java.lang.String getOsShortName() { java.lang.Object ref = osShortName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; @@ -5594,21 +6397,22 @@ public java.lang.String getOsShortName() { } } /** + * + * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS short name, for example "debian" or "windows".
          * 
* * string os_short_name = 1; + * * @return The bytes for osShortName. */ - public com.google.protobuf.ByteString - getOsShortNameBytes() { + public com.google.protobuf.ByteString getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osShortName_ = b; return b; } else { @@ -5616,57 +6420,64 @@ public java.lang.String getOsShortName() { } } /** + * + * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS short name, for example "debian" or "windows".
          * 
* * string os_short_name = 1; + * * @param value The osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortName( - java.lang.String value) { + public Builder setOsShortName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osShortName_ = value; onChanged(); return this; } /** + * + * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS short name, for example "debian" or "windows".
          * 
* * string os_short_name = 1; + * * @return This builder for chaining. */ public Builder clearOsShortName() { - + osShortName_ = getDefaultInstance().getOsShortName(); onChanged(); return this; } /** + * + * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS short name, for example "debian" or "windows".
          * 
* * string os_short_name = 1; + * * @param value The bytes for osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortNameBytes( - com.google.protobuf.ByteString value) { + public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osShortName_ = value; onChanged(); return this; @@ -5674,19 +6485,21 @@ public Builder setOsShortNameBytes( private java.lang.Object osVersion_ = ""; /** + * + * *
          * Targets VM instances with OS Inventory enabled and having the following
          * following OS version.
          * 
* * string os_version = 2; + * * @return The osVersion. */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; @@ -5695,21 +6508,22 @@ public java.lang.String getOsVersion() { } } /** + * + * *
          * Targets VM instances with OS Inventory enabled and having the following
          * following OS version.
          * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ - public com.google.protobuf.ByteString - getOsVersionBytes() { + public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osVersion_ = b; return b; } else { @@ -5717,57 +6531,64 @@ public java.lang.String getOsVersion() { } } /** + * + * *
          * Targets VM instances with OS Inventory enabled and having the following
          * following OS version.
          * 
* * string os_version = 2; + * * @param value The osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersion( - java.lang.String value) { + public Builder setOsVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osVersion_ = value; onChanged(); return this; } /** + * + * *
          * Targets VM instances with OS Inventory enabled and having the following
          * following OS version.
          * 
* * string os_version = 2; + * * @return This builder for chaining. */ public Builder clearOsVersion() { - + osVersion_ = getDefaultInstance().getOsVersion(); onChanged(); return this; } /** + * + * *
          * Targets VM instances with OS Inventory enabled and having the following
          * following OS version.
          * 
* * string os_version = 2; + * * @param value The bytes for osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setOsVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osVersion_ = value; onChanged(); return this; @@ -5775,19 +6596,21 @@ public Builder setOsVersionBytes( private java.lang.Object osArchitecture_ = ""; /** + * + * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS architecture.
          * 
* * string os_architecture = 3; + * * @return The osArchitecture. */ public java.lang.String getOsArchitecture() { java.lang.Object ref = osArchitecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osArchitecture_ = s; return s; @@ -5796,21 +6619,22 @@ public java.lang.String getOsArchitecture() { } } /** + * + * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS architecture.
          * 
* * string os_architecture = 3; + * * @return The bytes for osArchitecture. */ - public com.google.protobuf.ByteString - getOsArchitectureBytes() { + public com.google.protobuf.ByteString getOsArchitectureBytes() { java.lang.Object ref = osArchitecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osArchitecture_ = b; return b; } else { @@ -5818,61 +6642,69 @@ public java.lang.String getOsArchitecture() { } } /** + * + * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS architecture.
          * 
* * string os_architecture = 3; + * * @param value The osArchitecture to set. * @return This builder for chaining. */ - public Builder setOsArchitecture( - java.lang.String value) { + public Builder setOsArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osArchitecture_ = value; onChanged(); return this; } /** + * + * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS architecture.
          * 
* * string os_architecture = 3; + * * @return This builder for chaining. */ public Builder clearOsArchitecture() { - + osArchitecture_ = getDefaultInstance().getOsArchitecture(); onChanged(); return this; } /** + * + * *
          * Targets VM instances with OS Inventory enabled and having the following
          * OS architecture.
          * 
* * string os_architecture = 3; + * * @param value The bytes for osArchitecture to set. * @return This builder for chaining. */ - public Builder setOsArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setOsArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osArchitecture_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5885,30 +6717,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.Assignment.OsType) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.Assignment.OsType) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OsType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OsType(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OsType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OsType(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5920,15 +6754,18 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int GROUP_LABELS_FIELD_NUMBER = 1; - private java.util.List groupLabels_; + private java.util.List + groupLabels_; /** + * + * *
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -5938,10 +6775,13 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType getDefau
      * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
      */
     @java.lang.Override
-    public java.util.List getGroupLabelsList() {
+    public java.util.List
+        getGroupLabelsList() {
       return groupLabels_;
     }
     /**
+     *
+     *
      * 
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -5951,11 +6791,14 @@ public java.util.Listrepeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder>
         getGroupLabelsOrBuilderList() {
       return groupLabels_;
     }
     /**
+     *
+     *
      * 
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -5969,6 +6812,8 @@ public int getGroupLabelsCount() {
       return groupLabels_.size();
     }
     /**
+     *
+     *
      * 
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -5978,10 +6823,13 @@ public int getGroupLabelsCount() {
      * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getGroupLabels(int index) {
+    public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getGroupLabels(
+        int index) {
       return groupLabels_.get(index);
     }
     /**
+     *
+     *
      * 
      * Targets instances matching at least one of these label sets. This allows
      * an assignment to target disparate groups, for example "env=prod or
@@ -5991,14 +6839,16 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getG
      * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder getGroupLabelsOrBuilder(
-        int index) {
+    public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder
+        getGroupLabelsOrBuilder(int index) {
       return groupLabels_.get(index);
     }
 
     public static final int ZONES_FIELD_NUMBER = 2;
     private com.google.protobuf.LazyStringList zones_;
     /**
+     *
+     *
      * 
      * Targets instances in any of these zones. Leave empty to target instances
      * in any zone.
@@ -6007,13 +6857,15 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBui
      * 
* * repeated string zones = 2; + * * @return A list containing the zones. */ - public com.google.protobuf.ProtocolStringList - getZonesList() { + public com.google.protobuf.ProtocolStringList getZonesList() { return zones_; } /** + * + * *
      * Targets instances in any of these zones. Leave empty to target instances
      * in any zone.
@@ -6022,12 +6874,15 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBui
      * 
* * repeated string zones = 2; + * * @return The count of zones. */ public int getZonesCount() { return zones_.size(); } /** + * + * *
      * Targets instances in any of these zones. Leave empty to target instances
      * in any zone.
@@ -6036,6 +6891,7 @@ public int getZonesCount() {
      * 
* * repeated string zones = 2; + * * @param index The index of the element to return. * @return The zones at the given index. */ @@ -6043,6 +6899,8 @@ public java.lang.String getZones(int index) { return zones_.get(index); } /** + * + * *
      * Targets instances in any of these zones. Leave empty to target instances
      * in any zone.
@@ -6051,17 +6909,19 @@ public java.lang.String getZones(int index) {
      * 
* * repeated string zones = 2; + * * @param index The index of the value to return. * @return The bytes of the zones at the given index. */ - public com.google.protobuf.ByteString - getZonesBytes(int index) { + public com.google.protobuf.ByteString getZonesBytes(int index) { return zones_.getByteString(index); } public static final int INSTANCES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList instances_; /** + * + * *
      * Targets any of the instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -6073,13 +6933,15 @@ public java.lang.String getZones(int index) {
      * 
* * repeated string instances = 3; + * * @return A list containing the instances. */ - public com.google.protobuf.ProtocolStringList - getInstancesList() { + public com.google.protobuf.ProtocolStringList getInstancesList() { return instances_; } /** + * + * *
      * Targets any of the instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -6091,12 +6953,15 @@ public java.lang.String getZones(int index) {
      * 
* * repeated string instances = 3; + * * @return The count of instances. */ public int getInstancesCount() { return instances_.size(); } /** + * + * *
      * Targets any of the instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -6108,6 +6973,7 @@ public int getInstancesCount() {
      * 
* * repeated string instances = 3; + * * @param index The index of the element to return. * @return The instances at the given index. */ @@ -6115,6 +6981,8 @@ public java.lang.String getInstances(int index) { return instances_.get(index); } /** + * + * *
      * Targets any of the instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -6126,17 +6994,19 @@ public java.lang.String getInstances(int index) {
      * 
* * repeated string instances = 3; + * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - public com.google.protobuf.ByteString - getInstancesBytes(int index) { + public com.google.protobuf.ByteString getInstancesBytes(int index) { return instances_.getByteString(index); } public static final int INSTANCE_NAME_PREFIXES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList instanceNamePrefixes_; /** + * + * *
      * Targets VM instances whose name starts with one of these prefixes.
      * Like labels, this is another way to group VM instances when targeting
@@ -6145,13 +7015,15 @@ public java.lang.String getInstances(int index) {
      * 
* * repeated string instance_name_prefixes = 4; + * * @return A list containing the instanceNamePrefixes. */ - public com.google.protobuf.ProtocolStringList - getInstanceNamePrefixesList() { + public com.google.protobuf.ProtocolStringList getInstanceNamePrefixesList() { return instanceNamePrefixes_; } /** + * + * *
      * Targets VM instances whose name starts with one of these prefixes.
      * Like labels, this is another way to group VM instances when targeting
@@ -6160,12 +7032,15 @@ public java.lang.String getInstances(int index) {
      * 
* * repeated string instance_name_prefixes = 4; + * * @return The count of instanceNamePrefixes. */ public int getInstanceNamePrefixesCount() { return instanceNamePrefixes_.size(); } /** + * + * *
      * Targets VM instances whose name starts with one of these prefixes.
      * Like labels, this is another way to group VM instances when targeting
@@ -6174,6 +7049,7 @@ public int getInstanceNamePrefixesCount() {
      * 
* * repeated string instance_name_prefixes = 4; + * * @param index The index of the element to return. * @return The instanceNamePrefixes at the given index. */ @@ -6181,6 +7057,8 @@ public java.lang.String getInstanceNamePrefixes(int index) { return instanceNamePrefixes_.get(index); } /** + * + * *
      * Targets VM instances whose name starts with one of these prefixes.
      * Like labels, this is another way to group VM instances when targeting
@@ -6189,17 +7067,20 @@ public java.lang.String getInstanceNamePrefixes(int index) {
      * 
* * repeated string instance_name_prefixes = 4; + * * @param index The index of the value to return. * @return The bytes of the instanceNamePrefixes at the given index. */ - public com.google.protobuf.ByteString - getInstanceNamePrefixesBytes(int index) { + public com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index) { return instanceNamePrefixes_.getByteString(index); } public static final int OS_TYPES_FIELD_NUMBER = 5; - private java.util.List osTypes_; + private java.util.List + osTypes_; /** + * + * *
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -6209,10 +7090,13 @@ public java.lang.String getInstanceNamePrefixes(int index) {
      * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
      */
     @java.lang.Override
-    public java.util.List getOsTypesList() {
+    public java.util.List
+        getOsTypesList() {
       return osTypes_;
     }
     /**
+     *
+     *
      * 
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -6222,11 +7106,14 @@ public java.util.Listrepeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder>
         getOsTypesOrBuilderList() {
       return osTypes_;
     }
     /**
+     *
+     *
      * 
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -6240,6 +7127,8 @@ public int getOsTypesCount() {
       return osTypes_.size();
     }
     /**
+     *
+     *
      * 
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -6253,6 +7142,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType getOsTyp
       return osTypes_.get(index);
     }
     /**
+     *
+     *
      * 
      * Targets VM instances matching at least one of the following OS types.
      * VM instances must match all supplied criteria for a given OsType to be
@@ -6262,12 +7153,13 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType getOsTyp
      * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder getOsTypesOrBuilder(
-        int index) {
+    public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder
+        getOsTypesOrBuilder(int index) {
       return osTypes_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -6279,8 +7171,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       for (int i = 0; i < groupLabels_.size(); i++) {
         output.writeMessage(1, groupLabels_.get(i));
       }
@@ -6291,7 +7182,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
         com.google.protobuf.GeneratedMessageV3.writeString(output, 3, instances_.getRaw(i));
       }
       for (int i = 0; i < instanceNamePrefixes_.size(); i++) {
-        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, instanceNamePrefixes_.getRaw(i));
+        com.google.protobuf.GeneratedMessageV3.writeString(
+            output, 4, instanceNamePrefixes_.getRaw(i));
       }
       for (int i = 0; i < osTypes_.size(); i++) {
         output.writeMessage(5, osTypes_.get(i));
@@ -6306,8 +7198,7 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < groupLabels_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, groupLabels_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, groupLabels_.get(i));
       }
       {
         int dataSize = 0;
@@ -6334,8 +7225,7 @@ public int getSerializedSize() {
         size += 1 * getInstanceNamePrefixesList().size();
       }
       for (int i = 0; i < osTypes_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(5, osTypes_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, osTypes_.get(i));
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -6345,23 +7235,19 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment)) {
         return super.equals(obj);
       }
-      com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment other = (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment) obj;
-
-      if (!getGroupLabelsList()
-          .equals(other.getGroupLabelsList())) return false;
-      if (!getZonesList()
-          .equals(other.getZonesList())) return false;
-      if (!getInstancesList()
-          .equals(other.getInstancesList())) return false;
-      if (!getInstanceNamePrefixesList()
-          .equals(other.getInstanceNamePrefixesList())) return false;
-      if (!getOsTypesList()
-          .equals(other.getOsTypesList())) return false;
+      com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment other =
+          (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment) obj;
+
+      if (!getGroupLabelsList().equals(other.getGroupLabelsList())) return false;
+      if (!getZonesList().equals(other.getZonesList())) return false;
+      if (!getInstancesList().equals(other.getInstancesList())) return false;
+      if (!getInstanceNamePrefixesList().equals(other.getInstanceNamePrefixesList())) return false;
+      if (!getOsTypesList().equals(other.getOsTypesList())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -6399,87 +7285,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment 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.osconfig.v1beta.GuestPolicies.Assignment parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -6489,6 +7382,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * An assignment represents the group or groups of VM instances that the policy
      * applies to.
@@ -6500,21 +7395,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.Assignment}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.Assignment)
         com.google.cloud.osconfig.v1beta.GuestPolicies.AssignmentOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_Assignment_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.class, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.class,
+                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.newBuilder()
@@ -6522,18 +7420,18 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getGroupLabelsFieldBuilder();
           getOsTypesFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -6559,9 +7457,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor;
       }
 
       @java.lang.Override
@@ -6580,7 +7478,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment buildPartial() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment result = new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment(this);
+        com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment result =
+            new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment(this);
         int from_bitField0_ = bitField0_;
         if (groupLabelsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -6623,38 +7522,41 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment buildPartial()
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.GuestPolicies.Assignment) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment)other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -6662,7 +7564,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment other) {
-        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.getDefaultInstance())
+          return this;
         if (groupLabelsBuilder_ == null) {
           if (!other.groupLabels_.isEmpty()) {
             if (groupLabels_.isEmpty()) {
@@ -6681,9 +7584,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignme
               groupLabelsBuilder_ = null;
               groupLabels_ = other.groupLabels_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              groupLabelsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getGroupLabelsFieldBuilder() : null;
+              groupLabelsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getGroupLabelsFieldBuilder()
+                      : null;
             } else {
               groupLabelsBuilder_.addAllMessages(other.groupLabels_);
             }
@@ -6737,9 +7641,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignme
               osTypesBuilder_ = null;
               osTypes_ = other.osTypes_;
               bitField0_ = (bitField0_ & ~0x00000010);
-              osTypesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getOsTypesFieldBuilder() : null;
+              osTypesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getOsTypesFieldBuilder()
+                      : null;
             } else {
               osTypesBuilder_.addAllMessages(other.osTypes_);
             }
@@ -6764,7 +7669,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -6773,21 +7679,31 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private java.util.List groupLabels_ =
-        java.util.Collections.emptyList();
+      private java.util.List
+          groupLabels_ = java.util.Collections.emptyList();
+
       private void ensureGroupLabelsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          groupLabels_ = new java.util.ArrayList(groupLabels_);
+          groupLabels_ =
+              new java.util.ArrayList<
+                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel>(
+                  groupLabels_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder> groupLabelsBuilder_;
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder>
+          groupLabelsBuilder_;
 
       /**
+       *
+       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -6796,7 +7712,8 @@ private void ensureGroupLabelsIsMutable() {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
-      public java.util.List getGroupLabelsList() {
+      public java.util.List
+          getGroupLabelsList() {
         if (groupLabelsBuilder_ == null) {
           return java.util.Collections.unmodifiableList(groupLabels_);
         } else {
@@ -6804,6 +7721,8 @@ public java.util.List
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -6820,6 +7739,8 @@ public int getGroupLabelsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -6828,7 +7749,8 @@ public int getGroupLabelsCount() {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getGroupLabels(int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getGroupLabels(
+          int index) {
         if (groupLabelsBuilder_ == null) {
           return groupLabels_.get(index);
         } else {
@@ -6836,6 +7758,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel getG
         }
       }
       /**
+       *
+       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -6859,6 +7783,8 @@ public Builder setGroupLabels(
         return this;
       }
       /**
+       *
+       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -6868,7 +7794,9 @@ public Builder setGroupLabels(
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
       public Builder setGroupLabels(
-          int index, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder builderForValue) {
+          int index,
+          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder
+              builderForValue) {
         if (groupLabelsBuilder_ == null) {
           ensureGroupLabelsIsMutable();
           groupLabels_.set(index, builderForValue.build());
@@ -6879,6 +7807,8 @@ public Builder setGroupLabels(
         return this;
       }
       /**
+       *
+       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -6887,7 +7817,8 @@ public Builder setGroupLabels(
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
-      public Builder addGroupLabels(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel value) {
+      public Builder addGroupLabels(
+          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel value) {
         if (groupLabelsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -6901,6 +7832,8 @@ public Builder addGroupLabels(com.google.cloud.osconfig.v1beta.GuestPolicies.Ass
         return this;
       }
       /**
+       *
+       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -6924,6 +7857,8 @@ public Builder addGroupLabels(
         return this;
       }
       /**
+       *
+       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -6933,7 +7868,8 @@ public Builder addGroupLabels(
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
       public Builder addGroupLabels(
-          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder builderForValue) {
+          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder
+              builderForValue) {
         if (groupLabelsBuilder_ == null) {
           ensureGroupLabelsIsMutable();
           groupLabels_.add(builderForValue.build());
@@ -6944,6 +7880,8 @@ public Builder addGroupLabels(
         return this;
       }
       /**
+       *
+       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -6953,7 +7891,9 @@ public Builder addGroupLabels(
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
       public Builder addGroupLabels(
-          int index, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder builderForValue) {
+          int index,
+          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder
+              builderForValue) {
         if (groupLabelsBuilder_ == null) {
           ensureGroupLabelsIsMutable();
           groupLabels_.add(index, builderForValue.build());
@@ -6964,6 +7904,8 @@ public Builder addGroupLabels(
         return this;
       }
       /**
+       *
+       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -6973,11 +7915,12 @@ public Builder addGroupLabels(
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
       public Builder addAllGroupLabels(
-          java.lang.Iterable values) {
+          java.lang.Iterable<
+                  ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel>
+              values) {
         if (groupLabelsBuilder_ == null) {
           ensureGroupLabelsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, groupLabels_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupLabels_);
           onChanged();
         } else {
           groupLabelsBuilder_.addAllMessages(values);
@@ -6985,6 +7928,8 @@ public Builder addAllGroupLabels(
         return this;
       }
       /**
+       *
+       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7004,6 +7949,8 @@ public Builder clearGroupLabels() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7023,6 +7970,8 @@ public Builder removeGroupLabels(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7031,11 +7980,13 @@ public Builder removeGroupLabels(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder getGroupLabelsBuilder(
-          int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder
+          getGroupLabelsBuilder(int index) {
         return getGroupLabelsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7044,14 +7995,17 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Buil
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder getGroupLabelsOrBuilder(
-          int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder
+          getGroupLabelsOrBuilder(int index) {
         if (groupLabelsBuilder_ == null) {
-          return groupLabels_.get(index);  } else {
+          return groupLabels_.get(index);
+        } else {
           return groupLabelsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7060,8 +8014,10 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBui
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
-      public java.util.List 
-           getGroupLabelsOrBuilderList() {
+      public java.util.List<
+              ? extends
+                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder>
+          getGroupLabelsOrBuilderList() {
         if (groupLabelsBuilder_ != null) {
           return groupLabelsBuilder_.getMessageOrBuilderList();
         } else {
@@ -7069,6 +8025,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBui
         }
       }
       /**
+       *
+       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7077,11 +8035,16 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBui
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder addGroupLabelsBuilder() {
-        return getGroupLabelsFieldBuilder().addBuilder(
-            com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.getDefaultInstance());
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder
+          addGroupLabelsBuilder() {
+        return getGroupLabelsFieldBuilder()
+            .addBuilder(
+                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
+                    .getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7090,12 +8053,17 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Buil
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder addGroupLabelsBuilder(
-          int index) {
-        return getGroupLabelsFieldBuilder().addBuilder(
-            index, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.getDefaultInstance());
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder
+          addGroupLabelsBuilder(int index) {
+        return getGroupLabelsFieldBuilder()
+            .addBuilder(
+                index,
+                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel
+                    .getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Targets instances matching at least one of these label sets. This allows
        * an assignment to target disparate groups, for example "env=prod or
@@ -7104,16 +8072,23 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Buil
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;
        */
-      public java.util.List 
-           getGroupLabelsBuilderList() {
+      public java.util.List<
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder>
+          getGroupLabelsBuilderList() {
         return getGroupLabelsFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder> 
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder>
           getGroupLabelsFieldBuilder() {
         if (groupLabelsBuilder_ == null) {
-          groupLabelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder>(
+          groupLabelsBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel,
+                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Builder,
+                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabelOrBuilder>(
                   groupLabels_,
                   ((bitField0_ & 0x00000001) != 0),
                   getParentForChildren(),
@@ -7123,14 +8098,18 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.GroupLabel.Buil
         return groupLabelsBuilder_;
       }
 
-      private com.google.protobuf.LazyStringList zones_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      private com.google.protobuf.LazyStringList zones_ =
+          com.google.protobuf.LazyStringArrayList.EMPTY;
+
       private void ensureZonesIsMutable() {
         if (!((bitField0_ & 0x00000002) != 0)) {
           zones_ = new com.google.protobuf.LazyStringArrayList(zones_);
           bitField0_ |= 0x00000002;
-         }
+        }
       }
       /**
+       *
+       *
        * 
        * Targets instances in any of these zones. Leave empty to target instances
        * in any zone.
@@ -7139,13 +8118,15 @@ private void ensureZonesIsMutable() {
        * 
* * repeated string zones = 2; + * * @return A list containing the zones. */ - public com.google.protobuf.ProtocolStringList - getZonesList() { + public com.google.protobuf.ProtocolStringList getZonesList() { return zones_.getUnmodifiableView(); } /** + * + * *
        * Targets instances in any of these zones. Leave empty to target instances
        * in any zone.
@@ -7154,12 +8135,15 @@ private void ensureZonesIsMutable() {
        * 
* * repeated string zones = 2; + * * @return The count of zones. */ public int getZonesCount() { return zones_.size(); } /** + * + * *
        * Targets instances in any of these zones. Leave empty to target instances
        * in any zone.
@@ -7168,6 +8152,7 @@ public int getZonesCount() {
        * 
* * repeated string zones = 2; + * * @param index The index of the element to return. * @return The zones at the given index. */ @@ -7175,6 +8160,8 @@ public java.lang.String getZones(int index) { return zones_.get(index); } /** + * + * *
        * Targets instances in any of these zones. Leave empty to target instances
        * in any zone.
@@ -7183,14 +8170,16 @@ public java.lang.String getZones(int index) {
        * 
* * repeated string zones = 2; + * * @param index The index of the value to return. * @return The bytes of the zones at the given index. */ - public com.google.protobuf.ByteString - getZonesBytes(int index) { + public com.google.protobuf.ByteString getZonesBytes(int index) { return zones_.getByteString(index); } /** + * + * *
        * Targets instances in any of these zones. Leave empty to target instances
        * in any zone.
@@ -7199,21 +8188,23 @@ public java.lang.String getZones(int index) {
        * 
* * repeated string zones = 2; + * * @param index The index to set the value at. * @param value The zones to set. * @return This builder for chaining. */ - public Builder setZones( - int index, java.lang.String value) { + public Builder setZones(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureZonesIsMutable(); + throw new NullPointerException(); + } + ensureZonesIsMutable(); zones_.set(index, value); onChanged(); return this; } /** + * + * *
        * Targets instances in any of these zones. Leave empty to target instances
        * in any zone.
@@ -7222,20 +8213,22 @@ public Builder setZones(
        * 
* * repeated string zones = 2; + * * @param value The zones to add. * @return This builder for chaining. */ - public Builder addZones( - java.lang.String value) { + public Builder addZones(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureZonesIsMutable(); + throw new NullPointerException(); + } + ensureZonesIsMutable(); zones_.add(value); onChanged(); return this; } /** + * + * *
        * Targets instances in any of these zones. Leave empty to target instances
        * in any zone.
@@ -7244,18 +8237,19 @@ public Builder addZones(
        * 
* * repeated string zones = 2; + * * @param values The zones to add. * @return This builder for chaining. */ - public Builder addAllZones( - java.lang.Iterable values) { + public Builder addAllZones(java.lang.Iterable values) { ensureZonesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, zones_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, zones_); onChanged(); return this; } /** + * + * *
        * Targets instances in any of these zones. Leave empty to target instances
        * in any zone.
@@ -7264,6 +8258,7 @@ public Builder addAllZones(
        * 
* * repeated string zones = 2; + * * @return This builder for chaining. */ public Builder clearZones() { @@ -7273,6 +8268,8 @@ public Builder clearZones() { return this; } /** + * + * *
        * Targets instances in any of these zones. Leave empty to target instances
        * in any zone.
@@ -7281,29 +8278,33 @@ public Builder clearZones() {
        * 
* * repeated string zones = 2; + * * @param value The bytes of the zones to add. * @return This builder for chaining. */ - public Builder addZonesBytes( - com.google.protobuf.ByteString value) { + public Builder addZonesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureZonesIsMutable(); zones_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList instances_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList instances_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { instances_ = new com.google.protobuf.LazyStringArrayList(instances_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
        * Targets any of the instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -7315,13 +8316,15 @@ private void ensureInstancesIsMutable() {
        * 
* * repeated string instances = 3; + * * @return A list containing the instances. */ - public com.google.protobuf.ProtocolStringList - getInstancesList() { + public com.google.protobuf.ProtocolStringList getInstancesList() { return instances_.getUnmodifiableView(); } /** + * + * *
        * Targets any of the instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -7333,12 +8336,15 @@ private void ensureInstancesIsMutable() {
        * 
* * repeated string instances = 3; + * * @return The count of instances. */ public int getInstancesCount() { return instances_.size(); } /** + * + * *
        * Targets any of the instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -7350,6 +8356,7 @@ public int getInstancesCount() {
        * 
* * repeated string instances = 3; + * * @param index The index of the element to return. * @return The instances at the given index. */ @@ -7357,6 +8364,8 @@ public java.lang.String getInstances(int index) { return instances_.get(index); } /** + * + * *
        * Targets any of the instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -7368,14 +8377,16 @@ public java.lang.String getInstances(int index) {
        * 
* * repeated string instances = 3; + * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - public com.google.protobuf.ByteString - getInstancesBytes(int index) { + public com.google.protobuf.ByteString getInstancesBytes(int index) { return instances_.getByteString(index); } /** + * + * *
        * Targets any of the instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -7387,21 +8398,23 @@ public java.lang.String getInstances(int index) {
        * 
* * repeated string instances = 3; + * * @param index The index to set the value at. * @param value The instances to set. * @return This builder for chaining. */ - public Builder setInstances( - int index, java.lang.String value) { + public Builder setInstances(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstancesIsMutable(); + throw new NullPointerException(); + } + ensureInstancesIsMutable(); instances_.set(index, value); onChanged(); return this; } /** + * + * *
        * Targets any of the instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -7413,20 +8426,22 @@ public Builder setInstances(
        * 
* * repeated string instances = 3; + * * @param value The instances to add. * @return This builder for chaining. */ - public Builder addInstances( - java.lang.String value) { + public Builder addInstances(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstancesIsMutable(); + throw new NullPointerException(); + } + ensureInstancesIsMutable(); instances_.add(value); onChanged(); return this; } /** + * + * *
        * Targets any of the instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -7438,18 +8453,19 @@ public Builder addInstances(
        * 
* * repeated string instances = 3; + * * @param values The instances to add. * @return This builder for chaining. */ - public Builder addAllInstances( - java.lang.Iterable values) { + public Builder addAllInstances(java.lang.Iterable values) { ensureInstancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_); onChanged(); return this; } /** + * + * *
        * Targets any of the instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -7461,6 +8477,7 @@ public Builder addAllInstances(
        * 
* * repeated string instances = 3; + * * @return This builder for chaining. */ public Builder clearInstances() { @@ -7470,6 +8487,8 @@ public Builder clearInstances() { return this; } /** + * + * *
        * Targets any of the instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
@@ -7481,29 +8500,34 @@ public Builder clearInstances() {
        * 
* * repeated string instances = 3; + * * @param value The bytes of the instances to add. * @return This builder for chaining. */ - public Builder addInstancesBytes( - com.google.protobuf.ByteString value) { + public Builder addInstancesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstancesIsMutable(); instances_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList instanceNamePrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList instanceNamePrefixes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureInstanceNamePrefixesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - instanceNamePrefixes_ = new com.google.protobuf.LazyStringArrayList(instanceNamePrefixes_); + instanceNamePrefixes_ = + new com.google.protobuf.LazyStringArrayList(instanceNamePrefixes_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
        * Targets VM instances whose name starts with one of these prefixes.
        * Like labels, this is another way to group VM instances when targeting
@@ -7512,13 +8536,15 @@ private void ensureInstanceNamePrefixesIsMutable() {
        * 
* * repeated string instance_name_prefixes = 4; + * * @return A list containing the instanceNamePrefixes. */ - public com.google.protobuf.ProtocolStringList - getInstanceNamePrefixesList() { + public com.google.protobuf.ProtocolStringList getInstanceNamePrefixesList() { return instanceNamePrefixes_.getUnmodifiableView(); } /** + * + * *
        * Targets VM instances whose name starts with one of these prefixes.
        * Like labels, this is another way to group VM instances when targeting
@@ -7527,12 +8553,15 @@ private void ensureInstanceNamePrefixesIsMutable() {
        * 
* * repeated string instance_name_prefixes = 4; + * * @return The count of instanceNamePrefixes. */ public int getInstanceNamePrefixesCount() { return instanceNamePrefixes_.size(); } /** + * + * *
        * Targets VM instances whose name starts with one of these prefixes.
        * Like labels, this is another way to group VM instances when targeting
@@ -7541,6 +8570,7 @@ public int getInstanceNamePrefixesCount() {
        * 
* * repeated string instance_name_prefixes = 4; + * * @param index The index of the element to return. * @return The instanceNamePrefixes at the given index. */ @@ -7548,6 +8578,8 @@ public java.lang.String getInstanceNamePrefixes(int index) { return instanceNamePrefixes_.get(index); } /** + * + * *
        * Targets VM instances whose name starts with one of these prefixes.
        * Like labels, this is another way to group VM instances when targeting
@@ -7556,14 +8588,16 @@ public java.lang.String getInstanceNamePrefixes(int index) {
        * 
* * repeated string instance_name_prefixes = 4; + * * @param index The index of the value to return. * @return The bytes of the instanceNamePrefixes at the given index. */ - public com.google.protobuf.ByteString - getInstanceNamePrefixesBytes(int index) { + public com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index) { return instanceNamePrefixes_.getByteString(index); } /** + * + * *
        * Targets VM instances whose name starts with one of these prefixes.
        * Like labels, this is another way to group VM instances when targeting
@@ -7572,21 +8606,23 @@ public java.lang.String getInstanceNamePrefixes(int index) {
        * 
* * repeated string instance_name_prefixes = 4; + * * @param index The index to set the value at. * @param value The instanceNamePrefixes to set. * @return This builder for chaining. */ - public Builder setInstanceNamePrefixes( - int index, java.lang.String value) { + public Builder setInstanceNamePrefixes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceNamePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureInstanceNamePrefixesIsMutable(); instanceNamePrefixes_.set(index, value); onChanged(); return this; } /** + * + * *
        * Targets VM instances whose name starts with one of these prefixes.
        * Like labels, this is another way to group VM instances when targeting
@@ -7595,20 +8631,22 @@ public Builder setInstanceNamePrefixes(
        * 
* * repeated string instance_name_prefixes = 4; + * * @param value The instanceNamePrefixes to add. * @return This builder for chaining. */ - public Builder addInstanceNamePrefixes( - java.lang.String value) { + public Builder addInstanceNamePrefixes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceNamePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureInstanceNamePrefixesIsMutable(); instanceNamePrefixes_.add(value); onChanged(); return this; } /** + * + * *
        * Targets VM instances whose name starts with one of these prefixes.
        * Like labels, this is another way to group VM instances when targeting
@@ -7617,18 +8655,19 @@ public Builder addInstanceNamePrefixes(
        * 
* * repeated string instance_name_prefixes = 4; + * * @param values The instanceNamePrefixes to add. * @return This builder for chaining. */ - public Builder addAllInstanceNamePrefixes( - java.lang.Iterable values) { + public Builder addAllInstanceNamePrefixes(java.lang.Iterable values) { ensureInstanceNamePrefixesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instanceNamePrefixes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceNamePrefixes_); onChanged(); return this; } /** + * + * *
        * Targets VM instances whose name starts with one of these prefixes.
        * Like labels, this is another way to group VM instances when targeting
@@ -7637,6 +8676,7 @@ public Builder addAllInstanceNamePrefixes(
        * 
* * repeated string instance_name_prefixes = 4; + * * @return This builder for chaining. */ public Builder clearInstanceNamePrefixes() { @@ -7646,6 +8686,8 @@ public Builder clearInstanceNamePrefixes() { return this; } /** + * + * *
        * Targets VM instances whose name starts with one of these prefixes.
        * Like labels, this is another way to group VM instances when targeting
@@ -7654,34 +8696,42 @@ public Builder clearInstanceNamePrefixes() {
        * 
* * repeated string instance_name_prefixes = 4; + * * @param value The bytes of the instanceNamePrefixes to add. * @return This builder for chaining. */ - public Builder addInstanceNamePrefixesBytes( - com.google.protobuf.ByteString value) { + public Builder addInstanceNamePrefixesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstanceNamePrefixesIsMutable(); instanceNamePrefixes_.add(value); onChanged(); return this; } - private java.util.List osTypes_ = - java.util.Collections.emptyList(); + private java.util.List + osTypes_ = java.util.Collections.emptyList(); + private void ensureOsTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - osTypes_ = new java.util.ArrayList(osTypes_); + osTypes_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType>(osTypes_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder> osTypesBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType, + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder> + osTypesBuilder_; /** + * + * *
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -7690,7 +8740,8 @@ private void ensureOsTypesIsMutable() {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
-      public java.util.List getOsTypesList() {
+      public java.util.List
+          getOsTypesList() {
         if (osTypesBuilder_ == null) {
           return java.util.Collections.unmodifiableList(osTypes_);
         } else {
@@ -7698,6 +8749,8 @@ public java.util.List
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -7714,6 +8767,8 @@ public int getOsTypesCount() {
         }
       }
       /**
+       *
+       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -7722,7 +8777,8 @@ public int getOsTypesCount() {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType getOsTypes(int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType getOsTypes(
+          int index) {
         if (osTypesBuilder_ == null) {
           return osTypes_.get(index);
         } else {
@@ -7730,6 +8786,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType getOsTyp
         }
       }
       /**
+       *
+       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -7753,6 +8811,8 @@ public Builder setOsTypes(
         return this;
       }
       /**
+       *
+       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -7762,7 +8822,9 @@ public Builder setOsTypes(
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
       public Builder setOsTypes(
-          int index, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder builderForValue) {
+          int index,
+          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder
+              builderForValue) {
         if (osTypesBuilder_ == null) {
           ensureOsTypesIsMutable();
           osTypes_.set(index, builderForValue.build());
@@ -7773,6 +8835,8 @@ public Builder setOsTypes(
         return this;
       }
       /**
+       *
+       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -7781,7 +8845,8 @@ public Builder setOsTypes(
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
-      public Builder addOsTypes(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType value) {
+      public Builder addOsTypes(
+          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType value) {
         if (osTypesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -7795,6 +8860,8 @@ public Builder addOsTypes(com.google.cloud.osconfig.v1beta.GuestPolicies.Assignm
         return this;
       }
       /**
+       *
+       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -7818,6 +8885,8 @@ public Builder addOsTypes(
         return this;
       }
       /**
+       *
+       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -7827,7 +8896,8 @@ public Builder addOsTypes(
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
       public Builder addOsTypes(
-          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder builderForValue) {
+          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder
+              builderForValue) {
         if (osTypesBuilder_ == null) {
           ensureOsTypesIsMutable();
           osTypes_.add(builderForValue.build());
@@ -7838,6 +8908,8 @@ public Builder addOsTypes(
         return this;
       }
       /**
+       *
+       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -7847,7 +8919,9 @@ public Builder addOsTypes(
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
       public Builder addOsTypes(
-          int index, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder builderForValue) {
+          int index,
+          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder
+              builderForValue) {
         if (osTypesBuilder_ == null) {
           ensureOsTypesIsMutable();
           osTypes_.add(index, builderForValue.build());
@@ -7858,6 +8932,8 @@ public Builder addOsTypes(
         return this;
       }
       /**
+       *
+       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -7867,11 +8943,12 @@ public Builder addOsTypes(
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
       public Builder addAllOsTypes(
-          java.lang.Iterable values) {
+          java.lang.Iterable<
+                  ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType>
+              values) {
         if (osTypesBuilder_ == null) {
           ensureOsTypesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, osTypes_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, osTypes_);
           onChanged();
         } else {
           osTypesBuilder_.addAllMessages(values);
@@ -7879,6 +8956,8 @@ public Builder addAllOsTypes(
         return this;
       }
       /**
+       *
+       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -7898,6 +8977,8 @@ public Builder clearOsTypes() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -7917,6 +8998,8 @@ public Builder removeOsTypes(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -7925,11 +9008,13 @@ public Builder removeOsTypes(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder getOsTypesBuilder(
-          int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder
+          getOsTypesBuilder(int index) {
         return getOsTypesFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -7938,14 +9023,17 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder getOsTypesOrBuilder(
-          int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder
+          getOsTypesOrBuilder(int index) {
         if (osTypesBuilder_ == null) {
-          return osTypes_.get(index);  } else {
+          return osTypes_.get(index);
+        } else {
           return osTypesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -7954,8 +9042,9 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
-      public java.util.List 
-           getOsTypesOrBuilderList() {
+      public java.util.List<
+              ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder>
+          getOsTypesOrBuilderList() {
         if (osTypesBuilder_ != null) {
           return osTypesBuilder_.getMessageOrBuilderList();
         } else {
@@ -7963,6 +9052,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder
         }
       }
       /**
+       *
+       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -7971,11 +9062,16 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder addOsTypesBuilder() {
-        return getOsTypesFieldBuilder().addBuilder(
-            com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.getDefaultInstance());
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder
+          addOsTypesBuilder() {
+        return getOsTypesFieldBuilder()
+            .addBuilder(
+                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType
+                    .getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -7984,12 +9080,17 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder addOsTypesBuilder(
-          int index) {
-        return getOsTypesFieldBuilder().addBuilder(
-            index, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.getDefaultInstance());
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder
+          addOsTypesBuilder(int index) {
+        return getOsTypesFieldBuilder()
+            .addBuilder(
+                index,
+                com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType
+                    .getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Targets VM instances matching at least one of the following OS types.
        * VM instances must match all supplied criteria for a given OsType to be
@@ -7998,24 +9099,29 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder
        *
        * repeated .google.cloud.osconfig.v1beta.Assignment.OsType os_types = 5;
        */
-      public java.util.List 
-           getOsTypesBuilderList() {
+      public java.util.List<
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder>
+          getOsTypesBuilderList() {
         return getOsTypesFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder> 
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder>
           getOsTypesFieldBuilder() {
         if (osTypesBuilder_ == null) {
-          osTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder>(
-                  osTypes_,
-                  ((bitField0_ & 0x00000010) != 0),
-                  getParentForChildren(),
-                  isClean());
+          osTypesBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType,
+                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsType.Builder,
+                  com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment.OsTypeOrBuilder>(
+                  osTypes_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
           osTypes_ = null;
         }
         return osTypesBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -8028,12 +9134,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.Assignment)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.Assignment)
     private static final com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment();
     }
@@ -8042,16 +9148,16 @@ public static com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment getDefau
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public Assignment parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new Assignment(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public Assignment parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new Assignment(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -8066,14 +9172,16 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.osconfig.v1beta.GuestPolicies.Assignment getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface PackageOrBuilder extends
+  public interface PackageOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.Package)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. The name of the package. A package is uniquely identified for conflict
      * validation by checking the package name and the manager(s) that the
@@ -8081,10 +9189,13 @@ public interface PackageOrBuilder extends
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The name of the package. A package is uniquely identified for conflict
      * validation by checking the package name and the manager(s) that the
@@ -8092,33 +9203,41 @@ public interface PackageOrBuilder extends
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * The desired_state the agent should maintain for this package. The
      * default is to ensure the package is installed.
      * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 2; + * * @return The enum numeric value on the wire for desiredState. */ int getDesiredStateValue(); /** + * + * *
      * The desired_state the agent should maintain for this package. The
      * default is to ensure the package is installed.
      * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 2; + * * @return The desiredState. */ com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState getDesiredState(); /** + * + * *
      * Type of package manager that can be used to install this package.
      * If a system does not have the package manager, the package is not
@@ -8131,10 +9250,13 @@ public interface PackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1beta.Package.Manager manager = 3; + * * @return The enum numeric value on the wire for manager. */ int getManagerValue(); /** + * + * *
      * Type of package manager that can be used to install this package.
      * If a system does not have the package manager, the package is not
@@ -8147,11 +9269,14 @@ public interface PackageOrBuilder extends
      * 
* * .google.cloud.osconfig.v1beta.Package.Manager manager = 3; + * * @return The manager. */ com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager getManager(); } /** + * + * *
    * Package is a reference to the software package to be installed or removed.
    * The agent on the VM instance uses the system package manager to apply the
@@ -8174,15 +9299,16 @@ public interface PackageOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.Package}
    */
-  public static final class Package extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Package extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.Package)
       PackageOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Package.newBuilder() to construct.
     private Package(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Package() {
       name_ = "";
       desiredState_ = 0;
@@ -8191,16 +9317,15 @@ private Package() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Package();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private Package(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8219,31 +9344,34 @@ private Package(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+                name_ = s;
+                break;
+              }
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              desiredState_ = rawValue;
-              break;
-            }
-            case 24: {
-              int rawValue = input.readEnum();
+                desiredState_ = rawValue;
+                break;
+              }
+            case 24:
+              {
+                int rawValue = input.readEnum();
 
-              manager_ = rawValue;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                manager_ = rawValue;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8251,36 +9379,41 @@ private Package(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Package_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.GuestPolicies
+          .internal_static_google_cloud_osconfig_v1beta_Package_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Package_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.GuestPolicies
+          .internal_static_google_cloud_osconfig_v1beta_Package_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.GuestPolicies.Package.class, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder.class);
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Package.class,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * Types of package managers that may be used to manage this package.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.Package.Manager} */ - public enum Manager - implements com.google.protobuf.ProtocolMessageEnum { + public enum Manager implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The default behavior is ANY.
        * 
@@ -8289,6 +9422,8 @@ public enum Manager */ MANAGER_UNSPECIFIED(0), /** + * + * *
        * Apply this package config using the default system package manager.
        * 
@@ -8297,6 +9432,8 @@ public enum Manager */ ANY(1), /** + * + * *
        * Apply this package config only if Apt is available on the system.
        * 
@@ -8305,6 +9442,8 @@ public enum Manager */ APT(2), /** + * + * *
        * Apply this package config only if Yum is available on the system.
        * 
@@ -8313,6 +9452,8 @@ public enum Manager */ YUM(3), /** + * + * *
        * Apply this package config only if Zypper is available on the system.
        * 
@@ -8321,6 +9462,8 @@ public enum Manager */ ZYPPER(4), /** + * + * *
        * Apply this package config only if GooGet is available on the system.
        * 
@@ -8332,6 +9475,8 @@ public enum Manager ; /** + * + * *
        * The default behavior is ANY.
        * 
@@ -8340,6 +9485,8 @@ public enum Manager */ public static final int MANAGER_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Apply this package config using the default system package manager.
        * 
@@ -8348,6 +9495,8 @@ public enum Manager */ public static final int ANY_VALUE = 1; /** + * + * *
        * Apply this package config only if Apt is available on the system.
        * 
@@ -8356,6 +9505,8 @@ public enum Manager */ public static final int APT_VALUE = 2; /** + * + * *
        * Apply this package config only if Yum is available on the system.
        * 
@@ -8364,6 +9515,8 @@ public enum Manager */ public static final int YUM_VALUE = 3; /** + * + * *
        * Apply this package config only if Zypper is available on the system.
        * 
@@ -8372,6 +9525,8 @@ public enum Manager */ public static final int ZYPPER_VALUE = 4; /** + * + * *
        * Apply this package config only if GooGet is available on the system.
        * 
@@ -8380,7 +9535,6 @@ public enum Manager */ public static final int GOO_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -8405,52 +9559,57 @@ public static Manager valueOf(int value) { */ public static Manager forNumber(int value) { switch (value) { - case 0: return MANAGER_UNSPECIFIED; - case 1: return ANY; - case 2: return APT; - case 3: return YUM; - case 4: return ZYPPER; - case 5: return GOO; - default: return null; + case 0: + return MANAGER_UNSPECIFIED; + case 1: + return ANY; + case 2: + return APT; + case 3: + return YUM; + case 4: + return ZYPPER; + case 5: + return GOO; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Manager> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Manager findValueByNumber(int number) { - return Manager.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Manager findValueByNumber(int number) { + return Manager.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDescriptor() + .getEnumTypes() + .get(0); } private static final Manager[] VALUES = values(); - public static Manager valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Manager valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -8470,6 +9629,8 @@ private Manager(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. The name of the package. A package is uniquely identified for conflict
      * validation by checking the package name and the manager(s) that the
@@ -8477,6 +9638,7 @@ private Manager(int value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -8485,14 +9647,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. The name of the package. A package is uniquely identified for conflict
      * validation by checking the package name and the manager(s) that the
@@ -8500,16 +9663,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -8520,35 +9682,48 @@ public java.lang.String getName() { public static final int DESIRED_STATE_FIELD_NUMBER = 2; private int desiredState_; /** + * + * *
      * The desired_state the agent should maintain for this package. The
      * default is to ensure the package is installed.
      * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 2; + * * @return The enum numeric value on the wire for desiredState. */ - @java.lang.Override public int getDesiredStateValue() { + @java.lang.Override + public int getDesiredStateValue() { return desiredState_; } /** + * + * *
      * The desired_state the agent should maintain for this package. The
      * default is to ensure the package is installed.
      * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 2; + * * @return The desiredState. */ - @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState getDesiredState() { + @java.lang.Override + public com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState getDesiredState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState result = com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.valueOf(desiredState_); - return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState result = + com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.valueOf(desiredState_); + return result == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.UNRECOGNIZED + : result; } public static final int MANAGER_FIELD_NUMBER = 3; private int manager_; /** + * + * *
      * Type of package manager that can be used to install this package.
      * If a system does not have the package manager, the package is not
@@ -8561,12 +9736,16 @@ public java.lang.String getName() {
      * 
* * .google.cloud.osconfig.v1beta.Package.Manager manager = 3; + * * @return The enum numeric value on the wire for manager. */ - @java.lang.Override public int getManagerValue() { + @java.lang.Override + public int getManagerValue() { return manager_; } /** + * + * *
      * Type of package manager that can be used to install this package.
      * If a system does not have the package manager, the package is not
@@ -8579,15 +9758,21 @@ public java.lang.String getName() {
      * 
* * .google.cloud.osconfig.v1beta.Package.Manager manager = 3; + * * @return The manager. */ - @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager getManager() { + @java.lang.Override + public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager getManager() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager result = com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.valueOf(manager_); - return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager result = + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.valueOf(manager_); + return result == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8599,15 +9784,18 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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 (desiredState_ != com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { + if (desiredState_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.DESIRED_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, desiredState_); } - if (manager_ != com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.MANAGER_UNSPECIFIED.getNumber()) { + if (manager_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.MANAGER_UNSPECIFIED + .getNumber()) { output.writeEnum(3, manager_); } unknownFields.writeTo(output); @@ -8622,13 +9810,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (desiredState_ != com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, desiredState_); + if (desiredState_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.DESIRED_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, desiredState_); } - if (manager_ != com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.MANAGER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, manager_); + if (manager_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.MANAGER_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, manager_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8638,15 +9828,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.Package)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.Package other = (com.google.cloud.osconfig.v1beta.GuestPolicies.Package) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.Package other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.Package) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (desiredState_ != other.desiredState_) return false; if (manager_ != other.manager_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -8672,87 +9862,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package 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.osconfig.v1beta.GuestPolicies.Package parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.Package prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.Package prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8762,6 +9959,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Package is a reference to the software package to be installed or removed.
      * The agent on the VM instance uses the system package manager to apply the
@@ -8784,21 +9983,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.Package}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.Package)
         com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Package_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_Package_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Package_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_Package_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.Package.class, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.Package.class,
+                com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.Package.newBuilder()
@@ -8806,16 +10008,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -8829,9 +10030,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_Package_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_Package_descriptor;
       }
 
       @java.lang.Override
@@ -8850,7 +10051,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.GuestPolicies.Package buildPartial() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.Package result = new com.google.cloud.osconfig.v1beta.GuestPolicies.Package(this);
+        com.google.cloud.osconfig.v1beta.GuestPolicies.Package result =
+            new com.google.cloud.osconfig.v1beta.GuestPolicies.Package(this);
         result.name_ = name_;
         result.desiredState_ = desiredState_;
         result.manager_ = manager_;
@@ -8862,38 +10064,41 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.GuestPolicies.Package) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.Package)other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.Package) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -8901,7 +10106,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Package other) {
-        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance())
+          return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -8931,7 +10137,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.Package) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.GuestPolicies.Package) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -8943,6 +10150,8 @@ public Builder mergeFrom(
 
       private java.lang.Object name_ = "";
       /**
+       *
+       *
        * 
        * Required. The name of the package. A package is uniquely identified for conflict
        * validation by checking the package name and the manager(s) that the
@@ -8950,13 +10159,13 @@ public Builder mergeFrom(
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -8965,6 +10174,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name of the package. A package is uniquely identified for conflict
        * validation by checking the package name and the manager(s) that the
@@ -8972,15 +10183,14 @@ public java.lang.String getName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -8988,6 +10198,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name of the package. A package is uniquely identified for conflict
        * validation by checking the package name and the manager(s) that the
@@ -8995,20 +10207,22 @@ public java.lang.String getName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. The name of the package. A package is uniquely identified for conflict
        * validation by checking the package name and the manager(s) that the
@@ -9016,15 +10230,18 @@ public Builder setName(
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. The name of the package. A package is uniquely identified for conflict
        * validation by checking the package name and the manager(s) that the
@@ -9032,16 +10249,16 @@ public Builder clearName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -9049,78 +10266,98 @@ public Builder setNameBytes( private int desiredState_ = 0; /** + * + * *
        * The desired_state the agent should maintain for this package. The
        * default is to ensure the package is installed.
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 2; + * * @return The enum numeric value on the wire for desiredState. */ - @java.lang.Override public int getDesiredStateValue() { + @java.lang.Override + public int getDesiredStateValue() { return desiredState_; } /** + * + * *
        * The desired_state the agent should maintain for this package. The
        * default is to ensure the package is installed.
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 2; + * * @param value The enum numeric value on the wire for desiredState to set. * @return This builder for chaining. */ public Builder setDesiredStateValue(int value) { - + desiredState_ = value; onChanged(); return this; } /** + * + * *
        * The desired_state the agent should maintain for this package. The
        * default is to ensure the package is installed.
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 2; + * * @return The desiredState. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState getDesiredState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState result = com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.valueOf(desiredState_); - return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState result = + com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.valueOf(desiredState_); + return result == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.UNRECOGNIZED + : result; } /** + * + * *
        * The desired_state the agent should maintain for this package. The
        * default is to ensure the package is installed.
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 2; + * * @param value The desiredState to set. * @return This builder for chaining. */ - public Builder setDesiredState(com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState value) { + public Builder setDesiredState( + com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState value) { if (value == null) { throw new NullPointerException(); } - + desiredState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The desired_state the agent should maintain for this package. The
        * default is to ensure the package is installed.
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 2; + * * @return This builder for chaining. */ public Builder clearDesiredState() { - + desiredState_ = 0; onChanged(); return this; @@ -9128,6 +10365,8 @@ public Builder clearDesiredState() { private int manager_ = 0; /** + * + * *
        * Type of package manager that can be used to install this package.
        * If a system does not have the package manager, the package is not
@@ -9140,12 +10379,16 @@ public Builder clearDesiredState() {
        * 
* * .google.cloud.osconfig.v1beta.Package.Manager manager = 3; + * * @return The enum numeric value on the wire for manager. */ - @java.lang.Override public int getManagerValue() { + @java.lang.Override + public int getManagerValue() { return manager_; } /** + * + * *
        * Type of package manager that can be used to install this package.
        * If a system does not have the package manager, the package is not
@@ -9158,16 +10401,19 @@ public Builder clearDesiredState() {
        * 
* * .google.cloud.osconfig.v1beta.Package.Manager manager = 3; + * * @param value The enum numeric value on the wire for manager to set. * @return This builder for chaining. */ public Builder setManagerValue(int value) { - + manager_ = value; onChanged(); return this; } /** + * + * *
        * Type of package manager that can be used to install this package.
        * If a system does not have the package manager, the package is not
@@ -9180,15 +10426,21 @@ public Builder setManagerValue(int value) {
        * 
* * .google.cloud.osconfig.v1beta.Package.Manager manager = 3; + * * @return The manager. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager getManager() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager result = com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.valueOf(manager_); - return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager result = + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.valueOf(manager_); + return result == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager.UNRECOGNIZED + : result; } /** + * + * *
        * Type of package manager that can be used to install this package.
        * If a system does not have the package manager, the package is not
@@ -9201,19 +10453,23 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager getManager
        * 
* * .google.cloud.osconfig.v1beta.Package.Manager manager = 3; + * * @param value The manager to set. * @return This builder for chaining. */ - public Builder setManager(com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager value) { + public Builder setManager( + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager value) { if (value == null) { throw new NullPointerException(); } - + manager_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Type of package manager that can be used to install this package.
        * If a system does not have the package manager, the package is not
@@ -9226,14 +10482,16 @@ public Builder setManager(com.google.cloud.osconfig.v1beta.GuestPolicies.Package
        * 
* * .google.cloud.osconfig.v1beta.Package.Manager manager = 3; + * * @return This builder for chaining. */ public Builder clearManager() { - + manager_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9246,12 +10504,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.Package) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.Package) private static final com.google.cloud.osconfig.v1beta.GuestPolicies.Package DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.Package(); } @@ -9260,16 +10518,16 @@ public static com.google.cloud.osconfig.v1beta.GuestPolicies.Package getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Package parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Package(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Package parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Package(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9284,114 +10542,142 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.GuestPolicies.Package getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AptRepositoryOrBuilder extends + public interface AptRepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.AptRepository) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Type of archive files in this repository. The default behavior is DEB.
      * 
* * .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1; + * * @return The enum numeric value on the wire for archiveType. */ int getArchiveTypeValue(); /** + * + * *
      * Type of archive files in this repository. The default behavior is DEB.
      * 
* * .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1; + * * @return The archiveType. */ com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType getArchiveType(); /** + * + * *
      * Required. URI for this repository.
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
      * Required. URI for this repository.
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
      * Required. Distribution of this repository.
      * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The distribution. */ java.lang.String getDistribution(); /** + * + * *
      * Required. Distribution of this repository.
      * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for distribution. */ - com.google.protobuf.ByteString - getDistributionBytes(); + com.google.protobuf.ByteString getDistributionBytes(); /** + * + * *
      * Required. List of components for this repository. Must contain at least one item.
      * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the components. */ - java.util.List - getComponentsList(); + java.util.List getComponentsList(); /** + * + * *
      * Required. List of components for this repository. Must contain at least one item.
      * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of components. */ int getComponentsCount(); /** + * + * *
      * Required. List of components for this repository. Must contain at least one item.
      * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The components at the given index. */ java.lang.String getComponents(int index); /** + * + * *
      * Required. List of components for this repository. Must contain at least one item.
      * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - com.google.protobuf.ByteString - getComponentsBytes(int index); + com.google.protobuf.ByteString getComponentsBytes(int index); /** + * + * *
      * URI of the key file for this repository. The agent maintains
      * a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
@@ -9399,10 +10685,13 @@ public interface AptRepositoryOrBuilder extends
      * 
* * string gpg_key = 5; + * * @return The gpgKey. */ java.lang.String getGpgKey(); /** + * + * *
      * URI of the key file for this repository. The agent maintains
      * a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
@@ -9410,12 +10699,14 @@ public interface AptRepositoryOrBuilder extends
      * 
* * string gpg_key = 5; + * * @return The bytes for gpgKey. */ - com.google.protobuf.ByteString - getGpgKeyBytes(); + com.google.protobuf.ByteString getGpgKeyBytes(); } /** + * + * *
    * Represents a single Apt package repository. This repository is added to
    * a repo file that is stored at
@@ -9424,15 +10715,16 @@ public interface AptRepositoryOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.AptRepository}
    */
-  public static final class AptRepository extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class AptRepository extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.AptRepository)
       AptRepositoryOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use AptRepository.newBuilder() to construct.
     private AptRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private AptRepository() {
       archiveType_ = 0;
       uri_ = "";
@@ -9443,16 +10735,15 @@ private AptRepository() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new AptRepository();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private AptRepository(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -9472,46 +10763,51 @@ private AptRepository(
             case 0:
               done = true;
               break;
-            case 8: {
-              int rawValue = input.readEnum();
+            case 8:
+              {
+                int rawValue = input.readEnum();
 
-              archiveType_ = rawValue;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+                archiveType_ = rawValue;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              uri_ = s;
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
+                uri_ = s;
+                break;
+              }
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              distribution_ = s;
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                components_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
+                distribution_ = s;
+                break;
               }
-              components_.add(s);
-              break;
-            }
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  components_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                components_.add(s);
+                break;
+              }
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              gpgKey_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                gpgKey_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9519,8 +10815,7 @@ private AptRepository(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           components_ = components_.getUnmodifiableView();
@@ -9529,29 +10824,35 @@ private AptRepository(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.GuestPolicies
+          .internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_AptRepository_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.GuestPolicies
+          .internal_static_google_cloud_osconfig_v1beta_AptRepository_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder.class);
+              com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.class,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * Type of archive.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.AptRepository.ArchiveType} */ - public enum ArchiveType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified.
        * 
@@ -9560,6 +10861,8 @@ public enum ArchiveType */ ARCHIVE_TYPE_UNSPECIFIED(0), /** + * + * *
        * DEB indicates that the archive contains binary files.
        * 
@@ -9568,6 +10871,8 @@ public enum ArchiveType */ DEB(1), /** + * + * *
        * DEB_SRC indicates that the archive contains source files.
        * 
@@ -9579,6 +10884,8 @@ public enum ArchiveType ; /** + * + * *
        * Unspecified.
        * 
@@ -9587,6 +10894,8 @@ public enum ArchiveType */ public static final int ARCHIVE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * DEB indicates that the archive contains binary files.
        * 
@@ -9595,6 +10904,8 @@ public enum ArchiveType */ public static final int DEB_VALUE = 1; /** + * + * *
        * DEB_SRC indicates that the archive contains source files.
        * 
@@ -9603,7 +10914,6 @@ public enum ArchiveType */ public static final int DEB_SRC_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -9628,49 +10938,51 @@ public static ArchiveType valueOf(int value) { */ public static ArchiveType forNumber(int value) { switch (value) { - case 0: return ARCHIVE_TYPE_UNSPECIFIED; - case 1: return DEB; - case 2: return DEB_SRC; - default: return null; + case 0: + return ARCHIVE_TYPE_UNSPECIFIED; + case 1: + return DEB; + case 2: + return DEB_SRC; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ArchiveType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ArchiveType findValueByNumber(int number) { - return ArchiveType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ArchiveType findValueByNumber(int number) { + return ArchiveType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDescriptor() + .getEnumTypes() + .get(0); } private static final ArchiveType[] VALUES = values(); - public static ArchiveType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ArchiveType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -9690,38 +11002,54 @@ private ArchiveType(int value) { public static final int ARCHIVE_TYPE_FIELD_NUMBER = 1; private int archiveType_; /** + * + * *
      * Type of archive files in this repository. The default behavior is DEB.
      * 
* * .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1; + * * @return The enum numeric value on the wire for archiveType. */ - @java.lang.Override public int getArchiveTypeValue() { + @java.lang.Override + public int getArchiveTypeValue() { return archiveType_; } /** + * + * *
      * Type of archive files in this repository. The default behavior is DEB.
      * 
* * .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1; + * * @return The archiveType. */ - @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType getArchiveType() { + @java.lang.Override + public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType + getArchiveType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType result = com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.valueOf(archiveType_); - return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType result = + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.valueOf( + archiveType_); + return result == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.UNRECOGNIZED + : result; } public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** + * + * *
      * Required. URI for this repository.
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ @java.lang.Override @@ -9730,29 +11058,29 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
      * Required. URI for this repository.
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -9763,11 +11091,14 @@ public java.lang.String getUri() { public static final int DISTRIBUTION_FIELD_NUMBER = 3; private volatile java.lang.Object distribution_; /** + * + * *
      * Required. Distribution of this repository.
      * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The distribution. */ @java.lang.Override @@ -9776,29 +11107,29 @@ public java.lang.String getDistribution() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; } } /** + * + * *
      * Required. Distribution of this repository.
      * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for distribution. */ @java.lang.Override - public com.google.protobuf.ByteString - getDistributionBytes() { + public com.google.protobuf.ByteString getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); distribution_ = b; return b; } else { @@ -9809,34 +11140,42 @@ public java.lang.String getDistribution() { public static final int COMPONENTS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList components_; /** + * + * *
      * Required. List of components for this repository. Must contain at least one item.
      * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the components. */ - public com.google.protobuf.ProtocolStringList - getComponentsList() { + public com.google.protobuf.ProtocolStringList getComponentsList() { return components_; } /** + * + * *
      * Required. List of components for this repository. Must contain at least one item.
      * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of components. */ public int getComponentsCount() { return components_.size(); } /** + * + * *
      * Required. List of components for this repository. Must contain at least one item.
      * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The components at the given index. */ @@ -9844,22 +11183,26 @@ public java.lang.String getComponents(int index) { return components_.get(index); } /** + * + * *
      * Required. List of components for this repository. Must contain at least one item.
      * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - public com.google.protobuf.ByteString - getComponentsBytes(int index) { + public com.google.protobuf.ByteString getComponentsBytes(int index) { return components_.getByteString(index); } public static final int GPG_KEY_FIELD_NUMBER = 5; private volatile java.lang.Object gpgKey_; /** + * + * *
      * URI of the key file for this repository. The agent maintains
      * a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
@@ -9867,6 +11210,7 @@ public java.lang.String getComponents(int index) {
      * 
* * string gpg_key = 5; + * * @return The gpgKey. */ @java.lang.Override @@ -9875,14 +11219,15 @@ public java.lang.String getGpgKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpgKey_ = s; return s; } } /** + * + * *
      * URI of the key file for this repository. The agent maintains
      * a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
@@ -9890,16 +11235,15 @@ public java.lang.String getGpgKey() {
      * 
* * string gpg_key = 5; + * * @return The bytes for gpgKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getGpgKeyBytes() { + public com.google.protobuf.ByteString getGpgKeyBytes() { java.lang.Object ref = gpgKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gpgKey_ = b; return b; } else { @@ -9908,6 +11252,7 @@ public java.lang.String getGpgKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9919,9 +11264,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (archiveType_ != com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (archiveType_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType + .ARCHIVE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, archiveType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { @@ -9945,9 +11292,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (archiveType_ != com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, archiveType_); + if (archiveType_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType + .ARCHIVE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, archiveType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_); @@ -9974,22 +11323,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository other = (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) obj; if (archiveType_ != other.archiveType_) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (!getDistribution() - .equals(other.getDistribution())) return false; - if (!getComponentsList() - .equals(other.getComponentsList())) return false; - if (!getGpgKey() - .equals(other.getGpgKey())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getDistribution().equals(other.getDistribution())) return false; + if (!getComponentsList().equals(other.getComponentsList())) return false; + if (!getGpgKey().equals(other.getGpgKey())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -10019,87 +11365,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository 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.osconfig.v1beta.GuestPolicies.AptRepository parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10109,6 +11462,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents a single Apt package repository. This repository is added to
      * a repo file that is stored at
@@ -10117,21 +11472,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.AptRepository}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.AptRepository)
         com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_AptRepository_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_AptRepository_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.class,
+                com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.newBuilder()
@@ -10139,16 +11497,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -10166,13 +11523,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository
+          getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDefaultInstance();
       }
 
@@ -10187,7 +11545,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository buildPartial() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository result = new com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository(this);
+        com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository result =
+            new com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository(this);
         int from_bitField0_ = bitField0_;
         result.archiveType_ = archiveType_;
         result.uri_ = uri_;
@@ -10206,38 +11565,41 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository buildPartial
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.GuestPolicies.AptRepository) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository)other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -10245,7 +11607,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository other) {
-        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDefaultInstance()) return this;
+        if (other
+            == com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDefaultInstance())
+          return this;
         if (other.archiveType_ != 0) {
           setArchiveTypeValue(other.getArchiveTypeValue());
         }
@@ -10290,7 +11654,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -10299,77 +11665,100 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private int archiveType_ = 0;
       /**
+       *
+       *
        * 
        * Type of archive files in this repository. The default behavior is DEB.
        * 
* * .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1; + * * @return The enum numeric value on the wire for archiveType. */ - @java.lang.Override public int getArchiveTypeValue() { + @java.lang.Override + public int getArchiveTypeValue() { return archiveType_; } /** + * + * *
        * Type of archive files in this repository. The default behavior is DEB.
        * 
* * .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1; + * * @param value The enum numeric value on the wire for archiveType to set. * @return This builder for chaining. */ public Builder setArchiveTypeValue(int value) { - + archiveType_ = value; onChanged(); return this; } /** + * + * *
        * Type of archive files in this repository. The default behavior is DEB.
        * 
* * .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1; + * * @return The archiveType. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType getArchiveType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType + getArchiveType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType result = com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.valueOf(archiveType_); - return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType result = + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.valueOf( + archiveType_); + return result == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType.UNRECOGNIZED + : result; } /** + * + * *
        * Type of archive files in this repository. The default behavior is DEB.
        * 
* * .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1; + * * @param value The archiveType to set. * @return This builder for chaining. */ - public Builder setArchiveType(com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType value) { + public Builder setArchiveType( + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.ArchiveType value) { if (value == null) { throw new NullPointerException(); } - + archiveType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Type of archive files in this repository. The default behavior is DEB.
        * 
* * .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1; + * * @return This builder for chaining. */ public Builder clearArchiveType() { - + archiveType_ = 0; onChanged(); return this; @@ -10377,18 +11766,20 @@ public Builder clearArchiveType() { private java.lang.Object uri_ = ""; /** + * + * *
        * Required. URI for this repository.
        * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -10397,20 +11788,21 @@ public java.lang.String getUri() { } } /** + * + * *
        * Required. URI for this repository.
        * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -10418,54 +11810,61 @@ public java.lang.String getUri() { } } /** + * + * *
        * Required. URI for this repository.
        * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { + public Builder setUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** + * + * *
        * Required. URI for this repository.
        * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** + * + * *
        * Required. URI for this repository.
        * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { + public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -10473,18 +11872,20 @@ public Builder setUriBytes( private java.lang.Object distribution_ = ""; /** + * + * *
        * Required. Distribution of this repository.
        * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The distribution. */ public java.lang.String getDistribution() { java.lang.Object ref = distribution_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; @@ -10493,20 +11894,21 @@ public java.lang.String getDistribution() { } } /** + * + * *
        * Required. Distribution of this repository.
        * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for distribution. */ - public com.google.protobuf.ByteString - getDistributionBytes() { + public com.google.protobuf.ByteString getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); distribution_ = b; return b; } else { @@ -10514,95 +11916,112 @@ public java.lang.String getDistribution() { } } /** + * + * *
        * Required. Distribution of this repository.
        * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The distribution to set. * @return This builder for chaining. */ - public Builder setDistribution( - java.lang.String value) { + public Builder setDistribution(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + distribution_ = value; onChanged(); return this; } /** + * + * *
        * Required. Distribution of this repository.
        * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDistribution() { - + distribution_ = getDefaultInstance().getDistribution(); onChanged(); return this; } /** + * + * *
        * Required. Distribution of this repository.
        * 
* * string distribution = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for distribution to set. * @return This builder for chaining. */ - public Builder setDistributionBytes( - com.google.protobuf.ByteString value) { + public Builder setDistributionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + distribution_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList components_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList components_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureComponentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { components_ = new com.google.protobuf.LazyStringArrayList(components_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * Required. List of components for this repository. Must contain at least one item.
        * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the components. */ - public com.google.protobuf.ProtocolStringList - getComponentsList() { + public com.google.protobuf.ProtocolStringList getComponentsList() { return components_.getUnmodifiableView(); } /** + * + * *
        * Required. List of components for this repository. Must contain at least one item.
        * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of components. */ public int getComponentsCount() { return components_.size(); } /** + * + * *
        * Required. List of components for this repository. Must contain at least one item.
        * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The components at the given index. */ @@ -10610,80 +12029,90 @@ public java.lang.String getComponents(int index) { return components_.get(index); } /** + * + * *
        * Required. List of components for this repository. Must contain at least one item.
        * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - public com.google.protobuf.ByteString - getComponentsBytes(int index) { + public com.google.protobuf.ByteString getComponentsBytes(int index) { return components_.getByteString(index); } /** + * + * *
        * Required. List of components for this repository. Must contain at least one item.
        * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The components to set. * @return This builder for chaining. */ - public Builder setComponents( - int index, java.lang.String value) { + public Builder setComponents(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureComponentsIsMutable(); + throw new NullPointerException(); + } + ensureComponentsIsMutable(); components_.set(index, value); onChanged(); return this; } /** + * + * *
        * Required. List of components for this repository. Must contain at least one item.
        * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The components to add. * @return This builder for chaining. */ - public Builder addComponents( - java.lang.String value) { + public Builder addComponents(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureComponentsIsMutable(); + throw new NullPointerException(); + } + ensureComponentsIsMutable(); components_.add(value); onChanged(); return this; } /** + * + * *
        * Required. List of components for this repository. Must contain at least one item.
        * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The components to add. * @return This builder for chaining. */ - public Builder addAllComponents( - java.lang.Iterable values) { + public Builder addAllComponents(java.lang.Iterable values) { ensureComponentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, components_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, components_); onChanged(); return this; } /** + * + * *
        * Required. List of components for this repository. Must contain at least one item.
        * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearComponents() { @@ -10693,20 +12122,22 @@ public Builder clearComponents() { return this; } /** + * + * *
        * Required. List of components for this repository. Must contain at least one item.
        * 
* * repeated string components = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the components to add. * @return This builder for chaining. */ - public Builder addComponentsBytes( - com.google.protobuf.ByteString value) { + public Builder addComponentsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureComponentsIsMutable(); components_.add(value); onChanged(); @@ -10715,6 +12146,8 @@ public Builder addComponentsBytes( private java.lang.Object gpgKey_ = ""; /** + * + * *
        * URI of the key file for this repository. The agent maintains
        * a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
@@ -10722,13 +12155,13 @@ public Builder addComponentsBytes(
        * 
* * string gpg_key = 5; + * * @return The gpgKey. */ public java.lang.String getGpgKey() { java.lang.Object ref = gpgKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpgKey_ = s; return s; @@ -10737,6 +12170,8 @@ public java.lang.String getGpgKey() { } } /** + * + * *
        * URI of the key file for this repository. The agent maintains
        * a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
@@ -10744,15 +12179,14 @@ public java.lang.String getGpgKey() {
        * 
* * string gpg_key = 5; + * * @return The bytes for gpgKey. */ - public com.google.protobuf.ByteString - getGpgKeyBytes() { + public com.google.protobuf.ByteString getGpgKeyBytes() { java.lang.Object ref = gpgKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gpgKey_ = b; return b; } else { @@ -10760,6 +12194,8 @@ public java.lang.String getGpgKey() { } } /** + * + * *
        * URI of the key file for this repository. The agent maintains
        * a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
@@ -10767,20 +12203,22 @@ public java.lang.String getGpgKey() {
        * 
* * string gpg_key = 5; + * * @param value The gpgKey to set. * @return This builder for chaining. */ - public Builder setGpgKey( - java.lang.String value) { + public Builder setGpgKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gpgKey_ = value; onChanged(); return this; } /** + * + * *
        * URI of the key file for this repository. The agent maintains
        * a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
@@ -10788,15 +12226,18 @@ public Builder setGpgKey(
        * 
* * string gpg_key = 5; + * * @return This builder for chaining. */ public Builder clearGpgKey() { - + gpgKey_ = getDefaultInstance().getGpgKey(); onChanged(); return this; } /** + * + * *
        * URI of the key file for this repository. The agent maintains
        * a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
@@ -10804,20 +12245,21 @@ public Builder clearGpgKey() {
        * 
* * string gpg_key = 5; + * * @param value The bytes for gpgKey to set. * @return This builder for chaining. */ - public Builder setGpgKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setGpgKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gpgKey_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10830,30 +12272,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.AptRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.AptRepository) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10865,17 +12309,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface YumRepositoryOrBuilder extends + public interface YumRepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.YumRepository) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. A one word, unique name for this repository. This is
      * the `repo id` in the Yum config file and also the `display_name` if
@@ -10884,10 +12331,13 @@ public interface YumRepositoryOrBuilder extends
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
      * Required. A one word, unique name for this repository. This is
      * the `repo id` in the Yum config file and also the `display_name` if
@@ -10896,93 +12346,115 @@ public interface YumRepositoryOrBuilder extends
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
      * The display name of the repository.
      * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
      * The display name of the repository.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
      * Required. The location of the repository directory.
      * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The baseUrl. */ java.lang.String getBaseUrl(); /** + * + * *
      * Required. The location of the repository directory.
      * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for baseUrl. */ - com.google.protobuf.ByteString - getBaseUrlBytes(); + com.google.protobuf.ByteString getBaseUrlBytes(); /** + * + * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; + * * @return A list containing the gpgKeys. */ - java.util.List - getGpgKeysList(); + java.util.List getGpgKeysList(); /** + * + * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; + * * @return The count of gpgKeys. */ int getGpgKeysCount(); /** + * + * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; + * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ java.lang.String getGpgKeys(int index); /** + * + * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - com.google.protobuf.ByteString - getGpgKeysBytes(int index); + com.google.protobuf.ByteString getGpgKeysBytes(int index); } /** + * + * *
    * Represents a single Yum package repository. This repository is added to a
    * repo file that is stored at `/etc/yum.repos.d/google_osconfig.repo`.
@@ -10990,15 +12462,16 @@ public interface YumRepositoryOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.YumRepository}
    */
-  public static final class YumRepository extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class YumRepository extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.YumRepository)
       YumRepositoryOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use YumRepository.newBuilder() to construct.
     private YumRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private YumRepository() {
       id_ = "";
       displayName_ = "";
@@ -11008,16 +12481,15 @@ private YumRepository() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new YumRepository();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private YumRepository(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -11037,40 +12509,44 @@ private YumRepository(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              id_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+                id_ = s;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
+                displayName_ = s;
+                break;
+              }
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              baseUrl_ = s;
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                gpgKeys_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
+                baseUrl_ = s;
+                break;
               }
-              gpgKeys_.add(s);
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  gpgKeys_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                gpgKeys_.add(s);
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -11078,8 +12554,7 @@ private YumRepository(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           gpgKeys_ = gpgKeys_.getUnmodifiableView();
@@ -11088,22 +12563,27 @@ private YumRepository(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.GuestPolicies
+          .internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_YumRepository_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.GuestPolicies
+          .internal_static_google_cloud_osconfig_v1beta_YumRepository_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder.class);
+              com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.class,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder.class);
     }
 
     public static final int ID_FIELD_NUMBER = 1;
     private volatile java.lang.Object id_;
     /**
+     *
+     *
      * 
      * Required. A one word, unique name for this repository. This is
      * the `repo id` in the Yum config file and also the `display_name` if
@@ -11112,6 +12592,7 @@ private YumRepository(
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ @java.lang.Override @@ -11120,14 +12601,15 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
      * Required. A one word, unique name for this repository. This is
      * the `repo id` in the Yum config file and also the `display_name` if
@@ -11136,16 +12618,15 @@ public java.lang.String getId() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -11156,11 +12637,14 @@ public java.lang.String getId() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
      * The display name of the repository.
      * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -11169,29 +12653,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
      * The display name of the repository.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -11202,11 +12686,14 @@ public java.lang.String getDisplayName() { public static final int BASE_URL_FIELD_NUMBER = 3; private volatile java.lang.Object baseUrl_; /** + * + * *
      * Required. The location of the repository directory.
      * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The baseUrl. */ @java.lang.Override @@ -11215,29 +12702,29 @@ public java.lang.String getBaseUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; } } /** + * + * *
      * Required. The location of the repository directory.
      * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for baseUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getBaseUrlBytes() { + public com.google.protobuf.ByteString getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -11248,34 +12735,42 @@ public java.lang.String getBaseUrl() { public static final int GPG_KEYS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList gpgKeys_; /** + * + * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; + * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList - getGpgKeysList() { + public com.google.protobuf.ProtocolStringList getGpgKeysList() { return gpgKeys_; } /** + * + * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; + * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** + * + * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; + * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -11283,20 +12778,23 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** + * + * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString - getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11308,8 +12806,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -11356,21 +12853,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository other = (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) obj; - if (!getId() - .equals(other.getId())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getBaseUrl() - .equals(other.getBaseUrl())) return false; - if (!getGpgKeysList() - .equals(other.getGpgKeysList())) return false; + if (!getId().equals(other.getId())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getBaseUrl().equals(other.getBaseUrl())) return false; + if (!getGpgKeysList().equals(other.getGpgKeysList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11398,87 +12892,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository 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.osconfig.v1beta.GuestPolicies.YumRepository parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11488,6 +12989,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents a single Yum package repository. This repository is added to a
      * repo file that is stored at `/etc/yum.repos.d/google_osconfig.repo`.
@@ -11495,21 +12998,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.YumRepository}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.YumRepository)
         com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_YumRepository_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_YumRepository_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.class,
+                com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.newBuilder()
@@ -11517,16 +13023,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -11542,13 +13047,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository
+          getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.getDefaultInstance();
       }
 
@@ -11563,7 +13069,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository buildPartial() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository result = new com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository(this);
+        com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository result =
+            new com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository(this);
         int from_bitField0_ = bitField0_;
         result.id_ = id_;
         result.displayName_ = displayName_;
@@ -11581,38 +13088,41 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository buildPartial
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.GuestPolicies.YumRepository) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository)other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -11620,7 +13130,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository other) {
-        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.getDefaultInstance()) return this;
+        if (other
+            == com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.getDefaultInstance())
+          return this;
         if (!other.getId().isEmpty()) {
           id_ = other.id_;
           onChanged();
@@ -11662,7 +13174,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -11671,10 +13185,13 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object id_ = "";
       /**
+       *
+       *
        * 
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the Yum config file and also the `display_name` if
@@ -11683,13 +13200,13 @@ public Builder mergeFrom(
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -11698,6 +13215,8 @@ public java.lang.String getId() { } } /** + * + * *
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the Yum config file and also the `display_name` if
@@ -11706,15 +13225,14 @@ public java.lang.String getId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -11722,6 +13240,8 @@ public java.lang.String getId() { } } /** + * + * *
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the Yum config file and also the `display_name` if
@@ -11730,20 +13250,22 @@ public java.lang.String getId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the Yum config file and also the `display_name` if
@@ -11752,15 +13274,18 @@ public Builder setId(
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the Yum config file and also the `display_name` if
@@ -11769,16 +13294,16 @@ public Builder clearId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -11786,18 +13311,20 @@ public Builder setIdBytes( private java.lang.Object displayName_ = ""; /** + * + * *
        * The display name of the repository.
        * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -11806,20 +13333,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * The display name of the repository.
        * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -11827,54 +13355,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * The display name of the repository.
        * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
        * The display name of the repository.
        * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
        * The display name of the repository.
        * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -11882,18 +13417,20 @@ public Builder setDisplayNameBytes( private java.lang.Object baseUrl_ = ""; /** + * + * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The baseUrl. */ public java.lang.String getBaseUrl() { java.lang.Object ref = baseUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; @@ -11902,20 +13439,21 @@ public java.lang.String getBaseUrl() { } } /** + * + * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for baseUrl. */ - public com.google.protobuf.ByteString - getBaseUrlBytes() { + public com.google.protobuf.ByteString getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -11923,95 +13461,112 @@ public java.lang.String getBaseUrl() { } } /** + * + * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrl( - java.lang.String value) { + public Builder setBaseUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + baseUrl_ = value; onChanged(); return this; } /** + * + * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBaseUrl() { - + baseUrl_ = getDefaultInstance().getBaseUrl(); onChanged(); return this; } /** + * + * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setBaseUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + baseUrl_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList gpgKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList gpgKeys_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureGpgKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { gpgKeys_ = new com.google.protobuf.LazyStringArrayList(gpgKeys_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; + * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList - getGpgKeysList() { + public com.google.protobuf.ProtocolStringList getGpgKeysList() { return gpgKeys_.getUnmodifiableView(); } /** + * + * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; + * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** + * + * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; + * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -12019,80 +13574,90 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** + * + * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString - getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } /** + * + * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; + * * @param index The index to set the value at. * @param value The gpgKeys to set. * @return This builder for chaining. */ - public Builder setGpgKeys( - int index, java.lang.String value) { + public Builder setGpgKeys(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.set(index, value); onChanged(); return this; } /** + * + * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; + * * @param value The gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeys( - java.lang.String value) { + public Builder addGpgKeys(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } /** + * + * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; + * * @param values The gpgKeys to add. * @return This builder for chaining. */ - public Builder addAllGpgKeys( - java.lang.Iterable values) { + public Builder addAllGpgKeys(java.lang.Iterable values) { ensureGpgKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, gpgKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, gpgKeys_); onChanged(); return this; } /** + * + * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; + * * @return This builder for chaining. */ public Builder clearGpgKeys() { @@ -12102,25 +13667,28 @@ public Builder clearGpgKeys() { return this; } /** + * + * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; + * * @param value The bytes of the gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeysBytes( - com.google.protobuf.ByteString value) { + public Builder addGpgKeysBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12133,30 +13701,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.YumRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.YumRepository) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12168,17 +13738,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ZypperRepositoryOrBuilder extends + public interface ZypperRepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ZypperRepository) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. A one word, unique name for this repository. This is
      * the `repo id` in the zypper config file and also the `display_name` if
@@ -12187,10 +13760,13 @@ public interface ZypperRepositoryOrBuilder extends
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
      * Required. A one word, unique name for this repository. This is
      * the `repo id` in the zypper config file and also the `display_name` if
@@ -12199,93 +13775,115 @@ public interface ZypperRepositoryOrBuilder extends
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
      * The display name of the repository.
      * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
      * The display name of the repository.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
      * Required. The location of the repository directory.
      * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The baseUrl. */ java.lang.String getBaseUrl(); /** + * + * *
      * Required. The location of the repository directory.
      * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for baseUrl. */ - com.google.protobuf.ByteString - getBaseUrlBytes(); + com.google.protobuf.ByteString getBaseUrlBytes(); /** + * + * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; + * * @return A list containing the gpgKeys. */ - java.util.List - getGpgKeysList(); + java.util.List getGpgKeysList(); /** + * + * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; + * * @return The count of gpgKeys. */ int getGpgKeysCount(); /** + * + * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; + * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ java.lang.String getGpgKeys(int index); /** + * + * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - com.google.protobuf.ByteString - getGpgKeysBytes(int index); + com.google.protobuf.ByteString getGpgKeysBytes(int index); } /** + * + * *
    * Represents a single Zypper package repository. This repository is added to a
    * repo file that is stored at `/etc/zypp/repos.d/google_osconfig.repo`.
@@ -12293,15 +13891,16 @@ public interface ZypperRepositoryOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.ZypperRepository}
    */
-  public static final class ZypperRepository extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ZypperRepository extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ZypperRepository)
       ZypperRepositoryOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ZypperRepository.newBuilder() to construct.
     private ZypperRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ZypperRepository() {
       id_ = "";
       displayName_ = "";
@@ -12311,16 +13910,15 @@ private ZypperRepository() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ZypperRepository();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private ZypperRepository(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -12340,40 +13938,44 @@ private ZypperRepository(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              id_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+                id_ = s;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
+                displayName_ = s;
+                break;
+              }
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              baseUrl_ = s;
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                gpgKeys_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
+                baseUrl_ = s;
+                break;
               }
-              gpgKeys_.add(s);
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  gpgKeys_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                gpgKeys_.add(s);
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -12381,8 +13983,7 @@ private ZypperRepository(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           gpgKeys_ = gpgKeys_.getUnmodifiableView();
@@ -12391,22 +13992,27 @@ private ZypperRepository(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.GuestPolicies
+          .internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ZypperRepository_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.GuestPolicies
+          .internal_static_google_cloud_osconfig_v1beta_ZypperRepository_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder.class);
+              com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.class,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder.class);
     }
 
     public static final int ID_FIELD_NUMBER = 1;
     private volatile java.lang.Object id_;
     /**
+     *
+     *
      * 
      * Required. A one word, unique name for this repository. This is
      * the `repo id` in the zypper config file and also the `display_name` if
@@ -12415,6 +14021,7 @@ private ZypperRepository(
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ @java.lang.Override @@ -12423,14 +14030,15 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
      * Required. A one word, unique name for this repository. This is
      * the `repo id` in the zypper config file and also the `display_name` if
@@ -12439,16 +14047,15 @@ public java.lang.String getId() {
      * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -12459,11 +14066,14 @@ public java.lang.String getId() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
      * The display name of the repository.
      * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -12472,29 +14082,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
      * The display name of the repository.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -12505,11 +14115,14 @@ public java.lang.String getDisplayName() { public static final int BASE_URL_FIELD_NUMBER = 3; private volatile java.lang.Object baseUrl_; /** + * + * *
      * Required. The location of the repository directory.
      * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The baseUrl. */ @java.lang.Override @@ -12518,29 +14131,29 @@ public java.lang.String getBaseUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; } } /** + * + * *
      * Required. The location of the repository directory.
      * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for baseUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getBaseUrlBytes() { + public com.google.protobuf.ByteString getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -12551,34 +14164,42 @@ public java.lang.String getBaseUrl() { public static final int GPG_KEYS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList gpgKeys_; /** + * + * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; + * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList - getGpgKeysList() { + public com.google.protobuf.ProtocolStringList getGpgKeysList() { return gpgKeys_; } /** + * + * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; + * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** + * + * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; + * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -12586,20 +14207,23 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** + * + * *
      * URIs of GPG keys.
      * 
* * repeated string gpg_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString - getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12611,8 +14235,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -12659,21 +14282,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository other = (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) obj; - if (!getId() - .equals(other.getId())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getBaseUrl() - .equals(other.getBaseUrl())) return false; - if (!getGpgKeysList() - .equals(other.getGpgKeysList())) return false; + if (!getId().equals(other.getId())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getBaseUrl().equals(other.getBaseUrl())) return false; + if (!getGpgKeysList().equals(other.getGpgKeysList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -12701,87 +14321,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository 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.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository 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.osconfig.v1beta.GuestPolicies.ZypperRepository + 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.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -12791,6 +14419,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents a single Zypper package repository. This repository is added to a
      * repo file that is stored at `/etc/zypp/repos.d/google_osconfig.repo`.
@@ -12798,38 +14428,41 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.ZypperRepository}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ZypperRepository)
         com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ZypperRepository_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_ZypperRepository_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.class,
+                com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder.class);
       }
 
-      // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.newBuilder()
+      // Construct using
+      // com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -12845,13 +14478,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository
+          getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance();
       }
 
@@ -12866,7 +14500,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository buildPartial() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository result = new com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository(this);
+        com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository result =
+            new com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository(this);
         int from_bitField0_ = bitField0_;
         result.id_ = id_;
         result.displayName_ = displayName_;
@@ -12884,46 +14519,52 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository buildPart
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.GuestPolicies.ZypperRepository) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository)other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository other) {
-        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository other) {
+        if (other
+            == com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance())
+          return this;
         if (!other.getId().isEmpty()) {
           id_ = other.id_;
           onChanged();
@@ -12965,7 +14606,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -12974,10 +14617,13 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object id_ = "";
       /**
+       *
+       *
        * 
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the zypper config file and also the `display_name` if
@@ -12986,13 +14632,13 @@ public Builder mergeFrom(
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -13001,6 +14647,8 @@ public java.lang.String getId() { } } /** + * + * *
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the zypper config file and also the `display_name` if
@@ -13009,15 +14657,14 @@ public java.lang.String getId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -13025,6 +14672,8 @@ public java.lang.String getId() { } } /** + * + * *
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the zypper config file and also the `display_name` if
@@ -13033,20 +14682,22 @@ public java.lang.String getId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the zypper config file and also the `display_name` if
@@ -13055,15 +14706,18 @@ public Builder setId(
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
        * Required. A one word, unique name for this repository. This is
        * the `repo id` in the zypper config file and also the `display_name` if
@@ -13072,16 +14726,16 @@ public Builder clearId() {
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -13089,18 +14743,20 @@ public Builder setIdBytes( private java.lang.Object displayName_ = ""; /** + * + * *
        * The display name of the repository.
        * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -13109,20 +14765,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * The display name of the repository.
        * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -13130,54 +14787,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * The display name of the repository.
        * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
        * The display name of the repository.
        * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
        * The display name of the repository.
        * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -13185,18 +14849,20 @@ public Builder setDisplayNameBytes( private java.lang.Object baseUrl_ = ""; /** + * + * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The baseUrl. */ public java.lang.String getBaseUrl() { java.lang.Object ref = baseUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseUrl_ = s; return s; @@ -13205,20 +14871,21 @@ public java.lang.String getBaseUrl() { } } /** + * + * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for baseUrl. */ - public com.google.protobuf.ByteString - getBaseUrlBytes() { + public com.google.protobuf.ByteString getBaseUrlBytes() { java.lang.Object ref = baseUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); baseUrl_ = b; return b; } else { @@ -13226,95 +14893,112 @@ public java.lang.String getBaseUrl() { } } /** + * + * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrl( - java.lang.String value) { + public Builder setBaseUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + baseUrl_ = value; onChanged(); return this; } /** + * + * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBaseUrl() { - + baseUrl_ = getDefaultInstance().getBaseUrl(); onChanged(); return this; } /** + * + * *
        * Required. The location of the repository directory.
        * 
* * string base_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for baseUrl to set. * @return This builder for chaining. */ - public Builder setBaseUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setBaseUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + baseUrl_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList gpgKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList gpgKeys_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureGpgKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { gpgKeys_ = new com.google.protobuf.LazyStringArrayList(gpgKeys_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; + * * @return A list containing the gpgKeys. */ - public com.google.protobuf.ProtocolStringList - getGpgKeysList() { + public com.google.protobuf.ProtocolStringList getGpgKeysList() { return gpgKeys_.getUnmodifiableView(); } /** + * + * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; + * * @return The count of gpgKeys. */ public int getGpgKeysCount() { return gpgKeys_.size(); } /** + * + * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; + * * @param index The index of the element to return. * @return The gpgKeys at the given index. */ @@ -13322,80 +15006,90 @@ public java.lang.String getGpgKeys(int index) { return gpgKeys_.get(index); } /** + * + * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the gpgKeys at the given index. */ - public com.google.protobuf.ByteString - getGpgKeysBytes(int index) { + public com.google.protobuf.ByteString getGpgKeysBytes(int index) { return gpgKeys_.getByteString(index); } /** + * + * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; + * * @param index The index to set the value at. * @param value The gpgKeys to set. * @return This builder for chaining. */ - public Builder setGpgKeys( - int index, java.lang.String value) { + public Builder setGpgKeys(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.set(index, value); onChanged(); return this; } /** + * + * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; + * * @param value The gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeys( - java.lang.String value) { + public Builder addGpgKeys(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGpgKeysIsMutable(); + throw new NullPointerException(); + } + ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } /** + * + * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; + * * @param values The gpgKeys to add. * @return This builder for chaining. */ - public Builder addAllGpgKeys( - java.lang.Iterable values) { + public Builder addAllGpgKeys(java.lang.Iterable values) { ensureGpgKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, gpgKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, gpgKeys_); onChanged(); return this; } /** + * + * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; + * * @return This builder for chaining. */ public Builder clearGpgKeys() { @@ -13405,25 +15099,28 @@ public Builder clearGpgKeys() { return this; } /** + * + * *
        * URIs of GPG keys.
        * 
* * repeated string gpg_keys = 4; + * * @param value The bytes of the gpgKeys to add. * @return This builder for chaining. */ - public Builder addGpgKeysBytes( - com.google.protobuf.ByteString value) { + public Builder addGpgKeysBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGpgKeysIsMutable(); gpgKeys_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13436,30 +15133,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ZypperRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ZypperRepository) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ZypperRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ZypperRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ZypperRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ZypperRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13471,57 +15170,70 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GooRepositoryOrBuilder extends + public interface GooRepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.GooRepository) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The name of the repository.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The name of the repository.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * Required. The url of the repository.
      * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ java.lang.String getUrl(); /** + * + * *
      * Required. The url of the repository.
      * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ - com.google.protobuf.ByteString - getUrlBytes(); + com.google.protobuf.ByteString getUrlBytes(); } /** + * + * *
    * Represents a Goo package repository. These is added to a repo file
    * that is stored at C:/ProgramData/GooGet/repos/google_osconfig.repo.
@@ -13529,15 +15241,16 @@ public interface GooRepositoryOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.GooRepository}
    */
-  public static final class GooRepository extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class GooRepository extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.GooRepository)
       GooRepositoryOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use GooRepository.newBuilder() to construct.
     private GooRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private GooRepository() {
       name_ = "";
       url_ = "";
@@ -13545,16 +15258,15 @@ private GooRepository() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new GooRepository();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private GooRepository(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -13573,25 +15285,27 @@ private GooRepository(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+                name_ = s;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              url_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                url_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -13599,34 +15313,39 @@ private GooRepository(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.GuestPolicies
+          .internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GooRepository_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.GuestPolicies
+          .internal_static_google_cloud_osconfig_v1beta_GooRepository_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder.class);
+              com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.class,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder.class);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object name_;
     /**
+     *
+     *
      * 
      * Required. The name of the repository.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -13635,29 +15354,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. The name of the repository.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -13668,11 +15387,14 @@ public java.lang.String getName() { public static final int URL_FIELD_NUMBER = 2; private volatile java.lang.Object url_; /** + * + * *
      * Required. The url of the repository.
      * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ @java.lang.Override @@ -13681,29 +15403,29 @@ public java.lang.String getUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; } } /** + * + * *
      * Required. The url of the repository.
      * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); url_ = b; return b; } else { @@ -13712,6 +15434,7 @@ public java.lang.String getUrl() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13723,8 +15446,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -13754,17 +15476,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository other = (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getUrl() - .equals(other.getUrl())) return false; + if (!getName().equals(other.getName())) return false; + if (!getUrl().equals(other.getUrl())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -13786,87 +15507,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository 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.osconfig.v1beta.GuestPolicies.GooRepository parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -13876,6 +15604,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents a Goo package repository. These is added to a repo file
      * that is stored at C:/ProgramData/GooGet/repos/google_osconfig.repo.
@@ -13883,21 +15613,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.GooRepository}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.GooRepository)
         com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GooRepository_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_GooRepository_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.class,
+                com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.newBuilder()
@@ -13905,16 +15638,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -13926,13 +15658,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository
+          getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.getDefaultInstance();
       }
 
@@ -13947,7 +15680,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository buildPartial() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository result = new com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository(this);
+        com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository result =
+            new com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository(this);
         result.name_ = name_;
         result.url_ = url_;
         onBuilt();
@@ -13958,38 +15692,41 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository buildPartial
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.GuestPolicies.GooRepository) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository)other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -13997,7 +15734,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository other) {
-        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.getDefaultInstance()) return this;
+        if (other
+            == com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.getDefaultInstance())
+          return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -14025,7 +15764,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -14037,18 +15778,20 @@ public Builder mergeFrom(
 
       private java.lang.Object name_ = "";
       /**
+       *
+       *
        * 
        * Required. The name of the repository.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -14057,20 +15800,21 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name of the repository.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -14078,54 +15822,61 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name of the repository.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. The name of the repository.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. The name of the repository.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -14133,18 +15884,20 @@ public Builder setNameBytes( private java.lang.Object url_ = ""; /** + * + * *
        * Required. The url of the repository.
        * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; @@ -14153,20 +15906,21 @@ public java.lang.String getUrl() { } } /** + * + * *
        * Required. The url of the repository.
        * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); url_ = b; return b; } else { @@ -14174,58 +15928,66 @@ public java.lang.String getUrl() { } } /** + * + * *
        * Required. The url of the repository.
        * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl( - java.lang.String value) { + public Builder setUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** + * + * *
        * Required. The url of the repository.
        * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** + * + * *
        * Required. The url of the repository.
        * 
* * string url = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14238,30 +16000,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.GooRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.GooRepository) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GooRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GooRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GooRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GooRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14273,35 +16037,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PackageRepositoryOrBuilder extends + public interface PackageRepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PackageRepository) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * An Apt Repository.
      * 
* * .google.cloud.osconfig.v1beta.AptRepository apt = 1; + * * @return Whether the apt field is set. */ boolean hasApt(); /** + * + * *
      * An Apt Repository.
      * 
* * .google.cloud.osconfig.v1beta.AptRepository apt = 1; + * * @return The apt. */ com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository getApt(); /** + * + * *
      * An Apt Repository.
      * 
@@ -14311,24 +16084,32 @@ public interface PackageRepositoryOrBuilder extends com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder getAptOrBuilder(); /** + * + * *
      * A Yum Repository.
      * 
* * .google.cloud.osconfig.v1beta.YumRepository yum = 2; + * * @return Whether the yum field is set. */ boolean hasYum(); /** + * + * *
      * A Yum Repository.
      * 
* * .google.cloud.osconfig.v1beta.YumRepository yum = 2; + * * @return The yum. */ com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository getYum(); /** + * + * *
      * A Yum Repository.
      * 
@@ -14338,24 +16119,32 @@ public interface PackageRepositoryOrBuilder extends com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder getYumOrBuilder(); /** + * + * *
      * A Zypper Repository.
      * 
* * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; + * * @return Whether the zypper field is set. */ boolean hasZypper(); /** + * + * *
      * A Zypper Repository.
      * 
* * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; + * * @return The zypper. */ com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository getZypper(); /** + * + * *
      * A Zypper Repository.
      * 
@@ -14365,24 +16154,32 @@ public interface PackageRepositoryOrBuilder extends com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder getZypperOrBuilder(); /** + * + * *
      * A Goo Repository.
      * 
* * .google.cloud.osconfig.v1beta.GooRepository goo = 4; + * * @return Whether the goo field is set. */ boolean hasGoo(); /** + * + * *
      * A Goo Repository.
      * 
* * .google.cloud.osconfig.v1beta.GooRepository goo = 4; + * * @return The goo. */ com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository getGoo(); /** + * + * *
      * A Goo Repository.
      * 
@@ -14391,39 +16188,41 @@ public interface PackageRepositoryOrBuilder extends */ com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder getGooOrBuilder(); - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.RepositoryCase getRepositoryCase(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.RepositoryCase + getRepositoryCase(); } /** + * + * *
    * A package repository.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.PackageRepository} */ - public static final class PackageRepository extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PackageRepository extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PackageRepository) PackageRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PackageRepository.newBuilder() to construct. private PackageRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PackageRepository() { - } + + private PackageRepository() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PackageRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PackageRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -14442,69 +16241,99 @@ private PackageRepository( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder subBuilder = null; - if (repositoryCase_ == 1) { - subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_).toBuilder(); - } - repository_ = - input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_); - repository_ = subBuilder.buildPartial(); - } - repositoryCase_ = 1; - break; - } - case 18: { - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder subBuilder = null; - if (repositoryCase_ == 2) { - subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_).toBuilder(); - } - repository_ = - input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_); - repository_ = subBuilder.buildPartial(); - } - repositoryCase_ = 2; - break; - } - case 26: { - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder subBuilder = null; - if (repositoryCase_ == 3) { - subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_).toBuilder(); + case 10: + { + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder subBuilder = + null; + if (repositoryCase_ == 1) { + subBuilder = + ((com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_) + .toBuilder(); + } + repository_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_); + repository_ = subBuilder.buildPartial(); + } + repositoryCase_ = 1; + break; } - repository_ = - input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_); - repository_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder subBuilder = + null; + if (repositoryCase_ == 2) { + subBuilder = + ((com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_) + .toBuilder(); + } + repository_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_); + repository_ = subBuilder.buildPartial(); + } + repositoryCase_ = 2; + break; } - repositoryCase_ = 3; - break; - } - case 34: { - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder subBuilder = null; - if (repositoryCase_ == 4) { - subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_).toBuilder(); + case 26: + { + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder subBuilder = + null; + if (repositoryCase_ == 3) { + subBuilder = + ((com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) + repository_) + .toBuilder(); + } + repository_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) + repository_); + repository_ = subBuilder.buildPartial(); + } + repositoryCase_ = 3; + break; } - repository_ = - input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_); - repository_ = subBuilder.buildPartial(); + case 34: + { + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder subBuilder = + null; + if (repositoryCase_ == 4) { + subBuilder = + ((com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_) + .toBuilder(); + } + repository_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_); + repository_ = subBuilder.buildPartial(); + } + repositoryCase_ = 4; + break; } - repositoryCase_ = 4; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -14512,30 +16341,34 @@ private PackageRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_PackageRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_PackageRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder.class); } private int repositoryCase_ = 0; private java.lang.Object repository_; + public enum RepositoryCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { APT(1), YUM(2), @@ -14543,6 +16376,7 @@ public enum RepositoryCase GOO(4), REPOSITORY_NOT_SET(0); private final int value; + private RepositoryCase(int value) { this.value = value; } @@ -14558,32 +16392,40 @@ public static RepositoryCase valueOf(int value) { public static RepositoryCase forNumber(int value) { switch (value) { - case 1: return APT; - case 2: return YUM; - case 3: return ZYPPER; - case 4: return GOO; - case 0: return REPOSITORY_NOT_SET; - default: return null; + case 1: + return APT; + case 2: + return YUM; + case 3: + return ZYPPER; + case 4: + return GOO; + case 0: + return REPOSITORY_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RepositoryCase - getRepositoryCase() { - return RepositoryCase.forNumber( - repositoryCase_); + public RepositoryCase getRepositoryCase() { + return RepositoryCase.forNumber(repositoryCase_); } public static final int APT_FIELD_NUMBER = 1; /** + * + * *
      * An Apt Repository.
      * 
* * .google.cloud.osconfig.v1beta.AptRepository apt = 1; + * * @return Whether the apt field is set. */ @java.lang.Override @@ -14591,21 +16433,26 @@ public boolean hasApt() { return repositoryCase_ == 1; } /** + * + * *
      * An Apt Repository.
      * 
* * .google.cloud.osconfig.v1beta.AptRepository apt = 1; + * * @return The apt. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository getApt() { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_; } return com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDefaultInstance(); } /** + * + * *
      * An Apt Repository.
      * 
@@ -14615,18 +16462,21 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository getApt() { @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder getAptOrBuilder() { if (repositoryCase_ == 1) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_; } return com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDefaultInstance(); } public static final int YUM_FIELD_NUMBER = 2; /** + * + * *
      * A Yum Repository.
      * 
* * .google.cloud.osconfig.v1beta.YumRepository yum = 2; + * * @return Whether the yum field is set. */ @java.lang.Override @@ -14634,21 +16484,26 @@ public boolean hasYum() { return repositoryCase_ == 2; } /** + * + * *
      * A Yum Repository.
      * 
* * .google.cloud.osconfig.v1beta.YumRepository yum = 2; + * * @return The yum. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository getYum() { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_; } return com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.getDefaultInstance(); } /** + * + * *
      * A Yum Repository.
      * 
@@ -14658,18 +16513,21 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository getYum() { @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder getYumOrBuilder() { if (repositoryCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_; } return com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.getDefaultInstance(); } public static final int ZYPPER_FIELD_NUMBER = 3; /** + * + * *
      * A Zypper Repository.
      * 
* * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; + * * @return Whether the zypper field is set. */ @java.lang.Override @@ -14677,21 +16535,26 @@ public boolean hasZypper() { return repositoryCase_ == 3; } /** + * + * *
      * A Zypper Repository.
      * 
* * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; + * * @return The zypper. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository getZypper() { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_; } return com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance(); } /** + * + * *
      * A Zypper Repository.
      * 
@@ -14699,20 +16562,24 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository getZypper * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder getZypperOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder + getZypperOrBuilder() { if (repositoryCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_; } return com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance(); } public static final int GOO_FIELD_NUMBER = 4; /** + * + * *
      * A Goo Repository.
      * 
* * .google.cloud.osconfig.v1beta.GooRepository goo = 4; + * * @return Whether the goo field is set. */ @java.lang.Override @@ -14720,21 +16587,26 @@ public boolean hasGoo() { return repositoryCase_ == 4; } /** + * + * *
      * A Goo Repository.
      * 
* * .google.cloud.osconfig.v1beta.GooRepository goo = 4; + * * @return The goo. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository getGoo() { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_; } return com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.getDefaultInstance(); } /** + * + * *
      * A Goo Repository.
      * 
@@ -14744,12 +16616,13 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository getGoo() { @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder getGooOrBuilder() { if (repositoryCase_ == 4) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_; } return com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -14761,19 +16634,22 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (repositoryCase_ == 1) { - output.writeMessage(1, (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_); + output.writeMessage( + 1, (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_); } if (repositoryCase_ == 2) { - output.writeMessage(2, (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_); + output.writeMessage( + 2, (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_); } if (repositoryCase_ == 3) { - output.writeMessage(3, (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_); + output.writeMessage( + 3, (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_); } if (repositoryCase_ == 4) { - output.writeMessage(4, (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_); + output.writeMessage( + 4, (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_); } unknownFields.writeTo(output); } @@ -14785,20 +16661,24 @@ public int getSerializedSize() { size = 0; if (repositoryCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_); } if (repositoryCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_); } if (repositoryCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_); } if (repositoryCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -14808,30 +16688,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository other = (com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository) obj; if (!getRepositoryCase().equals(other.getRepositoryCase())) return false; switch (repositoryCase_) { case 1: - if (!getApt() - .equals(other.getApt())) return false; + if (!getApt().equals(other.getApt())) return false; break; case 2: - if (!getYum() - .equals(other.getYum())) return false; + if (!getYum().equals(other.getYum())) return false; break; case 3: - if (!getZypper() - .equals(other.getZypper())) return false; + if (!getZypper().equals(other.getZypper())) return false; break; case 4: - if (!getGoo() - .equals(other.getGoo())) return false; + if (!getGoo().equals(other.getGoo())) return false; break; case 0: default: @@ -14873,87 +16750,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository 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.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository 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.osconfig.v1beta.GuestPolicies.PackageRepository + 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.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -14963,44 +16848,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A package repository.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.PackageRepository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PackageRepository) com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_PackageRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_PackageRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -15010,14 +16900,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository + .getDefaultInstance(); } @java.lang.Override @@ -15031,7 +16923,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository build() @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository result = new com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository(this); + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository(this); if (repositoryCase_ == 1) { if (aptBuilder_ == null) { result.repository_ = repository_; @@ -15069,66 +16962,78 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.PackageRepository) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository)other); + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository + .getDefaultInstance()) return this; switch (other.getRepositoryCase()) { - case APT: { - mergeApt(other.getApt()); - break; - } - case YUM: { - mergeYum(other.getYum()); - break; - } - case ZYPPER: { - mergeZypper(other.getZypper()); - break; - } - case GOO: { - mergeGoo(other.getGoo()); - break; - } - case REPOSITORY_NOT_SET: { - break; - } + case APT: + { + mergeApt(other.getApt()); + break; + } + case YUM: + { + mergeYum(other.getYum()); + break; + } + case ZYPPER: + { + mergeZypper(other.getZypper()); + break; + } + case GOO: + { + mergeGoo(other.getGoo()); + break; + } + case REPOSITORY_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -15149,7 +17054,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -15158,12 +17065,12 @@ public Builder mergeFrom( } return this; } + private int repositoryCase_ = 0; private java.lang.Object repository_; - public RepositoryCase - getRepositoryCase() { - return RepositoryCase.forNumber( - repositoryCase_); + + public RepositoryCase getRepositoryCase() { + return RepositoryCase.forNumber(repositoryCase_); } public Builder clearRepository() { @@ -15173,15 +17080,20 @@ public Builder clearRepository() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder> aptBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder> + aptBuilder_; /** + * + * *
        * An Apt Repository.
        * 
* * .google.cloud.osconfig.v1beta.AptRepository apt = 1; + * * @return Whether the apt field is set. */ @java.lang.Override @@ -15189,11 +17101,14 @@ public boolean hasApt() { return repositoryCase_ == 1; } /** + * + * *
        * An Apt Repository.
        * 
* * .google.cloud.osconfig.v1beta.AptRepository apt = 1; + * * @return The apt. */ @java.lang.Override @@ -15211,6 +17126,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository getApt() { } } /** + * + * *
        * An Apt Repository.
        * 
@@ -15231,6 +17148,8 @@ public Builder setApt(com.google.cloud.osconfig.v1beta.GuestPolicies.AptReposito return this; } /** + * + * *
        * An Apt Repository.
        * 
@@ -15249,6 +17168,8 @@ public Builder setApt( return this; } /** + * + * *
        * An Apt Repository.
        * 
@@ -15257,10 +17178,15 @@ public Builder setApt( */ public Builder mergeApt(com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository value) { if (aptBuilder_ == null) { - if (repositoryCase_ == 1 && - repository_ != com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDefaultInstance()) { - repository_ = com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_) - .mergeFrom(value).buildPartial(); + if (repositoryCase_ == 1 + && repository_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository + .getDefaultInstance()) { + repository_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.newBuilder( + (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -15276,6 +17202,8 @@ public Builder mergeApt(com.google.cloud.osconfig.v1beta.GuestPolicies.AptReposi return this; } /** + * + * *
        * An Apt Repository.
        * 
@@ -15299,6 +17227,8 @@ public Builder clearApt() { return this; } /** + * + * *
        * An Apt Repository.
        * 
@@ -15309,6 +17239,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder getA return getAptFieldBuilder().getBuilder(); } /** + * + * *
        * An Apt Repository.
        * 
@@ -15316,7 +17248,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder getA * .google.cloud.osconfig.v1beta.AptRepository apt = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder getAptOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder + getAptOrBuilder() { if ((repositoryCase_ == 1) && (aptBuilder_ != null)) { return aptBuilder_.getMessageOrBuilder(); } else { @@ -15327,6 +17260,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder get } } /** + * + * *
        * An Apt Repository.
        * 
@@ -15334,32 +17269,45 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder get * .google.cloud.osconfig.v1beta.AptRepository apt = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder> getAptFieldBuilder() { if (aptBuilder_ == null) { if (!(repositoryCase_ == 1)) { - repository_ = com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDefaultInstance(); - } - aptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder>( + repository_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.getDefaultInstance(); + } + aptBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepositoryOrBuilder>( (com.google.cloud.osconfig.v1beta.GuestPolicies.AptRepository) repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 1; - onChanged();; + onChanged(); + ; return aptBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder> yumBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder> + yumBuilder_; /** + * + * *
        * A Yum Repository.
        * 
* * .google.cloud.osconfig.v1beta.YumRepository yum = 2; + * * @return Whether the yum field is set. */ @java.lang.Override @@ -15367,11 +17315,14 @@ public boolean hasYum() { return repositoryCase_ == 2; } /** + * + * *
        * A Yum Repository.
        * 
* * .google.cloud.osconfig.v1beta.YumRepository yum = 2; + * * @return The yum. */ @java.lang.Override @@ -15389,6 +17340,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository getYum() { } } /** + * + * *
        * A Yum Repository.
        * 
@@ -15409,6 +17362,8 @@ public Builder setYum(com.google.cloud.osconfig.v1beta.GuestPolicies.YumReposito return this; } /** + * + * *
        * A Yum Repository.
        * 
@@ -15427,6 +17382,8 @@ public Builder setYum( return this; } /** + * + * *
        * A Yum Repository.
        * 
@@ -15435,10 +17392,15 @@ public Builder setYum( */ public Builder mergeYum(com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository value) { if (yumBuilder_ == null) { - if (repositoryCase_ == 2 && - repository_ != com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.getDefaultInstance()) { - repository_ = com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_) - .mergeFrom(value).buildPartial(); + if (repositoryCase_ == 2 + && repository_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository + .getDefaultInstance()) { + repository_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.newBuilder( + (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -15454,6 +17416,8 @@ public Builder mergeYum(com.google.cloud.osconfig.v1beta.GuestPolicies.YumReposi return this; } /** + * + * *
        * A Yum Repository.
        * 
@@ -15477,6 +17441,8 @@ public Builder clearYum() { return this; } /** + * + * *
        * A Yum Repository.
        * 
@@ -15487,6 +17453,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder getY return getYumFieldBuilder().getBuilder(); } /** + * + * *
        * A Yum Repository.
        * 
@@ -15494,7 +17462,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder getY * .google.cloud.osconfig.v1beta.YumRepository yum = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder getYumOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder + getYumOrBuilder() { if ((repositoryCase_ == 2) && (yumBuilder_ != null)) { return yumBuilder_.getMessageOrBuilder(); } else { @@ -15505,6 +17474,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder get } } /** + * + * *
        * A Yum Repository.
        * 
@@ -15512,32 +17483,45 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder get * .google.cloud.osconfig.v1beta.YumRepository yum = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder> getYumFieldBuilder() { if (yumBuilder_ == null) { if (!(repositoryCase_ == 2)) { - repository_ = com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.getDefaultInstance(); - } - yumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder>( + repository_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.getDefaultInstance(); + } + yumBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepositoryOrBuilder>( (com.google.cloud.osconfig.v1beta.GuestPolicies.YumRepository) repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 2; - onChanged();; + onChanged(); + ; return yumBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder> zypperBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder> + zypperBuilder_; /** + * + * *
        * A Zypper Repository.
        * 
* * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; + * * @return Whether the zypper field is set. */ @java.lang.Override @@ -15545,11 +17529,14 @@ public boolean hasZypper() { return repositoryCase_ == 3; } /** + * + * *
        * A Zypper Repository.
        * 
* * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; + * * @return The zypper. */ @java.lang.Override @@ -15558,22 +17545,27 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository getZypper if (repositoryCase_ == 3) { return (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository + .getDefaultInstance(); } else { if (repositoryCase_ == 3) { return zypperBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository + .getDefaultInstance(); } } /** + * + * *
        * A Zypper Repository.
        * 
* * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; */ - public Builder setZypper(com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository value) { + public Builder setZypper( + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository value) { if (zypperBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -15587,6 +17579,8 @@ public Builder setZypper(com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRe return this; } /** + * + * *
        * A Zypper Repository.
        * 
@@ -15605,18 +17599,27 @@ public Builder setZypper( return this; } /** + * + * *
        * A Zypper Repository.
        * 
* * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; */ - public Builder mergeZypper(com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository value) { + public Builder mergeZypper( + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository value) { if (zypperBuilder_ == null) { - if (repositoryCase_ == 3 && - repository_ != com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance()) { - repository_ = com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_) - .mergeFrom(value).buildPartial(); + if (repositoryCase_ == 3 + && repository_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository + .getDefaultInstance()) { + repository_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.newBuilder( + (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) + repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -15632,6 +17635,8 @@ public Builder mergeZypper(com.google.cloud.osconfig.v1beta.GuestPolicies.Zypper return this; } /** + * + * *
        * A Zypper Repository.
        * 
@@ -15655,16 +17660,21 @@ public Builder clearZypper() { return this; } /** + * + * *
        * A Zypper Repository.
        * 
* * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder getZypperBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder + getZypperBuilder() { return getZypperFieldBuilder().getBuilder(); } /** + * + * *
        * A Zypper Repository.
        * 
@@ -15672,17 +17682,21 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder g * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder getZypperOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder + getZypperOrBuilder() { if ((repositoryCase_ == 3) && (zypperBuilder_ != null)) { return zypperBuilder_.getMessageOrBuilder(); } else { if (repositoryCase_ == 3) { return (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository + .getDefaultInstance(); } } /** + * + * *
        * A Zypper Repository.
        * 
@@ -15690,32 +17704,46 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder * .google.cloud.osconfig.v1beta.ZypperRepository zypper = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder> getZypperFieldBuilder() { if (zypperBuilder_ == null) { if (!(repositoryCase_ == 3)) { - repository_ = com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.getDefaultInstance(); - } - zypperBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder>( + repository_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository + .getDefaultInstance(); + } + zypperBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepositoryOrBuilder>( (com.google.cloud.osconfig.v1beta.GuestPolicies.ZypperRepository) repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 3; - onChanged();; + onChanged(); + ; return zypperBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder> gooBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder> + gooBuilder_; /** + * + * *
        * A Goo Repository.
        * 
* * .google.cloud.osconfig.v1beta.GooRepository goo = 4; + * * @return Whether the goo field is set. */ @java.lang.Override @@ -15723,11 +17751,14 @@ public boolean hasGoo() { return repositoryCase_ == 4; } /** + * + * *
        * A Goo Repository.
        * 
* * .google.cloud.osconfig.v1beta.GooRepository goo = 4; + * * @return The goo. */ @java.lang.Override @@ -15745,6 +17776,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository getGoo() { } } /** + * + * *
        * A Goo Repository.
        * 
@@ -15765,6 +17798,8 @@ public Builder setGoo(com.google.cloud.osconfig.v1beta.GuestPolicies.GooReposito return this; } /** + * + * *
        * A Goo Repository.
        * 
@@ -15783,6 +17818,8 @@ public Builder setGoo( return this; } /** + * + * *
        * A Goo Repository.
        * 
@@ -15791,10 +17828,15 @@ public Builder setGoo( */ public Builder mergeGoo(com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository value) { if (gooBuilder_ == null) { - if (repositoryCase_ == 4 && - repository_ != com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.getDefaultInstance()) { - repository_ = com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_) - .mergeFrom(value).buildPartial(); + if (repositoryCase_ == 4 + && repository_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository + .getDefaultInstance()) { + repository_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.newBuilder( + (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -15810,6 +17852,8 @@ public Builder mergeGoo(com.google.cloud.osconfig.v1beta.GuestPolicies.GooReposi return this; } /** + * + * *
        * A Goo Repository.
        * 
@@ -15833,6 +17877,8 @@ public Builder clearGoo() { return this; } /** + * + * *
        * A Goo Repository.
        * 
@@ -15843,6 +17889,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder getG return getGooFieldBuilder().getBuilder(); } /** + * + * *
        * A Goo Repository.
        * 
@@ -15850,7 +17898,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder getG * .google.cloud.osconfig.v1beta.GooRepository goo = 4; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder getGooOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder + getGooOrBuilder() { if ((repositoryCase_ == 4) && (gooBuilder_ != null)) { return gooBuilder_.getMessageOrBuilder(); } else { @@ -15861,6 +17910,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder get } } /** + * + * *
        * A Goo Repository.
        * 
@@ -15868,23 +17919,31 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder get * .google.cloud.osconfig.v1beta.GooRepository goo = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder> getGooFieldBuilder() { if (gooBuilder_ == null) { if (!(repositoryCase_ == 4)) { - repository_ = com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.getDefaultInstance(); - } - gooBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder>( + repository_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.getDefaultInstance(); + } + gooBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepositoryOrBuilder>( (com.google.cloud.osconfig.v1beta.GuestPolicies.GooRepository) repository_, getParentForChildren(), isClean()); repository_ = null; } repositoryCase_ = 4; - onChanged();; + onChanged(); + ; return gooBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -15897,30 +17956,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PackageRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PackageRepository) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PackageRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PackageRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PackageRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PackageRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15932,17 +17993,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SoftwareRecipeOrBuilder extends + public interface SoftwareRecipeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Unique identifier for the recipe. Only one recipe with a given name is
      * installed on an instance.
@@ -15953,10 +18017,13 @@ public interface SoftwareRecipeOrBuilder extends
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. Unique identifier for the recipe. Only one recipe with a given name is
      * installed on an instance.
@@ -15967,43 +18034,52 @@ public interface SoftwareRecipeOrBuilder extends
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * The version of this software recipe. Version can be up to 4 period
      * separated numbers (e.g. 12.34.56.78).
      * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
      * The version of this software recipe. Version can be up to 4 period
      * separated numbers (e.g. 12.34.56.78).
      * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
      * Resources available to be used in the steps in the recipe.
      * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - java.util.List + java.util.List getArtifactsList(); /** + * + * *
      * Resources available to be used in the steps in the recipe.
      * 
@@ -16012,6 +18088,8 @@ public interface SoftwareRecipeOrBuilder extends */ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact getArtifacts(int index); /** + * + * *
      * Resources available to be used in the steps in the recipe.
      * 
@@ -16020,25 +18098,33 @@ public interface SoftwareRecipeOrBuilder extends */ int getArtifactsCount(); /** + * + * *
      * Resources available to be used in the steps in the recipe.
      * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder> getArtifactsOrBuilderList(); /** + * + * *
      * Resources available to be used in the steps in the recipe.
      * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder getArtifactsOrBuilder( - int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder + getArtifactsOrBuilder(int index); /** + * + * *
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -16047,9 +18133,11 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder
      *
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
      */
-    java.util.List 
+    java.util.List
         getInstallStepsList();
     /**
+     *
+     *
      * 
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -16060,6 +18148,8 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder
      */
     com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getInstallSteps(int index);
     /**
+     *
+     *
      * 
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -16070,6 +18160,8 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder
      */
     int getInstallStepsCount();
     /**
+     *
+     *
      * 
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -16078,9 +18170,12 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder
      *
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
      */
-    java.util.List 
+    java.util.List<
+            ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>
         getInstallStepsOrBuilderList();
     /**
+     *
+     *
      * 
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -16089,10 +18184,12 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder
      *
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
      */
-    com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getInstallStepsOrBuilder(
-        int index);
+    com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder
+        getInstallStepsOrBuilder(int index);
 
     /**
+     *
+     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -16101,9 +18198,11 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getI
      *
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
      */
-    java.util.List 
+    java.util.List
         getUpdateStepsList();
     /**
+     *
+     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -16114,6 +18213,8 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getI
      */
     com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getUpdateSteps(int index);
     /**
+     *
+     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -16124,6 +18225,8 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getI
      */
     int getUpdateStepsCount();
     /**
+     *
+     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -16132,9 +18235,12 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getI
      *
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
      */
-    java.util.List 
+    java.util.List<
+            ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>
         getUpdateStepsOrBuilderList();
     /**
+     *
+     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -16143,10 +18249,12 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getI
      *
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
      */
-    com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getUpdateStepsOrBuilder(
-        int index);
+    com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder
+        getUpdateStepsOrBuilder(int index);
 
     /**
+     *
+     *
      * 
      * Default is INSTALLED. The desired state the agent should maintain for this
      * recipe.
@@ -16160,10 +18268,13 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getU
      * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 6; + * * @return The enum numeric value on the wire for desiredState. */ int getDesiredStateValue(); /** + * + * *
      * Default is INSTALLED. The desired state the agent should maintain for this
      * recipe.
@@ -16177,11 +18288,14 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getU
      * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 6; + * * @return The desiredState. */ com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState getDesiredState(); } /** + * + * *
    * A software recipe is a set of instructions for installing and configuring a
    * piece of software. It consists of a set of artifacts that are
@@ -16204,15 +18318,16 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getU
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe}
    */
-  public static final class SoftwareRecipe extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class SoftwareRecipe extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe)
       SoftwareRecipeOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use SoftwareRecipe.newBuilder() to construct.
     private SoftwareRecipe(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private SoftwareRecipe() {
       name_ = "";
       version_ = "";
@@ -16224,16 +18339,15 @@ private SoftwareRecipe() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new SoftwareRecipe();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private SoftwareRecipe(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -16253,58 +18367,77 @@ private SoftwareRecipe(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+                name_ = s;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-            case 26: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                artifacts_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+                version_ = s;
+                break;
               }
-              artifacts_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.parser(), extensionRegistry));
-              break;
-            }
-            case 34: {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                installSteps_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 26:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  artifacts_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact>();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                artifacts_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact
+                            .parser(),
+                        extensionRegistry));
+                break;
               }
-              installSteps_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.parser(), extensionRegistry));
-              break;
-            }
-            case 42: {
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                updateSteps_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000004;
+            case 34:
+              {
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  installSteps_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step>();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                installSteps_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.parser(),
+                        extensionRegistry));
+                break;
               }
-              updateSteps_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.parser(), extensionRegistry));
-              break;
-            }
-            case 48: {
-              int rawValue = input.readEnum();
+            case 42:
+              {
+                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                  updateSteps_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step>();
+                  mutable_bitField0_ |= 0x00000004;
+                }
+                updateSteps_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.parser(),
+                        extensionRegistry));
+                break;
+              }
+            case 48:
+              {
+                int rawValue = input.readEnum();
 
-              desiredState_ = rawValue;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                desiredState_ = rawValue;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -16312,8 +18445,7 @@ private SoftwareRecipe(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           artifacts_ = java.util.Collections.unmodifiableList(artifacts_);
@@ -16328,100 +18460,129 @@ private SoftwareRecipe(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.GuestPolicies
+          .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.GuestPolicies
+          .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder.class);
+              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.class,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder.class);
     }
 
-    public interface ArtifactOrBuilder extends
+    public interface ArtifactOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Required. Id of the artifact, which the installation and update steps of this
        * recipe can reference. Artifacts in a recipe cannot have the same id.
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
        * Required. Id of the artifact, which the installation and update steps of this
        * recipe can reference. Artifacts in a recipe cannot have the same id.
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
        * A generic remote artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; + * * @return Whether the remote field is set. */ boolean hasRemote(); /** + * + * *
        * A generic remote artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; + * * @return The remote. */ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote getRemote(); /** + * + * *
        * A generic remote artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder getRemoteOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder + getRemoteOrBuilder(); /** + * + * *
        * A Google Cloud Storage artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; + * * @return Whether the gcs field is set. */ boolean hasGcs(); /** + * + * *
        * A Google Cloud Storage artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; + * * @return The gcs. */ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs getGcs(); /** + * + * *
        * A Google Cloud Storage artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder getGcsOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder + getGcsOrBuilder(); /** + * + * *
        * Defaults to false. When false, recipes are subject to validations
        * based on the artifact type:
@@ -16431,44 +18592,48 @@ public interface ArtifactOrBuilder extends
        * 
* * bool allow_insecure = 4; + * * @return The allowInsecure. */ boolean getAllowInsecure(); - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.ArtifactCase getArtifactCase(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.ArtifactCase + getArtifactCase(); } /** + * + * *
      * Specifies a resource to be used in the recipe.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact} */ - public static final class Artifact extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Artifact extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact) ArtifactOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Artifact.newBuilder() to construct. private Artifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Artifact() { id_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Artifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Artifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -16487,52 +18652,77 @@ private Artifact( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 18: { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder subBuilder = null; - if (artifactCase_ == 2) { - subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_).toBuilder(); + id_ = s; + break; } - artifact_ = - input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_); - artifact_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + .Builder + subBuilder = null; + if (artifactCase_ == 2) { + subBuilder = + ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + .Remote) + artifact_) + .toBuilder(); + } + artifact_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + .Remote.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + .Remote) + artifact_); + artifact_ = subBuilder.buildPartial(); + } + artifactCase_ = 2; + break; } - artifactCase_ = 2; - break; - } - case 26: { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder subBuilder = null; - if (artifactCase_ == 3) { - subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_).toBuilder(); + case 26: + { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder + subBuilder = null; + if (artifactCase_ == 3) { + subBuilder = + ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + .Gcs) + artifact_) + .toBuilder(); + } + artifact_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) + artifact_); + artifact_ = subBuilder.buildPartial(); + } + artifactCase_ = 3; + break; } - artifact_ = - input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_); - artifact_ = subBuilder.buildPartial(); + case 32: + { + allowInsecure_ = input.readBool(); + break; } - artifactCase_ = 3; - break; - } - case 32: { - - allowInsecure_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -16540,53 +18730,65 @@ private Artifact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder + .class); } - public interface RemoteOrBuilder extends + public interface RemoteOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * URI from which to fetch the object. It should contain both the protocol
          * and path following the format {protocol}://{location}.
          * 
* * string uri = 1; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
          * URI from which to fetch the object. It should contain both the protocol
          * and path following the format {protocol}://{location}.
          * 
* * string uri = 1; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
          * Must be provided if `allow_insecure` is `false`.
          * SHA256 checksum in hex format, to compare to the checksum of the
@@ -16596,10 +18798,13 @@ public interface RemoteOrBuilder extends
          * 
* * string checksum = 2; + * * @return The checksum. */ java.lang.String getChecksum(); /** + * + * *
          * Must be provided if `allow_insecure` is `false`.
          * SHA256 checksum in hex format, to compare to the checksum of the
@@ -16609,27 +18814,30 @@ public interface RemoteOrBuilder extends
          * 
* * string checksum = 2; + * * @return The bytes for checksum. */ - com.google.protobuf.ByteString - getChecksumBytes(); + com.google.protobuf.ByteString getChecksumBytes(); } /** + * + * *
        * Specifies an artifact available via some URI.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote} */ - public static final class Remote extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Remote extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote) RemoteOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Remote.newBuilder() to construct. private Remote(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Remote() { uri_ = ""; checksum_ = ""; @@ -16637,16 +18845,15 @@ private Remote() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Remote(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Remote( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -16665,25 +18872,27 @@ private Remote( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + uri_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - checksum_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + checksum_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -16691,35 +18900,43 @@ private Remote( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + .class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + .Builder.class); } public static final int URI_FIELD_NUMBER = 1; private volatile java.lang.Object uri_; /** + * + * *
          * URI from which to fetch the object. It should contain both the protocol
          * and path following the format {protocol}://{location}.
          * 
* * string uri = 1; + * * @return The uri. */ @java.lang.Override @@ -16728,30 +18945,30 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
          * URI from which to fetch the object. It should contain both the protocol
          * and path following the format {protocol}://{location}.
          * 
* * string uri = 1; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -16762,6 +18979,8 @@ public java.lang.String getUri() { public static final int CHECKSUM_FIELD_NUMBER = 2; private volatile java.lang.Object checksum_; /** + * + * *
          * Must be provided if `allow_insecure` is `false`.
          * SHA256 checksum in hex format, to compare to the checksum of the
@@ -16771,6 +18990,7 @@ public java.lang.String getUri() {
          * 
* * string checksum = 2; + * * @return The checksum. */ @java.lang.Override @@ -16779,14 +18999,15 @@ public java.lang.String getChecksum() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checksum_ = s; return s; } } /** + * + * *
          * Must be provided if `allow_insecure` is `false`.
          * SHA256 checksum in hex format, to compare to the checksum of the
@@ -16796,16 +19017,15 @@ public java.lang.String getChecksum() {
          * 
* * string checksum = 2; + * * @return The bytes for checksum. */ @java.lang.Override - public com.google.protobuf.ByteString - getChecksumBytes() { + public com.google.protobuf.ByteString getChecksumBytes() { java.lang.Object ref = checksum_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); checksum_ = b; return b; } else { @@ -16814,6 +19034,7 @@ public java.lang.String getChecksum() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -16826,7 +19047,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } @@ -16856,17 +19077,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) obj; - if (!getUri() - .equals(other.getUri())) return false; - if (!getChecksum() - .equals(other.getChecksum())) return false; + if (!getUri().equals(other.getUri())) return false; + if (!getChecksum().equals(other.getChecksum())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -16887,88 +19109,106 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -16978,44 +19218,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Specifies an artifact available via some URI.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote) com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + .class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -17027,19 +19274,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote result = buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -17047,8 +19298,11 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Re } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote( + this); result.uri_ = uri_; result.checksum_ = checksum_; onBuilt(); @@ -17059,46 +19313,56 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + .getDefaultInstance()) return this; if (!other.getUri().isEmpty()) { uri_ = other.uri_; onChanged(); @@ -17122,11 +19386,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -17138,19 +19405,21 @@ public Builder mergeFrom( private java.lang.Object uri_ = ""; /** + * + * *
            * URI from which to fetch the object. It should contain both the protocol
            * and path following the format {protocol}://{location}.
            * 
* * string uri = 1; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -17159,21 +19428,22 @@ public java.lang.String getUri() { } } /** + * + * *
            * URI from which to fetch the object. It should contain both the protocol
            * and path following the format {protocol}://{location}.
            * 
* * string uri = 1; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -17181,57 +19451,64 @@ public java.lang.String getUri() { } } /** + * + * *
            * URI from which to fetch the object. It should contain both the protocol
            * and path following the format {protocol}://{location}.
            * 
* * string uri = 1; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { + public Builder setUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** + * + * *
            * URI from which to fetch the object. It should contain both the protocol
            * and path following the format {protocol}://{location}.
            * 
* * string uri = 1; + * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** + * + * *
            * URI from which to fetch the object. It should contain both the protocol
            * and path following the format {protocol}://{location}.
            * 
* * string uri = 1; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { + public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -17239,6 +19516,8 @@ public Builder setUriBytes( private java.lang.Object checksum_ = ""; /** + * + * *
            * Must be provided if `allow_insecure` is `false`.
            * SHA256 checksum in hex format, to compare to the checksum of the
@@ -17248,13 +19527,13 @@ public Builder setUriBytes(
            * 
* * string checksum = 2; + * * @return The checksum. */ public java.lang.String getChecksum() { java.lang.Object ref = checksum_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checksum_ = s; return s; @@ -17263,6 +19542,8 @@ public java.lang.String getChecksum() { } } /** + * + * *
            * Must be provided if `allow_insecure` is `false`.
            * SHA256 checksum in hex format, to compare to the checksum of the
@@ -17272,15 +19553,14 @@ public java.lang.String getChecksum() {
            * 
* * string checksum = 2; + * * @return The bytes for checksum. */ - public com.google.protobuf.ByteString - getChecksumBytes() { + public com.google.protobuf.ByteString getChecksumBytes() { java.lang.Object ref = checksum_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); checksum_ = b; return b; } else { @@ -17288,6 +19568,8 @@ public java.lang.String getChecksum() { } } /** + * + * *
            * Must be provided if `allow_insecure` is `false`.
            * SHA256 checksum in hex format, to compare to the checksum of the
@@ -17297,20 +19579,22 @@ public java.lang.String getChecksum() {
            * 
* * string checksum = 2; + * * @param value The checksum to set. * @return This builder for chaining. */ - public Builder setChecksum( - java.lang.String value) { + public Builder setChecksum(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + checksum_ = value; onChanged(); return this; } /** + * + * *
            * Must be provided if `allow_insecure` is `false`.
            * SHA256 checksum in hex format, to compare to the checksum of the
@@ -17320,15 +19604,18 @@ public Builder setChecksum(
            * 
* * string checksum = 2; + * * @return This builder for chaining. */ public Builder clearChecksum() { - + checksum_ = getDefaultInstance().getChecksum(); onChanged(); return this; } /** + * + * *
            * Must be provided if `allow_insecure` is `false`.
            * SHA256 checksum in hex format, to compare to the checksum of the
@@ -17338,20 +19625,21 @@ public Builder clearChecksum() {
            * 
* * string checksum = 2; + * * @param value The bytes for checksum to set. * @return This builder for chaining. */ - public Builder setChecksumBytes( - com.google.protobuf.ByteString value) { + public Builder setChecksumBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + checksum_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -17364,30 +19652,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + .Remote + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Remote parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Remote(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Remote parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Remote(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -17399,17 +19691,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GcsOrBuilder extends + public interface GcsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Bucket of the Google Cloud Storage object.
          * Given an example URL:
@@ -17418,10 +19713,13 @@ public interface GcsOrBuilder extends
          * 
* * string bucket = 1; + * * @return The bucket. */ java.lang.String getBucket(); /** + * + * *
          * Bucket of the Google Cloud Storage object.
          * Given an example URL:
@@ -17430,12 +19728,14 @@ public interface GcsOrBuilder extends
          * 
* * string bucket = 1; + * * @return The bytes for bucket. */ - com.google.protobuf.ByteString - getBucketBytes(); + com.google.protobuf.ByteString getBucketBytes(); /** + * + * *
          * Name of the Google Cloud Storage object.
          * As specified [here]
@@ -17446,10 +19746,13 @@ public interface GcsOrBuilder extends
          * 
* * string object = 2; + * * @return The object. */ java.lang.String getObject(); /** + * + * *
          * Name of the Google Cloud Storage object.
          * As specified [here]
@@ -17460,12 +19763,14 @@ public interface GcsOrBuilder extends
          * 
* * string object = 2; + * * @return The bytes for object. */ - com.google.protobuf.ByteString - getObjectBytes(); + com.google.protobuf.ByteString getObjectBytes(); /** + * + * *
          * Must be provided if allow_insecure is false.
          * Generation number of the Google Cloud Storage object.
@@ -17474,26 +19779,30 @@ public interface GcsOrBuilder extends
          * 
* * int64 generation = 3; + * * @return The generation. */ long getGeneration(); } /** + * + * *
        * Specifies an artifact available as a Google Cloud Storage object.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs} */ - public static final class Gcs extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Gcs extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs) GcsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Gcs.newBuilder() to construct. private Gcs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Gcs() { bucket_ = ""; object_ = ""; @@ -17501,16 +19810,15 @@ private Gcs() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Gcs(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Gcs( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -17529,30 +19837,32 @@ private Gcs( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - bucket_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - object_ = s; - break; - } - case 24: { + bucket_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - generation_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + object_ = s; + break; + } + case 24: + { + generation_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -17560,29 +19870,35 @@ private Gcs( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder + .class); } public static final int BUCKET_FIELD_NUMBER = 1; private volatile java.lang.Object bucket_; /** + * + * *
          * Bucket of the Google Cloud Storage object.
          * Given an example URL:
@@ -17591,6 +19907,7 @@ private Gcs(
          * 
* * string bucket = 1; + * * @return The bucket. */ @java.lang.Override @@ -17599,14 +19916,15 @@ public java.lang.String getBucket() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; } } /** + * + * *
          * Bucket of the Google Cloud Storage object.
          * Given an example URL:
@@ -17615,16 +19933,15 @@ public java.lang.String getBucket() {
          * 
* * string bucket = 1; + * * @return The bytes for bucket. */ @java.lang.Override - public com.google.protobuf.ByteString - getBucketBytes() { + public com.google.protobuf.ByteString getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bucket_ = b; return b; } else { @@ -17635,6 +19952,8 @@ public java.lang.String getBucket() { public static final int OBJECT_FIELD_NUMBER = 2; private volatile java.lang.Object object_; /** + * + * *
          * Name of the Google Cloud Storage object.
          * As specified [here]
@@ -17645,6 +19964,7 @@ public java.lang.String getBucket() {
          * 
* * string object = 2; + * * @return The object. */ @java.lang.Override @@ -17653,14 +19973,15 @@ public java.lang.String getObject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; } } /** + * + * *
          * Name of the Google Cloud Storage object.
          * As specified [here]
@@ -17671,16 +19992,15 @@ public java.lang.String getObject() {
          * 
* * string object = 2; + * * @return The bytes for object. */ @java.lang.Override - public com.google.protobuf.ByteString - getObjectBytes() { + public com.google.protobuf.ByteString getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); object_ = b; return b; } else { @@ -17691,6 +20011,8 @@ public java.lang.String getObject() { public static final int GENERATION_FIELD_NUMBER = 3; private long generation_; /** + * + * *
          * Must be provided if allow_insecure is false.
          * Generation number of the Google Cloud Storage object.
@@ -17699,6 +20021,7 @@ public java.lang.String getObject() {
          * 
* * int64 generation = 3; + * * @return The generation. */ @java.lang.Override @@ -17707,6 +20030,7 @@ public long getGeneration() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -17719,7 +20043,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucket_); } @@ -17745,8 +20069,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, object_); } if (generation_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, generation_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, generation_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -17756,19 +20079,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) obj; - if (!getBucket() - .equals(other.getBucket())) return false; - if (!getObject() - .equals(other.getObject())) return false; - if (getGeneration() - != other.getGeneration()) return false; + if (!getBucket().equals(other.getBucket())) return false; + if (!getObject().equals(other.getObject())) return false; + if (getGeneration() != other.getGeneration()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -17785,95 +20108,111 @@ public int hashCode() { hash = (37 * hash) + OBJECT_FIELD_NUMBER; hash = (53 * hash) + getObject().hashCode(); hash = (37 * hash) + GENERATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getGeneration()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGeneration()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -17883,44 +20222,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Specifies an artifact available as a Google Cloud Storage object.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs) com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + .class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -17934,19 +20280,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs result = buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -17954,8 +20304,11 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gc } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs( + this); result.bucket_ = bucket_; result.object_ = object_; result.generation_ = generation_; @@ -17967,46 +20320,56 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + .getDefaultInstance()) return this; if (!other.getBucket().isEmpty()) { bucket_ = other.bucket_; onChanged(); @@ -18033,11 +20396,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -18049,6 +20415,8 @@ public Builder mergeFrom( private java.lang.Object bucket_ = ""; /** + * + * *
            * Bucket of the Google Cloud Storage object.
            * Given an example URL:
@@ -18057,13 +20425,13 @@ public Builder mergeFrom(
            * 
* * string bucket = 1; + * * @return The bucket. */ public java.lang.String getBucket() { java.lang.Object ref = bucket_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; @@ -18072,6 +20440,8 @@ public java.lang.String getBucket() { } } /** + * + * *
            * Bucket of the Google Cloud Storage object.
            * Given an example URL:
@@ -18080,15 +20450,14 @@ public java.lang.String getBucket() {
            * 
* * string bucket = 1; + * * @return The bytes for bucket. */ - public com.google.protobuf.ByteString - getBucketBytes() { + public com.google.protobuf.ByteString getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bucket_ = b; return b; } else { @@ -18096,6 +20465,8 @@ public java.lang.String getBucket() { } } /** + * + * *
            * Bucket of the Google Cloud Storage object.
            * Given an example URL:
@@ -18104,20 +20475,22 @@ public java.lang.String getBucket() {
            * 
* * string bucket = 1; + * * @param value The bucket to set. * @return This builder for chaining. */ - public Builder setBucket( - java.lang.String value) { + public Builder setBucket(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucket_ = value; onChanged(); return this; } /** + * + * *
            * Bucket of the Google Cloud Storage object.
            * Given an example URL:
@@ -18126,15 +20499,18 @@ public Builder setBucket(
            * 
* * string bucket = 1; + * * @return This builder for chaining. */ public Builder clearBucket() { - + bucket_ = getDefaultInstance().getBucket(); onChanged(); return this; } /** + * + * *
            * Bucket of the Google Cloud Storage object.
            * Given an example URL:
@@ -18143,16 +20519,16 @@ public Builder clearBucket() {
            * 
* * string bucket = 1; + * * @param value The bytes for bucket to set. * @return This builder for chaining. */ - public Builder setBucketBytes( - com.google.protobuf.ByteString value) { + public Builder setBucketBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucket_ = value; onChanged(); return this; @@ -18160,6 +20536,8 @@ public Builder setBucketBytes( private java.lang.Object object_ = ""; /** + * + * *
            * Name of the Google Cloud Storage object.
            * As specified [here]
@@ -18170,13 +20548,13 @@ public Builder setBucketBytes(
            * 
* * string object = 2; + * * @return The object. */ public java.lang.String getObject() { java.lang.Object ref = object_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; @@ -18185,6 +20563,8 @@ public java.lang.String getObject() { } } /** + * + * *
            * Name of the Google Cloud Storage object.
            * As specified [here]
@@ -18195,15 +20575,14 @@ public java.lang.String getObject() {
            * 
* * string object = 2; + * * @return The bytes for object. */ - public com.google.protobuf.ByteString - getObjectBytes() { + public com.google.protobuf.ByteString getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); object_ = b; return b; } else { @@ -18211,6 +20590,8 @@ public java.lang.String getObject() { } } /** + * + * *
            * Name of the Google Cloud Storage object.
            * As specified [here]
@@ -18221,20 +20602,22 @@ public java.lang.String getObject() {
            * 
* * string object = 2; + * * @param value The object to set. * @return This builder for chaining. */ - public Builder setObject( - java.lang.String value) { + public Builder setObject(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + object_ = value; onChanged(); return this; } /** + * + * *
            * Name of the Google Cloud Storage object.
            * As specified [here]
@@ -18245,15 +20628,18 @@ public Builder setObject(
            * 
* * string object = 2; + * * @return This builder for chaining. */ public Builder clearObject() { - + object_ = getDefaultInstance().getObject(); onChanged(); return this; } /** + * + * *
            * Name of the Google Cloud Storage object.
            * As specified [here]
@@ -18264,23 +20650,25 @@ public Builder clearObject() {
            * 
* * string object = 2; + * * @param value The bytes for object to set. * @return This builder for chaining. */ - public Builder setObjectBytes( - com.google.protobuf.ByteString value) { + public Builder setObjectBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + object_ = value; onChanged(); return this; } - private long generation_ ; + private long generation_; /** + * + * *
            * Must be provided if allow_insecure is false.
            * Generation number of the Google Cloud Storage object.
@@ -18289,6 +20677,7 @@ public Builder setObjectBytes(
            * 
* * int64 generation = 3; + * * @return The generation. */ @java.lang.Override @@ -18296,6 +20685,8 @@ public long getGeneration() { return generation_; } /** + * + * *
            * Must be provided if allow_insecure is false.
            * Generation number of the Google Cloud Storage object.
@@ -18304,16 +20695,19 @@ public long getGeneration() {
            * 
* * int64 generation = 3; + * * @param value The generation to set. * @return This builder for chaining. */ public Builder setGeneration(long value) { - + generation_ = value; onChanged(); return this; } /** + * + * *
            * Must be provided if allow_insecure is false.
            * Generation number of the Google Cloud Storage object.
@@ -18322,14 +20716,16 @@ public Builder setGeneration(long value) {
            * 
* * int64 generation = 3; + * * @return This builder for chaining. */ public Builder clearGeneration() { - + generation_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -18342,30 +20738,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + .Gcs + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Gcs parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Gcs(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Gcs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Gcs(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -18377,21 +20777,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int artifactCase_ = 0; private java.lang.Object artifact_; + public enum ArtifactCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { REMOTE(2), GCS(3), ARTIFACT_NOT_SET(0); private final int value; + private ArtifactCase(int value) { this.value = value; } @@ -18407,32 +20810,38 @@ public static ArtifactCase valueOf(int value) { public static ArtifactCase forNumber(int value) { switch (value) { - case 2: return REMOTE; - case 3: return GCS; - case 0: return ARTIFACT_NOT_SET; - default: return null; + case 2: + return REMOTE; + case 3: + return GCS; + case 0: + return ARTIFACT_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ArtifactCase - getArtifactCase() { - return ArtifactCase.forNumber( - artifactCase_); + public ArtifactCase getArtifactCase() { + return ArtifactCase.forNumber(artifactCase_); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** + * + * *
        * Required. Id of the artifact, which the installation and update steps of this
        * recipe can reference. Artifacts in a recipe cannot have the same id.
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ @java.lang.Override @@ -18441,30 +20850,30 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
        * Required. Id of the artifact, which the installation and update steps of this
        * recipe can reference. Artifacts in a recipe cannot have the same id.
        * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -18474,11 +20883,14 @@ public java.lang.String getId() { public static final int REMOTE_FIELD_NUMBER = 2; /** + * + * *
        * A generic remote artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; + * * @return Whether the remote field is set. */ @java.lang.Override @@ -18486,21 +20898,29 @@ public boolean hasRemote() { return artifactCase_ == 2; } /** + * + * *
        * A generic remote artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; + * * @return The remote. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote getRemote() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + getRemote() { if (artifactCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) + artifact_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + .getDefaultInstance(); } /** + * + * *
        * A generic remote artifact.
        * 
@@ -18508,20 +20928,26 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Re * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder getRemoteOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder + getRemoteOrBuilder() { if (artifactCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) + artifact_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + .getDefaultInstance(); } public static final int GCS_FIELD_NUMBER = 3; /** + * + * *
        * A Google Cloud Storage artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; + * * @return Whether the gcs field is set. */ @java.lang.Override @@ -18529,21 +20955,28 @@ public boolean hasGcs() { return artifactCase_ == 3; } /** + * + * *
        * A Google Cloud Storage artifact.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; + * * @return The gcs. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs getGcs() { if (artifactCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) + artifact_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + .getDefaultInstance(); } /** + * + * *
        * A Google Cloud Storage artifact.
        * 
@@ -18551,16 +20984,21 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gc * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder getGcsOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder + getGcsOrBuilder() { if (artifactCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) + artifact_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + .getDefaultInstance(); } public static final int ALLOW_INSECURE_FIELD_NUMBER = 4; private boolean allowInsecure_; /** + * + * *
        * Defaults to false. When false, recipes are subject to validations
        * based on the artifact type:
@@ -18570,6 +21008,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gc
        * 
* * bool allow_insecure = 4; + * * @return The allowInsecure. */ @java.lang.Override @@ -18578,6 +21017,7 @@ public boolean getAllowInsecure() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -18589,16 +21029,21 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (artifactCase_ == 2) { - output.writeMessage(2, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_); + output.writeMessage( + 2, + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) + artifact_); } if (artifactCase_ == 3) { - output.writeMessage(3, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_); + output.writeMessage( + 3, + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) + artifact_); } if (allowInsecure_ != false) { output.writeBool(4, allowInsecure_); @@ -18616,16 +21061,21 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (artifactCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) + artifact_); } if (artifactCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) + artifact_); } if (allowInsecure_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, allowInsecure_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowInsecure_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -18635,26 +21085,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact) obj; - if (!getId() - .equals(other.getId())) return false; - if (getAllowInsecure() - != other.getAllowInsecure()) return false; + if (!getId().equals(other.getId())) return false; + if (getAllowInsecure() != other.getAllowInsecure()) return false; if (!getArtifactCase().equals(other.getArtifactCase())) return false; switch (artifactCase_) { case 2: - if (!getRemote() - .equals(other.getRemote())) return false; + if (!getRemote().equals(other.getRemote())) return false; break; case 3: - if (!getGcs() - .equals(other.getGcs())) return false; + if (!getGcs().equals(other.getGcs())) return false; break; case 0: default: @@ -18673,8 +21121,7 @@ public int hashCode() { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); hash = (37 * hash) + ALLOW_INSECURE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowInsecure()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowInsecure()); switch (artifactCase_) { case 2: hash = (37 * hash) + REMOTE_FIELD_NUMBER; @@ -18692,88 +21139,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -18783,44 +21245,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Specifies a resource to be used in the recipe.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact) com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -18834,19 +21302,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact result = buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -18854,8 +21325,10 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact bu } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact(this); result.id_ = id_; if (artifactCase_ == 2) { if (remoteBuilder_ == null) { @@ -18881,46 +21354,54 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact)other); + if (other + instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + .getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); @@ -18929,17 +21410,20 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Software setAllowInsecure(other.getAllowInsecure()); } switch (other.getArtifactCase()) { - case REMOTE: { - mergeRemote(other.getRemote()); - break; - } - case GCS: { - mergeGcs(other.getGcs()); - break; - } - case ARTIFACT_NOT_SET: { - break; - } + case REMOTE: + { + mergeRemote(other.getRemote()); + break; + } + case GCS: + { + mergeGcs(other.getGcs()); + break; + } + case ARTIFACT_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -18956,11 +21440,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -18969,12 +21456,12 @@ public Builder mergeFrom( } return this; } + private int artifactCase_ = 0; private java.lang.Object artifact_; - public ArtifactCase - getArtifactCase() { - return ArtifactCase.forNumber( - artifactCase_); + + public ArtifactCase getArtifactCase() { + return ArtifactCase.forNumber(artifactCase_); } public Builder clearArtifact() { @@ -18984,22 +21471,23 @@ public Builder clearArtifact() { return this; } - private java.lang.Object id_ = ""; /** + * + * *
          * Required. Id of the artifact, which the installation and update steps of this
          * recipe can reference. Artifacts in a recipe cannot have the same id.
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -19008,21 +21496,22 @@ public java.lang.String getId() { } } /** + * + * *
          * Required. Id of the artifact, which the installation and update steps of this
          * recipe can reference. Artifacts in a recipe cannot have the same id.
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -19030,70 +21519,85 @@ public java.lang.String getId() { } } /** + * + * *
          * Required. Id of the artifact, which the installation and update steps of this
          * recipe can reference. Artifacts in a recipe cannot have the same id.
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
          * Required. Id of the artifact, which the installation and update steps of this
          * recipe can reference. Artifacts in a recipe cannot have the same id.
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
          * Required. Id of the artifact, which the installation and update steps of this
          * recipe can reference. Artifacts in a recipe cannot have the same id.
          * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder> remoteBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + .RemoteOrBuilder> + remoteBuilder_; /** + * + * *
          * A generic remote artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; + * * @return Whether the remote field is set. */ @java.lang.Override @@ -19101,35 +21605,45 @@ public boolean hasRemote() { return artifactCase_ == 2; } /** + * + * *
          * A generic remote artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; + * * @return The remote. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote getRemote() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + getRemote() { if (remoteBuilder_ == null) { if (artifactCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) + artifact_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + .getDefaultInstance(); } else { if (artifactCase_ == 2) { return remoteBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + .getDefaultInstance(); } } /** + * + * *
          * A generic remote artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; */ - public Builder setRemote(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote value) { + public Builder setRemote( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote value) { if (remoteBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -19143,6 +21657,8 @@ public Builder setRemote(com.google.cloud.osconfig.v1beta.GuestPolicies.Software return this; } /** + * + * *
          * A generic remote artifact.
          * 
@@ -19150,7 +21666,8 @@ public Builder setRemote(com.google.cloud.osconfig.v1beta.GuestPolicies.Software * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; */ public Builder setRemote( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder + builderForValue) { if (remoteBuilder_ == null) { artifact_ = builderForValue.build(); onChanged(); @@ -19161,18 +21678,29 @@ public Builder setRemote( return this; } /** + * + * *
          * A generic remote artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; */ - public Builder mergeRemote(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote value) { + public Builder mergeRemote( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote value) { if (remoteBuilder_ == null) { - if (artifactCase_ == 2 && - artifact_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.getDefaultInstance()) { - artifact_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_) - .mergeFrom(value).buildPartial(); + if (artifactCase_ == 2 + && artifact_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + .getDefaultInstance()) { + artifact_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + .newBuilder( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + .Remote) + artifact_) + .mergeFrom(value) + .buildPartial(); } else { artifact_ = value; } @@ -19188,6 +21716,8 @@ public Builder mergeRemote(com.google.cloud.osconfig.v1beta.GuestPolicies.Softwa return this; } /** + * + * *
          * A generic remote artifact.
          * 
@@ -19211,16 +21741,21 @@ public Builder clearRemote() { return this; } /** + * + * *
          * A generic remote artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder getRemoteBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder + getRemoteBuilder() { return getRemoteFieldBuilder().getBuilder(); } /** + * + * *
          * A generic remote artifact.
          * 
@@ -19228,17 +21763,23 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Re * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder getRemoteOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + .RemoteOrBuilder + getRemoteOrBuilder() { if ((artifactCase_ == 2) && (remoteBuilder_ != null)) { return remoteBuilder_.getMessageOrBuilder(); } else { if (artifactCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) + artifact_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + .getDefaultInstance(); } } /** + * + * *
          * A generic remote artifact.
          * 
@@ -19246,32 +21787,51 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Re * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + .RemoteOrBuilder> getRemoteFieldBuilder() { if (remoteBuilder_ == null) { if (!(artifactCase_ == 2)) { - artifact_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.getDefaultInstance(); - } - remoteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder>( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) artifact_, + artifact_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + .getDefaultInstance(); + } + remoteBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + .RemoteOrBuilder>( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Remote) + artifact_, getParentForChildren(), isClean()); artifact_ = null; } artifactCase_ = 2; - onChanged();; + onChanged(); + ; return remoteBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder> gcsBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder> + gcsBuilder_; /** + * + * *
          * A Google Cloud Storage artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; + * * @return Whether the gcs field is set. */ @java.lang.Override @@ -19279,35 +21839,44 @@ public boolean hasGcs() { return artifactCase_ == 3; } /** + * + * *
          * A Google Cloud Storage artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; + * * @return The gcs. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs getGcs() { if (gcsBuilder_ == null) { if (artifactCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) + artifact_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + .getDefaultInstance(); } else { if (artifactCase_ == 3) { return gcsBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + .getDefaultInstance(); } } /** + * + * *
          * A Google Cloud Storage artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; */ - public Builder setGcs(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs value) { + public Builder setGcs( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs value) { if (gcsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -19321,6 +21890,8 @@ public Builder setGcs(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRec return this; } /** + * + * *
          * A Google Cloud Storage artifact.
          * 
@@ -19328,7 +21899,8 @@ public Builder setGcs(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRec * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; */ public Builder setGcs( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder + builderForValue) { if (gcsBuilder_ == null) { artifact_ = builderForValue.build(); onChanged(); @@ -19339,18 +21911,29 @@ public Builder setGcs( return this; } /** + * + * *
          * A Google Cloud Storage artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; */ - public Builder mergeGcs(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs value) { + public Builder mergeGcs( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs value) { if (gcsBuilder_ == null) { - if (artifactCase_ == 3 && - artifact_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.getDefaultInstance()) { - artifact_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_) - .mergeFrom(value).buildPartial(); + if (artifactCase_ == 3 + && artifact_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + .getDefaultInstance()) { + artifact_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + .newBuilder( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + .Gcs) + artifact_) + .mergeFrom(value) + .buildPartial(); } else { artifact_ = value; } @@ -19366,6 +21949,8 @@ public Builder mergeGcs(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareR return this; } /** + * + * *
          * A Google Cloud Storage artifact.
          * 
@@ -19389,16 +21974,21 @@ public Builder clearGcs() { return this; } /** + * + * *
          * A Google Cloud Storage artifact.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder getGcsBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder + getGcsBuilder() { return getGcsFieldBuilder().getBuilder(); } /** + * + * *
          * A Google Cloud Storage artifact.
          * 
@@ -19406,17 +21996,22 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gc * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder getGcsOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder + getGcsOrBuilder() { if ((artifactCase_ == 3) && (gcsBuilder_ != null)) { return gcsBuilder_.getMessageOrBuilder(); } else { if (artifactCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) + artifact_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + .getDefaultInstance(); } } /** + * + * *
          * A Google Cloud Storage artifact.
          * 
@@ -19424,26 +22019,39 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gc * .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder> getGcsFieldBuilder() { if (gcsBuilder_ == null) { if (!(artifactCase_ == 3)) { - artifact_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.getDefaultInstance(); - } - gcsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder>( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) artifact_, + artifact_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + .getDefaultInstance(); + } + gcsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + .GcsOrBuilder>( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gcs) + artifact_, getParentForChildren(), isClean()); artifact_ = null; } artifactCase_ = 3; - onChanged();; + onChanged(); + ; return gcsBuilder_; } - private boolean allowInsecure_ ; + private boolean allowInsecure_; /** + * + * *
          * Defaults to false. When false, recipes are subject to validations
          * based on the artifact type:
@@ -19453,6 +22061,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Gc
          * 
* * bool allow_insecure = 4; + * * @return The allowInsecure. */ @java.lang.Override @@ -19460,6 +22069,8 @@ public boolean getAllowInsecure() { return allowInsecure_; } /** + * + * *
          * Defaults to false. When false, recipes are subject to validations
          * based on the artifact type:
@@ -19469,16 +22080,19 @@ public boolean getAllowInsecure() {
          * 
* * bool allow_insecure = 4; + * * @param value The allowInsecure to set. * @return This builder for chaining. */ public Builder setAllowInsecure(boolean value) { - + allowInsecure_ = value; onChanged(); return this; } /** + * + * *
          * Defaults to false. When false, recipes are subject to validations
          * based on the artifact type:
@@ -19488,14 +22102,16 @@ public Builder setAllowInsecure(boolean value) {
          * 
* * bool allow_insecure = 4; + * * @return This builder for chaining. */ public Builder clearAllowInsecure() { - + allowInsecure_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -19508,30 +22124,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Artifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Artifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Artifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Artifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -19543,238 +22162,323 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface StepOrBuilder extends + public interface StepOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Step) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Copies a file onto the instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; + * * @return Whether the fileCopy field is set. */ boolean hasFileCopy(); /** + * + * *
        * Copies a file onto the instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; + * * @return The fileCopy. */ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile getFileCopy(); /** + * + * *
        * Copies a file onto the instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder getFileCopyOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder + getFileCopyOrBuilder(); /** + * + * *
        * Extracts an archive into the specified directory.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * * @return Whether the archiveExtraction field is set. */ boolean hasArchiveExtraction(); /** + * + * *
        * Extracts an archive into the specified directory.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * * @return The archiveExtraction. */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive getArchiveExtraction(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + getArchiveExtraction(); /** + * + * *
        * Extracts an archive into the specified directory.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder getArchiveExtractionOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder + getArchiveExtractionOrBuilder(); /** + * + * *
        * Installs an MSI file.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * + * * @return Whether the msiInstallation field is set. */ boolean hasMsiInstallation(); /** + * + * *
        * Installs an MSI file.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * + * * @return The msiInstallation. */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi getMsiInstallation(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + getMsiInstallation(); /** + * + * *
        * Installs an MSI file.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder getMsiInstallationOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder + getMsiInstallationOrBuilder(); /** + * + * *
        * Installs a deb file via dpkg.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * + * * @return Whether the dpkgInstallation field is set. */ boolean hasDpkgInstallation(); /** + * + * *
        * Installs a deb file via dpkg.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * + * * @return The dpkgInstallation. */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg getDpkgInstallation(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + getDpkgInstallation(); /** + * + * *
        * Installs a deb file via dpkg.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder getDpkgInstallationOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder + getDpkgInstallationOrBuilder(); /** + * + * *
        * Installs an rpm file via the rpm utility.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * + * * @return Whether the rpmInstallation field is set. */ boolean hasRpmInstallation(); /** + * + * *
        * Installs an rpm file via the rpm utility.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * + * * @return The rpmInstallation. */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm getRpmInstallation(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + getRpmInstallation(); /** + * + * *
        * Installs an rpm file via the rpm utility.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder getRpmInstallationOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder + getRpmInstallationOrBuilder(); /** + * + * *
        * Executes an artifact or local file.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; + * * @return Whether the fileExec field is set. */ boolean hasFileExec(); /** + * + * *
        * Executes an artifact or local file.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; + * * @return The fileExec. */ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile getFileExec(); /** + * + * *
        * Executes an artifact or local file.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder getFileExecOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder + getFileExecOrBuilder(); /** + * + * *
        * Runs commands in a shell.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; + * * @return Whether the scriptRun field is set. */ boolean hasScriptRun(); /** + * + * *
        * Runs commands in a shell.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; + * * @return The scriptRun. */ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript getScriptRun(); /** + * + * *
        * Runs commands in a shell.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder getScriptRunOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder + getScriptRunOrBuilder(); - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.StepCase getStepCase(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.StepCase + getStepCase(); } /** + * + * *
      * An action that can be taken as part of installing or updating a recipe.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step} */ - public static final class Step extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Step extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step) StepOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Step.newBuilder() to construct. private Step(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Step() { - } + + private Step() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Step(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Step( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -19793,111 +22497,202 @@ private Step( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder subBuilder = null; - if (stepCase_ == 1) { - subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_).toBuilder(); - } - step_ = - input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_); - step_ = subBuilder.buildPartial(); - } - stepCase_ = 1; - break; - } - case 18: { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder subBuilder = null; - if (stepCase_ == 2) { - subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_).toBuilder(); - } - step_ = - input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_); - step_ = subBuilder.buildPartial(); - } - stepCase_ = 2; - break; - } - case 26: { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder subBuilder = null; - if (stepCase_ == 3) { - subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_).toBuilder(); - } - step_ = - input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_); - step_ = subBuilder.buildPartial(); - } - stepCase_ = 3; - break; - } - case 34: { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder subBuilder = null; - if (stepCase_ == 4) { - subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_).toBuilder(); - } - step_ = - input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_); - step_ = subBuilder.buildPartial(); + case 10: + { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + .Builder + subBuilder = null; + if (stepCase_ == 1) { + subBuilder = + ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .CopyFile) + step_) + .toBuilder(); + } + step_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .CopyFile.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .CopyFile) + step_); + step_ = subBuilder.buildPartial(); + } + stepCase_ = 1; + break; } - stepCase_ = 4; - break; - } - case 42: { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder subBuilder = null; - if (stepCase_ == 5) { - subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_).toBuilder(); + case 18: + { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .Builder + subBuilder = null; + if (stepCase_ == 2) { + subBuilder = + ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive) + step_) + .toBuilder(); + } + step_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive) + step_); + step_ = subBuilder.buildPartial(); + } + stepCase_ = 2; + break; } - step_ = - input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_); - step_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + .Builder + subBuilder = null; + if (stepCase_ == 3) { + subBuilder = + ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallMsi) + step_) + .toBuilder(); + } + step_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallMsi.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallMsi) + step_); + step_ = subBuilder.buildPartial(); + } + stepCase_ = 3; + break; } - stepCase_ = 5; - break; - } - case 50: { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder subBuilder = null; - if (stepCase_ == 6) { - subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_).toBuilder(); + case 34: + { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + .Builder + subBuilder = null; + if (stepCase_ == 4) { + subBuilder = + ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallDpkg) + step_) + .toBuilder(); + } + step_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallDpkg.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallDpkg) + step_); + step_ = subBuilder.buildPartial(); + } + stepCase_ = 4; + break; } - step_ = - input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_); - step_ = subBuilder.buildPartial(); + case 42: + { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + .Builder + subBuilder = null; + if (stepCase_ == 5) { + subBuilder = + ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallRpm) + step_) + .toBuilder(); + } + step_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallRpm.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallRpm) + step_); + step_ = subBuilder.buildPartial(); + } + stepCase_ = 5; + break; } - stepCase_ = 6; - break; - } - case 58: { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder subBuilder = null; - if (stepCase_ == 7) { - subBuilder = ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_).toBuilder(); + case 50: + { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + .Builder + subBuilder = null; + if (stepCase_ == 6) { + subBuilder = + ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExecFile) + step_) + .toBuilder(); + } + step_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExecFile.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExecFile) + step_); + step_ = subBuilder.buildPartial(); + } + stepCase_ = 6; + break; } - step_ = - input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_); - step_ = subBuilder.buildPartial(); + case 58: + { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .Builder + subBuilder = null; + if (stepCase_ == 7) { + subBuilder = + ((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .RunScript) + step_) + .toBuilder(); + } + step_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .RunScript.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .RunScript) + step_); + step_ = subBuilder.buildPartial(); + } + stepCase_ = 7; + break; } - stepCase_ = 7; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -19905,71 +22700,87 @@ private Step( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder.class); } - public interface CopyFileOrBuilder extends + public interface CopyFileOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The artifactId. */ java.lang.String getArtifactId(); /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for artifactId. */ - com.google.protobuf.ByteString - getArtifactIdBytes(); + com.google.protobuf.ByteString getArtifactIdBytes(); /** + * + * *
          * Required. The absolute path on the instance to put the file.
          * 
* * string destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The destination. */ java.lang.String getDestination(); /** + * + * *
          * Required. The absolute path on the instance to put the file.
          * 
* * string destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for destination. */ - com.google.protobuf.ByteString - getDestinationBytes(); + com.google.protobuf.ByteString getDestinationBytes(); /** + * + * *
          * Whether to allow this step to overwrite existing files. If this is
          * false and the file already exists the file is not overwritten
@@ -19977,11 +22788,14 @@ public interface CopyFileOrBuilder extends
          * 
* * bool overwrite = 3; + * * @return The overwrite. */ boolean getOverwrite(); /** + * + * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -19998,10 +22812,13 @@ public interface CopyFileOrBuilder extends
          * 
* * string permissions = 4; + * * @return The permissions. */ java.lang.String getPermissions(); /** + * + * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -20018,27 +22835,30 @@ public interface CopyFileOrBuilder extends
          * 
* * string permissions = 4; + * * @return The bytes for permissions. */ - com.google.protobuf.ByteString - getPermissionsBytes(); + com.google.protobuf.ByteString getPermissionsBytes(); } /** + * + * *
        * Copies the artifact to the specified path on the instance.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile} */ - public static final class CopyFile extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CopyFile extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile) CopyFileOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CopyFile.newBuilder() to construct. private CopyFile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CopyFile() { artifactId_ = ""; destination_ = ""; @@ -20047,16 +22867,15 @@ private CopyFile() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CopyFile(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CopyFile( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -20075,36 +22894,39 @@ private CopyFile( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - artifactId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - destination_ = s; - break; - } - case 24: { + artifactId_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - overwrite_ = input.readBool(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + destination_ = s; + break; + } + case 24: + { + overwrite_ = input.readBool(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - permissions_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + permissions_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -20112,34 +22934,41 @@ private CopyFile( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + .Builder.class); } public static final int ARTIFACT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object artifactId_; /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The artifactId. */ @java.lang.Override @@ -20148,29 +22977,29 @@ public java.lang.String getArtifactId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; } } /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for artifactId. */ @java.lang.Override - public com.google.protobuf.ByteString - getArtifactIdBytes() { + public com.google.protobuf.ByteString getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifactId_ = b; return b; } else { @@ -20181,11 +23010,14 @@ public java.lang.String getArtifactId() { public static final int DESTINATION_FIELD_NUMBER = 2; private volatile java.lang.Object destination_; /** + * + * *
          * Required. The absolute path on the instance to put the file.
          * 
* * string destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The destination. */ @java.lang.Override @@ -20194,29 +23026,29 @@ public java.lang.String getDestination() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destination_ = s; return s; } } /** + * + * *
          * Required. The absolute path on the instance to put the file.
          * 
* * string destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for destination. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestinationBytes() { + public com.google.protobuf.ByteString getDestinationBytes() { java.lang.Object ref = destination_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destination_ = b; return b; } else { @@ -20227,6 +23059,8 @@ public java.lang.String getDestination() { public static final int OVERWRITE_FIELD_NUMBER = 3; private boolean overwrite_; /** + * + * *
          * Whether to allow this step to overwrite existing files. If this is
          * false and the file already exists the file is not overwritten
@@ -20234,6 +23068,7 @@ public java.lang.String getDestination() {
          * 
* * bool overwrite = 3; + * * @return The overwrite. */ @java.lang.Override @@ -20244,6 +23079,8 @@ public boolean getOverwrite() { public static final int PERMISSIONS_FIELD_NUMBER = 4; private volatile java.lang.Object permissions_; /** + * + * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -20260,6 +23097,7 @@ public boolean getOverwrite() {
          * 
* * string permissions = 4; + * * @return The permissions. */ @java.lang.Override @@ -20268,14 +23106,15 @@ public java.lang.String getPermissions() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); permissions_ = s; return s; } } /** + * + * *
          * Consists of three octal digits which represent, in
          * order, the permissions of the owner, group, and other users for the
@@ -20292,16 +23131,15 @@ public java.lang.String getPermissions() {
          * 
* * string permissions = 4; + * * @return The bytes for permissions. */ @java.lang.Override - public com.google.protobuf.ByteString - getPermissionsBytes() { + public com.google.protobuf.ByteString getPermissionsBytes() { java.lang.Object ref = permissions_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); permissions_ = b; return b; } else { @@ -20310,6 +23148,7 @@ public java.lang.String getPermissions() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -20322,7 +23161,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, artifactId_); } @@ -20351,8 +23190,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destination_); } if (overwrite_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, overwrite_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, overwrite_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(permissions_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, permissions_); @@ -20365,21 +23203,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) obj; - if (!getArtifactId() - .equals(other.getArtifactId())) return false; - if (!getDestination() - .equals(other.getDestination())) return false; - if (getOverwrite() - != other.getOverwrite()) return false; - if (!getPermissions() - .equals(other.getPermissions())) return false; + if (!getArtifactId().equals(other.getArtifactId())) return false; + if (!getDestination().equals(other.getDestination())) return false; + if (getOverwrite() != other.getOverwrite()) return false; + if (!getPermissions().equals(other.getPermissions())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -20396,8 +23233,7 @@ public int hashCode() { hash = (37 * hash) + DESTINATION_FIELD_NUMBER; hash = (53 * hash) + getDestination().hashCode(); hash = (37 * hash) + OVERWRITE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOverwrite()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOverwrite()); hash = (37 * hash) + PERMISSIONS_FIELD_NUMBER; hash = (53 * hash) + getPermissions().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -20405,88 +23241,105 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -20496,44 +23349,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Copies the artifact to the specified path on the instance.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile) com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + .class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -20549,19 +23409,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile result = buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -20569,8 +23433,11 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFi } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile( + this); result.artifactId_ = artifactId_; result.destination_ = destination_; result.overwrite_ = overwrite_; @@ -20583,46 +23450,56 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + .getDefaultInstance()) return this; if (!other.getArtifactId().isEmpty()) { artifactId_ = other.artifactId_; onChanged(); @@ -20653,11 +23530,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -20669,18 +23549,20 @@ public Builder mergeFrom( private java.lang.Object artifactId_ = ""; /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The artifactId. */ public java.lang.String getArtifactId() { java.lang.Object ref = artifactId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; @@ -20689,20 +23571,21 @@ public java.lang.String getArtifactId() { } } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for artifactId. */ - public com.google.protobuf.ByteString - getArtifactIdBytes() { + public com.google.protobuf.ByteString getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifactId_ = b; return b; } else { @@ -20710,54 +23593,61 @@ public java.lang.String getArtifactId() { } } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactId( - java.lang.String value) { + public Builder setArtifactId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + artifactId_ = value; onChanged(); return this; } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearArtifactId() { - + artifactId_ = getDefaultInstance().getArtifactId(); onChanged(); return this; } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactIdBytes( - com.google.protobuf.ByteString value) { + public Builder setArtifactIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + artifactId_ = value; onChanged(); return this; @@ -20765,18 +23655,20 @@ public Builder setArtifactIdBytes( private java.lang.Object destination_ = ""; /** + * + * *
            * Required. The absolute path on the instance to put the file.
            * 
* * string destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The destination. */ public java.lang.String getDestination() { java.lang.Object ref = destination_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destination_ = s; return s; @@ -20785,20 +23677,21 @@ public java.lang.String getDestination() { } } /** + * + * *
            * Required. The absolute path on the instance to put the file.
            * 
* * string destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for destination. */ - public com.google.protobuf.ByteString - getDestinationBytes() { + public com.google.protobuf.ByteString getDestinationBytes() { java.lang.Object ref = destination_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destination_ = b; return b; } else { @@ -20806,61 +23699,70 @@ public java.lang.String getDestination() { } } /** + * + * *
            * Required. The absolute path on the instance to put the file.
            * 
* * string destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The destination to set. * @return This builder for chaining. */ - public Builder setDestination( - java.lang.String value) { + public Builder setDestination(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + destination_ = value; onChanged(); return this; } /** + * + * *
            * Required. The absolute path on the instance to put the file.
            * 
* * string destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDestination() { - + destination_ = getDefaultInstance().getDestination(); onChanged(); return this; } /** + * + * *
            * Required. The absolute path on the instance to put the file.
            * 
* * string destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for destination to set. * @return This builder for chaining. */ - public Builder setDestinationBytes( - com.google.protobuf.ByteString value) { + public Builder setDestinationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + destination_ = value; onChanged(); return this; } - private boolean overwrite_ ; + private boolean overwrite_; /** + * + * *
            * Whether to allow this step to overwrite existing files. If this is
            * false and the file already exists the file is not overwritten
@@ -20868,6 +23770,7 @@ public Builder setDestinationBytes(
            * 
* * bool overwrite = 3; + * * @return The overwrite. */ @java.lang.Override @@ -20875,6 +23778,8 @@ public boolean getOverwrite() { return overwrite_; } /** + * + * *
            * Whether to allow this step to overwrite existing files. If this is
            * false and the file already exists the file is not overwritten
@@ -20882,16 +23787,19 @@ public boolean getOverwrite() {
            * 
* * bool overwrite = 3; + * * @param value The overwrite to set. * @return This builder for chaining. */ public Builder setOverwrite(boolean value) { - + overwrite_ = value; onChanged(); return this; } /** + * + * *
            * Whether to allow this step to overwrite existing files. If this is
            * false and the file already exists the file is not overwritten
@@ -20899,10 +23807,11 @@ public Builder setOverwrite(boolean value) {
            * 
* * bool overwrite = 3; + * * @return This builder for chaining. */ public Builder clearOverwrite() { - + overwrite_ = false; onChanged(); return this; @@ -20910,6 +23819,8 @@ public Builder clearOverwrite() { private java.lang.Object permissions_ = ""; /** + * + * *
            * Consists of three octal digits which represent, in
            * order, the permissions of the owner, group, and other users for the
@@ -20926,13 +23837,13 @@ public Builder clearOverwrite() {
            * 
* * string permissions = 4; + * * @return The permissions. */ public java.lang.String getPermissions() { java.lang.Object ref = permissions_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); permissions_ = s; return s; @@ -20941,6 +23852,8 @@ public java.lang.String getPermissions() { } } /** + * + * *
            * Consists of three octal digits which represent, in
            * order, the permissions of the owner, group, and other users for the
@@ -20957,15 +23870,14 @@ public java.lang.String getPermissions() {
            * 
* * string permissions = 4; + * * @return The bytes for permissions. */ - public com.google.protobuf.ByteString - getPermissionsBytes() { + public com.google.protobuf.ByteString getPermissionsBytes() { java.lang.Object ref = permissions_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); permissions_ = b; return b; } else { @@ -20973,6 +23885,8 @@ public java.lang.String getPermissions() { } } /** + * + * *
            * Consists of three octal digits which represent, in
            * order, the permissions of the owner, group, and other users for the
@@ -20989,20 +23903,22 @@ public java.lang.String getPermissions() {
            * 
* * string permissions = 4; + * * @param value The permissions to set. * @return This builder for chaining. */ - public Builder setPermissions( - java.lang.String value) { + public Builder setPermissions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + permissions_ = value; onChanged(); return this; } /** + * + * *
            * Consists of three octal digits which represent, in
            * order, the permissions of the owner, group, and other users for the
@@ -21019,15 +23935,18 @@ public Builder setPermissions(
            * 
* * string permissions = 4; + * * @return This builder for chaining. */ public Builder clearPermissions() { - + permissions_ = getDefaultInstance().getPermissions(); onChanged(); return this; } /** + * + * *
            * Consists of three octal digits which represent, in
            * order, the permissions of the owner, group, and other users for the
@@ -21044,20 +23963,21 @@ public Builder clearPermissions() {
            * 
* * string permissions = 4; + * * @param value The bytes for permissions to set. * @return This builder for chaining. */ - public Builder setPermissionsBytes( - com.google.protobuf.ByteString value) { + public Builder setPermissionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + permissions_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -21070,30 +23990,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .CopyFile + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CopyFile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CopyFile(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CopyFile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CopyFile(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -21105,93 +24029,119 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ExtractArchiveOrBuilder extends + public interface ExtractArchiveOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The artifactId. */ java.lang.String getArtifactId(); /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for artifactId. */ - com.google.protobuf.ByteString - getArtifactIdBytes(); + com.google.protobuf.ByteString getArtifactIdBytes(); /** + * + * *
          * Directory to extract archive to.
          * Defaults to `/` on Linux or `C:\` on Windows.
          * 
* * string destination = 2; + * * @return The destination. */ java.lang.String getDestination(); /** + * + * *
          * Directory to extract archive to.
          * Defaults to `/` on Linux or `C:\` on Windows.
          * 
* * string destination = 2; + * * @return The bytes for destination. */ - com.google.protobuf.ByteString - getDestinationBytes(); + com.google.protobuf.ByteString getDestinationBytes(); /** + * + * *
          * Required. The type of the archive to extract.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
          * Required. The type of the archive to extract.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType getType(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .ArchiveType + getType(); } /** + * + * *
        * Extracts an archive of the type specified in the specified directory.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive} */ - public static final class ExtractArchive extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ExtractArchive extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive) ExtractArchiveOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExtractArchive.newBuilder() to construct. private ExtractArchive(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExtractArchive() { artifactId_ = ""; destination_ = ""; @@ -21200,16 +24150,15 @@ private ExtractArchive() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExtractArchive(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExtractArchive( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -21228,31 +24177,34 @@ private ExtractArchive( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - artifactId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + artifactId_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - destination_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); + destination_ = s; + break; + } + case 24: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + type_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -21260,36 +24212,45 @@ private ExtractArchive( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .Builder.class); } /** + * + * *
          * Specifying the type of archive.
          * 
* - * Protobuf enum {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType} + * Protobuf enum {@code + * google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType} */ - public enum ArchiveType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ArchiveType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
            * Indicates that the archive type isn't specified.
            * 
@@ -21298,6 +24259,8 @@ public enum ArchiveType */ ARCHIVE_TYPE_UNSPECIFIED(0), /** + * + * *
            * Indicates that the archive is a tar archive with no encryption.
            * 
@@ -21306,6 +24269,8 @@ public enum ArchiveType */ TAR(1), /** + * + * *
            * Indicates that the archive is a tar archive with gzip encryption.
            * 
@@ -21314,6 +24279,8 @@ public enum ArchiveType */ TAR_GZIP(2), /** + * + * *
            * Indicates that the archive is a tar archive with bzip encryption.
            * 
@@ -21322,6 +24289,8 @@ public enum ArchiveType */ TAR_BZIP(3), /** + * + * *
            * Indicates that the archive is a tar archive with lzma encryption.
            * 
@@ -21330,6 +24299,8 @@ public enum ArchiveType */ TAR_LZMA(4), /** + * + * *
            * Indicates that the archive is a tar archive with xz encryption.
            * 
@@ -21338,6 +24309,8 @@ public enum ArchiveType */ TAR_XZ(5), /** + * + * *
            * Indicates that the archive is a zip archive.
            * 
@@ -21349,6 +24322,8 @@ public enum ArchiveType ; /** + * + * *
            * Indicates that the archive type isn't specified.
            * 
@@ -21357,6 +24332,8 @@ public enum ArchiveType */ public static final int ARCHIVE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
            * Indicates that the archive is a tar archive with no encryption.
            * 
@@ -21365,6 +24342,8 @@ public enum ArchiveType */ public static final int TAR_VALUE = 1; /** + * + * *
            * Indicates that the archive is a tar archive with gzip encryption.
            * 
@@ -21373,6 +24352,8 @@ public enum ArchiveType */ public static final int TAR_GZIP_VALUE = 2; /** + * + * *
            * Indicates that the archive is a tar archive with bzip encryption.
            * 
@@ -21381,6 +24362,8 @@ public enum ArchiveType */ public static final int TAR_BZIP_VALUE = 3; /** + * + * *
            * Indicates that the archive is a tar archive with lzma encryption.
            * 
@@ -21389,6 +24372,8 @@ public enum ArchiveType */ public static final int TAR_LZMA_VALUE = 4; /** + * + * *
            * Indicates that the archive is a tar archive with xz encryption.
            * 
@@ -21397,6 +24382,8 @@ public enum ArchiveType */ public static final int TAR_XZ_VALUE = 5; /** + * + * *
            * Indicates that the archive is a zip archive.
            * 
@@ -21405,7 +24392,6 @@ public enum ArchiveType */ public static final int ZIP_VALUE = 11; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -21430,14 +24416,22 @@ public static ArchiveType valueOf(int value) { */ public static ArchiveType forNumber(int value) { switch (value) { - case 0: return ARCHIVE_TYPE_UNSPECIFIED; - case 1: return TAR; - case 2: return TAR_GZIP; - case 3: return TAR_BZIP; - case 4: return TAR_LZMA; - case 5: return TAR_XZ; - case 11: return ZIP; - default: return null; + case 0: + return ARCHIVE_TYPE_UNSPECIFIED; + case 1: + return TAR; + case 2: + return TAR_GZIP; + case 3: + return TAR_BZIP; + case 4: + return TAR_LZMA; + case 5: + return TAR_XZ; + case 11: + return ZIP; + default: + return null; } } @@ -21445,29 +24439,32 @@ public static ArchiveType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ArchiveType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ArchiveType findValueByNumber(int number) { - return ArchiveType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ArchiveType findValueByNumber(int number) { + return ArchiveType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .getDescriptor() + .getEnumTypes() + .get(0); } private static final ArchiveType[] VALUES = values(); @@ -21476,7 +24473,7 @@ public static ArchiveType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -21496,11 +24493,14 @@ private ArchiveType(int value) { public static final int ARTIFACT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object artifactId_; /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The artifactId. */ @java.lang.Override @@ -21509,29 +24509,29 @@ public java.lang.String getArtifactId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; } } /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for artifactId. */ @java.lang.Override - public com.google.protobuf.ByteString - getArtifactIdBytes() { + public com.google.protobuf.ByteString getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifactId_ = b; return b; } else { @@ -21542,12 +24542,15 @@ public java.lang.String getArtifactId() { public static final int DESTINATION_FIELD_NUMBER = 2; private volatile java.lang.Object destination_; /** + * + * *
          * Directory to extract archive to.
          * Defaults to `/` on Linux or `C:\` on Windows.
          * 
* * string destination = 2; + * * @return The destination. */ @java.lang.Override @@ -21556,30 +24559,30 @@ public java.lang.String getDestination() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destination_ = s; return s; } } /** + * + * *
          * Directory to extract archive to.
          * Defaults to `/` on Linux or `C:\` on Windows.
          * 
* * string destination = 2; + * * @return The bytes for destination. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestinationBytes() { + public com.google.protobuf.ByteString getDestinationBytes() { java.lang.Object ref = destination_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destination_ = b; return b; } else { @@ -21590,31 +24593,53 @@ public java.lang.String getDestination() { public static final int TYPE_FIELD_NUMBER = 3; private int type_; /** + * + * *
          * Required. The type of the archive to extract.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
          * Required. The type of the archive to extract.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType getType() { + @java.lang.Override + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .ArchiveType + getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType result = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType.valueOf(type_); - return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .ArchiveType + result = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .ArchiveType.valueOf(type_); + return result == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .ArchiveType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -21627,14 +24652,17 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, artifactId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destination_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, destination_); } - if (type_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .ArchiveType.ARCHIVE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, type_); } unknownFields.writeTo(output); @@ -21652,9 +24680,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destination_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destination_); } - if (type_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType.ARCHIVE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, type_); + if (type_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .ArchiveType.ARCHIVE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -21664,17 +24694,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) + obj; - if (!getArtifactId() - .equals(other.getArtifactId())) return false; - if (!getDestination() - .equals(other.getDestination())) return false; + if (!getArtifactId().equals(other.getArtifactId())) return false; + if (!getDestination().equals(other.getDestination())) return false; if (type_ != other.type_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -21698,88 +24730,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -21789,44 +24851,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Extracts an archive of the type specified in the specified directory.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive) - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchiveOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive.Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -21840,19 +24910,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive result = buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -21860,8 +24934,12 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Extrac } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive(this); result.artifactId_ = artifactId_; result.destination_ = destination_; result.type_ = type_; @@ -21873,46 +24951,58 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Extrac public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .getDefaultInstance()) return this; if (!other.getArtifactId().isEmpty()) { artifactId_ = other.artifactId_; onChanged(); @@ -21939,11 +25029,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -21955,18 +25049,20 @@ public Builder mergeFrom( private java.lang.Object artifactId_ = ""; /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The artifactId. */ public java.lang.String getArtifactId() { java.lang.Object ref = artifactId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; @@ -21975,20 +25071,21 @@ public java.lang.String getArtifactId() { } } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for artifactId. */ - public com.google.protobuf.ByteString - getArtifactIdBytes() { + public com.google.protobuf.ByteString getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifactId_ = b; return b; } else { @@ -21996,54 +25093,61 @@ public java.lang.String getArtifactId() { } } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactId( - java.lang.String value) { + public Builder setArtifactId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + artifactId_ = value; onChanged(); return this; } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearArtifactId() { - + artifactId_ = getDefaultInstance().getArtifactId(); onChanged(); return this; } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactIdBytes( - com.google.protobuf.ByteString value) { + public Builder setArtifactIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + artifactId_ = value; onChanged(); return this; @@ -22051,19 +25155,21 @@ public Builder setArtifactIdBytes( private java.lang.Object destination_ = ""; /** + * + * *
            * Directory to extract archive to.
            * Defaults to `/` on Linux or `C:\` on Windows.
            * 
* * string destination = 2; + * * @return The destination. */ public java.lang.String getDestination() { java.lang.Object ref = destination_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destination_ = s; return s; @@ -22072,21 +25178,22 @@ public java.lang.String getDestination() { } } /** + * + * *
            * Directory to extract archive to.
            * Defaults to `/` on Linux or `C:\` on Windows.
            * 
* * string destination = 2; + * * @return The bytes for destination. */ - public com.google.protobuf.ByteString - getDestinationBytes() { + public com.google.protobuf.ByteString getDestinationBytes() { java.lang.Object ref = destination_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destination_ = b; return b; } else { @@ -22094,57 +25201,64 @@ public java.lang.String getDestination() { } } /** + * + * *
            * Directory to extract archive to.
            * Defaults to `/` on Linux or `C:\` on Windows.
            * 
* * string destination = 2; + * * @param value The destination to set. * @return This builder for chaining. */ - public Builder setDestination( - java.lang.String value) { + public Builder setDestination(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + destination_ = value; onChanged(); return this; } /** + * + * *
            * Directory to extract archive to.
            * Defaults to `/` on Linux or `C:\` on Windows.
            * 
* * string destination = 2; + * * @return This builder for chaining. */ public Builder clearDestination() { - + destination_ = getDefaultInstance().getDestination(); onChanged(); return this; } /** + * + * *
            * Directory to extract archive to.
            * Defaults to `/` on Linux or `C:\` on Windows.
            * 
* * string destination = 2; + * * @param value The bytes for destination to set. * @return This builder for chaining. */ - public Builder setDestinationBytes( - com.google.protobuf.ByteString value) { + public Builder setDestinationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + destination_ = value; onChanged(); return this; @@ -22152,77 +25266,116 @@ public Builder setDestinationBytes( private int type_ = 0; /** + * + * *
            * Required. The type of the archive to extract.
            * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
            * Required. The type of the archive to extract.
            * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
            * Required. The type of the archive to extract.
            * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType getType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .ArchiveType + getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType result = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType.valueOf(type_); - return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .ArchiveType + result = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive.ArchiveType.valueOf(type_); + return result == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .ArchiveType.UNRECOGNIZED + : result; } /** + * + * *
            * Required. The type of the archive to extract.
            * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType value) { + public Builder setType( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .ArchiveType + value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
            * Required. The type of the archive to extract.
            * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -22235,30 +25388,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExtractArchive parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExtractArchive(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExtractArchive parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExtractArchive(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -22270,129 +25429,157 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface InstallMsiOrBuilder extends + public interface InstallMsiOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The artifactId. */ java.lang.String getArtifactId(); /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for artifactId. */ - com.google.protobuf.ByteString - getArtifactIdBytes(); + com.google.protobuf.ByteString getArtifactIdBytes(); /** + * + * *
          * The flags to use when installing the MSI
          * defaults to ["/i"] (i.e. the install flag).
          * 
* * repeated string flags = 2; + * * @return A list containing the flags. */ - java.util.List - getFlagsList(); + java.util.List getFlagsList(); /** + * + * *
          * The flags to use when installing the MSI
          * defaults to ["/i"] (i.e. the install flag).
          * 
* * repeated string flags = 2; + * * @return The count of flags. */ int getFlagsCount(); /** + * + * *
          * The flags to use when installing the MSI
          * defaults to ["/i"] (i.e. the install flag).
          * 
* * repeated string flags = 2; + * * @param index The index of the element to return. * @return The flags at the given index. */ java.lang.String getFlags(int index); /** + * + * *
          * The flags to use when installing the MSI
          * defaults to ["/i"] (i.e. the install flag).
          * 
* * repeated string flags = 2; + * * @param index The index of the value to return. * @return The bytes of the flags at the given index. */ - com.google.protobuf.ByteString - getFlagsBytes(int index); + com.google.protobuf.ByteString getFlagsBytes(int index); /** + * + * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 3; + * * @return A list containing the allowedExitCodes. */ java.util.List getAllowedExitCodesList(); /** + * + * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 3; + * * @return The count of allowedExitCodes. */ int getAllowedExitCodesCount(); /** + * + * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 3; + * * @param index The index of the element to return. * @return The allowedExitCodes at the given index. */ int getAllowedExitCodes(int index); } /** + * + * *
        * Installs an MSI file.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi} */ - public static final class InstallMsi extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class InstallMsi extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi) InstallMsiOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InstallMsi.newBuilder() to construct. private InstallMsi(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InstallMsi() { artifactId_ = ""; flags_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -22401,16 +25588,15 @@ private InstallMsi() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InstallMsi(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InstallMsi( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -22430,49 +25616,54 @@ private InstallMsi( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - artifactId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - flags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + artifactId_ = s; + break; } - flags_.add(s); - break; - } - case 24: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - allowedExitCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + flags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + flags_.add(s); + break; } - allowedExitCodes_.addInt(input.readInt32()); - break; - } - case 26: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { - allowedExitCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000002; - } - while (input.getBytesUntilLimit() > 0) { + case 24: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + allowedExitCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000002; + } allowedExitCodes_.addInt(input.readInt32()); + break; } - input.popLimit(limit); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000002) != 0) + && input.getBytesUntilLimit() > 0) { + allowedExitCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000002; + } + while (input.getBytesUntilLimit() > 0) { + allowedExitCodes_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -22480,8 +25671,8 @@ private InstallMsi( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { flags_ = flags_.getUnmodifiableView(); @@ -22493,27 +25684,35 @@ private InstallMsi( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + .class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + .Builder.class); } public static final int ARTIFACT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object artifactId_; /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The artifactId. */ @java.lang.Override @@ -22522,29 +25721,29 @@ public java.lang.String getArtifactId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; } } /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for artifactId. */ @java.lang.Override - public com.google.protobuf.ByteString - getArtifactIdBytes() { + public com.google.protobuf.ByteString getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifactId_ = b; return b; } else { @@ -22555,37 +25754,45 @@ public java.lang.String getArtifactId() { public static final int FLAGS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList flags_; /** + * + * *
          * The flags to use when installing the MSI
          * defaults to ["/i"] (i.e. the install flag).
          * 
* * repeated string flags = 2; + * * @return A list containing the flags. */ - public com.google.protobuf.ProtocolStringList - getFlagsList() { + public com.google.protobuf.ProtocolStringList getFlagsList() { return flags_; } /** + * + * *
          * The flags to use when installing the MSI
          * defaults to ["/i"] (i.e. the install flag).
          * 
* * repeated string flags = 2; + * * @return The count of flags. */ public int getFlagsCount() { return flags_.size(); } /** + * + * *
          * The flags to use when installing the MSI
          * defaults to ["/i"] (i.e. the install flag).
          * 
* * repeated string flags = 2; + * * @param index The index of the element to return. * @return The flags at the given index. */ @@ -22593,64 +25800,76 @@ public java.lang.String getFlags(int index) { return flags_.get(index); } /** + * + * *
          * The flags to use when installing the MSI
          * defaults to ["/i"] (i.e. the install flag).
          * 
* * repeated string flags = 2; + * * @param index The index of the value to return. * @return The bytes of the flags at the given index. */ - public com.google.protobuf.ByteString - getFlagsBytes(int index) { + public com.google.protobuf.ByteString getFlagsBytes(int index) { return flags_.getByteString(index); } public static final int ALLOWED_EXIT_CODES_FIELD_NUMBER = 3; private com.google.protobuf.Internal.IntList allowedExitCodes_; /** + * + * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 3; + * * @return A list containing the allowedExitCodes. */ @java.lang.Override - public java.util.List - getAllowedExitCodesList() { + public java.util.List getAllowedExitCodesList() { return allowedExitCodes_; } /** + * + * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 3; + * * @return The count of allowedExitCodes. */ public int getAllowedExitCodesCount() { return allowedExitCodes_.size(); } /** + * + * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 3; + * * @param index The index of the element to return. * @return The allowedExitCodes at the given index. */ public int getAllowedExitCodes(int index) { return allowedExitCodes_.getInt(index); } + private int allowedExitCodesMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -22663,7 +25882,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, artifactId_); @@ -22701,14 +25920,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < allowedExitCodes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(allowedExitCodes_.getInt(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag( + allowedExitCodes_.getInt(i)); } size += dataSize; if (!getAllowedExitCodesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } allowedExitCodesMemoizedSerializedSize = dataSize; } @@ -22720,19 +25939,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) obj; - if (!getArtifactId() - .equals(other.getArtifactId())) return false; - if (!getFlagsList() - .equals(other.getFlagsList())) return false; - if (!getAllowedExitCodesList() - .equals(other.getAllowedExitCodesList())) return false; + if (!getArtifactId().equals(other.getArtifactId())) return false; + if (!getFlagsList().equals(other.getFlagsList())) return false; + if (!getAllowedExitCodesList().equals(other.getAllowedExitCodesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -22759,88 +25978,106 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -22850,44 +26087,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Installs an MSI file.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi) com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + .class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -22901,19 +26145,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi result = buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -22921,8 +26169,11 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Instal } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi( + this); int from_bitField0_ = bitField0_; result.artifactId_ = artifactId_; if (((bitField0_ & 0x00000001) != 0)) { @@ -22943,46 +26194,56 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Instal public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + .getDefaultInstance()) return this; if (!other.getArtifactId().isEmpty()) { artifactId_ = other.artifactId_; onChanged(); @@ -23022,11 +26283,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -23035,22 +26299,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object artifactId_ = ""; /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The artifactId. */ public java.lang.String getArtifactId() { java.lang.Object ref = artifactId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; @@ -23059,20 +26326,21 @@ public java.lang.String getArtifactId() { } } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for artifactId. */ - public com.google.protobuf.ByteString - getArtifactIdBytes() { + public com.google.protobuf.ByteString getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifactId_ = b; return b; } else { @@ -23080,98 +26348,115 @@ public java.lang.String getArtifactId() { } } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactId( - java.lang.String value) { + public Builder setArtifactId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + artifactId_ = value; onChanged(); return this; } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearArtifactId() { - + artifactId_ = getDefaultInstance().getArtifactId(); onChanged(); return this; } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactIdBytes( - com.google.protobuf.ByteString value) { + public Builder setArtifactIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + artifactId_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList flags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList flags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureFlagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { flags_ = new com.google.protobuf.LazyStringArrayList(flags_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
            * The flags to use when installing the MSI
            * defaults to ["/i"] (i.e. the install flag).
            * 
* * repeated string flags = 2; + * * @return A list containing the flags. */ - public com.google.protobuf.ProtocolStringList - getFlagsList() { + public com.google.protobuf.ProtocolStringList getFlagsList() { return flags_.getUnmodifiableView(); } /** + * + * *
            * The flags to use when installing the MSI
            * defaults to ["/i"] (i.e. the install flag).
            * 
* * repeated string flags = 2; + * * @return The count of flags. */ public int getFlagsCount() { return flags_.size(); } /** + * + * *
            * The flags to use when installing the MSI
            * defaults to ["/i"] (i.e. the install flag).
            * 
* * repeated string flags = 2; + * * @param index The index of the element to return. * @return The flags at the given index. */ @@ -23179,85 +26464,95 @@ public java.lang.String getFlags(int index) { return flags_.get(index); } /** + * + * *
            * The flags to use when installing the MSI
            * defaults to ["/i"] (i.e. the install flag).
            * 
* * repeated string flags = 2; + * * @param index The index of the value to return. * @return The bytes of the flags at the given index. */ - public com.google.protobuf.ByteString - getFlagsBytes(int index) { + public com.google.protobuf.ByteString getFlagsBytes(int index) { return flags_.getByteString(index); } /** + * + * *
            * The flags to use when installing the MSI
            * defaults to ["/i"] (i.e. the install flag).
            * 
* * repeated string flags = 2; + * * @param index The index to set the value at. * @param value The flags to set. * @return This builder for chaining. */ - public Builder setFlags( - int index, java.lang.String value) { + public Builder setFlags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFlagsIsMutable(); + throw new NullPointerException(); + } + ensureFlagsIsMutable(); flags_.set(index, value); onChanged(); return this; } /** + * + * *
            * The flags to use when installing the MSI
            * defaults to ["/i"] (i.e. the install flag).
            * 
* * repeated string flags = 2; + * * @param value The flags to add. * @return This builder for chaining. */ - public Builder addFlags( - java.lang.String value) { + public Builder addFlags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFlagsIsMutable(); + throw new NullPointerException(); + } + ensureFlagsIsMutable(); flags_.add(value); onChanged(); return this; } /** + * + * *
            * The flags to use when installing the MSI
            * defaults to ["/i"] (i.e. the install flag).
            * 
* * repeated string flags = 2; + * * @param values The flags to add. * @return This builder for chaining. */ - public Builder addAllFlags( - java.lang.Iterable values) { + public Builder addAllFlags(java.lang.Iterable values) { ensureFlagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, flags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, flags_); onChanged(); return this; } /** + * + * *
            * The flags to use when installing the MSI
            * defaults to ["/i"] (i.e. the install flag).
            * 
* * repeated string flags = 2; + * * @return This builder for chaining. */ public Builder clearFlags() { @@ -23267,21 +26562,23 @@ public Builder clearFlags() { return this; } /** + * + * *
            * The flags to use when installing the MSI
            * defaults to ["/i"] (i.e. the install flag).
            * 
* * repeated string flags = 2; + * * @param value The bytes of the flags to add. * @return This builder for chaining. */ - public Builder addFlagsBytes( - com.google.protobuf.ByteString value) { + public Builder addFlagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFlagsIsMutable(); flags_.add(value); onChanged(); @@ -23289,45 +26586,55 @@ public Builder addFlagsBytes( } private com.google.protobuf.Internal.IntList allowedExitCodes_ = emptyIntList(); + private void ensureAllowedExitCodesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { allowedExitCodes_ = mutableCopy(allowedExitCodes_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 3; + * * @return A list containing the allowedExitCodes. */ - public java.util.List - getAllowedExitCodesList() { - return ((bitField0_ & 0x00000002) != 0) ? - java.util.Collections.unmodifiableList(allowedExitCodes_) : allowedExitCodes_; + public java.util.List getAllowedExitCodesList() { + return ((bitField0_ & 0x00000002) != 0) + ? java.util.Collections.unmodifiableList(allowedExitCodes_) + : allowedExitCodes_; } /** + * + * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 3; + * * @return The count of allowedExitCodes. */ public int getAllowedExitCodesCount() { return allowedExitCodes_.size(); } /** + * + * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 3; + * * @param index The index of the element to return. * @return The allowedExitCodes at the given index. */ @@ -23335,30 +26642,35 @@ public int getAllowedExitCodes(int index) { return allowedExitCodes_.getInt(index); } /** + * + * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 3; + * * @param index The index to set the value at. * @param value The allowedExitCodes to set. * @return This builder for chaining. */ - public Builder setAllowedExitCodes( - int index, int value) { + public Builder setAllowedExitCodes(int index, int value) { ensureAllowedExitCodesIsMutable(); allowedExitCodes_.setInt(index, value); onChanged(); return this; } /** + * + * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 3; + * * @param value The allowedExitCodes to add. * @return This builder for chaining. */ @@ -23369,30 +26681,35 @@ public Builder addAllowedExitCodes(int value) { return this; } /** + * + * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 3; + * * @param values The allowedExitCodes to add. * @return This builder for chaining. */ public Builder addAllAllowedExitCodes( java.lang.Iterable values) { ensureAllowedExitCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, allowedExitCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedExitCodes_); onChanged(); return this; } /** + * + * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 3; + * * @return This builder for chaining. */ public Builder clearAllowedExitCodes() { @@ -23401,6 +26718,7 @@ public Builder clearAllowedExitCodes() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -23413,30 +26731,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallMsi + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstallMsi parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstallMsi(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstallMsi parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstallMsi(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -23448,68 +26770,76 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface InstallDpkgOrBuilder extends + public interface InstallDpkgOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The artifactId. */ java.lang.String getArtifactId(); /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for artifactId. */ - com.google.protobuf.ByteString - getArtifactIdBytes(); + com.google.protobuf.ByteString getArtifactIdBytes(); } /** + * + * *
        * Installs a deb via dpkg.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg} */ - public static final class InstallDpkg extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class InstallDpkg extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg) InstallDpkgOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InstallDpkg.newBuilder() to construct. private InstallDpkg(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InstallDpkg() { artifactId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InstallDpkg(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InstallDpkg( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -23528,19 +26858,20 @@ private InstallDpkg( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - artifactId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + artifactId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -23548,34 +26879,42 @@ private InstallDpkg( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + .class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + .Builder.class); } public static final int ARTIFACT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object artifactId_; /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The artifactId. */ @java.lang.Override @@ -23584,29 +26923,29 @@ public java.lang.String getArtifactId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; } } /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for artifactId. */ @java.lang.Override - public com.google.protobuf.ByteString - getArtifactIdBytes() { + public com.google.protobuf.ByteString getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifactId_ = b; return b; } else { @@ -23615,6 +26954,7 @@ public java.lang.String getArtifactId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -23627,7 +26967,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, artifactId_); } @@ -23651,15 +26991,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) obj; - if (!getArtifactId() - .equals(other.getArtifactId())) return false; + if (!getArtifactId().equals(other.getArtifactId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -23678,88 +27020,106 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -23769,44 +27129,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Installs a deb via dpkg.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg) - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallDpkgOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + .class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -23816,19 +27184,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg result = buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -23836,8 +27208,11 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Instal } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg( + this); result.artifactId_ = artifactId_; onBuilt(); return result; @@ -23847,46 +27222,57 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Instal public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + .getDefaultInstance()) return this; if (!other.getArtifactId().isEmpty()) { artifactId_ = other.artifactId_; onChanged(); @@ -23906,11 +27292,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -23922,18 +27311,20 @@ public Builder mergeFrom( private java.lang.Object artifactId_ = ""; /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The artifactId. */ public java.lang.String getArtifactId() { java.lang.Object ref = artifactId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; @@ -23942,20 +27333,21 @@ public java.lang.String getArtifactId() { } } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for artifactId. */ - public com.google.protobuf.ByteString - getArtifactIdBytes() { + public com.google.protobuf.ByteString getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifactId_ = b; return b; } else { @@ -23963,58 +27355,66 @@ public java.lang.String getArtifactId() { } } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactId( - java.lang.String value) { + public Builder setArtifactId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + artifactId_ = value; onChanged(); return this; } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearArtifactId() { - + artifactId_ = getDefaultInstance().getArtifactId(); onChanged(); return this; } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactIdBytes( - com.google.protobuf.ByteString value) { + public Builder setArtifactIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + artifactId_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -24027,30 +27427,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallDpkg + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstallDpkg parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstallDpkg(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstallDpkg parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstallDpkg(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -24062,68 +27466,76 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface InstallRpmOrBuilder extends + public interface InstallRpmOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The artifactId. */ java.lang.String getArtifactId(); /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for artifactId. */ - com.google.protobuf.ByteString - getArtifactIdBytes(); + com.google.protobuf.ByteString getArtifactIdBytes(); } /** + * + * *
        * Installs an rpm file via the rpm utility.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm} */ - public static final class InstallRpm extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class InstallRpm extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm) InstallRpmOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InstallRpm.newBuilder() to construct. private InstallRpm(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InstallRpm() { artifactId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InstallRpm(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InstallRpm( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -24142,19 +27554,20 @@ private InstallRpm( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - artifactId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + artifactId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -24162,34 +27575,42 @@ private InstallRpm( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + .class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + .Builder.class); } public static final int ARTIFACT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object artifactId_; /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The artifactId. */ @java.lang.Override @@ -24198,29 +27619,29 @@ public java.lang.String getArtifactId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; } } /** + * + * *
          * Required. The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for artifactId. */ @java.lang.Override - public com.google.protobuf.ByteString - getArtifactIdBytes() { + public com.google.protobuf.ByteString getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifactId_ = b; return b; } else { @@ -24229,6 +27650,7 @@ public java.lang.String getArtifactId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -24241,7 +27663,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, artifactId_); } @@ -24265,15 +27687,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) obj; - if (!getArtifactId() - .equals(other.getArtifactId())) return false; + if (!getArtifactId().equals(other.getArtifactId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -24292,88 +27716,106 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -24383,44 +27825,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Installs an rpm file via the rpm utility.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm) com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + .class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -24430,19 +27879,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm result = buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -24450,8 +27903,11 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Instal } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm( + this); result.artifactId_ = artifactId_; onBuilt(); return result; @@ -24461,46 +27917,56 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Instal public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + .getDefaultInstance()) return this; if (!other.getArtifactId().isEmpty()) { artifactId_ = other.artifactId_; onChanged(); @@ -24520,11 +27986,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -24536,18 +28005,20 @@ public Builder mergeFrom( private java.lang.Object artifactId_ = ""; /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The artifactId. */ public java.lang.String getArtifactId() { java.lang.Object ref = artifactId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; @@ -24556,20 +28027,21 @@ public java.lang.String getArtifactId() { } } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for artifactId. */ - public com.google.protobuf.ByteString - getArtifactIdBytes() { + public com.google.protobuf.ByteString getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifactId_ = b; return b; } else { @@ -24577,58 +28049,66 @@ public java.lang.String getArtifactId() { } } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactId( - java.lang.String value) { + public Builder setArtifactId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + artifactId_ = value; onChanged(); return this; } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearArtifactId() { - + artifactId_ = getDefaultInstance().getArtifactId(); onChanged(); return this; } /** + * + * *
            * Required. The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactIdBytes( - com.google.protobuf.ByteString value) { + public Builder setArtifactIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + artifactId_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -24641,30 +28121,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallRpm + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstallRpm parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstallRpm(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstallRpm parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstallRpm(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -24676,165 +28160,206 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ExecFileOrBuilder extends + public interface ExecFileOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1; + * * @return Whether the artifactId field is set. */ boolean hasArtifactId(); /** + * + * *
          * The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1; + * * @return The artifactId. */ java.lang.String getArtifactId(); /** + * + * *
          * The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1; + * * @return The bytes for artifactId. */ - com.google.protobuf.ByteString - getArtifactIdBytes(); + com.google.protobuf.ByteString getArtifactIdBytes(); /** + * + * *
          * The absolute path of the file on the local filesystem.
          * 
* * string local_path = 2; + * * @return Whether the localPath field is set. */ boolean hasLocalPath(); /** + * + * *
          * The absolute path of the file on the local filesystem.
          * 
* * string local_path = 2; + * * @return The localPath. */ java.lang.String getLocalPath(); /** + * + * *
          * The absolute path of the file on the local filesystem.
          * 
* * string local_path = 2; + * * @return The bytes for localPath. */ - com.google.protobuf.ByteString - getLocalPathBytes(); + com.google.protobuf.ByteString getLocalPathBytes(); /** + * + * *
          * Arguments to be passed to the provided executable.
          * 
* * repeated string args = 3; + * * @return A list containing the args. */ - java.util.List - getArgsList(); + java.util.List getArgsList(); /** + * + * *
          * Arguments to be passed to the provided executable.
          * 
* * repeated string args = 3; + * * @return The count of args. */ int getArgsCount(); /** + * + * *
          * Arguments to be passed to the provided executable.
          * 
* * repeated string args = 3; + * * @param index The index of the element to return. * @return The args at the given index. */ java.lang.String getArgs(int index); /** + * + * *
          * Arguments to be passed to the provided executable.
          * 
* * repeated string args = 3; + * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - com.google.protobuf.ByteString - getArgsBytes(int index); + com.google.protobuf.ByteString getArgsBytes(int index); /** + * + * *
          * Defaults to [0]. A list of possible return values that the program
          * can return to indicate a success.
          * 
* * repeated int32 allowed_exit_codes = 4; + * * @return A list containing the allowedExitCodes. */ java.util.List getAllowedExitCodesList(); /** + * + * *
          * Defaults to [0]. A list of possible return values that the program
          * can return to indicate a success.
          * 
* * repeated int32 allowed_exit_codes = 4; + * * @return The count of allowedExitCodes. */ int getAllowedExitCodesCount(); /** + * + * *
          * Defaults to [0]. A list of possible return values that the program
          * can return to indicate a success.
          * 
* * repeated int32 allowed_exit_codes = 4; + * * @param index The index of the element to return. * @return The allowedExitCodes at the given index. */ int getAllowedExitCodes(int index); - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.LocationTypeCase getLocationTypeCase(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + .LocationTypeCase + getLocationTypeCase(); } /** + * + * *
        * Executes an artifact or local file.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile} */ - public static final class ExecFile extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ExecFile extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile) ExecFileOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecFile.newBuilder() to construct. private ExecFile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExecFile() { args_ = com.google.protobuf.LazyStringArrayList.EMPTY; allowedExitCodes_ = emptyIntList(); @@ -24842,16 +28367,15 @@ private ExecFile() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExecFile(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExecFile( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -24871,55 +28395,61 @@ private ExecFile( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - locationTypeCase_ = 1; - locationType_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - locationTypeCase_ = 2; - locationType_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - args_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + locationTypeCase_ = 1; + locationType_ = s; + break; } - args_.add(s); - break; - } - case 32: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - allowedExitCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + locationTypeCase_ = 2; + locationType_ = s; + break; } - allowedExitCodes_.addInt(input.readInt32()); - break; - } - case 34: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { - allowedExitCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000002; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + args_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + args_.add(s); + break; } - while (input.getBytesUntilLimit() > 0) { + case 32: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + allowedExitCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000002; + } allowedExitCodes_.addInt(input.readInt32()); + break; } - input.popLimit(limit); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000002) != 0) + && input.getBytesUntilLimit() > 0) { + allowedExitCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000002; + } + while (input.getBytesUntilLimit() > 0) { + allowedExitCodes_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -24927,8 +28457,8 @@ private ExecFile( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { args_ = args_.getUnmodifiableView(); @@ -24940,28 +28470,35 @@ private ExecFile( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + .Builder.class); } private int locationTypeCase_ = 0; private java.lang.Object locationType_; + public enum LocationTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ARTIFACT_ID(1), LOCAL_PATH(2), LOCATIONTYPE_NOT_SET(0); private final int value; + private LocationTypeCase(int value) { this.value = value; } @@ -24977,41 +28514,50 @@ public static LocationTypeCase valueOf(int value) { public static LocationTypeCase forNumber(int value) { switch (value) { - case 1: return ARTIFACT_ID; - case 2: return LOCAL_PATH; - case 0: return LOCATIONTYPE_NOT_SET; - default: return null; + case 1: + return ARTIFACT_ID; + case 2: + return LOCAL_PATH; + case 0: + return LOCATIONTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public LocationTypeCase - getLocationTypeCase() { - return LocationTypeCase.forNumber( - locationTypeCase_); + public LocationTypeCase getLocationTypeCase() { + return LocationTypeCase.forNumber(locationTypeCase_); } public static final int ARTIFACT_ID_FIELD_NUMBER = 1; /** + * + * *
          * The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1; + * * @return Whether the artifactId field is set. */ public boolean hasArtifactId() { return locationTypeCase_ == 1; } /** + * + * *
          * The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1; + * * @return The artifactId. */ public java.lang.String getArtifactId() { @@ -25022,8 +28568,7 @@ public java.lang.String getArtifactId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (locationTypeCase_ == 1) { locationType_ = s; @@ -25032,23 +28577,24 @@ public java.lang.String getArtifactId() { } } /** + * + * *
          * The id of the relevant artifact in the recipe.
          * 
* * string artifact_id = 1; + * * @return The bytes for artifactId. */ - public com.google.protobuf.ByteString - getArtifactIdBytes() { + public com.google.protobuf.ByteString getArtifactIdBytes() { java.lang.Object ref = ""; if (locationTypeCase_ == 1) { ref = locationType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (locationTypeCase_ == 1) { locationType_ = b; } @@ -25060,22 +28606,28 @@ public java.lang.String getArtifactId() { public static final int LOCAL_PATH_FIELD_NUMBER = 2; /** + * + * *
          * The absolute path of the file on the local filesystem.
          * 
* * string local_path = 2; + * * @return Whether the localPath field is set. */ public boolean hasLocalPath() { return locationTypeCase_ == 2; } /** + * + * *
          * The absolute path of the file on the local filesystem.
          * 
* * string local_path = 2; + * * @return The localPath. */ public java.lang.String getLocalPath() { @@ -25086,8 +28638,7 @@ public java.lang.String getLocalPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (locationTypeCase_ == 2) { locationType_ = s; @@ -25096,23 +28647,24 @@ public java.lang.String getLocalPath() { } } /** + * + * *
          * The absolute path of the file on the local filesystem.
          * 
* * string local_path = 2; + * * @return The bytes for localPath. */ - public com.google.protobuf.ByteString - getLocalPathBytes() { + public com.google.protobuf.ByteString getLocalPathBytes() { java.lang.Object ref = ""; if (locationTypeCase_ == 2) { ref = locationType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (locationTypeCase_ == 2) { locationType_ = b; } @@ -25125,34 +28677,42 @@ public java.lang.String getLocalPath() { public static final int ARGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList args_; /** + * + * *
          * Arguments to be passed to the provided executable.
          * 
* * repeated string args = 3; + * * @return A list containing the args. */ - public com.google.protobuf.ProtocolStringList - getArgsList() { + public com.google.protobuf.ProtocolStringList getArgsList() { return args_; } /** + * + * *
          * Arguments to be passed to the provided executable.
          * 
* * repeated string args = 3; + * * @return The count of args. */ public int getArgsCount() { return args_.size(); } /** + * + * *
          * Arguments to be passed to the provided executable.
          * 
* * repeated string args = 3; + * * @param index The index of the element to return. * @return The args at the given index. */ @@ -25160,63 +28720,75 @@ public java.lang.String getArgs(int index) { return args_.get(index); } /** + * + * *
          * Arguments to be passed to the provided executable.
          * 
* * repeated string args = 3; + * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - public com.google.protobuf.ByteString - getArgsBytes(int index) { + public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); } public static final int ALLOWED_EXIT_CODES_FIELD_NUMBER = 4; private com.google.protobuf.Internal.IntList allowedExitCodes_; /** + * + * *
          * Defaults to [0]. A list of possible return values that the program
          * can return to indicate a success.
          * 
* * repeated int32 allowed_exit_codes = 4; + * * @return A list containing the allowedExitCodes. */ @java.lang.Override - public java.util.List - getAllowedExitCodesList() { + public java.util.List getAllowedExitCodesList() { return allowedExitCodes_; } /** + * + * *
          * Defaults to [0]. A list of possible return values that the program
          * can return to indicate a success.
          * 
* * repeated int32 allowed_exit_codes = 4; + * * @return The count of allowedExitCodes. */ public int getAllowedExitCodesCount() { return allowedExitCodes_.size(); } /** + * + * *
          * Defaults to [0]. A list of possible return values that the program
          * can return to indicate a success.
          * 
* * repeated int32 allowed_exit_codes = 4; + * * @param index The index of the element to return. * @return The allowedExitCodes at the given index. */ public int getAllowedExitCodes(int index) { return allowedExitCodes_.getInt(index); } + private int allowedExitCodesMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -25229,7 +28801,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (locationTypeCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, locationType_); @@ -25273,14 +28845,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < allowedExitCodes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(allowedExitCodes_.getInt(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag( + allowedExitCodes_.getInt(i)); } size += dataSize; if (!getAllowedExitCodesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } allowedExitCodesMemoizedSerializedSize = dataSize; } @@ -25292,26 +28864,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) obj; - if (!getArgsList() - .equals(other.getArgsList())) return false; - if (!getAllowedExitCodesList() - .equals(other.getAllowedExitCodesList())) return false; + if (!getArgsList().equals(other.getArgsList())) return false; + if (!getAllowedExitCodesList().equals(other.getAllowedExitCodesList())) return false; if (!getLocationTypeCase().equals(other.getLocationTypeCase())) return false; switch (locationTypeCase_) { case 1: - if (!getArtifactId() - .equals(other.getArtifactId())) return false; + if (!getArtifactId().equals(other.getArtifactId())) return false; break; case 2: - if (!getLocalPath() - .equals(other.getLocalPath())) return false; + if (!getLocalPath().equals(other.getLocalPath())) return false; break; case 0: default: @@ -25352,88 +28923,105 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -25443,44 +29031,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Executes an artifact or local file.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile) com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + .class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -25494,19 +29089,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile result = buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -25514,8 +29113,11 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFi } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile( + this); int from_bitField0_ = bitField0_; if (locationTypeCase_ == 1) { result.locationType_ = locationType_; @@ -25542,46 +29144,56 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + .getDefaultInstance()) return this; if (!other.args_.isEmpty()) { if (args_.isEmpty()) { args_ = other.args_; @@ -25603,21 +29215,24 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Software onChanged(); } switch (other.getLocationTypeCase()) { - case ARTIFACT_ID: { - locationTypeCase_ = 1; - locationType_ = other.locationType_; - onChanged(); - break; - } - case LOCAL_PATH: { - locationTypeCase_ = 2; - locationType_ = other.locationType_; - onChanged(); - break; - } - case LOCATIONTYPE_NOT_SET: { - break; - } + case ARTIFACT_ID: + { + locationTypeCase_ = 1; + locationType_ = other.locationType_; + onChanged(); + break; + } + case LOCAL_PATH: + { + locationTypeCase_ = 2; + locationType_ = other.locationType_; + onChanged(); + break; + } + case LOCATIONTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -25634,11 +29249,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -25647,12 +29265,12 @@ public Builder mergeFrom( } return this; } + private int locationTypeCase_ = 0; private java.lang.Object locationType_; - public LocationTypeCase - getLocationTypeCase() { - return LocationTypeCase.forNumber( - locationTypeCase_); + + public LocationTypeCase getLocationTypeCase() { + return LocationTypeCase.forNumber(locationTypeCase_); } public Builder clearLocationType() { @@ -25665,11 +29283,14 @@ public Builder clearLocationType() { private int bitField0_; /** + * + * *
            * The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1; + * * @return Whether the artifactId field is set. */ @java.lang.Override @@ -25677,11 +29298,14 @@ public boolean hasArtifactId() { return locationTypeCase_ == 1; } /** + * + * *
            * The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1; + * * @return The artifactId. */ @java.lang.Override @@ -25691,8 +29315,7 @@ public java.lang.String getArtifactId() { ref = locationType_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (locationTypeCase_ == 1) { locationType_ = s; @@ -25703,24 +29326,25 @@ public java.lang.String getArtifactId() { } } /** + * + * *
            * The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1; + * * @return The bytes for artifactId. */ @java.lang.Override - public com.google.protobuf.ByteString - getArtifactIdBytes() { + public com.google.protobuf.ByteString getArtifactIdBytes() { java.lang.Object ref = ""; if (locationTypeCase_ == 1) { ref = locationType_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (locationTypeCase_ == 1) { locationType_ = b; } @@ -25730,30 +29354,35 @@ public java.lang.String getArtifactId() { } } /** + * + * *
            * The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1; + * * @param value The artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactId( - java.lang.String value) { + public Builder setArtifactId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - locationTypeCase_ = 1; + throw new NullPointerException(); + } + locationTypeCase_ = 1; locationType_ = value; onChanged(); return this; } /** + * + * *
            * The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1; + * * @return This builder for chaining. */ public Builder clearArtifactId() { @@ -25765,20 +29394,22 @@ public Builder clearArtifactId() { return this; } /** + * + * *
            * The id of the relevant artifact in the recipe.
            * 
* * string artifact_id = 1; + * * @param value The bytes for artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactIdBytes( - com.google.protobuf.ByteString value) { + public Builder setArtifactIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); locationTypeCase_ = 1; locationType_ = value; onChanged(); @@ -25786,11 +29417,14 @@ public Builder setArtifactIdBytes( } /** + * + * *
            * The absolute path of the file on the local filesystem.
            * 
* * string local_path = 2; + * * @return Whether the localPath field is set. */ @java.lang.Override @@ -25798,11 +29432,14 @@ public boolean hasLocalPath() { return locationTypeCase_ == 2; } /** + * + * *
            * The absolute path of the file on the local filesystem.
            * 
* * string local_path = 2; + * * @return The localPath. */ @java.lang.Override @@ -25812,8 +29449,7 @@ public java.lang.String getLocalPath() { ref = locationType_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (locationTypeCase_ == 2) { locationType_ = s; @@ -25824,24 +29460,25 @@ public java.lang.String getLocalPath() { } } /** + * + * *
            * The absolute path of the file on the local filesystem.
            * 
* * string local_path = 2; + * * @return The bytes for localPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocalPathBytes() { + public com.google.protobuf.ByteString getLocalPathBytes() { java.lang.Object ref = ""; if (locationTypeCase_ == 2) { ref = locationType_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (locationTypeCase_ == 2) { locationType_ = b; } @@ -25851,30 +29488,35 @@ public java.lang.String getLocalPath() { } } /** + * + * *
            * The absolute path of the file on the local filesystem.
            * 
* * string local_path = 2; + * * @param value The localPath to set. * @return This builder for chaining. */ - public Builder setLocalPath( - java.lang.String value) { + public Builder setLocalPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - locationTypeCase_ = 2; + throw new NullPointerException(); + } + locationTypeCase_ = 2; locationType_ = value; onChanged(); return this; } /** + * + * *
            * The absolute path of the file on the local filesystem.
            * 
* * string local_path = 2; + * * @return This builder for chaining. */ public Builder clearLocalPath() { @@ -25886,62 +29528,74 @@ public Builder clearLocalPath() { return this; } /** + * + * *
            * The absolute path of the file on the local filesystem.
            * 
* * string local_path = 2; + * * @param value The bytes for localPath to set. * @return This builder for chaining. */ - public Builder setLocalPathBytes( - com.google.protobuf.ByteString value) { + public Builder setLocalPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); locationTypeCase_ = 2; locationType_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList args_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList args_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureArgsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(args_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
            * Arguments to be passed to the provided executable.
            * 
* * repeated string args = 3; + * * @return A list containing the args. */ - public com.google.protobuf.ProtocolStringList - getArgsList() { + public com.google.protobuf.ProtocolStringList getArgsList() { return args_.getUnmodifiableView(); } /** + * + * *
            * Arguments to be passed to the provided executable.
            * 
* * repeated string args = 3; + * * @return The count of args. */ public int getArgsCount() { return args_.size(); } /** + * + * *
            * Arguments to be passed to the provided executable.
            * 
* * repeated string args = 3; + * * @param index The index of the element to return. * @return The args at the given index. */ @@ -25949,80 +29603,90 @@ public java.lang.String getArgs(int index) { return args_.get(index); } /** + * + * *
            * Arguments to be passed to the provided executable.
            * 
* * repeated string args = 3; + * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - public com.google.protobuf.ByteString - getArgsBytes(int index) { + public com.google.protobuf.ByteString getArgsBytes(int index) { return args_.getByteString(index); } /** + * + * *
            * Arguments to be passed to the provided executable.
            * 
* * repeated string args = 3; + * * @param index The index to set the value at. * @param value The args to set. * @return This builder for chaining. */ - public Builder setArgs( - int index, java.lang.String value) { + public Builder setArgs(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); + throw new NullPointerException(); + } + ensureArgsIsMutable(); args_.set(index, value); onChanged(); return this; } /** + * + * *
            * Arguments to be passed to the provided executable.
            * 
* * repeated string args = 3; + * * @param value The args to add. * @return This builder for chaining. */ - public Builder addArgs( - java.lang.String value) { + public Builder addArgs(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); + throw new NullPointerException(); + } + ensureArgsIsMutable(); args_.add(value); onChanged(); return this; } /** + * + * *
            * Arguments to be passed to the provided executable.
            * 
* * repeated string args = 3; + * * @param values The args to add. * @return This builder for chaining. */ - public Builder addAllArgs( - java.lang.Iterable values) { + public Builder addAllArgs(java.lang.Iterable values) { ensureArgsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, args_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, args_); onChanged(); return this; } /** + * + * *
            * Arguments to be passed to the provided executable.
            * 
* * repeated string args = 3; + * * @return This builder for chaining. */ public Builder clearArgs() { @@ -26032,20 +29696,22 @@ public Builder clearArgs() { return this; } /** + * + * *
            * Arguments to be passed to the provided executable.
            * 
* * repeated string args = 3; + * * @param value The bytes of the args to add. * @return This builder for chaining. */ - public Builder addArgsBytes( - com.google.protobuf.ByteString value) { + public Builder addArgsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureArgsIsMutable(); args_.add(value); onChanged(); @@ -26053,45 +29719,55 @@ public Builder addArgsBytes( } private com.google.protobuf.Internal.IntList allowedExitCodes_ = emptyIntList(); + private void ensureAllowedExitCodesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { allowedExitCodes_ = mutableCopy(allowedExitCodes_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
            * Defaults to [0]. A list of possible return values that the program
            * can return to indicate a success.
            * 
* * repeated int32 allowed_exit_codes = 4; + * * @return A list containing the allowedExitCodes. */ - public java.util.List - getAllowedExitCodesList() { - return ((bitField0_ & 0x00000002) != 0) ? - java.util.Collections.unmodifiableList(allowedExitCodes_) : allowedExitCodes_; + public java.util.List getAllowedExitCodesList() { + return ((bitField0_ & 0x00000002) != 0) + ? java.util.Collections.unmodifiableList(allowedExitCodes_) + : allowedExitCodes_; } /** + * + * *
            * Defaults to [0]. A list of possible return values that the program
            * can return to indicate a success.
            * 
* * repeated int32 allowed_exit_codes = 4; + * * @return The count of allowedExitCodes. */ public int getAllowedExitCodesCount() { return allowedExitCodes_.size(); } /** + * + * *
            * Defaults to [0]. A list of possible return values that the program
            * can return to indicate a success.
            * 
* * repeated int32 allowed_exit_codes = 4; + * * @param index The index of the element to return. * @return The allowedExitCodes at the given index. */ @@ -26099,30 +29775,35 @@ public int getAllowedExitCodes(int index) { return allowedExitCodes_.getInt(index); } /** + * + * *
            * Defaults to [0]. A list of possible return values that the program
            * can return to indicate a success.
            * 
* * repeated int32 allowed_exit_codes = 4; + * * @param index The index to set the value at. * @param value The allowedExitCodes to set. * @return This builder for chaining. */ - public Builder setAllowedExitCodes( - int index, int value) { + public Builder setAllowedExitCodes(int index, int value) { ensureAllowedExitCodesIsMutable(); allowedExitCodes_.setInt(index, value); onChanged(); return this; } /** + * + * *
            * Defaults to [0]. A list of possible return values that the program
            * can return to indicate a success.
            * 
* * repeated int32 allowed_exit_codes = 4; + * * @param value The allowedExitCodes to add. * @return This builder for chaining. */ @@ -26133,30 +29814,35 @@ public Builder addAllowedExitCodes(int value) { return this; } /** + * + * *
            * Defaults to [0]. A list of possible return values that the program
            * can return to indicate a success.
            * 
* * repeated int32 allowed_exit_codes = 4; + * * @param values The allowedExitCodes to add. * @return This builder for chaining. */ public Builder addAllAllowedExitCodes( java.lang.Iterable values) { ensureAllowedExitCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, allowedExitCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedExitCodes_); onChanged(); return this; } /** + * + * *
            * Defaults to [0]. A list of possible return values that the program
            * can return to indicate a success.
            * 
* * repeated int32 allowed_exit_codes = 4; + * * @return This builder for chaining. */ public Builder clearAllowedExitCodes() { @@ -26165,6 +29851,7 @@ public Builder clearAllowedExitCodes() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -26177,30 +29864,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExecFile + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecFile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecFile(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecFile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecFile(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -26212,69 +29903,86 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface RunScriptOrBuilder extends + public interface RunScriptOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * Required. The shell script to be executed.
          * 
* * string script = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The script. */ java.lang.String getScript(); /** + * + * *
          * Required. The shell script to be executed.
          * 
* * string script = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for script. */ - com.google.protobuf.ByteString - getScriptBytes(); + com.google.protobuf.ByteString getScriptBytes(); /** + * + * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 2; + * * @return A list containing the allowedExitCodes. */ java.util.List getAllowedExitCodesList(); /** + * + * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 2; + * * @return The count of allowedExitCodes. */ int getAllowedExitCodesCount(); /** + * + * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 2; + * * @param index The index of the element to return. * @return The allowedExitCodes at the given index. */ int getAllowedExitCodes(int index); /** + * + * *
          * The script interpreter to use to run the script. If no interpreter is
          * specified the script is executed directly, which likely
@@ -26282,11 +29990,16 @@ public interface RunScriptOrBuilder extends
          * [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; + * + * * @return The enum numeric value on the wire for interpreter. */ int getInterpreterValue(); /** + * + * *
          * The script interpreter to use to run the script. If no interpreter is
          * specified the script is executed directly, which likely
@@ -26294,27 +30007,34 @@ public interface RunScriptOrBuilder extends
          * [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; + * + * * @return The interpreter. */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter getInterpreter(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter + getInterpreter(); } /** + * + * *
        * Runs a script through an interpreter.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript} */ - public static final class RunScript extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class RunScript extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript) RunScriptOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunScript.newBuilder() to construct. private RunScript(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RunScript() { script_ = ""; allowedExitCodes_ = emptyIntList(); @@ -26323,16 +30043,15 @@ private RunScript() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunScript(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RunScript( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -26352,46 +30071,51 @@ private RunScript( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - script_ = s; - break; - } - case 16: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - allowedExitCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000001; - } - allowedExitCodes_.addInt(input.readInt32()); - break; - } - case 18: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { - allowedExitCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000001; + script_ = s; + break; } - while (input.getBytesUntilLimit() > 0) { + case 16: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + allowedExitCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } allowedExitCodes_.addInt(input.readInt32()); + break; } - input.popLimit(limit); - break; - } - case 24: { - int rawValue = input.readEnum(); + case 18: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) + && input.getBytesUntilLimit() > 0) { + allowedExitCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } + while (input.getBytesUntilLimit() > 0) { + allowedExitCodes_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 24: + { + int rawValue = input.readEnum(); - interpreter_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + interpreter_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -26399,8 +30123,8 @@ private RunScript( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { allowedExitCodes_.makeImmutable(); // C @@ -26409,29 +30133,38 @@ private RunScript( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .Builder.class); } /** + * + * *
          * The interpreter used to execute a script.
          * 
* - * Protobuf enum {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter} + * Protobuf enum {@code + * google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter} */ - public enum Interpreter - implements com.google.protobuf.ProtocolMessageEnum { + public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
            * Default value for ScriptType.
            * 
@@ -26440,6 +30173,8 @@ public enum Interpreter */ INTERPRETER_UNSPECIFIED(0), /** + * + * *
            * Indicates that the script is run with `/bin/sh` on Linux and `cmd`
            * on windows.
@@ -26449,6 +30184,8 @@ public enum Interpreter
            */
           SHELL(1),
           /**
+           *
+           *
            * 
            * Indicates that the script is run with powershell.
            * 
@@ -26460,6 +30197,8 @@ public enum Interpreter ; /** + * + * *
            * Default value for ScriptType.
            * 
@@ -26468,6 +30207,8 @@ public enum Interpreter */ public static final int INTERPRETER_UNSPECIFIED_VALUE = 0; /** + * + * *
            * Indicates that the script is run with `/bin/sh` on Linux and `cmd`
            * on windows.
@@ -26477,6 +30218,8 @@ public enum Interpreter
            */
           public static final int SHELL_VALUE = 1;
           /**
+           *
+           *
            * 
            * Indicates that the script is run with powershell.
            * 
@@ -26485,7 +30228,6 @@ public enum Interpreter */ public static final int POWERSHELL_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -26510,10 +30252,14 @@ public static Interpreter valueOf(int value) { */ public static Interpreter forNumber(int value) { switch (value) { - case 0: return INTERPRETER_UNSPECIFIED; - case 1: return SHELL; - case 3: return POWERSHELL; - default: return null; + case 0: + return INTERPRETER_UNSPECIFIED; + case 1: + return SHELL; + case 3: + return POWERSHELL; + default: + return null; } } @@ -26521,29 +30267,32 @@ public static Interpreter forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Interpreter> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Interpreter findValueByNumber(int number) { - return Interpreter.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Interpreter findValueByNumber(int number) { + return Interpreter.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .getDescriptor() + .getEnumTypes() + .get(0); } private static final Interpreter[] VALUES = values(); @@ -26552,7 +30301,7 @@ public static Interpreter valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -26572,11 +30321,14 @@ private Interpreter(int value) { public static final int SCRIPT_FIELD_NUMBER = 1; private volatile java.lang.Object script_; /** + * + * *
          * Required. The shell script to be executed.
          * 
* * string script = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The script. */ @java.lang.Override @@ -26585,29 +30337,29 @@ public java.lang.String getScript() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); script_ = s; return s; } } /** + * + * *
          * Required. The shell script to be executed.
          * 
* * string script = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for script. */ @java.lang.Override - public com.google.protobuf.ByteString - getScriptBytes() { + public com.google.protobuf.ByteString getScriptBytes() { java.lang.Object ref = script_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); script_ = b; return b; } else { @@ -26618,49 +30370,60 @@ public java.lang.String getScript() { public static final int ALLOWED_EXIT_CODES_FIELD_NUMBER = 2; private com.google.protobuf.Internal.IntList allowedExitCodes_; /** + * + * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 2; + * * @return A list containing the allowedExitCodes. */ @java.lang.Override - public java.util.List - getAllowedExitCodesList() { + public java.util.List getAllowedExitCodesList() { return allowedExitCodes_; } /** + * + * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 2; + * * @return The count of allowedExitCodes. */ public int getAllowedExitCodesCount() { return allowedExitCodes_.size(); } /** + * + * *
          * Return codes that indicate that the software installed or updated
          * successfully. Behaviour defaults to [0]
          * 
* * repeated int32 allowed_exit_codes = 2; + * * @param index The index of the element to return. * @return The allowedExitCodes at the given index. */ public int getAllowedExitCodes(int index) { return allowedExitCodes_.getInt(index); } + private int allowedExitCodesMemoizedSerializedSize = -1; public static final int INTERPRETER_FIELD_NUMBER = 3; private int interpreter_; /** + * + * *
          * The script interpreter to use to run the script. If no interpreter is
          * specified the script is executed directly, which likely
@@ -26668,13 +30431,19 @@ public int getAllowedExitCodes(int index) {
          * [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; + * + * * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override public int getInterpreterValue() { + @java.lang.Override + public int getInterpreterValue() { return interpreter_; } /** + * + * *
          * The script interpreter to use to run the script. If no interpreter is
          * specified the script is executed directly, which likely
@@ -26682,16 +30451,29 @@ public int getAllowedExitCodes(int index) {
          * [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; + * + * * @return The interpreter. */ - @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter getInterpreter() { + @java.lang.Override + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .Interpreter + getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter result = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter.valueOf(interpreter_); - return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter + result = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .Interpreter.valueOf(interpreter_); + return result == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .Interpreter.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -26704,7 +30486,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(script_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, script_); @@ -26716,7 +30498,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < allowedExitCodes_.size(); i++) { output.writeInt32NoTag(allowedExitCodes_.getInt(i)); } - if (interpreter_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { + if (interpreter_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .Interpreter.INTERPRETER_UNSPECIFIED + .getNumber()) { output.writeEnum(3, interpreter_); } unknownFields.writeTo(output); @@ -26734,20 +30519,22 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < allowedExitCodes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(allowedExitCodes_.getInt(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag( + allowedExitCodes_.getInt(i)); } size += dataSize; if (!getAllowedExitCodesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } allowedExitCodesMemoizedSerializedSize = dataSize; } - if (interpreter_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, interpreter_); + if (interpreter_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .Interpreter.INTERPRETER_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, interpreter_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -26757,17 +30544,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) obj; - if (!getScript() - .equals(other.getScript())) return false; - if (!getAllowedExitCodesList() - .equals(other.getAllowedExitCodesList())) return false; + if (!getScript().equals(other.getScript())) return false; + if (!getAllowedExitCodesList().equals(other.getAllowedExitCodesList())) return false; if (interpreter_ != other.interpreter_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -26793,88 +30581,106 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -26884,44 +30690,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * Runs a script through an interpreter.
          * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript) com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -26935,19 +30748,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript result = buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -26955,8 +30772,11 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScr } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript( + this); int from_bitField0_ = bitField0_; result.script_ = script_; if (((bitField0_ & 0x00000001) != 0)) { @@ -26973,46 +30793,56 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScr public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .getDefaultInstance()) return this; if (!other.getScript().isEmpty()) { script_ = other.script_; onChanged(); @@ -27045,11 +30875,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -27058,22 +30891,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object script_ = ""; /** + * + * *
            * Required. The shell script to be executed.
            * 
* * string script = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The script. */ public java.lang.String getScript() { java.lang.Object ref = script_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); script_ = s; return s; @@ -27082,20 +30918,21 @@ public java.lang.String getScript() { } } /** + * + * *
            * Required. The shell script to be executed.
            * 
* * string script = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for script. */ - public com.google.protobuf.ByteString - getScriptBytes() { + public com.google.protobuf.ByteString getScriptBytes() { java.lang.Object ref = script_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); script_ = b; return b; } else { @@ -27103,99 +30940,116 @@ public java.lang.String getScript() { } } /** + * + * *
            * Required. The shell script to be executed.
            * 
* * string script = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The script to set. * @return This builder for chaining. */ - public Builder setScript( - java.lang.String value) { + public Builder setScript(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + script_ = value; onChanged(); return this; } /** + * + * *
            * Required. The shell script to be executed.
            * 
* * string script = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScript() { - + script_ = getDefaultInstance().getScript(); onChanged(); return this; } /** + * + * *
            * Required. The shell script to be executed.
            * 
* * string script = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for script to set. * @return This builder for chaining. */ - public Builder setScriptBytes( - com.google.protobuf.ByteString value) { + public Builder setScriptBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + script_ = value; onChanged(); return this; } private com.google.protobuf.Internal.IntList allowedExitCodes_ = emptyIntList(); + private void ensureAllowedExitCodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { allowedExitCodes_ = mutableCopy(allowedExitCodes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 2; + * * @return A list containing the allowedExitCodes. */ - public java.util.List - getAllowedExitCodesList() { - return ((bitField0_ & 0x00000001) != 0) ? - java.util.Collections.unmodifiableList(allowedExitCodes_) : allowedExitCodes_; + public java.util.List getAllowedExitCodesList() { + return ((bitField0_ & 0x00000001) != 0) + ? java.util.Collections.unmodifiableList(allowedExitCodes_) + : allowedExitCodes_; } /** + * + * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 2; + * * @return The count of allowedExitCodes. */ public int getAllowedExitCodesCount() { return allowedExitCodes_.size(); } /** + * + * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 2; + * * @param index The index of the element to return. * @return The allowedExitCodes at the given index. */ @@ -27203,30 +31057,35 @@ public int getAllowedExitCodes(int index) { return allowedExitCodes_.getInt(index); } /** + * + * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 2; + * * @param index The index to set the value at. * @param value The allowedExitCodes to set. * @return This builder for chaining. */ - public Builder setAllowedExitCodes( - int index, int value) { + public Builder setAllowedExitCodes(int index, int value) { ensureAllowedExitCodesIsMutable(); allowedExitCodes_.setInt(index, value); onChanged(); return this; } /** + * + * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 2; + * * @param value The allowedExitCodes to add. * @return This builder for chaining. */ @@ -27237,30 +31096,35 @@ public Builder addAllowedExitCodes(int value) { return this; } /** + * + * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 2; + * * @param values The allowedExitCodes to add. * @return This builder for chaining. */ public Builder addAllAllowedExitCodes( java.lang.Iterable values) { ensureAllowedExitCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, allowedExitCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedExitCodes_); onChanged(); return this; } /** + * + * *
            * Return codes that indicate that the software installed or updated
            * successfully. Behaviour defaults to [0]
            * 
* * repeated int32 allowed_exit_codes = 2; + * * @return This builder for chaining. */ public Builder clearAllowedExitCodes() { @@ -27272,6 +31136,8 @@ public Builder clearAllowedExitCodes() { private int interpreter_ = 0; /** + * + * *
            * The script interpreter to use to run the script. If no interpreter is
            * specified the script is executed directly, which likely
@@ -27279,13 +31145,19 @@ public Builder clearAllowedExitCodes() {
            * [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
            * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; + * + * * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override public int getInterpreterValue() { + @java.lang.Override + public int getInterpreterValue() { return interpreter_; } /** + * + * *
            * The script interpreter to use to run the script. If no interpreter is
            * specified the script is executed directly, which likely
@@ -27293,17 +31165,22 @@ public Builder clearAllowedExitCodes() {
            * [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
            * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; + * + * * @param value The enum numeric value on the wire for interpreter to set. * @return This builder for chaining. */ public Builder setInterpreterValue(int value) { - + interpreter_ = value; onChanged(); return this; } /** + * + * *
            * The script interpreter to use to run the script. If no interpreter is
            * specified the script is executed directly, which likely
@@ -27311,16 +31188,29 @@ public Builder setInterpreterValue(int value) {
            * [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
            * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; + * + * * @return The interpreter. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter getInterpreter() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .Interpreter + getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter result = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter.valueOf(interpreter_); - return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter + result = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .Interpreter.valueOf(interpreter_); + return result == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .Interpreter.UNRECOGNIZED + : result; } /** + * + * *
            * The script interpreter to use to run the script. If no interpreter is
            * specified the script is executed directly, which likely
@@ -27328,20 +31218,28 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScr
            * [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
            * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; + * + * * @param value The interpreter to set. * @return This builder for chaining. */ - public Builder setInterpreter(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Interpreter value) { + public Builder setInterpreter( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .Interpreter + value) { if (value == null) { throw new NullPointerException(); } - + interpreter_ = value.getNumber(); onChanged(); return this; } /** + * + * *
            * The script interpreter to use to run the script. If no interpreter is
            * specified the script is executed directly, which likely
@@ -27349,15 +31247,19 @@ public Builder setInterpreter(com.google.cloud.osconfig.v1beta.GuestPolicies.Sof
            * [shebang lines](https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
            * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript.Interpreter interpreter = 3; + * + * * @return This builder for chaining. */ public Builder clearInterpreter() { - + interpreter_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -27370,30 +31272,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .RunScript + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunScript parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunScript(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunScript parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunScript(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -27405,16 +31311,18 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int stepCase_ = 0; private java.lang.Object step_; + public enum StepCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FILE_COPY(1), ARCHIVE_EXTRACTION(2), @@ -27425,6 +31333,7 @@ public enum StepCase SCRIPT_RUN(7), STEP_NOT_SET(0); private final int value; + private StepCase(int value) { this.value = value; } @@ -27440,35 +31349,46 @@ public static StepCase valueOf(int value) { public static StepCase forNumber(int value) { switch (value) { - case 1: return FILE_COPY; - case 2: return ARCHIVE_EXTRACTION; - case 3: return MSI_INSTALLATION; - case 4: return DPKG_INSTALLATION; - case 5: return RPM_INSTALLATION; - case 6: return FILE_EXEC; - case 7: return SCRIPT_RUN; - case 0: return STEP_NOT_SET; - default: return null; + case 1: + return FILE_COPY; + case 2: + return ARCHIVE_EXTRACTION; + case 3: + return MSI_INSTALLATION; + case 4: + return DPKG_INSTALLATION; + case 5: + return RPM_INSTALLATION; + case 6: + return FILE_EXEC; + case 7: + return SCRIPT_RUN; + case 0: + return STEP_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public StepCase - getStepCase() { - return StepCase.forNumber( - stepCase_); + public StepCase getStepCase() { + return StepCase.forNumber(stepCase_); } public static final int FILE_COPY_FIELD_NUMBER = 1; /** + * + * *
        * Copies a file onto the instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; + * * @return Whether the fileCopy field is set. */ @java.lang.Override @@ -27476,21 +31396,29 @@ public boolean hasFileCopy() { return stepCase_ == 1; } /** + * + * *
        * Copies a file onto the instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; + * * @return The fileCopy. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile getFileCopy() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + getFileCopy() { if (stepCase_ == 1) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + .getDefaultInstance(); } /** + * + * *
        * Copies a file onto the instance.
        * 
@@ -27498,20 +31426,28 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFi * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder getFileCopyOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder + getFileCopyOrBuilder() { if (stepCase_ == 1) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + .getDefaultInstance(); } public static final int ARCHIVE_EXTRACTION_FIELD_NUMBER = 2; /** + * + * *
        * Extracts an archive into the specified directory.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * * @return Whether the archiveExtraction field is set. */ @java.lang.Override @@ -27519,42 +31455,62 @@ public boolean hasArchiveExtraction() { return stepCase_ == 2; } /** + * + * *
        * Extracts an archive into the specified directory.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * * @return The archiveExtraction. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive getArchiveExtraction() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + getArchiveExtraction() { if (stepCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .getDefaultInstance(); } /** + * + * *
        * Extracts an archive into the specified directory.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder getArchiveExtractionOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchiveOrBuilder + getArchiveExtractionOrBuilder() { if (stepCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .getDefaultInstance(); } public static final int MSI_INSTALLATION_FIELD_NUMBER = 3; /** + * + * *
        * Installs an MSI file.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * + * * @return Whether the msiInstallation field is set. */ @java.lang.Override @@ -27562,42 +31518,59 @@ public boolean hasMsiInstallation() { return stepCase_ == 3; } /** + * + * *
        * Installs an MSI file.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * + * * @return The msiInstallation. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi getMsiInstallation() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + getMsiInstallation() { if (stepCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + .getDefaultInstance(); } /** + * + * *
        * Installs an MSI file.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder getMsiInstallationOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder + getMsiInstallationOrBuilder() { if (stepCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + .getDefaultInstance(); } public static final int DPKG_INSTALLATION_FIELD_NUMBER = 4; /** + * + * *
        * Installs a deb file via dpkg.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * + * * @return Whether the dpkgInstallation field is set. */ @java.lang.Override @@ -27605,42 +31578,59 @@ public boolean hasDpkgInstallation() { return stepCase_ == 4; } /** + * + * *
        * Installs a deb file via dpkg.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * + * * @return The dpkgInstallation. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg getDpkgInstallation() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + getDpkgInstallation() { if (stepCase_ == 4) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + .getDefaultInstance(); } /** + * + * *
        * Installs a deb file via dpkg.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder getDpkgInstallationOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder + getDpkgInstallationOrBuilder() { if (stepCase_ == 4) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + .getDefaultInstance(); } public static final int RPM_INSTALLATION_FIELD_NUMBER = 5; /** + * + * *
        * Installs an rpm file via the rpm utility.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * + * * @return Whether the rpmInstallation field is set. */ @java.lang.Override @@ -27648,42 +31638,58 @@ public boolean hasRpmInstallation() { return stepCase_ == 5; } /** + * + * *
        * Installs an rpm file via the rpm utility.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * + * * @return The rpmInstallation. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm getRpmInstallation() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + getRpmInstallation() { if (stepCase_ == 5) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + .getDefaultInstance(); } /** + * + * *
        * Installs an rpm file via the rpm utility.
        * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder getRpmInstallationOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder + getRpmInstallationOrBuilder() { if (stepCase_ == 5) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + .getDefaultInstance(); } public static final int FILE_EXEC_FIELD_NUMBER = 6; /** + * + * *
        * Executes an artifact or local file.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; + * * @return Whether the fileExec field is set. */ @java.lang.Override @@ -27691,21 +31697,29 @@ public boolean hasFileExec() { return stepCase_ == 6; } /** + * + * *
        * Executes an artifact or local file.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; + * * @return The fileExec. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile getFileExec() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + getFileExec() { if (stepCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + .getDefaultInstance(); } /** + * + * *
        * Executes an artifact or local file.
        * 
@@ -27713,20 +31727,26 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFi * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder getFileExecOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder + getFileExecOrBuilder() { if (stepCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + .getDefaultInstance(); } public static final int SCRIPT_RUN_FIELD_NUMBER = 7; /** + * + * *
        * Runs commands in a shell.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; + * * @return Whether the scriptRun field is set. */ @java.lang.Override @@ -27734,21 +31754,29 @@ public boolean hasScriptRun() { return stepCase_ == 7; } /** + * + * *
        * Runs commands in a shell.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; + * * @return The scriptRun. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript getScriptRun() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + getScriptRun() { if (stepCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .getDefaultInstance(); } /** + * + * *
        * Runs commands in a shell.
        * 
@@ -27756,14 +31784,18 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScr * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder getScriptRunOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder + getScriptRunOrBuilder() { if (stepCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -27775,28 +31807,45 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (stepCase_ == 1) { - output.writeMessage(1, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_); + output.writeMessage( + 1, + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_); } if (stepCase_ == 2) { - output.writeMessage(2, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_); + output.writeMessage( + 2, + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) + step_); } if (stepCase_ == 3) { - output.writeMessage(3, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_); + output.writeMessage( + 3, + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) + step_); } if (stepCase_ == 4) { - output.writeMessage(4, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_); + output.writeMessage( + 4, + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) + step_); } if (stepCase_ == 5) { - output.writeMessage(5, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_); + output.writeMessage( + 5, + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) + step_); } if (stepCase_ == 6) { - output.writeMessage(6, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_); + output.writeMessage( + 6, + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_); } if (stepCase_ == 7) { - output.writeMessage(7, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_); + output.writeMessage( + 7, + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_); } unknownFields.writeTo(output); } @@ -27808,32 +31857,54 @@ public int getSerializedSize() { size = 0; if (stepCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) + step_); } if (stepCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive) + step_); } if (stepCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) + step_); } if (stepCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) + step_); } if (stepCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) + step_); } if (stepCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) + step_); } if (stepCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) + step_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -27843,42 +31914,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step) obj; if (!getStepCase().equals(other.getStepCase())) return false; switch (stepCase_) { case 1: - if (!getFileCopy() - .equals(other.getFileCopy())) return false; + if (!getFileCopy().equals(other.getFileCopy())) return false; break; case 2: - if (!getArchiveExtraction() - .equals(other.getArchiveExtraction())) return false; + if (!getArchiveExtraction().equals(other.getArchiveExtraction())) return false; break; case 3: - if (!getMsiInstallation() - .equals(other.getMsiInstallation())) return false; + if (!getMsiInstallation().equals(other.getMsiInstallation())) return false; break; case 4: - if (!getDpkgInstallation() - .equals(other.getDpkgInstallation())) return false; + if (!getDpkgInstallation().equals(other.getDpkgInstallation())) return false; break; case 5: - if (!getRpmInstallation() - .equals(other.getRpmInstallation())) return false; + if (!getRpmInstallation().equals(other.getRpmInstallation())) return false; break; case 6: - if (!getFileExec() - .equals(other.getFileExec())) return false; + if (!getFileExec().equals(other.getFileExec())) return false; break; case 7: - if (!getScriptRun() - .equals(other.getScriptRun())) return false; + if (!getScriptRun().equals(other.getScriptRun())) return false; break; case 0: default: @@ -27932,87 +31997,96 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -28022,44 +32096,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * An action that can be taken as part of installing or updating a recipe.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe.Step} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe.Step) com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -28069,19 +32148,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step result = buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -28090,7 +32172,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step build( @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step(this); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step(this); if (stepCase_ == 1) { if (fileCopyBuilder_ == null) { result.step_ = step_; @@ -28149,78 +32232,93 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step)other); + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .getDefaultInstance()) return this; switch (other.getStepCase()) { - case FILE_COPY: { - mergeFileCopy(other.getFileCopy()); - break; - } - case ARCHIVE_EXTRACTION: { - mergeArchiveExtraction(other.getArchiveExtraction()); - break; - } - case MSI_INSTALLATION: { - mergeMsiInstallation(other.getMsiInstallation()); - break; - } - case DPKG_INSTALLATION: { - mergeDpkgInstallation(other.getDpkgInstallation()); - break; - } - case RPM_INSTALLATION: { - mergeRpmInstallation(other.getRpmInstallation()); - break; - } - case FILE_EXEC: { - mergeFileExec(other.getFileExec()); - break; - } - case SCRIPT_RUN: { - mergeScriptRun(other.getScriptRun()); - break; - } - case STEP_NOT_SET: { - break; - } + case FILE_COPY: + { + mergeFileCopy(other.getFileCopy()); + break; + } + case ARCHIVE_EXTRACTION: + { + mergeArchiveExtraction(other.getArchiveExtraction()); + break; + } + case MSI_INSTALLATION: + { + mergeMsiInstallation(other.getMsiInstallation()); + break; + } + case DPKG_INSTALLATION: + { + mergeDpkgInstallation(other.getDpkgInstallation()); + break; + } + case RPM_INSTALLATION: + { + mergeRpmInstallation(other.getRpmInstallation()); + break; + } + case FILE_EXEC: + { + mergeFileExec(other.getFileExec()); + break; + } + case SCRIPT_RUN: + { + mergeScriptRun(other.getScriptRun()); + break; + } + case STEP_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -28241,7 +32339,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -28250,12 +32350,12 @@ public Builder mergeFrom( } return this; } + private int stepCase_ = 0; private java.lang.Object step_; - public StepCase - getStepCase() { - return StepCase.forNumber( - stepCase_); + + public StepCase getStepCase() { + return StepCase.forNumber(stepCase_); } public Builder clearStep() { @@ -28265,15 +32365,21 @@ public Builder clearStep() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder> fileCopyBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .CopyFileOrBuilder> + fileCopyBuilder_; /** + * + * *
          * Copies a file onto the instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; + * * @return Whether the fileCopy field is set. */ @java.lang.Override @@ -28281,35 +32387,45 @@ public boolean hasFileCopy() { return stepCase_ == 1; } /** + * + * *
          * Copies a file onto the instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; + * * @return The fileCopy. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile getFileCopy() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + getFileCopy() { if (fileCopyBuilder_ == null) { if (stepCase_ == 1) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + .getDefaultInstance(); } else { if (stepCase_ == 1) { return fileCopyBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + .getDefaultInstance(); } } /** + * + * *
          * Copies a file onto the instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; */ - public Builder setFileCopy(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile value) { + public Builder setFileCopy( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile value) { if (fileCopyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -28323,6 +32439,8 @@ public Builder setFileCopy(com.google.cloud.osconfig.v1beta.GuestPolicies.Softwa return this; } /** + * + * *
          * Copies a file onto the instance.
          * 
@@ -28330,7 +32448,8 @@ public Builder setFileCopy(com.google.cloud.osconfig.v1beta.GuestPolicies.Softwa * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; */ public Builder setFileCopy( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder + builderForValue) { if (fileCopyBuilder_ == null) { step_ = builderForValue.build(); onChanged(); @@ -28341,18 +32460,29 @@ public Builder setFileCopy( return this; } /** + * + * *
          * Copies a file onto the instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; */ - public Builder mergeFileCopy(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile value) { + public Builder mergeFileCopy( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile value) { if (fileCopyBuilder_ == null) { - if (stepCase_ == 1 && - step_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.getDefaultInstance()) { - step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_) - .mergeFrom(value).buildPartial(); + if (stepCase_ == 1 + && step_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + .getDefaultInstance()) { + step_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + .newBuilder( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .CopyFile) + step_) + .mergeFrom(value) + .buildPartial(); } else { step_ = value; } @@ -28368,6 +32498,8 @@ public Builder mergeFileCopy(com.google.cloud.osconfig.v1beta.GuestPolicies.Soft return this; } /** + * + * *
          * Copies a file onto the instance.
          * 
@@ -28391,16 +32523,21 @@ public Builder clearFileCopy() { return this; } /** + * + * *
          * Copies a file onto the instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder getFileCopyBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder + getFileCopyBuilder() { return getFileCopyFieldBuilder().getBuilder(); } /** + * + * *
          * Copies a file onto the instance.
          * 
@@ -28408,17 +32545,22 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFi * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder getFileCopyOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder + getFileCopyOrBuilder() { if ((stepCase_ == 1) && (fileCopyBuilder_ != null)) { return fileCopyBuilder_.getMessageOrBuilder(); } else { if (stepCase_ == 1) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + .getDefaultInstance(); } } /** + * + * *
          * Copies a file onto the instance.
          * 
@@ -28426,32 +32568,54 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFi * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .CopyFileOrBuilder> getFileCopyFieldBuilder() { if (fileCopyBuilder_ == null) { if (!(stepCase_ == 1)) { - step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.getDefaultInstance(); - } - fileCopyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder>( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) step_, + step_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + .getDefaultInstance(); + } + fileCopyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .CopyFileOrBuilder>( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.CopyFile) + step_, getParentForChildren(), isClean()); step_ = null; } stepCase_ = 1; - onChanged();; + onChanged(); + ; return fileCopyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder> archiveExtractionBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchiveOrBuilder> + archiveExtractionBuilder_; /** + * + * *
          * Extracts an archive into the specified directory.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * * @return Whether the archiveExtraction field is set. */ @java.lang.Override @@ -28459,35 +32623,51 @@ public boolean hasArchiveExtraction() { return stepCase_ == 2; } /** + * + * *
          * Extracts an archive into the specified directory.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * * @return The archiveExtraction. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive getArchiveExtraction() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + getArchiveExtraction() { if (archiveExtractionBuilder_ == null) { if (stepCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .getDefaultInstance(); } else { if (stepCase_ == 2) { return archiveExtractionBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .getDefaultInstance(); } } /** + * + * *
          * Extracts an archive into the specified directory.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * */ - public Builder setArchiveExtraction(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive value) { + public Builder setArchiveExtraction( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + value) { if (archiveExtractionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -28501,14 +32681,20 @@ public Builder setArchiveExtraction(com.google.cloud.osconfig.v1beta.GuestPolici return this; } /** + * + * *
          * Extracts an archive into the specified directory.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * */ public Builder setArchiveExtraction( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .Builder + builderForValue) { if (archiveExtractionBuilder_ == null) { step_ = builderForValue.build(); onChanged(); @@ -28519,18 +32705,32 @@ public Builder setArchiveExtraction( return this; } /** + * + * *
          * Extracts an archive into the specified directory.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * */ - public Builder mergeArchiveExtraction(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive value) { + public Builder mergeArchiveExtraction( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + value) { if (archiveExtractionBuilder_ == null) { - if (stepCase_ == 2 && - step_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDefaultInstance()) { - step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_) - .mergeFrom(value).buildPartial(); + if (stepCase_ == 2 + && step_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive.getDefaultInstance()) { + step_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .newBuilder( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive) + step_) + .mergeFrom(value) + .buildPartial(); } else { step_ = value; } @@ -28546,11 +32746,15 @@ public Builder mergeArchiveExtraction(com.google.cloud.osconfig.v1beta.GuestPoli return this; } /** + * + * *
          * Extracts an archive into the specified directory.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * */ public Builder clearArchiveExtraction() { if (archiveExtractionBuilder_ == null) { @@ -28569,67 +32773,110 @@ public Builder clearArchiveExtraction() { return this; } /** + * + * *
          * Extracts an archive into the specified directory.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder getArchiveExtractionBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .Builder + getArchiveExtractionBuilder() { return getArchiveExtractionFieldBuilder().getBuilder(); } /** + * + * *
          * Extracts an archive into the specified directory.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder getArchiveExtractionOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchiveOrBuilder + getArchiveExtractionOrBuilder() { if ((stepCase_ == 2) && (archiveExtractionBuilder_ != null)) { return archiveExtractionBuilder_.getMessageOrBuilder(); } else { if (stepCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .getDefaultInstance(); } } /** + * + * *
          * Extracts an archive into the specified directory.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchiveOrBuilder> getArchiveExtractionFieldBuilder() { if (archiveExtractionBuilder_ == null) { if (!(stepCase_ == 2)) { - step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.getDefaultInstance(); - } - archiveExtractionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder>( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive) step_, + step_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive + .getDefaultInstance(); + } + archiveExtractionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchiveOrBuilder>( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExtractArchive) + step_, getParentForChildren(), isClean()); step_ = null; } stepCase_ = 2; - onChanged();; + onChanged(); + ; return archiveExtractionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder> msiInstallationBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallMsiOrBuilder> + msiInstallationBuilder_; /** + * + * *
          * Installs an MSI file.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * + * * @return Whether the msiInstallation field is set. */ @java.lang.Override @@ -28637,35 +32884,47 @@ public boolean hasMsiInstallation() { return stepCase_ == 3; } /** + * + * *
          * Installs an MSI file.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * + * * @return The msiInstallation. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi getMsiInstallation() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + getMsiInstallation() { if (msiInstallationBuilder_ == null) { if (stepCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + .getDefaultInstance(); } else { if (stepCase_ == 3) { return msiInstallationBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + .getDefaultInstance(); } } /** + * + * *
          * Installs an MSI file.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * */ - public Builder setMsiInstallation(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi value) { + public Builder setMsiInstallation( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi value) { if (msiInstallationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -28679,14 +32938,18 @@ public Builder setMsiInstallation(com.google.cloud.osconfig.v1beta.GuestPolicies return this; } /** + * + * *
          * Installs an MSI file.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * */ public Builder setMsiInstallation( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder + builderForValue) { if (msiInstallationBuilder_ == null) { step_ = builderForValue.build(); onChanged(); @@ -28697,18 +32960,30 @@ public Builder setMsiInstallation( return this; } /** + * + * *
          * Installs an MSI file.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * */ - public Builder mergeMsiInstallation(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi value) { + public Builder mergeMsiInstallation( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi value) { if (msiInstallationBuilder_ == null) { - if (stepCase_ == 3 && - step_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.getDefaultInstance()) { - step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_) - .mergeFrom(value).buildPartial(); + if (stepCase_ == 3 + && step_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + .getDefaultInstance()) { + step_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + .newBuilder( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallMsi) + step_) + .mergeFrom(value) + .buildPartial(); } else { step_ = value; } @@ -28724,11 +32999,14 @@ public Builder mergeMsiInstallation(com.google.cloud.osconfig.v1beta.GuestPolici return this; } /** + * + * *
          * Installs an MSI file.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * */ public Builder clearMsiInstallation() { if (msiInstallationBuilder_ == null) { @@ -28747,67 +33025,104 @@ public Builder clearMsiInstallation() { return this; } /** + * + * *
          * Installs an MSI file.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder getMsiInstallationBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder + getMsiInstallationBuilder() { return getMsiInstallationFieldBuilder().getBuilder(); } /** + * + * *
          * Installs an MSI file.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder getMsiInstallationOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallMsiOrBuilder + getMsiInstallationOrBuilder() { if ((stepCase_ == 3) && (msiInstallationBuilder_ != null)) { return msiInstallationBuilder_.getMessageOrBuilder(); } else { if (stepCase_ == 3) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + .getDefaultInstance(); } } /** + * + * *
          * Installs an MSI file.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallMsiOrBuilder> getMsiInstallationFieldBuilder() { if (msiInstallationBuilder_ == null) { if (!(stepCase_ == 3)) { - step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.getDefaultInstance(); - } - msiInstallationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder>( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) step_, + step_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + .getDefaultInstance(); + } + msiInstallationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallMsiOrBuilder>( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi) + step_, getParentForChildren(), isClean()); step_ = null; } stepCase_ = 3; - onChanged();; + onChanged(); + ; return msiInstallationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder> dpkgInstallationBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallDpkgOrBuilder> + dpkgInstallationBuilder_; /** + * + * *
          * Installs a deb file via dpkg.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * + * * @return Whether the dpkgInstallation field is set. */ @java.lang.Override @@ -28815,35 +33130,50 @@ public boolean hasDpkgInstallation() { return stepCase_ == 4; } /** + * + * *
          * Installs a deb file via dpkg.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * + * * @return The dpkgInstallation. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg getDpkgInstallation() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + getDpkgInstallation() { if (dpkgInstallationBuilder_ == null) { if (stepCase_ == 4) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallDpkg) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + .getDefaultInstance(); } else { if (stepCase_ == 4) { return dpkgInstallationBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + .getDefaultInstance(); } } /** + * + * *
          * Installs a deb file via dpkg.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * */ - public Builder setDpkgInstallation(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg value) { + public Builder setDpkgInstallation( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg value) { if (dpkgInstallationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -28857,14 +33187,19 @@ public Builder setDpkgInstallation(com.google.cloud.osconfig.v1beta.GuestPolicie return this; } /** + * + * *
          * Installs a deb file via dpkg.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * */ public Builder setDpkgInstallation( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder + builderForValue) { if (dpkgInstallationBuilder_ == null) { step_ = builderForValue.build(); onChanged(); @@ -28875,18 +33210,31 @@ public Builder setDpkgInstallation( return this; } /** + * + * *
          * Installs a deb file via dpkg.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * */ - public Builder mergeDpkgInstallation(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg value) { + public Builder mergeDpkgInstallation( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg value) { if (dpkgInstallationBuilder_ == null) { - if (stepCase_ == 4 && - step_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.getDefaultInstance()) { - step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_) - .mergeFrom(value).buildPartial(); + if (stepCase_ == 4 + && step_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallDpkg.getDefaultInstance()) { + step_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + .newBuilder( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallDpkg) + step_) + .mergeFrom(value) + .buildPartial(); } else { step_ = value; } @@ -28902,11 +33250,15 @@ public Builder mergeDpkgInstallation(com.google.cloud.osconfig.v1beta.GuestPolic return this; } /** + * + * *
          * Installs a deb file via dpkg.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * */ public Builder clearDpkgInstallation() { if (dpkgInstallationBuilder_ == null) { @@ -28925,67 +33277,108 @@ public Builder clearDpkgInstallation() { return this; } /** + * + * *
          * Installs a deb file via dpkg.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder getDpkgInstallationBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + .Builder + getDpkgInstallationBuilder() { return getDpkgInstallationFieldBuilder().getBuilder(); } /** + * + * *
          * Installs a deb file via dpkg.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder getDpkgInstallationOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallDpkgOrBuilder + getDpkgInstallationOrBuilder() { if ((stepCase_ == 4) && (dpkgInstallationBuilder_ != null)) { return dpkgInstallationBuilder_.getMessageOrBuilder(); } else { if (stepCase_ == 4) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallDpkg) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + .getDefaultInstance(); } } /** + * + * *
          * Installs a deb file via dpkg.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallDpkgOrBuilder> getDpkgInstallationFieldBuilder() { if (dpkgInstallationBuilder_ == null) { if (!(stepCase_ == 4)) { - step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.getDefaultInstance(); - } - dpkgInstallationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder>( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) step_, + step_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + .getDefaultInstance(); + } + dpkgInstallationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallDpkgOrBuilder>( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallDpkg) + step_, getParentForChildren(), isClean()); step_ = null; } stepCase_ = 4; - onChanged();; + onChanged(); + ; return dpkgInstallationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder> rpmInstallationBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallRpmOrBuilder> + rpmInstallationBuilder_; /** + * + * *
          * Installs an rpm file via the rpm utility.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * + * * @return Whether the rpmInstallation field is set. */ @java.lang.Override @@ -28993,35 +33386,47 @@ public boolean hasRpmInstallation() { return stepCase_ == 5; } /** + * + * *
          * Installs an rpm file via the rpm utility.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * + * * @return The rpmInstallation. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm getRpmInstallation() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + getRpmInstallation() { if (rpmInstallationBuilder_ == null) { if (stepCase_ == 5) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + .getDefaultInstance(); } else { if (stepCase_ == 5) { return rpmInstallationBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + .getDefaultInstance(); } } /** + * + * *
          * Installs an rpm file via the rpm utility.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * */ - public Builder setRpmInstallation(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm value) { + public Builder setRpmInstallation( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm value) { if (rpmInstallationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -29035,14 +33440,18 @@ public Builder setRpmInstallation(com.google.cloud.osconfig.v1beta.GuestPolicies return this; } /** + * + * *
          * Installs an rpm file via the rpm utility.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * */ public Builder setRpmInstallation( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder + builderForValue) { if (rpmInstallationBuilder_ == null) { step_ = builderForValue.build(); onChanged(); @@ -29053,18 +33462,30 @@ public Builder setRpmInstallation( return this; } /** + * + * *
          * Installs an rpm file via the rpm utility.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * */ - public Builder mergeRpmInstallation(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm value) { + public Builder mergeRpmInstallation( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm value) { if (rpmInstallationBuilder_ == null) { - if (stepCase_ == 5 && - step_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.getDefaultInstance()) { - step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_) - .mergeFrom(value).buildPartial(); + if (stepCase_ == 5 + && step_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + .getDefaultInstance()) { + step_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + .newBuilder( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallRpm) + step_) + .mergeFrom(value) + .buildPartial(); } else { step_ = value; } @@ -29080,11 +33501,14 @@ public Builder mergeRpmInstallation(com.google.cloud.osconfig.v1beta.GuestPolici return this; } /** + * + * *
          * Installs an rpm file via the rpm utility.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * */ public Builder clearRpmInstallation() { if (rpmInstallationBuilder_ == null) { @@ -29103,67 +33527,101 @@ public Builder clearRpmInstallation() { return this; } /** + * + * *
          * Installs an rpm file via the rpm utility.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder getRpmInstallationBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder + getRpmInstallationBuilder() { return getRpmInstallationFieldBuilder().getBuilder(); } /** + * + * *
          * Installs an rpm file via the rpm utility.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder getRpmInstallationOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallRpmOrBuilder + getRpmInstallationOrBuilder() { if ((stepCase_ == 5) && (rpmInstallationBuilder_ != null)) { return rpmInstallationBuilder_.getMessageOrBuilder(); } else { if (stepCase_ == 5) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + .getDefaultInstance(); } } /** + * + * *
          * Installs an rpm file via the rpm utility.
          * 
* - * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallRpmOrBuilder> getRpmInstallationFieldBuilder() { if (rpmInstallationBuilder_ == null) { if (!(stepCase_ == 5)) { - step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.getDefaultInstance(); - } - rpmInstallationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder>( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) step_, + step_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + .getDefaultInstance(); + } + rpmInstallationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .InstallRpmOrBuilder>( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallRpm) + step_, getParentForChildren(), isClean()); step_ = null; } stepCase_ = 5; - onChanged();; + onChanged(); + ; return rpmInstallationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder> fileExecBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExecFileOrBuilder> + fileExecBuilder_; /** + * + * *
          * Executes an artifact or local file.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; + * * @return Whether the fileExec field is set. */ @java.lang.Override @@ -29171,35 +33629,45 @@ public boolean hasFileExec() { return stepCase_ == 6; } /** + * + * *
          * Executes an artifact or local file.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; + * * @return The fileExec. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile getFileExec() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + getFileExec() { if (fileExecBuilder_ == null) { if (stepCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + .getDefaultInstance(); } else { if (stepCase_ == 6) { return fileExecBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + .getDefaultInstance(); } } /** + * + * *
          * Executes an artifact or local file.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; */ - public Builder setFileExec(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile value) { + public Builder setFileExec( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile value) { if (fileExecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -29213,6 +33681,8 @@ public Builder setFileExec(com.google.cloud.osconfig.v1beta.GuestPolicies.Softwa return this; } /** + * + * *
          * Executes an artifact or local file.
          * 
@@ -29220,7 +33690,8 @@ public Builder setFileExec(com.google.cloud.osconfig.v1beta.GuestPolicies.Softwa * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; */ public Builder setFileExec( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder + builderForValue) { if (fileExecBuilder_ == null) { step_ = builderForValue.build(); onChanged(); @@ -29231,18 +33702,29 @@ public Builder setFileExec( return this; } /** + * + * *
          * Executes an artifact or local file.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; */ - public Builder mergeFileExec(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile value) { + public Builder mergeFileExec( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile value) { if (fileExecBuilder_ == null) { - if (stepCase_ == 6 && - step_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.getDefaultInstance()) { - step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_) - .mergeFrom(value).buildPartial(); + if (stepCase_ == 6 + && step_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + .getDefaultInstance()) { + step_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + .newBuilder( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExecFile) + step_) + .mergeFrom(value) + .buildPartial(); } else { step_ = value; } @@ -29258,6 +33740,8 @@ public Builder mergeFileExec(com.google.cloud.osconfig.v1beta.GuestPolicies.Soft return this; } /** + * + * *
          * Executes an artifact or local file.
          * 
@@ -29281,16 +33765,21 @@ public Builder clearFileExec() { return this; } /** + * + * *
          * Executes an artifact or local file.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder getFileExecBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder + getFileExecBuilder() { return getFileExecFieldBuilder().getBuilder(); } /** + * + * *
          * Executes an artifact or local file.
          * 
@@ -29298,17 +33787,22 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFi * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder getFileExecOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder + getFileExecOrBuilder() { if ((stepCase_ == 6) && (fileExecBuilder_ != null)) { return fileExecBuilder_.getMessageOrBuilder(); } else { if (stepCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + .getDefaultInstance(); } } /** + * + * *
          * Executes an artifact or local file.
          * 
@@ -29316,32 +33810,52 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFi * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExecFileOrBuilder> getFileExecFieldBuilder() { if (fileExecBuilder_ == null) { if (!(stepCase_ == 6)) { - step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.getDefaultInstance(); - } - fileExecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder>( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) step_, + step_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + .getDefaultInstance(); + } + fileExecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .ExecFileOrBuilder>( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExecFile) + step_, getParentForChildren(), isClean()); step_ = null; } stepCase_ = 6; - onChanged();; + onChanged(); + ; return fileExecBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder> scriptRunBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .RunScriptOrBuilder> + scriptRunBuilder_; /** + * + * *
          * Runs commands in a shell.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; + * * @return Whether the scriptRun field is set. */ @java.lang.Override @@ -29349,35 +33863,45 @@ public boolean hasScriptRun() { return stepCase_ == 7; } /** + * + * *
          * Runs commands in a shell.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; + * * @return The scriptRun. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript getScriptRun() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + getScriptRun() { if (scriptRunBuilder_ == null) { if (stepCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .getDefaultInstance(); } else { if (stepCase_ == 7) { return scriptRunBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .getDefaultInstance(); } } /** + * + * *
          * Runs commands in a shell.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; */ - public Builder setScriptRun(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript value) { + public Builder setScriptRun( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript value) { if (scriptRunBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -29391,6 +33915,8 @@ public Builder setScriptRun(com.google.cloud.osconfig.v1beta.GuestPolicies.Softw return this; } /** + * + * *
          * Runs commands in a shell.
          * 
@@ -29398,7 +33924,8 @@ public Builder setScriptRun(com.google.cloud.osconfig.v1beta.GuestPolicies.Softw * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; */ public Builder setScriptRun( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder + builderForValue) { if (scriptRunBuilder_ == null) { step_ = builderForValue.build(); onChanged(); @@ -29409,18 +33936,29 @@ public Builder setScriptRun( return this; } /** + * + * *
          * Runs commands in a shell.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; */ - public Builder mergeScriptRun(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript value) { + public Builder mergeScriptRun( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript value) { if (scriptRunBuilder_ == null) { - if (stepCase_ == 7 && - step_ != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDefaultInstance()) { - step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.newBuilder((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_) - .mergeFrom(value).buildPartial(); + if (stepCase_ == 7 + && step_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .getDefaultInstance()) { + step_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .newBuilder( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .RunScript) + step_) + .mergeFrom(value) + .buildPartial(); } else { step_ = value; } @@ -29436,6 +33974,8 @@ public Builder mergeScriptRun(com.google.cloud.osconfig.v1beta.GuestPolicies.Sof return this; } /** + * + * *
          * Runs commands in a shell.
          * 
@@ -29459,16 +33999,21 @@ public Builder clearScriptRun() { return this; } /** + * + * *
          * Runs commands in a shell.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder getScriptRunBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder + getScriptRunBuilder() { return getScriptRunFieldBuilder().getBuilder(); } /** + * + * *
          * Runs commands in a shell.
          * 
@@ -29476,17 +34021,22 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScr * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder getScriptRunOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder + getScriptRunOrBuilder() { if ((stepCase_ == 7) && (scriptRunBuilder_ != null)) { return scriptRunBuilder_.getMessageOrBuilder(); } else { if (stepCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_; + return (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) + step_; } - return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .getDefaultInstance(); } } /** + * + * *
          * Runs commands in a shell.
          * 
@@ -29494,23 +34044,37 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScr * .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .RunScriptOrBuilder> getScriptRunFieldBuilder() { if (scriptRunBuilder_ == null) { if (!(stepCase_ == 7)) { - step_ = com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.getDefaultInstance(); - } - scriptRunBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder>( - (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) step_, + step_ = + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .getDefaultInstance(); + } + scriptRunBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + .RunScriptOrBuilder>( + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.RunScript) + step_, getParentForChildren(), isClean()); step_ = null; } stepCase_ = 7; - onChanged();; + onChanged(); + ; return scriptRunBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -29523,30 +34087,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe.Step) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Step parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Step(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Step parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Step(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -29558,15 +34124,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. Unique identifier for the recipe. Only one recipe with a given name is
      * installed on an instance.
@@ -29577,6 +34145,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getDef
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -29585,14 +34154,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. Unique identifier for the recipe. Only one recipe with a given name is
      * installed on an instance.
@@ -29603,16 +34173,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -29623,12 +34192,15 @@ public java.lang.String getName() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
      * The version of this software recipe. Version can be up to 4 period
      * separated numbers (e.g. 12.34.56.78).
      * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -29637,30 +34209,30 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
      * The version of this software recipe. Version can be up to 4 period
      * separated numbers (e.g. 12.34.56.78).
      * 
* * string version = 2; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -29669,8 +34241,11 @@ public java.lang.String getVersion() { } public static final int ARTIFACTS_FIELD_NUMBER = 3; - private java.util.List artifacts_; + private java.util.List + artifacts_; /** + * + * *
      * Resources available to be used in the steps in the recipe.
      * 
@@ -29678,10 +34253,13 @@ public java.lang.String getVersion() { * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ @java.lang.Override - public java.util.List getArtifactsList() { + public java.util.List + getArtifactsList() { return artifacts_; } /** + * + * *
      * Resources available to be used in the steps in the recipe.
      * 
@@ -29689,11 +34267,15 @@ public java.util.Listrepeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder> getArtifactsOrBuilderList() { return artifacts_; } /** + * + * *
      * Resources available to be used in the steps in the recipe.
      * 
@@ -29705,6 +34287,8 @@ public int getArtifactsCount() { return artifacts_.size(); } /** + * + * *
      * Resources available to be used in the steps in the recipe.
      * 
@@ -29712,10 +34296,13 @@ public int getArtifactsCount() { * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact getArtifacts(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact getArtifacts( + int index) { return artifacts_.get(index); } /** + * + * *
      * Resources available to be used in the steps in the recipe.
      * 
@@ -29723,14 +34310,17 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact ge * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder getArtifactsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder + getArtifactsOrBuilder(int index) { return artifacts_.get(index); } public static final int INSTALL_STEPS_FIELD_NUMBER = 4; - private java.util.List installSteps_; + private java.util.List + installSteps_; /** + * + * *
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -29740,10 +34330,13 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrB
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
      */
     @java.lang.Override
-    public java.util.List getInstallStepsList() {
+    public java.util.List
+        getInstallStepsList() {
       return installSteps_;
     }
     /**
+     *
+     *
      * 
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -29753,11 +34346,14 @@ public java.util.Listrepeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>
         getInstallStepsOrBuilderList() {
       return installSteps_;
     }
     /**
+     *
+     *
      * 
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -29771,6 +34367,8 @@ public int getInstallStepsCount() {
       return installSteps_.size();
     }
     /**
+     *
+     *
      * 
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -29780,10 +34378,13 @@ public int getInstallStepsCount() {
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getInstallSteps(int index) {
+    public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getInstallSteps(
+        int index) {
       return installSteps_.get(index);
     }
     /**
+     *
+     *
      * 
      * Actions to be taken for installing this recipe. On failure it stops
      * executing steps and does not attempt another installation. Any steps taken
@@ -29793,14 +34394,17 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getIns
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getInstallStepsOrBuilder(
-        int index) {
+    public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder
+        getInstallStepsOrBuilder(int index) {
       return installSteps_.get(index);
     }
 
     public static final int UPDATE_STEPS_FIELD_NUMBER = 5;
-    private java.util.List updateSteps_;
+    private java.util.List
+        updateSteps_;
     /**
+     *
+     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -29810,10 +34414,13 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuild
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
      */
     @java.lang.Override
-    public java.util.List getUpdateStepsList() {
+    public java.util.List
+        getUpdateStepsList() {
       return updateSteps_;
     }
     /**
+     *
+     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -29823,11 +34430,14 @@ public java.util.Listrepeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>
         getUpdateStepsOrBuilderList() {
       return updateSteps_;
     }
     /**
+     *
+     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -29841,6 +34451,8 @@ public int getUpdateStepsCount() {
       return updateSteps_.size();
     }
     /**
+     *
+     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -29850,10 +34462,13 @@ public int getUpdateStepsCount() {
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getUpdateSteps(int index) {
+    public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getUpdateSteps(
+        int index) {
       return updateSteps_.get(index);
     }
     /**
+     *
+     *
      * 
      * Actions to be taken for updating this recipe. On failure it stops
      * executing steps and  does not attempt another update for this recipe. Any
@@ -29863,14 +34478,16 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getUpd
      * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getUpdateStepsOrBuilder(
-        int index) {
+    public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder
+        getUpdateStepsOrBuilder(int index) {
       return updateSteps_.get(index);
     }
 
     public static final int DESIRED_STATE_FIELD_NUMBER = 6;
     private int desiredState_;
     /**
+     *
+     *
      * 
      * Default is INSTALLED. The desired state the agent should maintain for this
      * recipe.
@@ -29884,12 +34501,16 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuild
      * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 6; + * * @return The enum numeric value on the wire for desiredState. */ - @java.lang.Override public int getDesiredStateValue() { + @java.lang.Override + public int getDesiredStateValue() { return desiredState_; } /** + * + * *
      * Default is INSTALLED. The desired state the agent should maintain for this
      * recipe.
@@ -29903,15 +34524,21 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuild
      * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 6; + * * @return The desiredState. */ - @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState getDesiredState() { + @java.lang.Override + public com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState getDesiredState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState result = com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.valueOf(desiredState_); - return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState result = + com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.valueOf(desiredState_); + return result == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -29923,8 +34550,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -29940,7 +34566,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < updateSteps_.size(); i++) { output.writeMessage(5, updateSteps_.get(i)); } - if (desiredState_ != com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { + if (desiredState_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.DESIRED_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(6, desiredState_); } unknownFields.writeTo(output); @@ -29959,20 +34587,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); } for (int i = 0; i < artifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, artifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, artifacts_.get(i)); } for (int i = 0; i < installSteps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, installSteps_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, installSteps_.get(i)); } for (int i = 0; i < updateSteps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, updateSteps_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, updateSteps_.get(i)); } - if (desiredState_ != com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.DESIRED_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, desiredState_); + if (desiredState_ + != com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.DESIRED_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, desiredState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -29982,23 +34608,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe other = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getArtifactsList() - .equals(other.getArtifactsList())) return false; - if (!getInstallStepsList() - .equals(other.getInstallStepsList())) return false; - if (!getUpdateStepsList() - .equals(other.getUpdateStepsList())) return false; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe) obj; + + if (!getName().equals(other.getName())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getArtifactsList().equals(other.getArtifactsList())) return false; + if (!getInstallStepsList().equals(other.getInstallStepsList())) return false; + if (!getUpdateStepsList().equals(other.getUpdateStepsList())) return false; if (desiredState_ != other.desiredState_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -30035,87 +34657,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe 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.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -30125,6 +34754,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A software recipe is a set of instructions for installing and configuring a
      * piece of software. It consists of a set of artifacts that are
@@ -30147,21 +34778,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.SoftwareRecipe}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.SoftwareRecipe)
         com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.class, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.class,
+                com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.newBuilder()
@@ -30169,19 +34803,19 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getArtifactsFieldBuilder();
           getInstallStepsFieldBuilder();
           getUpdateStepsFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -30213,13 +34847,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe
+          getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance();
       }
 
@@ -30234,7 +34869,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe buildPartial() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe result = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe(this);
+        com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe result =
+            new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe(this);
         int from_bitField0_ = bitField0_;
         result.name_ = name_;
         result.version_ = version_;
@@ -30274,46 +34910,52 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe buildPartia
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.GuestPolicies.SoftwareRecipe) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe)other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe other) {
-        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe other) {
+        if (other
+            == com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance())
+          return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -30340,9 +34982,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Software
               artifactsBuilder_ = null;
               artifacts_ = other.artifacts_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              artifactsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getArtifactsFieldBuilder() : null;
+              artifactsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getArtifactsFieldBuilder()
+                      : null;
             } else {
               artifactsBuilder_.addAllMessages(other.artifacts_);
             }
@@ -30366,9 +35009,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Software
               installStepsBuilder_ = null;
               installSteps_ = other.installSteps_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              installStepsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getInstallStepsFieldBuilder() : null;
+              installStepsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getInstallStepsFieldBuilder()
+                      : null;
             } else {
               installStepsBuilder_.addAllMessages(other.installSteps_);
             }
@@ -30392,9 +35036,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Software
               updateStepsBuilder_ = null;
               updateSteps_ = other.updateSteps_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              updateStepsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getUpdateStepsFieldBuilder() : null;
+              updateStepsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getUpdateStepsFieldBuilder()
+                      : null;
             } else {
               updateStepsBuilder_.addAllMessages(other.updateSteps_);
             }
@@ -30422,7 +35067,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -30431,10 +35078,13 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object name_ = "";
       /**
+       *
+       *
        * 
        * Required. Unique identifier for the recipe. Only one recipe with a given name is
        * installed on an instance.
@@ -30445,13 +35095,13 @@ public Builder mergeFrom(
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -30460,6 +35110,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Unique identifier for the recipe. Only one recipe with a given name is
        * installed on an instance.
@@ -30470,15 +35122,14 @@ public java.lang.String getName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -30486,6 +35137,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Unique identifier for the recipe. Only one recipe with a given name is
        * installed on an instance.
@@ -30496,20 +35149,22 @@ public java.lang.String getName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. Unique identifier for the recipe. Only one recipe with a given name is
        * installed on an instance.
@@ -30520,15 +35175,18 @@ public Builder setName(
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. Unique identifier for the recipe. Only one recipe with a given name is
        * installed on an instance.
@@ -30539,16 +35197,16 @@ public Builder clearName() {
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -30556,19 +35214,21 @@ public Builder setNameBytes( private java.lang.Object version_ = ""; /** + * + * *
        * The version of this software recipe. Version can be up to 4 period
        * separated numbers (e.g. 12.34.56.78).
        * 
* * string version = 2; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -30577,21 +35237,22 @@ public java.lang.String getVersion() { } } /** + * + * *
        * The version of this software recipe. Version can be up to 4 period
        * separated numbers (e.g. 12.34.56.78).
        * 
* * string version = 2; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -30599,82 +35260,99 @@ public java.lang.String getVersion() { } } /** + * + * *
        * The version of this software recipe. Version can be up to 4 period
        * separated numbers (e.g. 12.34.56.78).
        * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
        * The version of this software recipe. Version can be up to 4 period
        * separated numbers (e.g. 12.34.56.78).
        * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
        * The version of this software recipe. Version can be up to 4 period
        * separated numbers (e.g. 12.34.56.78).
        * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } - private java.util.List artifacts_ = - java.util.Collections.emptyList(); + private java.util.List + artifacts_ = java.util.Collections.emptyList(); + private void ensureArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - artifacts_ = new java.util.ArrayList(artifacts_); + artifacts_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact>( + artifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder> artifactsBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder> + artifactsBuilder_; /** + * + * *
        * Resources available to be used in the steps in the recipe.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - public java.util.List getArtifactsList() { + public java.util.List + getArtifactsList() { if (artifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(artifacts_); } else { @@ -30682,6 +35360,8 @@ public java.util.List * Resources available to be used in the steps in the recipe. *
@@ -30696,13 +35376,16 @@ public int getArtifactsCount() { } } /** + * + * *
        * Resources available to be used in the steps in the recipe.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact getArtifacts(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact getArtifacts( + int index) { if (artifactsBuilder_ == null) { return artifacts_.get(index); } else { @@ -30710,6 +35393,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact ge } } /** + * + * *
        * Resources available to be used in the steps in the recipe.
        * 
@@ -30731,6 +35416,8 @@ public Builder setArtifacts( return this; } /** + * + * *
        * Resources available to be used in the steps in the recipe.
        * 
@@ -30738,7 +35425,9 @@ public Builder setArtifacts( * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ public Builder setArtifacts( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder + builderForValue) { if (artifactsBuilder_ == null) { ensureArtifactsIsMutable(); artifacts_.set(index, builderForValue.build()); @@ -30749,13 +35438,16 @@ public Builder setArtifacts( return this; } /** + * + * *
        * Resources available to be used in the steps in the recipe.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - public Builder addArtifacts(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact value) { + public Builder addArtifacts( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact value) { if (artifactsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -30769,6 +35461,8 @@ public Builder addArtifacts(com.google.cloud.osconfig.v1beta.GuestPolicies.Softw return this; } /** + * + * *
        * Resources available to be used in the steps in the recipe.
        * 
@@ -30790,6 +35484,8 @@ public Builder addArtifacts( return this; } /** + * + * *
        * Resources available to be used in the steps in the recipe.
        * 
@@ -30797,7 +35493,8 @@ public Builder addArtifacts( * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ public Builder addArtifacts( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder + builderForValue) { if (artifactsBuilder_ == null) { ensureArtifactsIsMutable(); artifacts_.add(builderForValue.build()); @@ -30808,6 +35505,8 @@ public Builder addArtifacts( return this; } /** + * + * *
        * Resources available to be used in the steps in the recipe.
        * 
@@ -30815,7 +35514,9 @@ public Builder addArtifacts( * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ public Builder addArtifacts( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder + builderForValue) { if (artifactsBuilder_ == null) { ensureArtifactsIsMutable(); artifacts_.add(index, builderForValue.build()); @@ -30826,6 +35527,8 @@ public Builder addArtifacts( return this; } /** + * + * *
        * Resources available to be used in the steps in the recipe.
        * 
@@ -30833,11 +35536,12 @@ public Builder addArtifacts( * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ public Builder addAllArtifacts( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact> + values) { if (artifactsBuilder_ == null) { ensureArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, artifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, artifacts_); onChanged(); } else { artifactsBuilder_.addAllMessages(values); @@ -30845,6 +35549,8 @@ public Builder addAllArtifacts( return this; } /** + * + * *
        * Resources available to be used in the steps in the recipe.
        * 
@@ -30862,6 +35568,8 @@ public Builder clearArtifacts() { return this; } /** + * + * *
        * Resources available to be used in the steps in the recipe.
        * 
@@ -30879,39 +35587,48 @@ public Builder removeArtifacts(int index) { return this; } /** + * + * *
        * Resources available to be used in the steps in the recipe.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder getArtifactsBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder + getArtifactsBuilder(int index) { return getArtifactsFieldBuilder().getBuilder(index); } /** + * + * *
        * Resources available to be used in the steps in the recipe.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder getArtifactsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder + getArtifactsOrBuilder(int index) { if (artifactsBuilder_ == null) { - return artifacts_.get(index); } else { + return artifacts_.get(index); + } else { return artifactsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Resources available to be used in the steps in the recipe.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - public java.util.List - getArtifactsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder> + getArtifactsOrBuilderList() { if (artifactsBuilder_ != null) { return artifactsBuilder_.getMessageOrBuilderList(); } else { @@ -30919,67 +35636,92 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrB } } /** + * + * *
        * Resources available to be used in the steps in the recipe.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder addArtifactsBuilder() { - return getArtifactsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder + addArtifactsBuilder() { + return getArtifactsFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + .getDefaultInstance()); } /** + * + * *
        * Resources available to be used in the steps in the recipe.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder addArtifactsBuilder( - int index) { - return getArtifactsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder + addArtifactsBuilder(int index) { + return getArtifactsFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact + .getDefaultInstance()); } /** + * + * *
        * Resources available to be used in the steps in the recipe.
        * 
* * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact artifacts = 3; */ - public java.util.List - getArtifactsBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder> + getArtifactsBuilderList() { return getArtifactsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder> getArtifactsFieldBuilder() { if (artifactsBuilder_ == null) { - artifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder>( - artifacts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + artifactsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Artifact.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.ArtifactOrBuilder>( + artifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); artifacts_ = null; } return artifactsBuilder_; } - private java.util.List installSteps_ = - java.util.Collections.emptyList(); + private java.util.List + installSteps_ = java.util.Collections.emptyList(); + private void ensureInstallStepsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - installSteps_ = new java.util.ArrayList(installSteps_); + installSteps_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step>( + installSteps_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder> installStepsBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder> + installStepsBuilder_; /** + * + * *
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -30988,7 +35730,8 @@ private void ensureInstallStepsIsMutable() {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
-      public java.util.List getInstallStepsList() {
+      public java.util.List
+          getInstallStepsList() {
         if (installStepsBuilder_ == null) {
           return java.util.Collections.unmodifiableList(installSteps_);
         } else {
@@ -30996,6 +35739,8 @@ public java.util.List
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -31012,6 +35757,8 @@ public int getInstallStepsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -31020,7 +35767,8 @@ public int getInstallStepsCount() {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getInstallSteps(int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getInstallSteps(
+          int index) {
         if (installStepsBuilder_ == null) {
           return installSteps_.get(index);
         } else {
@@ -31028,6 +35776,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getIns
         }
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -31051,6 +35801,8 @@ public Builder setInstallSteps(
         return this;
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -31060,7 +35812,9 @@ public Builder setInstallSteps(
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
       public Builder setInstallSteps(
-          int index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder builderForValue) {
+          int index,
+          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
+              builderForValue) {
         if (installStepsBuilder_ == null) {
           ensureInstallStepsIsMutable();
           installSteps_.set(index, builderForValue.build());
@@ -31071,6 +35825,8 @@ public Builder setInstallSteps(
         return this;
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -31079,7 +35835,8 @@ public Builder setInstallSteps(
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
-      public Builder addInstallSteps(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step value) {
+      public Builder addInstallSteps(
+          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step value) {
         if (installStepsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -31093,6 +35850,8 @@ public Builder addInstallSteps(com.google.cloud.osconfig.v1beta.GuestPolicies.So
         return this;
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -31116,6 +35875,8 @@ public Builder addInstallSteps(
         return this;
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -31125,7 +35886,8 @@ public Builder addInstallSteps(
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
       public Builder addInstallSteps(
-          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder builderForValue) {
+          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
+              builderForValue) {
         if (installStepsBuilder_ == null) {
           ensureInstallStepsIsMutable();
           installSteps_.add(builderForValue.build());
@@ -31136,6 +35898,8 @@ public Builder addInstallSteps(
         return this;
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -31145,7 +35909,9 @@ public Builder addInstallSteps(
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
       public Builder addInstallSteps(
-          int index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder builderForValue) {
+          int index,
+          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
+              builderForValue) {
         if (installStepsBuilder_ == null) {
           ensureInstallStepsIsMutable();
           installSteps_.add(index, builderForValue.build());
@@ -31156,6 +35922,8 @@ public Builder addInstallSteps(
         return this;
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -31165,11 +35933,12 @@ public Builder addInstallSteps(
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
       public Builder addAllInstallSteps(
-          java.lang.Iterable values) {
+          java.lang.Iterable<
+                  ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step>
+              values) {
         if (installStepsBuilder_ == null) {
           ensureInstallStepsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, installSteps_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, installSteps_);
           onChanged();
         } else {
           installStepsBuilder_.addAllMessages(values);
@@ -31177,6 +35946,8 @@ public Builder addAllInstallSteps(
         return this;
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -31196,6 +35967,8 @@ public Builder clearInstallSteps() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -31215,6 +35988,8 @@ public Builder removeInstallSteps(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -31223,11 +35998,13 @@ public Builder removeInstallSteps(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder getInstallStepsBuilder(
-          int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
+          getInstallStepsBuilder(int index) {
         return getInstallStepsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -31236,14 +36013,17 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builde
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getInstallStepsOrBuilder(
-          int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder
+          getInstallStepsOrBuilder(int index) {
         if (installStepsBuilder_ == null) {
-          return installSteps_.get(index);  } else {
+          return installSteps_.get(index);
+        } else {
           return installStepsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -31252,8 +36032,9 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuild
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
-      public java.util.List 
-           getInstallStepsOrBuilderList() {
+      public java.util.List<
+              ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>
+          getInstallStepsOrBuilderList() {
         if (installStepsBuilder_ != null) {
           return installStepsBuilder_.getMessageOrBuilderList();
         } else {
@@ -31261,6 +36042,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuild
         }
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -31269,11 +36052,16 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuild
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder addInstallStepsBuilder() {
-        return getInstallStepsFieldBuilder().addBuilder(
-            com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.getDefaultInstance());
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
+          addInstallStepsBuilder() {
+        return getInstallStepsFieldBuilder()
+            .addBuilder(
+                com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step
+                    .getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -31282,12 +36070,17 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builde
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder addInstallStepsBuilder(
-          int index) {
-        return getInstallStepsFieldBuilder().addBuilder(
-            index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.getDefaultInstance());
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
+          addInstallStepsBuilder(int index) {
+        return getInstallStepsFieldBuilder()
+            .addBuilder(
+                index,
+                com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step
+                    .getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for installing this recipe. On failure it stops
        * executing steps and does not attempt another installation. Any steps taken
@@ -31296,16 +36089,23 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builde
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step install_steps = 4;
        */
-      public java.util.List 
-           getInstallStepsBuilderList() {
+      public java.util.List<
+              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder>
+          getInstallStepsBuilderList() {
         return getInstallStepsFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder> 
+              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>
           getInstallStepsFieldBuilder() {
         if (installStepsBuilder_ == null) {
-          installStepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>(
+          installStepsBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step,
+                  com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder,
+                  com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>(
                   installSteps_,
                   ((bitField0_ & 0x00000002) != 0),
                   getParentForChildren(),
@@ -31315,19 +36115,27 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builde
         return installStepsBuilder_;
       }
 
-      private java.util.List updateSteps_ =
-        java.util.Collections.emptyList();
+      private java.util.List
+          updateSteps_ = java.util.Collections.emptyList();
+
       private void ensureUpdateStepsIsMutable() {
         if (!((bitField0_ & 0x00000004) != 0)) {
-          updateSteps_ = new java.util.ArrayList(updateSteps_);
+          updateSteps_ =
+              new java.util.ArrayList<
+                  com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step>(updateSteps_);
           bitField0_ |= 0x00000004;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder> updateStepsBuilder_;
+              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>
+          updateStepsBuilder_;
 
       /**
+       *
+       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -31336,7 +36144,8 @@ private void ensureUpdateStepsIsMutable() {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
-      public java.util.List getUpdateStepsList() {
+      public java.util.List
+          getUpdateStepsList() {
         if (updateStepsBuilder_ == null) {
           return java.util.Collections.unmodifiableList(updateSteps_);
         } else {
@@ -31344,6 +36153,8 @@ public java.util.List
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -31360,6 +36171,8 @@ public int getUpdateStepsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -31368,7 +36181,8 @@ public int getUpdateStepsCount() {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getUpdateSteps(int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getUpdateSteps(
+          int index) {
         if (updateStepsBuilder_ == null) {
           return updateSteps_.get(index);
         } else {
@@ -31376,6 +36190,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step getUpd
         }
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -31399,6 +36215,8 @@ public Builder setUpdateSteps(
         return this;
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -31408,7 +36226,9 @@ public Builder setUpdateSteps(
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
       public Builder setUpdateSteps(
-          int index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder builderForValue) {
+          int index,
+          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
+              builderForValue) {
         if (updateStepsBuilder_ == null) {
           ensureUpdateStepsIsMutable();
           updateSteps_.set(index, builderForValue.build());
@@ -31419,6 +36239,8 @@ public Builder setUpdateSteps(
         return this;
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -31427,7 +36249,8 @@ public Builder setUpdateSteps(
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
-      public Builder addUpdateSteps(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step value) {
+      public Builder addUpdateSteps(
+          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step value) {
         if (updateStepsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -31441,6 +36264,8 @@ public Builder addUpdateSteps(com.google.cloud.osconfig.v1beta.GuestPolicies.Sof
         return this;
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -31464,6 +36289,8 @@ public Builder addUpdateSteps(
         return this;
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -31473,7 +36300,8 @@ public Builder addUpdateSteps(
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
       public Builder addUpdateSteps(
-          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder builderForValue) {
+          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
+              builderForValue) {
         if (updateStepsBuilder_ == null) {
           ensureUpdateStepsIsMutable();
           updateSteps_.add(builderForValue.build());
@@ -31484,6 +36312,8 @@ public Builder addUpdateSteps(
         return this;
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -31493,7 +36323,9 @@ public Builder addUpdateSteps(
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
       public Builder addUpdateSteps(
-          int index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder builderForValue) {
+          int index,
+          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
+              builderForValue) {
         if (updateStepsBuilder_ == null) {
           ensureUpdateStepsIsMutable();
           updateSteps_.add(index, builderForValue.build());
@@ -31504,6 +36336,8 @@ public Builder addUpdateSteps(
         return this;
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -31513,11 +36347,12 @@ public Builder addUpdateSteps(
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
       public Builder addAllUpdateSteps(
-          java.lang.Iterable values) {
+          java.lang.Iterable<
+                  ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step>
+              values) {
         if (updateStepsBuilder_ == null) {
           ensureUpdateStepsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, updateSteps_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, updateSteps_);
           onChanged();
         } else {
           updateStepsBuilder_.addAllMessages(values);
@@ -31525,6 +36360,8 @@ public Builder addAllUpdateSteps(
         return this;
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -31544,6 +36381,8 @@ public Builder clearUpdateSteps() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -31563,6 +36402,8 @@ public Builder removeUpdateSteps(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -31571,11 +36412,13 @@ public Builder removeUpdateSteps(int index) {
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder getUpdateStepsBuilder(
-          int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
+          getUpdateStepsBuilder(int index) {
         return getUpdateStepsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -31584,14 +36427,17 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builde
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder getUpdateStepsOrBuilder(
-          int index) {
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder
+          getUpdateStepsOrBuilder(int index) {
         if (updateStepsBuilder_ == null) {
-          return updateSteps_.get(index);  } else {
+          return updateSteps_.get(index);
+        } else {
           return updateStepsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -31600,8 +36446,9 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuild
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
-      public java.util.List 
-           getUpdateStepsOrBuilderList() {
+      public java.util.List<
+              ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>
+          getUpdateStepsOrBuilderList() {
         if (updateStepsBuilder_ != null) {
           return updateStepsBuilder_.getMessageOrBuilderList();
         } else {
@@ -31609,6 +36456,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuild
         }
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -31617,11 +36466,16 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuild
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder addUpdateStepsBuilder() {
-        return getUpdateStepsFieldBuilder().addBuilder(
-            com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.getDefaultInstance());
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
+          addUpdateStepsBuilder() {
+        return getUpdateStepsFieldBuilder()
+            .addBuilder(
+                com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step
+                    .getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -31630,12 +36484,17 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builde
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder addUpdateStepsBuilder(
-          int index) {
-        return getUpdateStepsFieldBuilder().addBuilder(
-            index, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.getDefaultInstance());
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder
+          addUpdateStepsBuilder(int index) {
+        return getUpdateStepsFieldBuilder()
+            .addBuilder(
+                index,
+                com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step
+                    .getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Actions to be taken for updating this recipe. On failure it stops
        * executing steps and  does not attempt another update for this recipe. Any
@@ -31644,16 +36503,23 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builde
        *
        * repeated .google.cloud.osconfig.v1beta.SoftwareRecipe.Step update_steps = 5;
        */
-      public java.util.List 
-           getUpdateStepsBuilderList() {
+      public java.util.List<
+              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder>
+          getUpdateStepsBuilderList() {
         return getUpdateStepsFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder> 
+              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>
           getUpdateStepsFieldBuilder() {
         if (updateStepsBuilder_ == null) {
-          updateStepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>(
+          updateStepsBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step,
+                  com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builder,
+                  com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.StepOrBuilder>(
                   updateSteps_,
                   ((bitField0_ & 0x00000004) != 0),
                   getParentForChildren(),
@@ -31665,6 +36531,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builde
 
       private int desiredState_ = 0;
       /**
+       *
+       *
        * 
        * Default is INSTALLED. The desired state the agent should maintain for this
        * recipe.
@@ -31678,12 +36546,16 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builde
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 6; + * * @return The enum numeric value on the wire for desiredState. */ - @java.lang.Override public int getDesiredStateValue() { + @java.lang.Override + public int getDesiredStateValue() { return desiredState_; } /** + * + * *
        * Default is INSTALLED. The desired state the agent should maintain for this
        * recipe.
@@ -31697,16 +36569,19 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.Builde
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 6; + * * @param value The enum numeric value on the wire for desiredState to set. * @return This builder for chaining. */ public Builder setDesiredStateValue(int value) { - + desiredState_ = value; onChanged(); return this; } /** + * + * *
        * Default is INSTALLED. The desired state the agent should maintain for this
        * recipe.
@@ -31720,15 +36595,21 @@ public Builder setDesiredStateValue(int value) {
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 6; + * * @return The desiredState. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState getDesiredState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState result = com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.valueOf(desiredState_); - return result == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState result = + com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.valueOf(desiredState_); + return result == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState.UNRECOGNIZED + : result; } /** + * + * *
        * Default is INSTALLED. The desired state the agent should maintain for this
        * recipe.
@@ -31742,19 +36623,23 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState getDesiredSta
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 6; + * * @param value The desiredState to set. * @return This builder for chaining. */ - public Builder setDesiredState(com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState value) { + public Builder setDesiredState( + com.google.cloud.osconfig.v1beta.GuestPolicies.DesiredState value) { if (value == null) { throw new NullPointerException(); } - + desiredState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Default is INSTALLED. The desired state the agent should maintain for this
        * recipe.
@@ -31768,14 +36653,16 @@ public Builder setDesiredState(com.google.cloud.osconfig.v1beta.GuestPolicies.De
        * 
* * .google.cloud.osconfig.v1beta.DesiredState desired_state = 6; + * * @return This builder for chaining. */ public Builder clearDesiredState() { - + desiredState_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -31788,30 +36675,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.SoftwareRecipe) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.SoftwareRecipe) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SoftwareRecipe parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SoftwareRecipe(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SoftwareRecipe parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SoftwareRecipe(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -31823,39 +36712,51 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface CreateGuestPolicyRequestOrBuilder extends + public interface CreateGuestPolicyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.CreateGuestPolicyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The resource name of the parent using one of the following forms:
      * `projects/{project_number}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
      * Required. The resource name of the parent using one of the following forms:
      * `projects/{project_number}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
      * Required. The logical name of the guest policy in the project
      * with the following restrictions:
@@ -31867,10 +36768,13 @@ public interface CreateGuestPolicyRequestOrBuilder extends
      * 
* * string guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The guestPolicyId. */ java.lang.String getGuestPolicyId(); /** + * + * *
      * Required. The logical name of the guest policy in the project
      * with the following restrictions:
@@ -31882,54 +36786,71 @@ public interface CreateGuestPolicyRequestOrBuilder extends
      * 
* * string guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for guestPolicyId. */ - com.google.protobuf.ByteString - getGuestPolicyIdBytes(); + com.google.protobuf.ByteString getGuestPolicyIdBytes(); /** + * + * *
      * Required. The GuestPolicy to create.
      * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the guestPolicy field is set. */ boolean hasGuestPolicy(); /** + * + * *
      * Required. The GuestPolicy to create.
      * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The guestPolicy. */ com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicy(); /** + * + * *
      * Required. The GuestPolicy to create.
      * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGuestPolicyOrBuilder(); } /** + * + * *
    * A request message for creating a guest policy.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.CreateGuestPolicyRequest} */ - public static final class CreateGuestPolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CreateGuestPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.CreateGuestPolicyRequest) CreateGuestPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateGuestPolicyRequest.newBuilder() to construct. private CreateGuestPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateGuestPolicyRequest() { parent_ = ""; guestPolicyId_ = ""; @@ -31937,16 +36858,15 @@ private CreateGuestPolicyRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateGuestPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateGuestPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -31965,38 +36885,45 @@ private CreateGuestPolicyRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - guestPolicyId_ = s; - break; - } - case 26: { - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder subBuilder = null; - if (guestPolicy_ != null) { - subBuilder = guestPolicy_.toBuilder(); + parent_ = s; + break; } - guestPolicy_ = input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(guestPolicy_); - guestPolicy_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + guestPolicyId_ = s; + break; } + case 26: + { + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder subBuilder = + null; + if (guestPolicy_ != null) { + subBuilder = guestPolicy_.toBuilder(); + } + guestPolicy_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(guestPolicy_); + guestPolicy_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -32004,35 +36931,43 @@ private CreateGuestPolicyRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
      * Required. The resource name of the parent using one of the following forms:
      * `projects/{project_number}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -32041,30 +36976,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
      * Required. The resource name of the parent using one of the following forms:
      * `projects/{project_number}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -32075,6 +37012,8 @@ public java.lang.String getParent() { public static final int GUEST_POLICY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object guestPolicyId_; /** + * + * *
      * Required. The logical name of the guest policy in the project
      * with the following restrictions:
@@ -32086,6 +37025,7 @@ public java.lang.String getParent() {
      * 
* * string guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The guestPolicyId. */ @java.lang.Override @@ -32094,14 +37034,15 @@ public java.lang.String getGuestPolicyId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); guestPolicyId_ = s; return s; } } /** + * + * *
      * Required. The logical name of the guest policy in the project
      * with the following restrictions:
@@ -32113,16 +37054,15 @@ public java.lang.String getGuestPolicyId() {
      * 
* * string guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for guestPolicyId. */ @java.lang.Override - public com.google.protobuf.ByteString - getGuestPolicyIdBytes() { + public com.google.protobuf.ByteString getGuestPolicyIdBytes() { java.lang.Object ref = guestPolicyId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); guestPolicyId_ = b; return b; } else { @@ -32133,11 +37073,16 @@ public java.lang.String getGuestPolicyId() { public static final int GUEST_POLICY_FIELD_NUMBER = 3; private com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy guestPolicy_; /** + * + * *
      * Required. The GuestPolicy to create.
      * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the guestPolicy field is set. */ @java.lang.Override @@ -32145,30 +37090,43 @@ public boolean hasGuestPolicy() { return guestPolicy_ != null; } /** + * + * *
      * Required. The GuestPolicy to create.
      * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The guestPolicy. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicy() { - return guestPolicy_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() : guestPolicy_; + return guestPolicy_ == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() + : guestPolicy_; } /** + * + * *
      * Required. The GuestPolicy to create.
      * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGuestPolicyOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder + getGuestPolicyOrBuilder() { return getGuestPolicy(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -32180,8 +37138,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -32207,8 +37164,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, guestPolicyId_); } if (guestPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getGuestPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getGuestPolicy()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -32218,21 +37174,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest other = (com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getGuestPolicyId() - .equals(other.getGuestPolicyId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getGuestPolicyId().equals(other.getGuestPolicyId())) return false; if (hasGuestPolicy() != other.hasGuestPolicy()) return false; if (hasGuestPolicy()) { - if (!getGuestPolicy() - .equals(other.getGuestPolicy())) return false; + if (!getGuestPolicy().equals(other.getGuestPolicy())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -32259,87 +37214,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest + 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.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -32349,44 +37312,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for creating a guest policy.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.CreateGuestPolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.CreateGuestPolicyRequest) com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -32404,19 +37373,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest result = buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -32424,8 +37396,10 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest b } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest result = new com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest + buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest(this); result.parent_ = parent_; result.guestPolicyId_ = guestPolicyId_; if (guestPolicyBuilder_ == null) { @@ -32441,46 +37415,54 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest)other); + if (other + instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -32507,11 +37489,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -32523,19 +37508,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -32544,21 +37533,24 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -32566,57 +37558,70 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -32624,6 +37629,8 @@ public Builder setParentBytes( private java.lang.Object guestPolicyId_ = ""; /** + * + * *
        * Required. The logical name of the guest policy in the project
        * with the following restrictions:
@@ -32635,13 +37642,13 @@ public Builder setParentBytes(
        * 
* * string guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The guestPolicyId. */ public java.lang.String getGuestPolicyId() { java.lang.Object ref = guestPolicyId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); guestPolicyId_ = s; return s; @@ -32650,6 +37657,8 @@ public java.lang.String getGuestPolicyId() { } } /** + * + * *
        * Required. The logical name of the guest policy in the project
        * with the following restrictions:
@@ -32661,15 +37670,14 @@ public java.lang.String getGuestPolicyId() {
        * 
* * string guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for guestPolicyId. */ - public com.google.protobuf.ByteString - getGuestPolicyIdBytes() { + public com.google.protobuf.ByteString getGuestPolicyIdBytes() { java.lang.Object ref = guestPolicyId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); guestPolicyId_ = b; return b; } else { @@ -32677,6 +37685,8 @@ public java.lang.String getGuestPolicyId() { } } /** + * + * *
        * Required. The logical name of the guest policy in the project
        * with the following restrictions:
@@ -32688,20 +37698,22 @@ public java.lang.String getGuestPolicyId() {
        * 
* * string guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The guestPolicyId to set. * @return This builder for chaining. */ - public Builder setGuestPolicyId( - java.lang.String value) { + public Builder setGuestPolicyId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + guestPolicyId_ = value; onChanged(); return this; } /** + * + * *
        * Required. The logical name of the guest policy in the project
        * with the following restrictions:
@@ -32713,15 +37725,18 @@ public Builder setGuestPolicyId(
        * 
* * string guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearGuestPolicyId() { - + guestPolicyId_ = getDefaultInstance().getGuestPolicyId(); onChanged(); return this; } /** + * + * *
        * Required. The logical name of the guest policy in the project
        * with the following restrictions:
@@ -32733,16 +37748,16 @@ public Builder clearGuestPolicyId() {
        * 
* * string guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for guestPolicyId to set. * @return This builder for chaining. */ - public Builder setGuestPolicyIdBytes( - com.google.protobuf.ByteString value) { + public Builder setGuestPolicyIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + guestPolicyId_ = value; onChanged(); return this; @@ -32750,41 +37765,61 @@ public Builder setGuestPolicyIdBytes( private com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy guestPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> guestPolicyBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> + guestPolicyBuilder_; /** + * + * *
        * Required. The GuestPolicy to create.
        * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the guestPolicy field is set. */ public boolean hasGuestPolicy() { return guestPolicyBuilder_ != null || guestPolicy_ != null; } /** + * + * *
        * Required. The GuestPolicy to create.
        * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The guestPolicy. */ public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicy() { if (guestPolicyBuilder_ == null) { - return guestPolicy_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() : guestPolicy_; + return guestPolicy_ == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() + : guestPolicy_; } else { return guestPolicyBuilder_.getMessage(); } } /** + * + * *
        * Required. The GuestPolicy to create.
        * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { + public Builder setGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { if (guestPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -32798,11 +37833,15 @@ public Builder setGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.Gue return this; } /** + * + * *
        * Required. The GuestPolicy to create.
        * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setGuestPolicy( com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder builderForValue) { @@ -32816,17 +37855,24 @@ public Builder setGuestPolicy( return this; } /** + * + * *
        * Required. The GuestPolicy to create.
        * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { + public Builder mergeGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { if (guestPolicyBuilder_ == null) { if (guestPolicy_ != null) { guestPolicy_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.newBuilder(guestPolicy_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.newBuilder(guestPolicy_) + .mergeFrom(value) + .buildPartial(); } else { guestPolicy_ = value; } @@ -32838,11 +37884,15 @@ public Builder mergeGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.G return this; } /** + * + * *
        * Required. The GuestPolicy to create.
        * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearGuestPolicy() { if (guestPolicyBuilder_ == null) { @@ -32856,52 +37906,71 @@ public Builder clearGuestPolicy() { return this; } /** + * + * *
        * Required. The GuestPolicy to create.
        * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder getGuestPolicyBuilder() { - + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder + getGuestPolicyBuilder() { + onChanged(); return getGuestPolicyFieldBuilder().getBuilder(); } /** + * + * *
        * Required. The GuestPolicy to create.
        * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGuestPolicyOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder + getGuestPolicyOrBuilder() { if (guestPolicyBuilder_ != null) { return guestPolicyBuilder_.getMessageOrBuilder(); } else { - return guestPolicy_ == null ? - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() : guestPolicy_; + return guestPolicy_ == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() + : guestPolicy_; } } /** + * + * *
        * Required. The GuestPolicy to create.
        * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> getGuestPolicyFieldBuilder() { if (guestPolicyBuilder_ == null) { - guestPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder>( - getGuestPolicy(), - getParentForChildren(), - isClean()); + guestPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder>( + getGuestPolicy(), getParentForChildren(), isClean()); guestPolicy_ = null; } return guestPolicyBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -32914,30 +37983,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.CreateGuestPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.CreateGuestPolicyRequest) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateGuestPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateGuestPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateGuestPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateGuestPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -32949,70 +38021,82 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.CreateGuestPolicyRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GetGuestPolicyRequestOrBuilder extends + public interface GetGuestPolicyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.GetGuestPolicyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The resource name of the guest policy using one of the following forms:
      * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The resource name of the guest policy using one of the following forms:
      * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
    * A request message for retrieving a guest policy.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GetGuestPolicyRequest} */ - public static final class GetGuestPolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GetGuestPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.GetGuestPolicyRequest) GetGuestPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetGuestPolicyRequest.newBuilder() to construct. private GetGuestPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetGuestPolicyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetGuestPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetGuestPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -33031,19 +38115,20 @@ private GetGuestPolicyRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -33051,35 +38136,42 @@ private GetGuestPolicyRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. The resource name of the guest policy using one of the following forms:
      * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -33088,30 +38180,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. The resource name of the guest policy using one of the following forms:
      * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -33120,6 +38214,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -33131,8 +38226,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -33156,15 +38250,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest other = (com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -33184,87 +38278,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest + 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.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -33274,44 +38376,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for retrieving a guest policy.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GetGuestPolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.GetGuestPolicyRequest) com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -33321,19 +38428,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest result = buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -33342,7 +38452,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest buil @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest result = new com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest(this); + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -33352,46 +38463,53 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest)other); + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -33415,7 +38533,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -33427,19 +38547,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * Required. The resource name of the guest policy using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -33448,21 +38572,24 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the guest policy using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -33470,61 +38597,75 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the guest policy using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. The resource name of the guest policy using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. The resource name of the guest policy using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -33537,30 +38678,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.GetGuestPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.GetGuestPolicyRequest) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetGuestPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetGuestPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetGuestPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetGuestPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -33572,86 +38715,107 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GetGuestPolicyRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListGuestPoliciesRequestOrBuilder extends + public interface ListGuestPoliciesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ListGuestPoliciesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The resource name of the parent using one of the following forms:
      * `projects/{project_number}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
      * Required. The resource name of the parent using one of the following forms:
      * `projects/{project_number}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
      * The maximum number of guest policies to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
      * A pagination token returned from a previous call to `ListGuestPolicies`
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
      * A pagination token returned from a previous call to `ListGuestPolicies`
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } /** + * + * *
    * A request message for listing guest policies.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListGuestPoliciesRequest} */ - public static final class ListGuestPoliciesRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListGuestPoliciesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ListGuestPoliciesRequest) ListGuestPoliciesRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListGuestPoliciesRequest.newBuilder() to construct. private ListGuestPoliciesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListGuestPoliciesRequest() { parent_ = ""; pageToken_ = ""; @@ -33659,16 +38823,15 @@ private ListGuestPoliciesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListGuestPoliciesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListGuestPoliciesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -33687,30 +38850,32 @@ private ListGuestPoliciesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -33718,35 +38883,43 @@ private ListGuestPoliciesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
      * Required. The resource name of the parent using one of the following forms:
      * `projects/{project_number}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -33755,30 +38928,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
      * Required. The resource name of the parent using one of the following forms:
      * `projects/{project_number}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -33789,11 +38964,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
      * The maximum number of guest policies to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -33804,12 +38982,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
      * A pagination token returned from a previous call to `ListGuestPolicies`
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -33818,30 +38999,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
      * A pagination token returned from a previous call to `ListGuestPolicies`
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -33850,6 +39031,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -33861,8 +39043,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -33885,8 +39066,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -33899,19 +39079,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest other = (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -33935,87 +39114,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest + 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -34025,44 +39212,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for listing guest policies.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListGuestPoliciesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ListGuestPoliciesRequest) com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -34076,19 +39269,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest result = buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -34096,8 +39292,10 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest b } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest result = new com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest + buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -34109,46 +39307,54 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest)other); + if (other + instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -34175,11 +39381,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -34191,19 +39400,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -34212,21 +39425,24 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -34234,69 +39450,85 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
        * Required. The resource name of the parent using one of the following forms:
        * `projects/{project_number}`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
        * The maximum number of guest policies to return.
        * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -34304,30 +39536,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
        * The maximum number of guest policies to return.
        * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
        * The maximum number of guest policies to return.
        * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -34335,19 +39573,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
        * A pagination token returned from a previous call to `ListGuestPolicies`
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -34356,21 +39596,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * A pagination token returned from a previous call to `ListGuestPolicies`
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -34378,61 +39619,69 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * A pagination token returned from a previous call to `ListGuestPolicies`
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
        * A pagination token returned from a previous call to `ListGuestPolicies`
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
        * A pagination token returned from a previous call to `ListGuestPolicies`
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -34445,30 +39694,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ListGuestPoliciesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ListGuestPoliciesRequest) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGuestPoliciesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGuestPoliciesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGuestPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListGuestPoliciesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -34480,26 +39732,31 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListGuestPoliciesResponseOrBuilder extends + public interface ListGuestPoliciesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ListGuestPoliciesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The list of GuestPolicies.
      * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - java.util.List + java.util.List getGuestPoliciesList(); /** + * + * *
      * The list of GuestPolicies.
      * 
@@ -34508,6 +39765,8 @@ public interface ListGuestPoliciesResponseOrBuilder extends */ com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicies(int index); /** + * + * *
      * The list of GuestPolicies.
      * 
@@ -34516,15 +39775,19 @@ public interface ListGuestPoliciesResponseOrBuilder extends */ int getGuestPoliciesCount(); /** + * + * *
      * The list of GuestPolicies.
      * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - java.util.List + java.util.List getGuestPoliciesOrBuilderList(); /** + * + * *
      * The list of GuestPolicies.
      * 
@@ -34535,43 +39798,51 @@ com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGuestPoli int index); /** + * + * *
      * A pagination token that can be used to get the next page
      * of guest policies.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
      * A pagination token that can be used to get the next page
      * of guest policies.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } /** + * + * *
    * A response message for listing guest policies.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListGuestPoliciesResponse} */ - public static final class ListGuestPoliciesResponse extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListGuestPoliciesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ListGuestPoliciesResponse) ListGuestPoliciesResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListGuestPoliciesResponse.newBuilder() to construct. private ListGuestPoliciesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListGuestPoliciesResponse() { guestPolicies_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -34579,16 +39850,15 @@ private ListGuestPoliciesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListGuestPoliciesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListGuestPoliciesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -34608,28 +39878,34 @@ private ListGuestPoliciesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - guestPolicies_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + guestPolicies_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>(); + mutable_bitField0_ |= 0x00000001; + } + guestPolicies_.add( + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.parser(), + extensionRegistry)); + break; } - guestPolicies_.add( - input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -34637,8 +39913,7 @@ private ListGuestPoliciesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { guestPolicies_ = java.util.Collections.unmodifiableList(guestPolicies_); @@ -34647,22 +39922,29 @@ private ListGuestPoliciesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.class, com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.Builder + .class); } public static final int GUEST_POLICIES_FIELD_NUMBER = 1; - private java.util.List guestPolicies_; + private java.util.List + guestPolicies_; /** + * + * *
      * The list of GuestPolicies.
      * 
@@ -34670,10 +39952,13 @@ private ListGuestPoliciesResponse( * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ @java.lang.Override - public java.util.List getGuestPoliciesList() { + public java.util.List + getGuestPoliciesList() { return guestPolicies_; } /** + * + * *
      * The list of GuestPolicies.
      * 
@@ -34681,11 +39966,14 @@ public java.util.Listrepeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> getGuestPoliciesOrBuilderList() { return guestPolicies_; } /** + * + * *
      * The list of GuestPolicies.
      * 
@@ -34697,6 +39985,8 @@ public int getGuestPoliciesCount() { return guestPolicies_.size(); } /** + * + * *
      * The list of GuestPolicies.
      * 
@@ -34708,6 +39998,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolici return guestPolicies_.get(index); } /** + * + * *
      * The list of GuestPolicies.
      * 
@@ -34715,20 +40007,23 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolici * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGuestPoliciesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder + getGuestPoliciesOrBuilder(int index) { return guestPolicies_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
      * A pagination token that can be used to get the next page
      * of guest policies.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -34737,30 +40032,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
      * A pagination token that can be used to get the next page
      * of guest policies.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -34769,6 +40064,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -34780,8 +40076,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < guestPolicies_.size(); i++) { output.writeMessage(1, guestPolicies_.get(i)); } @@ -34798,8 +40093,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < guestPolicies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, guestPolicies_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, guestPolicies_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -34812,17 +40106,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse other = (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse) obj; - if (!getGuestPoliciesList() - .equals(other.getGuestPoliciesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getGuestPoliciesList().equals(other.getGuestPoliciesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -34845,88 +40139,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -34936,45 +40243,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A response message for listing guest policies.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListGuestPoliciesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ListGuestPoliciesResponse) com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.class, com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getGuestPoliciesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -34990,19 +40304,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse result = buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -35010,8 +40327,10 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse result = new com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse(this); int from_bitField0_ = bitField0_; if (guestPoliciesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -35031,46 +40350,54 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse)other); + if (other + instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + .getDefaultInstance()) return this; if (guestPoliciesBuilder_ == null) { if (!other.guestPolicies_.isEmpty()) { if (guestPolicies_.isEmpty()) { @@ -35089,9 +40416,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.ListGues guestPoliciesBuilder_ = null; guestPolicies_ = other.guestPolicies_; bitField0_ = (bitField0_ & ~0x00000001); - guestPoliciesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getGuestPoliciesFieldBuilder() : null; + guestPoliciesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getGuestPoliciesFieldBuilder() + : null; } else { guestPoliciesBuilder_.addAllMessages(other.guestPolicies_); } @@ -35116,11 +40444,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -35129,28 +40460,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List guestPolicies_ = - java.util.Collections.emptyList(); + private java.util.List + guestPolicies_ = java.util.Collections.emptyList(); + private void ensureGuestPoliciesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - guestPolicies_ = new java.util.ArrayList(guestPolicies_); + guestPolicies_ = + new java.util.ArrayList( + guestPolicies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> guestPoliciesBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> + guestPoliciesBuilder_; /** + * + * *
        * The list of GuestPolicies.
        * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - public java.util.List getGuestPoliciesList() { + public java.util.List + getGuestPoliciesList() { if (guestPoliciesBuilder_ == null) { return java.util.Collections.unmodifiableList(guestPolicies_); } else { @@ -35158,6 +40499,8 @@ public java.util.List * The list of GuestPolicies. *
@@ -35172,13 +40515,16 @@ public int getGuestPoliciesCount() { } } /** + * + * *
        * The list of GuestPolicies.
        * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicies(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicies( + int index) { if (guestPoliciesBuilder_ == null) { return guestPolicies_.get(index); } else { @@ -35186,6 +40532,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolici } } /** + * + * *
        * The list of GuestPolicies.
        * 
@@ -35207,6 +40555,8 @@ public Builder setGuestPolicies( return this; } /** + * + * *
        * The list of GuestPolicies.
        * 
@@ -35214,7 +40564,8 @@ public Builder setGuestPolicies( * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ public Builder setGuestPolicies( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder builderForValue) { if (guestPoliciesBuilder_ == null) { ensureGuestPoliciesIsMutable(); guestPolicies_.set(index, builderForValue.build()); @@ -35225,13 +40576,16 @@ public Builder setGuestPolicies( return this; } /** + * + * *
        * The list of GuestPolicies.
        * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - public Builder addGuestPolicies(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { + public Builder addGuestPolicies( + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { if (guestPoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -35245,6 +40599,8 @@ public Builder addGuestPolicies(com.google.cloud.osconfig.v1beta.GuestPolicies.G return this; } /** + * + * *
        * The list of GuestPolicies.
        * 
@@ -35266,6 +40622,8 @@ public Builder addGuestPolicies( return this; } /** + * + * *
        * The list of GuestPolicies.
        * 
@@ -35284,6 +40642,8 @@ public Builder addGuestPolicies( return this; } /** + * + * *
        * The list of GuestPolicies.
        * 
@@ -35291,7 +40651,8 @@ public Builder addGuestPolicies( * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ public Builder addGuestPolicies( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder builderForValue) { if (guestPoliciesBuilder_ == null) { ensureGuestPoliciesIsMutable(); guestPolicies_.add(index, builderForValue.build()); @@ -35302,6 +40663,8 @@ public Builder addGuestPolicies( return this; } /** + * + * *
        * The list of GuestPolicies.
        * 
@@ -35309,11 +40672,11 @@ public Builder addGuestPolicies( * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ public Builder addAllGuestPolicies( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (guestPoliciesBuilder_ == null) { ensureGuestPoliciesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, guestPolicies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, guestPolicies_); onChanged(); } else { guestPoliciesBuilder_.addAllMessages(values); @@ -35321,6 +40684,8 @@ public Builder addAllGuestPolicies( return this; } /** + * + * *
        * The list of GuestPolicies.
        * 
@@ -35338,6 +40703,8 @@ public Builder clearGuestPolicies() { return this; } /** + * + * *
        * The list of GuestPolicies.
        * 
@@ -35355,39 +40722,47 @@ public Builder removeGuestPolicies(int index) { return this; } /** + * + * *
        * The list of GuestPolicies.
        * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder getGuestPoliciesBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder + getGuestPoliciesBuilder(int index) { return getGuestPoliciesFieldBuilder().getBuilder(index); } /** + * + * *
        * The list of GuestPolicies.
        * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGuestPoliciesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder + getGuestPoliciesOrBuilder(int index) { if (guestPoliciesBuilder_ == null) { - return guestPolicies_.get(index); } else { + return guestPolicies_.get(index); + } else { return guestPoliciesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * The list of GuestPolicies.
        * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - public java.util.List - getGuestPoliciesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> + getGuestPoliciesOrBuilderList() { if (guestPoliciesBuilder_ != null) { return guestPoliciesBuilder_.getMessageOrBuilderList(); } else { @@ -35395,45 +40770,61 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGu } } /** + * + * *
        * The list of GuestPolicies.
        * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder addGuestPoliciesBuilder() { - return getGuestPoliciesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder + addGuestPoliciesBuilder() { + return getGuestPoliciesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance()); } /** + * + * *
        * The list of GuestPolicies.
        * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder addGuestPoliciesBuilder( - int index) { - return getGuestPoliciesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder + addGuestPoliciesBuilder(int index) { + return getGuestPoliciesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance()); } /** + * + * *
        * The list of GuestPolicies.
        * 
* * repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1; */ - public java.util.List - getGuestPoliciesBuilderList() { + public java.util.List + getGuestPoliciesBuilderList() { return getGuestPoliciesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> getGuestPoliciesFieldBuilder() { if (guestPoliciesBuilder_ == null) { - guestPoliciesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder>( + guestPoliciesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder>( guestPolicies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -35445,19 +40836,21 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder addGue private java.lang.Object nextPageToken_ = ""; /** + * + * *
        * A pagination token that can be used to get the next page
        * of guest policies.
        * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -35466,21 +40859,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * A pagination token that can be used to get the next page
        * of guest policies.
        * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -35488,61 +40882,69 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * A pagination token that can be used to get the next page
        * of guest policies.
        * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
        * A pagination token that can be used to get the next page
        * of guest policies.
        * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
        * A pagination token that can be used to get the next page
        * of guest policies.
        * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -35555,30 +40957,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ListGuestPoliciesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ListGuestPoliciesResponse) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGuestPoliciesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGuestPoliciesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGuestPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListGuestPoliciesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -35590,64 +40995,87 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.ListGuestPoliciesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface UpdateGuestPolicyRequestOrBuilder extends + public interface UpdateGuestPolicyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.UpdateGuestPolicyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The updated GuestPolicy.
      * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the guestPolicy field is set. */ boolean hasGuestPolicy(); /** + * + * *
      * Required. The updated GuestPolicy.
      * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The guestPolicy. */ com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicy(); /** + * + * *
      * Required. The updated GuestPolicy.
      * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGuestPolicyOrBuilder(); /** + * + * *
      * Field mask that controls which fields of the guest policy should be
      * updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
      * Field mask that controls which fields of the guest policy should be
      * updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
      * Field mask that controls which fields of the guest policy should be
      * updated.
@@ -35658,36 +41086,37 @@ public interface UpdateGuestPolicyRequestOrBuilder extends
     com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
   }
   /**
+   *
+   *
    * 
    * A request message for updating a guest policy.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.UpdateGuestPolicyRequest} */ - public static final class UpdateGuestPolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class UpdateGuestPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.UpdateGuestPolicyRequest) UpdateGuestPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateGuestPolicyRequest.newBuilder() to construct. private UpdateGuestPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateGuestPolicyRequest() { - } + + private UpdateGuestPolicyRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateGuestPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateGuestPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -35706,39 +41135,46 @@ private UpdateGuestPolicyRequest( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder subBuilder = null; - if (guestPolicy_ != null) { - subBuilder = guestPolicy_.toBuilder(); - } - guestPolicy_ = input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(guestPolicy_); - guestPolicy_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder subBuilder = + null; + if (guestPolicy_ != null) { + subBuilder = guestPolicy_.toBuilder(); + } + guestPolicy_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(guestPolicy_); + guestPolicy_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -35746,34 +41182,42 @@ private UpdateGuestPolicyRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.Builder + .class); } public static final int GUEST_POLICY_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy guestPolicy_; /** + * + * *
      * Required. The updated GuestPolicy.
      * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the guestPolicy field is set. */ @java.lang.Override @@ -35781,38 +41225,53 @@ public boolean hasGuestPolicy() { return guestPolicy_ != null; } /** + * + * *
      * Required. The updated GuestPolicy.
      * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The guestPolicy. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicy() { - return guestPolicy_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() : guestPolicy_; + return guestPolicy_ == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() + : guestPolicy_; } /** + * + * *
      * Required. The updated GuestPolicy.
      * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGuestPolicyOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder + getGuestPolicyOrBuilder() { return getGuestPolicy(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
      * Field mask that controls which fields of the guest policy should be
      * updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -35820,12 +41279,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
      * Field mask that controls which fields of the guest policy should be
      * updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -35833,6 +41295,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
      * Field mask that controls which fields of the guest policy should be
      * updated.
@@ -35846,6 +41310,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -35857,8 +41322,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (guestPolicy_ != null) {
         output.writeMessage(1, getGuestPolicy());
       }
@@ -35875,12 +41339,10 @@ public int getSerializedSize() {
 
       size = 0;
       if (guestPolicy_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getGuestPolicy());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGuestPolicy());
       }
       if (updateMask_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getUpdateMask());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -35890,22 +41352,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
-      if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest)) {
+      if (!(obj
+          instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest)) {
         return super.equals(obj);
       }
-      com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest other = (com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest) obj;
+      com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest other =
+          (com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest) obj;
 
       if (hasGuestPolicy() != other.hasGuestPolicy()) return false;
       if (hasGuestPolicy()) {
-        if (!getGuestPolicy()
-            .equals(other.getGuestPolicy())) return false;
+        if (!getGuestPolicy().equals(other.getGuestPolicy())) return false;
       }
       if (hasUpdateMask() != other.hasUpdateMask()) return false;
       if (hasUpdateMask()) {
-        if (!getUpdateMask()
-            .equals(other.getUpdateMask())) return false;
+        if (!getUpdateMask().equals(other.getUpdateMask())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -35932,87 +41394,95 @@ public int hashCode() {
     }
 
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest
+        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.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -36022,44 +41492,50 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * A request message for updating a guest policy.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.UpdateGuestPolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.UpdateGuestPolicyRequest) com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -36079,19 +41555,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest result = buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -36099,8 +41578,10 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest b } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest result = new com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest + buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest(this); if (guestPolicyBuilder_ == null) { result.guestPolicy_ = guestPolicy_; } else { @@ -36119,46 +41600,54 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest)other); + if (other + instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest + .getDefaultInstance()) return this; if (other.hasGuestPolicy()) { mergeGuestPolicy(other.getGuestPolicy()); } @@ -36180,11 +41669,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -36196,41 +41688,61 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy guestPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> guestPolicyBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> + guestPolicyBuilder_; /** + * + * *
        * Required. The updated GuestPolicy.
        * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the guestPolicy field is set. */ public boolean hasGuestPolicy() { return guestPolicyBuilder_ != null || guestPolicy_ != null; } /** + * + * *
        * Required. The updated GuestPolicy.
        * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The guestPolicy. */ public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy getGuestPolicy() { if (guestPolicyBuilder_ == null) { - return guestPolicy_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() : guestPolicy_; + return guestPolicy_ == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() + : guestPolicy_; } else { return guestPolicyBuilder_.getMessage(); } } /** + * + * *
        * Required. The updated GuestPolicy.
        * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { + public Builder setGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { if (guestPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -36244,11 +41756,15 @@ public Builder setGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.Gue return this; } /** + * + * *
        * Required. The updated GuestPolicy.
        * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setGuestPolicy( com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder builderForValue) { @@ -36262,17 +41778,24 @@ public Builder setGuestPolicy( return this; } /** + * + * *
        * Required. The updated GuestPolicy.
        * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { + public Builder mergeGuestPolicy( + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy value) { if (guestPolicyBuilder_ == null) { if (guestPolicy_ != null) { guestPolicy_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.newBuilder(guestPolicy_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.newBuilder(guestPolicy_) + .mergeFrom(value) + .buildPartial(); } else { guestPolicy_ = value; } @@ -36284,11 +41807,15 @@ public Builder mergeGuestPolicy(com.google.cloud.osconfig.v1beta.GuestPolicies.G return this; } /** + * + * *
        * Required. The updated GuestPolicy.
        * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearGuestPolicy() { if (guestPolicyBuilder_ == null) { @@ -36302,48 +41829,66 @@ public Builder clearGuestPolicy() { return this; } /** + * + * *
        * Required. The updated GuestPolicy.
        * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder getGuestPolicyBuilder() { - + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder + getGuestPolicyBuilder() { + onChanged(); return getGuestPolicyFieldBuilder().getBuilder(); } /** + * + * *
        * Required. The updated GuestPolicy.
        * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGuestPolicyOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder + getGuestPolicyOrBuilder() { if (guestPolicyBuilder_ != null) { return guestPolicyBuilder_.getMessageOrBuilder(); } else { - return guestPolicy_ == null ? - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() : guestPolicy_; + return guestPolicy_ == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.getDefaultInstance() + : guestPolicy_; } } /** + * + * *
        * Required. The updated GuestPolicy.
        * 
* - * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> getGuestPolicyFieldBuilder() { if (guestPolicyBuilder_ == null) { - guestPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder>( - getGuestPolicy(), - getParentForChildren(), - isClean()); + guestPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder>( + getGuestPolicy(), getParentForChildren(), isClean()); guestPolicy_ = null; } return guestPolicyBuilder_; @@ -36351,36 +41896,49 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder getGu private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
        * Field mask that controls which fields of the guest policy should be
        * updated.
        * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
        * Field mask that controls which fields of the guest policy should be
        * updated.
        * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
        * Field mask that controls which fields of the guest policy should be
        * updated.
@@ -36402,6 +41960,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Field mask that controls which fields of the guest policy should be
        * updated.
@@ -36409,8 +41969,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
        *
        * .google.protobuf.FieldMask update_mask = 2;
        */
-      public Builder setUpdateMask(
-          com.google.protobuf.FieldMask.Builder builderForValue) {
+      public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
         if (updateMaskBuilder_ == null) {
           updateMask_ = builderForValue.build();
           onChanged();
@@ -36421,6 +41980,8 @@ public Builder setUpdateMask(
         return this;
       }
       /**
+       *
+       *
        * 
        * Field mask that controls which fields of the guest policy should be
        * updated.
@@ -36432,7 +41993,9 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
         if (updateMaskBuilder_ == null) {
           if (updateMask_ != null) {
             updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+                com.google.protobuf.FieldMask.newBuilder(updateMask_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             updateMask_ = value;
           }
@@ -36444,6 +42007,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Field mask that controls which fields of the guest policy should be
        * updated.
@@ -36463,6 +42028,8 @@ public Builder clearUpdateMask() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Field mask that controls which fields of the guest policy should be
        * updated.
@@ -36471,11 +42038,13 @@ public Builder clearUpdateMask() {
        * .google.protobuf.FieldMask update_mask = 2;
        */
       public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-        
+
         onChanged();
         return getUpdateMaskFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Field mask that controls which fields of the guest policy should be
        * updated.
@@ -36487,11 +42056,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
         if (updateMaskBuilder_ != null) {
           return updateMaskBuilder_.getMessageOrBuilder();
         } else {
-          return updateMask_ == null ?
-              com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+          return updateMask_ == null
+              ? com.google.protobuf.FieldMask.getDefaultInstance()
+              : updateMask_;
         }
       }
       /**
+       *
+       *
        * 
        * Field mask that controls which fields of the guest policy should be
        * updated.
@@ -36500,18 +42072,22 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
        * .google.protobuf.FieldMask update_mask = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+              com.google.protobuf.FieldMask,
+              com.google.protobuf.FieldMask.Builder,
+              com.google.protobuf.FieldMaskOrBuilder>
           getUpdateMaskFieldBuilder() {
         if (updateMaskBuilder_ == null) {
-          updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                  getUpdateMask(),
-                  getParentForChildren(),
-                  isClean());
+          updateMaskBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.FieldMask,
+                  com.google.protobuf.FieldMask.Builder,
+                  com.google.protobuf.FieldMaskOrBuilder>(
+                  getUpdateMask(), getParentForChildren(), isClean());
           updateMask_ = null;
         }
         return updateMaskBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -36524,30 +42100,33 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.UpdateGuestPolicyRequest)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.UpdateGuestPolicyRequest)
-    private static final com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest DEFAULT_INSTANCE;
+    private static final com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest
+        DEFAULT_INSTANCE;
+
     static {
-      DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest();
+      DEFAULT_INSTANCE =
+          new com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest();
     }
 
-    public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest getDefaultInstance() {
+    public static com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public UpdateGuestPolicyRequest parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new UpdateGuestPolicyRequest(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public UpdateGuestPolicyRequest parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new UpdateGuestPolicyRequest(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -36559,70 +42138,82 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest getDefaultInstanceForType() {
+    public com.google.cloud.osconfig.v1beta.GuestPolicies.UpdateGuestPolicyRequest
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface DeleteGuestPolicyRequestOrBuilder extends
+  public interface DeleteGuestPolicyRequestOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.DeleteGuestPolicyRequest)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. The resource name of the guest policy  using one of the following forms:
      * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The resource name of the guest policy  using one of the following forms:
      * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
    * A request message for deleting a guest policy.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.DeleteGuestPolicyRequest} */ - public static final class DeleteGuestPolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DeleteGuestPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.DeleteGuestPolicyRequest) DeleteGuestPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteGuestPolicyRequest.newBuilder() to construct. private DeleteGuestPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteGuestPolicyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteGuestPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteGuestPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -36641,19 +42232,20 @@ private DeleteGuestPolicyRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -36661,35 +42253,43 @@ private DeleteGuestPolicyRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. The resource name of the guest policy  using one of the following forms:
      * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -36698,30 +42298,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. The resource name of the guest policy  using one of the following forms:
      * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -36730,6 +42332,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -36741,8 +42344,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -36766,15 +42368,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest other = (com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -36794,87 +42397,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest + 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.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -36884,44 +42495,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for deleting a guest policy.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.DeleteGuestPolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.DeleteGuestPolicyRequest) com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -36931,19 +42548,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest result = buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -36951,8 +42571,10 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest b } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest result = new com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest + buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -36962,46 +42584,54 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest)other); + if (other + instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -37021,11 +42651,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -37037,19 +42670,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * Required. The resource name of the guest policy  using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -37058,21 +42695,24 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the guest policy  using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -37080,61 +42720,75 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the guest policy  using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. The resource name of the guest policy  using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. The resource name of the guest policy  using one of the following forms:
        * `projects/{project_number}/guestPolicies/{guest_policy_id}`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -37147,30 +42801,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.DeleteGuestPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.DeleteGuestPolicyRequest) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteGuestPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteGuestPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteGuestPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteGuestPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -37182,37 +42839,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.DeleteGuestPolicyRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface LookupEffectiveGuestPolicyRequestOrBuilder extends + public interface LookupEffectiveGuestPolicyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.LookupEffectiveGuestPolicyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The VM instance whose policies are being looked up.
      * 
* * string instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instance. */ java.lang.String getInstance(); /** + * + * *
      * Required. The VM instance whose policies are being looked up.
      * 
* * string instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for instance. */ - com.google.protobuf.ByteString - getInstanceBytes(); + com.google.protobuf.ByteString getInstanceBytes(); /** + * + * *
      * Short name of the OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -37220,10 +42885,13 @@ public interface LookupEffectiveGuestPolicyRequestOrBuilder extends
      * 
* * string os_short_name = 2; + * * @return The osShortName. */ java.lang.String getOsShortName(); /** + * + * *
      * Short name of the OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -37231,12 +42899,14 @@ public interface LookupEffectiveGuestPolicyRequestOrBuilder extends
      * 
* * string os_short_name = 2; + * * @return The bytes for osShortName. */ - com.google.protobuf.ByteString - getOsShortNameBytes(); + com.google.protobuf.ByteString getOsShortNameBytes(); /** + * + * *
      * Version of the OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -37244,10 +42914,13 @@ public interface LookupEffectiveGuestPolicyRequestOrBuilder extends
      * 
* * string os_version = 3; + * * @return The osVersion. */ java.lang.String getOsVersion(); /** + * + * *
      * Version of the OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -37255,12 +42928,14 @@ public interface LookupEffectiveGuestPolicyRequestOrBuilder extends
      * 
* * string os_version = 3; + * * @return The bytes for osVersion. */ - com.google.protobuf.ByteString - getOsVersionBytes(); + com.google.protobuf.ByteString getOsVersionBytes(); /** + * + * *
      * Architecture of OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -37268,10 +42943,13 @@ public interface LookupEffectiveGuestPolicyRequestOrBuilder extends
      * 
* * string os_architecture = 4; + * * @return The osArchitecture. */ java.lang.String getOsArchitecture(); /** + * + * *
      * Architecture of OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -37279,12 +42957,14 @@ public interface LookupEffectiveGuestPolicyRequestOrBuilder extends
      * 
* * string os_architecture = 4; + * * @return The bytes for osArchitecture. */ - com.google.protobuf.ByteString - getOsArchitectureBytes(); + com.google.protobuf.ByteString getOsArchitectureBytes(); } /** + * + * *
    * A request message for getting the effective guest policy assigned to the
    * instance.
@@ -37292,15 +42972,18 @@ public interface LookupEffectiveGuestPolicyRequestOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.LookupEffectiveGuestPolicyRequest}
    */
-  public static final class LookupEffectiveGuestPolicyRequest extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class LookupEffectiveGuestPolicyRequest
+      extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.LookupEffectiveGuestPolicyRequest)
       LookupEffectiveGuestPolicyRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use LookupEffectiveGuestPolicyRequest.newBuilder() to construct.
-    private LookupEffectiveGuestPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+    private LookupEffectiveGuestPolicyRequest(
+        com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private LookupEffectiveGuestPolicyRequest() {
       instance_ = "";
       osShortName_ = "";
@@ -37310,16 +42993,15 @@ private LookupEffectiveGuestPolicyRequest() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new LookupEffectiveGuestPolicyRequest();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private LookupEffectiveGuestPolicyRequest(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -37338,37 +43020,41 @@ private LookupEffectiveGuestPolicyRequest(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              instance_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+                instance_ = s;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              osShortName_ = s;
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
+                osShortName_ = s;
+                break;
+              }
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              osVersion_ = s;
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
+                osVersion_ = s;
+                break;
+              }
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              osArchitecture_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                osArchitecture_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -37376,34 +43062,41 @@ private LookupEffectiveGuestPolicyRequest(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.GuestPolicies
+          .internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.GuestPolicies
+          .internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder.class);
+              com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
+                  .class,
+              com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
+                  .Builder.class);
     }
 
     public static final int INSTANCE_FIELD_NUMBER = 1;
     private volatile java.lang.Object instance_;
     /**
+     *
+     *
      * 
      * Required. The VM instance whose policies are being looked up.
      * 
* * string instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instance. */ @java.lang.Override @@ -37412,29 +43105,29 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** + * + * *
      * Required. The VM instance whose policies are being looked up.
      * 
* * string instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -37445,6 +43138,8 @@ public java.lang.String getInstance() { public static final int OS_SHORT_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object osShortName_; /** + * + * *
      * Short name of the OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -37452,6 +43147,7 @@ public java.lang.String getInstance() {
      * 
* * string os_short_name = 2; + * * @return The osShortName. */ @java.lang.Override @@ -37460,14 +43156,15 @@ public java.lang.String getOsShortName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; } } /** + * + * *
      * Short name of the OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -37475,16 +43172,15 @@ public java.lang.String getOsShortName() {
      * 
* * string os_short_name = 2; + * * @return The bytes for osShortName. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsShortNameBytes() { + public com.google.protobuf.ByteString getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osShortName_ = b; return b; } else { @@ -37495,6 +43191,8 @@ public java.lang.String getOsShortName() { public static final int OS_VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object osVersion_; /** + * + * *
      * Version of the OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -37502,6 +43200,7 @@ public java.lang.String getOsShortName() {
      * 
* * string os_version = 3; + * * @return The osVersion. */ @java.lang.Override @@ -37510,14 +43209,15 @@ public java.lang.String getOsVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; } } /** + * + * *
      * Version of the OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -37525,16 +43225,15 @@ public java.lang.String getOsVersion() {
      * 
* * string os_version = 3; + * * @return The bytes for osVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsVersionBytes() { + public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osVersion_ = b; return b; } else { @@ -37545,6 +43244,8 @@ public java.lang.String getOsVersion() { public static final int OS_ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object osArchitecture_; /** + * + * *
      * Architecture of OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -37552,6 +43253,7 @@ public java.lang.String getOsVersion() {
      * 
* * string os_architecture = 4; + * * @return The osArchitecture. */ @java.lang.Override @@ -37560,14 +43262,15 @@ public java.lang.String getOsArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osArchitecture_ = s; return s; } } /** + * + * *
      * Architecture of OS running on the instance. The OS Config agent only
      * provides this field for targeting if OS Inventory is enabled for that
@@ -37575,16 +43278,15 @@ public java.lang.String getOsArchitecture() {
      * 
* * string os_architecture = 4; + * * @return The bytes for osArchitecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsArchitectureBytes() { + public com.google.protobuf.ByteString getOsArchitectureBytes() { java.lang.Object ref = osArchitecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osArchitecture_ = b; return b; } else { @@ -37593,6 +43295,7 @@ public java.lang.String getOsArchitecture() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -37604,8 +43307,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instance_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } @@ -37647,21 +43349,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest other = (com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest) obj; - if (!getInstance() - .equals(other.getInstance())) return false; - if (!getOsShortName() - .equals(other.getOsShortName())) return false; - if (!getOsVersion() - .equals(other.getOsVersion())) return false; - if (!getOsArchitecture() - .equals(other.getOsArchitecture())) return false; + if (!getInstance().equals(other.getInstance())) return false; + if (!getOsShortName().equals(other.getOsShortName())) return false; + if (!getOsVersion().equals(other.getOsVersion())) return false; + if (!getOsArchitecture().equals(other.getOsArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -37686,88 +43387,102 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest + 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.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest + 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.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest + 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.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest 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.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest + 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.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -37777,6 +43492,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for getting the effective guest policy assigned to the
      * instance.
@@ -37784,38 +43501,43 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.LookupEffectiveGuestPolicyRequest}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.LookupEffectiveGuestPolicyRequest)
         com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequestOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.class, com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder.class);
+                com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
+                    .class,
+                com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
+                    .Builder.class);
       }
 
-      // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.newBuilder()
+      // Construct using
+      // com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -37831,19 +43553,23 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies
+            .internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest getDefaultInstanceForType() {
-        return com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.getDefaultInstance();
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
+          getDefaultInstanceForType() {
+        return com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
+            .getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest build() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest result = buildPartial();
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
+          build() {
+        com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -37851,8 +43577,11 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicy
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest buildPartial() {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest result = new com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest(this);
+      public com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
+          buildPartial() {
+        com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest result =
+            new com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest(
+                this);
         result.instance_ = instance_;
         result.osShortName_ = osShortName_;
         result.osVersion_ = osVersion_;
@@ -37865,46 +43594,56 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicy
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest)other);
+        if (other
+            instanceof
+            com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest) {
+          return mergeFrom(
+              (com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest)
+                  other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest other) {
-        if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest other) {
+        if (other
+            == com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
+                .getDefaultInstance()) return this;
         if (!other.getInstance().isEmpty()) {
           instance_ = other.instance_;
           onChanged();
@@ -37936,11 +43675,14 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest parsedMessage = null;
+        com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest
+            parsedMessage = null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -37952,18 +43694,20 @@ public Builder mergeFrom(
 
       private java.lang.Object instance_ = "";
       /**
+       *
+       *
        * 
        * Required. The VM instance whose policies are being looked up.
        * 
* * string instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -37972,20 +43716,21 @@ public java.lang.String getInstance() { } } /** + * + * *
        * Required. The VM instance whose policies are being looked up.
        * 
* * string instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for instance. */ - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -37993,54 +43738,61 @@ public java.lang.String getInstance() { } } /** + * + * *
        * Required. The VM instance whose policies are being looked up.
        * 
* * string instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance( - java.lang.String value) { + public Builder setInstance(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** + * + * *
        * Required. The VM instance whose policies are being looked up.
        * 
* * string instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** + * + * *
        * Required. The VM instance whose policies are being looked up.
        * 
* * string instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -38048,6 +43800,8 @@ public Builder setInstanceBytes( private java.lang.Object osShortName_ = ""; /** + * + * *
        * Short name of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -38055,13 +43809,13 @@ public Builder setInstanceBytes(
        * 
* * string os_short_name = 2; + * * @return The osShortName. */ public java.lang.String getOsShortName() { java.lang.Object ref = osShortName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osShortName_ = s; return s; @@ -38070,6 +43824,8 @@ public java.lang.String getOsShortName() { } } /** + * + * *
        * Short name of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -38077,15 +43833,14 @@ public java.lang.String getOsShortName() {
        * 
* * string os_short_name = 2; + * * @return The bytes for osShortName. */ - public com.google.protobuf.ByteString - getOsShortNameBytes() { + public com.google.protobuf.ByteString getOsShortNameBytes() { java.lang.Object ref = osShortName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osShortName_ = b; return b; } else { @@ -38093,6 +43848,8 @@ public java.lang.String getOsShortName() { } } /** + * + * *
        * Short name of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -38100,20 +43857,22 @@ public java.lang.String getOsShortName() {
        * 
* * string os_short_name = 2; + * * @param value The osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortName( - java.lang.String value) { + public Builder setOsShortName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osShortName_ = value; onChanged(); return this; } /** + * + * *
        * Short name of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -38121,15 +43880,18 @@ public Builder setOsShortName(
        * 
* * string os_short_name = 2; + * * @return This builder for chaining. */ public Builder clearOsShortName() { - + osShortName_ = getDefaultInstance().getOsShortName(); onChanged(); return this; } /** + * + * *
        * Short name of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -38137,16 +43899,16 @@ public Builder clearOsShortName() {
        * 
* * string os_short_name = 2; + * * @param value The bytes for osShortName to set. * @return This builder for chaining. */ - public Builder setOsShortNameBytes( - com.google.protobuf.ByteString value) { + public Builder setOsShortNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osShortName_ = value; onChanged(); return this; @@ -38154,6 +43916,8 @@ public Builder setOsShortNameBytes( private java.lang.Object osVersion_ = ""; /** + * + * *
        * Version of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -38161,13 +43925,13 @@ public Builder setOsShortNameBytes(
        * 
* * string os_version = 3; + * * @return The osVersion. */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; @@ -38176,6 +43940,8 @@ public java.lang.String getOsVersion() { } } /** + * + * *
        * Version of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -38183,15 +43949,14 @@ public java.lang.String getOsVersion() {
        * 
* * string os_version = 3; + * * @return The bytes for osVersion. */ - public com.google.protobuf.ByteString - getOsVersionBytes() { + public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osVersion_ = b; return b; } else { @@ -38199,6 +43964,8 @@ public java.lang.String getOsVersion() { } } /** + * + * *
        * Version of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -38206,20 +43973,22 @@ public java.lang.String getOsVersion() {
        * 
* * string os_version = 3; + * * @param value The osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersion( - java.lang.String value) { + public Builder setOsVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osVersion_ = value; onChanged(); return this; } /** + * + * *
        * Version of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -38227,15 +43996,18 @@ public Builder setOsVersion(
        * 
* * string os_version = 3; + * * @return This builder for chaining. */ public Builder clearOsVersion() { - + osVersion_ = getDefaultInstance().getOsVersion(); onChanged(); return this; } /** + * + * *
        * Version of the OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -38243,16 +44015,16 @@ public Builder clearOsVersion() {
        * 
* * string os_version = 3; + * * @param value The bytes for osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setOsVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osVersion_ = value; onChanged(); return this; @@ -38260,6 +44032,8 @@ public Builder setOsVersionBytes( private java.lang.Object osArchitecture_ = ""; /** + * + * *
        * Architecture of OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -38267,13 +44041,13 @@ public Builder setOsVersionBytes(
        * 
* * string os_architecture = 4; + * * @return The osArchitecture. */ public java.lang.String getOsArchitecture() { java.lang.Object ref = osArchitecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osArchitecture_ = s; return s; @@ -38282,6 +44056,8 @@ public java.lang.String getOsArchitecture() { } } /** + * + * *
        * Architecture of OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -38289,15 +44065,14 @@ public java.lang.String getOsArchitecture() {
        * 
* * string os_architecture = 4; + * * @return The bytes for osArchitecture. */ - public com.google.protobuf.ByteString - getOsArchitectureBytes() { + public com.google.protobuf.ByteString getOsArchitectureBytes() { java.lang.Object ref = osArchitecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osArchitecture_ = b; return b; } else { @@ -38305,6 +44080,8 @@ public java.lang.String getOsArchitecture() { } } /** + * + * *
        * Architecture of OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -38312,20 +44089,22 @@ public java.lang.String getOsArchitecture() {
        * 
* * string os_architecture = 4; + * * @param value The osArchitecture to set. * @return This builder for chaining. */ - public Builder setOsArchitecture( - java.lang.String value) { + public Builder setOsArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osArchitecture_ = value; onChanged(); return this; } /** + * + * *
        * Architecture of OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -38333,15 +44112,18 @@ public Builder setOsArchitecture(
        * 
* * string os_architecture = 4; + * * @return This builder for chaining. */ public Builder clearOsArchitecture() { - + osArchitecture_ = getDefaultInstance().getOsArchitecture(); onChanged(); return this; } /** + * + * *
        * Architecture of OS running on the instance. The OS Config agent only
        * provides this field for targeting if OS Inventory is enabled for that
@@ -38349,20 +44131,21 @@ public Builder clearOsArchitecture() {
        * 
* * string os_architecture = 4; + * * @param value The bytes for osArchitecture to set. * @return This builder for chaining. */ - public Builder setOsArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setOsArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osArchitecture_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -38375,30 +44158,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.LookupEffectiveGuestPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.LookupEffectiveGuestPolicyRequest) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies + .LookupEffectiveGuestPolicyRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LookupEffectiveGuestPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LookupEffectiveGuestPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LookupEffectiveGuestPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LookupEffectiveGuestPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -38410,164 +44197,247 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.LookupEffectiveGuestPolicyRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface EffectiveGuestPolicyOrBuilder extends + public interface EffectiveGuestPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.EffectiveGuestPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * List of package configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ - java.util.List + java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage> getPackagesList(); /** + * + * *
      * List of package configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage getPackages(int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage getPackages( + int index); /** + * + * *
      * List of package configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ int getPackagesCount(); /** + * + * *
      * List of package configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageOrBuilder> getPackagesOrBuilderList(); /** + * + * *
      * List of package configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder getPackagesOrBuilder( - int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder + getPackagesOrBuilder(int index); /** + * + * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ - java.util.List + java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository> getPackageRepositoriesList(); /** + * + * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository getPackageRepositories(int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository + getPackageRepositories(int index); /** + * + * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ int getPackageRepositoriesCount(); /** + * + * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepositoryOrBuilder> getPackageRepositoriesOrBuilderList(); /** + * + * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder getPackageRepositoriesOrBuilder( - int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepositoryOrBuilder + getPackageRepositoriesOrBuilder(int index); /** + * + * *
      * List of recipes assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ - java.util.List + java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe> getSoftwareRecipesList(); /** + * + * *
      * List of recipes assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe getSoftwareRecipes(int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe + getSoftwareRecipes(int index); /** + * + * *
      * List of recipes assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ int getSoftwareRecipesCount(); /** + * + * *
      * List of recipes assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipeOrBuilder> getSoftwareRecipesOrBuilderList(); /** + * + * *
      * List of recipes assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder getSoftwareRecipesOrBuilder( - int index); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipeOrBuilder + getSoftwareRecipesOrBuilder(int index); } /** + * + * *
    * The effective guest policy that applies to a VM instance.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.EffectiveGuestPolicy} */ - public static final class EffectiveGuestPolicy extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class EffectiveGuestPolicy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.EffectiveGuestPolicy) EffectiveGuestPolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EffectiveGuestPolicy.newBuilder() to construct. private EffectiveGuestPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private EffectiveGuestPolicy() { packages_ = java.util.Collections.emptyList(); packageRepositories_ = java.util.Collections.emptyList(); @@ -38576,16 +44446,15 @@ private EffectiveGuestPolicy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EffectiveGuestPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private EffectiveGuestPolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -38605,40 +44474,61 @@ private EffectiveGuestPolicy( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - packages_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + packages_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage>(); + mutable_bitField0_ |= 0x00000001; + } + packages_.add( + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage.parser(), + extensionRegistry)); + break; } - packages_.add( - input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - packageRepositories_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + packageRepositories_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository>(); + mutable_bitField0_ |= 0x00000002; + } + packageRepositories_.add( + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository.parser(), + extensionRegistry)); + break; } - packageRepositories_.add( - input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - softwareRecipes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 26: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + softwareRecipes_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe>(); + mutable_bitField0_ |= 0x00000004; + } + softwareRecipes_.add( + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe.parser(), + extensionRegistry)); + break; } - softwareRecipes_.add( - input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -38646,8 +44536,7 @@ private EffectiveGuestPolicy( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packages_ = java.util.Collections.unmodifiableList(packages_); @@ -38662,62 +44551,79 @@ private EffectiveGuestPolicy( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.class, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Builder.class); } - public interface SourcedPackageOrBuilder extends + public interface SourcedPackageOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; + * * @return The source. */ java.lang.String getSource(); /** + * + * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; + * * @return The bytes for source. */ - com.google.protobuf.ByteString - getSourceBytes(); + com.google.protobuf.ByteString getSourceBytes(); /** + * + * *
        * A software package to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.Package package = 2; + * * @return Whether the package field is set. */ boolean hasPackage(); /** + * + * *
        * A software package to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.Package package = 2; + * * @return The package. */ com.google.cloud.osconfig.v1beta.GuestPolicies.Package getPackage(); /** + * + * *
        * A software package to configure on the VM instance.
        * 
@@ -38727,37 +44633,39 @@ public interface SourcedPackageOrBuilder extends com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackageOrBuilder(); } /** + * + * *
      * A guest policy package including its source.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage} */ - public static final class SourcedPackage extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class SourcedPackage extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage) SourcedPackageOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SourcedPackage.newBuilder() to construct. private SourcedPackage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SourcedPackage() { source_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SourcedPackage(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SourcedPackage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -38776,32 +44684,37 @@ private SourcedPackage( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - source_ = s; - break; - } - case 18: { - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder subBuilder = null; - if (package_ != null) { - subBuilder = package_.toBuilder(); - } - package_ = input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.Package.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(package_); - package_ = subBuilder.buildPartial(); + source_ = s; + break; } + case 18: + { + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder subBuilder = null; + if (package_ != null) { + subBuilder = package_.toBuilder(); + } + package_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(package_); + package_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -38809,34 +44722,42 @@ private SourcedPackage( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.class, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + .class, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + .Builder.class); } public static final int SOURCE_FIELD_NUMBER = 1; private volatile java.lang.Object source_; /** + * + * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; + * * @return The source. */ @java.lang.Override @@ -38845,29 +44766,29 @@ public java.lang.String getSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; } } /** + * + * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; + * * @return The bytes for source. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); source_ = b; return b; } else { @@ -38878,11 +44799,14 @@ public java.lang.String getSource() { public static final int PACKAGE_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1beta.GuestPolicies.Package package_; /** + * + * *
        * A software package to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.Package package = 2; + * * @return Whether the package field is set. */ @java.lang.Override @@ -38890,18 +44814,25 @@ public boolean hasPackage() { return package_ != null; } /** + * + * *
        * A software package to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.Package package = 2; + * * @return The package. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.Package getPackage() { - return package_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance() : package_; + return package_ == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance() + : package_; } /** + * + * *
        * A software package to configure on the VM instance.
        * 
@@ -38914,6 +44845,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackag } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -38925,8 +44857,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, source_); } @@ -38946,8 +44877,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, source_); } if (package_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPackage()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPackage()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -38957,19 +44887,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage other = (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage) + obj; - if (!getSource() - .equals(other.getSource())) return false; + if (!getSource().equals(other.getSource())) return false; if (hasPackage() != other.hasPackage()) return false; if (hasPackage()) { - if (!getPackage() - .equals(other.getPackage())) return false; + if (!getPackage().equals(other.getPackage())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -38993,88 +44925,116 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -39084,44 +45044,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A guest policy package including its source.
        * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage) - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.class, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + .class, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -39137,19 +45105,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage result = buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -39157,8 +45129,12 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Sourc } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage result = new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage(this); result.source_ = source_; if (packageBuilder_ == null) { result.package_ = package_; @@ -39173,46 +45149,57 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Sourc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + .getDefaultInstance()) return this; if (!other.getSource().isEmpty()) { source_ = other.source_; onChanged(); @@ -39235,11 +45222,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -39251,18 +45241,20 @@ public Builder mergeFrom( private java.lang.Object source_ = ""; /** + * + * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; + * * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; @@ -39271,20 +45263,21 @@ public java.lang.String getSource() { } } /** + * + * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; + * * @return The bytes for source. */ - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); source_ = b; return b; } else { @@ -39292,54 +45285,61 @@ public java.lang.String getSource() { } } /** + * + * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; + * * @param value The source to set. * @return This builder for chaining. */ - public Builder setSource( - java.lang.String value) { + public Builder setSource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** + * + * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; + * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** + * + * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; + * * @param value The bytes for source to set. * @return This builder for chaining. */ - public Builder setSourceBytes( - com.google.protobuf.ByteString value) { + public Builder setSourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = value; onChanged(); return this; @@ -39347,34 +45347,47 @@ public Builder setSourceBytes( private com.google.cloud.osconfig.v1beta.GuestPolicies.Package package_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Package, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder> packageBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.Package, + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder> + packageBuilder_; /** + * + * *
          * A software package to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.Package package = 2; + * * @return Whether the package field is set. */ public boolean hasPackage() { return packageBuilder_ != null || package_ != null; } /** + * + * *
          * A software package to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.Package package = 2; + * * @return The package. */ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package getPackage() { if (packageBuilder_ == null) { - return package_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance() : package_; + return package_ == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance() + : package_; } else { return packageBuilder_.getMessage(); } } /** + * + * *
          * A software package to configure on the VM instance.
          * 
@@ -39395,6 +45408,8 @@ public Builder setPackage(com.google.cloud.osconfig.v1beta.GuestPolicies.Package return this; } /** + * + * *
          * A software package to configure on the VM instance.
          * 
@@ -39413,6 +45428,8 @@ public Builder setPackage( return this; } /** + * + * *
          * A software package to configure on the VM instance.
          * 
@@ -39423,7 +45440,9 @@ public Builder mergePackage(com.google.cloud.osconfig.v1beta.GuestPolicies.Packa if (packageBuilder_ == null) { if (package_ != null) { package_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.newBuilder(package_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.newBuilder(package_) + .mergeFrom(value) + .buildPartial(); } else { package_ = value; } @@ -39435,6 +45454,8 @@ public Builder mergePackage(com.google.cloud.osconfig.v1beta.GuestPolicies.Packa return this; } /** + * + * *
          * A software package to configure on the VM instance.
          * 
@@ -39453,6 +45474,8 @@ public Builder clearPackage() { return this; } /** + * + * *
          * A software package to configure on the VM instance.
          * 
@@ -39460,26 +45483,32 @@ public Builder clearPackage() { * .google.cloud.osconfig.v1beta.Package package = 2; */ public com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder getPackageBuilder() { - + onChanged(); return getPackageFieldBuilder().getBuilder(); } /** + * + * *
          * A software package to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.Package package = 2; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackageOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder + getPackageOrBuilder() { if (packageBuilder_ != null) { return packageBuilder_.getMessageOrBuilder(); } else { - return package_ == null ? - com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance() : package_; + return package_ == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.Package.getDefaultInstance() + : package_; } } /** + * + * *
          * A software package to configure on the VM instance.
          * 
@@ -39487,18 +45516,22 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder getPackag * .google.cloud.osconfig.v1beta.Package package = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Package, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.Package, + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder> getPackageFieldBuilder() { if (packageBuilder_ == null) { - packageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.Package, com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder>( - getPackage(), - getParentForChildren(), - isClean()); + packageBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.Package, + com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageOrBuilder>( + getPackage(), getParentForChildren(), isClean()); package_ = null; } return packageBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -39511,30 +45544,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SourcedPackage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SourcedPackage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SourcedPackage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SourcedPackage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -39546,95 +45585,114 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SourcedPackageRepositoryOrBuilder extends + public interface SourcedPackageRepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; + * * @return The source. */ java.lang.String getSource(); /** + * + * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; + * * @return The bytes for source. */ - com.google.protobuf.ByteString - getSourceBytes(); + com.google.protobuf.ByteString getSourceBytes(); /** + * + * *
        * A software package repository to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; + * * @return Whether the packageRepository field is set. */ boolean hasPackageRepository(); /** + * + * *
        * A software package repository to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; + * * @return The packageRepository. */ com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepository(); /** + * + * *
        * A software package repository to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder getPackageRepositoryOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder + getPackageRepositoryOrBuilder(); } /** + * + * *
      * A guest policy package repository including its source.
      * 
* - * Protobuf type {@code google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository} + * Protobuf type {@code + * google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository} */ - public static final class SourcedPackageRepository extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class SourcedPackageRepository + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository) SourcedPackageRepositoryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SourcedPackageRepository.newBuilder() to construct. private SourcedPackageRepository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SourcedPackageRepository() { source_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SourcedPackageRepository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SourcedPackageRepository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -39653,32 +45711,38 @@ private SourcedPackageRepository( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - source_ = s; - break; - } - case 18: { - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder subBuilder = null; - if (packageRepository_ != null) { - subBuilder = packageRepository_.toBuilder(); - } - packageRepository_ = input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(packageRepository_); - packageRepository_ = subBuilder.buildPartial(); + source_ = s; + break; } + case 18: + { + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder + subBuilder = null; + if (packageRepository_ != null) { + subBuilder = packageRepository_.toBuilder(); + } + packageRepository_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(packageRepository_); + packageRepository_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -39686,34 +45750,42 @@ private SourcedPackageRepository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository.Builder.class); } public static final int SOURCE_FIELD_NUMBER = 1; private volatile java.lang.Object source_; /** + * + * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; + * * @return The source. */ @java.lang.Override @@ -39722,29 +45794,29 @@ public java.lang.String getSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; } } /** + * + * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; + * * @return The bytes for source. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); source_ = b; return b; } else { @@ -39755,11 +45827,14 @@ public java.lang.String getSource() { public static final int PACKAGE_REPOSITORY_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository packageRepository_; /** + * + * *
        * A software package repository to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; + * * @return Whether the packageRepository field is set. */ @java.lang.Override @@ -39767,18 +45842,26 @@ public boolean hasPackageRepository() { return packageRepository_ != null; } /** + * + * *
        * A software package repository to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; + * * @return The packageRepository. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepository() { - return packageRepository_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.getDefaultInstance() : packageRepository_; + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository + getPackageRepository() { + return packageRepository_ == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.getDefaultInstance() + : packageRepository_; } /** + * + * *
        * A software package repository to configure on the VM instance.
        * 
@@ -39786,11 +45869,13 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPacka * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder getPackageRepositoryOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder + getPackageRepositoryOrBuilder() { return getPackageRepository(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -39802,8 +45887,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, source_); } @@ -39823,8 +45907,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, source_); } if (packageRepository_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPackageRepository()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPackageRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -39834,19 +45918,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository other = (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository + other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository) + obj; - if (!getSource() - .equals(other.getSource())) return false; + if (!getSource().equals(other.getSource())) return false; if (hasPackageRepository() != other.hasPackageRepository()) return false; if (hasPackageRepository()) { - if (!getPackageRepository() - .equals(other.getPackageRepository())) return false; + if (!getPackageRepository().equals(other.getPackageRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -39870,88 +45959,117 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -39961,44 +46079,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A guest policy package repository including its source.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository} + * Protobuf type {@code + * google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository) - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepositoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.class, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository.Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -40014,19 +46141,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository result = buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -40034,8 +46168,14 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Sourc } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository result = new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository(this); result.source_ = source_; if (packageRepositoryBuilder_ == null) { result.packageRepository_ = packageRepository_; @@ -40050,46 +46190,60 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Sourc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository.getDefaultInstance()) return this; if (!other.getSource().isEmpty()) { source_ = other.source_; onChanged(); @@ -40112,11 +46266,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -40128,18 +46287,20 @@ public Builder mergeFrom( private java.lang.Object source_ = ""; /** + * + * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; + * * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; @@ -40148,20 +46309,21 @@ public java.lang.String getSource() { } } /** + * + * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; + * * @return The bytes for source. */ - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); source_ = b; return b; } else { @@ -40169,54 +46331,61 @@ public java.lang.String getSource() { } } /** + * + * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; + * * @param value The source to set. * @return This builder for chaining. */ - public Builder setSource( - java.lang.String value) { + public Builder setSource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** + * + * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; + * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** + * + * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; + * * @param value The bytes for source to set. * @return This builder for chaining. */ - public Builder setSourceBytes( - com.google.protobuf.ByteString value) { + public Builder setSourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = value; onChanged(); return this; @@ -40224,41 +46393,57 @@ public Builder setSourceBytes( private com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository packageRepository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> packageRepositoryBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> + packageRepositoryBuilder_; /** + * + * *
          * A software package repository to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; + * * @return Whether the packageRepository field is set. */ public boolean hasPackageRepository() { return packageRepositoryBuilder_ != null || packageRepository_ != null; } /** + * + * *
          * A software package repository to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; + * * @return The packageRepository. */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository getPackageRepository() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository + getPackageRepository() { if (packageRepositoryBuilder_ == null) { - return packageRepository_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.getDefaultInstance() : packageRepository_; + return packageRepository_ == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository + .getDefaultInstance() + : packageRepository_; } else { return packageRepositoryBuilder_.getMessage(); } } /** + * + * *
          * A software package repository to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; */ - public Builder setPackageRepository(com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository value) { + public Builder setPackageRepository( + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository value) { if (packageRepositoryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -40272,6 +46457,8 @@ public Builder setPackageRepository(com.google.cloud.osconfig.v1beta.GuestPolici return this; } /** + * + * *
          * A software package repository to configure on the VM instance.
          * 
@@ -40279,7 +46466,8 @@ public Builder setPackageRepository(com.google.cloud.osconfig.v1beta.GuestPolici * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; */ public Builder setPackageRepository( - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder + builderForValue) { if (packageRepositoryBuilder_ == null) { packageRepository_ = builderForValue.build(); onChanged(); @@ -40290,17 +46478,23 @@ public Builder setPackageRepository( return this; } /** + * + * *
          * A software package repository to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; */ - public Builder mergePackageRepository(com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository value) { + public Builder mergePackageRepository( + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository value) { if (packageRepositoryBuilder_ == null) { if (packageRepository_ != null) { packageRepository_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.newBuilder(packageRepository_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.newBuilder( + packageRepository_) + .mergeFrom(value) + .buildPartial(); } else { packageRepository_ = value; } @@ -40312,6 +46506,8 @@ public Builder mergePackageRepository(com.google.cloud.osconfig.v1beta.GuestPoli return this; } /** + * + * *
          * A software package repository to configure on the VM instance.
          * 
@@ -40330,33 +46526,43 @@ public Builder clearPackageRepository() { return this; } /** + * + * *
          * A software package repository to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder getPackageRepositoryBuilder() { - + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder + getPackageRepositoryBuilder() { + onChanged(); return getPackageRepositoryFieldBuilder().getBuilder(); } /** + * + * *
          * A software package repository to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder getPackageRepositoryOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder + getPackageRepositoryOrBuilder() { if (packageRepositoryBuilder_ != null) { return packageRepositoryBuilder_.getMessageOrBuilder(); } else { - return packageRepository_ == null ? - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.getDefaultInstance() : packageRepository_; + return packageRepository_ == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository + .getDefaultInstance() + : packageRepository_; } } /** + * + * *
          * A software package repository to configure on the VM instance.
          * 
@@ -40364,18 +46570,22 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder * .google.cloud.osconfig.v1beta.PackageRepository package_repository = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder> getPackageRepositoryFieldBuilder() { if (packageRepositoryBuilder_ == null) { - packageRepositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder>( - getPackageRepository(), - getParentForChildren(), - isClean()); + packageRepositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.PackageRepositoryOrBuilder>( + getPackageRepository(), getParentForChildren(), isClean()); packageRepository_ = null; } return packageRepositoryBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -40388,30 +46598,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SourcedPackageRepository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SourcedPackageRepository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SourcedPackageRepository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SourcedPackageRepository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -40423,95 +46639,113 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SourcedSoftwareRecipeOrBuilder extends + public interface SourcedSoftwareRecipeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; + * * @return The source. */ java.lang.String getSource(); /** + * + * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; + * * @return The bytes for source. */ - com.google.protobuf.ByteString - getSourceBytes(); + com.google.protobuf.ByteString getSourceBytes(); /** + * + * *
        * A software recipe to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; + * * @return Whether the softwareRecipe field is set. */ boolean hasSoftwareRecipe(); /** + * + * *
        * A software recipe to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; + * * @return The softwareRecipe. */ com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getSoftwareRecipe(); /** + * + * *
        * A software recipe to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; */ - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder getSoftwareRecipeOrBuilder(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder + getSoftwareRecipeOrBuilder(); } /** + * + * *
      * A guest policy recipe including its source.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe} */ - public static final class SourcedSoftwareRecipe extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class SourcedSoftwareRecipe extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe) SourcedSoftwareRecipeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SourcedSoftwareRecipe.newBuilder() to construct. private SourcedSoftwareRecipe(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SourcedSoftwareRecipe() { source_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SourcedSoftwareRecipe(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SourcedSoftwareRecipe( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -40530,32 +46764,38 @@ private SourcedSoftwareRecipe( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - source_ = s; - break; - } - case 18: { - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder subBuilder = null; - if (softwareRecipe_ != null) { - subBuilder = softwareRecipe_.toBuilder(); - } - softwareRecipe_ = input.readMessage(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(softwareRecipe_); - softwareRecipe_ = subBuilder.buildPartial(); + source_ = s; + break; } + case 18: + { + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder subBuilder = + null; + if (softwareRecipe_ != null) { + subBuilder = softwareRecipe_.toBuilder(); + } + softwareRecipe_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(softwareRecipe_); + softwareRecipe_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -40563,34 +46803,42 @@ private SourcedSoftwareRecipe( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.class, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe.Builder.class); } public static final int SOURCE_FIELD_NUMBER = 1; private volatile java.lang.Object source_; /** + * + * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; + * * @return The source. */ @java.lang.Override @@ -40599,29 +46847,29 @@ public java.lang.String getSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; } } /** + * + * *
        * Name of the guest policy providing this config.
        * 
* * string source = 1; + * * @return The bytes for source. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); source_ = b; return b; } else { @@ -40632,11 +46880,14 @@ public java.lang.String getSource() { public static final int SOFTWARE_RECIPE_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe softwareRecipe_; /** + * + * *
        * A software recipe to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; + * * @return Whether the softwareRecipe field is set. */ @java.lang.Override @@ -40644,18 +46895,25 @@ public boolean hasSoftwareRecipe() { return softwareRecipe_ != null; } /** + * + * *
        * A software recipe to configure on the VM instance.
        * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; + * * @return The softwareRecipe. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getSoftwareRecipe() { - return softwareRecipe_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance() : softwareRecipe_; + return softwareRecipe_ == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance() + : softwareRecipe_; } /** + * + * *
        * A software recipe to configure on the VM instance.
        * 
@@ -40663,11 +46921,13 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getSoftware * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder getSoftwareRecipeOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder + getSoftwareRecipeOrBuilder() { return getSoftwareRecipe(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -40679,8 +46939,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, source_); } @@ -40700,8 +46959,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, source_); } if (softwareRecipe_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSoftwareRecipe()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSoftwareRecipe()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -40711,19 +46969,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe other = (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe + other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe) + obj; - if (!getSource() - .equals(other.getSource())) return false; + if (!getSource().equals(other.getSource())) return false; if (hasSoftwareRecipe() != other.hasSoftwareRecipe()) return false; if (hasSoftwareRecipe()) { - if (!getSoftwareRecipe() - .equals(other.getSoftwareRecipe())) return false; + if (!getSoftwareRecipe().equals(other.getSoftwareRecipe())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -40747,88 +47010,116 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -40838,44 +47129,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A guest policy recipe including its source.
        * 
* - * Protobuf type {@code google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe} + * Protobuf type {@code + * google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe) - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.class, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe.Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -40891,19 +47191,25 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe build() { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe result = buildPartial(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + build() { + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -40911,8 +47217,13 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Sourc } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe result = new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe(this); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + buildPartial() { + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe + result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe(this); result.source_ = source_; if (softwareRecipeBuilder_ == null) { result.softwareRecipe_ = softwareRecipe_; @@ -40927,46 +47238,60 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Sourc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe.getDefaultInstance()) return this; if (!other.getSource().isEmpty()) { source_ = other.source_; onChanged(); @@ -40989,11 +47314,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe parsedMessage = null; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -41005,18 +47334,20 @@ public Builder mergeFrom( private java.lang.Object source_ = ""; /** + * + * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; + * * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; @@ -41025,20 +47356,21 @@ public java.lang.String getSource() { } } /** + * + * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; + * * @return The bytes for source. */ - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); source_ = b; return b; } else { @@ -41046,54 +47378,61 @@ public java.lang.String getSource() { } } /** + * + * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; + * * @param value The source to set. * @return This builder for chaining. */ - public Builder setSource( - java.lang.String value) { + public Builder setSource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** + * + * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; + * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** + * + * *
          * Name of the guest policy providing this config.
          * 
* * string source = 1; + * * @param value The bytes for source to set. * @return This builder for chaining. */ - public Builder setSourceBytes( - com.google.protobuf.ByteString value) { + public Builder setSourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = value; onChanged(); return this; @@ -41101,41 +47440,55 @@ public Builder setSourceBytes( private com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe softwareRecipe_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> softwareRecipeBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> + softwareRecipeBuilder_; /** + * + * *
          * A software recipe to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; + * * @return Whether the softwareRecipe field is set. */ public boolean hasSoftwareRecipe() { return softwareRecipeBuilder_ != null || softwareRecipe_ != null; } /** + * + * *
          * A software recipe to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; + * * @return The softwareRecipe. */ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe getSoftwareRecipe() { if (softwareRecipeBuilder_ == null) { - return softwareRecipe_ == null ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance() : softwareRecipe_; + return softwareRecipe_ == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance() + : softwareRecipe_; } else { return softwareRecipeBuilder_.getMessage(); } } /** + * + * *
          * A software recipe to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; */ - public Builder setSoftwareRecipe(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe value) { + public Builder setSoftwareRecipe( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe value) { if (softwareRecipeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -41149,6 +47502,8 @@ public Builder setSoftwareRecipe(com.google.cloud.osconfig.v1beta.GuestPolicies. return this; } /** + * + * *
          * A software recipe to configure on the VM instance.
          * 
@@ -41167,17 +47522,23 @@ public Builder setSoftwareRecipe( return this; } /** + * + * *
          * A software recipe to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; */ - public Builder mergeSoftwareRecipe(com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe value) { + public Builder mergeSoftwareRecipe( + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe value) { if (softwareRecipeBuilder_ == null) { if (softwareRecipe_ != null) { softwareRecipe_ = - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.newBuilder(softwareRecipe_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.newBuilder( + softwareRecipe_) + .mergeFrom(value) + .buildPartial(); } else { softwareRecipe_ = value; } @@ -41189,6 +47550,8 @@ public Builder mergeSoftwareRecipe(com.google.cloud.osconfig.v1beta.GuestPolicie return this; } /** + * + * *
          * A software recipe to configure on the VM instance.
          * 
@@ -41207,33 +47570,42 @@ public Builder clearSoftwareRecipe() { return this; } /** + * + * *
          * A software recipe to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder getSoftwareRecipeBuilder() { - + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder + getSoftwareRecipeBuilder() { + onChanged(); return getSoftwareRecipeFieldBuilder().getBuilder(); } /** + * + * *
          * A software recipe to configure on the VM instance.
          * 
* * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder getSoftwareRecipeOrBuilder() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder + getSoftwareRecipeOrBuilder() { if (softwareRecipeBuilder_ != null) { return softwareRecipeBuilder_.getMessageOrBuilder(); } else { - return softwareRecipe_ == null ? - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance() : softwareRecipe_; + return softwareRecipe_ == null + ? com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.getDefaultInstance() + : softwareRecipe_; } } /** + * + * *
          * A software recipe to configure on the VM instance.
          * 
@@ -41241,18 +47613,22 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder ge * .google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder> getSoftwareRecipeFieldBuilder() { if (softwareRecipeBuilder_ == null) { - softwareRecipeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder>( - getSoftwareRecipe(), - getParentForChildren(), - isClean()); + softwareRecipeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipeOrBuilder>( + getSoftwareRecipe(), getParentForChildren(), isClean()); softwareRecipe_ = null; } return softwareRecipeBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -41265,30 +47641,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SourcedSoftwareRecipe parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SourcedSoftwareRecipe(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SourcedSoftwareRecipe parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SourcedSoftwareRecipe(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -41300,193 +47682,287 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PACKAGES_FIELD_NUMBER = 1; - private java.util.List packages_; + private java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage> + packages_; /** + * + * *
      * List of package configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ @java.lang.Override - public java.util.List getPackagesList() { + public java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage> + getPackagesList() { return packages_; } /** + * + * *
      * List of package configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageOrBuilder> getPackagesOrBuilderList() { return packages_; } /** + * + * *
      * List of package configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ @java.lang.Override public int getPackagesCount() { return packages_.size(); } /** + * + * *
      * List of package configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage getPackages(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + getPackages(int index) { return packages_.get(index); } /** + * + * *
      * List of package configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder getPackagesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageOrBuilder + getPackagesOrBuilder(int index) { return packages_.get(index); } public static final int PACKAGE_REPOSITORIES_FIELD_NUMBER = 2; - private java.util.List packageRepositories_; + private java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository> + packageRepositories_; /** + * + * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ @java.lang.Override - public java.util.List getPackageRepositoriesList() { + public java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository> + getPackageRepositoriesList() { return packageRepositories_; } /** + * + * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepositoryOrBuilder> getPackageRepositoriesOrBuilderList() { return packageRepositories_; } /** + * + * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ @java.lang.Override public int getPackageRepositoriesCount() { return packageRepositories_.size(); } /** + * + * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository getPackageRepositories(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + getPackageRepositories(int index) { return packageRepositories_.get(index); } /** + * + * *
      * List of package repository configurations assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder getPackageRepositoriesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepositoryOrBuilder + getPackageRepositoriesOrBuilder(int index) { return packageRepositories_.get(index); } public static final int SOFTWARE_RECIPES_FIELD_NUMBER = 3; - private java.util.List softwareRecipes_; + private java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe> + softwareRecipes_; /** + * + * *
      * List of recipes assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ @java.lang.Override - public java.util.List getSoftwareRecipesList() { + public java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe> + getSoftwareRecipesList() { return softwareRecipes_; } /** + * + * *
      * List of recipes assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipeOrBuilder> getSoftwareRecipesOrBuilderList() { return softwareRecipes_; } /** + * + * *
      * List of recipes assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ @java.lang.Override public int getSoftwareRecipesCount() { return softwareRecipes_.size(); } /** + * + * *
      * List of recipes assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe getSoftwareRecipes(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe + getSoftwareRecipes(int index) { return softwareRecipes_.get(index); } /** + * + * *
      * List of recipes assigned to the VM instance.
      * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder getSoftwareRecipesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipeOrBuilder + getSoftwareRecipesOrBuilder(int index) { return softwareRecipes_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -41498,8 +47974,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < packages_.size(); i++) { output.writeMessage(1, packages_.get(i)); } @@ -41519,16 +47994,16 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, packages_.get(i)); } for (int i = 0; i < packageRepositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, packageRepositories_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, packageRepositories_.get(i)); } for (int i = 0; i < softwareRecipes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, softwareRecipes_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, softwareRecipes_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -41538,19 +48013,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy other = (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy) obj; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy other = + (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy) obj; - if (!getPackagesList() - .equals(other.getPackagesList())) return false; - if (!getPackageRepositoriesList() - .equals(other.getPackageRepositoriesList())) return false; - if (!getSoftwareRecipesList() - .equals(other.getSoftwareRecipesList())) return false; + if (!getPackagesList().equals(other.getPackagesList())) return false; + if (!getPackageRepositoriesList().equals(other.getPackageRepositoriesList())) return false; + if (!getSoftwareRecipesList().equals(other.getSoftwareRecipesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -41580,87 +48053,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -41670,47 +48151,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The effective guest policy that applies to a VM instance.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.EffectiveGuestPolicy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.EffectiveGuestPolicy) com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.class, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Builder.class); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.class, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPackagesFieldBuilder(); getPackageRepositoriesFieldBuilder(); getSoftwareRecipesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -41736,14 +48223,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies + .internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .getDefaultInstance(); } @java.lang.Override @@ -41757,7 +48246,8 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy build @java.lang.Override public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy buildPartial() { - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy result = new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy(this); + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy result = + new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy(this); int from_bitField0_ = bitField0_; if (packagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -41794,46 +48284,53 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy) { - return mergeFrom((com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy)other); + return mergeFrom( + (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy other) { - if (other == com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy other) { + if (other + == com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .getDefaultInstance()) return this; if (packagesBuilder_ == null) { if (!other.packages_.isEmpty()) { if (packages_.isEmpty()) { @@ -41852,9 +48349,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Effectiv packagesBuilder_ = null; packages_ = other.packages_; bitField0_ = (bitField0_ & ~0x00000001); - packagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPackagesFieldBuilder() : null; + packagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPackagesFieldBuilder() + : null; } else { packagesBuilder_.addAllMessages(other.packages_); } @@ -41878,9 +48376,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Effectiv packageRepositoriesBuilder_ = null; packageRepositories_ = other.packageRepositories_; bitField0_ = (bitField0_ & ~0x00000002); - packageRepositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPackageRepositoriesFieldBuilder() : null; + packageRepositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPackageRepositoriesFieldBuilder() + : null; } else { packageRepositoriesBuilder_.addAllMessages(other.packageRepositories_); } @@ -41904,9 +48403,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.GuestPolicies.Effectiv softwareRecipesBuilder_ = null; softwareRecipes_ = other.softwareRecipes_; bitField0_ = (bitField0_ & ~0x00000004); - softwareRecipesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSoftwareRecipesFieldBuilder() : null; + softwareRecipesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSoftwareRecipesFieldBuilder() + : null; } else { softwareRecipesBuilder_.addAllMessages(other.softwareRecipes_); } @@ -41931,7 +48431,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -41940,28 +48442,45 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List packages_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage> + packages_ = java.util.Collections.emptyList(); + private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = new java.util.ArrayList(packages_); + packages_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage>(packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder> packagesBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageOrBuilder> + packagesBuilder_; /** + * + * *
        * List of package configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ - public java.util.List getPackagesList() { + public java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage> + getPackagesList() { if (packagesBuilder_ == null) { return java.util.Collections.unmodifiableList(packages_); } else { @@ -41969,11 +48488,15 @@ public java.util.List * List of package configurations assigned to the VM instance. *
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ public int getPackagesCount() { if (packagesBuilder_ == null) { @@ -41983,13 +48506,18 @@ public int getPackagesCount() { } } /** + * + * *
        * List of package configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage getPackages(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + getPackages(int index) { if (packagesBuilder_ == null) { return packages_.get(index); } else { @@ -41997,14 +48525,20 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Sourc } } /** + * + * *
        * List of package configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ public Builder setPackages( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage value) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -42018,14 +48552,20 @@ public Builder setPackages( return this; } /** + * + * *
        * List of package configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ public Builder setPackages( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder + builderForValue) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); packages_.set(index, builderForValue.build()); @@ -42036,13 +48576,19 @@ public Builder setPackages( return this; } /** + * + * *
        * List of package configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ - public Builder addPackages(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage value) { + public Builder addPackages( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -42056,14 +48602,20 @@ public Builder addPackages(com.google.cloud.osconfig.v1beta.GuestPolicies.Effect return this; } /** + * + * *
        * List of package configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ public Builder addPackages( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage value) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -42077,14 +48629,19 @@ public Builder addPackages( return this; } /** + * + * *
        * List of package configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ public Builder addPackages( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder + builderForValue) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); packages_.add(builderForValue.build()); @@ -42095,14 +48652,20 @@ public Builder addPackages( return this; } /** + * + * *
        * List of package configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ public Builder addPackages( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder + builderForValue) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); packages_.add(index, builderForValue.build()); @@ -42113,18 +48676,25 @@ public Builder addPackages( return this; } /** + * + * *
        * List of package configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ public Builder addAllPackages( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage> + values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -42132,11 +48702,15 @@ public Builder addAllPackages( return this; } /** + * + * *
        * List of package configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ public Builder clearPackages() { if (packagesBuilder_ == null) { @@ -42149,11 +48723,15 @@ public Builder clearPackages() { return this; } /** + * + * *
        * List of package configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ public Builder removePackages(int index) { if (packagesBuilder_ == null) { @@ -42166,39 +48744,57 @@ public Builder removePackages(int index) { return this; } /** + * + * *
        * List of package configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder getPackagesBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + .Builder + getPackagesBuilder(int index) { return getPackagesFieldBuilder().getBuilder(index); } /** + * + * *
        * List of package configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder getPackagesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageOrBuilder + getPackagesOrBuilder(int index) { if (packagesBuilder_ == null) { - return packages_.get(index); } else { + return packages_.get(index); + } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * List of package configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ - public java.util.List - getPackagesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageOrBuilder> + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -42206,74 +48802,123 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Sourc } } /** + * + * *
        * List of package configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder addPackagesBuilder() { - return getPackagesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + .Builder + addPackagesBuilder() { + return getPackagesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + .getDefaultInstance()); } /** + * + * *
        * List of package configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder addPackagesBuilder( - int index) { - return getPackagesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + .Builder + addPackagesBuilder(int index) { + return getPackagesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + .getDefaultInstance()); } /** + * + * *
        * List of package configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackage packages = 1; + * */ - public java.util.List - getPackagesBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + .Builder> + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder>( - packages_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + packagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackage, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackage + .Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageOrBuilder>( + packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); packages_ = null; } return packagesBuilder_; } - private java.util.List packageRepositories_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository> + packageRepositories_ = java.util.Collections.emptyList(); + private void ensurePackageRepositoriesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - packageRepositories_ = new java.util.ArrayList(packageRepositories_); + packageRepositories_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository>(packageRepositories_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder> packageRepositoriesBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepositoryOrBuilder> + packageRepositoriesBuilder_; /** + * + * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ - public java.util.List getPackageRepositoriesList() { + public java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository> + getPackageRepositoriesList() { if (packageRepositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(packageRepositories_); } else { @@ -42281,11 +48926,15 @@ public java.util.List * List of package repository configurations assigned to the VM instance. *
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ public int getPackageRepositoriesCount() { if (packageRepositoriesBuilder_ == null) { @@ -42295,13 +48944,19 @@ public int getPackageRepositoriesCount() { } } /** + * + * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository getPackageRepositories(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + getPackageRepositories(int index) { if (packageRepositoriesBuilder_ == null) { return packageRepositories_.get(index); } else { @@ -42309,14 +48964,21 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Sourc } } /** + * + * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ public Builder setPackageRepositories( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository value) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + value) { if (packageRepositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -42330,14 +48992,21 @@ public Builder setPackageRepositories( return this; } /** + * + * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ public Builder setPackageRepositories( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository.Builder + builderForValue) { if (packageRepositoriesBuilder_ == null) { ensurePackageRepositoriesIsMutable(); packageRepositories_.set(index, builderForValue.build()); @@ -42348,13 +49017,20 @@ public Builder setPackageRepositories( return this; } /** + * + * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ - public Builder addPackageRepositories(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository value) { + public Builder addPackageRepositories( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + value) { if (packageRepositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -42368,14 +49044,21 @@ public Builder addPackageRepositories(com.google.cloud.osconfig.v1beta.GuestPoli return this; } /** + * + * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ public Builder addPackageRepositories( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository value) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository + value) { if (packageRepositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -42389,14 +49072,20 @@ public Builder addPackageRepositories( return this; } /** + * + * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ public Builder addPackageRepositories( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository.Builder + builderForValue) { if (packageRepositoriesBuilder_ == null) { ensurePackageRepositoriesIsMutable(); packageRepositories_.add(builderForValue.build()); @@ -42407,14 +49096,21 @@ public Builder addPackageRepositories( return this; } /** + * + * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ public Builder addPackageRepositories( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository.Builder + builderForValue) { if (packageRepositoriesBuilder_ == null) { ensurePackageRepositoriesIsMutable(); packageRepositories_.add(index, builderForValue.build()); @@ -42425,18 +49121,25 @@ public Builder addPackageRepositories( return this; } /** + * + * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ public Builder addAllPackageRepositories( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository> + values) { if (packageRepositoriesBuilder_ == null) { ensurePackageRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, packageRepositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packageRepositories_); onChanged(); } else { packageRepositoriesBuilder_.addAllMessages(values); @@ -42444,11 +49147,15 @@ public Builder addAllPackageRepositories( return this; } /** + * + * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ public Builder clearPackageRepositories() { if (packageRepositoriesBuilder_ == null) { @@ -42461,11 +49168,15 @@ public Builder clearPackageRepositories() { return this; } /** + * + * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ public Builder removePackageRepositories(int index) { if (packageRepositoriesBuilder_ == null) { @@ -42478,39 +49189,57 @@ public Builder removePackageRepositories(int index) { return this; } /** + * + * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder getPackageRepositoriesBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository.Builder + getPackageRepositoriesBuilder(int index) { return getPackageRepositoriesFieldBuilder().getBuilder(index); } /** + * + * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder getPackageRepositoriesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepositoryOrBuilder + getPackageRepositoriesOrBuilder(int index) { if (packageRepositoriesBuilder_ == null) { - return packageRepositories_.get(index); } else { + return packageRepositories_.get(index); + } else { return packageRepositoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ - public java.util.List - getPackageRepositoriesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepositoryOrBuilder> + getPackageRepositoriesOrBuilderList() { if (packageRepositoriesBuilder_ != null) { return packageRepositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -42518,45 +49247,79 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Sourc } } /** + * + * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder addPackageRepositoriesBuilder() { - return getPackageRepositoriesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository.Builder + addPackageRepositoriesBuilder() { + return getPackageRepositoriesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository.getDefaultInstance()); } /** + * + * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder addPackageRepositoriesBuilder( - int index) { - return getPackageRepositoriesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository.Builder + addPackageRepositoriesBuilder(int index) { + return getPackageRepositoriesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository.getDefaultInstance()); } /** + * + * *
        * List of package repository configurations assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2; + * */ - public java.util.List - getPackageRepositoriesBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository.Builder> + getPackageRepositoriesBuilderList() { return getPackageRepositoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepositoryOrBuilder> getPackageRepositoriesFieldBuilder() { if (packageRepositoriesBuilder_ == null) { - packageRepositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder>( + packageRepositoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepository.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedPackageRepositoryOrBuilder>( packageRepositories_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -42566,26 +49329,45 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Sourc return packageRepositoriesBuilder_; } - private java.util.List softwareRecipes_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe> + softwareRecipes_ = java.util.Collections.emptyList(); + private void ensureSoftwareRecipesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - softwareRecipes_ = new java.util.ArrayList(softwareRecipes_); + softwareRecipes_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe>(softwareRecipes_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder> softwareRecipesBuilder_; + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipeOrBuilder> + softwareRecipesBuilder_; /** + * + * *
        * List of recipes assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ - public java.util.List getSoftwareRecipesList() { + public java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe> + getSoftwareRecipesList() { if (softwareRecipesBuilder_ == null) { return java.util.Collections.unmodifiableList(softwareRecipes_); } else { @@ -42593,11 +49375,15 @@ public java.util.List * List of recipes assigned to the VM instance. *
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ public int getSoftwareRecipesCount() { if (softwareRecipesBuilder_ == null) { @@ -42607,13 +49393,19 @@ public int getSoftwareRecipesCount() { } } /** + * + * *
        * List of recipes assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe getSoftwareRecipes(int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe + getSoftwareRecipes(int index) { if (softwareRecipesBuilder_ == null) { return softwareRecipes_.get(index); } else { @@ -42621,14 +49413,20 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Sourc } } /** + * + * *
        * List of recipes assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ public Builder setSoftwareRecipes( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe value) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe + value) { if (softwareRecipesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -42642,14 +49440,21 @@ public Builder setSoftwareRecipes( return this; } /** + * + * *
        * List of recipes assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ public Builder setSoftwareRecipes( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe + .Builder + builderForValue) { if (softwareRecipesBuilder_ == null) { ensureSoftwareRecipesIsMutable(); softwareRecipes_.set(index, builderForValue.build()); @@ -42660,13 +49465,19 @@ public Builder setSoftwareRecipes( return this; } /** + * + * *
        * List of recipes assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ - public Builder addSoftwareRecipes(com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe value) { + public Builder addSoftwareRecipes( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe + value) { if (softwareRecipesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -42680,14 +49491,20 @@ public Builder addSoftwareRecipes(com.google.cloud.osconfig.v1beta.GuestPolicies return this; } /** + * + * *
        * List of recipes assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ public Builder addSoftwareRecipes( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe value) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe + value) { if (softwareRecipesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -42701,14 +49518,20 @@ public Builder addSoftwareRecipes( return this; } /** + * + * *
        * List of recipes assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ public Builder addSoftwareRecipes( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe + .Builder + builderForValue) { if (softwareRecipesBuilder_ == null) { ensureSoftwareRecipesIsMutable(); softwareRecipes_.add(builderForValue.build()); @@ -42719,14 +49542,21 @@ public Builder addSoftwareRecipes( return this; } /** + * + * *
        * List of recipes assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ public Builder addSoftwareRecipes( - int index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe + .Builder + builderForValue) { if (softwareRecipesBuilder_ == null) { ensureSoftwareRecipesIsMutable(); softwareRecipes_.add(index, builderForValue.build()); @@ -42737,18 +49567,25 @@ public Builder addSoftwareRecipes( return this; } /** + * + * *
        * List of recipes assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ public Builder addAllSoftwareRecipes( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe> + values) { if (softwareRecipesBuilder_ == null) { ensureSoftwareRecipesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, softwareRecipes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, softwareRecipes_); onChanged(); } else { softwareRecipesBuilder_.addAllMessages(values); @@ -42756,11 +49593,15 @@ public Builder addAllSoftwareRecipes( return this; } /** + * + * *
        * List of recipes assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ public Builder clearSoftwareRecipes() { if (softwareRecipesBuilder_ == null) { @@ -42773,11 +49614,15 @@ public Builder clearSoftwareRecipes() { return this; } /** + * + * *
        * List of recipes assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ public Builder removeSoftwareRecipes(int index) { if (softwareRecipesBuilder_ == null) { @@ -42790,39 +49635,57 @@ public Builder removeSoftwareRecipes(int index) { return this; } /** + * + * *
        * List of recipes assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder getSoftwareRecipesBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe.Builder + getSoftwareRecipesBuilder(int index) { return getSoftwareRecipesFieldBuilder().getBuilder(index); } /** + * + * *
        * List of recipes assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder getSoftwareRecipesOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipeOrBuilder + getSoftwareRecipesOrBuilder(int index) { if (softwareRecipesBuilder_ == null) { - return softwareRecipes_.get(index); } else { + return softwareRecipes_.get(index); + } else { return softwareRecipesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * List of recipes assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ - public java.util.List - getSoftwareRecipesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipeOrBuilder> + getSoftwareRecipesOrBuilderList() { if (softwareRecipesBuilder_ != null) { return softwareRecipesBuilder_.getMessageOrBuilderList(); } else { @@ -42830,45 +49693,79 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Sourc } } /** + * + * *
        * List of recipes assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder addSoftwareRecipesBuilder() { - return getSoftwareRecipesFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe.Builder + addSoftwareRecipesBuilder() { + return getSoftwareRecipesFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe.getDefaultInstance()); } /** + * + * *
        * List of recipes assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder addSoftwareRecipesBuilder( - int index) { - return getSoftwareRecipesFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe.Builder + addSoftwareRecipesBuilder(int index) { + return getSoftwareRecipesFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe.getDefaultInstance()); } /** + * + * *
        * List of recipes assigned to the VM instance.
        * 
* - * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * + * repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe software_recipes = 3; + * */ - public java.util.List - getSoftwareRecipesBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe.Builder> + getSoftwareRecipesBuilderList() { return getSoftwareRecipesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder> + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipeOrBuilder> getSoftwareRecipesFieldBuilder() { if (softwareRecipesBuilder_ == null) { - softwareRecipesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder, com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder>( + softwareRecipesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipe.Builder, + com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + .SourcedSoftwareRecipeOrBuilder>( softwareRecipes_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -42877,6 +49774,7 @@ public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.Sourc } return softwareRecipesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -42889,30 +49787,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.EffectiveGuestPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.EffectiveGuestPolicy) - private static final com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy(); } - public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EffectiveGuestPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EffectiveGuestPolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EffectiveGuestPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EffectiveGuestPolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -42924,567 +49824,647 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_GuestPolicy_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_Assignment_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_Package_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_Package_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_Package_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_AptRepository_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_YumRepository_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_ZypperRepository_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_GooRepository_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_PackageRepository_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { java.lang.String[] descriptorData = { - "\n1google/cloud/osconfig/v1beta/guest_pol" + - "icies.proto\022\034google.cloud.osconfig.v1bet" + - "a\032\034google/api/annotations.proto\032\037google/" + - "api/field_behavior.proto\032\031google/api/res" + - "ource.proto\032 google/protobuf/field_mask." + - "proto\032\037google/protobuf/timestamp.proto\"\224" + - "\004\n\013GuestPolicy\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\013des" + - "cription\030\002 \001(\t\0224\n\013create_time\030\003 \001(\0132\032.go" + - "ogle.protobuf.TimestampB\003\340A\003\0224\n\013update_t" + - "ime\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340" + - "A\003\022A\n\nassignment\030\006 \001(\0132(.google.cloud.os" + - "config.v1beta.AssignmentB\003\340A\002\0227\n\010package" + - "s\030\007 \003(\0132%.google.cloud.osconfig.v1beta.P" + - "ackage\022M\n\024package_repositories\030\010 \003(\0132/.g" + - "oogle.cloud.osconfig.v1beta.PackageRepos" + - "itory\022=\n\007recipes\030\t \003(\0132,.google.cloud.os" + - "config.v1beta.SoftwareRecipe\022\014\n\004etag\030\n \001" + - "(\t:Y\352AV\n#osconfig.googleapis.com/GuestPo" + - "licy\022/projects/{project}/guestPolicies/{" + - "guest_policy}\"\271\003\n\nAssignment\022I\n\014group_la" + - "bels\030\001 \003(\01323.google.cloud.osconfig.v1bet" + - "a.Assignment.GroupLabel\022\r\n\005zones\030\002 \003(\t\022\021" + - "\n\tinstances\030\003 \003(\t\022\036\n\026instance_name_prefi" + - "xes\030\004 \003(\t\022A\n\010os_types\030\005 \003(\0132/.google.clo" + - "ud.osconfig.v1beta.Assignment.OsType\032\214\001\n" + - "\nGroupLabel\022O\n\006labels\030\001 \003(\0132?.google.clo" + - "ud.osconfig.v1beta.Assignment.GroupLabel" + - ".LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + - "\022\r\n\005value\030\002 \001(\t:\0028\001\032L\n\006OsType\022\025\n\ros_shor" + - "t_name\030\001 \001(\t\022\022\n\nos_version\030\002 \001(\t\022\027\n\017os_a" + - "rchitecture\030\003 \001(\t\"\363\001\n\007Package\022\021\n\004name\030\001 " + - "\001(\tB\003\340A\002\022A\n\rdesired_state\030\002 \001(\0162*.google" + - ".cloud.osconfig.v1beta.DesiredState\022>\n\007m" + - "anager\030\003 \001(\0162-.google.cloud.osconfig.v1b" + - "eta.Package.Manager\"R\n\007Manager\022\027\n\023MANAGE" + - "R_UNSPECIFIED\020\000\022\007\n\003ANY\020\001\022\007\n\003APT\020\002\022\007\n\003YUM" + - "\020\003\022\n\n\006ZYPPER\020\004\022\007\n\003GOO\020\005\"\370\001\n\rAptRepositor" + - "y\022M\n\014archive_type\030\001 \001(\01627.google.cloud.o" + - "sconfig.v1beta.AptRepository.ArchiveType" + - "\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\031\n\014distribution\030\003 \001(\t" + - "B\003\340A\002\022\027\n\ncomponents\030\004 \003(\tB\003\340A\002\022\017\n\007gpg_ke" + - "y\030\005 \001(\t\"A\n\013ArchiveType\022\034\n\030ARCHIVE_TYPE_U" + - "NSPECIFIED\020\000\022\007\n\003DEB\020\001\022\013\n\007DEB_SRC\020\002\"_\n\rYu" + - "mRepository\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014display_" + - "name\030\002 \001(\t\022\025\n\010base_url\030\003 \001(\tB\003\340A\002\022\020\n\010gpg" + - "_keys\030\004 \003(\t\"b\n\020ZypperRepository\022\017\n\002id\030\001 " + - "\001(\tB\003\340A\002\022\024\n\014display_name\030\002 \001(\t\022\025\n\010base_u" + - "rl\030\003 \001(\tB\003\340A\002\022\020\n\010gpg_keys\030\004 \003(\t\"4\n\rGooRe" + - "pository\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003url\030\002 \001(\t" + - "B\003\340A\002\"\227\002\n\021PackageRepository\022:\n\003apt\030\001 \001(\013" + - "2+.google.cloud.osconfig.v1beta.AptRepos" + - "itoryH\000\022:\n\003yum\030\002 \001(\0132+.google.cloud.osco" + - "nfig.v1beta.YumRepositoryH\000\022@\n\006zypper\030\003 " + - "\001(\0132..google.cloud.osconfig.v1beta.Zyppe" + - "rRepositoryH\000\022:\n\003goo\030\004 \001(\0132+.google.clou" + - "d.osconfig.v1beta.GooRepositoryH\000B\014\n\nrep" + - "ository\"\206\021\n\016SoftwareRecipe\022\021\n\004name\030\001 \001(\t" + - "B\003\340A\002\022\017\n\007version\030\002 \001(\t\022H\n\tartifacts\030\003 \003(" + - "\01325.google.cloud.osconfig.v1beta.Softwar" + - "eRecipe.Artifact\022H\n\rinstall_steps\030\004 \003(\0132" + - "1.google.cloud.osconfig.v1beta.SoftwareR" + - "ecipe.Step\022G\n\014update_steps\030\005 \003(\01321.googl" + - "e.cloud.osconfig.v1beta.SoftwareRecipe.S" + - "tep\022A\n\rdesired_state\030\006 \001(\0162*.google.clou" + - "d.osconfig.v1beta.DesiredState\032\275\002\n\010Artif" + - "act\022\017\n\002id\030\001 \001(\tB\003\340A\002\022N\n\006remote\030\002 \001(\0132<.g" + - "oogle.cloud.osconfig.v1beta.SoftwareReci" + - "pe.Artifact.RemoteH\000\022H\n\003gcs\030\003 \001(\01329.goog" + - "le.cloud.osconfig.v1beta.SoftwareRecipe." + - "Artifact.GcsH\000\022\026\n\016allow_insecure\030\004 \001(\010\032\'" + - "\n\006Remote\022\013\n\003uri\030\001 \001(\t\022\020\n\010checksum\030\002 \001(\t\032" + - "9\n\003Gcs\022\016\n\006bucket\030\001 \001(\t\022\016\n\006object\030\002 \001(\t\022\022" + - "\n\ngeneration\030\003 \001(\003B\n\n\010artifact\032\357\013\n\004Step\022" + - "O\n\tfile_copy\030\001 \001(\0132:.google.cloud.osconf" + - "ig.v1beta.SoftwareRecipe.Step.CopyFileH\000" + - "\022^\n\022archive_extraction\030\002 \001(\0132@.google.cl" + - "oud.osconfig.v1beta.SoftwareRecipe.Step." + - "ExtractArchiveH\000\022X\n\020msi_installation\030\003 \001" + - "(\0132<.google.cloud.osconfig.v1beta.Softwa" + - "reRecipe.Step.InstallMsiH\000\022Z\n\021dpkg_insta" + - "llation\030\004 \001(\0132=.google.cloud.osconfig.v1" + - "beta.SoftwareRecipe.Step.InstallDpkgH\000\022X" + - "\n\020rpm_installation\030\005 \001(\0132<.google.cloud." + - "osconfig.v1beta.SoftwareRecipe.Step.Inst" + - "allRpmH\000\022O\n\tfile_exec\030\006 \001(\0132:.google.clo" + - "ud.osconfig.v1beta.SoftwareRecipe.Step.E" + - "xecFileH\000\022Q\n\nscript_run\030\007 \001(\0132;.google.c" + - "loud.osconfig.v1beta.SoftwareRecipe.Step" + - ".RunScriptH\000\032f\n\010CopyFile\022\030\n\013artifact_id\030" + - "\001 \001(\tB\003\340A\002\022\030\n\013destination\030\002 \001(\tB\003\340A\002\022\021\n\t" + - "overwrite\030\003 \001(\010\022\023\n\013permissions\030\004 \001(\t\032\225\002\n" + - "\016ExtractArchive\022\030\n\013artifact_id\030\001 \001(\tB\003\340A" + - "\002\022\023\n\013destination\030\002 \001(\t\022_\n\004type\030\003 \001(\0162L.g" + - "oogle.cloud.osconfig.v1beta.SoftwareReci" + - "pe.Step.ExtractArchive.ArchiveTypeB\003\340A\002\"" + - "s\n\013ArchiveType\022\034\n\030ARCHIVE_TYPE_UNSPECIFI" + - "ED\020\000\022\007\n\003TAR\020\001\022\014\n\010TAR_GZIP\020\002\022\014\n\010TAR_BZIP\020" + - "\003\022\014\n\010TAR_LZMA\020\004\022\n\n\006TAR_XZ\020\005\022\007\n\003ZIP\020\013\032Q\n\n" + - "InstallMsi\022\030\n\013artifact_id\030\001 \001(\tB\003\340A\002\022\r\n\005" + - "flags\030\002 \003(\t\022\032\n\022allowed_exit_codes\030\003 \003(\005\032" + - "\'\n\013InstallDpkg\022\030\n\013artifact_id\030\001 \001(\tB\003\340A\002" + - "\032&\n\nInstallRpm\022\030\n\013artifact_id\030\001 \001(\tB\003\340A\002" + - "\032r\n\010ExecFile\022\025\n\013artifact_id\030\001 \001(\tH\000\022\024\n\nl" + - "ocal_path\030\002 \001(\tH\000\022\014\n\004args\030\003 \003(\t\022\032\n\022allow" + - "ed_exit_codes\030\004 \003(\005B\017\n\rlocation_type\032\341\001\n" + - "\tRunScript\022\023\n\006script\030\001 \001(\tB\003\340A\002\022\032\n\022allow" + - "ed_exit_codes\030\002 \003(\005\022\\\n\013interpreter\030\003 \001(\016" + - "2G.google.cloud.osconfig.v1beta.Software" + - "Recipe.Step.RunScript.Interpreter\"E\n\013Int" + - "erpreter\022\033\n\027INTERPRETER_UNSPECIFIED\020\000\022\t\n" + - "\005SHELL\020\001\022\016\n\nPOWERSHELL\020\003B\006\n\004step\"\273\001\n\030Cre" + - "ateGuestPolicyRequest\022;\n\006parent\030\001 \001(\tB+\340" + - "A\002\372A%\022#osconfig.googleapis.com/GuestPoli" + - "cy\022\034\n\017guest_policy_id\030\002 \001(\tB\003\340A\002\022D\n\014gues" + - "t_policy\030\003 \001(\0132).google.cloud.osconfig.v" + - "1beta.GuestPolicyB\003\340A\002\"R\n\025GetGuestPolicy" + - "Request\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#osconfig." + - "googleapis.com/GuestPolicy\"~\n\030ListGuestP" + - "oliciesRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#" + - "osconfig.googleapis.com/GuestPolicy\022\021\n\tp" + - "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"w\n\031Li" + - "stGuestPoliciesResponse\022A\n\016guest_policie" + - "s\030\001 \003(\0132).google.cloud.osconfig.v1beta.G" + - "uestPolicy\022\027\n\017next_page_token\030\002 \001(\t\"\221\001\n\030" + - "UpdateGuestPolicyRequest\022D\n\014guest_policy" + - "\030\001 \001(\0132).google.cloud.osconfig.v1beta.Gu" + - "estPolicyB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" + - "ogle.protobuf.FieldMask\"U\n\030DeleteGuestPo" + - "licyRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#oscon" + - "fig.googleapis.com/GuestPolicy\"~\n!Lookup" + - "EffectiveGuestPolicyRequest\022\025\n\010instance\030" + - "\001 \001(\tB\003\340A\002\022\025\n\ros_short_name\030\002 \001(\t\022\022\n\nos_" + - "version\030\003 \001(\t\022\027\n\017os_architecture\030\004 \001(\t\"\375" + - "\004\n\024EffectiveGuestPolicy\022S\n\010packages\030\001 \003(" + - "\0132A.google.cloud.osconfig.v1beta.Effecti" + - "veGuestPolicy.SourcedPackage\022i\n\024package_" + - "repositories\030\002 \003(\0132K.google.cloud.osconf" + - "ig.v1beta.EffectiveGuestPolicy.SourcedPa" + - "ckageRepository\022b\n\020software_recipes\030\003 \003(" + - "\0132H.google.cloud.osconfig.v1beta.Effecti" + - "veGuestPolicy.SourcedSoftwareRecipe\032X\n\016S" + - "ourcedPackage\022\016\n\006source\030\001 \001(\t\0226\n\007package" + - "\030\002 \001(\0132%.google.cloud.osconfig.v1beta.Pa" + - "ckage\032w\n\030SourcedPackageRepository\022\016\n\006sou" + - "rce\030\001 \001(\t\022K\n\022package_repository\030\002 \001(\0132/." + - "google.cloud.osconfig.v1beta.PackageRepo" + - "sitory\032n\n\025SourcedSoftwareRecipe\022\016\n\006sourc" + - "e\030\001 \001(\t\022E\n\017software_recipe\030\002 \001(\0132,.googl" + - "e.cloud.osconfig.v1beta.SoftwareRecipe*V" + - "\n\014DesiredState\022\035\n\031DESIRED_STATE_UNSPECIF" + - "IED\020\000\022\r\n\tINSTALLED\020\001\022\013\n\007UPDATED\020\002\022\013\n\007REM" + - "OVED\020\003Bw\n com.google.cloud.osconfig.v1be" + - "taB\rGuestPoliciesZDgoogle.golang.org/gen" + - "proto/googleapis/cloud/osconfig/v1beta;o" + - "sconfigb\006proto3" + "\n1google/cloud/osconfig/v1beta/guest_pol" + + "icies.proto\022\034google.cloud.osconfig.v1bet" + + "a\032\034google/api/annotations.proto\032\037google/" + + "api/field_behavior.proto\032\031google/api/res" + + "ource.proto\032 google/protobuf/field_mask." + + "proto\032\037google/protobuf/timestamp.proto\"\224" + + "\004\n\013GuestPolicy\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\013des" + + "cription\030\002 \001(\t\0224\n\013create_time\030\003 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\003\340A\003\0224\n\013update_t" + + "ime\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340" + + "A\003\022A\n\nassignment\030\006 \001(\0132(.google.cloud.os" + + "config.v1beta.AssignmentB\003\340A\002\0227\n\010package" + + "s\030\007 \003(\0132%.google.cloud.osconfig.v1beta.P" + + "ackage\022M\n\024package_repositories\030\010 \003(\0132/.g" + + "oogle.cloud.osconfig.v1beta.PackageRepos" + + "itory\022=\n\007recipes\030\t \003(\0132,.google.cloud.os" + + "config.v1beta.SoftwareRecipe\022\014\n\004etag\030\n \001" + + "(\t:Y\352AV\n#osconfig.googleapis.com/GuestPo" + + "licy\022/projects/{project}/guestPolicies/{" + + "guest_policy}\"\271\003\n\nAssignment\022I\n\014group_la" + + "bels\030\001 \003(\01323.google.cloud.osconfig.v1bet" + + "a.Assignment.GroupLabel\022\r\n\005zones\030\002 \003(\t\022\021" + + "\n\tinstances\030\003 \003(\t\022\036\n\026instance_name_prefi" + + "xes\030\004 \003(\t\022A\n\010os_types\030\005 \003(\0132/.google.clo" + + "ud.osconfig.v1beta.Assignment.OsType\032\214\001\n" + + "\nGroupLabel\022O\n\006labels\030\001 \003(\0132?.google.clo" + + "ud.osconfig.v1beta.Assignment.GroupLabel" + + ".LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001\032L\n\006OsType\022\025\n\ros_shor" + + "t_name\030\001 \001(\t\022\022\n\nos_version\030\002 \001(\t\022\027\n\017os_a" + + "rchitecture\030\003 \001(\t\"\363\001\n\007Package\022\021\n\004name\030\001 " + + "\001(\tB\003\340A\002\022A\n\rdesired_state\030\002 \001(\0162*.google" + + ".cloud.osconfig.v1beta.DesiredState\022>\n\007m" + + "anager\030\003 \001(\0162-.google.cloud.osconfig.v1b" + + "eta.Package.Manager\"R\n\007Manager\022\027\n\023MANAGE" + + "R_UNSPECIFIED\020\000\022\007\n\003ANY\020\001\022\007\n\003APT\020\002\022\007\n\003YUM" + + "\020\003\022\n\n\006ZYPPER\020\004\022\007\n\003GOO\020\005\"\370\001\n\rAptRepositor" + + "y\022M\n\014archive_type\030\001 \001(\01627.google.cloud.o" + + "sconfig.v1beta.AptRepository.ArchiveType" + + "\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\031\n\014distribution\030\003 \001(\t" + + "B\003\340A\002\022\027\n\ncomponents\030\004 \003(\tB\003\340A\002\022\017\n\007gpg_ke" + + "y\030\005 \001(\t\"A\n\013ArchiveType\022\034\n\030ARCHIVE_TYPE_U" + + "NSPECIFIED\020\000\022\007\n\003DEB\020\001\022\013\n\007DEB_SRC\020\002\"_\n\rYu" + + "mRepository\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014display_" + + "name\030\002 \001(\t\022\025\n\010base_url\030\003 \001(\tB\003\340A\002\022\020\n\010gpg" + + "_keys\030\004 \003(\t\"b\n\020ZypperRepository\022\017\n\002id\030\001 " + + "\001(\tB\003\340A\002\022\024\n\014display_name\030\002 \001(\t\022\025\n\010base_u" + + "rl\030\003 \001(\tB\003\340A\002\022\020\n\010gpg_keys\030\004 \003(\t\"4\n\rGooRe" + + "pository\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003url\030\002 \001(\t" + + "B\003\340A\002\"\227\002\n\021PackageRepository\022:\n\003apt\030\001 \001(\013" + + "2+.google.cloud.osconfig.v1beta.AptRepos" + + "itoryH\000\022:\n\003yum\030\002 \001(\0132+.google.cloud.osco" + + "nfig.v1beta.YumRepositoryH\000\022@\n\006zypper\030\003 " + + "\001(\0132..google.cloud.osconfig.v1beta.Zyppe" + + "rRepositoryH\000\022:\n\003goo\030\004 \001(\0132+.google.clou" + + "d.osconfig.v1beta.GooRepositoryH\000B\014\n\nrep" + + "ository\"\206\021\n\016SoftwareRecipe\022\021\n\004name\030\001 \001(\t" + + "B\003\340A\002\022\017\n\007version\030\002 \001(\t\022H\n\tartifacts\030\003 \003(" + + "\01325.google.cloud.osconfig.v1beta.Softwar" + + "eRecipe.Artifact\022H\n\rinstall_steps\030\004 \003(\0132" + + "1.google.cloud.osconfig.v1beta.SoftwareR" + + "ecipe.Step\022G\n\014update_steps\030\005 \003(\01321.googl" + + "e.cloud.osconfig.v1beta.SoftwareRecipe.S" + + "tep\022A\n\rdesired_state\030\006 \001(\0162*.google.clou" + + "d.osconfig.v1beta.DesiredState\032\275\002\n\010Artif" + + "act\022\017\n\002id\030\001 \001(\tB\003\340A\002\022N\n\006remote\030\002 \001(\0132<.g" + + "oogle.cloud.osconfig.v1beta.SoftwareReci" + + "pe.Artifact.RemoteH\000\022H\n\003gcs\030\003 \001(\01329.goog" + + "le.cloud.osconfig.v1beta.SoftwareRecipe." + + "Artifact.GcsH\000\022\026\n\016allow_insecure\030\004 \001(\010\032\'" + + "\n\006Remote\022\013\n\003uri\030\001 \001(\t\022\020\n\010checksum\030\002 \001(\t\032" + + "9\n\003Gcs\022\016\n\006bucket\030\001 \001(\t\022\016\n\006object\030\002 \001(\t\022\022" + + "\n\ngeneration\030\003 \001(\003B\n\n\010artifact\032\357\013\n\004Step\022" + + "O\n\tfile_copy\030\001 \001(\0132:.google.cloud.osconf" + + "ig.v1beta.SoftwareRecipe.Step.CopyFileH\000" + + "\022^\n\022archive_extraction\030\002 \001(\0132@.google.cl" + + "oud.osconfig.v1beta.SoftwareRecipe.Step." + + "ExtractArchiveH\000\022X\n\020msi_installation\030\003 \001" + + "(\0132<.google.cloud.osconfig.v1beta.Softwa" + + "reRecipe.Step.InstallMsiH\000\022Z\n\021dpkg_insta" + + "llation\030\004 \001(\0132=.google.cloud.osconfig.v1" + + "beta.SoftwareRecipe.Step.InstallDpkgH\000\022X" + + "\n\020rpm_installation\030\005 \001(\0132<.google.cloud." + + "osconfig.v1beta.SoftwareRecipe.Step.Inst" + + "allRpmH\000\022O\n\tfile_exec\030\006 \001(\0132:.google.clo" + + "ud.osconfig.v1beta.SoftwareRecipe.Step.E" + + "xecFileH\000\022Q\n\nscript_run\030\007 \001(\0132;.google.c" + + "loud.osconfig.v1beta.SoftwareRecipe.Step" + + ".RunScriptH\000\032f\n\010CopyFile\022\030\n\013artifact_id\030" + + "\001 \001(\tB\003\340A\002\022\030\n\013destination\030\002 \001(\tB\003\340A\002\022\021\n\t" + + "overwrite\030\003 \001(\010\022\023\n\013permissions\030\004 \001(\t\032\225\002\n" + + "\016ExtractArchive\022\030\n\013artifact_id\030\001 \001(\tB\003\340A" + + "\002\022\023\n\013destination\030\002 \001(\t\022_\n\004type\030\003 \001(\0162L.g" + + "oogle.cloud.osconfig.v1beta.SoftwareReci" + + "pe.Step.ExtractArchive.ArchiveTypeB\003\340A\002\"" + + "s\n\013ArchiveType\022\034\n\030ARCHIVE_TYPE_UNSPECIFI" + + "ED\020\000\022\007\n\003TAR\020\001\022\014\n\010TAR_GZIP\020\002\022\014\n\010TAR_BZIP\020" + + "\003\022\014\n\010TAR_LZMA\020\004\022\n\n\006TAR_XZ\020\005\022\007\n\003ZIP\020\013\032Q\n\n" + + "InstallMsi\022\030\n\013artifact_id\030\001 \001(\tB\003\340A\002\022\r\n\005" + + "flags\030\002 \003(\t\022\032\n\022allowed_exit_codes\030\003 \003(\005\032" + + "\'\n\013InstallDpkg\022\030\n\013artifact_id\030\001 \001(\tB\003\340A\002" + + "\032&\n\nInstallRpm\022\030\n\013artifact_id\030\001 \001(\tB\003\340A\002" + + "\032r\n\010ExecFile\022\025\n\013artifact_id\030\001 \001(\tH\000\022\024\n\nl" + + "ocal_path\030\002 \001(\tH\000\022\014\n\004args\030\003 \003(\t\022\032\n\022allow" + + "ed_exit_codes\030\004 \003(\005B\017\n\rlocation_type\032\341\001\n" + + "\tRunScript\022\023\n\006script\030\001 \001(\tB\003\340A\002\022\032\n\022allow" + + "ed_exit_codes\030\002 \003(\005\022\\\n\013interpreter\030\003 \001(\016" + + "2G.google.cloud.osconfig.v1beta.Software" + + "Recipe.Step.RunScript.Interpreter\"E\n\013Int" + + "erpreter\022\033\n\027INTERPRETER_UNSPECIFIED\020\000\022\t\n" + + "\005SHELL\020\001\022\016\n\nPOWERSHELL\020\003B\006\n\004step\"\273\001\n\030Cre" + + "ateGuestPolicyRequest\022;\n\006parent\030\001 \001(\tB+\340" + + "A\002\372A%\022#osconfig.googleapis.com/GuestPoli" + + "cy\022\034\n\017guest_policy_id\030\002 \001(\tB\003\340A\002\022D\n\014gues" + + "t_policy\030\003 \001(\0132).google.cloud.osconfig.v" + + "1beta.GuestPolicyB\003\340A\002\"R\n\025GetGuestPolicy" + + "Request\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#osconfig." + + "googleapis.com/GuestPolicy\"~\n\030ListGuestP" + + "oliciesRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#" + + "osconfig.googleapis.com/GuestPolicy\022\021\n\tp" + + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"w\n\031Li" + + "stGuestPoliciesResponse\022A\n\016guest_policie" + + "s\030\001 \003(\0132).google.cloud.osconfig.v1beta.G" + + "uestPolicy\022\027\n\017next_page_token\030\002 \001(\t\"\221\001\n\030" + + "UpdateGuestPolicyRequest\022D\n\014guest_policy" + + "\030\001 \001(\0132).google.cloud.osconfig.v1beta.Gu" + + "estPolicyB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" + + "ogle.protobuf.FieldMask\"U\n\030DeleteGuestPo" + + "licyRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#oscon" + + "fig.googleapis.com/GuestPolicy\"~\n!Lookup" + + "EffectiveGuestPolicyRequest\022\025\n\010instance\030" + + "\001 \001(\tB\003\340A\002\022\025\n\ros_short_name\030\002 \001(\t\022\022\n\nos_" + + "version\030\003 \001(\t\022\027\n\017os_architecture\030\004 \001(\t\"\375" + + "\004\n\024EffectiveGuestPolicy\022S\n\010packages\030\001 \003(" + + "\0132A.google.cloud.osconfig.v1beta.Effecti" + + "veGuestPolicy.SourcedPackage\022i\n\024package_" + + "repositories\030\002 \003(\0132K.google.cloud.osconf" + + "ig.v1beta.EffectiveGuestPolicy.SourcedPa" + + "ckageRepository\022b\n\020software_recipes\030\003 \003(" + + "\0132H.google.cloud.osconfig.v1beta.Effecti" + + "veGuestPolicy.SourcedSoftwareRecipe\032X\n\016S" + + "ourcedPackage\022\016\n\006source\030\001 \001(\t\0226\n\007package" + + "\030\002 \001(\0132%.google.cloud.osconfig.v1beta.Pa" + + "ckage\032w\n\030SourcedPackageRepository\022\016\n\006sou" + + "rce\030\001 \001(\t\022K\n\022package_repository\030\002 \001(\0132/." + + "google.cloud.osconfig.v1beta.PackageRepo" + + "sitory\032n\n\025SourcedSoftwareRecipe\022\016\n\006sourc" + + "e\030\001 \001(\t\022E\n\017software_recipe\030\002 \001(\0132,.googl" + + "e.cloud.osconfig.v1beta.SoftwareRecipe*V" + + "\n\014DesiredState\022\035\n\031DESIRED_STATE_UNSPECIF" + + "IED\020\000\022\r\n\tINSTALLED\020\001\022\013\n\007UPDATED\020\002\022\013\n\007REM" + + "OVED\020\003Bw\n com.google.cloud.osconfig.v1be" + + "taB\rGuestPoliciesZDgoogle.golang.org/gen" + + "proto/googleapis/cloud/osconfig/v1beta;o" + + "sconfigb\006proto3" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1beta_GuestPolicy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor, - new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "Assignment", "Packages", "PackageRepositories", "Recipes", "Etag", }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1beta_GuestPolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_GuestPolicy_descriptor, + new java.lang.String[] { + "Name", + "Description", + "CreateTime", + "UpdateTime", + "Assignment", + "Packages", + "PackageRepositories", + "Recipes", + "Etag", + }); internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1beta_Assignment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor, - new java.lang.String[] { "GroupLabels", "Zones", "Instances", "InstanceNamePrefixes", "OsTypes", }); + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1beta_Assignment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor, + new java.lang.String[] { + "GroupLabels", "Zones", "Instances", "InstanceNamePrefixes", "OsTypes", + }); internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor = - internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor, - new java.lang.String[] { "Labels", }); + internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor, + new java.lang.String[] { + "Labels", + }); internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_descriptor = - internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_Assignment_GroupLabel_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor = - internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor, - new java.lang.String[] { "OsShortName", "OsVersion", "OsArchitecture", }); + internal_static_google_cloud_osconfig_v1beta_Assignment_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_Assignment_OsType_descriptor, + new java.lang.String[] { + "OsShortName", "OsVersion", "OsArchitecture", + }); internal_static_google_cloud_osconfig_v1beta_Package_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1beta_Package_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_Package_descriptor, - new java.lang.String[] { "Name", "DesiredState", "Manager", }); + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1beta_Package_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_Package_descriptor, + new java.lang.String[] { + "Name", "DesiredState", "Manager", + }); internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1beta_AptRepository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor, - new java.lang.String[] { "ArchiveType", "Uri", "Distribution", "Components", "GpgKey", }); + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1beta_AptRepository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_AptRepository_descriptor, + new java.lang.String[] { + "ArchiveType", "Uri", "Distribution", "Components", "GpgKey", + }); internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_osconfig_v1beta_YumRepository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor, - new java.lang.String[] { "Id", "DisplayName", "BaseUrl", "GpgKeys", }); + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_osconfig_v1beta_YumRepository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_YumRepository_descriptor, + new java.lang.String[] { + "Id", "DisplayName", "BaseUrl", "GpgKeys", + }); internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_osconfig_v1beta_ZypperRepository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor, - new java.lang.String[] { "Id", "DisplayName", "BaseUrl", "GpgKeys", }); + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_osconfig_v1beta_ZypperRepository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_ZypperRepository_descriptor, + new java.lang.String[] { + "Id", "DisplayName", "BaseUrl", "GpgKeys", + }); internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_osconfig_v1beta_GooRepository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor, - new java.lang.String[] { "Name", "Url", }); + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_osconfig_v1beta_GooRepository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_GooRepository_descriptor, + new java.lang.String[] { + "Name", "Url", + }); internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_osconfig_v1beta_PackageRepository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor, - new java.lang.String[] { "Apt", "Yum", "Zypper", "Goo", "Repository", }); + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_osconfig_v1beta_PackageRepository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_PackageRepository_descriptor, + new java.lang.String[] { + "Apt", "Yum", "Zypper", "Goo", "Repository", + }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor, - new java.lang.String[] { "Name", "Version", "Artifacts", "InstallSteps", "UpdateSteps", "DesiredState", }); + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor, + new java.lang.String[] { + "Name", "Version", "Artifacts", "InstallSteps", "UpdateSteps", "DesiredState", + }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor, - new java.lang.String[] { "Id", "Remote", "Gcs", "AllowInsecure", "Artifact", }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor, + new java.lang.String[] { + "Id", "Remote", "Gcs", "AllowInsecure", "Artifact", + }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor, - new java.lang.String[] { "Uri", "Checksum", }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Remote_descriptor, + new java.lang.String[] { + "Uri", "Checksum", + }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor, - new java.lang.String[] { "Bucket", "Object", "Generation", }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Artifact_Gcs_descriptor, + new java.lang.String[] { + "Bucket", "Object", "Generation", + }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor, - new java.lang.String[] { "FileCopy", "ArchiveExtraction", "MsiInstallation", "DpkgInstallation", "RpmInstallation", "FileExec", "ScriptRun", "Step", }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor, + new java.lang.String[] { + "FileCopy", + "ArchiveExtraction", + "MsiInstallation", + "DpkgInstallation", + "RpmInstallation", + "FileExec", + "ScriptRun", + "Step", + }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor, - new java.lang.String[] { "ArtifactId", "Destination", "Overwrite", "Permissions", }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_CopyFile_descriptor, + new java.lang.String[] { + "ArtifactId", "Destination", "Overwrite", "Permissions", + }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor, - new java.lang.String[] { "ArtifactId", "Destination", "Type", }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExtractArchive_descriptor, + new java.lang.String[] { + "ArtifactId", "Destination", "Type", + }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor, - new java.lang.String[] { "ArtifactId", "Flags", "AllowedExitCodes", }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallMsi_descriptor, + new java.lang.String[] { + "ArtifactId", "Flags", "AllowedExitCodes", + }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor, - new java.lang.String[] { "ArtifactId", }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallDpkg_descriptor, + new java.lang.String[] { + "ArtifactId", + }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor, - new java.lang.String[] { "ArtifactId", }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor + .getNestedTypes() + .get(4); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_InstallRpm_descriptor, + new java.lang.String[] { + "ArtifactId", + }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor, - new java.lang.String[] { "ArtifactId", "LocalPath", "Args", "AllowedExitCodes", "LocationType", }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor + .getNestedTypes() + .get(5); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_ExecFile_descriptor, + new java.lang.String[] { + "ArtifactId", "LocalPath", "Args", "AllowedExitCodes", "LocationType", + }); internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor = - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor, - new java.lang.String[] { "Script", "AllowedExitCodes", "Interpreter", }); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_descriptor + .getNestedTypes() + .get(6); + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_SoftwareRecipe_Step_RunScript_descriptor, + new java.lang.String[] { + "Script", "AllowedExitCodes", "Interpreter", + }); internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor, - new java.lang.String[] { "Parent", "GuestPolicyId", "GuestPolicy", }); + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_CreateGuestPolicyRequest_descriptor, + new java.lang.String[] { + "Parent", "GuestPolicyId", "GuestPolicy", + }); internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor, - new java.lang.String[] { "Name", }); + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_GetGuestPolicyRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor, - new java.lang.String[] { "GuestPolicies", "NextPageToken", }); + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_ListGuestPoliciesResponse_descriptor, + new java.lang.String[] { + "GuestPolicies", "NextPageToken", + }); internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor, - new java.lang.String[] { "GuestPolicy", "UpdateMask", }); + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_UpdateGuestPolicyRequest_descriptor, + new java.lang.String[] { + "GuestPolicy", "UpdateMask", + }); internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor, - new java.lang.String[] { "Name", }); + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_DeleteGuestPolicyRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor, - new java.lang.String[] { "Instance", "OsShortName", "OsVersion", "OsArchitecture", }); + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_LookupEffectiveGuestPolicyRequest_descriptor, + new java.lang.String[] { + "Instance", "OsShortName", "OsVersion", "OsArchitecture", + }); internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor, - new java.lang.String[] { "Packages", "PackageRepositories", "SoftwareRecipes", }); + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor, + new java.lang.String[] { + "Packages", "PackageRepositories", "SoftwareRecipes", + }); internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor = - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor, - new java.lang.String[] { "Source", "Package", }); + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackage_descriptor, + new java.lang.String[] { + "Source", "Package", + }); internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor = - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor, - new java.lang.String[] { "Source", "PackageRepository", }); + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedPackageRepository_descriptor, + new java.lang.String[] { + "Source", "PackageRepository", + }); internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor = - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor, - new java.lang.String[] { "Source", "SoftwareRecipe", }); + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_EffectiveGuestPolicy_SourcedSoftwareRecipe_descriptor, + new java.lang.String[] { + "Source", "SoftwareRecipe", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.ResourceProto.resource); registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); diff --git a/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicyName.java b/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicyName.java similarity index 100% rename from owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicyName.java rename to proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/GuestPolicyName.java diff --git a/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigProto.java b/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigProto.java new file mode 100644 index 00000000..73f75c7c --- /dev/null +++ b/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/OsConfigProto.java @@ -0,0 +1,169 @@ +/* + * 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/osconfig/v1beta/osconfig_service.proto + +package com.google.cloud.osconfig.v1beta; + +public final class OsConfigProto { + private OsConfigProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + 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/osconfig/v1beta/osconfig_" + + "service.proto\022\034google.cloud.osconfig.v1b" + + "eta\032\034google/api/annotations.proto\032\027googl" + + "e/api/client.proto\0321google/cloud/osconfi" + + "g/v1beta/guest_policies.proto\0324google/cl" + + "oud/osconfig/v1beta/patch_deployments.pr" + + "oto\032-google/cloud/osconfig/v1beta/patch_" + + "jobs.proto\032\033google/protobuf/empty.proto2" + + "\223\034\n\017OsConfigService\022\251\001\n\017ExecutePatchJob\022" + + "4.google.cloud.osconfig.v1beta.ExecutePa" + + "tchJobRequest\032&.google.cloud.osconfig.v1" + + "beta.PatchJob\"8\202\323\344\223\0022\"-/v1beta/{parent=p" + + "rojects/*}/patchJobs:execute:\001*\022\226\001\n\013GetP" + + "atchJob\0220.google.cloud.osconfig.v1beta.G" + + "etPatchJobRequest\032&.google.cloud.osconfi" + + "g.v1beta.PatchJob\"-\202\323\344\223\002\'\022%/v1beta/{name" + + "=projects/*/patchJobs/*}\022\246\001\n\016CancelPatch" + + "Job\0223.google.cloud.osconfig.v1beta.Cance" + + "lPatchJobRequest\032&.google.cloud.osconfig" + + ".v1beta.PatchJob\"7\202\323\344\223\0021\",/v1beta/{name=" + + "projects/*/patchJobs/*}:cancel:\001*\022\247\001\n\rLi" + + "stPatchJobs\0222.google.cloud.osconfig.v1be" + + "ta.ListPatchJobsRequest\0323.google.cloud.o" + + "sconfig.v1beta.ListPatchJobsResponse\"-\202\323" + + "\344\223\002\'\022%/v1beta/{parent=projects/*}/patchJ" + + "obs\022\354\001\n\033ListPatchJobInstanceDetails\022@.go" + + "ogle.cloud.osconfig.v1beta.ListPatchJobI" + + "nstanceDetailsRequest\032A.google.cloud.osc" + + "onfig.v1beta.ListPatchJobInstanceDetails" + + "Response\"H\202\323\344\223\0029\0227/v1beta/{parent=projec" + + "ts/*/patchJobs/*}/instanceDetails\332A\006pare" + + "nt\022\312\001\n\025CreatePatchDeployment\022:.google.cl" + + "oud.osconfig.v1beta.CreatePatchDeploymen" + + "tRequest\032-.google.cloud.osconfig.v1beta." + + "PatchDeployment\"F\202\323\344\223\002@\",/v1beta/{parent" + + "=projects/*}/patchDeployments:\020patch_dep" + + "loyment\022\262\001\n\022GetPatchDeployment\0227.google." + + "cloud.osconfig.v1beta.GetPatchDeployment" + + "Request\032-.google.cloud.osconfig.v1beta.P" + + "atchDeployment\"4\202\323\344\223\002.\022,/v1beta/{name=pr" + + "ojects/*/patchDeployments/*}\022\303\001\n\024ListPat" + + "chDeployments\0229.google.cloud.osconfig.v1" + + "beta.ListPatchDeploymentsRequest\032:.googl" + + "e.cloud.osconfig.v1beta.ListPatchDeploym" + + "entsResponse\"4\202\323\344\223\002.\022,/v1beta/{parent=pr" + + "ojects/*}/patchDeployments\022\241\001\n\025DeletePat" + + "chDeployment\022:.google.cloud.osconfig.v1b" + + "eta.DeletePatchDeploymentRequest\032\026.googl" + + "e.protobuf.Empty\"4\202\323\344\223\002.*,/v1beta/{name=" + + "projects/*/patchDeployments/*}\022\372\001\n\025Updat" + + "ePatchDeployment\022:.google.cloud.osconfig" + + ".v1beta.UpdatePatchDeploymentRequest\032-.g" + + "oogle.cloud.osconfig.v1beta.PatchDeploym" + + "ent\"v\202\323\344\223\002Q2=/v1beta/{patch_deployment.n" + + "ame=projects/*/patchDeployments/*}:\020patc" + + "h_deployment\332A\034patch_deployment,update_m" + + "ask\022\306\001\n\024PausePatchDeployment\0229.google.cl" + + "oud.osconfig.v1beta.PausePatchDeployment" + + "Request\032-.google.cloud.osconfig.v1beta.P" + + "atchDeployment\"D\202\323\344\223\0027\"2/v1beta/{name=pr" + + "ojects/*/patchDeployments/*}:pause:\001*\332A\004" + + "name\022\311\001\n\025ResumePatchDeployment\022:.google." + + "cloud.osconfig.v1beta.ResumePatchDeploym" + + "entRequest\032-.google.cloud.osconfig.v1bet" + + "a.PatchDeployment\"E\202\323\344\223\0028\"3/v1beta/{name" + + "=projects/*/patchDeployments/*}:resume:\001" + + "*\332A\004name\022\316\001\n\021CreateGuestPolicy\0226.google." + + "cloud.osconfig.v1beta.CreateGuestPolicyR" + + "equest\032).google.cloud.osconfig.v1beta.Gu" + + "estPolicy\"V\202\323\344\223\0029\")/v1beta/{parent=proje" + + "cts/*}/guestPolicies:\014guest_policy\332A\024par" + + "ent, guest_policy\022\252\001\n\016GetGuestPolicy\0223.g" + + "oogle.cloud.osconfig.v1beta.GetGuestPoli" + + "cyRequest\032).google.cloud.osconfig.v1beta" + + ".GuestPolicy\"8\202\323\344\223\002+\022)/v1beta/{name=proj" + + "ects/*/guestPolicies/*}\332A\004name\022\300\001\n\021ListG" + + "uestPolicies\0226.google.cloud.osconfig.v1b" + + "eta.ListGuestPoliciesRequest\0327.google.cl" + + "oud.osconfig.v1beta.ListGuestPoliciesRes" + + "ponse\":\202\323\344\223\002+\022)/v1beta/{parent=projects/" + + "*}/guestPolicies\332A\006parent\022\337\001\n\021UpdateGues" + + "tPolicy\0226.google.cloud.osconfig.v1beta.U" + + "pdateGuestPolicyRequest\032).google.cloud.o" + + "sconfig.v1beta.GuestPolicy\"g\202\323\344\223\002F26/v1b" + + "eta/{guest_policy.name=projects/*/guestP" + + "olicies/*}:\014guest_policy\332A\030guest_policy," + + "update_mask\022\235\001\n\021DeleteGuestPolicy\0226.goog" + + "le.cloud.osconfig.v1beta.DeleteGuestPoli" + + "cyRequest\032\026.google.protobuf.Empty\"8\202\323\344\223\002" + + "+*)/v1beta/{name=projects/*/guestPolicie" + + "s/*}\332A\004name\022\352\001\n\032LookupEffectiveGuestPoli" + + "cy\022?.google.cloud.osconfig.v1beta.Lookup" + + "EffectiveGuestPolicyRequest\0322.google.clo" + + "ud.osconfig.v1beta.EffectiveGuestPolicy\"" + + "W\202\323\344\223\002Q\"L/v1beta/{instance=projects/*/zo" + + "nes/*/instances/*}:lookupEffectiveGuestP" + + "olicy:\001*\032K\312A\027osconfig.googleapis.com\322A.h" + + "ttps://www.googleapis.com/auth/cloud-pla" + + "tformBw\n com.google.cloud.osconfig.v1bet" + + "aB\rOsConfigProtoZDgoogle.golang.org/genp" + + "roto/googleapis/cloud/osconfig/v1beta;os" + + "configb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.cloud.osconfig.v1beta.GuestPolicies.getDescriptor(), + com.google.cloud.osconfig.v1beta.PatchDeployments.getDescriptor(), + com.google.cloud.osconfig.v1beta.PatchJobs.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.cloud.osconfig.v1beta.GuestPolicies.getDescriptor(); + com.google.cloud.osconfig.v1beta.PatchDeployments.getDescriptor(); + com.google.cloud.osconfig.v1beta.PatchJobs.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeploymentName.java b/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeploymentName.java similarity index 100% rename from owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeploymentName.java rename to proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeploymentName.java diff --git a/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeployments.java b/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeployments.java similarity index 63% rename from owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeployments.java rename to proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeployments.java index 1c69fe70..ff5587c2 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeployments.java +++ b/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchDeployments.java @@ -1,3 +1,18 @@ +/* + * 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/osconfig/v1beta/patch_deployments.proto @@ -5,20 +20,21 @@ public final class PatchDeployments { private PatchDeployments() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } - public interface PatchDeploymentOrBuilder extends + + public interface PatchDeploymentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PatchDeployment) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Unique name for the patch deployment resource in a project. The patch
      * deployment name is in the form:
@@ -27,10 +43,13 @@ public interface PatchDeploymentOrBuilder extends
      * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Unique name for the patch deployment resource in a project. The patch
      * deployment name is in the form:
@@ -39,310 +58,454 @@ public interface PatchDeploymentOrBuilder extends
      * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * Optional. Description of the patch deployment. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * Optional. Description of the patch deployment. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * Required. VM instances to patch.
      * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceFilter field is set. */ boolean hasInstanceFilter(); /** + * + * *
      * Required. VM instances to patch.
      * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceFilter. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanceFilter(); /** + * + * *
      * Required. VM instances to patch.
      * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder + getInstanceFilterOrBuilder(); /** + * + * *
      * Optional. Patch configuration that is applied.
      * 
* - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the patchConfig field is set. */ boolean hasPatchConfig(); /** + * + * *
      * Optional. Patch configuration that is applied.
      * 
* - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The patchConfig. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig(); /** + * + * *
      * Optional. Patch configuration that is applied.
      * 
* - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder(); /** + * + * *
      * Optional. Duration of the patch. After the duration ends, the patch times out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the duration field is set. */ boolean hasDuration(); /** + * + * *
      * Optional. Duration of the patch. After the duration ends, the patch times out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** + * + * *
      * Optional. Duration of the patch. After the duration ends, the patch times out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); /** + * + * *
      * Required. Schedule a one-time execution.
      * 
* - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the oneTimeSchedule field is set. */ boolean hasOneTimeSchedule(); /** + * + * *
      * Required. Schedule a one-time execution.
      * 
* - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The oneTimeSchedule. */ com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule getOneTimeSchedule(); /** + * + * *
      * Required. Schedule a one-time execution.
      * 
* - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder getOneTimeScheduleOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder + getOneTimeScheduleOrBuilder(); /** + * + * *
      * Required. Schedule recurring executions.
      * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the recurringSchedule field is set. */ boolean hasRecurringSchedule(); /** + * + * *
      * Required. Schedule recurring executions.
      * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The recurringSchedule. */ com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule getRecurringSchedule(); /** + * + * *
      * Required. Schedule recurring executions.
      * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder getRecurringScheduleOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder + getRecurringScheduleOrBuilder(); /** + * + * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastExecuteTime field is set. */ boolean hasLastExecuteTime(); /** + * + * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastExecuteTime. */ com.google.protobuf.Timestamp getLastExecuteTime(); /** + * + * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder(); /** + * + * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rollout field is set. */ boolean hasRollout(); /** + * + * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rollout. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getRollout(); /** + * + * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder(); /** + * + * *
      * Output only. Current state of the patch deployment.
      * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
      * Output only. Current state of the patch deployment.
      * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State getState(); - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.ScheduleCase getScheduleCase(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.ScheduleCase + getScheduleCase(); } /** + * + * *
    * Patch deployments are configurations that individual patch jobs use to
    * complete a patch. These configurations include instance filter, package
@@ -353,15 +516,16 @@ public interface PatchDeploymentOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.PatchDeployment}
    */
-  public static final class PatchDeployment extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PatchDeployment extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PatchDeployment)
       PatchDeploymentOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PatchDeployment.newBuilder() to construct.
     private PatchDeployment(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PatchDeployment() {
       name_ = "";
       description_ = "";
@@ -370,16 +534,15 @@ private PatchDeployment() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PatchDeployment();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PatchDeployment(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -398,150 +561,193 @@ private PatchDeployment(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              name_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              description_ = s;
-              break;
-            }
-            case 26: {
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder subBuilder = null;
-              if (instanceFilter_ != null) {
-                subBuilder = instanceFilter_.toBuilder();
-              }
-              instanceFilter_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(instanceFilter_);
-                instanceFilter_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-            case 34: {
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder subBuilder = null;
-              if (patchConfig_ != null) {
-                subBuilder = patchConfig_.toBuilder();
-              }
-              patchConfig_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(patchConfig_);
-                patchConfig_ = subBuilder.buildPartial();
-              }
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              break;
-            }
-            case 42: {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (duration_ != null) {
-                subBuilder = duration_.toBuilder();
-              }
-              duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(duration_);
-                duration_ = subBuilder.buildPartial();
+                name_ = s;
+                break;
               }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              break;
-            }
-            case 50: {
-              com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder subBuilder = null;
-              if (scheduleCase_ == 6) {
-                subBuilder = ((com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_).toBuilder();
+                description_ = s;
+                break;
               }
-              schedule_ =
-                  input.readMessage(com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_);
-                schedule_ = subBuilder.buildPartial();
+            case 26:
+              {
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder subBuilder =
+                    null;
+                if (instanceFilter_ != null) {
+                  subBuilder = instanceFilter_.toBuilder();
+                }
+                instanceFilter_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(instanceFilter_);
+                  instanceFilter_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              scheduleCase_ = 6;
-              break;
-            }
-            case 58: {
-              com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder subBuilder = null;
-              if (scheduleCase_ == 7) {
-                subBuilder = ((com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_).toBuilder();
+            case 34:
+              {
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder subBuilder = null;
+                if (patchConfig_ != null) {
+                  subBuilder = patchConfig_.toBuilder();
+                }
+                patchConfig_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(patchConfig_);
+                  patchConfig_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              schedule_ =
-                  input.readMessage(com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_);
-                schedule_ = subBuilder.buildPartial();
+            case 42:
+              {
+                com.google.protobuf.Duration.Builder subBuilder = null;
+                if (duration_ != null) {
+                  subBuilder = duration_.toBuilder();
+                }
+                duration_ =
+                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(duration_);
+                  duration_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              scheduleCase_ = 7;
-              break;
-            }
-            case 66: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
+            case 50:
+              {
+                com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder
+                    subBuilder = null;
+                if (scheduleCase_ == 6) {
+                  subBuilder =
+                      ((com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule)
+                              schedule_)
+                          .toBuilder();
+                }
+                schedule_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule)
+                          schedule_);
+                  schedule_ = subBuilder.buildPartial();
+                }
+                scheduleCase_ = 6;
+                break;
               }
-              createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
+            case 58:
+              {
+                com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder
+                    subBuilder = null;
+                if (scheduleCase_ == 7) {
+                  subBuilder =
+                      ((com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule)
+                              schedule_)
+                          .toBuilder();
+                }
+                schedule_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule
+                            .parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule)
+                          schedule_);
+                  schedule_ = subBuilder.buildPartial();
+                }
+                scheduleCase_ = 7;
+                break;
               }
-
-              break;
-            }
-            case 74: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
+            case 66:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (createTime_ != null) {
+                  subBuilder = createTime_.toBuilder();
+                }
+                createTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(createTime_);
+                  createTime_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
+            case 74:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (updateTime_ != null) {
+                  subBuilder = updateTime_.toBuilder();
+                }
+                updateTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(updateTime_);
+                  updateTime_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-
-              break;
-            }
-            case 82: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (lastExecuteTime_ != null) {
-                subBuilder = lastExecuteTime_.toBuilder();
+            case 82:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (lastExecuteTime_ != null) {
+                  subBuilder = lastExecuteTime_.toBuilder();
+                }
+                lastExecuteTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(lastExecuteTime_);
+                  lastExecuteTime_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              lastExecuteTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(lastExecuteTime_);
-                lastExecuteTime_ = subBuilder.buildPartial();
+            case 90:
+              {
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder subBuilder = null;
+                if (rollout_ != null) {
+                  subBuilder = rollout_.toBuilder();
+                }
+                rollout_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(rollout_);
+                  rollout_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
+            case 96:
+              {
+                int rawValue = input.readEnum();
 
-              break;
-            }
-            case 90: {
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder subBuilder = null;
-              if (rollout_ != null) {
-                subBuilder = rollout_.toBuilder();
-              }
-              rollout_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rollout_);
-                rollout_ = subBuilder.buildPartial();
+                state_ = rawValue;
+                break;
               }
-
-              break;
-            }
-            case 96: {
-              int rawValue = input.readEnum();
-
-              state_ = rawValue;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -549,36 +755,41 @@ private PatchDeployment(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchDeployments
+          .internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PatchDeployment_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchDeployments
+          .internal_static_google_cloud_osconfig_v1beta_PatchDeployment_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class,
+              com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * Represents state of patch peployment.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.PatchDeployment.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The default value. This value is used if the state is omitted.
        * 
@@ -587,6 +798,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
        * Active value means that patch deployment generates Patch Jobs.
        * 
@@ -595,6 +808,8 @@ public enum State */ ACTIVE(1), /** + * + * *
        * Paused value means that patch deployment does not generate
        * Patch jobs. Requires user action to move in and out from this state.
@@ -607,6 +822,8 @@ public enum State
       ;
 
       /**
+       *
+       *
        * 
        * The default value. This value is used if the state is omitted.
        * 
@@ -615,6 +832,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Active value means that patch deployment generates Patch Jobs.
        * 
@@ -623,6 +842,8 @@ public enum State */ public static final int ACTIVE_VALUE = 1; /** + * + * *
        * Paused value means that patch deployment does not generate
        * Patch jobs. Requires user action to move in and out from this state.
@@ -632,7 +853,6 @@ public enum State
        */
       public static final int PAUSED_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -657,49 +877,51 @@ public static State valueOf(int value) {
        */
       public static State forNumber(int value) {
         switch (value) {
-          case 0: return STATE_UNSPECIFIED;
-          case 1: return ACTIVE;
-          case 2: return PAUSED;
-          default: return null;
+          case 0:
+            return STATE_UNSPECIFIED;
+          case 1:
+            return ACTIVE;
+          case 2:
+            return PAUSED;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          State> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public State findValueByNumber(int number) {
-                return State.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final State[] VALUES = values();
 
-      public static State valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -718,13 +940,16 @@ private State(int value) {
 
     private int scheduleCase_ = 0;
     private java.lang.Object schedule_;
+
     public enum ScheduleCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       ONE_TIME_SCHEDULE(6),
       RECURRING_SCHEDULE(7),
       SCHEDULE_NOT_SET(0);
       private final int value;
+
       private ScheduleCase(int value) {
         this.value = value;
       }
@@ -740,26 +965,31 @@ public static ScheduleCase valueOf(int value) {
 
       public static ScheduleCase forNumber(int value) {
         switch (value) {
-          case 6: return ONE_TIME_SCHEDULE;
-          case 7: return RECURRING_SCHEDULE;
-          case 0: return SCHEDULE_NOT_SET;
-          default: return null;
+          case 6:
+            return ONE_TIME_SCHEDULE;
+          case 7:
+            return RECURRING_SCHEDULE;
+          case 0:
+            return SCHEDULE_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ScheduleCase
-    getScheduleCase() {
-      return ScheduleCase.forNumber(
-          scheduleCase_);
+    public ScheduleCase getScheduleCase() {
+      return ScheduleCase.forNumber(scheduleCase_);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object name_;
     /**
+     *
+     *
      * 
      * Unique name for the patch deployment resource in a project. The patch
      * deployment name is in the form:
@@ -768,6 +998,7 @@ public int getNumber() {
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -776,14 +1007,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Unique name for the patch deployment resource in a project. The patch
      * deployment name is in the form:
@@ -792,16 +1024,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -812,12 +1043,15 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
      * Optional. Description of the patch deployment. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -826,30 +1060,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * Optional. Description of the patch deployment. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -860,11 +1094,16 @@ public java.lang.String getDescription() { public static final int INSTANCE_FILTER_FIELD_NUMBER = 3; private com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter instanceFilter_; /** + * + * *
      * Required. VM instances to patch.
      * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceFilter field is set. */ @java.lang.Override @@ -872,37 +1111,54 @@ public boolean hasInstanceFilter() { return instanceFilter_ != null; } /** + * + * *
      * Required. VM instances to patch.
      * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceFilter. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanceFilter() { - return instanceFilter_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() + : instanceFilter_; } /** + * + * *
      * Required. VM instances to patch.
      * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder + getInstanceFilterOrBuilder() { return getInstanceFilter(); } public static final int PATCH_CONFIG_FIELD_NUMBER = 4; private com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig patchConfig_; /** + * + * *
      * Optional. Patch configuration that is applied.
      * 
* - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the patchConfig field is set. */ @java.lang.Override @@ -910,37 +1166,53 @@ public boolean hasPatchConfig() { return patchConfig_ != null; } /** + * + * *
      * Optional. Patch configuration that is applied.
      * 
* - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The patchConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig() { - return patchConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; + return patchConfig_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() + : patchConfig_; } /** + * + * *
      * Optional. Patch configuration that is applied.
      * 
* - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder + getPatchConfigOrBuilder() { return getPatchConfig(); } public static final int DURATION_FIELD_NUMBER = 5; private com.google.protobuf.Duration duration_; /** + * + * *
      * Optional. Duration of the patch. After the duration ends, the patch times out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the duration field is set. */ @java.lang.Override @@ -948,11 +1220,15 @@ public boolean hasDuration() { return duration_ != null; } /** + * + * *
      * Optional. Duration of the patch. After the duration ends, the patch times out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The duration. */ @java.lang.Override @@ -960,11 +1236,14 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** + * + * *
      * Optional. Duration of the patch. After the duration ends, the patch times out.
      * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { @@ -973,11 +1252,16 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { public static final int ONE_TIME_SCHEDULE_FIELD_NUMBER = 6; /** + * + * *
      * Required. Schedule a one-time execution.
      * 
* - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the oneTimeSchedule field is set. */ @java.lang.Override @@ -985,42 +1269,57 @@ public boolean hasOneTimeSchedule() { return scheduleCase_ == 6; } /** + * + * *
      * Required. Schedule a one-time execution.
      * 
* - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The oneTimeSchedule. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule getOneTimeSchedule() { if (scheduleCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_; } return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.getDefaultInstance(); } /** + * + * *
      * Required. Schedule a one-time execution.
      * 
* - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder getOneTimeScheduleOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder + getOneTimeScheduleOrBuilder() { if (scheduleCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_; } return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.getDefaultInstance(); } public static final int RECURRING_SCHEDULE_FIELD_NUMBER = 7; /** + * + * *
      * Required. Schedule recurring executions.
      * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the recurringSchedule field is set. */ @java.lang.Override @@ -1028,44 +1327,62 @@ public boolean hasRecurringSchedule() { return scheduleCase_ == 7; } /** + * + * *
      * Required. Schedule recurring executions.
      * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The recurringSchedule. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule getRecurringSchedule() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule + getRecurringSchedule() { if (scheduleCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule + .getDefaultInstance(); } /** + * + * *
      * Required. Schedule recurring executions.
      * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder getRecurringScheduleOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder + getRecurringScheduleOrBuilder() { if (scheduleCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule + .getDefaultInstance(); } public static final int CREATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp createTime_; /** + * + * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1073,12 +1390,17 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -1086,12 +1408,16 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
      * Output only. Time the patch deployment was created. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1101,12 +1427,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1114,12 +1445,17 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -1127,12 +1463,16 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
      * Output only. Time the patch deployment was last updated. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1142,13 +1482,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int LAST_EXECUTE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp lastExecuteTime_; /** + * + * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastExecuteTime field is set. */ @java.lang.Override @@ -1156,27 +1501,38 @@ public boolean hasLastExecuteTime() { return lastExecuteTime_ != null; } /** + * + * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastExecuteTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastExecuteTime() { - return lastExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; + return lastExecuteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastExecuteTime_; } /** + * + * *
      * Output only. The last time a patch job was started by this deployment.
      * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
      * format.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { @@ -1186,11 +1542,16 @@ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { public static final int ROLLOUT_FIELD_NUMBER = 11; private com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout rollout_; /** + * + * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rollout field is set. */ @java.lang.Override @@ -1198,23 +1559,34 @@ public boolean hasRollout() { return rollout_ != null; } /** + * + * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rollout. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getRollout() { - return rollout_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() + : rollout_; } /** + * + * *
      * Optional. Rollout strategy of the patch job.
      * 
* - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder() { @@ -1224,31 +1596,47 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRollo public static final int STATE_FIELD_NUMBER = 12; private int state_; /** + * + * *
      * Output only. Current state of the patch deployment.
      * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. Current state of the patch deployment.
      * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State getState() { + @java.lang.Override + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State result = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State result = + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.valueOf(state_); + return result == null + ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1260,8 +1648,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -1278,10 +1665,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(5, getDuration()); } if (scheduleCase_ == 6) { - output.writeMessage(6, (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_); + output.writeMessage( + 6, (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_); } if (scheduleCase_ == 7) { - output.writeMessage(7, (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_); + output.writeMessage( + 7, (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_); } if (createTime_ != null) { output.writeMessage(8, getCreateTime()); @@ -1295,7 +1684,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (rollout_ != null) { output.writeMessage(11, getRollout()); } - if (state_ != com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State + .STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(12, state_); } unknownFields.writeTo(output); @@ -1314,44 +1706,41 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (instanceFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getInstanceFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstanceFilter()); } if (patchConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getPatchConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPatchConfig()); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDuration()); } if (scheduleCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_); } if (scheduleCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getUpdateTime()); } if (lastExecuteTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getLastExecuteTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getLastExecuteTime()); } if (rollout_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getRollout()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getRollout()); } - if (state_ != com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(12, state_); + if (state_ + != com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State + .STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, state_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1361,62 +1750,52 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment other = (com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment other = + (com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasInstanceFilter() != other.hasInstanceFilter()) return false; if (hasInstanceFilter()) { - if (!getInstanceFilter() - .equals(other.getInstanceFilter())) return false; + if (!getInstanceFilter().equals(other.getInstanceFilter())) return false; } if (hasPatchConfig() != other.hasPatchConfig()) return false; if (hasPatchConfig()) { - if (!getPatchConfig() - .equals(other.getPatchConfig())) return false; + if (!getPatchConfig().equals(other.getPatchConfig())) return false; } if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration() - .equals(other.getDuration())) return false; + if (!getDuration().equals(other.getDuration())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (hasLastExecuteTime() != other.hasLastExecuteTime()) return false; if (hasLastExecuteTime()) { - if (!getLastExecuteTime() - .equals(other.getLastExecuteTime())) return false; + if (!getLastExecuteTime().equals(other.getLastExecuteTime())) return false; } if (hasRollout() != other.hasRollout()) return false; if (hasRollout()) { - if (!getRollout() - .equals(other.getRollout())) return false; + if (!getRollout().equals(other.getRollout())) return false; } if (state_ != other.state_) return false; if (!getScheduleCase().equals(other.getScheduleCase())) return false; switch (scheduleCase_) { case 6: - if (!getOneTimeSchedule() - .equals(other.getOneTimeSchedule())) return false; + if (!getOneTimeSchedule().equals(other.getOneTimeSchedule())) return false; break; case 7: - if (!getRecurringSchedule() - .equals(other.getRecurringSchedule())) return false; + if (!getRecurringSchedule().equals(other.getRecurringSchedule())) return false; break; case 0: default: @@ -1484,87 +1863,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment 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.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment 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.osconfig.v1beta.PatchDeployments.PatchDeployment + 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.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1574,6 +1961,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Patch deployments are configurations that individual patch jobs use to
      * complete a patch. These configurations include instance filter, package
@@ -1584,38 +1973,41 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.PatchDeployment}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PatchDeployment)
         com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments
+            .internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PatchDeployment_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchDeployments
+            .internal_static_google_cloud_osconfig_v1beta_PatchDeployment_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.class,
+                com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder.class);
       }
 
-      // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.newBuilder()
+      // Construct using
+      // com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1673,14 +2065,16 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments
+            .internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getDefaultInstanceForType() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance();
+      public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment
+          getDefaultInstanceForType() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -1694,7 +2088,8 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment build()
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment result = new com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment(this);
+        com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment result =
+            new com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment(this);
         result.name_ = name_;
         result.description_ = description_;
         if (instanceFilterBuilder_ == null) {
@@ -1756,46 +2151,53 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment buildPa
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchDeployments.PatchDeployment) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment)other);
+          return mergeFrom(
+              (com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment other) {
-        if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment other) {
+        if (other
+            == com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment
+                .getDefaultInstance()) return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -1829,17 +2231,20 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.Patch
           setStateValue(other.getStateValue());
         }
         switch (other.getScheduleCase()) {
-          case ONE_TIME_SCHEDULE: {
-            mergeOneTimeSchedule(other.getOneTimeSchedule());
-            break;
-          }
-          case RECURRING_SCHEDULE: {
-            mergeRecurringSchedule(other.getRecurringSchedule());
-            break;
-          }
-          case SCHEDULE_NOT_SET: {
-            break;
-          }
+          case ONE_TIME_SCHEDULE:
+            {
+              mergeOneTimeSchedule(other.getOneTimeSchedule());
+              break;
+            }
+          case RECURRING_SCHEDULE:
+            {
+              mergeRecurringSchedule(other.getRecurringSchedule());
+              break;
+            }
+          case SCHEDULE_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -1860,7 +2265,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1869,12 +2276,12 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int scheduleCase_ = 0;
       private java.lang.Object schedule_;
-      public ScheduleCase
-          getScheduleCase() {
-        return ScheduleCase.forNumber(
-            scheduleCase_);
+
+      public ScheduleCase getScheduleCase() {
+        return ScheduleCase.forNumber(scheduleCase_);
       }
 
       public Builder clearSchedule() {
@@ -1884,9 +2291,10 @@ public Builder clearSchedule() {
         return this;
       }
 
-
       private java.lang.Object name_ = "";
       /**
+       *
+       *
        * 
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -1895,13 +2303,13 @@ public Builder clearSchedule() {
        * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1910,6 +2318,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -1918,15 +2328,14 @@ public java.lang.String getName() {
        * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1934,6 +2343,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -1942,20 +2353,22 @@ public java.lang.String getName() {
        * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -1964,15 +2377,18 @@ public Builder setName(
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Unique name for the patch deployment resource in a project. The patch
        * deployment name is in the form:
@@ -1981,16 +2397,16 @@ public Builder clearName() {
        * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1998,19 +2414,21 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
        * Optional. Description of the patch deployment. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2019,21 +2437,22 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Optional. Description of the patch deployment. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2041,57 +2460,64 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Optional. Description of the patch deployment. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
        * Optional. Description of the patch deployment. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
        * Optional. Description of the patch deployment. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2099,41 +2525,61 @@ public Builder setDescriptionBytes( private com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter instanceFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> instanceFilterBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> + instanceFilterBuilder_; /** + * + * *
        * Required. VM instances to patch.
        * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceFilter field is set. */ public boolean hasInstanceFilter() { return instanceFilterBuilder_ != null || instanceFilter_ != null; } /** + * + * *
        * Required. VM instances to patch.
        * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceFilter. */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanceFilter() { if (instanceFilterBuilder_ == null) { - return instanceFilter_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() + : instanceFilter_; } else { return instanceFilterBuilder_.getMessage(); } } /** + * + * *
        * Required. VM instances to patch.
        * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInstanceFilter(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { + public Builder setInstanceFilter( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2147,11 +2593,15 @@ public Builder setInstanceFilter(com.google.cloud.osconfig.v1beta.PatchJobs.Patc return this; } /** + * + * *
        * Required. VM instances to patch.
        * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstanceFilter( com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder builderForValue) { @@ -2165,17 +2615,25 @@ public Builder setInstanceFilter( return this; } /** + * + * *
        * Required. VM instances to patch.
        * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { + public Builder mergeInstanceFilter( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (instanceFilter_ != null) { instanceFilter_ = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.newBuilder(instanceFilter_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.newBuilder( + instanceFilter_) + .mergeFrom(value) + .buildPartial(); } else { instanceFilter_ = value; } @@ -2187,11 +2645,15 @@ public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1beta.PatchJobs.Pa return this; } /** + * + * *
        * Required. VM instances to patch.
        * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstanceFilter() { if (instanceFilterBuilder_ == null) { @@ -2205,48 +2667,66 @@ public Builder clearInstanceFilter() { return this; } /** + * + * *
        * Required. VM instances to patch.
        * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder + getInstanceFilterBuilder() { + onChanged(); return getInstanceFilterFieldBuilder().getBuilder(); } /** + * + * *
        * Required. VM instances to patch.
        * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder + getInstanceFilterOrBuilder() { if (instanceFilterBuilder_ != null) { return instanceFilterBuilder_.getMessageOrBuilder(); } else { - return instanceFilter_ == null ? - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() + : instanceFilter_; } } /** + * + * *
        * Required. VM instances to patch.
        * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> getInstanceFilterFieldBuilder() { if (instanceFilterBuilder_ == null) { - instanceFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder>( - getInstanceFilter(), - getParentForChildren(), - isClean()); + instanceFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder>( + getInstanceFilter(), getParentForChildren(), isClean()); instanceFilter_ = null; } return instanceFilterBuilder_; @@ -2254,39 +2734,58 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder g private com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig patchConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> patchConfigBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> + patchConfigBuilder_; /** + * + * *
        * Optional. Patch configuration that is applied.
        * 
* - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the patchConfig field is set. */ public boolean hasPatchConfig() { return patchConfigBuilder_ != null || patchConfig_ != null; } /** + * + * *
        * Optional. Patch configuration that is applied.
        * 
* - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The patchConfig. */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig() { if (patchConfigBuilder_ == null) { - return patchConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; + return patchConfig_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() + : patchConfig_; } else { return patchConfigBuilder_.getMessage(); } } /** + * + * *
        * Optional. Patch configuration that is applied.
        * 
* - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPatchConfig(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig value) { if (patchConfigBuilder_ == null) { @@ -2302,11 +2801,15 @@ public Builder setPatchConfig(com.google.cloud.osconfig.v1beta.PatchJobs.PatchCo return this; } /** + * + * *
        * Optional. Patch configuration that is applied.
        * 
* - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPatchConfig( com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder builderForValue) { @@ -2320,17 +2823,24 @@ public Builder setPatchConfig( return this; } /** + * + * *
        * Optional. Patch configuration that is applied.
        * 
* - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergePatchConfig(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig value) { + public Builder mergePatchConfig( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig value) { if (patchConfigBuilder_ == null) { if (patchConfig_ != null) { patchConfig_ = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.newBuilder(patchConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.newBuilder(patchConfig_) + .mergeFrom(value) + .buildPartial(); } else { patchConfig_ = value; } @@ -2342,11 +2852,15 @@ public Builder mergePatchConfig(com.google.cloud.osconfig.v1beta.PatchJobs.Patch return this; } /** + * + * *
        * Optional. Patch configuration that is applied.
        * 
* - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearPatchConfig() { if (patchConfigBuilder_ == null) { @@ -2360,48 +2874,66 @@ public Builder clearPatchConfig() { return this; } /** + * + * *
        * Optional. Patch configuration that is applied.
        * 
* - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder getPatchConfigBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder + getPatchConfigBuilder() { + onChanged(); return getPatchConfigFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Patch configuration that is applied.
        * 
* - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder + getPatchConfigOrBuilder() { if (patchConfigBuilder_ != null) { return patchConfigBuilder_.getMessageOrBuilder(); } else { - return patchConfig_ == null ? - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; + return patchConfig_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() + : patchConfig_; } } /** + * + * *
        * Optional. Patch configuration that is applied.
        * 
* - * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> getPatchConfigFieldBuilder() { if (patchConfigBuilder_ == null) { - patchConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder>( - getPatchConfig(), - getParentForChildren(), - isClean()); + patchConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder>( + getPatchConfig(), getParentForChildren(), isClean()); patchConfig_ = null; } return patchConfigBuilder_; @@ -2409,24 +2941,35 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchC private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + durationBuilder_; /** + * + * *
        * Optional. Duration of the patch. After the duration ends, the patch times out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** + * + * *
        * Optional. Duration of the patch. After the duration ends, the patch times out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -2437,11 +2980,14 @@ public com.google.protobuf.Duration getDuration() { } } /** + * + * *
        * Optional. Duration of the patch. After the duration ends, the patch times out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { @@ -2457,14 +3003,16 @@ public Builder setDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Optional. Duration of the patch. After the duration ends, the patch times out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) { if (durationBuilder_ == null) { duration_ = builderForValue.build(); onChanged(); @@ -2475,17 +3023,20 @@ public Builder setDuration( return this; } /** + * + * *
        * Optional. Duration of the patch. After the duration ends, the patch times out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { if (duration_ != null) { duration_ = - com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); } else { duration_ = value; } @@ -2497,11 +3048,14 @@ public Builder mergeDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Optional. Duration of the patch. After the duration ends, the patch times out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearDuration() { if (durationBuilder_ == null) { @@ -2515,61 +3069,80 @@ public Builder clearDuration() { return this; } /** + * + * *
        * Optional. Duration of the patch. After the duration ends, the patch times out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Duration.Builder getDurationBuilder() { - + onChanged(); return getDurationFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Duration of the patch. After the duration ends, the patch times out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { if (durationBuilder_ != null) { return durationBuilder_.getMessageOrBuilder(); } else { - return duration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : duration_; + return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } } /** + * + * *
        * Optional. Duration of the patch. After the duration ends, the patch times out.
        * 
* - * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getDurationFieldBuilder() { if (durationBuilder_ == null) { - durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getDuration(), - getParentForChildren(), - isClean()); + durationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getDuration(), getParentForChildren(), isClean()); duration_ = null; } return durationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder> oneTimeScheduleBuilder_; + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule, + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder> + oneTimeScheduleBuilder_; /** + * + * *
        * Required. Schedule a one-time execution.
        * 
* - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the oneTimeSchedule field is set. */ @java.lang.Override @@ -2577,35 +3150,48 @@ public boolean hasOneTimeSchedule() { return scheduleCase_ == 6; } /** + * + * *
        * Required. Schedule a one-time execution.
        * 
* - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The oneTimeSchedule. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule getOneTimeSchedule() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule + getOneTimeSchedule() { if (oneTimeScheduleBuilder_ == null) { if (scheduleCase_ == 6) { return (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule + .getDefaultInstance(); } else { if (scheduleCase_ == 6) { return oneTimeScheduleBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule + .getDefaultInstance(); } } /** + * + * *
        * Required. Schedule a one-time execution.
        * 
* - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setOneTimeSchedule(com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule value) { + public Builder setOneTimeSchedule( + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule value) { if (oneTimeScheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2619,14 +3205,19 @@ public Builder setOneTimeSchedule(com.google.cloud.osconfig.v1beta.PatchDeployme return this; } /** + * + * *
        * Required. Schedule a one-time execution.
        * 
* - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOneTimeSchedule( - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder + builderForValue) { if (oneTimeScheduleBuilder_ == null) { schedule_ = builderForValue.build(); onChanged(); @@ -2637,18 +3228,29 @@ public Builder setOneTimeSchedule( return this; } /** + * + * *
        * Required. Schedule a one-time execution.
        * 
* - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeOneTimeSchedule(com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule value) { + public Builder mergeOneTimeSchedule( + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule value) { if (oneTimeScheduleBuilder_ == null) { - if (scheduleCase_ == 6 && - schedule_ != com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.getDefaultInstance()) { - schedule_ = com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.newBuilder((com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_) - .mergeFrom(value).buildPartial(); + if (scheduleCase_ == 6 + && schedule_ + != com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule + .getDefaultInstance()) { + schedule_ = + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.newBuilder( + (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) + schedule_) + .mergeFrom(value) + .buildPartial(); } else { schedule_ = value; } @@ -2664,11 +3266,15 @@ public Builder mergeOneTimeSchedule(com.google.cloud.osconfig.v1beta.PatchDeploy return this; } /** + * + * *
        * Required. Schedule a one-time execution.
        * 
* - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOneTimeSchedule() { if (oneTimeScheduleBuilder_ == null) { @@ -2687,67 +3293,98 @@ public Builder clearOneTimeSchedule() { return this; } /** + * + * *
        * Required. Schedule a one-time execution.
        * 
* - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder getOneTimeScheduleBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder + getOneTimeScheduleBuilder() { return getOneTimeScheduleFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Schedule a one-time execution.
        * 
* - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder getOneTimeScheduleOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder + getOneTimeScheduleOrBuilder() { if ((scheduleCase_ == 6) && (oneTimeScheduleBuilder_ != null)) { return oneTimeScheduleBuilder_.getMessageOrBuilder(); } else { if (scheduleCase_ == 6) { return (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule + .getDefaultInstance(); } } /** + * + * *
        * Required. Schedule a one-time execution.
        * 
* - * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder> + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule, + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder> getOneTimeScheduleFieldBuilder() { if (oneTimeScheduleBuilder_ == null) { if (!(scheduleCase_ == 6)) { - schedule_ = com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.getDefaultInstance(); + schedule_ = + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule + .getDefaultInstance(); } - oneTimeScheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder>( + oneTimeScheduleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule, + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder>( (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) schedule_, getParentForChildren(), isClean()); schedule_ = null; } scheduleCase_ = 6; - onChanged();; + onChanged(); + ; return oneTimeScheduleBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder> recurringScheduleBuilder_; + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule, + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder> + recurringScheduleBuilder_; /** + * + * *
        * Required. Schedule recurring executions.
        * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the recurringSchedule field is set. */ @java.lang.Override @@ -2755,35 +3392,48 @@ public boolean hasRecurringSchedule() { return scheduleCase_ == 7; } /** + * + * *
        * Required. Schedule recurring executions.
        * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The recurringSchedule. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule getRecurringSchedule() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule + getRecurringSchedule() { if (recurringScheduleBuilder_ == null) { if (scheduleCase_ == 7) { return (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule + .getDefaultInstance(); } else { if (scheduleCase_ == 7) { return recurringScheduleBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule + .getDefaultInstance(); } } /** + * + * *
        * Required. Schedule recurring executions.
        * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setRecurringSchedule(com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule value) { + public Builder setRecurringSchedule( + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule value) { if (recurringScheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2797,14 +3447,19 @@ public Builder setRecurringSchedule(com.google.cloud.osconfig.v1beta.PatchDeploy return this; } /** + * + * *
        * Required. Schedule recurring executions.
        * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRecurringSchedule( - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder + builderForValue) { if (recurringScheduleBuilder_ == null) { schedule_ = builderForValue.build(); onChanged(); @@ -2815,18 +3470,29 @@ public Builder setRecurringSchedule( return this; } /** + * + * *
        * Required. Schedule recurring executions.
        * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeRecurringSchedule(com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule value) { + public Builder mergeRecurringSchedule( + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule value) { if (recurringScheduleBuilder_ == null) { - if (scheduleCase_ == 7 && - schedule_ != com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDefaultInstance()) { - schedule_ = com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.newBuilder((com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_) - .mergeFrom(value).buildPartial(); + if (scheduleCase_ == 7 + && schedule_ + != com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule + .getDefaultInstance()) { + schedule_ = + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.newBuilder( + (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) + schedule_) + .mergeFrom(value) + .buildPartial(); } else { schedule_ = value; } @@ -2842,11 +3508,15 @@ public Builder mergeRecurringSchedule(com.google.cloud.osconfig.v1beta.PatchDepl return this; } /** + * + * *
        * Required. Schedule recurring executions.
        * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRecurringSchedule() { if (recurringScheduleBuilder_ == null) { @@ -2865,97 +3535,139 @@ public Builder clearRecurringSchedule() { return this; } /** + * + * *
        * Required. Schedule recurring executions.
        * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder getRecurringScheduleBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder + getRecurringScheduleBuilder() { return getRecurringScheduleFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Schedule recurring executions.
        * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder getRecurringScheduleOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder + getRecurringScheduleOrBuilder() { if ((scheduleCase_ == 7) && (recurringScheduleBuilder_ != null)) { return recurringScheduleBuilder_.getMessageOrBuilder(); } else { if (scheduleCase_ == 7) { return (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule + .getDefaultInstance(); } } /** + * + * *
        * Required. Schedule recurring executions.
        * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder> + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule, + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder> getRecurringScheduleFieldBuilder() { if (recurringScheduleBuilder_ == null) { if (!(scheduleCase_ == 7)) { - schedule_ = com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDefaultInstance(); + schedule_ = + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule + .getDefaultInstance(); } - recurringScheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder>( + recurringScheduleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule, + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder>( (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) schedule_, getParentForChildren(), isClean()); schedule_ = null; } scheduleCase_ = 7; - onChanged();; + onChanged(); + ; return recurringScheduleBuilder_; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2971,15 +3683,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2990,18 +3705,24 @@ public Builder setCreateTime( return this; } /** + * + * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_) + .mergeFrom(value) + .buildPartial(); } else { createTime_ = value; } @@ -3013,12 +3734,16 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -3032,51 +3757,67 @@ public Builder clearCreateTime() { return this; } /** + * + * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
        * Output only. Time the patch deployment was created. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3084,42 +3825,61 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3135,15 +3895,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3154,18 +3917,24 @@ public Builder setUpdateTime( return this; } /** + * + * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_) + .mergeFrom(value) + .buildPartial(); } else { updateTime_ = value; } @@ -3177,12 +3946,16 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -3196,51 +3969,67 @@ public Builder clearUpdateTime() { return this; } /** - *
+       *
+       *
+       * 
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
        * Output only. Time the patch deployment was last updated. Timestamp is in
        * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -3248,45 +4037,64 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp lastExecuteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastExecuteTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastExecuteTimeBuilder_; /** + * + * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastExecuteTime field is set. */ public boolean hasLastExecuteTime() { return lastExecuteTimeBuilder_ != null || lastExecuteTime_ != null; } /** + * + * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastExecuteTime. */ public com.google.protobuf.Timestamp getLastExecuteTime() { if (lastExecuteTimeBuilder_ == null) { - return lastExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; + return lastExecuteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastExecuteTime_; } else { return lastExecuteTimeBuilder_.getMessage(); } } /** + * + * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setLastExecuteTime(com.google.protobuf.Timestamp value) { if (lastExecuteTimeBuilder_ == null) { @@ -3302,16 +4110,19 @@ public Builder setLastExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setLastExecuteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastExecuteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (lastExecuteTimeBuilder_ == null) { lastExecuteTime_ = builderForValue.build(); onChanged(); @@ -3322,19 +4133,25 @@ public Builder setLastExecuteTime( return this; } /** + * + * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeLastExecuteTime(com.google.protobuf.Timestamp value) { if (lastExecuteTimeBuilder_ == null) { if (lastExecuteTime_ != null) { lastExecuteTime_ = - com.google.protobuf.Timestamp.newBuilder(lastExecuteTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastExecuteTime_) + .mergeFrom(value) + .buildPartial(); } else { lastExecuteTime_ = value; } @@ -3346,13 +4163,17 @@ public Builder mergeLastExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearLastExecuteTime() { if (lastExecuteTimeBuilder_ == null) { @@ -3366,54 +4187,70 @@ public Builder clearLastExecuteTime() { return this; } /** + * + * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getLastExecuteTimeBuilder() { - + onChanged(); return getLastExecuteTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { if (lastExecuteTimeBuilder_ != null) { return lastExecuteTimeBuilder_.getMessageOrBuilder(); } else { - return lastExecuteTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; + return lastExecuteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastExecuteTime_; } } /** + * + * *
        * Output only. The last time a patch job was started by this deployment.
        * Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
        * format.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getLastExecuteTimeFieldBuilder() { if (lastExecuteTimeBuilder_ == null) { - lastExecuteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLastExecuteTime(), - getParentForChildren(), - isClean()); + lastExecuteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastExecuteTime(), getParentForChildren(), isClean()); lastExecuteTime_ = null; } return lastExecuteTimeBuilder_; @@ -3421,39 +4258,58 @@ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { private com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout rollout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> rolloutBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> + rolloutBuilder_; /** + * + * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rollout field is set. */ public boolean hasRollout() { return rolloutBuilder_ != null || rollout_ != null; } /** + * + * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rollout. */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getRollout() { if (rolloutBuilder_ == null) { - return rollout_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() + : rollout_; } else { return rolloutBuilder_.getMessage(); } } /** + * + * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout value) { if (rolloutBuilder_ == null) { @@ -3469,11 +4325,15 @@ public Builder setRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollou return this; } /** + * + * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRollout( com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder builderForValue) { @@ -3487,17 +4347,23 @@ public Builder setRollout( return this; } /** + * + * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout value) { if (rolloutBuilder_ == null) { if (rollout_ != null) { rollout_ = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.newBuilder(rollout_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.newBuilder(rollout_) + .mergeFrom(value) + .buildPartial(); } else { rollout_ = value; } @@ -3509,11 +4375,15 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRoll return this; } /** + * + * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRollout() { if (rolloutBuilder_ == null) { @@ -3527,48 +4397,65 @@ public Builder clearRollout() { return this; } /** + * + * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder getRolloutBuilder() { - + onChanged(); return getRolloutFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder + getRolloutOrBuilder() { if (rolloutBuilder_ != null) { return rolloutBuilder_.getMessageOrBuilder(); } else { - return rollout_ == null ? - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() + : rollout_; } } /** + * + * *
        * Optional. Rollout strategy of the patch job.
        * 
* - * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> getRolloutFieldBuilder() { if (rolloutBuilder_ == null) { - rolloutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder>( - getRollout(), - getParentForChildren(), - isClean()); + rolloutBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder>( + getRollout(), getParentForChildren(), isClean()); rollout_ = null; } return rolloutBuilder_; @@ -3576,77 +4463,108 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRollo private int state_ = 0; /** + * + * *
        * Output only. Current state of the patch deployment.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * Output only. Current state of the patch deployment.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
        * Output only. Current state of the patch deployment.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State result = com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State result = + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.valueOf(state_); + return result == null + ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State.UNRECOGNIZED + : result; } /** + * + * *
        * Output only. Current state of the patch deployment.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State value) { + public Builder setState( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Output only. Current state of the patch deployment.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3659,30 +4577,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PatchDeployment) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PatchDeployment) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchDeployment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchDeployment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchDeployment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchDeployment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3694,44 +4614,58 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface OneTimeScheduleOrBuilder extends + public interface OneTimeScheduleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.OneTimeSchedule) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the executeTime field is set. */ boolean hasExecuteTime(); /** + * + * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The executeTime. */ com.google.protobuf.Timestamp getExecuteTime(); /** + * + * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getExecuteTimeOrBuilder(); } /** + * + * *
    * Sets the time for a one time patch deployment. Timestamp is in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
@@ -3739,30 +4673,29 @@ public interface OneTimeScheduleOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.OneTimeSchedule}
    */
-  public static final class OneTimeSchedule extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class OneTimeSchedule extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.OneTimeSchedule)
       OneTimeScheduleOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use OneTimeSchedule.newBuilder() to construct.
     private OneTimeSchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private OneTimeSchedule() {
-    }
+
+    private OneTimeSchedule() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new OneTimeSchedule();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private OneTimeSchedule(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3781,26 +4714,28 @@ private OneTimeSchedule(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (executeTime_ != null) {
-                subBuilder = executeTime_.toBuilder();
+            case 10:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (executeTime_ != null) {
+                  subBuilder = executeTime_.toBuilder();
+                }
+                executeTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(executeTime_);
+                  executeTime_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              executeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(executeTime_);
-                executeTime_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3808,34 +4743,40 @@ private OneTimeSchedule(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchDeployments
+          .internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchDeployments
+          .internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.class, com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.class,
+              com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder.class);
     }
 
     public static final int EXECUTE_TIME_FIELD_NUMBER = 1;
     private com.google.protobuf.Timestamp executeTime_;
     /**
+     *
+     *
      * 
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the executeTime field is set. */ @java.lang.Override @@ -3843,23 +4784,32 @@ public boolean hasExecuteTime() { return executeTime_ != null; } /** + * + * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The executeTime. */ @java.lang.Override public com.google.protobuf.Timestamp getExecuteTime() { - return executeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executeTime_; + return executeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : executeTime_; } /** + * + * *
      * Required. The desired patch job execution time.
      * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExecuteTimeOrBuilder() { @@ -3867,6 +4817,7 @@ public com.google.protobuf.TimestampOrBuilder getExecuteTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3878,8 +4829,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (executeTime_ != null) { output.writeMessage(1, getExecuteTime()); } @@ -3893,8 +4843,7 @@ public int getSerializedSize() { size = 0; if (executeTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getExecuteTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getExecuteTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3904,17 +4853,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule other = (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule other = + (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) obj; if (hasExecuteTime() != other.hasExecuteTime()) return false; if (hasExecuteTime()) { - if (!getExecuteTime() - .equals(other.getExecuteTime())) return false; + if (!getExecuteTime().equals(other.getExecuteTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3937,87 +4886,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule 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.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule 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.osconfig.v1beta.PatchDeployments.OneTimeSchedule + 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.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4027,6 +4984,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Sets the time for a one time patch deployment. Timestamp is in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
@@ -4034,38 +4993,41 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.OneTimeSchedule}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.OneTimeSchedule)
         com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeScheduleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments
+            .internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchDeployments
+            .internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.class, com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.class,
+                com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.Builder.class);
       }
 
-      // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.newBuilder()
+      // Construct using
+      // com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4079,14 +5041,16 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments
+            .internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule getDefaultInstanceForType() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.getDefaultInstance();
+      public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule
+          getDefaultInstanceForType() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -4100,7 +5064,8 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule build()
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule result = new com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule(this);
+        com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule result =
+            new com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule(this);
         if (executeTimeBuilder_ == null) {
           result.executeTime_ = executeTime_;
         } else {
@@ -4114,46 +5079,53 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule buildPa
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchDeployments.OneTimeSchedule) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule)other);
+          return mergeFrom(
+              (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule other) {
-        if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule other) {
+        if (other
+            == com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule
+                .getDefaultInstance()) return this;
         if (other.hasExecuteTime()) {
           mergeExecuteTime(other.getExecuteTime());
         }
@@ -4176,7 +5148,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -4188,39 +5162,58 @@ public Builder mergeFrom(
 
       private com.google.protobuf.Timestamp executeTime_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> executeTimeBuilder_;
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
+          executeTimeBuilder_;
       /**
+       *
+       *
        * 
        * Required. The desired patch job execution time.
        * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the executeTime field is set. */ public boolean hasExecuteTime() { return executeTimeBuilder_ != null || executeTime_ != null; } /** + * + * *
        * Required. The desired patch job execution time.
        * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The executeTime. */ public com.google.protobuf.Timestamp getExecuteTime() { if (executeTimeBuilder_ == null) { - return executeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executeTime_; + return executeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : executeTime_; } else { return executeTimeBuilder_.getMessage(); } } /** + * + * *
        * Required. The desired patch job execution time.
        * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setExecuteTime(com.google.protobuf.Timestamp value) { if (executeTimeBuilder_ == null) { @@ -4236,14 +5229,17 @@ public Builder setExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Required. The desired patch job execution time.
        * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setExecuteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExecuteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (executeTimeBuilder_ == null) { executeTime_ = builderForValue.build(); onChanged(); @@ -4254,17 +5250,23 @@ public Builder setExecuteTime( return this; } /** + * + * *
        * Required. The desired patch job execution time.
        * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeExecuteTime(com.google.protobuf.Timestamp value) { if (executeTimeBuilder_ == null) { if (executeTime_ != null) { executeTime_ = - com.google.protobuf.Timestamp.newBuilder(executeTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(executeTime_) + .mergeFrom(value) + .buildPartial(); } else { executeTime_ = value; } @@ -4276,11 +5278,15 @@ public Builder mergeExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Required. The desired patch job execution time.
        * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearExecuteTime() { if (executeTimeBuilder_ == null) { @@ -4294,52 +5300,69 @@ public Builder clearExecuteTime() { return this; } /** + * + * *
        * Required. The desired patch job execution time.
        * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getExecuteTimeBuilder() { - + onChanged(); return getExecuteTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Required. The desired patch job execution time.
        * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getExecuteTimeOrBuilder() { if (executeTimeBuilder_ != null) { return executeTimeBuilder_.getMessageOrBuilder(); } else { - return executeTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : executeTime_; + return executeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : executeTime_; } } /** + * + * *
        * Required. The desired patch job execution time.
        * 
* - * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Timestamp execute_time = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getExecuteTimeFieldBuilder() { if (executeTimeBuilder_ == null) { - executeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExecuteTime(), - getParentForChildren(), - isClean()); + executeTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExecuteTime(), getParentForChildren(), isClean()); executeTime_ = null; } return executeTimeBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4352,30 +5375,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.OneTimeSchedule) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.OneTimeSchedule) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OneTimeSchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OneTimeSchedule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OneTimeSchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OneTimeSchedule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4387,37 +5412,46 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.OneTimeSchedule + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface RecurringScheduleOrBuilder extends + public interface RecurringScheduleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.RecurringSchedule) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
      * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the timeZone field is set. */ boolean hasTimeZone(); /** + * + * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
      * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The timeZone. */ com.google.type.TimeZone getTimeZone(); /** + * + * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
@@ -4428,253 +5462,356 @@ public interface RecurringScheduleOrBuilder extends
     com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder();
 
     /**
+     *
+     *
      * 
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
      * Optional. The end time at which a recurring patch deployment schedule is no longer
      * active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
      * Optional. The end time at which a recurring patch deployment schedule is no longer
      * active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
      * Optional. The end time at which a recurring patch deployment schedule is no longer
      * active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the timeOfDay field is set. */ boolean hasTimeOfDay(); /** + * + * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The timeOfDay. */ com.google.type.TimeOfDay getTimeOfDay(); /** + * + * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder(); /** + * + * *
      * Required. The frequency unit of this recurring schedule.
      * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for frequency. */ int getFrequencyValue(); /** + * + * *
      * Required. The frequency unit of this recurring schedule.
      * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The frequency. */ com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency getFrequency(); /** + * + * *
      * Required. Schedule with weekly executions.
      * 
* - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the weekly field is set. */ boolean hasWeekly(); /** + * + * *
      * Required. Schedule with weekly executions.
      * 
* - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The weekly. */ com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule getWeekly(); /** + * + * *
      * Required. Schedule with weekly executions.
      * 
* - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder getWeeklyOrBuilder(); /** + * + * *
      * Required. Schedule with monthly executions.
      * 
* - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the monthly field is set. */ boolean hasMonthly(); /** + * + * *
      * Required. Schedule with monthly executions.
      * 
* - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The monthly. */ com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule getMonthly(); /** + * + * *
      * Required. Schedule with monthly executions.
      * 
* - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder getMonthlyOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder + getMonthlyOrBuilder(); /** + * + * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastExecuteTime field is set. */ boolean hasLastExecuteTime(); /** + * + * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastExecuteTime. */ com.google.protobuf.Timestamp getLastExecuteTime(); /** + * + * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder(); /** + * + * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the nextExecuteTime field is set. */ boolean hasNextExecuteTime(); /** + * + * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The nextExecuteTime. */ com.google.protobuf.Timestamp getNextExecuteTime(); /** + * + * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getNextExecuteTimeOrBuilder(); - public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.ScheduleConfigCase getScheduleConfigCase(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.ScheduleConfigCase + getScheduleConfigCase(); } /** + * + * *
    * Sets the time for recurring patch deployments.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.RecurringSchedule} */ - public static final class RecurringSchedule extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class RecurringSchedule extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.RecurringSchedule) RecurringScheduleOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RecurringSchedule.newBuilder() to construct. private RecurringSchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RecurringSchedule() { frequency_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RecurringSchedule(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RecurringSchedule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4693,125 +5830,155 @@ private RecurringSchedule( case 0: done = true; break; - case 10: { - com.google.type.TimeZone.Builder subBuilder = null; - if (timeZone_ != null) { - subBuilder = timeZone_.toBuilder(); - } - timeZone_ = input.readMessage(com.google.type.TimeZone.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeZone_); - timeZone_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); + case 10: + { + com.google.type.TimeZone.Builder subBuilder = null; + if (timeZone_ != null) { + subBuilder = timeZone_.toBuilder(); + } + timeZone_ = input.readMessage(com.google.type.TimeZone.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeZone_); + timeZone_ = subBuilder.buildPartial(); + } + + break; } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 34: { - com.google.type.TimeOfDay.Builder subBuilder = null; - if (timeOfDay_ != null) { - subBuilder = timeOfDay_.toBuilder(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } + + break; } - timeOfDay_ = input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOfDay_); - timeOfDay_ = subBuilder.buildPartial(); + case 34: + { + com.google.type.TimeOfDay.Builder subBuilder = null; + if (timeOfDay_ != null) { + subBuilder = timeOfDay_.toBuilder(); + } + timeOfDay_ = + input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOfDay_); + timeOfDay_ = subBuilder.buildPartial(); + } + + break; } + case 40: + { + int rawValue = input.readEnum(); - break; - } - case 40: { - int rawValue = input.readEnum(); - - frequency_ = rawValue; - break; - } - case 50: { - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder subBuilder = null; - if (scheduleConfigCase_ == 6) { - subBuilder = ((com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_).toBuilder(); - } - scheduleConfig_ = - input.readMessage(com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_); - scheduleConfig_ = subBuilder.buildPartial(); - } - scheduleConfigCase_ = 6; - break; - } - case 58: { - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder subBuilder = null; - if (scheduleConfigCase_ == 7) { - subBuilder = ((com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_).toBuilder(); + frequency_ = rawValue; + break; } - scheduleConfig_ = - input.readMessage(com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_); - scheduleConfig_ = subBuilder.buildPartial(); + case 50: + { + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder + subBuilder = null; + if (scheduleConfigCase_ == 6) { + subBuilder = + ((com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) + scheduleConfig_) + .toBuilder(); + } + scheduleConfig_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) + scheduleConfig_); + scheduleConfig_ = subBuilder.buildPartial(); + } + scheduleConfigCase_ = 6; + break; } - scheduleConfigCase_ = 7; - break; - } - case 74: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (lastExecuteTime_ != null) { - subBuilder = lastExecuteTime_.toBuilder(); + case 58: + { + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder + subBuilder = null; + if (scheduleConfigCase_ == 7) { + subBuilder = + ((com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) + scheduleConfig_) + .toBuilder(); + } + scheduleConfig_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) + scheduleConfig_); + scheduleConfig_ = subBuilder.buildPartial(); + } + scheduleConfigCase_ = 7; + break; } - lastExecuteTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastExecuteTime_); - lastExecuteTime_ = subBuilder.buildPartial(); - } - - break; - } - case 82: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (nextExecuteTime_ != null) { - subBuilder = nextExecuteTime_.toBuilder(); + case 74: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (lastExecuteTime_ != null) { + subBuilder = lastExecuteTime_.toBuilder(); + } + lastExecuteTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastExecuteTime_); + lastExecuteTime_ = subBuilder.buildPartial(); + } + + break; } - nextExecuteTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(nextExecuteTime_); - nextExecuteTime_ = subBuilder.buildPartial(); + case 82: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (nextExecuteTime_ != null) { + subBuilder = nextExecuteTime_.toBuilder(); + } + nextExecuteTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(nextExecuteTime_); + nextExecuteTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4819,36 +5986,41 @@ private RecurringSchedule( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.class, com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.class, + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder.class); } /** + * + * *
      * Specifies the frequency of the recurring patch deployments.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.RecurringSchedule.Frequency} */ - public enum Frequency - implements com.google.protobuf.ProtocolMessageEnum { + public enum Frequency implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Invalid. A frequency must be specified.
        * 
@@ -4857,6 +6029,8 @@ public enum Frequency */ FREQUENCY_UNSPECIFIED(0), /** + * + * *
        * Indicates that the frequency of recurrence should be expressed in terms
        * of weeks.
@@ -4866,6 +6040,8 @@ public enum Frequency
        */
       WEEKLY(1),
       /**
+       *
+       *
        * 
        * Indicates that the frequency of recurrence should be expressed in terms
        * of months.
@@ -4875,6 +6051,8 @@ public enum Frequency
        */
       MONTHLY(2),
       /**
+       *
+       *
        * 
        * Indicates that the frequency of recurrence should be expressed in terms
        * of days.
@@ -4887,6 +6065,8 @@ public enum Frequency
       ;
 
       /**
+       *
+       *
        * 
        * Invalid. A frequency must be specified.
        * 
@@ -4895,6 +6075,8 @@ public enum Frequency */ public static final int FREQUENCY_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Indicates that the frequency of recurrence should be expressed in terms
        * of weeks.
@@ -4904,6 +6086,8 @@ public enum Frequency
        */
       public static final int WEEKLY_VALUE = 1;
       /**
+       *
+       *
        * 
        * Indicates that the frequency of recurrence should be expressed in terms
        * of months.
@@ -4913,6 +6097,8 @@ public enum Frequency
        */
       public static final int MONTHLY_VALUE = 2;
       /**
+       *
+       *
        * 
        * Indicates that the frequency of recurrence should be expressed in terms
        * of days.
@@ -4922,7 +6108,6 @@ public enum Frequency
        */
       public static final int DAILY_VALUE = 3;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -4947,50 +6132,53 @@ public static Frequency valueOf(int value) {
        */
       public static Frequency forNumber(int value) {
         switch (value) {
-          case 0: return FREQUENCY_UNSPECIFIED;
-          case 1: return WEEKLY;
-          case 2: return MONTHLY;
-          case 3: return DAILY;
-          default: return null;
+          case 0:
+            return FREQUENCY_UNSPECIFIED;
+          case 1:
+            return WEEKLY;
+          case 2:
+            return MONTHLY;
+          case 3:
+            return DAILY;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          Frequency> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public Frequency findValueByNumber(int number) {
-                return Frequency.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Frequency findValueByNumber(int number) {
+              return Frequency.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final Frequency[] VALUES = values();
 
-      public static Frequency valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Frequency valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -5009,13 +6197,16 @@ private Frequency(int value) {
 
     private int scheduleConfigCase_ = 0;
     private java.lang.Object scheduleConfig_;
+
     public enum ScheduleConfigCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       WEEKLY(6),
       MONTHLY(7),
       SCHEDULECONFIG_NOT_SET(0);
       private final int value;
+
       private ScheduleConfigCase(int value) {
         this.value = value;
       }
@@ -5031,32 +6222,38 @@ public static ScheduleConfigCase valueOf(int value) {
 
       public static ScheduleConfigCase forNumber(int value) {
         switch (value) {
-          case 6: return WEEKLY;
-          case 7: return MONTHLY;
-          case 0: return SCHEDULECONFIG_NOT_SET;
-          default: return null;
+          case 6:
+            return WEEKLY;
+          case 7:
+            return MONTHLY;
+          case 0:
+            return SCHEDULECONFIG_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ScheduleConfigCase
-    getScheduleConfigCase() {
-      return ScheduleConfigCase.forNumber(
-          scheduleConfigCase_);
+    public ScheduleConfigCase getScheduleConfigCase() {
+      return ScheduleConfigCase.forNumber(scheduleConfigCase_);
     }
 
     public static final int TIME_ZONE_FIELD_NUMBER = 1;
     private com.google.type.TimeZone timeZone_;
     /**
+     *
+     *
      * 
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
      * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the timeZone field is set. */ @java.lang.Override @@ -5064,12 +6261,15 @@ public boolean hasTimeZone() { return timeZone_ != null; } /** + * + * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
      * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The timeZone. */ @java.lang.Override @@ -5077,6 +6277,8 @@ public com.google.type.TimeZone getTimeZone() { return timeZone_ == null ? com.google.type.TimeZone.getDefaultInstance() : timeZone_; } /** + * + * *
      * Required. Defines the time zone that `time_of_day` is relative to.
      * The rules for daylight saving time are determined by the chosen time zone.
@@ -5092,12 +6294,16 @@ public com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder() {
     public static final int START_TIME_FIELD_NUMBER = 2;
     private com.google.protobuf.Timestamp startTime_;
     /**
+     *
+     *
      * 
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -5105,12 +6311,16 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The startTime. */ @java.lang.Override @@ -5118,12 +6328,15 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
      * Optional. The time that the recurring schedule becomes effective.
      * Defaults to `create_time` of the patch deployment.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -5133,12 +6346,16 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** + * + * *
      * Optional. The end time at which a recurring patch deployment schedule is no longer
      * active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -5146,12 +6363,16 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
      * Optional. The end time at which a recurring patch deployment schedule is no longer
      * active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The endTime. */ @java.lang.Override @@ -5159,12 +6380,15 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
      * Optional. The end time at which a recurring patch deployment schedule is no longer
      * active.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -5174,11 +6398,15 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TIME_OF_DAY_FIELD_NUMBER = 4; private com.google.type.TimeOfDay timeOfDay_; /** + * + * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the timeOfDay field is set. */ @java.lang.Override @@ -5186,11 +6414,15 @@ public boolean hasTimeOfDay() { return timeOfDay_ != null; } /** + * + * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The timeOfDay. */ @java.lang.Override @@ -5198,11 +6430,14 @@ public com.google.type.TimeOfDay getTimeOfDay() { return timeOfDay_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : timeOfDay_; } /** + * + * *
      * Required. Time of the day to run a recurring deployment.
      * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder() { @@ -5212,37 +6447,60 @@ public com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder() { public static final int FREQUENCY_FIELD_NUMBER = 5; private int frequency_; /** + * + * *
      * Required. The frequency unit of this recurring schedule.
      * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for frequency. */ - @java.lang.Override public int getFrequencyValue() { + @java.lang.Override + public int getFrequencyValue() { return frequency_; } /** + * + * *
      * Required. The frequency unit of this recurring schedule.
      * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The frequency. */ - @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency getFrequency() { + @java.lang.Override + public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency + getFrequency() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency result = com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency.valueOf(frequency_); - return result == null ? com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency result = + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency.valueOf( + frequency_); + return result == null + ? com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency + .UNRECOGNIZED + : result; } public static final int WEEKLY_FIELD_NUMBER = 6; /** + * + * *
      * Required. Schedule with weekly executions.
      * 
* - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the weekly field is set. */ @java.lang.Override @@ -5250,42 +6508,57 @@ public boolean hasWeekly() { return scheduleConfigCase_ == 6; } /** + * + * *
      * Required. Schedule with weekly executions.
      * 
* - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The weekly. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule getWeekly() { if (scheduleConfigCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_; } return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.getDefaultInstance(); } /** + * + * *
      * Required. Schedule with weekly executions.
      * 
* - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder getWeeklyOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder + getWeeklyOrBuilder() { if (scheduleConfigCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_; } return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.getDefaultInstance(); } public static final int MONTHLY_FIELD_NUMBER = 7; /** + * + * *
      * Required. Schedule with monthly executions.
      * 
* - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the monthly field is set. */ @java.lang.Override @@ -5293,31 +6566,41 @@ public boolean hasMonthly() { return scheduleConfigCase_ == 7; } /** + * + * *
      * Required. Schedule with monthly executions.
      * 
* - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The monthly. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule getMonthly() { if (scheduleConfigCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_; } return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.getDefaultInstance(); } /** + * + * *
      * Required. Schedule with monthly executions.
      * 
* - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder getMonthlyOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder + getMonthlyOrBuilder() { if (scheduleConfigCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_; } return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.getDefaultInstance(); } @@ -5325,11 +6608,16 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilde public static final int LAST_EXECUTE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp lastExecuteTime_; /** + * + * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastExecuteTime field is set. */ @java.lang.Override @@ -5337,23 +6625,34 @@ public boolean hasLastExecuteTime() { return lastExecuteTime_ != null; } /** + * + * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastExecuteTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastExecuteTime() { - return lastExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; + return lastExecuteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastExecuteTime_; } /** + * + * *
      * Output only. The time the last patch job ran successfully.
      * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { @@ -5363,11 +6662,16 @@ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { public static final int NEXT_EXECUTE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp nextExecuteTime_; /** + * + * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the nextExecuteTime field is set. */ @java.lang.Override @@ -5375,23 +6679,34 @@ public boolean hasNextExecuteTime() { return nextExecuteTime_ != null; } /** + * + * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The nextExecuteTime. */ @java.lang.Override public com.google.protobuf.Timestamp getNextExecuteTime() { - return nextExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextExecuteTime_; + return nextExecuteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : nextExecuteTime_; } /** + * + * *
      * Output only. The time the next patch job is scheduled to run.
      * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getNextExecuteTimeOrBuilder() { @@ -5399,6 +6714,7 @@ public com.google.protobuf.TimestampOrBuilder getNextExecuteTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5410,8 +6726,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (timeZone_ != null) { output.writeMessage(1, getTimeZone()); } @@ -5424,14 +6739,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (timeOfDay_ != null) { output.writeMessage(4, getTimeOfDay()); } - if (frequency_ != com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency.FREQUENCY_UNSPECIFIED.getNumber()) { + if (frequency_ + != com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency + .FREQUENCY_UNSPECIFIED + .getNumber()) { output.writeEnum(5, frequency_); } if (scheduleConfigCase_ == 6) { - output.writeMessage(6, (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_); + output.writeMessage( + 6, (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_); } if (scheduleConfigCase_ == 7) { - output.writeMessage(7, (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_); + output.writeMessage( + 7, (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_); } if (lastExecuteTime_ != null) { output.writeMessage(9, getLastExecuteTime()); @@ -5449,40 +6769,41 @@ public int getSerializedSize() { size = 0; if (timeZone_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTimeZone()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeZone()); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); } if (timeOfDay_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getTimeOfDay()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTimeOfDay()); } - if (frequency_ != com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency.FREQUENCY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, frequency_); + if (frequency_ + != com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency + .FREQUENCY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, frequency_); } if (scheduleConfigCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, + (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_); } if (scheduleConfigCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, + (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) + scheduleConfig_); } if (lastExecuteTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getLastExecuteTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getLastExecuteTime()); } if (nextExecuteTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getNextExecuteTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getNextExecuteTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5492,53 +6813,46 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule other = (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule other = + (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) obj; if (hasTimeZone() != other.hasTimeZone()) return false; if (hasTimeZone()) { - if (!getTimeZone() - .equals(other.getTimeZone())) return false; + if (!getTimeZone().equals(other.getTimeZone())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (hasTimeOfDay() != other.hasTimeOfDay()) return false; if (hasTimeOfDay()) { - if (!getTimeOfDay() - .equals(other.getTimeOfDay())) return false; + if (!getTimeOfDay().equals(other.getTimeOfDay())) return false; } if (frequency_ != other.frequency_) return false; if (hasLastExecuteTime() != other.hasLastExecuteTime()) return false; if (hasLastExecuteTime()) { - if (!getLastExecuteTime() - .equals(other.getLastExecuteTime())) return false; + if (!getLastExecuteTime().equals(other.getLastExecuteTime())) return false; } if (hasNextExecuteTime() != other.hasNextExecuteTime()) return false; if (hasNextExecuteTime()) { - if (!getNextExecuteTime() - .equals(other.getNextExecuteTime())) return false; + if (!getNextExecuteTime().equals(other.getNextExecuteTime())) return false; } if (!getScheduleConfigCase().equals(other.getScheduleConfigCase())) return false; switch (scheduleConfigCase_) { case 6: - if (!getWeekly() - .equals(other.getWeekly())) return false; + if (!getWeekly().equals(other.getWeekly())) return false; break; case 7: - if (!getMonthly() - .equals(other.getMonthly())) return false; + if (!getMonthly().equals(other.getMonthly())) return false; break; case 0: default: @@ -5598,87 +6912,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule 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.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule 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.osconfig.v1beta.PatchDeployments.RecurringSchedule + 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.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5688,44 +7010,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Sets the time for recurring patch deployments.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.RecurringSchedule} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.RecurringSchedule) com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringScheduleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.class, com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.class, + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -5773,14 +7100,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule + .getDefaultInstance(); } @java.lang.Override @@ -5794,7 +7123,8 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule build @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule result = new com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule(this); + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule result = + new com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule(this); if (timeZoneBuilder_ == null) { result.timeZone_ = timeZone_; } else { @@ -5849,46 +7179,53 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.RecurringSchedule) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule)other); + return mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule other) { - if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule other) { + if (other + == com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule + .getDefaultInstance()) return this; if (other.hasTimeZone()) { mergeTimeZone(other.getTimeZone()); } @@ -5911,17 +7248,20 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.Recur mergeNextExecuteTime(other.getNextExecuteTime()); } switch (other.getScheduleConfigCase()) { - case WEEKLY: { - mergeWeekly(other.getWeekly()); - break; - } - case MONTHLY: { - mergeMonthly(other.getMonthly()); - break; - } - case SCHEDULECONFIG_NOT_SET: { - break; - } + case WEEKLY: + { + mergeWeekly(other.getWeekly()); + break; + } + case MONTHLY: + { + mergeMonthly(other.getMonthly()); + break; + } + case SCHEDULECONFIG_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -5942,7 +7282,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5951,12 +7293,12 @@ public Builder mergeFrom( } return this; } + private int scheduleConfigCase_ = 0; private java.lang.Object scheduleConfig_; - public ScheduleConfigCase - getScheduleConfigCase() { - return ScheduleConfigCase.forNumber( - scheduleConfigCase_); + + public ScheduleConfigCase getScheduleConfigCase() { + return ScheduleConfigCase.forNumber(scheduleConfigCase_); } public Builder clearScheduleConfig() { @@ -5966,29 +7308,37 @@ public Builder clearScheduleConfig() { return this; } - private com.google.type.TimeZone timeZone_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeZone, com.google.type.TimeZone.Builder, com.google.type.TimeZoneOrBuilder> timeZoneBuilder_; + com.google.type.TimeZone, + com.google.type.TimeZone.Builder, + com.google.type.TimeZoneOrBuilder> + timeZoneBuilder_; /** + * + * *
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
        * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the timeZone field is set. */ public boolean hasTimeZone() { return timeZoneBuilder_ != null || timeZone_ != null; } /** + * + * *
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
        * 
* * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The timeZone. */ public com.google.type.TimeZone getTimeZone() { @@ -5999,6 +7349,8 @@ public com.google.type.TimeZone getTimeZone() { } } /** + * + * *
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -6020,6 +7372,8 @@ public Builder setTimeZone(com.google.type.TimeZone value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -6027,8 +7381,7 @@ public Builder setTimeZone(com.google.type.TimeZone value) {
        *
        * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
        */
-      public Builder setTimeZone(
-          com.google.type.TimeZone.Builder builderForValue) {
+      public Builder setTimeZone(com.google.type.TimeZone.Builder builderForValue) {
         if (timeZoneBuilder_ == null) {
           timeZone_ = builderForValue.build();
           onChanged();
@@ -6039,6 +7392,8 @@ public Builder setTimeZone(
         return this;
       }
       /**
+       *
+       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -6050,7 +7405,7 @@ public Builder mergeTimeZone(com.google.type.TimeZone value) {
         if (timeZoneBuilder_ == null) {
           if (timeZone_ != null) {
             timeZone_ =
-              com.google.type.TimeZone.newBuilder(timeZone_).mergeFrom(value).buildPartial();
+                com.google.type.TimeZone.newBuilder(timeZone_).mergeFrom(value).buildPartial();
           } else {
             timeZone_ = value;
           }
@@ -6062,6 +7417,8 @@ public Builder mergeTimeZone(com.google.type.TimeZone value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -6081,6 +7438,8 @@ public Builder clearTimeZone() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -6089,11 +7448,13 @@ public Builder clearTimeZone() {
        * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
        */
       public com.google.type.TimeZone.Builder getTimeZoneBuilder() {
-        
+
         onChanged();
         return getTimeZoneFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -6105,11 +7466,12 @@ public com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder() {
         if (timeZoneBuilder_ != null) {
           return timeZoneBuilder_.getMessageOrBuilder();
         } else {
-          return timeZone_ == null ?
-              com.google.type.TimeZone.getDefaultInstance() : timeZone_;
+          return timeZone_ == null ? com.google.type.TimeZone.getDefaultInstance() : timeZone_;
         }
       }
       /**
+       *
+       *
        * 
        * Required. Defines the time zone that `time_of_day` is relative to.
        * The rules for daylight saving time are determined by the chosen time zone.
@@ -6118,14 +7480,17 @@ public com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder() {
        * .google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.TimeZone, com.google.type.TimeZone.Builder, com.google.type.TimeZoneOrBuilder> 
+              com.google.type.TimeZone,
+              com.google.type.TimeZone.Builder,
+              com.google.type.TimeZoneOrBuilder>
           getTimeZoneFieldBuilder() {
         if (timeZoneBuilder_ == null) {
-          timeZoneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.TimeZone, com.google.type.TimeZone.Builder, com.google.type.TimeZoneOrBuilder>(
-                  getTimeZone(),
-                  getParentForChildren(),
-                  isClean());
+          timeZoneBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.type.TimeZone,
+                  com.google.type.TimeZone.Builder,
+                  com.google.type.TimeZoneOrBuilder>(
+                  getTimeZone(), getParentForChildren(), isClean());
           timeZone_ = null;
         }
         return timeZoneBuilder_;
@@ -6133,42 +7498,58 @@ public com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder() {
 
       private com.google.protobuf.Timestamp startTime_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
+          startTimeBuilder_;
       /**
+       *
+       *
        * 
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** + * + * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -6184,15 +7565,17 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -6203,18 +7586,23 @@ public Builder setStartTime( return this; } /** + * + * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_) + .mergeFrom(value) + .buildPartial(); } else { startTime_ = value; } @@ -6226,12 +7614,15 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { @@ -6245,51 +7636,64 @@ public Builder clearStartTime() { return this; } /** + * + * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : startTime_; } } /** + * + * *
        * Optional. The time that the recurring schedule becomes effective.
        * Defaults to `create_time` of the patch deployment.
        * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -6297,26 +7701,37 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
        * Optional. The end time at which a recurring patch deployment schedule is no longer
        * active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
        * Optional. The end time at which a recurring patch deployment schedule is no longer
        * active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -6327,12 +7742,15 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - *
+       *
+       *
+       * 
        * Optional. The end time at which a recurring patch deployment schedule is no longer
        * active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -6348,15 +7766,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Optional. The end time at which a recurring patch deployment schedule is no longer
        * active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -6367,18 +7787,21 @@ public Builder setEndTime( return this; } /** + * + * *
        * Optional. The end time at which a recurring patch deployment schedule is no longer
        * active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -6390,12 +7813,15 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Optional. The end time at which a recurring patch deployment schedule is no longer
        * active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -6409,51 +7835,62 @@ public Builder clearEndTime() { return this; } /** + * + * *
        * Optional. The end time at which a recurring patch deployment schedule is no longer
        * active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. The end time at which a recurring patch deployment schedule is no longer
        * active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
        * Optional. The end time at which a recurring patch deployment schedule is no longer
        * active.
        * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -6461,24 +7898,35 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.type.TimeOfDay timeOfDay_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> timeOfDayBuilder_; + com.google.type.TimeOfDay, + com.google.type.TimeOfDay.Builder, + com.google.type.TimeOfDayOrBuilder> + timeOfDayBuilder_; /** + * + * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the timeOfDay field is set. */ public boolean hasTimeOfDay() { return timeOfDayBuilder_ != null || timeOfDay_ != null; } /** + * + * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The timeOfDay. */ public com.google.type.TimeOfDay getTimeOfDay() { @@ -6489,11 +7937,14 @@ public com.google.type.TimeOfDay getTimeOfDay() { } } /** + * + * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTimeOfDay(com.google.type.TimeOfDay value) { if (timeOfDayBuilder_ == null) { @@ -6509,14 +7960,16 @@ public Builder setTimeOfDay(com.google.type.TimeOfDay value) { return this; } /** + * + * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTimeOfDay( - com.google.type.TimeOfDay.Builder builderForValue) { + public Builder setTimeOfDay(com.google.type.TimeOfDay.Builder builderForValue) { if (timeOfDayBuilder_ == null) { timeOfDay_ = builderForValue.build(); onChanged(); @@ -6527,17 +7980,20 @@ public Builder setTimeOfDay( return this; } /** + * + * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTimeOfDay(com.google.type.TimeOfDay value) { if (timeOfDayBuilder_ == null) { if (timeOfDay_ != null) { timeOfDay_ = - com.google.type.TimeOfDay.newBuilder(timeOfDay_).mergeFrom(value).buildPartial(); + com.google.type.TimeOfDay.newBuilder(timeOfDay_).mergeFrom(value).buildPartial(); } else { timeOfDay_ = value; } @@ -6549,11 +8005,14 @@ public Builder mergeTimeOfDay(com.google.type.TimeOfDay value) { return this; } /** + * + * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTimeOfDay() { if (timeOfDayBuilder_ == null) { @@ -6567,48 +8026,59 @@ public Builder clearTimeOfDay() { return this; } /** + * + * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.TimeOfDay.Builder getTimeOfDayBuilder() { - + onChanged(); return getTimeOfDayFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder() { if (timeOfDayBuilder_ != null) { return timeOfDayBuilder_.getMessageOrBuilder(); } else { - return timeOfDay_ == null ? - com.google.type.TimeOfDay.getDefaultInstance() : timeOfDay_; + return timeOfDay_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : timeOfDay_; } } /** + * + * *
        * Required. Time of the day to run a recurring deployment.
        * 
* - * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> + com.google.type.TimeOfDay, + com.google.type.TimeOfDay.Builder, + com.google.type.TimeOfDayOrBuilder> getTimeOfDayFieldBuilder() { if (timeOfDayBuilder_ == null) { - timeOfDayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>( - getTimeOfDay(), - getParentForChildren(), - isClean()); + timeOfDayBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.TimeOfDay, + com.google.type.TimeOfDay.Builder, + com.google.type.TimeOfDayOrBuilder>( + getTimeOfDay(), getParentForChildren(), isClean()); timeOfDay_ = null; } return timeOfDayBuilder_; @@ -6616,86 +8086,127 @@ public com.google.type.TimeOfDayOrBuilder getTimeOfDayOrBuilder() { private int frequency_ = 0; /** + * + * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for frequency. */ - @java.lang.Override public int getFrequencyValue() { + @java.lang.Override + public int getFrequencyValue() { return frequency_; } /** + * + * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for frequency to set. * @return This builder for chaining. */ public Builder setFrequencyValue(int value) { - + frequency_ = value; onChanged(); return this; } /** + * + * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The frequency. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency getFrequency() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency + getFrequency() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency result = com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency.valueOf(frequency_); - return result == null ? com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency result = + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency.valueOf( + frequency_); + return result == null + ? com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency + .UNRECOGNIZED + : result; } /** + * + * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The frequency to set. * @return This builder for chaining. */ - public Builder setFrequency(com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency value) { + public Builder setFrequency( + com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule.Frequency value) { if (value == null) { throw new NullPointerException(); } - + frequency_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Required. The frequency unit of this recurring schedule.
        * 
* - * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearFrequency() { - + frequency_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder> weeklyBuilder_; + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule, + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder> + weeklyBuilder_; /** + * + * *
        * Required. Schedule with weekly executions.
        * 
* - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the weekly field is set. */ @java.lang.Override @@ -6703,35 +8214,48 @@ public boolean hasWeekly() { return scheduleConfigCase_ == 6; } /** + * + * *
        * Required. Schedule with weekly executions.
        * 
* - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The weekly. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule getWeekly() { if (weeklyBuilder_ == null) { if (scheduleConfigCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) + scheduleConfig_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule + .getDefaultInstance(); } else { if (scheduleConfigCase_ == 6) { return weeklyBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule + .getDefaultInstance(); } } /** + * + * *
        * Required. Schedule with weekly executions.
        * 
* - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setWeekly(com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule value) { + public Builder setWeekly( + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule value) { if (weeklyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6745,14 +8269,19 @@ public Builder setWeekly(com.google.cloud.osconfig.v1beta.PatchDeployments.Weekl return this; } /** + * + * *
        * Required. Schedule with weekly executions.
        * 
* - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWeekly( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder + builderForValue) { if (weeklyBuilder_ == null) { scheduleConfig_ = builderForValue.build(); onChanged(); @@ -6763,18 +8292,29 @@ public Builder setWeekly( return this; } /** + * + * *
        * Required. Schedule with weekly executions.
        * 
* - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeWeekly(com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule value) { + public Builder mergeWeekly( + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule value) { if (weeklyBuilder_ == null) { - if (scheduleConfigCase_ == 6 && - scheduleConfig_ != com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.getDefaultInstance()) { - scheduleConfig_ = com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.newBuilder((com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_) - .mergeFrom(value).buildPartial(); + if (scheduleConfigCase_ == 6 + && scheduleConfig_ + != com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule + .getDefaultInstance()) { + scheduleConfig_ = + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.newBuilder( + (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) + scheduleConfig_) + .mergeFrom(value) + .buildPartial(); } else { scheduleConfig_ = value; } @@ -6790,11 +8330,15 @@ public Builder mergeWeekly(com.google.cloud.osconfig.v1beta.PatchDeployments.Wee return this; } /** + * + * *
        * Required. Schedule with weekly executions.
        * 
* - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearWeekly() { if (weeklyBuilder_ == null) { @@ -6813,67 +8357,100 @@ public Builder clearWeekly() { return this; } /** + * + * *
        * Required. Schedule with weekly executions.
        * 
* - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder getWeeklyBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder + getWeeklyBuilder() { return getWeeklyFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Schedule with weekly executions.
        * 
* - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder getWeeklyOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder + getWeeklyOrBuilder() { if ((scheduleConfigCase_ == 6) && (weeklyBuilder_ != null)) { return weeklyBuilder_.getMessageOrBuilder(); } else { if (scheduleConfigCase_ == 6) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) + scheduleConfig_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule + .getDefaultInstance(); } } /** + * + * *
        * Required. Schedule with weekly executions.
        * 
* - * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder> + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule, + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder> getWeeklyFieldBuilder() { if (weeklyBuilder_ == null) { if (!(scheduleConfigCase_ == 6)) { - scheduleConfig_ = com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.getDefaultInstance(); + scheduleConfig_ = + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule + .getDefaultInstance(); } - weeklyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder>( - (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) scheduleConfig_, + weeklyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule, + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder>( + (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) + scheduleConfig_, getParentForChildren(), isClean()); scheduleConfig_ = null; } scheduleConfigCase_ = 6; - onChanged();; + onChanged(); + ; return weeklyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder> monthlyBuilder_; + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule, + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder> + monthlyBuilder_; /** + * + * *
        * Required. Schedule with monthly executions.
        * 
* - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the monthly field is set. */ @java.lang.Override @@ -6881,35 +8458,48 @@ public boolean hasMonthly() { return scheduleConfigCase_ == 7; } /** + * + * *
        * Required. Schedule with monthly executions.
        * 
* - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The monthly. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule getMonthly() { if (monthlyBuilder_ == null) { if (scheduleConfigCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) + scheduleConfig_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule + .getDefaultInstance(); } else { if (scheduleConfigCase_ == 7) { return monthlyBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule + .getDefaultInstance(); } } /** + * + * *
        * Required. Schedule with monthly executions.
        * 
* - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setMonthly(com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule value) { + public Builder setMonthly( + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule value) { if (monthlyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6923,14 +8513,19 @@ public Builder setMonthly(com.google.cloud.osconfig.v1beta.PatchDeployments.Mont return this; } /** + * + * *
        * Required. Schedule with monthly executions.
        * 
* - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMonthly( - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder + builderForValue) { if (monthlyBuilder_ == null) { scheduleConfig_ = builderForValue.build(); onChanged(); @@ -6941,18 +8536,29 @@ public Builder setMonthly( return this; } /** + * + * *
        * Required. Schedule with monthly executions.
        * 
* - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeMonthly(com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule value) { + public Builder mergeMonthly( + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule value) { if (monthlyBuilder_ == null) { - if (scheduleConfigCase_ == 7 && - scheduleConfig_ != com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.getDefaultInstance()) { - scheduleConfig_ = com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.newBuilder((com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_) - .mergeFrom(value).buildPartial(); + if (scheduleConfigCase_ == 7 + && scheduleConfig_ + != com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule + .getDefaultInstance()) { + scheduleConfig_ = + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.newBuilder( + (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) + scheduleConfig_) + .mergeFrom(value) + .buildPartial(); } else { scheduleConfig_ = value; } @@ -6968,11 +8574,15 @@ public Builder mergeMonthly(com.google.cloud.osconfig.v1beta.PatchDeployments.Mo return this; } /** + * + * *
        * Required. Schedule with monthly executions.
        * 
* - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearMonthly() { if (monthlyBuilder_ == null) { @@ -6991,94 +8601,138 @@ public Builder clearMonthly() { return this; } /** + * + * *
        * Required. Schedule with monthly executions.
        * 
* - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder getMonthlyBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder + getMonthlyBuilder() { return getMonthlyFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Schedule with monthly executions.
        * 
* - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder getMonthlyOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder + getMonthlyOrBuilder() { if ((scheduleConfigCase_ == 7) && (monthlyBuilder_ != null)) { return monthlyBuilder_.getMessageOrBuilder(); } else { if (scheduleConfigCase_ == 7) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) + scheduleConfig_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule + .getDefaultInstance(); } } /** + * + * *
        * Required. Schedule with monthly executions.
        * 
* - * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder> + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule, + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder> getMonthlyFieldBuilder() { if (monthlyBuilder_ == null) { if (!(scheduleConfigCase_ == 7)) { - scheduleConfig_ = com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.getDefaultInstance(); + scheduleConfig_ = + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule + .getDefaultInstance(); } - monthlyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule, com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder>( - (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) scheduleConfig_, + monthlyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule, + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder>( + (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) + scheduleConfig_, getParentForChildren(), isClean()); scheduleConfig_ = null; } scheduleConfigCase_ = 7; - onChanged();; + onChanged(); + ; return monthlyBuilder_; } private com.google.protobuf.Timestamp lastExecuteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastExecuteTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastExecuteTimeBuilder_; /** + * + * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastExecuteTime field is set. */ public boolean hasLastExecuteTime() { return lastExecuteTimeBuilder_ != null || lastExecuteTime_ != null; } /** + * + * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastExecuteTime. */ public com.google.protobuf.Timestamp getLastExecuteTime() { if (lastExecuteTimeBuilder_ == null) { - return lastExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; + return lastExecuteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastExecuteTime_; } else { return lastExecuteTimeBuilder_.getMessage(); } } /** + * + * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setLastExecuteTime(com.google.protobuf.Timestamp value) { if (lastExecuteTimeBuilder_ == null) { @@ -7094,14 +8748,17 @@ public Builder setLastExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setLastExecuteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastExecuteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (lastExecuteTimeBuilder_ == null) { lastExecuteTime_ = builderForValue.build(); onChanged(); @@ -7112,17 +8769,23 @@ public Builder setLastExecuteTime( return this; } /** + * + * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeLastExecuteTime(com.google.protobuf.Timestamp value) { if (lastExecuteTimeBuilder_ == null) { if (lastExecuteTime_ != null) { lastExecuteTime_ = - com.google.protobuf.Timestamp.newBuilder(lastExecuteTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastExecuteTime_) + .mergeFrom(value) + .buildPartial(); } else { lastExecuteTime_ = value; } @@ -7134,11 +8797,15 @@ public Builder mergeLastExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearLastExecuteTime() { if (lastExecuteTimeBuilder_ == null) { @@ -7152,48 +8819,64 @@ public Builder clearLastExecuteTime() { return this; } /** + * + * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getLastExecuteTimeBuilder() { - + onChanged(); return getLastExecuteTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { if (lastExecuteTimeBuilder_ != null) { return lastExecuteTimeBuilder_.getMessageOrBuilder(); } else { - return lastExecuteTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : lastExecuteTime_; + return lastExecuteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastExecuteTime_; } } /** + * + * *
        * Output only. The time the last patch job ran successfully.
        * 
* - * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getLastExecuteTimeFieldBuilder() { if (lastExecuteTimeBuilder_ == null) { - lastExecuteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLastExecuteTime(), - getParentForChildren(), - isClean()); + lastExecuteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastExecuteTime(), getParentForChildren(), isClean()); lastExecuteTime_ = null; } return lastExecuteTimeBuilder_; @@ -7201,39 +8884,58 @@ public com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder() { private com.google.protobuf.Timestamp nextExecuteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> nextExecuteTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + nextExecuteTimeBuilder_; /** + * + * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the nextExecuteTime field is set. */ public boolean hasNextExecuteTime() { return nextExecuteTimeBuilder_ != null || nextExecuteTime_ != null; } /** + * + * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The nextExecuteTime. */ public com.google.protobuf.Timestamp getNextExecuteTime() { if (nextExecuteTimeBuilder_ == null) { - return nextExecuteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextExecuteTime_; + return nextExecuteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : nextExecuteTime_; } else { return nextExecuteTimeBuilder_.getMessage(); } } /** + * + * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setNextExecuteTime(com.google.protobuf.Timestamp value) { if (nextExecuteTimeBuilder_ == null) { @@ -7249,14 +8951,17 @@ public Builder setNextExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setNextExecuteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setNextExecuteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (nextExecuteTimeBuilder_ == null) { nextExecuteTime_ = builderForValue.build(); onChanged(); @@ -7267,17 +8972,23 @@ public Builder setNextExecuteTime( return this; } /** + * + * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeNextExecuteTime(com.google.protobuf.Timestamp value) { if (nextExecuteTimeBuilder_ == null) { if (nextExecuteTime_ != null) { nextExecuteTime_ = - com.google.protobuf.Timestamp.newBuilder(nextExecuteTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(nextExecuteTime_) + .mergeFrom(value) + .buildPartial(); } else { nextExecuteTime_ = value; } @@ -7289,11 +9000,15 @@ public Builder mergeNextExecuteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearNextExecuteTime() { if (nextExecuteTimeBuilder_ == null) { @@ -7307,52 +9022,69 @@ public Builder clearNextExecuteTime() { return this; } /** + * + * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getNextExecuteTimeBuilder() { - + onChanged(); return getNextExecuteTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getNextExecuteTimeOrBuilder() { if (nextExecuteTimeBuilder_ != null) { return nextExecuteTimeBuilder_.getMessageOrBuilder(); } else { - return nextExecuteTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : nextExecuteTime_; + return nextExecuteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : nextExecuteTime_; } } /** + * + * *
        * Output only. The time the next patch job is scheduled to run.
        * 
* - * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getNextExecuteTimeFieldBuilder() { if (nextExecuteTimeBuilder_ == null) { - nextExecuteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getNextExecuteTime(), - getParentForChildren(), - isClean()); + nextExecuteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getNextExecuteTime(), getParentForChildren(), isClean()); nextExecuteTime_ = null; } return nextExecuteTimeBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7365,30 +9097,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.RecurringSchedule) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.RecurringSchedule) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RecurringSchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RecurringSchedule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecurringSchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RecurringSchedule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7400,67 +9134,78 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface WeeklyScheduleOrBuilder extends + public interface WeeklyScheduleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.WeeklySchedule) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dayOfWeek. */ int getDayOfWeekValue(); /** + * + * *
      * Required. Day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dayOfWeek. */ com.google.type.DayOfWeek getDayOfWeek(); } /** + * + * *
    * Represents a weekly schedule.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.WeeklySchedule} */ - public static final class WeeklySchedule extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class WeeklySchedule extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.WeeklySchedule) WeeklyScheduleOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WeeklySchedule.newBuilder() to construct. private WeeklySchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WeeklySchedule() { dayOfWeek_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WeeklySchedule(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WeeklySchedule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7479,19 +9224,20 @@ private WeeklySchedule( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - dayOfWeek_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + dayOfWeek_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7499,54 +9245,67 @@ private WeeklySchedule( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.class, com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.class, + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder.class); } public static final int DAY_OF_WEEK_FIELD_NUMBER = 1; private int dayOfWeek_; /** + * + * *
      * Required. Day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override public int getDayOfWeekValue() { + @java.lang.Override + public int getDayOfWeekValue() { return dayOfWeek_; } /** + * + * *
      * Required. Day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dayOfWeek. */ - @java.lang.Override public com.google.type.DayOfWeek getDayOfWeek() { + @java.lang.Override + public com.google.type.DayOfWeek getDayOfWeek() { @SuppressWarnings("deprecation") com.google.type.DayOfWeek result = com.google.type.DayOfWeek.valueOf(dayOfWeek_); return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7558,8 +9317,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dayOfWeek_ != com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED.getNumber()) { output.writeEnum(1, dayOfWeek_); } @@ -7573,8 +9331,7 @@ public int getSerializedSize() { size = 0; if (dayOfWeek_ != com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, dayOfWeek_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, dayOfWeek_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7584,12 +9341,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule other = (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule other = + (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) obj; if (dayOfWeek_ != other.dayOfWeek_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -7611,87 +9369,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule 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.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule 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.osconfig.v1beta.PatchDeployments.WeeklySchedule + 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.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7701,44 +9467,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents a weekly schedule.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.WeeklySchedule} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.WeeklySchedule) com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklyScheduleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.class, com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.class, + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -7748,14 +9519,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule + .getDefaultInstance(); } @java.lang.Override @@ -7769,7 +9542,8 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule build() @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule result = new com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule(this); + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule result = + new com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule(this); result.dayOfWeek_ = dayOfWeek_; onBuilt(); return result; @@ -7779,46 +9553,53 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.WeeklySchedule) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule)other); + return mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule other) { - if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule other) { + if (other + == com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule + .getDefaultInstance()) return this; if (other.dayOfWeek_ != 0) { setDayOfWeekValue(other.getDayOfWeekValue()); } @@ -7841,7 +9622,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7853,37 +9636,50 @@ public Builder mergeFrom( private int dayOfWeek_ = 0; /** + * + * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override public int getDayOfWeekValue() { + @java.lang.Override + public int getDayOfWeekValue() { return dayOfWeek_; } /** + * + * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for dayOfWeek to set. * @return This builder for chaining. */ public Builder setDayOfWeekValue(int value) { - + dayOfWeek_ = value; onChanged(); return this; } /** + * + * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dayOfWeek. */ @java.lang.Override @@ -7893,11 +9689,15 @@ public com.google.type.DayOfWeek getDayOfWeek() { return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; } /** + * + * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The dayOfWeek to set. * @return This builder for chaining. */ @@ -7905,25 +9705,30 @@ public Builder setDayOfWeek(com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } - + dayOfWeek_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Required. Day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearDayOfWeek() { - + dayOfWeek_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7936,30 +9741,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.WeeklySchedule) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.WeeklySchedule) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WeeklySchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WeeklySchedule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WeeklySchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WeeklySchedule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7971,44 +9778,62 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeeklySchedule + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface MonthlyScheduleOrBuilder extends + public interface MonthlyScheduleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.MonthlySchedule) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Week day in a month.
      * 
* - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the weekDayOfMonth field is set. */ boolean hasWeekDayOfMonth(); /** + * + * *
      * Required. Week day in a month.
      * 
* - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The weekDayOfMonth. */ com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth getWeekDayOfMonth(); /** + * + * *
      * Required. Week day in a month.
      * 
* - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder getWeekDayOfMonthOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder + getWeekDayOfMonthOrBuilder(); /** + * + * *
      * Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
      * indicates the last day of the month.
@@ -8017,10 +9842,13 @@ public interface MonthlyScheduleOrBuilder extends
      * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the monthDay field is set. */ boolean hasMonthDay(); /** + * + * *
      * Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
      * indicates the last day of the month.
@@ -8029,13 +9857,17 @@ public interface MonthlyScheduleOrBuilder extends
      * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The monthDay. */ int getMonthDay(); - public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.DayOfMonthCase getDayOfMonthCase(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.DayOfMonthCase + getDayOfMonthCase(); } /** + * + * *
    * Represents a monthly schedule. An example of a valid monthly schedule is
    * "on the third Tuesday of the month" or "on the 15th of the month".
@@ -8043,30 +9875,29 @@ public interface MonthlyScheduleOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.MonthlySchedule}
    */
-  public static final class MonthlySchedule extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class MonthlySchedule extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.MonthlySchedule)
       MonthlyScheduleOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use MonthlySchedule.newBuilder() to construct.
     private MonthlySchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private MonthlySchedule() {
-    }
+
+    private MonthlySchedule() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new MonthlySchedule();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private MonthlySchedule(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8085,32 +9916,42 @@ private MonthlySchedule(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder subBuilder = null;
-              if (dayOfMonthCase_ == 1) {
-                subBuilder = ((com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_).toBuilder();
+            case 10:
+              {
+                com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder
+                    subBuilder = null;
+                if (dayOfMonthCase_ == 1) {
+                  subBuilder =
+                      ((com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth)
+                              dayOfMonth_)
+                          .toBuilder();
+                }
+                dayOfMonth_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth)
+                          dayOfMonth_);
+                  dayOfMonth_ = subBuilder.buildPartial();
+                }
+                dayOfMonthCase_ = 1;
+                break;
               }
-              dayOfMonth_ =
-                  input.readMessage(com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_);
-                dayOfMonth_ = subBuilder.buildPartial();
+            case 16:
+              {
+                dayOfMonth_ = input.readInt32();
+                dayOfMonthCase_ = 2;
+                break;
               }
-              dayOfMonthCase_ = 1;
-              break;
-            }
-            case 16: {
-              dayOfMonth_ = input.readInt32();
-              dayOfMonthCase_ = 2;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8118,35 +9959,40 @@ private MonthlySchedule(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchDeployments
+          .internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchDeployments
+          .internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.class, com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.class,
+              com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder.class);
     }
 
     private int dayOfMonthCase_ = 0;
     private java.lang.Object dayOfMonth_;
+
     public enum DayOfMonthCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       WEEK_DAY_OF_MONTH(1),
       MONTH_DAY(2),
       DAYOFMONTH_NOT_SET(0);
       private final int value;
+
       private DayOfMonthCase(int value) {
         this.value = value;
       }
@@ -8162,30 +10008,38 @@ public static DayOfMonthCase valueOf(int value) {
 
       public static DayOfMonthCase forNumber(int value) {
         switch (value) {
-          case 1: return WEEK_DAY_OF_MONTH;
-          case 2: return MONTH_DAY;
-          case 0: return DAYOFMONTH_NOT_SET;
-          default: return null;
+          case 1:
+            return WEEK_DAY_OF_MONTH;
+          case 2:
+            return MONTH_DAY;
+          case 0:
+            return DAYOFMONTH_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public DayOfMonthCase
-    getDayOfMonthCase() {
-      return DayOfMonthCase.forNumber(
-          dayOfMonthCase_);
+    public DayOfMonthCase getDayOfMonthCase() {
+      return DayOfMonthCase.forNumber(dayOfMonthCase_);
     }
 
     public static final int WEEK_DAY_OF_MONTH_FIELD_NUMBER = 1;
     /**
+     *
+     *
      * 
      * Required. Week day in a month.
      * 
* - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the weekDayOfMonth field is set. */ @java.lang.Override @@ -8193,37 +10047,49 @@ public boolean hasWeekDayOfMonth() { return dayOfMonthCase_ == 1; } /** + * + * *
      * Required. Week day in a month.
      * 
* - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The weekDayOfMonth. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth getWeekDayOfMonth() { if (dayOfMonthCase_ == 1) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_; } return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); } /** + * + * *
      * Required. Week day in a month.
      * 
* - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder getWeekDayOfMonthOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder + getWeekDayOfMonthOrBuilder() { if (dayOfMonthCase_ == 1) { - return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_; + return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_; } return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); } public static final int MONTH_DAY_FIELD_NUMBER = 2; /** + * + * *
      * Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
      * indicates the last day of the month.
@@ -8232,6 +10098,7 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder
      * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the monthDay field is set. */ @java.lang.Override @@ -8239,6 +10106,8 @@ public boolean hasMonthDay() { return dayOfMonthCase_ == 2; } /** + * + * *
      * Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
      * indicates the last day of the month.
@@ -8247,6 +10116,7 @@ public boolean hasMonthDay() {
      * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The monthDay. */ @java.lang.Override @@ -8258,6 +10128,7 @@ public int getMonthDay() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8269,14 +10140,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dayOfMonthCase_ == 1) { - output.writeMessage(1, (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_); + output.writeMessage( + 1, (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_); } if (dayOfMonthCase_ == 2) { - output.writeInt32( - 2, (int)((java.lang.Integer) dayOfMonth_)); + output.writeInt32(2, (int) ((java.lang.Integer) dayOfMonth_)); } unknownFields.writeTo(output); } @@ -8288,13 +10158,14 @@ public int getSerializedSize() { size = 0; if (dayOfMonthCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_); } if (dayOfMonthCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size( - 2, (int)((java.lang.Integer) dayOfMonth_)); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 2, (int) ((java.lang.Integer) dayOfMonth_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8304,22 +10175,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule other = (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule other = + (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) obj; if (!getDayOfMonthCase().equals(other.getDayOfMonthCase())) return false; switch (dayOfMonthCase_) { case 1: - if (!getWeekDayOfMonth() - .equals(other.getWeekDayOfMonth())) return false; + if (!getWeekDayOfMonth().equals(other.getWeekDayOfMonth())) return false; break; case 2: - if (getMonthDay() - != other.getMonthDay()) return false; + if (getMonthDay() != other.getMonthDay()) return false; break; case 0: default: @@ -8353,87 +10223,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule 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.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule 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.osconfig.v1beta.PatchDeployments.MonthlySchedule + 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.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8443,6 +10321,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents a monthly schedule. An example of a valid monthly schedule is
      * "on the third Tuesday of the month" or "on the 15th of the month".
@@ -8450,38 +10330,41 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.MonthlySchedule}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.MonthlySchedule)
         com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlyScheduleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments
+            .internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchDeployments
+            .internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.class, com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.class,
+                com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.Builder.class);
       }
 
-      // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.newBuilder()
+      // Construct using
+      // com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -8491,14 +10374,16 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments
+            .internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule getDefaultInstanceForType() {
-        return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.getDefaultInstance();
+      public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule
+          getDefaultInstanceForType() {
+        return com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -8512,7 +10397,8 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule build()
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule result = new com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule(this);
+        com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule result =
+            new com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule(this);
         if (dayOfMonthCase_ == 1) {
           if (weekDayOfMonthBuilder_ == null) {
             result.dayOfMonth_ = dayOfMonth_;
@@ -8532,58 +10418,68 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule buildPa
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchDeployments.MonthlySchedule) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule)other);
+          return mergeFrom(
+              (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule other) {
-        if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule other) {
+        if (other
+            == com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule
+                .getDefaultInstance()) return this;
         switch (other.getDayOfMonthCase()) {
-          case WEEK_DAY_OF_MONTH: {
-            mergeWeekDayOfMonth(other.getWeekDayOfMonth());
-            break;
-          }
-          case MONTH_DAY: {
-            setMonthDay(other.getMonthDay());
-            break;
-          }
-          case DAYOFMONTH_NOT_SET: {
-            break;
-          }
+          case WEEK_DAY_OF_MONTH:
+            {
+              mergeWeekDayOfMonth(other.getWeekDayOfMonth());
+              break;
+            }
+          case MONTH_DAY:
+            {
+              setMonthDay(other.getMonthDay());
+              break;
+            }
+          case DAYOFMONTH_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -8604,7 +10500,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -8613,12 +10511,12 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int dayOfMonthCase_ = 0;
       private java.lang.Object dayOfMonth_;
-      public DayOfMonthCase
-          getDayOfMonthCase() {
-        return DayOfMonthCase.forNumber(
-            dayOfMonthCase_);
+
+      public DayOfMonthCase getDayOfMonthCase() {
+        return DayOfMonthCase.forNumber(dayOfMonthCase_);
       }
 
       public Builder clearDayOfMonth() {
@@ -8628,15 +10526,22 @@ public Builder clearDayOfMonth() {
         return this;
       }
 
-
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth, com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder> weekDayOfMonthBuilder_;
+              com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth,
+              com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder,
+              com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder>
+          weekDayOfMonthBuilder_;
       /**
+       *
+       *
        * 
        * Required. Week day in a month.
        * 
* - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the weekDayOfMonth field is set. */ @java.lang.Override @@ -8644,11 +10549,16 @@ public boolean hasWeekDayOfMonth() { return dayOfMonthCase_ == 1; } /** + * + * *
        * Required. Week day in a month.
        * 
* - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The weekDayOfMonth. */ @java.lang.Override @@ -8657,22 +10567,29 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth getWeekD if (dayOfMonthCase_ == 1) { return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth + .getDefaultInstance(); } else { if (dayOfMonthCase_ == 1) { return weekDayOfMonthBuilder_.getMessage(); } - return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth + .getDefaultInstance(); } } /** + * + * *
        * Required. Week day in a month.
        * 
* - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setWeekDayOfMonth(com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth value) { + public Builder setWeekDayOfMonth( + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth value) { if (weekDayOfMonthBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8686,14 +10603,19 @@ public Builder setWeekDayOfMonth(com.google.cloud.osconfig.v1beta.PatchDeploymen return this; } /** + * + * *
        * Required. Week day in a month.
        * 
* - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWeekDayOfMonth( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder + builderForValue) { if (weekDayOfMonthBuilder_ == null) { dayOfMonth_ = builderForValue.build(); onChanged(); @@ -8704,18 +10626,29 @@ public Builder setWeekDayOfMonth( return this; } /** + * + * *
        * Required. Week day in a month.
        * 
* - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeWeekDayOfMonth(com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth value) { + public Builder mergeWeekDayOfMonth( + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth value) { if (weekDayOfMonthBuilder_ == null) { - if (dayOfMonthCase_ == 1 && - dayOfMonth_ != com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.getDefaultInstance()) { - dayOfMonth_ = com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.newBuilder((com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_) - .mergeFrom(value).buildPartial(); + if (dayOfMonthCase_ == 1 + && dayOfMonth_ + != com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth + .getDefaultInstance()) { + dayOfMonth_ = + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.newBuilder( + (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) + dayOfMonth_) + .mergeFrom(value) + .buildPartial(); } else { dayOfMonth_ = value; } @@ -8731,11 +10664,15 @@ public Builder mergeWeekDayOfMonth(com.google.cloud.osconfig.v1beta.PatchDeploym return this; } /** + * + * *
        * Required. Week day in a month.
        * 
* - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearWeekDayOfMonth() { if (weekDayOfMonthBuilder_ == null) { @@ -8754,60 +10691,85 @@ public Builder clearWeekDayOfMonth() { return this; } /** + * + * *
        * Required. Week day in a month.
        * 
* - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder getWeekDayOfMonthBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder + getWeekDayOfMonthBuilder() { return getWeekDayOfMonthFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Week day in a month.
        * 
* - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder getWeekDayOfMonthOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder + getWeekDayOfMonthOrBuilder() { if ((dayOfMonthCase_ == 1) && (weekDayOfMonthBuilder_ != null)) { return weekDayOfMonthBuilder_.getMessageOrBuilder(); } else { if (dayOfMonthCase_ == 1) { return (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_; } - return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); + return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth + .getDefaultInstance(); } } /** + * + * *
        * Required. Week day in a month.
        * 
* - * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth, com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder> + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth, + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder> getWeekDayOfMonthFieldBuilder() { if (weekDayOfMonthBuilder_ == null) { if (!(dayOfMonthCase_ == 1)) { - dayOfMonth_ = com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); + dayOfMonth_ = + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth + .getDefaultInstance(); } - weekDayOfMonthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth, com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder>( + weekDayOfMonthBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth, + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder>( (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) dayOfMonth_, getParentForChildren(), isClean()); dayOfMonth_ = null; } dayOfMonthCase_ = 1; - onChanged();; + onChanged(); + ; return weekDayOfMonthBuilder_; } /** + * + * *
        * Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
        * indicates the last day of the month.
@@ -8816,12 +10778,15 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder
        * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the monthDay field is set. */ public boolean hasMonthDay() { return dayOfMonthCase_ == 2; } /** + * + * *
        * Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
        * indicates the last day of the month.
@@ -8830,6 +10795,7 @@ public boolean hasMonthDay() {
        * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The monthDay. */ public int getMonthDay() { @@ -8839,6 +10805,8 @@ public int getMonthDay() { return 0; } /** + * + * *
        * Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
        * indicates the last day of the month.
@@ -8847,6 +10815,7 @@ public int getMonthDay() {
        * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The monthDay to set. * @return This builder for chaining. */ @@ -8857,6 +10826,8 @@ public Builder setMonthDay(int value) { return this; } /** + * + * *
        * Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
        * indicates the last day of the month.
@@ -8865,6 +10836,7 @@ public Builder setMonthDay(int value) {
        * 
* * int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearMonthDay() { @@ -8875,6 +10847,7 @@ public Builder clearMonthDay() { } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8887,30 +10860,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.MonthlySchedule) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.MonthlySchedule) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MonthlySchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MonthlySchedule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MonthlySchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MonthlySchedule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8922,47 +10897,61 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.MonthlySchedule + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface WeekDayOfMonthOrBuilder extends + public interface WeekDayOfMonthOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.WeekDayOfMonth) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1
      * indicates the last week of the month.
      * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The weekOrdinal. */ int getWeekOrdinal(); /** + * + * *
      * Required. A day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dayOfWeek. */ int getDayOfWeekValue(); /** + * + * *
      * Required. A day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dayOfWeek. */ com.google.type.DayOfWeek getDayOfWeek(); /** + * + * *
      * Optional. Represents the number of days before or after the given week day of month
      * that the patch deployment is scheduled for. For example if `week_ordinal`
@@ -8974,42 +10963,45 @@ public interface WeekDayOfMonthOrBuilder extends
      * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The dayOffset. */ int getDayOffset(); } /** + * + * *
    * Represents one week day in a month. An example is "the 4th Sunday".
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.WeekDayOfMonth} */ - public static final class WeekDayOfMonth extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class WeekDayOfMonth extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.WeekDayOfMonth) WeekDayOfMonthOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WeekDayOfMonth.newBuilder() to construct. private WeekDayOfMonth(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WeekDayOfMonth() { dayOfWeek_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WeekDayOfMonth(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WeekDayOfMonth( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -9028,29 +11020,30 @@ private WeekDayOfMonth( case 0: done = true; break; - case 8: { - - weekOrdinal_ = input.readInt32(); - break; - } - case 16: { - int rawValue = input.readEnum(); - - dayOfWeek_ = rawValue; - break; - } - case 24: { + case 8: + { + weekOrdinal_ = input.readInt32(); + break; + } + case 16: + { + int rawValue = input.readEnum(); - dayOffset_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + dayOfWeek_ = rawValue; + break; + } + case 24: + { + dayOffset_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9058,35 +11051,40 @@ private WeekDayOfMonth( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.class, com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.class, + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder.class); } public static final int WEEK_ORDINAL_FIELD_NUMBER = 1; private int weekOrdinal_; /** + * + * *
      * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1
      * indicates the last week of the month.
      * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The weekOrdinal. */ @java.lang.Override @@ -9097,25 +11095,35 @@ public int getWeekOrdinal() { public static final int DAY_OF_WEEK_FIELD_NUMBER = 2; private int dayOfWeek_; /** + * + * *
      * Required. A day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override public int getDayOfWeekValue() { + @java.lang.Override + public int getDayOfWeekValue() { return dayOfWeek_; } /** + * + * *
      * Required. A day of the week.
      * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dayOfWeek. */ - @java.lang.Override public com.google.type.DayOfWeek getDayOfWeek() { + @java.lang.Override + public com.google.type.DayOfWeek getDayOfWeek() { @SuppressWarnings("deprecation") com.google.type.DayOfWeek result = com.google.type.DayOfWeek.valueOf(dayOfWeek_); return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; @@ -9124,6 +11132,8 @@ public int getWeekOrdinal() { public static final int DAY_OFFSET_FIELD_NUMBER = 3; private int dayOffset_; /** + * + * *
      * Optional. Represents the number of days before or after the given week day of month
      * that the patch deployment is scheduled for. For example if `week_ordinal`
@@ -9135,6 +11145,7 @@ public int getWeekOrdinal() {
      * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The dayOffset. */ @java.lang.Override @@ -9143,6 +11154,7 @@ public int getDayOffset() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9154,8 +11166,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (weekOrdinal_ != 0) { output.writeInt32(1, weekOrdinal_); } @@ -9175,16 +11186,13 @@ public int getSerializedSize() { size = 0; if (weekOrdinal_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, weekOrdinal_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, weekOrdinal_); } if (dayOfWeek_ != com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, dayOfWeek_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, dayOfWeek_); } if (dayOffset_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, dayOffset_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, dayOffset_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -9194,18 +11202,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth other = (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth other = + (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) obj; - if (getWeekOrdinal() - != other.getWeekOrdinal()) return false; + if (getWeekOrdinal() != other.getWeekOrdinal()) return false; if (dayOfWeek_ != other.dayOfWeek_) return false; - if (getDayOffset() - != other.getDayOffset()) return false; + if (getDayOffset() != other.getDayOffset()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9229,87 +11236,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth 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.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth 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.osconfig.v1beta.PatchDeployments.WeekDayOfMonth + 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.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9319,44 +11334,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents one week day in a month. An example is "the 4th Sunday".
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.WeekDayOfMonth} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.WeekDayOfMonth) com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonthOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.class, com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.class, + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -9370,14 +11390,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth + .getDefaultInstance(); } @java.lang.Override @@ -9391,7 +11413,8 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth build() @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth result = new com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth(this); + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth result = + new com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth(this); result.weekOrdinal_ = weekOrdinal_; result.dayOfWeek_ = dayOfWeek_; result.dayOffset_ = dayOffset_; @@ -9403,46 +11426,53 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth)other); + return mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth other) { - if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth other) { + if (other + == com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth + .getDefaultInstance()) return this; if (other.getWeekOrdinal() != 0) { setWeekOrdinal(other.getWeekOrdinal()); } @@ -9471,7 +11501,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9481,14 +11513,17 @@ public Builder mergeFrom( return this; } - private int weekOrdinal_ ; + private int weekOrdinal_; /** + * + * *
        * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1
        * indicates the last week of the month.
        * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The weekOrdinal. */ @java.lang.Override @@ -9496,32 +11531,38 @@ public int getWeekOrdinal() { return weekOrdinal_; } /** + * + * *
        * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1
        * indicates the last week of the month.
        * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The weekOrdinal to set. * @return This builder for chaining. */ public Builder setWeekOrdinal(int value) { - + weekOrdinal_ = value; onChanged(); return this; } /** + * + * *
        * Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1
        * indicates the last week of the month.
        * 
* * int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearWeekOrdinal() { - + weekOrdinal_ = 0; onChanged(); return this; @@ -9529,37 +11570,50 @@ public Builder clearWeekOrdinal() { private int dayOfWeek_ = 0; /** + * + * *
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override public int getDayOfWeekValue() { + @java.lang.Override + public int getDayOfWeekValue() { return dayOfWeek_; } /** - *
+       *
+       *
+       * 
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for dayOfWeek to set. * @return This builder for chaining. */ public Builder setDayOfWeekValue(int value) { - + dayOfWeek_ = value; onChanged(); return this; } /** + * + * *
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dayOfWeek. */ @java.lang.Override @@ -9569,11 +11623,15 @@ public com.google.type.DayOfWeek getDayOfWeek() { return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; } /** + * + * *
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The dayOfWeek to set. * @return This builder for chaining. */ @@ -9581,28 +11639,34 @@ public Builder setDayOfWeek(com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } - + dayOfWeek_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Required. A day of the week.
        * 
* - * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearDayOfWeek() { - + dayOfWeek_ = 0; onChanged(); return this; } - private int dayOffset_ ; + private int dayOffset_; /** + * + * *
        * Optional. Represents the number of days before or after the given week day of month
        * that the patch deployment is scheduled for. For example if `week_ordinal`
@@ -9614,6 +11678,7 @@ public Builder clearDayOfWeek() {
        * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The dayOffset. */ @java.lang.Override @@ -9621,6 +11686,8 @@ public int getDayOffset() { return dayOffset_; } /** + * + * *
        * Optional. Represents the number of days before or after the given week day of month
        * that the patch deployment is scheduled for. For example if `week_ordinal`
@@ -9632,16 +11699,19 @@ public int getDayOffset() {
        * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The dayOffset to set. * @return This builder for chaining. */ public Builder setDayOffset(int value) { - + dayOffset_ = value; onChanged(); return this; } /** + * + * *
        * Optional. Represents the number of days before or after the given week day of month
        * that the patch deployment is scheduled for. For example if `week_ordinal`
@@ -9653,14 +11723,16 @@ public Builder setDayOffset(int value) {
        * 
* * int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDayOffset() { - + dayOffset_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9673,30 +11745,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.WeekDayOfMonth) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.WeekDayOfMonth) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WeekDayOfMonth parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WeekDayOfMonth(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WeekDayOfMonth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WeekDayOfMonth(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9708,37 +11782,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.WeekDayOfMonth + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface CreatePatchDeploymentRequestOrBuilder extends + public interface CreatePatchDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.CreatePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The project to apply this patch deployment to in the form `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
      * Required. The project to apply this patch deployment to in the form `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
      * Required. A name for the patch deployment in the project. When creating a name
      * the following rules apply:
@@ -9750,10 +11832,13 @@ public interface CreatePatchDeploymentRequestOrBuilder extends
      * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The patchDeploymentId. */ java.lang.String getPatchDeploymentId(); /** + * + * *
      * Required. A name for the patch deployment in the project. When creating a name
      * the following rules apply:
@@ -9765,54 +11850,74 @@ public interface CreatePatchDeploymentRequestOrBuilder extends
      * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for patchDeploymentId. */ - com.google.protobuf.ByteString - getPatchDeploymentIdBytes(); + com.google.protobuf.ByteString getPatchDeploymentIdBytes(); /** + * + * *
      * Required. The patch deployment to create.
      * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the patchDeployment field is set. */ boolean hasPatchDeployment(); /** + * + * *
      * Required. The patch deployment to create.
      * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The patchDeployment. */ com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployment(); /** + * + * *
      * Required. The patch deployment to create.
      * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder + getPatchDeploymentOrBuilder(); } /** + * + * *
    * A request message for creating a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.CreatePatchDeploymentRequest} */ - public static final class CreatePatchDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CreatePatchDeploymentRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.CreatePatchDeploymentRequest) CreatePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreatePatchDeploymentRequest.newBuilder() to construct. - private CreatePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreatePatchDeploymentRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreatePatchDeploymentRequest() { parent_ = ""; patchDeploymentId_ = ""; @@ -9820,16 +11925,15 @@ private CreatePatchDeploymentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreatePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreatePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -9848,38 +11952,45 @@ private CreatePatchDeploymentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - patchDeploymentId_ = s; - break; - } - case 26: { - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder subBuilder = null; - if (patchDeployment_ != null) { - subBuilder = patchDeployment_.toBuilder(); + patchDeploymentId_ = s; + break; } - patchDeployment_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(patchDeployment_); - patchDeployment_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder + subBuilder = null; + if (patchDeployment_ != null) { + subBuilder = patchDeployment_.toBuilder(); + } + patchDeployment_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(patchDeployment_); + patchDeployment_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9887,34 +11998,40 @@ private CreatePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.class, + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
      * Required. The project to apply this patch deployment to in the form `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -9923,29 +12040,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
      * Required. The project to apply this patch deployment to in the form `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -9956,6 +12073,8 @@ public java.lang.String getParent() { public static final int PATCH_DEPLOYMENT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object patchDeploymentId_; /** + * + * *
      * Required. A name for the patch deployment in the project. When creating a name
      * the following rules apply:
@@ -9967,6 +12086,7 @@ public java.lang.String getParent() {
      * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The patchDeploymentId. */ @java.lang.Override @@ -9975,14 +12095,15 @@ public java.lang.String getPatchDeploymentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchDeploymentId_ = s; return s; } } /** + * + * *
      * Required. A name for the patch deployment in the project. When creating a name
      * the following rules apply:
@@ -9994,16 +12115,15 @@ public java.lang.String getPatchDeploymentId() {
      * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for patchDeploymentId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPatchDeploymentIdBytes() { + public com.google.protobuf.ByteString getPatchDeploymentIdBytes() { java.lang.Object ref = patchDeploymentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); patchDeploymentId_ = b; return b; } else { @@ -10014,11 +12134,16 @@ public java.lang.String getPatchDeploymentId() { public static final int PATCH_DEPLOYMENT_FIELD_NUMBER = 3; private com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment patchDeployment_; /** + * + * *
      * Required. The patch deployment to create.
      * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the patchDeployment field is set. */ @java.lang.Override @@ -10026,30 +12151,43 @@ public boolean hasPatchDeployment() { return patchDeployment_ != null; } /** + * + * *
      * Required. The patch deployment to create.
      * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The patchDeployment. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployment() { - return patchDeployment_ == null ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; + return patchDeployment_ == null + ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance() + : patchDeployment_; } /** + * + * *
      * Required. The patch deployment to create.
      * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder + getPatchDeploymentOrBuilder() { return getPatchDeployment(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10061,8 +12199,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -10088,8 +12225,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, patchDeploymentId_); } if (patchDeployment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPatchDeployment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPatchDeployment()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -10099,21 +12235,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest other = (com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest other = + (com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getPatchDeploymentId() - .equals(other.getPatchDeploymentId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getPatchDeploymentId().equals(other.getPatchDeploymentId())) return false; if (hasPatchDeployment() != other.hasPatchDeployment()) return false; if (hasPatchDeployment()) { - if (!getPatchDeployment() - .equals(other.getPatchDeployment())) return false; + if (!getPatchDeployment().equals(other.getPatchDeployment())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -10139,88 +12275,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10230,44 +12379,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for creating a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.CreatePatchDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.CreatePatchDeploymentRequest) com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + .class, + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -10285,19 +12441,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest build() { - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest result = buildPartial(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + build() { + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -10305,8 +12465,11 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRe } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest result = new com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + buildPartial() { + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest result = + new com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest( + this); result.parent_ = parent_; result.patchDeploymentId_ = patchDeploymentId_; if (patchDeploymentBuilder_ == null) { @@ -10322,46 +12485,56 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest other) { - if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest other) { + if (other + == com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -10388,11 +12561,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest parsedMessage = null; + com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -10404,18 +12580,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
        * Required. The project to apply this patch deployment to in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -10424,20 +12602,21 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The project to apply this patch deployment to in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -10445,54 +12624,61 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The project to apply this patch deployment to in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
        * Required. The project to apply this patch deployment to in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
        * Required. The project to apply this patch deployment to in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -10500,6 +12686,8 @@ public Builder setParentBytes( private java.lang.Object patchDeploymentId_ = ""; /** + * + * *
        * Required. A name for the patch deployment in the project. When creating a name
        * the following rules apply:
@@ -10511,13 +12699,13 @@ public Builder setParentBytes(
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The patchDeploymentId. */ public java.lang.String getPatchDeploymentId() { java.lang.Object ref = patchDeploymentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchDeploymentId_ = s; return s; @@ -10526,6 +12714,8 @@ public java.lang.String getPatchDeploymentId() { } } /** + * + * *
        * Required. A name for the patch deployment in the project. When creating a name
        * the following rules apply:
@@ -10537,15 +12727,14 @@ public java.lang.String getPatchDeploymentId() {
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for patchDeploymentId. */ - public com.google.protobuf.ByteString - getPatchDeploymentIdBytes() { + public com.google.protobuf.ByteString getPatchDeploymentIdBytes() { java.lang.Object ref = patchDeploymentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); patchDeploymentId_ = b; return b; } else { @@ -10553,6 +12742,8 @@ public java.lang.String getPatchDeploymentId() { } } /** + * + * *
        * Required. A name for the patch deployment in the project. When creating a name
        * the following rules apply:
@@ -10564,20 +12755,22 @@ public java.lang.String getPatchDeploymentId() {
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The patchDeploymentId to set. * @return This builder for chaining. */ - public Builder setPatchDeploymentId( - java.lang.String value) { + public Builder setPatchDeploymentId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + patchDeploymentId_ = value; onChanged(); return this; } /** + * + * *
        * Required. A name for the patch deployment in the project. When creating a name
        * the following rules apply:
@@ -10589,15 +12782,18 @@ public Builder setPatchDeploymentId(
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPatchDeploymentId() { - + patchDeploymentId_ = getDefaultInstance().getPatchDeploymentId(); onChanged(); return this; } /** + * + * *
        * Required. A name for the patch deployment in the project. When creating a name
        * the following rules apply:
@@ -10609,16 +12805,16 @@ public Builder clearPatchDeploymentId() {
        * 
* * string patch_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for patchDeploymentId to set. * @return This builder for chaining. */ - public Builder setPatchDeploymentIdBytes( - com.google.protobuf.ByteString value) { + public Builder setPatchDeploymentIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + patchDeploymentId_ = value; onChanged(); return this; @@ -10626,41 +12822,63 @@ public Builder setPatchDeploymentIdBytes( private com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment patchDeployment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> patchDeploymentBuilder_; + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> + patchDeploymentBuilder_; /** + * + * *
        * Required. The patch deployment to create.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the patchDeployment field is set. */ public boolean hasPatchDeployment() { return patchDeploymentBuilder_ != null || patchDeployment_ != null; } /** + * + * *
        * Required. The patch deployment to create.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The patchDeployment. */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployment() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment + getPatchDeployment() { if (patchDeploymentBuilder_ == null) { - return patchDeployment_ == null ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; + return patchDeployment_ == null + ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment + .getDefaultInstance() + : patchDeployment_; } else { return patchDeploymentBuilder_.getMessage(); } } /** + * + * *
        * Required. The patch deployment to create.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setPatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { + public Builder setPatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { if (patchDeploymentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10674,14 +12892,19 @@ public Builder setPatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployme return this; } /** + * + * *
        * Required. The patch deployment to create.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder + builderForValue) { if (patchDeploymentBuilder_ == null) { patchDeployment_ = builderForValue.build(); onChanged(); @@ -10692,17 +12915,25 @@ public Builder setPatchDeployment( return this; } /** + * + * *
        * Required. The patch deployment to create.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { + public Builder mergePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { if (patchDeploymentBuilder_ == null) { if (patchDeployment_ != null) { patchDeployment_ = - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.newBuilder(patchDeployment_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.newBuilder( + patchDeployment_) + .mergeFrom(value) + .buildPartial(); } else { patchDeployment_ = value; } @@ -10714,11 +12945,15 @@ public Builder mergePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeploy return this; } /** + * + * *
        * Required. The patch deployment to create.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPatchDeployment() { if (patchDeploymentBuilder_ == null) { @@ -10732,52 +12967,72 @@ public Builder clearPatchDeployment() { return this; } /** + * + * *
        * Required. The patch deployment to create.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder getPatchDeploymentBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder + getPatchDeploymentBuilder() { + onChanged(); return getPatchDeploymentFieldBuilder().getBuilder(); } /** + * + * *
        * Required. The patch deployment to create.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder + getPatchDeploymentOrBuilder() { if (patchDeploymentBuilder_ != null) { return patchDeploymentBuilder_.getMessageOrBuilder(); } else { - return patchDeployment_ == null ? - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; + return patchDeployment_ == null + ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment + .getDefaultInstance() + : patchDeployment_; } } /** + * + * *
        * Required. The patch deployment to create.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> getPatchDeploymentFieldBuilder() { if (patchDeploymentBuilder_ == null) { - patchDeploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder>( - getPatchDeployment(), - getParentForChildren(), - isClean()); + patchDeploymentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder>( + getPatchDeployment(), getParentForChildren(), isClean()); patchDeployment_ = null; } return patchDeploymentBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10790,30 +13045,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.CreatePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.CreatePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchDeployments + .CreatePatchDeploymentRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreatePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreatePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10825,70 +13084,78 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.CreatePatchDeploymentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GetPatchDeploymentRequestOrBuilder extends + public interface GetPatchDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.GetPatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
    * A request message for retrieving a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GetPatchDeploymentRequest} */ - public static final class GetPatchDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GetPatchDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.GetPatchDeploymentRequest) GetPatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPatchDeploymentRequest.newBuilder() to construct. private GetPatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPatchDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetPatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10907,19 +13174,20 @@ private GetPatchDeploymentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10927,35 +13195,41 @@ private GetPatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.class, + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -10964,30 +13238,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -10996,6 +13270,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11007,8 +13282,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -11032,15 +13306,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest)) { + if (!(obj + instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest other = (com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest other = + (com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11059,88 +13334,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11150,44 +13438,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for retrieving a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GetPatchDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.GetPatchDeploymentRequest) com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.class, + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.Builder + .class); } - // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -11197,19 +13491,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest build() { - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest result = buildPartial(); + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -11217,8 +13514,10 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentReque } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest result = new com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest + buildPartial() { + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest result = + new com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -11228,46 +13527,55 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest other) { - if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest other) { + if (other + == com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -11287,11 +13595,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parsedMessage = null; + com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -11303,19 +13614,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -11324,21 +13637,22 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -11346,61 +13660,69 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11413,30 +13735,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.GetPatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.GetPatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11448,84 +13773,102 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.GetPatchDeploymentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListPatchDeploymentsRequestOrBuilder extends + public interface ListPatchDeploymentsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ListPatchDeploymentsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The resource name of the parent in the form `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
      * Required. The resource name of the parent in the form `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
      * Optional. The maximum number of patch deployments to return. Default is 100.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
      * Optional. A pagination token returned from a previous call to ListPatchDeployments
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
      * Optional. A pagination token returned from a previous call to ListPatchDeployments
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } /** + * + * *
    * A request message for listing patch deployments.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchDeploymentsRequest} */ - public static final class ListPatchDeploymentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListPatchDeploymentsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ListPatchDeploymentsRequest) ListPatchDeploymentsRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchDeploymentsRequest.newBuilder() to construct. private ListPatchDeploymentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPatchDeploymentsRequest() { parent_ = ""; pageToken_ = ""; @@ -11533,16 +13876,15 @@ private ListPatchDeploymentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPatchDeploymentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPatchDeploymentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -11561,30 +13903,32 @@ private ListPatchDeploymentsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -11592,34 +13936,40 @@ private ListPatchDeploymentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.class, + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
      * Required. The resource name of the parent in the form `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -11628,29 +13978,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
      * Required. The resource name of the parent in the form `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -11661,11 +14011,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
      * Optional. The maximum number of patch deployments to return. Default is 100.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -11676,12 +14029,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
      * Optional. A pagination token returned from a previous call to ListPatchDeployments
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -11690,30 +14046,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
      * Optional. A pagination token returned from a previous call to ListPatchDeployments
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -11722,6 +14078,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11733,8 +14090,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -11757,8 +14113,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -11771,19 +14126,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest other = (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest other = + (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11806,88 +14161,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11897,44 +14265,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for listing patch deployments.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchDeploymentsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ListPatchDeploymentsRequest) com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.class, + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -11948,19 +14322,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest build() { - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest result = buildPartial(); + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -11968,8 +14345,10 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsReq } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest result = new com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest(this); + public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + buildPartial() { + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest result = + new com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -11981,46 +14360,56 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest other) { - if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest other) { + if (other + == com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -12047,11 +14436,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest parsedMessage = null; + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12063,18 +14455,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -12083,20 +14477,21 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -12104,66 +14499,76 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
        * Required. The resource name of the parent in the form `projects/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
        * Optional. The maximum number of patch deployments to return. Default is 100.
        * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -12171,30 +14576,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
        * Optional. The maximum number of patch deployments to return. Default is 100.
        * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
        * Optional. The maximum number of patch deployments to return. Default is 100.
        * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -12202,19 +14613,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
        * Optional. A pagination token returned from a previous call to ListPatchDeployments
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -12223,21 +14636,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * Optional. A pagination token returned from a previous call to ListPatchDeployments
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -12245,61 +14659,69 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * Optional. A pagination token returned from a previous call to ListPatchDeployments
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
        * Optional. A pagination token returned from a previous call to ListPatchDeployments
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
        * Optional. A pagination token returned from a previous call to ListPatchDeployments
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12312,30 +14734,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ListPatchDeploymentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ListPatchDeploymentsRequest) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchDeployments + .ListPatchDeploymentsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchDeploymentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchDeploymentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchDeploymentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchDeploymentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12347,34 +14773,42 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListPatchDeploymentsResponseOrBuilder extends + public interface ListPatchDeploymentsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ListPatchDeploymentsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The list of patch deployments.
      * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - java.util.List + java.util.List getPatchDeploymentsList(); /** + * + * *
      * The list of patch deployments.
      * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployments(int index); + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployments( + int index); /** + * + * *
      * The list of patch deployments.
      * 
@@ -12383,62 +14817,77 @@ public interface ListPatchDeploymentsResponseOrBuilder extends */ int getPatchDeploymentsCount(); /** + * + * *
      * The list of patch deployments.
      * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - java.util.List + java.util.List< + ? extends com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> getPatchDeploymentsOrBuilderList(); /** + * + * *
      * The list of patch deployments.
      * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentsOrBuilder( - int index); + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder + getPatchDeploymentsOrBuilder(int index); /** + * + * *
      * A pagination token that can be used to get the next page of patch
      * deployments.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
      * A pagination token that can be used to get the next page of patch
      * deployments.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } /** + * + * *
    * A response message for listing patch deployments.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchDeploymentsResponse} */ - public static final class ListPatchDeploymentsResponse extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListPatchDeploymentsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ListPatchDeploymentsResponse) ListPatchDeploymentsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchDeploymentsResponse.newBuilder() to construct. - private ListPatchDeploymentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListPatchDeploymentsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPatchDeploymentsResponse() { patchDeployments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -12446,16 +14895,15 @@ private ListPatchDeploymentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPatchDeploymentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPatchDeploymentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -12475,28 +14923,34 @@ private ListPatchDeploymentsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - patchDeployments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + patchDeployments_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>(); + mutable_bitField0_ |= 0x00000001; + } + patchDeployments_.add( + input.readMessage( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.parser(), + extensionRegistry)); + break; } - patchDeployments_.add( - input.readMessage(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -12504,8 +14958,7 @@ private ListPatchDeploymentsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { patchDeployments_ = java.util.Collections.unmodifiableList(patchDeployments_); @@ -12514,22 +14967,29 @@ private ListPatchDeploymentsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.class, com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.class, + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.Builder + .class); } public static final int PATCH_DEPLOYMENTS_FIELD_NUMBER = 1; - private java.util.List patchDeployments_; + private java.util.List + patchDeployments_; /** + * + * *
      * The list of patch deployments.
      * 
@@ -12537,10 +14997,13 @@ private ListPatchDeploymentsResponse( * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ @java.lang.Override - public java.util.List getPatchDeploymentsList() { + public java.util.List + getPatchDeploymentsList() { return patchDeployments_; } /** + * + * *
      * The list of patch deployments.
      * 
@@ -12548,11 +15011,14 @@ public java.util.Listrepeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> getPatchDeploymentsOrBuilderList() { return patchDeployments_; } /** + * + * *
      * The list of patch deployments.
      * 
@@ -12564,6 +15030,8 @@ public int getPatchDeploymentsCount() { return patchDeployments_.size(); } /** + * + * *
      * The list of patch deployments.
      * 
@@ -12571,10 +15039,13 @@ public int getPatchDeploymentsCount() { * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployments(int index) { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployments( + int index) { return patchDeployments_.get(index); } /** + * + * *
      * The list of patch deployments.
      * 
@@ -12582,20 +15053,23 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatc * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder + getPatchDeploymentsOrBuilder(int index) { return patchDeployments_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
      * A pagination token that can be used to get the next page of patch
      * deployments.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -12604,30 +15078,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
      * A pagination token that can be used to get the next page of patch
      * deployments.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -12636,6 +15110,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12647,8 +15122,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < patchDeployments_.size(); i++) { output.writeMessage(1, patchDeployments_.get(i)); } @@ -12665,8 +15139,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < patchDeployments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, patchDeployments_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, patchDeployments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -12679,17 +15153,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse other = (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse other = + (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse) obj; - if (!getPatchDeploymentsList() - .equals(other.getPatchDeploymentsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPatchDeploymentsList().equals(other.getPatchDeploymentsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -12712,88 +15187,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -12803,45 +15291,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A response message for listing patch deployments.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchDeploymentsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ListPatchDeploymentsResponse) com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.class, com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + .class, + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPatchDeploymentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -12857,19 +15353,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse build() { - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse result = buildPartial(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + build() { + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -12877,8 +15377,11 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRes } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse result = new com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse(this); + public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + buildPartial() { + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse result = + new com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse( + this); int from_bitField0_ = bitField0_; if (patchDeploymentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -12898,46 +15401,56 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsRes public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse other) { - if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse other) { + if (other + == com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + .getDefaultInstance()) return this; if (patchDeploymentsBuilder_ == null) { if (!other.patchDeployments_.isEmpty()) { if (patchDeployments_.isEmpty()) { @@ -12956,9 +15469,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.ListP patchDeploymentsBuilder_ = null; patchDeployments_ = other.patchDeployments_; bitField0_ = (bitField0_ & ~0x00000001); - patchDeploymentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPatchDeploymentsFieldBuilder() : null; + patchDeploymentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPatchDeploymentsFieldBuilder() + : null; } else { patchDeploymentsBuilder_.addAllMessages(other.patchDeployments_); } @@ -12983,11 +15497,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse parsedMessage = null; + com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12996,28 +15513,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List patchDeployments_ = - java.util.Collections.emptyList(); + private java.util.List + patchDeployments_ = java.util.Collections.emptyList(); + private void ensurePatchDeploymentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - patchDeployments_ = new java.util.ArrayList(patchDeployments_); + patchDeployments_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>( + patchDeployments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> patchDeploymentsBuilder_; + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> + patchDeploymentsBuilder_; /** + * + * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - public java.util.List getPatchDeploymentsList() { + public java.util.List + getPatchDeploymentsList() { if (patchDeploymentsBuilder_ == null) { return java.util.Collections.unmodifiableList(patchDeployments_); } else { @@ -13025,6 +15553,8 @@ public java.util.List * The list of patch deployments. *
@@ -13039,13 +15569,16 @@ public int getPatchDeploymentsCount() { } } /** + * + * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployments(int index) { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployments( + int index) { if (patchDeploymentsBuilder_ == null) { return patchDeployments_.get(index); } else { @@ -13053,6 +15586,8 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatc } } /** + * + * *
        * The list of patch deployments.
        * 
@@ -13074,6 +15609,8 @@ public Builder setPatchDeployments( return this; } /** + * + * *
        * The list of patch deployments.
        * 
@@ -13081,7 +15618,9 @@ public Builder setPatchDeployments( * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ public Builder setPatchDeployments( - int index, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder + builderForValue) { if (patchDeploymentsBuilder_ == null) { ensurePatchDeploymentsIsMutable(); patchDeployments_.set(index, builderForValue.build()); @@ -13092,13 +15631,16 @@ public Builder setPatchDeployments( return this; } /** + * + * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - public Builder addPatchDeployments(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { + public Builder addPatchDeployments( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { if (patchDeploymentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13112,6 +15654,8 @@ public Builder addPatchDeployments(com.google.cloud.osconfig.v1beta.PatchDeploym return this; } /** + * + * *
        * The list of patch deployments.
        * 
@@ -13133,6 +15677,8 @@ public Builder addPatchDeployments( return this; } /** + * + * *
        * The list of patch deployments.
        * 
@@ -13140,7 +15686,8 @@ public Builder addPatchDeployments( * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ public Builder addPatchDeployments( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder + builderForValue) { if (patchDeploymentsBuilder_ == null) { ensurePatchDeploymentsIsMutable(); patchDeployments_.add(builderForValue.build()); @@ -13151,6 +15698,8 @@ public Builder addPatchDeployments( return this; } /** + * + * *
        * The list of patch deployments.
        * 
@@ -13158,7 +15707,9 @@ public Builder addPatchDeployments( * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ public Builder addPatchDeployments( - int index, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder + builderForValue) { if (patchDeploymentsBuilder_ == null) { ensurePatchDeploymentsIsMutable(); patchDeployments_.add(index, builderForValue.build()); @@ -13169,6 +15720,8 @@ public Builder addPatchDeployments( return this; } /** + * + * *
        * The list of patch deployments.
        * 
@@ -13176,11 +15729,12 @@ public Builder addPatchDeployments( * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ public Builder addAllPatchDeployments( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment> + values) { if (patchDeploymentsBuilder_ == null) { ensurePatchDeploymentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, patchDeployments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, patchDeployments_); onChanged(); } else { patchDeploymentsBuilder_.addAllMessages(values); @@ -13188,6 +15742,8 @@ public Builder addAllPatchDeployments( return this; } /** + * + * *
        * The list of patch deployments.
        * 
@@ -13205,6 +15761,8 @@ public Builder clearPatchDeployments() { return this; } /** + * + * *
        * The list of patch deployments.
        * 
@@ -13222,39 +15780,47 @@ public Builder removePatchDeployments(int index) { return this; } /** + * + * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder getPatchDeploymentsBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder + getPatchDeploymentsBuilder(int index) { return getPatchDeploymentsFieldBuilder().getBuilder(index); } /** + * + * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder + getPatchDeploymentsOrBuilder(int index) { if (patchDeploymentsBuilder_ == null) { - return patchDeployments_.get(index); } else { + return patchDeployments_.get(index); + } else { return patchDeploymentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - public java.util.List - getPatchDeploymentsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> + getPatchDeploymentsOrBuilderList() { if (patchDeploymentsBuilder_ != null) { return patchDeploymentsBuilder_.getMessageOrBuilderList(); } else { @@ -13262,45 +15828,64 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilde } } /** + * + * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder addPatchDeploymentsBuilder() { - return getPatchDeploymentsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder + addPatchDeploymentsBuilder() { + return getPatchDeploymentsFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment + .getDefaultInstance()); } /** + * + * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder addPatchDeploymentsBuilder( - int index) { - return getPatchDeploymentsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder + addPatchDeploymentsBuilder(int index) { + return getPatchDeploymentsFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment + .getDefaultInstance()); } /** + * + * *
        * The list of patch deployments.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1; */ - public java.util.List - getPatchDeploymentsBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder> + getPatchDeploymentsBuilderList() { return getPatchDeploymentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> getPatchDeploymentsFieldBuilder() { if (patchDeploymentsBuilder_ == null) { - patchDeploymentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder>( + patchDeploymentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder>( patchDeployments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -13312,19 +15897,21 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder private java.lang.Object nextPageToken_ = ""; /** + * + * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -13333,21 +15920,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -13355,61 +15943,69 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
        * A pagination token that can be used to get the next page of patch
        * deployments.
        * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13422,30 +16018,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ListPatchDeploymentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ListPatchDeploymentsResponse) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchDeployments + .ListPatchDeploymentsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchDeploymentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchDeploymentsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchDeploymentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchDeploymentsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13457,70 +16057,80 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.ListPatchDeploymentsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DeletePatchDeploymentRequestOrBuilder extends + public interface DeletePatchDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.DeletePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
    * A request message for deleting a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.DeletePatchDeploymentRequest} */ - public static final class DeletePatchDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DeletePatchDeploymentRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.DeletePatchDeploymentRequest) DeletePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeletePatchDeploymentRequest.newBuilder() to construct. - private DeletePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeletePatchDeploymentRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeletePatchDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeletePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeletePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -13539,19 +16149,20 @@ private DeletePatchDeploymentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -13559,35 +16170,41 @@ private DeletePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.class, + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -13596,30 +16213,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -13628,6 +16245,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13639,8 +16257,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -13664,15 +16281,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest other = (com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest other = + (com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -13691,88 +16310,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -13782,44 +16414,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for deleting a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.DeletePatchDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.DeletePatchDeploymentRequest) com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + .class, + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -13829,19 +16468,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest build() { - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest result = buildPartial(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + build() { + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -13849,8 +16492,11 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRe } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest result = new com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + buildPartial() { + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest result = + new com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest( + this); result.name_ = name_; onBuilt(); return result; @@ -13860,46 +16506,56 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest other) { - if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest other) { + if (other + == com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -13919,11 +16575,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest parsedMessage = null; + com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -13935,19 +16594,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -13956,21 +16617,22 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -13978,61 +16640,69 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14045,30 +16715,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.DeletePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.DeletePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchDeployments + .DeletePatchDeploymentRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14080,104 +16754,134 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.DeletePatchDeploymentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface UpdatePatchDeploymentRequestOrBuilder extends + public interface UpdatePatchDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.UpdatePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The patch deployment to Update.
      * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the patchDeployment field is set. */ boolean hasPatchDeployment(); /** + * + * *
      * Required. The patch deployment to Update.
      * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The patchDeployment. */ com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployment(); /** + * + * *
      * Required. The patch deployment to Update.
      * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder + getPatchDeploymentOrBuilder(); /** + * + * *
      * Optional. Field mask that controls which fields of the patch deployment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
      * Optional. Field mask that controls which fields of the patch deployment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
      * Optional. Field mask that controls which fields of the patch deployment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } /** + * + * *
    * A request message for updating a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.UpdatePatchDeploymentRequest} */ - public static final class UpdatePatchDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class UpdatePatchDeploymentRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.UpdatePatchDeploymentRequest) UpdatePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdatePatchDeploymentRequest.newBuilder() to construct. - private UpdatePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdatePatchDeploymentRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdatePatchDeploymentRequest() { - } + + private UpdatePatchDeploymentRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdatePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdatePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -14196,39 +16900,46 @@ private UpdatePatchDeploymentRequest( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder subBuilder = null; - if (patchDeployment_ != null) { - subBuilder = patchDeployment_.toBuilder(); - } - patchDeployment_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(patchDeployment_); - patchDeployment_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); + case 10: + { + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder + subBuilder = null; + if (patchDeployment_ != null) { + subBuilder = patchDeployment_.toBuilder(); + } + patchDeployment_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(patchDeployment_); + patchDeployment_ = subBuilder.buildPartial(); + } + + break; } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -14236,34 +16947,42 @@ private UpdatePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.class, + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.Builder + .class); } public static final int PATCH_DEPLOYMENT_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment patchDeployment_; /** + * + * *
      * Required. The patch deployment to Update.
      * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the patchDeployment field is set. */ @java.lang.Override @@ -14271,38 +16990,54 @@ public boolean hasPatchDeployment() { return patchDeployment_ != null; } /** + * + * *
      * Required. The patch deployment to Update.
      * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The patchDeployment. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployment() { - return patchDeployment_ == null ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; + return patchDeployment_ == null + ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance() + : patchDeployment_; } /** + * + * *
      * Required. The patch deployment to Update.
      * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder + getPatchDeploymentOrBuilder() { return getPatchDeployment(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
      * Optional. Field mask that controls which fields of the patch deployment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -14310,12 +17045,16 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
      * Optional. Field mask that controls which fields of the patch deployment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -14323,12 +17062,15 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
      * Optional. Field mask that controls which fields of the patch deployment should be
      * updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -14336,6 +17078,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -14347,8 +17090,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (patchDeployment_ != null) { output.writeMessage(1, getPatchDeployment()); } @@ -14365,12 +17107,10 @@ public int getSerializedSize() { size = 0; if (patchDeployment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getPatchDeployment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPatchDeployment()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -14380,22 +17120,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest other = (com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest other = + (com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest) obj; if (hasPatchDeployment() != other.hasPatchDeployment()) return false; if (hasPatchDeployment()) { - if (!getPatchDeployment() - .equals(other.getPatchDeployment())) return false; + if (!getPatchDeployment().equals(other.getPatchDeployment())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -14421,88 +17162,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -14512,44 +17266,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for updating a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.UpdatePatchDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.UpdatePatchDeploymentRequest) com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + .class, + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -14569,19 +17330,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest build() { - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest result = buildPartial(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + build() { + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -14589,8 +17354,11 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRe } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest result = new com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + buildPartial() { + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest result = + new com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest( + this); if (patchDeploymentBuilder_ == null) { result.patchDeployment_ = patchDeployment_; } else { @@ -14609,46 +17377,56 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest other) { - if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest other) { + if (other + == com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + .getDefaultInstance()) return this; if (other.hasPatchDeployment()) { mergePatchDeployment(other.getPatchDeployment()); } @@ -14670,11 +17448,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest parsedMessage = null; + com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -14686,41 +17467,63 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment patchDeployment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> patchDeploymentBuilder_; + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> + patchDeploymentBuilder_; /** + * + * *
        * Required. The patch deployment to Update.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the patchDeployment field is set. */ public boolean hasPatchDeployment() { return patchDeploymentBuilder_ != null || patchDeployment_ != null; } /** + * + * *
        * Required. The patch deployment to Update.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The patchDeployment. */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment getPatchDeployment() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment + getPatchDeployment() { if (patchDeploymentBuilder_ == null) { - return patchDeployment_ == null ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; + return patchDeployment_ == null + ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment + .getDefaultInstance() + : patchDeployment_; } else { return patchDeploymentBuilder_.getMessage(); } } /** + * + * *
        * Required. The patch deployment to Update.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setPatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { + public Builder setPatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { if (patchDeploymentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14734,14 +17537,19 @@ public Builder setPatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployme return this; } /** + * + * *
        * Required. The patch deployment to Update.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPatchDeployment( - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder + builderForValue) { if (patchDeploymentBuilder_ == null) { patchDeployment_ = builderForValue.build(); onChanged(); @@ -14752,17 +17560,25 @@ public Builder setPatchDeployment( return this; } /** + * + * *
        * Required. The patch deployment to Update.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { + public Builder mergePatchDeployment( + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment value) { if (patchDeploymentBuilder_ == null) { if (patchDeployment_ != null) { patchDeployment_ = - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.newBuilder(patchDeployment_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.newBuilder( + patchDeployment_) + .mergeFrom(value) + .buildPartial(); } else { patchDeployment_ = value; } @@ -14774,11 +17590,15 @@ public Builder mergePatchDeployment(com.google.cloud.osconfig.v1beta.PatchDeploy return this; } /** + * + * *
        * Required. The patch deployment to Update.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPatchDeployment() { if (patchDeploymentBuilder_ == null) { @@ -14792,48 +17612,67 @@ public Builder clearPatchDeployment() { return this; } /** + * + * *
        * Required. The patch deployment to Update.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder getPatchDeploymentBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder + getPatchDeploymentBuilder() { + onChanged(); return getPatchDeploymentFieldBuilder().getBuilder(); } /** + * + * *
        * Required. The patch deployment to Update.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder + getPatchDeploymentOrBuilder() { if (patchDeploymentBuilder_ != null) { return patchDeploymentBuilder_.getMessageOrBuilder(); } else { - return patchDeployment_ == null ? - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.getDefaultInstance() : patchDeployment_; + return patchDeployment_ == null + ? com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment + .getDefaultInstance() + : patchDeployment_; } } /** + * + * *
        * Required. The patch deployment to Update.
        * 
* - * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder> getPatchDeploymentFieldBuilder() { if (patchDeploymentBuilder_ == null) { - patchDeploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder>( - getPatchDeployment(), - getParentForChildren(), - isClean()); + patchDeploymentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment.Builder, + com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder>( + getPatchDeployment(), getParentForChildren(), isClean()); patchDeployment_ = null; } return patchDeploymentBuilder_; @@ -14841,42 +17680,58 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilde private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
        * Optional. Field mask that controls which fields of the patch deployment should be
        * updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
        * Optional. Field mask that controls which fields of the patch deployment should be
        * updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
        * Optional. Field mask that controls which fields of the patch deployment should be
        * updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -14892,15 +17747,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
        * Optional. Field mask that controls which fields of the patch deployment should be
        * updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -14911,18 +17768,23 @@ public Builder setUpdateMask( return this; } /** + * + * *
        * Optional. Field mask that controls which fields of the patch deployment should be
        * updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_) + .mergeFrom(value) + .buildPartial(); } else { updateMask_ = value; } @@ -14934,12 +17796,15 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
        * Optional. Field mask that controls which fields of the patch deployment should be
        * updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -14953,55 +17818,69 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
        * Optional. Field mask that controls which fields of the patch deployment should be
        * updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Field mask that controls which fields of the patch deployment should be
        * updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
        * Optional. Field mask that controls which fields of the patch deployment should be
        * updated.
        * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -15014,30 +17893,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.UpdatePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.UpdatePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchDeployments + .UpdatePatchDeploymentRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdatePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdatePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15049,70 +17932,83 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.UpdatePatchDeploymentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PausePatchDeploymentRequestOrBuilder extends + public interface PausePatchDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PausePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
    * A request message for pausing a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.PausePatchDeploymentRequest} */ - public static final class PausePatchDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PausePatchDeploymentRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PausePatchDeploymentRequest) PausePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PausePatchDeploymentRequest.newBuilder() to construct. private PausePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PausePatchDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PausePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PausePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -15131,19 +18027,20 @@ private PausePatchDeploymentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -15151,35 +18048,43 @@ private PausePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.class, + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -15188,30 +18093,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -15220,6 +18127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15231,8 +18139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -15256,15 +18163,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest other = (com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest other = + (com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -15283,88 +18192,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -15374,44 +18296,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for pausing a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.PausePatchDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PausePatchDeploymentRequest) com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.class, + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -15421,19 +18349,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest build() { - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest result = buildPartial(); + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -15441,8 +18372,10 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentReq } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest result = new com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + buildPartial() { + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest result = + new com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -15452,46 +18385,56 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest other) { - if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest other) { + if (other + == com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -15511,11 +18454,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest parsedMessage = null; + com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -15527,19 +18473,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -15548,21 +18498,24 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -15570,61 +18523,75 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -15637,30 +18604,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PausePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PausePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchDeployments + .PausePatchDeploymentRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PausePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PausePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PausePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PausePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15672,70 +18643,84 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.PausePatchDeploymentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ResumePatchDeploymentRequestOrBuilder extends + public interface ResumePatchDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ResumePatchDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
    * A request message for resuming a patch deployment.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ResumePatchDeploymentRequest} */ - public static final class ResumePatchDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ResumePatchDeploymentRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ResumePatchDeploymentRequest) ResumePatchDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResumePatchDeploymentRequest.newBuilder() to construct. - private ResumePatchDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ResumePatchDeploymentRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResumePatchDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResumePatchDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResumePatchDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -15754,19 +18739,20 @@ private ResumePatchDeploymentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -15774,35 +18760,43 @@ private ResumePatchDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.class, + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -15811,30 +18805,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. The resource name of the patch deployment in the form
      * `projects/*/patchDeployments/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -15843,6 +18839,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15854,8 +18851,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -15879,15 +18875,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest other = (com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest) obj; + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest other = + (com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -15906,88 +18904,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest 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.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + 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.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -15997,44 +19008,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for resuming a patch deployment.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ResumePatchDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ResumePatchDeploymentRequest) com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.class, com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + .class, + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -16044,19 +19062,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments + .internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest build() { - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest result = buildPartial(); + public com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + build() { + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -16064,8 +19086,11 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRe } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest buildPartial() { - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest result = new com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest(this); + public com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + buildPartial() { + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest result = + new com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest( + this); result.name_ = name_; onBuilt(); return result; @@ -16075,46 +19100,56 @@ public com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest other) { - if (other == com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest other) { + if (other + == com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -16134,11 +19169,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest parsedMessage = null; + com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -16150,19 +19188,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -16171,21 +19213,24 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -16193,61 +19238,75 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. The resource name of the patch deployment in the form
        * `projects/*/patchDeployments/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16260,30 +19319,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ResumePatchDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ResumePatchDeploymentRequest) - private static final com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchDeployments + .ResumePatchDeploymentRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumePatchDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumePatchDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumePatchDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumePatchDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16295,281 +19358,317 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchDeployments.ResumePatchDeploymentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_PatchDeployment_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { java.lang.String[] descriptorData = { - "\n4google/cloud/osconfig/v1beta/patch_dep" + - "loyments.proto\022\034google.cloud.osconfig.v1" + - "beta\032\034google/api/annotations.proto\032\037goog" + - "le/api/field_behavior.proto\032\031google/api/" + - "resource.proto\032-google/cloud/osconfig/v1" + - "beta/patch_jobs.proto\032\036google/protobuf/d" + - "uration.proto\032 google/protobuf/field_mas" + - "k.proto\032\037google/protobuf/timestamp.proto" + - "\032\032google/type/datetime.proto\032\033google/typ" + - "e/dayofweek.proto\032\033google/type/timeofday" + - ".proto\"\204\007\n\017PatchDeployment\022\014\n\004name\030\001 \001(\t" + - "\022\030\n\013description\030\002 \001(\tB\003\340A\001\022O\n\017instance_f" + - "ilter\030\003 \001(\01321.google.cloud.osconfig.v1be" + - "ta.PatchInstanceFilterB\003\340A\002\022D\n\014patch_con" + - "fig\030\004 \001(\0132).google.cloud.osconfig.v1beta" + - ".PatchConfigB\003\340A\001\0220\n\010duration\030\005 \001(\0132\031.go" + - "ogle.protobuf.DurationB\003\340A\001\022O\n\021one_time_" + - "schedule\030\006 \001(\0132-.google.cloud.osconfig.v" + - "1beta.OneTimeScheduleB\003\340A\002H\000\022R\n\022recurrin" + - "g_schedule\030\007 \001(\0132/.google.cloud.osconfig" + - ".v1beta.RecurringScheduleB\003\340A\002H\000\0224\n\013crea" + - "te_time\030\010 \001(\0132\032.google.protobuf.Timestam" + - "pB\003\340A\003\0224\n\013update_time\030\t \001(\0132\032.google.pro" + - "tobuf.TimestampB\003\340A\003\022:\n\021last_execute_tim" + - "e\030\n \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + - "\022@\n\007rollout\030\013 \001(\0132*.google.cloud.osconfi" + - "g.v1beta.PatchRolloutB\003\340A\001\022G\n\005state\030\014 \001(" + - "\01623.google.cloud.osconfig.v1beta.PatchDe" + - "ployment.StateB\003\340A\003\"6\n\005State\022\025\n\021STATE_UN" + - "SPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\n\n\006PAUSED\020\002:d\352Aa" + - "\n\'osconfig.googleapis.com/PatchDeploymen" + - "t\0226projects/{project}/patchDeployments/{" + - "patch_deployment}B\n\n\010schedule\"H\n\017OneTime" + - "Schedule\0225\n\014execute_time\030\001 \001(\0132\032.google." + - "protobuf.TimestampB\003\340A\002\"\222\005\n\021RecurringSch" + - "edule\022-\n\ttime_zone\030\001 \001(\0132\025.google.type.T" + - "imeZoneB\003\340A\002\0223\n\nstart_time\030\002 \001(\0132\032.googl" + - "e.protobuf.TimestampB\003\340A\001\0221\n\010end_time\030\003 " + - "\001(\0132\032.google.protobuf.TimestampB\003\340A\001\0220\n\013" + - "time_of_day\030\004 \001(\0132\026.google.type.TimeOfDa" + - "yB\003\340A\002\022Q\n\tfrequency\030\005 \001(\01629.google.cloud" + - ".osconfig.v1beta.RecurringSchedule.Frequ" + - "encyB\003\340A\002\022C\n\006weekly\030\006 \001(\0132,.google.cloud" + - ".osconfig.v1beta.WeeklyScheduleB\003\340A\002H\000\022E" + - "\n\007monthly\030\007 \001(\0132-.google.cloud.osconfig." + - "v1beta.MonthlyScheduleB\003\340A\002H\000\022:\n\021last_ex" + - "ecute_time\030\t \001(\0132\032.google.protobuf.Times" + - "tampB\003\340A\003\022:\n\021next_execute_time\030\n \001(\0132\032.g" + - "oogle.protobuf.TimestampB\003\340A\003\"J\n\tFrequen" + - "cy\022\031\n\025FREQUENCY_UNSPECIFIED\020\000\022\n\n\006WEEKLY\020" + - "\001\022\013\n\007MONTHLY\020\002\022\t\n\005DAILY\020\003B\021\n\017schedule_co" + - "nfig\"B\n\016WeeklySchedule\0220\n\013day_of_week\030\001 " + - "\001(\0162\026.google.type.DayOfWeekB\003\340A\002\"\213\001\n\017Mon" + - "thlySchedule\022N\n\021week_day_of_month\030\001 \001(\0132" + - ",.google.cloud.osconfig.v1beta.WeekDayOf" + - "MonthB\003\340A\002H\000\022\030\n\tmonth_day\030\002 \001(\005B\003\340A\002H\000B\016" + - "\n\014day_of_month\"v\n\016WeekDayOfMonth\022\031\n\014week" + - "_ordinal\030\001 \001(\005B\003\340A\002\0220\n\013day_of_week\030\002 \001(\016" + - "2\026.google.type.DayOfWeekB\003\340A\002\022\027\n\nday_off" + - "set\030\003 \001(\005B\003\340A\001\"\243\001\n\034CreatePatchDeployment" + - "Request\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022 \n\023patch_de" + - "ployment_id\030\002 \001(\tB\003\340A\002\022L\n\020patch_deployme" + - "nt\030\003 \001(\0132-.google.cloud.osconfig.v1beta." + - "PatchDeploymentB\003\340A\002\".\n\031GetPatchDeployme" + - "ntRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"c\n\033ListPatc" + - "hDeploymentsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002" + - "\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003" + - " \001(\tB\003\340A\001\"\201\001\n\034ListPatchDeploymentsRespon" + - "se\022H\n\021patch_deployments\030\001 \003(\0132-.google.c" + - "loud.osconfig.v1beta.PatchDeployment\022\027\n\017" + - "next_page_token\030\002 \001(\t\"1\n\034DeletePatchDepl" + - "oymentRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"\242\001\n\034Upd" + - "atePatchDeploymentRequest\022L\n\020patch_deplo" + - "yment\030\001 \001(\0132-.google.cloud.osconfig.v1be" + - "ta.PatchDeploymentB\003\340A\002\0224\n\013update_mask\030\002" + - " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\"\\\n" + - "\033PausePatchDeploymentRequest\022=\n\004name\030\001 \001" + - "(\tB/\340A\002\372A)\n\'osconfig.googleapis.com/Patc" + - "hDeployment\"]\n\034ResumePatchDeploymentRequ" + - "est\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'osconfig.goog" + - "leapis.com/PatchDeploymentBz\n com.google" + - ".cloud.osconfig.v1betaB\020PatchDeployments" + - "ZDgoogle.golang.org/genproto/googleapis/" + - "cloud/osconfig/v1beta;osconfigb\006proto3" + "\n4google/cloud/osconfig/v1beta/patch_dep" + + "loyments.proto\022\034google.cloud.osconfig.v1" + + "beta\032\034google/api/annotations.proto\032\037goog" + + "le/api/field_behavior.proto\032\031google/api/" + + "resource.proto\032-google/cloud/osconfig/v1" + + "beta/patch_jobs.proto\032\036google/protobuf/d" + + "uration.proto\032 google/protobuf/field_mas" + + "k.proto\032\037google/protobuf/timestamp.proto" + + "\032\032google/type/datetime.proto\032\033google/typ" + + "e/dayofweek.proto\032\033google/type/timeofday" + + ".proto\"\204\007\n\017PatchDeployment\022\014\n\004name\030\001 \001(\t" + + "\022\030\n\013description\030\002 \001(\tB\003\340A\001\022O\n\017instance_f" + + "ilter\030\003 \001(\01321.google.cloud.osconfig.v1be" + + "ta.PatchInstanceFilterB\003\340A\002\022D\n\014patch_con" + + "fig\030\004 \001(\0132).google.cloud.osconfig.v1beta" + + ".PatchConfigB\003\340A\001\0220\n\010duration\030\005 \001(\0132\031.go" + + "ogle.protobuf.DurationB\003\340A\001\022O\n\021one_time_" + + "schedule\030\006 \001(\0132-.google.cloud.osconfig.v" + + "1beta.OneTimeScheduleB\003\340A\002H\000\022R\n\022recurrin" + + "g_schedule\030\007 \001(\0132/.google.cloud.osconfig" + + ".v1beta.RecurringScheduleB\003\340A\002H\000\0224\n\013crea" + + "te_time\030\010 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\0224\n\013update_time\030\t \001(\0132\032.google.pro" + + "tobuf.TimestampB\003\340A\003\022:\n\021last_execute_tim" + + "e\030\n \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\022@\n\007rollout\030\013 \001(\0132*.google.cloud.osconfi" + + "g.v1beta.PatchRolloutB\003\340A\001\022G\n\005state\030\014 \001(" + + "\01623.google.cloud.osconfig.v1beta.PatchDe" + + "ployment.StateB\003\340A\003\"6\n\005State\022\025\n\021STATE_UN" + + "SPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\n\n\006PAUSED\020\002:d\352Aa" + + "\n\'osconfig.googleapis.com/PatchDeploymen" + + "t\0226projects/{project}/patchDeployments/{" + + "patch_deployment}B\n\n\010schedule\"H\n\017OneTime" + + "Schedule\0225\n\014execute_time\030\001 \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\002\"\222\005\n\021RecurringSch" + + "edule\022-\n\ttime_zone\030\001 \001(\0132\025.google.type.T" + + "imeZoneB\003\340A\002\0223\n\nstart_time\030\002 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\001\0221\n\010end_time\030\003 " + + "\001(\0132\032.google.protobuf.TimestampB\003\340A\001\0220\n\013" + + "time_of_day\030\004 \001(\0132\026.google.type.TimeOfDa" + + "yB\003\340A\002\022Q\n\tfrequency\030\005 \001(\01629.google.cloud" + + ".osconfig.v1beta.RecurringSchedule.Frequ" + + "encyB\003\340A\002\022C\n\006weekly\030\006 \001(\0132,.google.cloud" + + ".osconfig.v1beta.WeeklyScheduleB\003\340A\002H\000\022E" + + "\n\007monthly\030\007 \001(\0132-.google.cloud.osconfig." + + "v1beta.MonthlyScheduleB\003\340A\002H\000\022:\n\021last_ex" + + "ecute_time\030\t \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\022:\n\021next_execute_time\030\n \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\"J\n\tFrequen" + + "cy\022\031\n\025FREQUENCY_UNSPECIFIED\020\000\022\n\n\006WEEKLY\020" + + "\001\022\013\n\007MONTHLY\020\002\022\t\n\005DAILY\020\003B\021\n\017schedule_co" + + "nfig\"B\n\016WeeklySchedule\0220\n\013day_of_week\030\001 " + + "\001(\0162\026.google.type.DayOfWeekB\003\340A\002\"\213\001\n\017Mon" + + "thlySchedule\022N\n\021week_day_of_month\030\001 \001(\0132" + + ",.google.cloud.osconfig.v1beta.WeekDayOf" + + "MonthB\003\340A\002H\000\022\030\n\tmonth_day\030\002 \001(\005B\003\340A\002H\000B\016" + + "\n\014day_of_month\"v\n\016WeekDayOfMonth\022\031\n\014week" + + "_ordinal\030\001 \001(\005B\003\340A\002\0220\n\013day_of_week\030\002 \001(\016" + + "2\026.google.type.DayOfWeekB\003\340A\002\022\027\n\nday_off" + + "set\030\003 \001(\005B\003\340A\001\"\243\001\n\034CreatePatchDeployment" + + "Request\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022 \n\023patch_de" + + "ployment_id\030\002 \001(\tB\003\340A\002\022L\n\020patch_deployme" + + "nt\030\003 \001(\0132-.google.cloud.osconfig.v1beta." + + "PatchDeploymentB\003\340A\002\".\n\031GetPatchDeployme" + + "ntRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"c\n\033ListPatc" + + "hDeploymentsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002" + + "\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003" + + " \001(\tB\003\340A\001\"\201\001\n\034ListPatchDeploymentsRespon" + + "se\022H\n\021patch_deployments\030\001 \003(\0132-.google.c" + + "loud.osconfig.v1beta.PatchDeployment\022\027\n\017" + + "next_page_token\030\002 \001(\t\"1\n\034DeletePatchDepl" + + "oymentRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"\242\001\n\034Upd" + + "atePatchDeploymentRequest\022L\n\020patch_deplo" + + "yment\030\001 \001(\0132-.google.cloud.osconfig.v1be" + + "ta.PatchDeploymentB\003\340A\002\0224\n\013update_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\"\\\n" + + "\033PausePatchDeploymentRequest\022=\n\004name\030\001 \001" + + "(\tB/\340A\002\372A)\n\'osconfig.googleapis.com/Patc" + + "hDeployment\"]\n\034ResumePatchDeploymentRequ" + + "est\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'osconfig.goog" + + "leapis.com/PatchDeploymentBz\n com.google" + + ".cloud.osconfig.v1betaB\020PatchDeployments" + + "ZDgoogle.golang.org/genproto/googleapis/" + + "cloud/osconfig/v1beta;osconfigb\006proto3" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.osconfig.v1beta.PatchJobs.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.DateTimeProto.getDescriptor(), - com.google.type.DayOfWeekProto.getDescriptor(), - com.google.type.TimeOfDayProto.getDescriptor(), - }); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.osconfig.v1beta.PatchJobs.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.type.DateTimeProto.getDescriptor(), + com.google.type.DayOfWeekProto.getDescriptor(), + com.google.type.TimeOfDayProto.getDescriptor(), + }); internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_osconfig_v1beta_PatchDeployment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor, - new java.lang.String[] { "Name", "Description", "InstanceFilter", "PatchConfig", "Duration", "OneTimeSchedule", "RecurringSchedule", "CreateTime", "UpdateTime", "LastExecuteTime", "Rollout", "State", "Schedule", }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_osconfig_v1beta_PatchDeployment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_PatchDeployment_descriptor, + new java.lang.String[] { + "Name", + "Description", + "InstanceFilter", + "PatchConfig", + "Duration", + "OneTimeSchedule", + "RecurringSchedule", + "CreateTime", + "UpdateTime", + "LastExecuteTime", + "Rollout", + "State", + "Schedule", + }); internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor, - new java.lang.String[] { "ExecuteTime", }); + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_OneTimeSchedule_descriptor, + new java.lang.String[] { + "ExecuteTime", + }); internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor, - new java.lang.String[] { "TimeZone", "StartTime", "EndTime", "TimeOfDay", "Frequency", "Weekly", "Monthly", "LastExecuteTime", "NextExecuteTime", "ScheduleConfig", }); + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_RecurringSchedule_descriptor, + new java.lang.String[] { + "TimeZone", + "StartTime", + "EndTime", + "TimeOfDay", + "Frequency", + "Weekly", + "Monthly", + "LastExecuteTime", + "NextExecuteTime", + "ScheduleConfig", + }); internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor, - new java.lang.String[] { "DayOfWeek", }); + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_WeeklySchedule_descriptor, + new java.lang.String[] { + "DayOfWeek", + }); internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor, - new java.lang.String[] { "WeekDayOfMonth", "MonthDay", "DayOfMonth", }); + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_MonthlySchedule_descriptor, + new java.lang.String[] { + "WeekDayOfMonth", "MonthDay", "DayOfMonth", + }); internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor, - new java.lang.String[] { "WeekOrdinal", "DayOfWeek", "DayOffset", }); + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_WeekDayOfMonth_descriptor, + new java.lang.String[] { + "WeekOrdinal", "DayOfWeek", "DayOffset", + }); internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor, - new java.lang.String[] { "Parent", "PatchDeploymentId", "PatchDeployment", }); + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_CreatePatchDeploymentRequest_descriptor, + new java.lang.String[] { + "Parent", "PatchDeploymentId", "PatchDeployment", + }); internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor, - new java.lang.String[] { "Name", }); + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_GetPatchDeploymentRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor, - new java.lang.String[] { "PatchDeployments", "NextPageToken", }); + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_ListPatchDeploymentsResponse_descriptor, + new java.lang.String[] { + "PatchDeployments", "NextPageToken", + }); internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor, - new java.lang.String[] { "Name", }); + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_DeletePatchDeploymentRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor, - new java.lang.String[] { "PatchDeployment", "UpdateMask", }); + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_UpdatePatchDeploymentRequest_descriptor, + new java.lang.String[] { + "PatchDeployment", "UpdateMask", + }); internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor, - new java.lang.String[] { "Name", }); + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_PausePatchDeploymentRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor, - new java.lang.String[] { "Name", }); + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_osconfig_v1beta_ResumePatchDeploymentRequest_descriptor, + new java.lang.String[] { + "Name", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.ResourceProto.resource); registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); diff --git a/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchJobs.java b/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchJobs.java similarity index 72% rename from owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchJobs.java rename to proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchJobs.java index bd95739e..5472191d 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchJobs.java +++ b/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/PatchJobs.java @@ -1,3 +1,18 @@ +/* + * 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/osconfig/v1beta/patch_jobs.proto @@ -5,112 +20,144 @@ public final class PatchJobs { private PatchJobs() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } - public interface ExecutePatchJobRequestOrBuilder extends + + public interface ExecutePatchJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ExecutePatchJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The project in which to run this patch in the form `projects/*`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
      * Required. The project in which to run this patch in the form `projects/*`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * Required. Instances to patch, either explicitly or filtered by some criteria such
      * as zone or labels.
      * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceFilter field is set. */ boolean hasInstanceFilter(); /** + * + * *
      * Required. Instances to patch, either explicitly or filtered by some criteria such
      * as zone or labels.
      * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceFilter. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanceFilter(); /** + * + * *
      * Required. Instances to patch, either explicitly or filtered by some criteria such
      * as zone or labels.
      * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder + getInstanceFilterOrBuilder(); /** + * + * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4; + * * @return Whether the patchConfig field is set. */ boolean hasPatchConfig(); /** + * + * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4; + * * @return The patchConfig. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig(); /** + * + * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
@@ -121,26 +168,34 @@ public interface ExecutePatchJobRequestOrBuilder extends
     com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder();
 
     /**
+     *
+     *
      * 
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
      * 
* * .google.protobuf.Duration duration = 5; + * * @return Whether the duration field is set. */ boolean hasDuration(); /** + * + * *
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
      * 
* * .google.protobuf.Duration duration = 5; + * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** + * + * *
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
@@ -151,55 +206,71 @@ public interface ExecutePatchJobRequestOrBuilder extends
     com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
     /**
+     *
+     *
      * 
      * If this patch is a dry-run only, instances are contacted but
      * will do nothing.
      * 
* * bool dry_run = 6; + * * @return The dryRun. */ boolean getDryRun(); /** + * + * *
      * Display name for this patch job. This does not have to be unique.
      * 
* * string display_name = 8; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
      * Display name for this patch job. This does not have to be unique.
      * 
* * string display_name = 8; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
      * Rollout strategy of the patch job.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 9; + * * @return Whether the rollout field is set. */ boolean hasRollout(); /** + * + * *
      * Rollout strategy of the patch job.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 9; + * * @return The rollout. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getRollout(); /** + * + * *
      * Rollout strategy of the patch job.
      * 
@@ -209,21 +280,24 @@ public interface ExecutePatchJobRequestOrBuilder extends com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder(); } /** + * + * *
    * A request message to initiate patching across Compute Engine instances.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ExecutePatchJobRequest} */ - public static final class ExecutePatchJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ExecutePatchJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ExecutePatchJobRequest) ExecutePatchJobRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecutePatchJobRequest.newBuilder() to construct. private ExecutePatchJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExecutePatchJobRequest() { parent_ = ""; description_ = ""; @@ -232,16 +306,15 @@ private ExecutePatchJobRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExecutePatchJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExecutePatchJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -260,88 +333,106 @@ private ExecutePatchJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 34: { - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder subBuilder = null; - if (patchConfig_ != null) { - subBuilder = patchConfig_.toBuilder(); - } - patchConfig_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(patchConfig_); - patchConfig_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 42: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (duration_ != null) { - subBuilder = duration_.toBuilder(); - } - duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(duration_); - duration_ = subBuilder.buildPartial(); + description_ = s; + break; } + case 34: + { + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder subBuilder = null; + if (patchConfig_ != null) { + subBuilder = patchConfig_.toBuilder(); + } + patchConfig_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(patchConfig_); + patchConfig_ = subBuilder.buildPartial(); + } - break; - } - case 48: { + break; + } + case 42: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (duration_ != null) { + subBuilder = duration_.toBuilder(); + } + duration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(duration_); + duration_ = subBuilder.buildPartial(); + } - dryRun_ = input.readBool(); - break; - } - case 58: { - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder subBuilder = null; - if (instanceFilter_ != null) { - subBuilder = instanceFilter_.toBuilder(); + break; } - instanceFilter_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(instanceFilter_); - instanceFilter_ = subBuilder.buildPartial(); + case 48: + { + dryRun_ = input.readBool(); + break; } + case 58: + { + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder subBuilder = + null; + if (instanceFilter_ != null) { + subBuilder = instanceFilter_.toBuilder(); + } + instanceFilter_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(instanceFilter_); + instanceFilter_ = subBuilder.buildPartial(); + } - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); - - displayName_ = s; - break; - } - case 74: { - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder subBuilder = null; - if (rollout_ != null) { - subBuilder = rollout_.toBuilder(); + break; } - rollout_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rollout_); - rollout_ = subBuilder.buildPartial(); + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; } + case 74: + { + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder subBuilder = null; + if (rollout_ != null) { + subBuilder = rollout_.toBuilder(); + } + rollout_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rollout_); + rollout_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -349,34 +440,39 @@ private ExecutePatchJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.class, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
      * Required. The project in which to run this patch in the form `projects/*`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -385,29 +481,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
      * Required. The project in which to run this patch in the form `projects/*`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -418,12 +514,15 @@ public java.lang.String getParent() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -432,30 +531,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -466,12 +565,17 @@ public java.lang.String getDescription() { public static final int INSTANCE_FILTER_FIELD_NUMBER = 7; private com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter instanceFilter_; /** + * + * *
      * Required. Instances to patch, either explicitly or filtered by some criteria such
      * as zone or labels.
      * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceFilter field is set. */ @java.lang.Override @@ -479,40 +583,55 @@ public boolean hasInstanceFilter() { return instanceFilter_ != null; } /** + * + * *
      * Required. Instances to patch, either explicitly or filtered by some criteria such
      * as zone or labels.
      * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceFilter. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanceFilter() { - return instanceFilter_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() + : instanceFilter_; } /** + * + * *
      * Required. Instances to patch, either explicitly or filtered by some criteria such
      * as zone or labels.
      * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder + getInstanceFilterOrBuilder() { return getInstanceFilter(); } public static final int PATCH_CONFIG_FIELD_NUMBER = 4; private com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig patchConfig_; /** + * + * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4; + * * @return Whether the patchConfig field is set. */ @java.lang.Override @@ -520,19 +639,26 @@ public boolean hasPatchConfig() { return patchConfig_ != null; } /** + * + * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4; + * * @return The patchConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig() { - return patchConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; + return patchConfig_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() + : patchConfig_; } /** + * + * *
      * Patch configuration being applied. If omitted, instances are
      * patched using the default configurations.
@@ -541,19 +667,23 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig() {
      * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder() {
+    public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder
+        getPatchConfigOrBuilder() {
       return getPatchConfig();
     }
 
     public static final int DURATION_FIELD_NUMBER = 5;
     private com.google.protobuf.Duration duration_;
     /**
+     *
+     *
      * 
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
      * 
* * .google.protobuf.Duration duration = 5; + * * @return Whether the duration field is set. */ @java.lang.Override @@ -561,12 +691,15 @@ public boolean hasDuration() { return duration_ != null; } /** + * + * *
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
      * 
* * .google.protobuf.Duration duration = 5; + * * @return The duration. */ @java.lang.Override @@ -574,6 +707,8 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** + * + * *
      * Duration of the patch job. After the duration ends, the patch job
      * times out.
@@ -589,12 +724,15 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
     public static final int DRY_RUN_FIELD_NUMBER = 6;
     private boolean dryRun_;
     /**
+     *
+     *
      * 
      * If this patch is a dry-run only, instances are contacted but
      * will do nothing.
      * 
* * bool dry_run = 6; + * * @return The dryRun. */ @java.lang.Override @@ -605,11 +743,14 @@ public boolean getDryRun() { public static final int DISPLAY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object displayName_; /** + * + * *
      * Display name for this patch job. This does not have to be unique.
      * 
* * string display_name = 8; + * * @return The displayName. */ @java.lang.Override @@ -618,29 +759,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
      * Display name for this patch job. This does not have to be unique.
      * 
* * string display_name = 8; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -651,11 +792,14 @@ public java.lang.String getDisplayName() { public static final int ROLLOUT_FIELD_NUMBER = 9; private com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout rollout_; /** + * + * *
      * Rollout strategy of the patch job.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 9; + * * @return Whether the rollout field is set. */ @java.lang.Override @@ -663,18 +807,25 @@ public boolean hasRollout() { return rollout_ != null; } /** + * + * *
      * Rollout strategy of the patch job.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 9; + * * @return The rollout. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getRollout() { - return rollout_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() + : rollout_; } /** + * + * *
      * Rollout strategy of the patch job.
      * 
@@ -687,6 +838,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRollo } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -698,8 +850,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -740,27 +891,22 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (patchConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getPatchConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPatchConfig()); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDuration()); } if (dryRun_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, dryRun_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, dryRun_); } if (instanceFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getInstanceFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getInstanceFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, displayName_); } if (rollout_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getRollout()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getRollout()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -770,40 +916,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest other = (com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest other = + (com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasInstanceFilter() != other.hasInstanceFilter()) return false; if (hasInstanceFilter()) { - if (!getInstanceFilter() - .equals(other.getInstanceFilter())) return false; + if (!getInstanceFilter().equals(other.getInstanceFilter())) return false; } if (hasPatchConfig() != other.hasPatchConfig()) return false; if (hasPatchConfig()) { - if (!getPatchConfig() - .equals(other.getPatchConfig())) return false; + if (!getPatchConfig().equals(other.getPatchConfig())) return false; } if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration() - .equals(other.getDuration())) return false; + if (!getDuration().equals(other.getDuration())) return false; } - if (getDryRun() - != other.getDryRun()) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (getDryRun() != other.getDryRun()) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (hasRollout() != other.hasRollout()) return false; if (hasRollout()) { - if (!getRollout() - .equals(other.getRollout())) return false; + if (!getRollout().equals(other.getRollout())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -833,8 +972,7 @@ public int hashCode() { hash = (53 * hash) + getDuration().hashCode(); } hash = (37 * hash) + DRY_RUN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDryRun()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDryRun()); hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; hash = (53 * hash) + getDisplayName().hashCode(); if (hasRollout()) { @@ -847,87 +985,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest 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.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest 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.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest + 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.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -937,44 +1083,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message to initiate patching across Compute Engine instances.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ExecutePatchJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ExecutePatchJobRequest) com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.class, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1014,14 +1165,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest + .getDefaultInstance(); } @java.lang.Override @@ -1035,7 +1188,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest build() @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest result = new com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest(this); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest result = + new com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest(this); result.parent_ = parent_; result.description_ = description_; if (instanceFilterBuilder_ == null) { @@ -1068,46 +1222,53 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest)other); + return mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest other) { - if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest other) { + if (other + == com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -1154,7 +1315,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1166,18 +1329,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1186,20 +1351,21 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1207,54 +1373,61 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
        * Required. The project in which to run this patch in the form `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1262,19 +1435,21 @@ public Builder setParentBytes( private java.lang.Object description_ = ""; /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1283,21 +1458,22 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1305,102 +1481,129 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - description_ = value; - onChanged(); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + description_ = value; + onChanged(); return this; } private com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter instanceFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> instanceFilterBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> + instanceFilterBuilder_; /** + * + * *
        * Required. Instances to patch, either explicitly or filtered by some criteria such
        * as zone or labels.
        * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceFilter field is set. */ public boolean hasInstanceFilter() { return instanceFilterBuilder_ != null || instanceFilter_ != null; } /** + * + * *
        * Required. Instances to patch, either explicitly or filtered by some criteria such
        * as zone or labels.
        * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceFilter. */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanceFilter() { if (instanceFilterBuilder_ == null) { - return instanceFilter_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() + : instanceFilter_; } else { return instanceFilterBuilder_.getMessage(); } } /** + * + * *
        * Required. Instances to patch, either explicitly or filtered by some criteria such
        * as zone or labels.
        * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInstanceFilter(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { + public Builder setInstanceFilter( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1414,12 +1617,16 @@ public Builder setInstanceFilter(com.google.cloud.osconfig.v1beta.PatchJobs.Patc return this; } /** + * + * *
        * Required. Instances to patch, either explicitly or filtered by some criteria such
        * as zone or labels.
        * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstanceFilter( com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder builderForValue) { @@ -1433,18 +1640,26 @@ public Builder setInstanceFilter( return this; } /** + * + * *
        * Required. Instances to patch, either explicitly or filtered by some criteria such
        * as zone or labels.
        * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { + public Builder mergeInstanceFilter( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (instanceFilter_ != null) { instanceFilter_ = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.newBuilder(instanceFilter_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.newBuilder( + instanceFilter_) + .mergeFrom(value) + .buildPartial(); } else { instanceFilter_ = value; } @@ -1456,12 +1671,16 @@ public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1beta.PatchJobs.Pa return this; } /** + * + * *
        * Required. Instances to patch, either explicitly or filtered by some criteria such
        * as zone or labels.
        * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstanceFilter() { if (instanceFilterBuilder_ == null) { @@ -1475,51 +1694,69 @@ public Builder clearInstanceFilter() { return this; } /** + * + * *
        * Required. Instances to patch, either explicitly or filtered by some criteria such
        * as zone or labels.
        * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder + getInstanceFilterBuilder() { + onChanged(); return getInstanceFilterFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Instances to patch, either explicitly or filtered by some criteria such
        * as zone or labels.
        * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder + getInstanceFilterOrBuilder() { if (instanceFilterBuilder_ != null) { return instanceFilterBuilder_.getMessageOrBuilder(); } else { - return instanceFilter_ == null ? - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() + : instanceFilter_; } } /** + * + * *
        * Required. Instances to patch, either explicitly or filtered by some criteria such
        * as zone or labels.
        * 
* - * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> getInstanceFilterFieldBuilder() { if (instanceFilterBuilder_ == null) { - instanceFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder>( - getInstanceFilter(), - getParentForChildren(), - isClean()); + instanceFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder>( + getInstanceFilter(), getParentForChildren(), isClean()); instanceFilter_ = null; } return instanceFilterBuilder_; @@ -1527,36 +1764,49 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder g private com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig patchConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> patchConfigBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> + patchConfigBuilder_; /** + * + * *
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4; + * * @return Whether the patchConfig field is set. */ public boolean hasPatchConfig() { return patchConfigBuilder_ != null || patchConfig_ != null; } /** + * + * *
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4; + * * @return The patchConfig. */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig() { if (patchConfigBuilder_ == null) { - return patchConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; + return patchConfig_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() + : patchConfig_; } else { return patchConfigBuilder_.getMessage(); } } /** + * + * *
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1578,6 +1828,8 @@ public Builder setPatchConfig(com.google.cloud.osconfig.v1beta.PatchJobs.PatchCo
         return this;
       }
       /**
+       *
+       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1597,6 +1849,8 @@ public Builder setPatchConfig(
         return this;
       }
       /**
+       *
+       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1604,11 +1858,14 @@ public Builder setPatchConfig(
        *
        * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4;
        */
-      public Builder mergePatchConfig(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig value) {
+      public Builder mergePatchConfig(
+          com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig value) {
         if (patchConfigBuilder_ == null) {
           if (patchConfig_ != null) {
             patchConfig_ =
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.newBuilder(patchConfig_).mergeFrom(value).buildPartial();
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.newBuilder(patchConfig_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             patchConfig_ = value;
           }
@@ -1620,6 +1877,8 @@ public Builder mergePatchConfig(com.google.cloud.osconfig.v1beta.PatchJobs.Patch
         return this;
       }
       /**
+       *
+       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1639,6 +1898,8 @@ public Builder clearPatchConfig() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1646,12 +1907,15 @@ public Builder clearPatchConfig() {
        *
        * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4;
        */
-      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder getPatchConfigBuilder() {
-        
+      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder
+          getPatchConfigBuilder() {
+
         onChanged();
         return getPatchConfigFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1659,15 +1923,19 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder getPatchCo
        *
        * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4;
        */
-      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder() {
+      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder
+          getPatchConfigOrBuilder() {
         if (patchConfigBuilder_ != null) {
           return patchConfigBuilder_.getMessageOrBuilder();
         } else {
-          return patchConfig_ == null ?
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_;
+          return patchConfig_ == null
+              ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance()
+              : patchConfig_;
         }
       }
       /**
+       *
+       *
        * 
        * Patch configuration being applied. If omitted, instances are
        * patched using the default configurations.
@@ -1676,14 +1944,17 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchC
        * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> 
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig,
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder,
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder>
           getPatchConfigFieldBuilder() {
         if (patchConfigBuilder_ == null) {
-          patchConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder>(
-                  getPatchConfig(),
-                  getParentForChildren(),
-                  isClean());
+          patchConfigBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig,
+                  com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder,
+                  com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder>(
+                  getPatchConfig(), getParentForChildren(), isClean());
           patchConfig_ = null;
         }
         return patchConfigBuilder_;
@@ -1691,26 +1962,35 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchC
 
       private com.google.protobuf.Duration duration_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_;
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
+          durationBuilder_;
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
        * 
* * .google.protobuf.Duration duration = 5; + * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** + * + * *
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
        * 
* * .google.protobuf.Duration duration = 5; + * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -1721,6 +2001,8 @@ public com.google.protobuf.Duration getDuration() { } } /** + * + * *
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -1742,6 +2024,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -1749,8 +2033,7 @@ public Builder setDuration(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration duration = 5;
        */
-      public Builder setDuration(
-          com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
         if (durationBuilder_ == null) {
           duration_ = builderForValue.build();
           onChanged();
@@ -1761,6 +2044,8 @@ public Builder setDuration(
         return this;
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -1772,7 +2057,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
         if (durationBuilder_ == null) {
           if (duration_ != null) {
             duration_ =
-              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
           } else {
             duration_ = value;
           }
@@ -1784,6 +2069,8 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -1803,6 +2090,8 @@ public Builder clearDuration() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -1811,11 +2100,13 @@ public Builder clearDuration() {
        * .google.protobuf.Duration duration = 5;
        */
       public com.google.protobuf.Duration.Builder getDurationBuilder() {
-        
+
         onChanged();
         return getDurationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -1827,11 +2118,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
         if (durationBuilder_ != null) {
           return durationBuilder_.getMessageOrBuilder();
         } else {
-          return duration_ == null ?
-              com.google.protobuf.Duration.getDefaultInstance() : duration_;
+          return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
         }
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the patch job
        * times out.
@@ -1840,27 +2132,33 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
        * .google.protobuf.Duration duration = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
           getDurationFieldBuilder() {
         if (durationBuilder_ == null) {
-          durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                  getDuration(),
-                  getParentForChildren(),
-                  isClean());
+          durationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
+                  getDuration(), getParentForChildren(), isClean());
           duration_ = null;
         }
         return durationBuilder_;
       }
 
-      private boolean dryRun_ ;
+      private boolean dryRun_;
       /**
+       *
+       *
        * 
        * If this patch is a dry-run only, instances are contacted but
        * will do nothing.
        * 
* * bool dry_run = 6; + * * @return The dryRun. */ @java.lang.Override @@ -1868,32 +2166,38 @@ public boolean getDryRun() { return dryRun_; } /** + * + * *
        * If this patch is a dry-run only, instances are contacted but
        * will do nothing.
        * 
* * bool dry_run = 6; + * * @param value The dryRun to set. * @return This builder for chaining. */ public Builder setDryRun(boolean value) { - + dryRun_ = value; onChanged(); return this; } /** + * + * *
        * If this patch is a dry-run only, instances are contacted but
        * will do nothing.
        * 
* * bool dry_run = 6; + * * @return This builder for chaining. */ public Builder clearDryRun() { - + dryRun_ = false; onChanged(); return this; @@ -1901,18 +2205,20 @@ public Builder clearDryRun() { private java.lang.Object displayName_ = ""; /** + * + * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1921,20 +2227,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1942,54 +2249,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
        * Display name for this patch job. This does not have to be unique.
        * 
* * string display_name = 8; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1997,34 +2311,47 @@ public Builder setDisplayNameBytes( private com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout rollout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> rolloutBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> + rolloutBuilder_; /** + * + * *
        * Rollout strategy of the patch job.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 9; + * * @return Whether the rollout field is set. */ public boolean hasRollout() { return rolloutBuilder_ != null || rollout_ != null; } /** + * + * *
        * Rollout strategy of the patch job.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 9; + * * @return The rollout. */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getRollout() { if (rolloutBuilder_ == null) { - return rollout_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() + : rollout_; } else { return rolloutBuilder_.getMessage(); } } /** + * + * *
        * Rollout strategy of the patch job.
        * 
@@ -2045,6 +2372,8 @@ public Builder setRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollou return this; } /** + * + * *
        * Rollout strategy of the patch job.
        * 
@@ -2063,6 +2392,8 @@ public Builder setRollout( return this; } /** + * + * *
        * Rollout strategy of the patch job.
        * 
@@ -2073,7 +2404,9 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRoll if (rolloutBuilder_ == null) { if (rollout_ != null) { rollout_ = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.newBuilder(rollout_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.newBuilder(rollout_) + .mergeFrom(value) + .buildPartial(); } else { rollout_ = value; } @@ -2085,6 +2418,8 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRoll return this; } /** + * + * *
        * Rollout strategy of the patch job.
        * 
@@ -2103,6 +2438,8 @@ public Builder clearRollout() { return this; } /** + * + * *
        * Rollout strategy of the patch job.
        * 
@@ -2110,26 +2447,32 @@ public Builder clearRollout() { * .google.cloud.osconfig.v1beta.PatchRollout rollout = 9; */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder getRolloutBuilder() { - + onChanged(); return getRolloutFieldBuilder().getBuilder(); } /** + * + * *
        * Rollout strategy of the patch job.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 9; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder + getRolloutOrBuilder() { if (rolloutBuilder_ != null) { return rolloutBuilder_.getMessageOrBuilder(); } else { - return rollout_ == null ? - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() + : rollout_; } } /** + * + * *
        * Rollout strategy of the patch job.
        * 
@@ -2137,18 +2480,22 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRollo * .google.cloud.osconfig.v1beta.PatchRollout rollout = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> getRolloutFieldBuilder() { if (rolloutBuilder_ == null) { - rolloutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder>( - getRollout(), - getParentForChildren(), - isClean()); + rolloutBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder>( + getRollout(), getParentForChildren(), isClean()); rollout_ = null; } return rolloutBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2161,30 +2508,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ExecutePatchJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ExecutePatchJobRequest) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutePatchJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutePatchJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutePatchJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecutePatchJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2196,68 +2545,76 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GetPatchJobRequestOrBuilder extends + public interface GetPatchJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.GetPatchJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
    * Request to get an active or completed patch job.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GetPatchJobRequest} */ - public static final class GetPatchJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GetPatchJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.GetPatchJobRequest) GetPatchJobRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPatchJobRequest.newBuilder() to construct. private GetPatchJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPatchJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPatchJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetPatchJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2276,19 +2633,20 @@ private GetPatchJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2296,34 +2654,39 @@ private GetPatchJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.class, + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -2332,29 +2695,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2363,6 +2726,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2374,8 +2738,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -2399,15 +2762,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest other = (com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest other = + (com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2427,87 +2790,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest 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.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2517,27 +2887,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request to get an active or completed patch job.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GetPatchJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.GetPatchJobRequest) com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.class, + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.Builder.class); } // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.newBuilder() @@ -2545,16 +2920,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2564,13 +2938,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.getDefaultInstance(); } @@ -2585,7 +2960,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest result = new com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest(this); + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest result = + new com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -2595,46 +2971,52 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.GetPatchJobRequest) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest other) { - if (other == com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest other) { + if (other + == com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2658,7 +3040,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2670,18 +3054,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2690,20 +3076,21 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2711,58 +3098,66 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2775,30 +3170,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.GetPatchJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.GetPatchJobRequest) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPatchJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPatchJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPatchJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPatchJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2810,69 +3207,85 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.GetPatchJobRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListPatchJobInstanceDetailsRequestOrBuilder extends + public interface ListPatchJobInstanceDetailsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
      * Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
      * The maximum number of instance details records to return.  Default is 100.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
      * A filter expression that filters results listed in the response. This
      * field supports filtering results by instance zone, name, state, or
@@ -2880,10 +3293,13 @@ public interface ListPatchJobInstanceDetailsRequestOrBuilder extends
      * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
      * A filter expression that filters results listed in the response. This
      * field supports filtering results by instance zone, name, state, or
@@ -2891,27 +3307,32 @@ public interface ListPatchJobInstanceDetailsRequestOrBuilder extends
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } /** + * + * *
    * Request to list details for all instances that are part of a patch job.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsRequest} */ - public static final class ListPatchJobInstanceDetailsRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListPatchJobInstanceDetailsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsRequest) ListPatchJobInstanceDetailsRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchJobInstanceDetailsRequest.newBuilder() to construct. - private ListPatchJobInstanceDetailsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListPatchJobInstanceDetailsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPatchJobInstanceDetailsRequest() { parent_ = ""; pageToken_ = ""; @@ -2920,16 +3341,15 @@ private ListPatchJobInstanceDetailsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPatchJobInstanceDetailsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPatchJobInstanceDetailsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2948,36 +3368,39 @@ private ListPatchJobInstanceDetailsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2985,34 +3408,40 @@ private ListPatchJobInstanceDetailsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.class, + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
      * Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -3021,29 +3450,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
      * Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -3054,11 +3483,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
      * The maximum number of instance details records to return.  Default is 100.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -3069,12 +3501,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -3083,30 +3518,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -3117,6 +3552,8 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
      * A filter expression that filters results listed in the response. This
      * field supports filtering results by instance zone, name, state, or
@@ -3124,6 +3561,7 @@ public java.lang.String getPageToken() {
      * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -3132,14 +3570,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
      * A filter expression that filters results listed in the response. This
      * field supports filtering results by instance zone, name, state, or
@@ -3147,16 +3586,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -3165,6 +3603,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3176,8 +3615,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -3203,8 +3641,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -3220,21 +3657,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest other = (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest other = + (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3259,88 +3695,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3350,44 +3799,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request to list details for all instances that are part of a patch job.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsRequest) com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.class, + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3403,19 +3858,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest build() { - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest result = buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3423,8 +3881,10 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsReq } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest result = new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest(this); + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + buildPartial() { + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest result = + new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -3437,46 +3897,56 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest other) { - if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest other) { + if (other + == com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -3507,11 +3977,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest parsedMessage = null; + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3523,18 +3996,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
        * Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -3543,20 +4018,21 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -3564,66 +4040,76 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
        * Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
        * Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
        * The maximum number of instance details records to return.  Default is 100.
        * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -3631,30 +4117,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
        * The maximum number of instance details records to return.  Default is 100.
        * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
        * The maximum number of instance details records to return.  Default is 100.
        * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -3662,19 +4154,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -3683,21 +4177,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -3705,57 +4200,64 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -3763,6 +4265,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -3770,13 +4274,13 @@ public Builder setPageTokenBytes(
        * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -3785,6 +4289,8 @@ public java.lang.String getFilter() { } } /** + * + * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -3792,15 +4298,14 @@ public java.lang.String getFilter() {
        * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -3808,6 +4313,8 @@ public java.lang.String getFilter() { } } /** + * + * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -3815,20 +4322,22 @@ public java.lang.String getFilter() {
        * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -3836,15 +4345,18 @@ public Builder setFilter(
        * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
        * A filter expression that filters results listed in the response. This
        * field supports filtering results by instance zone, name, state, or
@@ -3852,20 +4364,21 @@ public Builder clearFilter() {
        * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3878,30 +4391,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsRequest) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchJobs + .ListPatchJobInstanceDetailsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchJobInstanceDetailsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchJobInstanceDetailsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchJobInstanceDetailsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchJobInstanceDetailsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3913,96 +4430,129 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListPatchJobInstanceDetailsResponseOrBuilder extends + public interface ListPatchJobInstanceDetailsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - java.util.List + java.util.List getPatchJobInstanceDetailsList(); /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails getPatchJobInstanceDetails(int index); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails getPatchJobInstanceDetails( + int index); /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ int getPatchJobInstanceDetailsCount(); /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder> getPatchJobInstanceDetailsOrBuilderList(); /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder getPatchJobInstanceDetailsOrBuilder( - int index); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder + getPatchJobInstanceDetailsOrBuilder(int index); /** + * + * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } /** + * + * *
    * A response message for listing the instances details for a patch job.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsResponse} */ - public static final class ListPatchJobInstanceDetailsResponse extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListPatchJobInstanceDetailsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsResponse) ListPatchJobInstanceDetailsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchJobInstanceDetailsResponse.newBuilder() to construct. - private ListPatchJobInstanceDetailsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListPatchJobInstanceDetailsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPatchJobInstanceDetailsResponse() { patchJobInstanceDetails_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -4010,16 +4560,15 @@ private ListPatchJobInstanceDetailsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPatchJobInstanceDetailsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPatchJobInstanceDetailsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4039,28 +4588,34 @@ private ListPatchJobInstanceDetailsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - patchJobInstanceDetails_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + patchJobInstanceDetails_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails>(); + mutable_bitField0_ |= 0x00000001; + } + patchJobInstanceDetails_.add( + input.readMessage( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.parser(), + extensionRegistry)); + break; } - patchJobInstanceDetails_.add( - input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4068,97 +4623,128 @@ private ListPatchJobInstanceDetailsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - patchJobInstanceDetails_ = java.util.Collections.unmodifiableList(patchJobInstanceDetails_); + patchJobInstanceDetails_ = + java.util.Collections.unmodifiableList(patchJobInstanceDetails_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.class, com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.class, + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.Builder + .class); } public static final int PATCH_JOB_INSTANCE_DETAILS_FIELD_NUMBER = 1; - private java.util.List patchJobInstanceDetails_; + private java.util.List + patchJobInstanceDetails_; /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ @java.lang.Override - public java.util.List getPatchJobInstanceDetailsList() { + public java.util.List + getPatchJobInstanceDetailsList() { return patchJobInstanceDetails_; } /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder> getPatchJobInstanceDetailsOrBuilderList() { return patchJobInstanceDetails_; } /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ @java.lang.Override public int getPatchJobInstanceDetailsCount() { return patchJobInstanceDetails_.size(); } /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails getPatchJobInstanceDetails(int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails + getPatchJobInstanceDetails(int index) { return patchJobInstanceDetails_.get(index); } /** + * + * *
      * A list of instance status.
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder getPatchJobInstanceDetailsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder + getPatchJobInstanceDetailsOrBuilder(int index) { return patchJobInstanceDetails_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -4167,29 +4753,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -4198,6 +4784,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4209,8 +4796,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < patchJobInstanceDetails_.size(); i++) { output.writeMessage(1, patchJobInstanceDetails_.get(i)); } @@ -4227,8 +4813,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < patchJobInstanceDetails_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, patchJobInstanceDetails_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, patchJobInstanceDetails_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -4241,17 +4828,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse other = (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse other = + (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse) obj; - if (!getPatchJobInstanceDetailsList() - .equals(other.getPatchJobInstanceDetailsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPatchJobInstanceDetailsList().equals(other.getPatchJobInstanceDetailsList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4274,88 +4863,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4365,45 +4967,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A response message for listing the instances details for a patch job.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsResponse) com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.class, com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + .class, + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + .Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPatchJobInstanceDetailsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -4419,19 +5029,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse build() { - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse result = buildPartial(); + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + build() { + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4439,12 +5053,16 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRes } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse result = new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse(this); + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + buildPartial() { + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse result = + new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse( + this); int from_bitField0_ = bitField0_; if (patchJobInstanceDetailsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - patchJobInstanceDetails_ = java.util.Collections.unmodifiableList(patchJobInstanceDetails_); + patchJobInstanceDetails_ = + java.util.Collections.unmodifiableList(patchJobInstanceDetails_); bitField0_ = (bitField0_ & ~0x00000001); } result.patchJobInstanceDetails_ = patchJobInstanceDetails_; @@ -4460,46 +5078,56 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsRes public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse)other); + if (other + instanceof + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse) { + return mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse other) { - if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse other) { + if (other + == com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + .getDefaultInstance()) return this; if (patchJobInstanceDetailsBuilder_ == null) { if (!other.patchJobInstanceDetails_.isEmpty()) { if (patchJobInstanceDetails_.isEmpty()) { @@ -4518,9 +5146,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJob patchJobInstanceDetailsBuilder_ = null; patchJobInstanceDetails_ = other.patchJobInstanceDetails_; bitField0_ = (bitField0_ & ~0x00000001); - patchJobInstanceDetailsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPatchJobInstanceDetailsFieldBuilder() : null; + patchJobInstanceDetailsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPatchJobInstanceDetailsFieldBuilder() + : null; } else { patchJobInstanceDetailsBuilder_.addAllMessages(other.patchJobInstanceDetails_); } @@ -4545,11 +5174,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse parsedMessage = null; + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4558,28 +5190,41 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List patchJobInstanceDetails_ = - java.util.Collections.emptyList(); + private java.util.List + patchJobInstanceDetails_ = java.util.Collections.emptyList(); + private void ensurePatchJobInstanceDetailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - patchJobInstanceDetails_ = new java.util.ArrayList(patchJobInstanceDetails_); + patchJobInstanceDetails_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails>( + patchJobInstanceDetails_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder> patchJobInstanceDetailsBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder> + patchJobInstanceDetailsBuilder_; /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - public java.util.List getPatchJobInstanceDetailsList() { + public java.util.List + getPatchJobInstanceDetailsList() { if (patchJobInstanceDetailsBuilder_ == null) { return java.util.Collections.unmodifiableList(patchJobInstanceDetails_); } else { @@ -4587,11 +5232,15 @@ public java.util.List * A list of instance status. *
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ public int getPatchJobInstanceDetailsCount() { if (patchJobInstanceDetailsBuilder_ == null) { @@ -4601,13 +5250,18 @@ public int getPatchJobInstanceDetailsCount() { } } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails getPatchJobInstanceDetails(int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails + getPatchJobInstanceDetails(int index) { if (patchJobInstanceDetailsBuilder_ == null) { return patchJobInstanceDetails_.get(index); } else { @@ -4615,11 +5269,15 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails getPat } } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ public Builder setPatchJobInstanceDetails( int index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails value) { @@ -4636,14 +5294,20 @@ public Builder setPatchJobInstanceDetails( return this; } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ public Builder setPatchJobInstanceDetails( - int index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder + builderForValue) { if (patchJobInstanceDetailsBuilder_ == null) { ensurePatchJobInstanceDetailsIsMutable(); patchJobInstanceDetails_.set(index, builderForValue.build()); @@ -4654,13 +5318,18 @@ public Builder setPatchJobInstanceDetails( return this; } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - public Builder addPatchJobInstanceDetails(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails value) { + public Builder addPatchJobInstanceDetails( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails value) { if (patchJobInstanceDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4674,11 +5343,15 @@ public Builder addPatchJobInstanceDetails(com.google.cloud.osconfig.v1beta.Patch return this; } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ public Builder addPatchJobInstanceDetails( int index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails value) { @@ -4695,14 +5368,19 @@ public Builder addPatchJobInstanceDetails( return this; } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ public Builder addPatchJobInstanceDetails( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder + builderForValue) { if (patchJobInstanceDetailsBuilder_ == null) { ensurePatchJobInstanceDetailsIsMutable(); patchJobInstanceDetails_.add(builderForValue.build()); @@ -4713,14 +5391,20 @@ public Builder addPatchJobInstanceDetails( return this; } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ public Builder addPatchJobInstanceDetails( - int index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder + builderForValue) { if (patchJobInstanceDetailsBuilder_ == null) { ensurePatchJobInstanceDetailsIsMutable(); patchJobInstanceDetails_.add(index, builderForValue.build()); @@ -4731,18 +5415,23 @@ public Builder addPatchJobInstanceDetails( return this; } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ public Builder addAllPatchJobInstanceDetails( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails> + values) { if (patchJobInstanceDetailsBuilder_ == null) { ensurePatchJobInstanceDetailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, patchJobInstanceDetails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, patchJobInstanceDetails_); onChanged(); } else { patchJobInstanceDetailsBuilder_.addAllMessages(values); @@ -4750,11 +5439,15 @@ public Builder addAllPatchJobInstanceDetails( return this; } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ public Builder clearPatchJobInstanceDetails() { if (patchJobInstanceDetailsBuilder_ == null) { @@ -4767,11 +5460,15 @@ public Builder clearPatchJobInstanceDetails() { return this; } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ public Builder removePatchJobInstanceDetails(int index) { if (patchJobInstanceDetailsBuilder_ == null) { @@ -4784,39 +5481,53 @@ public Builder removePatchJobInstanceDetails(int index) { return this; } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder getPatchJobInstanceDetailsBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder + getPatchJobInstanceDetailsBuilder(int index) { return getPatchJobInstanceDetailsFieldBuilder().getBuilder(index); } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder getPatchJobInstanceDetailsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder + getPatchJobInstanceDetailsOrBuilder(int index) { if (patchJobInstanceDetailsBuilder_ == null) { - return patchJobInstanceDetails_.get(index); } else { + return patchJobInstanceDetails_.get(index); + } else { return patchJobInstanceDetailsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - public java.util.List - getPatchJobInstanceDetailsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder> + getPatchJobInstanceDetailsOrBuilderList() { if (patchJobInstanceDetailsBuilder_ != null) { return patchJobInstanceDetailsBuilder_.getMessageOrBuilderList(); } else { @@ -4824,45 +5535,70 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuild } } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder addPatchJobInstanceDetailsBuilder() { - return getPatchJobInstanceDetailsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder + addPatchJobInstanceDetailsBuilder() { + return getPatchJobInstanceDetailsFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails + .getDefaultInstance()); } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder addPatchJobInstanceDetailsBuilder( - int index) { - return getPatchJobInstanceDetailsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder + addPatchJobInstanceDetailsBuilder(int index) { + return getPatchJobInstanceDetailsFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails + .getDefaultInstance()); } /** + * + * *
        * A list of instance status.
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * + * repeated .google.cloud.osconfig.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1; + * */ - public java.util.List - getPatchJobInstanceDetailsBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder> + getPatchJobInstanceDetailsBuilderList() { return getPatchJobInstanceDetailsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder> getPatchJobInstanceDetailsFieldBuilder() { if (patchJobInstanceDetailsBuilder_ == null) { - patchJobInstanceDetailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder>( + patchJobInstanceDetailsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder>( patchJobInstanceDetails_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -4874,18 +5610,20 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builde private java.lang.Object nextPageToken_ = ""; /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -4894,20 +5632,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -4915,58 +5654,66 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4979,30 +5726,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ListPatchJobInstanceDetailsResponse) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchJobs + .ListPatchJobInstanceDetailsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchJobInstanceDetailsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchJobInstanceDetailsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchJobInstanceDetailsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchJobInstanceDetailsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5014,108 +5765,135 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobInstanceDetailsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PatchJobInstanceDetailsOrBuilder extends + public interface PatchJobInstanceDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PatchJobInstanceDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The instance name in the form `projects/*/zones/*/instances/*`
      * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * The instance name in the form `projects/*/zones/*/instances/*`
      * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * The unique identifier for the instance. This identifier is
      * defined by the server.
      * 
* * string instance_system_id = 2; + * * @return The instanceSystemId. */ java.lang.String getInstanceSystemId(); /** + * + * *
      * The unique identifier for the instance. This identifier is
      * defined by the server.
      * 
* * string instance_system_id = 2; + * * @return The bytes for instanceSystemId. */ - com.google.protobuf.ByteString - getInstanceSystemIdBytes(); + com.google.protobuf.ByteString getInstanceSystemIdBytes(); /** + * + * *
      * Current state of instance patch.
      * 
* * .google.cloud.osconfig.v1beta.Instance.PatchState state = 3; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
      * Current state of instance patch.
      * 
* * .google.cloud.osconfig.v1beta.Instance.PatchState state = 3; + * * @return The state. */ com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState getState(); /** + * + * *
      * If the patch fails, this field provides the reason.
      * 
* * string failure_reason = 4; + * * @return The failureReason. */ java.lang.String getFailureReason(); /** + * + * *
      * If the patch fails, this field provides the reason.
      * 
* * string failure_reason = 4; + * * @return The bytes for failureReason. */ - com.google.protobuf.ByteString - getFailureReasonBytes(); + com.google.protobuf.ByteString getFailureReasonBytes(); /** + * + * *
      * The number of times the agent that the agent attempts to apply the patch.
      * 
* * int64 attempt_count = 5; + * * @return The attemptCount. */ long getAttemptCount(); } /** + * + * *
    * Patch details for a VM instance. For more information about reviewing VM
    * instance details, see
@@ -5125,15 +5903,16 @@ public interface PatchJobInstanceDetailsOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.PatchJobInstanceDetails}
    */
-  public static final class PatchJobInstanceDetails extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PatchJobInstanceDetails extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PatchJobInstanceDetails)
       PatchJobInstanceDetailsOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PatchJobInstanceDetails.newBuilder() to construct.
     private PatchJobInstanceDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PatchJobInstanceDetails() {
       name_ = "";
       instanceSystemId_ = "";
@@ -5143,16 +5922,15 @@ private PatchJobInstanceDetails() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PatchJobInstanceDetails();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PatchJobInstanceDetails(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -5171,42 +5949,46 @@ private PatchJobInstanceDetails(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              name_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              instanceSystemId_ = s;
-              break;
-            }
-            case 24: {
-              int rawValue = input.readEnum();
+                name_ = s;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              state_ = rawValue;
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
+                instanceSystemId_ = s;
+                break;
+              }
+            case 24:
+              {
+                int rawValue = input.readEnum();
 
-              failureReason_ = s;
-              break;
-            }
-            case 40: {
+                state_ = rawValue;
+                break;
+              }
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              attemptCount_ = input.readInt64();
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                failureReason_ = s;
+                break;
+              }
+            case 40:
+              {
+                attemptCount_ = input.readInt64();
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5214,34 +5996,39 @@ private PatchJobInstanceDetails(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchJobs
+          .internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchJobs
+          .internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.class,
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder.class);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object name_;
     /**
+     *
+     *
      * 
      * The instance name in the form `projects/*/zones/*/instances/*`
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -5250,29 +6037,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * The instance name in the form `projects/*/zones/*/instances/*`
      * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -5283,12 +6070,15 @@ public java.lang.String getName() { public static final int INSTANCE_SYSTEM_ID_FIELD_NUMBER = 2; private volatile java.lang.Object instanceSystemId_; /** + * + * *
      * The unique identifier for the instance. This identifier is
      * defined by the server.
      * 
* * string instance_system_id = 2; + * * @return The instanceSystemId. */ @java.lang.Override @@ -5297,30 +6087,30 @@ public java.lang.String getInstanceSystemId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceSystemId_ = s; return s; } } /** + * + * *
      * The unique identifier for the instance. This identifier is
      * defined by the server.
      * 
* * string instance_system_id = 2; + * * @return The bytes for instanceSystemId. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceSystemIdBytes() { + public com.google.protobuf.ByteString getInstanceSystemIdBytes() { java.lang.Object ref = instanceSystemId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceSystemId_ = b; return b; } else { @@ -5331,38 +6121,52 @@ public java.lang.String getInstanceSystemId() { public static final int STATE_FIELD_NUMBER = 3; private int state_; /** + * + * *
      * Current state of instance patch.
      * 
* * .google.cloud.osconfig.v1beta.Instance.PatchState state = 3; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Current state of instance patch.
      * 
* * .google.cloud.osconfig.v1beta.Instance.PatchState state = 3; + * * @return The state. */ - @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState getState() { + @java.lang.Override + public com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState result = com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState result = + com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.valueOf(state_); + return result == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.UNRECOGNIZED + : result; } public static final int FAILURE_REASON_FIELD_NUMBER = 4; private volatile java.lang.Object failureReason_; /** + * + * *
      * If the patch fails, this field provides the reason.
      * 
* * string failure_reason = 4; + * * @return The failureReason. */ @java.lang.Override @@ -5371,29 +6175,29 @@ public java.lang.String getFailureReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failureReason_ = s; return s; } } /** + * + * *
      * If the patch fails, this field provides the reason.
      * 
* * string failure_reason = 4; + * * @return The bytes for failureReason. */ @java.lang.Override - public com.google.protobuf.ByteString - getFailureReasonBytes() { + public com.google.protobuf.ByteString getFailureReasonBytes() { java.lang.Object ref = failureReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); failureReason_ = b; return b; } else { @@ -5404,11 +6208,14 @@ public java.lang.String getFailureReason() { public static final int ATTEMPT_COUNT_FIELD_NUMBER = 5; private long attemptCount_; /** + * + * *
      * The number of times the agent that the agent attempts to apply the patch.
      * 
* * int64 attempt_count = 5; + * * @return The attemptCount. */ @java.lang.Override @@ -5417,6 +6224,7 @@ public long getAttemptCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5428,15 +6236,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceSystemId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, instanceSystemId_); } - if (state_ != com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.PATCH_STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.PATCH_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { @@ -5460,16 +6269,16 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceSystemId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceSystemId_); } - if (state_ != com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.PATCH_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, state_); + if (state_ + != com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.PATCH_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, failureReason_); } if (attemptCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, attemptCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, attemptCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5479,22 +6288,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails other = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails other = + (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getInstanceSystemId() - .equals(other.getInstanceSystemId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getInstanceSystemId().equals(other.getInstanceSystemId())) return false; if (state_ != other.state_) return false; - if (!getFailureReason() - .equals(other.getFailureReason())) return false; - if (getAttemptCount() - != other.getAttemptCount()) return false; + if (!getFailureReason().equals(other.getFailureReason())) return false; + if (getAttemptCount() != other.getAttemptCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5515,95 +6321,102 @@ public int hashCode() { hash = (37 * hash) + FAILURE_REASON_FIELD_NUMBER; hash = (53 * hash) + getFailureReason().hashCode(); hash = (37 * hash) + ATTEMPT_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getAttemptCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAttemptCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails 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.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails 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.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails + 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.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5613,6 +6426,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Patch details for a VM instance. For more information about reviewing VM
      * instance details, see
@@ -5622,38 +6437,41 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.PatchJobInstanceDetails}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PatchJobInstanceDetails)
         com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetailsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.class,
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.Builder.class);
       }
 
-      // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.newBuilder()
+      // Construct using
+      // com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5671,14 +6489,16 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails getDefaultInstanceForType() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.getDefaultInstance();
+      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails
+          getDefaultInstanceForType() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -5692,7 +6512,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails build(
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails result = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails(this);
+        com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails result =
+            new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails(this);
         result.name_ = name_;
         result.instanceSystemId_ = instanceSystemId_;
         result.state_ = state_;
@@ -5706,46 +6527,53 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails buildP
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails)other);
+          return mergeFrom(
+              (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails other) {
-        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails other) {
+        if (other
+            == com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails
+                .getDefaultInstance()) return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -5783,7 +6611,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -5795,18 +6625,20 @@ public Builder mergeFrom(
 
       private java.lang.Object name_ = "";
       /**
+       *
+       *
        * 
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -5815,20 +6647,21 @@ public java.lang.String getName() { } } /** + * + * *
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -5836,54 +6669,61 @@ public java.lang.String getName() { } } /** + * + * *
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * The instance name in the form `projects/*/zones/*/instances/*`
        * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -5891,19 +6731,21 @@ public Builder setNameBytes( private java.lang.Object instanceSystemId_ = ""; /** + * + * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; + * * @return The instanceSystemId. */ public java.lang.String getInstanceSystemId() { java.lang.Object ref = instanceSystemId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceSystemId_ = s; return s; @@ -5912,21 +6754,22 @@ public java.lang.String getInstanceSystemId() { } } /** + * + * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; + * * @return The bytes for instanceSystemId. */ - public com.google.protobuf.ByteString - getInstanceSystemIdBytes() { + public com.google.protobuf.ByteString getInstanceSystemIdBytes() { java.lang.Object ref = instanceSystemId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceSystemId_ = b; return b; } else { @@ -5934,57 +6777,64 @@ public java.lang.String getInstanceSystemId() { } } /** + * + * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; + * * @param value The instanceSystemId to set. * @return This builder for chaining. */ - public Builder setInstanceSystemId( - java.lang.String value) { + public Builder setInstanceSystemId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceSystemId_ = value; onChanged(); return this; } /** + * + * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; + * * @return This builder for chaining. */ public Builder clearInstanceSystemId() { - + instanceSystemId_ = getDefaultInstance().getInstanceSystemId(); onChanged(); return this; } /** + * + * *
        * The unique identifier for the instance. This identifier is
        * defined by the server.
        * 
* * string instance_system_id = 2; + * * @param value The bytes for instanceSystemId to set. * @return This builder for chaining. */ - public Builder setInstanceSystemIdBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceSystemIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceSystemId_ = value; onChanged(); return this; @@ -5992,73 +6842,93 @@ public Builder setInstanceSystemIdBytes( private int state_ = 0; /** + * + * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1beta.Instance.PatchState state = 3; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1beta.Instance.PatchState state = 3; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1beta.Instance.PatchState state = 3; + * * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState result = com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState result = + com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.valueOf(state_); + return result == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState.UNRECOGNIZED + : result; } /** + * + * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1beta.Instance.PatchState state = 3; + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState value) { + public Builder setState( + com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Current state of instance patch.
        * 
* * .google.cloud.osconfig.v1beta.Instance.PatchState state = 3; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -6066,18 +6936,20 @@ public Builder clearState() { private java.lang.Object failureReason_ = ""; /** + * + * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; + * * @return The failureReason. */ public java.lang.String getFailureReason() { java.lang.Object ref = failureReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failureReason_ = s; return s; @@ -6086,20 +6958,21 @@ public java.lang.String getFailureReason() { } } /** + * + * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; + * * @return The bytes for failureReason. */ - public com.google.protobuf.ByteString - getFailureReasonBytes() { + public com.google.protobuf.ByteString getFailureReasonBytes() { java.lang.Object ref = failureReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); failureReason_ = b; return b; } else { @@ -6107,66 +6980,76 @@ public java.lang.String getFailureReason() { } } /** + * + * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; + * * @param value The failureReason to set. * @return This builder for chaining. */ - public Builder setFailureReason( - java.lang.String value) { + public Builder setFailureReason(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + failureReason_ = value; onChanged(); return this; } /** + * + * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; + * * @return This builder for chaining. */ public Builder clearFailureReason() { - + failureReason_ = getDefaultInstance().getFailureReason(); onChanged(); return this; } /** + * + * *
        * If the patch fails, this field provides the reason.
        * 
* * string failure_reason = 4; + * * @param value The bytes for failureReason to set. * @return This builder for chaining. */ - public Builder setFailureReasonBytes( - com.google.protobuf.ByteString value) { + public Builder setFailureReasonBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + failureReason_ = value; onChanged(); return this; } - private long attemptCount_ ; + private long attemptCount_; /** + * + * *
        * The number of times the agent that the agent attempts to apply the patch.
        * 
* * int64 attempt_count = 5; + * * @return The attemptCount. */ @java.lang.Override @@ -6174,34 +7057,41 @@ public long getAttemptCount() { return attemptCount_; } /** + * + * *
        * The number of times the agent that the agent attempts to apply the patch.
        * 
* * int64 attempt_count = 5; + * * @param value The attemptCount to set. * @return This builder for chaining. */ public Builder setAttemptCount(long value) { - + attemptCount_ = value; onChanged(); return this; } /** + * + * *
        * The number of times the agent that the agent attempts to apply the patch.
        * 
* * int64 attempt_count = 5; + * * @return This builder for chaining. */ public Builder clearAttemptCount() { - + attemptCount_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6214,30 +7104,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PatchJobInstanceDetails) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PatchJobInstanceDetails) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchJobInstanceDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchJobInstanceDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchJobInstanceDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchJobInstanceDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6249,69 +7141,85 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListPatchJobsRequestOrBuilder extends + public interface ListPatchJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ListPatchJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. In the form of `projects/*`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
      * Required. In the form of `projects/*`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
      * The maximum number of instance status to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
      * If provided, this field specifies the criteria that must be met by patch
      * jobs to be included in the response.
@@ -6319,10 +7227,13 @@ public interface ListPatchJobsRequestOrBuilder extends
      * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
      * If provided, this field specifies the criteria that must be met by patch
      * jobs to be included in the response.
@@ -6330,27 +7241,30 @@ public interface ListPatchJobsRequestOrBuilder extends
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } /** + * + * *
    * A request message for listing patch jobs.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchJobsRequest} */ - public static final class ListPatchJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListPatchJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ListPatchJobsRequest) ListPatchJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchJobsRequest.newBuilder() to construct. private ListPatchJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPatchJobsRequest() { parent_ = ""; pageToken_ = ""; @@ -6359,16 +7273,15 @@ private ListPatchJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPatchJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPatchJobsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -6387,36 +7300,39 @@ private ListPatchJobsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6424,34 +7340,39 @@ private ListPatchJobsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.class, + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
      * Required. In the form of `projects/*`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -6460,29 +7381,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
      * Required. In the form of `projects/*`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -6493,11 +7414,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
      * The maximum number of instance status to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -6508,12 +7432,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -6522,30 +7449,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
      * A pagination token returned from a previous call
      * that indicates where this listing should continue from.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -6556,6 +7483,8 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
      * If provided, this field specifies the criteria that must be met by patch
      * jobs to be included in the response.
@@ -6563,6 +7492,7 @@ public java.lang.String getPageToken() {
      * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -6571,14 +7501,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by patch
      * jobs to be included in the response.
@@ -6586,16 +7517,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -6604,6 +7534,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6615,8 +7546,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -6642,8 +7572,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -6659,21 +7588,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest other = (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest other = + (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6699,87 +7625,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest 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.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest 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.osconfig.v1beta.PatchJobs.ListPatchJobsRequest + 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.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6789,44 +7723,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A request message for listing patch jobs.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ListPatchJobsRequest) com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.class, + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -6842,13 +7781,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest + getDefaultInstanceForType() { return com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.getDefaultInstance(); } @@ -6863,7 +7803,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest build() { @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest result = new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest(this); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest result = + new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -6876,46 +7817,52 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.ListPatchJobsRequest) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest)other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest other) { - if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest other) { + if (other + == com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -6950,7 +7897,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6962,18 +7911,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
        * Required. In the form of `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -6982,20 +7933,21 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. In the form of `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -7003,66 +7955,76 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. In the form of `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
        * Required. In the form of `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
        * Required. In the form of `projects/*`
        * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
        * The maximum number of instance status to return.
        * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -7070,30 +8032,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
        * The maximum number of instance status to return.
        * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
        * The maximum number of instance status to return.
        * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -7101,19 +8069,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -7122,21 +8092,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -7144,57 +8115,64 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
        * A pagination token returned from a previous call
        * that indicates where this listing should continue from.
        * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -7202,6 +8180,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -7209,13 +8189,13 @@ public Builder setPageTokenBytes(
        * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -7224,6 +8204,8 @@ public java.lang.String getFilter() { } } /** + * + * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -7231,15 +8213,14 @@ public java.lang.String getFilter() {
        * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -7247,6 +8228,8 @@ public java.lang.String getFilter() { } } /** + * + * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -7254,20 +8237,22 @@ public java.lang.String getFilter() {
        * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -7275,15 +8260,18 @@ public Builder setFilter(
        * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
        * If provided, this field specifies the criteria that must be met by patch
        * jobs to be included in the response.
@@ -7291,20 +8279,21 @@ public Builder clearFilter() {
        * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7317,30 +8306,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ListPatchJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ListPatchJobsRequest) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchJobsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchJobsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7352,26 +8343,30 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListPatchJobsResponseOrBuilder extends + public interface ListPatchJobsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ListPatchJobsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The list of patch jobs.
      * 
* * repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; */ - java.util.List - getPatchJobsList(); + java.util.List getPatchJobsList(); /** + * + * *
      * The list of patch jobs.
      * 
@@ -7380,6 +8375,8 @@ public interface ListPatchJobsResponseOrBuilder extends */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob getPatchJobs(int index); /** + * + * *
      * The list of patch jobs.
      * 
@@ -7388,60 +8385,71 @@ public interface ListPatchJobsResponseOrBuilder extends */ int getPatchJobsCount(); /** + * + * *
      * The list of patch jobs.
      * 
* * repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; */ - java.util.List + java.util.List getPatchJobsOrBuilderList(); /** + * + * *
      * The list of patch jobs.
      * 
* * repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder getPatchJobsOrBuilder( - int index); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder getPatchJobsOrBuilder(int index); /** + * + * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } /** + * + * *
    * A response message for listing patch jobs.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchJobsResponse} */ - public static final class ListPatchJobsResponse extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListPatchJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ListPatchJobsResponse) ListPatchJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPatchJobsResponse.newBuilder() to construct. private ListPatchJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPatchJobsResponse() { patchJobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -7449,16 +8457,15 @@ private ListPatchJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPatchJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPatchJobsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7478,28 +8485,34 @@ private ListPatchJobsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - patchJobs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + patchJobs_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob>(); + mutable_bitField0_ |= 0x00000001; + } + patchJobs_.add( + input.readMessage( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.parser(), + extensionRegistry)); + break; } - patchJobs_.add( - input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7507,8 +8520,7 @@ private ListPatchJobsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { patchJobs_ = java.util.Collections.unmodifiableList(patchJobs_); @@ -7517,22 +8529,27 @@ private ListPatchJobsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.class, com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.class, + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.Builder.class); } public static final int PATCH_JOBS_FIELD_NUMBER = 1; private java.util.List patchJobs_; /** + * + * *
      * The list of patch jobs.
      * 
@@ -7544,6 +8561,8 @@ public java.util.List getPa return patchJobs_; } /** + * + * *
      * The list of patch jobs.
      * 
@@ -7551,11 +8570,13 @@ public java.util.List getPa * repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPatchJobsOrBuilderList() { return patchJobs_; } /** + * + * *
      * The list of patch jobs.
      * 
@@ -7567,6 +8588,8 @@ public int getPatchJobsCount() { return patchJobs_.size(); } /** + * + * *
      * The list of patch jobs.
      * 
@@ -7578,6 +8601,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob getPatchJobs(int inde return patchJobs_.get(index); } /** + * + * *
      * The list of patch jobs.
      * 
@@ -7593,11 +8618,14 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder getPatchJobs public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -7606,29 +8634,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
      * A pagination token that can be used to get the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -7637,6 +8665,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7648,8 +8677,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < patchJobs_.size(); i++) { output.writeMessage(1, patchJobs_.get(i)); } @@ -7666,8 +8694,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < patchJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, patchJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, patchJobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -7680,17 +8707,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse other = (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse other = + (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse) obj; - if (!getPatchJobsList() - .equals(other.getPatchJobsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPatchJobsList().equals(other.getPatchJobsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7714,87 +8740,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse 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.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse 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.osconfig.v1beta.PatchJobs.ListPatchJobsResponse + 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.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7804,45 +8838,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A response message for listing patch jobs.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ListPatchJobsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ListPatchJobsResponse) com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.class, com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.class, + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPatchJobsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -7858,14 +8898,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse + .getDefaultInstance(); } @java.lang.Override @@ -7879,7 +8921,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse build() @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse result = new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse(this); + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse result = + new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse(this); int from_bitField0_ = bitField0_; if (patchJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -7899,46 +8942,53 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.ListPatchJobsResponse) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse)other); + return mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse other) { - if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse other) { + if (other + == com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse + .getDefaultInstance()) return this; if (patchJobsBuilder_ == null) { if (!other.patchJobs_.isEmpty()) { if (patchJobs_.isEmpty()) { @@ -7957,9 +9007,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJob patchJobsBuilder_ = null; patchJobs_ = other.patchJobs_; bitField0_ = (bitField0_ & ~0x00000001); - patchJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPatchJobsFieldBuilder() : null; + patchJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPatchJobsFieldBuilder() + : null; } else { patchJobsBuilder_.addAllMessages(other.patchJobs_); } @@ -7988,7 +9039,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7997,28 +9050,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List patchJobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePatchJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - patchJobs_ = new java.util.ArrayList(patchJobs_); + patchJobs_ = + new java.util.ArrayList( + patchJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder> patchJobsBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder> + patchJobsBuilder_; /** + * + * *
        * The list of patch jobs.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; */ - public java.util.List getPatchJobsList() { + public java.util.List + getPatchJobsList() { if (patchJobsBuilder_ == null) { return java.util.Collections.unmodifiableList(patchJobs_); } else { @@ -8026,6 +9089,8 @@ public java.util.List getPa } } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8040,6 +9105,8 @@ public int getPatchJobsCount() { } } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8054,6 +9121,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob getPatchJobs(int inde } } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8075,7 +9144,9 @@ public Builder setPatchJobs( return this; } /** - *
+       *
+       *
+       * 
        * The list of patch jobs.
        * 
* @@ -8093,6 +9164,8 @@ public Builder setPatchJobs( return this; } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8113,6 +9186,8 @@ public Builder addPatchJobs(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob return this; } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8134,6 +9209,8 @@ public Builder addPatchJobs( return this; } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8152,6 +9229,8 @@ public Builder addPatchJobs( return this; } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8170,6 +9249,8 @@ public Builder addPatchJobs( return this; } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8177,11 +9258,11 @@ public Builder addPatchJobs( * repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; */ public Builder addAllPatchJobs( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (patchJobsBuilder_ == null) { ensurePatchJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, patchJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, patchJobs_); onChanged(); } else { patchJobsBuilder_.addAllMessages(values); @@ -8189,6 +9270,8 @@ public Builder addAllPatchJobs( return this; } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8206,6 +9289,8 @@ public Builder clearPatchJobs() { return this; } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8223,6 +9308,8 @@ public Builder removePatchJobs(int index) { return this; } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8234,6 +9321,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder getPatchJobsB return getPatchJobsFieldBuilder().getBuilder(index); } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8243,19 +9332,22 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder getPatchJobsB public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder getPatchJobsOrBuilder( int index) { if (patchJobsBuilder_ == null) { - return patchJobs_.get(index); } else { + return patchJobs_.get(index); + } else { return patchJobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * The list of patch jobs.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; */ - public java.util.List - getPatchJobsOrBuilderList() { + public java.util.List + getPatchJobsOrBuilderList() { if (patchJobsBuilder_ != null) { return patchJobsBuilder_.getMessageOrBuilderList(); } else { @@ -8263,6 +9355,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder getPatchJobs } } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8270,10 +9364,12 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder getPatchJobs * repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder addPatchJobsBuilder() { - return getPatchJobsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDefaultInstance()); + return getPatchJobsFieldBuilder() + .addBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDefaultInstance()); } /** + * + * *
        * The list of patch jobs.
        * 
@@ -8282,30 +9378,36 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder addPatchJobsB */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder addPatchJobsBuilder( int index) { - return getPatchJobsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDefaultInstance()); + return getPatchJobsFieldBuilder() + .addBuilder( + index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDefaultInstance()); } /** + * + * *
        * The list of patch jobs.
        * 
* * repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; */ - public java.util.List - getPatchJobsBuilderList() { + public java.util.List + getPatchJobsBuilderList() { return getPatchJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder> getPatchJobsFieldBuilder() { if (patchJobsBuilder_ == null) { - patchJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder>( - patchJobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + patchJobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder>( + patchJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); patchJobs_ = null; } return patchJobsBuilder_; @@ -8313,18 +9415,20 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder addPatchJobsB private java.lang.Object nextPageToken_ = ""; /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -8333,20 +9437,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -8354,58 +9459,66 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
        * A pagination token that can be used to get the next page of results.
        * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8418,30 +9531,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ListPatchJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ListPatchJobsResponse) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPatchJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPatchJobsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPatchJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPatchJobsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8453,99 +9568,123 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PatchJobOrBuilder extends + public interface PatchJobOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PatchJob) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Unique identifier for this patch job in the form
      * `projects/*/patchJobs/*`
      * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Unique identifier for this patch job in the form
      * `projects/*/patchJobs/*`
      * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * Display name for this patch job. This is not a unique identifier.
      * 
* * string display_name = 14; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
      * Display name for this patch job. This is not a unique identifier.
      * 
* * string display_name = 14; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * Time this patch job was created.
      * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
      * Time this patch job was created.
      * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
      * Time this patch job was created.
      * 
@@ -8555,24 +9694,32 @@ public interface PatchJobOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
      * Last time this patch job was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
      * Last time this patch job was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
      * Last time this patch job was updated.
      * 
@@ -8582,70 +9729,93 @@ public interface PatchJobOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
      * The current state of the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.PatchJob.State state = 5; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
      * The current state of the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.PatchJob.State state = 5; + * * @return The state. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State getState(); /** + * + * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; + * * @return Whether the instanceFilter field is set. */ boolean hasInstanceFilter(); /** + * + * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; + * * @return The instanceFilter. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanceFilter(); /** + * + * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder + getInstanceFilterOrBuilder(); /** + * + * *
      * Patch configuration being applied.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; + * * @return Whether the patchConfig field is set. */ boolean hasPatchConfig(); /** + * + * *
      * Patch configuration being applied.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; + * * @return The patchConfig. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig(); /** + * + * *
      * Patch configuration being applied.
      * 
@@ -8655,26 +9825,34 @@ public interface PatchJobOrBuilder extends com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder(); /** + * + * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
      * 
* * .google.protobuf.Duration duration = 8; + * * @return Whether the duration field is set. */ boolean hasDuration(); /** + * + * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
      * 
* * .google.protobuf.Duration duration = 8; + * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** + * + * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
@@ -8685,115 +9863,155 @@ public interface PatchJobOrBuilder extends
     com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
     /**
+     *
+     *
      * 
      * Summary of instance details.
      * 
* - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * * @return Whether the instanceDetailsSummary field is set. */ boolean hasInstanceDetailsSummary(); /** + * + * *
      * Summary of instance details.
      * 
* - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * * @return The instanceDetailsSummary. */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary getInstanceDetailsSummary(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + getInstanceDetailsSummary(); /** + * + * *
      * Summary of instance details.
      * 
* - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder getInstanceDetailsSummaryOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder + getInstanceDetailsSummaryOrBuilder(); /** + * + * *
      * If this patch job is a dry run, the agent reports that it has
      * finished without running any updates on the VM instance.
      * 
* * bool dry_run = 10; + * * @return The dryRun. */ boolean getDryRun(); /** + * + * *
      * If this patch job failed, this message provides information about the
      * failure.
      * 
* * string error_message = 11; + * * @return The errorMessage. */ java.lang.String getErrorMessage(); /** + * + * *
      * If this patch job failed, this message provides information about the
      * failure.
      * 
* * string error_message = 11; + * * @return The bytes for errorMessage. */ - com.google.protobuf.ByteString - getErrorMessageBytes(); + com.google.protobuf.ByteString getErrorMessageBytes(); /** + * + * *
      * Reflects the overall progress of the patch job in the range of
      * 0.0 being no progress to 100.0 being complete.
      * 
* * double percent_complete = 12; + * * @return The percentComplete. */ double getPercentComplete(); /** + * + * *
      * Output only. Name of the patch deployment that created this patch job.
      * 
* * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The patchDeployment. */ java.lang.String getPatchDeployment(); /** + * + * *
      * Output only. Name of the patch deployment that created this patch job.
      * 
* * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for patchDeployment. */ - com.google.protobuf.ByteString - getPatchDeploymentBytes(); + com.google.protobuf.ByteString getPatchDeploymentBytes(); /** + * + * *
      * Rollout strategy being applied.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 16; + * * @return Whether the rollout field is set. */ boolean hasRollout(); /** + * + * *
      * Rollout strategy being applied.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 16; + * * @return The rollout. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getRollout(); /** + * + * *
      * Rollout strategy being applied.
      * 
@@ -8803,6 +10021,8 @@ public interface PatchJobOrBuilder extends com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder(); } /** + * + * *
    * A high level representation of a patch job that is either in progress
    * or has completed.
@@ -8815,15 +10035,16 @@ public interface PatchJobOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.PatchJob}
    */
-  public static final class PatchJob extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PatchJob extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PatchJob)
       PatchJobOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PatchJob.newBuilder() to construct.
     private PatchJob(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PatchJob() {
       name_ = "";
       displayName_ = "";
@@ -8835,16 +10056,15 @@ private PatchJob() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PatchJob();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PatchJob(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8863,150 +10083,181 @@ private PatchJob(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              description_ = s;
-              break;
-            }
-            case 26: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
+                name_ = s;
+                break;
               }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              break;
-            }
-            case 34: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
+                description_ = s;
+                break;
               }
+            case 26:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (createTime_ != null) {
+                  subBuilder = createTime_.toBuilder();
+                }
+                createTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(createTime_);
+                  createTime_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 40: {
-              int rawValue = input.readEnum();
+                break;
+              }
+            case 34:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (updateTime_ != null) {
+                  subBuilder = updateTime_.toBuilder();
+                }
+                updateTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(updateTime_);
+                  updateTime_ = subBuilder.buildPartial();
+                }
 
-              state_ = rawValue;
-              break;
-            }
-            case 58: {
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder subBuilder = null;
-              if (patchConfig_ != null) {
-                subBuilder = patchConfig_.toBuilder();
+                break;
               }
-              patchConfig_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(patchConfig_);
-                patchConfig_ = subBuilder.buildPartial();
+            case 40:
+              {
+                int rawValue = input.readEnum();
+
+                state_ = rawValue;
+                break;
               }
+            case 58:
+              {
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder subBuilder = null;
+                if (patchConfig_ != null) {
+                  subBuilder = patchConfig_.toBuilder();
+                }
+                patchConfig_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(patchConfig_);
+                  patchConfig_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 66: {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (duration_ != null) {
-                subBuilder = duration_.toBuilder();
+                break;
               }
-              duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(duration_);
-                duration_ = subBuilder.buildPartial();
+            case 66:
+              {
+                com.google.protobuf.Duration.Builder subBuilder = null;
+                if (duration_ != null) {
+                  subBuilder = duration_.toBuilder();
+                }
+                duration_ =
+                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(duration_);
+                  duration_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
+            case 74:
+              {
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder
+                    subBuilder = null;
+                if (instanceDetailsSummary_ != null) {
+                  subBuilder = instanceDetailsSummary_.toBuilder();
+                }
+                instanceDetailsSummary_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary
+                            .parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(instanceDetailsSummary_);
+                  instanceDetailsSummary_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 74: {
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder subBuilder = null;
-              if (instanceDetailsSummary_ != null) {
-                subBuilder = instanceDetailsSummary_.toBuilder();
+                break;
               }
-              instanceDetailsSummary_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(instanceDetailsSummary_);
-                instanceDetailsSummary_ = subBuilder.buildPartial();
+            case 80:
+              {
+                dryRun_ = input.readBool();
+                break;
               }
+            case 90:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              break;
-            }
-            case 80: {
-
-              dryRun_ = input.readBool();
-              break;
-            }
-            case 90: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              errorMessage_ = s;
-              break;
-            }
-            case 97: {
-
-              percentComplete_ = input.readDouble();
-              break;
-            }
-            case 106: {
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder subBuilder = null;
-              if (instanceFilter_ != null) {
-                subBuilder = instanceFilter_.toBuilder();
+                errorMessage_ = s;
+                break;
               }
-              instanceFilter_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(instanceFilter_);
-                instanceFilter_ = subBuilder.buildPartial();
+            case 97:
+              {
+                percentComplete_ = input.readDouble();
+                break;
               }
+            case 106:
+              {
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder subBuilder =
+                    null;
+                if (instanceFilter_ != null) {
+                  subBuilder = instanceFilter_.toBuilder();
+                }
+                instanceFilter_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(instanceFilter_);
+                  instanceFilter_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 114: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              displayName_ = s;
-              break;
-            }
-            case 122: {
-              java.lang.String s = input.readStringRequireUtf8();
+                break;
+              }
+            case 114:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              patchDeployment_ = s;
-              break;
-            }
-            case 130: {
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder subBuilder = null;
-              if (rollout_ != null) {
-                subBuilder = rollout_.toBuilder();
+                displayName_ = s;
+                break;
               }
-              rollout_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rollout_);
-                rollout_ = subBuilder.buildPartial();
+            case 122:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+
+                patchDeployment_ = s;
+                break;
               }
+            case 130:
+              {
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder subBuilder = null;
+                if (rollout_ != null) {
+                  subBuilder = rollout_.toBuilder();
+                }
+                rollout_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(rollout_);
+                  rollout_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9014,27 +10265,31 @@ private PatchJob(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchJobs
+          .internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchJobs
+          .internal_static_google_cloud_osconfig_v1beta_PatchJob_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class,
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * Enumeration of the various states a patch job passes through as it
      * executes.
@@ -9042,9 +10297,10 @@ private PatchJob(
      *
      * Protobuf enum {@code google.cloud.osconfig.v1beta.PatchJob.State}
      */
-    public enum State
-        implements com.google.protobuf.ProtocolMessageEnum {
+    public enum State implements com.google.protobuf.ProtocolMessageEnum {
       /**
+       *
+       *
        * 
        * State must be specified.
        * 
@@ -9053,6 +10309,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
        * The patch job was successfully initiated.
        * 
@@ -9061,6 +10319,8 @@ public enum State */ STARTED(1), /** + * + * *
        * The patch job is looking up instances to run the patch on.
        * 
@@ -9069,6 +10329,8 @@ public enum State */ INSTANCE_LOOKUP(2), /** + * + * *
        * Instances are being patched.
        * 
@@ -9077,6 +10339,8 @@ public enum State */ PATCHING(3), /** + * + * *
        * Patch job completed successfully.
        * 
@@ -9085,6 +10349,8 @@ public enum State */ SUCCEEDED(4), /** + * + * *
        * Patch job completed but there were errors.
        * 
@@ -9093,6 +10359,8 @@ public enum State */ COMPLETED_WITH_ERRORS(5), /** + * + * *
        * The patch job was canceled.
        * 
@@ -9101,6 +10369,8 @@ public enum State */ CANCELED(6), /** + * + * *
        * The patch job timed out.
        * 
@@ -9112,6 +10382,8 @@ public enum State ; /** + * + * *
        * State must be specified.
        * 
@@ -9120,6 +10392,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The patch job was successfully initiated.
        * 
@@ -9128,6 +10402,8 @@ public enum State */ public static final int STARTED_VALUE = 1; /** + * + * *
        * The patch job is looking up instances to run the patch on.
        * 
@@ -9136,6 +10412,8 @@ public enum State */ public static final int INSTANCE_LOOKUP_VALUE = 2; /** + * + * *
        * Instances are being patched.
        * 
@@ -9144,6 +10422,8 @@ public enum State */ public static final int PATCHING_VALUE = 3; /** + * + * *
        * Patch job completed successfully.
        * 
@@ -9152,6 +10432,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 4; /** + * + * *
        * Patch job completed but there were errors.
        * 
@@ -9160,6 +10442,8 @@ public enum State */ public static final int COMPLETED_WITH_ERRORS_VALUE = 5; /** + * + * *
        * The patch job was canceled.
        * 
@@ -9168,6 +10452,8 @@ public enum State */ public static final int CANCELED_VALUE = 6; /** + * + * *
        * The patch job timed out.
        * 
@@ -9176,7 +10462,6 @@ public enum State */ public static final int TIMED_OUT_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -9201,54 +10486,61 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return STARTED; - case 2: return INSTANCE_LOOKUP; - case 3: return PATCHING; - case 4: return SUCCEEDED; - case 5: return COMPLETED_WITH_ERRORS; - case 6: return CANCELED; - case 7: return TIMED_OUT; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return STARTED; + case 2: + return INSTANCE_LOOKUP; + case 3: + return PATCHING; + case 4: + return SUCCEEDED; + case 5: + return COMPLETED_WITH_ERRORS; + case 6: + return CANCELED; + case 7: + return TIMED_OUT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDescriptor() + .getEnumTypes() + .get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -9265,151 +10557,196 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.osconfig.v1beta.PatchJob.State) } - public interface InstanceDetailsSummaryOrBuilder extends + public interface InstanceDetailsSummaryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Number of instances pending patch job.
        * 
* * int64 pending_instance_count = 1; + * * @return The pendingInstanceCount. */ long getPendingInstanceCount(); /** + * + * *
        * Number of instances that are inactive.
        * 
* * int64 inactive_instance_count = 2; + * * @return The inactiveInstanceCount. */ long getInactiveInstanceCount(); /** + * + * *
        * Number of instances notified about patch job.
        * 
* * int64 notified_instance_count = 3; + * * @return The notifiedInstanceCount. */ long getNotifiedInstanceCount(); /** + * + * *
        * Number of instances that have started.
        * 
* * int64 started_instance_count = 4; + * * @return The startedInstanceCount. */ long getStartedInstanceCount(); /** + * + * *
        * Number of instances that are downloading patches.
        * 
* * int64 downloading_patches_instance_count = 5; + * * @return The downloadingPatchesInstanceCount. */ long getDownloadingPatchesInstanceCount(); /** + * + * *
        * Number of instances that are applying patches.
        * 
* * int64 applying_patches_instance_count = 6; + * * @return The applyingPatchesInstanceCount. */ long getApplyingPatchesInstanceCount(); /** + * + * *
        * Number of instances rebooting.
        * 
* * int64 rebooting_instance_count = 7; + * * @return The rebootingInstanceCount. */ long getRebootingInstanceCount(); /** + * + * *
        * Number of instances that have completed successfully.
        * 
* * int64 succeeded_instance_count = 8; + * * @return The succeededInstanceCount. */ long getSucceededInstanceCount(); /** + * + * *
        * Number of instances that require reboot.
        * 
* * int64 succeeded_reboot_required_instance_count = 9; + * * @return The succeededRebootRequiredInstanceCount. */ long getSucceededRebootRequiredInstanceCount(); /** + * + * *
        * Number of instances that failed.
        * 
* * int64 failed_instance_count = 10; + * * @return The failedInstanceCount. */ long getFailedInstanceCount(); /** + * + * *
        * Number of instances that have acked and will start shortly.
        * 
* * int64 acked_instance_count = 11; + * * @return The ackedInstanceCount. */ long getAckedInstanceCount(); /** + * + * *
        * Number of instances that exceeded the time out while applying the patch.
        * 
* * int64 timed_out_instance_count = 12; + * * @return The timedOutInstanceCount. */ long getTimedOutInstanceCount(); /** + * + * *
        * Number of instances that are running the pre-patch step.
        * 
* * int64 pre_patch_step_instance_count = 13; + * * @return The prePatchStepInstanceCount. */ long getPrePatchStepInstanceCount(); /** + * + * *
        * Number of instances that are running the post-patch step.
        * 
* * int64 post_patch_step_instance_count = 14; + * * @return The postPatchStepInstanceCount. */ long getPostPatchStepInstanceCount(); /** + * + * *
        * Number of instances that do not appear to be running the agent. Check to
        * ensure that the agent is installed, running, and able to communicate with
@@ -9417,11 +10754,14 @@ public interface InstanceDetailsSummaryOrBuilder extends
        * 
* * int64 no_agent_detected_instance_count = 15; + * * @return The noAgentDetectedInstanceCount. */ long getNoAgentDetectedInstanceCount(); } /** + * + * *
      * A summary of the current patch state across all instances that this patch
      * job affects. Contains counts of instances in different states. These states
@@ -9431,30 +10771,29 @@ public interface InstanceDetailsSummaryOrBuilder extends
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary}
      */
-    public static final class InstanceDetailsSummary extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class InstanceDetailsSummary extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary)
         InstanceDetailsSummaryOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use InstanceDetailsSummary.newBuilder() to construct.
       private InstanceDetailsSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private InstanceDetailsSummary() {
-      }
+
+      private InstanceDetailsSummary() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new InstanceDetailsSummary();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private InstanceDetailsSummary(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -9473,88 +10812,88 @@ private InstanceDetailsSummary(
               case 0:
                 done = true;
                 break;
-              case 8: {
-
-                pendingInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 16: {
-
-                inactiveInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 24: {
-
-                notifiedInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 32: {
-
-                startedInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 40: {
-
-                downloadingPatchesInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 48: {
-
-                applyingPatchesInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 56: {
-
-                rebootingInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 64: {
-
-                succeededInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 72: {
-
-                succeededRebootRequiredInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 80: {
-
-                failedInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 88: {
-
-                ackedInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 96: {
-
-                timedOutInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 104: {
-
-                prePatchStepInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 112: {
-
-                postPatchStepInstanceCount_ = input.readInt64();
-                break;
-              }
-              case 120: {
-
-                noAgentDetectedInstanceCount_ = input.readInt64();
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+              case 8:
+                {
+                  pendingInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 16:
+                {
+                  inactiveInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 24:
+                {
+                  notifiedInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 32:
+                {
+                  startedInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 40:
+                {
+                  downloadingPatchesInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 48:
+                {
+                  applyingPatchesInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 56:
+                {
+                  rebootingInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 64:
+                {
+                  succeededInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 72:
+                {
+                  succeededRebootRequiredInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 80:
+                {
+                  failedInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 88:
+                {
+                  ackedInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 96:
+                {
+                  timedOutInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 104:
+                {
+                  prePatchStepInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 112:
+                {
+                  postPatchStepInstanceCount_ = input.readInt64();
+                  break;
+                }
+              case 120:
+                {
+                  noAgentDetectedInstanceCount_ = input.readInt64();
+                  break;
+                }
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9562,34 +10901,41 @@ private InstanceDetailsSummary(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.class,
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder
+                    .class);
       }
 
       public static final int PENDING_INSTANCE_COUNT_FIELD_NUMBER = 1;
       private long pendingInstanceCount_;
       /**
+       *
+       *
        * 
        * Number of instances pending patch job.
        * 
* * int64 pending_instance_count = 1; + * * @return The pendingInstanceCount. */ @java.lang.Override @@ -9600,11 +10946,14 @@ public long getPendingInstanceCount() { public static final int INACTIVE_INSTANCE_COUNT_FIELD_NUMBER = 2; private long inactiveInstanceCount_; /** + * + * *
        * Number of instances that are inactive.
        * 
* * int64 inactive_instance_count = 2; + * * @return The inactiveInstanceCount. */ @java.lang.Override @@ -9615,11 +10964,14 @@ public long getInactiveInstanceCount() { public static final int NOTIFIED_INSTANCE_COUNT_FIELD_NUMBER = 3; private long notifiedInstanceCount_; /** + * + * *
        * Number of instances notified about patch job.
        * 
* * int64 notified_instance_count = 3; + * * @return The notifiedInstanceCount. */ @java.lang.Override @@ -9630,11 +10982,14 @@ public long getNotifiedInstanceCount() { public static final int STARTED_INSTANCE_COUNT_FIELD_NUMBER = 4; private long startedInstanceCount_; /** + * + * *
        * Number of instances that have started.
        * 
* * int64 started_instance_count = 4; + * * @return The startedInstanceCount. */ @java.lang.Override @@ -9645,11 +11000,14 @@ public long getStartedInstanceCount() { public static final int DOWNLOADING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER = 5; private long downloadingPatchesInstanceCount_; /** + * + * *
        * Number of instances that are downloading patches.
        * 
* * int64 downloading_patches_instance_count = 5; + * * @return The downloadingPatchesInstanceCount. */ @java.lang.Override @@ -9660,11 +11018,14 @@ public long getDownloadingPatchesInstanceCount() { public static final int APPLYING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER = 6; private long applyingPatchesInstanceCount_; /** + * + * *
        * Number of instances that are applying patches.
        * 
* * int64 applying_patches_instance_count = 6; + * * @return The applyingPatchesInstanceCount. */ @java.lang.Override @@ -9675,11 +11036,14 @@ public long getApplyingPatchesInstanceCount() { public static final int REBOOTING_INSTANCE_COUNT_FIELD_NUMBER = 7; private long rebootingInstanceCount_; /** + * + * *
        * Number of instances rebooting.
        * 
* * int64 rebooting_instance_count = 7; + * * @return The rebootingInstanceCount. */ @java.lang.Override @@ -9690,11 +11054,14 @@ public long getRebootingInstanceCount() { public static final int SUCCEEDED_INSTANCE_COUNT_FIELD_NUMBER = 8; private long succeededInstanceCount_; /** + * + * *
        * Number of instances that have completed successfully.
        * 
* * int64 succeeded_instance_count = 8; + * * @return The succeededInstanceCount. */ @java.lang.Override @@ -9705,11 +11072,14 @@ public long getSucceededInstanceCount() { public static final int SUCCEEDED_REBOOT_REQUIRED_INSTANCE_COUNT_FIELD_NUMBER = 9; private long succeededRebootRequiredInstanceCount_; /** + * + * *
        * Number of instances that require reboot.
        * 
* * int64 succeeded_reboot_required_instance_count = 9; + * * @return The succeededRebootRequiredInstanceCount. */ @java.lang.Override @@ -9720,11 +11090,14 @@ public long getSucceededRebootRequiredInstanceCount() { public static final int FAILED_INSTANCE_COUNT_FIELD_NUMBER = 10; private long failedInstanceCount_; /** + * + * *
        * Number of instances that failed.
        * 
* * int64 failed_instance_count = 10; + * * @return The failedInstanceCount. */ @java.lang.Override @@ -9735,11 +11108,14 @@ public long getFailedInstanceCount() { public static final int ACKED_INSTANCE_COUNT_FIELD_NUMBER = 11; private long ackedInstanceCount_; /** + * + * *
        * Number of instances that have acked and will start shortly.
        * 
* * int64 acked_instance_count = 11; + * * @return The ackedInstanceCount. */ @java.lang.Override @@ -9750,11 +11126,14 @@ public long getAckedInstanceCount() { public static final int TIMED_OUT_INSTANCE_COUNT_FIELD_NUMBER = 12; private long timedOutInstanceCount_; /** + * + * *
        * Number of instances that exceeded the time out while applying the patch.
        * 
* * int64 timed_out_instance_count = 12; + * * @return The timedOutInstanceCount. */ @java.lang.Override @@ -9765,11 +11144,14 @@ public long getTimedOutInstanceCount() { public static final int PRE_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER = 13; private long prePatchStepInstanceCount_; /** + * + * *
        * Number of instances that are running the pre-patch step.
        * 
* * int64 pre_patch_step_instance_count = 13; + * * @return The prePatchStepInstanceCount. */ @java.lang.Override @@ -9780,11 +11162,14 @@ public long getPrePatchStepInstanceCount() { public static final int POST_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER = 14; private long postPatchStepInstanceCount_; /** + * + * *
        * Number of instances that are running the post-patch step.
        * 
* * int64 post_patch_step_instance_count = 14; + * * @return The postPatchStepInstanceCount. */ @java.lang.Override @@ -9795,6 +11180,8 @@ public long getPostPatchStepInstanceCount() { public static final int NO_AGENT_DETECTED_INSTANCE_COUNT_FIELD_NUMBER = 15; private long noAgentDetectedInstanceCount_; /** + * + * *
        * Number of instances that do not appear to be running the agent. Check to
        * ensure that the agent is installed, running, and able to communicate with
@@ -9802,6 +11189,7 @@ public long getPostPatchStepInstanceCount() {
        * 
* * int64 no_agent_detected_instance_count = 15; + * * @return The noAgentDetectedInstanceCount. */ @java.lang.Override @@ -9810,6 +11198,7 @@ public long getNoAgentDetectedInstanceCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9821,8 +11210,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (pendingInstanceCount_ != 0L) { output.writeInt64(1, pendingInstanceCount_); } @@ -9878,64 +11266,64 @@ public int getSerializedSize() { size = 0; if (pendingInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, pendingInstanceCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, pendingInstanceCount_); } if (inactiveInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, inactiveInstanceCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, inactiveInstanceCount_); } if (notifiedInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, notifiedInstanceCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, notifiedInstanceCount_); } if (startedInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, startedInstanceCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, startedInstanceCount_); } if (downloadingPatchesInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, downloadingPatchesInstanceCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 5, downloadingPatchesInstanceCount_); } if (applyingPatchesInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(6, applyingPatchesInstanceCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 6, applyingPatchesInstanceCount_); } if (rebootingInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(7, rebootingInstanceCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(7, rebootingInstanceCount_); } if (succeededInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(8, succeededInstanceCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(8, succeededInstanceCount_); } if (succeededRebootRequiredInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(9, succeededRebootRequiredInstanceCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 9, succeededRebootRequiredInstanceCount_); } if (failedInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(10, failedInstanceCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(10, failedInstanceCount_); } if (ackedInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(11, ackedInstanceCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, ackedInstanceCount_); } if (timedOutInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(12, timedOutInstanceCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(12, timedOutInstanceCount_); } if (prePatchStepInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(13, prePatchStepInstanceCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 13, prePatchStepInstanceCount_); } if (postPatchStepInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(14, postPatchStepInstanceCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 14, postPatchStepInstanceCount_); } if (noAgentDetectedInstanceCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(15, noAgentDetectedInstanceCount_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 15, noAgentDetectedInstanceCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -9945,43 +11333,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary)) { + if (!(obj + instanceof + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary other = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary) obj; - - if (getPendingInstanceCount() - != other.getPendingInstanceCount()) return false; - if (getInactiveInstanceCount() - != other.getInactiveInstanceCount()) return false; - if (getNotifiedInstanceCount() - != other.getNotifiedInstanceCount()) return false; - if (getStartedInstanceCount() - != other.getStartedInstanceCount()) return false; - if (getDownloadingPatchesInstanceCount() - != other.getDownloadingPatchesInstanceCount()) return false; - if (getApplyingPatchesInstanceCount() - != other.getApplyingPatchesInstanceCount()) return false; - if (getRebootingInstanceCount() - != other.getRebootingInstanceCount()) return false; - if (getSucceededInstanceCount() - != other.getSucceededInstanceCount()) return false; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary other = + (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary) obj; + + if (getPendingInstanceCount() != other.getPendingInstanceCount()) return false; + if (getInactiveInstanceCount() != other.getInactiveInstanceCount()) return false; + if (getNotifiedInstanceCount() != other.getNotifiedInstanceCount()) return false; + if (getStartedInstanceCount() != other.getStartedInstanceCount()) return false; + if (getDownloadingPatchesInstanceCount() != other.getDownloadingPatchesInstanceCount()) + return false; + if (getApplyingPatchesInstanceCount() != other.getApplyingPatchesInstanceCount()) + return false; + if (getRebootingInstanceCount() != other.getRebootingInstanceCount()) return false; + if (getSucceededInstanceCount() != other.getSucceededInstanceCount()) return false; if (getSucceededRebootRequiredInstanceCount() != other.getSucceededRebootRequiredInstanceCount()) return false; - if (getFailedInstanceCount() - != other.getFailedInstanceCount()) return false; - if (getAckedInstanceCount() - != other.getAckedInstanceCount()) return false; - if (getTimedOutInstanceCount() - != other.getTimedOutInstanceCount()) return false; - if (getPrePatchStepInstanceCount() - != other.getPrePatchStepInstanceCount()) return false; - if (getPostPatchStepInstanceCount() - != other.getPostPatchStepInstanceCount()) return false; - if (getNoAgentDetectedInstanceCount() - != other.getNoAgentDetectedInstanceCount()) return false; + if (getFailedInstanceCount() != other.getFailedInstanceCount()) return false; + if (getAckedInstanceCount() != other.getAckedInstanceCount()) return false; + if (getTimedOutInstanceCount() != other.getTimedOutInstanceCount()) return false; + if (getPrePatchStepInstanceCount() != other.getPrePatchStepInstanceCount()) return false; + if (getPostPatchStepInstanceCount() != other.getPostPatchStepInstanceCount()) return false; + if (getNoAgentDetectedInstanceCount() != other.getNoAgentDetectedInstanceCount()) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9994,137 +11374,143 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PENDING_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getPendingInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPendingInstanceCount()); hash = (37 * hash) + INACTIVE_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getInactiveInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInactiveInstanceCount()); hash = (37 * hash) + NOTIFIED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getNotifiedInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNotifiedInstanceCount()); hash = (37 * hash) + STARTED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getStartedInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getStartedInstanceCount()); hash = (37 * hash) + DOWNLOADING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getDownloadingPatchesInstanceCount()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(getDownloadingPatchesInstanceCount()); hash = (37 * hash) + APPLYING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getApplyingPatchesInstanceCount()); + hash = + (53 * hash) + com.google.protobuf.Internal.hashLong(getApplyingPatchesInstanceCount()); hash = (37 * hash) + REBOOTING_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRebootingInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRebootingInstanceCount()); hash = (37 * hash) + SUCCEEDED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSucceededInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSucceededInstanceCount()); hash = (37 * hash) + SUCCEEDED_REBOOT_REQUIRED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSucceededRebootRequiredInstanceCount()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(getSucceededRebootRequiredInstanceCount()); hash = (37 * hash) + FAILED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getFailedInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFailedInstanceCount()); hash = (37 * hash) + ACKED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getAckedInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAckedInstanceCount()); hash = (37 * hash) + TIMED_OUT_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTimedOutInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTimedOutInstanceCount()); hash = (37 * hash) + PRE_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getPrePatchStepInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPrePatchStepInstanceCount()); hash = (37 * hash) + POST_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getPostPatchStepInstanceCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPostPatchStepInstanceCount()); hash = (37 * hash) + NO_AGENT_DETECTED_INSTANCE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getNoAgentDetectedInstanceCount()); + hash = + (53 * hash) + com.google.protobuf.Internal.hashLong(getNoAgentDetectedInstanceCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + 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.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + 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.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary 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.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + 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.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary 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.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + 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.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10134,6 +11520,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A summary of the current patch state across all instances that this patch
        * job affects. Contains counts of instances in different states. These states
@@ -10143,38 +11531,42 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary)
           com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1beta.PatchJobs
+              .internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_fieldAccessorTable
+          return com.google.cloud.osconfig.v1beta.PatchJobs
+              .internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder.class);
+                  com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.class,
+                  com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder
+                      .class);
         }
 
-        // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.newBuilder()
+        // Construct using
+        // com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
-          }
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -10212,19 +11604,22 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.cloud.osconfig.v1beta.PatchJobs
+              .internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstanceForType() {
-          return com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance();
+        public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary
+            getDefaultInstanceForType() {
+          return com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary
+              .getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary build() {
-          com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary result = buildPartial();
+          com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary result =
+              buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -10232,8 +11627,10 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummar
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary buildPartial() {
-          com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary result = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary(this);
+        public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary
+            buildPartial() {
+          com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary result =
+              new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary(this);
           result.pendingInstanceCount_ = pendingInstanceCount_;
           result.inactiveInstanceCount_ = inactiveInstanceCount_;
           result.notifiedInstanceCount_ = notifiedInstanceCount_;
@@ -10257,46 +11654,55 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummar
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary) {
-            return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary)other);
+          if (other
+              instanceof
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary) {
+            return mergeFrom(
+                (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary other) {
-          if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance()) return this;
+        public Builder mergeFrom(
+            com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary other) {
+          if (other
+              == com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary
+                  .getDefaultInstance()) return this;
           if (other.getPendingInstanceCount() != 0L) {
             setPendingInstanceCount(other.getPendingInstanceCount());
           }
@@ -10322,7 +11728,8 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Ins
             setSucceededInstanceCount(other.getSucceededInstanceCount());
           }
           if (other.getSucceededRebootRequiredInstanceCount() != 0L) {
-            setSucceededRebootRequiredInstanceCount(other.getSucceededRebootRequiredInstanceCount());
+            setSucceededRebootRequiredInstanceCount(
+                other.getSucceededRebootRequiredInstanceCount());
           }
           if (other.getFailedInstanceCount() != 0L) {
             setFailedInstanceCount(other.getFailedInstanceCount());
@@ -10357,11 +11764,14 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
-          com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parsedMessage = null;
+          com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary parsedMessage =
+              null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary)
+                    e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -10371,13 +11781,16 @@ public Builder mergeFrom(
           return this;
         }
 
-        private long pendingInstanceCount_ ;
+        private long pendingInstanceCount_;
         /**
+         *
+         *
          * 
          * Number of instances pending patch job.
          * 
* * int64 pending_instance_count = 1; + * * @return The pendingInstanceCount. */ @java.lang.Override @@ -10385,42 +11798,51 @@ public long getPendingInstanceCount() { return pendingInstanceCount_; } /** + * + * *
          * Number of instances pending patch job.
          * 
* * int64 pending_instance_count = 1; + * * @param value The pendingInstanceCount to set. * @return This builder for chaining. */ public Builder setPendingInstanceCount(long value) { - + pendingInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances pending patch job.
          * 
* * int64 pending_instance_count = 1; + * * @return This builder for chaining. */ public Builder clearPendingInstanceCount() { - + pendingInstanceCount_ = 0L; onChanged(); return this; } - private long inactiveInstanceCount_ ; + private long inactiveInstanceCount_; /** + * + * *
          * Number of instances that are inactive.
          * 
* * int64 inactive_instance_count = 2; + * * @return The inactiveInstanceCount. */ @java.lang.Override @@ -10428,42 +11850,51 @@ public long getInactiveInstanceCount() { return inactiveInstanceCount_; } /** + * + * *
          * Number of instances that are inactive.
          * 
* * int64 inactive_instance_count = 2; + * * @param value The inactiveInstanceCount to set. * @return This builder for chaining. */ public Builder setInactiveInstanceCount(long value) { - + inactiveInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that are inactive.
          * 
* * int64 inactive_instance_count = 2; + * * @return This builder for chaining. */ public Builder clearInactiveInstanceCount() { - + inactiveInstanceCount_ = 0L; onChanged(); return this; } - private long notifiedInstanceCount_ ; + private long notifiedInstanceCount_; /** + * + * *
          * Number of instances notified about patch job.
          * 
* * int64 notified_instance_count = 3; + * * @return The notifiedInstanceCount. */ @java.lang.Override @@ -10471,42 +11902,51 @@ public long getNotifiedInstanceCount() { return notifiedInstanceCount_; } /** + * + * *
          * Number of instances notified about patch job.
          * 
* * int64 notified_instance_count = 3; + * * @param value The notifiedInstanceCount to set. * @return This builder for chaining. */ public Builder setNotifiedInstanceCount(long value) { - + notifiedInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances notified about patch job.
          * 
* * int64 notified_instance_count = 3; + * * @return This builder for chaining. */ public Builder clearNotifiedInstanceCount() { - + notifiedInstanceCount_ = 0L; onChanged(); return this; } - private long startedInstanceCount_ ; + private long startedInstanceCount_; /** + * + * *
          * Number of instances that have started.
          * 
* * int64 started_instance_count = 4; + * * @return The startedInstanceCount. */ @java.lang.Override @@ -10514,42 +11954,51 @@ public long getStartedInstanceCount() { return startedInstanceCount_; } /** + * + * *
          * Number of instances that have started.
          * 
* * int64 started_instance_count = 4; + * * @param value The startedInstanceCount to set. * @return This builder for chaining. */ public Builder setStartedInstanceCount(long value) { - + startedInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that have started.
          * 
* * int64 started_instance_count = 4; + * * @return This builder for chaining. */ public Builder clearStartedInstanceCount() { - + startedInstanceCount_ = 0L; onChanged(); return this; } - private long downloadingPatchesInstanceCount_ ; + private long downloadingPatchesInstanceCount_; /** + * + * *
          * Number of instances that are downloading patches.
          * 
* * int64 downloading_patches_instance_count = 5; + * * @return The downloadingPatchesInstanceCount. */ @java.lang.Override @@ -10557,42 +12006,51 @@ public long getDownloadingPatchesInstanceCount() { return downloadingPatchesInstanceCount_; } /** + * + * *
          * Number of instances that are downloading patches.
          * 
* * int64 downloading_patches_instance_count = 5; + * * @param value The downloadingPatchesInstanceCount to set. * @return This builder for chaining. */ public Builder setDownloadingPatchesInstanceCount(long value) { - + downloadingPatchesInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that are downloading patches.
          * 
* * int64 downloading_patches_instance_count = 5; + * * @return This builder for chaining. */ public Builder clearDownloadingPatchesInstanceCount() { - + downloadingPatchesInstanceCount_ = 0L; onChanged(); return this; } - private long applyingPatchesInstanceCount_ ; + private long applyingPatchesInstanceCount_; /** + * + * *
          * Number of instances that are applying patches.
          * 
* * int64 applying_patches_instance_count = 6; + * * @return The applyingPatchesInstanceCount. */ @java.lang.Override @@ -10600,42 +12058,51 @@ public long getApplyingPatchesInstanceCount() { return applyingPatchesInstanceCount_; } /** + * + * *
          * Number of instances that are applying patches.
          * 
* * int64 applying_patches_instance_count = 6; + * * @param value The applyingPatchesInstanceCount to set. * @return This builder for chaining. */ public Builder setApplyingPatchesInstanceCount(long value) { - + applyingPatchesInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that are applying patches.
          * 
* * int64 applying_patches_instance_count = 6; + * * @return This builder for chaining. */ public Builder clearApplyingPatchesInstanceCount() { - + applyingPatchesInstanceCount_ = 0L; onChanged(); return this; } - private long rebootingInstanceCount_ ; + private long rebootingInstanceCount_; /** + * + * *
          * Number of instances rebooting.
          * 
* * int64 rebooting_instance_count = 7; + * * @return The rebootingInstanceCount. */ @java.lang.Override @@ -10643,42 +12110,51 @@ public long getRebootingInstanceCount() { return rebootingInstanceCount_; } /** + * + * *
          * Number of instances rebooting.
          * 
* * int64 rebooting_instance_count = 7; + * * @param value The rebootingInstanceCount to set. * @return This builder for chaining. */ public Builder setRebootingInstanceCount(long value) { - + rebootingInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances rebooting.
          * 
* * int64 rebooting_instance_count = 7; + * * @return This builder for chaining. */ public Builder clearRebootingInstanceCount() { - + rebootingInstanceCount_ = 0L; onChanged(); return this; } - private long succeededInstanceCount_ ; + private long succeededInstanceCount_; /** + * + * *
          * Number of instances that have completed successfully.
          * 
* * int64 succeeded_instance_count = 8; + * * @return The succeededInstanceCount. */ @java.lang.Override @@ -10686,42 +12162,51 @@ public long getSucceededInstanceCount() { return succeededInstanceCount_; } /** + * + * *
          * Number of instances that have completed successfully.
          * 
* * int64 succeeded_instance_count = 8; + * * @param value The succeededInstanceCount to set. * @return This builder for chaining. */ public Builder setSucceededInstanceCount(long value) { - + succeededInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that have completed successfully.
          * 
* * int64 succeeded_instance_count = 8; + * * @return This builder for chaining. */ public Builder clearSucceededInstanceCount() { - + succeededInstanceCount_ = 0L; onChanged(); return this; } - private long succeededRebootRequiredInstanceCount_ ; + private long succeededRebootRequiredInstanceCount_; /** + * + * *
          * Number of instances that require reboot.
          * 
* * int64 succeeded_reboot_required_instance_count = 9; + * * @return The succeededRebootRequiredInstanceCount. */ @java.lang.Override @@ -10729,42 +12214,51 @@ public long getSucceededRebootRequiredInstanceCount() { return succeededRebootRequiredInstanceCount_; } /** + * + * *
          * Number of instances that require reboot.
          * 
* * int64 succeeded_reboot_required_instance_count = 9; + * * @param value The succeededRebootRequiredInstanceCount to set. * @return This builder for chaining. */ public Builder setSucceededRebootRequiredInstanceCount(long value) { - + succeededRebootRequiredInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that require reboot.
          * 
* * int64 succeeded_reboot_required_instance_count = 9; + * * @return This builder for chaining. */ public Builder clearSucceededRebootRequiredInstanceCount() { - + succeededRebootRequiredInstanceCount_ = 0L; onChanged(); return this; } - private long failedInstanceCount_ ; + private long failedInstanceCount_; /** + * + * *
          * Number of instances that failed.
          * 
* * int64 failed_instance_count = 10; + * * @return The failedInstanceCount. */ @java.lang.Override @@ -10772,42 +12266,51 @@ public long getFailedInstanceCount() { return failedInstanceCount_; } /** + * + * *
          * Number of instances that failed.
          * 
* * int64 failed_instance_count = 10; + * * @param value The failedInstanceCount to set. * @return This builder for chaining. */ public Builder setFailedInstanceCount(long value) { - + failedInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that failed.
          * 
* * int64 failed_instance_count = 10; + * * @return This builder for chaining. */ public Builder clearFailedInstanceCount() { - + failedInstanceCount_ = 0L; onChanged(); return this; } - private long ackedInstanceCount_ ; + private long ackedInstanceCount_; /** + * + * *
          * Number of instances that have acked and will start shortly.
          * 
* * int64 acked_instance_count = 11; + * * @return The ackedInstanceCount. */ @java.lang.Override @@ -10815,42 +12318,51 @@ public long getAckedInstanceCount() { return ackedInstanceCount_; } /** + * + * *
          * Number of instances that have acked and will start shortly.
          * 
* * int64 acked_instance_count = 11; + * * @param value The ackedInstanceCount to set. * @return This builder for chaining. */ public Builder setAckedInstanceCount(long value) { - + ackedInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that have acked and will start shortly.
          * 
* * int64 acked_instance_count = 11; + * * @return This builder for chaining. */ public Builder clearAckedInstanceCount() { - + ackedInstanceCount_ = 0L; onChanged(); return this; } - private long timedOutInstanceCount_ ; + private long timedOutInstanceCount_; /** + * + * *
          * Number of instances that exceeded the time out while applying the patch.
          * 
* * int64 timed_out_instance_count = 12; + * * @return The timedOutInstanceCount. */ @java.lang.Override @@ -10858,42 +12370,51 @@ public long getTimedOutInstanceCount() { return timedOutInstanceCount_; } /** + * + * *
          * Number of instances that exceeded the time out while applying the patch.
          * 
* * int64 timed_out_instance_count = 12; + * * @param value The timedOutInstanceCount to set. * @return This builder for chaining. */ public Builder setTimedOutInstanceCount(long value) { - + timedOutInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that exceeded the time out while applying the patch.
          * 
* * int64 timed_out_instance_count = 12; + * * @return This builder for chaining. */ public Builder clearTimedOutInstanceCount() { - + timedOutInstanceCount_ = 0L; onChanged(); return this; } - private long prePatchStepInstanceCount_ ; + private long prePatchStepInstanceCount_; /** + * + * *
          * Number of instances that are running the pre-patch step.
          * 
* * int64 pre_patch_step_instance_count = 13; + * * @return The prePatchStepInstanceCount. */ @java.lang.Override @@ -10901,42 +12422,51 @@ public long getPrePatchStepInstanceCount() { return prePatchStepInstanceCount_; } /** + * + * *
          * Number of instances that are running the pre-patch step.
          * 
* * int64 pre_patch_step_instance_count = 13; + * * @param value The prePatchStepInstanceCount to set. * @return This builder for chaining. */ public Builder setPrePatchStepInstanceCount(long value) { - + prePatchStepInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that are running the pre-patch step.
          * 
* * int64 pre_patch_step_instance_count = 13; + * * @return This builder for chaining. */ public Builder clearPrePatchStepInstanceCount() { - + prePatchStepInstanceCount_ = 0L; onChanged(); return this; } - private long postPatchStepInstanceCount_ ; + private long postPatchStepInstanceCount_; /** + * + * *
          * Number of instances that are running the post-patch step.
          * 
* * int64 post_patch_step_instance_count = 14; + * * @return The postPatchStepInstanceCount. */ @java.lang.Override @@ -10944,37 +12474,45 @@ public long getPostPatchStepInstanceCount() { return postPatchStepInstanceCount_; } /** + * + * *
          * Number of instances that are running the post-patch step.
          * 
* * int64 post_patch_step_instance_count = 14; + * * @param value The postPatchStepInstanceCount to set. * @return This builder for chaining. */ public Builder setPostPatchStepInstanceCount(long value) { - + postPatchStepInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that are running the post-patch step.
          * 
* * int64 post_patch_step_instance_count = 14; + * * @return This builder for chaining. */ public Builder clearPostPatchStepInstanceCount() { - + postPatchStepInstanceCount_ = 0L; onChanged(); return this; } - private long noAgentDetectedInstanceCount_ ; + private long noAgentDetectedInstanceCount_; /** + * + * *
          * Number of instances that do not appear to be running the agent. Check to
          * ensure that the agent is installed, running, and able to communicate with
@@ -10982,6 +12520,7 @@ public Builder clearPostPatchStepInstanceCount() {
          * 
* * int64 no_agent_detected_instance_count = 15; + * * @return The noAgentDetectedInstanceCount. */ @java.lang.Override @@ -10989,6 +12528,8 @@ public long getNoAgentDetectedInstanceCount() { return noAgentDetectedInstanceCount_; } /** + * + * *
          * Number of instances that do not appear to be running the agent. Check to
          * ensure that the agent is installed, running, and able to communicate with
@@ -10996,16 +12537,19 @@ public long getNoAgentDetectedInstanceCount() {
          * 
* * int64 no_agent_detected_instance_count = 15; + * * @param value The noAgentDetectedInstanceCount to set. * @return This builder for chaining. */ public Builder setNoAgentDetectedInstanceCount(long value) { - + noAgentDetectedInstanceCount_ = value; onChanged(); return this; } /** + * + * *
          * Number of instances that do not appear to be running the agent. Check to
          * ensure that the agent is installed, running, and able to communicate with
@@ -11013,14 +12557,16 @@ public Builder setNoAgentDetectedInstanceCount(long value) {
          * 
* * int64 no_agent_detected_instance_count = 15; + * * @return This builder for chaining. */ public Builder clearNoAgentDetectedInstanceCount() { - + noAgentDetectedInstanceCount_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11033,30 +12579,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob + .InstanceDetailsSummary + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary(); + DEFAULT_INSTANCE = + new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstanceDetailsSummary parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstanceDetailsSummary(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceDetailsSummary parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstanceDetailsSummary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11068,21 +12618,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Unique identifier for this patch job in the form
      * `projects/*/patchJobs/*`
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -11091,30 +12644,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Unique identifier for this patch job in the form
      * `projects/*/patchJobs/*`
      * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -11125,11 +12678,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 14; private volatile java.lang.Object displayName_; /** + * + * *
      * Display name for this patch job. This is not a unique identifier.
      * 
* * string display_name = 14; + * * @return The displayName. */ @java.lang.Override @@ -11138,29 +12694,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
      * Display name for this patch job. This is not a unique identifier.
      * 
* * string display_name = 14; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -11171,12 +12727,15 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -11185,30 +12744,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * Description of the patch job. Length of the description is limited
      * to 1024 characters.
      * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -11219,11 +12778,14 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
      * Time this patch job was created.
      * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -11231,11 +12793,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
      * Time this patch job was created.
      * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return The createTime. */ @java.lang.Override @@ -11243,6 +12808,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
      * Time this patch job was created.
      * 
@@ -11257,11 +12824,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
      * Last time this patch job was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -11269,11 +12839,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
      * Last time this patch job was updated.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ @java.lang.Override @@ -11281,6 +12854,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
      * Last time this patch job was updated.
      * 
@@ -11295,38 +12870,52 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 5; private int state_; /** + * + * *
      * The current state of the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.PatchJob.State state = 5; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The current state of the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.PatchJob.State state = 5; + * * @return The state. */ - @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State getState() { + @java.lang.Override + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State result = com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State result = + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.valueOf(state_); + return result == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.UNRECOGNIZED + : result; } public static final int INSTANCE_FILTER_FIELD_NUMBER = 13; private com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter instanceFilter_; /** + * + * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; + * * @return Whether the instanceFilter field is set. */ @java.lang.Override @@ -11334,18 +12923,25 @@ public boolean hasInstanceFilter() { return instanceFilter_ != null; } /** + * + * *
      * Instances to patch.
      * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; + * * @return The instanceFilter. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanceFilter() { - return instanceFilter_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() + : instanceFilter_; } /** + * + * *
      * Instances to patch.
      * 
@@ -11353,18 +12949,22 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanc * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder + getInstanceFilterOrBuilder() { return getInstanceFilter(); } public static final int PATCH_CONFIG_FIELD_NUMBER = 7; private com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig patchConfig_; /** + * + * *
      * Patch configuration being applied.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; + * * @return Whether the patchConfig field is set. */ @java.lang.Override @@ -11372,18 +12972,25 @@ public boolean hasPatchConfig() { return patchConfig_ != null; } /** + * + * *
      * Patch configuration being applied.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; + * * @return The patchConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig() { - return patchConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; + return patchConfig_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() + : patchConfig_; } /** + * + * *
      * Patch configuration being applied.
      * 
@@ -11391,19 +12998,23 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig() { * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder + getPatchConfigOrBuilder() { return getPatchConfig(); } public static final int DURATION_FIELD_NUMBER = 8; private com.google.protobuf.Duration duration_; /** + * + * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
      * 
* * .google.protobuf.Duration duration = 8; + * * @return Whether the duration field is set. */ @java.lang.Override @@ -11411,12 +13022,15 @@ public boolean hasDuration() { return duration_ != null; } /** + * + * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
      * 
* * .google.protobuf.Duration duration = 8; + * * @return The duration. */ @java.lang.Override @@ -11424,6 +13038,8 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** + * + * *
      * Duration of the patch job. After the duration ends, the
      * patch job times out.
@@ -11437,13 +13053,19 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
     }
 
     public static final int INSTANCE_DETAILS_SUMMARY_FIELD_NUMBER = 9;
-    private com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary instanceDetailsSummary_;
+    private com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary
+        instanceDetailsSummary_;
     /**
+     *
+     *
      * 
      * Summary of instance details.
      * 
* - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * * @return Whether the instanceDetailsSummary field is set. */ @java.lang.Override @@ -11451,38 +13073,55 @@ public boolean hasInstanceDetailsSummary() { return instanceDetailsSummary_ != null; } /** + * + * *
      * Summary of instance details.
      * 
* - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * * @return The instanceDetailsSummary. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary getInstanceDetailsSummary() { - return instanceDetailsSummary_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance() : instanceDetailsSummary_; + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + getInstanceDetailsSummary() { + return instanceDetailsSummary_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + .getDefaultInstance() + : instanceDetailsSummary_; } /** + * + * *
      * Summary of instance details.
      * 
* - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder getInstanceDetailsSummaryOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder + getInstanceDetailsSummaryOrBuilder() { return getInstanceDetailsSummary(); } public static final int DRY_RUN_FIELD_NUMBER = 10; private boolean dryRun_; /** + * + * *
      * If this patch job is a dry run, the agent reports that it has
      * finished without running any updates on the VM instance.
      * 
* * bool dry_run = 10; + * * @return The dryRun. */ @java.lang.Override @@ -11493,12 +13132,15 @@ public boolean getDryRun() { public static final int ERROR_MESSAGE_FIELD_NUMBER = 11; private volatile java.lang.Object errorMessage_; /** + * + * *
      * If this patch job failed, this message provides information about the
      * failure.
      * 
* * string error_message = 11; + * * @return The errorMessage. */ @java.lang.Override @@ -11507,30 +13149,30 @@ public java.lang.String getErrorMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } } /** + * + * *
      * If this patch job failed, this message provides information about the
      * failure.
      * 
* * string error_message = 11; + * * @return The bytes for errorMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getErrorMessageBytes() { + public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -11541,12 +13183,15 @@ public java.lang.String getErrorMessage() { public static final int PERCENT_COMPLETE_FIELD_NUMBER = 12; private double percentComplete_; /** + * + * *
      * Reflects the overall progress of the patch job in the range of
      * 0.0 being no progress to 100.0 being complete.
      * 
* * double percent_complete = 12; + * * @return The percentComplete. */ @java.lang.Override @@ -11557,11 +13202,14 @@ public double getPercentComplete() { public static final int PATCH_DEPLOYMENT_FIELD_NUMBER = 15; private volatile java.lang.Object patchDeployment_; /** + * + * *
      * Output only. Name of the patch deployment that created this patch job.
      * 
* * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The patchDeployment. */ @java.lang.Override @@ -11570,29 +13218,29 @@ public java.lang.String getPatchDeployment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchDeployment_ = s; return s; } } /** + * + * *
      * Output only. Name of the patch deployment that created this patch job.
      * 
* * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for patchDeployment. */ @java.lang.Override - public com.google.protobuf.ByteString - getPatchDeploymentBytes() { + public com.google.protobuf.ByteString getPatchDeploymentBytes() { java.lang.Object ref = patchDeployment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); patchDeployment_ = b; return b; } else { @@ -11603,11 +13251,14 @@ public java.lang.String getPatchDeployment() { public static final int ROLLOUT_FIELD_NUMBER = 16; private com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout rollout_; /** + * + * *
      * Rollout strategy being applied.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 16; + * * @return Whether the rollout field is set. */ @java.lang.Override @@ -11615,18 +13266,25 @@ public boolean hasRollout() { return rollout_ != null; } /** + * + * *
      * Rollout strategy being applied.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 16; + * * @return The rollout. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getRollout() { - return rollout_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() + : rollout_; } /** + * + * *
      * Rollout strategy being applied.
      * 
@@ -11639,6 +13297,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRollo } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11650,8 +13309,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -11664,7 +13322,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (updateTime_ != null) { output.writeMessage(4, getUpdateTime()); } - if (state_ != com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, state_); } if (patchConfig_ != null) { @@ -11713,43 +13373,38 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } - if (state_ != com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, state_); + if (state_ + != com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); } if (patchConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getPatchConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getPatchConfig()); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getDuration()); } if (instanceDetailsSummary_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getInstanceDetailsSummary()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, getInstanceDetailsSummary()); } if (dryRun_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(10, dryRun_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, dryRun_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, errorMessage_); } if (java.lang.Double.doubleToRawLongBits(percentComplete_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(12, percentComplete_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(12, percentComplete_); } if (instanceFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getInstanceFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getInstanceFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, displayName_); @@ -11758,8 +13413,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, patchDeployment_); } if (rollout_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getRollout()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getRollout()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -11769,63 +13423,50 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob other = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob other = + (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (state_ != other.state_) return false; if (hasInstanceFilter() != other.hasInstanceFilter()) return false; if (hasInstanceFilter()) { - if (!getInstanceFilter() - .equals(other.getInstanceFilter())) return false; + if (!getInstanceFilter().equals(other.getInstanceFilter())) return false; } if (hasPatchConfig() != other.hasPatchConfig()) return false; if (hasPatchConfig()) { - if (!getPatchConfig() - .equals(other.getPatchConfig())) return false; + if (!getPatchConfig().equals(other.getPatchConfig())) return false; } if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration() - .equals(other.getDuration())) return false; + if (!getDuration().equals(other.getDuration())) return false; } if (hasInstanceDetailsSummary() != other.hasInstanceDetailsSummary()) return false; if (hasInstanceDetailsSummary()) { - if (!getInstanceDetailsSummary() - .equals(other.getInstanceDetailsSummary())) return false; + if (!getInstanceDetailsSummary().equals(other.getInstanceDetailsSummary())) return false; } - if (getDryRun() - != other.getDryRun()) return false; - if (!getErrorMessage() - .equals(other.getErrorMessage())) return false; + if (getDryRun() != other.getDryRun()) return false; + if (!getErrorMessage().equals(other.getErrorMessage())) return false; if (java.lang.Double.doubleToLongBits(getPercentComplete()) - != java.lang.Double.doubleToLongBits( - other.getPercentComplete())) return false; - if (!getPatchDeployment() - .equals(other.getPatchDeployment())) return false; + != java.lang.Double.doubleToLongBits(other.getPercentComplete())) return false; + if (!getPatchDeployment().equals(other.getPatchDeployment())) return false; if (hasRollout() != other.hasRollout()) return false; if (hasRollout()) { - if (!getRollout() - .equals(other.getRollout())) return false; + if (!getRollout().equals(other.getRollout())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -11871,13 +13512,14 @@ public int hashCode() { hash = (53 * hash) + getInstanceDetailsSummary().hashCode(); } hash = (37 * hash) + DRY_RUN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDryRun()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDryRun()); hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getErrorMessage().hashCode(); hash = (37 * hash) + PERCENT_COMPLETE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getPercentComplete())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getPercentComplete())); hash = (37 * hash) + PATCH_DEPLOYMENT_FIELD_NUMBER; hash = (53 * hash) + getPatchDeployment().hashCode(); if (hasRollout()) { @@ -11890,87 +13532,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob 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.osconfig.v1beta.PatchJobs.PatchJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11980,6 +13629,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A high level representation of a patch job that is either in progress
      * or has completed.
@@ -11992,21 +13643,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.PatchJob}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PatchJob)
         com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_PatchJob_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.class,
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.newBuilder()
@@ -12014,16 +13668,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -12089,9 +13742,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor;
       }
 
       @java.lang.Override
@@ -12110,7 +13763,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob result = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob(this);
+        com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob result =
+            new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob(this);
         result.name_ = name_;
         result.displayName_ = displayName_;
         result.description_ = description_;
@@ -12162,38 +13816,41 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchJobs.PatchJob) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob)other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -12201,7 +13858,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob other) {
-        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.getDefaultInstance())
+          return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -12271,7 +13929,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -12283,19 +13942,21 @@ public Builder mergeFrom(
 
       private java.lang.Object name_ = "";
       /**
+       *
+       *
        * 
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -12304,21 +13965,22 @@ public java.lang.String getName() { } } /** + * + * *
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -12326,57 +13988,64 @@ public java.lang.String getName() { } } /** + * + * *
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Unique identifier for this patch job in the form
        * `projects/*/patchJobs/*`
        * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -12384,18 +14053,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -12404,20 +14075,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -12425,54 +14097,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
        * Display name for this patch job. This is not a unique identifier.
        * 
* * string display_name = 14; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -12480,19 +14159,21 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -12501,21 +14182,22 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -12523,57 +14205,64 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
        * Description of the patch job. Length of the description is limited
        * to 1024 characters.
        * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -12581,34 +14270,47 @@ public Builder setDescriptionBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
        * Time this patch job was created.
        * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
        * Time this patch job was created.
        * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
        * Time this patch job was created.
        * 
@@ -12629,14 +14331,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Time this patch job was created.
        * 
* * .google.protobuf.Timestamp create_time = 3; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -12647,6 +14350,8 @@ public Builder setCreateTime( return this; } /** + * + * *
        * Time this patch job was created.
        * 
@@ -12657,7 +14362,9 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_) + .mergeFrom(value) + .buildPartial(); } else { createTime_ = value; } @@ -12669,6 +14376,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Time this patch job was created.
        * 
@@ -12687,6 +14396,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
        * Time this patch job was created.
        * 
@@ -12694,11 +14405,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 3; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Time this patch job was created.
        * 
@@ -12709,11 +14422,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
        * Time this patch job was created.
        * 
@@ -12721,14 +14437,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -12736,34 +14455,47 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
        * Last time this patch job was updated.
        * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
        * Last time this patch job was updated.
        * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
        * Last time this patch job was updated.
        * 
@@ -12784,14 +14516,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Last time this patch job was updated.
        * 
* * .google.protobuf.Timestamp update_time = 4; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -12802,6 +14535,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
        * Last time this patch job was updated.
        * 
@@ -12812,7 +14547,9 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_) + .mergeFrom(value) + .buildPartial(); } else { updateTime_ = value; } @@ -12824,6 +14561,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Last time this patch job was updated.
        * 
@@ -12842,6 +14581,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
        * Last time this patch job was updated.
        * 
@@ -12849,11 +14590,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 4; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Last time this patch job was updated.
        * 
@@ -12864,11 +14607,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
        * Last time this patch job was updated.
        * 
@@ -12876,14 +14622,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -12891,51 +14640,67 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private int state_ = 0; /** + * + * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.PatchJob.State state = 5; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.PatchJob.State state = 5; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.PatchJob.State state = 5; + * * @return The state. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State result = com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.valueOf(state_); - return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State result = + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.valueOf(state_); + return result == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.State.UNRECOGNIZED + : result; } /** + * + * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.PatchJob.State state = 5; + * * @param value The state to set. * @return This builder for chaining. */ @@ -12943,21 +14708,24 @@ public Builder setState(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.Stat if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The current state of the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.PatchJob.State state = 5; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -12965,41 +14733,55 @@ public Builder clearState() { private com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter instanceFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> instanceFilterBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> + instanceFilterBuilder_; /** + * + * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; + * * @return Whether the instanceFilter field is set. */ public boolean hasInstanceFilter() { return instanceFilterBuilder_ != null || instanceFilter_ != null; } /** + * + * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; + * * @return The instanceFilter. */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getInstanceFilter() { if (instanceFilterBuilder_ == null) { - return instanceFilter_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() + : instanceFilter_; } else { return instanceFilterBuilder_.getMessage(); } } /** + * + * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; */ - public Builder setInstanceFilter(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { + public Builder setInstanceFilter( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13013,6 +14795,8 @@ public Builder setInstanceFilter(com.google.cloud.osconfig.v1beta.PatchJobs.Patc return this; } /** + * + * *
        * Instances to patch.
        * 
@@ -13031,17 +14815,23 @@ public Builder setInstanceFilter( return this; } /** + * + * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; */ - public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { + public Builder mergeInstanceFilter( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter value) { if (instanceFilterBuilder_ == null) { if (instanceFilter_ != null) { instanceFilter_ = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.newBuilder(instanceFilter_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.newBuilder( + instanceFilter_) + .mergeFrom(value) + .buildPartial(); } else { instanceFilter_ = value; } @@ -13053,6 +14843,8 @@ public Builder mergeInstanceFilter(com.google.cloud.osconfig.v1beta.PatchJobs.Pa return this; } /** + * + * *
        * Instances to patch.
        * 
@@ -13071,33 +14863,42 @@ public Builder clearInstanceFilter() { return this; } /** + * + * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder getInstanceFilterBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder + getInstanceFilterBuilder() { + onChanged(); return getInstanceFilterFieldBuilder().getBuilder(); } /** + * + * *
        * Instances to patch.
        * 
* * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder + getInstanceFilterOrBuilder() { if (instanceFilterBuilder_ != null) { return instanceFilterBuilder_.getMessageOrBuilder(); } else { - return instanceFilter_ == null ? - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() : instanceFilter_; + return instanceFilter_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance() + : instanceFilter_; } } /** + * + * *
        * Instances to patch.
        * 
@@ -13105,14 +14906,17 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder g * .google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder> getInstanceFilterFieldBuilder() { if (instanceFilterBuilder_ == null) { - instanceFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder>( - getInstanceFilter(), - getParentForChildren(), - isClean()); + instanceFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder>( + getInstanceFilter(), getParentForChildren(), isClean()); instanceFilter_ = null; } return instanceFilterBuilder_; @@ -13120,34 +14924,47 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder g private com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig patchConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> patchConfigBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> + patchConfigBuilder_; /** + * + * *
        * Patch configuration being applied.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; + * * @return Whether the patchConfig field is set. */ public boolean hasPatchConfig() { return patchConfigBuilder_ != null || patchConfig_ != null; } /** + * + * *
        * Patch configuration being applied.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; + * * @return The patchConfig. */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getPatchConfig() { if (patchConfigBuilder_ == null) { - return patchConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; + return patchConfig_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() + : patchConfig_; } else { return patchConfigBuilder_.getMessage(); } } /** + * + * *
        * Patch configuration being applied.
        * 
@@ -13168,6 +14985,8 @@ public Builder setPatchConfig(com.google.cloud.osconfig.v1beta.PatchJobs.PatchCo return this; } /** + * + * *
        * Patch configuration being applied.
        * 
@@ -13186,17 +15005,22 @@ public Builder setPatchConfig( return this; } /** + * + * *
        * Patch configuration being applied.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; */ - public Builder mergePatchConfig(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig value) { + public Builder mergePatchConfig( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig value) { if (patchConfigBuilder_ == null) { if (patchConfig_ != null) { patchConfig_ = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.newBuilder(patchConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.newBuilder(patchConfig_) + .mergeFrom(value) + .buildPartial(); } else { patchConfig_ = value; } @@ -13208,6 +15032,8 @@ public Builder mergePatchConfig(com.google.cloud.osconfig.v1beta.PatchJobs.Patch return this; } /** + * + * *
        * Patch configuration being applied.
        * 
@@ -13226,33 +15052,42 @@ public Builder clearPatchConfig() { return this; } /** + * + * *
        * Patch configuration being applied.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder getPatchConfigBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder + getPatchConfigBuilder() { + onChanged(); return getPatchConfigFieldBuilder().getBuilder(); } /** + * + * *
        * Patch configuration being applied.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder + getPatchConfigOrBuilder() { if (patchConfigBuilder_ != null) { return patchConfigBuilder_.getMessageOrBuilder(); } else { - return patchConfig_ == null ? - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() : patchConfig_; + return patchConfig_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance() + : patchConfig_; } } /** + * + * *
        * Patch configuration being applied.
        * 
@@ -13260,14 +15095,17 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchC * .google.cloud.osconfig.v1beta.PatchConfig patch_config = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder> getPatchConfigFieldBuilder() { if (patchConfigBuilder_ == null) { - patchConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder>( - getPatchConfig(), - getParentForChildren(), - isClean()); + patchConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder>( + getPatchConfig(), getParentForChildren(), isClean()); patchConfig_ = null; } return patchConfigBuilder_; @@ -13275,26 +15113,35 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder getPatchC private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + durationBuilder_; /** + * + * *
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
        * 
* * .google.protobuf.Duration duration = 8; + * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** + * + * *
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
        * 
* * .google.protobuf.Duration duration = 8; + * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -13305,6 +15152,8 @@ public com.google.protobuf.Duration getDuration() { } } /** + * + * *
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -13326,6 +15175,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -13333,8 +15184,7 @@ public Builder setDuration(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration duration = 8;
        */
-      public Builder setDuration(
-          com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
         if (durationBuilder_ == null) {
           duration_ = builderForValue.build();
           onChanged();
@@ -13345,6 +15195,8 @@ public Builder setDuration(
         return this;
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -13356,7 +15208,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
         if (durationBuilder_ == null) {
           if (duration_ != null) {
             duration_ =
-              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
           } else {
             duration_ = value;
           }
@@ -13368,6 +15220,8 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -13387,6 +15241,8 @@ public Builder clearDuration() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -13395,11 +15251,13 @@ public Builder clearDuration() {
        * .google.protobuf.Duration duration = 8;
        */
       public com.google.protobuf.Duration.Builder getDurationBuilder() {
-        
+
         onChanged();
         return getDurationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -13411,11 +15269,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
         if (durationBuilder_ != null) {
           return durationBuilder_.getMessageOrBuilder();
         } else {
-          return duration_ == null ?
-              com.google.protobuf.Duration.getDefaultInstance() : duration_;
+          return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
         }
       }
       /**
+       *
+       *
        * 
        * Duration of the patch job. After the duration ends, the
        * patch job times out.
@@ -13424,56 +15283,82 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
        * .google.protobuf.Duration duration = 8;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
           getDurationFieldBuilder() {
         if (durationBuilder_ == null) {
-          durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                  getDuration(),
-                  getParentForChildren(),
-                  isClean());
+          durationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
+                  getDuration(), getParentForChildren(), isClean());
           duration_ = null;
         }
         return durationBuilder_;
       }
 
-      private com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary instanceDetailsSummary_;
+      private com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary
+          instanceDetailsSummary_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder> instanceDetailsSummaryBuilder_;
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary,
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder,
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder>
+          instanceDetailsSummaryBuilder_;
       /**
+       *
+       *
        * 
        * Summary of instance details.
        * 
* - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * * @return Whether the instanceDetailsSummary field is set. */ public boolean hasInstanceDetailsSummary() { return instanceDetailsSummaryBuilder_ != null || instanceDetailsSummary_ != null; } /** + * + * *
        * Summary of instance details.
        * 
* - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * * @return The instanceDetailsSummary. */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary getInstanceDetailsSummary() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + getInstanceDetailsSummary() { if (instanceDetailsSummaryBuilder_ == null) { - return instanceDetailsSummary_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance() : instanceDetailsSummary_; + return instanceDetailsSummary_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + .getDefaultInstance() + : instanceDetailsSummary_; } else { return instanceDetailsSummaryBuilder_.getMessage(); } } /** + * + * *
        * Summary of instance details.
        * 
* - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * */ - public Builder setInstanceDetailsSummary(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary value) { + public Builder setInstanceDetailsSummary( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary value) { if (instanceDetailsSummaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13487,14 +15372,19 @@ public Builder setInstanceDetailsSummary(com.google.cloud.osconfig.v1beta.PatchJ return this; } /** + * + * *
        * Summary of instance details.
        * 
* - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * */ public Builder setInstanceDetailsSummary( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder + builderForValue) { if (instanceDetailsSummaryBuilder_ == null) { instanceDetailsSummary_ = builderForValue.build(); onChanged(); @@ -13505,17 +15395,25 @@ public Builder setInstanceDetailsSummary( return this; } /** + * + * *
        * Summary of instance details.
        * 
* - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * */ - public Builder mergeInstanceDetailsSummary(com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary value) { + public Builder mergeInstanceDetailsSummary( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary value) { if (instanceDetailsSummaryBuilder_ == null) { if (instanceDetailsSummary_ != null) { instanceDetailsSummary_ = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.newBuilder(instanceDetailsSummary_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + .newBuilder(instanceDetailsSummary_) + .mergeFrom(value) + .buildPartial(); } else { instanceDetailsSummary_ = value; } @@ -13527,11 +15425,15 @@ public Builder mergeInstanceDetailsSummary(com.google.cloud.osconfig.v1beta.Patc return this; } /** + * + * *
        * Summary of instance details.
        * 
* - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * */ public Builder clearInstanceDetailsSummary() { if (instanceDetailsSummaryBuilder_ == null) { @@ -13545,61 +15447,85 @@ public Builder clearInstanceDetailsSummary() { return this; } /** + * + * *
        * Summary of instance details.
        * 
* - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder getInstanceDetailsSummaryBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder + getInstanceDetailsSummaryBuilder() { + onChanged(); return getInstanceDetailsSummaryFieldBuilder().getBuilder(); } /** + * + * *
        * Summary of instance details.
        * 
* - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder getInstanceDetailsSummaryOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder + getInstanceDetailsSummaryOrBuilder() { if (instanceDetailsSummaryBuilder_ != null) { return instanceDetailsSummaryBuilder_.getMessageOrBuilder(); } else { - return instanceDetailsSummary_ == null ? - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.getDefaultInstance() : instanceDetailsSummary_; + return instanceDetailsSummary_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + .getDefaultInstance() + : instanceDetailsSummary_; } } /** + * + * *
        * Summary of instance details.
        * 
* - * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * + * .google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary instance_details_summary = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder> getInstanceDetailsSummaryFieldBuilder() { if (instanceDetailsSummaryBuilder_ == null) { - instanceDetailsSummaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder>( - getInstanceDetailsSummary(), - getParentForChildren(), - isClean()); + instanceDetailsSummaryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob.InstanceDetailsSummary + .Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob + .InstanceDetailsSummaryOrBuilder>( + getInstanceDetailsSummary(), getParentForChildren(), isClean()); instanceDetailsSummary_ = null; } return instanceDetailsSummaryBuilder_; } - private boolean dryRun_ ; + private boolean dryRun_; /** + * + * *
        * If this patch job is a dry run, the agent reports that it has
        * finished without running any updates on the VM instance.
        * 
* * bool dry_run = 10; + * * @return The dryRun. */ @java.lang.Override @@ -13607,32 +15533,38 @@ public boolean getDryRun() { return dryRun_; } /** + * + * *
        * If this patch job is a dry run, the agent reports that it has
        * finished without running any updates on the VM instance.
        * 
* * bool dry_run = 10; + * * @param value The dryRun to set. * @return This builder for chaining. */ public Builder setDryRun(boolean value) { - + dryRun_ = value; onChanged(); return this; } /** + * + * *
        * If this patch job is a dry run, the agent reports that it has
        * finished without running any updates on the VM instance.
        * 
* * bool dry_run = 10; + * * @return This builder for chaining. */ public Builder clearDryRun() { - + dryRun_ = false; onChanged(); return this; @@ -13640,19 +15572,21 @@ public Builder clearDryRun() { private java.lang.Object errorMessage_ = ""; /** + * + * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; + * * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; @@ -13661,21 +15595,22 @@ public java.lang.String getErrorMessage() { } } /** + * + * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; + * * @return The bytes for errorMessage. */ - public com.google.protobuf.ByteString - getErrorMessageBytes() { + public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -13683,70 +15618,80 @@ public java.lang.String getErrorMessage() { } } /** + * + * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; + * * @param value The errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessage( - java.lang.String value) { + public Builder setErrorMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorMessage_ = value; onChanged(); return this; } /** + * + * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; + * * @return This builder for chaining. */ public Builder clearErrorMessage() { - + errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** + * + * *
        * If this patch job failed, this message provides information about the
        * failure.
        * 
* * string error_message = 11; + * * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorMessage_ = value; onChanged(); return this; } - private double percentComplete_ ; + private double percentComplete_; /** + * + * *
        * Reflects the overall progress of the patch job in the range of
        * 0.0 being no progress to 100.0 being complete.
        * 
* * double percent_complete = 12; + * * @return The percentComplete. */ @java.lang.Override @@ -13754,32 +15699,38 @@ public double getPercentComplete() { return percentComplete_; } /** + * + * *
        * Reflects the overall progress of the patch job in the range of
        * 0.0 being no progress to 100.0 being complete.
        * 
* * double percent_complete = 12; + * * @param value The percentComplete to set. * @return This builder for chaining. */ public Builder setPercentComplete(double value) { - + percentComplete_ = value; onChanged(); return this; } /** + * + * *
        * Reflects the overall progress of the patch job in the range of
        * 0.0 being no progress to 100.0 being complete.
        * 
* * double percent_complete = 12; + * * @return This builder for chaining. */ public Builder clearPercentComplete() { - + percentComplete_ = 0D; onChanged(); return this; @@ -13787,18 +15738,20 @@ public Builder clearPercentComplete() { private java.lang.Object patchDeployment_ = ""; /** + * + * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The patchDeployment. */ public java.lang.String getPatchDeployment() { java.lang.Object ref = patchDeployment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); patchDeployment_ = s; return s; @@ -13807,20 +15760,21 @@ public java.lang.String getPatchDeployment() { } } /** + * + * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for patchDeployment. */ - public com.google.protobuf.ByteString - getPatchDeploymentBytes() { + public com.google.protobuf.ByteString getPatchDeploymentBytes() { java.lang.Object ref = patchDeployment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); patchDeployment_ = b; return b; } else { @@ -13828,54 +15782,61 @@ public java.lang.String getPatchDeployment() { } } /** + * + * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The patchDeployment to set. * @return This builder for chaining. */ - public Builder setPatchDeployment( - java.lang.String value) { + public Builder setPatchDeployment(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + patchDeployment_ = value; onChanged(); return this; } /** + * + * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPatchDeployment() { - + patchDeployment_ = getDefaultInstance().getPatchDeployment(); onChanged(); return this; } /** + * + * *
        * Output only. Name of the patch deployment that created this patch job.
        * 
* * string patch_deployment = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for patchDeployment to set. * @return This builder for chaining. */ - public Builder setPatchDeploymentBytes( - com.google.protobuf.ByteString value) { + public Builder setPatchDeploymentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + patchDeployment_ = value; onChanged(); return this; @@ -13883,34 +15844,47 @@ public Builder setPatchDeploymentBytes( private com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout rollout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> rolloutBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> + rolloutBuilder_; /** + * + * *
        * Rollout strategy being applied.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 16; + * * @return Whether the rollout field is set. */ public boolean hasRollout() { return rolloutBuilder_ != null || rollout_ != null; } /** + * + * *
        * Rollout strategy being applied.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 16; + * * @return The rollout. */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getRollout() { if (rolloutBuilder_ == null) { - return rollout_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() + : rollout_; } else { return rolloutBuilder_.getMessage(); } } /** + * + * *
        * Rollout strategy being applied.
        * 
@@ -13931,6 +15905,8 @@ public Builder setRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollou return this; } /** + * + * *
        * Rollout strategy being applied.
        * 
@@ -13949,6 +15925,8 @@ public Builder setRollout( return this; } /** + * + * *
        * Rollout strategy being applied.
        * 
@@ -13959,7 +15937,9 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRoll if (rolloutBuilder_ == null) { if (rollout_ != null) { rollout_ = - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.newBuilder(rollout_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.newBuilder(rollout_) + .mergeFrom(value) + .buildPartial(); } else { rollout_ = value; } @@ -13971,6 +15951,8 @@ public Builder mergeRollout(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRoll return this; } /** + * + * *
        * Rollout strategy being applied.
        * 
@@ -13989,6 +15971,8 @@ public Builder clearRollout() { return this; } /** + * + * *
        * Rollout strategy being applied.
        * 
@@ -13996,26 +15980,32 @@ public Builder clearRollout() { * .google.cloud.osconfig.v1beta.PatchRollout rollout = 16; */ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder getRolloutBuilder() { - + onChanged(); return getRolloutFieldBuilder().getBuilder(); } /** + * + * *
        * Rollout strategy being applied.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout rollout = 16; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder + getRolloutOrBuilder() { if (rolloutBuilder_ != null) { return rolloutBuilder_.getMessageOrBuilder(); } else { - return rollout_ == null ? - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() : rollout_; + return rollout_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance() + : rollout_; } } /** + * + * *
        * Rollout strategy being applied.
        * 
@@ -14023,18 +16013,22 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder getRollo * .google.cloud.osconfig.v1beta.PatchRollout rollout = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder> getRolloutFieldBuilder() { if (rolloutBuilder_ == null) { - rolloutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder>( - getRollout(), - getParentForChildren(), - isClean()); + rolloutBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder>( + getRollout(), getParentForChildren(), isClean()); rollout_ = null; } return rolloutBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14047,12 +16041,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PatchJob) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PatchJob) private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob(); } @@ -14061,16 +16055,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchJob(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchJob(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14085,53 +16079,67 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.PatchJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PatchConfigOrBuilder extends + public interface PatchConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PatchConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Post-patch reboot settings.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1; + * * @return The enum numeric value on the wire for rebootConfig. */ int getRebootConfigValue(); /** + * + * *
      * Post-patch reboot settings.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1; + * * @return The rebootConfig. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig getRebootConfig(); /** + * + * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.AptSettings apt = 3; + * * @return Whether the apt field is set. */ boolean hasApt(); /** + * + * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.AptSettings apt = 3; + * * @return The apt. */ com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings getApt(); /** + * + * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
@@ -14142,26 +16150,34 @@ public interface PatchConfigOrBuilder extends
     com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder getAptOrBuilder();
 
     /**
+     *
+     *
      * 
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.YumSettings yum = 4; + * * @return Whether the yum field is set. */ boolean hasYum(); /** + * + * *
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.YumSettings yum = 4; + * * @return The yum. */ com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings getYum(); /** + * + * *
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
@@ -14172,26 +16188,34 @@ public interface PatchConfigOrBuilder extends
     com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder getYumOrBuilder();
 
     /**
+     *
+     *
      * 
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.GooSettings goo = 5; + * * @return Whether the goo field is set. */ boolean hasGoo(); /** + * + * *
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.GooSettings goo = 5; + * * @return The goo. */ com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings getGoo(); /** + * + * *
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
@@ -14202,26 +16226,34 @@ public interface PatchConfigOrBuilder extends
     com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder getGooOrBuilder();
 
     /**
+     *
+     *
      * 
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
      * 
* * .google.cloud.osconfig.v1beta.ZypperSettings zypper = 6; + * * @return Whether the zypper field is set. */ boolean hasZypper(); /** + * + * *
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
      * 
* * .google.cloud.osconfig.v1beta.ZypperSettings zypper = 6; + * * @return The zypper. */ com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings getZypper(); /** + * + * *
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
@@ -14232,51 +16264,68 @@ public interface PatchConfigOrBuilder extends
     com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder getZypperOrBuilder();
 
     /**
+     *
+     *
      * 
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; + * * @return Whether the windowsUpdate field is set. */ boolean hasWindowsUpdate(); /** + * + * *
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; + * * @return The windowsUpdate. */ com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings getWindowsUpdate(); /** + * + * *
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; */ - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder getWindowsUpdateOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder + getWindowsUpdateOrBuilder(); /** + * + * *
      * The `ExecStep` to run before the patch update.
      * 
* * .google.cloud.osconfig.v1beta.ExecStep pre_step = 8; + * * @return Whether the preStep field is set. */ boolean hasPreStep(); /** + * + * *
      * The `ExecStep` to run before the patch update.
      * 
* * .google.cloud.osconfig.v1beta.ExecStep pre_step = 8; + * * @return The preStep. */ com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep getPreStep(); /** + * + * *
      * The `ExecStep` to run before the patch update.
      * 
@@ -14286,24 +16335,32 @@ public interface PatchConfigOrBuilder extends com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder getPreStepOrBuilder(); /** + * + * *
      * The `ExecStep` to run after the patch update.
      * 
* * .google.cloud.osconfig.v1beta.ExecStep post_step = 9; + * * @return Whether the postStep field is set. */ boolean hasPostStep(); /** + * + * *
      * The `ExecStep` to run after the patch update.
      * 
* * .google.cloud.osconfig.v1beta.ExecStep post_step = 9; + * * @return The postStep. */ com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep getPostStep(); /** + * + * *
      * The `ExecStep` to run after the patch update.
      * 
@@ -14313,16 +16370,21 @@ public interface PatchConfigOrBuilder extends com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder getPostStepOrBuilder(); /** + * + * *
      * Allows the patch job to run on Managed instance groups (MIGs).
      * 
* * bool mig_instances_allowed = 10; + * * @return The migInstancesAllowed. */ boolean getMigInstancesAllowed(); } /** + * + * *
    * Patch configuration specifications. Contains details on how to apply the
    * patch(es) to a VM instance.
@@ -14330,31 +16392,31 @@ public interface PatchConfigOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.PatchConfig}
    */
-  public static final class PatchConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PatchConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PatchConfig)
       PatchConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PatchConfig.newBuilder() to construct.
     private PatchConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PatchConfig() {
       rebootConfig_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PatchConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PatchConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -14371,117 +16433,147 @@ private PatchConfig(
           int tag = input.readTag();
           switch (tag) {
             case 0:
-              done = true;
-              break;
-            case 8: {
-              int rawValue = input.readEnum();
-
-              rebootConfig_ = rawValue;
-              break;
-            }
-            case 26: {
-              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder subBuilder = null;
-              if (apt_ != null) {
-                subBuilder = apt_.toBuilder();
-              }
-              apt_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(apt_);
-                apt_ = subBuilder.buildPartial();
-              }
-
+              done = true;
               break;
-            }
-            case 34: {
-              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder subBuilder = null;
-              if (yum_ != null) {
-                subBuilder = yum_.toBuilder();
-              }
-              yum_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(yum_);
-                yum_ = subBuilder.buildPartial();
-              }
+            case 8:
+              {
+                int rawValue = input.readEnum();
 
-              break;
-            }
-            case 42: {
-              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder subBuilder = null;
-              if (goo_ != null) {
-                subBuilder = goo_.toBuilder();
-              }
-              goo_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(goo_);
-                goo_ = subBuilder.buildPartial();
+                rebootConfig_ = rawValue;
+                break;
               }
+            case 26:
+              {
+                com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder subBuilder = null;
+                if (apt_ != null) {
+                  subBuilder = apt_.toBuilder();
+                }
+                apt_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(apt_);
+                  apt_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 50: {
-              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder subBuilder = null;
-              if (zypper_ != null) {
-                subBuilder = zypper_.toBuilder();
+                break;
               }
-              zypper_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(zypper_);
-                zypper_ = subBuilder.buildPartial();
+            case 34:
+              {
+                com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder subBuilder = null;
+                if (yum_ != null) {
+                  subBuilder = yum_.toBuilder();
+                }
+                yum_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(yum_);
+                  yum_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
+            case 42:
+              {
+                com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder subBuilder = null;
+                if (goo_ != null) {
+                  subBuilder = goo_.toBuilder();
+                }
+                goo_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(goo_);
+                  goo_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 58: {
-              com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder subBuilder = null;
-              if (windowsUpdate_ != null) {
-                subBuilder = windowsUpdate_.toBuilder();
+                break;
               }
-              windowsUpdate_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(windowsUpdate_);
-                windowsUpdate_ = subBuilder.buildPartial();
+            case 50:
+              {
+                com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder subBuilder = null;
+                if (zypper_ != null) {
+                  subBuilder = zypper_.toBuilder();
+                }
+                zypper_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(zypper_);
+                  zypper_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
+            case 58:
+              {
+                com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder
+                    subBuilder = null;
+                if (windowsUpdate_ != null) {
+                  subBuilder = windowsUpdate_.toBuilder();
+                }
+                windowsUpdate_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(windowsUpdate_);
+                  windowsUpdate_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 66: {
-              com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder subBuilder = null;
-              if (preStep_ != null) {
-                subBuilder = preStep_.toBuilder();
+                break;
               }
-              preStep_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(preStep_);
-                preStep_ = subBuilder.buildPartial();
+            case 66:
+              {
+                com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder subBuilder = null;
+                if (preStep_ != null) {
+                  subBuilder = preStep_.toBuilder();
+                }
+                preStep_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(preStep_);
+                  preStep_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
+            case 74:
+              {
+                com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder subBuilder = null;
+                if (postStep_ != null) {
+                  subBuilder = postStep_.toBuilder();
+                }
+                postStep_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(postStep_);
+                  postStep_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 74: {
-              com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder subBuilder = null;
-              if (postStep_ != null) {
-                subBuilder = postStep_.toBuilder();
+                break;
               }
-              postStep_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(postStep_);
-                postStep_ = subBuilder.buildPartial();
+            case 80:
+              {
+                migInstancesAllowed_ = input.readBool();
+                break;
               }
-
-              break;
-            }
-            case 80: {
-
-              migInstancesAllowed_ = input.readBool();
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -14489,36 +16581,41 @@ private PatchConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchJobs
+          .internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchConfig_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchJobs
+          .internal_static_google_cloud_osconfig_v1beta_PatchConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.class,
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * Post-patch reboot settings.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.PatchConfig.RebootConfig} */ - public enum RebootConfig - implements com.google.protobuf.ProtocolMessageEnum { + public enum RebootConfig implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The default behavior is DEFAULT.
        * 
@@ -14527,6 +16624,8 @@ public enum RebootConfig */ REBOOT_CONFIG_UNSPECIFIED(0), /** + * + * *
        * The agent decides if a reboot is necessary by checking signals such as
        * registry keys on Windows or `/var/run/reboot-required` on APT based
@@ -14538,6 +16637,8 @@ public enum RebootConfig
        */
       DEFAULT(1),
       /**
+       *
+       *
        * 
        * Always reboot the machine after the update completes.
        * 
@@ -14546,6 +16647,8 @@ public enum RebootConfig */ ALWAYS(2), /** + * + * *
        * Never reboot the machine after the update completes.
        * 
@@ -14557,6 +16660,8 @@ public enum RebootConfig ; /** + * + * *
        * The default behavior is DEFAULT.
        * 
@@ -14565,6 +16670,8 @@ public enum RebootConfig */ public static final int REBOOT_CONFIG_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The agent decides if a reboot is necessary by checking signals such as
        * registry keys on Windows or `/var/run/reboot-required` on APT based
@@ -14576,6 +16683,8 @@ public enum RebootConfig
        */
       public static final int DEFAULT_VALUE = 1;
       /**
+       *
+       *
        * 
        * Always reboot the machine after the update completes.
        * 
@@ -14584,6 +16693,8 @@ public enum RebootConfig */ public static final int ALWAYS_VALUE = 2; /** + * + * *
        * Never reboot the machine after the update completes.
        * 
@@ -14592,7 +16703,6 @@ public enum RebootConfig */ public static final int NEVER_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -14617,50 +16727,53 @@ public static RebootConfig valueOf(int value) { */ public static RebootConfig forNumber(int value) { switch (value) { - case 0: return REBOOT_CONFIG_UNSPECIFIED; - case 1: return DEFAULT; - case 2: return ALWAYS; - case 3: return NEVER; - default: return null; + case 0: + return REBOOT_CONFIG_UNSPECIFIED; + case 1: + return DEFAULT; + case 2: + return ALWAYS; + case 3: + return NEVER; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - RebootConfig> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RebootConfig findValueByNumber(int number) { - return RebootConfig.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RebootConfig findValueByNumber(int number) { + return RebootConfig.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDescriptor() + .getEnumTypes() + .get(0); } private static final RebootConfig[] VALUES = values(); - public static RebootConfig valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RebootConfig valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -14680,39 +16793,54 @@ private RebootConfig(int value) { public static final int REBOOT_CONFIG_FIELD_NUMBER = 1; private int rebootConfig_; /** + * + * *
      * Post-patch reboot settings.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1; + * * @return The enum numeric value on the wire for rebootConfig. */ - @java.lang.Override public int getRebootConfigValue() { + @java.lang.Override + public int getRebootConfigValue() { return rebootConfig_; } /** + * + * *
      * Post-patch reboot settings.
      * 
* * .google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1; + * * @return The rebootConfig. */ - @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig getRebootConfig() { + @java.lang.Override + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig getRebootConfig() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig result = com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.valueOf(rebootConfig_); - return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig result = + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.valueOf( + rebootConfig_); + return result == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.UNRECOGNIZED + : result; } public static final int APT_FIELD_NUMBER = 3; private com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings apt_; /** + * + * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.AptSettings apt = 3; + * * @return Whether the apt field is set. */ @java.lang.Override @@ -14720,19 +16848,26 @@ public boolean hasApt() { return apt_ != null; } /** + * + * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.AptSettings apt = 3; + * * @return The apt. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings getApt() { - return apt_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDefaultInstance() : apt_; + return apt_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDefaultInstance() + : apt_; } /** + * + * *
      * Apt update settings. Use this setting to override the default `apt` patch
      * rules.
@@ -14748,12 +16883,15 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder getAptOrB
     public static final int YUM_FIELD_NUMBER = 4;
     private com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings yum_;
     /**
+     *
+     *
      * 
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.YumSettings yum = 4; + * * @return Whether the yum field is set. */ @java.lang.Override @@ -14761,19 +16899,26 @@ public boolean hasYum() { return yum_ != null; } /** + * + * *
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.YumSettings yum = 4; + * * @return The yum. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings getYum() { - return yum_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.getDefaultInstance() : yum_; + return yum_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.getDefaultInstance() + : yum_; } /** + * + * *
      * Yum update settings. Use this setting to override the default `yum` patch
      * rules.
@@ -14789,12 +16934,15 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder getYumOrB
     public static final int GOO_FIELD_NUMBER = 5;
     private com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings goo_;
     /**
+     *
+     *
      * 
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.GooSettings goo = 5; + * * @return Whether the goo field is set. */ @java.lang.Override @@ -14802,19 +16950,26 @@ public boolean hasGoo() { return goo_ != null; } /** + * + * *
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
      * 
* * .google.cloud.osconfig.v1beta.GooSettings goo = 5; + * * @return The goo. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings getGoo() { - return goo_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.getDefaultInstance() : goo_; + return goo_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.getDefaultInstance() + : goo_; } /** + * + * *
      * Goo update settings. Use this setting to override the default `goo` patch
      * rules.
@@ -14830,12 +16985,15 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder getGooOrB
     public static final int ZYPPER_FIELD_NUMBER = 6;
     private com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings zypper_;
     /**
+     *
+     *
      * 
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
      * 
* * .google.cloud.osconfig.v1beta.ZypperSettings zypper = 6; + * * @return Whether the zypper field is set. */ @java.lang.Override @@ -14843,19 +17001,26 @@ public boolean hasZypper() { return zypper_ != null; } /** + * + * *
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
      * 
* * .google.cloud.osconfig.v1beta.ZypperSettings zypper = 6; + * * @return The zypper. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings getZypper() { - return zypper_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.getDefaultInstance() : zypper_; + return zypper_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.getDefaultInstance() + : zypper_; } /** + * + * *
      * Zypper update settings. Use this setting to override the default `zypper`
      * patch rules.
@@ -14871,11 +17036,14 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder getZyp
     public static final int WINDOWS_UPDATE_FIELD_NUMBER = 7;
     private com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings windowsUpdate_;
     /**
+     *
+     *
      * 
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; + * * @return Whether the windowsUpdate field is set. */ @java.lang.Override @@ -14883,18 +17051,25 @@ public boolean hasWindowsUpdate() { return windowsUpdate_ != null; } /** + * + * *
      * Windows update settings. Use this override the default windows patch rules.
      * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; + * * @return The windowsUpdate. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings getWindowsUpdate() { - return windowsUpdate_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.getDefaultInstance() : windowsUpdate_; + return windowsUpdate_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.getDefaultInstance() + : windowsUpdate_; } /** + * + * *
      * Windows update settings. Use this override the default windows patch rules.
      * 
@@ -14902,18 +17077,22 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings getWindo * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder getWindowsUpdateOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder + getWindowsUpdateOrBuilder() { return getWindowsUpdate(); } public static final int PRE_STEP_FIELD_NUMBER = 8; private com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep preStep_; /** + * + * *
      * The `ExecStep` to run before the patch update.
      * 
* * .google.cloud.osconfig.v1beta.ExecStep pre_step = 8; + * * @return Whether the preStep field is set. */ @java.lang.Override @@ -14921,18 +17100,25 @@ public boolean hasPreStep() { return preStep_ != null; } /** + * + * *
      * The `ExecStep` to run before the patch update.
      * 
* * .google.cloud.osconfig.v1beta.ExecStep pre_step = 8; + * * @return The preStep. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep getPreStep() { - return preStep_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() : preStep_; + return preStep_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() + : preStep_; } /** + * + * *
      * The `ExecStep` to run before the patch update.
      * 
@@ -14947,11 +17133,14 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder getPreStepOr public static final int POST_STEP_FIELD_NUMBER = 9; private com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep postStep_; /** + * + * *
      * The `ExecStep` to run after the patch update.
      * 
* * .google.cloud.osconfig.v1beta.ExecStep post_step = 9; + * * @return Whether the postStep field is set. */ @java.lang.Override @@ -14959,18 +17148,25 @@ public boolean hasPostStep() { return postStep_ != null; } /** + * + * *
      * The `ExecStep` to run after the patch update.
      * 
* * .google.cloud.osconfig.v1beta.ExecStep post_step = 9; + * * @return The postStep. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep getPostStep() { - return postStep_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() : postStep_; + return postStep_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() + : postStep_; } /** + * + * *
      * The `ExecStep` to run after the patch update.
      * 
@@ -14985,11 +17181,14 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder getPostStepO public static final int MIG_INSTANCES_ALLOWED_FIELD_NUMBER = 10; private boolean migInstancesAllowed_; /** + * + * *
      * Allows the patch job to run on Managed instance groups (MIGs).
      * 
* * bool mig_instances_allowed = 10; + * * @return The migInstancesAllowed. */ @java.lang.Override @@ -14998,6 +17197,7 @@ public boolean getMigInstancesAllowed() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15009,9 +17209,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (rebootConfig_ != com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.REBOOT_CONFIG_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (rebootConfig_ + != com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig + .REBOOT_CONFIG_UNSPECIFIED + .getNumber()) { output.writeEnum(1, rebootConfig_); } if (apt_ != null) { @@ -15047,41 +17249,35 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (rebootConfig_ != com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.REBOOT_CONFIG_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, rebootConfig_); + if (rebootConfig_ + != com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig + .REBOOT_CONFIG_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, rebootConfig_); } if (apt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getApt()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getApt()); } if (yum_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getYum()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getYum()); } if (goo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getGoo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getGoo()); } if (zypper_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getZypper()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getZypper()); } if (windowsUpdate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getWindowsUpdate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getWindowsUpdate()); } if (preStep_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getPreStep()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPreStep()); } if (postStep_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getPostStep()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getPostStep()); } if (migInstancesAllowed_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(10, migInstancesAllowed_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, migInstancesAllowed_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -15091,51 +17287,44 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig other = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig other = + (com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig) obj; if (rebootConfig_ != other.rebootConfig_) return false; if (hasApt() != other.hasApt()) return false; if (hasApt()) { - if (!getApt() - .equals(other.getApt())) return false; + if (!getApt().equals(other.getApt())) return false; } if (hasYum() != other.hasYum()) return false; if (hasYum()) { - if (!getYum() - .equals(other.getYum())) return false; + if (!getYum().equals(other.getYum())) return false; } if (hasGoo() != other.hasGoo()) return false; if (hasGoo()) { - if (!getGoo() - .equals(other.getGoo())) return false; + if (!getGoo().equals(other.getGoo())) return false; } if (hasZypper() != other.hasZypper()) return false; if (hasZypper()) { - if (!getZypper() - .equals(other.getZypper())) return false; + if (!getZypper().equals(other.getZypper())) return false; } if (hasWindowsUpdate() != other.hasWindowsUpdate()) return false; if (hasWindowsUpdate()) { - if (!getWindowsUpdate() - .equals(other.getWindowsUpdate())) return false; + if (!getWindowsUpdate().equals(other.getWindowsUpdate())) return false; } if (hasPreStep() != other.hasPreStep()) return false; if (hasPreStep()) { - if (!getPreStep() - .equals(other.getPreStep())) return false; + if (!getPreStep().equals(other.getPreStep())) return false; } if (hasPostStep() != other.hasPostStep()) return false; if (hasPostStep()) { - if (!getPostStep() - .equals(other.getPostStep())) return false; + if (!getPostStep().equals(other.getPostStep())) return false; } - if (getMigInstancesAllowed() - != other.getMigInstancesAllowed()) return false; + if (getMigInstancesAllowed() != other.getMigInstancesAllowed()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -15178,95 +17367,101 @@ public int hashCode() { hash = (53 * hash) + getPostStep().hashCode(); } hash = (37 * hash) + MIG_INSTANCES_ALLOWED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getMigInstancesAllowed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getMigInstancesAllowed()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig 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.osconfig.v1beta.PatchJobs.PatchConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -15276,6 +17471,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Patch configuration specifications. Contains details on how to apply the
      * patch(es) to a VM instance.
@@ -15283,21 +17480,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.PatchConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PatchConfig)
         com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchConfig_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_PatchConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.class,
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.newBuilder()
@@ -15305,16 +17505,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -15368,9 +17567,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor;
       }
 
       @java.lang.Override
@@ -15389,7 +17588,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig result = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig(this);
+        com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig result =
+            new com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig(this);
         result.rebootConfig_ = rebootConfig_;
         if (aptBuilder_ == null) {
           result.apt_ = apt_;
@@ -15435,38 +17635,41 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchJobs.PatchConfig) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig)other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -15474,7 +17677,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig other) {
-        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.getDefaultInstance())
+          return this;
         if (other.rebootConfig_ != 0) {
           setRebootConfigValue(other.getRebootConfigValue());
         }
@@ -15521,7 +17725,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -15533,73 +17738,94 @@ public Builder mergeFrom(
 
       private int rebootConfig_ = 0;
       /**
+       *
+       *
        * 
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1; + * * @return The enum numeric value on the wire for rebootConfig. */ - @java.lang.Override public int getRebootConfigValue() { + @java.lang.Override + public int getRebootConfigValue() { return rebootConfig_; } /** + * + * *
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1; + * * @param value The enum numeric value on the wire for rebootConfig to set. * @return This builder for chaining. */ public Builder setRebootConfigValue(int value) { - + rebootConfig_ = value; onChanged(); return this; } /** + * + * *
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1; + * * @return The rebootConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig getRebootConfig() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig result = com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.valueOf(rebootConfig_); - return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig result = + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.valueOf( + rebootConfig_); + return result == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig.UNRECOGNIZED + : result; } /** + * + * *
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1; + * * @param value The rebootConfig to set. * @return This builder for chaining. */ - public Builder setRebootConfig(com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig value) { + public Builder setRebootConfig( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig.RebootConfig value) { if (value == null) { throw new NullPointerException(); } - + rebootConfig_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Post-patch reboot settings.
        * 
* * .google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1; + * * @return This builder for chaining. */ public Builder clearRebootConfig() { - + rebootConfig_ = 0; onChanged(); return this; @@ -15607,36 +17833,49 @@ public Builder clearRebootConfig() { private com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings apt_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings, com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder> aptBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings, + com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder> + aptBuilder_; /** + * + * *
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1beta.AptSettings apt = 3; + * * @return Whether the apt field is set. */ public boolean hasApt() { return aptBuilder_ != null || apt_ != null; } /** + * + * *
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1beta.AptSettings apt = 3; + * * @return The apt. */ public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings getApt() { if (aptBuilder_ == null) { - return apt_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDefaultInstance() : apt_; + return apt_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDefaultInstance() + : apt_; } else { return aptBuilder_.getMessage(); } } /** + * + * *
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -15658,6 +17897,8 @@ public Builder setApt(com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings val
         return this;
       }
       /**
+       *
+       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -15677,6 +17918,8 @@ public Builder setApt(
         return this;
       }
       /**
+       *
+       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -15688,7 +17931,9 @@ public Builder mergeApt(com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings v
         if (aptBuilder_ == null) {
           if (apt_ != null) {
             apt_ =
-              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.newBuilder(apt_).mergeFrom(value).buildPartial();
+                com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.newBuilder(apt_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             apt_ = value;
           }
@@ -15700,6 +17945,8 @@ public Builder mergeApt(com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings v
         return this;
       }
       /**
+       *
+       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -15719,6 +17966,8 @@ public Builder clearApt() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -15727,11 +17976,13 @@ public Builder clearApt() {
        * .google.cloud.osconfig.v1beta.AptSettings apt = 3;
        */
       public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder getAptBuilder() {
-        
+
         onChanged();
         return getAptFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -15743,11 +17994,14 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder getAptOrB
         if (aptBuilder_ != null) {
           return aptBuilder_.getMessageOrBuilder();
         } else {
-          return apt_ == null ?
-              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDefaultInstance() : apt_;
+          return apt_ == null
+              ? com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDefaultInstance()
+              : apt_;
         }
       }
       /**
+       *
+       *
        * 
        * Apt update settings. Use this setting to override the default `apt` patch
        * rules.
@@ -15756,14 +18010,17 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder getAptOrB
        * .google.cloud.osconfig.v1beta.AptSettings apt = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings, com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder> 
+              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings,
+              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder,
+              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder>
           getAptFieldBuilder() {
         if (aptBuilder_ == null) {
-          aptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings, com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder>(
-                  getApt(),
-                  getParentForChildren(),
-                  isClean());
+          aptBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings,
+                  com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder,
+                  com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder>(
+                  getApt(), getParentForChildren(), isClean());
           apt_ = null;
         }
         return aptBuilder_;
@@ -15771,36 +18028,49 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder getAptOrB
 
       private com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings yum_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings, com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder> yumBuilder_;
+              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings,
+              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder,
+              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder>
+          yumBuilder_;
       /**
+       *
+       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1beta.YumSettings yum = 4; + * * @return Whether the yum field is set. */ public boolean hasYum() { return yumBuilder_ != null || yum_ != null; } /** + * + * *
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1beta.YumSettings yum = 4; + * * @return The yum. */ public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings getYum() { if (yumBuilder_ == null) { - return yum_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.getDefaultInstance() : yum_; + return yum_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.getDefaultInstance() + : yum_; } else { return yumBuilder_.getMessage(); } } /** + * + * *
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -15822,6 +18092,8 @@ public Builder setYum(com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings val
         return this;
       }
       /**
+       *
+       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -15841,6 +18113,8 @@ public Builder setYum(
         return this;
       }
       /**
+       *
+       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -15852,7 +18126,9 @@ public Builder mergeYum(com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings v
         if (yumBuilder_ == null) {
           if (yum_ != null) {
             yum_ =
-              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.newBuilder(yum_).mergeFrom(value).buildPartial();
+                com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.newBuilder(yum_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             yum_ = value;
           }
@@ -15864,6 +18140,8 @@ public Builder mergeYum(com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings v
         return this;
       }
       /**
+       *
+       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -15883,6 +18161,8 @@ public Builder clearYum() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -15891,11 +18171,13 @@ public Builder clearYum() {
        * .google.cloud.osconfig.v1beta.YumSettings yum = 4;
        */
       public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder getYumBuilder() {
-        
+
         onChanged();
         return getYumFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -15907,11 +18189,14 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder getYumOrB
         if (yumBuilder_ != null) {
           return yumBuilder_.getMessageOrBuilder();
         } else {
-          return yum_ == null ?
-              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.getDefaultInstance() : yum_;
+          return yum_ == null
+              ? com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.getDefaultInstance()
+              : yum_;
         }
       }
       /**
+       *
+       *
        * 
        * Yum update settings. Use this setting to override the default `yum` patch
        * rules.
@@ -15920,14 +18205,17 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder getYumOrB
        * .google.cloud.osconfig.v1beta.YumSettings yum = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings, com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder> 
+              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings,
+              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder,
+              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder>
           getYumFieldBuilder() {
         if (yumBuilder_ == null) {
-          yumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings, com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder>(
-                  getYum(),
-                  getParentForChildren(),
-                  isClean());
+          yumBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings,
+                  com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder,
+                  com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder>(
+                  getYum(), getParentForChildren(), isClean());
           yum_ = null;
         }
         return yumBuilder_;
@@ -15935,36 +18223,49 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder getYumOrB
 
       private com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings goo_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings, com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder> gooBuilder_;
+              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings,
+              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder,
+              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder>
+          gooBuilder_;
       /**
+       *
+       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1beta.GooSettings goo = 5; + * * @return Whether the goo field is set. */ public boolean hasGoo() { return gooBuilder_ != null || goo_ != null; } /** + * + * *
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
        * 
* * .google.cloud.osconfig.v1beta.GooSettings goo = 5; + * * @return The goo. */ public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings getGoo() { if (gooBuilder_ == null) { - return goo_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.getDefaultInstance() : goo_; + return goo_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.getDefaultInstance() + : goo_; } else { return gooBuilder_.getMessage(); } } /** + * + * *
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -15986,6 +18287,8 @@ public Builder setGoo(com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings val
         return this;
       }
       /**
+       *
+       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -16005,6 +18308,8 @@ public Builder setGoo(
         return this;
       }
       /**
+       *
+       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -16016,7 +18321,9 @@ public Builder mergeGoo(com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings v
         if (gooBuilder_ == null) {
           if (goo_ != null) {
             goo_ =
-              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.newBuilder(goo_).mergeFrom(value).buildPartial();
+                com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.newBuilder(goo_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             goo_ = value;
           }
@@ -16028,6 +18335,8 @@ public Builder mergeGoo(com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings v
         return this;
       }
       /**
+       *
+       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -16047,6 +18356,8 @@ public Builder clearGoo() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -16055,11 +18366,13 @@ public Builder clearGoo() {
        * .google.cloud.osconfig.v1beta.GooSettings goo = 5;
        */
       public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder getGooBuilder() {
-        
+
         onChanged();
         return getGooFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -16071,11 +18384,14 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder getGooOrB
         if (gooBuilder_ != null) {
           return gooBuilder_.getMessageOrBuilder();
         } else {
-          return goo_ == null ?
-              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.getDefaultInstance() : goo_;
+          return goo_ == null
+              ? com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.getDefaultInstance()
+              : goo_;
         }
       }
       /**
+       *
+       *
        * 
        * Goo update settings. Use this setting to override the default `goo` patch
        * rules.
@@ -16084,14 +18400,17 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder getGooOrB
        * .google.cloud.osconfig.v1beta.GooSettings goo = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings, com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder> 
+              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings,
+              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder,
+              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder>
           getGooFieldBuilder() {
         if (gooBuilder_ == null) {
-          gooBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings, com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder>(
-                  getGoo(),
-                  getParentForChildren(),
-                  isClean());
+          gooBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings,
+                  com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder,
+                  com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder>(
+                  getGoo(), getParentForChildren(), isClean());
           goo_ = null;
         }
         return gooBuilder_;
@@ -16099,36 +18418,49 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder getGooOrB
 
       private com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings zypper_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings, com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder> zypperBuilder_;
+              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings,
+              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder,
+              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder>
+          zypperBuilder_;
       /**
+       *
+       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
        * 
* * .google.cloud.osconfig.v1beta.ZypperSettings zypper = 6; + * * @return Whether the zypper field is set. */ public boolean hasZypper() { return zypperBuilder_ != null || zypper_ != null; } /** + * + * *
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
        * 
* * .google.cloud.osconfig.v1beta.ZypperSettings zypper = 6; + * * @return The zypper. */ public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings getZypper() { if (zypperBuilder_ == null) { - return zypper_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.getDefaultInstance() : zypper_; + return zypper_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.getDefaultInstance() + : zypper_; } else { return zypperBuilder_.getMessage(); } } /** + * + * *
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -16150,6 +18482,8 @@ public Builder setZypper(com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettin
         return this;
       }
       /**
+       *
+       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -16169,6 +18503,8 @@ public Builder setZypper(
         return this;
       }
       /**
+       *
+       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -16180,7 +18516,9 @@ public Builder mergeZypper(com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSett
         if (zypperBuilder_ == null) {
           if (zypper_ != null) {
             zypper_ =
-              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.newBuilder(zypper_).mergeFrom(value).buildPartial();
+                com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.newBuilder(zypper_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             zypper_ = value;
           }
@@ -16192,6 +18530,8 @@ public Builder mergeZypper(com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSett
         return this;
       }
       /**
+       *
+       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -16211,6 +18551,8 @@ public Builder clearZypper() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -16219,11 +18561,13 @@ public Builder clearZypper() {
        * .google.cloud.osconfig.v1beta.ZypperSettings zypper = 6;
        */
       public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder getZypperBuilder() {
-        
+
         onChanged();
         return getZypperFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -16231,15 +18575,19 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder getZypp
        *
        * .google.cloud.osconfig.v1beta.ZypperSettings zypper = 6;
        */
-      public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder getZypperOrBuilder() {
+      public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder
+          getZypperOrBuilder() {
         if (zypperBuilder_ != null) {
           return zypperBuilder_.getMessageOrBuilder();
         } else {
-          return zypper_ == null ?
-              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.getDefaultInstance() : zypper_;
+          return zypper_ == null
+              ? com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.getDefaultInstance()
+              : zypper_;
         }
       }
       /**
+       *
+       *
        * 
        * Zypper update settings. Use this setting to override the default `zypper`
        * patch rules.
@@ -16248,14 +18596,17 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder getZyp
        * .google.cloud.osconfig.v1beta.ZypperSettings zypper = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings, com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder> 
+              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings,
+              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder,
+              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder>
           getZypperFieldBuilder() {
         if (zypperBuilder_ == null) {
-          zypperBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings, com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder>(
-                  getZypper(),
-                  getParentForChildren(),
-                  isClean());
+          zypperBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings,
+                  com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder,
+                  com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder>(
+                  getZypper(), getParentForChildren(), isClean());
           zypper_ = null;
         }
         return zypperBuilder_;
@@ -16263,41 +18614,56 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder getZyp
 
       private com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings windowsUpdate_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder> windowsUpdateBuilder_;
+              com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings,
+              com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder,
+              com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder>
+          windowsUpdateBuilder_;
       /**
+       *
+       *
        * 
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; + * * @return Whether the windowsUpdate field is set. */ public boolean hasWindowsUpdate() { return windowsUpdateBuilder_ != null || windowsUpdate_ != null; } /** + * + * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; + * * @return The windowsUpdate. */ public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings getWindowsUpdate() { if (windowsUpdateBuilder_ == null) { - return windowsUpdate_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.getDefaultInstance() : windowsUpdate_; + return windowsUpdate_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings + .getDefaultInstance() + : windowsUpdate_; } else { return windowsUpdateBuilder_.getMessage(); } } /** + * + * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; */ - public Builder setWindowsUpdate(com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings value) { + public Builder setWindowsUpdate( + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings value) { if (windowsUpdateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -16311,6 +18677,8 @@ public Builder setWindowsUpdate(com.google.cloud.osconfig.v1beta.PatchJobs.Windo return this; } /** + * + * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
@@ -16318,7 +18686,8 @@ public Builder setWindowsUpdate(com.google.cloud.osconfig.v1beta.PatchJobs.Windo * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; */ public Builder setWindowsUpdate( - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder + builderForValue) { if (windowsUpdateBuilder_ == null) { windowsUpdate_ = builderForValue.build(); onChanged(); @@ -16329,17 +18698,23 @@ public Builder setWindowsUpdate( return this; } /** + * + * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; */ - public Builder mergeWindowsUpdate(com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings value) { + public Builder mergeWindowsUpdate( + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings value) { if (windowsUpdateBuilder_ == null) { if (windowsUpdate_ != null) { windowsUpdate_ = - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.newBuilder(windowsUpdate_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.newBuilder( + windowsUpdate_) + .mergeFrom(value) + .buildPartial(); } else { windowsUpdate_ = value; } @@ -16351,6 +18726,8 @@ public Builder mergeWindowsUpdate(com.google.cloud.osconfig.v1beta.PatchJobs.Win return this; } /** + * + * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
@@ -16369,33 +18746,43 @@ public Builder clearWindowsUpdate() { return this; } /** + * + * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder getWindowsUpdateBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder + getWindowsUpdateBuilder() { + onChanged(); return getWindowsUpdateFieldBuilder().getBuilder(); } /** + * + * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
* * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder getWindowsUpdateOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder + getWindowsUpdateOrBuilder() { if (windowsUpdateBuilder_ != null) { return windowsUpdateBuilder_.getMessageOrBuilder(); } else { - return windowsUpdate_ == null ? - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.getDefaultInstance() : windowsUpdate_; + return windowsUpdate_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings + .getDefaultInstance() + : windowsUpdate_; } } /** + * + * *
        * Windows update settings. Use this override the default windows patch rules.
        * 
@@ -16403,14 +18790,17 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder * .google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings, + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder> getWindowsUpdateFieldBuilder() { if (windowsUpdateBuilder_ == null) { - windowsUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder>( - getWindowsUpdate(), - getParentForChildren(), - isClean()); + windowsUpdateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings, + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder>( + getWindowsUpdate(), getParentForChildren(), isClean()); windowsUpdate_ = null; } return windowsUpdateBuilder_; @@ -16418,34 +18808,47 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder private com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep preStep_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder> preStepBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder> + preStepBuilder_; /** + * + * *
        * The `ExecStep` to run before the patch update.
        * 
* * .google.cloud.osconfig.v1beta.ExecStep pre_step = 8; + * * @return Whether the preStep field is set. */ public boolean hasPreStep() { return preStepBuilder_ != null || preStep_ != null; } /** + * + * *
        * The `ExecStep` to run before the patch update.
        * 
* * .google.cloud.osconfig.v1beta.ExecStep pre_step = 8; + * * @return The preStep. */ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep getPreStep() { if (preStepBuilder_ == null) { - return preStep_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() : preStep_; + return preStep_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() + : preStep_; } else { return preStepBuilder_.getMessage(); } } /** + * + * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -16466,6 +18869,8 @@ public Builder setPreStep(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep va return this; } /** + * + * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -16484,6 +18889,8 @@ public Builder setPreStep( return this; } /** + * + * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -16494,7 +18901,9 @@ public Builder mergePreStep(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep if (preStepBuilder_ == null) { if (preStep_ != null) { preStep_ = - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.newBuilder(preStep_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.newBuilder(preStep_) + .mergeFrom(value) + .buildPartial(); } else { preStep_ = value; } @@ -16506,6 +18915,8 @@ public Builder mergePreStep(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep return this; } /** + * + * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -16524,6 +18935,8 @@ public Builder clearPreStep() { return this; } /** + * + * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -16531,11 +18944,13 @@ public Builder clearPreStep() { * .google.cloud.osconfig.v1beta.ExecStep pre_step = 8; */ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder getPreStepBuilder() { - + onChanged(); return getPreStepFieldBuilder().getBuilder(); } /** + * + * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -16546,11 +18961,14 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder getPreStepOr if (preStepBuilder_ != null) { return preStepBuilder_.getMessageOrBuilder(); } else { - return preStep_ == null ? - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() : preStep_; + return preStep_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() + : preStep_; } } /** + * + * *
        * The `ExecStep` to run before the patch update.
        * 
@@ -16558,14 +18976,17 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder getPreStepOr * .google.cloud.osconfig.v1beta.ExecStep pre_step = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder> getPreStepFieldBuilder() { if (preStepBuilder_ == null) { - preStepBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder>( - getPreStep(), - getParentForChildren(), - isClean()); + preStepBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder>( + getPreStep(), getParentForChildren(), isClean()); preStep_ = null; } return preStepBuilder_; @@ -16573,34 +18994,47 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder getPreStepOr private com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep postStep_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder> postStepBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder> + postStepBuilder_; /** + * + * *
        * The `ExecStep` to run after the patch update.
        * 
* * .google.cloud.osconfig.v1beta.ExecStep post_step = 9; + * * @return Whether the postStep field is set. */ public boolean hasPostStep() { return postStepBuilder_ != null || postStep_ != null; } /** + * + * *
        * The `ExecStep` to run after the patch update.
        * 
* * .google.cloud.osconfig.v1beta.ExecStep post_step = 9; + * * @return The postStep. */ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep getPostStep() { if (postStepBuilder_ == null) { - return postStep_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() : postStep_; + return postStep_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() + : postStep_; } else { return postStepBuilder_.getMessage(); } } /** + * + * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -16621,6 +19055,8 @@ public Builder setPostStep(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep v return this; } /** + * + * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -16639,6 +19075,8 @@ public Builder setPostStep( return this; } /** + * + * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -16649,7 +19087,9 @@ public Builder mergePostStep(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep if (postStepBuilder_ == null) { if (postStep_ != null) { postStep_ = - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.newBuilder(postStep_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.newBuilder(postStep_) + .mergeFrom(value) + .buildPartial(); } else { postStep_ = value; } @@ -16661,6 +19101,8 @@ public Builder mergePostStep(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep return this; } /** + * + * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -16679,6 +19121,8 @@ public Builder clearPostStep() { return this; } /** + * + * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -16686,11 +19130,13 @@ public Builder clearPostStep() { * .google.cloud.osconfig.v1beta.ExecStep post_step = 9; */ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder getPostStepBuilder() { - + onChanged(); return getPostStepFieldBuilder().getBuilder(); } /** + * + * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -16701,11 +19147,14 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder getPostStepO if (postStepBuilder_ != null) { return postStepBuilder_.getMessageOrBuilder(); } else { - return postStep_ == null ? - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() : postStep_; + return postStep_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance() + : postStep_; } } /** + * + * *
        * The `ExecStep` to run after the patch update.
        * 
@@ -16713,26 +19162,32 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder getPostStepO * .google.cloud.osconfig.v1beta.ExecStep post_step = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder> getPostStepFieldBuilder() { if (postStepBuilder_ == null) { - postStepBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder>( - getPostStep(), - getParentForChildren(), - isClean()); + postStepBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder>( + getPostStep(), getParentForChildren(), isClean()); postStep_ = null; } return postStepBuilder_; } - private boolean migInstancesAllowed_ ; + private boolean migInstancesAllowed_; /** + * + * *
        * Allows the patch job to run on Managed instance groups (MIGs).
        * 
* * bool mig_instances_allowed = 10; + * * @return The migInstancesAllowed. */ @java.lang.Override @@ -16740,34 +19195,41 @@ public boolean getMigInstancesAllowed() { return migInstancesAllowed_; } /** + * + * *
        * Allows the patch job to run on Managed instance groups (MIGs).
        * 
* * bool mig_instances_allowed = 10; + * * @param value The migInstancesAllowed to set. * @return This builder for chaining. */ public Builder setMigInstancesAllowed(boolean value) { - + migInstancesAllowed_ = value; onChanged(); return this; } /** + * + * *
        * Allows the patch job to run on Managed instance groups (MIGs).
        * 
* * bool mig_instances_allowed = 10; + * * @return This builder for chaining. */ public Builder clearMigInstancesAllowed() { - + migInstancesAllowed_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16780,12 +19242,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PatchConfig) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PatchConfig) private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig(); } @@ -16794,16 +19256,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16818,44 +19280,44 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface InstanceOrBuilder extends + public interface InstanceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.Instance) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * Namespace for instance state enums.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.Instance} */ - public static final class Instance extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Instance extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.Instance) InstanceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Instance.newBuilder() to construct. private Instance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Instance() { - } + + private Instance() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Instance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Instance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -16874,13 +19336,13 @@ private Instance( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -16888,36 +19350,41 @@ private Instance( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_Instance_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_Instance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_Instance_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.Instance.class, com.google.cloud.osconfig.v1beta.PatchJobs.Instance.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.Instance.class, + com.google.cloud.osconfig.v1beta.PatchJobs.Instance.Builder.class); } /** + * + * *
      * Patch state of an instance.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.Instance.PatchState} */ - public enum PatchState - implements com.google.protobuf.ProtocolMessageEnum { + public enum PatchState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified.
        * 
@@ -16926,6 +19393,8 @@ public enum PatchState */ PATCH_STATE_UNSPECIFIED(0), /** + * + * *
        * The instance is not yet notified.
        * 
@@ -16934,6 +19403,8 @@ public enum PatchState */ PENDING(1), /** + * + * *
        * Instance is inactive and cannot be patched.
        * 
@@ -16942,6 +19413,8 @@ public enum PatchState */ INACTIVE(2), /** + * + * *
        * The instance is notified that it should be patched.
        * 
@@ -16950,6 +19423,8 @@ public enum PatchState */ NOTIFIED(3), /** + * + * *
        * The instance has started the patching process.
        * 
@@ -16958,6 +19433,8 @@ public enum PatchState */ STARTED(4), /** + * + * *
        * The instance is downloading patches.
        * 
@@ -16966,6 +19443,8 @@ public enum PatchState */ DOWNLOADING_PATCHES(5), /** + * + * *
        * The instance is applying patches.
        * 
@@ -16974,6 +19453,8 @@ public enum PatchState */ APPLYING_PATCHES(6), /** + * + * *
        * The instance is rebooting.
        * 
@@ -16982,6 +19463,8 @@ public enum PatchState */ REBOOTING(7), /** + * + * *
        * The instance has completed applying patches.
        * 
@@ -16990,6 +19473,8 @@ public enum PatchState */ SUCCEEDED(8), /** + * + * *
        * The instance has completed applying patches but a reboot is required.
        * 
@@ -16998,6 +19483,8 @@ public enum PatchState */ SUCCEEDED_REBOOT_REQUIRED(9), /** + * + * *
        * The instance has failed to apply the patch.
        * 
@@ -17006,6 +19493,8 @@ public enum PatchState */ FAILED(10), /** + * + * *
        * The instance acked the notification and will start shortly.
        * 
@@ -17014,6 +19503,8 @@ public enum PatchState */ ACKED(11), /** + * + * *
        * The instance exceeded the time out while applying the patch.
        * 
@@ -17022,6 +19513,8 @@ public enum PatchState */ TIMED_OUT(12), /** + * + * *
        * The instance is running the pre-patch step.
        * 
@@ -17030,6 +19523,8 @@ public enum PatchState */ RUNNING_PRE_PATCH_STEP(13), /** + * + * *
        * The instance is running the post-patch step.
        * 
@@ -17038,6 +19533,8 @@ public enum PatchState */ RUNNING_POST_PATCH_STEP(14), /** + * + * *
        * The service could not detect the presence of the agent. Check to ensure
        * that the agent is installed, running, and able to communicate with the
@@ -17051,6 +19548,8 @@ public enum PatchState
       ;
 
       /**
+       *
+       *
        * 
        * Unspecified.
        * 
@@ -17059,6 +19558,8 @@ public enum PatchState */ public static final int PATCH_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The instance is not yet notified.
        * 
@@ -17067,6 +19568,8 @@ public enum PatchState */ public static final int PENDING_VALUE = 1; /** + * + * *
        * Instance is inactive and cannot be patched.
        * 
@@ -17075,6 +19578,8 @@ public enum PatchState */ public static final int INACTIVE_VALUE = 2; /** + * + * *
        * The instance is notified that it should be patched.
        * 
@@ -17083,6 +19588,8 @@ public enum PatchState */ public static final int NOTIFIED_VALUE = 3; /** + * + * *
        * The instance has started the patching process.
        * 
@@ -17091,6 +19598,8 @@ public enum PatchState */ public static final int STARTED_VALUE = 4; /** + * + * *
        * The instance is downloading patches.
        * 
@@ -17099,6 +19608,8 @@ public enum PatchState */ public static final int DOWNLOADING_PATCHES_VALUE = 5; /** + * + * *
        * The instance is applying patches.
        * 
@@ -17107,6 +19618,8 @@ public enum PatchState */ public static final int APPLYING_PATCHES_VALUE = 6; /** + * + * *
        * The instance is rebooting.
        * 
@@ -17115,6 +19628,8 @@ public enum PatchState */ public static final int REBOOTING_VALUE = 7; /** + * + * *
        * The instance has completed applying patches.
        * 
@@ -17123,6 +19638,8 @@ public enum PatchState */ public static final int SUCCEEDED_VALUE = 8; /** + * + * *
        * The instance has completed applying patches but a reboot is required.
        * 
@@ -17131,6 +19648,8 @@ public enum PatchState */ public static final int SUCCEEDED_REBOOT_REQUIRED_VALUE = 9; /** + * + * *
        * The instance has failed to apply the patch.
        * 
@@ -17139,6 +19658,8 @@ public enum PatchState */ public static final int FAILED_VALUE = 10; /** + * + * *
        * The instance acked the notification and will start shortly.
        * 
@@ -17147,6 +19668,8 @@ public enum PatchState */ public static final int ACKED_VALUE = 11; /** + * + * *
        * The instance exceeded the time out while applying the patch.
        * 
@@ -17155,6 +19678,8 @@ public enum PatchState */ public static final int TIMED_OUT_VALUE = 12; /** + * + * *
        * The instance is running the pre-patch step.
        * 
@@ -17163,6 +19688,8 @@ public enum PatchState */ public static final int RUNNING_PRE_PATCH_STEP_VALUE = 13; /** + * + * *
        * The instance is running the post-patch step.
        * 
@@ -17171,6 +19698,8 @@ public enum PatchState */ public static final int RUNNING_POST_PATCH_STEP_VALUE = 14; /** + * + * *
        * The service could not detect the presence of the agent. Check to ensure
        * that the agent is installed, running, and able to communicate with the
@@ -17181,7 +19710,6 @@ public enum PatchState
        */
       public static final int NO_AGENT_DETECTED_VALUE = 15;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -17206,62 +19734,77 @@ public static PatchState valueOf(int value) {
        */
       public static PatchState forNumber(int value) {
         switch (value) {
-          case 0: return PATCH_STATE_UNSPECIFIED;
-          case 1: return PENDING;
-          case 2: return INACTIVE;
-          case 3: return NOTIFIED;
-          case 4: return STARTED;
-          case 5: return DOWNLOADING_PATCHES;
-          case 6: return APPLYING_PATCHES;
-          case 7: return REBOOTING;
-          case 8: return SUCCEEDED;
-          case 9: return SUCCEEDED_REBOOT_REQUIRED;
-          case 10: return FAILED;
-          case 11: return ACKED;
-          case 12: return TIMED_OUT;
-          case 13: return RUNNING_PRE_PATCH_STEP;
-          case 14: return RUNNING_POST_PATCH_STEP;
-          case 15: return NO_AGENT_DETECTED;
-          default: return null;
-        }
-      }
-
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+          case 0:
+            return PATCH_STATE_UNSPECIFIED;
+          case 1:
+            return PENDING;
+          case 2:
+            return INACTIVE;
+          case 3:
+            return NOTIFIED;
+          case 4:
+            return STARTED;
+          case 5:
+            return DOWNLOADING_PATCHES;
+          case 6:
+            return APPLYING_PATCHES;
+          case 7:
+            return REBOOTING;
+          case 8:
+            return SUCCEEDED;
+          case 9:
+            return SUCCEEDED_REBOOT_REQUIRED;
+          case 10:
+            return FAILED;
+          case 11:
+            return ACKED;
+          case 12:
+            return TIMED_OUT;
+          case 13:
+            return RUNNING_PRE_PATCH_STEP;
+          case 14:
+            return RUNNING_POST_PATCH_STEP;
+          case 15:
+            return NO_AGENT_DETECTED;
+          default:
+            return null;
+        }
+      }
+
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          PatchState> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public PatchState findValueByNumber(int number) {
-                return PatchState.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public PatchState findValueByNumber(int number) {
+              return PatchState.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.Instance.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.Instance.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final PatchState[] VALUES = values();
 
-      public static PatchState valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static PatchState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -17279,6 +19822,7 @@ private PatchState(int value) {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -17290,8 +19834,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       unknownFields.writeTo(output);
     }
 
@@ -17309,12 +19852,13 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.Instance)) {
         return super.equals(obj);
       }
-      com.google.cloud.osconfig.v1beta.PatchJobs.Instance other = (com.google.cloud.osconfig.v1beta.PatchJobs.Instance) obj;
+      com.google.cloud.osconfig.v1beta.PatchJobs.Instance other =
+          (com.google.cloud.osconfig.v1beta.PatchJobs.Instance) obj;
 
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -17333,87 +19877,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance 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.osconfig.v1beta.PatchJobs.Instance parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.Instance prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.osconfig.v1beta.PatchJobs.Instance prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -17423,27 +19974,32 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Namespace for instance state enums.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.Instance} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.Instance) com.google.cloud.osconfig.v1beta.PatchJobs.InstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_Instance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_Instance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_Instance_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.Instance.class, com.google.cloud.osconfig.v1beta.PatchJobs.Instance.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.Instance.class, + com.google.cloud.osconfig.v1beta.PatchJobs.Instance.Builder.class); } // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.Instance.newBuilder() @@ -17451,16 +20007,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -17468,9 +20023,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_Instance_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_Instance_descriptor; } @java.lang.Override @@ -17489,7 +20044,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.Instance build() { @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.Instance buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.Instance result = new com.google.cloud.osconfig.v1beta.PatchJobs.Instance(this); + com.google.cloud.osconfig.v1beta.PatchJobs.Instance result = + new com.google.cloud.osconfig.v1beta.PatchJobs.Instance(this); onBuilt(); return result; } @@ -17498,38 +20054,41 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.Instance buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.Instance) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.Instance)other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.Instance) other); } else { super.mergeFrom(other); return this; @@ -17537,7 +20096,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.Instance other) { - if (other == com.google.cloud.osconfig.v1beta.PatchJobs.Instance.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1beta.PatchJobs.Instance.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -17557,7 +20117,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.Instance) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchJobs.Instance) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -17566,6 +20127,7 @@ public Builder mergeFrom( } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -17578,12 +20140,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.Instance) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.Instance) private static final com.google.cloud.osconfig.v1beta.PatchJobs.Instance DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.Instance(); } @@ -17592,16 +20154,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.Instance getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Instance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Instance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Instance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Instance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -17616,65 +20178,72 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface CancelPatchJobRequestOrBuilder extends + public interface CancelPatchJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.CancelPatchJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
    * Message for canceling a patch job.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.CancelPatchJobRequest} */ - public static final class CancelPatchJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CancelPatchJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.CancelPatchJobRequest) CancelPatchJobRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CancelPatchJobRequest.newBuilder() to construct. private CancelPatchJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CancelPatchJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CancelPatchJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CancelPatchJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -17693,19 +20262,20 @@ private CancelPatchJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -17713,34 +20283,39 @@ private CancelPatchJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.class, + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -17749,29 +20324,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. Name of the patch in the form `projects/*/patchJobs/*`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -17780,6 +20355,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -17791,8 +20367,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + 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_); } @@ -17816,15 +20391,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest other = (com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest other = + (com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -17844,87 +20419,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest 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.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest 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.osconfig.v1beta.PatchJobs.CancelPatchJobRequest + 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.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -17934,44 +20517,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Message for canceling a patch job.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.CancelPatchJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.CancelPatchJobRequest) com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.class, com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.class, + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -17981,14 +20569,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest + .getDefaultInstance(); } @java.lang.Override @@ -18002,7 +20592,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest build() @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest result = new com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest(this); + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest result = + new com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -18012,46 +20603,53 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.CancelPatchJobRequest) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest)other); + return mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest other) { - if (other == com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest other) { + if (other + == com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -18075,7 +20673,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -18087,18 +20687,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -18107,20 +20709,21 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -18128,58 +20731,66 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. Name of the patch in the form `projects/*/patchJobs/*`
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -18192,30 +20803,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.CancelPatchJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.CancelPatchJobRequest) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelPatchJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelPatchJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelPatchJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelPatchJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -18227,79 +20840,98 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.CancelPatchJobRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AptSettingsOrBuilder extends + public interface AptSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.AptSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * By changing the type to DIST, the patching is performed
      * using `apt-get dist-upgrade` instead.
      * 
* * .google.cloud.osconfig.v1beta.AptSettings.Type type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * By changing the type to DIST, the patching is performed
      * using `apt-get dist-upgrade` instead.
      * 
* * .google.cloud.osconfig.v1beta.AptSettings.Type type = 1; + * * @return The type. */ com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type getType(); /** + * + * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; + * * @return A list containing the excludes. */ - java.util.List - getExcludesList(); + java.util.List getExcludesList(); /** + * + * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; + * * @return The count of excludes. */ int getExcludesCount(); /** + * + * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; + * * @param index The index of the element to return. * @return The excludes at the given index. */ java.lang.String getExcludes(int index); /** + * + * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - com.google.protobuf.ByteString - getExcludesBytes(int index); + com.google.protobuf.ByteString getExcludesBytes(int index); /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -18308,11 +20940,13 @@ public interface AptSettingsOrBuilder extends
      * 
* * repeated string exclusive_packages = 3; + * * @return A list containing the exclusivePackages. */ - java.util.List - getExclusivePackagesList(); + java.util.List getExclusivePackagesList(); /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -18321,10 +20955,13 @@ public interface AptSettingsOrBuilder extends
      * 
* * repeated string exclusive_packages = 3; + * * @return The count of exclusivePackages. */ int getExclusivePackagesCount(); /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -18333,11 +20970,14 @@ public interface AptSettingsOrBuilder extends
      * 
* * repeated string exclusive_packages = 3; + * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ java.lang.String getExclusivePackages(int index); /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -18346,13 +20986,15 @@ public interface AptSettingsOrBuilder extends
      * 
* * repeated string exclusive_packages = 3; + * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - com.google.protobuf.ByteString - getExclusivePackagesBytes(int index); + com.google.protobuf.ByteString getExclusivePackagesBytes(int index); } /** + * + * *
    * Apt patching is completed by executing `apt-get update && apt-get
    * upgrade`. Additional options can be set to control how this is executed.
@@ -18360,15 +21002,16 @@ public interface AptSettingsOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.AptSettings}
    */
-  public static final class AptSettings extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class AptSettings extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.AptSettings)
       AptSettingsOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use AptSettings.newBuilder() to construct.
     private AptSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private AptSettings() {
       type_ = 0;
       excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -18377,16 +21020,15 @@ private AptSettings() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new AptSettings();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private AptSettings(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -18406,37 +21048,40 @@ private AptSettings(
             case 0:
               done = true;
               break;
-            case 8: {
-              int rawValue = input.readEnum();
+            case 8:
+              {
+                int rawValue = input.readEnum();
 
-              type_ = rawValue;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                excludes_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
+                type_ = rawValue;
+                break;
               }
-              excludes_.add(s);
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                exclusivePackages_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  excludes_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                excludes_.add(s);
+                break;
               }
-              exclusivePackages_.add(s);
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  exclusivePackages_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                exclusivePackages_.add(s);
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -18444,8 +21089,7 @@ private AptSettings(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           excludes_ = excludes_.getUnmodifiableView();
@@ -18457,29 +21101,35 @@ private AptSettings(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchJobs
+          .internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_AptSettings_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchJobs
+          .internal_static_google_cloud_osconfig_v1beta_AptSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.class,
+              com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * Apt patch type.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.AptSettings.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * By default, upgrade will be performed.
        * 
@@ -18488,6 +21138,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
        * Runs `apt-get dist-upgrade`.
        * 
@@ -18496,6 +21148,8 @@ public enum Type */ DIST(1), /** + * + * *
        * Runs `apt-get upgrade`.
        * 
@@ -18507,6 +21161,8 @@ public enum Type ; /** + * + * *
        * By default, upgrade will be performed.
        * 
@@ -18515,6 +21171,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Runs `apt-get dist-upgrade`.
        * 
@@ -18523,6 +21181,8 @@ public enum Type */ public static final int DIST_VALUE = 1; /** + * + * *
        * Runs `apt-get upgrade`.
        * 
@@ -18531,7 +21191,6 @@ public enum Type */ public static final int UPGRADE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -18556,49 +21215,51 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return DIST; - case 2: return UPGRADE; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return DIST; + case 2: + return UPGRADE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDescriptor() + .getEnumTypes() + .get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -18618,63 +21279,82 @@ private Type(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** + * + * *
      * By changing the type to DIST, the patching is performed
      * using `apt-get dist-upgrade` instead.
      * 
* * .google.cloud.osconfig.v1beta.AptSettings.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * By changing the type to DIST, the patching is performed
      * using `apt-get dist-upgrade` instead.
      * 
* * .google.cloud.osconfig.v1beta.AptSettings.Type type = 1; + * * @return The type. */ - @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type getType() { + @java.lang.Override + public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type result = com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.valueOf(type_); - return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type result = + com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.valueOf(type_); + return result == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.UNRECOGNIZED + : result; } public static final int EXCLUDES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList excludes_; /** + * + * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; + * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList - getExcludesList() { + public com.google.protobuf.ProtocolStringList getExcludesList() { return excludes_; } /** + * + * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; + * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** + * + * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; + * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -18682,22 +21362,26 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** + * + * *
      * List of packages to exclude from update. These packages will be excluded
      * 
* * repeated string excludes = 2; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString - getExcludesBytes(int index) { + public com.google.protobuf.ByteString getExcludesBytes(int index) { return excludes_.getByteString(index); } public static final int EXCLUSIVE_PACKAGES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList exclusivePackages_; /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -18706,13 +21390,15 @@ public java.lang.String getExcludes(int index) {
      * 
* * repeated string exclusive_packages = 3; + * * @return A list containing the exclusivePackages. */ - public com.google.protobuf.ProtocolStringList - getExclusivePackagesList() { + public com.google.protobuf.ProtocolStringList getExclusivePackagesList() { return exclusivePackages_; } /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -18721,12 +21407,15 @@ public java.lang.String getExcludes(int index) {
      * 
* * repeated string exclusive_packages = 3; + * * @return The count of exclusivePackages. */ public int getExclusivePackagesCount() { return exclusivePackages_.size(); } /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -18735,6 +21424,7 @@ public int getExclusivePackagesCount() {
      * 
* * repeated string exclusive_packages = 3; + * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ @@ -18742,6 +21432,8 @@ public java.lang.String getExclusivePackages(int index) { return exclusivePackages_.get(index); } /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -18750,15 +21442,16 @@ public java.lang.String getExclusivePackages(int index) {
      * 
* * repeated string exclusive_packages = 3; + * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - public com.google.protobuf.ByteString - getExclusivePackagesBytes(int index) { + public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) { return exclusivePackages_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -18770,9 +21463,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } for (int i = 0; i < excludes_.size(); i++) { @@ -18790,9 +21484,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } { int dataSize = 0; @@ -18818,18 +21513,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings other = (com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings other = + (com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings) obj; if (type_ != other.type_) return false; - if (!getExcludesList() - .equals(other.getExcludesList())) return false; - if (!getExclusivePackagesList() - .equals(other.getExclusivePackagesList())) return false; + if (!getExcludesList().equals(other.getExcludesList())) return false; + if (!getExclusivePackagesList().equals(other.getExclusivePackagesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -18857,87 +21551,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings 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.osconfig.v1beta.PatchJobs.AptSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -18947,6 +21648,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Apt patching is completed by executing `apt-get update && apt-get
      * upgrade`. Additional options can be set to control how this is executed.
@@ -18954,21 +21657,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.AptSettings}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.AptSettings)
         com.google.cloud.osconfig.v1beta.PatchJobs.AptSettingsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_AptSettings_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_AptSettings_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.class,
+                com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.newBuilder()
@@ -18976,16 +21682,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -18999,9 +21704,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor;
       }
 
       @java.lang.Override
@@ -19020,7 +21725,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings result = new com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings(this);
+        com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings result =
+            new com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings(this);
         int from_bitField0_ = bitField0_;
         result.type_ = type_;
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -19041,38 +21747,41 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchJobs.AptSettings) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings)other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -19080,7 +21789,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings other) {
-        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.getDefaultInstance())
+          return this;
         if (other.type_ != 0) {
           setTypeValue(other.getTypeValue());
         }
@@ -19123,7 +21833,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -19132,59 +21843,76 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private int type_ = 0;
       /**
+       *
+       *
        * 
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1beta.AptSettings.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1beta.AptSettings.Type type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1beta.AptSettings.Type type = 1; + * * @return The type. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type result = com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.valueOf(type_); - return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type result = + com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.valueOf(type_); + return result == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Type.UNRECOGNIZED + : result; } /** + * + * *
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1beta.AptSettings.Type type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -19192,63 +21920,76 @@ public Builder setType(com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings.Ty if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * By changing the type to DIST, the patching is performed
        * using `apt-get dist-upgrade` instead.
        * 
* * .google.cloud.osconfig.v1beta.AptSettings.Type type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList excludes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExcludesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { excludes_ = new com.google.protobuf.LazyStringArrayList(excludes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; + * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList - getExcludesList() { + public com.google.protobuf.ProtocolStringList getExcludesList() { return excludes_.getUnmodifiableView(); } /** + * + * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; + * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** + * + * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; + * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -19256,80 +21997,90 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** + * + * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString - getExcludesBytes(int index) { + public com.google.protobuf.ByteString getExcludesBytes(int index) { return excludes_.getByteString(index); } /** + * + * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; + * * @param index The index to set the value at. * @param value The excludes to set. * @return This builder for chaining. */ - public Builder setExcludes( - int index, java.lang.String value) { + public Builder setExcludes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.set(index, value); onChanged(); return this; } /** + * + * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; + * * @param value The excludes to add. * @return This builder for chaining. */ - public Builder addExcludes( - java.lang.String value) { + public Builder addExcludes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } /** + * + * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; + * * @param values The excludes to add. * @return This builder for chaining. */ - public Builder addAllExcludes( - java.lang.Iterable values) { + public Builder addAllExcludes(java.lang.Iterable values) { ensureExcludesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, excludes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludes_); onChanged(); return this; } /** + * + * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; + * * @return This builder for chaining. */ public Builder clearExcludes() { @@ -19339,34 +22090,40 @@ public Builder clearExcludes() { return this; } /** + * + * *
        * List of packages to exclude from update. These packages will be excluded
        * 
* * repeated string excludes = 2; + * * @param value The bytes of the excludes to add. * @return This builder for chaining. */ - public Builder addExcludesBytes( - com.google.protobuf.ByteString value) { + public Builder addExcludesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList exclusivePackages_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList exclusivePackages_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExclusivePackagesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { exclusivePackages_ = new com.google.protobuf.LazyStringArrayList(exclusivePackages_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -19375,13 +22132,15 @@ private void ensureExclusivePackagesIsMutable() {
        * 
* * repeated string exclusive_packages = 3; + * * @return A list containing the exclusivePackages. */ - public com.google.protobuf.ProtocolStringList - getExclusivePackagesList() { + public com.google.protobuf.ProtocolStringList getExclusivePackagesList() { return exclusivePackages_.getUnmodifiableView(); } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -19390,12 +22149,15 @@ private void ensureExclusivePackagesIsMutable() {
        * 
* * repeated string exclusive_packages = 3; + * * @return The count of exclusivePackages. */ public int getExclusivePackagesCount() { return exclusivePackages_.size(); } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -19404,6 +22166,7 @@ public int getExclusivePackagesCount() {
        * 
* * repeated string exclusive_packages = 3; + * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ @@ -19411,6 +22174,8 @@ public java.lang.String getExclusivePackages(int index) { return exclusivePackages_.get(index); } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -19419,14 +22184,16 @@ public java.lang.String getExclusivePackages(int index) {
        * 
* * repeated string exclusive_packages = 3; + * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - public com.google.protobuf.ByteString - getExclusivePackagesBytes(int index) { + public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) { return exclusivePackages_.getByteString(index); } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -19435,21 +22202,23 @@ public java.lang.String getExclusivePackages(int index) {
        * 
* * repeated string exclusive_packages = 3; + * * @param index The index to set the value at. * @param value The exclusivePackages to set. * @return This builder for chaining. */ - public Builder setExclusivePackages( - int index, java.lang.String value) { + public Builder setExclusivePackages(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePackagesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePackagesIsMutable(); exclusivePackages_.set(index, value); onChanged(); return this; } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -19458,20 +22227,22 @@ public Builder setExclusivePackages(
        * 
* * repeated string exclusive_packages = 3; + * * @param value The exclusivePackages to add. * @return This builder for chaining. */ - public Builder addExclusivePackages( - java.lang.String value) { + public Builder addExclusivePackages(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePackagesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePackagesIsMutable(); exclusivePackages_.add(value); onChanged(); return this; } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -19480,18 +22251,19 @@ public Builder addExclusivePackages(
        * 
* * repeated string exclusive_packages = 3; + * * @param values The exclusivePackages to add. * @return This builder for chaining. */ - public Builder addAllExclusivePackages( - java.lang.Iterable values) { + public Builder addAllExclusivePackages(java.lang.Iterable values) { ensureExclusivePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, exclusivePackages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusivePackages_); onChanged(); return this; } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -19500,6 +22272,7 @@ public Builder addAllExclusivePackages(
        * 
* * repeated string exclusive_packages = 3; + * * @return This builder for chaining. */ public Builder clearExclusivePackages() { @@ -19509,6 +22282,8 @@ public Builder clearExclusivePackages() { return this; } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -19517,20 +22292,21 @@ public Builder clearExclusivePackages() {
        * 
* * repeated string exclusive_packages = 3; + * * @param value The bytes of the exclusivePackages to add. * @return This builder for chaining. */ - public Builder addExclusivePackagesBytes( - com.google.protobuf.ByteString value) { + public Builder addExclusivePackagesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExclusivePackagesIsMutable(); exclusivePackages_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -19543,12 +22319,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.AptSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.AptSettings) private static final com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings(); } @@ -19557,16 +22333,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -19581,80 +22357,98 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.AptSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface YumSettingsOrBuilder extends + public interface YumSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.YumSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Adds the `--security` flag to `yum update`. Not supported on
      * all platforms.
      * 
* * bool security = 1; + * * @return The security. */ boolean getSecurity(); /** + * + * *
      * Will cause patch to run `yum update-minimal` instead.
      * 
* * bool minimal = 2; + * * @return The minimal. */ boolean getMinimal(); /** + * + * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; + * * @return A list containing the excludes. */ - java.util.List - getExcludesList(); + java.util.List getExcludesList(); /** + * + * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; + * * @return The count of excludes. */ int getExcludesCount(); /** + * + * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; + * * @param index The index of the element to return. * @return The excludes at the given index. */ java.lang.String getExcludes(int index); /** + * + * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - com.google.protobuf.ByteString - getExcludesBytes(int index); + com.google.protobuf.ByteString getExcludesBytes(int index); /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -19663,11 +22457,13 @@ public interface YumSettingsOrBuilder extends
      * 
* * repeated string exclusive_packages = 4; + * * @return A list containing the exclusivePackages. */ - java.util.List - getExclusivePackagesList(); + java.util.List getExclusivePackagesList(); /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -19676,10 +22472,13 @@ public interface YumSettingsOrBuilder extends
      * 
* * repeated string exclusive_packages = 4; + * * @return The count of exclusivePackages. */ int getExclusivePackagesCount(); /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -19688,11 +22487,14 @@ public interface YumSettingsOrBuilder extends
      * 
* * repeated string exclusive_packages = 4; + * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ java.lang.String getExclusivePackages(int index); /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -19701,13 +22503,15 @@ public interface YumSettingsOrBuilder extends
      * 
* * repeated string exclusive_packages = 4; + * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - com.google.protobuf.ByteString - getExclusivePackagesBytes(int index); + com.google.protobuf.ByteString getExclusivePackagesBytes(int index); } /** + * + * *
    * Yum patching is performed by executing `yum update`. Additional options
    * can be set to control how this is executed.
@@ -19716,15 +22520,16 @@ public interface YumSettingsOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.YumSettings}
    */
-  public static final class YumSettings extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class YumSettings extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.YumSettings)
       YumSettingsOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use YumSettings.newBuilder() to construct.
     private YumSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private YumSettings() {
       excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       exclusivePackages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -19732,16 +22537,15 @@ private YumSettings() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new YumSettings();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private YumSettings(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -19761,41 +22565,43 @@ private YumSettings(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              security_ = input.readBool();
-              break;
-            }
-            case 16: {
-
-              minimal_ = input.readBool();
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                excludes_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 8:
+              {
+                security_ = input.readBool();
+                break;
               }
-              excludes_.add(s);
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                exclusivePackages_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 16:
+              {
+                minimal_ = input.readBool();
+                break;
               }
-              exclusivePackages_.add(s);
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  excludes_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                excludes_.add(s);
+                break;
+              }
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  exclusivePackages_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                exclusivePackages_.add(s);
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -19803,8 +22609,7 @@ private YumSettings(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           excludes_ = excludes_.getUnmodifiableView();
@@ -19816,28 +22621,34 @@ private YumSettings(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchJobs
+          .internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_YumSettings_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchJobs
+          .internal_static_google_cloud_osconfig_v1beta_YumSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.class,
+              com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder.class);
     }
 
     public static final int SECURITY_FIELD_NUMBER = 1;
     private boolean security_;
     /**
+     *
+     *
      * 
      * Adds the `--security` flag to `yum update`. Not supported on
      * all platforms.
      * 
* * bool security = 1; + * * @return The security. */ @java.lang.Override @@ -19848,11 +22659,14 @@ public boolean getSecurity() { public static final int MINIMAL_FIELD_NUMBER = 2; private boolean minimal_; /** + * + * *
      * Will cause patch to run `yum update-minimal` instead.
      * 
* * bool minimal = 2; + * * @return The minimal. */ @java.lang.Override @@ -19863,37 +22677,45 @@ public boolean getMinimal() { public static final int EXCLUDES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList excludes_; /** + * + * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; + * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList - getExcludesList() { + public com.google.protobuf.ProtocolStringList getExcludesList() { return excludes_; } /** + * + * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; + * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** + * + * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; + * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -19901,23 +22723,27 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** + * + * *
      * List of packages to exclude from update. These packages are excluded by
      * using the yum `--exclude` flag.
      * 
* * repeated string excludes = 3; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString - getExcludesBytes(int index) { + public com.google.protobuf.ByteString getExcludesBytes(int index) { return excludes_.getByteString(index); } public static final int EXCLUSIVE_PACKAGES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList exclusivePackages_; /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -19926,13 +22752,15 @@ public java.lang.String getExcludes(int index) {
      * 
* * repeated string exclusive_packages = 4; + * * @return A list containing the exclusivePackages. */ - public com.google.protobuf.ProtocolStringList - getExclusivePackagesList() { + public com.google.protobuf.ProtocolStringList getExclusivePackagesList() { return exclusivePackages_; } /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -19941,12 +22769,15 @@ public java.lang.String getExcludes(int index) {
      * 
* * repeated string exclusive_packages = 4; + * * @return The count of exclusivePackages. */ public int getExclusivePackagesCount() { return exclusivePackages_.size(); } /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -19955,6 +22786,7 @@ public int getExclusivePackagesCount() {
      * 
* * repeated string exclusive_packages = 4; + * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ @@ -19962,6 +22794,8 @@ public java.lang.String getExclusivePackages(int index) { return exclusivePackages_.get(index); } /** + * + * *
      * An exclusive list of packages to be updated. These are the only packages
      * that will be updated. If these packages are not installed, they will be
@@ -19970,15 +22804,16 @@ public java.lang.String getExclusivePackages(int index) {
      * 
* * repeated string exclusive_packages = 4; + * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - public com.google.protobuf.ByteString - getExclusivePackagesBytes(int index) { + public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) { return exclusivePackages_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -19990,8 +22825,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (security_ != false) { output.writeBool(1, security_); } @@ -20014,12 +22848,10 @@ public int getSerializedSize() { size = 0; if (security_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, security_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, security_); } if (minimal_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, minimal_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, minimal_); } { int dataSize = 0; @@ -20045,21 +22877,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings other = (com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings other = + (com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings) obj; - if (getSecurity() - != other.getSecurity()) return false; - if (getMinimal() - != other.getMinimal()) return false; - if (!getExcludesList() - .equals(other.getExcludesList())) return false; - if (!getExclusivePackagesList() - .equals(other.getExclusivePackagesList())) return false; + if (getSecurity() != other.getSecurity()) return false; + if (getMinimal() != other.getMinimal()) return false; + if (!getExcludesList().equals(other.getExcludesList())) return false; + if (!getExclusivePackagesList().equals(other.getExclusivePackagesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -20072,11 +22901,9 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SECURITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSecurity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSecurity()); hash = (37 * hash) + MINIMAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getMinimal()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getMinimal()); if (getExcludesCount() > 0) { hash = (37 * hash) + EXCLUDES_FIELD_NUMBER; hash = (53 * hash) + getExcludesList().hashCode(); @@ -20091,87 +22918,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings 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.osconfig.v1beta.PatchJobs.YumSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -20181,6 +23015,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Yum patching is performed by executing `yum update`. Additional options
      * can be set to control how this is executed.
@@ -20189,21 +23025,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.YumSettings}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.YumSettings)
         com.google.cloud.osconfig.v1beta.PatchJobs.YumSettingsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_YumSettings_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_YumSettings_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.class,
+                com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.newBuilder()
@@ -20211,16 +23050,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -20236,9 +23074,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor;
       }
 
       @java.lang.Override
@@ -20257,7 +23095,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings result = new com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings(this);
+        com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings result =
+            new com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings(this);
         int from_bitField0_ = bitField0_;
         result.security_ = security_;
         result.minimal_ = minimal_;
@@ -20279,38 +23118,41 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchJobs.YumSettings) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings)other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -20318,7 +23160,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings other) {
-        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings.getDefaultInstance())
+          return this;
         if (other.getSecurity() != false) {
           setSecurity(other.getSecurity());
         }
@@ -20364,7 +23207,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -20373,16 +23217,20 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private boolean security_ ;
+      private boolean security_;
       /**
+       *
+       *
        * 
        * Adds the `--security` flag to `yum update`. Not supported on
        * all platforms.
        * 
* * bool security = 1; + * * @return The security. */ @java.lang.Override @@ -20390,44 +23238,53 @@ public boolean getSecurity() { return security_; } /** + * + * *
        * Adds the `--security` flag to `yum update`. Not supported on
        * all platforms.
        * 
* * bool security = 1; + * * @param value The security to set. * @return This builder for chaining. */ public Builder setSecurity(boolean value) { - + security_ = value; onChanged(); return this; } /** + * + * *
        * Adds the `--security` flag to `yum update`. Not supported on
        * all platforms.
        * 
* * bool security = 1; + * * @return This builder for chaining. */ public Builder clearSecurity() { - + security_ = false; onChanged(); return this; } - private boolean minimal_ ; + private boolean minimal_; /** + * + * *
        * Will cause patch to run `yum update-minimal` instead.
        * 
* * bool minimal = 2; + * * @return The minimal. */ @java.lang.Override @@ -20435,74 +23292,90 @@ public boolean getMinimal() { return minimal_; } /** + * + * *
        * Will cause patch to run `yum update-minimal` instead.
        * 
* * bool minimal = 2; + * * @param value The minimal to set. * @return This builder for chaining. */ public Builder setMinimal(boolean value) { - + minimal_ = value; onChanged(); return this; } /** + * + * *
        * Will cause patch to run `yum update-minimal` instead.
        * 
* * bool minimal = 2; + * * @return This builder for chaining. */ public Builder clearMinimal() { - + minimal_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList excludes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExcludesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { excludes_ = new com.google.protobuf.LazyStringArrayList(excludes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; + * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList - getExcludesList() { + public com.google.protobuf.ProtocolStringList getExcludesList() { return excludes_.getUnmodifiableView(); } /** + * + * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; + * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** + * + * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; + * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -20510,85 +23383,95 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** + * + * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString - getExcludesBytes(int index) { + public com.google.protobuf.ByteString getExcludesBytes(int index) { return excludes_.getByteString(index); } /** + * + * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; + * * @param index The index to set the value at. * @param value The excludes to set. * @return This builder for chaining. */ - public Builder setExcludes( - int index, java.lang.String value) { + public Builder setExcludes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.set(index, value); onChanged(); return this; } /** + * + * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; + * * @param value The excludes to add. * @return This builder for chaining. */ - public Builder addExcludes( - java.lang.String value) { + public Builder addExcludes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } /** + * + * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; + * * @param values The excludes to add. * @return This builder for chaining. */ - public Builder addAllExcludes( - java.lang.Iterable values) { + public Builder addAllExcludes(java.lang.Iterable values) { ensureExcludesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, excludes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludes_); onChanged(); return this; } /** + * + * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; + * * @return This builder for chaining. */ public Builder clearExcludes() { @@ -20598,35 +23481,41 @@ public Builder clearExcludes() { return this; } /** + * + * *
        * List of packages to exclude from update. These packages are excluded by
        * using the yum `--exclude` flag.
        * 
* * repeated string excludes = 3; + * * @param value The bytes of the excludes to add. * @return This builder for chaining. */ - public Builder addExcludesBytes( - com.google.protobuf.ByteString value) { + public Builder addExcludesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList exclusivePackages_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList exclusivePackages_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExclusivePackagesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { exclusivePackages_ = new com.google.protobuf.LazyStringArrayList(exclusivePackages_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -20635,13 +23524,15 @@ private void ensureExclusivePackagesIsMutable() {
        * 
* * repeated string exclusive_packages = 4; + * * @return A list containing the exclusivePackages. */ - public com.google.protobuf.ProtocolStringList - getExclusivePackagesList() { + public com.google.protobuf.ProtocolStringList getExclusivePackagesList() { return exclusivePackages_.getUnmodifiableView(); } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -20650,12 +23541,15 @@ private void ensureExclusivePackagesIsMutable() {
        * 
* * repeated string exclusive_packages = 4; + * * @return The count of exclusivePackages. */ public int getExclusivePackagesCount() { return exclusivePackages_.size(); } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -20664,6 +23558,7 @@ public int getExclusivePackagesCount() {
        * 
* * repeated string exclusive_packages = 4; + * * @param index The index of the element to return. * @return The exclusivePackages at the given index. */ @@ -20671,6 +23566,8 @@ public java.lang.String getExclusivePackages(int index) { return exclusivePackages_.get(index); } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -20679,14 +23576,16 @@ public java.lang.String getExclusivePackages(int index) {
        * 
* * repeated string exclusive_packages = 4; + * * @param index The index of the value to return. * @return The bytes of the exclusivePackages at the given index. */ - public com.google.protobuf.ByteString - getExclusivePackagesBytes(int index) { + public com.google.protobuf.ByteString getExclusivePackagesBytes(int index) { return exclusivePackages_.getByteString(index); } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -20695,21 +23594,23 @@ public java.lang.String getExclusivePackages(int index) {
        * 
* * repeated string exclusive_packages = 4; + * * @param index The index to set the value at. * @param value The exclusivePackages to set. * @return This builder for chaining. */ - public Builder setExclusivePackages( - int index, java.lang.String value) { + public Builder setExclusivePackages(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePackagesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePackagesIsMutable(); exclusivePackages_.set(index, value); onChanged(); return this; } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -20718,20 +23619,22 @@ public Builder setExclusivePackages(
        * 
* * repeated string exclusive_packages = 4; + * * @param value The exclusivePackages to add. * @return This builder for chaining. */ - public Builder addExclusivePackages( - java.lang.String value) { + public Builder addExclusivePackages(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePackagesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePackagesIsMutable(); exclusivePackages_.add(value); onChanged(); return this; } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -20740,18 +23643,19 @@ public Builder addExclusivePackages(
        * 
* * repeated string exclusive_packages = 4; + * * @param values The exclusivePackages to add. * @return This builder for chaining. */ - public Builder addAllExclusivePackages( - java.lang.Iterable values) { + public Builder addAllExclusivePackages(java.lang.Iterable values) { ensureExclusivePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, exclusivePackages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusivePackages_); onChanged(); return this; } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -20760,6 +23664,7 @@ public Builder addAllExclusivePackages(
        * 
* * repeated string exclusive_packages = 4; + * * @return This builder for chaining. */ public Builder clearExclusivePackages() { @@ -20769,6 +23674,8 @@ public Builder clearExclusivePackages() { return this; } /** + * + * *
        * An exclusive list of packages to be updated. These are the only packages
        * that will be updated. If these packages are not installed, they will be
@@ -20777,20 +23684,21 @@ public Builder clearExclusivePackages() {
        * 
* * repeated string exclusive_packages = 4; + * * @param value The bytes of the exclusivePackages to add. * @return This builder for chaining. */ - public Builder addExclusivePackagesBytes( - com.google.protobuf.ByteString value) { + public Builder addExclusivePackagesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExclusivePackagesIsMutable(); exclusivePackages_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -20803,12 +23711,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.YumSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.YumSettings) private static final com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings(); } @@ -20817,16 +23725,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -20841,44 +23749,44 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.YumSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GooSettingsOrBuilder extends + public interface GooSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.GooSettings) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * Googet patching is performed by running `googet update`.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GooSettings} */ - public static final class GooSettings extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GooSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.GooSettings) GooSettingsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GooSettings.newBuilder() to construct. private GooSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GooSettings() { - } + + private GooSettings() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GooSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GooSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -20897,13 +23805,13 @@ private GooSettings( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -20911,27 +23819,30 @@ private GooSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GooSettings_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_GooSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.class, + com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -20943,8 +23854,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -20962,12 +23872,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings other = (com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings other = + (com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -20986,87 +23897,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings 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.osconfig.v1beta.PatchJobs.GooSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -21076,27 +23994,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Googet patching is performed by running `googet update`.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GooSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.GooSettings) com.google.cloud.osconfig.v1beta.PatchJobs.GooSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GooSettings_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_GooSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.class, + com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.Builder.class); } // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.newBuilder() @@ -21104,16 +24027,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -21121,9 +24043,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor; } @java.lang.Override @@ -21142,7 +24064,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings build() { @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings result = new com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings(this); + com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings result = + new com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings(this); onBuilt(); return result; } @@ -21151,38 +24074,41 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.GooSettings) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings)other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings) other); } else { super.mergeFrom(other); return this; @@ -21190,7 +24116,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings other) { - if (other == com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -21210,7 +24137,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -21219,6 +24147,7 @@ public Builder mergeFrom( } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -21231,12 +24160,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.GooSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.GooSettings) private static final com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings(); } @@ -21245,16 +24174,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GooSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GooSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GooSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GooSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -21269,165 +24198,203 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.GooSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ZypperSettingsOrBuilder extends + public interface ZypperSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ZypperSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Adds the `--with-optional` flag to `zypper patch`.
      * 
* * bool with_optional = 1; + * * @return The withOptional. */ boolean getWithOptional(); /** + * + * *
      * Adds the `--with-update` flag, to `zypper patch`.
      * 
* * bool with_update = 2; + * * @return The withUpdate. */ boolean getWithUpdate(); /** + * + * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; + * * @return A list containing the categories. */ - java.util.List - getCategoriesList(); + java.util.List getCategoriesList(); /** + * + * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; + * * @return The count of categories. */ int getCategoriesCount(); /** + * + * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; + * * @param index The index of the element to return. * @return The categories at the given index. */ java.lang.String getCategories(int index); /** + * + * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; + * * @param index The index of the value to return. * @return The bytes of the categories at the given index. */ - com.google.protobuf.ByteString - getCategoriesBytes(int index); + com.google.protobuf.ByteString getCategoriesBytes(int index); /** + * + * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; + * * @return A list containing the severities. */ - java.util.List - getSeveritiesList(); + java.util.List getSeveritiesList(); /** + * + * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; + * * @return The count of severities. */ int getSeveritiesCount(); /** + * + * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; + * * @param index The index of the element to return. * @return The severities at the given index. */ java.lang.String getSeverities(int index); /** + * + * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; + * * @param index The index of the value to return. * @return The bytes of the severities at the given index. */ - com.google.protobuf.ByteString - getSeveritiesBytes(int index); + com.google.protobuf.ByteString getSeveritiesBytes(int index); /** + * + * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; + * * @return A list containing the excludes. */ - java.util.List - getExcludesList(); + java.util.List getExcludesList(); /** + * + * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; + * * @return The count of excludes. */ int getExcludesCount(); /** + * + * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; + * * @param index The index of the element to return. * @return The excludes at the given index. */ java.lang.String getExcludes(int index); /** + * + * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - com.google.protobuf.ByteString - getExcludesBytes(int index); + com.google.protobuf.ByteString getExcludesBytes(int index); /** + * + * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -21435,11 +24402,13 @@ public interface ZypperSettingsOrBuilder extends
      * 
* * repeated string exclusive_patches = 6; + * * @return A list containing the exclusivePatches. */ - java.util.List - getExclusivePatchesList(); + java.util.List getExclusivePatchesList(); /** + * + * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -21447,10 +24416,13 @@ public interface ZypperSettingsOrBuilder extends
      * 
* * repeated string exclusive_patches = 6; + * * @return The count of exclusivePatches. */ int getExclusivePatchesCount(); /** + * + * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -21458,11 +24430,14 @@ public interface ZypperSettingsOrBuilder extends
      * 
* * repeated string exclusive_patches = 6; + * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ java.lang.String getExclusivePatches(int index); /** + * + * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -21470,13 +24445,15 @@ public interface ZypperSettingsOrBuilder extends
      * 
* * repeated string exclusive_patches = 6; + * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - com.google.protobuf.ByteString - getExclusivePatchesBytes(int index); + com.google.protobuf.ByteString getExclusivePatchesBytes(int index); } /** + * + * *
    * Zypper patching is performed by running `zypper patch`.
    * See also https://en.opensuse.org/SDB:Zypper_manual.
@@ -21484,15 +24461,16 @@ public interface ZypperSettingsOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.ZypperSettings}
    */
-  public static final class ZypperSettings extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ZypperSettings extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ZypperSettings)
       ZypperSettingsOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ZypperSettings.newBuilder() to construct.
     private ZypperSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ZypperSettings() {
       categories_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       severities_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -21502,16 +24480,15 @@ private ZypperSettings() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ZypperSettings();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private ZypperSettings(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -21531,59 +24508,63 @@ private ZypperSettings(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              withOptional_ = input.readBool();
-              break;
-            }
-            case 16: {
-
-              withUpdate_ = input.readBool();
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                categories_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 8:
+              {
+                withOptional_ = input.readBool();
+                break;
               }
-              categories_.add(s);
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                severities_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 16:
+              {
+                withUpdate_ = input.readBool();
+                break;
               }
-              severities_.add(s);
-              break;
-            }
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                excludes_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000004;
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  categories_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                categories_.add(s);
+                break;
               }
-              excludes_.add(s);
-              break;
-            }
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-                exclusivePatches_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000008;
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  severities_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                severities_.add(s);
+                break;
               }
-              exclusivePatches_.add(s);
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                  excludes_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000004;
+                }
+                excludes_.add(s);
+                break;
+              }
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+                  exclusivePatches_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000008;
+                }
+                exclusivePatches_.add(s);
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -21591,8 +24572,7 @@ private ZypperSettings(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           categories_ = categories_.getUnmodifiableView();
@@ -21610,27 +24590,33 @@ private ZypperSettings(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchJobs
+          .internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ZypperSettings_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchJobs
+          .internal_static_google_cloud_osconfig_v1beta_ZypperSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.class,
+              com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder.class);
     }
 
     public static final int WITH_OPTIONAL_FIELD_NUMBER = 1;
     private boolean withOptional_;
     /**
+     *
+     *
      * 
      * Adds the `--with-optional` flag to `zypper patch`.
      * 
* * bool with_optional = 1; + * * @return The withOptional. */ @java.lang.Override @@ -21641,11 +24627,14 @@ public boolean getWithOptional() { public static final int WITH_UPDATE_FIELD_NUMBER = 2; private boolean withUpdate_; /** + * + * *
      * Adds the `--with-update` flag, to `zypper patch`.
      * 
* * bool with_update = 2; + * * @return The withUpdate. */ @java.lang.Override @@ -21656,37 +24645,45 @@ public boolean getWithUpdate() { public static final int CATEGORIES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList categories_; /** + * + * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; + * * @return A list containing the categories. */ - public com.google.protobuf.ProtocolStringList - getCategoriesList() { + public com.google.protobuf.ProtocolStringList getCategoriesList() { return categories_; } /** + * + * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; + * * @return The count of categories. */ public int getCategoriesCount() { return categories_.size(); } /** + * + * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; + * * @param index The index of the element to return. * @return The categories at the given index. */ @@ -21694,54 +24691,64 @@ public java.lang.String getCategories(int index) { return categories_.get(index); } /** + * + * *
      * Install only patches with these categories.
      * Common categories include security, recommended, and feature.
      * 
* * repeated string categories = 3; + * * @param index The index of the value to return. * @return The bytes of the categories at the given index. */ - public com.google.protobuf.ByteString - getCategoriesBytes(int index) { + public com.google.protobuf.ByteString getCategoriesBytes(int index) { return categories_.getByteString(index); } public static final int SEVERITIES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList severities_; /** + * + * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; + * * @return A list containing the severities. */ - public com.google.protobuf.ProtocolStringList - getSeveritiesList() { + public com.google.protobuf.ProtocolStringList getSeveritiesList() { return severities_; } /** + * + * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; + * * @return The count of severities. */ public int getSeveritiesCount() { return severities_.size(); } /** + * + * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; + * * @param index The index of the element to return. * @return The severities at the given index. */ @@ -21749,51 +24756,61 @@ public java.lang.String getSeverities(int index) { return severities_.get(index); } /** + * + * *
      * Install only patches with these severities.
      * Common severities include critical, important, moderate, and low.
      * 
* * repeated string severities = 4; + * * @param index The index of the value to return. * @return The bytes of the severities at the given index. */ - public com.google.protobuf.ByteString - getSeveritiesBytes(int index) { + public com.google.protobuf.ByteString getSeveritiesBytes(int index) { return severities_.getByteString(index); } public static final int EXCLUDES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList excludes_; /** + * + * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; + * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList - getExcludesList() { + public com.google.protobuf.ProtocolStringList getExcludesList() { return excludes_; } /** + * + * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; + * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** + * + * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; + * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -21801,22 +24818,26 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** + * + * *
      * List of patches to exclude from update.
      * 
* * repeated string excludes = 5; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString - getExcludesBytes(int index) { + public com.google.protobuf.ByteString getExcludesBytes(int index) { return excludes_.getByteString(index); } public static final int EXCLUSIVE_PATCHES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList exclusivePatches_; /** + * + * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -21824,13 +24845,15 @@ public java.lang.String getExcludes(int index) {
      * 
* * repeated string exclusive_patches = 6; + * * @return A list containing the exclusivePatches. */ - public com.google.protobuf.ProtocolStringList - getExclusivePatchesList() { + public com.google.protobuf.ProtocolStringList getExclusivePatchesList() { return exclusivePatches_; } /** + * + * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -21838,12 +24861,15 @@ public java.lang.String getExcludes(int index) {
      * 
* * repeated string exclusive_patches = 6; + * * @return The count of exclusivePatches. */ public int getExclusivePatchesCount() { return exclusivePatches_.size(); } /** + * + * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -21851,6 +24877,7 @@ public int getExclusivePatchesCount() {
      * 
* * repeated string exclusive_patches = 6; + * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ @@ -21858,6 +24885,8 @@ public java.lang.String getExclusivePatches(int index) { return exclusivePatches_.get(index); } /** + * + * *
      * An exclusive list of patches to be updated. These are the only patches
      * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -21865,15 +24894,16 @@ public java.lang.String getExclusivePatches(int index) {
      * 
* * repeated string exclusive_patches = 6; + * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - public com.google.protobuf.ByteString - getExclusivePatchesBytes(int index) { + public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) { return exclusivePatches_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -21885,8 +24915,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (withOptional_ != false) { output.writeBool(1, withOptional_); } @@ -21915,12 +24944,10 @@ public int getSerializedSize() { size = 0; if (withOptional_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, withOptional_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, withOptional_); } if (withUpdate_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, withUpdate_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, withUpdate_); } { int dataSize = 0; @@ -21962,25 +24989,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings other = (com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings) obj; - - if (getWithOptional() - != other.getWithOptional()) return false; - if (getWithUpdate() - != other.getWithUpdate()) return false; - if (!getCategoriesList() - .equals(other.getCategoriesList())) return false; - if (!getSeveritiesList() - .equals(other.getSeveritiesList())) return false; - if (!getExcludesList() - .equals(other.getExcludesList())) return false; - if (!getExclusivePatchesList() - .equals(other.getExclusivePatchesList())) return false; + com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings other = + (com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings) obj; + + if (getWithOptional() != other.getWithOptional()) return false; + if (getWithUpdate() != other.getWithUpdate()) return false; + if (!getCategoriesList().equals(other.getCategoriesList())) return false; + if (!getSeveritiesList().equals(other.getSeveritiesList())) return false; + if (!getExcludesList().equals(other.getExcludesList())) return false; + if (!getExclusivePatchesList().equals(other.getExclusivePatchesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -21993,11 +25015,9 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + WITH_OPTIONAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getWithOptional()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getWithOptional()); hash = (37 * hash) + WITH_UPDATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getWithUpdate()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getWithUpdate()); if (getCategoriesCount() > 0) { hash = (37 * hash) + CATEGORIES_FIELD_NUMBER; hash = (53 * hash) + getCategoriesList().hashCode(); @@ -22020,87 +25040,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings 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.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -22110,6 +25137,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Zypper patching is performed by running `zypper patch`.
      * See also https://en.opensuse.org/SDB:Zypper_manual.
@@ -22117,21 +25146,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.ZypperSettings}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ZypperSettings)
         com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettingsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ZypperSettings_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_ZypperSettings_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.class,
+                com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.newBuilder()
@@ -22139,16 +25171,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -22168,9 +25199,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor;
       }
 
       @java.lang.Override
@@ -22189,7 +25220,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings result = new com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings(this);
+        com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings result =
+            new com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings(this);
         int from_bitField0_ = bitField0_;
         result.withOptional_ = withOptional_;
         result.withUpdate_ = withUpdate_;
@@ -22221,38 +25253,41 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings buildPartial()
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchJobs.ZypperSettings) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings)other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -22260,7 +25295,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings other) {
-        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings.getDefaultInstance())
+          return this;
         if (other.getWithOptional() != false) {
           setWithOptional(other.getWithOptional());
         }
@@ -22326,7 +25362,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -22335,15 +25372,19 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private boolean withOptional_ ;
+      private boolean withOptional_;
       /**
+       *
+       *
        * 
        * Adds the `--with-optional` flag to `zypper patch`.
        * 
* * bool with_optional = 1; + * * @return The withOptional. */ @java.lang.Override @@ -22351,42 +25392,51 @@ public boolean getWithOptional() { return withOptional_; } /** + * + * *
        * Adds the `--with-optional` flag to `zypper patch`.
        * 
* * bool with_optional = 1; + * * @param value The withOptional to set. * @return This builder for chaining. */ public Builder setWithOptional(boolean value) { - + withOptional_ = value; onChanged(); return this; } /** + * + * *
        * Adds the `--with-optional` flag to `zypper patch`.
        * 
* * bool with_optional = 1; + * * @return This builder for chaining. */ public Builder clearWithOptional() { - + withOptional_ = false; onChanged(); return this; } - private boolean withUpdate_ ; + private boolean withUpdate_; /** + * + * *
        * Adds the `--with-update` flag, to `zypper patch`.
        * 
* * bool with_update = 2; + * * @return The withUpdate. */ @java.lang.Override @@ -22394,74 +25444,90 @@ public boolean getWithUpdate() { return withUpdate_; } /** + * + * *
        * Adds the `--with-update` flag, to `zypper patch`.
        * 
* * bool with_update = 2; + * * @param value The withUpdate to set. * @return This builder for chaining. */ public Builder setWithUpdate(boolean value) { - + withUpdate_ = value; onChanged(); return this; } /** + * + * *
        * Adds the `--with-update` flag, to `zypper patch`.
        * 
* * bool with_update = 2; + * * @return This builder for chaining. */ public Builder clearWithUpdate() { - + withUpdate_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList categories_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList categories_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCategoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { categories_ = new com.google.protobuf.LazyStringArrayList(categories_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; + * * @return A list containing the categories. */ - public com.google.protobuf.ProtocolStringList - getCategoriesList() { + public com.google.protobuf.ProtocolStringList getCategoriesList() { return categories_.getUnmodifiableView(); } /** + * + * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; + * * @return The count of categories. */ public int getCategoriesCount() { return categories_.size(); } /** + * + * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; + * * @param index The index of the element to return. * @return The categories at the given index. */ @@ -22469,85 +25535,95 @@ public java.lang.String getCategories(int index) { return categories_.get(index); } /** + * + * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; + * * @param index The index of the value to return. * @return The bytes of the categories at the given index. */ - public com.google.protobuf.ByteString - getCategoriesBytes(int index) { + public com.google.protobuf.ByteString getCategoriesBytes(int index) { return categories_.getByteString(index); } /** + * + * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; + * * @param index The index to set the value at. * @param value The categories to set. * @return This builder for chaining. */ - public Builder setCategories( - int index, java.lang.String value) { + public Builder setCategories(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCategoriesIsMutable(); + throw new NullPointerException(); + } + ensureCategoriesIsMutable(); categories_.set(index, value); onChanged(); return this; } /** + * + * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; + * * @param value The categories to add. * @return This builder for chaining. */ - public Builder addCategories( - java.lang.String value) { + public Builder addCategories(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCategoriesIsMutable(); + throw new NullPointerException(); + } + ensureCategoriesIsMutable(); categories_.add(value); onChanged(); return this; } /** + * + * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; + * * @param values The categories to add. * @return This builder for chaining. */ - public Builder addAllCategories( - java.lang.Iterable values) { + public Builder addAllCategories(java.lang.Iterable values) { ensureCategoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, categories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categories_); onChanged(); return this; } /** + * + * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; + * * @return This builder for chaining. */ public Builder clearCategories() { @@ -22557,66 +25633,78 @@ public Builder clearCategories() { return this; } /** + * + * *
        * Install only patches with these categories.
        * Common categories include security, recommended, and feature.
        * 
* * repeated string categories = 3; + * * @param value The bytes of the categories to add. * @return This builder for chaining. */ - public Builder addCategoriesBytes( - com.google.protobuf.ByteString value) { + public Builder addCategoriesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCategoriesIsMutable(); categories_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList severities_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList severities_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureSeveritiesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { severities_ = new com.google.protobuf.LazyStringArrayList(severities_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; + * * @return A list containing the severities. */ - public com.google.protobuf.ProtocolStringList - getSeveritiesList() { + public com.google.protobuf.ProtocolStringList getSeveritiesList() { return severities_.getUnmodifiableView(); } /** + * + * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; + * * @return The count of severities. */ public int getSeveritiesCount() { return severities_.size(); } /** + * + * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; + * * @param index The index of the element to return. * @return The severities at the given index. */ @@ -22624,85 +25712,95 @@ public java.lang.String getSeverities(int index) { return severities_.get(index); } /** + * + * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; + * * @param index The index of the value to return. * @return The bytes of the severities at the given index. */ - public com.google.protobuf.ByteString - getSeveritiesBytes(int index) { + public com.google.protobuf.ByteString getSeveritiesBytes(int index) { return severities_.getByteString(index); } /** + * + * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; + * * @param index The index to set the value at. * @param value The severities to set. * @return This builder for chaining. */ - public Builder setSeverities( - int index, java.lang.String value) { + public Builder setSeverities(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSeveritiesIsMutable(); + throw new NullPointerException(); + } + ensureSeveritiesIsMutable(); severities_.set(index, value); onChanged(); return this; } /** + * + * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; + * * @param value The severities to add. * @return This builder for chaining. */ - public Builder addSeverities( - java.lang.String value) { + public Builder addSeverities(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSeveritiesIsMutable(); + throw new NullPointerException(); + } + ensureSeveritiesIsMutable(); severities_.add(value); onChanged(); return this; } /** + * + * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; + * * @param values The severities to add. * @return This builder for chaining. */ - public Builder addAllSeverities( - java.lang.Iterable values) { + public Builder addAllSeverities(java.lang.Iterable values) { ensureSeveritiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, severities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, severities_); onChanged(); return this; } /** + * + * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; + * * @return This builder for chaining. */ public Builder clearSeverities() { @@ -22712,63 +25810,75 @@ public Builder clearSeverities() { return this; } /** + * + * *
        * Install only patches with these severities.
        * Common severities include critical, important, moderate, and low.
        * 
* * repeated string severities = 4; + * * @param value The bytes of the severities to add. * @return This builder for chaining. */ - public Builder addSeveritiesBytes( - com.google.protobuf.ByteString value) { + public Builder addSeveritiesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSeveritiesIsMutable(); severities_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList excludes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExcludesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { excludes_ = new com.google.protobuf.LazyStringArrayList(excludes_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; + * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList - getExcludesList() { + public com.google.protobuf.ProtocolStringList getExcludesList() { return excludes_.getUnmodifiableView(); } /** + * + * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; + * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** + * + * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; + * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -22776,80 +25886,90 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** + * + * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString - getExcludesBytes(int index) { + public com.google.protobuf.ByteString getExcludesBytes(int index) { return excludes_.getByteString(index); } /** + * + * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; + * * @param index The index to set the value at. * @param value The excludes to set. * @return This builder for chaining. */ - public Builder setExcludes( - int index, java.lang.String value) { + public Builder setExcludes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.set(index, value); onChanged(); return this; } /** + * + * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; + * * @param value The excludes to add. * @return This builder for chaining. */ - public Builder addExcludes( - java.lang.String value) { + public Builder addExcludes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } /** + * + * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; + * * @param values The excludes to add. * @return This builder for chaining. */ - public Builder addAllExcludes( - java.lang.Iterable values) { + public Builder addAllExcludes(java.lang.Iterable values) { ensureExcludesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, excludes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludes_); onChanged(); return this; } /** + * + * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; + * * @return This builder for chaining. */ public Builder clearExcludes() { @@ -22859,34 +25979,40 @@ public Builder clearExcludes() { return this; } /** + * + * *
        * List of patches to exclude from update.
        * 
* * repeated string excludes = 5; + * * @param value The bytes of the excludes to add. * @return This builder for chaining. */ - public Builder addExcludesBytes( - com.google.protobuf.ByteString value) { + public Builder addExcludesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList exclusivePatches_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList exclusivePatches_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExclusivePatchesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { exclusivePatches_ = new com.google.protobuf.LazyStringArrayList(exclusivePatches_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -22894,13 +26020,15 @@ private void ensureExclusivePatchesIsMutable() {
        * 
* * repeated string exclusive_patches = 6; + * * @return A list containing the exclusivePatches. */ - public com.google.protobuf.ProtocolStringList - getExclusivePatchesList() { + public com.google.protobuf.ProtocolStringList getExclusivePatchesList() { return exclusivePatches_.getUnmodifiableView(); } /** + * + * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -22908,12 +26036,15 @@ private void ensureExclusivePatchesIsMutable() {
        * 
* * repeated string exclusive_patches = 6; + * * @return The count of exclusivePatches. */ public int getExclusivePatchesCount() { return exclusivePatches_.size(); } /** + * + * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -22921,6 +26052,7 @@ public int getExclusivePatchesCount() {
        * 
* * repeated string exclusive_patches = 6; + * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ @@ -22928,6 +26060,8 @@ public java.lang.String getExclusivePatches(int index) { return exclusivePatches_.get(index); } /** + * + * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -22935,14 +26069,16 @@ public java.lang.String getExclusivePatches(int index) {
        * 
* * repeated string exclusive_patches = 6; + * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - public com.google.protobuf.ByteString - getExclusivePatchesBytes(int index) { + public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) { return exclusivePatches_.getByteString(index); } /** + * + * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -22950,21 +26086,23 @@ public java.lang.String getExclusivePatches(int index) {
        * 
* * repeated string exclusive_patches = 6; + * * @param index The index to set the value at. * @param value The exclusivePatches to set. * @return This builder for chaining. */ - public Builder setExclusivePatches( - int index, java.lang.String value) { + public Builder setExclusivePatches(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePatchesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePatchesIsMutable(); exclusivePatches_.set(index, value); onChanged(); return this; } /** + * + * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -22972,20 +26110,22 @@ public Builder setExclusivePatches(
        * 
* * repeated string exclusive_patches = 6; + * * @param value The exclusivePatches to add. * @return This builder for chaining. */ - public Builder addExclusivePatches( - java.lang.String value) { + public Builder addExclusivePatches(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePatchesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePatchesIsMutable(); exclusivePatches_.add(value); onChanged(); return this; } /** + * + * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -22993,18 +26133,19 @@ public Builder addExclusivePatches(
        * 
* * repeated string exclusive_patches = 6; + * * @param values The exclusivePatches to add. * @return This builder for chaining. */ - public Builder addAllExclusivePatches( - java.lang.Iterable values) { + public Builder addAllExclusivePatches(java.lang.Iterable values) { ensureExclusivePatchesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, exclusivePatches_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusivePatches_); onChanged(); return this; } /** + * + * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -23012,6 +26153,7 @@ public Builder addAllExclusivePatches(
        * 
* * repeated string exclusive_patches = 6; + * * @return This builder for chaining. */ public Builder clearExclusivePatches() { @@ -23021,6 +26163,8 @@ public Builder clearExclusivePatches() { return this; } /** + * + * *
        * An exclusive list of patches to be updated. These are the only patches
        * that will be installed using 'zypper patch patch:<patch_name>' command.
@@ -23028,20 +26172,21 @@ public Builder clearExclusivePatches() {
        * 
* * repeated string exclusive_patches = 6; + * * @param value The bytes of the exclusivePatches to add. * @return This builder for chaining. */ - public Builder addExclusivePatchesBytes( - com.google.protobuf.ByteString value) { + public Builder addExclusivePatchesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExclusivePatchesIsMutable(); exclusivePatches_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -23054,12 +26199,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ZypperSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ZypperSettings) private static final com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings(); } @@ -23068,16 +26213,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ZypperSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ZypperSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ZypperSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ZypperSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -23092,109 +26237,147 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface WindowsUpdateSettingsOrBuilder extends + public interface WindowsUpdateSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.WindowsUpdateSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return A list containing the classifications. */ - java.util.List getClassificationsList(); + java.util.List + getClassificationsList(); /** + * + * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return The count of classifications. */ int getClassificationsCount(); /** + * + * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param index The index of the element to return. * @return The classifications at the given index. */ - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification getClassifications(int index); + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification + getClassifications(int index); /** + * + * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return A list containing the enum numeric values on the wire for classifications. */ - java.util.List - getClassificationsValueList(); + java.util.List getClassificationsValueList(); /** + * + * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of classifications at the given index. */ int getClassificationsValue(int index); /** + * + * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; + * * @return A list containing the excludes. */ - java.util.List - getExcludesList(); + java.util.List getExcludesList(); /** + * + * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; + * * @return The count of excludes. */ int getExcludesCount(); /** + * + * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; + * * @param index The index of the element to return. * @return The excludes at the given index. */ java.lang.String getExcludes(int index); /** + * + * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - com.google.protobuf.ByteString - getExcludesBytes(int index); + com.google.protobuf.ByteString getExcludesBytes(int index); /** + * + * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -23202,11 +26385,13 @@ public interface WindowsUpdateSettingsOrBuilder extends
      * 
* * repeated string exclusive_patches = 3; + * * @return A list containing the exclusivePatches. */ - java.util.List - getExclusivePatchesList(); + java.util.List getExclusivePatchesList(); /** + * + * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -23214,10 +26399,13 @@ public interface WindowsUpdateSettingsOrBuilder extends
      * 
* * repeated string exclusive_patches = 3; + * * @return The count of exclusivePatches. */ int getExclusivePatchesCount(); /** + * + * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -23225,11 +26413,14 @@ public interface WindowsUpdateSettingsOrBuilder extends
      * 
* * repeated string exclusive_patches = 3; + * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ java.lang.String getExclusivePatches(int index); /** + * + * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -23237,28 +26428,31 @@ public interface WindowsUpdateSettingsOrBuilder extends
      * 
* * repeated string exclusive_patches = 3; + * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - com.google.protobuf.ByteString - getExclusivePatchesBytes(int index); + com.google.protobuf.ByteString getExclusivePatchesBytes(int index); } /** + * + * *
    * Windows patching is performed using the Windows Update Agent.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.WindowsUpdateSettings} */ - public static final class WindowsUpdateSettings extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class WindowsUpdateSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.WindowsUpdateSettings) WindowsUpdateSettingsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WindowsUpdateSettings.newBuilder() to construct. private WindowsUpdateSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WindowsUpdateSettings() { classifications_ = java.util.Collections.emptyList(); excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -23267,16 +26461,15 @@ private WindowsUpdateSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WindowsUpdateSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WindowsUpdateSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -23296,54 +26489,58 @@ private WindowsUpdateSettings( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - classifications_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - classifications_.add(rawValue); - break; - } - case 10: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 8: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { classifications_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } classifications_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - excludes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + case 10: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + classifications_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + classifications_.add(rawValue); + } + input.popLimit(oldLimit); + break; } - excludes_.add(s); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - exclusivePatches_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + excludes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + excludes_.add(s); + break; } - exclusivePatches_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + exclusivePatches_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; + } + exclusivePatches_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -23351,8 +26548,7 @@ private WindowsUpdateSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { classifications_ = java.util.Collections.unmodifiableList(classifications_); @@ -23367,20 +26563,25 @@ private WindowsUpdateSettings( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.class, + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder.class); } /** + * + * *
      * Microsoft Windows update classifications as defined in
      * [1]
@@ -23389,9 +26590,10 @@ private WindowsUpdateSettings(
      *
      * Protobuf enum {@code google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification}
      */
-    public enum Classification
-        implements com.google.protobuf.ProtocolMessageEnum {
+    public enum Classification implements com.google.protobuf.ProtocolMessageEnum {
       /**
+       *
+       *
        * 
        * Invalid. If classifications are included, they must be specified.
        * 
@@ -23400,6 +26602,8 @@ public enum Classification */ CLASSIFICATION_UNSPECIFIED(0), /** + * + * *
        * "A widely released fix for a specific problem that addresses a critical,
        * non-security-related bug." [1]
@@ -23409,6 +26613,8 @@ public enum Classification
        */
       CRITICAL(1),
       /**
+       *
+       *
        * 
        * "A widely released fix for a product-specific, security-related
        * vulnerability. Security vulnerabilities are rated by their severity. The
@@ -23420,6 +26626,8 @@ public enum Classification
        */
       SECURITY(2),
       /**
+       *
+       *
        * 
        * "A widely released and frequent software update that contains additions
        * to a product's definition database. Definition databases are often used
@@ -23431,6 +26639,8 @@ public enum Classification
        */
       DEFINITION(3),
       /**
+       *
+       *
        * 
        * "Software that controls the input and output of a device." [1]
        * 
@@ -23439,6 +26649,8 @@ public enum Classification */ DRIVER(4), /** + * + * *
        * "New product functionality that is first distributed outside the context
        * of a product release and that is typically included in the next full
@@ -23449,6 +26661,8 @@ public enum Classification
        */
       FEATURE_PACK(5),
       /**
+       *
+       *
        * 
        * "A tested, cumulative set of all hotfixes, security updates, critical
        * updates, and updates. Additionally, service packs may contain additional
@@ -23461,6 +26675,8 @@ public enum Classification
        */
       SERVICE_PACK(6),
       /**
+       *
+       *
        * 
        * "A utility or feature that helps complete a task or set of tasks." [1]
        * 
@@ -23469,6 +26685,8 @@ public enum Classification */ TOOL(7), /** + * + * *
        * "A tested, cumulative set of hotfixes, security updates, critical
        * updates, and updates that are packaged together for easy deployment. A
@@ -23480,6 +26698,8 @@ public enum Classification
        */
       UPDATE_ROLLUP(8),
       /**
+       *
+       *
        * 
        * "A widely released fix for a specific problem. An update addresses a
        * noncritical, non-security-related bug." [1]
@@ -23492,6 +26712,8 @@ public enum Classification
       ;
 
       /**
+       *
+       *
        * 
        * Invalid. If classifications are included, they must be specified.
        * 
@@ -23500,6 +26722,8 @@ public enum Classification */ public static final int CLASSIFICATION_UNSPECIFIED_VALUE = 0; /** + * + * *
        * "A widely released fix for a specific problem that addresses a critical,
        * non-security-related bug." [1]
@@ -23509,6 +26733,8 @@ public enum Classification
        */
       public static final int CRITICAL_VALUE = 1;
       /**
+       *
+       *
        * 
        * "A widely released fix for a product-specific, security-related
        * vulnerability. Security vulnerabilities are rated by their severity. The
@@ -23520,6 +26746,8 @@ public enum Classification
        */
       public static final int SECURITY_VALUE = 2;
       /**
+       *
+       *
        * 
        * "A widely released and frequent software update that contains additions
        * to a product's definition database. Definition databases are often used
@@ -23531,6 +26759,8 @@ public enum Classification
        */
       public static final int DEFINITION_VALUE = 3;
       /**
+       *
+       *
        * 
        * "Software that controls the input and output of a device." [1]
        * 
@@ -23539,6 +26769,8 @@ public enum Classification */ public static final int DRIVER_VALUE = 4; /** + * + * *
        * "New product functionality that is first distributed outside the context
        * of a product release and that is typically included in the next full
@@ -23549,6 +26781,8 @@ public enum Classification
        */
       public static final int FEATURE_PACK_VALUE = 5;
       /**
+       *
+       *
        * 
        * "A tested, cumulative set of all hotfixes, security updates, critical
        * updates, and updates. Additionally, service packs may contain additional
@@ -23561,6 +26795,8 @@ public enum Classification
        */
       public static final int SERVICE_PACK_VALUE = 6;
       /**
+       *
+       *
        * 
        * "A utility or feature that helps complete a task or set of tasks." [1]
        * 
@@ -23569,6 +26805,8 @@ public enum Classification */ public static final int TOOL_VALUE = 7; /** + * + * *
        * "A tested, cumulative set of hotfixes, security updates, critical
        * updates, and updates that are packaged together for easy deployment. A
@@ -23580,6 +26818,8 @@ public enum Classification
        */
       public static final int UPDATE_ROLLUP_VALUE = 8;
       /**
+       *
+       *
        * 
        * "A widely released fix for a specific problem. An update addresses a
        * noncritical, non-security-related bug." [1]
@@ -23589,7 +26829,6 @@ public enum Classification
        */
       public static final int UPDATE_VALUE = 9;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -23614,47 +26853,59 @@ public static Classification valueOf(int value) {
        */
       public static Classification forNumber(int value) {
         switch (value) {
-          case 0: return CLASSIFICATION_UNSPECIFIED;
-          case 1: return CRITICAL;
-          case 2: return SECURITY;
-          case 3: return DEFINITION;
-          case 4: return DRIVER;
-          case 5: return FEATURE_PACK;
-          case 6: return SERVICE_PACK;
-          case 7: return TOOL;
-          case 8: return UPDATE_ROLLUP;
-          case 9: return UPDATE;
-          default: return null;
-        }
-      }
-
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+          case 0:
+            return CLASSIFICATION_UNSPECIFIED;
+          case 1:
+            return CRITICAL;
+          case 2:
+            return SECURITY;
+          case 3:
+            return DEFINITION;
+          case 4:
+            return DRIVER;
+          case 5:
+            return FEATURE_PACK;
+          case 6:
+            return SERVICE_PACK;
+          case 7:
+            return TOOL;
+          case 8:
+            return UPDATE_ROLLUP;
+          case 9:
+            return UPDATE;
+          default:
+            return null;
+        }
+      }
+
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          Classification> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public Classification findValueByNumber(int number) {
-                return Classification.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap
+          internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap() {
+                public Classification findValueByNumber(int number) {
+                  return Classification.forNumber(number);
+                }
+              };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final Classification[] VALUES = values();
@@ -23662,8 +26913,7 @@ public Classification findValueByNumber(int number) {
       public static Classification valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -23683,36 +26933,60 @@ private Classification(int value) {
     public static final int CLASSIFICATIONS_FIELD_NUMBER = 1;
     private java.util.List classifications_;
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-        java.lang.Integer, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification> classifications_converter_ =
+            java.lang.Integer,
+            com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification>
+        classifications_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
-                java.lang.Integer, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification>() {
-              public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification convert(java.lang.Integer from) {
+                java.lang.Integer,
+                com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification>() {
+              public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification
+                  convert(java.lang.Integer from) {
                 @SuppressWarnings("deprecation")
-                com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification result = com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification.valueOf(from);
-                return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification.UNRECOGNIZED : result;
+                com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification
+                    result =
+                        com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings
+                            .Classification.valueOf(from);
+                return result == null
+                    ? com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings
+                        .Classification.UNRECOGNIZED
+                    : result;
               }
             };
     /**
+     *
+     *
      * 
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return A list containing the classifications. */ @java.lang.Override - public java.util.List getClassificationsList() { + public java.util.List< + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification> + getClassificationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification>(classifications_, classifications_converter_); + java.lang.Integer, + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification>( + classifications_, classifications_converter_); } /** + * + * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return The count of classifications. */ @java.lang.Override @@ -23720,40 +26994,55 @@ public int getClassificationsCount() { return classifications_.size(); } /** + * + * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param index The index of the element to return. * @return The classifications at the given index. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification getClassifications(int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification + getClassifications(int index) { return classifications_converter_.convert(classifications_.get(index)); } /** + * + * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return A list containing the enum numeric values on the wire for classifications. */ @java.lang.Override - public java.util.List - getClassificationsValueList() { + public java.util.List getClassificationsValueList() { return classifications_; } /** + * + * *
      * Only apply updates of these windows update classifications. If empty, all
      * updates are applied.
      * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of classifications at the given index. */ @@ -23761,39 +27050,48 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classifi public int getClassificationsValue(int index) { return classifications_.get(index); } + private int classificationsMemoizedSerializedSize; public static final int EXCLUDES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList excludes_; /** + * + * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; + * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList - getExcludesList() { + public com.google.protobuf.ProtocolStringList getExcludesList() { return excludes_; } /** + * + * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; + * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** + * + * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; + * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -23801,22 +27099,26 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** + * + * *
      * List of KBs to exclude from update.
      * 
* * repeated string excludes = 2; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString - getExcludesBytes(int index) { + public com.google.protobuf.ByteString getExcludesBytes(int index) { return excludes_.getByteString(index); } public static final int EXCLUSIVE_PATCHES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList exclusivePatches_; /** + * + * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -23824,13 +27126,15 @@ public java.lang.String getExcludes(int index) {
      * 
* * repeated string exclusive_patches = 3; + * * @return A list containing the exclusivePatches. */ - public com.google.protobuf.ProtocolStringList - getExclusivePatchesList() { + public com.google.protobuf.ProtocolStringList getExclusivePatchesList() { return exclusivePatches_; } /** + * + * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -23838,12 +27142,15 @@ public java.lang.String getExcludes(int index) {
      * 
* * repeated string exclusive_patches = 3; + * * @return The count of exclusivePatches. */ public int getExclusivePatchesCount() { return exclusivePatches_.size(); } /** + * + * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -23851,6 +27158,7 @@ public int getExclusivePatchesCount() {
      * 
* * repeated string exclusive_patches = 3; + * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ @@ -23858,6 +27166,8 @@ public java.lang.String getExclusivePatches(int index) { return exclusivePatches_.get(index); } /** + * + * *
      * An exclusive list of kbs to be updated. These are the only patches
      * that will be updated. This field must not be used with other
@@ -23865,15 +27175,16 @@ public java.lang.String getExclusivePatches(int index) {
      * 
* * repeated string exclusive_patches = 3; + * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - public com.google.protobuf.ByteString - getExclusivePatchesBytes(int index) { + public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) { return exclusivePatches_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -23885,8 +27196,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getClassificationsList().size() > 0) { output.writeUInt32NoTag(10); @@ -23913,14 +27223,15 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < classifications_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(classifications_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(classifications_.get(i)); } size += dataSize; - if (!getClassificationsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }classificationsMemoizedSerializedSize = dataSize; + if (!getClassificationsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + classificationsMemoizedSerializedSize = dataSize; } { int dataSize = 0; @@ -23946,18 +27257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings other = (com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings other = + (com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings) obj; if (!classifications_.equals(other.classifications_)) return false; - if (!getExcludesList() - .equals(other.getExcludesList())) return false; - if (!getExclusivePatchesList() - .equals(other.getExclusivePatchesList())) return false; + if (!getExcludesList().equals(other.getExcludesList())) return false; + if (!getExclusivePatchesList().equals(other.getExclusivePatchesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -23987,87 +27297,95 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings 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.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings 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.osconfig.v1beta.PatchJobs.WindowsUpdateSettings + 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.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -24077,44 +27395,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Windows patching is performed using the Windows Update Agent.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.WindowsUpdateSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.WindowsUpdateSettings) com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.class, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.class, + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder.class); } - // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.newBuilder() + // Construct using + // com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -24128,14 +27451,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor; } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings getDefaultInstanceForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.getDefaultInstance(); + public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings + getDefaultInstanceForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings + .getDefaultInstance(); } @java.lang.Override @@ -24149,7 +27474,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings build() @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings result = new com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings(this); + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings result = + new com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { classifications_ = java.util.Collections.unmodifiableList(classifications_); @@ -24174,46 +27500,53 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.WindowsUpdateSettings) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings)other); + return mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings other) { - if (other == com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings other) { + if (other + == com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings + .getDefaultInstance()) return this; if (!other.classifications_.isEmpty()) { if (classifications_.isEmpty()) { classifications_ = other.classifications_; @@ -24263,7 +27596,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -24272,10 +27607,12 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List classifications_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureClassificationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { classifications_ = new java.util.ArrayList(classifications_); @@ -24283,56 +27620,82 @@ private void ensureClassificationsIsMutable() { } } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return A list containing the classifications. */ - public java.util.List getClassificationsList() { + public java.util.List< + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification> + getClassificationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification>(classifications_, classifications_converter_); + java.lang.Integer, + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification>( + classifications_, classifications_converter_); } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return The count of classifications. */ public int getClassificationsCount() { return classifications_.size(); } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param index The index of the element to return. * @return The classifications at the given index. */ - public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification getClassifications(int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification + getClassifications(int index) { return classifications_converter_.convert(classifications_.get(index)); } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param index The index to set the value at. * @param value The classifications to set. * @return This builder for chaining. */ public Builder setClassifications( - int index, com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification value) { + int index, + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification value) { if (value == null) { throw new NullPointerException(); } @@ -24342,16 +27705,22 @@ public Builder setClassifications( return this; } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param value The classifications to add. * @return This builder for chaining. */ - public Builder addClassifications(com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification value) { + public Builder addClassifications( + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification value) { if (value == null) { throw new NullPointerException(); } @@ -24361,31 +27730,46 @@ public Builder addClassifications(com.google.cloud.osconfig.v1beta.PatchJobs.Win return this; } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param values The classifications to add. * @return This builder for chaining. */ public Builder addAllClassifications( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings + .Classification> + values) { ensureClassificationsIsMutable(); - for (com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification value : values) { + for (com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Classification value : + values) { classifications_.add(value.getNumber()); } onChanged(); return this; } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return This builder for chaining. */ public Builder clearClassifications() { @@ -24395,25 +27779,34 @@ public Builder clearClassifications() { return this; } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @return A list containing the enum numeric values on the wire for classifications. */ - public java.util.List - getClassificationsValueList() { + public java.util.List getClassificationsValueList() { return java.util.Collections.unmodifiableList(classifications_); } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of classifications at the given index. */ @@ -24421,30 +27814,39 @@ public int getClassificationsValue(int index) { return classifications_.get(index); } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of classifications at the given index. * @return This builder for chaining. */ - public Builder setClassificationsValue( - int index, int value) { + public Builder setClassificationsValue(int index, int value) { ensureClassificationsIsMutable(); classifications_.set(index, value); onChanged(); return this; } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param value The enum numeric value on the wire for classifications to add. * @return This builder for chaining. */ @@ -24455,17 +27857,21 @@ public Builder addClassificationsValue(int value) { return this; } /** + * + * *
        * Only apply updates of these windows update classifications. If empty, all
        * updates are applied.
        * 
* - * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1; + * + * * @param values The enum numeric values on the wire for classifications to add. * @return This builder for chaining. */ - public Builder addAllClassificationsValue( - java.lang.Iterable values) { + public Builder addAllClassificationsValue(java.lang.Iterable values) { ensureClassificationsIsMutable(); for (int value : values) { classifications_.add(value); @@ -24474,42 +27880,52 @@ public Builder addAllClassificationsValue( return this; } - private com.google.protobuf.LazyStringList excludes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList excludes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExcludesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { excludes_ = new com.google.protobuf.LazyStringArrayList(excludes_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; + * * @return A list containing the excludes. */ - public com.google.protobuf.ProtocolStringList - getExcludesList() { + public com.google.protobuf.ProtocolStringList getExcludesList() { return excludes_.getUnmodifiableView(); } /** + * + * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; + * * @return The count of excludes. */ public int getExcludesCount() { return excludes_.size(); } /** + * + * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; + * * @param index The index of the element to return. * @return The excludes at the given index. */ @@ -24517,80 +27933,90 @@ public java.lang.String getExcludes(int index) { return excludes_.get(index); } /** + * + * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; + * * @param index The index of the value to return. * @return The bytes of the excludes at the given index. */ - public com.google.protobuf.ByteString - getExcludesBytes(int index) { + public com.google.protobuf.ByteString getExcludesBytes(int index) { return excludes_.getByteString(index); } /** + * + * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; + * * @param index The index to set the value at. * @param value The excludes to set. * @return This builder for chaining. */ - public Builder setExcludes( - int index, java.lang.String value) { + public Builder setExcludes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.set(index, value); onChanged(); return this; } /** + * + * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; + * * @param value The excludes to add. * @return This builder for chaining. */ - public Builder addExcludes( - java.lang.String value) { + public Builder addExcludes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludesIsMutable(); + throw new NullPointerException(); + } + ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } /** + * + * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; + * * @param values The excludes to add. * @return This builder for chaining. */ - public Builder addAllExcludes( - java.lang.Iterable values) { + public Builder addAllExcludes(java.lang.Iterable values) { ensureExcludesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, excludes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludes_); onChanged(); return this; } /** + * + * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; + * * @return This builder for chaining. */ public Builder clearExcludes() { @@ -24600,34 +28026,40 @@ public Builder clearExcludes() { return this; } /** + * + * *
        * List of KBs to exclude from update.
        * 
* * repeated string excludes = 2; + * * @param value The bytes of the excludes to add. * @return This builder for chaining. */ - public Builder addExcludesBytes( - com.google.protobuf.ByteString value) { + public Builder addExcludesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludesIsMutable(); excludes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList exclusivePatches_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList exclusivePatches_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExclusivePatchesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { exclusivePatches_ = new com.google.protobuf.LazyStringArrayList(exclusivePatches_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -24635,13 +28067,15 @@ private void ensureExclusivePatchesIsMutable() {
        * 
* * repeated string exclusive_patches = 3; + * * @return A list containing the exclusivePatches. */ - public com.google.protobuf.ProtocolStringList - getExclusivePatchesList() { + public com.google.protobuf.ProtocolStringList getExclusivePatchesList() { return exclusivePatches_.getUnmodifiableView(); } /** + * + * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -24649,12 +28083,15 @@ private void ensureExclusivePatchesIsMutable() {
        * 
* * repeated string exclusive_patches = 3; + * * @return The count of exclusivePatches. */ public int getExclusivePatchesCount() { return exclusivePatches_.size(); } /** + * + * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -24662,6 +28099,7 @@ public int getExclusivePatchesCount() {
        * 
* * repeated string exclusive_patches = 3; + * * @param index The index of the element to return. * @return The exclusivePatches at the given index. */ @@ -24669,6 +28107,8 @@ public java.lang.String getExclusivePatches(int index) { return exclusivePatches_.get(index); } /** + * + * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -24676,14 +28116,16 @@ public java.lang.String getExclusivePatches(int index) {
        * 
* * repeated string exclusive_patches = 3; + * * @param index The index of the value to return. * @return The bytes of the exclusivePatches at the given index. */ - public com.google.protobuf.ByteString - getExclusivePatchesBytes(int index) { + public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) { return exclusivePatches_.getByteString(index); } /** + * + * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -24691,21 +28133,23 @@ public java.lang.String getExclusivePatches(int index) {
        * 
* * repeated string exclusive_patches = 3; + * * @param index The index to set the value at. * @param value The exclusivePatches to set. * @return This builder for chaining. */ - public Builder setExclusivePatches( - int index, java.lang.String value) { + public Builder setExclusivePatches(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePatchesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePatchesIsMutable(); exclusivePatches_.set(index, value); onChanged(); return this; } /** + * + * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -24713,20 +28157,22 @@ public Builder setExclusivePatches(
        * 
* * repeated string exclusive_patches = 3; + * * @param value The exclusivePatches to add. * @return This builder for chaining. */ - public Builder addExclusivePatches( - java.lang.String value) { + public Builder addExclusivePatches(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExclusivePatchesIsMutable(); + throw new NullPointerException(); + } + ensureExclusivePatchesIsMutable(); exclusivePatches_.add(value); onChanged(); return this; } /** + * + * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -24734,18 +28180,19 @@ public Builder addExclusivePatches(
        * 
* * repeated string exclusive_patches = 3; + * * @param values The exclusivePatches to add. * @return This builder for chaining. */ - public Builder addAllExclusivePatches( - java.lang.Iterable values) { + public Builder addAllExclusivePatches(java.lang.Iterable values) { ensureExclusivePatchesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, exclusivePatches_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusivePatches_); onChanged(); return this; } /** + * + * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -24753,6 +28200,7 @@ public Builder addAllExclusivePatches(
        * 
* * repeated string exclusive_patches = 3; + * * @return This builder for chaining. */ public Builder clearExclusivePatches() { @@ -24762,6 +28210,8 @@ public Builder clearExclusivePatches() { return this; } /** + * + * *
        * An exclusive list of kbs to be updated. These are the only patches
        * that will be updated. This field must not be used with other
@@ -24769,20 +28219,21 @@ public Builder clearExclusivePatches() {
        * 
* * repeated string exclusive_patches = 3; + * * @param value The bytes of the exclusivePatches to add. * @return This builder for chaining. */ - public Builder addExclusivePatchesBytes( - com.google.protobuf.ByteString value) { + public Builder addExclusivePatchesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExclusivePatchesIsMutable(); exclusivePatches_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -24795,30 +28246,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.WindowsUpdateSettings) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.WindowsUpdateSettings) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsUpdateSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WindowsUpdateSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsUpdateSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WindowsUpdateSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -24830,101 +28283,121 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ExecStepOrBuilder extends + public interface ExecStepOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ExecStep) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; + * * @return Whether the linuxExecStepConfig field is set. */ boolean hasLinuxExecStepConfig(); /** + * + * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; + * * @return The linuxExecStepConfig. */ com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getLinuxExecStepConfig(); /** + * + * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; */ - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder getLinuxExecStepConfigOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder + getLinuxExecStepConfigOrBuilder(); /** + * + * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; + * * @return Whether the windowsExecStepConfig field is set. */ boolean hasWindowsExecStepConfig(); /** + * + * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; + * * @return The windowsExecStepConfig. */ com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getWindowsExecStepConfig(); /** + * + * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; */ - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder getWindowsExecStepConfigOrBuilder(); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder + getWindowsExecStepConfigOrBuilder(); } /** + * + * *
    * A step that runs an executable for a PatchJob.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ExecStep} */ - public static final class ExecStep extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ExecStep extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ExecStep) ExecStepOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecStep.newBuilder() to construct. private ExecStep(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExecStep() { - } + + private ExecStep() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExecStep(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExecStep( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -24943,39 +28416,47 @@ private ExecStep( case 0: done = true; break; - case 10: { - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder subBuilder = null; - if (linuxExecStepConfig_ != null) { - subBuilder = linuxExecStepConfig_.toBuilder(); - } - linuxExecStepConfig_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(linuxExecStepConfig_); - linuxExecStepConfig_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder subBuilder = null; + if (linuxExecStepConfig_ != null) { + subBuilder = linuxExecStepConfig_.toBuilder(); + } + linuxExecStepConfig_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(linuxExecStepConfig_); + linuxExecStepConfig_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder subBuilder = null; - if (windowsExecStepConfig_ != null) { - subBuilder = windowsExecStepConfig_.toBuilder(); - } - windowsExecStepConfig_ = input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(windowsExecStepConfig_); - windowsExecStepConfig_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder subBuilder = null; + if (windowsExecStepConfig_ != null) { + subBuilder = windowsExecStepConfig_.toBuilder(); + } + windowsExecStepConfig_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(windowsExecStepConfig_); + windowsExecStepConfig_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -24983,34 +28464,39 @@ private ExecStep( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStep_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ExecStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.class, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.class, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder.class); } public static final int LINUX_EXEC_STEP_CONFIG_FIELD_NUMBER = 1; private com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig linuxExecStepConfig_; /** + * + * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; + * * @return Whether the linuxExecStepConfig field is set. */ @java.lang.Override @@ -25018,18 +28504,25 @@ public boolean hasLinuxExecStepConfig() { return linuxExecStepConfig_ != null; } /** + * + * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; + * * @return The linuxExecStepConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getLinuxExecStepConfig() { - return linuxExecStepConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() : linuxExecStepConfig_; + return linuxExecStepConfig_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() + : linuxExecStepConfig_; } /** + * + * *
      * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
      * 
@@ -25037,18 +28530,22 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getLinuxExecSte * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder getLinuxExecStepConfigOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder + getLinuxExecStepConfigOrBuilder() { return getLinuxExecStepConfig(); } public static final int WINDOWS_EXEC_STEP_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig windowsExecStepConfig_; /** + * + * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; + * * @return Whether the windowsExecStepConfig field is set. */ @java.lang.Override @@ -25056,18 +28553,25 @@ public boolean hasWindowsExecStepConfig() { return windowsExecStepConfig_ != null; } /** + * + * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; + * * @return The windowsExecStepConfig. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getWindowsExecStepConfig() { - return windowsExecStepConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() : windowsExecStepConfig_; + return windowsExecStepConfig_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() + : windowsExecStepConfig_; } /** + * + * *
      * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
      * 
@@ -25075,11 +28579,13 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getWindowsExecS * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder getWindowsExecStepConfigOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder + getWindowsExecStepConfigOrBuilder() { return getWindowsExecStepConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -25091,8 +28597,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (linuxExecStepConfig_ != null) { output.writeMessage(1, getLinuxExecStepConfig()); } @@ -25109,12 +28614,12 @@ public int getSerializedSize() { size = 0; if (linuxExecStepConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getLinuxExecStepConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLinuxExecStepConfig()); } if (windowsExecStepConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getWindowsExecStepConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWindowsExecStepConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -25124,22 +28629,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep other = (com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep other = + (com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep) obj; if (hasLinuxExecStepConfig() != other.hasLinuxExecStepConfig()) return false; if (hasLinuxExecStepConfig()) { - if (!getLinuxExecStepConfig() - .equals(other.getLinuxExecStepConfig())) return false; + if (!getLinuxExecStepConfig().equals(other.getLinuxExecStepConfig())) return false; } if (hasWindowsExecStepConfig() != other.hasWindowsExecStepConfig()) return false; if (hasWindowsExecStepConfig()) { - if (!getWindowsExecStepConfig() - .equals(other.getWindowsExecStepConfig())) return false; + if (!getWindowsExecStepConfig().equals(other.getWindowsExecStepConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -25166,87 +28670,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep 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.osconfig.v1beta.PatchJobs.ExecStep parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -25256,27 +28767,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A step that runs an executable for a PatchJob.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ExecStep} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ExecStep) com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStep_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ExecStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.class, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.class, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.Builder.class); } // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.newBuilder() @@ -25284,16 +28800,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -25313,9 +28828,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor; } @java.lang.Override @@ -25334,7 +28849,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep build() { @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep result = new com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep(this); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep result = + new com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep(this); if (linuxExecStepConfigBuilder_ == null) { result.linuxExecStepConfig_ = linuxExecStepConfig_; } else { @@ -25353,38 +28869,41 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.ExecStep) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep)other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep) other); } else { super.mergeFrom(other); return this; @@ -25392,7 +28911,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep other) { - if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep.getDefaultInstance()) + return this; if (other.hasLinuxExecStepConfig()) { mergeLinuxExecStepConfig(other.getLinuxExecStepConfig()); } @@ -25418,7 +28938,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -25430,41 +28951,55 @@ public Builder mergeFrom( private com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig linuxExecStepConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder> linuxExecStepConfigBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder> + linuxExecStepConfigBuilder_; /** + * + * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; + * * @return Whether the linuxExecStepConfig field is set. */ public boolean hasLinuxExecStepConfig() { return linuxExecStepConfigBuilder_ != null || linuxExecStepConfig_ != null; } /** + * + * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; + * * @return The linuxExecStepConfig. */ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getLinuxExecStepConfig() { if (linuxExecStepConfigBuilder_ == null) { - return linuxExecStepConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() : linuxExecStepConfig_; + return linuxExecStepConfig_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() + : linuxExecStepConfig_; } else { return linuxExecStepConfigBuilder_.getMessage(); } } /** + * + * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; */ - public Builder setLinuxExecStepConfig(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig value) { + public Builder setLinuxExecStepConfig( + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig value) { if (linuxExecStepConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -25478,6 +29013,8 @@ public Builder setLinuxExecStepConfig(com.google.cloud.osconfig.v1beta.PatchJobs return this; } /** + * + * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
@@ -25496,17 +29033,23 @@ public Builder setLinuxExecStepConfig( return this; } /** + * + * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; */ - public Builder mergeLinuxExecStepConfig(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig value) { + public Builder mergeLinuxExecStepConfig( + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig value) { if (linuxExecStepConfigBuilder_ == null) { if (linuxExecStepConfig_ != null) { linuxExecStepConfig_ = - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.newBuilder(linuxExecStepConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.newBuilder( + linuxExecStepConfig_) + .mergeFrom(value) + .buildPartial(); } else { linuxExecStepConfig_ = value; } @@ -25518,6 +29061,8 @@ public Builder mergeLinuxExecStepConfig(com.google.cloud.osconfig.v1beta.PatchJo return this; } /** + * + * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
@@ -25536,33 +29081,42 @@ public Builder clearLinuxExecStepConfig() { return this; } /** + * + * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder getLinuxExecStepConfigBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder + getLinuxExecStepConfigBuilder() { + onChanged(); return getLinuxExecStepConfigFieldBuilder().getBuilder(); } /** + * + * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder getLinuxExecStepConfigOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder + getLinuxExecStepConfigOrBuilder() { if (linuxExecStepConfigBuilder_ != null) { return linuxExecStepConfigBuilder_.getMessageOrBuilder(); } else { - return linuxExecStepConfig_ == null ? - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() : linuxExecStepConfig_; + return linuxExecStepConfig_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() + : linuxExecStepConfig_; } } /** + * + * *
        * The ExecStepConfig for all Linux VMs targeted by the PatchJob.
        * 
@@ -25570,14 +29124,17 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder getLin * .google.cloud.osconfig.v1beta.ExecStepConfig linux_exec_step_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder> getLinuxExecStepConfigFieldBuilder() { if (linuxExecStepConfigBuilder_ == null) { - linuxExecStepConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder>( - getLinuxExecStepConfig(), - getParentForChildren(), - isClean()); + linuxExecStepConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder>( + getLinuxExecStepConfig(), getParentForChildren(), isClean()); linuxExecStepConfig_ = null; } return linuxExecStepConfigBuilder_; @@ -25585,41 +29142,55 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder getLin private com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig windowsExecStepConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder> windowsExecStepConfigBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder> + windowsExecStepConfigBuilder_; /** + * + * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; + * * @return Whether the windowsExecStepConfig field is set. */ public boolean hasWindowsExecStepConfig() { return windowsExecStepConfigBuilder_ != null || windowsExecStepConfig_ != null; } /** + * + * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; + * * @return The windowsExecStepConfig. */ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getWindowsExecStepConfig() { if (windowsExecStepConfigBuilder_ == null) { - return windowsExecStepConfig_ == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() : windowsExecStepConfig_; + return windowsExecStepConfig_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() + : windowsExecStepConfig_; } else { return windowsExecStepConfigBuilder_.getMessage(); } } /** + * + * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; */ - public Builder setWindowsExecStepConfig(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig value) { + public Builder setWindowsExecStepConfig( + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig value) { if (windowsExecStepConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -25633,6 +29204,8 @@ public Builder setWindowsExecStepConfig(com.google.cloud.osconfig.v1beta.PatchJo return this; } /** + * + * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
@@ -25651,17 +29224,23 @@ public Builder setWindowsExecStepConfig( return this; } /** + * + * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; */ - public Builder mergeWindowsExecStepConfig(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig value) { + public Builder mergeWindowsExecStepConfig( + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig value) { if (windowsExecStepConfigBuilder_ == null) { if (windowsExecStepConfig_ != null) { windowsExecStepConfig_ = - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.newBuilder(windowsExecStepConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.newBuilder( + windowsExecStepConfig_) + .mergeFrom(value) + .buildPartial(); } else { windowsExecStepConfig_ = value; } @@ -25673,6 +29252,8 @@ public Builder mergeWindowsExecStepConfig(com.google.cloud.osconfig.v1beta.Patch return this; } /** + * + * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
@@ -25691,33 +29272,42 @@ public Builder clearWindowsExecStepConfig() { return this; } /** + * + * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder getWindowsExecStepConfigBuilder() { - + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder + getWindowsExecStepConfigBuilder() { + onChanged(); return getWindowsExecStepConfigFieldBuilder().getBuilder(); } /** + * + * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; */ - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder getWindowsExecStepConfigOrBuilder() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder + getWindowsExecStepConfigOrBuilder() { if (windowsExecStepConfigBuilder_ != null) { return windowsExecStepConfigBuilder_.getMessageOrBuilder(); } else { - return windowsExecStepConfig_ == null ? - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() : windowsExecStepConfig_; + return windowsExecStepConfig_ == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance() + : windowsExecStepConfig_; } } /** + * + * *
        * The ExecStepConfig for all Windows VMs targeted by the PatchJob.
        * 
@@ -25725,18 +29315,22 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder getWin * .google.cloud.osconfig.v1beta.ExecStepConfig windows_exec_step_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder> getWindowsExecStepConfigFieldBuilder() { if (windowsExecStepConfigBuilder_ == null) { - windowsExecStepConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder>( - getWindowsExecStepConfig(), - getParentForChildren(), - isClean()); + windowsExecStepConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder>( + getWindowsExecStepConfig(), getParentForChildren(), isClean()); windowsExecStepConfig_ = null; } return windowsExecStepConfigBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -25749,12 +29343,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ExecStep) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ExecStep) private static final com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep(); } @@ -25763,16 +29357,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecStep parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecStep(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecStep parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecStep(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -25787,61 +29381,77 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStep getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ExecStepConfigOrBuilder extends + public interface ExecStepConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.ExecStepConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; + * * @return Whether the localPath field is set. */ boolean hasLocalPath(); /** + * + * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; + * * @return The localPath. */ java.lang.String getLocalPath(); /** + * + * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; + * * @return The bytes for localPath. */ - com.google.protobuf.ByteString - getLocalPathBytes(); + com.google.protobuf.ByteString getLocalPathBytes(); /** + * + * *
      * A Google Cloud Storage object containing the executable.
      * 
* * .google.cloud.osconfig.v1beta.GcsObject gcs_object = 2; + * * @return Whether the gcsObject field is set. */ boolean hasGcsObject(); /** + * + * *
      * A Google Cloud Storage object containing the executable.
      * 
* * .google.cloud.osconfig.v1beta.GcsObject gcs_object = 2; + * * @return The gcsObject. */ com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject getGcsObject(); /** + * + * *
      * A Google Cloud Storage object containing the executable.
      * 
@@ -25851,38 +29461,49 @@ public interface ExecStepConfigOrBuilder extends com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder getGcsObjectOrBuilder(); /** + * + * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; + * * @return A list containing the allowedSuccessCodes. */ java.util.List getAllowedSuccessCodesList(); /** + * + * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; + * * @return The count of allowedSuccessCodes. */ int getAllowedSuccessCodesCount(); /** + * + * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; + * * @param index The index of the element to return. * @return The allowedSuccessCodes at the given index. */ int getAllowedSuccessCodes(int index); /** + * + * *
      * The script interpreter to use to run the script. If no interpreter is
      * specified the script will be executed directly, which will likely
@@ -25891,10 +29512,13 @@ public interface ExecStepConfigOrBuilder extends
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4; + * * @return The enum numeric value on the wire for interpreter. */ int getInterpreterValue(); /** + * + * *
      * The script interpreter to use to run the script. If no interpreter is
      * specified the script will be executed directly, which will likely
@@ -25903,28 +29527,33 @@ public interface ExecStepConfigOrBuilder extends
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4; + * * @return The interpreter. */ com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter getInterpreter(); - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.ExecutableCase getExecutableCase(); + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.ExecutableCase + getExecutableCase(); } /** + * + * *
    * Common configurations for an ExecStep.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ExecStepConfig} */ - public static final class ExecStepConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ExecStepConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.ExecStepConfig) ExecStepConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecStepConfig.newBuilder() to construct. private ExecStepConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExecStepConfig() { allowedSuccessCodes_ = emptyIntList(); interpreter_ = 0; @@ -25932,16 +29561,15 @@ private ExecStepConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExecStepConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExecStepConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -25961,60 +29589,70 @@ private ExecStepConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - executableCase_ = 1; - executable_ = s; - break; - } - case 18: { - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder subBuilder = null; - if (executableCase_ == 2) { - subBuilder = ((com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_).toBuilder(); - } - executable_ = - input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_); - executable_ = subBuilder.buildPartial(); - } - executableCase_ = 2; - break; - } - case 24: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - allowedSuccessCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + executableCase_ = 1; + executable_ = s; + break; } - allowedSuccessCodes_.addInt(input.readInt32()); - break; - } - case 26: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { - allowedSuccessCodes_ = newIntList(); - mutable_bitField0_ |= 0x00000001; + case 18: + { + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder subBuilder = null; + if (executableCase_ == 2) { + subBuilder = + ((com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_) + .toBuilder(); + } + executable_ = + input.readMessage( + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_); + executable_ = subBuilder.buildPartial(); + } + executableCase_ = 2; + break; } - while (input.getBytesUntilLimit() > 0) { + case 24: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + allowedSuccessCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } allowedSuccessCodes_.addInt(input.readInt32()); + break; } - input.popLimit(limit); - break; - } - case 32: { - int rawValue = input.readEnum(); + case 26: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + allowedSuccessCodes_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } + while (input.getBytesUntilLimit() > 0) { + allowedSuccessCodes_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 32: + { + int rawValue = input.readEnum(); - interpreter_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + interpreter_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -26022,8 +29660,7 @@ private ExecStepConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { allowedSuccessCodes_.makeImmutable(); // C @@ -26032,29 +29669,35 @@ private ExecStepConfig( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.class, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.class, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder.class); } /** + * + * *
      * The interpreter used to execute the a file.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter} */ - public enum Interpreter - implements com.google.protobuf.ProtocolMessageEnum { + public enum Interpreter implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Invalid for a Windows ExecStepConfig. For a Linux ExecStepConfig, the
        * interpreter will be parsed from the shebang line of the script if
@@ -26065,6 +29708,8 @@ public enum Interpreter
        */
       INTERPRETER_UNSPECIFIED(0),
       /**
+       *
+       *
        * 
        * Indicates that the script is run with `/bin/sh` on Linux and `cmd`
        * on Windows.
@@ -26074,6 +29719,8 @@ public enum Interpreter
        */
       SHELL(1),
       /**
+       *
+       *
        * 
        * Indicates that the file is run with PowerShell flags
        * `-NonInteractive`, `-NoProfile`, and `-ExecutionPolicy Bypass`.
@@ -26086,6 +29733,8 @@ public enum Interpreter
       ;
 
       /**
+       *
+       *
        * 
        * Invalid for a Windows ExecStepConfig. For a Linux ExecStepConfig, the
        * interpreter will be parsed from the shebang line of the script if
@@ -26096,6 +29745,8 @@ public enum Interpreter
        */
       public static final int INTERPRETER_UNSPECIFIED_VALUE = 0;
       /**
+       *
+       *
        * 
        * Indicates that the script is run with `/bin/sh` on Linux and `cmd`
        * on Windows.
@@ -26105,6 +29756,8 @@ public enum Interpreter
        */
       public static final int SHELL_VALUE = 1;
       /**
+       *
+       *
        * 
        * Indicates that the file is run with PowerShell flags
        * `-NonInteractive`, `-NoProfile`, and `-ExecutionPolicy Bypass`.
@@ -26114,7 +29767,6 @@ public enum Interpreter
        */
       public static final int POWERSHELL_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -26139,49 +29791,51 @@ public static Interpreter valueOf(int value) {
        */
       public static Interpreter forNumber(int value) {
         switch (value) {
-          case 0: return INTERPRETER_UNSPECIFIED;
-          case 1: return SHELL;
-          case 2: return POWERSHELL;
-          default: return null;
+          case 0:
+            return INTERPRETER_UNSPECIFIED;
+          case 1:
+            return SHELL;
+          case 2:
+            return POWERSHELL;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          Interpreter> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public Interpreter findValueByNumber(int number) {
-                return Interpreter.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Interpreter findValueByNumber(int number) {
+              return Interpreter.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final Interpreter[] VALUES = values();
 
-      public static Interpreter valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Interpreter valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -26200,13 +29854,16 @@ private Interpreter(int value) {
 
     private int executableCase_ = 0;
     private java.lang.Object executable_;
+
     public enum ExecutableCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       LOCAL_PATH(1),
       GCS_OBJECT(2),
       EXECUTABLE_NOT_SET(0);
       private final int value;
+
       private ExecutableCase(int value) {
         this.value = value;
       }
@@ -26222,41 +29879,50 @@ public static ExecutableCase valueOf(int value) {
 
       public static ExecutableCase forNumber(int value) {
         switch (value) {
-          case 1: return LOCAL_PATH;
-          case 2: return GCS_OBJECT;
-          case 0: return EXECUTABLE_NOT_SET;
-          default: return null;
+          case 1:
+            return LOCAL_PATH;
+          case 2:
+            return GCS_OBJECT;
+          case 0:
+            return EXECUTABLE_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ExecutableCase
-    getExecutableCase() {
-      return ExecutableCase.forNumber(
-          executableCase_);
+    public ExecutableCase getExecutableCase() {
+      return ExecutableCase.forNumber(executableCase_);
     }
 
     public static final int LOCAL_PATH_FIELD_NUMBER = 1;
     /**
+     *
+     *
      * 
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; + * * @return Whether the localPath field is set. */ public boolean hasLocalPath() { return executableCase_ == 1; } /** + * + * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; + * * @return The localPath. */ public java.lang.String getLocalPath() { @@ -26267,8 +29933,7 @@ public java.lang.String getLocalPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (executableCase_ == 1) { executable_ = s; @@ -26277,23 +29942,24 @@ public java.lang.String getLocalPath() { } } /** + * + * *
      * An absolute path to the executable on the VM.
      * 
* * string local_path = 1; + * * @return The bytes for localPath. */ - public com.google.protobuf.ByteString - getLocalPathBytes() { + public com.google.protobuf.ByteString getLocalPathBytes() { java.lang.Object ref = ""; if (executableCase_ == 1) { ref = executable_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (executableCase_ == 1) { executable_ = b; } @@ -26305,11 +29971,14 @@ public java.lang.String getLocalPath() { public static final int GCS_OBJECT_FIELD_NUMBER = 2; /** + * + * *
      * A Google Cloud Storage object containing the executable.
      * 
* * .google.cloud.osconfig.v1beta.GcsObject gcs_object = 2; + * * @return Whether the gcsObject field is set. */ @java.lang.Override @@ -26317,21 +29986,26 @@ public boolean hasGcsObject() { return executableCase_ == 2; } /** + * + * *
      * A Google Cloud Storage object containing the executable.
      * 
* * .google.cloud.osconfig.v1beta.GcsObject gcs_object = 2; + * * @return The gcsObject. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject getGcsObject() { if (executableCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_; + return (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_; } return com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.getDefaultInstance(); } /** + * + * *
      * A Google Cloud Storage object containing the executable.
      * 
@@ -26341,7 +30015,7 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject getGcsObject() { @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder getGcsObjectOrBuilder() { if (executableCase_ == 2) { - return (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_; + return (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_; } return com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.getDefaultInstance(); } @@ -26349,49 +30023,60 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder getGcsObjec public static final int ALLOWED_SUCCESS_CODES_FIELD_NUMBER = 3; private com.google.protobuf.Internal.IntList allowedSuccessCodes_; /** + * + * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; + * * @return A list containing the allowedSuccessCodes. */ @java.lang.Override - public java.util.List - getAllowedSuccessCodesList() { + public java.util.List getAllowedSuccessCodesList() { return allowedSuccessCodes_; } /** + * + * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; + * * @return The count of allowedSuccessCodes. */ public int getAllowedSuccessCodesCount() { return allowedSuccessCodes_.size(); } /** + * + * *
      * Defaults to [0]. A list of possible return values that the
      * execution can return to indicate a success.
      * 
* * repeated int32 allowed_success_codes = 3; + * * @param index The index of the element to return. * @return The allowedSuccessCodes at the given index. */ public int getAllowedSuccessCodes(int index) { return allowedSuccessCodes_.getInt(index); } + private int allowedSuccessCodesMemoizedSerializedSize = -1; public static final int INTERPRETER_FIELD_NUMBER = 4; private int interpreter_; /** + * + * *
      * The script interpreter to use to run the script. If no interpreter is
      * specified the script will be executed directly, which will likely
@@ -26400,12 +30085,16 @@ public int getAllowedSuccessCodes(int index) {
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4; + * * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override public int getInterpreterValue() { + @java.lang.Override + public int getInterpreterValue() { return interpreter_; } /** + * + * *
      * The script interpreter to use to run the script. If no interpreter is
      * specified the script will be executed directly, which will likely
@@ -26414,15 +30103,22 @@ public int getAllowedSuccessCodes(int index) {
      * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4; + * * @return The interpreter. */ - @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter getInterpreter() { + @java.lang.Override + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter result = com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.valueOf(interpreter_); - return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter result = + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.valueOf( + interpreter_); + return result == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -26434,8 +30130,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (executableCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, executable_); @@ -26450,7 +30145,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < allowedSuccessCodes_.size(); i++) { output.writeInt32NoTag(allowedSuccessCodes_.getInt(i)); } - if (interpreter_ != com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { + if (interpreter_ + != com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter + .INTERPRETER_UNSPECIFIED + .getNumber()) { output.writeEnum(4, interpreter_); } unknownFields.writeTo(output); @@ -26466,26 +30164,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, executable_); } if (executableCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_); } { int dataSize = 0; for (int i = 0; i < allowedSuccessCodes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(allowedSuccessCodes_.getInt(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag( + allowedSuccessCodes_.getInt(i)); } size += dataSize; if (!getAllowedSuccessCodesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } allowedSuccessCodesMemoizedSerializedSize = dataSize; } - if (interpreter_ != com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.INTERPRETER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, interpreter_); + if (interpreter_ + != com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter + .INTERPRETER_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, interpreter_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -26495,25 +30196,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig other = (com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig other = + (com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig) obj; - if (!getAllowedSuccessCodesList() - .equals(other.getAllowedSuccessCodesList())) return false; + if (!getAllowedSuccessCodesList().equals(other.getAllowedSuccessCodesList())) return false; if (interpreter_ != other.interpreter_) return false; if (!getExecutableCase().equals(other.getExecutableCase())) return false; switch (executableCase_) { case 1: - if (!getLocalPath() - .equals(other.getLocalPath())) return false; + if (!getLocalPath().equals(other.getLocalPath())) return false; break; case 2: - if (!getGcsObject() - .equals(other.getGcsObject())) return false; + if (!getGcsObject().equals(other.getGcsObject())) return false; break; case 0: default: @@ -26553,87 +30252,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig 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.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -26643,27 +30349,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Common configurations for an ExecStep.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.ExecStepConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.ExecStepConfig) com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.class, com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.class, + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Builder.class); } // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.newBuilder() @@ -26671,16 +30382,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -26694,9 +30404,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor; } @java.lang.Override @@ -26715,7 +30425,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig build() { @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig result = new com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig(this); + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig result = + new com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig(this); int from_bitField0_ = bitField0_; if (executableCase_ == 1) { result.executable_ = executable_; @@ -26742,38 +30453,41 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.ExecStepConfig) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig)other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig) other); } else { super.mergeFrom(other); return this; @@ -26781,7 +30495,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig other) { - if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.getDefaultInstance()) + return this; if (!other.allowedSuccessCodes_.isEmpty()) { if (allowedSuccessCodes_.isEmpty()) { allowedSuccessCodes_ = other.allowedSuccessCodes_; @@ -26796,19 +30511,22 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConf setInterpreterValue(other.getInterpreterValue()); } switch (other.getExecutableCase()) { - case LOCAL_PATH: { - executableCase_ = 1; - executable_ = other.executable_; - onChanged(); - break; - } - case GCS_OBJECT: { - mergeGcsObject(other.getGcsObject()); - break; - } - case EXECUTABLE_NOT_SET: { - break; - } + case LOCAL_PATH: + { + executableCase_ = 1; + executable_ = other.executable_; + onChanged(); + break; + } + case GCS_OBJECT: + { + mergeGcsObject(other.getGcsObject()); + break; + } + case EXECUTABLE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -26829,7 +30547,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -26838,12 +30557,12 @@ public Builder mergeFrom( } return this; } + private int executableCase_ = 0; private java.lang.Object executable_; - public ExecutableCase - getExecutableCase() { - return ExecutableCase.forNumber( - executableCase_); + + public ExecutableCase getExecutableCase() { + return ExecutableCase.forNumber(executableCase_); } public Builder clearExecutable() { @@ -26856,11 +30575,14 @@ public Builder clearExecutable() { private int bitField0_; /** + * + * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; + * * @return Whether the localPath field is set. */ @java.lang.Override @@ -26868,11 +30590,14 @@ public boolean hasLocalPath() { return executableCase_ == 1; } /** + * + * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; + * * @return The localPath. */ @java.lang.Override @@ -26882,8 +30607,7 @@ public java.lang.String getLocalPath() { ref = executable_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (executableCase_ == 1) { executable_ = s; @@ -26894,24 +30618,25 @@ public java.lang.String getLocalPath() { } } /** + * + * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; + * * @return The bytes for localPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocalPathBytes() { + public com.google.protobuf.ByteString getLocalPathBytes() { java.lang.Object ref = ""; if (executableCase_ == 1) { ref = executable_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (executableCase_ == 1) { executable_ = b; } @@ -26921,30 +30646,35 @@ public java.lang.String getLocalPath() { } } /** + * + * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; + * * @param value The localPath to set. * @return This builder for chaining. */ - public Builder setLocalPath( - java.lang.String value) { + public Builder setLocalPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - executableCase_ = 1; + throw new NullPointerException(); + } + executableCase_ = 1; executable_ = value; onChanged(); return this; } /** + * + * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; + * * @return This builder for chaining. */ public Builder clearLocalPath() { @@ -26956,20 +30686,22 @@ public Builder clearLocalPath() { return this; } /** + * + * *
        * An absolute path to the executable on the VM.
        * 
* * string local_path = 1; + * * @param value The bytes for localPath to set. * @return This builder for chaining. */ - public Builder setLocalPathBytes( - com.google.protobuf.ByteString value) { + public Builder setLocalPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); executableCase_ = 1; executable_ = value; onChanged(); @@ -26977,13 +30709,19 @@ public Builder setLocalPathBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject, com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder> gcsObjectBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject, + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder> + gcsObjectBuilder_; /** + * + * *
        * A Google Cloud Storage object containing the executable.
        * 
* * .google.cloud.osconfig.v1beta.GcsObject gcs_object = 2; + * * @return Whether the gcsObject field is set. */ @java.lang.Override @@ -26991,11 +30729,14 @@ public boolean hasGcsObject() { return executableCase_ == 2; } /** + * + * *
        * A Google Cloud Storage object containing the executable.
        * 
* * .google.cloud.osconfig.v1beta.GcsObject gcs_object = 2; + * * @return The gcsObject. */ @java.lang.Override @@ -27013,6 +30754,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject getGcsObject() { } } /** + * + * *
        * A Google Cloud Storage object containing the executable.
        * 
@@ -27033,6 +30776,8 @@ public Builder setGcsObject(com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject return this; } /** + * + * *
        * A Google Cloud Storage object containing the executable.
        * 
@@ -27051,6 +30796,8 @@ public Builder setGcsObject( return this; } /** + * + * *
        * A Google Cloud Storage object containing the executable.
        * 
@@ -27059,10 +30806,14 @@ public Builder setGcsObject( */ public Builder mergeGcsObject(com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject value) { if (gcsObjectBuilder_ == null) { - if (executableCase_ == 2 && - executable_ != com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.getDefaultInstance()) { - executable_ = com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.newBuilder((com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_) - .mergeFrom(value).buildPartial(); + if (executableCase_ == 2 + && executable_ + != com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.getDefaultInstance()) { + executable_ = + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.newBuilder( + (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_) + .mergeFrom(value) + .buildPartial(); } else { executable_ = value; } @@ -27078,6 +30829,8 @@ public Builder mergeGcsObject(com.google.cloud.osconfig.v1beta.PatchJobs.GcsObje return this; } /** + * + * *
        * A Google Cloud Storage object containing the executable.
        * 
@@ -27101,6 +30854,8 @@ public Builder clearGcsObject() { return this; } /** + * + * *
        * A Google Cloud Storage object containing the executable.
        * 
@@ -27111,6 +30866,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder getGcsObject return getGcsObjectFieldBuilder().getBuilder(); } /** + * + * *
        * A Google Cloud Storage object containing the executable.
        * 
@@ -27129,6 +30886,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder getGcsObjec } } /** + * + * *
        * A Google Cloud Storage object containing the executable.
        * 
@@ -27136,64 +30895,80 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder getGcsObjec * .google.cloud.osconfig.v1beta.GcsObject gcs_object = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject, com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject, + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder> getGcsObjectFieldBuilder() { if (gcsObjectBuilder_ == null) { if (!(executableCase_ == 2)) { executable_ = com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.getDefaultInstance(); } - gcsObjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject, com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder>( + gcsObjectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject, + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder>( (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) executable_, getParentForChildren(), isClean()); executable_ = null; } executableCase_ = 2; - onChanged();; + onChanged(); + ; return gcsObjectBuilder_; } private com.google.protobuf.Internal.IntList allowedSuccessCodes_ = emptyIntList(); + private void ensureAllowedSuccessCodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { allowedSuccessCodes_ = mutableCopy(allowedSuccessCodes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; + * * @return A list containing the allowedSuccessCodes. */ - public java.util.List - getAllowedSuccessCodesList() { - return ((bitField0_ & 0x00000001) != 0) ? - java.util.Collections.unmodifiableList(allowedSuccessCodes_) : allowedSuccessCodes_; + public java.util.List getAllowedSuccessCodesList() { + return ((bitField0_ & 0x00000001) != 0) + ? java.util.Collections.unmodifiableList(allowedSuccessCodes_) + : allowedSuccessCodes_; } /** + * + * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; + * * @return The count of allowedSuccessCodes. */ public int getAllowedSuccessCodesCount() { return allowedSuccessCodes_.size(); } /** + * + * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; + * * @param index The index of the element to return. * @return The allowedSuccessCodes at the given index. */ @@ -27201,30 +30976,35 @@ public int getAllowedSuccessCodes(int index) { return allowedSuccessCodes_.getInt(index); } /** + * + * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; + * * @param index The index to set the value at. * @param value The allowedSuccessCodes to set. * @return This builder for chaining. */ - public Builder setAllowedSuccessCodes( - int index, int value) { + public Builder setAllowedSuccessCodes(int index, int value) { ensureAllowedSuccessCodesIsMutable(); allowedSuccessCodes_.setInt(index, value); onChanged(); return this; } /** + * + * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; + * * @param value The allowedSuccessCodes to add. * @return This builder for chaining. */ @@ -27235,30 +31015,35 @@ public Builder addAllowedSuccessCodes(int value) { return this; } /** + * + * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; + * * @param values The allowedSuccessCodes to add. * @return This builder for chaining. */ public Builder addAllAllowedSuccessCodes( java.lang.Iterable values) { ensureAllowedSuccessCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, allowedSuccessCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedSuccessCodes_); onChanged(); return this; } /** + * + * *
        * Defaults to [0]. A list of possible return values that the
        * execution can return to indicate a success.
        * 
* * repeated int32 allowed_success_codes = 3; + * * @return This builder for chaining. */ public Builder clearAllowedSuccessCodes() { @@ -27270,6 +31055,8 @@ public Builder clearAllowedSuccessCodes() { private int interpreter_ = 0; /** + * + * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -27278,12 +31065,16 @@ public Builder clearAllowedSuccessCodes() {
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4; + * * @return The enum numeric value on the wire for interpreter. */ - @java.lang.Override public int getInterpreterValue() { + @java.lang.Override + public int getInterpreterValue() { return interpreter_; } /** + * + * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -27292,16 +31083,19 @@ public Builder clearAllowedSuccessCodes() {
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4; + * * @param value The enum numeric value on the wire for interpreter to set. * @return This builder for chaining. */ public Builder setInterpreterValue(int value) { - + interpreter_ = value; onChanged(); return this; } /** + * + * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -27310,15 +31104,23 @@ public Builder setInterpreterValue(int value) {
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4; + * * @return The interpreter. */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter getInterpreter() { + public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter + getInterpreter() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter result = com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.valueOf(interpreter_); - return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter result = + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.valueOf( + interpreter_); + return result == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter.UNRECOGNIZED + : result; } /** + * + * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -27327,19 +31129,23 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter get
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4; + * * @param value The interpreter to set. * @return This builder for chaining. */ - public Builder setInterpreter(com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter value) { + public Builder setInterpreter( + com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig.Interpreter value) { if (value == null) { throw new NullPointerException(); } - + interpreter_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The script interpreter to use to run the script. If no interpreter is
        * specified the script will be executed directly, which will likely
@@ -27348,14 +31154,16 @@ public Builder setInterpreter(com.google.cloud.osconfig.v1beta.PatchJobs.ExecSte
        * 
* * .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4; + * * @return This builder for chaining. */ public Builder clearInterpreter() { - + interpreter_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -27368,12 +31176,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.ExecStepConfig) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.ExecStepConfig) private static final com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig(); } @@ -27382,16 +31190,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecStepConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecStepConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecStepConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecStepConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -27406,80 +31214,96 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.ExecStepConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GcsObjectOrBuilder extends + public interface GcsObjectOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.GcsObject) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Bucket of the Google Cloud Storage object.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucket. */ java.lang.String getBucket(); /** + * + * *
      * Required. Bucket of the Google Cloud Storage object.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucket. */ - com.google.protobuf.ByteString - getBucketBytes(); + com.google.protobuf.ByteString getBucketBytes(); /** + * + * *
      * Required. Name of the Google Cloud Storage object.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The object. */ java.lang.String getObject(); /** + * + * *
      * Required. Name of the Google Cloud Storage object.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for object. */ - com.google.protobuf.ByteString - getObjectBytes(); + com.google.protobuf.ByteString getObjectBytes(); /** + * + * *
      * Required. Generation number of the Google Cloud Storage object. This is used to
      * ensure that the ExecStep specified by this PatchJob does not change.
      * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The generationNumber. */ long getGenerationNumber(); } /** + * + * *
    * Google Cloud Storage object representation.
    * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GcsObject} */ - public static final class GcsObject extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GcsObject extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.GcsObject) GcsObjectOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsObject.newBuilder() to construct. private GcsObject(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GcsObject() { bucket_ = ""; object_ = ""; @@ -27487,16 +31311,15 @@ private GcsObject() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcsObject(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GcsObject( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -27515,30 +31338,32 @@ private GcsObject( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - bucket_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - object_ = s; - break; - } - case 24: { + bucket_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - generationNumber_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + object_ = s; + break; + } + case 24: + { + generationNumber_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -27546,34 +31371,39 @@ private GcsObject( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GcsObject_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_GcsObject_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.class, com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.class, + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder.class); } public static final int BUCKET_FIELD_NUMBER = 1; private volatile java.lang.Object bucket_; /** + * + * *
      * Required. Bucket of the Google Cloud Storage object.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucket. */ @java.lang.Override @@ -27582,29 +31412,29 @@ public java.lang.String getBucket() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; } } /** + * + * *
      * Required. Bucket of the Google Cloud Storage object.
      * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucket. */ @java.lang.Override - public com.google.protobuf.ByteString - getBucketBytes() { + public com.google.protobuf.ByteString getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bucket_ = b; return b; } else { @@ -27615,11 +31445,14 @@ public java.lang.String getBucket() { public static final int OBJECT_FIELD_NUMBER = 2; private volatile java.lang.Object object_; /** + * + * *
      * Required. Name of the Google Cloud Storage object.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The object. */ @java.lang.Override @@ -27628,29 +31461,29 @@ public java.lang.String getObject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; } } /** + * + * *
      * Required. Name of the Google Cloud Storage object.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for object. */ @java.lang.Override - public com.google.protobuf.ByteString - getObjectBytes() { + public com.google.protobuf.ByteString getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); object_ = b; return b; } else { @@ -27661,12 +31494,15 @@ public java.lang.String getObject() { public static final int GENERATION_NUMBER_FIELD_NUMBER = 3; private long generationNumber_; /** + * + * *
      * Required. Generation number of the Google Cloud Storage object. This is used to
      * ensure that the ExecStep specified by this PatchJob does not change.
      * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The generationNumber. */ @java.lang.Override @@ -27675,6 +31511,7 @@ public long getGenerationNumber() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -27686,8 +31523,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucket_); } @@ -27713,8 +31549,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, object_); } if (generationNumber_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, generationNumber_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, generationNumber_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -27724,19 +31559,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject other = (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) obj; + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject other = + (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) obj; - if (!getBucket() - .equals(other.getBucket())) return false; - if (!getObject() - .equals(other.getObject())) return false; - if (getGenerationNumber() - != other.getGenerationNumber()) return false; + if (!getBucket().equals(other.getBucket())) return false; + if (!getObject().equals(other.getObject())) return false; + if (getGenerationNumber() != other.getGenerationNumber()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -27753,95 +31586,101 @@ public int hashCode() { hash = (37 * hash) + OBJECT_FIELD_NUMBER; hash = (53 * hash) + getObject().hashCode(); hash = (37 * hash) + GENERATION_NUMBER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getGenerationNumber()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGenerationNumber()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject 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.osconfig.v1beta.PatchJobs.GcsObject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -27851,27 +31690,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Google Cloud Storage object representation.
      * 
* * Protobuf type {@code google.cloud.osconfig.v1beta.GcsObject} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.GcsObject) com.google.cloud.osconfig.v1beta.PatchJobs.GcsObjectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GcsObject_fieldAccessorTable + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_GcsObject_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.class, com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder.class); + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.class, + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.Builder.class); } // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.newBuilder() @@ -27879,16 +31723,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -27902,9 +31745,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.osconfig.v1beta.PatchJobs + .internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor; } @java.lang.Override @@ -27923,7 +31766,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject build() { @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject buildPartial() { - com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject result = new com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject(this); + com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject result = + new com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject(this); result.bucket_ = bucket_; result.object_ = object_; result.generationNumber_ = generationNumber_; @@ -27935,38 +31779,41 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.osconfig.v1beta.PatchJobs.GcsObject) { - return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject)other); + return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) other); } else { super.mergeFrom(other); return this; @@ -27974,7 +31821,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject other) { - if (other == com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.getDefaultInstance()) return this; + if (other == com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject.getDefaultInstance()) + return this; if (!other.getBucket().isEmpty()) { bucket_ = other.bucket_; onChanged(); @@ -28005,7 +31853,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -28017,18 +31866,20 @@ public Builder mergeFrom( private java.lang.Object bucket_ = ""; /** + * + * *
        * Required. Bucket of the Google Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucket. */ public java.lang.String getBucket() { java.lang.Object ref = bucket_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucket_ = s; return s; @@ -28037,20 +31888,21 @@ public java.lang.String getBucket() { } } /** + * + * *
        * Required. Bucket of the Google Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucket. */ - public com.google.protobuf.ByteString - getBucketBytes() { + public com.google.protobuf.ByteString getBucketBytes() { java.lang.Object ref = bucket_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bucket_ = b; return b; } else { @@ -28058,54 +31910,61 @@ public java.lang.String getBucket() { } } /** + * + * *
        * Required. Bucket of the Google Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bucket to set. * @return This builder for chaining. */ - public Builder setBucket( - java.lang.String value) { + public Builder setBucket(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucket_ = value; onChanged(); return this; } /** + * + * *
        * Required. Bucket of the Google Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBucket() { - + bucket_ = getDefaultInstance().getBucket(); onChanged(); return this; } /** + * + * *
        * Required. Bucket of the Google Cloud Storage object.
        * 
* * string bucket = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for bucket to set. * @return This builder for chaining. */ - public Builder setBucketBytes( - com.google.protobuf.ByteString value) { + public Builder setBucketBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucket_ = value; onChanged(); return this; @@ -28113,18 +31972,20 @@ public Builder setBucketBytes( private java.lang.Object object_ = ""; /** + * + * *
        * Required. Name of the Google Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The object. */ public java.lang.String getObject() { java.lang.Object ref = object_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; @@ -28133,20 +31994,21 @@ public java.lang.String getObject() { } } /** + * + * *
        * Required. Name of the Google Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for object. */ - public com.google.protobuf.ByteString - getObjectBytes() { + public com.google.protobuf.ByteString getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); object_ = b; return b; } else { @@ -28154,67 +32016,77 @@ public java.lang.String getObject() { } } /** + * + * *
        * Required. Name of the Google Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The object to set. * @return This builder for chaining. */ - public Builder setObject( - java.lang.String value) { + public Builder setObject(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + object_ = value; onChanged(); return this; } /** + * + * *
        * Required. Name of the Google Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearObject() { - + object_ = getDefaultInstance().getObject(); onChanged(); return this; } /** + * + * *
        * Required. Name of the Google Cloud Storage object.
        * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for object to set. * @return This builder for chaining. */ - public Builder setObjectBytes( - com.google.protobuf.ByteString value) { + public Builder setObjectBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + object_ = value; onChanged(); return this; } - private long generationNumber_ ; + private long generationNumber_; /** + * + * *
        * Required. Generation number of the Google Cloud Storage object. This is used to
        * ensure that the ExecStep specified by this PatchJob does not change.
        * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The generationNumber. */ @java.lang.Override @@ -28222,36 +32094,43 @@ public long getGenerationNumber() { return generationNumber_; } /** + * + * *
        * Required. Generation number of the Google Cloud Storage object. This is used to
        * ensure that the ExecStep specified by this PatchJob does not change.
        * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The generationNumber to set. * @return This builder for chaining. */ public Builder setGenerationNumber(long value) { - + generationNumber_ = value; onChanged(); return this; } /** + * + * *
        * Required. Generation number of the Google Cloud Storage object. This is used to
        * ensure that the ExecStep specified by this PatchJob does not change.
        * 
* * int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearGenerationNumber() { - + generationNumber_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -28264,12 +32143,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.GcsObject) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.GcsObject) private static final com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject(); } @@ -28278,16 +32157,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsObject parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsObject(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsObject parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsObject(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -28302,119 +32181,152 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.osconfig.v1beta.PatchJobs.GcsObject getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PatchInstanceFilterOrBuilder extends + public interface PatchInstanceFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PatchInstanceFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Target all VM instances in the project. If true, no other criteria is
      * permitted.
      * 
* * bool all = 1; + * * @return The all. */ boolean getAll(); /** + * + * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - java.util.List + java.util.List getGroupLabelsList(); /** + * + * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels(int index); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels( + int index); /** + * + * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ int getGroupLabelsCount(); /** + * + * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> getGroupLabelsOrBuilderList(); /** + * + * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder getGroupLabelsOrBuilder( - int index); + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder + getGroupLabelsOrBuilder(int index); /** + * + * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; + * * @return A list containing the zones. */ - java.util.List - getZonesList(); + java.util.List getZonesList(); /** + * + * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; + * * @return The count of zones. */ int getZonesCount(); /** + * + * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; + * * @param index The index of the element to return. * @return The zones at the given index. */ java.lang.String getZones(int index); /** + * + * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; + * * @param index The index of the value to return. * @return The bytes of the zones at the given index. */ - com.google.protobuf.ByteString - getZonesBytes(int index); + com.google.protobuf.ByteString getZonesBytes(int index); /** + * + * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -28423,11 +32335,13 @@ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuild
      * 
* * repeated string instances = 4; + * * @return A list containing the instances. */ - java.util.List - getInstancesList(); + java.util.List getInstancesList(); /** + * + * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -28436,10 +32350,13 @@ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuild
      * 
* * repeated string instances = 4; + * * @return The count of instances. */ int getInstancesCount(); /** + * + * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -28448,11 +32365,14 @@ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuild
      * 
* * repeated string instances = 4; + * * @param index The index of the element to return. * @return The instances at the given index. */ java.lang.String getInstances(int index); /** + * + * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -28461,13 +32381,15 @@ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuild
      * 
* * repeated string instances = 4; + * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - com.google.protobuf.ByteString - getInstancesBytes(int index); + com.google.protobuf.ByteString getInstancesBytes(int index); /** + * + * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -28475,11 +32397,13 @@ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuild
      * 
* * repeated string instance_name_prefixes = 5; + * * @return A list containing the instanceNamePrefixes. */ - java.util.List - getInstanceNamePrefixesList(); + java.util.List getInstanceNamePrefixesList(); /** + * + * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -28487,10 +32411,13 @@ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuild
      * 
* * repeated string instance_name_prefixes = 5; + * * @return The count of instanceNamePrefixes. */ int getInstanceNamePrefixesCount(); /** + * + * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -28498,11 +32425,14 @@ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuild
      * 
* * repeated string instance_name_prefixes = 5; + * * @param index The index of the element to return. * @return The instanceNamePrefixes at the given index. */ java.lang.String getInstanceNamePrefixes(int index); /** + * + * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -28510,13 +32440,15 @@ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuild
      * 
* * repeated string instance_name_prefixes = 5; + * * @param index The index of the value to return. * @return The bytes of the instanceNamePrefixes at the given index. */ - com.google.protobuf.ByteString - getInstanceNamePrefixesBytes(int index); + com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index); } /** + * + * *
    * A filter to target VM instances for patching. The targeted
    * VMs must meet all criteria specified. So if both labels and zones are
@@ -28526,15 +32458,16 @@ com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuild
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.PatchInstanceFilter}
    */
-  public static final class PatchInstanceFilter extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PatchInstanceFilter extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PatchInstanceFilter)
       PatchInstanceFilterOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PatchInstanceFilter.newBuilder() to construct.
     private PatchInstanceFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PatchInstanceFilter() {
       groupLabels_ = java.util.Collections.emptyList();
       zones_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -28544,16 +32477,15 @@ private PatchInstanceFilter() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PatchInstanceFilter();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PatchInstanceFilter(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -28573,54 +32505,64 @@ private PatchInstanceFilter(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              all_ = input.readBool();
-              break;
-            }
-            case 18: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                groupLabels_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 8:
+              {
+                all_ = input.readBool();
+                break;
               }
-              groupLabels_.add(
-                  input.readMessage(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.parser(), extensionRegistry));
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                zones_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 18:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  groupLabels_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter
+                              .GroupLabel>();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                groupLabels_.add(
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+                            .parser(),
+                        extensionRegistry));
+                break;
               }
-              zones_.add(s);
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                instances_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000004;
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  zones_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                zones_.add(s);
+                break;
               }
-              instances_.add(s);
-              break;
-            }
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-                instanceNamePrefixes_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000008;
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                  instances_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000004;
+                }
+                instances_.add(s);
+                break;
               }
-              instanceNamePrefixes_.add(s);
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+                  instanceNamePrefixes_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000008;
+                }
+                instanceNamePrefixes_.add(s);
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -28628,8 +32570,7 @@ private PatchInstanceFilter(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           groupLabels_ = java.util.Collections.unmodifiableList(groupLabels_);
@@ -28647,24 +32588,30 @@ private PatchInstanceFilter(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchJobs
+          .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchJobs
+          .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.class,
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder.class);
     }
 
-    public interface GroupLabelOrBuilder extends
+    public interface GroupLabelOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Compute Engine instance labels that must be present for a VM instance to
        * be targeted by this filter.
@@ -28674,6 +32621,8 @@ public interface GroupLabelOrBuilder extends
        */
       int getLabelsCount();
       /**
+       *
+       *
        * 
        * Compute Engine instance labels that must be present for a VM instance to
        * be targeted by this filter.
@@ -28681,15 +32630,13 @@ public interface GroupLabelOrBuilder extends
        *
        * map<string, string> labels = 1;
        */
-      boolean containsLabels(
-          java.lang.String key);
-      /**
-       * Use {@link #getLabelsMap()} instead.
-       */
+      boolean containsLabels(java.lang.String key);
+      /** Use {@link #getLabelsMap()} instead. */
       @java.lang.Deprecated
-      java.util.Map
-      getLabels();
+      java.util.Map getLabels();
       /**
+       *
+       *
        * 
        * Compute Engine instance labels that must be present for a VM instance to
        * be targeted by this filter.
@@ -28697,9 +32644,10 @@ boolean containsLabels(
        *
        * map<string, string> labels = 1;
        */
-      java.util.Map
-      getLabelsMap();
+      java.util.Map getLabelsMap();
       /**
+       *
+       *
        * 
        * Compute Engine instance labels that must be present for a VM instance to
        * be targeted by this filter.
@@ -28709,11 +32657,13 @@ boolean containsLabels(
        */
 
       /* nullable */
-java.lang.String getLabelsOrDefault(
+      java.lang.String getLabelsOrDefault(
           java.lang.String key,
           /* nullable */
-java.lang.String defaultValue);
+          java.lang.String defaultValue);
       /**
+       *
+       *
        * 
        * Compute Engine instance labels that must be present for a VM instance to
        * be targeted by this filter.
@@ -28721,11 +32671,11 @@ java.lang.String getLabelsOrDefault(
        *
        * map<string, string> labels = 1;
        */
-
-      java.lang.String getLabelsOrThrow(
-          java.lang.String key);
+      java.lang.String getLabelsOrThrow(java.lang.String key);
     }
     /**
+     *
+     *
      * 
      * Represents a group of VMs that can be identified as having all these
      * labels, for example "env=prod and app=web".
@@ -28733,30 +32683,29 @@ java.lang.String getLabelsOrThrow(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel}
      */
-    public static final class GroupLabel extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class GroupLabel extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel)
         GroupLabelOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use GroupLabel.newBuilder() to construct.
       private GroupLabel(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private GroupLabel() {
-      }
+
+      private GroupLabel() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new GroupLabel();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private GroupLabel(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -28776,26 +32725,28 @@ private GroupLabel(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  labels_ = com.google.protobuf.MapField.newMapField(
-                      LabelsDefaultEntryHolder.defaultEntry);
-                  mutable_bitField0_ |= 0x00000001;
+              case 10:
+                {
+                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                    labels_ =
+                        com.google.protobuf.MapField.newMapField(
+                            LabelsDefaultEntryHolder.defaultEntry);
+                    mutable_bitField0_ |= 0x00000001;
+                  }
+                  com.google.protobuf.MapEntry labels__ =
+                      input.readMessage(
+                          LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                          extensionRegistry);
+                  labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
+                  break;
                 }
-                com.google.protobuf.MapEntry
-                labels__ = input.readMessage(
-                    LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-                labels_.getMutableMap().put(
-                    labels__.getKey(), labels__.getValue());
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -28803,57 +32754,59 @@ private GroupLabel(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor;
       }
 
       @SuppressWarnings({"rawtypes"})
       @java.lang.Override
-      protected com.google.protobuf.MapField internalGetMapField(
-          int number) {
+      protected com.google.protobuf.MapField internalGetMapField(int number) {
         switch (number) {
           case 1:
             return internalGetLabels();
           default:
-            throw new RuntimeException(
-                "Invalid map field number: " + number);
+            throw new RuntimeException("Invalid map field number: " + number);
         }
       }
+
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.class,
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder
+                    .class);
       }
 
       public static final int LABELS_FIELD_NUMBER = 1;
+
       private static final class LabelsDefaultEntryHolder {
-        static final com.google.protobuf.MapEntry<
-            java.lang.String, java.lang.String> defaultEntry =
-                com.google.protobuf.MapEntry
-                .newDefaultInstance(
-                    com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor, 
-                    com.google.protobuf.WireFormat.FieldType.STRING,
-                    "",
-                    com.google.protobuf.WireFormat.FieldType.STRING,
-                    "");
-      }
-      private com.google.protobuf.MapField<
-          java.lang.String, java.lang.String> labels_;
-      private com.google.protobuf.MapField
-      internalGetLabels() {
+        static final com.google.protobuf.MapEntry defaultEntry =
+            com.google.protobuf.MapEntry.newDefaultInstance(
+                com.google.cloud.osconfig.v1beta.PatchJobs
+                    .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor,
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
+      }
+
+      private com.google.protobuf.MapField labels_;
+
+      private com.google.protobuf.MapField internalGetLabels() {
         if (labels_ == null) {
-          return com.google.protobuf.MapField.emptyMapField(
-              LabelsDefaultEntryHolder.defaultEntry);
+          return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
         }
         return labels_;
       }
@@ -28862,6 +32815,8 @@ public int getLabelsCount() {
         return internalGetLabels().getMap().size();
       }
       /**
+       *
+       *
        * 
        * Compute Engine instance labels that must be present for a VM instance to
        * be targeted by this filter.
@@ -28869,22 +32824,22 @@ public int getLabelsCount() {
        *
        * map<string, string> labels = 1;
        */
-
       @java.lang.Override
-      public boolean containsLabels(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public boolean containsLabels(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         return internalGetLabels().getMap().containsKey(key);
       }
-      /**
-       * Use {@link #getLabelsMap()} instead.
-       */
+      /** Use {@link #getLabelsMap()} instead. */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getLabels() {
         return getLabelsMap();
       }
       /**
+       *
+       *
        * 
        * Compute Engine instance labels that must be present for a VM instance to
        * be targeted by this filter.
@@ -28893,11 +32848,12 @@ public java.util.Map getLabels() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-
       public java.util.Map getLabelsMap() {
         return internalGetLabels().getMap();
       }
       /**
+       *
+       *
        * 
        * Compute Engine instance labels that must be present for a VM instance to
        * be targeted by this filter.
@@ -28906,16 +32862,17 @@ public java.util.Map getLabelsMap() {
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-
       public java.lang.String getLabelsOrDefault(
-          java.lang.String key,
-          java.lang.String defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetLabels().getMap();
+          java.lang.String key, java.lang.String defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetLabels().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * Compute Engine instance labels that must be present for a VM instance to
        * be targeted by this filter.
@@ -28924,12 +32881,11 @@ public java.lang.String getLabelsOrDefault(
        * map<string, string> labels = 1;
        */
       @java.lang.Override
-
-      public java.lang.String getLabelsOrThrow(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetLabels().getMap();
+      public java.lang.String getLabelsOrThrow(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetLabels().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
@@ -28937,6 +32893,7 @@ public java.lang.String getLabelsOrThrow(
       }
 
       private byte memoizedIsInitialized = -1;
+
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -28948,14 +32905,9 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public void writeTo(com.google.protobuf.CodedOutputStream output)
-                          throws java.io.IOException {
-        com.google.protobuf.GeneratedMessageV3
-          .serializeStringMapTo(
-            output,
-            internalGetLabels(),
-            LabelsDefaultEntryHolder.defaultEntry,
-            1);
+      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+        com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+            output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 1);
         unknownFields.writeTo(output);
       }
 
@@ -28965,15 +32917,15 @@ public int getSerializedSize() {
         if (size != -1) return size;
 
         size = 0;
-        for (java.util.Map.Entry entry
-             : internalGetLabels().getMap().entrySet()) {
-          com.google.protobuf.MapEntry
-          labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-          size += com.google.protobuf.CodedOutputStream
-              .computeMessageSize(1, labels__);
+        for (java.util.Map.Entry entry :
+            internalGetLabels().getMap().entrySet()) {
+          com.google.protobuf.MapEntry labels__ =
+              LabelsDefaultEntryHolder.defaultEntry
+                  .newBuilderForType()
+                  .setKey(entry.getKey())
+                  .setValue(entry.getValue())
+                  .build();
+          size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, labels__);
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -28983,15 +32935,16 @@ public int getSerializedSize() {
       @java.lang.Override
       public boolean equals(final java.lang.Object obj) {
         if (obj == this) {
-         return true;
+          return true;
         }
-        if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel)) {
+        if (!(obj
+            instanceof com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel)) {
           return super.equals(obj);
         }
-        com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel other = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel) obj;
+        com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel other =
+            (com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel) obj;
 
-        if (!internalGetLabels().equals(
-            other.internalGetLabels())) return false;
+        if (!internalGetLabels().equals(other.internalGetLabels())) return false;
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
       }
@@ -29012,88 +32965,103 @@ public int hashCode() {
         return hash;
       }
 
-      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
-          java.nio.ByteBuffer data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+          parseFrom(java.nio.ByteBuffer data)
+              throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
-          java.nio.ByteBuffer data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+          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.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
-          com.google.protobuf.ByteString data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+          parseFrom(com.google.protobuf.ByteString data)
+              throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
-          com.google.protobuf.ByteString data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+          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.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(byte[] data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+          parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
-          byte[] data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+          parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+          parseFrom(java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
-      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel 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.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+          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.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parseDelimitedFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseDelimitedWithIOException(PARSER, input);
+
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+          parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
       }
-      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel 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.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+          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.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
-          com.google.protobuf.CodedInputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+          parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
-      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parseFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input, extensionRegistry);
+
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+          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 Builder newBuilderForType() {
+        return newBuilder();
+      }
+
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
-      public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel prototype) {
+
+      public static Builder newBuilder(
+          com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
+
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE
-            ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -29103,6 +33071,8 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
+       *
+       *
        * 
        * Represents a group of VMs that can be identified as having all these
        * labels, for example "env=prod and app=web".
@@ -29110,60 +33080,62 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel)
           com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.cloud.osconfig.v1beta.PatchJobs
+              .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor;
         }
 
         @SuppressWarnings({"rawtypes"})
-        protected com.google.protobuf.MapField internalGetMapField(
-            int number) {
+        protected com.google.protobuf.MapField internalGetMapField(int number) {
           switch (number) {
             case 1:
               return internalGetLabels();
             default:
-              throw new RuntimeException(
-                  "Invalid map field number: " + number);
+              throw new RuntimeException("Invalid map field number: " + number);
           }
         }
+
         @SuppressWarnings({"rawtypes"})
-        protected com.google.protobuf.MapField internalGetMutableMapField(
-            int number) {
+        protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
           switch (number) {
             case 1:
               return internalGetMutableLabels();
             default:
-              throw new RuntimeException(
-                  "Invalid map field number: " + number);
+              throw new RuntimeException("Invalid map field number: " + number);
           }
         }
+
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_fieldAccessorTable
+          return com.google.cloud.osconfig.v1beta.PatchJobs
+              .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder.class);
+                  com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.class,
+                  com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder
+                      .class);
         }
 
-        // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.newBuilder()
+        // Construct using
+        // com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
-          }
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -29172,19 +33144,22 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.cloud.osconfig.v1beta.PatchJobs
+              .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor;
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getDefaultInstanceForType() {
-          return com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.getDefaultInstance();
+        public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+            getDefaultInstanceForType() {
+          return com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+              .getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel build() {
-          com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel result = buildPartial();
+          com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel result =
+              buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -29192,8 +33167,10 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
         }
 
         @java.lang.Override
-        public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel buildPartial() {
-          com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel result = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel(this);
+        public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+            buildPartial() {
+          com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel result =
+              new com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel(this);
           int from_bitField0_ = bitField0_;
           result.labels_ = internalGetLabels();
           result.labels_.makeImmutable();
@@ -29205,48 +33182,56 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            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) {
+        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) {
+        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) {
+            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) {
+            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.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel) {
-            return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel)other);
+          if (other
+              instanceof
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel) {
+            return mergeFrom(
+                (com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel other) {
-          if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.getDefaultInstance()) return this;
-          internalGetMutableLabels().mergeFrom(
-              other.internalGetLabels());
+        public Builder mergeFrom(
+            com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel other) {
+          if (other
+              == com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+                  .getDefaultInstance()) return this;
+          internalGetMutableLabels().mergeFrom(other.internalGetLabels());
           this.mergeUnknownFields(other.unknownFields);
           onChanged();
           return this;
@@ -29262,11 +33247,14 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
-          com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parsedMessage = null;
+          com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel parsedMessage =
+              null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel)
+                    e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -29275,24 +33263,27 @@ public Builder mergeFrom(
           }
           return this;
         }
+
         private int bitField0_;
 
-        private com.google.protobuf.MapField<
-            java.lang.String, java.lang.String> labels_;
+        private com.google.protobuf.MapField labels_;
+
         private com.google.protobuf.MapField
-        internalGetLabels() {
+            internalGetLabels() {
           if (labels_ == null) {
             return com.google.protobuf.MapField.emptyMapField(
                 LabelsDefaultEntryHolder.defaultEntry);
           }
           return labels_;
         }
+
         private com.google.protobuf.MapField
-        internalGetMutableLabels() {
-          onChanged();;
+            internalGetMutableLabels() {
+          onChanged();
+          ;
           if (labels_ == null) {
-            labels_ = com.google.protobuf.MapField.newMapField(
-                LabelsDefaultEntryHolder.defaultEntry);
+            labels_ =
+                com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
           }
           if (!labels_.isMutable()) {
             labels_ = labels_.copy();
@@ -29304,6 +33295,8 @@ public int getLabelsCount() {
           return internalGetLabels().getMap().size();
         }
         /**
+         *
+         *
          * 
          * Compute Engine instance labels that must be present for a VM instance to
          * be targeted by this filter.
@@ -29311,22 +33304,22 @@ public int getLabelsCount() {
          *
          * map<string, string> labels = 1;
          */
-
         @java.lang.Override
-        public boolean containsLabels(
-            java.lang.String key) {
-          if (key == null) { throw new NullPointerException("map key"); }
+        public boolean containsLabels(java.lang.String key) {
+          if (key == null) {
+            throw new NullPointerException("map key");
+          }
           return internalGetLabels().getMap().containsKey(key);
         }
-        /**
-         * Use {@link #getLabelsMap()} instead.
-         */
+        /** Use {@link #getLabelsMap()} instead. */
         @java.lang.Override
         @java.lang.Deprecated
         public java.util.Map getLabels() {
           return getLabelsMap();
         }
         /**
+         *
+         *
          * 
          * Compute Engine instance labels that must be present for a VM instance to
          * be targeted by this filter.
@@ -29335,11 +33328,12 @@ public java.util.Map getLabels() {
          * map<string, string> labels = 1;
          */
         @java.lang.Override
-
         public java.util.Map getLabelsMap() {
           return internalGetLabels().getMap();
         }
         /**
+         *
+         *
          * 
          * Compute Engine instance labels that must be present for a VM instance to
          * be targeted by this filter.
@@ -29348,16 +33342,17 @@ public java.util.Map getLabelsMap() {
          * map<string, string> labels = 1;
          */
         @java.lang.Override
-
         public java.lang.String getLabelsOrDefault(
-            java.lang.String key,
-            java.lang.String defaultValue) {
-          if (key == null) { throw new NullPointerException("map key"); }
-          java.util.Map map =
-              internalGetLabels().getMap();
+            java.lang.String key, java.lang.String defaultValue) {
+          if (key == null) {
+            throw new NullPointerException("map key");
+          }
+          java.util.Map map = internalGetLabels().getMap();
           return map.containsKey(key) ? map.get(key) : defaultValue;
         }
         /**
+         *
+         *
          * 
          * Compute Engine instance labels that must be present for a VM instance to
          * be targeted by this filter.
@@ -29366,12 +33361,11 @@ public java.lang.String getLabelsOrDefault(
          * map<string, string> labels = 1;
          */
         @java.lang.Override
-
-        public java.lang.String getLabelsOrThrow(
-            java.lang.String key) {
-          if (key == null) { throw new NullPointerException("map key"); }
-          java.util.Map map =
-              internalGetLabels().getMap();
+        public java.lang.String getLabelsOrThrow(java.lang.String key) {
+          if (key == null) {
+            throw new NullPointerException("map key");
+          }
+          java.util.Map map = internalGetLabels().getMap();
           if (!map.containsKey(key)) {
             throw new java.lang.IllegalArgumentException();
           }
@@ -29379,11 +33373,12 @@ public java.lang.String getLabelsOrThrow(
         }
 
         public Builder clearLabels() {
-          internalGetMutableLabels().getMutableMap()
-              .clear();
+          internalGetMutableLabels().getMutableMap().clear();
           return this;
         }
         /**
+         *
+         *
          * 
          * Compute Engine instance labels that must be present for a VM instance to
          * be targeted by this filter.
@@ -29391,23 +33386,21 @@ public Builder clearLabels() {
          *
          * map<string, string> labels = 1;
          */
-
-        public Builder removeLabels(
-            java.lang.String key) {
-          if (key == null) { throw new NullPointerException("map key"); }
-          internalGetMutableLabels().getMutableMap()
-              .remove(key);
+        public Builder removeLabels(java.lang.String key) {
+          if (key == null) {
+            throw new NullPointerException("map key");
+          }
+          internalGetMutableLabels().getMutableMap().remove(key);
           return this;
         }
-        /**
-         * Use alternate mutation accessors instead.
-         */
+        /** Use alternate mutation accessors instead. */
         @java.lang.Deprecated
-        public java.util.Map
-        getMutableLabels() {
+        public java.util.Map getMutableLabels() {
           return internalGetMutableLabels().getMutableMap();
         }
         /**
+         *
+         *
          * 
          * Compute Engine instance labels that must be present for a VM instance to
          * be targeted by this filter.
@@ -29415,19 +33408,20 @@ public Builder removeLabels(
          *
          * map<string, string> labels = 1;
          */
-        public Builder putLabels(
-            java.lang.String key,
-            java.lang.String value) {
-          if (key == null) { throw new NullPointerException("map key"); }
+        public Builder putLabels(java.lang.String key, java.lang.String value) {
+          if (key == null) {
+            throw new NullPointerException("map key");
+          }
           if (value == null) {
-  throw new NullPointerException("map value");
-}
+            throw new NullPointerException("map value");
+          }
 
-          internalGetMutableLabels().getMutableMap()
-              .put(key, value);
+          internalGetMutableLabels().getMutableMap().put(key, value);
           return this;
         }
         /**
+         *
+         *
          * 
          * Compute Engine instance labels that must be present for a VM instance to
          * be targeted by this filter.
@@ -29435,13 +33429,11 @@ public Builder putLabels(
          *
          * map<string, string> labels = 1;
          */
-
-        public Builder putAllLabels(
-            java.util.Map values) {
-          internalGetMutableLabels().getMutableMap()
-              .putAll(values);
+        public Builder putAllLabels(java.util.Map values) {
+          internalGetMutableLabels().getMutableMap().putAll(values);
           return this;
         }
+
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -29454,30 +33446,33 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
-
         // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel)
       }
 
       // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel)
-      private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel DEFAULT_INSTANCE;
+      private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+          DEFAULT_INSTANCE;
+
       static {
-        DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel();
+        DEFAULT_INSTANCE =
+            new com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel();
       }
 
-      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getDefaultInstance() {
+      public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+          getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser
-          PARSER = new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public GroupLabel parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new GroupLabel(input, extensionRegistry);
-        }
-      };
+      private static final com.google.protobuf.Parser PARSER =
+          new com.google.protobuf.AbstractParser() {
+            @java.lang.Override
+            public GroupLabel parsePartialFrom(
+                com.google.protobuf.CodedInputStream input,
+                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return new GroupLabel(input, extensionRegistry);
+            }
+          };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -29489,21 +33484,24 @@ public com.google.protobuf.Parser getParserForType() {
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel
+          getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
-
     }
 
     public static final int ALL_FIELD_NUMBER = 1;
     private boolean all_;
     /**
+     *
+     *
      * 
      * Target all VM instances in the project. If true, no other criteria is
      * permitted.
      * 
* * bool all = 1; + * * @return The all. */ @java.lang.Override @@ -29512,104 +33510,133 @@ public boolean getAll() { } public static final int GROUP_LABELS_FIELD_NUMBER = 2; - private java.util.List groupLabels_; + private java.util.List< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel> + groupLabels_; /** + * + * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ @java.lang.Override - public java.util.List getGroupLabelsList() { + public java.util.List + getGroupLabelsList() { return groupLabels_; } /** + * + * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> getGroupLabelsOrBuilderList() { return groupLabels_; } /** + * + * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ @java.lang.Override public int getGroupLabelsCount() { return groupLabels_.size(); } /** + * + * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels(int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels( + int index) { return groupLabels_.get(index); } /** + * + * *
      * Targets VM instances matching at least one of these label sets. This allows
      * targeting of disparate groups, for example "env=prod or env=staging".
      * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder getGroupLabelsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder + getGroupLabelsOrBuilder(int index) { return groupLabels_.get(index); } public static final int ZONES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList zones_; /** + * + * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; + * * @return A list containing the zones. */ - public com.google.protobuf.ProtocolStringList - getZonesList() { + public com.google.protobuf.ProtocolStringList getZonesList() { return zones_; } /** + * + * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; + * * @return The count of zones. */ public int getZonesCount() { return zones_.size(); } /** + * + * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; + * * @param index The index of the element to return. * @return The zones at the given index. */ @@ -29617,23 +33644,27 @@ public java.lang.String getZones(int index) { return zones_.get(index); } /** + * + * *
      * Targets VM instances in ANY of these zones. Leave empty to target VM
      * instances in any zone.
      * 
* * repeated string zones = 3; + * * @param index The index of the value to return. * @return The bytes of the zones at the given index. */ - public com.google.protobuf.ByteString - getZonesBytes(int index) { + public com.google.protobuf.ByteString getZonesBytes(int index) { return zones_.getByteString(index); } public static final int INSTANCES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList instances_; /** + * + * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -29642,13 +33673,15 @@ public java.lang.String getZones(int index) {
      * 
* * repeated string instances = 4; + * * @return A list containing the instances. */ - public com.google.protobuf.ProtocolStringList - getInstancesList() { + public com.google.protobuf.ProtocolStringList getInstancesList() { return instances_; } /** + * + * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -29657,12 +33690,15 @@ public java.lang.String getZones(int index) {
      * 
* * repeated string instances = 4; + * * @return The count of instances. */ public int getInstancesCount() { return instances_.size(); } /** + * + * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -29671,6 +33707,7 @@ public int getInstancesCount() {
      * 
* * repeated string instances = 4; + * * @param index The index of the element to return. * @return The instances at the given index. */ @@ -29678,6 +33715,8 @@ public java.lang.String getInstances(int index) { return instances_.get(index); } /** + * + * *
      * Targets any of the VM instances specified. Instances are specified by their
      * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -29686,17 +33725,19 @@ public java.lang.String getInstances(int index) {
      * 
* * repeated string instances = 4; + * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - public com.google.protobuf.ByteString - getInstancesBytes(int index) { + public com.google.protobuf.ByteString getInstancesBytes(int index) { return instances_.getByteString(index); } public static final int INSTANCE_NAME_PREFIXES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList instanceNamePrefixes_; /** + * + * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -29704,13 +33745,15 @@ public java.lang.String getInstances(int index) {
      * 
* * repeated string instance_name_prefixes = 5; + * * @return A list containing the instanceNamePrefixes. */ - public com.google.protobuf.ProtocolStringList - getInstanceNamePrefixesList() { + public com.google.protobuf.ProtocolStringList getInstanceNamePrefixesList() { return instanceNamePrefixes_; } /** + * + * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -29718,12 +33761,15 @@ public java.lang.String getInstances(int index) {
      * 
* * repeated string instance_name_prefixes = 5; + * * @return The count of instanceNamePrefixes. */ public int getInstanceNamePrefixesCount() { return instanceNamePrefixes_.size(); } /** + * + * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -29731,6 +33777,7 @@ public int getInstanceNamePrefixesCount() {
      * 
* * repeated string instance_name_prefixes = 5; + * * @param index The index of the element to return. * @return The instanceNamePrefixes at the given index. */ @@ -29738,6 +33785,8 @@ public java.lang.String getInstanceNamePrefixes(int index) { return instanceNamePrefixes_.get(index); } /** + * + * *
      * Targets VMs whose name starts with one of these prefixes. Similar to
      * labels, this is another way to group VMs when targeting configs, for
@@ -29745,15 +33794,16 @@ public java.lang.String getInstanceNamePrefixes(int index) {
      * 
* * repeated string instance_name_prefixes = 5; + * * @param index The index of the value to return. * @return The bytes of the instanceNamePrefixes at the given index. */ - public com.google.protobuf.ByteString - getInstanceNamePrefixesBytes(int index) { + public com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index) { return instanceNamePrefixes_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -29765,8 +33815,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (all_ != false) { output.writeBool(1, all_); } @@ -29780,7 +33829,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 4, instances_.getRaw(i)); } for (int i = 0; i < instanceNamePrefixes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, instanceNamePrefixes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 5, instanceNamePrefixes_.getRaw(i)); } unknownFields.writeTo(output); } @@ -29792,12 +33842,10 @@ public int getSerializedSize() { size = 0; if (all_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, all_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, all_); } for (int i = 0; i < groupLabels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, groupLabels_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, groupLabels_.get(i)); } { int dataSize = 0; @@ -29831,23 +33879,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter)) { return super.equals(obj); } - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter other = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter) obj; - - if (getAll() - != other.getAll()) return false; - if (!getGroupLabelsList() - .equals(other.getGroupLabelsList())) return false; - if (!getZonesList() - .equals(other.getZonesList())) return false; - if (!getInstancesList() - .equals(other.getInstancesList())) return false; - if (!getInstanceNamePrefixesList() - .equals(other.getInstanceNamePrefixesList())) return false; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter other = + (com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter) obj; + + if (getAll() != other.getAll()) return false; + if (!getGroupLabelsList().equals(other.getGroupLabelsList())) return false; + if (!getZonesList().equals(other.getZonesList())) return false; + if (!getInstancesList().equals(other.getInstancesList())) return false; + if (!getInstanceNamePrefixesList().equals(other.getInstanceNamePrefixesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -29860,8 +33904,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAll()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAll()); if (getGroupLabelsCount() > 0) { hash = (37 * hash) + GROUP_LABELS_FIELD_NUMBER; hash = (53 * hash) + getGroupLabelsList().hashCode(); @@ -29884,87 +33927,94 @@ public int hashCode() { } public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter 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.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter prototype) { + + public static Builder newBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -29974,6 +34024,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A filter to target VM instances for patching. The targeted
      * VMs must meet all criteria specified. So if both labels and zones are
@@ -29983,21 +34035,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.PatchInstanceFilter}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PatchInstanceFilter)
         com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilterOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.class,
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.newBuilder()
@@ -30005,17 +34060,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getGroupLabelsFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -30037,13 +34092,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getDefaultInstanceForType() {
+      public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter
+          getDefaultInstanceForType() {
         return com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance();
       }
 
@@ -30058,7 +34114,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter result = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter(this);
+        com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter result =
+            new com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter(this);
         int from_bitField0_ = bitField0_;
         result.all_ = all_;
         if (groupLabelsBuilder_ == null) {
@@ -30093,46 +34150,52 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter buildParti
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchJobs.PatchInstanceFilter) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter)other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter other) {
-        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter other) {
+        if (other
+            == com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.getDefaultInstance())
+          return this;
         if (other.getAll() != false) {
           setAll(other.getAll());
         }
@@ -30154,9 +34217,10 @@ public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanc
               groupLabelsBuilder_ = null;
               groupLabels_ = other.groupLabels_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              groupLabelsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getGroupLabelsFieldBuilder() : null;
+              groupLabelsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getGroupLabelsFieldBuilder()
+                      : null;
             } else {
               groupLabelsBuilder_.addAllMessages(other.groupLabels_);
             }
@@ -30211,7 +34275,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -30220,16 +34286,20 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private boolean all_ ;
+      private boolean all_;
       /**
+       *
+       *
        * 
        * Target all VM instances in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; + * * @return The all. */ @java.lang.Override @@ -30237,58 +34307,78 @@ public boolean getAll() { return all_; } /** + * + * *
        * Target all VM instances in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; + * * @param value The all to set. * @return This builder for chaining. */ public Builder setAll(boolean value) { - + all_ = value; onChanged(); return this; } /** + * + * *
        * Target all VM instances in the project. If true, no other criteria is
        * permitted.
        * 
* * bool all = 1; + * * @return This builder for chaining. */ public Builder clearAll() { - + all_ = false; onChanged(); return this; } - private java.util.List groupLabels_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel> + groupLabels_ = java.util.Collections.emptyList(); + private void ensureGroupLabelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - groupLabels_ = new java.util.ArrayList(groupLabels_); + groupLabels_ = + new java.util.ArrayList< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel>( + groupLabels_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> groupLabelsBuilder_; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> + groupLabelsBuilder_; /** + * + * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - public java.util.List getGroupLabelsList() { + public java.util.List< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel> + getGroupLabelsList() { if (groupLabelsBuilder_ == null) { return java.util.Collections.unmodifiableList(groupLabels_); } else { @@ -30296,12 +34386,16 @@ public java.util.List * Targets VM instances matching at least one of these label sets. This allows * targeting of disparate groups, for example "env=prod or env=staging". *
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ public int getGroupLabelsCount() { if (groupLabelsBuilder_ == null) { @@ -30311,14 +34405,19 @@ public int getGroupLabelsCount() { } } /** + * + * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels(int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel + getGroupLabels(int index) { if (groupLabelsBuilder_ == null) { return groupLabels_.get(index); } else { @@ -30326,15 +34425,20 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel } } /** + * + * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ public Builder setGroupLabels( - int index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel value) { + int index, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel value) { if (groupLabelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -30348,15 +34452,21 @@ public Builder setGroupLabels( return this; } /** + * + * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ public Builder setGroupLabels( - int index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder + builderForValue) { if (groupLabelsBuilder_ == null) { ensureGroupLabelsIsMutable(); groupLabels_.set(index, builderForValue.build()); @@ -30367,14 +34477,19 @@ public Builder setGroupLabels( return this; } /** + * + * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - public Builder addGroupLabels(com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel value) { + public Builder addGroupLabels( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel value) { if (groupLabelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -30388,15 +34503,20 @@ public Builder addGroupLabels(com.google.cloud.osconfig.v1beta.PatchJobs.PatchIn return this; } /** + * + * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ public Builder addGroupLabels( - int index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel value) { + int index, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel value) { if (groupLabelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -30410,15 +34530,20 @@ public Builder addGroupLabels( return this; } /** + * + * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ public Builder addGroupLabels( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder builderForValue) { + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder + builderForValue) { if (groupLabelsBuilder_ == null) { ensureGroupLabelsIsMutable(); groupLabels_.add(builderForValue.build()); @@ -30429,15 +34554,21 @@ public Builder addGroupLabels( return this; } /** + * + * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ public Builder addGroupLabels( - int index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder builderForValue) { + int index, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder + builderForValue) { if (groupLabelsBuilder_ == null) { ensureGroupLabelsIsMutable(); groupLabels_.add(index, builderForValue.build()); @@ -30448,19 +34579,25 @@ public Builder addGroupLabels( return this; } /** + * + * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ public Builder addAllGroupLabels( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel> + values) { if (groupLabelsBuilder_ == null) { ensureGroupLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, groupLabels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupLabels_); onChanged(); } else { groupLabelsBuilder_.addAllMessages(values); @@ -30468,12 +34605,16 @@ public Builder addAllGroupLabels( return this; } /** + * + * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ public Builder clearGroupLabels() { if (groupLabelsBuilder_ == null) { @@ -30486,12 +34627,16 @@ public Builder clearGroupLabels() { return this; } /** + * + * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ public Builder removeGroupLabels(int index) { if (groupLabelsBuilder_ == null) { @@ -30504,42 +34649,58 @@ public Builder removeGroupLabels(int index) { return this; } /** + * + * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder getGroupLabelsBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder + getGroupLabelsBuilder(int index) { return getGroupLabelsFieldBuilder().getBuilder(index); } /** + * + * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder getGroupLabelsOrBuilder( - int index) { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder + getGroupLabelsOrBuilder(int index) { if (groupLabelsBuilder_ == null) { - return groupLabels_.get(index); } else { + return groupLabels_.get(index); + } else { return groupLabelsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - public java.util.List - getGroupLabelsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter + .GroupLabelOrBuilder> + getGroupLabelsOrBuilderList() { if (groupLabelsBuilder_ != null) { return groupLabelsBuilder_.getMessageOrBuilderList(); } else { @@ -30547,48 +34708,74 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel } } /** + * + * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder addGroupLabelsBuilder() { - return getGroupLabelsFieldBuilder().addBuilder( - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder + addGroupLabelsBuilder() { + return getGroupLabelsFieldBuilder() + .addBuilder( + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel + .getDefaultInstance()); } /** + * + * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder addGroupLabelsBuilder( - int index) { - return getGroupLabelsFieldBuilder().addBuilder( - index, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.getDefaultInstance()); + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder + addGroupLabelsBuilder(int index) { + return getGroupLabelsFieldBuilder() + .addBuilder( + index, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel + .getDefaultInstance()); } /** + * + * *
        * Targets VM instances matching at least one of these label sets. This allows
        * targeting of disparate groups, for example "env=prod or env=staging".
        * 
* - * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * + * repeated .google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel group_labels = 2; + * */ - public java.util.List - getGroupLabelsBuilderList() { + public java.util.List< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder> + getGroupLabelsBuilderList() { return getGroupLabelsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> getGroupLabelsFieldBuilder() { if (groupLabelsBuilder_ == null) { - groupLabelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder>( + groupLabelsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder, + com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter + .GroupLabelOrBuilder>( groupLabels_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -30598,45 +34785,55 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel return groupLabelsBuilder_; } - private com.google.protobuf.LazyStringList zones_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList zones_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureZonesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { zones_ = new com.google.protobuf.LazyStringArrayList(zones_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; + * * @return A list containing the zones. */ - public com.google.protobuf.ProtocolStringList - getZonesList() { + public com.google.protobuf.ProtocolStringList getZonesList() { return zones_.getUnmodifiableView(); } /** + * + * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; + * * @return The count of zones. */ public int getZonesCount() { return zones_.size(); } /** + * + * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; + * * @param index The index of the element to return. * @return The zones at the given index. */ @@ -30644,85 +34841,95 @@ public java.lang.String getZones(int index) { return zones_.get(index); } /** + * + * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; + * * @param index The index of the value to return. * @return The bytes of the zones at the given index. */ - public com.google.protobuf.ByteString - getZonesBytes(int index) { + public com.google.protobuf.ByteString getZonesBytes(int index) { return zones_.getByteString(index); } /** + * + * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; + * * @param index The index to set the value at. * @param value The zones to set. * @return This builder for chaining. */ - public Builder setZones( - int index, java.lang.String value) { + public Builder setZones(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureZonesIsMutable(); + throw new NullPointerException(); + } + ensureZonesIsMutable(); zones_.set(index, value); onChanged(); return this; } /** + * + * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; + * * @param value The zones to add. * @return This builder for chaining. */ - public Builder addZones( - java.lang.String value) { + public Builder addZones(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureZonesIsMutable(); + throw new NullPointerException(); + } + ensureZonesIsMutable(); zones_.add(value); onChanged(); return this; } /** + * + * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; + * * @param values The zones to add. * @return This builder for chaining. */ - public Builder addAllZones( - java.lang.Iterable values) { + public Builder addAllZones(java.lang.Iterable values) { ensureZonesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, zones_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, zones_); onChanged(); return this; } /** + * + * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; + * * @return This builder for chaining. */ public Builder clearZones() { @@ -30732,35 +34939,41 @@ public Builder clearZones() { return this; } /** + * + * *
        * Targets VM instances in ANY of these zones. Leave empty to target VM
        * instances in any zone.
        * 
* * repeated string zones = 3; + * * @param value The bytes of the zones to add. * @return This builder for chaining. */ - public Builder addZonesBytes( - com.google.protobuf.ByteString value) { + public Builder addZonesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureZonesIsMutable(); zones_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList instances_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList instances_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { instances_ = new com.google.protobuf.LazyStringArrayList(instances_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -30769,13 +34982,15 @@ private void ensureInstancesIsMutable() {
        * 
* * repeated string instances = 4; + * * @return A list containing the instances. */ - public com.google.protobuf.ProtocolStringList - getInstancesList() { + public com.google.protobuf.ProtocolStringList getInstancesList() { return instances_.getUnmodifiableView(); } /** + * + * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -30784,12 +34999,15 @@ private void ensureInstancesIsMutable() {
        * 
* * repeated string instances = 4; + * * @return The count of instances. */ public int getInstancesCount() { return instances_.size(); } /** + * + * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -30798,6 +35016,7 @@ public int getInstancesCount() {
        * 
* * repeated string instances = 4; + * * @param index The index of the element to return. * @return The instances at the given index. */ @@ -30805,6 +35024,8 @@ public java.lang.String getInstances(int index) { return instances_.get(index); } /** + * + * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -30813,14 +35034,16 @@ public java.lang.String getInstances(int index) {
        * 
* * repeated string instances = 4; + * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - public com.google.protobuf.ByteString - getInstancesBytes(int index) { + public com.google.protobuf.ByteString getInstancesBytes(int index) { return instances_.getByteString(index); } /** + * + * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -30829,21 +35052,23 @@ public java.lang.String getInstances(int index) {
        * 
* * repeated string instances = 4; + * * @param index The index to set the value at. * @param value The instances to set. * @return This builder for chaining. */ - public Builder setInstances( - int index, java.lang.String value) { + public Builder setInstances(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstancesIsMutable(); + throw new NullPointerException(); + } + ensureInstancesIsMutable(); instances_.set(index, value); onChanged(); return this; } /** + * + * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -30852,20 +35077,22 @@ public Builder setInstances(
        * 
* * repeated string instances = 4; + * * @param value The instances to add. * @return This builder for chaining. */ - public Builder addInstances( - java.lang.String value) { + public Builder addInstances(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstancesIsMutable(); + throw new NullPointerException(); + } + ensureInstancesIsMutable(); instances_.add(value); onChanged(); return this; } /** + * + * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -30874,18 +35101,19 @@ public Builder addInstances(
        * 
* * repeated string instances = 4; + * * @param values The instances to add. * @return This builder for chaining. */ - public Builder addAllInstances( - java.lang.Iterable values) { + public Builder addAllInstances(java.lang.Iterable values) { ensureInstancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_); onChanged(); return this; } /** + * + * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -30894,6 +35122,7 @@ public Builder addAllInstances(
        * 
* * repeated string instances = 4; + * * @return This builder for chaining. */ public Builder clearInstances() { @@ -30903,6 +35132,8 @@ public Builder clearInstances() { return this; } /** + * + * *
        * Targets any of the VM instances specified. Instances are specified by their
        * URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
@@ -30911,29 +35142,34 @@ public Builder clearInstances() {
        * 
* * repeated string instances = 4; + * * @param value The bytes of the instances to add. * @return This builder for chaining. */ - public Builder addInstancesBytes( - com.google.protobuf.ByteString value) { + public Builder addInstancesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstancesIsMutable(); instances_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList instanceNamePrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList instanceNamePrefixes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureInstanceNamePrefixesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - instanceNamePrefixes_ = new com.google.protobuf.LazyStringArrayList(instanceNamePrefixes_); + instanceNamePrefixes_ = + new com.google.protobuf.LazyStringArrayList(instanceNamePrefixes_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -30941,13 +35177,15 @@ private void ensureInstanceNamePrefixesIsMutable() {
        * 
* * repeated string instance_name_prefixes = 5; + * * @return A list containing the instanceNamePrefixes. */ - public com.google.protobuf.ProtocolStringList - getInstanceNamePrefixesList() { + public com.google.protobuf.ProtocolStringList getInstanceNamePrefixesList() { return instanceNamePrefixes_.getUnmodifiableView(); } /** + * + * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -30955,12 +35193,15 @@ private void ensureInstanceNamePrefixesIsMutable() {
        * 
* * repeated string instance_name_prefixes = 5; + * * @return The count of instanceNamePrefixes. */ public int getInstanceNamePrefixesCount() { return instanceNamePrefixes_.size(); } /** + * + * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -30968,6 +35209,7 @@ public int getInstanceNamePrefixesCount() {
        * 
* * repeated string instance_name_prefixes = 5; + * * @param index The index of the element to return. * @return The instanceNamePrefixes at the given index. */ @@ -30975,6 +35217,8 @@ public java.lang.String getInstanceNamePrefixes(int index) { return instanceNamePrefixes_.get(index); } /** + * + * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -30982,14 +35226,16 @@ public java.lang.String getInstanceNamePrefixes(int index) {
        * 
* * repeated string instance_name_prefixes = 5; + * * @param index The index of the value to return. * @return The bytes of the instanceNamePrefixes at the given index. */ - public com.google.protobuf.ByteString - getInstanceNamePrefixesBytes(int index) { + public com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index) { return instanceNamePrefixes_.getByteString(index); } /** + * + * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -30997,21 +35243,23 @@ public java.lang.String getInstanceNamePrefixes(int index) {
        * 
* * repeated string instance_name_prefixes = 5; + * * @param index The index to set the value at. * @param value The instanceNamePrefixes to set. * @return This builder for chaining. */ - public Builder setInstanceNamePrefixes( - int index, java.lang.String value) { + public Builder setInstanceNamePrefixes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceNamePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureInstanceNamePrefixesIsMutable(); instanceNamePrefixes_.set(index, value); onChanged(); return this; } /** + * + * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -31019,20 +35267,22 @@ public Builder setInstanceNamePrefixes(
        * 
* * repeated string instance_name_prefixes = 5; + * * @param value The instanceNamePrefixes to add. * @return This builder for chaining. */ - public Builder addInstanceNamePrefixes( - java.lang.String value) { + public Builder addInstanceNamePrefixes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceNamePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureInstanceNamePrefixesIsMutable(); instanceNamePrefixes_.add(value); onChanged(); return this; } /** + * + * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -31040,18 +35290,19 @@ public Builder addInstanceNamePrefixes(
        * 
* * repeated string instance_name_prefixes = 5; + * * @param values The instanceNamePrefixes to add. * @return This builder for chaining. */ - public Builder addAllInstanceNamePrefixes( - java.lang.Iterable values) { + public Builder addAllInstanceNamePrefixes(java.lang.Iterable values) { ensureInstanceNamePrefixesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instanceNamePrefixes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceNamePrefixes_); onChanged(); return this; } /** + * + * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -31059,6 +35310,7 @@ public Builder addAllInstanceNamePrefixes(
        * 
* * repeated string instance_name_prefixes = 5; + * * @return This builder for chaining. */ public Builder clearInstanceNamePrefixes() { @@ -31068,6 +35320,8 @@ public Builder clearInstanceNamePrefixes() { return this; } /** + * + * *
        * Targets VMs whose name starts with one of these prefixes. Similar to
        * labels, this is another way to group VMs when targeting configs, for
@@ -31075,20 +35329,21 @@ public Builder clearInstanceNamePrefixes() {
        * 
* * repeated string instance_name_prefixes = 5; + * * @param value The bytes of the instanceNamePrefixes to add. * @return This builder for chaining. */ - public Builder addInstanceNamePrefixesBytes( - com.google.protobuf.ByteString value) { + public Builder addInstanceNamePrefixesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstanceNamePrefixesIsMutable(); instanceNamePrefixes_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -31101,30 +35356,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PatchInstanceFilter) } // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PatchInstanceFilter) - private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter DEFAULT_INSTANCE; + private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter(); } - public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getDefaultInstance() { + public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PatchInstanceFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PatchInstanceFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchInstanceFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchInstanceFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -31136,36 +35393,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter getDefaultInstanceForType() { + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PatchRolloutOrBuilder extends + public interface PatchRolloutOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1beta.PatchRollout) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Mode of the patch rollout.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout.Mode mode = 1; + * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** + * + * *
      * Mode of the patch rollout.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout.Mode mode = 1; + * * @return The mode. */ com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode getMode(); /** + * + * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -31189,10 +35455,13 @@ public interface PatchRolloutOrBuilder extends
      * 
* * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2; + * * @return Whether the disruptionBudget field is set. */ boolean hasDisruptionBudget(); /** + * + * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -31216,10 +35485,13 @@ public interface PatchRolloutOrBuilder extends
      * 
* * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2; + * * @return The disruptionBudget. */ com.google.cloud.osconfig.v1beta.Common.FixedOrPercent getDisruptionBudget(); /** + * + * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -31247,6 +35519,8 @@ public interface PatchRolloutOrBuilder extends
     com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Patch rollout configuration specifications. Contains details on the
    * concurrency control when applying patch(es) to all targeted VMs.
@@ -31254,31 +35528,31 @@ public interface PatchRolloutOrBuilder extends
    *
    * Protobuf type {@code google.cloud.osconfig.v1beta.PatchRollout}
    */
-  public static final class PatchRollout extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PatchRollout extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.osconfig.v1beta.PatchRollout)
       PatchRolloutOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PatchRollout.newBuilder() to construct.
     private PatchRollout(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PatchRollout() {
       mode_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PatchRollout();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PatchRollout(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -31297,32 +35571,37 @@ private PatchRollout(
             case 0:
               done = true;
               break;
-            case 8: {
-              int rawValue = input.readEnum();
+            case 8:
+              {
+                int rawValue = input.readEnum();
 
-              mode_ = rawValue;
-              break;
-            }
-            case 18: {
-              com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder subBuilder = null;
-              if (disruptionBudget_ != null) {
-                subBuilder = disruptionBudget_.toBuilder();
-              }
-              disruptionBudget_ = input.readMessage(com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(disruptionBudget_);
-                disruptionBudget_ = subBuilder.buildPartial();
+                mode_ = rawValue;
+                break;
               }
+            case 18:
+              {
+                com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder subBuilder = null;
+                if (disruptionBudget_ != null) {
+                  subBuilder = disruptionBudget_.toBuilder();
+                }
+                disruptionBudget_ =
+                    input.readMessage(
+                        com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(disruptionBudget_);
+                  disruptionBudget_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -31330,36 +35609,41 @@ private PatchRollout(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.osconfig.v1beta.PatchJobs
+          .internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchRollout_fieldAccessorTable
+      return com.google.cloud.osconfig.v1beta.PatchJobs
+          .internal_static_google_cloud_osconfig_v1beta_PatchRollout_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder.class);
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.class,
+              com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * Type of the rollout.
      * 
* * Protobuf enum {@code google.cloud.osconfig.v1beta.PatchRollout.Mode} */ - public enum Mode - implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Mode must be specified.
        * 
@@ -31368,6 +35652,8 @@ public enum Mode */ MODE_UNSPECIFIED(0), /** + * + * *
        * Patches are applied one zone at a time. The patch job begins in the
        * region with the lowest number of targeted VMs. Within the region,
@@ -31381,6 +35667,8 @@ public enum Mode
        */
       ZONE_BY_ZONE(1),
       /**
+       *
+       *
        * 
        * Patches are applied to VMs in all zones at the same time.
        * 
@@ -31392,6 +35680,8 @@ public enum Mode ; /** + * + * *
        * Mode must be specified.
        * 
@@ -31400,6 +35690,8 @@ public enum Mode */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Patches are applied one zone at a time. The patch job begins in the
        * region with the lowest number of targeted VMs. Within the region,
@@ -31413,6 +35705,8 @@ public enum Mode
        */
       public static final int ZONE_BY_ZONE_VALUE = 1;
       /**
+       *
+       *
        * 
        * Patches are applied to VMs in all zones at the same time.
        * 
@@ -31421,7 +35715,6 @@ public enum Mode */ public static final int CONCURRENT_ZONES_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -31446,49 +35739,51 @@ public static Mode valueOf(int value) { */ public static Mode forNumber(int value) { switch (value) { - case 0: return MODE_UNSPECIFIED; - case 1: return ZONE_BY_ZONE; - case 2: return CONCURRENT_ZONES; - default: return null; + case 0: + return MODE_UNSPECIFIED; + case 1: + return ZONE_BY_ZONE; + case 2: + return CONCURRENT_ZONES; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Mode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Mode findValueByNumber(int number) { - return Mode.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Mode findValueByNumber(int number) { + return Mode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDescriptor() + .getEnumTypes() + .get(0); } private static final Mode[] VALUES = values(); - public static Mode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -31508,33 +35803,46 @@ private Mode(int value) { public static final int MODE_FIELD_NUMBER = 1; private int mode_; /** + * + * *
      * Mode of the patch rollout.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout.Mode mode = 1; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
      * Mode of the patch rollout.
      * 
* * .google.cloud.osconfig.v1beta.PatchRollout.Mode mode = 1; + * * @return The mode. */ - @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode getMode() { + @java.lang.Override + public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode result = com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.valueOf(mode_); - return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode result = + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.valueOf(mode_); + return result == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.UNRECOGNIZED + : result; } public static final int DISRUPTION_BUDGET_FIELD_NUMBER = 2; private com.google.cloud.osconfig.v1beta.Common.FixedOrPercent disruptionBudget_; /** + * + * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -31558,6 +35866,7 @@ private Mode(int value) {
      * 
* * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2; + * * @return Whether the disruptionBudget field is set. */ @java.lang.Override @@ -31565,6 +35874,8 @@ public boolean hasDisruptionBudget() { return disruptionBudget_ != null; } /** + * + * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -31588,13 +35899,18 @@ public boolean hasDisruptionBudget() {
      * 
* * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2; + * * @return The disruptionBudget. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent getDisruptionBudget() { - return disruptionBudget_ == null ? com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.getDefaultInstance() : disruptionBudget_; + return disruptionBudget_ == null + ? com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.getDefaultInstance() + : disruptionBudget_; } /** + * + * *
      * The maximum number (or percentage) of VMs per zone to disrupt at any given
      * moment. The number of VMs calculated from multiplying the percentage by the
@@ -31620,11 +35936,13 @@ public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent getDisruptionBudge
      * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2;
      */
     @java.lang.Override
-    public com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder() {
+    public com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder
+        getDisruptionBudgetOrBuilder() {
       return getDisruptionBudget();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -31636,9 +35954,10 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      if (mode_ != com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.MODE_UNSPECIFIED.getNumber()) {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+      if (mode_
+          != com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.MODE_UNSPECIFIED
+              .getNumber()) {
         output.writeEnum(1, mode_);
       }
       if (disruptionBudget_ != null) {
@@ -31653,13 +35972,13 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (mode_ != com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.MODE_UNSPECIFIED.getNumber()) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(1, mode_);
+      if (mode_
+          != com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.MODE_UNSPECIFIED
+              .getNumber()) {
+        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, mode_);
       }
       if (disruptionBudget_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getDisruptionBudget());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDisruptionBudget());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -31669,18 +35988,18 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout)) {
         return super.equals(obj);
       }
-      com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout other = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout) obj;
+      com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout other =
+          (com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout) obj;
 
       if (mode_ != other.mode_) return false;
       if (hasDisruptionBudget() != other.hasDisruptionBudget()) return false;
       if (hasDisruptionBudget()) {
-        if (!getDisruptionBudget()
-            .equals(other.getDisruptionBudget())) return false;
+        if (!getDisruptionBudget().equals(other.getDisruptionBudget())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -31705,87 +36024,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout 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.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -31795,6 +36121,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Patch rollout configuration specifications. Contains details on the
      * concurrency control when applying patch(es) to all targeted VMs.
@@ -31802,21 +36130,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.osconfig.v1beta.PatchRollout}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.osconfig.v1beta.PatchRollout)
         com.google.cloud.osconfig.v1beta.PatchJobs.PatchRolloutOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchRollout_fieldAccessorTable
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_PatchRollout_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.class, com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder.class);
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.class,
+                com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Builder.class);
       }
 
       // Construct using com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.newBuilder()
@@ -31824,16 +36155,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -31849,9 +36179,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.osconfig.v1beta.PatchJobs.internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.osconfig.v1beta.PatchJobs
+            .internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor;
       }
 
       @java.lang.Override
@@ -31870,7 +36200,8 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout build() {
 
       @java.lang.Override
       public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout buildPartial() {
-        com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout result = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout(this);
+        com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout result =
+            new com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout(this);
         result.mode_ = mode_;
         if (disruptionBudgetBuilder_ == null) {
           result.disruptionBudget_ = disruptionBudget_;
@@ -31885,38 +36216,41 @@ public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.osconfig.v1beta.PatchJobs.PatchRollout) {
-          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout)other);
+          return mergeFrom((com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -31924,7 +36258,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout other) {
-        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance()) return this;
+        if (other == com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.getDefaultInstance())
+          return this;
         if (other.mode_ != 0) {
           setModeValue(other.getModeValue());
         }
@@ -31950,7 +36285,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -31962,51 +36298,67 @@ public Builder mergeFrom(
 
       private int mode_ = 0;
       /**
+       *
+       *
        * 
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout.Mode mode = 1; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout.Mode mode = 1; + * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { - + mode_ = value; onChanged(); return this; } /** + * + * *
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout.Mode mode = 1; + * * @return The mode. */ @java.lang.Override public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode result = com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.valueOf(mode_); - return result == null ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.UNRECOGNIZED : result; + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode result = + com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.valueOf(mode_); + return result == null + ? com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.Mode.UNRECOGNIZED + : result; } /** + * + * *
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout.Mode mode = 1; + * * @param value The mode to set. * @return This builder for chaining. */ @@ -32014,21 +36366,24 @@ public Builder setMode(com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout.M if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Mode of the patch rollout.
        * 
* * .google.cloud.osconfig.v1beta.PatchRollout.Mode mode = 1; + * * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = 0; onChanged(); return this; @@ -32036,8 +36391,13 @@ public Builder clearMode() { private com.google.cloud.osconfig.v1beta.Common.FixedOrPercent disruptionBudget_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.osconfig.v1beta.Common.FixedOrPercent, com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder, com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder> disruptionBudgetBuilder_; + com.google.cloud.osconfig.v1beta.Common.FixedOrPercent, + com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder, + com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder> + disruptionBudgetBuilder_; /** + * + * *
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -32061,12 +36421,15 @@ public Builder clearMode() {
        * 
* * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2; + * * @return Whether the disruptionBudget field is set. */ public boolean hasDisruptionBudget() { return disruptionBudgetBuilder_ != null || disruptionBudget_ != null; } /** + * + * *
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -32090,16 +36453,21 @@ public boolean hasDisruptionBudget() {
        * 
* * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2; + * * @return The disruptionBudget. */ public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent getDisruptionBudget() { if (disruptionBudgetBuilder_ == null) { - return disruptionBudget_ == null ? com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.getDefaultInstance() : disruptionBudget_; + return disruptionBudget_ == null + ? com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.getDefaultInstance() + : disruptionBudget_; } else { return disruptionBudgetBuilder_.getMessage(); } } /** + * + * *
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -32124,7 +36492,8 @@ public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent getDisruptionBudge
        *
        * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2;
        */
-      public Builder setDisruptionBudget(com.google.cloud.osconfig.v1beta.Common.FixedOrPercent value) {
+      public Builder setDisruptionBudget(
+          com.google.cloud.osconfig.v1beta.Common.FixedOrPercent value) {
         if (disruptionBudgetBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -32138,6 +36507,8 @@ public Builder setDisruptionBudget(com.google.cloud.osconfig.v1beta.Common.Fixed
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -32174,6 +36545,8 @@ public Builder setDisruptionBudget(
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -32198,11 +36571,14 @@ public Builder setDisruptionBudget(
        *
        * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2;
        */
-      public Builder mergeDisruptionBudget(com.google.cloud.osconfig.v1beta.Common.FixedOrPercent value) {
+      public Builder mergeDisruptionBudget(
+          com.google.cloud.osconfig.v1beta.Common.FixedOrPercent value) {
         if (disruptionBudgetBuilder_ == null) {
           if (disruptionBudget_ != null) {
             disruptionBudget_ =
-              com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.newBuilder(disruptionBudget_).mergeFrom(value).buildPartial();
+                com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.newBuilder(disruptionBudget_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             disruptionBudget_ = value;
           }
@@ -32214,6 +36590,8 @@ public Builder mergeDisruptionBudget(com.google.cloud.osconfig.v1beta.Common.Fix
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -32250,6 +36628,8 @@ public Builder clearDisruptionBudget() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -32274,12 +36654,15 @@ public Builder clearDisruptionBudget() {
        *
        * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2;
        */
-      public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder getDisruptionBudgetBuilder() {
-        
+      public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder
+          getDisruptionBudgetBuilder() {
+
         onChanged();
         return getDisruptionBudgetFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -32304,15 +36687,19 @@ public com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder getDisrupt
        *
        * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2;
        */
-      public com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder() {
+      public com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder
+          getDisruptionBudgetOrBuilder() {
         if (disruptionBudgetBuilder_ != null) {
           return disruptionBudgetBuilder_.getMessageOrBuilder();
         } else {
-          return disruptionBudget_ == null ?
-              com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.getDefaultInstance() : disruptionBudget_;
+          return disruptionBudget_ == null
+              ? com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.getDefaultInstance()
+              : disruptionBudget_;
         }
       }
       /**
+       *
+       *
        * 
        * The maximum number (or percentage) of VMs per zone to disrupt at any given
        * moment. The number of VMs calculated from multiplying the percentage by the
@@ -32338,18 +36725,22 @@ public com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder getDisrup
        * .google.cloud.osconfig.v1beta.FixedOrPercent disruption_budget = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.osconfig.v1beta.Common.FixedOrPercent, com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder, com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder> 
+              com.google.cloud.osconfig.v1beta.Common.FixedOrPercent,
+              com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder,
+              com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder>
           getDisruptionBudgetFieldBuilder() {
         if (disruptionBudgetBuilder_ == null) {
-          disruptionBudgetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.osconfig.v1beta.Common.FixedOrPercent, com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder, com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder>(
-                  getDisruptionBudget(),
-                  getParentForChildren(),
-                  isClean());
+          disruptionBudgetBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.osconfig.v1beta.Common.FixedOrPercent,
+                  com.google.cloud.osconfig.v1beta.Common.FixedOrPercent.Builder,
+                  com.google.cloud.osconfig.v1beta.Common.FixedOrPercentOrBuilder>(
+                  getDisruptionBudget(), getParentForChildren(), isClean());
           disruptionBudget_ = null;
         }
         return disruptionBudgetBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -32362,12 +36753,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.osconfig.v1beta.PatchRollout)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.osconfig.v1beta.PatchRollout)
     private static final com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout();
     }
@@ -32376,16 +36767,16 @@ public static com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getDefault
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public PatchRollout parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new PatchRollout(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public PatchRollout parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new PatchRollout(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -32400,446 +36791,518 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.osconfig.v1beta.PatchJobs.PatchRollout getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_PatchJob_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_PatchConfig_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_Instance_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_Instance_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_Instance_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_AptSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_YumSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_GooSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_ZypperSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_ExecStep_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_GcsObject_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_osconfig_v1beta_PatchRollout_fieldAccessorTable;
 
-  public static com.google.protobuf.Descriptors.FileDescriptor
-      getDescriptor() {
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
     return descriptor;
   }
-  private static  com.google.protobuf.Descriptors.FileDescriptor
-      descriptor;
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
   static {
     java.lang.String[] descriptorData = {
-      "\n-google/cloud/osconfig/v1beta/patch_job" +
-      "s.proto\022\034google.cloud.osconfig.v1beta\032\034g" +
-      "oogle/api/annotations.proto\032\037google/api/" +
-      "field_behavior.proto\032\031google/api/resourc" +
-      "e.proto\0322google/cloud/osconfig/v1beta/os" +
-      "config_common.proto\032\036google/protobuf/dur" +
-      "ation.proto\032\037google/protobuf/timestamp.p" +
-      "roto\"\345\002\n\026ExecutePatchJobRequest\022\023\n\006paren" +
-      "t\030\001 \001(\tB\003\340A\002\022\023\n\013description\030\002 \001(\t\022O\n\017ins" +
-      "tance_filter\030\007 \001(\01321.google.cloud.osconf" +
-      "ig.v1beta.PatchInstanceFilterB\003\340A\002\022?\n\014pa" +
-      "tch_config\030\004 \001(\0132).google.cloud.osconfig" +
-      ".v1beta.PatchConfig\022+\n\010duration\030\005 \001(\0132\031." +
-      "google.protobuf.Duration\022\017\n\007dry_run\030\006 \001(" +
-      "\010\022\024\n\014display_name\030\010 \001(\t\022;\n\007rollout\030\t \001(\013" +
-      "2*.google.cloud.osconfig.v1beta.PatchRol" +
-      "lout\"\'\n\022GetPatchJobRequest\022\021\n\004name\030\001 \001(\t" +
-      "B\003\340A\002\"p\n\"ListPatchJobInstanceDetailsRequ" +
-      "est\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 " +
-      "\001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"" +
-      "\231\001\n#ListPatchJobInstanceDetailsResponse\022" +
-      "Y\n\032patch_job_instance_details\030\001 \003(\01325.go" +
-      "ogle.cloud.osconfig.v1beta.PatchJobInsta" +
-      "nceDetails\022\027\n\017next_page_token\030\002 \001(\t\"\264\001\n\027" +
-      "PatchJobInstanceDetails\022\014\n\004name\030\001 \001(\t\022\032\n" +
-      "\022instance_system_id\030\002 \001(\t\022@\n\005state\030\003 \001(\016" +
-      "21.google.cloud.osconfig.v1beta.Instance" +
-      ".PatchState\022\026\n\016failure_reason\030\004 \001(\t\022\025\n\ra" +
-      "ttempt_count\030\005 \001(\003\"b\n\024ListPatchJobsReque" +
-      "st\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001" +
-      "(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"l" +
-      "\n\025ListPatchJobsResponse\022:\n\npatch_jobs\030\001 " +
-      "\003(\0132&.google.cloud.osconfig.v1beta.Patch" +
-      "Job\022\027\n\017next_page_token\030\002 \001(\t\"\304\013\n\010PatchJo" +
-      "b\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\016 \001(\t\022\023\n" +
-      "\013description\030\002 \001(\t\022/\n\013create_time\030\003 \001(\0132" +
-      "\032.google.protobuf.Timestamp\022/\n\013update_ti" +
-      "me\030\004 \001(\0132\032.google.protobuf.Timestamp\022;\n\005" +
-      "state\030\005 \001(\0162,.google.cloud.osconfig.v1be" +
-      "ta.PatchJob.State\022J\n\017instance_filter\030\r \001" +
-      "(\01321.google.cloud.osconfig.v1beta.PatchI" +
-      "nstanceFilter\022?\n\014patch_config\030\007 \001(\0132).go" +
-      "ogle.cloud.osconfig.v1beta.PatchConfig\022+" +
-      "\n\010duration\030\010 \001(\0132\031.google.protobuf.Durat" +
-      "ion\022_\n\030instance_details_summary\030\t \001(\0132=." +
-      "google.cloud.osconfig.v1beta.PatchJob.In" +
-      "stanceDetailsSummary\022\017\n\007dry_run\030\n \001(\010\022\025\n" +
-      "\rerror_message\030\013 \001(\t\022\030\n\020percent_complete" +
-      "\030\014 \001(\001\022\035\n\020patch_deployment\030\017 \001(\tB\003\340A\003\022;\n" +
-      "\007rollout\030\020 \001(\0132*.google.cloud.osconfig.v" +
-      "1beta.PatchRollout\032\275\004\n\026InstanceDetailsSu" +
-      "mmary\022\036\n\026pending_instance_count\030\001 \001(\003\022\037\n" +
-      "\027inactive_instance_count\030\002 \001(\003\022\037\n\027notifi" +
-      "ed_instance_count\030\003 \001(\003\022\036\n\026started_insta" +
-      "nce_count\030\004 \001(\003\022*\n\"downloading_patches_i" +
-      "nstance_count\030\005 \001(\003\022\'\n\037applying_patches_" +
-      "instance_count\030\006 \001(\003\022 \n\030rebooting_instan" +
-      "ce_count\030\007 \001(\003\022 \n\030succeeded_instance_cou" +
-      "nt\030\010 \001(\003\0220\n(succeeded_reboot_required_in" +
-      "stance_count\030\t \001(\003\022\035\n\025failed_instance_co" +
-      "unt\030\n \001(\003\022\034\n\024acked_instance_count\030\013 \001(\003\022" +
-      " \n\030timed_out_instance_count\030\014 \001(\003\022%\n\035pre" +
-      "_patch_step_instance_count\030\r \001(\003\022&\n\036post" +
-      "_patch_step_instance_count\030\016 \001(\003\022(\n no_a" +
-      "gent_detected_instance_count\030\017 \001(\003\"\225\001\n\005S" +
-      "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007STARTED\020\001" +
-      "\022\023\n\017INSTANCE_LOOKUP\020\002\022\014\n\010PATCHING\020\003\022\r\n\tS" +
-      "UCCEEDED\020\004\022\031\n\025COMPLETED_WITH_ERRORS\020\005\022\014\n" +
-      "\010CANCELED\020\006\022\r\n\tTIMED_OUT\020\007:O\352AL\n osconfi" +
-      "g.googleapis.com/PatchJob\022(projects/{pro" +
-      "ject}/patchJobs/{patch_job}\"\366\004\n\013PatchCon" +
-      "fig\022M\n\rreboot_config\030\001 \001(\01626.google.clou" +
-      "d.osconfig.v1beta.PatchConfig.RebootConf" +
-      "ig\0226\n\003apt\030\003 \001(\0132).google.cloud.osconfig." +
-      "v1beta.AptSettings\0226\n\003yum\030\004 \001(\0132).google" +
-      ".cloud.osconfig.v1beta.YumSettings\0226\n\003go" +
-      "o\030\005 \001(\0132).google.cloud.osconfig.v1beta.G" +
-      "ooSettings\022<\n\006zypper\030\006 \001(\0132,.google.clou" +
-      "d.osconfig.v1beta.ZypperSettings\022K\n\016wind" +
-      "ows_update\030\007 \001(\01323.google.cloud.osconfig" +
-      ".v1beta.WindowsUpdateSettings\0228\n\010pre_ste" +
-      "p\030\010 \001(\0132&.google.cloud.osconfig.v1beta.E" +
-      "xecStep\0229\n\tpost_step\030\t \001(\0132&.google.clou" +
-      "d.osconfig.v1beta.ExecStep\022\035\n\025mig_instan" +
-      "ces_allowed\030\n \001(\010\"Q\n\014RebootConfig\022\035\n\031REB" +
-      "OOT_CONFIG_UNSPECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\n\n" +
-      "\006ALWAYS\020\002\022\t\n\005NEVER\020\003\"\316\002\n\010Instance\"\301\002\n\nPa" +
-      "tchState\022\033\n\027PATCH_STATE_UNSPECIFIED\020\000\022\013\n" +
-      "\007PENDING\020\001\022\014\n\010INACTIVE\020\002\022\014\n\010NOTIFIED\020\003\022\013" +
-      "\n\007STARTED\020\004\022\027\n\023DOWNLOADING_PATCHES\020\005\022\024\n\020" +
-      "APPLYING_PATCHES\020\006\022\r\n\tREBOOTING\020\007\022\r\n\tSUC" +
-      "CEEDED\020\010\022\035\n\031SUCCEEDED_REBOOT_REQUIRED\020\t\022" +
-      "\n\n\006FAILED\020\n\022\t\n\005ACKED\020\013\022\r\n\tTIMED_OUT\020\014\022\032\n" +
-      "\026RUNNING_PRE_PATCH_STEP\020\r\022\033\n\027RUNNING_POS" +
-      "T_PATCH_STEP\020\016\022\025\n\021NO_AGENT_DETECTED\020\017\"*\n" +
-      "\025CancelPatchJobRequest\022\021\n\004name\030\001 \001(\tB\003\340A" +
-      "\002\"\256\001\n\013AptSettings\022<\n\004type\030\001 \001(\0162..google" +
-      ".cloud.osconfig.v1beta.AptSettings.Type\022" +
-      "\020\n\010excludes\030\002 \003(\t\022\032\n\022exclusive_packages\030" +
-      "\003 \003(\t\"3\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\010\n\004D" +
-      "IST\020\001\022\013\n\007UPGRADE\020\002\"^\n\013YumSettings\022\020\n\010sec" +
-      "urity\030\001 \001(\010\022\017\n\007minimal\030\002 \001(\010\022\020\n\010excludes" +
-      "\030\003 \003(\t\022\032\n\022exclusive_packages\030\004 \003(\t\"\r\n\013Go" +
-      "oSettings\"\221\001\n\016ZypperSettings\022\025\n\rwith_opt" +
-      "ional\030\001 \001(\010\022\023\n\013with_update\030\002 \001(\010\022\022\n\ncate" +
-      "gories\030\003 \003(\t\022\022\n\nseverities\030\004 \003(\t\022\020\n\010excl" +
-      "udes\030\005 \003(\t\022\031\n\021exclusive_patches\030\006 \003(\t\"\331\002" +
-      "\n\025WindowsUpdateSettings\022[\n\017classificatio" +
-      "ns\030\001 \003(\0162B.google.cloud.osconfig.v1beta." +
-      "WindowsUpdateSettings.Classification\022\020\n\010" +
-      "excludes\030\002 \003(\t\022\031\n\021exclusive_patches\030\003 \003(" +
-      "\t\"\265\001\n\016Classification\022\036\n\032CLASSIFICATION_U" +
-      "NSPECIFIED\020\000\022\014\n\010CRITICAL\020\001\022\014\n\010SECURITY\020\002" +
-      "\022\016\n\nDEFINITION\020\003\022\n\n\006DRIVER\020\004\022\020\n\014FEATURE_" +
-      "PACK\020\005\022\020\n\014SERVICE_PACK\020\006\022\010\n\004TOOL\020\007\022\021\n\rUP" +
-      "DATE_ROLLUP\020\010\022\n\n\006UPDATE\020\t\"\250\001\n\010ExecStep\022L" +
-      "\n\026linux_exec_step_config\030\001 \001(\0132,.google." +
-      "cloud.osconfig.v1beta.ExecStepConfig\022N\n\030" +
-      "windows_exec_step_config\030\002 \001(\0132,.google." +
-      "cloud.osconfig.v1beta.ExecStepConfig\"\250\002\n" +
-      "\016ExecStepConfig\022\024\n\nlocal_path\030\001 \001(\tH\000\022=\n" +
-      "\ngcs_object\030\002 \001(\0132\'.google.cloud.osconfi" +
-      "g.v1beta.GcsObjectH\000\022\035\n\025allowed_success_" +
-      "codes\030\003 \003(\005\022M\n\013interpreter\030\004 \001(\01628.googl" +
-      "e.cloud.osconfig.v1beta.ExecStepConfig.I" +
-      "nterpreter\"E\n\013Interpreter\022\033\n\027INTERPRETER" +
-      "_UNSPECIFIED\020\000\022\t\n\005SHELL\020\001\022\016\n\nPOWERSHELL\020" +
-      "\002B\014\n\nexecutable\"U\n\tGcsObject\022\023\n\006bucket\030\001" +
-      " \001(\tB\003\340A\002\022\023\n\006object\030\002 \001(\tB\003\340A\002\022\036\n\021genera" +
-      "tion_number\030\003 \001(\003B\003\340A\002\"\320\002\n\023PatchInstance" +
-      "Filter\022\013\n\003all\030\001 \001(\010\022R\n\014group_labels\030\002 \003(" +
-      "\0132<.google.cloud.osconfig.v1beta.PatchIn" +
-      "stanceFilter.GroupLabel\022\r\n\005zones\030\003 \003(\t\022\021" +
-      "\n\tinstances\030\004 \003(\t\022\036\n\026instance_name_prefi" +
-      "xes\030\005 \003(\t\032\225\001\n\nGroupLabel\022X\n\006labels\030\001 \003(\013" +
-      "2H.google.cloud.osconfig.v1beta.PatchIns" +
-      "tanceFilter.GroupLabel.LabelsEntry\032-\n\013La" +
-      "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" +
-      "\001\"\334\001\n\014PatchRollout\022=\n\004mode\030\001 \001(\0162/.googl" +
-      "e.cloud.osconfig.v1beta.PatchRollout.Mod" +
-      "e\022G\n\021disruption_budget\030\002 \001(\0132,.google.cl" +
-      "oud.osconfig.v1beta.FixedOrPercent\"D\n\004Mo" +
-      "de\022\024\n\020MODE_UNSPECIFIED\020\000\022\020\n\014ZONE_BY_ZONE" +
-      "\020\001\022\024\n\020CONCURRENT_ZONES\020\002Bs\n com.google.c" +
-      "loud.osconfig.v1betaB\tPatchJobsZDgoogle." +
-      "golang.org/genproto/googleapis/cloud/osc" +
-      "onfig/v1beta;osconfigb\006proto3"
+      "\n-google/cloud/osconfig/v1beta/patch_job"
+          + "s.proto\022\034google.cloud.osconfig.v1beta\032\034g"
+          + "oogle/api/annotations.proto\032\037google/api/"
+          + "field_behavior.proto\032\031google/api/resourc"
+          + "e.proto\0322google/cloud/osconfig/v1beta/os"
+          + "config_common.proto\032\036google/protobuf/dur"
+          + "ation.proto\032\037google/protobuf/timestamp.p"
+          + "roto\"\345\002\n\026ExecutePatchJobRequest\022\023\n\006paren"
+          + "t\030\001 \001(\tB\003\340A\002\022\023\n\013description\030\002 \001(\t\022O\n\017ins"
+          + "tance_filter\030\007 \001(\01321.google.cloud.osconf"
+          + "ig.v1beta.PatchInstanceFilterB\003\340A\002\022?\n\014pa"
+          + "tch_config\030\004 \001(\0132).google.cloud.osconfig"
+          + ".v1beta.PatchConfig\022+\n\010duration\030\005 \001(\0132\031."
+          + "google.protobuf.Duration\022\017\n\007dry_run\030\006 \001("
+          + "\010\022\024\n\014display_name\030\010 \001(\t\022;\n\007rollout\030\t \001(\013"
+          + "2*.google.cloud.osconfig.v1beta.PatchRol"
+          + "lout\"\'\n\022GetPatchJobRequest\022\021\n\004name\030\001 \001(\t"
+          + "B\003\340A\002\"p\n\"ListPatchJobInstanceDetailsRequ"
+          + "est\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 "
+          + "\001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\""
+          + "\231\001\n#ListPatchJobInstanceDetailsResponse\022"
+          + "Y\n\032patch_job_instance_details\030\001 \003(\01325.go"
+          + "ogle.cloud.osconfig.v1beta.PatchJobInsta"
+          + "nceDetails\022\027\n\017next_page_token\030\002 \001(\t\"\264\001\n\027"
+          + "PatchJobInstanceDetails\022\014\n\004name\030\001 \001(\t\022\032\n"
+          + "\022instance_system_id\030\002 \001(\t\022@\n\005state\030\003 \001(\016"
+          + "21.google.cloud.osconfig.v1beta.Instance"
+          + ".PatchState\022\026\n\016failure_reason\030\004 \001(\t\022\025\n\ra"
+          + "ttempt_count\030\005 \001(\003\"b\n\024ListPatchJobsReque"
+          + "st\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001"
+          + "(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"l"
+          + "\n\025ListPatchJobsResponse\022:\n\npatch_jobs\030\001 "
+          + "\003(\0132&.google.cloud.osconfig.v1beta.Patch"
+          + "Job\022\027\n\017next_page_token\030\002 \001(\t\"\304\013\n\010PatchJo"
+          + "b\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\016 \001(\t\022\023\n"
+          + "\013description\030\002 \001(\t\022/\n\013create_time\030\003 \001(\0132"
+          + "\032.google.protobuf.Timestamp\022/\n\013update_ti"
+          + "me\030\004 \001(\0132\032.google.protobuf.Timestamp\022;\n\005"
+          + "state\030\005 \001(\0162,.google.cloud.osconfig.v1be"
+          + "ta.PatchJob.State\022J\n\017instance_filter\030\r \001"
+          + "(\01321.google.cloud.osconfig.v1beta.PatchI"
+          + "nstanceFilter\022?\n\014patch_config\030\007 \001(\0132).go"
+          + "ogle.cloud.osconfig.v1beta.PatchConfig\022+"
+          + "\n\010duration\030\010 \001(\0132\031.google.protobuf.Durat"
+          + "ion\022_\n\030instance_details_summary\030\t \001(\0132=."
+          + "google.cloud.osconfig.v1beta.PatchJob.In"
+          + "stanceDetailsSummary\022\017\n\007dry_run\030\n \001(\010\022\025\n"
+          + "\rerror_message\030\013 \001(\t\022\030\n\020percent_complete"
+          + "\030\014 \001(\001\022\035\n\020patch_deployment\030\017 \001(\tB\003\340A\003\022;\n"
+          + "\007rollout\030\020 \001(\0132*.google.cloud.osconfig.v"
+          + "1beta.PatchRollout\032\275\004\n\026InstanceDetailsSu"
+          + "mmary\022\036\n\026pending_instance_count\030\001 \001(\003\022\037\n"
+          + "\027inactive_instance_count\030\002 \001(\003\022\037\n\027notifi"
+          + "ed_instance_count\030\003 \001(\003\022\036\n\026started_insta"
+          + "nce_count\030\004 \001(\003\022*\n\"downloading_patches_i"
+          + "nstance_count\030\005 \001(\003\022\'\n\037applying_patches_"
+          + "instance_count\030\006 \001(\003\022 \n\030rebooting_instan"
+          + "ce_count\030\007 \001(\003\022 \n\030succeeded_instance_cou"
+          + "nt\030\010 \001(\003\0220\n(succeeded_reboot_required_in"
+          + "stance_count\030\t \001(\003\022\035\n\025failed_instance_co"
+          + "unt\030\n \001(\003\022\034\n\024acked_instance_count\030\013 \001(\003\022"
+          + " \n\030timed_out_instance_count\030\014 \001(\003\022%\n\035pre"
+          + "_patch_step_instance_count\030\r \001(\003\022&\n\036post"
+          + "_patch_step_instance_count\030\016 \001(\003\022(\n no_a"
+          + "gent_detected_instance_count\030\017 \001(\003\"\225\001\n\005S"
+          + "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007STARTED\020\001"
+          + "\022\023\n\017INSTANCE_LOOKUP\020\002\022\014\n\010PATCHING\020\003\022\r\n\tS"
+          + "UCCEEDED\020\004\022\031\n\025COMPLETED_WITH_ERRORS\020\005\022\014\n"
+          + "\010CANCELED\020\006\022\r\n\tTIMED_OUT\020\007:O\352AL\n osconfi"
+          + "g.googleapis.com/PatchJob\022(projects/{pro"
+          + "ject}/patchJobs/{patch_job}\"\366\004\n\013PatchCon"
+          + "fig\022M\n\rreboot_config\030\001 \001(\01626.google.clou"
+          + "d.osconfig.v1beta.PatchConfig.RebootConf"
+          + "ig\0226\n\003apt\030\003 \001(\0132).google.cloud.osconfig."
+          + "v1beta.AptSettings\0226\n\003yum\030\004 \001(\0132).google"
+          + ".cloud.osconfig.v1beta.YumSettings\0226\n\003go"
+          + "o\030\005 \001(\0132).google.cloud.osconfig.v1beta.G"
+          + "ooSettings\022<\n\006zypper\030\006 \001(\0132,.google.clou"
+          + "d.osconfig.v1beta.ZypperSettings\022K\n\016wind"
+          + "ows_update\030\007 \001(\01323.google.cloud.osconfig"
+          + ".v1beta.WindowsUpdateSettings\0228\n\010pre_ste"
+          + "p\030\010 \001(\0132&.google.cloud.osconfig.v1beta.E"
+          + "xecStep\0229\n\tpost_step\030\t \001(\0132&.google.clou"
+          + "d.osconfig.v1beta.ExecStep\022\035\n\025mig_instan"
+          + "ces_allowed\030\n \001(\010\"Q\n\014RebootConfig\022\035\n\031REB"
+          + "OOT_CONFIG_UNSPECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\n\n"
+          + "\006ALWAYS\020\002\022\t\n\005NEVER\020\003\"\316\002\n\010Instance\"\301\002\n\nPa"
+          + "tchState\022\033\n\027PATCH_STATE_UNSPECIFIED\020\000\022\013\n"
+          + "\007PENDING\020\001\022\014\n\010INACTIVE\020\002\022\014\n\010NOTIFIED\020\003\022\013"
+          + "\n\007STARTED\020\004\022\027\n\023DOWNLOADING_PATCHES\020\005\022\024\n\020"
+          + "APPLYING_PATCHES\020\006\022\r\n\tREBOOTING\020\007\022\r\n\tSUC"
+          + "CEEDED\020\010\022\035\n\031SUCCEEDED_REBOOT_REQUIRED\020\t\022"
+          + "\n\n\006FAILED\020\n\022\t\n\005ACKED\020\013\022\r\n\tTIMED_OUT\020\014\022\032\n"
+          + "\026RUNNING_PRE_PATCH_STEP\020\r\022\033\n\027RUNNING_POS"
+          + "T_PATCH_STEP\020\016\022\025\n\021NO_AGENT_DETECTED\020\017\"*\n"
+          + "\025CancelPatchJobRequest\022\021\n\004name\030\001 \001(\tB\003\340A"
+          + "\002\"\256\001\n\013AptSettings\022<\n\004type\030\001 \001(\0162..google"
+          + ".cloud.osconfig.v1beta.AptSettings.Type\022"
+          + "\020\n\010excludes\030\002 \003(\t\022\032\n\022exclusive_packages\030"
+          + "\003 \003(\t\"3\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\010\n\004D"
+          + "IST\020\001\022\013\n\007UPGRADE\020\002\"^\n\013YumSettings\022\020\n\010sec"
+          + "urity\030\001 \001(\010\022\017\n\007minimal\030\002 \001(\010\022\020\n\010excludes"
+          + "\030\003 \003(\t\022\032\n\022exclusive_packages\030\004 \003(\t\"\r\n\013Go"
+          + "oSettings\"\221\001\n\016ZypperSettings\022\025\n\rwith_opt"
+          + "ional\030\001 \001(\010\022\023\n\013with_update\030\002 \001(\010\022\022\n\ncate"
+          + "gories\030\003 \003(\t\022\022\n\nseverities\030\004 \003(\t\022\020\n\010excl"
+          + "udes\030\005 \003(\t\022\031\n\021exclusive_patches\030\006 \003(\t\"\331\002"
+          + "\n\025WindowsUpdateSettings\022[\n\017classificatio"
+          + "ns\030\001 \003(\0162B.google.cloud.osconfig.v1beta."
+          + "WindowsUpdateSettings.Classification\022\020\n\010"
+          + "excludes\030\002 \003(\t\022\031\n\021exclusive_patches\030\003 \003("
+          + "\t\"\265\001\n\016Classification\022\036\n\032CLASSIFICATION_U"
+          + "NSPECIFIED\020\000\022\014\n\010CRITICAL\020\001\022\014\n\010SECURITY\020\002"
+          + "\022\016\n\nDEFINITION\020\003\022\n\n\006DRIVER\020\004\022\020\n\014FEATURE_"
+          + "PACK\020\005\022\020\n\014SERVICE_PACK\020\006\022\010\n\004TOOL\020\007\022\021\n\rUP"
+          + "DATE_ROLLUP\020\010\022\n\n\006UPDATE\020\t\"\250\001\n\010ExecStep\022L"
+          + "\n\026linux_exec_step_config\030\001 \001(\0132,.google."
+          + "cloud.osconfig.v1beta.ExecStepConfig\022N\n\030"
+          + "windows_exec_step_config\030\002 \001(\0132,.google."
+          + "cloud.osconfig.v1beta.ExecStepConfig\"\250\002\n"
+          + "\016ExecStepConfig\022\024\n\nlocal_path\030\001 \001(\tH\000\022=\n"
+          + "\ngcs_object\030\002 \001(\0132\'.google.cloud.osconfi"
+          + "g.v1beta.GcsObjectH\000\022\035\n\025allowed_success_"
+          + "codes\030\003 \003(\005\022M\n\013interpreter\030\004 \001(\01628.googl"
+          + "e.cloud.osconfig.v1beta.ExecStepConfig.I"
+          + "nterpreter\"E\n\013Interpreter\022\033\n\027INTERPRETER"
+          + "_UNSPECIFIED\020\000\022\t\n\005SHELL\020\001\022\016\n\nPOWERSHELL\020"
+          + "\002B\014\n\nexecutable\"U\n\tGcsObject\022\023\n\006bucket\030\001"
+          + " \001(\tB\003\340A\002\022\023\n\006object\030\002 \001(\tB\003\340A\002\022\036\n\021genera"
+          + "tion_number\030\003 \001(\003B\003\340A\002\"\320\002\n\023PatchInstance"
+          + "Filter\022\013\n\003all\030\001 \001(\010\022R\n\014group_labels\030\002 \003("
+          + "\0132<.google.cloud.osconfig.v1beta.PatchIn"
+          + "stanceFilter.GroupLabel\022\r\n\005zones\030\003 \003(\t\022\021"
+          + "\n\tinstances\030\004 \003(\t\022\036\n\026instance_name_prefi"
+          + "xes\030\005 \003(\t\032\225\001\n\nGroupLabel\022X\n\006labels\030\001 \003(\013"
+          + "2H.google.cloud.osconfig.v1beta.PatchIns"
+          + "tanceFilter.GroupLabel.LabelsEntry\032-\n\013La"
+          + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028"
+          + "\001\"\334\001\n\014PatchRollout\022=\n\004mode\030\001 \001(\0162/.googl"
+          + "e.cloud.osconfig.v1beta.PatchRollout.Mod"
+          + "e\022G\n\021disruption_budget\030\002 \001(\0132,.google.cl"
+          + "oud.osconfig.v1beta.FixedOrPercent\"D\n\004Mo"
+          + "de\022\024\n\020MODE_UNSPECIFIED\020\000\022\020\n\014ZONE_BY_ZONE"
+          + "\020\001\022\024\n\020CONCURRENT_ZONES\020\002Bs\n com.google.c"
+          + "loud.osconfig.v1betaB\tPatchJobsZDgoogle."
+          + "golang.org/genproto/googleapis/cloud/osc"
+          + "onfig/v1beta;osconfigb\006proto3"
     };
-    descriptor = com.google.protobuf.Descriptors.FileDescriptor
-      .internalBuildGeneratedFileFrom(descriptorData,
-        new com.google.protobuf.Descriptors.FileDescriptor[] {
-          com.google.api.AnnotationsProto.getDescriptor(),
-          com.google.api.FieldBehaviorProto.getDescriptor(),
-          com.google.api.ResourceProto.getDescriptor(),
-          com.google.cloud.osconfig.v1beta.Common.getDescriptor(),
-          com.google.protobuf.DurationProto.getDescriptor(),
-          com.google.protobuf.TimestampProto.getDescriptor(),
-        });
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.AnnotationsProto.getDescriptor(),
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.cloud.osconfig.v1beta.Common.getDescriptor(),
+              com.google.protobuf.DurationProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
     internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor =
-      getDescriptor().getMessageTypes().get(0);
-    internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor,
-        new java.lang.String[] { "Parent", "Description", "InstanceFilter", "PatchConfig", "Duration", "DryRun", "DisplayName", "Rollout", });
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_ExecutePatchJobRequest_descriptor,
+            new java.lang.String[] {
+              "Parent",
+              "Description",
+              "InstanceFilter",
+              "PatchConfig",
+              "Duration",
+              "DryRun",
+              "DisplayName",
+              "Rollout",
+            });
     internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor =
-      getDescriptor().getMessageTypes().get(1);
-    internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor,
-        new java.lang.String[] { "Name", });
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_GetPatchJobRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
     internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor =
-      getDescriptor().getMessageTypes().get(2);
-    internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor,
-        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", });
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "Filter",
+            });
     internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor =
-      getDescriptor().getMessageTypes().get(3);
-    internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor,
-        new java.lang.String[] { "PatchJobInstanceDetails", "NextPageToken", });
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_ListPatchJobInstanceDetailsResponse_descriptor,
+            new java.lang.String[] {
+              "PatchJobInstanceDetails", "NextPageToken",
+            });
     internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor =
-      getDescriptor().getMessageTypes().get(4);
-    internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor,
-        new java.lang.String[] { "Name", "InstanceSystemId", "State", "FailureReason", "AttemptCount", });
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_PatchJobInstanceDetails_descriptor,
+            new java.lang.String[] {
+              "Name", "InstanceSystemId", "State", "FailureReason", "AttemptCount",
+            });
     internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor =
-      getDescriptor().getMessageTypes().get(5);
-    internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor,
-        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", });
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_ListPatchJobsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "Filter",
+            });
     internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor =
-      getDescriptor().getMessageTypes().get(6);
-    internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor,
-        new java.lang.String[] { "PatchJobs", "NextPageToken", });
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_ListPatchJobsResponse_descriptor,
+            new java.lang.String[] {
+              "PatchJobs", "NextPageToken",
+            });
     internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor =
-      getDescriptor().getMessageTypes().get(7);
-    internal_static_google_cloud_osconfig_v1beta_PatchJob_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor,
-        new java.lang.String[] { "Name", "DisplayName", "Description", "CreateTime", "UpdateTime", "State", "InstanceFilter", "PatchConfig", "Duration", "InstanceDetailsSummary", "DryRun", "ErrorMessage", "PercentComplete", "PatchDeployment", "Rollout", });
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_osconfig_v1beta_PatchJob_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "DisplayName",
+              "Description",
+              "CreateTime",
+              "UpdateTime",
+              "State",
+              "InstanceFilter",
+              "PatchConfig",
+              "Duration",
+              "InstanceDetailsSummary",
+              "DryRun",
+              "ErrorMessage",
+              "PercentComplete",
+              "PatchDeployment",
+              "Rollout",
+            });
     internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor =
-      internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor.getNestedTypes().get(0);
-    internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor,
-        new java.lang.String[] { "PendingInstanceCount", "InactiveInstanceCount", "NotifiedInstanceCount", "StartedInstanceCount", "DownloadingPatchesInstanceCount", "ApplyingPatchesInstanceCount", "RebootingInstanceCount", "SucceededInstanceCount", "SucceededRebootRequiredInstanceCount", "FailedInstanceCount", "AckedInstanceCount", "TimedOutInstanceCount", "PrePatchStepInstanceCount", "PostPatchStepInstanceCount", "NoAgentDetectedInstanceCount", });
+        internal_static_google_cloud_osconfig_v1beta_PatchJob_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_PatchJob_InstanceDetailsSummary_descriptor,
+            new java.lang.String[] {
+              "PendingInstanceCount",
+              "InactiveInstanceCount",
+              "NotifiedInstanceCount",
+              "StartedInstanceCount",
+              "DownloadingPatchesInstanceCount",
+              "ApplyingPatchesInstanceCount",
+              "RebootingInstanceCount",
+              "SucceededInstanceCount",
+              "SucceededRebootRequiredInstanceCount",
+              "FailedInstanceCount",
+              "AckedInstanceCount",
+              "TimedOutInstanceCount",
+              "PrePatchStepInstanceCount",
+              "PostPatchStepInstanceCount",
+              "NoAgentDetectedInstanceCount",
+            });
     internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor =
-      getDescriptor().getMessageTypes().get(8);
-    internal_static_google_cloud_osconfig_v1beta_PatchConfig_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor,
-        new java.lang.String[] { "RebootConfig", "Apt", "Yum", "Goo", "Zypper", "WindowsUpdate", "PreStep", "PostStep", "MigInstancesAllowed", });
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_osconfig_v1beta_PatchConfig_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_PatchConfig_descriptor,
+            new java.lang.String[] {
+              "RebootConfig",
+              "Apt",
+              "Yum",
+              "Goo",
+              "Zypper",
+              "WindowsUpdate",
+              "PreStep",
+              "PostStep",
+              "MigInstancesAllowed",
+            });
     internal_static_google_cloud_osconfig_v1beta_Instance_descriptor =
-      getDescriptor().getMessageTypes().get(9);
-    internal_static_google_cloud_osconfig_v1beta_Instance_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_Instance_descriptor,
-        new java.lang.String[] { });
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_osconfig_v1beta_Instance_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_Instance_descriptor,
+            new java.lang.String[] {});
     internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor =
-      getDescriptor().getMessageTypes().get(10);
-    internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor,
-        new java.lang.String[] { "Name", });
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_CancelPatchJobRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
     internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor =
-      getDescriptor().getMessageTypes().get(11);
-    internal_static_google_cloud_osconfig_v1beta_AptSettings_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor,
-        new java.lang.String[] { "Type", "Excludes", "ExclusivePackages", });
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_osconfig_v1beta_AptSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_AptSettings_descriptor,
+            new java.lang.String[] {
+              "Type", "Excludes", "ExclusivePackages",
+            });
     internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor =
-      getDescriptor().getMessageTypes().get(12);
-    internal_static_google_cloud_osconfig_v1beta_YumSettings_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor,
-        new java.lang.String[] { "Security", "Minimal", "Excludes", "ExclusivePackages", });
+        getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_osconfig_v1beta_YumSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_YumSettings_descriptor,
+            new java.lang.String[] {
+              "Security", "Minimal", "Excludes", "ExclusivePackages",
+            });
     internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor =
-      getDescriptor().getMessageTypes().get(13);
-    internal_static_google_cloud_osconfig_v1beta_GooSettings_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor,
-        new java.lang.String[] { });
+        getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_osconfig_v1beta_GooSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_GooSettings_descriptor,
+            new java.lang.String[] {});
     internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor =
-      getDescriptor().getMessageTypes().get(14);
-    internal_static_google_cloud_osconfig_v1beta_ZypperSettings_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor,
-        new java.lang.String[] { "WithOptional", "WithUpdate", "Categories", "Severities", "Excludes", "ExclusivePatches", });
+        getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_osconfig_v1beta_ZypperSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_ZypperSettings_descriptor,
+            new java.lang.String[] {
+              "WithOptional",
+              "WithUpdate",
+              "Categories",
+              "Severities",
+              "Excludes",
+              "ExclusivePatches",
+            });
     internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor =
-      getDescriptor().getMessageTypes().get(15);
-    internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor,
-        new java.lang.String[] { "Classifications", "Excludes", "ExclusivePatches", });
+        getDescriptor().getMessageTypes().get(15);
+    internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_WindowsUpdateSettings_descriptor,
+            new java.lang.String[] {
+              "Classifications", "Excludes", "ExclusivePatches",
+            });
     internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor =
-      getDescriptor().getMessageTypes().get(16);
-    internal_static_google_cloud_osconfig_v1beta_ExecStep_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor,
-        new java.lang.String[] { "LinuxExecStepConfig", "WindowsExecStepConfig", });
+        getDescriptor().getMessageTypes().get(16);
+    internal_static_google_cloud_osconfig_v1beta_ExecStep_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_ExecStep_descriptor,
+            new java.lang.String[] {
+              "LinuxExecStepConfig", "WindowsExecStepConfig",
+            });
     internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor =
-      getDescriptor().getMessageTypes().get(17);
-    internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor,
-        new java.lang.String[] { "LocalPath", "GcsObject", "AllowedSuccessCodes", "Interpreter", "Executable", });
+        getDescriptor().getMessageTypes().get(17);
+    internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_ExecStepConfig_descriptor,
+            new java.lang.String[] {
+              "LocalPath", "GcsObject", "AllowedSuccessCodes", "Interpreter", "Executable",
+            });
     internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor =
-      getDescriptor().getMessageTypes().get(18);
-    internal_static_google_cloud_osconfig_v1beta_GcsObject_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor,
-        new java.lang.String[] { "Bucket", "Object", "GenerationNumber", });
+        getDescriptor().getMessageTypes().get(18);
+    internal_static_google_cloud_osconfig_v1beta_GcsObject_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_GcsObject_descriptor,
+            new java.lang.String[] {
+              "Bucket", "Object", "GenerationNumber",
+            });
     internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor =
-      getDescriptor().getMessageTypes().get(19);
-    internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor,
-        new java.lang.String[] { "All", "GroupLabels", "Zones", "Instances", "InstanceNamePrefixes", });
+        getDescriptor().getMessageTypes().get(19);
+    internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor,
+            new java.lang.String[] {
+              "All", "GroupLabels", "Zones", "Instances", "InstanceNamePrefixes",
+            });
     internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor =
-      internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor.getNestedTypes().get(0);
-    internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor,
-        new java.lang.String[] { "Labels", });
+        internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor,
+            new java.lang.String[] {
+              "Labels",
+            });
     internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor =
-      internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor.getNestedTypes().get(0);
-    internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor,
-        new java.lang.String[] { "Key", "Value", });
+        internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_PatchInstanceFilter_GroupLabel_LabelsEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
     internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor =
-      getDescriptor().getMessageTypes().get(20);
-    internal_static_google_cloud_osconfig_v1beta_PatchRollout_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor,
-        new java.lang.String[] { "Mode", "DisruptionBudget", });
+        getDescriptor().getMessageTypes().get(20);
+    internal_static_google_cloud_osconfig_v1beta_PatchRollout_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_osconfig_v1beta_PatchRollout_descriptor,
+            new java.lang.String[] {
+              "Mode", "DisruptionBudget",
+            });
     com.google.protobuf.ExtensionRegistry registry =
         com.google.protobuf.ExtensionRegistry.newInstance();
     registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
     registry.add(com.google.api.ResourceProto.resource);
-    com.google.protobuf.Descriptors.FileDescriptor
-        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
     com.google.api.AnnotationsProto.getDescriptor();
     com.google.api.FieldBehaviorProto.getDescriptor();
     com.google.api.ResourceProto.getDescriptor();
diff --git a/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/ProjectName.java b/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/ProjectName.java
similarity index 100%
rename from owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/ProjectName.java
rename to proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/ProjectName.java
diff --git a/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/guest_policies.proto b/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/guest_policies.proto
similarity index 100%
rename from owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/guest_policies.proto
rename to proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/guest_policies.proto
diff --git a/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/osconfig_common.proto b/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/osconfig_common.proto
similarity index 100%
rename from owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/osconfig_common.proto
rename to proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/osconfig_common.proto
diff --git a/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/osconfig_service.proto b/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/osconfig_service.proto
similarity index 100%
rename from owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/osconfig_service.proto
rename to proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/osconfig_service.proto
diff --git a/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/patch_deployments.proto b/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/patch_deployments.proto
similarity index 100%
rename from owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/patch_deployments.proto
rename to proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/patch_deployments.proto
diff --git a/owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/patch_jobs.proto b/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/patch_jobs.proto
similarity index 100%
rename from owl-bot-staging/v1beta/proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/patch_jobs.proto
rename to proto-google-cloud-os-config-v1beta/src/main/proto/google/cloud/osconfig/v1beta/patch_jobs.proto
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetEndpoint.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentProjectnamePatchdeploymentspatchdeploymentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentProjectnamePatchdeploymentspatchdeploymentString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentProjectnamePatchdeploymentspatchdeploymentString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentProjectnamePatchdeploymentspatchdeploymentString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentStringPatchdeploymentspatchdeploymentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentStringPatchdeploymentspatchdeploymentString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentStringPatchdeploymentspatchdeploymentString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentStringPatchdeploymentspatchdeploymentString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentPatchdeploymentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentPatchdeploymentname.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentPatchdeploymentname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentPatchdeploymentname.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentPatchdeploymentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentPatchdeploymentname.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentPatchdeploymentname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentPatchdeploymentname.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeploymentString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobPatchjobname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobPatchjobname.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobPatchjobname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobPatchjobname.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/getpatchjob/SyncGetPatchJobString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsProjectname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsProjectname.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsProjectname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsProjectname.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchdeployments/SyncListPatchDeploymentsString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsPatchjobname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsPatchjobname.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsPatchjobname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsPatchjobname.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsProjectname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsProjectname.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsProjectname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsProjectname.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/listpatchjobs/SyncListPatchJobsString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventory.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventory.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventory.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventory.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventories.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventories.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventories.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventories.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventories.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventories.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventories.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventories.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java
diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/AsyncCreateOSPolicyAssignmentLRO.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/AsyncDeleteOSPolicyAssignmentLRO.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/AsyncGetInstanceOSPoliciesCompliance.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/AsyncGetInstanceOSPoliciesCompliance.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/AsyncGetInstanceOSPoliciesCompliance.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/AsyncGetInstanceOSPoliciesCompliance.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesCompliance.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesCompliance.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesCompliance.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesCompliance.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceInstanceospoliciescompliancename.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceInstanceospoliciescompliancename.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceInstanceospoliciescompliancename.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceInstanceospoliciescompliancename.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceString.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceString.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/AsyncGetInventory.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventory.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventory.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventory.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventory.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryInventoryname.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinventory/SyncGetInventoryString.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/AsyncGetOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentString.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/AsyncGetOSPolicyAssignmentReport.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReport.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/AsyncGetVulnerabilityReport.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReport.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportString.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliances.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliances.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliances.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliances.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliancesPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliancesPaged.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliancesPaged.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliancesPaged.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliances.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliances.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliances.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliances.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesLocationname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesLocationname.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesLocationname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesLocationname.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesString.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesString.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventories.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventories.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventories.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventories.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/AsyncListInventoriesPaged.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventories.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventories.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventories.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventories.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesInstancename.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinventories/SyncListInventoriesString.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReports.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReports.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignments.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/AsyncListOSPolicyAssignmentsPaged.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignments.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsString.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReports.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReports.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/AsyncUpdateOSPolicyAssignmentLRO.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalservicesettings/getospolicyassignment/SyncGetOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java
similarity index 100%
rename from owl-bot-staging/v1alpha/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1alpha/stub/osconfigzonalservicestubsettings/getospolicyassignment/SyncGetOSPolicyAssignment.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/AsyncCancelPatchJob.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/cancelpatchjob/SyncCancelPatchJob.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetEndpoint.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/AsyncCreateGuestPolicy.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/AsyncCreateGuestPolicy.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/AsyncCreateGuestPolicy.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/AsyncCreateGuestPolicy.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicy.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicy.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicy.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicy.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyStringGuestpoliciesguestpolicy.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyStringGuestpoliciesguestpolicy.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyStringGuestpoliciesguestpolicy.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyStringGuestpoliciesguestpolicy.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/AsyncCreatePatchDeployment.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeployment.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/AsyncDeleteGuestPolicy.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/AsyncDeleteGuestPolicy.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/AsyncDeleteGuestPolicy.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/AsyncDeleteGuestPolicy.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicy.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicy.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicy.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicy.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyGuestpolicyname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyGuestpolicyname.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyGuestpolicyname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyGuestpolicyname.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyString.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyString.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/AsyncDeletePatchDeployment.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/AsyncExecutePatchJob.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/executepatchjob/SyncExecutePatchJob.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/AsyncGetGuestPolicy.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/AsyncGetGuestPolicy.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/AsyncGetGuestPolicy.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/AsyncGetGuestPolicy.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicy.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicy.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicy.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicy.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyGuestpolicyname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyGuestpolicyname.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyGuestpolicyname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyGuestpolicyname.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyString.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getguestpolicy/SyncGetGuestPolicyString.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/AsyncGetPatchDeployment.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchdeployment/SyncGetPatchDeployment.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/AsyncGetPatchJob.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/getpatchjob/SyncGetPatchJob.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPolicies.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPolicies.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPolicies.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPolicies.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPoliciesPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPoliciesPaged.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPoliciesPaged.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/AsyncListGuestPoliciesPaged.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPolicies.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPolicies.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPolicies.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPolicies.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesProjectname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesProjectname.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesProjectname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesProjectname.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesString.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listguestpolicies/SyncListGuestPoliciesString.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeployments.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/AsyncListPatchDeploymentsPaged.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchdeployments/SyncListPatchDeployments.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetails.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/AsyncListPatchJobInstanceDetailsPaged.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetails.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobinstancedetails/SyncListPatchJobInstanceDetailsString.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobs.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/AsyncListPatchJobsPaged.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/listpatchjobs/SyncListPatchJobs.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/AsyncLookupEffectiveGuestPolicy.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/AsyncLookupEffectiveGuestPolicy.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/AsyncLookupEffectiveGuestPolicy.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/AsyncLookupEffectiveGuestPolicy.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/SyncLookupEffectiveGuestPolicy.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/SyncLookupEffectiveGuestPolicy.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/SyncLookupEffectiveGuestPolicy.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/lookupeffectiveguestpolicy/SyncLookupEffectiveGuestPolicy.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/AsyncPausePatchDeployment.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeployment.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentString.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/AsyncResumePatchDeployment.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeployment.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentString.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/AsyncUpdateGuestPolicy.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/AsyncUpdateGuestPolicy.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/AsyncUpdateGuestPolicy.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/AsyncUpdateGuestPolicy.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicy.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicy.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicy.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicy.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/AsyncUpdatePatchDeployment.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeployment.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigservicesettings/executepatchjob/SyncExecutePatchJob.java
diff --git a/owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java
similarity index 100%
rename from owl-bot-staging/v1beta/samples/snippets/generated/com/google/cloud/osconfig/v1beta/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java
rename to samples/snippets/generated/com/google/cloud/osconfig/v1beta/stub/osconfigservicestubsettings/executepatchjob/SyncExecutePatchJob.java